1diff -urwN nxproxy-orig/aclocal.m4 nxproxy/aclocal.m4
2--- nxproxy-orig/aclocal.m4	1970-01-01 01:00:00.000000000 +0100
3+++ nxproxy/aclocal.m4	2009-10-10 13:57:52.823845941 +0200
4@@ -0,0 +1,983 @@
5+# generated automatically by aclocal 1.11 -*- Autoconf -*-
6+
7+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
8+# 2005, 2006, 2007, 2008, 2009  Free Software Foundation, Inc.
9+# This file is free software; the Free Software Foundation
10+# gives unlimited permission to copy and/or distribute it,
11+# with or without modifications, as long as this notice is preserved.
12+
13+# This program is distributed in the hope that it will be useful,
14+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
15+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
16+# PARTICULAR PURPOSE.
17+
18+m4_ifndef([AC_AUTOCONF_VERSION],
19+  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
20+m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.63],,
21+[m4_warning([this file was generated for autoconf 2.63.
22+You have another version of autoconf.  It may work, but is not guaranteed to.
23+If you have problems, you may need to regenerate the build system entirely.
24+To do so, use the procedure documented by the package, typically `autoreconf'.])])
25+
26+# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
27+#
28+# This file is free software; the Free Software Foundation
29+# gives unlimited permission to copy and/or distribute it,
30+# with or without modifications, as long as this notice is preserved.
31+
32+# AM_AUTOMAKE_VERSION(VERSION)
33+# ----------------------------
34+# Automake X.Y traces this macro to ensure aclocal.m4 has been
35+# generated from the m4 files accompanying Automake X.Y.
36+# (This private macro should not be called outside this file.)
37+AC_DEFUN([AM_AUTOMAKE_VERSION],
38+[am__api_version='1.11'
39+dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
40+dnl require some minimum version.  Point them to the right macro.
41+m4_if([$1], [1.11], [],
42+      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
43+])
44+
45+# _AM_AUTOCONF_VERSION(VERSION)
46+# -----------------------------
47+# aclocal traces this macro to find the Autoconf version.
48+# This is a private macro too.  Using m4_define simplifies
49+# the logic in aclocal, which can simply ignore this definition.
50+m4_define([_AM_AUTOCONF_VERSION], [])
51+
52+# AM_SET_CURRENT_AUTOMAKE_VERSION
53+# -------------------------------
54+# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
55+# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
56+AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
57+[AM_AUTOMAKE_VERSION([1.11])dnl
58+m4_ifndef([AC_AUTOCONF_VERSION],
59+  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
60+_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
61+
62+# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
63+
64+# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
65+#
66+# This file is free software; the Free Software Foundation
67+# gives unlimited permission to copy and/or distribute it,
68+# with or without modifications, as long as this notice is preserved.
69+
70+# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
71+# $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to
72+# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
73+#
74+# Of course, Automake must honor this variable whenever it calls a
75+# tool from the auxiliary directory.  The problem is that $srcdir (and
76+# therefore $ac_aux_dir as well) can be either absolute or relative,
77+# depending on how configure is run.  This is pretty annoying, since
78+# it makes $ac_aux_dir quite unusable in subdirectories: in the top
79+# source directory, any form will work fine, but in subdirectories a
80+# relative path needs to be adjusted first.
81+#
82+# $ac_aux_dir/missing
83+#    fails when called from a subdirectory if $ac_aux_dir is relative
84+# $top_srcdir/$ac_aux_dir/missing
85+#    fails if $ac_aux_dir is absolute,
86+#    fails when called from a subdirectory in a VPATH build with
87+#          a relative $ac_aux_dir
88+#
89+# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
90+# are both prefixed by $srcdir.  In an in-source build this is usually
91+# harmless because $srcdir is `.', but things will broke when you
92+# start a VPATH build or use an absolute $srcdir.
93+#
94+# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
95+# iff we strip the leading $srcdir from $ac_aux_dir.  That would be:
96+#   am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
97+# and then we would define $MISSING as
98+#   MISSING="\${SHELL} $am_aux_dir/missing"
99+# This will work as long as MISSING is not called from configure, because
100+# unfortunately $(top_srcdir) has no meaning in configure.
101+# However there are other variables, like CC, which are often used in
102+# configure, and could therefore not use this "fixed" $ac_aux_dir.
103+#
104+# Another solution, used here, is to always expand $ac_aux_dir to an
105+# absolute PATH.  The drawback is that using absolute paths prevent a
106+# configured tree to be moved without reconfiguration.
107+
108+AC_DEFUN([AM_AUX_DIR_EXPAND],
109+[dnl Rely on autoconf to set up CDPATH properly.
110+AC_PREREQ([2.50])dnl
111+# expand $ac_aux_dir to an absolute path
112+am_aux_dir=`cd $ac_aux_dir && pwd`
113+])
114+
115+# AM_CONDITIONAL                                            -*- Autoconf -*-
116+
117+# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
118+# Free Software Foundation, Inc.
119+#
120+# This file is free software; the Free Software Foundation
121+# gives unlimited permission to copy and/or distribute it,
122+# with or without modifications, as long as this notice is preserved.
123+
124+# serial 9
125+
126+# AM_CONDITIONAL(NAME, SHELL-CONDITION)
127+# -------------------------------------
128+# Define a conditional.
129+AC_DEFUN([AM_CONDITIONAL],
130+[AC_PREREQ(2.52)dnl
131+ ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
132+	[$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
133+AC_SUBST([$1_TRUE])dnl
134+AC_SUBST([$1_FALSE])dnl
135+_AM_SUBST_NOTMAKE([$1_TRUE])dnl
136+_AM_SUBST_NOTMAKE([$1_FALSE])dnl
137+m4_define([_AM_COND_VALUE_$1], [$2])dnl
138+if $2; then
139+  $1_TRUE=
140+  $1_FALSE='#'
141+else
142+  $1_TRUE='#'
143+  $1_FALSE=
144+fi
145+AC_CONFIG_COMMANDS_PRE(
146+[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
147+  AC_MSG_ERROR([[conditional "$1" was never defined.
148+Usually this means the macro was only invoked conditionally.]])
149+fi])])
150+
151+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
152+# Free Software Foundation, Inc.
153+#
154+# This file is free software; the Free Software Foundation
155+# gives unlimited permission to copy and/or distribute it,
156+# with or without modifications, as long as this notice is preserved.
157+
158+# serial 10
159+
160+# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
161+# written in clear, in which case automake, when reading aclocal.m4,
162+# will think it sees a *use*, and therefore will trigger all it's
163+# C support machinery.  Also note that it means that autoscan, seeing
164+# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
165+
166+
167+# _AM_DEPENDENCIES(NAME)
168+# ----------------------
169+# See how the compiler implements dependency checking.
170+# NAME is "CC", "CXX", "GCJ", or "OBJC".
171+# We try a few techniques and use that to set a single cache variable.
172+#
173+# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
174+# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
175+# dependency, and given that the user is not expected to run this macro,
176+# just rely on AC_PROG_CC.
177+AC_DEFUN([_AM_DEPENDENCIES],
178+[AC_REQUIRE([AM_SET_DEPDIR])dnl
179+AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
180+AC_REQUIRE([AM_MAKE_INCLUDE])dnl
181+AC_REQUIRE([AM_DEP_TRACK])dnl
182+
183+ifelse([$1], CC,   [depcc="$CC"   am_compiler_list=],
184+       [$1], CXX,  [depcc="$CXX"  am_compiler_list=],
185+       [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
186+       [$1], UPC,  [depcc="$UPC"  am_compiler_list=],
187+       [$1], GCJ,  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
188+                   [depcc="$$1"   am_compiler_list=])
189+
190+AC_CACHE_CHECK([dependency style of $depcc],
191+               [am_cv_$1_dependencies_compiler_type],
192+[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
193+  # We make a subdir and do the tests there.  Otherwise we can end up
194+  # making bogus files that we don't know about and never remove.  For
195+  # instance it was reported that on HP-UX the gcc test will end up
196+  # making a dummy file named `D' -- because `-MD' means `put the output
197+  # in D'.
198+  mkdir conftest.dir
199+  # Copy depcomp to subdir because otherwise we won't find it if we're
200+  # using a relative directory.
201+  cp "$am_depcomp" conftest.dir
202+  cd conftest.dir
203+  # We will build objects and dependencies in a subdirectory because
204+  # it helps to detect inapplicable dependency modes.  For instance
205+  # both Tru64's cc and ICC support -MD to output dependencies as a
206+  # side effect of compilation, but ICC will put the dependencies in
207+  # the current directory while Tru64 will put them in the object
208+  # directory.
209+  mkdir sub
210+
211+  am_cv_$1_dependencies_compiler_type=none
212+  if test "$am_compiler_list" = ""; then
213+     am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
214+  fi
215+  am__universal=false
216+  m4_case([$1], [CC],
217+    [case " $depcc " in #(
218+     *\ -arch\ *\ -arch\ *) am__universal=true ;;
219+     esac],
220+    [CXX],
221+    [case " $depcc " in #(
222+     *\ -arch\ *\ -arch\ *) am__universal=true ;;
223+     esac])
224+
225+  for depmode in $am_compiler_list; do
226+    # Setup a source with many dependencies, because some compilers
227+    # like to wrap large dependency lists on column 80 (with \), and
228+    # we should not choose a depcomp mode which is confused by this.
229+    #
230+    # We need to recreate these files for each test, as the compiler may
231+    # overwrite some of them when testing with obscure command lines.
232+    # This happens at least with the AIX C compiler.
233+    : > sub/conftest.c
234+    for i in 1 2 3 4 5 6; do
235+      echo '#include "conftst'$i'.h"' >> sub/conftest.c
236+      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
237+      # Solaris 8's {/usr,}/bin/sh.
238+      touch sub/conftst$i.h
239+    done
240+    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
241+
242+    # We check with `-c' and `-o' for the sake of the "dashmstdout"
243+    # mode.  It turns out that the SunPro C++ compiler does not properly
244+    # handle `-M -o', and we need to detect this.  Also, some Intel
245+    # versions had trouble with output in subdirs
246+    am__obj=sub/conftest.${OBJEXT-o}
247+    am__minus_obj="-o $am__obj"
248+    case $depmode in
249+    gcc)
250+      # This depmode causes a compiler race in universal mode.
251+      test "$am__universal" = false || continue
252+      ;;
253+    nosideeffect)
254+      # after this tag, mechanisms are not by side-effect, so they'll
255+      # only be used when explicitly requested
256+      if test "x$enable_dependency_tracking" = xyes; then
257+	continue
258+      else
259+	break
260+      fi
261+      ;;
262+    msvisualcpp | msvcmsys)
263+      # This compiler won't grok `-c -o', but also, the minuso test has
264+      # not run yet.  These depmodes are late enough in the game, and
265+      # so weak that their functioning should not be impacted.
266+      am__obj=conftest.${OBJEXT-o}
267+      am__minus_obj=
268+      ;;
269+    none) break ;;
270+    esac
271+    if depmode=$depmode \
272+       source=sub/conftest.c object=$am__obj \
273+       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
274+       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
275+         >/dev/null 2>conftest.err &&
276+       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
277+       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
278+       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
279+       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
280+      # icc doesn't choke on unknown options, it will just issue warnings
281+      # or remarks (even with -Werror).  So we grep stderr for any message
282+      # that says an option was ignored or not supported.
283+      # When given -MP, icc 7.0 and 7.1 complain thusly:
284+      #   icc: Command line warning: ignoring option '-M'; no argument required
285+      # The diagnosis changed in icc 8.0:
286+      #   icc: Command line remark: option '-MP' not supported
287+      if (grep 'ignoring option' conftest.err ||
288+          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
289+        am_cv_$1_dependencies_compiler_type=$depmode
290+        break
291+      fi
292+    fi
293+  done
294+
295+  cd ..
296+  rm -rf conftest.dir
297+else
298+  am_cv_$1_dependencies_compiler_type=none
299+fi
300+])
301+AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
302+AM_CONDITIONAL([am__fastdep$1], [
303+  test "x$enable_dependency_tracking" != xno \
304+  && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
305+])
306+
307+
308+# AM_SET_DEPDIR
309+# -------------
310+# Choose a directory name for dependency files.
311+# This macro is AC_REQUIREd in _AM_DEPENDENCIES
312+AC_DEFUN([AM_SET_DEPDIR],
313+[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
314+AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
315+])
316+
317+
318+# AM_DEP_TRACK
319+# ------------
320+AC_DEFUN([AM_DEP_TRACK],
321+[AC_ARG_ENABLE(dependency-tracking,
322+[  --disable-dependency-tracking  speeds up one-time build
323+  --enable-dependency-tracking   do not reject slow dependency extractors])
324+if test "x$enable_dependency_tracking" != xno; then
325+  am_depcomp="$ac_aux_dir/depcomp"
326+  AMDEPBACKSLASH='\'
327+fi
328+AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
329+AC_SUBST([AMDEPBACKSLASH])dnl
330+_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
331+])
332+
333+# Generate code to set up dependency tracking.              -*- Autoconf -*-
334+
335+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
336+# Free Software Foundation, Inc.
337+#
338+# This file is free software; the Free Software Foundation
339+# gives unlimited permission to copy and/or distribute it,
340+# with or without modifications, as long as this notice is preserved.
341+
342+#serial 5
343+
344+# _AM_OUTPUT_DEPENDENCY_COMMANDS
345+# ------------------------------
346+AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
347+[{
348+  # Autoconf 2.62 quotes --file arguments for eval, but not when files
349+  # are listed without --file.  Let's play safe and only enable the eval
350+  # if we detect the quoting.
351+  case $CONFIG_FILES in
352+  *\'*) eval set x "$CONFIG_FILES" ;;
353+  *)   set x $CONFIG_FILES ;;
354+  esac
355+  shift
356+  for mf
357+  do
358+    # Strip MF so we end up with the name of the file.
359+    mf=`echo "$mf" | sed -e 's/:.*$//'`
360+    # Check whether this is an Automake generated Makefile or not.
361+    # We used to match only the files named `Makefile.in', but
362+    # some people rename them; so instead we look at the file content.
363+    # Grep'ing the first line is not enough: some people post-process
364+    # each Makefile.in and add a new line on top of each file to say so.
365+    # Grep'ing the whole file is not good either: AIX grep has a line
366+    # limit of 2048, but all sed's we know have understand at least 4000.
367+    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
368+      dirpart=`AS_DIRNAME("$mf")`
369+    else
370+      continue
371+    fi
372+    # Extract the definition of DEPDIR, am__include, and am__quote
373+    # from the Makefile without running `make'.
374+    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
375+    test -z "$DEPDIR" && continue
376+    am__include=`sed -n 's/^am__include = //p' < "$mf"`
377+    test -z "am__include" && continue
378+    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
379+    # When using ansi2knr, U may be empty or an underscore; expand it
380+    U=`sed -n 's/^U = //p' < "$mf"`
381+    # Find all dependency output files, they are included files with
382+    # $(DEPDIR) in their names.  We invoke sed twice because it is the
383+    # simplest approach to changing $(DEPDIR) to its actual value in the
384+    # expansion.
385+    for file in `sed -n "
386+      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
387+	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
388+      # Make sure the directory exists.
389+      test -f "$dirpart/$file" && continue
390+      fdir=`AS_DIRNAME(["$file"])`
391+      AS_MKDIR_P([$dirpart/$fdir])
392+      # echo "creating $dirpart/$file"
393+      echo '# dummy' > "$dirpart/$file"
394+    done
395+  done
396+}
397+])# _AM_OUTPUT_DEPENDENCY_COMMANDS
398+
399+
400+# AM_OUTPUT_DEPENDENCY_COMMANDS
401+# -----------------------------
402+# This macro should only be invoked once -- use via AC_REQUIRE.
403+#
404+# This code is only required when automatic dependency tracking
405+# is enabled.  FIXME.  This creates each `.P' file that we will
406+# need in order to bootstrap the dependency handling code.
407+AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
408+[AC_CONFIG_COMMANDS([depfiles],
409+     [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
410+     [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
411+])
412+
413+# Do all the work for Automake.                             -*- Autoconf -*-
414+
415+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
416+# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
417+#
418+# This file is free software; the Free Software Foundation
419+# gives unlimited permission to copy and/or distribute it,
420+# with or without modifications, as long as this notice is preserved.
421+
422+# serial 16
423+
424+# This macro actually does too much.  Some checks are only needed if
425+# your package does certain things.  But this isn't really a big deal.
426+
427+# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
428+# AM_INIT_AUTOMAKE([OPTIONS])
429+# -----------------------------------------------
430+# The call with PACKAGE and VERSION arguments is the old style
431+# call (pre autoconf-2.50), which is being phased out.  PACKAGE
432+# and VERSION should now be passed to AC_INIT and removed from
433+# the call to AM_INIT_AUTOMAKE.
434+# We support both call styles for the transition.  After
435+# the next Automake release, Autoconf can make the AC_INIT
436+# arguments mandatory, and then we can depend on a new Autoconf
437+# release and drop the old call support.
438+AC_DEFUN([AM_INIT_AUTOMAKE],
439+[AC_PREREQ([2.62])dnl
440+dnl Autoconf wants to disallow AM_ names.  We explicitly allow
441+dnl the ones we care about.
442+m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
443+AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
444+AC_REQUIRE([AC_PROG_INSTALL])dnl
445+if test "`cd $srcdir && pwd`" != "`pwd`"; then
446+  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
447+  # is not polluted with repeated "-I."
448+  AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
449+  # test to see if srcdir already configured
450+  if test -f $srcdir/config.status; then
451+    AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
452+  fi
453+fi
454+
455+# test whether we have cygpath
456+if test -z "$CYGPATH_W"; then
457+  if (cygpath --version) >/dev/null 2>/dev/null; then
458+    CYGPATH_W='cygpath -w'
459+  else
460+    CYGPATH_W=echo
461+  fi
462+fi
463+AC_SUBST([CYGPATH_W])
464+
465+# Define the identity of the package.
466+dnl Distinguish between old-style and new-style calls.
467+m4_ifval([$2],
468+[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
469+ AC_SUBST([PACKAGE], [$1])dnl
470+ AC_SUBST([VERSION], [$2])],
471+[_AM_SET_OPTIONS([$1])dnl
472+dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
473+m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
474+  [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
475+ AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
476+ AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
477+
478+_AM_IF_OPTION([no-define],,
479+[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
480+ AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
481+
482+# Some tools Automake needs.
483+AC_REQUIRE([AM_SANITY_CHECK])dnl
484+AC_REQUIRE([AC_ARG_PROGRAM])dnl
485+AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
486+AM_MISSING_PROG(AUTOCONF, autoconf)
487+AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
488+AM_MISSING_PROG(AUTOHEADER, autoheader)
489+AM_MISSING_PROG(MAKEINFO, makeinfo)
490+AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
491+AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
492+AC_REQUIRE([AM_PROG_MKDIR_P])dnl
493+# We need awk for the "check" target.  The system "awk" is bad on
494+# some platforms.
495+AC_REQUIRE([AC_PROG_AWK])dnl
496+AC_REQUIRE([AC_PROG_MAKE_SET])dnl
497+AC_REQUIRE([AM_SET_LEADING_DOT])dnl
498+_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
499+	      [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
500+			     [_AM_PROG_TAR([v7])])])
501+_AM_IF_OPTION([no-dependencies],,
502+[AC_PROVIDE_IFELSE([AC_PROG_CC],
503+		  [_AM_DEPENDENCIES(CC)],
504+		  [define([AC_PROG_CC],
505+			  defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
506+AC_PROVIDE_IFELSE([AC_PROG_CXX],
507+		  [_AM_DEPENDENCIES(CXX)],
508+		  [define([AC_PROG_CXX],
509+			  defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
510+AC_PROVIDE_IFELSE([AC_PROG_OBJC],
511+		  [_AM_DEPENDENCIES(OBJC)],
512+		  [define([AC_PROG_OBJC],
513+			  defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
514+])
515+_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
516+dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
517+dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This macro
518+dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
519+AC_CONFIG_COMMANDS_PRE(dnl
520+[m4_provide_if([_AM_COMPILER_EXEEXT],
521+  [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
522+])
523+
524+dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
525+dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
526+dnl mangled by Autoconf and run in a shell conditional statement.
527+m4_define([_AC_COMPILER_EXEEXT],
528+m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
529+
530+
531+# When config.status generates a header, we must update the stamp-h file.
532+# This file resides in the same directory as the config header
533+# that is generated.  The stamp files are numbered to have different names.
534+
535+# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
536+# loop where config.status creates the headers, so we can generate
537+# our stamp files there.
538+AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
539+[# Compute $1's index in $config_headers.
540+_am_arg=$1
541+_am_stamp_count=1
542+for _am_header in $config_headers :; do
543+  case $_am_header in
544+    $_am_arg | $_am_arg:* )
545+      break ;;
546+    * )
547+      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
548+  esac
549+done
550+echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
551+
552+# Copyright (C) 2001, 2003, 2005, 2008  Free Software Foundation, Inc.
553+#
554+# This file is free software; the Free Software Foundation
555+# gives unlimited permission to copy and/or distribute it,
556+# with or without modifications, as long as this notice is preserved.
557+
558+# AM_PROG_INSTALL_SH
559+# ------------------
560+# Define $install_sh.
561+AC_DEFUN([AM_PROG_INSTALL_SH],
562+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
563+if test x"${install_sh}" != xset; then
564+  case $am_aux_dir in
565+  *\ * | *\	*)
566+    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
567+  *)
568+    install_sh="\${SHELL} $am_aux_dir/install-sh"
569+  esac
570+fi
571+AC_SUBST(install_sh)])
572+
573+# Copyright (C) 2003, 2005  Free Software Foundation, Inc.
574+#
575+# This file is free software; the Free Software Foundation
576+# gives unlimited permission to copy and/or distribute it,
577+# with or without modifications, as long as this notice is preserved.
578+
579+# serial 2
580+
581+# Check whether the underlying file-system supports filenames
582+# with a leading dot.  For instance MS-DOS doesn't.
583+AC_DEFUN([AM_SET_LEADING_DOT],
584+[rm -rf .tst 2>/dev/null
585+mkdir .tst 2>/dev/null
586+if test -d .tst; then
587+  am__leading_dot=.
588+else
589+  am__leading_dot=_
590+fi
591+rmdir .tst 2>/dev/null
592+AC_SUBST([am__leading_dot])])
593+
594+# Check to see how 'make' treats includes.	            -*- Autoconf -*-
595+
596+# Copyright (C) 2001, 2002, 2003, 2005, 2009  Free Software Foundation, Inc.
597+#
598+# This file is free software; the Free Software Foundation
599+# gives unlimited permission to copy and/or distribute it,
600+# with or without modifications, as long as this notice is preserved.
601+
602+# serial 4
603+
604+# AM_MAKE_INCLUDE()
605+# -----------------
606+# Check to see how make treats includes.
607+AC_DEFUN([AM_MAKE_INCLUDE],
608+[am_make=${MAKE-make}
609+cat > confinc << 'END'
610+am__doit:
611+	@echo this is the am__doit target
612+.PHONY: am__doit
613+END
614+# If we don't find an include directive, just comment out the code.
615+AC_MSG_CHECKING([for style of include used by $am_make])
616+am__include="#"
617+am__quote=
618+_am_result=none
619+# First try GNU make style include.
620+echo "include confinc" > confmf
621+# Ignore all kinds of additional output from `make'.
622+case `$am_make -s -f confmf 2> /dev/null` in #(
623+*the\ am__doit\ target*)
624+  am__include=include
625+  am__quote=
626+  _am_result=GNU
627+  ;;
628+esac
629+# Now try BSD make style include.
630+if test "$am__include" = "#"; then
631+   echo '.include "confinc"' > confmf
632+   case `$am_make -s -f confmf 2> /dev/null` in #(
633+   *the\ am__doit\ target*)
634+     am__include=.include
635+     am__quote="\""
636+     _am_result=BSD
637+     ;;
638+   esac
639+fi
640+AC_SUBST([am__include])
641+AC_SUBST([am__quote])
642+AC_MSG_RESULT([$_am_result])
643+rm -f confinc confmf
644+])
645+
646+# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
647+
648+# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
649+# Free Software Foundation, Inc.
650+#
651+# This file is free software; the Free Software Foundation
652+# gives unlimited permission to copy and/or distribute it,
653+# with or without modifications, as long as this notice is preserved.
654+
655+# serial 6
656+
657+# AM_MISSING_PROG(NAME, PROGRAM)
658+# ------------------------------
659+AC_DEFUN([AM_MISSING_PROG],
660+[AC_REQUIRE([AM_MISSING_HAS_RUN])
661+$1=${$1-"${am_missing_run}$2"}
662+AC_SUBST($1)])
663+
664+
665+# AM_MISSING_HAS_RUN
666+# ------------------
667+# Define MISSING if not defined so far and test if it supports --run.
668+# If it does, set am_missing_run to use it, otherwise, to nothing.
669+AC_DEFUN([AM_MISSING_HAS_RUN],
670+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
671+AC_REQUIRE_AUX_FILE([missing])dnl
672+if test x"${MISSING+set}" != xset; then
673+  case $am_aux_dir in
674+  *\ * | *\	*)
675+    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
676+  *)
677+    MISSING="\${SHELL} $am_aux_dir/missing" ;;
678+  esac
679+fi
680+# Use eval to expand $SHELL
681+if eval "$MISSING --run true"; then
682+  am_missing_run="$MISSING --run "
683+else
684+  am_missing_run=
685+  AC_MSG_WARN([`missing' script is too old or missing])
686+fi
687+])
688+
689+# Copyright (C) 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
690+#
691+# This file is free software; the Free Software Foundation
692+# gives unlimited permission to copy and/or distribute it,
693+# with or without modifications, as long as this notice is preserved.
694+
695+# AM_PROG_MKDIR_P
696+# ---------------
697+# Check for `mkdir -p'.
698+AC_DEFUN([AM_PROG_MKDIR_P],
699+[AC_PREREQ([2.60])dnl
700+AC_REQUIRE([AC_PROG_MKDIR_P])dnl
701+dnl Automake 1.8 to 1.9.6 used to define mkdir_p.  We now use MKDIR_P,
702+dnl while keeping a definition of mkdir_p for backward compatibility.
703+dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
704+dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
705+dnl Makefile.ins that do not define MKDIR_P, so we do our own
706+dnl adjustment using top_builddir (which is defined more often than
707+dnl MKDIR_P).
708+AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
709+case $mkdir_p in
710+  [[\\/$]]* | ?:[[\\/]]*) ;;
711+  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
712+esac
713+])
714+
715+# Helper functions for option handling.                     -*- Autoconf -*-
716+
717+# Copyright (C) 2001, 2002, 2003, 2005, 2008  Free Software Foundation, Inc.
718+#
719+# This file is free software; the Free Software Foundation
720+# gives unlimited permission to copy and/or distribute it,
721+# with or without modifications, as long as this notice is preserved.
722+
723+# serial 4
724+
725+# _AM_MANGLE_OPTION(NAME)
726+# -----------------------
727+AC_DEFUN([_AM_MANGLE_OPTION],
728+[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
729+
730+# _AM_SET_OPTION(NAME)
731+# ------------------------------
732+# Set option NAME.  Presently that only means defining a flag for this option.
733+AC_DEFUN([_AM_SET_OPTION],
734+[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
735+
736+# _AM_SET_OPTIONS(OPTIONS)
737+# ----------------------------------
738+# OPTIONS is a space-separated list of Automake options.
739+AC_DEFUN([_AM_SET_OPTIONS],
740+[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
741+
742+# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
743+# -------------------------------------------
744+# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
745+AC_DEFUN([_AM_IF_OPTION],
746+[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
747+
748+# Check to make sure that the build environment is sane.    -*- Autoconf -*-
749+
750+# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
751+# Free Software Foundation, Inc.
752+#
753+# This file is free software; the Free Software Foundation
754+# gives unlimited permission to copy and/or distribute it,
755+# with or without modifications, as long as this notice is preserved.
756+
757+# serial 5
758+
759+# AM_SANITY_CHECK
760+# ---------------
761+AC_DEFUN([AM_SANITY_CHECK],
762+[AC_MSG_CHECKING([whether build environment is sane])
763+# Just in case
764+sleep 1
765+echo timestamp > conftest.file
766+# Reject unsafe characters in $srcdir or the absolute working directory
767+# name.  Accept space and tab only in the latter.
768+am_lf='
769+'
770+case `pwd` in
771+  *[[\\\"\#\$\&\'\`$am_lf]]*)
772+    AC_MSG_ERROR([unsafe absolute working directory name]);;
773+esac
774+case $srcdir in
775+  *[[\\\"\#\$\&\'\`$am_lf\ \	]]*)
776+    AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
777+esac
778+
779+# Do `set' in a subshell so we don't clobber the current shell's
780+# arguments.  Must try -L first in case configure is actually a
781+# symlink; some systems play weird games with the mod time of symlinks
782+# (eg FreeBSD returns the mod time of the symlink's containing
783+# directory).
784+if (
785+   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
786+   if test "$[*]" = "X"; then
787+      # -L didn't work.
788+      set X `ls -t "$srcdir/configure" conftest.file`
789+   fi
790+   rm -f conftest.file
791+   if test "$[*]" != "X $srcdir/configure conftest.file" \
792+      && test "$[*]" != "X conftest.file $srcdir/configure"; then
793+
794+      # If neither matched, then we have a broken ls.  This can happen
795+      # if, for instance, CONFIG_SHELL is bash and it inherits a
796+      # broken ls alias from the environment.  This has actually
797+      # happened.  Such a system could not be considered "sane".
798+      AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
799+alias in your environment])
800+   fi
801+
802+   test "$[2]" = conftest.file
803+   )
804+then
805+   # Ok.
806+   :
807+else
808+   AC_MSG_ERROR([newly created file is older than distributed files!
809+Check your system clock])
810+fi
811+AC_MSG_RESULT(yes)])
812+
813+# Copyright (C) 2009  Free Software Foundation, Inc.
814+#
815+# This file is free software; the Free Software Foundation
816+# gives unlimited permission to copy and/or distribute it,
817+# with or without modifications, as long as this notice is preserved.
818+
819+# serial 1
820+
821+# AM_SILENT_RULES([DEFAULT])
822+# --------------------------
823+# Enable less verbose build rules; with the default set to DEFAULT
824+# (`yes' being less verbose, `no' or empty being verbose).
825+AC_DEFUN([AM_SILENT_RULES],
826+[AC_ARG_ENABLE([silent-rules],
827+[  --enable-silent-rules          less verbose build output (undo: `make V=1')
828+  --disable-silent-rules         verbose build output (undo: `make V=0')])
829+case $enable_silent_rules in
830+yes) AM_DEFAULT_VERBOSITY=0;;
831+no)  AM_DEFAULT_VERBOSITY=1;;
832+*)   AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
833+esac
834+AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
835+AM_BACKSLASH='\'
836+AC_SUBST([AM_BACKSLASH])dnl
837+_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
838+])
839+
840+# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
841+#
842+# This file is free software; the Free Software Foundation
843+# gives unlimited permission to copy and/or distribute it,
844+# with or without modifications, as long as this notice is preserved.
845+
846+# AM_PROG_INSTALL_STRIP
847+# ---------------------
848+# One issue with vendor `install' (even GNU) is that you can't
849+# specify the program used to strip binaries.  This is especially
850+# annoying in cross-compiling environments, where the build's strip
851+# is unlikely to handle the host's binaries.
852+# Fortunately install-sh will honor a STRIPPROG variable, so we
853+# always use install-sh in `make install-strip', and initialize
854+# STRIPPROG with the value of the STRIP variable (set by the user).
855+AC_DEFUN([AM_PROG_INSTALL_STRIP],
856+[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
857+# Installed binaries are usually stripped using `strip' when the user
858+# run `make install-strip'.  However `strip' might not be the right
859+# tool to use in cross-compilation environments, therefore Automake
860+# will honor the `STRIP' environment variable to overrule this program.
861+dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
862+if test "$cross_compiling" != no; then
863+  AC_CHECK_TOOL([STRIP], [strip], :)
864+fi
865+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
866+AC_SUBST([INSTALL_STRIP_PROGRAM])])
867+
868+# Copyright (C) 2006, 2008  Free Software Foundation, Inc.
869+#
870+# This file is free software; the Free Software Foundation
871+# gives unlimited permission to copy and/or distribute it,
872+# with or without modifications, as long as this notice is preserved.
873+
874+# serial 2
875+
876+# _AM_SUBST_NOTMAKE(VARIABLE)
877+# ---------------------------
878+# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
879+# This macro is traced by Automake.
880+AC_DEFUN([_AM_SUBST_NOTMAKE])
881+
882+# AM_SUBST_NOTMAKE(VARIABLE)
883+# ---------------------------
884+# Public sister of _AM_SUBST_NOTMAKE.
885+AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
886+
887+# Check how to create a tarball.                            -*- Autoconf -*-
888+
889+# Copyright (C) 2004, 2005  Free Software Foundation, Inc.
890+#
891+# This file is free software; the Free Software Foundation
892+# gives unlimited permission to copy and/or distribute it,
893+# with or without modifications, as long as this notice is preserved.
894+
895+# serial 2
896+
897+# _AM_PROG_TAR(FORMAT)
898+# --------------------
899+# Check how to create a tarball in format FORMAT.
900+# FORMAT should be one of `v7', `ustar', or `pax'.
901+#
902+# Substitute a variable $(am__tar) that is a command
903+# writing to stdout a FORMAT-tarball containing the directory
904+# $tardir.
905+#     tardir=directory && $(am__tar) > result.tar
906+#
907+# Substitute a variable $(am__untar) that extract such
908+# a tarball read from stdin.
909+#     $(am__untar) < result.tar
910+AC_DEFUN([_AM_PROG_TAR],
911+[# Always define AMTAR for backward compatibility.
912+AM_MISSING_PROG([AMTAR], [tar])
913+m4_if([$1], [v7],
914+     [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
915+     [m4_case([$1], [ustar],, [pax],,
916+              [m4_fatal([Unknown tar format])])
917+AC_MSG_CHECKING([how to create a $1 tar archive])
918+# Loop over all known methods to create a tar archive until one works.
919+_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
920+_am_tools=${am_cv_prog_tar_$1-$_am_tools}
921+# Do not fold the above two line into one, because Tru64 sh and
922+# Solaris sh will not grok spaces in the rhs of `-'.
923+for _am_tool in $_am_tools
924+do
925+  case $_am_tool in
926+  gnutar)
927+    for _am_tar in tar gnutar gtar;
928+    do
929+      AM_RUN_LOG([$_am_tar --version]) && break
930+    done
931+    am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
932+    am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
933+    am__untar="$_am_tar -xf -"
934+    ;;
935+  plaintar)
936+    # Must skip GNU tar: if it does not support --format= it doesn't create
937+    # ustar tarball either.
938+    (tar --version) >/dev/null 2>&1 && continue
939+    am__tar='tar chf - "$$tardir"'
940+    am__tar_='tar chf - "$tardir"'
941+    am__untar='tar xf -'
942+    ;;
943+  pax)
944+    am__tar='pax -L -x $1 -w "$$tardir"'
945+    am__tar_='pax -L -x $1 -w "$tardir"'
946+    am__untar='pax -r'
947+    ;;
948+  cpio)
949+    am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
950+    am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
951+    am__untar='cpio -i -H $1 -d'
952+    ;;
953+  none)
954+    am__tar=false
955+    am__tar_=false
956+    am__untar=false
957+    ;;
958+  esac
959+
960+  # If the value was cached, stop now.  We just wanted to have am__tar
961+  # and am__untar set.
962+  test -n "${am_cv_prog_tar_$1}" && break
963+
964+  # tar/untar a dummy directory, and stop if the command works
965+  rm -rf conftest.dir
966+  mkdir conftest.dir
967+  echo GrepMe > conftest.dir/file
968+  AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
969+  rm -rf conftest.dir
970+  if test -s conftest.tar; then
971+    AM_RUN_LOG([$am__untar <conftest.tar])
972+    grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
973+  fi
974+done
975+rm -rf conftest.dir
976+
977+AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
978+AC_MSG_RESULT([$am_cv_prog_tar_$1])])
979+AC_SUBST([am__tar])
980+AC_SUBST([am__untar])
981+]) # _AM_PROG_TAR
982+
983+m4_include([conf/m4/libtool.m4])
984+m4_include([conf/m4/ltoptions.m4])
985+m4_include([conf/m4/ltsugar.m4])
986+m4_include([conf/m4/ltversion.m4])
987+m4_include([conf/m4/lt~obsolete.m4])
988diff -urwN nxproxy-orig/autom4te.cache/output.0 nxproxy/autom4te.cache/output.0
989--- nxproxy-orig/autom4te.cache/output.0	2005-11-11 17:27:30.000000000 +0100
990+++ nxproxy/autom4te.cache/output.0	1970-01-01 01:00:00.000000000 +0100
991@@ -1,5634 +0,0 @@
992-@%:@! /bin/sh
993-@%:@ Guess values for system-dependent variables and create Makefiles.
994-@%:@ Generated by GNU Autoconf 2.59.
995-@%:@
996-@%:@ Copyright (C) 2003 Free Software Foundation, Inc.
997-@%:@ This configure script is free software; the Free Software Foundation
998-@%:@ gives unlimited permission to copy, distribute and modify it.
999-## --------------------- ##
1000-## M4sh Initialization.  ##
1001-## --------------------- ##
1002-
1003-# Be Bourne compatible
1004-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1005-  emulate sh
1006-  NULLCMD=:
1007-  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
1008-  # is contrary to our usage.  Disable this feature.
1009-  alias -g '${1+"$@"}'='"$@"'
1010-elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
1011-  set -o posix
1012-fi
1013-DUALCASE=1; export DUALCASE # for MKS sh
1014-
1015-# Support unset when possible.
1016-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
1017-  as_unset=unset
1018-else
1019-  as_unset=false
1020-fi
1021-
1022-
1023-# Work around bugs in pre-3.0 UWIN ksh.
1024-$as_unset ENV MAIL MAILPATH
1025-PS1='$ '
1026-PS2='> '
1027-PS4='+ '
1028-
1029-# NLS nuisances.
1030-for as_var in \
1031-  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
1032-  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
1033-  LC_TELEPHONE LC_TIME
1034-do
1035-  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
1036-    eval $as_var=C; export $as_var
1037-  else
1038-    $as_unset $as_var
1039-  fi
1040-done
1041-
1042-# Required to use basename.
1043-if expr a : '\(a\)' >/dev/null 2>&1; then
1044-  as_expr=expr
1045-else
1046-  as_expr=false
1047-fi
1048-
1049-if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
1050-  as_basename=basename
1051-else
1052-  as_basename=false
1053-fi
1054-
1055-
1056-# Name of the executable.
1057-as_me=`$as_basename "$0" ||
1058-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
1059-	 X"$0" : 'X\(//\)$' \| \
1060-	 X"$0" : 'X\(/\)$' \| \
1061-	 .     : '\(.\)' 2>/dev/null ||
1062-echo X/"$0" |
1063-    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
1064-  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
1065-  	  /^X\/\(\/\).*/{ s//\1/; q; }
1066-  	  s/.*/./; q'`
1067-
1068-
1069-# PATH needs CR, and LINENO needs CR and PATH.
1070-# Avoid depending upon Character Ranges.
1071-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
1072-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
1073-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
1074-as_cr_digits='0123456789'
1075-as_cr_alnum=$as_cr_Letters$as_cr_digits
1076-
1077-# The user is always right.
1078-if test "${PATH_SEPARATOR+set}" != set; then
1079-  echo "#! /bin/sh" >conf$$.sh
1080-  echo  "exit 0"   >>conf$$.sh
1081-  chmod +x conf$$.sh
1082-  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
1083-    PATH_SEPARATOR=';'
1084-  else
1085-    PATH_SEPARATOR=:
1086-  fi
1087-  rm -f conf$$.sh
1088-fi
1089-
1090-
1091-  as_lineno_1=$LINENO
1092-  as_lineno_2=$LINENO
1093-  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1094-  test "x$as_lineno_1" != "x$as_lineno_2" &&
1095-  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
1096-  # Find who we are.  Look in the path if we contain no path at all
1097-  # relative or not.
1098-  case $0 in
1099-    *[\\/]* ) as_myself=$0 ;;
1100-    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1101-for as_dir in $PATH
1102-do
1103-  IFS=$as_save_IFS
1104-  test -z "$as_dir" && as_dir=.
1105-  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1106-done
1107-
1108-       ;;
1109-  esac
1110-  # We did not find ourselves, most probably we were run as `sh COMMAND'
1111-  # in which case we are not to be found in the path.
1112-  if test "x$as_myself" = x; then
1113-    as_myself=$0
1114-  fi
1115-  if test ! -f "$as_myself"; then
1116-    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
1117-   { (exit 1); exit 1; }; }
1118-  fi
1119-  case $CONFIG_SHELL in
1120-  '')
1121-    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1122-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
1123-do
1124-  IFS=$as_save_IFS
1125-  test -z "$as_dir" && as_dir=.
1126-  for as_base in sh bash ksh sh5; do
1127-	 case $as_dir in
1128-	 /*)
1129-	   if ("$as_dir/$as_base" -c '
1130-  as_lineno_1=$LINENO
1131-  as_lineno_2=$LINENO
1132-  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1133-  test "x$as_lineno_1" != "x$as_lineno_2" &&
1134-  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
1135-	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
1136-	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
1137-	     CONFIG_SHELL=$as_dir/$as_base
1138-	     export CONFIG_SHELL
1139-	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
1140-	   fi;;
1141-	 esac
1142-       done
1143-done
1144-;;
1145-  esac
1146-
1147-  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
1148-  # uniformly replaced by the line number.  The first 'sed' inserts a
1149-  # line-number line before each line; the second 'sed' does the real
1150-  # work.  The second script uses 'N' to pair each line-number line
1151-  # with the numbered line, and appends trailing '-' during
1152-  # substitution so that $LINENO is not a special case at line end.
1153-  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
1154-  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
1155-  sed '=' <$as_myself |
1156-    sed '
1157-      N
1158-      s,$,-,
1159-      : loop
1160-      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
1161-      t loop
1162-      s,-$,,
1163-      s,^['$as_cr_digits']*\n,,
1164-    ' >$as_me.lineno &&
1165-  chmod +x $as_me.lineno ||
1166-    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
1167-   { (exit 1); exit 1; }; }
1168-
1169-  # Don't try to exec as it changes $[0], causing all sort of problems
1170-  # (the dirname of $[0] is not the place where we might find the
1171-  # original and so on.  Autoconf is especially sensible to this).
1172-  . ./$as_me.lineno
1173-  # Exit status is that of the last command.
1174-  exit
1175-}
1176-
1177-
1178-case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
1179-  *c*,-n*) ECHO_N= ECHO_C='
1180-' ECHO_T='	' ;;
1181-  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
1182-  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
1183-esac
1184-
1185-if expr a : '\(a\)' >/dev/null 2>&1; then
1186-  as_expr=expr
1187-else
1188-  as_expr=false
1189-fi
1190-
1191-rm -f conf$$ conf$$.exe conf$$.file
1192-echo >conf$$.file
1193-if ln -s conf$$.file conf$$ 2>/dev/null; then
1194-  # We could just check for DJGPP; but this test a) works b) is more generic
1195-  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
1196-  if test -f conf$$.exe; then
1197-    # Don't use ln at all; we don't have any links
1198-    as_ln_s='cp -p'
1199-  else
1200-    as_ln_s='ln -s'
1201-  fi
1202-elif ln conf$$.file conf$$ 2>/dev/null; then
1203-  as_ln_s=ln
1204-else
1205-  as_ln_s='cp -p'
1206-fi
1207-rm -f conf$$ conf$$.exe conf$$.file
1208-
1209-if mkdir -p . 2>/dev/null; then
1210-  as_mkdir_p=:
1211-else
1212-  test -d ./-p && rmdir ./-p
1213-  as_mkdir_p=false
1214-fi
1215-
1216-as_executable_p="test -f"
1217-
1218-# Sed expression to map a string onto a valid CPP name.
1219-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1220-
1221-# Sed expression to map a string onto a valid variable name.
1222-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1223-
1224-
1225-# IFS
1226-# We need space, tab and new line, in precisely that order.
1227-as_nl='
1228-'
1229-IFS=" 	$as_nl"
1230-
1231-# CDPATH.
1232-$as_unset CDPATH
1233-
1234-
1235-# Name of the host.
1236-# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
1237-# so uname gets run too.
1238-ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
1239-
1240-exec 6>&1
1241-
1242-#
1243-# Initializations.
1244-#
1245-ac_default_prefix=/usr/local
1246-ac_config_libobj_dir=.
1247-cross_compiling=no
1248-subdirs=
1249-MFLAGS=
1250-MAKEFLAGS=
1251-SHELL=${CONFIG_SHELL-/bin/sh}
1252-
1253-# Maximum number of lines to put in a shell here document.
1254-# This variable seems obsolete.  It should probably be removed, and
1255-# only ac_max_sed_lines should be used.
1256-: ${ac_max_here_lines=38}
1257-
1258-# Identity of this package.
1259-PACKAGE_NAME=
1260-PACKAGE_TARNAME=
1261-PACKAGE_VERSION=
1262-PACKAGE_STRING=
1263-PACKAGE_BUGREPORT=
1264-
1265-ac_unique_file="Main.c"
1266-ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS armcxx armcc CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT CC CFLAGS ac_ct_CC INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CXXCPP X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS LIBVERSION VERSION MAKEDEPEND LIB@&t@OBJS LTLIBOBJS'
1267-ac_subst_files=''
1268-
1269-# Initialize some variables set by options.
1270-ac_init_help=
1271-ac_init_version=false
1272-# The variables have the same names as the options, with
1273-# dashes changed to underlines.
1274-cache_file=/dev/null
1275-exec_prefix=NONE
1276-no_create=
1277-no_recursion=
1278-prefix=NONE
1279-program_prefix=NONE
1280-program_suffix=NONE
1281-program_transform_name=s,x,x,
1282-silent=
1283-site=
1284-srcdir=
1285-verbose=
1286-x_includes=NONE
1287-x_libraries=NONE
1288-
1289-# Installation directory options.
1290-# These are left unexpanded so users can "make install exec_prefix=/foo"
1291-# and all the variables that are supposed to be based on exec_prefix
1292-# by default will actually change.
1293-# Use braces instead of parens because sh, perl, etc. also accept them.
1294-bindir='${exec_prefix}/bin'
1295-sbindir='${exec_prefix}/sbin'
1296-libexecdir='${exec_prefix}/libexec'
1297-datadir='${prefix}/share'
1298-sysconfdir='${prefix}/etc'
1299-sharedstatedir='${prefix}/com'
1300-localstatedir='${prefix}/var'
1301-libdir='${exec_prefix}/lib'
1302-includedir='${prefix}/include'
1303-oldincludedir='/usr/include'
1304-infodir='${prefix}/info'
1305-mandir='${prefix}/man'
1306-
1307-ac_prev=
1308-for ac_option
1309-do
1310-  # If the previous option needs an argument, assign it.
1311-  if test -n "$ac_prev"; then
1312-    eval "$ac_prev=\$ac_option"
1313-    ac_prev=
1314-    continue
1315-  fi
1316-
1317-  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
1318-
1319-  # Accept the important Cygnus configure options, so we can diagnose typos.
1320-
1321-  case $ac_option in
1322-
1323-  -bindir | --bindir | --bindi | --bind | --bin | --bi)
1324-    ac_prev=bindir ;;
1325-  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1326-    bindir=$ac_optarg ;;
1327-
1328-  -build | --build | --buil | --bui | --bu)
1329-    ac_prev=build_alias ;;
1330-  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1331-    build_alias=$ac_optarg ;;
1332-
1333-  -cache-file | --cache-file | --cache-fil | --cache-fi \
1334-  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1335-    ac_prev=cache_file ;;
1336-  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1337-  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1338-    cache_file=$ac_optarg ;;
1339-
1340-  --config-cache | -C)
1341-    cache_file=config.cache ;;
1342-
1343-  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
1344-    ac_prev=datadir ;;
1345-  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
1346-  | --da=*)
1347-    datadir=$ac_optarg ;;
1348-
1349-  -disable-* | --disable-*)
1350-    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1351-    # Reject names that are not valid shell variable names.
1352-    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1353-      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1354-   { (exit 1); exit 1; }; }
1355-    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
1356-    eval "enable_$ac_feature=no" ;;
1357-
1358-  -enable-* | --enable-*)
1359-    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1360-    # Reject names that are not valid shell variable names.
1361-    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1362-      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1363-   { (exit 1); exit 1; }; }
1364-    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
1365-    case $ac_option in
1366-      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
1367-      *) ac_optarg=yes ;;
1368-    esac
1369-    eval "enable_$ac_feature='$ac_optarg'" ;;
1370-
1371-  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1372-  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1373-  | --exec | --exe | --ex)
1374-    ac_prev=exec_prefix ;;
1375-  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1376-  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1377-  | --exec=* | --exe=* | --ex=*)
1378-    exec_prefix=$ac_optarg ;;
1379-
1380-  -gas | --gas | --ga | --g)
1381-    # Obsolete; use --with-gas.
1382-    with_gas=yes ;;
1383-
1384-  -help | --help | --hel | --he | -h)
1385-    ac_init_help=long ;;
1386-  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1387-    ac_init_help=recursive ;;
1388-  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1389-    ac_init_help=short ;;
1390-
1391-  -host | --host | --hos | --ho)
1392-    ac_prev=host_alias ;;
1393-  -host=* | --host=* | --hos=* | --ho=*)
1394-    host_alias=$ac_optarg ;;
1395-
1396-  -includedir | --includedir | --includedi | --included | --include \
1397-  | --includ | --inclu | --incl | --inc)
1398-    ac_prev=includedir ;;
1399-  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1400-  | --includ=* | --inclu=* | --incl=* | --inc=*)
1401-    includedir=$ac_optarg ;;
1402-
1403-  -infodir | --infodir | --infodi | --infod | --info | --inf)
1404-    ac_prev=infodir ;;
1405-  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1406-    infodir=$ac_optarg ;;
1407-
1408-  -libdir | --libdir | --libdi | --libd)
1409-    ac_prev=libdir ;;
1410-  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1411-    libdir=$ac_optarg ;;
1412-
1413-  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1414-  | --libexe | --libex | --libe)
1415-    ac_prev=libexecdir ;;
1416-  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1417-  | --libexe=* | --libex=* | --libe=*)
1418-    libexecdir=$ac_optarg ;;
1419-
1420-  -localstatedir | --localstatedir | --localstatedi | --localstated \
1421-  | --localstate | --localstat | --localsta | --localst \
1422-  | --locals | --local | --loca | --loc | --lo)
1423-    ac_prev=localstatedir ;;
1424-  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1425-  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
1426-  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
1427-    localstatedir=$ac_optarg ;;
1428-
1429-  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1430-    ac_prev=mandir ;;
1431-  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1432-    mandir=$ac_optarg ;;
1433-
1434-  -nfp | --nfp | --nf)
1435-    # Obsolete; use --without-fp.
1436-    with_fp=no ;;
1437-
1438-  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1439-  | --no-cr | --no-c | -n)
1440-    no_create=yes ;;
1441-
1442-  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1443-  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1444-    no_recursion=yes ;;
1445-
1446-  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1447-  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1448-  | --oldin | --oldi | --old | --ol | --o)
1449-    ac_prev=oldincludedir ;;
1450-  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1451-  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1452-  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1453-    oldincludedir=$ac_optarg ;;
1454-
1455-  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1456-    ac_prev=prefix ;;
1457-  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1458-    prefix=$ac_optarg ;;
1459-
1460-  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1461-  | --program-pre | --program-pr | --program-p)
1462-    ac_prev=program_prefix ;;
1463-  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1464-  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1465-    program_prefix=$ac_optarg ;;
1466-
1467-  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1468-  | --program-suf | --program-su | --program-s)
1469-    ac_prev=program_suffix ;;
1470-  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1471-  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1472-    program_suffix=$ac_optarg ;;
1473-
1474-  -program-transform-name | --program-transform-name \
1475-  | --program-transform-nam | --program-transform-na \
1476-  | --program-transform-n | --program-transform- \
1477-  | --program-transform | --program-transfor \
1478-  | --program-transfo | --program-transf \
1479-  | --program-trans | --program-tran \
1480-  | --progr-tra | --program-tr | --program-t)
1481-    ac_prev=program_transform_name ;;
1482-  -program-transform-name=* | --program-transform-name=* \
1483-  | --program-transform-nam=* | --program-transform-na=* \
1484-  | --program-transform-n=* | --program-transform-=* \
1485-  | --program-transform=* | --program-transfor=* \
1486-  | --program-transfo=* | --program-transf=* \
1487-  | --program-trans=* | --program-tran=* \
1488-  | --progr-tra=* | --program-tr=* | --program-t=*)
1489-    program_transform_name=$ac_optarg ;;
1490-
1491-  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1492-  | -silent | --silent | --silen | --sile | --sil)
1493-    silent=yes ;;
1494-
1495-  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1496-    ac_prev=sbindir ;;
1497-  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1498-  | --sbi=* | --sb=*)
1499-    sbindir=$ac_optarg ;;
1500-
1501-  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1502-  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1503-  | --sharedst | --shareds | --shared | --share | --shar \
1504-  | --sha | --sh)
1505-    ac_prev=sharedstatedir ;;
1506-  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1507-  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1508-  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1509-  | --sha=* | --sh=*)
1510-    sharedstatedir=$ac_optarg ;;
1511-
1512-  -site | --site | --sit)
1513-    ac_prev=site ;;
1514-  -site=* | --site=* | --sit=*)
1515-    site=$ac_optarg ;;
1516-
1517-  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1518-    ac_prev=srcdir ;;
1519-  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1520-    srcdir=$ac_optarg ;;
1521-
1522-  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1523-  | --syscon | --sysco | --sysc | --sys | --sy)
1524-    ac_prev=sysconfdir ;;
1525-  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1526-  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1527-    sysconfdir=$ac_optarg ;;
1528-
1529-  -target | --target | --targe | --targ | --tar | --ta | --t)
1530-    ac_prev=target_alias ;;
1531-  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1532-    target_alias=$ac_optarg ;;
1533-
1534-  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1535-    verbose=yes ;;
1536-
1537-  -version | --version | --versio | --versi | --vers | -V)
1538-    ac_init_version=: ;;
1539-
1540-  -with-* | --with-*)
1541-    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1542-    # Reject names that are not valid shell variable names.
1543-    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1544-      { echo "$as_me: error: invalid package name: $ac_package" >&2
1545-   { (exit 1); exit 1; }; }
1546-    ac_package=`echo $ac_package| sed 's/-/_/g'`
1547-    case $ac_option in
1548-      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
1549-      *) ac_optarg=yes ;;
1550-    esac
1551-    eval "with_$ac_package='$ac_optarg'" ;;
1552-
1553-  -without-* | --without-*)
1554-    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1555-    # Reject names that are not valid shell variable names.
1556-    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1557-      { echo "$as_me: error: invalid package name: $ac_package" >&2
1558-   { (exit 1); exit 1; }; }
1559-    ac_package=`echo $ac_package | sed 's/-/_/g'`
1560-    eval "with_$ac_package=no" ;;
1561-
1562-  --x)
1563-    # Obsolete; use --with-x.
1564-    with_x=yes ;;
1565-
1566-  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1567-  | --x-incl | --x-inc | --x-in | --x-i)
1568-    ac_prev=x_includes ;;
1569-  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1570-  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1571-    x_includes=$ac_optarg ;;
1572-
1573-  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1574-  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1575-    ac_prev=x_libraries ;;
1576-  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1577-  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1578-    x_libraries=$ac_optarg ;;
1579-
1580-  -*) { echo "$as_me: error: unrecognized option: $ac_option
1581-Try \`$0 --help' for more information." >&2
1582-   { (exit 1); exit 1; }; }
1583-    ;;
1584-
1585-  *=*)
1586-    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1587-    # Reject names that are not valid shell variable names.
1588-    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1589-      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1590-   { (exit 1); exit 1; }; }
1591-    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
1592-    eval "$ac_envvar='$ac_optarg'"
1593-    export $ac_envvar ;;
1594-
1595-  *)
1596-    # FIXME: should be removed in autoconf 3.0.
1597-    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1598-    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1599-      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1600-    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1601-    ;;
1602-
1603-  esac
1604-done
1605-
1606-if test -n "$ac_prev"; then
1607-  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1608-  { echo "$as_me: error: missing argument to $ac_option" >&2
1609-   { (exit 1); exit 1; }; }
1610-fi
1611-
1612-# Be sure to have absolute paths.
1613-for ac_var in exec_prefix prefix
1614-do
1615-  eval ac_val=$`echo $ac_var`
1616-  case $ac_val in
1617-    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
1618-    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1619-   { (exit 1); exit 1; }; };;
1620-  esac
1621-done
1622-
1623-# Be sure to have absolute paths.
1624-for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
1625-	      localstatedir libdir includedir oldincludedir infodir mandir
1626-do
1627-  eval ac_val=$`echo $ac_var`
1628-  case $ac_val in
1629-    [\\/$]* | ?:[\\/]* ) ;;
1630-    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1631-   { (exit 1); exit 1; }; };;
1632-  esac
1633-done
1634-
1635-# There might be people who depend on the old broken behavior: `$host'
1636-# used to hold the argument of --host etc.
1637-# FIXME: To remove some day.
1638-build=$build_alias
1639-host=$host_alias
1640-target=$target_alias
1641-
1642-# FIXME: To remove some day.
1643-if test "x$host_alias" != x; then
1644-  if test "x$build_alias" = x; then
1645-    cross_compiling=maybe
1646-    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1647-    If a cross compiler is detected then cross compile mode will be used." >&2
1648-  elif test "x$build_alias" != "x$host_alias"; then
1649-    cross_compiling=yes
1650-  fi
1651-fi
1652-
1653-ac_tool_prefix=
1654-test -n "$host_alias" && ac_tool_prefix=$host_alias-
1655-
1656-test "$silent" = yes && exec 6>/dev/null
1657-
1658-
1659-# Find the source files, if location was not specified.
1660-if test -z "$srcdir"; then
1661-  ac_srcdir_defaulted=yes
1662-  # Try the directory containing this script, then its parent.
1663-  ac_confdir=`(dirname "$0") 2>/dev/null ||
1664-$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1665-	 X"$0" : 'X\(//\)[^/]' \| \
1666-	 X"$0" : 'X\(//\)$' \| \
1667-	 X"$0" : 'X\(/\)' \| \
1668-	 .     : '\(.\)' 2>/dev/null ||
1669-echo X"$0" |
1670-    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1671-  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1672-  	  /^X\(\/\/\)$/{ s//\1/; q; }
1673-  	  /^X\(\/\).*/{ s//\1/; q; }
1674-  	  s/.*/./; q'`
1675-  srcdir=$ac_confdir
1676-  if test ! -r $srcdir/$ac_unique_file; then
1677-    srcdir=..
1678-  fi
1679-else
1680-  ac_srcdir_defaulted=no
1681-fi
1682-if test ! -r $srcdir/$ac_unique_file; then
1683-  if test "$ac_srcdir_defaulted" = yes; then
1684-    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
1685-   { (exit 1); exit 1; }; }
1686-  else
1687-    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1688-   { (exit 1); exit 1; }; }
1689-  fi
1690-fi
1691-(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
1692-  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
1693-   { (exit 1); exit 1; }; }
1694-srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
1695-ac_env_build_alias_set=${build_alias+set}
1696-ac_env_build_alias_value=$build_alias
1697-ac_cv_env_build_alias_set=${build_alias+set}
1698-ac_cv_env_build_alias_value=$build_alias
1699-ac_env_host_alias_set=${host_alias+set}
1700-ac_env_host_alias_value=$host_alias
1701-ac_cv_env_host_alias_set=${host_alias+set}
1702-ac_cv_env_host_alias_value=$host_alias
1703-ac_env_target_alias_set=${target_alias+set}
1704-ac_env_target_alias_value=$target_alias
1705-ac_cv_env_target_alias_set=${target_alias+set}
1706-ac_cv_env_target_alias_value=$target_alias
1707-ac_env_CXX_set=${CXX+set}
1708-ac_env_CXX_value=$CXX
1709-ac_cv_env_CXX_set=${CXX+set}
1710-ac_cv_env_CXX_value=$CXX
1711-ac_env_CXXFLAGS_set=${CXXFLAGS+set}
1712-ac_env_CXXFLAGS_value=$CXXFLAGS
1713-ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
1714-ac_cv_env_CXXFLAGS_value=$CXXFLAGS
1715-ac_env_LDFLAGS_set=${LDFLAGS+set}
1716-ac_env_LDFLAGS_value=$LDFLAGS
1717-ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
1718-ac_cv_env_LDFLAGS_value=$LDFLAGS
1719-ac_env_CPPFLAGS_set=${CPPFLAGS+set}
1720-ac_env_CPPFLAGS_value=$CPPFLAGS
1721-ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
1722-ac_cv_env_CPPFLAGS_value=$CPPFLAGS
1723-ac_env_CC_set=${CC+set}
1724-ac_env_CC_value=$CC
1725-ac_cv_env_CC_set=${CC+set}
1726-ac_cv_env_CC_value=$CC
1727-ac_env_CFLAGS_set=${CFLAGS+set}
1728-ac_env_CFLAGS_value=$CFLAGS
1729-ac_cv_env_CFLAGS_set=${CFLAGS+set}
1730-ac_cv_env_CFLAGS_value=$CFLAGS
1731-ac_env_CXXCPP_set=${CXXCPP+set}
1732-ac_env_CXXCPP_value=$CXXCPP
1733-ac_cv_env_CXXCPP_set=${CXXCPP+set}
1734-ac_cv_env_CXXCPP_value=$CXXCPP
1735-
1736-#
1737-# Report the --help message.
1738-#
1739-if test "$ac_init_help" = "long"; then
1740-  # Omit some internal or obsolete options to make the list less imposing.
1741-  # This message is too long to be a string in the A/UX 3.1 sh.
1742-  cat <<_ACEOF
1743-\`configure' configures this package to adapt to many kinds of systems.
1744-
1745-Usage: $0 [OPTION]... [VAR=VALUE]...
1746-
1747-To assign environment variables (e.g., CC, CFLAGS...), specify them as
1748-VAR=VALUE.  See below for descriptions of some of the useful variables.
1749-
1750-Defaults for the options are specified in brackets.
1751-
1752-Configuration:
1753-  -h, --help              display this help and exit
1754-      --help=short        display options specific to this package
1755-      --help=recursive    display the short help of all the included packages
1756-  -V, --version           display version information and exit
1757-  -q, --quiet, --silent   do not print \`checking...' messages
1758-      --cache-file=FILE   cache test results in FILE [disabled]
1759-  -C, --config-cache      alias for \`--cache-file=config.cache'
1760-  -n, --no-create         do not create output files
1761-      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1762-
1763-_ACEOF
1764-
1765-  cat <<_ACEOF
1766-Installation directories:
1767-  --prefix=PREFIX         install architecture-independent files in PREFIX
1768-			  [$ac_default_prefix]
1769-  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1770-			  [PREFIX]
1771-
1772-By default, \`make install' will install all the files in
1773-\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1774-an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1775-for instance \`--prefix=\$HOME'.
1776-
1777-For better control, use the options below.
1778-
1779-Fine tuning of the installation directories:
1780-  --bindir=DIR           user executables [EPREFIX/bin]
1781-  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1782-  --libexecdir=DIR       program executables [EPREFIX/libexec]
1783-  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
1784-  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1785-  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1786-  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1787-  --libdir=DIR           object code libraries [EPREFIX/lib]
1788-  --includedir=DIR       C header files [PREFIX/include]
1789-  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1790-  --infodir=DIR          info documentation [PREFIX/info]
1791-  --mandir=DIR           man documentation [PREFIX/man]
1792-_ACEOF
1793-
1794-  cat <<\_ACEOF
1795-
1796-X features:
1797-  --x-includes=DIR    X include files are in DIR
1798-  --x-libraries=DIR   X library files are in DIR
1799-_ACEOF
1800-fi
1801-
1802-if test -n "$ac_init_help"; then
1803-
1804-  cat <<\_ACEOF
1805-
1806-Optional Packages:
1807-  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1808-  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1809-  --with-x                use the X Window System
1810-
1811-Some influential environment variables:
1812-  CXX         C++ compiler command
1813-  CXXFLAGS    C++ compiler flags
1814-  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1815-              nonstandard directory <lib dir>
1816-  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
1817-              headers in a nonstandard directory <include dir>
1818-  CC          C compiler command
1819-  CFLAGS      C compiler flags
1820-  CXXCPP      C++ preprocessor
1821-
1822-Use these variables to override the choices made by `configure' or to help
1823-it to find libraries and programs with nonstandard names/locations.
1824-
1825-_ACEOF
1826-fi
1827-
1828-if test "$ac_init_help" = "recursive"; then
1829-  # If there are subdirs, report their specific --help.
1830-  ac_popdir=`pwd`
1831-  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1832-    test -d $ac_dir || continue
1833-    ac_builddir=.
1834-
1835-if test "$ac_dir" != .; then
1836-  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1837-  # A "../" for each directory in $ac_dir_suffix.
1838-  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1839-else
1840-  ac_dir_suffix= ac_top_builddir=
1841-fi
1842-
1843-case $srcdir in
1844-  .)  # No --srcdir option.  We are building in place.
1845-    ac_srcdir=.
1846-    if test -z "$ac_top_builddir"; then
1847-       ac_top_srcdir=.
1848-    else
1849-       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1850-    fi ;;
1851-  [\\/]* | ?:[\\/]* )  # Absolute path.
1852-    ac_srcdir=$srcdir$ac_dir_suffix;
1853-    ac_top_srcdir=$srcdir ;;
1854-  *) # Relative path.
1855-    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1856-    ac_top_srcdir=$ac_top_builddir$srcdir ;;
1857-esac
1858-
1859-# Do not use `cd foo && pwd` to compute absolute paths, because
1860-# the directories may not exist.
1861-case `pwd` in
1862-.) ac_abs_builddir="$ac_dir";;
1863-*)
1864-  case "$ac_dir" in
1865-  .) ac_abs_builddir=`pwd`;;
1866-  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1867-  *) ac_abs_builddir=`pwd`/"$ac_dir";;
1868-  esac;;
1869-esac
1870-case $ac_abs_builddir in
1871-.) ac_abs_top_builddir=${ac_top_builddir}.;;
1872-*)
1873-  case ${ac_top_builddir}. in
1874-  .) ac_abs_top_builddir=$ac_abs_builddir;;
1875-  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1876-  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1877-  esac;;
1878-esac
1879-case $ac_abs_builddir in
1880-.) ac_abs_srcdir=$ac_srcdir;;
1881-*)
1882-  case $ac_srcdir in
1883-  .) ac_abs_srcdir=$ac_abs_builddir;;
1884-  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1885-  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1886-  esac;;
1887-esac
1888-case $ac_abs_builddir in
1889-.) ac_abs_top_srcdir=$ac_top_srcdir;;
1890-*)
1891-  case $ac_top_srcdir in
1892-  .) ac_abs_top_srcdir=$ac_abs_builddir;;
1893-  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1894-  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1895-  esac;;
1896-esac
1897-
1898-    cd $ac_dir
1899-    # Check for guested configure; otherwise get Cygnus style configure.
1900-    if test -f $ac_srcdir/configure.gnu; then
1901-      echo
1902-      $SHELL $ac_srcdir/configure.gnu  --help=recursive
1903-    elif test -f $ac_srcdir/configure; then
1904-      echo
1905-      $SHELL $ac_srcdir/configure  --help=recursive
1906-    elif test -f $ac_srcdir/configure.ac ||
1907-	   test -f $ac_srcdir/configure.in; then
1908-      echo
1909-      $ac_configure --help
1910-    else
1911-      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1912-    fi
1913-    cd $ac_popdir
1914-  done
1915-fi
1916-
1917-test -n "$ac_init_help" && exit 0
1918-if $ac_init_version; then
1919-  cat <<\_ACEOF
1920-
1921-Copyright (C) 2003 Free Software Foundation, Inc.
1922-This configure script is free software; the Free Software Foundation
1923-gives unlimited permission to copy, distribute and modify it.
1924-_ACEOF
1925-  exit 0
1926-fi
1927-exec 5>config.log
1928-cat >&5 <<_ACEOF
1929-This file contains any messages produced by compilers while
1930-running configure, to aid debugging if configure makes a mistake.
1931-
1932-It was created by $as_me, which was
1933-generated by GNU Autoconf 2.59.  Invocation command line was
1934-
1935-  $ $0 $@
1936-
1937-_ACEOF
1938-{
1939-cat <<_ASUNAME
1940-@%:@@%:@ --------- @%:@@%:@
1941-@%:@@%:@ Platform. @%:@@%:@
1942-@%:@@%:@ --------- @%:@@%:@
1943-
1944-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1945-uname -m = `(uname -m) 2>/dev/null || echo unknown`
1946-uname -r = `(uname -r) 2>/dev/null || echo unknown`
1947-uname -s = `(uname -s) 2>/dev/null || echo unknown`
1948-uname -v = `(uname -v) 2>/dev/null || echo unknown`
1949-
1950-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1951-/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1952-
1953-/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1954-/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1955-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1956-hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
1957-/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1958-/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1959-/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1960-
1961-_ASUNAME
1962-
1963-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1964-for as_dir in $PATH
1965-do
1966-  IFS=$as_save_IFS
1967-  test -z "$as_dir" && as_dir=.
1968-  echo "PATH: $as_dir"
1969-done
1970-
1971-} >&5
1972-
1973-cat >&5 <<_ACEOF
1974-
1975-
1976-@%:@@%:@ ----------- @%:@@%:@
1977-@%:@@%:@ Core tests. @%:@@%:@
1978-@%:@@%:@ ----------- @%:@@%:@
1979-
1980-_ACEOF
1981-
1982-
1983-# Keep a trace of the command line.
1984-# Strip out --no-create and --no-recursion so they do not pile up.
1985-# Strip out --silent because we don't want to record it for future runs.
1986-# Also quote any args containing shell meta-characters.
1987-# Make two passes to allow for proper duplicate-argument suppression.
1988-ac_configure_args=
1989-ac_configure_args0=
1990-ac_configure_args1=
1991-ac_sep=
1992-ac_must_keep_next=false
1993-for ac_pass in 1 2
1994-do
1995-  for ac_arg
1996-  do
1997-    case $ac_arg in
1998-    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1999-    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2000-    | -silent | --silent | --silen | --sile | --sil)
2001-      continue ;;
2002-    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
2003-      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2004-    esac
2005-    case $ac_pass in
2006-    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2007-    2)
2008-      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2009-      if test $ac_must_keep_next = true; then
2010-	ac_must_keep_next=false # Got value, back to normal.
2011-      else
2012-	case $ac_arg in
2013-	  *=* | --config-cache | -C | -disable-* | --disable-* \
2014-	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2015-	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2016-	  | -with-* | --with-* | -without-* | --without-* | --x)
2017-	    case "$ac_configure_args0 " in
2018-	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2019-	    esac
2020-	    ;;
2021-	  -* ) ac_must_keep_next=true ;;
2022-	esac
2023-      fi
2024-      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
2025-      # Get rid of the leading space.
2026-      ac_sep=" "
2027-      ;;
2028-    esac
2029-  done
2030-done
2031-$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2032-$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2033-
2034-# When interrupted or exit'd, cleanup temporary files, and complete
2035-# config.log.  We remove comments because anyway the quotes in there
2036-# would cause problems or look ugly.
2037-# WARNING: Be sure not to use single quotes in there, as some shells,
2038-# such as our DU 5.0 friend, will then `close' the trap.
2039-trap 'exit_status=$?
2040-  # Save into config.log some information that might help in debugging.
2041-  {
2042-    echo
2043-
2044-    cat <<\_ASBOX
2045-@%:@@%:@ ---------------- @%:@@%:@
2046-@%:@@%:@ Cache variables. @%:@@%:@
2047-@%:@@%:@ ---------------- @%:@@%:@
2048-_ASBOX
2049-    echo
2050-    # The following way of writing the cache mishandles newlines in values,
2051-{
2052-  (set) 2>&1 |
2053-    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
2054-    *ac_space=\ *)
2055-      sed -n \
2056-	"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
2057-	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
2058-      ;;
2059-    *)
2060-      sed -n \
2061-	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2062-      ;;
2063-    esac;
2064-}
2065-    echo
2066-
2067-    cat <<\_ASBOX
2068-@%:@@%:@ ----------------- @%:@@%:@
2069-@%:@@%:@ Output variables. @%:@@%:@
2070-@%:@@%:@ ----------------- @%:@@%:@
2071-_ASBOX
2072-    echo
2073-    for ac_var in $ac_subst_vars
2074-    do
2075-      eval ac_val=$`echo $ac_var`
2076-      echo "$ac_var='"'"'$ac_val'"'"'"
2077-    done | sort
2078-    echo
2079-
2080-    if test -n "$ac_subst_files"; then
2081-      cat <<\_ASBOX
2082-@%:@@%:@ ------------- @%:@@%:@
2083-@%:@@%:@ Output files. @%:@@%:@
2084-@%:@@%:@ ------------- @%:@@%:@
2085-_ASBOX
2086-      echo
2087-      for ac_var in $ac_subst_files
2088-      do
2089-	eval ac_val=$`echo $ac_var`
2090-	echo "$ac_var='"'"'$ac_val'"'"'"
2091-      done | sort
2092-      echo
2093-    fi
2094-
2095-    if test -s confdefs.h; then
2096-      cat <<\_ASBOX
2097-@%:@@%:@ ----------- @%:@@%:@
2098-@%:@@%:@ confdefs.h. @%:@@%:@
2099-@%:@@%:@ ----------- @%:@@%:@
2100-_ASBOX
2101-      echo
2102-      sed "/^$/d" confdefs.h | sort
2103-      echo
2104-    fi
2105-    test "$ac_signal" != 0 &&
2106-      echo "$as_me: caught signal $ac_signal"
2107-    echo "$as_me: exit $exit_status"
2108-  } >&5
2109-  rm -f core *.core &&
2110-  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
2111-    exit $exit_status
2112-     ' 0
2113-for ac_signal in 1 2 13 15; do
2114-  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2115-done
2116-ac_signal=0
2117-
2118-# confdefs.h avoids OS command line length limits that DEFS can exceed.
2119-rm -rf conftest* confdefs.h
2120-# AIX cpp loses on an empty file, so make sure it contains at least a newline.
2121-echo >confdefs.h
2122-
2123-# Predefined preprocessor variables.
2124-
2125-cat >>confdefs.h <<_ACEOF
2126-@%:@define PACKAGE_NAME "$PACKAGE_NAME"
2127-_ACEOF
2128-
2129-
2130-cat >>confdefs.h <<_ACEOF
2131-@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2132-_ACEOF
2133-
2134-
2135-cat >>confdefs.h <<_ACEOF
2136-@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
2137-_ACEOF
2138-
2139-
2140-cat >>confdefs.h <<_ACEOF
2141-@%:@define PACKAGE_STRING "$PACKAGE_STRING"
2142-_ACEOF
2143-
2144-
2145-cat >>confdefs.h <<_ACEOF
2146-@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2147-_ACEOF
2148-
2149-
2150-# Let the site file select an alternate cache file if it wants to.
2151-# Prefer explicitly selected file to automatically selected ones.
2152-if test -z "$CONFIG_SITE"; then
2153-  if test "x$prefix" != xNONE; then
2154-    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
2155-  else
2156-    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
2157-  fi
2158-fi
2159-for ac_site_file in $CONFIG_SITE; do
2160-  if test -r "$ac_site_file"; then
2161-    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2162-echo "$as_me: loading site script $ac_site_file" >&6;}
2163-    sed 's/^/| /' "$ac_site_file" >&5
2164-    . "$ac_site_file"
2165-  fi
2166-done
2167-
2168-if test -r "$cache_file"; then
2169-  # Some versions of bash will fail to source /dev/null (special
2170-  # files actually), so we avoid doing that.
2171-  if test -f "$cache_file"; then
2172-    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2173-echo "$as_me: loading cache $cache_file" >&6;}
2174-    case $cache_file in
2175-      [\\/]* | ?:[\\/]* ) . $cache_file;;
2176-      *)                      . ./$cache_file;;
2177-    esac
2178-  fi
2179-else
2180-  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2181-echo "$as_me: creating cache $cache_file" >&6;}
2182-  >$cache_file
2183-fi
2184-
2185-# Check that the precious variables saved in the cache have kept the same
2186-# value.
2187-ac_cache_corrupted=false
2188-for ac_var in `(set) 2>&1 |
2189-	       sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
2190-  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2191-  eval ac_new_set=\$ac_env_${ac_var}_set
2192-  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
2193-  eval ac_new_val="\$ac_env_${ac_var}_value"
2194-  case $ac_old_set,$ac_new_set in
2195-    set,)
2196-      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2197-echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2198-      ac_cache_corrupted=: ;;
2199-    ,set)
2200-      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2201-echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2202-      ac_cache_corrupted=: ;;
2203-    ,);;
2204-    *)
2205-      if test "x$ac_old_val" != "x$ac_new_val"; then
2206-	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2207-echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2208-	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
2209-echo "$as_me:   former value:  $ac_old_val" >&2;}
2210-	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
2211-echo "$as_me:   current value: $ac_new_val" >&2;}
2212-	ac_cache_corrupted=:
2213-      fi;;
2214-  esac
2215-  # Pass precious variables to config.status.
2216-  if test "$ac_new_set" = set; then
2217-    case $ac_new_val in
2218-    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
2219-      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2220-    *) ac_arg=$ac_var=$ac_new_val ;;
2221-    esac
2222-    case " $ac_configure_args " in
2223-      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2224-      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2225-    esac
2226-  fi
2227-done
2228-if $ac_cache_corrupted; then
2229-  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2230-echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2231-  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2232-echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2233-   { (exit 1); exit 1; }; }
2234-fi
2235-
2236-ac_ext=c
2237-ac_cpp='$CPP $CPPFLAGS'
2238-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2239-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2240-ac_compiler_gnu=$ac_cv_c_compiler_gnu
2241-
2242-
2243-
2244-
2245-
2246-
2247-
2248-
2249-
2250-
2251-
2252-
2253-
2254-
2255-
2256-
2257-
2258-
2259-
2260-
2261-
2262-
2263-CXXFLAGS="-O3"
2264-CPPFLAGS="-O3"
2265-
2266-
2267-if test -d "../nx-X11/exports/include" ; then
2268-    CXXFLAGS="$CXXFLAGS -I../nx-X11/exports/include"
2269-    LIBS="$LIBS -L../nx-X11/exports/lib"
2270-fi
2271-
2272-
2273-if test "${with_ipaq}" = yes; then
2274-  echo -e "enabling ipaq configuration"
2275-  CXX="arm-linux-c++"
2276-  CC="arm-linux-gcc"
2277-  unset ac_cv_prog_armcxx
2278-  unset ac_cv_prog_armcc
2279-  unset ac_cv_prog_CXXCPP
2280-  # Extract the first word of ""$CXX"", so it can be a program name with args.
2281-set dummy "$CXX"; ac_word=$2
2282-echo "$as_me:$LINENO: checking for $ac_word" >&5
2283-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2284-if test "${ac_cv_prog_armcxx+set}" = set; then
2285-  echo $ECHO_N "(cached) $ECHO_C" >&6
2286-else
2287-  if test -n "$armcxx"; then
2288-  ac_cv_prog_armcxx="$armcxx" # Let the user override the test.
2289-else
2290-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2291-for as_dir in $PATH
2292-do
2293-  IFS=$as_save_IFS
2294-  test -z "$as_dir" && as_dir=.
2295-  for ac_exec_ext in '' $ac_executable_extensions; do
2296-  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2297-    ac_cv_prog_armcxx="yes"
2298-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2299-    break 2
2300-  fi
2301-done
2302-done
2303-
2304-  test -z "$ac_cv_prog_armcxx" && ac_cv_prog_armcxx="no"
2305-fi
2306-fi
2307-armcxx=$ac_cv_prog_armcxx
2308-if test -n "$armcxx"; then
2309-  echo "$as_me:$LINENO: result: $armcxx" >&5
2310-echo "${ECHO_T}$armcxx" >&6
2311-else
2312-  echo "$as_me:$LINENO: result: no" >&5
2313-echo "${ECHO_T}no" >&6
2314-fi
2315-
2316-  # Extract the first word of ""$CC"", so it can be a program name with args.
2317-set dummy "$CC"; ac_word=$2
2318-echo "$as_me:$LINENO: checking for $ac_word" >&5
2319-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2320-if test "${ac_cv_prog_armcc+set}" = set; then
2321-  echo $ECHO_N "(cached) $ECHO_C" >&6
2322-else
2323-  if test -n "$armcc"; then
2324-  ac_cv_prog_armcc="$armcc" # Let the user override the test.
2325-else
2326-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2327-for as_dir in $PATH
2328-do
2329-  IFS=$as_save_IFS
2330-  test -z "$as_dir" && as_dir=.
2331-  for ac_exec_ext in '' $ac_executable_extensions; do
2332-  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2333-    ac_cv_prog_armcc="yes"
2334-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2335-    break 2
2336-  fi
2337-done
2338-done
2339-
2340-  test -z "$ac_cv_prog_armcc" && ac_cv_prog_armcc="no"
2341-fi
2342-fi
2343-armcc=$ac_cv_prog_armcc
2344-if test -n "$armcc"; then
2345-  echo "$as_me:$LINENO: result: $armcc" >&5
2346-echo "${ECHO_T}$armcc" >&6
2347-else
2348-  echo "$as_me:$LINENO: result: no" >&5
2349-echo "${ECHO_T}no" >&6
2350-fi
2351-
2352-  if test $armcxx = "yes" && test $armcc = "yes" ; then
2353-    ac_cv_prog_CXX="$CXX"
2354-    ac_cv_prog_CC="$CC"
2355-  else
2356-    { { echo "$as_me:$LINENO: error: installation or configuration problem: I cannot find compiler for arm-linux" >&5
2357-echo "$as_me: error: installation or configuration problem: I cannot find compiler for arm-linux" >&2;}
2358-   { (exit 1); exit 1; }; }
2359-  fi
2360-else
2361-  unset ac_cv_prog_CXX
2362-  unset ac_cv_prog_CC
2363-  unset ac_cv_prog_CXXCPP
2364-fi
2365-
2366-
2367-ac_ext=cc
2368-ac_cpp='$CXXCPP $CPPFLAGS'
2369-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2370-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2371-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2372-if test -n "$ac_tool_prefix"; then
2373-  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2374-  do
2375-    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2376-set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2377-echo "$as_me:$LINENO: checking for $ac_word" >&5
2378-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2379-if test "${ac_cv_prog_CXX+set}" = set; then
2380-  echo $ECHO_N "(cached) $ECHO_C" >&6
2381-else
2382-  if test -n "$CXX"; then
2383-  ac_cv_prog_CXX="$CXX" # Let the user override the test.
2384-else
2385-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2386-for as_dir in $PATH
2387-do
2388-  IFS=$as_save_IFS
2389-  test -z "$as_dir" && as_dir=.
2390-  for ac_exec_ext in '' $ac_executable_extensions; do
2391-  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2392-    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2393-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2394-    break 2
2395-  fi
2396-done
2397-done
2398-
2399-fi
2400-fi
2401-CXX=$ac_cv_prog_CXX
2402-if test -n "$CXX"; then
2403-  echo "$as_me:$LINENO: result: $CXX" >&5
2404-echo "${ECHO_T}$CXX" >&6
2405-else
2406-  echo "$as_me:$LINENO: result: no" >&5
2407-echo "${ECHO_T}no" >&6
2408-fi
2409-
2410-    test -n "$CXX" && break
2411-  done
2412-fi
2413-if test -z "$CXX"; then
2414-  ac_ct_CXX=$CXX
2415-  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2416-do
2417-  # Extract the first word of "$ac_prog", so it can be a program name with args.
2418-set dummy $ac_prog; ac_word=$2
2419-echo "$as_me:$LINENO: checking for $ac_word" >&5
2420-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2421-if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2422-  echo $ECHO_N "(cached) $ECHO_C" >&6
2423-else
2424-  if test -n "$ac_ct_CXX"; then
2425-  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2426-else
2427-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2428-for as_dir in $PATH
2429-do
2430-  IFS=$as_save_IFS
2431-  test -z "$as_dir" && as_dir=.
2432-  for ac_exec_ext in '' $ac_executable_extensions; do
2433-  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2434-    ac_cv_prog_ac_ct_CXX="$ac_prog"
2435-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2436-    break 2
2437-  fi
2438-done
2439-done
2440-
2441-fi
2442-fi
2443-ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2444-if test -n "$ac_ct_CXX"; then
2445-  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2446-echo "${ECHO_T}$ac_ct_CXX" >&6
2447-else
2448-  echo "$as_me:$LINENO: result: no" >&5
2449-echo "${ECHO_T}no" >&6
2450-fi
2451-
2452-  test -n "$ac_ct_CXX" && break
2453-done
2454-test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2455-
2456-  CXX=$ac_ct_CXX
2457-fi
2458-
2459-
2460-# Provide some information about the compiler.
2461-echo "$as_me:$LINENO:" \
2462-     "checking for C++ compiler version" >&5
2463-ac_compiler=`set X $ac_compile; echo $2`
2464-{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2465-  (eval $ac_compiler --version </dev/null >&5) 2>&5
2466-  ac_status=$?
2467-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2468-  (exit $ac_status); }
2469-{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2470-  (eval $ac_compiler -v </dev/null >&5) 2>&5
2471-  ac_status=$?
2472-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2473-  (exit $ac_status); }
2474-{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2475-  (eval $ac_compiler -V </dev/null >&5) 2>&5
2476-  ac_status=$?
2477-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2478-  (exit $ac_status); }
2479-
2480-cat >conftest.$ac_ext <<_ACEOF
2481-/* confdefs.h.  */
2482-_ACEOF
2483-cat confdefs.h >>conftest.$ac_ext
2484-cat >>conftest.$ac_ext <<_ACEOF
2485-/* end confdefs.h.  */
2486-
2487-int
2488-main ()
2489-{
2490-
2491-  ;
2492-  return 0;
2493-}
2494-_ACEOF
2495-ac_clean_files_save=$ac_clean_files
2496-ac_clean_files="$ac_clean_files a.out a.exe b.out"
2497-# Try to create an executable without -o first, disregard a.out.
2498-# It will help us diagnose broken compilers, and finding out an intuition
2499-# of exeext.
2500-echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
2501-echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6
2502-ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2503-if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2504-  (eval $ac_link_default) 2>&5
2505-  ac_status=$?
2506-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2507-  (exit $ac_status); }; then
2508-  # Find the output, starting from the most likely.  This scheme is
2509-# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2510-# resort.
2511-
2512-# Be careful to initialize this variable, since it used to be cached.
2513-# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2514-ac_cv_exeext=
2515-# b.out is created by i960 compilers.
2516-for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2517-do
2518-  test -f "$ac_file" || continue
2519-  case $ac_file in
2520-    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2521-	;;
2522-    conftest.$ac_ext )
2523-	# This is the source file.
2524-	;;
2525-    [ab].out )
2526-	# We found the default executable, but exeext='' is most
2527-	# certainly right.
2528-	break;;
2529-    *.* )
2530-	ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2531-	# FIXME: I believe we export ac_cv_exeext for Libtool,
2532-	# but it would be cool to find out if it's true.  Does anybody
2533-	# maintain Libtool? --akim.
2534-	export ac_cv_exeext
2535-	break;;
2536-    * )
2537-	break;;
2538-  esac
2539-done
2540-else
2541-  echo "$as_me: failed program was:" >&5
2542-sed 's/^/| /' conftest.$ac_ext >&5
2543-
2544-{ { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2545-See \`config.log' for more details." >&5
2546-echo "$as_me: error: C++ compiler cannot create executables
2547-See \`config.log' for more details." >&2;}
2548-   { (exit 77); exit 77; }; }
2549-fi
2550-
2551-ac_exeext=$ac_cv_exeext
2552-echo "$as_me:$LINENO: result: $ac_file" >&5
2553-echo "${ECHO_T}$ac_file" >&6
2554-
2555-# Check the compiler produces executables we can run.  If not, either
2556-# the compiler is broken, or we cross compile.
2557-echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2558-echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
2559-# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2560-# If not cross compiling, check that we can run a simple program.
2561-if test "$cross_compiling" != yes; then
2562-  if { ac_try='./$ac_file'
2563-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2564-  (eval $ac_try) 2>&5
2565-  ac_status=$?
2566-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2567-  (exit $ac_status); }; }; then
2568-    cross_compiling=no
2569-  else
2570-    if test "$cross_compiling" = maybe; then
2571-	cross_compiling=yes
2572-    else
2573-	{ { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2574-If you meant to cross compile, use \`--host'.
2575-See \`config.log' for more details." >&5
2576-echo "$as_me: error: cannot run C++ compiled programs.
2577-If you meant to cross compile, use \`--host'.
2578-See \`config.log' for more details." >&2;}
2579-   { (exit 1); exit 1; }; }
2580-    fi
2581-  fi
2582-fi
2583-echo "$as_me:$LINENO: result: yes" >&5
2584-echo "${ECHO_T}yes" >&6
2585-
2586-rm -f a.out a.exe conftest$ac_cv_exeext b.out
2587-ac_clean_files=$ac_clean_files_save
2588-# Check the compiler produces executables we can run.  If not, either
2589-# the compiler is broken, or we cross compile.
2590-echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2591-echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2592-echo "$as_me:$LINENO: result: $cross_compiling" >&5
2593-echo "${ECHO_T}$cross_compiling" >&6
2594-
2595-echo "$as_me:$LINENO: checking for suffix of executables" >&5
2596-echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2597-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2598-  (eval $ac_link) 2>&5
2599-  ac_status=$?
2600-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2601-  (exit $ac_status); }; then
2602-  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2603-# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2604-# work properly (i.e., refer to `conftest.exe'), while it won't with
2605-# `rm'.
2606-for ac_file in conftest.exe conftest conftest.*; do
2607-  test -f "$ac_file" || continue
2608-  case $ac_file in
2609-    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2610-    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2611-	  export ac_cv_exeext
2612-	  break;;
2613-    * ) break;;
2614-  esac
2615-done
2616-else
2617-  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2618-See \`config.log' for more details." >&5
2619-echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2620-See \`config.log' for more details." >&2;}
2621-   { (exit 1); exit 1; }; }
2622-fi
2623-
2624-rm -f conftest$ac_cv_exeext
2625-echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2626-echo "${ECHO_T}$ac_cv_exeext" >&6
2627-
2628-rm -f conftest.$ac_ext
2629-EXEEXT=$ac_cv_exeext
2630-ac_exeext=$EXEEXT
2631-echo "$as_me:$LINENO: checking for suffix of object files" >&5
2632-echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2633-if test "${ac_cv_objext+set}" = set; then
2634-  echo $ECHO_N "(cached) $ECHO_C" >&6
2635-else
2636-  cat >conftest.$ac_ext <<_ACEOF
2637-/* confdefs.h.  */
2638-_ACEOF
2639-cat confdefs.h >>conftest.$ac_ext
2640-cat >>conftest.$ac_ext <<_ACEOF
2641-/* end confdefs.h.  */
2642-
2643-int
2644-main ()
2645-{
2646-
2647-  ;
2648-  return 0;
2649-}
2650-_ACEOF
2651-rm -f conftest.o conftest.obj
2652-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2653-  (eval $ac_compile) 2>&5
2654-  ac_status=$?
2655-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2656-  (exit $ac_status); }; then
2657-  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2658-  case $ac_file in
2659-    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2660-    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2661-       break;;
2662-  esac
2663-done
2664-else
2665-  echo "$as_me: failed program was:" >&5
2666-sed 's/^/| /' conftest.$ac_ext >&5
2667-
2668-{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2669-See \`config.log' for more details." >&5
2670-echo "$as_me: error: cannot compute suffix of object files: cannot compile
2671-See \`config.log' for more details." >&2;}
2672-   { (exit 1); exit 1; }; }
2673-fi
2674-
2675-rm -f conftest.$ac_cv_objext conftest.$ac_ext
2676-fi
2677-echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2678-echo "${ECHO_T}$ac_cv_objext" >&6
2679-OBJEXT=$ac_cv_objext
2680-ac_objext=$OBJEXT
2681-echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2682-echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2683-if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2684-  echo $ECHO_N "(cached) $ECHO_C" >&6
2685-else
2686-  cat >conftest.$ac_ext <<_ACEOF
2687-/* confdefs.h.  */
2688-_ACEOF
2689-cat confdefs.h >>conftest.$ac_ext
2690-cat >>conftest.$ac_ext <<_ACEOF
2691-/* end confdefs.h.  */
2692-
2693-int
2694-main ()
2695-{
2696-#ifndef __GNUC__
2697-       choke me
2698-#endif
2699-
2700-  ;
2701-  return 0;
2702-}
2703-_ACEOF
2704-rm -f conftest.$ac_objext
2705-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2706-  (eval $ac_compile) 2>conftest.er1
2707-  ac_status=$?
2708-  grep -v '^ *+' conftest.er1 >conftest.err
2709-  rm -f conftest.er1
2710-  cat conftest.err >&5
2711-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2712-  (exit $ac_status); } &&
2713-	 { ac_try='test -z "$ac_cxx_werror_flag"
2714-			 || test ! -s conftest.err'
2715-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2716-  (eval $ac_try) 2>&5
2717-  ac_status=$?
2718-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2719-  (exit $ac_status); }; } &&
2720-	 { ac_try='test -s conftest.$ac_objext'
2721-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2722-  (eval $ac_try) 2>&5
2723-  ac_status=$?
2724-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2725-  (exit $ac_status); }; }; then
2726-  ac_compiler_gnu=yes
2727-else
2728-  echo "$as_me: failed program was:" >&5
2729-sed 's/^/| /' conftest.$ac_ext >&5
2730-
2731-ac_compiler_gnu=no
2732-fi
2733-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2734-ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2735-
2736-fi
2737-echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2738-echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2739-GXX=`test $ac_compiler_gnu = yes && echo yes`
2740-ac_test_CXXFLAGS=${CXXFLAGS+set}
2741-ac_save_CXXFLAGS=$CXXFLAGS
2742-CXXFLAGS="-g"
2743-echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2744-echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2745-if test "${ac_cv_prog_cxx_g+set}" = set; then
2746-  echo $ECHO_N "(cached) $ECHO_C" >&6
2747-else
2748-  cat >conftest.$ac_ext <<_ACEOF
2749-/* confdefs.h.  */
2750-_ACEOF
2751-cat confdefs.h >>conftest.$ac_ext
2752-cat >>conftest.$ac_ext <<_ACEOF
2753-/* end confdefs.h.  */
2754-
2755-int
2756-main ()
2757-{
2758-
2759-  ;
2760-  return 0;
2761-}
2762-_ACEOF
2763-rm -f conftest.$ac_objext
2764-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2765-  (eval $ac_compile) 2>conftest.er1
2766-  ac_status=$?
2767-  grep -v '^ *+' conftest.er1 >conftest.err
2768-  rm -f conftest.er1
2769-  cat conftest.err >&5
2770-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2771-  (exit $ac_status); } &&
2772-	 { ac_try='test -z "$ac_cxx_werror_flag"
2773-			 || test ! -s conftest.err'
2774-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2775-  (eval $ac_try) 2>&5
2776-  ac_status=$?
2777-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2778-  (exit $ac_status); }; } &&
2779-	 { ac_try='test -s conftest.$ac_objext'
2780-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2781-  (eval $ac_try) 2>&5
2782-  ac_status=$?
2783-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2784-  (exit $ac_status); }; }; then
2785-  ac_cv_prog_cxx_g=yes
2786-else
2787-  echo "$as_me: failed program was:" >&5
2788-sed 's/^/| /' conftest.$ac_ext >&5
2789-
2790-ac_cv_prog_cxx_g=no
2791-fi
2792-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2793-fi
2794-echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2795-echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2796-if test "$ac_test_CXXFLAGS" = set; then
2797-  CXXFLAGS=$ac_save_CXXFLAGS
2798-elif test $ac_cv_prog_cxx_g = yes; then
2799-  if test "$GXX" = yes; then
2800-    CXXFLAGS="-g -O2"
2801-  else
2802-    CXXFLAGS="-g"
2803-  fi
2804-else
2805-  if test "$GXX" = yes; then
2806-    CXXFLAGS="-O2"
2807-  else
2808-    CXXFLAGS=
2809-  fi
2810-fi
2811-for ac_declaration in \
2812-   '' \
2813-   'extern "C" void std::exit (int) throw (); using std::exit;' \
2814-   'extern "C" void std::exit (int); using std::exit;' \
2815-   'extern "C" void exit (int) throw ();' \
2816-   'extern "C" void exit (int);' \
2817-   'void exit (int);'
2818-do
2819-  cat >conftest.$ac_ext <<_ACEOF
2820-/* confdefs.h.  */
2821-_ACEOF
2822-cat confdefs.h >>conftest.$ac_ext
2823-cat >>conftest.$ac_ext <<_ACEOF
2824-/* end confdefs.h.  */
2825-$ac_declaration
2826-@%:@include <stdlib.h>
2827-int
2828-main ()
2829-{
2830-exit (42);
2831-  ;
2832-  return 0;
2833-}
2834-_ACEOF
2835-rm -f conftest.$ac_objext
2836-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2837-  (eval $ac_compile) 2>conftest.er1
2838-  ac_status=$?
2839-  grep -v '^ *+' conftest.er1 >conftest.err
2840-  rm -f conftest.er1
2841-  cat conftest.err >&5
2842-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2843-  (exit $ac_status); } &&
2844-	 { ac_try='test -z "$ac_cxx_werror_flag"
2845-			 || test ! -s conftest.err'
2846-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2847-  (eval $ac_try) 2>&5
2848-  ac_status=$?
2849-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2850-  (exit $ac_status); }; } &&
2851-	 { ac_try='test -s conftest.$ac_objext'
2852-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2853-  (eval $ac_try) 2>&5
2854-  ac_status=$?
2855-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2856-  (exit $ac_status); }; }; then
2857-  :
2858-else
2859-  echo "$as_me: failed program was:" >&5
2860-sed 's/^/| /' conftest.$ac_ext >&5
2861-
2862-continue
2863-fi
2864-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2865-  cat >conftest.$ac_ext <<_ACEOF
2866-/* confdefs.h.  */
2867-_ACEOF
2868-cat confdefs.h >>conftest.$ac_ext
2869-cat >>conftest.$ac_ext <<_ACEOF
2870-/* end confdefs.h.  */
2871-$ac_declaration
2872-int
2873-main ()
2874-{
2875-exit (42);
2876-  ;
2877-  return 0;
2878-}
2879-_ACEOF
2880-rm -f conftest.$ac_objext
2881-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2882-  (eval $ac_compile) 2>conftest.er1
2883-  ac_status=$?
2884-  grep -v '^ *+' conftest.er1 >conftest.err
2885-  rm -f conftest.er1
2886-  cat conftest.err >&5
2887-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2888-  (exit $ac_status); } &&
2889-	 { ac_try='test -z "$ac_cxx_werror_flag"
2890-			 || test ! -s conftest.err'
2891-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2892-  (eval $ac_try) 2>&5
2893-  ac_status=$?
2894-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2895-  (exit $ac_status); }; } &&
2896-	 { ac_try='test -s conftest.$ac_objext'
2897-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2898-  (eval $ac_try) 2>&5
2899-  ac_status=$?
2900-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2901-  (exit $ac_status); }; }; then
2902-  break
2903-else
2904-  echo "$as_me: failed program was:" >&5
2905-sed 's/^/| /' conftest.$ac_ext >&5
2906-
2907-fi
2908-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2909-done
2910-rm -f conftest*
2911-if test -n "$ac_declaration"; then
2912-  echo '#ifdef __cplusplus' >>confdefs.h
2913-  echo $ac_declaration      >>confdefs.h
2914-  echo '#endif'             >>confdefs.h
2915-fi
2916-
2917-ac_ext=c
2918-ac_cpp='$CPP $CPPFLAGS'
2919-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2920-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2921-ac_compiler_gnu=$ac_cv_c_compiler_gnu
2922-
2923-ac_ext=c
2924-ac_cpp='$CPP $CPPFLAGS'
2925-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2926-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2927-ac_compiler_gnu=$ac_cv_c_compiler_gnu
2928-if test -n "$ac_tool_prefix"; then
2929-  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2930-set dummy ${ac_tool_prefix}gcc; ac_word=$2
2931-echo "$as_me:$LINENO: checking for $ac_word" >&5
2932-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2933-if test "${ac_cv_prog_CC+set}" = set; then
2934-  echo $ECHO_N "(cached) $ECHO_C" >&6
2935-else
2936-  if test -n "$CC"; then
2937-  ac_cv_prog_CC="$CC" # Let the user override the test.
2938-else
2939-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2940-for as_dir in $PATH
2941-do
2942-  IFS=$as_save_IFS
2943-  test -z "$as_dir" && as_dir=.
2944-  for ac_exec_ext in '' $ac_executable_extensions; do
2945-  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2946-    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2947-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2948-    break 2
2949-  fi
2950-done
2951-done
2952-
2953-fi
2954-fi
2955-CC=$ac_cv_prog_CC
2956-if test -n "$CC"; then
2957-  echo "$as_me:$LINENO: result: $CC" >&5
2958-echo "${ECHO_T}$CC" >&6
2959-else
2960-  echo "$as_me:$LINENO: result: no" >&5
2961-echo "${ECHO_T}no" >&6
2962-fi
2963-
2964-fi
2965-if test -z "$ac_cv_prog_CC"; then
2966-  ac_ct_CC=$CC
2967-  # Extract the first word of "gcc", so it can be a program name with args.
2968-set dummy gcc; ac_word=$2
2969-echo "$as_me:$LINENO: checking for $ac_word" >&5
2970-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2971-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2972-  echo $ECHO_N "(cached) $ECHO_C" >&6
2973-else
2974-  if test -n "$ac_ct_CC"; then
2975-  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2976-else
2977-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2978-for as_dir in $PATH
2979-do
2980-  IFS=$as_save_IFS
2981-  test -z "$as_dir" && as_dir=.
2982-  for ac_exec_ext in '' $ac_executable_extensions; do
2983-  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2984-    ac_cv_prog_ac_ct_CC="gcc"
2985-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2986-    break 2
2987-  fi
2988-done
2989-done
2990-
2991-fi
2992-fi
2993-ac_ct_CC=$ac_cv_prog_ac_ct_CC
2994-if test -n "$ac_ct_CC"; then
2995-  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2996-echo "${ECHO_T}$ac_ct_CC" >&6
2997-else
2998-  echo "$as_me:$LINENO: result: no" >&5
2999-echo "${ECHO_T}no" >&6
3000-fi
3001-
3002-  CC=$ac_ct_CC
3003-else
3004-  CC="$ac_cv_prog_CC"
3005-fi
3006-
3007-if test -z "$CC"; then
3008-  if test -n "$ac_tool_prefix"; then
3009-  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3010-set dummy ${ac_tool_prefix}cc; ac_word=$2
3011-echo "$as_me:$LINENO: checking for $ac_word" >&5
3012-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3013-if test "${ac_cv_prog_CC+set}" = set; then
3014-  echo $ECHO_N "(cached) $ECHO_C" >&6
3015-else
3016-  if test -n "$CC"; then
3017-  ac_cv_prog_CC="$CC" # Let the user override the test.
3018-else
3019-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3020-for as_dir in $PATH
3021-do
3022-  IFS=$as_save_IFS
3023-  test -z "$as_dir" && as_dir=.
3024-  for ac_exec_ext in '' $ac_executable_extensions; do
3025-  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3026-    ac_cv_prog_CC="${ac_tool_prefix}cc"
3027-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3028-    break 2
3029-  fi
3030-done
3031-done
3032-
3033-fi
3034-fi
3035-CC=$ac_cv_prog_CC
3036-if test -n "$CC"; then
3037-  echo "$as_me:$LINENO: result: $CC" >&5
3038-echo "${ECHO_T}$CC" >&6
3039-else
3040-  echo "$as_me:$LINENO: result: no" >&5
3041-echo "${ECHO_T}no" >&6
3042-fi
3043-
3044-fi
3045-if test -z "$ac_cv_prog_CC"; then
3046-  ac_ct_CC=$CC
3047-  # Extract the first word of "cc", so it can be a program name with args.
3048-set dummy cc; ac_word=$2
3049-echo "$as_me:$LINENO: checking for $ac_word" >&5
3050-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3051-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3052-  echo $ECHO_N "(cached) $ECHO_C" >&6
3053-else
3054-  if test -n "$ac_ct_CC"; then
3055-  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3056-else
3057-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3058-for as_dir in $PATH
3059-do
3060-  IFS=$as_save_IFS
3061-  test -z "$as_dir" && as_dir=.
3062-  for ac_exec_ext in '' $ac_executable_extensions; do
3063-  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3064-    ac_cv_prog_ac_ct_CC="cc"
3065-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3066-    break 2
3067-  fi
3068-done
3069-done
3070-
3071-fi
3072-fi
3073-ac_ct_CC=$ac_cv_prog_ac_ct_CC
3074-if test -n "$ac_ct_CC"; then
3075-  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3076-echo "${ECHO_T}$ac_ct_CC" >&6
3077-else
3078-  echo "$as_me:$LINENO: result: no" >&5
3079-echo "${ECHO_T}no" >&6
3080-fi
3081-
3082-  CC=$ac_ct_CC
3083-else
3084-  CC="$ac_cv_prog_CC"
3085-fi
3086-
3087-fi
3088-if test -z "$CC"; then
3089-  # Extract the first word of "cc", so it can be a program name with args.
3090-set dummy cc; ac_word=$2
3091-echo "$as_me:$LINENO: checking for $ac_word" >&5
3092-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3093-if test "${ac_cv_prog_CC+set}" = set; then
3094-  echo $ECHO_N "(cached) $ECHO_C" >&6
3095-else
3096-  if test -n "$CC"; then
3097-  ac_cv_prog_CC="$CC" # Let the user override the test.
3098-else
3099-  ac_prog_rejected=no
3100-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3101-for as_dir in $PATH
3102-do
3103-  IFS=$as_save_IFS
3104-  test -z "$as_dir" && as_dir=.
3105-  for ac_exec_ext in '' $ac_executable_extensions; do
3106-  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3107-    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3108-       ac_prog_rejected=yes
3109-       continue
3110-     fi
3111-    ac_cv_prog_CC="cc"
3112-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3113-    break 2
3114-  fi
3115-done
3116-done
3117-
3118-if test $ac_prog_rejected = yes; then
3119-  # We found a bogon in the path, so make sure we never use it.
3120-  set dummy $ac_cv_prog_CC
3121-  shift
3122-  if test $@%:@ != 0; then
3123-    # We chose a different compiler from the bogus one.
3124-    # However, it has the same basename, so the bogon will be chosen
3125-    # first if we set CC to just the basename; use the full file name.
3126-    shift
3127-    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3128-  fi
3129-fi
3130-fi
3131-fi
3132-CC=$ac_cv_prog_CC
3133-if test -n "$CC"; then
3134-  echo "$as_me:$LINENO: result: $CC" >&5
3135-echo "${ECHO_T}$CC" >&6
3136-else
3137-  echo "$as_me:$LINENO: result: no" >&5
3138-echo "${ECHO_T}no" >&6
3139-fi
3140-
3141-fi
3142-if test -z "$CC"; then
3143-  if test -n "$ac_tool_prefix"; then
3144-  for ac_prog in cl
3145-  do
3146-    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3147-set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3148-echo "$as_me:$LINENO: checking for $ac_word" >&5
3149-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3150-if test "${ac_cv_prog_CC+set}" = set; then
3151-  echo $ECHO_N "(cached) $ECHO_C" >&6
3152-else
3153-  if test -n "$CC"; then
3154-  ac_cv_prog_CC="$CC" # Let the user override the test.
3155-else
3156-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3157-for as_dir in $PATH
3158-do
3159-  IFS=$as_save_IFS
3160-  test -z "$as_dir" && as_dir=.
3161-  for ac_exec_ext in '' $ac_executable_extensions; do
3162-  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3163-    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3164-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3165-    break 2
3166-  fi
3167-done
3168-done
3169-
3170-fi
3171-fi
3172-CC=$ac_cv_prog_CC
3173-if test -n "$CC"; then
3174-  echo "$as_me:$LINENO: result: $CC" >&5
3175-echo "${ECHO_T}$CC" >&6
3176-else
3177-  echo "$as_me:$LINENO: result: no" >&5
3178-echo "${ECHO_T}no" >&6
3179-fi
3180-
3181-    test -n "$CC" && break
3182-  done
3183-fi
3184-if test -z "$CC"; then
3185-  ac_ct_CC=$CC
3186-  for ac_prog in cl
3187-do
3188-  # Extract the first word of "$ac_prog", so it can be a program name with args.
3189-set dummy $ac_prog; ac_word=$2
3190-echo "$as_me:$LINENO: checking for $ac_word" >&5
3191-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3192-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3193-  echo $ECHO_N "(cached) $ECHO_C" >&6
3194-else
3195-  if test -n "$ac_ct_CC"; then
3196-  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3197-else
3198-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3199-for as_dir in $PATH
3200-do
3201-  IFS=$as_save_IFS
3202-  test -z "$as_dir" && as_dir=.
3203-  for ac_exec_ext in '' $ac_executable_extensions; do
3204-  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3205-    ac_cv_prog_ac_ct_CC="$ac_prog"
3206-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3207-    break 2
3208-  fi
3209-done
3210-done
3211-
3212-fi
3213-fi
3214-ac_ct_CC=$ac_cv_prog_ac_ct_CC
3215-if test -n "$ac_ct_CC"; then
3216-  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3217-echo "${ECHO_T}$ac_ct_CC" >&6
3218-else
3219-  echo "$as_me:$LINENO: result: no" >&5
3220-echo "${ECHO_T}no" >&6
3221-fi
3222-
3223-  test -n "$ac_ct_CC" && break
3224-done
3225-
3226-  CC=$ac_ct_CC
3227-fi
3228-
3229-fi
3230-
3231-
3232-test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3233-See \`config.log' for more details." >&5
3234-echo "$as_me: error: no acceptable C compiler found in \$PATH
3235-See \`config.log' for more details." >&2;}
3236-   { (exit 1); exit 1; }; }
3237-
3238-# Provide some information about the compiler.
3239-echo "$as_me:$LINENO:" \
3240-     "checking for C compiler version" >&5
3241-ac_compiler=`set X $ac_compile; echo $2`
3242-{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3243-  (eval $ac_compiler --version </dev/null >&5) 2>&5
3244-  ac_status=$?
3245-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3246-  (exit $ac_status); }
3247-{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3248-  (eval $ac_compiler -v </dev/null >&5) 2>&5
3249-  ac_status=$?
3250-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3251-  (exit $ac_status); }
3252-{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3253-  (eval $ac_compiler -V </dev/null >&5) 2>&5
3254-  ac_status=$?
3255-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3256-  (exit $ac_status); }
3257-
3258-echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3259-echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3260-if test "${ac_cv_c_compiler_gnu+set}" = set; then
3261-  echo $ECHO_N "(cached) $ECHO_C" >&6
3262-else
3263-  cat >conftest.$ac_ext <<_ACEOF
3264-/* confdefs.h.  */
3265-_ACEOF
3266-cat confdefs.h >>conftest.$ac_ext
3267-cat >>conftest.$ac_ext <<_ACEOF
3268-/* end confdefs.h.  */
3269-
3270-int
3271-main ()
3272-{
3273-#ifndef __GNUC__
3274-       choke me
3275-#endif
3276-
3277-  ;
3278-  return 0;
3279-}
3280-_ACEOF
3281-rm -f conftest.$ac_objext
3282-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3283-  (eval $ac_compile) 2>conftest.er1
3284-  ac_status=$?
3285-  grep -v '^ *+' conftest.er1 >conftest.err
3286-  rm -f conftest.er1
3287-  cat conftest.err >&5
3288-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3289-  (exit $ac_status); } &&
3290-	 { ac_try='test -z "$ac_c_werror_flag"
3291-			 || test ! -s conftest.err'
3292-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3293-  (eval $ac_try) 2>&5
3294-  ac_status=$?
3295-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3296-  (exit $ac_status); }; } &&
3297-	 { ac_try='test -s conftest.$ac_objext'
3298-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3299-  (eval $ac_try) 2>&5
3300-  ac_status=$?
3301-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3302-  (exit $ac_status); }; }; then
3303-  ac_compiler_gnu=yes
3304-else
3305-  echo "$as_me: failed program was:" >&5
3306-sed 's/^/| /' conftest.$ac_ext >&5
3307-
3308-ac_compiler_gnu=no
3309-fi
3310-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3311-ac_cv_c_compiler_gnu=$ac_compiler_gnu
3312-
3313-fi
3314-echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3315-echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3316-GCC=`test $ac_compiler_gnu = yes && echo yes`
3317-ac_test_CFLAGS=${CFLAGS+set}
3318-ac_save_CFLAGS=$CFLAGS
3319-CFLAGS="-g"
3320-echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3321-echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3322-if test "${ac_cv_prog_cc_g+set}" = set; then
3323-  echo $ECHO_N "(cached) $ECHO_C" >&6
3324-else
3325-  cat >conftest.$ac_ext <<_ACEOF
3326-/* confdefs.h.  */
3327-_ACEOF
3328-cat confdefs.h >>conftest.$ac_ext
3329-cat >>conftest.$ac_ext <<_ACEOF
3330-/* end confdefs.h.  */
3331-
3332-int
3333-main ()
3334-{
3335-
3336-  ;
3337-  return 0;
3338-}
3339-_ACEOF
3340-rm -f conftest.$ac_objext
3341-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3342-  (eval $ac_compile) 2>conftest.er1
3343-  ac_status=$?
3344-  grep -v '^ *+' conftest.er1 >conftest.err
3345-  rm -f conftest.er1
3346-  cat conftest.err >&5
3347-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3348-  (exit $ac_status); } &&
3349-	 { ac_try='test -z "$ac_c_werror_flag"
3350-			 || test ! -s conftest.err'
3351-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3352-  (eval $ac_try) 2>&5
3353-  ac_status=$?
3354-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3355-  (exit $ac_status); }; } &&
3356-	 { ac_try='test -s conftest.$ac_objext'
3357-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3358-  (eval $ac_try) 2>&5
3359-  ac_status=$?
3360-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3361-  (exit $ac_status); }; }; then
3362-  ac_cv_prog_cc_g=yes
3363-else
3364-  echo "$as_me: failed program was:" >&5
3365-sed 's/^/| /' conftest.$ac_ext >&5
3366-
3367-ac_cv_prog_cc_g=no
3368-fi
3369-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3370-fi
3371-echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3372-echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3373-if test "$ac_test_CFLAGS" = set; then
3374-  CFLAGS=$ac_save_CFLAGS
3375-elif test $ac_cv_prog_cc_g = yes; then
3376-  if test "$GCC" = yes; then
3377-    CFLAGS="-g -O2"
3378-  else
3379-    CFLAGS="-g"
3380-  fi
3381-else
3382-  if test "$GCC" = yes; then
3383-    CFLAGS="-O2"
3384-  else
3385-    CFLAGS=
3386-  fi
3387-fi
3388-echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3389-echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3390-if test "${ac_cv_prog_cc_stdc+set}" = set; then
3391-  echo $ECHO_N "(cached) $ECHO_C" >&6
3392-else
3393-  ac_cv_prog_cc_stdc=no
3394-ac_save_CC=$CC
3395-cat >conftest.$ac_ext <<_ACEOF
3396-/* confdefs.h.  */
3397-_ACEOF
3398-cat confdefs.h >>conftest.$ac_ext
3399-cat >>conftest.$ac_ext <<_ACEOF
3400-/* end confdefs.h.  */
3401-#include <stdarg.h>
3402-#include <stdio.h>
3403-#include <sys/types.h>
3404-#include <sys/stat.h>
3405-/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3406-struct buf { int x; };
3407-FILE * (*rcsopen) (struct buf *, struct stat *, int);
3408-static char *e (p, i)
3409-     char **p;
3410-     int i;
3411-{
3412-  return p[i];
3413-}
3414-static char *f (char * (*g) (char **, int), char **p, ...)
3415-{
3416-  char *s;
3417-  va_list v;
3418-  va_start (v,p);
3419-  s = g (p, va_arg (v,int));
3420-  va_end (v);
3421-  return s;
3422-}
3423-
3424-/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3425-   function prototypes and stuff, but not '\xHH' hex character constants.
3426-   These don't provoke an error unfortunately, instead are silently treated
3427-   as 'x'.  The following induces an error, until -std1 is added to get
3428-   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3429-   array size at least.  It's necessary to write '\x00'==0 to get something
3430-   that's true only with -std1.  */
3431-int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3432-
3433-int test (int i, double x);
3434-struct s1 {int (*f) (int a);};
3435-struct s2 {int (*f) (double a);};
3436-int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3437-int argc;
3438-char **argv;
3439-int
3440-main ()
3441-{
3442-return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3443-  ;
3444-  return 0;
3445-}
3446-_ACEOF
3447-# Don't try gcc -ansi; that turns off useful extensions and
3448-# breaks some systems' header files.
3449-# AIX			-qlanglvl=ansi
3450-# Ultrix and OSF/1	-std1
3451-# HP-UX 10.20 and later	-Ae
3452-# HP-UX older versions	-Aa -D_HPUX_SOURCE
3453-# SVR4			-Xc -D__EXTENSIONS__
3454-for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3455-do
3456-  CC="$ac_save_CC $ac_arg"
3457-  rm -f conftest.$ac_objext
3458-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3459-  (eval $ac_compile) 2>conftest.er1
3460-  ac_status=$?
3461-  grep -v '^ *+' conftest.er1 >conftest.err
3462-  rm -f conftest.er1
3463-  cat conftest.err >&5
3464-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3465-  (exit $ac_status); } &&
3466-	 { ac_try='test -z "$ac_c_werror_flag"
3467-			 || test ! -s conftest.err'
3468-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3469-  (eval $ac_try) 2>&5
3470-  ac_status=$?
3471-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3472-  (exit $ac_status); }; } &&
3473-	 { ac_try='test -s conftest.$ac_objext'
3474-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3475-  (eval $ac_try) 2>&5
3476-  ac_status=$?
3477-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3478-  (exit $ac_status); }; }; then
3479-  ac_cv_prog_cc_stdc=$ac_arg
3480-break
3481-else
3482-  echo "$as_me: failed program was:" >&5
3483-sed 's/^/| /' conftest.$ac_ext >&5
3484-
3485-fi
3486-rm -f conftest.err conftest.$ac_objext
3487-done
3488-rm -f conftest.$ac_ext conftest.$ac_objext
3489-CC=$ac_save_CC
3490-
3491-fi
3492-
3493-case "x$ac_cv_prog_cc_stdc" in
3494-  x|xno)
3495-    echo "$as_me:$LINENO: result: none needed" >&5
3496-echo "${ECHO_T}none needed" >&6 ;;
3497-  *)
3498-    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3499-echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3500-    CC="$CC $ac_cv_prog_cc_stdc" ;;
3501-esac
3502-
3503-# Some people use a C++ compiler to compile C.  Since we use `exit',
3504-# in C++ we need to declare it.  In case someone uses the same compiler
3505-# for both compiling C and C++ we need to have the C++ compiler decide
3506-# the declaration of exit, since it's the most demanding environment.
3507-cat >conftest.$ac_ext <<_ACEOF
3508-@%:@ifndef __cplusplus
3509-  choke me
3510-@%:@endif
3511-_ACEOF
3512-rm -f conftest.$ac_objext
3513-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3514-  (eval $ac_compile) 2>conftest.er1
3515-  ac_status=$?
3516-  grep -v '^ *+' conftest.er1 >conftest.err
3517-  rm -f conftest.er1
3518-  cat conftest.err >&5
3519-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3520-  (exit $ac_status); } &&
3521-	 { ac_try='test -z "$ac_c_werror_flag"
3522-			 || test ! -s conftest.err'
3523-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3524-  (eval $ac_try) 2>&5
3525-  ac_status=$?
3526-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3527-  (exit $ac_status); }; } &&
3528-	 { ac_try='test -s conftest.$ac_objext'
3529-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3530-  (eval $ac_try) 2>&5
3531-  ac_status=$?
3532-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3533-  (exit $ac_status); }; }; then
3534-  for ac_declaration in \
3535-   '' \
3536-   'extern "C" void std::exit (int) throw (); using std::exit;' \
3537-   'extern "C" void std::exit (int); using std::exit;' \
3538-   'extern "C" void exit (int) throw ();' \
3539-   'extern "C" void exit (int);' \
3540-   'void exit (int);'
3541-do
3542-  cat >conftest.$ac_ext <<_ACEOF
3543-/* confdefs.h.  */
3544-_ACEOF
3545-cat confdefs.h >>conftest.$ac_ext
3546-cat >>conftest.$ac_ext <<_ACEOF
3547-/* end confdefs.h.  */
3548-$ac_declaration
3549-@%:@include <stdlib.h>
3550-int
3551-main ()
3552-{
3553-exit (42);
3554-  ;
3555-  return 0;
3556-}
3557-_ACEOF
3558-rm -f conftest.$ac_objext
3559-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3560-  (eval $ac_compile) 2>conftest.er1
3561-  ac_status=$?
3562-  grep -v '^ *+' conftest.er1 >conftest.err
3563-  rm -f conftest.er1
3564-  cat conftest.err >&5
3565-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3566-  (exit $ac_status); } &&
3567-	 { ac_try='test -z "$ac_c_werror_flag"
3568-			 || test ! -s conftest.err'
3569-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3570-  (eval $ac_try) 2>&5
3571-  ac_status=$?
3572-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3573-  (exit $ac_status); }; } &&
3574-	 { ac_try='test -s conftest.$ac_objext'
3575-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3576-  (eval $ac_try) 2>&5
3577-  ac_status=$?
3578-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3579-  (exit $ac_status); }; }; then
3580-  :
3581-else
3582-  echo "$as_me: failed program was:" >&5
3583-sed 's/^/| /' conftest.$ac_ext >&5
3584-
3585-continue
3586-fi
3587-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3588-  cat >conftest.$ac_ext <<_ACEOF
3589-/* confdefs.h.  */
3590-_ACEOF
3591-cat confdefs.h >>conftest.$ac_ext
3592-cat >>conftest.$ac_ext <<_ACEOF
3593-/* end confdefs.h.  */
3594-$ac_declaration
3595-int
3596-main ()
3597-{
3598-exit (42);
3599-  ;
3600-  return 0;
3601-}
3602-_ACEOF
3603-rm -f conftest.$ac_objext
3604-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3605-  (eval $ac_compile) 2>conftest.er1
3606-  ac_status=$?
3607-  grep -v '^ *+' conftest.er1 >conftest.err
3608-  rm -f conftest.er1
3609-  cat conftest.err >&5
3610-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3611-  (exit $ac_status); } &&
3612-	 { ac_try='test -z "$ac_c_werror_flag"
3613-			 || test ! -s conftest.err'
3614-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3615-  (eval $ac_try) 2>&5
3616-  ac_status=$?
3617-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3618-  (exit $ac_status); }; } &&
3619-	 { ac_try='test -s conftest.$ac_objext'
3620-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3621-  (eval $ac_try) 2>&5
3622-  ac_status=$?
3623-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3624-  (exit $ac_status); }; }; then
3625-  break
3626-else
3627-  echo "$as_me: failed program was:" >&5
3628-sed 's/^/| /' conftest.$ac_ext >&5
3629-
3630-fi
3631-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3632-done
3633-rm -f conftest*
3634-if test -n "$ac_declaration"; then
3635-  echo '#ifdef __cplusplus' >>confdefs.h
3636-  echo $ac_declaration      >>confdefs.h
3637-  echo '#endif'             >>confdefs.h
3638-fi
3639-
3640-else
3641-  echo "$as_me: failed program was:" >&5
3642-sed 's/^/| /' conftest.$ac_ext >&5
3643-
3644-fi
3645-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3646-ac_ext=c
3647-ac_cpp='$CPP $CPPFLAGS'
3648-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3649-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3650-ac_compiler_gnu=$ac_cv_c_compiler_gnu
3651-
3652-ac_ext=cc
3653-ac_cpp='$CXXCPP $CPPFLAGS'
3654-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3655-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3656-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3657-
3658-
3659-
3660-ac_aux_dir=
3661-for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
3662-  if test -f $ac_dir/install-sh; then
3663-    ac_aux_dir=$ac_dir
3664-    ac_install_sh="$ac_aux_dir/install-sh -c"
3665-    break
3666-  elif test -f $ac_dir/install.sh; then
3667-    ac_aux_dir=$ac_dir
3668-    ac_install_sh="$ac_aux_dir/install.sh -c"
3669-    break
3670-  elif test -f $ac_dir/shtool; then
3671-    ac_aux_dir=$ac_dir
3672-    ac_install_sh="$ac_aux_dir/shtool install -c"
3673-    break
3674-  fi
3675-done
3676-if test -z "$ac_aux_dir"; then
3677-  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
3678-echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
3679-   { (exit 1); exit 1; }; }
3680-fi
3681-ac_config_guess="$SHELL $ac_aux_dir/config.guess"
3682-ac_config_sub="$SHELL $ac_aux_dir/config.sub"
3683-ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
3684-
3685-# Find a good install program.  We prefer a C program (faster),
3686-# so one script is as good as another.  But avoid the broken or
3687-# incompatible versions:
3688-# SysV /etc/install, /usr/sbin/install
3689-# SunOS /usr/etc/install
3690-# IRIX /sbin/install
3691-# AIX /bin/install
3692-# AmigaOS /C/install, which installs bootblocks on floppy discs
3693-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3694-# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3695-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3696-# OS/2's system install, which has a completely different semantic
3697-# ./install, which can be erroneously created by make from ./install.sh.
3698-echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3699-echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3700-if test -z "$INSTALL"; then
3701-if test "${ac_cv_path_install+set}" = set; then
3702-  echo $ECHO_N "(cached) $ECHO_C" >&6
3703-else
3704-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3705-for as_dir in $PATH
3706-do
3707-  IFS=$as_save_IFS
3708-  test -z "$as_dir" && as_dir=.
3709-  # Account for people who put trailing slashes in PATH elements.
3710-case $as_dir/ in
3711-  ./ | .// | /cC/* | \
3712-  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3713-  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3714-  /usr/ucb/* ) ;;
3715-  *)
3716-    # OSF1 and SCO ODT 3.0 have their own names for install.
3717-    # Don't use installbsd from OSF since it installs stuff as root
3718-    # by default.
3719-    for ac_prog in ginstall scoinst install; do
3720-      for ac_exec_ext in '' $ac_executable_extensions; do
3721-	if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3722-	  if test $ac_prog = install &&
3723-	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3724-	    # AIX install.  It has an incompatible calling convention.
3725-	    :
3726-	  elif test $ac_prog = install &&
3727-	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3728-	    # program-specific install script used by HP pwplus--don't use.
3729-	    :
3730-	  else
3731-	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3732-	    break 3
3733-	  fi
3734-	fi
3735-      done
3736-    done
3737-    ;;
3738-esac
3739-done
3740-
3741-
3742-fi
3743-  if test "${ac_cv_path_install+set}" = set; then
3744-    INSTALL=$ac_cv_path_install
3745-  else
3746-    # As a last resort, use the slow shell script.  We don't cache a
3747-    # path for INSTALL within a source directory, because that will
3748-    # break other packages using the cache if that directory is
3749-    # removed, or if the path is relative.
3750-    INSTALL=$ac_install_sh
3751-  fi
3752-fi
3753-echo "$as_me:$LINENO: result: $INSTALL" >&5
3754-echo "${ECHO_T}$INSTALL" >&6
3755-
3756-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3757-# It thinks the first close brace ends the variable substitution.
3758-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3759-
3760-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3761-
3762-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3763-
3764-
3765-
3766-
3767-ac_ext=cc
3768-ac_cpp='$CXXCPP $CPPFLAGS'
3769-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3770-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3771-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3772-echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
3773-echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
3774-if test -z "$CXXCPP"; then
3775-  if test "${ac_cv_prog_CXXCPP+set}" = set; then
3776-  echo $ECHO_N "(cached) $ECHO_C" >&6
3777-else
3778-      # Double quotes because CXXCPP needs to be expanded
3779-    for CXXCPP in "$CXX -E" "/lib/cpp"
3780-    do
3781-      ac_preproc_ok=false
3782-for ac_cxx_preproc_warn_flag in '' yes
3783-do
3784-  # Use a header file that comes with gcc, so configuring glibc
3785-  # with a fresh cross-compiler works.
3786-  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3787-  # <limits.h> exists even on freestanding compilers.
3788-  # On the NeXT, cc -E runs the code through the compiler's parser,
3789-  # not just through cpp. "Syntax error" is here to catch this case.
3790-  cat >conftest.$ac_ext <<_ACEOF
3791-/* confdefs.h.  */
3792-_ACEOF
3793-cat confdefs.h >>conftest.$ac_ext
3794-cat >>conftest.$ac_ext <<_ACEOF
3795-/* end confdefs.h.  */
3796-@%:@ifdef __STDC__
3797-@%:@ include <limits.h>
3798-@%:@else
3799-@%:@ include <assert.h>
3800-@%:@endif
3801-		     Syntax error
3802-_ACEOF
3803-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3804-  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3805-  ac_status=$?
3806-  grep -v '^ *+' conftest.er1 >conftest.err
3807-  rm -f conftest.er1
3808-  cat conftest.err >&5
3809-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3810-  (exit $ac_status); } >/dev/null; then
3811-  if test -s conftest.err; then
3812-    ac_cpp_err=$ac_cxx_preproc_warn_flag
3813-    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
3814-  else
3815-    ac_cpp_err=
3816-  fi
3817-else
3818-  ac_cpp_err=yes
3819-fi
3820-if test -z "$ac_cpp_err"; then
3821-  :
3822-else
3823-  echo "$as_me: failed program was:" >&5
3824-sed 's/^/| /' conftest.$ac_ext >&5
3825-
3826-  # Broken: fails on valid input.
3827-continue
3828-fi
3829-rm -f conftest.err conftest.$ac_ext
3830-
3831-  # OK, works on sane cases.  Now check whether non-existent headers
3832-  # can be detected and how.
3833-  cat >conftest.$ac_ext <<_ACEOF
3834-/* confdefs.h.  */
3835-_ACEOF
3836-cat confdefs.h >>conftest.$ac_ext
3837-cat >>conftest.$ac_ext <<_ACEOF
3838-/* end confdefs.h.  */
3839-@%:@include <ac_nonexistent.h>
3840-_ACEOF
3841-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3842-  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3843-  ac_status=$?
3844-  grep -v '^ *+' conftest.er1 >conftest.err
3845-  rm -f conftest.er1
3846-  cat conftest.err >&5
3847-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3848-  (exit $ac_status); } >/dev/null; then
3849-  if test -s conftest.err; then
3850-    ac_cpp_err=$ac_cxx_preproc_warn_flag
3851-    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
3852-  else
3853-    ac_cpp_err=
3854-  fi
3855-else
3856-  ac_cpp_err=yes
3857-fi
3858-if test -z "$ac_cpp_err"; then
3859-  # Broken: success on invalid input.
3860-continue
3861-else
3862-  echo "$as_me: failed program was:" >&5
3863-sed 's/^/| /' conftest.$ac_ext >&5
3864-
3865-  # Passes both tests.
3866-ac_preproc_ok=:
3867-break
3868-fi
3869-rm -f conftest.err conftest.$ac_ext
3870-
3871-done
3872-# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3873-rm -f conftest.err conftest.$ac_ext
3874-if $ac_preproc_ok; then
3875-  break
3876-fi
3877-
3878-    done
3879-    ac_cv_prog_CXXCPP=$CXXCPP
3880-
3881-fi
3882-  CXXCPP=$ac_cv_prog_CXXCPP
3883-else
3884-  ac_cv_prog_CXXCPP=$CXXCPP
3885-fi
3886-echo "$as_me:$LINENO: result: $CXXCPP" >&5
3887-echo "${ECHO_T}$CXXCPP" >&6
3888-ac_preproc_ok=false
3889-for ac_cxx_preproc_warn_flag in '' yes
3890-do
3891-  # Use a header file that comes with gcc, so configuring glibc
3892-  # with a fresh cross-compiler works.
3893-  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3894-  # <limits.h> exists even on freestanding compilers.
3895-  # On the NeXT, cc -E runs the code through the compiler's parser,
3896-  # not just through cpp. "Syntax error" is here to catch this case.
3897-  cat >conftest.$ac_ext <<_ACEOF
3898-/* confdefs.h.  */
3899-_ACEOF
3900-cat confdefs.h >>conftest.$ac_ext
3901-cat >>conftest.$ac_ext <<_ACEOF
3902-/* end confdefs.h.  */
3903-@%:@ifdef __STDC__
3904-@%:@ include <limits.h>
3905-@%:@else
3906-@%:@ include <assert.h>
3907-@%:@endif
3908-		     Syntax error
3909-_ACEOF
3910-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3911-  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3912-  ac_status=$?
3913-  grep -v '^ *+' conftest.er1 >conftest.err
3914-  rm -f conftest.er1
3915-  cat conftest.err >&5
3916-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3917-  (exit $ac_status); } >/dev/null; then
3918-  if test -s conftest.err; then
3919-    ac_cpp_err=$ac_cxx_preproc_warn_flag
3920-    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
3921-  else
3922-    ac_cpp_err=
3923-  fi
3924-else
3925-  ac_cpp_err=yes
3926-fi
3927-if test -z "$ac_cpp_err"; then
3928-  :
3929-else
3930-  echo "$as_me: failed program was:" >&5
3931-sed 's/^/| /' conftest.$ac_ext >&5
3932-
3933-  # Broken: fails on valid input.
3934-continue
3935-fi
3936-rm -f conftest.err conftest.$ac_ext
3937-
3938-  # OK, works on sane cases.  Now check whether non-existent headers
3939-  # can be detected and how.
3940-  cat >conftest.$ac_ext <<_ACEOF
3941-/* confdefs.h.  */
3942-_ACEOF
3943-cat confdefs.h >>conftest.$ac_ext
3944-cat >>conftest.$ac_ext <<_ACEOF
3945-/* end confdefs.h.  */
3946-@%:@include <ac_nonexistent.h>
3947-_ACEOF
3948-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3949-  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3950-  ac_status=$?
3951-  grep -v '^ *+' conftest.er1 >conftest.err
3952-  rm -f conftest.er1
3953-  cat conftest.err >&5
3954-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3955-  (exit $ac_status); } >/dev/null; then
3956-  if test -s conftest.err; then
3957-    ac_cpp_err=$ac_cxx_preproc_warn_flag
3958-    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
3959-  else
3960-    ac_cpp_err=
3961-  fi
3962-else
3963-  ac_cpp_err=yes
3964-fi
3965-if test -z "$ac_cpp_err"; then
3966-  # Broken: success on invalid input.
3967-continue
3968-else
3969-  echo "$as_me: failed program was:" >&5
3970-sed 's/^/| /' conftest.$ac_ext >&5
3971-
3972-  # Passes both tests.
3973-ac_preproc_ok=:
3974-break
3975-fi
3976-rm -f conftest.err conftest.$ac_ext
3977-
3978-done
3979-# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3980-rm -f conftest.err conftest.$ac_ext
3981-if $ac_preproc_ok; then
3982-  :
3983-else
3984-  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
3985-See \`config.log' for more details." >&5
3986-echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
3987-See \`config.log' for more details." >&2;}
3988-   { (exit 1); exit 1; }; }
3989-fi
3990-
3991-ac_ext=cc
3992-ac_cpp='$CXXCPP $CPPFLAGS'
3993-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3994-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3995-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3996-
3997-
3998-echo "$as_me:$LINENO: checking for X" >&5
3999-echo $ECHO_N "checking for X... $ECHO_C" >&6
4000-
4001-
4002-# Check whether --with-x or --without-x was given.
4003-if test "${with_x+set}" = set; then
4004-  withval="$with_x"
4005-
4006-fi;
4007-# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
4008-if test "x$with_x" = xno; then
4009-  # The user explicitly disabled X.
4010-  have_x=disabled
4011-else
4012-  if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
4013-    # Both variables are already set.
4014-    have_x=yes
4015-  else
4016-    if test "${ac_cv_have_x+set}" = set; then
4017-  echo $ECHO_N "(cached) $ECHO_C" >&6
4018-else
4019-  # One or both of the vars are not set, and there is no cached value.
4020-ac_x_includes=no ac_x_libraries=no
4021-rm -fr conftest.dir
4022-if mkdir conftest.dir; then
4023-  cd conftest.dir
4024-  # Make sure to not put "make" in the Imakefile rules, since we grep it out.
4025-  cat >Imakefile <<'_ACEOF'
4026-acfindx:
4027-	@echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
4028-_ACEOF
4029-  if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
4030-    # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4031-    eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
4032-    # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
4033-    for ac_extension in a so sl; do
4034-      if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
4035-	 test -f $ac_im_libdir/libX11.$ac_extension; then
4036-	ac_im_usrlibdir=$ac_im_libdir; break
4037-      fi
4038-    done
4039-    # Screen out bogus values from the imake configuration.  They are
4040-    # bogus both because they are the default anyway, and because
4041-    # using them would break gcc on systems where it needs fixed includes.
4042-    case $ac_im_incroot in
4043-	/usr/include) ;;
4044-	*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
4045-    esac
4046-    case $ac_im_usrlibdir in
4047-	/usr/lib | /lib) ;;
4048-	*) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
4049-    esac
4050-  fi
4051-  cd ..
4052-  rm -fr conftest.dir
4053-fi
4054-
4055-# Standard set of common directories for X headers.
4056-# Check X11 before X11Rn because it is often a symlink to the current release.
4057-ac_x_header_dirs='
4058-/usr/X11/include
4059-/usr/X11R6/include
4060-/usr/X11R5/include
4061-/usr/X11R4/include
4062-
4063-/usr/include/X11
4064-/usr/include/X11R6
4065-/usr/include/X11R5
4066-/usr/include/X11R4
4067-
4068-/usr/local/X11/include
4069-/usr/local/X11R6/include
4070-/usr/local/X11R5/include
4071-/usr/local/X11R4/include
4072-
4073-/usr/local/include/X11
4074-/usr/local/include/X11R6
4075-/usr/local/include/X11R5
4076-/usr/local/include/X11R4
4077-
4078-/usr/X386/include
4079-/usr/x386/include
4080-/usr/XFree86/include/X11
4081-
4082-/usr/include
4083-/usr/local/include
4084-/usr/unsupported/include
4085-/usr/athena/include
4086-/usr/local/x11r5/include
4087-/usr/lpp/Xamples/include
4088-
4089-/usr/openwin/include
4090-/usr/openwin/share/include'
4091-
4092-if test "$ac_x_includes" = no; then
4093-  # Guess where to find include files, by looking for Intrinsic.h.
4094-  # First, try using that file with no special directory specified.
4095-  cat >conftest.$ac_ext <<_ACEOF
4096-/* confdefs.h.  */
4097-_ACEOF
4098-cat confdefs.h >>conftest.$ac_ext
4099-cat >>conftest.$ac_ext <<_ACEOF
4100-/* end confdefs.h.  */
4101-@%:@include <X11/Intrinsic.h>
4102-_ACEOF
4103-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4104-  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4105-  ac_status=$?
4106-  grep -v '^ *+' conftest.er1 >conftest.err
4107-  rm -f conftest.er1
4108-  cat conftest.err >&5
4109-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4110-  (exit $ac_status); } >/dev/null; then
4111-  if test -s conftest.err; then
4112-    ac_cpp_err=$ac_cxx_preproc_warn_flag
4113-    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4114-  else
4115-    ac_cpp_err=
4116-  fi
4117-else
4118-  ac_cpp_err=yes
4119-fi
4120-if test -z "$ac_cpp_err"; then
4121-  # We can compile using X headers with no special include directory.
4122-ac_x_includes=
4123-else
4124-  echo "$as_me: failed program was:" >&5
4125-sed 's/^/| /' conftest.$ac_ext >&5
4126-
4127-  for ac_dir in $ac_x_header_dirs; do
4128-  if test -r "$ac_dir/X11/Intrinsic.h"; then
4129-    ac_x_includes=$ac_dir
4130-    break
4131-  fi
4132-done
4133-fi
4134-rm -f conftest.err conftest.$ac_ext
4135-fi # $ac_x_includes = no
4136-
4137-if test "$ac_x_libraries" = no; then
4138-  # Check for the libraries.
4139-  # See if we find them without any special options.
4140-  # Don't add to $LIBS permanently.
4141-  ac_save_LIBS=$LIBS
4142-  LIBS="-lXt $LIBS"
4143-  cat >conftest.$ac_ext <<_ACEOF
4144-/* confdefs.h.  */
4145-_ACEOF
4146-cat confdefs.h >>conftest.$ac_ext
4147-cat >>conftest.$ac_ext <<_ACEOF
4148-/* end confdefs.h.  */
4149-@%:@include <X11/Intrinsic.h>
4150-int
4151-main ()
4152-{
4153-XtMalloc (0)
4154-  ;
4155-  return 0;
4156-}
4157-_ACEOF
4158-rm -f conftest.$ac_objext conftest$ac_exeext
4159-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4160-  (eval $ac_link) 2>conftest.er1
4161-  ac_status=$?
4162-  grep -v '^ *+' conftest.er1 >conftest.err
4163-  rm -f conftest.er1
4164-  cat conftest.err >&5
4165-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4166-  (exit $ac_status); } &&
4167-	 { ac_try='test -z "$ac_cxx_werror_flag"
4168-			 || test ! -s conftest.err'
4169-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4170-  (eval $ac_try) 2>&5
4171-  ac_status=$?
4172-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4173-  (exit $ac_status); }; } &&
4174-	 { ac_try='test -s conftest$ac_exeext'
4175-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4176-  (eval $ac_try) 2>&5
4177-  ac_status=$?
4178-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4179-  (exit $ac_status); }; }; then
4180-  LIBS=$ac_save_LIBS
4181-# We can link X programs with no special library path.
4182-ac_x_libraries=
4183-else
4184-  echo "$as_me: failed program was:" >&5
4185-sed 's/^/| /' conftest.$ac_ext >&5
4186-
4187-LIBS=$ac_save_LIBS
4188-for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4189-do
4190-  # Don't even attempt the hair of trying to link an X program!
4191-  for ac_extension in a so sl; do
4192-    if test -r $ac_dir/libXt.$ac_extension; then
4193-      ac_x_libraries=$ac_dir
4194-      break 2
4195-    fi
4196-  done
4197-done
4198-fi
4199-rm -f conftest.err conftest.$ac_objext \
4200-      conftest$ac_exeext conftest.$ac_ext
4201-fi # $ac_x_libraries = no
4202-
4203-if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
4204-  # Didn't find X anywhere.  Cache the known absence of X.
4205-  ac_cv_have_x="have_x=no"
4206-else
4207-  # Record where we found X for the cache.
4208-  ac_cv_have_x="have_x=yes \
4209-		ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
4210-fi
4211-fi
4212-
4213-  fi
4214-  eval "$ac_cv_have_x"
4215-fi # $with_x != no
4216-
4217-if test "$have_x" != yes; then
4218-  echo "$as_me:$LINENO: result: $have_x" >&5
4219-echo "${ECHO_T}$have_x" >&6
4220-  no_x=yes
4221-else
4222-  # If each of the values was on the command line, it overrides each guess.
4223-  test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4224-  test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4225-  # Update the cache value to reflect the command line values.
4226-  ac_cv_have_x="have_x=yes \
4227-		ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
4228-  echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4229-echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
4230-fi
4231-
4232-if test "$no_x" = yes; then
4233-  # Not all programs may use this symbol, but it does not hurt to define it.
4234-
4235-cat >>confdefs.h <<\_ACEOF
4236-@%:@define X_DISPLAY_MISSING 1
4237-_ACEOF
4238-
4239-  X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4240-else
4241-  if test -n "$x_includes"; then
4242-    X_CFLAGS="$X_CFLAGS -I$x_includes"
4243-  fi
4244-
4245-  # It would also be nice to do this for all -L options, not just this one.
4246-  if test -n "$x_libraries"; then
4247-    X_LIBS="$X_LIBS -L$x_libraries"
4248-    # For Solaris; some versions of Sun CC require a space after -R and
4249-    # others require no space.  Words are not sufficient . . . .
4250-    case `(uname -sr) 2>/dev/null` in
4251-    "SunOS 5"*)
4252-      echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4253-echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
4254-      ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4255-      cat >conftest.$ac_ext <<_ACEOF
4256-/* confdefs.h.  */
4257-_ACEOF
4258-cat confdefs.h >>conftest.$ac_ext
4259-cat >>conftest.$ac_ext <<_ACEOF
4260-/* end confdefs.h.  */
4261-
4262-int
4263-main ()
4264-{
4265-
4266-  ;
4267-  return 0;
4268-}
4269-_ACEOF
4270-rm -f conftest.$ac_objext conftest$ac_exeext
4271-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4272-  (eval $ac_link) 2>conftest.er1
4273-  ac_status=$?
4274-  grep -v '^ *+' conftest.er1 >conftest.err
4275-  rm -f conftest.er1
4276-  cat conftest.err >&5
4277-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4278-  (exit $ac_status); } &&
4279-	 { ac_try='test -z "$ac_cxx_werror_flag"
4280-			 || test ! -s conftest.err'
4281-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4282-  (eval $ac_try) 2>&5
4283-  ac_status=$?
4284-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4285-  (exit $ac_status); }; } &&
4286-	 { ac_try='test -s conftest$ac_exeext'
4287-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4288-  (eval $ac_try) 2>&5
4289-  ac_status=$?
4290-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4291-  (exit $ac_status); }; }; then
4292-  ac_R_nospace=yes
4293-else
4294-  echo "$as_me: failed program was:" >&5
4295-sed 's/^/| /' conftest.$ac_ext >&5
4296-
4297-ac_R_nospace=no
4298-fi
4299-rm -f conftest.err conftest.$ac_objext \
4300-      conftest$ac_exeext conftest.$ac_ext
4301-      if test $ac_R_nospace = yes; then
4302-	echo "$as_me:$LINENO: result: no" >&5
4303-echo "${ECHO_T}no" >&6
4304-	X_LIBS="$X_LIBS -R$x_libraries"
4305-      else
4306-	LIBS="$ac_xsave_LIBS -R $x_libraries"
4307-	cat >conftest.$ac_ext <<_ACEOF
4308-/* confdefs.h.  */
4309-_ACEOF
4310-cat confdefs.h >>conftest.$ac_ext
4311-cat >>conftest.$ac_ext <<_ACEOF
4312-/* end confdefs.h.  */
4313-
4314-int
4315-main ()
4316-{
4317-
4318-  ;
4319-  return 0;
4320-}
4321-_ACEOF
4322-rm -f conftest.$ac_objext conftest$ac_exeext
4323-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4324-  (eval $ac_link) 2>conftest.er1
4325-  ac_status=$?
4326-  grep -v '^ *+' conftest.er1 >conftest.err
4327-  rm -f conftest.er1
4328-  cat conftest.err >&5
4329-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4330-  (exit $ac_status); } &&
4331-	 { ac_try='test -z "$ac_cxx_werror_flag"
4332-			 || test ! -s conftest.err'
4333-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4334-  (eval $ac_try) 2>&5
4335-  ac_status=$?
4336-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4337-  (exit $ac_status); }; } &&
4338-	 { ac_try='test -s conftest$ac_exeext'
4339-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4340-  (eval $ac_try) 2>&5
4341-  ac_status=$?
4342-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4343-  (exit $ac_status); }; }; then
4344-  ac_R_space=yes
4345-else
4346-  echo "$as_me: failed program was:" >&5
4347-sed 's/^/| /' conftest.$ac_ext >&5
4348-
4349-ac_R_space=no
4350-fi
4351-rm -f conftest.err conftest.$ac_objext \
4352-      conftest$ac_exeext conftest.$ac_ext
4353-	if test $ac_R_space = yes; then
4354-	  echo "$as_me:$LINENO: result: yes" >&5
4355-echo "${ECHO_T}yes" >&6
4356-	  X_LIBS="$X_LIBS -R $x_libraries"
4357-	else
4358-	  echo "$as_me:$LINENO: result: neither works" >&5
4359-echo "${ECHO_T}neither works" >&6
4360-	fi
4361-      fi
4362-      LIBS=$ac_xsave_LIBS
4363-    esac
4364-  fi
4365-
4366-  # Check for system-dependent libraries X programs must link with.
4367-  # Do this before checking for the system-independent R6 libraries
4368-  # (-lICE), since we may need -lsocket or whatever for X linking.
4369-
4370-  if test "$ISC" = yes; then
4371-    X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4372-  else
4373-    # Martyn Johnson says this is needed for Ultrix, if the X
4374-    # libraries were built with DECnet support.  And Karl Berry says
4375-    # the Alpha needs dnet_stub (dnet does not exist).
4376-    ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4377-    cat >conftest.$ac_ext <<_ACEOF
4378-/* confdefs.h.  */
4379-_ACEOF
4380-cat confdefs.h >>conftest.$ac_ext
4381-cat >>conftest.$ac_ext <<_ACEOF
4382-/* end confdefs.h.  */
4383-
4384-/* Override any gcc2 internal prototype to avoid an error.  */
4385-#ifdef __cplusplus
4386-extern "C"
4387-#endif
4388-/* We use char because int might match the return type of a gcc2
4389-   builtin and then its argument prototype would still apply.  */
4390-char XOpenDisplay ();
4391-int
4392-main ()
4393-{
4394-XOpenDisplay ();
4395-  ;
4396-  return 0;
4397-}
4398-_ACEOF
4399-rm -f conftest.$ac_objext conftest$ac_exeext
4400-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4401-  (eval $ac_link) 2>conftest.er1
4402-  ac_status=$?
4403-  grep -v '^ *+' conftest.er1 >conftest.err
4404-  rm -f conftest.er1
4405-  cat conftest.err >&5
4406-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4407-  (exit $ac_status); } &&
4408-	 { ac_try='test -z "$ac_cxx_werror_flag"
4409-			 || test ! -s conftest.err'
4410-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4411-  (eval $ac_try) 2>&5
4412-  ac_status=$?
4413-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4414-  (exit $ac_status); }; } &&
4415-	 { ac_try='test -s conftest$ac_exeext'
4416-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4417-  (eval $ac_try) 2>&5
4418-  ac_status=$?
4419-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4420-  (exit $ac_status); }; }; then
4421-  :
4422-else
4423-  echo "$as_me: failed program was:" >&5
4424-sed 's/^/| /' conftest.$ac_ext >&5
4425-
4426-echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4427-echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
4428-if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4429-  echo $ECHO_N "(cached) $ECHO_C" >&6
4430-else
4431-  ac_check_lib_save_LIBS=$LIBS
4432-LIBS="-ldnet  $LIBS"
4433-cat >conftest.$ac_ext <<_ACEOF
4434-/* confdefs.h.  */
4435-_ACEOF
4436-cat confdefs.h >>conftest.$ac_ext
4437-cat >>conftest.$ac_ext <<_ACEOF
4438-/* end confdefs.h.  */
4439-
4440-/* Override any gcc2 internal prototype to avoid an error.  */
4441-#ifdef __cplusplus
4442-extern "C"
4443-#endif
4444-/* We use char because int might match the return type of a gcc2
4445-   builtin and then its argument prototype would still apply.  */
4446-char dnet_ntoa ();
4447-int
4448-main ()
4449-{
4450-dnet_ntoa ();
4451-  ;
4452-  return 0;
4453-}
4454-_ACEOF
4455-rm -f conftest.$ac_objext conftest$ac_exeext
4456-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4457-  (eval $ac_link) 2>conftest.er1
4458-  ac_status=$?
4459-  grep -v '^ *+' conftest.er1 >conftest.err
4460-  rm -f conftest.er1
4461-  cat conftest.err >&5
4462-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4463-  (exit $ac_status); } &&
4464-	 { ac_try='test -z "$ac_cxx_werror_flag"
4465-			 || test ! -s conftest.err'
4466-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4467-  (eval $ac_try) 2>&5
4468-  ac_status=$?
4469-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4470-  (exit $ac_status); }; } &&
4471-	 { ac_try='test -s conftest$ac_exeext'
4472-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4473-  (eval $ac_try) 2>&5
4474-  ac_status=$?
4475-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4476-  (exit $ac_status); }; }; then
4477-  ac_cv_lib_dnet_dnet_ntoa=yes
4478-else
4479-  echo "$as_me: failed program was:" >&5
4480-sed 's/^/| /' conftest.$ac_ext >&5
4481-
4482-ac_cv_lib_dnet_dnet_ntoa=no
4483-fi
4484-rm -f conftest.err conftest.$ac_objext \
4485-      conftest$ac_exeext conftest.$ac_ext
4486-LIBS=$ac_check_lib_save_LIBS
4487-fi
4488-echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4489-echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
4490-if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4491-  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4492-fi
4493-
4494-    if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4495-      echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4496-echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
4497-if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4498-  echo $ECHO_N "(cached) $ECHO_C" >&6
4499-else
4500-  ac_check_lib_save_LIBS=$LIBS
4501-LIBS="-ldnet_stub  $LIBS"
4502-cat >conftest.$ac_ext <<_ACEOF
4503-/* confdefs.h.  */
4504-_ACEOF
4505-cat confdefs.h >>conftest.$ac_ext
4506-cat >>conftest.$ac_ext <<_ACEOF
4507-/* end confdefs.h.  */
4508-
4509-/* Override any gcc2 internal prototype to avoid an error.  */
4510-#ifdef __cplusplus
4511-extern "C"
4512-#endif
4513-/* We use char because int might match the return type of a gcc2
4514-   builtin and then its argument prototype would still apply.  */
4515-char dnet_ntoa ();
4516-int
4517-main ()
4518-{
4519-dnet_ntoa ();
4520-  ;
4521-  return 0;
4522-}
4523-_ACEOF
4524-rm -f conftest.$ac_objext conftest$ac_exeext
4525-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4526-  (eval $ac_link) 2>conftest.er1
4527-  ac_status=$?
4528-  grep -v '^ *+' conftest.er1 >conftest.err
4529-  rm -f conftest.er1
4530-  cat conftest.err >&5
4531-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4532-  (exit $ac_status); } &&
4533-	 { ac_try='test -z "$ac_cxx_werror_flag"
4534-			 || test ! -s conftest.err'
4535-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4536-  (eval $ac_try) 2>&5
4537-  ac_status=$?
4538-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4539-  (exit $ac_status); }; } &&
4540-	 { ac_try='test -s conftest$ac_exeext'
4541-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4542-  (eval $ac_try) 2>&5
4543-  ac_status=$?
4544-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4545-  (exit $ac_status); }; }; then
4546-  ac_cv_lib_dnet_stub_dnet_ntoa=yes
4547-else
4548-  echo "$as_me: failed program was:" >&5
4549-sed 's/^/| /' conftest.$ac_ext >&5
4550-
4551-ac_cv_lib_dnet_stub_dnet_ntoa=no
4552-fi
4553-rm -f conftest.err conftest.$ac_objext \
4554-      conftest$ac_exeext conftest.$ac_ext
4555-LIBS=$ac_check_lib_save_LIBS
4556-fi
4557-echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4558-echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
4559-if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4560-  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4561-fi
4562-
4563-    fi
4564-fi
4565-rm -f conftest.err conftest.$ac_objext \
4566-      conftest$ac_exeext conftest.$ac_ext
4567-    LIBS="$ac_xsave_LIBS"
4568-
4569-    # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4570-    # to get the SysV transport functions.
4571-    # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4572-    # needs -lnsl.
4573-    # The nsl library prevents programs from opening the X display
4574-    # on Irix 5.2, according to T.E. Dickey.
4575-    # The functions gethostbyname, getservbyname, and inet_addr are
4576-    # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4577-    echo "$as_me:$LINENO: checking for gethostbyname" >&5
4578-echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
4579-if test "${ac_cv_func_gethostbyname+set}" = set; then
4580-  echo $ECHO_N "(cached) $ECHO_C" >&6
4581-else
4582-  cat >conftest.$ac_ext <<_ACEOF
4583-/* confdefs.h.  */
4584-_ACEOF
4585-cat confdefs.h >>conftest.$ac_ext
4586-cat >>conftest.$ac_ext <<_ACEOF
4587-/* end confdefs.h.  */
4588-/* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4589-   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
4590-#define gethostbyname innocuous_gethostbyname
4591-
4592-/* System header to define __stub macros and hopefully few prototypes,
4593-    which can conflict with char gethostbyname (); below.
4594-    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4595-    <limits.h> exists even on freestanding compilers.  */
4596-
4597-#ifdef __STDC__
4598-# include <limits.h>
4599-#else
4600-# include <assert.h>
4601-#endif
4602-
4603-#undef gethostbyname
4604-
4605-/* Override any gcc2 internal prototype to avoid an error.  */
4606-#ifdef __cplusplus
4607-extern "C"
4608-{
4609-#endif
4610-/* We use char because int might match the return type of a gcc2
4611-   builtin and then its argument prototype would still apply.  */
4612-char gethostbyname ();
4613-/* The GNU C library defines this for functions which it implements
4614-    to always fail with ENOSYS.  Some functions are actually named
4615-    something starting with __ and the normal name is an alias.  */
4616-#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
4617-choke me
4618-#else
4619-char (*f) () = gethostbyname;
4620-#endif
4621-#ifdef __cplusplus
4622-}
4623-#endif
4624-
4625-int
4626-main ()
4627-{
4628-return f != gethostbyname;
4629-  ;
4630-  return 0;
4631-}
4632-_ACEOF
4633-rm -f conftest.$ac_objext conftest$ac_exeext
4634-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4635-  (eval $ac_link) 2>conftest.er1
4636-  ac_status=$?
4637-  grep -v '^ *+' conftest.er1 >conftest.err
4638-  rm -f conftest.er1
4639-  cat conftest.err >&5
4640-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4641-  (exit $ac_status); } &&
4642-	 { ac_try='test -z "$ac_cxx_werror_flag"
4643-			 || test ! -s conftest.err'
4644-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4645-  (eval $ac_try) 2>&5
4646-  ac_status=$?
4647-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4648-  (exit $ac_status); }; } &&
4649-	 { ac_try='test -s conftest$ac_exeext'
4650-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4651-  (eval $ac_try) 2>&5
4652-  ac_status=$?
4653-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4654-  (exit $ac_status); }; }; then
4655-  ac_cv_func_gethostbyname=yes
4656-else
4657-  echo "$as_me: failed program was:" >&5
4658-sed 's/^/| /' conftest.$ac_ext >&5
4659-
4660-ac_cv_func_gethostbyname=no
4661-fi
4662-rm -f conftest.err conftest.$ac_objext \
4663-      conftest$ac_exeext conftest.$ac_ext
4664-fi
4665-echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4666-echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
4667-
4668-    if test $ac_cv_func_gethostbyname = no; then
4669-      echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4670-echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
4671-if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4672-  echo $ECHO_N "(cached) $ECHO_C" >&6
4673-else
4674-  ac_check_lib_save_LIBS=$LIBS
4675-LIBS="-lnsl  $LIBS"
4676-cat >conftest.$ac_ext <<_ACEOF
4677-/* confdefs.h.  */
4678-_ACEOF
4679-cat confdefs.h >>conftest.$ac_ext
4680-cat >>conftest.$ac_ext <<_ACEOF
4681-/* end confdefs.h.  */
4682-
4683-/* Override any gcc2 internal prototype to avoid an error.  */
4684-#ifdef __cplusplus
4685-extern "C"
4686-#endif
4687-/* We use char because int might match the return type of a gcc2
4688-   builtin and then its argument prototype would still apply.  */
4689-char gethostbyname ();
4690-int
4691-main ()
4692-{
4693-gethostbyname ();
4694-  ;
4695-  return 0;
4696-}
4697-_ACEOF
4698-rm -f conftest.$ac_objext conftest$ac_exeext
4699-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4700-  (eval $ac_link) 2>conftest.er1
4701-  ac_status=$?
4702-  grep -v '^ *+' conftest.er1 >conftest.err
4703-  rm -f conftest.er1
4704-  cat conftest.err >&5
4705-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4706-  (exit $ac_status); } &&
4707-	 { ac_try='test -z "$ac_cxx_werror_flag"
4708-			 || test ! -s conftest.err'
4709-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4710-  (eval $ac_try) 2>&5
4711-  ac_status=$?
4712-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4713-  (exit $ac_status); }; } &&
4714-	 { ac_try='test -s conftest$ac_exeext'
4715-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4716-  (eval $ac_try) 2>&5
4717-  ac_status=$?
4718-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4719-  (exit $ac_status); }; }; then
4720-  ac_cv_lib_nsl_gethostbyname=yes
4721-else
4722-  echo "$as_me: failed program was:" >&5
4723-sed 's/^/| /' conftest.$ac_ext >&5
4724-
4725-ac_cv_lib_nsl_gethostbyname=no
4726-fi
4727-rm -f conftest.err conftest.$ac_objext \
4728-      conftest$ac_exeext conftest.$ac_ext
4729-LIBS=$ac_check_lib_save_LIBS
4730-fi
4731-echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4732-echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
4733-if test $ac_cv_lib_nsl_gethostbyname = yes; then
4734-  X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4735-fi
4736-
4737-      if test $ac_cv_lib_nsl_gethostbyname = no; then
4738-	echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4739-echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
4740-if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4741-  echo $ECHO_N "(cached) $ECHO_C" >&6
4742-else
4743-  ac_check_lib_save_LIBS=$LIBS
4744-LIBS="-lbsd  $LIBS"
4745-cat >conftest.$ac_ext <<_ACEOF
4746-/* confdefs.h.  */
4747-_ACEOF
4748-cat confdefs.h >>conftest.$ac_ext
4749-cat >>conftest.$ac_ext <<_ACEOF
4750-/* end confdefs.h.  */
4751-
4752-/* Override any gcc2 internal prototype to avoid an error.  */
4753-#ifdef __cplusplus
4754-extern "C"
4755-#endif
4756-/* We use char because int might match the return type of a gcc2
4757-   builtin and then its argument prototype would still apply.  */
4758-char gethostbyname ();
4759-int
4760-main ()
4761-{
4762-gethostbyname ();
4763-  ;
4764-  return 0;
4765-}
4766-_ACEOF
4767-rm -f conftest.$ac_objext conftest$ac_exeext
4768-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4769-  (eval $ac_link) 2>conftest.er1
4770-  ac_status=$?
4771-  grep -v '^ *+' conftest.er1 >conftest.err
4772-  rm -f conftest.er1
4773-  cat conftest.err >&5
4774-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4775-  (exit $ac_status); } &&
4776-	 { ac_try='test -z "$ac_cxx_werror_flag"
4777-			 || test ! -s conftest.err'
4778-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4779-  (eval $ac_try) 2>&5
4780-  ac_status=$?
4781-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4782-  (exit $ac_status); }; } &&
4783-	 { ac_try='test -s conftest$ac_exeext'
4784-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4785-  (eval $ac_try) 2>&5
4786-  ac_status=$?
4787-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4788-  (exit $ac_status); }; }; then
4789-  ac_cv_lib_bsd_gethostbyname=yes
4790-else
4791-  echo "$as_me: failed program was:" >&5
4792-sed 's/^/| /' conftest.$ac_ext >&5
4793-
4794-ac_cv_lib_bsd_gethostbyname=no
4795-fi
4796-rm -f conftest.err conftest.$ac_objext \
4797-      conftest$ac_exeext conftest.$ac_ext
4798-LIBS=$ac_check_lib_save_LIBS
4799-fi
4800-echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4801-echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
4802-if test $ac_cv_lib_bsd_gethostbyname = yes; then
4803-  X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4804-fi
4805-
4806-      fi
4807-    fi
4808-
4809-    # lieder@skyler.mavd.honeywell.com says without -lsocket,
4810-    # socket/setsockopt and other routines are undefined under SCO ODT
4811-    # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
4812-    # on later versions), says Simon Leinen: it contains gethostby*
4813-    # variants that don't use the name server (or something).  -lsocket
4814-    # must be given before -lnsl if both are needed.  We assume that
4815-    # if connect needs -lnsl, so does gethostbyname.
4816-    echo "$as_me:$LINENO: checking for connect" >&5
4817-echo $ECHO_N "checking for connect... $ECHO_C" >&6
4818-if test "${ac_cv_func_connect+set}" = set; then
4819-  echo $ECHO_N "(cached) $ECHO_C" >&6
4820-else
4821-  cat >conftest.$ac_ext <<_ACEOF
4822-/* confdefs.h.  */
4823-_ACEOF
4824-cat confdefs.h >>conftest.$ac_ext
4825-cat >>conftest.$ac_ext <<_ACEOF
4826-/* end confdefs.h.  */
4827-/* Define connect to an innocuous variant, in case <limits.h> declares connect.
4828-   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
4829-#define connect innocuous_connect
4830-
4831-/* System header to define __stub macros and hopefully few prototypes,
4832-    which can conflict with char connect (); below.
4833-    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4834-    <limits.h> exists even on freestanding compilers.  */
4835-
4836-#ifdef __STDC__
4837-# include <limits.h>
4838-#else
4839-# include <assert.h>
4840-#endif
4841-
4842-#undef connect
4843-
4844-/* Override any gcc2 internal prototype to avoid an error.  */
4845-#ifdef __cplusplus
4846-extern "C"
4847-{
4848-#endif
4849-/* We use char because int might match the return type of a gcc2
4850-   builtin and then its argument prototype would still apply.  */
4851-char connect ();
4852-/* The GNU C library defines this for functions which it implements
4853-    to always fail with ENOSYS.  Some functions are actually named
4854-    something starting with __ and the normal name is an alias.  */
4855-#if defined (__stub_connect) || defined (__stub___connect)
4856-choke me
4857-#else
4858-char (*f) () = connect;
4859-#endif
4860-#ifdef __cplusplus
4861-}
4862-#endif
4863-
4864-int
4865-main ()
4866-{
4867-return f != connect;
4868-  ;
4869-  return 0;
4870-}
4871-_ACEOF
4872-rm -f conftest.$ac_objext conftest$ac_exeext
4873-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4874-  (eval $ac_link) 2>conftest.er1
4875-  ac_status=$?
4876-  grep -v '^ *+' conftest.er1 >conftest.err
4877-  rm -f conftest.er1
4878-  cat conftest.err >&5
4879-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4880-  (exit $ac_status); } &&
4881-	 { ac_try='test -z "$ac_cxx_werror_flag"
4882-			 || test ! -s conftest.err'
4883-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4884-  (eval $ac_try) 2>&5
4885-  ac_status=$?
4886-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4887-  (exit $ac_status); }; } &&
4888-	 { ac_try='test -s conftest$ac_exeext'
4889-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4890-  (eval $ac_try) 2>&5
4891-  ac_status=$?
4892-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4893-  (exit $ac_status); }; }; then
4894-  ac_cv_func_connect=yes
4895-else
4896-  echo "$as_me: failed program was:" >&5
4897-sed 's/^/| /' conftest.$ac_ext >&5
4898-
4899-ac_cv_func_connect=no
4900-fi
4901-rm -f conftest.err conftest.$ac_objext \
4902-      conftest$ac_exeext conftest.$ac_ext
4903-fi
4904-echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4905-echo "${ECHO_T}$ac_cv_func_connect" >&6
4906-
4907-    if test $ac_cv_func_connect = no; then
4908-      echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4909-echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
4910-if test "${ac_cv_lib_socket_connect+set}" = set; then
4911-  echo $ECHO_N "(cached) $ECHO_C" >&6
4912-else
4913-  ac_check_lib_save_LIBS=$LIBS
4914-LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4915-cat >conftest.$ac_ext <<_ACEOF
4916-/* confdefs.h.  */
4917-_ACEOF
4918-cat confdefs.h >>conftest.$ac_ext
4919-cat >>conftest.$ac_ext <<_ACEOF
4920-/* end confdefs.h.  */
4921-
4922-/* Override any gcc2 internal prototype to avoid an error.  */
4923-#ifdef __cplusplus
4924-extern "C"
4925-#endif
4926-/* We use char because int might match the return type of a gcc2
4927-   builtin and then its argument prototype would still apply.  */
4928-char connect ();
4929-int
4930-main ()
4931-{
4932-connect ();
4933-  ;
4934-  return 0;
4935-}
4936-_ACEOF
4937-rm -f conftest.$ac_objext conftest$ac_exeext
4938-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4939-  (eval $ac_link) 2>conftest.er1
4940-  ac_status=$?
4941-  grep -v '^ *+' conftest.er1 >conftest.err
4942-  rm -f conftest.er1
4943-  cat conftest.err >&5
4944-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4945-  (exit $ac_status); } &&
4946-	 { ac_try='test -z "$ac_cxx_werror_flag"
4947-			 || test ! -s conftest.err'
4948-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4949-  (eval $ac_try) 2>&5
4950-  ac_status=$?
4951-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4952-  (exit $ac_status); }; } &&
4953-	 { ac_try='test -s conftest$ac_exeext'
4954-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4955-  (eval $ac_try) 2>&5
4956-  ac_status=$?
4957-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4958-  (exit $ac_status); }; }; then
4959-  ac_cv_lib_socket_connect=yes
4960-else
4961-  echo "$as_me: failed program was:" >&5
4962-sed 's/^/| /' conftest.$ac_ext >&5
4963-
4964-ac_cv_lib_socket_connect=no
4965-fi
4966-rm -f conftest.err conftest.$ac_objext \
4967-      conftest$ac_exeext conftest.$ac_ext
4968-LIBS=$ac_check_lib_save_LIBS
4969-fi
4970-echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4971-echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
4972-if test $ac_cv_lib_socket_connect = yes; then
4973-  X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4974-fi
4975-
4976-    fi
4977-
4978-    # Guillermo Gomez says -lposix is necessary on A/UX.
4979-    echo "$as_me:$LINENO: checking for remove" >&5
4980-echo $ECHO_N "checking for remove... $ECHO_C" >&6
4981-if test "${ac_cv_func_remove+set}" = set; then
4982-  echo $ECHO_N "(cached) $ECHO_C" >&6
4983-else
4984-  cat >conftest.$ac_ext <<_ACEOF
4985-/* confdefs.h.  */
4986-_ACEOF
4987-cat confdefs.h >>conftest.$ac_ext
4988-cat >>conftest.$ac_ext <<_ACEOF
4989-/* end confdefs.h.  */
4990-/* Define remove to an innocuous variant, in case <limits.h> declares remove.
4991-   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
4992-#define remove innocuous_remove
4993-
4994-/* System header to define __stub macros and hopefully few prototypes,
4995-    which can conflict with char remove (); below.
4996-    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4997-    <limits.h> exists even on freestanding compilers.  */
4998-
4999-#ifdef __STDC__
5000-# include <limits.h>
5001-#else
5002-# include <assert.h>
5003-#endif
5004-
5005-#undef remove
5006-
5007-/* Override any gcc2 internal prototype to avoid an error.  */
5008-#ifdef __cplusplus
5009-extern "C"
5010-{
5011-#endif
5012-/* We use char because int might match the return type of a gcc2
5013-   builtin and then its argument prototype would still apply.  */
5014-char remove ();
5015-/* The GNU C library defines this for functions which it implements
5016-    to always fail with ENOSYS.  Some functions are actually named
5017-    something starting with __ and the normal name is an alias.  */
5018-#if defined (__stub_remove) || defined (__stub___remove)
5019-choke me
5020-#else
5021-char (*f) () = remove;
5022-#endif
5023-#ifdef __cplusplus
5024-}
5025-#endif
5026-
5027-int
5028-main ()
5029-{
5030-return f != remove;
5031-  ;
5032-  return 0;
5033-}
5034-_ACEOF
5035-rm -f conftest.$ac_objext conftest$ac_exeext
5036-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5037-  (eval $ac_link) 2>conftest.er1
5038-  ac_status=$?
5039-  grep -v '^ *+' conftest.er1 >conftest.err
5040-  rm -f conftest.er1
5041-  cat conftest.err >&5
5042-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5043-  (exit $ac_status); } &&
5044-	 { ac_try='test -z "$ac_cxx_werror_flag"
5045-			 || test ! -s conftest.err'
5046-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5047-  (eval $ac_try) 2>&5
5048-  ac_status=$?
5049-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5050-  (exit $ac_status); }; } &&
5051-	 { ac_try='test -s conftest$ac_exeext'
5052-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5053-  (eval $ac_try) 2>&5
5054-  ac_status=$?
5055-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5056-  (exit $ac_status); }; }; then
5057-  ac_cv_func_remove=yes
5058-else
5059-  echo "$as_me: failed program was:" >&5
5060-sed 's/^/| /' conftest.$ac_ext >&5
5061-
5062-ac_cv_func_remove=no
5063-fi
5064-rm -f conftest.err conftest.$ac_objext \
5065-      conftest$ac_exeext conftest.$ac_ext
5066-fi
5067-echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
5068-echo "${ECHO_T}$ac_cv_func_remove" >&6
5069-
5070-    if test $ac_cv_func_remove = no; then
5071-      echo "$as_me:$LINENO: checking for remove in -lposix" >&5
5072-echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
5073-if test "${ac_cv_lib_posix_remove+set}" = set; then
5074-  echo $ECHO_N "(cached) $ECHO_C" >&6
5075-else
5076-  ac_check_lib_save_LIBS=$LIBS
5077-LIBS="-lposix  $LIBS"
5078-cat >conftest.$ac_ext <<_ACEOF
5079-/* confdefs.h.  */
5080-_ACEOF
5081-cat confdefs.h >>conftest.$ac_ext
5082-cat >>conftest.$ac_ext <<_ACEOF
5083-/* end confdefs.h.  */
5084-
5085-/* Override any gcc2 internal prototype to avoid an error.  */
5086-#ifdef __cplusplus
5087-extern "C"
5088-#endif
5089-/* We use char because int might match the return type of a gcc2
5090-   builtin and then its argument prototype would still apply.  */
5091-char remove ();
5092-int
5093-main ()
5094-{
5095-remove ();
5096-  ;
5097-  return 0;
5098-}
5099-_ACEOF
5100-rm -f conftest.$ac_objext conftest$ac_exeext
5101-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5102-  (eval $ac_link) 2>conftest.er1
5103-  ac_status=$?
5104-  grep -v '^ *+' conftest.er1 >conftest.err
5105-  rm -f conftest.er1
5106-  cat conftest.err >&5
5107-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5108-  (exit $ac_status); } &&
5109-	 { ac_try='test -z "$ac_cxx_werror_flag"
5110-			 || test ! -s conftest.err'
5111-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5112-  (eval $ac_try) 2>&5
5113-  ac_status=$?
5114-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5115-  (exit $ac_status); }; } &&
5116-	 { ac_try='test -s conftest$ac_exeext'
5117-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5118-  (eval $ac_try) 2>&5
5119-  ac_status=$?
5120-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5121-  (exit $ac_status); }; }; then
5122-  ac_cv_lib_posix_remove=yes
5123-else
5124-  echo "$as_me: failed program was:" >&5
5125-sed 's/^/| /' conftest.$ac_ext >&5
5126-
5127-ac_cv_lib_posix_remove=no
5128-fi
5129-rm -f conftest.err conftest.$ac_objext \
5130-      conftest$ac_exeext conftest.$ac_ext
5131-LIBS=$ac_check_lib_save_LIBS
5132-fi
5133-echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
5134-echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
5135-if test $ac_cv_lib_posix_remove = yes; then
5136-  X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
5137-fi
5138-
5139-    fi
5140-
5141-    # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
5142-    echo "$as_me:$LINENO: checking for shmat" >&5
5143-echo $ECHO_N "checking for shmat... $ECHO_C" >&6
5144-if test "${ac_cv_func_shmat+set}" = set; then
5145-  echo $ECHO_N "(cached) $ECHO_C" >&6
5146-else
5147-  cat >conftest.$ac_ext <<_ACEOF
5148-/* confdefs.h.  */
5149-_ACEOF
5150-cat confdefs.h >>conftest.$ac_ext
5151-cat >>conftest.$ac_ext <<_ACEOF
5152-/* end confdefs.h.  */
5153-/* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
5154-   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5155-#define shmat innocuous_shmat
5156-
5157-/* System header to define __stub macros and hopefully few prototypes,
5158-    which can conflict with char shmat (); below.
5159-    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5160-    <limits.h> exists even on freestanding compilers.  */
5161-
5162-#ifdef __STDC__
5163-# include <limits.h>
5164-#else
5165-# include <assert.h>
5166-#endif
5167-
5168-#undef shmat
5169-
5170-/* Override any gcc2 internal prototype to avoid an error.  */
5171-#ifdef __cplusplus
5172-extern "C"
5173-{
5174-#endif
5175-/* We use char because int might match the return type of a gcc2
5176-   builtin and then its argument prototype would still apply.  */
5177-char shmat ();
5178-/* The GNU C library defines this for functions which it implements
5179-    to always fail with ENOSYS.  Some functions are actually named
5180-    something starting with __ and the normal name is an alias.  */
5181-#if defined (__stub_shmat) || defined (__stub___shmat)
5182-choke me
5183-#else
5184-char (*f) () = shmat;
5185-#endif
5186-#ifdef __cplusplus
5187-}
5188-#endif
5189-
5190-int
5191-main ()
5192-{
5193-return f != shmat;
5194-  ;
5195-  return 0;
5196-}
5197-_ACEOF
5198-rm -f conftest.$ac_objext conftest$ac_exeext
5199-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5200-  (eval $ac_link) 2>conftest.er1
5201-  ac_status=$?
5202-  grep -v '^ *+' conftest.er1 >conftest.err
5203-  rm -f conftest.er1
5204-  cat conftest.err >&5
5205-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5206-  (exit $ac_status); } &&
5207-	 { ac_try='test -z "$ac_cxx_werror_flag"
5208-			 || test ! -s conftest.err'
5209-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5210-  (eval $ac_try) 2>&5
5211-  ac_status=$?
5212-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5213-  (exit $ac_status); }; } &&
5214-	 { ac_try='test -s conftest$ac_exeext'
5215-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5216-  (eval $ac_try) 2>&5
5217-  ac_status=$?
5218-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5219-  (exit $ac_status); }; }; then
5220-  ac_cv_func_shmat=yes
5221-else
5222-  echo "$as_me: failed program was:" >&5
5223-sed 's/^/| /' conftest.$ac_ext >&5
5224-
5225-ac_cv_func_shmat=no
5226-fi
5227-rm -f conftest.err conftest.$ac_objext \
5228-      conftest$ac_exeext conftest.$ac_ext
5229-fi
5230-echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5231-echo "${ECHO_T}$ac_cv_func_shmat" >&6
5232-
5233-    if test $ac_cv_func_shmat = no; then
5234-      echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5235-echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
5236-if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5237-  echo $ECHO_N "(cached) $ECHO_C" >&6
5238-else
5239-  ac_check_lib_save_LIBS=$LIBS
5240-LIBS="-lipc  $LIBS"
5241-cat >conftest.$ac_ext <<_ACEOF
5242-/* confdefs.h.  */
5243-_ACEOF
5244-cat confdefs.h >>conftest.$ac_ext
5245-cat >>conftest.$ac_ext <<_ACEOF
5246-/* end confdefs.h.  */
5247-
5248-/* Override any gcc2 internal prototype to avoid an error.  */
5249-#ifdef __cplusplus
5250-extern "C"
5251-#endif
5252-/* We use char because int might match the return type of a gcc2
5253-   builtin and then its argument prototype would still apply.  */
5254-char shmat ();
5255-int
5256-main ()
5257-{
5258-shmat ();
5259-  ;
5260-  return 0;
5261-}
5262-_ACEOF
5263-rm -f conftest.$ac_objext conftest$ac_exeext
5264-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5265-  (eval $ac_link) 2>conftest.er1
5266-  ac_status=$?
5267-  grep -v '^ *+' conftest.er1 >conftest.err
5268-  rm -f conftest.er1
5269-  cat conftest.err >&5
5270-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5271-  (exit $ac_status); } &&
5272-	 { ac_try='test -z "$ac_cxx_werror_flag"
5273-			 || test ! -s conftest.err'
5274-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5275-  (eval $ac_try) 2>&5
5276-  ac_status=$?
5277-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5278-  (exit $ac_status); }; } &&
5279-	 { ac_try='test -s conftest$ac_exeext'
5280-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5281-  (eval $ac_try) 2>&5
5282-  ac_status=$?
5283-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5284-  (exit $ac_status); }; }; then
5285-  ac_cv_lib_ipc_shmat=yes
5286-else
5287-  echo "$as_me: failed program was:" >&5
5288-sed 's/^/| /' conftest.$ac_ext >&5
5289-
5290-ac_cv_lib_ipc_shmat=no
5291-fi
5292-rm -f conftest.err conftest.$ac_objext \
5293-      conftest$ac_exeext conftest.$ac_ext
5294-LIBS=$ac_check_lib_save_LIBS
5295-fi
5296-echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5297-echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
5298-if test $ac_cv_lib_ipc_shmat = yes; then
5299-  X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5300-fi
5301-
5302-    fi
5303-  fi
5304-
5305-  # Check for libraries that X11R6 Xt/Xaw programs need.
5306-  ac_save_LDFLAGS=$LDFLAGS
5307-  test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5308-  # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5309-  # check for ICE first), but we must link in the order -lSM -lICE or
5310-  # we get undefined symbols.  So assume we have SM if we have ICE.
5311-  # These have to be linked with before -lX11, unlike the other
5312-  # libraries we check for below, so use a different variable.
5313-  # John Interrante, Karl Berry
5314-  echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5315-echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
5316-if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5317-  echo $ECHO_N "(cached) $ECHO_C" >&6
5318-else
5319-  ac_check_lib_save_LIBS=$LIBS
5320-LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5321-cat >conftest.$ac_ext <<_ACEOF
5322-/* confdefs.h.  */
5323-_ACEOF
5324-cat confdefs.h >>conftest.$ac_ext
5325-cat >>conftest.$ac_ext <<_ACEOF
5326-/* end confdefs.h.  */
5327-
5328-/* Override any gcc2 internal prototype to avoid an error.  */
5329-#ifdef __cplusplus
5330-extern "C"
5331-#endif
5332-/* We use char because int might match the return type of a gcc2
5333-   builtin and then its argument prototype would still apply.  */
5334-char IceConnectionNumber ();
5335-int
5336-main ()
5337-{
5338-IceConnectionNumber ();
5339-  ;
5340-  return 0;
5341-}
5342-_ACEOF
5343-rm -f conftest.$ac_objext conftest$ac_exeext
5344-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5345-  (eval $ac_link) 2>conftest.er1
5346-  ac_status=$?
5347-  grep -v '^ *+' conftest.er1 >conftest.err
5348-  rm -f conftest.er1
5349-  cat conftest.err >&5
5350-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5351-  (exit $ac_status); } &&
5352-	 { ac_try='test -z "$ac_cxx_werror_flag"
5353-			 || test ! -s conftest.err'
5354-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5355-  (eval $ac_try) 2>&5
5356-  ac_status=$?
5357-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5358-  (exit $ac_status); }; } &&
5359-	 { ac_try='test -s conftest$ac_exeext'
5360-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5361-  (eval $ac_try) 2>&5
5362-  ac_status=$?
5363-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5364-  (exit $ac_status); }; }; then
5365-  ac_cv_lib_ICE_IceConnectionNumber=yes
5366-else
5367-  echo "$as_me: failed program was:" >&5
5368-sed 's/^/| /' conftest.$ac_ext >&5
5369-
5370-ac_cv_lib_ICE_IceConnectionNumber=no
5371-fi
5372-rm -f conftest.err conftest.$ac_objext \
5373-      conftest$ac_exeext conftest.$ac_ext
5374-LIBS=$ac_check_lib_save_LIBS
5375-fi
5376-echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5377-echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
5378-if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5379-  X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
5380-fi
5381-
5382-  LDFLAGS=$ac_save_LDFLAGS
5383-
5384-fi
5385-
5386-
5387-
5388-ac_help="$ac_help
5389-  --with-symbols          give -g flag to compiler to produce debug symbols
5390-  --with-info             define INFO at compile time to get basic log output
5391-  --with-valgrind         clean up allocated buffers to avoid valgrind warnings
5392-  --with-version          use this version for produced libraries"
5393-
5394-
5395-
5396-
5397-echo "$as_me:$LINENO: checking for FreeBSD environment" >&5
5398-echo $ECHO_N "checking for FreeBSD environment... $ECHO_C" >&6
5399-if test "${nxconf_cv_freebsd+set}" = set; then
5400-  echo $ECHO_N "(cached) $ECHO_C" >&6
5401-else
5402-  cat >conftest.$ac_ext <<_ACEOF
5403-/* confdefs.h.  */
5404-_ACEOF
5405-cat confdefs.h >>conftest.$ac_ext
5406-cat >>conftest.$ac_ext <<_ACEOF
5407-/* end confdefs.h.  */
5408-
5409-int
5410-main ()
5411-{
5412-return __FreeBSD__;
5413-  ;
5414-  return 0;
5415-}
5416-_ACEOF
5417-rm -f conftest.$ac_objext
5418-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5419-  (eval $ac_compile) 2>conftest.er1
5420-  ac_status=$?
5421-  grep -v '^ *+' conftest.er1 >conftest.err
5422-  rm -f conftest.er1
5423-  cat conftest.err >&5
5424-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5425-  (exit $ac_status); } &&
5426-	 { ac_try='test -z "$ac_cxx_werror_flag"
5427-			 || test ! -s conftest.err'
5428-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5429-  (eval $ac_try) 2>&5
5430-  ac_status=$?
5431-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5432-  (exit $ac_status); }; } &&
5433-	 { ac_try='test -s conftest.$ac_objext'
5434-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5435-  (eval $ac_try) 2>&5
5436-  ac_status=$?
5437-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5438-  (exit $ac_status); }; }; then
5439-  nxconf_cv_freebsd=yes
5440-else
5441-  echo "$as_me: failed program was:" >&5
5442-sed 's/^/| /' conftest.$ac_ext >&5
5443-
5444-nxconf_cv_freebsd=no
5445-fi
5446-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5447-rm -f conftest*
5448-fi
5449-echo "$as_me:$LINENO: result: $nxconf_cv_freebsd" >&5
5450-echo "${ECHO_T}$nxconf_cv_freebsd" >&6
5451-FreeBSD=
5452-test "$nxconf_cv_freebsd" = yes && FreeBSD=yes
5453-
5454-
5455-
5456-echo "$as_me:$LINENO: checking for Cygwin32 environment" >&5
5457-echo $ECHO_N "checking for Cygwin32 environment... $ECHO_C" >&6
5458-if test "${nxconf_cv_cygwin32+set}" = set; then
5459-  echo $ECHO_N "(cached) $ECHO_C" >&6
5460-else
5461-  cat >conftest.$ac_ext <<_ACEOF
5462-/* confdefs.h.  */
5463-_ACEOF
5464-cat confdefs.h >>conftest.$ac_ext
5465-cat >>conftest.$ac_ext <<_ACEOF
5466-/* end confdefs.h.  */
5467-
5468-int
5469-main ()
5470-{
5471-return __CYGWIN32__;
5472-  ;
5473-  return 0;
5474-}
5475-_ACEOF
5476-rm -f conftest.$ac_objext
5477-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5478-  (eval $ac_compile) 2>conftest.er1
5479-  ac_status=$?
5480-  grep -v '^ *+' conftest.er1 >conftest.err
5481-  rm -f conftest.er1
5482-  cat conftest.err >&5
5483-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5484-  (exit $ac_status); } &&
5485-	 { ac_try='test -z "$ac_cxx_werror_flag"
5486-			 || test ! -s conftest.err'
5487-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5488-  (eval $ac_try) 2>&5
5489-  ac_status=$?
5490-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5491-  (exit $ac_status); }; } &&
5492-	 { ac_try='test -s conftest.$ac_objext'
5493-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5494-  (eval $ac_try) 2>&5
5495-  ac_status=$?
5496-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5497-  (exit $ac_status); }; }; then
5498-  nxconf_cv_cygwin32=yes
5499-else
5500-  echo "$as_me: failed program was:" >&5
5501-sed 's/^/| /' conftest.$ac_ext >&5
5502-
5503-nxconf_cv_cygwin32=no
5504-fi
5505-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5506-rm -f conftest*
5507-fi
5508-echo "$as_me:$LINENO: result: $nxconf_cv_cygwin32" >&5
5509-echo "${ECHO_T}$nxconf_cv_cygwin32" >&6
5510-CYGWIN32=
5511-test "$nxconf_cv_cygwin32" = yes && CYGWIN32=yes
5512-
5513-
5514-
5515-echo "$as_me:$LINENO: checking for Darwin environment" >&5
5516-echo $ECHO_N "checking for Darwin environment... $ECHO_C" >&6
5517-if test "${nxconf_cv_darwin+set}" = set; then
5518-  echo $ECHO_N "(cached) $ECHO_C" >&6
5519-else
5520-  cat >conftest.$ac_ext <<_ACEOF
5521-/* confdefs.h.  */
5522-_ACEOF
5523-cat confdefs.h >>conftest.$ac_ext
5524-cat >>conftest.$ac_ext <<_ACEOF
5525-/* end confdefs.h.  */
5526-
5527-int
5528-main ()
5529-{
5530-return __APPLE__;
5531-  ;
5532-  return 0;
5533-}
5534-_ACEOF
5535-rm -f conftest.$ac_objext
5536-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5537-  (eval $ac_compile) 2>conftest.er1
5538-  ac_status=$?
5539-  grep -v '^ *+' conftest.er1 >conftest.err
5540-  rm -f conftest.er1
5541-  cat conftest.err >&5
5542-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5543-  (exit $ac_status); } &&
5544-	 { ac_try='test -z "$ac_cxx_werror_flag"
5545-			 || test ! -s conftest.err'
5546-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5547-  (eval $ac_try) 2>&5
5548-  ac_status=$?
5549-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5550-  (exit $ac_status); }; } &&
5551-	 { ac_try='test -s conftest.$ac_objext'
5552-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5553-  (eval $ac_try) 2>&5
5554-  ac_status=$?
5555-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5556-  (exit $ac_status); }; }; then
5557-  nxconf_cv_darwin=yes
5558-else
5559-  echo "$as_me: failed program was:" >&5
5560-sed 's/^/| /' conftest.$ac_ext >&5
5561-
5562-nxconf_cv_darwin=no
5563-fi
5564-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5565-rm -f conftest*
5566-fi
5567-echo "$as_me:$LINENO: result: $nxconf_cv_darwin" >&5
5568-echo "${ECHO_T}$nxconf_cv_darwin" >&6
5569-DARWIN=
5570-test "$nxconf_cv_darwin" = yes && DARWIN=yes
5571-
5572-
5573-
5574-echo "$as_me:$LINENO: checking for SunOS environment" >&5
5575-echo $ECHO_N "checking for SunOS environment... $ECHO_C" >&6
5576-if test "${nxconf_cv_sun+set}" = set; then
5577-  echo $ECHO_N "(cached) $ECHO_C" >&6
5578-else
5579-  cat >conftest.$ac_ext <<_ACEOF
5580-/* confdefs.h.  */
5581-_ACEOF
5582-cat confdefs.h >>conftest.$ac_ext
5583-cat >>conftest.$ac_ext <<_ACEOF
5584-/* end confdefs.h.  */
5585-
5586-int
5587-main ()
5588-{
5589-return __sun;
5590-  ;
5591-  return 0;
5592-}
5593-_ACEOF
5594-rm -f conftest.$ac_objext
5595-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5596-  (eval $ac_compile) 2>conftest.er1
5597-  ac_status=$?
5598-  grep -v '^ *+' conftest.er1 >conftest.err
5599-  rm -f conftest.er1
5600-  cat conftest.err >&5
5601-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5602-  (exit $ac_status); } &&
5603-	 { ac_try='test -z "$ac_cxx_werror_flag"
5604-			 || test ! -s conftest.err'
5605-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5606-  (eval $ac_try) 2>&5
5607-  ac_status=$?
5608-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5609-  (exit $ac_status); }; } &&
5610-	 { ac_try='test -s conftest.$ac_objext'
5611-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5612-  (eval $ac_try) 2>&5
5613-  ac_status=$?
5614-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5615-  (exit $ac_status); }; }; then
5616-  nxconf_cv_sun=yes
5617-else
5618-  echo "$as_me: failed program was:" >&5
5619-sed 's/^/| /' conftest.$ac_ext >&5
5620-
5621-nxconf_cv_sun=no
5622-fi
5623-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5624-rm -f conftest*
5625-fi
5626-echo "$as_me:$LINENO: result: $nxconf_cv_sun" >&5
5627-echo "${ECHO_T}$nxconf_cv_sun" >&6
5628-SUN=
5629-test "$nxconf_cv_sun" = yes && SUN=yes
5630-
5631-
5632-
5633-
5634-if test "${with_version}" = yes; then
5635-  VERSION=${ac_option}
5636-else
5637-  VERSION=`cat VERSION`
5638-fi
5639-echo -e "compiling version ${VERSION}"
5640-
5641-LIBVERSION=`echo ${VERSION} | cut -d '.' -f 1`
5642-
5643-CXXFLAGS="$CXXFLAGS -DVERSION=\\\"${VERSION}\\\""
5644-CPPFLAGS="$CPPFLAGS -DVERSION=\\\"${VERSION}\\\""
5645-
5646-
5647-if test "${with_symbols}" = yes; then
5648-  echo -e "enabling production of debug symbols"
5649-  CXXFLAGS="-g $CXXFLAGS"
5650-  CPPFLAGS="-g $CPPFLAGS"
5651-else
5652-  echo -e "disabling production of debug symbols"
5653-fi
5654-
5655-
5656-if test "${with_info}" = yes; then
5657-  echo -e "enabling info output in the log file"
5658-  CXXFLAGS="$CXXFLAGS -DINFO"
5659-  CPPFLAGS="$CPPFLAGS -DINFO"
5660-else
5661-  echo -e "disabling info output in the log file"
5662-fi
5663-
5664-
5665-if test "${with_valgrind}" = yes; then
5666-  echo -e "enabling valgrind memory checker workarounds"
5667-  CXXFLAGS="$CXXFLAGS -DVALGRIND"
5668-  CPPFLAGS="$CPPFLAGS -DVALGRIND"
5669-else
5670-  echo -e "disabling valgrind memory checker workarounds"
5671-fi
5672-
5673-
5674-if test "$CYGWIN32" = yes; then
5675-    LIBS="$LIBS -L../nxcomp -lXcomp -lstdc++ -Wl,-e,_mainCRTStartup -ljpeg -lpng -lz"
5676-else
5677-    LIBS="$LIBS -L../nxcomp -lXcomp"
5678-fi
5679-
5680-
5681-
5682-
5683-if test -x "../nx-X11/config/makedepend/makedepend" ; then
5684-  MAKEDEPEND=../nx-X11/config/makedepend/makedepend
5685-else
5686-  if test -x "/usr/X11R6/bin/makedepend" ; then
5687-    MAKEDEPEND=/usr/X11R6/bin/makedepend
5688-  else
5689-    if test -x "/usr/openwin/bin/makedepend" ; then
5690-      MAKEDEPEND=/usr/openwin/bin/makedepend
5691-    else
5692-      MAKEDEPEND=makedepend
5693-    fi
5694-  fi
5695-fi
5696-
5697-          ac_config_files="$ac_config_files Makefile"
5698-cat >confcache <<\_ACEOF
5699-# This file is a shell script that caches the results of configure
5700-# tests run on this system so they can be shared between configure
5701-# scripts and configure runs, see configure's option --config-cache.
5702-# It is not useful on other systems.  If it contains results you don't
5703-# want to keep, you may remove or edit it.
5704-#
5705-# config.status only pays attention to the cache file if you give it
5706-# the --recheck option to rerun configure.
5707-#
5708-# `ac_cv_env_foo' variables (set or unset) will be overridden when
5709-# loading this file, other *unset* `ac_cv_foo' will be assigned the
5710-# following values.
5711-
5712-_ACEOF
5713-
5714-# The following way of writing the cache mishandles newlines in values,
5715-# but we know of no workaround that is simple, portable, and efficient.
5716-# So, don't put newlines in cache variables' values.
5717-# Ultrix sh set writes to stderr and can't be redirected directly,
5718-# and sets the high bit in the cache file unless we assign to the vars.
5719-{
5720-  (set) 2>&1 |
5721-    case `(ac_space=' '; set | grep ac_space) 2>&1` in
5722-    *ac_space=\ *)
5723-      # `set' does not quote correctly, so add quotes (double-quote
5724-      # substitution turns \\\\ into \\, and sed turns \\ into \).
5725-      sed -n \
5726-	"s/'/'\\\\''/g;
5727-	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5728-      ;;
5729-    *)
5730-      # `set' quotes correctly as required by POSIX, so do not add quotes.
5731-      sed -n \
5732-	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5733-      ;;
5734-    esac;
5735-} |
5736-  sed '
5737-     t clear
5738-     : clear
5739-     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5740-     t end
5741-     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5742-     : end' >>confcache
5743-if diff $cache_file confcache >/dev/null 2>&1; then :; else
5744-  if test -w $cache_file; then
5745-    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5746-    cat confcache >$cache_file
5747-  else
5748-    echo "not updating unwritable cache $cache_file"
5749-  fi
5750-fi
5751-rm -f confcache
5752-
5753-test "x$prefix" = xNONE && prefix=$ac_default_prefix
5754-# Let make expand exec_prefix.
5755-test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5756-
5757-# VPATH may cause trouble with some makes, so we remove $(srcdir),
5758-# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5759-# trailing colons and then remove the whole line if VPATH becomes empty
5760-# (actually we leave an empty line to preserve line numbers).
5761-if test "x$srcdir" = x.; then
5762-  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
5763-s/:*\$(srcdir):*/:/;
5764-s/:*\${srcdir}:*/:/;
5765-s/:*@srcdir@:*/:/;
5766-s/^\([^=]*=[	 ]*\):*/\1/;
5767-s/:*$//;
5768-s/^[^=]*=[	 ]*$//;
5769-}'
5770-fi
5771-
5772-# Transform confdefs.h into DEFS.
5773-# Protect against shell expansion while executing Makefile rules.
5774-# Protect against Makefile macro expansion.
5775-#
5776-# If the first sed substitution is executed (which looks for macros that
5777-# take arguments), then we branch to the quote section.  Otherwise,
5778-# look for a macro that doesn't take arguments.
5779-cat >confdef2opt.sed <<\_ACEOF
5780-t clear
5781-: clear
5782-s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\),-D\1=\2,g
5783-t quote
5784-s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\),-D\1=\2,g
5785-t quote
5786-d
5787-: quote
5788-s,[	 `~#$^&*(){}\\|;'"<>?],\\&,g
5789-s,\[,\\&,g
5790-s,\],\\&,g
5791-s,\$,$$,g
5792-p
5793-_ACEOF
5794-# We use echo to avoid assuming a particular line-breaking character.
5795-# The extra dot is to prevent the shell from consuming trailing
5796-# line-breaks from the sub-command output.  A line-break within
5797-# single-quotes doesn't work because, if this script is created in a
5798-# platform that uses two characters for line-breaks (e.g., DOS), tr
5799-# would break.
5800-ac_LF_and_DOT=`echo; echo .`
5801-DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
5802-rm -f confdef2opt.sed
5803-
5804-
5805-ac_libobjs=
5806-ac_ltlibobjs=
5807-for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
5808-  # 1. Remove the extension, and $U if already installed.
5809-  ac_i=`echo "$ac_i" |
5810-	 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5811-  # 2. Add them.
5812-  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
5813-  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
5814-done
5815-LIB@&t@OBJS=$ac_libobjs
5816-
5817-LTLIBOBJS=$ac_ltlibobjs
5818-
5819-
5820-
5821-: ${CONFIG_STATUS=./config.status}
5822-ac_clean_files_save=$ac_clean_files
5823-ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5824-{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5825-echo "$as_me: creating $CONFIG_STATUS" >&6;}
5826-cat >$CONFIG_STATUS <<_ACEOF
5827-#! $SHELL
5828-# Generated by $as_me.
5829-# Run this file to recreate the current configuration.
5830-# Compiler output produced by configure, useful for debugging
5831-# configure, is in config.log if it exists.
5832-
5833-debug=false
5834-ac_cs_recheck=false
5835-ac_cs_silent=false
5836-SHELL=\${CONFIG_SHELL-$SHELL}
5837-_ACEOF
5838-
5839-cat >>$CONFIG_STATUS <<\_ACEOF
5840-## --------------------- ##
5841-## M4sh Initialization.  ##
5842-## --------------------- ##
5843-
5844-# Be Bourne compatible
5845-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5846-  emulate sh
5847-  NULLCMD=:
5848-  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5849-  # is contrary to our usage.  Disable this feature.
5850-  alias -g '${1+"$@"}'='"$@"'
5851-elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5852-  set -o posix
5853-fi
5854-DUALCASE=1; export DUALCASE # for MKS sh
5855-
5856-# Support unset when possible.
5857-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5858-  as_unset=unset
5859-else
5860-  as_unset=false
5861-fi
5862-
5863-
5864-# Work around bugs in pre-3.0 UWIN ksh.
5865-$as_unset ENV MAIL MAILPATH
5866-PS1='$ '
5867-PS2='> '
5868-PS4='+ '
5869-
5870-# NLS nuisances.
5871-for as_var in \
5872-  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5873-  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5874-  LC_TELEPHONE LC_TIME
5875-do
5876-  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5877-    eval $as_var=C; export $as_var
5878-  else
5879-    $as_unset $as_var
5880-  fi
5881-done
5882-
5883-# Required to use basename.
5884-if expr a : '\(a\)' >/dev/null 2>&1; then
5885-  as_expr=expr
5886-else
5887-  as_expr=false
5888-fi
5889-
5890-if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5891-  as_basename=basename
5892-else
5893-  as_basename=false
5894-fi
5895-
5896-
5897-# Name of the executable.
5898-as_me=`$as_basename "$0" ||
5899-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5900-	 X"$0" : 'X\(//\)$' \| \
5901-	 X"$0" : 'X\(/\)$' \| \
5902-	 .     : '\(.\)' 2>/dev/null ||
5903-echo X/"$0" |
5904-    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5905-  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
5906-  	  /^X\/\(\/\).*/{ s//\1/; q; }
5907-  	  s/.*/./; q'`
5908-
5909-
5910-# PATH needs CR, and LINENO needs CR and PATH.
5911-# Avoid depending upon Character Ranges.
5912-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5913-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5914-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5915-as_cr_digits='0123456789'
5916-as_cr_alnum=$as_cr_Letters$as_cr_digits
5917-
5918-# The user is always right.
5919-if test "${PATH_SEPARATOR+set}" != set; then
5920-  echo "#! /bin/sh" >conf$$.sh
5921-  echo  "exit 0"   >>conf$$.sh
5922-  chmod +x conf$$.sh
5923-  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5924-    PATH_SEPARATOR=';'
5925-  else
5926-    PATH_SEPARATOR=:
5927-  fi
5928-  rm -f conf$$.sh
5929-fi
5930-
5931-
5932-  as_lineno_1=$LINENO
5933-  as_lineno_2=$LINENO
5934-  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5935-  test "x$as_lineno_1" != "x$as_lineno_2" &&
5936-  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
5937-  # Find who we are.  Look in the path if we contain no path at all
5938-  # relative or not.
5939-  case $0 in
5940-    *[\\/]* ) as_myself=$0 ;;
5941-    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5942-for as_dir in $PATH
5943-do
5944-  IFS=$as_save_IFS
5945-  test -z "$as_dir" && as_dir=.
5946-  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5947-done
5948-
5949-       ;;
5950-  esac
5951-  # We did not find ourselves, most probably we were run as `sh COMMAND'
5952-  # in which case we are not to be found in the path.
5953-  if test "x$as_myself" = x; then
5954-    as_myself=$0
5955-  fi
5956-  if test ! -f "$as_myself"; then
5957-    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5958-echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5959-   { (exit 1); exit 1; }; }
5960-  fi
5961-  case $CONFIG_SHELL in
5962-  '')
5963-    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5964-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5965-do
5966-  IFS=$as_save_IFS
5967-  test -z "$as_dir" && as_dir=.
5968-  for as_base in sh bash ksh sh5; do
5969-	 case $as_dir in
5970-	 /*)
5971-	   if ("$as_dir/$as_base" -c '
5972-  as_lineno_1=$LINENO
5973-  as_lineno_2=$LINENO
5974-  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5975-  test "x$as_lineno_1" != "x$as_lineno_2" &&
5976-  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
5977-	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5978-	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5979-	     CONFIG_SHELL=$as_dir/$as_base
5980-	     export CONFIG_SHELL
5981-	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5982-	   fi;;
5983-	 esac
5984-       done
5985-done
5986-;;
5987-  esac
5988-
5989-  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5990-  # uniformly replaced by the line number.  The first 'sed' inserts a
5991-  # line-number line before each line; the second 'sed' does the real
5992-  # work.  The second script uses 'N' to pair each line-number line
5993-  # with the numbered line, and appends trailing '-' during
5994-  # substitution so that $LINENO is not a special case at line end.
5995-  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5996-  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
5997-  sed '=' <$as_myself |
5998-    sed '
5999-      N
6000-      s,$,-,
6001-      : loop
6002-      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6003-      t loop
6004-      s,-$,,
6005-      s,^['$as_cr_digits']*\n,,
6006-    ' >$as_me.lineno &&
6007-  chmod +x $as_me.lineno ||
6008-    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
6009-echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
6010-   { (exit 1); exit 1; }; }
6011-
6012-  # Don't try to exec as it changes $[0], causing all sort of problems
6013-  # (the dirname of $[0] is not the place where we might find the
6014-  # original and so on.  Autoconf is especially sensible to this).
6015-  . ./$as_me.lineno
6016-  # Exit status is that of the last command.
6017-  exit
6018-}
6019-
6020-
6021-case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
6022-  *c*,-n*) ECHO_N= ECHO_C='
6023-' ECHO_T='	' ;;
6024-  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
6025-  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
6026-esac
6027-
6028-if expr a : '\(a\)' >/dev/null 2>&1; then
6029-  as_expr=expr
6030-else
6031-  as_expr=false
6032-fi
6033-
6034-rm -f conf$$ conf$$.exe conf$$.file
6035-echo >conf$$.file
6036-if ln -s conf$$.file conf$$ 2>/dev/null; then
6037-  # We could just check for DJGPP; but this test a) works b) is more generic
6038-  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
6039-  if test -f conf$$.exe; then
6040-    # Don't use ln at all; we don't have any links
6041-    as_ln_s='cp -p'
6042-  else
6043-    as_ln_s='ln -s'
6044-  fi
6045-elif ln conf$$.file conf$$ 2>/dev/null; then
6046-  as_ln_s=ln
6047-else
6048-  as_ln_s='cp -p'
6049-fi
6050-rm -f conf$$ conf$$.exe conf$$.file
6051-
6052-if mkdir -p . 2>/dev/null; then
6053-  as_mkdir_p=:
6054-else
6055-  test -d ./-p && rmdir ./-p
6056-  as_mkdir_p=false
6057-fi
6058-
6059-as_executable_p="test -f"
6060-
6061-# Sed expression to map a string onto a valid CPP name.
6062-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6063-
6064-# Sed expression to map a string onto a valid variable name.
6065-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6066-
6067-
6068-# IFS
6069-# We need space, tab and new line, in precisely that order.
6070-as_nl='
6071-'
6072-IFS=" 	$as_nl"
6073-
6074-# CDPATH.
6075-$as_unset CDPATH
6076-
6077-exec 6>&1
6078-
6079-# Open the log real soon, to keep \$[0] and so on meaningful, and to
6080-# report actual input values of CONFIG_FILES etc. instead of their
6081-# values after options handling.  Logging --version etc. is OK.
6082-exec 5>>config.log
6083-{
6084-  echo
6085-  sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
6086-@%:@@%:@ Running $as_me. @%:@@%:@
6087-_ASBOX
6088-} >&5
6089-cat >&5 <<_CSEOF
6090-
6091-This file was extended by $as_me, which was
6092-generated by GNU Autoconf 2.59.  Invocation command line was
6093-
6094-  CONFIG_FILES    = $CONFIG_FILES
6095-  CONFIG_HEADERS  = $CONFIG_HEADERS
6096-  CONFIG_LINKS    = $CONFIG_LINKS
6097-  CONFIG_COMMANDS = $CONFIG_COMMANDS
6098-  $ $0 $@
6099-
6100-_CSEOF
6101-echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
6102-echo >&5
6103-_ACEOF
6104-
6105-# Files that config.status was made for.
6106-if test -n "$ac_config_files"; then
6107-  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
6108-fi
6109-
6110-if test -n "$ac_config_headers"; then
6111-  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
6112-fi
6113-
6114-if test -n "$ac_config_links"; then
6115-  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
6116-fi
6117-
6118-if test -n "$ac_config_commands"; then
6119-  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
6120-fi
6121-
6122-cat >>$CONFIG_STATUS <<\_ACEOF
6123-
6124-ac_cs_usage="\
6125-\`$as_me' instantiates files from templates according to the
6126-current configuration.
6127-
6128-Usage: $0 [OPTIONS] [FILE]...
6129-
6130-  -h, --help       print this help, then exit
6131-  -V, --version    print version number, then exit
6132-  -q, --quiet      do not print progress messages
6133-  -d, --debug      don't remove temporary files
6134-      --recheck    update $as_me by reconfiguring in the same conditions
6135-  --file=FILE[:TEMPLATE]
6136-		   instantiate the configuration file FILE
6137-
6138-Configuration files:
6139-$config_files
6140-
6141-Report bugs to <bug-autoconf@gnu.org>."
6142-_ACEOF
6143-
6144-cat >>$CONFIG_STATUS <<_ACEOF
6145-ac_cs_version="\\
6146-config.status
6147-configured by $0, generated by GNU Autoconf 2.59,
6148-  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
6149-
6150-Copyright (C) 2003 Free Software Foundation, Inc.
6151-This config.status script is free software; the Free Software Foundation
6152-gives unlimited permission to copy, distribute and modify it."
6153-srcdir=$srcdir
6154-INSTALL="$INSTALL"
6155-_ACEOF
6156-
6157-cat >>$CONFIG_STATUS <<\_ACEOF
6158-# If no file are specified by the user, then we need to provide default
6159-# value.  By we need to know if files were specified by the user.
6160-ac_need_defaults=:
6161-while test $# != 0
6162-do
6163-  case $1 in
6164-  --*=*)
6165-    ac_option=`expr "x$1" : 'x\([^=]*\)='`
6166-    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
6167-    ac_shift=:
6168-    ;;
6169-  -*)
6170-    ac_option=$1
6171-    ac_optarg=$2
6172-    ac_shift=shift
6173-    ;;
6174-  *) # This is not an option, so the user has probably given explicit
6175-     # arguments.
6176-     ac_option=$1
6177-     ac_need_defaults=false;;
6178-  esac
6179-
6180-  case $ac_option in
6181-  # Handling of the options.
6182-_ACEOF
6183-cat >>$CONFIG_STATUS <<\_ACEOF
6184-  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6185-    ac_cs_recheck=: ;;
6186-  --version | --vers* | -V )
6187-    echo "$ac_cs_version"; exit 0 ;;
6188-  --he | --h)
6189-    # Conflict between --help and --header
6190-    { { echo "$as_me:$LINENO: error: ambiguous option: $1
6191-Try \`$0 --help' for more information." >&5
6192-echo "$as_me: error: ambiguous option: $1
6193-Try \`$0 --help' for more information." >&2;}
6194-   { (exit 1); exit 1; }; };;
6195-  --help | --hel | -h )
6196-    echo "$ac_cs_usage"; exit 0 ;;
6197-  --debug | --d* | -d )
6198-    debug=: ;;
6199-  --file | --fil | --fi | --f )
6200-    $ac_shift
6201-    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
6202-    ac_need_defaults=false;;
6203-  --header | --heade | --head | --hea )
6204-    $ac_shift
6205-    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
6206-    ac_need_defaults=false;;
6207-  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6208-  | -silent | --silent | --silen | --sile | --sil | --si | --s)
6209-    ac_cs_silent=: ;;
6210-
6211-  # This is an error.
6212-  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
6213-Try \`$0 --help' for more information." >&5
6214-echo "$as_me: error: unrecognized option: $1
6215-Try \`$0 --help' for more information." >&2;}
6216-   { (exit 1); exit 1; }; } ;;
6217-
6218-  *) ac_config_targets="$ac_config_targets $1" ;;
6219-
6220-  esac
6221-  shift
6222-done
6223-
6224-ac_configure_extra_args=
6225-
6226-if $ac_cs_silent; then
6227-  exec 6>/dev/null
6228-  ac_configure_extra_args="$ac_configure_extra_args --silent"
6229-fi
6230-
6231-_ACEOF
6232-cat >>$CONFIG_STATUS <<_ACEOF
6233-if \$ac_cs_recheck; then
6234-  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6235-  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6236-fi
6237-
6238-_ACEOF
6239-
6240-
6241-
6242-
6243-
6244-cat >>$CONFIG_STATUS <<\_ACEOF
6245-for ac_config_target in $ac_config_targets
6246-do
6247-  case "$ac_config_target" in
6248-  # Handling of arguments.
6249-  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6250-  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6251-echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6252-   { (exit 1); exit 1; }; };;
6253-  esac
6254-done
6255-
6256-# If the user did not use the arguments to specify the items to instantiate,
6257-# then the envvar interface is used.  Set only those that are not.
6258-# We use the long form for the default assignment because of an extremely
6259-# bizarre bug on SunOS 4.1.3.
6260-if $ac_need_defaults; then
6261-  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6262-fi
6263-
6264-# Have a temporary directory for convenience.  Make it in the build tree
6265-# simply because there is no reason to put it here, and in addition,
6266-# creating and moving files from /tmp can sometimes cause problems.
6267-# Create a temporary directory, and hook for its removal unless debugging.
6268-$debug ||
6269-{
6270-  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
6271-  trap '{ (exit 1); exit 1; }' 1 2 13 15
6272-}
6273-
6274-# Create a (secure) tmp directory for tmp files.
6275-
6276-{
6277-  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
6278-  test -n "$tmp" && test -d "$tmp"
6279-}  ||
6280-{
6281-  tmp=./confstat$$-$RANDOM
6282-  (umask 077 && mkdir $tmp)
6283-} ||
6284-{
6285-   echo "$me: cannot create a temporary directory in ." >&2
6286-   { (exit 1); exit 1; }
6287-}
6288-
6289-_ACEOF
6290-
6291-cat >>$CONFIG_STATUS <<_ACEOF
6292-
6293-#
6294-# CONFIG_FILES section.
6295-#
6296-
6297-# No need to generate the scripts if there are no CONFIG_FILES.
6298-# This happens for instance when ./config.status config.h
6299-if test -n "\$CONFIG_FILES"; then
6300-  # Protect against being on the right side of a sed subst in config.status.
6301-  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6302-   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6303-s,@SHELL@,$SHELL,;t t
6304-s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6305-s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6306-s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6307-s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6308-s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6309-s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6310-s,@exec_prefix@,$exec_prefix,;t t
6311-s,@prefix@,$prefix,;t t
6312-s,@program_transform_name@,$program_transform_name,;t t
6313-s,@bindir@,$bindir,;t t
6314-s,@sbindir@,$sbindir,;t t
6315-s,@libexecdir@,$libexecdir,;t t
6316-s,@datadir@,$datadir,;t t
6317-s,@sysconfdir@,$sysconfdir,;t t
6318-s,@sharedstatedir@,$sharedstatedir,;t t
6319-s,@localstatedir@,$localstatedir,;t t
6320-s,@libdir@,$libdir,;t t
6321-s,@includedir@,$includedir,;t t
6322-s,@oldincludedir@,$oldincludedir,;t t
6323-s,@infodir@,$infodir,;t t
6324-s,@mandir@,$mandir,;t t
6325-s,@build_alias@,$build_alias,;t t
6326-s,@host_alias@,$host_alias,;t t
6327-s,@target_alias@,$target_alias,;t t
6328-s,@DEFS@,$DEFS,;t t
6329-s,@ECHO_C@,$ECHO_C,;t t
6330-s,@ECHO_N@,$ECHO_N,;t t
6331-s,@ECHO_T@,$ECHO_T,;t t
6332-s,@LIBS@,$LIBS,;t t
6333-s,@armcxx@,$armcxx,;t t
6334-s,@armcc@,$armcc,;t t
6335-s,@CXX@,$CXX,;t t
6336-s,@CXXFLAGS@,$CXXFLAGS,;t t
6337-s,@LDFLAGS@,$LDFLAGS,;t t
6338-s,@CPPFLAGS@,$CPPFLAGS,;t t
6339-s,@ac_ct_CXX@,$ac_ct_CXX,;t t
6340-s,@EXEEXT@,$EXEEXT,;t t
6341-s,@OBJEXT@,$OBJEXT,;t t
6342-s,@CC@,$CC,;t t
6343-s,@CFLAGS@,$CFLAGS,;t t
6344-s,@ac_ct_CC@,$ac_ct_CC,;t t
6345-s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
6346-s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
6347-s,@INSTALL_DATA@,$INSTALL_DATA,;t t
6348-s,@CXXCPP@,$CXXCPP,;t t
6349-s,@X_CFLAGS@,$X_CFLAGS,;t t
6350-s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
6351-s,@X_LIBS@,$X_LIBS,;t t
6352-s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
6353-s,@LIBVERSION@,$LIBVERSION,;t t
6354-s,@VERSION@,$VERSION,;t t
6355-s,@MAKEDEPEND@,$MAKEDEPEND,;t t
6356-s,@LIB@&t@OBJS@,$LIB@&t@OBJS,;t t
6357-s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6358-CEOF
6359-
6360-_ACEOF
6361-
6362-  cat >>$CONFIG_STATUS <<\_ACEOF
6363-  # Split the substitutions into bite-sized pieces for seds with
6364-  # small command number limits, like on Digital OSF/1 and HP-UX.
6365-  ac_max_sed_lines=48
6366-  ac_sed_frag=1 # Number of current file.
6367-  ac_beg=1 # First line for current file.
6368-  ac_end=$ac_max_sed_lines # Line after last line for current file.
6369-  ac_more_lines=:
6370-  ac_sed_cmds=
6371-  while $ac_more_lines; do
6372-    if test $ac_beg -gt 1; then
6373-      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6374-    else
6375-      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6376-    fi
6377-    if test ! -s $tmp/subs.frag; then
6378-      ac_more_lines=false
6379-    else
6380-      # The purpose of the label and of the branching condition is to
6381-      # speed up the sed processing (if there are no `@' at all, there
6382-      # is no need to browse any of the substitutions).
6383-      # These are the two extra sed commands mentioned above.
6384-      (echo ':t
6385-  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
6386-      if test -z "$ac_sed_cmds"; then
6387-	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
6388-      else
6389-	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6390-      fi
6391-      ac_sed_frag=`expr $ac_sed_frag + 1`
6392-      ac_beg=$ac_end
6393-      ac_end=`expr $ac_end + $ac_max_sed_lines`
6394-    fi
6395-  done
6396-  if test -z "$ac_sed_cmds"; then
6397-    ac_sed_cmds=cat
6398-  fi
6399-fi # test -n "$CONFIG_FILES"
6400-
6401-_ACEOF
6402-cat >>$CONFIG_STATUS <<\_ACEOF
6403-for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
6404-  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6405-  case $ac_file in
6406-  - | *:- | *:-:* ) # input from stdin
6407-	cat >$tmp/stdin
6408-	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6409-	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6410-  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6411-	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6412-  * )   ac_file_in=$ac_file.in ;;
6413-  esac
6414-
6415-  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6416-  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6417-$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6418-	 X"$ac_file" : 'X\(//\)[^/]' \| \
6419-	 X"$ac_file" : 'X\(//\)$' \| \
6420-	 X"$ac_file" : 'X\(/\)' \| \
6421-	 .     : '\(.\)' 2>/dev/null ||
6422-echo X"$ac_file" |
6423-    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6424-  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6425-  	  /^X\(\/\/\)$/{ s//\1/; q; }
6426-  	  /^X\(\/\).*/{ s//\1/; q; }
6427-  	  s/.*/./; q'`
6428-  { if $as_mkdir_p; then
6429-    mkdir -p "$ac_dir"
6430-  else
6431-    as_dir="$ac_dir"
6432-    as_dirs=
6433-    while test ! -d "$as_dir"; do
6434-      as_dirs="$as_dir $as_dirs"
6435-      as_dir=`(dirname "$as_dir") 2>/dev/null ||
6436-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6437-	 X"$as_dir" : 'X\(//\)[^/]' \| \
6438-	 X"$as_dir" : 'X\(//\)$' \| \
6439-	 X"$as_dir" : 'X\(/\)' \| \
6440-	 .     : '\(.\)' 2>/dev/null ||
6441-echo X"$as_dir" |
6442-    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6443-  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6444-  	  /^X\(\/\/\)$/{ s//\1/; q; }
6445-  	  /^X\(\/\).*/{ s//\1/; q; }
6446-  	  s/.*/./; q'`
6447-    done
6448-    test ! -n "$as_dirs" || mkdir $as_dirs
6449-  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6450-echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6451-   { (exit 1); exit 1; }; }; }
6452-
6453-  ac_builddir=.
6454-
6455-if test "$ac_dir" != .; then
6456-  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6457-  # A "../" for each directory in $ac_dir_suffix.
6458-  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6459-else
6460-  ac_dir_suffix= ac_top_builddir=
6461-fi
6462-
6463-case $srcdir in
6464-  .)  # No --srcdir option.  We are building in place.
6465-    ac_srcdir=.
6466-    if test -z "$ac_top_builddir"; then
6467-       ac_top_srcdir=.
6468-    else
6469-       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6470-    fi ;;
6471-  [\\/]* | ?:[\\/]* )  # Absolute path.
6472-    ac_srcdir=$srcdir$ac_dir_suffix;
6473-    ac_top_srcdir=$srcdir ;;
6474-  *) # Relative path.
6475-    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6476-    ac_top_srcdir=$ac_top_builddir$srcdir ;;
6477-esac
6478-
6479-# Do not use `cd foo && pwd` to compute absolute paths, because
6480-# the directories may not exist.
6481-case `pwd` in
6482-.) ac_abs_builddir="$ac_dir";;
6483-*)
6484-  case "$ac_dir" in
6485-  .) ac_abs_builddir=`pwd`;;
6486-  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6487-  *) ac_abs_builddir=`pwd`/"$ac_dir";;
6488-  esac;;
6489-esac
6490-case $ac_abs_builddir in
6491-.) ac_abs_top_builddir=${ac_top_builddir}.;;
6492-*)
6493-  case ${ac_top_builddir}. in
6494-  .) ac_abs_top_builddir=$ac_abs_builddir;;
6495-  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6496-  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6497-  esac;;
6498-esac
6499-case $ac_abs_builddir in
6500-.) ac_abs_srcdir=$ac_srcdir;;
6501-*)
6502-  case $ac_srcdir in
6503-  .) ac_abs_srcdir=$ac_abs_builddir;;
6504-  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6505-  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6506-  esac;;
6507-esac
6508-case $ac_abs_builddir in
6509-.) ac_abs_top_srcdir=$ac_top_srcdir;;
6510-*)
6511-  case $ac_top_srcdir in
6512-  .) ac_abs_top_srcdir=$ac_abs_builddir;;
6513-  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6514-  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6515-  esac;;
6516-esac
6517-
6518-
6519-  case $INSTALL in
6520-  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6521-  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
6522-  esac
6523-
6524-  if test x"$ac_file" != x-; then
6525-    { echo "$as_me:$LINENO: creating $ac_file" >&5
6526-echo "$as_me: creating $ac_file" >&6;}
6527-    rm -f "$ac_file"
6528-  fi
6529-  # Let's still pretend it is `configure' which instantiates (i.e., don't
6530-  # use $as_me), people would be surprised to read:
6531-  #    /* config.h.  Generated by config.status.  */
6532-  if test x"$ac_file" = x-; then
6533-    configure_input=
6534-  else
6535-    configure_input="$ac_file.  "
6536-  fi
6537-  configure_input=$configure_input"Generated from `echo $ac_file_in |
6538-				     sed 's,.*/,,'` by configure."
6539-
6540-  # First look for the input files in the build tree, otherwise in the
6541-  # src tree.
6542-  ac_file_inputs=`IFS=:
6543-    for f in $ac_file_in; do
6544-      case $f in
6545-      -) echo $tmp/stdin ;;
6546-      [\\/$]*)
6547-	 # Absolute (can't be DOS-style, as IFS=:)
6548-	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6549-echo "$as_me: error: cannot find input file: $f" >&2;}
6550-   { (exit 1); exit 1; }; }
6551-	 echo "$f";;
6552-      *) # Relative
6553-	 if test -f "$f"; then
6554-	   # Build tree
6555-	   echo "$f"
6556-	 elif test -f "$srcdir/$f"; then
6557-	   # Source tree
6558-	   echo "$srcdir/$f"
6559-	 else
6560-	   # /dev/null tree
6561-	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6562-echo "$as_me: error: cannot find input file: $f" >&2;}
6563-   { (exit 1); exit 1; }; }
6564-	 fi;;
6565-      esac
6566-    done` || { (exit 1); exit 1; }
6567-_ACEOF
6568-cat >>$CONFIG_STATUS <<_ACEOF
6569-  sed "$ac_vpsub
6570-$extrasub
6571-_ACEOF
6572-cat >>$CONFIG_STATUS <<\_ACEOF
6573-:t
6574-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6575-s,@configure_input@,$configure_input,;t t
6576-s,@srcdir@,$ac_srcdir,;t t
6577-s,@abs_srcdir@,$ac_abs_srcdir,;t t
6578-s,@top_srcdir@,$ac_top_srcdir,;t t
6579-s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
6580-s,@builddir@,$ac_builddir,;t t
6581-s,@abs_builddir@,$ac_abs_builddir,;t t
6582-s,@top_builddir@,$ac_top_builddir,;t t
6583-s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
6584-s,@INSTALL@,$ac_INSTALL,;t t
6585-" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6586-  rm -f $tmp/stdin
6587-  if test x"$ac_file" != x-; then
6588-    mv $tmp/out $ac_file
6589-  else
6590-    cat $tmp/out
6591-    rm -f $tmp/out
6592-  fi
6593-
6594-done
6595-_ACEOF
6596-
6597-cat >>$CONFIG_STATUS <<\_ACEOF
6598-
6599-{ (exit 0); exit 0; }
6600-_ACEOF
6601-chmod +x $CONFIG_STATUS
6602-ac_clean_files=$ac_clean_files_save
6603-
6604-
6605-# configure is writing to config.log, and then calls config.status.
6606-# config.status does its own redirection, appending to config.log.
6607-# Unfortunately, on DOS this fails, as config.log is still kept open
6608-# by configure, so config.status won't be able to write to it; its
6609-# output is simply discarded.  So we exec the FD to /dev/null,
6610-# effectively closing config.log, so it can be properly (re)opened and
6611-# appended to by config.status.  When coming back to configure, we
6612-# need to make the FD available again.
6613-if test "$no_create" != yes; then
6614-  ac_cs_success=:
6615-  ac_config_status_args=
6616-  test "$silent" = yes &&
6617-    ac_config_status_args="$ac_config_status_args --quiet"
6618-  exec 5>/dev/null
6619-  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6620-  exec 5>>config.log
6621-  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6622-  # would make configure fail if this is the last instruction.
6623-  $ac_cs_success || { (exit 1); exit 1; }
6624-fi
6625-
6626diff -urwN nxproxy-orig/autom4te.cache/requests nxproxy/autom4te.cache/requests
6627--- nxproxy-orig/autom4te.cache/requests	2005-11-11 17:27:30.000000000 +0100
6628+++ nxproxy/autom4te.cache/requests	1970-01-01 01:00:00.000000000 +0100
6629@@ -1,115 +0,0 @@
6630-# This file was generated.
6631-# It contains the lists of macros which have been traced.
6632-# It can be safely removed.
6633-
6634-@request = (
6635-             bless( [
6636-                      '0',
6637-                      1,
6638-                      [
6639-                        '/usr/share/autoconf'
6640-                      ],
6641-                      [
6642-                        '/usr/share/autoconf/autoconf/autoconf.m4f',
6643-                        'configure.in'
6644-                      ],
6645-                      {
6646-                        'm4_pattern_forbid' => 1,
6647-                        'AC_CONFIG_LIBOBJ_DIR' => 1,
6648-                        'AC_TYPE_OFF_T' => 1,
6649-                        'AC_C_VOLATILE' => 1,
6650-                        'AC_FUNC_CLOSEDIR_VOID' => 1,
6651-                        'AC_REPLACE_FNMATCH' => 1,
6652-                        'AC_PROG_LIBTOOL' => 1,
6653-                        'AC_FUNC_STAT' => 1,
6654-                        'AC_HEADER_TIME' => 1,
6655-                        'AC_FUNC_WAIT3' => 1,
6656-                        'AM_AUTOMAKE_VERSION' => 1,
6657-                        'AC_STRUCT_TM' => 1,
6658-                        'AC_FUNC_LSTAT' => 1,
6659-                        'AC_TYPE_MODE_T' => 1,
6660-                        'AC_FUNC_GETMNTENT' => 1,
6661-                        'AC_FUNC_STRTOD' => 1,
6662-                        'AC_CHECK_HEADERS' => 1,
6663-                        'AC_FUNC_STRNLEN' => 1,
6664-                        'm4_sinclude' => 1,
6665-                        'AC_PROG_CXX' => 1,
6666-                        'AC_PATH_X' => 1,
6667-                        'AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK' => 1,
6668-                        'AC_PROG_AWK' => 1,
6669-                        '_m4_warn' => 1,
6670-                        'AC_HEADER_STDC' => 1,
6671-                        'AC_HEADER_MAJOR' => 1,
6672-                        'AC_FUNC_ERROR_AT_LINE' => 1,
6673-                        'AC_PROG_GCC_TRADITIONAL' => 1,
6674-                        'AC_LIBSOURCE' => 1,
6675-                        'AC_FUNC_MBRTOWC' => 1,
6676-                        'AC_STRUCT_ST_BLOCKS' => 1,
6677-                        'AC_TYPE_SIGNAL' => 1,
6678-                        'AC_TYPE_UID_T' => 1,
6679-                        'AC_CONFIG_AUX_DIR' => 1,
6680-                        'AC_PROG_MAKE_SET' => 1,
6681-                        'sinclude' => 1,
6682-                        'm4_pattern_allow' => 1,
6683-                        'AC_DEFINE_TRACE_LITERAL' => 1,
6684-                        'AC_FUNC_STRERROR_R' => 1,
6685-                        'AC_PROG_CC' => 1,
6686-                        'AC_FUNC_FORK' => 1,
6687-                        'AC_DECL_SYS_SIGLIST' => 1,
6688-                        'AC_FUNC_VPRINTF' => 1,
6689-                        'AC_FUNC_STRCOLL' => 1,
6690-                        'AC_PROG_YACC' => 1,
6691-                        'AC_INIT' => 1,
6692-                        'AC_STRUCT_TIMEZONE' => 1,
6693-                        'AC_FUNC_CHOWN' => 1,
6694-                        'AC_SUBST' => 1,
6695-                        'AC_FUNC_ALLOCA' => 1,
6696-                        'AC_CANONICAL_HOST' => 1,
6697-                        'AC_FUNC_GETPGRP' => 1,
6698-                        'AC_PROG_RANLIB' => 1,
6699-                        'AM_INIT_AUTOMAKE' => 1,
6700-                        'AC_FUNC_SETPGRP' => 1,
6701-                        'AC_CONFIG_SUBDIRS' => 1,
6702-                        'AC_FUNC_MMAP' => 1,
6703-                        'AC_FUNC_REALLOC' => 1,
6704-                        'AC_TYPE_SIZE_T' => 1,
6705-                        'AC_CONFIG_LINKS' => 1,
6706-                        'AC_CHECK_TYPES' => 1,
6707-                        'AC_CHECK_MEMBERS' => 1,
6708-                        'AM_MAINTAINER_MODE' => 1,
6709-                        'AC_FUNC_UTIME_NULL' => 1,
6710-                        'AC_FUNC_SELECT_ARGTYPES' => 1,
6711-                        'AC_FUNC_STRFTIME' => 1,
6712-                        'AC_HEADER_STAT' => 1,
6713-                        'AC_C_INLINE' => 1,
6714-                        'AC_PROG_CPP' => 1,
6715-                        'AC_TYPE_PID_T' => 1,
6716-                        'AC_C_CONST' => 1,
6717-                        'AC_PROG_LEX' => 1,
6718-                        'AC_CONFIG_FILES' => 1,
6719-                        'include' => 1,
6720-                        'AC_FUNC_SETVBUF_REVERSED' => 1,
6721-                        'AC_PROG_INSTALL' => 1,
6722-                        'AM_GNU_GETTEXT' => 1,
6723-                        'AC_FUNC_OBSTACK' => 1,
6724-                        'AC_CHECK_LIB' => 1,
6725-                        'AC_FUNC_MALLOC' => 1,
6726-                        'AC_FUNC_GETGROUPS' => 1,
6727-                        'AC_FUNC_GETLOADAVG' => 1,
6728-                        'AH_OUTPUT' => 1,
6729-                        'AC_FUNC_FSEEKO' => 1,
6730-                        'AM_PROG_CC_C_O' => 1,
6731-                        'AM_CONDITIONAL' => 1,
6732-                        'AC_CANONICAL_SYSTEM' => 1,
6733-                        'AC_FUNC_MKTIME' => 1,
6734-                        'AC_CONFIG_HEADERS' => 1,
6735-                        'AC_HEADER_SYS_WAIT' => 1,
6736-                        'AC_FUNC_MEMCMP' => 1,
6737-                        'AC_PROG_LN_S' => 1,
6738-                        'm4_include' => 1,
6739-                        'AC_HEADER_DIRENT' => 1,
6740-                        'AC_CHECK_FUNCS' => 1
6741-                      }
6742-                    ], 'Autom4te::Request' )
6743-           );
6744-
6745diff -urwN nxproxy-orig/autom4te.cache/traces.0 nxproxy/autom4te.cache/traces.0
6746--- nxproxy-orig/autom4te.cache/traces.0	2005-11-11 17:27:30.000000000 +0100
6747+++ nxproxy/autom4te.cache/traces.0	1970-01-01 01:00:00.000000000 +0100
6748@@ -1,134 +0,0 @@
6749-m4trace:configure.in:5: -1- AC_INIT([Main.c])
6750-m4trace:configure.in:5: -1- m4_pattern_forbid([^_?A[CHUM]_])
6751-m4trace:configure.in:5: -1- m4_pattern_forbid([_AC_])
6752-m4trace:configure.in:5: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
6753-m4trace:configure.in:5: -1- m4_pattern_allow([^AS_FLAGS$])
6754-m4trace:configure.in:5: -1- m4_pattern_forbid([^_?m4_])
6755-m4trace:configure.in:5: -1- m4_pattern_forbid([^dnl$])
6756-m4trace:configure.in:5: -1- m4_pattern_forbid([^_?AS_])
6757-m4trace:configure.in:5: -1- AC_SUBST([SHELL], [${CONFIG_SHELL-/bin/sh}])
6758-m4trace:configure.in:5: -1- AC_SUBST([PATH_SEPARATOR])
6759-m4trace:configure.in:5: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME],      ['AC_PACKAGE_NAME'])])
6760-m4trace:configure.in:5: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME],   ['AC_PACKAGE_TARNAME'])])
6761-m4trace:configure.in:5: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION],   ['AC_PACKAGE_VERSION'])])
6762-m4trace:configure.in:5: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING],    ['AC_PACKAGE_STRING'])])
6763-m4trace:configure.in:5: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])])
6764-m4trace:configure.in:5: -1- AC_SUBST([exec_prefix], [NONE])
6765-m4trace:configure.in:5: -1- AC_SUBST([prefix], [NONE])
6766-m4trace:configure.in:5: -1- AC_SUBST([program_transform_name], [s,x,x,])
6767-m4trace:configure.in:5: -1- AC_SUBST([bindir], ['${exec_prefix}/bin'])
6768-m4trace:configure.in:5: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin'])
6769-m4trace:configure.in:5: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec'])
6770-m4trace:configure.in:5: -1- AC_SUBST([datadir], ['${prefix}/share'])
6771-m4trace:configure.in:5: -1- AC_SUBST([sysconfdir], ['${prefix}/etc'])
6772-m4trace:configure.in:5: -1- AC_SUBST([sharedstatedir], ['${prefix}/com'])
6773-m4trace:configure.in:5: -1- AC_SUBST([localstatedir], ['${prefix}/var'])
6774-m4trace:configure.in:5: -1- AC_SUBST([libdir], ['${exec_prefix}/lib'])
6775-m4trace:configure.in:5: -1- AC_SUBST([includedir], ['${prefix}/include'])
6776-m4trace:configure.in:5: -1- AC_SUBST([oldincludedir], ['/usr/include'])
6777-m4trace:configure.in:5: -1- AC_SUBST([infodir], ['${prefix}/info'])
6778-m4trace:configure.in:5: -1- AC_SUBST([mandir], ['${prefix}/man'])
6779-m4trace:configure.in:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME])
6780-m4trace:configure.in:5: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */
6781-#undef PACKAGE_NAME])
6782-m4trace:configure.in:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME])
6783-m4trace:configure.in:5: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */
6784-#undef PACKAGE_TARNAME])
6785-m4trace:configure.in:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION])
6786-m4trace:configure.in:5: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */
6787-#undef PACKAGE_VERSION])
6788-m4trace:configure.in:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING])
6789-m4trace:configure.in:5: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */
6790-#undef PACKAGE_STRING])
6791-m4trace:configure.in:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT])
6792-m4trace:configure.in:5: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */
6793-#undef PACKAGE_BUGREPORT])
6794-m4trace:configure.in:5: -1- AC_SUBST([build_alias])
6795-m4trace:configure.in:5: -1- AC_SUBST([host_alias])
6796-m4trace:configure.in:5: -1- AC_SUBST([target_alias])
6797-m4trace:configure.in:5: -1- AC_SUBST([DEFS])
6798-m4trace:configure.in:5: -1- AC_SUBST([ECHO_C])
6799-m4trace:configure.in:5: -1- AC_SUBST([ECHO_N])
6800-m4trace:configure.in:5: -1- AC_SUBST([ECHO_T])
6801-m4trace:configure.in:5: -1- AC_SUBST([LIBS])
6802-m4trace:configure.in:29: -1- AC_SUBST([armcxx])
6803-m4trace:configure.in:30: -1- AC_SUBST([armcc])
6804-m4trace:configure.in:45: -1- AC_PROG_CXX
6805-m4trace:configure.in:45: -1- AC_SUBST([CXX])
6806-m4trace:configure.in:45: -1- AC_SUBST([CXXFLAGS])
6807-m4trace:configure.in:45: -1- AC_SUBST([LDFLAGS])
6808-m4trace:configure.in:45: -1- AC_SUBST([CPPFLAGS])
6809-m4trace:configure.in:45: -1- AC_SUBST([CXX])
6810-m4trace:configure.in:45: -1- AC_SUBST([ac_ct_CXX])
6811-m4trace:configure.in:45: -1- AC_SUBST([EXEEXT], [$ac_cv_exeext])
6812-m4trace:configure.in:45: -1- AC_SUBST([OBJEXT], [$ac_cv_objext])
6813-m4trace:configure.in:46: -1- AC_PROG_CC
6814-m4trace:configure.in:46: -1- AC_SUBST([CC])
6815-m4trace:configure.in:46: -1- AC_SUBST([CFLAGS])
6816-m4trace:configure.in:46: -1- AC_SUBST([LDFLAGS])
6817-m4trace:configure.in:46: -1- AC_SUBST([CPPFLAGS])
6818-m4trace:configure.in:46: -1- AC_SUBST([CC])
6819-m4trace:configure.in:46: -1- AC_SUBST([ac_ct_CC])
6820-m4trace:configure.in:46: -1- AC_SUBST([CC])
6821-m4trace:configure.in:46: -1- AC_SUBST([ac_ct_CC])
6822-m4trace:configure.in:46: -1- AC_SUBST([CC])
6823-m4trace:configure.in:46: -1- AC_SUBST([CC])
6824-m4trace:configure.in:46: -1- AC_SUBST([ac_ct_CC])
6825-m4trace:configure.in:47: -1- _m4_warn([obsolete], [The macro `AC_LANG_CPLUSPLUS' is obsolete.
6826-You should run autoupdate.], [autoconf/c.m4:103: AC_LANG_CPLUSPLUS is expanded from...
6827-configure.in:47: the top level])
6828-m4trace:configure.in:51: -1- AC_PROG_INSTALL
6829-m4trace:configure.in:51: -1- AC_SUBST([INSTALL_PROGRAM])
6830-m4trace:configure.in:51: -1- AC_SUBST([INSTALL_SCRIPT])
6831-m4trace:configure.in:51: -1- AC_SUBST([INSTALL_DATA])
6832-m4trace:configure.in:55: -1- AC_PATH_X
6833-m4trace:configure.in:55: -1- AC_SUBST([CXXCPP])
6834-m4trace:configure.in:55: -1- AC_SUBST([CPPFLAGS])
6835-m4trace:configure.in:55: -1- AC_SUBST([CXXCPP])
6836-m4trace:configure.in:55: -1- AC_DEFINE_TRACE_LITERAL([X_DISPLAY_MISSING])
6837-m4trace:configure.in:55: -1- AH_OUTPUT([X_DISPLAY_MISSING], [/* Define to 1 if the X Window System is missing or not being used. */
6838-#undef X_DISPLAY_MISSING])
6839-m4trace:configure.in:55: -1- AC_CHECK_LIB([dnet], [dnet_ntoa], [X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"])
6840-m4trace:configure.in:55: -1- AC_CHECK_LIB([dnet_stub], [dnet_ntoa], [X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"])
6841-m4trace:configure.in:55: -1- AC_CHECK_LIB([nsl], [gethostbyname], [X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"])
6842-m4trace:configure.in:55: -1- AC_CHECK_LIB([bsd], [gethostbyname], [X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"])
6843-m4trace:configure.in:55: -1- AC_CHECK_LIB([socket], [connect], [X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"], [], [$X_EXTRA_LIBS])
6844-m4trace:configure.in:55: -1- AC_CHECK_LIB([posix], [remove], [X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"])
6845-m4trace:configure.in:55: -1- AC_CHECK_LIB([ipc], [shmat], [X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"])
6846-m4trace:configure.in:55: -1- AC_CHECK_LIB([ICE], [IceConnectionNumber], [X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"], [], [$X_EXTRA_LIBS])
6847-m4trace:configure.in:55: -1- AC_SUBST([X_CFLAGS])
6848-m4trace:configure.in:55: -1- AC_SUBST([X_PRE_LIBS])
6849-m4trace:configure.in:55: -1- AC_SUBST([X_LIBS])
6850-m4trace:configure.in:55: -1- AC_SUBST([X_EXTRA_LIBS])
6851-m4trace:configure.in:76: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
6852-You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
6853-autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
6854-autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
6855-configure.in:75: nxconf_FreeBSD is expanded from...
6856-configure.in:76: the top level])
6857-m4trace:configure.in:86: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
6858-You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
6859-autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
6860-autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
6861-configure.in:85: nxconf_CYGWIN32 is expanded from...
6862-configure.in:86: the top level])
6863-m4trace:configure.in:97: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
6864-You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
6865-autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
6866-autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
6867-configure.in:96: nxconf_DARWIN is expanded from...
6868-configure.in:97: the top level])
6869-m4trace:configure.in:108: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
6870-You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
6871-autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
6872-autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
6873-configure.in:107: nxconf_SUN is expanded from...
6874-configure.in:108: the top level])
6875-m4trace:configure.in:112: -1- AC_SUBST([LIBVERSION])
6876-m4trace:configure.in:113: -1- AC_SUBST([VERSION])
6877-m4trace:configure.in:169: -1- AC_SUBST([MAKEDEPEND])
6878-m4trace:configure.in:185: -1- AC_CONFIG_FILES([Makefile])
6879-m4trace:configure.in:185: -1- _m4_warn([obsolete], [AC_OUTPUT should be used without arguments.
6880-You should run autoupdate.], [])
6881-m4trace:configure.in:185: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
6882-m4trace:configure.in:185: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
6883diff -urwN nxproxy-orig/conf/config.guess nxproxy/conf/config.guess
6884--- nxproxy-orig/conf/config.guess	1970-01-01 01:00:00.000000000 +0100
6885+++ nxproxy/conf/config.guess	2009-10-10 13:57:56.000847888 +0200
6886@@ -0,0 +1,1561 @@
6887+#! /bin/sh
6888+# Attempt to guess a canonical system name.
6889+#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
6890+#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
6891+#   Free Software Foundation, Inc.
6892+
6893+timestamp='2009-04-27'
6894+
6895+# This file is free software; you can redistribute it and/or modify it
6896+# under the terms of the GNU General Public License as published by
6897+# the Free Software Foundation; either version 2 of the License, or
6898+# (at your option) any later version.
6899+#
6900+# This program is distributed in the hope that it will be useful, but
6901+# WITHOUT ANY WARRANTY; without even the implied warranty of
6902+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
6903+# General Public License for more details.
6904+#
6905+# You should have received a copy of the GNU General Public License
6906+# along with this program; if not, write to the Free Software
6907+# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
6908+# 02110-1301, USA.
6909+#
6910+# As a special exception to the GNU General Public License, if you
6911+# distribute this file as part of a program that contains a
6912+# configuration script generated by Autoconf, you may include it under
6913+# the same distribution terms that you use for the rest of that program.
6914+
6915+
6916+# Originally written by Per Bothner <per@bothner.com>.
6917+# Please send patches to <config-patches@gnu.org>.  Submit a context
6918+# diff and a properly formatted ChangeLog entry.
6919+#
6920+# This script attempts to guess a canonical system name similar to
6921+# config.sub.  If it succeeds, it prints the system name on stdout, and
6922+# exits with 0.  Otherwise, it exits with 1.
6923+#
6924+# The plan is that this can be called by configure scripts if you
6925+# don't specify an explicit build system type.
6926+
6927+me=`echo "$0" | sed -e 's,.*/,,'`
6928+
6929+usage="\
6930+Usage: $0 [OPTION]
6931+
6932+Output the configuration name of the system \`$me' is run on.
6933+
6934+Operation modes:
6935+  -h, --help         print this help, then exit
6936+  -t, --time-stamp   print date of last modification, then exit
6937+  -v, --version      print version number, then exit
6938+
6939+Report bugs and patches to <config-patches@gnu.org>."
6940+
6941+version="\
6942+GNU config.guess ($timestamp)
6943+
6944+Originally written by Per Bothner.
6945+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
6946+2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
6947+
6948+This is free software; see the source for copying conditions.  There is NO
6949+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
6950+
6951+help="
6952+Try \`$me --help' for more information."
6953+
6954+# Parse command line
6955+while test $# -gt 0 ; do
6956+  case $1 in
6957+    --time-stamp | --time* | -t )
6958+       echo "$timestamp" ; exit ;;
6959+    --version | -v )
6960+       echo "$version" ; exit ;;
6961+    --help | --h* | -h )
6962+       echo "$usage"; exit ;;
6963+    -- )     # Stop option processing
6964+       shift; break ;;
6965+    - )	# Use stdin as input.
6966+       break ;;
6967+    -* )
6968+       echo "$me: invalid option $1$help" >&2
6969+       exit 1 ;;
6970+    * )
6971+       break ;;
6972+  esac
6973+done
6974+
6975+if test $# != 0; then
6976+  echo "$me: too many arguments$help" >&2
6977+  exit 1
6978+fi
6979+
6980+trap 'exit 1' 1 2 15
6981+
6982+# CC_FOR_BUILD -- compiler used by this script. Note that the use of a
6983+# compiler to aid in system detection is discouraged as it requires
6984+# temporary files to be created and, as you can see below, it is a
6985+# headache to deal with in a portable fashion.
6986+
6987+# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
6988+# use `HOST_CC' if defined, but it is deprecated.
6989+
6990+# Portable tmp directory creation inspired by the Autoconf team.
6991+
6992+set_cc_for_build='
6993+trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
6994+trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
6995+: ${TMPDIR=/tmp} ;
6996+ { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
6997+ { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
6998+ { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
6999+ { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
7000+dummy=$tmp/dummy ;
7001+tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
7002+case $CC_FOR_BUILD,$HOST_CC,$CC in
7003+ ,,)    echo "int x;" > $dummy.c ;
7004+	for c in cc gcc c89 c99 ; do
7005+	  if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then
7006+	     CC_FOR_BUILD="$c"; break ;
7007+	  fi ;
7008+	done ;
7009+	if test x"$CC_FOR_BUILD" = x ; then
7010+	  CC_FOR_BUILD=no_compiler_found ;
7011+	fi
7012+	;;
7013+ ,,*)   CC_FOR_BUILD=$CC ;;
7014+ ,*,*)  CC_FOR_BUILD=$HOST_CC ;;
7015+esac ; set_cc_for_build= ;'
7016+
7017+# This is needed to find uname on a Pyramid OSx when run in the BSD universe.
7018+# (ghazi@noc.rutgers.edu 1994-08-24)
7019+if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
7020+	PATH=$PATH:/.attbin ; export PATH
7021+fi
7022+
7023+UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
7024+UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
7025+UNAME_SYSTEM=`(uname -s) 2>/dev/null`  || UNAME_SYSTEM=unknown
7026+UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
7027+
7028+# Note: order is significant - the case branches are not exclusive.
7029+
7030+case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
7031+    *:NetBSD:*:*)
7032+	# NetBSD (nbsd) targets should (where applicable) match one or
7033+	# more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
7034+	# *-*-netbsdecoff* and *-*-netbsd*.  For targets that recently
7035+	# switched to ELF, *-*-netbsd* would select the old
7036+	# object file format.  This provides both forward
7037+	# compatibility and a consistent mechanism for selecting the
7038+	# object file format.
7039+	#
7040+	# Note: NetBSD doesn't particularly care about the vendor
7041+	# portion of the name.  We always set it to "unknown".
7042+	sysctl="sysctl -n hw.machine_arch"
7043+	UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
7044+	    /usr/sbin/$sysctl 2>/dev/null || echo unknown)`
7045+	case "${UNAME_MACHINE_ARCH}" in
7046+	    armeb) machine=armeb-unknown ;;
7047+	    arm*) machine=arm-unknown ;;
7048+	    sh3el) machine=shl-unknown ;;
7049+	    sh3eb) machine=sh-unknown ;;
7050+	    sh5el) machine=sh5le-unknown ;;
7051+	    *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
7052+	esac
7053+	# The Operating System including object format, if it has switched
7054+	# to ELF recently, or will in the future.
7055+	case "${UNAME_MACHINE_ARCH}" in
7056+	    arm*|i386|m68k|ns32k|sh3*|sparc|vax)
7057+		eval $set_cc_for_build
7058+		if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
7059+			| grep __ELF__ >/dev/null
7060+		then
7061+		    # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
7062+		    # Return netbsd for either.  FIX?
7063+		    os=netbsd
7064+		else
7065+		    os=netbsdelf
7066+		fi
7067+		;;
7068+	    *)
7069+	        os=netbsd
7070+		;;
7071+	esac
7072+	# The OS release
7073+	# Debian GNU/NetBSD machines have a different userland, and
7074+	# thus, need a distinct triplet. However, they do not need
7075+	# kernel version information, so it can be replaced with a
7076+	# suitable tag, in the style of linux-gnu.
7077+	case "${UNAME_VERSION}" in
7078+	    Debian*)
7079+		release='-gnu'
7080+		;;
7081+	    *)
7082+		release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
7083+		;;
7084+	esac
7085+	# Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
7086+	# contains redundant information, the shorter form:
7087+	# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
7088+	echo "${machine}-${os}${release}"
7089+	exit ;;
7090+    *:OpenBSD:*:*)
7091+	UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
7092+	echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
7093+	exit ;;
7094+    *:ekkoBSD:*:*)
7095+	echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
7096+	exit ;;
7097+    *:SolidBSD:*:*)
7098+	echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
7099+	exit ;;
7100+    macppc:MirBSD:*:*)
7101+	echo powerpc-unknown-mirbsd${UNAME_RELEASE}
7102+	exit ;;
7103+    *:MirBSD:*:*)
7104+	echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
7105+	exit ;;
7106+    alpha:OSF1:*:*)
7107+	case $UNAME_RELEASE in
7108+	*4.0)
7109+		UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
7110+		;;
7111+	*5.*)
7112+	        UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
7113+		;;
7114+	esac
7115+	# According to Compaq, /usr/sbin/psrinfo has been available on
7116+	# OSF/1 and Tru64 systems produced since 1995.  I hope that
7117+	# covers most systems running today.  This code pipes the CPU
7118+	# types through head -n 1, so we only detect the type of CPU 0.
7119+	ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^  The alpha \(.*\) processor.*$/\1/p' | head -n 1`
7120+	case "$ALPHA_CPU_TYPE" in
7121+	    "EV4 (21064)")
7122+		UNAME_MACHINE="alpha" ;;
7123+	    "EV4.5 (21064)")
7124+		UNAME_MACHINE="alpha" ;;
7125+	    "LCA4 (21066/21068)")
7126+		UNAME_MACHINE="alpha" ;;
7127+	    "EV5 (21164)")
7128+		UNAME_MACHINE="alphaev5" ;;
7129+	    "EV5.6 (21164A)")
7130+		UNAME_MACHINE="alphaev56" ;;
7131+	    "EV5.6 (21164PC)")
7132+		UNAME_MACHINE="alphapca56" ;;
7133+	    "EV5.7 (21164PC)")
7134+		UNAME_MACHINE="alphapca57" ;;
7135+	    "EV6 (21264)")
7136+		UNAME_MACHINE="alphaev6" ;;
7137+	    "EV6.7 (21264A)")
7138+		UNAME_MACHINE="alphaev67" ;;
7139+	    "EV6.8CB (21264C)")
7140+		UNAME_MACHINE="alphaev68" ;;
7141+	    "EV6.8AL (21264B)")
7142+		UNAME_MACHINE="alphaev68" ;;
7143+	    "EV6.8CX (21264D)")
7144+		UNAME_MACHINE="alphaev68" ;;
7145+	    "EV6.9A (21264/EV69A)")
7146+		UNAME_MACHINE="alphaev69" ;;
7147+	    "EV7 (21364)")
7148+		UNAME_MACHINE="alphaev7" ;;
7149+	    "EV7.9 (21364A)")
7150+		UNAME_MACHINE="alphaev79" ;;
7151+	esac
7152+	# A Pn.n version is a patched version.
7153+	# A Vn.n version is a released version.
7154+	# A Tn.n version is a released field test version.
7155+	# A Xn.n version is an unreleased experimental baselevel.
7156+	# 1.2 uses "1.2" for uname -r.
7157+	echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
7158+	exit ;;
7159+    Alpha\ *:Windows_NT*:*)
7160+	# How do we know it's Interix rather than the generic POSIX subsystem?
7161+	# Should we change UNAME_MACHINE based on the output of uname instead
7162+	# of the specific Alpha model?
7163+	echo alpha-pc-interix
7164+	exit ;;
7165+    21064:Windows_NT:50:3)
7166+	echo alpha-dec-winnt3.5
7167+	exit ;;
7168+    Amiga*:UNIX_System_V:4.0:*)
7169+	echo m68k-unknown-sysv4
7170+	exit ;;
7171+    *:[Aa]miga[Oo][Ss]:*:*)
7172+	echo ${UNAME_MACHINE}-unknown-amigaos
7173+	exit ;;
7174+    *:[Mm]orph[Oo][Ss]:*:*)
7175+	echo ${UNAME_MACHINE}-unknown-morphos
7176+	exit ;;
7177+    *:OS/390:*:*)
7178+	echo i370-ibm-openedition
7179+	exit ;;
7180+    *:z/VM:*:*)
7181+	echo s390-ibm-zvmoe
7182+	exit ;;
7183+    *:OS400:*:*)
7184+        echo powerpc-ibm-os400
7185+	exit ;;
7186+    arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
7187+	echo arm-acorn-riscix${UNAME_RELEASE}
7188+	exit ;;
7189+    arm:riscos:*:*|arm:RISCOS:*:*)
7190+	echo arm-unknown-riscos
7191+	exit ;;
7192+    SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
7193+	echo hppa1.1-hitachi-hiuxmpp
7194+	exit ;;
7195+    Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
7196+	# akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE.
7197+	if test "`(/bin/universe) 2>/dev/null`" = att ; then
7198+		echo pyramid-pyramid-sysv3
7199+	else
7200+		echo pyramid-pyramid-bsd
7201+	fi
7202+	exit ;;
7203+    NILE*:*:*:dcosx)
7204+	echo pyramid-pyramid-svr4
7205+	exit ;;
7206+    DRS?6000:unix:4.0:6*)
7207+	echo sparc-icl-nx6
7208+	exit ;;
7209+    DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*)
7210+	case `/usr/bin/uname -p` in
7211+	    sparc) echo sparc-icl-nx7; exit ;;
7212+	esac ;;
7213+    s390x:SunOS:*:*)
7214+	echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
7215+	exit ;;
7216+    sun4H:SunOS:5.*:*)
7217+	echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
7218+	exit ;;
7219+    sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
7220+	echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
7221+	exit ;;
7222+    i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
7223+	eval $set_cc_for_build
7224+	SUN_ARCH="i386"
7225+	# If there is a compiler, see if it is configured for 64-bit objects.
7226+	# Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
7227+	# This test works for both compilers.
7228+	if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
7229+	    if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
7230+		(CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
7231+		grep IS_64BIT_ARCH >/dev/null
7232+	    then
7233+		SUN_ARCH="x86_64"
7234+	    fi
7235+	fi
7236+	echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
7237+	exit ;;
7238+    sun4*:SunOS:6*:*)
7239+	# According to config.sub, this is the proper way to canonicalize
7240+	# SunOS6.  Hard to guess exactly what SunOS6 will be like, but
7241+	# it's likely to be more like Solaris than SunOS4.
7242+	echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
7243+	exit ;;
7244+    sun4*:SunOS:*:*)
7245+	case "`/usr/bin/arch -k`" in
7246+	    Series*|S4*)
7247+		UNAME_RELEASE=`uname -v`
7248+		;;
7249+	esac
7250+	# Japanese Language versions have a version number like `4.1.3-JL'.
7251+	echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
7252+	exit ;;
7253+    sun3*:SunOS:*:*)
7254+	echo m68k-sun-sunos${UNAME_RELEASE}
7255+	exit ;;
7256+    sun*:*:4.2BSD:*)
7257+	UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
7258+	test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
7259+	case "`/bin/arch`" in
7260+	    sun3)
7261+		echo m68k-sun-sunos${UNAME_RELEASE}
7262+		;;
7263+	    sun4)
7264+		echo sparc-sun-sunos${UNAME_RELEASE}
7265+		;;
7266+	esac
7267+	exit ;;
7268+    aushp:SunOS:*:*)
7269+	echo sparc-auspex-sunos${UNAME_RELEASE}
7270+	exit ;;
7271+    # The situation for MiNT is a little confusing.  The machine name
7272+    # can be virtually everything (everything which is not
7273+    # "atarist" or "atariste" at least should have a processor
7274+    # > m68000).  The system name ranges from "MiNT" over "FreeMiNT"
7275+    # to the lowercase version "mint" (or "freemint").  Finally
7276+    # the system name "TOS" denotes a system which is actually not
7277+    # MiNT.  But MiNT is downward compatible to TOS, so this should
7278+    # be no problem.
7279+    atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
7280+        echo m68k-atari-mint${UNAME_RELEASE}
7281+	exit ;;
7282+    atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
7283+	echo m68k-atari-mint${UNAME_RELEASE}
7284+        exit ;;
7285+    *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
7286+        echo m68k-atari-mint${UNAME_RELEASE}
7287+	exit ;;
7288+    milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
7289+        echo m68k-milan-mint${UNAME_RELEASE}
7290+        exit ;;
7291+    hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
7292+        echo m68k-hades-mint${UNAME_RELEASE}
7293+        exit ;;
7294+    *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
7295+        echo m68k-unknown-mint${UNAME_RELEASE}
7296+        exit ;;
7297+    m68k:machten:*:*)
7298+	echo m68k-apple-machten${UNAME_RELEASE}
7299+	exit ;;
7300+    powerpc:machten:*:*)
7301+	echo powerpc-apple-machten${UNAME_RELEASE}
7302+	exit ;;
7303+    RISC*:Mach:*:*)
7304+	echo mips-dec-mach_bsd4.3
7305+	exit ;;
7306+    RISC*:ULTRIX:*:*)
7307+	echo mips-dec-ultrix${UNAME_RELEASE}
7308+	exit ;;
7309+    VAX*:ULTRIX*:*:*)
7310+	echo vax-dec-ultrix${UNAME_RELEASE}
7311+	exit ;;
7312+    2020:CLIX:*:* | 2430:CLIX:*:*)
7313+	echo clipper-intergraph-clix${UNAME_RELEASE}
7314+	exit ;;
7315+    mips:*:*:UMIPS | mips:*:*:RISCos)
7316+	eval $set_cc_for_build
7317+	sed 's/^	//' << EOF >$dummy.c
7318+#ifdef __cplusplus
7319+#include <stdio.h>  /* for printf() prototype */
7320+	int main (int argc, char *argv[]) {
7321+#else
7322+	int main (argc, argv) int argc; char *argv[]; {
7323+#endif
7324+	#if defined (host_mips) && defined (MIPSEB)
7325+	#if defined (SYSTYPE_SYSV)
7326+	  printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0);
7327+	#endif
7328+	#if defined (SYSTYPE_SVR4)
7329+	  printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0);
7330+	#endif
7331+	#if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD)
7332+	  printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0);
7333+	#endif
7334+	#endif
7335+	  exit (-1);
7336+	}
7337+EOF
7338+	$CC_FOR_BUILD -o $dummy $dummy.c &&
7339+	  dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` &&
7340+	  SYSTEM_NAME=`$dummy $dummyarg` &&
7341+	    { echo "$SYSTEM_NAME"; exit; }
7342+	echo mips-mips-riscos${UNAME_RELEASE}
7343+	exit ;;
7344+    Motorola:PowerMAX_OS:*:*)
7345+	echo powerpc-motorola-powermax
7346+	exit ;;
7347+    Motorola:*:4.3:PL8-*)
7348+	echo powerpc-harris-powermax
7349+	exit ;;
7350+    Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
7351+	echo powerpc-harris-powermax
7352+	exit ;;
7353+    Night_Hawk:Power_UNIX:*:*)
7354+	echo powerpc-harris-powerunix
7355+	exit ;;
7356+    m88k:CX/UX:7*:*)
7357+	echo m88k-harris-cxux7
7358+	exit ;;
7359+    m88k:*:4*:R4*)
7360+	echo m88k-motorola-sysv4
7361+	exit ;;
7362+    m88k:*:3*:R3*)
7363+	echo m88k-motorola-sysv3
7364+	exit ;;
7365+    AViiON:dgux:*:*)
7366+        # DG/UX returns AViiON for all architectures
7367+        UNAME_PROCESSOR=`/usr/bin/uname -p`
7368+	if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
7369+	then
7370+	    if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
7371+	       [ ${TARGET_BINARY_INTERFACE}x = x ]
7372+	    then
7373+		echo m88k-dg-dgux${UNAME_RELEASE}
7374+	    else
7375+		echo m88k-dg-dguxbcs${UNAME_RELEASE}
7376+	    fi
7377+	else
7378+	    echo i586-dg-dgux${UNAME_RELEASE}
7379+	fi
7380+ 	exit ;;
7381+    M88*:DolphinOS:*:*)	# DolphinOS (SVR3)
7382+	echo m88k-dolphin-sysv3
7383+	exit ;;
7384+    M88*:*:R3*:*)
7385+	# Delta 88k system running SVR3
7386+	echo m88k-motorola-sysv3
7387+	exit ;;
7388+    XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3)
7389+	echo m88k-tektronix-sysv3
7390+	exit ;;
7391+    Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD)
7392+	echo m68k-tektronix-bsd
7393+	exit ;;
7394+    *:IRIX*:*:*)
7395+	echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`
7396+	exit ;;
7397+    ????????:AIX?:[12].1:2)   # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
7398+	echo romp-ibm-aix     # uname -m gives an 8 hex-code CPU id
7399+	exit ;;               # Note that: echo "'`uname -s`'" gives 'AIX '
7400+    i*86:AIX:*:*)
7401+	echo i386-ibm-aix
7402+	exit ;;
7403+    ia64:AIX:*:*)
7404+	if [ -x /usr/bin/oslevel ] ; then
7405+		IBM_REV=`/usr/bin/oslevel`
7406+	else
7407+		IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
7408+	fi
7409+	echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}
7410+	exit ;;
7411+    *:AIX:2:3)
7412+	if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
7413+		eval $set_cc_for_build
7414+		sed 's/^		//' << EOF >$dummy.c
7415+		#include <sys/systemcfg.h>
7416+
7417+		main()
7418+			{
7419+			if (!__power_pc())
7420+				exit(1);
7421+			puts("powerpc-ibm-aix3.2.5");
7422+			exit(0);
7423+			}
7424+EOF
7425+		if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy`
7426+		then
7427+			echo "$SYSTEM_NAME"
7428+		else
7429+			echo rs6000-ibm-aix3.2.5
7430+		fi
7431+	elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
7432+		echo rs6000-ibm-aix3.2.4
7433+	else
7434+		echo rs6000-ibm-aix3.2
7435+	fi
7436+	exit ;;
7437+    *:AIX:*:[456])
7438+	IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
7439+	if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
7440+		IBM_ARCH=rs6000
7441+	else
7442+		IBM_ARCH=powerpc
7443+	fi
7444+	if [ -x /usr/bin/oslevel ] ; then
7445+		IBM_REV=`/usr/bin/oslevel`
7446+	else
7447+		IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
7448+	fi
7449+	echo ${IBM_ARCH}-ibm-aix${IBM_REV}
7450+	exit ;;
7451+    *:AIX:*:*)
7452+	echo rs6000-ibm-aix
7453+	exit ;;
7454+    ibmrt:4.4BSD:*|romp-ibm:BSD:*)
7455+	echo romp-ibm-bsd4.4
7456+	exit ;;
7457+    ibmrt:*BSD:*|romp-ibm:BSD:*)            # covers RT/PC BSD and
7458+	echo romp-ibm-bsd${UNAME_RELEASE}   # 4.3 with uname added to
7459+	exit ;;                             # report: romp-ibm BSD 4.3
7460+    *:BOSX:*:*)
7461+	echo rs6000-bull-bosx
7462+	exit ;;
7463+    DPX/2?00:B.O.S.:*:*)
7464+	echo m68k-bull-sysv3
7465+	exit ;;
7466+    9000/[34]??:4.3bsd:1.*:*)
7467+	echo m68k-hp-bsd
7468+	exit ;;
7469+    hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
7470+	echo m68k-hp-bsd4.4
7471+	exit ;;
7472+    9000/[34678]??:HP-UX:*:*)
7473+	HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
7474+	case "${UNAME_MACHINE}" in
7475+	    9000/31? )            HP_ARCH=m68000 ;;
7476+	    9000/[34]?? )         HP_ARCH=m68k ;;
7477+	    9000/[678][0-9][0-9])
7478+		if [ -x /usr/bin/getconf ]; then
7479+		    sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
7480+                    sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
7481+                    case "${sc_cpu_version}" in
7482+                      523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
7483+                      528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
7484+                      532)                      # CPU_PA_RISC2_0
7485+                        case "${sc_kernel_bits}" in
7486+                          32) HP_ARCH="hppa2.0n" ;;
7487+                          64) HP_ARCH="hppa2.0w" ;;
7488+			  '') HP_ARCH="hppa2.0" ;;   # HP-UX 10.20
7489+                        esac ;;
7490+                    esac
7491+		fi
7492+		if [ "${HP_ARCH}" = "" ]; then
7493+		    eval $set_cc_for_build
7494+		    sed 's/^              //' << EOF >$dummy.c
7495+
7496+              #define _HPUX_SOURCE
7497+              #include <stdlib.h>
7498+              #include <unistd.h>
7499+
7500+              int main ()
7501+              {
7502+              #if defined(_SC_KERNEL_BITS)
7503+                  long bits = sysconf(_SC_KERNEL_BITS);
7504+              #endif
7505+                  long cpu  = sysconf (_SC_CPU_VERSION);
7506+
7507+                  switch (cpu)
7508+              	{
7509+              	case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
7510+              	case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
7511+              	case CPU_PA_RISC2_0:
7512+              #if defined(_SC_KERNEL_BITS)
7513+              	    switch (bits)
7514+              		{
7515+              		case 64: puts ("hppa2.0w"); break;
7516+              		case 32: puts ("hppa2.0n"); break;
7517+              		default: puts ("hppa2.0"); break;
7518+              		} break;
7519+              #else  /* !defined(_SC_KERNEL_BITS) */
7520+              	    puts ("hppa2.0"); break;
7521+              #endif
7522+              	default: puts ("hppa1.0"); break;
7523+              	}
7524+                  exit (0);
7525+              }
7526+EOF
7527+		    (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
7528+		    test -z "$HP_ARCH" && HP_ARCH=hppa
7529+		fi ;;
7530+	esac
7531+	if [ ${HP_ARCH} = "hppa2.0w" ]
7532+	then
7533+	    eval $set_cc_for_build
7534+
7535+	    # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
7536+	    # 32-bit code.  hppa64-hp-hpux* has the same kernel and a compiler
7537+	    # generating 64-bit code.  GNU and HP use different nomenclature:
7538+	    #
7539+	    # $ CC_FOR_BUILD=cc ./config.guess
7540+	    # => hppa2.0w-hp-hpux11.23
7541+	    # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess
7542+	    # => hppa64-hp-hpux11.23
7543+
7544+	    if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
7545+		grep __LP64__ >/dev/null
7546+	    then
7547+		HP_ARCH="hppa2.0w"
7548+	    else
7549+		HP_ARCH="hppa64"
7550+	    fi
7551+	fi
7552+	echo ${HP_ARCH}-hp-hpux${HPUX_REV}
7553+	exit ;;
7554+    ia64:HP-UX:*:*)
7555+	HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
7556+	echo ia64-hp-hpux${HPUX_REV}
7557+	exit ;;
7558+    3050*:HI-UX:*:*)
7559+	eval $set_cc_for_build
7560+	sed 's/^	//' << EOF >$dummy.c
7561+	#include <unistd.h>
7562+	int
7563+	main ()
7564+	{
7565+	  long cpu = sysconf (_SC_CPU_VERSION);
7566+	  /* The order matters, because CPU_IS_HP_MC68K erroneously returns
7567+	     true for CPU_PA_RISC1_0.  CPU_IS_PA_RISC returns correct
7568+	     results, however.  */
7569+	  if (CPU_IS_PA_RISC (cpu))
7570+	    {
7571+	      switch (cpu)
7572+		{
7573+		  case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break;
7574+		  case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break;
7575+		  case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break;
7576+		  default: puts ("hppa-hitachi-hiuxwe2"); break;
7577+		}
7578+	    }
7579+	  else if (CPU_IS_HP_MC68K (cpu))
7580+	    puts ("m68k-hitachi-hiuxwe2");
7581+	  else puts ("unknown-hitachi-hiuxwe2");
7582+	  exit (0);
7583+	}
7584+EOF
7585+	$CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` &&
7586+		{ echo "$SYSTEM_NAME"; exit; }
7587+	echo unknown-hitachi-hiuxwe2
7588+	exit ;;
7589+    9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
7590+	echo hppa1.1-hp-bsd
7591+	exit ;;
7592+    9000/8??:4.3bsd:*:*)
7593+	echo hppa1.0-hp-bsd
7594+	exit ;;
7595+    *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
7596+	echo hppa1.0-hp-mpeix
7597+	exit ;;
7598+    hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
7599+	echo hppa1.1-hp-osf
7600+	exit ;;
7601+    hp8??:OSF1:*:*)
7602+	echo hppa1.0-hp-osf
7603+	exit ;;
7604+    i*86:OSF1:*:*)
7605+	if [ -x /usr/sbin/sysversion ] ; then
7606+	    echo ${UNAME_MACHINE}-unknown-osf1mk
7607+	else
7608+	    echo ${UNAME_MACHINE}-unknown-osf1
7609+	fi
7610+	exit ;;
7611+    parisc*:Lites*:*:*)
7612+	echo hppa1.1-hp-lites
7613+	exit ;;
7614+    C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
7615+	echo c1-convex-bsd
7616+        exit ;;
7617+    C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
7618+	if getsysinfo -f scalar_acc
7619+	then echo c32-convex-bsd
7620+	else echo c2-convex-bsd
7621+	fi
7622+        exit ;;
7623+    C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
7624+	echo c34-convex-bsd
7625+        exit ;;
7626+    C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
7627+	echo c38-convex-bsd
7628+        exit ;;
7629+    C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
7630+	echo c4-convex-bsd
7631+        exit ;;
7632+    CRAY*Y-MP:*:*:*)
7633+	echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
7634+	exit ;;
7635+    CRAY*[A-Z]90:*:*:*)
7636+	echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
7637+	| sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
7638+	      -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
7639+	      -e 's/\.[^.]*$/.X/'
7640+	exit ;;
7641+    CRAY*TS:*:*:*)
7642+	echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
7643+	exit ;;
7644+    CRAY*T3E:*:*:*)
7645+	echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
7646+	exit ;;
7647+    CRAY*SV1:*:*:*)
7648+	echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
7649+	exit ;;
7650+    *:UNICOS/mp:*:*)
7651+	echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
7652+	exit ;;
7653+    F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
7654+	FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
7655+        FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
7656+        FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
7657+        echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
7658+        exit ;;
7659+    5000:UNIX_System_V:4.*:*)
7660+        FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
7661+        FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
7662+        echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
7663+	exit ;;
7664+    i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
7665+	echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
7666+	exit ;;
7667+    sparc*:BSD/OS:*:*)
7668+	echo sparc-unknown-bsdi${UNAME_RELEASE}
7669+	exit ;;
7670+    *:BSD/OS:*:*)
7671+	echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
7672+	exit ;;
7673+    *:FreeBSD:*:*)
7674+	case ${UNAME_MACHINE} in
7675+	    pc98)
7676+		echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
7677+	    amd64)
7678+		echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
7679+	    *)
7680+		echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
7681+	esac
7682+	exit ;;
7683+    i*:CYGWIN*:*)
7684+	echo ${UNAME_MACHINE}-pc-cygwin
7685+	exit ;;
7686+    *:MINGW*:*)
7687+	echo ${UNAME_MACHINE}-pc-mingw32
7688+	exit ;;
7689+    i*:windows32*:*)
7690+    	# uname -m includes "-pc" on this system.
7691+    	echo ${UNAME_MACHINE}-mingw32
7692+	exit ;;
7693+    i*:PW*:*)
7694+	echo ${UNAME_MACHINE}-pc-pw32
7695+	exit ;;
7696+    *:Interix*:[3456]*)
7697+    	case ${UNAME_MACHINE} in
7698+	    x86)
7699+		echo i586-pc-interix${UNAME_RELEASE}
7700+		exit ;;
7701+	    EM64T | authenticamd | genuineintel)
7702+		echo x86_64-unknown-interix${UNAME_RELEASE}
7703+		exit ;;
7704+	    IA64)
7705+		echo ia64-unknown-interix${UNAME_RELEASE}
7706+		exit ;;
7707+	esac ;;
7708+    [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
7709+	echo i${UNAME_MACHINE}-pc-mks
7710+	exit ;;
7711+    i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
7712+	# How do we know it's Interix rather than the generic POSIX subsystem?
7713+	# It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
7714+	# UNAME_MACHINE based on the output of uname instead of i386?
7715+	echo i586-pc-interix
7716+	exit ;;
7717+    i*:UWIN*:*)
7718+	echo ${UNAME_MACHINE}-pc-uwin
7719+	exit ;;
7720+    amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
7721+	echo x86_64-unknown-cygwin
7722+	exit ;;
7723+    p*:CYGWIN*:*)
7724+	echo powerpcle-unknown-cygwin
7725+	exit ;;
7726+    prep*:SunOS:5.*:*)
7727+	echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
7728+	exit ;;
7729+    *:GNU:*:*)
7730+	# the GNU system
7731+	echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
7732+	exit ;;
7733+    *:GNU/*:*:*)
7734+	# other systems with GNU libc and userland
7735+	echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
7736+	exit ;;
7737+    i*86:Minix:*:*)
7738+	echo ${UNAME_MACHINE}-pc-minix
7739+	exit ;;
7740+    arm*:Linux:*:*)
7741+	eval $set_cc_for_build
7742+	if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
7743+	    | grep -q __ARM_EABI__
7744+	then
7745+	    echo ${UNAME_MACHINE}-unknown-linux-gnu
7746+	else
7747+	    echo ${UNAME_MACHINE}-unknown-linux-gnueabi
7748+	fi
7749+	exit ;;
7750+    avr32*:Linux:*:*)
7751+	echo ${UNAME_MACHINE}-unknown-linux-gnu
7752+	exit ;;
7753+    cris:Linux:*:*)
7754+	echo cris-axis-linux-gnu
7755+	exit ;;
7756+    crisv32:Linux:*:*)
7757+	echo crisv32-axis-linux-gnu
7758+	exit ;;
7759+    frv:Linux:*:*)
7760+    	echo frv-unknown-linux-gnu
7761+	exit ;;
7762+    ia64:Linux:*:*)
7763+	echo ${UNAME_MACHINE}-unknown-linux-gnu
7764+	exit ;;
7765+    m32r*:Linux:*:*)
7766+	echo ${UNAME_MACHINE}-unknown-linux-gnu
7767+	exit ;;
7768+    m68*:Linux:*:*)
7769+	echo ${UNAME_MACHINE}-unknown-linux-gnu
7770+	exit ;;
7771+    mips:Linux:*:*)
7772+	eval $set_cc_for_build
7773+	sed 's/^	//' << EOF >$dummy.c
7774+	#undef CPU
7775+	#undef mips
7776+	#undef mipsel
7777+	#if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
7778+	CPU=mipsel
7779+	#else
7780+	#if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
7781+	CPU=mips
7782+	#else
7783+	CPU=
7784+	#endif
7785+	#endif
7786+EOF
7787+	eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
7788+	    /^CPU/{
7789+		s: ::g
7790+		p
7791+	    }'`"
7792+	test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
7793+	;;
7794+    mips64:Linux:*:*)
7795+	eval $set_cc_for_build
7796+	sed 's/^	//' << EOF >$dummy.c
7797+	#undef CPU
7798+	#undef mips64
7799+	#undef mips64el
7800+	#if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
7801+	CPU=mips64el
7802+	#else
7803+	#if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
7804+	CPU=mips64
7805+	#else
7806+	CPU=
7807+	#endif
7808+	#endif
7809+EOF
7810+	eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
7811+	    /^CPU/{
7812+		s: ::g
7813+		p
7814+	    }'`"
7815+	test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
7816+	;;
7817+    or32:Linux:*:*)
7818+	echo or32-unknown-linux-gnu
7819+	exit ;;
7820+    ppc:Linux:*:*)
7821+	echo powerpc-unknown-linux-gnu
7822+	exit ;;
7823+    ppc64:Linux:*:*)
7824+	echo powerpc64-unknown-linux-gnu
7825+	exit ;;
7826+    alpha:Linux:*:*)
7827+	case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
7828+	  EV5)   UNAME_MACHINE=alphaev5 ;;
7829+	  EV56)  UNAME_MACHINE=alphaev56 ;;
7830+	  PCA56) UNAME_MACHINE=alphapca56 ;;
7831+	  PCA57) UNAME_MACHINE=alphapca56 ;;
7832+	  EV6)   UNAME_MACHINE=alphaev6 ;;
7833+	  EV67)  UNAME_MACHINE=alphaev67 ;;
7834+	  EV68*) UNAME_MACHINE=alphaev68 ;;
7835+        esac
7836+	objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
7837+	if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
7838+	echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
7839+	exit ;;
7840+    padre:Linux:*:*)
7841+	echo sparc-unknown-linux-gnu
7842+	exit ;;
7843+    parisc:Linux:*:* | hppa:Linux:*:*)
7844+	# Look for CPU level
7845+	case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
7846+	  PA7*) echo hppa1.1-unknown-linux-gnu ;;
7847+	  PA8*) echo hppa2.0-unknown-linux-gnu ;;
7848+	  *)    echo hppa-unknown-linux-gnu ;;
7849+	esac
7850+	exit ;;
7851+    parisc64:Linux:*:* | hppa64:Linux:*:*)
7852+	echo hppa64-unknown-linux-gnu
7853+	exit ;;
7854+    s390:Linux:*:* | s390x:Linux:*:*)
7855+	echo ${UNAME_MACHINE}-ibm-linux
7856+	exit ;;
7857+    sh64*:Linux:*:*)
7858+    	echo ${UNAME_MACHINE}-unknown-linux-gnu
7859+	exit ;;
7860+    sh*:Linux:*:*)
7861+	echo ${UNAME_MACHINE}-unknown-linux-gnu
7862+	exit ;;
7863+    sparc:Linux:*:* | sparc64:Linux:*:*)
7864+	echo ${UNAME_MACHINE}-unknown-linux-gnu
7865+	exit ;;
7866+    vax:Linux:*:*)
7867+	echo ${UNAME_MACHINE}-dec-linux-gnu
7868+	exit ;;
7869+    x86_64:Linux:*:*)
7870+	echo x86_64-unknown-linux-gnu
7871+	exit ;;
7872+    xtensa*:Linux:*:*)
7873+    	echo ${UNAME_MACHINE}-unknown-linux-gnu
7874+	exit ;;
7875+    i*86:Linux:*:*)
7876+	# The BFD linker knows what the default object file format is, so
7877+	# first see if it will tell us. cd to the root directory to prevent
7878+	# problems with other programs or directories called `ld' in the path.
7879+	# Set LC_ALL=C to ensure ld outputs messages in English.
7880+	ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \
7881+			 | sed -ne '/supported targets:/!d
7882+				    s/[ 	][ 	]*/ /g
7883+				    s/.*supported targets: *//
7884+				    s/ .*//
7885+				    p'`
7886+        case "$ld_supported_targets" in
7887+	  elf32-i386)
7888+		TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
7889+		;;
7890+	  a.out-i386-linux)
7891+		echo "${UNAME_MACHINE}-pc-linux-gnuaout"
7892+		exit ;;
7893+	  "")
7894+		# Either a pre-BFD a.out linker (linux-gnuoldld) or
7895+		# one that does not give us useful --help.
7896+		echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
7897+		exit ;;
7898+	esac
7899+	# Determine whether the default compiler is a.out or elf
7900+	eval $set_cc_for_build
7901+	sed 's/^	//' << EOF >$dummy.c
7902+	#include <features.h>
7903+	#ifdef __ELF__
7904+	# ifdef __GLIBC__
7905+	#  if __GLIBC__ >= 2
7906+	LIBC=gnu
7907+	#  else
7908+	LIBC=gnulibc1
7909+	#  endif
7910+	# else
7911+	LIBC=gnulibc1
7912+	# endif
7913+	#else
7914+	#if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
7915+	LIBC=gnu
7916+	#else
7917+	LIBC=gnuaout
7918+	#endif
7919+	#endif
7920+	#ifdef __dietlibc__
7921+	LIBC=dietlibc
7922+	#endif
7923+EOF
7924+	eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
7925+	    /^LIBC/{
7926+		s: ::g
7927+		p
7928+	    }'`"
7929+	test x"${LIBC}" != x && {
7930+		echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
7931+		exit
7932+	}
7933+	test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; }
7934+	;;
7935+    i*86:DYNIX/ptx:4*:*)
7936+	# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
7937+	# earlier versions are messed up and put the nodename in both
7938+	# sysname and nodename.
7939+	echo i386-sequent-sysv4
7940+	exit ;;
7941+    i*86:UNIX_SV:4.2MP:2.*)
7942+        # Unixware is an offshoot of SVR4, but it has its own version
7943+        # number series starting with 2...
7944+        # I am not positive that other SVR4 systems won't match this,
7945+	# I just have to hope.  -- rms.
7946+        # Use sysv4.2uw... so that sysv4* matches it.
7947+	echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
7948+	exit ;;
7949+    i*86:OS/2:*:*)
7950+	# If we were able to find `uname', then EMX Unix compatibility
7951+	# is probably installed.
7952+	echo ${UNAME_MACHINE}-pc-os2-emx
7953+	exit ;;
7954+    i*86:XTS-300:*:STOP)
7955+	echo ${UNAME_MACHINE}-unknown-stop
7956+	exit ;;
7957+    i*86:atheos:*:*)
7958+	echo ${UNAME_MACHINE}-unknown-atheos
7959+	exit ;;
7960+    i*86:syllable:*:*)
7961+	echo ${UNAME_MACHINE}-pc-syllable
7962+	exit ;;
7963+    i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
7964+	echo i386-unknown-lynxos${UNAME_RELEASE}
7965+	exit ;;
7966+    i*86:*DOS:*:*)
7967+	echo ${UNAME_MACHINE}-pc-msdosdjgpp
7968+	exit ;;
7969+    i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
7970+	UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
7971+	if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
7972+		echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL}
7973+	else
7974+		echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
7975+	fi
7976+	exit ;;
7977+    i*86:*:5:[678]*)
7978+    	# UnixWare 7.x, OpenUNIX and OpenServer 6.
7979+	case `/bin/uname -X | grep "^Machine"` in
7980+	    *486*)	     UNAME_MACHINE=i486 ;;
7981+	    *Pentium)	     UNAME_MACHINE=i586 ;;
7982+	    *Pent*|*Celeron) UNAME_MACHINE=i686 ;;
7983+	esac
7984+	echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
7985+	exit ;;
7986+    i*86:*:3.2:*)
7987+	if test -f /usr/options/cb.name; then
7988+		UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
7989+		echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
7990+	elif /bin/uname -X 2>/dev/null >/dev/null ; then
7991+		UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`
7992+		(/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486
7993+		(/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \
7994+			&& UNAME_MACHINE=i586
7995+		(/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \
7996+			&& UNAME_MACHINE=i686
7997+		(/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \
7998+			&& UNAME_MACHINE=i686
7999+		echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
8000+	else
8001+		echo ${UNAME_MACHINE}-pc-sysv32
8002+	fi
8003+	exit ;;
8004+    pc:*:*:*)
8005+	# Left here for compatibility:
8006+        # uname -m prints for DJGPP always 'pc', but it prints nothing about
8007+        # the processor, so we play safe by assuming i586.
8008+	# Note: whatever this is, it MUST be the same as what config.sub
8009+	# prints for the "djgpp" host, or else GDB configury will decide that
8010+	# this is a cross-build.
8011+	echo i586-pc-msdosdjgpp
8012+        exit ;;
8013+    Intel:Mach:3*:*)
8014+	echo i386-pc-mach3
8015+	exit ;;
8016+    paragon:*:*:*)
8017+	echo i860-intel-osf1
8018+	exit ;;
8019+    i860:*:4.*:*) # i860-SVR4
8020+	if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
8021+	  echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
8022+	else # Add other i860-SVR4 vendors below as they are discovered.
8023+	  echo i860-unknown-sysv${UNAME_RELEASE}  # Unknown i860-SVR4
8024+	fi
8025+	exit ;;
8026+    mini*:CTIX:SYS*5:*)
8027+	# "miniframe"
8028+	echo m68010-convergent-sysv
8029+	exit ;;
8030+    mc68k:UNIX:SYSTEM5:3.51m)
8031+	echo m68k-convergent-sysv
8032+	exit ;;
8033+    M680?0:D-NIX:5.3:*)
8034+	echo m68k-diab-dnix
8035+	exit ;;
8036+    M68*:*:R3V[5678]*:*)
8037+	test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;;
8038+    3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0)
8039+	OS_REL=''
8040+	test -r /etc/.relid \
8041+	&& OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
8042+	/bin/uname -p 2>/dev/null | grep 86 >/dev/null \
8043+	  && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
8044+	/bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
8045+	  && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
8046+    3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
8047+        /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
8048+          && { echo i486-ncr-sysv4; exit; } ;;
8049+    NCR*:*:4.2:* | MPRAS*:*:4.2:*)
8050+	OS_REL='.3'
8051+	test -r /etc/.relid \
8052+	    && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
8053+	/bin/uname -p 2>/dev/null | grep 86 >/dev/null \
8054+	    && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
8055+	/bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
8056+	    && { echo i586-ncr-sysv4.3${OS_REL}; exit; }
8057+	/bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \
8058+	    && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
8059+    m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
8060+	echo m68k-unknown-lynxos${UNAME_RELEASE}
8061+	exit ;;
8062+    mc68030:UNIX_System_V:4.*:*)
8063+	echo m68k-atari-sysv4
8064+	exit ;;
8065+    TSUNAMI:LynxOS:2.*:*)
8066+	echo sparc-unknown-lynxos${UNAME_RELEASE}
8067+	exit ;;
8068+    rs6000:LynxOS:2.*:*)
8069+	echo rs6000-unknown-lynxos${UNAME_RELEASE}
8070+	exit ;;
8071+    PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
8072+	echo powerpc-unknown-lynxos${UNAME_RELEASE}
8073+	exit ;;
8074+    SM[BE]S:UNIX_SV:*:*)
8075+	echo mips-dde-sysv${UNAME_RELEASE}
8076+	exit ;;
8077+    RM*:ReliantUNIX-*:*:*)
8078+	echo mips-sni-sysv4
8079+	exit ;;
8080+    RM*:SINIX-*:*:*)
8081+	echo mips-sni-sysv4
8082+	exit ;;
8083+    *:SINIX-*:*:*)
8084+	if uname -p 2>/dev/null >/dev/null ; then
8085+		UNAME_MACHINE=`(uname -p) 2>/dev/null`
8086+		echo ${UNAME_MACHINE}-sni-sysv4
8087+	else
8088+		echo ns32k-sni-sysv
8089+	fi
8090+	exit ;;
8091+    PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
8092+                      # says <Richard.M.Bartel@ccMail.Census.GOV>
8093+        echo i586-unisys-sysv4
8094+        exit ;;
8095+    *:UNIX_System_V:4*:FTX*)
8096+	# From Gerald Hewes <hewes@openmarket.com>.
8097+	# How about differentiating between stratus architectures? -djm
8098+	echo hppa1.1-stratus-sysv4
8099+	exit ;;
8100+    *:*:*:FTX*)
8101+	# From seanf@swdc.stratus.com.
8102+	echo i860-stratus-sysv4
8103+	exit ;;
8104+    i*86:VOS:*:*)
8105+	# From Paul.Green@stratus.com.
8106+	echo ${UNAME_MACHINE}-stratus-vos
8107+	exit ;;
8108+    *:VOS:*:*)
8109+	# From Paul.Green@stratus.com.
8110+	echo hppa1.1-stratus-vos
8111+	exit ;;
8112+    mc68*:A/UX:*:*)
8113+	echo m68k-apple-aux${UNAME_RELEASE}
8114+	exit ;;
8115+    news*:NEWS-OS:6*:*)
8116+	echo mips-sony-newsos6
8117+	exit ;;
8118+    R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
8119+	if [ -d /usr/nec ]; then
8120+	        echo mips-nec-sysv${UNAME_RELEASE}
8121+	else
8122+	        echo mips-unknown-sysv${UNAME_RELEASE}
8123+	fi
8124+        exit ;;
8125+    BeBox:BeOS:*:*)	# BeOS running on hardware made by Be, PPC only.
8126+	echo powerpc-be-beos
8127+	exit ;;
8128+    BeMac:BeOS:*:*)	# BeOS running on Mac or Mac clone, PPC only.
8129+	echo powerpc-apple-beos
8130+	exit ;;
8131+    BePC:BeOS:*:*)	# BeOS running on Intel PC compatible.
8132+	echo i586-pc-beos
8133+	exit ;;
8134+    BePC:Haiku:*:*)	# Haiku running on Intel PC compatible.
8135+	echo i586-pc-haiku
8136+	exit ;;
8137+    SX-4:SUPER-UX:*:*)
8138+	echo sx4-nec-superux${UNAME_RELEASE}
8139+	exit ;;
8140+    SX-5:SUPER-UX:*:*)
8141+	echo sx5-nec-superux${UNAME_RELEASE}
8142+	exit ;;
8143+    SX-6:SUPER-UX:*:*)
8144+	echo sx6-nec-superux${UNAME_RELEASE}
8145+	exit ;;
8146+    SX-7:SUPER-UX:*:*)
8147+	echo sx7-nec-superux${UNAME_RELEASE}
8148+	exit ;;
8149+    SX-8:SUPER-UX:*:*)
8150+	echo sx8-nec-superux${UNAME_RELEASE}
8151+	exit ;;
8152+    SX-8R:SUPER-UX:*:*)
8153+	echo sx8r-nec-superux${UNAME_RELEASE}
8154+	exit ;;
8155+    Power*:Rhapsody:*:*)
8156+	echo powerpc-apple-rhapsody${UNAME_RELEASE}
8157+	exit ;;
8158+    *:Rhapsody:*:*)
8159+	echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
8160+	exit ;;
8161+    *:Darwin:*:*)
8162+	UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
8163+	case $UNAME_PROCESSOR in
8164+	    unknown) UNAME_PROCESSOR=powerpc ;;
8165+	esac
8166+	echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
8167+	exit ;;
8168+    *:procnto*:*:* | *:QNX:[0123456789]*:*)
8169+	UNAME_PROCESSOR=`uname -p`
8170+	if test "$UNAME_PROCESSOR" = "x86"; then
8171+		UNAME_PROCESSOR=i386
8172+		UNAME_MACHINE=pc
8173+	fi
8174+	echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
8175+	exit ;;
8176+    *:QNX:*:4*)
8177+	echo i386-pc-qnx
8178+	exit ;;
8179+    NSE-?:NONSTOP_KERNEL:*:*)
8180+	echo nse-tandem-nsk${UNAME_RELEASE}
8181+	exit ;;
8182+    NSR-?:NONSTOP_KERNEL:*:*)
8183+	echo nsr-tandem-nsk${UNAME_RELEASE}
8184+	exit ;;
8185+    *:NonStop-UX:*:*)
8186+	echo mips-compaq-nonstopux
8187+	exit ;;
8188+    BS2000:POSIX*:*:*)
8189+	echo bs2000-siemens-sysv
8190+	exit ;;
8191+    DS/*:UNIX_System_V:*:*)
8192+	echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE}
8193+	exit ;;
8194+    *:Plan9:*:*)
8195+	# "uname -m" is not consistent, so use $cputype instead. 386
8196+	# is converted to i386 for consistency with other x86
8197+	# operating systems.
8198+	if test "$cputype" = "386"; then
8199+	    UNAME_MACHINE=i386
8200+	else
8201+	    UNAME_MACHINE="$cputype"
8202+	fi
8203+	echo ${UNAME_MACHINE}-unknown-plan9
8204+	exit ;;
8205+    *:TOPS-10:*:*)
8206+	echo pdp10-unknown-tops10
8207+	exit ;;
8208+    *:TENEX:*:*)
8209+	echo pdp10-unknown-tenex
8210+	exit ;;
8211+    KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
8212+	echo pdp10-dec-tops20
8213+	exit ;;
8214+    XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*)
8215+	echo pdp10-xkl-tops20
8216+	exit ;;
8217+    *:TOPS-20:*:*)
8218+	echo pdp10-unknown-tops20
8219+	exit ;;
8220+    *:ITS:*:*)
8221+	echo pdp10-unknown-its
8222+	exit ;;
8223+    SEI:*:*:SEIUX)
8224+        echo mips-sei-seiux${UNAME_RELEASE}
8225+	exit ;;
8226+    *:DragonFly:*:*)
8227+	echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
8228+	exit ;;
8229+    *:*VMS:*:*)
8230+    	UNAME_MACHINE=`(uname -p) 2>/dev/null`
8231+	case "${UNAME_MACHINE}" in
8232+	    A*) echo alpha-dec-vms ; exit ;;
8233+	    I*) echo ia64-dec-vms ; exit ;;
8234+	    V*) echo vax-dec-vms ; exit ;;
8235+	esac ;;
8236+    *:XENIX:*:SysV)
8237+	echo i386-pc-xenix
8238+	exit ;;
8239+    i*86:skyos:*:*)
8240+	echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//'
8241+	exit ;;
8242+    i*86:rdos:*:*)
8243+	echo ${UNAME_MACHINE}-pc-rdos
8244+	exit ;;
8245+    i*86:AROS:*:*)
8246+	echo ${UNAME_MACHINE}-pc-aros
8247+	exit ;;
8248+esac
8249+
8250+#echo '(No uname command or uname output not recognized.)' 1>&2
8251+#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
8252+
8253+eval $set_cc_for_build
8254+cat >$dummy.c <<EOF
8255+#ifdef _SEQUENT_
8256+# include <sys/types.h>
8257+# include <sys/utsname.h>
8258+#endif
8259+main ()
8260+{
8261+#if defined (sony)
8262+#if defined (MIPSEB)
8263+  /* BFD wants "bsd" instead of "newsos".  Perhaps BFD should be changed,
8264+     I don't know....  */
8265+  printf ("mips-sony-bsd\n"); exit (0);
8266+#else
8267+#include <sys/param.h>
8268+  printf ("m68k-sony-newsos%s\n",
8269+#ifdef NEWSOS4
8270+          "4"
8271+#else
8272+	  ""
8273+#endif
8274+         ); exit (0);
8275+#endif
8276+#endif
8277+
8278+#if defined (__arm) && defined (__acorn) && defined (__unix)
8279+  printf ("arm-acorn-riscix\n"); exit (0);
8280+#endif
8281+
8282+#if defined (hp300) && !defined (hpux)
8283+  printf ("m68k-hp-bsd\n"); exit (0);
8284+#endif
8285+
8286+#if defined (NeXT)
8287+#if !defined (__ARCHITECTURE__)
8288+#define __ARCHITECTURE__ "m68k"
8289+#endif
8290+  int version;
8291+  version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`;
8292+  if (version < 4)
8293+    printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version);
8294+  else
8295+    printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version);
8296+  exit (0);
8297+#endif
8298+
8299+#if defined (MULTIMAX) || defined (n16)
8300+#if defined (UMAXV)
8301+  printf ("ns32k-encore-sysv\n"); exit (0);
8302+#else
8303+#if defined (CMU)
8304+  printf ("ns32k-encore-mach\n"); exit (0);
8305+#else
8306+  printf ("ns32k-encore-bsd\n"); exit (0);
8307+#endif
8308+#endif
8309+#endif
8310+
8311+#if defined (__386BSD__)
8312+  printf ("i386-pc-bsd\n"); exit (0);
8313+#endif
8314+
8315+#if defined (sequent)
8316+#if defined (i386)
8317+  printf ("i386-sequent-dynix\n"); exit (0);
8318+#endif
8319+#if defined (ns32000)
8320+  printf ("ns32k-sequent-dynix\n"); exit (0);
8321+#endif
8322+#endif
8323+
8324+#if defined (_SEQUENT_)
8325+    struct utsname un;
8326+
8327+    uname(&un);
8328+
8329+    if (strncmp(un.version, "V2", 2) == 0) {
8330+	printf ("i386-sequent-ptx2\n"); exit (0);
8331+    }
8332+    if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */
8333+	printf ("i386-sequent-ptx1\n"); exit (0);
8334+    }
8335+    printf ("i386-sequent-ptx\n"); exit (0);
8336+
8337+#endif
8338+
8339+#if defined (vax)
8340+# if !defined (ultrix)
8341+#  include <sys/param.h>
8342+#  if defined (BSD)
8343+#   if BSD == 43
8344+      printf ("vax-dec-bsd4.3\n"); exit (0);
8345+#   else
8346+#    if BSD == 199006
8347+      printf ("vax-dec-bsd4.3reno\n"); exit (0);
8348+#    else
8349+      printf ("vax-dec-bsd\n"); exit (0);
8350+#    endif
8351+#   endif
8352+#  else
8353+    printf ("vax-dec-bsd\n"); exit (0);
8354+#  endif
8355+# else
8356+    printf ("vax-dec-ultrix\n"); exit (0);
8357+# endif
8358+#endif
8359+
8360+#if defined (alliant) && defined (i860)
8361+  printf ("i860-alliant-bsd\n"); exit (0);
8362+#endif
8363+
8364+  exit (1);
8365+}
8366+EOF
8367+
8368+$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` &&
8369+	{ echo "$SYSTEM_NAME"; exit; }
8370+
8371+# Apollos put the system type in the environment.
8372+
8373+test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; }
8374+
8375+# Convex versions that predate uname can use getsysinfo(1)
8376+
8377+if [ -x /usr/convex/getsysinfo ]
8378+then
8379+    case `getsysinfo -f cpu_type` in
8380+    c1*)
8381+	echo c1-convex-bsd
8382+	exit ;;
8383+    c2*)
8384+	if getsysinfo -f scalar_acc
8385+	then echo c32-convex-bsd
8386+	else echo c2-convex-bsd
8387+	fi
8388+	exit ;;
8389+    c34*)
8390+	echo c34-convex-bsd
8391+	exit ;;
8392+    c38*)
8393+	echo c38-convex-bsd
8394+	exit ;;
8395+    c4*)
8396+	echo c4-convex-bsd
8397+	exit ;;
8398+    esac
8399+fi
8400+
8401+cat >&2 <<EOF
8402+$0: unable to guess system type
8403+
8404+This script, last modified $timestamp, has failed to recognize
8405+the operating system you are using. It is advised that you
8406+download the most up to date version of the config scripts from
8407+
8408+  http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
8409+and
8410+  http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
8411+
8412+If the version you run ($0) is already up to date, please
8413+send the following data and any information you think might be
8414+pertinent to <config-patches@gnu.org> in order to provide the needed
8415+information to handle your system.
8416+
8417+config.guess timestamp = $timestamp
8418+
8419+uname -m = `(uname -m) 2>/dev/null || echo unknown`
8420+uname -r = `(uname -r) 2>/dev/null || echo unknown`
8421+uname -s = `(uname -s) 2>/dev/null || echo unknown`
8422+uname -v = `(uname -v) 2>/dev/null || echo unknown`
8423+
8424+/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null`
8425+/bin/uname -X     = `(/bin/uname -X) 2>/dev/null`
8426+
8427+hostinfo               = `(hostinfo) 2>/dev/null`
8428+/bin/universe          = `(/bin/universe) 2>/dev/null`
8429+/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null`
8430+/bin/arch              = `(/bin/arch) 2>/dev/null`
8431+/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null`
8432+/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null`
8433+
8434+UNAME_MACHINE = ${UNAME_MACHINE}
8435+UNAME_RELEASE = ${UNAME_RELEASE}
8436+UNAME_SYSTEM  = ${UNAME_SYSTEM}
8437+UNAME_VERSION = ${UNAME_VERSION}
8438+EOF
8439+
8440+exit 1
8441+
8442+# Local variables:
8443+# eval: (add-hook 'write-file-hooks 'time-stamp)
8444+# time-stamp-start: "timestamp='"
8445+# time-stamp-format: "%:y-%02m-%02d"
8446+# time-stamp-end: "'"
8447+# End:
8448diff -urwN nxproxy-orig/conf/config.sub nxproxy/conf/config.sub
8449--- nxproxy-orig/conf/config.sub	1970-01-01 01:00:00.000000000 +0100
8450+++ nxproxy/conf/config.sub	2009-10-10 13:57:56.003846804 +0200
8451@@ -0,0 +1,1686 @@
8452+#! /bin/sh
8453+# Configuration validation subroutine script.
8454+#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
8455+#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
8456+#   Free Software Foundation, Inc.
8457+
8458+timestamp='2009-04-17'
8459+
8460+# This file is (in principle) common to ALL GNU software.
8461+# The presence of a machine in this file suggests that SOME GNU software
8462+# can handle that machine.  It does not imply ALL GNU software can.
8463+#
8464+# This file is free software; you can redistribute it and/or modify
8465+# it under the terms of the GNU General Public License as published by
8466+# the Free Software Foundation; either version 2 of the License, or
8467+# (at your option) any later version.
8468+#
8469+# This program is distributed in the hope that it will be useful,
8470+# but WITHOUT ANY WARRANTY; without even the implied warranty of
8471+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
8472+# GNU General Public License for more details.
8473+#
8474+# You should have received a copy of the GNU General Public License
8475+# along with this program; if not, write to the Free Software
8476+# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
8477+# 02110-1301, USA.
8478+#
8479+# As a special exception to the GNU General Public License, if you
8480+# distribute this file as part of a program that contains a
8481+# configuration script generated by Autoconf, you may include it under
8482+# the same distribution terms that you use for the rest of that program.
8483+
8484+
8485+# Please send patches to <config-patches@gnu.org>.  Submit a context
8486+# diff and a properly formatted ChangeLog entry.
8487+#
8488+# Configuration subroutine to validate and canonicalize a configuration type.
8489+# Supply the specified configuration type as an argument.
8490+# If it is invalid, we print an error message on stderr and exit with code 1.
8491+# Otherwise, we print the canonical config type on stdout and succeed.
8492+
8493+# This file is supposed to be the same for all GNU packages
8494+# and recognize all the CPU types, system types and aliases
8495+# that are meaningful with *any* GNU software.
8496+# Each package is responsible for reporting which valid configurations
8497+# it does not support.  The user should be able to distinguish
8498+# a failure to support a valid configuration from a meaningless
8499+# configuration.
8500+
8501+# The goal of this file is to map all the various variations of a given
8502+# machine specification into a single specification in the form:
8503+#	CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
8504+# or in some cases, the newer four-part form:
8505+#	CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
8506+# It is wrong to echo any other type of specification.
8507+
8508+me=`echo "$0" | sed -e 's,.*/,,'`
8509+
8510+usage="\
8511+Usage: $0 [OPTION] CPU-MFR-OPSYS
8512+       $0 [OPTION] ALIAS
8513+
8514+Canonicalize a configuration name.
8515+
8516+Operation modes:
8517+  -h, --help         print this help, then exit
8518+  -t, --time-stamp   print date of last modification, then exit
8519+  -v, --version      print version number, then exit
8520+
8521+Report bugs and patches to <config-patches@gnu.org>."
8522+
8523+version="\
8524+GNU config.sub ($timestamp)
8525+
8526+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
8527+2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
8528+
8529+This is free software; see the source for copying conditions.  There is NO
8530+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
8531+
8532+help="
8533+Try \`$me --help' for more information."
8534+
8535+# Parse command line
8536+while test $# -gt 0 ; do
8537+  case $1 in
8538+    --time-stamp | --time* | -t )
8539+       echo "$timestamp" ; exit ;;
8540+    --version | -v )
8541+       echo "$version" ; exit ;;
8542+    --help | --h* | -h )
8543+       echo "$usage"; exit ;;
8544+    -- )     # Stop option processing
8545+       shift; break ;;
8546+    - )	# Use stdin as input.
8547+       break ;;
8548+    -* )
8549+       echo "$me: invalid option $1$help"
8550+       exit 1 ;;
8551+
8552+    *local*)
8553+       # First pass through any local machine types.
8554+       echo $1
8555+       exit ;;
8556+
8557+    * )
8558+       break ;;
8559+  esac
8560+done
8561+
8562+case $# in
8563+ 0) echo "$me: missing argument$help" >&2
8564+    exit 1;;
8565+ 1) ;;
8566+ *) echo "$me: too many arguments$help" >&2
8567+    exit 1;;
8568+esac
8569+
8570+# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
8571+# Here we must recognize all the valid KERNEL-OS combinations.
8572+maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
8573+case $maybe_os in
8574+  nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
8575+  uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
8576+  kopensolaris*-gnu* | \
8577+  storm-chaos* | os2-emx* | rtmk-nova*)
8578+    os=-$maybe_os
8579+    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
8580+    ;;
8581+  *)
8582+    basic_machine=`echo $1 | sed 's/-[^-]*$//'`
8583+    if [ $basic_machine != $1 ]
8584+    then os=`echo $1 | sed 's/.*-/-/'`
8585+    else os=; fi
8586+    ;;
8587+esac
8588+
8589+### Let's recognize common machines as not being operating systems so
8590+### that things like config.sub decstation-3100 work.  We also
8591+### recognize some manufacturers as not being operating systems, so we
8592+### can provide default operating systems below.
8593+case $os in
8594+	-sun*os*)
8595+		# Prevent following clause from handling this invalid input.
8596+		;;
8597+	-dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \
8598+	-att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
8599+	-unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
8600+	-convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
8601+	-c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
8602+	-harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
8603+	-apple | -axis | -knuth | -cray)
8604+		os=
8605+		basic_machine=$1
8606+		;;
8607+	-sim | -cisco | -oki | -wec | -winbond)
8608+		os=
8609+		basic_machine=$1
8610+		;;
8611+	-scout)
8612+		;;
8613+	-wrs)
8614+		os=-vxworks
8615+		basic_machine=$1
8616+		;;
8617+	-chorusos*)
8618+		os=-chorusos
8619+		basic_machine=$1
8620+		;;
8621+ 	-chorusrdb)
8622+ 		os=-chorusrdb
8623+		basic_machine=$1
8624+ 		;;
8625+	-hiux*)
8626+		os=-hiuxwe2
8627+		;;
8628+	-sco6)
8629+		os=-sco5v6
8630+		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
8631+		;;
8632+	-sco5)
8633+		os=-sco3.2v5
8634+		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
8635+		;;
8636+	-sco4)
8637+		os=-sco3.2v4
8638+		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
8639+		;;
8640+	-sco3.2.[4-9]*)
8641+		os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
8642+		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
8643+		;;
8644+	-sco3.2v[4-9]*)
8645+		# Don't forget version if it is 3.2v4 or newer.
8646+		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
8647+		;;
8648+	-sco5v6*)
8649+		# Don't forget version if it is 3.2v4 or newer.
8650+		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
8651+		;;
8652+	-sco*)
8653+		os=-sco3.2v2
8654+		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
8655+		;;
8656+	-udk*)
8657+		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
8658+		;;
8659+	-isc)
8660+		os=-isc2.2
8661+		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
8662+		;;
8663+	-clix*)
8664+		basic_machine=clipper-intergraph
8665+		;;
8666+	-isc*)
8667+		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
8668+		;;
8669+	-lynx*)
8670+		os=-lynxos
8671+		;;
8672+	-ptx*)
8673+		basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'`
8674+		;;
8675+	-windowsnt*)
8676+		os=`echo $os | sed -e 's/windowsnt/winnt/'`
8677+		;;
8678+	-psos*)
8679+		os=-psos
8680+		;;
8681+	-mint | -mint[0-9]*)
8682+		basic_machine=m68k-atari
8683+		os=-mint
8684+		;;
8685+esac
8686+
8687+# Decode aliases for certain CPU-COMPANY combinations.
8688+case $basic_machine in
8689+	# Recognize the basic CPU types without company name.
8690+	# Some are omitted here because they have special meanings below.
8691+	1750a | 580 \
8692+	| a29k \
8693+	| alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
8694+	| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
8695+	| am33_2.0 \
8696+	| arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
8697+	| bfin \
8698+	| c4x | clipper \
8699+	| d10v | d30v | dlx | dsp16xx \
8700+	| fido | fr30 | frv \
8701+	| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
8702+	| i370 | i860 | i960 | ia64 \
8703+	| ip2k | iq2000 \
8704+	| lm32 \
8705+	| m32c | m32r | m32rle | m68000 | m68k | m88k \
8706+	| maxq | mb | microblaze | mcore | mep | metag \
8707+	| mips | mipsbe | mipseb | mipsel | mipsle \
8708+	| mips16 \
8709+	| mips64 | mips64el \
8710+	| mips64octeon | mips64octeonel \
8711+	| mips64orion | mips64orionel \
8712+	| mips64r5900 | mips64r5900el \
8713+	| mips64vr | mips64vrel \
8714+	| mips64vr4100 | mips64vr4100el \
8715+	| mips64vr4300 | mips64vr4300el \
8716+	| mips64vr5000 | mips64vr5000el \
8717+	| mips64vr5900 | mips64vr5900el \
8718+	| mipsisa32 | mipsisa32el \
8719+	| mipsisa32r2 | mipsisa32r2el \
8720+	| mipsisa64 | mipsisa64el \
8721+	| mipsisa64r2 | mipsisa64r2el \
8722+	| mipsisa64sb1 | mipsisa64sb1el \
8723+	| mipsisa64sr71k | mipsisa64sr71kel \
8724+	| mipstx39 | mipstx39el \
8725+	| mn10200 | mn10300 \
8726+	| moxie \
8727+	| mt \
8728+	| msp430 \
8729+	| nios | nios2 \
8730+	| ns16k | ns32k \
8731+	| or32 \
8732+	| pdp10 | pdp11 | pj | pjl \
8733+	| powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
8734+	| pyramid \
8735+	| score \
8736+	| sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
8737+	| sh64 | sh64le \
8738+	| sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
8739+	| sparcv8 | sparcv9 | sparcv9b | sparcv9v \
8740+	| spu | strongarm \
8741+	| tahoe | thumb | tic4x | tic80 | tron \
8742+	| v850 | v850e \
8743+	| we32k \
8744+	| x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
8745+	| z8k | z80)
8746+		basic_machine=$basic_machine-unknown
8747+		;;
8748+	m6811 | m68hc11 | m6812 | m68hc12)
8749+		# Motorola 68HC11/12.
8750+		basic_machine=$basic_machine-unknown
8751+		os=-none
8752+		;;
8753+	m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
8754+		;;
8755+	ms1)
8756+		basic_machine=mt-unknown
8757+		;;
8758+
8759+	# We use `pc' rather than `unknown'
8760+	# because (1) that's what they normally are, and
8761+	# (2) the word "unknown" tends to confuse beginning users.
8762+	i*86 | x86_64)
8763+	  basic_machine=$basic_machine-pc
8764+	  ;;
8765+	# Object if more than one company name word.
8766+	*-*-*)
8767+		echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
8768+		exit 1
8769+		;;
8770+	# Recognize the basic CPU types with company name.
8771+	580-* \
8772+	| a29k-* \
8773+	| alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
8774+	| alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
8775+	| alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
8776+	| arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
8777+	| avr-* | avr32-* \
8778+	| bfin-* | bs2000-* \
8779+	| c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
8780+	| clipper-* | craynv-* | cydra-* \
8781+	| d10v-* | d30v-* | dlx-* \
8782+	| elxsi-* \
8783+	| f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
8784+	| h8300-* | h8500-* \
8785+	| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
8786+	| i*86-* | i860-* | i960-* | ia64-* \
8787+	| ip2k-* | iq2000-* \
8788+	| lm32-* \
8789+	| m32c-* | m32r-* | m32rle-* \
8790+	| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
8791+	| m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
8792+	| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
8793+	| mips16-* \
8794+	| mips64-* | mips64el-* \
8795+	| mips64octeon-* | mips64octeonel-* \
8796+	| mips64orion-* | mips64orionel-* \
8797+	| mips64r5900-* | mips64r5900el-* \
8798+	| mips64vr-* | mips64vrel-* \
8799+	| mips64vr4100-* | mips64vr4100el-* \
8800+	| mips64vr4300-* | mips64vr4300el-* \
8801+	| mips64vr5000-* | mips64vr5000el-* \
8802+	| mips64vr5900-* | mips64vr5900el-* \
8803+	| mipsisa32-* | mipsisa32el-* \
8804+	| mipsisa32r2-* | mipsisa32r2el-* \
8805+	| mipsisa64-* | mipsisa64el-* \
8806+	| mipsisa64r2-* | mipsisa64r2el-* \
8807+	| mipsisa64sb1-* | mipsisa64sb1el-* \
8808+	| mipsisa64sr71k-* | mipsisa64sr71kel-* \
8809+	| mipstx39-* | mipstx39el-* \
8810+	| mmix-* \
8811+	| mt-* \
8812+	| msp430-* \
8813+	| nios-* | nios2-* \
8814+	| none-* | np1-* | ns16k-* | ns32k-* \
8815+	| orion-* \
8816+	| pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
8817+	| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
8818+	| pyramid-* \
8819+	| romp-* | rs6000-* \
8820+	| sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
8821+	| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
8822+	| sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
8823+	| sparclite-* \
8824+	| sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
8825+	| tahoe-* | thumb-* \
8826+	| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \
8827+	| tron-* \
8828+	| v850-* | v850e-* | vax-* \
8829+	| we32k-* \
8830+	| x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
8831+	| xstormy16-* | xtensa*-* \
8832+	| ymp-* \
8833+	| z8k-* | z80-*)
8834+		;;
8835+	# Recognize the basic CPU types without company name, with glob match.
8836+	xtensa*)
8837+		basic_machine=$basic_machine-unknown
8838+		;;
8839+	# Recognize the various machine names and aliases which stand
8840+	# for a CPU type and a company and sometimes even an OS.
8841+	386bsd)
8842+		basic_machine=i386-unknown
8843+		os=-bsd
8844+		;;
8845+	3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
8846+		basic_machine=m68000-att
8847+		;;
8848+	3b*)
8849+		basic_machine=we32k-att
8850+		;;
8851+	a29khif)
8852+		basic_machine=a29k-amd
8853+		os=-udi
8854+		;;
8855+    	abacus)
8856+		basic_machine=abacus-unknown
8857+		;;
8858+	adobe68k)
8859+		basic_machine=m68010-adobe
8860+		os=-scout
8861+		;;
8862+	alliant | fx80)
8863+		basic_machine=fx80-alliant
8864+		;;
8865+	altos | altos3068)
8866+		basic_machine=m68k-altos
8867+		;;
8868+	am29k)
8869+		basic_machine=a29k-none
8870+		os=-bsd
8871+		;;
8872+	amd64)
8873+		basic_machine=x86_64-pc
8874+		;;
8875+	amd64-*)
8876+		basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
8877+		;;
8878+	amdahl)
8879+		basic_machine=580-amdahl
8880+		os=-sysv
8881+		;;
8882+	amiga | amiga-*)
8883+		basic_machine=m68k-unknown
8884+		;;
8885+	amigaos | amigados)
8886+		basic_machine=m68k-unknown
8887+		os=-amigaos
8888+		;;
8889+	amigaunix | amix)
8890+		basic_machine=m68k-unknown
8891+		os=-sysv4
8892+		;;
8893+	apollo68)
8894+		basic_machine=m68k-apollo
8895+		os=-sysv
8896+		;;
8897+	apollo68bsd)
8898+		basic_machine=m68k-apollo
8899+		os=-bsd
8900+		;;
8901+	aros)
8902+		basic_machine=i386-pc
8903+		os=-aros
8904+		;;
8905+	aux)
8906+		basic_machine=m68k-apple
8907+		os=-aux
8908+		;;
8909+	balance)
8910+		basic_machine=ns32k-sequent
8911+		os=-dynix
8912+		;;
8913+	blackfin)
8914+		basic_machine=bfin-unknown
8915+		os=-linux
8916+		;;
8917+	blackfin-*)
8918+		basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
8919+		os=-linux
8920+		;;
8921+	c90)
8922+		basic_machine=c90-cray
8923+		os=-unicos
8924+		;;
8925+        cegcc)
8926+		basic_machine=arm-unknown
8927+		os=-cegcc
8928+		;;
8929+	convex-c1)
8930+		basic_machine=c1-convex
8931+		os=-bsd
8932+		;;
8933+	convex-c2)
8934+		basic_machine=c2-convex
8935+		os=-bsd
8936+		;;
8937+	convex-c32)
8938+		basic_machine=c32-convex
8939+		os=-bsd
8940+		;;
8941+	convex-c34)
8942+		basic_machine=c34-convex
8943+		os=-bsd
8944+		;;
8945+	convex-c38)
8946+		basic_machine=c38-convex
8947+		os=-bsd
8948+		;;
8949+	cray | j90)
8950+		basic_machine=j90-cray
8951+		os=-unicos
8952+		;;
8953+	craynv)
8954+		basic_machine=craynv-cray
8955+		os=-unicosmp
8956+		;;
8957+	cr16)
8958+		basic_machine=cr16-unknown
8959+		os=-elf
8960+		;;
8961+	crds | unos)
8962+		basic_machine=m68k-crds
8963+		;;
8964+	crisv32 | crisv32-* | etraxfs*)
8965+		basic_machine=crisv32-axis
8966+		;;
8967+	cris | cris-* | etrax*)
8968+		basic_machine=cris-axis
8969+		;;
8970+	crx)
8971+		basic_machine=crx-unknown
8972+		os=-elf
8973+		;;
8974+	da30 | da30-*)
8975+		basic_machine=m68k-da30
8976+		;;
8977+	decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
8978+		basic_machine=mips-dec
8979+		;;
8980+	decsystem10* | dec10*)
8981+		basic_machine=pdp10-dec
8982+		os=-tops10
8983+		;;
8984+	decsystem20* | dec20*)
8985+		basic_machine=pdp10-dec
8986+		os=-tops20
8987+		;;
8988+	delta | 3300 | motorola-3300 | motorola-delta \
8989+	      | 3300-motorola | delta-motorola)
8990+		basic_machine=m68k-motorola
8991+		;;
8992+	delta88)
8993+		basic_machine=m88k-motorola
8994+		os=-sysv3
8995+		;;
8996+	dicos)
8997+		basic_machine=i686-pc
8998+		os=-dicos
8999+		;;
9000+	djgpp)
9001+		basic_machine=i586-pc
9002+		os=-msdosdjgpp
9003+		;;
9004+	dpx20 | dpx20-*)
9005+		basic_machine=rs6000-bull
9006+		os=-bosx
9007+		;;
9008+	dpx2* | dpx2*-bull)
9009+		basic_machine=m68k-bull
9010+		os=-sysv3
9011+		;;
9012+	ebmon29k)
9013+		basic_machine=a29k-amd
9014+		os=-ebmon
9015+		;;
9016+	elxsi)
9017+		basic_machine=elxsi-elxsi
9018+		os=-bsd
9019+		;;
9020+	encore | umax | mmax)
9021+		basic_machine=ns32k-encore
9022+		;;
9023+	es1800 | OSE68k | ose68k | ose | OSE)
9024+		basic_machine=m68k-ericsson
9025+		os=-ose
9026+		;;
9027+	fx2800)
9028+		basic_machine=i860-alliant
9029+		;;
9030+	genix)
9031+		basic_machine=ns32k-ns
9032+		;;
9033+	gmicro)
9034+		basic_machine=tron-gmicro
9035+		os=-sysv
9036+		;;
9037+	go32)
9038+		basic_machine=i386-pc
9039+		os=-go32
9040+		;;
9041+	h3050r* | hiux*)
9042+		basic_machine=hppa1.1-hitachi
9043+		os=-hiuxwe2
9044+		;;
9045+	h8300hms)
9046+		basic_machine=h8300-hitachi
9047+		os=-hms
9048+		;;
9049+	h8300xray)
9050+		basic_machine=h8300-hitachi
9051+		os=-xray
9052+		;;
9053+	h8500hms)
9054+		basic_machine=h8500-hitachi
9055+		os=-hms
9056+		;;
9057+	harris)
9058+		basic_machine=m88k-harris
9059+		os=-sysv3
9060+		;;
9061+	hp300-*)
9062+		basic_machine=m68k-hp
9063+		;;
9064+	hp300bsd)
9065+		basic_machine=m68k-hp
9066+		os=-bsd
9067+		;;
9068+	hp300hpux)
9069+		basic_machine=m68k-hp
9070+		os=-hpux
9071+		;;
9072+	hp3k9[0-9][0-9] | hp9[0-9][0-9])
9073+		basic_machine=hppa1.0-hp
9074+		;;
9075+	hp9k2[0-9][0-9] | hp9k31[0-9])
9076+		basic_machine=m68000-hp
9077+		;;
9078+	hp9k3[2-9][0-9])
9079+		basic_machine=m68k-hp
9080+		;;
9081+	hp9k6[0-9][0-9] | hp6[0-9][0-9])
9082+		basic_machine=hppa1.0-hp
9083+		;;
9084+	hp9k7[0-79][0-9] | hp7[0-79][0-9])
9085+		basic_machine=hppa1.1-hp
9086+		;;
9087+	hp9k78[0-9] | hp78[0-9])
9088+		# FIXME: really hppa2.0-hp
9089+		basic_machine=hppa1.1-hp
9090+		;;
9091+	hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893)
9092+		# FIXME: really hppa2.0-hp
9093+		basic_machine=hppa1.1-hp
9094+		;;
9095+	hp9k8[0-9][13679] | hp8[0-9][13679])
9096+		basic_machine=hppa1.1-hp
9097+		;;
9098+	hp9k8[0-9][0-9] | hp8[0-9][0-9])
9099+		basic_machine=hppa1.0-hp
9100+		;;
9101+	hppa-next)
9102+		os=-nextstep3
9103+		;;
9104+	hppaosf)
9105+		basic_machine=hppa1.1-hp
9106+		os=-osf
9107+		;;
9108+	hppro)
9109+		basic_machine=hppa1.1-hp
9110+		os=-proelf
9111+		;;
9112+	i370-ibm* | ibm*)
9113+		basic_machine=i370-ibm
9114+		;;
9115+# I'm not sure what "Sysv32" means.  Should this be sysv3.2?
9116+	i*86v32)
9117+		basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
9118+		os=-sysv32
9119+		;;
9120+	i*86v4*)
9121+		basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
9122+		os=-sysv4
9123+		;;
9124+	i*86v)
9125+		basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
9126+		os=-sysv
9127+		;;
9128+	i*86sol2)
9129+		basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
9130+		os=-solaris2
9131+		;;
9132+	i386mach)
9133+		basic_machine=i386-mach
9134+		os=-mach
9135+		;;
9136+	i386-vsta | vsta)
9137+		basic_machine=i386-unknown
9138+		os=-vsta
9139+		;;
9140+	iris | iris4d)
9141+		basic_machine=mips-sgi
9142+		case $os in
9143+		    -irix*)
9144+			;;
9145+		    *)
9146+			os=-irix4
9147+			;;
9148+		esac
9149+		;;
9150+	isi68 | isi)
9151+		basic_machine=m68k-isi
9152+		os=-sysv
9153+		;;
9154+	m68knommu)
9155+		basic_machine=m68k-unknown
9156+		os=-linux
9157+		;;
9158+	m68knommu-*)
9159+		basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
9160+		os=-linux
9161+		;;
9162+	m88k-omron*)
9163+		basic_machine=m88k-omron
9164+		;;
9165+	magnum | m3230)
9166+		basic_machine=mips-mips
9167+		os=-sysv
9168+		;;
9169+	merlin)
9170+		basic_machine=ns32k-utek
9171+		os=-sysv
9172+		;;
9173+	mingw32)
9174+		basic_machine=i386-pc
9175+		os=-mingw32
9176+		;;
9177+	mingw32ce)
9178+		basic_machine=arm-unknown
9179+		os=-mingw32ce
9180+		;;
9181+	miniframe)
9182+		basic_machine=m68000-convergent
9183+		;;
9184+	*mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*)
9185+		basic_machine=m68k-atari
9186+		os=-mint
9187+		;;
9188+	mips3*-*)
9189+		basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
9190+		;;
9191+	mips3*)
9192+		basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
9193+		;;
9194+	monitor)
9195+		basic_machine=m68k-rom68k
9196+		os=-coff
9197+		;;
9198+	morphos)
9199+		basic_machine=powerpc-unknown
9200+		os=-morphos
9201+		;;
9202+	msdos)
9203+		basic_machine=i386-pc
9204+		os=-msdos
9205+		;;
9206+	ms1-*)
9207+		basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
9208+		;;
9209+	mvs)
9210+		basic_machine=i370-ibm
9211+		os=-mvs
9212+		;;
9213+	ncr3000)
9214+		basic_machine=i486-ncr
9215+		os=-sysv4
9216+		;;
9217+	netbsd386)
9218+		basic_machine=i386-unknown
9219+		os=-netbsd
9220+		;;
9221+	netwinder)
9222+		basic_machine=armv4l-rebel
9223+		os=-linux
9224+		;;
9225+	news | news700 | news800 | news900)
9226+		basic_machine=m68k-sony
9227+		os=-newsos
9228+		;;
9229+	news1000)
9230+		basic_machine=m68030-sony
9231+		os=-newsos
9232+		;;
9233+	news-3600 | risc-news)
9234+		basic_machine=mips-sony
9235+		os=-newsos
9236+		;;
9237+	necv70)
9238+		basic_machine=v70-nec
9239+		os=-sysv
9240+		;;
9241+	next | m*-next )
9242+		basic_machine=m68k-next
9243+		case $os in
9244+		    -nextstep* )
9245+			;;
9246+		    -ns2*)
9247+		      os=-nextstep2
9248+			;;
9249+		    *)
9250+		      os=-nextstep3
9251+			;;
9252+		esac
9253+		;;
9254+	nh3000)
9255+		basic_machine=m68k-harris
9256+		os=-cxux
9257+		;;
9258+	nh[45]000)
9259+		basic_machine=m88k-harris
9260+		os=-cxux
9261+		;;
9262+	nindy960)
9263+		basic_machine=i960-intel
9264+		os=-nindy
9265+		;;
9266+	mon960)
9267+		basic_machine=i960-intel
9268+		os=-mon960
9269+		;;
9270+	nonstopux)
9271+		basic_machine=mips-compaq
9272+		os=-nonstopux
9273+		;;
9274+	np1)
9275+		basic_machine=np1-gould
9276+		;;
9277+	nsr-tandem)
9278+		basic_machine=nsr-tandem
9279+		;;
9280+	op50n-* | op60c-*)
9281+		basic_machine=hppa1.1-oki
9282+		os=-proelf
9283+		;;
9284+	openrisc | openrisc-*)
9285+		basic_machine=or32-unknown
9286+		;;
9287+	os400)
9288+		basic_machine=powerpc-ibm
9289+		os=-os400
9290+		;;
9291+	OSE68000 | ose68000)
9292+		basic_machine=m68000-ericsson
9293+		os=-ose
9294+		;;
9295+	os68k)
9296+		basic_machine=m68k-none
9297+		os=-os68k
9298+		;;
9299+	pa-hitachi)
9300+		basic_machine=hppa1.1-hitachi
9301+		os=-hiuxwe2
9302+		;;
9303+	paragon)
9304+		basic_machine=i860-intel
9305+		os=-osf
9306+		;;
9307+	parisc)
9308+		basic_machine=hppa-unknown
9309+		os=-linux
9310+		;;
9311+	parisc-*)
9312+		basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
9313+		os=-linux
9314+		;;
9315+	pbd)
9316+		basic_machine=sparc-tti
9317+		;;
9318+	pbb)
9319+		basic_machine=m68k-tti
9320+		;;
9321+	pc532 | pc532-*)
9322+		basic_machine=ns32k-pc532
9323+		;;
9324+	pc98)
9325+		basic_machine=i386-pc
9326+		;;
9327+	pc98-*)
9328+		basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
9329+		;;
9330+	pentium | p5 | k5 | k6 | nexgen | viac3)
9331+		basic_machine=i586-pc
9332+		;;
9333+	pentiumpro | p6 | 6x86 | athlon | athlon_*)
9334+		basic_machine=i686-pc
9335+		;;
9336+	pentiumii | pentium2 | pentiumiii | pentium3)
9337+		basic_machine=i686-pc
9338+		;;
9339+	pentium4)
9340+		basic_machine=i786-pc
9341+		;;
9342+	pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
9343+		basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
9344+		;;
9345+	pentiumpro-* | p6-* | 6x86-* | athlon-*)
9346+		basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
9347+		;;
9348+	pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
9349+		basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
9350+		;;
9351+	pentium4-*)
9352+		basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
9353+		;;
9354+	pn)
9355+		basic_machine=pn-gould
9356+		;;
9357+	power)	basic_machine=power-ibm
9358+		;;
9359+	ppc)	basic_machine=powerpc-unknown
9360+		;;
9361+	ppc-*)	basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
9362+		;;
9363+	ppcle | powerpclittle | ppc-le | powerpc-little)
9364+		basic_machine=powerpcle-unknown
9365+		;;
9366+	ppcle-* | powerpclittle-*)
9367+		basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
9368+		;;
9369+	ppc64)	basic_machine=powerpc64-unknown
9370+		;;
9371+	ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
9372+		;;
9373+	ppc64le | powerpc64little | ppc64-le | powerpc64-little)
9374+		basic_machine=powerpc64le-unknown
9375+		;;
9376+	ppc64le-* | powerpc64little-*)
9377+		basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
9378+		;;
9379+	ps2)
9380+		basic_machine=i386-ibm
9381+		;;
9382+	pw32)
9383+		basic_machine=i586-unknown
9384+		os=-pw32
9385+		;;
9386+	rdos)
9387+		basic_machine=i386-pc
9388+		os=-rdos
9389+		;;
9390+	rom68k)
9391+		basic_machine=m68k-rom68k
9392+		os=-coff
9393+		;;
9394+	rm[46]00)
9395+		basic_machine=mips-siemens
9396+		;;
9397+	rtpc | rtpc-*)
9398+		basic_machine=romp-ibm
9399+		;;
9400+	s390 | s390-*)
9401+		basic_machine=s390-ibm
9402+		;;
9403+	s390x | s390x-*)
9404+		basic_machine=s390x-ibm
9405+		;;
9406+	sa29200)
9407+		basic_machine=a29k-amd
9408+		os=-udi
9409+		;;
9410+	sb1)
9411+		basic_machine=mipsisa64sb1-unknown
9412+		;;
9413+	sb1el)
9414+		basic_machine=mipsisa64sb1el-unknown
9415+		;;
9416+	sde)
9417+		basic_machine=mipsisa32-sde
9418+		os=-elf
9419+		;;
9420+	sei)
9421+		basic_machine=mips-sei
9422+		os=-seiux
9423+		;;
9424+	sequent)
9425+		basic_machine=i386-sequent
9426+		;;
9427+	sh)
9428+		basic_machine=sh-hitachi
9429+		os=-hms
9430+		;;
9431+	sh5el)
9432+		basic_machine=sh5le-unknown
9433+		;;
9434+	sh64)
9435+		basic_machine=sh64-unknown
9436+		;;
9437+	sparclite-wrs | simso-wrs)
9438+		basic_machine=sparclite-wrs
9439+		os=-vxworks
9440+		;;
9441+	sps7)
9442+		basic_machine=m68k-bull
9443+		os=-sysv2
9444+		;;
9445+	spur)
9446+		basic_machine=spur-unknown
9447+		;;
9448+	st2000)
9449+		basic_machine=m68k-tandem
9450+		;;
9451+	stratus)
9452+		basic_machine=i860-stratus
9453+		os=-sysv4
9454+		;;
9455+	sun2)
9456+		basic_machine=m68000-sun
9457+		;;
9458+	sun2os3)
9459+		basic_machine=m68000-sun
9460+		os=-sunos3
9461+		;;
9462+	sun2os4)
9463+		basic_machine=m68000-sun
9464+		os=-sunos4
9465+		;;
9466+	sun3os3)
9467+		basic_machine=m68k-sun
9468+		os=-sunos3
9469+		;;
9470+	sun3os4)
9471+		basic_machine=m68k-sun
9472+		os=-sunos4
9473+		;;
9474+	sun4os3)
9475+		basic_machine=sparc-sun
9476+		os=-sunos3
9477+		;;
9478+	sun4os4)
9479+		basic_machine=sparc-sun
9480+		os=-sunos4
9481+		;;
9482+	sun4sol2)
9483+		basic_machine=sparc-sun
9484+		os=-solaris2
9485+		;;
9486+	sun3 | sun3-*)
9487+		basic_machine=m68k-sun
9488+		;;
9489+	sun4)
9490+		basic_machine=sparc-sun
9491+		;;
9492+	sun386 | sun386i | roadrunner)
9493+		basic_machine=i386-sun
9494+		;;
9495+	sv1)
9496+		basic_machine=sv1-cray
9497+		os=-unicos
9498+		;;
9499+	symmetry)
9500+		basic_machine=i386-sequent
9501+		os=-dynix
9502+		;;
9503+	t3e)
9504+		basic_machine=alphaev5-cray
9505+		os=-unicos
9506+		;;
9507+	t90)
9508+		basic_machine=t90-cray
9509+		os=-unicos
9510+		;;
9511+	tic54x | c54x*)
9512+		basic_machine=tic54x-unknown
9513+		os=-coff
9514+		;;
9515+	tic55x | c55x*)
9516+		basic_machine=tic55x-unknown
9517+		os=-coff
9518+		;;
9519+	tic6x | c6x*)
9520+		basic_machine=tic6x-unknown
9521+		os=-coff
9522+		;;
9523+	tile*)
9524+		basic_machine=tile-unknown
9525+		os=-linux-gnu
9526+		;;
9527+	tx39)
9528+		basic_machine=mipstx39-unknown
9529+		;;
9530+	tx39el)
9531+		basic_machine=mipstx39el-unknown
9532+		;;
9533+	toad1)
9534+		basic_machine=pdp10-xkl
9535+		os=-tops20
9536+		;;
9537+	tower | tower-32)
9538+		basic_machine=m68k-ncr
9539+		;;
9540+	tpf)
9541+		basic_machine=s390x-ibm
9542+		os=-tpf
9543+		;;
9544+	udi29k)
9545+		basic_machine=a29k-amd
9546+		os=-udi
9547+		;;
9548+	ultra3)
9549+		basic_machine=a29k-nyu
9550+		os=-sym1
9551+		;;
9552+	v810 | necv810)
9553+		basic_machine=v810-nec
9554+		os=-none
9555+		;;
9556+	vaxv)
9557+		basic_machine=vax-dec
9558+		os=-sysv
9559+		;;
9560+	vms)
9561+		basic_machine=vax-dec
9562+		os=-vms
9563+		;;
9564+	vpp*|vx|vx-*)
9565+		basic_machine=f301-fujitsu
9566+		;;
9567+	vxworks960)
9568+		basic_machine=i960-wrs
9569+		os=-vxworks
9570+		;;
9571+	vxworks68)
9572+		basic_machine=m68k-wrs
9573+		os=-vxworks
9574+		;;
9575+	vxworks29k)
9576+		basic_machine=a29k-wrs
9577+		os=-vxworks
9578+		;;
9579+	w65*)
9580+		basic_machine=w65-wdc
9581+		os=-none
9582+		;;
9583+	w89k-*)
9584+		basic_machine=hppa1.1-winbond
9585+		os=-proelf
9586+		;;
9587+	xbox)
9588+		basic_machine=i686-pc
9589+		os=-mingw32
9590+		;;
9591+	xps | xps100)
9592+		basic_machine=xps100-honeywell
9593+		;;
9594+	ymp)
9595+		basic_machine=ymp-cray
9596+		os=-unicos
9597+		;;
9598+	z8k-*-coff)
9599+		basic_machine=z8k-unknown
9600+		os=-sim
9601+		;;
9602+	z80-*-coff)
9603+		basic_machine=z80-unknown
9604+		os=-sim
9605+		;;
9606+	none)
9607+		basic_machine=none-none
9608+		os=-none
9609+		;;
9610+
9611+# Here we handle the default manufacturer of certain CPU types.  It is in
9612+# some cases the only manufacturer, in others, it is the most popular.
9613+	w89k)
9614+		basic_machine=hppa1.1-winbond
9615+		;;
9616+	op50n)
9617+		basic_machine=hppa1.1-oki
9618+		;;
9619+	op60c)
9620+		basic_machine=hppa1.1-oki
9621+		;;
9622+	romp)
9623+		basic_machine=romp-ibm
9624+		;;
9625+	mmix)
9626+		basic_machine=mmix-knuth
9627+		;;
9628+	rs6000)
9629+		basic_machine=rs6000-ibm
9630+		;;
9631+	vax)
9632+		basic_machine=vax-dec
9633+		;;
9634+	pdp10)
9635+		# there are many clones, so DEC is not a safe bet
9636+		basic_machine=pdp10-unknown
9637+		;;
9638+	pdp11)
9639+		basic_machine=pdp11-dec
9640+		;;
9641+	we32k)
9642+		basic_machine=we32k-att
9643+		;;
9644+	sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
9645+		basic_machine=sh-unknown
9646+		;;
9647+	sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
9648+		basic_machine=sparc-sun
9649+		;;
9650+	cydra)
9651+		basic_machine=cydra-cydrome
9652+		;;
9653+	orion)
9654+		basic_machine=orion-highlevel
9655+		;;
9656+	orion105)
9657+		basic_machine=clipper-highlevel
9658+		;;
9659+	mac | mpw | mac-mpw)
9660+		basic_machine=m68k-apple
9661+		;;
9662+	pmac | pmac-mpw)
9663+		basic_machine=powerpc-apple
9664+		;;
9665+	*-unknown)
9666+		# Make sure to match an already-canonicalized machine name.
9667+		;;
9668+	*)
9669+		echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
9670+		exit 1
9671+		;;
9672+esac
9673+
9674+# Here we canonicalize certain aliases for manufacturers.
9675+case $basic_machine in
9676+	*-digital*)
9677+		basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'`
9678+		;;
9679+	*-commodore*)
9680+		basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'`
9681+		;;
9682+	*)
9683+		;;
9684+esac
9685+
9686+# Decode manufacturer-specific aliases for certain operating systems.
9687+
9688+if [ x"$os" != x"" ]
9689+then
9690+case $os in
9691+        # First match some system type aliases
9692+        # that might get confused with valid system types.
9693+	# -solaris* is a basic system type, with this one exception.
9694+	-solaris1 | -solaris1.*)
9695+		os=`echo $os | sed -e 's|solaris1|sunos4|'`
9696+		;;
9697+	-solaris)
9698+		os=-solaris2
9699+		;;
9700+	-svr4*)
9701+		os=-sysv4
9702+		;;
9703+	-unixware*)
9704+		os=-sysv4.2uw
9705+		;;
9706+	-gnu/linux*)
9707+		os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
9708+		;;
9709+	# First accept the basic system types.
9710+	# The portable systems comes first.
9711+	# Each alternative MUST END IN A *, to match a version number.
9712+	# -sysv* is not here because it comes later, after sysvr4.
9713+	-gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
9714+	      | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
9715+	      | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
9716+	      | -kopensolaris* \
9717+	      | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
9718+	      | -aos* | -aros* \
9719+	      | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
9720+	      | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
9721+	      | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
9722+	      | -openbsd* | -solidbsd* \
9723+	      | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
9724+	      | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
9725+	      | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
9726+	      | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
9727+	      | -chorusos* | -chorusrdb* | -cegcc* \
9728+	      | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
9729+	      | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
9730+	      | -uxpv* | -beos* | -mpeix* | -udk* \
9731+	      | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
9732+	      | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
9733+	      | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
9734+	      | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
9735+	      | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
9736+	      | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
9737+	      | -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
9738+	# Remember, each alternative MUST END IN *, to match a version number.
9739+		;;
9740+	-qnx*)
9741+		case $basic_machine in
9742+		    x86-* | i*86-*)
9743+			;;
9744+		    *)
9745+			os=-nto$os
9746+			;;
9747+		esac
9748+		;;
9749+	-nto-qnx*)
9750+		;;
9751+	-nto*)
9752+		os=`echo $os | sed -e 's|nto|nto-qnx|'`
9753+		;;
9754+	-sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
9755+	      | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
9756+	      | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
9757+		;;
9758+	-mac*)
9759+		os=`echo $os | sed -e 's|mac|macos|'`
9760+		;;
9761+	-linux-dietlibc)
9762+		os=-linux-dietlibc
9763+		;;
9764+	-linux*)
9765+		os=`echo $os | sed -e 's|linux|linux-gnu|'`
9766+		;;
9767+	-sunos5*)
9768+		os=`echo $os | sed -e 's|sunos5|solaris2|'`
9769+		;;
9770+	-sunos6*)
9771+		os=`echo $os | sed -e 's|sunos6|solaris3|'`
9772+		;;
9773+	-opened*)
9774+		os=-openedition
9775+		;;
9776+        -os400*)
9777+		os=-os400
9778+		;;
9779+	-wince*)
9780+		os=-wince
9781+		;;
9782+	-osfrose*)
9783+		os=-osfrose
9784+		;;
9785+	-osf*)
9786+		os=-osf
9787+		;;
9788+	-utek*)
9789+		os=-bsd
9790+		;;
9791+	-dynix*)
9792+		os=-bsd
9793+		;;
9794+	-acis*)
9795+		os=-aos
9796+		;;
9797+	-atheos*)
9798+		os=-atheos
9799+		;;
9800+	-syllable*)
9801+		os=-syllable
9802+		;;
9803+	-386bsd)
9804+		os=-bsd
9805+		;;
9806+	-ctix* | -uts*)
9807+		os=-sysv
9808+		;;
9809+	-nova*)
9810+		os=-rtmk-nova
9811+		;;
9812+	-ns2 )
9813+		os=-nextstep2
9814+		;;
9815+	-nsk*)
9816+		os=-nsk
9817+		;;
9818+	# Preserve the version number of sinix5.
9819+	-sinix5.*)
9820+		os=`echo $os | sed -e 's|sinix|sysv|'`
9821+		;;
9822+	-sinix*)
9823+		os=-sysv4
9824+		;;
9825+        -tpf*)
9826+		os=-tpf
9827+		;;
9828+	-triton*)
9829+		os=-sysv3
9830+		;;
9831+	-oss*)
9832+		os=-sysv3
9833+		;;
9834+	-svr4)
9835+		os=-sysv4
9836+		;;
9837+	-svr3)
9838+		os=-sysv3
9839+		;;
9840+	-sysvr4)
9841+		os=-sysv4
9842+		;;
9843+	# This must come after -sysvr4.
9844+	-sysv*)
9845+		;;
9846+	-ose*)
9847+		os=-ose
9848+		;;
9849+	-es1800*)
9850+		os=-ose
9851+		;;
9852+	-xenix)
9853+		os=-xenix
9854+		;;
9855+	-*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
9856+		os=-mint
9857+		;;
9858+	-aros*)
9859+		os=-aros
9860+		;;
9861+	-kaos*)
9862+		os=-kaos
9863+		;;
9864+	-zvmoe)
9865+		os=-zvmoe
9866+		;;
9867+	-dicos*)
9868+		os=-dicos
9869+		;;
9870+	-none)
9871+		;;
9872+	*)
9873+		# Get rid of the `-' at the beginning of $os.
9874+		os=`echo $os | sed 's/[^-]*-//'`
9875+		echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2
9876+		exit 1
9877+		;;
9878+esac
9879+else
9880+
9881+# Here we handle the default operating systems that come with various machines.
9882+# The value should be what the vendor currently ships out the door with their
9883+# machine or put another way, the most popular os provided with the machine.
9884+
9885+# Note that if you're going to try to match "-MANUFACTURER" here (say,
9886+# "-sun"), then you have to tell the case statement up towards the top
9887+# that MANUFACTURER isn't an operating system.  Otherwise, code above
9888+# will signal an error saying that MANUFACTURER isn't an operating
9889+# system, and we'll never get to this point.
9890+
9891+case $basic_machine in
9892+        score-*)
9893+		os=-elf
9894+		;;
9895+        spu-*)
9896+		os=-elf
9897+		;;
9898+	*-acorn)
9899+		os=-riscix1.2
9900+		;;
9901+	arm*-rebel)
9902+		os=-linux
9903+		;;
9904+	arm*-semi)
9905+		os=-aout
9906+		;;
9907+        c4x-* | tic4x-*)
9908+        	os=-coff
9909+		;;
9910+	# This must come before the *-dec entry.
9911+	pdp10-*)
9912+		os=-tops20
9913+		;;
9914+	pdp11-*)
9915+		os=-none
9916+		;;
9917+	*-dec | vax-*)
9918+		os=-ultrix4.2
9919+		;;
9920+	m68*-apollo)
9921+		os=-domain
9922+		;;
9923+	i386-sun)
9924+		os=-sunos4.0.2
9925+		;;
9926+	m68000-sun)
9927+		os=-sunos3
9928+		# This also exists in the configure program, but was not the
9929+		# default.
9930+		# os=-sunos4
9931+		;;
9932+	m68*-cisco)
9933+		os=-aout
9934+		;;
9935+        mep-*)
9936+		os=-elf
9937+		;;
9938+	mips*-cisco)
9939+		os=-elf
9940+		;;
9941+	mips*-*)
9942+		os=-elf
9943+		;;
9944+	or32-*)
9945+		os=-coff
9946+		;;
9947+	*-tti)	# must be before sparc entry or we get the wrong os.
9948+		os=-sysv3
9949+		;;
9950+	sparc-* | *-sun)
9951+		os=-sunos4.1.1
9952+		;;
9953+	*-be)
9954+		os=-beos
9955+		;;
9956+	*-haiku)
9957+		os=-haiku
9958+		;;
9959+	*-ibm)
9960+		os=-aix
9961+		;;
9962+    	*-knuth)
9963+		os=-mmixware
9964+		;;
9965+	*-wec)
9966+		os=-proelf
9967+		;;
9968+	*-winbond)
9969+		os=-proelf
9970+		;;
9971+	*-oki)
9972+		os=-proelf
9973+		;;
9974+	*-hp)
9975+		os=-hpux
9976+		;;
9977+	*-hitachi)
9978+		os=-hiux
9979+		;;
9980+	i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent)
9981+		os=-sysv
9982+		;;
9983+	*-cbm)
9984+		os=-amigaos
9985+		;;
9986+	*-dg)
9987+		os=-dgux
9988+		;;
9989+	*-dolphin)
9990+		os=-sysv3
9991+		;;
9992+	m68k-ccur)
9993+		os=-rtu
9994+		;;
9995+	m88k-omron*)
9996+		os=-luna
9997+		;;
9998+	*-next )
9999+		os=-nextstep
10000+		;;
10001+	*-sequent)
10002+		os=-ptx
10003+		;;
10004+	*-crds)
10005+		os=-unos
10006+		;;
10007+	*-ns)
10008+		os=-genix
10009+		;;
10010+	i370-*)
10011+		os=-mvs
10012+		;;
10013+	*-next)
10014+		os=-nextstep3
10015+		;;
10016+	*-gould)
10017+		os=-sysv
10018+		;;
10019+	*-highlevel)
10020+		os=-bsd
10021+		;;
10022+	*-encore)
10023+		os=-bsd
10024+		;;
10025+	*-sgi)
10026+		os=-irix
10027+		;;
10028+	*-siemens)
10029+		os=-sysv4
10030+		;;
10031+	*-masscomp)
10032+		os=-rtu
10033+		;;
10034+	f30[01]-fujitsu | f700-fujitsu)
10035+		os=-uxpv
10036+		;;
10037+	*-rom68k)
10038+		os=-coff
10039+		;;
10040+	*-*bug)
10041+		os=-coff
10042+		;;
10043+	*-apple)
10044+		os=-macos
10045+		;;
10046+	*-atari*)
10047+		os=-mint
10048+		;;
10049+	*)
10050+		os=-none
10051+		;;
10052+esac
10053+fi
10054+
10055+# Here we handle the case where we know the os, and the CPU type, but not the
10056+# manufacturer.  We pick the logical manufacturer.
10057+vendor=unknown
10058+case $basic_machine in
10059+	*-unknown)
10060+		case $os in
10061+			-riscix*)
10062+				vendor=acorn
10063+				;;
10064+			-sunos*)
10065+				vendor=sun
10066+				;;
10067+			-aix*)
10068+				vendor=ibm
10069+				;;
10070+			-beos*)
10071+				vendor=be
10072+				;;
10073+			-hpux*)
10074+				vendor=hp
10075+				;;
10076+			-mpeix*)
10077+				vendor=hp
10078+				;;
10079+			-hiux*)
10080+				vendor=hitachi
10081+				;;
10082+			-unos*)
10083+				vendor=crds
10084+				;;
10085+			-dgux*)
10086+				vendor=dg
10087+				;;
10088+			-luna*)
10089+				vendor=omron
10090+				;;
10091+			-genix*)
10092+				vendor=ns
10093+				;;
10094+			-mvs* | -opened*)
10095+				vendor=ibm
10096+				;;
10097+			-os400*)
10098+				vendor=ibm
10099+				;;
10100+			-ptx*)
10101+				vendor=sequent
10102+				;;
10103+			-tpf*)
10104+				vendor=ibm
10105+				;;
10106+			-vxsim* | -vxworks* | -windiss*)
10107+				vendor=wrs
10108+				;;
10109+			-aux*)
10110+				vendor=apple
10111+				;;
10112+			-hms*)
10113+				vendor=hitachi
10114+				;;
10115+			-mpw* | -macos*)
10116+				vendor=apple
10117+				;;
10118+			-*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
10119+				vendor=atari
10120+				;;
10121+			-vos*)
10122+				vendor=stratus
10123+				;;
10124+		esac
10125+		basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
10126+		;;
10127+esac
10128+
10129+echo $basic_machine$os
10130+exit
10131+
10132+# Local variables:
10133+# eval: (add-hook 'write-file-hooks 'time-stamp)
10134+# time-stamp-start: "timestamp='"
10135+# time-stamp-format: "%:y-%02m-%02d"
10136+# time-stamp-end: "'"
10137+# End:
10138diff -urwN nxproxy-orig/conf/depcomp nxproxy/conf/depcomp
10139--- nxproxy-orig/conf/depcomp	1970-01-01 01:00:00.000000000 +0100
10140+++ nxproxy/conf/depcomp	2009-10-10 13:57:56.047847029 +0200
10141@@ -0,0 +1,630 @@
10142+#! /bin/sh
10143+# depcomp - compile a program generating dependencies as side-effects
10144+
10145+scriptversion=2009-04-28.21; # UTC
10146+
10147+# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 Free
10148+# Software Foundation, Inc.
10149+
10150+# This program is free software; you can redistribute it and/or modify
10151+# it under the terms of the GNU General Public License as published by
10152+# the Free Software Foundation; either version 2, or (at your option)
10153+# any later version.
10154+
10155+# This program is distributed in the hope that it will be useful,
10156+# but WITHOUT ANY WARRANTY; without even the implied warranty of
10157+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
10158+# GNU General Public License for more details.
10159+
10160+# You should have received a copy of the GNU General Public License
10161+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
10162+
10163+# As a special exception to the GNU General Public License, if you
10164+# distribute this file as part of a program that contains a
10165+# configuration script generated by Autoconf, you may include it under
10166+# the same distribution terms that you use for the rest of that program.
10167+
10168+# Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>.
10169+
10170+case $1 in
10171+  '')
10172+     echo "$0: No command.  Try \`$0 --help' for more information." 1>&2
10173+     exit 1;
10174+     ;;
10175+  -h | --h*)
10176+    cat <<\EOF
10177+Usage: depcomp [--help] [--version] PROGRAM [ARGS]
10178+
10179+Run PROGRAMS ARGS to compile a file, generating dependencies
10180+as side-effects.
10181+
10182+Environment variables:
10183+  depmode     Dependency tracking mode.
10184+  source      Source file read by `PROGRAMS ARGS'.
10185+  object      Object file output by `PROGRAMS ARGS'.
10186+  DEPDIR      directory where to store dependencies.
10187+  depfile     Dependency file to output.
10188+  tmpdepfile  Temporary file to use when outputing dependencies.
10189+  libtool     Whether libtool is used (yes/no).
10190+
10191+Report bugs to <bug-automake@gnu.org>.
10192+EOF
10193+    exit $?
10194+    ;;
10195+  -v | --v*)
10196+    echo "depcomp $scriptversion"
10197+    exit $?
10198+    ;;
10199+esac
10200+
10201+if test -z "$depmode" || test -z "$source" || test -z "$object"; then
10202+  echo "depcomp: Variables source, object and depmode must be set" 1>&2
10203+  exit 1
10204+fi
10205+
10206+# Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po.
10207+depfile=${depfile-`echo "$object" |
10208+  sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`}
10209+tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
10210+
10211+rm -f "$tmpdepfile"
10212+
10213+# Some modes work just like other modes, but use different flags.  We
10214+# parameterize here, but still list the modes in the big case below,
10215+# to make depend.m4 easier to write.  Note that we *cannot* use a case
10216+# here, because this file can only contain one case statement.
10217+if test "$depmode" = hp; then
10218+  # HP compiler uses -M and no extra arg.
10219+  gccflag=-M
10220+  depmode=gcc
10221+fi
10222+
10223+if test "$depmode" = dashXmstdout; then
10224+   # This is just like dashmstdout with a different argument.
10225+   dashmflag=-xM
10226+   depmode=dashmstdout
10227+fi
10228+
10229+cygpath_u="cygpath -u -f -"
10230+if test "$depmode" = msvcmsys; then
10231+   # This is just like msvisualcpp but w/o cygpath translation.
10232+   # Just convert the backslash-escaped backslashes to single forward
10233+   # slashes to satisfy depend.m4
10234+   cygpath_u="sed s,\\\\\\\\,/,g"
10235+   depmode=msvisualcpp
10236+fi
10237+
10238+case "$depmode" in
10239+gcc3)
10240+## gcc 3 implements dependency tracking that does exactly what
10241+## we want.  Yay!  Note: for some reason libtool 1.4 doesn't like
10242+## it if -MD -MP comes after the -MF stuff.  Hmm.
10243+## Unfortunately, FreeBSD c89 acceptance of flags depends upon
10244+## the command line argument order; so add the flags where they
10245+## appear in depend2.am.  Note that the slowdown incurred here
10246+## affects only configure: in makefiles, %FASTDEP% shortcuts this.
10247+  for arg
10248+  do
10249+    case $arg in
10250+    -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;;
10251+    *)  set fnord "$@" "$arg" ;;
10252+    esac
10253+    shift # fnord
10254+    shift # $arg
10255+  done
10256+  "$@"
10257+  stat=$?
10258+  if test $stat -eq 0; then :
10259+  else
10260+    rm -f "$tmpdepfile"
10261+    exit $stat
10262+  fi
10263+  mv "$tmpdepfile" "$depfile"
10264+  ;;
10265+
10266+gcc)
10267+## There are various ways to get dependency output from gcc.  Here's
10268+## why we pick this rather obscure method:
10269+## - Don't want to use -MD because we'd like the dependencies to end
10270+##   up in a subdir.  Having to rename by hand is ugly.
10271+##   (We might end up doing this anyway to support other compilers.)
10272+## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like
10273+##   -MM, not -M (despite what the docs say).
10274+## - Using -M directly means running the compiler twice (even worse
10275+##   than renaming).
10276+  if test -z "$gccflag"; then
10277+    gccflag=-MD,
10278+  fi
10279+  "$@" -Wp,"$gccflag$tmpdepfile"
10280+  stat=$?
10281+  if test $stat -eq 0; then :
10282+  else
10283+    rm -f "$tmpdepfile"
10284+    exit $stat
10285+  fi
10286+  rm -f "$depfile"
10287+  echo "$object : \\" > "$depfile"
10288+  alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
10289+## The second -e expression handles DOS-style file names with drive letters.
10290+  sed -e 's/^[^:]*: / /' \
10291+      -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"
10292+## This next piece of magic avoids the `deleted header file' problem.
10293+## The problem is that when a header file which appears in a .P file
10294+## is deleted, the dependency causes make to die (because there is
10295+## typically no way to rebuild the header).  We avoid this by adding
10296+## dummy dependencies for each header file.  Too bad gcc doesn't do
10297+## this for us directly.
10298+  tr ' ' '
10299+' < "$tmpdepfile" |
10300+## Some versions of gcc put a space before the `:'.  On the theory
10301+## that the space means something, we add a space to the output as
10302+## well.
10303+## Some versions of the HPUX 10.20 sed can't process this invocation
10304+## correctly.  Breaking it into two sed invocations is a workaround.
10305+    sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
10306+  rm -f "$tmpdepfile"
10307+  ;;
10308+
10309+hp)
10310+  # This case exists only to let depend.m4 do its work.  It works by
10311+  # looking at the text of this script.  This case will never be run,
10312+  # since it is checked for above.
10313+  exit 1
10314+  ;;
10315+
10316+sgi)
10317+  if test "$libtool" = yes; then
10318+    "$@" "-Wp,-MDupdate,$tmpdepfile"
10319+  else
10320+    "$@" -MDupdate "$tmpdepfile"
10321+  fi
10322+  stat=$?
10323+  if test $stat -eq 0; then :
10324+  else
10325+    rm -f "$tmpdepfile"
10326+    exit $stat
10327+  fi
10328+  rm -f "$depfile"
10329+
10330+  if test -f "$tmpdepfile"; then  # yes, the sourcefile depend on other files
10331+    echo "$object : \\" > "$depfile"
10332+
10333+    # Clip off the initial element (the dependent).  Don't try to be
10334+    # clever and replace this with sed code, as IRIX sed won't handle
10335+    # lines with more than a fixed number of characters (4096 in
10336+    # IRIX 6.2 sed, 8192 in IRIX 6.5).  We also remove comment lines;
10337+    # the IRIX cc adds comments like `#:fec' to the end of the
10338+    # dependency line.
10339+    tr ' ' '
10340+' < "$tmpdepfile" \
10341+    | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
10342+    tr '
10343+' ' ' >> "$depfile"
10344+    echo >> "$depfile"
10345+
10346+    # The second pass generates a dummy entry for each header file.
10347+    tr ' ' '
10348+' < "$tmpdepfile" \
10349+   | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
10350+   >> "$depfile"
10351+  else
10352+    # The sourcefile does not contain any dependencies, so just
10353+    # store a dummy comment line, to avoid errors with the Makefile
10354+    # "include basename.Plo" scheme.
10355+    echo "#dummy" > "$depfile"
10356+  fi
10357+  rm -f "$tmpdepfile"
10358+  ;;
10359+
10360+aix)
10361+  # The C for AIX Compiler uses -M and outputs the dependencies
10362+  # in a .u file.  In older versions, this file always lives in the
10363+  # current directory.  Also, the AIX compiler puts `$object:' at the
10364+  # start of each line; $object doesn't have directory information.
10365+  # Version 6 uses the directory in both cases.
10366+  dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
10367+  test "x$dir" = "x$object" && dir=
10368+  base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
10369+  if test "$libtool" = yes; then
10370+    tmpdepfile1=$dir$base.u
10371+    tmpdepfile2=$base.u
10372+    tmpdepfile3=$dir.libs/$base.u
10373+    "$@" -Wc,-M
10374+  else
10375+    tmpdepfile1=$dir$base.u
10376+    tmpdepfile2=$dir$base.u
10377+    tmpdepfile3=$dir$base.u
10378+    "$@" -M
10379+  fi
10380+  stat=$?
10381+
10382+  if test $stat -eq 0; then :
10383+  else
10384+    rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
10385+    exit $stat
10386+  fi
10387+
10388+  for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
10389+  do
10390+    test -f "$tmpdepfile" && break
10391+  done
10392+  if test -f "$tmpdepfile"; then
10393+    # Each line is of the form `foo.o: dependent.h'.
10394+    # Do two passes, one to just change these to
10395+    # `$object: dependent.h' and one to simply `dependent.h:'.
10396+    sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
10397+    # That's a tab and a space in the [].
10398+    sed -e 's,^.*\.[a-z]*:[	 ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
10399+  else
10400+    # The sourcefile does not contain any dependencies, so just
10401+    # store a dummy comment line, to avoid errors with the Makefile
10402+    # "include basename.Plo" scheme.
10403+    echo "#dummy" > "$depfile"
10404+  fi
10405+  rm -f "$tmpdepfile"
10406+  ;;
10407+
10408+icc)
10409+  # Intel's C compiler understands `-MD -MF file'.  However on
10410+  #    icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c
10411+  # ICC 7.0 will fill foo.d with something like
10412+  #    foo.o: sub/foo.c
10413+  #    foo.o: sub/foo.h
10414+  # which is wrong.  We want:
10415+  #    sub/foo.o: sub/foo.c
10416+  #    sub/foo.o: sub/foo.h
10417+  #    sub/foo.c:
10418+  #    sub/foo.h:
10419+  # ICC 7.1 will output
10420+  #    foo.o: sub/foo.c sub/foo.h
10421+  # and will wrap long lines using \ :
10422+  #    foo.o: sub/foo.c ... \
10423+  #     sub/foo.h ... \
10424+  #     ...
10425+
10426+  "$@" -MD -MF "$tmpdepfile"
10427+  stat=$?
10428+  if test $stat -eq 0; then :
10429+  else
10430+    rm -f "$tmpdepfile"
10431+    exit $stat
10432+  fi
10433+  rm -f "$depfile"
10434+  # Each line is of the form `foo.o: dependent.h',
10435+  # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'.
10436+  # Do two passes, one to just change these to
10437+  # `$object: dependent.h' and one to simply `dependent.h:'.
10438+  sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile"
10439+  # Some versions of the HPUX 10.20 sed can't process this invocation
10440+  # correctly.  Breaking it into two sed invocations is a workaround.
10441+  sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" |
10442+    sed -e 's/$/ :/' >> "$depfile"
10443+  rm -f "$tmpdepfile"
10444+  ;;
10445+
10446+hp2)
10447+  # The "hp" stanza above does not work with aCC (C++) and HP's ia64
10448+  # compilers, which have integrated preprocessors.  The correct option
10449+  # to use with these is +Maked; it writes dependencies to a file named
10450+  # 'foo.d', which lands next to the object file, wherever that
10451+  # happens to be.
10452+  # Much of this is similar to the tru64 case; see comments there.
10453+  dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
10454+  test "x$dir" = "x$object" && dir=
10455+  base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
10456+  if test "$libtool" = yes; then
10457+    tmpdepfile1=$dir$base.d
10458+    tmpdepfile2=$dir.libs/$base.d
10459+    "$@" -Wc,+Maked
10460+  else
10461+    tmpdepfile1=$dir$base.d
10462+    tmpdepfile2=$dir$base.d
10463+    "$@" +Maked
10464+  fi
10465+  stat=$?
10466+  if test $stat -eq 0; then :
10467+  else
10468+     rm -f "$tmpdepfile1" "$tmpdepfile2"
10469+     exit $stat
10470+  fi
10471+
10472+  for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2"
10473+  do
10474+    test -f "$tmpdepfile" && break
10475+  done
10476+  if test -f "$tmpdepfile"; then
10477+    sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile"
10478+    # Add `dependent.h:' lines.
10479+    sed -ne '2,${
10480+	       s/^ *//
10481+	       s/ \\*$//
10482+	       s/$/:/
10483+	       p
10484+	     }' "$tmpdepfile" >> "$depfile"
10485+  else
10486+    echo "#dummy" > "$depfile"
10487+  fi
10488+  rm -f "$tmpdepfile" "$tmpdepfile2"
10489+  ;;
10490+
10491+tru64)
10492+   # The Tru64 compiler uses -MD to generate dependencies as a side
10493+   # effect.  `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'.
10494+   # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
10495+   # dependencies in `foo.d' instead, so we check for that too.
10496+   # Subdirectories are respected.
10497+   dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
10498+   test "x$dir" = "x$object" && dir=
10499+   base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
10500+
10501+   if test "$libtool" = yes; then
10502+      # With Tru64 cc, shared objects can also be used to make a
10503+      # static library.  This mechanism is used in libtool 1.4 series to
10504+      # handle both shared and static libraries in a single compilation.
10505+      # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d.
10506+      #
10507+      # With libtool 1.5 this exception was removed, and libtool now
10508+      # generates 2 separate objects for the 2 libraries.  These two
10509+      # compilations output dependencies in $dir.libs/$base.o.d and
10510+      # in $dir$base.o.d.  We have to check for both files, because
10511+      # one of the two compilations can be disabled.  We should prefer
10512+      # $dir$base.o.d over $dir.libs/$base.o.d because the latter is
10513+      # automatically cleaned when .libs/ is deleted, while ignoring
10514+      # the former would cause a distcleancheck panic.
10515+      tmpdepfile1=$dir.libs/$base.lo.d   # libtool 1.4
10516+      tmpdepfile2=$dir$base.o.d          # libtool 1.5
10517+      tmpdepfile3=$dir.libs/$base.o.d    # libtool 1.5
10518+      tmpdepfile4=$dir.libs/$base.d      # Compaq CCC V6.2-504
10519+      "$@" -Wc,-MD
10520+   else
10521+      tmpdepfile1=$dir$base.o.d
10522+      tmpdepfile2=$dir$base.d
10523+      tmpdepfile3=$dir$base.d
10524+      tmpdepfile4=$dir$base.d
10525+      "$@" -MD
10526+   fi
10527+
10528+   stat=$?
10529+   if test $stat -eq 0; then :
10530+   else
10531+      rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
10532+      exit $stat
10533+   fi
10534+
10535+   for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
10536+   do
10537+     test -f "$tmpdepfile" && break
10538+   done
10539+   if test -f "$tmpdepfile"; then
10540+      sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
10541+      # That's a tab and a space in the [].
10542+      sed -e 's,^.*\.[a-z]*:[	 ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
10543+   else
10544+      echo "#dummy" > "$depfile"
10545+   fi
10546+   rm -f "$tmpdepfile"
10547+   ;;
10548+
10549+#nosideeffect)
10550+  # This comment above is used by automake to tell side-effect
10551+  # dependency tracking mechanisms from slower ones.
10552+
10553+dashmstdout)
10554+  # Important note: in order to support this mode, a compiler *must*
10555+  # always write the preprocessed file to stdout, regardless of -o.
10556+  "$@" || exit $?
10557+
10558+  # Remove the call to Libtool.
10559+  if test "$libtool" = yes; then
10560+    while test "X$1" != 'X--mode=compile'; do
10561+      shift
10562+    done
10563+    shift
10564+  fi
10565+
10566+  # Remove `-o $object'.
10567+  IFS=" "
10568+  for arg
10569+  do
10570+    case $arg in
10571+    -o)
10572+      shift
10573+      ;;
10574+    $object)
10575+      shift
10576+      ;;
10577+    *)
10578+      set fnord "$@" "$arg"
10579+      shift # fnord
10580+      shift # $arg
10581+      ;;
10582+    esac
10583+  done
10584+
10585+  test -z "$dashmflag" && dashmflag=-M
10586+  # Require at least two characters before searching for `:'
10587+  # in the target name.  This is to cope with DOS-style filenames:
10588+  # a dependency such as `c:/foo/bar' could be seen as target `c' otherwise.
10589+  "$@" $dashmflag |
10590+    sed 's:^[  ]*[^: ][^:][^:]*\:[    ]*:'"$object"'\: :' > "$tmpdepfile"
10591+  rm -f "$depfile"
10592+  cat < "$tmpdepfile" > "$depfile"
10593+  tr ' ' '
10594+' < "$tmpdepfile" | \
10595+## Some versions of the HPUX 10.20 sed can't process this invocation
10596+## correctly.  Breaking it into two sed invocations is a workaround.
10597+    sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
10598+  rm -f "$tmpdepfile"
10599+  ;;
10600+
10601+dashXmstdout)
10602+  # This case only exists to satisfy depend.m4.  It is never actually
10603+  # run, as this mode is specially recognized in the preamble.
10604+  exit 1
10605+  ;;
10606+
10607+makedepend)
10608+  "$@" || exit $?
10609+  # Remove any Libtool call
10610+  if test "$libtool" = yes; then
10611+    while test "X$1" != 'X--mode=compile'; do
10612+      shift
10613+    done
10614+    shift
10615+  fi
10616+  # X makedepend
10617+  shift
10618+  cleared=no eat=no
10619+  for arg
10620+  do
10621+    case $cleared in
10622+    no)
10623+      set ""; shift
10624+      cleared=yes ;;
10625+    esac
10626+    if test $eat = yes; then
10627+      eat=no
10628+      continue
10629+    fi
10630+    case "$arg" in
10631+    -D*|-I*)
10632+      set fnord "$@" "$arg"; shift ;;
10633+    # Strip any option that makedepend may not understand.  Remove
10634+    # the object too, otherwise makedepend will parse it as a source file.
10635+    -arch)
10636+      eat=yes ;;
10637+    -*|$object)
10638+      ;;
10639+    *)
10640+      set fnord "$@" "$arg"; shift ;;
10641+    esac
10642+  done
10643+  obj_suffix=`echo "$object" | sed 's/^.*\././'`
10644+  touch "$tmpdepfile"
10645+  ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@"
10646+  rm -f "$depfile"
10647+  cat < "$tmpdepfile" > "$depfile"
10648+  sed '1,2d' "$tmpdepfile" | tr ' ' '
10649+' | \
10650+## Some versions of the HPUX 10.20 sed can't process this invocation
10651+## correctly.  Breaking it into two sed invocations is a workaround.
10652+    sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
10653+  rm -f "$tmpdepfile" "$tmpdepfile".bak
10654+  ;;
10655+
10656+cpp)
10657+  # Important note: in order to support this mode, a compiler *must*
10658+  # always write the preprocessed file to stdout.
10659+  "$@" || exit $?
10660+
10661+  # Remove the call to Libtool.
10662+  if test "$libtool" = yes; then
10663+    while test "X$1" != 'X--mode=compile'; do
10664+      shift
10665+    done
10666+    shift
10667+  fi
10668+
10669+  # Remove `-o $object'.
10670+  IFS=" "
10671+  for arg
10672+  do
10673+    case $arg in
10674+    -o)
10675+      shift
10676+      ;;
10677+    $object)
10678+      shift
10679+      ;;
10680+    *)
10681+      set fnord "$@" "$arg"
10682+      shift # fnord
10683+      shift # $arg
10684+      ;;
10685+    esac
10686+  done
10687+
10688+  "$@" -E |
10689+    sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
10690+       -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' |
10691+    sed '$ s: \\$::' > "$tmpdepfile"
10692+  rm -f "$depfile"
10693+  echo "$object : \\" > "$depfile"
10694+  cat < "$tmpdepfile" >> "$depfile"
10695+  sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile"
10696+  rm -f "$tmpdepfile"
10697+  ;;
10698+
10699+msvisualcpp)
10700+  # Important note: in order to support this mode, a compiler *must*
10701+  # always write the preprocessed file to stdout.
10702+  "$@" || exit $?
10703+
10704+  # Remove the call to Libtool.
10705+  if test "$libtool" = yes; then
10706+    while test "X$1" != 'X--mode=compile'; do
10707+      shift
10708+    done
10709+    shift
10710+  fi
10711+
10712+  IFS=" "
10713+  for arg
10714+  do
10715+    case "$arg" in
10716+    -o)
10717+      shift
10718+      ;;
10719+    $object)
10720+      shift
10721+      ;;
10722+    "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
10723+	set fnord "$@"
10724+	shift
10725+	shift
10726+	;;
10727+    *)
10728+	set fnord "$@" "$arg"
10729+	shift
10730+	shift
10731+	;;
10732+    esac
10733+  done
10734+  "$@" -E 2>/dev/null |
10735+  sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile"
10736+  rm -f "$depfile"
10737+  echo "$object : \\" > "$depfile"
10738+  sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::	\1 \\:p' >> "$depfile"
10739+  echo "	" >> "$depfile"
10740+  sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile"
10741+  rm -f "$tmpdepfile"
10742+  ;;
10743+
10744+msvcmsys)
10745+  # This case exists only to let depend.m4 do its work.  It works by
10746+  # looking at the text of this script.  This case will never be run,
10747+  # since it is checked for above.
10748+  exit 1
10749+  ;;
10750+
10751+none)
10752+  exec "$@"
10753+  ;;
10754+
10755+*)
10756+  echo "Unknown depmode $depmode" 1>&2
10757+  exit 1
10758+  ;;
10759+esac
10760+
10761+exit 0
10762+
10763+# Local Variables:
10764+# mode: shell-script
10765+# sh-indentation: 2
10766+# eval: (add-hook 'write-file-hooks 'time-stamp)
10767+# time-stamp-start: "scriptversion="
10768+# time-stamp-format: "%:y-%02m-%02d.%02H"
10769+# time-stamp-time-zone: "UTC"
10770+# time-stamp-end: "; # UTC"
10771+# End:
10772diff -urwN nxproxy-orig/conf/install-sh nxproxy/conf/install-sh
10773--- nxproxy-orig/conf/install-sh	1970-01-01 01:00:00.000000000 +0100
10774+++ nxproxy/conf/install-sh	2009-10-10 13:57:56.005847128 +0200
10775@@ -0,0 +1,520 @@
10776+#!/bin/sh
10777+# install - install a program, script, or datafile
10778+
10779+scriptversion=2009-04-28.21; # UTC
10780+
10781+# This originates from X11R5 (mit/util/scripts/install.sh), which was
10782+# later released in X11R6 (xc/config/util/install.sh) with the
10783+# following copyright and license.
10784+#
10785+# Copyright (C) 1994 X Consortium
10786+#
10787+# Permission is hereby granted, free of charge, to any person obtaining a copy
10788+# of this software and associated documentation files (the "Software"), to
10789+# deal in the Software without restriction, including without limitation the
10790+# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
10791+# sell copies of the Software, and to permit persons to whom the Software is
10792+# furnished to do so, subject to the following conditions:
10793+#
10794+# The above copyright notice and this permission notice shall be included in
10795+# all copies or substantial portions of the Software.
10796+#
10797+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
10798+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
10799+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
10800+# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
10801+# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
10802+# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
10803+#
10804+# Except as contained in this notice, the name of the X Consortium shall not
10805+# be used in advertising or otherwise to promote the sale, use or other deal-
10806+# ings in this Software without prior written authorization from the X Consor-
10807+# tium.
10808+#
10809+#
10810+# FSF changes to this file are in the public domain.
10811+#
10812+# Calling this script install-sh is preferred over install.sh, to prevent
10813+# `make' implicit rules from creating a file called install from it
10814+# when there is no Makefile.
10815+#
10816+# This script is compatible with the BSD install script, but was written
10817+# from scratch.
10818+
10819+nl='
10820+'
10821+IFS=" ""	$nl"
10822+
10823+# set DOITPROG to echo to test this script
10824+
10825+# Don't use :- since 4.3BSD and earlier shells don't like it.
10826+doit=${DOITPROG-}
10827+if test -z "$doit"; then
10828+  doit_exec=exec
10829+else
10830+  doit_exec=$doit
10831+fi
10832+
10833+# Put in absolute file names if you don't have them in your path;
10834+# or use environment vars.
10835+
10836+chgrpprog=${CHGRPPROG-chgrp}
10837+chmodprog=${CHMODPROG-chmod}
10838+chownprog=${CHOWNPROG-chown}
10839+cmpprog=${CMPPROG-cmp}
10840+cpprog=${CPPROG-cp}
10841+mkdirprog=${MKDIRPROG-mkdir}
10842+mvprog=${MVPROG-mv}
10843+rmprog=${RMPROG-rm}
10844+stripprog=${STRIPPROG-strip}
10845+
10846+posix_glob='?'
10847+initialize_posix_glob='
10848+  test "$posix_glob" != "?" || {
10849+    if (set -f) 2>/dev/null; then
10850+      posix_glob=
10851+    else
10852+      posix_glob=:
10853+    fi
10854+  }
10855+'
10856+
10857+posix_mkdir=
10858+
10859+# Desired mode of installed file.
10860+mode=0755
10861+
10862+chgrpcmd=
10863+chmodcmd=$chmodprog
10864+chowncmd=
10865+mvcmd=$mvprog
10866+rmcmd="$rmprog -f"
10867+stripcmd=
10868+
10869+src=
10870+dst=
10871+dir_arg=
10872+dst_arg=
10873+
10874+copy_on_change=false
10875+no_target_directory=
10876+
10877+usage="\
10878+Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
10879+   or: $0 [OPTION]... SRCFILES... DIRECTORY
10880+   or: $0 [OPTION]... -t DIRECTORY SRCFILES...
10881+   or: $0 [OPTION]... -d DIRECTORIES...
10882+
10883+In the 1st form, copy SRCFILE to DSTFILE.
10884+In the 2nd and 3rd, copy all SRCFILES to DIRECTORY.
10885+In the 4th, create DIRECTORIES.
10886+
10887+Options:
10888+     --help     display this help and exit.
10889+     --version  display version info and exit.
10890+
10891+  -c            (ignored)
10892+  -C            install only if different (preserve the last data modification time)
10893+  -d            create directories instead of installing files.
10894+  -g GROUP      $chgrpprog installed files to GROUP.
10895+  -m MODE       $chmodprog installed files to MODE.
10896+  -o USER       $chownprog installed files to USER.
10897+  -s            $stripprog installed files.
10898+  -t DIRECTORY  install into DIRECTORY.
10899+  -T            report an error if DSTFILE is a directory.
10900+
10901+Environment variables override the default commands:
10902+  CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG
10903+  RMPROG STRIPPROG
10904+"
10905+
10906+while test $# -ne 0; do
10907+  case $1 in
10908+    -c) ;;
10909+
10910+    -C) copy_on_change=true;;
10911+
10912+    -d) dir_arg=true;;
10913+
10914+    -g) chgrpcmd="$chgrpprog $2"
10915+	shift;;
10916+
10917+    --help) echo "$usage"; exit $?;;
10918+
10919+    -m) mode=$2
10920+	case $mode in
10921+	  *' '* | *'	'* | *'
10922+'*	  | *'*'* | *'?'* | *'['*)
10923+	    echo "$0: invalid mode: $mode" >&2
10924+	    exit 1;;
10925+	esac
10926+	shift;;
10927+
10928+    -o) chowncmd="$chownprog $2"
10929+	shift;;
10930+
10931+    -s) stripcmd=$stripprog;;
10932+
10933+    -t) dst_arg=$2
10934+	shift;;
10935+
10936+    -T) no_target_directory=true;;
10937+
10938+    --version) echo "$0 $scriptversion"; exit $?;;
10939+
10940+    --)	shift
10941+	break;;
10942+
10943+    -*)	echo "$0: invalid option: $1" >&2
10944+	exit 1;;
10945+
10946+    *)  break;;
10947+  esac
10948+  shift
10949+done
10950+
10951+if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then
10952+  # When -d is used, all remaining arguments are directories to create.
10953+  # When -t is used, the destination is already specified.
10954+  # Otherwise, the last argument is the destination.  Remove it from $@.
10955+  for arg
10956+  do
10957+    if test -n "$dst_arg"; then
10958+      # $@ is not empty: it contains at least $arg.
10959+      set fnord "$@" "$dst_arg"
10960+      shift # fnord
10961+    fi
10962+    shift # arg
10963+    dst_arg=$arg
10964+  done
10965+fi
10966+
10967+if test $# -eq 0; then
10968+  if test -z "$dir_arg"; then
10969+    echo "$0: no input file specified." >&2
10970+    exit 1
10971+  fi
10972+  # It's OK to call `install-sh -d' without argument.
10973+  # This can happen when creating conditional directories.
10974+  exit 0
10975+fi
10976+
10977+if test -z "$dir_arg"; then
10978+  trap '(exit $?); exit' 1 2 13 15
10979+
10980+  # Set umask so as not to create temps with too-generous modes.
10981+  # However, 'strip' requires both read and write access to temps.
10982+  case $mode in
10983+    # Optimize common cases.
10984+    *644) cp_umask=133;;
10985+    *755) cp_umask=22;;
10986+
10987+    *[0-7])
10988+      if test -z "$stripcmd"; then
10989+	u_plus_rw=
10990+      else
10991+	u_plus_rw='% 200'
10992+      fi
10993+      cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;;
10994+    *)
10995+      if test -z "$stripcmd"; then
10996+	u_plus_rw=
10997+      else
10998+	u_plus_rw=,u+rw
10999+      fi
11000+      cp_umask=$mode$u_plus_rw;;
11001+  esac
11002+fi
11003+
11004+for src
11005+do
11006+  # Protect names starting with `-'.
11007+  case $src in
11008+    -*) src=./$src;;
11009+  esac
11010+
11011+  if test -n "$dir_arg"; then
11012+    dst=$src
11013+    dstdir=$dst
11014+    test -d "$dstdir"
11015+    dstdir_status=$?
11016+  else
11017+
11018+    # Waiting for this to be detected by the "$cpprog $src $dsttmp" command
11019+    # might cause directories to be created, which would be especially bad
11020+    # if $src (and thus $dsttmp) contains '*'.
11021+    if test ! -f "$src" && test ! -d "$src"; then
11022+      echo "$0: $src does not exist." >&2
11023+      exit 1
11024+    fi
11025+
11026+    if test -z "$dst_arg"; then
11027+      echo "$0: no destination specified." >&2
11028+      exit 1
11029+    fi
11030+
11031+    dst=$dst_arg
11032+    # Protect names starting with `-'.
11033+    case $dst in
11034+      -*) dst=./$dst;;
11035+    esac
11036+
11037+    # If destination is a directory, append the input filename; won't work
11038+    # if double slashes aren't ignored.
11039+    if test -d "$dst"; then
11040+      if test -n "$no_target_directory"; then
11041+	echo "$0: $dst_arg: Is a directory" >&2
11042+	exit 1
11043+      fi
11044+      dstdir=$dst
11045+      dst=$dstdir/`basename "$src"`
11046+      dstdir_status=0
11047+    else
11048+      # Prefer dirname, but fall back on a substitute if dirname fails.
11049+      dstdir=`
11050+	(dirname "$dst") 2>/dev/null ||
11051+	expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11052+	     X"$dst" : 'X\(//\)[^/]' \| \
11053+	     X"$dst" : 'X\(//\)$' \| \
11054+	     X"$dst" : 'X\(/\)' \| . 2>/dev/null ||
11055+	echo X"$dst" |
11056+	    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11057+		   s//\1/
11058+		   q
11059+		 }
11060+		 /^X\(\/\/\)[^/].*/{
11061+		   s//\1/
11062+		   q
11063+		 }
11064+		 /^X\(\/\/\)$/{
11065+		   s//\1/
11066+		   q
11067+		 }
11068+		 /^X\(\/\).*/{
11069+		   s//\1/
11070+		   q
11071+		 }
11072+		 s/.*/./; q'
11073+      `
11074+
11075+      test -d "$dstdir"
11076+      dstdir_status=$?
11077+    fi
11078+  fi
11079+
11080+  obsolete_mkdir_used=false
11081+
11082+  if test $dstdir_status != 0; then
11083+    case $posix_mkdir in
11084+      '')
11085+	# Create intermediate dirs using mode 755 as modified by the umask.
11086+	# This is like FreeBSD 'install' as of 1997-10-28.
11087+	umask=`umask`
11088+	case $stripcmd.$umask in
11089+	  # Optimize common cases.
11090+	  *[2367][2367]) mkdir_umask=$umask;;
11091+	  .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;;
11092+
11093+	  *[0-7])
11094+	    mkdir_umask=`expr $umask + 22 \
11095+	      - $umask % 100 % 40 + $umask % 20 \
11096+	      - $umask % 10 % 4 + $umask % 2
11097+	    `;;
11098+	  *) mkdir_umask=$umask,go-w;;
11099+	esac
11100+
11101+	# With -d, create the new directory with the user-specified mode.
11102+	# Otherwise, rely on $mkdir_umask.
11103+	if test -n "$dir_arg"; then
11104+	  mkdir_mode=-m$mode
11105+	else
11106+	  mkdir_mode=
11107+	fi
11108+
11109+	posix_mkdir=false
11110+	case $umask in
11111+	  *[123567][0-7][0-7])
11112+	    # POSIX mkdir -p sets u+wx bits regardless of umask, which
11113+	    # is incompatible with FreeBSD 'install' when (umask & 300) != 0.
11114+	    ;;
11115+	  *)
11116+	    tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
11117+	    trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0
11118+
11119+	    if (umask $mkdir_umask &&
11120+		exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1
11121+	    then
11122+	      if test -z "$dir_arg" || {
11123+		   # Check for POSIX incompatibilities with -m.
11124+		   # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
11125+		   # other-writeable bit of parent directory when it shouldn't.
11126+		   # FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
11127+		   ls_ld_tmpdir=`ls -ld "$tmpdir"`
11128+		   case $ls_ld_tmpdir in
11129+		     d????-?r-*) different_mode=700;;
11130+		     d????-?--*) different_mode=755;;
11131+		     *) false;;
11132+		   esac &&
11133+		   $mkdirprog -m$different_mode -p -- "$tmpdir" && {
11134+		     ls_ld_tmpdir_1=`ls -ld "$tmpdir"`
11135+		     test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
11136+		   }
11137+		 }
11138+	      then posix_mkdir=:
11139+	      fi
11140+	      rmdir "$tmpdir/d" "$tmpdir"
11141+	    else
11142+	      # Remove any dirs left behind by ancient mkdir implementations.
11143+	      rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null
11144+	    fi
11145+	    trap '' 0;;
11146+	esac;;
11147+    esac
11148+
11149+    if
11150+      $posix_mkdir && (
11151+	umask $mkdir_umask &&
11152+	$doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir"
11153+      )
11154+    then :
11155+    else
11156+
11157+      # The umask is ridiculous, or mkdir does not conform to POSIX,
11158+      # or it failed possibly due to a race condition.  Create the
11159+      # directory the slow way, step by step, checking for races as we go.
11160+
11161+      case $dstdir in
11162+	/*) prefix='/';;
11163+	-*) prefix='./';;
11164+	*)  prefix='';;
11165+      esac
11166+
11167+      eval "$initialize_posix_glob"
11168+
11169+      oIFS=$IFS
11170+      IFS=/
11171+      $posix_glob set -f
11172+      set fnord $dstdir
11173+      shift
11174+      $posix_glob set +f
11175+      IFS=$oIFS
11176+
11177+      prefixes=
11178+
11179+      for d
11180+      do
11181+	test -z "$d" && continue
11182+
11183+	prefix=$prefix$d
11184+	if test -d "$prefix"; then
11185+	  prefixes=
11186+	else
11187+	  if $posix_mkdir; then
11188+	    (umask=$mkdir_umask &&
11189+	     $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
11190+	    # Don't fail if two instances are running concurrently.
11191+	    test -d "$prefix" || exit 1
11192+	  else
11193+	    case $prefix in
11194+	      *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;;
11195+	      *) qprefix=$prefix;;
11196+	    esac
11197+	    prefixes="$prefixes '$qprefix'"
11198+	  fi
11199+	fi
11200+	prefix=$prefix/
11201+      done
11202+
11203+      if test -n "$prefixes"; then
11204+	# Don't fail if two instances are running concurrently.
11205+	(umask $mkdir_umask &&
11206+	 eval "\$doit_exec \$mkdirprog $prefixes") ||
11207+	  test -d "$dstdir" || exit 1
11208+	obsolete_mkdir_used=true
11209+      fi
11210+    fi
11211+  fi
11212+
11213+  if test -n "$dir_arg"; then
11214+    { test -z "$chowncmd" || $doit $chowncmd "$dst"; } &&
11215+    { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } &&
11216+    { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false ||
11217+      test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1
11218+  else
11219+
11220+    # Make a couple of temp file names in the proper directory.
11221+    dsttmp=$dstdir/_inst.$$_
11222+    rmtmp=$dstdir/_rm.$$_
11223+
11224+    # Trap to clean up those temp files at exit.
11225+    trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
11226+
11227+    # Copy the file name to the temp name.
11228+    (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") &&
11229+
11230+    # and set any options; do chmod last to preserve setuid bits.
11231+    #
11232+    # If any of these fail, we abort the whole thing.  If we want to
11233+    # ignore errors from any of these, just make sure not to ignore
11234+    # errors from the above "$doit $cpprog $src $dsttmp" command.
11235+    #
11236+    { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } &&
11237+    { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } &&
11238+    { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } &&
11239+    { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } &&
11240+
11241+    # If -C, don't bother to copy if it wouldn't change the file.
11242+    if $copy_on_change &&
11243+       old=`LC_ALL=C ls -dlL "$dst"	2>/dev/null` &&
11244+       new=`LC_ALL=C ls -dlL "$dsttmp"	2>/dev/null` &&
11245+
11246+       eval "$initialize_posix_glob" &&
11247+       $posix_glob set -f &&
11248+       set X $old && old=:$2:$4:$5:$6 &&
11249+       set X $new && new=:$2:$4:$5:$6 &&
11250+       $posix_glob set +f &&
11251+
11252+       test "$old" = "$new" &&
11253+       $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1
11254+    then
11255+      rm -f "$dsttmp"
11256+    else
11257+      # Rename the file to the real destination.
11258+      $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null ||
11259+
11260+      # The rename failed, perhaps because mv can't rename something else
11261+      # to itself, or perhaps because mv is so ancient that it does not
11262+      # support -f.
11263+      {
11264+	# Now remove or move aside any old file at destination location.
11265+	# We try this two ways since rm can't unlink itself on some
11266+	# systems and the destination file might be busy for other
11267+	# reasons.  In this case, the final cleanup might fail but the new
11268+	# file should still install successfully.
11269+	{
11270+	  test ! -f "$dst" ||
11271+	  $doit $rmcmd -f "$dst" 2>/dev/null ||
11272+	  { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
11273+	    { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }
11274+	  } ||
11275+	  { echo "$0: cannot unlink or rename $dst" >&2
11276+	    (exit 1); exit 1
11277+	  }
11278+	} &&
11279+
11280+	# Now rename the file to the real destination.
11281+	$doit $mvcmd "$dsttmp" "$dst"
11282+      }
11283+    fi || exit 1
11284+
11285+    trap '' 0
11286+  fi
11287+done
11288+
11289+# Local variables:
11290+# eval: (add-hook 'write-file-hooks 'time-stamp)
11291+# time-stamp-start: "scriptversion="
11292+# time-stamp-format: "%:y-%02m-%02d.%02H"
11293+# time-stamp-time-zone: "UTC"
11294+# time-stamp-end: "; # UTC"
11295+# End:
11296diff -urwN nxproxy-orig/conf/ltmain.sh nxproxy/conf/ltmain.sh
11297--- nxproxy-orig/conf/ltmain.sh	1970-01-01 01:00:00.000000000 +0100
11298+++ nxproxy/conf/ltmain.sh	2009-10-10 13:57:48.744597495 +0200
11299@@ -0,0 +1,8406 @@
11300+# Generated from ltmain.m4sh.
11301+
11302+# ltmain.sh (GNU libtool) 2.2.6
11303+# Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
11304+
11305+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 2008 Free Software Foundation, Inc.
11306+# This is free software; see the source for copying conditions.  There is NO
11307+# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
11308+
11309+# GNU Libtool is free software; you can redistribute it and/or modify
11310+# it under the terms of the GNU General Public License as published by
11311+# the Free Software Foundation; either version 2 of the License, or
11312+# (at your option) any later version.
11313+#
11314+# As a special exception to the GNU General Public License,
11315+# if you distribute this file as part of a program or library that
11316+# is built using GNU Libtool, you may include this file under the
11317+# same distribution terms that you use for the rest of that program.
11318+#
11319+# GNU Libtool is distributed in the hope that it will be useful, but
11320+# WITHOUT ANY WARRANTY; without even the implied warranty of
11321+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11322+# General Public License for more details.
11323+#
11324+# You should have received a copy of the GNU General Public License
11325+# along with GNU Libtool; see the file COPYING.  If not, a copy
11326+# can be downloaded from http://www.gnu.org/licenses/gpl.html,
11327+# or obtained by writing to the Free Software Foundation, Inc.,
11328+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
11329+
11330+# Usage: $progname [OPTION]... [MODE-ARG]...
11331+#
11332+# Provide generalized library-building support services.
11333+#
11334+#     --config             show all configuration variables
11335+#     --debug              enable verbose shell tracing
11336+# -n, --dry-run            display commands without modifying any files
11337+#     --features           display basic configuration information and exit
11338+#     --mode=MODE          use operation mode MODE
11339+#     --preserve-dup-deps  don't remove duplicate dependency libraries
11340+#     --quiet, --silent    don't print informational messages
11341+#     --tag=TAG            use configuration variables from tag TAG
11342+# -v, --verbose            print informational messages (default)
11343+#     --version            print version information
11344+# -h, --help               print short or long help message
11345+#
11346+# MODE must be one of the following:
11347+#
11348+#       clean              remove files from the build directory
11349+#       compile            compile a source file into a libtool object
11350+#       execute            automatically set library path, then run a program
11351+#       finish             complete the installation of libtool libraries
11352+#       install            install libraries or executables
11353+#       link               create a library or an executable
11354+#       uninstall          remove libraries from an installed directory
11355+#
11356+# MODE-ARGS vary depending on the MODE.
11357+# Try `$progname --help --mode=MODE' for a more detailed description of MODE.
11358+#
11359+# When reporting a bug, please describe a test case to reproduce it and
11360+# include the following information:
11361+#
11362+#       host-triplet:	$host
11363+#       shell:		$SHELL
11364+#       compiler:		$LTCC
11365+#       compiler flags:		$LTCFLAGS
11366+#       linker:		$LD (gnu? $with_gnu_ld)
11367+#       $progname:		(GNU libtool) 2.2.6
11368+#       automake:		$automake_version
11369+#       autoconf:		$autoconf_version
11370+#
11371+# Report bugs to <bug-libtool@gnu.org>.
11372+
11373+PROGRAM=ltmain.sh
11374+PACKAGE=libtool
11375+VERSION=2.2.6
11376+TIMESTAMP=""
11377+package_revision=1.3012
11378+
11379+# Be Bourne compatible
11380+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
11381+  emulate sh
11382+  NULLCMD=:
11383+  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
11384+  # is contrary to our usage.  Disable this feature.
11385+  alias -g '${1+"$@"}'='"$@"'
11386+  setopt NO_GLOB_SUBST
11387+else
11388+  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
11389+fi
11390+BIN_SH=xpg4; export BIN_SH # for Tru64
11391+DUALCASE=1; export DUALCASE # for MKS sh
11392+
11393+# NLS nuisances: We save the old values to restore during execute mode.
11394+# Only set LANG and LC_ALL to C if already set.
11395+# These must not be set unconditionally because not all systems understand
11396+# e.g. LANG=C (notably SCO).
11397+lt_user_locale=
11398+lt_safe_locale=
11399+for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
11400+do
11401+  eval "if test \"\${$lt_var+set}\" = set; then
11402+          save_$lt_var=\$$lt_var
11403+          $lt_var=C
11404+	  export $lt_var
11405+	  lt_user_locale=\"$lt_var=\\\$save_\$lt_var; \$lt_user_locale\"
11406+	  lt_safe_locale=\"$lt_var=C; \$lt_safe_locale\"
11407+	fi"
11408+done
11409+
11410+$lt_unset CDPATH
11411+
11412+
11413+
11414+
11415+
11416+: ${CP="cp -f"}
11417+: ${ECHO="echo"}
11418+: ${EGREP="/bin/grep -E"}
11419+: ${FGREP="/bin/grep -F"}
11420+: ${GREP="/bin/grep"}
11421+: ${LN_S="ln -s"}
11422+: ${MAKE="make"}
11423+: ${MKDIR="mkdir"}
11424+: ${MV="mv -f"}
11425+: ${RM="rm -f"}
11426+: ${SED="/bin/sed"}
11427+: ${SHELL="${CONFIG_SHELL-/bin/sh}"}
11428+: ${Xsed="$SED -e 1s/^X//"}
11429+
11430+# Global variables:
11431+EXIT_SUCCESS=0
11432+EXIT_FAILURE=1
11433+EXIT_MISMATCH=63  # $? = 63 is used to indicate version mismatch to missing.
11434+EXIT_SKIP=77	  # $? = 77 is used to indicate a skipped test to automake.
11435+
11436+exit_status=$EXIT_SUCCESS
11437+
11438+# Make sure IFS has a sensible default
11439+lt_nl='
11440+'
11441+IFS=" 	$lt_nl"
11442+
11443+dirname="s,/[^/]*$,,"
11444+basename="s,^.*/,,"
11445+
11446+# func_dirname_and_basename file append nondir_replacement
11447+# perform func_basename and func_dirname in a single function
11448+# call:
11449+#   dirname:  Compute the dirname of FILE.  If nonempty,
11450+#             add APPEND to the result, otherwise set result
11451+#             to NONDIR_REPLACEMENT.
11452+#             value returned in "$func_dirname_result"
11453+#   basename: Compute filename of FILE.
11454+#             value retuned in "$func_basename_result"
11455+# Implementation must be kept synchronized with func_dirname
11456+# and func_basename. For efficiency, we do not delegate to
11457+# those functions but instead duplicate the functionality here.
11458+func_dirname_and_basename ()
11459+{
11460+  # Extract subdirectory from the argument.
11461+  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
11462+  if test "X$func_dirname_result" = "X${1}"; then
11463+    func_dirname_result="${3}"
11464+  else
11465+    func_dirname_result="$func_dirname_result${2}"
11466+  fi
11467+  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
11468+}
11469+
11470+# Generated shell functions inserted here.
11471+
11472+# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh
11473+# is ksh but when the shell is invoked as "sh" and the current value of
11474+# the _XPG environment variable is not equal to 1 (one), the special
11475+# positional parameter $0, within a function call, is the name of the
11476+# function.
11477+progpath="$0"
11478+
11479+# The name of this program:
11480+# In the unlikely event $progname began with a '-', it would play havoc with
11481+# func_echo (imagine progname=-n), so we prepend ./ in that case:
11482+func_dirname_and_basename "$progpath"
11483+progname=$func_basename_result
11484+case $progname in
11485+  -*) progname=./$progname ;;
11486+esac
11487+
11488+# Make sure we have an absolute path for reexecution:
11489+case $progpath in
11490+  [\\/]*|[A-Za-z]:\\*) ;;
11491+  *[\\/]*)
11492+     progdir=$func_dirname_result
11493+     progdir=`cd "$progdir" && pwd`
11494+     progpath="$progdir/$progname"
11495+     ;;
11496+  *)
11497+     save_IFS="$IFS"
11498+     IFS=:
11499+     for progdir in $PATH; do
11500+       IFS="$save_IFS"
11501+       test -x "$progdir/$progname" && break
11502+     done
11503+     IFS="$save_IFS"
11504+     test -n "$progdir" || progdir=`pwd`
11505+     progpath="$progdir/$progname"
11506+     ;;
11507+esac
11508+
11509+# Sed substitution that helps us do robust quoting.  It backslashifies
11510+# metacharacters that are still active within double-quoted strings.
11511+Xsed="${SED}"' -e 1s/^X//'
11512+sed_quote_subst='s/\([`"$\\]\)/\\\1/g'
11513+
11514+# Same as above, but do not quote variable references.
11515+double_quote_subst='s/\(["`\\]\)/\\\1/g'
11516+
11517+# Re-`\' parameter expansions in output of double_quote_subst that were
11518+# `\'-ed in input to the same.  If an odd number of `\' preceded a '$'
11519+# in input to double_quote_subst, that '$' was protected from expansion.
11520+# Since each input `\' is now two `\'s, look for any number of runs of
11521+# four `\'s followed by two `\'s and then a '$'.  `\' that '$'.
11522+bs='\\'
11523+bs2='\\\\'
11524+bs4='\\\\\\\\'
11525+dollar='\$'
11526+sed_double_backslash="\
11527+  s/$bs4/&\\
11528+/g
11529+  s/^$bs2$dollar/$bs&/
11530+  s/\\([^$bs]\\)$bs2$dollar/\\1$bs2$bs$dollar/g
11531+  s/\n//g"
11532+
11533+# Standard options:
11534+opt_dry_run=false
11535+opt_help=false
11536+opt_quiet=false
11537+opt_verbose=false
11538+opt_warning=:
11539+
11540+# func_echo arg...
11541+# Echo program name prefixed message, along with the current mode
11542+# name if it has been set yet.
11543+func_echo ()
11544+{
11545+    $ECHO "$progname${mode+: }$mode: $*"
11546+}
11547+
11548+# func_verbose arg...
11549+# Echo program name prefixed message in verbose mode only.
11550+func_verbose ()
11551+{
11552+    $opt_verbose && func_echo ${1+"$@"}
11553+
11554+    # A bug in bash halts the script if the last line of a function
11555+    # fails when set -e is in force, so we need another command to
11556+    # work around that:
11557+    :
11558+}
11559+
11560+# func_error arg...
11561+# Echo program name prefixed message to standard error.
11562+func_error ()
11563+{
11564+    $ECHO "$progname${mode+: }$mode: "${1+"$@"} 1>&2
11565+}
11566+
11567+# func_warning arg...
11568+# Echo program name prefixed warning message to standard error.
11569+func_warning ()
11570+{
11571+    $opt_warning && $ECHO "$progname${mode+: }$mode: warning: "${1+"$@"} 1>&2
11572+
11573+    # bash bug again:
11574+    :
11575+}
11576+
11577+# func_fatal_error arg...
11578+# Echo program name prefixed message to standard error, and exit.
11579+func_fatal_error ()
11580+{
11581+    func_error ${1+"$@"}
11582+    exit $EXIT_FAILURE
11583+}
11584+
11585+# func_fatal_help arg...
11586+# Echo program name prefixed message to standard error, followed by
11587+# a help hint, and exit.
11588+func_fatal_help ()
11589+{
11590+    func_error ${1+"$@"}
11591+    func_fatal_error "$help"
11592+}
11593+help="Try \`$progname --help' for more information."  ## default
11594+
11595+
11596+# func_grep expression filename
11597+# Check whether EXPRESSION matches any line of FILENAME, without output.
11598+func_grep ()
11599+{
11600+    $GREP "$1" "$2" >/dev/null 2>&1
11601+}
11602+
11603+
11604+# func_mkdir_p directory-path
11605+# Make sure the entire path to DIRECTORY-PATH is available.
11606+func_mkdir_p ()
11607+{
11608+    my_directory_path="$1"
11609+    my_dir_list=
11610+
11611+    if test -n "$my_directory_path" && test "$opt_dry_run" != ":"; then
11612+
11613+      # Protect directory names starting with `-'
11614+      case $my_directory_path in
11615+        -*) my_directory_path="./$my_directory_path" ;;
11616+      esac
11617+
11618+      # While some portion of DIR does not yet exist...
11619+      while test ! -d "$my_directory_path"; do
11620+        # ...make a list in topmost first order.  Use a colon delimited
11621+	# list incase some portion of path contains whitespace.
11622+        my_dir_list="$my_directory_path:$my_dir_list"
11623+
11624+        # If the last portion added has no slash in it, the list is done
11625+        case $my_directory_path in */*) ;; *) break ;; esac
11626+
11627+        # ...otherwise throw away the child directory and loop
11628+        my_directory_path=`$ECHO "X$my_directory_path" | $Xsed -e "$dirname"`
11629+      done
11630+      my_dir_list=`$ECHO "X$my_dir_list" | $Xsed -e 's,:*$,,'`
11631+
11632+      save_mkdir_p_IFS="$IFS"; IFS=':'
11633+      for my_dir in $my_dir_list; do
11634+	IFS="$save_mkdir_p_IFS"
11635+        # mkdir can fail with a `File exist' error if two processes
11636+        # try to create one of the directories concurrently.  Don't
11637+        # stop in that case!
11638+        $MKDIR "$my_dir" 2>/dev/null || :
11639+      done
11640+      IFS="$save_mkdir_p_IFS"
11641+
11642+      # Bail out if we (or some other process) failed to create a directory.
11643+      test -d "$my_directory_path" || \
11644+        func_fatal_error "Failed to create \`$1'"
11645+    fi
11646+}
11647+
11648+
11649+# func_mktempdir [string]
11650+# Make a temporary directory that won't clash with other running
11651+# libtool processes, and avoids race conditions if possible.  If
11652+# given, STRING is the basename for that directory.
11653+func_mktempdir ()
11654+{
11655+    my_template="${TMPDIR-/tmp}/${1-$progname}"
11656+
11657+    if test "$opt_dry_run" = ":"; then
11658+      # Return a directory name, but don't create it in dry-run mode
11659+      my_tmpdir="${my_template}-$$"
11660+    else
11661+
11662+      # If mktemp works, use that first and foremost
11663+      my_tmpdir=`mktemp -d "${my_template}-XXXXXXXX" 2>/dev/null`
11664+
11665+      if test ! -d "$my_tmpdir"; then
11666+        # Failing that, at least try and use $RANDOM to avoid a race
11667+        my_tmpdir="${my_template}-${RANDOM-0}$$"
11668+
11669+        save_mktempdir_umask=`umask`
11670+        umask 0077
11671+        $MKDIR "$my_tmpdir"
11672+        umask $save_mktempdir_umask
11673+      fi
11674+
11675+      # If we're not in dry-run mode, bomb out on failure
11676+      test -d "$my_tmpdir" || \
11677+        func_fatal_error "cannot create temporary directory \`$my_tmpdir'"
11678+    fi
11679+
11680+    $ECHO "X$my_tmpdir" | $Xsed
11681+}
11682+
11683+
11684+# func_quote_for_eval arg
11685+# Aesthetically quote ARG to be evaled later.
11686+# This function returns two values: FUNC_QUOTE_FOR_EVAL_RESULT
11687+# is double-quoted, suitable for a subsequent eval, whereas
11688+# FUNC_QUOTE_FOR_EVAL_UNQUOTED_RESULT has merely all characters
11689+# which are still active within double quotes backslashified.
11690+func_quote_for_eval ()
11691+{
11692+    case $1 in
11693+      *[\\\`\"\$]*)
11694+	func_quote_for_eval_unquoted_result=`$ECHO "X$1" | $Xsed -e "$sed_quote_subst"` ;;
11695+      *)
11696+        func_quote_for_eval_unquoted_result="$1" ;;
11697+    esac
11698+
11699+    case $func_quote_for_eval_unquoted_result in
11700+      # Double-quote args containing shell metacharacters to delay
11701+      # word splitting, command substitution and and variable
11702+      # expansion for a subsequent eval.
11703+      # Many Bourne shells cannot handle close brackets correctly
11704+      # in scan sets, so we specify it separately.
11705+      *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \	]*|*]*|"")
11706+        func_quote_for_eval_result="\"$func_quote_for_eval_unquoted_result\""
11707+        ;;
11708+      *)
11709+        func_quote_for_eval_result="$func_quote_for_eval_unquoted_result"
11710+    esac
11711+}
11712+
11713+
11714+# func_quote_for_expand arg
11715+# Aesthetically quote ARG to be evaled later; same as above,
11716+# but do not quote variable references.
11717+func_quote_for_expand ()
11718+{
11719+    case $1 in
11720+      *[\\\`\"]*)
11721+	my_arg=`$ECHO "X$1" | $Xsed \
11722+	    -e "$double_quote_subst" -e "$sed_double_backslash"` ;;
11723+      *)
11724+        my_arg="$1" ;;
11725+    esac
11726+
11727+    case $my_arg in
11728+      # Double-quote args containing shell metacharacters to delay
11729+      # word splitting and command substitution for a subsequent eval.
11730+      # Many Bourne shells cannot handle close brackets correctly
11731+      # in scan sets, so we specify it separately.
11732+      *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \	]*|*]*|"")
11733+        my_arg="\"$my_arg\""
11734+        ;;
11735+    esac
11736+
11737+    func_quote_for_expand_result="$my_arg"
11738+}
11739+
11740+
11741+# func_show_eval cmd [fail_exp]
11742+# Unless opt_silent is true, then output CMD.  Then, if opt_dryrun is
11743+# not true, evaluate CMD.  If the evaluation of CMD fails, and FAIL_EXP
11744+# is given, then evaluate it.
11745+func_show_eval ()
11746+{
11747+    my_cmd="$1"
11748+    my_fail_exp="${2-:}"
11749+
11750+    ${opt_silent-false} || {
11751+      func_quote_for_expand "$my_cmd"
11752+      eval "func_echo $func_quote_for_expand_result"
11753+    }
11754+
11755+    if ${opt_dry_run-false}; then :; else
11756+      eval "$my_cmd"
11757+      my_status=$?
11758+      if test "$my_status" -eq 0; then :; else
11759+	eval "(exit $my_status); $my_fail_exp"
11760+      fi
11761+    fi
11762+}
11763+
11764+
11765+# func_show_eval_locale cmd [fail_exp]
11766+# Unless opt_silent is true, then output CMD.  Then, if opt_dryrun is
11767+# not true, evaluate CMD.  If the evaluation of CMD fails, and FAIL_EXP
11768+# is given, then evaluate it.  Use the saved locale for evaluation.
11769+func_show_eval_locale ()
11770+{
11771+    my_cmd="$1"
11772+    my_fail_exp="${2-:}"
11773+
11774+    ${opt_silent-false} || {
11775+      func_quote_for_expand "$my_cmd"
11776+      eval "func_echo $func_quote_for_expand_result"
11777+    }
11778+
11779+    if ${opt_dry_run-false}; then :; else
11780+      eval "$lt_user_locale
11781+	    $my_cmd"
11782+      my_status=$?
11783+      eval "$lt_safe_locale"
11784+      if test "$my_status" -eq 0; then :; else
11785+	eval "(exit $my_status); $my_fail_exp"
11786+      fi
11787+    fi
11788+}
11789+
11790+
11791+
11792+
11793+
11794+# func_version
11795+# Echo version message to standard output and exit.
11796+func_version ()
11797+{
11798+    $SED -n '/^# '$PROGRAM' (GNU /,/# warranty; / {
11799+        s/^# //
11800+	s/^# *$//
11801+        s/\((C)\)[ 0-9,-]*\( [1-9][0-9]*\)/\1\2/
11802+        p
11803+     }' < "$progpath"
11804+     exit $?
11805+}
11806+
11807+# func_usage
11808+# Echo short help message to standard output and exit.
11809+func_usage ()
11810+{
11811+    $SED -n '/^# Usage:/,/# -h/ {
11812+        s/^# //
11813+	s/^# *$//
11814+	s/\$progname/'$progname'/
11815+	p
11816+    }' < "$progpath"
11817+    $ECHO
11818+    $ECHO "run \`$progname --help | more' for full usage"
11819+    exit $?
11820+}
11821+
11822+# func_help
11823+# Echo long help message to standard output and exit.
11824+func_help ()
11825+{
11826+    $SED -n '/^# Usage:/,/# Report bugs to/ {
11827+        s/^# //
11828+	s/^# *$//
11829+	s*\$progname*'$progname'*
11830+	s*\$host*'"$host"'*
11831+	s*\$SHELL*'"$SHELL"'*
11832+	s*\$LTCC*'"$LTCC"'*
11833+	s*\$LTCFLAGS*'"$LTCFLAGS"'*
11834+	s*\$LD*'"$LD"'*
11835+	s/\$with_gnu_ld/'"$with_gnu_ld"'/
11836+	s/\$automake_version/'"`(automake --version) 2>/dev/null |$SED 1q`"'/
11837+	s/\$autoconf_version/'"`(autoconf --version) 2>/dev/null |$SED 1q`"'/
11838+	p
11839+     }' < "$progpath"
11840+    exit $?
11841+}
11842+
11843+# func_missing_arg argname
11844+# Echo program name prefixed message to standard error and set global
11845+# exit_cmd.
11846+func_missing_arg ()
11847+{
11848+    func_error "missing argument for $1"
11849+    exit_cmd=exit
11850+}
11851+
11852+exit_cmd=:
11853+
11854+
11855+
11856+
11857+
11858+# Check that we have a working $ECHO.
11859+if test "X$1" = X--no-reexec; then
11860+  # Discard the --no-reexec flag, and continue.
11861+  shift
11862+elif test "X$1" = X--fallback-echo; then
11863+  # Avoid inline document here, it may be left over
11864+  :
11865+elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t'; then
11866+  # Yippee, $ECHO works!
11867+  :
11868+else
11869+  # Restart under the correct shell, and then maybe $ECHO will work.
11870+  exec $SHELL "$progpath" --no-reexec ${1+"$@"}
11871+fi
11872+
11873+if test "X$1" = X--fallback-echo; then
11874+  # used as fallback echo
11875+  shift
11876+  cat <<EOF
11877+$*
11878+EOF
11879+  exit $EXIT_SUCCESS
11880+fi
11881+
11882+magic="%%%MAGIC variable%%%"
11883+magic_exe="%%%MAGIC EXE variable%%%"
11884+
11885+# Global variables.
11886+# $mode is unset
11887+nonopt=
11888+execute_dlfiles=
11889+preserve_args=
11890+lo2o="s/\\.lo\$/.${objext}/"
11891+o2lo="s/\\.${objext}\$/.lo/"
11892+extracted_archives=
11893+extracted_serial=0
11894+
11895+opt_dry_run=false
11896+opt_duplicate_deps=false
11897+opt_silent=false
11898+opt_debug=:
11899+
11900+# If this variable is set in any of the actions, the command in it
11901+# will be execed at the end.  This prevents here-documents from being
11902+# left over by shells.
11903+exec_cmd=
11904+
11905+# func_fatal_configuration arg...
11906+# Echo program name prefixed message to standard error, followed by
11907+# a configuration failure hint, and exit.
11908+func_fatal_configuration ()
11909+{
11910+    func_error ${1+"$@"}
11911+    func_error "See the $PACKAGE documentation for more information."
11912+    func_fatal_error "Fatal configuration error."
11913+}
11914+
11915+
11916+# func_config
11917+# Display the configuration for all the tags in this script.
11918+func_config ()
11919+{
11920+    re_begincf='^# ### BEGIN LIBTOOL'
11921+    re_endcf='^# ### END LIBTOOL'
11922+
11923+    # Default configuration.
11924+    $SED "1,/$re_begincf CONFIG/d;/$re_endcf CONFIG/,\$d" < "$progpath"
11925+
11926+    # Now print the configurations for the tags.
11927+    for tagname in $taglist; do
11928+      $SED -n "/$re_begincf TAG CONFIG: $tagname\$/,/$re_endcf TAG CONFIG: $tagname\$/p" < "$progpath"
11929+    done
11930+
11931+    exit $?
11932+}
11933+
11934+# func_features
11935+# Display the features supported by this script.
11936+func_features ()
11937+{
11938+    $ECHO "host: $host"
11939+    if test "$build_libtool_libs" = yes; then
11940+      $ECHO "enable shared libraries"
11941+    else
11942+      $ECHO "disable shared libraries"
11943+    fi
11944+    if test "$build_old_libs" = yes; then
11945+      $ECHO "enable static libraries"
11946+    else
11947+      $ECHO "disable static libraries"
11948+    fi
11949+
11950+    exit $?
11951+}
11952+
11953+# func_enable_tag tagname
11954+# Verify that TAGNAME is valid, and either flag an error and exit, or
11955+# enable the TAGNAME tag.  We also add TAGNAME to the global $taglist
11956+# variable here.
11957+func_enable_tag ()
11958+{
11959+  # Global variable:
11960+  tagname="$1"
11961+
11962+  re_begincf="^# ### BEGIN LIBTOOL TAG CONFIG: $tagname\$"
11963+  re_endcf="^# ### END LIBTOOL TAG CONFIG: $tagname\$"
11964+  sed_extractcf="/$re_begincf/,/$re_endcf/p"
11965+
11966+  # Validate tagname.
11967+  case $tagname in
11968+    *[!-_A-Za-z0-9,/]*)
11969+      func_fatal_error "invalid tag name: $tagname"
11970+      ;;
11971+  esac
11972+
11973+  # Don't test for the "default" C tag, as we know it's
11974+  # there but not specially marked.
11975+  case $tagname in
11976+    CC) ;;
11977+    *)
11978+      if $GREP "$re_begincf" "$progpath" >/dev/null 2>&1; then
11979+	taglist="$taglist $tagname"
11980+
11981+	# Evaluate the configuration.  Be careful to quote the path
11982+	# and the sed script, to avoid splitting on whitespace, but
11983+	# also don't use non-portable quotes within backquotes within
11984+	# quotes we have to do it in 2 steps:
11985+	extractedcf=`$SED -n -e "$sed_extractcf" < "$progpath"`
11986+	eval "$extractedcf"
11987+      else
11988+	func_error "ignoring unknown tag $tagname"
11989+      fi
11990+      ;;
11991+  esac
11992+}
11993+
11994+# Parse options once, thoroughly.  This comes as soon as possible in
11995+# the script to make things like `libtool --version' happen quickly.
11996+{
11997+
11998+  # Shorthand for --mode=foo, only valid as the first argument
11999+  case $1 in
12000+  clean|clea|cle|cl)
12001+    shift; set dummy --mode clean ${1+"$@"}; shift
12002+    ;;
12003+  compile|compil|compi|comp|com|co|c)
12004+    shift; set dummy --mode compile ${1+"$@"}; shift
12005+    ;;
12006+  execute|execut|execu|exec|exe|ex|e)
12007+    shift; set dummy --mode execute ${1+"$@"}; shift
12008+    ;;
12009+  finish|finis|fini|fin|fi|f)
12010+    shift; set dummy --mode finish ${1+"$@"}; shift
12011+    ;;
12012+  install|instal|insta|inst|ins|in|i)
12013+    shift; set dummy --mode install ${1+"$@"}; shift
12014+    ;;
12015+  link|lin|li|l)
12016+    shift; set dummy --mode link ${1+"$@"}; shift
12017+    ;;
12018+  uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u)
12019+    shift; set dummy --mode uninstall ${1+"$@"}; shift
12020+    ;;
12021+  esac
12022+
12023+  # Parse non-mode specific arguments:
12024+  while test "$#" -gt 0; do
12025+    opt="$1"
12026+    shift
12027+
12028+    case $opt in
12029+      --config)		func_config					;;
12030+
12031+      --debug)		preserve_args="$preserve_args $opt"
12032+			func_echo "enabling shell trace mode"
12033+			opt_debug='set -x'
12034+			$opt_debug
12035+			;;
12036+
12037+      -dlopen)		test "$#" -eq 0 && func_missing_arg "$opt" && break
12038+			execute_dlfiles="$execute_dlfiles $1"
12039+			shift
12040+			;;
12041+
12042+      --dry-run | -n)	opt_dry_run=:					;;
12043+      --features)       func_features					;;
12044+      --finish)		mode="finish"					;;
12045+
12046+      --mode)		test "$#" -eq 0 && func_missing_arg "$opt" && break
12047+			case $1 in
12048+			  # Valid mode arguments:
12049+			  clean)	;;
12050+			  compile)	;;
12051+			  execute)	;;
12052+			  finish)	;;
12053+			  install)	;;
12054+			  link)		;;
12055+			  relink)	;;
12056+			  uninstall)	;;
12057+
12058+			  # Catch anything else as an error
12059+			  *) func_error "invalid argument for $opt"
12060+			     exit_cmd=exit
12061+			     break
12062+			     ;;
12063+		        esac
12064+
12065+			mode="$1"
12066+			shift
12067+			;;
12068+
12069+      --preserve-dup-deps)
12070+			opt_duplicate_deps=:				;;
12071+
12072+      --quiet|--silent)	preserve_args="$preserve_args $opt"
12073+			opt_silent=:
12074+			;;
12075+
12076+      --verbose| -v)	preserve_args="$preserve_args $opt"
12077+			opt_silent=false
12078+			;;
12079+
12080+      --tag)		test "$#" -eq 0 && func_missing_arg "$opt" && break
12081+			preserve_args="$preserve_args $opt $1"
12082+			func_enable_tag "$1"	# tagname is set here
12083+			shift
12084+			;;
12085+
12086+      # Separate optargs to long options:
12087+      -dlopen=*|--mode=*|--tag=*)
12088+			func_opt_split "$opt"
12089+			set dummy "$func_opt_split_opt" "$func_opt_split_arg" ${1+"$@"}
12090+			shift
12091+			;;
12092+
12093+      -\?|-h)		func_usage					;;
12094+      --help)		opt_help=:					;;
12095+      --version)	func_version					;;
12096+
12097+      -*)		func_fatal_help "unrecognized option \`$opt'"	;;
12098+
12099+      *)		nonopt="$opt"
12100+			break
12101+			;;
12102+    esac
12103+  done
12104+
12105+
12106+  case $host in
12107+    *cygwin* | *mingw* | *pw32* | *cegcc*)
12108+      # don't eliminate duplications in $postdeps and $predeps
12109+      opt_duplicate_compiler_generated_deps=:
12110+      ;;
12111+    *)
12112+      opt_duplicate_compiler_generated_deps=$opt_duplicate_deps
12113+      ;;
12114+  esac
12115+
12116+  # Having warned about all mis-specified options, bail out if
12117+  # anything was wrong.
12118+  $exit_cmd $EXIT_FAILURE
12119+}
12120+
12121+# func_check_version_match
12122+# Ensure that we are using m4 macros, and libtool script from the same
12123+# release of libtool.
12124+func_check_version_match ()
12125+{
12126+  if test "$package_revision" != "$macro_revision"; then
12127+    if test "$VERSION" != "$macro_version"; then
12128+      if test -z "$macro_version"; then
12129+        cat >&2 <<_LT_EOF
12130+$progname: Version mismatch error.  This is $PACKAGE $VERSION, but the
12131+$progname: definition of this LT_INIT comes from an older release.
12132+$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION
12133+$progname: and run autoconf again.
12134+_LT_EOF
12135+      else
12136+        cat >&2 <<_LT_EOF
12137+$progname: Version mismatch error.  This is $PACKAGE $VERSION, but the
12138+$progname: definition of this LT_INIT comes from $PACKAGE $macro_version.
12139+$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION
12140+$progname: and run autoconf again.
12141+_LT_EOF
12142+      fi
12143+    else
12144+      cat >&2 <<_LT_EOF
12145+$progname: Version mismatch error.  This is $PACKAGE $VERSION, revision $package_revision,
12146+$progname: but the definition of this LT_INIT comes from revision $macro_revision.
12147+$progname: You should recreate aclocal.m4 with macros from revision $package_revision
12148+$progname: of $PACKAGE $VERSION and run autoconf again.
12149+_LT_EOF
12150+    fi
12151+
12152+    exit $EXIT_MISMATCH
12153+  fi
12154+}
12155+
12156+
12157+## ----------- ##
12158+##    Main.    ##
12159+## ----------- ##
12160+
12161+$opt_help || {
12162+  # Sanity checks first:
12163+  func_check_version_match
12164+
12165+  if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then
12166+    func_fatal_configuration "not configured to build any kind of library"
12167+  fi
12168+
12169+  test -z "$mode" && func_fatal_error "error: you must specify a MODE."
12170+
12171+
12172+  # Darwin sucks
12173+  eval std_shrext=\"$shrext_cmds\"
12174+
12175+
12176+  # Only execute mode is allowed to have -dlopen flags.
12177+  if test -n "$execute_dlfiles" && test "$mode" != execute; then
12178+    func_error "unrecognized option \`-dlopen'"
12179+    $ECHO "$help" 1>&2
12180+    exit $EXIT_FAILURE
12181+  fi
12182+
12183+  # Change the help message to a mode-specific one.
12184+  generic_help="$help"
12185+  help="Try \`$progname --help --mode=$mode' for more information."
12186+}
12187+
12188+
12189+# func_lalib_p file
12190+# True iff FILE is a libtool `.la' library or `.lo' object file.
12191+# This function is only a basic sanity check; it will hardly flush out
12192+# determined imposters.
12193+func_lalib_p ()
12194+{
12195+    test -f "$1" &&
12196+      $SED -e 4q "$1" 2>/dev/null \
12197+        | $GREP "^# Generated by .*$PACKAGE" > /dev/null 2>&1
12198+}
12199+
12200+# func_lalib_unsafe_p file
12201+# True iff FILE is a libtool `.la' library or `.lo' object file.
12202+# This function implements the same check as func_lalib_p without
12203+# resorting to external programs.  To this end, it redirects stdin and
12204+# closes it afterwards, without saving the original file descriptor.
12205+# As a safety measure, use it only where a negative result would be
12206+# fatal anyway.  Works if `file' does not exist.
12207+func_lalib_unsafe_p ()
12208+{
12209+    lalib_p=no
12210+    if test -f "$1" && test -r "$1" && exec 5<&0 <"$1"; then
12211+	for lalib_p_l in 1 2 3 4
12212+	do
12213+	    read lalib_p_line
12214+	    case "$lalib_p_line" in
12215+		\#\ Generated\ by\ *$PACKAGE* ) lalib_p=yes; break;;
12216+	    esac
12217+	done
12218+	exec 0<&5 5<&-
12219+    fi
12220+    test "$lalib_p" = yes
12221+}
12222+
12223+# func_ltwrapper_script_p file
12224+# True iff FILE is a libtool wrapper script
12225+# This function is only a basic sanity check; it will hardly flush out
12226+# determined imposters.
12227+func_ltwrapper_script_p ()
12228+{
12229+    func_lalib_p "$1"
12230+}
12231+
12232+# func_ltwrapper_executable_p file
12233+# True iff FILE is a libtool wrapper executable
12234+# This function is only a basic sanity check; it will hardly flush out
12235+# determined imposters.
12236+func_ltwrapper_executable_p ()
12237+{
12238+    func_ltwrapper_exec_suffix=
12239+    case $1 in
12240+    *.exe) ;;
12241+    *) func_ltwrapper_exec_suffix=.exe ;;
12242+    esac
12243+    $GREP "$magic_exe" "$1$func_ltwrapper_exec_suffix" >/dev/null 2>&1
12244+}
12245+
12246+# func_ltwrapper_scriptname file
12247+# Assumes file is an ltwrapper_executable
12248+# uses $file to determine the appropriate filename for a
12249+# temporary ltwrapper_script.
12250+func_ltwrapper_scriptname ()
12251+{
12252+    func_ltwrapper_scriptname_result=""
12253+    if func_ltwrapper_executable_p "$1"; then
12254+	func_dirname_and_basename "$1" "" "."
12255+	func_stripname '' '.exe' "$func_basename_result"
12256+	func_ltwrapper_scriptname_result="$func_dirname_result/$objdir/${func_stripname_result}_ltshwrapper"
12257+    fi
12258+}
12259+
12260+# func_ltwrapper_p file
12261+# True iff FILE is a libtool wrapper script or wrapper executable
12262+# This function is only a basic sanity check; it will hardly flush out
12263+# determined imposters.
12264+func_ltwrapper_p ()
12265+{
12266+    func_ltwrapper_script_p "$1" || func_ltwrapper_executable_p "$1"
12267+}
12268+
12269+
12270+# func_execute_cmds commands fail_cmd
12271+# Execute tilde-delimited COMMANDS.
12272+# If FAIL_CMD is given, eval that upon failure.
12273+# FAIL_CMD may read-access the current command in variable CMD!
12274+func_execute_cmds ()
12275+{
12276+    $opt_debug
12277+    save_ifs=$IFS; IFS='~'
12278+    for cmd in $1; do
12279+      IFS=$save_ifs
12280+      eval cmd=\"$cmd\"
12281+      func_show_eval "$cmd" "${2-:}"
12282+    done
12283+    IFS=$save_ifs
12284+}
12285+
12286+
12287+# func_source file
12288+# Source FILE, adding directory component if necessary.
12289+# Note that it is not necessary on cygwin/mingw to append a dot to
12290+# FILE even if both FILE and FILE.exe exist: automatic-append-.exe
12291+# behavior happens only for exec(3), not for open(2)!  Also, sourcing
12292+# `FILE.' does not work on cygwin managed mounts.
12293+func_source ()
12294+{
12295+    $opt_debug
12296+    case $1 in
12297+    */* | *\\*)	. "$1" ;;
12298+    *)		. "./$1" ;;
12299+    esac
12300+}
12301+
12302+
12303+# func_infer_tag arg
12304+# Infer tagged configuration to use if any are available and
12305+# if one wasn't chosen via the "--tag" command line option.
12306+# Only attempt this if the compiler in the base compile
12307+# command doesn't match the default compiler.
12308+# arg is usually of the form 'gcc ...'
12309+func_infer_tag ()
12310+{
12311+    $opt_debug
12312+    if test -n "$available_tags" && test -z "$tagname"; then
12313+      CC_quoted=
12314+      for arg in $CC; do
12315+        func_quote_for_eval "$arg"
12316+	CC_quoted="$CC_quoted $func_quote_for_eval_result"
12317+      done
12318+      case $@ in
12319+      # Blanks in the command may have been stripped by the calling shell,
12320+      # but not from the CC environment variable when configure was run.
12321+      " $CC "* | "$CC "* | " `$ECHO $CC` "* | "`$ECHO $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$ECHO $CC_quoted` "* | "`$ECHO $CC_quoted` "*) ;;
12322+      # Blanks at the start of $base_compile will cause this to fail
12323+      # if we don't check for them as well.
12324+      *)
12325+	for z in $available_tags; do
12326+	  if $GREP "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then
12327+	    # Evaluate the configuration.
12328+	    eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`"
12329+	    CC_quoted=
12330+	    for arg in $CC; do
12331+	      # Double-quote args containing other shell metacharacters.
12332+	      func_quote_for_eval "$arg"
12333+	      CC_quoted="$CC_quoted $func_quote_for_eval_result"
12334+	    done
12335+	    case "$@ " in
12336+	      " $CC "* | "$CC "* | " `$ECHO $CC` "* | "`$ECHO $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$ECHO $CC_quoted` "* | "`$ECHO $CC_quoted` "*)
12337+	      # The compiler in the base compile command matches
12338+	      # the one in the tagged configuration.
12339+	      # Assume this is the tagged configuration we want.
12340+	      tagname=$z
12341+	      break
12342+	      ;;
12343+	    esac
12344+	  fi
12345+	done
12346+	# If $tagname still isn't set, then no tagged configuration
12347+	# was found and let the user know that the "--tag" command
12348+	# line option must be used.
12349+	if test -z "$tagname"; then
12350+	  func_echo "unable to infer tagged configuration"
12351+	  func_fatal_error "specify a tag with \`--tag'"
12352+#	else
12353+#	  func_verbose "using $tagname tagged configuration"
12354+	fi
12355+	;;
12356+      esac
12357+    fi
12358+}
12359+
12360+
12361+
12362+# func_write_libtool_object output_name pic_name nonpic_name
12363+# Create a libtool object file (analogous to a ".la" file),
12364+# but don't create it if we're doing a dry run.
12365+func_write_libtool_object ()
12366+{
12367+    write_libobj=${1}
12368+    if test "$build_libtool_libs" = yes; then
12369+      write_lobj=\'${2}\'
12370+    else
12371+      write_lobj=none
12372+    fi
12373+
12374+    if test "$build_old_libs" = yes; then
12375+      write_oldobj=\'${3}\'
12376+    else
12377+      write_oldobj=none
12378+    fi
12379+
12380+    $opt_dry_run || {
12381+      cat >${write_libobj}T <<EOF
12382+# $write_libobj - a libtool object file
12383+# Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION
12384+#
12385+# Please DO NOT delete this file!
12386+# It is necessary for linking the library.
12387+
12388+# Name of the PIC object.
12389+pic_object=$write_lobj
12390+
12391+# Name of the non-PIC object
12392+non_pic_object=$write_oldobj
12393+
12394+EOF
12395+      $MV "${write_libobj}T" "${write_libobj}"
12396+    }
12397+}
12398+
12399+# func_mode_compile arg...
12400+func_mode_compile ()
12401+{
12402+    $opt_debug
12403+    # Get the compilation command and the source file.
12404+    base_compile=
12405+    srcfile="$nonopt"  #  always keep a non-empty value in "srcfile"
12406+    suppress_opt=yes
12407+    suppress_output=
12408+    arg_mode=normal
12409+    libobj=
12410+    later=
12411+    pie_flag=
12412+
12413+    for arg
12414+    do
12415+      case $arg_mode in
12416+      arg  )
12417+	# do not "continue".  Instead, add this to base_compile
12418+	lastarg="$arg"
12419+	arg_mode=normal
12420+	;;
12421+
12422+      target )
12423+	libobj="$arg"
12424+	arg_mode=normal
12425+	continue
12426+	;;
12427+
12428+      normal )
12429+	# Accept any command-line options.
12430+	case $arg in
12431+	-o)
12432+	  test -n "$libobj" && \
12433+	    func_fatal_error "you cannot specify \`-o' more than once"
12434+	  arg_mode=target
12435+	  continue
12436+	  ;;
12437+
12438+	-pie | -fpie | -fPIE)
12439+          pie_flag="$pie_flag $arg"
12440+	  continue
12441+	  ;;
12442+
12443+	-shared | -static | -prefer-pic | -prefer-non-pic)
12444+	  later="$later $arg"
12445+	  continue
12446+	  ;;
12447+
12448+	-no-suppress)
12449+	  suppress_opt=no
12450+	  continue
12451+	  ;;
12452+
12453+	-Xcompiler)
12454+	  arg_mode=arg  #  the next one goes into the "base_compile" arg list
12455+	  continue      #  The current "srcfile" will either be retained or
12456+	  ;;            #  replaced later.  I would guess that would be a bug.
12457+
12458+	-Wc,*)
12459+	  func_stripname '-Wc,' '' "$arg"
12460+	  args=$func_stripname_result
12461+	  lastarg=
12462+	  save_ifs="$IFS"; IFS=','
12463+	  for arg in $args; do
12464+	    IFS="$save_ifs"
12465+	    func_quote_for_eval "$arg"
12466+	    lastarg="$lastarg $func_quote_for_eval_result"
12467+	  done
12468+	  IFS="$save_ifs"
12469+	  func_stripname ' ' '' "$lastarg"
12470+	  lastarg=$func_stripname_result
12471+
12472+	  # Add the arguments to base_compile.
12473+	  base_compile="$base_compile $lastarg"
12474+	  continue
12475+	  ;;
12476+
12477+	*)
12478+	  # Accept the current argument as the source file.
12479+	  # The previous "srcfile" becomes the current argument.
12480+	  #
12481+	  lastarg="$srcfile"
12482+	  srcfile="$arg"
12483+	  ;;
12484+	esac  #  case $arg
12485+	;;
12486+      esac    #  case $arg_mode
12487+
12488+      # Aesthetically quote the previous argument.
12489+      func_quote_for_eval "$lastarg"
12490+      base_compile="$base_compile $func_quote_for_eval_result"
12491+    done # for arg
12492+
12493+    case $arg_mode in
12494+    arg)
12495+      func_fatal_error "you must specify an argument for -Xcompile"
12496+      ;;
12497+    target)
12498+      func_fatal_error "you must specify a target with \`-o'"
12499+      ;;
12500+    *)
12501+      # Get the name of the library object.
12502+      test -z "$libobj" && {
12503+	func_basename "$srcfile"
12504+	libobj="$func_basename_result"
12505+      }
12506+      ;;
12507+    esac
12508+
12509+    # Recognize several different file suffixes.
12510+    # If the user specifies -o file.o, it is replaced with file.lo
12511+    case $libobj in
12512+    *.[cCFSifmso] | \
12513+    *.ada | *.adb | *.ads | *.asm | \
12514+    *.c++ | *.cc | *.ii | *.class | *.cpp | *.cxx | \
12515+    *.[fF][09]? | *.for | *.java | *.obj | *.sx)
12516+      func_xform "$libobj"
12517+      libobj=$func_xform_result
12518+      ;;
12519+    esac
12520+
12521+    case $libobj in
12522+    *.lo) func_lo2o "$libobj"; obj=$func_lo2o_result ;;
12523+    *)
12524+      func_fatal_error "cannot determine name of library object from \`$libobj'"
12525+      ;;
12526+    esac
12527+
12528+    func_infer_tag $base_compile
12529+
12530+    for arg in $later; do
12531+      case $arg in
12532+      -shared)
12533+	test "$build_libtool_libs" != yes && \
12534+	  func_fatal_configuration "can not build a shared library"
12535+	build_old_libs=no
12536+	continue
12537+	;;
12538+
12539+      -static)
12540+	build_libtool_libs=no
12541+	build_old_libs=yes
12542+	continue
12543+	;;
12544+
12545+      -prefer-pic)
12546+	pic_mode=yes
12547+	continue
12548+	;;
12549+
12550+      -prefer-non-pic)
12551+	pic_mode=no
12552+	continue
12553+	;;
12554+      esac
12555+    done
12556+
12557+    func_quote_for_eval "$libobj"
12558+    test "X$libobj" != "X$func_quote_for_eval_result" \
12559+      && $ECHO "X$libobj" | $GREP '[]~#^*{};<>?"'"'"'	 &()|`$[]' \
12560+      && func_warning "libobj name \`$libobj' may not contain shell special characters."
12561+    func_dirname_and_basename "$obj" "/" ""
12562+    objname="$func_basename_result"
12563+    xdir="$func_dirname_result"
12564+    lobj=${xdir}$objdir/$objname
12565+
12566+    test -z "$base_compile" && \
12567+      func_fatal_help "you must specify a compilation command"
12568+
12569+    # Delete any leftover library objects.
12570+    if test "$build_old_libs" = yes; then
12571+      removelist="$obj $lobj $libobj ${libobj}T"
12572+    else
12573+      removelist="$lobj $libobj ${libobj}T"
12574+    fi
12575+
12576+    # On Cygwin there's no "real" PIC flag so we must build both object types
12577+    case $host_os in
12578+    cygwin* | mingw* | pw32* | os2* | cegcc*)
12579+      pic_mode=default
12580+      ;;
12581+    esac
12582+    if test "$pic_mode" = no && test "$deplibs_check_method" != pass_all; then
12583+      # non-PIC code in shared libraries is not supported
12584+      pic_mode=default
12585+    fi
12586+
12587+    # Calculate the filename of the output object if compiler does
12588+    # not support -o with -c
12589+    if test "$compiler_c_o" = no; then
12590+      output_obj=`$ECHO "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext}
12591+      lockfile="$output_obj.lock"
12592+    else
12593+      output_obj=
12594+      need_locks=no
12595+      lockfile=
12596+    fi
12597+
12598+    # Lock this critical section if it is needed
12599+    # We use this script file to make the link, it avoids creating a new file
12600+    if test "$need_locks" = yes; then
12601+      until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do
12602+	func_echo "Waiting for $lockfile to be removed"
12603+	sleep 2
12604+      done
12605+    elif test "$need_locks" = warn; then
12606+      if test -f "$lockfile"; then
12607+	$ECHO "\
12608+*** ERROR, $lockfile exists and contains:
12609+`cat $lockfile 2>/dev/null`
12610+
12611+This indicates that another process is trying to use the same
12612+temporary object file, and libtool could not work around it because
12613+your compiler does not support \`-c' and \`-o' together.  If you
12614+repeat this compilation, it may succeed, by chance, but you had better
12615+avoid parallel builds (make -j) in this platform, or get a better
12616+compiler."
12617+
12618+	$opt_dry_run || $RM $removelist
12619+	exit $EXIT_FAILURE
12620+      fi
12621+      removelist="$removelist $output_obj"
12622+      $ECHO "$srcfile" > "$lockfile"
12623+    fi
12624+
12625+    $opt_dry_run || $RM $removelist
12626+    removelist="$removelist $lockfile"
12627+    trap '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' 1 2 15
12628+
12629+    if test -n "$fix_srcfile_path"; then
12630+      eval srcfile=\"$fix_srcfile_path\"
12631+    fi
12632+    func_quote_for_eval "$srcfile"
12633+    qsrcfile=$func_quote_for_eval_result
12634+
12635+    # Only build a PIC object if we are building libtool libraries.
12636+    if test "$build_libtool_libs" = yes; then
12637+      # Without this assignment, base_compile gets emptied.
12638+      fbsd_hideous_sh_bug=$base_compile
12639+
12640+      if test "$pic_mode" != no; then
12641+	command="$base_compile $qsrcfile $pic_flag"
12642+      else
12643+	# Don't build PIC code
12644+	command="$base_compile $qsrcfile"
12645+      fi
12646+
12647+      func_mkdir_p "$xdir$objdir"
12648+
12649+      if test -z "$output_obj"; then
12650+	# Place PIC objects in $objdir
12651+	command="$command -o $lobj"
12652+      fi
12653+
12654+      func_show_eval_locale "$command"	\
12655+          'test -n "$output_obj" && $RM $removelist; exit $EXIT_FAILURE'
12656+
12657+      if test "$need_locks" = warn &&
12658+	 test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then
12659+	$ECHO "\
12660+*** ERROR, $lockfile contains:
12661+`cat $lockfile 2>/dev/null`
12662+
12663+but it should contain:
12664+$srcfile
12665+
12666+This indicates that another process is trying to use the same
12667+temporary object file, and libtool could not work around it because
12668+your compiler does not support \`-c' and \`-o' together.  If you
12669+repeat this compilation, it may succeed, by chance, but you had better
12670+avoid parallel builds (make -j) in this platform, or get a better
12671+compiler."
12672+
12673+	$opt_dry_run || $RM $removelist
12674+	exit $EXIT_FAILURE
12675+      fi
12676+
12677+      # Just move the object if needed, then go on to compile the next one
12678+      if test -n "$output_obj" && test "X$output_obj" != "X$lobj"; then
12679+	func_show_eval '$MV "$output_obj" "$lobj"' \
12680+	  'error=$?; $opt_dry_run || $RM $removelist; exit $error'
12681+      fi
12682+
12683+      # Allow error messages only from the first compilation.
12684+      if test "$suppress_opt" = yes; then
12685+	suppress_output=' >/dev/null 2>&1'
12686+      fi
12687+    fi
12688+
12689+    # Only build a position-dependent object if we build old libraries.
12690+    if test "$build_old_libs" = yes; then
12691+      if test "$pic_mode" != yes; then
12692+	# Don't build PIC code
12693+	command="$base_compile $qsrcfile$pie_flag"
12694+      else
12695+	command="$base_compile $qsrcfile $pic_flag"
12696+      fi
12697+      if test "$compiler_c_o" = yes; then
12698+	command="$command -o $obj"
12699+      fi
12700+
12701+      # Suppress compiler output if we already did a PIC compilation.
12702+      command="$command$suppress_output"
12703+      func_show_eval_locale "$command" \
12704+        '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE'
12705+
12706+      if test "$need_locks" = warn &&
12707+	 test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then
12708+	$ECHO "\
12709+*** ERROR, $lockfile contains:
12710+`cat $lockfile 2>/dev/null`
12711+
12712+but it should contain:
12713+$srcfile
12714+
12715+This indicates that another process is trying to use the same
12716+temporary object file, and libtool could not work around it because
12717+your compiler does not support \`-c' and \`-o' together.  If you
12718+repeat this compilation, it may succeed, by chance, but you had better
12719+avoid parallel builds (make -j) in this platform, or get a better
12720+compiler."
12721+
12722+	$opt_dry_run || $RM $removelist
12723+	exit $EXIT_FAILURE
12724+      fi
12725+
12726+      # Just move the object if needed
12727+      if test -n "$output_obj" && test "X$output_obj" != "X$obj"; then
12728+	func_show_eval '$MV "$output_obj" "$obj"' \
12729+	  'error=$?; $opt_dry_run || $RM $removelist; exit $error'
12730+      fi
12731+    fi
12732+
12733+    $opt_dry_run || {
12734+      func_write_libtool_object "$libobj" "$objdir/$objname" "$objname"
12735+
12736+      # Unlock the critical section if it was locked
12737+      if test "$need_locks" != no; then
12738+	removelist=$lockfile
12739+        $RM "$lockfile"
12740+      fi
12741+    }
12742+
12743+    exit $EXIT_SUCCESS
12744+}
12745+
12746+$opt_help || {
12747+test "$mode" = compile && func_mode_compile ${1+"$@"}
12748+}
12749+
12750+func_mode_help ()
12751+{
12752+    # We need to display help for each of the modes.
12753+    case $mode in
12754+      "")
12755+        # Generic help is extracted from the usage comments
12756+        # at the start of this file.
12757+        func_help
12758+        ;;
12759+
12760+      clean)
12761+        $ECHO \
12762+"Usage: $progname [OPTION]... --mode=clean RM [RM-OPTION]... FILE...
12763+
12764+Remove files from the build directory.
12765+
12766+RM is the name of the program to use to delete files associated with each FILE
12767+(typically \`/bin/rm').  RM-OPTIONS are options (such as \`-f') to be passed
12768+to RM.
12769+
12770+If FILE is a libtool library, object or program, all the files associated
12771+with it are deleted. Otherwise, only FILE itself is deleted using RM."
12772+        ;;
12773+
12774+      compile)
12775+      $ECHO \
12776+"Usage: $progname [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE
12777+
12778+Compile a source file into a libtool library object.
12779+
12780+This mode accepts the following additional options:
12781+
12782+  -o OUTPUT-FILE    set the output file name to OUTPUT-FILE
12783+  -no-suppress      do not suppress compiler output for multiple passes
12784+  -prefer-pic       try to building PIC objects only
12785+  -prefer-non-pic   try to building non-PIC objects only
12786+  -shared           do not build a \`.o' file suitable for static linking
12787+  -static           only build a \`.o' file suitable for static linking
12788+
12789+COMPILE-COMMAND is a command to be used in creating a \`standard' object file
12790+from the given SOURCEFILE.
12791+
12792+The output file name is determined by removing the directory component from
12793+SOURCEFILE, then substituting the C source code suffix \`.c' with the
12794+library object suffix, \`.lo'."
12795+        ;;
12796+
12797+      execute)
12798+        $ECHO \
12799+"Usage: $progname [OPTION]... --mode=execute COMMAND [ARGS]...
12800+
12801+Automatically set library path, then run a program.
12802+
12803+This mode accepts the following additional options:
12804+
12805+  -dlopen FILE      add the directory containing FILE to the library path
12806+
12807+This mode sets the library path environment variable according to \`-dlopen'
12808+flags.
12809+
12810+If any of the ARGS are libtool executable wrappers, then they are translated
12811+into their corresponding uninstalled binary, and any of their required library
12812+directories are added to the library path.
12813+
12814+Then, COMMAND is executed, with ARGS as arguments."
12815+        ;;
12816+
12817+      finish)
12818+        $ECHO \
12819+"Usage: $progname [OPTION]... --mode=finish [LIBDIR]...
12820+
12821+Complete the installation of libtool libraries.
12822+
12823+Each LIBDIR is a directory that contains libtool libraries.
12824+
12825+The commands that this mode executes may require superuser privileges.  Use
12826+the \`--dry-run' option if you just want to see what would be executed."
12827+        ;;
12828+
12829+      install)
12830+        $ECHO \
12831+"Usage: $progname [OPTION]... --mode=install INSTALL-COMMAND...
12832+
12833+Install executables or libraries.
12834+
12835+INSTALL-COMMAND is the installation command.  The first component should be
12836+either the \`install' or \`cp' program.
12837+
12838+The following components of INSTALL-COMMAND are treated specially:
12839+
12840+  -inst-prefix PREFIX-DIR  Use PREFIX-DIR as a staging area for installation
12841+
12842+The rest of the components are interpreted as arguments to that command (only
12843+BSD-compatible install options are recognized)."
12844+        ;;
12845+
12846+      link)
12847+        $ECHO \
12848+"Usage: $progname [OPTION]... --mode=link LINK-COMMAND...
12849+
12850+Link object files or libraries together to form another library, or to
12851+create an executable program.
12852+
12853+LINK-COMMAND is a command using the C compiler that you would use to create
12854+a program from several object files.
12855+
12856+The following components of LINK-COMMAND are treated specially:
12857+
12858+  -all-static       do not do any dynamic linking at all
12859+  -avoid-version    do not add a version suffix if possible
12860+  -dlopen FILE      \`-dlpreopen' FILE if it cannot be dlopened at runtime
12861+  -dlpreopen FILE   link in FILE and add its symbols to lt_preloaded_symbols
12862+  -export-dynamic   allow symbols from OUTPUT-FILE to be resolved with dlsym(3)
12863+  -export-symbols SYMFILE
12864+                    try to export only the symbols listed in SYMFILE
12865+  -export-symbols-regex REGEX
12866+                    try to export only the symbols matching REGEX
12867+  -LLIBDIR          search LIBDIR for required installed libraries
12868+  -lNAME            OUTPUT-FILE requires the installed library libNAME
12869+  -module           build a library that can dlopened
12870+  -no-fast-install  disable the fast-install mode
12871+  -no-install       link a not-installable executable
12872+  -no-undefined     declare that a library does not refer to external symbols
12873+  -o OUTPUT-FILE    create OUTPUT-FILE from the specified objects
12874+  -objectlist FILE  Use a list of object files found in FILE to specify objects
12875+  -precious-files-regex REGEX
12876+                    don't remove output files matching REGEX
12877+  -release RELEASE  specify package release information
12878+  -rpath LIBDIR     the created library will eventually be installed in LIBDIR
12879+  -R[ ]LIBDIR       add LIBDIR to the runtime path of programs and libraries
12880+  -shared           only do dynamic linking of libtool libraries
12881+  -shrext SUFFIX    override the standard shared library file extension
12882+  -static           do not do any dynamic linking of uninstalled libtool libraries
12883+  -static-libtool-libs
12884+                    do not do any dynamic linking of libtool libraries
12885+  -version-info CURRENT[:REVISION[:AGE]]
12886+                    specify library version info [each variable defaults to 0]
12887+  -weak LIBNAME     declare that the target provides the LIBNAME interface
12888+
12889+All other options (arguments beginning with \`-') are ignored.
12890+
12891+Every other argument is treated as a filename.  Files ending in \`.la' are
12892+treated as uninstalled libtool libraries, other files are standard or library
12893+object files.
12894+
12895+If the OUTPUT-FILE ends in \`.la', then a libtool library is created,
12896+only library objects (\`.lo' files) may be specified, and \`-rpath' is
12897+required, except when creating a convenience library.
12898+
12899+If OUTPUT-FILE ends in \`.a' or \`.lib', then a standard library is created
12900+using \`ar' and \`ranlib', or on Windows using \`lib'.
12901+
12902+If OUTPUT-FILE ends in \`.lo' or \`.${objext}', then a reloadable object file
12903+is created, otherwise an executable program is created."
12904+        ;;
12905+
12906+      uninstall)
12907+        $ECHO \
12908+"Usage: $progname [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE...
12909+
12910+Remove libraries from an installation directory.
12911+
12912+RM is the name of the program to use to delete files associated with each FILE
12913+(typically \`/bin/rm').  RM-OPTIONS are options (such as \`-f') to be passed
12914+to RM.
12915+
12916+If FILE is a libtool library, all the files associated with it are deleted.
12917+Otherwise, only FILE itself is deleted using RM."
12918+        ;;
12919+
12920+      *)
12921+        func_fatal_help "invalid operation mode \`$mode'"
12922+        ;;
12923+    esac
12924+
12925+    $ECHO
12926+    $ECHO "Try \`$progname --help' for more information about other modes."
12927+
12928+    exit $?
12929+}
12930+
12931+  # Now that we've collected a possible --mode arg, show help if necessary
12932+  $opt_help && func_mode_help
12933+
12934+
12935+# func_mode_execute arg...
12936+func_mode_execute ()
12937+{
12938+    $opt_debug
12939+    # The first argument is the command name.
12940+    cmd="$nonopt"
12941+    test -z "$cmd" && \
12942+      func_fatal_help "you must specify a COMMAND"
12943+
12944+    # Handle -dlopen flags immediately.
12945+    for file in $execute_dlfiles; do
12946+      test -f "$file" \
12947+	|| func_fatal_help "\`$file' is not a file"
12948+
12949+      dir=
12950+      case $file in
12951+      *.la)
12952+	# Check to see that this really is a libtool archive.
12953+	func_lalib_unsafe_p "$file" \
12954+	  || func_fatal_help "\`$lib' is not a valid libtool archive"
12955+
12956+	# Read the libtool library.
12957+	dlname=
12958+	library_names=
12959+	func_source "$file"
12960+
12961+	# Skip this library if it cannot be dlopened.
12962+	if test -z "$dlname"; then
12963+	  # Warn if it was a shared library.
12964+	  test -n "$library_names" && \
12965+	    func_warning "\`$file' was not linked with \`-export-dynamic'"
12966+	  continue
12967+	fi
12968+
12969+	func_dirname "$file" "" "."
12970+	dir="$func_dirname_result"
12971+
12972+	if test -f "$dir/$objdir/$dlname"; then
12973+	  dir="$dir/$objdir"
12974+	else
12975+	  if test ! -f "$dir/$dlname"; then
12976+	    func_fatal_error "cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'"
12977+	  fi
12978+	fi
12979+	;;
12980+
12981+      *.lo)
12982+	# Just add the directory containing the .lo file.
12983+	func_dirname "$file" "" "."
12984+	dir="$func_dirname_result"
12985+	;;
12986+
12987+      *)
12988+	func_warning "\`-dlopen' is ignored for non-libtool libraries and objects"
12989+	continue
12990+	;;
12991+      esac
12992+
12993+      # Get the absolute pathname.
12994+      absdir=`cd "$dir" && pwd`
12995+      test -n "$absdir" && dir="$absdir"
12996+
12997+      # Now add the directory to shlibpath_var.
12998+      if eval "test -z \"\$$shlibpath_var\""; then
12999+	eval "$shlibpath_var=\"\$dir\""
13000+      else
13001+	eval "$shlibpath_var=\"\$dir:\$$shlibpath_var\""
13002+      fi
13003+    done
13004+
13005+    # This variable tells wrapper scripts just to set shlibpath_var
13006+    # rather than running their programs.
13007+    libtool_execute_magic="$magic"
13008+
13009+    # Check if any of the arguments is a wrapper script.
13010+    args=
13011+    for file
13012+    do
13013+      case $file in
13014+      -*) ;;
13015+      *)
13016+	# Do a test to see if this is really a libtool program.
13017+	if func_ltwrapper_script_p "$file"; then
13018+	  func_source "$file"
13019+	  # Transform arg to wrapped name.
13020+	  file="$progdir/$program"
13021+	elif func_ltwrapper_executable_p "$file"; then
13022+	  func_ltwrapper_scriptname "$file"
13023+	  func_source "$func_ltwrapper_scriptname_result"
13024+	  # Transform arg to wrapped name.
13025+	  file="$progdir/$program"
13026+	fi
13027+	;;
13028+      esac
13029+      # Quote arguments (to preserve shell metacharacters).
13030+      func_quote_for_eval "$file"
13031+      args="$args $func_quote_for_eval_result"
13032+    done
13033+
13034+    if test "X$opt_dry_run" = Xfalse; then
13035+      if test -n "$shlibpath_var"; then
13036+	# Export the shlibpath_var.
13037+	eval "export $shlibpath_var"
13038+      fi
13039+
13040+      # Restore saved environment variables
13041+      for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
13042+      do
13043+	eval "if test \"\${save_$lt_var+set}\" = set; then
13044+                $lt_var=\$save_$lt_var; export $lt_var
13045+	      else
13046+		$lt_unset $lt_var
13047+	      fi"
13048+      done
13049+
13050+      # Now prepare to actually exec the command.
13051+      exec_cmd="\$cmd$args"
13052+    else
13053+      # Display what would be done.
13054+      if test -n "$shlibpath_var"; then
13055+	eval "\$ECHO \"\$shlibpath_var=\$$shlibpath_var\""
13056+	$ECHO "export $shlibpath_var"
13057+      fi
13058+      $ECHO "$cmd$args"
13059+      exit $EXIT_SUCCESS
13060+    fi
13061+}
13062+
13063+test "$mode" = execute && func_mode_execute ${1+"$@"}
13064+
13065+
13066+# func_mode_finish arg...
13067+func_mode_finish ()
13068+{
13069+    $opt_debug
13070+    libdirs="$nonopt"
13071+    admincmds=
13072+
13073+    if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then
13074+      for dir
13075+      do
13076+	libdirs="$libdirs $dir"
13077+      done
13078+
13079+      for libdir in $libdirs; do
13080+	if test -n "$finish_cmds"; then
13081+	  # Do each command in the finish commands.
13082+	  func_execute_cmds "$finish_cmds" 'admincmds="$admincmds
13083+'"$cmd"'"'
13084+	fi
13085+	if test -n "$finish_eval"; then
13086+	  # Do the single finish_eval.
13087+	  eval cmds=\"$finish_eval\"
13088+	  $opt_dry_run || eval "$cmds" || admincmds="$admincmds
13089+       $cmds"
13090+	fi
13091+      done
13092+    fi
13093+
13094+    # Exit here if they wanted silent mode.
13095+    $opt_silent && exit $EXIT_SUCCESS
13096+
13097+    $ECHO "X----------------------------------------------------------------------" | $Xsed
13098+    $ECHO "Libraries have been installed in:"
13099+    for libdir in $libdirs; do
13100+      $ECHO "   $libdir"
13101+    done
13102+    $ECHO
13103+    $ECHO "If you ever happen to want to link against installed libraries"
13104+    $ECHO "in a given directory, LIBDIR, you must either use libtool, and"
13105+    $ECHO "specify the full pathname of the library, or use the \`-LLIBDIR'"
13106+    $ECHO "flag during linking and do at least one of the following:"
13107+    if test -n "$shlibpath_var"; then
13108+      $ECHO "   - add LIBDIR to the \`$shlibpath_var' environment variable"
13109+      $ECHO "     during execution"
13110+    fi
13111+    if test -n "$runpath_var"; then
13112+      $ECHO "   - add LIBDIR to the \`$runpath_var' environment variable"
13113+      $ECHO "     during linking"
13114+    fi
13115+    if test -n "$hardcode_libdir_flag_spec"; then
13116+      libdir=LIBDIR
13117+      eval flag=\"$hardcode_libdir_flag_spec\"
13118+
13119+      $ECHO "   - use the \`$flag' linker flag"
13120+    fi
13121+    if test -n "$admincmds"; then
13122+      $ECHO "   - have your system administrator run these commands:$admincmds"
13123+    fi
13124+    if test -f /etc/ld.so.conf; then
13125+      $ECHO "   - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
13126+    fi
13127+    $ECHO
13128+
13129+    $ECHO "See any operating system documentation about shared libraries for"
13130+    case $host in
13131+      solaris2.[6789]|solaris2.1[0-9])
13132+        $ECHO "more information, such as the ld(1), crle(1) and ld.so(8) manual"
13133+	$ECHO "pages."
13134+	;;
13135+      *)
13136+        $ECHO "more information, such as the ld(1) and ld.so(8) manual pages."
13137+        ;;
13138+    esac
13139+    $ECHO "X----------------------------------------------------------------------" | $Xsed
13140+    exit $EXIT_SUCCESS
13141+}
13142+
13143+test "$mode" = finish && func_mode_finish ${1+"$@"}
13144+
13145+
13146+# func_mode_install arg...
13147+func_mode_install ()
13148+{
13149+    $opt_debug
13150+    # There may be an optional sh(1) argument at the beginning of
13151+    # install_prog (especially on Windows NT).
13152+    if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh ||
13153+       # Allow the use of GNU shtool's install command.
13154+       $ECHO "X$nonopt" | $GREP shtool >/dev/null; then
13155+      # Aesthetically quote it.
13156+      func_quote_for_eval "$nonopt"
13157+      install_prog="$func_quote_for_eval_result "
13158+      arg=$1
13159+      shift
13160+    else
13161+      install_prog=
13162+      arg=$nonopt
13163+    fi
13164+
13165+    # The real first argument should be the name of the installation program.
13166+    # Aesthetically quote it.
13167+    func_quote_for_eval "$arg"
13168+    install_prog="$install_prog$func_quote_for_eval_result"
13169+
13170+    # We need to accept at least all the BSD install flags.
13171+    dest=
13172+    files=
13173+    opts=
13174+    prev=
13175+    install_type=
13176+    isdir=no
13177+    stripme=
13178+    for arg
13179+    do
13180+      if test -n "$dest"; then
13181+	files="$files $dest"
13182+	dest=$arg
13183+	continue
13184+      fi
13185+
13186+      case $arg in
13187+      -d) isdir=yes ;;
13188+      -f)
13189+	case " $install_prog " in
13190+	*[\\\ /]cp\ *) ;;
13191+	*) prev=$arg ;;
13192+	esac
13193+	;;
13194+      -g | -m | -o)
13195+	prev=$arg
13196+	;;
13197+      -s)
13198+	stripme=" -s"
13199+	continue
13200+	;;
13201+      -*)
13202+	;;
13203+      *)
13204+	# If the previous option needed an argument, then skip it.
13205+	if test -n "$prev"; then
13206+	  prev=
13207+	else
13208+	  dest=$arg
13209+	  continue
13210+	fi
13211+	;;
13212+      esac
13213+
13214+      # Aesthetically quote the argument.
13215+      func_quote_for_eval "$arg"
13216+      install_prog="$install_prog $func_quote_for_eval_result"
13217+    done
13218+
13219+    test -z "$install_prog" && \
13220+      func_fatal_help "you must specify an install program"
13221+
13222+    test -n "$prev" && \
13223+      func_fatal_help "the \`$prev' option requires an argument"
13224+
13225+    if test -z "$files"; then
13226+      if test -z "$dest"; then
13227+	func_fatal_help "no file or destination specified"
13228+      else
13229+	func_fatal_help "you must specify a destination"
13230+      fi
13231+    fi
13232+
13233+    # Strip any trailing slash from the destination.
13234+    func_stripname '' '/' "$dest"
13235+    dest=$func_stripname_result
13236+
13237+    # Check to see that the destination is a directory.
13238+    test -d "$dest" && isdir=yes
13239+    if test "$isdir" = yes; then
13240+      destdir="$dest"
13241+      destname=
13242+    else
13243+      func_dirname_and_basename "$dest" "" "."
13244+      destdir="$func_dirname_result"
13245+      destname="$func_basename_result"
13246+
13247+      # Not a directory, so check to see that there is only one file specified.
13248+      set dummy $files; shift
13249+      test "$#" -gt 1 && \
13250+	func_fatal_help "\`$dest' is not a directory"
13251+    fi
13252+    case $destdir in
13253+    [\\/]* | [A-Za-z]:[\\/]*) ;;
13254+    *)
13255+      for file in $files; do
13256+	case $file in
13257+	*.lo) ;;
13258+	*)
13259+	  func_fatal_help "\`$destdir' must be an absolute directory name"
13260+	  ;;
13261+	esac
13262+      done
13263+      ;;
13264+    esac
13265+
13266+    # This variable tells wrapper scripts just to set variables rather
13267+    # than running their programs.
13268+    libtool_install_magic="$magic"
13269+
13270+    staticlibs=
13271+    future_libdirs=
13272+    current_libdirs=
13273+    for file in $files; do
13274+
13275+      # Do each installation.
13276+      case $file in
13277+      *.$libext)
13278+	# Do the static libraries later.
13279+	staticlibs="$staticlibs $file"
13280+	;;
13281+
13282+      *.la)
13283+	# Check to see that this really is a libtool archive.
13284+	func_lalib_unsafe_p "$file" \
13285+	  || func_fatal_help "\`$file' is not a valid libtool archive"
13286+
13287+	library_names=
13288+	old_library=
13289+	relink_command=
13290+	func_source "$file"
13291+
13292+	# Add the libdir to current_libdirs if it is the destination.
13293+	if test "X$destdir" = "X$libdir"; then
13294+	  case "$current_libdirs " in
13295+	  *" $libdir "*) ;;
13296+	  *) current_libdirs="$current_libdirs $libdir" ;;
13297+	  esac
13298+	else
13299+	  # Note the libdir as a future libdir.
13300+	  case "$future_libdirs " in
13301+	  *" $libdir "*) ;;
13302+	  *) future_libdirs="$future_libdirs $libdir" ;;
13303+	  esac
13304+	fi
13305+
13306+	func_dirname "$file" "/" ""
13307+	dir="$func_dirname_result"
13308+	dir="$dir$objdir"
13309+
13310+	if test -n "$relink_command"; then
13311+	  # Determine the prefix the user has applied to our future dir.
13312+	  inst_prefix_dir=`$ECHO "X$destdir" | $Xsed -e "s%$libdir\$%%"`
13313+
13314+	  # Don't allow the user to place us outside of our expected
13315+	  # location b/c this prevents finding dependent libraries that
13316+	  # are installed to the same prefix.
13317+	  # At present, this check doesn't affect windows .dll's that
13318+	  # are installed into $libdir/../bin (currently, that works fine)
13319+	  # but it's something to keep an eye on.
13320+	  test "$inst_prefix_dir" = "$destdir" && \
13321+	    func_fatal_error "error: cannot install \`$file' to a directory not ending in $libdir"
13322+
13323+	  if test -n "$inst_prefix_dir"; then
13324+	    # Stick the inst_prefix_dir data into the link command.
13325+	    relink_command=`$ECHO "X$relink_command" | $Xsed -e "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"`
13326+	  else
13327+	    relink_command=`$ECHO "X$relink_command" | $Xsed -e "s%@inst_prefix_dir@%%"`
13328+	  fi
13329+
13330+	  func_warning "relinking \`$file'"
13331+	  func_show_eval "$relink_command" \
13332+	    'func_fatal_error "error: relink \`$file'\'' with the above command before installing it"'
13333+	fi
13334+
13335+	# See the names of the shared library.
13336+	set dummy $library_names; shift
13337+	if test -n "$1"; then
13338+	  realname="$1"
13339+	  shift
13340+
13341+	  srcname="$realname"
13342+	  test -n "$relink_command" && srcname="$realname"T
13343+
13344+	  # Install the shared library and build the symlinks.
13345+	  func_show_eval "$install_prog $dir/$srcname $destdir/$realname" \
13346+	      'exit $?'
13347+	  tstripme="$stripme"
13348+	  case $host_os in
13349+	  cygwin* | mingw* | pw32* | cegcc*)
13350+	    case $realname in
13351+	    *.dll.a)
13352+	      tstripme=""
13353+	      ;;
13354+	    esac
13355+	    ;;
13356+	  esac
13357+	  if test -n "$tstripme" && test -n "$striplib"; then
13358+	    func_show_eval "$striplib $destdir/$realname" 'exit $?'
13359+	  fi
13360+
13361+	  if test "$#" -gt 0; then
13362+	    # Delete the old symlinks, and create new ones.
13363+	    # Try `ln -sf' first, because the `ln' binary might depend on
13364+	    # the symlink we replace!  Solaris /bin/ln does not understand -f,
13365+	    # so we also need to try rm && ln -s.
13366+	    for linkname
13367+	    do
13368+	      test "$linkname" != "$realname" \
13369+		&& func_show_eval "(cd $destdir && { $LN_S -f $realname $linkname || { $RM $linkname && $LN_S $realname $linkname; }; })"
13370+	    done
13371+	  fi
13372+
13373+	  # Do each command in the postinstall commands.
13374+	  lib="$destdir/$realname"
13375+	  func_execute_cmds "$postinstall_cmds" 'exit $?'
13376+	fi
13377+
13378+	# Install the pseudo-library for information purposes.
13379+	func_basename "$file"
13380+	name="$func_basename_result"
13381+	instname="$dir/$name"i
13382+	func_show_eval "$install_prog $instname $destdir/$name" 'exit $?'
13383+
13384+	# Maybe install the static library, too.
13385+	test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
13386+	;;
13387+
13388+      *.lo)
13389+	# Install (i.e. copy) a libtool object.
13390+
13391+	# Figure out destination file name, if it wasn't already specified.
13392+	if test -n "$destname"; then
13393+	  destfile="$destdir/$destname"
13394+	else
13395+	  func_basename "$file"
13396+	  destfile="$func_basename_result"
13397+	  destfile="$destdir/$destfile"
13398+	fi
13399+
13400+	# Deduce the name of the destination old-style object file.
13401+	case $destfile in
13402+	*.lo)
13403+	  func_lo2o "$destfile"
13404+	  staticdest=$func_lo2o_result
13405+	  ;;
13406+	*.$objext)
13407+	  staticdest="$destfile"
13408+	  destfile=
13409+	  ;;
13410+	*)
13411+	  func_fatal_help "cannot copy a libtool object to \`$destfile'"
13412+	  ;;
13413+	esac
13414+
13415+	# Install the libtool object if requested.
13416+	test -n "$destfile" && \
13417+	  func_show_eval "$install_prog $file $destfile" 'exit $?'
13418+
13419+	# Install the old object if enabled.
13420+	if test "$build_old_libs" = yes; then
13421+	  # Deduce the name of the old-style object file.
13422+	  func_lo2o "$file"
13423+	  staticobj=$func_lo2o_result
13424+	  func_show_eval "$install_prog \$staticobj \$staticdest" 'exit $?'
13425+	fi
13426+	exit $EXIT_SUCCESS
13427+	;;
13428+
13429+      *)
13430+	# Figure out destination file name, if it wasn't already specified.
13431+	if test -n "$destname"; then
13432+	  destfile="$destdir/$destname"
13433+	else
13434+	  func_basename "$file"
13435+	  destfile="$func_basename_result"
13436+	  destfile="$destdir/$destfile"
13437+	fi
13438+
13439+	# If the file is missing, and there is a .exe on the end, strip it
13440+	# because it is most likely a libtool script we actually want to
13441+	# install
13442+	stripped_ext=""
13443+	case $file in
13444+	  *.exe)
13445+	    if test ! -f "$file"; then
13446+	      func_stripname '' '.exe' "$file"
13447+	      file=$func_stripname_result
13448+	      stripped_ext=".exe"
13449+	    fi
13450+	    ;;
13451+	esac
13452+
13453+	# Do a test to see if this is really a libtool program.
13454+	case $host in
13455+	*cygwin* | *mingw*)
13456+	    if func_ltwrapper_executable_p "$file"; then
13457+	      func_ltwrapper_scriptname "$file"
13458+	      wrapper=$func_ltwrapper_scriptname_result
13459+	    else
13460+	      func_stripname '' '.exe' "$file"
13461+	      wrapper=$func_stripname_result
13462+	    fi
13463+	    ;;
13464+	*)
13465+	    wrapper=$file
13466+	    ;;
13467+	esac
13468+	if func_ltwrapper_script_p "$wrapper"; then
13469+	  notinst_deplibs=
13470+	  relink_command=
13471+
13472+	  func_source "$wrapper"
13473+
13474+	  # Check the variables that should have been set.
13475+	  test -z "$generated_by_libtool_version" && \
13476+	    func_fatal_error "invalid libtool wrapper script \`$wrapper'"
13477+
13478+	  finalize=yes
13479+	  for lib in $notinst_deplibs; do
13480+	    # Check to see that each library is installed.
13481+	    libdir=
13482+	    if test -f "$lib"; then
13483+	      func_source "$lib"
13484+	    fi
13485+	    libfile="$libdir/"`$ECHO "X$lib" | $Xsed -e 's%^.*/%%g'` ### testsuite: skip nested quoting test
13486+	    if test -n "$libdir" && test ! -f "$libfile"; then
13487+	      func_warning "\`$lib' has not been installed in \`$libdir'"
13488+	      finalize=no
13489+	    fi
13490+	  done
13491+
13492+	  relink_command=
13493+	  func_source "$wrapper"
13494+
13495+	  outputname=
13496+	  if test "$fast_install" = no && test -n "$relink_command"; then
13497+	    $opt_dry_run || {
13498+	      if test "$finalize" = yes; then
13499+	        tmpdir=`func_mktempdir`
13500+		func_basename "$file$stripped_ext"
13501+		file="$func_basename_result"
13502+	        outputname="$tmpdir/$file"
13503+	        # Replace the output file specification.
13504+	        relink_command=`$ECHO "X$relink_command" | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g'`
13505+
13506+	        $opt_silent || {
13507+	          func_quote_for_expand "$relink_command"
13508+		  eval "func_echo $func_quote_for_expand_result"
13509+	        }
13510+	        if eval "$relink_command"; then :
13511+	          else
13512+		  func_error "error: relink \`$file' with the above command before installing it"
13513+		  $opt_dry_run || ${RM}r "$tmpdir"
13514+		  continue
13515+	        fi
13516+	        file="$outputname"
13517+	      else
13518+	        func_warning "cannot relink \`$file'"
13519+	      fi
13520+	    }
13521+	  else
13522+	    # Install the binary that we compiled earlier.
13523+	    file=`$ECHO "X$file$stripped_ext" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"`
13524+	  fi
13525+	fi
13526+
13527+	# remove .exe since cygwin /usr/bin/install will append another
13528+	# one anyway
13529+	case $install_prog,$host in
13530+	*/usr/bin/install*,*cygwin*)
13531+	  case $file:$destfile in
13532+	  *.exe:*.exe)
13533+	    # this is ok
13534+	    ;;
13535+	  *.exe:*)
13536+	    destfile=$destfile.exe
13537+	    ;;
13538+	  *:*.exe)
13539+	    func_stripname '' '.exe' "$destfile"
13540+	    destfile=$func_stripname_result
13541+	    ;;
13542+	  esac
13543+	  ;;
13544+	esac
13545+	func_show_eval "$install_prog\$stripme \$file \$destfile" 'exit $?'
13546+	$opt_dry_run || if test -n "$outputname"; then
13547+	  ${RM}r "$tmpdir"
13548+	fi
13549+	;;
13550+      esac
13551+    done
13552+
13553+    for file in $staticlibs; do
13554+      func_basename "$file"
13555+      name="$func_basename_result"
13556+
13557+      # Set up the ranlib parameters.
13558+      oldlib="$destdir/$name"
13559+
13560+      func_show_eval "$install_prog \$file \$oldlib" 'exit $?'
13561+
13562+      if test -n "$stripme" && test -n "$old_striplib"; then
13563+	func_show_eval "$old_striplib $oldlib" 'exit $?'
13564+      fi
13565+
13566+      # Do each command in the postinstall commands.
13567+      func_execute_cmds "$old_postinstall_cmds" 'exit $?'
13568+    done
13569+
13570+    test -n "$future_libdirs" && \
13571+      func_warning "remember to run \`$progname --finish$future_libdirs'"
13572+
13573+    if test -n "$current_libdirs"; then
13574+      # Maybe just do a dry run.
13575+      $opt_dry_run && current_libdirs=" -n$current_libdirs"
13576+      exec_cmd='$SHELL $progpath $preserve_args --finish$current_libdirs'
13577+    else
13578+      exit $EXIT_SUCCESS
13579+    fi
13580+}
13581+
13582+test "$mode" = install && func_mode_install ${1+"$@"}
13583+
13584+
13585+# func_generate_dlsyms outputname originator pic_p
13586+# Extract symbols from dlprefiles and create ${outputname}S.o with
13587+# a dlpreopen symbol table.
13588+func_generate_dlsyms ()
13589+{
13590+    $opt_debug
13591+    my_outputname="$1"
13592+    my_originator="$2"
13593+    my_pic_p="${3-no}"
13594+    my_prefix=`$ECHO "$my_originator" | sed 's%[^a-zA-Z0-9]%_%g'`
13595+    my_dlsyms=
13596+
13597+    if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
13598+      if test -n "$NM" && test -n "$global_symbol_pipe"; then
13599+	my_dlsyms="${my_outputname}S.c"
13600+      else
13601+	func_error "not configured to extract global symbols from dlpreopened files"
13602+      fi
13603+    fi
13604+
13605+    if test -n "$my_dlsyms"; then
13606+      case $my_dlsyms in
13607+      "") ;;
13608+      *.c)
13609+	# Discover the nlist of each of the dlfiles.
13610+	nlist="$output_objdir/${my_outputname}.nm"
13611+
13612+	func_show_eval "$RM $nlist ${nlist}S ${nlist}T"
13613+
13614+	# Parse the name list into a source file.
13615+	func_verbose "creating $output_objdir/$my_dlsyms"
13616+
13617+	$opt_dry_run || $ECHO > "$output_objdir/$my_dlsyms" "\
13618+/* $my_dlsyms - symbol resolution table for \`$my_outputname' dlsym emulation. */
13619+/* Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION */
13620+
13621+#ifdef __cplusplus
13622+extern \"C\" {
13623+#endif
13624+
13625+/* External symbol declarations for the compiler. */\
13626+"
13627+
13628+	if test "$dlself" = yes; then
13629+	  func_verbose "generating symbol list for \`$output'"
13630+
13631+	  $opt_dry_run || echo ': @PROGRAM@ ' > "$nlist"
13632+
13633+	  # Add our own program objects to the symbol list.
13634+	  progfiles=`$ECHO "X$objs$old_deplibs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
13635+	  for progfile in $progfiles; do
13636+	    func_verbose "extracting global C symbols from \`$progfile'"
13637+	    $opt_dry_run || eval "$NM $progfile | $global_symbol_pipe >> '$nlist'"
13638+	  done
13639+
13640+	  if test -n "$exclude_expsyms"; then
13641+	    $opt_dry_run || {
13642+	      eval '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T'
13643+	      eval '$MV "$nlist"T "$nlist"'
13644+	    }
13645+	  fi
13646+
13647+	  if test -n "$export_symbols_regex"; then
13648+	    $opt_dry_run || {
13649+	      eval '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T'
13650+	      eval '$MV "$nlist"T "$nlist"'
13651+	    }
13652+	  fi
13653+
13654+	  # Prepare the list of exported symbols
13655+	  if test -z "$export_symbols"; then
13656+	    export_symbols="$output_objdir/$outputname.exp"
13657+	    $opt_dry_run || {
13658+	      $RM $export_symbols
13659+	      eval "${SED} -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
13660+	      case $host in
13661+	      *cygwin* | *mingw* | *cegcc* )
13662+                eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
13663+                eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"'
13664+	        ;;
13665+	      esac
13666+	    }
13667+	  else
13668+	    $opt_dry_run || {
13669+	      eval "${SED} -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"'
13670+	      eval '$GREP -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T'
13671+	      eval '$MV "$nlist"T "$nlist"'
13672+	      case $host in
13673+	        *cygwin | *mingw* | *cegcc* )
13674+	          eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
13675+	          eval 'cat "$nlist" >> "$output_objdir/$outputname.def"'
13676+	          ;;
13677+	      esac
13678+	    }
13679+	  fi
13680+	fi
13681+
13682+	for dlprefile in $dlprefiles; do
13683+	  func_verbose "extracting global C symbols from \`$dlprefile'"
13684+	  func_basename "$dlprefile"
13685+	  name="$func_basename_result"
13686+	  $opt_dry_run || {
13687+	    eval '$ECHO ": $name " >> "$nlist"'
13688+	    eval "$NM $dlprefile 2>/dev/null | $global_symbol_pipe >> '$nlist'"
13689+	  }
13690+	done
13691+
13692+	$opt_dry_run || {
13693+	  # Make sure we have at least an empty file.
13694+	  test -f "$nlist" || : > "$nlist"
13695+
13696+	  if test -n "$exclude_expsyms"; then
13697+	    $EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T
13698+	    $MV "$nlist"T "$nlist"
13699+	  fi
13700+
13701+	  # Try sorting and uniquifying the output.
13702+	  if $GREP -v "^: " < "$nlist" |
13703+	      if sort -k 3 </dev/null >/dev/null 2>&1; then
13704+		sort -k 3
13705+	      else
13706+		sort +2
13707+	      fi |
13708+	      uniq > "$nlist"S; then
13709+	    :
13710+	  else
13711+	    $GREP -v "^: " < "$nlist" > "$nlist"S
13712+	  fi
13713+
13714+	  if test -f "$nlist"S; then
13715+	    eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$my_dlsyms"'
13716+	  else
13717+	    $ECHO '/* NONE */' >> "$output_objdir/$my_dlsyms"
13718+	  fi
13719+
13720+	  $ECHO >> "$output_objdir/$my_dlsyms" "\
13721+
13722+/* The mapping between symbol names and symbols.  */
13723+typedef struct {
13724+  const char *name;
13725+  void *address;
13726+} lt_dlsymlist;
13727+"
13728+	  case $host in
13729+	  *cygwin* | *mingw* | *cegcc* )
13730+	    $ECHO >> "$output_objdir/$my_dlsyms" "\
13731+/* DATA imports from DLLs on WIN32 con't be const, because
13732+   runtime relocations are performed -- see ld's documentation
13733+   on pseudo-relocs.  */"
13734+	    lt_dlsym_const= ;;
13735+	  *osf5*)
13736+	    echo >> "$output_objdir/$my_dlsyms" "\
13737+/* This system does not cope well with relocations in const data */"
13738+	    lt_dlsym_const= ;;
13739+	  *)
13740+	    lt_dlsym_const=const ;;
13741+	  esac
13742+
13743+	  $ECHO >> "$output_objdir/$my_dlsyms" "\
13744+extern $lt_dlsym_const lt_dlsymlist
13745+lt_${my_prefix}_LTX_preloaded_symbols[];
13746+$lt_dlsym_const lt_dlsymlist
13747+lt_${my_prefix}_LTX_preloaded_symbols[] =
13748+{\
13749+  { \"$my_originator\", (void *) 0 },"
13750+
13751+	  case $need_lib_prefix in
13752+	  no)
13753+	    eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$my_dlsyms"
13754+	    ;;
13755+	  *)
13756+	    eval "$global_symbol_to_c_name_address_lib_prefix" < "$nlist" >> "$output_objdir/$my_dlsyms"
13757+	    ;;
13758+	  esac
13759+	  $ECHO >> "$output_objdir/$my_dlsyms" "\
13760+  {0, (void *) 0}
13761+};
13762+
13763+/* This works around a problem in FreeBSD linker */
13764+#ifdef FREEBSD_WORKAROUND
13765+static const void *lt_preloaded_setup() {
13766+  return lt_${my_prefix}_LTX_preloaded_symbols;
13767+}
13768+#endif
13769+
13770+#ifdef __cplusplus
13771+}
13772+#endif\
13773+"
13774+	} # !$opt_dry_run
13775+
13776+	pic_flag_for_symtable=
13777+	case "$compile_command " in
13778+	*" -static "*) ;;
13779+	*)
13780+	  case $host in
13781+	  # compiling the symbol table file with pic_flag works around
13782+	  # a FreeBSD bug that causes programs to crash when -lm is
13783+	  # linked before any other PIC object.  But we must not use
13784+	  # pic_flag when linking with -static.  The problem exists in
13785+	  # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1.
13786+	  *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
13787+	    pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND" ;;
13788+	  *-*-hpux*)
13789+	    pic_flag_for_symtable=" $pic_flag"  ;;
13790+	  *)
13791+	    if test "X$my_pic_p" != Xno; then
13792+	      pic_flag_for_symtable=" $pic_flag"
13793+	    fi
13794+	    ;;
13795+	  esac
13796+	  ;;
13797+	esac
13798+	symtab_cflags=
13799+	for arg in $LTCFLAGS; do
13800+	  case $arg in
13801+	  -pie | -fpie | -fPIE) ;;
13802+	  *) symtab_cflags="$symtab_cflags $arg" ;;
13803+	  esac
13804+	done
13805+
13806+	# Now compile the dynamic symbol file.
13807+	func_show_eval '(cd $output_objdir && $LTCC$symtab_cflags -c$no_builtin_flag$pic_flag_for_symtable "$my_dlsyms")' 'exit $?'
13808+
13809+	# Clean up the generated files.
13810+	func_show_eval '$RM "$output_objdir/$my_dlsyms" "$nlist" "${nlist}S" "${nlist}T"'
13811+
13812+	# Transform the symbol file into the correct name.
13813+	symfileobj="$output_objdir/${my_outputname}S.$objext"
13814+	case $host in
13815+	*cygwin* | *mingw* | *cegcc* )
13816+	  if test -f "$output_objdir/$my_outputname.def"; then
13817+	    compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
13818+	    finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
13819+	  else
13820+	    compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
13821+	    finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
13822+	  fi
13823+	  ;;
13824+	*)
13825+	  compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
13826+	  finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
13827+	  ;;
13828+	esac
13829+	;;
13830+      *)
13831+	func_fatal_error "unknown suffix for \`$my_dlsyms'"
13832+	;;
13833+      esac
13834+    else
13835+      # We keep going just in case the user didn't refer to
13836+      # lt_preloaded_symbols.  The linker will fail if global_symbol_pipe
13837+      # really was required.
13838+
13839+      # Nullify the symbol file.
13840+      compile_command=`$ECHO "X$compile_command" | $Xsed -e "s% @SYMFILE@%%"`
13841+      finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"`
13842+    fi
13843+}
13844+
13845+# func_win32_libid arg
13846+# return the library type of file 'arg'
13847+#
13848+# Need a lot of goo to handle *both* DLLs and import libs
13849+# Has to be a shell function in order to 'eat' the argument
13850+# that is supplied when $file_magic_command is called.
13851+func_win32_libid ()
13852+{
13853+  $opt_debug
13854+  win32_libid_type="unknown"
13855+  win32_fileres=`file -L $1 2>/dev/null`
13856+  case $win32_fileres in
13857+  *ar\ archive\ import\ library*) # definitely import
13858+    win32_libid_type="x86 archive import"
13859+    ;;
13860+  *ar\ archive*) # could be an import, or static
13861+    if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null |
13862+       $EGREP 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then
13863+      win32_nmres=`eval $NM -f posix -A $1 |
13864+	$SED -n -e '
13865+	    1,100{
13866+		/ I /{
13867+		    s,.*,import,
13868+		    p
13869+		    q
13870+		}
13871+	    }'`
13872+      case $win32_nmres in
13873+      import*)  win32_libid_type="x86 archive import";;
13874+      *)        win32_libid_type="x86 archive static";;
13875+      esac
13876+    fi
13877+    ;;
13878+  *DLL*)
13879+    win32_libid_type="x86 DLL"
13880+    ;;
13881+  *executable*) # but shell scripts are "executable" too...
13882+    case $win32_fileres in
13883+    *MS\ Windows\ PE\ Intel*)
13884+      win32_libid_type="x86 DLL"
13885+      ;;
13886+    esac
13887+    ;;
13888+  esac
13889+  $ECHO "$win32_libid_type"
13890+}
13891+
13892+
13893+
13894+# func_extract_an_archive dir oldlib
13895+func_extract_an_archive ()
13896+{
13897+    $opt_debug
13898+    f_ex_an_ar_dir="$1"; shift
13899+    f_ex_an_ar_oldlib="$1"
13900+    func_show_eval "(cd \$f_ex_an_ar_dir && $AR x \"\$f_ex_an_ar_oldlib\")" 'exit $?'
13901+    if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then
13902+     :
13903+    else
13904+      func_fatal_error "object name conflicts in archive: $f_ex_an_ar_dir/$f_ex_an_ar_oldlib"
13905+    fi
13906+}
13907+
13908+
13909+# func_extract_archives gentop oldlib ...
13910+func_extract_archives ()
13911+{
13912+    $opt_debug
13913+    my_gentop="$1"; shift
13914+    my_oldlibs=${1+"$@"}
13915+    my_oldobjs=""
13916+    my_xlib=""
13917+    my_xabs=""
13918+    my_xdir=""
13919+
13920+    for my_xlib in $my_oldlibs; do
13921+      # Extract the objects.
13922+      case $my_xlib in
13923+	[\\/]* | [A-Za-z]:[\\/]*) my_xabs="$my_xlib" ;;
13924+	*) my_xabs=`pwd`"/$my_xlib" ;;
13925+      esac
13926+      func_basename "$my_xlib"
13927+      my_xlib="$func_basename_result"
13928+      my_xlib_u=$my_xlib
13929+      while :; do
13930+        case " $extracted_archives " in
13931+	*" $my_xlib_u "*)
13932+	  func_arith $extracted_serial + 1
13933+	  extracted_serial=$func_arith_result
13934+	  my_xlib_u=lt$extracted_serial-$my_xlib ;;
13935+	*) break ;;
13936+	esac
13937+      done
13938+      extracted_archives="$extracted_archives $my_xlib_u"
13939+      my_xdir="$my_gentop/$my_xlib_u"
13940+
13941+      func_mkdir_p "$my_xdir"
13942+
13943+      case $host in
13944+      *-darwin*)
13945+	func_verbose "Extracting $my_xabs"
13946+	# Do not bother doing anything if just a dry run
13947+	$opt_dry_run || {
13948+	  darwin_orig_dir=`pwd`
13949+	  cd $my_xdir || exit $?
13950+	  darwin_archive=$my_xabs
13951+	  darwin_curdir=`pwd`
13952+	  darwin_base_archive=`basename "$darwin_archive"`
13953+	  darwin_arches=`$LIPO -info "$darwin_archive" 2>/dev/null | $GREP Architectures 2>/dev/null || true`
13954+	  if test -n "$darwin_arches"; then
13955+	    darwin_arches=`$ECHO "$darwin_arches" | $SED -e 's/.*are://'`
13956+	    darwin_arch=
13957+	    func_verbose "$darwin_base_archive has multiple architectures $darwin_arches"
13958+	    for darwin_arch in  $darwin_arches ; do
13959+	      func_mkdir_p "unfat-$$/${darwin_base_archive}-${darwin_arch}"
13960+	      $LIPO -thin $darwin_arch -output "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" "${darwin_archive}"
13961+	      cd "unfat-$$/${darwin_base_archive}-${darwin_arch}"
13962+	      func_extract_an_archive "`pwd`" "${darwin_base_archive}"
13963+	      cd "$darwin_curdir"
13964+	      $RM "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}"
13965+	    done # $darwin_arches
13966+            ## Okay now we've a bunch of thin objects, gotta fatten them up :)
13967+	    darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print | $SED -e "$basename" | sort -u`
13968+	    darwin_file=
13969+	    darwin_files=
13970+	    for darwin_file in $darwin_filelist; do
13971+	      darwin_files=`find unfat-$$ -name $darwin_file -print | $NL2SP`
13972+	      $LIPO -create -output "$darwin_file" $darwin_files
13973+	    done # $darwin_filelist
13974+	    $RM -rf unfat-$$
13975+	    cd "$darwin_orig_dir"
13976+	  else
13977+	    cd $darwin_orig_dir
13978+	    func_extract_an_archive "$my_xdir" "$my_xabs"
13979+	  fi # $darwin_arches
13980+	} # !$opt_dry_run
13981+	;;
13982+      *)
13983+        func_extract_an_archive "$my_xdir" "$my_xabs"
13984+	;;
13985+      esac
13986+      my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP`
13987+    done
13988+
13989+    func_extract_archives_result="$my_oldobjs"
13990+}
13991+
13992+
13993+
13994+# func_emit_wrapper_part1 [arg=no]
13995+#
13996+# Emit the first part of a libtool wrapper script on stdout.
13997+# For more information, see the description associated with
13998+# func_emit_wrapper(), below.
13999+func_emit_wrapper_part1 ()
14000+{
14001+	func_emit_wrapper_part1_arg1=no
14002+	if test -n "$1" ; then
14003+	  func_emit_wrapper_part1_arg1=$1
14004+	fi
14005+
14006+	$ECHO "\
14007+#! $SHELL
14008+
14009+# $output - temporary wrapper script for $objdir/$outputname
14010+# Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION
14011+#
14012+# The $output program cannot be directly executed until all the libtool
14013+# libraries that it depends on are installed.
14014+#
14015+# This wrapper script should never be moved out of the build directory.
14016+# If it is, it will not operate correctly.
14017+
14018+# Sed substitution that helps us do robust quoting.  It backslashifies
14019+# metacharacters that are still active within double-quoted strings.
14020+Xsed='${SED} -e 1s/^X//'
14021+sed_quote_subst='$sed_quote_subst'
14022+
14023+# Be Bourne compatible
14024+if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then
14025+  emulate sh
14026+  NULLCMD=:
14027+  # Zsh 3.x and 4.x performs word splitting on \${1+\"\$@\"}, which
14028+  # is contrary to our usage.  Disable this feature.
14029+  alias -g '\${1+\"\$@\"}'='\"\$@\"'
14030+  setopt NO_GLOB_SUBST
14031+else
14032+  case \`(set -o) 2>/dev/null\` in *posix*) set -o posix;; esac
14033+fi
14034+BIN_SH=xpg4; export BIN_SH # for Tru64
14035+DUALCASE=1; export DUALCASE # for MKS sh
14036+
14037+# The HP-UX ksh and POSIX shell print the target directory to stdout
14038+# if CDPATH is set.
14039+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14040+
14041+relink_command=\"$relink_command\"
14042+
14043+# This environment variable determines our operation mode.
14044+if test \"\$libtool_install_magic\" = \"$magic\"; then
14045+  # install mode needs the following variables:
14046+  generated_by_libtool_version='$macro_version'
14047+  notinst_deplibs='$notinst_deplibs'
14048+else
14049+  # When we are sourced in execute mode, \$file and \$ECHO are already set.
14050+  if test \"\$libtool_execute_magic\" != \"$magic\"; then
14051+    ECHO=\"$qecho\"
14052+    file=\"\$0\"
14053+    # Make sure echo works.
14054+    if test \"X\$1\" = X--no-reexec; then
14055+      # Discard the --no-reexec flag, and continue.
14056+      shift
14057+    elif test \"X\`{ \$ECHO '\t'; } 2>/dev/null\`\" = 'X\t'; then
14058+      # Yippee, \$ECHO works!
14059+      :
14060+    else
14061+      # Restart under the correct shell, and then maybe \$ECHO will work.
14062+      exec $SHELL \"\$0\" --no-reexec \${1+\"\$@\"}
14063+    fi
14064+  fi\
14065+"
14066+	$ECHO "\
14067+
14068+  # Find the directory that this script lives in.
14069+  thisdir=\`\$ECHO \"X\$file\" | \$Xsed -e 's%/[^/]*$%%'\`
14070+  test \"x\$thisdir\" = \"x\$file\" && thisdir=.
14071+
14072+  # Follow symbolic links until we get to the real thisdir.
14073+  file=\`ls -ld \"\$file\" | ${SED} -n 's/.*-> //p'\`
14074+  while test -n \"\$file\"; do
14075+    destdir=\`\$ECHO \"X\$file\" | \$Xsed -e 's%/[^/]*\$%%'\`
14076+
14077+    # If there was a directory component, then change thisdir.
14078+    if test \"x\$destdir\" != \"x\$file\"; then
14079+      case \"\$destdir\" in
14080+      [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;;
14081+      *) thisdir=\"\$thisdir/\$destdir\" ;;
14082+      esac
14083+    fi
14084+
14085+    file=\`\$ECHO \"X\$file\" | \$Xsed -e 's%^.*/%%'\`
14086+    file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\`
14087+  done
14088+"
14089+}
14090+# end: func_emit_wrapper_part1
14091+
14092+# func_emit_wrapper_part2 [arg=no]
14093+#
14094+# Emit the second part of a libtool wrapper script on stdout.
14095+# For more information, see the description associated with
14096+# func_emit_wrapper(), below.
14097+func_emit_wrapper_part2 ()
14098+{
14099+	func_emit_wrapper_part2_arg1=no
14100+	if test -n "$1" ; then
14101+	  func_emit_wrapper_part2_arg1=$1
14102+	fi
14103+
14104+	$ECHO "\
14105+
14106+  # Usually 'no', except on cygwin/mingw when embedded into
14107+  # the cwrapper.
14108+  WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_part2_arg1
14109+  if test \"\$WRAPPER_SCRIPT_BELONGS_IN_OBJDIR\" = \"yes\"; then
14110+    # special case for '.'
14111+    if test \"\$thisdir\" = \".\"; then
14112+      thisdir=\`pwd\`
14113+    fi
14114+    # remove .libs from thisdir
14115+    case \"\$thisdir\" in
14116+    *[\\\\/]$objdir ) thisdir=\`\$ECHO \"X\$thisdir\" | \$Xsed -e 's%[\\\\/][^\\\\/]*$%%'\` ;;
14117+    $objdir )   thisdir=. ;;
14118+    esac
14119+  fi
14120+
14121+  # Try to get the absolute directory name.
14122+  absdir=\`cd \"\$thisdir\" && pwd\`
14123+  test -n \"\$absdir\" && thisdir=\"\$absdir\"
14124+"
14125+
14126+	if test "$fast_install" = yes; then
14127+	  $ECHO "\
14128+  program=lt-'$outputname'$exeext
14129+  progdir=\"\$thisdir/$objdir\"
14130+
14131+  if test ! -f \"\$progdir/\$program\" ||
14132+     { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\
14133+       test \"X\$file\" != \"X\$progdir/\$program\"; }; then
14134+
14135+    file=\"\$\$-\$program\"
14136+
14137+    if test ! -d \"\$progdir\"; then
14138+      $MKDIR \"\$progdir\"
14139+    else
14140+      $RM \"\$progdir/\$file\"
14141+    fi"
14142+
14143+	  $ECHO "\
14144+
14145+    # relink executable if necessary
14146+    if test -n \"\$relink_command\"; then
14147+      if relink_command_output=\`eval \$relink_command 2>&1\`; then :
14148+      else
14149+	$ECHO \"\$relink_command_output\" >&2
14150+	$RM \"\$progdir/\$file\"
14151+	exit 1
14152+      fi
14153+    fi
14154+
14155+    $MV \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null ||
14156+    { $RM \"\$progdir/\$program\";
14157+      $MV \"\$progdir/\$file\" \"\$progdir/\$program\"; }
14158+    $RM \"\$progdir/\$file\"
14159+  fi"
14160+	else
14161+	  $ECHO "\
14162+  program='$outputname'
14163+  progdir=\"\$thisdir/$objdir\"
14164+"
14165+	fi
14166+
14167+	$ECHO "\
14168+
14169+  if test -f \"\$progdir/\$program\"; then"
14170+
14171+	# Export our shlibpath_var if we have one.
14172+	if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
14173+	  $ECHO "\
14174+    # Add our own library path to $shlibpath_var
14175+    $shlibpath_var=\"$temp_rpath\$$shlibpath_var\"
14176+
14177+    # Some systems cannot cope with colon-terminated $shlibpath_var
14178+    # The second colon is a workaround for a bug in BeOS R4 sed
14179+    $shlibpath_var=\`\$ECHO \"X\$$shlibpath_var\" | \$Xsed -e 's/::*\$//'\`
14180+
14181+    export $shlibpath_var
14182+"
14183+	fi
14184+
14185+	# fixup the dll searchpath if we need to.
14186+	if test -n "$dllsearchpath"; then
14187+	  $ECHO "\
14188+    # Add the dll search path components to the executable PATH
14189+    PATH=$dllsearchpath:\$PATH
14190+"
14191+	fi
14192+
14193+	$ECHO "\
14194+    if test \"\$libtool_execute_magic\" != \"$magic\"; then
14195+      # Run the actual program with our arguments.
14196+"
14197+	case $host in
14198+	# Backslashes separate directories on plain windows
14199+	*-*-mingw | *-*-os2* | *-cegcc*)
14200+	  $ECHO "\
14201+      exec \"\$progdir\\\\\$program\" \${1+\"\$@\"}
14202+"
14203+	  ;;
14204+
14205+	*)
14206+	  $ECHO "\
14207+      exec \"\$progdir/\$program\" \${1+\"\$@\"}
14208+"
14209+	  ;;
14210+	esac
14211+	$ECHO "\
14212+      \$ECHO \"\$0: cannot exec \$program \$*\" 1>&2
14213+      exit 1
14214+    fi
14215+  else
14216+    # The program doesn't exist.
14217+    \$ECHO \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2
14218+    \$ECHO \"This script is just a wrapper for \$program.\" 1>&2
14219+    $ECHO \"See the $PACKAGE documentation for more information.\" 1>&2
14220+    exit 1
14221+  fi
14222+fi\
14223+"
14224+}
14225+# end: func_emit_wrapper_part2
14226+
14227+
14228+# func_emit_wrapper [arg=no]
14229+#
14230+# Emit a libtool wrapper script on stdout.
14231+# Don't directly open a file because we may want to
14232+# incorporate the script contents within a cygwin/mingw
14233+# wrapper executable.  Must ONLY be called from within
14234+# func_mode_link because it depends on a number of variables
14235+# set therein.
14236+#
14237+# ARG is the value that the WRAPPER_SCRIPT_BELONGS_IN_OBJDIR
14238+# variable will take.  If 'yes', then the emitted script
14239+# will assume that the directory in which it is stored is
14240+# the $objdir directory.  This is a cygwin/mingw-specific
14241+# behavior.
14242+func_emit_wrapper ()
14243+{
14244+	func_emit_wrapper_arg1=no
14245+	if test -n "$1" ; then
14246+	  func_emit_wrapper_arg1=$1
14247+	fi
14248+
14249+	# split this up so that func_emit_cwrapperexe_src
14250+	# can call each part independently.
14251+	func_emit_wrapper_part1 "${func_emit_wrapper_arg1}"
14252+	func_emit_wrapper_part2 "${func_emit_wrapper_arg1}"
14253+}
14254+
14255+
14256+# func_to_host_path arg
14257+#
14258+# Convert paths to host format when used with build tools.
14259+# Intended for use with "native" mingw (where libtool itself
14260+# is running under the msys shell), or in the following cross-
14261+# build environments:
14262+#    $build          $host
14263+#    mingw (msys)    mingw  [e.g. native]
14264+#    cygwin          mingw
14265+#    *nix + wine     mingw
14266+# where wine is equipped with the `winepath' executable.
14267+# In the native mingw case, the (msys) shell automatically
14268+# converts paths for any non-msys applications it launches,
14269+# but that facility isn't available from inside the cwrapper.
14270+# Similar accommodations are necessary for $host mingw and
14271+# $build cygwin.  Calling this function does no harm for other
14272+# $host/$build combinations not listed above.
14273+#
14274+# ARG is the path (on $build) that should be converted to
14275+# the proper representation for $host. The result is stored
14276+# in $func_to_host_path_result.
14277+func_to_host_path ()
14278+{
14279+  func_to_host_path_result="$1"
14280+  if test -n "$1" ; then
14281+    case $host in
14282+      *mingw* )
14283+        lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g'
14284+        case $build in
14285+          *mingw* ) # actually, msys
14286+            # awkward: cmd appends spaces to result
14287+            lt_sed_strip_trailing_spaces="s/[ ]*\$//"
14288+            func_to_host_path_tmp1=`( cmd //c echo "$1" |\
14289+              $SED -e "$lt_sed_strip_trailing_spaces" ) 2>/dev/null || echo ""`
14290+            func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\
14291+              $SED -e "$lt_sed_naive_backslashify"`
14292+            ;;
14293+          *cygwin* )
14294+            func_to_host_path_tmp1=`cygpath -w "$1"`
14295+            func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\
14296+              $SED -e "$lt_sed_naive_backslashify"`
14297+            ;;
14298+          * )
14299+            # Unfortunately, winepath does not exit with a non-zero
14300+            # error code, so we are forced to check the contents of
14301+            # stdout. On the other hand, if the command is not
14302+            # found, the shell will set an exit code of 127 and print
14303+            # *an error message* to stdout. So we must check for both
14304+            # error code of zero AND non-empty stdout, which explains
14305+            # the odd construction:
14306+            func_to_host_path_tmp1=`winepath -w "$1" 2>/dev/null`
14307+            if test "$?" -eq 0 && test -n "${func_to_host_path_tmp1}"; then
14308+              func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\
14309+                $SED -e "$lt_sed_naive_backslashify"`
14310+            else
14311+              # Allow warning below.
14312+              func_to_host_path_result=""
14313+            fi
14314+            ;;
14315+        esac
14316+        if test -z "$func_to_host_path_result" ; then
14317+          func_error "Could not determine host path corresponding to"
14318+          func_error "  '$1'"
14319+          func_error "Continuing, but uninstalled executables may not work."
14320+          # Fallback:
14321+          func_to_host_path_result="$1"
14322+        fi
14323+        ;;
14324+    esac
14325+  fi
14326+}
14327+# end: func_to_host_path
14328+
14329+# func_to_host_pathlist arg
14330+#
14331+# Convert pathlists to host format when used with build tools.
14332+# See func_to_host_path(), above. This function supports the
14333+# following $build/$host combinations (but does no harm for
14334+# combinations not listed here):
14335+#    $build          $host
14336+#    mingw (msys)    mingw  [e.g. native]
14337+#    cygwin          mingw
14338+#    *nix + wine     mingw
14339+#
14340+# Path separators are also converted from $build format to
14341+# $host format. If ARG begins or ends with a path separator
14342+# character, it is preserved (but converted to $host format)
14343+# on output.
14344+#
14345+# ARG is a pathlist (on $build) that should be converted to
14346+# the proper representation on $host. The result is stored
14347+# in $func_to_host_pathlist_result.
14348+func_to_host_pathlist ()
14349+{
14350+  func_to_host_pathlist_result="$1"
14351+  if test -n "$1" ; then
14352+    case $host in
14353+      *mingw* )
14354+        lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g'
14355+        # Remove leading and trailing path separator characters from
14356+        # ARG. msys behavior is inconsistent here, cygpath turns them
14357+        # into '.;' and ';.', and winepath ignores them completely.
14358+        func_to_host_pathlist_tmp2="$1"
14359+        # Once set for this call, this variable should not be
14360+        # reassigned. It is used in tha fallback case.
14361+        func_to_host_pathlist_tmp1=`echo "$func_to_host_pathlist_tmp2" |\
14362+          $SED -e 's|^:*||' -e 's|:*$||'`
14363+        case $build in
14364+          *mingw* ) # Actually, msys.
14365+            # Awkward: cmd appends spaces to result.
14366+            lt_sed_strip_trailing_spaces="s/[ ]*\$//"
14367+            func_to_host_pathlist_tmp2=`( cmd //c echo "$func_to_host_pathlist_tmp1" |\
14368+              $SED -e "$lt_sed_strip_trailing_spaces" ) 2>/dev/null || echo ""`
14369+            func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp2" |\
14370+              $SED -e "$lt_sed_naive_backslashify"`
14371+            ;;
14372+          *cygwin* )
14373+            func_to_host_pathlist_tmp2=`cygpath -w -p "$func_to_host_pathlist_tmp1"`
14374+            func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp2" |\
14375+              $SED -e "$lt_sed_naive_backslashify"`
14376+            ;;
14377+          * )
14378+            # unfortunately, winepath doesn't convert pathlists
14379+            func_to_host_pathlist_result=""
14380+            func_to_host_pathlist_oldIFS=$IFS
14381+            IFS=:
14382+            for func_to_host_pathlist_f in $func_to_host_pathlist_tmp1 ; do
14383+              IFS=$func_to_host_pathlist_oldIFS
14384+              if test -n "$func_to_host_pathlist_f" ; then
14385+                func_to_host_path "$func_to_host_pathlist_f"
14386+                if test -n "$func_to_host_path_result" ; then
14387+                  if test -z "$func_to_host_pathlist_result" ; then
14388+                    func_to_host_pathlist_result="$func_to_host_path_result"
14389+                  else
14390+                    func_to_host_pathlist_result="$func_to_host_pathlist_result;$func_to_host_path_result"
14391+                  fi
14392+                fi
14393+              fi
14394+              IFS=:
14395+            done
14396+            IFS=$func_to_host_pathlist_oldIFS
14397+            ;;
14398+        esac
14399+        if test -z "$func_to_host_pathlist_result" ; then
14400+          func_error "Could not determine the host path(s) corresponding to"
14401+          func_error "  '$1'"
14402+          func_error "Continuing, but uninstalled executables may not work."
14403+          # Fallback. This may break if $1 contains DOS-style drive
14404+          # specifications. The fix is not to complicate the expression
14405+          # below, but for the user to provide a working wine installation
14406+          # with winepath so that path translation in the cross-to-mingw
14407+          # case works properly.
14408+          lt_replace_pathsep_nix_to_dos="s|:|;|g"
14409+          func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp1" |\
14410+            $SED -e "$lt_replace_pathsep_nix_to_dos"`
14411+        fi
14412+        # Now, add the leading and trailing path separators back
14413+        case "$1" in
14414+          :* ) func_to_host_pathlist_result=";$func_to_host_pathlist_result"
14415+            ;;
14416+        esac
14417+        case "$1" in
14418+          *: ) func_to_host_pathlist_result="$func_to_host_pathlist_result;"
14419+            ;;
14420+        esac
14421+        ;;
14422+    esac
14423+  fi
14424+}
14425+# end: func_to_host_pathlist
14426+
14427+# func_emit_cwrapperexe_src
14428+# emit the source code for a wrapper executable on stdout
14429+# Must ONLY be called from within func_mode_link because
14430+# it depends on a number of variable set therein.
14431+func_emit_cwrapperexe_src ()
14432+{
14433+	cat <<EOF
14434+
14435+/* $cwrappersource - temporary wrapper executable for $objdir/$outputname
14436+   Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION
14437+
14438+   The $output program cannot be directly executed until all the libtool
14439+   libraries that it depends on are installed.
14440+
14441+   This wrapper executable should never be moved out of the build directory.
14442+   If it is, it will not operate correctly.
14443+
14444+   Currently, it simply execs the wrapper *script* "$SHELL $output",
14445+   but could eventually absorb all of the scripts functionality and
14446+   exec $objdir/$outputname directly.
14447+*/
14448+EOF
14449+	    cat <<"EOF"
14450+#include <stdio.h>
14451+#include <stdlib.h>
14452+#ifdef _MSC_VER
14453+# include <direct.h>
14454+# include <process.h>
14455+# include <io.h>
14456+# define setmode _setmode
14457+#else
14458+# include <unistd.h>
14459+# include <stdint.h>
14460+# ifdef __CYGWIN__
14461+#  include <io.h>
14462+#  define HAVE_SETENV
14463+#  ifdef __STRICT_ANSI__
14464+char *realpath (const char *, char *);
14465+int putenv (char *);
14466+int setenv (const char *, const char *, int);
14467+#  endif
14468+# endif
14469+#endif
14470+#include <malloc.h>
14471+#include <stdarg.h>
14472+#include <assert.h>
14473+#include <string.h>
14474+#include <ctype.h>
14475+#include <errno.h>
14476+#include <fcntl.h>
14477+#include <sys/stat.h>
14478+
14479+#if defined(PATH_MAX)
14480+# define LT_PATHMAX PATH_MAX
14481+#elif defined(MAXPATHLEN)
14482+# define LT_PATHMAX MAXPATHLEN
14483+#else
14484+# define LT_PATHMAX 1024
14485+#endif
14486+
14487+#ifndef S_IXOTH
14488+# define S_IXOTH 0
14489+#endif
14490+#ifndef S_IXGRP
14491+# define S_IXGRP 0
14492+#endif
14493+
14494+#ifdef _MSC_VER
14495+# define S_IXUSR _S_IEXEC
14496+# define stat _stat
14497+# ifndef _INTPTR_T_DEFINED
14498+#  define intptr_t int
14499+# endif
14500+#endif
14501+
14502+#ifndef DIR_SEPARATOR
14503+# define DIR_SEPARATOR '/'
14504+# define PATH_SEPARATOR ':'
14505+#endif
14506+
14507+#if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \
14508+  defined (__OS2__)
14509+# define HAVE_DOS_BASED_FILE_SYSTEM
14510+# define FOPEN_WB "wb"
14511+# ifndef DIR_SEPARATOR_2
14512+#  define DIR_SEPARATOR_2 '\\'
14513+# endif
14514+# ifndef PATH_SEPARATOR_2
14515+#  define PATH_SEPARATOR_2 ';'
14516+# endif
14517+#endif
14518+
14519+#ifndef DIR_SEPARATOR_2
14520+# define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR)
14521+#else /* DIR_SEPARATOR_2 */
14522+# define IS_DIR_SEPARATOR(ch) \
14523+	(((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2))
14524+#endif /* DIR_SEPARATOR_2 */
14525+
14526+#ifndef PATH_SEPARATOR_2
14527+# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR)
14528+#else /* PATH_SEPARATOR_2 */
14529+# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2)
14530+#endif /* PATH_SEPARATOR_2 */
14531+
14532+#ifdef __CYGWIN__
14533+# define FOPEN_WB "wb"
14534+#endif
14535+
14536+#ifndef FOPEN_WB
14537+# define FOPEN_WB "w"
14538+#endif
14539+#ifndef _O_BINARY
14540+# define _O_BINARY 0
14541+#endif
14542+
14543+#define XMALLOC(type, num)      ((type *) xmalloc ((num) * sizeof(type)))
14544+#define XFREE(stale) do { \
14545+  if (stale) { free ((void *) stale); stale = 0; } \
14546+} while (0)
14547+
14548+#undef LTWRAPPER_DEBUGPRINTF
14549+#if defined DEBUGWRAPPER
14550+# define LTWRAPPER_DEBUGPRINTF(args) ltwrapper_debugprintf args
14551+static void
14552+ltwrapper_debugprintf (const char *fmt, ...)
14553+{
14554+    va_list args;
14555+    va_start (args, fmt);
14556+    (void) vfprintf (stderr, fmt, args);
14557+    va_end (args);
14558+}
14559+#else
14560+# define LTWRAPPER_DEBUGPRINTF(args)
14561+#endif
14562+
14563+const char *program_name = NULL;
14564+
14565+void *xmalloc (size_t num);
14566+char *xstrdup (const char *string);
14567+const char *base_name (const char *name);
14568+char *find_executable (const char *wrapper);
14569+char *chase_symlinks (const char *pathspec);
14570+int make_executable (const char *path);
14571+int check_executable (const char *path);
14572+char *strendzap (char *str, const char *pat);
14573+void lt_fatal (const char *message, ...);
14574+void lt_setenv (const char *name, const char *value);
14575+char *lt_extend_str (const char *orig_value, const char *add, int to_end);
14576+void lt_opt_process_env_set (const char *arg);
14577+void lt_opt_process_env_prepend (const char *arg);
14578+void lt_opt_process_env_append (const char *arg);
14579+int lt_split_name_value (const char *arg, char** name, char** value);
14580+void lt_update_exe_path (const char *name, const char *value);
14581+void lt_update_lib_path (const char *name, const char *value);
14582+
14583+static const char *script_text_part1 =
14584+EOF
14585+
14586+	    func_emit_wrapper_part1 yes |
14587+	        $SED -e 's/\([\\"]\)/\\\1/g' \
14588+	             -e 's/^/  "/' -e 's/$/\\n"/'
14589+	    echo ";"
14590+	    cat <<EOF
14591+
14592+static const char *script_text_part2 =
14593+EOF
14594+	    func_emit_wrapper_part2 yes |
14595+	        $SED -e 's/\([\\"]\)/\\\1/g' \
14596+	             -e 's/^/  "/' -e 's/$/\\n"/'
14597+	    echo ";"
14598+
14599+	    cat <<EOF
14600+const char * MAGIC_EXE = "$magic_exe";
14601+const char * LIB_PATH_VARNAME = "$shlibpath_var";
14602+EOF
14603+
14604+	    if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
14605+              func_to_host_pathlist "$temp_rpath"
14606+	      cat <<EOF
14607+const char * LIB_PATH_VALUE   = "$func_to_host_pathlist_result";
14608+EOF
14609+	    else
14610+	      cat <<"EOF"
14611+const char * LIB_PATH_VALUE   = "";
14612+EOF
14613+	    fi
14614+
14615+	    if test -n "$dllsearchpath"; then
14616+              func_to_host_pathlist "$dllsearchpath:"
14617+	      cat <<EOF
14618+const char * EXE_PATH_VARNAME = "PATH";
14619+const char * EXE_PATH_VALUE   = "$func_to_host_pathlist_result";
14620+EOF
14621+	    else
14622+	      cat <<"EOF"
14623+const char * EXE_PATH_VARNAME = "";
14624+const char * EXE_PATH_VALUE   = "";
14625+EOF
14626+	    fi
14627+
14628+	    if test "$fast_install" = yes; then
14629+	      cat <<EOF
14630+const char * TARGET_PROGRAM_NAME = "lt-$outputname"; /* hopefully, no .exe */
14631+EOF
14632+	    else
14633+	      cat <<EOF
14634+const char * TARGET_PROGRAM_NAME = "$outputname"; /* hopefully, no .exe */
14635+EOF
14636+	    fi
14637+
14638+
14639+	    cat <<"EOF"
14640+
14641+#define LTWRAPPER_OPTION_PREFIX         "--lt-"
14642+#define LTWRAPPER_OPTION_PREFIX_LENGTH  5
14643+
14644+static const size_t opt_prefix_len         = LTWRAPPER_OPTION_PREFIX_LENGTH;
14645+static const char *ltwrapper_option_prefix = LTWRAPPER_OPTION_PREFIX;
14646+
14647+static const char *dumpscript_opt       = LTWRAPPER_OPTION_PREFIX "dump-script";
14648+
14649+static const size_t env_set_opt_len     = LTWRAPPER_OPTION_PREFIX_LENGTH + 7;
14650+static const char *env_set_opt          = LTWRAPPER_OPTION_PREFIX "env-set";
14651+  /* argument is putenv-style "foo=bar", value of foo is set to bar */
14652+
14653+static const size_t env_prepend_opt_len = LTWRAPPER_OPTION_PREFIX_LENGTH + 11;
14654+static const char *env_prepend_opt      = LTWRAPPER_OPTION_PREFIX "env-prepend";
14655+  /* argument is putenv-style "foo=bar", new value of foo is bar${foo} */
14656+
14657+static const size_t env_append_opt_len  = LTWRAPPER_OPTION_PREFIX_LENGTH + 10;
14658+static const char *env_append_opt       = LTWRAPPER_OPTION_PREFIX "env-append";
14659+  /* argument is putenv-style "foo=bar", new value of foo is ${foo}bar */
14660+
14661+int
14662+main (int argc, char *argv[])
14663+{
14664+  char **newargz;
14665+  int  newargc;
14666+  char *tmp_pathspec;
14667+  char *actual_cwrapper_path;
14668+  char *actual_cwrapper_name;
14669+  char *target_name;
14670+  char *lt_argv_zero;
14671+  intptr_t rval = 127;
14672+
14673+  int i;
14674+
14675+  program_name = (char *) xstrdup (base_name (argv[0]));
14676+  LTWRAPPER_DEBUGPRINTF (("(main) argv[0]      : %s\n", argv[0]));
14677+  LTWRAPPER_DEBUGPRINTF (("(main) program_name : %s\n", program_name));
14678+
14679+  /* very simple arg parsing; don't want to rely on getopt */
14680+  for (i = 1; i < argc; i++)
14681+    {
14682+      if (strcmp (argv[i], dumpscript_opt) == 0)
14683+	{
14684+EOF
14685+	    case "$host" in
14686+	      *mingw* | *cygwin* )
14687+		# make stdout use "unix" line endings
14688+		echo "          setmode(1,_O_BINARY);"
14689+		;;
14690+	      esac
14691+
14692+	    cat <<"EOF"
14693+	  printf ("%s", script_text_part1);
14694+	  printf ("%s", script_text_part2);
14695+	  return 0;
14696+	}
14697+    }
14698+
14699+  newargz = XMALLOC (char *, argc + 1);
14700+  tmp_pathspec = find_executable (argv[0]);
14701+  if (tmp_pathspec == NULL)
14702+    lt_fatal ("Couldn't find %s", argv[0]);
14703+  LTWRAPPER_DEBUGPRINTF (("(main) found exe (before symlink chase) at : %s\n",
14704+			  tmp_pathspec));
14705+
14706+  actual_cwrapper_path = chase_symlinks (tmp_pathspec);
14707+  LTWRAPPER_DEBUGPRINTF (("(main) found exe (after symlink chase) at : %s\n",
14708+			  actual_cwrapper_path));
14709+  XFREE (tmp_pathspec);
14710+
14711+  actual_cwrapper_name = xstrdup( base_name (actual_cwrapper_path));
14712+  strendzap (actual_cwrapper_path, actual_cwrapper_name);
14713+
14714+  /* wrapper name transforms */
14715+  strendzap (actual_cwrapper_name, ".exe");
14716+  tmp_pathspec = lt_extend_str (actual_cwrapper_name, ".exe", 1);
14717+  XFREE (actual_cwrapper_name);
14718+  actual_cwrapper_name = tmp_pathspec;
14719+  tmp_pathspec = 0;
14720+
14721+  /* target_name transforms -- use actual target program name; might have lt- prefix */
14722+  target_name = xstrdup (base_name (TARGET_PROGRAM_NAME));
14723+  strendzap (target_name, ".exe");
14724+  tmp_pathspec = lt_extend_str (target_name, ".exe", 1);
14725+  XFREE (target_name);
14726+  target_name = tmp_pathspec;
14727+  tmp_pathspec = 0;
14728+
14729+  LTWRAPPER_DEBUGPRINTF (("(main) libtool target name: %s\n",
14730+			  target_name));
14731+EOF
14732+
14733+	    cat <<EOF
14734+  newargz[0] =
14735+    XMALLOC (char, (strlen (actual_cwrapper_path) +
14736+		    strlen ("$objdir") + 1 + strlen (actual_cwrapper_name) + 1));
14737+  strcpy (newargz[0], actual_cwrapper_path);
14738+  strcat (newargz[0], "$objdir");
14739+  strcat (newargz[0], "/");
14740+EOF
14741+
14742+	    cat <<"EOF"
14743+  /* stop here, and copy so we don't have to do this twice */
14744+  tmp_pathspec = xstrdup (newargz[0]);
14745+
14746+  /* do NOT want the lt- prefix here, so use actual_cwrapper_name */
14747+  strcat (newargz[0], actual_cwrapper_name);
14748+
14749+  /* DO want the lt- prefix here if it exists, so use target_name */
14750+  lt_argv_zero = lt_extend_str (tmp_pathspec, target_name, 1);
14751+  XFREE (tmp_pathspec);
14752+  tmp_pathspec = NULL;
14753+EOF
14754+
14755+	    case $host_os in
14756+	      mingw*)
14757+	    cat <<"EOF"
14758+  {
14759+    char* p;
14760+    while ((p = strchr (newargz[0], '\\')) != NULL)
14761+      {
14762+	*p = '/';
14763+      }
14764+    while ((p = strchr (lt_argv_zero, '\\')) != NULL)
14765+      {
14766+	*p = '/';
14767+      }
14768+  }
14769+EOF
14770+	    ;;
14771+	    esac
14772+
14773+	    cat <<"EOF"
14774+  XFREE (target_name);
14775+  XFREE (actual_cwrapper_path);
14776+  XFREE (actual_cwrapper_name);
14777+
14778+  lt_setenv ("BIN_SH", "xpg4"); /* for Tru64 */
14779+  lt_setenv ("DUALCASE", "1");  /* for MSK sh */
14780+  lt_update_lib_path (LIB_PATH_VARNAME, LIB_PATH_VALUE);
14781+  lt_update_exe_path (EXE_PATH_VARNAME, EXE_PATH_VALUE);
14782+
14783+  newargc=0;
14784+  for (i = 1; i < argc; i++)
14785+    {
14786+      if (strncmp (argv[i], env_set_opt, env_set_opt_len) == 0)
14787+        {
14788+          if (argv[i][env_set_opt_len] == '=')
14789+            {
14790+              const char *p = argv[i] + env_set_opt_len + 1;
14791+              lt_opt_process_env_set (p);
14792+            }
14793+          else if (argv[i][env_set_opt_len] == '\0' && i + 1 < argc)
14794+            {
14795+              lt_opt_process_env_set (argv[++i]); /* don't copy */
14796+            }
14797+          else
14798+            lt_fatal ("%s missing required argument", env_set_opt);
14799+          continue;
14800+        }
14801+      if (strncmp (argv[i], env_prepend_opt, env_prepend_opt_len) == 0)
14802+        {
14803+          if (argv[i][env_prepend_opt_len] == '=')
14804+            {
14805+              const char *p = argv[i] + env_prepend_opt_len + 1;
14806+              lt_opt_process_env_prepend (p);
14807+            }
14808+          else if (argv[i][env_prepend_opt_len] == '\0' && i + 1 < argc)
14809+            {
14810+              lt_opt_process_env_prepend (argv[++i]); /* don't copy */
14811+            }
14812+          else
14813+            lt_fatal ("%s missing required argument", env_prepend_opt);
14814+          continue;
14815+        }
14816+      if (strncmp (argv[i], env_append_opt, env_append_opt_len) == 0)
14817+        {
14818+          if (argv[i][env_append_opt_len] == '=')
14819+            {
14820+              const char *p = argv[i] + env_append_opt_len + 1;
14821+              lt_opt_process_env_append (p);
14822+            }
14823+          else if (argv[i][env_append_opt_len] == '\0' && i + 1 < argc)
14824+            {
14825+              lt_opt_process_env_append (argv[++i]); /* don't copy */
14826+            }
14827+          else
14828+            lt_fatal ("%s missing required argument", env_append_opt);
14829+          continue;
14830+        }
14831+      if (strncmp (argv[i], ltwrapper_option_prefix, opt_prefix_len) == 0)
14832+        {
14833+          /* however, if there is an option in the LTWRAPPER_OPTION_PREFIX
14834+             namespace, but it is not one of the ones we know about and
14835+             have already dealt with, above (inluding dump-script), then
14836+             report an error. Otherwise, targets might begin to believe
14837+             they are allowed to use options in the LTWRAPPER_OPTION_PREFIX
14838+             namespace. The first time any user complains about this, we'll
14839+             need to make LTWRAPPER_OPTION_PREFIX a configure-time option
14840+             or a configure.ac-settable value.
14841+           */
14842+          lt_fatal ("Unrecognized option in %s namespace: '%s'",
14843+                    ltwrapper_option_prefix, argv[i]);
14844+        }
14845+      /* otherwise ... */
14846+      newargz[++newargc] = xstrdup (argv[i]);
14847+    }
14848+  newargz[++newargc] = NULL;
14849+
14850+  LTWRAPPER_DEBUGPRINTF     (("(main) lt_argv_zero : %s\n", (lt_argv_zero ? lt_argv_zero : "<NULL>")));
14851+  for (i = 0; i < newargc; i++)
14852+    {
14853+      LTWRAPPER_DEBUGPRINTF (("(main) newargz[%d]   : %s\n", i, (newargz[i] ? newargz[i] : "<NULL>")));
14854+    }
14855+
14856+EOF
14857+
14858+	    case $host_os in
14859+	      mingw*)
14860+		cat <<"EOF"
14861+  /* execv doesn't actually work on mingw as expected on unix */
14862+  rval = _spawnv (_P_WAIT, lt_argv_zero, (const char * const *) newargz);
14863+  if (rval == -1)
14864+    {
14865+      /* failed to start process */
14866+      LTWRAPPER_DEBUGPRINTF (("(main) failed to launch target \"%s\": errno = %d\n", lt_argv_zero, errno));
14867+      return 127;
14868+    }
14869+  return rval;
14870+EOF
14871+		;;
14872+	      *)
14873+		cat <<"EOF"
14874+  execv (lt_argv_zero, newargz);
14875+  return rval; /* =127, but avoids unused variable warning */
14876+EOF
14877+		;;
14878+	    esac
14879+
14880+	    cat <<"EOF"
14881+}
14882+
14883+void *
14884+xmalloc (size_t num)
14885+{
14886+  void *p = (void *) malloc (num);
14887+  if (!p)
14888+    lt_fatal ("Memory exhausted");
14889+
14890+  return p;
14891+}
14892+
14893+char *
14894+xstrdup (const char *string)
14895+{
14896+  return string ? strcpy ((char *) xmalloc (strlen (string) + 1),
14897+			  string) : NULL;
14898+}
14899+
14900+const char *
14901+base_name (const char *name)
14902+{
14903+  const char *base;
14904+
14905+#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
14906+  /* Skip over the disk name in MSDOS pathnames. */
14907+  if (isalpha ((unsigned char) name[0]) && name[1] == ':')
14908+    name += 2;
14909+#endif
14910+
14911+  for (base = name; *name; name++)
14912+    if (IS_DIR_SEPARATOR (*name))
14913+      base = name + 1;
14914+  return base;
14915+}
14916+
14917+int
14918+check_executable (const char *path)
14919+{
14920+  struct stat st;
14921+
14922+  LTWRAPPER_DEBUGPRINTF (("(check_executable)  : %s\n",
14923+			  path ? (*path ? path : "EMPTY!") : "NULL!"));
14924+  if ((!path) || (!*path))
14925+    return 0;
14926+
14927+  if ((stat (path, &st) >= 0)
14928+      && (st.st_mode & (S_IXUSR | S_IXGRP | S_IXOTH)))
14929+    return 1;
14930+  else
14931+    return 0;
14932+}
14933+
14934+int
14935+make_executable (const char *path)
14936+{
14937+  int rval = 0;
14938+  struct stat st;
14939+
14940+  LTWRAPPER_DEBUGPRINTF (("(make_executable)   : %s\n",
14941+			  path ? (*path ? path : "EMPTY!") : "NULL!"));
14942+  if ((!path) || (!*path))
14943+    return 0;
14944+
14945+  if (stat (path, &st) >= 0)
14946+    {
14947+      rval = chmod (path, st.st_mode | S_IXOTH | S_IXGRP | S_IXUSR);
14948+    }
14949+  return rval;
14950+}
14951+
14952+/* Searches for the full path of the wrapper.  Returns
14953+   newly allocated full path name if found, NULL otherwise
14954+   Does not chase symlinks, even on platforms that support them.
14955+*/
14956+char *
14957+find_executable (const char *wrapper)
14958+{
14959+  int has_slash = 0;
14960+  const char *p;
14961+  const char *p_next;
14962+  /* static buffer for getcwd */
14963+  char tmp[LT_PATHMAX + 1];
14964+  int tmp_len;
14965+  char *concat_name;
14966+
14967+  LTWRAPPER_DEBUGPRINTF (("(find_executable)   : %s\n",
14968+			  wrapper ? (*wrapper ? wrapper : "EMPTY!") : "NULL!"));
14969+
14970+  if ((wrapper == NULL) || (*wrapper == '\0'))
14971+    return NULL;
14972+
14973+  /* Absolute path? */
14974+#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
14975+  if (isalpha ((unsigned char) wrapper[0]) && wrapper[1] == ':')
14976+    {
14977+      concat_name = xstrdup (wrapper);
14978+      if (check_executable (concat_name))
14979+	return concat_name;
14980+      XFREE (concat_name);
14981+    }
14982+  else
14983+    {
14984+#endif
14985+      if (IS_DIR_SEPARATOR (wrapper[0]))
14986+	{
14987+	  concat_name = xstrdup (wrapper);
14988+	  if (check_executable (concat_name))
14989+	    return concat_name;
14990+	  XFREE (concat_name);
14991+	}
14992+#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
14993+    }
14994+#endif
14995+
14996+  for (p = wrapper; *p; p++)
14997+    if (*p == '/')
14998+      {
14999+	has_slash = 1;
15000+	break;
15001+      }
15002+  if (!has_slash)
15003+    {
15004+      /* no slashes; search PATH */
15005+      const char *path = getenv ("PATH");
15006+      if (path != NULL)
15007+	{
15008+	  for (p = path; *p; p = p_next)
15009+	    {
15010+	      const char *q;
15011+	      size_t p_len;
15012+	      for (q = p; *q; q++)
15013+		if (IS_PATH_SEPARATOR (*q))
15014+		  break;
15015+	      p_len = q - p;
15016+	      p_next = (*q == '\0' ? q : q + 1);
15017+	      if (p_len == 0)
15018+		{
15019+		  /* empty path: current directory */
15020+		  if (getcwd (tmp, LT_PATHMAX) == NULL)
15021+		    lt_fatal ("getcwd failed");
15022+		  tmp_len = strlen (tmp);
15023+		  concat_name =
15024+		    XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
15025+		  memcpy (concat_name, tmp, tmp_len);
15026+		  concat_name[tmp_len] = '/';
15027+		  strcpy (concat_name + tmp_len + 1, wrapper);
15028+		}
15029+	      else
15030+		{
15031+		  concat_name =
15032+		    XMALLOC (char, p_len + 1 + strlen (wrapper) + 1);
15033+		  memcpy (concat_name, p, p_len);
15034+		  concat_name[p_len] = '/';
15035+		  strcpy (concat_name + p_len + 1, wrapper);
15036+		}
15037+	      if (check_executable (concat_name))
15038+		return concat_name;
15039+	      XFREE (concat_name);
15040+	    }
15041+	}
15042+      /* not found in PATH; assume curdir */
15043+    }
15044+  /* Relative path | not found in path: prepend cwd */
15045+  if (getcwd (tmp, LT_PATHMAX) == NULL)
15046+    lt_fatal ("getcwd failed");
15047+  tmp_len = strlen (tmp);
15048+  concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
15049+  memcpy (concat_name, tmp, tmp_len);
15050+  concat_name[tmp_len] = '/';
15051+  strcpy (concat_name + tmp_len + 1, wrapper);
15052+
15053+  if (check_executable (concat_name))
15054+    return concat_name;
15055+  XFREE (concat_name);
15056+  return NULL;
15057+}
15058+
15059+char *
15060+chase_symlinks (const char *pathspec)
15061+{
15062+#ifndef S_ISLNK
15063+  return xstrdup (pathspec);
15064+#else
15065+  char buf[LT_PATHMAX];
15066+  struct stat s;
15067+  char *tmp_pathspec = xstrdup (pathspec);
15068+  char *p;
15069+  int has_symlinks = 0;
15070+  while (strlen (tmp_pathspec) && !has_symlinks)
15071+    {
15072+      LTWRAPPER_DEBUGPRINTF (("checking path component for symlinks: %s\n",
15073+			      tmp_pathspec));
15074+      if (lstat (tmp_pathspec, &s) == 0)
15075+	{
15076+	  if (S_ISLNK (s.st_mode) != 0)
15077+	    {
15078+	      has_symlinks = 1;
15079+	      break;
15080+	    }
15081+
15082+	  /* search backwards for last DIR_SEPARATOR */
15083+	  p = tmp_pathspec + strlen (tmp_pathspec) - 1;
15084+	  while ((p > tmp_pathspec) && (!IS_DIR_SEPARATOR (*p)))
15085+	    p--;
15086+	  if ((p == tmp_pathspec) && (!IS_DIR_SEPARATOR (*p)))
15087+	    {
15088+	      /* no more DIR_SEPARATORS left */
15089+	      break;
15090+	    }
15091+	  *p = '\0';
15092+	}
15093+      else
15094+	{
15095+	  char *errstr = strerror (errno);
15096+	  lt_fatal ("Error accessing file %s (%s)", tmp_pathspec, errstr);
15097+	}
15098+    }
15099+  XFREE (tmp_pathspec);
15100+
15101+  if (!has_symlinks)
15102+    {
15103+      return xstrdup (pathspec);
15104+    }
15105+
15106+  tmp_pathspec = realpath (pathspec, buf);
15107+  if (tmp_pathspec == 0)
15108+    {
15109+      lt_fatal ("Could not follow symlinks for %s", pathspec);
15110+    }
15111+  return xstrdup (tmp_pathspec);
15112+#endif
15113+}
15114+
15115+char *
15116+strendzap (char *str, const char *pat)
15117+{
15118+  size_t len, patlen;
15119+
15120+  assert (str != NULL);
15121+  assert (pat != NULL);
15122+
15123+  len = strlen (str);
15124+  patlen = strlen (pat);
15125+
15126+  if (patlen <= len)
15127+    {
15128+      str += len - patlen;
15129+      if (strcmp (str, pat) == 0)
15130+	*str = '\0';
15131+    }
15132+  return str;
15133+}
15134+
15135+static void
15136+lt_error_core (int exit_status, const char *mode,
15137+	       const char *message, va_list ap)
15138+{
15139+  fprintf (stderr, "%s: %s: ", program_name, mode);
15140+  vfprintf (stderr, message, ap);
15141+  fprintf (stderr, ".\n");
15142+
15143+  if (exit_status >= 0)
15144+    exit (exit_status);
15145+}
15146+
15147+void
15148+lt_fatal (const char *message, ...)
15149+{
15150+  va_list ap;
15151+  va_start (ap, message);
15152+  lt_error_core (EXIT_FAILURE, "FATAL", message, ap);
15153+  va_end (ap);
15154+}
15155+
15156+void
15157+lt_setenv (const char *name, const char *value)
15158+{
15159+  LTWRAPPER_DEBUGPRINTF (("(lt_setenv) setting '%s' to '%s'\n",
15160+                          (name ? name : "<NULL>"),
15161+                          (value ? value : "<NULL>")));
15162+  {
15163+#ifdef HAVE_SETENV
15164+    /* always make a copy, for consistency with !HAVE_SETENV */
15165+    char *str = xstrdup (value);
15166+    setenv (name, str, 1);
15167+#else
15168+    int len = strlen (name) + 1 + strlen (value) + 1;
15169+    char *str = XMALLOC (char, len);
15170+    sprintf (str, "%s=%s", name, value);
15171+    if (putenv (str) != EXIT_SUCCESS)
15172+      {
15173+        XFREE (str);
15174+      }
15175+#endif
15176+  }
15177+}
15178+
15179+char *
15180+lt_extend_str (const char *orig_value, const char *add, int to_end)
15181+{
15182+  char *new_value;
15183+  if (orig_value && *orig_value)
15184+    {
15185+      int orig_value_len = strlen (orig_value);
15186+      int add_len = strlen (add);
15187+      new_value = XMALLOC (char, add_len + orig_value_len + 1);
15188+      if (to_end)
15189+        {
15190+          strcpy (new_value, orig_value);
15191+          strcpy (new_value + orig_value_len, add);
15192+        }
15193+      else
15194+        {
15195+          strcpy (new_value, add);
15196+          strcpy (new_value + add_len, orig_value);
15197+        }
15198+    }
15199+  else
15200+    {
15201+      new_value = xstrdup (add);
15202+    }
15203+  return new_value;
15204+}
15205+
15206+int
15207+lt_split_name_value (const char *arg, char** name, char** value)
15208+{
15209+  const char *p;
15210+  int len;
15211+  if (!arg || !*arg)
15212+    return 1;
15213+
15214+  p = strchr (arg, (int)'=');
15215+
15216+  if (!p)
15217+    return 1;
15218+
15219+  *value = xstrdup (++p);
15220+
15221+  len = strlen (arg) - strlen (*value);
15222+  *name = XMALLOC (char, len);
15223+  strncpy (*name, arg, len-1);
15224+  (*name)[len - 1] = '\0';
15225+
15226+  return 0;
15227+}
15228+
15229+void
15230+lt_opt_process_env_set (const char *arg)
15231+{
15232+  char *name = NULL;
15233+  char *value = NULL;
15234+
15235+  if (lt_split_name_value (arg, &name, &value) != 0)
15236+    {
15237+      XFREE (name);
15238+      XFREE (value);
15239+      lt_fatal ("bad argument for %s: '%s'", env_set_opt, arg);
15240+    }
15241+
15242+  lt_setenv (name, value);
15243+  XFREE (name);
15244+  XFREE (value);
15245+}
15246+
15247+void
15248+lt_opt_process_env_prepend (const char *arg)
15249+{
15250+  char *name = NULL;
15251+  char *value = NULL;
15252+  char *new_value = NULL;
15253+
15254+  if (lt_split_name_value (arg, &name, &value) != 0)
15255+    {
15256+      XFREE (name);
15257+      XFREE (value);
15258+      lt_fatal ("bad argument for %s: '%s'", env_prepend_opt, arg);
15259+    }
15260+
15261+  new_value = lt_extend_str (getenv (name), value, 0);
15262+  lt_setenv (name, new_value);
15263+  XFREE (new_value);
15264+  XFREE (name);
15265+  XFREE (value);
15266+}
15267+
15268+void
15269+lt_opt_process_env_append (const char *arg)
15270+{
15271+  char *name = NULL;
15272+  char *value = NULL;
15273+  char *new_value = NULL;
15274+
15275+  if (lt_split_name_value (arg, &name, &value) != 0)
15276+    {
15277+      XFREE (name);
15278+      XFREE (value);
15279+      lt_fatal ("bad argument for %s: '%s'", env_append_opt, arg);
15280+    }
15281+
15282+  new_value = lt_extend_str (getenv (name), value, 1);
15283+  lt_setenv (name, new_value);
15284+  XFREE (new_value);
15285+  XFREE (name);
15286+  XFREE (value);
15287+}
15288+
15289+void
15290+lt_update_exe_path (const char *name, const char *value)
15291+{
15292+  LTWRAPPER_DEBUGPRINTF (("(lt_update_exe_path) modifying '%s' by prepending '%s'\n",
15293+                          (name ? name : "<NULL>"),
15294+                          (value ? value : "<NULL>")));
15295+
15296+  if (name && *name && value && *value)
15297+    {
15298+      char *new_value = lt_extend_str (getenv (name), value, 0);
15299+      /* some systems can't cope with a ':'-terminated path #' */
15300+      int len = strlen (new_value);
15301+      while (((len = strlen (new_value)) > 0) && IS_PATH_SEPARATOR (new_value[len-1]))
15302+        {
15303+          new_value[len-1] = '\0';
15304+        }
15305+      lt_setenv (name, new_value);
15306+      XFREE (new_value);
15307+    }
15308+}
15309+
15310+void
15311+lt_update_lib_path (const char *name, const char *value)
15312+{
15313+  LTWRAPPER_DEBUGPRINTF (("(lt_update_lib_path) modifying '%s' by prepending '%s'\n",
15314+                          (name ? name : "<NULL>"),
15315+                          (value ? value : "<NULL>")));
15316+
15317+  if (name && *name && value && *value)
15318+    {
15319+      char *new_value = lt_extend_str (getenv (name), value, 0);
15320+      lt_setenv (name, new_value);
15321+      XFREE (new_value);
15322+    }
15323+}
15324+
15325+
15326+EOF
15327+}
15328+# end: func_emit_cwrapperexe_src
15329+
15330+# func_mode_link arg...
15331+func_mode_link ()
15332+{
15333+    $opt_debug
15334+    case $host in
15335+    *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
15336+      # It is impossible to link a dll without this setting, and
15337+      # we shouldn't force the makefile maintainer to figure out
15338+      # which system we are compiling for in order to pass an extra
15339+      # flag for every libtool invocation.
15340+      # allow_undefined=no
15341+
15342+      # FIXME: Unfortunately, there are problems with the above when trying
15343+      # to make a dll which has undefined symbols, in which case not
15344+      # even a static library is built.  For now, we need to specify
15345+      # -no-undefined on the libtool link line when we can be certain
15346+      # that all symbols are satisfied, otherwise we get a static library.
15347+      allow_undefined=yes
15348+      ;;
15349+    *)
15350+      allow_undefined=yes
15351+      ;;
15352+    esac
15353+    libtool_args=$nonopt
15354+    base_compile="$nonopt $@"
15355+    compile_command=$nonopt
15356+    finalize_command=$nonopt
15357+
15358+    compile_rpath=
15359+    finalize_rpath=
15360+    compile_shlibpath=
15361+    finalize_shlibpath=
15362+    convenience=
15363+    old_convenience=
15364+    deplibs=
15365+    old_deplibs=
15366+    compiler_flags=
15367+    linker_flags=
15368+    dllsearchpath=
15369+    lib_search_path=`pwd`
15370+    inst_prefix_dir=
15371+    new_inherited_linker_flags=
15372+
15373+    avoid_version=no
15374+    dlfiles=
15375+    dlprefiles=
15376+    dlself=no
15377+    export_dynamic=no
15378+    export_symbols=
15379+    export_symbols_regex=
15380+    generated=
15381+    libobjs=
15382+    ltlibs=
15383+    module=no
15384+    no_install=no
15385+    objs=
15386+    non_pic_objects=
15387+    precious_files_regex=
15388+    prefer_static_libs=no
15389+    preload=no
15390+    prev=
15391+    prevarg=
15392+    release=
15393+    rpath=
15394+    xrpath=
15395+    perm_rpath=
15396+    temp_rpath=
15397+    thread_safe=no
15398+    vinfo=
15399+    vinfo_number=no
15400+    weak_libs=
15401+    single_module="${wl}-single_module"
15402+    func_infer_tag $base_compile
15403+
15404+    # We need to know -static, to get the right output filenames.
15405+    for arg
15406+    do
15407+      case $arg in
15408+      -shared)
15409+	test "$build_libtool_libs" != yes && \
15410+	  func_fatal_configuration "can not build a shared library"
15411+	build_old_libs=no
15412+	break
15413+	;;
15414+      -all-static | -static | -static-libtool-libs)
15415+	case $arg in
15416+	-all-static)
15417+	  if test "$build_libtool_libs" = yes && test -z "$link_static_flag"; then
15418+	    func_warning "complete static linking is impossible in this configuration"
15419+	  fi
15420+	  if test -n "$link_static_flag"; then
15421+	    dlopen_self=$dlopen_self_static
15422+	  fi
15423+	  prefer_static_libs=yes
15424+	  ;;
15425+	-static)
15426+	  if test -z "$pic_flag" && test -n "$link_static_flag"; then
15427+	    dlopen_self=$dlopen_self_static
15428+	  fi
15429+	  prefer_static_libs=built
15430+	  ;;
15431+	-static-libtool-libs)
15432+	  if test -z "$pic_flag" && test -n "$link_static_flag"; then
15433+	    dlopen_self=$dlopen_self_static
15434+	  fi
15435+	  prefer_static_libs=yes
15436+	  ;;
15437+	esac
15438+	build_libtool_libs=no
15439+	build_old_libs=yes
15440+	break
15441+	;;
15442+      esac
15443+    done
15444+
15445+    # See if our shared archives depend on static archives.
15446+    test -n "$old_archive_from_new_cmds" && build_old_libs=yes
15447+
15448+    # Go through the arguments, transforming them on the way.
15449+    while test "$#" -gt 0; do
15450+      arg="$1"
15451+      shift
15452+      func_quote_for_eval "$arg"
15453+      qarg=$func_quote_for_eval_unquoted_result
15454+      func_append libtool_args " $func_quote_for_eval_result"
15455+
15456+      # If the previous option needs an argument, assign it.
15457+      if test -n "$prev"; then
15458+	case $prev in
15459+	output)
15460+	  func_append compile_command " @OUTPUT@"
15461+	  func_append finalize_command " @OUTPUT@"
15462+	  ;;
15463+	esac
15464+
15465+	case $prev in
15466+	dlfiles|dlprefiles)
15467+	  if test "$preload" = no; then
15468+	    # Add the symbol object into the linking commands.
15469+	    func_append compile_command " @SYMFILE@"
15470+	    func_append finalize_command " @SYMFILE@"
15471+	    preload=yes
15472+	  fi
15473+	  case $arg in
15474+	  *.la | *.lo) ;;  # We handle these cases below.
15475+	  force)
15476+	    if test "$dlself" = no; then
15477+	      dlself=needless
15478+	      export_dynamic=yes
15479+	    fi
15480+	    prev=
15481+	    continue
15482+	    ;;
15483+	  self)
15484+	    if test "$prev" = dlprefiles; then
15485+	      dlself=yes
15486+	    elif test "$prev" = dlfiles && test "$dlopen_self" != yes; then
15487+	      dlself=yes
15488+	    else
15489+	      dlself=needless
15490+	      export_dynamic=yes
15491+	    fi
15492+	    prev=
15493+	    continue
15494+	    ;;
15495+	  *)
15496+	    if test "$prev" = dlfiles; then
15497+	      dlfiles="$dlfiles $arg"
15498+	    else
15499+	      dlprefiles="$dlprefiles $arg"
15500+	    fi
15501+	    prev=
15502+	    continue
15503+	    ;;
15504+	  esac
15505+	  ;;
15506+	expsyms)
15507+	  export_symbols="$arg"
15508+	  test -f "$arg" \
15509+	    || func_fatal_error "symbol file \`$arg' does not exist"
15510+	  prev=
15511+	  continue
15512+	  ;;
15513+	expsyms_regex)
15514+	  export_symbols_regex="$arg"
15515+	  prev=
15516+	  continue
15517+	  ;;
15518+	framework)
15519+	  case $host in
15520+	    *-*-darwin*)
15521+	      case "$deplibs " in
15522+		*" $qarg.ltframework "*) ;;
15523+		*) deplibs="$deplibs $qarg.ltframework" # this is fixed later
15524+		   ;;
15525+	      esac
15526+	      ;;
15527+	  esac
15528+	  prev=
15529+	  continue
15530+	  ;;
15531+	inst_prefix)
15532+	  inst_prefix_dir="$arg"
15533+	  prev=
15534+	  continue
15535+	  ;;
15536+	objectlist)
15537+	  if test -f "$arg"; then
15538+	    save_arg=$arg
15539+	    moreargs=
15540+	    for fil in `cat "$save_arg"`
15541+	    do
15542+#	      moreargs="$moreargs $fil"
15543+	      arg=$fil
15544+	      # A libtool-controlled object.
15545+
15546+	      # Check to see that this really is a libtool object.
15547+	      if func_lalib_unsafe_p "$arg"; then
15548+		pic_object=
15549+		non_pic_object=
15550+
15551+		# Read the .lo file
15552+		func_source "$arg"
15553+
15554+		if test -z "$pic_object" ||
15555+		   test -z "$non_pic_object" ||
15556+		   test "$pic_object" = none &&
15557+		   test "$non_pic_object" = none; then
15558+		  func_fatal_error "cannot find name of object for \`$arg'"
15559+		fi
15560+
15561+		# Extract subdirectory from the argument.
15562+		func_dirname "$arg" "/" ""
15563+		xdir="$func_dirname_result"
15564+
15565+		if test "$pic_object" != none; then
15566+		  # Prepend the subdirectory the object is found in.
15567+		  pic_object="$xdir$pic_object"
15568+
15569+		  if test "$prev" = dlfiles; then
15570+		    if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
15571+		      dlfiles="$dlfiles $pic_object"
15572+		      prev=
15573+		      continue
15574+		    else
15575+		      # If libtool objects are unsupported, then we need to preload.
15576+		      prev=dlprefiles
15577+		    fi
15578+		  fi
15579+
15580+		  # CHECK ME:  I think I busted this.  -Ossama
15581+		  if test "$prev" = dlprefiles; then
15582+		    # Preload the old-style object.
15583+		    dlprefiles="$dlprefiles $pic_object"
15584+		    prev=
15585+		  fi
15586+
15587+		  # A PIC object.
15588+		  func_append libobjs " $pic_object"
15589+		  arg="$pic_object"
15590+		fi
15591+
15592+		# Non-PIC object.
15593+		if test "$non_pic_object" != none; then
15594+		  # Prepend the subdirectory the object is found in.
15595+		  non_pic_object="$xdir$non_pic_object"
15596+
15597+		  # A standard non-PIC object
15598+		  func_append non_pic_objects " $non_pic_object"
15599+		  if test -z "$pic_object" || test "$pic_object" = none ; then
15600+		    arg="$non_pic_object"
15601+		  fi
15602+		else
15603+		  # If the PIC object exists, use it instead.
15604+		  # $xdir was prepended to $pic_object above.
15605+		  non_pic_object="$pic_object"
15606+		  func_append non_pic_objects " $non_pic_object"
15607+		fi
15608+	      else
15609+		# Only an error if not doing a dry-run.
15610+		if $opt_dry_run; then
15611+		  # Extract subdirectory from the argument.
15612+		  func_dirname "$arg" "/" ""
15613+		  xdir="$func_dirname_result"
15614+
15615+		  func_lo2o "$arg"
15616+		  pic_object=$xdir$objdir/$func_lo2o_result
15617+		  non_pic_object=$xdir$func_lo2o_result
15618+		  func_append libobjs " $pic_object"
15619+		  func_append non_pic_objects " $non_pic_object"
15620+	        else
15621+		  func_fatal_error "\`$arg' is not a valid libtool object"
15622+		fi
15623+	      fi
15624+	    done
15625+	  else
15626+	    func_fatal_error "link input file \`$arg' does not exist"
15627+	  fi
15628+	  arg=$save_arg
15629+	  prev=
15630+	  continue
15631+	  ;;
15632+	precious_regex)
15633+	  precious_files_regex="$arg"
15634+	  prev=
15635+	  continue
15636+	  ;;
15637+	release)
15638+	  release="-$arg"
15639+	  prev=
15640+	  continue
15641+	  ;;
15642+	rpath | xrpath)
15643+	  # We need an absolute path.
15644+	  case $arg in
15645+	  [\\/]* | [A-Za-z]:[\\/]*) ;;
15646+	  *)
15647+	    func_fatal_error "only absolute run-paths are allowed"
15648+	    ;;
15649+	  esac
15650+	  if test "$prev" = rpath; then
15651+	    case "$rpath " in
15652+	    *" $arg "*) ;;
15653+	    *) rpath="$rpath $arg" ;;
15654+	    esac
15655+	  else
15656+	    case "$xrpath " in
15657+	    *" $arg "*) ;;
15658+	    *) xrpath="$xrpath $arg" ;;
15659+	    esac
15660+	  fi
15661+	  prev=
15662+	  continue
15663+	  ;;
15664+	shrext)
15665+	  shrext_cmds="$arg"
15666+	  prev=
15667+	  continue
15668+	  ;;
15669+	weak)
15670+	  weak_libs="$weak_libs $arg"
15671+	  prev=
15672+	  continue
15673+	  ;;
15674+	xcclinker)
15675+	  linker_flags="$linker_flags $qarg"
15676+	  compiler_flags="$compiler_flags $qarg"
15677+	  prev=
15678+	  func_append compile_command " $qarg"
15679+	  func_append finalize_command " $qarg"
15680+	  continue
15681+	  ;;
15682+	xcompiler)
15683+	  compiler_flags="$compiler_flags $qarg"
15684+	  prev=
15685+	  func_append compile_command " $qarg"
15686+	  func_append finalize_command " $qarg"
15687+	  continue
15688+	  ;;
15689+	xlinker)
15690+	  linker_flags="$linker_flags $qarg"
15691+	  compiler_flags="$compiler_flags $wl$qarg"
15692+	  prev=
15693+	  func_append compile_command " $wl$qarg"
15694+	  func_append finalize_command " $wl$qarg"
15695+	  continue
15696+	  ;;
15697+	*)
15698+	  eval "$prev=\"\$arg\""
15699+	  prev=
15700+	  continue
15701+	  ;;
15702+	esac
15703+      fi # test -n "$prev"
15704+
15705+      prevarg="$arg"
15706+
15707+      case $arg in
15708+      -all-static)
15709+	if test -n "$link_static_flag"; then
15710+	  # See comment for -static flag below, for more details.
15711+	  func_append compile_command " $link_static_flag"
15712+	  func_append finalize_command " $link_static_flag"
15713+	fi
15714+	continue
15715+	;;
15716+
15717+      -allow-undefined)
15718+	# FIXME: remove this flag sometime in the future.
15719+	func_fatal_error "\`-allow-undefined' must not be used because it is the default"
15720+	;;
15721+
15722+      -avoid-version)
15723+	avoid_version=yes
15724+	continue
15725+	;;
15726+
15727+      -dlopen)
15728+	prev=dlfiles
15729+	continue
15730+	;;
15731+
15732+      -dlpreopen)
15733+	prev=dlprefiles
15734+	continue
15735+	;;
15736+
15737+      -export-dynamic)
15738+	export_dynamic=yes
15739+	continue
15740+	;;
15741+
15742+      -export-symbols | -export-symbols-regex)
15743+	if test -n "$export_symbols" || test -n "$export_symbols_regex"; then
15744+	  func_fatal_error "more than one -exported-symbols argument is not allowed"
15745+	fi
15746+	if test "X$arg" = "X-export-symbols"; then
15747+	  prev=expsyms
15748+	else
15749+	  prev=expsyms_regex
15750+	fi
15751+	continue
15752+	;;
15753+
15754+      -framework)
15755+	prev=framework
15756+	continue
15757+	;;
15758+
15759+      -inst-prefix-dir)
15760+	prev=inst_prefix
15761+	continue
15762+	;;
15763+
15764+      # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:*
15765+      # so, if we see these flags be careful not to treat them like -L
15766+      -L[A-Z][A-Z]*:*)
15767+	case $with_gcc/$host in
15768+	no/*-*-irix* | /*-*-irix*)
15769+	  func_append compile_command " $arg"
15770+	  func_append finalize_command " $arg"
15771+	  ;;
15772+	esac
15773+	continue
15774+	;;
15775+
15776+      -L*)
15777+	func_stripname '-L' '' "$arg"
15778+	dir=$func_stripname_result
15779+	if test -z "$dir"; then
15780+	  if test "$#" -gt 0; then
15781+	    func_fatal_error "require no space between \`-L' and \`$1'"
15782+	  else
15783+	    func_fatal_error "need path for \`-L' option"
15784+	  fi
15785+	fi
15786+	# We need an absolute path.
15787+	case $dir in
15788+	[\\/]* | [A-Za-z]:[\\/]*) ;;
15789+	*)
15790+	  absdir=`cd "$dir" && pwd`
15791+	  test -z "$absdir" && \
15792+	    func_fatal_error "cannot determine absolute directory name of \`$dir'"
15793+	  dir="$absdir"
15794+	  ;;
15795+	esac
15796+	case "$deplibs " in
15797+	*" -L$dir "*) ;;
15798+	*)
15799+	  deplibs="$deplibs -L$dir"
15800+	  lib_search_path="$lib_search_path $dir"
15801+	  ;;
15802+	esac
15803+	case $host in
15804+	*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
15805+	  testbindir=`$ECHO "X$dir" | $Xsed -e 's*/lib$*/bin*'`
15806+	  case :$dllsearchpath: in
15807+	  *":$dir:"*) ;;
15808+	  ::) dllsearchpath=$dir;;
15809+	  *) dllsearchpath="$dllsearchpath:$dir";;
15810+	  esac
15811+	  case :$dllsearchpath: in
15812+	  *":$testbindir:"*) ;;
15813+	  ::) dllsearchpath=$testbindir;;
15814+	  *) dllsearchpath="$dllsearchpath:$testbindir";;
15815+	  esac
15816+	  ;;
15817+	esac
15818+	continue
15819+	;;
15820+
15821+      -l*)
15822+	if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then
15823+	  case $host in
15824+	  *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc*)
15825+	    # These systems don't actually have a C or math library (as such)
15826+	    continue
15827+	    ;;
15828+	  *-*-os2*)
15829+	    # These systems don't actually have a C library (as such)
15830+	    test "X$arg" = "X-lc" && continue
15831+	    ;;
15832+	  *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
15833+	    # Do not include libc due to us having libc/libc_r.
15834+	    test "X$arg" = "X-lc" && continue
15835+	    ;;
15836+	  *-*-rhapsody* | *-*-darwin1.[012])
15837+	    # Rhapsody C and math libraries are in the System framework
15838+	    deplibs="$deplibs System.ltframework"
15839+	    continue
15840+	    ;;
15841+	  *-*-sco3.2v5* | *-*-sco5v6*)
15842+	    # Causes problems with __ctype
15843+	    test "X$arg" = "X-lc" && continue
15844+	    ;;
15845+	  *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
15846+	    # Compiler inserts libc in the correct place for threads to work
15847+	    test "X$arg" = "X-lc" && continue
15848+	    ;;
15849+	  esac
15850+	elif test "X$arg" = "X-lc_r"; then
15851+	 case $host in
15852+	 *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
15853+	   # Do not include libc_r directly, use -pthread flag.
15854+	   continue
15855+	   ;;
15856+	 esac
15857+	fi
15858+	deplibs="$deplibs $arg"
15859+	continue
15860+	;;
15861+
15862+      -module)
15863+	module=yes
15864+	continue
15865+	;;
15866+
15867+      # Tru64 UNIX uses -model [arg] to determine the layout of C++
15868+      # classes, name mangling, and exception handling.
15869+      # Darwin uses the -arch flag to determine output architecture.
15870+      -model|-arch|-isysroot)
15871+	compiler_flags="$compiler_flags $arg"
15872+	func_append compile_command " $arg"
15873+	func_append finalize_command " $arg"
15874+	prev=xcompiler
15875+	continue
15876+	;;
15877+
15878+      -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
15879+	compiler_flags="$compiler_flags $arg"
15880+	func_append compile_command " $arg"
15881+	func_append finalize_command " $arg"
15882+	case "$new_inherited_linker_flags " in
15883+	    *" $arg "*) ;;
15884+	    * ) new_inherited_linker_flags="$new_inherited_linker_flags $arg" ;;
15885+	esac
15886+	continue
15887+	;;
15888+
15889+      -multi_module)
15890+	single_module="${wl}-multi_module"
15891+	continue
15892+	;;
15893+
15894+      -no-fast-install)
15895+	fast_install=no
15896+	continue
15897+	;;
15898+
15899+      -no-install)
15900+	case $host in
15901+	*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin* | *-cegcc*)
15902+	  # The PATH hackery in wrapper scripts is required on Windows
15903+	  # and Darwin in order for the loader to find any dlls it needs.
15904+	  func_warning "\`-no-install' is ignored for $host"
15905+	  func_warning "assuming \`-no-fast-install' instead"
15906+	  fast_install=no
15907+	  ;;
15908+	*) no_install=yes ;;
15909+	esac
15910+	continue
15911+	;;
15912+
15913+      -no-undefined)
15914+	allow_undefined=no
15915+	continue
15916+	;;
15917+
15918+      -objectlist)
15919+	prev=objectlist
15920+	continue
15921+	;;
15922+
15923+      -o) prev=output ;;
15924+
15925+      -precious-files-regex)
15926+	prev=precious_regex
15927+	continue
15928+	;;
15929+
15930+      -release)
15931+	prev=release
15932+	continue
15933+	;;
15934+
15935+      -rpath)
15936+	prev=rpath
15937+	continue
15938+	;;
15939+
15940+      -R)
15941+	prev=xrpath
15942+	continue
15943+	;;
15944+
15945+      -R*)
15946+	func_stripname '-R' '' "$arg"
15947+	dir=$func_stripname_result
15948+	# We need an absolute path.
15949+	case $dir in
15950+	[\\/]* | [A-Za-z]:[\\/]*) ;;
15951+	*)
15952+	  func_fatal_error "only absolute run-paths are allowed"
15953+	  ;;
15954+	esac
15955+	case "$xrpath " in
15956+	*" $dir "*) ;;
15957+	*) xrpath="$xrpath $dir" ;;
15958+	esac
15959+	continue
15960+	;;
15961+
15962+      -shared)
15963+	# The effects of -shared are defined in a previous loop.
15964+	continue
15965+	;;
15966+
15967+      -shrext)
15968+	prev=shrext
15969+	continue
15970+	;;
15971+
15972+      -static | -static-libtool-libs)
15973+	# The effects of -static are defined in a previous loop.
15974+	# We used to do the same as -all-static on platforms that
15975+	# didn't have a PIC flag, but the assumption that the effects
15976+	# would be equivalent was wrong.  It would break on at least
15977+	# Digital Unix and AIX.
15978+	continue
15979+	;;
15980+
15981+      -thread-safe)
15982+	thread_safe=yes
15983+	continue
15984+	;;
15985+
15986+      -version-info)
15987+	prev=vinfo
15988+	continue
15989+	;;
15990+
15991+      -version-number)
15992+	prev=vinfo
15993+	vinfo_number=yes
15994+	continue
15995+	;;
15996+
15997+      -weak)
15998+        prev=weak
15999+	continue
16000+	;;
16001+
16002+      -Wc,*)
16003+	func_stripname '-Wc,' '' "$arg"
16004+	args=$func_stripname_result
16005+	arg=
16006+	save_ifs="$IFS"; IFS=','
16007+	for flag in $args; do
16008+	  IFS="$save_ifs"
16009+          func_quote_for_eval "$flag"
16010+	  arg="$arg $wl$func_quote_for_eval_result"
16011+	  compiler_flags="$compiler_flags $func_quote_for_eval_result"
16012+	done
16013+	IFS="$save_ifs"
16014+	func_stripname ' ' '' "$arg"
16015+	arg=$func_stripname_result
16016+	;;
16017+
16018+      -Wl,*)
16019+	func_stripname '-Wl,' '' "$arg"
16020+	args=$func_stripname_result
16021+	arg=
16022+	save_ifs="$IFS"; IFS=','
16023+	for flag in $args; do
16024+	  IFS="$save_ifs"
16025+          func_quote_for_eval "$flag"
16026+	  arg="$arg $wl$func_quote_for_eval_result"
16027+	  compiler_flags="$compiler_flags $wl$func_quote_for_eval_result"
16028+	  linker_flags="$linker_flags $func_quote_for_eval_result"
16029+	done
16030+	IFS="$save_ifs"
16031+	func_stripname ' ' '' "$arg"
16032+	arg=$func_stripname_result
16033+	;;
16034+
16035+      -Xcompiler)
16036+	prev=xcompiler
16037+	continue
16038+	;;
16039+
16040+      -Xlinker)
16041+	prev=xlinker
16042+	continue
16043+	;;
16044+
16045+      -XCClinker)
16046+	prev=xcclinker
16047+	continue
16048+	;;
16049+
16050+      # -msg_* for osf cc
16051+      -msg_*)
16052+	func_quote_for_eval "$arg"
16053+	arg="$func_quote_for_eval_result"
16054+	;;
16055+
16056+      # -64, -mips[0-9] enable 64-bit mode on the SGI compiler
16057+      # -r[0-9][0-9]* specifies the processor on the SGI compiler
16058+      # -xarch=*, -xtarget=* enable 64-bit mode on the Sun compiler
16059+      # +DA*, +DD* enable 64-bit mode on the HP compiler
16060+      # -q* pass through compiler args for the IBM compiler
16061+      # -m*, -t[45]*, -txscale* pass through architecture-specific
16062+      # compiler args for GCC
16063+      # -F/path gives path to uninstalled frameworks, gcc on darwin
16064+      # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC
16065+      # @file GCC response files
16066+      -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
16067+      -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*)
16068+        func_quote_for_eval "$arg"
16069+	arg="$func_quote_for_eval_result"
16070+        func_append compile_command " $arg"
16071+        func_append finalize_command " $arg"
16072+        compiler_flags="$compiler_flags $arg"
16073+        continue
16074+        ;;
16075+
16076+      # Some other compiler flag.
16077+      -* | +*)
16078+        func_quote_for_eval "$arg"
16079+	arg="$func_quote_for_eval_result"
16080+	;;
16081+
16082+      *.$objext)
16083+	# A standard object.
16084+	objs="$objs $arg"
16085+	;;
16086+
16087+      *.lo)
16088+	# A libtool-controlled object.
16089+
16090+	# Check to see that this really is a libtool object.
16091+	if func_lalib_unsafe_p "$arg"; then
16092+	  pic_object=
16093+	  non_pic_object=
16094+
16095+	  # Read the .lo file
16096+	  func_source "$arg"
16097+
16098+	  if test -z "$pic_object" ||
16099+	     test -z "$non_pic_object" ||
16100+	     test "$pic_object" = none &&
16101+	     test "$non_pic_object" = none; then
16102+	    func_fatal_error "cannot find name of object for \`$arg'"
16103+	  fi
16104+
16105+	  # Extract subdirectory from the argument.
16106+	  func_dirname "$arg" "/" ""
16107+	  xdir="$func_dirname_result"
16108+
16109+	  if test "$pic_object" != none; then
16110+	    # Prepend the subdirectory the object is found in.
16111+	    pic_object="$xdir$pic_object"
16112+
16113+	    if test "$prev" = dlfiles; then
16114+	      if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
16115+		dlfiles="$dlfiles $pic_object"
16116+		prev=
16117+		continue
16118+	      else
16119+		# If libtool objects are unsupported, then we need to preload.
16120+		prev=dlprefiles
16121+	      fi
16122+	    fi
16123+
16124+	    # CHECK ME:  I think I busted this.  -Ossama
16125+	    if test "$prev" = dlprefiles; then
16126+	      # Preload the old-style object.
16127+	      dlprefiles="$dlprefiles $pic_object"
16128+	      prev=
16129+	    fi
16130+
16131+	    # A PIC object.
16132+	    func_append libobjs " $pic_object"
16133+	    arg="$pic_object"
16134+	  fi
16135+
16136+	  # Non-PIC object.
16137+	  if test "$non_pic_object" != none; then
16138+	    # Prepend the subdirectory the object is found in.
16139+	    non_pic_object="$xdir$non_pic_object"
16140+
16141+	    # A standard non-PIC object
16142+	    func_append non_pic_objects " $non_pic_object"
16143+	    if test -z "$pic_object" || test "$pic_object" = none ; then
16144+	      arg="$non_pic_object"
16145+	    fi
16146+	  else
16147+	    # If the PIC object exists, use it instead.
16148+	    # $xdir was prepended to $pic_object above.
16149+	    non_pic_object="$pic_object"
16150+	    func_append non_pic_objects " $non_pic_object"
16151+	  fi
16152+	else
16153+	  # Only an error if not doing a dry-run.
16154+	  if $opt_dry_run; then
16155+	    # Extract subdirectory from the argument.
16156+	    func_dirname "$arg" "/" ""
16157+	    xdir="$func_dirname_result"
16158+
16159+	    func_lo2o "$arg"
16160+	    pic_object=$xdir$objdir/$func_lo2o_result
16161+	    non_pic_object=$xdir$func_lo2o_result
16162+	    func_append libobjs " $pic_object"
16163+	    func_append non_pic_objects " $non_pic_object"
16164+	  else
16165+	    func_fatal_error "\`$arg' is not a valid libtool object"
16166+	  fi
16167+	fi
16168+	;;
16169+
16170+      *.$libext)
16171+	# An archive.
16172+	deplibs="$deplibs $arg"
16173+	old_deplibs="$old_deplibs $arg"
16174+	continue
16175+	;;
16176+
16177+      *.la)
16178+	# A libtool-controlled library.
16179+
16180+	if test "$prev" = dlfiles; then
16181+	  # This library was specified with -dlopen.
16182+	  dlfiles="$dlfiles $arg"
16183+	  prev=
16184+	elif test "$prev" = dlprefiles; then
16185+	  # The library was specified with -dlpreopen.
16186+	  dlprefiles="$dlprefiles $arg"
16187+	  prev=
16188+	else
16189+	  deplibs="$deplibs $arg"
16190+	fi
16191+	continue
16192+	;;
16193+
16194+      # Some other compiler argument.
16195+      *)
16196+	# Unknown arguments in both finalize_command and compile_command need
16197+	# to be aesthetically quoted because they are evaled later.
16198+	func_quote_for_eval "$arg"
16199+	arg="$func_quote_for_eval_result"
16200+	;;
16201+      esac # arg
16202+
16203+      # Now actually substitute the argument into the commands.
16204+      if test -n "$arg"; then
16205+	func_append compile_command " $arg"
16206+	func_append finalize_command " $arg"
16207+      fi
16208+    done # argument parsing loop
16209+
16210+    test -n "$prev" && \
16211+      func_fatal_help "the \`$prevarg' option requires an argument"
16212+
16213+    if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then
16214+      eval arg=\"$export_dynamic_flag_spec\"
16215+      func_append compile_command " $arg"
16216+      func_append finalize_command " $arg"
16217+    fi
16218+
16219+    oldlibs=
16220+    # calculate the name of the file, without its directory
16221+    func_basename "$output"
16222+    outputname="$func_basename_result"
16223+    libobjs_save="$libobjs"
16224+
16225+    if test -n "$shlibpath_var"; then
16226+      # get the directories listed in $shlibpath_var
16227+      eval shlib_search_path=\`\$ECHO \"X\${$shlibpath_var}\" \| \$Xsed -e \'s/:/ /g\'\`
16228+    else
16229+      shlib_search_path=
16230+    fi
16231+    eval sys_lib_search_path=\"$sys_lib_search_path_spec\"
16232+    eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\"
16233+
16234+    func_dirname "$output" "/" ""
16235+    output_objdir="$func_dirname_result$objdir"
16236+    # Create the object directory.
16237+    func_mkdir_p "$output_objdir"
16238+
16239+    # Determine the type of output
16240+    case $output in
16241+    "")
16242+      func_fatal_help "you must specify an output file"
16243+      ;;
16244+    *.$libext) linkmode=oldlib ;;
16245+    *.lo | *.$objext) linkmode=obj ;;
16246+    *.la) linkmode=lib ;;
16247+    *) linkmode=prog ;; # Anything else should be a program.
16248+    esac
16249+
16250+    specialdeplibs=
16251+
16252+    libs=
16253+    # Find all interdependent deplibs by searching for libraries
16254+    # that are linked more than once (e.g. -la -lb -la)
16255+    for deplib in $deplibs; do
16256+      if $opt_duplicate_deps ; then
16257+	case "$libs " in
16258+	*" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
16259+	esac
16260+      fi
16261+      libs="$libs $deplib"
16262+    done
16263+
16264+    if test "$linkmode" = lib; then
16265+      libs="$predeps $libs $compiler_lib_search_path $postdeps"
16266+
16267+      # Compute libraries that are listed more than once in $predeps
16268+      # $postdeps and mark them as special (i.e., whose duplicates are
16269+      # not to be eliminated).
16270+      pre_post_deps=
16271+      if $opt_duplicate_compiler_generated_deps; then
16272+	for pre_post_dep in $predeps $postdeps; do
16273+	  case "$pre_post_deps " in
16274+	  *" $pre_post_dep "*) specialdeplibs="$specialdeplibs $pre_post_deps" ;;
16275+	  esac
16276+	  pre_post_deps="$pre_post_deps $pre_post_dep"
16277+	done
16278+      fi
16279+      pre_post_deps=
16280+    fi
16281+
16282+    deplibs=
16283+    newdependency_libs=
16284+    newlib_search_path=
16285+    need_relink=no # whether we're linking any uninstalled libtool libraries
16286+    notinst_deplibs= # not-installed libtool libraries
16287+    notinst_path= # paths that contain not-installed libtool libraries
16288+
16289+    case $linkmode in
16290+    lib)
16291+	passes="conv dlpreopen link"
16292+	for file in $dlfiles $dlprefiles; do
16293+	  case $file in
16294+	  *.la) ;;
16295+	  *)
16296+	    func_fatal_help "libraries can \`-dlopen' only libtool libraries: $file"
16297+	    ;;
16298+	  esac
16299+	done
16300+	;;
16301+    prog)
16302+	compile_deplibs=
16303+	finalize_deplibs=
16304+	alldeplibs=no
16305+	newdlfiles=
16306+	newdlprefiles=
16307+	passes="conv scan dlopen dlpreopen link"
16308+	;;
16309+    *)  passes="conv"
16310+	;;
16311+    esac
16312+
16313+    for pass in $passes; do
16314+      # The preopen pass in lib mode reverses $deplibs; put it back here
16315+      # so that -L comes before libs that need it for instance...
16316+      if test "$linkmode,$pass" = "lib,link"; then
16317+	## FIXME: Find the place where the list is rebuilt in the wrong
16318+	##        order, and fix it there properly
16319+        tmp_deplibs=
16320+	for deplib in $deplibs; do
16321+	  tmp_deplibs="$deplib $tmp_deplibs"
16322+	done
16323+	deplibs="$tmp_deplibs"
16324+      fi
16325+
16326+      if test "$linkmode,$pass" = "lib,link" ||
16327+	 test "$linkmode,$pass" = "prog,scan"; then
16328+	libs="$deplibs"
16329+	deplibs=
16330+      fi
16331+      if test "$linkmode" = prog; then
16332+	case $pass in
16333+	dlopen) libs="$dlfiles" ;;
16334+	dlpreopen) libs="$dlprefiles" ;;
16335+	link) libs="$deplibs %DEPLIBS% $dependency_libs" ;;
16336+	esac
16337+      fi
16338+      if test "$linkmode,$pass" = "lib,dlpreopen"; then
16339+	# Collect and forward deplibs of preopened libtool libs
16340+	for lib in $dlprefiles; do
16341+	  # Ignore non-libtool-libs
16342+	  dependency_libs=
16343+	  case $lib in
16344+	  *.la)	func_source "$lib" ;;
16345+	  esac
16346+
16347+	  # Collect preopened libtool deplibs, except any this library
16348+	  # has declared as weak libs
16349+	  for deplib in $dependency_libs; do
16350+            deplib_base=`$ECHO "X$deplib" | $Xsed -e "$basename"`
16351+	    case " $weak_libs " in
16352+	    *" $deplib_base "*) ;;
16353+	    *) deplibs="$deplibs $deplib" ;;
16354+	    esac
16355+	  done
16356+	done
16357+	libs="$dlprefiles"
16358+      fi
16359+      if test "$pass" = dlopen; then
16360+	# Collect dlpreopened libraries
16361+	save_deplibs="$deplibs"
16362+	deplibs=
16363+      fi
16364+
16365+      for deplib in $libs; do
16366+	lib=
16367+	found=no
16368+	case $deplib in
16369+	-mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
16370+	  if test "$linkmode,$pass" = "prog,link"; then
16371+	    compile_deplibs="$deplib $compile_deplibs"
16372+	    finalize_deplibs="$deplib $finalize_deplibs"
16373+	  else
16374+	    compiler_flags="$compiler_flags $deplib"
16375+	    if test "$linkmode" = lib ; then
16376+		case "$new_inherited_linker_flags " in
16377+		    *" $deplib "*) ;;
16378+		    * ) new_inherited_linker_flags="$new_inherited_linker_flags $deplib" ;;
16379+		esac
16380+	    fi
16381+	  fi
16382+	  continue
16383+	  ;;
16384+	-l*)
16385+	  if test "$linkmode" != lib && test "$linkmode" != prog; then
16386+	    func_warning "\`-l' is ignored for archives/objects"
16387+	    continue
16388+	  fi
16389+	  func_stripname '-l' '' "$deplib"
16390+	  name=$func_stripname_result
16391+	  if test "$linkmode" = lib; then
16392+	    searchdirs="$newlib_search_path $lib_search_path $compiler_lib_search_dirs $sys_lib_search_path $shlib_search_path"
16393+	  else
16394+	    searchdirs="$newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path"
16395+	  fi
16396+	  for searchdir in $searchdirs; do
16397+	    for search_ext in .la $std_shrext .so .a; do
16398+	      # Search the libtool library
16399+	      lib="$searchdir/lib${name}${search_ext}"
16400+	      if test -f "$lib"; then
16401+		if test "$search_ext" = ".la"; then
16402+		  found=yes
16403+		else
16404+		  found=no
16405+		fi
16406+		break 2
16407+	      fi
16408+	    done
16409+	  done
16410+	  if test "$found" != yes; then
16411+	    # deplib doesn't seem to be a libtool library
16412+	    if test "$linkmode,$pass" = "prog,link"; then
16413+	      compile_deplibs="$deplib $compile_deplibs"
16414+	      finalize_deplibs="$deplib $finalize_deplibs"
16415+	    else
16416+	      deplibs="$deplib $deplibs"
16417+	      test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
16418+	    fi
16419+	    continue
16420+	  else # deplib is a libtool library
16421+	    # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib,
16422+	    # We need to do some special things here, and not later.
16423+	    if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
16424+	      case " $predeps $postdeps " in
16425+	      *" $deplib "*)
16426+		if func_lalib_p "$lib"; then
16427+		  library_names=
16428+		  old_library=
16429+		  func_source "$lib"
16430+		  for l in $old_library $library_names; do
16431+		    ll="$l"
16432+		  done
16433+		  if test "X$ll" = "X$old_library" ; then # only static version available
16434+		    found=no
16435+		    func_dirname "$lib" "" "."
16436+		    ladir="$func_dirname_result"
16437+		    lib=$ladir/$old_library
16438+		    if test "$linkmode,$pass" = "prog,link"; then
16439+		      compile_deplibs="$deplib $compile_deplibs"
16440+		      finalize_deplibs="$deplib $finalize_deplibs"
16441+		    else
16442+		      deplibs="$deplib $deplibs"
16443+		      test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
16444+		    fi
16445+		    continue
16446+		  fi
16447+		fi
16448+		;;
16449+	      *) ;;
16450+	      esac
16451+	    fi
16452+	  fi
16453+	  ;; # -l
16454+	*.ltframework)
16455+	  if test "$linkmode,$pass" = "prog,link"; then
16456+	    compile_deplibs="$deplib $compile_deplibs"
16457+	    finalize_deplibs="$deplib $finalize_deplibs"
16458+	  else
16459+	    deplibs="$deplib $deplibs"
16460+	    if test "$linkmode" = lib ; then
16461+		case "$new_inherited_linker_flags " in
16462+		    *" $deplib "*) ;;
16463+		    * ) new_inherited_linker_flags="$new_inherited_linker_flags $deplib" ;;
16464+		esac
16465+	    fi
16466+	  fi
16467+	  continue
16468+	  ;;
16469+	-L*)
16470+	  case $linkmode in
16471+	  lib)
16472+	    deplibs="$deplib $deplibs"
16473+	    test "$pass" = conv && continue
16474+	    newdependency_libs="$deplib $newdependency_libs"
16475+	    func_stripname '-L' '' "$deplib"
16476+	    newlib_search_path="$newlib_search_path $func_stripname_result"
16477+	    ;;
16478+	  prog)
16479+	    if test "$pass" = conv; then
16480+	      deplibs="$deplib $deplibs"
16481+	      continue
16482+	    fi
16483+	    if test "$pass" = scan; then
16484+	      deplibs="$deplib $deplibs"
16485+	    else
16486+	      compile_deplibs="$deplib $compile_deplibs"
16487+	      finalize_deplibs="$deplib $finalize_deplibs"
16488+	    fi
16489+	    func_stripname '-L' '' "$deplib"
16490+	    newlib_search_path="$newlib_search_path $func_stripname_result"
16491+	    ;;
16492+	  *)
16493+	    func_warning "\`-L' is ignored for archives/objects"
16494+	    ;;
16495+	  esac # linkmode
16496+	  continue
16497+	  ;; # -L
16498+	-R*)
16499+	  if test "$pass" = link; then
16500+	    func_stripname '-R' '' "$deplib"
16501+	    dir=$func_stripname_result
16502+	    # Make sure the xrpath contains only unique directories.
16503+	    case "$xrpath " in
16504+	    *" $dir "*) ;;
16505+	    *) xrpath="$xrpath $dir" ;;
16506+	    esac
16507+	  fi
16508+	  deplibs="$deplib $deplibs"
16509+	  continue
16510+	  ;;
16511+	*.la) lib="$deplib" ;;
16512+	*.$libext)
16513+	  if test "$pass" = conv; then
16514+	    deplibs="$deplib $deplibs"
16515+	    continue
16516+	  fi
16517+	  case $linkmode in
16518+	  lib)
16519+	    # Linking convenience modules into shared libraries is allowed,
16520+	    # but linking other static libraries is non-portable.
16521+	    case " $dlpreconveniencelibs " in
16522+	    *" $deplib "*) ;;
16523+	    *)
16524+	      valid_a_lib=no
16525+	      case $deplibs_check_method in
16526+		match_pattern*)
16527+		  set dummy $deplibs_check_method; shift
16528+		  match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"`
16529+		  if eval "\$ECHO \"X$deplib\"" 2>/dev/null | $Xsed -e 10q \
16530+		    | $EGREP "$match_pattern_regex" > /dev/null; then
16531+		    valid_a_lib=yes
16532+		  fi
16533+		;;
16534+		pass_all)
16535+		  valid_a_lib=yes
16536+		;;
16537+	      esac
16538+	      if test "$valid_a_lib" != yes; then
16539+		$ECHO
16540+		$ECHO "*** Warning: Trying to link with static lib archive $deplib."
16541+		$ECHO "*** I have the capability to make that library automatically link in when"
16542+		$ECHO "*** you link to this library.  But I can only do this if you have a"
16543+		$ECHO "*** shared version of the library, which you do not appear to have"
16544+		$ECHO "*** because the file extensions .$libext of this argument makes me believe"
16545+		$ECHO "*** that it is just a static archive that I should not use here."
16546+	      else
16547+		$ECHO
16548+		$ECHO "*** Warning: Linking the shared library $output against the"
16549+		$ECHO "*** static library $deplib is not portable!"
16550+		deplibs="$deplib $deplibs"
16551+	      fi
16552+	      ;;
16553+	    esac
16554+	    continue
16555+	    ;;
16556+	  prog)
16557+	    if test "$pass" != link; then
16558+	      deplibs="$deplib $deplibs"
16559+	    else
16560+	      compile_deplibs="$deplib $compile_deplibs"
16561+	      finalize_deplibs="$deplib $finalize_deplibs"
16562+	    fi
16563+	    continue
16564+	    ;;
16565+	  esac # linkmode
16566+	  ;; # *.$libext
16567+	*.lo | *.$objext)
16568+	  if test "$pass" = conv; then
16569+	    deplibs="$deplib $deplibs"
16570+	  elif test "$linkmode" = prog; then
16571+	    if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
16572+	      # If there is no dlopen support or we're linking statically,
16573+	      # we need to preload.
16574+	      newdlprefiles="$newdlprefiles $deplib"
16575+	      compile_deplibs="$deplib $compile_deplibs"
16576+	      finalize_deplibs="$deplib $finalize_deplibs"
16577+	    else
16578+	      newdlfiles="$newdlfiles $deplib"
16579+	    fi
16580+	  fi
16581+	  continue
16582+	  ;;
16583+	%DEPLIBS%)
16584+	  alldeplibs=yes
16585+	  continue
16586+	  ;;
16587+	esac # case $deplib
16588+
16589+	if test "$found" = yes || test -f "$lib"; then :
16590+	else
16591+	  func_fatal_error "cannot find the library \`$lib' or unhandled argument \`$deplib'"
16592+	fi
16593+
16594+	# Check to see that this really is a libtool archive.
16595+	func_lalib_unsafe_p "$lib" \
16596+	  || func_fatal_error "\`$lib' is not a valid libtool archive"
16597+
16598+	func_dirname "$lib" "" "."
16599+	ladir="$func_dirname_result"
16600+
16601+	dlname=
16602+	dlopen=
16603+	dlpreopen=
16604+	libdir=
16605+	library_names=
16606+	old_library=
16607+	inherited_linker_flags=
16608+	# If the library was installed with an old release of libtool,
16609+	# it will not redefine variables installed, or shouldnotlink
16610+	installed=yes
16611+	shouldnotlink=no
16612+	avoidtemprpath=
16613+
16614+
16615+	# Read the .la file
16616+	func_source "$lib"
16617+
16618+	# Convert "-framework foo" to "foo.ltframework"
16619+	if test -n "$inherited_linker_flags"; then
16620+	  tmp_inherited_linker_flags=`$ECHO "X$inherited_linker_flags" | $Xsed -e 's/-framework \([^ $]*\)/\1.ltframework/g'`
16621+	  for tmp_inherited_linker_flag in $tmp_inherited_linker_flags; do
16622+	    case " $new_inherited_linker_flags " in
16623+	      *" $tmp_inherited_linker_flag "*) ;;
16624+	      *) new_inherited_linker_flags="$new_inherited_linker_flags $tmp_inherited_linker_flag";;
16625+	    esac
16626+	  done
16627+	fi
16628+	dependency_libs=`$ECHO "X $dependency_libs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
16629+	if test "$linkmode,$pass" = "lib,link" ||
16630+	   test "$linkmode,$pass" = "prog,scan" ||
16631+	   { test "$linkmode" != prog && test "$linkmode" != lib; }; then
16632+	  test -n "$dlopen" && dlfiles="$dlfiles $dlopen"
16633+	  test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen"
16634+	fi
16635+
16636+	if test "$pass" = conv; then
16637+	  # Only check for convenience libraries
16638+	  deplibs="$lib $deplibs"
16639+	  if test -z "$libdir"; then
16640+	    if test -z "$old_library"; then
16641+	      func_fatal_error "cannot find name of link library for \`$lib'"
16642+	    fi
16643+	    # It is a libtool convenience library, so add in its objects.
16644+	    convenience="$convenience $ladir/$objdir/$old_library"
16645+	    old_convenience="$old_convenience $ladir/$objdir/$old_library"
16646+	  elif test "$linkmode" != prog && test "$linkmode" != lib; then
16647+	    func_fatal_error "\`$lib' is not a convenience library"
16648+	  fi
16649+	  tmp_libs=
16650+	  for deplib in $dependency_libs; do
16651+	    deplibs="$deplib $deplibs"
16652+	    if $opt_duplicate_deps ; then
16653+	      case "$tmp_libs " in
16654+	      *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
16655+	      esac
16656+	    fi
16657+	    tmp_libs="$tmp_libs $deplib"
16658+	  done
16659+	  continue
16660+	fi # $pass = conv
16661+
16662+
16663+	# Get the name of the library we link against.
16664+	linklib=
16665+	for l in $old_library $library_names; do
16666+	  linklib="$l"
16667+	done
16668+	if test -z "$linklib"; then
16669+	  func_fatal_error "cannot find name of link library for \`$lib'"
16670+	fi
16671+
16672+	# This library was specified with -dlopen.
16673+	if test "$pass" = dlopen; then
16674+	  if test -z "$libdir"; then
16675+	    func_fatal_error "cannot -dlopen a convenience library: \`$lib'"
16676+	  fi
16677+	  if test -z "$dlname" ||
16678+	     test "$dlopen_support" != yes ||
16679+	     test "$build_libtool_libs" = no; then
16680+	    # If there is no dlname, no dlopen support or we're linking
16681+	    # statically, we need to preload.  We also need to preload any
16682+	    # dependent libraries so libltdl's deplib preloader doesn't
16683+	    # bomb out in the load deplibs phase.
16684+	    dlprefiles="$dlprefiles $lib $dependency_libs"
16685+	  else
16686+	    newdlfiles="$newdlfiles $lib"
16687+	  fi
16688+	  continue
16689+	fi # $pass = dlopen
16690+
16691+	# We need an absolute path.
16692+	case $ladir in
16693+	[\\/]* | [A-Za-z]:[\\/]*) abs_ladir="$ladir" ;;
16694+	*)
16695+	  abs_ladir=`cd "$ladir" && pwd`
16696+	  if test -z "$abs_ladir"; then
16697+	    func_warning "cannot determine absolute directory name of \`$ladir'"
16698+	    func_warning "passing it literally to the linker, although it might fail"
16699+	    abs_ladir="$ladir"
16700+	  fi
16701+	  ;;
16702+	esac
16703+	func_basename "$lib"
16704+	laname="$func_basename_result"
16705+
16706+	# Find the relevant object directory and library name.
16707+	if test "X$installed" = Xyes; then
16708+	  if test ! -f "$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then
16709+	    func_warning "library \`$lib' was moved."
16710+	    dir="$ladir"
16711+	    absdir="$abs_ladir"
16712+	    libdir="$abs_ladir"
16713+	  else
16714+	    dir="$libdir"
16715+	    absdir="$libdir"
16716+	  fi
16717+	  test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes
16718+	else
16719+	  if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then
16720+	    dir="$ladir"
16721+	    absdir="$abs_ladir"
16722+	    # Remove this search path later
16723+	    notinst_path="$notinst_path $abs_ladir"
16724+	  else
16725+	    dir="$ladir/$objdir"
16726+	    absdir="$abs_ladir/$objdir"
16727+	    # Remove this search path later
16728+	    notinst_path="$notinst_path $abs_ladir"
16729+	  fi
16730+	fi # $installed = yes
16731+	func_stripname 'lib' '.la' "$laname"
16732+	name=$func_stripname_result
16733+
16734+	# This library was specified with -dlpreopen.
16735+	if test "$pass" = dlpreopen; then
16736+	  if test -z "$libdir" && test "$linkmode" = prog; then
16737+	    func_fatal_error "only libraries may -dlpreopen a convenience library: \`$lib'"
16738+	  fi
16739+	  # Prefer using a static library (so that no silly _DYNAMIC symbols
16740+	  # are required to link).
16741+	  if test -n "$old_library"; then
16742+	    newdlprefiles="$newdlprefiles $dir/$old_library"
16743+	    # Keep a list of preopened convenience libraries to check
16744+	    # that they are being used correctly in the link pass.
16745+	    test -z "$libdir" && \
16746+		dlpreconveniencelibs="$dlpreconveniencelibs $dir/$old_library"
16747+	  # Otherwise, use the dlname, so that lt_dlopen finds it.
16748+	  elif test -n "$dlname"; then
16749+	    newdlprefiles="$newdlprefiles $dir/$dlname"
16750+	  else
16751+	    newdlprefiles="$newdlprefiles $dir/$linklib"
16752+	  fi
16753+	fi # $pass = dlpreopen
16754+
16755+	if test -z "$libdir"; then
16756+	  # Link the convenience library
16757+	  if test "$linkmode" = lib; then
16758+	    deplibs="$dir/$old_library $deplibs"
16759+	  elif test "$linkmode,$pass" = "prog,link"; then
16760+	    compile_deplibs="$dir/$old_library $compile_deplibs"
16761+	    finalize_deplibs="$dir/$old_library $finalize_deplibs"
16762+	  else
16763+	    deplibs="$lib $deplibs" # used for prog,scan pass
16764+	  fi
16765+	  continue
16766+	fi
16767+
16768+
16769+	if test "$linkmode" = prog && test "$pass" != link; then
16770+	  newlib_search_path="$newlib_search_path $ladir"
16771+	  deplibs="$lib $deplibs"
16772+
16773+	  linkalldeplibs=no
16774+	  if test "$link_all_deplibs" != no || test -z "$library_names" ||
16775+	     test "$build_libtool_libs" = no; then
16776+	    linkalldeplibs=yes
16777+	  fi
16778+
16779+	  tmp_libs=
16780+	  for deplib in $dependency_libs; do
16781+	    case $deplib in
16782+	    -L*) func_stripname '-L' '' "$deplib"
16783+	         newlib_search_path="$newlib_search_path $func_stripname_result"
16784+		 ;;
16785+	    esac
16786+	    # Need to link against all dependency_libs?
16787+	    if test "$linkalldeplibs" = yes; then
16788+	      deplibs="$deplib $deplibs"
16789+	    else
16790+	      # Need to hardcode shared library paths
16791+	      # or/and link against static libraries
16792+	      newdependency_libs="$deplib $newdependency_libs"
16793+	    fi
16794+	    if $opt_duplicate_deps ; then
16795+	      case "$tmp_libs " in
16796+	      *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
16797+	      esac
16798+	    fi
16799+	    tmp_libs="$tmp_libs $deplib"
16800+	  done # for deplib
16801+	  continue
16802+	fi # $linkmode = prog...
16803+
16804+	if test "$linkmode,$pass" = "prog,link"; then
16805+	  if test -n "$library_names" &&
16806+	     { { test "$prefer_static_libs" = no ||
16807+	         test "$prefer_static_libs,$installed" = "built,yes"; } ||
16808+	       test -z "$old_library"; }; then
16809+	    # We need to hardcode the library path
16810+	    if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then
16811+	      # Make sure the rpath contains only unique directories.
16812+	      case "$temp_rpath:" in
16813+	      *"$absdir:"*) ;;
16814+	      *) temp_rpath="$temp_rpath$absdir:" ;;
16815+	      esac
16816+	    fi
16817+
16818+	    # Hardcode the library path.
16819+	    # Skip directories that are in the system default run-time
16820+	    # search path.
16821+	    case " $sys_lib_dlsearch_path " in
16822+	    *" $absdir "*) ;;
16823+	    *)
16824+	      case "$compile_rpath " in
16825+	      *" $absdir "*) ;;
16826+	      *) compile_rpath="$compile_rpath $absdir"
16827+	      esac
16828+	      ;;
16829+	    esac
16830+	    case " $sys_lib_dlsearch_path " in
16831+	    *" $libdir "*) ;;
16832+	    *)
16833+	      case "$finalize_rpath " in
16834+	      *" $libdir "*) ;;
16835+	      *) finalize_rpath="$finalize_rpath $libdir"
16836+	      esac
16837+	      ;;
16838+	    esac
16839+	  fi # $linkmode,$pass = prog,link...
16840+
16841+	  if test "$alldeplibs" = yes &&
16842+	     { test "$deplibs_check_method" = pass_all ||
16843+	       { test "$build_libtool_libs" = yes &&
16844+		 test -n "$library_names"; }; }; then
16845+	    # We only need to search for static libraries
16846+	    continue
16847+	  fi
16848+	fi
16849+
16850+	link_static=no # Whether the deplib will be linked statically
16851+	use_static_libs=$prefer_static_libs
16852+	if test "$use_static_libs" = built && test "$installed" = yes; then
16853+	  use_static_libs=no
16854+	fi
16855+	if test -n "$library_names" &&
16856+	   { test "$use_static_libs" = no || test -z "$old_library"; }; then
16857+	  case $host in
16858+	  *cygwin* | *mingw* | *cegcc*)
16859+	      # No point in relinking DLLs because paths are not encoded
16860+	      notinst_deplibs="$notinst_deplibs $lib"
16861+	      need_relink=no
16862+	    ;;
16863+	  *)
16864+	    if test "$installed" = no; then
16865+	      notinst_deplibs="$notinst_deplibs $lib"
16866+	      need_relink=yes
16867+	    fi
16868+	    ;;
16869+	  esac
16870+	  # This is a shared library
16871+
16872+	  # Warn about portability, can't link against -module's on some
16873+	  # systems (darwin).  Don't bleat about dlopened modules though!
16874+	  dlopenmodule=""
16875+	  for dlpremoduletest in $dlprefiles; do
16876+	    if test "X$dlpremoduletest" = "X$lib"; then
16877+	      dlopenmodule="$dlpremoduletest"
16878+	      break
16879+	    fi
16880+	  done
16881+	  if test -z "$dlopenmodule" && test "$shouldnotlink" = yes && test "$pass" = link; then
16882+	    $ECHO
16883+	    if test "$linkmode" = prog; then
16884+	      $ECHO "*** Warning: Linking the executable $output against the loadable module"
16885+	    else
16886+	      $ECHO "*** Warning: Linking the shared library $output against the loadable module"
16887+	    fi
16888+	    $ECHO "*** $linklib is not portable!"
16889+	  fi
16890+	  if test "$linkmode" = lib &&
16891+	     test "$hardcode_into_libs" = yes; then
16892+	    # Hardcode the library path.
16893+	    # Skip directories that are in the system default run-time
16894+	    # search path.
16895+	    case " $sys_lib_dlsearch_path " in
16896+	    *" $absdir "*) ;;
16897+	    *)
16898+	      case "$compile_rpath " in
16899+	      *" $absdir "*) ;;
16900+	      *) compile_rpath="$compile_rpath $absdir"
16901+	      esac
16902+	      ;;
16903+	    esac
16904+	    case " $sys_lib_dlsearch_path " in
16905+	    *" $libdir "*) ;;
16906+	    *)
16907+	      case "$finalize_rpath " in
16908+	      *" $libdir "*) ;;
16909+	      *) finalize_rpath="$finalize_rpath $libdir"
16910+	      esac
16911+	      ;;
16912+	    esac
16913+	  fi
16914+
16915+	  if test -n "$old_archive_from_expsyms_cmds"; then
16916+	    # figure out the soname
16917+	    set dummy $library_names
16918+	    shift
16919+	    realname="$1"
16920+	    shift
16921+	    libname=`eval "\\$ECHO \"$libname_spec\""`
16922+	    # use dlname if we got it. it's perfectly good, no?
16923+	    if test -n "$dlname"; then
16924+	      soname="$dlname"
16925+	    elif test -n "$soname_spec"; then
16926+	      # bleh windows
16927+	      case $host in
16928+	      *cygwin* | mingw* | *cegcc*)
16929+	        func_arith $current - $age
16930+		major=$func_arith_result
16931+		versuffix="-$major"
16932+		;;
16933+	      esac
16934+	      eval soname=\"$soname_spec\"
16935+	    else
16936+	      soname="$realname"
16937+	    fi
16938+
16939+	    # Make a new name for the extract_expsyms_cmds to use
16940+	    soroot="$soname"
16941+	    func_basename "$soroot"
16942+	    soname="$func_basename_result"
16943+	    func_stripname 'lib' '.dll' "$soname"
16944+	    newlib=libimp-$func_stripname_result.a
16945+
16946+	    # If the library has no export list, then create one now
16947+	    if test -f "$output_objdir/$soname-def"; then :
16948+	    else
16949+	      func_verbose "extracting exported symbol list from \`$soname'"
16950+	      func_execute_cmds "$extract_expsyms_cmds" 'exit $?'
16951+	    fi
16952+
16953+	    # Create $newlib
16954+	    if test -f "$output_objdir/$newlib"; then :; else
16955+	      func_verbose "generating import library for \`$soname'"
16956+	      func_execute_cmds "$old_archive_from_expsyms_cmds" 'exit $?'
16957+	    fi
16958+	    # make sure the library variables are pointing to the new library
16959+	    dir=$output_objdir
16960+	    linklib=$newlib
16961+	  fi # test -n "$old_archive_from_expsyms_cmds"
16962+
16963+	  if test "$linkmode" = prog || test "$mode" != relink; then
16964+	    add_shlibpath=
16965+	    add_dir=
16966+	    add=
16967+	    lib_linked=yes
16968+	    case $hardcode_action in
16969+	    immediate | unsupported)
16970+	      if test "$hardcode_direct" = no; then
16971+		add="$dir/$linklib"
16972+		case $host in
16973+		  *-*-sco3.2v5.0.[024]*) add_dir="-L$dir" ;;
16974+		  *-*-sysv4*uw2*) add_dir="-L$dir" ;;
16975+		  *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \
16976+		    *-*-unixware7*) add_dir="-L$dir" ;;
16977+		  *-*-darwin* )
16978+		    # if the lib is a (non-dlopened) module then we can not
16979+		    # link against it, someone is ignoring the earlier warnings
16980+		    if /usr/bin/file -L $add 2> /dev/null |
16981+			 $GREP ": [^:]* bundle" >/dev/null ; then
16982+		      if test "X$dlopenmodule" != "X$lib"; then
16983+			$ECHO "*** Warning: lib $linklib is a module, not a shared library"
16984+			if test -z "$old_library" ; then
16985+			  $ECHO
16986+			  $ECHO "*** And there doesn't seem to be a static archive available"
16987+			  $ECHO "*** The link will probably fail, sorry"
16988+			else
16989+			  add="$dir/$old_library"
16990+			fi
16991+		      elif test -n "$old_library"; then
16992+			add="$dir/$old_library"
16993+		      fi
16994+		    fi
16995+		esac
16996+	      elif test "$hardcode_minus_L" = no; then
16997+		case $host in
16998+		*-*-sunos*) add_shlibpath="$dir" ;;
16999+		esac
17000+		add_dir="-L$dir"
17001+		add="-l$name"
17002+	      elif test "$hardcode_shlibpath_var" = no; then
17003+		add_shlibpath="$dir"
17004+		add="-l$name"
17005+	      else
17006+		lib_linked=no
17007+	      fi
17008+	      ;;
17009+	    relink)
17010+	      if test "$hardcode_direct" = yes &&
17011+	         test "$hardcode_direct_absolute" = no; then
17012+		add="$dir/$linklib"
17013+	      elif test "$hardcode_minus_L" = yes; then
17014+		add_dir="-L$dir"
17015+		# Try looking first in the location we're being installed to.
17016+		if test -n "$inst_prefix_dir"; then
17017+		  case $libdir in
17018+		    [\\/]*)
17019+		      add_dir="$add_dir -L$inst_prefix_dir$libdir"
17020+		      ;;
17021+		  esac
17022+		fi
17023+		add="-l$name"
17024+	      elif test "$hardcode_shlibpath_var" = yes; then
17025+		add_shlibpath="$dir"
17026+		add="-l$name"
17027+	      else
17028+		lib_linked=no
17029+	      fi
17030+	      ;;
17031+	    *) lib_linked=no ;;
17032+	    esac
17033+
17034+	    if test "$lib_linked" != yes; then
17035+	      func_fatal_configuration "unsupported hardcode properties"
17036+	    fi
17037+
17038+	    if test -n "$add_shlibpath"; then
17039+	      case :$compile_shlibpath: in
17040+	      *":$add_shlibpath:"*) ;;
17041+	      *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;;
17042+	      esac
17043+	    fi
17044+	    if test "$linkmode" = prog; then
17045+	      test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs"
17046+	      test -n "$add" && compile_deplibs="$add $compile_deplibs"
17047+	    else
17048+	      test -n "$add_dir" && deplibs="$add_dir $deplibs"
17049+	      test -n "$add" && deplibs="$add $deplibs"
17050+	      if test "$hardcode_direct" != yes &&
17051+		 test "$hardcode_minus_L" != yes &&
17052+		 test "$hardcode_shlibpath_var" = yes; then
17053+		case :$finalize_shlibpath: in
17054+		*":$libdir:"*) ;;
17055+		*) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
17056+		esac
17057+	      fi
17058+	    fi
17059+	  fi
17060+
17061+	  if test "$linkmode" = prog || test "$mode" = relink; then
17062+	    add_shlibpath=
17063+	    add_dir=
17064+	    add=
17065+	    # Finalize command for both is simple: just hardcode it.
17066+	    if test "$hardcode_direct" = yes &&
17067+	       test "$hardcode_direct_absolute" = no; then
17068+	      add="$libdir/$linklib"
17069+	    elif test "$hardcode_minus_L" = yes; then
17070+	      add_dir="-L$libdir"
17071+	      add="-l$name"
17072+	    elif test "$hardcode_shlibpath_var" = yes; then
17073+	      case :$finalize_shlibpath: in
17074+	      *":$libdir:"*) ;;
17075+	      *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
17076+	      esac
17077+	      add="-l$name"
17078+	    elif test "$hardcode_automatic" = yes; then
17079+	      if test -n "$inst_prefix_dir" &&
17080+		 test -f "$inst_prefix_dir$libdir/$linklib" ; then
17081+		add="$inst_prefix_dir$libdir/$linklib"
17082+	      else
17083+		add="$libdir/$linklib"
17084+	      fi
17085+	    else
17086+	      # We cannot seem to hardcode it, guess we'll fake it.
17087+	      add_dir="-L$libdir"
17088+	      # Try looking first in the location we're being installed to.
17089+	      if test -n "$inst_prefix_dir"; then
17090+		case $libdir in
17091+		  [\\/]*)
17092+		    add_dir="$add_dir -L$inst_prefix_dir$libdir"
17093+		    ;;
17094+		esac
17095+	      fi
17096+	      add="-l$name"
17097+	    fi
17098+
17099+	    if test "$linkmode" = prog; then
17100+	      test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs"
17101+	      test -n "$add" && finalize_deplibs="$add $finalize_deplibs"
17102+	    else
17103+	      test -n "$add_dir" && deplibs="$add_dir $deplibs"
17104+	      test -n "$add" && deplibs="$add $deplibs"
17105+	    fi
17106+	  fi
17107+	elif test "$linkmode" = prog; then
17108+	  # Here we assume that one of hardcode_direct or hardcode_minus_L
17109+	  # is not unsupported.  This is valid on all known static and
17110+	  # shared platforms.
17111+	  if test "$hardcode_direct" != unsupported; then
17112+	    test -n "$old_library" && linklib="$old_library"
17113+	    compile_deplibs="$dir/$linklib $compile_deplibs"
17114+	    finalize_deplibs="$dir/$linklib $finalize_deplibs"
17115+	  else
17116+	    compile_deplibs="-l$name -L$dir $compile_deplibs"
17117+	    finalize_deplibs="-l$name -L$dir $finalize_deplibs"
17118+	  fi
17119+	elif test "$build_libtool_libs" = yes; then
17120+	  # Not a shared library
17121+	  if test "$deplibs_check_method" != pass_all; then
17122+	    # We're trying link a shared library against a static one
17123+	    # but the system doesn't support it.
17124+
17125+	    # Just print a warning and add the library to dependency_libs so
17126+	    # that the program can be linked against the static library.
17127+	    $ECHO
17128+	    $ECHO "*** Warning: This system can not link to static lib archive $lib."
17129+	    $ECHO "*** I have the capability to make that library automatically link in when"
17130+	    $ECHO "*** you link to this library.  But I can only do this if you have a"
17131+	    $ECHO "*** shared version of the library, which you do not appear to have."
17132+	    if test "$module" = yes; then
17133+	      $ECHO "*** But as you try to build a module library, libtool will still create "
17134+	      $ECHO "*** a static module, that should work as long as the dlopening application"
17135+	      $ECHO "*** is linked with the -dlopen flag to resolve symbols at runtime."
17136+	      if test -z "$global_symbol_pipe"; then
17137+		$ECHO
17138+		$ECHO "*** However, this would only work if libtool was able to extract symbol"
17139+		$ECHO "*** lists from a program, using \`nm' or equivalent, but libtool could"
17140+		$ECHO "*** not find such a program.  So, this module is probably useless."
17141+		$ECHO "*** \`nm' from GNU binutils and a full rebuild may help."
17142+	      fi
17143+	      if test "$build_old_libs" = no; then
17144+		build_libtool_libs=module
17145+		build_old_libs=yes
17146+	      else
17147+		build_libtool_libs=no
17148+	      fi
17149+	    fi
17150+	  else
17151+	    deplibs="$dir/$old_library $deplibs"
17152+	    link_static=yes
17153+	  fi
17154+	fi # link shared/static library?
17155+
17156+	if test "$linkmode" = lib; then
17157+	  if test -n "$dependency_libs" &&
17158+	     { test "$hardcode_into_libs" != yes ||
17159+	       test "$build_old_libs" = yes ||
17160+	       test "$link_static" = yes; }; then
17161+	    # Extract -R from dependency_libs
17162+	    temp_deplibs=
17163+	    for libdir in $dependency_libs; do
17164+	      case $libdir in
17165+	      -R*) func_stripname '-R' '' "$libdir"
17166+	           temp_xrpath=$func_stripname_result
17167+		   case " $xrpath " in
17168+		   *" $temp_xrpath "*) ;;
17169+		   *) xrpath="$xrpath $temp_xrpath";;
17170+		   esac;;
17171+	      *) temp_deplibs="$temp_deplibs $libdir";;
17172+	      esac
17173+	    done
17174+	    dependency_libs="$temp_deplibs"
17175+	  fi
17176+
17177+	  newlib_search_path="$newlib_search_path $absdir"
17178+	  # Link against this library
17179+	  test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs"
17180+	  # ... and its dependency_libs
17181+	  tmp_libs=
17182+	  for deplib in $dependency_libs; do
17183+	    newdependency_libs="$deplib $newdependency_libs"
17184+	    if $opt_duplicate_deps ; then
17185+	      case "$tmp_libs " in
17186+	      *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
17187+	      esac
17188+	    fi
17189+	    tmp_libs="$tmp_libs $deplib"
17190+	  done
17191+
17192+	  if test "$link_all_deplibs" != no; then
17193+	    # Add the search paths of all dependency libraries
17194+	    for deplib in $dependency_libs; do
17195+	      case $deplib in
17196+	      -L*) path="$deplib" ;;
17197+	      *.la)
17198+	        func_dirname "$deplib" "" "."
17199+		dir="$func_dirname_result"
17200+		# We need an absolute path.
17201+		case $dir in
17202+		[\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;;
17203+		*)
17204+		  absdir=`cd "$dir" && pwd`
17205+		  if test -z "$absdir"; then
17206+		    func_warning "cannot determine absolute directory name of \`$dir'"
17207+		    absdir="$dir"
17208+		  fi
17209+		  ;;
17210+		esac
17211+		if $GREP "^installed=no" $deplib > /dev/null; then
17212+		case $host in
17213+		*-*-darwin*)
17214+		  depdepl=
17215+		  eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib`
17216+		  if test -n "$deplibrary_names" ; then
17217+		    for tmp in $deplibrary_names ; do
17218+		      depdepl=$tmp
17219+		    done
17220+		    if test -f "$absdir/$objdir/$depdepl" ; then
17221+		      depdepl="$absdir/$objdir/$depdepl"
17222+		      darwin_install_name=`${OTOOL} -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'`
17223+                      if test -z "$darwin_install_name"; then
17224+                          darwin_install_name=`${OTOOL64} -L $depdepl  | awk '{if (NR == 2) {print $1;exit}}'`
17225+                      fi
17226+		      compiler_flags="$compiler_flags ${wl}-dylib_file ${wl}${darwin_install_name}:${depdepl}"
17227+		      linker_flags="$linker_flags -dylib_file ${darwin_install_name}:${depdepl}"
17228+		      path=
17229+		    fi
17230+		  fi
17231+		  ;;
17232+		*)
17233+		  path="-L$absdir/$objdir"
17234+		  ;;
17235+		esac
17236+		else
17237+		  eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
17238+		  test -z "$libdir" && \
17239+		    func_fatal_error "\`$deplib' is not a valid libtool archive"
17240+		  test "$absdir" != "$libdir" && \
17241+		    func_warning "\`$deplib' seems to be moved"
17242+
17243+		  path="-L$absdir"
17244+		fi
17245+		;;
17246+	      esac
17247+	      case " $deplibs " in
17248+	      *" $path "*) ;;
17249+	      *) deplibs="$path $deplibs" ;;
17250+	      esac
17251+	    done
17252+	  fi # link_all_deplibs != no
17253+	fi # linkmode = lib
17254+      done # for deplib in $libs
17255+      if test "$pass" = link; then
17256+	if test "$linkmode" = "prog"; then
17257+	  compile_deplibs="$new_inherited_linker_flags $compile_deplibs"
17258+	  finalize_deplibs="$new_inherited_linker_flags $finalize_deplibs"
17259+	else
17260+	  compiler_flags="$compiler_flags "`$ECHO "X $new_inherited_linker_flags" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
17261+	fi
17262+      fi
17263+      dependency_libs="$newdependency_libs"
17264+      if test "$pass" = dlpreopen; then
17265+	# Link the dlpreopened libraries before other libraries
17266+	for deplib in $save_deplibs; do
17267+	  deplibs="$deplib $deplibs"
17268+	done
17269+      fi
17270+      if test "$pass" != dlopen; then
17271+	if test "$pass" != conv; then
17272+	  # Make sure lib_search_path contains only unique directories.
17273+	  lib_search_path=
17274+	  for dir in $newlib_search_path; do
17275+	    case "$lib_search_path " in
17276+	    *" $dir "*) ;;
17277+	    *) lib_search_path="$lib_search_path $dir" ;;
17278+	    esac
17279+	  done
17280+	  newlib_search_path=
17281+	fi
17282+
17283+	if test "$linkmode,$pass" != "prog,link"; then
17284+	  vars="deplibs"
17285+	else
17286+	  vars="compile_deplibs finalize_deplibs"
17287+	fi
17288+	for var in $vars dependency_libs; do
17289+	  # Add libraries to $var in reverse order
17290+	  eval tmp_libs=\"\$$var\"
17291+	  new_libs=
17292+	  for deplib in $tmp_libs; do
17293+	    # FIXME: Pedantically, this is the right thing to do, so
17294+	    #        that some nasty dependency loop isn't accidentally
17295+	    #        broken:
17296+	    #new_libs="$deplib $new_libs"
17297+	    # Pragmatically, this seems to cause very few problems in
17298+	    # practice:
17299+	    case $deplib in
17300+	    -L*) new_libs="$deplib $new_libs" ;;
17301+	    -R*) ;;
17302+	    *)
17303+	      # And here is the reason: when a library appears more
17304+	      # than once as an explicit dependence of a library, or
17305+	      # is implicitly linked in more than once by the
17306+	      # compiler, it is considered special, and multiple
17307+	      # occurrences thereof are not removed.  Compare this
17308+	      # with having the same library being listed as a
17309+	      # dependency of multiple other libraries: in this case,
17310+	      # we know (pedantically, we assume) the library does not
17311+	      # need to be listed more than once, so we keep only the
17312+	      # last copy.  This is not always right, but it is rare
17313+	      # enough that we require users that really mean to play
17314+	      # such unportable linking tricks to link the library
17315+	      # using -Wl,-lname, so that libtool does not consider it
17316+	      # for duplicate removal.
17317+	      case " $specialdeplibs " in
17318+	      *" $deplib "*) new_libs="$deplib $new_libs" ;;
17319+	      *)
17320+		case " $new_libs " in
17321+		*" $deplib "*) ;;
17322+		*) new_libs="$deplib $new_libs" ;;
17323+		esac
17324+		;;
17325+	      esac
17326+	      ;;
17327+	    esac
17328+	  done
17329+	  tmp_libs=
17330+	  for deplib in $new_libs; do
17331+	    case $deplib in
17332+	    -L*)
17333+	      case " $tmp_libs " in
17334+	      *" $deplib "*) ;;
17335+	      *) tmp_libs="$tmp_libs $deplib" ;;
17336+	      esac
17337+	      ;;
17338+	    *) tmp_libs="$tmp_libs $deplib" ;;
17339+	    esac
17340+	  done
17341+	  eval $var=\"$tmp_libs\"
17342+	done # for var
17343+      fi
17344+      # Last step: remove runtime libs from dependency_libs
17345+      # (they stay in deplibs)
17346+      tmp_libs=
17347+      for i in $dependency_libs ; do
17348+	case " $predeps $postdeps $compiler_lib_search_path " in
17349+	*" $i "*)
17350+	  i=""
17351+	  ;;
17352+	esac
17353+	if test -n "$i" ; then
17354+	  tmp_libs="$tmp_libs $i"
17355+	fi
17356+      done
17357+      dependency_libs=$tmp_libs
17358+    done # for pass
17359+    if test "$linkmode" = prog; then
17360+      dlfiles="$newdlfiles"
17361+    fi
17362+    if test "$linkmode" = prog || test "$linkmode" = lib; then
17363+      dlprefiles="$newdlprefiles"
17364+    fi
17365+
17366+    case $linkmode in
17367+    oldlib)
17368+      if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
17369+	func_warning "\`-dlopen' is ignored for archives"
17370+      fi
17371+
17372+      case " $deplibs" in
17373+      *\ -l* | *\ -L*)
17374+	func_warning "\`-l' and \`-L' are ignored for archives" ;;
17375+      esac
17376+
17377+      test -n "$rpath" && \
17378+	func_warning "\`-rpath' is ignored for archives"
17379+
17380+      test -n "$xrpath" && \
17381+	func_warning "\`-R' is ignored for archives"
17382+
17383+      test -n "$vinfo" && \
17384+	func_warning "\`-version-info/-version-number' is ignored for archives"
17385+
17386+      test -n "$release" && \
17387+	func_warning "\`-release' is ignored for archives"
17388+
17389+      test -n "$export_symbols$export_symbols_regex" && \
17390+	func_warning "\`-export-symbols' is ignored for archives"
17391+
17392+      # Now set the variables for building old libraries.
17393+      build_libtool_libs=no
17394+      oldlibs="$output"
17395+      objs="$objs$old_deplibs"
17396+      ;;
17397+
17398+    lib)
17399+      # Make sure we only generate libraries of the form `libNAME.la'.
17400+      case $outputname in
17401+      lib*)
17402+	func_stripname 'lib' '.la' "$outputname"
17403+	name=$func_stripname_result
17404+	eval shared_ext=\"$shrext_cmds\"
17405+	eval libname=\"$libname_spec\"
17406+	;;
17407+      *)
17408+	test "$module" = no && \
17409+	  func_fatal_help "libtool library \`$output' must begin with \`lib'"
17410+
17411+	if test "$need_lib_prefix" != no; then
17412+	  # Add the "lib" prefix for modules if required
17413+	  func_stripname '' '.la' "$outputname"
17414+	  name=$func_stripname_result
17415+	  eval shared_ext=\"$shrext_cmds\"
17416+	  eval libname=\"$libname_spec\"
17417+	else
17418+	  func_stripname '' '.la' "$outputname"
17419+	  libname=$func_stripname_result
17420+	fi
17421+	;;
17422+      esac
17423+
17424+      if test -n "$objs"; then
17425+	if test "$deplibs_check_method" != pass_all; then
17426+	  func_fatal_error "cannot build libtool library \`$output' from non-libtool objects on this host:$objs"
17427+	else
17428+	  $ECHO
17429+	  $ECHO "*** Warning: Linking the shared library $output against the non-libtool"
17430+	  $ECHO "*** objects $objs is not portable!"
17431+	  libobjs="$libobjs $objs"
17432+	fi
17433+      fi
17434+
17435+      test "$dlself" != no && \
17436+	func_warning "\`-dlopen self' is ignored for libtool libraries"
17437+
17438+      set dummy $rpath
17439+      shift
17440+      test "$#" -gt 1 && \
17441+	func_warning "ignoring multiple \`-rpath's for a libtool library"
17442+
17443+      install_libdir="$1"
17444+
17445+      oldlibs=
17446+      if test -z "$rpath"; then
17447+	if test "$build_libtool_libs" = yes; then
17448+	  # Building a libtool convenience library.
17449+	  # Some compilers have problems with a `.al' extension so
17450+	  # convenience libraries should have the same extension an
17451+	  # archive normally would.
17452+	  oldlibs="$output_objdir/$libname.$libext $oldlibs"
17453+	  build_libtool_libs=convenience
17454+	  build_old_libs=yes
17455+	fi
17456+
17457+	test -n "$vinfo" && \
17458+	  func_warning "\`-version-info/-version-number' is ignored for convenience libraries"
17459+
17460+	test -n "$release" && \
17461+	  func_warning "\`-release' is ignored for convenience libraries"
17462+      else
17463+
17464+	# Parse the version information argument.
17465+	save_ifs="$IFS"; IFS=':'
17466+	set dummy $vinfo 0 0 0
17467+	shift
17468+	IFS="$save_ifs"
17469+
17470+	test -n "$7" && \
17471+	  func_fatal_help "too many parameters to \`-version-info'"
17472+
17473+	# convert absolute version numbers to libtool ages
17474+	# this retains compatibility with .la files and attempts
17475+	# to make the code below a bit more comprehensible
17476+
17477+	case $vinfo_number in
17478+	yes)
17479+	  number_major="$1"
17480+	  number_minor="$2"
17481+	  number_revision="$3"
17482+	  #
17483+	  # There are really only two kinds -- those that
17484+	  # use the current revision as the major version
17485+	  # and those that subtract age and use age as
17486+	  # a minor version.  But, then there is irix
17487+	  # which has an extra 1 added just for fun
17488+	  #
17489+	  case $version_type in
17490+	  darwin|linux|osf|windows|none)
17491+	    func_arith $number_major + $number_minor
17492+	    current=$func_arith_result
17493+	    age="$number_minor"
17494+	    revision="$number_revision"
17495+	    ;;
17496+	  freebsd-aout|freebsd-elf|sunos)
17497+	    current="$number_major"
17498+	    revision="$number_minor"
17499+	    age="0"
17500+	    ;;
17501+	  irix|nonstopux)
17502+	    func_arith $number_major + $number_minor
17503+	    current=$func_arith_result
17504+	    age="$number_minor"
17505+	    revision="$number_minor"
17506+	    lt_irix_increment=no
17507+	    ;;
17508+	  esac
17509+	  ;;
17510+	no)
17511+	  current="$1"
17512+	  revision="$2"
17513+	  age="$3"
17514+	  ;;
17515+	esac
17516+
17517+	# Check that each of the things are valid numbers.
17518+	case $current in
17519+	0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
17520+	*)
17521+	  func_error "CURRENT \`$current' must be a nonnegative integer"
17522+	  func_fatal_error "\`$vinfo' is not valid version information"
17523+	  ;;
17524+	esac
17525+
17526+	case $revision in
17527+	0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
17528+	*)
17529+	  func_error "REVISION \`$revision' must be a nonnegative integer"
17530+	  func_fatal_error "\`$vinfo' is not valid version information"
17531+	  ;;
17532+	esac
17533+
17534+	case $age in
17535+	0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
17536+	*)
17537+	  func_error "AGE \`$age' must be a nonnegative integer"
17538+	  func_fatal_error "\`$vinfo' is not valid version information"
17539+	  ;;
17540+	esac
17541+
17542+	if test "$age" -gt "$current"; then
17543+	  func_error "AGE \`$age' is greater than the current interface number \`$current'"
17544+	  func_fatal_error "\`$vinfo' is not valid version information"
17545+	fi
17546+
17547+	# Calculate the version variables.
17548+	major=
17549+	versuffix=
17550+	verstring=
17551+	case $version_type in
17552+	none) ;;
17553+
17554+	darwin)
17555+	  # Like Linux, but with the current version available in
17556+	  # verstring for coding it into the library header
17557+	  func_arith $current - $age
17558+	  major=.$func_arith_result
17559+	  versuffix="$major.$age.$revision"
17560+	  # Darwin ld doesn't like 0 for these options...
17561+	  func_arith $current + 1
17562+	  minor_current=$func_arith_result
17563+	  xlcverstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision"
17564+	  verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"
17565+	  ;;
17566+
17567+	freebsd-aout)
17568+	  major=".$current"
17569+	  versuffix=".$current.$revision";
17570+	  ;;
17571+
17572+	freebsd-elf)
17573+	  major=".$current"
17574+	  versuffix=".$current"
17575+	  ;;
17576+
17577+	irix | nonstopux)
17578+	  if test "X$lt_irix_increment" = "Xno"; then
17579+	    func_arith $current - $age
17580+	  else
17581+	    func_arith $current - $age + 1
17582+	  fi
17583+	  major=$func_arith_result
17584+
17585+	  case $version_type in
17586+	    nonstopux) verstring_prefix=nonstopux ;;
17587+	    *)         verstring_prefix=sgi ;;
17588+	  esac
17589+	  verstring="$verstring_prefix$major.$revision"
17590+
17591+	  # Add in all the interfaces that we are compatible with.
17592+	  loop=$revision
17593+	  while test "$loop" -ne 0; do
17594+	    func_arith $revision - $loop
17595+	    iface=$func_arith_result
17596+	    func_arith $loop - 1
17597+	    loop=$func_arith_result
17598+	    verstring="$verstring_prefix$major.$iface:$verstring"
17599+	  done
17600+
17601+	  # Before this point, $major must not contain `.'.
17602+	  major=.$major
17603+	  versuffix="$major.$revision"
17604+	  ;;
17605+
17606+	linux)
17607+	  func_arith $current - $age
17608+	  major=.$func_arith_result
17609+	  versuffix="$major.$age.$revision"
17610+	  ;;
17611+
17612+	osf)
17613+	  func_arith $current - $age
17614+	  major=.$func_arith_result
17615+	  versuffix=".$current.$age.$revision"
17616+	  verstring="$current.$age.$revision"
17617+
17618+	  # Add in all the interfaces that we are compatible with.
17619+	  loop=$age
17620+	  while test "$loop" -ne 0; do
17621+	    func_arith $current - $loop
17622+	    iface=$func_arith_result
17623+	    func_arith $loop - 1
17624+	    loop=$func_arith_result
17625+	    verstring="$verstring:${iface}.0"
17626+	  done
17627+
17628+	  # Make executables depend on our current version.
17629+	  verstring="$verstring:${current}.0"
17630+	  ;;
17631+
17632+	qnx)
17633+	  major=".$current"
17634+	  versuffix=".$current"
17635+	  ;;
17636+
17637+	sunos)
17638+	  major=".$current"
17639+	  versuffix=".$current.$revision"
17640+	  ;;
17641+
17642+	windows)
17643+	  # Use '-' rather than '.', since we only want one
17644+	  # extension on DOS 8.3 filesystems.
17645+	  func_arith $current - $age
17646+	  major=$func_arith_result
17647+	  versuffix="-$major"
17648+	  ;;
17649+
17650+	*)
17651+	  func_fatal_configuration "unknown library version type \`$version_type'"
17652+	  ;;
17653+	esac
17654+
17655+	# Clear the version info if we defaulted, and they specified a release.
17656+	if test -z "$vinfo" && test -n "$release"; then
17657+	  major=
17658+	  case $version_type in
17659+	  darwin)
17660+	    # we can't check for "0.0" in archive_cmds due to quoting
17661+	    # problems, so we reset it completely
17662+	    verstring=
17663+	    ;;
17664+	  *)
17665+	    verstring="0.0"
17666+	    ;;
17667+	  esac
17668+	  if test "$need_version" = no; then
17669+	    versuffix=
17670+	  else
17671+	    versuffix=".0.0"
17672+	  fi
17673+	fi
17674+
17675+	# Remove version info from name if versioning should be avoided
17676+	if test "$avoid_version" = yes && test "$need_version" = no; then
17677+	  major=
17678+	  versuffix=
17679+	  verstring=""
17680+	fi
17681+
17682+	# Check to see if the archive will have undefined symbols.
17683+	if test "$allow_undefined" = yes; then
17684+	  if test "$allow_undefined_flag" = unsupported; then
17685+	    func_warning "undefined symbols not allowed in $host shared libraries"
17686+	    build_libtool_libs=no
17687+	    build_old_libs=yes
17688+	  fi
17689+	else
17690+	  # Don't allow undefined symbols.
17691+	  allow_undefined_flag="$no_undefined_flag"
17692+	fi
17693+
17694+      fi
17695+
17696+      func_generate_dlsyms "$libname" "$libname" "yes"
17697+      libobjs="$libobjs $symfileobj"
17698+      test "X$libobjs" = "X " && libobjs=
17699+
17700+      if test "$mode" != relink; then
17701+	# Remove our outputs, but don't remove object files since they
17702+	# may have been created when compiling PIC objects.
17703+	removelist=
17704+	tempremovelist=`$ECHO "$output_objdir/*"`
17705+	for p in $tempremovelist; do
17706+	  case $p in
17707+	    *.$objext | *.gcno)
17708+	       ;;
17709+	    $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*)
17710+	       if test "X$precious_files_regex" != "X"; then
17711+		 if $ECHO "$p" | $EGREP -e "$precious_files_regex" >/dev/null 2>&1
17712+		 then
17713+		   continue
17714+		 fi
17715+	       fi
17716+	       removelist="$removelist $p"
17717+	       ;;
17718+	    *) ;;
17719+	  esac
17720+	done
17721+	test -n "$removelist" && \
17722+	  func_show_eval "${RM}r \$removelist"
17723+      fi
17724+
17725+      # Now set the variables for building old libraries.
17726+      if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then
17727+	oldlibs="$oldlibs $output_objdir/$libname.$libext"
17728+
17729+	# Transform .lo files to .o files.
17730+	oldobjs="$objs "`$ECHO "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e "$lo2o" | $NL2SP`
17731+      fi
17732+
17733+      # Eliminate all temporary directories.
17734+      #for path in $notinst_path; do
17735+      #	lib_search_path=`$ECHO "X$lib_search_path " | $Xsed -e "s% $path % %g"`
17736+      #	deplibs=`$ECHO "X$deplibs " | $Xsed -e "s% -L$path % %g"`
17737+      #	dependency_libs=`$ECHO "X$dependency_libs " | $Xsed -e "s% -L$path % %g"`
17738+      #done
17739+
17740+      if test -n "$xrpath"; then
17741+	# If the user specified any rpath flags, then add them.
17742+	temp_xrpath=
17743+	for libdir in $xrpath; do
17744+	  temp_xrpath="$temp_xrpath -R$libdir"
17745+	  case "$finalize_rpath " in
17746+	  *" $libdir "*) ;;
17747+	  *) finalize_rpath="$finalize_rpath $libdir" ;;
17748+	  esac
17749+	done
17750+	if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then
17751+	  dependency_libs="$temp_xrpath $dependency_libs"
17752+	fi
17753+      fi
17754+
17755+      # Make sure dlfiles contains only unique files that won't be dlpreopened
17756+      old_dlfiles="$dlfiles"
17757+      dlfiles=
17758+      for lib in $old_dlfiles; do
17759+	case " $dlprefiles $dlfiles " in
17760+	*" $lib "*) ;;
17761+	*) dlfiles="$dlfiles $lib" ;;
17762+	esac
17763+      done
17764+
17765+      # Make sure dlprefiles contains only unique files
17766+      old_dlprefiles="$dlprefiles"
17767+      dlprefiles=
17768+      for lib in $old_dlprefiles; do
17769+	case "$dlprefiles " in
17770+	*" $lib "*) ;;
17771+	*) dlprefiles="$dlprefiles $lib" ;;
17772+	esac
17773+      done
17774+
17775+      if test "$build_libtool_libs" = yes; then
17776+	if test -n "$rpath"; then
17777+	  case $host in
17778+	  *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc*)
17779+	    # these systems don't actually have a c library (as such)!
17780+	    ;;
17781+	  *-*-rhapsody* | *-*-darwin1.[012])
17782+	    # Rhapsody C library is in the System framework
17783+	    deplibs="$deplibs System.ltframework"
17784+	    ;;
17785+	  *-*-netbsd*)
17786+	    # Don't link with libc until the a.out ld.so is fixed.
17787+	    ;;
17788+	  *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
17789+	    # Do not include libc due to us having libc/libc_r.
17790+	    ;;
17791+	  *-*-sco3.2v5* | *-*-sco5v6*)
17792+	    # Causes problems with __ctype
17793+	    ;;
17794+	  *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
17795+	    # Compiler inserts libc in the correct place for threads to work
17796+	    ;;
17797+	  *)
17798+	    # Add libc to deplibs on all other systems if necessary.
17799+	    if test "$build_libtool_need_lc" = "yes"; then
17800+	      deplibs="$deplibs -lc"
17801+	    fi
17802+	    ;;
17803+	  esac
17804+	fi
17805+
17806+	# Transform deplibs into only deplibs that can be linked in shared.
17807+	name_save=$name
17808+	libname_save=$libname
17809+	release_save=$release
17810+	versuffix_save=$versuffix
17811+	major_save=$major
17812+	# I'm not sure if I'm treating the release correctly.  I think
17813+	# release should show up in the -l (ie -lgmp5) so we don't want to
17814+	# add it in twice.  Is that correct?
17815+	release=""
17816+	versuffix=""
17817+	major=""
17818+	newdeplibs=
17819+	droppeddeps=no
17820+	case $deplibs_check_method in
17821+	pass_all)
17822+	  # Don't check for shared/static.  Everything works.
17823+	  # This might be a little naive.  We might want to check
17824+	  # whether the library exists or not.  But this is on
17825+	  # osf3 & osf4 and I'm not really sure... Just
17826+	  # implementing what was already the behavior.
17827+	  newdeplibs=$deplibs
17828+	  ;;
17829+	test_compile)
17830+	  # This code stresses the "libraries are programs" paradigm to its
17831+	  # limits. Maybe even breaks it.  We compile a program, linking it
17832+	  # against the deplibs as a proxy for the library.  Then we can check
17833+	  # whether they linked in statically or dynamically with ldd.
17834+	  $opt_dry_run || $RM conftest.c
17835+	  cat > conftest.c <<EOF
17836+	  int main() { return 0; }
17837+EOF
17838+	  $opt_dry_run || $RM conftest
17839+	  if $LTCC $LTCFLAGS -o conftest conftest.c $deplibs; then
17840+	    ldd_output=`ldd conftest`
17841+	    for i in $deplibs; do
17842+	      case $i in
17843+	      -l*)
17844+		func_stripname -l '' "$i"
17845+		name=$func_stripname_result
17846+		if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
17847+		  case " $predeps $postdeps " in
17848+		  *" $i "*)
17849+		    newdeplibs="$newdeplibs $i"
17850+		    i=""
17851+		    ;;
17852+		  esac
17853+		fi
17854+		if test -n "$i" ; then
17855+		  libname=`eval "\\$ECHO \"$libname_spec\""`
17856+		  deplib_matches=`eval "\\$ECHO \"$library_names_spec\""`
17857+		  set dummy $deplib_matches; shift
17858+		  deplib_match=$1
17859+		  if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
17860+		    newdeplibs="$newdeplibs $i"
17861+		  else
17862+		    droppeddeps=yes
17863+		    $ECHO
17864+		    $ECHO "*** Warning: dynamic linker does not accept needed library $i."
17865+		    $ECHO "*** I have the capability to make that library automatically link in when"
17866+		    $ECHO "*** you link to this library.  But I can only do this if you have a"
17867+		    $ECHO "*** shared version of the library, which I believe you do not have"
17868+		    $ECHO "*** because a test_compile did reveal that the linker did not use it for"
17869+		    $ECHO "*** its dynamic dependency list that programs get resolved with at runtime."
17870+		  fi
17871+		fi
17872+		;;
17873+	      *)
17874+		newdeplibs="$newdeplibs $i"
17875+		;;
17876+	      esac
17877+	    done
17878+	  else
17879+	    # Error occurred in the first compile.  Let's try to salvage
17880+	    # the situation: Compile a separate program for each library.
17881+	    for i in $deplibs; do
17882+	      case $i in
17883+	      -l*)
17884+		func_stripname -l '' "$i"
17885+		name=$func_stripname_result
17886+		$opt_dry_run || $RM conftest
17887+		if $LTCC $LTCFLAGS -o conftest conftest.c $i; then
17888+		  ldd_output=`ldd conftest`
17889+		  if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
17890+		    case " $predeps $postdeps " in
17891+		    *" $i "*)
17892+		      newdeplibs="$newdeplibs $i"
17893+		      i=""
17894+		      ;;
17895+		    esac
17896+		  fi
17897+		  if test -n "$i" ; then
17898+		    libname=`eval "\\$ECHO \"$libname_spec\""`
17899+		    deplib_matches=`eval "\\$ECHO \"$library_names_spec\""`
17900+		    set dummy $deplib_matches; shift
17901+		    deplib_match=$1
17902+		    if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
17903+		      newdeplibs="$newdeplibs $i"
17904+		    else
17905+		      droppeddeps=yes
17906+		      $ECHO
17907+		      $ECHO "*** Warning: dynamic linker does not accept needed library $i."
17908+		      $ECHO "*** I have the capability to make that library automatically link in when"
17909+		      $ECHO "*** you link to this library.  But I can only do this if you have a"
17910+		      $ECHO "*** shared version of the library, which you do not appear to have"
17911+		      $ECHO "*** because a test_compile did reveal that the linker did not use this one"
17912+		      $ECHO "*** as a dynamic dependency that programs can get resolved with at runtime."
17913+		    fi
17914+		  fi
17915+		else
17916+		  droppeddeps=yes
17917+		  $ECHO
17918+		  $ECHO "*** Warning!  Library $i is needed by this library but I was not able to"
17919+		  $ECHO "*** make it link in!  You will probably need to install it or some"
17920+		  $ECHO "*** library that it depends on before this library will be fully"
17921+		  $ECHO "*** functional.  Installing it before continuing would be even better."
17922+		fi
17923+		;;
17924+	      *)
17925+		newdeplibs="$newdeplibs $i"
17926+		;;
17927+	      esac
17928+	    done
17929+	  fi
17930+	  ;;
17931+	file_magic*)
17932+	  set dummy $deplibs_check_method; shift
17933+	  file_magic_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"`
17934+	  for a_deplib in $deplibs; do
17935+	    case $a_deplib in
17936+	    -l*)
17937+	      func_stripname -l '' "$a_deplib"
17938+	      name=$func_stripname_result
17939+	      if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
17940+		case " $predeps $postdeps " in
17941+		*" $a_deplib "*)
17942+		  newdeplibs="$newdeplibs $a_deplib"
17943+		  a_deplib=""
17944+		  ;;
17945+		esac
17946+	      fi
17947+	      if test -n "$a_deplib" ; then
17948+		libname=`eval "\\$ECHO \"$libname_spec\""`
17949+		for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
17950+		  potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
17951+		  for potent_lib in $potential_libs; do
17952+		      # Follow soft links.
17953+		      if ls -lLd "$potent_lib" 2>/dev/null |
17954+			 $GREP " -> " >/dev/null; then
17955+			continue
17956+		      fi
17957+		      # The statement above tries to avoid entering an
17958+		      # endless loop below, in case of cyclic links.
17959+		      # We might still enter an endless loop, since a link
17960+		      # loop can be closed while we follow links,
17961+		      # but so what?
17962+		      potlib="$potent_lib"
17963+		      while test -h "$potlib" 2>/dev/null; do
17964+			potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'`
17965+			case $potliblink in
17966+			[\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";;
17967+			*) potlib=`$ECHO "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";;
17968+			esac
17969+		      done
17970+		      if eval $file_magic_cmd \"\$potlib\" 2>/dev/null |
17971+			 $SED -e 10q |
17972+			 $EGREP "$file_magic_regex" > /dev/null; then
17973+			newdeplibs="$newdeplibs $a_deplib"
17974+			a_deplib=""
17975+			break 2
17976+		      fi
17977+		  done
17978+		done
17979+	      fi
17980+	      if test -n "$a_deplib" ; then
17981+		droppeddeps=yes
17982+		$ECHO
17983+		$ECHO "*** Warning: linker path does not have real file for library $a_deplib."
17984+		$ECHO "*** I have the capability to make that library automatically link in when"
17985+		$ECHO "*** you link to this library.  But I can only do this if you have a"
17986+		$ECHO "*** shared version of the library, which you do not appear to have"
17987+		$ECHO "*** because I did check the linker path looking for a file starting"
17988+		if test -z "$potlib" ; then
17989+		  $ECHO "*** with $libname but no candidates were found. (...for file magic test)"
17990+		else
17991+		  $ECHO "*** with $libname and none of the candidates passed a file format test"
17992+		  $ECHO "*** using a file magic. Last file checked: $potlib"
17993+		fi
17994+	      fi
17995+	      ;;
17996+	    *)
17997+	      # Add a -L argument.
17998+	      newdeplibs="$newdeplibs $a_deplib"
17999+	      ;;
18000+	    esac
18001+	  done # Gone through all deplibs.
18002+	  ;;
18003+	match_pattern*)
18004+	  set dummy $deplibs_check_method; shift
18005+	  match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"`
18006+	  for a_deplib in $deplibs; do
18007+	    case $a_deplib in
18008+	    -l*)
18009+	      func_stripname -l '' "$a_deplib"
18010+	      name=$func_stripname_result
18011+	      if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
18012+		case " $predeps $postdeps " in
18013+		*" $a_deplib "*)
18014+		  newdeplibs="$newdeplibs $a_deplib"
18015+		  a_deplib=""
18016+		  ;;
18017+		esac
18018+	      fi
18019+	      if test -n "$a_deplib" ; then
18020+		libname=`eval "\\$ECHO \"$libname_spec\""`
18021+		for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
18022+		  potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
18023+		  for potent_lib in $potential_libs; do
18024+		    potlib="$potent_lib" # see symlink-check above in file_magic test
18025+		    if eval "\$ECHO \"X$potent_lib\"" 2>/dev/null | $Xsed -e 10q | \
18026+		       $EGREP "$match_pattern_regex" > /dev/null; then
18027+		      newdeplibs="$newdeplibs $a_deplib"
18028+		      a_deplib=""
18029+		      break 2
18030+		    fi
18031+		  done
18032+		done
18033+	      fi
18034+	      if test -n "$a_deplib" ; then
18035+		droppeddeps=yes
18036+		$ECHO
18037+		$ECHO "*** Warning: linker path does not have real file for library $a_deplib."
18038+		$ECHO "*** I have the capability to make that library automatically link in when"
18039+		$ECHO "*** you link to this library.  But I can only do this if you have a"
18040+		$ECHO "*** shared version of the library, which you do not appear to have"
18041+		$ECHO "*** because I did check the linker path looking for a file starting"
18042+		if test -z "$potlib" ; then
18043+		  $ECHO "*** with $libname but no candidates were found. (...for regex pattern test)"
18044+		else
18045+		  $ECHO "*** with $libname and none of the candidates passed a file format test"
18046+		  $ECHO "*** using a regex pattern. Last file checked: $potlib"
18047+		fi
18048+	      fi
18049+	      ;;
18050+	    *)
18051+	      # Add a -L argument.
18052+	      newdeplibs="$newdeplibs $a_deplib"
18053+	      ;;
18054+	    esac
18055+	  done # Gone through all deplibs.
18056+	  ;;
18057+	none | unknown | *)
18058+	  newdeplibs=""
18059+	  tmp_deplibs=`$ECHO "X $deplibs" | $Xsed \
18060+	      -e 's/ -lc$//' -e 's/ -[LR][^ ]*//g'`
18061+	  if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
18062+	    for i in $predeps $postdeps ; do
18063+	      # can't use Xsed below, because $i might contain '/'
18064+	      tmp_deplibs=`$ECHO "X $tmp_deplibs" | $Xsed -e "s,$i,,"`
18065+	    done
18066+	  fi
18067+	  if $ECHO "X $tmp_deplibs" | $Xsed -e 's/[	 ]//g' |
18068+	     $GREP . >/dev/null; then
18069+	    $ECHO
18070+	    if test "X$deplibs_check_method" = "Xnone"; then
18071+	      $ECHO "*** Warning: inter-library dependencies are not supported in this platform."
18072+	    else
18073+	      $ECHO "*** Warning: inter-library dependencies are not known to be supported."
18074+	    fi
18075+	    $ECHO "*** All declared inter-library dependencies are being dropped."
18076+	    droppeddeps=yes
18077+	  fi
18078+	  ;;
18079+	esac
18080+	versuffix=$versuffix_save
18081+	major=$major_save
18082+	release=$release_save
18083+	libname=$libname_save
18084+	name=$name_save
18085+
18086+	case $host in
18087+	*-*-rhapsody* | *-*-darwin1.[012])
18088+	  # On Rhapsody replace the C library with the System framework
18089+	  newdeplibs=`$ECHO "X $newdeplibs" | $Xsed -e 's/ -lc / System.ltframework /'`
18090+	  ;;
18091+	esac
18092+
18093+	if test "$droppeddeps" = yes; then
18094+	  if test "$module" = yes; then
18095+	    $ECHO
18096+	    $ECHO "*** Warning: libtool could not satisfy all declared inter-library"
18097+	    $ECHO "*** dependencies of module $libname.  Therefore, libtool will create"
18098+	    $ECHO "*** a static module, that should work as long as the dlopening"
18099+	    $ECHO "*** application is linked with the -dlopen flag."
18100+	    if test -z "$global_symbol_pipe"; then
18101+	      $ECHO
18102+	      $ECHO "*** However, this would only work if libtool was able to extract symbol"
18103+	      $ECHO "*** lists from a program, using \`nm' or equivalent, but libtool could"
18104+	      $ECHO "*** not find such a program.  So, this module is probably useless."
18105+	      $ECHO "*** \`nm' from GNU binutils and a full rebuild may help."
18106+	    fi
18107+	    if test "$build_old_libs" = no; then
18108+	      oldlibs="$output_objdir/$libname.$libext"
18109+	      build_libtool_libs=module
18110+	      build_old_libs=yes
18111+	    else
18112+	      build_libtool_libs=no
18113+	    fi
18114+	  else
18115+	    $ECHO "*** The inter-library dependencies that have been dropped here will be"
18116+	    $ECHO "*** automatically added whenever a program is linked with this library"
18117+	    $ECHO "*** or is declared to -dlopen it."
18118+
18119+	    if test "$allow_undefined" = no; then
18120+	      $ECHO
18121+	      $ECHO "*** Since this library must not contain undefined symbols,"
18122+	      $ECHO "*** because either the platform does not support them or"
18123+	      $ECHO "*** it was explicitly requested with -no-undefined,"
18124+	      $ECHO "*** libtool will only create a static version of it."
18125+	      if test "$build_old_libs" = no; then
18126+		oldlibs="$output_objdir/$libname.$libext"
18127+		build_libtool_libs=module
18128+		build_old_libs=yes
18129+	      else
18130+		build_libtool_libs=no
18131+	      fi
18132+	    fi
18133+	  fi
18134+	fi
18135+	# Done checking deplibs!
18136+	deplibs=$newdeplibs
18137+      fi
18138+      # Time to change all our "foo.ltframework" stuff back to "-framework foo"
18139+      case $host in
18140+	*-*-darwin*)
18141+	  newdeplibs=`$ECHO "X $newdeplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
18142+	  new_inherited_linker_flags=`$ECHO "X $new_inherited_linker_flags" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
18143+	  deplibs=`$ECHO "X $deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
18144+	  ;;
18145+      esac
18146+
18147+      # move library search paths that coincide with paths to not yet
18148+      # installed libraries to the beginning of the library search list
18149+      new_libs=
18150+      for path in $notinst_path; do
18151+	case " $new_libs " in
18152+	*" -L$path/$objdir "*) ;;
18153+	*)
18154+	  case " $deplibs " in
18155+	  *" -L$path/$objdir "*)
18156+	    new_libs="$new_libs -L$path/$objdir" ;;
18157+	  esac
18158+	  ;;
18159+	esac
18160+      done
18161+      for deplib in $deplibs; do
18162+	case $deplib in
18163+	-L*)
18164+	  case " $new_libs " in
18165+	  *" $deplib "*) ;;
18166+	  *) new_libs="$new_libs $deplib" ;;
18167+	  esac
18168+	  ;;
18169+	*) new_libs="$new_libs $deplib" ;;
18170+	esac
18171+      done
18172+      deplibs="$new_libs"
18173+
18174+      # All the library-specific variables (install_libdir is set above).
18175+      library_names=
18176+      old_library=
18177+      dlname=
18178+
18179+      # Test again, we may have decided not to build it any more
18180+      if test "$build_libtool_libs" = yes; then
18181+	if test "$hardcode_into_libs" = yes; then
18182+	  # Hardcode the library paths
18183+	  hardcode_libdirs=
18184+	  dep_rpath=
18185+	  rpath="$finalize_rpath"
18186+	  test "$mode" != relink && rpath="$compile_rpath$rpath"
18187+	  for libdir in $rpath; do
18188+	    if test -n "$hardcode_libdir_flag_spec"; then
18189+	      if test -n "$hardcode_libdir_separator"; then
18190+		if test -z "$hardcode_libdirs"; then
18191+		  hardcode_libdirs="$libdir"
18192+		else
18193+		  # Just accumulate the unique libdirs.
18194+		  case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
18195+		  *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
18196+		    ;;
18197+		  *)
18198+		    hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
18199+		    ;;
18200+		  esac
18201+		fi
18202+	      else
18203+		eval flag=\"$hardcode_libdir_flag_spec\"
18204+		dep_rpath="$dep_rpath $flag"
18205+	      fi
18206+	    elif test -n "$runpath_var"; then
18207+	      case "$perm_rpath " in
18208+	      *" $libdir "*) ;;
18209+	      *) perm_rpath="$perm_rpath $libdir" ;;
18210+	      esac
18211+	    fi
18212+	  done
18213+	  # Substitute the hardcoded libdirs into the rpath.
18214+	  if test -n "$hardcode_libdir_separator" &&
18215+	     test -n "$hardcode_libdirs"; then
18216+	    libdir="$hardcode_libdirs"
18217+	    if test -n "$hardcode_libdir_flag_spec_ld"; then
18218+	      eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\"
18219+	    else
18220+	      eval dep_rpath=\"$hardcode_libdir_flag_spec\"
18221+	    fi
18222+	  fi
18223+	  if test -n "$runpath_var" && test -n "$perm_rpath"; then
18224+	    # We should set the runpath_var.
18225+	    rpath=
18226+	    for dir in $perm_rpath; do
18227+	      rpath="$rpath$dir:"
18228+	    done
18229+	    eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var"
18230+	  fi
18231+	  test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs"
18232+	fi
18233+
18234+	shlibpath="$finalize_shlibpath"
18235+	test "$mode" != relink && shlibpath="$compile_shlibpath$shlibpath"
18236+	if test -n "$shlibpath"; then
18237+	  eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var"
18238+	fi
18239+
18240+	# Get the real and link names of the library.
18241+	eval shared_ext=\"$shrext_cmds\"
18242+	eval library_names=\"$library_names_spec\"
18243+	set dummy $library_names
18244+	shift
18245+	realname="$1"
18246+	shift
18247+
18248+	if test -n "$soname_spec"; then
18249+	  eval soname=\"$soname_spec\"
18250+	else
18251+	  soname="$realname"
18252+	fi
18253+	if test -z "$dlname"; then
18254+	  dlname=$soname
18255+	fi
18256+
18257+	lib="$output_objdir/$realname"
18258+	linknames=
18259+	for link
18260+	do
18261+	  linknames="$linknames $link"
18262+	done
18263+
18264+	# Use standard objects if they are pic
18265+	test -z "$pic_flag" && libobjs=`$ECHO "X$libobjs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
18266+	test "X$libobjs" = "X " && libobjs=
18267+
18268+	delfiles=
18269+	if test -n "$export_symbols" && test -n "$include_expsyms"; then
18270+	  $opt_dry_run || cp "$export_symbols" "$output_objdir/$libname.uexp"
18271+	  export_symbols="$output_objdir/$libname.uexp"
18272+	  delfiles="$delfiles $export_symbols"
18273+	fi
18274+
18275+	orig_export_symbols=
18276+	case $host_os in
18277+	cygwin* | mingw* | cegcc*)
18278+	  if test -n "$export_symbols" && test -z "$export_symbols_regex"; then
18279+	    # exporting using user supplied symfile
18280+	    if test "x`$SED 1q $export_symbols`" != xEXPORTS; then
18281+	      # and it's NOT already a .def file. Must figure out
18282+	      # which of the given symbols are data symbols and tag
18283+	      # them as such. So, trigger use of export_symbols_cmds.
18284+	      # export_symbols gets reassigned inside the "prepare
18285+	      # the list of exported symbols" if statement, so the
18286+	      # include_expsyms logic still works.
18287+	      orig_export_symbols="$export_symbols"
18288+	      export_symbols=
18289+	      always_export_symbols=yes
18290+	    fi
18291+	  fi
18292+	  ;;
18293+	esac
18294+
18295+	# Prepare the list of exported symbols
18296+	if test -z "$export_symbols"; then
18297+	  if test "$always_export_symbols" = yes || test -n "$export_symbols_regex"; then
18298+	    func_verbose "generating symbol list for \`$libname.la'"
18299+	    export_symbols="$output_objdir/$libname.exp"
18300+	    $opt_dry_run || $RM $export_symbols
18301+	    cmds=$export_symbols_cmds
18302+	    save_ifs="$IFS"; IFS='~'
18303+	    for cmd in $cmds; do
18304+	      IFS="$save_ifs"
18305+	      eval cmd=\"$cmd\"
18306+	      func_len " $cmd"
18307+	      len=$func_len_result
18308+	      if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then
18309+		func_show_eval "$cmd" 'exit $?'
18310+		skipped_export=false
18311+	      else
18312+		# The command line is too long to execute in one step.
18313+		func_verbose "using reloadable object file for export list..."
18314+		skipped_export=:
18315+		# Break out early, otherwise skipped_export may be
18316+		# set to false by a later but shorter cmd.
18317+		break
18318+	      fi
18319+	    done
18320+	    IFS="$save_ifs"
18321+	    if test -n "$export_symbols_regex" && test "X$skipped_export" != "X:"; then
18322+	      func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"'
18323+	      func_show_eval '$MV "${export_symbols}T" "$export_symbols"'
18324+	    fi
18325+	  fi
18326+	fi
18327+
18328+	if test -n "$export_symbols" && test -n "$include_expsyms"; then
18329+	  tmp_export_symbols="$export_symbols"
18330+	  test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols"
18331+	  $opt_dry_run || eval '$ECHO "X$include_expsyms" | $Xsed | $SP2NL >> "$tmp_export_symbols"'
18332+	fi
18333+
18334+	if test "X$skipped_export" != "X:" && test -n "$orig_export_symbols"; then
18335+	  # The given exports_symbols file has to be filtered, so filter it.
18336+	  func_verbose "filter symbol list for \`$libname.la' to tag DATA exports"
18337+	  # FIXME: $output_objdir/$libname.filter potentially contains lots of
18338+	  # 's' commands which not all seds can handle. GNU sed should be fine
18339+	  # though. Also, the filter scales superlinearly with the number of
18340+	  # global variables. join(1) would be nice here, but unfortunately
18341+	  # isn't a blessed tool.
18342+	  $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter
18343+	  delfiles="$delfiles $export_symbols $output_objdir/$libname.filter"
18344+	  export_symbols=$output_objdir/$libname.def
18345+	  $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols
18346+	fi
18347+
18348+	tmp_deplibs=
18349+	for test_deplib in $deplibs; do
18350+	  case " $convenience " in
18351+	  *" $test_deplib "*) ;;
18352+	  *)
18353+	    tmp_deplibs="$tmp_deplibs $test_deplib"
18354+	    ;;
18355+	  esac
18356+	done
18357+	deplibs="$tmp_deplibs"
18358+
18359+	if test -n "$convenience"; then
18360+	  if test -n "$whole_archive_flag_spec" &&
18361+	    test "$compiler_needs_object" = yes &&
18362+	    test -z "$libobjs"; then
18363+	    # extract the archives, so we have objects to list.
18364+	    # TODO: could optimize this to just extract one archive.
18365+	    whole_archive_flag_spec=
18366+	  fi
18367+	  if test -n "$whole_archive_flag_spec"; then
18368+	    save_libobjs=$libobjs
18369+	    eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
18370+	    test "X$libobjs" = "X " && libobjs=
18371+	  else
18372+	    gentop="$output_objdir/${outputname}x"
18373+	    generated="$generated $gentop"
18374+
18375+	    func_extract_archives $gentop $convenience
18376+	    libobjs="$libobjs $func_extract_archives_result"
18377+	    test "X$libobjs" = "X " && libobjs=
18378+	  fi
18379+	fi
18380+
18381+	if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then
18382+	  eval flag=\"$thread_safe_flag_spec\"
18383+	  linker_flags="$linker_flags $flag"
18384+	fi
18385+
18386+	# Make a backup of the uninstalled library when relinking
18387+	if test "$mode" = relink; then
18388+	  $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}U && $MV $realname ${realname}U)' || exit $?
18389+	fi
18390+
18391+	# Do each of the archive commands.
18392+	if test "$module" = yes && test -n "$module_cmds" ; then
18393+	  if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
18394+	    eval test_cmds=\"$module_expsym_cmds\"
18395+	    cmds=$module_expsym_cmds
18396+	  else
18397+	    eval test_cmds=\"$module_cmds\"
18398+	    cmds=$module_cmds
18399+	  fi
18400+	else
18401+	  if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
18402+	    eval test_cmds=\"$archive_expsym_cmds\"
18403+	    cmds=$archive_expsym_cmds
18404+	  else
18405+	    eval test_cmds=\"$archive_cmds\"
18406+	    cmds=$archive_cmds
18407+	  fi
18408+	fi
18409+
18410+	if test "X$skipped_export" != "X:" &&
18411+	   func_len " $test_cmds" &&
18412+	   len=$func_len_result &&
18413+	   test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then
18414+	  :
18415+	else
18416+	  # The command line is too long to link in one step, link piecewise
18417+	  # or, if using GNU ld and skipped_export is not :, use a linker
18418+	  # script.
18419+
18420+	  # Save the value of $output and $libobjs because we want to
18421+	  # use them later.  If we have whole_archive_flag_spec, we
18422+	  # want to use save_libobjs as it was before
18423+	  # whole_archive_flag_spec was expanded, because we can't
18424+	  # assume the linker understands whole_archive_flag_spec.
18425+	  # This may have to be revisited, in case too many
18426+	  # convenience libraries get linked in and end up exceeding
18427+	  # the spec.
18428+	  if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then
18429+	    save_libobjs=$libobjs
18430+	  fi
18431+	  save_output=$output
18432+	  output_la=`$ECHO "X$output" | $Xsed -e "$basename"`
18433+
18434+	  # Clear the reloadable object creation command queue and
18435+	  # initialize k to one.
18436+	  test_cmds=
18437+	  concat_cmds=
18438+	  objlist=
18439+	  last_robj=
18440+	  k=1
18441+
18442+	  if test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "$with_gnu_ld" = yes; then
18443+	    output=${output_objdir}/${output_la}.lnkscript
18444+	    func_verbose "creating GNU ld script: $output"
18445+	    $ECHO 'INPUT (' > $output
18446+	    for obj in $save_libobjs
18447+	    do
18448+	      $ECHO "$obj" >> $output
18449+	    done
18450+	    $ECHO ')' >> $output
18451+	    delfiles="$delfiles $output"
18452+	  elif test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "X$file_list_spec" != X; then
18453+	    output=${output_objdir}/${output_la}.lnk
18454+	    func_verbose "creating linker input file list: $output"
18455+	    : > $output
18456+	    set x $save_libobjs
18457+	    shift
18458+	    firstobj=
18459+	    if test "$compiler_needs_object" = yes; then
18460+	      firstobj="$1 "
18461+	      shift
18462+	    fi
18463+	    for obj
18464+	    do
18465+	      $ECHO "$obj" >> $output
18466+	    done
18467+	    delfiles="$delfiles $output"
18468+	    output=$firstobj\"$file_list_spec$output\"
18469+	  else
18470+	    if test -n "$save_libobjs"; then
18471+	      func_verbose "creating reloadable object files..."
18472+	      output=$output_objdir/$output_la-${k}.$objext
18473+	      eval test_cmds=\"$reload_cmds\"
18474+	      func_len " $test_cmds"
18475+	      len0=$func_len_result
18476+	      len=$len0
18477+
18478+	      # Loop over the list of objects to be linked.
18479+	      for obj in $save_libobjs
18480+	      do
18481+		func_len " $obj"
18482+		func_arith $len + $func_len_result
18483+		len=$func_arith_result
18484+		if test "X$objlist" = X ||
18485+		   test "$len" -lt "$max_cmd_len"; then
18486+		  func_append objlist " $obj"
18487+		else
18488+		  # The command $test_cmds is almost too long, add a
18489+		  # command to the queue.
18490+		  if test "$k" -eq 1 ; then
18491+		    # The first file doesn't have a previous command to add.
18492+		    eval concat_cmds=\"$reload_cmds $objlist $last_robj\"
18493+		  else
18494+		    # All subsequent reloadable object files will link in
18495+		    # the last one created.
18496+		    eval concat_cmds=\"\$concat_cmds~$reload_cmds $objlist $last_robj~\$RM $last_robj\"
18497+		  fi
18498+		  last_robj=$output_objdir/$output_la-${k}.$objext
18499+		  func_arith $k + 1
18500+		  k=$func_arith_result
18501+		  output=$output_objdir/$output_la-${k}.$objext
18502+		  objlist=$obj
18503+		  func_len " $last_robj"
18504+		  func_arith $len0 + $func_len_result
18505+		  len=$func_arith_result
18506+		fi
18507+	      done
18508+	      # Handle the remaining objects by creating one last
18509+	      # reloadable object file.  All subsequent reloadable object
18510+	      # files will link in the last one created.
18511+	      test -z "$concat_cmds" || concat_cmds=$concat_cmds~
18512+	      eval concat_cmds=\"\${concat_cmds}$reload_cmds $objlist $last_robj\"
18513+	      if test -n "$last_robj"; then
18514+	        eval concat_cmds=\"\${concat_cmds}~\$RM $last_robj\"
18515+	      fi
18516+	      delfiles="$delfiles $output"
18517+
18518+	    else
18519+	      output=
18520+	    fi
18521+
18522+	    if ${skipped_export-false}; then
18523+	      func_verbose "generating symbol list for \`$libname.la'"
18524+	      export_symbols="$output_objdir/$libname.exp"
18525+	      $opt_dry_run || $RM $export_symbols
18526+	      libobjs=$output
18527+	      # Append the command to create the export file.
18528+	      test -z "$concat_cmds" || concat_cmds=$concat_cmds~
18529+	      eval concat_cmds=\"\$concat_cmds$export_symbols_cmds\"
18530+	      if test -n "$last_robj"; then
18531+		eval concat_cmds=\"\$concat_cmds~\$RM $last_robj\"
18532+	      fi
18533+	    fi
18534+
18535+	    test -n "$save_libobjs" &&
18536+	      func_verbose "creating a temporary reloadable object file: $output"
18537+
18538+	    # Loop through the commands generated above and execute them.
18539+	    save_ifs="$IFS"; IFS='~'
18540+	    for cmd in $concat_cmds; do
18541+	      IFS="$save_ifs"
18542+	      $opt_silent || {
18543+		  func_quote_for_expand "$cmd"
18544+		  eval "func_echo $func_quote_for_expand_result"
18545+	      }
18546+	      $opt_dry_run || eval "$cmd" || {
18547+		lt_exit=$?
18548+
18549+		# Restore the uninstalled library and exit
18550+		if test "$mode" = relink; then
18551+		  ( cd "$output_objdir" && \
18552+		    $RM "${realname}T" && \
18553+		    $MV "${realname}U" "$realname" )
18554+		fi
18555+
18556+		exit $lt_exit
18557+	      }
18558+	    done
18559+	    IFS="$save_ifs"
18560+
18561+	    if test -n "$export_symbols_regex" && ${skipped_export-false}; then
18562+	      func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"'
18563+	      func_show_eval '$MV "${export_symbols}T" "$export_symbols"'
18564+	    fi
18565+	  fi
18566+
18567+          if ${skipped_export-false}; then
18568+	    if test -n "$export_symbols" && test -n "$include_expsyms"; then
18569+	      tmp_export_symbols="$export_symbols"
18570+	      test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols"
18571+	      $opt_dry_run || eval '$ECHO "X$include_expsyms" | $Xsed | $SP2NL >> "$tmp_export_symbols"'
18572+	    fi
18573+
18574+	    if test -n "$orig_export_symbols"; then
18575+	      # The given exports_symbols file has to be filtered, so filter it.
18576+	      func_verbose "filter symbol list for \`$libname.la' to tag DATA exports"
18577+	      # FIXME: $output_objdir/$libname.filter potentially contains lots of
18578+	      # 's' commands which not all seds can handle. GNU sed should be fine
18579+	      # though. Also, the filter scales superlinearly with the number of
18580+	      # global variables. join(1) would be nice here, but unfortunately
18581+	      # isn't a blessed tool.
18582+	      $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter
18583+	      delfiles="$delfiles $export_symbols $output_objdir/$libname.filter"
18584+	      export_symbols=$output_objdir/$libname.def
18585+	      $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols
18586+	    fi
18587+	  fi
18588+
18589+	  libobjs=$output
18590+	  # Restore the value of output.
18591+	  output=$save_output
18592+
18593+	  if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then
18594+	    eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
18595+	    test "X$libobjs" = "X " && libobjs=
18596+	  fi
18597+	  # Expand the library linking commands again to reset the
18598+	  # value of $libobjs for piecewise linking.
18599+
18600+	  # Do each of the archive commands.
18601+	  if test "$module" = yes && test -n "$module_cmds" ; then
18602+	    if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
18603+	      cmds=$module_expsym_cmds
18604+	    else
18605+	      cmds=$module_cmds
18606+	    fi
18607+	  else
18608+	    if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
18609+	      cmds=$archive_expsym_cmds
18610+	    else
18611+	      cmds=$archive_cmds
18612+	    fi
18613+	  fi
18614+	fi
18615+
18616+	if test -n "$delfiles"; then
18617+	  # Append the command to remove temporary files to $cmds.
18618+	  eval cmds=\"\$cmds~\$RM $delfiles\"
18619+	fi
18620+
18621+	# Add any objects from preloaded convenience libraries
18622+	if test -n "$dlprefiles"; then
18623+	  gentop="$output_objdir/${outputname}x"
18624+	  generated="$generated $gentop"
18625+
18626+	  func_extract_archives $gentop $dlprefiles
18627+	  libobjs="$libobjs $func_extract_archives_result"
18628+	  test "X$libobjs" = "X " && libobjs=
18629+	fi
18630+
18631+	save_ifs="$IFS"; IFS='~'
18632+	for cmd in $cmds; do
18633+	  IFS="$save_ifs"
18634+	  eval cmd=\"$cmd\"
18635+	  $opt_silent || {
18636+	    func_quote_for_expand "$cmd"
18637+	    eval "func_echo $func_quote_for_expand_result"
18638+	  }
18639+	  $opt_dry_run || eval "$cmd" || {
18640+	    lt_exit=$?
18641+
18642+	    # Restore the uninstalled library and exit
18643+	    if test "$mode" = relink; then
18644+	      ( cd "$output_objdir" && \
18645+	        $RM "${realname}T" && \
18646+		$MV "${realname}U" "$realname" )
18647+	    fi
18648+
18649+	    exit $lt_exit
18650+	  }
18651+	done
18652+	IFS="$save_ifs"
18653+
18654+	# Restore the uninstalled library and exit
18655+	if test "$mode" = relink; then
18656+	  $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}T && $MV $realname ${realname}T && $MV ${realname}U $realname)' || exit $?
18657+
18658+	  if test -n "$convenience"; then
18659+	    if test -z "$whole_archive_flag_spec"; then
18660+	      func_show_eval '${RM}r "$gentop"'
18661+	    fi
18662+	  fi
18663+
18664+	  exit $EXIT_SUCCESS
18665+	fi
18666+
18667+	# Create links to the real library.
18668+	for linkname in $linknames; do
18669+	  if test "$realname" != "$linkname"; then
18670+	    func_show_eval '(cd "$output_objdir" && $RM "$linkname" && $LN_S "$realname" "$linkname")' 'exit $?'
18671+	  fi
18672+	done
18673+
18674+	# If -module or -export-dynamic was specified, set the dlname.
18675+	if test "$module" = yes || test "$export_dynamic" = yes; then
18676+	  # On all known operating systems, these are identical.
18677+	  dlname="$soname"
18678+	fi
18679+      fi
18680+      ;;
18681+
18682+    obj)
18683+      if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
18684+	func_warning "\`-dlopen' is ignored for objects"
18685+      fi
18686+
18687+      case " $deplibs" in
18688+      *\ -l* | *\ -L*)
18689+	func_warning "\`-l' and \`-L' are ignored for objects" ;;
18690+      esac
18691+
18692+      test -n "$rpath" && \
18693+	func_warning "\`-rpath' is ignored for objects"
18694+
18695+      test -n "$xrpath" && \
18696+	func_warning "\`-R' is ignored for objects"
18697+
18698+      test -n "$vinfo" && \
18699+	func_warning "\`-version-info' is ignored for objects"
18700+
18701+      test -n "$release" && \
18702+	func_warning "\`-release' is ignored for objects"
18703+
18704+      case $output in
18705+      *.lo)
18706+	test -n "$objs$old_deplibs" && \
18707+	  func_fatal_error "cannot build library object \`$output' from non-libtool objects"
18708+
18709+	libobj=$output
18710+	func_lo2o "$libobj"
18711+	obj=$func_lo2o_result
18712+	;;
18713+      *)
18714+	libobj=
18715+	obj="$output"
18716+	;;
18717+      esac
18718+
18719+      # Delete the old objects.
18720+      $opt_dry_run || $RM $obj $libobj
18721+
18722+      # Objects from convenience libraries.  This assumes
18723+      # single-version convenience libraries.  Whenever we create
18724+      # different ones for PIC/non-PIC, this we'll have to duplicate
18725+      # the extraction.
18726+      reload_conv_objs=
18727+      gentop=
18728+      # reload_cmds runs $LD directly, so let us get rid of
18729+      # -Wl from whole_archive_flag_spec and hope we can get by with
18730+      # turning comma into space..
18731+      wl=
18732+
18733+      if test -n "$convenience"; then
18734+	if test -n "$whole_archive_flag_spec"; then
18735+	  eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\"
18736+	  reload_conv_objs=$reload_objs\ `$ECHO "X$tmp_whole_archive_flags" | $Xsed -e 's|,| |g'`
18737+	else
18738+	  gentop="$output_objdir/${obj}x"
18739+	  generated="$generated $gentop"
18740+
18741+	  func_extract_archives $gentop $convenience
18742+	  reload_conv_objs="$reload_objs $func_extract_archives_result"
18743+	fi
18744+      fi
18745+
18746+      # Create the old-style object.
18747+      reload_objs="$objs$old_deplibs "`$ECHO "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}$'/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test
18748+
18749+      output="$obj"
18750+      func_execute_cmds "$reload_cmds" 'exit $?'
18751+
18752+      # Exit if we aren't doing a library object file.
18753+      if test -z "$libobj"; then
18754+	if test -n "$gentop"; then
18755+	  func_show_eval '${RM}r "$gentop"'
18756+	fi
18757+
18758+	exit $EXIT_SUCCESS
18759+      fi
18760+
18761+      if test "$build_libtool_libs" != yes; then
18762+	if test -n "$gentop"; then
18763+	  func_show_eval '${RM}r "$gentop"'
18764+	fi
18765+
18766+	# Create an invalid libtool object if no PIC, so that we don't
18767+	# accidentally link it into a program.
18768+	# $show "echo timestamp > $libobj"
18769+	# $opt_dry_run || eval "echo timestamp > $libobj" || exit $?
18770+	exit $EXIT_SUCCESS
18771+      fi
18772+
18773+      if test -n "$pic_flag" || test "$pic_mode" != default; then
18774+	# Only do commands if we really have different PIC objects.
18775+	reload_objs="$libobjs $reload_conv_objs"
18776+	output="$libobj"
18777+	func_execute_cmds "$reload_cmds" 'exit $?'
18778+      fi
18779+
18780+      if test -n "$gentop"; then
18781+	func_show_eval '${RM}r "$gentop"'
18782+      fi
18783+
18784+      exit $EXIT_SUCCESS
18785+      ;;
18786+
18787+    prog)
18788+      case $host in
18789+	*cygwin*) func_stripname '' '.exe' "$output"
18790+	          output=$func_stripname_result.exe;;
18791+      esac
18792+      test -n "$vinfo" && \
18793+	func_warning "\`-version-info' is ignored for programs"
18794+
18795+      test -n "$release" && \
18796+	func_warning "\`-release' is ignored for programs"
18797+
18798+      test "$preload" = yes \
18799+        && test "$dlopen_support" = unknown \
18800+	&& test "$dlopen_self" = unknown \
18801+	&& test "$dlopen_self_static" = unknown && \
18802+	  func_warning "\`LT_INIT([dlopen])' not used. Assuming no dlopen support."
18803+
18804+      case $host in
18805+      *-*-rhapsody* | *-*-darwin1.[012])
18806+	# On Rhapsody replace the C library is the System framework
18807+	compile_deplibs=`$ECHO "X $compile_deplibs" | $Xsed -e 's/ -lc / System.ltframework /'`
18808+	finalize_deplibs=`$ECHO "X $finalize_deplibs" | $Xsed -e 's/ -lc / System.ltframework /'`
18809+	;;
18810+      esac
18811+
18812+      case $host in
18813+      *-*-darwin*)
18814+	# Don't allow lazy linking, it breaks C++ global constructors
18815+	# But is supposedly fixed on 10.4 or later (yay!).
18816+	if test "$tagname" = CXX ; then
18817+	  case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
18818+	    10.[0123])
18819+	      compile_command="$compile_command ${wl}-bind_at_load"
18820+	      finalize_command="$finalize_command ${wl}-bind_at_load"
18821+	    ;;
18822+	  esac
18823+	fi
18824+	# Time to change all our "foo.ltframework" stuff back to "-framework foo"
18825+	compile_deplibs=`$ECHO "X $compile_deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
18826+	finalize_deplibs=`$ECHO "X $finalize_deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
18827+	;;
18828+      esac
18829+
18830+
18831+      # move library search paths that coincide with paths to not yet
18832+      # installed libraries to the beginning of the library search list
18833+      new_libs=
18834+      for path in $notinst_path; do
18835+	case " $new_libs " in
18836+	*" -L$path/$objdir "*) ;;
18837+	*)
18838+	  case " $compile_deplibs " in
18839+	  *" -L$path/$objdir "*)
18840+	    new_libs="$new_libs -L$path/$objdir" ;;
18841+	  esac
18842+	  ;;
18843+	esac
18844+      done
18845+      for deplib in $compile_deplibs; do
18846+	case $deplib in
18847+	-L*)
18848+	  case " $new_libs " in
18849+	  *" $deplib "*) ;;
18850+	  *) new_libs="$new_libs $deplib" ;;
18851+	  esac
18852+	  ;;
18853+	*) new_libs="$new_libs $deplib" ;;
18854+	esac
18855+      done
18856+      compile_deplibs="$new_libs"
18857+
18858+
18859+      compile_command="$compile_command $compile_deplibs"
18860+      finalize_command="$finalize_command $finalize_deplibs"
18861+
18862+      if test -n "$rpath$xrpath"; then
18863+	# If the user specified any rpath flags, then add them.
18864+	for libdir in $rpath $xrpath; do
18865+	  # This is the magic to use -rpath.
18866+	  case "$finalize_rpath " in
18867+	  *" $libdir "*) ;;
18868+	  *) finalize_rpath="$finalize_rpath $libdir" ;;
18869+	  esac
18870+	done
18871+      fi
18872+
18873+      # Now hardcode the library paths
18874+      rpath=
18875+      hardcode_libdirs=
18876+      for libdir in $compile_rpath $finalize_rpath; do
18877+	if test -n "$hardcode_libdir_flag_spec"; then
18878+	  if test -n "$hardcode_libdir_separator"; then
18879+	    if test -z "$hardcode_libdirs"; then
18880+	      hardcode_libdirs="$libdir"
18881+	    else
18882+	      # Just accumulate the unique libdirs.
18883+	      case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
18884+	      *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
18885+		;;
18886+	      *)
18887+		hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
18888+		;;
18889+	      esac
18890+	    fi
18891+	  else
18892+	    eval flag=\"$hardcode_libdir_flag_spec\"
18893+	    rpath="$rpath $flag"
18894+	  fi
18895+	elif test -n "$runpath_var"; then
18896+	  case "$perm_rpath " in
18897+	  *" $libdir "*) ;;
18898+	  *) perm_rpath="$perm_rpath $libdir" ;;
18899+	  esac
18900+	fi
18901+	case $host in
18902+	*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
18903+	  testbindir=`${ECHO} "$libdir" | ${SED} -e 's*/lib$*/bin*'`
18904+	  case :$dllsearchpath: in
18905+	  *":$libdir:"*) ;;
18906+	  ::) dllsearchpath=$libdir;;
18907+	  *) dllsearchpath="$dllsearchpath:$libdir";;
18908+	  esac
18909+	  case :$dllsearchpath: in
18910+	  *":$testbindir:"*) ;;
18911+	  ::) dllsearchpath=$testbindir;;
18912+	  *) dllsearchpath="$dllsearchpath:$testbindir";;
18913+	  esac
18914+	  ;;
18915+	esac
18916+      done
18917+      # Substitute the hardcoded libdirs into the rpath.
18918+      if test -n "$hardcode_libdir_separator" &&
18919+	 test -n "$hardcode_libdirs"; then
18920+	libdir="$hardcode_libdirs"
18921+	eval rpath=\" $hardcode_libdir_flag_spec\"
18922+      fi
18923+      compile_rpath="$rpath"
18924+
18925+      rpath=
18926+      hardcode_libdirs=
18927+      for libdir in $finalize_rpath; do
18928+	if test -n "$hardcode_libdir_flag_spec"; then
18929+	  if test -n "$hardcode_libdir_separator"; then
18930+	    if test -z "$hardcode_libdirs"; then
18931+	      hardcode_libdirs="$libdir"
18932+	    else
18933+	      # Just accumulate the unique libdirs.
18934+	      case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
18935+	      *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
18936+		;;
18937+	      *)
18938+		hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
18939+		;;
18940+	      esac
18941+	    fi
18942+	  else
18943+	    eval flag=\"$hardcode_libdir_flag_spec\"
18944+	    rpath="$rpath $flag"
18945+	  fi
18946+	elif test -n "$runpath_var"; then
18947+	  case "$finalize_perm_rpath " in
18948+	  *" $libdir "*) ;;
18949+	  *) finalize_perm_rpath="$finalize_perm_rpath $libdir" ;;
18950+	  esac
18951+	fi
18952+      done
18953+      # Substitute the hardcoded libdirs into the rpath.
18954+      if test -n "$hardcode_libdir_separator" &&
18955+	 test -n "$hardcode_libdirs"; then
18956+	libdir="$hardcode_libdirs"
18957+	eval rpath=\" $hardcode_libdir_flag_spec\"
18958+      fi
18959+      finalize_rpath="$rpath"
18960+
18961+      if test -n "$libobjs" && test "$build_old_libs" = yes; then
18962+	# Transform all the library objects into standard objects.
18963+	compile_command=`$ECHO "X$compile_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
18964+	finalize_command=`$ECHO "X$finalize_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
18965+      fi
18966+
18967+      func_generate_dlsyms "$outputname" "@PROGRAM@" "no"
18968+
18969+      # template prelinking step
18970+      if test -n "$prelink_cmds"; then
18971+	func_execute_cmds "$prelink_cmds" 'exit $?'
18972+      fi
18973+
18974+      wrappers_required=yes
18975+      case $host in
18976+      *cygwin* | *mingw* )
18977+        if test "$build_libtool_libs" != yes; then
18978+          wrappers_required=no
18979+        fi
18980+        ;;
18981+      *cegcc)
18982+        # Disable wrappers for cegcc, we are cross compiling anyway.
18983+        wrappers_required=no
18984+        ;;
18985+      *)
18986+        if test "$need_relink" = no || test "$build_libtool_libs" != yes; then
18987+          wrappers_required=no
18988+        fi
18989+        ;;
18990+      esac
18991+      if test "$wrappers_required" = no; then
18992+	# Replace the output file specification.
18993+	compile_command=`$ECHO "X$compile_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
18994+	link_command="$compile_command$compile_rpath"
18995+
18996+	# We have no uninstalled library dependencies, so finalize right now.
18997+	exit_status=0
18998+	func_show_eval "$link_command" 'exit_status=$?'
18999+
19000+	# Delete the generated files.
19001+	if test -f "$output_objdir/${outputname}S.${objext}"; then
19002+	  func_show_eval '$RM "$output_objdir/${outputname}S.${objext}"'
19003+	fi
19004+
19005+	exit $exit_status
19006+      fi
19007+
19008+      if test -n "$compile_shlibpath$finalize_shlibpath"; then
19009+	compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command"
19010+      fi
19011+      if test -n "$finalize_shlibpath"; then
19012+	finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command"
19013+      fi
19014+
19015+      compile_var=
19016+      finalize_var=
19017+      if test -n "$runpath_var"; then
19018+	if test -n "$perm_rpath"; then
19019+	  # We should set the runpath_var.
19020+	  rpath=
19021+	  for dir in $perm_rpath; do
19022+	    rpath="$rpath$dir:"
19023+	  done
19024+	  compile_var="$runpath_var=\"$rpath\$$runpath_var\" "
19025+	fi
19026+	if test -n "$finalize_perm_rpath"; then
19027+	  # We should set the runpath_var.
19028+	  rpath=
19029+	  for dir in $finalize_perm_rpath; do
19030+	    rpath="$rpath$dir:"
19031+	  done
19032+	  finalize_var="$runpath_var=\"$rpath\$$runpath_var\" "
19033+	fi
19034+      fi
19035+
19036+      if test "$no_install" = yes; then
19037+	# We don't need to create a wrapper script.
19038+	link_command="$compile_var$compile_command$compile_rpath"
19039+	# Replace the output file specification.
19040+	link_command=`$ECHO "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
19041+	# Delete the old output file.
19042+	$opt_dry_run || $RM $output
19043+	# Link the executable and exit
19044+	func_show_eval "$link_command" 'exit $?'
19045+	exit $EXIT_SUCCESS
19046+      fi
19047+
19048+      if test "$hardcode_action" = relink; then
19049+	# Fast installation is not supported
19050+	link_command="$compile_var$compile_command$compile_rpath"
19051+	relink_command="$finalize_var$finalize_command$finalize_rpath"
19052+
19053+	func_warning "this platform does not like uninstalled shared libraries"
19054+	func_warning "\`$output' will be relinked during installation"
19055+      else
19056+	if test "$fast_install" != no; then
19057+	  link_command="$finalize_var$compile_command$finalize_rpath"
19058+	  if test "$fast_install" = yes; then
19059+	    relink_command=`$ECHO "X$compile_var$compile_command$compile_rpath" | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g'`
19060+	  else
19061+	    # fast_install is set to needless
19062+	    relink_command=
19063+	  fi
19064+	else
19065+	  link_command="$compile_var$compile_command$compile_rpath"
19066+	  relink_command="$finalize_var$finalize_command$finalize_rpath"
19067+	fi
19068+      fi
19069+
19070+      # Replace the output file specification.
19071+      link_command=`$ECHO "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'`
19072+
19073+      # Delete the old output files.
19074+      $opt_dry_run || $RM $output $output_objdir/$outputname $output_objdir/lt-$outputname
19075+
19076+      func_show_eval "$link_command" 'exit $?'
19077+
19078+      # Now create the wrapper script.
19079+      func_verbose "creating $output"
19080+
19081+      # Quote the relink command for shipping.
19082+      if test -n "$relink_command"; then
19083+	# Preserve any variables that may affect compiler behavior
19084+	for var in $variables_saved_for_relink; do
19085+	  if eval test -z \"\${$var+set}\"; then
19086+	    relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command"
19087+	  elif eval var_value=\$$var; test -z "$var_value"; then
19088+	    relink_command="$var=; export $var; $relink_command"
19089+	  else
19090+	    func_quote_for_eval "$var_value"
19091+	    relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command"
19092+	  fi
19093+	done
19094+	relink_command="(cd `pwd`; $relink_command)"
19095+	relink_command=`$ECHO "X$relink_command" | $Xsed -e "$sed_quote_subst"`
19096+      fi
19097+
19098+      # Quote $ECHO for shipping.
19099+      if test "X$ECHO" = "X$SHELL $progpath --fallback-echo"; then
19100+	case $progpath in
19101+	[\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $progpath --fallback-echo";;
19102+	*) qecho="$SHELL `pwd`/$progpath --fallback-echo";;
19103+	esac
19104+	qecho=`$ECHO "X$qecho" | $Xsed -e "$sed_quote_subst"`
19105+      else
19106+	qecho=`$ECHO "X$ECHO" | $Xsed -e "$sed_quote_subst"`
19107+      fi
19108+
19109+      # Only actually do things if not in dry run mode.
19110+      $opt_dry_run || {
19111+	# win32 will think the script is a binary if it has
19112+	# a .exe suffix, so we strip it off here.
19113+	case $output in
19114+	  *.exe) func_stripname '' '.exe' "$output"
19115+	         output=$func_stripname_result ;;
19116+	esac
19117+	# test for cygwin because mv fails w/o .exe extensions
19118+	case $host in
19119+	  *cygwin*)
19120+	    exeext=.exe
19121+	    func_stripname '' '.exe' "$outputname"
19122+	    outputname=$func_stripname_result ;;
19123+	  *) exeext= ;;
19124+	esac
19125+	case $host in
19126+	  *cygwin* | *mingw* )
19127+	    func_dirname_and_basename "$output" "" "."
19128+	    output_name=$func_basename_result
19129+	    output_path=$func_dirname_result
19130+	    cwrappersource="$output_path/$objdir/lt-$output_name.c"
19131+	    cwrapper="$output_path/$output_name.exe"
19132+	    $RM $cwrappersource $cwrapper
19133+	    trap "$RM $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15
19134+
19135+	    func_emit_cwrapperexe_src > $cwrappersource
19136+
19137+	    # The wrapper executable is built using the $host compiler,
19138+	    # because it contains $host paths and files. If cross-
19139+	    # compiling, it, like the target executable, must be
19140+	    # executed on the $host or under an emulation environment.
19141+	    $opt_dry_run || {
19142+	      $LTCC $LTCFLAGS -o $cwrapper $cwrappersource
19143+	      $STRIP $cwrapper
19144+	    }
19145+
19146+	    # Now, create the wrapper script for func_source use:
19147+	    func_ltwrapper_scriptname $cwrapper
19148+	    $RM $func_ltwrapper_scriptname_result
19149+	    trap "$RM $func_ltwrapper_scriptname_result; exit $EXIT_FAILURE" 1 2 15
19150+	    $opt_dry_run || {
19151+	      # note: this script will not be executed, so do not chmod.
19152+	      if test "x$build" = "x$host" ; then
19153+		$cwrapper --lt-dump-script > $func_ltwrapper_scriptname_result
19154+	      else
19155+		func_emit_wrapper no > $func_ltwrapper_scriptname_result
19156+	      fi
19157+	    }
19158+	  ;;
19159+	  * )
19160+	    $RM $output
19161+	    trap "$RM $output; exit $EXIT_FAILURE" 1 2 15
19162+
19163+	    func_emit_wrapper no > $output
19164+	    chmod +x $output
19165+	  ;;
19166+	esac
19167+      }
19168+      exit $EXIT_SUCCESS
19169+      ;;
19170+    esac
19171+
19172+    # See if we need to build an old-fashioned archive.
19173+    for oldlib in $oldlibs; do
19174+
19175+      if test "$build_libtool_libs" = convenience; then
19176+	oldobjs="$libobjs_save $symfileobj"
19177+	addlibs="$convenience"
19178+	build_libtool_libs=no
19179+      else
19180+	if test "$build_libtool_libs" = module; then
19181+	  oldobjs="$libobjs_save"
19182+	  build_libtool_libs=no
19183+	else
19184+	  oldobjs="$old_deplibs $non_pic_objects"
19185+	  if test "$preload" = yes && test -f "$symfileobj"; then
19186+	    oldobjs="$oldobjs $symfileobj"
19187+	  fi
19188+	fi
19189+	addlibs="$old_convenience"
19190+      fi
19191+
19192+      if test -n "$addlibs"; then
19193+	gentop="$output_objdir/${outputname}x"
19194+	generated="$generated $gentop"
19195+
19196+	func_extract_archives $gentop $addlibs
19197+	oldobjs="$oldobjs $func_extract_archives_result"
19198+      fi
19199+
19200+      # Do each command in the archive commands.
19201+      if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then
19202+	cmds=$old_archive_from_new_cmds
19203+      else
19204+
19205+	# Add any objects from preloaded convenience libraries
19206+	if test -n "$dlprefiles"; then
19207+	  gentop="$output_objdir/${outputname}x"
19208+	  generated="$generated $gentop"
19209+
19210+	  func_extract_archives $gentop $dlprefiles
19211+	  oldobjs="$oldobjs $func_extract_archives_result"
19212+	fi
19213+
19214+	# POSIX demands no paths to be encoded in archives.  We have
19215+	# to avoid creating archives with duplicate basenames if we
19216+	# might have to extract them afterwards, e.g., when creating a
19217+	# static archive out of a convenience library, or when linking
19218+	# the entirety of a libtool archive into another (currently
19219+	# not supported by libtool).
19220+	if (for obj in $oldobjs
19221+	    do
19222+	      func_basename "$obj"
19223+	      $ECHO "$func_basename_result"
19224+	    done | sort | sort -uc >/dev/null 2>&1); then
19225+	  :
19226+	else
19227+	  $ECHO "copying selected object files to avoid basename conflicts..."
19228+	  gentop="$output_objdir/${outputname}x"
19229+	  generated="$generated $gentop"
19230+	  func_mkdir_p "$gentop"
19231+	  save_oldobjs=$oldobjs
19232+	  oldobjs=
19233+	  counter=1
19234+	  for obj in $save_oldobjs
19235+	  do
19236+	    func_basename "$obj"
19237+	    objbase="$func_basename_result"
19238+	    case " $oldobjs " in
19239+	    " ") oldobjs=$obj ;;
19240+	    *[\ /]"$objbase "*)
19241+	      while :; do
19242+		# Make sure we don't pick an alternate name that also
19243+		# overlaps.
19244+		newobj=lt$counter-$objbase
19245+		func_arith $counter + 1
19246+		counter=$func_arith_result
19247+		case " $oldobjs " in
19248+		*[\ /]"$newobj "*) ;;
19249+		*) if test ! -f "$gentop/$newobj"; then break; fi ;;
19250+		esac
19251+	      done
19252+	      func_show_eval "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj"
19253+	      oldobjs="$oldobjs $gentop/$newobj"
19254+	      ;;
19255+	    *) oldobjs="$oldobjs $obj" ;;
19256+	    esac
19257+	  done
19258+	fi
19259+	eval cmds=\"$old_archive_cmds\"
19260+
19261+	func_len " $cmds"
19262+	len=$func_len_result
19263+	if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then
19264+	  cmds=$old_archive_cmds
19265+	else
19266+	  # the command line is too long to link in one step, link in parts
19267+	  func_verbose "using piecewise archive linking..."
19268+	  save_RANLIB=$RANLIB
19269+	  RANLIB=:
19270+	  objlist=
19271+	  concat_cmds=
19272+	  save_oldobjs=$oldobjs
19273+	  oldobjs=
19274+	  # Is there a better way of finding the last object in the list?
19275+	  for obj in $save_oldobjs
19276+	  do
19277+	    last_oldobj=$obj
19278+	  done
19279+	  eval test_cmds=\"$old_archive_cmds\"
19280+	  func_len " $test_cmds"
19281+	  len0=$func_len_result
19282+	  len=$len0
19283+	  for obj in $save_oldobjs
19284+	  do
19285+	    func_len " $obj"
19286+	    func_arith $len + $func_len_result
19287+	    len=$func_arith_result
19288+	    func_append objlist " $obj"
19289+	    if test "$len" -lt "$max_cmd_len"; then
19290+	      :
19291+	    else
19292+	      # the above command should be used before it gets too long
19293+	      oldobjs=$objlist
19294+	      if test "$obj" = "$last_oldobj" ; then
19295+		RANLIB=$save_RANLIB
19296+	      fi
19297+	      test -z "$concat_cmds" || concat_cmds=$concat_cmds~
19298+	      eval concat_cmds=\"\${concat_cmds}$old_archive_cmds\"
19299+	      objlist=
19300+	      len=$len0
19301+	    fi
19302+	  done
19303+	  RANLIB=$save_RANLIB
19304+	  oldobjs=$objlist
19305+	  if test "X$oldobjs" = "X" ; then
19306+	    eval cmds=\"\$concat_cmds\"
19307+	  else
19308+	    eval cmds=\"\$concat_cmds~\$old_archive_cmds\"
19309+	  fi
19310+	fi
19311+      fi
19312+      func_execute_cmds "$cmds" 'exit $?'
19313+    done
19314+
19315+    test -n "$generated" && \
19316+      func_show_eval "${RM}r$generated"
19317+
19318+    # Now create the libtool archive.
19319+    case $output in
19320+    *.la)
19321+      old_library=
19322+      test "$build_old_libs" = yes && old_library="$libname.$libext"
19323+      func_verbose "creating $output"
19324+
19325+      # Preserve any variables that may affect compiler behavior
19326+      for var in $variables_saved_for_relink; do
19327+	if eval test -z \"\${$var+set}\"; then
19328+	  relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command"
19329+	elif eval var_value=\$$var; test -z "$var_value"; then
19330+	  relink_command="$var=; export $var; $relink_command"
19331+	else
19332+	  func_quote_for_eval "$var_value"
19333+	  relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command"
19334+	fi
19335+      done
19336+      # Quote the link command for shipping.
19337+      relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
19338+      relink_command=`$ECHO "X$relink_command" | $Xsed -e "$sed_quote_subst"`
19339+      if test "$hardcode_automatic" = yes ; then
19340+	relink_command=
19341+      fi
19342+
19343+      # Only create the output if not a dry run.
19344+      $opt_dry_run || {
19345+	for installed in no yes; do
19346+	  if test "$installed" = yes; then
19347+	    if test -z "$install_libdir"; then
19348+	      break
19349+	    fi
19350+	    output="$output_objdir/$outputname"i
19351+	    # Replace all uninstalled libtool libraries with the installed ones
19352+	    newdependency_libs=
19353+	    for deplib in $dependency_libs; do
19354+	      case $deplib in
19355+	      *.la)
19356+		func_basename "$deplib"
19357+		name="$func_basename_result"
19358+		eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
19359+		test -z "$libdir" && \
19360+		  func_fatal_error "\`$deplib' is not a valid libtool archive"
19361+		newdependency_libs="$newdependency_libs $libdir/$name"
19362+		;;
19363+	      *) newdependency_libs="$newdependency_libs $deplib" ;;
19364+	      esac
19365+	    done
19366+	    dependency_libs="$newdependency_libs"
19367+	    newdlfiles=
19368+
19369+	    for lib in $dlfiles; do
19370+	      case $lib in
19371+	      *.la)
19372+	        func_basename "$lib"
19373+		name="$func_basename_result"
19374+		eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
19375+		test -z "$libdir" && \
19376+		  func_fatal_error "\`$lib' is not a valid libtool archive"
19377+		newdlfiles="$newdlfiles $libdir/$name"
19378+		;;
19379+	      *) newdlfiles="$newdlfiles $lib" ;;
19380+	      esac
19381+	    done
19382+	    dlfiles="$newdlfiles"
19383+	    newdlprefiles=
19384+	    for lib in $dlprefiles; do
19385+	      case $lib in
19386+	      *.la)
19387+		# Only pass preopened files to the pseudo-archive (for
19388+		# eventual linking with the app. that links it) if we
19389+		# didn't already link the preopened objects directly into
19390+		# the library:
19391+		func_basename "$lib"
19392+		name="$func_basename_result"
19393+		eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
19394+		test -z "$libdir" && \
19395+		  func_fatal_error "\`$lib' is not a valid libtool archive"
19396+		newdlprefiles="$newdlprefiles $libdir/$name"
19397+		;;
19398+	      esac
19399+	    done
19400+	    dlprefiles="$newdlprefiles"
19401+	  else
19402+	    newdlfiles=
19403+	    for lib in $dlfiles; do
19404+	      case $lib in
19405+		[\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
19406+		*) abs=`pwd`"/$lib" ;;
19407+	      esac
19408+	      newdlfiles="$newdlfiles $abs"
19409+	    done
19410+	    dlfiles="$newdlfiles"
19411+	    newdlprefiles=
19412+	    for lib in $dlprefiles; do
19413+	      case $lib in
19414+		[\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
19415+		*) abs=`pwd`"/$lib" ;;
19416+	      esac
19417+	      newdlprefiles="$newdlprefiles $abs"
19418+	    done
19419+	    dlprefiles="$newdlprefiles"
19420+	  fi
19421+	  $RM $output
19422+	  # place dlname in correct position for cygwin
19423+	  tdlname=$dlname
19424+	  case $host,$output,$installed,$module,$dlname in
19425+	    *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;;
19426+	  esac
19427+	  $ECHO > $output "\
19428+# $outputname - a libtool library file
19429+# Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION
19430+#
19431+# Please DO NOT delete this file!
19432+# It is necessary for linking the library.
19433+
19434+# The name that we can dlopen(3).
19435+dlname='$tdlname'
19436+
19437+# Names of this library.
19438+library_names='$library_names'
19439+
19440+# The name of the static archive.
19441+old_library='$old_library'
19442+
19443+# Linker flags that can not go in dependency_libs.
19444+inherited_linker_flags='$new_inherited_linker_flags'
19445+
19446+# Libraries that this one depends upon.
19447+dependency_libs='$dependency_libs'
19448+
19449+# Names of additional weak libraries provided by this library
19450+weak_library_names='$weak_libs'
19451+
19452+# Version information for $libname.
19453+current=$current
19454+age=$age
19455+revision=$revision
19456+
19457+# Is this an already installed library?
19458+installed=$installed
19459+
19460+# Should we warn about portability when linking against -modules?
19461+shouldnotlink=$module
19462+
19463+# Files to dlopen/dlpreopen
19464+dlopen='$dlfiles'
19465+dlpreopen='$dlprefiles'
19466+
19467+# Directory that this library needs to be installed in:
19468+libdir='$install_libdir'"
19469+	  if test "$installed" = no && test "$need_relink" = yes; then
19470+	    $ECHO >> $output "\
19471+relink_command=\"$relink_command\""
19472+	  fi
19473+	done
19474+      }
19475+
19476+      # Do a symbolic link so that the libtool archive can be found in
19477+      # LD_LIBRARY_PATH before the program is installed.
19478+      func_show_eval '( cd "$output_objdir" && $RM "$outputname" && $LN_S "../$outputname" "$outputname" )' 'exit $?'
19479+      ;;
19480+    esac
19481+    exit $EXIT_SUCCESS
19482+}
19483+
19484+{ test "$mode" = link || test "$mode" = relink; } &&
19485+    func_mode_link ${1+"$@"}
19486+
19487+
19488+# func_mode_uninstall arg...
19489+func_mode_uninstall ()
19490+{
19491+    $opt_debug
19492+    RM="$nonopt"
19493+    files=
19494+    rmforce=
19495+    exit_status=0
19496+
19497+    # This variable tells wrapper scripts just to set variables rather
19498+    # than running their programs.
19499+    libtool_install_magic="$magic"
19500+
19501+    for arg
19502+    do
19503+      case $arg in
19504+      -f) RM="$RM $arg"; rmforce=yes ;;
19505+      -*) RM="$RM $arg" ;;
19506+      *) files="$files $arg" ;;
19507+      esac
19508+    done
19509+
19510+    test -z "$RM" && \
19511+      func_fatal_help "you must specify an RM program"
19512+
19513+    rmdirs=
19514+
19515+    origobjdir="$objdir"
19516+    for file in $files; do
19517+      func_dirname "$file" "" "."
19518+      dir="$func_dirname_result"
19519+      if test "X$dir" = X.; then
19520+	objdir="$origobjdir"
19521+      else
19522+	objdir="$dir/$origobjdir"
19523+      fi
19524+      func_basename "$file"
19525+      name="$func_basename_result"
19526+      test "$mode" = uninstall && objdir="$dir"
19527+
19528+      # Remember objdir for removal later, being careful to avoid duplicates
19529+      if test "$mode" = clean; then
19530+	case " $rmdirs " in
19531+	  *" $objdir "*) ;;
19532+	  *) rmdirs="$rmdirs $objdir" ;;
19533+	esac
19534+      fi
19535+
19536+      # Don't error if the file doesn't exist and rm -f was used.
19537+      if { test -L "$file"; } >/dev/null 2>&1 ||
19538+	 { test -h "$file"; } >/dev/null 2>&1 ||
19539+	 test -f "$file"; then
19540+	:
19541+      elif test -d "$file"; then
19542+	exit_status=1
19543+	continue
19544+      elif test "$rmforce" = yes; then
19545+	continue
19546+      fi
19547+
19548+      rmfiles="$file"
19549+
19550+      case $name in
19551+      *.la)
19552+	# Possibly a libtool archive, so verify it.
19553+	if func_lalib_p "$file"; then
19554+	  func_source $dir/$name
19555+
19556+	  # Delete the libtool libraries and symlinks.
19557+	  for n in $library_names; do
19558+	    rmfiles="$rmfiles $objdir/$n"
19559+	  done
19560+	  test -n "$old_library" && rmfiles="$rmfiles $objdir/$old_library"
19561+
19562+	  case "$mode" in
19563+	  clean)
19564+	    case "  $library_names " in
19565+	    # "  " in the beginning catches empty $dlname
19566+	    *" $dlname "*) ;;
19567+	    *) rmfiles="$rmfiles $objdir/$dlname" ;;
19568+	    esac
19569+	    test -n "$libdir" && rmfiles="$rmfiles $objdir/$name $objdir/${name}i"
19570+	    ;;
19571+	  uninstall)
19572+	    if test -n "$library_names"; then
19573+	      # Do each command in the postuninstall commands.
19574+	      func_execute_cmds "$postuninstall_cmds" 'test "$rmforce" = yes || exit_status=1'
19575+	    fi
19576+
19577+	    if test -n "$old_library"; then
19578+	      # Do each command in the old_postuninstall commands.
19579+	      func_execute_cmds "$old_postuninstall_cmds" 'test "$rmforce" = yes || exit_status=1'
19580+	    fi
19581+	    # FIXME: should reinstall the best remaining shared library.
19582+	    ;;
19583+	  esac
19584+	fi
19585+	;;
19586+
19587+      *.lo)
19588+	# Possibly a libtool object, so verify it.
19589+	if func_lalib_p "$file"; then
19590+
19591+	  # Read the .lo file
19592+	  func_source $dir/$name
19593+
19594+	  # Add PIC object to the list of files to remove.
19595+	  if test -n "$pic_object" &&
19596+	     test "$pic_object" != none; then
19597+	    rmfiles="$rmfiles $dir/$pic_object"
19598+	  fi
19599+
19600+	  # Add non-PIC object to the list of files to remove.
19601+	  if test -n "$non_pic_object" &&
19602+	     test "$non_pic_object" != none; then
19603+	    rmfiles="$rmfiles $dir/$non_pic_object"
19604+	  fi
19605+	fi
19606+	;;
19607+
19608+      *)
19609+	if test "$mode" = clean ; then
19610+	  noexename=$name
19611+	  case $file in
19612+	  *.exe)
19613+	    func_stripname '' '.exe' "$file"
19614+	    file=$func_stripname_result
19615+	    func_stripname '' '.exe' "$name"
19616+	    noexename=$func_stripname_result
19617+	    # $file with .exe has already been added to rmfiles,
19618+	    # add $file without .exe
19619+	    rmfiles="$rmfiles $file"
19620+	    ;;
19621+	  esac
19622+	  # Do a test to see if this is a libtool program.
19623+	  if func_ltwrapper_p "$file"; then
19624+	    if func_ltwrapper_executable_p "$file"; then
19625+	      func_ltwrapper_scriptname "$file"
19626+	      relink_command=
19627+	      func_source $func_ltwrapper_scriptname_result
19628+	      rmfiles="$rmfiles $func_ltwrapper_scriptname_result"
19629+	    else
19630+	      relink_command=
19631+	      func_source $dir/$noexename
19632+	    fi
19633+
19634+	    # note $name still contains .exe if it was in $file originally
19635+	    # as does the version of $file that was added into $rmfiles
19636+	    rmfiles="$rmfiles $objdir/$name $objdir/${name}S.${objext}"
19637+	    if test "$fast_install" = yes && test -n "$relink_command"; then
19638+	      rmfiles="$rmfiles $objdir/lt-$name"
19639+	    fi
19640+	    if test "X$noexename" != "X$name" ; then
19641+	      rmfiles="$rmfiles $objdir/lt-${noexename}.c"
19642+	    fi
19643+	  fi
19644+	fi
19645+	;;
19646+      esac
19647+      func_show_eval "$RM $rmfiles" 'exit_status=1'
19648+    done
19649+    objdir="$origobjdir"
19650+
19651+    # Try to remove the ${objdir}s in the directories where we deleted files
19652+    for dir in $rmdirs; do
19653+      if test -d "$dir"; then
19654+	func_show_eval "rmdir $dir >/dev/null 2>&1"
19655+      fi
19656+    done
19657+
19658+    exit $exit_status
19659+}
19660+
19661+{ test "$mode" = uninstall || test "$mode" = clean; } &&
19662+    func_mode_uninstall ${1+"$@"}
19663+
19664+test -z "$mode" && {
19665+  help="$generic_help"
19666+  func_fatal_help "you must specify a MODE"
19667+}
19668+
19669+test -z "$exec_cmd" && \
19670+  func_fatal_help "invalid operation mode \`$mode'"
19671+
19672+if test -n "$exec_cmd"; then
19673+  eval exec "$exec_cmd"
19674+  exit $EXIT_FAILURE
19675+fi
19676+
19677+exit $exit_status
19678+
19679+
19680+# The TAGs below are defined such that we never get into a situation
19681+# in which we disable both kinds of libraries.  Given conflicting
19682+# choices, we go for a static library, that is the most portable,
19683+# since we can't tell whether shared libraries were disabled because
19684+# the user asked for that or because the platform doesn't support
19685+# them.  This is particularly important on AIX, because we don't
19686+# support having both static and shared libraries enabled at the same
19687+# time on that platform, so we default to a shared-only configuration.
19688+# If a disable-shared tag is given, we'll fallback to a static-only
19689+# configuration.  But we'll never go from static-only to shared-only.
19690+
19691+# ### BEGIN LIBTOOL TAG CONFIG: disable-shared
19692+build_libtool_libs=no
19693+build_old_libs=yes
19694+# ### END LIBTOOL TAG CONFIG: disable-shared
19695+
19696+# ### BEGIN LIBTOOL TAG CONFIG: disable-static
19697+build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac`
19698+# ### END LIBTOOL TAG CONFIG: disable-static
19699+
19700+# Local Variables:
19701+# mode:shell-script
19702+# sh-indentation:2
19703+# End:
19704+# vi:sw=2
19705+
19706diff -urwN nxproxy-orig/conf/m4/libtool.m4 nxproxy/conf/m4/libtool.m4
19707--- nxproxy-orig/conf/m4/libtool.m4	1970-01-01 01:00:00.000000000 +0100
19708+++ nxproxy/conf/m4/libtool.m4	2009-10-10 13:57:48.790597698 +0200
19709@@ -0,0 +1,7360 @@
19710+# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
19711+#
19712+#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
19713+#                 2006, 2007, 2008 Free Software Foundation, Inc.
19714+#   Written by Gordon Matzigkeit, 1996
19715+#
19716+# This file is free software; the Free Software Foundation gives
19717+# unlimited permission to copy and/or distribute it, with or without
19718+# modifications, as long as this notice is preserved.
19719+
19720+m4_define([_LT_COPYING], [dnl
19721+#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
19722+#                 2006, 2007, 2008 Free Software Foundation, Inc.
19723+#   Written by Gordon Matzigkeit, 1996
19724+#
19725+#   This file is part of GNU Libtool.
19726+#
19727+# GNU Libtool is free software; you can redistribute it and/or
19728+# modify it under the terms of the GNU General Public License as
19729+# published by the Free Software Foundation; either version 2 of
19730+# the License, or (at your option) any later version.
19731+#
19732+# As a special exception to the GNU General Public License,
19733+# if you distribute this file as part of a program or library that
19734+# is built using GNU Libtool, you may include this file under the
19735+# same distribution terms that you use for the rest of that program.
19736+#
19737+# GNU Libtool is distributed in the hope that it will be useful,
19738+# but WITHOUT ANY WARRANTY; without even the implied warranty of
19739+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19740+# GNU General Public License for more details.
19741+#
19742+# You should have received a copy of the GNU General Public License
19743+# along with GNU Libtool; see the file COPYING.  If not, a copy
19744+# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
19745+# obtained by writing to the Free Software Foundation, Inc.,
19746+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19747+])
19748+
19749+# serial 56 LT_INIT
19750+
19751+
19752+# LT_PREREQ(VERSION)
19753+# ------------------
19754+# Complain and exit if this libtool version is less that VERSION.
19755+m4_defun([LT_PREREQ],
19756+[m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1,
19757+       [m4_default([$3],
19758+		   [m4_fatal([Libtool version $1 or higher is required],
19759+		             63)])],
19760+       [$2])])
19761+
19762+
19763+# _LT_CHECK_BUILDDIR
19764+# ------------------
19765+# Complain if the absolute build directory name contains unusual characters
19766+m4_defun([_LT_CHECK_BUILDDIR],
19767+[case `pwd` in
19768+  *\ * | *\	*)
19769+    AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;;
19770+esac
19771+])
19772+
19773+
19774+# LT_INIT([OPTIONS])
19775+# ------------------
19776+AC_DEFUN([LT_INIT],
19777+[AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT
19778+AC_BEFORE([$0], [LT_LANG])dnl
19779+AC_BEFORE([$0], [LT_OUTPUT])dnl
19780+AC_BEFORE([$0], [LTDL_INIT])dnl
19781+m4_require([_LT_CHECK_BUILDDIR])dnl
19782+
19783+dnl Autoconf doesn't catch unexpanded LT_ macros by default:
19784+m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
19785+m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl
19786+dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4
19787+dnl unless we require an AC_DEFUNed macro:
19788+AC_REQUIRE([LTOPTIONS_VERSION])dnl
19789+AC_REQUIRE([LTSUGAR_VERSION])dnl
19790+AC_REQUIRE([LTVERSION_VERSION])dnl
19791+AC_REQUIRE([LTOBSOLETE_VERSION])dnl
19792+m4_require([_LT_PROG_LTMAIN])dnl
19793+
19794+dnl Parse OPTIONS
19795+_LT_SET_OPTIONS([$0], [$1])
19796+
19797+# This can be used to rebuild libtool when needed
19798+LIBTOOL_DEPS="$ltmain"
19799+
19800+# Always use our own libtool.
19801+LIBTOOL='$(SHELL) $(top_builddir)/libtool'
19802+AC_SUBST(LIBTOOL)dnl
19803+
19804+_LT_SETUP
19805+
19806+# Only expand once:
19807+m4_define([LT_INIT])
19808+])# LT_INIT
19809+
19810+# Old names:
19811+AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT])
19812+AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT])
19813+dnl aclocal-1.4 backwards compatibility:
19814+dnl AC_DEFUN([AC_PROG_LIBTOOL], [])
19815+dnl AC_DEFUN([AM_PROG_LIBTOOL], [])
19816+
19817+
19818+# _LT_CC_BASENAME(CC)
19819+# -------------------
19820+# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
19821+m4_defun([_LT_CC_BASENAME],
19822+[for cc_temp in $1""; do
19823+  case $cc_temp in
19824+    compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
19825+    distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
19826+    \-*) ;;
19827+    *) break;;
19828+  esac
19829+done
19830+cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19831+])
19832+
19833+
19834+# _LT_FILEUTILS_DEFAULTS
19835+# ----------------------
19836+# It is okay to use these file commands and assume they have been set
19837+# sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'.
19838+m4_defun([_LT_FILEUTILS_DEFAULTS],
19839+[: ${CP="cp -f"}
19840+: ${MV="mv -f"}
19841+: ${RM="rm -f"}
19842+])# _LT_FILEUTILS_DEFAULTS
19843+
19844+
19845+# _LT_SETUP
19846+# ---------
19847+m4_defun([_LT_SETUP],
19848+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
19849+AC_REQUIRE([AC_CANONICAL_BUILD])dnl
19850+_LT_DECL([], [host_alias], [0], [The host system])dnl
19851+_LT_DECL([], [host], [0])dnl
19852+_LT_DECL([], [host_os], [0])dnl
19853+dnl
19854+_LT_DECL([], [build_alias], [0], [The build system])dnl
19855+_LT_DECL([], [build], [0])dnl
19856+_LT_DECL([], [build_os], [0])dnl
19857+dnl
19858+AC_REQUIRE([AC_PROG_CC])dnl
19859+AC_REQUIRE([LT_PATH_LD])dnl
19860+AC_REQUIRE([LT_PATH_NM])dnl
19861+dnl
19862+AC_REQUIRE([AC_PROG_LN_S])dnl
19863+test -z "$LN_S" && LN_S="ln -s"
19864+_LT_DECL([], [LN_S], [1], [Whether we need soft or hard links])dnl
19865+dnl
19866+AC_REQUIRE([LT_CMD_MAX_LEN])dnl
19867+_LT_DECL([objext], [ac_objext], [0], [Object file suffix (normally "o")])dnl
19868+_LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl
19869+dnl
19870+m4_require([_LT_FILEUTILS_DEFAULTS])dnl
19871+m4_require([_LT_CHECK_SHELL_FEATURES])dnl
19872+m4_require([_LT_CMD_RELOAD])dnl
19873+m4_require([_LT_CHECK_MAGIC_METHOD])dnl
19874+m4_require([_LT_CMD_OLD_ARCHIVE])dnl
19875+m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
19876+
19877+_LT_CONFIG_LIBTOOL_INIT([
19878+# See if we are running on zsh, and set the options which allow our
19879+# commands through without removal of \ escapes INIT.
19880+if test -n "\${ZSH_VERSION+set}" ; then
19881+   setopt NO_GLOB_SUBST
19882+fi
19883+])
19884+if test -n "${ZSH_VERSION+set}" ; then
19885+   setopt NO_GLOB_SUBST
19886+fi
19887+
19888+_LT_CHECK_OBJDIR
19889+
19890+m4_require([_LT_TAG_COMPILER])dnl
19891+_LT_PROG_ECHO_BACKSLASH
19892+
19893+case $host_os in
19894+aix3*)
19895+  # AIX sometimes has problems with the GCC collect2 program.  For some
19896+  # reason, if we set the COLLECT_NAMES environment variable, the problems
19897+  # vanish in a puff of smoke.
19898+  if test "X${COLLECT_NAMES+set}" != Xset; then
19899+    COLLECT_NAMES=
19900+    export COLLECT_NAMES
19901+  fi
19902+  ;;
19903+esac
19904+
19905+# Sed substitution that helps us do robust quoting.  It backslashifies
19906+# metacharacters that are still active within double-quoted strings.
19907+sed_quote_subst='s/\([["`$\\]]\)/\\\1/g'
19908+
19909+# Same as above, but do not quote variable references.
19910+double_quote_subst='s/\([["`\\]]\)/\\\1/g'
19911+
19912+# Sed substitution to delay expansion of an escaped shell variable in a
19913+# double_quote_subst'ed string.
19914+delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
19915+
19916+# Sed substitution to delay expansion of an escaped single quote.
19917+delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
19918+
19919+# Sed substitution to avoid accidental globbing in evaled expressions
19920+no_glob_subst='s/\*/\\\*/g'
19921+
19922+# Global variables:
19923+ofile=libtool
19924+can_build_shared=yes
19925+
19926+# All known linkers require a `.a' archive for static linking (except MSVC,
19927+# which needs '.lib').
19928+libext=a
19929+
19930+with_gnu_ld="$lt_cv_prog_gnu_ld"
19931+
19932+old_CC="$CC"
19933+old_CFLAGS="$CFLAGS"
19934+
19935+# Set sane defaults for various variables
19936+test -z "$CC" && CC=cc
19937+test -z "$LTCC" && LTCC=$CC
19938+test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
19939+test -z "$LD" && LD=ld
19940+test -z "$ac_objext" && ac_objext=o
19941+
19942+_LT_CC_BASENAME([$compiler])
19943+
19944+# Only perform the check for file, if the check method requires it
19945+test -z "$MAGIC_CMD" && MAGIC_CMD=file
19946+case $deplibs_check_method in
19947+file_magic*)
19948+  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
19949+    _LT_PATH_MAGIC
19950+  fi
19951+  ;;
19952+esac
19953+
19954+# Use C for the default configuration in the libtool script
19955+LT_SUPPORTED_TAG([CC])
19956+_LT_LANG_C_CONFIG
19957+_LT_LANG_DEFAULT_CONFIG
19958+_LT_CONFIG_COMMANDS
19959+])# _LT_SETUP
19960+
19961+
19962+# _LT_PROG_LTMAIN
19963+# ---------------
19964+# Note that this code is called both from `configure', and `config.status'
19965+# now that we use AC_CONFIG_COMMANDS to generate libtool.  Notably,
19966+# `config.status' has no value for ac_aux_dir unless we are using Automake,
19967+# so we pass a copy along to make sure it has a sensible value anyway.
19968+m4_defun([_LT_PROG_LTMAIN],
19969+[m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl
19970+_LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir'])
19971+ltmain="$ac_aux_dir/ltmain.sh"
19972+])# _LT_PROG_LTMAIN
19973+
19974+
19975+## ------------------------------------- ##
19976+## Accumulate code for creating libtool. ##
19977+## ------------------------------------- ##
19978+
19979+# So that we can recreate a full libtool script including additional
19980+# tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS
19981+# in macros and then make a single call at the end using the `libtool'
19982+# label.
19983+
19984+
19985+# _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS])
19986+# ----------------------------------------
19987+# Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later.
19988+m4_define([_LT_CONFIG_LIBTOOL_INIT],
19989+[m4_ifval([$1],
19990+          [m4_append([_LT_OUTPUT_LIBTOOL_INIT],
19991+                     [$1
19992+])])])
19993+
19994+# Initialize.
19995+m4_define([_LT_OUTPUT_LIBTOOL_INIT])
19996+
19997+
19998+# _LT_CONFIG_LIBTOOL([COMMANDS])
19999+# ------------------------------
20000+# Register COMMANDS to be passed to AC_CONFIG_COMMANDS later.
20001+m4_define([_LT_CONFIG_LIBTOOL],
20002+[m4_ifval([$1],
20003+          [m4_append([_LT_OUTPUT_LIBTOOL_COMMANDS],
20004+                     [$1
20005+])])])
20006+
20007+# Initialize.
20008+m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS])
20009+
20010+
20011+# _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS])
20012+# -----------------------------------------------------
20013+m4_defun([_LT_CONFIG_SAVE_COMMANDS],
20014+[_LT_CONFIG_LIBTOOL([$1])
20015+_LT_CONFIG_LIBTOOL_INIT([$2])
20016+])
20017+
20018+
20019+# _LT_FORMAT_COMMENT([COMMENT])
20020+# -----------------------------
20021+# Add leading comment marks to the start of each line, and a trailing
20022+# full-stop to the whole comment if one is not present already.
20023+m4_define([_LT_FORMAT_COMMENT],
20024+[m4_ifval([$1], [
20025+m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])],
20026+              [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.])
20027+)])
20028+
20029+
20030+
20031+## ------------------------ ##
20032+## FIXME: Eliminate VARNAME ##
20033+## ------------------------ ##
20034+
20035+
20036+# _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?])
20037+# -------------------------------------------------------------------
20038+# CONFIGNAME is the name given to the value in the libtool script.
20039+# VARNAME is the (base) name used in the configure script.
20040+# VALUE may be 0, 1 or 2 for a computed quote escaped value based on
20041+# VARNAME.  Any other value will be used directly.
20042+m4_define([_LT_DECL],
20043+[lt_if_append_uniq([lt_decl_varnames], [$2], [, ],
20044+    [lt_dict_add_subkey([lt_decl_dict], [$2], [libtool_name],
20045+	[m4_ifval([$1], [$1], [$2])])
20046+    lt_dict_add_subkey([lt_decl_dict], [$2], [value], [$3])
20047+    m4_ifval([$4],
20048+	[lt_dict_add_subkey([lt_decl_dict], [$2], [description], [$4])])
20049+    lt_dict_add_subkey([lt_decl_dict], [$2],
20050+	[tagged?], [m4_ifval([$5], [yes], [no])])])
20051+])
20052+
20053+
20054+# _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION])
20055+# --------------------------------------------------------
20056+m4_define([_LT_TAGDECL], [_LT_DECL([$1], [$2], [$3], [$4], [yes])])
20057+
20058+
20059+# lt_decl_tag_varnames([SEPARATOR], [VARNAME1...])
20060+# ------------------------------------------------
20061+m4_define([lt_decl_tag_varnames],
20062+[_lt_decl_filter([tagged?], [yes], $@)])
20063+
20064+
20065+# _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..])
20066+# ---------------------------------------------------------
20067+m4_define([_lt_decl_filter],
20068+[m4_case([$#],
20069+  [0], [m4_fatal([$0: too few arguments: $#])],
20070+  [1], [m4_fatal([$0: too few arguments: $#: $1])],
20071+  [2], [lt_dict_filter([lt_decl_dict], [$1], [$2], [], lt_decl_varnames)],
20072+  [3], [lt_dict_filter([lt_decl_dict], [$1], [$2], [$3], lt_decl_varnames)],
20073+  [lt_dict_filter([lt_decl_dict], $@)])[]dnl
20074+])
20075+
20076+
20077+# lt_decl_quote_varnames([SEPARATOR], [VARNAME1...])
20078+# --------------------------------------------------
20079+m4_define([lt_decl_quote_varnames],
20080+[_lt_decl_filter([value], [1], $@)])
20081+
20082+
20083+# lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...])
20084+# ---------------------------------------------------
20085+m4_define([lt_decl_dquote_varnames],
20086+[_lt_decl_filter([value], [2], $@)])
20087+
20088+
20089+# lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...])
20090+# ---------------------------------------------------
20091+m4_define([lt_decl_varnames_tagged],
20092+[m4_assert([$# <= 2])dnl
20093+_$0(m4_quote(m4_default([$1], [[, ]])),
20094+    m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]),
20095+    m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))])
20096+m4_define([_lt_decl_varnames_tagged],
20097+[m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])])
20098+
20099+
20100+# lt_decl_all_varnames([SEPARATOR], [VARNAME1...])
20101+# ------------------------------------------------
20102+m4_define([lt_decl_all_varnames],
20103+[_$0(m4_quote(m4_default([$1], [[, ]])),
20104+     m4_if([$2], [],
20105+	   m4_quote(lt_decl_varnames),
20106+	m4_quote(m4_shift($@))))[]dnl
20107+])
20108+m4_define([_lt_decl_all_varnames],
20109+[lt_join($@, lt_decl_varnames_tagged([$1],
20110+			lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl
20111+])
20112+
20113+
20114+# _LT_CONFIG_STATUS_DECLARE([VARNAME])
20115+# ------------------------------------
20116+# Quote a variable value, and forward it to `config.status' so that its
20117+# declaration there will have the same value as in `configure'.  VARNAME
20118+# must have a single quote delimited value for this to work.
20119+m4_define([_LT_CONFIG_STATUS_DECLARE],
20120+[$1='`$ECHO "X$][$1" | $Xsed -e "$delay_single_quote_subst"`'])
20121+
20122+
20123+# _LT_CONFIG_STATUS_DECLARATIONS
20124+# ------------------------------
20125+# We delimit libtool config variables with single quotes, so when
20126+# we write them to config.status, we have to be sure to quote all
20127+# embedded single quotes properly.  In configure, this macro expands
20128+# each variable declared with _LT_DECL (and _LT_TAGDECL) into:
20129+#
20130+#    <var>='`$ECHO "X$<var>" | $Xsed -e "$delay_single_quote_subst"`'
20131+m4_defun([_LT_CONFIG_STATUS_DECLARATIONS],
20132+[m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames),
20133+    [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])])
20134+
20135+
20136+# _LT_LIBTOOL_TAGS
20137+# ----------------
20138+# Output comment and list of tags supported by the script
20139+m4_defun([_LT_LIBTOOL_TAGS],
20140+[_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl
20141+available_tags="_LT_TAGS"dnl
20142+])
20143+
20144+
20145+# _LT_LIBTOOL_DECLARE(VARNAME, [TAG])
20146+# -----------------------------------
20147+# Extract the dictionary values for VARNAME (optionally with TAG) and
20148+# expand to a commented shell variable setting:
20149+#
20150+#    # Some comment about what VAR is for.
20151+#    visible_name=$lt_internal_name
20152+m4_define([_LT_LIBTOOL_DECLARE],
20153+[_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1],
20154+					   [description])))[]dnl
20155+m4_pushdef([_libtool_name],
20156+    m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl
20157+m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])),
20158+    [0], [_libtool_name=[$]$1],
20159+    [1], [_libtool_name=$lt_[]$1],
20160+    [2], [_libtool_name=$lt_[]$1],
20161+    [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl
20162+m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl
20163+])
20164+
20165+
20166+# _LT_LIBTOOL_CONFIG_VARS
20167+# -----------------------
20168+# Produce commented declarations of non-tagged libtool config variables
20169+# suitable for insertion in the LIBTOOL CONFIG section of the `libtool'
20170+# script.  Tagged libtool config variables (even for the LIBTOOL CONFIG
20171+# section) are produced by _LT_LIBTOOL_TAG_VARS.
20172+m4_defun([_LT_LIBTOOL_CONFIG_VARS],
20173+[m4_foreach([_lt_var],
20174+    m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)),
20175+    [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])])
20176+
20177+
20178+# _LT_LIBTOOL_TAG_VARS(TAG)
20179+# -------------------------
20180+m4_define([_LT_LIBTOOL_TAG_VARS],
20181+[m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames),
20182+    [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])])
20183+
20184+
20185+# _LT_TAGVAR(VARNAME, [TAGNAME])
20186+# ------------------------------
20187+m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])])
20188+
20189+
20190+# _LT_CONFIG_COMMANDS
20191+# -------------------
20192+# Send accumulated output to $CONFIG_STATUS.  Thanks to the lists of
20193+# variables for single and double quote escaping we saved from calls
20194+# to _LT_DECL, we can put quote escaped variables declarations
20195+# into `config.status', and then the shell code to quote escape them in
20196+# for loops in `config.status'.  Finally, any additional code accumulated
20197+# from calls to _LT_CONFIG_LIBTOOL_INIT is expanded.
20198+m4_defun([_LT_CONFIG_COMMANDS],
20199+[AC_PROVIDE_IFELSE([LT_OUTPUT],
20200+	dnl If the libtool generation code has been placed in $CONFIG_LT,
20201+	dnl instead of duplicating it all over again into config.status,
20202+	dnl then we will have config.status run $CONFIG_LT later, so it
20203+	dnl needs to know what name is stored there:
20204+        [AC_CONFIG_COMMANDS([libtool],
20205+            [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])],
20206+    dnl If the libtool generation code is destined for config.status,
20207+    dnl expand the accumulated commands and init code now:
20208+    [AC_CONFIG_COMMANDS([libtool],
20209+        [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_COMMANDS_INIT])])
20210+])#_LT_CONFIG_COMMANDS
20211+
20212+
20213+# Initialize.
20214+m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS_INIT],
20215+[
20216+
20217+# The HP-UX ksh and POSIX shell print the target directory to stdout
20218+# if CDPATH is set.
20219+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20220+
20221+sed_quote_subst='$sed_quote_subst'
20222+double_quote_subst='$double_quote_subst'
20223+delay_variable_subst='$delay_variable_subst'
20224+_LT_CONFIG_STATUS_DECLARATIONS
20225+LTCC='$LTCC'
20226+LTCFLAGS='$LTCFLAGS'
20227+compiler='$compiler_DEFAULT'
20228+
20229+# Quote evaled strings.
20230+for var in lt_decl_all_varnames([[ \
20231+]], lt_decl_quote_varnames); do
20232+    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
20233+    *[[\\\\\\\`\\"\\\$]]*)
20234+      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
20235+      ;;
20236+    *)
20237+      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20238+      ;;
20239+    esac
20240+done
20241+
20242+# Double-quote double-evaled strings.
20243+for var in lt_decl_all_varnames([[ \
20244+]], lt_decl_dquote_varnames); do
20245+    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
20246+    *[[\\\\\\\`\\"\\\$]]*)
20247+      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
20248+      ;;
20249+    *)
20250+      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20251+      ;;
20252+    esac
20253+done
20254+
20255+# Fix-up fallback echo if it was mangled by the above quoting rules.
20256+case \$lt_ECHO in
20257+*'\\\[$]0 --fallback-echo"')dnl "
20258+  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\[$]0 --fallback-echo"\[$]/\[$]0 --fallback-echo"/'\`
20259+  ;;
20260+esac
20261+
20262+_LT_OUTPUT_LIBTOOL_INIT
20263+])
20264+
20265+
20266+# LT_OUTPUT
20267+# ---------
20268+# This macro allows early generation of the libtool script (before
20269+# AC_OUTPUT is called), incase it is used in configure for compilation
20270+# tests.
20271+AC_DEFUN([LT_OUTPUT],
20272+[: ${CONFIG_LT=./config.lt}
20273+AC_MSG_NOTICE([creating $CONFIG_LT])
20274+cat >"$CONFIG_LT" <<_LTEOF
20275+#! $SHELL
20276+# Generated by $as_me.
20277+# Run this file to recreate a libtool stub with the current configuration.
20278+
20279+lt_cl_silent=false
20280+SHELL=\${CONFIG_SHELL-$SHELL}
20281+_LTEOF
20282+
20283+cat >>"$CONFIG_LT" <<\_LTEOF
20284+AS_SHELL_SANITIZE
20285+_AS_PREPARE
20286+
20287+exec AS_MESSAGE_FD>&1
20288+exec AS_MESSAGE_LOG_FD>>config.log
20289+{
20290+  echo
20291+  AS_BOX([Running $as_me.])
20292+} >&AS_MESSAGE_LOG_FD
20293+
20294+lt_cl_help="\
20295+\`$as_me' creates a local libtool stub from the current configuration,
20296+for use in further configure time tests before the real libtool is
20297+generated.
20298+
20299+Usage: $[0] [[OPTIONS]]
20300+
20301+  -h, --help      print this help, then exit
20302+  -V, --version   print version number, then exit
20303+  -q, --quiet     do not print progress messages
20304+  -d, --debug     don't remove temporary files
20305+
20306+Report bugs to <bug-libtool@gnu.org>."
20307+
20308+lt_cl_version="\
20309+m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
20310+m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
20311+configured by $[0], generated by m4_PACKAGE_STRING.
20312+
20313+Copyright (C) 2008 Free Software Foundation, Inc.
20314+This config.lt script is free software; the Free Software Foundation
20315+gives unlimited permision to copy, distribute and modify it."
20316+
20317+while test $[#] != 0
20318+do
20319+  case $[1] in
20320+    --version | --v* | -V )
20321+      echo "$lt_cl_version"; exit 0 ;;
20322+    --help | --h* | -h )
20323+      echo "$lt_cl_help"; exit 0 ;;
20324+    --debug | --d* | -d )
20325+      debug=: ;;
20326+    --quiet | --q* | --silent | --s* | -q )
20327+      lt_cl_silent=: ;;
20328+
20329+    -*) AC_MSG_ERROR([unrecognized option: $[1]
20330+Try \`$[0] --help' for more information.]) ;;
20331+
20332+    *) AC_MSG_ERROR([unrecognized argument: $[1]
20333+Try \`$[0] --help' for more information.]) ;;
20334+  esac
20335+  shift
20336+done
20337+
20338+if $lt_cl_silent; then
20339+  exec AS_MESSAGE_FD>/dev/null
20340+fi
20341+_LTEOF
20342+
20343+cat >>"$CONFIG_LT" <<_LTEOF
20344+_LT_OUTPUT_LIBTOOL_COMMANDS_INIT
20345+_LTEOF
20346+
20347+cat >>"$CONFIG_LT" <<\_LTEOF
20348+AC_MSG_NOTICE([creating $ofile])
20349+_LT_OUTPUT_LIBTOOL_COMMANDS
20350+AS_EXIT(0)
20351+_LTEOF
20352+chmod +x "$CONFIG_LT"
20353+
20354+# configure is writing to config.log, but config.lt does its own redirection,
20355+# appending to config.log, which fails on DOS, as config.log is still kept
20356+# open by configure.  Here we exec the FD to /dev/null, effectively closing
20357+# config.log, so it can be properly (re)opened and appended to by config.lt.
20358+if test "$no_create" != yes; then
20359+  lt_cl_success=:
20360+  test "$silent" = yes &&
20361+    lt_config_lt_args="$lt_config_lt_args --quiet"
20362+  exec AS_MESSAGE_LOG_FD>/dev/null
20363+  $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
20364+  exec AS_MESSAGE_LOG_FD>>config.log
20365+  $lt_cl_success || AS_EXIT(1)
20366+fi
20367+])# LT_OUTPUT
20368+
20369+
20370+# _LT_CONFIG(TAG)
20371+# ---------------
20372+# If TAG is the built-in tag, create an initial libtool script with a
20373+# default configuration from the untagged config vars.  Otherwise add code
20374+# to config.status for appending the configuration named by TAG from the
20375+# matching tagged config vars.
20376+m4_defun([_LT_CONFIG],
20377+[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
20378+_LT_CONFIG_SAVE_COMMANDS([
20379+  m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl
20380+  m4_if(_LT_TAG, [C], [
20381+    # See if we are running on zsh, and set the options which allow our
20382+    # commands through without removal of \ escapes.
20383+    if test -n "${ZSH_VERSION+set}" ; then
20384+      setopt NO_GLOB_SUBST
20385+    fi
20386+
20387+    cfgfile="${ofile}T"
20388+    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
20389+    $RM "$cfgfile"
20390+
20391+    cat <<_LT_EOF >> "$cfgfile"
20392+#! $SHELL
20393+
20394+# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
20395+# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
20396+# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20397+# NOTE: Changes made to this file will be lost: look at ltmain.sh.
20398+#
20399+_LT_COPYING
20400+_LT_LIBTOOL_TAGS
20401+
20402+# ### BEGIN LIBTOOL CONFIG
20403+_LT_LIBTOOL_CONFIG_VARS
20404+_LT_LIBTOOL_TAG_VARS
20405+# ### END LIBTOOL CONFIG
20406+
20407+_LT_EOF
20408+
20409+  case $host_os in
20410+  aix3*)
20411+    cat <<\_LT_EOF >> "$cfgfile"
20412+# AIX sometimes has problems with the GCC collect2 program.  For some
20413+# reason, if we set the COLLECT_NAMES environment variable, the problems
20414+# vanish in a puff of smoke.
20415+if test "X${COLLECT_NAMES+set}" != Xset; then
20416+  COLLECT_NAMES=
20417+  export COLLECT_NAMES
20418+fi
20419+_LT_EOF
20420+    ;;
20421+  esac
20422+
20423+  _LT_PROG_LTMAIN
20424+
20425+  # We use sed instead of cat because bash on DJGPP gets confused if
20426+  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
20427+  # text mode, it properly converts lines to CR/LF.  This bash problem
20428+  # is reportedly fixed, but why not run on old versions too?
20429+  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
20430+    || (rm -f "$cfgfile"; exit 1)
20431+
20432+  _LT_PROG_XSI_SHELLFNS
20433+
20434+  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
20435+    || (rm -f "$cfgfile"; exit 1)
20436+
20437+  mv -f "$cfgfile" "$ofile" ||
20438+    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
20439+  chmod +x "$ofile"
20440+],
20441+[cat <<_LT_EOF >> "$ofile"
20442+
20443+dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded
20444+dnl in a comment (ie after a #).
20445+# ### BEGIN LIBTOOL TAG CONFIG: $1
20446+_LT_LIBTOOL_TAG_VARS(_LT_TAG)
20447+# ### END LIBTOOL TAG CONFIG: $1
20448+_LT_EOF
20449+])dnl /m4_if
20450+],
20451+[m4_if([$1], [], [
20452+    PACKAGE='$PACKAGE'
20453+    VERSION='$VERSION'
20454+    TIMESTAMP='$TIMESTAMP'
20455+    RM='$RM'
20456+    ofile='$ofile'], [])
20457+])dnl /_LT_CONFIG_SAVE_COMMANDS
20458+])# _LT_CONFIG
20459+
20460+
20461+# LT_SUPPORTED_TAG(TAG)
20462+# ---------------------
20463+# Trace this macro to discover what tags are supported by the libtool
20464+# --tag option, using:
20465+#    autoconf --trace 'LT_SUPPORTED_TAG:$1'
20466+AC_DEFUN([LT_SUPPORTED_TAG], [])
20467+
20468+
20469+# C support is built-in for now
20470+m4_define([_LT_LANG_C_enabled], [])
20471+m4_define([_LT_TAGS], [])
20472+
20473+
20474+# LT_LANG(LANG)
20475+# -------------
20476+# Enable libtool support for the given language if not already enabled.
20477+AC_DEFUN([LT_LANG],
20478+[AC_BEFORE([$0], [LT_OUTPUT])dnl
20479+m4_case([$1],
20480+  [C],			[_LT_LANG(C)],
20481+  [C++],		[_LT_LANG(CXX)],
20482+  [Java],		[_LT_LANG(GCJ)],
20483+  [Fortran 77],		[_LT_LANG(F77)],
20484+  [Fortran],		[_LT_LANG(FC)],
20485+  [Windows Resource],	[_LT_LANG(RC)],
20486+  [m4_ifdef([_LT_LANG_]$1[_CONFIG],
20487+    [_LT_LANG($1)],
20488+    [m4_fatal([$0: unsupported language: "$1"])])])dnl
20489+])# LT_LANG
20490+
20491+
20492+# _LT_LANG(LANGNAME)
20493+# ------------------
20494+m4_defun([_LT_LANG],
20495+[m4_ifdef([_LT_LANG_]$1[_enabled], [],
20496+  [LT_SUPPORTED_TAG([$1])dnl
20497+  m4_append([_LT_TAGS], [$1 ])dnl
20498+  m4_define([_LT_LANG_]$1[_enabled], [])dnl
20499+  _LT_LANG_$1_CONFIG($1)])dnl
20500+])# _LT_LANG
20501+
20502+
20503+# _LT_LANG_DEFAULT_CONFIG
20504+# -----------------------
20505+m4_defun([_LT_LANG_DEFAULT_CONFIG],
20506+[AC_PROVIDE_IFELSE([AC_PROG_CXX],
20507+  [LT_LANG(CXX)],
20508+  [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])])
20509+
20510+AC_PROVIDE_IFELSE([AC_PROG_F77],
20511+  [LT_LANG(F77)],
20512+  [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])])
20513+
20514+AC_PROVIDE_IFELSE([AC_PROG_FC],
20515+  [LT_LANG(FC)],
20516+  [m4_define([AC_PROG_FC], defn([AC_PROG_FC])[LT_LANG(FC)])])
20517+
20518+dnl The call to [A][M_PROG_GCJ] is quoted like that to stop aclocal
20519+dnl pulling things in needlessly.
20520+AC_PROVIDE_IFELSE([AC_PROG_GCJ],
20521+  [LT_LANG(GCJ)],
20522+  [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
20523+    [LT_LANG(GCJ)],
20524+    [AC_PROVIDE_IFELSE([LT_PROG_GCJ],
20525+      [LT_LANG(GCJ)],
20526+      [m4_ifdef([AC_PROG_GCJ],
20527+	[m4_define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[LT_LANG(GCJ)])])
20528+       m4_ifdef([A][M_PROG_GCJ],
20529+	[m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])])
20530+       m4_ifdef([LT_PROG_GCJ],
20531+	[m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])])
20532+
20533+AC_PROVIDE_IFELSE([LT_PROG_RC],
20534+  [LT_LANG(RC)],
20535+  [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])])
20536+])# _LT_LANG_DEFAULT_CONFIG
20537+
20538+# Obsolete macros:
20539+AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)])
20540+AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
20541+AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
20542+AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
20543+dnl aclocal-1.4 backwards compatibility:
20544+dnl AC_DEFUN([AC_LIBTOOL_CXX], [])
20545+dnl AC_DEFUN([AC_LIBTOOL_F77], [])
20546+dnl AC_DEFUN([AC_LIBTOOL_FC], [])
20547+dnl AC_DEFUN([AC_LIBTOOL_GCJ], [])
20548+
20549+
20550+# _LT_TAG_COMPILER
20551+# ----------------
20552+m4_defun([_LT_TAG_COMPILER],
20553+[AC_REQUIRE([AC_PROG_CC])dnl
20554+
20555+_LT_DECL([LTCC], [CC], [1], [A C compiler])dnl
20556+_LT_DECL([LTCFLAGS], [CFLAGS], [1], [LTCC compiler flags])dnl
20557+_LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl
20558+_LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU compiler?])dnl
20559+
20560+# If no C compiler was specified, use CC.
20561+LTCC=${LTCC-"$CC"}
20562+
20563+# If no C compiler flags were specified, use CFLAGS.
20564+LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
20565+
20566+# Allow CC to be a program name with arguments.
20567+compiler=$CC
20568+])# _LT_TAG_COMPILER
20569+
20570+
20571+# _LT_COMPILER_BOILERPLATE
20572+# ------------------------
20573+# Check for compiler boilerplate output or warnings with
20574+# the simple compiler test code.
20575+m4_defun([_LT_COMPILER_BOILERPLATE],
20576+[m4_require([_LT_DECL_SED])dnl
20577+ac_outfile=conftest.$ac_objext
20578+echo "$lt_simple_compile_test_code" >conftest.$ac_ext
20579+eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
20580+_lt_compiler_boilerplate=`cat conftest.err`
20581+$RM conftest*
20582+])# _LT_COMPILER_BOILERPLATE
20583+
20584+
20585+# _LT_LINKER_BOILERPLATE
20586+# ----------------------
20587+# Check for linker boilerplate output or warnings with
20588+# the simple link test code.
20589+m4_defun([_LT_LINKER_BOILERPLATE],
20590+[m4_require([_LT_DECL_SED])dnl
20591+ac_outfile=conftest.$ac_objext
20592+echo "$lt_simple_link_test_code" >conftest.$ac_ext
20593+eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
20594+_lt_linker_boilerplate=`cat conftest.err`
20595+$RM -r conftest*
20596+])# _LT_LINKER_BOILERPLATE
20597+
20598+# _LT_REQUIRED_DARWIN_CHECKS
20599+# -------------------------
20600+m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[
20601+  case $host_os in
20602+    rhapsody* | darwin*)
20603+    AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:])
20604+    AC_CHECK_TOOL([NMEDIT], [nmedit], [:])
20605+    AC_CHECK_TOOL([LIPO], [lipo], [:])
20606+    AC_CHECK_TOOL([OTOOL], [otool], [:])
20607+    AC_CHECK_TOOL([OTOOL64], [otool64], [:])
20608+    _LT_DECL([], [DSYMUTIL], [1],
20609+      [Tool to manipulate archived DWARF debug symbol files on Mac OS X])
20610+    _LT_DECL([], [NMEDIT], [1],
20611+      [Tool to change global to local symbols on Mac OS X])
20612+    _LT_DECL([], [LIPO], [1],
20613+      [Tool to manipulate fat objects and archives on Mac OS X])
20614+    _LT_DECL([], [OTOOL], [1],
20615+      [ldd/readelf like tool for Mach-O binaries on Mac OS X])
20616+    _LT_DECL([], [OTOOL64], [1],
20617+      [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4])
20618+
20619+    AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
20620+      [lt_cv_apple_cc_single_mod=no
20621+      if test -z "${LT_MULTI_MODULE}"; then
20622+	# By default we will add the -single_module flag. You can override
20623+	# by either setting the environment variable LT_MULTI_MODULE
20624+	# non-empty at configure time, or by adding -multi_module to the
20625+	# link flags.
20626+	rm -rf libconftest.dylib*
20627+	echo "int foo(void){return 1;}" > conftest.c
20628+	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
20629+-dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD
20630+	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
20631+	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
20632+        _lt_result=$?
20633+	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
20634+	  lt_cv_apple_cc_single_mod=yes
20635+	else
20636+	  cat conftest.err >&AS_MESSAGE_LOG_FD
20637+	fi
20638+	rm -rf libconftest.dylib*
20639+	rm -f conftest.*
20640+      fi])
20641+    AC_CACHE_CHECK([for -exported_symbols_list linker flag],
20642+      [lt_cv_ld_exported_symbols_list],
20643+      [lt_cv_ld_exported_symbols_list=no
20644+      save_LDFLAGS=$LDFLAGS
20645+      echo "_main" > conftest.sym
20646+      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
20647+      AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
20648+	[lt_cv_ld_exported_symbols_list=yes],
20649+	[lt_cv_ld_exported_symbols_list=no])
20650+	LDFLAGS="$save_LDFLAGS"
20651+    ])
20652+    case $host_os in
20653+    rhapsody* | darwin1.[[012]])
20654+      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
20655+    darwin1.*)
20656+      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
20657+    darwin*) # darwin 5.x on
20658+      # if running on 10.5 or later, the deployment target defaults
20659+      # to the OS version, if on x86, and 10.4, the deployment
20660+      # target defaults to 10.4. Don't you love it?
20661+      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
20662+	10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
20663+	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
20664+	10.[[012]]*)
20665+	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
20666+	10.*)
20667+	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
20668+      esac
20669+    ;;
20670+  esac
20671+    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
20672+      _lt_dar_single_mod='$single_module'
20673+    fi
20674+    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
20675+      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
20676+    else
20677+      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
20678+    fi
20679+    if test "$DSYMUTIL" != ":"; then
20680+      _lt_dsymutil='~$DSYMUTIL $lib || :'
20681+    else
20682+      _lt_dsymutil=
20683+    fi
20684+    ;;
20685+  esac
20686+])
20687+
20688+
20689+# _LT_DARWIN_LINKER_FEATURES
20690+# --------------------------
20691+# Checks for linker and compiler features on darwin
20692+m4_defun([_LT_DARWIN_LINKER_FEATURES],
20693+[
20694+  m4_require([_LT_REQUIRED_DARWIN_CHECKS])
20695+  _LT_TAGVAR(archive_cmds_need_lc, $1)=no
20696+  _LT_TAGVAR(hardcode_direct, $1)=no
20697+  _LT_TAGVAR(hardcode_automatic, $1)=yes
20698+  _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
20699+  _LT_TAGVAR(whole_archive_flag_spec, $1)=''
20700+  _LT_TAGVAR(link_all_deplibs, $1)=yes
20701+  _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
20702+  case $cc_basename in
20703+     ifort*) _lt_dar_can_shared=yes ;;
20704+     *) _lt_dar_can_shared=$GCC ;;
20705+  esac
20706+  if test "$_lt_dar_can_shared" = "yes"; then
20707+    output_verbose_link_cmd=echo
20708+    _LT_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}"
20709+    _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
20710+    _LT_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}"
20711+    _LT_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}"
20712+    m4_if([$1], [CXX],
20713+[   if test "$lt_cv_apple_cc_single_mod" != "yes"; then
20714+      _LT_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}"
20715+      _LT_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}"
20716+    fi
20717+],[])
20718+  else
20719+  _LT_TAGVAR(ld_shlibs, $1)=no
20720+  fi
20721+])
20722+
20723+# _LT_SYS_MODULE_PATH_AIX
20724+# -----------------------
20725+# Links a minimal program and checks the executable
20726+# for the system default hardcoded library path. In most cases,
20727+# this is /usr/lib:/lib, but when the MPI compilers are used
20728+# the location of the communication and MPI libs are included too.
20729+# If we don't find anything, use the default library path according
20730+# to the aix ld manual.
20731+m4_defun([_LT_SYS_MODULE_PATH_AIX],
20732+[m4_require([_LT_DECL_SED])dnl
20733+AC_LINK_IFELSE(AC_LANG_PROGRAM,[
20734+lt_aix_libpath_sed='
20735+    /Import File Strings/,/^$/ {
20736+	/^0/ {
20737+	    s/^0  *\(.*\)$/\1/
20738+	    p
20739+	}
20740+    }'
20741+aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
20742+# Check for a 64-bit object if we didn't find anything.
20743+if test -z "$aix_libpath"; then
20744+  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
20745+fi],[])
20746+if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20747+])# _LT_SYS_MODULE_PATH_AIX
20748+
20749+
20750+# _LT_SHELL_INIT(ARG)
20751+# -------------------
20752+m4_define([_LT_SHELL_INIT],
20753+[ifdef([AC_DIVERSION_NOTICE],
20754+	     [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
20755+	 [AC_DIVERT_PUSH(NOTICE)])
20756+$1
20757+AC_DIVERT_POP
20758+])# _LT_SHELL_INIT
20759+
20760+
20761+# _LT_PROG_ECHO_BACKSLASH
20762+# -----------------------
20763+# Add some code to the start of the generated configure script which
20764+# will find an echo command which doesn't interpret backslashes.
20765+m4_defun([_LT_PROG_ECHO_BACKSLASH],
20766+[_LT_SHELL_INIT([
20767+# Check that we are running under the correct shell.
20768+SHELL=${CONFIG_SHELL-/bin/sh}
20769+
20770+case X$lt_ECHO in
20771+X*--fallback-echo)
20772+  # Remove one level of quotation (which was required for Make).
20773+  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
20774+  ;;
20775+esac
20776+
20777+ECHO=${lt_ECHO-echo}
20778+if test "X[$]1" = X--no-reexec; then
20779+  # Discard the --no-reexec flag, and continue.
20780+  shift
20781+elif test "X[$]1" = X--fallback-echo; then
20782+  # Avoid inline document here, it may be left over
20783+  :
20784+elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
20785+  # Yippee, $ECHO works!
20786+  :
20787+else
20788+  # Restart under the correct shell.
20789+  exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
20790+fi
20791+
20792+if test "X[$]1" = X--fallback-echo; then
20793+  # used as fallback echo
20794+  shift
20795+  cat <<_LT_EOF
20796+[$]*
20797+_LT_EOF
20798+  exit 0
20799+fi
20800+
20801+# The HP-UX ksh and POSIX shell print the target directory to stdout
20802+# if CDPATH is set.
20803+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20804+
20805+if test -z "$lt_ECHO"; then
20806+  if test "X${echo_test_string+set}" != Xset; then
20807+    # find a string as large as possible, as long as the shell can cope with it
20808+    for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
20809+      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
20810+      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
20811+	 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
20812+      then
20813+        break
20814+      fi
20815+    done
20816+  fi
20817+
20818+  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
20819+     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
20820+     test "X$echo_testing_string" = "X$echo_test_string"; then
20821+    :
20822+  else
20823+    # The Solaris, AIX, and Digital Unix default echo programs unquote
20824+    # backslashes.  This makes it impossible to quote backslashes using
20825+    #   echo "$something" | sed 's/\\/\\\\/g'
20826+    #
20827+    # So, first we look for a working echo in the user's PATH.
20828+
20829+    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20830+    for dir in $PATH /usr/ucb; do
20831+      IFS="$lt_save_ifs"
20832+      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
20833+         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
20834+         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
20835+         test "X$echo_testing_string" = "X$echo_test_string"; then
20836+        ECHO="$dir/echo"
20837+        break
20838+      fi
20839+    done
20840+    IFS="$lt_save_ifs"
20841+
20842+    if test "X$ECHO" = Xecho; then
20843+      # We didn't find a better echo, so look for alternatives.
20844+      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
20845+         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
20846+         test "X$echo_testing_string" = "X$echo_test_string"; then
20847+        # This shell has a builtin print -r that does the trick.
20848+        ECHO='print -r'
20849+      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
20850+	   test "X$CONFIG_SHELL" != X/bin/ksh; then
20851+        # If we have ksh, try running configure again with it.
20852+        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
20853+        export ORIGINAL_CONFIG_SHELL
20854+        CONFIG_SHELL=/bin/ksh
20855+        export CONFIG_SHELL
20856+        exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
20857+      else
20858+        # Try using printf.
20859+        ECHO='printf %s\n'
20860+        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
20861+	   echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
20862+	   test "X$echo_testing_string" = "X$echo_test_string"; then
20863+	  # Cool, printf works
20864+	  :
20865+        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
20866+	     test "X$echo_testing_string" = 'X\t' &&
20867+	     echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
20868+	     test "X$echo_testing_string" = "X$echo_test_string"; then
20869+	  CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
20870+	  export CONFIG_SHELL
20871+	  SHELL="$CONFIG_SHELL"
20872+	  export SHELL
20873+	  ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
20874+        elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
20875+	     test "X$echo_testing_string" = 'X\t' &&
20876+	     echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
20877+	     test "X$echo_testing_string" = "X$echo_test_string"; then
20878+	  ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
20879+        else
20880+	  # maybe with a smaller string...
20881+	  prev=:
20882+
20883+	  for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
20884+	    if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
20885+	    then
20886+	      break
20887+	    fi
20888+	    prev="$cmd"
20889+	  done
20890+
20891+	  if test "$prev" != 'sed 50q "[$]0"'; then
20892+	    echo_test_string=`eval $prev`
20893+	    export echo_test_string
20894+	    exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
20895+	  else
20896+	    # Oops.  We lost completely, so just stick with echo.
20897+	    ECHO=echo
20898+	  fi
20899+        fi
20900+      fi
20901+    fi
20902+  fi
20903+fi
20904+
20905+# Copy echo and quote the copy suitably for passing to libtool from
20906+# the Makefile, instead of quoting the original, which is used later.
20907+lt_ECHO=$ECHO
20908+if test "X$lt_ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
20909+   lt_ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
20910+fi
20911+
20912+AC_SUBST(lt_ECHO)
20913+])
20914+_LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts])
20915+_LT_DECL([], [ECHO], [1],
20916+    [An echo program that does not interpret backslashes])
20917+])# _LT_PROG_ECHO_BACKSLASH
20918+
20919+
20920+# _LT_ENABLE_LOCK
20921+# ---------------
20922+m4_defun([_LT_ENABLE_LOCK],
20923+[AC_ARG_ENABLE([libtool-lock],
20924+  [AS_HELP_STRING([--disable-libtool-lock],
20925+    [avoid locking (might break parallel builds)])])
20926+test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
20927+
20928+# Some flags need to be propagated to the compiler or linker for good
20929+# libtool support.
20930+case $host in
20931+ia64-*-hpux*)
20932+  # Find out which ABI we are using.
20933+  echo 'int i;' > conftest.$ac_ext
20934+  if AC_TRY_EVAL(ac_compile); then
20935+    case `/usr/bin/file conftest.$ac_objext` in
20936+      *ELF-32*)
20937+	HPUX_IA64_MODE="32"
20938+	;;
20939+      *ELF-64*)
20940+	HPUX_IA64_MODE="64"
20941+	;;
20942+    esac
20943+  fi
20944+  rm -rf conftest*
20945+  ;;
20946+*-*-irix6*)
20947+  # Find out which ABI we are using.
20948+  echo '[#]line __oline__ "configure"' > conftest.$ac_ext
20949+  if AC_TRY_EVAL(ac_compile); then
20950+    if test "$lt_cv_prog_gnu_ld" = yes; then
20951+      case `/usr/bin/file conftest.$ac_objext` in
20952+	*32-bit*)
20953+	  LD="${LD-ld} -melf32bsmip"
20954+	  ;;
20955+	*N32*)
20956+	  LD="${LD-ld} -melf32bmipn32"
20957+	  ;;
20958+	*64-bit*)
20959+	  LD="${LD-ld} -melf64bmip"
20960+	;;
20961+      esac
20962+    else
20963+      case `/usr/bin/file conftest.$ac_objext` in
20964+	*32-bit*)
20965+	  LD="${LD-ld} -32"
20966+	  ;;
20967+	*N32*)
20968+	  LD="${LD-ld} -n32"
20969+	  ;;
20970+	*64-bit*)
20971+	  LD="${LD-ld} -64"
20972+	  ;;
20973+      esac
20974+    fi
20975+  fi
20976+  rm -rf conftest*
20977+  ;;
20978+
20979+x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
20980+s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
20981+  # Find out which ABI we are using.
20982+  echo 'int i;' > conftest.$ac_ext
20983+  if AC_TRY_EVAL(ac_compile); then
20984+    case `/usr/bin/file conftest.o` in
20985+      *32-bit*)
20986+	case $host in
20987+	  x86_64-*kfreebsd*-gnu)
20988+	    LD="${LD-ld} -m elf_i386_fbsd"
20989+	    ;;
20990+	  x86_64-*linux*)
20991+	    LD="${LD-ld} -m elf_i386"
20992+	    ;;
20993+	  ppc64-*linux*|powerpc64-*linux*)
20994+	    LD="${LD-ld} -m elf32ppclinux"
20995+	    ;;
20996+	  s390x-*linux*)
20997+	    LD="${LD-ld} -m elf_s390"
20998+	    ;;
20999+	  sparc64-*linux*)
21000+	    LD="${LD-ld} -m elf32_sparc"
21001+	    ;;
21002+	esac
21003+	;;
21004+      *64-bit*)
21005+	case $host in
21006+	  x86_64-*kfreebsd*-gnu)
21007+	    LD="${LD-ld} -m elf_x86_64_fbsd"
21008+	    ;;
21009+	  x86_64-*linux*)
21010+	    LD="${LD-ld} -m elf_x86_64"
21011+	    ;;
21012+	  ppc*-*linux*|powerpc*-*linux*)
21013+	    LD="${LD-ld} -m elf64ppc"
21014+	    ;;
21015+	  s390*-*linux*|s390*-*tpf*)
21016+	    LD="${LD-ld} -m elf64_s390"
21017+	    ;;
21018+	  sparc*-*linux*)
21019+	    LD="${LD-ld} -m elf64_sparc"
21020+	    ;;
21021+	esac
21022+	;;
21023+    esac
21024+  fi
21025+  rm -rf conftest*
21026+  ;;
21027+
21028+*-*-sco3.2v5*)
21029+  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
21030+  SAVE_CFLAGS="$CFLAGS"
21031+  CFLAGS="$CFLAGS -belf"
21032+  AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
21033+    [AC_LANG_PUSH(C)
21034+     AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
21035+     AC_LANG_POP])
21036+  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
21037+    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
21038+    CFLAGS="$SAVE_CFLAGS"
21039+  fi
21040+  ;;
21041+sparc*-*solaris*)
21042+  # Find out which ABI we are using.
21043+  echo 'int i;' > conftest.$ac_ext
21044+  if AC_TRY_EVAL(ac_compile); then
21045+    case `/usr/bin/file conftest.o` in
21046+    *64-bit*)
21047+      case $lt_cv_prog_gnu_ld in
21048+      yes*) LD="${LD-ld} -m elf64_sparc" ;;
21049+      *)
21050+	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
21051+	  LD="${LD-ld} -64"
21052+	fi
21053+	;;
21054+      esac
21055+      ;;
21056+    esac
21057+  fi
21058+  rm -rf conftest*
21059+  ;;
21060+esac
21061+
21062+need_locks="$enable_libtool_lock"
21063+])# _LT_ENABLE_LOCK
21064+
21065+
21066+# _LT_CMD_OLD_ARCHIVE
21067+# -------------------
21068+m4_defun([_LT_CMD_OLD_ARCHIVE],
21069+[AC_CHECK_TOOL(AR, ar, false)
21070+test -z "$AR" && AR=ar
21071+test -z "$AR_FLAGS" && AR_FLAGS=cru
21072+_LT_DECL([], [AR], [1], [The archiver])
21073+_LT_DECL([], [AR_FLAGS], [1])
21074+
21075+AC_CHECK_TOOL(STRIP, strip, :)
21076+test -z "$STRIP" && STRIP=:
21077+_LT_DECL([], [STRIP], [1], [A symbol stripping program])
21078+
21079+AC_CHECK_TOOL(RANLIB, ranlib, :)
21080+test -z "$RANLIB" && RANLIB=:
21081+_LT_DECL([], [RANLIB], [1],
21082+    [Commands used to install an old-style archive])
21083+
21084+# Determine commands to create old-style static archives.
21085+old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
21086+old_postinstall_cmds='chmod 644 $oldlib'
21087+old_postuninstall_cmds=
21088+
21089+if test -n "$RANLIB"; then
21090+  case $host_os in
21091+  openbsd*)
21092+    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
21093+    ;;
21094+  *)
21095+    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
21096+    ;;
21097+  esac
21098+  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
21099+fi
21100+_LT_DECL([], [old_postinstall_cmds], [2])
21101+_LT_DECL([], [old_postuninstall_cmds], [2])
21102+_LT_TAGDECL([], [old_archive_cmds], [2],
21103+    [Commands used to build an old-style archive])
21104+])# _LT_CMD_OLD_ARCHIVE
21105+
21106+
21107+# _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
21108+#		[OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
21109+# ----------------------------------------------------------------
21110+# Check whether the given compiler option works
21111+AC_DEFUN([_LT_COMPILER_OPTION],
21112+[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
21113+m4_require([_LT_DECL_SED])dnl
21114+AC_CACHE_CHECK([$1], [$2],
21115+  [$2=no
21116+   m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
21117+   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
21118+   lt_compiler_flag="$3"
21119+   # Insert the option either (1) after the last *FLAGS variable, or
21120+   # (2) before a word containing "conftest.", or (3) at the end.
21121+   # Note that $ac_compile itself does not contain backslashes and begins
21122+   # with a dollar sign (not a hyphen), so the echo should work correctly.
21123+   # The option is referenced via a variable to avoid confusing sed.
21124+   lt_compile=`echo "$ac_compile" | $SED \
21125+   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
21126+   -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
21127+   -e 's:$: $lt_compiler_flag:'`
21128+   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
21129+   (eval "$lt_compile" 2>conftest.err)
21130+   ac_status=$?
21131+   cat conftest.err >&AS_MESSAGE_LOG_FD
21132+   echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
21133+   if (exit $ac_status) && test -s "$ac_outfile"; then
21134+     # The compiler can only warn and ignore the option if not recognized
21135+     # So say no if there are warnings other than the usual output.
21136+     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
21137+     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
21138+     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
21139+       $2=yes
21140+     fi
21141+   fi
21142+   $RM conftest*
21143+])
21144+
21145+if test x"[$]$2" = xyes; then
21146+    m4_if([$5], , :, [$5])
21147+else
21148+    m4_if([$6], , :, [$6])
21149+fi
21150+])# _LT_COMPILER_OPTION
21151+
21152+# Old name:
21153+AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION])
21154+dnl aclocal-1.4 backwards compatibility:
21155+dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [])
21156+
21157+
21158+# _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
21159+#                  [ACTION-SUCCESS], [ACTION-FAILURE])
21160+# ----------------------------------------------------
21161+# Check whether the given linker option works
21162+AC_DEFUN([_LT_LINKER_OPTION],
21163+[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
21164+m4_require([_LT_DECL_SED])dnl
21165+AC_CACHE_CHECK([$1], [$2],
21166+  [$2=no
21167+   save_LDFLAGS="$LDFLAGS"
21168+   LDFLAGS="$LDFLAGS $3"
21169+   echo "$lt_simple_link_test_code" > conftest.$ac_ext
21170+   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
21171+     # The linker can only warn and ignore the option if not recognized
21172+     # So say no if there are warnings
21173+     if test -s conftest.err; then
21174+       # Append any errors to the config.log.
21175+       cat conftest.err 1>&AS_MESSAGE_LOG_FD
21176+       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
21177+       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
21178+       if diff conftest.exp conftest.er2 >/dev/null; then
21179+         $2=yes
21180+       fi
21181+     else
21182+       $2=yes
21183+     fi
21184+   fi
21185+   $RM -r conftest*
21186+   LDFLAGS="$save_LDFLAGS"
21187+])
21188+
21189+if test x"[$]$2" = xyes; then
21190+    m4_if([$4], , :, [$4])
21191+else
21192+    m4_if([$5], , :, [$5])
21193+fi
21194+])# _LT_LINKER_OPTION
21195+
21196+# Old name:
21197+AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION])
21198+dnl aclocal-1.4 backwards compatibility:
21199+dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [])
21200+
21201+
21202+# LT_CMD_MAX_LEN
21203+#---------------
21204+AC_DEFUN([LT_CMD_MAX_LEN],
21205+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
21206+# find the maximum length of command line arguments
21207+AC_MSG_CHECKING([the maximum length of command line arguments])
21208+AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
21209+  i=0
21210+  teststring="ABCD"
21211+
21212+  case $build_os in
21213+  msdosdjgpp*)
21214+    # On DJGPP, this test can blow up pretty badly due to problems in libc
21215+    # (any single argument exceeding 2000 bytes causes a buffer overrun
21216+    # during glob expansion).  Even if it were fixed, the result of this
21217+    # check would be larger than it should be.
21218+    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
21219+    ;;
21220+
21221+  gnu*)
21222+    # Under GNU Hurd, this test is not required because there is
21223+    # no limit to the length of command line arguments.
21224+    # Libtool will interpret -1 as no limit whatsoever
21225+    lt_cv_sys_max_cmd_len=-1;
21226+    ;;
21227+
21228+  cygwin* | mingw* | cegcc*)
21229+    # On Win9x/ME, this test blows up -- it succeeds, but takes
21230+    # about 5 minutes as the teststring grows exponentially.
21231+    # Worse, since 9x/ME are not pre-emptively multitasking,
21232+    # you end up with a "frozen" computer, even though with patience
21233+    # the test eventually succeeds (with a max line length of 256k).
21234+    # Instead, let's just punt: use the minimum linelength reported by
21235+    # all of the supported platforms: 8192 (on NT/2K/XP).
21236+    lt_cv_sys_max_cmd_len=8192;
21237+    ;;
21238+
21239+  amigaos*)
21240+    # On AmigaOS with pdksh, this test takes hours, literally.
21241+    # So we just punt and use a minimum line length of 8192.
21242+    lt_cv_sys_max_cmd_len=8192;
21243+    ;;
21244+
21245+  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
21246+    # This has been around since 386BSD, at least.  Likely further.
21247+    if test -x /sbin/sysctl; then
21248+      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
21249+    elif test -x /usr/sbin/sysctl; then
21250+      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
21251+    else
21252+      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
21253+    fi
21254+    # And add a safety zone
21255+    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
21256+    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
21257+    ;;
21258+
21259+  interix*)
21260+    # We know the value 262144 and hardcode it with a safety zone (like BSD)
21261+    lt_cv_sys_max_cmd_len=196608
21262+    ;;
21263+
21264+  osf*)
21265+    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
21266+    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
21267+    # nice to cause kernel panics so lets avoid the loop below.
21268+    # First set a reasonable default.
21269+    lt_cv_sys_max_cmd_len=16384
21270+    #
21271+    if test -x /sbin/sysconfig; then
21272+      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
21273+        *1*) lt_cv_sys_max_cmd_len=-1 ;;
21274+      esac
21275+    fi
21276+    ;;
21277+  sco3.2v5*)
21278+    lt_cv_sys_max_cmd_len=102400
21279+    ;;
21280+  sysv5* | sco5v6* | sysv4.2uw2*)
21281+    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
21282+    if test -n "$kargmax"; then
21283+      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[	 ]]//'`
21284+    else
21285+      lt_cv_sys_max_cmd_len=32768
21286+    fi
21287+    ;;
21288+  *)
21289+    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
21290+    if test -n "$lt_cv_sys_max_cmd_len"; then
21291+      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
21292+      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
21293+    else
21294+      # Make teststring a little bigger before we do anything with it.
21295+      # a 1K string should be a reasonable start.
21296+      for i in 1 2 3 4 5 6 7 8 ; do
21297+        teststring=$teststring$teststring
21298+      done
21299+      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
21300+      # If test is not a shell built-in, we'll probably end up computing a
21301+      # maximum length that is only half of the actual maximum length, but
21302+      # we can't tell.
21303+      while { test "X"`$SHELL [$]0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
21304+	         = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
21305+	      test $i != 17 # 1/2 MB should be enough
21306+      do
21307+        i=`expr $i + 1`
21308+        teststring=$teststring$teststring
21309+      done
21310+      # Only check the string length outside the loop.
21311+      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
21312+      teststring=
21313+      # Add a significant safety factor because C++ compilers can tack on
21314+      # massive amounts of additional arguments before passing them to the
21315+      # linker.  It appears as though 1/2 is a usable value.
21316+      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
21317+    fi
21318+    ;;
21319+  esac
21320+])
21321+if test -n $lt_cv_sys_max_cmd_len ; then
21322+  AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
21323+else
21324+  AC_MSG_RESULT(none)
21325+fi
21326+max_cmd_len=$lt_cv_sys_max_cmd_len
21327+_LT_DECL([], [max_cmd_len], [0],
21328+    [What is the maximum length of a command?])
21329+])# LT_CMD_MAX_LEN
21330+
21331+# Old name:
21332+AU_ALIAS([AC_LIBTOOL_SYS_MAX_CMD_LEN], [LT_CMD_MAX_LEN])
21333+dnl aclocal-1.4 backwards compatibility:
21334+dnl AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [])
21335+
21336+
21337+# _LT_HEADER_DLFCN
21338+# ----------------
21339+m4_defun([_LT_HEADER_DLFCN],
21340+[AC_CHECK_HEADERS([dlfcn.h], [], [], [AC_INCLUDES_DEFAULT])dnl
21341+])# _LT_HEADER_DLFCN
21342+
21343+
21344+# _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
21345+#                      ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
21346+# ----------------------------------------------------------------
21347+m4_defun([_LT_TRY_DLOPEN_SELF],
21348+[m4_require([_LT_HEADER_DLFCN])dnl
21349+if test "$cross_compiling" = yes; then :
21350+  [$4]
21351+else
21352+  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
21353+  lt_status=$lt_dlunknown
21354+  cat > conftest.$ac_ext <<_LT_EOF
21355+[#line __oline__ "configure"
21356+#include "confdefs.h"
21357+
21358+#if HAVE_DLFCN_H
21359+#include <dlfcn.h>
21360+#endif
21361+
21362+#include <stdio.h>
21363+
21364+#ifdef RTLD_GLOBAL
21365+#  define LT_DLGLOBAL		RTLD_GLOBAL
21366+#else
21367+#  ifdef DL_GLOBAL
21368+#    define LT_DLGLOBAL		DL_GLOBAL
21369+#  else
21370+#    define LT_DLGLOBAL		0
21371+#  endif
21372+#endif
21373+
21374+/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
21375+   find out it does not work in some platform. */
21376+#ifndef LT_DLLAZY_OR_NOW
21377+#  ifdef RTLD_LAZY
21378+#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
21379+#  else
21380+#    ifdef DL_LAZY
21381+#      define LT_DLLAZY_OR_NOW		DL_LAZY
21382+#    else
21383+#      ifdef RTLD_NOW
21384+#        define LT_DLLAZY_OR_NOW	RTLD_NOW
21385+#      else
21386+#        ifdef DL_NOW
21387+#          define LT_DLLAZY_OR_NOW	DL_NOW
21388+#        else
21389+#          define LT_DLLAZY_OR_NOW	0
21390+#        endif
21391+#      endif
21392+#    endif
21393+#  endif
21394+#endif
21395+
21396+void fnord() { int i=42;}
21397+int main ()
21398+{
21399+  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
21400+  int status = $lt_dlunknown;
21401+
21402+  if (self)
21403+    {
21404+      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
21405+      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
21406+      /* dlclose (self); */
21407+    }
21408+  else
21409+    puts (dlerror ());
21410+
21411+  return status;
21412+}]
21413+_LT_EOF
21414+  if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
21415+    (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
21416+    lt_status=$?
21417+    case x$lt_status in
21418+      x$lt_dlno_uscore) $1 ;;
21419+      x$lt_dlneed_uscore) $2 ;;
21420+      x$lt_dlunknown|x*) $3 ;;
21421+    esac
21422+  else :
21423+    # compilation failed
21424+    $3
21425+  fi
21426+fi
21427+rm -fr conftest*
21428+])# _LT_TRY_DLOPEN_SELF
21429+
21430+
21431+# LT_SYS_DLOPEN_SELF
21432+# ------------------
21433+AC_DEFUN([LT_SYS_DLOPEN_SELF],
21434+[m4_require([_LT_HEADER_DLFCN])dnl
21435+if test "x$enable_dlopen" != xyes; then
21436+  enable_dlopen=unknown
21437+  enable_dlopen_self=unknown
21438+  enable_dlopen_self_static=unknown
21439+else
21440+  lt_cv_dlopen=no
21441+  lt_cv_dlopen_libs=
21442+
21443+  case $host_os in
21444+  beos*)
21445+    lt_cv_dlopen="load_add_on"
21446+    lt_cv_dlopen_libs=
21447+    lt_cv_dlopen_self=yes
21448+    ;;
21449+
21450+  mingw* | pw32* | cegcc*)
21451+    lt_cv_dlopen="LoadLibrary"
21452+    lt_cv_dlopen_libs=
21453+    ;;
21454+
21455+  cygwin*)
21456+    lt_cv_dlopen="dlopen"
21457+    lt_cv_dlopen_libs=
21458+    ;;
21459+
21460+  darwin*)
21461+  # if libdl is installed we need to link against it
21462+    AC_CHECK_LIB([dl], [dlopen],
21463+		[lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
21464+    lt_cv_dlopen="dyld"
21465+    lt_cv_dlopen_libs=
21466+    lt_cv_dlopen_self=yes
21467+    ])
21468+    ;;
21469+
21470+  *)
21471+    AC_CHECK_FUNC([shl_load],
21472+	  [lt_cv_dlopen="shl_load"],
21473+      [AC_CHECK_LIB([dld], [shl_load],
21474+	    [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"],
21475+	[AC_CHECK_FUNC([dlopen],
21476+	      [lt_cv_dlopen="dlopen"],
21477+	  [AC_CHECK_LIB([dl], [dlopen],
21478+		[lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
21479+	    [AC_CHECK_LIB([svld], [dlopen],
21480+		  [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
21481+	      [AC_CHECK_LIB([dld], [dld_link],
21482+		    [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"])
21483+	      ])
21484+	    ])
21485+	  ])
21486+	])
21487+      ])
21488+    ;;
21489+  esac
21490+
21491+  if test "x$lt_cv_dlopen" != xno; then
21492+    enable_dlopen=yes
21493+  else
21494+    enable_dlopen=no
21495+  fi
21496+
21497+  case $lt_cv_dlopen in
21498+  dlopen)
21499+    save_CPPFLAGS="$CPPFLAGS"
21500+    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
21501+
21502+    save_LDFLAGS="$LDFLAGS"
21503+    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
21504+
21505+    save_LIBS="$LIBS"
21506+    LIBS="$lt_cv_dlopen_libs $LIBS"
21507+
21508+    AC_CACHE_CHECK([whether a program can dlopen itself],
21509+	  lt_cv_dlopen_self, [dnl
21510+	  _LT_TRY_DLOPEN_SELF(
21511+	    lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
21512+	    lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
21513+    ])
21514+
21515+    if test "x$lt_cv_dlopen_self" = xyes; then
21516+      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
21517+      AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
21518+	  lt_cv_dlopen_self_static, [dnl
21519+	  _LT_TRY_DLOPEN_SELF(
21520+	    lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
21521+	    lt_cv_dlopen_self_static=no,  lt_cv_dlopen_self_static=cross)
21522+      ])
21523+    fi
21524+
21525+    CPPFLAGS="$save_CPPFLAGS"
21526+    LDFLAGS="$save_LDFLAGS"
21527+    LIBS="$save_LIBS"
21528+    ;;
21529+  esac
21530+
21531+  case $lt_cv_dlopen_self in
21532+  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
21533+  *) enable_dlopen_self=unknown ;;
21534+  esac
21535+
21536+  case $lt_cv_dlopen_self_static in
21537+  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
21538+  *) enable_dlopen_self_static=unknown ;;
21539+  esac
21540+fi
21541+_LT_DECL([dlopen_support], [enable_dlopen], [0],
21542+	 [Whether dlopen is supported])
21543+_LT_DECL([dlopen_self], [enable_dlopen_self], [0],
21544+	 [Whether dlopen of programs is supported])
21545+_LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0],
21546+	 [Whether dlopen of statically linked programs is supported])
21547+])# LT_SYS_DLOPEN_SELF
21548+
21549+# Old name:
21550+AU_ALIAS([AC_LIBTOOL_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF])
21551+dnl aclocal-1.4 backwards compatibility:
21552+dnl AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [])
21553+
21554+
21555+# _LT_COMPILER_C_O([TAGNAME])
21556+# ---------------------------
21557+# Check to see if options -c and -o are simultaneously supported by compiler.
21558+# This macro does not hard code the compiler like AC_PROG_CC_C_O.
21559+m4_defun([_LT_COMPILER_C_O],
21560+[m4_require([_LT_DECL_SED])dnl
21561+m4_require([_LT_FILEUTILS_DEFAULTS])dnl
21562+m4_require([_LT_TAG_COMPILER])dnl
21563+AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
21564+  [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
21565+  [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
21566+   $RM -r conftest 2>/dev/null
21567+   mkdir conftest
21568+   cd conftest
21569+   mkdir out
21570+   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
21571+
21572+   lt_compiler_flag="-o out/conftest2.$ac_objext"
21573+   # Insert the option either (1) after the last *FLAGS variable, or
21574+   # (2) before a word containing "conftest.", or (3) at the end.
21575+   # Note that $ac_compile itself does not contain backslashes and begins
21576+   # with a dollar sign (not a hyphen), so the echo should work correctly.
21577+   lt_compile=`echo "$ac_compile" | $SED \
21578+   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
21579+   -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
21580+   -e 's:$: $lt_compiler_flag:'`
21581+   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
21582+   (eval "$lt_compile" 2>out/conftest.err)
21583+   ac_status=$?
21584+   cat out/conftest.err >&AS_MESSAGE_LOG_FD
21585+   echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
21586+   if (exit $ac_status) && test -s out/conftest2.$ac_objext
21587+   then
21588+     # The compiler can only warn and ignore the option if not recognized
21589+     # So say no if there are warnings
21590+     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
21591+     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
21592+     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
21593+       _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
21594+     fi
21595+   fi
21596+   chmod u+w . 2>&AS_MESSAGE_LOG_FD
21597+   $RM conftest*
21598+   # SGI C++ compiler will create directory out/ii_files/ for
21599+   # template instantiation
21600+   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
21601+   $RM out/* && rmdir out
21602+   cd ..
21603+   $RM -r conftest
21604+   $RM conftest*
21605+])
21606+_LT_TAGDECL([compiler_c_o], [lt_cv_prog_compiler_c_o], [1],
21607+	[Does compiler simultaneously support -c and -o options?])
21608+])# _LT_COMPILER_C_O
21609+
21610+
21611+# _LT_COMPILER_FILE_LOCKS([TAGNAME])
21612+# ----------------------------------
21613+# Check to see if we can do hard links to lock some files if needed
21614+m4_defun([_LT_COMPILER_FILE_LOCKS],
21615+[m4_require([_LT_ENABLE_LOCK])dnl
21616+m4_require([_LT_FILEUTILS_DEFAULTS])dnl
21617+_LT_COMPILER_C_O([$1])
21618+
21619+hard_links="nottested"
21620+if test "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
21621+  # do not overwrite the value of need_locks provided by the user
21622+  AC_MSG_CHECKING([if we can lock with hard links])
21623+  hard_links=yes
21624+  $RM conftest*
21625+  ln conftest.a conftest.b 2>/dev/null && hard_links=no
21626+  touch conftest.a
21627+  ln conftest.a conftest.b 2>&5 || hard_links=no
21628+  ln conftest.a conftest.b 2>/dev/null && hard_links=no
21629+  AC_MSG_RESULT([$hard_links])
21630+  if test "$hard_links" = no; then
21631+    AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe])
21632+    need_locks=warn
21633+  fi
21634+else
21635+  need_locks=no
21636+fi
21637+_LT_DECL([], [need_locks], [1], [Must we lock files when doing compilation?])
21638+])# _LT_COMPILER_FILE_LOCKS
21639+
21640+
21641+# _LT_CHECK_OBJDIR
21642+# ----------------
21643+m4_defun([_LT_CHECK_OBJDIR],
21644+[AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
21645+[rm -f .libs 2>/dev/null
21646+mkdir .libs 2>/dev/null
21647+if test -d .libs; then
21648+  lt_cv_objdir=.libs
21649+else
21650+  # MS-DOS does not allow filenames that begin with a dot.
21651+  lt_cv_objdir=_libs
21652+fi
21653+rmdir .libs 2>/dev/null])
21654+objdir=$lt_cv_objdir
21655+_LT_DECL([], [objdir], [0],
21656+         [The name of the directory that contains temporary libtool files])dnl
21657+m4_pattern_allow([LT_OBJDIR])dnl
21658+AC_DEFINE_UNQUOTED(LT_OBJDIR, "$lt_cv_objdir/",
21659+  [Define to the sub-directory in which libtool stores uninstalled libraries.])
21660+])# _LT_CHECK_OBJDIR
21661+
21662+
21663+# _LT_LINKER_HARDCODE_LIBPATH([TAGNAME])
21664+# --------------------------------------
21665+# Check hardcoding attributes.
21666+m4_defun([_LT_LINKER_HARDCODE_LIBPATH],
21667+[AC_MSG_CHECKING([how to hardcode library paths into programs])
21668+_LT_TAGVAR(hardcode_action, $1)=
21669+if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" ||
21670+   test -n "$_LT_TAGVAR(runpath_var, $1)" ||
21671+   test "X$_LT_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then
21672+
21673+  # We can hardcode non-existent directories.
21674+  if test "$_LT_TAGVAR(hardcode_direct, $1)" != no &&
21675+     # If the only mechanism to avoid hardcoding is shlibpath_var, we
21676+     # have to relink, otherwise we might link with an installed library
21677+     # when we should be linking with a yet-to-be-installed one
21678+     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
21679+     test "$_LT_TAGVAR(hardcode_minus_L, $1)" != no; then
21680+    # Linking always hardcodes the temporary library directory.
21681+    _LT_TAGVAR(hardcode_action, $1)=relink
21682+  else
21683+    # We can link without hardcoding, and we can hardcode nonexisting dirs.
21684+    _LT_TAGVAR(hardcode_action, $1)=immediate
21685+  fi
21686+else
21687+  # We cannot hardcode anything, or else we can only hardcode existing
21688+  # directories.
21689+  _LT_TAGVAR(hardcode_action, $1)=unsupported
21690+fi
21691+AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)])
21692+
21693+if test "$_LT_TAGVAR(hardcode_action, $1)" = relink ||
21694+   test "$_LT_TAGVAR(inherit_rpath, $1)" = yes; then
21695+  # Fast installation is not supported
21696+  enable_fast_install=no
21697+elif test "$shlibpath_overrides_runpath" = yes ||
21698+     test "$enable_shared" = no; then
21699+  # Fast installation is not necessary
21700+  enable_fast_install=needless
21701+fi
21702+_LT_TAGDECL([], [hardcode_action], [0],
21703+    [How to hardcode a shared library path into an executable])
21704+])# _LT_LINKER_HARDCODE_LIBPATH
21705+
21706+
21707+# _LT_CMD_STRIPLIB
21708+# ----------------
21709+m4_defun([_LT_CMD_STRIPLIB],
21710+[m4_require([_LT_DECL_EGREP])
21711+striplib=
21712+old_striplib=
21713+AC_MSG_CHECKING([whether stripping libraries is possible])
21714+if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
21715+  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
21716+  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
21717+  AC_MSG_RESULT([yes])
21718+else
21719+# FIXME - insert some real tests, host_os isn't really good enough
21720+  case $host_os in
21721+  darwin*)
21722+    if test -n "$STRIP" ; then
21723+      striplib="$STRIP -x"
21724+      old_striplib="$STRIP -S"
21725+      AC_MSG_RESULT([yes])
21726+    else
21727+      AC_MSG_RESULT([no])
21728+    fi
21729+    ;;
21730+  *)
21731+    AC_MSG_RESULT([no])
21732+    ;;
21733+  esac
21734+fi
21735+_LT_DECL([], [old_striplib], [1], [Commands to strip libraries])
21736+_LT_DECL([], [striplib], [1])
21737+])# _LT_CMD_STRIPLIB
21738+
21739+
21740+# _LT_SYS_DYNAMIC_LINKER([TAG])
21741+# -----------------------------
21742+# PORTME Fill in your ld.so characteristics
21743+m4_defun([_LT_SYS_DYNAMIC_LINKER],
21744+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
21745+m4_require([_LT_DECL_EGREP])dnl
21746+m4_require([_LT_FILEUTILS_DEFAULTS])dnl
21747+m4_require([_LT_DECL_OBJDUMP])dnl
21748+m4_require([_LT_DECL_SED])dnl
21749+AC_MSG_CHECKING([dynamic linker characteristics])
21750+m4_if([$1],
21751+	[], [
21752+if test "$GCC" = yes; then
21753+  case $host_os in
21754+    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
21755+    *) lt_awk_arg="/^libraries:/" ;;
21756+  esac
21757+  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
21758+  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
21759+    # if the path contains ";" then we assume it to be the separator
21760+    # otherwise default to the standard path separator (i.e. ":") - it is
21761+    # assumed that no part of a normal pathname contains ";" but that should
21762+    # okay in the real world where ";" in dirpaths is itself problematic.
21763+    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
21764+  else
21765+    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
21766+  fi
21767+  # Ok, now we have the path, separated by spaces, we can step through it
21768+  # and add multilib dir if necessary.
21769+  lt_tmp_lt_search_path_spec=
21770+  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
21771+  for lt_sys_path in $lt_search_path_spec; do
21772+    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
21773+      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
21774+    else
21775+      test -d "$lt_sys_path" && \
21776+	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
21777+    fi
21778+  done
21779+  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
21780+BEGIN {RS=" "; FS="/|\n";} {
21781+  lt_foo="";
21782+  lt_count=0;
21783+  for (lt_i = NF; lt_i > 0; lt_i--) {
21784+    if ($lt_i != "" && $lt_i != ".") {
21785+      if ($lt_i == "..") {
21786+        lt_count++;
21787+      } else {
21788+        if (lt_count == 0) {
21789+          lt_foo="/" $lt_i lt_foo;
21790+        } else {
21791+          lt_count--;
21792+        }
21793+      }
21794+    }
21795+  }
21796+  if (lt_foo != "") { lt_freq[[lt_foo]]++; }
21797+  if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
21798+}'`
21799+  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
21800+else
21801+  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
21802+fi])
21803+library_names_spec=
21804+libname_spec='lib$name'
21805+soname_spec=
21806+shrext_cmds=".so"
21807+postinstall_cmds=
21808+postuninstall_cmds=
21809+finish_cmds=
21810+finish_eval=
21811+shlibpath_var=
21812+shlibpath_overrides_runpath=unknown
21813+version_type=none
21814+dynamic_linker="$host_os ld.so"
21815+sys_lib_dlsearch_path_spec="/lib /usr/lib"
21816+need_lib_prefix=unknown
21817+hardcode_into_libs=no
21818+
21819+# when you set need_version to no, make sure it does not cause -set_version
21820+# flags to be left without arguments
21821+need_version=unknown
21822+
21823+case $host_os in
21824+aix3*)
21825+  version_type=linux
21826+  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
21827+  shlibpath_var=LIBPATH
21828+
21829+  # AIX 3 has no versioning support, so we append a major version to the name.
21830+  soname_spec='${libname}${release}${shared_ext}$major'
21831+  ;;
21832+
21833+aix[[4-9]]*)
21834+  version_type=linux
21835+  need_lib_prefix=no
21836+  need_version=no
21837+  hardcode_into_libs=yes
21838+  if test "$host_cpu" = ia64; then
21839+    # AIX 5 supports IA64
21840+    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
21841+    shlibpath_var=LD_LIBRARY_PATH
21842+  else
21843+    # With GCC up to 2.95.x, collect2 would create an import file
21844+    # for dependence libraries.  The import file would start with
21845+    # the line `#! .'.  This would cause the generated library to
21846+    # depend on `.', always an invalid library.  This was fixed in
21847+    # development snapshots of GCC prior to 3.0.
21848+    case $host_os in
21849+      aix4 | aix4.[[01]] | aix4.[[01]].*)
21850+      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
21851+	   echo ' yes '
21852+	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
21853+	:
21854+      else
21855+	can_build_shared=no
21856+      fi
21857+      ;;
21858+    esac
21859+    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
21860+    # soname into executable. Probably we can add versioning support to
21861+    # collect2, so additional links can be useful in future.
21862+    if test "$aix_use_runtimelinking" = yes; then
21863+      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
21864+      # instead of lib<name>.a to let people know that these are not
21865+      # typical AIX shared libraries.
21866+      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21867+    else
21868+      # We preserve .a as extension for shared libraries through AIX4.2
21869+      # and later when we are not doing run time linking.
21870+      library_names_spec='${libname}${release}.a $libname.a'
21871+      soname_spec='${libname}${release}${shared_ext}$major'
21872+    fi
21873+    shlibpath_var=LIBPATH
21874+  fi
21875+  ;;
21876+
21877+amigaos*)
21878+  case $host_cpu in
21879+  powerpc)
21880+    # Since July 2007 AmigaOS4 officially supports .so libraries.
21881+    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
21882+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21883+    ;;
21884+  m68k)
21885+    library_names_spec='$libname.ixlibrary $libname.a'
21886+    # Create ${libname}_ixlibrary.a entries in /sys/libs.
21887+    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'
21888+    ;;
21889+  esac
21890+  ;;
21891+
21892+beos*)
21893+  library_names_spec='${libname}${shared_ext}'
21894+  dynamic_linker="$host_os ld.so"
21895+  shlibpath_var=LIBRARY_PATH
21896+  ;;
21897+
21898+bsdi[[45]]*)
21899+  version_type=linux
21900+  need_version=no
21901+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21902+  soname_spec='${libname}${release}${shared_ext}$major'
21903+  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
21904+  shlibpath_var=LD_LIBRARY_PATH
21905+  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
21906+  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
21907+  # the default ld.so.conf also contains /usr/contrib/lib and
21908+  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
21909+  # libtool to hard-code these into programs
21910+  ;;
21911+
21912+cygwin* | mingw* | pw32* | cegcc*)
21913+  version_type=windows
21914+  shrext_cmds=".dll"
21915+  need_version=no
21916+  need_lib_prefix=no
21917+
21918+  case $GCC,$host_os in
21919+  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
21920+    library_names_spec='$libname.dll.a'
21921+    # DLL is installed to $(libdir)/../bin by postinstall_cmds
21922+    postinstall_cmds='base_file=`basename \${file}`~
21923+      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
21924+      dldir=$destdir/`dirname \$dlpath`~
21925+      test -d \$dldir || mkdir -p \$dldir~
21926+      $install_prog $dir/$dlname \$dldir/$dlname~
21927+      chmod a+x \$dldir/$dlname~
21928+      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
21929+        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
21930+      fi'
21931+    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
21932+      dlpath=$dir/\$dldll~
21933+       $RM \$dlpath'
21934+    shlibpath_overrides_runpath=yes
21935+
21936+    case $host_os in
21937+    cygwin*)
21938+      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
21939+      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
21940+      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
21941+      ;;
21942+    mingw* | cegcc*)
21943+      # MinGW DLLs use traditional 'lib' prefix
21944+      soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
21945+      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
21946+      if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
21947+        # It is most probably a Windows format PATH printed by
21948+        # mingw gcc, but we are running on Cygwin. Gcc prints its search
21949+        # path with ; separators, and with drive letters. We can handle the
21950+        # drive letters (cygwin fileutils understands them), so leave them,
21951+        # especially as we might pass files found there to a mingw objdump,
21952+        # which wouldn't understand a cygwinified path. Ahh.
21953+        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
21954+      else
21955+        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
21956+      fi
21957+      ;;
21958+    pw32*)
21959+      # pw32 DLLs use 'pw' prefix rather than 'lib'
21960+      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
21961+      ;;
21962+    esac
21963+    ;;
21964+
21965+  *)
21966+    library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
21967+    ;;
21968+  esac
21969+  dynamic_linker='Win32 ld.exe'
21970+  # FIXME: first we should search . and the directory the executable is in
21971+  shlibpath_var=PATH
21972+  ;;
21973+
21974+darwin* | rhapsody*)
21975+  dynamic_linker="$host_os dyld"
21976+  version_type=darwin
21977+  need_lib_prefix=no
21978+  need_version=no
21979+  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
21980+  soname_spec='${libname}${release}${major}$shared_ext'
21981+  shlibpath_overrides_runpath=yes
21982+  shlibpath_var=DYLD_LIBRARY_PATH
21983+  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
21984+m4_if([$1], [],[
21985+  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"])
21986+  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
21987+  ;;
21988+
21989+dgux*)
21990+  version_type=linux
21991+  need_lib_prefix=no
21992+  need_version=no
21993+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
21994+  soname_spec='${libname}${release}${shared_ext}$major'
21995+  shlibpath_var=LD_LIBRARY_PATH
21996+  ;;
21997+
21998+freebsd1*)
21999+  dynamic_linker=no
22000+  ;;
22001+
22002+freebsd* | dragonfly*)
22003+  # DragonFly does not have aout.  When/if they implement a new
22004+  # versioning mechanism, adjust this.
22005+  if test -x /usr/bin/objformat; then
22006+    objformat=`/usr/bin/objformat`
22007+  else
22008+    case $host_os in
22009+    freebsd[[123]]*) objformat=aout ;;
22010+    *) objformat=elf ;;
22011+    esac
22012+  fi
22013+  version_type=freebsd-$objformat
22014+  case $version_type in
22015+    freebsd-elf*)
22016+      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
22017+      need_version=no
22018+      need_lib_prefix=no
22019+      ;;
22020+    freebsd-*)
22021+      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
22022+      need_version=yes
22023+      ;;
22024+  esac
22025+  shlibpath_var=LD_LIBRARY_PATH
22026+  case $host_os in
22027+  freebsd2*)
22028+    shlibpath_overrides_runpath=yes
22029+    ;;
22030+  freebsd3.[[01]]* | freebsdelf3.[[01]]*)
22031+    shlibpath_overrides_runpath=yes
22032+    hardcode_into_libs=yes
22033+    ;;
22034+  freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \
22035+  freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1)
22036+    shlibpath_overrides_runpath=no
22037+    hardcode_into_libs=yes
22038+    ;;
22039+  *) # from 4.6 on, and DragonFly
22040+    shlibpath_overrides_runpath=yes
22041+    hardcode_into_libs=yes
22042+    ;;
22043+  esac
22044+  ;;
22045+
22046+gnu*)
22047+  version_type=linux
22048+  need_lib_prefix=no
22049+  need_version=no
22050+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
22051+  soname_spec='${libname}${release}${shared_ext}$major'
22052+  shlibpath_var=LD_LIBRARY_PATH
22053+  hardcode_into_libs=yes
22054+  ;;
22055+
22056+hpux9* | hpux10* | hpux11*)
22057+  # Give a soname corresponding to the major version so that dld.sl refuses to
22058+  # link against other versions.
22059+  version_type=sunos
22060+  need_lib_prefix=no
22061+  need_version=no
22062+  case $host_cpu in
22063+  ia64*)
22064+    shrext_cmds='.so'
22065+    hardcode_into_libs=yes
22066+    dynamic_linker="$host_os dld.so"
22067+    shlibpath_var=LD_LIBRARY_PATH
22068+    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
22069+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22070+    soname_spec='${libname}${release}${shared_ext}$major'
22071+    if test "X$HPUX_IA64_MODE" = X32; then
22072+      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
22073+    else
22074+      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
22075+    fi
22076+    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
22077+    ;;
22078+  hppa*64*)
22079+    shrext_cmds='.sl'
22080+    hardcode_into_libs=yes
22081+    dynamic_linker="$host_os dld.sl"
22082+    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
22083+    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
22084+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22085+    soname_spec='${libname}${release}${shared_ext}$major'
22086+    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
22087+    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
22088+    ;;
22089+  *)
22090+    shrext_cmds='.sl'
22091+    dynamic_linker="$host_os dld.sl"
22092+    shlibpath_var=SHLIB_PATH
22093+    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
22094+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22095+    soname_spec='${libname}${release}${shared_ext}$major'
22096+    ;;
22097+  esac
22098+  # HP-UX runs *really* slowly unless shared libraries are mode 555.
22099+  postinstall_cmds='chmod 555 $lib'
22100+  ;;
22101+
22102+interix[[3-9]]*)
22103+  version_type=linux
22104+  need_lib_prefix=no
22105+  need_version=no
22106+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22107+  soname_spec='${libname}${release}${shared_ext}$major'
22108+  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
22109+  shlibpath_var=LD_LIBRARY_PATH
22110+  shlibpath_overrides_runpath=no
22111+  hardcode_into_libs=yes
22112+  ;;
22113+
22114+irix5* | irix6* | nonstopux*)
22115+  case $host_os in
22116+    nonstopux*) version_type=nonstopux ;;
22117+    *)
22118+	if test "$lt_cv_prog_gnu_ld" = yes; then
22119+		version_type=linux
22120+	else
22121+		version_type=irix
22122+	fi ;;
22123+  esac
22124+  need_lib_prefix=no
22125+  need_version=no
22126+  soname_spec='${libname}${release}${shared_ext}$major'
22127+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
22128+  case $host_os in
22129+  irix5* | nonstopux*)
22130+    libsuff= shlibsuff=
22131+    ;;
22132+  *)
22133+    case $LD in # libtool.m4 will add one of these switches to LD
22134+    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
22135+      libsuff= shlibsuff= libmagic=32-bit;;
22136+    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
22137+      libsuff=32 shlibsuff=N32 libmagic=N32;;
22138+    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
22139+      libsuff=64 shlibsuff=64 libmagic=64-bit;;
22140+    *) libsuff= shlibsuff= libmagic=never-match;;
22141+    esac
22142+    ;;
22143+  esac
22144+  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
22145+  shlibpath_overrides_runpath=no
22146+  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
22147+  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
22148+  hardcode_into_libs=yes
22149+  ;;
22150+
22151+# No shared lib support for Linux oldld, aout, or coff.
22152+linux*oldld* | linux*aout* | linux*coff*)
22153+  dynamic_linker=no
22154+  ;;
22155+
22156+# This must be Linux ELF.
22157+linux* | k*bsd*-gnu)
22158+  version_type=linux
22159+  need_lib_prefix=no
22160+  need_version=no
22161+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22162+  soname_spec='${libname}${release}${shared_ext}$major'
22163+  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
22164+  shlibpath_var=LD_LIBRARY_PATH
22165+  shlibpath_overrides_runpath=no
22166+  # Some binutils ld are patched to set DT_RUNPATH
22167+  save_LDFLAGS=$LDFLAGS
22168+  save_libdir=$libdir
22169+  eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \
22170+       LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\""
22171+  AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
22172+    [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],
22173+       [shlibpath_overrides_runpath=yes])])
22174+  LDFLAGS=$save_LDFLAGS
22175+  libdir=$save_libdir
22176+
22177+  # This implies no fast_install, which is unacceptable.
22178+  # Some rework will be needed to allow for fast_install
22179+  # before this can be enabled.
22180+  hardcode_into_libs=yes
22181+
22182+  # Add ABI-specific directories to the system library path.
22183+  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
22184+
22185+  # Append ld.so.conf contents to the search path
22186+  if test -f /etc/ld.so.conf; then
22187+    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' ' '`
22188+    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
22189+  fi
22190+
22191+  # We used to test for /lib/ld.so.1 and disable shared libraries on
22192+  # powerpc, because MkLinux only supported shared libraries with the
22193+  # GNU dynamic linker.  Since this was broken with cross compilers,
22194+  # most powerpc-linux boxes support dynamic linking these days and
22195+  # people can always --disable-shared, the test was removed, and we
22196+  # assume the GNU/Linux dynamic linker is in use.
22197+  dynamic_linker='GNU/Linux ld.so'
22198+  ;;
22199+
22200+netbsd*)
22201+  version_type=sunos
22202+  need_lib_prefix=no
22203+  need_version=no
22204+  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
22205+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
22206+    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
22207+    dynamic_linker='NetBSD (a.out) ld.so'
22208+  else
22209+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22210+    soname_spec='${libname}${release}${shared_ext}$major'
22211+    dynamic_linker='NetBSD ld.elf_so'
22212+  fi
22213+  shlibpath_var=LD_LIBRARY_PATH
22214+  shlibpath_overrides_runpath=yes
22215+  hardcode_into_libs=yes
22216+  ;;
22217+
22218+newsos6)
22219+  version_type=linux
22220+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22221+  shlibpath_var=LD_LIBRARY_PATH
22222+  shlibpath_overrides_runpath=yes
22223+  ;;
22224+
22225+*nto* | *qnx*)
22226+  version_type=qnx
22227+  need_lib_prefix=no
22228+  need_version=no
22229+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22230+  soname_spec='${libname}${release}${shared_ext}$major'
22231+  shlibpath_var=LD_LIBRARY_PATH
22232+  shlibpath_overrides_runpath=no
22233+  hardcode_into_libs=yes
22234+  dynamic_linker='ldqnx.so'
22235+  ;;
22236+
22237+openbsd*)
22238+  version_type=sunos
22239+  sys_lib_dlsearch_path_spec="/usr/lib"
22240+  need_lib_prefix=no
22241+  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
22242+  case $host_os in
22243+    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
22244+    *)				need_version=no  ;;
22245+  esac
22246+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
22247+  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
22248+  shlibpath_var=LD_LIBRARY_PATH
22249+  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
22250+    case $host_os in
22251+      openbsd2.[[89]] | openbsd2.[[89]].*)
22252+	shlibpath_overrides_runpath=no
22253+	;;
22254+      *)
22255+	shlibpath_overrides_runpath=yes
22256+	;;
22257+      esac
22258+  else
22259+    shlibpath_overrides_runpath=yes
22260+  fi
22261+  ;;
22262+
22263+os2*)
22264+  libname_spec='$name'
22265+  shrext_cmds=".dll"
22266+  need_lib_prefix=no
22267+  library_names_spec='$libname${shared_ext} $libname.a'
22268+  dynamic_linker='OS/2 ld.exe'
22269+  shlibpath_var=LIBPATH
22270+  ;;
22271+
22272+osf3* | osf4* | osf5*)
22273+  version_type=osf
22274+  need_lib_prefix=no
22275+  need_version=no
22276+  soname_spec='${libname}${release}${shared_ext}$major'
22277+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22278+  shlibpath_var=LD_LIBRARY_PATH
22279+  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
22280+  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
22281+  ;;
22282+
22283+rdos*)
22284+  dynamic_linker=no
22285+  ;;
22286+
22287+solaris*)
22288+  version_type=linux
22289+  need_lib_prefix=no
22290+  need_version=no
22291+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22292+  soname_spec='${libname}${release}${shared_ext}$major'
22293+  shlibpath_var=LD_LIBRARY_PATH
22294+  shlibpath_overrides_runpath=yes
22295+  hardcode_into_libs=yes
22296+  # ldd complains unless libraries are executable
22297+  postinstall_cmds='chmod +x $lib'
22298+  ;;
22299+
22300+sunos4*)
22301+  version_type=sunos
22302+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
22303+  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
22304+  shlibpath_var=LD_LIBRARY_PATH
22305+  shlibpath_overrides_runpath=yes
22306+  if test "$with_gnu_ld" = yes; then
22307+    need_lib_prefix=no
22308+  fi
22309+  need_version=yes
22310+  ;;
22311+
22312+sysv4 | sysv4.3*)
22313+  version_type=linux
22314+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22315+  soname_spec='${libname}${release}${shared_ext}$major'
22316+  shlibpath_var=LD_LIBRARY_PATH
22317+  case $host_vendor in
22318+    sni)
22319+      shlibpath_overrides_runpath=no
22320+      need_lib_prefix=no
22321+      runpath_var=LD_RUN_PATH
22322+      ;;
22323+    siemens)
22324+      need_lib_prefix=no
22325+      ;;
22326+    motorola)
22327+      need_lib_prefix=no
22328+      need_version=no
22329+      shlibpath_overrides_runpath=no
22330+      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
22331+      ;;
22332+  esac
22333+  ;;
22334+
22335+sysv4*MP*)
22336+  if test -d /usr/nec ;then
22337+    version_type=linux
22338+    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
22339+    soname_spec='$libname${shared_ext}.$major'
22340+    shlibpath_var=LD_LIBRARY_PATH
22341+  fi
22342+  ;;
22343+
22344+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
22345+  version_type=freebsd-elf
22346+  need_lib_prefix=no
22347+  need_version=no
22348+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
22349+  soname_spec='${libname}${release}${shared_ext}$major'
22350+  shlibpath_var=LD_LIBRARY_PATH
22351+  shlibpath_overrides_runpath=yes
22352+  hardcode_into_libs=yes
22353+  if test "$with_gnu_ld" = yes; then
22354+    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
22355+  else
22356+    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
22357+    case $host_os in
22358+      sco3.2v5*)
22359+        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
22360+	;;
22361+    esac
22362+  fi
22363+  sys_lib_dlsearch_path_spec='/usr/lib'
22364+  ;;
22365+
22366+tpf*)
22367+  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
22368+  version_type=linux
22369+  need_lib_prefix=no
22370+  need_version=no
22371+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22372+  shlibpath_var=LD_LIBRARY_PATH
22373+  shlibpath_overrides_runpath=no
22374+  hardcode_into_libs=yes
22375+  ;;
22376+
22377+uts4*)
22378+  version_type=linux
22379+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22380+  soname_spec='${libname}${release}${shared_ext}$major'
22381+  shlibpath_var=LD_LIBRARY_PATH
22382+  ;;
22383+
22384+*)
22385+  dynamic_linker=no
22386+  ;;
22387+esac
22388+AC_MSG_RESULT([$dynamic_linker])
22389+test "$dynamic_linker" = no && can_build_shared=no
22390+
22391+variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
22392+if test "$GCC" = yes; then
22393+  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
22394+fi
22395+
22396+if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
22397+  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
22398+fi
22399+if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
22400+  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
22401+fi
22402+
22403+_LT_DECL([], [variables_saved_for_relink], [1],
22404+    [Variables whose values should be saved in libtool wrapper scripts and
22405+    restored at link time])
22406+_LT_DECL([], [need_lib_prefix], [0],
22407+    [Do we need the "lib" prefix for modules?])
22408+_LT_DECL([], [need_version], [0], [Do we need a version for libraries?])
22409+_LT_DECL([], [version_type], [0], [Library versioning type])
22410+_LT_DECL([], [runpath_var], [0],  [Shared library runtime path variable])
22411+_LT_DECL([], [shlibpath_var], [0],[Shared library path variable])
22412+_LT_DECL([], [shlibpath_overrides_runpath], [0],
22413+    [Is shlibpath searched before the hard-coded library search path?])
22414+_LT_DECL([], [libname_spec], [1], [Format of library name prefix])
22415+_LT_DECL([], [library_names_spec], [1],
22416+    [[List of archive names.  First name is the real one, the rest are links.
22417+    The last name is the one that the linker finds with -lNAME]])
22418+_LT_DECL([], [soname_spec], [1],
22419+    [[The coded name of the library, if different from the real name]])
22420+_LT_DECL([], [postinstall_cmds], [2],
22421+    [Command to use after installation of a shared archive])
22422+_LT_DECL([], [postuninstall_cmds], [2],
22423+    [Command to use after uninstallation of a shared archive])
22424+_LT_DECL([], [finish_cmds], [2],
22425+    [Commands used to finish a libtool library installation in a directory])
22426+_LT_DECL([], [finish_eval], [1],
22427+    [[As "finish_cmds", except a single script fragment to be evaled but
22428+    not shown]])
22429+_LT_DECL([], [hardcode_into_libs], [0],
22430+    [Whether we should hardcode library paths into libraries])
22431+_LT_DECL([], [sys_lib_search_path_spec], [2],
22432+    [Compile-time system search path for libraries])
22433+_LT_DECL([], [sys_lib_dlsearch_path_spec], [2],
22434+    [Run-time system search path for libraries])
22435+])# _LT_SYS_DYNAMIC_LINKER
22436+
22437+
22438+# _LT_PATH_TOOL_PREFIX(TOOL)
22439+# --------------------------
22440+# find a file program which can recognize shared library
22441+AC_DEFUN([_LT_PATH_TOOL_PREFIX],
22442+[m4_require([_LT_DECL_EGREP])dnl
22443+AC_MSG_CHECKING([for $1])
22444+AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
22445+[case $MAGIC_CMD in
22446+[[\\/*] |  ?:[\\/]*])
22447+  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
22448+  ;;
22449+*)
22450+  lt_save_MAGIC_CMD="$MAGIC_CMD"
22451+  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
22452+dnl $ac_dummy forces splitting on constant user-supplied paths.
22453+dnl POSIX.2 word splitting is done only on the output of word expansions,
22454+dnl not every word.  This closes a longstanding sh security hole.
22455+  ac_dummy="m4_if([$2], , $PATH, [$2])"
22456+  for ac_dir in $ac_dummy; do
22457+    IFS="$lt_save_ifs"
22458+    test -z "$ac_dir" && ac_dir=.
22459+    if test -f $ac_dir/$1; then
22460+      lt_cv_path_MAGIC_CMD="$ac_dir/$1"
22461+      if test -n "$file_magic_test_file"; then
22462+	case $deplibs_check_method in
22463+	"file_magic "*)
22464+	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
22465+	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
22466+	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
22467+	    $EGREP "$file_magic_regex" > /dev/null; then
22468+	    :
22469+	  else
22470+	    cat <<_LT_EOF 1>&2
22471+
22472+*** Warning: the command libtool uses to detect shared libraries,
22473+*** $file_magic_cmd, produces output that libtool cannot recognize.
22474+*** The result is that libtool may fail to recognize shared libraries
22475+*** as such.  This will affect the creation of libtool libraries that
22476+*** depend on shared libraries, but programs linked with such libtool
22477+*** libraries will work regardless of this problem.  Nevertheless, you
22478+*** may want to report the problem to your system manager and/or to
22479+*** bug-libtool@gnu.org
22480+
22481+_LT_EOF
22482+	  fi ;;
22483+	esac
22484+      fi
22485+      break
22486+    fi
22487+  done
22488+  IFS="$lt_save_ifs"
22489+  MAGIC_CMD="$lt_save_MAGIC_CMD"
22490+  ;;
22491+esac])
22492+MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
22493+if test -n "$MAGIC_CMD"; then
22494+  AC_MSG_RESULT($MAGIC_CMD)
22495+else
22496+  AC_MSG_RESULT(no)
22497+fi
22498+_LT_DECL([], [MAGIC_CMD], [0],
22499+	 [Used to examine libraries when file_magic_cmd begins with "file"])dnl
22500+])# _LT_PATH_TOOL_PREFIX
22501+
22502+# Old name:
22503+AU_ALIAS([AC_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX])
22504+dnl aclocal-1.4 backwards compatibility:
22505+dnl AC_DEFUN([AC_PATH_TOOL_PREFIX], [])
22506+
22507+
22508+# _LT_PATH_MAGIC
22509+# --------------
22510+# find a file program which can recognize a shared library
22511+m4_defun([_LT_PATH_MAGIC],
22512+[_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
22513+if test -z "$lt_cv_path_MAGIC_CMD"; then
22514+  if test -n "$ac_tool_prefix"; then
22515+    _LT_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
22516+  else
22517+    MAGIC_CMD=:
22518+  fi
22519+fi
22520+])# _LT_PATH_MAGIC
22521+
22522+
22523+# LT_PATH_LD
22524+# ----------
22525+# find the pathname to the GNU or non-GNU linker
22526+AC_DEFUN([LT_PATH_LD],
22527+[AC_REQUIRE([AC_PROG_CC])dnl
22528+AC_REQUIRE([AC_CANONICAL_HOST])dnl
22529+AC_REQUIRE([AC_CANONICAL_BUILD])dnl
22530+m4_require([_LT_DECL_SED])dnl
22531+m4_require([_LT_DECL_EGREP])dnl
22532+
22533+AC_ARG_WITH([gnu-ld],
22534+    [AS_HELP_STRING([--with-gnu-ld],
22535+	[assume the C compiler uses GNU ld @<:@default=no@:>@])],
22536+    [test "$withval" = no || with_gnu_ld=yes],
22537+    [with_gnu_ld=no])dnl
22538+
22539+ac_prog=ld
22540+if test "$GCC" = yes; then
22541+  # Check if gcc -print-prog-name=ld gives a path.
22542+  AC_MSG_CHECKING([for ld used by $CC])
22543+  case $host in
22544+  *-*-mingw*)
22545+    # gcc leaves a trailing carriage return which upsets mingw
22546+    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
22547+  *)
22548+    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
22549+  esac
22550+  case $ac_prog in
22551+    # Accept absolute paths.
22552+    [[\\/]]* | ?:[[\\/]]*)
22553+      re_direlt='/[[^/]][[^/]]*/\.\./'
22554+      # Canonicalize the pathname of ld
22555+      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
22556+      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
22557+	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
22558+      done
22559+      test -z "$LD" && LD="$ac_prog"
22560+      ;;
22561+  "")
22562+    # If it fails, then pretend we aren't using GCC.
22563+    ac_prog=ld
22564+    ;;
22565+  *)
22566+    # If it is relative, then search for the first ld in PATH.
22567+    with_gnu_ld=unknown
22568+    ;;
22569+  esac
22570+elif test "$with_gnu_ld" = yes; then
22571+  AC_MSG_CHECKING([for GNU ld])
22572+else
22573+  AC_MSG_CHECKING([for non-GNU ld])
22574+fi
22575+AC_CACHE_VAL(lt_cv_path_LD,
22576+[if test -z "$LD"; then
22577+  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
22578+  for ac_dir in $PATH; do
22579+    IFS="$lt_save_ifs"
22580+    test -z "$ac_dir" && ac_dir=.
22581+    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
22582+      lt_cv_path_LD="$ac_dir/$ac_prog"
22583+      # Check to see if the program is GNU ld.  I'd rather use --version,
22584+      # but apparently some variants of GNU ld only accept -v.
22585+      # Break only if it was the GNU/non-GNU ld that we prefer.
22586+      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
22587+      *GNU* | *'with BFD'*)
22588+	test "$with_gnu_ld" != no && break
22589+	;;
22590+      *)
22591+	test "$with_gnu_ld" != yes && break
22592+	;;
22593+      esac
22594+    fi
22595+  done
22596+  IFS="$lt_save_ifs"
22597+else
22598+  lt_cv_path_LD="$LD" # Let the user override the test with a path.
22599+fi])
22600+LD="$lt_cv_path_LD"
22601+if test -n "$LD"; then
22602+  AC_MSG_RESULT($LD)
22603+else
22604+  AC_MSG_RESULT(no)
22605+fi
22606+test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
22607+_LT_PATH_LD_GNU
22608+AC_SUBST([LD])
22609+
22610+_LT_TAGDECL([], [LD], [1], [The linker used to build libraries])
22611+])# LT_PATH_LD
22612+
22613+# Old names:
22614+AU_ALIAS([AM_PROG_LD], [LT_PATH_LD])
22615+AU_ALIAS([AC_PROG_LD], [LT_PATH_LD])
22616+dnl aclocal-1.4 backwards compatibility:
22617+dnl AC_DEFUN([AM_PROG_LD], [])
22618+dnl AC_DEFUN([AC_PROG_LD], [])
22619+
22620+
22621+# _LT_PATH_LD_GNU
22622+#- --------------
22623+m4_defun([_LT_PATH_LD_GNU],
22624+[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
22625+[# I'd rather use --version here, but apparently some GNU lds only accept -v.
22626+case `$LD -v 2>&1 </dev/null` in
22627+*GNU* | *'with BFD'*)
22628+  lt_cv_prog_gnu_ld=yes
22629+  ;;
22630+*)
22631+  lt_cv_prog_gnu_ld=no
22632+  ;;
22633+esac])
22634+with_gnu_ld=$lt_cv_prog_gnu_ld
22635+])# _LT_PATH_LD_GNU
22636+
22637+
22638+# _LT_CMD_RELOAD
22639+# --------------
22640+# find reload flag for linker
22641+#   -- PORTME Some linkers may need a different reload flag.
22642+m4_defun([_LT_CMD_RELOAD],
22643+[AC_CACHE_CHECK([for $LD option to reload object files],
22644+  lt_cv_ld_reload_flag,
22645+  [lt_cv_ld_reload_flag='-r'])
22646+reload_flag=$lt_cv_ld_reload_flag
22647+case $reload_flag in
22648+"" | " "*) ;;
22649+*) reload_flag=" $reload_flag" ;;
22650+esac
22651+reload_cmds='$LD$reload_flag -o $output$reload_objs'
22652+case $host_os in
22653+  darwin*)
22654+    if test "$GCC" = yes; then
22655+      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
22656+    else
22657+      reload_cmds='$LD$reload_flag -o $output$reload_objs'
22658+    fi
22659+    ;;
22660+esac
22661+_LT_DECL([], [reload_flag], [1], [How to create reloadable object files])dnl
22662+_LT_DECL([], [reload_cmds], [2])dnl
22663+])# _LT_CMD_RELOAD
22664+
22665+
22666+# _LT_CHECK_MAGIC_METHOD
22667+# ----------------------
22668+# how to check for library dependencies
22669+#  -- PORTME fill in with the dynamic library characteristics
22670+m4_defun([_LT_CHECK_MAGIC_METHOD],
22671+[m4_require([_LT_DECL_EGREP])
22672+m4_require([_LT_DECL_OBJDUMP])
22673+AC_CACHE_CHECK([how to recognize dependent libraries],
22674+lt_cv_deplibs_check_method,
22675+[lt_cv_file_magic_cmd='$MAGIC_CMD'
22676+lt_cv_file_magic_test_file=
22677+lt_cv_deplibs_check_method='unknown'
22678+# Need to set the preceding variable on all platforms that support
22679+# interlibrary dependencies.
22680+# 'none' -- dependencies not supported.
22681+# `unknown' -- same as none, but documents that we really don't know.
22682+# 'pass_all' -- all dependencies passed with no checks.
22683+# 'test_compile' -- check by making test program.
22684+# 'file_magic [[regex]]' -- check by looking for files in library path
22685+# which responds to the $file_magic_cmd with a given extended regex.
22686+# If you have `file' or equivalent on your system and you're not sure
22687+# whether `pass_all' will *always* work, you probably want this one.
22688+
22689+case $host_os in
22690+aix[[4-9]]*)
22691+  lt_cv_deplibs_check_method=pass_all
22692+  ;;
22693+
22694+beos*)
22695+  lt_cv_deplibs_check_method=pass_all
22696+  ;;
22697+
22698+bsdi[[45]]*)
22699+  lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
22700+  lt_cv_file_magic_cmd='/usr/bin/file -L'
22701+  lt_cv_file_magic_test_file=/shlib/libc.so
22702+  ;;
22703+
22704+cygwin*)
22705+  # func_win32_libid is a shell function defined in ltmain.sh
22706+  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
22707+  lt_cv_file_magic_cmd='func_win32_libid'
22708+  ;;
22709+
22710+mingw* | pw32*)
22711+  # Base MSYS/MinGW do not provide the 'file' command needed by
22712+  # func_win32_libid shell function, so use a weaker test based on 'objdump',
22713+  # unless we find 'file', for example because we are cross-compiling.
22714+  if ( file / ) >/dev/null 2>&1; then
22715+    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
22716+    lt_cv_file_magic_cmd='func_win32_libid'
22717+  else
22718+    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
22719+    lt_cv_file_magic_cmd='$OBJDUMP -f'
22720+  fi
22721+  ;;
22722+
22723+cegcc)
22724+  # use the weaker test based on 'objdump'. See mingw*.
22725+  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
22726+  lt_cv_file_magic_cmd='$OBJDUMP -f'
22727+  ;;
22728+
22729+darwin* | rhapsody*)
22730+  lt_cv_deplibs_check_method=pass_all
22731+  ;;
22732+
22733+freebsd* | dragonfly*)
22734+  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
22735+    case $host_cpu in
22736+    i*86 )
22737+      # Not sure whether the presence of OpenBSD here was a mistake.
22738+      # Let's accept both of them until this is cleared up.
22739+      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library'
22740+      lt_cv_file_magic_cmd=/usr/bin/file
22741+      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
22742+      ;;
22743+    esac
22744+  else
22745+    lt_cv_deplibs_check_method=pass_all
22746+  fi
22747+  ;;
22748+
22749+gnu*)
22750+  lt_cv_deplibs_check_method=pass_all
22751+  ;;
22752+
22753+hpux10.20* | hpux11*)
22754+  lt_cv_file_magic_cmd=/usr/bin/file
22755+  case $host_cpu in
22756+  ia64*)
22757+    lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
22758+    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
22759+    ;;
22760+  hppa*64*)
22761+    [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]']
22762+    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
22763+    ;;
22764+  *)
22765+    lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
22766+    lt_cv_file_magic_test_file=/usr/lib/libc.sl
22767+    ;;
22768+  esac
22769+  ;;
22770+
22771+interix[[3-9]]*)
22772+  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
22773+  lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$'
22774+  ;;
22775+
22776+irix5* | irix6* | nonstopux*)
22777+  case $LD in
22778+  *-32|*"-32 ") libmagic=32-bit;;
22779+  *-n32|*"-n32 ") libmagic=N32;;
22780+  *-64|*"-64 ") libmagic=64-bit;;
22781+  *) libmagic=never-match;;
22782+  esac
22783+  lt_cv_deplibs_check_method=pass_all
22784+  ;;
22785+
22786+# This must be Linux ELF.
22787+linux* | k*bsd*-gnu)
22788+  lt_cv_deplibs_check_method=pass_all
22789+  ;;
22790+
22791+netbsd*)
22792+  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
22793+    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
22794+  else
22795+    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
22796+  fi
22797+  ;;
22798+
22799+newos6*)
22800+  lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
22801+  lt_cv_file_magic_cmd=/usr/bin/file
22802+  lt_cv_file_magic_test_file=/usr/lib/libnls.so
22803+  ;;
22804+
22805+*nto* | *qnx*)
22806+  lt_cv_deplibs_check_method=pass_all
22807+  ;;
22808+
22809+openbsd*)
22810+  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
22811+    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
22812+  else
22813+    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
22814+  fi
22815+  ;;
22816+
22817+osf3* | osf4* | osf5*)
22818+  lt_cv_deplibs_check_method=pass_all
22819+  ;;
22820+
22821+rdos*)
22822+  lt_cv_deplibs_check_method=pass_all
22823+  ;;
22824+
22825+solaris*)
22826+  lt_cv_deplibs_check_method=pass_all
22827+  ;;
22828+
22829+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
22830+  lt_cv_deplibs_check_method=pass_all
22831+  ;;
22832+
22833+sysv4 | sysv4.3*)
22834+  case $host_vendor in
22835+  motorola)
22836+    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]]'
22837+    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
22838+    ;;
22839+  ncr)
22840+    lt_cv_deplibs_check_method=pass_all
22841+    ;;
22842+  sequent)
22843+    lt_cv_file_magic_cmd='/bin/file'
22844+    lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
22845+    ;;
22846+  sni)
22847+    lt_cv_file_magic_cmd='/bin/file'
22848+    lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
22849+    lt_cv_file_magic_test_file=/lib/libc.so
22850+    ;;
22851+  siemens)
22852+    lt_cv_deplibs_check_method=pass_all
22853+    ;;
22854+  pc)
22855+    lt_cv_deplibs_check_method=pass_all
22856+    ;;
22857+  esac
22858+  ;;
22859+
22860+tpf*)
22861+  lt_cv_deplibs_check_method=pass_all
22862+  ;;
22863+esac
22864+])
22865+file_magic_cmd=$lt_cv_file_magic_cmd
22866+deplibs_check_method=$lt_cv_deplibs_check_method
22867+test -z "$deplibs_check_method" && deplibs_check_method=unknown
22868+
22869+_LT_DECL([], [deplibs_check_method], [1],
22870+    [Method to check whether dependent libraries are shared objects])
22871+_LT_DECL([], [file_magic_cmd], [1],
22872+    [Command to use when deplibs_check_method == "file_magic"])
22873+])# _LT_CHECK_MAGIC_METHOD
22874+
22875+
22876+# LT_PATH_NM
22877+# ----------
22878+# find the pathname to a BSD- or MS-compatible name lister
22879+AC_DEFUN([LT_PATH_NM],
22880+[AC_REQUIRE([AC_PROG_CC])dnl
22881+AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
22882+[if test -n "$NM"; then
22883+  # Let the user override the test.
22884+  lt_cv_path_NM="$NM"
22885+else
22886+  lt_nm_to_check="${ac_tool_prefix}nm"
22887+  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
22888+    lt_nm_to_check="$lt_nm_to_check nm"
22889+  fi
22890+  for lt_tmp_nm in $lt_nm_to_check; do
22891+    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
22892+    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
22893+      IFS="$lt_save_ifs"
22894+      test -z "$ac_dir" && ac_dir=.
22895+      tmp_nm="$ac_dir/$lt_tmp_nm"
22896+      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
22897+	# Check to see if the nm accepts a BSD-compat flag.
22898+	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
22899+	#   nm: unknown option "B" ignored
22900+	# Tru64's nm complains that /dev/null is an invalid object file
22901+	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
22902+	*/dev/null* | *'Invalid file or object type'*)
22903+	  lt_cv_path_NM="$tmp_nm -B"
22904+	  break
22905+	  ;;
22906+	*)
22907+	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
22908+	  */dev/null*)
22909+	    lt_cv_path_NM="$tmp_nm -p"
22910+	    break
22911+	    ;;
22912+	  *)
22913+	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
22914+	    continue # so that we can try to find one that supports BSD flags
22915+	    ;;
22916+	  esac
22917+	  ;;
22918+	esac
22919+      fi
22920+    done
22921+    IFS="$lt_save_ifs"
22922+  done
22923+  : ${lt_cv_path_NM=no}
22924+fi])
22925+if test "$lt_cv_path_NM" != "no"; then
22926+  NM="$lt_cv_path_NM"
22927+else
22928+  # Didn't find any BSD compatible name lister, look for dumpbin.
22929+  AC_CHECK_TOOLS(DUMPBIN, ["dumpbin -symbols" "link -dump -symbols"], :)
22930+  AC_SUBST([DUMPBIN])
22931+  if test "$DUMPBIN" != ":"; then
22932+    NM="$DUMPBIN"
22933+  fi
22934+fi
22935+test -z "$NM" && NM=nm
22936+AC_SUBST([NM])
22937+_LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl
22938+
22939+AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
22940+  [lt_cv_nm_interface="BSD nm"
22941+  echo "int some_variable = 0;" > conftest.$ac_ext
22942+  (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
22943+  (eval "$ac_compile" 2>conftest.err)
22944+  cat conftest.err >&AS_MESSAGE_LOG_FD
22945+  (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
22946+  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
22947+  cat conftest.err >&AS_MESSAGE_LOG_FD
22948+  (eval echo "\"\$as_me:__oline__: output\"" >&AS_MESSAGE_LOG_FD)
22949+  cat conftest.out >&AS_MESSAGE_LOG_FD
22950+  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
22951+    lt_cv_nm_interface="MS dumpbin"
22952+  fi
22953+  rm -f conftest*])
22954+])# LT_PATH_NM
22955+
22956+# Old names:
22957+AU_ALIAS([AM_PROG_NM], [LT_PATH_NM])
22958+AU_ALIAS([AC_PROG_NM], [LT_PATH_NM])
22959+dnl aclocal-1.4 backwards compatibility:
22960+dnl AC_DEFUN([AM_PROG_NM], [])
22961+dnl AC_DEFUN([AC_PROG_NM], [])
22962+
22963+
22964+# LT_LIB_M
22965+# --------
22966+# check for math library
22967+AC_DEFUN([LT_LIB_M],
22968+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
22969+LIBM=
22970+case $host in
22971+*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
22972+  # These system don't have libm, or don't need it
22973+  ;;
22974+*-ncr-sysv4.3*)
22975+  AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
22976+  AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
22977+  ;;
22978+*)
22979+  AC_CHECK_LIB(m, cos, LIBM="-lm")
22980+  ;;
22981+esac
22982+AC_SUBST([LIBM])
22983+])# LT_LIB_M
22984+
22985+# Old name:
22986+AU_ALIAS([AC_CHECK_LIBM], [LT_LIB_M])
22987+dnl aclocal-1.4 backwards compatibility:
22988+dnl AC_DEFUN([AC_CHECK_LIBM], [])
22989+
22990+
22991+# _LT_COMPILER_NO_RTTI([TAGNAME])
22992+# -------------------------------
22993+m4_defun([_LT_COMPILER_NO_RTTI],
22994+[m4_require([_LT_TAG_COMPILER])dnl
22995+
22996+_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
22997+
22998+if test "$GCC" = yes; then
22999+  _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
23000+
23001+  _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
23002+    lt_cv_prog_compiler_rtti_exceptions,
23003+    [-fno-rtti -fno-exceptions], [],
23004+    [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
23005+fi
23006+_LT_TAGDECL([no_builtin_flag], [lt_prog_compiler_no_builtin_flag], [1],
23007+	[Compiler flag to turn off builtin functions])
23008+])# _LT_COMPILER_NO_RTTI
23009+
23010+
23011+# _LT_CMD_GLOBAL_SYMBOLS
23012+# ----------------------
23013+m4_defun([_LT_CMD_GLOBAL_SYMBOLS],
23014+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
23015+AC_REQUIRE([AC_PROG_CC])dnl
23016+AC_REQUIRE([LT_PATH_NM])dnl
23017+AC_REQUIRE([LT_PATH_LD])dnl
23018+m4_require([_LT_DECL_SED])dnl
23019+m4_require([_LT_DECL_EGREP])dnl
23020+m4_require([_LT_TAG_COMPILER])dnl
23021+
23022+# Check for command to grab the raw symbol name followed by C symbol from nm.
23023+AC_MSG_CHECKING([command to parse $NM output from $compiler object])
23024+AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe],
23025+[
23026+# These are sane defaults that work on at least a few old systems.
23027+# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
23028+
23029+# Character class describing NM global symbol codes.
23030+symcode='[[BCDEGRST]]'
23031+
23032+# Regexp to match symbols that can be accessed directly from C.
23033+sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
23034+
23035+# Define system-specific variables.
23036+case $host_os in
23037+aix*)
23038+  symcode='[[BCDT]]'
23039+  ;;
23040+cygwin* | mingw* | pw32* | cegcc*)
23041+  symcode='[[ABCDGISTW]]'
23042+  ;;
23043+hpux*)
23044+  if test "$host_cpu" = ia64; then
23045+    symcode='[[ABCDEGRST]]'
23046+  fi
23047+  ;;
23048+irix* | nonstopux*)
23049+  symcode='[[BCDEGRST]]'
23050+  ;;
23051+osf*)
23052+  symcode='[[BCDEGQRST]]'
23053+  ;;
23054+solaris*)
23055+  symcode='[[BDRT]]'
23056+  ;;
23057+sco3.2v5*)
23058+  symcode='[[DT]]'
23059+  ;;
23060+sysv4.2uw2*)
23061+  symcode='[[DT]]'
23062+  ;;
23063+sysv5* | sco5v6* | unixware* | OpenUNIX*)
23064+  symcode='[[ABDT]]'
23065+  ;;
23066+sysv4)
23067+  symcode='[[DFNSTU]]'
23068+  ;;
23069+esac
23070+
23071+# If we're using GNU nm, then use its standard symbol codes.
23072+case `$NM -V 2>&1` in
23073+*GNU* | *'with BFD'*)
23074+  symcode='[[ABCDGIRSTW]]' ;;
23075+esac
23076+
23077+# Transform an extracted symbol line into a proper C declaration.
23078+# Some systems (esp. on ia64) link data and code symbols differently,
23079+# so use this general approach.
23080+lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
23081+
23082+# Transform an extracted symbol line into symbol name and symbol address
23083+lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/  {\"\2\", (void *) \&\2},/p'"
23084+lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([[^ ]]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \(lib[[^ ]]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
23085+
23086+# Handle CRLF in mingw tool chain
23087+opt_cr=
23088+case $build_os in
23089+mingw*)
23090+  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
23091+  ;;
23092+esac
23093+
23094+# Try without a prefix underscore, then with it.
23095+for ac_symprfx in "" "_"; do
23096+
23097+  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
23098+  symxfrm="\\1 $ac_symprfx\\2 \\2"
23099+
23100+  # Write the raw and C identifiers.
23101+  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
23102+    # Fake it for dumpbin and say T for any non-static function
23103+    # and D for any global variable.
23104+    # Also find C++ and __fastcall symbols from MSVC++,
23105+    # which start with @ or ?.
23106+    lt_cv_sys_global_symbol_pipe="$AWK ['"\
23107+"     {last_section=section; section=\$ 3};"\
23108+"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
23109+"     \$ 0!~/External *\|/{next};"\
23110+"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
23111+"     {if(hide[section]) next};"\
23112+"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
23113+"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
23114+"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
23115+"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
23116+"     ' prfx=^$ac_symprfx]"
23117+  else
23118+    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[	 ]]\($symcode$symcode*\)[[	 ]][[	 ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
23119+  fi
23120+
23121+  # Check to see that the pipe works correctly.
23122+  pipe_works=no
23123+
23124+  rm -f conftest*
23125+  cat > conftest.$ac_ext <<_LT_EOF
23126+#ifdef __cplusplus
23127+extern "C" {
23128+#endif
23129+char nm_test_var;
23130+void nm_test_func(void);
23131+void nm_test_func(void){}
23132+#ifdef __cplusplus
23133+}
23134+#endif
23135+int main(){nm_test_var='a';nm_test_func();return(0);}
23136+_LT_EOF
23137+
23138+  if AC_TRY_EVAL(ac_compile); then
23139+    # Now try to grab the symbols.
23140+    nlist=conftest.nm
23141+    if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
23142+      # Try sorting and uniquifying the output.
23143+      if sort "$nlist" | uniq > "$nlist"T; then
23144+	mv -f "$nlist"T "$nlist"
23145+      else
23146+	rm -f "$nlist"T
23147+      fi
23148+
23149+      # Make sure that we snagged all the symbols we need.
23150+      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
23151+	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
23152+	  cat <<_LT_EOF > conftest.$ac_ext
23153+#ifdef __cplusplus
23154+extern "C" {
23155+#endif
23156+
23157+_LT_EOF
23158+	  # Now generate the symbol file.
23159+	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
23160+
23161+	  cat <<_LT_EOF >> conftest.$ac_ext
23162+
23163+/* The mapping between symbol names and symbols.  */
23164+const struct {
23165+  const char *name;
23166+  void       *address;
23167+}
23168+lt__PROGRAM__LTX_preloaded_symbols[[]] =
23169+{
23170+  { "@PROGRAM@", (void *) 0 },
23171+_LT_EOF
23172+	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
23173+	  cat <<\_LT_EOF >> conftest.$ac_ext
23174+  {0, (void *) 0}
23175+};
23176+
23177+/* This works around a problem in FreeBSD linker */
23178+#ifdef FREEBSD_WORKAROUND
23179+static const void *lt_preloaded_setup() {
23180+  return lt__PROGRAM__LTX_preloaded_symbols;
23181+}
23182+#endif
23183+
23184+#ifdef __cplusplus
23185+}
23186+#endif
23187+_LT_EOF
23188+	  # Now try linking the two files.
23189+	  mv conftest.$ac_objext conftstm.$ac_objext
23190+	  lt_save_LIBS="$LIBS"
23191+	  lt_save_CFLAGS="$CFLAGS"
23192+	  LIBS="conftstm.$ac_objext"
23193+	  CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
23194+	  if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
23195+	    pipe_works=yes
23196+	  fi
23197+	  LIBS="$lt_save_LIBS"
23198+	  CFLAGS="$lt_save_CFLAGS"
23199+	else
23200+	  echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
23201+	fi
23202+      else
23203+	echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD
23204+      fi
23205+    else
23206+      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
23207+    fi
23208+  else
23209+    echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
23210+    cat conftest.$ac_ext >&5
23211+  fi
23212+  rm -rf conftest* conftst*
23213+
23214+  # Do not use the global_symbol_pipe unless it works.
23215+  if test "$pipe_works" = yes; then
23216+    break
23217+  else
23218+    lt_cv_sys_global_symbol_pipe=
23219+  fi
23220+done
23221+])
23222+if test -z "$lt_cv_sys_global_symbol_pipe"; then
23223+  lt_cv_sys_global_symbol_to_cdecl=
23224+fi
23225+if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
23226+  AC_MSG_RESULT(failed)
23227+else
23228+  AC_MSG_RESULT(ok)
23229+fi
23230+
23231+_LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1],
23232+    [Take the output of nm and produce a listing of raw symbols and C names])
23233+_LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1],
23234+    [Transform the output of nm in a proper C declaration])
23235+_LT_DECL([global_symbol_to_c_name_address],
23236+    [lt_cv_sys_global_symbol_to_c_name_address], [1],
23237+    [Transform the output of nm in a C name address pair])
23238+_LT_DECL([global_symbol_to_c_name_address_lib_prefix],
23239+    [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1],
23240+    [Transform the output of nm in a C name address pair when lib prefix is needed])
23241+]) # _LT_CMD_GLOBAL_SYMBOLS
23242+
23243+
23244+# _LT_COMPILER_PIC([TAGNAME])
23245+# ---------------------------
23246+m4_defun([_LT_COMPILER_PIC],
23247+[m4_require([_LT_TAG_COMPILER])dnl
23248+_LT_TAGVAR(lt_prog_compiler_wl, $1)=
23249+_LT_TAGVAR(lt_prog_compiler_pic, $1)=
23250+_LT_TAGVAR(lt_prog_compiler_static, $1)=
23251+
23252+AC_MSG_CHECKING([for $compiler option to produce PIC])
23253+m4_if([$1], [CXX], [
23254+  # C++ specific cases for pic, static, wl, etc.
23255+  if test "$GXX" = yes; then
23256+    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
23257+    _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
23258+
23259+    case $host_os in
23260+    aix*)
23261+      # All AIX code is PIC.
23262+      if test "$host_cpu" = ia64; then
23263+	# AIX 5 now supports IA64 processor
23264+	_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
23265+      fi
23266+      ;;
23267+
23268+    amigaos*)
23269+      case $host_cpu in
23270+      powerpc)
23271+            # see comment about AmigaOS4 .so support
23272+            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
23273+        ;;
23274+      m68k)
23275+            # FIXME: we need at least 68020 code to build shared libraries, but
23276+            # adding the `-m68020' flag to GCC prevents building anything better,
23277+            # like `-m68040'.
23278+            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
23279+        ;;
23280+      esac
23281+      ;;
23282+
23283+    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
23284+      # PIC is the default for these OSes.
23285+      ;;
23286+    mingw* | cygwin* | os2* | pw32* | cegcc*)
23287+      # This hack is so that the source file can tell whether it is being
23288+      # built for inclusion in a dll (and should export symbols for example).
23289+      # Although the cygwin gcc ignores -fPIC, still need this for old-style
23290+      # (--disable-auto-import) libraries
23291+      m4_if([$1], [GCJ], [],
23292+	[_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
23293+      ;;
23294+    darwin* | rhapsody*)
23295+      # PIC is the default on this platform
23296+      # Common symbols not allowed in MH_DYLIB files
23297+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
23298+      ;;
23299+    *djgpp*)
23300+      # DJGPP does not support shared libraries at all
23301+      _LT_TAGVAR(lt_prog_compiler_pic, $1)=
23302+      ;;
23303+    interix[[3-9]]*)
23304+      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
23305+      # Instead, we relocate shared libraries at runtime.
23306+      ;;
23307+    sysv4*MP*)
23308+      if test -d /usr/nec; then
23309+	_LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
23310+      fi
23311+      ;;
23312+    hpux*)
23313+      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
23314+      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
23315+      # sets the default TLS model and affects inlining.
23316+      case $host_cpu in
23317+      hppa*64*)
23318+	;;
23319+      *)
23320+	_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
23321+	;;
23322+      esac
23323+      ;;
23324+    *qnx* | *nto*)
23325+      # QNX uses GNU C++, but need to define -shared option too, otherwise
23326+      # it will coredump.
23327+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
23328+      ;;
23329+    *)
23330+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
23331+      ;;
23332+    esac
23333+  else
23334+    case $host_os in
23335+      aix[[4-9]]*)
23336+	# All AIX code is PIC.
23337+	if test "$host_cpu" = ia64; then
23338+	  # AIX 5 now supports IA64 processor
23339+	  _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
23340+	else
23341+	  _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
23342+	fi
23343+	;;
23344+      chorus*)
23345+	case $cc_basename in
23346+	cxch68*)
23347+	  # Green Hills C++ Compiler
23348+	  # _LT_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"
23349+	  ;;
23350+	esac
23351+	;;
23352+      dgux*)
23353+	case $cc_basename in
23354+	  ec++*)
23355+	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
23356+	    ;;
23357+	  ghcx*)
23358+	    # Green Hills C++ Compiler
23359+	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
23360+	    ;;
23361+	  *)
23362+	    ;;
23363+	esac
23364+	;;
23365+      freebsd* | dragonfly*)
23366+	# FreeBSD uses GNU C++
23367+	;;
23368+      hpux9* | hpux10* | hpux11*)
23369+	case $cc_basename in
23370+	  CC*)
23371+	    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
23372+	    _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
23373+	    if test "$host_cpu" != ia64; then
23374+	      _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
23375+	    fi
23376+	    ;;
23377+	  aCC*)
23378+	    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
23379+	    _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
23380+	    case $host_cpu in
23381+	    hppa*64*|ia64*)
23382+	      # +Z the default
23383+	      ;;
23384+	    *)
23385+	      _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
23386+	      ;;
23387+	    esac
23388+	    ;;
23389+	  *)
23390+	    ;;
23391+	esac
23392+	;;
23393+      interix*)
23394+	# This is c89, which is MS Visual C++ (no shared libs)
23395+	# Anyone wants to do a port?
23396+	;;
23397+      irix5* | irix6* | nonstopux*)
23398+	case $cc_basename in
23399+	  CC*)
23400+	    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
23401+	    _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
23402+	    # CC pic flag -KPIC is the default.
23403+	    ;;
23404+	  *)
23405+	    ;;
23406+	esac
23407+	;;
23408+      linux* | k*bsd*-gnu)
23409+	case $cc_basename in
23410+	  KCC*)
23411+	    # KAI C++ Compiler
23412+	    _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
23413+	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
23414+	    ;;
23415+	  ecpc* )
23416+	    # old Intel C++ for x86_64 which still supported -KPIC.
23417+	    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
23418+	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
23419+	    _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
23420+	    ;;
23421+	  icpc* )
23422+	    # Intel C++, used to be incompatible with GCC.
23423+	    # ICC 10 doesn't accept -KPIC any more.
23424+	    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
23425+	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
23426+	    _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
23427+	    ;;
23428+	  pgCC* | pgcpp*)
23429+	    # Portland Group C++ compiler
23430+	    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
23431+	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
23432+	    _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
23433+	    ;;
23434+	  cxx*)
23435+	    # Compaq C++
23436+	    # Make sure the PIC flag is empty.  It appears that all Alpha
23437+	    # Linux and Compaq Tru64 Unix objects are PIC.
23438+	    _LT_TAGVAR(lt_prog_compiler_pic, $1)=
23439+	    _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
23440+	    ;;
23441+	  xlc* | xlC*)
23442+	    # IBM XL 8.0 on PPC
23443+	    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
23444+	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
23445+	    _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
23446+	    ;;
23447+	  *)
23448+	    case `$CC -V 2>&1 | sed 5q` in
23449+	    *Sun\ C*)
23450+	      # Sun C++ 5.9
23451+	      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
23452+	      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
23453+	      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
23454+	      ;;
23455+	    esac
23456+	    ;;
23457+	esac
23458+	;;
23459+      lynxos*)
23460+	;;
23461+      m88k*)
23462+	;;
23463+      mvs*)
23464+	case $cc_basename in
23465+	  cxx*)
23466+	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
23467+	    ;;
23468+	  *)
23469+	    ;;
23470+	esac
23471+	;;
23472+      netbsd*)
23473+	;;
23474+      *qnx* | *nto*)
23475+        # QNX uses GNU C++, but need to define -shared option too, otherwise
23476+        # it will coredump.
23477+        _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
23478+        ;;
23479+      osf3* | osf4* | osf5*)
23480+	case $cc_basename in
23481+	  KCC*)
23482+	    _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
23483+	    ;;
23484+	  RCC*)
23485+	    # Rational C++ 2.4.1
23486+	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
23487+	    ;;
23488+	  cxx*)
23489+	    # Digital/Compaq C++
23490+	    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
23491+	    # Make sure the PIC flag is empty.  It appears that all Alpha
23492+	    # Linux and Compaq Tru64 Unix objects are PIC.
23493+	    _LT_TAGVAR(lt_prog_compiler_pic, $1)=
23494+	    _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
23495+	    ;;
23496+	  *)
23497+	    ;;
23498+	esac
23499+	;;
23500+      psos*)
23501+	;;
23502+      solaris*)
23503+	case $cc_basename in
23504+	  CC*)
23505+	    # Sun C++ 4.2, 5.x and Centerline C++
23506+	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
23507+	    _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
23508+	    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
23509+	    ;;
23510+	  gcx*)
23511+	    # Green Hills C++ Compiler
23512+	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
23513+	    ;;
23514+	  *)
23515+	    ;;
23516+	esac
23517+	;;
23518+      sunos4*)
23519+	case $cc_basename in
23520+	  CC*)
23521+	    # Sun C++ 4.x
23522+	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
23523+	    _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
23524+	    ;;
23525+	  lcc*)
23526+	    # Lucid
23527+	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
23528+	    ;;
23529+	  *)
23530+	    ;;
23531+	esac
23532+	;;
23533+      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
23534+	case $cc_basename in
23535+	  CC*)
23536+	    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
23537+	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
23538+	    _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
23539+	    ;;
23540+	esac
23541+	;;
23542+      tandem*)
23543+	case $cc_basename in
23544+	  NCC*)
23545+	    # NonStop-UX NCC 3.20
23546+	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
23547+	    ;;
23548+	  *)
23549+	    ;;
23550+	esac
23551+	;;
23552+      vxworks*)
23553+	;;
23554+      *)
23555+	_LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
23556+	;;
23557+    esac
23558+  fi
23559+],
23560+[
23561+  if test "$GCC" = yes; then
23562+    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
23563+    _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
23564+
23565+    case $host_os in
23566+      aix*)
23567+      # All AIX code is PIC.
23568+      if test "$host_cpu" = ia64; then
23569+	# AIX 5 now supports IA64 processor
23570+	_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
23571+      fi
23572+      ;;
23573+
23574+    amigaos*)
23575+      case $host_cpu in
23576+      powerpc)
23577+            # see comment about AmigaOS4 .so support
23578+            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
23579+        ;;
23580+      m68k)
23581+            # FIXME: we need at least 68020 code to build shared libraries, but
23582+            # adding the `-m68020' flag to GCC prevents building anything better,
23583+            # like `-m68040'.
23584+            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
23585+        ;;
23586+      esac
23587+      ;;
23588+
23589+    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
23590+      # PIC is the default for these OSes.
23591+      ;;
23592+
23593+    mingw* | cygwin* | pw32* | os2* | cegcc*)
23594+      # This hack is so that the source file can tell whether it is being
23595+      # built for inclusion in a dll (and should export symbols for example).
23596+      # Although the cygwin gcc ignores -fPIC, still need this for old-style
23597+      # (--disable-auto-import) libraries
23598+      m4_if([$1], [GCJ], [],
23599+	[_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
23600+      ;;
23601+
23602+    darwin* | rhapsody*)
23603+      # PIC is the default on this platform
23604+      # Common symbols not allowed in MH_DYLIB files
23605+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
23606+      ;;
23607+
23608+    hpux*)
23609+      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
23610+      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
23611+      # sets the default TLS model and affects inlining.
23612+      case $host_cpu in
23613+      hppa*64*)
23614+	# +Z the default
23615+	;;
23616+      *)
23617+	_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
23618+	;;
23619+      esac
23620+      ;;
23621+
23622+    interix[[3-9]]*)
23623+      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
23624+      # Instead, we relocate shared libraries at runtime.
23625+      ;;
23626+
23627+    msdosdjgpp*)
23628+      # Just because we use GCC doesn't mean we suddenly get shared libraries
23629+      # on systems that don't support them.
23630+      _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
23631+      enable_shared=no
23632+      ;;
23633+
23634+    *nto* | *qnx*)
23635+      # QNX uses GNU C++, but need to define -shared option too, otherwise
23636+      # it will coredump.
23637+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
23638+      ;;
23639+
23640+    sysv4*MP*)
23641+      if test -d /usr/nec; then
23642+	_LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
23643+      fi
23644+      ;;
23645+
23646+    *)
23647+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
23648+      ;;
23649+    esac
23650+  else
23651+    # PORTME Check for flag to pass linker flags through the system compiler.
23652+    case $host_os in
23653+    aix*)
23654+      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
23655+      if test "$host_cpu" = ia64; then
23656+	# AIX 5 now supports IA64 processor
23657+	_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
23658+      else
23659+	_LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
23660+      fi
23661+      ;;
23662+
23663+    mingw* | cygwin* | pw32* | os2* | cegcc*)
23664+      # This hack is so that the source file can tell whether it is being
23665+      # built for inclusion in a dll (and should export symbols for example).
23666+      m4_if([$1], [GCJ], [],
23667+	[_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
23668+      ;;
23669+
23670+    hpux9* | hpux10* | hpux11*)
23671+      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
23672+      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
23673+      # not for PA HP-UX.
23674+      case $host_cpu in
23675+      hppa*64*|ia64*)
23676+	# +Z the default
23677+	;;
23678+      *)
23679+	_LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
23680+	;;
23681+      esac
23682+      # Is there a better lt_prog_compiler_static that works with the bundled CC?
23683+      _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
23684+      ;;
23685+
23686+    irix5* | irix6* | nonstopux*)
23687+      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
23688+      # PIC (with -KPIC) is the default.
23689+      _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
23690+      ;;
23691+
23692+    linux* | k*bsd*-gnu)
23693+      case $cc_basename in
23694+      # old Intel for x86_64 which still supported -KPIC.
23695+      ecc*)
23696+	_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
23697+	_LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
23698+	_LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
23699+        ;;
23700+      # icc used to be incompatible with GCC.
23701+      # ICC 10 doesn't accept -KPIC any more.
23702+      icc* | ifort*)
23703+	_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
23704+	_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
23705+	_LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
23706+        ;;
23707+      # Lahey Fortran 8.1.
23708+      lf95*)
23709+	_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
23710+	_LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared'
23711+	_LT_TAGVAR(lt_prog_compiler_static, $1)='--static'
23712+	;;
23713+      pgcc* | pgf77* | pgf90* | pgf95*)
23714+        # Portland Group compilers (*not* the Pentium gcc compiler,
23715+	# which looks to be a dead project)
23716+	_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
23717+	_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
23718+	_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
23719+        ;;
23720+      ccc*)
23721+        _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
23722+        # All Alpha code is PIC.
23723+        _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
23724+        ;;
23725+      xl*)
23726+	# IBM XL C 8.0/Fortran 10.1 on PPC
23727+	_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
23728+	_LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
23729+	_LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
23730+	;;
23731+      *)
23732+	case `$CC -V 2>&1 | sed 5q` in
23733+	*Sun\ C*)
23734+	  # Sun C 5.9
23735+	  _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
23736+	  _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
23737+	  _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
23738+	  ;;
23739+	*Sun\ F*)
23740+	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
23741+	  _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
23742+	  _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
23743+	  _LT_TAGVAR(lt_prog_compiler_wl, $1)=''
23744+	  ;;
23745+	esac
23746+	;;
23747+      esac
23748+      ;;
23749+
23750+    newsos6)
23751+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
23752+      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
23753+      ;;
23754+
23755+    *nto* | *qnx*)
23756+      # QNX uses GNU C++, but need to define -shared option too, otherwise
23757+      # it will coredump.
23758+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
23759+      ;;
23760+
23761+    osf3* | osf4* | osf5*)
23762+      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
23763+      # All OSF/1 code is PIC.
23764+      _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
23765+      ;;
23766+
23767+    rdos*)
23768+      _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
23769+      ;;
23770+
23771+    solaris*)
23772+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
23773+      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
23774+      case $cc_basename in
23775+      f77* | f90* | f95*)
23776+	_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
23777+      *)
23778+	_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
23779+      esac
23780+      ;;
23781+
23782+    sunos4*)
23783+      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
23784+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
23785+      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
23786+      ;;
23787+
23788+    sysv4 | sysv4.2uw2* | sysv4.3*)
23789+      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
23790+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
23791+      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
23792+      ;;
23793+
23794+    sysv4*MP*)
23795+      if test -d /usr/nec ;then
23796+	_LT_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
23797+	_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
23798+      fi
23799+      ;;
23800+
23801+    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
23802+      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
23803+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
23804+      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
23805+      ;;
23806+
23807+    unicos*)
23808+      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
23809+      _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
23810+      ;;
23811+
23812+    uts4*)
23813+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
23814+      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
23815+      ;;
23816+
23817+    *)
23818+      _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
23819+      ;;
23820+    esac
23821+  fi
23822+])
23823+case $host_os in
23824+  # For platforms which do not support PIC, -DPIC is meaningless:
23825+  *djgpp*)
23826+    _LT_TAGVAR(lt_prog_compiler_pic, $1)=
23827+    ;;
23828+  *)
23829+    _LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])"
23830+    ;;
23831+esac
23832+AC_MSG_RESULT([$_LT_TAGVAR(lt_prog_compiler_pic, $1)])
23833+_LT_TAGDECL([wl], [lt_prog_compiler_wl], [1],
23834+	[How to pass a linker flag through the compiler])
23835+
23836+#
23837+# Check to make sure the PIC flag actually works.
23838+#
23839+if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
23840+  _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, $1) works],
23841+    [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, $1)],
23842+    [$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])], [],
23843+    [case $_LT_TAGVAR(lt_prog_compiler_pic, $1) in
23844+     "" | " "*) ;;
23845+     *) _LT_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_TAGVAR(lt_prog_compiler_pic, $1)" ;;
23846+     esac],
23847+    [_LT_TAGVAR(lt_prog_compiler_pic, $1)=
23848+     _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
23849+fi
23850+_LT_TAGDECL([pic_flag], [lt_prog_compiler_pic], [1],
23851+	[Additional compiler flags for building library objects])
23852+
23853+#
23854+# Check to make sure the static flag actually works.
23855+#
23856+wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_TAGVAR(lt_prog_compiler_static, $1)\"
23857+_LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works],
23858+  _LT_TAGVAR(lt_cv_prog_compiler_static_works, $1),
23859+  $lt_tmp_static_flag,
23860+  [],
23861+  [_LT_TAGVAR(lt_prog_compiler_static, $1)=])
23862+_LT_TAGDECL([link_static_flag], [lt_prog_compiler_static], [1],
23863+	[Compiler flag to prevent dynamic linking])
23864+])# _LT_COMPILER_PIC
23865+
23866+
23867+# _LT_LINKER_SHLIBS([TAGNAME])
23868+# ----------------------------
23869+# See if the linker supports building shared libraries.
23870+m4_defun([_LT_LINKER_SHLIBS],
23871+[AC_REQUIRE([LT_PATH_LD])dnl
23872+AC_REQUIRE([LT_PATH_NM])dnl
23873+m4_require([_LT_FILEUTILS_DEFAULTS])dnl
23874+m4_require([_LT_DECL_EGREP])dnl
23875+m4_require([_LT_DECL_SED])dnl
23876+m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
23877+m4_require([_LT_TAG_COMPILER])dnl
23878+AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
23879+m4_if([$1], [CXX], [
23880+  _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
23881+  case $host_os in
23882+  aix[[4-9]]*)
23883+    # If we're using GNU nm, then we don't want the "-C" option.
23884+    # -C means demangle to AIX nm, but means don't demangle with GNU nm
23885+    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
23886+      _LT_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'
23887+    else
23888+      _LT_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'
23889+    fi
23890+    ;;
23891+  pw32*)
23892+    _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
23893+  ;;
23894+  cygwin* | mingw* | cegcc*)
23895+    _LT_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'
23896+  ;;
23897+  *)
23898+    _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
23899+  ;;
23900+  esac
23901+  _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
23902+], [
23903+  runpath_var=
23904+  _LT_TAGVAR(allow_undefined_flag, $1)=
23905+  _LT_TAGVAR(always_export_symbols, $1)=no
23906+  _LT_TAGVAR(archive_cmds, $1)=
23907+  _LT_TAGVAR(archive_expsym_cmds, $1)=
23908+  _LT_TAGVAR(compiler_needs_object, $1)=no
23909+  _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
23910+  _LT_TAGVAR(export_dynamic_flag_spec, $1)=
23911+  _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
23912+  _LT_TAGVAR(hardcode_automatic, $1)=no
23913+  _LT_TAGVAR(hardcode_direct, $1)=no
23914+  _LT_TAGVAR(hardcode_direct_absolute, $1)=no
23915+  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
23916+  _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
23917+  _LT_TAGVAR(hardcode_libdir_separator, $1)=
23918+  _LT_TAGVAR(hardcode_minus_L, $1)=no
23919+  _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
23920+  _LT_TAGVAR(inherit_rpath, $1)=no
23921+  _LT_TAGVAR(link_all_deplibs, $1)=unknown
23922+  _LT_TAGVAR(module_cmds, $1)=
23923+  _LT_TAGVAR(module_expsym_cmds, $1)=
23924+  _LT_TAGVAR(old_archive_from_new_cmds, $1)=
23925+  _LT_TAGVAR(old_archive_from_expsyms_cmds, $1)=
23926+  _LT_TAGVAR(thread_safe_flag_spec, $1)=
23927+  _LT_TAGVAR(whole_archive_flag_spec, $1)=
23928+  # include_expsyms should be a list of space-separated symbols to be *always*
23929+  # included in the symbol list
23930+  _LT_TAGVAR(include_expsyms, $1)=
23931+  # exclude_expsyms can be an extended regexp of symbols to exclude
23932+  # it will be wrapped by ` (' and `)$', so one must not match beginning or
23933+  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
23934+  # as well as any symbol that contains `d'.
23935+  _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
23936+  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
23937+  # platforms (ab)use it in PIC code, but their linkers get confused if
23938+  # the symbol is explicitly referenced.  Since portable code cannot
23939+  # rely on this symbol name, it's probably fine to never include it in
23940+  # preloaded symbol tables.
23941+  # Exclude shared library initialization/finalization symbols.
23942+dnl Note also adjust exclude_expsyms for C++ above.
23943+  extract_expsyms_cmds=
23944+
23945+  case $host_os in
23946+  cygwin* | mingw* | pw32* | cegcc*)
23947+    # FIXME: the MSVC++ port hasn't been tested in a loooong time
23948+    # When not using gcc, we currently assume that we are using
23949+    # Microsoft Visual C++.
23950+    if test "$GCC" != yes; then
23951+      with_gnu_ld=no
23952+    fi
23953+    ;;
23954+  interix*)
23955+    # we just hope/assume this is gcc and not c89 (= MSVC++)
23956+    with_gnu_ld=yes
23957+    ;;
23958+  openbsd*)
23959+    with_gnu_ld=no
23960+    ;;
23961+  esac
23962+
23963+  _LT_TAGVAR(ld_shlibs, $1)=yes
23964+  if test "$with_gnu_ld" = yes; then
23965+    # If archive_cmds runs LD, not CC, wlarc should be empty
23966+    wlarc='${wl}'
23967+
23968+    # Set some defaults for GNU ld with shared library support. These
23969+    # are reset later if shared libraries are not supported. Putting them
23970+    # here allows them to be overridden if necessary.
23971+    runpath_var=LD_RUN_PATH
23972+    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
23973+    _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
23974+    # ancient GNU ld didn't support --whole-archive et. al.
23975+    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
23976+      _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
23977+    else
23978+      _LT_TAGVAR(whole_archive_flag_spec, $1)=
23979+    fi
23980+    supports_anon_versioning=no
23981+    case `$LD -v 2>&1` in
23982+      *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
23983+      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
23984+      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
23985+      *\ 2.11.*) ;; # other 2.11 versions
23986+      *) supports_anon_versioning=yes ;;
23987+    esac
23988+
23989+    # See if GNU ld supports shared libraries.
23990+    case $host_os in
23991+    aix[[3-9]]*)
23992+      # On AIX/PPC, the GNU linker is very broken
23993+      if test "$host_cpu" != ia64; then
23994+	_LT_TAGVAR(ld_shlibs, $1)=no
23995+	cat <<_LT_EOF 1>&2
23996+
23997+*** Warning: the GNU linker, at least up to release 2.9.1, is reported
23998+*** to be unable to reliably create shared libraries on AIX.
23999+*** Therefore, libtool is disabling shared libraries support.  If you
24000+*** really care for shared libraries, you may want to modify your PATH
24001+*** so that a non-GNU linker is found, and then restart.
24002+
24003+_LT_EOF
24004+      fi
24005+      ;;
24006+
24007+    amigaos*)
24008+      case $host_cpu in
24009+      powerpc)
24010+            # see comment about AmigaOS4 .so support
24011+            _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24012+            _LT_TAGVAR(archive_expsym_cmds, $1)=''
24013+        ;;
24014+      m68k)
24015+            _LT_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)'
24016+            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
24017+            _LT_TAGVAR(hardcode_minus_L, $1)=yes
24018+        ;;
24019+      esac
24020+      ;;
24021+
24022+    beos*)
24023+      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
24024+	_LT_TAGVAR(allow_undefined_flag, $1)=unsupported
24025+	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
24026+	# support --undefined.  This deserves some investigation.  FIXME
24027+	_LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24028+      else
24029+	_LT_TAGVAR(ld_shlibs, $1)=no
24030+      fi
24031+      ;;
24032+
24033+    cygwin* | mingw* | pw32* | cegcc*)
24034+      # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
24035+      # as there is no search path for DLLs.
24036+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
24037+      _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
24038+      _LT_TAGVAR(always_export_symbols, $1)=no
24039+      _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
24040+      _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'
24041+
24042+      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
24043+        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
24044+	# If the export-symbols file already is a .def file (1st line
24045+	# is EXPORTS), use it as is; otherwise, prepend...
24046+	_LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
24047+	  cp $export_symbols $output_objdir/$soname.def;
24048+	else
24049+	  echo EXPORTS > $output_objdir/$soname.def;
24050+	  cat $export_symbols >> $output_objdir/$soname.def;
24051+	fi~
24052+	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
24053+      else
24054+	_LT_TAGVAR(ld_shlibs, $1)=no
24055+      fi
24056+      ;;
24057+
24058+    interix[[3-9]]*)
24059+      _LT_TAGVAR(hardcode_direct, $1)=no
24060+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
24061+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
24062+      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
24063+      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
24064+      # Instead, shared libraries are loaded at an image base (0x10000000 by
24065+      # default) and relocated if they conflict, which is a slow very memory
24066+      # consuming and fragmenting process.  To avoid this, we pick a random,
24067+      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
24068+      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
24069+      _LT_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'
24070+      _LT_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'
24071+      ;;
24072+
24073+    gnu* | linux* | tpf* | k*bsd*-gnu)
24074+      tmp_diet=no
24075+      if test "$host_os" = linux-dietlibc; then
24076+	case $cc_basename in
24077+	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
24078+	esac
24079+      fi
24080+      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
24081+	 && test "$tmp_diet" = no
24082+      then
24083+	tmp_addflag=
24084+	tmp_sharedflag='-shared'
24085+	case $cc_basename,$host_cpu in
24086+        pgcc*)				# Portland Group C compiler
24087+	  _LT_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'
24088+	  tmp_addflag=' $pic_flag'
24089+	  ;;
24090+	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
24091+	  _LT_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'
24092+	  tmp_addflag=' $pic_flag -Mnomain' ;;
24093+	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
24094+	  tmp_addflag=' -i_dynamic' ;;
24095+	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
24096+	  tmp_addflag=' -i_dynamic -nofor_main' ;;
24097+	ifc* | ifort*)			# Intel Fortran compiler
24098+	  tmp_addflag=' -nofor_main' ;;
24099+	lf95*)				# Lahey Fortran 8.1
24100+	  _LT_TAGVAR(whole_archive_flag_spec, $1)=
24101+	  tmp_sharedflag='--shared' ;;
24102+	xl[[cC]]*)			# IBM XL C 8.0 on PPC (deal with xlf below)
24103+	  tmp_sharedflag='-qmkshrobj'
24104+	  tmp_addflag= ;;
24105+	esac
24106+	case `$CC -V 2>&1 | sed 5q` in
24107+	*Sun\ C*)			# Sun C 5.9
24108+	  _LT_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'
24109+	  _LT_TAGVAR(compiler_needs_object, $1)=yes
24110+	  tmp_sharedflag='-G' ;;
24111+	*Sun\ F*)			# Sun Fortran 8.3
24112+	  tmp_sharedflag='-G' ;;
24113+	esac
24114+	_LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24115+
24116+        if test "x$supports_anon_versioning" = xyes; then
24117+          _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
24118+	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
24119+	    echo "local: *; };" >> $output_objdir/$libname.ver~
24120+	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
24121+        fi
24122+
24123+	case $cc_basename in
24124+	xlf*)
24125+	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
24126+	  _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
24127+	  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
24128+	  _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
24129+	  _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
24130+	  if test "x$supports_anon_versioning" = xyes; then
24131+	    _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
24132+	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
24133+	      echo "local: *; };" >> $output_objdir/$libname.ver~
24134+	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
24135+	  fi
24136+	  ;;
24137+	esac
24138+      else
24139+        _LT_TAGVAR(ld_shlibs, $1)=no
24140+      fi
24141+      ;;
24142+
24143+    netbsd*)
24144+      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
24145+	_LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
24146+	wlarc=
24147+      else
24148+	_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24149+	_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
24150+      fi
24151+      ;;
24152+
24153+    solaris*)
24154+      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
24155+	_LT_TAGVAR(ld_shlibs, $1)=no
24156+	cat <<_LT_EOF 1>&2
24157+
24158+*** Warning: The releases 2.8.* of the GNU linker cannot reliably
24159+*** create shared libraries on Solaris systems.  Therefore, libtool
24160+*** is disabling shared libraries support.  We urge you to upgrade GNU
24161+*** binutils to release 2.9.1 or newer.  Another option is to modify
24162+*** your PATH or compiler configuration so that the native linker is
24163+*** used, and then restart.
24164+
24165+_LT_EOF
24166+      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
24167+	_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24168+	_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
24169+      else
24170+	_LT_TAGVAR(ld_shlibs, $1)=no
24171+      fi
24172+      ;;
24173+
24174+    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
24175+      case `$LD -v 2>&1` in
24176+        *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
24177+	_LT_TAGVAR(ld_shlibs, $1)=no
24178+	cat <<_LT_EOF 1>&2
24179+
24180+*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
24181+*** reliably create shared libraries on SCO systems.  Therefore, libtool
24182+*** is disabling shared libraries support.  We urge you to upgrade GNU
24183+*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
24184+*** your PATH or compiler configuration so that the native linker is
24185+*** used, and then restart.
24186+
24187+_LT_EOF
24188+	;;
24189+	*)
24190+	  # For security reasons, it is highly recommended that you always
24191+	  # use absolute paths for naming shared libraries, and exclude the
24192+	  # DT_RUNPATH tag from executables and libraries.  But doing so
24193+	  # requires that you compile everything twice, which is a pain.
24194+	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
24195+	    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
24196+	    _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24197+	    _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
24198+	  else
24199+	    _LT_TAGVAR(ld_shlibs, $1)=no
24200+	  fi
24201+	;;
24202+      esac
24203+      ;;
24204+
24205+    sunos4*)
24206+      _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
24207+      wlarc=
24208+      _LT_TAGVAR(hardcode_direct, $1)=yes
24209+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
24210+      ;;
24211+
24212+    *)
24213+      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
24214+	_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24215+	_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
24216+      else
24217+	_LT_TAGVAR(ld_shlibs, $1)=no
24218+      fi
24219+      ;;
24220+    esac
24221+
24222+    if test "$_LT_TAGVAR(ld_shlibs, $1)" = no; then
24223+      runpath_var=
24224+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
24225+      _LT_TAGVAR(export_dynamic_flag_spec, $1)=
24226+      _LT_TAGVAR(whole_archive_flag_spec, $1)=
24227+    fi
24228+  else
24229+    # PORTME fill in a description of your system's linker (not GNU ld)
24230+    case $host_os in
24231+    aix3*)
24232+      _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
24233+      _LT_TAGVAR(always_export_symbols, $1)=yes
24234+      _LT_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'
24235+      # Note: this linker hardcodes the directories in LIBPATH if there
24236+      # are no directories specified by -L.
24237+      _LT_TAGVAR(hardcode_minus_L, $1)=yes
24238+      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
24239+	# Neither direct hardcoding nor static linking is supported with a
24240+	# broken collect2.
24241+	_LT_TAGVAR(hardcode_direct, $1)=unsupported
24242+      fi
24243+      ;;
24244+
24245+    aix[[4-9]]*)
24246+      if test "$host_cpu" = ia64; then
24247+	# On IA64, the linker does run time linking by default, so we don't
24248+	# have to do anything special.
24249+	aix_use_runtimelinking=no
24250+	exp_sym_flag='-Bexport'
24251+	no_entry_flag=""
24252+      else
24253+	# If we're using GNU nm, then we don't want the "-C" option.
24254+	# -C means demangle to AIX nm, but means don't demangle with GNU nm
24255+	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
24256+	  _LT_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'
24257+	else
24258+	  _LT_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'
24259+	fi
24260+	aix_use_runtimelinking=no
24261+
24262+	# Test if we are trying to use run time linking or normal
24263+	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
24264+	# need to do runtime linking.
24265+	case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
24266+	  for ld_flag in $LDFLAGS; do
24267+	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
24268+	    aix_use_runtimelinking=yes
24269+	    break
24270+	  fi
24271+	  done
24272+	  ;;
24273+	esac
24274+
24275+	exp_sym_flag='-bexport'
24276+	no_entry_flag='-bnoentry'
24277+      fi
24278+
24279+      # When large executables or shared objects are built, AIX ld can
24280+      # have problems creating the table of contents.  If linking a library
24281+      # or program results in "error TOC overflow" add -mminimal-toc to
24282+      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
24283+      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
24284+
24285+      _LT_TAGVAR(archive_cmds, $1)=''
24286+      _LT_TAGVAR(hardcode_direct, $1)=yes
24287+      _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
24288+      _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
24289+      _LT_TAGVAR(link_all_deplibs, $1)=yes
24290+      _LT_TAGVAR(file_list_spec, $1)='${wl}-f,'
24291+
24292+      if test "$GCC" = yes; then
24293+	case $host_os in aix4.[[012]]|aix4.[[012]].*)
24294+	# We only want to do this on AIX 4.2 and lower, the check
24295+	# below for broken collect2 doesn't work under 4.3+
24296+	  collect2name=`${CC} -print-prog-name=collect2`
24297+	  if test -f "$collect2name" &&
24298+	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
24299+	  then
24300+	  # We have reworked collect2
24301+	  :
24302+	  else
24303+	  # We have old collect2
24304+	  _LT_TAGVAR(hardcode_direct, $1)=unsupported
24305+	  # It fails to find uninstalled libraries when the uninstalled
24306+	  # path is not listed in the libpath.  Setting hardcode_minus_L
24307+	  # to unsupported forces relinking
24308+	  _LT_TAGVAR(hardcode_minus_L, $1)=yes
24309+	  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
24310+	  _LT_TAGVAR(hardcode_libdir_separator, $1)=
24311+	  fi
24312+	  ;;
24313+	esac
24314+	shared_flag='-shared'
24315+	if test "$aix_use_runtimelinking" = yes; then
24316+	  shared_flag="$shared_flag "'${wl}-G'
24317+	fi
24318+      else
24319+	# not using gcc
24320+	if test "$host_cpu" = ia64; then
24321+	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
24322+	# chokes on -Wl,-G. The following line is correct:
24323+	  shared_flag='-G'
24324+	else
24325+	  if test "$aix_use_runtimelinking" = yes; then
24326+	    shared_flag='${wl}-G'
24327+	  else
24328+	    shared_flag='${wl}-bM:SRE'
24329+	  fi
24330+	fi
24331+      fi
24332+
24333+      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
24334+      # It seems that -bexpall does not export symbols beginning with
24335+      # underscore (_), so it is better to generate a list of symbols to export.
24336+      _LT_TAGVAR(always_export_symbols, $1)=yes
24337+      if test "$aix_use_runtimelinking" = yes; then
24338+	# Warning - without using the other runtime loading flags (-brtl),
24339+	# -berok will link without error, but may produce a broken library.
24340+	_LT_TAGVAR(allow_undefined_flag, $1)='-berok'
24341+        # Determine the default libpath from the value encoded in an
24342+        # empty executable.
24343+        _LT_SYS_MODULE_PATH_AIX
24344+        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
24345+        _LT_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 "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
24346+      else
24347+	if test "$host_cpu" = ia64; then
24348+	  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
24349+	  _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
24350+	  _LT_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"
24351+	else
24352+	 # Determine the default libpath from the value encoded in an
24353+	 # empty executable.
24354+	 _LT_SYS_MODULE_PATH_AIX
24355+	 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
24356+	  # Warning - without using the other run time loading flags,
24357+	  # -berok will link without error, but may produce a broken library.
24358+	  _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
24359+	  _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
24360+	  # Exported symbols can be pulled into shared objects from archives
24361+	  _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
24362+	  _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
24363+	  # This is similar to how AIX traditionally builds its shared libraries.
24364+	  _LT_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'
24365+	fi
24366+      fi
24367+      ;;
24368+
24369+    amigaos*)
24370+      case $host_cpu in
24371+      powerpc)
24372+            # see comment about AmigaOS4 .so support
24373+            _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24374+            _LT_TAGVAR(archive_expsym_cmds, $1)=''
24375+        ;;
24376+      m68k)
24377+            _LT_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)'
24378+            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
24379+            _LT_TAGVAR(hardcode_minus_L, $1)=yes
24380+        ;;
24381+      esac
24382+      ;;
24383+
24384+    bsdi[[45]]*)
24385+      _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
24386+      ;;
24387+
24388+    cygwin* | mingw* | pw32* | cegcc*)
24389+      # When not using gcc, we currently assume that we are using
24390+      # Microsoft Visual C++.
24391+      # hardcode_libdir_flag_spec is actually meaningless, as there is
24392+      # no search path for DLLs.
24393+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
24394+      _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
24395+      # Tell ltmain to make .lib files, not .a files.
24396+      libext=lib
24397+      # Tell ltmain to make .dll files, not .so files.
24398+      shrext_cmds=".dll"
24399+      # FIXME: Setting linknames here is a bad hack.
24400+      _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
24401+      # The linker will automatically build a .lib file if we build a DLL.
24402+      _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
24403+      # FIXME: Should let the user specify the lib program.
24404+      _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
24405+      _LT_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'
24406+      _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
24407+      ;;
24408+
24409+    darwin* | rhapsody*)
24410+      _LT_DARWIN_LINKER_FEATURES($1)
24411+      ;;
24412+
24413+    dgux*)
24414+      _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24415+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
24416+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
24417+      ;;
24418+
24419+    freebsd1*)
24420+      _LT_TAGVAR(ld_shlibs, $1)=no
24421+      ;;
24422+
24423+    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
24424+    # support.  Future versions do this automatically, but an explicit c++rt0.o
24425+    # does not break anything, and helps significantly (at the cost of a little
24426+    # extra space).
24427+    freebsd2.2*)
24428+      _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
24429+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
24430+      _LT_TAGVAR(hardcode_direct, $1)=yes
24431+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
24432+      ;;
24433+
24434+    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
24435+    freebsd2*)
24436+      _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
24437+      _LT_TAGVAR(hardcode_direct, $1)=yes
24438+      _LT_TAGVAR(hardcode_minus_L, $1)=yes
24439+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
24440+      ;;
24441+
24442+    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
24443+    freebsd* | dragonfly*)
24444+      _LT_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
24445+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
24446+      _LT_TAGVAR(hardcode_direct, $1)=yes
24447+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
24448+      ;;
24449+
24450+    hpux9*)
24451+      if test "$GCC" = yes; then
24452+	_LT_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'
24453+      else
24454+	_LT_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'
24455+      fi
24456+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
24457+      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
24458+      _LT_TAGVAR(hardcode_direct, $1)=yes
24459+
24460+      # hardcode_minus_L: Not really in the search PATH,
24461+      # but as the default location of the library.
24462+      _LT_TAGVAR(hardcode_minus_L, $1)=yes
24463+      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
24464+      ;;
24465+
24466+    hpux10*)
24467+      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
24468+	_LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
24469+      else
24470+	_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
24471+      fi
24472+      if test "$with_gnu_ld" = no; then
24473+	_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
24474+	_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
24475+	_LT_TAGVAR(hardcode_libdir_separator, $1)=:
24476+	_LT_TAGVAR(hardcode_direct, $1)=yes
24477+	_LT_TAGVAR(hardcode_direct_absolute, $1)=yes
24478+	_LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
24479+	# hardcode_minus_L: Not really in the search PATH,
24480+	# but as the default location of the library.
24481+	_LT_TAGVAR(hardcode_minus_L, $1)=yes
24482+      fi
24483+      ;;
24484+
24485+    hpux11*)
24486+      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
24487+	case $host_cpu in
24488+	hppa*64*)
24489+	  _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
24490+	  ;;
24491+	ia64*)
24492+	  _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
24493+	  ;;
24494+	*)
24495+	  _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
24496+	  ;;
24497+	esac
24498+      else
24499+	case $host_cpu in
24500+	hppa*64*)
24501+	  _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
24502+	  ;;
24503+	ia64*)
24504+	  _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
24505+	  ;;
24506+	*)
24507+	  _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
24508+	  ;;
24509+	esac
24510+      fi
24511+      if test "$with_gnu_ld" = no; then
24512+	_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
24513+	_LT_TAGVAR(hardcode_libdir_separator, $1)=:
24514+
24515+	case $host_cpu in
24516+	hppa*64*|ia64*)
24517+	  _LT_TAGVAR(hardcode_direct, $1)=no
24518+	  _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
24519+	  ;;
24520+	*)
24521+	  _LT_TAGVAR(hardcode_direct, $1)=yes
24522+	  _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
24523+	  _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
24524+
24525+	  # hardcode_minus_L: Not really in the search PATH,
24526+	  # but as the default location of the library.
24527+	  _LT_TAGVAR(hardcode_minus_L, $1)=yes
24528+	  ;;
24529+	esac
24530+      fi
24531+      ;;
24532+
24533+    irix5* | irix6* | nonstopux*)
24534+      if test "$GCC" = yes; then
24535+	_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
24536+	# Try to use the -exported_symbol ld option, if it does not
24537+	# work, assume that -exports_file does not work either and
24538+	# implicitly export all symbols.
24539+        save_LDFLAGS="$LDFLAGS"
24540+        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
24541+        AC_LINK_IFELSE(int foo(void) {},
24542+          _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
24543+        )
24544+        LDFLAGS="$save_LDFLAGS"
24545+      else
24546+	_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
24547+	_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
24548+      fi
24549+      _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
24550+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
24551+      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
24552+      _LT_TAGVAR(inherit_rpath, $1)=yes
24553+      _LT_TAGVAR(link_all_deplibs, $1)=yes
24554+      ;;
24555+
24556+    netbsd*)
24557+      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
24558+	_LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
24559+      else
24560+	_LT_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
24561+      fi
24562+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
24563+      _LT_TAGVAR(hardcode_direct, $1)=yes
24564+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
24565+      ;;
24566+
24567+    newsos6)
24568+      _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24569+      _LT_TAGVAR(hardcode_direct, $1)=yes
24570+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
24571+      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
24572+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
24573+      ;;
24574+
24575+    *nto* | *qnx*)
24576+      ;;
24577+
24578+    openbsd*)
24579+      if test -f /usr/libexec/ld.so; then
24580+	_LT_TAGVAR(hardcode_direct, $1)=yes
24581+	_LT_TAGVAR(hardcode_shlibpath_var, $1)=no
24582+	_LT_TAGVAR(hardcode_direct_absolute, $1)=yes
24583+	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
24584+	  _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
24585+	  _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
24586+	  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
24587+	  _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
24588+	else
24589+	  case $host_os in
24590+	   openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
24591+	     _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
24592+	     _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
24593+	     ;;
24594+	   *)
24595+	     _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
24596+	     _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
24597+	     ;;
24598+	  esac
24599+	fi
24600+      else
24601+	_LT_TAGVAR(ld_shlibs, $1)=no
24602+      fi
24603+      ;;
24604+
24605+    os2*)
24606+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
24607+      _LT_TAGVAR(hardcode_minus_L, $1)=yes
24608+      _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
24609+      _LT_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'
24610+      _LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
24611+      ;;
24612+
24613+    osf3*)
24614+      if test "$GCC" = yes; then
24615+	_LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
24616+	_LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
24617+      else
24618+	_LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
24619+	_LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
24620+      fi
24621+      _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
24622+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
24623+      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
24624+      ;;
24625+
24626+    osf4* | osf5*)	# as osf3* with the addition of -msym flag
24627+      if test "$GCC" = yes; then
24628+	_LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
24629+	_LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
24630+	_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
24631+      else
24632+	_LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
24633+	_LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
24634+	_LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
24635+	$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
24636+
24637+	# Both c and cxx compiler support -rpath directly
24638+	_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
24639+      fi
24640+      _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
24641+      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
24642+      ;;
24643+
24644+    solaris*)
24645+      _LT_TAGVAR(no_undefined_flag, $1)=' -z defs'
24646+      if test "$GCC" = yes; then
24647+	wlarc='${wl}'
24648+	_LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
24649+	_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
24650+	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
24651+      else
24652+	case `$CC -V 2>&1` in
24653+	*"Compilers 5.0"*)
24654+	  wlarc=''
24655+	  _LT_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
24656+	  _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
24657+	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
24658+	  ;;
24659+	*)
24660+	  wlarc='${wl}'
24661+	  _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
24662+	  _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
24663+	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
24664+	  ;;
24665+	esac
24666+      fi
24667+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
24668+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
24669+      case $host_os in
24670+      solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
24671+      *)
24672+	# The compiler driver will combine and reorder linker options,
24673+	# but understands `-z linker_flag'.  GCC discards it without `$wl',
24674+	# but is careful enough not to reorder.
24675+	# Supported since Solaris 2.6 (maybe 2.5.1?)
24676+	if test "$GCC" = yes; then
24677+	  _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
24678+	else
24679+	  _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
24680+	fi
24681+	;;
24682+      esac
24683+      _LT_TAGVAR(link_all_deplibs, $1)=yes
24684+      ;;
24685+
24686+    sunos4*)
24687+      if test "x$host_vendor" = xsequent; then
24688+	# Use $CC to link under sequent, because it throws in some extra .o
24689+	# files that make .init and .fini sections work.
24690+	_LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
24691+      else
24692+	_LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
24693+      fi
24694+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
24695+      _LT_TAGVAR(hardcode_direct, $1)=yes
24696+      _LT_TAGVAR(hardcode_minus_L, $1)=yes
24697+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
24698+      ;;
24699+
24700+    sysv4)
24701+      case $host_vendor in
24702+	sni)
24703+	  _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24704+	  _LT_TAGVAR(hardcode_direct, $1)=yes # is this really true???
24705+	;;
24706+	siemens)
24707+	  ## LD is ld it makes a PLAMLIB
24708+	  ## CC just makes a GrossModule.
24709+	  _LT_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
24710+	  _LT_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
24711+	  _LT_TAGVAR(hardcode_direct, $1)=no
24712+        ;;
24713+	motorola)
24714+	  _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24715+	  _LT_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
24716+	;;
24717+      esac
24718+      runpath_var='LD_RUN_PATH'
24719+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
24720+      ;;
24721+
24722+    sysv4.3*)
24723+      _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24724+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
24725+      _LT_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
24726+      ;;
24727+
24728+    sysv4*MP*)
24729+      if test -d /usr/nec; then
24730+	_LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24731+	_LT_TAGVAR(hardcode_shlibpath_var, $1)=no
24732+	runpath_var=LD_RUN_PATH
24733+	hardcode_runpath_var=yes
24734+	_LT_TAGVAR(ld_shlibs, $1)=yes
24735+      fi
24736+      ;;
24737+
24738+    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
24739+      _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
24740+      _LT_TAGVAR(archive_cmds_need_lc, $1)=no
24741+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
24742+      runpath_var='LD_RUN_PATH'
24743+
24744+      if test "$GCC" = yes; then
24745+	_LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
24746+	_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
24747+      else
24748+	_LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
24749+	_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
24750+      fi
24751+      ;;
24752+
24753+    sysv5* | sco3.2v5* | sco5v6*)
24754+      # Note: We can NOT use -z defs as we might desire, because we do not
24755+      # link with -lc, and that would cause any symbols used from libc to
24756+      # always be unresolved, which means just about no library would
24757+      # ever link correctly.  If we're not using GNU ld we use -z text
24758+      # though, which does catch some bad symbols but isn't as heavy-handed
24759+      # as -z defs.
24760+      _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
24761+      _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
24762+      _LT_TAGVAR(archive_cmds_need_lc, $1)=no
24763+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
24764+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir'
24765+      _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
24766+      _LT_TAGVAR(link_all_deplibs, $1)=yes
24767+      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
24768+      runpath_var='LD_RUN_PATH'
24769+
24770+      if test "$GCC" = yes; then
24771+	_LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
24772+	_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
24773+      else
24774+	_LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
24775+	_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
24776+      fi
24777+      ;;
24778+
24779+    uts4*)
24780+      _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24781+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
24782+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
24783+      ;;
24784+
24785+    *)
24786+      _LT_TAGVAR(ld_shlibs, $1)=no
24787+      ;;
24788+    esac
24789+
24790+    if test x$host_vendor = xsni; then
24791+      case $host in
24792+      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
24793+	_LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Blargedynsym'
24794+	;;
24795+      esac
24796+    fi
24797+  fi
24798+])
24799+AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
24800+test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
24801+
24802+_LT_TAGVAR(with_gnu_ld, $1)=$with_gnu_ld
24803+
24804+_LT_DECL([], [libext], [0], [Old archive suffix (normally "a")])dnl
24805+_LT_DECL([], [shrext_cmds], [1], [Shared library suffix (normally ".so")])dnl
24806+_LT_DECL([], [extract_expsyms_cmds], [2],
24807+    [The commands to extract the exported symbol list from a shared archive])
24808+
24809+#
24810+# Do we need to explicitly link libc?
24811+#
24812+case "x$_LT_TAGVAR(archive_cmds_need_lc, $1)" in
24813+x|xyes)
24814+  # Assume -lc should be added
24815+  _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
24816+
24817+  if test "$enable_shared" = yes && test "$GCC" = yes; then
24818+    case $_LT_TAGVAR(archive_cmds, $1) in
24819+    *'~'*)
24820+      # FIXME: we may have to deal with multi-command sequences.
24821+      ;;
24822+    '$CC '*)
24823+      # Test whether the compiler implicitly links with -lc since on some
24824+      # systems, -lgcc has to come before -lc. If gcc already passes -lc
24825+      # to ld, don't add -lc before -lgcc.
24826+      AC_MSG_CHECKING([whether -lc should be explicitly linked in])
24827+      $RM conftest*
24828+      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
24829+
24830+      if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
24831+        soname=conftest
24832+        lib=conftest
24833+        libobjs=conftest.$ac_objext
24834+        deplibs=
24835+        wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1)
24836+	pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1)
24837+        compiler_flags=-v
24838+        linker_flags=-v
24839+        verstring=
24840+        output_objdir=.
24841+        libname=conftest
24842+        lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1)
24843+        _LT_TAGVAR(allow_undefined_flag, $1)=
24844+        if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1)
24845+        then
24846+	  _LT_TAGVAR(archive_cmds_need_lc, $1)=no
24847+        else
24848+	  _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
24849+        fi
24850+        _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
24851+      else
24852+        cat conftest.err 1>&5
24853+      fi
24854+      $RM conftest*
24855+      AC_MSG_RESULT([$_LT_TAGVAR(archive_cmds_need_lc, $1)])
24856+      ;;
24857+    esac
24858+  fi
24859+  ;;
24860+esac
24861+
24862+_LT_TAGDECL([build_libtool_need_lc], [archive_cmds_need_lc], [0],
24863+    [Whether or not to add -lc for building shared libraries])
24864+_LT_TAGDECL([allow_libtool_libs_with_static_runtimes],
24865+    [enable_shared_with_static_runtimes], [0],
24866+    [Whether or not to disallow shared libs when runtime libs are static])
24867+_LT_TAGDECL([], [export_dynamic_flag_spec], [1],
24868+    [Compiler flag to allow reflexive dlopens])
24869+_LT_TAGDECL([], [whole_archive_flag_spec], [1],
24870+    [Compiler flag to generate shared objects directly from archives])
24871+_LT_TAGDECL([], [compiler_needs_object], [1],
24872+    [Whether the compiler copes with passing no objects directly])
24873+_LT_TAGDECL([], [old_archive_from_new_cmds], [2],
24874+    [Create an old-style archive from a shared archive])
24875+_LT_TAGDECL([], [old_archive_from_expsyms_cmds], [2],
24876+    [Create a temporary old-style archive to link instead of a shared archive])
24877+_LT_TAGDECL([], [archive_cmds], [2], [Commands used to build a shared archive])
24878+_LT_TAGDECL([], [archive_expsym_cmds], [2])
24879+_LT_TAGDECL([], [module_cmds], [2],
24880+    [Commands used to build a loadable module if different from building
24881+    a shared archive.])
24882+_LT_TAGDECL([], [module_expsym_cmds], [2])
24883+_LT_TAGDECL([], [with_gnu_ld], [1],
24884+    [Whether we are building with GNU ld or not])
24885+_LT_TAGDECL([], [allow_undefined_flag], [1],
24886+    [Flag that allows shared libraries with undefined symbols to be built])
24887+_LT_TAGDECL([], [no_undefined_flag], [1],
24888+    [Flag that enforces no undefined symbols])
24889+_LT_TAGDECL([], [hardcode_libdir_flag_spec], [1],
24890+    [Flag to hardcode $libdir into a binary during linking.
24891+    This must work even if $libdir does not exist])
24892+_LT_TAGDECL([], [hardcode_libdir_flag_spec_ld], [1],
24893+    [[If ld is used when linking, flag to hardcode $libdir into a binary
24894+    during linking.  This must work even if $libdir does not exist]])
24895+_LT_TAGDECL([], [hardcode_libdir_separator], [1],
24896+    [Whether we need a single "-rpath" flag with a separated argument])
24897+_LT_TAGDECL([], [hardcode_direct], [0],
24898+    [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
24899+    DIR into the resulting binary])
24900+_LT_TAGDECL([], [hardcode_direct_absolute], [0],
24901+    [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
24902+    DIR into the resulting binary and the resulting library dependency is
24903+    "absolute", i.e impossible to change by setting ${shlibpath_var} if the
24904+    library is relocated])
24905+_LT_TAGDECL([], [hardcode_minus_L], [0],
24906+    [Set to "yes" if using the -LDIR flag during linking hardcodes DIR
24907+    into the resulting binary])
24908+_LT_TAGDECL([], [hardcode_shlibpath_var], [0],
24909+    [Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
24910+    into the resulting binary])
24911+_LT_TAGDECL([], [hardcode_automatic], [0],
24912+    [Set to "yes" if building a shared library automatically hardcodes DIR
24913+    into the library and all subsequent libraries and executables linked
24914+    against it])
24915+_LT_TAGDECL([], [inherit_rpath], [0],
24916+    [Set to yes if linker adds runtime paths of dependent libraries
24917+    to runtime path list])
24918+_LT_TAGDECL([], [link_all_deplibs], [0],
24919+    [Whether libtool must link a program against all its dependency libraries])
24920+_LT_TAGDECL([], [fix_srcfile_path], [1],
24921+    [Fix the shell variable $srcfile for the compiler])
24922+_LT_TAGDECL([], [always_export_symbols], [0],
24923+    [Set to "yes" if exported symbols are required])
24924+_LT_TAGDECL([], [export_symbols_cmds], [2],
24925+    [The commands to list exported symbols])
24926+_LT_TAGDECL([], [exclude_expsyms], [1],
24927+    [Symbols that should not be listed in the preloaded symbols])
24928+_LT_TAGDECL([], [include_expsyms], [1],
24929+    [Symbols that must always be exported])
24930+_LT_TAGDECL([], [prelink_cmds], [2],
24931+    [Commands necessary for linking programs (against libraries) with templates])
24932+_LT_TAGDECL([], [file_list_spec], [1],
24933+    [Specify filename containing input files])
24934+dnl FIXME: Not yet implemented
24935+dnl _LT_TAGDECL([], [thread_safe_flag_spec], [1],
24936+dnl    [Compiler flag to generate thread safe objects])
24937+])# _LT_LINKER_SHLIBS
24938+
24939+
24940+# _LT_LANG_C_CONFIG([TAG])
24941+# ------------------------
24942+# Ensure that the configuration variables for a C compiler are suitably
24943+# defined.  These variables are subsequently used by _LT_CONFIG to write
24944+# the compiler configuration to `libtool'.
24945+m4_defun([_LT_LANG_C_CONFIG],
24946+[m4_require([_LT_DECL_EGREP])dnl
24947+lt_save_CC="$CC"
24948+AC_LANG_PUSH(C)
24949+
24950+# Source file extension for C test sources.
24951+ac_ext=c
24952+
24953+# Object file extension for compiled C test sources.
24954+objext=o
24955+_LT_TAGVAR(objext, $1)=$objext
24956+
24957+# Code to be used in simple compile tests
24958+lt_simple_compile_test_code="int some_variable = 0;"
24959+
24960+# Code to be used in simple link tests
24961+lt_simple_link_test_code='int main(){return(0);}'
24962+
24963+_LT_TAG_COMPILER
24964+# Save the default compiler, since it gets overwritten when the other
24965+# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
24966+compiler_DEFAULT=$CC
24967+
24968+# save warnings/boilerplate of simple test code
24969+_LT_COMPILER_BOILERPLATE
24970+_LT_LINKER_BOILERPLATE
24971+
24972+## CAVEAT EMPTOR:
24973+## There is no encapsulation within the following macros, do not change
24974+## the running order or otherwise move them around unless you know exactly
24975+## what you are doing...
24976+if test -n "$compiler"; then
24977+  _LT_COMPILER_NO_RTTI($1)
24978+  _LT_COMPILER_PIC($1)
24979+  _LT_COMPILER_C_O($1)
24980+  _LT_COMPILER_FILE_LOCKS($1)
24981+  _LT_LINKER_SHLIBS($1)
24982+  _LT_SYS_DYNAMIC_LINKER($1)
24983+  _LT_LINKER_HARDCODE_LIBPATH($1)
24984+  LT_SYS_DLOPEN_SELF
24985+  _LT_CMD_STRIPLIB
24986+
24987+  # Report which library types will actually be built
24988+  AC_MSG_CHECKING([if libtool supports shared libraries])
24989+  AC_MSG_RESULT([$can_build_shared])
24990+
24991+  AC_MSG_CHECKING([whether to build shared libraries])
24992+  test "$can_build_shared" = "no" && enable_shared=no
24993+
24994+  # On AIX, shared libraries and static libraries use the same namespace, and
24995+  # are all built from PIC.
24996+  case $host_os in
24997+  aix3*)
24998+    test "$enable_shared" = yes && enable_static=no
24999+    if test -n "$RANLIB"; then
25000+      archive_cmds="$archive_cmds~\$RANLIB \$lib"
25001+      postinstall_cmds='$RANLIB $lib'
25002+    fi
25003+    ;;
25004+
25005+  aix[[4-9]]*)
25006+    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
25007+      test "$enable_shared" = yes && enable_static=no
25008+    fi
25009+    ;;
25010+  esac
25011+  AC_MSG_RESULT([$enable_shared])
25012+
25013+  AC_MSG_CHECKING([whether to build static libraries])
25014+  # Make sure either enable_shared or enable_static is yes.
25015+  test "$enable_shared" = yes || enable_static=yes
25016+  AC_MSG_RESULT([$enable_static])
25017+
25018+  _LT_CONFIG($1)
25019+fi
25020+AC_LANG_POP
25021+CC="$lt_save_CC"
25022+])# _LT_LANG_C_CONFIG
25023+
25024+
25025+# _LT_PROG_CXX
25026+# ------------
25027+# Since AC_PROG_CXX is broken, in that it returns g++ if there is no c++
25028+# compiler, we have our own version here.
25029+m4_defun([_LT_PROG_CXX],
25030+[
25031+pushdef([AC_MSG_ERROR], [_lt_caught_CXX_error=yes])
25032+AC_PROG_CXX
25033+if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
25034+    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
25035+    (test "X$CXX" != "Xg++"))) ; then
25036+  AC_PROG_CXXCPP
25037+else
25038+  _lt_caught_CXX_error=yes
25039+fi
25040+popdef([AC_MSG_ERROR])
25041+])# _LT_PROG_CXX
25042+
25043+dnl aclocal-1.4 backwards compatibility:
25044+dnl AC_DEFUN([_LT_PROG_CXX], [])
25045+
25046+
25047+# _LT_LANG_CXX_CONFIG([TAG])
25048+# --------------------------
25049+# Ensure that the configuration variables for a C++ compiler are suitably
25050+# defined.  These variables are subsequently used by _LT_CONFIG to write
25051+# the compiler configuration to `libtool'.
25052+m4_defun([_LT_LANG_CXX_CONFIG],
25053+[AC_REQUIRE([_LT_PROG_CXX])dnl
25054+m4_require([_LT_FILEUTILS_DEFAULTS])dnl
25055+m4_require([_LT_DECL_EGREP])dnl
25056+
25057+AC_LANG_PUSH(C++)
25058+_LT_TAGVAR(archive_cmds_need_lc, $1)=no
25059+_LT_TAGVAR(allow_undefined_flag, $1)=
25060+_LT_TAGVAR(always_export_symbols, $1)=no
25061+_LT_TAGVAR(archive_expsym_cmds, $1)=
25062+_LT_TAGVAR(compiler_needs_object, $1)=no
25063+_LT_TAGVAR(export_dynamic_flag_spec, $1)=
25064+_LT_TAGVAR(hardcode_direct, $1)=no
25065+_LT_TAGVAR(hardcode_direct_absolute, $1)=no
25066+_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
25067+_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
25068+_LT_TAGVAR(hardcode_libdir_separator, $1)=
25069+_LT_TAGVAR(hardcode_minus_L, $1)=no
25070+_LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
25071+_LT_TAGVAR(hardcode_automatic, $1)=no
25072+_LT_TAGVAR(inherit_rpath, $1)=no
25073+_LT_TAGVAR(module_cmds, $1)=
25074+_LT_TAGVAR(module_expsym_cmds, $1)=
25075+_LT_TAGVAR(link_all_deplibs, $1)=unknown
25076+_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
25077+_LT_TAGVAR(no_undefined_flag, $1)=
25078+_LT_TAGVAR(whole_archive_flag_spec, $1)=
25079+_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
25080+
25081+# Source file extension for C++ test sources.
25082+ac_ext=cpp
25083+
25084+# Object file extension for compiled C++ test sources.
25085+objext=o
25086+_LT_TAGVAR(objext, $1)=$objext
25087+
25088+# No sense in running all these tests if we already determined that
25089+# the CXX compiler isn't working.  Some variables (like enable_shared)
25090+# are currently assumed to apply to all compilers on this platform,
25091+# and will be corrupted by setting them based on a non-working compiler.
25092+if test "$_lt_caught_CXX_error" != yes; then
25093+  # Code to be used in simple compile tests
25094+  lt_simple_compile_test_code="int some_variable = 0;"
25095+
25096+  # Code to be used in simple link tests
25097+  lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }'
25098+
25099+  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
25100+  _LT_TAG_COMPILER
25101+
25102+  # save warnings/boilerplate of simple test code
25103+  _LT_COMPILER_BOILERPLATE
25104+  _LT_LINKER_BOILERPLATE
25105+
25106+  # Allow CC to be a program name with arguments.
25107+  lt_save_CC=$CC
25108+  lt_save_LD=$LD
25109+  lt_save_GCC=$GCC
25110+  GCC=$GXX
25111+  lt_save_with_gnu_ld=$with_gnu_ld
25112+  lt_save_path_LD=$lt_cv_path_LD
25113+  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
25114+    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
25115+  else
25116+    $as_unset lt_cv_prog_gnu_ld
25117+  fi
25118+  if test -n "${lt_cv_path_LDCXX+set}"; then
25119+    lt_cv_path_LD=$lt_cv_path_LDCXX
25120+  else
25121+    $as_unset lt_cv_path_LD
25122+  fi
25123+  test -z "${LDCXX+set}" || LD=$LDCXX
25124+  CC=${CXX-"c++"}
25125+  compiler=$CC
25126+  _LT_TAGVAR(compiler, $1)=$CC
25127+  _LT_CC_BASENAME([$compiler])
25128+
25129+  if test -n "$compiler"; then
25130+    # We don't want -fno-exception when compiling C++ code, so set the
25131+    # no_builtin_flag separately
25132+    if test "$GXX" = yes; then
25133+      _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
25134+    else
25135+      _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
25136+    fi
25137+
25138+    if test "$GXX" = yes; then
25139+      # Set up default GNU C++ configuration
25140+
25141+      LT_PATH_LD
25142+
25143+      # Check if GNU C++ uses GNU ld as the underlying linker, since the
25144+      # archiving commands below assume that GNU ld is being used.
25145+      if test "$with_gnu_ld" = yes; then
25146+        _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
25147+        _LT_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'
25148+
25149+        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
25150+        _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
25151+
25152+        # If archive_cmds runs LD, not CC, wlarc should be empty
25153+        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
25154+        #     investigate it a little bit more. (MM)
25155+        wlarc='${wl}'
25156+
25157+        # ancient GNU ld didn't support --whole-archive et. al.
25158+        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
25159+	  $GREP 'no-whole-archive' > /dev/null; then
25160+          _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
25161+        else
25162+          _LT_TAGVAR(whole_archive_flag_spec, $1)=
25163+        fi
25164+      else
25165+        with_gnu_ld=no
25166+        wlarc=
25167+
25168+        # A generic and very simple default shared library creation
25169+        # command for GNU C++ for the case where it uses the native
25170+        # linker, instead of GNU ld.  If possible, this setting should
25171+        # overridden to take advantage of the native linker features on
25172+        # the platform it is being used on.
25173+        _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
25174+      fi
25175+
25176+      # Commands to make compiler produce verbose output that lists
25177+      # what "hidden" libraries, object files and flags are used when
25178+      # linking a shared library.
25179+      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
25180+
25181+    else
25182+      GXX=no
25183+      with_gnu_ld=no
25184+      wlarc=
25185+    fi
25186+
25187+    # PORTME: fill in a description of your system's C++ link characteristics
25188+    AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
25189+    _LT_TAGVAR(ld_shlibs, $1)=yes
25190+    case $host_os in
25191+      aix3*)
25192+        # FIXME: insert proper C++ library support
25193+        _LT_TAGVAR(ld_shlibs, $1)=no
25194+        ;;
25195+      aix[[4-9]]*)
25196+        if test "$host_cpu" = ia64; then
25197+          # On IA64, the linker does run time linking by default, so we don't
25198+          # have to do anything special.
25199+          aix_use_runtimelinking=no
25200+          exp_sym_flag='-Bexport'
25201+          no_entry_flag=""
25202+        else
25203+          aix_use_runtimelinking=no
25204+
25205+          # Test if we are trying to use run time linking or normal
25206+          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
25207+          # need to do runtime linking.
25208+          case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
25209+	    for ld_flag in $LDFLAGS; do
25210+	      case $ld_flag in
25211+	      *-brtl*)
25212+	        aix_use_runtimelinking=yes
25213+	        break
25214+	        ;;
25215+	      esac
25216+	    done
25217+	    ;;
25218+          esac
25219+
25220+          exp_sym_flag='-bexport'
25221+          no_entry_flag='-bnoentry'
25222+        fi
25223+
25224+        # When large executables or shared objects are built, AIX ld can
25225+        # have problems creating the table of contents.  If linking a library
25226+        # or program results in "error TOC overflow" add -mminimal-toc to
25227+        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
25228+        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
25229+
25230+        _LT_TAGVAR(archive_cmds, $1)=''
25231+        _LT_TAGVAR(hardcode_direct, $1)=yes
25232+        _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
25233+        _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
25234+        _LT_TAGVAR(link_all_deplibs, $1)=yes
25235+        _LT_TAGVAR(file_list_spec, $1)='${wl}-f,'
25236+
25237+        if test "$GXX" = yes; then
25238+          case $host_os in aix4.[[012]]|aix4.[[012]].*)
25239+          # We only want to do this on AIX 4.2 and lower, the check
25240+          # below for broken collect2 doesn't work under 4.3+
25241+	  collect2name=`${CC} -print-prog-name=collect2`
25242+	  if test -f "$collect2name" &&
25243+	     strings "$collect2name" | $GREP resolve_lib_name >/dev/null
25244+	  then
25245+	    # We have reworked collect2
25246+	    :
25247+	  else
25248+	    # We have old collect2
25249+	    _LT_TAGVAR(hardcode_direct, $1)=unsupported
25250+	    # It fails to find uninstalled libraries when the uninstalled
25251+	    # path is not listed in the libpath.  Setting hardcode_minus_L
25252+	    # to unsupported forces relinking
25253+	    _LT_TAGVAR(hardcode_minus_L, $1)=yes
25254+	    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
25255+	    _LT_TAGVAR(hardcode_libdir_separator, $1)=
25256+	  fi
25257+          esac
25258+          shared_flag='-shared'
25259+	  if test "$aix_use_runtimelinking" = yes; then
25260+	    shared_flag="$shared_flag "'${wl}-G'
25261+	  fi
25262+        else
25263+          # not using gcc
25264+          if test "$host_cpu" = ia64; then
25265+	  # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
25266+	  # chokes on -Wl,-G. The following line is correct:
25267+	  shared_flag='-G'
25268+          else
25269+	    if test "$aix_use_runtimelinking" = yes; then
25270+	      shared_flag='${wl}-G'
25271+	    else
25272+	      shared_flag='${wl}-bM:SRE'
25273+	    fi
25274+          fi
25275+        fi
25276+
25277+        _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
25278+        # It seems that -bexpall does not export symbols beginning with
25279+        # underscore (_), so it is better to generate a list of symbols to
25280+	# export.
25281+        _LT_TAGVAR(always_export_symbols, $1)=yes
25282+        if test "$aix_use_runtimelinking" = yes; then
25283+          # Warning - without using the other runtime loading flags (-brtl),
25284+          # -berok will link without error, but may produce a broken library.
25285+          _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
25286+          # Determine the default libpath from the value encoded in an empty
25287+          # executable.
25288+          _LT_SYS_MODULE_PATH_AIX
25289+          _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
25290+
25291+          _LT_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 "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
25292+        else
25293+          if test "$host_cpu" = ia64; then
25294+	    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
25295+	    _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
25296+	    _LT_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"
25297+          else
25298+	    # Determine the default libpath from the value encoded in an
25299+	    # empty executable.
25300+	    _LT_SYS_MODULE_PATH_AIX
25301+	    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
25302+	    # Warning - without using the other run time loading flags,
25303+	    # -berok will link without error, but may produce a broken library.
25304+	    _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
25305+	    _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
25306+	    # Exported symbols can be pulled into shared objects from archives
25307+	    _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
25308+	    _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
25309+	    # This is similar to how AIX traditionally builds its shared
25310+	    # libraries.
25311+	    _LT_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'
25312+          fi
25313+        fi
25314+        ;;
25315+
25316+      beos*)
25317+	if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
25318+	  _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
25319+	  # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
25320+	  # support --undefined.  This deserves some investigation.  FIXME
25321+	  _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
25322+	else
25323+	  _LT_TAGVAR(ld_shlibs, $1)=no
25324+	fi
25325+	;;
25326+
25327+      chorus*)
25328+        case $cc_basename in
25329+          *)
25330+	  # FIXME: insert proper C++ library support
25331+	  _LT_TAGVAR(ld_shlibs, $1)=no
25332+	  ;;
25333+        esac
25334+        ;;
25335+
25336+      cygwin* | mingw* | pw32* | cegcc*)
25337+        # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
25338+        # as there is no search path for DLLs.
25339+        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
25340+        _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
25341+        _LT_TAGVAR(always_export_symbols, $1)=no
25342+        _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
25343+
25344+        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
25345+          _LT_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'
25346+          # If the export-symbols file already is a .def file (1st line
25347+          # is EXPORTS), use it as is; otherwise, prepend...
25348+          _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
25349+	    cp $export_symbols $output_objdir/$soname.def;
25350+          else
25351+	    echo EXPORTS > $output_objdir/$soname.def;
25352+	    cat $export_symbols >> $output_objdir/$soname.def;
25353+          fi~
25354+          $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'
25355+        else
25356+          _LT_TAGVAR(ld_shlibs, $1)=no
25357+        fi
25358+        ;;
25359+      darwin* | rhapsody*)
25360+        _LT_DARWIN_LINKER_FEATURES($1)
25361+	;;
25362+
25363+      dgux*)
25364+        case $cc_basename in
25365+          ec++*)
25366+	    # FIXME: insert proper C++ library support
25367+	    _LT_TAGVAR(ld_shlibs, $1)=no
25368+	    ;;
25369+          ghcx*)
25370+	    # Green Hills C++ Compiler
25371+	    # FIXME: insert proper C++ library support
25372+	    _LT_TAGVAR(ld_shlibs, $1)=no
25373+	    ;;
25374+          *)
25375+	    # FIXME: insert proper C++ library support
25376+	    _LT_TAGVAR(ld_shlibs, $1)=no
25377+	    ;;
25378+        esac
25379+        ;;
25380+
25381+      freebsd[[12]]*)
25382+        # C++ shared libraries reported to be fairly broken before
25383+	# switch to ELF
25384+        _LT_TAGVAR(ld_shlibs, $1)=no
25385+        ;;
25386+
25387+      freebsd-elf*)
25388+        _LT_TAGVAR(archive_cmds_need_lc, $1)=no
25389+        ;;
25390+
25391+      freebsd* | dragonfly*)
25392+        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
25393+        # conventions
25394+        _LT_TAGVAR(ld_shlibs, $1)=yes
25395+        ;;
25396+
25397+      gnu*)
25398+        ;;
25399+
25400+      hpux9*)
25401+        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
25402+        _LT_TAGVAR(hardcode_libdir_separator, $1)=:
25403+        _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
25404+        _LT_TAGVAR(hardcode_direct, $1)=yes
25405+        _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
25406+				             # but as the default
25407+				             # location of the library.
25408+
25409+        case $cc_basename in
25410+          CC*)
25411+            # FIXME: insert proper C++ library support
25412+            _LT_TAGVAR(ld_shlibs, $1)=no
25413+            ;;
25414+          aCC*)
25415+            _LT_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'
25416+            # Commands to make compiler produce verbose output that lists
25417+            # what "hidden" libraries, object files and flags are used when
25418+            # linking a shared library.
25419+            #
25420+            # There doesn't appear to be a way to prevent this compiler from
25421+            # explicitly linking system object files so we need to strip them
25422+            # from the output so that they don't get included in the library
25423+            # dependencies.
25424+            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
25425+            ;;
25426+          *)
25427+            if test "$GXX" = yes; then
25428+              _LT_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'
25429+            else
25430+              # FIXME: insert proper C++ library support
25431+              _LT_TAGVAR(ld_shlibs, $1)=no
25432+            fi
25433+            ;;
25434+        esac
25435+        ;;
25436+
25437+      hpux10*|hpux11*)
25438+        if test $with_gnu_ld = no; then
25439+	  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
25440+	  _LT_TAGVAR(hardcode_libdir_separator, $1)=:
25441+
25442+          case $host_cpu in
25443+            hppa*64*|ia64*)
25444+              ;;
25445+            *)
25446+	      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
25447+              ;;
25448+          esac
25449+        fi
25450+        case $host_cpu in
25451+          hppa*64*|ia64*)
25452+            _LT_TAGVAR(hardcode_direct, $1)=no
25453+            _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
25454+            ;;
25455+          *)
25456+            _LT_TAGVAR(hardcode_direct, $1)=yes
25457+            _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
25458+            _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
25459+					         # but as the default
25460+					         # location of the library.
25461+            ;;
25462+        esac
25463+
25464+        case $cc_basename in
25465+          CC*)
25466+	    # FIXME: insert proper C++ library support
25467+	    _LT_TAGVAR(ld_shlibs, $1)=no
25468+	    ;;
25469+          aCC*)
25470+	    case $host_cpu in
25471+	      hppa*64*)
25472+	        _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
25473+	        ;;
25474+	      ia64*)
25475+	        _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
25476+	        ;;
25477+	      *)
25478+	        _LT_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'
25479+	        ;;
25480+	    esac
25481+	    # Commands to make compiler produce verbose output that lists
25482+	    # what "hidden" libraries, object files and flags are used when
25483+	    # linking a shared library.
25484+	    #
25485+	    # There doesn't appear to be a way to prevent this compiler from
25486+	    # explicitly linking system object files so we need to strip them
25487+	    # from the output so that they don't get included in the library
25488+	    # dependencies.
25489+	    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 "X$list" | $Xsed'
25490+	    ;;
25491+          *)
25492+	    if test "$GXX" = yes; then
25493+	      if test $with_gnu_ld = no; then
25494+	        case $host_cpu in
25495+	          hppa*64*)
25496+	            _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
25497+	            ;;
25498+	          ia64*)
25499+	            _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
25500+	            ;;
25501+	          *)
25502+	            _LT_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'
25503+	            ;;
25504+	        esac
25505+	      fi
25506+	    else
25507+	      # FIXME: insert proper C++ library support
25508+	      _LT_TAGVAR(ld_shlibs, $1)=no
25509+	    fi
25510+	    ;;
25511+        esac
25512+        ;;
25513+
25514+      interix[[3-9]]*)
25515+	_LT_TAGVAR(hardcode_direct, $1)=no
25516+	_LT_TAGVAR(hardcode_shlibpath_var, $1)=no
25517+	_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
25518+	_LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
25519+	# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
25520+	# Instead, shared libraries are loaded at an image base (0x10000000 by
25521+	# default) and relocated if they conflict, which is a slow very memory
25522+	# consuming and fragmenting process.  To avoid this, we pick a random,
25523+	# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
25524+	# time.  Moving up from 0x10000000 also allows more sbrk(2) space.
25525+	_LT_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'
25526+	_LT_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'
25527+	;;
25528+      irix5* | irix6*)
25529+        case $cc_basename in
25530+          CC*)
25531+	    # SGI C++
25532+	    _LT_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
25533+
25534+	    # Archives containing C++ object files must be created using
25535+	    # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
25536+	    # necessary to make sure instantiated templates are included
25537+	    # in the archive.
25538+	    _LT_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
25539+	    ;;
25540+          *)
25541+	    if test "$GXX" = yes; then
25542+	      if test "$with_gnu_ld" = no; then
25543+	        _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
25544+	      else
25545+	        _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
25546+	      fi
25547+	    fi
25548+	    _LT_TAGVAR(link_all_deplibs, $1)=yes
25549+	    ;;
25550+        esac
25551+        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
25552+        _LT_TAGVAR(hardcode_libdir_separator, $1)=:
25553+        _LT_TAGVAR(inherit_rpath, $1)=yes
25554+        ;;
25555+
25556+      linux* | k*bsd*-gnu)
25557+        case $cc_basename in
25558+          KCC*)
25559+	    # Kuck and Associates, Inc. (KAI) C++ Compiler
25560+
25561+	    # KCC will only create a shared library if the output file
25562+	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
25563+	    # to its proper name (with version) after linking.
25564+	    _LT_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'
25565+	    _LT_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'
25566+	    # Commands to make compiler produce verbose output that lists
25567+	    # what "hidden" libraries, object files and flags are used when
25568+	    # linking a shared library.
25569+	    #
25570+	    # There doesn't appear to be a way to prevent this compiler from
25571+	    # explicitly linking system object files so we need to strip them
25572+	    # from the output so that they don't get included in the library
25573+	    # dependencies.
25574+	    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 "X$list" | $Xsed'
25575+
25576+	    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
25577+	    _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
25578+
25579+	    # Archives containing C++ object files must be created using
25580+	    # "CC -Bstatic", where "CC" is the KAI C++ compiler.
25581+	    _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
25582+	    ;;
25583+	  icpc* | ecpc* )
25584+	    # Intel C++
25585+	    with_gnu_ld=yes
25586+	    # version 8.0 and above of icpc choke on multiply defined symbols
25587+	    # if we add $predep_objects and $postdep_objects, however 7.1 and
25588+	    # earlier do not add the objects themselves.
25589+	    case `$CC -V 2>&1` in
25590+	      *"Version 7."*)
25591+	        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
25592+		_LT_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'
25593+		;;
25594+	      *)  # Version 8.0 or newer
25595+	        tmp_idyn=
25596+	        case $host_cpu in
25597+		  ia64*) tmp_idyn=' -i_dynamic';;
25598+		esac
25599+	        _LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
25600+		_LT_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'
25601+		;;
25602+	    esac
25603+	    _LT_TAGVAR(archive_cmds_need_lc, $1)=no
25604+	    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
25605+	    _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
25606+	    _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
25607+	    ;;
25608+          pgCC* | pgcpp*)
25609+            # Portland Group C++ compiler
25610+	    case `$CC -V` in
25611+	    *pgCC\ [[1-5]]* | *pgcpp\ [[1-5]]*)
25612+	      _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~
25613+		rm -rf $tpldir~
25614+		$CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
25615+		compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
25616+	      _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~
25617+		rm -rf $tpldir~
25618+		$CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
25619+		$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
25620+		$RANLIB $oldlib'
25621+	      _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~
25622+		rm -rf $tpldir~
25623+		$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
25624+		$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
25625+	      _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~
25626+		rm -rf $tpldir~
25627+		$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
25628+		$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
25629+	      ;;
25630+	    *) # Version 6 will use weak symbols
25631+	      _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
25632+	      _LT_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'
25633+	      ;;
25634+	    esac
25635+
25636+	    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
25637+	    _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
25638+	    _LT_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'
25639+            ;;
25640+	  cxx*)
25641+	    # Compaq C++
25642+	    _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
25643+	    _LT_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'
25644+
25645+	    runpath_var=LD_RUN_PATH
25646+	    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
25647+	    _LT_TAGVAR(hardcode_libdir_separator, $1)=:
25648+
25649+	    # Commands to make compiler produce verbose output that lists
25650+	    # what "hidden" libraries, object files and flags are used when
25651+	    # linking a shared library.
25652+	    #
25653+	    # There doesn't appear to be a way to prevent this compiler from
25654+	    # explicitly linking system object files so we need to strip them
25655+	    # from the output so that they don't get included in the library
25656+	    # dependencies.
25657+	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "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 "X$list" | $Xsed'
25658+	    ;;
25659+	  xl*)
25660+	    # IBM XL 8.0 on PPC, with GNU ld
25661+	    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
25662+	    _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
25663+	    _LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
25664+	    if test "x$supports_anon_versioning" = xyes; then
25665+	      _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
25666+		cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
25667+		echo "local: *; };" >> $output_objdir/$libname.ver~
25668+		$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
25669+	    fi
25670+	    ;;
25671+	  *)
25672+	    case `$CC -V 2>&1 | sed 5q` in
25673+	    *Sun\ C*)
25674+	      # Sun C++ 5.9
25675+	      _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
25676+	      _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
25677+	      _LT_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'
25678+	      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
25679+	      _LT_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'
25680+	      _LT_TAGVAR(compiler_needs_object, $1)=yes
25681+
25682+	      # Not sure whether something based on
25683+	      # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
25684+	      # would be better.
25685+	      output_verbose_link_cmd='echo'
25686+
25687+	      # Archives containing C++ object files must be created using
25688+	      # "CC -xar", where "CC" is the Sun C++ compiler.  This is
25689+	      # necessary to make sure instantiated templates are included
25690+	      # in the archive.
25691+	      _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
25692+	      ;;
25693+	    esac
25694+	    ;;
25695+	esac
25696+	;;
25697+
25698+      lynxos*)
25699+        # FIXME: insert proper C++ library support
25700+	_LT_TAGVAR(ld_shlibs, $1)=no
25701+	;;
25702+
25703+      m88k*)
25704+        # FIXME: insert proper C++ library support
25705+        _LT_TAGVAR(ld_shlibs, $1)=no
25706+	;;
25707+
25708+      mvs*)
25709+        case $cc_basename in
25710+          cxx*)
25711+	    # FIXME: insert proper C++ library support
25712+	    _LT_TAGVAR(ld_shlibs, $1)=no
25713+	    ;;
25714+	  *)
25715+	    # FIXME: insert proper C++ library support
25716+	    _LT_TAGVAR(ld_shlibs, $1)=no
25717+	    ;;
25718+	esac
25719+	;;
25720+
25721+      netbsd*)
25722+        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
25723+	  _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
25724+	  wlarc=
25725+	  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
25726+	  _LT_TAGVAR(hardcode_direct, $1)=yes
25727+	  _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
25728+	fi
25729+	# Workaround some broken pre-1.5 toolchains
25730+	output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
25731+	;;
25732+
25733+      *nto* | *qnx*)
25734+        _LT_TAGVAR(ld_shlibs, $1)=yes
25735+	;;
25736+
25737+      openbsd2*)
25738+        # C++ shared libraries are fairly broken
25739+	_LT_TAGVAR(ld_shlibs, $1)=no
25740+	;;
25741+
25742+      openbsd*)
25743+	if test -f /usr/libexec/ld.so; then
25744+	  _LT_TAGVAR(hardcode_direct, $1)=yes
25745+	  _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
25746+	  _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
25747+	  _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
25748+	  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
25749+	  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
25750+	    _LT_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'
25751+	    _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
25752+	    _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
25753+	  fi
25754+	  output_verbose_link_cmd=echo
25755+	else
25756+	  _LT_TAGVAR(ld_shlibs, $1)=no
25757+	fi
25758+	;;
25759+
25760+      osf3* | osf4* | osf5*)
25761+        case $cc_basename in
25762+          KCC*)
25763+	    # Kuck and Associates, Inc. (KAI) C++ Compiler
25764+
25765+	    # KCC will only create a shared library if the output file
25766+	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
25767+	    # to its proper name (with version) after linking.
25768+	    _LT_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'
25769+
25770+	    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
25771+	    _LT_TAGVAR(hardcode_libdir_separator, $1)=:
25772+
25773+	    # Archives containing C++ object files must be created using
25774+	    # the KAI C++ compiler.
25775+	    case $host in
25776+	      osf3*) _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;;
25777+	      *) _LT_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;;
25778+	    esac
25779+	    ;;
25780+          RCC*)
25781+	    # Rational C++ 2.4.1
25782+	    # FIXME: insert proper C++ library support
25783+	    _LT_TAGVAR(ld_shlibs, $1)=no
25784+	    ;;
25785+          cxx*)
25786+	    case $host in
25787+	      osf3*)
25788+	        _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
25789+	        _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
25790+	        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
25791+		;;
25792+	      *)
25793+	        _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
25794+	        _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
25795+	        _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
25796+	          echo "-hidden">> $lib.exp~
25797+	          $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 "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
25798+	          $RM $lib.exp'
25799+	        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
25800+		;;
25801+	    esac
25802+
25803+	    _LT_TAGVAR(hardcode_libdir_separator, $1)=:
25804+
25805+	    # Commands to make compiler produce verbose output that lists
25806+	    # what "hidden" libraries, object files and flags are used when
25807+	    # linking a shared library.
25808+	    #
25809+	    # There doesn't appear to be a way to prevent this compiler from
25810+	    # explicitly linking system object files so we need to strip them
25811+	    # from the output so that they don't get included in the library
25812+	    # dependencies.
25813+	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "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 "X$list" | $Xsed'
25814+	    ;;
25815+	  *)
25816+	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then
25817+	      _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
25818+	      case $host in
25819+	        osf3*)
25820+	          _LT_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 "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
25821+		  ;;
25822+	        *)
25823+	          _LT_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" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
25824+		  ;;
25825+	      esac
25826+
25827+	      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
25828+	      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
25829+
25830+	      # Commands to make compiler produce verbose output that lists
25831+	      # what "hidden" libraries, object files and flags are used when
25832+	      # linking a shared library.
25833+	      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
25834+
25835+	    else
25836+	      # FIXME: insert proper C++ library support
25837+	      _LT_TAGVAR(ld_shlibs, $1)=no
25838+	    fi
25839+	    ;;
25840+        esac
25841+        ;;
25842+
25843+      psos*)
25844+        # FIXME: insert proper C++ library support
25845+        _LT_TAGVAR(ld_shlibs, $1)=no
25846+        ;;
25847+
25848+      sunos4*)
25849+        case $cc_basename in
25850+          CC*)
25851+	    # Sun C++ 4.x
25852+	    # FIXME: insert proper C++ library support
25853+	    _LT_TAGVAR(ld_shlibs, $1)=no
25854+	    ;;
25855+          lcc*)
25856+	    # Lucid
25857+	    # FIXME: insert proper C++ library support
25858+	    _LT_TAGVAR(ld_shlibs, $1)=no
25859+	    ;;
25860+          *)
25861+	    # FIXME: insert proper C++ library support
25862+	    _LT_TAGVAR(ld_shlibs, $1)=no
25863+	    ;;
25864+        esac
25865+        ;;
25866+
25867+      solaris*)
25868+        case $cc_basename in
25869+          CC*)
25870+	    # Sun C++ 4.2, 5.x and Centerline C++
25871+            _LT_TAGVAR(archive_cmds_need_lc,$1)=yes
25872+	    _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
25873+	    _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
25874+	    _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
25875+	      $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'
25876+
25877+	    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
25878+	    _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
25879+	    case $host_os in
25880+	      solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
25881+	      *)
25882+		# The compiler driver will combine and reorder linker options,
25883+		# but understands `-z linker_flag'.
25884+	        # Supported since Solaris 2.6 (maybe 2.5.1?)
25885+		_LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
25886+	        ;;
25887+	    esac
25888+	    _LT_TAGVAR(link_all_deplibs, $1)=yes
25889+
25890+	    output_verbose_link_cmd='echo'
25891+
25892+	    # Archives containing C++ object files must be created using
25893+	    # "CC -xar", where "CC" is the Sun C++ compiler.  This is
25894+	    # necessary to make sure instantiated templates are included
25895+	    # in the archive.
25896+	    _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
25897+	    ;;
25898+          gcx*)
25899+	    # Green Hills C++ Compiler
25900+	    _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
25901+
25902+	    # The C++ compiler must be used to create the archive.
25903+	    _LT_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
25904+	    ;;
25905+          *)
25906+	    # GNU C++ compiler with Solaris linker
25907+	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then
25908+	      _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
25909+	      if $CC --version | $GREP -v '^2\.7' > /dev/null; then
25910+	        _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
25911+	        _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
25912+		  $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
25913+
25914+	        # Commands to make compiler produce verbose output that lists
25915+	        # what "hidden" libraries, object files and flags are used when
25916+	        # linking a shared library.
25917+	        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
25918+	      else
25919+	        # g++ 2.7 appears to require `-G' NOT `-shared' on this
25920+	        # platform.
25921+	        _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
25922+	        _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
25923+		  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
25924+
25925+	        # Commands to make compiler produce verbose output that lists
25926+	        # what "hidden" libraries, object files and flags are used when
25927+	        # linking a shared library.
25928+	        output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
25929+	      fi
25930+
25931+	      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
25932+	      case $host_os in
25933+		solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
25934+		*)
25935+		  _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
25936+		  ;;
25937+	      esac
25938+	    fi
25939+	    ;;
25940+        esac
25941+        ;;
25942+
25943+    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
25944+      _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
25945+      _LT_TAGVAR(archive_cmds_need_lc, $1)=no
25946+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
25947+      runpath_var='LD_RUN_PATH'
25948+
25949+      case $cc_basename in
25950+        CC*)
25951+	  _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
25952+	  _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
25953+	  ;;
25954+	*)
25955+	  _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
25956+	  _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
25957+	  ;;
25958+      esac
25959+      ;;
25960+
25961+      sysv5* | sco3.2v5* | sco5v6*)
25962+	# Note: We can NOT use -z defs as we might desire, because we do not
25963+	# link with -lc, and that would cause any symbols used from libc to
25964+	# always be unresolved, which means just about no library would
25965+	# ever link correctly.  If we're not using GNU ld we use -z text
25966+	# though, which does catch some bad symbols but isn't as heavy-handed
25967+	# as -z defs.
25968+	_LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
25969+	_LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
25970+	_LT_TAGVAR(archive_cmds_need_lc, $1)=no
25971+	_LT_TAGVAR(hardcode_shlibpath_var, $1)=no
25972+	_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir'
25973+	_LT_TAGVAR(hardcode_libdir_separator, $1)=':'
25974+	_LT_TAGVAR(link_all_deplibs, $1)=yes
25975+	_LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
25976+	runpath_var='LD_RUN_PATH'
25977+
25978+	case $cc_basename in
25979+          CC*)
25980+	    _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
25981+	    _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
25982+	    ;;
25983+	  *)
25984+	    _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
25985+	    _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
25986+	    ;;
25987+	esac
25988+      ;;
25989+
25990+      tandem*)
25991+        case $cc_basename in
25992+          NCC*)
25993+	    # NonStop-UX NCC 3.20
25994+	    # FIXME: insert proper C++ library support
25995+	    _LT_TAGVAR(ld_shlibs, $1)=no
25996+	    ;;
25997+          *)
25998+	    # FIXME: insert proper C++ library support
25999+	    _LT_TAGVAR(ld_shlibs, $1)=no
26000+	    ;;
26001+        esac
26002+        ;;
26003+
26004+      vxworks*)
26005+        # FIXME: insert proper C++ library support
26006+        _LT_TAGVAR(ld_shlibs, $1)=no
26007+        ;;
26008+
26009+      *)
26010+        # FIXME: insert proper C++ library support
26011+        _LT_TAGVAR(ld_shlibs, $1)=no
26012+        ;;
26013+    esac
26014+
26015+    AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
26016+    test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
26017+
26018+    _LT_TAGVAR(GCC, $1)="$GXX"
26019+    _LT_TAGVAR(LD, $1)="$LD"
26020+
26021+    ## CAVEAT EMPTOR:
26022+    ## There is no encapsulation within the following macros, do not change
26023+    ## the running order or otherwise move them around unless you know exactly
26024+    ## what you are doing...
26025+    _LT_SYS_HIDDEN_LIBDEPS($1)
26026+    _LT_COMPILER_PIC($1)
26027+    _LT_COMPILER_C_O($1)
26028+    _LT_COMPILER_FILE_LOCKS($1)
26029+    _LT_LINKER_SHLIBS($1)
26030+    _LT_SYS_DYNAMIC_LINKER($1)
26031+    _LT_LINKER_HARDCODE_LIBPATH($1)
26032+
26033+    _LT_CONFIG($1)
26034+  fi # test -n "$compiler"
26035+
26036+  CC=$lt_save_CC
26037+  LDCXX=$LD
26038+  LD=$lt_save_LD
26039+  GCC=$lt_save_GCC
26040+  with_gnu_ld=$lt_save_with_gnu_ld
26041+  lt_cv_path_LDCXX=$lt_cv_path_LD
26042+  lt_cv_path_LD=$lt_save_path_LD
26043+  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
26044+  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
26045+fi # test "$_lt_caught_CXX_error" != yes
26046+
26047+AC_LANG_POP
26048+])# _LT_LANG_CXX_CONFIG
26049+
26050+
26051+# _LT_SYS_HIDDEN_LIBDEPS([TAGNAME])
26052+# ---------------------------------
26053+# Figure out "hidden" library dependencies from verbose
26054+# compiler output when linking a shared library.
26055+# Parse the compiler output and extract the necessary
26056+# objects, libraries and library flags.
26057+m4_defun([_LT_SYS_HIDDEN_LIBDEPS],
26058+[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
26059+# Dependencies to place before and after the object being linked:
26060+_LT_TAGVAR(predep_objects, $1)=
26061+_LT_TAGVAR(postdep_objects, $1)=
26062+_LT_TAGVAR(predeps, $1)=
26063+_LT_TAGVAR(postdeps, $1)=
26064+_LT_TAGVAR(compiler_lib_search_path, $1)=
26065+
26066+dnl we can't use the lt_simple_compile_test_code here,
26067+dnl because it contains code intended for an executable,
26068+dnl not a library.  It's possible we should let each
26069+dnl tag define a new lt_????_link_test_code variable,
26070+dnl but it's only used here...
26071+m4_if([$1], [], [cat > conftest.$ac_ext <<_LT_EOF
26072+int a;
26073+void foo (void) { a = 0; }
26074+_LT_EOF
26075+], [$1], [CXX], [cat > conftest.$ac_ext <<_LT_EOF
26076+class Foo
26077+{
26078+public:
26079+  Foo (void) { a = 0; }
26080+private:
26081+  int a;
26082+};
26083+_LT_EOF
26084+], [$1], [F77], [cat > conftest.$ac_ext <<_LT_EOF
26085+      subroutine foo
26086+      implicit none
26087+      integer*4 a
26088+      a=0
26089+      return
26090+      end
26091+_LT_EOF
26092+], [$1], [FC], [cat > conftest.$ac_ext <<_LT_EOF
26093+      subroutine foo
26094+      implicit none
26095+      integer a
26096+      a=0
26097+      return
26098+      end
26099+_LT_EOF
26100+], [$1], [GCJ], [cat > conftest.$ac_ext <<_LT_EOF
26101+public class foo {
26102+  private int a;
26103+  public void bar (void) {
26104+    a = 0;
26105+  }
26106+};
26107+_LT_EOF
26108+])
26109+dnl Parse the compiler output and extract the necessary
26110+dnl objects, libraries and library flags.
26111+if AC_TRY_EVAL(ac_compile); then
26112+  # Parse the compiler output and extract the necessary
26113+  # objects, libraries and library flags.
26114+
26115+  # Sentinel used to keep track of whether or not we are before
26116+  # the conftest object file.
26117+  pre_test_object_deps_done=no
26118+
26119+  for p in `eval "$output_verbose_link_cmd"`; do
26120+    case $p in
26121+
26122+    -L* | -R* | -l*)
26123+       # Some compilers place space between "-{L,R}" and the path.
26124+       # Remove the space.
26125+       if test $p = "-L" ||
26126+          test $p = "-R"; then
26127+	 prev=$p
26128+	 continue
26129+       else
26130+	 prev=
26131+       fi
26132+
26133+       if test "$pre_test_object_deps_done" = no; then
26134+	 case $p in
26135+	 -L* | -R*)
26136+	   # Internal compiler library paths should come after those
26137+	   # provided the user.  The postdeps already come after the
26138+	   # user supplied libs so there is no need to process them.
26139+	   if test -z "$_LT_TAGVAR(compiler_lib_search_path, $1)"; then
26140+	     _LT_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}"
26141+	   else
26142+	     _LT_TAGVAR(compiler_lib_search_path, $1)="${_LT_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"
26143+	   fi
26144+	   ;;
26145+	 # The "-l" case would never come before the object being
26146+	 # linked, so don't bother handling this case.
26147+	 esac
26148+       else
26149+	 if test -z "$_LT_TAGVAR(postdeps, $1)"; then
26150+	   _LT_TAGVAR(postdeps, $1)="${prev}${p}"
26151+	 else
26152+	   _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} ${prev}${p}"
26153+	 fi
26154+       fi
26155+       ;;
26156+
26157+    *.$objext)
26158+       # This assumes that the test object file only shows up
26159+       # once in the compiler output.
26160+       if test "$p" = "conftest.$objext"; then
26161+	 pre_test_object_deps_done=yes
26162+	 continue
26163+       fi
26164+
26165+       if test "$pre_test_object_deps_done" = no; then
26166+	 if test -z "$_LT_TAGVAR(predep_objects, $1)"; then
26167+	   _LT_TAGVAR(predep_objects, $1)="$p"
26168+	 else
26169+	   _LT_TAGVAR(predep_objects, $1)="$_LT_TAGVAR(predep_objects, $1) $p"
26170+	 fi
26171+       else
26172+	 if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then
26173+	   _LT_TAGVAR(postdep_objects, $1)="$p"
26174+	 else
26175+	   _LT_TAGVAR(postdep_objects, $1)="$_LT_TAGVAR(postdep_objects, $1) $p"
26176+	 fi
26177+       fi
26178+       ;;
26179+
26180+    *) ;; # Ignore the rest.
26181+
26182+    esac
26183+  done
26184+
26185+  # Clean up.
26186+  rm -f a.out a.exe
26187+else
26188+  echo "libtool.m4: error: problem compiling $1 test program"
26189+fi
26190+
26191+$RM -f confest.$objext
26192+
26193+# PORTME: override above test on systems where it is broken
26194+m4_if([$1], [CXX],
26195+[case $host_os in
26196+interix[[3-9]]*)
26197+  # Interix 3.5 installs completely hosed .la files for C++, so rather than
26198+  # hack all around it, let's just trust "g++" to DTRT.
26199+  _LT_TAGVAR(predep_objects,$1)=
26200+  _LT_TAGVAR(postdep_objects,$1)=
26201+  _LT_TAGVAR(postdeps,$1)=
26202+  ;;
26203+
26204+linux*)
26205+  case `$CC -V 2>&1 | sed 5q` in
26206+  *Sun\ C*)
26207+    # Sun C++ 5.9
26208+
26209+    # The more standards-conforming stlport4 library is
26210+    # incompatible with the Cstd library. Avoid specifying
26211+    # it if it's in CXXFLAGS. Ignore libCrun as
26212+    # -library=stlport4 depends on it.
26213+    case " $CXX $CXXFLAGS " in
26214+    *" -library=stlport4 "*)
26215+      solaris_use_stlport4=yes
26216+      ;;
26217+    esac
26218+
26219+    if test "$solaris_use_stlport4" != yes; then
26220+      _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
26221+    fi
26222+    ;;
26223+  esac
26224+  ;;
26225+
26226+solaris*)
26227+  case $cc_basename in
26228+  CC*)
26229+    # The more standards-conforming stlport4 library is
26230+    # incompatible with the Cstd library. Avoid specifying
26231+    # it if it's in CXXFLAGS. Ignore libCrun as
26232+    # -library=stlport4 depends on it.
26233+    case " $CXX $CXXFLAGS " in
26234+    *" -library=stlport4 "*)
26235+      solaris_use_stlport4=yes
26236+      ;;
26237+    esac
26238+
26239+    # Adding this requires a known-good setup of shared libraries for
26240+    # Sun compiler versions before 5.6, else PIC objects from an old
26241+    # archive will be linked into the output, leading to subtle bugs.
26242+    if test "$solaris_use_stlport4" != yes; then
26243+      _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
26244+    fi
26245+    ;;
26246+  esac
26247+  ;;
26248+esac
26249+])
26250+
26251+case " $_LT_TAGVAR(postdeps, $1) " in
26252+*" -lc "*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;;
26253+esac
26254+ _LT_TAGVAR(compiler_lib_search_dirs, $1)=
26255+if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then
26256+ _LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
26257+fi
26258+_LT_TAGDECL([], [compiler_lib_search_dirs], [1],
26259+    [The directories searched by this compiler when creating a shared library])
26260+_LT_TAGDECL([], [predep_objects], [1],
26261+    [Dependencies to place before and after the objects being linked to
26262+    create a shared library])
26263+_LT_TAGDECL([], [postdep_objects], [1])
26264+_LT_TAGDECL([], [predeps], [1])
26265+_LT_TAGDECL([], [postdeps], [1])
26266+_LT_TAGDECL([], [compiler_lib_search_path], [1],
26267+    [The library search path used internally by the compiler when linking
26268+    a shared library])
26269+])# _LT_SYS_HIDDEN_LIBDEPS
26270+
26271+
26272+# _LT_PROG_F77
26273+# ------------
26274+# Since AC_PROG_F77 is broken, in that it returns the empty string
26275+# if there is no fortran compiler, we have our own version here.
26276+m4_defun([_LT_PROG_F77],
26277+[
26278+pushdef([AC_MSG_ERROR], [_lt_disable_F77=yes])
26279+AC_PROG_F77
26280+if test -z "$F77" || test "X$F77" = "Xno"; then
26281+  _lt_disable_F77=yes
26282+fi
26283+popdef([AC_MSG_ERROR])
26284+])# _LT_PROG_F77
26285+
26286+dnl aclocal-1.4 backwards compatibility:
26287+dnl AC_DEFUN([_LT_PROG_F77], [])
26288+
26289+
26290+# _LT_LANG_F77_CONFIG([TAG])
26291+# --------------------------
26292+# Ensure that the configuration variables for a Fortran 77 compiler are
26293+# suitably defined.  These variables are subsequently used by _LT_CONFIG
26294+# to write the compiler configuration to `libtool'.
26295+m4_defun([_LT_LANG_F77_CONFIG],
26296+[AC_REQUIRE([_LT_PROG_F77])dnl
26297+AC_LANG_PUSH(Fortran 77)
26298+
26299+_LT_TAGVAR(archive_cmds_need_lc, $1)=no
26300+_LT_TAGVAR(allow_undefined_flag, $1)=
26301+_LT_TAGVAR(always_export_symbols, $1)=no
26302+_LT_TAGVAR(archive_expsym_cmds, $1)=
26303+_LT_TAGVAR(export_dynamic_flag_spec, $1)=
26304+_LT_TAGVAR(hardcode_direct, $1)=no
26305+_LT_TAGVAR(hardcode_direct_absolute, $1)=no
26306+_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
26307+_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
26308+_LT_TAGVAR(hardcode_libdir_separator, $1)=
26309+_LT_TAGVAR(hardcode_minus_L, $1)=no
26310+_LT_TAGVAR(hardcode_automatic, $1)=no
26311+_LT_TAGVAR(inherit_rpath, $1)=no
26312+_LT_TAGVAR(module_cmds, $1)=
26313+_LT_TAGVAR(module_expsym_cmds, $1)=
26314+_LT_TAGVAR(link_all_deplibs, $1)=unknown
26315+_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
26316+_LT_TAGVAR(no_undefined_flag, $1)=
26317+_LT_TAGVAR(whole_archive_flag_spec, $1)=
26318+_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
26319+
26320+# Source file extension for f77 test sources.
26321+ac_ext=f
26322+
26323+# Object file extension for compiled f77 test sources.
26324+objext=o
26325+_LT_TAGVAR(objext, $1)=$objext
26326+
26327+# No sense in running all these tests if we already determined that
26328+# the F77 compiler isn't working.  Some variables (like enable_shared)
26329+# are currently assumed to apply to all compilers on this platform,
26330+# and will be corrupted by setting them based on a non-working compiler.
26331+if test "$_lt_disable_F77" != yes; then
26332+  # Code to be used in simple compile tests
26333+  lt_simple_compile_test_code="\
26334+      subroutine t
26335+      return
26336+      end
26337+"
26338+
26339+  # Code to be used in simple link tests
26340+  lt_simple_link_test_code="\
26341+      program t
26342+      end
26343+"
26344+
26345+  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
26346+  _LT_TAG_COMPILER
26347+
26348+  # save warnings/boilerplate of simple test code
26349+  _LT_COMPILER_BOILERPLATE
26350+  _LT_LINKER_BOILERPLATE
26351+
26352+  # Allow CC to be a program name with arguments.
26353+  lt_save_CC="$CC"
26354+  lt_save_GCC=$GCC
26355+  CC=${F77-"f77"}
26356+  compiler=$CC
26357+  _LT_TAGVAR(compiler, $1)=$CC
26358+  _LT_CC_BASENAME([$compiler])
26359+  GCC=$G77
26360+  if test -n "$compiler"; then
26361+    AC_MSG_CHECKING([if libtool supports shared libraries])
26362+    AC_MSG_RESULT([$can_build_shared])
26363+
26364+    AC_MSG_CHECKING([whether to build shared libraries])
26365+    test "$can_build_shared" = "no" && enable_shared=no
26366+
26367+    # On AIX, shared libraries and static libraries use the same namespace, and
26368+    # are all built from PIC.
26369+    case $host_os in
26370+      aix3*)
26371+        test "$enable_shared" = yes && enable_static=no
26372+        if test -n "$RANLIB"; then
26373+          archive_cmds="$archive_cmds~\$RANLIB \$lib"
26374+          postinstall_cmds='$RANLIB $lib'
26375+        fi
26376+        ;;
26377+      aix[[4-9]]*)
26378+	if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
26379+	  test "$enable_shared" = yes && enable_static=no
26380+	fi
26381+        ;;
26382+    esac
26383+    AC_MSG_RESULT([$enable_shared])
26384+
26385+    AC_MSG_CHECKING([whether to build static libraries])
26386+    # Make sure either enable_shared or enable_static is yes.
26387+    test "$enable_shared" = yes || enable_static=yes
26388+    AC_MSG_RESULT([$enable_static])
26389+
26390+    _LT_TAGVAR(GCC, $1)="$G77"
26391+    _LT_TAGVAR(LD, $1)="$LD"
26392+
26393+    ## CAVEAT EMPTOR:
26394+    ## There is no encapsulation within the following macros, do not change
26395+    ## the running order or otherwise move them around unless you know exactly
26396+    ## what you are doing...
26397+    _LT_COMPILER_PIC($1)
26398+    _LT_COMPILER_C_O($1)
26399+    _LT_COMPILER_FILE_LOCKS($1)
26400+    _LT_LINKER_SHLIBS($1)
26401+    _LT_SYS_DYNAMIC_LINKER($1)
26402+    _LT_LINKER_HARDCODE_LIBPATH($1)
26403+
26404+    _LT_CONFIG($1)
26405+  fi # test -n "$compiler"
26406+
26407+  GCC=$lt_save_GCC
26408+  CC="$lt_save_CC"
26409+fi # test "$_lt_disable_F77" != yes
26410+
26411+AC_LANG_POP
26412+])# _LT_LANG_F77_CONFIG
26413+
26414+
26415+# _LT_PROG_FC
26416+# -----------
26417+# Since AC_PROG_FC is broken, in that it returns the empty string
26418+# if there is no fortran compiler, we have our own version here.
26419+m4_defun([_LT_PROG_FC],
26420+[
26421+pushdef([AC_MSG_ERROR], [_lt_disable_FC=yes])
26422+AC_PROG_FC
26423+if test -z "$FC" || test "X$FC" = "Xno"; then
26424+  _lt_disable_FC=yes
26425+fi
26426+popdef([AC_MSG_ERROR])
26427+])# _LT_PROG_FC
26428+
26429+dnl aclocal-1.4 backwards compatibility:
26430+dnl AC_DEFUN([_LT_PROG_FC], [])
26431+
26432+
26433+# _LT_LANG_FC_CONFIG([TAG])
26434+# -------------------------
26435+# Ensure that the configuration variables for a Fortran compiler are
26436+# suitably defined.  These variables are subsequently used by _LT_CONFIG
26437+# to write the compiler configuration to `libtool'.
26438+m4_defun([_LT_LANG_FC_CONFIG],
26439+[AC_REQUIRE([_LT_PROG_FC])dnl
26440+AC_LANG_PUSH(Fortran)
26441+
26442+_LT_TAGVAR(archive_cmds_need_lc, $1)=no
26443+_LT_TAGVAR(allow_undefined_flag, $1)=
26444+_LT_TAGVAR(always_export_symbols, $1)=no
26445+_LT_TAGVAR(archive_expsym_cmds, $1)=
26446+_LT_TAGVAR(export_dynamic_flag_spec, $1)=
26447+_LT_TAGVAR(hardcode_direct, $1)=no
26448+_LT_TAGVAR(hardcode_direct_absolute, $1)=no
26449+_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
26450+_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
26451+_LT_TAGVAR(hardcode_libdir_separator, $1)=
26452+_LT_TAGVAR(hardcode_minus_L, $1)=no
26453+_LT_TAGVAR(hardcode_automatic, $1)=no
26454+_LT_TAGVAR(inherit_rpath, $1)=no
26455+_LT_TAGVAR(module_cmds, $1)=
26456+_LT_TAGVAR(module_expsym_cmds, $1)=
26457+_LT_TAGVAR(link_all_deplibs, $1)=unknown
26458+_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
26459+_LT_TAGVAR(no_undefined_flag, $1)=
26460+_LT_TAGVAR(whole_archive_flag_spec, $1)=
26461+_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
26462+
26463+# Source file extension for fc test sources.
26464+ac_ext=${ac_fc_srcext-f}
26465+
26466+# Object file extension for compiled fc test sources.
26467+objext=o
26468+_LT_TAGVAR(objext, $1)=$objext
26469+
26470+# No sense in running all these tests if we already determined that
26471+# the FC compiler isn't working.  Some variables (like enable_shared)
26472+# are currently assumed to apply to all compilers on this platform,
26473+# and will be corrupted by setting them based on a non-working compiler.
26474+if test "$_lt_disable_FC" != yes; then
26475+  # Code to be used in simple compile tests
26476+  lt_simple_compile_test_code="\
26477+      subroutine t
26478+      return
26479+      end
26480+"
26481+
26482+  # Code to be used in simple link tests
26483+  lt_simple_link_test_code="\
26484+      program t
26485+      end
26486+"
26487+
26488+  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
26489+  _LT_TAG_COMPILER
26490+
26491+  # save warnings/boilerplate of simple test code
26492+  _LT_COMPILER_BOILERPLATE
26493+  _LT_LINKER_BOILERPLATE
26494+
26495+  # Allow CC to be a program name with arguments.
26496+  lt_save_CC="$CC"
26497+  lt_save_GCC=$GCC
26498+  CC=${FC-"f95"}
26499+  compiler=$CC
26500+  GCC=$ac_cv_fc_compiler_gnu
26501+
26502+  _LT_TAGVAR(compiler, $1)=$CC
26503+  _LT_CC_BASENAME([$compiler])
26504+
26505+  if test -n "$compiler"; then
26506+    AC_MSG_CHECKING([if libtool supports shared libraries])
26507+    AC_MSG_RESULT([$can_build_shared])
26508+
26509+    AC_MSG_CHECKING([whether to build shared libraries])
26510+    test "$can_build_shared" = "no" && enable_shared=no
26511+
26512+    # On AIX, shared libraries and static libraries use the same namespace, and
26513+    # are all built from PIC.
26514+    case $host_os in
26515+      aix3*)
26516+        test "$enable_shared" = yes && enable_static=no
26517+        if test -n "$RANLIB"; then
26518+          archive_cmds="$archive_cmds~\$RANLIB \$lib"
26519+          postinstall_cmds='$RANLIB $lib'
26520+        fi
26521+        ;;
26522+      aix[[4-9]]*)
26523+	if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
26524+	  test "$enable_shared" = yes && enable_static=no
26525+	fi
26526+        ;;
26527+    esac
26528+    AC_MSG_RESULT([$enable_shared])
26529+
26530+    AC_MSG_CHECKING([whether to build static libraries])
26531+    # Make sure either enable_shared or enable_static is yes.
26532+    test "$enable_shared" = yes || enable_static=yes
26533+    AC_MSG_RESULT([$enable_static])
26534+
26535+    _LT_TAGVAR(GCC, $1)="$ac_cv_fc_compiler_gnu"
26536+    _LT_TAGVAR(LD, $1)="$LD"
26537+
26538+    ## CAVEAT EMPTOR:
26539+    ## There is no encapsulation within the following macros, do not change
26540+    ## the running order or otherwise move them around unless you know exactly
26541+    ## what you are doing...
26542+    _LT_SYS_HIDDEN_LIBDEPS($1)
26543+    _LT_COMPILER_PIC($1)
26544+    _LT_COMPILER_C_O($1)
26545+    _LT_COMPILER_FILE_LOCKS($1)
26546+    _LT_LINKER_SHLIBS($1)
26547+    _LT_SYS_DYNAMIC_LINKER($1)
26548+    _LT_LINKER_HARDCODE_LIBPATH($1)
26549+
26550+    _LT_CONFIG($1)
26551+  fi # test -n "$compiler"
26552+
26553+  GCC=$lt_save_GCC
26554+  CC="$lt_save_CC"
26555+fi # test "$_lt_disable_FC" != yes
26556+
26557+AC_LANG_POP
26558+])# _LT_LANG_FC_CONFIG
26559+
26560+
26561+# _LT_LANG_GCJ_CONFIG([TAG])
26562+# --------------------------
26563+# Ensure that the configuration variables for the GNU Java Compiler compiler
26564+# are suitably defined.  These variables are subsequently used by _LT_CONFIG
26565+# to write the compiler configuration to `libtool'.
26566+m4_defun([_LT_LANG_GCJ_CONFIG],
26567+[AC_REQUIRE([LT_PROG_GCJ])dnl
26568+AC_LANG_SAVE
26569+
26570+# Source file extension for Java test sources.
26571+ac_ext=java
26572+
26573+# Object file extension for compiled Java test sources.
26574+objext=o
26575+_LT_TAGVAR(objext, $1)=$objext
26576+
26577+# Code to be used in simple compile tests
26578+lt_simple_compile_test_code="class foo {}"
26579+
26580+# Code to be used in simple link tests
26581+lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }'
26582+
26583+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
26584+_LT_TAG_COMPILER
26585+
26586+# save warnings/boilerplate of simple test code
26587+_LT_COMPILER_BOILERPLATE
26588+_LT_LINKER_BOILERPLATE
26589+
26590+# Allow CC to be a program name with arguments.
26591+lt_save_CC="$CC"
26592+lt_save_GCC=$GCC
26593+GCC=yes
26594+CC=${GCJ-"gcj"}
26595+compiler=$CC
26596+_LT_TAGVAR(compiler, $1)=$CC
26597+_LT_TAGVAR(LD, $1)="$LD"
26598+_LT_CC_BASENAME([$compiler])
26599+
26600+# GCJ did not exist at the time GCC didn't implicitly link libc in.
26601+_LT_TAGVAR(archive_cmds_need_lc, $1)=no
26602+
26603+_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
26604+
26605+## CAVEAT EMPTOR:
26606+## There is no encapsulation within the following macros, do not change
26607+## the running order or otherwise move them around unless you know exactly
26608+## what you are doing...
26609+if test -n "$compiler"; then
26610+  _LT_COMPILER_NO_RTTI($1)
26611+  _LT_COMPILER_PIC($1)
26612+  _LT_COMPILER_C_O($1)
26613+  _LT_COMPILER_FILE_LOCKS($1)
26614+  _LT_LINKER_SHLIBS($1)
26615+  _LT_LINKER_HARDCODE_LIBPATH($1)
26616+
26617+  _LT_CONFIG($1)
26618+fi
26619+
26620+AC_LANG_RESTORE
26621+
26622+GCC=$lt_save_GCC
26623+CC="$lt_save_CC"
26624+])# _LT_LANG_GCJ_CONFIG
26625+
26626+
26627+# _LT_LANG_RC_CONFIG([TAG])
26628+# -------------------------
26629+# Ensure that the configuration variables for the Windows resource compiler
26630+# are suitably defined.  These variables are subsequently used by _LT_CONFIG
26631+# to write the compiler configuration to `libtool'.
26632+m4_defun([_LT_LANG_RC_CONFIG],
26633+[AC_REQUIRE([LT_PROG_RC])dnl
26634+AC_LANG_SAVE
26635+
26636+# Source file extension for RC test sources.
26637+ac_ext=rc
26638+
26639+# Object file extension for compiled RC test sources.
26640+objext=o
26641+_LT_TAGVAR(objext, $1)=$objext
26642+
26643+# Code to be used in simple compile tests
26644+lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
26645+
26646+# Code to be used in simple link tests
26647+lt_simple_link_test_code="$lt_simple_compile_test_code"
26648+
26649+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
26650+_LT_TAG_COMPILER
26651+
26652+# save warnings/boilerplate of simple test code
26653+_LT_COMPILER_BOILERPLATE
26654+_LT_LINKER_BOILERPLATE
26655+
26656+# Allow CC to be a program name with arguments.
26657+lt_save_CC="$CC"
26658+lt_save_GCC=$GCC
26659+GCC=
26660+CC=${RC-"windres"}
26661+compiler=$CC
26662+_LT_TAGVAR(compiler, $1)=$CC
26663+_LT_CC_BASENAME([$compiler])
26664+_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
26665+
26666+if test -n "$compiler"; then
26667+  :
26668+  _LT_CONFIG($1)
26669+fi
26670+
26671+GCC=$lt_save_GCC
26672+AC_LANG_RESTORE
26673+CC="$lt_save_CC"
26674+])# _LT_LANG_RC_CONFIG
26675+
26676+
26677+# LT_PROG_GCJ
26678+# -----------
26679+AC_DEFUN([LT_PROG_GCJ],
26680+[m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ],
26681+  [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ],
26682+    [AC_CHECK_TOOL(GCJ, gcj,)
26683+      test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
26684+      AC_SUBST(GCJFLAGS)])])[]dnl
26685+])
26686+
26687+# Old name:
26688+AU_ALIAS([LT_AC_PROG_GCJ], [LT_PROG_GCJ])
26689+dnl aclocal-1.4 backwards compatibility:
26690+dnl AC_DEFUN([LT_AC_PROG_GCJ], [])
26691+
26692+
26693+# LT_PROG_RC
26694+# ----------
26695+AC_DEFUN([LT_PROG_RC],
26696+[AC_CHECK_TOOL(RC, windres,)
26697+])
26698+
26699+# Old name:
26700+AU_ALIAS([LT_AC_PROG_RC], [LT_PROG_RC])
26701+dnl aclocal-1.4 backwards compatibility:
26702+dnl AC_DEFUN([LT_AC_PROG_RC], [])
26703+
26704+
26705+# _LT_DECL_EGREP
26706+# --------------
26707+# If we don't have a new enough Autoconf to choose the best grep
26708+# available, choose the one first in the user's PATH.
26709+m4_defun([_LT_DECL_EGREP],
26710+[AC_REQUIRE([AC_PROG_EGREP])dnl
26711+AC_REQUIRE([AC_PROG_FGREP])dnl
26712+test -z "$GREP" && GREP=grep
26713+_LT_DECL([], [GREP], [1], [A grep program that handles long lines])
26714+_LT_DECL([], [EGREP], [1], [An ERE matcher])
26715+_LT_DECL([], [FGREP], [1], [A literal string matcher])
26716+dnl Non-bleeding-edge autoconf doesn't subst GREP, so do it here too
26717+AC_SUBST([GREP])
26718+])
26719+
26720+
26721+# _LT_DECL_OBJDUMP
26722+# --------------
26723+# If we don't have a new enough Autoconf to choose the best objdump
26724+# available, choose the one first in the user's PATH.
26725+m4_defun([_LT_DECL_OBJDUMP],
26726+[AC_CHECK_TOOL(OBJDUMP, objdump, false)
26727+test -z "$OBJDUMP" && OBJDUMP=objdump
26728+_LT_DECL([], [OBJDUMP], [1], [An object symbol dumper])
26729+AC_SUBST([OBJDUMP])
26730+])
26731+
26732+
26733+# _LT_DECL_SED
26734+# ------------
26735+# Check for a fully-functional sed program, that truncates
26736+# as few characters as possible.  Prefer GNU sed if found.
26737+m4_defun([_LT_DECL_SED],
26738+[AC_PROG_SED
26739+test -z "$SED" && SED=sed
26740+Xsed="$SED -e 1s/^X//"
26741+_LT_DECL([], [SED], [1], [A sed program that does not truncate output])
26742+_LT_DECL([], [Xsed], ["\$SED -e 1s/^X//"],
26743+    [Sed that helps us avoid accidentally triggering echo(1) options like -n])
26744+])# _LT_DECL_SED
26745+
26746+m4_ifndef([AC_PROG_SED], [
26747+############################################################
26748+# NOTE: This macro has been submitted for inclusion into   #
26749+#  GNU Autoconf as AC_PROG_SED.  When it is available in   #
26750+#  a released version of Autoconf we should remove this    #
26751+#  macro and use it instead.                               #
26752+############################################################
26753+
26754+m4_defun([AC_PROG_SED],
26755+[AC_MSG_CHECKING([for a sed that does not truncate output])
26756+AC_CACHE_VAL(lt_cv_path_SED,
26757+[# Loop through the user's path and test for sed and gsed.
26758+# Then use that list of sed's as ones to test for truncation.
26759+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26760+for as_dir in $PATH
26761+do
26762+  IFS=$as_save_IFS
26763+  test -z "$as_dir" && as_dir=.
26764+  for lt_ac_prog in sed gsed; do
26765+    for ac_exec_ext in '' $ac_executable_extensions; do
26766+      if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
26767+        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
26768+      fi
26769+    done
26770+  done
26771+done
26772+IFS=$as_save_IFS
26773+lt_ac_max=0
26774+lt_ac_count=0
26775+# Add /usr/xpg4/bin/sed as it is typically found on Solaris
26776+# along with /bin/sed that truncates output.
26777+for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
26778+  test ! -f $lt_ac_sed && continue
26779+  cat /dev/null > conftest.in
26780+  lt_ac_count=0
26781+  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
26782+  # Check for GNU sed and select it if it is found.
26783+  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
26784+    lt_cv_path_SED=$lt_ac_sed
26785+    break
26786+  fi
26787+  while true; do
26788+    cat conftest.in conftest.in >conftest.tmp
26789+    mv conftest.tmp conftest.in
26790+    cp conftest.in conftest.nl
26791+    echo >>conftest.nl
26792+    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
26793+    cmp -s conftest.out conftest.nl || break
26794+    # 10000 chars as input seems more than enough
26795+    test $lt_ac_count -gt 10 && break
26796+    lt_ac_count=`expr $lt_ac_count + 1`
26797+    if test $lt_ac_count -gt $lt_ac_max; then
26798+      lt_ac_max=$lt_ac_count
26799+      lt_cv_path_SED=$lt_ac_sed
26800+    fi
26801+  done
26802+done
26803+])
26804+SED=$lt_cv_path_SED
26805+AC_SUBST([SED])
26806+AC_MSG_RESULT([$SED])
26807+])#AC_PROG_SED
26808+])#m4_ifndef
26809+
26810+# Old name:
26811+AU_ALIAS([LT_AC_PROG_SED], [AC_PROG_SED])
26812+dnl aclocal-1.4 backwards compatibility:
26813+dnl AC_DEFUN([LT_AC_PROG_SED], [])
26814+
26815+
26816+# _LT_CHECK_SHELL_FEATURES
26817+# ------------------------
26818+# Find out whether the shell is Bourne or XSI compatible,
26819+# or has some other useful features.
26820+m4_defun([_LT_CHECK_SHELL_FEATURES],
26821+[AC_MSG_CHECKING([whether the shell understands some XSI constructs])
26822+# Try some XSI features
26823+xsi_shell=no
26824+( _lt_dummy="a/b/c"
26825+  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
26826+      = c,a/b,, \
26827+    && eval 'test $(( 1 + 1 )) -eq 2 \
26828+    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
26829+  && xsi_shell=yes
26830+AC_MSG_RESULT([$xsi_shell])
26831+_LT_CONFIG_LIBTOOL_INIT([xsi_shell='$xsi_shell'])
26832+
26833+AC_MSG_CHECKING([whether the shell understands "+="])
26834+lt_shell_append=no
26835+( foo=bar; set foo baz; eval "$[1]+=\$[2]" && test "$foo" = barbaz ) \
26836+    >/dev/null 2>&1 \
26837+  && lt_shell_append=yes
26838+AC_MSG_RESULT([$lt_shell_append])
26839+_LT_CONFIG_LIBTOOL_INIT([lt_shell_append='$lt_shell_append'])
26840+
26841+if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26842+  lt_unset=unset
26843+else
26844+  lt_unset=false
26845+fi
26846+_LT_DECL([], [lt_unset], [0], [whether the shell understands "unset"])dnl
26847+
26848+# test EBCDIC or ASCII
26849+case `echo X|tr X '\101'` in
26850+ A) # ASCII based system
26851+    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
26852+  lt_SP2NL='tr \040 \012'
26853+  lt_NL2SP='tr \015\012 \040\040'
26854+  ;;
26855+ *) # EBCDIC based system
26856+  lt_SP2NL='tr \100 \n'
26857+  lt_NL2SP='tr \r\n \100\100'
26858+  ;;
26859+esac
26860+_LT_DECL([SP2NL], [lt_SP2NL], [1], [turn spaces into newlines])dnl
26861+_LT_DECL([NL2SP], [lt_NL2SP], [1], [turn newlines into spaces])dnl
26862+])# _LT_CHECK_SHELL_FEATURES
26863+
26864+
26865+# _LT_PROG_XSI_SHELLFNS
26866+# ---------------------
26867+# Bourne and XSI compatible variants of some useful shell functions.
26868+m4_defun([_LT_PROG_XSI_SHELLFNS],
26869+[case $xsi_shell in
26870+  yes)
26871+    cat << \_LT_EOF >> "$cfgfile"
26872+
26873+# func_dirname file append nondir_replacement
26874+# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
26875+# otherwise set result to NONDIR_REPLACEMENT.
26876+func_dirname ()
26877+{
26878+  case ${1} in
26879+    */*) func_dirname_result="${1%/*}${2}" ;;
26880+    *  ) func_dirname_result="${3}" ;;
26881+  esac
26882+}
26883+
26884+# func_basename file
26885+func_basename ()
26886+{
26887+  func_basename_result="${1##*/}"
26888+}
26889+
26890+# func_dirname_and_basename file append nondir_replacement
26891+# perform func_basename and func_dirname in a single function
26892+# call:
26893+#   dirname:  Compute the dirname of FILE.  If nonempty,
26894+#             add APPEND to the result, otherwise set result
26895+#             to NONDIR_REPLACEMENT.
26896+#             value returned in "$func_dirname_result"
26897+#   basename: Compute filename of FILE.
26898+#             value retuned in "$func_basename_result"
26899+# Implementation must be kept synchronized with func_dirname
26900+# and func_basename. For efficiency, we do not delegate to
26901+# those functions but instead duplicate the functionality here.
26902+func_dirname_and_basename ()
26903+{
26904+  case ${1} in
26905+    */*) func_dirname_result="${1%/*}${2}" ;;
26906+    *  ) func_dirname_result="${3}" ;;
26907+  esac
26908+  func_basename_result="${1##*/}"
26909+}
26910+
26911+# func_stripname prefix suffix name
26912+# strip PREFIX and SUFFIX off of NAME.
26913+# PREFIX and SUFFIX must not contain globbing or regex special
26914+# characters, hashes, percent signs, but SUFFIX may contain a leading
26915+# dot (in which case that matches only a dot).
26916+func_stripname ()
26917+{
26918+  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
26919+  # positional parameters, so assign one to ordinary parameter first.
26920+  func_stripname_result=${3}
26921+  func_stripname_result=${func_stripname_result#"${1}"}
26922+  func_stripname_result=${func_stripname_result%"${2}"}
26923+}
26924+
26925+# func_opt_split
26926+func_opt_split ()
26927+{
26928+  func_opt_split_opt=${1%%=*}
26929+  func_opt_split_arg=${1#*=}
26930+}
26931+
26932+# func_lo2o object
26933+func_lo2o ()
26934+{
26935+  case ${1} in
26936+    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
26937+    *)    func_lo2o_result=${1} ;;
26938+  esac
26939+}
26940+
26941+# func_xform libobj-or-source
26942+func_xform ()
26943+{
26944+  func_xform_result=${1%.*}.lo
26945+}
26946+
26947+# func_arith arithmetic-term...
26948+func_arith ()
26949+{
26950+  func_arith_result=$(( $[*] ))
26951+}
26952+
26953+# func_len string
26954+# STRING may not start with a hyphen.
26955+func_len ()
26956+{
26957+  func_len_result=${#1}
26958+}
26959+
26960+_LT_EOF
26961+    ;;
26962+  *) # Bourne compatible functions.
26963+    cat << \_LT_EOF >> "$cfgfile"
26964+
26965+# func_dirname file append nondir_replacement
26966+# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
26967+# otherwise set result to NONDIR_REPLACEMENT.
26968+func_dirname ()
26969+{
26970+  # Extract subdirectory from the argument.
26971+  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
26972+  if test "X$func_dirname_result" = "X${1}"; then
26973+    func_dirname_result="${3}"
26974+  else
26975+    func_dirname_result="$func_dirname_result${2}"
26976+  fi
26977+}
26978+
26979+# func_basename file
26980+func_basename ()
26981+{
26982+  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
26983+}
26984+
26985+dnl func_dirname_and_basename
26986+dnl A portable version of this function is already defined in general.m4sh
26987+dnl so there is no need for it here.
26988+
26989+# func_stripname prefix suffix name
26990+# strip PREFIX and SUFFIX off of NAME.
26991+# PREFIX and SUFFIX must not contain globbing or regex special
26992+# characters, hashes, percent signs, but SUFFIX may contain a leading
26993+# dot (in which case that matches only a dot).
26994+# func_strip_suffix prefix name
26995+func_stripname ()
26996+{
26997+  case ${2} in
26998+    .*) func_stripname_result=`$ECHO "X${3}" \
26999+           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
27000+    *)  func_stripname_result=`$ECHO "X${3}" \
27001+           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
27002+  esac
27003+}
27004+
27005+# sed scripts:
27006+my_sed_long_opt='1s/^\(-[[^=]]*\)=.*/\1/;q'
27007+my_sed_long_arg='1s/^-[[^=]]*=//'
27008+
27009+# func_opt_split
27010+func_opt_split ()
27011+{
27012+  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
27013+  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
27014+}
27015+
27016+# func_lo2o object
27017+func_lo2o ()
27018+{
27019+  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
27020+}
27021+
27022+# func_xform libobj-or-source
27023+func_xform ()
27024+{
27025+  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[[^.]]*$/.lo/'`
27026+}
27027+
27028+# func_arith arithmetic-term...
27029+func_arith ()
27030+{
27031+  func_arith_result=`expr "$[@]"`
27032+}
27033+
27034+# func_len string
27035+# STRING may not start with a hyphen.
27036+func_len ()
27037+{
27038+  func_len_result=`expr "$[1]" : ".*" 2>/dev/null || echo $max_cmd_len`
27039+}
27040+
27041+_LT_EOF
27042+esac
27043+
27044+case $lt_shell_append in
27045+  yes)
27046+    cat << \_LT_EOF >> "$cfgfile"
27047+
27048+# func_append var value
27049+# Append VALUE to the end of shell variable VAR.
27050+func_append ()
27051+{
27052+  eval "$[1]+=\$[2]"
27053+}
27054+_LT_EOF
27055+    ;;
27056+  *)
27057+    cat << \_LT_EOF >> "$cfgfile"
27058+
27059+# func_append var value
27060+# Append VALUE to the end of shell variable VAR.
27061+func_append ()
27062+{
27063+  eval "$[1]=\$$[1]\$[2]"
27064+}
27065+
27066+_LT_EOF
27067+    ;;
27068+  esac
27069+])
27070diff -urwN nxproxy-orig/conf/m4/lt~obsolete.m4 nxproxy/conf/m4/lt~obsolete.m4
27071--- nxproxy-orig/conf/m4/lt~obsolete.m4	1970-01-01 01:00:00.000000000 +0100
27072+++ nxproxy/conf/m4/lt~obsolete.m4	2009-10-10 13:57:48.951580913 +0200
27073@@ -0,0 +1,92 @@
27074+# lt~obsolete.m4 -- aclocal satisfying obsolete definitions.    -*-Autoconf-*-
27075+#
27076+#   Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc.
27077+#   Written by Scott James Remnant, 2004.
27078+#
27079+# This file is free software; the Free Software Foundation gives
27080+# unlimited permission to copy and/or distribute it, with or without
27081+# modifications, as long as this notice is preserved.
27082+
27083+# serial 4 lt~obsolete.m4
27084+
27085+# These exist entirely to fool aclocal when bootstrapping libtool.
27086+#
27087+# In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN)
27088+# which have later been changed to m4_define as they aren't part of the
27089+# exported API, or moved to Autoconf or Automake where they belong.
27090+#
27091+# The trouble is, aclocal is a bit thick.  It'll see the old AC_DEFUN
27092+# in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us
27093+# using a macro with the same name in our local m4/libtool.m4 it'll
27094+# pull the old libtool.m4 in (it doesn't see our shiny new m4_define
27095+# and doesn't know about Autoconf macros at all.)
27096+#
27097+# So we provide this file, which has a silly filename so it's always
27098+# included after everything else.  This provides aclocal with the
27099+# AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything
27100+# because those macros already exist, or will be overwritten later.
27101+# We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6.
27102+#
27103+# Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here.
27104+# Yes, that means every name once taken will need to remain here until
27105+# we give up compatibility with versions before 1.7, at which point
27106+# we need to keep only those names which we still refer to.
27107+
27108+# This is to help aclocal find these macros, as it can't see m4_define.
27109+AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])
27110+
27111+m4_ifndef([AC_LIBTOOL_LINKER_OPTION],	[AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])])
27112+m4_ifndef([AC_PROG_EGREP],		[AC_DEFUN([AC_PROG_EGREP])])
27113+m4_ifndef([_LT_AC_PROG_ECHO_BACKSLASH],	[AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])])
27114+m4_ifndef([_LT_AC_SHELL_INIT],		[AC_DEFUN([_LT_AC_SHELL_INIT])])
27115+m4_ifndef([_LT_AC_SYS_LIBPATH_AIX],	[AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])])
27116+m4_ifndef([_LT_PROG_LTMAIN],		[AC_DEFUN([_LT_PROG_LTMAIN])])
27117+m4_ifndef([_LT_AC_TAGVAR],		[AC_DEFUN([_LT_AC_TAGVAR])])
27118+m4_ifndef([AC_LTDL_ENABLE_INSTALL],	[AC_DEFUN([AC_LTDL_ENABLE_INSTALL])])
27119+m4_ifndef([AC_LTDL_PREOPEN],		[AC_DEFUN([AC_LTDL_PREOPEN])])
27120+m4_ifndef([_LT_AC_SYS_COMPILER],	[AC_DEFUN([_LT_AC_SYS_COMPILER])])
27121+m4_ifndef([_LT_AC_LOCK],		[AC_DEFUN([_LT_AC_LOCK])])
27122+m4_ifndef([AC_LIBTOOL_SYS_OLD_ARCHIVE],	[AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])])
27123+m4_ifndef([_LT_AC_TRY_DLOPEN_SELF],	[AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])])
27124+m4_ifndef([AC_LIBTOOL_PROG_CC_C_O],	[AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])])
27125+m4_ifndef([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])])
27126+m4_ifndef([AC_LIBTOOL_OBJDIR],		[AC_DEFUN([AC_LIBTOOL_OBJDIR])])
27127+m4_ifndef([AC_LTDL_OBJDIR],		[AC_DEFUN([AC_LTDL_OBJDIR])])
27128+m4_ifndef([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])])
27129+m4_ifndef([AC_LIBTOOL_SYS_LIB_STRIP],	[AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])])
27130+m4_ifndef([AC_PATH_MAGIC],		[AC_DEFUN([AC_PATH_MAGIC])])
27131+m4_ifndef([AC_PROG_LD_GNU],		[AC_DEFUN([AC_PROG_LD_GNU])])
27132+m4_ifndef([AC_PROG_LD_RELOAD_FLAG],	[AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])])
27133+m4_ifndef([AC_DEPLIBS_CHECK_METHOD],	[AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])])
27134+m4_ifndef([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])])
27135+m4_ifndef([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])])
27136+m4_ifndef([AC_LIBTOOL_PROG_COMPILER_PIC], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])])
27137+m4_ifndef([AC_LIBTOOL_PROG_LD_SHLIBS],	[AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])])
27138+m4_ifndef([AC_LIBTOOL_POSTDEP_PREDEP],	[AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])])
27139+m4_ifndef([LT_AC_PROG_EGREP],		[AC_DEFUN([LT_AC_PROG_EGREP])])
27140+m4_ifndef([LT_AC_PROG_SED],		[AC_DEFUN([LT_AC_PROG_SED])])
27141+m4_ifndef([_LT_CC_BASENAME],		[AC_DEFUN([_LT_CC_BASENAME])])
27142+m4_ifndef([_LT_COMPILER_BOILERPLATE],	[AC_DEFUN([_LT_COMPILER_BOILERPLATE])])
27143+m4_ifndef([_LT_LINKER_BOILERPLATE],	[AC_DEFUN([_LT_LINKER_BOILERPLATE])])
27144+m4_ifndef([_AC_PROG_LIBTOOL],		[AC_DEFUN([_AC_PROG_LIBTOOL])])
27145+m4_ifndef([AC_LIBTOOL_SETUP],		[AC_DEFUN([AC_LIBTOOL_SETUP])])
27146+m4_ifndef([_LT_AC_CHECK_DLFCN],		[AC_DEFUN([_LT_AC_CHECK_DLFCN])])
27147+m4_ifndef([AC_LIBTOOL_SYS_DYNAMIC_LINKER],	[AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])])
27148+m4_ifndef([_LT_AC_TAGCONFIG],		[AC_DEFUN([_LT_AC_TAGCONFIG])])
27149+m4_ifndef([AC_DISABLE_FAST_INSTALL],	[AC_DEFUN([AC_DISABLE_FAST_INSTALL])])
27150+m4_ifndef([_LT_AC_LANG_CXX],		[AC_DEFUN([_LT_AC_LANG_CXX])])
27151+m4_ifndef([_LT_AC_LANG_F77],		[AC_DEFUN([_LT_AC_LANG_F77])])
27152+m4_ifndef([_LT_AC_LANG_GCJ],		[AC_DEFUN([_LT_AC_LANG_GCJ])])
27153+m4_ifndef([AC_LIBTOOL_RC],		[AC_DEFUN([AC_LIBTOOL_RC])])
27154+m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG],	[AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])])
27155+m4_ifndef([_LT_AC_LANG_C_CONFIG],	[AC_DEFUN([_LT_AC_LANG_C_CONFIG])])
27156+m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG],	[AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])])
27157+m4_ifndef([_LT_AC_LANG_CXX_CONFIG],	[AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])])
27158+m4_ifndef([AC_LIBTOOL_LANG_F77_CONFIG],	[AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])])
27159+m4_ifndef([_LT_AC_LANG_F77_CONFIG],	[AC_DEFUN([_LT_AC_LANG_F77_CONFIG])])
27160+m4_ifndef([AC_LIBTOOL_LANG_GCJ_CONFIG],	[AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])])
27161+m4_ifndef([_LT_AC_LANG_GCJ_CONFIG],	[AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])])
27162+m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG],	[AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])])
27163+m4_ifndef([_LT_AC_LANG_RC_CONFIG],	[AC_DEFUN([_LT_AC_LANG_RC_CONFIG])])
27164+m4_ifndef([AC_LIBTOOL_CONFIG],		[AC_DEFUN([AC_LIBTOOL_CONFIG])])
27165+m4_ifndef([_LT_AC_FILE_LTDLL_C],	[AC_DEFUN([_LT_AC_FILE_LTDLL_C])])
27166diff -urwN nxproxy-orig/conf/m4/ltoptions.m4 nxproxy/conf/m4/ltoptions.m4
27167--- nxproxy-orig/conf/m4/ltoptions.m4	1970-01-01 01:00:00.000000000 +0100
27168+++ nxproxy/conf/m4/ltoptions.m4	2009-10-10 13:57:48.827596266 +0200
27169@@ -0,0 +1,368 @@
27170+# Helper functions for option handling.                    -*- Autoconf -*-
27171+#
27172+#   Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
27173+#   Written by Gary V. Vaughan, 2004
27174+#
27175+# This file is free software; the Free Software Foundation gives
27176+# unlimited permission to copy and/or distribute it, with or without
27177+# modifications, as long as this notice is preserved.
27178+
27179+# serial 6 ltoptions.m4
27180+
27181+# This is to help aclocal find these macros, as it can't see m4_define.
27182+AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
27183+
27184+
27185+# _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME)
27186+# ------------------------------------------
27187+m4_define([_LT_MANGLE_OPTION],
27188+[[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])])
27189+
27190+
27191+# _LT_SET_OPTION(MACRO-NAME, OPTION-NAME)
27192+# ---------------------------------------
27193+# Set option OPTION-NAME for macro MACRO-NAME, and if there is a
27194+# matching handler defined, dispatch to it.  Other OPTION-NAMEs are
27195+# saved as a flag.
27196+m4_define([_LT_SET_OPTION],
27197+[m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl
27198+m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]),
27199+        _LT_MANGLE_DEFUN([$1], [$2]),
27200+    [m4_warning([Unknown $1 option `$2'])])[]dnl
27201+])
27202+
27203+
27204+# _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET])
27205+# ------------------------------------------------------------
27206+# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
27207+m4_define([_LT_IF_OPTION],
27208+[m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])])
27209+
27210+
27211+# _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET)
27212+# -------------------------------------------------------
27213+# Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME
27214+# are set.
27215+m4_define([_LT_UNLESS_OPTIONS],
27216+[m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
27217+	    [m4_ifdef(_LT_MANGLE_OPTION([$1], _LT_Option),
27218+		      [m4_define([$0_found])])])[]dnl
27219+m4_ifdef([$0_found], [m4_undefine([$0_found])], [$3
27220+])[]dnl
27221+])
27222+
27223+
27224+# _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST)
27225+# ----------------------------------------
27226+# OPTION-LIST is a space-separated list of Libtool options associated
27227+# with MACRO-NAME.  If any OPTION has a matching handler declared with
27228+# LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about
27229+# the unknown option and exit.
27230+m4_defun([_LT_SET_OPTIONS],
27231+[# Set options
27232+m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
27233+    [_LT_SET_OPTION([$1], _LT_Option)])
27234+
27235+m4_if([$1],[LT_INIT],[
27236+  dnl
27237+  dnl Simply set some default values (i.e off) if boolean options were not
27238+  dnl specified:
27239+  _LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no
27240+  ])
27241+  _LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no
27242+  ])
27243+  dnl
27244+  dnl If no reference was made to various pairs of opposing options, then
27245+  dnl we run the default mode handler for the pair.  For example, if neither
27246+  dnl `shared' nor `disable-shared' was passed, we enable building of shared
27247+  dnl archives by default:
27248+  _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED])
27249+  _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC])
27250+  _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC])
27251+  _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install],
27252+  		   [_LT_ENABLE_FAST_INSTALL])
27253+  ])
27254+])# _LT_SET_OPTIONS
27255+
27256+
27257+## --------------------------------- ##
27258+## Macros to handle LT_INIT options. ##
27259+## --------------------------------- ##
27260+
27261+# _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME)
27262+# -----------------------------------------
27263+m4_define([_LT_MANGLE_DEFUN],
27264+[[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])])
27265+
27266+
27267+# LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE)
27268+# -----------------------------------------------
27269+m4_define([LT_OPTION_DEFINE],
27270+[m4_define(_LT_MANGLE_DEFUN([$1], [$2]), [$3])[]dnl
27271+])# LT_OPTION_DEFINE
27272+
27273+
27274+# dlopen
27275+# ------
27276+LT_OPTION_DEFINE([LT_INIT], [dlopen], [enable_dlopen=yes
27277+])
27278+
27279+AU_DEFUN([AC_LIBTOOL_DLOPEN],
27280+[_LT_SET_OPTION([LT_INIT], [dlopen])
27281+AC_DIAGNOSE([obsolete],
27282+[$0: Remove this warning and the call to _LT_SET_OPTION when you
27283+put the `dlopen' option into LT_INIT's first parameter.])
27284+])
27285+
27286+dnl aclocal-1.4 backwards compatibility:
27287+dnl AC_DEFUN([AC_LIBTOOL_DLOPEN], [])
27288+
27289+
27290+# win32-dll
27291+# ---------
27292+# Declare package support for building win32 dll's.
27293+LT_OPTION_DEFINE([LT_INIT], [win32-dll],
27294+[enable_win32_dll=yes
27295+
27296+case $host in
27297+*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
27298+  AC_CHECK_TOOL(AS, as, false)
27299+  AC_CHECK_TOOL(DLLTOOL, dlltool, false)
27300+  AC_CHECK_TOOL(OBJDUMP, objdump, false)
27301+  ;;
27302+esac
27303+
27304+test -z "$AS" && AS=as
27305+_LT_DECL([], [AS],      [0], [Assembler program])dnl
27306+
27307+test -z "$DLLTOOL" && DLLTOOL=dlltool
27308+_LT_DECL([], [DLLTOOL], [0], [DLL creation program])dnl
27309+
27310+test -z "$OBJDUMP" && OBJDUMP=objdump
27311+_LT_DECL([], [OBJDUMP], [0], [Object dumper program])dnl
27312+])# win32-dll
27313+
27314+AU_DEFUN([AC_LIBTOOL_WIN32_DLL],
27315+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
27316+_LT_SET_OPTION([LT_INIT], [win32-dll])
27317+AC_DIAGNOSE([obsolete],
27318+[$0: Remove this warning and the call to _LT_SET_OPTION when you
27319+put the `win32-dll' option into LT_INIT's first parameter.])
27320+])
27321+
27322+dnl aclocal-1.4 backwards compatibility:
27323+dnl AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [])
27324+
27325+
27326+# _LT_ENABLE_SHARED([DEFAULT])
27327+# ----------------------------
27328+# implement the --enable-shared flag, and supports the `shared' and
27329+# `disable-shared' LT_INIT options.
27330+# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
27331+m4_define([_LT_ENABLE_SHARED],
27332+[m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl
27333+AC_ARG_ENABLE([shared],
27334+    [AS_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
27335+	[build shared libraries @<:@default=]_LT_ENABLE_SHARED_DEFAULT[@:>@])],
27336+    [p=${PACKAGE-default}
27337+    case $enableval in
27338+    yes) enable_shared=yes ;;
27339+    no) enable_shared=no ;;
27340+    *)
27341+      enable_shared=no
27342+      # Look at the argument we got.  We use all the common list separators.
27343+      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
27344+      for pkg in $enableval; do
27345+	IFS="$lt_save_ifs"
27346+	if test "X$pkg" = "X$p"; then
27347+	  enable_shared=yes
27348+	fi
27349+      done
27350+      IFS="$lt_save_ifs"
27351+      ;;
27352+    esac],
27353+    [enable_shared=]_LT_ENABLE_SHARED_DEFAULT)
27354+
27355+    _LT_DECL([build_libtool_libs], [enable_shared], [0],
27356+	[Whether or not to build shared libraries])
27357+])# _LT_ENABLE_SHARED
27358+
27359+LT_OPTION_DEFINE([LT_INIT], [shared], [_LT_ENABLE_SHARED([yes])])
27360+LT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])])
27361+
27362+# Old names:
27363+AC_DEFUN([AC_ENABLE_SHARED],
27364+[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared])
27365+])
27366+
27367+AC_DEFUN([AC_DISABLE_SHARED],
27368+[_LT_SET_OPTION([LT_INIT], [disable-shared])
27369+])
27370+
27371+AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
27372+AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
27373+
27374+dnl aclocal-1.4 backwards compatibility:
27375+dnl AC_DEFUN([AM_ENABLE_SHARED], [])
27376+dnl AC_DEFUN([AM_DISABLE_SHARED], [])
27377+
27378+
27379+
27380+# _LT_ENABLE_STATIC([DEFAULT])
27381+# ----------------------------
27382+# implement the --enable-static flag, and support the `static' and
27383+# `disable-static' LT_INIT options.
27384+# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
27385+m4_define([_LT_ENABLE_STATIC],
27386+[m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl
27387+AC_ARG_ENABLE([static],
27388+    [AS_HELP_STRING([--enable-static@<:@=PKGS@:>@],
27389+	[build static libraries @<:@default=]_LT_ENABLE_STATIC_DEFAULT[@:>@])],
27390+    [p=${PACKAGE-default}
27391+    case $enableval in
27392+    yes) enable_static=yes ;;
27393+    no) enable_static=no ;;
27394+    *)
27395+     enable_static=no
27396+      # Look at the argument we got.  We use all the common list separators.
27397+      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
27398+      for pkg in $enableval; do
27399+	IFS="$lt_save_ifs"
27400+	if test "X$pkg" = "X$p"; then
27401+	  enable_static=yes
27402+	fi
27403+      done
27404+      IFS="$lt_save_ifs"
27405+      ;;
27406+    esac],
27407+    [enable_static=]_LT_ENABLE_STATIC_DEFAULT)
27408+
27409+    _LT_DECL([build_old_libs], [enable_static], [0],
27410+	[Whether or not to build static libraries])
27411+])# _LT_ENABLE_STATIC
27412+
27413+LT_OPTION_DEFINE([LT_INIT], [static], [_LT_ENABLE_STATIC([yes])])
27414+LT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])])
27415+
27416+# Old names:
27417+AC_DEFUN([AC_ENABLE_STATIC],
27418+[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static])
27419+])
27420+
27421+AC_DEFUN([AC_DISABLE_STATIC],
27422+[_LT_SET_OPTION([LT_INIT], [disable-static])
27423+])
27424+
27425+AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
27426+AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
27427+
27428+dnl aclocal-1.4 backwards compatibility:
27429+dnl AC_DEFUN([AM_ENABLE_STATIC], [])
27430+dnl AC_DEFUN([AM_DISABLE_STATIC], [])
27431+
27432+
27433+
27434+# _LT_ENABLE_FAST_INSTALL([DEFAULT])
27435+# ----------------------------------
27436+# implement the --enable-fast-install flag, and support the `fast-install'
27437+# and `disable-fast-install' LT_INIT options.
27438+# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
27439+m4_define([_LT_ENABLE_FAST_INSTALL],
27440+[m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl
27441+AC_ARG_ENABLE([fast-install],
27442+    [AS_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
27443+    [optimize for fast installation @<:@default=]_LT_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
27444+    [p=${PACKAGE-default}
27445+    case $enableval in
27446+    yes) enable_fast_install=yes ;;
27447+    no) enable_fast_install=no ;;
27448+    *)
27449+      enable_fast_install=no
27450+      # Look at the argument we got.  We use all the common list separators.
27451+      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
27452+      for pkg in $enableval; do
27453+	IFS="$lt_save_ifs"
27454+	if test "X$pkg" = "X$p"; then
27455+	  enable_fast_install=yes
27456+	fi
27457+      done
27458+      IFS="$lt_save_ifs"
27459+      ;;
27460+    esac],
27461+    [enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT)
27462+
27463+_LT_DECL([fast_install], [enable_fast_install], [0],
27464+	 [Whether or not to optimize for fast installation])dnl
27465+])# _LT_ENABLE_FAST_INSTALL
27466+
27467+LT_OPTION_DEFINE([LT_INIT], [fast-install], [_LT_ENABLE_FAST_INSTALL([yes])])
27468+LT_OPTION_DEFINE([LT_INIT], [disable-fast-install], [_LT_ENABLE_FAST_INSTALL([no])])
27469+
27470+# Old names:
27471+AU_DEFUN([AC_ENABLE_FAST_INSTALL],
27472+[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
27473+AC_DIAGNOSE([obsolete],
27474+[$0: Remove this warning and the call to _LT_SET_OPTION when you put
27475+the `fast-install' option into LT_INIT's first parameter.])
27476+])
27477+
27478+AU_DEFUN([AC_DISABLE_FAST_INSTALL],
27479+[_LT_SET_OPTION([LT_INIT], [disable-fast-install])
27480+AC_DIAGNOSE([obsolete],
27481+[$0: Remove this warning and the call to _LT_SET_OPTION when you put
27482+the `disable-fast-install' option into LT_INIT's first parameter.])
27483+])
27484+
27485+dnl aclocal-1.4 backwards compatibility:
27486+dnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], [])
27487+dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], [])
27488+
27489+
27490+# _LT_WITH_PIC([MODE])
27491+# --------------------
27492+# implement the --with-pic flag, and support the `pic-only' and `no-pic'
27493+# LT_INIT options.
27494+# MODE is either `yes' or `no'.  If omitted, it defaults to `both'.
27495+m4_define([_LT_WITH_PIC],
27496+[AC_ARG_WITH([pic],
27497+    [AS_HELP_STRING([--with-pic],
27498+	[try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
27499+    [pic_mode="$withval"],
27500+    [pic_mode=default])
27501+
27502+test -z "$pic_mode" && pic_mode=m4_default([$1], [default])
27503+
27504+_LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl
27505+])# _LT_WITH_PIC
27506+
27507+LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])])
27508+LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])])
27509+
27510+# Old name:
27511+AU_DEFUN([AC_LIBTOOL_PICMODE],
27512+[_LT_SET_OPTION([LT_INIT], [pic-only])
27513+AC_DIAGNOSE([obsolete],
27514+[$0: Remove this warning and the call to _LT_SET_OPTION when you
27515+put the `pic-only' option into LT_INIT's first parameter.])
27516+])
27517+
27518+dnl aclocal-1.4 backwards compatibility:
27519+dnl AC_DEFUN([AC_LIBTOOL_PICMODE], [])
27520+
27521+## ----------------- ##
27522+## LTDL_INIT Options ##
27523+## ----------------- ##
27524+
27525+m4_define([_LTDL_MODE], [])
27526+LT_OPTION_DEFINE([LTDL_INIT], [nonrecursive],
27527+		 [m4_define([_LTDL_MODE], [nonrecursive])])
27528+LT_OPTION_DEFINE([LTDL_INIT], [recursive],
27529+		 [m4_define([_LTDL_MODE], [recursive])])
27530+LT_OPTION_DEFINE([LTDL_INIT], [subproject],
27531+		 [m4_define([_LTDL_MODE], [subproject])])
27532+
27533+m4_define([_LTDL_TYPE], [])
27534+LT_OPTION_DEFINE([LTDL_INIT], [installable],
27535+		 [m4_define([_LTDL_TYPE], [installable])])
27536+LT_OPTION_DEFINE([LTDL_INIT], [convenience],
27537+		 [m4_define([_LTDL_TYPE], [convenience])])
27538diff -urwN nxproxy-orig/conf/m4/ltsugar.m4 nxproxy/conf/m4/ltsugar.m4
27539--- nxproxy-orig/conf/m4/ltsugar.m4	1970-01-01 01:00:00.000000000 +0100
27540+++ nxproxy/conf/m4/ltsugar.m4	2009-10-10 13:57:48.866597113 +0200
27541@@ -0,0 +1,123 @@
27542+# ltsugar.m4 -- libtool m4 base layer.                         -*-Autoconf-*-
27543+#
27544+# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
27545+# Written by Gary V. Vaughan, 2004
27546+#
27547+# This file is free software; the Free Software Foundation gives
27548+# unlimited permission to copy and/or distribute it, with or without
27549+# modifications, as long as this notice is preserved.
27550+
27551+# serial 6 ltsugar.m4
27552+
27553+# This is to help aclocal find these macros, as it can't see m4_define.
27554+AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])])
27555+
27556+
27557+# lt_join(SEP, ARG1, [ARG2...])
27558+# -----------------------------
27559+# Produce ARG1SEPARG2...SEPARGn, omitting [] arguments and their
27560+# associated separator.
27561+# Needed until we can rely on m4_join from Autoconf 2.62, since all earlier
27562+# versions in m4sugar had bugs.
27563+m4_define([lt_join],
27564+[m4_if([$#], [1], [],
27565+       [$#], [2], [[$2]],
27566+       [m4_if([$2], [], [], [[$2]_])$0([$1], m4_shift(m4_shift($@)))])])
27567+m4_define([_lt_join],
27568+[m4_if([$#$2], [2], [],
27569+       [m4_if([$2], [], [], [[$1$2]])$0([$1], m4_shift(m4_shift($@)))])])
27570+
27571+
27572+# lt_car(LIST)
27573+# lt_cdr(LIST)
27574+# ------------
27575+# Manipulate m4 lists.
27576+# These macros are necessary as long as will still need to support
27577+# Autoconf-2.59 which quotes differently.
27578+m4_define([lt_car], [[$1]])
27579+m4_define([lt_cdr],
27580+[m4_if([$#], 0, [m4_fatal([$0: cannot be called without arguments])],
27581+       [$#], 1, [],
27582+       [m4_dquote(m4_shift($@))])])
27583+m4_define([lt_unquote], $1)
27584+
27585+
27586+# lt_append(MACRO-NAME, STRING, [SEPARATOR])
27587+# ------------------------------------------
27588+# Redefine MACRO-NAME to hold its former content plus `SEPARATOR'`STRING'.
27589+# Note that neither SEPARATOR nor STRING are expanded; they are appended
27590+# to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked).
27591+# No SEPARATOR is output if MACRO-NAME was previously undefined (different
27592+# than defined and empty).
27593+#
27594+# This macro is needed until we can rely on Autoconf 2.62, since earlier
27595+# versions of m4sugar mistakenly expanded SEPARATOR but not STRING.
27596+m4_define([lt_append],
27597+[m4_define([$1],
27598+	   m4_ifdef([$1], [m4_defn([$1])[$3]])[$2])])
27599+
27600+
27601+
27602+# lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...])
27603+# ----------------------------------------------------------
27604+# Produce a SEP delimited list of all paired combinations of elements of
27605+# PREFIX-LIST with SUFFIX1 through SUFFIXn.  Each element of the list
27606+# has the form PREFIXmINFIXSUFFIXn.
27607+# Needed until we can rely on m4_combine added in Autoconf 2.62.
27608+m4_define([lt_combine],
27609+[m4_if(m4_eval([$# > 3]), [1],
27610+       [m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl
27611+[[m4_foreach([_Lt_prefix], [$2],
27612+	     [m4_foreach([_Lt_suffix],
27613+		]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[,
27614+	[_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])])
27615+
27616+
27617+# lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ])
27618+# -----------------------------------------------------------------------
27619+# Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited
27620+# by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ.
27621+m4_define([lt_if_append_uniq],
27622+[m4_ifdef([$1],
27623+	  [m4_if(m4_index([$3]m4_defn([$1])[$3], [$3$2$3]), [-1],
27624+		 [lt_append([$1], [$2], [$3])$4],
27625+		 [$5])],
27626+	  [lt_append([$1], [$2], [$3])$4])])
27627+
27628+
27629+# lt_dict_add(DICT, KEY, VALUE)
27630+# -----------------------------
27631+m4_define([lt_dict_add],
27632+[m4_define([$1($2)], [$3])])
27633+
27634+
27635+# lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE)
27636+# --------------------------------------------
27637+m4_define([lt_dict_add_subkey],
27638+[m4_define([$1($2:$3)], [$4])])
27639+
27640+
27641+# lt_dict_fetch(DICT, KEY, [SUBKEY])
27642+# ----------------------------------
27643+m4_define([lt_dict_fetch],
27644+[m4_ifval([$3],
27645+	m4_ifdef([$1($2:$3)], [m4_defn([$1($2:$3)])]),
27646+    m4_ifdef([$1($2)], [m4_defn([$1($2)])]))])
27647+
27648+
27649+# lt_if_dict_fetch(DICT, KEY, [SUBKEY], VALUE, IF-TRUE, [IF-FALSE])
27650+# -----------------------------------------------------------------
27651+m4_define([lt_if_dict_fetch],
27652+[m4_if(lt_dict_fetch([$1], [$2], [$3]), [$4],
27653+	[$5],
27654+    [$6])])
27655+
27656+
27657+# lt_dict_filter(DICT, [SUBKEY], VALUE, [SEPARATOR], KEY, [...])
27658+# --------------------------------------------------------------
27659+m4_define([lt_dict_filter],
27660+[m4_if([$5], [], [],
27661+  [lt_join(m4_quote(m4_default([$4], [[, ]])),
27662+           lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_key, lt_car([m4_shiftn(4, $@)]),
27663+		      [lt_if_dict_fetch([$1], _Lt_key, [$2], [$3], [_Lt_key ])])))))])[]dnl
27664+])
27665diff -urwN nxproxy-orig/conf/m4/ltversion.m4 nxproxy/conf/m4/ltversion.m4
27666--- nxproxy-orig/conf/m4/ltversion.m4	1970-01-01 01:00:00.000000000 +0100
27667+++ nxproxy/conf/m4/ltversion.m4	2009-10-10 13:57:48.907594933 +0200
27668@@ -0,0 +1,23 @@
27669+# ltversion.m4 -- version numbers			-*- Autoconf -*-
27670+#
27671+#   Copyright (C) 2004 Free Software Foundation, Inc.
27672+#   Written by Scott James Remnant, 2004
27673+#
27674+# This file is free software; the Free Software Foundation gives
27675+# unlimited permission to copy and/or distribute it, with or without
27676+# modifications, as long as this notice is preserved.
27677+
27678+# Generated from ltversion.in.
27679+
27680+# serial 3012 ltversion.m4
27681+# This file is part of GNU Libtool
27682+
27683+m4_define([LT_PACKAGE_VERSION], [2.2.6])
27684+m4_define([LT_PACKAGE_REVISION], [1.3012])
27685+
27686+AC_DEFUN([LTVERSION_VERSION],
27687+[macro_version='2.2.6'
27688+macro_revision='1.3012'
27689+_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
27690+_LT_DECL(, macro_revision, 0)
27691+])
27692diff -urwN nxproxy-orig/conf/missing nxproxy/conf/missing
27693--- nxproxy-orig/conf/missing	1970-01-01 01:00:00.000000000 +0100
27694+++ nxproxy/conf/missing	2009-10-10 13:57:56.008846462 +0200
27695@@ -0,0 +1,376 @@
27696+#! /bin/sh
27697+# Common stub for a few missing GNU programs while installing.
27698+
27699+scriptversion=2009-04-28.21; # UTC
27700+
27701+# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
27702+# 2008, 2009 Free Software Foundation, Inc.
27703+# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
27704+
27705+# This program is free software; you can redistribute it and/or modify
27706+# it under the terms of the GNU General Public License as published by
27707+# the Free Software Foundation; either version 2, or (at your option)
27708+# any later version.
27709+
27710+# This program is distributed in the hope that it will be useful,
27711+# but WITHOUT ANY WARRANTY; without even the implied warranty of
27712+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
27713+# GNU General Public License for more details.
27714+
27715+# You should have received a copy of the GNU General Public License
27716+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
27717+
27718+# As a special exception to the GNU General Public License, if you
27719+# distribute this file as part of a program that contains a
27720+# configuration script generated by Autoconf, you may include it under
27721+# the same distribution terms that you use for the rest of that program.
27722+
27723+if test $# -eq 0; then
27724+  echo 1>&2 "Try \`$0 --help' for more information"
27725+  exit 1
27726+fi
27727+
27728+run=:
27729+sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p'
27730+sed_minuso='s/.* -o \([^ ]*\).*/\1/p'
27731+
27732+# In the cases where this matters, `missing' is being run in the
27733+# srcdir already.
27734+if test -f configure.ac; then
27735+  configure_ac=configure.ac
27736+else
27737+  configure_ac=configure.in
27738+fi
27739+
27740+msg="missing on your system"
27741+
27742+case $1 in
27743+--run)
27744+  # Try to run requested program, and just exit if it succeeds.
27745+  run=
27746+  shift
27747+  "$@" && exit 0
27748+  # Exit code 63 means version mismatch.  This often happens
27749+  # when the user try to use an ancient version of a tool on
27750+  # a file that requires a minimum version.  In this case we
27751+  # we should proceed has if the program had been absent, or
27752+  # if --run hadn't been passed.
27753+  if test $? = 63; then
27754+    run=:
27755+    msg="probably too old"
27756+  fi
27757+  ;;
27758+
27759+  -h|--h|--he|--hel|--help)
27760+    echo "\
27761+$0 [OPTION]... PROGRAM [ARGUMENT]...
27762+
27763+Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an
27764+error status if there is no known handling for PROGRAM.
27765+
27766+Options:
27767+  -h, --help      display this help and exit
27768+  -v, --version   output version information and exit
27769+  --run           try to run the given command, and emulate it if it fails
27770+
27771+Supported PROGRAM values:
27772+  aclocal      touch file \`aclocal.m4'
27773+  autoconf     touch file \`configure'
27774+  autoheader   touch file \`config.h.in'
27775+  autom4te     touch the output file, or create a stub one
27776+  automake     touch all \`Makefile.in' files
27777+  bison        create \`y.tab.[ch]', if possible, from existing .[ch]
27778+  flex         create \`lex.yy.c', if possible, from existing .c
27779+  help2man     touch the output file
27780+  lex          create \`lex.yy.c', if possible, from existing .c
27781+  makeinfo     touch the output file
27782+  tar          try tar, gnutar, gtar, then tar without non-portable flags
27783+  yacc         create \`y.tab.[ch]', if possible, from existing .[ch]
27784+
27785+Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and
27786+\`g' are ignored when checking the name.
27787+
27788+Send bug reports to <bug-automake@gnu.org>."
27789+    exit $?
27790+    ;;
27791+
27792+  -v|--v|--ve|--ver|--vers|--versi|--versio|--version)
27793+    echo "missing $scriptversion (GNU Automake)"
27794+    exit $?
27795+    ;;
27796+
27797+  -*)
27798+    echo 1>&2 "$0: Unknown \`$1' option"
27799+    echo 1>&2 "Try \`$0 --help' for more information"
27800+    exit 1
27801+    ;;
27802+
27803+esac
27804+
27805+# normalize program name to check for.
27806+program=`echo "$1" | sed '
27807+  s/^gnu-//; t
27808+  s/^gnu//; t
27809+  s/^g//; t'`
27810+
27811+# Now exit if we have it, but it failed.  Also exit now if we
27812+# don't have it and --version was passed (most likely to detect
27813+# the program).  This is about non-GNU programs, so use $1 not
27814+# $program.
27815+case $1 in
27816+  lex*|yacc*)
27817+    # Not GNU programs, they don't have --version.
27818+    ;;
27819+
27820+  tar*)
27821+    if test -n "$run"; then
27822+       echo 1>&2 "ERROR: \`tar' requires --run"
27823+       exit 1
27824+    elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
27825+       exit 1
27826+    fi
27827+    ;;
27828+
27829+  *)
27830+    if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
27831+       # We have it, but it failed.
27832+       exit 1
27833+    elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
27834+       # Could not run --version or --help.  This is probably someone
27835+       # running `$TOOL --version' or `$TOOL --help' to check whether
27836+       # $TOOL exists and not knowing $TOOL uses missing.
27837+       exit 1
27838+    fi
27839+    ;;
27840+esac
27841+
27842+# If it does not exist, or fails to run (possibly an outdated version),
27843+# try to emulate it.
27844+case $program in
27845+  aclocal*)
27846+    echo 1>&2 "\
27847+WARNING: \`$1' is $msg.  You should only need it if
27848+         you modified \`acinclude.m4' or \`${configure_ac}'.  You might want
27849+         to install the \`Automake' and \`Perl' packages.  Grab them from
27850+         any GNU archive site."
27851+    touch aclocal.m4
27852+    ;;
27853+
27854+  autoconf*)
27855+    echo 1>&2 "\
27856+WARNING: \`$1' is $msg.  You should only need it if
27857+         you modified \`${configure_ac}'.  You might want to install the
27858+         \`Autoconf' and \`GNU m4' packages.  Grab them from any GNU
27859+         archive site."
27860+    touch configure
27861+    ;;
27862+
27863+  autoheader*)
27864+    echo 1>&2 "\
27865+WARNING: \`$1' is $msg.  You should only need it if
27866+         you modified \`acconfig.h' or \`${configure_ac}'.  You might want
27867+         to install the \`Autoconf' and \`GNU m4' packages.  Grab them
27868+         from any GNU archive site."
27869+    files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}`
27870+    test -z "$files" && files="config.h"
27871+    touch_files=
27872+    for f in $files; do
27873+      case $f in
27874+      *:*) touch_files="$touch_files "`echo "$f" |
27875+				       sed -e 's/^[^:]*://' -e 's/:.*//'`;;
27876+      *) touch_files="$touch_files $f.in";;
27877+      esac
27878+    done
27879+    touch $touch_files
27880+    ;;
27881+
27882+  automake*)
27883+    echo 1>&2 "\
27884+WARNING: \`$1' is $msg.  You should only need it if
27885+         you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'.
27886+         You might want to install the \`Automake' and \`Perl' packages.
27887+         Grab them from any GNU archive site."
27888+    find . -type f -name Makefile.am -print |
27889+	   sed 's/\.am$/.in/' |
27890+	   while read f; do touch "$f"; done
27891+    ;;
27892+
27893+  autom4te*)
27894+    echo 1>&2 "\
27895+WARNING: \`$1' is needed, but is $msg.
27896+         You might have modified some files without having the
27897+         proper tools for further handling them.
27898+         You can get \`$1' as part of \`Autoconf' from any GNU
27899+         archive site."
27900+
27901+    file=`echo "$*" | sed -n "$sed_output"`
27902+    test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
27903+    if test -f "$file"; then
27904+	touch $file
27905+    else
27906+	test -z "$file" || exec >$file
27907+	echo "#! /bin/sh"
27908+	echo "# Created by GNU Automake missing as a replacement of"
27909+	echo "#  $ $@"
27910+	echo "exit 0"
27911+	chmod +x $file
27912+	exit 1
27913+    fi
27914+    ;;
27915+
27916+  bison*|yacc*)
27917+    echo 1>&2 "\
27918+WARNING: \`$1' $msg.  You should only need it if
27919+         you modified a \`.y' file.  You may need the \`Bison' package
27920+         in order for those modifications to take effect.  You can get
27921+         \`Bison' from any GNU archive site."
27922+    rm -f y.tab.c y.tab.h
27923+    if test $# -ne 1; then
27924+        eval LASTARG="\${$#}"
27925+	case $LASTARG in
27926+	*.y)
27927+	    SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
27928+	    if test -f "$SRCFILE"; then
27929+	         cp "$SRCFILE" y.tab.c
27930+	    fi
27931+	    SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
27932+	    if test -f "$SRCFILE"; then
27933+	         cp "$SRCFILE" y.tab.h
27934+	    fi
27935+	  ;;
27936+	esac
27937+    fi
27938+    if test ! -f y.tab.h; then
27939+	echo >y.tab.h
27940+    fi
27941+    if test ! -f y.tab.c; then
27942+	echo 'main() { return 0; }' >y.tab.c
27943+    fi
27944+    ;;
27945+
27946+  lex*|flex*)
27947+    echo 1>&2 "\
27948+WARNING: \`$1' is $msg.  You should only need it if
27949+         you modified a \`.l' file.  You may need the \`Flex' package
27950+         in order for those modifications to take effect.  You can get
27951+         \`Flex' from any GNU archive site."
27952+    rm -f lex.yy.c
27953+    if test $# -ne 1; then
27954+        eval LASTARG="\${$#}"
27955+	case $LASTARG in
27956+	*.l)
27957+	    SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
27958+	    if test -f "$SRCFILE"; then
27959+	         cp "$SRCFILE" lex.yy.c
27960+	    fi
27961+	  ;;
27962+	esac
27963+    fi
27964+    if test ! -f lex.yy.c; then
27965+	echo 'main() { return 0; }' >lex.yy.c
27966+    fi
27967+    ;;
27968+
27969+  help2man*)
27970+    echo 1>&2 "\
27971+WARNING: \`$1' is $msg.  You should only need it if
27972+	 you modified a dependency of a manual page.  You may need the
27973+	 \`Help2man' package in order for those modifications to take
27974+	 effect.  You can get \`Help2man' from any GNU archive site."
27975+
27976+    file=`echo "$*" | sed -n "$sed_output"`
27977+    test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
27978+    if test -f "$file"; then
27979+	touch $file
27980+    else
27981+	test -z "$file" || exec >$file
27982+	echo ".ab help2man is required to generate this page"
27983+	exit $?
27984+    fi
27985+    ;;
27986+
27987+  makeinfo*)
27988+    echo 1>&2 "\
27989+WARNING: \`$1' is $msg.  You should only need it if
27990+         you modified a \`.texi' or \`.texinfo' file, or any other file
27991+         indirectly affecting the aspect of the manual.  The spurious
27992+         call might also be the consequence of using a buggy \`make' (AIX,
27993+         DU, IRIX).  You might want to install the \`Texinfo' package or
27994+         the \`GNU make' package.  Grab either from any GNU archive site."
27995+    # The file to touch is that specified with -o ...
27996+    file=`echo "$*" | sed -n "$sed_output"`
27997+    test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
27998+    if test -z "$file"; then
27999+      # ... or it is the one specified with @setfilename ...
28000+      infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
28001+      file=`sed -n '
28002+	/^@setfilename/{
28003+	  s/.* \([^ ]*\) *$/\1/
28004+	  p
28005+	  q
28006+	}' $infile`
28007+      # ... or it is derived from the source name (dir/f.texi becomes f.info)
28008+      test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info
28009+    fi
28010+    # If the file does not exist, the user really needs makeinfo;
28011+    # let's fail without touching anything.
28012+    test -f $file || exit 1
28013+    touch $file
28014+    ;;
28015+
28016+  tar*)
28017+    shift
28018+
28019+    # We have already tried tar in the generic part.
28020+    # Look for gnutar/gtar before invocation to avoid ugly error
28021+    # messages.
28022+    if (gnutar --version > /dev/null 2>&1); then
28023+       gnutar "$@" && exit 0
28024+    fi
28025+    if (gtar --version > /dev/null 2>&1); then
28026+       gtar "$@" && exit 0
28027+    fi
28028+    firstarg="$1"
28029+    if shift; then
28030+	case $firstarg in
28031+	*o*)
28032+	    firstarg=`echo "$firstarg" | sed s/o//`
28033+	    tar "$firstarg" "$@" && exit 0
28034+	    ;;
28035+	esac
28036+	case $firstarg in
28037+	*h*)
28038+	    firstarg=`echo "$firstarg" | sed s/h//`
28039+	    tar "$firstarg" "$@" && exit 0
28040+	    ;;
28041+	esac
28042+    fi
28043+
28044+    echo 1>&2 "\
28045+WARNING: I can't seem to be able to run \`tar' with the given arguments.
28046+         You may want to install GNU tar or Free paxutils, or check the
28047+         command line arguments."
28048+    exit 1
28049+    ;;
28050+
28051+  *)
28052+    echo 1>&2 "\
28053+WARNING: \`$1' is needed, and is $msg.
28054+         You might have modified some files without having the
28055+         proper tools for further handling them.  Check the \`README' file,
28056+         it often tells you about the needed prerequisites for installing
28057+         this package.  You may also peek at any GNU archive site, in case
28058+         some other package would contain this missing \`$1' program."
28059+    exit 1
28060+    ;;
28061+esac
28062+
28063+exit 0
28064+
28065+# Local variables:
28066+# eval: (add-hook 'write-file-hooks 'time-stamp)
28067+# time-stamp-start: "scriptversion="
28068+# time-stamp-format: "%:y-%02m-%02d.%02H"
28069+# time-stamp-time-zone: "UTC"
28070+# time-stamp-end: "; # UTC"
28071+# End:
28072diff -urwN nxproxy-orig/configure nxproxy/configure
28073--- nxproxy-orig/configure	2005-11-11 17:27:30.000000000 +0100
28074+++ nxproxy/configure	2009-10-10 13:57:54.423580372 +0200
28075@@ -1,25 +1,84 @@
28076 #! /bin/sh
28077 # Guess values for system-dependent variables and create Makefiles.
28078-# Generated by GNU Autoconf 2.59.
28079+# Generated by GNU Autoconf 2.63 for FULL-PACKAGE-NAME VERSION.
28080 #
28081-# Copyright (C) 2003 Free Software Foundation, Inc.
28082+# Report bugs to <BUG-REPORT-ADDRESS>.
28083+#
28084+# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
28085+# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
28086 # This configure script is free software; the Free Software Foundation
28087 # gives unlimited permission to copy, distribute and modify it.
28088 ## --------------------- ##
28089 ## M4sh Initialization.  ##
28090 ## --------------------- ##
28091
28092-# Be Bourne compatible
28093+# Be more Bourne compatible
28094+DUALCASE=1; export DUALCASE # for MKS sh
28095 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
28096   emulate sh
28097   NULLCMD=:
28098-  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
28099+  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
28100   # is contrary to our usage.  Disable this feature.
28101   alias -g '${1+"$@"}'='"$@"'
28102-elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
28103-  set -o posix
28104+  setopt NO_GLOB_SUBST
28105+else
28106+  case `(set -o) 2>/dev/null` in
28107+  *posix*) set -o posix ;;
28108+esac
28109+
28110+fi
28111+
28112+
28113+
28114+
28115+# PATH needs CR
28116+# Avoid depending upon Character Ranges.
28117+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
28118+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
28119+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
28120+as_cr_digits='0123456789'
28121+as_cr_alnum=$as_cr_Letters$as_cr_digits
28122+
28123+as_nl='
28124+'
28125+export as_nl
28126+# Printing a long string crashes Solaris 7 /usr/bin/printf.
28127+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
28128+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
28129+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
28130+if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
28131+  as_echo='printf %s\n'
28132+  as_echo_n='printf %s'
28133+else
28134+  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
28135+    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
28136+    as_echo_n='/usr/ucb/echo -n'
28137+  else
28138+    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
28139+    as_echo_n_body='eval
28140+      arg=$1;
28141+      case $arg in
28142+      *"$as_nl"*)
28143+	expr "X$arg" : "X\\(.*\\)$as_nl";
28144+	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
28145+      esac;
28146+      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
28147+    '
28148+    export as_echo_n_body
28149+    as_echo_n='sh -c $as_echo_n_body as_echo'
28150+  fi
28151+  export as_echo_body
28152+  as_echo='sh -c $as_echo_body as_echo'
28153+fi
28154+
28155+# The user is always right.
28156+if test "${PATH_SEPARATOR+set}" != set; then
28157+  PATH_SEPARATOR=:
28158+  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
28159+    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
28160+      PATH_SEPARATOR=';'
28161+  }
28162 fi
28163-DUALCASE=1; export DUALCASE # for MKS sh
28164
28165 # Support unset when possible.
28166 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
28167@@ -29,33 +88,60 @@
28168 fi
28169
28170
28171+# IFS
28172+# We need space, tab and new line, in precisely that order.  Quoting is
28173+# there to prevent editors from complaining about space-tab.
28174+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
28175+# splitting by setting IFS to empty value.)
28176+IFS=" ""	$as_nl"
28177+
28178+# Find who we are.  Look in the path if we contain no directory separator.
28179+case $0 in
28180+  *[\\/]* ) as_myself=$0 ;;
28181+  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28182+for as_dir in $PATH
28183+do
28184+  IFS=$as_save_IFS
28185+  test -z "$as_dir" && as_dir=.
28186+  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
28187+done
28188+IFS=$as_save_IFS
28189+
28190+     ;;
28191+esac
28192+# We did not find ourselves, most probably we were run as `sh COMMAND'
28193+# in which case we are not to be found in the path.
28194+if test "x$as_myself" = x; then
28195+  as_myself=$0
28196+fi
28197+if test ! -f "$as_myself"; then
28198+  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
28199+  { (exit 1); exit 1; }
28200+fi
28201+
28202 # Work around bugs in pre-3.0 UWIN ksh.
28203-$as_unset ENV MAIL MAILPATH
28204+for as_var in ENV MAIL MAILPATH
28205+do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
28206+done
28207 PS1='$ '
28208 PS2='> '
28209 PS4='+ '
28210
28211 # NLS nuisances.
28212-for as_var in \
28213-  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
28214-  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
28215-  LC_TELEPHONE LC_TIME
28216-do
28217-  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
28218-    eval $as_var=C; export $as_var
28219-  else
28220-    $as_unset $as_var
28221-  fi
28222-done
28223+LC_ALL=C
28224+export LC_ALL
28225+LANGUAGE=C
28226+export LANGUAGE
28227
28228 # Required to use basename.
28229-if expr a : '\(a\)' >/dev/null 2>&1; then
28230+if expr a : '\(a\)' >/dev/null 2>&1 &&
28231+   test "X`expr 00001 : '.*\(...\)'`" = X001; then
28232   as_expr=expr
28233 else
28234   as_expr=false
28235 fi
28236
28237-if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
28238+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
28239   as_basename=basename
28240 else
28241   as_basename=false
28242@@ -63,157 +149,391 @@
28243
28244
28245 # Name of the executable.
28246-as_me=`$as_basename "$0" ||
28247+as_me=`$as_basename -- "$0" ||
28248 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
28249 	 X"$0" : 'X\(//\)$' \| \
28250-	 X"$0" : 'X\(/\)$' \| \
28251-	 .     : '\(.\)' 2>/dev/null ||
28252-echo X/"$0" |
28253-    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
28254-  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
28255-  	  /^X\/\(\/\).*/{ s//\1/; q; }
28256+	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
28257+$as_echo X/"$0" |
28258+    sed '/^.*\/\([^/][^/]*\)\/*$/{
28259+	    s//\1/
28260+	    q
28261+	  }
28262+	  /^X\/\(\/\/\)$/{
28263+	    s//\1/
28264+	    q
28265+	  }
28266+	  /^X\/\(\/\).*/{
28267+	    s//\1/
28268+	    q
28269+	  }
28270   	  s/.*/./; q'`
28271
28272+# CDPATH.
28273+$as_unset CDPATH
28274
28275-# PATH needs CR, and LINENO needs CR and PATH.
28276-# Avoid depending upon Character Ranges.
28277-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
28278-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
28279-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
28280-as_cr_digits='0123456789'
28281-as_cr_alnum=$as_cr_Letters$as_cr_digits
28282
28283-# The user is always right.
28284-if test "${PATH_SEPARATOR+set}" != set; then
28285-  echo "#! /bin/sh" >conf$$.sh
28286-  echo  "exit 0"   >>conf$$.sh
28287-  chmod +x conf$$.sh
28288-  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
28289-    PATH_SEPARATOR=';'
28290+if test "x$CONFIG_SHELL" = x; then
28291+  if (eval ":") 2>/dev/null; then
28292+  as_have_required=yes
28293   else
28294-    PATH_SEPARATOR=:
28295+  as_have_required=no
28296   fi
28297-  rm -f conf$$.sh
28298+
28299+  if test $as_have_required = yes &&	 (eval ":
28300+(as_func_return () {
28301+  (exit \$1)
28302+}
28303+as_func_success () {
28304+  as_func_return 0
28305+}
28306+as_func_failure () {
28307+  as_func_return 1
28308+}
28309+as_func_ret_success () {
28310+  return 0
28311+}
28312+as_func_ret_failure () {
28313+  return 1
28314+}
28315+
28316+exitcode=0
28317+if as_func_success; then
28318+  :
28319+else
28320+  exitcode=1
28321+  echo as_func_success failed.
28322 fi
28323
28324+if as_func_failure; then
28325+  exitcode=1
28326+  echo as_func_failure succeeded.
28327+fi
28328
28329-  as_lineno_1=$LINENO
28330-  as_lineno_2=$LINENO
28331-  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
28332-  test "x$as_lineno_1" != "x$as_lineno_2" &&
28333-  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
28334-  # Find who we are.  Look in the path if we contain no path at all
28335-  # relative or not.
28336-  case $0 in
28337-    *[\\/]* ) as_myself=$0 ;;
28338-    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28339-for as_dir in $PATH
28340-do
28341-  IFS=$as_save_IFS
28342-  test -z "$as_dir" && as_dir=.
28343-  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
28344-done
28345+if as_func_ret_success; then
28346+  :
28347+else
28348+  exitcode=1
28349+  echo as_func_ret_success failed.
28350+fi
28351
28352-       ;;
28353-  esac
28354-  # We did not find ourselves, most probably we were run as `sh COMMAND'
28355-  # in which case we are not to be found in the path.
28356-  if test "x$as_myself" = x; then
28357-    as_myself=$0
28358+if as_func_ret_failure; then
28359+  exitcode=1
28360+  echo as_func_ret_failure succeeded.
28361   fi
28362-  if test ! -f "$as_myself"; then
28363-    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
28364-   { (exit 1); exit 1; }; }
28365+
28366+if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
28367+  :
28368+else
28369+  exitcode=1
28370+  echo positional parameters were not saved.
28371   fi
28372-  case $CONFIG_SHELL in
28373-  '')
28374+
28375+test \$exitcode = 0) || { (exit 1); exit 1; }
28376+
28377+(
28378+  as_lineno_1=\$LINENO
28379+  as_lineno_2=\$LINENO
28380+  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
28381+  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
28382+") 2> /dev/null; then
28383+  :
28384+else
28385+  as_candidate_shells=
28386     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28387 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
28388 do
28389   IFS=$as_save_IFS
28390   test -z "$as_dir" && as_dir=.
28391-  for as_base in sh bash ksh sh5; do
28392 	 case $as_dir in
28393 	 /*)
28394-	   if ("$as_dir/$as_base" -c '
28395+	   for as_base in sh bash ksh sh5; do
28396+	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
28397+	   done;;
28398+       esac
28399+done
28400+IFS=$as_save_IFS
28401+
28402+
28403+      for as_shell in $as_candidate_shells $SHELL; do
28404+	 # Try only shells that exist, to save several forks.
28405+	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
28406+		{ ("$as_shell") 2> /dev/null <<\_ASEOF
28407+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
28408+  emulate sh
28409+  NULLCMD=:
28410+  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
28411+  # is contrary to our usage.  Disable this feature.
28412+  alias -g '${1+"$@"}'='"$@"'
28413+  setopt NO_GLOB_SUBST
28414+else
28415+  case `(set -o) 2>/dev/null` in
28416+  *posix*) set -o posix ;;
28417+esac
28418+
28419+fi
28420+
28421+
28422+:
28423+_ASEOF
28424+}; then
28425+  CONFIG_SHELL=$as_shell
28426+	       as_have_required=yes
28427+	       if { "$as_shell" 2> /dev/null <<\_ASEOF
28428+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
28429+  emulate sh
28430+  NULLCMD=:
28431+  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
28432+  # is contrary to our usage.  Disable this feature.
28433+  alias -g '${1+"$@"}'='"$@"'
28434+  setopt NO_GLOB_SUBST
28435+else
28436+  case `(set -o) 2>/dev/null` in
28437+  *posix*) set -o posix ;;
28438+esac
28439+
28440+fi
28441+
28442+
28443+:
28444+(as_func_return () {
28445+  (exit $1)
28446+}
28447+as_func_success () {
28448+  as_func_return 0
28449+}
28450+as_func_failure () {
28451+  as_func_return 1
28452+}
28453+as_func_ret_success () {
28454+  return 0
28455+}
28456+as_func_ret_failure () {
28457+  return 1
28458+}
28459+
28460+exitcode=0
28461+if as_func_success; then
28462+  :
28463+else
28464+  exitcode=1
28465+  echo as_func_success failed.
28466+fi
28467+
28468+if as_func_failure; then
28469+  exitcode=1
28470+  echo as_func_failure succeeded.
28471+fi
28472+
28473+if as_func_ret_success; then
28474+  :
28475+else
28476+  exitcode=1
28477+  echo as_func_ret_success failed.
28478+fi
28479+
28480+if as_func_ret_failure; then
28481+  exitcode=1
28482+  echo as_func_ret_failure succeeded.
28483+fi
28484+
28485+if ( set x; as_func_ret_success y && test x = "$1" ); then
28486+  :
28487+else
28488+  exitcode=1
28489+  echo positional parameters were not saved.
28490+fi
28491+
28492+test $exitcode = 0) || { (exit 1); exit 1; }
28493+
28494+(
28495   as_lineno_1=$LINENO
28496   as_lineno_2=$LINENO
28497-  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
28498   test "x$as_lineno_1" != "x$as_lineno_2" &&
28499-  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
28500-	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
28501-	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
28502-	     CONFIG_SHELL=$as_dir/$as_base
28503-	     export CONFIG_SHELL
28504-	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
28505-	   fi;;
28506-	 esac
28507+  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
28508+
28509+_ASEOF
28510+}; then
28511+  break
28512+fi
28513+
28514+fi
28515+
28516        done
28517+
28518+      if test "x$CONFIG_SHELL" != x; then
28519+  for as_var in BASH_ENV ENV
28520+	do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
28521 done
28522-;;
28523-  esac
28524+	export CONFIG_SHELL
28525+	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
28526+fi
28527+
28528+
28529+    if test $as_have_required = no; then
28530+  echo This script requires a shell more modern than all the
28531+      echo shells that I found on your system.  Please install a
28532+      echo modern shell, or manually run the script under such a
28533+      echo shell if you do have one.
28534+      { (exit 1); exit 1; }
28535+fi
28536+
28537+
28538+fi
28539+
28540+fi
28541+
28542+
28543+
28544+(eval "as_func_return () {
28545+  (exit \$1)
28546+}
28547+as_func_success () {
28548+  as_func_return 0
28549+}
28550+as_func_failure () {
28551+  as_func_return 1
28552+}
28553+as_func_ret_success () {
28554+  return 0
28555+}
28556+as_func_ret_failure () {
28557+  return 1
28558+}
28559+
28560+exitcode=0
28561+if as_func_success; then
28562+  :
28563+else
28564+  exitcode=1
28565+  echo as_func_success failed.
28566+fi
28567+
28568+if as_func_failure; then
28569+  exitcode=1
28570+  echo as_func_failure succeeded.
28571+fi
28572+
28573+if as_func_ret_success; then
28574+  :
28575+else
28576+  exitcode=1
28577+  echo as_func_ret_success failed.
28578+fi
28579+
28580+if as_func_ret_failure; then
28581+  exitcode=1
28582+  echo as_func_ret_failure succeeded.
28583+fi
28584+
28585+if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
28586+  :
28587+else
28588+  exitcode=1
28589+  echo positional parameters were not saved.
28590+fi
28591+
28592+test \$exitcode = 0") || {
28593+  echo No shell found that supports shell functions.
28594+  echo Please tell bug-autoconf@gnu.org about your system,
28595+  echo including any error possibly output before this message.
28596+  echo This can help us improve future autoconf versions.
28597+  echo Configuration will now proceed without shell functions.
28598+}
28599+
28600+
28601+
28602+  as_lineno_1=$LINENO
28603+  as_lineno_2=$LINENO
28604+  test "x$as_lineno_1" != "x$as_lineno_2" &&
28605+  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
28606
28607   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
28608   # uniformly replaced by the line number.  The first 'sed' inserts a
28609-  # line-number line before each line; the second 'sed' does the real
28610-  # work.  The second script uses 'N' to pair each line-number line
28611-  # with the numbered line, and appends trailing '-' during
28612-  # substitution so that $LINENO is not a special case at line end.
28613+  # line-number line after each line using $LINENO; the second 'sed'
28614+  # does the real work.  The second script uses 'N' to pair each
28615+  # line-number line with the line containing $LINENO, and appends
28616+  # trailing '-' during substitution so that $LINENO is not a special
28617+  # case at line end.
28618   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
28619-  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
28620-  sed '=' <$as_myself |
28621+  # scripts with optimization help from Paolo Bonzini.  Blame Lee
28622+  # E. McMahon (1931-1989) for sed's syntax.  :-)
28623+  sed -n '
28624+    p
28625+    /[$]LINENO/=
28626+  ' <$as_myself |
28627     sed '
28628+      s/[$]LINENO.*/&-/
28629+      t lineno
28630+      b
28631+      :lineno
28632       N
28633-      s,$,-,
28634       : loop
28635-      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
28636+      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
28637       t loop
28638-      s,-$,,
28639-      s,^['$as_cr_digits']*\n,,
28640+      s/-\n.*//
28641     ' >$as_me.lineno &&
28642-  chmod +x $as_me.lineno ||
28643-    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
28644+  chmod +x "$as_me.lineno" ||
28645+    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
28646    { (exit 1); exit 1; }; }
28647
28648   # Don't try to exec as it changes $[0], causing all sort of problems
28649   # (the dirname of $[0] is not the place where we might find the
28650-  # original and so on.  Autoconf is especially sensible to this).
28651-  . ./$as_me.lineno
28652+  # original and so on.  Autoconf is especially sensitive to this).
28653+  . "./$as_me.lineno"
28654   # Exit status is that of the last command.
28655   exit
28656 }
28657
28658
28659-case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
28660-  *c*,-n*) ECHO_N= ECHO_C='
28661-' ECHO_T='	' ;;
28662-  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
28663-  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
28664-esac
28665+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
28666+  as_dirname=dirname
28667+else
28668+  as_dirname=false
28669+fi
28670
28671-if expr a : '\(a\)' >/dev/null 2>&1; then
28672+ECHO_C= ECHO_N= ECHO_T=
28673+case `echo -n x` in
28674+-n*)
28675+  case `echo 'x\c'` in
28676+  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
28677+  *)   ECHO_C='\c';;
28678+  esac;;
28679+*)
28680+  ECHO_N='-n';;
28681+esac
28682+if expr a : '\(a\)' >/dev/null 2>&1 &&
28683+   test "X`expr 00001 : '.*\(...\)'`" = X001; then
28684   as_expr=expr
28685 else
28686   as_expr=false
28687 fi
28688
28689 rm -f conf$$ conf$$.exe conf$$.file
28690-echo >conf$$.file
28691-if ln -s conf$$.file conf$$ 2>/dev/null; then
28692-  # We could just check for DJGPP; but this test a) works b) is more generic
28693-  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
28694-  if test -f conf$$.exe; then
28695-    # Don't use ln at all; we don't have any links
28696-    as_ln_s='cp -p'
28697+if test -d conf$$.dir; then
28698+  rm -f conf$$.dir/conf$$.file
28699   else
28700-    as_ln_s='ln -s'
28701+  rm -f conf$$.dir
28702+  mkdir conf$$.dir 2>/dev/null
28703   fi
28704+if (echo >conf$$.file) 2>/dev/null; then
28705+  if ln -s conf$$.file conf$$ 2>/dev/null; then
28706+    as_ln_s='ln -s'
28707+    # ... but there are two gotchas:
28708+    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
28709+    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
28710+    # In both cases, we have to default to `cp -p'.
28711+    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
28712+      as_ln_s='cp -p'
28713 elif ln conf$$.file conf$$ 2>/dev/null; then
28714   as_ln_s=ln
28715 else
28716   as_ln_s='cp -p'
28717 fi
28718-rm -f conf$$ conf$$.exe conf$$.file
28719+else
28720+  as_ln_s='cp -p'
28721+fi
28722+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
28723+rmdir conf$$.dir 2>/dev/null
28724
28725 if mkdir -p . 2>/dev/null; then
28726   as_mkdir_p=:
28727@@ -222,7 +542,28 @@
28728   as_mkdir_p=false
28729 fi
28730
28731-as_executable_p="test -f"
28732+if test -x / >/dev/null 2>&1; then
28733+  as_test_x='test -x'
28734+else
28735+  if ls -dL / >/dev/null 2>&1; then
28736+    as_ls_L_option=L
28737+  else
28738+    as_ls_L_option=
28739+  fi
28740+  as_test_x='
28741+    eval sh -c '\''
28742+      if test -d "$1"; then
28743+	test -d "$1/.";
28744+      else
28745+	case $1 in
28746+	-*)set "./$1";;
28747+	esac;
28748+	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
28749+	???[sx]*):;;*)false;;esac;fi
28750+    '\'' sh
28751+  '
28752+fi
28753+as_executable_p=$as_test_x
28754
28755 # Sed expression to map a string onto a valid CPP name.
28756 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
28757@@ -231,53 +572,362 @@
28758 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
28759
28760
28761-# IFS
28762-# We need space, tab and new line, in precisely that order.
28763-as_nl='
28764-'
28765-IFS=" 	$as_nl"
28766
28767-# CDPATH.
28768-$as_unset CDPATH
28769
28770+# Check that we are running under the correct shell.
28771+SHELL=${CONFIG_SHELL-/bin/sh}
28772
28773-# Name of the host.
28774-# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
28775-# so uname gets run too.
28776-ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
28777+case X$lt_ECHO in
28778+X*--fallback-echo)
28779+  # Remove one level of quotation (which was required for Make).
28780+  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
28781+  ;;
28782+esac
28783
28784-exec 6>&1
28785+ECHO=${lt_ECHO-echo}
28786+if test "X$1" = X--no-reexec; then
28787+  # Discard the --no-reexec flag, and continue.
28788+  shift
28789+elif test "X$1" = X--fallback-echo; then
28790+  # Avoid inline document here, it may be left over
28791+  :
28792+elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
28793+  # Yippee, $ECHO works!
28794+  :
28795+else
28796+  # Restart under the correct shell.
28797+  exec $SHELL "$0" --no-reexec ${1+"$@"}
28798+fi
28799+
28800+if test "X$1" = X--fallback-echo; then
28801+  # used as fallback echo
28802+  shift
28803+  cat <<_LT_EOF
28804+$*
28805+_LT_EOF
28806+  exit 0
28807+fi
28808+
28809+# The HP-UX ksh and POSIX shell print the target directory to stdout
28810+# if CDPATH is set.
28811+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
28812+
28813+if test -z "$lt_ECHO"; then
28814+  if test "X${echo_test_string+set}" != Xset; then
28815+    # find a string as large as possible, as long as the shell can cope with it
28816+    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
28817+      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
28818+      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
28819+	 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
28820+      then
28821+        break
28822+      fi
28823+    done
28824+  fi
28825+
28826+  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
28827+     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
28828+     test "X$echo_testing_string" = "X$echo_test_string"; then
28829+    :
28830+  else
28831+    # The Solaris, AIX, and Digital Unix default echo programs unquote
28832+    # backslashes.  This makes it impossible to quote backslashes using
28833+    #   echo "$something" | sed 's/\\/\\\\/g'
28834+    #
28835+    # So, first we look for a working echo in the user's PATH.
28836+
28837+    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
28838+    for dir in $PATH /usr/ucb; do
28839+      IFS="$lt_save_ifs"
28840+      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
28841+         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
28842+         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
28843+         test "X$echo_testing_string" = "X$echo_test_string"; then
28844+        ECHO="$dir/echo"
28845+        break
28846+      fi
28847+    done
28848+    IFS="$lt_save_ifs"
28849+
28850+    if test "X$ECHO" = Xecho; then
28851+      # We didn't find a better echo, so look for alternatives.
28852+      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
28853+         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
28854+         test "X$echo_testing_string" = "X$echo_test_string"; then
28855+        # This shell has a builtin print -r that does the trick.
28856+        ECHO='print -r'
28857+      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
28858+	   test "X$CONFIG_SHELL" != X/bin/ksh; then
28859+        # If we have ksh, try running configure again with it.
28860+        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
28861+        export ORIGINAL_CONFIG_SHELL
28862+        CONFIG_SHELL=/bin/ksh
28863+        export CONFIG_SHELL
28864+        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
28865+      else
28866+        # Try using printf.
28867+        ECHO='printf %s\n'
28868+        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
28869+	   echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
28870+	   test "X$echo_testing_string" = "X$echo_test_string"; then
28871+	  # Cool, printf works
28872+	  :
28873+        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
28874+	     test "X$echo_testing_string" = 'X\t' &&
28875+	     echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
28876+	     test "X$echo_testing_string" = "X$echo_test_string"; then
28877+	  CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
28878+	  export CONFIG_SHELL
28879+	  SHELL="$CONFIG_SHELL"
28880+	  export SHELL
28881+	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
28882+        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
28883+	     test "X$echo_testing_string" = 'X\t' &&
28884+	     echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
28885+	     test "X$echo_testing_string" = "X$echo_test_string"; then
28886+	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
28887+        else
28888+	  # maybe with a smaller string...
28889+	  prev=:
28890+
28891+	  for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
28892+	    if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
28893+	    then
28894+	      break
28895+	    fi
28896+	    prev="$cmd"
28897+	  done
28898+
28899+	  if test "$prev" != 'sed 50q "$0"'; then
28900+	    echo_test_string=`eval $prev`
28901+	    export echo_test_string
28902+	    exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
28903+	  else
28904+	    # Oops.  We lost completely, so just stick with echo.
28905+	    ECHO=echo
28906+	  fi
28907+        fi
28908+      fi
28909+    fi
28910+  fi
28911+fi
28912+
28913+# Copy echo and quote the copy suitably for passing to libtool from
28914+# the Makefile, instead of quoting the original, which is used later.
28915+lt_ECHO=$ECHO
28916+if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
28917+   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
28918+fi
28919+
28920+
28921+
28922+
28923+exec 7<&0 </dev/null 6>&1
28924+
28925+# Name of the host.
28926+# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
28927+# so uname gets run too.
28928+ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
28929
28930 #
28931 # Initializations.
28932 #
28933 ac_default_prefix=/usr/local
28934+ac_clean_files=
28935 ac_config_libobj_dir=.
28936+LIBOBJS=
28937 cross_compiling=no
28938 subdirs=
28939 MFLAGS=
28940 MAKEFLAGS=
28941 SHELL=${CONFIG_SHELL-/bin/sh}
28942
28943-# Maximum number of lines to put in a shell here document.
28944-# This variable seems obsolete.  It should probably be removed, and
28945-# only ac_max_sed_lines should be used.
28946-: ${ac_max_here_lines=38}
28947-
28948 # Identity of this package.
28949-PACKAGE_NAME=
28950-PACKAGE_TARNAME=
28951-PACKAGE_VERSION=
28952-PACKAGE_STRING=
28953-PACKAGE_BUGREPORT=
28954+PACKAGE_NAME='FULL-PACKAGE-NAME'
28955+PACKAGE_TARNAME='full-package-name'
28956+PACKAGE_VERSION='VERSION'
28957+PACKAGE_STRING='FULL-PACKAGE-NAME VERSION'
28958+PACKAGE_BUGREPORT='BUG-REPORT-ADDRESS'
28959
28960 ac_unique_file="Main.c"
28961-ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS armcxx armcc CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT CC CFLAGS ac_ct_CC INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CXXCPP X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS LIBVERSION VERSION MAKEDEPEND LIBOBJS LTLIBOBJS'
28962+# Factoring default headers for most tests.
28963+ac_includes_default="\
28964+#include <stdio.h>
28965+#ifdef HAVE_SYS_TYPES_H
28966+# include <sys/types.h>
28967+#endif
28968+#ifdef HAVE_SYS_STAT_H
28969+# include <sys/stat.h>
28970+#endif
28971+#ifdef STDC_HEADERS
28972+# include <stdlib.h>
28973+# include <stddef.h>
28974+#else
28975+# ifdef HAVE_STDLIB_H
28976+#  include <stdlib.h>
28977+# endif
28978+#endif
28979+#ifdef HAVE_STRING_H
28980+# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
28981+#  include <memory.h>
28982+# endif
28983+# include <string.h>
28984+#endif
28985+#ifdef HAVE_STRINGS_H
28986+# include <strings.h>
28987+#endif
28988+#ifdef HAVE_INTTYPES_H
28989+# include <inttypes.h>
28990+#endif
28991+#ifdef HAVE_STDINT_H
28992+# include <stdint.h>
28993+#endif
28994+#ifdef HAVE_UNISTD_H
28995+# include <unistd.h>
28996+#endif"
28997+
28998+ac_subst_vars='am__EXEEXT_FALSE
28999+am__EXEEXT_TRUE
29000+LTLIBOBJS
29001+LIBOBJS
29002+CPP
29003+OTOOL64
29004+OTOOL
29005+LIPO
29006+NMEDIT
29007+DSYMUTIL
29008+lt_ECHO
29009+RANLIB
29010+AR
29011+OBJDUMP
29012+LN_S
29013+NM
29014+ac_ct_DUMPBIN
29015+DUMPBIN
29016+LD
29017+FGREP
29018+EGREP
29019+GREP
29020+SED
29021+am__fastdepCC_FALSE
29022+am__fastdepCC_TRUE
29023+CCDEPMODE
29024+AMDEPBACKSLASH
29025+AMDEP_FALSE
29026+AMDEP_TRUE
29027+am__quote
29028+am__include
29029+DEPDIR
29030+OBJEXT
29031+EXEEXT
29032+ac_ct_CC
29033+CPPFLAGS
29034+LDFLAGS
29035+CFLAGS
29036+CC
29037+LIBTOOL
29038+AM_BACKSLASH
29039+AM_DEFAULT_VERBOSITY
29040+am__untar
29041+am__tar
29042+AMTAR
29043+am__leading_dot
29044+SET_MAKE
29045+AWK
29046+mkdir_p
29047+MKDIR_P
29048+INSTALL_STRIP_PROGRAM
29049+STRIP
29050+install_sh
29051+MAKEINFO
29052+AUTOHEADER
29053+AUTOMAKE
29054+AUTOCONF
29055+ACLOCAL
29056+VERSION
29057+PACKAGE
29058+CYGPATH_W
29059+am__isrc
29060+INSTALL_DATA
29061+INSTALL_SCRIPT
29062+INSTALL_PROGRAM
29063+target_os
29064+target_vendor
29065+target_cpu
29066+target
29067+host_os
29068+host_vendor
29069+host_cpu
29070+host
29071+build_os
29072+build_vendor
29073+build_cpu
29074+build
29075+target_alias
29076+host_alias
29077+build_alias
29078+LIBS
29079+ECHO_T
29080+ECHO_N
29081+ECHO_C
29082+DEFS
29083+mandir
29084+localedir
29085+libdir
29086+psdir
29087+pdfdir
29088+dvidir
29089+htmldir
29090+infodir
29091+docdir
29092+oldincludedir
29093+includedir
29094+localstatedir
29095+sharedstatedir
29096+sysconfdir
29097+datadir
29098+datarootdir
29099+libexecdir
29100+sbindir
29101+bindir
29102+program_transform_name
29103+prefix
29104+exec_prefix
29105+PACKAGE_BUGREPORT
29106+PACKAGE_STRING
29107+PACKAGE_VERSION
29108+PACKAGE_TARNAME
29109+PACKAGE_NAME
29110+PATH_SEPARATOR
29111+SHELL'
29112 ac_subst_files=''
29113+ac_user_opts='
29114+enable_option_checking
29115+enable_silent_rules
29116+enable_static
29117+enable_shared
29118+with_pic
29119+enable_fast_install
29120+enable_dependency_tracking
29121+with_gnu_ld
29122+enable_libtool_lock
29123+'
29124+      ac_precious_vars='build_alias
29125+host_alias
29126+target_alias
29127+CC
29128+CFLAGS
29129+LDFLAGS
29130+LIBS
29131+CPPFLAGS
29132+CPP'
29133+
29134
29135 # Initialize some variables set by options.
29136 ac_init_help=
29137 ac_init_version=false
29138+ac_unrecognized_opts=
29139+ac_unrecognized_sep=
29140 # The variables have the same names as the options, with
29141 # dashes changed to underlines.
29142 cache_file=/dev/null
29143@@ -300,34 +950,48 @@
29144 # and all the variables that are supposed to be based on exec_prefix
29145 # by default will actually change.
29146 # Use braces instead of parens because sh, perl, etc. also accept them.
29147+# (The list follows the same order as the GNU Coding Standards.)
29148 bindir='${exec_prefix}/bin'
29149 sbindir='${exec_prefix}/sbin'
29150 libexecdir='${exec_prefix}/libexec'
29151-datadir='${prefix}/share'
29152+datarootdir='${prefix}/share'
29153+datadir='${datarootdir}'
29154 sysconfdir='${prefix}/etc'
29155 sharedstatedir='${prefix}/com'
29156 localstatedir='${prefix}/var'
29157-libdir='${exec_prefix}/lib'
29158 includedir='${prefix}/include'
29159 oldincludedir='/usr/include'
29160-infodir='${prefix}/info'
29161-mandir='${prefix}/man'
29162+docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
29163+infodir='${datarootdir}/info'
29164+htmldir='${docdir}'
29165+dvidir='${docdir}'
29166+pdfdir='${docdir}'
29167+psdir='${docdir}'
29168+libdir='${exec_prefix}/lib'
29169+localedir='${datarootdir}/locale'
29170+mandir='${datarootdir}/man'
29171
29172 ac_prev=
29173+ac_dashdash=
29174 for ac_option
29175 do
29176   # If the previous option needs an argument, assign it.
29177   if test -n "$ac_prev"; then
29178-    eval "$ac_prev=\$ac_option"
29179+    eval $ac_prev=\$ac_option
29180     ac_prev=
29181     continue
29182   fi
29183
29184-  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
29185+  case $ac_option in
29186+  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
29187+  *)	ac_optarg=yes ;;
29188+  esac
29189
29190   # Accept the important Cygnus configure options, so we can diagnose typos.
29191
29192-  case $ac_option in
29193+  case $ac_dashdash$ac_option in
29194+  --)
29195+    ac_dashdash=yes ;;
29196
29197   -bindir | --bindir | --bindi | --bind | --bin | --bi)
29198     ac_prev=bindir ;;
29199@@ -349,33 +1013,61 @@
29200   --config-cache | -C)
29201     cache_file=config.cache ;;
29202
29203-  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
29204+  -datadir | --datadir | --datadi | --datad)
29205     ac_prev=datadir ;;
29206-  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
29207-  | --da=*)
29208+  -datadir=* | --datadir=* | --datadi=* | --datad=*)
29209     datadir=$ac_optarg ;;
29210
29211+  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
29212+  | --dataroo | --dataro | --datar)
29213+    ac_prev=datarootdir ;;
29214+  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
29215+  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
29216+    datarootdir=$ac_optarg ;;
29217+
29218   -disable-* | --disable-*)
29219-    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
29220+    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
29221     # Reject names that are not valid shell variable names.
29222-    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
29223-      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
29224+    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
29225+      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
29226    { (exit 1); exit 1; }; }
29227-    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
29228-    eval "enable_$ac_feature=no" ;;
29229+    ac_useropt_orig=$ac_useropt
29230+    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
29231+    case $ac_user_opts in
29232+      *"
29233+"enable_$ac_useropt"
29234+"*) ;;
29235+      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
29236+	 ac_unrecognized_sep=', ';;
29237+    esac
29238+    eval enable_$ac_useropt=no ;;
29239+
29240+  -docdir | --docdir | --docdi | --doc | --do)
29241+    ac_prev=docdir ;;
29242+  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
29243+    docdir=$ac_optarg ;;
29244+
29245+  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
29246+    ac_prev=dvidir ;;
29247+  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
29248+    dvidir=$ac_optarg ;;
29249
29250   -enable-* | --enable-*)
29251-    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
29252+    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
29253     # Reject names that are not valid shell variable names.
29254-    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
29255-      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
29256+    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
29257+      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
29258    { (exit 1); exit 1; }; }
29259-    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
29260-    case $ac_option in
29261-      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
29262-      *) ac_optarg=yes ;;
29263+    ac_useropt_orig=$ac_useropt
29264+    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
29265+    case $ac_user_opts in
29266+      *"
29267+"enable_$ac_useropt"
29268+"*) ;;
29269+      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
29270+	 ac_unrecognized_sep=', ';;
29271     esac
29272-    eval "enable_$ac_feature='$ac_optarg'" ;;
29273+    eval enable_$ac_useropt=\$ac_optarg ;;
29274
29275   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
29276   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
29277@@ -402,6 +1094,12 @@
29278   -host=* | --host=* | --hos=* | --ho=*)
29279     host_alias=$ac_optarg ;;
29280
29281+  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
29282+    ac_prev=htmldir ;;
29283+  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
29284+  | --ht=*)
29285+    htmldir=$ac_optarg ;;
29286+
29287   -includedir | --includedir | --includedi | --included | --include \
29288   | --includ | --inclu | --incl | --inc)
29289     ac_prev=includedir ;;
29290@@ -426,13 +1124,16 @@
29291   | --libexe=* | --libex=* | --libe=*)
29292     libexecdir=$ac_optarg ;;
29293
29294+  -localedir | --localedir | --localedi | --localed | --locale)
29295+    ac_prev=localedir ;;
29296+  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
29297+    localedir=$ac_optarg ;;
29298+
29299   -localstatedir | --localstatedir | --localstatedi | --localstated \
29300-  | --localstate | --localstat | --localsta | --localst \
29301-  | --locals | --local | --loca | --loc | --lo)
29302+  | --localstate | --localstat | --localsta | --localst | --locals)
29303     ac_prev=localstatedir ;;
29304   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
29305-  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
29306-  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
29307+  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
29308     localstatedir=$ac_optarg ;;
29309
29310   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
29311@@ -497,6 +1198,16 @@
29312   | --progr-tra=* | --program-tr=* | --program-t=*)
29313     program_transform_name=$ac_optarg ;;
29314
29315+  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
29316+    ac_prev=pdfdir ;;
29317+  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
29318+    pdfdir=$ac_optarg ;;
29319+
29320+  -psdir | --psdir | --psdi | --psd | --ps)
29321+    ac_prev=psdir ;;
29322+  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
29323+    psdir=$ac_optarg ;;
29324+
29325   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
29326   | -silent | --silent | --silen | --sile | --sil)
29327     silent=yes ;;
29328@@ -547,26 +1258,38 @@
29329     ac_init_version=: ;;
29330
29331   -with-* | --with-*)
29332-    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
29333+    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
29334     # Reject names that are not valid shell variable names.
29335-    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
29336-      { echo "$as_me: error: invalid package name: $ac_package" >&2
29337+    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
29338+      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
29339    { (exit 1); exit 1; }; }
29340-    ac_package=`echo $ac_package| sed 's/-/_/g'`
29341-    case $ac_option in
29342-      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
29343-      *) ac_optarg=yes ;;
29344+    ac_useropt_orig=$ac_useropt
29345+    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
29346+    case $ac_user_opts in
29347+      *"
29348+"with_$ac_useropt"
29349+"*) ;;
29350+      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
29351+	 ac_unrecognized_sep=', ';;
29352     esac
29353-    eval "with_$ac_package='$ac_optarg'" ;;
29354+    eval with_$ac_useropt=\$ac_optarg ;;
29355
29356   -without-* | --without-*)
29357-    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
29358+    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
29359     # Reject names that are not valid shell variable names.
29360-    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
29361-      { echo "$as_me: error: invalid package name: $ac_package" >&2
29362+    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
29363+      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
29364    { (exit 1); exit 1; }; }
29365-    ac_package=`echo $ac_package | sed 's/-/_/g'`
29366-    eval "with_$ac_package=no" ;;
29367+    ac_useropt_orig=$ac_useropt
29368+    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
29369+    case $ac_user_opts in
29370+      *"
29371+"with_$ac_useropt"
29372+"*) ;;
29373+      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
29374+	 ac_unrecognized_sep=', ';;
29375+    esac
29376+    eval with_$ac_useropt=no ;;
29377
29378   --x)
29379     # Obsolete; use --with-x.
29380@@ -586,7 +1309,7 @@
29381   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
29382     x_libraries=$ac_optarg ;;
29383
29384-  -*) { echo "$as_me: error: unrecognized option: $ac_option
29385+  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
29386 Try \`$0 --help' for more information." >&2
29387    { (exit 1); exit 1; }; }
29388     ;;
29389@@ -595,17 +1318,16 @@
29390     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
29391     # Reject names that are not valid shell variable names.
29392     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
29393-      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
29394+      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
29395    { (exit 1); exit 1; }; }
29396-    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
29397-    eval "$ac_envvar='$ac_optarg'"
29398+    eval $ac_envvar=\$ac_optarg
29399     export $ac_envvar ;;
29400
29401   *)
29402     # FIXME: should be removed in autoconf 3.0.
29403-    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
29404+    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
29405     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
29406-      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
29407+      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
29408     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
29409     ;;
29410
29411@@ -614,31 +1336,39 @@
29412
29413 if test -n "$ac_prev"; then
29414   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
29415-  { echo "$as_me: error: missing argument to $ac_option" >&2
29416+  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
29417    { (exit 1); exit 1; }; }
29418 fi
29419
29420-# Be sure to have absolute paths.
29421-for ac_var in exec_prefix prefix
29422-do
29423-  eval ac_val=$`echo $ac_var`
29424-  case $ac_val in
29425-    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
29426-    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
29427+if test -n "$ac_unrecognized_opts"; then
29428+  case $enable_option_checking in
29429+    no) ;;
29430+    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
29431    { (exit 1); exit 1; }; };;
29432+    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
29433   esac
29434-done
29435+fi
29436
29437-# Be sure to have absolute paths.
29438-for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
29439-	      localstatedir libdir includedir oldincludedir infodir mandir
29440+# Check all directory arguments for consistency.
29441+for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
29442+		datadir sysconfdir sharedstatedir localstatedir includedir \
29443+		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
29444+		libdir localedir mandir
29445 do
29446-  eval ac_val=$`echo $ac_var`
29447+  eval ac_val=\$$ac_var
29448+  # Remove trailing slashes.
29449   case $ac_val in
29450-    [\\/$]* | ?:[\\/]* ) ;;
29451-    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
29452-   { (exit 1); exit 1; }; };;
29453+    */ )
29454+      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
29455+      eval $ac_var=\$ac_val;;
29456+  esac
29457+  # Be sure to have absolute directory names.
29458+  case $ac_val in
29459+    [\\/$]* | ?:[\\/]* )  continue;;
29460+    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
29461   esac
29462+  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
29463+   { (exit 1); exit 1; }; }
29464 done
29465
29466 # There might be people who depend on the old broken behavior: `$host'
29467@@ -652,7 +1382,7 @@
29468 if test "x$host_alias" != x; then
29469   if test "x$build_alias" = x; then
29470     cross_compiling=maybe
29471-    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
29472+    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
29473     If a cross compiler is detected then cross compile mode will be used." >&2
29474   elif test "x$build_alias" != "x$host_alias"; then
29475     cross_compiling=yes
29476@@ -665,82 +1395,76 @@
29477 test "$silent" = yes && exec 6>/dev/null
29478
29479
29480+ac_pwd=`pwd` && test -n "$ac_pwd" &&
29481+ac_ls_di=`ls -di .` &&
29482+ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
29483+  { $as_echo "$as_me: error: working directory cannot be determined" >&2
29484+   { (exit 1); exit 1; }; }
29485+test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
29486+  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
29487+   { (exit 1); exit 1; }; }
29488+
29489+
29490 # Find the source files, if location was not specified.
29491 if test -z "$srcdir"; then
29492   ac_srcdir_defaulted=yes
29493-  # Try the directory containing this script, then its parent.
29494-  ac_confdir=`(dirname "$0") 2>/dev/null ||
29495-$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29496-	 X"$0" : 'X\(//\)[^/]' \| \
29497-	 X"$0" : 'X\(//\)$' \| \
29498-	 X"$0" : 'X\(/\)' \| \
29499-	 .     : '\(.\)' 2>/dev/null ||
29500-echo X"$0" |
29501-    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29502-  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29503-  	  /^X\(\/\/\)$/{ s//\1/; q; }
29504-  	  /^X\(\/\).*/{ s//\1/; q; }
29505+  # Try the directory containing this script, then the parent directory.
29506+  ac_confdir=`$as_dirname -- "$as_myself" ||
29507+$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29508+	 X"$as_myself" : 'X\(//\)[^/]' \| \
29509+	 X"$as_myself" : 'X\(//\)$' \| \
29510+	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
29511+$as_echo X"$as_myself" |
29512+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29513+	    s//\1/
29514+	    q
29515+	  }
29516+	  /^X\(\/\/\)[^/].*/{
29517+	    s//\1/
29518+	    q
29519+	  }
29520+	  /^X\(\/\/\)$/{
29521+	    s//\1/
29522+	    q
29523+	  }
29524+	  /^X\(\/\).*/{
29525+	    s//\1/
29526+	    q
29527+	  }
29528   	  s/.*/./; q'`
29529   srcdir=$ac_confdir
29530-  if test ! -r $srcdir/$ac_unique_file; then
29531+  if test ! -r "$srcdir/$ac_unique_file"; then
29532     srcdir=..
29533   fi
29534 else
29535   ac_srcdir_defaulted=no
29536 fi
29537-if test ! -r $srcdir/$ac_unique_file; then
29538-  if test "$ac_srcdir_defaulted" = yes; then
29539-    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
29540-   { (exit 1); exit 1; }; }
29541-  else
29542-    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
29543+if test ! -r "$srcdir/$ac_unique_file"; then
29544+  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
29545+  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
29546    { (exit 1); exit 1; }; }
29547   fi
29548-fi
29549-(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
29550-  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
29551+ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
29552+ac_abs_confdir=`(
29553+	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
29554    { (exit 1); exit 1; }; }
29555-srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
29556-ac_env_build_alias_set=${build_alias+set}
29557-ac_env_build_alias_value=$build_alias
29558-ac_cv_env_build_alias_set=${build_alias+set}
29559-ac_cv_env_build_alias_value=$build_alias
29560-ac_env_host_alias_set=${host_alias+set}
29561-ac_env_host_alias_value=$host_alias
29562-ac_cv_env_host_alias_set=${host_alias+set}
29563-ac_cv_env_host_alias_value=$host_alias
29564-ac_env_target_alias_set=${target_alias+set}
29565-ac_env_target_alias_value=$target_alias
29566-ac_cv_env_target_alias_set=${target_alias+set}
29567-ac_cv_env_target_alias_value=$target_alias
29568-ac_env_CXX_set=${CXX+set}
29569-ac_env_CXX_value=$CXX
29570-ac_cv_env_CXX_set=${CXX+set}
29571-ac_cv_env_CXX_value=$CXX
29572-ac_env_CXXFLAGS_set=${CXXFLAGS+set}
29573-ac_env_CXXFLAGS_value=$CXXFLAGS
29574-ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
29575-ac_cv_env_CXXFLAGS_value=$CXXFLAGS
29576-ac_env_LDFLAGS_set=${LDFLAGS+set}
29577-ac_env_LDFLAGS_value=$LDFLAGS
29578-ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
29579-ac_cv_env_LDFLAGS_value=$LDFLAGS
29580-ac_env_CPPFLAGS_set=${CPPFLAGS+set}
29581-ac_env_CPPFLAGS_value=$CPPFLAGS
29582-ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
29583-ac_cv_env_CPPFLAGS_value=$CPPFLAGS
29584-ac_env_CC_set=${CC+set}
29585-ac_env_CC_value=$CC
29586-ac_cv_env_CC_set=${CC+set}
29587-ac_cv_env_CC_value=$CC
29588-ac_env_CFLAGS_set=${CFLAGS+set}
29589-ac_env_CFLAGS_value=$CFLAGS
29590-ac_cv_env_CFLAGS_set=${CFLAGS+set}
29591-ac_cv_env_CFLAGS_value=$CFLAGS
29592-ac_env_CXXCPP_set=${CXXCPP+set}
29593-ac_env_CXXCPP_value=$CXXCPP
29594-ac_cv_env_CXXCPP_set=${CXXCPP+set}
29595-ac_cv_env_CXXCPP_value=$CXXCPP
29596+	pwd)`
29597+# When building in place, set srcdir=.
29598+if test "$ac_abs_confdir" = "$ac_pwd"; then
29599+  srcdir=.
29600+fi
29601+# Remove unnecessary trailing slashes from srcdir.
29602+# Double slashes in file names in object file debugging info
29603+# mess up M-x gdb in Emacs.
29604+case $srcdir in
29605+*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
29606+esac
29607+for ac_var in $ac_precious_vars; do
29608+  eval ac_env_${ac_var}_set=\${${ac_var}+set}
29609+  eval ac_env_${ac_var}_value=\$${ac_var}
29610+  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
29611+  eval ac_cv_env_${ac_var}_value=\$${ac_var}
29612+done
29613
29614 #
29615 # Report the --help message.
29616@@ -749,7 +1473,7 @@
29617   # Omit some internal or obsolete options to make the list less imposing.
29618   # This message is too long to be a string in the A/UX 3.1 sh.
29619   cat <<_ACEOF
29620-\`configure' configures this package to adapt to many kinds of systems.
29621+\`configure' configures FULL-PACKAGE-NAME VERSION to adapt to many kinds of systems.
29622
29623 Usage: $0 [OPTION]... [VAR=VALUE]...
29624
29625@@ -769,9 +1493,6 @@
29626   -n, --no-create         do not create output files
29627       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
29628
29629-_ACEOF
29630-
29631-  cat <<_ACEOF
29632 Installation directories:
29633   --prefix=PREFIX         install architecture-independent files in PREFIX
29634 			  [$ac_default_prefix]
29635@@ -789,161 +1510,163 @@
29636   --bindir=DIR           user executables [EPREFIX/bin]
29637   --sbindir=DIR          system admin executables [EPREFIX/sbin]
29638   --libexecdir=DIR       program executables [EPREFIX/libexec]
29639-  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
29640   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
29641   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
29642   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
29643   --libdir=DIR           object code libraries [EPREFIX/lib]
29644   --includedir=DIR       C header files [PREFIX/include]
29645   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
29646-  --infodir=DIR          info documentation [PREFIX/info]
29647-  --mandir=DIR           man documentation [PREFIX/man]
29648+  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
29649+  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
29650+  --infodir=DIR           info documentation [DATAROOTDIR/info]
29651+  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
29652+  --mandir=DIR            man documentation [DATAROOTDIR/man]
29653+  --docdir=DIR            documentation root
29654+                          [DATAROOTDIR/doc/full-package-name]
29655+  --htmldir=DIR           html documentation [DOCDIR]
29656+  --dvidir=DIR            dvi documentation [DOCDIR]
29657+  --pdfdir=DIR            pdf documentation [DOCDIR]
29658+  --psdir=DIR             ps documentation [DOCDIR]
29659 _ACEOF
29660
29661   cat <<\_ACEOF
29662
29663-X features:
29664-  --x-includes=DIR    X include files are in DIR
29665-  --x-libraries=DIR   X library files are in DIR
29666+Program names:
29667+  --program-prefix=PREFIX            prepend PREFIX to installed program names
29668+  --program-suffix=SUFFIX            append SUFFIX to installed program names
29669+  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
29670+
29671+System types:
29672+  --build=BUILD     configure for building on BUILD [guessed]
29673+  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
29674+  --target=TARGET   configure for building compilers for TARGET [HOST]
29675 _ACEOF
29676 fi
29677
29678 if test -n "$ac_init_help"; then
29679-
29680+  case $ac_init_help in
29681+     short | recursive ) echo "Configuration of FULL-PACKAGE-NAME VERSION:";;
29682+   esac
29683   cat <<\_ACEOF
29684
29685+Optional Features:
29686+  --disable-option-checking  ignore unrecognized --enable/--with options
29687+  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
29688+  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
29689+  --enable-silent-rules          less verbose build output (undo: `make V=1')
29690+  --disable-silent-rules         verbose build output (undo: `make V=0')
29691+  --enable-static[=PKGS]  build static libraries [default=no]
29692+  --enable-shared[=PKGS]  build shared libraries [default=yes]
29693+  --enable-fast-install[=PKGS]
29694+                          optimize for fast installation [default=yes]
29695+  --disable-dependency-tracking  speeds up one-time build
29696+  --enable-dependency-tracking   do not reject slow dependency extractors
29697+  --disable-libtool-lock  avoid locking (might break parallel builds)
29698+
29699 Optional Packages:
29700   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
29701   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
29702-  --with-x                use the X Window System
29703+  --with-pic              try to use only PIC/non-PIC objects [default=use
29704+                          both]
29705+  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
29706
29707 Some influential environment variables:
29708-  CXX         C++ compiler command
29709-  CXXFLAGS    C++ compiler flags
29710-  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
29711-              nonstandard directory <lib dir>
29712-  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
29713-              headers in a nonstandard directory <include dir>
29714   CC          C compiler command
29715   CFLAGS      C compiler flags
29716-  CXXCPP      C++ preprocessor
29717+  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
29718+              nonstandard directory <lib dir>
29719+  LIBS        libraries to pass to the linker, e.g. -l<library>
29720+  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
29721+              you have headers in a nonstandard directory <include dir>
29722+  CPP         C preprocessor
29723
29724 Use these variables to override the choices made by `configure' or to help
29725 it to find libraries and programs with nonstandard names/locations.
29726
29727+Report bugs to <BUG-REPORT-ADDRESS>.
29728 _ACEOF
29729+ac_status=$?
29730 fi
29731
29732 if test "$ac_init_help" = "recursive"; then
29733   # If there are subdirs, report their specific --help.
29734-  ac_popdir=`pwd`
29735   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
29736-    test -d $ac_dir || continue
29737+    test -d "$ac_dir" ||
29738+      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
29739+      continue
29740     ac_builddir=.
29741
29742-if test "$ac_dir" != .; then
29743-  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
29744-  # A "../" for each directory in $ac_dir_suffix.
29745-  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
29746-else
29747-  ac_dir_suffix= ac_top_builddir=
29748-fi
29749-
29750-case $srcdir in
29751-  .)  # No --srcdir option.  We are building in place.
29752-    ac_srcdir=.
29753-    if test -z "$ac_top_builddir"; then
29754-       ac_top_srcdir=.
29755-    else
29756-       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
29757-    fi ;;
29758-  [\\/]* | ?:[\\/]* )  # Absolute path.
29759-    ac_srcdir=$srcdir$ac_dir_suffix;
29760-    ac_top_srcdir=$srcdir ;;
29761-  *) # Relative path.
29762-    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
29763-    ac_top_srcdir=$ac_top_builddir$srcdir ;;
29764-esac
29765-
29766-# Do not use `cd foo && pwd` to compute absolute paths, because
29767-# the directories may not exist.
29768-case `pwd` in
29769-.) ac_abs_builddir="$ac_dir";;
29770-*)
29771   case "$ac_dir" in
29772-  .) ac_abs_builddir=`pwd`;;
29773-  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
29774-  *) ac_abs_builddir=`pwd`/"$ac_dir";;
29775-  esac;;
29776-esac
29777-case $ac_abs_builddir in
29778-.) ac_abs_top_builddir=${ac_top_builddir}.;;
29779-*)
29780-  case ${ac_top_builddir}. in
29781-  .) ac_abs_top_builddir=$ac_abs_builddir;;
29782-  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
29783-  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
29784-  esac;;
29785-esac
29786-case $ac_abs_builddir in
29787-.) ac_abs_srcdir=$ac_srcdir;;
29788-*)
29789-  case $ac_srcdir in
29790-  .) ac_abs_srcdir=$ac_abs_builddir;;
29791-  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
29792-  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
29793-  esac;;
29794-esac
29795-case $ac_abs_builddir in
29796-.) ac_abs_top_srcdir=$ac_top_srcdir;;
29797+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
29798 *)
29799-  case $ac_top_srcdir in
29800-  .) ac_abs_top_srcdir=$ac_abs_builddir;;
29801-  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
29802-  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
29803+  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
29804+  # A ".." for each directory in $ac_dir_suffix.
29805+  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
29806+  case $ac_top_builddir_sub in
29807+  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
29808+  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
29809   esac;;
29810 esac
29811+ac_abs_top_builddir=$ac_pwd
29812+ac_abs_builddir=$ac_pwd$ac_dir_suffix
29813+# for backward compatibility:
29814+ac_top_builddir=$ac_top_build_prefix
29815
29816-    cd $ac_dir
29817-    # Check for guested configure; otherwise get Cygnus style configure.
29818-    if test -f $ac_srcdir/configure.gnu; then
29819-      echo
29820-      $SHELL $ac_srcdir/configure.gnu  --help=recursive
29821-    elif test -f $ac_srcdir/configure; then
29822-      echo
29823-      $SHELL $ac_srcdir/configure  --help=recursive
29824-    elif test -f $ac_srcdir/configure.ac ||
29825-	   test -f $ac_srcdir/configure.in; then
29826-      echo
29827-      $ac_configure --help
29828-    else
29829-      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
29830-    fi
29831-    cd $ac_popdir
29832+case $srcdir in
29833+  .)  # We are building in place.
29834+    ac_srcdir=.
29835+    ac_top_srcdir=$ac_top_builddir_sub
29836+    ac_abs_top_srcdir=$ac_pwd ;;
29837+  [\\/]* | ?:[\\/]* )  # Absolute name.
29838+    ac_srcdir=$srcdir$ac_dir_suffix;
29839+    ac_top_srcdir=$srcdir
29840+    ac_abs_top_srcdir=$srcdir ;;
29841+  *) # Relative name.
29842+    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
29843+    ac_top_srcdir=$ac_top_build_prefix$srcdir
29844+    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
29845+esac
29846+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
29847+
29848+    cd "$ac_dir" || { ac_status=$?; continue; }
29849+    # Check for guested configure.
29850+    if test -f "$ac_srcdir/configure.gnu"; then
29851+      echo &&
29852+      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
29853+    elif test -f "$ac_srcdir/configure"; then
29854+      echo &&
29855+      $SHELL "$ac_srcdir/configure" --help=recursive
29856+    else
29857+      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
29858+    fi || ac_status=$?
29859+    cd "$ac_pwd" || { ac_status=$?; break; }
29860   done
29861 fi
29862
29863-test -n "$ac_init_help" && exit 0
29864+test -n "$ac_init_help" && exit $ac_status
29865 if $ac_init_version; then
29866   cat <<\_ACEOF
29867+FULL-PACKAGE-NAME configure VERSION
29868+generated by GNU Autoconf 2.63
29869
29870-Copyright (C) 2003 Free Software Foundation, Inc.
29871+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
29872+2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
29873 This configure script is free software; the Free Software Foundation
29874 gives unlimited permission to copy, distribute and modify it.
29875 _ACEOF
29876-  exit 0
29877+  exit
29878 fi
29879-exec 5>config.log
29880-cat >&5 <<_ACEOF
29881+cat >config.log <<_ACEOF
29882 This file contains any messages produced by compilers while
29883 running configure, to aid debugging if configure makes a mistake.
29884
29885-It was created by $as_me, which was
29886-generated by GNU Autoconf 2.59.  Invocation command line was
29887+It was created by FULL-PACKAGE-NAME $as_me VERSION, which was
29888+generated by GNU Autoconf 2.63.  Invocation command line was
29889
29890   $ $0 $@
29891
29892 _ACEOF
29893+exec 5>>config.log
29894 {
29895 cat <<_ASUNAME
29896 ## --------- ##
29897@@ -962,7 +1685,7 @@
29898 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
29899 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
29900 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
29901-hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
29902+/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
29903 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
29904 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
29905 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
29906@@ -974,8 +1697,9 @@
29907 do
29908   IFS=$as_save_IFS
29909   test -z "$as_dir" && as_dir=.
29910-  echo "PATH: $as_dir"
29911+  $as_echo "PATH: $as_dir"
29912 done
29913+IFS=$as_save_IFS
29914
29915 } >&5
29916
29917@@ -997,7 +1721,6 @@
29918 ac_configure_args=
29919 ac_configure_args0=
29920 ac_configure_args1=
29921-ac_sep=
29922 ac_must_keep_next=false
29923 for ac_pass in 1 2
29924 do
29925@@ -1008,8 +1731,8 @@
29926     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
29927     | -silent | --silent | --silen | --sile | --sil)
29928       continue ;;
29929-    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
29930-      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
29931+    *\'*)
29932+      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
29933     esac
29934     case $ac_pass in
29935     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
29936@@ -1030,9 +1753,7 @@
29937 	  -* ) ac_must_keep_next=true ;;
29938 	esac
29939       fi
29940-      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
29941-      # Get rid of the leading space.
29942-      ac_sep=" "
29943+      ac_configure_args="$ac_configure_args '$ac_arg'"
29944       ;;
29945     esac
29946   done
29947@@ -1043,8 +1764,8 @@
29948 # When interrupted or exit'd, cleanup temporary files, and complete
29949 # config.log.  We remove comments because anyway the quotes in there
29950 # would cause problems or look ugly.
29951-# WARNING: Be sure not to use single quotes in there, as some shells,
29952-# such as our DU 5.0 friend, will then `close' the trap.
29953+# WARNING: Use '\'' to represent an apostrophe within the trap.
29954+# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
29955 trap 'exit_status=$?
29956   # Save into config.log some information that might help in debugging.
29957   {
29958@@ -1057,20 +1778,35 @@
29959 _ASBOX
29960     echo
29961     # The following way of writing the cache mishandles newlines in values,
29962-{
29963+(
29964+  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
29965+    eval ac_val=\$$ac_var
29966+    case $ac_val in #(
29967+    *${as_nl}*)
29968+      case $ac_var in #(
29969+      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
29970+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
29971+      esac
29972+      case $ac_var in #(
29973+      _ | IFS | as_nl) ;; #(
29974+      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
29975+      *) $as_unset $ac_var ;;
29976+      esac ;;
29977+    esac
29978+  done
29979   (set) 2>&1 |
29980-    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
29981-    *ac_space=\ *)
29982+    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
29983+    *${as_nl}ac_space=\ *)
29984       sed -n \
29985-	"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
29986-	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
29987-      ;;
29988+	"s/'\''/'\''\\\\'\'''\''/g;
29989+	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
29990+      ;; #(
29991     *)
29992-      sed -n \
29993-	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
29994+      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
29995       ;;
29996-    esac;
29997-}
29998+    esac |
29999+    sort
30000+)
30001     echo
30002
30003     cat <<\_ASBOX
30004@@ -1081,22 +1817,28 @@
30005     echo
30006     for ac_var in $ac_subst_vars
30007     do
30008-      eval ac_val=$`echo $ac_var`
30009-      echo "$ac_var='"'"'$ac_val'"'"'"
30010+      eval ac_val=\$$ac_var
30011+      case $ac_val in
30012+      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
30013+      esac
30014+      $as_echo "$ac_var='\''$ac_val'\''"
30015     done | sort
30016     echo
30017
30018     if test -n "$ac_subst_files"; then
30019       cat <<\_ASBOX
30020-## ------------- ##
30021-## Output files. ##
30022-## ------------- ##
30023+## ------------------- ##
30024+## File substitutions. ##
30025+## ------------------- ##
30026 _ASBOX
30027       echo
30028       for ac_var in $ac_subst_files
30029       do
30030-	eval ac_val=$`echo $ac_var`
30031-	echo "$ac_var='"'"'$ac_val'"'"'"
30032+	eval ac_val=\$$ac_var
30033+	case $ac_val in
30034+	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
30035+	esac
30036+	$as_echo "$ac_var='\''$ac_val'\''"
30037       done | sort
30038       echo
30039     fi
30040@@ -1108,15 +1850,15 @@
30041 ## ----------- ##
30042 _ASBOX
30043       echo
30044-      sed "/^$/d" confdefs.h | sort
30045+      cat confdefs.h
30046       echo
30047     fi
30048     test "$ac_signal" != 0 &&
30049-      echo "$as_me: caught signal $ac_signal"
30050-    echo "$as_me: exit $exit_status"
30051+      $as_echo "$as_me: caught signal $ac_signal"
30052+    $as_echo "$as_me: exit $exit_status"
30053   } >&5
30054-  rm -f core *.core &&
30055-  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
30056+  rm -f core *.core core.conftest.* &&
30057+    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
30058     exit $exit_status
30059      ' 0
30060 for ac_signal in 1 2 13 15; do
30061@@ -1125,9 +1867,7 @@
30062 ac_signal=0
30063
30064 # confdefs.h avoids OS command line length limits that DEFS can exceed.
30065-rm -rf conftest* confdefs.h
30066-# AIX cpp loses on an empty file, so make sure it contains at least a newline.
30067-echo >confdefs.h
30068+rm -f -r conftest* confdefs.h
30069
30070 # Predefined preprocessor variables.
30071
30072@@ -1157,18 +1897,24 @@
30073
30074
30075 # Let the site file select an alternate cache file if it wants to.
30076-# Prefer explicitly selected file to automatically selected ones.
30077-if test -z "$CONFIG_SITE"; then
30078-  if test "x$prefix" != xNONE; then
30079-    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
30080+# Prefer an explicitly selected file to automatically selected ones.
30081+ac_site_file1=NONE
30082+ac_site_file2=NONE
30083+if test -n "$CONFIG_SITE"; then
30084+  ac_site_file1=$CONFIG_SITE
30085+elif test "x$prefix" != xNONE; then
30086+  ac_site_file1=$prefix/share/config.site
30087+  ac_site_file2=$prefix/etc/config.site
30088   else
30089-    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
30090-  fi
30091+  ac_site_file1=$ac_default_prefix/share/config.site
30092+  ac_site_file2=$ac_default_prefix/etc/config.site
30093 fi
30094-for ac_site_file in $CONFIG_SITE; do
30095+for ac_site_file in "$ac_site_file1" "$ac_site_file2"
30096+do
30097+  test "x$ac_site_file" = xNONE && continue
30098   if test -r "$ac_site_file"; then
30099-    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
30100-echo "$as_me: loading site script $ac_site_file" >&6;}
30101+    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
30102+$as_echo "$as_me: loading site script $ac_site_file" >&6;}
30103     sed 's/^/| /' "$ac_site_file" >&5
30104     . "$ac_site_file"
30105   fi
30106@@ -1178,54 +1924,61 @@
30107   # Some versions of bash will fail to source /dev/null (special
30108   # files actually), so we avoid doing that.
30109   if test -f "$cache_file"; then
30110-    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
30111-echo "$as_me: loading cache $cache_file" >&6;}
30112+    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
30113+$as_echo "$as_me: loading cache $cache_file" >&6;}
30114     case $cache_file in
30115-      [\\/]* | ?:[\\/]* ) . $cache_file;;
30116-      *)                      . ./$cache_file;;
30117+      [\\/]* | ?:[\\/]* ) . "$cache_file";;
30118+      *)                      . "./$cache_file";;
30119     esac
30120   fi
30121 else
30122-  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
30123-echo "$as_me: creating cache $cache_file" >&6;}
30124+  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
30125+$as_echo "$as_me: creating cache $cache_file" >&6;}
30126   >$cache_file
30127 fi
30128
30129 # Check that the precious variables saved in the cache have kept the same
30130 # value.
30131 ac_cache_corrupted=false
30132-for ac_var in `(set) 2>&1 |
30133-	       sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
30134+for ac_var in $ac_precious_vars; do
30135   eval ac_old_set=\$ac_cv_env_${ac_var}_set
30136   eval ac_new_set=\$ac_env_${ac_var}_set
30137-  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
30138-  eval ac_new_val="\$ac_env_${ac_var}_value"
30139+  eval ac_old_val=\$ac_cv_env_${ac_var}_value
30140+  eval ac_new_val=\$ac_env_${ac_var}_value
30141   case $ac_old_set,$ac_new_set in
30142     set,)
30143-      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
30144-echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
30145+      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
30146+$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
30147       ac_cache_corrupted=: ;;
30148     ,set)
30149-      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
30150-echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
30151+      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
30152+$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
30153       ac_cache_corrupted=: ;;
30154     ,);;
30155     *)
30156       if test "x$ac_old_val" != "x$ac_new_val"; then
30157-	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
30158-echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
30159-	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
30160-echo "$as_me:   former value:  $ac_old_val" >&2;}
30161-	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
30162-echo "$as_me:   current value: $ac_new_val" >&2;}
30163+	# differences in whitespace do not lead to failure.
30164+	ac_old_val_w=`echo x $ac_old_val`
30165+	ac_new_val_w=`echo x $ac_new_val`
30166+	if test "$ac_old_val_w" != "$ac_new_val_w"; then
30167+	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
30168+$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
30169 	ac_cache_corrupted=:
30170+	else
30171+	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
30172+$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
30173+	  eval $ac_var=\$ac_old_val
30174+	fi
30175+	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
30176+$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
30177+	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
30178+$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
30179       fi;;
30180   esac
30181   # Pass precious variables to config.status.
30182   if test "$ac_new_set" = set; then
30183     case $ac_new_val in
30184-    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
30185-      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
30186+    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
30187     *) ac_arg=$ac_var=$ac_new_val ;;
30188     esac
30189     case " $ac_configure_args " in
30190@@ -1235,18 +1988,15 @@
30191   fi
30192 done
30193 if $ac_cache_corrupted; then
30194-  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
30195-echo "$as_me: error: changes in the environment can compromise the build" >&2;}
30196-  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
30197-echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
30198+  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
30199+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
30200+  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
30201+$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
30202+  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
30203+$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
30204    { (exit 1); exit 1; }; }
30205 fi
30206
30207-ac_ext=c
30208-ac_cpp='$CPP $CPPFLAGS'
30209-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30210-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30211-ac_compiler_gnu=$ac_cv_c_compiler_gnu
30212
30213
30214
30215@@ -1269,665 +2019,807 @@
30216
30217
30218
30219-CXXFLAGS="-O3"
30220-CPPFLAGS="-O3"
30221
30222
30223-if test -d "../nx-X11/exports/include" ; then
30224-    CXXFLAGS="$CXXFLAGS -I../nx-X11/exports/include"
30225-    LIBS="$LIBS -L../nx-X11/exports/lib"
30226-fi
30227+ac_ext=c
30228+ac_cpp='$CPP $CPPFLAGS'
30229+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30230+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30231+ac_compiler_gnu=$ac_cv_c_compiler_gnu
30232
30233
30234-if test "${with_ipaq}" = yes; then
30235-  echo -e "enabling ipaq configuration"
30236-  CXX="arm-linux-c++"
30237-  CC="arm-linux-gcc"
30238-  unset ac_cv_prog_armcxx
30239-  unset ac_cv_prog_armcc
30240-  unset ac_cv_prog_CXXCPP
30241-  # Extract the first word of ""$CXX"", so it can be a program name with args.
30242-set dummy "$CXX"; ac_word=$2
30243-echo "$as_me:$LINENO: checking for $ac_word" >&5
30244-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30245-if test "${ac_cv_prog_armcxx+set}" = set; then
30246-  echo $ECHO_N "(cached) $ECHO_C" >&6
30247-else
30248-  if test -n "$armcxx"; then
30249-  ac_cv_prog_armcxx="$armcxx" # Let the user override the test.
30250-else
30251-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30252-for as_dir in $PATH
30253-do
30254-  IFS=$as_save_IFS
30255-  test -z "$as_dir" && as_dir=.
30256-  for ac_exec_ext in '' $ac_executable_extensions; do
30257-  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30258-    ac_cv_prog_armcxx="yes"
30259-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30260-    break 2
30261-  fi
30262-done
30263-done
30264
30265-  test -z "$ac_cv_prog_armcxx" && ac_cv_prog_armcxx="no"
30266-fi
30267+ac_aux_dir=
30268+for ac_dir in conf "$srcdir"/conf; do
30269+  if test -f "$ac_dir/install-sh"; then
30270+    ac_aux_dir=$ac_dir
30271+    ac_install_sh="$ac_aux_dir/install-sh -c"
30272+    break
30273+  elif test -f "$ac_dir/install.sh"; then
30274+    ac_aux_dir=$ac_dir
30275+    ac_install_sh="$ac_aux_dir/install.sh -c"
30276+    break
30277+  elif test -f "$ac_dir/shtool"; then
30278+    ac_aux_dir=$ac_dir
30279+    ac_install_sh="$ac_aux_dir/shtool install -c"
30280+    break
30281 fi
30282-armcxx=$ac_cv_prog_armcxx
30283-if test -n "$armcxx"; then
30284-  echo "$as_me:$LINENO: result: $armcxx" >&5
30285-echo "${ECHO_T}$armcxx" >&6
30286-else
30287-  echo "$as_me:$LINENO: result: no" >&5
30288-echo "${ECHO_T}no" >&6
30289+done
30290+if test -z "$ac_aux_dir"; then
30291+  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in conf \"$srcdir\"/conf" >&5
30292+$as_echo "$as_me: error: cannot find install-sh or install.sh in conf \"$srcdir\"/conf" >&2;}
30293+   { (exit 1); exit 1; }; }
30294 fi
30295
30296-  # Extract the first word of ""$CC"", so it can be a program name with args.
30297-set dummy "$CC"; ac_word=$2
30298-echo "$as_me:$LINENO: checking for $ac_word" >&5
30299-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30300-if test "${ac_cv_prog_armcc+set}" = set; then
30301-  echo $ECHO_N "(cached) $ECHO_C" >&6
30302-else
30303-  if test -n "$armcc"; then
30304-  ac_cv_prog_armcc="$armcc" # Let the user override the test.
30305-else
30306-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30307-for as_dir in $PATH
30308-do
30309-  IFS=$as_save_IFS
30310-  test -z "$as_dir" && as_dir=.
30311-  for ac_exec_ext in '' $ac_executable_extensions; do
30312-  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30313-    ac_cv_prog_armcc="yes"
30314-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30315-    break 2
30316-  fi
30317-done
30318-done
30319+# These three variables are undocumented and unsupported,
30320+# and are intended to be withdrawn in a future Autoconf release.
30321+# They can cause serious problems if a builder's source tree is in a directory
30322+# whose full name contains unusual characters.
30323+ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
30324+ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
30325+ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
30326
30327-  test -z "$ac_cv_prog_armcc" && ac_cv_prog_armcc="no"
30328-fi
30329-fi
30330-armcc=$ac_cv_prog_armcc
30331-if test -n "$armcc"; then
30332-  echo "$as_me:$LINENO: result: $armcc" >&5
30333-echo "${ECHO_T}$armcc" >&6
30334-else
30335-  echo "$as_me:$LINENO: result: no" >&5
30336-echo "${ECHO_T}no" >&6
30337-fi
30338
30339-  if test $armcxx = "yes" && test $armcc = "yes" ; then
30340-    ac_cv_prog_CXX="$CXX"
30341-    ac_cv_prog_CC="$CC"
30342-  else
30343-    { { echo "$as_me:$LINENO: error: installation or configuration problem: I cannot find compiler for arm-linux" >&5
30344-echo "$as_me: error: installation or configuration problem: I cannot find compiler for arm-linux" >&2;}
30345+
30346+# Make sure we can run config.sub.
30347+$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
30348+  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
30349+$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
30350    { (exit 1); exit 1; }; }
30351-  fi
30352-else
30353-  unset ac_cv_prog_CXX
30354-  unset ac_cv_prog_CC
30355-  unset ac_cv_prog_CXXCPP
30356-fi
30357
30358+{ $as_echo "$as_me:$LINENO: checking build system type" >&5
30359+$as_echo_n "checking build system type... " >&6; }
30360+if test "${ac_cv_build+set}" = set; then
30361+  $as_echo_n "(cached) " >&6
30362+else
30363+  ac_build_alias=$build_alias
30364+test "x$ac_build_alias" = x &&
30365+  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
30366+test "x$ac_build_alias" = x &&
30367+  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
30368+$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
30369+   { (exit 1); exit 1; }; }
30370+ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
30371+  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
30372+$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
30373+   { (exit 1); exit 1; }; }
30374
30375-ac_ext=cc
30376-ac_cpp='$CXXCPP $CPPFLAGS'
30377-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30378-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30379-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30380-if test -n "$ac_tool_prefix"; then
30381-  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
30382-  do
30383-    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
30384-set dummy $ac_tool_prefix$ac_prog; ac_word=$2
30385-echo "$as_me:$LINENO: checking for $ac_word" >&5
30386-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30387-if test "${ac_cv_prog_CXX+set}" = set; then
30388-  echo $ECHO_N "(cached) $ECHO_C" >&6
30389-else
30390-  if test -n "$CXX"; then
30391-  ac_cv_prog_CXX="$CXX" # Let the user override the test.
30392-else
30393-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30394-for as_dir in $PATH
30395-do
30396-  IFS=$as_save_IFS
30397-  test -z "$as_dir" && as_dir=.
30398-  for ac_exec_ext in '' $ac_executable_extensions; do
30399-  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30400-    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
30401-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30402-    break 2
30403   fi
30404-done
30405-done
30406-
30407+{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
30408+$as_echo "$ac_cv_build" >&6; }
30409+case $ac_cv_build in
30410+*-*-*) ;;
30411+*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
30412+$as_echo "$as_me: error: invalid value of canonical build" >&2;}
30413+   { (exit 1); exit 1; }; };;
30414+esac
30415+build=$ac_cv_build
30416+ac_save_IFS=$IFS; IFS='-'
30417+set x $ac_cv_build
30418+shift
30419+build_cpu=$1
30420+build_vendor=$2
30421+shift; shift
30422+# Remember, the first character of IFS is used to create $*,
30423+# except with old shells:
30424+build_os=$*
30425+IFS=$ac_save_IFS
30426+case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
30427+
30428+
30429+{ $as_echo "$as_me:$LINENO: checking host system type" >&5
30430+$as_echo_n "checking host system type... " >&6; }
30431+if test "${ac_cv_host+set}" = set; then
30432+  $as_echo_n "(cached) " >&6
30433+else
30434+  if test "x$host_alias" = x; then
30435+  ac_cv_host=$ac_cv_build
30436+else
30437+  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
30438+    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
30439+$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
30440+   { (exit 1); exit 1; }; }
30441 fi
30442+
30443 fi
30444-CXX=$ac_cv_prog_CXX
30445-if test -n "$CXX"; then
30446-  echo "$as_me:$LINENO: result: $CXX" >&5
30447-echo "${ECHO_T}$CXX" >&6
30448-else
30449-  echo "$as_me:$LINENO: result: no" >&5
30450-echo "${ECHO_T}no" >&6
30451+{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
30452+$as_echo "$ac_cv_host" >&6; }
30453+case $ac_cv_host in
30454+*-*-*) ;;
30455+*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
30456+$as_echo "$as_me: error: invalid value of canonical host" >&2;}
30457+   { (exit 1); exit 1; }; };;
30458+esac
30459+host=$ac_cv_host
30460+ac_save_IFS=$IFS; IFS='-'
30461+set x $ac_cv_host
30462+shift
30463+host_cpu=$1
30464+host_vendor=$2
30465+shift; shift
30466+# Remember, the first character of IFS is used to create $*,
30467+# except with old shells:
30468+host_os=$*
30469+IFS=$ac_save_IFS
30470+case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
30471+
30472+
30473+{ $as_echo "$as_me:$LINENO: checking target system type" >&5
30474+$as_echo_n "checking target system type... " >&6; }
30475+if test "${ac_cv_target+set}" = set; then
30476+  $as_echo_n "(cached) " >&6
30477+else
30478+  if test "x$target_alias" = x; then
30479+  ac_cv_target=$ac_cv_host
30480+else
30481+  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
30482+    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
30483+$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
30484+   { (exit 1); exit 1; }; }
30485 fi
30486
30487-    test -n "$CXX" && break
30488-  done
30489 fi
30490-if test -z "$CXX"; then
30491-  ac_ct_CXX=$CXX
30492-  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
30493-do
30494-  # Extract the first word of "$ac_prog", so it can be a program name with args.
30495-set dummy $ac_prog; ac_word=$2
30496-echo "$as_me:$LINENO: checking for $ac_word" >&5
30497-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30498-if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
30499-  echo $ECHO_N "(cached) $ECHO_C" >&6
30500-else
30501-  if test -n "$ac_ct_CXX"; then
30502-  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
30503+{ $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
30504+$as_echo "$ac_cv_target" >&6; }
30505+case $ac_cv_target in
30506+*-*-*) ;;
30507+*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
30508+$as_echo "$as_me: error: invalid value of canonical target" >&2;}
30509+   { (exit 1); exit 1; }; };;
30510+esac
30511+target=$ac_cv_target
30512+ac_save_IFS=$IFS; IFS='-'
30513+set x $ac_cv_target
30514+shift
30515+target_cpu=$1
30516+target_vendor=$2
30517+shift; shift
30518+# Remember, the first character of IFS is used to create $*,
30519+# except with old shells:
30520+target_os=$*
30521+IFS=$ac_save_IFS
30522+case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
30523+
30524+
30525+# The aliases save the names the user supplied, while $host etc.
30526+# will get canonicalized.
30527+test -n "$target_alias" &&
30528+  test "$program_prefix$program_suffix$program_transform_name" = \
30529+    NONENONEs,x,x, &&
30530+  program_prefix=${target_alias}-
30531+am__api_version='1.11'
30532+
30533+# Find a good install program.  We prefer a C program (faster),
30534+# so one script is as good as another.  But avoid the broken or
30535+# incompatible versions:
30536+# SysV /etc/install, /usr/sbin/install
30537+# SunOS /usr/etc/install
30538+# IRIX /sbin/install
30539+# AIX /bin/install
30540+# AmigaOS /C/install, which installs bootblocks on floppy discs
30541+# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
30542+# AFS /usr/afsws/bin/install, which mishandles nonexistent args
30543+# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
30544+# OS/2's system install, which has a completely different semantic
30545+# ./install, which can be erroneously created by make from ./install.sh.
30546+# Reject install programs that cannot install multiple files.
30547+{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
30548+$as_echo_n "checking for a BSD-compatible install... " >&6; }
30549+if test -z "$INSTALL"; then
30550+if test "${ac_cv_path_install+set}" = set; then
30551+  $as_echo_n "(cached) " >&6
30552 else
30553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30554 for as_dir in $PATH
30555 do
30556   IFS=$as_save_IFS
30557   test -z "$as_dir" && as_dir=.
30558+  # Account for people who put trailing slashes in PATH elements.
30559+case $as_dir/ in
30560+  ./ | .// | /cC/* | \
30561+  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
30562+  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
30563+  /usr/ucb/* ) ;;
30564+  *)
30565+    # OSF1 and SCO ODT 3.0 have their own names for install.
30566+    # Don't use installbsd from OSF since it installs stuff as root
30567+    # by default.
30568+    for ac_prog in ginstall scoinst install; do
30569   for ac_exec_ext in '' $ac_executable_extensions; do
30570-  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30571-    ac_cv_prog_ac_ct_CXX="$ac_prog"
30572-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30573-    break 2
30574+	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
30575+	  if test $ac_prog = install &&
30576+	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
30577+	    # AIX install.  It has an incompatible calling convention.
30578+	    :
30579+	  elif test $ac_prog = install &&
30580+	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
30581+	    # program-specific install script used by HP pwplus--don't use.
30582+	    :
30583+	  else
30584+	    rm -rf conftest.one conftest.two conftest.dir
30585+	    echo one > conftest.one
30586+	    echo two > conftest.two
30587+	    mkdir conftest.dir
30588+	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
30589+	      test -s conftest.one && test -s conftest.two &&
30590+	      test -s conftest.dir/conftest.one &&
30591+	      test -s conftest.dir/conftest.two
30592+	    then
30593+	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
30594+	      break 3
30595+	    fi
30596+	  fi
30597   fi
30598 done
30599 done
30600+    ;;
30601+esac
30602+
30603+done
30604+IFS=$as_save_IFS
30605+
30606+rm -rf conftest.one conftest.two conftest.dir
30607
30608 fi
30609-fi
30610-ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
30611-if test -n "$ac_ct_CXX"; then
30612-  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
30613-echo "${ECHO_T}$ac_ct_CXX" >&6
30614+  if test "${ac_cv_path_install+set}" = set; then
30615+    INSTALL=$ac_cv_path_install
30616 else
30617-  echo "$as_me:$LINENO: result: no" >&5
30618-echo "${ECHO_T}no" >&6
30619+    # As a last resort, use the slow shell script.  Don't cache a
30620+    # value for INSTALL within a source directory, because that will
30621+    # break other packages using the cache if that directory is
30622+    # removed, or if the value is a relative name.
30623+    INSTALL=$ac_install_sh
30624 fi
30625-
30626-  test -n "$ac_ct_CXX" && break
30627-done
30628-test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
30629-
30630-  CXX=$ac_ct_CXX
30631 fi
30632+{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
30633+$as_echo "$INSTALL" >&6; }
30634
30635+# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
30636+# It thinks the first close brace ends the variable substitution.
30637+test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
30638
30639-# Provide some information about the compiler.
30640-echo "$as_me:$LINENO:" \
30641-     "checking for C++ compiler version" >&5
30642-ac_compiler=`set X $ac_compile; echo $2`
30643-{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
30644-  (eval $ac_compiler --version </dev/null >&5) 2>&5
30645-  ac_status=$?
30646-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30647-  (exit $ac_status); }
30648-{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
30649-  (eval $ac_compiler -v </dev/null >&5) 2>&5
30650-  ac_status=$?
30651-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30652-  (exit $ac_status); }
30653-{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
30654-  (eval $ac_compiler -V </dev/null >&5) 2>&5
30655-  ac_status=$?
30656-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30657-  (exit $ac_status); }
30658+test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
30659
30660-cat >conftest.$ac_ext <<_ACEOF
30661-/* confdefs.h.  */
30662-_ACEOF
30663-cat confdefs.h >>conftest.$ac_ext
30664-cat >>conftest.$ac_ext <<_ACEOF
30665-/* end confdefs.h.  */
30666+test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
30667
30668-int
30669-main ()
30670-{
30671+{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
30672+$as_echo_n "checking whether build environment is sane... " >&6; }
30673+# Just in case
30674+sleep 1
30675+echo timestamp > conftest.file
30676+# Reject unsafe characters in $srcdir or the absolute working directory
30677+# name.  Accept space and tab only in the latter.
30678+am_lf='
30679+'
30680+case `pwd` in
30681+  *[\\\"\#\$\&\'\`$am_lf]*)
30682+    { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
30683+$as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
30684+   { (exit 1); exit 1; }; };;
30685+esac
30686+case $srcdir in
30687+  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
30688+    { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
30689+$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
30690+   { (exit 1); exit 1; }; };;
30691+esac
30692
30693-  ;
30694-  return 0;
30695-}
30696-_ACEOF
30697-ac_clean_files_save=$ac_clean_files
30698-ac_clean_files="$ac_clean_files a.out a.exe b.out"
30699-# Try to create an executable without -o first, disregard a.out.
30700-# It will help us diagnose broken compilers, and finding out an intuition
30701-# of exeext.
30702-echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
30703-echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6
30704-ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
30705-if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
30706-  (eval $ac_link_default) 2>&5
30707-  ac_status=$?
30708-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30709-  (exit $ac_status); }; then
30710-  # Find the output, starting from the most likely.  This scheme is
30711-# not robust to junk in `.', hence go to wildcards (a.*) only as a last
30712-# resort.
30713-
30714-# Be careful to initialize this variable, since it used to be cached.
30715-# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
30716-ac_cv_exeext=
30717-# b.out is created by i960 compilers.
30718-for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
30719-do
30720-  test -f "$ac_file" || continue
30721-  case $ac_file in
30722-    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
30723-	;;
30724-    conftest.$ac_ext )
30725-	# This is the source file.
30726-	;;
30727-    [ab].out )
30728-	# We found the default executable, but exeext='' is most
30729-	# certainly right.
30730-	break;;
30731-    *.* )
30732-	ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
30733-	# FIXME: I believe we export ac_cv_exeext for Libtool,
30734-	# but it would be cool to find out if it's true.  Does anybody
30735-	# maintain Libtool? --akim.
30736-	export ac_cv_exeext
30737-	break;;
30738+# Do `set' in a subshell so we don't clobber the current shell's
30739+# arguments.  Must try -L first in case configure is actually a
30740+# symlink; some systems play weird games with the mod time of symlinks
30741+# (eg FreeBSD returns the mod time of the symlink's containing
30742+# directory).
30743+if (
30744+   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
30745+   if test "$*" = "X"; then
30746+      # -L didn't work.
30747+      set X `ls -t "$srcdir/configure" conftest.file`
30748+   fi
30749+   rm -f conftest.file
30750+   if test "$*" != "X $srcdir/configure conftest.file" \
30751+      && test "$*" != "X conftest.file $srcdir/configure"; then
30752+
30753+      # If neither matched, then we have a broken ls.  This can happen
30754+      # if, for instance, CONFIG_SHELL is bash and it inherits a
30755+      # broken ls alias from the environment.  This has actually
30756+      # happened.  Such a system could not be considered "sane".
30757+      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
30758+alias in your environment" >&5
30759+$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
30760+alias in your environment" >&2;}
30761+   { (exit 1); exit 1; }; }
30762+   fi
30763+
30764+   test "$2" = conftest.file
30765+   )
30766+then
30767+   # Ok.
30768+   :
30769+else
30770+   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
30771+Check your system clock" >&5
30772+$as_echo "$as_me: error: newly created file is older than distributed files!
30773+Check your system clock" >&2;}
30774+   { (exit 1); exit 1; }; }
30775+fi
30776+{ $as_echo "$as_me:$LINENO: result: yes" >&5
30777+$as_echo "yes" >&6; }
30778+test "$program_prefix" != NONE &&
30779+  program_transform_name="s&^&$program_prefix&;$program_transform_name"
30780+# Use a double $ so make ignores it.
30781+test "$program_suffix" != NONE &&
30782+  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
30783+# Double any \ or $.
30784+# By default was `s,x,x', remove it if useless.
30785+ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
30786+program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
30787+
30788+# expand $ac_aux_dir to an absolute path
30789+am_aux_dir=`cd $ac_aux_dir && pwd`
30790+
30791+if test x"${MISSING+set}" != xset; then
30792+  case $am_aux_dir in
30793+  *\ * | *\	*)
30794+    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
30795     * )
30796-	break;;
30797+    MISSING="\${SHELL} $am_aux_dir/missing" ;;
30798   esac
30799-done
30800+fi
30801+# Use eval to expand $SHELL
30802+if eval "$MISSING --run true"; then
30803+  am_missing_run="$MISSING --run "
30804 else
30805-  echo "$as_me: failed program was:" >&5
30806-sed 's/^/| /' conftest.$ac_ext >&5
30807-
30808-{ { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
30809-See \`config.log' for more details." >&5
30810-echo "$as_me: error: C++ compiler cannot create executables
30811-See \`config.log' for more details." >&2;}
30812-   { (exit 77); exit 77; }; }
30813+  am_missing_run=
30814+  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
30815+$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
30816 fi
30817
30818-ac_exeext=$ac_cv_exeext
30819-echo "$as_me:$LINENO: result: $ac_file" >&5
30820-echo "${ECHO_T}$ac_file" >&6
30821+if test x"${install_sh}" != xset; then
30822+  case $am_aux_dir in
30823+  *\ * | *\	*)
30824+    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
30825+  *)
30826+    install_sh="\${SHELL} $am_aux_dir/install-sh"
30827+  esac
30828+fi
30829
30830-# Check the compiler produces executables we can run.  If not, either
30831-# the compiler is broken, or we cross compile.
30832-echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
30833-echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
30834-# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
30835-# If not cross compiling, check that we can run a simple program.
30836-if test "$cross_compiling" != yes; then
30837-  if { ac_try='./$ac_file'
30838-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30839-  (eval $ac_try) 2>&5
30840-  ac_status=$?
30841-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30842-  (exit $ac_status); }; }; then
30843-    cross_compiling=no
30844+# Installed binaries are usually stripped using `strip' when the user
30845+# run `make install-strip'.  However `strip' might not be the right
30846+# tool to use in cross-compilation environments, therefore Automake
30847+# will honor the `STRIP' environment variable to overrule this program.
30848+if test "$cross_compiling" != no; then
30849+  if test -n "$ac_tool_prefix"; then
30850+  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
30851+set dummy ${ac_tool_prefix}strip; ac_word=$2
30852+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
30853+$as_echo_n "checking for $ac_word... " >&6; }
30854+if test "${ac_cv_prog_STRIP+set}" = set; then
30855+  $as_echo_n "(cached) " >&6
30856   else
30857-    if test "$cross_compiling" = maybe; then
30858-	cross_compiling=yes
30859+  if test -n "$STRIP"; then
30860+  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
30861     else
30862-	{ { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
30863-If you meant to cross compile, use \`--host'.
30864-See \`config.log' for more details." >&5
30865-echo "$as_me: error: cannot run C++ compiled programs.
30866-If you meant to cross compile, use \`--host'.
30867-See \`config.log' for more details." >&2;}
30868-   { (exit 1); exit 1; }; }
30869+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30870+for as_dir in $PATH
30871+do
30872+  IFS=$as_save_IFS
30873+  test -z "$as_dir" && as_dir=.
30874+  for ac_exec_ext in '' $ac_executable_extensions; do
30875+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30876+    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
30877+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30878+    break 2
30879+  fi
30880+done
30881+done
30882+IFS=$as_save_IFS
30883+
30884     fi
30885   fi
30886+STRIP=$ac_cv_prog_STRIP
30887+if test -n "$STRIP"; then
30888+  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
30889+$as_echo "$STRIP" >&6; }
30890+else
30891+  { $as_echo "$as_me:$LINENO: result: no" >&5
30892+$as_echo "no" >&6; }
30893 fi
30894-echo "$as_me:$LINENO: result: yes" >&5
30895-echo "${ECHO_T}yes" >&6
30896
30897-rm -f a.out a.exe conftest$ac_cv_exeext b.out
30898-ac_clean_files=$ac_clean_files_save
30899-# Check the compiler produces executables we can run.  If not, either
30900-# the compiler is broken, or we cross compile.
30901-echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
30902-echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
30903-echo "$as_me:$LINENO: result: $cross_compiling" >&5
30904-echo "${ECHO_T}$cross_compiling" >&6
30905
30906-echo "$as_me:$LINENO: checking for suffix of executables" >&5
30907-echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
30908-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30909-  (eval $ac_link) 2>&5
30910-  ac_status=$?
30911-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30912-  (exit $ac_status); }; then
30913-  # If both `conftest.exe' and `conftest' are `present' (well, observable)
30914-# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
30915-# work properly (i.e., refer to `conftest.exe'), while it won't with
30916-# `rm'.
30917-for ac_file in conftest.exe conftest conftest.*; do
30918-  test -f "$ac_file" || continue
30919-  case $ac_file in
30920-    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
30921-    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
30922-	  export ac_cv_exeext
30923-	  break;;
30924-    * ) break;;
30925-  esac
30926-done
30927+fi
30928+if test -z "$ac_cv_prog_STRIP"; then
30929+  ac_ct_STRIP=$STRIP
30930+  # Extract the first word of "strip", so it can be a program name with args.
30931+set dummy strip; ac_word=$2
30932+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
30933+$as_echo_n "checking for $ac_word... " >&6; }
30934+if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
30935+  $as_echo_n "(cached) " >&6
30936 else
30937-  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
30938-See \`config.log' for more details." >&5
30939-echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
30940-See \`config.log' for more details." >&2;}
30941-   { (exit 1); exit 1; }; }
30942+  if test -n "$ac_ct_STRIP"; then
30943+  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
30944+else
30945+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30946+for as_dir in $PATH
30947+do
30948+  IFS=$as_save_IFS
30949+  test -z "$as_dir" && as_dir=.
30950+  for ac_exec_ext in '' $ac_executable_extensions; do
30951+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30952+    ac_cv_prog_ac_ct_STRIP="strip"
30953+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30954+    break 2
30955 fi
30956+done
30957+done
30958+IFS=$as_save_IFS
30959
30960-rm -f conftest$ac_cv_exeext
30961-echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
30962-echo "${ECHO_T}$ac_cv_exeext" >&6
30963+fi
30964+fi
30965+ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
30966+if test -n "$ac_ct_STRIP"; then
30967+  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
30968+$as_echo "$ac_ct_STRIP" >&6; }
30969+else
30970+  { $as_echo "$as_me:$LINENO: result: no" >&5
30971+$as_echo "no" >&6; }
30972+fi
30973
30974-rm -f conftest.$ac_ext
30975-EXEEXT=$ac_cv_exeext
30976-ac_exeext=$EXEEXT
30977-echo "$as_me:$LINENO: checking for suffix of object files" >&5
30978-echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
30979-if test "${ac_cv_objext+set}" = set; then
30980-  echo $ECHO_N "(cached) $ECHO_C" >&6
30981+  if test "x$ac_ct_STRIP" = x; then
30982+    STRIP=":"
30983 else
30984-  cat >conftest.$ac_ext <<_ACEOF
30985-/* confdefs.h.  */
30986-_ACEOF
30987-cat confdefs.h >>conftest.$ac_ext
30988-cat >>conftest.$ac_ext <<_ACEOF
30989-/* end confdefs.h.  */
30990+    case $cross_compiling:$ac_tool_warned in
30991+yes:)
30992+{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
30993+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
30994+ac_tool_warned=yes ;;
30995+esac
30996+    STRIP=$ac_ct_STRIP
30997+  fi
30998+else
30999+  STRIP="$ac_cv_prog_STRIP"
31000+fi
31001
31002-int
31003-main ()
31004-{
31005+fi
31006+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
31007
31008-  ;
31009-  return 0;
31010-}
31011-_ACEOF
31012-rm -f conftest.o conftest.obj
31013-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31014-  (eval $ac_compile) 2>&5
31015-  ac_status=$?
31016-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31017-  (exit $ac_status); }; then
31018-  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
31019-  case $ac_file in
31020-    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
31021-    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
31022-       break;;
31023+{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
31024+$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
31025+if test -z "$MKDIR_P"; then
31026+  if test "${ac_cv_path_mkdir+set}" = set; then
31027+  $as_echo_n "(cached) " >&6
31028+else
31029+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31030+for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
31031+do
31032+  IFS=$as_save_IFS
31033+  test -z "$as_dir" && as_dir=.
31034+  for ac_prog in mkdir gmkdir; do
31035+	 for ac_exec_ext in '' $ac_executable_extensions; do
31036+	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
31037+	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
31038+	     'mkdir (GNU coreutils) '* | \
31039+	     'mkdir (coreutils) '* | \
31040+	     'mkdir (fileutils) '4.1*)
31041+	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
31042+	       break 3;;
31043   esac
31044 done
31045-else
31046-  echo "$as_me: failed program was:" >&5
31047-sed 's/^/| /' conftest.$ac_ext >&5
31048+       done
31049+done
31050+IFS=$as_save_IFS
31051
31052-{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
31053-See \`config.log' for more details." >&5
31054-echo "$as_me: error: cannot compute suffix of object files: cannot compile
31055-See \`config.log' for more details." >&2;}
31056-   { (exit 1); exit 1; }; }
31057 fi
31058
31059-rm -f conftest.$ac_cv_objext conftest.$ac_ext
31060-fi
31061-echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
31062-echo "${ECHO_T}$ac_cv_objext" >&6
31063-OBJEXT=$ac_cv_objext
31064-ac_objext=$OBJEXT
31065-echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
31066-echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
31067-if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
31068-  echo $ECHO_N "(cached) $ECHO_C" >&6
31069+  if test "${ac_cv_path_mkdir+set}" = set; then
31070+    MKDIR_P="$ac_cv_path_mkdir -p"
31071 else
31072-  cat >conftest.$ac_ext <<_ACEOF
31073-/* confdefs.h.  */
31074-_ACEOF
31075-cat confdefs.h >>conftest.$ac_ext
31076-cat >>conftest.$ac_ext <<_ACEOF
31077-/* end confdefs.h.  */
31078+    # As a last resort, use the slow shell script.  Don't cache a
31079+    # value for MKDIR_P within a source directory, because that will
31080+    # break other packages using the cache if that directory is
31081+    # removed, or if the value is a relative name.
31082+    test -d ./--version && rmdir ./--version
31083+    MKDIR_P="$ac_install_sh -d"
31084+  fi
31085+fi
31086+{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
31087+$as_echo "$MKDIR_P" >&6; }
31088
31089-int
31090-main ()
31091-{
31092-#ifndef __GNUC__
31093-       choke me
31094-#endif
31095+mkdir_p="$MKDIR_P"
31096+case $mkdir_p in
31097+  [\\/$]* | ?:[\\/]*) ;;
31098+  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
31099+esac
31100
31101-  ;
31102-  return 0;
31103-}
31104-_ACEOF
31105-rm -f conftest.$ac_objext
31106-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31107-  (eval $ac_compile) 2>conftest.er1
31108-  ac_status=$?
31109-  grep -v '^ *+' conftest.er1 >conftest.err
31110-  rm -f conftest.er1
31111-  cat conftest.err >&5
31112-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31113-  (exit $ac_status); } &&
31114-	 { ac_try='test -z "$ac_cxx_werror_flag"
31115-			 || test ! -s conftest.err'
31116-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31117-  (eval $ac_try) 2>&5
31118-  ac_status=$?
31119-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31120-  (exit $ac_status); }; } &&
31121-	 { ac_try='test -s conftest.$ac_objext'
31122-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31123-  (eval $ac_try) 2>&5
31124-  ac_status=$?
31125-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31126-  (exit $ac_status); }; }; then
31127-  ac_compiler_gnu=yes
31128+for ac_prog in gawk mawk nawk awk
31129+do
31130+  # Extract the first word of "$ac_prog", so it can be a program name with args.
31131+set dummy $ac_prog; ac_word=$2
31132+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
31133+$as_echo_n "checking for $ac_word... " >&6; }
31134+if test "${ac_cv_prog_AWK+set}" = set; then
31135+  $as_echo_n "(cached) " >&6
31136 else
31137-  echo "$as_me: failed program was:" >&5
31138-sed 's/^/| /' conftest.$ac_ext >&5
31139-
31140-ac_compiler_gnu=no
31141+  if test -n "$AWK"; then
31142+  ac_cv_prog_AWK="$AWK" # Let the user override the test.
31143+else
31144+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31145+for as_dir in $PATH
31146+do
31147+  IFS=$as_save_IFS
31148+  test -z "$as_dir" && as_dir=.
31149+  for ac_exec_ext in '' $ac_executable_extensions; do
31150+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31151+    ac_cv_prog_AWK="$ac_prog"
31152+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31153+    break 2
31154 fi
31155-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31156-ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
31157+done
31158+done
31159+IFS=$as_save_IFS
31160
31161 fi
31162-echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
31163-echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
31164-GXX=`test $ac_compiler_gnu = yes && echo yes`
31165-ac_test_CXXFLAGS=${CXXFLAGS+set}
31166-ac_save_CXXFLAGS=$CXXFLAGS
31167-CXXFLAGS="-g"
31168-echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
31169-echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
31170-if test "${ac_cv_prog_cxx_g+set}" = set; then
31171-  echo $ECHO_N "(cached) $ECHO_C" >&6
31172+fi
31173+AWK=$ac_cv_prog_AWK
31174+if test -n "$AWK"; then
31175+  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
31176+$as_echo "$AWK" >&6; }
31177 else
31178-  cat >conftest.$ac_ext <<_ACEOF
31179-/* confdefs.h.  */
31180-_ACEOF
31181-cat confdefs.h >>conftest.$ac_ext
31182-cat >>conftest.$ac_ext <<_ACEOF
31183-/* end confdefs.h.  */
31184+  { $as_echo "$as_me:$LINENO: result: no" >&5
31185+$as_echo "no" >&6; }
31186+fi
31187
31188-int
31189-main ()
31190-{
31191
31192-  ;
31193-  return 0;
31194-}
31195+  test -n "$AWK" && break
31196+done
31197+
31198+{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
31199+$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
31200+set x ${MAKE-make}
31201+ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
31202+if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
31203+  $as_echo_n "(cached) " >&6
31204+else
31205+  cat >conftest.make <<\_ACEOF
31206+SHELL = /bin/sh
31207+all:
31208+	@echo '@@@%%%=$(MAKE)=@@@%%%'
31209 _ACEOF
31210-rm -f conftest.$ac_objext
31211-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31212-  (eval $ac_compile) 2>conftest.er1
31213-  ac_status=$?
31214-  grep -v '^ *+' conftest.er1 >conftest.err
31215-  rm -f conftest.er1
31216-  cat conftest.err >&5
31217-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31218-  (exit $ac_status); } &&
31219-	 { ac_try='test -z "$ac_cxx_werror_flag"
31220-			 || test ! -s conftest.err'
31221-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31222-  (eval $ac_try) 2>&5
31223-  ac_status=$?
31224-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31225-  (exit $ac_status); }; } &&
31226-	 { ac_try='test -s conftest.$ac_objext'
31227-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31228-  (eval $ac_try) 2>&5
31229-  ac_status=$?
31230-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31231-  (exit $ac_status); }; }; then
31232-  ac_cv_prog_cxx_g=yes
31233+# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
31234+case `${MAKE-make} -f conftest.make 2>/dev/null` in
31235+  *@@@%%%=?*=@@@%%%*)
31236+    eval ac_cv_prog_make_${ac_make}_set=yes;;
31237+  *)
31238+    eval ac_cv_prog_make_${ac_make}_set=no;;
31239+esac
31240+rm -f conftest.make
31241+fi
31242+if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
31243+  { $as_echo "$as_me:$LINENO: result: yes" >&5
31244+$as_echo "yes" >&6; }
31245+  SET_MAKE=
31246 else
31247-  echo "$as_me: failed program was:" >&5
31248-sed 's/^/| /' conftest.$ac_ext >&5
31249+  { $as_echo "$as_me:$LINENO: result: no" >&5
31250+$as_echo "no" >&6; }
31251+  SET_MAKE="MAKE=${MAKE-make}"
31252+fi
31253
31254-ac_cv_prog_cxx_g=no
31255+rm -rf .tst 2>/dev/null
31256+mkdir .tst 2>/dev/null
31257+if test -d .tst; then
31258+  am__leading_dot=.
31259+else
31260+  am__leading_dot=_
31261 fi
31262-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31263+rmdir .tst 2>/dev/null
31264+
31265+# Check whether --enable-silent-rules was given.
31266+if test "${enable_silent_rules+set}" = set; then
31267+  enableval=$enable_silent_rules;
31268 fi
31269-echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
31270-echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
31271-if test "$ac_test_CXXFLAGS" = set; then
31272-  CXXFLAGS=$ac_save_CXXFLAGS
31273-elif test $ac_cv_prog_cxx_g = yes; then
31274-  if test "$GXX" = yes; then
31275-    CXXFLAGS="-g -O2"
31276-  else
31277-    CXXFLAGS="-g"
31278+
31279+case $enable_silent_rules in
31280+yes) AM_DEFAULT_VERBOSITY=0;;
31281+no)  AM_DEFAULT_VERBOSITY=1;;
31282+*)   AM_DEFAULT_VERBOSITY=1;;
31283+esac
31284+AM_BACKSLASH='\'
31285+
31286+if test "`cd $srcdir && pwd`" != "`pwd`"; then
31287+  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
31288+  # is not polluted with repeated "-I."
31289+  am__isrc=' -I$(srcdir)'
31290+  # test to see if srcdir already configured
31291+  if test -f $srcdir/config.status; then
31292+    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
31293+$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
31294+   { (exit 1); exit 1; }; }
31295   fi
31296+fi
31297+
31298+# test whether we have cygpath
31299+if test -z "$CYGPATH_W"; then
31300+  if (cygpath --version) >/dev/null 2>/dev/null; then
31301+    CYGPATH_W='cygpath -w'
31302 else
31303-  if test "$GXX" = yes; then
31304-    CXXFLAGS="-O2"
31305-  else
31306-    CXXFLAGS=
31307+    CYGPATH_W=echo
31308   fi
31309 fi
31310-for ac_declaration in \
31311-   '' \
31312-   'extern "C" void std::exit (int) throw (); using std::exit;' \
31313-   'extern "C" void std::exit (int); using std::exit;' \
31314-   'extern "C" void exit (int) throw ();' \
31315-   'extern "C" void exit (int);' \
31316-   'void exit (int);'
31317-do
31318-  cat >conftest.$ac_ext <<_ACEOF
31319-/* confdefs.h.  */
31320+
31321+
31322+# Define the identity of the package.
31323+ PACKAGE='full-package-name'
31324+ VERSION='VERSION'
31325+
31326+
31327+cat >>confdefs.h <<_ACEOF
31328+#define PACKAGE "$PACKAGE"
31329 _ACEOF
31330-cat confdefs.h >>conftest.$ac_ext
31331-cat >>conftest.$ac_ext <<_ACEOF
31332-/* end confdefs.h.  */
31333-$ac_declaration
31334-#include <stdlib.h>
31335-int
31336-main ()
31337-{
31338-exit (42);
31339-  ;
31340-  return 0;
31341-}
31342+
31343+
31344+cat >>confdefs.h <<_ACEOF
31345+#define VERSION "$VERSION"
31346 _ACEOF
31347-rm -f conftest.$ac_objext
31348-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31349-  (eval $ac_compile) 2>conftest.er1
31350-  ac_status=$?
31351-  grep -v '^ *+' conftest.er1 >conftest.err
31352-  rm -f conftest.er1
31353-  cat conftest.err >&5
31354-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31355-  (exit $ac_status); } &&
31356-	 { ac_try='test -z "$ac_cxx_werror_flag"
31357-			 || test ! -s conftest.err'
31358-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31359-  (eval $ac_try) 2>&5
31360-  ac_status=$?
31361-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31362-  (exit $ac_status); }; } &&
31363-	 { ac_try='test -s conftest.$ac_objext'
31364-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31365-  (eval $ac_try) 2>&5
31366-  ac_status=$?
31367-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31368-  (exit $ac_status); }; }; then
31369-  :
31370-else
31371-  echo "$as_me: failed program was:" >&5
31372-sed 's/^/| /' conftest.$ac_ext >&5
31373
31374-continue
31375+# Some tools Automake needs.
31376+
31377+ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
31378+
31379+
31380+AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
31381+
31382+
31383+AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
31384+
31385+
31386+AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
31387+
31388+
31389+MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
31390+
31391+# We need awk for the "check" target.  The system "awk" is bad on
31392+# some platforms.
31393+# Always define AMTAR for backward compatibility.
31394+
31395+AMTAR=${AMTAR-"${am_missing_run}tar"}
31396+
31397+am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
31398+
31399+
31400+
31401+
31402+
31403+# Check whether --enable-silent-rules was given.
31404+if test "${enable_silent_rules+set}" = set; then
31405+  enableval=$enable_silent_rules;
31406 fi
31407-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31408-  cat >conftest.$ac_ext <<_ACEOF
31409-/* confdefs.h.  */
31410-_ACEOF
31411-cat confdefs.h >>conftest.$ac_ext
31412-cat >>conftest.$ac_ext <<_ACEOF
31413-/* end confdefs.h.  */
31414-$ac_declaration
31415-int
31416-main ()
31417-{
31418-exit (42);
31419-  ;
31420-  return 0;
31421-}
31422-_ACEOF
31423-rm -f conftest.$ac_objext
31424-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31425-  (eval $ac_compile) 2>conftest.er1
31426-  ac_status=$?
31427-  grep -v '^ *+' conftest.er1 >conftest.err
31428-  rm -f conftest.er1
31429-  cat conftest.err >&5
31430-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31431-  (exit $ac_status); } &&
31432-	 { ac_try='test -z "$ac_cxx_werror_flag"
31433-			 || test ! -s conftest.err'
31434-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31435-  (eval $ac_try) 2>&5
31436-  ac_status=$?
31437-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31438-  (exit $ac_status); }; } &&
31439-	 { ac_try='test -s conftest.$ac_objext'
31440-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31441-  (eval $ac_try) 2>&5
31442-  ac_status=$?
31443-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31444-  (exit $ac_status); }; }; then
31445-  break
31446-else
31447-  echo "$as_me: failed program was:" >&5
31448-sed 's/^/| /' conftest.$ac_ext >&5
31449
31450+case $enable_silent_rules in
31451+yes) AM_DEFAULT_VERBOSITY=0;;
31452+no)  AM_DEFAULT_VERBOSITY=1;;
31453+*)   AM_DEFAULT_VERBOSITY=0;;
31454+esac
31455+AM_BACKSLASH='\'
31456+
31457+
31458+# Checks for programs.
31459+# Check whether --enable-static was given.
31460+if test "${enable_static+set}" = set; then
31461+  enableval=$enable_static; p=${PACKAGE-default}
31462+    case $enableval in
31463+    yes) enable_static=yes ;;
31464+    no) enable_static=no ;;
31465+    *)
31466+     enable_static=no
31467+      # Look at the argument we got.  We use all the common list separators.
31468+      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
31469+      for pkg in $enableval; do
31470+	IFS="$lt_save_ifs"
31471+	if test "X$pkg" = "X$p"; then
31472+	  enable_static=yes
31473 fi
31474-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31475 done
31476-rm -f conftest*
31477-if test -n "$ac_declaration"; then
31478-  echo '#ifdef __cplusplus' >>confdefs.h
31479-  echo $ac_declaration      >>confdefs.h
31480-  echo '#endif'             >>confdefs.h
31481+      IFS="$lt_save_ifs"
31482+      ;;
31483+    esac
31484+else
31485+  enable_static=no
31486+fi
31487+
31488+
31489+
31490+
31491+
31492+
31493+
31494+
31495+
31496+case `pwd` in
31497+  *\ * | *\	*)
31498+    { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
31499+$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
31500+esac
31501+
31502+
31503+
31504+macro_version='2.2.6'
31505+macro_revision='1.3012'
31506+
31507+
31508+
31509+
31510+
31511+
31512+
31513+
31514+
31515+
31516+
31517+
31518+
31519+ltmain="$ac_aux_dir/ltmain.sh"
31520+
31521+DEPDIR="${am__leading_dot}deps"
31522+
31523+ac_config_commands="$ac_config_commands depfiles"
31524+
31525+
31526+am_make=${MAKE-make}
31527+cat > confinc << 'END'
31528+am__doit:
31529+	@echo this is the am__doit target
31530+.PHONY: am__doit
31531+END
31532+# If we don't find an include directive, just comment out the code.
31533+{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
31534+$as_echo_n "checking for style of include used by $am_make... " >&6; }
31535+am__include="#"
31536+am__quote=
31537+_am_result=none
31538+# First try GNU make style include.
31539+echo "include confinc" > confmf
31540+# Ignore all kinds of additional output from `make'.
31541+case `$am_make -s -f confmf 2> /dev/null` in #(
31542+*the\ am__doit\ target*)
31543+  am__include=include
31544+  am__quote=
31545+  _am_result=GNU
31546+  ;;
31547+esac
31548+# Now try BSD make style include.
31549+if test "$am__include" = "#"; then
31550+   echo '.include "confinc"' > confmf
31551+   case `$am_make -s -f confmf 2> /dev/null` in #(
31552+   *the\ am__doit\ target*)
31553+     am__include=.include
31554+     am__quote="\""
31555+     _am_result=BSD
31556+     ;;
31557+   esac
31558+fi
31559+
31560+
31561+{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
31562+$as_echo "$_am_result" >&6; }
31563+rm -f confinc confmf
31564+
31565+# Check whether --enable-dependency-tracking was given.
31566+if test "${enable_dependency_tracking+set}" = set; then
31567+  enableval=$enable_dependency_tracking;
31568+fi
31569+
31570+if test "x$enable_dependency_tracking" != xno; then
31571+  am_depcomp="$ac_aux_dir/depcomp"
31572+  AMDEPBACKSLASH='\'
31573+fi
31574+ if test "x$enable_dependency_tracking" != xno; then
31575+  AMDEP_TRUE=
31576+  AMDEP_FALSE='#'
31577+else
31578+  AMDEP_TRUE='#'
31579+  AMDEP_FALSE=
31580 fi
31581
31582-ac_ext=c
31583-ac_cpp='$CPP $CPPFLAGS'
31584-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31585-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31586-ac_compiler_gnu=$ac_cv_c_compiler_gnu
31587
31588 ac_ext=c
31589 ac_cpp='$CPP $CPPFLAGS'
31590@@ -1937,10 +2829,10 @@
31591 if test -n "$ac_tool_prefix"; then
31592   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
31593 set dummy ${ac_tool_prefix}gcc; ac_word=$2
31594-echo "$as_me:$LINENO: checking for $ac_word" >&5
31595-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31596+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
31597+$as_echo_n "checking for $ac_word... " >&6; }
31598 if test "${ac_cv_prog_CC+set}" = set; then
31599-  echo $ECHO_N "(cached) $ECHO_C" >&6
31600+  $as_echo_n "(cached) " >&6
31601 else
31602   if test -n "$CC"; then
31603   ac_cv_prog_CC="$CC" # Let the user override the test.
31604@@ -1951,34 +2843,36 @@
31605   IFS=$as_save_IFS
31606   test -z "$as_dir" && as_dir=.
31607   for ac_exec_ext in '' $ac_executable_extensions; do
31608-  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31609+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31610     ac_cv_prog_CC="${ac_tool_prefix}gcc"
31611-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31612+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31613     break 2
31614   fi
31615 done
31616 done
31617+IFS=$as_save_IFS
31618
31619 fi
31620 fi
31621 CC=$ac_cv_prog_CC
31622 if test -n "$CC"; then
31623-  echo "$as_me:$LINENO: result: $CC" >&5
31624-echo "${ECHO_T}$CC" >&6
31625+  { $as_echo "$as_me:$LINENO: result: $CC" >&5
31626+$as_echo "$CC" >&6; }
31627 else
31628-  echo "$as_me:$LINENO: result: no" >&5
31629-echo "${ECHO_T}no" >&6
31630+  { $as_echo "$as_me:$LINENO: result: no" >&5
31631+$as_echo "no" >&6; }
31632 fi
31633
31634+
31635 fi
31636 if test -z "$ac_cv_prog_CC"; then
31637   ac_ct_CC=$CC
31638   # Extract the first word of "gcc", so it can be a program name with args.
31639 set dummy gcc; ac_word=$2
31640-echo "$as_me:$LINENO: checking for $ac_word" >&5
31641-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31642+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
31643+$as_echo_n "checking for $ac_word... " >&6; }
31644 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
31645-  echo $ECHO_N "(cached) $ECHO_C" >&6
31646+  $as_echo_n "(cached) " >&6
31647 else
31648   if test -n "$ac_ct_CC"; then
31649   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
31650@@ -1989,26 +2883,37 @@
31651   IFS=$as_save_IFS
31652   test -z "$as_dir" && as_dir=.
31653   for ac_exec_ext in '' $ac_executable_extensions; do
31654-  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31655+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31656     ac_cv_prog_ac_ct_CC="gcc"
31657-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31658+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31659     break 2
31660   fi
31661 done
31662 done
31663+IFS=$as_save_IFS
31664
31665 fi
31666 fi
31667 ac_ct_CC=$ac_cv_prog_ac_ct_CC
31668 if test -n "$ac_ct_CC"; then
31669-  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
31670-echo "${ECHO_T}$ac_ct_CC" >&6
31671+  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
31672+$as_echo "$ac_ct_CC" >&6; }
31673 else
31674-  echo "$as_me:$LINENO: result: no" >&5
31675-echo "${ECHO_T}no" >&6
31676+  { $as_echo "$as_me:$LINENO: result: no" >&5
31677+$as_echo "no" >&6; }
31678 fi
31679
31680+  if test "x$ac_ct_CC" = x; then
31681+    CC=""
31682+  else
31683+    case $cross_compiling:$ac_tool_warned in
31684+yes:)
31685+{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
31686+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
31687+ac_tool_warned=yes ;;
31688+esac
31689   CC=$ac_ct_CC
31690+  fi
31691 else
31692   CC="$ac_cv_prog_CC"
31693 fi
31694@@ -2017,10 +2922,10 @@
31695   if test -n "$ac_tool_prefix"; then
31696   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
31697 set dummy ${ac_tool_prefix}cc; ac_word=$2
31698-echo "$as_me:$LINENO: checking for $ac_word" >&5
31699-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31700+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
31701+$as_echo_n "checking for $ac_word... " >&6; }
31702 if test "${ac_cv_prog_CC+set}" = set; then
31703-  echo $ECHO_N "(cached) $ECHO_C" >&6
31704+  $as_echo_n "(cached) " >&6
31705 else
31706   if test -n "$CC"; then
31707   ac_cv_prog_CC="$CC" # Let the user override the test.
31708@@ -2031,76 +2936,36 @@
31709   IFS=$as_save_IFS
31710   test -z "$as_dir" && as_dir=.
31711   for ac_exec_ext in '' $ac_executable_extensions; do
31712-  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31713+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31714     ac_cv_prog_CC="${ac_tool_prefix}cc"
31715-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31716+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31717     break 2
31718   fi
31719 done
31720 done
31721+IFS=$as_save_IFS
31722
31723 fi
31724 fi
31725 CC=$ac_cv_prog_CC
31726 if test -n "$CC"; then
31727-  echo "$as_me:$LINENO: result: $CC" >&5
31728-echo "${ECHO_T}$CC" >&6
31729-else
31730-  echo "$as_me:$LINENO: result: no" >&5
31731-echo "${ECHO_T}no" >&6
31732-fi
31733-
31734-fi
31735-if test -z "$ac_cv_prog_CC"; then
31736-  ac_ct_CC=$CC
31737-  # Extract the first word of "cc", so it can be a program name with args.
31738-set dummy cc; ac_word=$2
31739-echo "$as_me:$LINENO: checking for $ac_word" >&5
31740-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31741-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
31742-  echo $ECHO_N "(cached) $ECHO_C" >&6
31743-else
31744-  if test -n "$ac_ct_CC"; then
31745-  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
31746+  { $as_echo "$as_me:$LINENO: result: $CC" >&5
31747+$as_echo "$CC" >&6; }
31748 else
31749-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31750-for as_dir in $PATH
31751-do
31752-  IFS=$as_save_IFS
31753-  test -z "$as_dir" && as_dir=.
31754-  for ac_exec_ext in '' $ac_executable_extensions; do
31755-  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31756-    ac_cv_prog_ac_ct_CC="cc"
31757-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31758-    break 2
31759+  { $as_echo "$as_me:$LINENO: result: no" >&5
31760+$as_echo "no" >&6; }
31761   fi
31762-done
31763-done
31764
31765-fi
31766-fi
31767-ac_ct_CC=$ac_cv_prog_ac_ct_CC
31768-if test -n "$ac_ct_CC"; then
31769-  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
31770-echo "${ECHO_T}$ac_ct_CC" >&6
31771-else
31772-  echo "$as_me:$LINENO: result: no" >&5
31773-echo "${ECHO_T}no" >&6
31774-fi
31775
31776-  CC=$ac_ct_CC
31777-else
31778-  CC="$ac_cv_prog_CC"
31779 fi
31780-
31781 fi
31782 if test -z "$CC"; then
31783   # Extract the first word of "cc", so it can be a program name with args.
31784 set dummy cc; ac_word=$2
31785-echo "$as_me:$LINENO: checking for $ac_word" >&5
31786-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31787+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
31788+$as_echo_n "checking for $ac_word... " >&6; }
31789 if test "${ac_cv_prog_CC+set}" = set; then
31790-  echo $ECHO_N "(cached) $ECHO_C" >&6
31791+  $as_echo_n "(cached) " >&6
31792 else
31793   if test -n "$CC"; then
31794   ac_cv_prog_CC="$CC" # Let the user override the test.
31795@@ -2112,17 +2977,18 @@
31796   IFS=$as_save_IFS
31797   test -z "$as_dir" && as_dir=.
31798   for ac_exec_ext in '' $ac_executable_extensions; do
31799-  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31800+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31801     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
31802        ac_prog_rejected=yes
31803        continue
31804      fi
31805     ac_cv_prog_CC="cc"
31806-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31807+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31808     break 2
31809   fi
31810 done
31811 done
31812+IFS=$as_save_IFS
31813
31814 if test $ac_prog_rejected = yes; then
31815   # We found a bogon in the path, so make sure we never use it.
31816@@ -2140,24 +3006,25 @@
31817 fi
31818 CC=$ac_cv_prog_CC
31819 if test -n "$CC"; then
31820-  echo "$as_me:$LINENO: result: $CC" >&5
31821-echo "${ECHO_T}$CC" >&6
31822+  { $as_echo "$as_me:$LINENO: result: $CC" >&5
31823+$as_echo "$CC" >&6; }
31824 else
31825-  echo "$as_me:$LINENO: result: no" >&5
31826-echo "${ECHO_T}no" >&6
31827+  { $as_echo "$as_me:$LINENO: result: no" >&5
31828+$as_echo "no" >&6; }
31829 fi
31830
31831+
31832 fi
31833 if test -z "$CC"; then
31834   if test -n "$ac_tool_prefix"; then
31835-  for ac_prog in cl
31836+  for ac_prog in cl.exe
31837   do
31838     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
31839 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
31840-echo "$as_me:$LINENO: checking for $ac_word" >&5
31841-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31842+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
31843+$as_echo_n "checking for $ac_word... " >&6; }
31844 if test "${ac_cv_prog_CC+set}" = set; then
31845-  echo $ECHO_N "(cached) $ECHO_C" >&6
31846+  $as_echo_n "(cached) " >&6
31847 else
31848   if test -n "$CC"; then
31849   ac_cv_prog_CC="$CC" # Let the user override the test.
31850@@ -2168,38 +3035,40 @@
31851   IFS=$as_save_IFS
31852   test -z "$as_dir" && as_dir=.
31853   for ac_exec_ext in '' $ac_executable_extensions; do
31854-  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31855+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31856     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
31857-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31858+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31859     break 2
31860   fi
31861 done
31862 done
31863+IFS=$as_save_IFS
31864
31865 fi
31866 fi
31867 CC=$ac_cv_prog_CC
31868 if test -n "$CC"; then
31869-  echo "$as_me:$LINENO: result: $CC" >&5
31870-echo "${ECHO_T}$CC" >&6
31871+  { $as_echo "$as_me:$LINENO: result: $CC" >&5
31872+$as_echo "$CC" >&6; }
31873 else
31874-  echo "$as_me:$LINENO: result: no" >&5
31875-echo "${ECHO_T}no" >&6
31876+  { $as_echo "$as_me:$LINENO: result: no" >&5
31877+$as_echo "no" >&6; }
31878 fi
31879
31880+
31881     test -n "$CC" && break
31882   done
31883 fi
31884 if test -z "$CC"; then
31885   ac_ct_CC=$CC
31886-  for ac_prog in cl
31887+  for ac_prog in cl.exe
31888 do
31889   # Extract the first word of "$ac_prog", so it can be a program name with args.
31890 set dummy $ac_prog; ac_word=$2
31891-echo "$as_me:$LINENO: checking for $ac_word" >&5
31892-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31893+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
31894+$as_echo_n "checking for $ac_word... " >&6; }
31895 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
31896-  echo $ECHO_N "(cached) $ECHO_C" >&6
31897+  $as_echo_n "(cached) " >&6
31898 else
31899   if test -n "$ac_ct_CC"; then
31900   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
31901@@ -2210,64 +3079,346 @@
31902   IFS=$as_save_IFS
31903   test -z "$as_dir" && as_dir=.
31904   for ac_exec_ext in '' $ac_executable_extensions; do
31905-  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31906+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31907     ac_cv_prog_ac_ct_CC="$ac_prog"
31908-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31909+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31910     break 2
31911   fi
31912 done
31913 done
31914+IFS=$as_save_IFS
31915
31916 fi
31917 fi
31918 ac_ct_CC=$ac_cv_prog_ac_ct_CC
31919 if test -n "$ac_ct_CC"; then
31920-  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
31921-echo "${ECHO_T}$ac_ct_CC" >&6
31922+  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
31923+$as_echo "$ac_ct_CC" >&6; }
31924 else
31925-  echo "$as_me:$LINENO: result: no" >&5
31926-echo "${ECHO_T}no" >&6
31927+  { $as_echo "$as_me:$LINENO: result: no" >&5
31928+$as_echo "no" >&6; }
31929 fi
31930
31931+
31932   test -n "$ac_ct_CC" && break
31933 done
31934
31935+  if test "x$ac_ct_CC" = x; then
31936+    CC=""
31937+  else
31938+    case $cross_compiling:$ac_tool_warned in
31939+yes:)
31940+{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
31941+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
31942+ac_tool_warned=yes ;;
31943+esac
31944   CC=$ac_ct_CC
31945 fi
31946+fi
31947
31948 fi
31949
31950
31951-test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
31952+test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
31953+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
31954+{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
31955 See \`config.log' for more details." >&5
31956-echo "$as_me: error: no acceptable C compiler found in \$PATH
31957+$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
31958 See \`config.log' for more details." >&2;}
31959-   { (exit 1); exit 1; }; }
31960+   { (exit 1); exit 1; }; }; }
31961
31962 # Provide some information about the compiler.
31963-echo "$as_me:$LINENO:" \
31964-     "checking for C compiler version" >&5
31965-ac_compiler=`set X $ac_compile; echo $2`
31966-{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
31967-  (eval $ac_compiler --version </dev/null >&5) 2>&5
31968+$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
31969+set X $ac_compile
31970+ac_compiler=$2
31971+{ (ac_try="$ac_compiler --version >&5"
31972+case "(($ac_try" in
31973+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31974+  *) ac_try_echo=$ac_try;;
31975+esac
31976+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
31977+$as_echo "$ac_try_echo") >&5
31978+  (eval "$ac_compiler --version >&5") 2>&5
31979   ac_status=$?
31980-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31981+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31982   (exit $ac_status); }
31983-{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
31984-  (eval $ac_compiler -v </dev/null >&5) 2>&5
31985+{ (ac_try="$ac_compiler -v >&5"
31986+case "(($ac_try" in
31987+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31988+  *) ac_try_echo=$ac_try;;
31989+esac
31990+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
31991+$as_echo "$ac_try_echo") >&5
31992+  (eval "$ac_compiler -v >&5") 2>&5
31993   ac_status=$?
31994-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31995+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31996   (exit $ac_status); }
31997-{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
31998-  (eval $ac_compiler -V </dev/null >&5) 2>&5
31999+{ (ac_try="$ac_compiler -V >&5"
32000+case "(($ac_try" in
32001+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32002+  *) ac_try_echo=$ac_try;;
32003+esac
32004+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
32005+$as_echo "$ac_try_echo") >&5
32006+  (eval "$ac_compiler -V >&5") 2>&5
32007   ac_status=$?
32008-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32009+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
32010   (exit $ac_status); }
32011
32012-echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
32013-echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
32014-if test "${ac_cv_c_compiler_gnu+set}" = set; then
32015-  echo $ECHO_N "(cached) $ECHO_C" >&6
32016+cat >conftest.$ac_ext <<_ACEOF
32017+/* confdefs.h.  */
32018+_ACEOF
32019+cat confdefs.h >>conftest.$ac_ext
32020+cat >>conftest.$ac_ext <<_ACEOF
32021+/* end confdefs.h.  */
32022+
32023+int
32024+main ()
32025+{
32026+
32027+  ;
32028+  return 0;
32029+}
32030+_ACEOF
32031+ac_clean_files_save=$ac_clean_files
32032+ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
32033+# Try to create an executable without -o first, disregard a.out.
32034+# It will help us diagnose broken compilers, and finding out an intuition
32035+# of exeext.
32036+{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
32037+$as_echo_n "checking for C compiler default output file name... " >&6; }
32038+ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
32039+
32040+# The possible output files:
32041+ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
32042+
32043+ac_rmfiles=
32044+for ac_file in $ac_files
32045+do
32046+  case $ac_file in
32047+    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
32048+    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
32049+  esac
32050+done
32051+rm -f $ac_rmfiles
32052+
32053+if { (ac_try="$ac_link_default"
32054+case "(($ac_try" in
32055+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32056+  *) ac_try_echo=$ac_try;;
32057+esac
32058+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
32059+$as_echo "$ac_try_echo") >&5
32060+  (eval "$ac_link_default") 2>&5
32061+  ac_status=$?
32062+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
32063+  (exit $ac_status); }; then
32064+  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
32065+# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
32066+# in a Makefile.  We should not override ac_cv_exeext if it was cached,
32067+# so that the user can short-circuit this test for compilers unknown to
32068+# Autoconf.
32069+for ac_file in $ac_files ''
32070+do
32071+  test -f "$ac_file" || continue
32072+  case $ac_file in
32073+    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
32074+	;;
32075+    [ab].out )
32076+	# We found the default executable, but exeext='' is most
32077+	# certainly right.
32078+	break;;
32079+    *.* )
32080+        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
32081+	then :; else
32082+	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
32083+	fi
32084+	# We set ac_cv_exeext here because the later test for it is not
32085+	# safe: cross compilers may not add the suffix if given an `-o'
32086+	# argument, so we may need to know it at that point already.
32087+	# Even if this section looks crufty: it has the advantage of
32088+	# actually working.
32089+	break;;
32090+    * )
32091+	break;;
32092+  esac
32093+done
32094+test "$ac_cv_exeext" = no && ac_cv_exeext=
32095+
32096+else
32097+  ac_file=''
32098+fi
32099+
32100+{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
32101+$as_echo "$ac_file" >&6; }
32102+if test -z "$ac_file"; then
32103+  $as_echo "$as_me: failed program was:" >&5
32104+sed 's/^/| /' conftest.$ac_ext >&5
32105+
32106+{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
32107+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
32108+{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
32109+See \`config.log' for more details." >&5
32110+$as_echo "$as_me: error: C compiler cannot create executables
32111+See \`config.log' for more details." >&2;}
32112+   { (exit 77); exit 77; }; }; }
32113+fi
32114+
32115+ac_exeext=$ac_cv_exeext
32116+
32117+# Check that the compiler produces executables we can run.  If not, either
32118+# the compiler is broken, or we cross compile.
32119+{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
32120+$as_echo_n "checking whether the C compiler works... " >&6; }
32121+# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
32122+# If not cross compiling, check that we can run a simple program.
32123+if test "$cross_compiling" != yes; then
32124+  if { ac_try='./$ac_file'
32125+  { (case "(($ac_try" in
32126+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32127+  *) ac_try_echo=$ac_try;;
32128+esac
32129+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
32130+$as_echo "$ac_try_echo") >&5
32131+  (eval "$ac_try") 2>&5
32132+  ac_status=$?
32133+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
32134+  (exit $ac_status); }; }; then
32135+    cross_compiling=no
32136+  else
32137+    if test "$cross_compiling" = maybe; then
32138+	cross_compiling=yes
32139+    else
32140+	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
32141+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
32142+{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
32143+If you meant to cross compile, use \`--host'.
32144+See \`config.log' for more details." >&5
32145+$as_echo "$as_me: error: cannot run C compiled programs.
32146+If you meant to cross compile, use \`--host'.
32147+See \`config.log' for more details." >&2;}
32148+   { (exit 1); exit 1; }; }; }
32149+    fi
32150+  fi
32151+fi
32152+{ $as_echo "$as_me:$LINENO: result: yes" >&5
32153+$as_echo "yes" >&6; }
32154+
32155+rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
32156+ac_clean_files=$ac_clean_files_save
32157+# Check that the compiler produces executables we can run.  If not, either
32158+# the compiler is broken, or we cross compile.
32159+{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
32160+$as_echo_n "checking whether we are cross compiling... " >&6; }
32161+{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
32162+$as_echo "$cross_compiling" >&6; }
32163+
32164+{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
32165+$as_echo_n "checking for suffix of executables... " >&6; }
32166+if { (ac_try="$ac_link"
32167+case "(($ac_try" in
32168+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32169+  *) ac_try_echo=$ac_try;;
32170+esac
32171+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
32172+$as_echo "$ac_try_echo") >&5
32173+  (eval "$ac_link") 2>&5
32174+  ac_status=$?
32175+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
32176+  (exit $ac_status); }; then
32177+  # If both `conftest.exe' and `conftest' are `present' (well, observable)
32178+# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
32179+# work properly (i.e., refer to `conftest.exe'), while it won't with
32180+# `rm'.
32181+for ac_file in conftest.exe conftest conftest.*; do
32182+  test -f "$ac_file" || continue
32183+  case $ac_file in
32184+    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
32185+    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
32186+	  break;;
32187+    * ) break;;
32188+  esac
32189+done
32190+else
32191+  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
32192+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
32193+{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
32194+See \`config.log' for more details." >&5
32195+$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
32196+See \`config.log' for more details." >&2;}
32197+   { (exit 1); exit 1; }; }; }
32198+fi
32199+
32200+rm -f conftest$ac_cv_exeext
32201+{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
32202+$as_echo "$ac_cv_exeext" >&6; }
32203+
32204+rm -f conftest.$ac_ext
32205+EXEEXT=$ac_cv_exeext
32206+ac_exeext=$EXEEXT
32207+{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
32208+$as_echo_n "checking for suffix of object files... " >&6; }
32209+if test "${ac_cv_objext+set}" = set; then
32210+  $as_echo_n "(cached) " >&6
32211+else
32212+  cat >conftest.$ac_ext <<_ACEOF
32213+/* confdefs.h.  */
32214+_ACEOF
32215+cat confdefs.h >>conftest.$ac_ext
32216+cat >>conftest.$ac_ext <<_ACEOF
32217+/* end confdefs.h.  */
32218+
32219+int
32220+main ()
32221+{
32222+
32223+  ;
32224+  return 0;
32225+}
32226+_ACEOF
32227+rm -f conftest.o conftest.obj
32228+if { (ac_try="$ac_compile"
32229+case "(($ac_try" in
32230+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32231+  *) ac_try_echo=$ac_try;;
32232+esac
32233+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
32234+$as_echo "$ac_try_echo") >&5
32235+  (eval "$ac_compile") 2>&5
32236+  ac_status=$?
32237+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
32238+  (exit $ac_status); }; then
32239+  for ac_file in conftest.o conftest.obj conftest.*; do
32240+  test -f "$ac_file" || continue;
32241+  case $ac_file in
32242+    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
32243+    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
32244+       break;;
32245+  esac
32246+done
32247+else
32248+  $as_echo "$as_me: failed program was:" >&5
32249+sed 's/^/| /' conftest.$ac_ext >&5
32250+
32251+{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
32252+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
32253+{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
32254+See \`config.log' for more details." >&5
32255+$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
32256+See \`config.log' for more details." >&2;}
32257+   { (exit 1); exit 1; }; }; }
32258+fi
32259+
32260+rm -f conftest.$ac_cv_objext conftest.$ac_ext
32261+fi
32262+{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
32263+$as_echo "$ac_cv_objext" >&6; }
32264+OBJEXT=$ac_cv_objext
32265+ac_objext=$OBJEXT
32266+{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
32267+$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
32268+if test "${ac_cv_c_compiler_gnu+set}" = set; then
32269+  $as_echo_n "(cached) " >&6
32270 else
32271   cat >conftest.$ac_ext <<_ACEOF
32272 /* confdefs.h.  */
32273@@ -2288,49 +3439,53 @@
32274 }
32275 _ACEOF
32276 rm -f conftest.$ac_objext
32277-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32278-  (eval $ac_compile) 2>conftest.er1
32279+if { (ac_try="$ac_compile"
32280+case "(($ac_try" in
32281+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32282+  *) ac_try_echo=$ac_try;;
32283+esac
32284+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
32285+$as_echo "$ac_try_echo") >&5
32286+  (eval "$ac_compile") 2>conftest.er1
32287   ac_status=$?
32288   grep -v '^ *+' conftest.er1 >conftest.err
32289   rm -f conftest.er1
32290   cat conftest.err >&5
32291-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32292-  (exit $ac_status); } &&
32293-	 { ac_try='test -z "$ac_c_werror_flag"
32294-			 || test ! -s conftest.err'
32295-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32296-  (eval $ac_try) 2>&5
32297-  ac_status=$?
32298-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32299-  (exit $ac_status); }; } &&
32300-	 { ac_try='test -s conftest.$ac_objext'
32301-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32302-  (eval $ac_try) 2>&5
32303-  ac_status=$?
32304-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32305-  (exit $ac_status); }; }; then
32306+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
32307+  (exit $ac_status); } && {
32308+	 test -z "$ac_c_werror_flag" ||
32309+	 test ! -s conftest.err
32310+       } && test -s conftest.$ac_objext; then
32311   ac_compiler_gnu=yes
32312 else
32313-  echo "$as_me: failed program was:" >&5
32314+  $as_echo "$as_me: failed program was:" >&5
32315 sed 's/^/| /' conftest.$ac_ext >&5
32316
32317 ac_compiler_gnu=no
32318 fi
32319-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32320+
32321+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32322 ac_cv_c_compiler_gnu=$ac_compiler_gnu
32323
32324 fi
32325-echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
32326-echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
32327-GCC=`test $ac_compiler_gnu = yes && echo yes`
32328+{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
32329+$as_echo "$ac_cv_c_compiler_gnu" >&6; }
32330+if test $ac_compiler_gnu = yes; then
32331+  GCC=yes
32332+else
32333+  GCC=
32334+fi
32335 ac_test_CFLAGS=${CFLAGS+set}
32336 ac_save_CFLAGS=$CFLAGS
32337-CFLAGS="-g"
32338-echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
32339-echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
32340+{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
32341+$as_echo_n "checking whether $CC accepts -g... " >&6; }
32342 if test "${ac_cv_prog_cc_g+set}" = set; then
32343-  echo $ECHO_N "(cached) $ECHO_C" >&6
32344+  $as_echo_n "(cached) " >&6
32345 else
32346+  ac_save_c_werror_flag=$ac_c_werror_flag
32347+   ac_c_werror_flag=yes
32348+   ac_cv_prog_cc_g=no
32349+   CFLAGS="-g"
32350   cat >conftest.$ac_ext <<_ACEOF
32351 /* confdefs.h.  */
32352 _ACEOF
32353@@ -2347,38 +3502,121 @@
32354 }
32355 _ACEOF
32356 rm -f conftest.$ac_objext
32357-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32358-  (eval $ac_compile) 2>conftest.er1
32359+if { (ac_try="$ac_compile"
32360+case "(($ac_try" in
32361+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32362+  *) ac_try_echo=$ac_try;;
32363+esac
32364+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
32365+$as_echo "$ac_try_echo") >&5
32366+  (eval "$ac_compile") 2>conftest.er1
32367   ac_status=$?
32368   grep -v '^ *+' conftest.er1 >conftest.err
32369   rm -f conftest.er1
32370   cat conftest.err >&5
32371-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32372-  (exit $ac_status); } &&
32373-	 { ac_try='test -z "$ac_c_werror_flag"
32374-			 || test ! -s conftest.err'
32375-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32376-  (eval $ac_try) 2>&5
32377-  ac_status=$?
32378-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32379-  (exit $ac_status); }; } &&
32380-	 { ac_try='test -s conftest.$ac_objext'
32381-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32382-  (eval $ac_try) 2>&5
32383+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
32384+  (exit $ac_status); } && {
32385+	 test -z "$ac_c_werror_flag" ||
32386+	 test ! -s conftest.err
32387+       } && test -s conftest.$ac_objext; then
32388+  ac_cv_prog_cc_g=yes
32389+else
32390+  $as_echo "$as_me: failed program was:" >&5
32391+sed 's/^/| /' conftest.$ac_ext >&5
32392+
32393+	CFLAGS=""
32394+      cat >conftest.$ac_ext <<_ACEOF
32395+/* confdefs.h.  */
32396+_ACEOF
32397+cat confdefs.h >>conftest.$ac_ext
32398+cat >>conftest.$ac_ext <<_ACEOF
32399+/* end confdefs.h.  */
32400+
32401+int
32402+main ()
32403+{
32404+
32405+  ;
32406+  return 0;
32407+}
32408+_ACEOF
32409+rm -f conftest.$ac_objext
32410+if { (ac_try="$ac_compile"
32411+case "(($ac_try" in
32412+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32413+  *) ac_try_echo=$ac_try;;
32414+esac
32415+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
32416+$as_echo "$ac_try_echo") >&5
32417+  (eval "$ac_compile") 2>conftest.er1
32418   ac_status=$?
32419-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32420-  (exit $ac_status); }; }; then
32421+  grep -v '^ *+' conftest.er1 >conftest.err
32422+  rm -f conftest.er1
32423+  cat conftest.err >&5
32424+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
32425+  (exit $ac_status); } && {
32426+	 test -z "$ac_c_werror_flag" ||
32427+	 test ! -s conftest.err
32428+       } && test -s conftest.$ac_objext; then
32429+  :
32430+else
32431+  $as_echo "$as_me: failed program was:" >&5
32432+sed 's/^/| /' conftest.$ac_ext >&5
32433+
32434+	ac_c_werror_flag=$ac_save_c_werror_flag
32435+	 CFLAGS="-g"
32436+	 cat >conftest.$ac_ext <<_ACEOF
32437+/* confdefs.h.  */
32438+_ACEOF
32439+cat confdefs.h >>conftest.$ac_ext
32440+cat >>conftest.$ac_ext <<_ACEOF
32441+/* end confdefs.h.  */
32442+
32443+int
32444+main ()
32445+{
32446+
32447+  ;
32448+  return 0;
32449+}
32450+_ACEOF
32451+rm -f conftest.$ac_objext
32452+if { (ac_try="$ac_compile"
32453+case "(($ac_try" in
32454+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32455+  *) ac_try_echo=$ac_try;;
32456+esac
32457+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
32458+$as_echo "$ac_try_echo") >&5
32459+  (eval "$ac_compile") 2>conftest.er1
32460+  ac_status=$?
32461+  grep -v '^ *+' conftest.er1 >conftest.err
32462+  rm -f conftest.er1
32463+  cat conftest.err >&5
32464+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
32465+  (exit $ac_status); } && {
32466+	 test -z "$ac_c_werror_flag" ||
32467+	 test ! -s conftest.err
32468+       } && test -s conftest.$ac_objext; then
32469   ac_cv_prog_cc_g=yes
32470 else
32471-  echo "$as_me: failed program was:" >&5
32472+  $as_echo "$as_me: failed program was:" >&5
32473 sed 's/^/| /' conftest.$ac_ext >&5
32474
32475-ac_cv_prog_cc_g=no
32476+
32477+fi
32478+
32479+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32480+fi
32481+
32482+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32483 fi
32484-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32485+
32486+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32487+   ac_c_werror_flag=$ac_save_c_werror_flag
32488 fi
32489-echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
32490-echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
32491+{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
32492+$as_echo "$ac_cv_prog_cc_g" >&6; }
32493 if test "$ac_test_CFLAGS" = set; then
32494   CFLAGS=$ac_save_CFLAGS
32495 elif test $ac_cv_prog_cc_g = yes; then
32496@@ -2394,12 +3632,12 @@
32497     CFLAGS=
32498   fi
32499 fi
32500-echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
32501-echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
32502-if test "${ac_cv_prog_cc_stdc+set}" = set; then
32503-  echo $ECHO_N "(cached) $ECHO_C" >&6
32504+{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
32505+$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
32506+if test "${ac_cv_prog_cc_c89+set}" = set; then
32507+  $as_echo_n "(cached) " >&6
32508 else
32509-  ac_cv_prog_cc_stdc=no
32510+  ac_cv_prog_cc_c89=no
32511 ac_save_CC=$CC
32512 cat >conftest.$ac_ext <<_ACEOF
32513 /* confdefs.h.  */
32514@@ -2433,12 +3671,17 @@
32515 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
32516    function prototypes and stuff, but not '\xHH' hex character constants.
32517    These don't provoke an error unfortunately, instead are silently treated
32518-   as 'x'.  The following induces an error, until -std1 is added to get
32519+   as 'x'.  The following induces an error, until -std is added to get
32520    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
32521    array size at least.  It's necessary to write '\x00'==0 to get something
32522-   that's true only with -std1.  */
32523+   that's true only with -std.  */
32524 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
32525
32526+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
32527+   inside strings and character constants.  */
32528+#define FOO(x) 'x'
32529+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
32530+
32531 int test (int i, double x);
32532 struct s1 {int (*f) (int a);};
32533 struct s2 {int (*f) (double a);};
32534@@ -2453,3163 +3696,10974 @@
32535   return 0;
32536 }
32537 _ACEOF
32538-# Don't try gcc -ansi; that turns off useful extensions and
32539-# breaks some systems' header files.
32540-# AIX			-qlanglvl=ansi
32541-# Ultrix and OSF/1	-std1
32542-# HP-UX 10.20 and later	-Ae
32543-# HP-UX older versions	-Aa -D_HPUX_SOURCE
32544-# SVR4			-Xc -D__EXTENSIONS__
32545-for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
32546+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
32547+	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
32548 do
32549   CC="$ac_save_CC $ac_arg"
32550   rm -f conftest.$ac_objext
32551-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32552-  (eval $ac_compile) 2>conftest.er1
32553+if { (ac_try="$ac_compile"
32554+case "(($ac_try" in
32555+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32556+  *) ac_try_echo=$ac_try;;
32557+esac
32558+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
32559+$as_echo "$ac_try_echo") >&5
32560+  (eval "$ac_compile") 2>conftest.er1
32561   ac_status=$?
32562   grep -v '^ *+' conftest.er1 >conftest.err
32563   rm -f conftest.er1
32564   cat conftest.err >&5
32565-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32566-  (exit $ac_status); } &&
32567-	 { ac_try='test -z "$ac_c_werror_flag"
32568-			 || test ! -s conftest.err'
32569-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32570-  (eval $ac_try) 2>&5
32571-  ac_status=$?
32572-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32573-  (exit $ac_status); }; } &&
32574-	 { ac_try='test -s conftest.$ac_objext'
32575-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32576-  (eval $ac_try) 2>&5
32577-  ac_status=$?
32578-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32579-  (exit $ac_status); }; }; then
32580-  ac_cv_prog_cc_stdc=$ac_arg
32581-break
32582+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
32583+  (exit $ac_status); } && {
32584+	 test -z "$ac_c_werror_flag" ||
32585+	 test ! -s conftest.err
32586+       } && test -s conftest.$ac_objext; then
32587+  ac_cv_prog_cc_c89=$ac_arg
32588 else
32589-  echo "$as_me: failed program was:" >&5
32590+  $as_echo "$as_me: failed program was:" >&5
32591 sed 's/^/| /' conftest.$ac_ext >&5
32592
32593+
32594 fi
32595-rm -f conftest.err conftest.$ac_objext
32596+
32597+rm -f core conftest.err conftest.$ac_objext
32598+  test "x$ac_cv_prog_cc_c89" != "xno" && break
32599 done
32600-rm -f conftest.$ac_ext conftest.$ac_objext
32601+rm -f conftest.$ac_ext
32602 CC=$ac_save_CC
32603
32604 fi
32605+# AC_CACHE_VAL
32606+case "x$ac_cv_prog_cc_c89" in
32607+  x)
32608+    { $as_echo "$as_me:$LINENO: result: none needed" >&5
32609+$as_echo "none needed" >&6; } ;;
32610+  xno)
32611+    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
32612+$as_echo "unsupported" >&6; } ;;
32613+  *)
32614+    CC="$CC $ac_cv_prog_cc_c89"
32615+    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
32616+$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
32617+esac
32618+
32619+
32620+ac_ext=c
32621+ac_cpp='$CPP $CPPFLAGS'
32622+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32623+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32624+ac_compiler_gnu=$ac_cv_c_compiler_gnu
32625
32626-case "x$ac_cv_prog_cc_stdc" in
32627-  x|xno)
32628-    echo "$as_me:$LINENO: result: none needed" >&5
32629-echo "${ECHO_T}none needed" >&6 ;;
32630-  *)
32631-    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
32632-echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
32633-    CC="$CC $ac_cv_prog_cc_stdc" ;;
32634+depcc="$CC"   am_compiler_list=
32635+
32636+{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
32637+$as_echo_n "checking dependency style of $depcc... " >&6; }
32638+if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
32639+  $as_echo_n "(cached) " >&6
32640+else
32641+  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
32642+  # We make a subdir and do the tests there.  Otherwise we can end up
32643+  # making bogus files that we don't know about and never remove.  For
32644+  # instance it was reported that on HP-UX the gcc test will end up
32645+  # making a dummy file named `D' -- because `-MD' means `put the output
32646+  # in D'.
32647+  mkdir conftest.dir
32648+  # Copy depcomp to subdir because otherwise we won't find it if we're
32649+  # using a relative directory.
32650+  cp "$am_depcomp" conftest.dir
32651+  cd conftest.dir
32652+  # We will build objects and dependencies in a subdirectory because
32653+  # it helps to detect inapplicable dependency modes.  For instance
32654+  # both Tru64's cc and ICC support -MD to output dependencies as a
32655+  # side effect of compilation, but ICC will put the dependencies in
32656+  # the current directory while Tru64 will put them in the object
32657+  # directory.
32658+  mkdir sub
32659+
32660+  am_cv_CC_dependencies_compiler_type=none
32661+  if test "$am_compiler_list" = ""; then
32662+     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
32663+  fi
32664+  am__universal=false
32665+  case " $depcc " in #(
32666+     *\ -arch\ *\ -arch\ *) am__universal=true ;;
32667+     esac
32668+
32669+  for depmode in $am_compiler_list; do
32670+    # Setup a source with many dependencies, because some compilers
32671+    # like to wrap large dependency lists on column 80 (with \), and
32672+    # we should not choose a depcomp mode which is confused by this.
32673+    #
32674+    # We need to recreate these files for each test, as the compiler may
32675+    # overwrite some of them when testing with obscure command lines.
32676+    # This happens at least with the AIX C compiler.
32677+    : > sub/conftest.c
32678+    for i in 1 2 3 4 5 6; do
32679+      echo '#include "conftst'$i'.h"' >> sub/conftest.c
32680+      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
32681+      # Solaris 8's {/usr,}/bin/sh.
32682+      touch sub/conftst$i.h
32683+    done
32684+    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
32685+
32686+    # We check with `-c' and `-o' for the sake of the "dashmstdout"
32687+    # mode.  It turns out that the SunPro C++ compiler does not properly
32688+    # handle `-M -o', and we need to detect this.  Also, some Intel
32689+    # versions had trouble with output in subdirs
32690+    am__obj=sub/conftest.${OBJEXT-o}
32691+    am__minus_obj="-o $am__obj"
32692+    case $depmode in
32693+    gcc)
32694+      # This depmode causes a compiler race in universal mode.
32695+      test "$am__universal" = false || continue
32696+      ;;
32697+    nosideeffect)
32698+      # after this tag, mechanisms are not by side-effect, so they'll
32699+      # only be used when explicitly requested
32700+      if test "x$enable_dependency_tracking" = xyes; then
32701+	continue
32702+      else
32703+	break
32704+      fi
32705+      ;;
32706+    msvisualcpp | msvcmsys)
32707+      # This compiler won't grok `-c -o', but also, the minuso test has
32708+      # not run yet.  These depmodes are late enough in the game, and
32709+      # so weak that their functioning should not be impacted.
32710+      am__obj=conftest.${OBJEXT-o}
32711+      am__minus_obj=
32712+      ;;
32713+    none) break ;;
32714 esac
32715+    if depmode=$depmode \
32716+       source=sub/conftest.c object=$am__obj \
32717+       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
32718+       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
32719+         >/dev/null 2>conftest.err &&
32720+       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
32721+       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
32722+       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
32723+       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
32724+      # icc doesn't choke on unknown options, it will just issue warnings
32725+      # or remarks (even with -Werror).  So we grep stderr for any message
32726+      # that says an option was ignored or not supported.
32727+      # When given -MP, icc 7.0 and 7.1 complain thusly:
32728+      #   icc: Command line warning: ignoring option '-M'; no argument required
32729+      # The diagnosis changed in icc 8.0:
32730+      #   icc: Command line remark: option '-MP' not supported
32731+      if (grep 'ignoring option' conftest.err ||
32732+          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
32733+        am_cv_CC_dependencies_compiler_type=$depmode
32734+        break
32735+      fi
32736+    fi
32737+  done
32738
32739-# Some people use a C++ compiler to compile C.  Since we use `exit',
32740-# in C++ we need to declare it.  In case someone uses the same compiler
32741-# for both compiling C and C++ we need to have the C++ compiler decide
32742-# the declaration of exit, since it's the most demanding environment.
32743-cat >conftest.$ac_ext <<_ACEOF
32744-#ifndef __cplusplus
32745-  choke me
32746-#endif
32747-_ACEOF
32748-rm -f conftest.$ac_objext
32749-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32750-  (eval $ac_compile) 2>conftest.er1
32751-  ac_status=$?
32752-  grep -v '^ *+' conftest.er1 >conftest.err
32753-  rm -f conftest.er1
32754-  cat conftest.err >&5
32755-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32756-  (exit $ac_status); } &&
32757-	 { ac_try='test -z "$ac_c_werror_flag"
32758-			 || test ! -s conftest.err'
32759-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32760-  (eval $ac_try) 2>&5
32761-  ac_status=$?
32762-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32763-  (exit $ac_status); }; } &&
32764-	 { ac_try='test -s conftest.$ac_objext'
32765-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32766-  (eval $ac_try) 2>&5
32767-  ac_status=$?
32768-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32769-  (exit $ac_status); }; }; then
32770-  for ac_declaration in \
32771-   '' \
32772-   'extern "C" void std::exit (int) throw (); using std::exit;' \
32773-   'extern "C" void std::exit (int); using std::exit;' \
32774-   'extern "C" void exit (int) throw ();' \
32775-   'extern "C" void exit (int);' \
32776-   'void exit (int);'
32777-do
32778-  cat >conftest.$ac_ext <<_ACEOF
32779-/* confdefs.h.  */
32780-_ACEOF
32781-cat confdefs.h >>conftest.$ac_ext
32782-cat >>conftest.$ac_ext <<_ACEOF
32783-/* end confdefs.h.  */
32784-$ac_declaration
32785-#include <stdlib.h>
32786-int
32787-main ()
32788-{
32789-exit (42);
32790-  ;
32791-  return 0;
32792-}
32793-_ACEOF
32794-rm -f conftest.$ac_objext
32795-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32796-  (eval $ac_compile) 2>conftest.er1
32797-  ac_status=$?
32798-  grep -v '^ *+' conftest.er1 >conftest.err
32799-  rm -f conftest.er1
32800-  cat conftest.err >&5
32801-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32802-  (exit $ac_status); } &&
32803-	 { ac_try='test -z "$ac_c_werror_flag"
32804-			 || test ! -s conftest.err'
32805-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32806-  (eval $ac_try) 2>&5
32807-  ac_status=$?
32808-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32809-  (exit $ac_status); }; } &&
32810-	 { ac_try='test -s conftest.$ac_objext'
32811-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32812-  (eval $ac_try) 2>&5
32813-  ac_status=$?
32814-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32815-  (exit $ac_status); }; }; then
32816-  :
32817+  cd ..
32818+  rm -rf conftest.dir
32819 else
32820-  echo "$as_me: failed program was:" >&5
32821-sed 's/^/| /' conftest.$ac_ext >&5
32822-
32823-continue
32824+  am_cv_CC_dependencies_compiler_type=none
32825 fi
32826-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32827-  cat >conftest.$ac_ext <<_ACEOF
32828-/* confdefs.h.  */
32829-_ACEOF
32830-cat confdefs.h >>conftest.$ac_ext
32831-cat >>conftest.$ac_ext <<_ACEOF
32832-/* end confdefs.h.  */
32833-$ac_declaration
32834-int
32835-main ()
32836-{
32837-exit (42);
32838-  ;
32839-  return 0;
32840-}
32841-_ACEOF
32842-rm -f conftest.$ac_objext
32843-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32844-  (eval $ac_compile) 2>conftest.er1
32845-  ac_status=$?
32846-  grep -v '^ *+' conftest.er1 >conftest.err
32847-  rm -f conftest.er1
32848-  cat conftest.err >&5
32849-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32850-  (exit $ac_status); } &&
32851-	 { ac_try='test -z "$ac_c_werror_flag"
32852-			 || test ! -s conftest.err'
32853-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32854-  (eval $ac_try) 2>&5
32855-  ac_status=$?
32856-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32857-  (exit $ac_status); }; } &&
32858-	 { ac_try='test -s conftest.$ac_objext'
32859-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32860-  (eval $ac_try) 2>&5
32861-  ac_status=$?
32862-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32863-  (exit $ac_status); }; }; then
32864-  break
32865-else
32866-  echo "$as_me: failed program was:" >&5
32867-sed 's/^/| /' conftest.$ac_ext >&5
32868
32869 fi
32870-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32871-done
32872-rm -f conftest*
32873-if test -n "$ac_declaration"; then
32874-  echo '#ifdef __cplusplus' >>confdefs.h
32875-  echo $ac_declaration      >>confdefs.h
32876-  echo '#endif'             >>confdefs.h
32877-fi
32878+{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
32879+$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
32880+CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
32881
32882+ if
32883+  test "x$enable_dependency_tracking" != xno \
32884+  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
32885+  am__fastdepCC_TRUE=
32886+  am__fastdepCC_FALSE='#'
32887 else
32888-  echo "$as_me: failed program was:" >&5
32889-sed 's/^/| /' conftest.$ac_ext >&5
32890-
32891+  am__fastdepCC_TRUE='#'
32892+  am__fastdepCC_FALSE=
32893 fi
32894-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32895-ac_ext=c
32896-ac_cpp='$CPP $CPPFLAGS'
32897-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32898-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32899-ac_compiler_gnu=$ac_cv_c_compiler_gnu
32900-
32901-ac_ext=cc
32902-ac_cpp='$CXXCPP $CPPFLAGS'
32903-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32904-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32905-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32906
32907
32908-
32909-ac_aux_dir=
32910-for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
32911-  if test -f $ac_dir/install-sh; then
32912-    ac_aux_dir=$ac_dir
32913-    ac_install_sh="$ac_aux_dir/install-sh -c"
32914-    break
32915-  elif test -f $ac_dir/install.sh; then
32916-    ac_aux_dir=$ac_dir
32917-    ac_install_sh="$ac_aux_dir/install.sh -c"
32918-    break
32919-  elif test -f $ac_dir/shtool; then
32920-    ac_aux_dir=$ac_dir
32921-    ac_install_sh="$ac_aux_dir/shtool install -c"
32922-    break
32923-  fi
32924-done
32925-if test -z "$ac_aux_dir"; then
32926-  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
32927-echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
32928-   { (exit 1); exit 1; }; }
32929-fi
32930-ac_config_guess="$SHELL $ac_aux_dir/config.guess"
32931-ac_config_sub="$SHELL $ac_aux_dir/config.sub"
32932-ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
32933-
32934-# Find a good install program.  We prefer a C program (faster),
32935-# so one script is as good as another.  But avoid the broken or
32936-# incompatible versions:
32937-# SysV /etc/install, /usr/sbin/install
32938-# SunOS /usr/etc/install
32939-# IRIX /sbin/install
32940-# AIX /bin/install
32941-# AmigaOS /C/install, which installs bootblocks on floppy discs
32942-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
32943-# AFS /usr/afsws/bin/install, which mishandles nonexistent args
32944-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
32945-# OS/2's system install, which has a completely different semantic
32946-# ./install, which can be erroneously created by make from ./install.sh.
32947-echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
32948-echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
32949-if test -z "$INSTALL"; then
32950-if test "${ac_cv_path_install+set}" = set; then
32951-  echo $ECHO_N "(cached) $ECHO_C" >&6
32952+{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
32953+$as_echo_n "checking for a sed that does not truncate output... " >&6; }
32954+if test "${ac_cv_path_SED+set}" = set; then
32955+  $as_echo_n "(cached) " >&6
32956 else
32957+            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
32958+     for ac_i in 1 2 3 4 5 6 7; do
32959+       ac_script="$ac_script$as_nl$ac_script"
32960+     done
32961+     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
32962+     $as_unset ac_script || ac_script=
32963+     if test -z "$SED"; then
32964+  ac_path_SED_found=false
32965+  # Loop through the user's path and test for each of PROGNAME-LIST
32966   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32967 for as_dir in $PATH
32968 do
32969   IFS=$as_save_IFS
32970   test -z "$as_dir" && as_dir=.
32971-  # Account for people who put trailing slashes in PATH elements.
32972-case $as_dir/ in
32973-  ./ | .// | /cC/* | \
32974-  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
32975-  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
32976-  /usr/ucb/* ) ;;
32977-  *)
32978-    # OSF1 and SCO ODT 3.0 have their own names for install.
32979-    # Don't use installbsd from OSF since it installs stuff as root
32980-    # by default.
32981-    for ac_prog in ginstall scoinst install; do
32982+  for ac_prog in sed gsed; do
32983       for ac_exec_ext in '' $ac_executable_extensions; do
32984-	if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
32985-	  if test $ac_prog = install &&
32986-	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
32987-	    # AIX install.  It has an incompatible calling convention.
32988-	    :
32989-	  elif test $ac_prog = install &&
32990-	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
32991-	    # program-specific install script used by HP pwplus--don't use.
32992-	    :
32993-	  else
32994-	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
32995-	    break 3
32996-	  fi
32997+      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
32998+      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
32999+# Check for GNU ac_path_SED and select it if it is found.
33000+  # Check for GNU $ac_path_SED
33001+case `"$ac_path_SED" --version 2>&1` in
33002+*GNU*)
33003+  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
33004+*)
33005+  ac_count=0
33006+  $as_echo_n 0123456789 >"conftest.in"
33007+  while :
33008+  do
33009+    cat "conftest.in" "conftest.in" >"conftest.tmp"
33010+    mv "conftest.tmp" "conftest.in"
33011+    cp "conftest.in" "conftest.nl"
33012+    $as_echo '' >> "conftest.nl"
33013+    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
33014+    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
33015+    ac_count=`expr $ac_count + 1`
33016+    if test $ac_count -gt ${ac_path_SED_max-0}; then
33017+      # Best one so far, save it but keep looking for a better one
33018+      ac_cv_path_SED="$ac_path_SED"
33019+      ac_path_SED_max=$ac_count
33020 	fi
33021+    # 10*(2^10) chars as input seems more than enough
33022+    test $ac_count -gt 10 && break
33023       done
33024-    done
33025-    ;;
33026+  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
33027 esac
33028-done
33029-
33030
33031+      $ac_path_SED_found && break 3
33032+    done
33033+  done
33034+done
33035+IFS=$as_save_IFS
33036+  if test -z "$ac_cv_path_SED"; then
33037+    { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
33038+$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
33039+   { (exit 1); exit 1; }; }
33040 fi
33041-  if test "${ac_cv_path_install+set}" = set; then
33042-    INSTALL=$ac_cv_path_install
33043   else
33044-    # As a last resort, use the slow shell script.  We don't cache a
33045-    # path for INSTALL within a source directory, because that will
33046-    # break other packages using the cache if that directory is
33047-    # removed, or if the path is relative.
33048-    INSTALL=$ac_install_sh
33049+  ac_cv_path_SED=$SED
33050   fi
33051+
33052 fi
33053-echo "$as_me:$LINENO: result: $INSTALL" >&5
33054-echo "${ECHO_T}$INSTALL" >&6
33055+{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
33056+$as_echo "$ac_cv_path_SED" >&6; }
33057+ SED="$ac_cv_path_SED"
33058+  rm -f conftest.sed
33059+
33060+test -z "$SED" && SED=sed
33061+Xsed="$SED -e 1s/^X//"
33062+
33063+
33064
33065-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
33066-# It thinks the first close brace ends the variable substitution.
33067-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
33068
33069-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
33070
33071-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
33072
33073
33074
33075
33076-ac_ext=cc
33077-ac_cpp='$CXXCPP $CPPFLAGS'
33078-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33079-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33080-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33081-echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
33082-echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
33083-if test -z "$CXXCPP"; then
33084-  if test "${ac_cv_prog_CXXCPP+set}" = set; then
33085-  echo $ECHO_N "(cached) $ECHO_C" >&6
33086+
33087+
33088+{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
33089+$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
33090+if test "${ac_cv_path_GREP+set}" = set; then
33091+  $as_echo_n "(cached) " >&6
33092 else
33093-      # Double quotes because CXXCPP needs to be expanded
33094-    for CXXCPP in "$CXX -E" "/lib/cpp"
33095+  if test -z "$GREP"; then
33096+  ac_path_GREP_found=false
33097+  # Loop through the user's path and test for each of PROGNAME-LIST
33098+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33099+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
33100     do
33101-      ac_preproc_ok=false
33102-for ac_cxx_preproc_warn_flag in '' yes
33103+  IFS=$as_save_IFS
33104+  test -z "$as_dir" && as_dir=.
33105+  for ac_prog in grep ggrep; do
33106+    for ac_exec_ext in '' $ac_executable_extensions; do
33107+      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
33108+      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
33109+# Check for GNU ac_path_GREP and select it if it is found.
33110+  # Check for GNU $ac_path_GREP
33111+case `"$ac_path_GREP" --version 2>&1` in
33112+*GNU*)
33113+  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
33114+*)
33115+  ac_count=0
33116+  $as_echo_n 0123456789 >"conftest.in"
33117+  while :
33118 do
33119-  # Use a header file that comes with gcc, so configuring glibc
33120-  # with a fresh cross-compiler works.
33121-  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33122-  # <limits.h> exists even on freestanding compilers.
33123-  # On the NeXT, cc -E runs the code through the compiler's parser,
33124-  # not just through cpp. "Syntax error" is here to catch this case.
33125-  cat >conftest.$ac_ext <<_ACEOF
33126-/* confdefs.h.  */
33127-_ACEOF
33128-cat confdefs.h >>conftest.$ac_ext
33129-cat >>conftest.$ac_ext <<_ACEOF
33130-/* end confdefs.h.  */
33131-#ifdef __STDC__
33132-# include <limits.h>
33133-#else
33134-# include <assert.h>
33135-#endif
33136-		     Syntax error
33137-_ACEOF
33138-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33139-  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33140-  ac_status=$?
33141-  grep -v '^ *+' conftest.er1 >conftest.err
33142-  rm -f conftest.er1
33143-  cat conftest.err >&5
33144-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33145-  (exit $ac_status); } >/dev/null; then
33146-  if test -s conftest.err; then
33147-    ac_cpp_err=$ac_cxx_preproc_warn_flag
33148-    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
33149-  else
33150-    ac_cpp_err=
33151+    cat "conftest.in" "conftest.in" >"conftest.tmp"
33152+    mv "conftest.tmp" "conftest.in"
33153+    cp "conftest.in" "conftest.nl"
33154+    $as_echo 'GREP' >> "conftest.nl"
33155+    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
33156+    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
33157+    ac_count=`expr $ac_count + 1`
33158+    if test $ac_count -gt ${ac_path_GREP_max-0}; then
33159+      # Best one so far, save it but keep looking for a better one
33160+      ac_cv_path_GREP="$ac_path_GREP"
33161+      ac_path_GREP_max=$ac_count
33162   fi
33163-else
33164-  ac_cpp_err=yes
33165+    # 10*(2^10) chars as input seems more than enough
33166+    test $ac_count -gt 10 && break
33167+  done
33168+  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
33169+esac
33170+
33171+      $ac_path_GREP_found && break 3
33172+    done
33173+  done
33174+done
33175+IFS=$as_save_IFS
33176+  if test -z "$ac_cv_path_GREP"; then
33177+    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
33178+$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
33179+   { (exit 1); exit 1; }; }
33180 fi
33181-if test -z "$ac_cpp_err"; then
33182-  :
33183 else
33184-  echo "$as_me: failed program was:" >&5
33185-sed 's/^/| /' conftest.$ac_ext >&5
33186+  ac_cv_path_GREP=$GREP
33187+fi
33188
33189-  # Broken: fails on valid input.
33190-continue
33191 fi
33192-rm -f conftest.err conftest.$ac_ext
33193+{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
33194+$as_echo "$ac_cv_path_GREP" >&6; }
33195+ GREP="$ac_cv_path_GREP"
33196
33197-  # OK, works on sane cases.  Now check whether non-existent headers
33198-  # can be detected and how.
33199-  cat >conftest.$ac_ext <<_ACEOF
33200-/* confdefs.h.  */
33201-_ACEOF
33202-cat confdefs.h >>conftest.$ac_ext
33203-cat >>conftest.$ac_ext <<_ACEOF
33204-/* end confdefs.h.  */
33205-#include <ac_nonexistent.h>
33206-_ACEOF
33207-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33208-  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33209-  ac_status=$?
33210-  grep -v '^ *+' conftest.er1 >conftest.err
33211-  rm -f conftest.er1
33212-  cat conftest.err >&5
33213-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33214-  (exit $ac_status); } >/dev/null; then
33215-  if test -s conftest.err; then
33216-    ac_cpp_err=$ac_cxx_preproc_warn_flag
33217-    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
33218+
33219+{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
33220+$as_echo_n "checking for egrep... " >&6; }
33221+if test "${ac_cv_path_EGREP+set}" = set; then
33222+  $as_echo_n "(cached) " >&6
33223   else
33224-    ac_cpp_err=
33225-  fi
33226+  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
33227+   then ac_cv_path_EGREP="$GREP -E"
33228 else
33229-  ac_cpp_err=yes
33230+     if test -z "$EGREP"; then
33231+  ac_path_EGREP_found=false
33232+  # Loop through the user's path and test for each of PROGNAME-LIST
33233+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33234+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
33235+do
33236+  IFS=$as_save_IFS
33237+  test -z "$as_dir" && as_dir=.
33238+  for ac_prog in egrep; do
33239+    for ac_exec_ext in '' $ac_executable_extensions; do
33240+      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
33241+      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
33242+# Check for GNU ac_path_EGREP and select it if it is found.
33243+  # Check for GNU $ac_path_EGREP
33244+case `"$ac_path_EGREP" --version 2>&1` in
33245+*GNU*)
33246+  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
33247+*)
33248+  ac_count=0
33249+  $as_echo_n 0123456789 >"conftest.in"
33250+  while :
33251+  do
33252+    cat "conftest.in" "conftest.in" >"conftest.tmp"
33253+    mv "conftest.tmp" "conftest.in"
33254+    cp "conftest.in" "conftest.nl"
33255+    $as_echo 'EGREP' >> "conftest.nl"
33256+    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
33257+    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
33258+    ac_count=`expr $ac_count + 1`
33259+    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
33260+      # Best one so far, save it but keep looking for a better one
33261+      ac_cv_path_EGREP="$ac_path_EGREP"
33262+      ac_path_EGREP_max=$ac_count
33263 fi
33264-if test -z "$ac_cpp_err"; then
33265-  # Broken: success on invalid input.
33266-continue
33267-else
33268-  echo "$as_me: failed program was:" >&5
33269-sed 's/^/| /' conftest.$ac_ext >&5
33270+    # 10*(2^10) chars as input seems more than enough
33271+    test $ac_count -gt 10 && break
33272+  done
33273+  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
33274+esac
33275
33276-  # Passes both tests.
33277-ac_preproc_ok=:
33278-break
33279+      $ac_path_EGREP_found && break 3
33280+    done
33281+  done
33282+done
33283+IFS=$as_save_IFS
33284+  if test -z "$ac_cv_path_EGREP"; then
33285+    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
33286+$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
33287+   { (exit 1); exit 1; }; }
33288+  fi
33289+else
33290+  ac_cv_path_EGREP=$EGREP
33291 fi
33292-rm -f conftest.err conftest.$ac_ext
33293
33294-done
33295-# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
33296-rm -f conftest.err conftest.$ac_ext
33297-if $ac_preproc_ok; then
33298-  break
33299 fi
33300+fi
33301+{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
33302+$as_echo "$ac_cv_path_EGREP" >&6; }
33303+ EGREP="$ac_cv_path_EGREP"
33304
33305+
33306+{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5
33307+$as_echo_n "checking for fgrep... " >&6; }
33308+if test "${ac_cv_path_FGREP+set}" = set; then
33309+  $as_echo_n "(cached) " >&6
33310+else
33311+  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
33312+   then ac_cv_path_FGREP="$GREP -F"
33313+   else
33314+     if test -z "$FGREP"; then
33315+  ac_path_FGREP_found=false
33316+  # Loop through the user's path and test for each of PROGNAME-LIST
33317+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33318+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
33319+do
33320+  IFS=$as_save_IFS
33321+  test -z "$as_dir" && as_dir=.
33322+  for ac_prog in fgrep; do
33323+    for ac_exec_ext in '' $ac_executable_extensions; do
33324+      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
33325+      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
33326+# Check for GNU ac_path_FGREP and select it if it is found.
33327+  # Check for GNU $ac_path_FGREP
33328+case `"$ac_path_FGREP" --version 2>&1` in
33329+*GNU*)
33330+  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
33331+*)
33332+  ac_count=0
33333+  $as_echo_n 0123456789 >"conftest.in"
33334+  while :
33335+  do
33336+    cat "conftest.in" "conftest.in" >"conftest.tmp"
33337+    mv "conftest.tmp" "conftest.in"
33338+    cp "conftest.in" "conftest.nl"
33339+    $as_echo 'FGREP' >> "conftest.nl"
33340+    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
33341+    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
33342+    ac_count=`expr $ac_count + 1`
33343+    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
33344+      # Best one so far, save it but keep looking for a better one
33345+      ac_cv_path_FGREP="$ac_path_FGREP"
33346+      ac_path_FGREP_max=$ac_count
33347+    fi
33348+    # 10*(2^10) chars as input seems more than enough
33349+    test $ac_count -gt 10 && break
33350     done
33351-    ac_cv_prog_CXXCPP=$CXXCPP
33352+  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
33353+esac
33354
33355+      $ac_path_FGREP_found && break 3
33356+    done
33357+  done
33358+done
33359+IFS=$as_save_IFS
33360+  if test -z "$ac_cv_path_FGREP"; then
33361+    { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
33362+$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
33363+   { (exit 1); exit 1; }; }
33364 fi
33365-  CXXCPP=$ac_cv_prog_CXXCPP
33366 else
33367-  ac_cv_prog_CXXCPP=$CXXCPP
33368+  ac_cv_path_FGREP=$FGREP
33369 fi
33370-echo "$as_me:$LINENO: result: $CXXCPP" >&5
33371-echo "${ECHO_T}$CXXCPP" >&6
33372-ac_preproc_ok=false
33373-for ac_cxx_preproc_warn_flag in '' yes
33374-do
33375-  # Use a header file that comes with gcc, so configuring glibc
33376-  # with a fresh cross-compiler works.
33377-  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33378-  # <limits.h> exists even on freestanding compilers.
33379-  # On the NeXT, cc -E runs the code through the compiler's parser,
33380-  # not just through cpp. "Syntax error" is here to catch this case.
33381-  cat >conftest.$ac_ext <<_ACEOF
33382-/* confdefs.h.  */
33383-_ACEOF
33384-cat confdefs.h >>conftest.$ac_ext
33385-cat >>conftest.$ac_ext <<_ACEOF
33386-/* end confdefs.h.  */
33387-#ifdef __STDC__
33388-# include <limits.h>
33389-#else
33390-# include <assert.h>
33391-#endif
33392-		     Syntax error
33393-_ACEOF
33394-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33395-  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33396-  ac_status=$?
33397-  grep -v '^ *+' conftest.er1 >conftest.err
33398-  rm -f conftest.er1
33399-  cat conftest.err >&5
33400-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33401-  (exit $ac_status); } >/dev/null; then
33402-  if test -s conftest.err; then
33403-    ac_cpp_err=$ac_cxx_preproc_warn_flag
33404-    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
33405-  else
33406-    ac_cpp_err=
33407+
33408   fi
33409-else
33410-  ac_cpp_err=yes
33411 fi
33412-if test -z "$ac_cpp_err"; then
33413-  :
33414-else
33415-  echo "$as_me: failed program was:" >&5
33416-sed 's/^/| /' conftest.$ac_ext >&5
33417+{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
33418+$as_echo "$ac_cv_path_FGREP" >&6; }
33419+ FGREP="$ac_cv_path_FGREP"
33420
33421-  # Broken: fails on valid input.
33422-continue
33423-fi
33424-rm -f conftest.err conftest.$ac_ext
33425
33426-  # OK, works on sane cases.  Now check whether non-existent headers
33427-  # can be detected and how.
33428-  cat >conftest.$ac_ext <<_ACEOF
33429-/* confdefs.h.  */
33430-_ACEOF
33431-cat confdefs.h >>conftest.$ac_ext
33432-cat >>conftest.$ac_ext <<_ACEOF
33433-/* end confdefs.h.  */
33434-#include <ac_nonexistent.h>
33435-_ACEOF
33436-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33437-  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33438-  ac_status=$?
33439-  grep -v '^ *+' conftest.er1 >conftest.err
33440-  rm -f conftest.er1
33441-  cat conftest.err >&5
33442-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33443-  (exit $ac_status); } >/dev/null; then
33444-  if test -s conftest.err; then
33445-    ac_cpp_err=$ac_cxx_preproc_warn_flag
33446-    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
33447-  else
33448-    ac_cpp_err=
33449-  fi
33450+test -z "$GREP" && GREP=grep
33451+
33452+
33453+
33454+
33455+
33456+
33457+
33458+
33459+
33460+
33461+
33462+
33463+
33464+
33465+
33466+
33467+
33468+
33469+
33470+# Check whether --with-gnu-ld was given.
33471+if test "${with_gnu_ld+set}" = set; then
33472+  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
33473 else
33474-  ac_cpp_err=yes
33475+  with_gnu_ld=no
33476 fi
33477-if test -z "$ac_cpp_err"; then
33478-  # Broken: success on invalid input.
33479-continue
33480-else
33481-  echo "$as_me: failed program was:" >&5
33482-sed 's/^/| /' conftest.$ac_ext >&5
33483
33484-  # Passes both tests.
33485-ac_preproc_ok=:
33486-break
33487+ac_prog=ld
33488+if test "$GCC" = yes; then
33489+  # Check if gcc -print-prog-name=ld gives a path.
33490+  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
33491+$as_echo_n "checking for ld used by $CC... " >&6; }
33492+  case $host in
33493+  *-*-mingw*)
33494+    # gcc leaves a trailing carriage return which upsets mingw
33495+    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
33496+  *)
33497+    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
33498+  esac
33499+  case $ac_prog in
33500+    # Accept absolute paths.
33501+    [\\/]* | ?:[\\/]*)
33502+      re_direlt='/[^/][^/]*/\.\./'
33503+      # Canonicalize the pathname of ld
33504+      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
33505+      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
33506+	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
33507+      done
33508+      test -z "$LD" && LD="$ac_prog"
33509+      ;;
33510+  "")
33511+    # If it fails, then pretend we aren't using GCC.
33512+    ac_prog=ld
33513+    ;;
33514+  *)
33515+    # If it is relative, then search for the first ld in PATH.
33516+    with_gnu_ld=unknown
33517+    ;;
33518+  esac
33519+elif test "$with_gnu_ld" = yes; then
33520+  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
33521+$as_echo_n "checking for GNU ld... " >&6; }
33522+else
33523+  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
33524+$as_echo_n "checking for non-GNU ld... " >&6; }
33525+fi
33526+if test "${lt_cv_path_LD+set}" = set; then
33527+  $as_echo_n "(cached) " >&6
33528+else
33529+  if test -z "$LD"; then
33530+  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
33531+  for ac_dir in $PATH; do
33532+    IFS="$lt_save_ifs"
33533+    test -z "$ac_dir" && ac_dir=.
33534+    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
33535+      lt_cv_path_LD="$ac_dir/$ac_prog"
33536+      # Check to see if the program is GNU ld.  I'd rather use --version,
33537+      # but apparently some variants of GNU ld only accept -v.
33538+      # Break only if it was the GNU/non-GNU ld that we prefer.
33539+      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
33540+      *GNU* | *'with BFD'*)
33541+	test "$with_gnu_ld" != no && break
33542+	;;
33543+      *)
33544+	test "$with_gnu_ld" != yes && break
33545+	;;
33546+      esac
33547 fi
33548-rm -f conftest.err conftest.$ac_ext
33549-
33550 done
33551-# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
33552-rm -f conftest.err conftest.$ac_ext
33553-if $ac_preproc_ok; then
33554-  :
33555+  IFS="$lt_save_ifs"
33556 else
33557-  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
33558-See \`config.log' for more details." >&5
33559-echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
33560-See \`config.log' for more details." >&2;}
33561-   { (exit 1); exit 1; }; }
33562+  lt_cv_path_LD="$LD" # Let the user override the test with a path.
33563+fi
33564 fi
33565
33566-ac_ext=cc
33567-ac_cpp='$CXXCPP $CPPFLAGS'
33568-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33569-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33570-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33571-
33572-
33573-echo "$as_me:$LINENO: checking for X" >&5
33574-echo $ECHO_N "checking for X... $ECHO_C" >&6
33575-
33576-
33577-# Check whether --with-x or --without-x was given.
33578-if test "${with_x+set}" = set; then
33579-  withval="$with_x"
33580-
33581-fi;
33582-# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
33583-if test "x$with_x" = xno; then
33584-  # The user explicitly disabled X.
33585-  have_x=disabled
33586-else
33587-  if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
33588-    # Both variables are already set.
33589-    have_x=yes
33590-  else
33591-    if test "${ac_cv_have_x+set}" = set; then
33592-  echo $ECHO_N "(cached) $ECHO_C" >&6
33593-else
33594-  # One or both of the vars are not set, and there is no cached value.
33595-ac_x_includes=no ac_x_libraries=no
33596-rm -fr conftest.dir
33597-if mkdir conftest.dir; then
33598-  cd conftest.dir
33599-  # Make sure to not put "make" in the Imakefile rules, since we grep it out.
33600-  cat >Imakefile <<'_ACEOF'
33601-acfindx:
33602-	@echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
33603-_ACEOF
33604-  if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
33605-    # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
33606-    eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
33607-    # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
33608-    for ac_extension in a so sl; do
33609-      if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
33610-	 test -f $ac_im_libdir/libX11.$ac_extension; then
33611-	ac_im_usrlibdir=$ac_im_libdir; break
33612-      fi
33613-    done
33614-    # Screen out bogus values from the imake configuration.  They are
33615-    # bogus both because they are the default anyway, and because
33616-    # using them would break gcc on systems where it needs fixed includes.
33617-    case $ac_im_incroot in
33618-	/usr/include) ;;
33619-	*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
33620-    esac
33621-    case $ac_im_usrlibdir in
33622-	/usr/lib | /lib) ;;
33623-	*) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
33624-    esac
33625+LD="$lt_cv_path_LD"
33626+if test -n "$LD"; then
33627+  { $as_echo "$as_me:$LINENO: result: $LD" >&5
33628+$as_echo "$LD" >&6; }
33629+else
33630+  { $as_echo "$as_me:$LINENO: result: no" >&5
33631+$as_echo "no" >&6; }
33632   fi
33633-  cd ..
33634-  rm -fr conftest.dir
33635+test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
33636+$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
33637+   { (exit 1); exit 1; }; }
33638+{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
33639+$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
33640+if test "${lt_cv_prog_gnu_ld+set}" = set; then
33641+  $as_echo_n "(cached) " >&6
33642+else
33643+  # I'd rather use --version here, but apparently some GNU lds only accept -v.
33644+case `$LD -v 2>&1 </dev/null` in
33645+*GNU* | *'with BFD'*)
33646+  lt_cv_prog_gnu_ld=yes
33647+  ;;
33648+*)
33649+  lt_cv_prog_gnu_ld=no
33650+  ;;
33651+esac
33652 fi
33653+{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
33654+$as_echo "$lt_cv_prog_gnu_ld" >&6; }
33655+with_gnu_ld=$lt_cv_prog_gnu_ld
33656
33657-# Standard set of common directories for X headers.
33658-# Check X11 before X11Rn because it is often a symlink to the current release.
33659-ac_x_header_dirs='
33660-/usr/X11/include
33661-/usr/X11R6/include
33662-/usr/X11R5/include
33663-/usr/X11R4/include
33664
33665-/usr/include/X11
33666-/usr/include/X11R6
33667-/usr/include/X11R5
33668-/usr/include/X11R4
33669
33670-/usr/local/X11/include
33671-/usr/local/X11R6/include
33672-/usr/local/X11R5/include
33673-/usr/local/X11R4/include
33674
33675-/usr/local/include/X11
33676-/usr/local/include/X11R6
33677-/usr/local/include/X11R5
33678-/usr/local/include/X11R4
33679
33680-/usr/X386/include
33681-/usr/x386/include
33682-/usr/XFree86/include/X11
33683
33684-/usr/include
33685-/usr/local/include
33686-/usr/unsupported/include
33687-/usr/athena/include
33688-/usr/local/x11r5/include
33689-/usr/lpp/Xamples/include
33690
33691-/usr/openwin/include
33692-/usr/openwin/share/include'
33693
33694-if test "$ac_x_includes" = no; then
33695-  # Guess where to find include files, by looking for Intrinsic.h.
33696-  # First, try using that file with no special directory specified.
33697-  cat >conftest.$ac_ext <<_ACEOF
33698-/* confdefs.h.  */
33699-_ACEOF
33700-cat confdefs.h >>conftest.$ac_ext
33701-cat >>conftest.$ac_ext <<_ACEOF
33702-/* end confdefs.h.  */
33703-#include <X11/Intrinsic.h>
33704-_ACEOF
33705-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33706-  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33707-  ac_status=$?
33708-  grep -v '^ *+' conftest.er1 >conftest.err
33709-  rm -f conftest.er1
33710-  cat conftest.err >&5
33711-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33712-  (exit $ac_status); } >/dev/null; then
33713-  if test -s conftest.err; then
33714-    ac_cpp_err=$ac_cxx_preproc_warn_flag
33715-    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
33716+
33717+{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
33718+$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
33719+if test "${lt_cv_path_NM+set}" = set; then
33720+  $as_echo_n "(cached) " >&6
33721   else
33722-    ac_cpp_err=
33723-  fi
33724+  if test -n "$NM"; then
33725+  # Let the user override the test.
33726+  lt_cv_path_NM="$NM"
33727 else
33728-  ac_cpp_err=yes
33729+  lt_nm_to_check="${ac_tool_prefix}nm"
33730+  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
33731+    lt_nm_to_check="$lt_nm_to_check nm"
33732 fi
33733-if test -z "$ac_cpp_err"; then
33734-  # We can compile using X headers with no special include directory.
33735-ac_x_includes=
33736-else
33737-  echo "$as_me: failed program was:" >&5
33738-sed 's/^/| /' conftest.$ac_ext >&5
33739-
33740-  for ac_dir in $ac_x_header_dirs; do
33741-  if test -r "$ac_dir/X11/Intrinsic.h"; then
33742-    ac_x_includes=$ac_dir
33743+  for lt_tmp_nm in $lt_nm_to_check; do
33744+    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
33745+    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
33746+      IFS="$lt_save_ifs"
33747+      test -z "$ac_dir" && ac_dir=.
33748+      tmp_nm="$ac_dir/$lt_tmp_nm"
33749+      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
33750+	# Check to see if the nm accepts a BSD-compat flag.
33751+	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
33752+	#   nm: unknown option "B" ignored
33753+	# Tru64's nm complains that /dev/null is an invalid object file
33754+	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
33755+	*/dev/null* | *'Invalid file or object type'*)
33756+	  lt_cv_path_NM="$tmp_nm -B"
33757     break
33758+	  ;;
33759+	*)
33760+	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
33761+	  */dev/null*)
33762+	    lt_cv_path_NM="$tmp_nm -p"
33763+	    break
33764+	    ;;
33765+	  *)
33766+	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
33767+	    continue # so that we can try to find one that supports BSD flags
33768+	    ;;
33769+	  esac
33770+	  ;;
33771+	esac
33772   fi
33773 done
33774+    IFS="$lt_save_ifs"
33775+  done
33776+  : ${lt_cv_path_NM=no}
33777 fi
33778-rm -f conftest.err conftest.$ac_ext
33779-fi # $ac_x_includes = no
33780-
33781-if test "$ac_x_libraries" = no; then
33782-  # Check for the libraries.
33783-  # See if we find them without any special options.
33784-  # Don't add to $LIBS permanently.
33785-  ac_save_LIBS=$LIBS
33786-  LIBS="-lXt $LIBS"
33787-  cat >conftest.$ac_ext <<_ACEOF
33788-/* confdefs.h.  */
33789-_ACEOF
33790-cat confdefs.h >>conftest.$ac_ext
33791-cat >>conftest.$ac_ext <<_ACEOF
33792-/* end confdefs.h.  */
33793-#include <X11/Intrinsic.h>
33794-int
33795-main ()
33796-{
33797-XtMalloc (0)
33798-  ;
33799-  return 0;
33800-}
33801-_ACEOF
33802-rm -f conftest.$ac_objext conftest$ac_exeext
33803-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33804-  (eval $ac_link) 2>conftest.er1
33805-  ac_status=$?
33806-  grep -v '^ *+' conftest.er1 >conftest.err
33807-  rm -f conftest.er1
33808-  cat conftest.err >&5
33809-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33810-  (exit $ac_status); } &&
33811-	 { ac_try='test -z "$ac_cxx_werror_flag"
33812-			 || test ! -s conftest.err'
33813-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33814-  (eval $ac_try) 2>&5
33815-  ac_status=$?
33816-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33817-  (exit $ac_status); }; } &&
33818-	 { ac_try='test -s conftest$ac_exeext'
33819-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33820-  (eval $ac_try) 2>&5
33821-  ac_status=$?
33822-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33823-  (exit $ac_status); }; }; then
33824-  LIBS=$ac_save_LIBS
33825-# We can link X programs with no special library path.
33826-ac_x_libraries=
33827+fi
33828+{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
33829+$as_echo "$lt_cv_path_NM" >&6; }
33830+if test "$lt_cv_path_NM" != "no"; then
33831+  NM="$lt_cv_path_NM"
33832 else
33833-  echo "$as_me: failed program was:" >&5
33834-sed 's/^/| /' conftest.$ac_ext >&5
33835-
33836-LIBS=$ac_save_LIBS
33837-for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
33838+  # Didn't find any BSD compatible name lister, look for dumpbin.
33839+  if test -n "$ac_tool_prefix"; then
33840+  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
33841+  do
33842+    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
33843+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
33844+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
33845+$as_echo_n "checking for $ac_word... " >&6; }
33846+if test "${ac_cv_prog_DUMPBIN+set}" = set; then
33847+  $as_echo_n "(cached) " >&6
33848+else
33849+  if test -n "$DUMPBIN"; then
33850+  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
33851+else
33852+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33853+for as_dir in $PATH
33854 do
33855-  # Don't even attempt the hair of trying to link an X program!
33856-  for ac_extension in a so sl; do
33857-    if test -r $ac_dir/libXt.$ac_extension; then
33858-      ac_x_libraries=$ac_dir
33859+  IFS=$as_save_IFS
33860+  test -z "$as_dir" && as_dir=.
33861+  for ac_exec_ext in '' $ac_executable_extensions; do
33862+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33863+    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
33864+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33865       break 2
33866     fi
33867   done
33868 done
33869-fi
33870-rm -f conftest.err conftest.$ac_objext \
33871-      conftest$ac_exeext conftest.$ac_ext
33872-fi # $ac_x_libraries = no
33873+IFS=$as_save_IFS
33874
33875-if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
33876-  # Didn't find X anywhere.  Cache the known absence of X.
33877-  ac_cv_have_x="have_x=no"
33878-else
33879-  # Record where we found X for the cache.
33880-  ac_cv_have_x="have_x=yes \
33881-		ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
33882 fi
33883 fi
33884+DUMPBIN=$ac_cv_prog_DUMPBIN
33885+if test -n "$DUMPBIN"; then
33886+  { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
33887+$as_echo "$DUMPBIN" >&6; }
33888+else
33889+  { $as_echo "$as_me:$LINENO: result: no" >&5
33890+$as_echo "no" >&6; }
33891+fi
33892+
33893
33894+    test -n "$DUMPBIN" && break
33895+  done
33896+fi
33897+if test -z "$DUMPBIN"; then
33898+  ac_ct_DUMPBIN=$DUMPBIN
33899+  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
33900+do
33901+  # Extract the first word of "$ac_prog", so it can be a program name with args.
33902+set dummy $ac_prog; ac_word=$2
33903+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
33904+$as_echo_n "checking for $ac_word... " >&6; }
33905+if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
33906+  $as_echo_n "(cached) " >&6
33907+else
33908+  if test -n "$ac_ct_DUMPBIN"; then
33909+  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
33910+else
33911+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33912+for as_dir in $PATH
33913+do
33914+  IFS=$as_save_IFS
33915+  test -z "$as_dir" && as_dir=.
33916+  for ac_exec_ext in '' $ac_executable_extensions; do
33917+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33918+    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
33919+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33920+    break 2
33921   fi
33922-  eval "$ac_cv_have_x"
33923-fi # $with_x != no
33924+done
33925+done
33926+IFS=$as_save_IFS
33927
33928-if test "$have_x" != yes; then
33929-  echo "$as_me:$LINENO: result: $have_x" >&5
33930-echo "${ECHO_T}$have_x" >&6
33931-  no_x=yes
33932+fi
33933+fi
33934+ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
33935+if test -n "$ac_ct_DUMPBIN"; then
33936+  { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
33937+$as_echo "$ac_ct_DUMPBIN" >&6; }
33938 else
33939-  # If each of the values was on the command line, it overrides each guess.
33940-  test "x$x_includes" = xNONE && x_includes=$ac_x_includes
33941-  test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
33942-  # Update the cache value to reflect the command line values.
33943-  ac_cv_have_x="have_x=yes \
33944-		ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
33945-  echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
33946-echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
33947+  { $as_echo "$as_me:$LINENO: result: no" >&5
33948+$as_echo "no" >&6; }
33949 fi
33950
33951-if test "$no_x" = yes; then
33952-  # Not all programs may use this symbol, but it does not hurt to define it.
33953
33954-cat >>confdefs.h <<\_ACEOF
33955-#define X_DISPLAY_MISSING 1
33956-_ACEOF
33957+  test -n "$ac_ct_DUMPBIN" && break
33958+done
33959
33960-  X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
33961+  if test "x$ac_ct_DUMPBIN" = x; then
33962+    DUMPBIN=":"
33963 else
33964-  if test -n "$x_includes"; then
33965-    X_CFLAGS="$X_CFLAGS -I$x_includes"
33966+    case $cross_compiling:$ac_tool_warned in
33967+yes:)
33968+{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
33969+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
33970+ac_tool_warned=yes ;;
33971+esac
33972+    DUMPBIN=$ac_ct_DUMPBIN
33973+  fi
33974   fi
33975
33976-  # It would also be nice to do this for all -L options, not just this one.
33977-  if test -n "$x_libraries"; then
33978-    X_LIBS="$X_LIBS -L$x_libraries"
33979-    # For Solaris; some versions of Sun CC require a space after -R and
33980-    # others require no space.  Words are not sufficient . . . .
33981-    case `(uname -sr) 2>/dev/null` in
33982-    "SunOS 5"*)
33983-      echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
33984-echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
33985-      ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
33986-      cat >conftest.$ac_ext <<_ACEOF
33987-/* confdefs.h.  */
33988-_ACEOF
33989-cat confdefs.h >>conftest.$ac_ext
33990-cat >>conftest.$ac_ext <<_ACEOF
33991-/* end confdefs.h.  */
33992
33993-int
33994-main ()
33995-{
33996+  if test "$DUMPBIN" != ":"; then
33997+    NM="$DUMPBIN"
33998+  fi
33999+fi
34000+test -z "$NM" && NM=nm
34001
34002-  ;
34003-  return 0;
34004-}
34005-_ACEOF
34006-rm -f conftest.$ac_objext conftest$ac_exeext
34007-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34008-  (eval $ac_link) 2>conftest.er1
34009-  ac_status=$?
34010-  grep -v '^ *+' conftest.er1 >conftest.err
34011-  rm -f conftest.er1
34012-  cat conftest.err >&5
34013-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34014-  (exit $ac_status); } &&
34015-	 { ac_try='test -z "$ac_cxx_werror_flag"
34016-			 || test ! -s conftest.err'
34017-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34018-  (eval $ac_try) 2>&5
34019-  ac_status=$?
34020-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34021-  (exit $ac_status); }; } &&
34022-	 { ac_try='test -s conftest$ac_exeext'
34023-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34024-  (eval $ac_try) 2>&5
34025-  ac_status=$?
34026-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34027-  (exit $ac_status); }; }; then
34028-  ac_R_nospace=yes
34029-else
34030-  echo "$as_me: failed program was:" >&5
34031-sed 's/^/| /' conftest.$ac_ext >&5
34032
34033-ac_R_nospace=no
34034-fi
34035-rm -f conftest.err conftest.$ac_objext \
34036-      conftest$ac_exeext conftest.$ac_ext
34037-      if test $ac_R_nospace = yes; then
34038-	echo "$as_me:$LINENO: result: no" >&5
34039-echo "${ECHO_T}no" >&6
34040-	X_LIBS="$X_LIBS -R$x_libraries"
34041-      else
34042-	LIBS="$ac_xsave_LIBS -R $x_libraries"
34043-	cat >conftest.$ac_ext <<_ACEOF
34044-/* confdefs.h.  */
34045-_ACEOF
34046-cat confdefs.h >>conftest.$ac_ext
34047-cat >>conftest.$ac_ext <<_ACEOF
34048-/* end confdefs.h.  */
34049
34050-int
34051-main ()
34052-{
34053
34054-  ;
34055-  return 0;
34056-}
34057-_ACEOF
34058-rm -f conftest.$ac_objext conftest$ac_exeext
34059-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34060-  (eval $ac_link) 2>conftest.er1
34061-  ac_status=$?
34062-  grep -v '^ *+' conftest.er1 >conftest.err
34063-  rm -f conftest.er1
34064-  cat conftest.err >&5
34065-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34066-  (exit $ac_status); } &&
34067-	 { ac_try='test -z "$ac_cxx_werror_flag"
34068-			 || test ! -s conftest.err'
34069-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34070-  (eval $ac_try) 2>&5
34071-  ac_status=$?
34072-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34073-  (exit $ac_status); }; } &&
34074-	 { ac_try='test -s conftest$ac_exeext'
34075-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34076-  (eval $ac_try) 2>&5
34077-  ac_status=$?
34078-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34079-  (exit $ac_status); }; }; then
34080-  ac_R_space=yes
34081-else
34082-  echo "$as_me: failed program was:" >&5
34083-sed 's/^/| /' conftest.$ac_ext >&5
34084
34085-ac_R_space=no
34086-fi
34087-rm -f conftest.err conftest.$ac_objext \
34088-      conftest$ac_exeext conftest.$ac_ext
34089-	if test $ac_R_space = yes; then
34090-	  echo "$as_me:$LINENO: result: yes" >&5
34091-echo "${ECHO_T}yes" >&6
34092-	  X_LIBS="$X_LIBS -R $x_libraries"
34093+
34094+{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
34095+$as_echo_n "checking the name lister ($NM) interface... " >&6; }
34096+if test "${lt_cv_nm_interface+set}" = set; then
34097+  $as_echo_n "(cached) " >&6
34098 	else
34099-	  echo "$as_me:$LINENO: result: neither works" >&5
34100-echo "${ECHO_T}neither works" >&6
34101+  lt_cv_nm_interface="BSD nm"
34102+  echo "int some_variable = 0;" > conftest.$ac_ext
34103+  (eval echo "\"\$as_me:4478: $ac_compile\"" >&5)
34104+  (eval "$ac_compile" 2>conftest.err)
34105+  cat conftest.err >&5
34106+  (eval echo "\"\$as_me:4481: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
34107+  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
34108+  cat conftest.err >&5
34109+  (eval echo "\"\$as_me:4484: output\"" >&5)
34110+  cat conftest.out >&5
34111+  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
34112+    lt_cv_nm_interface="MS dumpbin"
34113 	fi
34114+  rm -f conftest*
34115       fi
34116-      LIBS=$ac_xsave_LIBS
34117+{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
34118+$as_echo "$lt_cv_nm_interface" >&6; }
34119+
34120+{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
34121+$as_echo_n "checking whether ln -s works... " >&6; }
34122+LN_S=$as_ln_s
34123+if test "$LN_S" = "ln -s"; then
34124+  { $as_echo "$as_me:$LINENO: result: yes" >&5
34125+$as_echo "yes" >&6; }
34126+else
34127+  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
34128+$as_echo "no, using $LN_S" >&6; }
34129+fi
34130+
34131+# find the maximum length of command line arguments
34132+{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
34133+$as_echo_n "checking the maximum length of command line arguments... " >&6; }
34134+if test "${lt_cv_sys_max_cmd_len+set}" = set; then
34135+  $as_echo_n "(cached) " >&6
34136+else
34137+    i=0
34138+  teststring="ABCD"
34139+
34140+  case $build_os in
34141+  msdosdjgpp*)
34142+    # On DJGPP, this test can blow up pretty badly due to problems in libc
34143+    # (any single argument exceeding 2000 bytes causes a buffer overrun
34144+    # during glob expansion).  Even if it were fixed, the result of this
34145+    # check would be larger than it should be.
34146+    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
34147+    ;;
34148+
34149+  gnu*)
34150+    # Under GNU Hurd, this test is not required because there is
34151+    # no limit to the length of command line arguments.
34152+    # Libtool will interpret -1 as no limit whatsoever
34153+    lt_cv_sys_max_cmd_len=-1;
34154+    ;;
34155+
34156+  cygwin* | mingw* | cegcc*)
34157+    # On Win9x/ME, this test blows up -- it succeeds, but takes
34158+    # about 5 minutes as the teststring grows exponentially.
34159+    # Worse, since 9x/ME are not pre-emptively multitasking,
34160+    # you end up with a "frozen" computer, even though with patience
34161+    # the test eventually succeeds (with a max line length of 256k).
34162+    # Instead, let's just punt: use the minimum linelength reported by
34163+    # all of the supported platforms: 8192 (on NT/2K/XP).
34164+    lt_cv_sys_max_cmd_len=8192;
34165+    ;;
34166+
34167+  amigaos*)
34168+    # On AmigaOS with pdksh, this test takes hours, literally.
34169+    # So we just punt and use a minimum line length of 8192.
34170+    lt_cv_sys_max_cmd_len=8192;
34171+    ;;
34172+
34173+  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
34174+    # This has been around since 386BSD, at least.  Likely further.
34175+    if test -x /sbin/sysctl; then
34176+      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
34177+    elif test -x /usr/sbin/sysctl; then
34178+      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
34179+    else
34180+      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
34181+    fi
34182+    # And add a safety zone
34183+    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
34184+    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
34185+    ;;
34186+
34187+  interix*)
34188+    # We know the value 262144 and hardcode it with a safety zone (like BSD)
34189+    lt_cv_sys_max_cmd_len=196608
34190+    ;;
34191+
34192+  osf*)
34193+    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
34194+    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
34195+    # nice to cause kernel panics so lets avoid the loop below.
34196+    # First set a reasonable default.
34197+    lt_cv_sys_max_cmd_len=16384
34198+    #
34199+    if test -x /sbin/sysconfig; then
34200+      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
34201+        *1*) lt_cv_sys_max_cmd_len=-1 ;;
34202     esac
34203   fi
34204+    ;;
34205+  sco3.2v5*)
34206+    lt_cv_sys_max_cmd_len=102400
34207+    ;;
34208+  sysv5* | sco5v6* | sysv4.2uw2*)
34209+    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
34210+    if test -n "$kargmax"; then
34211+      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
34212+    else
34213+      lt_cv_sys_max_cmd_len=32768
34214+    fi
34215+    ;;
34216+  *)
34217+    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
34218+    if test -n "$lt_cv_sys_max_cmd_len"; then
34219+      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
34220+      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
34221+    else
34222+      # Make teststring a little bigger before we do anything with it.
34223+      # a 1K string should be a reasonable start.
34224+      for i in 1 2 3 4 5 6 7 8 ; do
34225+        teststring=$teststring$teststring
34226+      done
34227+      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
34228+      # If test is not a shell built-in, we'll probably end up computing a
34229+      # maximum length that is only half of the actual maximum length, but
34230+      # we can't tell.
34231+      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
34232+	         = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
34233+	      test $i != 17 # 1/2 MB should be enough
34234+      do
34235+        i=`expr $i + 1`
34236+        teststring=$teststring$teststring
34237+      done
34238+      # Only check the string length outside the loop.
34239+      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
34240+      teststring=
34241+      # Add a significant safety factor because C++ compilers can tack on
34242+      # massive amounts of additional arguments before passing them to the
34243+      # linker.  It appears as though 1/2 is a usable value.
34244+      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
34245+    fi
34246+    ;;
34247+  esac
34248
34249-  # Check for system-dependent libraries X programs must link with.
34250-  # Do this before checking for the system-independent R6 libraries
34251-  # (-lICE), since we may need -lsocket or whatever for X linking.
34252+fi
34253
34254-  if test "$ISC" = yes; then
34255-    X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
34256+if test -n $lt_cv_sys_max_cmd_len ; then
34257+  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
34258+$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
34259   else
34260-    # Martyn Johnson says this is needed for Ultrix, if the X
34261-    # libraries were built with DECnet support.  And Karl Berry says
34262-    # the Alpha needs dnet_stub (dnet does not exist).
34263-    ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
34264-    cat >conftest.$ac_ext <<_ACEOF
34265-/* confdefs.h.  */
34266-_ACEOF
34267-cat confdefs.h >>conftest.$ac_ext
34268-cat >>conftest.$ac_ext <<_ACEOF
34269-/* end confdefs.h.  */
34270+  { $as_echo "$as_me:$LINENO: result: none" >&5
34271+$as_echo "none" >&6; }
34272+fi
34273+max_cmd_len=$lt_cv_sys_max_cmd_len
34274
34275-/* Override any gcc2 internal prototype to avoid an error.  */
34276-#ifdef __cplusplus
34277-extern "C"
34278-#endif
34279-/* We use char because int might match the return type of a gcc2
34280-   builtin and then its argument prototype would still apply.  */
34281-char XOpenDisplay ();
34282-int
34283-main ()
34284-{
34285-XOpenDisplay ();
34286-  ;
34287-  return 0;
34288-}
34289-_ACEOF
34290-rm -f conftest.$ac_objext conftest$ac_exeext
34291-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34292-  (eval $ac_link) 2>conftest.er1
34293-  ac_status=$?
34294-  grep -v '^ *+' conftest.er1 >conftest.err
34295-  rm -f conftest.er1
34296-  cat conftest.err >&5
34297-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34298-  (exit $ac_status); } &&
34299-	 { ac_try='test -z "$ac_cxx_werror_flag"
34300-			 || test ! -s conftest.err'
34301-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34302-  (eval $ac_try) 2>&5
34303-  ac_status=$?
34304-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34305-  (exit $ac_status); }; } &&
34306-	 { ac_try='test -s conftest$ac_exeext'
34307-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34308-  (eval $ac_try) 2>&5
34309-  ac_status=$?
34310-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34311-  (exit $ac_status); }; }; then
34312-  :
34313+
34314+
34315+
34316+
34317+
34318+: ${CP="cp -f"}
34319+: ${MV="mv -f"}
34320+: ${RM="rm -f"}
34321+
34322+{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
34323+$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
34324+# Try some XSI features
34325+xsi_shell=no
34326+( _lt_dummy="a/b/c"
34327+  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
34328+      = c,a/b,, \
34329+    && eval 'test $(( 1 + 1 )) -eq 2 \
34330+    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
34331+  && xsi_shell=yes
34332+{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
34333+$as_echo "$xsi_shell" >&6; }
34334+
34335+
34336+{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
34337+$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
34338+lt_shell_append=no
34339+( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
34340+    >/dev/null 2>&1 \
34341+  && lt_shell_append=yes
34342+{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
34343+$as_echo "$lt_shell_append" >&6; }
34344+
34345+
34346+if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
34347+  lt_unset=unset
34348 else
34349-  echo "$as_me: failed program was:" >&5
34350-sed 's/^/| /' conftest.$ac_ext >&5
34351+  lt_unset=false
34352+fi
34353+
34354+
34355+
34356+
34357+
34358+# test EBCDIC or ASCII
34359+case `echo X|tr X '\101'` in
34360+ A) # ASCII based system
34361+    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
34362+  lt_SP2NL='tr \040 \012'
34363+  lt_NL2SP='tr \015\012 \040\040'
34364+  ;;
34365+ *) # EBCDIC based system
34366+  lt_SP2NL='tr \100 \n'
34367+  lt_NL2SP='tr \r\n \100\100'
34368+  ;;
34369+esac
34370+
34371+
34372+
34373
34374-echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
34375-echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
34376-if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
34377-  echo $ECHO_N "(cached) $ECHO_C" >&6
34378+
34379+
34380+
34381+
34382+
34383+{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
34384+$as_echo_n "checking for $LD option to reload object files... " >&6; }
34385+if test "${lt_cv_ld_reload_flag+set}" = set; then
34386+  $as_echo_n "(cached) " >&6
34387+else
34388+  lt_cv_ld_reload_flag='-r'
34389+fi
34390+{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
34391+$as_echo "$lt_cv_ld_reload_flag" >&6; }
34392+reload_flag=$lt_cv_ld_reload_flag
34393+case $reload_flag in
34394+"" | " "*) ;;
34395+*) reload_flag=" $reload_flag" ;;
34396+esac
34397+reload_cmds='$LD$reload_flag -o $output$reload_objs'
34398+case $host_os in
34399+  darwin*)
34400+    if test "$GCC" = yes; then
34401+      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
34402 else
34403-  ac_check_lib_save_LIBS=$LIBS
34404-LIBS="-ldnet  $LIBS"
34405-cat >conftest.$ac_ext <<_ACEOF
34406-/* confdefs.h.  */
34407-_ACEOF
34408-cat confdefs.h >>conftest.$ac_ext
34409-cat >>conftest.$ac_ext <<_ACEOF
34410-/* end confdefs.h.  */
34411+      reload_cmds='$LD$reload_flag -o $output$reload_objs'
34412+    fi
34413+    ;;
34414+esac
34415
34416-/* Override any gcc2 internal prototype to avoid an error.  */
34417-#ifdef __cplusplus
34418-extern "C"
34419-#endif
34420-/* We use char because int might match the return type of a gcc2
34421-   builtin and then its argument prototype would still apply.  */
34422-char dnet_ntoa ();
34423-int
34424-main ()
34425-{
34426-dnet_ntoa ();
34427-  ;
34428-  return 0;
34429-}
34430-_ACEOF
34431-rm -f conftest.$ac_objext conftest$ac_exeext
34432-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34433-  (eval $ac_link) 2>conftest.er1
34434-  ac_status=$?
34435-  grep -v '^ *+' conftest.er1 >conftest.err
34436-  rm -f conftest.er1
34437-  cat conftest.err >&5
34438-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34439-  (exit $ac_status); } &&
34440-	 { ac_try='test -z "$ac_cxx_werror_flag"
34441-			 || test ! -s conftest.err'
34442-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34443-  (eval $ac_try) 2>&5
34444-  ac_status=$?
34445-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34446-  (exit $ac_status); }; } &&
34447-	 { ac_try='test -s conftest$ac_exeext'
34448-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34449-  (eval $ac_try) 2>&5
34450-  ac_status=$?
34451-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34452-  (exit $ac_status); }; }; then
34453-  ac_cv_lib_dnet_dnet_ntoa=yes
34454+
34455+
34456+
34457+
34458+
34459+
34460+
34461+
34462+if test -n "$ac_tool_prefix"; then
34463+  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
34464+set dummy ${ac_tool_prefix}objdump; ac_word=$2
34465+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
34466+$as_echo_n "checking for $ac_word... " >&6; }
34467+if test "${ac_cv_prog_OBJDUMP+set}" = set; then
34468+  $as_echo_n "(cached) " >&6
34469 else
34470-  echo "$as_me: failed program was:" >&5
34471-sed 's/^/| /' conftest.$ac_ext >&5
34472+  if test -n "$OBJDUMP"; then
34473+  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
34474+else
34475+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34476+for as_dir in $PATH
34477+do
34478+  IFS=$as_save_IFS
34479+  test -z "$as_dir" && as_dir=.
34480+  for ac_exec_ext in '' $ac_executable_extensions; do
34481+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
34482+    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
34483+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34484+    break 2
34485+  fi
34486+done
34487+done
34488+IFS=$as_save_IFS
34489
34490-ac_cv_lib_dnet_dnet_ntoa=no
34491 fi
34492-rm -f conftest.err conftest.$ac_objext \
34493-      conftest$ac_exeext conftest.$ac_ext
34494-LIBS=$ac_check_lib_save_LIBS
34495 fi
34496-echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
34497-echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
34498-if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
34499-  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
34500+OBJDUMP=$ac_cv_prog_OBJDUMP
34501+if test -n "$OBJDUMP"; then
34502+  { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
34503+$as_echo "$OBJDUMP" >&6; }
34504+else
34505+  { $as_echo "$as_me:$LINENO: result: no" >&5
34506+$as_echo "no" >&6; }
34507 fi
34508
34509-    if test $ac_cv_lib_dnet_dnet_ntoa = no; then
34510-      echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
34511-echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
34512-if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
34513-  echo $ECHO_N "(cached) $ECHO_C" >&6
34514-else
34515-  ac_check_lib_save_LIBS=$LIBS
34516-LIBS="-ldnet_stub  $LIBS"
34517-cat >conftest.$ac_ext <<_ACEOF
34518-/* confdefs.h.  */
34519-_ACEOF
34520-cat confdefs.h >>conftest.$ac_ext
34521-cat >>conftest.$ac_ext <<_ACEOF
34522-/* end confdefs.h.  */
34523
34524-/* Override any gcc2 internal prototype to avoid an error.  */
34525-#ifdef __cplusplus
34526-extern "C"
34527-#endif
34528-/* We use char because int might match the return type of a gcc2
34529-   builtin and then its argument prototype would still apply.  */
34530-char dnet_ntoa ();
34531-int
34532-main ()
34533-{
34534-dnet_ntoa ();
34535-  ;
34536-  return 0;
34537-}
34538-_ACEOF
34539-rm -f conftest.$ac_objext conftest$ac_exeext
34540-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34541-  (eval $ac_link) 2>conftest.er1
34542-  ac_status=$?
34543-  grep -v '^ *+' conftest.er1 >conftest.err
34544-  rm -f conftest.er1
34545-  cat conftest.err >&5
34546-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34547-  (exit $ac_status); } &&
34548-	 { ac_try='test -z "$ac_cxx_werror_flag"
34549-			 || test ! -s conftest.err'
34550-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34551-  (eval $ac_try) 2>&5
34552-  ac_status=$?
34553-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34554-  (exit $ac_status); }; } &&
34555-	 { ac_try='test -s conftest$ac_exeext'
34556-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34557-  (eval $ac_try) 2>&5
34558-  ac_status=$?
34559-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34560-  (exit $ac_status); }; }; then
34561-  ac_cv_lib_dnet_stub_dnet_ntoa=yes
34562+fi
34563+if test -z "$ac_cv_prog_OBJDUMP"; then
34564+  ac_ct_OBJDUMP=$OBJDUMP
34565+  # Extract the first word of "objdump", so it can be a program name with args.
34566+set dummy objdump; ac_word=$2
34567+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
34568+$as_echo_n "checking for $ac_word... " >&6; }
34569+if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
34570+  $as_echo_n "(cached) " >&6
34571 else
34572-  echo "$as_me: failed program was:" >&5
34573-sed 's/^/| /' conftest.$ac_ext >&5
34574+  if test -n "$ac_ct_OBJDUMP"; then
34575+  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
34576+else
34577+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34578+for as_dir in $PATH
34579+do
34580+  IFS=$as_save_IFS
34581+  test -z "$as_dir" && as_dir=.
34582+  for ac_exec_ext in '' $ac_executable_extensions; do
34583+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
34584+    ac_cv_prog_ac_ct_OBJDUMP="objdump"
34585+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34586+    break 2
34587+  fi
34588+done
34589+done
34590+IFS=$as_save_IFS
34591
34592-ac_cv_lib_dnet_stub_dnet_ntoa=no
34593 fi
34594-rm -f conftest.err conftest.$ac_objext \
34595-      conftest$ac_exeext conftest.$ac_ext
34596-LIBS=$ac_check_lib_save_LIBS
34597 fi
34598-echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
34599-echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
34600-if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
34601-  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
34602+ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
34603+if test -n "$ac_ct_OBJDUMP"; then
34604+  { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
34605+$as_echo "$ac_ct_OBJDUMP" >&6; }
34606+else
34607+  { $as_echo "$as_me:$LINENO: result: no" >&5
34608+$as_echo "no" >&6; }
34609 fi
34610
34611+  if test "x$ac_ct_OBJDUMP" = x; then
34612+    OBJDUMP="false"
34613+  else
34614+    case $cross_compiling:$ac_tool_warned in
34615+yes:)
34616+{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
34617+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
34618+ac_tool_warned=yes ;;
34619+esac
34620+    OBJDUMP=$ac_ct_OBJDUMP
34621     fi
34622+else
34623+  OBJDUMP="$ac_cv_prog_OBJDUMP"
34624 fi
34625-rm -f conftest.err conftest.$ac_objext \
34626-      conftest$ac_exeext conftest.$ac_ext
34627-    LIBS="$ac_xsave_LIBS"
34628
34629-    # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
34630-    # to get the SysV transport functions.
34631-    # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
34632-    # needs -lnsl.
34633-    # The nsl library prevents programs from opening the X display
34634-    # on Irix 5.2, according to T.E. Dickey.
34635-    # The functions gethostbyname, getservbyname, and inet_addr are
34636-    # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
34637-    echo "$as_me:$LINENO: checking for gethostbyname" >&5
34638-echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
34639-if test "${ac_cv_func_gethostbyname+set}" = set; then
34640-  echo $ECHO_N "(cached) $ECHO_C" >&6
34641-else
34642-  cat >conftest.$ac_ext <<_ACEOF
34643-/* confdefs.h.  */
34644-_ACEOF
34645-cat confdefs.h >>conftest.$ac_ext
34646-cat >>conftest.$ac_ext <<_ACEOF
34647-/* end confdefs.h.  */
34648-/* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
34649-   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34650-#define gethostbyname innocuous_gethostbyname
34651+test -z "$OBJDUMP" && OBJDUMP=objdump
34652
34653-/* System header to define __stub macros and hopefully few prototypes,
34654-    which can conflict with char gethostbyname (); below.
34655-    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34656-    <limits.h> exists even on freestanding compilers.  */
34657
34658-#ifdef __STDC__
34659-# include <limits.h>
34660-#else
34661-# include <assert.h>
34662-#endif
34663
34664-#undef gethostbyname
34665
34666-/* Override any gcc2 internal prototype to avoid an error.  */
34667-#ifdef __cplusplus
34668-extern "C"
34669-{
34670-#endif
34671-/* We use char because int might match the return type of a gcc2
34672-   builtin and then its argument prototype would still apply.  */
34673-char gethostbyname ();
34674-/* The GNU C library defines this for functions which it implements
34675-    to always fail with ENOSYS.  Some functions are actually named
34676-    something starting with __ and the normal name is an alias.  */
34677-#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
34678-choke me
34679-#else
34680-char (*f) () = gethostbyname;
34681-#endif
34682-#ifdef __cplusplus
34683-}
34684-#endif
34685
34686-int
34687-main ()
34688-{
34689-return f != gethostbyname;
34690-  ;
34691-  return 0;
34692-}
34693-_ACEOF
34694-rm -f conftest.$ac_objext conftest$ac_exeext
34695-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34696-  (eval $ac_link) 2>conftest.er1
34697-  ac_status=$?
34698-  grep -v '^ *+' conftest.er1 >conftest.err
34699-  rm -f conftest.er1
34700-  cat conftest.err >&5
34701-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34702-  (exit $ac_status); } &&
34703-	 { ac_try='test -z "$ac_cxx_werror_flag"
34704-			 || test ! -s conftest.err'
34705-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34706-  (eval $ac_try) 2>&5
34707-  ac_status=$?
34708-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34709-  (exit $ac_status); }; } &&
34710-	 { ac_try='test -s conftest$ac_exeext'
34711-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34712-  (eval $ac_try) 2>&5
34713-  ac_status=$?
34714-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34715-  (exit $ac_status); }; }; then
34716-  ac_cv_func_gethostbyname=yes
34717+
34718+
34719+
34720+
34721+{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
34722+$as_echo_n "checking how to recognize dependent libraries... " >&6; }
34723+if test "${lt_cv_deplibs_check_method+set}" = set; then
34724+  $as_echo_n "(cached) " >&6
34725 else
34726-  echo "$as_me: failed program was:" >&5
34727-sed 's/^/| /' conftest.$ac_ext >&5
34728+  lt_cv_file_magic_cmd='$MAGIC_CMD'
34729+lt_cv_file_magic_test_file=
34730+lt_cv_deplibs_check_method='unknown'
34731+# Need to set the preceding variable on all platforms that support
34732+# interlibrary dependencies.
34733+# 'none' -- dependencies not supported.
34734+# `unknown' -- same as none, but documents that we really don't know.
34735+# 'pass_all' -- all dependencies passed with no checks.
34736+# 'test_compile' -- check by making test program.
34737+# 'file_magic [[regex]]' -- check by looking for files in library path
34738+# which responds to the $file_magic_cmd with a given extended regex.
34739+# If you have `file' or equivalent on your system and you're not sure
34740+# whether `pass_all' will *always* work, you probably want this one.
34741
34742-ac_cv_func_gethostbyname=no
34743-fi
34744-rm -f conftest.err conftest.$ac_objext \
34745-      conftest$ac_exeext conftest.$ac_ext
34746+case $host_os in
34747+aix[4-9]*)
34748+  lt_cv_deplibs_check_method=pass_all
34749+  ;;
34750+
34751+beos*)
34752+  lt_cv_deplibs_check_method=pass_all
34753+  ;;
34754+
34755+bsdi[45]*)
34756+  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
34757+  lt_cv_file_magic_cmd='/usr/bin/file -L'
34758+  lt_cv_file_magic_test_file=/shlib/libc.so
34759+  ;;
34760+
34761+cygwin*)
34762+  # func_win32_libid is a shell function defined in ltmain.sh
34763+  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
34764+  lt_cv_file_magic_cmd='func_win32_libid'
34765+  ;;
34766+
34767+mingw* | pw32*)
34768+  # Base MSYS/MinGW do not provide the 'file' command needed by
34769+  # func_win32_libid shell function, so use a weaker test based on 'objdump',
34770+  # unless we find 'file', for example because we are cross-compiling.
34771+  if ( file / ) >/dev/null 2>&1; then
34772+    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
34773+    lt_cv_file_magic_cmd='func_win32_libid'
34774+  else
34775+    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
34776+    lt_cv_file_magic_cmd='$OBJDUMP -f'
34777 fi
34778-echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
34779-echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
34780+  ;;
34781+
34782+cegcc)
34783+  # use the weaker test based on 'objdump'. See mingw*.
34784+  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
34785+  lt_cv_file_magic_cmd='$OBJDUMP -f'
34786+  ;;
34787
34788-    if test $ac_cv_func_gethostbyname = no; then
34789-      echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
34790-echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
34791-if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
34792-  echo $ECHO_N "(cached) $ECHO_C" >&6
34793+darwin* | rhapsody*)
34794+  lt_cv_deplibs_check_method=pass_all
34795+  ;;
34796+
34797+freebsd* | dragonfly*)
34798+  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
34799+    case $host_cpu in
34800+    i*86 )
34801+      # Not sure whether the presence of OpenBSD here was a mistake.
34802+      # Let's accept both of them until this is cleared up.
34803+      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
34804+      lt_cv_file_magic_cmd=/usr/bin/file
34805+      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
34806+      ;;
34807+    esac
34808 else
34809-  ac_check_lib_save_LIBS=$LIBS
34810-LIBS="-lnsl  $LIBS"
34811-cat >conftest.$ac_ext <<_ACEOF
34812-/* confdefs.h.  */
34813-_ACEOF
34814-cat confdefs.h >>conftest.$ac_ext
34815-cat >>conftest.$ac_ext <<_ACEOF
34816-/* end confdefs.h.  */
34817+    lt_cv_deplibs_check_method=pass_all
34818+  fi
34819+  ;;
34820
34821-/* Override any gcc2 internal prototype to avoid an error.  */
34822-#ifdef __cplusplus
34823-extern "C"
34824-#endif
34825-/* We use char because int might match the return type of a gcc2
34826-   builtin and then its argument prototype would still apply.  */
34827-char gethostbyname ();
34828-int
34829-main ()
34830-{
34831-gethostbyname ();
34832-  ;
34833-  return 0;
34834-}
34835-_ACEOF
34836-rm -f conftest.$ac_objext conftest$ac_exeext
34837-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34838-  (eval $ac_link) 2>conftest.er1
34839-  ac_status=$?
34840-  grep -v '^ *+' conftest.er1 >conftest.err
34841-  rm -f conftest.er1
34842-  cat conftest.err >&5
34843-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34844-  (exit $ac_status); } &&
34845-	 { ac_try='test -z "$ac_cxx_werror_flag"
34846-			 || test ! -s conftest.err'
34847-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34848-  (eval $ac_try) 2>&5
34849-  ac_status=$?
34850-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34851-  (exit $ac_status); }; } &&
34852-	 { ac_try='test -s conftest$ac_exeext'
34853-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34854-  (eval $ac_try) 2>&5
34855-  ac_status=$?
34856-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34857-  (exit $ac_status); }; }; then
34858-  ac_cv_lib_nsl_gethostbyname=yes
34859-else
34860-  echo "$as_me: failed program was:" >&5
34861-sed 's/^/| /' conftest.$ac_ext >&5
34862+gnu*)
34863+  lt_cv_deplibs_check_method=pass_all
34864+  ;;
34865
34866-ac_cv_lib_nsl_gethostbyname=no
34867-fi
34868-rm -f conftest.err conftest.$ac_objext \
34869-      conftest$ac_exeext conftest.$ac_ext
34870-LIBS=$ac_check_lib_save_LIBS
34871-fi
34872-echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
34873-echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
34874-if test $ac_cv_lib_nsl_gethostbyname = yes; then
34875-  X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
34876-fi
34877+hpux10.20* | hpux11*)
34878+  lt_cv_file_magic_cmd=/usr/bin/file
34879+  case $host_cpu in
34880+  ia64*)
34881+    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
34882+    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
34883+    ;;
34884+  hppa*64*)
34885+    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]'
34886+    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
34887+    ;;
34888+  *)
34889+    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
34890+    lt_cv_file_magic_test_file=/usr/lib/libc.sl
34891+    ;;
34892+  esac
34893+  ;;
34894
34895-      if test $ac_cv_lib_nsl_gethostbyname = no; then
34896-	echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
34897-echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
34898-if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
34899-  echo $ECHO_N "(cached) $ECHO_C" >&6
34900-else
34901-  ac_check_lib_save_LIBS=$LIBS
34902-LIBS="-lbsd  $LIBS"
34903-cat >conftest.$ac_ext <<_ACEOF
34904-/* confdefs.h.  */
34905-_ACEOF
34906-cat confdefs.h >>conftest.$ac_ext
34907-cat >>conftest.$ac_ext <<_ACEOF
34908-/* end confdefs.h.  */
34909+interix[3-9]*)
34910+  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
34911+  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
34912+  ;;
34913
34914-/* Override any gcc2 internal prototype to avoid an error.  */
34915-#ifdef __cplusplus
34916-extern "C"
34917-#endif
34918-/* We use char because int might match the return type of a gcc2
34919-   builtin and then its argument prototype would still apply.  */
34920-char gethostbyname ();
34921-int
34922-main ()
34923-{
34924-gethostbyname ();
34925-  ;
34926-  return 0;
34927-}
34928-_ACEOF
34929-rm -f conftest.$ac_objext conftest$ac_exeext
34930-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34931-  (eval $ac_link) 2>conftest.er1
34932-  ac_status=$?
34933-  grep -v '^ *+' conftest.er1 >conftest.err
34934-  rm -f conftest.er1
34935-  cat conftest.err >&5
34936-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34937-  (exit $ac_status); } &&
34938-	 { ac_try='test -z "$ac_cxx_werror_flag"
34939-			 || test ! -s conftest.err'
34940-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34941-  (eval $ac_try) 2>&5
34942-  ac_status=$?
34943-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34944-  (exit $ac_status); }; } &&
34945-	 { ac_try='test -s conftest$ac_exeext'
34946-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34947-  (eval $ac_try) 2>&5
34948-  ac_status=$?
34949-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
34950-  (exit $ac_status); }; }; then
34951-  ac_cv_lib_bsd_gethostbyname=yes
34952-else
34953-  echo "$as_me: failed program was:" >&5
34954-sed 's/^/| /' conftest.$ac_ext >&5
34955+irix5* | irix6* | nonstopux*)
34956+  case $LD in
34957+  *-32|*"-32 ") libmagic=32-bit;;
34958+  *-n32|*"-n32 ") libmagic=N32;;
34959+  *-64|*"-64 ") libmagic=64-bit;;
34960+  *) libmagic=never-match;;
34961+  esac
34962+  lt_cv_deplibs_check_method=pass_all
34963+  ;;
34964
34965-ac_cv_lib_bsd_gethostbyname=no
34966-fi
34967-rm -f conftest.err conftest.$ac_objext \
34968-      conftest$ac_exeext conftest.$ac_ext
34969-LIBS=$ac_check_lib_save_LIBS
34970-fi
34971-echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
34972-echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
34973-if test $ac_cv_lib_bsd_gethostbyname = yes; then
34974-  X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
34975+# This must be Linux ELF.
34976+linux* | k*bsd*-gnu)
34977+  lt_cv_deplibs_check_method=pass_all
34978+  ;;
34979+
34980+netbsd*)
34981+  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
34982+    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
34983+  else
34984+    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
34985 fi
34986+  ;;
34987+
34988+newos6*)
34989+  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
34990+  lt_cv_file_magic_cmd=/usr/bin/file
34991+  lt_cv_file_magic_test_file=/usr/lib/libnls.so
34992+  ;;
34993
34994+*nto* | *qnx*)
34995+  lt_cv_deplibs_check_method=pass_all
34996+  ;;
34997+
34998+openbsd*)
34999+  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
35000+    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
35001+  else
35002+    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
35003       fi
35004+  ;;
35005+
35006+osf3* | osf4* | osf5*)
35007+  lt_cv_deplibs_check_method=pass_all
35008+  ;;
35009+
35010+rdos*)
35011+  lt_cv_deplibs_check_method=pass_all
35012+  ;;
35013+
35014+solaris*)
35015+  lt_cv_deplibs_check_method=pass_all
35016+  ;;
35017+
35018+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
35019+  lt_cv_deplibs_check_method=pass_all
35020+  ;;
35021+
35022+sysv4 | sysv4.3*)
35023+  case $host_vendor in
35024+  motorola)
35025+    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]'
35026+    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
35027+    ;;
35028+  ncr)
35029+    lt_cv_deplibs_check_method=pass_all
35030+    ;;
35031+  sequent)
35032+    lt_cv_file_magic_cmd='/bin/file'
35033+    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
35034+    ;;
35035+  sni)
35036+    lt_cv_file_magic_cmd='/bin/file'
35037+    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
35038+    lt_cv_file_magic_test_file=/lib/libc.so
35039+    ;;
35040+  siemens)
35041+    lt_cv_deplibs_check_method=pass_all
35042+    ;;
35043+  pc)
35044+    lt_cv_deplibs_check_method=pass_all
35045+    ;;
35046+  esac
35047+  ;;
35048+
35049+tpf*)
35050+  lt_cv_deplibs_check_method=pass_all
35051+  ;;
35052+esac
35053+
35054     fi
35055+{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
35056+$as_echo "$lt_cv_deplibs_check_method" >&6; }
35057+file_magic_cmd=$lt_cv_file_magic_cmd
35058+deplibs_check_method=$lt_cv_deplibs_check_method
35059+test -z "$deplibs_check_method" && deplibs_check_method=unknown
35060
35061-    # lieder@skyler.mavd.honeywell.com says without -lsocket,
35062-    # socket/setsockopt and other routines are undefined under SCO ODT
35063-    # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
35064-    # on later versions), says Simon Leinen: it contains gethostby*
35065-    # variants that don't use the name server (or something).  -lsocket
35066-    # must be given before -lnsl if both are needed.  We assume that
35067-    # if connect needs -lnsl, so does gethostbyname.
35068-    echo "$as_me:$LINENO: checking for connect" >&5
35069-echo $ECHO_N "checking for connect... $ECHO_C" >&6
35070-if test "${ac_cv_func_connect+set}" = set; then
35071-  echo $ECHO_N "(cached) $ECHO_C" >&6
35072-else
35073-  cat >conftest.$ac_ext <<_ACEOF
35074-/* confdefs.h.  */
35075-_ACEOF
35076-cat confdefs.h >>conftest.$ac_ext
35077-cat >>conftest.$ac_ext <<_ACEOF
35078-/* end confdefs.h.  */
35079-/* Define connect to an innocuous variant, in case <limits.h> declares connect.
35080-   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35081-#define connect innocuous_connect
35082
35083-/* System header to define __stub macros and hopefully few prototypes,
35084-    which can conflict with char connect (); below.
35085-    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35086-    <limits.h> exists even on freestanding compilers.  */
35087
35088-#ifdef __STDC__
35089-# include <limits.h>
35090-#else
35091-# include <assert.h>
35092-#endif
35093
35094-#undef connect
35095
35096-/* Override any gcc2 internal prototype to avoid an error.  */
35097-#ifdef __cplusplus
35098-extern "C"
35099-{
35100-#endif
35101-/* We use char because int might match the return type of a gcc2
35102-   builtin and then its argument prototype would still apply.  */
35103-char connect ();
35104-/* The GNU C library defines this for functions which it implements
35105-    to always fail with ENOSYS.  Some functions are actually named
35106-    something starting with __ and the normal name is an alias.  */
35107-#if defined (__stub_connect) || defined (__stub___connect)
35108-choke me
35109-#else
35110-char (*f) () = connect;
35111-#endif
35112-#ifdef __cplusplus
35113-}
35114-#endif
35115
35116-int
35117-main ()
35118-{
35119-return f != connect;
35120-  ;
35121-  return 0;
35122-}
35123-_ACEOF
35124-rm -f conftest.$ac_objext conftest$ac_exeext
35125-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35126-  (eval $ac_link) 2>conftest.er1
35127-  ac_status=$?
35128-  grep -v '^ *+' conftest.er1 >conftest.err
35129-  rm -f conftest.er1
35130-  cat conftest.err >&5
35131-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35132-  (exit $ac_status); } &&
35133-	 { ac_try='test -z "$ac_cxx_werror_flag"
35134-			 || test ! -s conftest.err'
35135-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35136-  (eval $ac_try) 2>&5
35137-  ac_status=$?
35138-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35139-  (exit $ac_status); }; } &&
35140-	 { ac_try='test -s conftest$ac_exeext'
35141-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35142-  (eval $ac_try) 2>&5
35143-  ac_status=$?
35144-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35145-  (exit $ac_status); }; }; then
35146-  ac_cv_func_connect=yes
35147+
35148+
35149+
35150+
35151+
35152+
35153+if test -n "$ac_tool_prefix"; then
35154+  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
35155+set dummy ${ac_tool_prefix}ar; ac_word=$2
35156+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
35157+$as_echo_n "checking for $ac_word... " >&6; }
35158+if test "${ac_cv_prog_AR+set}" = set; then
35159+  $as_echo_n "(cached) " >&6
35160 else
35161-  echo "$as_me: failed program was:" >&5
35162-sed 's/^/| /' conftest.$ac_ext >&5
35163+  if test -n "$AR"; then
35164+  ac_cv_prog_AR="$AR" # Let the user override the test.
35165+else
35166+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35167+for as_dir in $PATH
35168+do
35169+  IFS=$as_save_IFS
35170+  test -z "$as_dir" && as_dir=.
35171+  for ac_exec_ext in '' $ac_executable_extensions; do
35172+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35173+    ac_cv_prog_AR="${ac_tool_prefix}ar"
35174+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35175+    break 2
35176+  fi
35177+done
35178+done
35179+IFS=$as_save_IFS
35180
35181-ac_cv_func_connect=no
35182 fi
35183-rm -f conftest.err conftest.$ac_objext \
35184-      conftest$ac_exeext conftest.$ac_ext
35185 fi
35186-echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
35187-echo "${ECHO_T}$ac_cv_func_connect" >&6
35188-
35189-    if test $ac_cv_func_connect = no; then
35190-      echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
35191-echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
35192-if test "${ac_cv_lib_socket_connect+set}" = set; then
35193-  echo $ECHO_N "(cached) $ECHO_C" >&6
35194+AR=$ac_cv_prog_AR
35195+if test -n "$AR"; then
35196+  { $as_echo "$as_me:$LINENO: result: $AR" >&5
35197+$as_echo "$AR" >&6; }
35198 else
35199-  ac_check_lib_save_LIBS=$LIBS
35200-LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
35201-cat >conftest.$ac_ext <<_ACEOF
35202-/* confdefs.h.  */
35203-_ACEOF
35204-cat confdefs.h >>conftest.$ac_ext
35205-cat >>conftest.$ac_ext <<_ACEOF
35206-/* end confdefs.h.  */
35207+  { $as_echo "$as_me:$LINENO: result: no" >&5
35208+$as_echo "no" >&6; }
35209+fi
35210
35211-/* Override any gcc2 internal prototype to avoid an error.  */
35212-#ifdef __cplusplus
35213-extern "C"
35214-#endif
35215-/* We use char because int might match the return type of a gcc2
35216-   builtin and then its argument prototype would still apply.  */
35217-char connect ();
35218-int
35219-main ()
35220-{
35221-connect ();
35222-  ;
35223-  return 0;
35224-}
35225-_ACEOF
35226-rm -f conftest.$ac_objext conftest$ac_exeext
35227-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35228-  (eval $ac_link) 2>conftest.er1
35229-  ac_status=$?
35230-  grep -v '^ *+' conftest.er1 >conftest.err
35231-  rm -f conftest.er1
35232-  cat conftest.err >&5
35233-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35234-  (exit $ac_status); } &&
35235-	 { ac_try='test -z "$ac_cxx_werror_flag"
35236-			 || test ! -s conftest.err'
35237-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35238-  (eval $ac_try) 2>&5
35239-  ac_status=$?
35240-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35241-  (exit $ac_status); }; } &&
35242-	 { ac_try='test -s conftest$ac_exeext'
35243-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35244-  (eval $ac_try) 2>&5
35245-  ac_status=$?
35246-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35247-  (exit $ac_status); }; }; then
35248-  ac_cv_lib_socket_connect=yes
35249+
35250+fi
35251+if test -z "$ac_cv_prog_AR"; then
35252+  ac_ct_AR=$AR
35253+  # Extract the first word of "ar", so it can be a program name with args.
35254+set dummy ar; ac_word=$2
35255+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
35256+$as_echo_n "checking for $ac_word... " >&6; }
35257+if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
35258+  $as_echo_n "(cached) " >&6
35259 else
35260-  echo "$as_me: failed program was:" >&5
35261-sed 's/^/| /' conftest.$ac_ext >&5
35262+  if test -n "$ac_ct_AR"; then
35263+  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
35264+else
35265+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35266+for as_dir in $PATH
35267+do
35268+  IFS=$as_save_IFS
35269+  test -z "$as_dir" && as_dir=.
35270+  for ac_exec_ext in '' $ac_executable_extensions; do
35271+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35272+    ac_cv_prog_ac_ct_AR="ar"
35273+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35274+    break 2
35275+  fi
35276+done
35277+done
35278+IFS=$as_save_IFS
35279
35280-ac_cv_lib_socket_connect=no
35281 fi
35282-rm -f conftest.err conftest.$ac_objext \
35283-      conftest$ac_exeext conftest.$ac_ext
35284-LIBS=$ac_check_lib_save_LIBS
35285 fi
35286-echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
35287-echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
35288-if test $ac_cv_lib_socket_connect = yes; then
35289-  X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
35290+ac_ct_AR=$ac_cv_prog_ac_ct_AR
35291+if test -n "$ac_ct_AR"; then
35292+  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
35293+$as_echo "$ac_ct_AR" >&6; }
35294+else
35295+  { $as_echo "$as_me:$LINENO: result: no" >&5
35296+$as_echo "no" >&6; }
35297 fi
35298
35299+  if test "x$ac_ct_AR" = x; then
35300+    AR="false"
35301+  else
35302+    case $cross_compiling:$ac_tool_warned in
35303+yes:)
35304+{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
35305+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
35306+ac_tool_warned=yes ;;
35307+esac
35308+    AR=$ac_ct_AR
35309     fi
35310-
35311-    # Guillermo Gomez says -lposix is necessary on A/UX.
35312-    echo "$as_me:$LINENO: checking for remove" >&5
35313-echo $ECHO_N "checking for remove... $ECHO_C" >&6
35314-if test "${ac_cv_func_remove+set}" = set; then
35315-  echo $ECHO_N "(cached) $ECHO_C" >&6
35316 else
35317-  cat >conftest.$ac_ext <<_ACEOF
35318-/* confdefs.h.  */
35319-_ACEOF
35320-cat confdefs.h >>conftest.$ac_ext
35321-cat >>conftest.$ac_ext <<_ACEOF
35322-/* end confdefs.h.  */
35323-/* Define remove to an innocuous variant, in case <limits.h> declares remove.
35324-   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35325-#define remove innocuous_remove
35326+  AR="$ac_cv_prog_AR"
35327+fi
35328
35329-/* System header to define __stub macros and hopefully few prototypes,
35330-    which can conflict with char remove (); below.
35331-    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35332-    <limits.h> exists even on freestanding compilers.  */
35333+test -z "$AR" && AR=ar
35334+test -z "$AR_FLAGS" && AR_FLAGS=cru
35335
35336-#ifdef __STDC__
35337-# include <limits.h>
35338-#else
35339-# include <assert.h>
35340-#endif
35341
35342-#undef remove
35343
35344-/* Override any gcc2 internal prototype to avoid an error.  */
35345-#ifdef __cplusplus
35346-extern "C"
35347-{
35348-#endif
35349-/* We use char because int might match the return type of a gcc2
35350-   builtin and then its argument prototype would still apply.  */
35351-char remove ();
35352-/* The GNU C library defines this for functions which it implements
35353-    to always fail with ENOSYS.  Some functions are actually named
35354-    something starting with __ and the normal name is an alias.  */
35355-#if defined (__stub_remove) || defined (__stub___remove)
35356-choke me
35357-#else
35358-char (*f) () = remove;
35359-#endif
35360-#ifdef __cplusplus
35361-}
35362-#endif
35363
35364-int
35365-main ()
35366-{
35367-return f != remove;
35368-  ;
35369-  return 0;
35370-}
35371-_ACEOF
35372-rm -f conftest.$ac_objext conftest$ac_exeext
35373-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35374-  (eval $ac_link) 2>conftest.er1
35375-  ac_status=$?
35376-  grep -v '^ *+' conftest.er1 >conftest.err
35377-  rm -f conftest.er1
35378-  cat conftest.err >&5
35379-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35380-  (exit $ac_status); } &&
35381-	 { ac_try='test -z "$ac_cxx_werror_flag"
35382-			 || test ! -s conftest.err'
35383-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35384-  (eval $ac_try) 2>&5
35385-  ac_status=$?
35386-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35387-  (exit $ac_status); }; } &&
35388-	 { ac_try='test -s conftest$ac_exeext'
35389-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35390-  (eval $ac_try) 2>&5
35391-  ac_status=$?
35392-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35393-  (exit $ac_status); }; }; then
35394-  ac_cv_func_remove=yes
35395+
35396+
35397+
35398+
35399+
35400+
35401+
35402+if test -n "$ac_tool_prefix"; then
35403+  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
35404+set dummy ${ac_tool_prefix}strip; ac_word=$2
35405+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
35406+$as_echo_n "checking for $ac_word... " >&6; }
35407+if test "${ac_cv_prog_STRIP+set}" = set; then
35408+  $as_echo_n "(cached) " >&6
35409 else
35410-  echo "$as_me: failed program was:" >&5
35411-sed 's/^/| /' conftest.$ac_ext >&5
35412+  if test -n "$STRIP"; then
35413+  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
35414+else
35415+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35416+for as_dir in $PATH
35417+do
35418+  IFS=$as_save_IFS
35419+  test -z "$as_dir" && as_dir=.
35420+  for ac_exec_ext in '' $ac_executable_extensions; do
35421+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35422+    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
35423+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35424+    break 2
35425+  fi
35426+done
35427+done
35428+IFS=$as_save_IFS
35429
35430-ac_cv_func_remove=no
35431 fi
35432-rm -f conftest.err conftest.$ac_objext \
35433-      conftest$ac_exeext conftest.$ac_ext
35434 fi
35435-echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
35436-echo "${ECHO_T}$ac_cv_func_remove" >&6
35437+STRIP=$ac_cv_prog_STRIP
35438+if test -n "$STRIP"; then
35439+  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
35440+$as_echo "$STRIP" >&6; }
35441+else
35442+  { $as_echo "$as_me:$LINENO: result: no" >&5
35443+$as_echo "no" >&6; }
35444+fi
35445+
35446
35447-    if test $ac_cv_func_remove = no; then
35448-      echo "$as_me:$LINENO: checking for remove in -lposix" >&5
35449-echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
35450-if test "${ac_cv_lib_posix_remove+set}" = set; then
35451-  echo $ECHO_N "(cached) $ECHO_C" >&6
35452+fi
35453+if test -z "$ac_cv_prog_STRIP"; then
35454+  ac_ct_STRIP=$STRIP
35455+  # Extract the first word of "strip", so it can be a program name with args.
35456+set dummy strip; ac_word=$2
35457+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
35458+$as_echo_n "checking for $ac_word... " >&6; }
35459+if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
35460+  $as_echo_n "(cached) " >&6
35461 else
35462-  ac_check_lib_save_LIBS=$LIBS
35463-LIBS="-lposix  $LIBS"
35464-cat >conftest.$ac_ext <<_ACEOF
35465-/* confdefs.h.  */
35466-_ACEOF
35467-cat confdefs.h >>conftest.$ac_ext
35468-cat >>conftest.$ac_ext <<_ACEOF
35469-/* end confdefs.h.  */
35470+  if test -n "$ac_ct_STRIP"; then
35471+  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
35472+else
35473+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35474+for as_dir in $PATH
35475+do
35476+  IFS=$as_save_IFS
35477+  test -z "$as_dir" && as_dir=.
35478+  for ac_exec_ext in '' $ac_executable_extensions; do
35479+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35480+    ac_cv_prog_ac_ct_STRIP="strip"
35481+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35482+    break 2
35483+  fi
35484+done
35485+done
35486+IFS=$as_save_IFS
35487
35488-/* Override any gcc2 internal prototype to avoid an error.  */
35489-#ifdef __cplusplus
35490-extern "C"
35491-#endif
35492-/* We use char because int might match the return type of a gcc2
35493-   builtin and then its argument prototype would still apply.  */
35494-char remove ();
35495-int
35496-main ()
35497-{
35498-remove ();
35499-  ;
35500-  return 0;
35501-}
35502-_ACEOF
35503-rm -f conftest.$ac_objext conftest$ac_exeext
35504-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35505-  (eval $ac_link) 2>conftest.er1
35506-  ac_status=$?
35507-  grep -v '^ *+' conftest.er1 >conftest.err
35508-  rm -f conftest.er1
35509-  cat conftest.err >&5
35510-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35511-  (exit $ac_status); } &&
35512-	 { ac_try='test -z "$ac_cxx_werror_flag"
35513-			 || test ! -s conftest.err'
35514-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35515-  (eval $ac_try) 2>&5
35516-  ac_status=$?
35517-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35518-  (exit $ac_status); }; } &&
35519-	 { ac_try='test -s conftest$ac_exeext'
35520-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35521-  (eval $ac_try) 2>&5
35522-  ac_status=$?
35523-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35524-  (exit $ac_status); }; }; then
35525-  ac_cv_lib_posix_remove=yes
35526+fi
35527+fi
35528+ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
35529+if test -n "$ac_ct_STRIP"; then
35530+  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
35531+$as_echo "$ac_ct_STRIP" >&6; }
35532 else
35533-  echo "$as_me: failed program was:" >&5
35534-sed 's/^/| /' conftest.$ac_ext >&5
35535+  { $as_echo "$as_me:$LINENO: result: no" >&5
35536+$as_echo "no" >&6; }
35537+fi
35538
35539-ac_cv_lib_posix_remove=no
35540+  if test "x$ac_ct_STRIP" = x; then
35541+    STRIP=":"
35542+  else
35543+    case $cross_compiling:$ac_tool_warned in
35544+yes:)
35545+{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
35546+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
35547+ac_tool_warned=yes ;;
35548+esac
35549+    STRIP=$ac_ct_STRIP
35550 fi
35551-rm -f conftest.err conftest.$ac_objext \
35552-      conftest$ac_exeext conftest.$ac_ext
35553-LIBS=$ac_check_lib_save_LIBS
35554+else
35555+  STRIP="$ac_cv_prog_STRIP"
35556 fi
35557-echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
35558-echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
35559-if test $ac_cv_lib_posix_remove = yes; then
35560-  X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
35561+
35562+test -z "$STRIP" && STRIP=:
35563+
35564+
35565+
35566+
35567+
35568+
35569+if test -n "$ac_tool_prefix"; then
35570+  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
35571+set dummy ${ac_tool_prefix}ranlib; ac_word=$2
35572+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
35573+$as_echo_n "checking for $ac_word... " >&6; }
35574+if test "${ac_cv_prog_RANLIB+set}" = set; then
35575+  $as_echo_n "(cached) " >&6
35576+else
35577+  if test -n "$RANLIB"; then
35578+  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
35579+else
35580+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35581+for as_dir in $PATH
35582+do
35583+  IFS=$as_save_IFS
35584+  test -z "$as_dir" && as_dir=.
35585+  for ac_exec_ext in '' $ac_executable_extensions; do
35586+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35587+    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
35588+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35589+    break 2
35590 fi
35591+done
35592+done
35593+IFS=$as_save_IFS
35594
35595     fi
35596+fi
35597+RANLIB=$ac_cv_prog_RANLIB
35598+if test -n "$RANLIB"; then
35599+  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
35600+$as_echo "$RANLIB" >&6; }
35601+else
35602+  { $as_echo "$as_me:$LINENO: result: no" >&5
35603+$as_echo "no" >&6; }
35604+fi
35605+
35606
35607-    # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
35608-    echo "$as_me:$LINENO: checking for shmat" >&5
35609-echo $ECHO_N "checking for shmat... $ECHO_C" >&6
35610-if test "${ac_cv_func_shmat+set}" = set; then
35611-  echo $ECHO_N "(cached) $ECHO_C" >&6
35612+fi
35613+if test -z "$ac_cv_prog_RANLIB"; then
35614+  ac_ct_RANLIB=$RANLIB
35615+  # Extract the first word of "ranlib", so it can be a program name with args.
35616+set dummy ranlib; ac_word=$2
35617+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
35618+$as_echo_n "checking for $ac_word... " >&6; }
35619+if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
35620+  $as_echo_n "(cached) " >&6
35621 else
35622-  cat >conftest.$ac_ext <<_ACEOF
35623-/* confdefs.h.  */
35624-_ACEOF
35625-cat confdefs.h >>conftest.$ac_ext
35626-cat >>conftest.$ac_ext <<_ACEOF
35627-/* end confdefs.h.  */
35628-/* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
35629-   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35630-#define shmat innocuous_shmat
35631+  if test -n "$ac_ct_RANLIB"; then
35632+  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
35633+else
35634+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35635+for as_dir in $PATH
35636+do
35637+  IFS=$as_save_IFS
35638+  test -z "$as_dir" && as_dir=.
35639+  for ac_exec_ext in '' $ac_executable_extensions; do
35640+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35641+    ac_cv_prog_ac_ct_RANLIB="ranlib"
35642+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35643+    break 2
35644+  fi
35645+done
35646+done
35647+IFS=$as_save_IFS
35648+
35649+fi
35650+fi
35651+ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
35652+if test -n "$ac_ct_RANLIB"; then
35653+  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
35654+$as_echo "$ac_ct_RANLIB" >&6; }
35655+else
35656+  { $as_echo "$as_me:$LINENO: result: no" >&5
35657+$as_echo "no" >&6; }
35658+fi
35659+
35660+  if test "x$ac_ct_RANLIB" = x; then
35661+    RANLIB=":"
35662+  else
35663+    case $cross_compiling:$ac_tool_warned in
35664+yes:)
35665+{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
35666+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
35667+ac_tool_warned=yes ;;
35668+esac
35669+    RANLIB=$ac_ct_RANLIB
35670+  fi
35671+else
35672+  RANLIB="$ac_cv_prog_RANLIB"
35673+fi
35674+
35675+test -z "$RANLIB" && RANLIB=:
35676+
35677+
35678+
35679+
35680+
35681+
35682+# Determine commands to create old-style static archives.
35683+old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
35684+old_postinstall_cmds='chmod 644 $oldlib'
35685+old_postuninstall_cmds=
35686+
35687+if test -n "$RANLIB"; then
35688+  case $host_os in
35689+  openbsd*)
35690+    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
35691+    ;;
35692+  *)
35693+    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
35694+    ;;
35695+  esac
35696+  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
35697+fi
35698+
35699+
35700+
35701+
35702+
35703+
35704+
35705+
35706+
35707+
35708+
35709+
35710+
35711+
35712+
35713+
35714+
35715+
35716+
35717+
35718+
35719+
35720+
35721+
35722+
35723+
35724+
35725+
35726+
35727+
35728
35729-/* System header to define __stub macros and hopefully few prototypes,
35730-    which can conflict with char shmat (); below.
35731-    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35732-    <limits.h> exists even on freestanding compilers.  */
35733
35734-#ifdef __STDC__
35735-# include <limits.h>
35736-#else
35737-# include <assert.h>
35738-#endif
35739
35740-#undef shmat
35741
35742-/* Override any gcc2 internal prototype to avoid an error.  */
35743+# If no C compiler was specified, use CC.
35744+LTCC=${LTCC-"$CC"}
35745+
35746+# If no C compiler flags were specified, use CFLAGS.
35747+LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
35748+
35749+# Allow CC to be a program name with arguments.
35750+compiler=$CC
35751+
35752+
35753+# Check for command to grab the raw symbol name followed by C symbol from nm.
35754+{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
35755+$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
35756+if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
35757+  $as_echo_n "(cached) " >&6
35758+else
35759+
35760+# These are sane defaults that work on at least a few old systems.
35761+# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
35762+
35763+# Character class describing NM global symbol codes.
35764+symcode='[BCDEGRST]'
35765+
35766+# Regexp to match symbols that can be accessed directly from C.
35767+sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
35768+
35769+# Define system-specific variables.
35770+case $host_os in
35771+aix*)
35772+  symcode='[BCDT]'
35773+  ;;
35774+cygwin* | mingw* | pw32* | cegcc*)
35775+  symcode='[ABCDGISTW]'
35776+  ;;
35777+hpux*)
35778+  if test "$host_cpu" = ia64; then
35779+    symcode='[ABCDEGRST]'
35780+  fi
35781+  ;;
35782+irix* | nonstopux*)
35783+  symcode='[BCDEGRST]'
35784+  ;;
35785+osf*)
35786+  symcode='[BCDEGQRST]'
35787+  ;;
35788+solaris*)
35789+  symcode='[BDRT]'
35790+  ;;
35791+sco3.2v5*)
35792+  symcode='[DT]'
35793+  ;;
35794+sysv4.2uw2*)
35795+  symcode='[DT]'
35796+  ;;
35797+sysv5* | sco5v6* | unixware* | OpenUNIX*)
35798+  symcode='[ABDT]'
35799+  ;;
35800+sysv4)
35801+  symcode='[DFNSTU]'
35802+  ;;
35803+esac
35804+
35805+# If we're using GNU nm, then use its standard symbol codes.
35806+case `$NM -V 2>&1` in
35807+*GNU* | *'with BFD'*)
35808+  symcode='[ABCDGIRSTW]' ;;
35809+esac
35810+
35811+# Transform an extracted symbol line into a proper C declaration.
35812+# Some systems (esp. on ia64) link data and code symbols differently,
35813+# so use this general approach.
35814+lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
35815+
35816+# Transform an extracted symbol line into symbol name and symbol address
35817+lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
35818+lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
35819+
35820+# Handle CRLF in mingw tool chain
35821+opt_cr=
35822+case $build_os in
35823+mingw*)
35824+  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
35825+  ;;
35826+esac
35827+
35828+# Try without a prefix underscore, then with it.
35829+for ac_symprfx in "" "_"; do
35830+
35831+  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
35832+  symxfrm="\\1 $ac_symprfx\\2 \\2"
35833+
35834+  # Write the raw and C identifiers.
35835+  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
35836+    # Fake it for dumpbin and say T for any non-static function
35837+    # and D for any global variable.
35838+    # Also find C++ and __fastcall symbols from MSVC++,
35839+    # which start with @ or ?.
35840+    lt_cv_sys_global_symbol_pipe="$AWK '"\
35841+"     {last_section=section; section=\$ 3};"\
35842+"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
35843+"     \$ 0!~/External *\|/{next};"\
35844+"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
35845+"     {if(hide[section]) next};"\
35846+"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
35847+"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
35848+"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
35849+"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
35850+"     ' prfx=^$ac_symprfx"
35851+  else
35852+    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
35853+  fi
35854+
35855+  # Check to see that the pipe works correctly.
35856+  pipe_works=no
35857+
35858+  rm -f conftest*
35859+  cat > conftest.$ac_ext <<_LT_EOF
35860 #ifdef __cplusplus
35861-extern "C"
35862-{
35863+extern "C" {
35864 #endif
35865-/* We use char because int might match the return type of a gcc2
35866-   builtin and then its argument prototype would still apply.  */
35867-char shmat ();
35868-/* The GNU C library defines this for functions which it implements
35869-    to always fail with ENOSYS.  Some functions are actually named
35870-    something starting with __ and the normal name is an alias.  */
35871-#if defined (__stub_shmat) || defined (__stub___shmat)
35872-choke me
35873-#else
35874-char (*f) () = shmat;
35875+char nm_test_var;
35876+void nm_test_func(void);
35877+void nm_test_func(void){}
35878+#ifdef __cplusplus
35879+}
35880 #endif
35881+int main(){nm_test_var='a';nm_test_func();return(0);}
35882+_LT_EOF
35883+
35884+  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35885+  (eval $ac_compile) 2>&5
35886+  ac_status=$?
35887+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
35888+  (exit $ac_status); }; then
35889+    # Now try to grab the symbols.
35890+    nlist=conftest.nm
35891+    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
35892+  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
35893+  ac_status=$?
35894+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
35895+  (exit $ac_status); } && test -s "$nlist"; then
35896+      # Try sorting and uniquifying the output.
35897+      if sort "$nlist" | uniq > "$nlist"T; then
35898+	mv -f "$nlist"T "$nlist"
35899+      else
35900+	rm -f "$nlist"T
35901+      fi
35902+
35903+      # Make sure that we snagged all the symbols we need.
35904+      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
35905+	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
35906+	  cat <<_LT_EOF > conftest.$ac_ext
35907 #ifdef __cplusplus
35908+extern "C" {
35909+#endif
35910+
35911+_LT_EOF
35912+	  # Now generate the symbol file.
35913+	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
35914+
35915+	  cat <<_LT_EOF >> conftest.$ac_ext
35916+
35917+/* The mapping between symbol names and symbols.  */
35918+const struct {
35919+  const char *name;
35920+  void       *address;
35921+}
35922+lt__PROGRAM__LTX_preloaded_symbols[] =
35923+{
35924+  { "@PROGRAM@", (void *) 0 },
35925+_LT_EOF
35926+	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
35927+	  cat <<\_LT_EOF >> conftest.$ac_ext
35928+  {0, (void *) 0}
35929+};
35930+
35931+/* This works around a problem in FreeBSD linker */
35932+#ifdef FREEBSD_WORKAROUND
35933+static const void *lt_preloaded_setup() {
35934+  return lt__PROGRAM__LTX_preloaded_symbols;
35935 }
35936 #endif
35937
35938-int
35939-main ()
35940-{
35941-return f != shmat;
35942-  ;
35943-  return 0;
35944+#ifdef __cplusplus
35945 }
35946-_ACEOF
35947-rm -f conftest.$ac_objext conftest$ac_exeext
35948+#endif
35949+_LT_EOF
35950+	  # Now try linking the two files.
35951+	  mv conftest.$ac_objext conftstm.$ac_objext
35952+	  lt_save_LIBS="$LIBS"
35953+	  lt_save_CFLAGS="$CFLAGS"
35954+	  LIBS="conftstm.$ac_objext"
35955+	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
35956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35957-  (eval $ac_link) 2>conftest.er1
35958-  ac_status=$?
35959-  grep -v '^ *+' conftest.er1 >conftest.err
35960-  rm -f conftest.er1
35961-  cat conftest.err >&5
35962-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35963-  (exit $ac_status); } &&
35964-	 { ac_try='test -z "$ac_cxx_werror_flag"
35965-			 || test ! -s conftest.err'
35966-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35967-  (eval $ac_try) 2>&5
35968-  ac_status=$?
35969-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35970-  (exit $ac_status); }; } &&
35971-	 { ac_try='test -s conftest$ac_exeext'
35972-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35973-  (eval $ac_try) 2>&5
35974+  (eval $ac_link) 2>&5
35975   ac_status=$?
35976-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35977-  (exit $ac_status); }; }; then
35978-  ac_cv_func_shmat=yes
35979+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
35980+  (exit $ac_status); } && test -s conftest${ac_exeext}; then
35981+	    pipe_works=yes
35982+	  fi
35983+	  LIBS="$lt_save_LIBS"
35984+	  CFLAGS="$lt_save_CFLAGS"
35985+	else
35986+	  echo "cannot find nm_test_func in $nlist" >&5
35987+	fi
35988+      else
35989+	echo "cannot find nm_test_var in $nlist" >&5
35990+      fi
35991+    else
35992+      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
35993+    fi
35994+  else
35995+    echo "$progname: failed program was:" >&5
35996+    cat conftest.$ac_ext >&5
35997+  fi
35998+  rm -rf conftest* conftst*
35999+
36000+  # Do not use the global_symbol_pipe unless it works.
36001+  if test "$pipe_works" = yes; then
36002+    break
36003+  else
36004+    lt_cv_sys_global_symbol_pipe=
36005+  fi
36006+done
36007+
36008+fi
36009+
36010+if test -z "$lt_cv_sys_global_symbol_pipe"; then
36011+  lt_cv_sys_global_symbol_to_cdecl=
36012+fi
36013+if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
36014+  { $as_echo "$as_me:$LINENO: result: failed" >&5
36015+$as_echo "failed" >&6; }
36016+else
36017+  { $as_echo "$as_me:$LINENO: result: ok" >&5
36018+$as_echo "ok" >&6; }
36019+fi
36020+
36021+
36022+
36023+
36024+
36025+
36026+
36027+
36028+
36029+
36030+
36031+
36032+
36033+
36034+
36035+
36036+
36037+
36038+
36039+
36040+
36041+
36042+
36043+# Check whether --enable-libtool-lock was given.
36044+if test "${enable_libtool_lock+set}" = set; then
36045+  enableval=$enable_libtool_lock;
36046+fi
36047+
36048+test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
36049+
36050+# Some flags need to be propagated to the compiler or linker for good
36051+# libtool support.
36052+case $host in
36053+ia64-*-hpux*)
36054+  # Find out which ABI we are using.
36055+  echo 'int i;' > conftest.$ac_ext
36056+  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36057+  (eval $ac_compile) 2>&5
36058+  ac_status=$?
36059+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
36060+  (exit $ac_status); }; then
36061+    case `/usr/bin/file conftest.$ac_objext` in
36062+      *ELF-32*)
36063+	HPUX_IA64_MODE="32"
36064+	;;
36065+      *ELF-64*)
36066+	HPUX_IA64_MODE="64"
36067+	;;
36068+    esac
36069+  fi
36070+  rm -rf conftest*
36071+  ;;
36072+*-*-irix6*)
36073+  # Find out which ABI we are using.
36074+  echo '#line 5690 "configure"' > conftest.$ac_ext
36075+  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36076+  (eval $ac_compile) 2>&5
36077+  ac_status=$?
36078+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
36079+  (exit $ac_status); }; then
36080+    if test "$lt_cv_prog_gnu_ld" = yes; then
36081+      case `/usr/bin/file conftest.$ac_objext` in
36082+	*32-bit*)
36083+	  LD="${LD-ld} -melf32bsmip"
36084+	  ;;
36085+	*N32*)
36086+	  LD="${LD-ld} -melf32bmipn32"
36087+	  ;;
36088+	*64-bit*)
36089+	  LD="${LD-ld} -melf64bmip"
36090+	;;
36091+      esac
36092+    else
36093+      case `/usr/bin/file conftest.$ac_objext` in
36094+	*32-bit*)
36095+	  LD="${LD-ld} -32"
36096+	  ;;
36097+	*N32*)
36098+	  LD="${LD-ld} -n32"
36099+	  ;;
36100+	*64-bit*)
36101+	  LD="${LD-ld} -64"
36102+	  ;;
36103+      esac
36104+    fi
36105+  fi
36106+  rm -rf conftest*
36107+  ;;
36108+
36109+x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
36110+s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
36111+  # Find out which ABI we are using.
36112+  echo 'int i;' > conftest.$ac_ext
36113+  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36114+  (eval $ac_compile) 2>&5
36115+  ac_status=$?
36116+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
36117+  (exit $ac_status); }; then
36118+    case `/usr/bin/file conftest.o` in
36119+      *32-bit*)
36120+	case $host in
36121+	  x86_64-*kfreebsd*-gnu)
36122+	    LD="${LD-ld} -m elf_i386_fbsd"
36123+	    ;;
36124+	  x86_64-*linux*)
36125+	    LD="${LD-ld} -m elf_i386"
36126+	    ;;
36127+	  ppc64-*linux*|powerpc64-*linux*)
36128+	    LD="${LD-ld} -m elf32ppclinux"
36129+	    ;;
36130+	  s390x-*linux*)
36131+	    LD="${LD-ld} -m elf_s390"
36132+	    ;;
36133+	  sparc64-*linux*)
36134+	    LD="${LD-ld} -m elf32_sparc"
36135+	    ;;
36136+	esac
36137+	;;
36138+      *64-bit*)
36139+	case $host in
36140+	  x86_64-*kfreebsd*-gnu)
36141+	    LD="${LD-ld} -m elf_x86_64_fbsd"
36142+	    ;;
36143+	  x86_64-*linux*)
36144+	    LD="${LD-ld} -m elf_x86_64"
36145+	    ;;
36146+	  ppc*-*linux*|powerpc*-*linux*)
36147+	    LD="${LD-ld} -m elf64ppc"
36148+	    ;;
36149+	  s390*-*linux*|s390*-*tpf*)
36150+	    LD="${LD-ld} -m elf64_s390"
36151+	    ;;
36152+	  sparc*-*linux*)
36153+	    LD="${LD-ld} -m elf64_sparc"
36154+	    ;;
36155+	esac
36156+	;;
36157+    esac
36158+  fi
36159+  rm -rf conftest*
36160+  ;;
36161+
36162+*-*-sco3.2v5*)
36163+  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
36164+  SAVE_CFLAGS="$CFLAGS"
36165+  CFLAGS="$CFLAGS -belf"
36166+  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
36167+$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
36168+if test "${lt_cv_cc_needs_belf+set}" = set; then
36169+  $as_echo_n "(cached) " >&6
36170+else
36171+  ac_ext=c
36172+ac_cpp='$CPP $CPPFLAGS'
36173+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36174+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36175+ac_compiler_gnu=$ac_cv_c_compiler_gnu
36176+
36177+     cat >conftest.$ac_ext <<_ACEOF
36178+/* confdefs.h.  */
36179+_ACEOF
36180+cat confdefs.h >>conftest.$ac_ext
36181+cat >>conftest.$ac_ext <<_ACEOF
36182+/* end confdefs.h.  */
36183+
36184+int
36185+main ()
36186+{
36187+
36188+  ;
36189+  return 0;
36190+}
36191+_ACEOF
36192+rm -f conftest.$ac_objext conftest$ac_exeext
36193+if { (ac_try="$ac_link"
36194+case "(($ac_try" in
36195+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36196+  *) ac_try_echo=$ac_try;;
36197+esac
36198+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
36199+$as_echo "$ac_try_echo") >&5
36200+  (eval "$ac_link") 2>conftest.er1
36201+  ac_status=$?
36202+  grep -v '^ *+' conftest.er1 >conftest.err
36203+  rm -f conftest.er1
36204+  cat conftest.err >&5
36205+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
36206+  (exit $ac_status); } && {
36207+	 test -z "$ac_c_werror_flag" ||
36208+	 test ! -s conftest.err
36209+       } && test -s conftest$ac_exeext && {
36210+	 test "$cross_compiling" = yes ||
36211+	 $as_test_x conftest$ac_exeext
36212+       }; then
36213+  lt_cv_cc_needs_belf=yes
36214 else
36215-  echo "$as_me: failed program was:" >&5
36216+  $as_echo "$as_me: failed program was:" >&5
36217 sed 's/^/| /' conftest.$ac_ext >&5
36218
36219-ac_cv_func_shmat=no
36220+	lt_cv_cc_needs_belf=no
36221 fi
36222-rm -f conftest.err conftest.$ac_objext \
36223+
36224+rm -rf conftest.dSYM
36225+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36226       conftest$ac_exeext conftest.$ac_ext
36227+     ac_ext=c
36228+ac_cpp='$CPP $CPPFLAGS'
36229+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36230+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36231+ac_compiler_gnu=$ac_cv_c_compiler_gnu
36232+
36233+fi
36234+{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
36235+$as_echo "$lt_cv_cc_needs_belf" >&6; }
36236+  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
36237+    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
36238+    CFLAGS="$SAVE_CFLAGS"
36239+  fi
36240+  ;;
36241+sparc*-*solaris*)
36242+  # Find out which ABI we are using.
36243+  echo 'int i;' > conftest.$ac_ext
36244+  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36245+  (eval $ac_compile) 2>&5
36246+  ac_status=$?
36247+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
36248+  (exit $ac_status); }; then
36249+    case `/usr/bin/file conftest.o` in
36250+    *64-bit*)
36251+      case $lt_cv_prog_gnu_ld in
36252+      yes*) LD="${LD-ld} -m elf64_sparc" ;;
36253+      *)
36254+	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
36255+	  LD="${LD-ld} -64"
36256+	fi
36257+	;;
36258+      esac
36259+      ;;
36260+    esac
36261+  fi
36262+  rm -rf conftest*
36263+  ;;
36264+esac
36265+
36266+need_locks="$enable_libtool_lock"
36267+
36268+
36269+  case $host_os in
36270+    rhapsody* | darwin*)
36271+    if test -n "$ac_tool_prefix"; then
36272+  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
36273+set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
36274+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
36275+$as_echo_n "checking for $ac_word... " >&6; }
36276+if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
36277+  $as_echo_n "(cached) " >&6
36278+else
36279+  if test -n "$DSYMUTIL"; then
36280+  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
36281+else
36282+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36283+for as_dir in $PATH
36284+do
36285+  IFS=$as_save_IFS
36286+  test -z "$as_dir" && as_dir=.
36287+  for ac_exec_ext in '' $ac_executable_extensions; do
36288+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36289+    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
36290+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36291+    break 2
36292+  fi
36293+done
36294+done
36295+IFS=$as_save_IFS
36296+
36297+fi
36298+fi
36299+DSYMUTIL=$ac_cv_prog_DSYMUTIL
36300+if test -n "$DSYMUTIL"; then
36301+  { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
36302+$as_echo "$DSYMUTIL" >&6; }
36303+else
36304+  { $as_echo "$as_me:$LINENO: result: no" >&5
36305+$as_echo "no" >&6; }
36306+fi
36307+
36308+
36309+fi
36310+if test -z "$ac_cv_prog_DSYMUTIL"; then
36311+  ac_ct_DSYMUTIL=$DSYMUTIL
36312+  # Extract the first word of "dsymutil", so it can be a program name with args.
36313+set dummy dsymutil; ac_word=$2
36314+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
36315+$as_echo_n "checking for $ac_word... " >&6; }
36316+if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
36317+  $as_echo_n "(cached) " >&6
36318+else
36319+  if test -n "$ac_ct_DSYMUTIL"; then
36320+  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
36321+else
36322+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36323+for as_dir in $PATH
36324+do
36325+  IFS=$as_save_IFS
36326+  test -z "$as_dir" && as_dir=.
36327+  for ac_exec_ext in '' $ac_executable_extensions; do
36328+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36329+    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
36330+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36331+    break 2
36332+  fi
36333+done
36334+done
36335+IFS=$as_save_IFS
36336+
36337+fi
36338+fi
36339+ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
36340+if test -n "$ac_ct_DSYMUTIL"; then
36341+  { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
36342+$as_echo "$ac_ct_DSYMUTIL" >&6; }
36343+else
36344+  { $as_echo "$as_me:$LINENO: result: no" >&5
36345+$as_echo "no" >&6; }
36346+fi
36347+
36348+  if test "x$ac_ct_DSYMUTIL" = x; then
36349+    DSYMUTIL=":"
36350+  else
36351+    case $cross_compiling:$ac_tool_warned in
36352+yes:)
36353+{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
36354+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
36355+ac_tool_warned=yes ;;
36356+esac
36357+    DSYMUTIL=$ac_ct_DSYMUTIL
36358+  fi
36359+else
36360+  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
36361+fi
36362+
36363+    if test -n "$ac_tool_prefix"; then
36364+  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
36365+set dummy ${ac_tool_prefix}nmedit; ac_word=$2
36366+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
36367+$as_echo_n "checking for $ac_word... " >&6; }
36368+if test "${ac_cv_prog_NMEDIT+set}" = set; then
36369+  $as_echo_n "(cached) " >&6
36370+else
36371+  if test -n "$NMEDIT"; then
36372+  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
36373+else
36374+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36375+for as_dir in $PATH
36376+do
36377+  IFS=$as_save_IFS
36378+  test -z "$as_dir" && as_dir=.
36379+  for ac_exec_ext in '' $ac_executable_extensions; do
36380+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36381+    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
36382+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36383+    break 2
36384+  fi
36385+done
36386+done
36387+IFS=$as_save_IFS
36388+
36389+fi
36390+fi
36391+NMEDIT=$ac_cv_prog_NMEDIT
36392+if test -n "$NMEDIT"; then
36393+  { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
36394+$as_echo "$NMEDIT" >&6; }
36395+else
36396+  { $as_echo "$as_me:$LINENO: result: no" >&5
36397+$as_echo "no" >&6; }
36398+fi
36399+
36400+
36401+fi
36402+if test -z "$ac_cv_prog_NMEDIT"; then
36403+  ac_ct_NMEDIT=$NMEDIT
36404+  # Extract the first word of "nmedit", so it can be a program name with args.
36405+set dummy nmedit; ac_word=$2
36406+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
36407+$as_echo_n "checking for $ac_word... " >&6; }
36408+if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
36409+  $as_echo_n "(cached) " >&6
36410+else
36411+  if test -n "$ac_ct_NMEDIT"; then
36412+  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
36413+else
36414+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36415+for as_dir in $PATH
36416+do
36417+  IFS=$as_save_IFS
36418+  test -z "$as_dir" && as_dir=.
36419+  for ac_exec_ext in '' $ac_executable_extensions; do
36420+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36421+    ac_cv_prog_ac_ct_NMEDIT="nmedit"
36422+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36423+    break 2
36424+  fi
36425+done
36426+done
36427+IFS=$as_save_IFS
36428+
36429+fi
36430+fi
36431+ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
36432+if test -n "$ac_ct_NMEDIT"; then
36433+  { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
36434+$as_echo "$ac_ct_NMEDIT" >&6; }
36435+else
36436+  { $as_echo "$as_me:$LINENO: result: no" >&5
36437+$as_echo "no" >&6; }
36438+fi
36439+
36440+  if test "x$ac_ct_NMEDIT" = x; then
36441+    NMEDIT=":"
36442+  else
36443+    case $cross_compiling:$ac_tool_warned in
36444+yes:)
36445+{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
36446+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
36447+ac_tool_warned=yes ;;
36448+esac
36449+    NMEDIT=$ac_ct_NMEDIT
36450+  fi
36451+else
36452+  NMEDIT="$ac_cv_prog_NMEDIT"
36453+fi
36454+
36455+    if test -n "$ac_tool_prefix"; then
36456+  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
36457+set dummy ${ac_tool_prefix}lipo; ac_word=$2
36458+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
36459+$as_echo_n "checking for $ac_word... " >&6; }
36460+if test "${ac_cv_prog_LIPO+set}" = set; then
36461+  $as_echo_n "(cached) " >&6
36462+else
36463+  if test -n "$LIPO"; then
36464+  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
36465+else
36466+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36467+for as_dir in $PATH
36468+do
36469+  IFS=$as_save_IFS
36470+  test -z "$as_dir" && as_dir=.
36471+  for ac_exec_ext in '' $ac_executable_extensions; do
36472+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36473+    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
36474+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36475+    break 2
36476+  fi
36477+done
36478+done
36479+IFS=$as_save_IFS
36480+
36481+fi
36482+fi
36483+LIPO=$ac_cv_prog_LIPO
36484+if test -n "$LIPO"; then
36485+  { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
36486+$as_echo "$LIPO" >&6; }
36487+else
36488+  { $as_echo "$as_me:$LINENO: result: no" >&5
36489+$as_echo "no" >&6; }
36490+fi
36491+
36492+
36493+fi
36494+if test -z "$ac_cv_prog_LIPO"; then
36495+  ac_ct_LIPO=$LIPO
36496+  # Extract the first word of "lipo", so it can be a program name with args.
36497+set dummy lipo; ac_word=$2
36498+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
36499+$as_echo_n "checking for $ac_word... " >&6; }
36500+if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
36501+  $as_echo_n "(cached) " >&6
36502+else
36503+  if test -n "$ac_ct_LIPO"; then
36504+  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
36505+else
36506+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36507+for as_dir in $PATH
36508+do
36509+  IFS=$as_save_IFS
36510+  test -z "$as_dir" && as_dir=.
36511+  for ac_exec_ext in '' $ac_executable_extensions; do
36512+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36513+    ac_cv_prog_ac_ct_LIPO="lipo"
36514+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36515+    break 2
36516+  fi
36517+done
36518+done
36519+IFS=$as_save_IFS
36520+
36521+fi
36522+fi
36523+ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
36524+if test -n "$ac_ct_LIPO"; then
36525+  { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
36526+$as_echo "$ac_ct_LIPO" >&6; }
36527+else
36528+  { $as_echo "$as_me:$LINENO: result: no" >&5
36529+$as_echo "no" >&6; }
36530+fi
36531+
36532+  if test "x$ac_ct_LIPO" = x; then
36533+    LIPO=":"
36534+  else
36535+    case $cross_compiling:$ac_tool_warned in
36536+yes:)
36537+{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
36538+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
36539+ac_tool_warned=yes ;;
36540+esac
36541+    LIPO=$ac_ct_LIPO
36542+  fi
36543+else
36544+  LIPO="$ac_cv_prog_LIPO"
36545+fi
36546+
36547+    if test -n "$ac_tool_prefix"; then
36548+  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
36549+set dummy ${ac_tool_prefix}otool; ac_word=$2
36550+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
36551+$as_echo_n "checking for $ac_word... " >&6; }
36552+if test "${ac_cv_prog_OTOOL+set}" = set; then
36553+  $as_echo_n "(cached) " >&6
36554+else
36555+  if test -n "$OTOOL"; then
36556+  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
36557+else
36558+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36559+for as_dir in $PATH
36560+do
36561+  IFS=$as_save_IFS
36562+  test -z "$as_dir" && as_dir=.
36563+  for ac_exec_ext in '' $ac_executable_extensions; do
36564+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36565+    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
36566+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36567+    break 2
36568+  fi
36569+done
36570+done
36571+IFS=$as_save_IFS
36572+
36573+fi
36574+fi
36575+OTOOL=$ac_cv_prog_OTOOL
36576+if test -n "$OTOOL"; then
36577+  { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
36578+$as_echo "$OTOOL" >&6; }
36579+else
36580+  { $as_echo "$as_me:$LINENO: result: no" >&5
36581+$as_echo "no" >&6; }
36582+fi
36583+
36584+
36585+fi
36586+if test -z "$ac_cv_prog_OTOOL"; then
36587+  ac_ct_OTOOL=$OTOOL
36588+  # Extract the first word of "otool", so it can be a program name with args.
36589+set dummy otool; ac_word=$2
36590+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
36591+$as_echo_n "checking for $ac_word... " >&6; }
36592+if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
36593+  $as_echo_n "(cached) " >&6
36594+else
36595+  if test -n "$ac_ct_OTOOL"; then
36596+  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
36597+else
36598+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36599+for as_dir in $PATH
36600+do
36601+  IFS=$as_save_IFS
36602+  test -z "$as_dir" && as_dir=.
36603+  for ac_exec_ext in '' $ac_executable_extensions; do
36604+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36605+    ac_cv_prog_ac_ct_OTOOL="otool"
36606+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36607+    break 2
36608+  fi
36609+done
36610+done
36611+IFS=$as_save_IFS
36612+
36613+fi
36614+fi
36615+ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
36616+if test -n "$ac_ct_OTOOL"; then
36617+  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
36618+$as_echo "$ac_ct_OTOOL" >&6; }
36619+else
36620+  { $as_echo "$as_me:$LINENO: result: no" >&5
36621+$as_echo "no" >&6; }
36622+fi
36623+
36624+  if test "x$ac_ct_OTOOL" = x; then
36625+    OTOOL=":"
36626+  else
36627+    case $cross_compiling:$ac_tool_warned in
36628+yes:)
36629+{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
36630+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
36631+ac_tool_warned=yes ;;
36632+esac
36633+    OTOOL=$ac_ct_OTOOL
36634+  fi
36635+else
36636+  OTOOL="$ac_cv_prog_OTOOL"
36637+fi
36638+
36639+    if test -n "$ac_tool_prefix"; then
36640+  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
36641+set dummy ${ac_tool_prefix}otool64; ac_word=$2
36642+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
36643+$as_echo_n "checking for $ac_word... " >&6; }
36644+if test "${ac_cv_prog_OTOOL64+set}" = set; then
36645+  $as_echo_n "(cached) " >&6
36646+else
36647+  if test -n "$OTOOL64"; then
36648+  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
36649+else
36650+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36651+for as_dir in $PATH
36652+do
36653+  IFS=$as_save_IFS
36654+  test -z "$as_dir" && as_dir=.
36655+  for ac_exec_ext in '' $ac_executable_extensions; do
36656+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36657+    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
36658+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36659+    break 2
36660+  fi
36661+done
36662+done
36663+IFS=$as_save_IFS
36664+
36665+fi
36666+fi
36667+OTOOL64=$ac_cv_prog_OTOOL64
36668+if test -n "$OTOOL64"; then
36669+  { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
36670+$as_echo "$OTOOL64" >&6; }
36671+else
36672+  { $as_echo "$as_me:$LINENO: result: no" >&5
36673+$as_echo "no" >&6; }
36674+fi
36675+
36676+
36677+fi
36678+if test -z "$ac_cv_prog_OTOOL64"; then
36679+  ac_ct_OTOOL64=$OTOOL64
36680+  # Extract the first word of "otool64", so it can be a program name with args.
36681+set dummy otool64; ac_word=$2
36682+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
36683+$as_echo_n "checking for $ac_word... " >&6; }
36684+if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
36685+  $as_echo_n "(cached) " >&6
36686+else
36687+  if test -n "$ac_ct_OTOOL64"; then
36688+  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
36689+else
36690+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36691+for as_dir in $PATH
36692+do
36693+  IFS=$as_save_IFS
36694+  test -z "$as_dir" && as_dir=.
36695+  for ac_exec_ext in '' $ac_executable_extensions; do
36696+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36697+    ac_cv_prog_ac_ct_OTOOL64="otool64"
36698+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36699+    break 2
36700+  fi
36701+done
36702+done
36703+IFS=$as_save_IFS
36704+
36705+fi
36706+fi
36707+ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
36708+if test -n "$ac_ct_OTOOL64"; then
36709+  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
36710+$as_echo "$ac_ct_OTOOL64" >&6; }
36711+else
36712+  { $as_echo "$as_me:$LINENO: result: no" >&5
36713+$as_echo "no" >&6; }
36714+fi
36715+
36716+  if test "x$ac_ct_OTOOL64" = x; then
36717+    OTOOL64=":"
36718+  else
36719+    case $cross_compiling:$ac_tool_warned in
36720+yes:)
36721+{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
36722+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
36723+ac_tool_warned=yes ;;
36724+esac
36725+    OTOOL64=$ac_ct_OTOOL64
36726+  fi
36727+else
36728+  OTOOL64="$ac_cv_prog_OTOOL64"
36729+fi
36730+
36731+
36732+
36733+
36734+
36735+
36736+
36737+
36738+
36739+
36740+
36741+
36742+
36743+
36744+
36745+
36746+
36747+
36748+
36749+
36750+
36751+
36752+
36753+
36754+
36755+
36756+
36757+    { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
36758+$as_echo_n "checking for -single_module linker flag... " >&6; }
36759+if test "${lt_cv_apple_cc_single_mod+set}" = set; then
36760+  $as_echo_n "(cached) " >&6
36761+else
36762+  lt_cv_apple_cc_single_mod=no
36763+      if test -z "${LT_MULTI_MODULE}"; then
36764+	# By default we will add the -single_module flag. You can override
36765+	# by either setting the environment variable LT_MULTI_MODULE
36766+	# non-empty at configure time, or by adding -multi_module to the
36767+	# link flags.
36768+	rm -rf libconftest.dylib*
36769+	echo "int foo(void){return 1;}" > conftest.c
36770+	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
36771+-dynamiclib -Wl,-single_module conftest.c" >&5
36772+	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
36773+	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
36774+        _lt_result=$?
36775+	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
36776+	  lt_cv_apple_cc_single_mod=yes
36777+	else
36778+	  cat conftest.err >&5
36779+	fi
36780+	rm -rf libconftest.dylib*
36781+	rm -f conftest.*
36782+      fi
36783+fi
36784+{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
36785+$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
36786+    { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
36787+$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
36788+if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
36789+  $as_echo_n "(cached) " >&6
36790+else
36791+  lt_cv_ld_exported_symbols_list=no
36792+      save_LDFLAGS=$LDFLAGS
36793+      echo "_main" > conftest.sym
36794+      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
36795+      cat >conftest.$ac_ext <<_ACEOF
36796+/* confdefs.h.  */
36797+_ACEOF
36798+cat confdefs.h >>conftest.$ac_ext
36799+cat >>conftest.$ac_ext <<_ACEOF
36800+/* end confdefs.h.  */
36801+
36802+int
36803+main ()
36804+{
36805+
36806+  ;
36807+  return 0;
36808+}
36809+_ACEOF
36810+rm -f conftest.$ac_objext conftest$ac_exeext
36811+if { (ac_try="$ac_link"
36812+case "(($ac_try" in
36813+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36814+  *) ac_try_echo=$ac_try;;
36815+esac
36816+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
36817+$as_echo "$ac_try_echo") >&5
36818+  (eval "$ac_link") 2>conftest.er1
36819+  ac_status=$?
36820+  grep -v '^ *+' conftest.er1 >conftest.err
36821+  rm -f conftest.er1
36822+  cat conftest.err >&5
36823+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
36824+  (exit $ac_status); } && {
36825+	 test -z "$ac_c_werror_flag" ||
36826+	 test ! -s conftest.err
36827+       } && test -s conftest$ac_exeext && {
36828+	 test "$cross_compiling" = yes ||
36829+	 $as_test_x conftest$ac_exeext
36830+       }; then
36831+  lt_cv_ld_exported_symbols_list=yes
36832+else
36833+  $as_echo "$as_me: failed program was:" >&5
36834+sed 's/^/| /' conftest.$ac_ext >&5
36835+
36836+	lt_cv_ld_exported_symbols_list=no
36837+fi
36838+
36839+rm -rf conftest.dSYM
36840+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36841+      conftest$ac_exeext conftest.$ac_ext
36842+	LDFLAGS="$save_LDFLAGS"
36843+
36844+fi
36845+{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
36846+$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
36847+    case $host_os in
36848+    rhapsody* | darwin1.[012])
36849+      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
36850+    darwin1.*)
36851+      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
36852+    darwin*) # darwin 5.x on
36853+      # if running on 10.5 or later, the deployment target defaults
36854+      # to the OS version, if on x86, and 10.4, the deployment
36855+      # target defaults to 10.4. Don't you love it?
36856+      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
36857+	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
36858+	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
36859+	10.[012]*)
36860+	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
36861+	10.*)
36862+	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
36863+      esac
36864+    ;;
36865+  esac
36866+    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
36867+      _lt_dar_single_mod='$single_module'
36868+    fi
36869+    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
36870+      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
36871+    else
36872+      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
36873+    fi
36874+    if test "$DSYMUTIL" != ":"; then
36875+      _lt_dsymutil='~$DSYMUTIL $lib || :'
36876+    else
36877+      _lt_dsymutil=
36878+    fi
36879+    ;;
36880+  esac
36881+
36882+ac_ext=c
36883+ac_cpp='$CPP $CPPFLAGS'
36884+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36885+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36886+ac_compiler_gnu=$ac_cv_c_compiler_gnu
36887+{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
36888+$as_echo_n "checking how to run the C preprocessor... " >&6; }
36889+# On Suns, sometimes $CPP names a directory.
36890+if test -n "$CPP" && test -d "$CPP"; then
36891+  CPP=
36892+fi
36893+if test -z "$CPP"; then
36894+  if test "${ac_cv_prog_CPP+set}" = set; then
36895+  $as_echo_n "(cached) " >&6
36896+else
36897+      # Double quotes because CPP needs to be expanded
36898+    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
36899+    do
36900+      ac_preproc_ok=false
36901+for ac_c_preproc_warn_flag in '' yes
36902+do
36903+  # Use a header file that comes with gcc, so configuring glibc
36904+  # with a fresh cross-compiler works.
36905+  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36906+  # <limits.h> exists even on freestanding compilers.
36907+  # On the NeXT, cc -E runs the code through the compiler's parser,
36908+  # not just through cpp. "Syntax error" is here to catch this case.
36909+  cat >conftest.$ac_ext <<_ACEOF
36910+/* confdefs.h.  */
36911+_ACEOF
36912+cat confdefs.h >>conftest.$ac_ext
36913+cat >>conftest.$ac_ext <<_ACEOF
36914+/* end confdefs.h.  */
36915+#ifdef __STDC__
36916+# include <limits.h>
36917+#else
36918+# include <assert.h>
36919+#endif
36920+		     Syntax error
36921+_ACEOF
36922+if { (ac_try="$ac_cpp conftest.$ac_ext"
36923+case "(($ac_try" in
36924+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36925+  *) ac_try_echo=$ac_try;;
36926+esac
36927+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
36928+$as_echo "$ac_try_echo") >&5
36929+  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
36930+  ac_status=$?
36931+  grep -v '^ *+' conftest.er1 >conftest.err
36932+  rm -f conftest.er1
36933+  cat conftest.err >&5
36934+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
36935+  (exit $ac_status); } >/dev/null && {
36936+	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
36937+	 test ! -s conftest.err
36938+       }; then
36939+  :
36940+else
36941+  $as_echo "$as_me: failed program was:" >&5
36942+sed 's/^/| /' conftest.$ac_ext >&5
36943+
36944+  # Broken: fails on valid input.
36945+continue
36946+fi
36947+
36948+rm -f conftest.err conftest.$ac_ext
36949+
36950+  # OK, works on sane cases.  Now check whether nonexistent headers
36951+  # can be detected and how.
36952+  cat >conftest.$ac_ext <<_ACEOF
36953+/* confdefs.h.  */
36954+_ACEOF
36955+cat confdefs.h >>conftest.$ac_ext
36956+cat >>conftest.$ac_ext <<_ACEOF
36957+/* end confdefs.h.  */
36958+#include <ac_nonexistent.h>
36959+_ACEOF
36960+if { (ac_try="$ac_cpp conftest.$ac_ext"
36961+case "(($ac_try" in
36962+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36963+  *) ac_try_echo=$ac_try;;
36964+esac
36965+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
36966+$as_echo "$ac_try_echo") >&5
36967+  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
36968+  ac_status=$?
36969+  grep -v '^ *+' conftest.er1 >conftest.err
36970+  rm -f conftest.er1
36971+  cat conftest.err >&5
36972+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
36973+  (exit $ac_status); } >/dev/null && {
36974+	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
36975+	 test ! -s conftest.err
36976+       }; then
36977+  # Broken: success on invalid input.
36978+continue
36979+else
36980+  $as_echo "$as_me: failed program was:" >&5
36981+sed 's/^/| /' conftest.$ac_ext >&5
36982+
36983+  # Passes both tests.
36984+ac_preproc_ok=:
36985+break
36986+fi
36987+
36988+rm -f conftest.err conftest.$ac_ext
36989+
36990+done
36991+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
36992+rm -f conftest.err conftest.$ac_ext
36993+if $ac_preproc_ok; then
36994+  break
36995+fi
36996+
36997+    done
36998+    ac_cv_prog_CPP=$CPP
36999+
37000+fi
37001+  CPP=$ac_cv_prog_CPP
37002+else
37003+  ac_cv_prog_CPP=$CPP
37004+fi
37005+{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
37006+$as_echo "$CPP" >&6; }
37007+ac_preproc_ok=false
37008+for ac_c_preproc_warn_flag in '' yes
37009+do
37010+  # Use a header file that comes with gcc, so configuring glibc
37011+  # with a fresh cross-compiler works.
37012+  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37013+  # <limits.h> exists even on freestanding compilers.
37014+  # On the NeXT, cc -E runs the code through the compiler's parser,
37015+  # not just through cpp. "Syntax error" is here to catch this case.
37016+  cat >conftest.$ac_ext <<_ACEOF
37017+/* confdefs.h.  */
37018+_ACEOF
37019+cat confdefs.h >>conftest.$ac_ext
37020+cat >>conftest.$ac_ext <<_ACEOF
37021+/* end confdefs.h.  */
37022+#ifdef __STDC__
37023+# include <limits.h>
37024+#else
37025+# include <assert.h>
37026+#endif
37027+		     Syntax error
37028+_ACEOF
37029+if { (ac_try="$ac_cpp conftest.$ac_ext"
37030+case "(($ac_try" in
37031+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37032+  *) ac_try_echo=$ac_try;;
37033+esac
37034+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
37035+$as_echo "$ac_try_echo") >&5
37036+  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
37037+  ac_status=$?
37038+  grep -v '^ *+' conftest.er1 >conftest.err
37039+  rm -f conftest.er1
37040+  cat conftest.err >&5
37041+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
37042+  (exit $ac_status); } >/dev/null && {
37043+	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
37044+	 test ! -s conftest.err
37045+       }; then
37046+  :
37047+else
37048+  $as_echo "$as_me: failed program was:" >&5
37049+sed 's/^/| /' conftest.$ac_ext >&5
37050+
37051+  # Broken: fails on valid input.
37052+continue
37053+fi
37054+
37055+rm -f conftest.err conftest.$ac_ext
37056+
37057+  # OK, works on sane cases.  Now check whether nonexistent headers
37058+  # can be detected and how.
37059+  cat >conftest.$ac_ext <<_ACEOF
37060+/* confdefs.h.  */
37061+_ACEOF
37062+cat confdefs.h >>conftest.$ac_ext
37063+cat >>conftest.$ac_ext <<_ACEOF
37064+/* end confdefs.h.  */
37065+#include <ac_nonexistent.h>
37066+_ACEOF
37067+if { (ac_try="$ac_cpp conftest.$ac_ext"
37068+case "(($ac_try" in
37069+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37070+  *) ac_try_echo=$ac_try;;
37071+esac
37072+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
37073+$as_echo "$ac_try_echo") >&5
37074+  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
37075+  ac_status=$?
37076+  grep -v '^ *+' conftest.er1 >conftest.err
37077+  rm -f conftest.er1
37078+  cat conftest.err >&5
37079+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
37080+  (exit $ac_status); } >/dev/null && {
37081+	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
37082+	 test ! -s conftest.err
37083+       }; then
37084+  # Broken: success on invalid input.
37085+continue
37086+else
37087+  $as_echo "$as_me: failed program was:" >&5
37088+sed 's/^/| /' conftest.$ac_ext >&5
37089+
37090+  # Passes both tests.
37091+ac_preproc_ok=:
37092+break
37093+fi
37094+
37095+rm -f conftest.err conftest.$ac_ext
37096+
37097+done
37098+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
37099+rm -f conftest.err conftest.$ac_ext
37100+if $ac_preproc_ok; then
37101+  :
37102+else
37103+  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
37104+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
37105+{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
37106+See \`config.log' for more details." >&5
37107+$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
37108+See \`config.log' for more details." >&2;}
37109+   { (exit 1); exit 1; }; }; }
37110+fi
37111+
37112+ac_ext=c
37113+ac_cpp='$CPP $CPPFLAGS'
37114+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37115+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37116+ac_compiler_gnu=$ac_cv_c_compiler_gnu
37117+
37118+
37119+{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
37120+$as_echo_n "checking for ANSI C header files... " >&6; }
37121+if test "${ac_cv_header_stdc+set}" = set; then
37122+  $as_echo_n "(cached) " >&6
37123+else
37124+  cat >conftest.$ac_ext <<_ACEOF
37125+/* confdefs.h.  */
37126+_ACEOF
37127+cat confdefs.h >>conftest.$ac_ext
37128+cat >>conftest.$ac_ext <<_ACEOF
37129+/* end confdefs.h.  */
37130+#include <stdlib.h>
37131+#include <stdarg.h>
37132+#include <string.h>
37133+#include <float.h>
37134+
37135+int
37136+main ()
37137+{
37138+
37139+  ;
37140+  return 0;
37141+}
37142+_ACEOF
37143+rm -f conftest.$ac_objext
37144+if { (ac_try="$ac_compile"
37145+case "(($ac_try" in
37146+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37147+  *) ac_try_echo=$ac_try;;
37148+esac
37149+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
37150+$as_echo "$ac_try_echo") >&5
37151+  (eval "$ac_compile") 2>conftest.er1
37152+  ac_status=$?
37153+  grep -v '^ *+' conftest.er1 >conftest.err
37154+  rm -f conftest.er1
37155+  cat conftest.err >&5
37156+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
37157+  (exit $ac_status); } && {
37158+	 test -z "$ac_c_werror_flag" ||
37159+	 test ! -s conftest.err
37160+       } && test -s conftest.$ac_objext; then
37161+  ac_cv_header_stdc=yes
37162+else
37163+  $as_echo "$as_me: failed program was:" >&5
37164+sed 's/^/| /' conftest.$ac_ext >&5
37165+
37166+	ac_cv_header_stdc=no
37167+fi
37168+
37169+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37170+
37171+if test $ac_cv_header_stdc = yes; then
37172+  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
37173+  cat >conftest.$ac_ext <<_ACEOF
37174+/* confdefs.h.  */
37175+_ACEOF
37176+cat confdefs.h >>conftest.$ac_ext
37177+cat >>conftest.$ac_ext <<_ACEOF
37178+/* end confdefs.h.  */
37179+#include <string.h>
37180+
37181+_ACEOF
37182+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
37183+  $EGREP "memchr" >/dev/null 2>&1; then
37184+  :
37185+else
37186+  ac_cv_header_stdc=no
37187+fi
37188+rm -f conftest*
37189+
37190+fi
37191+
37192+if test $ac_cv_header_stdc = yes; then
37193+  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
37194+  cat >conftest.$ac_ext <<_ACEOF
37195+/* confdefs.h.  */
37196+_ACEOF
37197+cat confdefs.h >>conftest.$ac_ext
37198+cat >>conftest.$ac_ext <<_ACEOF
37199+/* end confdefs.h.  */
37200+#include <stdlib.h>
37201+
37202+_ACEOF
37203+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
37204+  $EGREP "free" >/dev/null 2>&1; then
37205+  :
37206+else
37207+  ac_cv_header_stdc=no
37208+fi
37209+rm -f conftest*
37210+
37211+fi
37212+
37213+if test $ac_cv_header_stdc = yes; then
37214+  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
37215+  if test "$cross_compiling" = yes; then
37216+  :
37217+else
37218+  cat >conftest.$ac_ext <<_ACEOF
37219+/* confdefs.h.  */
37220+_ACEOF
37221+cat confdefs.h >>conftest.$ac_ext
37222+cat >>conftest.$ac_ext <<_ACEOF
37223+/* end confdefs.h.  */
37224+#include <ctype.h>
37225+#include <stdlib.h>
37226+#if ((' ' & 0x0FF) == 0x020)
37227+# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
37228+# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
37229+#else
37230+# define ISLOWER(c) \
37231+		   (('a' <= (c) && (c) <= 'i') \
37232+		     || ('j' <= (c) && (c) <= 'r') \
37233+		     || ('s' <= (c) && (c) <= 'z'))
37234+# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
37235+#endif
37236+
37237+#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
37238+int
37239+main ()
37240+{
37241+  int i;
37242+  for (i = 0; i < 256; i++)
37243+    if (XOR (islower (i), ISLOWER (i))
37244+	|| toupper (i) != TOUPPER (i))
37245+      return 2;
37246+  return 0;
37247+}
37248+_ACEOF
37249+rm -f conftest$ac_exeext
37250+if { (ac_try="$ac_link"
37251+case "(($ac_try" in
37252+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37253+  *) ac_try_echo=$ac_try;;
37254+esac
37255+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
37256+$as_echo "$ac_try_echo") >&5
37257+  (eval "$ac_link") 2>&5
37258+  ac_status=$?
37259+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
37260+  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
37261+  { (case "(($ac_try" in
37262+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37263+  *) ac_try_echo=$ac_try;;
37264+esac
37265+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
37266+$as_echo "$ac_try_echo") >&5
37267+  (eval "$ac_try") 2>&5
37268+  ac_status=$?
37269+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
37270+  (exit $ac_status); }; }; then
37271+  :
37272+else
37273+  $as_echo "$as_me: program exited with status $ac_status" >&5
37274+$as_echo "$as_me: failed program was:" >&5
37275+sed 's/^/| /' conftest.$ac_ext >&5
37276+
37277+( exit $ac_status )
37278+ac_cv_header_stdc=no
37279+fi
37280+rm -rf conftest.dSYM
37281+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
37282+fi
37283+
37284+
37285+fi
37286+fi
37287+{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
37288+$as_echo "$ac_cv_header_stdc" >&6; }
37289+if test $ac_cv_header_stdc = yes; then
37290+
37291+cat >>confdefs.h <<\_ACEOF
37292+#define STDC_HEADERS 1
37293+_ACEOF
37294+
37295+fi
37296+
37297+# On IRIX 5.3, sys/types and inttypes.h are conflicting.
37298+
37299+
37300+
37301+
37302+
37303+
37304+
37305+
37306+
37307+for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
37308+		  inttypes.h stdint.h unistd.h
37309+do
37310+as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
37311+{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
37312+$as_echo_n "checking for $ac_header... " >&6; }
37313+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
37314+  $as_echo_n "(cached) " >&6
37315+else
37316+  cat >conftest.$ac_ext <<_ACEOF
37317+/* confdefs.h.  */
37318+_ACEOF
37319+cat confdefs.h >>conftest.$ac_ext
37320+cat >>conftest.$ac_ext <<_ACEOF
37321+/* end confdefs.h.  */
37322+$ac_includes_default
37323+
37324+#include <$ac_header>
37325+_ACEOF
37326+rm -f conftest.$ac_objext
37327+if { (ac_try="$ac_compile"
37328+case "(($ac_try" in
37329+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37330+  *) ac_try_echo=$ac_try;;
37331+esac
37332+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
37333+$as_echo "$ac_try_echo") >&5
37334+  (eval "$ac_compile") 2>conftest.er1
37335+  ac_status=$?
37336+  grep -v '^ *+' conftest.er1 >conftest.err
37337+  rm -f conftest.er1
37338+  cat conftest.err >&5
37339+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
37340+  (exit $ac_status); } && {
37341+	 test -z "$ac_c_werror_flag" ||
37342+	 test ! -s conftest.err
37343+       } && test -s conftest.$ac_objext; then
37344+  eval "$as_ac_Header=yes"
37345+else
37346+  $as_echo "$as_me: failed program was:" >&5
37347+sed 's/^/| /' conftest.$ac_ext >&5
37348+
37349+	eval "$as_ac_Header=no"
37350+fi
37351+
37352+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37353+fi
37354+ac_res=`eval 'as_val=${'$as_ac_Header'}
37355+		 $as_echo "$as_val"'`
37356+	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
37357+$as_echo "$ac_res" >&6; }
37358+as_val=`eval 'as_val=${'$as_ac_Header'}
37359+		 $as_echo "$as_val"'`
37360+   if test "x$as_val" = x""yes; then
37361+  cat >>confdefs.h <<_ACEOF
37362+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
37363+_ACEOF
37364+
37365+fi
37366+
37367+done
37368+
37369+
37370+
37371+for ac_header in dlfcn.h
37372+do
37373+as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
37374+{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
37375+$as_echo_n "checking for $ac_header... " >&6; }
37376+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
37377+  $as_echo_n "(cached) " >&6
37378+else
37379+  cat >conftest.$ac_ext <<_ACEOF
37380+/* confdefs.h.  */
37381+_ACEOF
37382+cat confdefs.h >>conftest.$ac_ext
37383+cat >>conftest.$ac_ext <<_ACEOF
37384+/* end confdefs.h.  */
37385+$ac_includes_default
37386+
37387+#include <$ac_header>
37388+_ACEOF
37389+rm -f conftest.$ac_objext
37390+if { (ac_try="$ac_compile"
37391+case "(($ac_try" in
37392+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37393+  *) ac_try_echo=$ac_try;;
37394+esac
37395+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
37396+$as_echo "$ac_try_echo") >&5
37397+  (eval "$ac_compile") 2>conftest.er1
37398+  ac_status=$?
37399+  grep -v '^ *+' conftest.er1 >conftest.err
37400+  rm -f conftest.er1
37401+  cat conftest.err >&5
37402+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
37403+  (exit $ac_status); } && {
37404+	 test -z "$ac_c_werror_flag" ||
37405+	 test ! -s conftest.err
37406+       } && test -s conftest.$ac_objext; then
37407+  eval "$as_ac_Header=yes"
37408+else
37409+  $as_echo "$as_me: failed program was:" >&5
37410+sed 's/^/| /' conftest.$ac_ext >&5
37411+
37412+	eval "$as_ac_Header=no"
37413+fi
37414+
37415+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37416+fi
37417+ac_res=`eval 'as_val=${'$as_ac_Header'}
37418+		 $as_echo "$as_val"'`
37419+	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
37420+$as_echo "$ac_res" >&6; }
37421+as_val=`eval 'as_val=${'$as_ac_Header'}
37422+		 $as_echo "$as_val"'`
37423+   if test "x$as_val" = x""yes; then
37424+  cat >>confdefs.h <<_ACEOF
37425+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
37426+_ACEOF
37427+
37428+fi
37429+
37430+done
37431+
37432+
37433+
37434+# Set options
37435+
37436+
37437+
37438+        enable_dlopen=no
37439+
37440+
37441+  enable_win32_dll=no
37442+
37443+
37444+            # Check whether --enable-shared was given.
37445+if test "${enable_shared+set}" = set; then
37446+  enableval=$enable_shared; p=${PACKAGE-default}
37447+    case $enableval in
37448+    yes) enable_shared=yes ;;
37449+    no) enable_shared=no ;;
37450+    *)
37451+      enable_shared=no
37452+      # Look at the argument we got.  We use all the common list separators.
37453+      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
37454+      for pkg in $enableval; do
37455+	IFS="$lt_save_ifs"
37456+	if test "X$pkg" = "X$p"; then
37457+	  enable_shared=yes
37458+	fi
37459+      done
37460+      IFS="$lt_save_ifs"
37461+      ;;
37462+    esac
37463+else
37464+  enable_shared=yes
37465+fi
37466+
37467+
37468+
37469+
37470+
37471+
37472+
37473+
37474+
37475+
37476+
37477+# Check whether --with-pic was given.
37478+if test "${with_pic+set}" = set; then
37479+  withval=$with_pic; pic_mode="$withval"
37480+else
37481+  pic_mode=default
37482+fi
37483+
37484+
37485+test -z "$pic_mode" && pic_mode=default
37486+
37487+
37488+
37489+
37490+
37491+
37492+
37493+  # Check whether --enable-fast-install was given.
37494+if test "${enable_fast_install+set}" = set; then
37495+  enableval=$enable_fast_install; p=${PACKAGE-default}
37496+    case $enableval in
37497+    yes) enable_fast_install=yes ;;
37498+    no) enable_fast_install=no ;;
37499+    *)
37500+      enable_fast_install=no
37501+      # Look at the argument we got.  We use all the common list separators.
37502+      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
37503+      for pkg in $enableval; do
37504+	IFS="$lt_save_ifs"
37505+	if test "X$pkg" = "X$p"; then
37506+	  enable_fast_install=yes
37507+	fi
37508+      done
37509+      IFS="$lt_save_ifs"
37510+      ;;
37511+    esac
37512+else
37513+  enable_fast_install=yes
37514+fi
37515+
37516+
37517+
37518+
37519+
37520+
37521+
37522+
37523+
37524+
37525+
37526+# This can be used to rebuild libtool when needed
37527+LIBTOOL_DEPS="$ltmain"
37528+
37529+# Always use our own libtool.
37530+LIBTOOL='$(SHELL) $(top_builddir)/libtool'
37531+
37532+
37533+
37534+
37535+
37536+
37537+
37538+
37539+
37540+
37541+
37542+
37543+
37544+
37545+
37546+
37547+
37548+
37549+
37550+
37551+
37552+
37553+
37554+
37555+
37556+test -z "$LN_S" && LN_S="ln -s"
37557+
37558+
37559+
37560+
37561+
37562+
37563+
37564+
37565+
37566+
37567+
37568+
37569+
37570+
37571+if test -n "${ZSH_VERSION+set}" ; then
37572+   setopt NO_GLOB_SUBST
37573+fi
37574+
37575+{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
37576+$as_echo_n "checking for objdir... " >&6; }
37577+if test "${lt_cv_objdir+set}" = set; then
37578+  $as_echo_n "(cached) " >&6
37579+else
37580+  rm -f .libs 2>/dev/null
37581+mkdir .libs 2>/dev/null
37582+if test -d .libs; then
37583+  lt_cv_objdir=.libs
37584+else
37585+  # MS-DOS does not allow filenames that begin with a dot.
37586+  lt_cv_objdir=_libs
37587+fi
37588+rmdir .libs 2>/dev/null
37589+fi
37590+{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
37591+$as_echo "$lt_cv_objdir" >&6; }
37592+objdir=$lt_cv_objdir
37593+
37594+
37595+
37596+
37597+
37598+cat >>confdefs.h <<_ACEOF
37599+#define LT_OBJDIR "$lt_cv_objdir/"
37600+_ACEOF
37601+
37602+
37603+
37604+
37605+
37606+
37607+
37608+
37609+
37610+
37611+
37612+
37613+
37614+
37615+
37616+
37617+
37618+case $host_os in
37619+aix3*)
37620+  # AIX sometimes has problems with the GCC collect2 program.  For some
37621+  # reason, if we set the COLLECT_NAMES environment variable, the problems
37622+  # vanish in a puff of smoke.
37623+  if test "X${COLLECT_NAMES+set}" != Xset; then
37624+    COLLECT_NAMES=
37625+    export COLLECT_NAMES
37626+  fi
37627+  ;;
37628+esac
37629+
37630+# Sed substitution that helps us do robust quoting.  It backslashifies
37631+# metacharacters that are still active within double-quoted strings.
37632+sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
37633+
37634+# Same as above, but do not quote variable references.
37635+double_quote_subst='s/\(["`\\]\)/\\\1/g'
37636+
37637+# Sed substitution to delay expansion of an escaped shell variable in a
37638+# double_quote_subst'ed string.
37639+delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
37640+
37641+# Sed substitution to delay expansion of an escaped single quote.
37642+delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
37643+
37644+# Sed substitution to avoid accidental globbing in evaled expressions
37645+no_glob_subst='s/\*/\\\*/g'
37646+
37647+# Global variables:
37648+ofile=libtool
37649+can_build_shared=yes
37650+
37651+# All known linkers require a `.a' archive for static linking (except MSVC,
37652+# which needs '.lib').
37653+libext=a
37654+
37655+with_gnu_ld="$lt_cv_prog_gnu_ld"
37656+
37657+old_CC="$CC"
37658+old_CFLAGS="$CFLAGS"
37659+
37660+# Set sane defaults for various variables
37661+test -z "$CC" && CC=cc
37662+test -z "$LTCC" && LTCC=$CC
37663+test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
37664+test -z "$LD" && LD=ld
37665+test -z "$ac_objext" && ac_objext=o
37666+
37667+for cc_temp in $compiler""; do
37668+  case $cc_temp in
37669+    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
37670+    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
37671+    \-*) ;;
37672+    *) break;;
37673+  esac
37674+done
37675+cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
37676+
37677+
37678+# Only perform the check for file, if the check method requires it
37679+test -z "$MAGIC_CMD" && MAGIC_CMD=file
37680+case $deplibs_check_method in
37681+file_magic*)
37682+  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
37683+    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
37684+$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
37685+if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
37686+  $as_echo_n "(cached) " >&6
37687+else
37688+  case $MAGIC_CMD in
37689+[\\/*] |  ?:[\\/]*)
37690+  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
37691+  ;;
37692+*)
37693+  lt_save_MAGIC_CMD="$MAGIC_CMD"
37694+  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
37695+  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
37696+  for ac_dir in $ac_dummy; do
37697+    IFS="$lt_save_ifs"
37698+    test -z "$ac_dir" && ac_dir=.
37699+    if test -f $ac_dir/${ac_tool_prefix}file; then
37700+      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
37701+      if test -n "$file_magic_test_file"; then
37702+	case $deplibs_check_method in
37703+	"file_magic "*)
37704+	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
37705+	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
37706+	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
37707+	    $EGREP "$file_magic_regex" > /dev/null; then
37708+	    :
37709+	  else
37710+	    cat <<_LT_EOF 1>&2
37711+
37712+*** Warning: the command libtool uses to detect shared libraries,
37713+*** $file_magic_cmd, produces output that libtool cannot recognize.
37714+*** The result is that libtool may fail to recognize shared libraries
37715+*** as such.  This will affect the creation of libtool libraries that
37716+*** depend on shared libraries, but programs linked with such libtool
37717+*** libraries will work regardless of this problem.  Nevertheless, you
37718+*** may want to report the problem to your system manager and/or to
37719+*** bug-libtool@gnu.org
37720+
37721+_LT_EOF
37722+	  fi ;;
37723+	esac
37724+      fi
37725+      break
37726+    fi
37727+  done
37728+  IFS="$lt_save_ifs"
37729+  MAGIC_CMD="$lt_save_MAGIC_CMD"
37730+  ;;
37731+esac
37732+fi
37733+
37734+MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
37735+if test -n "$MAGIC_CMD"; then
37736+  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
37737+$as_echo "$MAGIC_CMD" >&6; }
37738+else
37739+  { $as_echo "$as_me:$LINENO: result: no" >&5
37740+$as_echo "no" >&6; }
37741+fi
37742+
37743+
37744+
37745+
37746+
37747+if test -z "$lt_cv_path_MAGIC_CMD"; then
37748+  if test -n "$ac_tool_prefix"; then
37749+    { $as_echo "$as_me:$LINENO: checking for file" >&5
37750+$as_echo_n "checking for file... " >&6; }
37751+if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
37752+  $as_echo_n "(cached) " >&6
37753+else
37754+  case $MAGIC_CMD in
37755+[\\/*] |  ?:[\\/]*)
37756+  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
37757+  ;;
37758+*)
37759+  lt_save_MAGIC_CMD="$MAGIC_CMD"
37760+  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
37761+  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
37762+  for ac_dir in $ac_dummy; do
37763+    IFS="$lt_save_ifs"
37764+    test -z "$ac_dir" && ac_dir=.
37765+    if test -f $ac_dir/file; then
37766+      lt_cv_path_MAGIC_CMD="$ac_dir/file"
37767+      if test -n "$file_magic_test_file"; then
37768+	case $deplibs_check_method in
37769+	"file_magic "*)
37770+	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
37771+	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
37772+	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
37773+	    $EGREP "$file_magic_regex" > /dev/null; then
37774+	    :
37775+	  else
37776+	    cat <<_LT_EOF 1>&2
37777+
37778+*** Warning: the command libtool uses to detect shared libraries,
37779+*** $file_magic_cmd, produces output that libtool cannot recognize.
37780+*** The result is that libtool may fail to recognize shared libraries
37781+*** as such.  This will affect the creation of libtool libraries that
37782+*** depend on shared libraries, but programs linked with such libtool
37783+*** libraries will work regardless of this problem.  Nevertheless, you
37784+*** may want to report the problem to your system manager and/or to
37785+*** bug-libtool@gnu.org
37786+
37787+_LT_EOF
37788+	  fi ;;
37789+	esac
37790+      fi
37791+      break
37792+    fi
37793+  done
37794+  IFS="$lt_save_ifs"
37795+  MAGIC_CMD="$lt_save_MAGIC_CMD"
37796+  ;;
37797+esac
37798+fi
37799+
37800+MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
37801+if test -n "$MAGIC_CMD"; then
37802+  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
37803+$as_echo "$MAGIC_CMD" >&6; }
37804+else
37805+  { $as_echo "$as_me:$LINENO: result: no" >&5
37806+$as_echo "no" >&6; }
37807+fi
37808+
37809+
37810+  else
37811+    MAGIC_CMD=:
37812+  fi
37813+fi
37814+
37815+  fi
37816+  ;;
37817+esac
37818+
37819+# Use C for the default configuration in the libtool script
37820+
37821+lt_save_CC="$CC"
37822+ac_ext=c
37823+ac_cpp='$CPP $CPPFLAGS'
37824+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37825+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37826+ac_compiler_gnu=$ac_cv_c_compiler_gnu
37827+
37828+
37829+# Source file extension for C test sources.
37830+ac_ext=c
37831+
37832+# Object file extension for compiled C test sources.
37833+objext=o
37834+objext=$objext
37835+
37836+# Code to be used in simple compile tests
37837+lt_simple_compile_test_code="int some_variable = 0;"
37838+
37839+# Code to be used in simple link tests
37840+lt_simple_link_test_code='int main(){return(0);}'
37841+
37842+
37843+
37844+
37845+
37846+
37847+
37848+# If no C compiler was specified, use CC.
37849+LTCC=${LTCC-"$CC"}
37850+
37851+# If no C compiler flags were specified, use CFLAGS.
37852+LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
37853+
37854+# Allow CC to be a program name with arguments.
37855+compiler=$CC
37856+
37857+# Save the default compiler, since it gets overwritten when the other
37858+# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
37859+compiler_DEFAULT=$CC
37860+
37861+# save warnings/boilerplate of simple test code
37862+ac_outfile=conftest.$ac_objext
37863+echo "$lt_simple_compile_test_code" >conftest.$ac_ext
37864+eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
37865+_lt_compiler_boilerplate=`cat conftest.err`
37866+$RM conftest*
37867+
37868+ac_outfile=conftest.$ac_objext
37869+echo "$lt_simple_link_test_code" >conftest.$ac_ext
37870+eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
37871+_lt_linker_boilerplate=`cat conftest.err`
37872+$RM -r conftest*
37873+
37874+
37875+## CAVEAT EMPTOR:
37876+## There is no encapsulation within the following macros, do not change
37877+## the running order or otherwise move them around unless you know exactly
37878+## what you are doing...
37879+if test -n "$compiler"; then
37880+
37881+lt_prog_compiler_no_builtin_flag=
37882+
37883+if test "$GCC" = yes; then
37884+  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
37885+
37886+  { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
37887+$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
37888+if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
37889+  $as_echo_n "(cached) " >&6
37890+else
37891+  lt_cv_prog_compiler_rtti_exceptions=no
37892+   ac_outfile=conftest.$ac_objext
37893+   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
37894+   lt_compiler_flag="-fno-rtti -fno-exceptions"
37895+   # Insert the option either (1) after the last *FLAGS variable, or
37896+   # (2) before a word containing "conftest.", or (3) at the end.
37897+   # Note that $ac_compile itself does not contain backslashes and begins
37898+   # with a dollar sign (not a hyphen), so the echo should work correctly.
37899+   # The option is referenced via a variable to avoid confusing sed.
37900+   lt_compile=`echo "$ac_compile" | $SED \
37901+   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
37902+   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
37903+   -e 's:$: $lt_compiler_flag:'`
37904+   (eval echo "\"\$as_me:7517: $lt_compile\"" >&5)
37905+   (eval "$lt_compile" 2>conftest.err)
37906+   ac_status=$?
37907+   cat conftest.err >&5
37908+   echo "$as_me:7521: \$? = $ac_status" >&5
37909+   if (exit $ac_status) && test -s "$ac_outfile"; then
37910+     # The compiler can only warn and ignore the option if not recognized
37911+     # So say no if there are warnings other than the usual output.
37912+     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
37913+     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
37914+     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
37915+       lt_cv_prog_compiler_rtti_exceptions=yes
37916+     fi
37917+   fi
37918+   $RM conftest*
37919+
37920+fi
37921+{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
37922+$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
37923+
37924+if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
37925+    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
37926+else
37927+    :
37928+fi
37929+
37930+fi
37931+
37932+
37933+
37934+
37935+
37936+
37937+  lt_prog_compiler_wl=
37938+lt_prog_compiler_pic=
37939+lt_prog_compiler_static=
37940+
37941+{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
37942+$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
37943+
37944+  if test "$GCC" = yes; then
37945+    lt_prog_compiler_wl='-Wl,'
37946+    lt_prog_compiler_static='-static'
37947+
37948+    case $host_os in
37949+      aix*)
37950+      # All AIX code is PIC.
37951+      if test "$host_cpu" = ia64; then
37952+	# AIX 5 now supports IA64 processor
37953+	lt_prog_compiler_static='-Bstatic'
37954+      fi
37955+      ;;
37956+
37957+    amigaos*)
37958+      case $host_cpu in
37959+      powerpc)
37960+            # see comment about AmigaOS4 .so support
37961+            lt_prog_compiler_pic='-fPIC'
37962+        ;;
37963+      m68k)
37964+            # FIXME: we need at least 68020 code to build shared libraries, but
37965+            # adding the `-m68020' flag to GCC prevents building anything better,
37966+            # like `-m68040'.
37967+            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
37968+        ;;
37969+      esac
37970+      ;;
37971+
37972+    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
37973+      # PIC is the default for these OSes.
37974+      ;;
37975+
37976+    mingw* | cygwin* | pw32* | os2* | cegcc*)
37977+      # This hack is so that the source file can tell whether it is being
37978+      # built for inclusion in a dll (and should export symbols for example).
37979+      # Although the cygwin gcc ignores -fPIC, still need this for old-style
37980+      # (--disable-auto-import) libraries
37981+      lt_prog_compiler_pic='-DDLL_EXPORT'
37982+      ;;
37983+
37984+    darwin* | rhapsody*)
37985+      # PIC is the default on this platform
37986+      # Common symbols not allowed in MH_DYLIB files
37987+      lt_prog_compiler_pic='-fno-common'
37988+      ;;
37989+
37990+    hpux*)
37991+      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
37992+      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
37993+      # sets the default TLS model and affects inlining.
37994+      case $host_cpu in
37995+      hppa*64*)
37996+	# +Z the default
37997+	;;
37998+      *)
37999+	lt_prog_compiler_pic='-fPIC'
38000+	;;
38001+      esac
38002+      ;;
38003+
38004+    interix[3-9]*)
38005+      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
38006+      # Instead, we relocate shared libraries at runtime.
38007+      ;;
38008+
38009+    msdosdjgpp*)
38010+      # Just because we use GCC doesn't mean we suddenly get shared libraries
38011+      # on systems that don't support them.
38012+      lt_prog_compiler_can_build_shared=no
38013+      enable_shared=no
38014+      ;;
38015+
38016+    *nto* | *qnx*)
38017+      # QNX uses GNU C++, but need to define -shared option too, otherwise
38018+      # it will coredump.
38019+      lt_prog_compiler_pic='-fPIC -shared'
38020+      ;;
38021+
38022+    sysv4*MP*)
38023+      if test -d /usr/nec; then
38024+	lt_prog_compiler_pic=-Kconform_pic
38025+      fi
38026+      ;;
38027+
38028+    *)
38029+      lt_prog_compiler_pic='-fPIC'
38030+      ;;
38031+    esac
38032+  else
38033+    # PORTME Check for flag to pass linker flags through the system compiler.
38034+    case $host_os in
38035+    aix*)
38036+      lt_prog_compiler_wl='-Wl,'
38037+      if test "$host_cpu" = ia64; then
38038+	# AIX 5 now supports IA64 processor
38039+	lt_prog_compiler_static='-Bstatic'
38040+      else
38041+	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
38042+      fi
38043+      ;;
38044+
38045+    mingw* | cygwin* | pw32* | os2* | cegcc*)
38046+      # This hack is so that the source file can tell whether it is being
38047+      # built for inclusion in a dll (and should export symbols for example).
38048+      lt_prog_compiler_pic='-DDLL_EXPORT'
38049+      ;;
38050+
38051+    hpux9* | hpux10* | hpux11*)
38052+      lt_prog_compiler_wl='-Wl,'
38053+      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
38054+      # not for PA HP-UX.
38055+      case $host_cpu in
38056+      hppa*64*|ia64*)
38057+	# +Z the default
38058+	;;
38059+      *)
38060+	lt_prog_compiler_pic='+Z'
38061+	;;
38062+      esac
38063+      # Is there a better lt_prog_compiler_static that works with the bundled CC?
38064+      lt_prog_compiler_static='${wl}-a ${wl}archive'
38065+      ;;
38066+
38067+    irix5* | irix6* | nonstopux*)
38068+      lt_prog_compiler_wl='-Wl,'
38069+      # PIC (with -KPIC) is the default.
38070+      lt_prog_compiler_static='-non_shared'
38071+      ;;
38072+
38073+    linux* | k*bsd*-gnu)
38074+      case $cc_basename in
38075+      # old Intel for x86_64 which still supported -KPIC.
38076+      ecc*)
38077+	lt_prog_compiler_wl='-Wl,'
38078+	lt_prog_compiler_pic='-KPIC'
38079+	lt_prog_compiler_static='-static'
38080+        ;;
38081+      # icc used to be incompatible with GCC.
38082+      # ICC 10 doesn't accept -KPIC any more.
38083+      icc* | ifort*)
38084+	lt_prog_compiler_wl='-Wl,'
38085+	lt_prog_compiler_pic='-fPIC'
38086+	lt_prog_compiler_static='-static'
38087+        ;;
38088+      # Lahey Fortran 8.1.
38089+      lf95*)
38090+	lt_prog_compiler_wl='-Wl,'
38091+	lt_prog_compiler_pic='--shared'
38092+	lt_prog_compiler_static='--static'
38093+	;;
38094+      pgcc* | pgf77* | pgf90* | pgf95*)
38095+        # Portland Group compilers (*not* the Pentium gcc compiler,
38096+	# which looks to be a dead project)
38097+	lt_prog_compiler_wl='-Wl,'
38098+	lt_prog_compiler_pic='-fpic'
38099+	lt_prog_compiler_static='-Bstatic'
38100+        ;;
38101+      ccc*)
38102+        lt_prog_compiler_wl='-Wl,'
38103+        # All Alpha code is PIC.
38104+        lt_prog_compiler_static='-non_shared'
38105+        ;;
38106+      xl*)
38107+	# IBM XL C 8.0/Fortran 10.1 on PPC
38108+	lt_prog_compiler_wl='-Wl,'
38109+	lt_prog_compiler_pic='-qpic'
38110+	lt_prog_compiler_static='-qstaticlink'
38111+	;;
38112+      *)
38113+	case `$CC -V 2>&1 | sed 5q` in
38114+	*Sun\ C*)
38115+	  # Sun C 5.9
38116+	  lt_prog_compiler_pic='-KPIC'
38117+	  lt_prog_compiler_static='-Bstatic'
38118+	  lt_prog_compiler_wl='-Wl,'
38119+	  ;;
38120+	*Sun\ F*)
38121+	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
38122+	  lt_prog_compiler_pic='-KPIC'
38123+	  lt_prog_compiler_static='-Bstatic'
38124+	  lt_prog_compiler_wl=''
38125+	  ;;
38126+	esac
38127+	;;
38128+      esac
38129+      ;;
38130+
38131+    newsos6)
38132+      lt_prog_compiler_pic='-KPIC'
38133+      lt_prog_compiler_static='-Bstatic'
38134+      ;;
38135+
38136+    *nto* | *qnx*)
38137+      # QNX uses GNU C++, but need to define -shared option too, otherwise
38138+      # it will coredump.
38139+      lt_prog_compiler_pic='-fPIC -shared'
38140+      ;;
38141+
38142+    osf3* | osf4* | osf5*)
38143+      lt_prog_compiler_wl='-Wl,'
38144+      # All OSF/1 code is PIC.
38145+      lt_prog_compiler_static='-non_shared'
38146+      ;;
38147+
38148+    rdos*)
38149+      lt_prog_compiler_static='-non_shared'
38150+      ;;
38151+
38152+    solaris*)
38153+      lt_prog_compiler_pic='-KPIC'
38154+      lt_prog_compiler_static='-Bstatic'
38155+      case $cc_basename in
38156+      f77* | f90* | f95*)
38157+	lt_prog_compiler_wl='-Qoption ld ';;
38158+      *)
38159+	lt_prog_compiler_wl='-Wl,';;
38160+      esac
38161+      ;;
38162+
38163+    sunos4*)
38164+      lt_prog_compiler_wl='-Qoption ld '
38165+      lt_prog_compiler_pic='-PIC'
38166+      lt_prog_compiler_static='-Bstatic'
38167+      ;;
38168+
38169+    sysv4 | sysv4.2uw2* | sysv4.3*)
38170+      lt_prog_compiler_wl='-Wl,'
38171+      lt_prog_compiler_pic='-KPIC'
38172+      lt_prog_compiler_static='-Bstatic'
38173+      ;;
38174+
38175+    sysv4*MP*)
38176+      if test -d /usr/nec ;then
38177+	lt_prog_compiler_pic='-Kconform_pic'
38178+	lt_prog_compiler_static='-Bstatic'
38179+      fi
38180+      ;;
38181+
38182+    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
38183+      lt_prog_compiler_wl='-Wl,'
38184+      lt_prog_compiler_pic='-KPIC'
38185+      lt_prog_compiler_static='-Bstatic'
38186+      ;;
38187+
38188+    unicos*)
38189+      lt_prog_compiler_wl='-Wl,'
38190+      lt_prog_compiler_can_build_shared=no
38191+      ;;
38192+
38193+    uts4*)
38194+      lt_prog_compiler_pic='-pic'
38195+      lt_prog_compiler_static='-Bstatic'
38196+      ;;
38197+
38198+    *)
38199+      lt_prog_compiler_can_build_shared=no
38200+      ;;
38201+    esac
38202+  fi
38203+
38204+case $host_os in
38205+  # For platforms which do not support PIC, -DPIC is meaningless:
38206+  *djgpp*)
38207+    lt_prog_compiler_pic=
38208+    ;;
38209+  *)
38210+    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
38211+    ;;
38212+esac
38213+{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
38214+$as_echo "$lt_prog_compiler_pic" >&6; }
38215+
38216+
38217+
38218+
38219+
38220+
38221+#
38222+# Check to make sure the PIC flag actually works.
38223+#
38224+if test -n "$lt_prog_compiler_pic"; then
38225+  { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
38226+$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
38227+if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
38228+  $as_echo_n "(cached) " >&6
38229+else
38230+  lt_cv_prog_compiler_pic_works=no
38231+   ac_outfile=conftest.$ac_objext
38232+   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
38233+   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
38234+   # Insert the option either (1) after the last *FLAGS variable, or
38235+   # (2) before a word containing "conftest.", or (3) at the end.
38236+   # Note that $ac_compile itself does not contain backslashes and begins
38237+   # with a dollar sign (not a hyphen), so the echo should work correctly.
38238+   # The option is referenced via a variable to avoid confusing sed.
38239+   lt_compile=`echo "$ac_compile" | $SED \
38240+   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
38241+   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
38242+   -e 's:$: $lt_compiler_flag:'`
38243+   (eval echo "\"\$as_me:7856: $lt_compile\"" >&5)
38244+   (eval "$lt_compile" 2>conftest.err)
38245+   ac_status=$?
38246+   cat conftest.err >&5
38247+   echo "$as_me:7860: \$? = $ac_status" >&5
38248+   if (exit $ac_status) && test -s "$ac_outfile"; then
38249+     # The compiler can only warn and ignore the option if not recognized
38250+     # So say no if there are warnings other than the usual output.
38251+     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
38252+     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
38253+     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
38254+       lt_cv_prog_compiler_pic_works=yes
38255+     fi
38256+   fi
38257+   $RM conftest*
38258+
38259+fi
38260+{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
38261+$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
38262+
38263+if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
38264+    case $lt_prog_compiler_pic in
38265+     "" | " "*) ;;
38266+     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
38267+     esac
38268+else
38269+    lt_prog_compiler_pic=
38270+     lt_prog_compiler_can_build_shared=no
38271+fi
38272+
38273+fi
38274+
38275+
38276+
38277+
38278+
38279+
38280+#
38281+# Check to make sure the static flag actually works.
38282+#
38283+wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
38284+{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
38285+$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
38286+if test "${lt_cv_prog_compiler_static_works+set}" = set; then
38287+  $as_echo_n "(cached) " >&6
38288+else
38289+  lt_cv_prog_compiler_static_works=no
38290+   save_LDFLAGS="$LDFLAGS"
38291+   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
38292+   echo "$lt_simple_link_test_code" > conftest.$ac_ext
38293+   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
38294+     # The linker can only warn and ignore the option if not recognized
38295+     # So say no if there are warnings
38296+     if test -s conftest.err; then
38297+       # Append any errors to the config.log.
38298+       cat conftest.err 1>&5
38299+       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
38300+       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
38301+       if diff conftest.exp conftest.er2 >/dev/null; then
38302+         lt_cv_prog_compiler_static_works=yes
38303+       fi
38304+     else
38305+       lt_cv_prog_compiler_static_works=yes
38306+     fi
38307+   fi
38308+   $RM -r conftest*
38309+   LDFLAGS="$save_LDFLAGS"
38310+
38311+fi
38312+{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
38313+$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
38314+
38315+if test x"$lt_cv_prog_compiler_static_works" = xyes; then
38316+    :
38317+else
38318+    lt_prog_compiler_static=
38319+fi
38320+
38321+
38322+
38323+
38324+
38325+
38326+
38327+  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
38328+$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
38329+if test "${lt_cv_prog_compiler_c_o+set}" = set; then
38330+  $as_echo_n "(cached) " >&6
38331+else
38332+  lt_cv_prog_compiler_c_o=no
38333+   $RM -r conftest 2>/dev/null
38334+   mkdir conftest
38335+   cd conftest
38336+   mkdir out
38337+   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
38338+
38339+   lt_compiler_flag="-o out/conftest2.$ac_objext"
38340+   # Insert the option either (1) after the last *FLAGS variable, or
38341+   # (2) before a word containing "conftest.", or (3) at the end.
38342+   # Note that $ac_compile itself does not contain backslashes and begins
38343+   # with a dollar sign (not a hyphen), so the echo should work correctly.
38344+   lt_compile=`echo "$ac_compile" | $SED \
38345+   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
38346+   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
38347+   -e 's:$: $lt_compiler_flag:'`
38348+   (eval echo "\"\$as_me:7961: $lt_compile\"" >&5)
38349+   (eval "$lt_compile" 2>out/conftest.err)
38350+   ac_status=$?
38351+   cat out/conftest.err >&5
38352+   echo "$as_me:7965: \$? = $ac_status" >&5
38353+   if (exit $ac_status) && test -s out/conftest2.$ac_objext
38354+   then
38355+     # The compiler can only warn and ignore the option if not recognized
38356+     # So say no if there are warnings
38357+     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
38358+     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
38359+     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
38360+       lt_cv_prog_compiler_c_o=yes
38361+     fi
38362+   fi
38363+   chmod u+w . 2>&5
38364+   $RM conftest*
38365+   # SGI C++ compiler will create directory out/ii_files/ for
38366+   # template instantiation
38367+   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
38368+   $RM out/* && rmdir out
38369+   cd ..
38370+   $RM -r conftest
38371+   $RM conftest*
38372+
38373+fi
38374+{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
38375+$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
38376+
38377+
38378+
38379+
38380+
38381+
38382+  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
38383+$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
38384+if test "${lt_cv_prog_compiler_c_o+set}" = set; then
38385+  $as_echo_n "(cached) " >&6
38386+else
38387+  lt_cv_prog_compiler_c_o=no
38388+   $RM -r conftest 2>/dev/null
38389+   mkdir conftest
38390+   cd conftest
38391+   mkdir out
38392+   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
38393+
38394+   lt_compiler_flag="-o out/conftest2.$ac_objext"
38395+   # Insert the option either (1) after the last *FLAGS variable, or
38396+   # (2) before a word containing "conftest.", or (3) at the end.
38397+   # Note that $ac_compile itself does not contain backslashes and begins
38398+   # with a dollar sign (not a hyphen), so the echo should work correctly.
38399+   lt_compile=`echo "$ac_compile" | $SED \
38400+   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
38401+   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
38402+   -e 's:$: $lt_compiler_flag:'`
38403+   (eval echo "\"\$as_me:8016: $lt_compile\"" >&5)
38404+   (eval "$lt_compile" 2>out/conftest.err)
38405+   ac_status=$?
38406+   cat out/conftest.err >&5
38407+   echo "$as_me:8020: \$? = $ac_status" >&5
38408+   if (exit $ac_status) && test -s out/conftest2.$ac_objext
38409+   then
38410+     # The compiler can only warn and ignore the option if not recognized
38411+     # So say no if there are warnings
38412+     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
38413+     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
38414+     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
38415+       lt_cv_prog_compiler_c_o=yes
38416+     fi
38417+   fi
38418+   chmod u+w . 2>&5
38419+   $RM conftest*
38420+   # SGI C++ compiler will create directory out/ii_files/ for
38421+   # template instantiation
38422+   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
38423+   $RM out/* && rmdir out
38424+   cd ..
38425+   $RM -r conftest
38426+   $RM conftest*
38427+
38428+fi
38429+{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
38430+$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
38431+
38432+
38433+
38434+
38435+hard_links="nottested"
38436+if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
38437+  # do not overwrite the value of need_locks provided by the user
38438+  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
38439+$as_echo_n "checking if we can lock with hard links... " >&6; }
38440+  hard_links=yes
38441+  $RM conftest*
38442+  ln conftest.a conftest.b 2>/dev/null && hard_links=no
38443+  touch conftest.a
38444+  ln conftest.a conftest.b 2>&5 || hard_links=no
38445+  ln conftest.a conftest.b 2>/dev/null && hard_links=no
38446+  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
38447+$as_echo "$hard_links" >&6; }
38448+  if test "$hard_links" = no; then
38449+    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
38450+$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
38451+    need_locks=warn
38452+  fi
38453+else
38454+  need_locks=no
38455+fi
38456+
38457+
38458+
38459+
38460+
38461+
38462+  { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
38463+$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
38464+
38465+  runpath_var=
38466+  allow_undefined_flag=
38467+  always_export_symbols=no
38468+  archive_cmds=
38469+  archive_expsym_cmds=
38470+  compiler_needs_object=no
38471+  enable_shared_with_static_runtimes=no
38472+  export_dynamic_flag_spec=
38473+  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
38474+  hardcode_automatic=no
38475+  hardcode_direct=no
38476+  hardcode_direct_absolute=no
38477+  hardcode_libdir_flag_spec=
38478+  hardcode_libdir_flag_spec_ld=
38479+  hardcode_libdir_separator=
38480+  hardcode_minus_L=no
38481+  hardcode_shlibpath_var=unsupported
38482+  inherit_rpath=no
38483+  link_all_deplibs=unknown
38484+  module_cmds=
38485+  module_expsym_cmds=
38486+  old_archive_from_new_cmds=
38487+  old_archive_from_expsyms_cmds=
38488+  thread_safe_flag_spec=
38489+  whole_archive_flag_spec=
38490+  # include_expsyms should be a list of space-separated symbols to be *always*
38491+  # included in the symbol list
38492+  include_expsyms=
38493+  # exclude_expsyms can be an extended regexp of symbols to exclude
38494+  # it will be wrapped by ` (' and `)$', so one must not match beginning or
38495+  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
38496+  # as well as any symbol that contains `d'.
38497+  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
38498+  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
38499+  # platforms (ab)use it in PIC code, but their linkers get confused if
38500+  # the symbol is explicitly referenced.  Since portable code cannot
38501+  # rely on this symbol name, it's probably fine to never include it in
38502+  # preloaded symbol tables.
38503+  # Exclude shared library initialization/finalization symbols.
38504+  extract_expsyms_cmds=
38505+
38506+  case $host_os in
38507+  cygwin* | mingw* | pw32* | cegcc*)
38508+    # FIXME: the MSVC++ port hasn't been tested in a loooong time
38509+    # When not using gcc, we currently assume that we are using
38510+    # Microsoft Visual C++.
38511+    if test "$GCC" != yes; then
38512+      with_gnu_ld=no
38513+    fi
38514+    ;;
38515+  interix*)
38516+    # we just hope/assume this is gcc and not c89 (= MSVC++)
38517+    with_gnu_ld=yes
38518+    ;;
38519+  openbsd*)
38520+    with_gnu_ld=no
38521+    ;;
38522+  esac
38523+
38524+  ld_shlibs=yes
38525+  if test "$with_gnu_ld" = yes; then
38526+    # If archive_cmds runs LD, not CC, wlarc should be empty
38527+    wlarc='${wl}'
38528+
38529+    # Set some defaults for GNU ld with shared library support. These
38530+    # are reset later if shared libraries are not supported. Putting them
38531+    # here allows them to be overridden if necessary.
38532+    runpath_var=LD_RUN_PATH
38533+    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
38534+    export_dynamic_flag_spec='${wl}--export-dynamic'
38535+    # ancient GNU ld didn't support --whole-archive et. al.
38536+    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
38537+      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
38538+    else
38539+      whole_archive_flag_spec=
38540+    fi
38541+    supports_anon_versioning=no
38542+    case `$LD -v 2>&1` in
38543+      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
38544+      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
38545+      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
38546+      *\ 2.11.*) ;; # other 2.11 versions
38547+      *) supports_anon_versioning=yes ;;
38548+    esac
38549+
38550+    # See if GNU ld supports shared libraries.
38551+    case $host_os in
38552+    aix[3-9]*)
38553+      # On AIX/PPC, the GNU linker is very broken
38554+      if test "$host_cpu" != ia64; then
38555+	ld_shlibs=no
38556+	cat <<_LT_EOF 1>&2
38557+
38558+*** Warning: the GNU linker, at least up to release 2.9.1, is reported
38559+*** to be unable to reliably create shared libraries on AIX.
38560+*** Therefore, libtool is disabling shared libraries support.  If you
38561+*** really care for shared libraries, you may want to modify your PATH
38562+*** so that a non-GNU linker is found, and then restart.
38563+
38564+_LT_EOF
38565+      fi
38566+      ;;
38567+
38568+    amigaos*)
38569+      case $host_cpu in
38570+      powerpc)
38571+            # see comment about AmigaOS4 .so support
38572+            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
38573+            archive_expsym_cmds=''
38574+        ;;
38575+      m68k)
38576+            archive_cmds='$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)'
38577+            hardcode_libdir_flag_spec='-L$libdir'
38578+            hardcode_minus_L=yes
38579+        ;;
38580+      esac
38581+      ;;
38582+
38583+    beos*)
38584+      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
38585+	allow_undefined_flag=unsupported
38586+	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
38587+	# support --undefined.  This deserves some investigation.  FIXME
38588+	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
38589+      else
38590+	ld_shlibs=no
38591+      fi
38592+      ;;
38593+
38594+    cygwin* | mingw* | pw32* | cegcc*)
38595+      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
38596+      # as there is no search path for DLLs.
38597+      hardcode_libdir_flag_spec='-L$libdir'
38598+      allow_undefined_flag=unsupported
38599+      always_export_symbols=no
38600+      enable_shared_with_static_runtimes=yes
38601+      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
38602+
38603+      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
38604+        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
38605+	# If the export-symbols file already is a .def file (1st line
38606+	# is EXPORTS), use it as is; otherwise, prepend...
38607+	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
38608+	  cp $export_symbols $output_objdir/$soname.def;
38609+	else
38610+	  echo EXPORTS > $output_objdir/$soname.def;
38611+	  cat $export_symbols >> $output_objdir/$soname.def;
38612+	fi~
38613+	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
38614+      else
38615+	ld_shlibs=no
38616+      fi
38617+      ;;
38618+
38619+    interix[3-9]*)
38620+      hardcode_direct=no
38621+      hardcode_shlibpath_var=no
38622+      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
38623+      export_dynamic_flag_spec='${wl}-E'
38624+      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
38625+      # Instead, shared libraries are loaded at an image base (0x10000000 by
38626+      # default) and relocated if they conflict, which is a slow very memory
38627+      # consuming and fragmenting process.  To avoid this, we pick a random,
38628+      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
38629+      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
38630+      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
38631+      archive_expsym_cmds='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'
38632+      ;;
38633+
38634+    gnu* | linux* | tpf* | k*bsd*-gnu)
38635+      tmp_diet=no
38636+      if test "$host_os" = linux-dietlibc; then
38637+	case $cc_basename in
38638+	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
38639+	esac
38640+      fi
38641+      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
38642+	 && test "$tmp_diet" = no
38643+      then
38644+	tmp_addflag=
38645+	tmp_sharedflag='-shared'
38646+	case $cc_basename,$host_cpu in
38647+        pgcc*)				# Portland Group C compiler
38648+	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
38649+	  tmp_addflag=' $pic_flag'
38650+	  ;;
38651+	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
38652+	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
38653+	  tmp_addflag=' $pic_flag -Mnomain' ;;
38654+	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
38655+	  tmp_addflag=' -i_dynamic' ;;
38656+	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
38657+	  tmp_addflag=' -i_dynamic -nofor_main' ;;
38658+	ifc* | ifort*)			# Intel Fortran compiler
38659+	  tmp_addflag=' -nofor_main' ;;
38660+	lf95*)				# Lahey Fortran 8.1
38661+	  whole_archive_flag_spec=
38662+	  tmp_sharedflag='--shared' ;;
38663+	xl[cC]*)			# IBM XL C 8.0 on PPC (deal with xlf below)
38664+	  tmp_sharedflag='-qmkshrobj'
38665+	  tmp_addflag= ;;
38666+	esac
38667+	case `$CC -V 2>&1 | sed 5q` in
38668+	*Sun\ C*)			# Sun C 5.9
38669+	  whole_archive_flag_spec='${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'
38670+	  compiler_needs_object=yes
38671+	  tmp_sharedflag='-G' ;;
38672+	*Sun\ F*)			# Sun Fortran 8.3
38673+	  tmp_sharedflag='-G' ;;
38674+	esac
38675+	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
38676+
38677+        if test "x$supports_anon_versioning" = xyes; then
38678+          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
38679+	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
38680+	    echo "local: *; };" >> $output_objdir/$libname.ver~
38681+	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
38682+        fi
38683+
38684+	case $cc_basename in
38685+	xlf*)
38686+	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
38687+	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
38688+	  hardcode_libdir_flag_spec=
38689+	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
38690+	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
38691+	  if test "x$supports_anon_versioning" = xyes; then
38692+	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
38693+	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
38694+	      echo "local: *; };" >> $output_objdir/$libname.ver~
38695+	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
38696+	  fi
38697+	  ;;
38698+	esac
38699+      else
38700+        ld_shlibs=no
38701+      fi
38702+      ;;
38703+
38704+    netbsd*)
38705+      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
38706+	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
38707+	wlarc=
38708+      else
38709+	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
38710+	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
38711+      fi
38712+      ;;
38713+
38714+    solaris*)
38715+      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
38716+	ld_shlibs=no
38717+	cat <<_LT_EOF 1>&2
38718+
38719+*** Warning: The releases 2.8.* of the GNU linker cannot reliably
38720+*** create shared libraries on Solaris systems.  Therefore, libtool
38721+*** is disabling shared libraries support.  We urge you to upgrade GNU
38722+*** binutils to release 2.9.1 or newer.  Another option is to modify
38723+*** your PATH or compiler configuration so that the native linker is
38724+*** used, and then restart.
38725+
38726+_LT_EOF
38727+      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
38728+	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
38729+	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
38730+      else
38731+	ld_shlibs=no
38732+      fi
38733+      ;;
38734+
38735+    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
38736+      case `$LD -v 2>&1` in
38737+        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
38738+	ld_shlibs=no
38739+	cat <<_LT_EOF 1>&2
38740+
38741+*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
38742+*** reliably create shared libraries on SCO systems.  Therefore, libtool
38743+*** is disabling shared libraries support.  We urge you to upgrade GNU
38744+*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
38745+*** your PATH or compiler configuration so that the native linker is
38746+*** used, and then restart.
38747+
38748+_LT_EOF
38749+	;;
38750+	*)
38751+	  # For security reasons, it is highly recommended that you always
38752+	  # use absolute paths for naming shared libraries, and exclude the
38753+	  # DT_RUNPATH tag from executables and libraries.  But doing so
38754+	  # requires that you compile everything twice, which is a pain.
38755+	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
38756+	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
38757+	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
38758+	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
38759+	  else
38760+	    ld_shlibs=no
38761+	  fi
38762+	;;
38763+      esac
38764+      ;;
38765+
38766+    sunos4*)
38767+      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
38768+      wlarc=
38769+      hardcode_direct=yes
38770+      hardcode_shlibpath_var=no
38771+      ;;
38772+
38773+    *)
38774+      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
38775+	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
38776+	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
38777+      else
38778+	ld_shlibs=no
38779+      fi
38780+      ;;
38781+    esac
38782+
38783+    if test "$ld_shlibs" = no; then
38784+      runpath_var=
38785+      hardcode_libdir_flag_spec=
38786+      export_dynamic_flag_spec=
38787+      whole_archive_flag_spec=
38788+    fi
38789+  else
38790+    # PORTME fill in a description of your system's linker (not GNU ld)
38791+    case $host_os in
38792+    aix3*)
38793+      allow_undefined_flag=unsupported
38794+      always_export_symbols=yes
38795+      archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
38796+      # Note: this linker hardcodes the directories in LIBPATH if there
38797+      # are no directories specified by -L.
38798+      hardcode_minus_L=yes
38799+      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
38800+	# Neither direct hardcoding nor static linking is supported with a
38801+	# broken collect2.
38802+	hardcode_direct=unsupported
38803+      fi
38804+      ;;
38805+
38806+    aix[4-9]*)
38807+      if test "$host_cpu" = ia64; then
38808+	# On IA64, the linker does run time linking by default, so we don't
38809+	# have to do anything special.
38810+	aix_use_runtimelinking=no
38811+	exp_sym_flag='-Bexport'
38812+	no_entry_flag=""
38813+      else
38814+	# If we're using GNU nm, then we don't want the "-C" option.
38815+	# -C means demangle to AIX nm, but means don't demangle with GNU nm
38816+	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
38817+	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
38818+	else
38819+	  export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
38820+	fi
38821+	aix_use_runtimelinking=no
38822+
38823+	# Test if we are trying to use run time linking or normal
38824+	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
38825+	# need to do runtime linking.
38826+	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
38827+	  for ld_flag in $LDFLAGS; do
38828+	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
38829+	    aix_use_runtimelinking=yes
38830+	    break
38831+	  fi
38832+	  done
38833+	  ;;
38834+	esac
38835+
38836+	exp_sym_flag='-bexport'
38837+	no_entry_flag='-bnoentry'
38838+      fi
38839+
38840+      # When large executables or shared objects are built, AIX ld can
38841+      # have problems creating the table of contents.  If linking a library
38842+      # or program results in "error TOC overflow" add -mminimal-toc to
38843+      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
38844+      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
38845+
38846+      archive_cmds=''
38847+      hardcode_direct=yes
38848+      hardcode_direct_absolute=yes
38849+      hardcode_libdir_separator=':'
38850+      link_all_deplibs=yes
38851+      file_list_spec='${wl}-f,'
38852+
38853+      if test "$GCC" = yes; then
38854+	case $host_os in aix4.[012]|aix4.[012].*)
38855+	# We only want to do this on AIX 4.2 and lower, the check
38856+	# below for broken collect2 doesn't work under 4.3+
38857+	  collect2name=`${CC} -print-prog-name=collect2`
38858+	  if test -f "$collect2name" &&
38859+	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
38860+	  then
38861+	  # We have reworked collect2
38862+	  :
38863+	  else
38864+	  # We have old collect2
38865+	  hardcode_direct=unsupported
38866+	  # It fails to find uninstalled libraries when the uninstalled
38867+	  # path is not listed in the libpath.  Setting hardcode_minus_L
38868+	  # to unsupported forces relinking
38869+	  hardcode_minus_L=yes
38870+	  hardcode_libdir_flag_spec='-L$libdir'
38871+	  hardcode_libdir_separator=
38872+	  fi
38873+	  ;;
38874+	esac
38875+	shared_flag='-shared'
38876+	if test "$aix_use_runtimelinking" = yes; then
38877+	  shared_flag="$shared_flag "'${wl}-G'
38878+	fi
38879+      else
38880+	# not using gcc
38881+	if test "$host_cpu" = ia64; then
38882+	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
38883+	# chokes on -Wl,-G. The following line is correct:
38884+	  shared_flag='-G'
38885+	else
38886+	  if test "$aix_use_runtimelinking" = yes; then
38887+	    shared_flag='${wl}-G'
38888+	  else
38889+	    shared_flag='${wl}-bM:SRE'
38890+	  fi
38891+	fi
38892+      fi
38893+
38894+      export_dynamic_flag_spec='${wl}-bexpall'
38895+      # It seems that -bexpall does not export symbols beginning with
38896+      # underscore (_), so it is better to generate a list of symbols to export.
38897+      always_export_symbols=yes
38898+      if test "$aix_use_runtimelinking" = yes; then
38899+	# Warning - without using the other runtime loading flags (-brtl),
38900+	# -berok will link without error, but may produce a broken library.
38901+	allow_undefined_flag='-berok'
38902+        # Determine the default libpath from the value encoded in an
38903+        # empty executable.
38904+        cat >conftest.$ac_ext <<_ACEOF
38905+/* confdefs.h.  */
38906+_ACEOF
38907+cat confdefs.h >>conftest.$ac_ext
38908+cat >>conftest.$ac_ext <<_ACEOF
38909+/* end confdefs.h.  */
38910+
38911+int
38912+main ()
38913+{
38914+
38915+  ;
38916+  return 0;
38917+}
38918+_ACEOF
38919+rm -f conftest.$ac_objext conftest$ac_exeext
38920+if { (ac_try="$ac_link"
38921+case "(($ac_try" in
38922+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38923+  *) ac_try_echo=$ac_try;;
38924+esac
38925+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
38926+$as_echo "$ac_try_echo") >&5
38927+  (eval "$ac_link") 2>conftest.er1
38928+  ac_status=$?
38929+  grep -v '^ *+' conftest.er1 >conftest.err
38930+  rm -f conftest.er1
38931+  cat conftest.err >&5
38932+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
38933+  (exit $ac_status); } && {
38934+	 test -z "$ac_c_werror_flag" ||
38935+	 test ! -s conftest.err
38936+       } && test -s conftest$ac_exeext && {
38937+	 test "$cross_compiling" = yes ||
38938+	 $as_test_x conftest$ac_exeext
38939+       }; then
38940+
38941+lt_aix_libpath_sed='
38942+    /Import File Strings/,/^$/ {
38943+	/^0/ {
38944+	    s/^0  *\(.*\)$/\1/
38945+	    p
38946+	}
38947+    }'
38948+aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
38949+# Check for a 64-bit object if we didn't find anything.
38950+if test -z "$aix_libpath"; then
38951+  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
38952+fi
38953+else
38954+  $as_echo "$as_me: failed program was:" >&5
38955+sed 's/^/| /' conftest.$ac_ext >&5
38956+
38957+
38958+fi
38959+
38960+rm -rf conftest.dSYM
38961+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38962+      conftest$ac_exeext conftest.$ac_ext
38963+if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
38964+
38965+        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
38966+        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
38967+      else
38968+	if test "$host_cpu" = ia64; then
38969+	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
38970+	  allow_undefined_flag="-z nodefs"
38971+	  archive_expsym_cmds="\$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"
38972+	else
38973+	 # Determine the default libpath from the value encoded in an
38974+	 # empty executable.
38975+	 cat >conftest.$ac_ext <<_ACEOF
38976+/* confdefs.h.  */
38977+_ACEOF
38978+cat confdefs.h >>conftest.$ac_ext
38979+cat >>conftest.$ac_ext <<_ACEOF
38980+/* end confdefs.h.  */
38981+
38982+int
38983+main ()
38984+{
38985+
38986+  ;
38987+  return 0;
38988+}
38989+_ACEOF
38990+rm -f conftest.$ac_objext conftest$ac_exeext
38991+if { (ac_try="$ac_link"
38992+case "(($ac_try" in
38993+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38994+  *) ac_try_echo=$ac_try;;
38995+esac
38996+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
38997+$as_echo "$ac_try_echo") >&5
38998+  (eval "$ac_link") 2>conftest.er1
38999+  ac_status=$?
39000+  grep -v '^ *+' conftest.er1 >conftest.err
39001+  rm -f conftest.er1
39002+  cat conftest.err >&5
39003+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
39004+  (exit $ac_status); } && {
39005+	 test -z "$ac_c_werror_flag" ||
39006+	 test ! -s conftest.err
39007+       } && test -s conftest$ac_exeext && {
39008+	 test "$cross_compiling" = yes ||
39009+	 $as_test_x conftest$ac_exeext
39010+       }; then
39011+
39012+lt_aix_libpath_sed='
39013+    /Import File Strings/,/^$/ {
39014+	/^0/ {
39015+	    s/^0  *\(.*\)$/\1/
39016+	    p
39017+	}
39018+    }'
39019+aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
39020+# Check for a 64-bit object if we didn't find anything.
39021+if test -z "$aix_libpath"; then
39022+  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
39023+fi
39024+else
39025+  $as_echo "$as_me: failed program was:" >&5
39026+sed 's/^/| /' conftest.$ac_ext >&5
39027+
39028+
39029+fi
39030+
39031+rm -rf conftest.dSYM
39032+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39033+      conftest$ac_exeext conftest.$ac_ext
39034+if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
39035+
39036+	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
39037+	  # Warning - without using the other run time loading flags,
39038+	  # -berok will link without error, but may produce a broken library.
39039+	  no_undefined_flag=' ${wl}-bernotok'
39040+	  allow_undefined_flag=' ${wl}-berok'
39041+	  # Exported symbols can be pulled into shared objects from archives
39042+	  whole_archive_flag_spec='$convenience'
39043+	  archive_cmds_need_lc=yes
39044+	  # This is similar to how AIX traditionally builds its shared libraries.
39045+	  archive_expsym_cmds="\$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'
39046+	fi
39047+      fi
39048+      ;;
39049+
39050+    amigaos*)
39051+      case $host_cpu in
39052+      powerpc)
39053+            # see comment about AmigaOS4 .so support
39054+            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
39055+            archive_expsym_cmds=''
39056+        ;;
39057+      m68k)
39058+            archive_cmds='$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)'
39059+            hardcode_libdir_flag_spec='-L$libdir'
39060+            hardcode_minus_L=yes
39061+        ;;
39062+      esac
39063+      ;;
39064+
39065+    bsdi[45]*)
39066+      export_dynamic_flag_spec=-rdynamic
39067+      ;;
39068+
39069+    cygwin* | mingw* | pw32* | cegcc*)
39070+      # When not using gcc, we currently assume that we are using
39071+      # Microsoft Visual C++.
39072+      # hardcode_libdir_flag_spec is actually meaningless, as there is
39073+      # no search path for DLLs.
39074+      hardcode_libdir_flag_spec=' '
39075+      allow_undefined_flag=unsupported
39076+      # Tell ltmain to make .lib files, not .a files.
39077+      libext=lib
39078+      # Tell ltmain to make .dll files, not .so files.
39079+      shrext_cmds=".dll"
39080+      # FIXME: Setting linknames here is a bad hack.
39081+      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
39082+      # The linker will automatically build a .lib file if we build a DLL.
39083+      old_archive_from_new_cmds='true'
39084+      # FIXME: Should let the user specify the lib program.
39085+      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
39086+      fix_srcfile_path='`cygpath -w "$srcfile"`'
39087+      enable_shared_with_static_runtimes=yes
39088+      ;;
39089+
39090+    darwin* | rhapsody*)
39091+
39092+
39093+  archive_cmds_need_lc=no
39094+  hardcode_direct=no
39095+  hardcode_automatic=yes
39096+  hardcode_shlibpath_var=unsupported
39097+  whole_archive_flag_spec=''
39098+  link_all_deplibs=yes
39099+  allow_undefined_flag="$_lt_dar_allow_undefined"
39100+  case $cc_basename in
39101+     ifort*) _lt_dar_can_shared=yes ;;
39102+     *) _lt_dar_can_shared=$GCC ;;
39103+  esac
39104+  if test "$_lt_dar_can_shared" = "yes"; then
39105+    output_verbose_link_cmd=echo
39106+    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
39107+    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
39108+    archive_expsym_cmds="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}"
39109+    module_expsym_cmds="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}"
39110+
39111+  else
39112+  ld_shlibs=no
39113+  fi
39114+
39115+      ;;
39116+
39117+    dgux*)
39118+      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
39119+      hardcode_libdir_flag_spec='-L$libdir'
39120+      hardcode_shlibpath_var=no
39121+      ;;
39122+
39123+    freebsd1*)
39124+      ld_shlibs=no
39125+      ;;
39126+
39127+    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
39128+    # support.  Future versions do this automatically, but an explicit c++rt0.o
39129+    # does not break anything, and helps significantly (at the cost of a little
39130+    # extra space).
39131+    freebsd2.2*)
39132+      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
39133+      hardcode_libdir_flag_spec='-R$libdir'
39134+      hardcode_direct=yes
39135+      hardcode_shlibpath_var=no
39136+      ;;
39137+
39138+    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
39139+    freebsd2*)
39140+      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
39141+      hardcode_direct=yes
39142+      hardcode_minus_L=yes
39143+      hardcode_shlibpath_var=no
39144+      ;;
39145+
39146+    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
39147+    freebsd* | dragonfly*)
39148+      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
39149+      hardcode_libdir_flag_spec='-R$libdir'
39150+      hardcode_direct=yes
39151+      hardcode_shlibpath_var=no
39152+      ;;
39153+
39154+    hpux9*)
39155+      if test "$GCC" = yes; then
39156+	archive_cmds='$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'
39157+      else
39158+	archive_cmds='$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'
39159+      fi
39160+      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
39161+      hardcode_libdir_separator=:
39162+      hardcode_direct=yes
39163+
39164+      # hardcode_minus_L: Not really in the search PATH,
39165+      # but as the default location of the library.
39166+      hardcode_minus_L=yes
39167+      export_dynamic_flag_spec='${wl}-E'
39168+      ;;
39169+
39170+    hpux10*)
39171+      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
39172+	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
39173+      else
39174+	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
39175+      fi
39176+      if test "$with_gnu_ld" = no; then
39177+	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
39178+	hardcode_libdir_flag_spec_ld='+b $libdir'
39179+	hardcode_libdir_separator=:
39180+	hardcode_direct=yes
39181+	hardcode_direct_absolute=yes
39182+	export_dynamic_flag_spec='${wl}-E'
39183+	# hardcode_minus_L: Not really in the search PATH,
39184+	# but as the default location of the library.
39185+	hardcode_minus_L=yes
39186+      fi
39187+      ;;
39188+
39189+    hpux11*)
39190+      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
39191+	case $host_cpu in
39192+	hppa*64*)
39193+	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
39194+	  ;;
39195+	ia64*)
39196+	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
39197+	  ;;
39198+	*)
39199+	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
39200+	  ;;
39201+	esac
39202+      else
39203+	case $host_cpu in
39204+	hppa*64*)
39205+	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
39206+	  ;;
39207+	ia64*)
39208+	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
39209+	  ;;
39210+	*)
39211+	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
39212+	  ;;
39213+	esac
39214+      fi
39215+      if test "$with_gnu_ld" = no; then
39216+	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
39217+	hardcode_libdir_separator=:
39218+
39219+	case $host_cpu in
39220+	hppa*64*|ia64*)
39221+	  hardcode_direct=no
39222+	  hardcode_shlibpath_var=no
39223+	  ;;
39224+	*)
39225+	  hardcode_direct=yes
39226+	  hardcode_direct_absolute=yes
39227+	  export_dynamic_flag_spec='${wl}-E'
39228+
39229+	  # hardcode_minus_L: Not really in the search PATH,
39230+	  # but as the default location of the library.
39231+	  hardcode_minus_L=yes
39232+	  ;;
39233+	esac
39234+      fi
39235+      ;;
39236+
39237+    irix5* | irix6* | nonstopux*)
39238+      if test "$GCC" = yes; then
39239+	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
39240+	# Try to use the -exported_symbol ld option, if it does not
39241+	# work, assume that -exports_file does not work either and
39242+	# implicitly export all symbols.
39243+        save_LDFLAGS="$LDFLAGS"
39244+        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
39245+        cat >conftest.$ac_ext <<_ACEOF
39246+int foo(void) {}
39247+_ACEOF
39248+rm -f conftest.$ac_objext conftest$ac_exeext
39249+if { (ac_try="$ac_link"
39250+case "(($ac_try" in
39251+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39252+  *) ac_try_echo=$ac_try;;
39253+esac
39254+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
39255+$as_echo "$ac_try_echo") >&5
39256+  (eval "$ac_link") 2>conftest.er1
39257+  ac_status=$?
39258+  grep -v '^ *+' conftest.er1 >conftest.err
39259+  rm -f conftest.er1
39260+  cat conftest.err >&5
39261+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
39262+  (exit $ac_status); } && {
39263+	 test -z "$ac_c_werror_flag" ||
39264+	 test ! -s conftest.err
39265+       } && test -s conftest$ac_exeext && {
39266+	 test "$cross_compiling" = yes ||
39267+	 $as_test_x conftest$ac_exeext
39268+       }; then
39269+  archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
39270+
39271+else
39272+  $as_echo "$as_me: failed program was:" >&5
39273+sed 's/^/| /' conftest.$ac_ext >&5
39274+
39275+
39276+fi
39277+
39278+rm -rf conftest.dSYM
39279+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39280+      conftest$ac_exeext conftest.$ac_ext
39281+        LDFLAGS="$save_LDFLAGS"
39282+      else
39283+	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
39284+	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
39285+      fi
39286+      archive_cmds_need_lc='no'
39287+      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
39288+      hardcode_libdir_separator=:
39289+      inherit_rpath=yes
39290+      link_all_deplibs=yes
39291+      ;;
39292+
39293+    netbsd*)
39294+      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
39295+	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
39296+      else
39297+	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
39298+      fi
39299+      hardcode_libdir_flag_spec='-R$libdir'
39300+      hardcode_direct=yes
39301+      hardcode_shlibpath_var=no
39302+      ;;
39303+
39304+    newsos6)
39305+      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
39306+      hardcode_direct=yes
39307+      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
39308+      hardcode_libdir_separator=:
39309+      hardcode_shlibpath_var=no
39310+      ;;
39311+
39312+    *nto* | *qnx*)
39313+      ;;
39314+
39315+    openbsd*)
39316+      if test -f /usr/libexec/ld.so; then
39317+	hardcode_direct=yes
39318+	hardcode_shlibpath_var=no
39319+	hardcode_direct_absolute=yes
39320+	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
39321+	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
39322+	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
39323+	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
39324+	  export_dynamic_flag_spec='${wl}-E'
39325+	else
39326+	  case $host_os in
39327+	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
39328+	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
39329+	     hardcode_libdir_flag_spec='-R$libdir'
39330+	     ;;
39331+	   *)
39332+	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
39333+	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
39334+	     ;;
39335+	  esac
39336+	fi
39337+      else
39338+	ld_shlibs=no
39339+      fi
39340+      ;;
39341+
39342+    os2*)
39343+      hardcode_libdir_flag_spec='-L$libdir'
39344+      hardcode_minus_L=yes
39345+      allow_undefined_flag=unsupported
39346+      archive_cmds='$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'
39347+      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
39348+      ;;
39349+
39350+    osf3*)
39351+      if test "$GCC" = yes; then
39352+	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
39353+	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
39354+      else
39355+	allow_undefined_flag=' -expect_unresolved \*'
39356+	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
39357+      fi
39358+      archive_cmds_need_lc='no'
39359+      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
39360+      hardcode_libdir_separator=:
39361+      ;;
39362+
39363+    osf4* | osf5*)	# as osf3* with the addition of -msym flag
39364+      if test "$GCC" = yes; then
39365+	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
39366+	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
39367+	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
39368+      else
39369+	allow_undefined_flag=' -expect_unresolved \*'
39370+	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
39371+	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
39372+	$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
39373+
39374+	# Both c and cxx compiler support -rpath directly
39375+	hardcode_libdir_flag_spec='-rpath $libdir'
39376+      fi
39377+      archive_cmds_need_lc='no'
39378+      hardcode_libdir_separator=:
39379+      ;;
39380+
39381+    solaris*)
39382+      no_undefined_flag=' -z defs'
39383+      if test "$GCC" = yes; then
39384+	wlarc='${wl}'
39385+	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
39386+	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
39387+	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
39388+      else
39389+	case `$CC -V 2>&1` in
39390+	*"Compilers 5.0"*)
39391+	  wlarc=''
39392+	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
39393+	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
39394+	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
39395+	  ;;
39396+	*)
39397+	  wlarc='${wl}'
39398+	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
39399+	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
39400+	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
39401+	  ;;
39402+	esac
39403+      fi
39404+      hardcode_libdir_flag_spec='-R$libdir'
39405+      hardcode_shlibpath_var=no
39406+      case $host_os in
39407+      solaris2.[0-5] | solaris2.[0-5].*) ;;
39408+      *)
39409+	# The compiler driver will combine and reorder linker options,
39410+	# but understands `-z linker_flag'.  GCC discards it without `$wl',
39411+	# but is careful enough not to reorder.
39412+	# Supported since Solaris 2.6 (maybe 2.5.1?)
39413+	if test "$GCC" = yes; then
39414+	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
39415+	else
39416+	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
39417+	fi
39418+	;;
39419+      esac
39420+      link_all_deplibs=yes
39421+      ;;
39422+
39423+    sunos4*)
39424+      if test "x$host_vendor" = xsequent; then
39425+	# Use $CC to link under sequent, because it throws in some extra .o
39426+	# files that make .init and .fini sections work.
39427+	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
39428+      else
39429+	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
39430+      fi
39431+      hardcode_libdir_flag_spec='-L$libdir'
39432+      hardcode_direct=yes
39433+      hardcode_minus_L=yes
39434+      hardcode_shlibpath_var=no
39435+      ;;
39436+
39437+    sysv4)
39438+      case $host_vendor in
39439+	sni)
39440+	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
39441+	  hardcode_direct=yes # is this really true???
39442+	;;
39443+	siemens)
39444+	  ## LD is ld it makes a PLAMLIB
39445+	  ## CC just makes a GrossModule.
39446+	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
39447+	  reload_cmds='$CC -r -o $output$reload_objs'
39448+	  hardcode_direct=no
39449+        ;;
39450+	motorola)
39451+	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
39452+	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
39453+	;;
39454+      esac
39455+      runpath_var='LD_RUN_PATH'
39456+      hardcode_shlibpath_var=no
39457+      ;;
39458+
39459+    sysv4.3*)
39460+      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
39461+      hardcode_shlibpath_var=no
39462+      export_dynamic_flag_spec='-Bexport'
39463+      ;;
39464+
39465+    sysv4*MP*)
39466+      if test -d /usr/nec; then
39467+	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
39468+	hardcode_shlibpath_var=no
39469+	runpath_var=LD_RUN_PATH
39470+	hardcode_runpath_var=yes
39471+	ld_shlibs=yes
39472+      fi
39473+      ;;
39474+
39475+    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
39476+      no_undefined_flag='${wl}-z,text'
39477+      archive_cmds_need_lc=no
39478+      hardcode_shlibpath_var=no
39479+      runpath_var='LD_RUN_PATH'
39480+
39481+      if test "$GCC" = yes; then
39482+	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
39483+	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
39484+      else
39485+	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
39486+	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
39487+      fi
39488+      ;;
39489+
39490+    sysv5* | sco3.2v5* | sco5v6*)
39491+      # Note: We can NOT use -z defs as we might desire, because we do not
39492+      # link with -lc, and that would cause any symbols used from libc to
39493+      # always be unresolved, which means just about no library would
39494+      # ever link correctly.  If we're not using GNU ld we use -z text
39495+      # though, which does catch some bad symbols but isn't as heavy-handed
39496+      # as -z defs.
39497+      no_undefined_flag='${wl}-z,text'
39498+      allow_undefined_flag='${wl}-z,nodefs'
39499+      archive_cmds_need_lc=no
39500+      hardcode_shlibpath_var=no
39501+      hardcode_libdir_flag_spec='${wl}-R,$libdir'
39502+      hardcode_libdir_separator=':'
39503+      link_all_deplibs=yes
39504+      export_dynamic_flag_spec='${wl}-Bexport'
39505+      runpath_var='LD_RUN_PATH'
39506+
39507+      if test "$GCC" = yes; then
39508+	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
39509+	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
39510+      else
39511+	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
39512+	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
39513+      fi
39514+      ;;
39515+
39516+    uts4*)
39517+      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
39518+      hardcode_libdir_flag_spec='-L$libdir'
39519+      hardcode_shlibpath_var=no
39520+      ;;
39521+
39522+    *)
39523+      ld_shlibs=no
39524+      ;;
39525+    esac
39526+
39527+    if test x$host_vendor = xsni; then
39528+      case $host in
39529+      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
39530+	export_dynamic_flag_spec='${wl}-Blargedynsym'
39531+	;;
39532+      esac
39533+    fi
39534+  fi
39535+
39536+{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
39537+$as_echo "$ld_shlibs" >&6; }
39538+test "$ld_shlibs" = no && can_build_shared=no
39539+
39540+with_gnu_ld=$with_gnu_ld
39541+
39542+
39543+
39544+
39545+
39546+
39547+
39548+
39549+
39550+
39551+
39552+
39553+
39554+
39555+
39556+#
39557+# Do we need to explicitly link libc?
39558+#
39559+case "x$archive_cmds_need_lc" in
39560+x|xyes)
39561+  # Assume -lc should be added
39562+  archive_cmds_need_lc=yes
39563+
39564+  if test "$enable_shared" = yes && test "$GCC" = yes; then
39565+    case $archive_cmds in
39566+    *'~'*)
39567+      # FIXME: we may have to deal with multi-command sequences.
39568+      ;;
39569+    '$CC '*)
39570+      # Test whether the compiler implicitly links with -lc since on some
39571+      # systems, -lgcc has to come before -lc. If gcc already passes -lc
39572+      # to ld, don't add -lc before -lgcc.
39573+      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
39574+$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
39575+      $RM conftest*
39576+      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
39577+
39578+      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39579+  (eval $ac_compile) 2>&5
39580+  ac_status=$?
39581+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
39582+  (exit $ac_status); } 2>conftest.err; then
39583+        soname=conftest
39584+        lib=conftest
39585+        libobjs=conftest.$ac_objext
39586+        deplibs=
39587+        wl=$lt_prog_compiler_wl
39588+	pic_flag=$lt_prog_compiler_pic
39589+        compiler_flags=-v
39590+        linker_flags=-v
39591+        verstring=
39592+        output_objdir=.
39593+        libname=conftest
39594+        lt_save_allow_undefined_flag=$allow_undefined_flag
39595+        allow_undefined_flag=
39596+        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
39597+  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
39598+  ac_status=$?
39599+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
39600+  (exit $ac_status); }
39601+        then
39602+	  archive_cmds_need_lc=no
39603+        else
39604+	  archive_cmds_need_lc=yes
39605+        fi
39606+        allow_undefined_flag=$lt_save_allow_undefined_flag
39607+      else
39608+        cat conftest.err 1>&5
39609+      fi
39610+      $RM conftest*
39611+      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
39612+$as_echo "$archive_cmds_need_lc" >&6; }
39613+      ;;
39614+    esac
39615+  fi
39616+  ;;
39617+esac
39618+
39619+
39620+
39621+
39622+
39623+
39624+
39625+
39626+
39627+
39628+
39629+
39630+
39631+
39632+
39633+
39634+
39635+
39636+
39637+
39638+
39639+
39640+
39641+
39642+
39643+
39644+
39645+
39646+
39647+
39648+
39649+
39650+
39651+
39652+
39653+
39654+
39655+
39656+
39657+
39658+
39659+
39660+
39661+
39662+
39663+
39664+
39665+
39666+
39667+
39668+
39669+
39670+
39671+
39672+
39673+
39674+
39675+
39676+
39677+
39678+
39679+
39680+
39681+
39682+
39683+
39684+
39685+
39686+
39687+
39688+
39689+
39690+
39691+
39692+
39693+
39694+
39695+
39696+
39697+
39698+
39699+
39700+
39701+
39702+
39703+
39704+
39705+
39706+
39707+
39708+
39709+
39710+
39711+
39712+
39713+
39714+
39715+
39716+
39717+
39718+
39719+
39720+
39721+
39722+
39723+
39724+
39725+
39726+
39727+
39728+
39729+
39730+
39731+
39732+
39733+
39734+
39735+
39736+
39737+
39738+
39739+
39740+
39741+
39742+
39743+
39744+
39745+
39746+
39747+
39748+
39749+
39750+
39751+
39752+
39753+
39754+
39755+
39756+
39757+
39758+
39759+
39760+
39761+
39762+
39763+
39764+
39765+
39766+
39767+
39768+
39769+
39770+
39771+
39772+
39773+
39774+
39775+  { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
39776+$as_echo_n "checking dynamic linker characteristics... " >&6; }
39777+
39778+if test "$GCC" = yes; then
39779+  case $host_os in
39780+    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
39781+    *) lt_awk_arg="/^libraries:/" ;;
39782+  esac
39783+  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
39784+  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
39785+    # if the path contains ";" then we assume it to be the separator
39786+    # otherwise default to the standard path separator (i.e. ":") - it is
39787+    # assumed that no part of a normal pathname contains ";" but that should
39788+    # okay in the real world where ";" in dirpaths is itself problematic.
39789+    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
39790+  else
39791+    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
39792+  fi
39793+  # Ok, now we have the path, separated by spaces, we can step through it
39794+  # and add multilib dir if necessary.
39795+  lt_tmp_lt_search_path_spec=
39796+  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
39797+  for lt_sys_path in $lt_search_path_spec; do
39798+    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
39799+      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
39800+    else
39801+      test -d "$lt_sys_path" && \
39802+	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
39803+    fi
39804+  done
39805+  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
39806+BEGIN {RS=" "; FS="/|\n";} {
39807+  lt_foo="";
39808+  lt_count=0;
39809+  for (lt_i = NF; lt_i > 0; lt_i--) {
39810+    if ($lt_i != "" && $lt_i != ".") {
39811+      if ($lt_i == "..") {
39812+        lt_count++;
39813+      } else {
39814+        if (lt_count == 0) {
39815+          lt_foo="/" $lt_i lt_foo;
39816+        } else {
39817+          lt_count--;
39818+        }
39819+      }
39820+    }
39821+  }
39822+  if (lt_foo != "") { lt_freq[lt_foo]++; }
39823+  if (lt_freq[lt_foo] == 1) { print lt_foo; }
39824+}'`
39825+  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
39826+else
39827+  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
39828+fi
39829+library_names_spec=
39830+libname_spec='lib$name'
39831+soname_spec=
39832+shrext_cmds=".so"
39833+postinstall_cmds=
39834+postuninstall_cmds=
39835+finish_cmds=
39836+finish_eval=
39837+shlibpath_var=
39838+shlibpath_overrides_runpath=unknown
39839+version_type=none
39840+dynamic_linker="$host_os ld.so"
39841+sys_lib_dlsearch_path_spec="/lib /usr/lib"
39842+need_lib_prefix=unknown
39843+hardcode_into_libs=no
39844+
39845+# when you set need_version to no, make sure it does not cause -set_version
39846+# flags to be left without arguments
39847+need_version=unknown
39848+
39849+case $host_os in
39850+aix3*)
39851+  version_type=linux
39852+  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
39853+  shlibpath_var=LIBPATH
39854+
39855+  # AIX 3 has no versioning support, so we append a major version to the name.
39856+  soname_spec='${libname}${release}${shared_ext}$major'
39857+  ;;
39858+
39859+aix[4-9]*)
39860+  version_type=linux
39861+  need_lib_prefix=no
39862+  need_version=no
39863+  hardcode_into_libs=yes
39864+  if test "$host_cpu" = ia64; then
39865+    # AIX 5 supports IA64
39866+    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
39867+    shlibpath_var=LD_LIBRARY_PATH
39868+  else
39869+    # With GCC up to 2.95.x, collect2 would create an import file
39870+    # for dependence libraries.  The import file would start with
39871+    # the line `#! .'.  This would cause the generated library to
39872+    # depend on `.', always an invalid library.  This was fixed in
39873+    # development snapshots of GCC prior to 3.0.
39874+    case $host_os in
39875+      aix4 | aix4.[01] | aix4.[01].*)
39876+      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
39877+	   echo ' yes '
39878+	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
39879+	:
39880+      else
39881+	can_build_shared=no
39882+      fi
39883+      ;;
39884+    esac
39885+    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
39886+    # soname into executable. Probably we can add versioning support to
39887+    # collect2, so additional links can be useful in future.
39888+    if test "$aix_use_runtimelinking" = yes; then
39889+      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
39890+      # instead of lib<name>.a to let people know that these are not
39891+      # typical AIX shared libraries.
39892+      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
39893+    else
39894+      # We preserve .a as extension for shared libraries through AIX4.2
39895+      # and later when we are not doing run time linking.
39896+      library_names_spec='${libname}${release}.a $libname.a'
39897+      soname_spec='${libname}${release}${shared_ext}$major'
39898+    fi
39899+    shlibpath_var=LIBPATH
39900+  fi
39901+  ;;
39902+
39903+amigaos*)
39904+  case $host_cpu in
39905+  powerpc)
39906+    # Since July 2007 AmigaOS4 officially supports .so libraries.
39907+    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
39908+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
39909+    ;;
39910+  m68k)
39911+    library_names_spec='$libname.ixlibrary $libname.a'
39912+    # Create ${libname}_ixlibrary.a entries in /sys/libs.
39913+    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'
39914+    ;;
39915+  esac
39916+  ;;
39917+
39918+beos*)
39919+  library_names_spec='${libname}${shared_ext}'
39920+  dynamic_linker="$host_os ld.so"
39921+  shlibpath_var=LIBRARY_PATH
39922+  ;;
39923+
39924+bsdi[45]*)
39925+  version_type=linux
39926+  need_version=no
39927+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
39928+  soname_spec='${libname}${release}${shared_ext}$major'
39929+  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
39930+  shlibpath_var=LD_LIBRARY_PATH
39931+  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
39932+  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
39933+  # the default ld.so.conf also contains /usr/contrib/lib and
39934+  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
39935+  # libtool to hard-code these into programs
39936+  ;;
39937+
39938+cygwin* | mingw* | pw32* | cegcc*)
39939+  version_type=windows
39940+  shrext_cmds=".dll"
39941+  need_version=no
39942+  need_lib_prefix=no
39943+
39944+  case $GCC,$host_os in
39945+  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
39946+    library_names_spec='$libname.dll.a'
39947+    # DLL is installed to $(libdir)/../bin by postinstall_cmds
39948+    postinstall_cmds='base_file=`basename \${file}`~
39949+      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
39950+      dldir=$destdir/`dirname \$dlpath`~
39951+      test -d \$dldir || mkdir -p \$dldir~
39952+      $install_prog $dir/$dlname \$dldir/$dlname~
39953+      chmod a+x \$dldir/$dlname~
39954+      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
39955+        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
39956+      fi'
39957+    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
39958+      dlpath=$dir/\$dldll~
39959+       $RM \$dlpath'
39960+    shlibpath_overrides_runpath=yes
39961+
39962+    case $host_os in
39963+    cygwin*)
39964+      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
39965+      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
39966+      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
39967+      ;;
39968+    mingw* | cegcc*)
39969+      # MinGW DLLs use traditional 'lib' prefix
39970+      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
39971+      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
39972+      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
39973+        # It is most probably a Windows format PATH printed by
39974+        # mingw gcc, but we are running on Cygwin. Gcc prints its search
39975+        # path with ; separators, and with drive letters. We can handle the
39976+        # drive letters (cygwin fileutils understands them), so leave them,
39977+        # especially as we might pass files found there to a mingw objdump,
39978+        # which wouldn't understand a cygwinified path. Ahh.
39979+        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
39980+      else
39981+        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
39982+      fi
39983+      ;;
39984+    pw32*)
39985+      # pw32 DLLs use 'pw' prefix rather than 'lib'
39986+      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
39987+      ;;
39988+    esac
39989+    ;;
39990+
39991+  *)
39992+    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
39993+    ;;
39994+  esac
39995+  dynamic_linker='Win32 ld.exe'
39996+  # FIXME: first we should search . and the directory the executable is in
39997+  shlibpath_var=PATH
39998+  ;;
39999+
40000+darwin* | rhapsody*)
40001+  dynamic_linker="$host_os dyld"
40002+  version_type=darwin
40003+  need_lib_prefix=no
40004+  need_version=no
40005+  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
40006+  soname_spec='${libname}${release}${major}$shared_ext'
40007+  shlibpath_overrides_runpath=yes
40008+  shlibpath_var=DYLD_LIBRARY_PATH
40009+  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
40010+
40011+  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
40012+  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
40013+  ;;
40014+
40015+dgux*)
40016+  version_type=linux
40017+  need_lib_prefix=no
40018+  need_version=no
40019+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
40020+  soname_spec='${libname}${release}${shared_ext}$major'
40021+  shlibpath_var=LD_LIBRARY_PATH
40022+  ;;
40023+
40024+freebsd1*)
40025+  dynamic_linker=no
40026+  ;;
40027+
40028+freebsd* | dragonfly*)
40029+  # DragonFly does not have aout.  When/if they implement a new
40030+  # versioning mechanism, adjust this.
40031+  if test -x /usr/bin/objformat; then
40032+    objformat=`/usr/bin/objformat`
40033+  else
40034+    case $host_os in
40035+    freebsd[123]*) objformat=aout ;;
40036+    *) objformat=elf ;;
40037+    esac
40038+  fi
40039+  version_type=freebsd-$objformat
40040+  case $version_type in
40041+    freebsd-elf*)
40042+      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
40043+      need_version=no
40044+      need_lib_prefix=no
40045+      ;;
40046+    freebsd-*)
40047+      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
40048+      need_version=yes
40049+      ;;
40050+  esac
40051+  shlibpath_var=LD_LIBRARY_PATH
40052+  case $host_os in
40053+  freebsd2*)
40054+    shlibpath_overrides_runpath=yes
40055+    ;;
40056+  freebsd3.[01]* | freebsdelf3.[01]*)
40057+    shlibpath_overrides_runpath=yes
40058+    hardcode_into_libs=yes
40059+    ;;
40060+  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
40061+  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
40062+    shlibpath_overrides_runpath=no
40063+    hardcode_into_libs=yes
40064+    ;;
40065+  *) # from 4.6 on, and DragonFly
40066+    shlibpath_overrides_runpath=yes
40067+    hardcode_into_libs=yes
40068+    ;;
40069+  esac
40070+  ;;
40071+
40072+gnu*)
40073+  version_type=linux
40074+  need_lib_prefix=no
40075+  need_version=no
40076+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
40077+  soname_spec='${libname}${release}${shared_ext}$major'
40078+  shlibpath_var=LD_LIBRARY_PATH
40079+  hardcode_into_libs=yes
40080+  ;;
40081+
40082+hpux9* | hpux10* | hpux11*)
40083+  # Give a soname corresponding to the major version so that dld.sl refuses to
40084+  # link against other versions.
40085+  version_type=sunos
40086+  need_lib_prefix=no
40087+  need_version=no
40088+  case $host_cpu in
40089+  ia64*)
40090+    shrext_cmds='.so'
40091+    hardcode_into_libs=yes
40092+    dynamic_linker="$host_os dld.so"
40093+    shlibpath_var=LD_LIBRARY_PATH
40094+    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
40095+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
40096+    soname_spec='${libname}${release}${shared_ext}$major'
40097+    if test "X$HPUX_IA64_MODE" = X32; then
40098+      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
40099+    else
40100+      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
40101+    fi
40102+    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
40103+    ;;
40104+  hppa*64*)
40105+    shrext_cmds='.sl'
40106+    hardcode_into_libs=yes
40107+    dynamic_linker="$host_os dld.sl"
40108+    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
40109+    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
40110+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
40111+    soname_spec='${libname}${release}${shared_ext}$major'
40112+    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
40113+    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
40114+    ;;
40115+  *)
40116+    shrext_cmds='.sl'
40117+    dynamic_linker="$host_os dld.sl"
40118+    shlibpath_var=SHLIB_PATH
40119+    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
40120+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
40121+    soname_spec='${libname}${release}${shared_ext}$major'
40122+    ;;
40123+  esac
40124+  # HP-UX runs *really* slowly unless shared libraries are mode 555.
40125+  postinstall_cmds='chmod 555 $lib'
40126+  ;;
40127+
40128+interix[3-9]*)
40129+  version_type=linux
40130+  need_lib_prefix=no
40131+  need_version=no
40132+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
40133+  soname_spec='${libname}${release}${shared_ext}$major'
40134+  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
40135+  shlibpath_var=LD_LIBRARY_PATH
40136+  shlibpath_overrides_runpath=no
40137+  hardcode_into_libs=yes
40138+  ;;
40139+
40140+irix5* | irix6* | nonstopux*)
40141+  case $host_os in
40142+    nonstopux*) version_type=nonstopux ;;
40143+    *)
40144+	if test "$lt_cv_prog_gnu_ld" = yes; then
40145+		version_type=linux
40146+	else
40147+		version_type=irix
40148+	fi ;;
40149+  esac
40150+  need_lib_prefix=no
40151+  need_version=no
40152+  soname_spec='${libname}${release}${shared_ext}$major'
40153+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
40154+  case $host_os in
40155+  irix5* | nonstopux*)
40156+    libsuff= shlibsuff=
40157+    ;;
40158+  *)
40159+    case $LD in # libtool.m4 will add one of these switches to LD
40160+    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
40161+      libsuff= shlibsuff= libmagic=32-bit;;
40162+    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
40163+      libsuff=32 shlibsuff=N32 libmagic=N32;;
40164+    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
40165+      libsuff=64 shlibsuff=64 libmagic=64-bit;;
40166+    *) libsuff= shlibsuff= libmagic=never-match;;
40167+    esac
40168+    ;;
40169+  esac
40170+  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
40171+  shlibpath_overrides_runpath=no
40172+  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
40173+  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
40174+  hardcode_into_libs=yes
40175+  ;;
40176+
40177+# No shared lib support for Linux oldld, aout, or coff.
40178+linux*oldld* | linux*aout* | linux*coff*)
40179+  dynamic_linker=no
40180+  ;;
40181+
40182+# This must be Linux ELF.
40183+linux* | k*bsd*-gnu)
40184+  version_type=linux
40185+  need_lib_prefix=no
40186+  need_version=no
40187+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
40188+  soname_spec='${libname}${release}${shared_ext}$major'
40189+  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
40190+  shlibpath_var=LD_LIBRARY_PATH
40191+  shlibpath_overrides_runpath=no
40192+  # Some binutils ld are patched to set DT_RUNPATH
40193+  save_LDFLAGS=$LDFLAGS
40194+  save_libdir=$libdir
40195+  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
40196+       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
40197+  cat >conftest.$ac_ext <<_ACEOF
40198+/* confdefs.h.  */
40199+_ACEOF
40200+cat confdefs.h >>conftest.$ac_ext
40201+cat >>conftest.$ac_ext <<_ACEOF
40202+/* end confdefs.h.  */
40203+
40204+int
40205+main ()
40206+{
40207+
40208+  ;
40209+  return 0;
40210+}
40211+_ACEOF
40212+rm -f conftest.$ac_objext conftest$ac_exeext
40213+if { (ac_try="$ac_link"
40214+case "(($ac_try" in
40215+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40216+  *) ac_try_echo=$ac_try;;
40217+esac
40218+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
40219+$as_echo "$ac_try_echo") >&5
40220+  (eval "$ac_link") 2>conftest.er1
40221+  ac_status=$?
40222+  grep -v '^ *+' conftest.er1 >conftest.err
40223+  rm -f conftest.er1
40224+  cat conftest.err >&5
40225+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
40226+  (exit $ac_status); } && {
40227+	 test -z "$ac_c_werror_flag" ||
40228+	 test ! -s conftest.err
40229+       } && test -s conftest$ac_exeext && {
40230+	 test "$cross_compiling" = yes ||
40231+	 $as_test_x conftest$ac_exeext
40232+       }; then
40233+  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
40234+  shlibpath_overrides_runpath=yes
40235+fi
40236+
40237+else
40238+  $as_echo "$as_me: failed program was:" >&5
40239+sed 's/^/| /' conftest.$ac_ext >&5
40240+
40241+
40242+fi
40243+
40244+rm -rf conftest.dSYM
40245+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40246+      conftest$ac_exeext conftest.$ac_ext
40247+  LDFLAGS=$save_LDFLAGS
40248+  libdir=$save_libdir
40249+
40250+  # This implies no fast_install, which is unacceptable.
40251+  # Some rework will be needed to allow for fast_install
40252+  # before this can be enabled.
40253+  hardcode_into_libs=yes
40254+
40255+  # Add ABI-specific directories to the system library path.
40256+  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
40257+
40258+  # Append ld.so.conf contents to the search path
40259+  if test -f /etc/ld.so.conf; then
40260+    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' ' '`
40261+    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
40262+  fi
40263+
40264+  # We used to test for /lib/ld.so.1 and disable shared libraries on
40265+  # powerpc, because MkLinux only supported shared libraries with the
40266+  # GNU dynamic linker.  Since this was broken with cross compilers,
40267+  # most powerpc-linux boxes support dynamic linking these days and
40268+  # people can always --disable-shared, the test was removed, and we
40269+  # assume the GNU/Linux dynamic linker is in use.
40270+  dynamic_linker='GNU/Linux ld.so'
40271+  ;;
40272+
40273+netbsd*)
40274+  version_type=sunos
40275+  need_lib_prefix=no
40276+  need_version=no
40277+  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
40278+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
40279+    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
40280+    dynamic_linker='NetBSD (a.out) ld.so'
40281+  else
40282+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
40283+    soname_spec='${libname}${release}${shared_ext}$major'
40284+    dynamic_linker='NetBSD ld.elf_so'
40285+  fi
40286+  shlibpath_var=LD_LIBRARY_PATH
40287+  shlibpath_overrides_runpath=yes
40288+  hardcode_into_libs=yes
40289+  ;;
40290+
40291+newsos6)
40292+  version_type=linux
40293+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
40294+  shlibpath_var=LD_LIBRARY_PATH
40295+  shlibpath_overrides_runpath=yes
40296+  ;;
40297+
40298+*nto* | *qnx*)
40299+  version_type=qnx
40300+  need_lib_prefix=no
40301+  need_version=no
40302+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
40303+  soname_spec='${libname}${release}${shared_ext}$major'
40304+  shlibpath_var=LD_LIBRARY_PATH
40305+  shlibpath_overrides_runpath=no
40306+  hardcode_into_libs=yes
40307+  dynamic_linker='ldqnx.so'
40308+  ;;
40309+
40310+openbsd*)
40311+  version_type=sunos
40312+  sys_lib_dlsearch_path_spec="/usr/lib"
40313+  need_lib_prefix=no
40314+  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
40315+  case $host_os in
40316+    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
40317+    *)				need_version=no  ;;
40318+  esac
40319+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
40320+  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
40321+  shlibpath_var=LD_LIBRARY_PATH
40322+  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
40323+    case $host_os in
40324+      openbsd2.[89] | openbsd2.[89].*)
40325+	shlibpath_overrides_runpath=no
40326+	;;
40327+      *)
40328+	shlibpath_overrides_runpath=yes
40329+	;;
40330+      esac
40331+  else
40332+    shlibpath_overrides_runpath=yes
40333+  fi
40334+  ;;
40335+
40336+os2*)
40337+  libname_spec='$name'
40338+  shrext_cmds=".dll"
40339+  need_lib_prefix=no
40340+  library_names_spec='$libname${shared_ext} $libname.a'
40341+  dynamic_linker='OS/2 ld.exe'
40342+  shlibpath_var=LIBPATH
40343+  ;;
40344+
40345+osf3* | osf4* | osf5*)
40346+  version_type=osf
40347+  need_lib_prefix=no
40348+  need_version=no
40349+  soname_spec='${libname}${release}${shared_ext}$major'
40350+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
40351+  shlibpath_var=LD_LIBRARY_PATH
40352+  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
40353+  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
40354+  ;;
40355+
40356+rdos*)
40357+  dynamic_linker=no
40358+  ;;
40359+
40360+solaris*)
40361+  version_type=linux
40362+  need_lib_prefix=no
40363+  need_version=no
40364+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
40365+  soname_spec='${libname}${release}${shared_ext}$major'
40366+  shlibpath_var=LD_LIBRARY_PATH
40367+  shlibpath_overrides_runpath=yes
40368+  hardcode_into_libs=yes
40369+  # ldd complains unless libraries are executable
40370+  postinstall_cmds='chmod +x $lib'
40371+  ;;
40372+
40373+sunos4*)
40374+  version_type=sunos
40375+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
40376+  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
40377+  shlibpath_var=LD_LIBRARY_PATH
40378+  shlibpath_overrides_runpath=yes
40379+  if test "$with_gnu_ld" = yes; then
40380+    need_lib_prefix=no
40381+  fi
40382+  need_version=yes
40383+  ;;
40384+
40385+sysv4 | sysv4.3*)
40386+  version_type=linux
40387+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
40388+  soname_spec='${libname}${release}${shared_ext}$major'
40389+  shlibpath_var=LD_LIBRARY_PATH
40390+  case $host_vendor in
40391+    sni)
40392+      shlibpath_overrides_runpath=no
40393+      need_lib_prefix=no
40394+      runpath_var=LD_RUN_PATH
40395+      ;;
40396+    siemens)
40397+      need_lib_prefix=no
40398+      ;;
40399+    motorola)
40400+      need_lib_prefix=no
40401+      need_version=no
40402+      shlibpath_overrides_runpath=no
40403+      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
40404+      ;;
40405+  esac
40406+  ;;
40407+
40408+sysv4*MP*)
40409+  if test -d /usr/nec ;then
40410+    version_type=linux
40411+    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
40412+    soname_spec='$libname${shared_ext}.$major'
40413+    shlibpath_var=LD_LIBRARY_PATH
40414+  fi
40415+  ;;
40416+
40417+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
40418+  version_type=freebsd-elf
40419+  need_lib_prefix=no
40420+  need_version=no
40421+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
40422+  soname_spec='${libname}${release}${shared_ext}$major'
40423+  shlibpath_var=LD_LIBRARY_PATH
40424+  shlibpath_overrides_runpath=yes
40425+  hardcode_into_libs=yes
40426+  if test "$with_gnu_ld" = yes; then
40427+    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
40428+  else
40429+    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
40430+    case $host_os in
40431+      sco3.2v5*)
40432+        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
40433+	;;
40434+    esac
40435+  fi
40436+  sys_lib_dlsearch_path_spec='/usr/lib'
40437+  ;;
40438+
40439+tpf*)
40440+  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
40441+  version_type=linux
40442+  need_lib_prefix=no
40443+  need_version=no
40444+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
40445+  shlibpath_var=LD_LIBRARY_PATH
40446+  shlibpath_overrides_runpath=no
40447+  hardcode_into_libs=yes
40448+  ;;
40449+
40450+uts4*)
40451+  version_type=linux
40452+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
40453+  soname_spec='${libname}${release}${shared_ext}$major'
40454+  shlibpath_var=LD_LIBRARY_PATH
40455+  ;;
40456+
40457+*)
40458+  dynamic_linker=no
40459+  ;;
40460+esac
40461+{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
40462+$as_echo "$dynamic_linker" >&6; }
40463+test "$dynamic_linker" = no && can_build_shared=no
40464+
40465+variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
40466+if test "$GCC" = yes; then
40467+  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
40468+fi
40469+
40470+if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
40471+  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
40472+fi
40473+if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
40474+  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
40475+fi
40476+
40477+
40478+
40479+
40480+
40481+
40482+
40483+
40484+
40485+
40486+
40487+
40488+
40489+
40490+
40491+
40492+
40493+
40494+
40495+
40496+
40497+
40498+
40499+
40500+
40501+
40502+
40503+
40504+
40505+
40506+
40507+
40508+
40509+
40510+
40511+
40512+
40513+
40514+
40515+
40516+
40517+
40518+
40519+
40520+
40521+
40522+
40523+
40524+
40525+
40526+
40527+
40528+
40529+
40530+
40531+
40532+
40533+
40534+
40535+
40536+
40537+
40538+
40539+
40540+
40541+
40542+
40543+
40544+
40545+
40546+
40547+
40548+
40549+
40550+
40551+
40552+
40553+
40554+
40555+
40556+
40557+
40558+
40559+
40560+
40561+
40562+
40563+  { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
40564+$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
40565+hardcode_action=
40566+if test -n "$hardcode_libdir_flag_spec" ||
40567+   test -n "$runpath_var" ||
40568+   test "X$hardcode_automatic" = "Xyes" ; then
40569+
40570+  # We can hardcode non-existent directories.
40571+  if test "$hardcode_direct" != no &&
40572+     # If the only mechanism to avoid hardcoding is shlibpath_var, we
40573+     # have to relink, otherwise we might link with an installed library
40574+     # when we should be linking with a yet-to-be-installed one
40575+     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
40576+     test "$hardcode_minus_L" != no; then
40577+    # Linking always hardcodes the temporary library directory.
40578+    hardcode_action=relink
40579+  else
40580+    # We can link without hardcoding, and we can hardcode nonexisting dirs.
40581+    hardcode_action=immediate
40582+  fi
40583+else
40584+  # We cannot hardcode anything, or else we can only hardcode existing
40585+  # directories.
40586+  hardcode_action=unsupported
40587+fi
40588+{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
40589+$as_echo "$hardcode_action" >&6; }
40590+
40591+if test "$hardcode_action" = relink ||
40592+   test "$inherit_rpath" = yes; then
40593+  # Fast installation is not supported
40594+  enable_fast_install=no
40595+elif test "$shlibpath_overrides_runpath" = yes ||
40596+     test "$enable_shared" = no; then
40597+  # Fast installation is not necessary
40598+  enable_fast_install=needless
40599+fi
40600+
40601+
40602+
40603+
40604+
40605+
40606+  if test "x$enable_dlopen" != xyes; then
40607+  enable_dlopen=unknown
40608+  enable_dlopen_self=unknown
40609+  enable_dlopen_self_static=unknown
40610+else
40611+  lt_cv_dlopen=no
40612+  lt_cv_dlopen_libs=
40613+
40614+  case $host_os in
40615+  beos*)
40616+    lt_cv_dlopen="load_add_on"
40617+    lt_cv_dlopen_libs=
40618+    lt_cv_dlopen_self=yes
40619+    ;;
40620+
40621+  mingw* | pw32* | cegcc*)
40622+    lt_cv_dlopen="LoadLibrary"
40623+    lt_cv_dlopen_libs=
40624+    ;;
40625+
40626+  cygwin*)
40627+    lt_cv_dlopen="dlopen"
40628+    lt_cv_dlopen_libs=
40629+    ;;
40630+
40631+  darwin*)
40632+  # if libdl is installed we need to link against it
40633+    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40634+$as_echo_n "checking for dlopen in -ldl... " >&6; }
40635+if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40636+  $as_echo_n "(cached) " >&6
40637+else
40638+  ac_check_lib_save_LIBS=$LIBS
40639+LIBS="-ldl  $LIBS"
40640+cat >conftest.$ac_ext <<_ACEOF
40641+/* confdefs.h.  */
40642+_ACEOF
40643+cat confdefs.h >>conftest.$ac_ext
40644+cat >>conftest.$ac_ext <<_ACEOF
40645+/* end confdefs.h.  */
40646+
40647+/* Override any GCC internal prototype to avoid an error.
40648+   Use char because int might match the return type of a GCC
40649+   builtin and then its argument prototype would still apply.  */
40650+#ifdef __cplusplus
40651+extern "C"
40652+#endif
40653+char dlopen ();
40654+int
40655+main ()
40656+{
40657+return dlopen ();
40658+  ;
40659+  return 0;
40660+}
40661+_ACEOF
40662+rm -f conftest.$ac_objext conftest$ac_exeext
40663+if { (ac_try="$ac_link"
40664+case "(($ac_try" in
40665+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40666+  *) ac_try_echo=$ac_try;;
40667+esac
40668+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
40669+$as_echo "$ac_try_echo") >&5
40670+  (eval "$ac_link") 2>conftest.er1
40671+  ac_status=$?
40672+  grep -v '^ *+' conftest.er1 >conftest.err
40673+  rm -f conftest.er1
40674+  cat conftest.err >&5
40675+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
40676+  (exit $ac_status); } && {
40677+	 test -z "$ac_c_werror_flag" ||
40678+	 test ! -s conftest.err
40679+       } && test -s conftest$ac_exeext && {
40680+	 test "$cross_compiling" = yes ||
40681+	 $as_test_x conftest$ac_exeext
40682+       }; then
40683+  ac_cv_lib_dl_dlopen=yes
40684+else
40685+  $as_echo "$as_me: failed program was:" >&5
40686+sed 's/^/| /' conftest.$ac_ext >&5
40687+
40688+	ac_cv_lib_dl_dlopen=no
40689+fi
40690+
40691+rm -rf conftest.dSYM
40692+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40693+      conftest$ac_exeext conftest.$ac_ext
40694+LIBS=$ac_check_lib_save_LIBS
40695+fi
40696+{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
40697+$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
40698+if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
40699+  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
40700+else
40701+
40702+    lt_cv_dlopen="dyld"
40703+    lt_cv_dlopen_libs=
40704+    lt_cv_dlopen_self=yes
40705+
40706+fi
40707+
40708+    ;;
40709+
40710+  *)
40711+    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
40712+$as_echo_n "checking for shl_load... " >&6; }
40713+if test "${ac_cv_func_shl_load+set}" = set; then
40714+  $as_echo_n "(cached) " >&6
40715+else
40716+  cat >conftest.$ac_ext <<_ACEOF
40717+/* confdefs.h.  */
40718+_ACEOF
40719+cat confdefs.h >>conftest.$ac_ext
40720+cat >>conftest.$ac_ext <<_ACEOF
40721+/* end confdefs.h.  */
40722+/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
40723+   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40724+#define shl_load innocuous_shl_load
40725+
40726+/* System header to define __stub macros and hopefully few prototypes,
40727+    which can conflict with char shl_load (); below.
40728+    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40729+    <limits.h> exists even on freestanding compilers.  */
40730+
40731+#ifdef __STDC__
40732+# include <limits.h>
40733+#else
40734+# include <assert.h>
40735+#endif
40736+
40737+#undef shl_load
40738+
40739+/* Override any GCC internal prototype to avoid an error.
40740+   Use char because int might match the return type of a GCC
40741+   builtin and then its argument prototype would still apply.  */
40742+#ifdef __cplusplus
40743+extern "C"
40744+#endif
40745+char shl_load ();
40746+/* The GNU C library defines this for functions which it implements
40747+    to always fail with ENOSYS.  Some functions are actually named
40748+    something starting with __ and the normal name is an alias.  */
40749+#if defined __stub_shl_load || defined __stub___shl_load
40750+choke me
40751+#endif
40752+
40753+int
40754+main ()
40755+{
40756+return shl_load ();
40757+  ;
40758+  return 0;
40759+}
40760+_ACEOF
40761+rm -f conftest.$ac_objext conftest$ac_exeext
40762+if { (ac_try="$ac_link"
40763+case "(($ac_try" in
40764+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40765+  *) ac_try_echo=$ac_try;;
40766+esac
40767+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
40768+$as_echo "$ac_try_echo") >&5
40769+  (eval "$ac_link") 2>conftest.er1
40770+  ac_status=$?
40771+  grep -v '^ *+' conftest.er1 >conftest.err
40772+  rm -f conftest.er1
40773+  cat conftest.err >&5
40774+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
40775+  (exit $ac_status); } && {
40776+	 test -z "$ac_c_werror_flag" ||
40777+	 test ! -s conftest.err
40778+       } && test -s conftest$ac_exeext && {
40779+	 test "$cross_compiling" = yes ||
40780+	 $as_test_x conftest$ac_exeext
40781+       }; then
40782+  ac_cv_func_shl_load=yes
40783+else
40784+  $as_echo "$as_me: failed program was:" >&5
40785+sed 's/^/| /' conftest.$ac_ext >&5
40786+
40787+	ac_cv_func_shl_load=no
40788+fi
40789+
40790+rm -rf conftest.dSYM
40791+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40792+      conftest$ac_exeext conftest.$ac_ext
40793+fi
40794+{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
40795+$as_echo "$ac_cv_func_shl_load" >&6; }
40796+if test "x$ac_cv_func_shl_load" = x""yes; then
40797+  lt_cv_dlopen="shl_load"
40798+else
40799+  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
40800+$as_echo_n "checking for shl_load in -ldld... " >&6; }
40801+if test "${ac_cv_lib_dld_shl_load+set}" = set; then
40802+  $as_echo_n "(cached) " >&6
40803+else
40804+  ac_check_lib_save_LIBS=$LIBS
40805+LIBS="-ldld  $LIBS"
40806+cat >conftest.$ac_ext <<_ACEOF
40807+/* confdefs.h.  */
40808+_ACEOF
40809+cat confdefs.h >>conftest.$ac_ext
40810+cat >>conftest.$ac_ext <<_ACEOF
40811+/* end confdefs.h.  */
40812+
40813+/* Override any GCC internal prototype to avoid an error.
40814+   Use char because int might match the return type of a GCC
40815+   builtin and then its argument prototype would still apply.  */
40816+#ifdef __cplusplus
40817+extern "C"
40818+#endif
40819+char shl_load ();
40820+int
40821+main ()
40822+{
40823+return shl_load ();
40824+  ;
40825+  return 0;
40826+}
40827+_ACEOF
40828+rm -f conftest.$ac_objext conftest$ac_exeext
40829+if { (ac_try="$ac_link"
40830+case "(($ac_try" in
40831+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40832+  *) ac_try_echo=$ac_try;;
40833+esac
40834+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
40835+$as_echo "$ac_try_echo") >&5
40836+  (eval "$ac_link") 2>conftest.er1
40837+  ac_status=$?
40838+  grep -v '^ *+' conftest.er1 >conftest.err
40839+  rm -f conftest.er1
40840+  cat conftest.err >&5
40841+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
40842+  (exit $ac_status); } && {
40843+	 test -z "$ac_c_werror_flag" ||
40844+	 test ! -s conftest.err
40845+       } && test -s conftest$ac_exeext && {
40846+	 test "$cross_compiling" = yes ||
40847+	 $as_test_x conftest$ac_exeext
40848+       }; then
40849+  ac_cv_lib_dld_shl_load=yes
40850+else
40851+  $as_echo "$as_me: failed program was:" >&5
40852+sed 's/^/| /' conftest.$ac_ext >&5
40853+
40854+	ac_cv_lib_dld_shl_load=no
40855+fi
40856+
40857+rm -rf conftest.dSYM
40858+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40859+      conftest$ac_exeext conftest.$ac_ext
40860+LIBS=$ac_check_lib_save_LIBS
40861+fi
40862+{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
40863+$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
40864+if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
40865+  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
40866+else
40867+  { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
40868+$as_echo_n "checking for dlopen... " >&6; }
40869+if test "${ac_cv_func_dlopen+set}" = set; then
40870+  $as_echo_n "(cached) " >&6
40871+else
40872+  cat >conftest.$ac_ext <<_ACEOF
40873+/* confdefs.h.  */
40874+_ACEOF
40875+cat confdefs.h >>conftest.$ac_ext
40876+cat >>conftest.$ac_ext <<_ACEOF
40877+/* end confdefs.h.  */
40878+/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
40879+   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40880+#define dlopen innocuous_dlopen
40881+
40882+/* System header to define __stub macros and hopefully few prototypes,
40883+    which can conflict with char dlopen (); below.
40884+    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40885+    <limits.h> exists even on freestanding compilers.  */
40886+
40887+#ifdef __STDC__
40888+# include <limits.h>
40889+#else
40890+# include <assert.h>
40891+#endif
40892+
40893+#undef dlopen
40894+
40895+/* Override any GCC internal prototype to avoid an error.
40896+   Use char because int might match the return type of a GCC
40897+   builtin and then its argument prototype would still apply.  */
40898+#ifdef __cplusplus
40899+extern "C"
40900+#endif
40901+char dlopen ();
40902+/* The GNU C library defines this for functions which it implements
40903+    to always fail with ENOSYS.  Some functions are actually named
40904+    something starting with __ and the normal name is an alias.  */
40905+#if defined __stub_dlopen || defined __stub___dlopen
40906+choke me
40907+#endif
40908+
40909+int
40910+main ()
40911+{
40912+return dlopen ();
40913+  ;
40914+  return 0;
40915+}
40916+_ACEOF
40917+rm -f conftest.$ac_objext conftest$ac_exeext
40918+if { (ac_try="$ac_link"
40919+case "(($ac_try" in
40920+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40921+  *) ac_try_echo=$ac_try;;
40922+esac
40923+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
40924+$as_echo "$ac_try_echo") >&5
40925+  (eval "$ac_link") 2>conftest.er1
40926+  ac_status=$?
40927+  grep -v '^ *+' conftest.er1 >conftest.err
40928+  rm -f conftest.er1
40929+  cat conftest.err >&5
40930+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
40931+  (exit $ac_status); } && {
40932+	 test -z "$ac_c_werror_flag" ||
40933+	 test ! -s conftest.err
40934+       } && test -s conftest$ac_exeext && {
40935+	 test "$cross_compiling" = yes ||
40936+	 $as_test_x conftest$ac_exeext
40937+       }; then
40938+  ac_cv_func_dlopen=yes
40939+else
40940+  $as_echo "$as_me: failed program was:" >&5
40941+sed 's/^/| /' conftest.$ac_ext >&5
40942+
40943+	ac_cv_func_dlopen=no
40944+fi
40945+
40946+rm -rf conftest.dSYM
40947+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40948+      conftest$ac_exeext conftest.$ac_ext
40949+fi
40950+{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
40951+$as_echo "$ac_cv_func_dlopen" >&6; }
40952+if test "x$ac_cv_func_dlopen" = x""yes; then
40953+  lt_cv_dlopen="dlopen"
40954+else
40955+  { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40956+$as_echo_n "checking for dlopen in -ldl... " >&6; }
40957+if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40958+  $as_echo_n "(cached) " >&6
40959+else
40960+  ac_check_lib_save_LIBS=$LIBS
40961+LIBS="-ldl  $LIBS"
40962+cat >conftest.$ac_ext <<_ACEOF
40963+/* confdefs.h.  */
40964+_ACEOF
40965+cat confdefs.h >>conftest.$ac_ext
40966+cat >>conftest.$ac_ext <<_ACEOF
40967+/* end confdefs.h.  */
40968+
40969+/* Override any GCC internal prototype to avoid an error.
40970+   Use char because int might match the return type of a GCC
40971+   builtin and then its argument prototype would still apply.  */
40972+#ifdef __cplusplus
40973+extern "C"
40974+#endif
40975+char dlopen ();
40976+int
40977+main ()
40978+{
40979+return dlopen ();
40980+  ;
40981+  return 0;
40982+}
40983+_ACEOF
40984+rm -f conftest.$ac_objext conftest$ac_exeext
40985+if { (ac_try="$ac_link"
40986+case "(($ac_try" in
40987+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40988+  *) ac_try_echo=$ac_try;;
40989+esac
40990+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
40991+$as_echo "$ac_try_echo") >&5
40992+  (eval "$ac_link") 2>conftest.er1
40993+  ac_status=$?
40994+  grep -v '^ *+' conftest.er1 >conftest.err
40995+  rm -f conftest.er1
40996+  cat conftest.err >&5
40997+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
40998+  (exit $ac_status); } && {
40999+	 test -z "$ac_c_werror_flag" ||
41000+	 test ! -s conftest.err
41001+       } && test -s conftest$ac_exeext && {
41002+	 test "$cross_compiling" = yes ||
41003+	 $as_test_x conftest$ac_exeext
41004+       }; then
41005+  ac_cv_lib_dl_dlopen=yes
41006+else
41007+  $as_echo "$as_me: failed program was:" >&5
41008+sed 's/^/| /' conftest.$ac_ext >&5
41009+
41010+	ac_cv_lib_dl_dlopen=no
41011+fi
41012+
41013+rm -rf conftest.dSYM
41014+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41015+      conftest$ac_exeext conftest.$ac_ext
41016+LIBS=$ac_check_lib_save_LIBS
41017+fi
41018+{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41019+$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
41020+if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
41021+  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
41022+else
41023+  { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
41024+$as_echo_n "checking for dlopen in -lsvld... " >&6; }
41025+if test "${ac_cv_lib_svld_dlopen+set}" = set; then
41026+  $as_echo_n "(cached) " >&6
41027+else
41028+  ac_check_lib_save_LIBS=$LIBS
41029+LIBS="-lsvld  $LIBS"
41030+cat >conftest.$ac_ext <<_ACEOF
41031+/* confdefs.h.  */
41032+_ACEOF
41033+cat confdefs.h >>conftest.$ac_ext
41034+cat >>conftest.$ac_ext <<_ACEOF
41035+/* end confdefs.h.  */
41036+
41037+/* Override any GCC internal prototype to avoid an error.
41038+   Use char because int might match the return type of a GCC
41039+   builtin and then its argument prototype would still apply.  */
41040+#ifdef __cplusplus
41041+extern "C"
41042+#endif
41043+char dlopen ();
41044+int
41045+main ()
41046+{
41047+return dlopen ();
41048+  ;
41049+  return 0;
41050+}
41051+_ACEOF
41052+rm -f conftest.$ac_objext conftest$ac_exeext
41053+if { (ac_try="$ac_link"
41054+case "(($ac_try" in
41055+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41056+  *) ac_try_echo=$ac_try;;
41057+esac
41058+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
41059+$as_echo "$ac_try_echo") >&5
41060+  (eval "$ac_link") 2>conftest.er1
41061+  ac_status=$?
41062+  grep -v '^ *+' conftest.er1 >conftest.err
41063+  rm -f conftest.er1
41064+  cat conftest.err >&5
41065+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
41066+  (exit $ac_status); } && {
41067+	 test -z "$ac_c_werror_flag" ||
41068+	 test ! -s conftest.err
41069+       } && test -s conftest$ac_exeext && {
41070+	 test "$cross_compiling" = yes ||
41071+	 $as_test_x conftest$ac_exeext
41072+       }; then
41073+  ac_cv_lib_svld_dlopen=yes
41074+else
41075+  $as_echo "$as_me: failed program was:" >&5
41076+sed 's/^/| /' conftest.$ac_ext >&5
41077+
41078+	ac_cv_lib_svld_dlopen=no
41079+fi
41080+
41081+rm -rf conftest.dSYM
41082+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41083+      conftest$ac_exeext conftest.$ac_ext
41084+LIBS=$ac_check_lib_save_LIBS
41085+fi
41086+{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
41087+$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
41088+if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
41089+  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
41090+else
41091+  { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
41092+$as_echo_n "checking for dld_link in -ldld... " >&6; }
41093+if test "${ac_cv_lib_dld_dld_link+set}" = set; then
41094+  $as_echo_n "(cached) " >&6
41095+else
41096+  ac_check_lib_save_LIBS=$LIBS
41097+LIBS="-ldld  $LIBS"
41098+cat >conftest.$ac_ext <<_ACEOF
41099+/* confdefs.h.  */
41100+_ACEOF
41101+cat confdefs.h >>conftest.$ac_ext
41102+cat >>conftest.$ac_ext <<_ACEOF
41103+/* end confdefs.h.  */
41104+
41105+/* Override any GCC internal prototype to avoid an error.
41106+   Use char because int might match the return type of a GCC
41107+   builtin and then its argument prototype would still apply.  */
41108+#ifdef __cplusplus
41109+extern "C"
41110+#endif
41111+char dld_link ();
41112+int
41113+main ()
41114+{
41115+return dld_link ();
41116+  ;
41117+  return 0;
41118+}
41119+_ACEOF
41120+rm -f conftest.$ac_objext conftest$ac_exeext
41121+if { (ac_try="$ac_link"
41122+case "(($ac_try" in
41123+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41124+  *) ac_try_echo=$ac_try;;
41125+esac
41126+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
41127+$as_echo "$ac_try_echo") >&5
41128+  (eval "$ac_link") 2>conftest.er1
41129+  ac_status=$?
41130+  grep -v '^ *+' conftest.er1 >conftest.err
41131+  rm -f conftest.er1
41132+  cat conftest.err >&5
41133+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
41134+  (exit $ac_status); } && {
41135+	 test -z "$ac_c_werror_flag" ||
41136+	 test ! -s conftest.err
41137+       } && test -s conftest$ac_exeext && {
41138+	 test "$cross_compiling" = yes ||
41139+	 $as_test_x conftest$ac_exeext
41140+       }; then
41141+  ac_cv_lib_dld_dld_link=yes
41142+else
41143+  $as_echo "$as_me: failed program was:" >&5
41144+sed 's/^/| /' conftest.$ac_ext >&5
41145+
41146+	ac_cv_lib_dld_dld_link=no
41147+fi
41148+
41149+rm -rf conftest.dSYM
41150+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41151+      conftest$ac_exeext conftest.$ac_ext
41152+LIBS=$ac_check_lib_save_LIBS
41153+fi
41154+{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
41155+$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
41156+if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
41157+  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
41158+fi
41159+
41160+
41161+fi
41162+
41163+
41164+fi
41165+
41166+
41167+fi
41168+
41169+
41170+fi
41171+
41172+
41173+fi
41174+
41175+    ;;
41176+  esac
41177+
41178+  if test "x$lt_cv_dlopen" != xno; then
41179+    enable_dlopen=yes
41180+  else
41181+    enable_dlopen=no
41182+  fi
41183+
41184+  case $lt_cv_dlopen in
41185+  dlopen)
41186+    save_CPPFLAGS="$CPPFLAGS"
41187+    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
41188+
41189+    save_LDFLAGS="$LDFLAGS"
41190+    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
41191+
41192+    save_LIBS="$LIBS"
41193+    LIBS="$lt_cv_dlopen_libs $LIBS"
41194+
41195+    { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
41196+$as_echo_n "checking whether a program can dlopen itself... " >&6; }
41197+if test "${lt_cv_dlopen_self+set}" = set; then
41198+  $as_echo_n "(cached) " >&6
41199+else
41200+  	  if test "$cross_compiling" = yes; then :
41201+  lt_cv_dlopen_self=cross
41202+else
41203+  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
41204+  lt_status=$lt_dlunknown
41205+  cat > conftest.$ac_ext <<_LT_EOF
41206+#line 10819 "configure"
41207+#include "confdefs.h"
41208+
41209+#if HAVE_DLFCN_H
41210+#include <dlfcn.h>
41211+#endif
41212+
41213+#include <stdio.h>
41214+
41215+#ifdef RTLD_GLOBAL
41216+#  define LT_DLGLOBAL		RTLD_GLOBAL
41217+#else
41218+#  ifdef DL_GLOBAL
41219+#    define LT_DLGLOBAL		DL_GLOBAL
41220+#  else
41221+#    define LT_DLGLOBAL		0
41222+#  endif
41223+#endif
41224+
41225+/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
41226+   find out it does not work in some platform. */
41227+#ifndef LT_DLLAZY_OR_NOW
41228+#  ifdef RTLD_LAZY
41229+#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
41230+#  else
41231+#    ifdef DL_LAZY
41232+#      define LT_DLLAZY_OR_NOW		DL_LAZY
41233+#    else
41234+#      ifdef RTLD_NOW
41235+#        define LT_DLLAZY_OR_NOW	RTLD_NOW
41236+#      else
41237+#        ifdef DL_NOW
41238+#          define LT_DLLAZY_OR_NOW	DL_NOW
41239+#        else
41240+#          define LT_DLLAZY_OR_NOW	0
41241+#        endif
41242+#      endif
41243+#    endif
41244+#  endif
41245+#endif
41246+
41247+void fnord() { int i=42;}
41248+int main ()
41249+{
41250+  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
41251+  int status = $lt_dlunknown;
41252+
41253+  if (self)
41254+    {
41255+      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
41256+      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
41257+      /* dlclose (self); */
41258+    }
41259+  else
41260+    puts (dlerror ());
41261+
41262+  return status;
41263+}
41264+_LT_EOF
41265+  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41266+  (eval $ac_link) 2>&5
41267+  ac_status=$?
41268+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
41269+  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
41270+    (./conftest; exit; ) >&5 2>/dev/null
41271+    lt_status=$?
41272+    case x$lt_status in
41273+      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
41274+      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
41275+      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
41276+    esac
41277+  else :
41278+    # compilation failed
41279+    lt_cv_dlopen_self=no
41280+  fi
41281+fi
41282+rm -fr conftest*
41283+
41284+
41285+fi
41286+{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
41287+$as_echo "$lt_cv_dlopen_self" >&6; }
41288+
41289+    if test "x$lt_cv_dlopen_self" = xyes; then
41290+      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
41291+      { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
41292+$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
41293+if test "${lt_cv_dlopen_self_static+set}" = set; then
41294+  $as_echo_n "(cached) " >&6
41295+else
41296+  	  if test "$cross_compiling" = yes; then :
41297+  lt_cv_dlopen_self_static=cross
41298+else
41299+  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
41300+  lt_status=$lt_dlunknown
41301+  cat > conftest.$ac_ext <<_LT_EOF
41302+#line 10915 "configure"
41303+#include "confdefs.h"
41304+
41305+#if HAVE_DLFCN_H
41306+#include <dlfcn.h>
41307+#endif
41308+
41309+#include <stdio.h>
41310+
41311+#ifdef RTLD_GLOBAL
41312+#  define LT_DLGLOBAL		RTLD_GLOBAL
41313+#else
41314+#  ifdef DL_GLOBAL
41315+#    define LT_DLGLOBAL		DL_GLOBAL
41316+#  else
41317+#    define LT_DLGLOBAL		0
41318+#  endif
41319+#endif
41320+
41321+/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
41322+   find out it does not work in some platform. */
41323+#ifndef LT_DLLAZY_OR_NOW
41324+#  ifdef RTLD_LAZY
41325+#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
41326+#  else
41327+#    ifdef DL_LAZY
41328+#      define LT_DLLAZY_OR_NOW		DL_LAZY
41329+#    else
41330+#      ifdef RTLD_NOW
41331+#        define LT_DLLAZY_OR_NOW	RTLD_NOW
41332+#      else
41333+#        ifdef DL_NOW
41334+#          define LT_DLLAZY_OR_NOW	DL_NOW
41335+#        else
41336+#          define LT_DLLAZY_OR_NOW	0
41337+#        endif
41338+#      endif
41339+#    endif
41340+#  endif
41341+#endif
41342+
41343+void fnord() { int i=42;}
41344+int main ()
41345+{
41346+  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
41347+  int status = $lt_dlunknown;
41348+
41349+  if (self)
41350+    {
41351+      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
41352+      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
41353+      /* dlclose (self); */
41354+    }
41355+  else
41356+    puts (dlerror ());
41357+
41358+  return status;
41359+}
41360+_LT_EOF
41361+  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41362+  (eval $ac_link) 2>&5
41363+  ac_status=$?
41364+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
41365+  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
41366+    (./conftest; exit; ) >&5 2>/dev/null
41367+    lt_status=$?
41368+    case x$lt_status in
41369+      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
41370+      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
41371+      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
41372+    esac
41373+  else :
41374+    # compilation failed
41375+    lt_cv_dlopen_self_static=no
41376+  fi
41377+fi
41378+rm -fr conftest*
41379+
41380+
41381+fi
41382+{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
41383+$as_echo "$lt_cv_dlopen_self_static" >&6; }
41384+    fi
41385+
41386+    CPPFLAGS="$save_CPPFLAGS"
41387+    LDFLAGS="$save_LDFLAGS"
41388+    LIBS="$save_LIBS"
41389+    ;;
41390+  esac
41391+
41392+  case $lt_cv_dlopen_self in
41393+  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
41394+  *) enable_dlopen_self=unknown ;;
41395+  esac
41396+
41397+  case $lt_cv_dlopen_self_static in
41398+  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
41399+  *) enable_dlopen_self_static=unknown ;;
41400+  esac
41401+fi
41402+
41403+
41404+
41405+
41406+
41407+
41408+
41409+
41410+
41411+
41412+
41413+
41414+
41415+
41416+
41417+
41418+
41419+striplib=
41420+old_striplib=
41421+{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
41422+$as_echo_n "checking whether stripping libraries is possible... " >&6; }
41423+if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
41424+  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
41425+  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
41426+  { $as_echo "$as_me:$LINENO: result: yes" >&5
41427+$as_echo "yes" >&6; }
41428+else
41429+# FIXME - insert some real tests, host_os isn't really good enough
41430+  case $host_os in
41431+  darwin*)
41432+    if test -n "$STRIP" ; then
41433+      striplib="$STRIP -x"
41434+      old_striplib="$STRIP -S"
41435+      { $as_echo "$as_me:$LINENO: result: yes" >&5
41436+$as_echo "yes" >&6; }
41437+    else
41438+      { $as_echo "$as_me:$LINENO: result: no" >&5
41439+$as_echo "no" >&6; }
41440+    fi
41441+    ;;
41442+  *)
41443+    { $as_echo "$as_me:$LINENO: result: no" >&5
41444+$as_echo "no" >&6; }
41445+    ;;
41446+  esac
41447+fi
41448+
41449+
41450+
41451+
41452+
41453+
41454+
41455+
41456+
41457+
41458+
41459+
41460+  # Report which library types will actually be built
41461+  { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
41462+$as_echo_n "checking if libtool supports shared libraries... " >&6; }
41463+  { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
41464+$as_echo "$can_build_shared" >&6; }
41465+
41466+  { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
41467+$as_echo_n "checking whether to build shared libraries... " >&6; }
41468+  test "$can_build_shared" = "no" && enable_shared=no
41469+
41470+  # On AIX, shared libraries and static libraries use the same namespace, and
41471+  # are all built from PIC.
41472+  case $host_os in
41473+  aix3*)
41474+    test "$enable_shared" = yes && enable_static=no
41475+    if test -n "$RANLIB"; then
41476+      archive_cmds="$archive_cmds~\$RANLIB \$lib"
41477+      postinstall_cmds='$RANLIB $lib'
41478+    fi
41479+    ;;
41480+
41481+  aix[4-9]*)
41482+    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
41483+      test "$enable_shared" = yes && enable_static=no
41484+    fi
41485+    ;;
41486+  esac
41487+  { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
41488+$as_echo "$enable_shared" >&6; }
41489+
41490+  { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
41491+$as_echo_n "checking whether to build static libraries... " >&6; }
41492+  # Make sure either enable_shared or enable_static is yes.
41493+  test "$enable_shared" = yes || enable_static=yes
41494+  { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
41495+$as_echo "$enable_static" >&6; }
41496+
41497+
41498+
41499+
41500+fi
41501+ac_ext=c
41502+ac_cpp='$CPP $CPPFLAGS'
41503+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41504+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41505+ac_compiler_gnu=$ac_cv_c_compiler_gnu
41506+
41507+CC="$lt_save_CC"
41508+
41509+
41510+
41511+
41512+
41513+
41514+
41515+
41516+
41517+
41518+
41519+
41520+
41521+        ac_config_commands="$ac_config_commands libtool"
41522+
41523+
41524+
41525+
41526+# Only expand once:
41527+
41528+
41529+ac_ext=c
41530+ac_cpp='$CPP $CPPFLAGS'
41531+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41532+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41533+ac_compiler_gnu=$ac_cv_c_compiler_gnu
41534+if test -n "$ac_tool_prefix"; then
41535+  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
41536+set dummy ${ac_tool_prefix}gcc; ac_word=$2
41537+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
41538+$as_echo_n "checking for $ac_word... " >&6; }
41539+if test "${ac_cv_prog_CC+set}" = set; then
41540+  $as_echo_n "(cached) " >&6
41541+else
41542+  if test -n "$CC"; then
41543+  ac_cv_prog_CC="$CC" # Let the user override the test.
41544+else
41545+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41546+for as_dir in $PATH
41547+do
41548+  IFS=$as_save_IFS
41549+  test -z "$as_dir" && as_dir=.
41550+  for ac_exec_ext in '' $ac_executable_extensions; do
41551+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41552+    ac_cv_prog_CC="${ac_tool_prefix}gcc"
41553+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41554+    break 2
41555+  fi
41556+done
41557+done
41558+IFS=$as_save_IFS
41559+
41560+fi
41561+fi
41562+CC=$ac_cv_prog_CC
41563+if test -n "$CC"; then
41564+  { $as_echo "$as_me:$LINENO: result: $CC" >&5
41565+$as_echo "$CC" >&6; }
41566+else
41567+  { $as_echo "$as_me:$LINENO: result: no" >&5
41568+$as_echo "no" >&6; }
41569+fi
41570+
41571+
41572+fi
41573+if test -z "$ac_cv_prog_CC"; then
41574+  ac_ct_CC=$CC
41575+  # Extract the first word of "gcc", so it can be a program name with args.
41576+set dummy gcc; ac_word=$2
41577+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
41578+$as_echo_n "checking for $ac_word... " >&6; }
41579+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
41580+  $as_echo_n "(cached) " >&6
41581+else
41582+  if test -n "$ac_ct_CC"; then
41583+  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
41584+else
41585+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41586+for as_dir in $PATH
41587+do
41588+  IFS=$as_save_IFS
41589+  test -z "$as_dir" && as_dir=.
41590+  for ac_exec_ext in '' $ac_executable_extensions; do
41591+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41592+    ac_cv_prog_ac_ct_CC="gcc"
41593+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41594+    break 2
41595+  fi
41596+done
41597+done
41598+IFS=$as_save_IFS
41599+
41600+fi
41601+fi
41602+ac_ct_CC=$ac_cv_prog_ac_ct_CC
41603+if test -n "$ac_ct_CC"; then
41604+  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
41605+$as_echo "$ac_ct_CC" >&6; }
41606+else
41607+  { $as_echo "$as_me:$LINENO: result: no" >&5
41608+$as_echo "no" >&6; }
41609+fi
41610+
41611+  if test "x$ac_ct_CC" = x; then
41612+    CC=""
41613+  else
41614+    case $cross_compiling:$ac_tool_warned in
41615+yes:)
41616+{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
41617+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
41618+ac_tool_warned=yes ;;
41619+esac
41620+    CC=$ac_ct_CC
41621+  fi
41622+else
41623+  CC="$ac_cv_prog_CC"
41624+fi
41625+
41626+if test -z "$CC"; then
41627+          if test -n "$ac_tool_prefix"; then
41628+    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
41629+set dummy ${ac_tool_prefix}cc; ac_word=$2
41630+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
41631+$as_echo_n "checking for $ac_word... " >&6; }
41632+if test "${ac_cv_prog_CC+set}" = set; then
41633+  $as_echo_n "(cached) " >&6
41634+else
41635+  if test -n "$CC"; then
41636+  ac_cv_prog_CC="$CC" # Let the user override the test.
41637+else
41638+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41639+for as_dir in $PATH
41640+do
41641+  IFS=$as_save_IFS
41642+  test -z "$as_dir" && as_dir=.
41643+  for ac_exec_ext in '' $ac_executable_extensions; do
41644+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41645+    ac_cv_prog_CC="${ac_tool_prefix}cc"
41646+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41647+    break 2
41648+  fi
41649+done
41650+done
41651+IFS=$as_save_IFS
41652+
41653+fi
41654+fi
41655+CC=$ac_cv_prog_CC
41656+if test -n "$CC"; then
41657+  { $as_echo "$as_me:$LINENO: result: $CC" >&5
41658+$as_echo "$CC" >&6; }
41659+else
41660+  { $as_echo "$as_me:$LINENO: result: no" >&5
41661+$as_echo "no" >&6; }
41662+fi
41663+
41664+
41665+  fi
41666+fi
41667+if test -z "$CC"; then
41668+  # Extract the first word of "cc", so it can be a program name with args.
41669+set dummy cc; ac_word=$2
41670+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
41671+$as_echo_n "checking for $ac_word... " >&6; }
41672+if test "${ac_cv_prog_CC+set}" = set; then
41673+  $as_echo_n "(cached) " >&6
41674+else
41675+  if test -n "$CC"; then
41676+  ac_cv_prog_CC="$CC" # Let the user override the test.
41677+else
41678+  ac_prog_rejected=no
41679+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41680+for as_dir in $PATH
41681+do
41682+  IFS=$as_save_IFS
41683+  test -z "$as_dir" && as_dir=.
41684+  for ac_exec_ext in '' $ac_executable_extensions; do
41685+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41686+    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
41687+       ac_prog_rejected=yes
41688+       continue
41689+     fi
41690+    ac_cv_prog_CC="cc"
41691+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41692+    break 2
41693+  fi
41694+done
41695+done
41696+IFS=$as_save_IFS
41697+
41698+if test $ac_prog_rejected = yes; then
41699+  # We found a bogon in the path, so make sure we never use it.
41700+  set dummy $ac_cv_prog_CC
41701+  shift
41702+  if test $# != 0; then
41703+    # We chose a different compiler from the bogus one.
41704+    # However, it has the same basename, so the bogon will be chosen
41705+    # first if we set CC to just the basename; use the full file name.
41706+    shift
41707+    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
41708+  fi
41709+fi
41710+fi
41711+fi
41712+CC=$ac_cv_prog_CC
41713+if test -n "$CC"; then
41714+  { $as_echo "$as_me:$LINENO: result: $CC" >&5
41715+$as_echo "$CC" >&6; }
41716+else
41717+  { $as_echo "$as_me:$LINENO: result: no" >&5
41718+$as_echo "no" >&6; }
41719+fi
41720+
41721+
41722+fi
41723+if test -z "$CC"; then
41724+  if test -n "$ac_tool_prefix"; then
41725+  for ac_prog in cl.exe
41726+  do
41727+    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
41728+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
41729+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
41730+$as_echo_n "checking for $ac_word... " >&6; }
41731+if test "${ac_cv_prog_CC+set}" = set; then
41732+  $as_echo_n "(cached) " >&6
41733+else
41734+  if test -n "$CC"; then
41735+  ac_cv_prog_CC="$CC" # Let the user override the test.
41736+else
41737+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41738+for as_dir in $PATH
41739+do
41740+  IFS=$as_save_IFS
41741+  test -z "$as_dir" && as_dir=.
41742+  for ac_exec_ext in '' $ac_executable_extensions; do
41743+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41744+    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
41745+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41746+    break 2
41747+  fi
41748+done
41749+done
41750+IFS=$as_save_IFS
41751+
41752+fi
41753+fi
41754+CC=$ac_cv_prog_CC
41755+if test -n "$CC"; then
41756+  { $as_echo "$as_me:$LINENO: result: $CC" >&5
41757+$as_echo "$CC" >&6; }
41758+else
41759+  { $as_echo "$as_me:$LINENO: result: no" >&5
41760+$as_echo "no" >&6; }
41761+fi
41762+
41763+
41764+    test -n "$CC" && break
41765+  done
41766+fi
41767+if test -z "$CC"; then
41768+  ac_ct_CC=$CC
41769+  for ac_prog in cl.exe
41770+do
41771+  # Extract the first word of "$ac_prog", so it can be a program name with args.
41772+set dummy $ac_prog; ac_word=$2
41773+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
41774+$as_echo_n "checking for $ac_word... " >&6; }
41775+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
41776+  $as_echo_n "(cached) " >&6
41777+else
41778+  if test -n "$ac_ct_CC"; then
41779+  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
41780+else
41781+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41782+for as_dir in $PATH
41783+do
41784+  IFS=$as_save_IFS
41785+  test -z "$as_dir" && as_dir=.
41786+  for ac_exec_ext in '' $ac_executable_extensions; do
41787+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41788+    ac_cv_prog_ac_ct_CC="$ac_prog"
41789+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41790+    break 2
41791+  fi
41792+done
41793+done
41794+IFS=$as_save_IFS
41795+
41796+fi
41797+fi
41798+ac_ct_CC=$ac_cv_prog_ac_ct_CC
41799+if test -n "$ac_ct_CC"; then
41800+  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
41801+$as_echo "$ac_ct_CC" >&6; }
41802+else
41803+  { $as_echo "$as_me:$LINENO: result: no" >&5
41804+$as_echo "no" >&6; }
41805+fi
41806+
41807+
41808+  test -n "$ac_ct_CC" && break
41809+done
41810+
41811+  if test "x$ac_ct_CC" = x; then
41812+    CC=""
41813+  else
41814+    case $cross_compiling:$ac_tool_warned in
41815+yes:)
41816+{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
41817+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
41818+ac_tool_warned=yes ;;
41819+esac
41820+    CC=$ac_ct_CC
41821+  fi
41822+fi
41823+
41824+fi
41825+
41826+
41827+test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
41828+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
41829+{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
41830+See \`config.log' for more details." >&5
41831+$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
41832+See \`config.log' for more details." >&2;}
41833+   { (exit 1); exit 1; }; }; }
41834+
41835+# Provide some information about the compiler.
41836+$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
41837+set X $ac_compile
41838+ac_compiler=$2
41839+{ (ac_try="$ac_compiler --version >&5"
41840+case "(($ac_try" in
41841+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41842+  *) ac_try_echo=$ac_try;;
41843+esac
41844+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
41845+$as_echo "$ac_try_echo") >&5
41846+  (eval "$ac_compiler --version >&5") 2>&5
41847+  ac_status=$?
41848+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
41849+  (exit $ac_status); }
41850+{ (ac_try="$ac_compiler -v >&5"
41851+case "(($ac_try" in
41852+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41853+  *) ac_try_echo=$ac_try;;
41854+esac
41855+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
41856+$as_echo "$ac_try_echo") >&5
41857+  (eval "$ac_compiler -v >&5") 2>&5
41858+  ac_status=$?
41859+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
41860+  (exit $ac_status); }
41861+{ (ac_try="$ac_compiler -V >&5"
41862+case "(($ac_try" in
41863+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41864+  *) ac_try_echo=$ac_try;;
41865+esac
41866+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
41867+$as_echo "$ac_try_echo") >&5
41868+  (eval "$ac_compiler -V >&5") 2>&5
41869+  ac_status=$?
41870+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
41871+  (exit $ac_status); }
41872+
41873+{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
41874+$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
41875+if test "${ac_cv_c_compiler_gnu+set}" = set; then
41876+  $as_echo_n "(cached) " >&6
41877+else
41878+  cat >conftest.$ac_ext <<_ACEOF
41879+/* confdefs.h.  */
41880+_ACEOF
41881+cat confdefs.h >>conftest.$ac_ext
41882+cat >>conftest.$ac_ext <<_ACEOF
41883+/* end confdefs.h.  */
41884+
41885+int
41886+main ()
41887+{
41888+#ifndef __GNUC__
41889+       choke me
41890+#endif
41891+
41892+  ;
41893+  return 0;
41894+}
41895+_ACEOF
41896+rm -f conftest.$ac_objext
41897+if { (ac_try="$ac_compile"
41898+case "(($ac_try" in
41899+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41900+  *) ac_try_echo=$ac_try;;
41901+esac
41902+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
41903+$as_echo "$ac_try_echo") >&5
41904+  (eval "$ac_compile") 2>conftest.er1
41905+  ac_status=$?
41906+  grep -v '^ *+' conftest.er1 >conftest.err
41907+  rm -f conftest.er1
41908+  cat conftest.err >&5
41909+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
41910+  (exit $ac_status); } && {
41911+	 test -z "$ac_c_werror_flag" ||
41912+	 test ! -s conftest.err
41913+       } && test -s conftest.$ac_objext; then
41914+  ac_compiler_gnu=yes
41915+else
41916+  $as_echo "$as_me: failed program was:" >&5
41917+sed 's/^/| /' conftest.$ac_ext >&5
41918+
41919+	ac_compiler_gnu=no
41920+fi
41921+
41922+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41923+ac_cv_c_compiler_gnu=$ac_compiler_gnu
41924+
41925+fi
41926+{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
41927+$as_echo "$ac_cv_c_compiler_gnu" >&6; }
41928+if test $ac_compiler_gnu = yes; then
41929+  GCC=yes
41930+else
41931+  GCC=
41932+fi
41933+ac_test_CFLAGS=${CFLAGS+set}
41934+ac_save_CFLAGS=$CFLAGS
41935+{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
41936+$as_echo_n "checking whether $CC accepts -g... " >&6; }
41937+if test "${ac_cv_prog_cc_g+set}" = set; then
41938+  $as_echo_n "(cached) " >&6
41939+else
41940+  ac_save_c_werror_flag=$ac_c_werror_flag
41941+   ac_c_werror_flag=yes
41942+   ac_cv_prog_cc_g=no
41943+   CFLAGS="-g"
41944+   cat >conftest.$ac_ext <<_ACEOF
41945+/* confdefs.h.  */
41946+_ACEOF
41947+cat confdefs.h >>conftest.$ac_ext
41948+cat >>conftest.$ac_ext <<_ACEOF
41949+/* end confdefs.h.  */
41950+
41951+int
41952+main ()
41953+{
41954+
41955+  ;
41956+  return 0;
41957+}
41958+_ACEOF
41959+rm -f conftest.$ac_objext
41960+if { (ac_try="$ac_compile"
41961+case "(($ac_try" in
41962+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41963+  *) ac_try_echo=$ac_try;;
41964+esac
41965+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
41966+$as_echo "$ac_try_echo") >&5
41967+  (eval "$ac_compile") 2>conftest.er1
41968+  ac_status=$?
41969+  grep -v '^ *+' conftest.er1 >conftest.err
41970+  rm -f conftest.er1
41971+  cat conftest.err >&5
41972+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
41973+  (exit $ac_status); } && {
41974+	 test -z "$ac_c_werror_flag" ||
41975+	 test ! -s conftest.err
41976+       } && test -s conftest.$ac_objext; then
41977+  ac_cv_prog_cc_g=yes
41978+else
41979+  $as_echo "$as_me: failed program was:" >&5
41980+sed 's/^/| /' conftest.$ac_ext >&5
41981+
41982+	CFLAGS=""
41983+      cat >conftest.$ac_ext <<_ACEOF
41984+/* confdefs.h.  */
41985+_ACEOF
41986+cat confdefs.h >>conftest.$ac_ext
41987+cat >>conftest.$ac_ext <<_ACEOF
41988+/* end confdefs.h.  */
41989+
41990+int
41991+main ()
41992+{
41993+
41994+  ;
41995+  return 0;
41996+}
41997+_ACEOF
41998+rm -f conftest.$ac_objext
41999+if { (ac_try="$ac_compile"
42000+case "(($ac_try" in
42001+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42002+  *) ac_try_echo=$ac_try;;
42003+esac
42004+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
42005+$as_echo "$ac_try_echo") >&5
42006+  (eval "$ac_compile") 2>conftest.er1
42007+  ac_status=$?
42008+  grep -v '^ *+' conftest.er1 >conftest.err
42009+  rm -f conftest.er1
42010+  cat conftest.err >&5
42011+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
42012+  (exit $ac_status); } && {
42013+	 test -z "$ac_c_werror_flag" ||
42014+	 test ! -s conftest.err
42015+       } && test -s conftest.$ac_objext; then
42016+  :
42017+else
42018+  $as_echo "$as_me: failed program was:" >&5
42019+sed 's/^/| /' conftest.$ac_ext >&5
42020+
42021+	ac_c_werror_flag=$ac_save_c_werror_flag
42022+	 CFLAGS="-g"
42023+	 cat >conftest.$ac_ext <<_ACEOF
42024+/* confdefs.h.  */
42025+_ACEOF
42026+cat confdefs.h >>conftest.$ac_ext
42027+cat >>conftest.$ac_ext <<_ACEOF
42028+/* end confdefs.h.  */
42029+
42030+int
42031+main ()
42032+{
42033+
42034+  ;
42035+  return 0;
42036+}
42037+_ACEOF
42038+rm -f conftest.$ac_objext
42039+if { (ac_try="$ac_compile"
42040+case "(($ac_try" in
42041+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42042+  *) ac_try_echo=$ac_try;;
42043+esac
42044+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
42045+$as_echo "$ac_try_echo") >&5
42046+  (eval "$ac_compile") 2>conftest.er1
42047+  ac_status=$?
42048+  grep -v '^ *+' conftest.er1 >conftest.err
42049+  rm -f conftest.er1
42050+  cat conftest.err >&5
42051+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
42052+  (exit $ac_status); } && {
42053+	 test -z "$ac_c_werror_flag" ||
42054+	 test ! -s conftest.err
42055+       } && test -s conftest.$ac_objext; then
42056+  ac_cv_prog_cc_g=yes
42057+else
42058+  $as_echo "$as_me: failed program was:" >&5
42059+sed 's/^/| /' conftest.$ac_ext >&5
42060+
42061+
42062+fi
42063+
42064+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42065+fi
42066+
42067+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42068+fi
42069+
42070+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42071+   ac_c_werror_flag=$ac_save_c_werror_flag
42072+fi
42073+{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
42074+$as_echo "$ac_cv_prog_cc_g" >&6; }
42075+if test "$ac_test_CFLAGS" = set; then
42076+  CFLAGS=$ac_save_CFLAGS
42077+elif test $ac_cv_prog_cc_g = yes; then
42078+  if test "$GCC" = yes; then
42079+    CFLAGS="-g -O2"
42080+  else
42081+    CFLAGS="-g"
42082+  fi
42083+else
42084+  if test "$GCC" = yes; then
42085+    CFLAGS="-O2"
42086+  else
42087+    CFLAGS=
42088+  fi
42089+fi
42090+{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
42091+$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
42092+if test "${ac_cv_prog_cc_c89+set}" = set; then
42093+  $as_echo_n "(cached) " >&6
42094+else
42095+  ac_cv_prog_cc_c89=no
42096+ac_save_CC=$CC
42097+cat >conftest.$ac_ext <<_ACEOF
42098+/* confdefs.h.  */
42099+_ACEOF
42100+cat confdefs.h >>conftest.$ac_ext
42101+cat >>conftest.$ac_ext <<_ACEOF
42102+/* end confdefs.h.  */
42103+#include <stdarg.h>
42104+#include <stdio.h>
42105+#include <sys/types.h>
42106+#include <sys/stat.h>
42107+/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
42108+struct buf { int x; };
42109+FILE * (*rcsopen) (struct buf *, struct stat *, int);
42110+static char *e (p, i)
42111+     char **p;
42112+     int i;
42113+{
42114+  return p[i];
42115+}
42116+static char *f (char * (*g) (char **, int), char **p, ...)
42117+{
42118+  char *s;
42119+  va_list v;
42120+  va_start (v,p);
42121+  s = g (p, va_arg (v,int));
42122+  va_end (v);
42123+  return s;
42124+}
42125+
42126+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
42127+   function prototypes and stuff, but not '\xHH' hex character constants.
42128+   These don't provoke an error unfortunately, instead are silently treated
42129+   as 'x'.  The following induces an error, until -std is added to get
42130+   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
42131+   array size at least.  It's necessary to write '\x00'==0 to get something
42132+   that's true only with -std.  */
42133+int osf4_cc_array ['\x00' == 0 ? 1 : -1];
42134+
42135+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
42136+   inside strings and character constants.  */
42137+#define FOO(x) 'x'
42138+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
42139+
42140+int test (int i, double x);
42141+struct s1 {int (*f) (int a);};
42142+struct s2 {int (*f) (double a);};
42143+int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
42144+int argc;
42145+char **argv;
42146+int
42147+main ()
42148+{
42149+return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
42150+  ;
42151+  return 0;
42152+}
42153+_ACEOF
42154+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
42155+	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
42156+do
42157+  CC="$ac_save_CC $ac_arg"
42158+  rm -f conftest.$ac_objext
42159+if { (ac_try="$ac_compile"
42160+case "(($ac_try" in
42161+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42162+  *) ac_try_echo=$ac_try;;
42163+esac
42164+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
42165+$as_echo "$ac_try_echo") >&5
42166+  (eval "$ac_compile") 2>conftest.er1
42167+  ac_status=$?
42168+  grep -v '^ *+' conftest.er1 >conftest.err
42169+  rm -f conftest.er1
42170+  cat conftest.err >&5
42171+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
42172+  (exit $ac_status); } && {
42173+	 test -z "$ac_c_werror_flag" ||
42174+	 test ! -s conftest.err
42175+       } && test -s conftest.$ac_objext; then
42176+  ac_cv_prog_cc_c89=$ac_arg
42177+else
42178+  $as_echo "$as_me: failed program was:" >&5
42179+sed 's/^/| /' conftest.$ac_ext >&5
42180+
42181+
42182+fi
42183+
42184+rm -f core conftest.err conftest.$ac_objext
42185+  test "x$ac_cv_prog_cc_c89" != "xno" && break
42186+done
42187+rm -f conftest.$ac_ext
42188+CC=$ac_save_CC
42189+
42190+fi
42191+# AC_CACHE_VAL
42192+case "x$ac_cv_prog_cc_c89" in
42193+  x)
42194+    { $as_echo "$as_me:$LINENO: result: none needed" >&5
42195+$as_echo "none needed" >&6; } ;;
42196+  xno)
42197+    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
42198+$as_echo "unsupported" >&6; } ;;
42199+  *)
42200+    CC="$CC $ac_cv_prog_cc_c89"
42201+    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
42202+$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
42203+esac
42204+
42205+
42206+ac_ext=c
42207+ac_cpp='$CPP $CPPFLAGS'
42208+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42209+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42210+ac_compiler_gnu=$ac_cv_c_compiler_gnu
42211+
42212+depcc="$CC"   am_compiler_list=
42213+
42214+{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
42215+$as_echo_n "checking dependency style of $depcc... " >&6; }
42216+if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
42217+  $as_echo_n "(cached) " >&6
42218+else
42219+  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
42220+  # We make a subdir and do the tests there.  Otherwise we can end up
42221+  # making bogus files that we don't know about and never remove.  For
42222+  # instance it was reported that on HP-UX the gcc test will end up
42223+  # making a dummy file named `D' -- because `-MD' means `put the output
42224+  # in D'.
42225+  mkdir conftest.dir
42226+  # Copy depcomp to subdir because otherwise we won't find it if we're
42227+  # using a relative directory.
42228+  cp "$am_depcomp" conftest.dir
42229+  cd conftest.dir
42230+  # We will build objects and dependencies in a subdirectory because
42231+  # it helps to detect inapplicable dependency modes.  For instance
42232+  # both Tru64's cc and ICC support -MD to output dependencies as a
42233+  # side effect of compilation, but ICC will put the dependencies in
42234+  # the current directory while Tru64 will put them in the object
42235+  # directory.
42236+  mkdir sub
42237+
42238+  am_cv_CC_dependencies_compiler_type=none
42239+  if test "$am_compiler_list" = ""; then
42240+     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
42241+  fi
42242+  am__universal=false
42243+  case " $depcc " in #(
42244+     *\ -arch\ *\ -arch\ *) am__universal=true ;;
42245+     esac
42246+
42247+  for depmode in $am_compiler_list; do
42248+    # Setup a source with many dependencies, because some compilers
42249+    # like to wrap large dependency lists on column 80 (with \), and
42250+    # we should not choose a depcomp mode which is confused by this.
42251+    #
42252+    # We need to recreate these files for each test, as the compiler may
42253+    # overwrite some of them when testing with obscure command lines.
42254+    # This happens at least with the AIX C compiler.
42255+    : > sub/conftest.c
42256+    for i in 1 2 3 4 5 6; do
42257+      echo '#include "conftst'$i'.h"' >> sub/conftest.c
42258+      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
42259+      # Solaris 8's {/usr,}/bin/sh.
42260+      touch sub/conftst$i.h
42261+    done
42262+    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
42263+
42264+    # We check with `-c' and `-o' for the sake of the "dashmstdout"
42265+    # mode.  It turns out that the SunPro C++ compiler does not properly
42266+    # handle `-M -o', and we need to detect this.  Also, some Intel
42267+    # versions had trouble with output in subdirs
42268+    am__obj=sub/conftest.${OBJEXT-o}
42269+    am__minus_obj="-o $am__obj"
42270+    case $depmode in
42271+    gcc)
42272+      # This depmode causes a compiler race in universal mode.
42273+      test "$am__universal" = false || continue
42274+      ;;
42275+    nosideeffect)
42276+      # after this tag, mechanisms are not by side-effect, so they'll
42277+      # only be used when explicitly requested
42278+      if test "x$enable_dependency_tracking" = xyes; then
42279+	continue
42280+      else
42281+	break
42282+      fi
42283+      ;;
42284+    msvisualcpp | msvcmsys)
42285+      # This compiler won't grok `-c -o', but also, the minuso test has
42286+      # not run yet.  These depmodes are late enough in the game, and
42287+      # so weak that their functioning should not be impacted.
42288+      am__obj=conftest.${OBJEXT-o}
42289+      am__minus_obj=
42290+      ;;
42291+    none) break ;;
42292+    esac
42293+    if depmode=$depmode \
42294+       source=sub/conftest.c object=$am__obj \
42295+       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
42296+       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
42297+         >/dev/null 2>conftest.err &&
42298+       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
42299+       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
42300+       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
42301+       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
42302+      # icc doesn't choke on unknown options, it will just issue warnings
42303+      # or remarks (even with -Werror).  So we grep stderr for any message
42304+      # that says an option was ignored or not supported.
42305+      # When given -MP, icc 7.0 and 7.1 complain thusly:
42306+      #   icc: Command line warning: ignoring option '-M'; no argument required
42307+      # The diagnosis changed in icc 8.0:
42308+      #   icc: Command line remark: option '-MP' not supported
42309+      if (grep 'ignoring option' conftest.err ||
42310+          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
42311+        am_cv_CC_dependencies_compiler_type=$depmode
42312+        break
42313+      fi
42314+    fi
42315+  done
42316+
42317+  cd ..
42318+  rm -rf conftest.dir
42319+else
42320+  am_cv_CC_dependencies_compiler_type=none
42321+fi
42322+
42323+fi
42324+{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
42325+$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
42326+CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
42327+
42328+ if
42329+  test "x$enable_dependency_tracking" != xno \
42330+  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
42331+  am__fastdepCC_TRUE=
42332+  am__fastdepCC_FALSE='#'
42333+else
42334+  am__fastdepCC_TRUE='#'
42335+  am__fastdepCC_FALSE=
42336+fi
42337+
42338+
42339+# Find a good install program.  We prefer a C program (faster),
42340+# so one script is as good as another.  But avoid the broken or
42341+# incompatible versions:
42342+# SysV /etc/install, /usr/sbin/install
42343+# SunOS /usr/etc/install
42344+# IRIX /sbin/install
42345+# AIX /bin/install
42346+# AmigaOS /C/install, which installs bootblocks on floppy discs
42347+# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
42348+# AFS /usr/afsws/bin/install, which mishandles nonexistent args
42349+# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
42350+# OS/2's system install, which has a completely different semantic
42351+# ./install, which can be erroneously created by make from ./install.sh.
42352+# Reject install programs that cannot install multiple files.
42353+{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
42354+$as_echo_n "checking for a BSD-compatible install... " >&6; }
42355+if test -z "$INSTALL"; then
42356+if test "${ac_cv_path_install+set}" = set; then
42357+  $as_echo_n "(cached) " >&6
42358+else
42359+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42360+for as_dir in $PATH
42361+do
42362+  IFS=$as_save_IFS
42363+  test -z "$as_dir" && as_dir=.
42364+  # Account for people who put trailing slashes in PATH elements.
42365+case $as_dir/ in
42366+  ./ | .// | /cC/* | \
42367+  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
42368+  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
42369+  /usr/ucb/* ) ;;
42370+  *)
42371+    # OSF1 and SCO ODT 3.0 have their own names for install.
42372+    # Don't use installbsd from OSF since it installs stuff as root
42373+    # by default.
42374+    for ac_prog in ginstall scoinst install; do
42375+      for ac_exec_ext in '' $ac_executable_extensions; do
42376+	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
42377+	  if test $ac_prog = install &&
42378+	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
42379+	    # AIX install.  It has an incompatible calling convention.
42380+	    :
42381+	  elif test $ac_prog = install &&
42382+	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
42383+	    # program-specific install script used by HP pwplus--don't use.
42384+	    :
42385+	  else
42386+	    rm -rf conftest.one conftest.two conftest.dir
42387+	    echo one > conftest.one
42388+	    echo two > conftest.two
42389+	    mkdir conftest.dir
42390+	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
42391+	      test -s conftest.one && test -s conftest.two &&
42392+	      test -s conftest.dir/conftest.one &&
42393+	      test -s conftest.dir/conftest.two
42394+	    then
42395+	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
42396+	      break 3
42397+	    fi
42398+	  fi
42399+	fi
42400+      done
42401+    done
42402+    ;;
42403+esac
42404+
42405+done
42406+IFS=$as_save_IFS
42407+
42408+rm -rf conftest.one conftest.two conftest.dir
42409+
42410+fi
42411+  if test "${ac_cv_path_install+set}" = set; then
42412+    INSTALL=$ac_cv_path_install
42413+  else
42414+    # As a last resort, use the slow shell script.  Don't cache a
42415+    # value for INSTALL within a source directory, because that will
42416+    # break other packages using the cache if that directory is
42417+    # removed, or if the value is a relative name.
42418+    INSTALL=$ac_install_sh
42419+  fi
42420+fi
42421+{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
42422+$as_echo "$INSTALL" >&6; }
42423+
42424+# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
42425+# It thinks the first close brace ends the variable substitution.
42426+test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
42427+
42428+test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
42429+
42430+test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
42431+
42432+
42433+# Checks for libraries.
42434+
42435+# Checks for header files.
42436+{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
42437+$as_echo_n "checking for ANSI C header files... " >&6; }
42438+if test "${ac_cv_header_stdc+set}" = set; then
42439+  $as_echo_n "(cached) " >&6
42440+else
42441+  cat >conftest.$ac_ext <<_ACEOF
42442+/* confdefs.h.  */
42443+_ACEOF
42444+cat confdefs.h >>conftest.$ac_ext
42445+cat >>conftest.$ac_ext <<_ACEOF
42446+/* end confdefs.h.  */
42447+#include <stdlib.h>
42448+#include <stdarg.h>
42449+#include <string.h>
42450+#include <float.h>
42451+
42452+int
42453+main ()
42454+{
42455+
42456+  ;
42457+  return 0;
42458+}
42459+_ACEOF
42460+rm -f conftest.$ac_objext
42461+if { (ac_try="$ac_compile"
42462+case "(($ac_try" in
42463+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42464+  *) ac_try_echo=$ac_try;;
42465+esac
42466+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
42467+$as_echo "$ac_try_echo") >&5
42468+  (eval "$ac_compile") 2>conftest.er1
42469+  ac_status=$?
42470+  grep -v '^ *+' conftest.er1 >conftest.err
42471+  rm -f conftest.er1
42472+  cat conftest.err >&5
42473+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
42474+  (exit $ac_status); } && {
42475+	 test -z "$ac_c_werror_flag" ||
42476+	 test ! -s conftest.err
42477+       } && test -s conftest.$ac_objext; then
42478+  ac_cv_header_stdc=yes
42479+else
42480+  $as_echo "$as_me: failed program was:" >&5
42481+sed 's/^/| /' conftest.$ac_ext >&5
42482+
42483+	ac_cv_header_stdc=no
42484+fi
42485+
42486+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42487+
42488+if test $ac_cv_header_stdc = yes; then
42489+  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
42490+  cat >conftest.$ac_ext <<_ACEOF
42491+/* confdefs.h.  */
42492+_ACEOF
42493+cat confdefs.h >>conftest.$ac_ext
42494+cat >>conftest.$ac_ext <<_ACEOF
42495+/* end confdefs.h.  */
42496+#include <string.h>
42497+
42498+_ACEOF
42499+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
42500+  $EGREP "memchr" >/dev/null 2>&1; then
42501+  :
42502+else
42503+  ac_cv_header_stdc=no
42504+fi
42505+rm -f conftest*
42506+
42507+fi
42508+
42509+if test $ac_cv_header_stdc = yes; then
42510+  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
42511+  cat >conftest.$ac_ext <<_ACEOF
42512+/* confdefs.h.  */
42513+_ACEOF
42514+cat confdefs.h >>conftest.$ac_ext
42515+cat >>conftest.$ac_ext <<_ACEOF
42516+/* end confdefs.h.  */
42517+#include <stdlib.h>
42518+
42519+_ACEOF
42520+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
42521+  $EGREP "free" >/dev/null 2>&1; then
42522+  :
42523+else
42524+  ac_cv_header_stdc=no
42525+fi
42526+rm -f conftest*
42527+
42528+fi
42529+
42530+if test $ac_cv_header_stdc = yes; then
42531+  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
42532+  if test "$cross_compiling" = yes; then
42533+  :
42534+else
42535+  cat >conftest.$ac_ext <<_ACEOF
42536+/* confdefs.h.  */
42537+_ACEOF
42538+cat confdefs.h >>conftest.$ac_ext
42539+cat >>conftest.$ac_ext <<_ACEOF
42540+/* end confdefs.h.  */
42541+#include <ctype.h>
42542+#include <stdlib.h>
42543+#if ((' ' & 0x0FF) == 0x020)
42544+# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
42545+# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
42546+#else
42547+# define ISLOWER(c) \
42548+		   (('a' <= (c) && (c) <= 'i') \
42549+		     || ('j' <= (c) && (c) <= 'r') \
42550+		     || ('s' <= (c) && (c) <= 'z'))
42551+# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
42552+#endif
42553+
42554+#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
42555+int
42556+main ()
42557+{
42558+  int i;
42559+  for (i = 0; i < 256; i++)
42560+    if (XOR (islower (i), ISLOWER (i))
42561+	|| toupper (i) != TOUPPER (i))
42562+      return 2;
42563+  return 0;
42564+}
42565+_ACEOF
42566+rm -f conftest$ac_exeext
42567+if { (ac_try="$ac_link"
42568+case "(($ac_try" in
42569+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42570+  *) ac_try_echo=$ac_try;;
42571+esac
42572+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
42573+$as_echo "$ac_try_echo") >&5
42574+  (eval "$ac_link") 2>&5
42575+  ac_status=$?
42576+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
42577+  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42578+  { (case "(($ac_try" in
42579+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42580+  *) ac_try_echo=$ac_try;;
42581+esac
42582+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
42583+$as_echo "$ac_try_echo") >&5
42584+  (eval "$ac_try") 2>&5
42585+  ac_status=$?
42586+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
42587+  (exit $ac_status); }; }; then
42588+  :
42589+else
42590+  $as_echo "$as_me: program exited with status $ac_status" >&5
42591+$as_echo "$as_me: failed program was:" >&5
42592+sed 's/^/| /' conftest.$ac_ext >&5
42593+
42594+( exit $ac_status )
42595+ac_cv_header_stdc=no
42596+fi
42597+rm -rf conftest.dSYM
42598+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42599+fi
42600+
42601+
42602+fi
42603+fi
42604+{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
42605+$as_echo "$ac_cv_header_stdc" >&6; }
42606+if test $ac_cv_header_stdc = yes; then
42607+
42608+cat >>confdefs.h <<\_ACEOF
42609+#define STDC_HEADERS 1
42610+_ACEOF
42611+
42612+fi
42613+
42614+
42615+
42616+
42617+
42618+
42619+
42620+for ac_header in stdlib.h string.h sys/time.h sys/types.h unistd.h winsock.h
42621+do
42622+as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
42623+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
42624+  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
42625+$as_echo_n "checking for $ac_header... " >&6; }
42626+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
42627+  $as_echo_n "(cached) " >&6
42628+fi
42629+ac_res=`eval 'as_val=${'$as_ac_Header'}
42630+		 $as_echo "$as_val"'`
42631+	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
42632+$as_echo "$ac_res" >&6; }
42633+else
42634+  # Is the header compilable?
42635+{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
42636+$as_echo_n "checking $ac_header usability... " >&6; }
42637+cat >conftest.$ac_ext <<_ACEOF
42638+/* confdefs.h.  */
42639+_ACEOF
42640+cat confdefs.h >>conftest.$ac_ext
42641+cat >>conftest.$ac_ext <<_ACEOF
42642+/* end confdefs.h.  */
42643+$ac_includes_default
42644+#include <$ac_header>
42645+_ACEOF
42646+rm -f conftest.$ac_objext
42647+if { (ac_try="$ac_compile"
42648+case "(($ac_try" in
42649+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42650+  *) ac_try_echo=$ac_try;;
42651+esac
42652+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
42653+$as_echo "$ac_try_echo") >&5
42654+  (eval "$ac_compile") 2>conftest.er1
42655+  ac_status=$?
42656+  grep -v '^ *+' conftest.er1 >conftest.err
42657+  rm -f conftest.er1
42658+  cat conftest.err >&5
42659+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
42660+  (exit $ac_status); } && {
42661+	 test -z "$ac_c_werror_flag" ||
42662+	 test ! -s conftest.err
42663+       } && test -s conftest.$ac_objext; then
42664+  ac_header_compiler=yes
42665+else
42666+  $as_echo "$as_me: failed program was:" >&5
42667+sed 's/^/| /' conftest.$ac_ext >&5
42668+
42669+	ac_header_compiler=no
42670+fi
42671+
42672+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42673+{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
42674+$as_echo "$ac_header_compiler" >&6; }
42675+
42676+# Is the header present?
42677+{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
42678+$as_echo_n "checking $ac_header presence... " >&6; }
42679+cat >conftest.$ac_ext <<_ACEOF
42680+/* confdefs.h.  */
42681+_ACEOF
42682+cat confdefs.h >>conftest.$ac_ext
42683+cat >>conftest.$ac_ext <<_ACEOF
42684+/* end confdefs.h.  */
42685+#include <$ac_header>
42686+_ACEOF
42687+if { (ac_try="$ac_cpp conftest.$ac_ext"
42688+case "(($ac_try" in
42689+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42690+  *) ac_try_echo=$ac_try;;
42691+esac
42692+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
42693+$as_echo "$ac_try_echo") >&5
42694+  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
42695+  ac_status=$?
42696+  grep -v '^ *+' conftest.er1 >conftest.err
42697+  rm -f conftest.er1
42698+  cat conftest.err >&5
42699+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
42700+  (exit $ac_status); } >/dev/null && {
42701+	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
42702+	 test ! -s conftest.err
42703+       }; then
42704+  ac_header_preproc=yes
42705+else
42706+  $as_echo "$as_me: failed program was:" >&5
42707+sed 's/^/| /' conftest.$ac_ext >&5
42708+
42709+  ac_header_preproc=no
42710+fi
42711+
42712+rm -f conftest.err conftest.$ac_ext
42713+{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
42714+$as_echo "$ac_header_preproc" >&6; }
42715+
42716+# So?  What about this header?
42717+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
42718+  yes:no: )
42719+    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
42720+$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
42721+    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
42722+$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
42723+    ac_header_preproc=yes
42724+    ;;
42725+  no:yes:* )
42726+    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
42727+$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
42728+    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
42729+$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
42730+    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
42731+$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
42732+    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
42733+$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
42734+    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
42735+$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
42736+    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
42737+$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
42738+    ( cat <<\_ASBOX
42739+## --------------------------------- ##
42740+## Report this to BUG-REPORT-ADDRESS ##
42741+## --------------------------------- ##
42742+_ASBOX
42743+     ) | sed "s/^/$as_me: WARNING:     /" >&2
42744+    ;;
42745+esac
42746+{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
42747+$as_echo_n "checking for $ac_header... " >&6; }
42748+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
42749+  $as_echo_n "(cached) " >&6
42750+else
42751+  eval "$as_ac_Header=\$ac_header_preproc"
42752+fi
42753+ac_res=`eval 'as_val=${'$as_ac_Header'}
42754+		 $as_echo "$as_val"'`
42755+	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
42756+$as_echo "$ac_res" >&6; }
42757+
42758+fi
42759+as_val=`eval 'as_val=${'$as_ac_Header'}
42760+		 $as_echo "$as_val"'`
42761+   if test "x$as_val" = x""yes; then
42762+  cat >>confdefs.h <<_ACEOF
42763+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
42764+_ACEOF
42765+
42766+fi
42767+
42768+done
42769+
42770+
42771+# Checks for typedefs, structures, and compiler characteristics.
42772+{ $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
42773+$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
42774+if test "${ac_cv_c_const+set}" = set; then
42775+  $as_echo_n "(cached) " >&6
42776+else
42777+  cat >conftest.$ac_ext <<_ACEOF
42778+/* confdefs.h.  */
42779+_ACEOF
42780+cat confdefs.h >>conftest.$ac_ext
42781+cat >>conftest.$ac_ext <<_ACEOF
42782+/* end confdefs.h.  */
42783+
42784+int
42785+main ()
42786+{
42787+/* FIXME: Include the comments suggested by Paul. */
42788+#ifndef __cplusplus
42789+  /* Ultrix mips cc rejects this.  */
42790+  typedef int charset[2];
42791+  const charset cs;
42792+  /* SunOS 4.1.1 cc rejects this.  */
42793+  char const *const *pcpcc;
42794+  char **ppc;
42795+  /* NEC SVR4.0.2 mips cc rejects this.  */
42796+  struct point {int x, y;};
42797+  static struct point const zero = {0,0};
42798+  /* AIX XL C 1.02.0.0 rejects this.
42799+     It does not let you subtract one const X* pointer from another in
42800+     an arm of an if-expression whose if-part is not a constant
42801+     expression */
42802+  const char *g = "string";
42803+  pcpcc = &g + (g ? g-g : 0);
42804+  /* HPUX 7.0 cc rejects these. */
42805+  ++pcpcc;
42806+  ppc = (char**) pcpcc;
42807+  pcpcc = (char const *const *) ppc;
42808+  { /* SCO 3.2v4 cc rejects this.  */
42809+    char *t;
42810+    char const *s = 0 ? (char *) 0 : (char const *) 0;
42811+
42812+    *t++ = 0;
42813+    if (s) return 0;
42814+  }
42815+  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
42816+    int x[] = {25, 17};
42817+    const int *foo = &x[0];
42818+    ++foo;
42819+  }
42820+  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
42821+    typedef const int *iptr;
42822+    iptr p = 0;
42823+    ++p;
42824+  }
42825+  { /* AIX XL C 1.02.0.0 rejects this saying
42826+       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
42827+    struct s { int j; const int *ap[3]; };
42828+    struct s *b; b->j = 5;
42829+  }
42830+  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
42831+    const int foo = 10;
42832+    if (!foo) return 0;
42833+  }
42834+  return !cs[0] && !zero.x;
42835+#endif
42836+
42837+  ;
42838+  return 0;
42839+}
42840+_ACEOF
42841+rm -f conftest.$ac_objext
42842+if { (ac_try="$ac_compile"
42843+case "(($ac_try" in
42844+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42845+  *) ac_try_echo=$ac_try;;
42846+esac
42847+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
42848+$as_echo "$ac_try_echo") >&5
42849+  (eval "$ac_compile") 2>conftest.er1
42850+  ac_status=$?
42851+  grep -v '^ *+' conftest.er1 >conftest.err
42852+  rm -f conftest.er1
42853+  cat conftest.err >&5
42854+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
42855+  (exit $ac_status); } && {
42856+	 test -z "$ac_c_werror_flag" ||
42857+	 test ! -s conftest.err
42858+       } && test -s conftest.$ac_objext; then
42859+  ac_cv_c_const=yes
42860+else
42861+  $as_echo "$as_me: failed program was:" >&5
42862+sed 's/^/| /' conftest.$ac_ext >&5
42863+
42864+	ac_cv_c_const=no
42865+fi
42866+
42867+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42868+fi
42869+{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
42870+$as_echo "$ac_cv_c_const" >&6; }
42871+if test $ac_cv_c_const = no; then
42872+
42873+cat >>confdefs.h <<\_ACEOF
42874+#define const /**/
42875+_ACEOF
42876+
42877+fi
42878+
42879+
42880+# Checks for library functions.
42881+
42882+ac_config_files="$ac_config_files Makefile"
42883+
42884+cat >confcache <<\_ACEOF
42885+# This file is a shell script that caches the results of configure
42886+# tests run on this system so they can be shared between configure
42887+# scripts and configure runs, see configure's option --config-cache.
42888+# It is not useful on other systems.  If it contains results you don't
42889+# want to keep, you may remove or edit it.
42890+#
42891+# config.status only pays attention to the cache file if you give it
42892+# the --recheck option to rerun configure.
42893+#
42894+# `ac_cv_env_foo' variables (set or unset) will be overridden when
42895+# loading this file, other *unset* `ac_cv_foo' will be assigned the
42896+# following values.
42897+
42898+_ACEOF
42899+
42900+# The following way of writing the cache mishandles newlines in values,
42901+# but we know of no workaround that is simple, portable, and efficient.
42902+# So, we kill variables containing newlines.
42903+# Ultrix sh set writes to stderr and can't be redirected directly,
42904+# and sets the high bit in the cache file unless we assign to the vars.
42905+(
42906+  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
42907+    eval ac_val=\$$ac_var
42908+    case $ac_val in #(
42909+    *${as_nl}*)
42910+      case $ac_var in #(
42911+      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
42912+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
42913+      esac
42914+      case $ac_var in #(
42915+      _ | IFS | as_nl) ;; #(
42916+      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
42917+      *) $as_unset $ac_var ;;
42918+      esac ;;
42919+    esac
42920+  done
42921+
42922+  (set) 2>&1 |
42923+    case $as_nl`(ac_space=' '; set) 2>&1` in #(
42924+    *${as_nl}ac_space=\ *)
42925+      # `set' does not quote correctly, so add quotes (double-quote
42926+      # substitution turns \\\\ into \\, and sed turns \\ into \).
42927+      sed -n \
42928+	"s/'/'\\\\''/g;
42929+	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
42930+      ;; #(
42931+    *)
42932+      # `set' quotes correctly as required by POSIX, so do not add quotes.
42933+      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
42934+      ;;
42935+    esac |
42936+    sort
42937+) |
42938+  sed '
42939+     /^ac_cv_env_/b end
42940+     t clear
42941+     :clear
42942+     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
42943+     t end
42944+     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
42945+     :end' >>confcache
42946+if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
42947+  if test -w "$cache_file"; then
42948+    test "x$cache_file" != "x/dev/null" &&
42949+      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
42950+$as_echo "$as_me: updating cache $cache_file" >&6;}
42951+    cat confcache >$cache_file
42952+  else
42953+    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
42954+$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
42955+  fi
42956+fi
42957+rm -f confcache
42958+
42959+test "x$prefix" = xNONE && prefix=$ac_default_prefix
42960+# Let make expand exec_prefix.
42961+test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
42962+
42963+# Transform confdefs.h into DEFS.
42964+# Protect against shell expansion while executing Makefile rules.
42965+# Protect against Makefile macro expansion.
42966+#
42967+# If the first sed substitution is executed (which looks for macros that
42968+# take arguments), then branch to the quote section.  Otherwise,
42969+# look for a macro that doesn't take arguments.
42970+ac_script='
42971+:mline
42972+/\\$/{
42973+ N
42974+ s,\\\n,,
42975+ b mline
42976+}
42977+t clear
42978+:clear
42979+s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
42980+t quote
42981+s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
42982+t quote
42983+b any
42984+:quote
42985+s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
42986+s/\[/\\&/g
42987+s/\]/\\&/g
42988+s/\$/$$/g
42989+H
42990+:any
42991+${
42992+	g
42993+	s/^\n//
42994+	s/\n/ /g
42995+	p
42996+}
42997+'
42998+DEFS=`sed -n "$ac_script" confdefs.h`
42999+
43000+
43001+ac_libobjs=
43002+ac_ltlibobjs=
43003+for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
43004+  # 1. Remove the extension, and $U if already installed.
43005+  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
43006+  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
43007+  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
43008+  #    will be set to the directory where LIBOBJS objects are built.
43009+  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
43010+  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
43011+done
43012+LIBOBJS=$ac_libobjs
43013+
43014+LTLIBOBJS=$ac_ltlibobjs
43015+
43016+
43017+ if test -n "$EXEEXT"; then
43018+  am__EXEEXT_TRUE=
43019+  am__EXEEXT_FALSE='#'
43020+else
43021+  am__EXEEXT_TRUE='#'
43022+  am__EXEEXT_FALSE=
43023+fi
43024+
43025+if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
43026+  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
43027+Usually this means the macro was only invoked conditionally." >&5
43028+$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
43029+Usually this means the macro was only invoked conditionally." >&2;}
43030+   { (exit 1); exit 1; }; }
43031+fi
43032+if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
43033+  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
43034+Usually this means the macro was only invoked conditionally." >&5
43035+$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
43036+Usually this means the macro was only invoked conditionally." >&2;}
43037+   { (exit 1); exit 1; }; }
43038+fi
43039+if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
43040+  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
43041+Usually this means the macro was only invoked conditionally." >&5
43042+$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
43043+Usually this means the macro was only invoked conditionally." >&2;}
43044+   { (exit 1); exit 1; }; }
43045+fi
43046+
43047+: ${CONFIG_STATUS=./config.status}
43048+ac_write_fail=0
43049+ac_clean_files_save=$ac_clean_files
43050+ac_clean_files="$ac_clean_files $CONFIG_STATUS"
43051+{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
43052+$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
43053+cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
43054+#! $SHELL
43055+# Generated by $as_me.
43056+# Run this file to recreate the current configuration.
43057+# Compiler output produced by configure, useful for debugging
43058+# configure, is in config.log if it exists.
43059+
43060+debug=false
43061+ac_cs_recheck=false
43062+ac_cs_silent=false
43063+SHELL=\${CONFIG_SHELL-$SHELL}
43064+_ACEOF
43065+
43066+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
43067+## --------------------- ##
43068+## M4sh Initialization.  ##
43069+## --------------------- ##
43070+
43071+# Be more Bourne compatible
43072+DUALCASE=1; export DUALCASE # for MKS sh
43073+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
43074+  emulate sh
43075+  NULLCMD=:
43076+  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
43077+  # is contrary to our usage.  Disable this feature.
43078+  alias -g '${1+"$@"}'='"$@"'
43079+  setopt NO_GLOB_SUBST
43080+else
43081+  case `(set -o) 2>/dev/null` in
43082+  *posix*) set -o posix ;;
43083+esac
43084+
43085+fi
43086+
43087+
43088+
43089+
43090+# PATH needs CR
43091+# Avoid depending upon Character Ranges.
43092+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
43093+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
43094+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
43095+as_cr_digits='0123456789'
43096+as_cr_alnum=$as_cr_Letters$as_cr_digits
43097+
43098+as_nl='
43099+'
43100+export as_nl
43101+# Printing a long string crashes Solaris 7 /usr/bin/printf.
43102+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43103+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
43104+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43105+if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
43106+  as_echo='printf %s\n'
43107+  as_echo_n='printf %s'
43108+else
43109+  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
43110+    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
43111+    as_echo_n='/usr/ucb/echo -n'
43112+  else
43113+    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
43114+    as_echo_n_body='eval
43115+      arg=$1;
43116+      case $arg in
43117+      *"$as_nl"*)
43118+	expr "X$arg" : "X\\(.*\\)$as_nl";
43119+	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
43120+      esac;
43121+      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
43122+    '
43123+    export as_echo_n_body
43124+    as_echo_n='sh -c $as_echo_n_body as_echo'
43125+  fi
43126+  export as_echo_body
43127+  as_echo='sh -c $as_echo_body as_echo'
43128+fi
43129+
43130+# The user is always right.
43131+if test "${PATH_SEPARATOR+set}" != set; then
43132+  PATH_SEPARATOR=:
43133+  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
43134+    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
43135+      PATH_SEPARATOR=';'
43136+  }
43137+fi
43138+
43139+# Support unset when possible.
43140+if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
43141+  as_unset=unset
43142+else
43143+  as_unset=false
43144+fi
43145+
43146+
43147+# IFS
43148+# We need space, tab and new line, in precisely that order.  Quoting is
43149+# there to prevent editors from complaining about space-tab.
43150+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
43151+# splitting by setting IFS to empty value.)
43152+IFS=" ""	$as_nl"
43153+
43154+# Find who we are.  Look in the path if we contain no directory separator.
43155+case $0 in
43156+  *[\\/]* ) as_myself=$0 ;;
43157+  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43158+for as_dir in $PATH
43159+do
43160+  IFS=$as_save_IFS
43161+  test -z "$as_dir" && as_dir=.
43162+  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
43163+done
43164+IFS=$as_save_IFS
43165+
43166+     ;;
43167+esac
43168+# We did not find ourselves, most probably we were run as `sh COMMAND'
43169+# in which case we are not to be found in the path.
43170+if test "x$as_myself" = x; then
43171+  as_myself=$0
43172+fi
43173+if test ! -f "$as_myself"; then
43174+  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
43175+  { (exit 1); exit 1; }
43176+fi
43177+
43178+# Work around bugs in pre-3.0 UWIN ksh.
43179+for as_var in ENV MAIL MAILPATH
43180+do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
43181+done
43182+PS1='$ '
43183+PS2='> '
43184+PS4='+ '
43185+
43186+# NLS nuisances.
43187+LC_ALL=C
43188+export LC_ALL
43189+LANGUAGE=C
43190+export LANGUAGE
43191+
43192+# Required to use basename.
43193+if expr a : '\(a\)' >/dev/null 2>&1 &&
43194+   test "X`expr 00001 : '.*\(...\)'`" = X001; then
43195+  as_expr=expr
43196+else
43197+  as_expr=false
43198+fi
43199+
43200+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
43201+  as_basename=basename
43202+else
43203+  as_basename=false
43204+fi
43205+
43206+
43207+# Name of the executable.
43208+as_me=`$as_basename -- "$0" ||
43209+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
43210+	 X"$0" : 'X\(//\)$' \| \
43211+	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
43212+$as_echo X/"$0" |
43213+    sed '/^.*\/\([^/][^/]*\)\/*$/{
43214+	    s//\1/
43215+	    q
43216+	  }
43217+	  /^X\/\(\/\/\)$/{
43218+	    s//\1/
43219+	    q
43220+	  }
43221+	  /^X\/\(\/\).*/{
43222+	    s//\1/
43223+	    q
43224+	  }
43225+	  s/.*/./; q'`
43226+
43227+# CDPATH.
43228+$as_unset CDPATH
43229+
43230+
43231+
43232+  as_lineno_1=$LINENO
43233+  as_lineno_2=$LINENO
43234+  test "x$as_lineno_1" != "x$as_lineno_2" &&
43235+  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
43236+
43237+  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
43238+  # uniformly replaced by the line number.  The first 'sed' inserts a
43239+  # line-number line after each line using $LINENO; the second 'sed'
43240+  # does the real work.  The second script uses 'N' to pair each
43241+  # line-number line with the line containing $LINENO, and appends
43242+  # trailing '-' during substitution so that $LINENO is not a special
43243+  # case at line end.
43244+  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
43245+  # scripts with optimization help from Paolo Bonzini.  Blame Lee
43246+  # E. McMahon (1931-1989) for sed's syntax.  :-)
43247+  sed -n '
43248+    p
43249+    /[$]LINENO/=
43250+  ' <$as_myself |
43251+    sed '
43252+      s/[$]LINENO.*/&-/
43253+      t lineno
43254+      b
43255+      :lineno
43256+      N
43257+      :loop
43258+      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
43259+      t loop
43260+      s/-\n.*//
43261+    ' >$as_me.lineno &&
43262+  chmod +x "$as_me.lineno" ||
43263+    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
43264+   { (exit 1); exit 1; }; }
43265+
43266+  # Don't try to exec as it changes $[0], causing all sort of problems
43267+  # (the dirname of $[0] is not the place where we might find the
43268+  # original and so on.  Autoconf is especially sensitive to this).
43269+  . "./$as_me.lineno"
43270+  # Exit status is that of the last command.
43271+  exit
43272+}
43273+
43274+
43275+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
43276+  as_dirname=dirname
43277+else
43278+  as_dirname=false
43279+fi
43280+
43281+ECHO_C= ECHO_N= ECHO_T=
43282+case `echo -n x` in
43283+-n*)
43284+  case `echo 'x\c'` in
43285+  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
43286+  *)   ECHO_C='\c';;
43287+  esac;;
43288+*)
43289+  ECHO_N='-n';;
43290+esac
43291+if expr a : '\(a\)' >/dev/null 2>&1 &&
43292+   test "X`expr 00001 : '.*\(...\)'`" = X001; then
43293+  as_expr=expr
43294+else
43295+  as_expr=false
43296+fi
43297+
43298+rm -f conf$$ conf$$.exe conf$$.file
43299+if test -d conf$$.dir; then
43300+  rm -f conf$$.dir/conf$$.file
43301+else
43302+  rm -f conf$$.dir
43303+  mkdir conf$$.dir 2>/dev/null
43304+fi
43305+if (echo >conf$$.file) 2>/dev/null; then
43306+  if ln -s conf$$.file conf$$ 2>/dev/null; then
43307+    as_ln_s='ln -s'
43308+    # ... but there are two gotchas:
43309+    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
43310+    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
43311+    # In both cases, we have to default to `cp -p'.
43312+    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
43313+      as_ln_s='cp -p'
43314+  elif ln conf$$.file conf$$ 2>/dev/null; then
43315+    as_ln_s=ln
43316+  else
43317+    as_ln_s='cp -p'
43318+  fi
43319+else
43320+  as_ln_s='cp -p'
43321+fi
43322+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
43323+rmdir conf$$.dir 2>/dev/null
43324+
43325+if mkdir -p . 2>/dev/null; then
43326+  as_mkdir_p=:
43327+else
43328+  test -d ./-p && rmdir ./-p
43329+  as_mkdir_p=false
43330+fi
43331+
43332+if test -x / >/dev/null 2>&1; then
43333+  as_test_x='test -x'
43334+else
43335+  if ls -dL / >/dev/null 2>&1; then
43336+    as_ls_L_option=L
43337+  else
43338+    as_ls_L_option=
43339+  fi
43340+  as_test_x='
43341+    eval sh -c '\''
43342+      if test -d "$1"; then
43343+	test -d "$1/.";
43344+      else
43345+	case $1 in
43346+	-*)set "./$1";;
43347+	esac;
43348+	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
43349+	???[sx]*):;;*)false;;esac;fi
43350+    '\'' sh
43351+  '
43352+fi
43353+as_executable_p=$as_test_x
43354+
43355+# Sed expression to map a string onto a valid CPP name.
43356+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
43357+
43358+# Sed expression to map a string onto a valid variable name.
43359+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
43360+
43361+
43362+exec 6>&1
43363+
43364+# Save the log message, to keep $[0] and so on meaningful, and to
43365+# report actual input values of CONFIG_FILES etc. instead of their
43366+# values after options handling.
43367+ac_log="
43368+This file was extended by FULL-PACKAGE-NAME $as_me VERSION, which was
43369+generated by GNU Autoconf 2.63.  Invocation command line was
43370+
43371+  CONFIG_FILES    = $CONFIG_FILES
43372+  CONFIG_HEADERS  = $CONFIG_HEADERS
43373+  CONFIG_LINKS    = $CONFIG_LINKS
43374+  CONFIG_COMMANDS = $CONFIG_COMMANDS
43375+  $ $0 $@
43376+
43377+on `(hostname || uname -n) 2>/dev/null | sed 1q`
43378+"
43379+
43380+_ACEOF
43381+
43382+case $ac_config_files in *"
43383+"*) set x $ac_config_files; shift; ac_config_files=$*;;
43384+esac
43385+
43386+
43387+
43388+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
43389+# Files that config.status was made for.
43390+config_files="$ac_config_files"
43391+config_commands="$ac_config_commands"
43392+
43393+_ACEOF
43394+
43395+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
43396+ac_cs_usage="\
43397+\`$as_me' instantiates files from templates according to the
43398+current configuration.
43399+
43400+Usage: $0 [OPTION]... [FILE]...
43401+
43402+  -h, --help       print this help, then exit
43403+  -V, --version    print version number and configuration settings, then exit
43404+  -q, --quiet, --silent
43405+                   do not print progress messages
43406+  -d, --debug      don't remove temporary files
43407+      --recheck    update $as_me by reconfiguring in the same conditions
43408+      --file=FILE[:TEMPLATE]
43409+                   instantiate the configuration file FILE
43410+
43411+Configuration files:
43412+$config_files
43413+
43414+Configuration commands:
43415+$config_commands
43416+
43417+Report bugs to <bug-autoconf@gnu.org>."
43418+
43419+_ACEOF
43420+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
43421+ac_cs_version="\\
43422+FULL-PACKAGE-NAME config.status VERSION
43423+configured by $0, generated by GNU Autoconf 2.63,
43424+  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
43425+
43426+Copyright (C) 2008 Free Software Foundation, Inc.
43427+This config.status script is free software; the Free Software Foundation
43428+gives unlimited permission to copy, distribute and modify it."
43429+
43430+ac_pwd='$ac_pwd'
43431+srcdir='$srcdir'
43432+INSTALL='$INSTALL'
43433+MKDIR_P='$MKDIR_P'
43434+AWK='$AWK'
43435+test -n "\$AWK" || AWK=awk
43436+_ACEOF
43437+
43438+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
43439+# The default lists apply if the user does not specify any file.
43440+ac_need_defaults=:
43441+while test $# != 0
43442+do
43443+  case $1 in
43444+  --*=*)
43445+    ac_option=`expr "X$1" : 'X\([^=]*\)='`
43446+    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
43447+    ac_shift=:
43448+    ;;
43449+  *)
43450+    ac_option=$1
43451+    ac_optarg=$2
43452+    ac_shift=shift
43453+    ;;
43454+  esac
43455+
43456+  case $ac_option in
43457+  # Handling of the options.
43458+  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
43459+    ac_cs_recheck=: ;;
43460+  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
43461+    $as_echo "$ac_cs_version"; exit ;;
43462+  --debug | --debu | --deb | --de | --d | -d )
43463+    debug=: ;;
43464+  --file | --fil | --fi | --f )
43465+    $ac_shift
43466+    case $ac_optarg in
43467+    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
43468+    esac
43469+    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
43470+    ac_need_defaults=false;;
43471+  --he | --h |  --help | --hel | -h )
43472+    $as_echo "$ac_cs_usage"; exit ;;
43473+  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
43474+  | -silent | --silent | --silen | --sile | --sil | --si | --s)
43475+    ac_cs_silent=: ;;
43476+
43477+  # This is an error.
43478+  -*) { $as_echo "$as_me: error: unrecognized option: $1
43479+Try \`$0 --help' for more information." >&2
43480+   { (exit 1); exit 1; }; } ;;
43481+
43482+  *) ac_config_targets="$ac_config_targets $1"
43483+     ac_need_defaults=false ;;
43484+
43485+  esac
43486+  shift
43487+done
43488+
43489+ac_configure_extra_args=
43490+
43491+if $ac_cs_silent; then
43492+  exec 6>/dev/null
43493+  ac_configure_extra_args="$ac_configure_extra_args --silent"
43494+fi
43495+
43496+_ACEOF
43497+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
43498+if \$ac_cs_recheck; then
43499+  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
43500+  shift
43501+  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
43502+  CONFIG_SHELL='$SHELL'
43503+  export CONFIG_SHELL
43504+  exec "\$@"
43505+fi
43506+
43507+_ACEOF
43508+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
43509+exec 5>>config.log
43510+{
43511+  echo
43512+  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
43513+## Running $as_me. ##
43514+_ASBOX
43515+  $as_echo "$ac_log"
43516+} >&5
43517+
43518+_ACEOF
43519+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
43520+#
43521+# INIT-COMMANDS
43522+#
43523+AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
43524+
43525+
43526+# The HP-UX ksh and POSIX shell print the target directory to stdout
43527+# if CDPATH is set.
43528+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
43529+
43530+sed_quote_subst='$sed_quote_subst'
43531+double_quote_subst='$double_quote_subst'
43532+delay_variable_subst='$delay_variable_subst'
43533+enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
43534+macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
43535+macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
43536+enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
43537+pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
43538+enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
43539+host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
43540+host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
43541+host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
43542+build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
43543+build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
43544+build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
43545+SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
43546+Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
43547+GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
43548+EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
43549+FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
43550+LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
43551+NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
43552+LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
43553+max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
43554+ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
43555+exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
43556+lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
43557+lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
43558+lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
43559+reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
43560+reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
43561+OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
43562+deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
43563+file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
43564+AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
43565+AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
43566+STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
43567+RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
43568+old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
43569+old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
43570+old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
43571+CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
43572+CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
43573+compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
43574+GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
43575+lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
43576+lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
43577+lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
43578+lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
43579+objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
43580+SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
43581+ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
43582+MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
43583+lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
43584+lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
43585+lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
43586+lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
43587+lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
43588+need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
43589+DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
43590+NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
43591+LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
43592+OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
43593+OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
43594+libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
43595+shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
43596+extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
43597+archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
43598+enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
43599+export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
43600+whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
43601+compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
43602+old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
43603+old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
43604+archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
43605+archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
43606+module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
43607+module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
43608+with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
43609+allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
43610+no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
43611+hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
43612+hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
43613+hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
43614+hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
43615+hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
43616+hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
43617+hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
43618+hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
43619+inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
43620+link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
43621+fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
43622+always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
43623+export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
43624+exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
43625+include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
43626+prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
43627+file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
43628+variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
43629+need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
43630+need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
43631+version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
43632+runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
43633+shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
43634+shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
43635+libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
43636+library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
43637+soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
43638+postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
43639+postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
43640+finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
43641+finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
43642+hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
43643+sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
43644+sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
43645+hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
43646+enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
43647+enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
43648+enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
43649+old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
43650+striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
43651+
43652+LTCC='$LTCC'
43653+LTCFLAGS='$LTCFLAGS'
43654+compiler='$compiler_DEFAULT'
43655+
43656+# Quote evaled strings.
43657+for var in SED \
43658+GREP \
43659+EGREP \
43660+FGREP \
43661+LD \
43662+NM \
43663+LN_S \
43664+lt_SP2NL \
43665+lt_NL2SP \
43666+reload_flag \
43667+OBJDUMP \
43668+deplibs_check_method \
43669+file_magic_cmd \
43670+AR \
43671+AR_FLAGS \
43672+STRIP \
43673+RANLIB \
43674+CC \
43675+CFLAGS \
43676+compiler \
43677+lt_cv_sys_global_symbol_pipe \
43678+lt_cv_sys_global_symbol_to_cdecl \
43679+lt_cv_sys_global_symbol_to_c_name_address \
43680+lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
43681+SHELL \
43682+ECHO \
43683+lt_prog_compiler_no_builtin_flag \
43684+lt_prog_compiler_wl \
43685+lt_prog_compiler_pic \
43686+lt_prog_compiler_static \
43687+lt_cv_prog_compiler_c_o \
43688+need_locks \
43689+DSYMUTIL \
43690+NMEDIT \
43691+LIPO \
43692+OTOOL \
43693+OTOOL64 \
43694+shrext_cmds \
43695+export_dynamic_flag_spec \
43696+whole_archive_flag_spec \
43697+compiler_needs_object \
43698+with_gnu_ld \
43699+allow_undefined_flag \
43700+no_undefined_flag \
43701+hardcode_libdir_flag_spec \
43702+hardcode_libdir_flag_spec_ld \
43703+hardcode_libdir_separator \
43704+fix_srcfile_path \
43705+exclude_expsyms \
43706+include_expsyms \
43707+file_list_spec \
43708+variables_saved_for_relink \
43709+libname_spec \
43710+library_names_spec \
43711+soname_spec \
43712+finish_eval \
43713+old_striplib \
43714+striplib; do
43715+    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
43716+    *[\\\\\\\`\\"\\\$]*)
43717+      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
43718+      ;;
43719+    *)
43720+      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
43721+      ;;
43722+    esac
43723+done
43724+
43725+# Double-quote double-evaled strings.
43726+for var in reload_cmds \
43727+old_postinstall_cmds \
43728+old_postuninstall_cmds \
43729+old_archive_cmds \
43730+extract_expsyms_cmds \
43731+old_archive_from_new_cmds \
43732+old_archive_from_expsyms_cmds \
43733+archive_cmds \
43734+archive_expsym_cmds \
43735+module_cmds \
43736+module_expsym_cmds \
43737+export_symbols_cmds \
43738+prelink_cmds \
43739+postinstall_cmds \
43740+postuninstall_cmds \
43741+finish_cmds \
43742+sys_lib_search_path_spec \
43743+sys_lib_dlsearch_path_spec; do
43744+    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
43745+    *[\\\\\\\`\\"\\\$]*)
43746+      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
43747+      ;;
43748+    *)
43749+      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
43750+      ;;
43751+    esac
43752+done
43753+
43754+# Fix-up fallback echo if it was mangled by the above quoting rules.
43755+case \$lt_ECHO in
43756+*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
43757+  ;;
43758+esac
43759+
43760+ac_aux_dir='$ac_aux_dir'
43761+xsi_shell='$xsi_shell'
43762+lt_shell_append='$lt_shell_append'
43763+
43764+# See if we are running on zsh, and set the options which allow our
43765+# commands through without removal of \ escapes INIT.
43766+if test -n "\${ZSH_VERSION+set}" ; then
43767+   setopt NO_GLOB_SUBST
43768+fi
43769+
43770+
43771+    PACKAGE='$PACKAGE'
43772+    VERSION='$VERSION'
43773+    TIMESTAMP='$TIMESTAMP'
43774+    RM='$RM'
43775+    ofile='$ofile'
43776+
43777+
43778+
43779+
43780+_ACEOF
43781+
43782+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
43783+
43784+# Handling of arguments.
43785+for ac_config_target in $ac_config_targets
43786+do
43787+  case $ac_config_target in
43788+    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
43789+    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
43790+    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
43791+
43792+  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
43793+$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
43794+   { (exit 1); exit 1; }; };;
43795+  esac
43796+done
43797+
43798+
43799+# If the user did not use the arguments to specify the items to instantiate,
43800+# then the envvar interface is used.  Set only those that are not.
43801+# We use the long form for the default assignment because of an extremely
43802+# bizarre bug on SunOS 4.1.3.
43803+if $ac_need_defaults; then
43804+  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
43805+  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
43806+fi
43807+
43808+# Have a temporary directory for convenience.  Make it in the build tree
43809+# simply because there is no reason against having it here, and in addition,
43810+# creating and moving files from /tmp can sometimes cause problems.
43811+# Hook for its removal unless debugging.
43812+# Note that there is a small window in which the directory will not be cleaned:
43813+# after its creation but before its name has been assigned to `$tmp'.
43814+$debug ||
43815+{
43816+  tmp=
43817+  trap 'exit_status=$?
43818+  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
43819+' 0
43820+  trap '{ (exit 1); exit 1; }' 1 2 13 15
43821+}
43822+# Create a (secure) tmp directory for tmp files.
43823+
43824+{
43825+  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
43826+  test -n "$tmp" && test -d "$tmp"
43827+}  ||
43828+{
43829+  tmp=./conf$$-$RANDOM
43830+  (umask 077 && mkdir "$tmp")
43831+} ||
43832+{
43833+   $as_echo "$as_me: cannot create a temporary directory in ." >&2
43834+   { (exit 1); exit 1; }
43835+}
43836+
43837+# Set up the scripts for CONFIG_FILES section.
43838+# No need to generate them if there are no CONFIG_FILES.
43839+# This happens for instance with `./config.status config.h'.
43840+if test -n "$CONFIG_FILES"; then
43841+
43842+
43843+ac_cr='
43844'
43845+ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
43846+if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
43847+  ac_cs_awk_cr='\\r'
43848+else
43849+  ac_cs_awk_cr=$ac_cr
43850 fi
43851-echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
43852-echo "${ECHO_T}$ac_cv_func_shmat" >&6
43853
43854-    if test $ac_cv_func_shmat = no; then
43855-      echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
43856-echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
43857-if test "${ac_cv_lib_ipc_shmat+set}" = set; then
43858-  echo $ECHO_N "(cached) $ECHO_C" >&6
43859-else
43860-  ac_check_lib_save_LIBS=$LIBS
43861-LIBS="-lipc  $LIBS"
43862-cat >conftest.$ac_ext <<_ACEOF
43863-/* confdefs.h.  */
43864+echo 'BEGIN {' >"$tmp/subs1.awk" &&
43865 _ACEOF
43866-cat confdefs.h >>conftest.$ac_ext
43867-cat >>conftest.$ac_ext <<_ACEOF
43868-/* end confdefs.h.  */
43869
43870-/* Override any gcc2 internal prototype to avoid an error.  */
43871-#ifdef __cplusplus
43872-extern "C"
43873-#endif
43874-/* We use char because int might match the return type of a gcc2
43875-   builtin and then its argument prototype would still apply.  */
43876-char shmat ();
43877-int
43878-main ()
43879-{
43880-shmat ();
43881-  ;
43882-  return 0;
43883-}
43884-_ACEOF
43885-rm -f conftest.$ac_objext conftest$ac_exeext
43886-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43887-  (eval $ac_link) 2>conftest.er1
43888-  ac_status=$?
43889-  grep -v '^ *+' conftest.er1 >conftest.err
43890-  rm -f conftest.er1
43891-  cat conftest.err >&5
43892-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
43893-  (exit $ac_status); } &&
43894-	 { ac_try='test -z "$ac_cxx_werror_flag"
43895-			 || test ! -s conftest.err'
43896-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43897-  (eval $ac_try) 2>&5
43898-  ac_status=$?
43899-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
43900-  (exit $ac_status); }; } &&
43901-	 { ac_try='test -s conftest$ac_exeext'
43902-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43903-  (eval $ac_try) 2>&5
43904-  ac_status=$?
43905-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
43906-  (exit $ac_status); }; }; then
43907-  ac_cv_lib_ipc_shmat=yes
43908-else
43909-  echo "$as_me: failed program was:" >&5
43910-sed 's/^/| /' conftest.$ac_ext >&5
43911
43912-ac_cv_lib_ipc_shmat=no
43913-fi
43914-rm -f conftest.err conftest.$ac_objext \
43915-      conftest$ac_exeext conftest.$ac_ext
43916-LIBS=$ac_check_lib_save_LIBS
43917-fi
43918-echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
43919-echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
43920-if test $ac_cv_lib_ipc_shmat = yes; then
43921-  X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
43922-fi
43923+{
43924+  echo "cat >conf$$subs.awk <<_ACEOF" &&
43925+  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
43926+  echo "_ACEOF"
43927+} >conf$$subs.sh ||
43928+  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
43929+$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
43930+   { (exit 1); exit 1; }; }
43931+ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
43932+ac_delim='%!_!# '
43933+for ac_last_try in false false false false false :; do
43934+  . ./conf$$subs.sh ||
43935+    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
43936+$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
43937+   { (exit 1); exit 1; }; }
43938
43939+  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
43940+  if test $ac_delim_n = $ac_delim_num; then
43941+    break
43942+  elif $ac_last_try; then
43943+    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
43944+$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
43945+   { (exit 1); exit 1; }; }
43946+  else
43947+    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
43948     fi
43949-  fi
43950+done
43951+rm -f conf$$subs.sh
43952
43953-  # Check for libraries that X11R6 Xt/Xaw programs need.
43954-  ac_save_LDFLAGS=$LDFLAGS
43955-  test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
43956-  # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
43957-  # check for ICE first), but we must link in the order -lSM -lICE or
43958-  # we get undefined symbols.  So assume we have SM if we have ICE.
43959-  # These have to be linked with before -lX11, unlike the other
43960-  # libraries we check for below, so use a different variable.
43961-  # John Interrante, Karl Berry
43962-  echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
43963-echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
43964-if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
43965-  echo $ECHO_N "(cached) $ECHO_C" >&6
43966-else
43967-  ac_check_lib_save_LIBS=$LIBS
43968-LIBS="-lICE $X_EXTRA_LIBS $LIBS"
43969-cat >conftest.$ac_ext <<_ACEOF
43970-/* confdefs.h.  */
43971+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
43972+cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
43973 _ACEOF
43974-cat confdefs.h >>conftest.$ac_ext
43975-cat >>conftest.$ac_ext <<_ACEOF
43976-/* end confdefs.h.  */
43977+sed -n '
43978+h
43979+s/^/S["/; s/!.*/"]=/
43980+p
43981+g
43982+s/^[^!]*!//
43983+:repl
43984+t repl
43985+s/'"$ac_delim"'$//
43986+t delim
43987+:nl
43988+h
43989+s/\(.\{148\}\).*/\1/
43990+t more1
43991+s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
43992+p
43993+n
43994+b repl
43995+:more1
43996+s/["\\]/\\&/g; s/^/"/; s/$/"\\/
43997+p
43998+g
43999+s/.\{148\}//
44000+t nl
44001+:delim
44002+h
44003+s/\(.\{148\}\).*/\1/
44004+t more2
44005+s/["\\]/\\&/g; s/^/"/; s/$/"/
44006+p
44007+b
44008+:more2
44009+s/["\\]/\\&/g; s/^/"/; s/$/"\\/
44010+p
44011+g
44012+s/.\{148\}//
44013+t delim
44014+' <conf$$subs.awk | sed '
44015+/^[^""]/{
44016+  N
44017+  s/\n//
44018+}
44019+' >>$CONFIG_STATUS || ac_write_fail=1
44020+rm -f conf$$subs.awk
44021+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
44022+_ACAWK
44023+cat >>"\$tmp/subs1.awk" <<_ACAWK &&
44024+  for (key in S) S_is_set[key] = 1
44025+  FS = ""
44026
44027-/* Override any gcc2 internal prototype to avoid an error.  */
44028-#ifdef __cplusplus
44029-extern "C"
44030-#endif
44031-/* We use char because int might match the return type of a gcc2
44032-   builtin and then its argument prototype would still apply.  */
44033-char IceConnectionNumber ();
44034-int
44035-main ()
44036-{
44037-IceConnectionNumber ();
44038-  ;
44039-  return 0;
44040 }
44041+{
44042+  line = $ 0
44043+  nfields = split(line, field, "@")
44044+  substed = 0
44045+  len = length(field[1])
44046+  for (i = 2; i < nfields; i++) {
44047+    key = field[i]
44048+    keylen = length(key)
44049+    if (S_is_set[key]) {
44050+      value = S[key]
44051+      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
44052+      len += length(value) + length(field[++i])
44053+      substed = 1
44054+    } else
44055+      len += 1 + keylen
44056+  }
44057+
44058+  print line
44059+}
44060+
44061+_ACAWK
44062+_ACEOF
44063+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
44064+if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
44065+  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
44066+else
44067+  cat
44068+fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
44069+  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
44070+$as_echo "$as_me: error: could not setup config files machinery" >&2;}
44071+   { (exit 1); exit 1; }; }
44072 _ACEOF
44073-rm -f conftest.$ac_objext conftest$ac_exeext
44074-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44075-  (eval $ac_link) 2>conftest.er1
44076-  ac_status=$?
44077-  grep -v '^ *+' conftest.er1 >conftest.err
44078-  rm -f conftest.er1
44079-  cat conftest.err >&5
44080-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
44081-  (exit $ac_status); } &&
44082-	 { ac_try='test -z "$ac_cxx_werror_flag"
44083-			 || test ! -s conftest.err'
44084-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44085-  (eval $ac_try) 2>&5
44086-  ac_status=$?
44087-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
44088-  (exit $ac_status); }; } &&
44089-	 { ac_try='test -s conftest$ac_exeext'
44090-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44091-  (eval $ac_try) 2>&5
44092-  ac_status=$?
44093-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
44094-  (exit $ac_status); }; }; then
44095-  ac_cv_lib_ICE_IceConnectionNumber=yes
44096-else
44097-  echo "$as_me: failed program was:" >&5
44098-sed 's/^/| /' conftest.$ac_ext >&5
44099
44100-ac_cv_lib_ICE_IceConnectionNumber=no
44101-fi
44102-rm -f conftest.err conftest.$ac_objext \
44103-      conftest$ac_exeext conftest.$ac_ext
44104-LIBS=$ac_check_lib_save_LIBS
44105-fi
44106-echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
44107-echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
44108-if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
44109-  X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
44110+# VPATH may cause trouble with some makes, so we remove $(srcdir),
44111+# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
44112+# trailing colons and then remove the whole line if VPATH becomes empty
44113+# (actually we leave an empty line to preserve line numbers).
44114+if test "x$srcdir" = x.; then
44115+  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
44116+s/:*\$(srcdir):*/:/
44117+s/:*\${srcdir}:*/:/
44118+s/:*@srcdir@:*/:/
44119+s/^\([^=]*=[	 ]*\):*/\1/
44120+s/:*$//
44121+s/^[^=]*=[	 ]*$//
44122+}'
44123 fi
44124
44125-  LDFLAGS=$ac_save_LDFLAGS
44126+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
44127+fi # test -n "$CONFIG_FILES"
44128+
44129
44130-fi
44131+eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
44132+shift
44133+for ac_tag
44134+do
44135+  case $ac_tag in
44136+  :[FHLC]) ac_mode=$ac_tag; continue;;
44137+  esac
44138+  case $ac_mode$ac_tag in
44139+  :[FHL]*:*);;
44140+  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
44141+$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
44142+   { (exit 1); exit 1; }; };;
44143+  :[FH]-) ac_tag=-:-;;
44144+  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
44145+  esac
44146+  ac_save_IFS=$IFS
44147+  IFS=:
44148+  set x $ac_tag
44149+  IFS=$ac_save_IFS
44150+  shift
44151+  ac_file=$1
44152+  shift
44153+
44154+  case $ac_mode in
44155+  :L) ac_source=$1;;
44156+  :[FH])
44157+    ac_file_inputs=
44158+    for ac_f
44159+    do
44160+      case $ac_f in
44161+      -) ac_f="$tmp/stdin";;
44162+      *) # Look for the file first in the build tree, then in the source tree
44163+	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
44164+	 # because $ac_f cannot contain `:'.
44165+	 test -f "$ac_f" ||
44166+	   case $ac_f in
44167+	   [\\/$]*) false;;
44168+	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
44169+	   esac ||
44170+	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
44171+$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
44172+   { (exit 1); exit 1; }; };;
44173+      esac
44174+      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
44175+      ac_file_inputs="$ac_file_inputs '$ac_f'"
44176+    done
44177
44178+    # Let's still pretend it is `configure' which instantiates (i.e., don't
44179+    # use $as_me), people would be surprised to read:
44180+    #    /* config.h.  Generated by config.status.  */
44181+    configure_input='Generated from '`
44182+	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
44183+	`' by configure.'
44184+    if test x"$ac_file" != x-; then
44185+      configure_input="$ac_file.  $configure_input"
44186+      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
44187+$as_echo "$as_me: creating $ac_file" >&6;}
44188+    fi
44189+    # Neutralize special characters interpreted by sed in replacement strings.
44190+    case $configure_input in #(
44191+    *\&* | *\|* | *\\* )
44192+       ac_sed_conf_input=`$as_echo "$configure_input" |
44193+       sed 's/[\\\\&|]/\\\\&/g'`;; #(
44194+    *) ac_sed_conf_input=$configure_input;;
44195+    esac
44196+
44197+    case $ac_tag in
44198+    *:-:* | *:-) cat >"$tmp/stdin" \
44199+      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
44200+$as_echo "$as_me: error: could not create $ac_file" >&2;}
44201+   { (exit 1); exit 1; }; } ;;
44202+    esac
44203+    ;;
44204+  esac
44205
44206+  ac_dir=`$as_dirname -- "$ac_file" ||
44207+$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44208+	 X"$ac_file" : 'X\(//\)[^/]' \| \
44209+	 X"$ac_file" : 'X\(//\)$' \| \
44210+	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
44211+$as_echo X"$ac_file" |
44212+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
44213+	    s//\1/
44214+	    q
44215+	  }
44216+	  /^X\(\/\/\)[^/].*/{
44217+	    s//\1/
44218+	    q
44219+	  }
44220+	  /^X\(\/\/\)$/{
44221+	    s//\1/
44222+	    q
44223+	  }
44224+	  /^X\(\/\).*/{
44225+	    s//\1/
44226+	    q
44227+	  }
44228+	  s/.*/./; q'`
44229+  { as_dir="$ac_dir"
44230+  case $as_dir in #(
44231+  -*) as_dir=./$as_dir;;
44232+  esac
44233+  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
44234+    as_dirs=
44235+    while :; do
44236+      case $as_dir in #(
44237+      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
44238+      *) as_qdir=$as_dir;;
44239+      esac
44240+      as_dirs="'$as_qdir' $as_dirs"
44241+      as_dir=`$as_dirname -- "$as_dir" ||
44242+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44243+	 X"$as_dir" : 'X\(//\)[^/]' \| \
44244+	 X"$as_dir" : 'X\(//\)$' \| \
44245+	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
44246+$as_echo X"$as_dir" |
44247+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
44248+	    s//\1/
44249+	    q
44250+	  }
44251+	  /^X\(\/\/\)[^/].*/{
44252+	    s//\1/
44253+	    q
44254+	  }
44255+	  /^X\(\/\/\)$/{
44256+	    s//\1/
44257+	    q
44258+	  }
44259+	  /^X\(\/\).*/{
44260+	    s//\1/
44261+	    q
44262+	  }
44263+	  s/.*/./; q'`
44264+      test -d "$as_dir" && break
44265+    done
44266+    test -z "$as_dirs" || eval "mkdir $as_dirs"
44267+  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
44268+$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
44269+   { (exit 1); exit 1; }; }; }
44270+  ac_builddir=.
44271
44272-ac_help="$ac_help
44273-  --with-symbols          give -g flag to compiler to produce debug symbols
44274-  --with-info             define INFO at compile time to get basic log output
44275-  --with-valgrind         clean up allocated buffers to avoid valgrind warnings
44276-  --with-version          use this version for produced libraries"
44277+case "$ac_dir" in
44278+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
44279+*)
44280+  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
44281+  # A ".." for each directory in $ac_dir_suffix.
44282+  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
44283+  case $ac_top_builddir_sub in
44284+  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
44285+  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
44286+  esac ;;
44287+esac
44288+ac_abs_top_builddir=$ac_pwd
44289+ac_abs_builddir=$ac_pwd$ac_dir_suffix
44290+# for backward compatibility:
44291+ac_top_builddir=$ac_top_build_prefix
44292
44293+case $srcdir in
44294+  .)  # We are building in place.
44295+    ac_srcdir=.
44296+    ac_top_srcdir=$ac_top_builddir_sub
44297+    ac_abs_top_srcdir=$ac_pwd ;;
44298+  [\\/]* | ?:[\\/]* )  # Absolute name.
44299+    ac_srcdir=$srcdir$ac_dir_suffix;
44300+    ac_top_srcdir=$srcdir
44301+    ac_abs_top_srcdir=$srcdir ;;
44302+  *) # Relative name.
44303+    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
44304+    ac_top_srcdir=$ac_top_build_prefix$srcdir
44305+    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
44306+esac
44307+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
44308
44309
44310+  case $ac_mode in
44311+  :F)
44312+  #
44313+  # CONFIG_FILE
44314+  #
44315
44316-echo "$as_me:$LINENO: checking for FreeBSD environment" >&5
44317-echo $ECHO_N "checking for FreeBSD environment... $ECHO_C" >&6
44318-if test "${nxconf_cv_freebsd+set}" = set; then
44319-  echo $ECHO_N "(cached) $ECHO_C" >&6
44320-else
44321-  cat >conftest.$ac_ext <<_ACEOF
44322-/* confdefs.h.  */
44323+  case $INSTALL in
44324+  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
44325+  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
44326+  esac
44327+  ac_MKDIR_P=$MKDIR_P
44328+  case $MKDIR_P in
44329+  [\\/$]* | ?:[\\/]* ) ;;
44330+  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
44331+  esac
44332 _ACEOF
44333-cat confdefs.h >>conftest.$ac_ext
44334-cat >>conftest.$ac_ext <<_ACEOF
44335-/* end confdefs.h.  */
44336
44337-int
44338-main ()
44339-{
44340-return __FreeBSD__;
44341-  ;
44342-  return 0;
44343+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
44344+# If the template does not know about datarootdir, expand it.
44345+# FIXME: This hack should be removed a few years after 2.60.
44346+ac_datarootdir_hack=; ac_datarootdir_seen=
44347+
44348+ac_sed_dataroot='
44349+/datarootdir/ {
44350+  p
44351+  q
44352 }
44353+/@datadir@/p
44354+/@docdir@/p
44355+/@infodir@/p
44356+/@localedir@/p
44357+/@mandir@/p
44358+'
44359+case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
44360+*datarootdir*) ac_datarootdir_seen=yes;;
44361+*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
44362+  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
44363+$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
44364+_ACEOF
44365+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
44366+  ac_datarootdir_hack='
44367+  s&@datadir@&$datadir&g
44368+  s&@docdir@&$docdir&g
44369+  s&@infodir@&$infodir&g
44370+  s&@localedir@&$localedir&g
44371+  s&@mandir@&$mandir&g
44372+    s&\\\${datarootdir}&$datarootdir&g' ;;
44373+esac
44374 _ACEOF
44375-rm -f conftest.$ac_objext
44376-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44377-  (eval $ac_compile) 2>conftest.er1
44378-  ac_status=$?
44379-  grep -v '^ *+' conftest.er1 >conftest.err
44380-  rm -f conftest.er1
44381-  cat conftest.err >&5
44382-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
44383-  (exit $ac_status); } &&
44384-	 { ac_try='test -z "$ac_cxx_werror_flag"
44385-			 || test ! -s conftest.err'
44386-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44387-  (eval $ac_try) 2>&5
44388-  ac_status=$?
44389-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
44390-  (exit $ac_status); }; } &&
44391-	 { ac_try='test -s conftest.$ac_objext'
44392-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44393-  (eval $ac_try) 2>&5
44394-  ac_status=$?
44395-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
44396-  (exit $ac_status); }; }; then
44397-  nxconf_cv_freebsd=yes
44398-else
44399-  echo "$as_me: failed program was:" >&5
44400-sed 's/^/| /' conftest.$ac_ext >&5
44401
44402-nxconf_cv_freebsd=no
44403-fi
44404-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44405-rm -f conftest*
44406-fi
44407-echo "$as_me:$LINENO: result: $nxconf_cv_freebsd" >&5
44408-echo "${ECHO_T}$nxconf_cv_freebsd" >&6
44409-FreeBSD=
44410-test "$nxconf_cv_freebsd" = yes && FreeBSD=yes
44411+# Neutralize VPATH when `$srcdir' = `.'.
44412+# Shell code in configure.ac might set extrasub.
44413+# FIXME: do we really want to maintain this feature?
44414+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
44415+ac_sed_extra="$ac_vpsub
44416+$extrasub
44417+_ACEOF
44418+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
44419+:t
44420+/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
44421+s|@configure_input@|$ac_sed_conf_input|;t t
44422+s&@top_builddir@&$ac_top_builddir_sub&;t t
44423+s&@top_build_prefix@&$ac_top_build_prefix&;t t
44424+s&@srcdir@&$ac_srcdir&;t t
44425+s&@abs_srcdir@&$ac_abs_srcdir&;t t
44426+s&@top_srcdir@&$ac_top_srcdir&;t t
44427+s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
44428+s&@builddir@&$ac_builddir&;t t
44429+s&@abs_builddir@&$ac_abs_builddir&;t t
44430+s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
44431+s&@INSTALL@&$ac_INSTALL&;t t
44432+s&@MKDIR_P@&$ac_MKDIR_P&;t t
44433+$ac_datarootdir_hack
44434+"
44435+eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
44436+  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
44437+$as_echo "$as_me: error: could not create $ac_file" >&2;}
44438+   { (exit 1); exit 1; }; }
44439
44440+test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
44441+  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
44442+  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
44443+  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
44444+which seems to be undefined.  Please make sure it is defined." >&5
44445+$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
44446+which seems to be undefined.  Please make sure it is defined." >&2;}
44447+
44448+  rm -f "$tmp/stdin"
44449+  case $ac_file in
44450+  -) cat "$tmp/out" && rm -f "$tmp/out";;
44451+  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
44452+  esac \
44453+  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
44454+$as_echo "$as_me: error: could not create $ac_file" >&2;}
44455+   { (exit 1); exit 1; }; }
44456+ ;;
44457
44458
44459-echo "$as_me:$LINENO: checking for Cygwin32 environment" >&5
44460-echo $ECHO_N "checking for Cygwin32 environment... $ECHO_C" >&6
44461-if test "${nxconf_cv_cygwin32+set}" = set; then
44462-  echo $ECHO_N "(cached) $ECHO_C" >&6
44463-else
44464-  cat >conftest.$ac_ext <<_ACEOF
44465-/* confdefs.h.  */
44466-_ACEOF
44467-cat confdefs.h >>conftest.$ac_ext
44468-cat >>conftest.$ac_ext <<_ACEOF
44469-/* end confdefs.h.  */
44470+  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
44471+$as_echo "$as_me: executing $ac_file commands" >&6;}
44472+ ;;
44473+  esac
44474
44475-int
44476-main ()
44477-{
44478-return __CYGWIN32__;
44479-  ;
44480-  return 0;
44481+
44482+  case $ac_file$ac_mode in
44483+    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
44484+  # Autoconf 2.62 quotes --file arguments for eval, but not when files
44485+  # are listed without --file.  Let's play safe and only enable the eval
44486+  # if we detect the quoting.
44487+  case $CONFIG_FILES in
44488+  *\'*) eval set x "$CONFIG_FILES" ;;
44489+  *)   set x $CONFIG_FILES ;;
44490+  esac
44491+  shift
44492+  for mf
44493+  do
44494+    # Strip MF so we end up with the name of the file.
44495+    mf=`echo "$mf" | sed -e 's/:.*$//'`
44496+    # Check whether this is an Automake generated Makefile or not.
44497+    # We used to match only the files named `Makefile.in', but
44498+    # some people rename them; so instead we look at the file content.
44499+    # Grep'ing the first line is not enough: some people post-process
44500+    # each Makefile.in and add a new line on top of each file to say so.
44501+    # Grep'ing the whole file is not good either: AIX grep has a line
44502+    # limit of 2048, but all sed's we know have understand at least 4000.
44503+    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
44504+      dirpart=`$as_dirname -- "$mf" ||
44505+$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44506+	 X"$mf" : 'X\(//\)[^/]' \| \
44507+	 X"$mf" : 'X\(//\)$' \| \
44508+	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
44509+$as_echo X"$mf" |
44510+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
44511+	    s//\1/
44512+	    q
44513+	  }
44514+	  /^X\(\/\/\)[^/].*/{
44515+	    s//\1/
44516+	    q
44517+	  }
44518+	  /^X\(\/\/\)$/{
44519+	    s//\1/
44520+	    q
44521+	  }
44522+	  /^X\(\/\).*/{
44523+	    s//\1/
44524+	    q
44525 }
44526-_ACEOF
44527-rm -f conftest.$ac_objext
44528-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44529-  (eval $ac_compile) 2>conftest.er1
44530-  ac_status=$?
44531-  grep -v '^ *+' conftest.er1 >conftest.err
44532-  rm -f conftest.er1
44533-  cat conftest.err >&5
44534-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
44535-  (exit $ac_status); } &&
44536-	 { ac_try='test -z "$ac_cxx_werror_flag"
44537-			 || test ! -s conftest.err'
44538-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44539-  (eval $ac_try) 2>&5
44540-  ac_status=$?
44541-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
44542-  (exit $ac_status); }; } &&
44543-	 { ac_try='test -s conftest.$ac_objext'
44544-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44545-  (eval $ac_try) 2>&5
44546-  ac_status=$?
44547-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
44548-  (exit $ac_status); }; }; then
44549-  nxconf_cv_cygwin32=yes
44550+	  s/.*/./; q'`
44551 else
44552-  echo "$as_me: failed program was:" >&5
44553-sed 's/^/| /' conftest.$ac_ext >&5
44554-
44555-nxconf_cv_cygwin32=no
44556+      continue
44557 fi
44558-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44559-rm -f conftest*
44560+    # Extract the definition of DEPDIR, am__include, and am__quote
44561+    # from the Makefile without running `make'.
44562+    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
44563+    test -z "$DEPDIR" && continue
44564+    am__include=`sed -n 's/^am__include = //p' < "$mf"`
44565+    test -z "am__include" && continue
44566+    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
44567+    # When using ansi2knr, U may be empty or an underscore; expand it
44568+    U=`sed -n 's/^U = //p' < "$mf"`
44569+    # Find all dependency output files, they are included files with
44570+    # $(DEPDIR) in their names.  We invoke sed twice because it is the
44571+    # simplest approach to changing $(DEPDIR) to its actual value in the
44572+    # expansion.
44573+    for file in `sed -n "
44574+      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
44575+	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
44576+      # Make sure the directory exists.
44577+      test -f "$dirpart/$file" && continue
44578+      fdir=`$as_dirname -- "$file" ||
44579+$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44580+	 X"$file" : 'X\(//\)[^/]' \| \
44581+	 X"$file" : 'X\(//\)$' \| \
44582+	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
44583+$as_echo X"$file" |
44584+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
44585+	    s//\1/
44586+	    q
44587+	  }
44588+	  /^X\(\/\/\)[^/].*/{
44589+	    s//\1/
44590+	    q
44591+	  }
44592+	  /^X\(\/\/\)$/{
44593+	    s//\1/
44594+	    q
44595+	  }
44596+	  /^X\(\/\).*/{
44597+	    s//\1/
44598+	    q
44599+	  }
44600+	  s/.*/./; q'`
44601+      { as_dir=$dirpart/$fdir
44602+  case $as_dir in #(
44603+  -*) as_dir=./$as_dir;;
44604+  esac
44605+  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
44606+    as_dirs=
44607+    while :; do
44608+      case $as_dir in #(
44609+      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
44610+      *) as_qdir=$as_dir;;
44611+      esac
44612+      as_dirs="'$as_qdir' $as_dirs"
44613+      as_dir=`$as_dirname -- "$as_dir" ||
44614+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44615+	 X"$as_dir" : 'X\(//\)[^/]' \| \
44616+	 X"$as_dir" : 'X\(//\)$' \| \
44617+	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
44618+$as_echo X"$as_dir" |
44619+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
44620+	    s//\1/
44621+	    q
44622+	  }
44623+	  /^X\(\/\/\)[^/].*/{
44624+	    s//\1/
44625+	    q
44626+	  }
44627+	  /^X\(\/\/\)$/{
44628+	    s//\1/
44629+	    q
44630+	  }
44631+	  /^X\(\/\).*/{
44632+	    s//\1/
44633+	    q
44634+	  }
44635+	  s/.*/./; q'`
44636+      test -d "$as_dir" && break
44637+    done
44638+    test -z "$as_dirs" || eval "mkdir $as_dirs"
44639+  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
44640+$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
44641+   { (exit 1); exit 1; }; }; }
44642+      # echo "creating $dirpart/$file"
44643+      echo '# dummy' > "$dirpart/$file"
44644+    done
44645+  done
44646+}
44647+ ;;
44648+    "libtool":C)
44649+
44650+    # See if we are running on zsh, and set the options which allow our
44651+    # commands through without removal of \ escapes.
44652+    if test -n "${ZSH_VERSION+set}" ; then
44653+      setopt NO_GLOB_SUBST
44654 fi
44655-echo "$as_me:$LINENO: result: $nxconf_cv_cygwin32" >&5
44656-echo "${ECHO_T}$nxconf_cv_cygwin32" >&6
44657-CYGWIN32=
44658-test "$nxconf_cv_cygwin32" = yes && CYGWIN32=yes
44659
44660+    cfgfile="${ofile}T"
44661+    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
44662+    $RM "$cfgfile"
44663
44664+    cat <<_LT_EOF >> "$cfgfile"
44665+#! $SHELL
44666
44667-echo "$as_me:$LINENO: checking for Darwin environment" >&5
44668-echo $ECHO_N "checking for Darwin environment... $ECHO_C" >&6
44669-if test "${nxconf_cv_darwin+set}" = set; then
44670-  echo $ECHO_N "(cached) $ECHO_C" >&6
44671-else
44672-  cat >conftest.$ac_ext <<_ACEOF
44673-/* confdefs.h.  */
44674-_ACEOF
44675-cat confdefs.h >>conftest.$ac_ext
44676-cat >>conftest.$ac_ext <<_ACEOF
44677-/* end confdefs.h.  */
44678+# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
44679+# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
44680+# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
44681+# NOTE: Changes made to this file will be lost: look at ltmain.sh.
44682+#
44683+#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
44684+#                 2006, 2007, 2008 Free Software Foundation, Inc.
44685+#   Written by Gordon Matzigkeit, 1996
44686+#
44687+#   This file is part of GNU Libtool.
44688+#
44689+# GNU Libtool is free software; you can redistribute it and/or
44690+# modify it under the terms of the GNU General Public License as
44691+# published by the Free Software Foundation; either version 2 of
44692+# the License, or (at your option) any later version.
44693+#
44694+# As a special exception to the GNU General Public License,
44695+# if you distribute this file as part of a program or library that
44696+# is built using GNU Libtool, you may include this file under the
44697+# same distribution terms that you use for the rest of that program.
44698+#
44699+# GNU Libtool is distributed in the hope that it will be useful,
44700+# but WITHOUT ANY WARRANTY; without even the implied warranty of
44701+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
44702+# GNU General Public License for more details.
44703+#
44704+# You should have received a copy of the GNU General Public License
44705+# along with GNU Libtool; see the file COPYING.  If not, a copy
44706+# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
44707+# obtained by writing to the Free Software Foundation, Inc.,
44708+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
44709+
44710+
44711+# The names of the tagged configurations supported by this script.
44712+available_tags=""
44713+
44714+# ### BEGIN LIBTOOL CONFIG
44715+
44716+# Whether or not to build static libraries.
44717+build_old_libs=$enable_static
44718+
44719+# Which release of libtool.m4 was used?
44720+macro_version=$macro_version
44721+macro_revision=$macro_revision
44722+
44723+# Whether or not to build shared libraries.
44724+build_libtool_libs=$enable_shared
44725+
44726+# What type of objects to build.
44727+pic_mode=$pic_mode
44728+
44729+# Whether or not to optimize for fast installation.
44730+fast_install=$enable_fast_install
44731+
44732+# The host system.
44733+host_alias=$host_alias
44734+host=$host
44735+host_os=$host_os
44736+
44737+# The build system.
44738+build_alias=$build_alias
44739+build=$build
44740+build_os=$build_os
44741+
44742+# A sed program that does not truncate output.
44743+SED=$lt_SED
44744+
44745+# Sed that helps us avoid accidentally triggering echo(1) options like -n.
44746+Xsed="\$SED -e 1s/^X//"
44747+
44748+# A grep program that handles long lines.
44749+GREP=$lt_GREP
44750+
44751+# An ERE matcher.
44752+EGREP=$lt_EGREP
44753+
44754+# A literal string matcher.
44755+FGREP=$lt_FGREP
44756
44757-int
44758-main ()
44759-{
44760-return __APPLE__;
44761-  ;
44762-  return 0;
44763-}
44764-_ACEOF
44765-rm -f conftest.$ac_objext
44766-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44767-  (eval $ac_compile) 2>conftest.er1
44768-  ac_status=$?
44769-  grep -v '^ *+' conftest.er1 >conftest.err
44770-  rm -f conftest.er1
44771-  cat conftest.err >&5
44772-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
44773-  (exit $ac_status); } &&
44774-	 { ac_try='test -z "$ac_cxx_werror_flag"
44775-			 || test ! -s conftest.err'
44776-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44777-  (eval $ac_try) 2>&5
44778-  ac_status=$?
44779-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
44780-  (exit $ac_status); }; } &&
44781-	 { ac_try='test -s conftest.$ac_objext'
44782-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44783-  (eval $ac_try) 2>&5
44784-  ac_status=$?
44785-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
44786-  (exit $ac_status); }; }; then
44787-  nxconf_cv_darwin=yes
44788-else
44789-  echo "$as_me: failed program was:" >&5
44790-sed 's/^/| /' conftest.$ac_ext >&5
44791+# A BSD- or MS-compatible name lister.
44792+NM=$lt_NM
44793
44794-nxconf_cv_darwin=no
44795-fi
44796-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44797-rm -f conftest*
44798-fi
44799-echo "$as_me:$LINENO: result: $nxconf_cv_darwin" >&5
44800-echo "${ECHO_T}$nxconf_cv_darwin" >&6
44801-DARWIN=
44802-test "$nxconf_cv_darwin" = yes && DARWIN=yes
44803+# Whether we need soft or hard links.
44804+LN_S=$lt_LN_S
44805
44806+# What is the maximum length of a command?
44807+max_cmd_len=$max_cmd_len
44808
44809+# Object file suffix (normally "o").
44810+objext=$ac_objext
44811
44812-echo "$as_me:$LINENO: checking for SunOS environment" >&5
44813-echo $ECHO_N "checking for SunOS environment... $ECHO_C" >&6
44814-if test "${nxconf_cv_sun+set}" = set; then
44815-  echo $ECHO_N "(cached) $ECHO_C" >&6
44816-else
44817-  cat >conftest.$ac_ext <<_ACEOF
44818-/* confdefs.h.  */
44819-_ACEOF
44820-cat confdefs.h >>conftest.$ac_ext
44821-cat >>conftest.$ac_ext <<_ACEOF
44822-/* end confdefs.h.  */
44823+# Executable file suffix (normally "").
44824+exeext=$exeext
44825
44826-int
44827-main ()
44828-{
44829-return __sun;
44830-  ;
44831-  return 0;
44832-}
44833-_ACEOF
44834-rm -f conftest.$ac_objext
44835-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44836-  (eval $ac_compile) 2>conftest.er1
44837-  ac_status=$?
44838-  grep -v '^ *+' conftest.er1 >conftest.err
44839-  rm -f conftest.er1
44840-  cat conftest.err >&5
44841-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
44842-  (exit $ac_status); } &&
44843-	 { ac_try='test -z "$ac_cxx_werror_flag"
44844-			 || test ! -s conftest.err'
44845-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44846-  (eval $ac_try) 2>&5
44847-  ac_status=$?
44848-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
44849-  (exit $ac_status); }; } &&
44850-	 { ac_try='test -s conftest.$ac_objext'
44851-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44852-  (eval $ac_try) 2>&5
44853-  ac_status=$?
44854-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
44855-  (exit $ac_status); }; }; then
44856-  nxconf_cv_sun=yes
44857-else
44858-  echo "$as_me: failed program was:" >&5
44859-sed 's/^/| /' conftest.$ac_ext >&5
44860+# whether the shell understands "unset".
44861+lt_unset=$lt_unset
44862
44863-nxconf_cv_sun=no
44864-fi
44865-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44866-rm -f conftest*
44867-fi
44868-echo "$as_me:$LINENO: result: $nxconf_cv_sun" >&5
44869-echo "${ECHO_T}$nxconf_cv_sun" >&6
44870-SUN=
44871-test "$nxconf_cv_sun" = yes && SUN=yes
44872+# turn spaces into newlines.
44873+SP2NL=$lt_lt_SP2NL
44874
44875+# turn newlines into spaces.
44876+NL2SP=$lt_lt_NL2SP
44877
44878+# How to create reloadable object files.
44879+reload_flag=$lt_reload_flag
44880+reload_cmds=$lt_reload_cmds
44881
44882+# An object symbol dumper.
44883+OBJDUMP=$lt_OBJDUMP
44884
44885-if test "${with_version}" = yes; then
44886-  VERSION=${ac_option}
44887-else
44888-  VERSION=`cat VERSION`
44889-fi
44890-echo -e "compiling version ${VERSION}"
44891+# Method to check whether dependent libraries are shared objects.
44892+deplibs_check_method=$lt_deplibs_check_method
44893
44894-LIBVERSION=`echo ${VERSION} | cut -d '.' -f 1`
44895+# Command to use when deplibs_check_method == "file_magic".
44896+file_magic_cmd=$lt_file_magic_cmd
44897
44898-CXXFLAGS="$CXXFLAGS -DVERSION=\\\"${VERSION}\\\""
44899-CPPFLAGS="$CPPFLAGS -DVERSION=\\\"${VERSION}\\\""
44900+# The archiver.
44901+AR=$lt_AR
44902+AR_FLAGS=$lt_AR_FLAGS
44903
44904+# A symbol stripping program.
44905+STRIP=$lt_STRIP
44906
44907-if test "${with_symbols}" = yes; then
44908-  echo -e "enabling production of debug symbols"
44909-  CXXFLAGS="-g $CXXFLAGS"
44910-  CPPFLAGS="-g $CPPFLAGS"
44911-else
44912-  echo -e "disabling production of debug symbols"
44913-fi
44914+# Commands used to install an old-style archive.
44915+RANLIB=$lt_RANLIB
44916+old_postinstall_cmds=$lt_old_postinstall_cmds
44917+old_postuninstall_cmds=$lt_old_postuninstall_cmds
44918
44919+# A C compiler.
44920+LTCC=$lt_CC
44921
44922-if test "${with_info}" = yes; then
44923-  echo -e "enabling info output in the log file"
44924-  CXXFLAGS="$CXXFLAGS -DINFO"
44925-  CPPFLAGS="$CPPFLAGS -DINFO"
44926-else
44927-  echo -e "disabling info output in the log file"
44928-fi
44929+# LTCC compiler flags.
44930+LTCFLAGS=$lt_CFLAGS
44931
44932+# Take the output of nm and produce a listing of raw symbols and C names.
44933+global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
44934
44935-if test "${with_valgrind}" = yes; then
44936-  echo -e "enabling valgrind memory checker workarounds"
44937-  CXXFLAGS="$CXXFLAGS -DVALGRIND"
44938-  CPPFLAGS="$CPPFLAGS -DVALGRIND"
44939-else
44940-  echo -e "disabling valgrind memory checker workarounds"
44941-fi
44942+# Transform the output of nm in a proper C declaration.
44943+global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
44944
44945+# Transform the output of nm in a C name address pair.
44946+global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
44947
44948-if test "$CYGWIN32" = yes; then
44949-    LIBS="$LIBS -L../nxcomp -lXcomp -lstdc++ -Wl,-e,_mainCRTStartup -ljpeg -lpng -lz"
44950-else
44951-    LIBS="$LIBS -L../nxcomp -lXcomp"
44952-fi
44953+# Transform the output of nm in a C name address pair when lib prefix is needed.
44954+global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
44955
44956+# The name of the directory that contains temporary libtool files.
44957+objdir=$objdir
44958
44959+# Shell to use when invoking shell scripts.
44960+SHELL=$lt_SHELL
44961
44962+# An echo program that does not interpret backslashes.
44963+ECHO=$lt_ECHO
44964
44965-if test -x "../nx-X11/config/makedepend/makedepend" ; then
44966-  MAKEDEPEND=../nx-X11/config/makedepend/makedepend
44967-else
44968-  if test -x "/usr/X11R6/bin/makedepend" ; then
44969-    MAKEDEPEND=/usr/X11R6/bin/makedepend
44970-  else
44971-    if test -x "/usr/openwin/bin/makedepend" ; then
44972-      MAKEDEPEND=/usr/openwin/bin/makedepend
44973-    else
44974-      MAKEDEPEND=makedepend
44975-    fi
44976-  fi
44977-fi
44978+# Used to examine libraries when file_magic_cmd begins with "file".
44979+MAGIC_CMD=$MAGIC_CMD
44980
44981-          ac_config_files="$ac_config_files Makefile"
44982-cat >confcache <<\_ACEOF
44983-# This file is a shell script that caches the results of configure
44984-# tests run on this system so they can be shared between configure
44985-# scripts and configure runs, see configure's option --config-cache.
44986-# It is not useful on other systems.  If it contains results you don't
44987-# want to keep, you may remove or edit it.
44988-#
44989-# config.status only pays attention to the cache file if you give it
44990-# the --recheck option to rerun configure.
44991-#
44992-# `ac_cv_env_foo' variables (set or unset) will be overridden when
44993-# loading this file, other *unset* `ac_cv_foo' will be assigned the
44994-# following values.
44995+# Must we lock files when doing compilation?
44996+need_locks=$lt_need_locks
44997
44998-_ACEOF
44999+# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
45000+DSYMUTIL=$lt_DSYMUTIL
45001
45002-# The following way of writing the cache mishandles newlines in values,
45003-# but we know of no workaround that is simple, portable, and efficient.
45004-# So, don't put newlines in cache variables' values.
45005-# Ultrix sh set writes to stderr and can't be redirected directly,
45006-# and sets the high bit in the cache file unless we assign to the vars.
45007-{
45008-  (set) 2>&1 |
45009-    case `(ac_space=' '; set | grep ac_space) 2>&1` in
45010-    *ac_space=\ *)
45011-      # `set' does not quote correctly, so add quotes (double-quote
45012-      # substitution turns \\\\ into \\, and sed turns \\ into \).
45013-      sed -n \
45014-	"s/'/'\\\\''/g;
45015-	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
45016-      ;;
45017-    *)
45018-      # `set' quotes correctly as required by POSIX, so do not add quotes.
45019-      sed -n \
45020-	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
45021-      ;;
45022-    esac;
45023-} |
45024-  sed '
45025-     t clear
45026-     : clear
45027-     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
45028-     t end
45029-     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
45030-     : end' >>confcache
45031-if diff $cache_file confcache >/dev/null 2>&1; then :; else
45032-  if test -w $cache_file; then
45033-    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
45034-    cat confcache >$cache_file
45035-  else
45036-    echo "not updating unwritable cache $cache_file"
45037-  fi
45038-fi
45039-rm -f confcache
45040+# Tool to change global to local symbols on Mac OS X.
45041+NMEDIT=$lt_NMEDIT
45042
45043-test "x$prefix" = xNONE && prefix=$ac_default_prefix
45044-# Let make expand exec_prefix.
45045-test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
45046+# Tool to manipulate fat objects and archives on Mac OS X.
45047+LIPO=$lt_LIPO
45048
45049-# VPATH may cause trouble with some makes, so we remove $(srcdir),
45050-# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
45051-# trailing colons and then remove the whole line if VPATH becomes empty
45052-# (actually we leave an empty line to preserve line numbers).
45053-if test "x$srcdir" = x.; then
45054-  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
45055-s/:*\$(srcdir):*/:/;
45056-s/:*\${srcdir}:*/:/;
45057-s/:*@srcdir@:*/:/;
45058-s/^\([^=]*=[	 ]*\):*/\1/;
45059-s/:*$//;
45060-s/^[^=]*=[	 ]*$//;
45061-}'
45062-fi
45063+# ldd/readelf like tool for Mach-O binaries on Mac OS X.
45064+OTOOL=$lt_OTOOL
45065
45066-# Transform confdefs.h into DEFS.
45067-# Protect against shell expansion while executing Makefile rules.
45068-# Protect against Makefile macro expansion.
45069-#
45070-# If the first sed substitution is executed (which looks for macros that
45071-# take arguments), then we branch to the quote section.  Otherwise,
45072-# look for a macro that doesn't take arguments.
45073-cat >confdef2opt.sed <<\_ACEOF
45074-t clear
45075-: clear
45076-s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\),-D\1=\2,g
45077-t quote
45078-s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\),-D\1=\2,g
45079-t quote
45080-d
45081-: quote
45082-s,[	 `~#$^&*(){}\\|;'"<>?],\\&,g
45083-s,\[,\\&,g
45084-s,\],\\&,g
45085-s,\$,$$,g
45086-p
45087-_ACEOF
45088-# We use echo to avoid assuming a particular line-breaking character.
45089-# The extra dot is to prevent the shell from consuming trailing
45090-# line-breaks from the sub-command output.  A line-break within
45091-# single-quotes doesn't work because, if this script is created in a
45092-# platform that uses two characters for line-breaks (e.g., DOS), tr
45093-# would break.
45094-ac_LF_and_DOT=`echo; echo .`
45095-DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
45096-rm -f confdef2opt.sed
45097+# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
45098+OTOOL64=$lt_OTOOL64
45099
45100+# Old archive suffix (normally "a").
45101+libext=$libext
45102
45103-ac_libobjs=
45104-ac_ltlibobjs=
45105-for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
45106-  # 1. Remove the extension, and $U if already installed.
45107-  ac_i=`echo "$ac_i" |
45108-	 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
45109-  # 2. Add them.
45110-  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
45111-  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
45112-done
45113-LIBOBJS=$ac_libobjs
45114+# Shared library suffix (normally ".so").
45115+shrext_cmds=$lt_shrext_cmds
45116
45117-LTLIBOBJS=$ac_ltlibobjs
45118+# The commands to extract the exported symbol list from a shared archive.
45119+extract_expsyms_cmds=$lt_extract_expsyms_cmds
45120
45121+# Variables whose values should be saved in libtool wrapper scripts and
45122+# restored at link time.
45123+variables_saved_for_relink=$lt_variables_saved_for_relink
45124
45125+# Do we need the "lib" prefix for modules?
45126+need_lib_prefix=$need_lib_prefix
45127
45128-: ${CONFIG_STATUS=./config.status}
45129-ac_clean_files_save=$ac_clean_files
45130-ac_clean_files="$ac_clean_files $CONFIG_STATUS"
45131-{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
45132-echo "$as_me: creating $CONFIG_STATUS" >&6;}
45133-cat >$CONFIG_STATUS <<_ACEOF
45134-#! $SHELL
45135-# Generated by $as_me.
45136-# Run this file to recreate the current configuration.
45137-# Compiler output produced by configure, useful for debugging
45138-# configure, is in config.log if it exists.
45139+# Do we need a version for libraries?
45140+need_version=$need_version
45141
45142-debug=false
45143-ac_cs_recheck=false
45144-ac_cs_silent=false
45145-SHELL=\${CONFIG_SHELL-$SHELL}
45146-_ACEOF
45147+# Library versioning type.
45148+version_type=$version_type
45149
45150-cat >>$CONFIG_STATUS <<\_ACEOF
45151-## --------------------- ##
45152-## M4sh Initialization.  ##
45153-## --------------------- ##
45154+# Shared library runtime path variable.
45155+runpath_var=$runpath_var
45156
45157-# Be Bourne compatible
45158-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
45159-  emulate sh
45160-  NULLCMD=:
45161-  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
45162-  # is contrary to our usage.  Disable this feature.
45163-  alias -g '${1+"$@"}'='"$@"'
45164-elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
45165-  set -o posix
45166-fi
45167-DUALCASE=1; export DUALCASE # for MKS sh
45168+# Shared library path variable.
45169+shlibpath_var=$shlibpath_var
45170
45171-# Support unset when possible.
45172-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
45173-  as_unset=unset
45174-else
45175-  as_unset=false
45176-fi
45177+# Is shlibpath searched before the hard-coded library search path?
45178+shlibpath_overrides_runpath=$shlibpath_overrides_runpath
45179
45180+# Format of library name prefix.
45181+libname_spec=$lt_libname_spec
45182
45183-# Work around bugs in pre-3.0 UWIN ksh.
45184-$as_unset ENV MAIL MAILPATH
45185-PS1='$ '
45186-PS2='> '
45187-PS4='+ '
45188+# List of archive names.  First name is the real one, the rest are links.
45189+# The last name is the one that the linker finds with -lNAME
45190+library_names_spec=$lt_library_names_spec
45191
45192-# NLS nuisances.
45193-for as_var in \
45194-  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
45195-  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
45196-  LC_TELEPHONE LC_TIME
45197-do
45198-  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45199-    eval $as_var=C; export $as_var
45200-  else
45201-    $as_unset $as_var
45202-  fi
45203-done
45204+# The coded name of the library, if different from the real name.
45205+soname_spec=$lt_soname_spec
45206
45207-# Required to use basename.
45208-if expr a : '\(a\)' >/dev/null 2>&1; then
45209-  as_expr=expr
45210-else
45211-  as_expr=false
45212-fi
45213+# Command to use after installation of a shared archive.
45214+postinstall_cmds=$lt_postinstall_cmds
45215
45216-if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
45217-  as_basename=basename
45218-else
45219-  as_basename=false
45220-fi
45221+# Command to use after uninstallation of a shared archive.
45222+postuninstall_cmds=$lt_postuninstall_cmds
45223
45224+# Commands used to finish a libtool library installation in a directory.
45225+finish_cmds=$lt_finish_cmds
45226
45227-# Name of the executable.
45228-as_me=`$as_basename "$0" ||
45229-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
45230-	 X"$0" : 'X\(//\)$' \| \
45231-	 X"$0" : 'X\(/\)$' \| \
45232-	 .     : '\(.\)' 2>/dev/null ||
45233-echo X/"$0" |
45234-    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
45235-  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
45236-  	  /^X\/\(\/\).*/{ s//\1/; q; }
45237-  	  s/.*/./; q'`
45238+# As "finish_cmds", except a single script fragment to be evaled but
45239+# not shown.
45240+finish_eval=$lt_finish_eval
45241
45242+# Whether we should hardcode library paths into libraries.
45243+hardcode_into_libs=$hardcode_into_libs
45244
45245-# PATH needs CR, and LINENO needs CR and PATH.
45246-# Avoid depending upon Character Ranges.
45247-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
45248-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
45249-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
45250-as_cr_digits='0123456789'
45251-as_cr_alnum=$as_cr_Letters$as_cr_digits
45252+# Compile-time system search path for libraries.
45253+sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
45254
45255-# The user is always right.
45256-if test "${PATH_SEPARATOR+set}" != set; then
45257-  echo "#! /bin/sh" >conf$$.sh
45258-  echo  "exit 0"   >>conf$$.sh
45259-  chmod +x conf$$.sh
45260-  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
45261-    PATH_SEPARATOR=';'
45262-  else
45263-    PATH_SEPARATOR=:
45264-  fi
45265-  rm -f conf$$.sh
45266-fi
45267+# Run-time system search path for libraries.
45268+sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
45269
45270+# Whether dlopen is supported.
45271+dlopen_support=$enable_dlopen
45272
45273-  as_lineno_1=$LINENO
45274-  as_lineno_2=$LINENO
45275-  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
45276-  test "x$as_lineno_1" != "x$as_lineno_2" &&
45277-  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
45278-  # Find who we are.  Look in the path if we contain no path at all
45279-  # relative or not.
45280-  case $0 in
45281-    *[\\/]* ) as_myself=$0 ;;
45282-    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45283-for as_dir in $PATH
45284-do
45285-  IFS=$as_save_IFS
45286-  test -z "$as_dir" && as_dir=.
45287-  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
45288-done
45289+# Whether dlopen of programs is supported.
45290+dlopen_self=$enable_dlopen_self
45291
45292-       ;;
45293-  esac
45294-  # We did not find ourselves, most probably we were run as `sh COMMAND'
45295-  # in which case we are not to be found in the path.
45296-  if test "x$as_myself" = x; then
45297-    as_myself=$0
45298-  fi
45299-  if test ! -f "$as_myself"; then
45300-    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
45301-echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
45302-   { (exit 1); exit 1; }; }
45303-  fi
45304-  case $CONFIG_SHELL in
45305-  '')
45306-    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45307-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
45308-do
45309-  IFS=$as_save_IFS
45310-  test -z "$as_dir" && as_dir=.
45311-  for as_base in sh bash ksh sh5; do
45312-	 case $as_dir in
45313-	 /*)
45314-	   if ("$as_dir/$as_base" -c '
45315-  as_lineno_1=$LINENO
45316-  as_lineno_2=$LINENO
45317-  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
45318-  test "x$as_lineno_1" != "x$as_lineno_2" &&
45319-  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
45320-	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
45321-	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
45322-	     CONFIG_SHELL=$as_dir/$as_base
45323-	     export CONFIG_SHELL
45324-	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
45325-	   fi;;
45326-	 esac
45327-       done
45328-done
45329-;;
45330-  esac
45331+# Whether dlopen of statically linked programs is supported.
45332+dlopen_self_static=$enable_dlopen_self_static
45333
45334-  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
45335-  # uniformly replaced by the line number.  The first 'sed' inserts a
45336-  # line-number line before each line; the second 'sed' does the real
45337-  # work.  The second script uses 'N' to pair each line-number line
45338-  # with the numbered line, and appends trailing '-' during
45339-  # substitution so that $LINENO is not a special case at line end.
45340-  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
45341-  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
45342-  sed '=' <$as_myself |
45343-    sed '
45344-      N
45345-      s,$,-,
45346-      : loop
45347-      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
45348-      t loop
45349-      s,-$,,
45350-      s,^['$as_cr_digits']*\n,,
45351-    ' >$as_me.lineno &&
45352-  chmod +x $as_me.lineno ||
45353-    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
45354-echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
45355-   { (exit 1); exit 1; }; }
45356+# Commands to strip libraries.
45357+old_striplib=$lt_old_striplib
45358+striplib=$lt_striplib
45359+
45360+
45361+# The linker used to build libraries.
45362+LD=$lt_LD
45363+
45364+# Commands used to build an old-style archive.
45365+old_archive_cmds=$lt_old_archive_cmds
45366+
45367+# A language specific compiler.
45368+CC=$lt_compiler
45369+
45370+# Is the compiler the GNU compiler?
45371+with_gcc=$GCC
45372+
45373+# Compiler flag to turn off builtin functions.
45374+no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
45375
45376-  # Don't try to exec as it changes $[0], causing all sort of problems
45377-  # (the dirname of $[0] is not the place where we might find the
45378-  # original and so on.  Autoconf is especially sensible to this).
45379-  . ./$as_me.lineno
45380-  # Exit status is that of the last command.
45381-  exit
45382-}
45383+# How to pass a linker flag through the compiler.
45384+wl=$lt_lt_prog_compiler_wl
45385
45386+# Additional compiler flags for building library objects.
45387+pic_flag=$lt_lt_prog_compiler_pic
45388
45389-case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
45390-  *c*,-n*) ECHO_N= ECHO_C='
45391-' ECHO_T='	' ;;
45392-  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
45393-  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
45394-esac
45395+# Compiler flag to prevent dynamic linking.
45396+link_static_flag=$lt_lt_prog_compiler_static
45397
45398-if expr a : '\(a\)' >/dev/null 2>&1; then
45399-  as_expr=expr
45400-else
45401-  as_expr=false
45402-fi
45403+# Does compiler simultaneously support -c and -o options?
45404+compiler_c_o=$lt_lt_cv_prog_compiler_c_o
45405
45406-rm -f conf$$ conf$$.exe conf$$.file
45407-echo >conf$$.file
45408-if ln -s conf$$.file conf$$ 2>/dev/null; then
45409-  # We could just check for DJGPP; but this test a) works b) is more generic
45410-  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
45411-  if test -f conf$$.exe; then
45412-    # Don't use ln at all; we don't have any links
45413-    as_ln_s='cp -p'
45414-  else
45415-    as_ln_s='ln -s'
45416-  fi
45417-elif ln conf$$.file conf$$ 2>/dev/null; then
45418-  as_ln_s=ln
45419-else
45420-  as_ln_s='cp -p'
45421-fi
45422-rm -f conf$$ conf$$.exe conf$$.file
45423+# Whether or not to add -lc for building shared libraries.
45424+build_libtool_need_lc=$archive_cmds_need_lc
45425
45426-if mkdir -p . 2>/dev/null; then
45427-  as_mkdir_p=:
45428-else
45429-  test -d ./-p && rmdir ./-p
45430-  as_mkdir_p=false
45431-fi
45432+# Whether or not to disallow shared libs when runtime libs are static.
45433+allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
45434
45435-as_executable_p="test -f"
45436+# Compiler flag to allow reflexive dlopens.
45437+export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
45438
45439-# Sed expression to map a string onto a valid CPP name.
45440-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
45441+# Compiler flag to generate shared objects directly from archives.
45442+whole_archive_flag_spec=$lt_whole_archive_flag_spec
45443
45444-# Sed expression to map a string onto a valid variable name.
45445-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
45446+# Whether the compiler copes with passing no objects directly.
45447+compiler_needs_object=$lt_compiler_needs_object
45448
45449+# Create an old-style archive from a shared archive.
45450+old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
45451
45452-# IFS
45453-# We need space, tab and new line, in precisely that order.
45454-as_nl='
45455-'
45456-IFS=" 	$as_nl"
45457+# Create a temporary old-style archive to link instead of a shared archive.
45458+old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
45459
45460-# CDPATH.
45461-$as_unset CDPATH
45462+# Commands used to build a shared archive.
45463+archive_cmds=$lt_archive_cmds
45464+archive_expsym_cmds=$lt_archive_expsym_cmds
45465
45466-exec 6>&1
45467+# Commands used to build a loadable module if different from building
45468+# a shared archive.
45469+module_cmds=$lt_module_cmds
45470+module_expsym_cmds=$lt_module_expsym_cmds
45471
45472-# Open the log real soon, to keep \$[0] and so on meaningful, and to
45473-# report actual input values of CONFIG_FILES etc. instead of their
45474-# values after options handling.  Logging --version etc. is OK.
45475-exec 5>>config.log
45476-{
45477-  echo
45478-  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
45479-## Running $as_me. ##
45480-_ASBOX
45481-} >&5
45482-cat >&5 <<_CSEOF
45483+# Whether we are building with GNU ld or not.
45484+with_gnu_ld=$lt_with_gnu_ld
45485
45486-This file was extended by $as_me, which was
45487-generated by GNU Autoconf 2.59.  Invocation command line was
45488+# Flag that allows shared libraries with undefined symbols to be built.
45489+allow_undefined_flag=$lt_allow_undefined_flag
45490
45491-  CONFIG_FILES    = $CONFIG_FILES
45492-  CONFIG_HEADERS  = $CONFIG_HEADERS
45493-  CONFIG_LINKS    = $CONFIG_LINKS
45494-  CONFIG_COMMANDS = $CONFIG_COMMANDS
45495-  $ $0 $@
45496+# Flag that enforces no undefined symbols.
45497+no_undefined_flag=$lt_no_undefined_flag
45498
45499-_CSEOF
45500-echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
45501-echo >&5
45502-_ACEOF
45503+# Flag to hardcode \$libdir into a binary during linking.
45504+# This must work even if \$libdir does not exist
45505+hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
45506
45507-# Files that config.status was made for.
45508-if test -n "$ac_config_files"; then
45509-  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
45510-fi
45511+# If ld is used when linking, flag to hardcode \$libdir into a binary
45512+# during linking.  This must work even if \$libdir does not exist.
45513+hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
45514
45515-if test -n "$ac_config_headers"; then
45516-  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
45517-fi
45518+# Whether we need a single "-rpath" flag with a separated argument.
45519+hardcode_libdir_separator=$lt_hardcode_libdir_separator
45520
45521-if test -n "$ac_config_links"; then
45522-  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
45523-fi
45524+# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
45525+# DIR into the resulting binary.
45526+hardcode_direct=$hardcode_direct
45527
45528-if test -n "$ac_config_commands"; then
45529-  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
45530-fi
45531+# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
45532+# DIR into the resulting binary and the resulting library dependency is
45533+# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
45534+# library is relocated.
45535+hardcode_direct_absolute=$hardcode_direct_absolute
45536
45537-cat >>$CONFIG_STATUS <<\_ACEOF
45538+# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
45539+# into the resulting binary.
45540+hardcode_minus_L=$hardcode_minus_L
45541
45542-ac_cs_usage="\
45543-\`$as_me' instantiates files from templates according to the
45544-current configuration.
45545+# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
45546+# into the resulting binary.
45547+hardcode_shlibpath_var=$hardcode_shlibpath_var
45548
45549-Usage: $0 [OPTIONS] [FILE]...
45550+# Set to "yes" if building a shared library automatically hardcodes DIR
45551+# into the library and all subsequent libraries and executables linked
45552+# against it.
45553+hardcode_automatic=$hardcode_automatic
45554
45555-  -h, --help       print this help, then exit
45556-  -V, --version    print version number, then exit
45557-  -q, --quiet      do not print progress messages
45558-  -d, --debug      don't remove temporary files
45559-      --recheck    update $as_me by reconfiguring in the same conditions
45560-  --file=FILE[:TEMPLATE]
45561-		   instantiate the configuration file FILE
45562+# Set to yes if linker adds runtime paths of dependent libraries
45563+# to runtime path list.
45564+inherit_rpath=$inherit_rpath
45565
45566-Configuration files:
45567-$config_files
45568+# Whether libtool must link a program against all its dependency libraries.
45569+link_all_deplibs=$link_all_deplibs
45570
45571-Report bugs to <bug-autoconf@gnu.org>."
45572-_ACEOF
45573+# Fix the shell variable \$srcfile for the compiler.
45574+fix_srcfile_path=$lt_fix_srcfile_path
45575
45576-cat >>$CONFIG_STATUS <<_ACEOF
45577-ac_cs_version="\\
45578-config.status
45579-configured by $0, generated by GNU Autoconf 2.59,
45580-  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
45581+# Set to "yes" if exported symbols are required.
45582+always_export_symbols=$always_export_symbols
45583
45584-Copyright (C) 2003 Free Software Foundation, Inc.
45585-This config.status script is free software; the Free Software Foundation
45586-gives unlimited permission to copy, distribute and modify it."
45587-srcdir=$srcdir
45588-INSTALL="$INSTALL"
45589-_ACEOF
45590+# The commands to list exported symbols.
45591+export_symbols_cmds=$lt_export_symbols_cmds
45592
45593-cat >>$CONFIG_STATUS <<\_ACEOF
45594-# If no file are specified by the user, then we need to provide default
45595-# value.  By we need to know if files were specified by the user.
45596-ac_need_defaults=:
45597-while test $# != 0
45598-do
45599-  case $1 in
45600-  --*=*)
45601-    ac_option=`expr "x$1" : 'x\([^=]*\)='`
45602-    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
45603-    ac_shift=:
45604-    ;;
45605-  -*)
45606-    ac_option=$1
45607-    ac_optarg=$2
45608-    ac_shift=shift
45609-    ;;
45610-  *) # This is not an option, so the user has probably given explicit
45611-     # arguments.
45612-     ac_option=$1
45613-     ac_need_defaults=false;;
45614-  esac
45615+# Symbols that should not be listed in the preloaded symbols.
45616+exclude_expsyms=$lt_exclude_expsyms
45617
45618-  case $ac_option in
45619-  # Handling of the options.
45620-_ACEOF
45621-cat >>$CONFIG_STATUS <<\_ACEOF
45622-  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
45623-    ac_cs_recheck=: ;;
45624-  --version | --vers* | -V )
45625-    echo "$ac_cs_version"; exit 0 ;;
45626-  --he | --h)
45627-    # Conflict between --help and --header
45628-    { { echo "$as_me:$LINENO: error: ambiguous option: $1
45629-Try \`$0 --help' for more information." >&5
45630-echo "$as_me: error: ambiguous option: $1
45631-Try \`$0 --help' for more information." >&2;}
45632-   { (exit 1); exit 1; }; };;
45633-  --help | --hel | -h )
45634-    echo "$ac_cs_usage"; exit 0 ;;
45635-  --debug | --d* | -d )
45636-    debug=: ;;
45637-  --file | --fil | --fi | --f )
45638-    $ac_shift
45639-    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
45640-    ac_need_defaults=false;;
45641-  --header | --heade | --head | --hea )
45642-    $ac_shift
45643-    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
45644-    ac_need_defaults=false;;
45645-  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
45646-  | -silent | --silent | --silen | --sile | --sil | --si | --s)
45647-    ac_cs_silent=: ;;
45648+# Symbols that must always be exported.
45649+include_expsyms=$lt_include_expsyms
45650
45651-  # This is an error.
45652-  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
45653-Try \`$0 --help' for more information." >&5
45654-echo "$as_me: error: unrecognized option: $1
45655-Try \`$0 --help' for more information." >&2;}
45656-   { (exit 1); exit 1; }; } ;;
45657+# Commands necessary for linking programs (against libraries) with templates.
45658+prelink_cmds=$lt_prelink_cmds
45659
45660-  *) ac_config_targets="$ac_config_targets $1" ;;
45661+# Specify filename containing input files.
45662+file_list_spec=$lt_file_list_spec
45663
45664-  esac
45665-  shift
45666-done
45667+# How to hardcode a shared library path into an executable.
45668+hardcode_action=$hardcode_action
45669
45670-ac_configure_extra_args=
45671+# ### END LIBTOOL CONFIG
45672
45673-if $ac_cs_silent; then
45674-  exec 6>/dev/null
45675-  ac_configure_extra_args="$ac_configure_extra_args --silent"
45676-fi
45677+_LT_EOF
45678
45679-_ACEOF
45680-cat >>$CONFIG_STATUS <<_ACEOF
45681-if \$ac_cs_recheck; then
45682-  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
45683-  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
45684+  case $host_os in
45685+  aix3*)
45686+    cat <<\_LT_EOF >> "$cfgfile"
45687+# AIX sometimes has problems with the GCC collect2 program.  For some
45688+# reason, if we set the COLLECT_NAMES environment variable, the problems
45689+# vanish in a puff of smoke.
45690+if test "X${COLLECT_NAMES+set}" != Xset; then
45691+  COLLECT_NAMES=
45692+  export COLLECT_NAMES
45693 fi
45694+_LT_EOF
45695+    ;;
45696+  esac
45697
45698-_ACEOF
45699
45700+ltmain="$ac_aux_dir/ltmain.sh"
45701
45702
45703+  # We use sed instead of cat because bash on DJGPP gets confused if
45704+  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
45705+  # text mode, it properly converts lines to CR/LF.  This bash problem
45706+  # is reportedly fixed, but why not run on old versions too?
45707+  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
45708+    || (rm -f "$cfgfile"; exit 1)
45709
45710+  case $xsi_shell in
45711+  yes)
45712+    cat << \_LT_EOF >> "$cfgfile"
45713
45714-cat >>$CONFIG_STATUS <<\_ACEOF
45715-for ac_config_target in $ac_config_targets
45716-do
45717-  case "$ac_config_target" in
45718-  # Handling of arguments.
45719-  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
45720-  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
45721-echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
45722-   { (exit 1); exit 1; }; };;
45723+# func_dirname file append nondir_replacement
45724+# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
45725+# otherwise set result to NONDIR_REPLACEMENT.
45726+func_dirname ()
45727+{
45728+  case ${1} in
45729+    */*) func_dirname_result="${1%/*}${2}" ;;
45730+    *  ) func_dirname_result="${3}" ;;
45731   esac
45732-done
45733+}
45734
45735-# If the user did not use the arguments to specify the items to instantiate,
45736-# then the envvar interface is used.  Set only those that are not.
45737-# We use the long form for the default assignment because of an extremely
45738-# bizarre bug on SunOS 4.1.3.
45739-if $ac_need_defaults; then
45740-  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
45741-fi
45742+# func_basename file
45743+func_basename ()
45744+{
45745+  func_basename_result="${1##*/}"
45746+}
45747
45748-# Have a temporary directory for convenience.  Make it in the build tree
45749-# simply because there is no reason to put it here, and in addition,
45750-# creating and moving files from /tmp can sometimes cause problems.
45751-# Create a temporary directory, and hook for its removal unless debugging.
45752-$debug ||
45753+# func_dirname_and_basename file append nondir_replacement
45754+# perform func_basename and func_dirname in a single function
45755+# call:
45756+#   dirname:  Compute the dirname of FILE.  If nonempty,
45757+#             add APPEND to the result, otherwise set result
45758+#             to NONDIR_REPLACEMENT.
45759+#             value returned in "$func_dirname_result"
45760+#   basename: Compute filename of FILE.
45761+#             value retuned in "$func_basename_result"
45762+# Implementation must be kept synchronized with func_dirname
45763+# and func_basename. For efficiency, we do not delegate to
45764+# those functions but instead duplicate the functionality here.
45765+func_dirname_and_basename ()
45766 {
45767-  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
45768-  trap '{ (exit 1); exit 1; }' 1 2 13 15
45769+  case ${1} in
45770+    */*) func_dirname_result="${1%/*}${2}" ;;
45771+    *  ) func_dirname_result="${3}" ;;
45772+  esac
45773+  func_basename_result="${1##*/}"
45774 }
45775
45776-# Create a (secure) tmp directory for tmp files.
45777+# func_stripname prefix suffix name
45778+# strip PREFIX and SUFFIX off of NAME.
45779+# PREFIX and SUFFIX must not contain globbing or regex special
45780+# characters, hashes, percent signs, but SUFFIX may contain a leading
45781+# dot (in which case that matches only a dot).
45782+func_stripname ()
45783+{
45784+  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
45785+  # positional parameters, so assign one to ordinary parameter first.
45786+  func_stripname_result=${3}
45787+  func_stripname_result=${func_stripname_result#"${1}"}
45788+  func_stripname_result=${func_stripname_result%"${2}"}
45789+}
45790
45791+# func_opt_split
45792+func_opt_split ()
45793 {
45794-  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
45795-  test -n "$tmp" && test -d "$tmp"
45796-}  ||
45797+  func_opt_split_opt=${1%%=*}
45798+  func_opt_split_arg=${1#*=}
45799+}
45800+
45801+# func_lo2o object
45802+func_lo2o ()
45803 {
45804-  tmp=./confstat$$-$RANDOM
45805-  (umask 077 && mkdir $tmp)
45806-} ||
45807+  case ${1} in
45808+    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
45809+    *)    func_lo2o_result=${1} ;;
45810+  esac
45811+}
45812+
45813+# func_xform libobj-or-source
45814+func_xform ()
45815 {
45816-   echo "$me: cannot create a temporary directory in ." >&2
45817-   { (exit 1); exit 1; }
45818+  func_xform_result=${1%.*}.lo
45819 }
45820
45821-_ACEOF
45822+# func_arith arithmetic-term...
45823+func_arith ()
45824+{
45825+  func_arith_result=$(( $* ))
45826+}
45827
45828-cat >>$CONFIG_STATUS <<_ACEOF
45829+# func_len string
45830+# STRING may not start with a hyphen.
45831+func_len ()
45832+{
45833+  func_len_result=${#1}
45834+}
45835
45836-#
45837-# CONFIG_FILES section.
45838-#
45839+_LT_EOF
45840+    ;;
45841+  *) # Bourne compatible functions.
45842+    cat << \_LT_EOF >> "$cfgfile"
45843
45844-# No need to generate the scripts if there are no CONFIG_FILES.
45845-# This happens for instance when ./config.status config.h
45846-if test -n "\$CONFIG_FILES"; then
45847-  # Protect against being on the right side of a sed subst in config.status.
45848-  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
45849-   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
45850-s,@SHELL@,$SHELL,;t t
45851-s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
45852-s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
45853-s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
45854-s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
45855-s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
45856-s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
45857-s,@exec_prefix@,$exec_prefix,;t t
45858-s,@prefix@,$prefix,;t t
45859-s,@program_transform_name@,$program_transform_name,;t t
45860-s,@bindir@,$bindir,;t t
45861-s,@sbindir@,$sbindir,;t t
45862-s,@libexecdir@,$libexecdir,;t t
45863-s,@datadir@,$datadir,;t t
45864-s,@sysconfdir@,$sysconfdir,;t t
45865-s,@sharedstatedir@,$sharedstatedir,;t t
45866-s,@localstatedir@,$localstatedir,;t t
45867-s,@libdir@,$libdir,;t t
45868-s,@includedir@,$includedir,;t t
45869-s,@oldincludedir@,$oldincludedir,;t t
45870-s,@infodir@,$infodir,;t t
45871-s,@mandir@,$mandir,;t t
45872-s,@build_alias@,$build_alias,;t t
45873-s,@host_alias@,$host_alias,;t t
45874-s,@target_alias@,$target_alias,;t t
45875-s,@DEFS@,$DEFS,;t t
45876-s,@ECHO_C@,$ECHO_C,;t t
45877-s,@ECHO_N@,$ECHO_N,;t t
45878-s,@ECHO_T@,$ECHO_T,;t t
45879-s,@LIBS@,$LIBS,;t t
45880-s,@armcxx@,$armcxx,;t t
45881-s,@armcc@,$armcc,;t t
45882-s,@CXX@,$CXX,;t t
45883-s,@CXXFLAGS@,$CXXFLAGS,;t t
45884-s,@LDFLAGS@,$LDFLAGS,;t t
45885-s,@CPPFLAGS@,$CPPFLAGS,;t t
45886-s,@ac_ct_CXX@,$ac_ct_CXX,;t t
45887-s,@EXEEXT@,$EXEEXT,;t t
45888-s,@OBJEXT@,$OBJEXT,;t t
45889-s,@CC@,$CC,;t t
45890-s,@CFLAGS@,$CFLAGS,;t t
45891-s,@ac_ct_CC@,$ac_ct_CC,;t t
45892-s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
45893-s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
45894-s,@INSTALL_DATA@,$INSTALL_DATA,;t t
45895-s,@CXXCPP@,$CXXCPP,;t t
45896-s,@X_CFLAGS@,$X_CFLAGS,;t t
45897-s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
45898-s,@X_LIBS@,$X_LIBS,;t t
45899-s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
45900-s,@LIBVERSION@,$LIBVERSION,;t t
45901-s,@VERSION@,$VERSION,;t t
45902-s,@MAKEDEPEND@,$MAKEDEPEND,;t t
45903-s,@LIBOBJS@,$LIBOBJS,;t t
45904-s,@LTLIBOBJS@,$LTLIBOBJS,;t t
45905-CEOF
45906-
45907-_ACEOF
45908-
45909-  cat >>$CONFIG_STATUS <<\_ACEOF
45910-  # Split the substitutions into bite-sized pieces for seds with
45911-  # small command number limits, like on Digital OSF/1 and HP-UX.
45912-  ac_max_sed_lines=48
45913-  ac_sed_frag=1 # Number of current file.
45914-  ac_beg=1 # First line for current file.
45915-  ac_end=$ac_max_sed_lines # Line after last line for current file.
45916-  ac_more_lines=:
45917-  ac_sed_cmds=
45918-  while $ac_more_lines; do
45919-    if test $ac_beg -gt 1; then
45920-      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
45921-    else
45922-      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
45923-    fi
45924-    if test ! -s $tmp/subs.frag; then
45925-      ac_more_lines=false
45926-    else
45927-      # The purpose of the label and of the branching condition is to
45928-      # speed up the sed processing (if there are no `@' at all, there
45929-      # is no need to browse any of the substitutions).
45930-      # These are the two extra sed commands mentioned above.
45931-      (echo ':t
45932-  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
45933-      if test -z "$ac_sed_cmds"; then
45934-	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
45935-      else
45936-	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
45937-      fi
45938-      ac_sed_frag=`expr $ac_sed_frag + 1`
45939-      ac_beg=$ac_end
45940-      ac_end=`expr $ac_end + $ac_max_sed_lines`
45941-    fi
45942-  done
45943-  if test -z "$ac_sed_cmds"; then
45944-    ac_sed_cmds=cat
45945+# func_dirname file append nondir_replacement
45946+# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
45947+# otherwise set result to NONDIR_REPLACEMENT.
45948+func_dirname ()
45949+{
45950+  # Extract subdirectory from the argument.
45951+  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
45952+  if test "X$func_dirname_result" = "X${1}"; then
45953+    func_dirname_result="${3}"
45954+  else
45955+    func_dirname_result="$func_dirname_result${2}"
45956   fi
45957-fi # test -n "$CONFIG_FILES"
45958+}
45959
45960-_ACEOF
45961-cat >>$CONFIG_STATUS <<\_ACEOF
45962-for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
45963-  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
45964-  case $ac_file in
45965-  - | *:- | *:-:* ) # input from stdin
45966-	cat >$tmp/stdin
45967-	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
45968-	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
45969-  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
45970-	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
45971-  * )   ac_file_in=$ac_file.in ;;
45972+# func_basename file
45973+func_basename ()
45974+{
45975+  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
45976+}
45977+
45978+
45979+# func_stripname prefix suffix name
45980+# strip PREFIX and SUFFIX off of NAME.
45981+# PREFIX and SUFFIX must not contain globbing or regex special
45982+# characters, hashes, percent signs, but SUFFIX may contain a leading
45983+# dot (in which case that matches only a dot).
45984+# func_strip_suffix prefix name
45985+func_stripname ()
45986+{
45987+  case ${2} in
45988+    .*) func_stripname_result=`$ECHO "X${3}" \
45989+           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
45990+    *)  func_stripname_result=`$ECHO "X${3}" \
45991+           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
45992   esac
45993+}
45994
45995-  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
45996-  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
45997-$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45998-	 X"$ac_file" : 'X\(//\)[^/]' \| \
45999-	 X"$ac_file" : 'X\(//\)$' \| \
46000-	 X"$ac_file" : 'X\(/\)' \| \
46001-	 .     : '\(.\)' 2>/dev/null ||
46002-echo X"$ac_file" |
46003-    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
46004-  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
46005-  	  /^X\(\/\/\)$/{ s//\1/; q; }
46006-  	  /^X\(\/\).*/{ s//\1/; q; }
46007-  	  s/.*/./; q'`
46008-  { if $as_mkdir_p; then
46009-    mkdir -p "$ac_dir"
46010-  else
46011-    as_dir="$ac_dir"
46012-    as_dirs=
46013-    while test ! -d "$as_dir"; do
46014-      as_dirs="$as_dir $as_dirs"
46015-      as_dir=`(dirname "$as_dir") 2>/dev/null ||
46016-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
46017-	 X"$as_dir" : 'X\(//\)[^/]' \| \
46018-	 X"$as_dir" : 'X\(//\)$' \| \
46019-	 X"$as_dir" : 'X\(/\)' \| \
46020-	 .     : '\(.\)' 2>/dev/null ||
46021-echo X"$as_dir" |
46022-    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
46023-  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
46024-  	  /^X\(\/\/\)$/{ s//\1/; q; }
46025-  	  /^X\(\/\).*/{ s//\1/; q; }
46026-  	  s/.*/./; q'`
46027-    done
46028-    test ! -n "$as_dirs" || mkdir $as_dirs
46029-  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
46030-echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
46031-   { (exit 1); exit 1; }; }; }
46032+# sed scripts:
46033+my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
46034+my_sed_long_arg='1s/^-[^=]*=//'
46035
46036-  ac_builddir=.
46037+# func_opt_split
46038+func_opt_split ()
46039+{
46040+  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
46041+  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
46042+}
46043
46044-if test "$ac_dir" != .; then
46045-  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
46046-  # A "../" for each directory in $ac_dir_suffix.
46047-  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
46048-else
46049-  ac_dir_suffix= ac_top_builddir=
46050-fi
46051+# func_lo2o object
46052+func_lo2o ()
46053+{
46054+  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
46055+}
46056
46057-case $srcdir in
46058-  .)  # No --srcdir option.  We are building in place.
46059-    ac_srcdir=.
46060-    if test -z "$ac_top_builddir"; then
46061-       ac_top_srcdir=.
46062-    else
46063-       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
46064-    fi ;;
46065-  [\\/]* | ?:[\\/]* )  # Absolute path.
46066-    ac_srcdir=$srcdir$ac_dir_suffix;
46067-    ac_top_srcdir=$srcdir ;;
46068-  *) # Relative path.
46069-    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
46070-    ac_top_srcdir=$ac_top_builddir$srcdir ;;
46071-esac
46072+# func_xform libobj-or-source
46073+func_xform ()
46074+{
46075+  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
46076+}
46077
46078-# Do not use `cd foo && pwd` to compute absolute paths, because
46079-# the directories may not exist.
46080-case `pwd` in
46081-.) ac_abs_builddir="$ac_dir";;
46082-*)
46083-  case "$ac_dir" in
46084-  .) ac_abs_builddir=`pwd`;;
46085-  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
46086-  *) ac_abs_builddir=`pwd`/"$ac_dir";;
46087-  esac;;
46088-esac
46089-case $ac_abs_builddir in
46090-.) ac_abs_top_builddir=${ac_top_builddir}.;;
46091-*)
46092-  case ${ac_top_builddir}. in
46093-  .) ac_abs_top_builddir=$ac_abs_builddir;;
46094-  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
46095-  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
46096-  esac;;
46097-esac
46098-case $ac_abs_builddir in
46099-.) ac_abs_srcdir=$ac_srcdir;;
46100-*)
46101-  case $ac_srcdir in
46102-  .) ac_abs_srcdir=$ac_abs_builddir;;
46103-  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
46104-  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
46105-  esac;;
46106+# func_arith arithmetic-term...
46107+func_arith ()
46108+{
46109+  func_arith_result=`expr "$@"`
46110+}
46111+
46112+# func_len string
46113+# STRING may not start with a hyphen.
46114+func_len ()
46115+{
46116+  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
46117+}
46118+
46119+_LT_EOF
46120 esac
46121-case $ac_abs_builddir in
46122-.) ac_abs_top_srcdir=$ac_top_srcdir;;
46123+
46124+case $lt_shell_append in
46125+  yes)
46126+    cat << \_LT_EOF >> "$cfgfile"
46127+
46128+# func_append var value
46129+# Append VALUE to the end of shell variable VAR.
46130+func_append ()
46131+{
46132+  eval "$1+=\$2"
46133+}
46134+_LT_EOF
46135+    ;;
46136 *)
46137-  case $ac_top_srcdir in
46138-  .) ac_abs_top_srcdir=$ac_abs_builddir;;
46139-  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
46140-  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
46141-  esac;;
46142-esac
46143+    cat << \_LT_EOF >> "$cfgfile"
46144
46145+# func_append var value
46146+# Append VALUE to the end of shell variable VAR.
46147+func_append ()
46148+{
46149+  eval "$1=\$$1\$2"
46150+}
46151
46152-  case $INSTALL in
46153-  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
46154-  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
46155+_LT_EOF
46156+    ;;
46157   esac
46158
46159-  if test x"$ac_file" != x-; then
46160-    { echo "$as_me:$LINENO: creating $ac_file" >&5
46161-echo "$as_me: creating $ac_file" >&6;}
46162-    rm -f "$ac_file"
46163-  fi
46164-  # Let's still pretend it is `configure' which instantiates (i.e., don't
46165-  # use $as_me), people would be surprised to read:
46166-  #    /* config.h.  Generated by config.status.  */
46167-  if test x"$ac_file" = x-; then
46168-    configure_input=
46169-  else
46170-    configure_input="$ac_file.  "
46171-  fi
46172-  configure_input=$configure_input"Generated from `echo $ac_file_in |
46173-				     sed 's,.*/,,'` by configure."
46174
46175-  # First look for the input files in the build tree, otherwise in the
46176-  # src tree.
46177-  ac_file_inputs=`IFS=:
46178-    for f in $ac_file_in; do
46179-      case $f in
46180-      -) echo $tmp/stdin ;;
46181-      [\\/$]*)
46182-	 # Absolute (can't be DOS-style, as IFS=:)
46183-	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
46184-echo "$as_me: error: cannot find input file: $f" >&2;}
46185-   { (exit 1); exit 1; }; }
46186-	 echo "$f";;
46187-      *) # Relative
46188-	 if test -f "$f"; then
46189-	   # Build tree
46190-	   echo "$f"
46191-	 elif test -f "$srcdir/$f"; then
46192-	   # Source tree
46193-	   echo "$srcdir/$f"
46194-	 else
46195-	   # /dev/null tree
46196-	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
46197-echo "$as_me: error: cannot find input file: $f" >&2;}
46198-   { (exit 1); exit 1; }; }
46199-	 fi;;
46200-      esac
46201-    done` || { (exit 1); exit 1; }
46202-_ACEOF
46203-cat >>$CONFIG_STATUS <<_ACEOF
46204-  sed "$ac_vpsub
46205-$extrasub
46206-_ACEOF
46207-cat >>$CONFIG_STATUS <<\_ACEOF
46208-:t
46209-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
46210-s,@configure_input@,$configure_input,;t t
46211-s,@srcdir@,$ac_srcdir,;t t
46212-s,@abs_srcdir@,$ac_abs_srcdir,;t t
46213-s,@top_srcdir@,$ac_top_srcdir,;t t
46214-s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
46215-s,@builddir@,$ac_builddir,;t t
46216-s,@abs_builddir@,$ac_abs_builddir,;t t
46217-s,@top_builddir@,$ac_top_builddir,;t t
46218-s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
46219-s,@INSTALL@,$ac_INSTALL,;t t
46220-" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
46221-  rm -f $tmp/stdin
46222-  if test x"$ac_file" != x-; then
46223-    mv $tmp/out $ac_file
46224-  else
46225-    cat $tmp/out
46226-    rm -f $tmp/out
46227-  fi
46228+  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
46229+    || (rm -f "$cfgfile"; exit 1)
46230
46231-done
46232-_ACEOF
46233+  mv -f "$cfgfile" "$ofile" ||
46234+    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
46235+  chmod +x "$ofile"
46236+
46237+ ;;
46238+
46239+  esac
46240+done # for ac_tag
46241
46242-cat >>$CONFIG_STATUS <<\_ACEOF
46243
46244 { (exit 0); exit 0; }
46245 _ACEOF
46246 chmod +x $CONFIG_STATUS
46247 ac_clean_files=$ac_clean_files_save
46248
46249+test $ac_write_fail = 0 ||
46250+  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
46251+$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
46252+   { (exit 1); exit 1; }; }
46253+
46254
46255 # configure is writing to config.log, and then calls config.status.
46256 # config.status does its own redirection, appending to config.log.
46257@@ -5631,4 +14685,8 @@
46258   # would make configure fail if this is the last instruction.
46259   $ac_cs_success || { (exit 1); exit 1; }
46260 fi
46261+if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
46262+  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
46263+$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
46264+fi
46265
46266diff -urwN nxproxy-orig/configure.ac nxproxy/configure.ac
46267--- nxproxy-orig/configure.ac	1970-01-01 01:00:00.000000000 +0100
46268+++ nxproxy/configure.ac	2009-10-10 13:57:35.078831892 +0200
46269@@ -0,0 +1,31 @@
46270+#                                               -*- Autoconf -*-
46271+# Process this file with autoconf to produce a configure script.
46272+
46273+AC_PREREQ(2.61)
46274+AC_INIT(FULL-PACKAGE-NAME, VERSION, BUG-REPORT-ADDRESS)
46275+AC_CONFIG_SRCDIR([Main.c])
46276+AC_CONFIG_AUX_DIR([conf])
46277+AC_CONFIG_MACRO_DIR([conf/m4])
46278+AC_CANONICAL_TARGET
46279+AM_INIT_AUTOMAKE([foreign no-installinfo no-installman silent-rules])
46280+AM_SILENT_RULES([yes])
46281+
46282+# Checks for programs.
46283+AM_DISABLE_STATIC
46284+AC_PROG_LIBTOOL
46285+AC_PROG_CC
46286+AC_PROG_INSTALL
46287+
46288+# Checks for libraries.
46289+
46290+# Checks for header files.
46291+AC_HEADER_STDC
46292+AC_CHECK_HEADERS([stdlib.h string.h sys/time.h sys/types.h unistd.h winsock.h])
46293+
46294+# Checks for typedefs, structures, and compiler characteristics.
46295+AC_C_CONST
46296+
46297+# Checks for library functions.
46298+
46299+AC_CONFIG_FILES([Makefile])
46300+AC_OUTPUT
46301diff -urwN nxproxy-orig/configure.in nxproxy/configure.in
46302--- nxproxy-orig/configure.in	2005-11-11 17:27:22.000000000 +0100
46303+++ nxproxy/configure.in	1970-01-01 01:00:00.000000000 +0100
46304@@ -1,185 +0,0 @@
46305-dnl Process this file with autoconf to produce a configure script.
46306-
46307-dnl Prolog
46308-
46309-AC_INIT(Main.c)
46310-AC_PREREQ(2.13)
46311-
46312-dnl Reset default compilation flags.
46313-
46314-CXXFLAGS="-O3"
46315-CPPFLAGS="-O3"
46316-
46317-dnl Prefer headers and libraries from nx-X11 if present.
46318-
46319-if test -d "../nx-X11/exports/include" ; then
46320-    CXXFLAGS="$CXXFLAGS -I../nx-X11/exports/include"
46321-    LIBS="$LIBS -L../nx-X11/exports/lib"
46322-fi
46323-
46324-dnl Check whether --with-ipaq was given.
46325-
46326-if test "${with_ipaq}" = yes; then
46327-  echo -e "enabling ipaq configuration"
46328-  CXX="arm-linux-c++"
46329-  CC="arm-linux-gcc"
46330-  unset ac_cv_prog_armcxx
46331-  unset ac_cv_prog_armcc
46332-  unset ac_cv_prog_CXXCPP
46333-  AC_CHECK_PROG([armcxx],["$CXX"],[yes],[no],[$PATH])
46334-  AC_CHECK_PROG([armcc],["$CC"],[yes],[no],[$PATH])
46335-  if test $armcxx = "yes" && test $armcc = "yes" ; then
46336-    ac_cv_prog_CXX="$CXX"
46337-    ac_cv_prog_CC="$CC"
46338-  else
46339-    AC_MSG_ERROR(installation or configuration problem: I cannot find compiler for arm-linux)
46340-  fi
46341-else
46342-  unset ac_cv_prog_CXX
46343-  unset ac_cv_prog_CC
46344-  unset ac_cv_prog_CXXCPP
46345-fi
46346-
46347-dnl Check for programs.
46348-
46349-AC_PROG_CXX
46350-AC_PROG_CC
46351-AC_LANG_CPLUSPLUS
46352-
46353-dnl Check for BSD compatible install.
46354-
46355-AC_PROG_INSTALL
46356-
46357-dnl Check for extra header files.
46358-
46359-AC_PATH_XTRA
46360-
46361-dnl Custom addition.
46362-
46363-ac_help="$ac_help
46364-  --with-symbols          give -g flag to compiler to produce debug symbols
46365-  --with-info             define INFO at compile time to get basic log output
46366-  --with-valgrind         clean up allocated buffers to avoid valgrind warnings
46367-  --with-version          use this version for produced libraries"
46368-
46369-dnl Check to see if we're running under Cygwin32.
46370-
46371-
46372-dnl Check to see if we're running under FreeBSD.
46373-AC_DEFUN(nxconf_FreeBSD,
46374-[AC_CACHE_CHECK(for FreeBSD environment, nxconf_cv_freebsd,
46375-[AC_TRY_COMPILE(,[return __FreeBSD__;],
46376-nxconf_cv_freebsd=yes, nxconf_cv_freebsd=no)
46377-rm -f conftest*])
46378-FreeBSD=
46379-test "$nxconf_cv_freebsd" = yes && FreeBSD=yes])
46380-nxconf_FreeBSD
46381-
46382-
46383-AC_DEFUN(nxconf_CYGWIN32,
46384-[AC_CACHE_CHECK(for Cygwin32 environment, nxconf_cv_cygwin32,
46385-[AC_TRY_COMPILE(,[return __CYGWIN32__;],
46386-nxconf_cv_cygwin32=yes, nxconf_cv_cygwin32=no)
46387-rm -f conftest*])
46388-CYGWIN32=
46389-test "$nxconf_cv_cygwin32" = yes && CYGWIN32=yes])
46390-nxconf_CYGWIN32
46391-
46392-dnl Check for Darwin environment.
46393-
46394-AC_DEFUN(nxconf_DARWIN,
46395-[AC_CACHE_CHECK(for Darwin environment, nxconf_cv_darwin,
46396-[AC_TRY_COMPILE(,[return __APPLE__;],
46397-nxconf_cv_darwin=yes, nxconf_cv_darwin=no)
46398-rm -f conftest*])
46399-DARWIN=
46400-test "$nxconf_cv_darwin" = yes && DARWIN=yes])
46401-nxconf_DARWIN
46402-
46403-dnl Check to see if we're running under Solaris.
46404-
46405-AC_DEFUN(nxconf_SUN,
46406-[AC_CACHE_CHECK(for SunOS environment, nxconf_cv_sun,
46407-[AC_TRY_COMPILE(,[return __sun;],
46408-nxconf_cv_sun=yes, nxconf_cv_sun=no)
46409-rm -f conftest*])
46410-SUN=
46411-test "$nxconf_cv_sun" = yes && SUN=yes])
46412-nxconf_SUN
46413-
46414-dnl Check whether --with-version was given.
46415-
46416-AC_SUBST(LIBVERSION)
46417-AC_SUBST(VERSION)
46418-if test "${with_version}" = yes; then
46419-  VERSION=${ac_option}
46420-else
46421-  VERSION=`cat VERSION`
46422-fi
46423-echo -e "compiling version ${VERSION}"
46424-
46425-LIBVERSION=`echo ${VERSION} | cut -d '.' -f 1`
46426-
46427-CXXFLAGS="$CXXFLAGS -DVERSION=\\\"${VERSION}\\\""
46428-CPPFLAGS="$CPPFLAGS -DVERSION=\\\"${VERSION}\\\""
46429-
46430-dnl Check whether --with-symbols or --without-symbols was
46431-dnl given and set the required optimization level.
46432-
46433-if test "${with_symbols}" = yes; then
46434-  echo -e "enabling production of debug symbols"
46435-  CXXFLAGS="-g $CXXFLAGS"
46436-  CPPFLAGS="-g $CPPFLAGS"
46437-else
46438-  echo -e "disabling production of debug symbols"
46439-fi
46440-
46441-dnl Check whether --with-info or --without-info was given.
46442-
46443-if test "${with_info}" = yes; then
46444-  echo -e "enabling info output in the log file"
46445-  CXXFLAGS="$CXXFLAGS -DINFO"
46446-  CPPFLAGS="$CPPFLAGS -DINFO"
46447-else
46448-  echo -e "disabling info output in the log file"
46449-fi
46450-
46451-dnl Check whether --with-valgrind or --without-valgrind was given.
46452-
46453-if test "${with_valgrind}" = yes; then
46454-  echo -e "enabling valgrind memory checker workarounds"
46455-  CXXFLAGS="$CXXFLAGS -DVALGRIND"
46456-  CPPFLAGS="$CPPFLAGS -DVALGRIND"
46457-else
46458-  echo -e "disabling valgrind memory checker workarounds"
46459-fi
46460-
46461-dnl Cygwin requires that the stdc++ library is linked explicitly.
46462-dnl GCC 3.3.x requires also the z, png and jpeg libraries. This is
46463-dnl not true anymore since GCC 3.4.x.
46464-
46465-if test "$CYGWIN32" = yes; then
46466-    LIBS="$LIBS -L../nxcomp -lXcomp -lstdc++ -Wl,-e,_mainCRTStartup -ljpeg -lpng -lz"
46467-else
46468-    LIBS="$LIBS -L../nxcomp -lXcomp"
46469-fi
46470-
46471-dnl Find makedepend somewhere.
46472-
46473-AC_SUBST(MAKEDEPEND)
46474-
46475-if test -x "../nx-X11/config/makedepend/makedepend" ; then
46476-  MAKEDEPEND=../nx-X11/config/makedepend/makedepend
46477-else
46478-  if test -x "/usr/X11R6/bin/makedepend" ; then
46479-    MAKEDEPEND=/usr/X11R6/bin/makedepend
46480-  else
46481-    if test -x "/usr/openwin/bin/makedepend" ; then
46482-      MAKEDEPEND=/usr/openwin/bin/makedepend
46483-    else
46484-      MAKEDEPEND=makedepend
46485-    fi
46486-  fi
46487-fi
46488-
46489-AC_OUTPUT(Makefile)
46490diff -urwN nxproxy-orig/install-sh nxproxy/install-sh
46491--- nxproxy-orig/install-sh	2002-04-17 17:56:22.000000000 +0200
46492+++ nxproxy/install-sh	1970-01-01 01:00:00.000000000 +0100
46493@@ -1,238 +0,0 @@
46494-#! /bin/sh
46495-#
46496-# install - install a program, script, or datafile
46497-# This comes from X11R5.
46498-#
46499-# Calling this script install-sh is preferred over install.sh, to prevent
46500-# `make' implicit rules from creating a file called install from it
46501-# when there is no Makefile.
46502-#
46503-# This script is compatible with the BSD install script, but was written
46504-# from scratch.
46505-#
46506-
46507-
46508-# set DOITPROG to echo to test this script
46509-
46510-# Don't use :- since 4.3BSD and earlier shells don't like it.
46511-doit="${DOITPROG-}"
46512-
46513-
46514-# put in absolute paths if you don't have them in your path; or use env. vars.
46515-
46516-mvprog="${MVPROG-mv}"
46517-cpprog="${CPPROG-cp}"
46518-chmodprog="${CHMODPROG-chmod}"
46519-chownprog="${CHOWNPROG-chown}"
46520-chgrpprog="${CHGRPPROG-chgrp}"
46521-stripprog="${STRIPPROG-strip}"
46522-rmprog="${RMPROG-rm}"
46523-mkdirprog="${MKDIRPROG-mkdir}"
46524-
46525-transformbasename=""
46526-transform_arg=""
46527-instcmd="$mvprog"
46528-chmodcmd="$chmodprog 0755"
46529-chowncmd=""
46530-chgrpcmd=""
46531-stripcmd=""
46532-rmcmd="$rmprog -f"
46533-mvcmd="$mvprog"
46534-src=""
46535-dst=""
46536-dir_arg=""
46537-
46538-while [ x"$1" != x ]; do
46539-    case $1 in
46540-	-c) instcmd="$cpprog"
46541-	    shift
46542-	    continue;;
46543-
46544-	-d) dir_arg=true
46545-	    shift
46546-	    continue;;
46547-
46548-	-m) chmodcmd="$chmodprog $2"
46549-	    shift
46550-	    shift
46551-	    continue;;
46552-
46553-	-o) chowncmd="$chownprog $2"
46554-	    shift
46555-	    shift
46556-	    continue;;
46557-
46558-	-g) chgrpcmd="$chgrpprog $2"
46559-	    shift
46560-	    shift
46561-	    continue;;
46562-
46563-	-s) stripcmd="$stripprog"
46564-	    shift
46565-	    continue;;
46566-
46567-	-t=*) transformarg=`echo $1 | sed 's/-t=//'`
46568-	    shift
46569-	    continue;;
46570-
46571-	-b=*) transformbasename=`echo $1 | sed 's/-b=//'`
46572-	    shift
46573-	    continue;;
46574-
46575-	*)  if [ x"$src" = x ]
46576-	    then
46577-		src=$1
46578-	    else
46579-		# this colon is to work around a 386BSD /bin/sh bug
46580-		:
46581-		dst=$1
46582-	    fi
46583-	    shift
46584-	    continue;;
46585-    esac
46586-done
46587-
46588-if [ x"$src" = x ]
46589-then
46590-	echo "install:	no input file specified"
46591-	exit 1
46592-else
46593-	true
46594-fi
46595-
46596-if [ x"$dir_arg" != x ]; then
46597-	dst=$src
46598-	src=""
46599-
46600-	if [ -d $dst ]; then
46601-		instcmd=:
46602-	else
46603-		instcmd=mkdir
46604-	fi
46605-else
46606-
46607-# Waiting for this to be detected by the "$instcmd $src $dsttmp" command
46608-# might cause directories to be created, which would be especially bad
46609-# if $src (and thus $dsttmp) contains '*'.
46610-
46611-	if [ -f $src -o -d $src ]
46612-	then
46613-		true
46614-	else
46615-		echo "install:  $src does not exist"
46616-		exit 1
46617-	fi
46618-
46619-	if [ x"$dst" = x ]
46620-	then
46621-		echo "install:	no destination specified"
46622-		exit 1
46623-	else
46624-		true
46625-	fi
46626-
46627-# If destination is a directory, append the input filename; if your system
46628-# does not like double slashes in filenames, you may need to add some logic
46629-
46630-	if [ -d $dst ]
46631-	then
46632-		dst="$dst"/`basename $src`
46633-	else
46634-		true
46635-	fi
46636-fi
46637-
46638-## this sed command emulates the dirname command
46639-dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
46640-
46641-# Make sure that the destination directory exists.
46642-#  this part is taken from Noah Friedman's mkinstalldirs script
46643-
46644-# Skip lots of stat calls in the usual case.
46645-if [ ! -d "$dstdir" ]; then
46646-defaultIFS='
46647-'
46648-IFS="${IFS-${defaultIFS}}"
46649-
46650-oIFS="${IFS}"
46651-# Some sh's can't handle IFS=/ for some reason.
46652-IFS='%'
46653-set - `echo ${dstdir} | sed -e 's@/@%@g' -e 's@^%@/@'`
46654-IFS="${oIFS}"
46655-
46656-pathcomp=''
46657-
46658-while [ $# -ne 0 ] ; do
46659-	pathcomp="${pathcomp}${1}"
46660-	shift
46661-
46662-	if [ ! -d "${pathcomp}" ] ;
46663-        then
46664-		$mkdirprog "${pathcomp}"
46665-	else
46666-		true
46667-	fi
46668-
46669-	pathcomp="${pathcomp}/"
46670-done
46671-fi
46672-
46673-if [ x"$dir_arg" != x ]
46674-then
46675-	$doit $instcmd $dst &&
46676-
46677-	if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; else true ; fi &&
46678-	if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; else true ; fi &&
46679-	if [ x"$stripcmd" != x ]; then $doit $stripcmd $dst; else true ; fi &&
46680-	if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dst; else true ; fi
46681-else
46682-
46683-# If we're going to rename the final executable, determine the name now.
46684-
46685-	if [ x"$transformarg" = x ]
46686-	then
46687-		dstfile=`basename $dst`
46688-	else
46689-		dstfile=`basename $dst $transformbasename |
46690-			sed $transformarg`$transformbasename
46691-	fi
46692-
46693-# don't allow the sed command to completely eliminate the filename
46694-
46695-	if [ x"$dstfile" = x ]
46696-	then
46697-		dstfile=`basename $dst`
46698-	else
46699-		true
46700-	fi
46701-
46702-# Make a temp file name in the proper directory.
46703-
46704-	dsttmp=$dstdir/#inst.$$#
46705-
46706-# Move or copy the file name to the temp name
46707-
46708-	$doit $instcmd $src $dsttmp &&
46709-
46710-	trap "rm -f ${dsttmp}" 0 &&
46711-
46712-# and set any options; do chmod last to preserve setuid bits
46713-
46714-# If any of these fail, we abort the whole thing.  If we want to
46715-# ignore errors from any of these, just make sure not to ignore
46716-# errors from the above "$doit $instcmd $src $dsttmp" command.
46717-
46718-	if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; else true;fi &&
46719-	if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; else true;fi &&
46720-	if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; else true;fi &&
46721-	if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; else true;fi &&
46722-
46723-# Now rename the file to the real destination.
46724-
46725-	$doit $rmcmd -f $dstdir/$dstfile &&
46726-	$doit $mvcmd $dsttmp $dstdir/$dstfile
46727-
46728-fi &&
46729-
46730-
46731-exit 0
46732diff -urwN nxproxy-orig/Main.c nxproxy/Main.c
46733--- nxproxy-orig/Main.c	2007-01-19 17:34:34.000000000 +0100
46734+++ nxproxy/Main.c	2009-10-10 13:57:19.108580590 +0200
46735@@ -15,10 +15,18 @@
46736 /*                                                                        */
46737 /**************************************************************************/
46738
46739+#ifdef HAVE_CONFIG_H
46740+# include "config.h"
46741+#endif
46742 #include <stdio.h>
46743 #include <stdlib.h>
46744 #include <string.h>
46745+#ifdef HAVE_WINSOCK_H
46746+# include <winsock.h>
46747+#endif
46748+#ifdef HAVE_UNISTD_H
46749 #include <unistd.h>
46750+#endif
46751
46752 #include "NX.h"
46753
46754diff -urwN nxproxy-orig/Makefile.am nxproxy/Makefile.am
46755--- nxproxy-orig/Makefile.am	1970-01-01 01:00:00.000000000 +0100
46756+++ nxproxy/Makefile.am	2009-10-10 13:57:19.108580590 +0200
46757@@ -0,0 +1,17 @@
46758+ACLOCAL_AMFLAGS = -I conf/m4
46759+AM_LIBTOOLFLAGS = --silent
46760+
46761+bin_PROGRAMS = nxproxy
46762+nxproxy_SOURCES = Main.c
46763+nxproxy_LDADD = $(top_srcdir)/../nxcomp/libXcomp.la
46764+nxproxy_CPPFLAGS = -I$(top_srcdir)/../nxcomp
46765+
46766+EXTRA_DIST = CHANGELOG COPYING LICENSE README README-IPAQ README-VALGRIND VERSION
46767+
46768+MAINTAINERCLEANFILES = \
46769+	conf/config.guess  conf/config.sub conf/depcomp \
46770+	conf/install-sh conf/ltmain.sh conf/missing \
46771+	configure Makefile.in aclocal.m4 *~
46772+
46773+bootstrap:
46774+	autoreconf -f -i
46775diff -urwN nxproxy-orig/Makefile.in nxproxy/Makefile.in
46776--- nxproxy-orig/Makefile.in	2005-07-16 17:43:17.000000000 +0200
46777+++ nxproxy/Makefile.in	2009-10-10 13:57:56.136830425 +0200
46778@@ -1,101 +1,703 @@
46779-#
46780-# Get values from configure script.
46781-#
46782-VERSION=@VERSION@
46783-LIBVERSION=@LIBVERSION@
46784+# Makefile.in generated by automake 1.11 from Makefile.am.
46785+# @configure_input@
46786
46787-#
46788-# Enable really all warnings. This, though, gives
46789-# a warning due to pthread.h and unistd.h.
46790-#
46791-# -Wredundant-decls
46792-#
46793-CXX      = @CXX@
46794-CXXFLAGS = @CXXFLAGS@ @X_CFLAGS@ @DEFS@ \
46795-           -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
46796-           -Wmissing-declarations -Wnested-externs
46797+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
46798+# 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
46799+# Inc.
46800+# This Makefile.in is free software; the Free Software Foundation
46801+# gives unlimited permission to copy and/or distribute it,
46802+# with or without modifications, as long as this notice is preserved.
46803+
46804+# This program is distributed in the hope that it will be useful,
46805+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
46806+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
46807+# PARTICULAR PURPOSE.
46808
46809-CXXINCLUDES = -I. -I../nxcomp
46810+@SET_MAKE@
46811
46812+VPATH = @srcdir@
46813+pkgdatadir = $(datadir)/@PACKAGE@
46814+pkgincludedir = $(includedir)/@PACKAGE@
46815+pkglibdir = $(libdir)/@PACKAGE@
46816+pkglibexecdir = $(libexecdir)/@PACKAGE@
46817+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
46818+install_sh_DATA = $(install_sh) -c -m 644
46819+install_sh_PROGRAM = $(install_sh) -c
46820+install_sh_SCRIPT = $(install_sh) -c
46821+INSTALL_HEADER = $(INSTALL_DATA)
46822+transform = $(program_transform_name)
46823+NORMAL_INSTALL = :
46824+PRE_INSTALL = :
46825+POST_INSTALL = :
46826+NORMAL_UNINSTALL = :
46827+PRE_UNINSTALL = :
46828+POST_UNINSTALL = :
46829+build_triplet = @build@
46830+host_triplet = @host@
46831+target_triplet = @target@
46832+bin_PROGRAMS = nxproxy$(EXEEXT)
46833+subdir = .
46834+DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
46835+	$(srcdir)/Makefile.in $(top_srcdir)/configure COPYING \
46836+	conf/config.guess conf/config.sub conf/depcomp conf/install-sh \
46837+	conf/ltmain.sh conf/missing
46838+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
46839+am__aclocal_m4_deps = $(top_srcdir)/conf/m4/libtool.m4 \
46840+	$(top_srcdir)/conf/m4/ltoptions.m4 \
46841+	$(top_srcdir)/conf/m4/ltsugar.m4 \
46842+	$(top_srcdir)/conf/m4/ltversion.m4 \
46843+	$(top_srcdir)/conf/m4/lt~obsolete.m4 \
46844+	$(top_srcdir)/configure.ac
46845+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
46846+	$(ACLOCAL_M4)
46847+am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
46848+ configure.lineno config.status.lineno
46849+mkinstalldirs = $(install_sh) -d
46850+CONFIG_CLEAN_FILES =
46851+CONFIG_CLEAN_VPATH_FILES =
46852+am__installdirs = "$(DESTDIR)$(bindir)"
46853+PROGRAMS = $(bin_PROGRAMS)
46854+am_nxproxy_OBJECTS = nxproxy-Main.$(OBJEXT)
46855+nxproxy_OBJECTS = $(am_nxproxy_OBJECTS)
46856+nxproxy_DEPENDENCIES = $(top_srcdir)/../nxcomp/libXcomp.la
46857+AM_V_lt = $(am__v_lt_$(V))
46858+am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY))
46859+am__v_lt_0 = --silent
46860+DEFAULT_INCLUDES = -I.@am__isrc@
46861+depcomp = $(SHELL) $(top_srcdir)/conf/depcomp
46862+am__depfiles_maybe = depfiles
46863+am__mv = mv -f
46864+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
46865+	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
46866+LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
46867+	$(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
46868+	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
46869+	$(AM_CFLAGS) $(CFLAGS)
46870+AM_V_CC = $(am__v_CC_$(V))
46871+am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY))
46872+am__v_CC_0 = @echo "  CC    " $@;
46873+AM_V_at = $(am__v_at_$(V))
46874+am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
46875+am__v_at_0 = @
46876+CCLD = $(CC)
46877+LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
46878+	$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
46879+	$(AM_LDFLAGS) $(LDFLAGS) -o $@
46880+AM_V_CCLD = $(am__v_CCLD_$(V))
46881+am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY))
46882+am__v_CCLD_0 = @echo "  CCLD  " $@;
46883+AM_V_GEN = $(am__v_GEN_$(V))
46884+am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
46885+am__v_GEN_0 = @echo "  GEN   " $@;
46886+SOURCES = $(nxproxy_SOURCES)
46887+DIST_SOURCES = $(nxproxy_SOURCES)
46888+ETAGS = etags
46889+CTAGS = ctags
46890+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
46891+distdir = $(PACKAGE)-$(VERSION)
46892+top_distdir = $(distdir)
46893+am__remove_distdir = \
46894+  { test ! -d "$(distdir)" \
46895+    || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
46896+         && rm -fr "$(distdir)"; }; }
46897+DIST_ARCHIVES = $(distdir).tar.gz
46898+GZIP_ENV = --best
46899+distuninstallcheck_listfiles = find . -type f -print
46900+distcleancheck_listfiles = find . -type f -print
46901+ACLOCAL = @ACLOCAL@
46902+AMTAR = @AMTAR@
46903+AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
46904+AR = @AR@
46905+AUTOCONF = @AUTOCONF@
46906+AUTOHEADER = @AUTOHEADER@
46907+AUTOMAKE = @AUTOMAKE@
46908+AWK = @AWK@
46909 CC         = @CC@
46910-CCFLAGS    = $(CXXFLAGS)
46911-CCINCLUDES = -I. -I../nxcomp
46912-CCDEFINES  =
46913-
46914+CCDEPMODE = @CCDEPMODE@
46915+CFLAGS = @CFLAGS@
46916+CPP = @CPP@
46917+CPPFLAGS = @CPPFLAGS@
46918+CYGPATH_W = @CYGPATH_W@
46919+DEFS = @DEFS@
46920+DEPDIR = @DEPDIR@
46921+DSYMUTIL = @DSYMUTIL@
46922+DUMPBIN = @DUMPBIN@
46923+ECHO_C = @ECHO_C@
46924+ECHO_N = @ECHO_N@
46925+ECHO_T = @ECHO_T@
46926+EGREP = @EGREP@
46927+EXEEXT = @EXEEXT@
46928+FGREP = @FGREP@
46929+GREP = @GREP@
46930+INSTALL = @INSTALL@
46931+INSTALL_DATA = @INSTALL_DATA@
46932+INSTALL_PROGRAM = @INSTALL_PROGRAM@
46933+INSTALL_SCRIPT = @INSTALL_SCRIPT@
46934+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
46935+LD = @LD@
46936 LDFLAGS = @LDFLAGS@
46937+LIBOBJS = @LIBOBJS@
46938 LIBS    = @LIBS@
46939+LIBTOOL = @LIBTOOL@
46940+LIPO = @LIPO@
46941+LN_S = @LN_S@
46942+LTLIBOBJS = @LTLIBOBJS@
46943+MAKEINFO = @MAKEINFO@
46944+MKDIR_P = @MKDIR_P@
46945+NM = @NM@
46946+NMEDIT = @NMEDIT@
46947+OBJDUMP = @OBJDUMP@
46948+OBJEXT = @OBJEXT@
46949+OTOOL = @OTOOL@
46950+OTOOL64 = @OTOOL64@
46951+PACKAGE = @PACKAGE@
46952+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
46953+PACKAGE_NAME = @PACKAGE_NAME@
46954+PACKAGE_STRING = @PACKAGE_STRING@
46955+PACKAGE_TARNAME = @PACKAGE_TARNAME@
46956+PACKAGE_VERSION = @PACKAGE_VERSION@
46957+PATH_SEPARATOR = @PATH_SEPARATOR@
46958+RANLIB = @RANLIB@
46959+SED = @SED@
46960+SET_MAKE = @SET_MAKE@
46961+SHELL = @SHELL@
46962+STRIP = @STRIP@
46963+VERSION = @VERSION@
46964+abs_builddir = @abs_builddir@
46965+abs_srcdir = @abs_srcdir@
46966+abs_top_builddir = @abs_top_builddir@
46967+abs_top_srcdir = @abs_top_srcdir@
46968+ac_ct_CC = @ac_ct_CC@
46969+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
46970+am__include = @am__include@
46971+am__leading_dot = @am__leading_dot@
46972+am__quote = @am__quote@
46973+am__tar = @am__tar@
46974+am__untar = @am__untar@
46975+bindir = @bindir@
46976+build = @build@
46977+build_alias = @build_alias@
46978+build_cpu = @build_cpu@
46979+build_os = @build_os@
46980+build_vendor = @build_vendor@
46981+builddir = @builddir@
46982+datadir = @datadir@
46983+datarootdir = @datarootdir@
46984+docdir = @docdir@
46985+dvidir = @dvidir@
46986+exec_prefix = @exec_prefix@
46987+host = @host@
46988+host_alias = @host_alias@
46989+host_cpu = @host_cpu@
46990+host_os = @host_os@
46991+host_vendor = @host_vendor@
46992+htmldir = @htmldir@
46993+includedir = @includedir@
46994+infodir = @infodir@
46995+install_sh = @install_sh@
46996+libdir = @libdir@
46997+libexecdir = @libexecdir@
46998+localedir = @localedir@
46999+localstatedir = @localstatedir@
47000+lt_ECHO = @lt_ECHO@
47001+mandir = @mandir@
47002+mkdir_p = @mkdir_p@
47003+oldincludedir = @oldincludedir@
47004+pdfdir = @pdfdir@
47005+prefix = @prefix@
47006+program_transform_name = @program_transform_name@
47007+psdir = @psdir@
47008+sbindir = @sbindir@
47009+sharedstatedir = @sharedstatedir@
47010+srcdir = @srcdir@
47011+sysconfdir = @sysconfdir@
47012+target = @target@
47013+target_alias = @target_alias@
47014+target_cpu = @target_cpu@
47015+target_os = @target_os@
47016+target_vendor = @target_vendor@
47017+top_build_prefix = @top_build_prefix@
47018+top_builddir = @top_builddir@
47019+top_srcdir = @top_srcdir@
47020+ACLOCAL_AMFLAGS = -I conf/m4
47021+AM_LIBTOOLFLAGS = --silent
47022+nxproxy_SOURCES = Main.c
47023+nxproxy_LDADD = $(top_srcdir)/../nxcomp/libXcomp.la
47024+nxproxy_CPPFLAGS = -I$(top_srcdir)/../nxcomp
47025+EXTRA_DIST = CHANGELOG COPYING LICENSE README README-IPAQ README-VALGRIND VERSION
47026+MAINTAINERCLEANFILES = \
47027+	conf/config.guess  conf/config.sub conf/depcomp \
47028+	conf/install-sh conf/ltmain.sh conf/missing \
47029+	configure Makefile.in aclocal.m4 *~
47030+
47031+all: all-am
47032+
47033+.SUFFIXES:
47034+.SUFFIXES: .c .lo .o .obj
47035+am--refresh:
47036+	@:
47037+$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
47038+	@for dep in $?; do \
47039+	  case '$(am__configure_deps)' in \
47040+	    *$$dep*) \
47041+	      echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
47042+	      $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
47043+		&& exit 0; \
47044+	      exit 1;; \
47045+	  esac; \
47046+	done; \
47047+	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
47048+	$(am__cd) $(top_srcdir) && \
47049+	  $(AUTOMAKE) --foreign Makefile
47050+.PRECIOUS: Makefile
47051+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
47052+	@case '$?' in \
47053+	  *config.status*) \
47054+	    echo ' $(SHELL) ./config.status'; \
47055+	    $(SHELL) ./config.status;; \
47056+	  *) \
47057+	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
47058+	    cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
47059+	esac;
47060+
47061+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
47062+	$(SHELL) ./config.status --recheck
47063+
47064+$(top_srcdir)/configure:  $(am__configure_deps)
47065+	$(am__cd) $(srcdir) && $(AUTOCONF)
47066+$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
47067+	$(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
47068+$(am__aclocal_m4_deps):
47069+install-binPROGRAMS: $(bin_PROGRAMS)
47070+	@$(NORMAL_INSTALL)
47071+	test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
47072+	@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
47073+	for p in $$list; do echo "$$p $$p"; done | \
47074+	sed 's/$(EXEEXT)$$//' | \
47075+	while read p p1; do if test -f $$p || test -f $$p1; \
47076+	  then echo "$$p"; echo "$$p"; else :; fi; \
47077+	done | \
47078+	sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
47079+	    -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
47080+	sed 'N;N;N;s,\n, ,g' | \
47081+	$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
47082+	  { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
47083+	    if ($$2 == $$4) files[d] = files[d] " " $$1; \
47084+	    else { print "f", $$3 "/" $$4, $$1; } } \
47085+	  END { for (d in files) print "f", d, files[d] }' | \
47086+	while read type dir files; do \
47087+	    if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
47088+	    test -z "$$files" || { \
47089+	    echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
47090+	    $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
47091+	    } \
47092+	; done
47093+
47094+uninstall-binPROGRAMS:
47095+	@$(NORMAL_UNINSTALL)
47096+	@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
47097+	files=`for p in $$list; do echo "$$p"; done | \
47098+	  sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
47099+	      -e 's/$$/$(EXEEXT)/' `; \
47100+	test -n "$$list" || exit 0; \
47101+	echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
47102+	cd "$(DESTDIR)$(bindir)" && rm -f $$files
47103+
47104+clean-binPROGRAMS:
47105+	@list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \
47106+	echo " rm -f" $$list; \
47107+	rm -f $$list || exit $$?; \
47108+	test -n "$(EXEEXT)" || exit 0; \
47109+	list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
47110+	echo " rm -f" $$list; \
47111+	rm -f $$list
47112+nxproxy$(EXEEXT): $(nxproxy_OBJECTS) $(nxproxy_DEPENDENCIES)
47113+	@rm -f nxproxy$(EXEEXT)
47114+	$(AM_V_CCLD)$(LINK) $(nxproxy_OBJECTS) $(nxproxy_LDADD) $(LIBS)
47115
47116-#
47117-# Only if THREADS is defined.
47118-#
47119-# LIBS = $(LIBS) -lpthread
47120-#
47121+mostlyclean-compile:
47122+	-rm -f *.$(OBJEXT)
47123
47124-srcdir      = @srcdir@
47125-prefix      = @prefix@
47126-exec_prefix = @exec_prefix@
47127-bindir      = @bindir@
47128-man1dir     = @mandir@/man1
47129-VPATH       = @srcdir@
47130+distclean-compile:
47131+	-rm -f *.tab.c
47132
47133-INSTALL         = @INSTALL@
47134-INSTALL_PROGRAM = @INSTALL_PROGRAM@
47135-INSTALL_DATA    = @INSTALL_DATA@
47136+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nxproxy-Main.Po@am__quote@
47137
47138-#
47139-# This should be autodetected.
47140-#
47141+.c.o:
47142+@am__fastdepCC_TRUE@	$(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
47143+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
47144+@am__fastdepCC_FALSE@	$(AM_V_CC) @AM_BACKSLASH@
47145+@AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
47146+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
47147+@am__fastdepCC_FALSE@	$(COMPILE) -c $<
47148+
47149+.c.obj:
47150+@am__fastdepCC_TRUE@	$(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
47151+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
47152+@am__fastdepCC_FALSE@	$(AM_V_CC) @AM_BACKSLASH@
47153+@AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
47154+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
47155+@am__fastdepCC_FALSE@	$(COMPILE) -c `$(CYGPATH_W) '$<'`
47156+
47157+.c.lo:
47158+@am__fastdepCC_TRUE@	$(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
47159+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
47160+@am__fastdepCC_FALSE@	$(AM_V_CC) @AM_BACKSLASH@
47161+@AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
47162+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
47163+@am__fastdepCC_FALSE@	$(LTCOMPILE) -c -o $@ $<
47164+
47165+nxproxy-Main.o: Main.c
47166+@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nxproxy_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT nxproxy-Main.o -MD -MP -MF $(DEPDIR)/nxproxy-Main.Tpo -c -o nxproxy-Main.o `test -f 'Main.c' || echo '$(srcdir)/'`Main.c
47167+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/nxproxy-Main.Tpo $(DEPDIR)/nxproxy-Main.Po
47168+@am__fastdepCC_FALSE@	$(AM_V_CC) @AM_BACKSLASH@
47169+@AMDEP_TRUE@@am__fastdepCC_FALSE@	source='Main.c' object='nxproxy-Main.o' libtool=no @AMDEPBACKSLASH@
47170+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
47171+@am__fastdepCC_FALSE@	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nxproxy_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o nxproxy-Main.o `test -f 'Main.c' || echo '$(srcdir)/'`Main.c
47172+
47173+nxproxy-Main.obj: Main.c
47174+@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nxproxy_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT nxproxy-Main.obj -MD -MP -MF $(DEPDIR)/nxproxy-Main.Tpo -c -o nxproxy-Main.obj `if test -f 'Main.c'; then $(CYGPATH_W) 'Main.c'; else $(CYGPATH_W) '$(srcdir)/Main.c'; fi`
47175+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/nxproxy-Main.Tpo $(DEPDIR)/nxproxy-Main.Po
47176+@am__fastdepCC_FALSE@	$(AM_V_CC) @AM_BACKSLASH@
47177+@AMDEP_TRUE@@am__fastdepCC_FALSE@	source='Main.c' object='nxproxy-Main.obj' libtool=no @AMDEPBACKSLASH@
47178+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
47179+@am__fastdepCC_FALSE@	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nxproxy_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o nxproxy-Main.obj `if test -f 'Main.c'; then $(CYGPATH_W) 'Main.c'; else $(CYGPATH_W) '$(srcdir)/Main.c'; fi`
47180+
47181+mostlyclean-libtool:
47182+	-rm -f *.lo
47183+
47184+clean-libtool:
47185+	-rm -rf .libs _libs
47186+
47187+distclean-libtool:
47188+	-rm -f libtool config.lt
47189+
47190+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
47191+	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
47192+	unique=`for i in $$list; do \
47193+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
47194+	  done | \
47195+	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
47196+	      END { if (nonempty) { for (i in files) print i; }; }'`; \
47197+	mkid -fID $$unique
47198+tags: TAGS
47199+
47200+TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
47201+		$(TAGS_FILES) $(LISP)
47202+	set x; \
47203+	here=`pwd`; \
47204+	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
47205+	unique=`for i in $$list; do \
47206+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
47207+	  done | \
47208+	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
47209+	      END { if (nonempty) { for (i in files) print i; }; }'`; \
47210+	shift; \
47211+	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
47212+	  test -n "$$unique" || unique=$$empty_fix; \
47213+	  if test $$# -gt 0; then \
47214+	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
47215+	      "$$@" $$unique; \
47216+	  else \
47217+	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
47218+	      $$unique; \
47219+	  fi; \
47220+	fi
47221+ctags: CTAGS
47222+CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
47223+		$(TAGS_FILES) $(LISP)
47224+	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
47225+	unique=`for i in $$list; do \
47226+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
47227+	  done | \
47228+	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
47229+	      END { if (nonempty) { for (i in files) print i; }; }'`; \
47230+	test -z "$(CTAGS_ARGS)$$unique" \
47231+	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
47232+	     $$unique
47233+
47234+GTAGS:
47235+	here=`$(am__cd) $(top_builddir) && pwd` \
47236+	  && $(am__cd) $(top_srcdir) \
47237+	  && gtags -i $(GTAGS_ARGS) "$$here"
47238+
47239+distclean-tags:
47240+	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
47241+
47242+distdir: $(DISTFILES)
47243+	$(am__remove_distdir)
47244+	test -d "$(distdir)" || mkdir "$(distdir)"
47245+	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
47246+	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
47247+	list='$(DISTFILES)'; \
47248+	  dist_files=`for file in $$list; do echo $$file; done | \
47249+	  sed -e "s|^$$srcdirstrip/||;t" \
47250+	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
47251+	case $$dist_files in \
47252+	  */*) $(MKDIR_P) `echo "$$dist_files" | \
47253+			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
47254+			   sort -u` ;; \
47255+	esac; \
47256+	for file in $$dist_files; do \
47257+	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
47258+	  if test -d $$d/$$file; then \
47259+	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
47260+	    if test -d "$(distdir)/$$file"; then \
47261+	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
47262+	    fi; \
47263+	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
47264+	      cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
47265+	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
47266+	    fi; \
47267+	    cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
47268+	  else \
47269+	    test -f "$(distdir)/$$file" \
47270+	    || cp -p $$d/$$file "$(distdir)/$$file" \
47271+	    || exit 1; \
47272+	  fi; \
47273+	done
47274+	-test -n "$(am__skip_mode_fix)" \
47275+	|| find "$(distdir)" -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
47276+	  ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
47277+	  ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
47278+	  ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
47279+	|| chmod -R a+r "$(distdir)"
47280+dist-gzip: distdir
47281+	tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
47282+	$(am__remove_distdir)
47283+
47284+dist-bzip2: distdir
47285+	tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
47286+	$(am__remove_distdir)
47287+
47288+dist-lzma: distdir
47289+	tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
47290+	$(am__remove_distdir)
47291+
47292+dist-xz: distdir
47293+	tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
47294+	$(am__remove_distdir)
47295+
47296+dist-tarZ: distdir
47297+	tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
47298+	$(am__remove_distdir)
47299+
47300+dist-shar: distdir
47301+	shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
47302+	$(am__remove_distdir)
47303+
47304+dist-zip: distdir
47305+	-rm -f $(distdir).zip
47306+	zip -rq $(distdir).zip $(distdir)
47307+	$(am__remove_distdir)
47308+
47309+dist dist-all: distdir
47310+	tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
47311+	$(am__remove_distdir)
47312+
47313+# This target untars the dist file and tries a VPATH configuration.  Then
47314+# it guarantees that the distribution is self-contained by making another
47315+# tarfile.
47316+distcheck: dist
47317+	case '$(DIST_ARCHIVES)' in \
47318+	*.tar.gz*) \
47319+	  GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
47320+	*.tar.bz2*) \
47321+	  bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
47322+	*.tar.lzma*) \
47323+	  unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
47324+	*.tar.xz*) \
47325+	  xz -dc $(distdir).tar.xz | $(am__untar) ;;\
47326+	*.tar.Z*) \
47327+	  uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
47328+	*.shar.gz*) \
47329+	  GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
47330+	*.zip*) \
47331+	  unzip $(distdir).zip ;;\
47332+	esac
47333+	chmod -R a-w $(distdir); chmod a+w $(distdir)
47334+	mkdir $(distdir)/_build
47335+	mkdir $(distdir)/_inst
47336+	chmod a-w $(distdir)
47337+	test -d $(distdir)/_build || exit 0; \
47338+	dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
47339+	  && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
47340+	  && am__cwd=`pwd` \
47341+	  && $(am__cd) $(distdir)/_build \
47342+	  && ../configure --srcdir=.. --prefix="$$dc_install_base" \
47343+	    $(DISTCHECK_CONFIGURE_FLAGS) \
47344+	  && $(MAKE) $(AM_MAKEFLAGS) \
47345+	  && $(MAKE) $(AM_MAKEFLAGS) dvi \
47346+	  && $(MAKE) $(AM_MAKEFLAGS) check \
47347+	  && $(MAKE) $(AM_MAKEFLAGS) install \
47348+	  && $(MAKE) $(AM_MAKEFLAGS) installcheck \
47349+	  && $(MAKE) $(AM_MAKEFLAGS) uninstall \
47350+	  && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
47351+	        distuninstallcheck \
47352+	  && chmod -R a-w "$$dc_install_base" \
47353+	  && ({ \
47354+	       (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
47355+	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
47356+	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
47357+	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
47358+	            distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
47359+	      } || { rm -rf "$$dc_destdir"; exit 1; }) \
47360+	  && rm -rf "$$dc_destdir" \
47361+	  && $(MAKE) $(AM_MAKEFLAGS) dist \
47362+	  && rm -rf $(DIST_ARCHIVES) \
47363+	  && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
47364+	  && cd "$$am__cwd" \
47365+	  || exit 1
47366+	$(am__remove_distdir)
47367+	@(echo "$(distdir) archives ready for distribution: "; \
47368+	  list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
47369+	  sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
47370+distuninstallcheck:
47371+	@$(am__cd) '$(distuninstallcheck_dir)' \
47372+	&& test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
47373+	   || { echo "ERROR: files left after uninstall:" ; \
47374+	        if test -n "$(DESTDIR)"; then \
47375+	          echo "  (check DESTDIR support)"; \
47376+	        fi ; \
47377+	        $(distuninstallcheck_listfiles) ; \
47378+	        exit 1; } >&2
47379+distcleancheck: distclean
47380+	@if test '$(srcdir)' = . ; then \
47381+	  echo "ERROR: distcleancheck can only run from a VPATH build" ; \
47382+	  exit 1 ; \
47383+	fi
47384+	@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
47385+	  || { echo "ERROR: files left in build directory after distclean:" ; \
47386+	       $(distcleancheck_listfiles) ; \
47387+	       exit 1; } >&2
47388+check-am: all-am
47389+check: check-am
47390+all-am: Makefile $(PROGRAMS)
47391+installdirs:
47392+	for dir in "$(DESTDIR)$(bindir)"; do \
47393+	  test -z "$$dir" || $(MKDIR_P) "$$dir"; \
47394+	done
47395+install: install-am
47396+install-exec: install-exec-am
47397+install-data: install-data-am
47398+uninstall: uninstall-am
47399
47400-MAKEDEPEND     = @MAKEDEPEND@
47401-DEPENDINCLUDES = -I/usr/include/g++ -I/usr/include/g++-3
47402+install-am: all-am
47403+	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
47404
47405-.SUFFIXES: .cpp.c
47406+installcheck: installcheck-am
47407+install-strip:
47408+	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
47409+	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
47410+	  `test -z '$(STRIP)' || \
47411+	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
47412+mostlyclean-generic:
47413
47414-.cpp.o:
47415-	$(CXX) -c $(CXXFLAGS) $(CXXINCLUDES) $(CXXDEFINES) $<
47416-.c.o:
47417-	$(CC) -c $(CCFLAGS) $(CCINCLUDES) $(CCDEFINES) $<
47418+clean-generic:
47419
47420-PROGRAM = nxproxy
47421+distclean-generic:
47422+	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
47423+	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
47424
47425-all: depend $(PROGRAM)
47426+maintainer-clean-generic:
47427+	@echo "This command is intended for maintainers to use"
47428+	@echo "it deletes files that may require special tools to rebuild."
47429+	-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
47430+clean: clean-am
47431
47432-MSRC   = Main.c
47433+clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
47434
47435-CSRC   =
47436+distclean: distclean-am
47437+	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
47438+	-rm -rf ./$(DEPDIR)
47439+	-rm -f Makefile
47440+distclean-am: clean-am distclean-compile distclean-generic \
47441+	distclean-libtool distclean-tags
47442
47443-CXXSRC =
47444+dvi: dvi-am
47445
47446-MOBJ   = $(MSRC:.c=.o)
47447-COBJ   = $(CSRC:.c=.o)
47448-CXXOBJ = $(CXXSRC:.cpp=.o)
47449+dvi-am:
47450
47451-$(PROGRAM):	$(MOBJ) $(COBJ) $(CXXOBJ)
47452-		$(CXX) $(CXXFLAGS) -o $@ $(MOBJ) $(LDFLAGS) $(LIBS)
47453+html: html-am
47454
47455-depends:	depend.status
47456+html-am:
47457
47458-depend:		depend.status
47459+info: info-am
47460
47461-depend.status:
47462-		if [ -x $(MAKEDEPEND) ] ; then \
47463-			$(MAKEDEPEND) $(CXXINCLUDES) $(CCINCLUDES) \
47464-                        $(DEPENDINCLUDES) -f Makefile $(MSRC) $(CSRC) $(CXXSRC) 2>/dev/null; \
47465-		fi
47466-		touch depend.status
47467+info-am:
47468+
47469+install-data-am:
47470+
47471+install-dvi: install-dvi-am
47472+
47473+install-dvi-am:
47474+
47475+install-exec-am: install-binPROGRAMS
47476+
47477+install-html: install-html-am
47478+
47479+install-html-am:
47480+
47481+install-info: install-info-am
47482+
47483+install-info-am:
47484+
47485+install-man:
47486+
47487+install-pdf: install-pdf-am
47488+
47489+install-pdf-am:
47490+
47491+install-ps: install-ps-am
47492+
47493+install-ps-am:
47494+
47495+installcheck-am:
47496+
47497+maintainer-clean: maintainer-clean-am
47498+	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
47499+	-rm -rf $(top_srcdir)/autom4te.cache
47500+	-rm -rf ./$(DEPDIR)
47501+	-rm -f Makefile
47502+maintainer-clean-am: distclean-am maintainer-clean-generic
47503+
47504+mostlyclean: mostlyclean-am
47505+
47506+mostlyclean-am: mostlyclean-compile mostlyclean-generic \
47507+	mostlyclean-libtool
47508+
47509+pdf: pdf-am
47510+
47511+pdf-am:
47512+
47513+ps: ps-am
47514+
47515+ps-am:
47516+
47517+uninstall-am: uninstall-binPROGRAMS
47518
47519-install:	install.bin install.man
47520+.MAKE: install-am install-strip
47521
47522-install.bin:	$(PROGRAM)
47523-		$(srcdir)/mkinstalldirs $(bindir)
47524-		$(INSTALL) $(PROGRAM) $(bindir)/$(PROGRAM)
47525+.PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \
47526+	clean-binPROGRAMS clean-generic clean-libtool ctags dist \
47527+	dist-all dist-bzip2 dist-gzip dist-lzma dist-shar dist-tarZ \
47528+	dist-xz dist-zip distcheck distclean distclean-compile \
47529+	distclean-generic distclean-libtool distclean-tags \
47530+	distcleancheck distdir distuninstallcheck dvi dvi-am html \
47531+	html-am info info-am install install-am install-binPROGRAMS \
47532+	install-data install-data-am install-dvi install-dvi-am \
47533+	install-exec install-exec-am install-html install-html-am \
47534+	install-info install-info-am install-man install-pdf \
47535+	install-pdf-am install-ps install-ps-am install-strip \
47536+	installcheck installcheck-am installdirs maintainer-clean \
47537+	maintainer-clean-generic mostlyclean mostlyclean-compile \
47538+	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
47539+	tags uninstall uninstall-am uninstall-binPROGRAMS
47540
47541-install.man:
47542-		$(srcdir)/mkinstalldirs $(man1dir)
47543
47544-clean:
47545-		-rm -f *~ *.o *.bak st?????? core core.* *.out.* \
47546-		$(PROGRAM) $(PROGRAM).exe $(LIBFULL) $(LIBLOAD) $(LIBSHARED) $(LIBARCHIVE)
47547+bootstrap:
47548+	autoreconf -f -i
47549
47550-distclean:	clean
47551-		-rm -f config.status config.log config.cache depend.status Makefile tags
47552+# Tell versions [3.59,3.63) of GNU make to not export all variables.
47553+# Otherwise a system limit (for SysV at least) may be exceeded.
47554+.NOEXPORT:
47555diff -urwN nxproxy-orig/mkinstalldirs nxproxy/mkinstalldirs
47556--- nxproxy-orig/mkinstalldirs	2002-04-17 17:56:22.000000000 +0200
47557+++ nxproxy/mkinstalldirs	1970-01-01 01:00:00.000000000 +0100
47558@@ -1,34 +0,0 @@
47559-#! /bin/sh
47560-# mkinstalldirs --- make directory hierarchy
47561-# Author: Noah Friedman <friedman@prep.ai.mit.edu>
47562-# Created: 1993-05-16
47563-# Last modified: 1995-03-05
47564-# Public domain
47565-
47566-errstatus=0
47567-
47568-for file in ${1+"$@"} ; do
47569-   set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
47570-   shift
47571-
47572-   pathcomp=
47573-   for d in ${1+"$@"} ; do
47574-     pathcomp="$pathcomp$d"
47575-     case "$pathcomp" in
47576-       -* ) pathcomp=./$pathcomp ;;
47577-     esac
47578-
47579-     if test ! -d "$pathcomp"; then
47580-        echo "mkdir $pathcomp" 1>&2
47581-        mkdir "$pathcomp" > /dev/null 2>&1 || lasterr=$?
47582-     fi
47583-
47584-     if test ! -d "$pathcomp"; then
47585-	errstatus=$lasterr
47586-     fi
47587-
47588-     pathcomp="$pathcomp/"
47589-   done
47590-done
47591-
47592-exit $errstatus
47593