~barry/gnome-python-extras/bug-788514

« back to all changes in this revision

Viewing changes to debian/patches/70_autotools.patch

  • Committer: robert.ancell at gmail
  • Date: 2010-06-11 06:42:20 UTC
  • Revision ID: robert.ancell@gmail.com-20100611064220-53d5kky1w14veknw
* Merge with Debian unstable, remaining Ubuntu changes:
* debian/control:
  - Build-depends on gnome-common
  - Bump build-depends on python-gnome2-dev
  - Add Vcs-Bzr URL.
  - Remove stray comma from python-gtkmozembed depends
* debian/rules:
  - Run autotools on build
* debian/patches/04_use_PYTHON-config_check.patch: 
  - Use python-config.
* debian/patches/70_autotools.patch:
  - Dropped, autotools now run on build

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
diff -Nurp gnome-python-extras-2.25.3.orig/aclocal.m4 gnome-python-extras-2.25.3/aclocal.m4
2
 
--- gnome-python-extras-2.25.3.orig/aclocal.m4  2009-02-15 22:20:58.000000000 +0000
3
 
+++ gnome-python-extras-2.25.3/aclocal.m4       2009-12-15 01:41:58.950351170 +0000
4
 
@@ -1,7 +1,7 @@
5
 
-# generated automatically by aclocal 1.10.1 -*- Autoconf -*-
6
 
+# generated automatically by aclocal 1.11 -*- Autoconf -*-
7
 
 
8
 
 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
9
 
-# 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
10
 
+# 2005, 2006, 2007, 2008, 2009  Free Software Foundation, Inc.
11
 
 # This file is free software; the Free Software Foundation
12
 
 # gives unlimited permission to copy and/or distribute it,
13
 
 # with or without modifications, as long as this notice is preserved.
14
 
@@ -13,1672 +13,1840 @@
15
 
 
16
 
 m4_ifndef([AC_AUTOCONF_VERSION],
17
 
   [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
18
 
-m4_if(AC_AUTOCONF_VERSION, [2.62],,
19
 
-[m4_warning([this file was generated for autoconf 2.62.
20
 
+m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.64],,
21
 
+[m4_warning([this file was generated for autoconf 2.64.
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  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.10'
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.10.1], [],
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 AC_INIT_AUTOMAKE.
56
 
-AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
57
 
-[AM_AUTOMAKE_VERSION([1.10.1])dnl
58
 
-m4_ifndef([AC_AUTOCONF_VERSION],
59
 
-  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
60
 
-_AM_AUTOCONF_VERSION(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
 
+# Configure paths for GLIB
70
 
+# Owen Taylor     1997-2001
71
 
 
72
 
-# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
73
 
-# $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to
74
 
-# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
75
 
-#
76
 
-# Of course, Automake must honor this variable whenever it calls a
77
 
-# tool from the auxiliary directory.  The problem is that $srcdir (and
78
 
-# therefore $ac_aux_dir as well) can be either absolute or relative,
79
 
-# depending on how configure is run.  This is pretty annoying, since
80
 
-# it makes $ac_aux_dir quite unusable in subdirectories: in the top
81
 
-# source directory, any form will work fine, but in subdirectories a
82
 
-# relative path needs to be adjusted first.
83
 
-#
84
 
-# $ac_aux_dir/missing
85
 
-#    fails when called from a subdirectory if $ac_aux_dir is relative
86
 
-# $top_srcdir/$ac_aux_dir/missing
87
 
-#    fails if $ac_aux_dir is absolute,
88
 
-#    fails when called from a subdirectory in a VPATH build with
89
 
-#          a relative $ac_aux_dir
90
 
-#
91
 
-# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
92
 
-# are both prefixed by $srcdir.  In an in-source build this is usually
93
 
-# harmless because $srcdir is `.', but things will broke when you
94
 
-# start a VPATH build or use an absolute $srcdir.
95
 
-#
96
 
-# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
97
 
-# iff we strip the leading $srcdir from $ac_aux_dir.  That would be:
98
 
-#   am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
99
 
-# and then we would define $MISSING as
100
 
-#   MISSING="\${SHELL} $am_aux_dir/missing"
101
 
-# This will work as long as MISSING is not called from configure, because
102
 
-# unfortunately $(top_srcdir) has no meaning in configure.
103
 
-# However there are other variables, like CC, which are often used in
104
 
-# configure, and could therefore not use this "fixed" $ac_aux_dir.
105
 
-#
106
 
-# Another solution, used here, is to always expand $ac_aux_dir to an
107
 
-# absolute PATH.  The drawback is that using absolute paths prevent a
108
 
-# configured tree to be moved without reconfiguration.
109
 
+dnl AM_PATH_GLIB_2_0([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
110
 
+dnl Test for GLIB, and define GLIB_CFLAGS and GLIB_LIBS, if gmodule, gobject,
111
 
+dnl gthread, or gio is specified in MODULES, pass to pkg-config
112
 
+dnl
113
 
+AC_DEFUN([AM_PATH_GLIB_2_0],
114
 
+[dnl 
115
 
+dnl Get the cflags and libraries from pkg-config
116
 
+dnl
117
 
+AC_ARG_ENABLE(glibtest, [  --disable-glibtest      do not try to compile and run a test GLIB program],
118
 
+                   , enable_glibtest=yes)
119
 
 
120
 
-AC_DEFUN([AM_AUX_DIR_EXPAND],
121
 
-[dnl Rely on autoconf to set up CDPATH properly.
122
 
-AC_PREREQ([2.50])dnl
123
 
-# expand $ac_aux_dir to an absolute path
124
 
-am_aux_dir=`cd $ac_aux_dir && pwd`
125
 
-])
126
 
+  pkg_config_args=glib-2.0
127
 
+  for module in . $4
128
 
+  do
129
 
+      case "$module" in
130
 
+         gmodule) 
131
 
+             pkg_config_args="$pkg_config_args gmodule-2.0"
132
 
+         ;;
133
 
+         gmodule-no-export) 
134
 
+             pkg_config_args="$pkg_config_args gmodule-no-export-2.0"
135
 
+         ;;
136
 
+         gobject) 
137
 
+             pkg_config_args="$pkg_config_args gobject-2.0"
138
 
+         ;;
139
 
+         gthread) 
140
 
+             pkg_config_args="$pkg_config_args gthread-2.0"
141
 
+         ;;
142
 
+         gio*) 
143
 
+             pkg_config_args="$pkg_config_args $module-2.0"
144
 
+         ;;
145
 
+      esac
146
 
+  done
147
 
 
148
 
-# AM_CONDITIONAL                                            -*- Autoconf -*-
149
 
+  PKG_PROG_PKG_CONFIG([0.16])
150
 
 
151
 
-# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
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
 
+  no_glib=""
158
 
 
159
 
-# serial 8
160
 
+  if test "x$PKG_CONFIG" = x ; then
161
 
+    no_glib=yes
162
 
+    PKG_CONFIG=no
163
 
+  fi
164
 
 
165
 
-# AM_CONDITIONAL(NAME, SHELL-CONDITION)
166
 
-# -------------------------------------
167
 
-# Define a conditional.
168
 
-AC_DEFUN([AM_CONDITIONAL],
169
 
-[AC_PREREQ(2.52)dnl
170
 
- ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
171
 
-       [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
172
 
-AC_SUBST([$1_TRUE])dnl
173
 
-AC_SUBST([$1_FALSE])dnl
174
 
-_AM_SUBST_NOTMAKE([$1_TRUE])dnl
175
 
-_AM_SUBST_NOTMAKE([$1_FALSE])dnl
176
 
-if $2; then
177
 
-  $1_TRUE=
178
 
-  $1_FALSE='#'
179
 
-else
180
 
-  $1_TRUE='#'
181
 
-  $1_FALSE=
182
 
-fi
183
 
-AC_CONFIG_COMMANDS_PRE(
184
 
-[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
185
 
-  AC_MSG_ERROR([[conditional "$1" was never defined.
186
 
-Usually this means the macro was only invoked conditionally.]])
187
 
-fi])])
188
 
+  min_glib_version=ifelse([$1], ,2.0.0,$1)
189
 
+  AC_MSG_CHECKING(for GLIB - version >= $min_glib_version)
190
 
 
191
 
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
192
 
-# Free Software Foundation, Inc.
193
 
-#
194
 
-# This file is free software; the Free Software Foundation
195
 
-# gives unlimited permission to copy and/or distribute it,
196
 
-# with or without modifications, as long as this notice is preserved.
197
 
+  if test x$PKG_CONFIG != xno ; then
198
 
+    ## don't try to run the test against uninstalled libtool libs
199
 
+    if $PKG_CONFIG --uninstalled $pkg_config_args; then
200
 
+         echo "Will use uninstalled version of GLib found in PKG_CONFIG_PATH"
201
 
+         enable_glibtest=no
202
 
+    fi
203
 
 
204
 
-# serial 9
205
 
+    if $PKG_CONFIG --atleast-version $min_glib_version $pkg_config_args; then
206
 
+         :
207
 
+    else
208
 
+         no_glib=yes
209
 
+    fi
210
 
+  fi
211
 
 
212
 
-# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
213
 
-# written in clear, in which case automake, when reading aclocal.m4,
214
 
-# will think it sees a *use*, and therefore will trigger all it's
215
 
-# C support machinery.  Also note that it means that autoscan, seeing
216
 
-# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
217
 
+  if test x"$no_glib" = x ; then
218
 
+    GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
219
 
+    GOBJECT_QUERY=`$PKG_CONFIG --variable=gobject_query glib-2.0`
220
 
+    GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
221
 
 
222
 
+    GLIB_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args`
223
 
+    GLIB_LIBS=`$PKG_CONFIG --libs $pkg_config_args`
224
 
+    glib_config_major_version=`$PKG_CONFIG --modversion glib-2.0 | \
225
 
+           sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
226
 
+    glib_config_minor_version=`$PKG_CONFIG --modversion glib-2.0 | \
227
 
+           sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
228
 
+    glib_config_micro_version=`$PKG_CONFIG --modversion glib-2.0 | \
229
 
+           sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
230
 
+    if test "x$enable_glibtest" = "xyes" ; then
231
 
+      ac_save_CFLAGS="$CFLAGS"
232
 
+      ac_save_LIBS="$LIBS"
233
 
+      CFLAGS="$CFLAGS $GLIB_CFLAGS"
234
 
+      LIBS="$GLIB_LIBS $LIBS"
235
 
+dnl
236
 
+dnl Now check if the installed GLIB is sufficiently new. (Also sanity
237
 
+dnl checks the results of pkg-config to some extent)
238
 
+dnl
239
 
+      rm -f conf.glibtest
240
 
+      AC_TRY_RUN([
241
 
+#include <glib.h>
242
 
+#include <stdio.h>
243
 
+#include <stdlib.h>
244
 
 
245
 
-# _AM_DEPENDENCIES(NAME)
246
 
-# ----------------------
247
 
-# See how the compiler implements dependency checking.
248
 
-# NAME is "CC", "CXX", "GCJ", or "OBJC".
249
 
-# We try a few techniques and use that to set a single cache variable.
250
 
-#
251
 
-# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
252
 
-# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
253
 
-# dependency, and given that the user is not expected to run this macro,
254
 
-# just rely on AC_PROG_CC.
255
 
-AC_DEFUN([_AM_DEPENDENCIES],
256
 
-[AC_REQUIRE([AM_SET_DEPDIR])dnl
257
 
-AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
258
 
-AC_REQUIRE([AM_MAKE_INCLUDE])dnl
259
 
-AC_REQUIRE([AM_DEP_TRACK])dnl
260
 
+int 
261
 
+main ()
262
 
+{
263
 
+  int major, minor, micro;
264
 
+  char *tmp_version;
265
 
+  int ignored;
266
 
 
267
 
-ifelse([$1], CC,   [depcc="$CC"   am_compiler_list=],
268
 
-       [$1], CXX,  [depcc="$CXX"  am_compiler_list=],
269
 
-       [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
270
 
-       [$1], UPC,  [depcc="$UPC"  am_compiler_list=],
271
 
-       [$1], GCJ,  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
272
 
-                   [depcc="$$1"   am_compiler_list=])
273
 
+  ignored = system ("touch conf.glibtest");
274
 
 
275
 
-AC_CACHE_CHECK([dependency style of $depcc],
276
 
-               [am_cv_$1_dependencies_compiler_type],
277
 
-[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
278
 
-  # We make a subdir and do the tests there.  Otherwise we can end up
279
 
-  # making bogus files that we don't know about and never remove.  For
280
 
-  # instance it was reported that on HP-UX the gcc test will end up
281
 
-  # making a dummy file named `D' -- because `-MD' means `put the output
282
 
-  # in D'.
283
 
-  mkdir conftest.dir
284
 
-  # Copy depcomp to subdir because otherwise we won't find it if we're
285
 
-  # using a relative directory.
286
 
-  cp "$am_depcomp" conftest.dir
287
 
-  cd conftest.dir
288
 
-  # We will build objects and dependencies in a subdirectory because
289
 
-  # it helps to detect inapplicable dependency modes.  For instance
290
 
-  # both Tru64's cc and ICC support -MD to output dependencies as a
291
 
-  # side effect of compilation, but ICC will put the dependencies in
292
 
-  # the current directory while Tru64 will put them in the object
293
 
-  # directory.
294
 
-  mkdir sub
295
 
+  /* HP/UX 9 (%@#!) writes to sscanf strings */
296
 
+  tmp_version = g_strdup("$min_glib_version");
297
 
+  if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
298
 
+     printf("%s, bad version string\n", "$min_glib_version");
299
 
+     exit(1);
300
 
+   }
301
 
 
302
 
-  am_cv_$1_dependencies_compiler_type=none
303
 
-  if test "$am_compiler_list" = ""; then
304
 
-     am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
305
 
+  if ((glib_major_version != $glib_config_major_version) ||
306
 
+      (glib_minor_version != $glib_config_minor_version) ||
307
 
+      (glib_micro_version != $glib_config_micro_version))
308
 
+    {
309
 
+      printf("\n*** 'pkg-config --modversion glib-2.0' returned %d.%d.%d, but GLIB (%d.%d.%d)\n", 
310
 
+             $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
311
 
+             glib_major_version, glib_minor_version, glib_micro_version);
312
 
+      printf ("*** was found! If pkg-config was correct, then it is best\n");
313
 
+      printf ("*** to remove the old version of GLib. You may also be able to fix the error\n");
314
 
+      printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
315
 
+      printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
316
 
+      printf("*** required on your system.\n");
317
 
+      printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
318
 
+      printf("*** to point to the correct configuration files\n");
319
 
+    } 
320
 
+  else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
321
 
+          (glib_minor_version != GLIB_MINOR_VERSION) ||
322
 
+           (glib_micro_version != GLIB_MICRO_VERSION))
323
 
+    {
324
 
+      printf("*** GLIB header files (version %d.%d.%d) do not match\n",
325
 
+            GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
326
 
+      printf("*** library (version %d.%d.%d)\n",
327
 
+            glib_major_version, glib_minor_version, glib_micro_version);
328
 
+    }
329
 
+  else
330
 
+    {
331
 
+      if ((glib_major_version > major) ||
332
 
+        ((glib_major_version == major) && (glib_minor_version > minor)) ||
333
 
+        ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
334
 
+      {
335
 
+        return 0;
336
 
+       }
337
 
+     else
338
 
+      {
339
 
+        printf("\n*** An old version of GLIB (%d.%d.%d) was found.\n",
340
 
+               glib_major_version, glib_minor_version, glib_micro_version);
341
 
+        printf("*** You need a version of GLIB newer than %d.%d.%d. The latest version of\n",
342
 
+              major, minor, micro);
343
 
+        printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
344
 
+        printf("***\n");
345
 
+        printf("*** If you have already installed a sufficiently new version, this error\n");
346
 
+        printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
347
 
+        printf("*** being found. The easiest way to fix this is to remove the old version\n");
348
 
+        printf("*** of GLIB, but you can also set the PKG_CONFIG environment to point to the\n");
349
 
+        printf("*** correct copy of pkg-config. (In this case, you will have to\n");
350
 
+        printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
351
 
+        printf("*** so that the correct libraries are found at run-time))\n");
352
 
+      }
353
 
+    }
354
 
+  return 1;
355
 
+}
356
 
+],, no_glib=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
357
 
+       CFLAGS="$ac_save_CFLAGS"
358
 
+       LIBS="$ac_save_LIBS"
359
 
+     fi
360
 
   fi
361
 
-  for depmode in $am_compiler_list; do
362
 
-    # Setup a source with many dependencies, because some compilers
363
 
-    # like to wrap large dependency lists on column 80 (with \), and
364
 
-    # we should not choose a depcomp mode which is confused by this.
365
 
-    #
366
 
-    # We need to recreate these files for each test, as the compiler may
367
 
-    # overwrite some of them when testing with obscure command lines.
368
 
-    # This happens at least with the AIX C compiler.
369
 
-    : > sub/conftest.c
370
 
-    for i in 1 2 3 4 5 6; do
371
 
-      echo '#include "conftst'$i'.h"' >> sub/conftest.c
372
 
-      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
373
 
-      # Solaris 8's {/usr,}/bin/sh.
374
 
-      touch sub/conftst$i.h
375
 
-    done
376
 
-    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
377
 
+  if test "x$no_glib" = x ; then
378
 
+     AC_MSG_RESULT(yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version))
379
 
+     ifelse([$2], , :, [$2])     
380
 
+  else
381
 
+     AC_MSG_RESULT(no)
382
 
+     if test "$PKG_CONFIG" = "no" ; then
383
 
+       echo "*** A new enough version of pkg-config was not found."
384
 
+       echo "*** See http://www.freedesktop.org/software/pkgconfig/"
385
 
+     else
386
 
+       if test -f conf.glibtest ; then
387
 
+        :
388
 
+       else
389
 
+          echo "*** Could not run GLIB test program, checking why..."
390
 
+          ac_save_CFLAGS="$CFLAGS"
391
 
+          ac_save_LIBS="$LIBS"
392
 
+          CFLAGS="$CFLAGS $GLIB_CFLAGS"
393
 
+          LIBS="$LIBS $GLIB_LIBS"
394
 
+          AC_TRY_LINK([
395
 
+#include <glib.h>
396
 
+#include <stdio.h>
397
 
+],      [ return ((glib_major_version) || (glib_minor_version) || (glib_micro_version)); ],
398
 
+        [ echo "*** The test program compiled, but did not run. This usually means"
399
 
+          echo "*** that the run-time linker is not finding GLIB or finding the wrong"
400
 
+          echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
401
 
+          echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
402
 
+          echo "*** to the installed location  Also, make sure you have run ldconfig if that"
403
 
+          echo "*** is required on your system"
404
 
+         echo "***"
405
 
+          echo "*** If you have an old version installed, it is best to remove it, although"
406
 
+          echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" ],
407
 
+        [ echo "*** The test program failed to compile or link. See the file config.log for the"
408
 
+          echo "*** exact error that occured. This usually means GLIB is incorrectly installed."])
409
 
+          CFLAGS="$ac_save_CFLAGS"
410
 
+          LIBS="$ac_save_LIBS"
411
 
+       fi
412
 
+     fi
413
 
+     GLIB_CFLAGS=""
414
 
+     GLIB_LIBS=""
415
 
+     GLIB_GENMARSHAL=""
416
 
+     GOBJECT_QUERY=""
417
 
+     GLIB_MKENUMS=""
418
 
+     ifelse([$3], , :, [$3])
419
 
+  fi
420
 
+  AC_SUBST(GLIB_CFLAGS)
421
 
+  AC_SUBST(GLIB_LIBS)
422
 
+  AC_SUBST(GLIB_GENMARSHAL)
423
 
+  AC_SUBST(GOBJECT_QUERY)
424
 
+  AC_SUBST(GLIB_MKENUMS)
425
 
+  rm -f conf.glibtest
426
 
+])
427
 
 
428
 
-    case $depmode in
429
 
-    nosideeffect)
430
 
-      # after this tag, mechanisms are not by side-effect, so they'll
431
 
-      # only be used when explicitly requested
432
 
-      if test "x$enable_dependency_tracking" = xyes; then
433
 
-       continue
434
 
-      else
435
 
-       break
436
 
-      fi
437
 
-      ;;
438
 
-    none) break ;;
439
 
-    esac
440
 
-    # We check with `-c' and `-o' for the sake of the "dashmstdout"
441
 
-    # mode.  It turns out that the SunPro C++ compiler does not properly
442
 
-    # handle `-M -o', and we need to detect this.
443
 
-    if depmode=$depmode \
444
 
-       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
445
 
-       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
446
 
-       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
447
 
-         >/dev/null 2>conftest.err &&
448
 
-       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
449
 
-       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
450
 
-       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
451
 
-       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
452
 
-      # icc doesn't choke on unknown options, it will just issue warnings
453
 
-      # or remarks (even with -Werror).  So we grep stderr for any message
454
 
-      # that says an option was ignored or not supported.
455
 
-      # When given -MP, icc 7.0 and 7.1 complain thusly:
456
 
-      #   icc: Command line warning: ignoring option '-M'; no argument required
457
 
-      # The diagnosis changed in icc 8.0:
458
 
-      #   icc: Command line remark: option '-MP' not supported
459
 
-      if (grep 'ignoring option' conftest.err ||
460
 
-          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
461
 
-        am_cv_$1_dependencies_compiler_type=$depmode
462
 
-        break
463
 
-      fi
464
 
-    fi
465
 
-  done
466
 
+# gnome-common.m4
467
 
+# 
468
 
 
469
 
-  cd ..
470
 
-  rm -rf conftest.dir
471
 
-else
472
 
-  am_cv_$1_dependencies_compiler_type=none
473
 
-fi
474
 
-])
475
 
-AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
476
 
-AM_CONDITIONAL([am__fastdep$1], [
477
 
-  test "x$enable_dependency_tracking" != xno \
478
 
-  && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
479
 
-])
480
 
+dnl GNOME_COMMON_INIT
481
 
 
482
 
+AC_DEFUN([GNOME_COMMON_INIT],
483
 
+[
484
 
+  dnl this macro should come after AC_CONFIG_MACRO_DIR
485
 
+  AC_BEFORE([AC_CONFIG_MACRO_DIR], [$0])
486
 
 
487
 
-# AM_SET_DEPDIR
488
 
-# -------------
489
 
-# Choose a directory name for dependency files.
490
 
-# This macro is AC_REQUIREd in _AM_DEPENDENCIES
491
 
-AC_DEFUN([AM_SET_DEPDIR],
492
 
-[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
493
 
-AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
494
 
+  dnl ensure that when the Automake generated makefile calls aclocal,
495
 
+  dnl it honours the $ACLOCAL_FLAGS environment variable
496
 
+  ACLOCAL_AMFLAGS="\${ACLOCAL_FLAGS}"
497
 
+  if test -n "$ac_macro_dir"; then
498
 
+    ACLOCAL_AMFLAGS="-I $ac_macro_dir $ACLOCAL_AMFLAGS"
499
 
+  fi
500
 
+
501
 
+  AC_SUBST([ACLOCAL_AMFLAGS])
502
 
 ])
503
 
 
504
 
+AC_DEFUN([GNOME_DEBUG_CHECK],
505
 
+[
506
 
+       AC_ARG_ENABLE([debug],
507
 
+                      AC_HELP_STRING([--enable-debug],
508
 
+                                     [turn on debugging]),,
509
 
+                      [enable_debug=no])
510
 
 
511
 
-# AM_DEP_TRACK
512
 
-# ------------
513
 
-AC_DEFUN([AM_DEP_TRACK],
514
 
-[AC_ARG_ENABLE(dependency-tracking,
515
 
-[  --disable-dependency-tracking  speeds up one-time build
516
 
-  --enable-dependency-tracking   do not reject slow dependency extractors])
517
 
-if test "x$enable_dependency_tracking" != xno; then
518
 
-  am_depcomp="$ac_aux_dir/depcomp"
519
 
-  AMDEPBACKSLASH='\'
520
 
-fi
521
 
-AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
522
 
-AC_SUBST([AMDEPBACKSLASH])dnl
523
 
-_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
524
 
+       if test x$enable_debug = xyes ; then
525
 
+           AC_DEFINE(GNOME_ENABLE_DEBUG, 1,
526
 
+               [Enable additional debugging at the expense of performance and size])
527
 
+       fi
528
 
 ])
529
 
 
530
 
-# Generate code to set up dependency tracking.              -*- Autoconf -*-
531
 
+dnl GNOME_MAINTAINER_MODE_DEFINES ()
532
 
+dnl define DISABLE_DEPRECATED
533
 
+dnl
534
 
+AC_DEFUN([GNOME_MAINTAINER_MODE_DEFINES],
535
 
+[
536
 
+       AC_REQUIRE([AM_MAINTAINER_MODE])
537
 
 
538
 
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
539
 
-# Free Software Foundation, Inc.
540
 
-#
541
 
-# This file is free software; the Free Software Foundation
542
 
-# gives unlimited permission to copy and/or distribute it,
543
 
-# with or without modifications, as long as this notice is preserved.
544
 
+       DISABLE_DEPRECATED=""
545
 
+       if test $USE_MAINTAINER_MODE = yes; then
546
 
+               DOMAINS="G ATK PANGO GDK GDK_PIXBUF GTK GCONF BONOBO BONOBO_UI GNOME LIBGLADE VTE GNOME_VFS WNCK LIBSOUP"
547
 
+               for DOMAIN in $DOMAINS; do
548
 
+                      DISABLE_DEPRECATED="$DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_SINGLE_INCLUDES"
549
 
+               done
550
 
+       fi
551
 
 
552
 
-#serial 3
553
 
+       AC_SUBST(DISABLE_DEPRECATED)
554
 
+])
555
 
 
556
 
-# _AM_OUTPUT_DEPENDENCY_COMMANDS
557
 
-# ------------------------------
558
 
-AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
559
 
-[for mf in $CONFIG_FILES; do
560
 
-  # Strip MF so we end up with the name of the file.
561
 
-  mf=`echo "$mf" | sed -e 's/:.*$//'`
562
 
-  # Check whether this is an Automake generated Makefile or not.
563
 
-  # We used to match only the files named `Makefile.in', but
564
 
-  # some people rename them; so instead we look at the file content.
565
 
-  # Grep'ing the first line is not enough: some people post-process
566
 
-  # each Makefile.in and add a new line on top of each file to say so.
567
 
-  # Grep'ing the whole file is not good either: AIX grep has a line
568
 
-  # limit of 2048, but all sed's we know have understand at least 4000.
569
 
-  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
570
 
-    dirpart=`AS_DIRNAME("$mf")`
571
 
-  else
572
 
-    continue
573
 
-  fi
574
 
-  # Extract the definition of DEPDIR, am__include, and am__quote
575
 
-  # from the Makefile without running `make'.
576
 
-  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
577
 
-  test -z "$DEPDIR" && continue
578
 
-  am__include=`sed -n 's/^am__include = //p' < "$mf"`
579
 
-  test -z "am__include" && continue
580
 
-  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
581
 
-  # When using ansi2knr, U may be empty or an underscore; expand it
582
 
-  U=`sed -n 's/^U = //p' < "$mf"`
583
 
-  # Find all dependency output files, they are included files with
584
 
-  # $(DEPDIR) in their names.  We invoke sed twice because it is the
585
 
-  # simplest approach to changing $(DEPDIR) to its actual value in the
586
 
-  # expansion.
587
 
-  for file in `sed -n "
588
 
-    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
589
 
-       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
590
 
-    # Make sure the directory exists.
591
 
-    test -f "$dirpart/$file" && continue
592
 
-    fdir=`AS_DIRNAME(["$file"])`
593
 
-    AS_MKDIR_P([$dirpart/$fdir])
594
 
-    # echo "creating $dirpart/$file"
595
 
-    echo '# dummy' > "$dirpart/$file"
596
 
-  done
597
 
-done
598
 
-])# _AM_OUTPUT_DEPENDENCY_COMMANDS
599
 
+# Configure paths for GTK+
600
 
+# Owen Taylor     1997-2001
601
 
 
602
 
+dnl AM_PATH_GTK_2_0([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
603
 
+dnl Test for GTK+, and define GTK_CFLAGS and GTK_LIBS, if gthread is specified in MODULES, 
604
 
+dnl pass to pkg-config
605
 
+dnl
606
 
+AC_DEFUN([AM_PATH_GTK_2_0],
607
 
+[dnl 
608
 
+dnl Get the cflags and libraries from pkg-config
609
 
+dnl
610
 
+AC_ARG_ENABLE(gtktest, [  --disable-gtktest       do not try to compile and run a test GTK+ program],
611
 
+                   , enable_gtktest=yes)
612
 
 
613
 
-# AM_OUTPUT_DEPENDENCY_COMMANDS
614
 
-# -----------------------------
615
 
-# This macro should only be invoked once -- use via AC_REQUIRE.
616
 
-#
617
 
-# This code is only required when automatic dependency tracking
618
 
-# is enabled.  FIXME.  This creates each `.P' file that we will
619
 
-# need in order to bootstrap the dependency handling code.
620
 
-AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
621
 
-[AC_CONFIG_COMMANDS([depfiles],
622
 
-     [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
623
 
-     [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
624
 
-])
625
 
+  pkg_config_args=gtk+-2.0
626
 
+  for module in . $4
627
 
+  do
628
 
+      case "$module" in
629
 
+         gthread) 
630
 
+             pkg_config_args="$pkg_config_args gthread-2.0"
631
 
+         ;;
632
 
+      esac
633
 
+  done
634
 
 
635
 
-# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
636
 
-# Free Software Foundation, Inc.
637
 
-#
638
 
-# This file is free software; the Free Software Foundation
639
 
-# gives unlimited permission to copy and/or distribute it,
640
 
-# with or without modifications, as long as this notice is preserved.
641
 
+  no_gtk=""
642
 
 
643
 
-# serial 8
644
 
+  AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
645
 
 
646
 
-# AM_CONFIG_HEADER is obsolete.  It has been replaced by AC_CONFIG_HEADERS.
647
 
-AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
648
 
+  if test x$PKG_CONFIG != xno ; then
649
 
+    if pkg-config --atleast-pkgconfig-version 0.7 ; then
650
 
+      :
651
 
+    else
652
 
+      echo "*** pkg-config too old; version 0.7 or better required."
653
 
+      no_gtk=yes
654
 
+      PKG_CONFIG=no
655
 
+    fi
656
 
+  else
657
 
+    no_gtk=yes
658
 
+  fi
659
 
 
660
 
-# Do all the work for Automake.                             -*- Autoconf -*-
661
 
+  min_gtk_version=ifelse([$1], ,2.0.0,$1)
662
 
+  AC_MSG_CHECKING(for GTK+ - version >= $min_gtk_version)
663
 
 
664
 
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
665
 
-# 2005, 2006, 2008 Free Software Foundation, Inc.
666
 
-#
667
 
-# This file is free software; the Free Software Foundation
668
 
-# gives unlimited permission to copy and/or distribute it,
669
 
-# with or without modifications, as long as this notice is preserved.
670
 
+  if test x$PKG_CONFIG != xno ; then
671
 
+    ## don't try to run the test against uninstalled libtool libs
672
 
+    if $PKG_CONFIG --uninstalled $pkg_config_args; then
673
 
+         echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
674
 
+         enable_gtktest=no
675
 
+    fi
676
 
 
677
 
-# serial 13
678
 
+    if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
679
 
+         :
680
 
+    else
681
 
+         no_gtk=yes
682
 
+    fi
683
 
+  fi
684
 
 
685
 
-# This macro actually does too much.  Some checks are only needed if
686
 
-# your package does certain things.  But this isn't really a big deal.
687
 
+  if test x"$no_gtk" = x ; then
688
 
+    GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
689
 
+    GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
690
 
+    gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
691
 
+           sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
692
 
+    gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
693
 
+           sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
694
 
+    gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
695
 
+           sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
696
 
+    if test "x$enable_gtktest" = "xyes" ; then
697
 
+      ac_save_CFLAGS="$CFLAGS"
698
 
+      ac_save_LIBS="$LIBS"
699
 
+      CFLAGS="$CFLAGS $GTK_CFLAGS"
700
 
+      LIBS="$GTK_LIBS $LIBS"
701
 
+dnl
702
 
+dnl Now check if the installed GTK+ is sufficiently new. (Also sanity
703
 
+dnl checks the results of pkg-config to some extent)
704
 
+dnl
705
 
+      rm -f conf.gtktest
706
 
+      AC_TRY_RUN([
707
 
+#include <gtk/gtk.h>
708
 
+#include <stdio.h>
709
 
+#include <stdlib.h>
710
 
 
711
 
-# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
712
 
-# AM_INIT_AUTOMAKE([OPTIONS])
713
 
-# -----------------------------------------------
714
 
-# The call with PACKAGE and VERSION arguments is the old style
715
 
-# call (pre autoconf-2.50), which is being phased out.  PACKAGE
716
 
-# and VERSION should now be passed to AC_INIT and removed from
717
 
-# the call to AM_INIT_AUTOMAKE.
718
 
-# We support both call styles for the transition.  After
719
 
-# the next Automake release, Autoconf can make the AC_INIT
720
 
-# arguments mandatory, and then we can depend on a new Autoconf
721
 
-# release and drop the old call support.
722
 
-AC_DEFUN([AM_INIT_AUTOMAKE],
723
 
-[AC_PREREQ([2.60])dnl
724
 
-dnl Autoconf wants to disallow AM_ names.  We explicitly allow
725
 
-dnl the ones we care about.
726
 
-m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
727
 
-AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
728
 
-AC_REQUIRE([AC_PROG_INSTALL])dnl
729
 
-if test "`cd $srcdir && pwd`" != "`pwd`"; then
730
 
-  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
731
 
-  # is not polluted with repeated "-I."
732
 
-  AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
733
 
-  # test to see if srcdir already configured
734
 
-  if test -f $srcdir/config.status; then
735
 
-    AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
736
 
-  fi
737
 
-fi
738
 
+int 
739
 
+main ()
740
 
+{
741
 
+  int major, minor, micro;
742
 
+  char *tmp_version;
743
 
 
744
 
-# test whether we have cygpath
745
 
-if test -z "$CYGPATH_W"; then
746
 
-  if (cygpath --version) >/dev/null 2>/dev/null; then
747
 
-    CYGPATH_W='cygpath -w'
748
 
+  system ("touch conf.gtktest");
749
 
+
750
 
+  /* HP/UX 9 (%@#!) writes to sscanf strings */
751
 
+  tmp_version = g_strdup("$min_gtk_version");
752
 
+  if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
753
 
+     printf("%s, bad version string\n", "$min_gtk_version");
754
 
+     exit(1);
755
 
+   }
756
 
+
757
 
+  if ((gtk_major_version != $gtk_config_major_version) ||
758
 
+      (gtk_minor_version != $gtk_config_minor_version) ||
759
 
+      (gtk_micro_version != $gtk_config_micro_version))
760
 
+    {
761
 
+      printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n", 
762
 
+             $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
763
 
+             gtk_major_version, gtk_minor_version, gtk_micro_version);
764
 
+      printf ("*** was found! If pkg-config was correct, then it is best\n");
765
 
+      printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
766
 
+      printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
767
 
+      printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
768
 
+      printf("*** required on your system.\n");
769
 
+      printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
770
 
+      printf("*** to point to the correct configuration files\n");
771
 
+    } 
772
 
+  else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
773
 
+          (gtk_minor_version != GTK_MINOR_VERSION) ||
774
 
+           (gtk_micro_version != GTK_MICRO_VERSION))
775
 
+    {
776
 
+      printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
777
 
+            GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
778
 
+      printf("*** library (version %d.%d.%d)\n",
779
 
+            gtk_major_version, gtk_minor_version, gtk_micro_version);
780
 
+    }
781
 
   else
782
 
-    CYGPATH_W=echo
783
 
+    {
784
 
+      if ((gtk_major_version > major) ||
785
 
+        ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
786
 
+        ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
787
 
+      {
788
 
+        return 0;
789
 
+       }
790
 
+     else
791
 
+      {
792
 
+        printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
793
 
+               gtk_major_version, gtk_minor_version, gtk_micro_version);
794
 
+        printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
795
 
+              major, minor, micro);
796
 
+        printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
797
 
+        printf("***\n");
798
 
+        printf("*** If you have already installed a sufficiently new version, this error\n");
799
 
+        printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
800
 
+        printf("*** being found. The easiest way to fix this is to remove the old version\n");
801
 
+        printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
802
 
+        printf("*** correct copy of pkg-config. (In this case, you will have to\n");
803
 
+        printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
804
 
+        printf("*** so that the correct libraries are found at run-time))\n");
805
 
+      }
806
 
+    }
807
 
+  return 1;
808
 
+}
809
 
+],, no_gtk=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
810
 
+       CFLAGS="$ac_save_CFLAGS"
811
 
+       LIBS="$ac_save_LIBS"
812
 
+     fi
813
 
   fi
814
 
-fi
815
 
-AC_SUBST([CYGPATH_W])
816
 
+  if test "x$no_gtk" = x ; then
817
 
+     AC_MSG_RESULT(yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version))
818
 
+     ifelse([$2], , :, [$2])     
819
 
+  else
820
 
+     AC_MSG_RESULT(no)
821
 
+     if test "$PKG_CONFIG" = "no" ; then
822
 
+       echo "*** A new enough version of pkg-config was not found."
823
 
+       echo "*** See http://pkgconfig.sourceforge.net"
824
 
+     else
825
 
+       if test -f conf.gtktest ; then
826
 
+        :
827
 
+       else
828
 
+          echo "*** Could not run GTK+ test program, checking why..."
829
 
+         ac_save_CFLAGS="$CFLAGS"
830
 
+         ac_save_LIBS="$LIBS"
831
 
+          CFLAGS="$CFLAGS $GTK_CFLAGS"
832
 
+          LIBS="$LIBS $GTK_LIBS"
833
 
+          AC_TRY_LINK([
834
 
+#include <gtk/gtk.h>
835
 
+#include <stdio.h>
836
 
+],      [ return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); ],
837
 
+        [ echo "*** The test program compiled, but did not run. This usually means"
838
 
+          echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
839
 
+          echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
840
 
+          echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
841
 
+          echo "*** to the installed location  Also, make sure you have run ldconfig if that"
842
 
+          echo "*** is required on your system"
843
 
+         echo "***"
844
 
+          echo "*** If you have an old version installed, it is best to remove it, although"
845
 
+          echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" ],
846
 
+        [ echo "*** The test program failed to compile or link. See the file config.log for the"
847
 
+          echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."])
848
 
+          CFLAGS="$ac_save_CFLAGS"
849
 
+          LIBS="$ac_save_LIBS"
850
 
+       fi
851
 
+     fi
852
 
+     GTK_CFLAGS=""
853
 
+     GTK_LIBS=""
854
 
+     ifelse([$3], , :, [$3])
855
 
+  fi
856
 
+  AC_SUBST(GTK_CFLAGS)
857
 
+  AC_SUBST(GTK_LIBS)
858
 
+  rm -f conf.gtktest
859
 
+])
860
 
 
861
 
-# Define the identity of the package.
862
 
-dnl Distinguish between old-style and new-style calls.
863
 
-m4_ifval([$2],
864
 
-[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
865
 
- AC_SUBST([PACKAGE], [$1])dnl
866
 
- AC_SUBST([VERSION], [$2])],
867
 
-[_AM_SET_OPTIONS([$1])dnl
868
 
-dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
869
 
-m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
870
 
-  [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
871
 
- AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
872
 
- AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
873
 
+# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
874
 
+#
875
 
+#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
876
 
+#                 2006, 2007, 2008 Free Software Foundation, Inc.
877
 
+#   Written by Gordon Matzigkeit, 1996
878
 
+#
879
 
+# This file is free software; the Free Software Foundation gives
880
 
+# unlimited permission to copy and/or distribute it, with or without
881
 
+# modifications, as long as this notice is preserved.
882
 
+
883
 
+m4_define([_LT_COPYING], [dnl
884
 
+#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
885
 
+#                 2006, 2007, 2008 Free Software Foundation, Inc.
886
 
+#   Written by Gordon Matzigkeit, 1996
887
 
+#
888
 
+#   This file is part of GNU Libtool.
889
 
+#
890
 
+# GNU Libtool is free software; you can redistribute it and/or
891
 
+# modify it under the terms of the GNU General Public License as
892
 
+# published by the Free Software Foundation; either version 2 of
893
 
+# the License, or (at your option) any later version.
894
 
+#
895
 
+# As a special exception to the GNU General Public License,
896
 
+# if you distribute this file as part of a program or library that
897
 
+# is built using GNU Libtool, you may include this file under the
898
 
+# same distribution terms that you use for the rest of that program.
899
 
+#
900
 
+# GNU Libtool is distributed in the hope that it will be useful,
901
 
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
902
 
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
903
 
+# GNU General Public License for more details.
904
 
+#
905
 
+# You should have received a copy of the GNU General Public License
906
 
+# along with GNU Libtool; see the file COPYING.  If not, a copy
907
 
+# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
908
 
+# obtained by writing to the Free Software Foundation, Inc.,
909
 
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
910
 
+])
911
 
 
912
 
-_AM_IF_OPTION([no-define],,
913
 
-[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
914
 
- AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
915
 
+# serial 56 LT_INIT
916
 
 
917
 
-# Some tools Automake needs.
918
 
-AC_REQUIRE([AM_SANITY_CHECK])dnl
919
 
-AC_REQUIRE([AC_ARG_PROGRAM])dnl
920
 
-AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
921
 
-AM_MISSING_PROG(AUTOCONF, autoconf)
922
 
-AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
923
 
-AM_MISSING_PROG(AUTOHEADER, autoheader)
924
 
-AM_MISSING_PROG(MAKEINFO, makeinfo)
925
 
-AM_PROG_INSTALL_SH
926
 
-AM_PROG_INSTALL_STRIP
927
 
-AC_REQUIRE([AM_PROG_MKDIR_P])dnl
928
 
-# We need awk for the "check" target.  The system "awk" is bad on
929
 
-# some platforms.
930
 
-AC_REQUIRE([AC_PROG_AWK])dnl
931
 
-AC_REQUIRE([AC_PROG_MAKE_SET])dnl
932
 
-AC_REQUIRE([AM_SET_LEADING_DOT])dnl
933
 
-_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
934
 
-              [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
935
 
-                            [_AM_PROG_TAR([v7])])])
936
 
-_AM_IF_OPTION([no-dependencies],,
937
 
-[AC_PROVIDE_IFELSE([AC_PROG_CC],
938
 
-                  [_AM_DEPENDENCIES(CC)],
939
 
-                  [define([AC_PROG_CC],
940
 
-                          defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
941
 
-AC_PROVIDE_IFELSE([AC_PROG_CXX],
942
 
-                  [_AM_DEPENDENCIES(CXX)],
943
 
-                  [define([AC_PROG_CXX],
944
 
-                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
945
 
-AC_PROVIDE_IFELSE([AC_PROG_OBJC],
946
 
-                  [_AM_DEPENDENCIES(OBJC)],
947
 
-                  [define([AC_PROG_OBJC],
948
 
-                          defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
949
 
-])
950
 
-])
951
 
 
952
 
+# LT_PREREQ(VERSION)
953
 
+# ------------------
954
 
+# Complain and exit if this libtool version is less that VERSION.
955
 
+m4_defun([LT_PREREQ],
956
 
+[m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1,
957
 
+       [m4_default([$3],
958
 
+                  [m4_fatal([Libtool version $1 or higher is required],
959
 
+                            63)])],
960
 
+       [$2])])
961
 
 
962
 
-# When config.status generates a header, we must update the stamp-h file.
963
 
-# This file resides in the same directory as the config header
964
 
-# that is generated.  The stamp files are numbered to have different names.
965
 
 
966
 
-# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
967
 
-# loop where config.status creates the headers, so we can generate
968
 
-# our stamp files there.
969
 
-AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
970
 
-[# Compute $1's index in $config_headers.
971
 
-_am_arg=$1
972
 
-_am_stamp_count=1
973
 
-for _am_header in $config_headers :; do
974
 
-  case $_am_header in
975
 
-    $_am_arg | $_am_arg:* )
976
 
-      break ;;
977
 
-    * )
978
 
-      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
979
 
-  esac
980
 
-done
981
 
-echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
982
 
+# _LT_CHECK_BUILDDIR
983
 
+# ------------------
984
 
+# Complain if the absolute build directory name contains unusual characters
985
 
+m4_defun([_LT_CHECK_BUILDDIR],
986
 
+[case `pwd` in
987
 
+  *\ * | *\    *)
988
 
+    AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;;
989
 
+esac
990
 
+])
991
 
 
992
 
-# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
993
 
-#
994
 
-# This file is free software; the Free Software Foundation
995
 
-# gives unlimited permission to copy and/or distribute it,
996
 
-# with or without modifications, as long as this notice is preserved.
997
 
 
998
 
-# AM_PROG_INSTALL_SH
999
 
+# LT_INIT([OPTIONS])
1000
 
 # ------------------
1001
 
-# Define $install_sh.
1002
 
-AC_DEFUN([AM_PROG_INSTALL_SH],
1003
 
-[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1004
 
-install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
1005
 
-AC_SUBST(install_sh)])
1006
 
+AC_DEFUN([LT_INIT],
1007
 
+[AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT
1008
 
+AC_BEFORE([$0], [LT_LANG])dnl
1009
 
+AC_BEFORE([$0], [LT_OUTPUT])dnl
1010
 
+AC_BEFORE([$0], [LTDL_INIT])dnl
1011
 
+m4_require([_LT_CHECK_BUILDDIR])dnl
1012
 
+
1013
 
+dnl Autoconf doesn't catch unexpanded LT_ macros by default:
1014
 
+m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
1015
 
+m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl
1016
 
+dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4
1017
 
+dnl unless we require an AC_DEFUNed macro:
1018
 
+AC_REQUIRE([LTOPTIONS_VERSION])dnl
1019
 
+AC_REQUIRE([LTSUGAR_VERSION])dnl
1020
 
+AC_REQUIRE([LTVERSION_VERSION])dnl
1021
 
+AC_REQUIRE([LTOBSOLETE_VERSION])dnl
1022
 
+m4_require([_LT_PROG_LTMAIN])dnl
1023
 
 
1024
 
-# Copyright (C) 2003, 2005  Free Software Foundation, Inc.
1025
 
-#
1026
 
-# This file is free software; the Free Software Foundation
1027
 
-# gives unlimited permission to copy and/or distribute it,
1028
 
-# with or without modifications, as long as this notice is preserved.
1029
 
+dnl Parse OPTIONS
1030
 
+_LT_SET_OPTIONS([$0], [$1])
1031
 
 
1032
 
-# serial 2
1033
 
+# This can be used to rebuild libtool when needed
1034
 
+LIBTOOL_DEPS="$ltmain"
1035
 
 
1036
 
-# Check whether the underlying file-system supports filenames
1037
 
-# with a leading dot.  For instance MS-DOS doesn't.
1038
 
-AC_DEFUN([AM_SET_LEADING_DOT],
1039
 
-[rm -rf .tst 2>/dev/null
1040
 
-mkdir .tst 2>/dev/null
1041
 
-if test -d .tst; then
1042
 
-  am__leading_dot=.
1043
 
-else
1044
 
-  am__leading_dot=_
1045
 
-fi
1046
 
-rmdir .tst 2>/dev/null
1047
 
-AC_SUBST([am__leading_dot])])
1048
 
+# Always use our own libtool.
1049
 
+LIBTOOL='$(SHELL) $(top_builddir)/libtool'
1050
 
+AC_SUBST(LIBTOOL)dnl
1051
 
 
1052
 
-# Check to see how 'make' treats includes.                 -*- Autoconf -*-
1053
 
+_LT_SETUP
1054
 
 
1055
 
-# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
1056
 
-#
1057
 
-# This file is free software; the Free Software Foundation
1058
 
-# gives unlimited permission to copy and/or distribute it,
1059
 
-# with or without modifications, as long as this notice is preserved.
1060
 
+# Only expand once:
1061
 
+m4_define([LT_INIT])
1062
 
+])# LT_INIT
1063
 
+
1064
 
+# Old names:
1065
 
+AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT])
1066
 
+AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT])
1067
 
+dnl aclocal-1.4 backwards compatibility:
1068
 
+dnl AC_DEFUN([AC_PROG_LIBTOOL], [])
1069
 
+dnl AC_DEFUN([AM_PROG_LIBTOOL], [])
1070
 
 
1071
 
-# serial 3
1072
 
 
1073
 
-# AM_MAKE_INCLUDE()
1074
 
-# -----------------
1075
 
-# Check to see how make treats includes.
1076
 
-AC_DEFUN([AM_MAKE_INCLUDE],
1077
 
-[am_make=${MAKE-make}
1078
 
-cat > confinc << 'END'
1079
 
-am__doit:
1080
 
-       @echo done
1081
 
-.PHONY: am__doit
1082
 
-END
1083
 
-# If we don't find an include directive, just comment out the code.
1084
 
-AC_MSG_CHECKING([for style of include used by $am_make])
1085
 
-am__include="#"
1086
 
-am__quote=
1087
 
-_am_result=none
1088
 
-# First try GNU make style include.
1089
 
-echo "include confinc" > confmf
1090
 
-# We grep out `Entering directory' and `Leaving directory'
1091
 
-# messages which can occur if `w' ends up in MAKEFLAGS.
1092
 
-# In particular we don't look at `^make:' because GNU make might
1093
 
-# be invoked under some other name (usually "gmake"), in which
1094
 
-# case it prints its new name instead of `make'.
1095
 
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
1096
 
-   am__include=include
1097
 
-   am__quote=
1098
 
-   _am_result=GNU
1099
 
-fi
1100
 
-# Now try BSD make style include.
1101
 
-if test "$am__include" = "#"; then
1102
 
-   echo '.include "confinc"' > confmf
1103
 
-   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
1104
 
-      am__include=.include
1105
 
-      am__quote="\""
1106
 
-      _am_result=BSD
1107
 
-   fi
1108
 
-fi
1109
 
-AC_SUBST([am__include])
1110
 
-AC_SUBST([am__quote])
1111
 
-AC_MSG_RESULT([$_am_result])
1112
 
-rm -f confinc confmf
1113
 
+# _LT_CC_BASENAME(CC)
1114
 
+# -------------------
1115
 
+# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
1116
 
+m4_defun([_LT_CC_BASENAME],
1117
 
+[for cc_temp in $1""; do
1118
 
+  case $cc_temp in
1119
 
+    compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
1120
 
+    distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
1121
 
+    \-*) ;;
1122
 
+    *) break;;
1123
 
+  esac
1124
 
+done
1125
 
+cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
1126
 
 ])
1127
 
 
1128
 
-# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
1129
 
-
1130
 
-# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
1131
 
-# Free Software Foundation, Inc.
1132
 
-#
1133
 
-# This file is free software; the Free Software Foundation
1134
 
-# gives unlimited permission to copy and/or distribute it,
1135
 
-# with or without modifications, as long as this notice is preserved.
1136
 
-
1137
 
-# serial 5
1138
 
 
1139
 
-# AM_MISSING_PROG(NAME, PROGRAM)
1140
 
-# ------------------------------
1141
 
-AC_DEFUN([AM_MISSING_PROG],
1142
 
-[AC_REQUIRE([AM_MISSING_HAS_RUN])
1143
 
-$1=${$1-"${am_missing_run}$2"}
1144
 
-AC_SUBST($1)])
1145
 
+# _LT_FILEUTILS_DEFAULTS
1146
 
+# ----------------------
1147
 
+# It is okay to use these file commands and assume they have been set
1148
 
+# sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'.
1149
 
+m4_defun([_LT_FILEUTILS_DEFAULTS],
1150
 
+[: ${CP="cp -f"}
1151
 
+: ${MV="mv -f"}
1152
 
+: ${RM="rm -f"}
1153
 
+])# _LT_FILEUTILS_DEFAULTS
1154
 
 
1155
 
 
1156
 
-# AM_MISSING_HAS_RUN
1157
 
-# ------------------
1158
 
-# Define MISSING if not defined so far and test if it supports --run.
1159
 
-# If it does, set am_missing_run to use it, otherwise, to nothing.
1160
 
-AC_DEFUN([AM_MISSING_HAS_RUN],
1161
 
-[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1162
 
-AC_REQUIRE_AUX_FILE([missing])dnl
1163
 
-test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1164
 
-# Use eval to expand $SHELL
1165
 
-if eval "$MISSING --run true"; then
1166
 
-  am_missing_run="$MISSING --run "
1167
 
-else
1168
 
-  am_missing_run=
1169
 
-  AC_MSG_WARN([`missing' script is too old or missing])
1170
 
+# _LT_SETUP
1171
 
+# ---------
1172
 
+m4_defun([_LT_SETUP],
1173
 
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
1174
 
+AC_REQUIRE([AC_CANONICAL_BUILD])dnl
1175
 
+_LT_DECL([], [host_alias], [0], [The host system])dnl
1176
 
+_LT_DECL([], [host], [0])dnl
1177
 
+_LT_DECL([], [host_os], [0])dnl
1178
 
+dnl
1179
 
+_LT_DECL([], [build_alias], [0], [The build system])dnl
1180
 
+_LT_DECL([], [build], [0])dnl
1181
 
+_LT_DECL([], [build_os], [0])dnl
1182
 
+dnl
1183
 
+AC_REQUIRE([AC_PROG_CC])dnl
1184
 
+AC_REQUIRE([LT_PATH_LD])dnl
1185
 
+AC_REQUIRE([LT_PATH_NM])dnl
1186
 
+dnl
1187
 
+AC_REQUIRE([AC_PROG_LN_S])dnl
1188
 
+test -z "$LN_S" && LN_S="ln -s"
1189
 
+_LT_DECL([], [LN_S], [1], [Whether we need soft or hard links])dnl
1190
 
+dnl
1191
 
+AC_REQUIRE([LT_CMD_MAX_LEN])dnl
1192
 
+_LT_DECL([objext], [ac_objext], [0], [Object file suffix (normally "o")])dnl
1193
 
+_LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl
1194
 
+dnl
1195
 
+m4_require([_LT_FILEUTILS_DEFAULTS])dnl
1196
 
+m4_require([_LT_CHECK_SHELL_FEATURES])dnl
1197
 
+m4_require([_LT_CMD_RELOAD])dnl
1198
 
+m4_require([_LT_CHECK_MAGIC_METHOD])dnl
1199
 
+m4_require([_LT_CMD_OLD_ARCHIVE])dnl
1200
 
+m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
1201
 
+
1202
 
+_LT_CONFIG_LIBTOOL_INIT([
1203
 
+# See if we are running on zsh, and set the options which allow our
1204
 
+# commands through without removal of \ escapes INIT.
1205
 
+if test -n "\${ZSH_VERSION+set}" ; then
1206
 
+   setopt NO_GLOB_SUBST
1207
 
 fi
1208
 
 ])
1209
 
+if test -n "${ZSH_VERSION+set}" ; then
1210
 
+   setopt NO_GLOB_SUBST
1211
 
+fi
1212
 
 
1213
 
-# Copyright (C) 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
1214
 
-#
1215
 
-# This file is free software; the Free Software Foundation
1216
 
-# gives unlimited permission to copy and/or distribute it,
1217
 
-# with or without modifications, as long as this notice is preserved.
1218
 
+_LT_CHECK_OBJDIR
1219
 
 
1220
 
-# AM_PROG_MKDIR_P
1221
 
-# ---------------
1222
 
-# Check for `mkdir -p'.
1223
 
-AC_DEFUN([AM_PROG_MKDIR_P],
1224
 
-[AC_PREREQ([2.60])dnl
1225
 
-AC_REQUIRE([AC_PROG_MKDIR_P])dnl
1226
 
-dnl Automake 1.8 to 1.9.6 used to define mkdir_p.  We now use MKDIR_P,
1227
 
-dnl while keeping a definition of mkdir_p for backward compatibility.
1228
 
-dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
1229
 
-dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
1230
 
-dnl Makefile.ins that do not define MKDIR_P, so we do our own
1231
 
-dnl adjustment using top_builddir (which is defined more often than
1232
 
-dnl MKDIR_P).
1233
 
-AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
1234
 
-case $mkdir_p in
1235
 
-  [[\\/$]]* | ?:[[\\/]]*) ;;
1236
 
-  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1237
 
+m4_require([_LT_TAG_COMPILER])dnl
1238
 
+_LT_PROG_ECHO_BACKSLASH
1239
 
+
1240
 
+case $host_os in
1241
 
+aix3*)
1242
 
+  # AIX sometimes has problems with the GCC collect2 program.  For some
1243
 
+  # reason, if we set the COLLECT_NAMES environment variable, the problems
1244
 
+  # vanish in a puff of smoke.
1245
 
+  if test "X${COLLECT_NAMES+set}" != Xset; then
1246
 
+    COLLECT_NAMES=
1247
 
+    export COLLECT_NAMES
1248
 
+  fi
1249
 
+  ;;
1250
 
 esac
1251
 
-])
1252
 
 
1253
 
-# Helper functions for option handling.                     -*- Autoconf -*-
1254
 
+# Sed substitution that helps us do robust quoting.  It backslashifies
1255
 
+# metacharacters that are still active within double-quoted strings.
1256
 
+sed_quote_subst='s/\([["`$\\]]\)/\\\1/g'
1257
 
 
1258
 
-# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
1259
 
-#
1260
 
-# This file is free software; the Free Software Foundation
1261
 
-# gives unlimited permission to copy and/or distribute it,
1262
 
-# with or without modifications, as long as this notice is preserved.
1263
 
+# Same as above, but do not quote variable references.
1264
 
+double_quote_subst='s/\([["`\\]]\)/\\\1/g'
1265
 
 
1266
 
-# serial 3
1267
 
+# Sed substitution to delay expansion of an escaped shell variable in a
1268
 
+# double_quote_subst'ed string.
1269
 
+delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
1270
 
 
1271
 
-# _AM_MANGLE_OPTION(NAME)
1272
 
-# -----------------------
1273
 
-AC_DEFUN([_AM_MANGLE_OPTION],
1274
 
-[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
1275
 
+# Sed substitution to delay expansion of an escaped single quote.
1276
 
+delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
1277
 
 
1278
 
-# _AM_SET_OPTION(NAME)
1279
 
-# ------------------------------
1280
 
-# Set option NAME.  Presently that only means defining a flag for this option.
1281
 
-AC_DEFUN([_AM_SET_OPTION],
1282
 
-[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
1283
 
+# Sed substitution to avoid accidental globbing in evaled expressions
1284
 
+no_glob_subst='s/\*/\\\*/g'
1285
 
 
1286
 
-# _AM_SET_OPTIONS(OPTIONS)
1287
 
-# ----------------------------------
1288
 
-# OPTIONS is a space-separated list of Automake options.
1289
 
-AC_DEFUN([_AM_SET_OPTIONS],
1290
 
-[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
1291
 
+# Global variables:
1292
 
+ofile=libtool
1293
 
+can_build_shared=yes
1294
 
 
1295
 
-# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
1296
 
-# -------------------------------------------
1297
 
-# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
1298
 
-AC_DEFUN([_AM_IF_OPTION],
1299
 
-[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
1300
 
+# All known linkers require a `.a' archive for static linking (except MSVC,
1301
 
+# which needs '.lib').
1302
 
+libext=a
1303
 
 
1304
 
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
1305
 
-# Free Software Foundation, Inc.
1306
 
-#
1307
 
-# This file is free software; the Free Software Foundation
1308
 
-# gives unlimited permission to copy and/or distribute it,
1309
 
-# with or without modifications, as long as this notice is preserved.
1310
 
+with_gnu_ld="$lt_cv_prog_gnu_ld"
1311
 
 
1312
 
-# AM_PATH_PYTHON([MINIMUM-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
1313
 
-# ---------------------------------------------------------------------------
1314
 
-# Adds support for distributing Python modules and packages.  To
1315
 
-# install modules, copy them to $(pythondir), using the python_PYTHON
1316
 
-# automake variable.  To install a package with the same name as the
1317
 
-# automake package, install to $(pkgpythondir), or use the
1318
 
-# pkgpython_PYTHON automake variable.
1319
 
-#
1320
 
-# The variables $(pyexecdir) and $(pkgpyexecdir) are provided as
1321
 
-# locations to install python extension modules (shared libraries).
1322
 
-# Another macro is required to find the appropriate flags to compile
1323
 
-# extension modules.
1324
 
-#
1325
 
-# If your package is configured with a different prefix to python,
1326
 
-# users will have to add the install directory to the PYTHONPATH
1327
 
-# environment variable, or create a .pth file (see the python
1328
 
-# documentation for details).
1329
 
-#
1330
 
-# If the MINIMUM-VERSION argument is passed, AM_PATH_PYTHON will
1331
 
-# cause an error if the version of python installed on the system
1332
 
-# doesn't meet the requirement.  MINIMUM-VERSION should consist of
1333
 
-# numbers and dots only.
1334
 
-AC_DEFUN([AM_PATH_PYTHON],
1335
 
- [
1336
 
-  dnl Find a Python interpreter.  Python versions prior to 1.5 are not
1337
 
-  dnl supported because the default installation locations changed from
1338
 
-  dnl $prefix/lib/site-python in 1.4 to $prefix/lib/python1.5/site-packages
1339
 
-  dnl in 1.5.
1340
 
-  m4_define_default([_AM_PYTHON_INTERPRETER_LIST],
1341
 
-                    [python python2 python2.5 python2.4 python2.3 python2.2 dnl
1342
 
-python2.1 python2.0 python1.6 python1.5])
1343
 
+old_CC="$CC"
1344
 
+old_CFLAGS="$CFLAGS"
1345
 
 
1346
 
-  m4_if([$1],[],[
1347
 
-    dnl No version check is needed.
1348
 
-    # Find any Python interpreter.
1349
 
-    if test -z "$PYTHON"; then
1350
 
-      AC_PATH_PROGS([PYTHON], _AM_PYTHON_INTERPRETER_LIST, :)
1351
 
-    fi
1352
 
-    am_display_PYTHON=python
1353
 
-  ], [
1354
 
-    dnl A version check is needed.
1355
 
-    if test -n "$PYTHON"; then
1356
 
-      # If the user set $PYTHON, use it and don't search something else.
1357
 
-      AC_MSG_CHECKING([whether $PYTHON version >= $1])
1358
 
-      AM_PYTHON_CHECK_VERSION([$PYTHON], [$1],
1359
 
-                             [AC_MSG_RESULT(yes)],
1360
 
-                             [AC_MSG_ERROR(too old)])
1361
 
-      am_display_PYTHON=$PYTHON
1362
 
-    else
1363
 
-      # Otherwise, try each interpreter until we find one that satisfies
1364
 
-      # VERSION.
1365
 
-      AC_CACHE_CHECK([for a Python interpreter with version >= $1],
1366
 
-       [am_cv_pathless_PYTHON],[
1367
 
-       for am_cv_pathless_PYTHON in _AM_PYTHON_INTERPRETER_LIST none; do
1368
 
-         test "$am_cv_pathless_PYTHON" = none && break
1369
 
-         AM_PYTHON_CHECK_VERSION([$am_cv_pathless_PYTHON], [$1], [break])
1370
 
-       done])
1371
 
-      # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
1372
 
-      if test "$am_cv_pathless_PYTHON" = none; then
1373
 
-       PYTHON=:
1374
 
-      else
1375
 
-        AC_PATH_PROG([PYTHON], [$am_cv_pathless_PYTHON])
1376
 
-      fi
1377
 
-      am_display_PYTHON=$am_cv_pathless_PYTHON
1378
 
-    fi
1379
 
-  ])
1380
 
+# Set sane defaults for various variables
1381
 
+test -z "$CC" && CC=cc
1382
 
+test -z "$LTCC" && LTCC=$CC
1383
 
+test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
1384
 
+test -z "$LD" && LD=ld
1385
 
+test -z "$ac_objext" && ac_objext=o
1386
 
 
1387
 
-  if test "$PYTHON" = :; then
1388
 
-  dnl Run any user-specified action, or abort.
1389
 
-    m4_default([$3], [AC_MSG_ERROR([no suitable Python interpreter found])])
1390
 
-  else
1391
 
+_LT_CC_BASENAME([$compiler])
1392
 
 
1393
 
-  dnl Query Python for its version number.  Getting [:3] seems to be
1394
 
-  dnl the best way to do this; it's what "site.py" does in the standard
1395
 
-  dnl library.
1396
 
+# Only perform the check for file, if the check method requires it
1397
 
+test -z "$MAGIC_CMD" && MAGIC_CMD=file
1398
 
+case $deplibs_check_method in
1399
 
+file_magic*)
1400
 
+  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
1401
 
+    _LT_PATH_MAGIC
1402
 
+  fi
1403
 
+  ;;
1404
 
+esac
1405
 
 
1406
 
-  AC_CACHE_CHECK([for $am_display_PYTHON version], [am_cv_python_version],
1407
 
-    [am_cv_python_version=`$PYTHON -c "import sys; print sys.version[[:3]]"`])
1408
 
-  AC_SUBST([PYTHON_VERSION], [$am_cv_python_version])
1409
 
+# Use C for the default configuration in the libtool script
1410
 
+LT_SUPPORTED_TAG([CC])
1411
 
+_LT_LANG_C_CONFIG
1412
 
+_LT_LANG_DEFAULT_CONFIG
1413
 
+_LT_CONFIG_COMMANDS
1414
 
+])# _LT_SETUP
1415
 
 
1416
 
-  dnl Use the values of $prefix and $exec_prefix for the corresponding
1417
 
-  dnl values of PYTHON_PREFIX and PYTHON_EXEC_PREFIX.  These are made
1418
 
-  dnl distinct variables so they can be overridden if need be.  However,
1419
 
-  dnl general consensus is that you shouldn't need this ability.
1420
 
 
1421
 
-  AC_SUBST([PYTHON_PREFIX], ['${prefix}'])
1422
 
-  AC_SUBST([PYTHON_EXEC_PREFIX], ['${exec_prefix}'])
1423
 
+# _LT_PROG_LTMAIN
1424
 
+# ---------------
1425
 
+# Note that this code is called both from `configure', and `config.status'
1426
 
+# now that we use AC_CONFIG_COMMANDS to generate libtool.  Notably,
1427
 
+# `config.status' has no value for ac_aux_dir unless we are using Automake,
1428
 
+# so we pass a copy along to make sure it has a sensible value anyway.
1429
 
+m4_defun([_LT_PROG_LTMAIN],
1430
 
+[m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl
1431
 
+_LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir'])
1432
 
+ltmain="$ac_aux_dir/ltmain.sh"
1433
 
+])# _LT_PROG_LTMAIN
1434
 
 
1435
 
-  dnl At times (like when building shared libraries) you may want
1436
 
-  dnl to know which OS platform Python thinks this is.
1437
 
 
1438
 
-  AC_CACHE_CHECK([for $am_display_PYTHON platform], [am_cv_python_platform],
1439
 
-    [am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"`])
1440
 
-  AC_SUBST([PYTHON_PLATFORM], [$am_cv_python_platform])
1441
 
 
1442
 
+# So that we can recreate a full libtool script including additional
1443
 
+# tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS
1444
 
+# in macros and then make a single call at the end using the `libtool'
1445
 
+# label.
1446
 
 
1447
 
-  dnl Set up 4 directories:
1448
 
 
1449
 
-  dnl pythondir -- where to install python scripts.  This is the
1450
 
-  dnl   site-packages directory, not the python standard library
1451
 
-  dnl   directory like in previous automake betas.  This behavior
1452
 
-  dnl   is more consistent with lispdir.m4 for example.
1453
 
-  dnl Query distutils for this directory.  distutils does not exist in
1454
 
-  dnl Python 1.5, so we fall back to the hardcoded directory if it
1455
 
-  dnl doesn't work.
1456
 
-  AC_CACHE_CHECK([for $am_display_PYTHON script directory],
1457
 
-    [am_cv_python_pythondir],
1458
 
-    [am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
1459
 
-     echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`])
1460
 
-  AC_SUBST([pythondir], [$am_cv_python_pythondir])
1461
 
+# _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS])
1462
 
+# ----------------------------------------
1463
 
+# Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later.
1464
 
+m4_define([_LT_CONFIG_LIBTOOL_INIT],
1465
 
+[m4_ifval([$1],
1466
 
+          [m4_append([_LT_OUTPUT_LIBTOOL_INIT],
1467
 
+                     [$1
1468
 
+])])])
1469
 
 
1470
 
-  dnl pkgpythondir -- $PACKAGE directory under pythondir.  Was
1471
 
-  dnl   PYTHON_SITE_PACKAGE in previous betas, but this naming is
1472
 
-  dnl   more consistent with the rest of automake.
1473
 
+# Initialize.
1474
 
+m4_define([_LT_OUTPUT_LIBTOOL_INIT])
1475
 
 
1476
 
-  AC_SUBST([pkgpythondir], [\${pythondir}/$PACKAGE])
1477
 
 
1478
 
-  dnl pyexecdir -- directory for installing python extension modules
1479
 
-  dnl   (shared libraries)
1480
 
-  dnl Query distutils for this directory.  distutils does not exist in
1481
 
-  dnl Python 1.5, so we fall back to the hardcoded directory if it
1482
 
-  dnl doesn't work.
1483
 
-  AC_CACHE_CHECK([for $am_display_PYTHON extension module directory],
1484
 
-    [am_cv_python_pyexecdir],
1485
 
-    [am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
1486
 
-     echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`])
1487
 
-  AC_SUBST([pyexecdir], [$am_cv_python_pyexecdir])
1488
 
+# _LT_CONFIG_LIBTOOL([COMMANDS])
1489
 
+# ------------------------------
1490
 
+# Register COMMANDS to be passed to AC_CONFIG_COMMANDS later.
1491
 
+m4_define([_LT_CONFIG_LIBTOOL],
1492
 
+[m4_ifval([$1],
1493
 
+          [m4_append([_LT_OUTPUT_LIBTOOL_COMMANDS],
1494
 
+                     [$1
1495
 
+])])])
1496
 
+
1497
 
+# Initialize.
1498
 
+m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS])
1499
 
+
1500
 
+
1501
 
+# _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS])
1502
 
+# -----------------------------------------------------
1503
 
+m4_defun([_LT_CONFIG_SAVE_COMMANDS],
1504
 
+[_LT_CONFIG_LIBTOOL([$1])
1505
 
+_LT_CONFIG_LIBTOOL_INIT([$2])
1506
 
+])
1507
 
+
1508
 
+
1509
 
+# _LT_FORMAT_COMMENT([COMMENT])
1510
 
+# -----------------------------
1511
 
+# Add leading comment marks to the start of each line, and a trailing
1512
 
+# full-stop to the whole comment if one is not present already.
1513
 
+m4_define([_LT_FORMAT_COMMENT],
1514
 
+[m4_ifval([$1], [
1515
 
+m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])],
1516
 
+              [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.])
1517
 
+)])
1518
 
+
1519
 
 
1520
 
-  dnl pkgpyexecdir -- $(pyexecdir)/$(PACKAGE)
1521
 
 
1522
 
-  AC_SUBST([pkgpyexecdir], [\${pyexecdir}/$PACKAGE])
1523
 
 
1524
 
-  dnl Run any user-specified action.
1525
 
-  $2
1526
 
-  fi
1527
 
 
1528
 
+# _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?])
1529
 
+# -------------------------------------------------------------------
1530
 
+# CONFIGNAME is the name given to the value in the libtool script.
1531
 
+# VARNAME is the (base) name used in the configure script.
1532
 
+# VALUE may be 0, 1 or 2 for a computed quote escaped value based on
1533
 
+# VARNAME.  Any other value will be used directly.
1534
 
+m4_define([_LT_DECL],
1535
 
+[lt_if_append_uniq([lt_decl_varnames], [$2], [, ],
1536
 
+    [lt_dict_add_subkey([lt_decl_dict], [$2], [libtool_name],
1537
 
+       [m4_ifval([$1], [$1], [$2])])
1538
 
+    lt_dict_add_subkey([lt_decl_dict], [$2], [value], [$3])
1539
 
+    m4_ifval([$4],
1540
 
+       [lt_dict_add_subkey([lt_decl_dict], [$2], [description], [$4])])
1541
 
+    lt_dict_add_subkey([lt_decl_dict], [$2],
1542
 
+       [tagged?], [m4_ifval([$5], [yes], [no])])])
1543
 
 ])
1544
 
 
1545
 
 
1546
 
-# AM_PYTHON_CHECK_VERSION(PROG, VERSION, [ACTION-IF-TRUE], [ACTION-IF-FALSE])
1547
 
-# ---------------------------------------------------------------------------
1548
 
-# Run ACTION-IF-TRUE if the Python interpreter PROG has version >= VERSION.
1549
 
-# Run ACTION-IF-FALSE otherwise.
1550
 
-# This test uses sys.hexversion instead of the string equivalent (first
1551
 
-# word of sys.version), in order to cope with versions such as 2.2c1.
1552
 
-# hexversion has been introduced in Python 1.5.2; it's probably not
1553
 
-# worth to support older versions (1.5.1 was released on October 31, 1998).
1554
 
-AC_DEFUN([AM_PYTHON_CHECK_VERSION],
1555
 
- [prog="import sys, string
1556
 
-# split strings by '.' and convert to numeric.  Append some zeros
1557
 
-# because we need at least 4 digits for the hex conversion.
1558
 
-minver = map(int, string.split('$2', '.')) + [[0, 0, 0]]
1559
 
-minverhex = 0
1560
 
-for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[[i]]
1561
 
-sys.exit(sys.hexversion < minverhex)"
1562
 
-  AS_IF([AM_RUN_LOG([$1 -c "$prog"])], [$3], [$4])])
1563
 
+# _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION])
1564
 
+# --------------------------------------------------------
1565
 
+m4_define([_LT_TAGDECL], [_LT_DECL([$1], [$2], [$3], [$4], [yes])])
1566
 
+
1567
 
+
1568
 
+# lt_decl_tag_varnames([SEPARATOR], [VARNAME1...])
1569
 
+# ------------------------------------------------
1570
 
+m4_define([lt_decl_tag_varnames],
1571
 
+[_lt_decl_filter([tagged?], [yes], $@)])
1572
 
+
1573
 
+
1574
 
+# _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..])
1575
 
+# ---------------------------------------------------------
1576
 
+m4_define([_lt_decl_filter],
1577
 
+[m4_case([$#],
1578
 
+  [0], [m4_fatal([$0: too few arguments: $#])],
1579
 
+  [1], [m4_fatal([$0: too few arguments: $#: $1])],
1580
 
+  [2], [lt_dict_filter([lt_decl_dict], [$1], [$2], [], lt_decl_varnames)],
1581
 
+  [3], [lt_dict_filter([lt_decl_dict], [$1], [$2], [$3], lt_decl_varnames)],
1582
 
+  [lt_dict_filter([lt_decl_dict], $@)])[]dnl
1583
 
+])
1584
 
 
1585
 
-# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
1586
 
-#
1587
 
-# This file is free software; the Free Software Foundation
1588
 
-# gives unlimited permission to copy and/or distribute it,
1589
 
-# with or without modifications, as long as this notice is preserved.
1590
 
 
1591
 
-# AM_RUN_LOG(COMMAND)
1592
 
-# -------------------
1593
 
-# Run COMMAND, save the exit status in ac_status, and log it.
1594
 
-# (This has been adapted from Autoconf's _AC_RUN_LOG macro.)
1595
 
-AC_DEFUN([AM_RUN_LOG],
1596
 
-[{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
1597
 
-   ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
1598
 
-   ac_status=$?
1599
 
-   echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
1600
 
-   (exit $ac_status); }])
1601
 
+# lt_decl_quote_varnames([SEPARATOR], [VARNAME1...])
1602
 
+# --------------------------------------------------
1603
 
+m4_define([lt_decl_quote_varnames],
1604
 
+[_lt_decl_filter([value], [1], $@)])
1605
 
+
1606
 
+
1607
 
+# lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...])
1608
 
+# ---------------------------------------------------
1609
 
+m4_define([lt_decl_dquote_varnames],
1610
 
+[_lt_decl_filter([value], [2], $@)])
1611
 
+
1612
 
+
1613
 
+# lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...])
1614
 
+# ---------------------------------------------------
1615
 
+m4_define([lt_decl_varnames_tagged],
1616
 
+[m4_assert([$# <= 2])dnl
1617
 
+_$0(m4_quote(m4_default([$1], [[, ]])),
1618
 
+    m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]),
1619
 
+    m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))])
1620
 
+m4_define([_lt_decl_varnames_tagged],
1621
 
+[m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])])
1622
 
+
1623
 
+
1624
 
+# lt_decl_all_varnames([SEPARATOR], [VARNAME1...])
1625
 
+# ------------------------------------------------
1626
 
+m4_define([lt_decl_all_varnames],
1627
 
+[_$0(m4_quote(m4_default([$1], [[, ]])),
1628
 
+     m4_if([$2], [],
1629
 
+          m4_quote(lt_decl_varnames),
1630
 
+       m4_quote(m4_shift($@))))[]dnl
1631
 
+])
1632
 
+m4_define([_lt_decl_all_varnames],
1633
 
+[lt_join($@, lt_decl_varnames_tagged([$1],
1634
 
+                       lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl
1635
 
+])
1636
 
 
1637
 
-# Check to make sure that the build environment is sane.    -*- Autoconf -*-
1638
 
 
1639
 
-# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
1640
 
-# Free Software Foundation, Inc.
1641
 
-#
1642
 
-# This file is free software; the Free Software Foundation
1643
 
-# gives unlimited permission to copy and/or distribute it,
1644
 
-# with or without modifications, as long as this notice is preserved.
1645
 
+# _LT_CONFIG_STATUS_DECLARE([VARNAME])
1646
 
+# ------------------------------------
1647
 
+# Quote a variable value, and forward it to `config.status' so that its
1648
 
+# declaration there will have the same value as in `configure'.  VARNAME
1649
 
+# must have a single quote delimited value for this to work.
1650
 
+m4_define([_LT_CONFIG_STATUS_DECLARE],
1651
 
+[$1='`$ECHO "X$][$1" | $Xsed -e "$delay_single_quote_subst"`'])
1652
 
 
1653
 
-# serial 4
1654
 
 
1655
 
-# AM_SANITY_CHECK
1656
 
-# ---------------
1657
 
-AC_DEFUN([AM_SANITY_CHECK],
1658
 
-[AC_MSG_CHECKING([whether build environment is sane])
1659
 
-# Just in case
1660
 
-sleep 1
1661
 
-echo timestamp > conftest.file
1662
 
-# Do `set' in a subshell so we don't clobber the current shell's
1663
 
-# arguments.  Must try -L first in case configure is actually a
1664
 
-# symlink; some systems play weird games with the mod time of symlinks
1665
 
-# (eg FreeBSD returns the mod time of the symlink's containing
1666
 
-# directory).
1667
 
-if (
1668
 
-   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1669
 
-   if test "$[*]" = "X"; then
1670
 
-      # -L didn't work.
1671
 
-      set X `ls -t $srcdir/configure conftest.file`
1672
 
-   fi
1673
 
-   rm -f conftest.file
1674
 
-   if test "$[*]" != "X $srcdir/configure conftest.file" \
1675
 
-      && test "$[*]" != "X conftest.file $srcdir/configure"; then
1676
 
+# _LT_CONFIG_STATUS_DECLARATIONS
1677
 
+# ------------------------------
1678
 
+# We delimit libtool config variables with single quotes, so when
1679
 
+# we write them to config.status, we have to be sure to quote all
1680
 
+# embedded single quotes properly.  In configure, this macro expands
1681
 
+# each variable declared with _LT_DECL (and _LT_TAGDECL) into:
1682
 
+#
1683
 
+#    <var>='`$ECHO "X$<var>" | $Xsed -e "$delay_single_quote_subst"`'
1684
 
+m4_defun([_LT_CONFIG_STATUS_DECLARATIONS],
1685
 
+[m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames),
1686
 
+    [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])])
1687
 
 
1688
 
-      # If neither matched, then we have a broken ls.  This can happen
1689
 
-      # if, for instance, CONFIG_SHELL is bash and it inherits a
1690
 
-      # broken ls alias from the environment.  This has actually
1691
 
-      # happened.  Such a system could not be considered "sane".
1692
 
-      AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
1693
 
-alias in your environment])
1694
 
-   fi
1695
 
 
1696
 
-   test "$[2]" = conftest.file
1697
 
-   )
1698
 
-then
1699
 
-   # Ok.
1700
 
-   :
1701
 
-else
1702
 
-   AC_MSG_ERROR([newly created file is older than distributed files!
1703
 
-Check your system clock])
1704
 
-fi
1705
 
-AC_MSG_RESULT(yes)])
1706
 
+# _LT_LIBTOOL_TAGS
1707
 
+# ----------------
1708
 
+# Output comment and list of tags supported by the script
1709
 
+m4_defun([_LT_LIBTOOL_TAGS],
1710
 
+[_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl
1711
 
+available_tags="_LT_TAGS"dnl
1712
 
+])
1713
 
 
1714
 
-# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
1715
 
+
1716
 
+# _LT_LIBTOOL_DECLARE(VARNAME, [TAG])
1717
 
+# -----------------------------------
1718
 
+# Extract the dictionary values for VARNAME (optionally with TAG) and
1719
 
+# expand to a commented shell variable setting:
1720
 
 #
1721
 
-# This file is free software; the Free Software Foundation
1722
 
-# gives unlimited permission to copy and/or distribute it,
1723
 
-# with or without modifications, as long as this notice is preserved.
1724
 
+#    # Some comment about what VAR is for.
1725
 
+#    visible_name=$lt_internal_name
1726
 
+m4_define([_LT_LIBTOOL_DECLARE],
1727
 
+[_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1],
1728
 
+                                          [description])))[]dnl
1729
 
+m4_pushdef([_libtool_name],
1730
 
+    m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl
1731
 
+m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])),
1732
 
+    [0], [_libtool_name=[$]$1],
1733
 
+    [1], [_libtool_name=$lt_[]$1],
1734
 
+    [2], [_libtool_name=$lt_[]$1],
1735
 
+    [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl
1736
 
+m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl
1737
 
+])
1738
 
 
1739
 
-# AM_PROG_INSTALL_STRIP
1740
 
-# ---------------------
1741
 
-# One issue with vendor `install' (even GNU) is that you can't
1742
 
-# specify the program used to strip binaries.  This is especially
1743
 
-# annoying in cross-compiling environments, where the build's strip
1744
 
-# is unlikely to handle the host's binaries.
1745
 
-# Fortunately install-sh will honor a STRIPPROG variable, so we
1746
 
-# always use install-sh in `make install-strip', and initialize
1747
 
-# STRIPPROG with the value of the STRIP variable (set by the user).
1748
 
-AC_DEFUN([AM_PROG_INSTALL_STRIP],
1749
 
-[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
1750
 
-# Installed binaries are usually stripped using `strip' when the user
1751
 
-# run `make install-strip'.  However `strip' might not be the right
1752
 
-# tool to use in cross-compilation environments, therefore Automake
1753
 
-# will honor the `STRIP' environment variable to overrule this program.
1754
 
-dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
1755
 
-if test "$cross_compiling" != no; then
1756
 
-  AC_CHECK_TOOL([STRIP], [strip], :)
1757
 
-fi
1758
 
-INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1759
 
-AC_SUBST([INSTALL_STRIP_PROGRAM])])
1760
 
 
1761
 
-# Copyright (C) 2006  Free Software Foundation, Inc.
1762
 
-#
1763
 
-# This file is free software; the Free Software Foundation
1764
 
-# gives unlimited permission to copy and/or distribute it,
1765
 
-# with or without modifications, as long as this notice is preserved.
1766
 
+# _LT_LIBTOOL_CONFIG_VARS
1767
 
+# -----------------------
1768
 
+# Produce commented declarations of non-tagged libtool config variables
1769
 
+# suitable for insertion in the LIBTOOL CONFIG section of the `libtool'
1770
 
+# script.  Tagged libtool config variables (even for the LIBTOOL CONFIG
1771
 
+# section) are produced by _LT_LIBTOOL_TAG_VARS.
1772
 
+m4_defun([_LT_LIBTOOL_CONFIG_VARS],
1773
 
+[m4_foreach([_lt_var],
1774
 
+    m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)),
1775
 
+    [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])])
1776
 
 
1777
 
-# _AM_SUBST_NOTMAKE(VARIABLE)
1778
 
-# ---------------------------
1779
 
-# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
1780
 
-# This macro is traced by Automake.
1781
 
-AC_DEFUN([_AM_SUBST_NOTMAKE])
1782
 
 
1783
 
-# Check how to create a tarball.                            -*- Autoconf -*-
1784
 
+# _LT_LIBTOOL_TAG_VARS(TAG)
1785
 
+# -------------------------
1786
 
+m4_define([_LT_LIBTOOL_TAG_VARS],
1787
 
+[m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames),
1788
 
+    [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])])
1789
 
 
1790
 
-# Copyright (C) 2004, 2005  Free Software Foundation, Inc.
1791
 
-#
1792
 
-# This file is free software; the Free Software Foundation
1793
 
-# gives unlimited permission to copy and/or distribute it,
1794
 
-# with or without modifications, as long as this notice is preserved.
1795
 
 
1796
 
-# serial 2
1797
 
+# _LT_TAGVAR(VARNAME, [TAGNAME])
1798
 
+# ------------------------------
1799
 
+m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])])
1800
 
 
1801
 
-# _AM_PROG_TAR(FORMAT)
1802
 
-# --------------------
1803
 
-# Check how to create a tarball in format FORMAT.
1804
 
-# FORMAT should be one of `v7', `ustar', or `pax'.
1805
 
-#
1806
 
-# Substitute a variable $(am__tar) that is a command
1807
 
-# writing to stdout a FORMAT-tarball containing the directory
1808
 
-# $tardir.
1809
 
-#     tardir=directory && $(am__tar) > result.tar
1810
 
-#
1811
 
-# Substitute a variable $(am__untar) that extract such
1812
 
-# a tarball read from stdin.
1813
 
-#     $(am__untar) < result.tar
1814
 
-AC_DEFUN([_AM_PROG_TAR],
1815
 
-[# Always define AMTAR for backward compatibility.
1816
 
-AM_MISSING_PROG([AMTAR], [tar])
1817
 
-m4_if([$1], [v7],
1818
 
-     [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
1819
 
-     [m4_case([$1], [ustar],, [pax],,
1820
 
-              [m4_fatal([Unknown tar format])])
1821
 
-AC_MSG_CHECKING([how to create a $1 tar archive])
1822
 
-# Loop over all known methods to create a tar archive until one works.
1823
 
-_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
1824
 
-_am_tools=${am_cv_prog_tar_$1-$_am_tools}
1825
 
-# Do not fold the above two line into one, because Tru64 sh and
1826
 
-# Solaris sh will not grok spaces in the rhs of `-'.
1827
 
-for _am_tool in $_am_tools
1828
 
-do
1829
 
-  case $_am_tool in
1830
 
-  gnutar)
1831
 
-    for _am_tar in tar gnutar gtar;
1832
 
-    do
1833
 
-      AM_RUN_LOG([$_am_tar --version]) && break
1834
 
-    done
1835
 
-    am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
1836
 
-    am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
1837
 
-    am__untar="$_am_tar -xf -"
1838
 
-    ;;
1839
 
-  plaintar)
1840
 
-    # Must skip GNU tar: if it does not support --format= it doesn't create
1841
 
-    # ustar tarball either.
1842
 
-    (tar --version) >/dev/null 2>&1 && continue
1843
 
-    am__tar='tar chf - "$$tardir"'
1844
 
-    am__tar_='tar chf - "$tardir"'
1845
 
-    am__untar='tar xf -'
1846
 
-    ;;
1847
 
-  pax)
1848
 
-    am__tar='pax -L -x $1 -w "$$tardir"'
1849
 
-    am__tar_='pax -L -x $1 -w "$tardir"'
1850
 
-    am__untar='pax -r'
1851
 
-    ;;
1852
 
-  cpio)
1853
 
-    am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
1854
 
-    am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
1855
 
-    am__untar='cpio -i -H $1 -d'
1856
 
-    ;;
1857
 
-  none)
1858
 
-    am__tar=false
1859
 
-    am__tar_=false
1860
 
-    am__untar=false
1861
 
+
1862
 
+# _LT_CONFIG_COMMANDS
1863
 
+# -------------------
1864
 
+# Send accumulated output to $CONFIG_STATUS.  Thanks to the lists of
1865
 
+# variables for single and double quote escaping we saved from calls
1866
 
+# to _LT_DECL, we can put quote escaped variables declarations
1867
 
+# into `config.status', and then the shell code to quote escape them in
1868
 
+# for loops in `config.status'.  Finally, any additional code accumulated
1869
 
+# from calls to _LT_CONFIG_LIBTOOL_INIT is expanded.
1870
 
+m4_defun([_LT_CONFIG_COMMANDS],
1871
 
+[AC_PROVIDE_IFELSE([LT_OUTPUT],
1872
 
+       dnl If the libtool generation code has been placed in $CONFIG_LT,
1873
 
+       dnl instead of duplicating it all over again into config.status,
1874
 
+       dnl then we will have config.status run $CONFIG_LT later, so it
1875
 
+       dnl needs to know what name is stored there:
1876
 
+        [AC_CONFIG_COMMANDS([libtool],
1877
 
+            [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])],
1878
 
+    dnl If the libtool generation code is destined for config.status,
1879
 
+    dnl expand the accumulated commands and init code now:
1880
 
+    [AC_CONFIG_COMMANDS([libtool],
1881
 
+        [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_COMMANDS_INIT])])
1882
 
+])#_LT_CONFIG_COMMANDS
1883
 
+
1884
 
+
1885
 
+# Initialize.
1886
 
+m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS_INIT],
1887
 
+[
1888
 
+
1889
 
+# The HP-UX ksh and POSIX shell print the target directory to stdout
1890
 
+# if CDPATH is set.
1891
 
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
1892
 
+
1893
 
+sed_quote_subst='$sed_quote_subst'
1894
 
+double_quote_subst='$double_quote_subst'
1895
 
+delay_variable_subst='$delay_variable_subst'
1896
 
+_LT_CONFIG_STATUS_DECLARATIONS
1897
 
+LTCC='$LTCC'
1898
 
+LTCFLAGS='$LTCFLAGS'
1899
 
+compiler='$compiler_DEFAULT'
1900
 
+
1901
 
+# Quote evaled strings.
1902
 
+for var in lt_decl_all_varnames([[ \
1903
 
+]], lt_decl_quote_varnames); do
1904
 
+    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
1905
 
+    *[[\\\\\\\`\\"\\\$]]*)
1906
 
+      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
1907
 
+      ;;
1908
 
+    *)
1909
 
+      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
1910
 
+      ;;
1911
 
+    esac
1912
 
+done
1913
 
+
1914
 
+# Double-quote double-evaled strings.
1915
 
+for var in lt_decl_all_varnames([[ \
1916
 
+]], lt_decl_dquote_varnames); do
1917
 
+    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
1918
 
+    *[[\\\\\\\`\\"\\\$]]*)
1919
 
+      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
1920
 
+      ;;
1921
 
+    *)
1922
 
+      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
1923
 
+      ;;
1924
 
+    esac
1925
 
+done
1926
 
+
1927
 
+# Fix-up fallback echo if it was mangled by the above quoting rules.
1928
 
+case \$lt_ECHO in
1929
 
+*'\\\[$]0 --fallback-echo"')dnl "
1930
 
+  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\[$]0 --fallback-echo"\[$]/\[$]0 --fallback-echo"/'\`
1931
 
+  ;;
1932
 
+esac
1933
 
+
1934
 
+_LT_OUTPUT_LIBTOOL_INIT
1935
 
+])
1936
 
+
1937
 
+
1938
 
+# LT_OUTPUT
1939
 
+# ---------
1940
 
+# This macro allows early generation of the libtool script (before
1941
 
+# AC_OUTPUT is called), incase it is used in configure for compilation
1942
 
+# tests.
1943
 
+AC_DEFUN([LT_OUTPUT],
1944
 
+[: ${CONFIG_LT=./config.lt}
1945
 
+AC_MSG_NOTICE([creating $CONFIG_LT])
1946
 
+cat >"$CONFIG_LT" <<_LTEOF
1947
 
+#! $SHELL
1948
 
+# Generated by $as_me.
1949
 
+# Run this file to recreate a libtool stub with the current configuration.
1950
 
+
1951
 
+lt_cl_silent=false
1952
 
+SHELL=\${CONFIG_SHELL-$SHELL}
1953
 
+_LTEOF
1954
 
+
1955
 
+cat >>"$CONFIG_LT" <<\_LTEOF
1956
 
+AS_SHELL_SANITIZE
1957
 
+_AS_PREPARE
1958
 
+
1959
 
+exec AS_MESSAGE_FD>&1
1960
 
+exec AS_MESSAGE_LOG_FD>>config.log
1961
 
+{
1962
 
+  echo
1963
 
+  AS_BOX([Running $as_me.])
1964
 
+} >&AS_MESSAGE_LOG_FD
1965
 
+
1966
 
+lt_cl_help="\
1967
 
+\`$as_me' creates a local libtool stub from the current configuration,
1968
 
+for use in further configure time tests before the real libtool is
1969
 
+generated.
1970
 
+
1971
 
+Usage: $[0] [[OPTIONS]]
1972
 
+
1973
 
+  -h, --help      print this help, then exit
1974
 
+  -V, --version   print version number, then exit
1975
 
+  -q, --quiet     do not print progress messages
1976
 
+  -d, --debug     don't remove temporary files
1977
 
+
1978
 
+Report bugs to <bug-libtool@gnu.org>."
1979
 
+
1980
 
+lt_cl_version="\
1981
 
+m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
1982
 
+m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
1983
 
+configured by $[0], generated by m4_PACKAGE_STRING.
1984
 
+
1985
 
+Copyright (C) 2008 Free Software Foundation, Inc.
1986
 
+This config.lt script is free software; the Free Software Foundation
1987
 
+gives unlimited permision to copy, distribute and modify it."
1988
 
+
1989
 
+while test $[#] != 0
1990
 
+do
1991
 
+  case $[1] in
1992
 
+    --version | --v* | -V )
1993
 
+      echo "$lt_cl_version"; exit 0 ;;
1994
 
+    --help | --h* | -h )
1995
 
+      echo "$lt_cl_help"; exit 0 ;;
1996
 
+    --debug | --d* | -d )
1997
 
+      debug=: ;;
1998
 
+    --quiet | --q* | --silent | --s* | -q )
1999
 
+      lt_cl_silent=: ;;
2000
 
+
2001
 
+    -*) AC_MSG_ERROR([unrecognized option: $[1]
2002
 
+Try \`$[0] --help' for more information.]) ;;
2003
 
+
2004
 
+    *) AC_MSG_ERROR([unrecognized argument: $[1]
2005
 
+Try \`$[0] --help' for more information.]) ;;
2006
 
+  esac
2007
 
+  shift
2008
 
+done
2009
 
+
2010
 
+if $lt_cl_silent; then
2011
 
+  exec AS_MESSAGE_FD>/dev/null
2012
 
+fi
2013
 
+_LTEOF
2014
 
+
2015
 
+cat >>"$CONFIG_LT" <<_LTEOF
2016
 
+_LT_OUTPUT_LIBTOOL_COMMANDS_INIT
2017
 
+_LTEOF
2018
 
+
2019
 
+cat >>"$CONFIG_LT" <<\_LTEOF
2020
 
+AC_MSG_NOTICE([creating $ofile])
2021
 
+_LT_OUTPUT_LIBTOOL_COMMANDS
2022
 
+AS_EXIT(0)
2023
 
+_LTEOF
2024
 
+chmod +x "$CONFIG_LT"
2025
 
+
2026
 
+# configure is writing to config.log, but config.lt does its own redirection,
2027
 
+# appending to config.log, which fails on DOS, as config.log is still kept
2028
 
+# open by configure.  Here we exec the FD to /dev/null, effectively closing
2029
 
+# config.log, so it can be properly (re)opened and appended to by config.lt.
2030
 
+if test "$no_create" != yes; then
2031
 
+  lt_cl_success=:
2032
 
+  test "$silent" = yes &&
2033
 
+    lt_config_lt_args="$lt_config_lt_args --quiet"
2034
 
+  exec AS_MESSAGE_LOG_FD>/dev/null
2035
 
+  $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
2036
 
+  exec AS_MESSAGE_LOG_FD>>config.log
2037
 
+  $lt_cl_success || AS_EXIT(1)
2038
 
+fi
2039
 
+])# LT_OUTPUT
2040
 
+
2041
 
+
2042
 
+# _LT_CONFIG(TAG)
2043
 
+# ---------------
2044
 
+# If TAG is the built-in tag, create an initial libtool script with a
2045
 
+# default configuration from the untagged config vars.  Otherwise add code
2046
 
+# to config.status for appending the configuration named by TAG from the
2047
 
+# matching tagged config vars.
2048
 
+m4_defun([_LT_CONFIG],
2049
 
+[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
2050
 
+_LT_CONFIG_SAVE_COMMANDS([
2051
 
+  m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl
2052
 
+  m4_if(_LT_TAG, [C], [
2053
 
+    # See if we are running on zsh, and set the options which allow our
2054
 
+    # commands through without removal of \ escapes.
2055
 
+    if test -n "${ZSH_VERSION+set}" ; then
2056
 
+      setopt NO_GLOB_SUBST
2057
 
+    fi
2058
 
+
2059
 
+    cfgfile="${ofile}T"
2060
 
+    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
2061
 
+    $RM "$cfgfile"
2062
 
+
2063
 
+    cat <<_LT_EOF >> "$cfgfile"
2064
 
+#! $SHELL
2065
 
+
2066
 
+# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
2067
 
+# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
2068
 
+# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
2069
 
+# NOTE: Changes made to this file will be lost: look at ltmain.sh.
2070
 
+#
2071
 
+_LT_COPYING
2072
 
+_LT_LIBTOOL_TAGS
2073
 
+
2074
 
+# ### BEGIN LIBTOOL CONFIG
2075
 
+_LT_LIBTOOL_CONFIG_VARS
2076
 
+_LT_LIBTOOL_TAG_VARS
2077
 
+# ### END LIBTOOL CONFIG
2078
 
+
2079
 
+_LT_EOF
2080
 
+
2081
 
+  case $host_os in
2082
 
+  aix3*)
2083
 
+    cat <<\_LT_EOF >> "$cfgfile"
2084
 
+# AIX sometimes has problems with the GCC collect2 program.  For some
2085
 
+# reason, if we set the COLLECT_NAMES environment variable, the problems
2086
 
+# vanish in a puff of smoke.
2087
 
+if test "X${COLLECT_NAMES+set}" != Xset; then
2088
 
+  COLLECT_NAMES=
2089
 
+  export COLLECT_NAMES
2090
 
+fi
2091
 
+_LT_EOF
2092
 
     ;;
2093
 
   esac
2094
 
 
2095
 
-  # If the value was cached, stop now.  We just wanted to have am__tar
2096
 
-  # and am__untar set.
2097
 
-  test -n "${am_cv_prog_tar_$1}" && break
2098
 
+  _LT_PROG_LTMAIN
2099
 
 
2100
 
-  # tar/untar a dummy directory, and stop if the command works
2101
 
-  rm -rf conftest.dir
2102
 
-  mkdir conftest.dir
2103
 
-  echo GrepMe > conftest.dir/file
2104
 
-  AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
2105
 
-  rm -rf conftest.dir
2106
 
-  if test -s conftest.tar; then
2107
 
-    AM_RUN_LOG([$am__untar <conftest.tar])
2108
 
-    grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2109
 
-  fi
2110
 
-done
2111
 
-rm -rf conftest.dir
2112
 
+  # We use sed instead of cat because bash on DJGPP gets confused if
2113
 
+  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
2114
 
+  # text mode, it properly converts lines to CR/LF.  This bash problem
2115
 
+  # is reportedly fixed, but why not run on old versions too?
2116
 
+  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
2117
 
+    || (rm -f "$cfgfile"; exit 1)
2118
 
 
2119
 
-AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
2120
 
-AC_MSG_RESULT([$am_cv_prog_tar_$1])])
2121
 
-AC_SUBST([am__tar])
2122
 
-AC_SUBST([am__untar])
2123
 
-]) # _AM_PROG_TAR
2124
 
+  _LT_PROG_XSI_SHELLFNS
2125
 
 
2126
 
-# Configure paths for GLIB
2127
 
-# Owen Taylor     1997-2001
2128
 
+  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
2129
 
+    || (rm -f "$cfgfile"; exit 1)
2130
 
 
2131
 
-dnl AM_PATH_GLIB_2_0([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
2132
 
-dnl Test for GLIB, and define GLIB_CFLAGS and GLIB_LIBS, if gmodule, gobject,
2133
 
-dnl gthread, or gio is specified in MODULES, pass to pkg-config
2134
 
-dnl
2135
 
-AC_DEFUN([AM_PATH_GLIB_2_0],
2136
 
-[dnl 
2137
 
-dnl Get the cflags and libraries from pkg-config
2138
 
-dnl
2139
 
-AC_ARG_ENABLE(glibtest, [  --disable-glibtest      do not try to compile and run a test GLIB program],
2140
 
-                   , enable_glibtest=yes)
2141
 
+  mv -f "$cfgfile" "$ofile" ||
2142
 
+    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
2143
 
+  chmod +x "$ofile"
2144
 
+],
2145
 
+[cat <<_LT_EOF >> "$ofile"
2146
 
 
2147
 
-  pkg_config_args=glib-2.0
2148
 
-  for module in . $4
2149
 
-  do
2150
 
-      case "$module" in
2151
 
-         gmodule) 
2152
 
-             pkg_config_args="$pkg_config_args gmodule-2.0"
2153
 
-         ;;
2154
 
-         gmodule-no-export) 
2155
 
-             pkg_config_args="$pkg_config_args gmodule-no-export-2.0"
2156
 
-         ;;
2157
 
-         gobject) 
2158
 
-             pkg_config_args="$pkg_config_args gobject-2.0"
2159
 
-         ;;
2160
 
-         gthread) 
2161
 
-             pkg_config_args="$pkg_config_args gthread-2.0"
2162
 
-         ;;
2163
 
-         gio*) 
2164
 
-             pkg_config_args="$pkg_config_args $module-2.0"
2165
 
-         ;;
2166
 
-      esac
2167
 
-  done
2168
 
+dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded
2169
 
+dnl in a comment (ie after a #).
2170
 
+# ### BEGIN LIBTOOL TAG CONFIG: $1
2171
 
+_LT_LIBTOOL_TAG_VARS(_LT_TAG)
2172
 
+# ### END LIBTOOL TAG CONFIG: $1
2173
 
+_LT_EOF
2174
 
+])dnl /m4_if
2175
 
+],
2176
 
+[m4_if([$1], [], [
2177
 
+    PACKAGE='$PACKAGE'
2178
 
+    VERSION='$VERSION'
2179
 
+    TIMESTAMP='$TIMESTAMP'
2180
 
+    RM='$RM'
2181
 
+    ofile='$ofile'], [])
2182
 
+])dnl /_LT_CONFIG_SAVE_COMMANDS
2183
 
+])# _LT_CONFIG
2184
 
 
2185
 
-  PKG_PROG_PKG_CONFIG([0.16])
2186
 
 
2187
 
-  no_glib=""
2188
 
+# LT_SUPPORTED_TAG(TAG)
2189
 
+# ---------------------
2190
 
+# Trace this macro to discover what tags are supported by the libtool
2191
 
+# --tag option, using:
2192
 
+#    autoconf --trace 'LT_SUPPORTED_TAG:$1'
2193
 
+AC_DEFUN([LT_SUPPORTED_TAG], [])
2194
 
 
2195
 
-  if test "x$PKG_CONFIG" = x ; then
2196
 
-    no_glib=yes
2197
 
-    PKG_CONFIG=no
2198
 
-  fi
2199
 
 
2200
 
-  min_glib_version=ifelse([$1], ,2.0.0,$1)
2201
 
-  AC_MSG_CHECKING(for GLIB - version >= $min_glib_version)
2202
 
+# C support is built-in for now
2203
 
+m4_define([_LT_LANG_C_enabled], [])
2204
 
+m4_define([_LT_TAGS], [])
2205
 
 
2206
 
-  if test x$PKG_CONFIG != xno ; then
2207
 
-    ## don't try to run the test against uninstalled libtool libs
2208
 
-    if $PKG_CONFIG --uninstalled $pkg_config_args; then
2209
 
-         echo "Will use uninstalled version of GLib found in PKG_CONFIG_PATH"
2210
 
-         enable_glibtest=no
2211
 
-    fi
2212
 
 
2213
 
-    if $PKG_CONFIG --atleast-version $min_glib_version $pkg_config_args; then
2214
 
-         :
2215
 
-    else
2216
 
-         no_glib=yes
2217
 
-    fi
2218
 
-  fi
2219
 
+# LT_LANG(LANG)
2220
 
+# -------------
2221
 
+# Enable libtool support for the given language if not already enabled.
2222
 
+AC_DEFUN([LT_LANG],
2223
 
+[AC_BEFORE([$0], [LT_OUTPUT])dnl
2224
 
+m4_case([$1],
2225
 
+  [C],                 [_LT_LANG(C)],
2226
 
+  [C++],               [_LT_LANG(CXX)],
2227
 
+  [Java],              [_LT_LANG(GCJ)],
2228
 
+  [Fortran 77],                [_LT_LANG(F77)],
2229
 
+  [Fortran],           [_LT_LANG(FC)],
2230
 
+  [Windows Resource],  [_LT_LANG(RC)],
2231
 
+  [m4_ifdef([_LT_LANG_]$1[_CONFIG],
2232
 
+    [_LT_LANG($1)],
2233
 
+    [m4_fatal([$0: unsupported language: "$1"])])])dnl
2234
 
+])# LT_LANG
2235
 
 
2236
 
-  if test x"$no_glib" = x ; then
2237
 
-    GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
2238
 
-    GOBJECT_QUERY=`$PKG_CONFIG --variable=gobject_query glib-2.0`
2239
 
-    GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
2240
 
 
2241
 
-    GLIB_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args`
2242
 
-    GLIB_LIBS=`$PKG_CONFIG --libs $pkg_config_args`
2243
 
-    glib_config_major_version=`$PKG_CONFIG --modversion glib-2.0 | \
2244
 
-           sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
2245
 
-    glib_config_minor_version=`$PKG_CONFIG --modversion glib-2.0 | \
2246
 
-           sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
2247
 
-    glib_config_micro_version=`$PKG_CONFIG --modversion glib-2.0 | \
2248
 
-           sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
2249
 
-    if test "x$enable_glibtest" = "xyes" ; then
2250
 
-      ac_save_CFLAGS="$CFLAGS"
2251
 
-      ac_save_LIBS="$LIBS"
2252
 
-      CFLAGS="$CFLAGS $GLIB_CFLAGS"
2253
 
-      LIBS="$GLIB_LIBS $LIBS"
2254
 
-dnl
2255
 
-dnl Now check if the installed GLIB is sufficiently new. (Also sanity
2256
 
-dnl checks the results of pkg-config to some extent)
2257
 
-dnl
2258
 
-      rm -f conf.glibtest
2259
 
-      AC_TRY_RUN([
2260
 
-#include <glib.h>
2261
 
-#include <stdio.h>
2262
 
-#include <stdlib.h>
2263
 
+# _LT_LANG(LANGNAME)
2264
 
+# ------------------
2265
 
+m4_defun([_LT_LANG],
2266
 
+[m4_ifdef([_LT_LANG_]$1[_enabled], [],
2267
 
+  [LT_SUPPORTED_TAG([$1])dnl
2268
 
+  m4_append([_LT_TAGS], [$1 ])dnl
2269
 
+  m4_define([_LT_LANG_]$1[_enabled], [])dnl
2270
 
+  _LT_LANG_$1_CONFIG($1)])dnl
2271
 
+])# _LT_LANG
2272
 
 
2273
 
-int 
2274
 
-main ()
2275
 
-{
2276
 
-  int major, minor, micro;
2277
 
-  char *tmp_version;
2278
 
-  int ignored;
2279
 
 
2280
 
-  ignored = system ("touch conf.glibtest");
2281
 
+# _LT_LANG_DEFAULT_CONFIG
2282
 
+# -----------------------
2283
 
+m4_defun([_LT_LANG_DEFAULT_CONFIG],
2284
 
+[AC_PROVIDE_IFELSE([AC_PROG_CXX],
2285
 
+  [LT_LANG(CXX)],
2286
 
+  [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])])
2287
 
+
2288
 
+AC_PROVIDE_IFELSE([AC_PROG_F77],
2289
 
+  [LT_LANG(F77)],
2290
 
+  [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])])
2291
 
+
2292
 
+AC_PROVIDE_IFELSE([AC_PROG_FC],
2293
 
+  [LT_LANG(FC)],
2294
 
+  [m4_define([AC_PROG_FC], defn([AC_PROG_FC])[LT_LANG(FC)])])
2295
 
+
2296
 
+dnl The call to [A][M_PROG_GCJ] is quoted like that to stop aclocal
2297
 
+dnl pulling things in needlessly.
2298
 
+AC_PROVIDE_IFELSE([AC_PROG_GCJ],
2299
 
+  [LT_LANG(GCJ)],
2300
 
+  [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
2301
 
+    [LT_LANG(GCJ)],
2302
 
+    [AC_PROVIDE_IFELSE([LT_PROG_GCJ],
2303
 
+      [LT_LANG(GCJ)],
2304
 
+      [m4_ifdef([AC_PROG_GCJ],
2305
 
+       [m4_define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[LT_LANG(GCJ)])])
2306
 
+       m4_ifdef([A][M_PROG_GCJ],
2307
 
+       [m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])])
2308
 
+       m4_ifdef([LT_PROG_GCJ],
2309
 
+       [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])])
2310
 
+
2311
 
+AC_PROVIDE_IFELSE([LT_PROG_RC],
2312
 
+  [LT_LANG(RC)],
2313
 
+  [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])])
2314
 
+])# _LT_LANG_DEFAULT_CONFIG
2315
 
+
2316
 
+# Obsolete macros:
2317
 
+AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)])
2318
 
+AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
2319
 
+AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
2320
 
+AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
2321
 
+dnl aclocal-1.4 backwards compatibility:
2322
 
+dnl AC_DEFUN([AC_LIBTOOL_CXX], [])
2323
 
+dnl AC_DEFUN([AC_LIBTOOL_F77], [])
2324
 
+dnl AC_DEFUN([AC_LIBTOOL_FC], [])
2325
 
+dnl AC_DEFUN([AC_LIBTOOL_GCJ], [])
2326
 
 
2327
 
-  /* HP/UX 9 (%@#!) writes to sscanf strings */
2328
 
-  tmp_version = g_strdup("$min_glib_version");
2329
 
-  if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
2330
 
-     printf("%s, bad version string\n", "$min_glib_version");
2331
 
-     exit(1);
2332
 
-   }
2333
 
 
2334
 
-  if ((glib_major_version != $glib_config_major_version) ||
2335
 
-      (glib_minor_version != $glib_config_minor_version) ||
2336
 
-      (glib_micro_version != $glib_config_micro_version))
2337
 
-    {
2338
 
-      printf("\n*** 'pkg-config --modversion glib-2.0' returned %d.%d.%d, but GLIB (%d.%d.%d)\n", 
2339
 
-             $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
2340
 
-             glib_major_version, glib_minor_version, glib_micro_version);
2341
 
-      printf ("*** was found! If pkg-config was correct, then it is best\n");
2342
 
-      printf ("*** to remove the old version of GLib. You may also be able to fix the error\n");
2343
 
-      printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
2344
 
-      printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
2345
 
-      printf("*** required on your system.\n");
2346
 
-      printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
2347
 
-      printf("*** to point to the correct configuration files\n");
2348
 
-    } 
2349
 
-  else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
2350
 
-          (glib_minor_version != GLIB_MINOR_VERSION) ||
2351
 
-           (glib_micro_version != GLIB_MICRO_VERSION))
2352
 
-    {
2353
 
-      printf("*** GLIB header files (version %d.%d.%d) do not match\n",
2354
 
-            GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
2355
 
-      printf("*** library (version %d.%d.%d)\n",
2356
 
-            glib_major_version, glib_minor_version, glib_micro_version);
2357
 
-    }
2358
 
-  else
2359
 
-    {
2360
 
-      if ((glib_major_version > major) ||
2361
 
-        ((glib_major_version == major) && (glib_minor_version > minor)) ||
2362
 
-        ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
2363
 
-      {
2364
 
-        return 0;
2365
 
-       }
2366
 
-     else
2367
 
-      {
2368
 
-        printf("\n*** An old version of GLIB (%d.%d.%d) was found.\n",
2369
 
-               glib_major_version, glib_minor_version, glib_micro_version);
2370
 
-        printf("*** You need a version of GLIB newer than %d.%d.%d. The latest version of\n",
2371
 
-              major, minor, micro);
2372
 
-        printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
2373
 
-        printf("***\n");
2374
 
-        printf("*** If you have already installed a sufficiently new version, this error\n");
2375
 
-        printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
2376
 
-        printf("*** being found. The easiest way to fix this is to remove the old version\n");
2377
 
-        printf("*** of GLIB, but you can also set the PKG_CONFIG environment to point to the\n");
2378
 
-        printf("*** correct copy of pkg-config. (In this case, you will have to\n");
2379
 
-        printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
2380
 
-        printf("*** so that the correct libraries are found at run-time))\n");
2381
 
-      }
2382
 
-    }
2383
 
-  return 1;
2384
 
-}
2385
 
-],, no_glib=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
2386
 
-       CFLAGS="$ac_save_CFLAGS"
2387
 
-       LIBS="$ac_save_LIBS"
2388
 
-     fi
2389
 
-  fi
2390
 
-  if test "x$no_glib" = x ; then
2391
 
-     AC_MSG_RESULT(yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version))
2392
 
-     ifelse([$2], , :, [$2])     
2393
 
-  else
2394
 
-     AC_MSG_RESULT(no)
2395
 
-     if test "$PKG_CONFIG" = "no" ; then
2396
 
-       echo "*** A new enough version of pkg-config was not found."
2397
 
-       echo "*** See http://www.freedesktop.org/software/pkgconfig/"
2398
 
-     else
2399
 
-       if test -f conf.glibtest ; then
2400
 
-        :
2401
 
-       else
2402
 
-          echo "*** Could not run GLIB test program, checking why..."
2403
 
-          ac_save_CFLAGS="$CFLAGS"
2404
 
-          ac_save_LIBS="$LIBS"
2405
 
-          CFLAGS="$CFLAGS $GLIB_CFLAGS"
2406
 
-          LIBS="$LIBS $GLIB_LIBS"
2407
 
-          AC_TRY_LINK([
2408
 
-#include <glib.h>
2409
 
-#include <stdio.h>
2410
 
-],      [ return ((glib_major_version) || (glib_minor_version) || (glib_micro_version)); ],
2411
 
-        [ echo "*** The test program compiled, but did not run. This usually means"
2412
 
-          echo "*** that the run-time linker is not finding GLIB or finding the wrong"
2413
 
-          echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
2414
 
-          echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
2415
 
-          echo "*** to the installed location  Also, make sure you have run ldconfig if that"
2416
 
-          echo "*** is required on your system"
2417
 
-         echo "***"
2418
 
-          echo "*** If you have an old version installed, it is best to remove it, although"
2419
 
-          echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" ],
2420
 
-        [ echo "*** The test program failed to compile or link. See the file config.log for the"
2421
 
-          echo "*** exact error that occured. This usually means GLIB is incorrectly installed."])
2422
 
-          CFLAGS="$ac_save_CFLAGS"
2423
 
-          LIBS="$ac_save_LIBS"
2424
 
-       fi
2425
 
-     fi
2426
 
-     GLIB_CFLAGS=""
2427
 
-     GLIB_LIBS=""
2428
 
-     GLIB_GENMARSHAL=""
2429
 
-     GOBJECT_QUERY=""
2430
 
-     GLIB_MKENUMS=""
2431
 
-     ifelse([$3], , :, [$3])
2432
 
-  fi
2433
 
-  AC_SUBST(GLIB_CFLAGS)
2434
 
-  AC_SUBST(GLIB_LIBS)
2435
 
-  AC_SUBST(GLIB_GENMARSHAL)
2436
 
-  AC_SUBST(GOBJECT_QUERY)
2437
 
-  AC_SUBST(GLIB_MKENUMS)
2438
 
-  rm -f conf.glibtest
2439
 
-])
2440
 
+# _LT_TAG_COMPILER
2441
 
+# ----------------
2442
 
+m4_defun([_LT_TAG_COMPILER],
2443
 
+[AC_REQUIRE([AC_PROG_CC])dnl
2444
 
 
2445
 
-# gnome-common.m4
2446
 
-# 
2447
 
+_LT_DECL([LTCC], [CC], [1], [A C compiler])dnl
2448
 
+_LT_DECL([LTCFLAGS], [CFLAGS], [1], [LTCC compiler flags])dnl
2449
 
+_LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl
2450
 
+_LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU compiler?])dnl
2451
 
 
2452
 
-dnl GNOME_COMMON_INIT
2453
 
+# If no C compiler was specified, use CC.
2454
 
+LTCC=${LTCC-"$CC"}
2455
 
 
2456
 
-AC_DEFUN([GNOME_COMMON_INIT],
2457
 
-[
2458
 
-  dnl this macro should come after AC_CONFIG_MACRO_DIR
2459
 
-  AC_BEFORE([AC_CONFIG_MACRO_DIR], [$0])
2460
 
+# If no C compiler flags were specified, use CFLAGS.
2461
 
+LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
2462
 
 
2463
 
-  dnl ensure that when the Automake generated makefile calls aclocal,
2464
 
-  dnl it honours the $ACLOCAL_FLAGS environment variable
2465
 
-  ACLOCAL_AMFLAGS="\${ACLOCAL_FLAGS}"
2466
 
-  if test -n "$ac_macro_dir"; then
2467
 
-    ACLOCAL_AMFLAGS="-I $ac_macro_dir $ACLOCAL_AMFLAGS"
2468
 
-  fi
2469
 
+# Allow CC to be a program name with arguments.
2470
 
+compiler=$CC
2471
 
+])# _LT_TAG_COMPILER
2472
 
 
2473
 
-  AC_SUBST([ACLOCAL_AMFLAGS])
2474
 
-])
2475
 
 
2476
 
-AC_DEFUN([GNOME_DEBUG_CHECK],
2477
 
-[
2478
 
-       AC_ARG_ENABLE([debug],
2479
 
-                      AC_HELP_STRING([--enable-debug],
2480
 
-                                     [turn on debugging]),,
2481
 
-                      [enable_debug=no])
2482
 
+# _LT_COMPILER_BOILERPLATE
2483
 
+# ------------------------
2484
 
+# Check for compiler boilerplate output or warnings with
2485
 
+# the simple compiler test code.
2486
 
+m4_defun([_LT_COMPILER_BOILERPLATE],
2487
 
+[m4_require([_LT_DECL_SED])dnl
2488
 
+ac_outfile=conftest.$ac_objext
2489
 
+echo "$lt_simple_compile_test_code" >conftest.$ac_ext
2490
 
+eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
2491
 
+_lt_compiler_boilerplate=`cat conftest.err`
2492
 
+$RM conftest*
2493
 
+])# _LT_COMPILER_BOILERPLATE
2494
 
 
2495
 
-       if test x$enable_debug = xyes ; then
2496
 
-           AC_DEFINE(GNOME_ENABLE_DEBUG, 1,
2497
 
-               [Enable additional debugging at the expense of performance and size])
2498
 
-       fi
2499
 
-])
2500
 
 
2501
 
-dnl GNOME_MAINTAINER_MODE_DEFINES ()
2502
 
-dnl define DISABLE_DEPRECATED
2503
 
-dnl
2504
 
-AC_DEFUN([GNOME_MAINTAINER_MODE_DEFINES],
2505
 
-[
2506
 
-       AC_REQUIRE([AM_MAINTAINER_MODE])
2507
 
+# _LT_LINKER_BOILERPLATE
2508
 
+# ----------------------
2509
 
+# Check for linker boilerplate output or warnings with
2510
 
+# the simple link test code.
2511
 
+m4_defun([_LT_LINKER_BOILERPLATE],
2512
 
+[m4_require([_LT_DECL_SED])dnl
2513
 
+ac_outfile=conftest.$ac_objext
2514
 
+echo "$lt_simple_link_test_code" >conftest.$ac_ext
2515
 
+eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
2516
 
+_lt_linker_boilerplate=`cat conftest.err`
2517
 
+$RM -r conftest*
2518
 
+])# _LT_LINKER_BOILERPLATE
2519
 
 
2520
 
-       if test $USE_MAINTAINER_MODE = yes; then
2521
 
-               DISABLE_DEPRECATED="-DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGCONF_DISABLE_DEPRECATED -DBONOBO_DISABLE_DEPRECATED -DBONOBO_UI_DISABLE_DEPRECATED -DGNOME_VFS_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -DLIBGLADE_DISABLE_DEPRECATED -DWNCK_DISABLE_DEPRECATED -DLIBSOUP_DISABLE_DEPRECATED"
2522
 
+# _LT_REQUIRED_DARWIN_CHECKS
2523
 
+# -------------------------
2524
 
+m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[
2525
 
+  case $host_os in
2526
 
+    rhapsody* | darwin*)
2527
 
+    AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:])
2528
 
+    AC_CHECK_TOOL([NMEDIT], [nmedit], [:])
2529
 
+    AC_CHECK_TOOL([LIPO], [lipo], [:])
2530
 
+    AC_CHECK_TOOL([OTOOL], [otool], [:])
2531
 
+    AC_CHECK_TOOL([OTOOL64], [otool64], [:])
2532
 
+    _LT_DECL([], [DSYMUTIL], [1],
2533
 
+      [Tool to manipulate archived DWARF debug symbol files on Mac OS X])
2534
 
+    _LT_DECL([], [NMEDIT], [1],
2535
 
+      [Tool to change global to local symbols on Mac OS X])
2536
 
+    _LT_DECL([], [LIPO], [1],
2537
 
+      [Tool to manipulate fat objects and archives on Mac OS X])
2538
 
+    _LT_DECL([], [OTOOL], [1],
2539
 
+      [ldd/readelf like tool for Mach-O binaries on Mac OS X])
2540
 
+    _LT_DECL([], [OTOOL64], [1],
2541
 
+      [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4])
2542
 
+
2543
 
+    AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
2544
 
+      [lt_cv_apple_cc_single_mod=no
2545
 
+      if test -z "${LT_MULTI_MODULE}"; then
2546
 
+       # By default we will add the -single_module flag. You can override
2547
 
+       # by either setting the environment variable LT_MULTI_MODULE
2548
 
+       # non-empty at configure time, or by adding -multi_module to the
2549
 
+       # link flags.
2550
 
+       rm -rf libconftest.dylib*
2551
 
+       echo "int foo(void){return 1;}" > conftest.c
2552
 
+       echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
2553
 
+-dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD
2554
 
+       $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
2555
 
+         -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
2556
 
+        _lt_result=$?
2557
 
+       if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
2558
 
+         lt_cv_apple_cc_single_mod=yes
2559
 
        else
2560
 
-               DISABLE_DEPRECATED=""
2561
 
+         cat conftest.err >&AS_MESSAGE_LOG_FD
2562
 
        fi
2563
 
-       AC_SUBST(DISABLE_DEPRECATED)
2564
 
-])
2565
 
-
2566
 
-# Configure paths for GTK+
2567
 
-# Owen Taylor     1997-2001
2568
 
-
2569
 
-dnl AM_PATH_GTK_2_0([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
2570
 
-dnl Test for GTK+, and define GTK_CFLAGS and GTK_LIBS, if gthread is specified in MODULES, 
2571
 
-dnl pass to pkg-config
2572
 
-dnl
2573
 
-AC_DEFUN([AM_PATH_GTK_2_0],
2574
 
-[dnl 
2575
 
-dnl Get the cflags and libraries from pkg-config
2576
 
-dnl
2577
 
-AC_ARG_ENABLE(gtktest, [  --disable-gtktest       do not try to compile and run a test GTK+ program],
2578
 
-                   , enable_gtktest=yes)
2579
 
-
2580
 
-  pkg_config_args=gtk+-2.0
2581
 
-  for module in . $4
2582
 
-  do
2583
 
-      case "$module" in
2584
 
-         gthread) 
2585
 
-             pkg_config_args="$pkg_config_args gthread-2.0"
2586
 
-         ;;
2587
 
+       rm -rf libconftest.dylib*
2588
 
+       rm -f conftest.*
2589
 
+      fi])
2590
 
+    AC_CACHE_CHECK([for -exported_symbols_list linker flag],
2591
 
+      [lt_cv_ld_exported_symbols_list],
2592
 
+      [lt_cv_ld_exported_symbols_list=no
2593
 
+      save_LDFLAGS=$LDFLAGS
2594
 
+      echo "_main" > conftest.sym
2595
 
+      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
2596
 
+      AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
2597
 
+       [lt_cv_ld_exported_symbols_list=yes],
2598
 
+       [lt_cv_ld_exported_symbols_list=no])
2599
 
+       LDFLAGS="$save_LDFLAGS"
2600
 
+    ])
2601
 
+    case $host_os in
2602
 
+    rhapsody* | darwin1.[[012]])
2603
 
+      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
2604
 
+    darwin1.*)
2605
 
+      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
2606
 
+    darwin*) # darwin 5.x on
2607
 
+      # if running on 10.5 or later, the deployment target defaults
2608
 
+      # to the OS version, if on x86, and 10.4, the deployment
2609
 
+      # target defaults to 10.4. Don't you love it?
2610
 
+      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
2611
 
+       10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
2612
 
+         _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
2613
 
+       10.[[012]]*)
2614
 
+         _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
2615
 
+       10.*)
2616
 
+         _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
2617
 
       esac
2618
 
-  done
2619
 
-
2620
 
-  no_gtk=""
2621
 
+    ;;
2622
 
+  esac
2623
 
+    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
2624
 
+      _lt_dar_single_mod='$single_module'
2625
 
+    fi
2626
 
+    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
2627
 
+      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
2628
 
+    else
2629
 
+      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
2630
 
+    fi
2631
 
+    if test "$DSYMUTIL" != ":"; then
2632
 
+      _lt_dsymutil='~$DSYMUTIL $lib || :'
2633
 
+    else
2634
 
+      _lt_dsymutil=
2635
 
+    fi
2636
 
+    ;;
2637
 
+  esac
2638
 
+])
2639
 
 
2640
 
-  AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
2641
 
 
2642
 
-  if test x$PKG_CONFIG != xno ; then
2643
 
-    if pkg-config --atleast-pkgconfig-version 0.7 ; then
2644
 
-      :
2645
 
-    else
2646
 
-      echo "*** pkg-config too old; version 0.7 or better required."
2647
 
-      no_gtk=yes
2648
 
-      PKG_CONFIG=no
2649
 
+# _LT_DARWIN_LINKER_FEATURES
2650
 
+# --------------------------
2651
 
+# Checks for linker and compiler features on darwin
2652
 
+m4_defun([_LT_DARWIN_LINKER_FEATURES],
2653
 
+[
2654
 
+  m4_require([_LT_REQUIRED_DARWIN_CHECKS])
2655
 
+  _LT_TAGVAR(archive_cmds_need_lc, $1)=no
2656
 
+  _LT_TAGVAR(hardcode_direct, $1)=no
2657
 
+  _LT_TAGVAR(hardcode_automatic, $1)=yes
2658
 
+  _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
2659
 
+  _LT_TAGVAR(whole_archive_flag_spec, $1)=''
2660
 
+  _LT_TAGVAR(link_all_deplibs, $1)=yes
2661
 
+  _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
2662
 
+  case $cc_basename in
2663
 
+     ifort*) _lt_dar_can_shared=yes ;;
2664
 
+     *) _lt_dar_can_shared=$GCC ;;
2665
 
+  esac
2666
 
+  if test "$_lt_dar_can_shared" = "yes"; then
2667
 
+    output_verbose_link_cmd=echo
2668
 
+    _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}"
2669
 
+    _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
2670
 
+    _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}"
2671
 
+    _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}"
2672
 
+    m4_if([$1], [CXX],
2673
 
+[   if test "$lt_cv_apple_cc_single_mod" != "yes"; then
2674
 
+      _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}"
2675
 
+      _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}"
2676
 
     fi
2677
 
+],[])
2678
 
   else
2679
 
-    no_gtk=yes
2680
 
+  _LT_TAGVAR(ld_shlibs, $1)=no
2681
 
   fi
2682
 
+])
2683
 
 
2684
 
-  min_gtk_version=ifelse([$1], ,2.0.0,$1)
2685
 
-  AC_MSG_CHECKING(for GTK+ - version >= $min_gtk_version)
2686
 
+# _LT_SYS_MODULE_PATH_AIX
2687
 
+# -----------------------
2688
 
+# Links a minimal program and checks the executable
2689
 
+# for the system default hardcoded library path. In most cases,
2690
 
+# this is /usr/lib:/lib, but when the MPI compilers are used
2691
 
+# the location of the communication and MPI libs are included too.
2692
 
+# If we don't find anything, use the default library path according
2693
 
+# to the aix ld manual.
2694
 
+m4_defun([_LT_SYS_MODULE_PATH_AIX],
2695
 
+[m4_require([_LT_DECL_SED])dnl
2696
 
+AC_LINK_IFELSE(AC_LANG_PROGRAM,[
2697
 
+lt_aix_libpath_sed='
2698
 
+    /Import File Strings/,/^$/ {
2699
 
+       /^0/ {
2700
 
+           s/^0  *\(.*\)$/\1/
2701
 
+           p
2702
 
+       }
2703
 
+    }'
2704
 
+aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
2705
 
+# Check for a 64-bit object if we didn't find anything.
2706
 
+if test -z "$aix_libpath"; then
2707
 
+  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
2708
 
+fi],[])
2709
 
+if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
2710
 
+])# _LT_SYS_MODULE_PATH_AIX
2711
 
 
2712
 
-  if test x$PKG_CONFIG != xno ; then
2713
 
-    ## don't try to run the test against uninstalled libtool libs
2714
 
-    if $PKG_CONFIG --uninstalled $pkg_config_args; then
2715
 
-         echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
2716
 
-         enable_gtktest=no
2717
 
-    fi
2718
 
 
2719
 
-    if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
2720
 
-         :
2721
 
-    else
2722
 
-         no_gtk=yes
2723
 
-    fi
2724
 
-  fi
2725
 
+# _LT_SHELL_INIT(ARG)
2726
 
+# -------------------
2727
 
+m4_define([_LT_SHELL_INIT],
2728
 
+[ifdef([AC_DIVERSION_NOTICE],
2729
 
+            [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
2730
 
+        [AC_DIVERT_PUSH(NOTICE)])
2731
 
+$1
2732
 
+AC_DIVERT_POP
2733
 
+])# _LT_SHELL_INIT
2734
 
 
2735
 
-  if test x"$no_gtk" = x ; then
2736
 
-    GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
2737
 
-    GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
2738
 
-    gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
2739
 
-           sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
2740
 
-    gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
2741
 
-           sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
2742
 
-    gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
2743
 
-           sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
2744
 
-    if test "x$enable_gtktest" = "xyes" ; then
2745
 
-      ac_save_CFLAGS="$CFLAGS"
2746
 
-      ac_save_LIBS="$LIBS"
2747
 
-      CFLAGS="$CFLAGS $GTK_CFLAGS"
2748
 
-      LIBS="$GTK_LIBS $LIBS"
2749
 
-dnl
2750
 
-dnl Now check if the installed GTK+ is sufficiently new. (Also sanity
2751
 
-dnl checks the results of pkg-config to some extent)
2752
 
-dnl
2753
 
-      rm -f conf.gtktest
2754
 
-      AC_TRY_RUN([
2755
 
-#include <gtk/gtk.h>
2756
 
-#include <stdio.h>
2757
 
-#include <stdlib.h>
2758
 
-
2759
 
-int 
2760
 
-main ()
2761
 
-{
2762
 
-  int major, minor, micro;
2763
 
-  char *tmp_version;
2764
 
-
2765
 
-  system ("touch conf.gtktest");
2766
 
-
2767
 
-  /* HP/UX 9 (%@#!) writes to sscanf strings */
2768
 
-  tmp_version = g_strdup("$min_gtk_version");
2769
 
-  if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
2770
 
-     printf("%s, bad version string\n", "$min_gtk_version");
2771
 
-     exit(1);
2772
 
-   }
2773
 
-
2774
 
-  if ((gtk_major_version != $gtk_config_major_version) ||
2775
 
-      (gtk_minor_version != $gtk_config_minor_version) ||
2776
 
-      (gtk_micro_version != $gtk_config_micro_version))
2777
 
-    {
2778
 
-      printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n", 
2779
 
-             $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
2780
 
-             gtk_major_version, gtk_minor_version, gtk_micro_version);
2781
 
-      printf ("*** was found! If pkg-config was correct, then it is best\n");
2782
 
-      printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
2783
 
-      printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
2784
 
-      printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
2785
 
-      printf("*** required on your system.\n");
2786
 
-      printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
2787
 
-      printf("*** to point to the correct configuration files\n");
2788
 
-    } 
2789
 
-  else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
2790
 
-          (gtk_minor_version != GTK_MINOR_VERSION) ||
2791
 
-           (gtk_micro_version != GTK_MICRO_VERSION))
2792
 
-    {
2793
 
-      printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
2794
 
-            GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
2795
 
-      printf("*** library (version %d.%d.%d)\n",
2796
 
-            gtk_major_version, gtk_minor_version, gtk_micro_version);
2797
 
-    }
2798
 
-  else
2799
 
-    {
2800
 
-      if ((gtk_major_version > major) ||
2801
 
-        ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
2802
 
-        ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
2803
 
-      {
2804
 
-        return 0;
2805
 
-       }
2806
 
-     else
2807
 
-      {
2808
 
-        printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
2809
 
-               gtk_major_version, gtk_minor_version, gtk_micro_version);
2810
 
-        printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
2811
 
-              major, minor, micro);
2812
 
-        printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
2813
 
-        printf("***\n");
2814
 
-        printf("*** If you have already installed a sufficiently new version, this error\n");
2815
 
-        printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
2816
 
-        printf("*** being found. The easiest way to fix this is to remove the old version\n");
2817
 
-        printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
2818
 
-        printf("*** correct copy of pkg-config. (In this case, you will have to\n");
2819
 
-        printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
2820
 
-        printf("*** so that the correct libraries are found at run-time))\n");
2821
 
-      }
2822
 
-    }
2823
 
-  return 1;
2824
 
-}
2825
 
-],, no_gtk=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
2826
 
-       CFLAGS="$ac_save_CFLAGS"
2827
 
-       LIBS="$ac_save_LIBS"
2828
 
-     fi
2829
 
-  fi
2830
 
-  if test "x$no_gtk" = x ; then
2831
 
-     AC_MSG_RESULT(yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version))
2832
 
-     ifelse([$2], , :, [$2])     
2833
 
-  else
2834
 
-     AC_MSG_RESULT(no)
2835
 
-     if test "$PKG_CONFIG" = "no" ; then
2836
 
-       echo "*** A new enough version of pkg-config was not found."
2837
 
-       echo "*** See http://pkgconfig.sourceforge.net"
2838
 
-     else
2839
 
-       if test -f conf.gtktest ; then
2840
 
-        :
2841
 
-       else
2842
 
-          echo "*** Could not run GTK+ test program, checking why..."
2843
 
-         ac_save_CFLAGS="$CFLAGS"
2844
 
-         ac_save_LIBS="$LIBS"
2845
 
-          CFLAGS="$CFLAGS $GTK_CFLAGS"
2846
 
-          LIBS="$LIBS $GTK_LIBS"
2847
 
-          AC_TRY_LINK([
2848
 
-#include <gtk/gtk.h>
2849
 
-#include <stdio.h>
2850
 
-],      [ return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); ],
2851
 
-        [ echo "*** The test program compiled, but did not run. This usually means"
2852
 
-          echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
2853
 
-          echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
2854
 
-          echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
2855
 
-          echo "*** to the installed location  Also, make sure you have run ldconfig if that"
2856
 
-          echo "*** is required on your system"
2857
 
-         echo "***"
2858
 
-          echo "*** If you have an old version installed, it is best to remove it, although"
2859
 
-          echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" ],
2860
 
-        [ echo "*** The test program failed to compile or link. See the file config.log for the"
2861
 
-          echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."])
2862
 
-          CFLAGS="$ac_save_CFLAGS"
2863
 
-          LIBS="$ac_save_LIBS"
2864
 
-       fi
2865
 
-     fi
2866
 
-     GTK_CFLAGS=""
2867
 
-     GTK_LIBS=""
2868
 
-     ifelse([$3], , :, [$3])
2869
 
-  fi
2870
 
-  AC_SUBST(GTK_CFLAGS)
2871
 
-  AC_SUBST(GTK_LIBS)
2872
 
-  rm -f conf.gtktest
2873
 
-])
2874
 
 
2875
 
-# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
2876
 
+# _LT_PROG_ECHO_BACKSLASH
2877
 
+# -----------------------
2878
 
+# Add some code to the start of the generated configure script which
2879
 
+# will find an echo command which doesn't interpret backslashes.
2880
 
+m4_defun([_LT_PROG_ECHO_BACKSLASH],
2881
 
+[_LT_SHELL_INIT([
2882
 
+# Check that we are running under the correct shell.
2883
 
+SHELL=${CONFIG_SHELL-/bin/sh}
2884
 
 
2885
 
-# serial 52 AC_PROG_LIBTOOL
2886
 
+case X$lt_ECHO in
2887
 
+X*--fallback-echo)
2888
 
+  # Remove one level of quotation (which was required for Make).
2889
 
+  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
2890
 
+  ;;
2891
 
+esac
2892
 
 
2893
 
+ECHO=${lt_ECHO-echo}
2894
 
+if test "X[$]1" = X--no-reexec; then
2895
 
+  # Discard the --no-reexec flag, and continue.
2896
 
+  shift
2897
 
+elif test "X[$]1" = X--fallback-echo; then
2898
 
+  # Avoid inline document here, it may be left over
2899
 
+  :
2900
 
+elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
2901
 
+  # Yippee, $ECHO works!
2902
 
+  :
2903
 
+else
2904
 
+  # Restart under the correct shell.
2905
 
+  exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
2906
 
+fi
2907
 
 
2908
 
-# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
2909
 
-# -----------------------------------------------------------
2910
 
-# If this macro is not defined by Autoconf, define it here.
2911
 
-m4_ifdef([AC_PROVIDE_IFELSE],
2912
 
-         [],
2913
 
-         [m4_define([AC_PROVIDE_IFELSE],
2914
 
-                [m4_ifdef([AC_PROVIDE_$1],
2915
 
-                          [$2], [$3])])])
2916
 
+if test "X[$]1" = X--fallback-echo; then
2917
 
+  # used as fallback echo
2918
 
+  shift
2919
 
+  cat <<_LT_EOF
2920
 
+[$]*
2921
 
+_LT_EOF
2922
 
+  exit 0
2923
 
+fi
2924
 
 
2925
 
+# The HP-UX ksh and POSIX shell print the target directory to stdout
2926
 
+# if CDPATH is set.
2927
 
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2928
 
 
2929
 
-# AC_PROG_LIBTOOL
2930
 
-# ---------------
2931
 
-AC_DEFUN([AC_PROG_LIBTOOL],
2932
 
-[AC_REQUIRE([_AC_PROG_LIBTOOL])dnl
2933
 
-dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX
2934
 
-dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX.
2935
 
-  AC_PROVIDE_IFELSE([AC_PROG_CXX],
2936
 
-    [AC_LIBTOOL_CXX],
2937
 
-    [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX
2938
 
-  ])])
2939
 
-dnl And a similar setup for Fortran 77 support
2940
 
-  AC_PROVIDE_IFELSE([AC_PROG_F77],
2941
 
-    [AC_LIBTOOL_F77],
2942
 
-    [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77
2943
 
-])])
2944
 
-
2945
 
-dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly.
2946
 
-dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run
2947
 
-dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both.
2948
 
-  AC_PROVIDE_IFELSE([AC_PROG_GCJ],
2949
 
-    [AC_LIBTOOL_GCJ],
2950
 
-    [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
2951
 
-      [AC_LIBTOOL_GCJ],
2952
 
-      [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],
2953
 
-       [AC_LIBTOOL_GCJ],
2954
 
-      [ifdef([AC_PROG_GCJ],
2955
 
-            [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])
2956
 
-       ifdef([A][M_PROG_GCJ],
2957
 
-            [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])])
2958
 
-       ifdef([LT_AC_PROG_GCJ],
2959
 
-            [define([LT_AC_PROG_GCJ],
2960
 
-               defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])])
2961
 
-])])# AC_PROG_LIBTOOL
2962
 
+if test -z "$lt_ECHO"; then
2963
 
+  if test "X${echo_test_string+set}" != Xset; then
2964
 
+    # find a string as large as possible, as long as the shell can cope with it
2965
 
+    for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
2966
 
+      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
2967
 
+      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
2968
 
+        { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
2969
 
+      then
2970
 
+        break
2971
 
+      fi
2972
 
+    done
2973
 
+  fi
2974
 
 
2975
 
+  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
2976
 
+     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
2977
 
+     test "X$echo_testing_string" = "X$echo_test_string"; then
2978
 
+    :
2979
 
+  else
2980
 
+    # The Solaris, AIX, and Digital Unix default echo programs unquote
2981
 
+    # backslashes.  This makes it impossible to quote backslashes using
2982
 
+    #   echo "$something" | sed 's/\\/\\\\/g'
2983
 
+    #
2984
 
+    # So, first we look for a working echo in the user's PATH.
2985
 
 
2986
 
-# _AC_PROG_LIBTOOL
2987
 
-# ----------------
2988
 
-AC_DEFUN([_AC_PROG_LIBTOOL],
2989
 
-[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
2990
 
-AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl
2991
 
-AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl
2992
 
-AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl
2993
 
+    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
2994
 
+    for dir in $PATH /usr/ucb; do
2995
 
+      IFS="$lt_save_ifs"
2996
 
+      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
2997
 
+         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
2998
 
+         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
2999
 
+         test "X$echo_testing_string" = "X$echo_test_string"; then
3000
 
+        ECHO="$dir/echo"
3001
 
+        break
3002
 
+      fi
3003
 
+    done
3004
 
+    IFS="$lt_save_ifs"
3005
 
 
3006
 
-# This can be used to rebuild libtool when needed
3007
 
-LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
3008
 
+    if test "X$ECHO" = Xecho; then
3009
 
+      # We didn't find a better echo, so look for alternatives.
3010
 
+      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
3011
 
+         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
3012
 
+         test "X$echo_testing_string" = "X$echo_test_string"; then
3013
 
+        # This shell has a builtin print -r that does the trick.
3014
 
+        ECHO='print -r'
3015
 
+      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
3016
 
+          test "X$CONFIG_SHELL" != X/bin/ksh; then
3017
 
+        # If we have ksh, try running configure again with it.
3018
 
+        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
3019
 
+        export ORIGINAL_CONFIG_SHELL
3020
 
+        CONFIG_SHELL=/bin/ksh
3021
 
+        export CONFIG_SHELL
3022
 
+        exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
3023
 
+      else
3024
 
+        # Try using printf.
3025
 
+        ECHO='printf %s\n'
3026
 
+        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
3027
 
+          echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
3028
 
+          test "X$echo_testing_string" = "X$echo_test_string"; then
3029
 
+         # Cool, printf works
3030
 
+         :
3031
 
+        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
3032
 
+            test "X$echo_testing_string" = 'X\t' &&
3033
 
+            echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
3034
 
+            test "X$echo_testing_string" = "X$echo_test_string"; then
3035
 
+         CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
3036
 
+         export CONFIG_SHELL
3037
 
+         SHELL="$CONFIG_SHELL"
3038
 
+         export SHELL
3039
 
+         ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
3040
 
+        elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
3041
 
+            test "X$echo_testing_string" = 'X\t' &&
3042
 
+            echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
3043
 
+            test "X$echo_testing_string" = "X$echo_test_string"; then
3044
 
+         ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
3045
 
+        else
3046
 
+         # maybe with a smaller string...
3047
 
+         prev=:
3048
 
 
3049
 
-# Always use our own libtool.
3050
 
-LIBTOOL='$(SHELL) $(top_builddir)/libtool'
3051
 
-AC_SUBST(LIBTOOL)dnl
3052
 
+         for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
3053
 
+           if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
3054
 
+           then
3055
 
+             break
3056
 
+           fi
3057
 
+           prev="$cmd"
3058
 
+         done
3059
 
 
3060
 
-# Prevent multiple expansion
3061
 
-define([AC_PROG_LIBTOOL], [])
3062
 
-])# _AC_PROG_LIBTOOL
3063
 
+         if test "$prev" != 'sed 50q "[$]0"'; then
3064
 
+           echo_test_string=`eval $prev`
3065
 
+           export echo_test_string
3066
 
+           exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
3067
 
+         else
3068
 
+           # Oops.  We lost completely, so just stick with echo.
3069
 
+           ECHO=echo
3070
 
+         fi
3071
 
+        fi
3072
 
+      fi
3073
 
+    fi
3074
 
+  fi
3075
 
+fi
3076
 
 
3077
 
+# Copy echo and quote the copy suitably for passing to libtool from
3078
 
+# the Makefile, instead of quoting the original, which is used later.
3079
 
+lt_ECHO=$ECHO
3080
 
+if test "X$lt_ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
3081
 
+   lt_ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
3082
 
+fi
3083
 
 
3084
 
-# AC_LIBTOOL_SETUP
3085
 
-# ----------------
3086
 
-AC_DEFUN([AC_LIBTOOL_SETUP],
3087
 
-[AC_PREREQ(2.50)dnl
3088
 
-AC_REQUIRE([AC_ENABLE_SHARED])dnl
3089
 
-AC_REQUIRE([AC_ENABLE_STATIC])dnl
3090
 
-AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl
3091
 
-AC_REQUIRE([AC_CANONICAL_HOST])dnl
3092
 
-AC_REQUIRE([AC_CANONICAL_BUILD])dnl
3093
 
-AC_REQUIRE([AC_PROG_CC])dnl
3094
 
-AC_REQUIRE([AC_PROG_LD])dnl
3095
 
-AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl
3096
 
-AC_REQUIRE([AC_PROG_NM])dnl
3097
 
+AC_SUBST(lt_ECHO)
3098
 
+])
3099
 
+_LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts])
3100
 
+_LT_DECL([], [ECHO], [1],
3101
 
+    [An echo program that does not interpret backslashes])
3102
 
+])# _LT_PROG_ECHO_BACKSLASH
3103
 
 
3104
 
-AC_REQUIRE([AC_PROG_LN_S])dnl
3105
 
-AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl
3106
 
-# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3107
 
-AC_REQUIRE([AC_OBJEXT])dnl
3108
 
-AC_REQUIRE([AC_EXEEXT])dnl
3109
 
-dnl
3110
 
-AC_LIBTOOL_SYS_MAX_CMD_LEN
3111
 
-AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
3112
 
-AC_LIBTOOL_OBJDIR
3113
 
 
3114
 
-AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
3115
 
-_LT_AC_PROG_ECHO_BACKSLASH
3116
 
+# _LT_ENABLE_LOCK
3117
 
+# ---------------
3118
 
+m4_defun([_LT_ENABLE_LOCK],
3119
 
+[AC_ARG_ENABLE([libtool-lock],
3120
 
+  [AS_HELP_STRING([--disable-libtool-lock],
3121
 
+    [avoid locking (might break parallel builds)])])
3122
 
+test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
3123
 
 
3124
 
-case $host_os in
3125
 
-aix3*)
3126
 
-  # AIX sometimes has problems with the GCC collect2 program.  For some
3127
 
-  # reason, if we set the COLLECT_NAMES environment variable, the problems
3128
 
-  # vanish in a puff of smoke.
3129
 
-  if test "X${COLLECT_NAMES+set}" != Xset; then
3130
 
-    COLLECT_NAMES=
3131
 
-    export COLLECT_NAMES
3132
 
+# Some flags need to be propagated to the compiler or linker for good
3133
 
+# libtool support.
3134
 
+case $host in
3135
 
+ia64-*-hpux*)
3136
 
+  # Find out which ABI we are using.
3137
 
+  echo 'int i;' > conftest.$ac_ext
3138
 
+  if AC_TRY_EVAL(ac_compile); then
3139
 
+    case `/usr/bin/file conftest.$ac_objext` in
3140
 
+      *ELF-32*)
3141
 
+       HPUX_IA64_MODE="32"
3142
 
+       ;;
3143
 
+      *ELF-64*)
3144
 
+       HPUX_IA64_MODE="64"
3145
 
+       ;;
3146
 
+    esac
3147
 
   fi
3148
 
+  rm -rf conftest*
3149
 
+  ;;
3150
 
+*-*-irix6*)
3151
 
+  # Find out which ABI we are using.
3152
 
+  echo '[#]line __oline__ "configure"' > conftest.$ac_ext
3153
 
+  if AC_TRY_EVAL(ac_compile); then
3154
 
+    if test "$lt_cv_prog_gnu_ld" = yes; then
3155
 
+      case `/usr/bin/file conftest.$ac_objext` in
3156
 
+       *32-bit*)
3157
 
+         LD="${LD-ld} -melf32bsmip"
3158
 
+         ;;
3159
 
+       *N32*)
3160
 
+         LD="${LD-ld} -melf32bmipn32"
3161
 
+         ;;
3162
 
+       *64-bit*)
3163
 
+         LD="${LD-ld} -melf64bmip"
3164
 
+       ;;
3165
 
+      esac
3166
 
+    else
3167
 
+      case `/usr/bin/file conftest.$ac_objext` in
3168
 
+       *32-bit*)
3169
 
+         LD="${LD-ld} -32"
3170
 
+         ;;
3171
 
+       *N32*)
3172
 
+         LD="${LD-ld} -n32"
3173
 
+         ;;
3174
 
+       *64-bit*)
3175
 
+         LD="${LD-ld} -64"
3176
 
+         ;;
3177
 
+      esac
3178
 
+    fi
3179
 
+  fi
3180
 
+  rm -rf conftest*
3181
 
   ;;
3182
 
-esac
3183
 
-
3184
 
-# Sed substitution that helps us do robust quoting.  It backslashifies
3185
 
-# metacharacters that are still active within double-quoted strings.
3186
 
-Xsed='sed -e 1s/^X//'
3187
 
-[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g']
3188
 
-
3189
 
-# Same as above, but do not quote variable references.
3190
 
-[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g']
3191
 
-
3192
 
-# Sed substitution to delay expansion of an escaped shell variable in a
3193
 
-# double_quote_subst'ed string.
3194
 
-delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3195
 
 
3196
 
-# Sed substitution to avoid accidental globbing in evaled expressions
3197
 
-no_glob_subst='s/\*/\\\*/g'
3198
 
-
3199
 
-# Constants:
3200
 
-rm="rm -f"
3201
 
-
3202
 
-# Global variables:
3203
 
-default_ofile=libtool
3204
 
-can_build_shared=yes
3205
 
+x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
3206
 
+s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
3207
 
+  # Find out which ABI we are using.
3208
 
+  echo 'int i;' > conftest.$ac_ext
3209
 
+  if AC_TRY_EVAL(ac_compile); then
3210
 
+    case `/usr/bin/file conftest.o` in
3211
 
+      *32-bit*)
3212
 
+       case $host in
3213
 
+         x86_64-*kfreebsd*-gnu)
3214
 
+           LD="${LD-ld} -m elf_i386_fbsd"
3215
 
+           ;;
3216
 
+         x86_64-*linux*)
3217
 
+           LD="${LD-ld} -m elf_i386"
3218
 
+           ;;
3219
 
+         ppc64-*linux*|powerpc64-*linux*)
3220
 
+           LD="${LD-ld} -m elf32ppclinux"
3221
 
+           ;;
3222
 
+         s390x-*linux*)
3223
 
+           LD="${LD-ld} -m elf_s390"
3224
 
+           ;;
3225
 
+         sparc64-*linux*)
3226
 
+           LD="${LD-ld} -m elf32_sparc"
3227
 
+           ;;
3228
 
+       esac
3229
 
+       ;;
3230
 
+      *64-bit*)
3231
 
+       case $host in
3232
 
+         x86_64-*kfreebsd*-gnu)
3233
 
+           LD="${LD-ld} -m elf_x86_64_fbsd"
3234
 
+           ;;
3235
 
+         x86_64-*linux*)
3236
 
+           LD="${LD-ld} -m elf_x86_64"
3237
 
+           ;;
3238
 
+         ppc*-*linux*|powerpc*-*linux*)
3239
 
+           LD="${LD-ld} -m elf64ppc"
3240
 
+           ;;
3241
 
+         s390*-*linux*|s390*-*tpf*)
3242
 
+           LD="${LD-ld} -m elf64_s390"
3243
 
+           ;;
3244
 
+         sparc*-*linux*)
3245
 
+           LD="${LD-ld} -m elf64_sparc"
3246
 
+           ;;
3247
 
+       esac
3248
 
+       ;;
3249
 
+    esac
3250
 
+  fi
3251
 
+  rm -rf conftest*
3252
 
+  ;;
3253
 
 
3254
 
-# All known linkers require a `.a' archive for static linking (except MSVC,
3255
 
-# which needs '.lib').
3256
 
-libext=a
3257
 
-ltmain="$ac_aux_dir/ltmain.sh"
3258
 
-ofile="$default_ofile"
3259
 
-with_gnu_ld="$lt_cv_prog_gnu_ld"
3260
 
+*-*-sco3.2v5*)
3261
 
+  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3262
 
+  SAVE_CFLAGS="$CFLAGS"
3263
 
+  CFLAGS="$CFLAGS -belf"
3264
 
+  AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
3265
 
+    [AC_LANG_PUSH(C)
3266
 
+     AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
3267
 
+     AC_LANG_POP])
3268
 
+  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
3269
 
+    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
3270
 
+    CFLAGS="$SAVE_CFLAGS"
3271
 
+  fi
3272
 
+  ;;
3273
 
+sparc*-*solaris*)
3274
 
+  # Find out which ABI we are using.
3275
 
+  echo 'int i;' > conftest.$ac_ext
3276
 
+  if AC_TRY_EVAL(ac_compile); then
3277
 
+    case `/usr/bin/file conftest.o` in
3278
 
+    *64-bit*)
3279
 
+      case $lt_cv_prog_gnu_ld in
3280
 
+      yes*) LD="${LD-ld} -m elf64_sparc" ;;
3281
 
+      *)
3282
 
+       if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
3283
 
+         LD="${LD-ld} -64"
3284
 
+       fi
3285
 
+       ;;
3286
 
+      esac
3287
 
+      ;;
3288
 
+    esac
3289
 
+  fi
3290
 
+  rm -rf conftest*
3291
 
+  ;;
3292
 
+esac
3293
 
 
3294
 
-AC_CHECK_TOOL(AR, ar, false)
3295
 
-AC_CHECK_TOOL(RANLIB, ranlib, :)
3296
 
-AC_CHECK_TOOL(STRIP, strip, :)
3297
 
+need_locks="$enable_libtool_lock"
3298
 
+])# _LT_ENABLE_LOCK
3299
 
 
3300
 
-old_CC="$CC"
3301
 
-old_CFLAGS="$CFLAGS"
3302
 
 
3303
 
-# Set sane defaults for various variables
3304
 
+# _LT_CMD_OLD_ARCHIVE
3305
 
+# -------------------
3306
 
+m4_defun([_LT_CMD_OLD_ARCHIVE],
3307
 
+[AC_CHECK_TOOL(AR, ar, false)
3308
 
 test -z "$AR" && AR=ar
3309
 
 test -z "$AR_FLAGS" && AR_FLAGS=cru
3310
 
-test -z "$AS" && AS=as
3311
 
-test -z "$CC" && CC=cc
3312
 
-test -z "$LTCC" && LTCC=$CC
3313
 
-test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
3314
 
-test -z "$DLLTOOL" && DLLTOOL=dlltool
3315
 
-test -z "$LD" && LD=ld
3316
 
-test -z "$LN_S" && LN_S="ln -s"
3317
 
-test -z "$MAGIC_CMD" && MAGIC_CMD=file
3318
 
-test -z "$NM" && NM=nm
3319
 
-test -z "$SED" && SED=sed
3320
 
-test -z "$OBJDUMP" && OBJDUMP=objdump
3321
 
-test -z "$RANLIB" && RANLIB=:
3322
 
+_LT_DECL([], [AR], [1], [The archiver])
3323
 
+_LT_DECL([], [AR_FLAGS], [1])
3324
 
+
3325
 
+AC_CHECK_TOOL(STRIP, strip, :)
3326
 
 test -z "$STRIP" && STRIP=:
3327
 
-test -z "$ac_objext" && ac_objext=o
3328
 
+_LT_DECL([], [STRIP], [1], [A symbol stripping program])
3329
 
+
3330
 
+AC_CHECK_TOOL(RANLIB, ranlib, :)
3331
 
+test -z "$RANLIB" && RANLIB=:
3332
 
+_LT_DECL([], [RANLIB], [1],
3333
 
+    [Commands used to install an old-style archive])
3334
 
 
3335
 
 # Determine commands to create old-style static archives.
3336
 
 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
3337
 
@@ -1696,2177 +1864,1558 @@ if test -n "$RANLIB"; then
3338
 
   esac
3339
 
   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
3340
 
 fi
3341
 
+_LT_DECL([], [old_postinstall_cmds], [2])
3342
 
+_LT_DECL([], [old_postuninstall_cmds], [2])
3343
 
+_LT_TAGDECL([], [old_archive_cmds], [2],
3344
 
+    [Commands used to build an old-style archive])
3345
 
+])# _LT_CMD_OLD_ARCHIVE
3346
 
 
3347
 
-_LT_CC_BASENAME([$compiler])
3348
 
-
3349
 
-# Only perform the check for file, if the check method requires it
3350
 
-case $deplibs_check_method in
3351
 
-file_magic*)
3352
 
-  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3353
 
-    AC_PATH_MAGIC
3354
 
-  fi
3355
 
-  ;;
3356
 
-esac
3357
 
-
3358
 
-_LT_REQUIRED_DARWIN_CHECKS
3359
 
 
3360
 
-AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
3361
 
-AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
3362
 
-enable_win32_dll=yes, enable_win32_dll=no)
3363
 
-
3364
 
-AC_ARG_ENABLE([libtool-lock],
3365
 
-    [AC_HELP_STRING([--disable-libtool-lock],
3366
 
-       [avoid locking (might break parallel builds)])])
3367
 
-test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
3368
 
-
3369
 
-AC_ARG_WITH([pic],
3370
 
-    [AC_HELP_STRING([--with-pic],
3371
 
-       [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
3372
 
-    [pic_mode="$withval"],
3373
 
-    [pic_mode=default])
3374
 
-test -z "$pic_mode" && pic_mode=default
3375
 
+# _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
3376
 
+#              [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
3377
 
+# ----------------------------------------------------------------
3378
 
+# Check whether the given compiler option works
3379
 
+AC_DEFUN([_LT_COMPILER_OPTION],
3380
 
+[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
3381
 
+m4_require([_LT_DECL_SED])dnl
3382
 
+AC_CACHE_CHECK([$1], [$2],
3383
 
+  [$2=no
3384
 
+   m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
3385
 
+   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
3386
 
+   lt_compiler_flag="$3"
3387
 
+   # Insert the option either (1) after the last *FLAGS variable, or
3388
 
+   # (2) before a word containing "conftest.", or (3) at the end.
3389
 
+   # Note that $ac_compile itself does not contain backslashes and begins
3390
 
+   # with a dollar sign (not a hyphen), so the echo should work correctly.
3391
 
+   # The option is referenced via a variable to avoid confusing sed.
3392
 
+   lt_compile=`echo "$ac_compile" | $SED \
3393
 
+   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
3394
 
+   -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
3395
 
+   -e 's:$: $lt_compiler_flag:'`
3396
 
+   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
3397
 
+   (eval "$lt_compile" 2>conftest.err)
3398
 
+   ac_status=$?
3399
 
+   cat conftest.err >&AS_MESSAGE_LOG_FD
3400
 
+   echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
3401
 
+   if (exit $ac_status) && test -s "$ac_outfile"; then
3402
 
+     # The compiler can only warn and ignore the option if not recognized
3403
 
+     # So say no if there are warnings other than the usual output.
3404
 
+     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
3405
 
+     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
3406
 
+     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
3407
 
+       $2=yes
3408
 
+     fi
3409
 
+   fi
3410
 
+   $RM conftest*
3411
 
+])
3412
 
 
3413
 
-# Use C for the default configuration in the libtool script
3414
 
-tagname=
3415
 
-AC_LIBTOOL_LANG_C_CONFIG
3416
 
-_LT_AC_TAGCONFIG
3417
 
-])# AC_LIBTOOL_SETUP
3418
 
+if test x"[$]$2" = xyes; then
3419
 
+    m4_if([$5], , :, [$5])
3420
 
+else
3421
 
+    m4_if([$6], , :, [$6])
3422
 
+fi
3423
 
+])# _LT_COMPILER_OPTION
3424
 
 
3425
 
+# Old name:
3426
 
+AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION])
3427
 
+dnl aclocal-1.4 backwards compatibility:
3428
 
+dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [])
3429
 
+
3430
 
+
3431
 
+# _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
3432
 
+#                  [ACTION-SUCCESS], [ACTION-FAILURE])
3433
 
+# ----------------------------------------------------
3434
 
+# Check whether the given linker option works
3435
 
+AC_DEFUN([_LT_LINKER_OPTION],
3436
 
+[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
3437
 
+m4_require([_LT_DECL_SED])dnl
3438
 
+AC_CACHE_CHECK([$1], [$2],
3439
 
+  [$2=no
3440
 
+   save_LDFLAGS="$LDFLAGS"
3441
 
+   LDFLAGS="$LDFLAGS $3"
3442
 
+   echo "$lt_simple_link_test_code" > conftest.$ac_ext
3443
 
+   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
3444
 
+     # The linker can only warn and ignore the option if not recognized
3445
 
+     # So say no if there are warnings
3446
 
+     if test -s conftest.err; then
3447
 
+       # Append any errors to the config.log.
3448
 
+       cat conftest.err 1>&AS_MESSAGE_LOG_FD
3449
 
+       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
3450
 
+       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
3451
 
+       if diff conftest.exp conftest.er2 >/dev/null; then
3452
 
+         $2=yes
3453
 
+       fi
3454
 
+     else
3455
 
+       $2=yes
3456
 
+     fi
3457
 
+   fi
3458
 
+   $RM -r conftest*
3459
 
+   LDFLAGS="$save_LDFLAGS"
3460
 
+])
3461
 
 
3462
 
-# _LT_AC_SYS_COMPILER
3463
 
-# -------------------
3464
 
-AC_DEFUN([_LT_AC_SYS_COMPILER],
3465
 
-[AC_REQUIRE([AC_PROG_CC])dnl
3466
 
+if test x"[$]$2" = xyes; then
3467
 
+    m4_if([$4], , :, [$4])
3468
 
+else
3469
 
+    m4_if([$5], , :, [$5])
3470
 
+fi
3471
 
+])# _LT_LINKER_OPTION
3472
 
 
3473
 
-# If no C compiler was specified, use CC.
3474
 
-LTCC=${LTCC-"$CC"}
3475
 
+# Old name:
3476
 
+AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION])
3477
 
+dnl aclocal-1.4 backwards compatibility:
3478
 
+dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [])
3479
 
 
3480
 
-# If no C compiler flags were specified, use CFLAGS.
3481
 
-LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
3482
 
 
3483
 
-# Allow CC to be a program name with arguments.
3484
 
-compiler=$CC
3485
 
-])# _LT_AC_SYS_COMPILER
3486
 
+# LT_CMD_MAX_LEN
3487
 
+#---------------
3488
 
+AC_DEFUN([LT_CMD_MAX_LEN],
3489
 
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
3490
 
+# find the maximum length of command line arguments
3491
 
+AC_MSG_CHECKING([the maximum length of command line arguments])
3492
 
+AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
3493
 
+  i=0
3494
 
+  teststring="ABCD"
3495
 
 
3496
 
+  case $build_os in
3497
 
+  msdosdjgpp*)
3498
 
+    # On DJGPP, this test can blow up pretty badly due to problems in libc
3499
 
+    # (any single argument exceeding 2000 bytes causes a buffer overrun
3500
 
+    # during glob expansion).  Even if it were fixed, the result of this
3501
 
+    # check would be larger than it should be.
3502
 
+    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
3503
 
+    ;;
3504
 
 
3505
 
-# _LT_CC_BASENAME(CC)
3506
 
-# -------------------
3507
 
-# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
3508
 
-AC_DEFUN([_LT_CC_BASENAME],
3509
 
-[for cc_temp in $1""; do
3510
 
-  case $cc_temp in
3511
 
-    compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
3512
 
-    distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
3513
 
-    \-*) ;;
3514
 
-    *) break;;
3515
 
-  esac
3516
 
-done
3517
 
-cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
3518
 
-])
3519
 
+  gnu*)
3520
 
+    # Under GNU Hurd, this test is not required because there is
3521
 
+    # no limit to the length of command line arguments.
3522
 
+    # Libtool will interpret -1 as no limit whatsoever
3523
 
+    lt_cv_sys_max_cmd_len=-1;
3524
 
+    ;;
3525
 
 
3526
 
+  cygwin* | mingw* | cegcc*)
3527
 
+    # On Win9x/ME, this test blows up -- it succeeds, but takes
3528
 
+    # about 5 minutes as the teststring grows exponentially.
3529
 
+    # Worse, since 9x/ME are not pre-emptively multitasking,
3530
 
+    # you end up with a "frozen" computer, even though with patience
3531
 
+    # the test eventually succeeds (with a max line length of 256k).
3532
 
+    # Instead, let's just punt: use the minimum linelength reported by
3533
 
+    # all of the supported platforms: 8192 (on NT/2K/XP).
3534
 
+    lt_cv_sys_max_cmd_len=8192;
3535
 
+    ;;
3536
 
 
3537
 
-# _LT_COMPILER_BOILERPLATE
3538
 
-# ------------------------
3539
 
-# Check for compiler boilerplate output or warnings with
3540
 
-# the simple compiler test code.
3541
 
-AC_DEFUN([_LT_COMPILER_BOILERPLATE],
3542
 
-[AC_REQUIRE([LT_AC_PROG_SED])dnl
3543
 
-ac_outfile=conftest.$ac_objext
3544
 
-echo "$lt_simple_compile_test_code" >conftest.$ac_ext
3545
 
-eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
3546
 
-_lt_compiler_boilerplate=`cat conftest.err`
3547
 
-$rm conftest*
3548
 
-])# _LT_COMPILER_BOILERPLATE
3549
 
+  amigaos*)
3550
 
+    # On AmigaOS with pdksh, this test takes hours, literally.
3551
 
+    # So we just punt and use a minimum line length of 8192.
3552
 
+    lt_cv_sys_max_cmd_len=8192;
3553
 
+    ;;
3554
 
 
3555
 
+  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
3556
 
+    # This has been around since 386BSD, at least.  Likely further.
3557
 
+    if test -x /sbin/sysctl; then
3558
 
+      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
3559
 
+    elif test -x /usr/sbin/sysctl; then
3560
 
+      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
3561
 
+    else
3562
 
+      lt_cv_sys_max_cmd_len=65536      # usable default for all BSDs
3563
 
+    fi
3564
 
+    # And add a safety zone
3565
 
+    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
3566
 
+    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
3567
 
+    ;;
3568
 
 
3569
 
-# _LT_LINKER_BOILERPLATE
3570
 
-# ----------------------
3571
 
-# Check for linker boilerplate output or warnings with
3572
 
-# the simple link test code.
3573
 
-AC_DEFUN([_LT_LINKER_BOILERPLATE],
3574
 
-[AC_REQUIRE([LT_AC_PROG_SED])dnl
3575
 
-ac_outfile=conftest.$ac_objext
3576
 
-echo "$lt_simple_link_test_code" >conftest.$ac_ext
3577
 
-eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
3578
 
-_lt_linker_boilerplate=`cat conftest.err`
3579
 
-$rm -r conftest*
3580
 
-])# _LT_LINKER_BOILERPLATE
3581
 
+  interix*)
3582
 
+    # We know the value 262144 and hardcode it with a safety zone (like BSD)
3583
 
+    lt_cv_sys_max_cmd_len=196608
3584
 
+    ;;
3585
 
 
3586
 
-# _LT_REQUIRED_DARWIN_CHECKS
3587
 
-# --------------------------
3588
 
-# Check for some things on darwin
3589
 
-AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS],[
3590
 
-  case $host_os in
3591
 
-    rhapsody* | darwin*)
3592
 
-    AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:])
3593
 
-    AC_CHECK_TOOL([NMEDIT], [nmedit], [:])
3594
 
-
3595
 
-    AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
3596
 
-      [lt_cv_apple_cc_single_mod=no
3597
 
-      if test -z "${LT_MULTI_MODULE}"; then
3598
 
-   # By default we will add the -single_module flag. You can override
3599
 
-   # by either setting the environment variable LT_MULTI_MODULE
3600
 
-   # non-empty at configure time, or by adding -multi_module to the
3601
 
-   # link flags.
3602
 
-   echo "int foo(void){return 1;}" > conftest.c
3603
 
-   $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
3604
 
-     -dynamiclib ${wl}-single_module conftest.c
3605
 
-   if test -f libconftest.dylib; then
3606
 
-     lt_cv_apple_cc_single_mod=yes
3607
 
-     rm -rf libconftest.dylib*
3608
 
-   fi
3609
 
-   rm conftest.c
3610
 
-      fi])
3611
 
-    AC_CACHE_CHECK([for -exported_symbols_list linker flag],
3612
 
-      [lt_cv_ld_exported_symbols_list],
3613
 
-      [lt_cv_ld_exported_symbols_list=no
3614
 
-      save_LDFLAGS=$LDFLAGS
3615
 
-      echo "_main" > conftest.sym
3616
 
-      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
3617
 
-      AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
3618
 
-   [lt_cv_ld_exported_symbols_list=yes],
3619
 
-   [lt_cv_ld_exported_symbols_list=no])
3620
 
-   LDFLAGS="$save_LDFLAGS"
3621
 
-    ])
3622
 
-    case $host_os in
3623
 
-    rhapsody* | darwin1.[[0123]])
3624
 
-      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
3625
 
-    darwin1.*)
3626
 
-     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
3627
 
-    darwin*)
3628
 
-      # if running on 10.5 or later, the deployment target defaults
3629
 
-      # to the OS version, if on x86, and 10.4, the deployment
3630
 
-      # target defaults to 10.4. Don't you love it?
3631
 
-      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
3632
 
-   10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
3633
 
-     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
3634
 
-   10.[[012]]*)
3635
 
-     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
3636
 
-   10.*)
3637
 
-     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
3638
 
+  osf*)
3639
 
+    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
3640
 
+    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
3641
 
+    # nice to cause kernel panics so lets avoid the loop below.
3642
 
+    # First set a reasonable default.
3643
 
+    lt_cv_sys_max_cmd_len=16384
3644
 
+    #
3645
 
+    if test -x /sbin/sysconfig; then
3646
 
+      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
3647
 
+        *1*) lt_cv_sys_max_cmd_len=-1 ;;
3648
 
       esac
3649
 
-    ;;
3650
 
-  esac
3651
 
-    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
3652
 
-      _lt_dar_single_mod='$single_module'
3653
 
     fi
3654
 
-    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
3655
 
-      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
3656
 
+    ;;
3657
 
+  sco3.2v5*)
3658
 
+    lt_cv_sys_max_cmd_len=102400
3659
 
+    ;;
3660
 
+  sysv5* | sco5v6* | sysv4.2uw2*)
3661
 
+    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
3662
 
+    if test -n "$kargmax"; then
3663
 
+      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[        ]]//'`
3664
 
     else
3665
 
-      _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
3666
 
+      lt_cv_sys_max_cmd_len=32768
3667
 
     fi
3668
 
-    if test "$DSYMUTIL" != ":"; then
3669
 
-      _lt_dsymutil="~$DSYMUTIL \$lib || :"
3670
 
+    ;;
3671
 
+  *)
3672
 
+    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
3673
 
+    if test -n "$lt_cv_sys_max_cmd_len"; then
3674
 
+      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
3675
 
+      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
3676
 
     else
3677
 
-      _lt_dsymutil=
3678
 
+      # Make teststring a little bigger before we do anything with it.
3679
 
+      # a 1K string should be a reasonable start.
3680
 
+      for i in 1 2 3 4 5 6 7 8 ; do
3681
 
+        teststring=$teststring$teststring
3682
 
+      done
3683
 
+      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
3684
 
+      # If test is not a shell built-in, we'll probably end up computing a
3685
 
+      # maximum length that is only half of the actual maximum length, but
3686
 
+      # we can't tell.
3687
 
+      while { test "X"`$SHELL [$]0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
3688
 
+                = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
3689
 
+             test $i != 17 # 1/2 MB should be enough
3690
 
+      do
3691
 
+        i=`expr $i + 1`
3692
 
+        teststring=$teststring$teststring
3693
 
+      done
3694
 
+      # Only check the string length outside the loop.
3695
 
+      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
3696
 
+      teststring=
3697
 
+      # Add a significant safety factor because C++ compilers can tack on
3698
 
+      # massive amounts of additional arguments before passing them to the
3699
 
+      # linker.  It appears as though 1/2 is a usable value.
3700
 
+      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
3701
 
     fi
3702
 
     ;;
3703
 
   esac
3704
 
 ])
3705
 
+if test -n $lt_cv_sys_max_cmd_len ; then
3706
 
+  AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
3707
 
+else
3708
 
+  AC_MSG_RESULT(none)
3709
 
+fi
3710
 
+max_cmd_len=$lt_cv_sys_max_cmd_len
3711
 
+_LT_DECL([], [max_cmd_len], [0],
3712
 
+    [What is the maximum length of a command?])
3713
 
+])# LT_CMD_MAX_LEN
3714
 
 
3715
 
-# _LT_AC_SYS_LIBPATH_AIX
3716
 
-# ----------------------
3717
 
-# Links a minimal program and checks the executable
3718
 
-# for the system default hardcoded library path. In most cases,
3719
 
-# this is /usr/lib:/lib, but when the MPI compilers are used
3720
 
-# the location of the communication and MPI libs are included too.
3721
 
-# If we don't find anything, use the default library path according
3722
 
-# to the aix ld manual.
3723
 
-AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX],
3724
 
-[AC_REQUIRE([LT_AC_PROG_SED])dnl
3725
 
-AC_LINK_IFELSE(AC_LANG_PROGRAM,[
3726
 
-lt_aix_libpath_sed='
3727
 
-    /Import File Strings/,/^$/ {
3728
 
-       /^0/ {
3729
 
-           s/^0  *\(.*\)$/\1/
3730
 
-           p
3731
 
-       }
3732
 
-    }'
3733
 
-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
3734
 
-# Check for a 64-bit object if we didn't find anything.
3735
 
-if test -z "$aix_libpath"; then
3736
 
-  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
3737
 
-fi],[])
3738
 
-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
3739
 
-])# _LT_AC_SYS_LIBPATH_AIX
3740
 
-
3741
 
-
3742
 
-# _LT_AC_SHELL_INIT(ARG)
3743
 
-# ----------------------
3744
 
-AC_DEFUN([_LT_AC_SHELL_INIT],
3745
 
-[ifdef([AC_DIVERSION_NOTICE],
3746
 
-            [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
3747
 
-        [AC_DIVERT_PUSH(NOTICE)])
3748
 
-$1
3749
 
-AC_DIVERT_POP
3750
 
-])# _LT_AC_SHELL_INIT
3751
 
+# Old name:
3752
 
+AU_ALIAS([AC_LIBTOOL_SYS_MAX_CMD_LEN], [LT_CMD_MAX_LEN])
3753
 
+dnl aclocal-1.4 backwards compatibility:
3754
 
+dnl AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [])
3755
 
 
3756
 
 
3757
 
-# _LT_AC_PROG_ECHO_BACKSLASH
3758
 
-# --------------------------
3759
 
-# Add some code to the start of the generated configure script which
3760
 
-# will find an echo command which doesn't interpret backslashes.
3761
 
-AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH],
3762
 
-[_LT_AC_SHELL_INIT([
3763
 
-# Check that we are running under the correct shell.
3764
 
-SHELL=${CONFIG_SHELL-/bin/sh}
3765
 
+# _LT_HEADER_DLFCN
3766
 
+# ----------------
3767
 
+m4_defun([_LT_HEADER_DLFCN],
3768
 
+[AC_CHECK_HEADERS([dlfcn.h], [], [], [AC_INCLUDES_DEFAULT])dnl
3769
 
+])# _LT_HEADER_DLFCN
3770
 
 
3771
 
-case X$ECHO in
3772
 
-X*--fallback-echo)
3773
 
-  # Remove one level of quotation (which was required for Make).
3774
 
-  ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
3775
 
-  ;;
3776
 
-esac
3777
 
 
3778
 
-echo=${ECHO-echo}
3779
 
-if test "X[$]1" = X--no-reexec; then
3780
 
-  # Discard the --no-reexec flag, and continue.
3781
 
-  shift
3782
 
-elif test "X[$]1" = X--fallback-echo; then
3783
 
-  # Avoid inline document here, it may be left over
3784
 
-  :
3785
 
-elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
3786
 
-  # Yippee, $echo works!
3787
 
-  :
3788
 
+# _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
3789
 
+#                      ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
3790
 
+# ----------------------------------------------------------------
3791
 
+m4_defun([_LT_TRY_DLOPEN_SELF],
3792
 
+[m4_require([_LT_HEADER_DLFCN])dnl
3793
 
+if test "$cross_compiling" = yes; then :
3794
 
+  [$4]
3795
 
 else
3796
 
-  # Restart under the correct shell.
3797
 
-  exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
3798
 
-fi
3799
 
-
3800
 
-if test "X[$]1" = X--fallback-echo; then
3801
 
-  # used as fallback echo
3802
 
-  shift
3803
 
-  cat <<EOF
3804
 
-[$]*
3805
 
-EOF
3806
 
-  exit 0
3807
 
-fi
3808
 
+  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
3809
 
+  lt_status=$lt_dlunknown
3810
 
+  cat > conftest.$ac_ext <<_LT_EOF
3811
 
+[#line __oline__ "configure"
3812
 
+#include "confdefs.h"
3813
 
 
3814
 
-# The HP-UX ksh and POSIX shell print the target directory to stdout
3815
 
-# if CDPATH is set.
3816
 
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3817
 
+#if HAVE_DLFCN_H
3818
 
+#include <dlfcn.h>
3819
 
+#endif
3820
 
 
3821
 
-if test -z "$ECHO"; then
3822
 
-if test "X${echo_test_string+set}" != Xset; then
3823
 
-# find a string as large as possible, as long as the shell can cope with it
3824
 
-  for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
3825
 
-    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
3826
 
-    if (echo_test_string=`eval $cmd`) 2>/dev/null &&
3827
 
-       echo_test_string=`eval $cmd` &&
3828
 
-       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
3829
 
-    then
3830
 
-      break
3831
 
-    fi
3832
 
-  done
3833
 
-fi
3834
 
+#include <stdio.h>
3835
 
 
3836
 
-if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
3837
 
-   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
3838
 
-   test "X$echo_testing_string" = "X$echo_test_string"; then
3839
 
-  :
3840
 
-else
3841
 
-  # The Solaris, AIX, and Digital Unix default echo programs unquote
3842
 
-  # backslashes.  This makes it impossible to quote backslashes using
3843
 
-  #   echo "$something" | sed 's/\\/\\\\/g'
3844
 
-  #
3845
 
-  # So, first we look for a working echo in the user's PATH.
3846
 
+#ifdef RTLD_GLOBAL
3847
 
+#  define LT_DLGLOBAL          RTLD_GLOBAL
3848
 
+#else
3849
 
+#  ifdef DL_GLOBAL
3850
 
+#    define LT_DLGLOBAL                DL_GLOBAL
3851
 
+#  else
3852
 
+#    define LT_DLGLOBAL                0
3853
 
+#  endif
3854
 
+#endif
3855
 
 
3856
 
-  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3857
 
-  for dir in $PATH /usr/ucb; do
3858
 
-    IFS="$lt_save_ifs"
3859
 
-    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
3860
 
-       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
3861
 
-       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
3862
 
-       test "X$echo_testing_string" = "X$echo_test_string"; then
3863
 
-      echo="$dir/echo"
3864
 
-      break
3865
 
-    fi
3866
 
-  done
3867
 
-  IFS="$lt_save_ifs"
3868
 
+/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
3869
 
+   find out it does not work in some platform. */
3870
 
+#ifndef LT_DLLAZY_OR_NOW
3871
 
+#  ifdef RTLD_LAZY
3872
 
+#    define LT_DLLAZY_OR_NOW           RTLD_LAZY
3873
 
+#  else
3874
 
+#    ifdef DL_LAZY
3875
 
+#      define LT_DLLAZY_OR_NOW         DL_LAZY
3876
 
+#    else
3877
 
+#      ifdef RTLD_NOW
3878
 
+#        define LT_DLLAZY_OR_NOW       RTLD_NOW
3879
 
+#      else
3880
 
+#        ifdef DL_NOW
3881
 
+#          define LT_DLLAZY_OR_NOW     DL_NOW
3882
 
+#        else
3883
 
+#          define LT_DLLAZY_OR_NOW     0
3884
 
+#        endif
3885
 
+#      endif
3886
 
+#    endif
3887
 
+#  endif
3888
 
+#endif
3889
 
 
3890
 
-  if test "X$echo" = Xecho; then
3891
 
-    # We didn't find a better echo, so look for alternatives.
3892
 
-    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
3893
 
-       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
3894
 
-       test "X$echo_testing_string" = "X$echo_test_string"; then
3895
 
-      # This shell has a builtin print -r that does the trick.
3896
 
-      echo='print -r'
3897
 
-    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
3898
 
-        test "X$CONFIG_SHELL" != X/bin/ksh; then
3899
 
-      # If we have ksh, try running configure again with it.
3900
 
-      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
3901
 
-      export ORIGINAL_CONFIG_SHELL
3902
 
-      CONFIG_SHELL=/bin/ksh
3903
 
-      export CONFIG_SHELL
3904
 
-      exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
3905
 
-    else
3906
 
-      # Try using printf.
3907
 
-      echo='printf %s\n'
3908
 
-      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
3909
 
-        echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
3910
 
-        test "X$echo_testing_string" = "X$echo_test_string"; then
3911
 
-       # Cool, printf works
3912
 
-       :
3913
 
-      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
3914
 
-          test "X$echo_testing_string" = 'X\t' &&
3915
 
-          echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
3916
 
-          test "X$echo_testing_string" = "X$echo_test_string"; then
3917
 
-       CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
3918
 
-       export CONFIG_SHELL
3919
 
-       SHELL="$CONFIG_SHELL"
3920
 
-       export SHELL
3921
 
-       echo="$CONFIG_SHELL [$]0 --fallback-echo"
3922
 
-      elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
3923
 
-          test "X$echo_testing_string" = 'X\t' &&
3924
 
-          echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
3925
 
-          test "X$echo_testing_string" = "X$echo_test_string"; then
3926
 
-       echo="$CONFIG_SHELL [$]0 --fallback-echo"
3927
 
-      else
3928
 
-       # maybe with a smaller string...
3929
 
-       prev=:
3930
 
+void fnord() { int i=42;}
3931
 
+int main ()
3932
 
+{
3933
 
+  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
3934
 
+  int status = $lt_dlunknown;
3935
 
 
3936
 
-       for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
3937
 
-         if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
3938
 
-         then
3939
 
-           break
3940
 
-         fi
3941
 
-         prev="$cmd"
3942
 
-       done
3943
 
+  if (self)
3944
 
+    {
3945
 
+      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
3946
 
+      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
3947
 
+      /* dlclose (self); */
3948
 
+    }
3949
 
+  else
3950
 
+    puts (dlerror ());
3951
 
 
3952
 
-       if test "$prev" != 'sed 50q "[$]0"'; then
3953
 
-         echo_test_string=`eval $prev`
3954
 
-         export echo_test_string
3955
 
-         exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
3956
 
-       else
3957
 
-         # Oops.  We lost completely, so just stick with echo.
3958
 
-         echo=echo
3959
 
-       fi
3960
 
-      fi
3961
 
-    fi
3962
 
+  return status;
3963
 
+}]
3964
 
+_LT_EOF
3965
 
+  if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
3966
 
+    (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
3967
 
+    lt_status=$?
3968
 
+    case x$lt_status in
3969
 
+      x$lt_dlno_uscore) $1 ;;
3970
 
+      x$lt_dlneed_uscore) $2 ;;
3971
 
+      x$lt_dlunknown|x*) $3 ;;
3972
 
+    esac
3973
 
+  else :
3974
 
+    # compilation failed
3975
 
+    $3
3976
 
   fi
3977
 
 fi
3978
 
-fi
3979
 
+rm -fr conftest*
3980
 
+])# _LT_TRY_DLOPEN_SELF
3981
 
 
3982
 
-# Copy echo and quote the copy suitably for passing to libtool from
3983
 
-# the Makefile, instead of quoting the original, which is used later.
3984
 
-ECHO=$echo
3985
 
-if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
3986
 
-   ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
3987
 
-fi
3988
 
 
3989
 
-AC_SUBST(ECHO)
3990
 
-])])# _LT_AC_PROG_ECHO_BACKSLASH
3991
 
+# LT_SYS_DLOPEN_SELF
3992
 
+# ------------------
3993
 
+AC_DEFUN([LT_SYS_DLOPEN_SELF],
3994
 
+[m4_require([_LT_HEADER_DLFCN])dnl
3995
 
+if test "x$enable_dlopen" != xyes; then
3996
 
+  enable_dlopen=unknown
3997
 
+  enable_dlopen_self=unknown
3998
 
+  enable_dlopen_self_static=unknown
3999
 
+else
4000
 
+  lt_cv_dlopen=no
4001
 
+  lt_cv_dlopen_libs=
4002
 
 
4003
 
+  case $host_os in
4004
 
+  beos*)
4005
 
+    lt_cv_dlopen="load_add_on"
4006
 
+    lt_cv_dlopen_libs=
4007
 
+    lt_cv_dlopen_self=yes
4008
 
+    ;;
4009
 
 
4010
 
-# _LT_AC_LOCK
4011
 
-# -----------
4012
 
-AC_DEFUN([_LT_AC_LOCK],
4013
 
-[AC_ARG_ENABLE([libtool-lock],
4014
 
-    [AC_HELP_STRING([--disable-libtool-lock],
4015
 
-       [avoid locking (might break parallel builds)])])
4016
 
-test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4017
 
+  mingw* | pw32* | cegcc*)
4018
 
+    lt_cv_dlopen="LoadLibrary"
4019
 
+    lt_cv_dlopen_libs=
4020
 
+    ;;
4021
 
 
4022
 
-# Some flags need to be propagated to the compiler or linker for good
4023
 
-# libtool support.
4024
 
-case $host in
4025
 
-ia64-*-hpux*)
4026
 
-  # Find out which ABI we are using.
4027
 
-  echo 'int i;' > conftest.$ac_ext
4028
 
-  if AC_TRY_EVAL(ac_compile); then
4029
 
-    case `/usr/bin/file conftest.$ac_objext` in
4030
 
-    *ELF-32*)
4031
 
-      HPUX_IA64_MODE="32"
4032
 
-      ;;
4033
 
-    *ELF-64*)
4034
 
-      HPUX_IA64_MODE="64"
4035
 
-      ;;
4036
 
-    esac
4037
 
-  fi
4038
 
-  rm -rf conftest*
4039
 
-  ;;
4040
 
-*-*-irix6*)
4041
 
-  # Find out which ABI we are using.
4042
 
-  echo '[#]line __oline__ "configure"' > conftest.$ac_ext
4043
 
-  if AC_TRY_EVAL(ac_compile); then
4044
 
-   if test "$lt_cv_prog_gnu_ld" = yes; then
4045
 
-    case `/usr/bin/file conftest.$ac_objext` in
4046
 
-    *32-bit*)
4047
 
-      LD="${LD-ld} -melf32bsmip"
4048
 
-      ;;
4049
 
-    *N32*)
4050
 
-      LD="${LD-ld} -melf32bmipn32"
4051
 
-      ;;
4052
 
-    *64-bit*)
4053
 
-      LD="${LD-ld} -melf64bmip"
4054
 
-      ;;
4055
 
-    esac
4056
 
-   else
4057
 
-    case `/usr/bin/file conftest.$ac_objext` in
4058
 
-    *32-bit*)
4059
 
-      LD="${LD-ld} -32"
4060
 
-      ;;
4061
 
-    *N32*)
4062
 
-      LD="${LD-ld} -n32"
4063
 
-      ;;
4064
 
-    *64-bit*)
4065
 
-      LD="${LD-ld} -64"
4066
 
-      ;;
4067
 
-    esac
4068
 
-   fi
4069
 
-  fi
4070
 
-  rm -rf conftest*
4071
 
-  ;;
4072
 
+  cygwin*)
4073
 
+    lt_cv_dlopen="dlopen"
4074
 
+    lt_cv_dlopen_libs=
4075
 
+    ;;
4076
 
 
4077
 
-x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
4078
 
-s390*-*linux*|sparc*-*linux*)
4079
 
-  # Find out which ABI we are using.
4080
 
-  echo 'int i;' > conftest.$ac_ext
4081
 
-  if AC_TRY_EVAL(ac_compile); then
4082
 
-    case `/usr/bin/file conftest.o` in
4083
 
-    *32-bit*)
4084
 
-      case $host in
4085
 
-        x86_64-*kfreebsd*-gnu)
4086
 
-          LD="${LD-ld} -m elf_i386_fbsd"
4087
 
-          ;;
4088
 
-        x86_64-*linux*)
4089
 
-          LD="${LD-ld} -m elf_i386"
4090
 
-          ;;
4091
 
-        ppc64-*linux*|powerpc64-*linux*)
4092
 
-          LD="${LD-ld} -m elf32ppclinux"
4093
 
-          ;;
4094
 
-        s390x-*linux*)
4095
 
-          LD="${LD-ld} -m elf_s390"
4096
 
-          ;;
4097
 
-        sparc64-*linux*)
4098
 
-          LD="${LD-ld} -m elf32_sparc"
4099
 
-          ;;
4100
 
-      esac
4101
 
-      ;;
4102
 
-    *64-bit*)
4103
 
-      libsuff=64
4104
 
-      case $host in
4105
 
-        x86_64-*kfreebsd*-gnu)
4106
 
-          LD="${LD-ld} -m elf_x86_64_fbsd"
4107
 
-          ;;
4108
 
-        x86_64-*linux*)
4109
 
-          LD="${LD-ld} -m elf_x86_64"
4110
 
-          ;;
4111
 
-        ppc*-*linux*|powerpc*-*linux*)
4112
 
-          LD="${LD-ld} -m elf64ppc"
4113
 
-          ;;
4114
 
-        s390*-*linux*)
4115
 
-          LD="${LD-ld} -m elf64_s390"
4116
 
-          ;;
4117
 
-        sparc*-*linux*)
4118
 
-          LD="${LD-ld} -m elf64_sparc"
4119
 
-          ;;
4120
 
-      esac
4121
 
-      ;;
4122
 
-    esac
4123
 
-  fi
4124
 
-  rm -rf conftest*
4125
 
-  ;;
4126
 
+  darwin*)
4127
 
+  # if libdl is installed we need to link against it
4128
 
+    AC_CHECK_LIB([dl], [dlopen],
4129
 
+               [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
4130
 
+    lt_cv_dlopen="dyld"
4131
 
+    lt_cv_dlopen_libs=
4132
 
+    lt_cv_dlopen_self=yes
4133
 
+    ])
4134
 
+    ;;
4135
 
 
4136
 
-*-*-sco3.2v5*)
4137
 
-  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4138
 
-  SAVE_CFLAGS="$CFLAGS"
4139
 
-  CFLAGS="$CFLAGS -belf"
4140
 
-  AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
4141
 
-    [AC_LANG_PUSH(C)
4142
 
-     AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
4143
 
-     AC_LANG_POP])
4144
 
-  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4145
 
-    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4146
 
-    CFLAGS="$SAVE_CFLAGS"
4147
 
-  fi
4148
 
-  ;;
4149
 
-sparc*-*solaris*)
4150
 
-  # Find out which ABI we are using.
4151
 
-  echo 'int i;' > conftest.$ac_ext
4152
 
-  if AC_TRY_EVAL(ac_compile); then
4153
 
-    case `/usr/bin/file conftest.o` in
4154
 
-    *64-bit*)
4155
 
-      case $lt_cv_prog_gnu_ld in
4156
 
-      yes*) LD="${LD-ld} -m elf64_sparc" ;;
4157
 
-      *)
4158
 
-        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
4159
 
-         LD="${LD-ld} -64"
4160
 
-       fi
4161
 
-       ;;
4162
 
-      esac
4163
 
-      ;;
4164
 
-    esac
4165
 
+  *)
4166
 
+    AC_CHECK_FUNC([shl_load],
4167
 
+         [lt_cv_dlopen="shl_load"],
4168
 
+      [AC_CHECK_LIB([dld], [shl_load],
4169
 
+           [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"],
4170
 
+       [AC_CHECK_FUNC([dlopen],
4171
 
+             [lt_cv_dlopen="dlopen"],
4172
 
+         [AC_CHECK_LIB([dl], [dlopen],
4173
 
+               [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
4174
 
+           [AC_CHECK_LIB([svld], [dlopen],
4175
 
+                 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
4176
 
+             [AC_CHECK_LIB([dld], [dld_link],
4177
 
+                   [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"])
4178
 
+             ])
4179
 
+           ])
4180
 
+         ])
4181
 
+       ])
4182
 
+      ])
4183
 
+    ;;
4184
 
+  esac
4185
 
+
4186
 
+  if test "x$lt_cv_dlopen" != xno; then
4187
 
+    enable_dlopen=yes
4188
 
+  else
4189
 
+    enable_dlopen=no
4190
 
   fi
4191
 
-  rm -rf conftest*
4192
 
-  ;;
4193
 
 
4194
 
-AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
4195
 
-[*-*-cygwin* | *-*-mingw* | *-*-pw32*)
4196
 
-  AC_CHECK_TOOL(DLLTOOL, dlltool, false)
4197
 
-  AC_CHECK_TOOL(AS, as, false)
4198
 
-  AC_CHECK_TOOL(OBJDUMP, objdump, false)
4199
 
-  ;;
4200
 
-  ])
4201
 
-esac
4202
 
+  case $lt_cv_dlopen in
4203
 
+  dlopen)
4204
 
+    save_CPPFLAGS="$CPPFLAGS"
4205
 
+    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
4206
 
 
4207
 
-need_locks="$enable_libtool_lock"
4208
 
+    save_LDFLAGS="$LDFLAGS"
4209
 
+    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
4210
 
 
4211
 
-])# _LT_AC_LOCK
4212
 
+    save_LIBS="$LIBS"
4213
 
+    LIBS="$lt_cv_dlopen_libs $LIBS"
4214
 
 
4215
 
+    AC_CACHE_CHECK([whether a program can dlopen itself],
4216
 
+         lt_cv_dlopen_self, [dnl
4217
 
+         _LT_TRY_DLOPEN_SELF(
4218
 
+           lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
4219
 
+           lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
4220
 
+    ])
4221
 
 
4222
 
-# AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
4223
 
-#              [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
4224
 
-# ----------------------------------------------------------------
4225
 
-# Check whether the given compiler option works
4226
 
-AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION],
4227
 
-[AC_REQUIRE([LT_AC_PROG_SED])
4228
 
-AC_CACHE_CHECK([$1], [$2],
4229
 
-  [$2=no
4230
 
-  ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
4231
 
+    if test "x$lt_cv_dlopen_self" = xyes; then
4232
 
+      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
4233
 
+      AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
4234
 
+         lt_cv_dlopen_self_static, [dnl
4235
 
+         _LT_TRY_DLOPEN_SELF(
4236
 
+           lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
4237
 
+           lt_cv_dlopen_self_static=no,  lt_cv_dlopen_self_static=cross)
4238
 
+      ])
4239
 
+    fi
4240
 
+
4241
 
+    CPPFLAGS="$save_CPPFLAGS"
4242
 
+    LDFLAGS="$save_LDFLAGS"
4243
 
+    LIBS="$save_LIBS"
4244
 
+    ;;
4245
 
+  esac
4246
 
+
4247
 
+  case $lt_cv_dlopen_self in
4248
 
+  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
4249
 
+  *) enable_dlopen_self=unknown ;;
4250
 
+  esac
4251
 
+
4252
 
+  case $lt_cv_dlopen_self_static in
4253
 
+  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
4254
 
+  *) enable_dlopen_self_static=unknown ;;
4255
 
+  esac
4256
 
+fi
4257
 
+_LT_DECL([dlopen_support], [enable_dlopen], [0],
4258
 
+        [Whether dlopen is supported])
4259
 
+_LT_DECL([dlopen_self], [enable_dlopen_self], [0],
4260
 
+        [Whether dlopen of programs is supported])
4261
 
+_LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0],
4262
 
+        [Whether dlopen of statically linked programs is supported])
4263
 
+])# LT_SYS_DLOPEN_SELF
4264
 
+
4265
 
+# Old name:
4266
 
+AU_ALIAS([AC_LIBTOOL_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF])
4267
 
+dnl aclocal-1.4 backwards compatibility:
4268
 
+dnl AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [])
4269
 
+
4270
 
+
4271
 
+# _LT_COMPILER_C_O([TAGNAME])
4272
 
+# ---------------------------
4273
 
+# Check to see if options -c and -o are simultaneously supported by compiler.
4274
 
+# This macro does not hard code the compiler like AC_PROG_CC_C_O.
4275
 
+m4_defun([_LT_COMPILER_C_O],
4276
 
+[m4_require([_LT_DECL_SED])dnl
4277
 
+m4_require([_LT_FILEUTILS_DEFAULTS])dnl
4278
 
+m4_require([_LT_TAG_COMPILER])dnl
4279
 
+AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
4280
 
+  [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
4281
 
+  [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
4282
 
+   $RM -r conftest 2>/dev/null
4283
 
+   mkdir conftest
4284
 
+   cd conftest
4285
 
+   mkdir out
4286
 
    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
4287
 
-   lt_compiler_flag="$3"
4288
 
+
4289
 
+   lt_compiler_flag="-o out/conftest2.$ac_objext"
4290
 
    # Insert the option either (1) after the last *FLAGS variable, or
4291
 
    # (2) before a word containing "conftest.", or (3) at the end.
4292
 
    # Note that $ac_compile itself does not contain backslashes and begins
4293
 
    # with a dollar sign (not a hyphen), so the echo should work correctly.
4294
 
-   # The option is referenced via a variable to avoid confusing sed.
4295
 
    lt_compile=`echo "$ac_compile" | $SED \
4296
 
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
4297
 
    -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
4298
 
    -e 's:$: $lt_compiler_flag:'`
4299
 
    (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
4300
 
-   (eval "$lt_compile" 2>conftest.err)
4301
 
+   (eval "$lt_compile" 2>out/conftest.err)
4302
 
    ac_status=$?
4303
 
-   cat conftest.err >&AS_MESSAGE_LOG_FD
4304
 
+   cat out/conftest.err >&AS_MESSAGE_LOG_FD
4305
 
    echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
4306
 
-   if (exit $ac_status) && test -s "$ac_outfile"; then
4307
 
+   if (exit $ac_status) && test -s out/conftest2.$ac_objext
4308
 
+   then
4309
 
      # The compiler can only warn and ignore the option if not recognized
4310
 
-     # So say no if there are warnings other than the usual output.
4311
 
-     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
4312
 
-     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
4313
 
-     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
4314
 
-       $2=yes
4315
 
+     # So say no if there are warnings
4316
 
+     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
4317
 
+     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
4318
 
+     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
4319
 
+       _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
4320
 
      fi
4321
 
    fi
4322
 
-   $rm conftest*
4323
 
+   chmod u+w . 2>&AS_MESSAGE_LOG_FD
4324
 
+   $RM conftest*
4325
 
+   # SGI C++ compiler will create directory out/ii_files/ for
4326
 
+   # template instantiation
4327
 
+   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
4328
 
+   $RM out/* && rmdir out
4329
 
+   cd ..
4330
 
+   $RM -r conftest
4331
 
+   $RM conftest*
4332
 
 ])
4333
 
+_LT_TAGDECL([compiler_c_o], [lt_cv_prog_compiler_c_o], [1],
4334
 
+       [Does compiler simultaneously support -c and -o options?])
4335
 
+])# _LT_COMPILER_C_O
4336
 
 
4337
 
-if test x"[$]$2" = xyes; then
4338
 
-    ifelse([$5], , :, [$5])
4339
 
+
4340
 
+# _LT_COMPILER_FILE_LOCKS([TAGNAME])
4341
 
+# ----------------------------------
4342
 
+# Check to see if we can do hard links to lock some files if needed
4343
 
+m4_defun([_LT_COMPILER_FILE_LOCKS],
4344
 
+[m4_require([_LT_ENABLE_LOCK])dnl
4345
 
+m4_require([_LT_FILEUTILS_DEFAULTS])dnl
4346
 
+_LT_COMPILER_C_O([$1])
4347
 
+
4348
 
+hard_links="nottested"
4349
 
+if test "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
4350
 
+  # do not overwrite the value of need_locks provided by the user
4351
 
+  AC_MSG_CHECKING([if we can lock with hard links])
4352
 
+  hard_links=yes
4353
 
+  $RM conftest*
4354
 
+  ln conftest.a conftest.b 2>/dev/null && hard_links=no
4355
 
+  touch conftest.a
4356
 
+  ln conftest.a conftest.b 2>&5 || hard_links=no
4357
 
+  ln conftest.a conftest.b 2>/dev/null && hard_links=no
4358
 
+  AC_MSG_RESULT([$hard_links])
4359
 
+  if test "$hard_links" = no; then
4360
 
+    AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe])
4361
 
+    need_locks=warn
4362
 
+  fi
4363
 
 else
4364
 
-    ifelse([$6], , :, [$6])
4365
 
+  need_locks=no
4366
 
 fi
4367
 
-])# AC_LIBTOOL_COMPILER_OPTION
4368
 
+_LT_DECL([], [need_locks], [1], [Must we lock files when doing compilation?])
4369
 
+])# _LT_COMPILER_FILE_LOCKS
4370
 
 
4371
 
 
4372
 
-# AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
4373
 
-#                          [ACTION-SUCCESS], [ACTION-FAILURE])
4374
 
-# ------------------------------------------------------------
4375
 
-# Check whether the given compiler option works
4376
 
-AC_DEFUN([AC_LIBTOOL_LINKER_OPTION],
4377
 
-[AC_REQUIRE([LT_AC_PROG_SED])dnl
4378
 
-AC_CACHE_CHECK([$1], [$2],
4379
 
-  [$2=no
4380
 
-   save_LDFLAGS="$LDFLAGS"
4381
 
-   LDFLAGS="$LDFLAGS $3"
4382
 
-   echo "$lt_simple_link_test_code" > conftest.$ac_ext
4383
 
-   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
4384
 
-     # The linker can only warn and ignore the option if not recognized
4385
 
-     # So say no if there are warnings
4386
 
-     if test -s conftest.err; then
4387
 
-       # Append any errors to the config.log.
4388
 
-       cat conftest.err 1>&AS_MESSAGE_LOG_FD
4389
 
-       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
4390
 
-       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
4391
 
-       if diff conftest.exp conftest.er2 >/dev/null; then
4392
 
-         $2=yes
4393
 
-       fi
4394
 
-     else
4395
 
-       $2=yes
4396
 
-     fi
4397
 
-   fi
4398
 
-   $rm -r conftest*
4399
 
-   LDFLAGS="$save_LDFLAGS"
4400
 
-])
4401
 
-
4402
 
-if test x"[$]$2" = xyes; then
4403
 
-    ifelse([$4], , :, [$4])
4404
 
+# _LT_CHECK_OBJDIR
4405
 
+# ----------------
4406
 
+m4_defun([_LT_CHECK_OBJDIR],
4407
 
+[AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
4408
 
+[rm -f .libs 2>/dev/null
4409
 
+mkdir .libs 2>/dev/null
4410
 
+if test -d .libs; then
4411
 
+  lt_cv_objdir=.libs
4412
 
 else
4413
 
-    ifelse([$5], , :, [$5])
4414
 
+  # MS-DOS does not allow filenames that begin with a dot.
4415
 
+  lt_cv_objdir=_libs
4416
 
 fi
4417
 
-])# AC_LIBTOOL_LINKER_OPTION
4418
 
-
4419
 
+rmdir .libs 2>/dev/null])
4420
 
+objdir=$lt_cv_objdir
4421
 
+_LT_DECL([], [objdir], [0],
4422
 
+         [The name of the directory that contains temporary libtool files])dnl
4423
 
+m4_pattern_allow([LT_OBJDIR])dnl
4424
 
+AC_DEFINE_UNQUOTED(LT_OBJDIR, "$lt_cv_objdir/",
4425
 
+  [Define to the sub-directory in which libtool stores uninstalled libraries.])
4426
 
+])# _LT_CHECK_OBJDIR
4427
 
 
4428
 
-# AC_LIBTOOL_SYS_MAX_CMD_LEN
4429
 
-# --------------------------
4430
 
-AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN],
4431
 
-[# find the maximum length of command line arguments
4432
 
-AC_MSG_CHECKING([the maximum length of command line arguments])
4433
 
-AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
4434
 
-  i=0
4435
 
-  teststring="ABCD"
4436
 
 
4437
 
-  case $build_os in
4438
 
-  msdosdjgpp*)
4439
 
-    # On DJGPP, this test can blow up pretty badly due to problems in libc
4440
 
-    # (any single argument exceeding 2000 bytes causes a buffer overrun
4441
 
-    # during glob expansion).  Even if it were fixed, the result of this
4442
 
-    # check would be larger than it should be.
4443
 
-    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4444
 
-    ;;
4445
 
+# _LT_LINKER_HARDCODE_LIBPATH([TAGNAME])
4446
 
+# --------------------------------------
4447
 
+# Check hardcoding attributes.
4448
 
+m4_defun([_LT_LINKER_HARDCODE_LIBPATH],
4449
 
+[AC_MSG_CHECKING([how to hardcode library paths into programs])
4450
 
+_LT_TAGVAR(hardcode_action, $1)=
4451
 
+if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" ||
4452
 
+   test -n "$_LT_TAGVAR(runpath_var, $1)" ||
4453
 
+   test "X$_LT_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then
4454
 
 
4455
 
-  gnu*)
4456
 
-    # Under GNU Hurd, this test is not required because there is
4457
 
-    # no limit to the length of command line arguments.
4458
 
-    # Libtool will interpret -1 as no limit whatsoever
4459
 
-    lt_cv_sys_max_cmd_len=-1;
4460
 
-    ;;
4461
 
-
4462
 
-  cygwin* | mingw*)
4463
 
-    # On Win9x/ME, this test blows up -- it succeeds, but takes
4464
 
-    # about 5 minutes as the teststring grows exponentially.
4465
 
-    # Worse, since 9x/ME are not pre-emptively multitasking,
4466
 
-    # you end up with a "frozen" computer, even though with patience
4467
 
-    # the test eventually succeeds (with a max line length of 256k).
4468
 
-    # Instead, let's just punt: use the minimum linelength reported by
4469
 
-    # all of the supported platforms: 8192 (on NT/2K/XP).
4470
 
-    lt_cv_sys_max_cmd_len=8192;
4471
 
-    ;;
4472
 
-
4473
 
-  amigaos*)
4474
 
-    # On AmigaOS with pdksh, this test takes hours, literally.
4475
 
-    # So we just punt and use a minimum line length of 8192.
4476
 
-    lt_cv_sys_max_cmd_len=8192;
4477
 
-    ;;
4478
 
+  # We can hardcode non-existent directories.
4479
 
+  if test "$_LT_TAGVAR(hardcode_direct, $1)" != no &&
4480
 
+     # If the only mechanism to avoid hardcoding is shlibpath_var, we
4481
 
+     # have to relink, otherwise we might link with an installed library
4482
 
+     # when we should be linking with a yet-to-be-installed one
4483
 
+     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
4484
 
+     test "$_LT_TAGVAR(hardcode_minus_L, $1)" != no; then
4485
 
+    # Linking always hardcodes the temporary library directory.
4486
 
+    _LT_TAGVAR(hardcode_action, $1)=relink
4487
 
+  else
4488
 
+    # We can link without hardcoding, and we can hardcode nonexisting dirs.
4489
 
+    _LT_TAGVAR(hardcode_action, $1)=immediate
4490
 
+  fi
4491
 
+else
4492
 
+  # We cannot hardcode anything, or else we can only hardcode existing
4493
 
+  # directories.
4494
 
+  _LT_TAGVAR(hardcode_action, $1)=unsupported
4495
 
+fi
4496
 
+AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)])
4497
 
 
4498
 
-  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4499
 
-    # This has been around since 386BSD, at least.  Likely further.
4500
 
-    if test -x /sbin/sysctl; then
4501
 
-      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4502
 
-    elif test -x /usr/sbin/sysctl; then
4503
 
-      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4504
 
-    else
4505
 
-      lt_cv_sys_max_cmd_len=65536      # usable default for all BSDs
4506
 
-    fi
4507
 
-    # And add a safety zone
4508
 
-    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4509
 
-    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4510
 
-    ;;
4511
 
+if test "$_LT_TAGVAR(hardcode_action, $1)" = relink ||
4512
 
+   test "$_LT_TAGVAR(inherit_rpath, $1)" = yes; then
4513
 
+  # Fast installation is not supported
4514
 
+  enable_fast_install=no
4515
 
+elif test "$shlibpath_overrides_runpath" = yes ||
4516
 
+     test "$enable_shared" = no; then
4517
 
+  # Fast installation is not necessary
4518
 
+  enable_fast_install=needless
4519
 
+fi
4520
 
+_LT_TAGDECL([], [hardcode_action], [0],
4521
 
+    [How to hardcode a shared library path into an executable])
4522
 
+])# _LT_LINKER_HARDCODE_LIBPATH
4523
 
 
4524
 
-  interix*)
4525
 
-    # We know the value 262144 and hardcode it with a safety zone (like BSD)
4526
 
-    lt_cv_sys_max_cmd_len=196608
4527
 
-    ;;
4528
 
 
4529
 
-  osf*)
4530
 
-    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4531
 
-    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4532
 
-    # nice to cause kernel panics so lets avoid the loop below.
4533
 
-    # First set a reasonable default.
4534
 
-    lt_cv_sys_max_cmd_len=16384
4535
 
-    #
4536
 
-    if test -x /sbin/sysconfig; then
4537
 
-      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4538
 
-        *1*) lt_cv_sys_max_cmd_len=-1 ;;
4539
 
-      esac
4540
 
-    fi
4541
 
-    ;;
4542
 
-  sco3.2v5*)
4543
 
-    lt_cv_sys_max_cmd_len=102400
4544
 
-    ;;
4545
 
-  sysv5* | sco5v6* | sysv4.2uw2*)
4546
 
-    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4547
 
-    if test -n "$kargmax"; then
4548
 
-      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[       ]]//'`
4549
 
+# _LT_CMD_STRIPLIB
4550
 
+# ----------------
4551
 
+m4_defun([_LT_CMD_STRIPLIB],
4552
 
+[m4_require([_LT_DECL_EGREP])
4553
 
+striplib=
4554
 
+old_striplib=
4555
 
+AC_MSG_CHECKING([whether stripping libraries is possible])
4556
 
+if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
4557
 
+  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
4558
 
+  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
4559
 
+  AC_MSG_RESULT([yes])
4560
 
+else
4561
 
+# FIXME - insert some real tests, host_os isn't really good enough
4562
 
+  case $host_os in
4563
 
+  darwin*)
4564
 
+    if test -n "$STRIP" ; then
4565
 
+      striplib="$STRIP -x"
4566
 
+      old_striplib="$STRIP -S"
4567
 
+      AC_MSG_RESULT([yes])
4568
 
     else
4569
 
-      lt_cv_sys_max_cmd_len=32768
4570
 
+      AC_MSG_RESULT([no])
4571
 
     fi
4572
 
     ;;
4573
 
   *)
4574
 
-    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4575
 
-    if test -n "$lt_cv_sys_max_cmd_len"; then
4576
 
-      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4577
 
-      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4578
 
-    else
4579
 
-      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4580
 
-      while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \
4581
 
-              = "XX$teststring") >/dev/null 2>&1 &&
4582
 
-             new_result=`expr "X$teststring" : ".*" 2>&1` &&
4583
 
-             lt_cv_sys_max_cmd_len=$new_result &&
4584
 
-             test $i != 17 # 1/2 MB should be enough
4585
 
-      do
4586
 
-        i=`expr $i + 1`
4587
 
-        teststring=$teststring$teststring
4588
 
-      done
4589
 
-      teststring=
4590
 
-      # Add a significant safety factor because C++ compilers can tack on massive
4591
 
-      # amounts of additional arguments before passing them to the linker.
4592
 
-      # It appears as though 1/2 is a usable value.
4593
 
-      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4594
 
-    fi
4595
 
+    AC_MSG_RESULT([no])
4596
 
     ;;
4597
 
   esac
4598
 
-])
4599
 
-if test -n $lt_cv_sys_max_cmd_len ; then
4600
 
-  AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
4601
 
-else
4602
 
-  AC_MSG_RESULT(none)
4603
 
 fi
4604
 
-])# AC_LIBTOOL_SYS_MAX_CMD_LEN
4605
 
-
4606
 
-
4607
 
-# _LT_AC_CHECK_DLFCN
4608
 
-# ------------------
4609
 
-AC_DEFUN([_LT_AC_CHECK_DLFCN],
4610
 
-[AC_CHECK_HEADERS(dlfcn.h)dnl
4611
 
-])# _LT_AC_CHECK_DLFCN
4612
 
+_LT_DECL([], [old_striplib], [1], [Commands to strip libraries])
4613
 
+_LT_DECL([], [striplib], [1])
4614
 
+])# _LT_CMD_STRIPLIB
4615
 
 
4616
 
 
4617
 
-# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
4618
 
-#                           ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
4619
 
-# ---------------------------------------------------------------------
4620
 
-AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF],
4621
 
-[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
4622
 
-if test "$cross_compiling" = yes; then :
4623
 
-  [$4]
4624
 
+# _LT_SYS_DYNAMIC_LINKER([TAG])
4625
 
+# -----------------------------
4626
 
+# PORTME Fill in your ld.so characteristics
4627
 
+m4_defun([_LT_SYS_DYNAMIC_LINKER],
4628
 
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
4629
 
+m4_require([_LT_DECL_EGREP])dnl
4630
 
+m4_require([_LT_FILEUTILS_DEFAULTS])dnl
4631
 
+m4_require([_LT_DECL_OBJDUMP])dnl
4632
 
+m4_require([_LT_DECL_SED])dnl
4633
 
+AC_MSG_CHECKING([dynamic linker characteristics])
4634
 
+m4_if([$1],
4635
 
+       [], [
4636
 
+if test "$GCC" = yes; then
4637
 
+  case $host_os in
4638
 
+    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
4639
 
+    *) lt_awk_arg="/^libraries:/" ;;
4640
 
+  esac
4641
 
+  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
4642
 
+  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
4643
 
+    # if the path contains ";" then we assume it to be the separator
4644
 
+    # otherwise default to the standard path separator (i.e. ":") - it is
4645
 
+    # assumed that no part of a normal pathname contains ";" but that should
4646
 
+    # okay in the real world where ";" in dirpaths is itself problematic.
4647
 
+    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
4648
 
+  else
4649
 
+    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
4650
 
+  fi
4651
 
+  # Ok, now we have the path, separated by spaces, we can step through it
4652
 
+  # and add multilib dir if necessary.
4653
 
+  lt_tmp_lt_search_path_spec=
4654
 
+  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
4655
 
+  for lt_sys_path in $lt_search_path_spec; do
4656
 
+    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
4657
 
+      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
4658
 
+    else
4659
 
+      test -d "$lt_sys_path" && \
4660
 
+       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
4661
 
+    fi
4662
 
+  done
4663
 
+  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
4664
 
+BEGIN {RS=" "; FS="/|\n";} {
4665
 
+  lt_foo="";
4666
 
+  lt_count=0;
4667
 
+  for (lt_i = NF; lt_i > 0; lt_i--) {
4668
 
+    if ($lt_i != "" && $lt_i != ".") {
4669
 
+      if ($lt_i == "..") {
4670
 
+        lt_count++;
4671
 
+      } else {
4672
 
+        if (lt_count == 0) {
4673
 
+          lt_foo="/" $lt_i lt_foo;
4674
 
+        } else {
4675
 
+          lt_count--;
4676
 
+        }
4677
 
+      }
4678
 
+    }
4679
 
+  }
4680
 
+  if (lt_foo != "") { lt_freq[[lt_foo]]++; }
4681
 
+  if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
4682
 
+}'`
4683
 
+  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
4684
 
 else
4685
 
-  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
4686
 
-  lt_status=$lt_dlunknown
4687
 
-  cat > conftest.$ac_ext <<EOF
4688
 
-[#line __oline__ "configure"
4689
 
-#include "confdefs.h"
4690
 
-
4691
 
-#if HAVE_DLFCN_H
4692
 
-#include <dlfcn.h>
4693
 
-#endif
4694
 
-
4695
 
-#include <stdio.h>
4696
 
-
4697
 
-#ifdef RTLD_GLOBAL
4698
 
-#  define LT_DLGLOBAL          RTLD_GLOBAL
4699
 
-#else
4700
 
-#  ifdef DL_GLOBAL
4701
 
-#    define LT_DLGLOBAL                DL_GLOBAL
4702
 
-#  else
4703
 
-#    define LT_DLGLOBAL                0
4704
 
-#  endif
4705
 
-#endif
4706
 
+  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
4707
 
+fi])
4708
 
+library_names_spec=
4709
 
+libname_spec='lib$name'
4710
 
+soname_spec=
4711
 
+shrext_cmds=".so"
4712
 
+postinstall_cmds=
4713
 
+postuninstall_cmds=
4714
 
+finish_cmds=
4715
 
+finish_eval=
4716
 
+shlibpath_var=
4717
 
+shlibpath_overrides_runpath=unknown
4718
 
+version_type=none
4719
 
+dynamic_linker="$host_os ld.so"
4720
 
+sys_lib_dlsearch_path_spec="/lib /usr/lib"
4721
 
+need_lib_prefix=unknown
4722
 
+hardcode_into_libs=no
4723
 
 
4724
 
-/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
4725
 
-   find out it does not work in some platform. */
4726
 
-#ifndef LT_DLLAZY_OR_NOW
4727
 
-#  ifdef RTLD_LAZY
4728
 
-#    define LT_DLLAZY_OR_NOW           RTLD_LAZY
4729
 
-#  else
4730
 
-#    ifdef DL_LAZY
4731
 
-#      define LT_DLLAZY_OR_NOW         DL_LAZY
4732
 
-#    else
4733
 
-#      ifdef RTLD_NOW
4734
 
-#        define LT_DLLAZY_OR_NOW       RTLD_NOW
4735
 
-#      else
4736
 
-#        ifdef DL_NOW
4737
 
-#          define LT_DLLAZY_OR_NOW     DL_NOW
4738
 
-#        else
4739
 
-#          define LT_DLLAZY_OR_NOW     0
4740
 
-#        endif
4741
 
-#      endif
4742
 
-#    endif
4743
 
-#  endif
4744
 
-#endif
4745
 
+# when you set need_version to no, make sure it does not cause -set_version
4746
 
+# flags to be left without arguments
4747
 
+need_version=unknown
4748
 
 
4749
 
-#ifdef __cplusplus
4750
 
-extern "C" void exit (int);
4751
 
-#endif
4752
 
+case $host_os in
4753
 
+aix3*)
4754
 
+  version_type=linux
4755
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
4756
 
+  shlibpath_var=LIBPATH
4757
 
 
4758
 
-void fnord() { int i=42;}
4759
 
-int main ()
4760
 
-{
4761
 
-  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
4762
 
-  int status = $lt_dlunknown;
4763
 
+  # AIX 3 has no versioning support, so we append a major version to the name.
4764
 
+  soname_spec='${libname}${release}${shared_ext}$major'
4765
 
+  ;;
4766
 
 
4767
 
-  if (self)
4768
 
-    {
4769
 
-      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
4770
 
-      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
4771
 
-      /* dlclose (self); */
4772
 
-    }
4773
 
+aix[[4-9]]*)
4774
 
+  version_type=linux
4775
 
+  need_lib_prefix=no
4776
 
+  need_version=no
4777
 
+  hardcode_into_libs=yes
4778
 
+  if test "$host_cpu" = ia64; then
4779
 
+    # AIX 5 supports IA64
4780
 
+    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
4781
 
+    shlibpath_var=LD_LIBRARY_PATH
4782
 
   else
4783
 
-    puts (dlerror ());
4784
 
-
4785
 
-    exit (status);
4786
 
-}]
4787
 
-EOF
4788
 
-  if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
4789
 
-    (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
4790
 
-    lt_status=$?
4791
 
-    case x$lt_status in
4792
 
-      x$lt_dlno_uscore) $1 ;;
4793
 
-      x$lt_dlneed_uscore) $2 ;;
4794
 
-      x$lt_dlunknown|x*) $3 ;;
4795
 
+    # With GCC up to 2.95.x, collect2 would create an import file
4796
 
+    # for dependence libraries.  The import file would start with
4797
 
+    # the line `#! .'.  This would cause the generated library to
4798
 
+    # depend on `.', always an invalid library.  This was fixed in
4799
 
+    # development snapshots of GCC prior to 3.0.
4800
 
+    case $host_os in
4801
 
+      aix4 | aix4.[[01]] | aix4.[[01]].*)
4802
 
+      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
4803
 
+          echo ' yes '
4804
 
+          echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
4805
 
+       :
4806
 
+      else
4807
 
+       can_build_shared=no
4808
 
+      fi
4809
 
+      ;;
4810
 
     esac
4811
 
-  else :
4812
 
-    # compilation failed
4813
 
-    $3
4814
 
+    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
4815
 
+    # soname into executable. Probably we can add versioning support to
4816
 
+    # collect2, so additional links can be useful in future.
4817
 
+    if test "$aix_use_runtimelinking" = yes; then
4818
 
+      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
4819
 
+      # instead of lib<name>.a to let people know that these are not
4820
 
+      # typical AIX shared libraries.
4821
 
+      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4822
 
+    else
4823
 
+      # We preserve .a as extension for shared libraries through AIX4.2
4824
 
+      # and later when we are not doing run time linking.
4825
 
+      library_names_spec='${libname}${release}.a $libname.a'
4826
 
+      soname_spec='${libname}${release}${shared_ext}$major'
4827
 
+    fi
4828
 
+    shlibpath_var=LIBPATH
4829
 
   fi
4830
 
-fi
4831
 
-rm -fr conftest*
4832
 
-])# _LT_AC_TRY_DLOPEN_SELF
4833
 
+  ;;
4834
 
 
4835
 
+amigaos*)
4836
 
+  case $host_cpu in
4837
 
+  powerpc)
4838
 
+    # Since July 2007 AmigaOS4 officially supports .so libraries.
4839
 
+    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
4840
 
+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4841
 
+    ;;
4842
 
+  m68k)
4843
 
+    library_names_spec='$libname.ixlibrary $libname.a'
4844
 
+    # Create ${libname}_ixlibrary.a entries in /sys/libs.
4845
 
+    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'
4846
 
+    ;;
4847
 
+  esac
4848
 
+  ;;
4849
 
 
4850
 
-# AC_LIBTOOL_DLOPEN_SELF
4851
 
-# ----------------------
4852
 
-AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF],
4853
 
-[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
4854
 
-if test "x$enable_dlopen" != xyes; then
4855
 
-  enable_dlopen=unknown
4856
 
-  enable_dlopen_self=unknown
4857
 
-  enable_dlopen_self_static=unknown
4858
 
-else
4859
 
-  lt_cv_dlopen=no
4860
 
-  lt_cv_dlopen_libs=
4861
 
+beos*)
4862
 
+  library_names_spec='${libname}${shared_ext}'
4863
 
+  dynamic_linker="$host_os ld.so"
4864
 
+  shlibpath_var=LIBRARY_PATH
4865
 
+  ;;
4866
 
 
4867
 
-  case $host_os in
4868
 
-  beos*)
4869
 
-    lt_cv_dlopen="load_add_on"
4870
 
-    lt_cv_dlopen_libs=
4871
 
-    lt_cv_dlopen_self=yes
4872
 
-    ;;
4873
 
+bsdi[[45]]*)
4874
 
+  version_type=linux
4875
 
+  need_version=no
4876
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4877
 
+  soname_spec='${libname}${release}${shared_ext}$major'
4878
 
+  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
4879
 
+  shlibpath_var=LD_LIBRARY_PATH
4880
 
+  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
4881
 
+  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
4882
 
+  # the default ld.so.conf also contains /usr/contrib/lib and
4883
 
+  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
4884
 
+  # libtool to hard-code these into programs
4885
 
+  ;;
4886
 
 
4887
 
-  mingw* | pw32*)
4888
 
-    lt_cv_dlopen="LoadLibrary"
4889
 
-    lt_cv_dlopen_libs=
4890
 
-   ;;
4891
 
+cygwin* | mingw* | pw32* | cegcc*)
4892
 
+  version_type=windows
4893
 
+  shrext_cmds=".dll"
4894
 
+  need_version=no
4895
 
+  need_lib_prefix=no
4896
 
 
4897
 
-  cygwin*)
4898
 
-    lt_cv_dlopen="dlopen"
4899
 
-    lt_cv_dlopen_libs=
4900
 
-   ;;
4901
 
+  case $GCC,$host_os in
4902
 
+  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
4903
 
+    library_names_spec='$libname.dll.a'
4904
 
+    # DLL is installed to $(libdir)/../bin by postinstall_cmds
4905
 
+    postinstall_cmds='base_file=`basename \${file}`~
4906
 
+      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
4907
 
+      dldir=$destdir/`dirname \$dlpath`~
4908
 
+      test -d \$dldir || mkdir -p \$dldir~
4909
 
+      $install_prog $dir/$dlname \$dldir/$dlname~
4910
 
+      chmod a+x \$dldir/$dlname~
4911
 
+      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
4912
 
+        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
4913
 
+      fi'
4914
 
+    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
4915
 
+      dlpath=$dir/\$dldll~
4916
 
+       $RM \$dlpath'
4917
 
+    shlibpath_overrides_runpath=yes
4918
 
 
4919
 
-  darwin*)
4920
 
-  # if libdl is installed we need to link against it
4921
 
-    AC_CHECK_LIB([dl], [dlopen],
4922
 
-               [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
4923
 
-    lt_cv_dlopen="dyld"
4924
 
-    lt_cv_dlopen_libs=
4925
 
-    lt_cv_dlopen_self=yes
4926
 
-    ])
4927
 
-   ;;
4928
 
+    case $host_os in
4929
 
+    cygwin*)
4930
 
+      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
4931
 
+      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
4932
 
+      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
4933
 
+      ;;
4934
 
+    mingw* | cegcc*)
4935
 
+      # MinGW DLLs use traditional 'lib' prefix
4936
 
+      soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
4937
 
+      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
4938
 
+      if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
4939
 
+        # It is most probably a Windows format PATH printed by
4940
 
+        # mingw gcc, but we are running on Cygwin. Gcc prints its search
4941
 
+        # path with ; separators, and with drive letters. We can handle the
4942
 
+        # drive letters (cygwin fileutils understands them), so leave them,
4943
 
+        # especially as we might pass files found there to a mingw objdump,
4944
 
+        # which wouldn't understand a cygwinified path. Ahh.
4945
 
+        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
4946
 
+      else
4947
 
+        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
4948
 
+      fi
4949
 
+      ;;
4950
 
+    pw32*)
4951
 
+      # pw32 DLLs use 'pw' prefix rather than 'lib'
4952
 
+      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
4953
 
+      ;;
4954
 
+    esac
4955
 
+    ;;
4956
 
 
4957
 
   *)
4958
 
-    AC_CHECK_FUNC([shl_load],
4959
 
-         [lt_cv_dlopen="shl_load"],
4960
 
-      [AC_CHECK_LIB([dld], [shl_load],
4961
 
-           [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"],
4962
 
-       [AC_CHECK_FUNC([dlopen],
4963
 
-             [lt_cv_dlopen="dlopen"],
4964
 
-         [AC_CHECK_LIB([dl], [dlopen],
4965
 
-               [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
4966
 
-           [AC_CHECK_LIB([svld], [dlopen],
4967
 
-                 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
4968
 
-             [AC_CHECK_LIB([dld], [dld_link],
4969
 
-                   [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"])
4970
 
-             ])
4971
 
-           ])
4972
 
-         ])
4973
 
-       ])
4974
 
-      ])
4975
 
+    library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
4976
 
     ;;
4977
 
   esac
4978
 
+  dynamic_linker='Win32 ld.exe'
4979
 
+  # FIXME: first we should search . and the directory the executable is in
4980
 
+  shlibpath_var=PATH
4981
 
+  ;;
4982
 
 
4983
 
-  if test "x$lt_cv_dlopen" != xno; then
4984
 
-    enable_dlopen=yes
4985
 
-  else
4986
 
-    enable_dlopen=no
4987
 
-  fi
4988
 
-
4989
 
-  case $lt_cv_dlopen in
4990
 
-  dlopen)
4991
 
-    save_CPPFLAGS="$CPPFLAGS"
4992
 
-    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
4993
 
-
4994
 
-    save_LDFLAGS="$LDFLAGS"
4995
 
-    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
4996
 
-
4997
 
-    save_LIBS="$LIBS"
4998
 
-    LIBS="$lt_cv_dlopen_libs $LIBS"
4999
 
+darwin* | rhapsody*)
5000
 
+  dynamic_linker="$host_os dyld"
5001
 
+  version_type=darwin
5002
 
+  need_lib_prefix=no
5003
 
+  need_version=no
5004
 
+  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
5005
 
+  soname_spec='${libname}${release}${major}$shared_ext'
5006
 
+  shlibpath_overrides_runpath=yes
5007
 
+  shlibpath_var=DYLD_LIBRARY_PATH
5008
 
+  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
5009
 
+m4_if([$1], [],[
5010
 
+  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"])
5011
 
+  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
5012
 
+  ;;
5013
 
 
5014
 
-    AC_CACHE_CHECK([whether a program can dlopen itself],
5015
 
-         lt_cv_dlopen_self, [dnl
5016
 
-         _LT_AC_TRY_DLOPEN_SELF(
5017
 
-           lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
5018
 
-           lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
5019
 
-    ])
5020
 
+dgux*)
5021
 
+  version_type=linux
5022
 
+  need_lib_prefix=no
5023
 
+  need_version=no
5024
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
5025
 
+  soname_spec='${libname}${release}${shared_ext}$major'
5026
 
+  shlibpath_var=LD_LIBRARY_PATH
5027
 
+  ;;
5028
 
 
5029
 
-    if test "x$lt_cv_dlopen_self" = xyes; then
5030
 
-      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
5031
 
-      AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
5032
 
-         lt_cv_dlopen_self_static, [dnl
5033
 
-         _LT_AC_TRY_DLOPEN_SELF(
5034
 
-           lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
5035
 
-           lt_cv_dlopen_self_static=no,  lt_cv_dlopen_self_static=cross)
5036
 
-      ])
5037
 
-    fi
5038
 
+freebsd1*)
5039
 
+  dynamic_linker=no
5040
 
+  ;;
5041
 
 
5042
 
-    CPPFLAGS="$save_CPPFLAGS"
5043
 
-    LDFLAGS="$save_LDFLAGS"
5044
 
-    LIBS="$save_LIBS"
5045
 
+freebsd* | dragonfly*)
5046
 
+  # DragonFly does not have aout.  When/if they implement a new
5047
 
+  # versioning mechanism, adjust this.
5048
 
+  if test -x /usr/bin/objformat; then
5049
 
+    objformat=`/usr/bin/objformat`
5050
 
+  else
5051
 
+    case $host_os in
5052
 
+    freebsd[[123]]*) objformat=aout ;;
5053
 
+    *) objformat=elf ;;
5054
 
+    esac
5055
 
+  fi
5056
 
+  version_type=freebsd-$objformat
5057
 
+  case $version_type in
5058
 
+    freebsd-elf*)
5059
 
+      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
5060
 
+      need_version=no
5061
 
+      need_lib_prefix=no
5062
 
+      ;;
5063
 
+    freebsd-*)
5064
 
+      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
5065
 
+      need_version=yes
5066
 
+      ;;
5067
 
+  esac
5068
 
+  shlibpath_var=LD_LIBRARY_PATH
5069
 
+  case $host_os in
5070
 
+  freebsd2*)
5071
 
+    shlibpath_overrides_runpath=yes
5072
 
+    ;;
5073
 
+  freebsd3.[[01]]* | freebsdelf3.[[01]]*)
5074
 
+    shlibpath_overrides_runpath=yes
5075
 
+    hardcode_into_libs=yes
5076
 
+    ;;
5077
 
+  freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \
5078
 
+  freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1)
5079
 
+    shlibpath_overrides_runpath=no
5080
 
+    hardcode_into_libs=yes
5081
 
+    ;;
5082
 
+  *) # from 4.6 on, and DragonFly
5083
 
+    shlibpath_overrides_runpath=yes
5084
 
+    hardcode_into_libs=yes
5085
 
     ;;
5086
 
   esac
5087
 
+  ;;
5088
 
 
5089
 
-  case $lt_cv_dlopen_self in
5090
 
-  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
5091
 
-  *) enable_dlopen_self=unknown ;;
5092
 
-  esac
5093
 
+gnu*)
5094
 
+  version_type=linux
5095
 
+  need_lib_prefix=no
5096
 
+  need_version=no
5097
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
5098
 
+  soname_spec='${libname}${release}${shared_ext}$major'
5099
 
+  shlibpath_var=LD_LIBRARY_PATH
5100
 
+  hardcode_into_libs=yes
5101
 
+  ;;
5102
 
 
5103
 
-  case $lt_cv_dlopen_self_static in
5104
 
-  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
5105
 
-  *) enable_dlopen_self_static=unknown ;;
5106
 
+hpux9* | hpux10* | hpux11*)
5107
 
+  # Give a soname corresponding to the major version so that dld.sl refuses to
5108
 
+  # link against other versions.
5109
 
+  version_type=sunos
5110
 
+  need_lib_prefix=no
5111
 
+  need_version=no
5112
 
+  case $host_cpu in
5113
 
+  ia64*)
5114
 
+    shrext_cmds='.so'
5115
 
+    hardcode_into_libs=yes
5116
 
+    dynamic_linker="$host_os dld.so"
5117
 
+    shlibpath_var=LD_LIBRARY_PATH
5118
 
+    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
5119
 
+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5120
 
+    soname_spec='${libname}${release}${shared_ext}$major'
5121
 
+    if test "X$HPUX_IA64_MODE" = X32; then
5122
 
+      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
5123
 
+    else
5124
 
+      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
5125
 
+    fi
5126
 
+    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
5127
 
+    ;;
5128
 
+  hppa*64*)
5129
 
+    shrext_cmds='.sl'
5130
 
+    hardcode_into_libs=yes
5131
 
+    dynamic_linker="$host_os dld.sl"
5132
 
+    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
5133
 
+    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
5134
 
+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5135
 
+    soname_spec='${libname}${release}${shared_ext}$major'
5136
 
+    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
5137
 
+    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
5138
 
+    ;;
5139
 
+  *)
5140
 
+    shrext_cmds='.sl'
5141
 
+    dynamic_linker="$host_os dld.sl"
5142
 
+    shlibpath_var=SHLIB_PATH
5143
 
+    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
5144
 
+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5145
 
+    soname_spec='${libname}${release}${shared_ext}$major'
5146
 
+    ;;
5147
 
   esac
5148
 
-fi
5149
 
-])# AC_LIBTOOL_DLOPEN_SELF
5150
 
+  # HP-UX runs *really* slowly unless shared libraries are mode 555.
5151
 
+  postinstall_cmds='chmod 555 $lib'
5152
 
+  ;;
5153
 
 
5154
 
+interix[[3-9]]*)
5155
 
+  version_type=linux
5156
 
+  need_lib_prefix=no
5157
 
+  need_version=no
5158
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
5159
 
+  soname_spec='${libname}${release}${shared_ext}$major'
5160
 
+  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
5161
 
+  shlibpath_var=LD_LIBRARY_PATH
5162
 
+  shlibpath_overrides_runpath=no
5163
 
+  hardcode_into_libs=yes
5164
 
+  ;;
5165
 
 
5166
 
-# AC_LIBTOOL_PROG_CC_C_O([TAGNAME])
5167
 
-# ---------------------------------
5168
 
-# Check to see if options -c and -o are simultaneously supported by compiler
5169
 
-AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O],
5170
 
-[AC_REQUIRE([LT_AC_PROG_SED])dnl
5171
 
-AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
5172
 
-AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
5173
 
-  [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
5174
 
-  [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
5175
 
-   $rm -r conftest 2>/dev/null
5176
 
-   mkdir conftest
5177
 
-   cd conftest
5178
 
-   mkdir out
5179
 
-   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
5180
 
+irix5* | irix6* | nonstopux*)
5181
 
+  case $host_os in
5182
 
+    nonstopux*) version_type=nonstopux ;;
5183
 
+    *)
5184
 
+       if test "$lt_cv_prog_gnu_ld" = yes; then
5185
 
+               version_type=linux
5186
 
+       else
5187
 
+               version_type=irix
5188
 
+       fi ;;
5189
 
+  esac
5190
 
+  need_lib_prefix=no
5191
 
+  need_version=no
5192
 
+  soname_spec='${libname}${release}${shared_ext}$major'
5193
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
5194
 
+  case $host_os in
5195
 
+  irix5* | nonstopux*)
5196
 
+    libsuff= shlibsuff=
5197
 
+    ;;
5198
 
+  *)
5199
 
+    case $LD in # libtool.m4 will add one of these switches to LD
5200
 
+    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
5201
 
+      libsuff= shlibsuff= libmagic=32-bit;;
5202
 
+    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
5203
 
+      libsuff=32 shlibsuff=N32 libmagic=N32;;
5204
 
+    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
5205
 
+      libsuff=64 shlibsuff=64 libmagic=64-bit;;
5206
 
+    *) libsuff= shlibsuff= libmagic=never-match;;
5207
 
+    esac
5208
 
+    ;;
5209
 
+  esac
5210
 
+  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
5211
 
+  shlibpath_overrides_runpath=no
5212
 
+  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
5213
 
+  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
5214
 
+  hardcode_into_libs=yes
5215
 
+  ;;
5216
 
 
5217
 
-   lt_compiler_flag="-o out/conftest2.$ac_objext"
5218
 
-   # Insert the option either (1) after the last *FLAGS variable, or
5219
 
-   # (2) before a word containing "conftest.", or (3) at the end.
5220
 
-   # Note that $ac_compile itself does not contain backslashes and begins
5221
 
-   # with a dollar sign (not a hyphen), so the echo should work correctly.
5222
 
-   lt_compile=`echo "$ac_compile" | $SED \
5223
 
-   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
5224
 
-   -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
5225
 
-   -e 's:$: $lt_compiler_flag:'`
5226
 
-   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
5227
 
-   (eval "$lt_compile" 2>out/conftest.err)
5228
 
-   ac_status=$?
5229
 
-   cat out/conftest.err >&AS_MESSAGE_LOG_FD
5230
 
-   echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
5231
 
-   if (exit $ac_status) && test -s out/conftest2.$ac_objext
5232
 
-   then
5233
 
-     # The compiler can only warn and ignore the option if not recognized
5234
 
-     # So say no if there are warnings
5235
 
-     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
5236
 
-     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
5237
 
-     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
5238
 
-       _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
5239
 
-     fi
5240
 
-   fi
5241
 
-   chmod u+w . 2>&AS_MESSAGE_LOG_FD
5242
 
-   $rm conftest*
5243
 
-   # SGI C++ compiler will create directory out/ii_files/ for
5244
 
-   # template instantiation
5245
 
-   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
5246
 
-   $rm out/* && rmdir out
5247
 
-   cd ..
5248
 
-   rmdir conftest
5249
 
-   $rm conftest*
5250
 
-])
5251
 
-])# AC_LIBTOOL_PROG_CC_C_O
5252
 
+# No shared lib support for Linux oldld, aout, or coff.
5253
 
+linux*oldld* | linux*aout* | linux*coff*)
5254
 
+  dynamic_linker=no
5255
 
+  ;;
5256
 
 
5257
 
+# This must be Linux ELF.
5258
 
+linux* | k*bsd*-gnu)
5259
 
+  version_type=linux
5260
 
+  need_lib_prefix=no
5261
 
+  need_version=no
5262
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5263
 
+  soname_spec='${libname}${release}${shared_ext}$major'
5264
 
+  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
5265
 
+  shlibpath_var=LD_LIBRARY_PATH
5266
 
+  shlibpath_overrides_runpath=no
5267
 
+  # Some binutils ld are patched to set DT_RUNPATH
5268
 
+  save_LDFLAGS=$LDFLAGS
5269
 
+  save_libdir=$libdir
5270
 
+  eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \
5271
 
+       LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\""
5272
 
+  AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
5273
 
+    [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],
5274
 
+       [shlibpath_overrides_runpath=yes])])
5275
 
+  LDFLAGS=$save_LDFLAGS
5276
 
+  libdir=$save_libdir
5277
 
 
5278
 
-# AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME])
5279
 
-# -----------------------------------------
5280
 
-# Check to see if we can do hard links to lock some files if needed
5281
 
-AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS],
5282
 
-[AC_REQUIRE([_LT_AC_LOCK])dnl
5283
 
+  # This implies no fast_install, which is unacceptable.
5284
 
+  # Some rework will be needed to allow for fast_install
5285
 
+  # before this can be enabled.
5286
 
+  hardcode_into_libs=yes
5287
 
 
5288
 
-hard_links="nottested"
5289
 
-if test "$_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
5290
 
-  # do not overwrite the value of need_locks provided by the user
5291
 
-  AC_MSG_CHECKING([if we can lock with hard links])
5292
 
-  hard_links=yes
5293
 
-  $rm conftest*
5294
 
-  ln conftest.a conftest.b 2>/dev/null && hard_links=no
5295
 
-  touch conftest.a
5296
 
-  ln conftest.a conftest.b 2>&5 || hard_links=no
5297
 
-  ln conftest.a conftest.b 2>/dev/null && hard_links=no
5298
 
-  AC_MSG_RESULT([$hard_links])
5299
 
-  if test "$hard_links" = no; then
5300
 
-    AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe])
5301
 
-    need_locks=warn
5302
 
+  # Append ld.so.conf contents to the search path
5303
 
+  if test -f /etc/ld.so.conf; then
5304
 
+    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' ' '`
5305
 
+    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
5306
 
   fi
5307
 
-else
5308
 
-  need_locks=no
5309
 
-fi
5310
 
-])# AC_LIBTOOL_SYS_HARD_LINK_LOCKS
5311
 
-
5312
 
-
5313
 
-# AC_LIBTOOL_OBJDIR
5314
 
-# -----------------
5315
 
-AC_DEFUN([AC_LIBTOOL_OBJDIR],
5316
 
-[AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
5317
 
-[rm -f .libs 2>/dev/null
5318
 
-mkdir .libs 2>/dev/null
5319
 
-if test -d .libs; then
5320
 
-  lt_cv_objdir=.libs
5321
 
-else
5322
 
-  # MS-DOS does not allow filenames that begin with a dot.
5323
 
-  lt_cv_objdir=_libs
5324
 
-fi
5325
 
-rmdir .libs 2>/dev/null])
5326
 
-objdir=$lt_cv_objdir
5327
 
-])# AC_LIBTOOL_OBJDIR
5328
 
 
5329
 
+  # We used to test for /lib/ld.so.1 and disable shared libraries on
5330
 
+  # powerpc, because MkLinux only supported shared libraries with the
5331
 
+  # GNU dynamic linker.  Since this was broken with cross compilers,
5332
 
+  # most powerpc-linux boxes support dynamic linking these days and
5333
 
+  # people can always --disable-shared, the test was removed, and we
5334
 
+  # assume the GNU/Linux dynamic linker is in use.
5335
 
+  dynamic_linker='GNU/Linux ld.so'
5336
 
+  ;;
5337
 
 
5338
 
-# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME])
5339
 
-# ----------------------------------------------
5340
 
-# Check hardcoding attributes.
5341
 
-AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH],
5342
 
-[AC_MSG_CHECKING([how to hardcode library paths into programs])
5343
 
-_LT_AC_TAGVAR(hardcode_action, $1)=
5344
 
-if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \
5345
 
-   test -n "$_LT_AC_TAGVAR(runpath_var, $1)" || \
5346
 
-   test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then
5347
 
+netbsdelf*-gnu)
5348
 
+  version_type=linux
5349
 
+  need_lib_prefix=no
5350
 
+  need_version=no
5351
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
5352
 
+  soname_spec='${libname}${release}${shared_ext}$major'
5353
 
+  shlibpath_var=LD_LIBRARY_PATH
5354
 
+  shlibpath_overrides_runpath=no
5355
 
+  hardcode_into_libs=yes
5356
 
+  dynamic_linker='NetBSD ld.elf_so'
5357
 
+  ;;
5358
 
 
5359
 
-  # We can hardcode non-existant directories.
5360
 
-  if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no &&
5361
 
-     # If the only mechanism to avoid hardcoding is shlibpath_var, we
5362
 
-     # have to relink, otherwise we might link with an installed library
5363
 
-     # when we should be linking with a yet-to-be-installed one
5364
 
-     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
5365
 
-     test "$_LT_AC_TAGVAR(hardcode_minus_L, $1)" != no; then
5366
 
-    # Linking always hardcodes the temporary library directory.
5367
 
-    _LT_AC_TAGVAR(hardcode_action, $1)=relink
5368
 
+netbsd*)
5369
 
+  version_type=sunos
5370
 
+  need_lib_prefix=no
5371
 
+  need_version=no
5372
 
+  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
5373
 
+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
5374
 
+    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
5375
 
+    dynamic_linker='NetBSD (a.out) ld.so'
5376
 
   else
5377
 
-    # We can link without hardcoding, and we can hardcode nonexisting dirs.
5378
 
-    _LT_AC_TAGVAR(hardcode_action, $1)=immediate
5379
 
+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
5380
 
+    soname_spec='${libname}${release}${shared_ext}$major'
5381
 
+    dynamic_linker='NetBSD ld.elf_so'
5382
 
   fi
5383
 
-else
5384
 
-  # We cannot hardcode anything, or else we can only hardcode existing
5385
 
-  # directories.
5386
 
-  _LT_AC_TAGVAR(hardcode_action, $1)=unsupported
5387
 
-fi
5388
 
-AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)])
5389
 
+  shlibpath_var=LD_LIBRARY_PATH
5390
 
+  shlibpath_overrides_runpath=yes
5391
 
+  hardcode_into_libs=yes
5392
 
+  ;;
5393
 
 
5394
 
-if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then
5395
 
-  # Fast installation is not supported
5396
 
-  enable_fast_install=no
5397
 
-elif test "$shlibpath_overrides_runpath" = yes ||
5398
 
-     test "$enable_shared" = no; then
5399
 
-  # Fast installation is not necessary
5400
 
-  enable_fast_install=needless
5401
 
-fi
5402
 
-])# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH
5403
 
+newsos6)
5404
 
+  version_type=linux
5405
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5406
 
+  shlibpath_var=LD_LIBRARY_PATH
5407
 
+  shlibpath_overrides_runpath=yes
5408
 
+  ;;
5409
 
 
5410
 
+*nto* | *qnx*)
5411
 
+  version_type=qnx
5412
 
+  need_lib_prefix=no
5413
 
+  need_version=no
5414
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5415
 
+  soname_spec='${libname}${release}${shared_ext}$major'
5416
 
+  shlibpath_var=LD_LIBRARY_PATH
5417
 
+  shlibpath_overrides_runpath=no
5418
 
+  hardcode_into_libs=yes
5419
 
+  dynamic_linker='ldqnx.so'
5420
 
+  ;;
5421
 
 
5422
 
-# AC_LIBTOOL_SYS_LIB_STRIP
5423
 
-# ------------------------
5424
 
-AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP],
5425
 
-[striplib=
5426
 
-old_striplib=
5427
 
-AC_MSG_CHECKING([whether stripping libraries is possible])
5428
 
-if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
5429
 
-  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
5430
 
-  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
5431
 
-  AC_MSG_RESULT([yes])
5432
 
-else
5433
 
-# FIXME - insert some real tests, host_os isn't really good enough
5434
 
+openbsd*)
5435
 
+  version_type=sunos
5436
 
+  sys_lib_dlsearch_path_spec="/usr/lib"
5437
 
+  need_lib_prefix=no
5438
 
+  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
5439
 
   case $host_os in
5440
 
-   darwin*)
5441
 
-       if test -n "$STRIP" ; then
5442
 
-         striplib="$STRIP -x"
5443
 
-         old_striplib="$STRIP -S"
5444
 
-         AC_MSG_RESULT([yes])
5445
 
-       else
5446
 
-  AC_MSG_RESULT([no])
5447
 
-fi
5448
 
-       ;;
5449
 
-   *)
5450
 
-  AC_MSG_RESULT([no])
5451
 
-    ;;
5452
 
+    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
5453
 
+    *)                         need_version=no  ;;
5454
 
   esac
5455
 
-fi
5456
 
-])# AC_LIBTOOL_SYS_LIB_STRIP
5457
 
-
5458
 
-
5459
 
-# AC_LIBTOOL_SYS_DYNAMIC_LINKER
5460
 
-# -----------------------------
5461
 
-# PORTME Fill in your ld.so characteristics
5462
 
-AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER],
5463
 
-[AC_REQUIRE([LT_AC_PROG_SED])dnl
5464
 
-AC_MSG_CHECKING([dynamic linker characteristics])
5465
 
-library_names_spec=
5466
 
-libname_spec='lib$name'
5467
 
-soname_spec=
5468
 
-shrext_cmds=".so"
5469
 
-postinstall_cmds=
5470
 
-postuninstall_cmds=
5471
 
-finish_cmds=
5472
 
-finish_eval=
5473
 
-shlibpath_var=
5474
 
-shlibpath_overrides_runpath=unknown
5475
 
-version_type=none
5476
 
-dynamic_linker="$host_os ld.so"
5477
 
-sys_lib_dlsearch_path_spec="/lib /usr/lib"
5478
 
-m4_if($1,[],[
5479
 
-if test "$GCC" = yes; then
5480
 
-  case $host_os in
5481
 
-    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
5482
 
-    *) lt_awk_arg="/^libraries:/" ;;
5483
 
-  esac
5484
 
-  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
5485
 
-  if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
5486
 
-    # if the path contains ";" then we assume it to be the separator
5487
 
-    # otherwise default to the standard path separator (i.e. ":") - it is
5488
 
-    # assumed that no part of a normal pathname contains ";" but that should
5489
 
-    # okay in the real world where ";" in dirpaths is itself problematic.
5490
 
-    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
5491
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
5492
 
+  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
5493
 
+  shlibpath_var=LD_LIBRARY_PATH
5494
 
+  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5495
 
+    case $host_os in
5496
 
+      openbsd2.[[89]] | openbsd2.[[89]].*)
5497
 
+       shlibpath_overrides_runpath=no
5498
 
+       ;;
5499
 
+      *)
5500
 
+       shlibpath_overrides_runpath=yes
5501
 
+       ;;
5502
 
+      esac
5503
 
   else
5504
 
-    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
5505
 
+    shlibpath_overrides_runpath=yes
5506
 
   fi
5507
 
-  # Ok, now we have the path, separated by spaces, we can step through it
5508
 
-  # and add multilib dir if necessary.
5509
 
-  lt_tmp_lt_search_path_spec=
5510
 
-  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
5511
 
-  for lt_sys_path in $lt_search_path_spec; do
5512
 
-    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
5513
 
-      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
5514
 
-    else
5515
 
-      test -d "$lt_sys_path" && \
5516
 
-       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
5517
 
-    fi
5518
 
-  done
5519
 
-  lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
5520
 
-BEGIN {RS=" "; FS="/|\n";} {
5521
 
-  lt_foo="";
5522
 
-  lt_count=0;
5523
 
-  for (lt_i = NF; lt_i > 0; lt_i--) {
5524
 
-    if ($lt_i != "" && $lt_i != ".") {
5525
 
-      if ($lt_i == "..") {
5526
 
-        lt_count++;
5527
 
-      } else {
5528
 
-        if (lt_count == 0) {
5529
 
-          lt_foo="/" $lt_i lt_foo;
5530
 
-        } else {
5531
 
-          lt_count--;
5532
 
-        }
5533
 
-      }
5534
 
-    }
5535
 
-  }
5536
 
-  if (lt_foo != "") { lt_freq[[lt_foo]]++; }
5537
 
-  if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
5538
 
-}'`
5539
 
-  sys_lib_search_path_spec=`echo $lt_search_path_spec`
5540
 
-else
5541
 
-  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
5542
 
-fi])
5543
 
-need_lib_prefix=unknown
5544
 
-hardcode_into_libs=no
5545
 
-
5546
 
-# when you set need_version to no, make sure it does not cause -set_version
5547
 
-# flags to be left without arguments
5548
 
-need_version=unknown
5549
 
+  ;;
5550
 
 
5551
 
-case $host_os in
5552
 
-aix3*)
5553
 
-  version_type=linux
5554
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
5555
 
+os2*)
5556
 
+  libname_spec='$name'
5557
 
+  shrext_cmds=".dll"
5558
 
+  need_lib_prefix=no
5559
 
+  library_names_spec='$libname${shared_ext} $libname.a'
5560
 
+  dynamic_linker='OS/2 ld.exe'
5561
 
   shlibpath_var=LIBPATH
5562
 
-
5563
 
-  # AIX 3 has no versioning support, so we append a major version to the name.
5564
 
-  soname_spec='${libname}${release}${shared_ext}$major'
5565
 
   ;;
5566
 
 
5567
 
-aix[[4-9]]*)
5568
 
-  version_type=linux
5569
 
+osf3* | osf4* | osf5*)
5570
 
+  version_type=osf
5571
 
   need_lib_prefix=no
5572
 
   need_version=no
5573
 
-  hardcode_into_libs=yes
5574
 
-  if test "$host_cpu" = ia64; then
5575
 
-    # AIX 5 supports IA64
5576
 
-    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
5577
 
-    shlibpath_var=LD_LIBRARY_PATH
5578
 
-  else
5579
 
-    # With GCC up to 2.95.x, collect2 would create an import file
5580
 
-    # for dependence libraries.  The import file would start with
5581
 
-    # the line `#! .'.  This would cause the generated library to
5582
 
-    # depend on `.', always an invalid library.  This was fixed in
5583
 
-    # development snapshots of GCC prior to 3.0.
5584
 
-    case $host_os in
5585
 
-      aix4 | aix4.[[01]] | aix4.[[01]].*)
5586
 
-      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
5587
 
-          echo ' yes '
5588
 
-          echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
5589
 
-       :
5590
 
-      else
5591
 
-       can_build_shared=no
5592
 
-      fi
5593
 
-      ;;
5594
 
-    esac
5595
 
-    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
5596
 
-    # soname into executable. Probably we can add versioning support to
5597
 
-    # collect2, so additional links can be useful in future.
5598
 
-    if test "$aix_use_runtimelinking" = yes; then
5599
 
-      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
5600
 
-      # instead of lib<name>.a to let people know that these are not
5601
 
-      # typical AIX shared libraries.
5602
 
-      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5603
 
-    else
5604
 
-      # We preserve .a as extension for shared libraries through AIX4.2
5605
 
-      # and later when we are not doing run time linking.
5606
 
-      library_names_spec='${libname}${release}.a $libname.a'
5607
 
-      soname_spec='${libname}${release}${shared_ext}$major'
5608
 
-    fi
5609
 
-    shlibpath_var=LIBPATH
5610
 
-  fi
5611
 
-  ;;
5612
 
-
5613
 
-amigaos*)
5614
 
-  library_names_spec='$libname.ixlibrary $libname.a'
5615
 
-  # Create ${libname}_ixlibrary.a entries in /sys/libs.
5616
 
-  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'
5617
 
+  soname_spec='${libname}${release}${shared_ext}$major'
5618
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5619
 
+  shlibpath_var=LD_LIBRARY_PATH
5620
 
+  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
5621
 
+  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
5622
 
   ;;
5623
 
 
5624
 
-beos*)
5625
 
-  library_names_spec='${libname}${shared_ext}'
5626
 
-  dynamic_linker="$host_os ld.so"
5627
 
-  shlibpath_var=LIBRARY_PATH
5628
 
+rdos*)
5629
 
+  dynamic_linker=no
5630
 
   ;;
5631
 
 
5632
 
-bsdi[[45]]*)
5633
 
+solaris*)
5634
 
   version_type=linux
5635
 
+  need_lib_prefix=no
5636
 
   need_version=no
5637
 
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5638
 
   soname_spec='${libname}${release}${shared_ext}$major'
5639
 
-  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
5640
 
   shlibpath_var=LD_LIBRARY_PATH
5641
 
-  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
5642
 
-  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
5643
 
-  # the default ld.so.conf also contains /usr/contrib/lib and
5644
 
-  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
5645
 
-  # libtool to hard-code these into programs
5646
 
+  shlibpath_overrides_runpath=yes
5647
 
+  hardcode_into_libs=yes
5648
 
+  # ldd complains unless libraries are executable
5649
 
+  postinstall_cmds='chmod +x $lib'
5650
 
   ;;
5651
 
 
5652
 
-cygwin* | mingw* | pw32*)
5653
 
-  version_type=windows
5654
 
-  shrext_cmds=".dll"
5655
 
-  need_version=no
5656
 
-  need_lib_prefix=no
5657
 
-
5658
 
-  case $GCC,$host_os in
5659
 
-  yes,cygwin* | yes,mingw* | yes,pw32*)
5660
 
-    library_names_spec='$libname.dll.a'
5661
 
-    # DLL is installed to $(libdir)/../bin by postinstall_cmds
5662
 
-    postinstall_cmds='base_file=`basename \${file}`~
5663
 
-      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
5664
 
-      dldir=$destdir/`dirname \$dlpath`~
5665
 
-      test -d \$dldir || mkdir -p \$dldir~
5666
 
-      $install_prog $dir/$dlname \$dldir/$dlname~
5667
 
-      chmod a+x \$dldir/$dlname'
5668
 
-    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
5669
 
-      dlpath=$dir/\$dldll~
5670
 
-       $rm \$dlpath'
5671
 
-    shlibpath_overrides_runpath=yes
5672
 
+sunos4*)
5673
 
+  version_type=sunos
5674
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
5675
 
+  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
5676
 
+  shlibpath_var=LD_LIBRARY_PATH
5677
 
+  shlibpath_overrides_runpath=yes
5678
 
+  if test "$with_gnu_ld" = yes; then
5679
 
+    need_lib_prefix=no
5680
 
+  fi
5681
 
+  need_version=yes
5682
 
+  ;;
5683
 
 
5684
 
-    case $host_os in
5685
 
-    cygwin*)
5686
 
-      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
5687
 
-      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
5688
 
-      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
5689
 
+sysv4 | sysv4.3*)
5690
 
+  version_type=linux
5691
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5692
 
+  soname_spec='${libname}${release}${shared_ext}$major'
5693
 
+  shlibpath_var=LD_LIBRARY_PATH
5694
 
+  case $host_vendor in
5695
 
+    sni)
5696
 
+      shlibpath_overrides_runpath=no
5697
 
+      need_lib_prefix=no
5698
 
+      runpath_var=LD_RUN_PATH
5699
 
       ;;
5700
 
-    mingw*)
5701
 
-      # MinGW DLLs use traditional 'lib' prefix
5702
 
-      soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
5703
 
-      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
5704
 
-      if echo "$sys_lib_search_path_spec" | [grep ';[c-zC-Z]:/' >/dev/null]; then
5705
 
-        # It is most probably a Windows format PATH printed by
5706
 
-        # mingw gcc, but we are running on Cygwin. Gcc prints its search
5707
 
-        # path with ; separators, and with drive letters. We can handle the
5708
 
-        # drive letters (cygwin fileutils understands them), so leave them,
5709
 
-        # especially as we might pass files found there to a mingw objdump,
5710
 
-        # which wouldn't understand a cygwinified path. Ahh.
5711
 
-        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
5712
 
-      else
5713
 
-        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
5714
 
-      fi
5715
 
+    siemens)
5716
 
+      need_lib_prefix=no
5717
 
       ;;
5718
 
-    pw32*)
5719
 
-      # pw32 DLLs use 'pw' prefix rather than 'lib'
5720
 
-      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
5721
 
+    motorola)
5722
 
+      need_lib_prefix=no
5723
 
+      need_version=no
5724
 
+      shlibpath_overrides_runpath=no
5725
 
+      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
5726
 
       ;;
5727
 
-    esac
5728
 
-    ;;
5729
 
-
5730
 
-  *)
5731
 
-    library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
5732
 
-    ;;
5733
 
   esac
5734
 
-  dynamic_linker='Win32 ld.exe'
5735
 
-  # FIXME: first we should search . and the directory the executable is in
5736
 
-  shlibpath_var=PATH
5737
 
   ;;
5738
 
 
5739
 
-darwin* | rhapsody*)
5740
 
-  dynamic_linker="$host_os dyld"
5741
 
-  version_type=darwin
5742
 
-  need_lib_prefix=no
5743
 
-  need_version=no
5744
 
-  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
5745
 
-  soname_spec='${libname}${release}${major}$shared_ext'
5746
 
-  shlibpath_overrides_runpath=yes
5747
 
-  shlibpath_var=DYLD_LIBRARY_PATH
5748
 
-  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
5749
 
-  m4_if([$1], [],[
5750
 
-  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"]) 
5751
 
-  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
5752
 
+sysv4*MP*)
5753
 
+  if test -d /usr/nec ;then
5754
 
+    version_type=linux
5755
 
+    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
5756
 
+    soname_spec='$libname${shared_ext}.$major'
5757
 
+    shlibpath_var=LD_LIBRARY_PATH
5758
 
+  fi
5759
 
   ;;
5760
 
 
5761
 
-dgux*)
5762
 
-  version_type=linux
5763
 
+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5764
 
+  version_type=freebsd-elf
5765
 
   need_lib_prefix=no
5766
 
   need_version=no
5767
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
5768
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
5769
 
   soname_spec='${libname}${release}${shared_ext}$major'
5770
 
   shlibpath_var=LD_LIBRARY_PATH
5771
 
-  ;;
5772
 
-
5773
 
-freebsd1*)
5774
 
-  dynamic_linker=no
5775
 
-  ;;
5776
 
-
5777
 
-freebsd* | dragonfly*)
5778
 
-  # DragonFly does not have aout.  When/if they implement a new
5779
 
-  # versioning mechanism, adjust this.
5780
 
-  if test -x /usr/bin/objformat; then
5781
 
-    objformat=`/usr/bin/objformat`
5782
 
+  shlibpath_overrides_runpath=yes
5783
 
+  hardcode_into_libs=yes
5784
 
+  if test "$with_gnu_ld" = yes; then
5785
 
+    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
5786
 
   else
5787
 
+    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
5788
 
     case $host_os in
5789
 
-    freebsd[[123]]*) objformat=aout ;;
5790
 
-    *) objformat=elf ;;
5791
 
+      sco3.2v5*)
5792
 
+        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
5793
 
+       ;;
5794
 
     esac
5795
 
   fi
5796
 
-  version_type=freebsd-$objformat
5797
 
-  case $version_type in
5798
 
-    freebsd-elf*)
5799
 
-      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
5800
 
-      need_version=no
5801
 
-      need_lib_prefix=no
5802
 
-      ;;
5803
 
-    freebsd-*)
5804
 
-      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
5805
 
-      need_version=yes
5806
 
-      ;;
5807
 
-  esac
5808
 
-  shlibpath_var=LD_LIBRARY_PATH
5809
 
-  case $host_os in
5810
 
-  freebsd2*)
5811
 
-    shlibpath_overrides_runpath=yes
5812
 
-    ;;
5813
 
-  freebsd3.[[01]]* | freebsdelf3.[[01]]*)
5814
 
-    shlibpath_overrides_runpath=yes
5815
 
-    hardcode_into_libs=yes
5816
 
-    ;;
5817
 
-  freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \
5818
 
-  freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1)
5819
 
-    shlibpath_overrides_runpath=no
5820
 
-    hardcode_into_libs=yes
5821
 
-    ;;
5822
 
-  *) # from 4.6 on, and DragonFly
5823
 
-    shlibpath_overrides_runpath=yes
5824
 
-    hardcode_into_libs=yes
5825
 
-    ;;
5826
 
-  esac
5827
 
+  sys_lib_dlsearch_path_spec='/usr/lib'
5828
 
   ;;
5829
 
 
5830
 
-gnu*)
5831
 
+tpf*)
5832
 
+  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
5833
 
   version_type=linux
5834
 
   need_lib_prefix=no
5835
 
   need_version=no
5836
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
5837
 
-  soname_spec='${libname}${release}${shared_ext}$major'
5838
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5839
 
   shlibpath_var=LD_LIBRARY_PATH
5840
 
+  shlibpath_overrides_runpath=no
5841
 
   hardcode_into_libs=yes
5842
 
   ;;
5843
 
 
5844
 
-hpux9* | hpux10* | hpux11*)
5845
 
-  # Give a soname corresponding to the major version so that dld.sl refuses to
5846
 
-  # link against other versions.
5847
 
-  version_type=sunos
5848
 
-  need_lib_prefix=no
5849
 
-  need_version=no
5850
 
-  case $host_cpu in
5851
 
-  ia64*)
5852
 
-    shrext_cmds='.so'
5853
 
-    hardcode_into_libs=yes
5854
 
-    dynamic_linker="$host_os dld.so"
5855
 
-    shlibpath_var=LD_LIBRARY_PATH
5856
 
-    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
5857
 
-    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5858
 
-    soname_spec='${libname}${release}${shared_ext}$major'
5859
 
-    if test "X$HPUX_IA64_MODE" = X32; then
5860
 
-      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
5861
 
-    else
5862
 
-      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
5863
 
-    fi
5864
 
-    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
5865
 
-    ;;
5866
 
-   hppa*64*)
5867
 
-     shrext_cmds='.sl'
5868
 
-     hardcode_into_libs=yes
5869
 
-     dynamic_linker="$host_os dld.sl"
5870
 
-     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
5871
 
-     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
5872
 
-     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5873
 
-     soname_spec='${libname}${release}${shared_ext}$major'
5874
 
-     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
5875
 
-     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
5876
 
-     ;;
5877
 
-   *)
5878
 
-    shrext_cmds='.sl'
5879
 
-    dynamic_linker="$host_os dld.sl"
5880
 
-    shlibpath_var=SHLIB_PATH
5881
 
-    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
5882
 
-    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5883
 
-    soname_spec='${libname}${release}${shared_ext}$major'
5884
 
-    ;;
5885
 
-  esac
5886
 
-  # HP-UX runs *really* slowly unless shared libraries are mode 555.
5887
 
-  postinstall_cmds='chmod 555 $lib'
5888
 
-  ;;
5889
 
-
5890
 
-interix[[3-9]]*)
5891
 
+uts4*)
5892
 
   version_type=linux
5893
 
-  need_lib_prefix=no
5894
 
-  need_version=no
5895
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
5896
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5897
 
   soname_spec='${libname}${release}${shared_ext}$major'
5898
 
-  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
5899
 
   shlibpath_var=LD_LIBRARY_PATH
5900
 
-  shlibpath_overrides_runpath=no
5901
 
-  hardcode_into_libs=yes
5902
 
-  ;;
5903
 
-
5904
 
-irix5* | irix6* | nonstopux*)
5905
 
-  case $host_os in
5906
 
-    nonstopux*) version_type=nonstopux ;;
5907
 
-    *)
5908
 
-       if test "$lt_cv_prog_gnu_ld" = yes; then
5909
 
-               version_type=linux
5910
 
-       else
5911
 
-               version_type=irix
5912
 
-       fi ;;
5913
 
-  esac
5914
 
-  need_lib_prefix=no
5915
 
-  need_version=no
5916
 
-  soname_spec='${libname}${release}${shared_ext}$major'
5917
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
5918
 
-  case $host_os in
5919
 
-  irix5* | nonstopux*)
5920
 
-    libsuff= shlibsuff=
5921
 
-    ;;
5922
 
-  *)
5923
 
-    case $LD in # libtool.m4 will add one of these switches to LD
5924
 
-    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
5925
 
-      libsuff= shlibsuff= libmagic=32-bit;;
5926
 
-    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
5927
 
-      libsuff=32 shlibsuff=N32 libmagic=N32;;
5928
 
-    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
5929
 
-      libsuff=64 shlibsuff=64 libmagic=64-bit;;
5930
 
-    *) libsuff= shlibsuff= libmagic=never-match;;
5931
 
-    esac
5932
 
-    ;;
5933
 
-  esac
5934
 
-  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
5935
 
-  shlibpath_overrides_runpath=no
5936
 
-  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
5937
 
-  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
5938
 
-  hardcode_into_libs=yes
5939
 
   ;;
5940
 
 
5941
 
-# No shared lib support for Linux oldld, aout, or coff.
5942
 
-linux*oldld* | linux*aout* | linux*coff*)
5943
 
+*)
5944
 
   dynamic_linker=no
5945
 
   ;;
5946
 
+esac
5947
 
+AC_MSG_RESULT([$dynamic_linker])
5948
 
+test "$dynamic_linker" = no && can_build_shared=no
5949
 
 
5950
 
-# This must be Linux ELF.
5951
 
-linux* | k*bsd*-gnu)
5952
 
-  version_type=linux
5953
 
-  need_lib_prefix=no
5954
 
-  need_version=no
5955
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5956
 
-  soname_spec='${libname}${release}${shared_ext}$major'
5957
 
-  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
5958
 
-  shlibpath_var=LD_LIBRARY_PATH
5959
 
-  shlibpath_overrides_runpath=no
5960
 
-  # This implies no fast_install, which is unacceptable.
5961
 
-  # Some rework will be needed to allow for fast_install
5962
 
-  # before this can be enabled.
5963
 
-  hardcode_into_libs=yes
5964
 
-  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
5965
 
-  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
5966
 
+variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
5967
 
+if test "$GCC" = yes; then
5968
 
+  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
5969
 
+fi
5970
 
 
5971
 
-  # Append ld.so.conf contents to the search path
5972
 
-  if test -f /etc/ld.so.conf; then
5973
 
-    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' ' '`
5974
 
-    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
5975
 
-  fi
5976
 
+if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
5977
 
+  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
5978
 
+fi
5979
 
+if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
5980
 
+  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
5981
 
+fi
5982
 
 
5983
 
-  # We used to test for /lib/ld.so.1 and disable shared libraries on
5984
 
-  # powerpc, because MkLinux only supported shared libraries with the
5985
 
-  # GNU dynamic linker.  Since this was broken with cross compilers,
5986
 
-  # most powerpc-linux boxes support dynamic linking these days and
5987
 
-  # people can always --disable-shared, the test was removed, and we
5988
 
-  # assume the GNU/Linux dynamic linker is in use.
5989
 
-  dynamic_linker='GNU/Linux ld.so'
5990
 
-  ;;
5991
 
+_LT_DECL([], [variables_saved_for_relink], [1],
5992
 
+    [Variables whose values should be saved in libtool wrapper scripts and
5993
 
+    restored at link time])
5994
 
+_LT_DECL([], [need_lib_prefix], [0],
5995
 
+    [Do we need the "lib" prefix for modules?])
5996
 
+_LT_DECL([], [need_version], [0], [Do we need a version for libraries?])
5997
 
+_LT_DECL([], [version_type], [0], [Library versioning type])
5998
 
+_LT_DECL([], [runpath_var], [0],  [Shared library runtime path variable])
5999
 
+_LT_DECL([], [shlibpath_var], [0],[Shared library path variable])
6000
 
+_LT_DECL([], [shlibpath_overrides_runpath], [0],
6001
 
+    [Is shlibpath searched before the hard-coded library search path?])
6002
 
+_LT_DECL([], [libname_spec], [1], [Format of library name prefix])
6003
 
+_LT_DECL([], [library_names_spec], [1],
6004
 
+    [[List of archive names.  First name is the real one, the rest are links.
6005
 
+    The last name is the one that the linker finds with -lNAME]])
6006
 
+_LT_DECL([], [soname_spec], [1],
6007
 
+    [[The coded name of the library, if different from the real name]])
6008
 
+_LT_DECL([], [postinstall_cmds], [2],
6009
 
+    [Command to use after installation of a shared archive])
6010
 
+_LT_DECL([], [postuninstall_cmds], [2],
6011
 
+    [Command to use after uninstallation of a shared archive])
6012
 
+_LT_DECL([], [finish_cmds], [2],
6013
 
+    [Commands used to finish a libtool library installation in a directory])
6014
 
+_LT_DECL([], [finish_eval], [1],
6015
 
+    [[As "finish_cmds", except a single script fragment to be evaled but
6016
 
+    not shown]])
6017
 
+_LT_DECL([], [hardcode_into_libs], [0],
6018
 
+    [Whether we should hardcode library paths into libraries])
6019
 
+_LT_DECL([], [sys_lib_search_path_spec], [2],
6020
 
+    [Compile-time system search path for libraries])
6021
 
+_LT_DECL([], [sys_lib_dlsearch_path_spec], [2],
6022
 
+    [Run-time system search path for libraries])
6023
 
+])# _LT_SYS_DYNAMIC_LINKER
6024
 
 
6025
 
-netbsd*)
6026
 
-  version_type=sunos
6027
 
-  need_lib_prefix=no
6028
 
-  need_version=no
6029
 
-  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6030
 
-    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
6031
 
-    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
6032
 
-    dynamic_linker='NetBSD (a.out) ld.so'
6033
 
-  else
6034
 
-    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
6035
 
-    soname_spec='${libname}${release}${shared_ext}$major'
6036
 
-    dynamic_linker='NetBSD ld.elf_so'
6037
 
-  fi
6038
 
-  shlibpath_var=LD_LIBRARY_PATH
6039
 
-  shlibpath_overrides_runpath=yes
6040
 
-  hardcode_into_libs=yes
6041
 
-  ;;
6042
 
 
6043
 
-newsos6)
6044
 
-  version_type=linux
6045
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6046
 
-  shlibpath_var=LD_LIBRARY_PATH
6047
 
-  shlibpath_overrides_runpath=yes
6048
 
+# _LT_PATH_TOOL_PREFIX(TOOL)
6049
 
+# --------------------------
6050
 
+# find a file program which can recognize shared library
6051
 
+AC_DEFUN([_LT_PATH_TOOL_PREFIX],
6052
 
+[m4_require([_LT_DECL_EGREP])dnl
6053
 
+AC_MSG_CHECKING([for $1])
6054
 
+AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
6055
 
+[case $MAGIC_CMD in
6056
 
+[[\\/*] |  ?:[\\/]*])
6057
 
+  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6058
 
   ;;
6059
 
+*)
6060
 
+  lt_save_MAGIC_CMD="$MAGIC_CMD"
6061
 
+  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6062
 
+dnl $ac_dummy forces splitting on constant user-supplied paths.
6063
 
+dnl POSIX.2 word splitting is done only on the output of word expansions,
6064
 
+dnl not every word.  This closes a longstanding sh security hole.
6065
 
+  ac_dummy="m4_if([$2], , $PATH, [$2])"
6066
 
+  for ac_dir in $ac_dummy; do
6067
 
+    IFS="$lt_save_ifs"
6068
 
+    test -z "$ac_dir" && ac_dir=.
6069
 
+    if test -f $ac_dir/$1; then
6070
 
+      lt_cv_path_MAGIC_CMD="$ac_dir/$1"
6071
 
+      if test -n "$file_magic_test_file"; then
6072
 
+       case $deplibs_check_method in
6073
 
+       "file_magic "*)
6074
 
+         file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6075
 
+         MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6076
 
+         if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6077
 
+           $EGREP "$file_magic_regex" > /dev/null; then
6078
 
+           :
6079
 
+         else
6080
 
+           cat <<_LT_EOF 1>&2
6081
 
 
6082
 
-nto-qnx*)
6083
 
-  version_type=linux
6084
 
-  need_lib_prefix=no
6085
 
-  need_version=no
6086
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6087
 
-  soname_spec='${libname}${release}${shared_ext}$major'
6088
 
-  shlibpath_var=LD_LIBRARY_PATH
6089
 
-  shlibpath_overrides_runpath=yes
6090
 
-  ;;
6091
 
+*** Warning: the command libtool uses to detect shared libraries,
6092
 
+*** $file_magic_cmd, produces output that libtool cannot recognize.
6093
 
+*** The result is that libtool may fail to recognize shared libraries
6094
 
+*** as such.  This will affect the creation of libtool libraries that
6095
 
+*** depend on shared libraries, but programs linked with such libtool
6096
 
+*** libraries will work regardless of this problem.  Nevertheless, you
6097
 
+*** may want to report the problem to your system manager and/or to
6098
 
+*** bug-libtool@gnu.org
6099
 
 
6100
 
-openbsd*)
6101
 
-  version_type=sunos
6102
 
-  sys_lib_dlsearch_path_spec="/usr/lib"
6103
 
-  need_lib_prefix=no
6104
 
-  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
6105
 
-  case $host_os in
6106
 
-    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
6107
 
-    *)                         need_version=no  ;;
6108
 
-  esac
6109
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
6110
 
-  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
6111
 
-  shlibpath_var=LD_LIBRARY_PATH
6112
 
-  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6113
 
-    case $host_os in
6114
 
-      openbsd2.[[89]] | openbsd2.[[89]].*)
6115
 
-       shlibpath_overrides_runpath=no
6116
 
-       ;;
6117
 
-      *)
6118
 
-       shlibpath_overrides_runpath=yes
6119
 
-       ;;
6120
 
-      esac
6121
 
-  else
6122
 
-    shlibpath_overrides_runpath=yes
6123
 
-  fi
6124
 
-  ;;
6125
 
-
6126
 
-os2*)
6127
 
-  libname_spec='$name'
6128
 
-  shrext_cmds=".dll"
6129
 
-  need_lib_prefix=no
6130
 
-  library_names_spec='$libname${shared_ext} $libname.a'
6131
 
-  dynamic_linker='OS/2 ld.exe'
6132
 
-  shlibpath_var=LIBPATH
6133
 
-  ;;
6134
 
-
6135
 
-osf3* | osf4* | osf5*)
6136
 
-  version_type=osf
6137
 
-  need_lib_prefix=no
6138
 
-  need_version=no
6139
 
-  soname_spec='${libname}${release}${shared_ext}$major'
6140
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6141
 
-  shlibpath_var=LD_LIBRARY_PATH
6142
 
-  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
6143
 
-  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
6144
 
-  ;;
6145
 
-
6146
 
-rdos*)
6147
 
-  dynamic_linker=no
6148
 
-  ;;
6149
 
-
6150
 
-solaris*)
6151
 
-  version_type=linux
6152
 
-  need_lib_prefix=no
6153
 
-  need_version=no
6154
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6155
 
-  soname_spec='${libname}${release}${shared_ext}$major'
6156
 
-  shlibpath_var=LD_LIBRARY_PATH
6157
 
-  shlibpath_overrides_runpath=yes
6158
 
-  hardcode_into_libs=yes
6159
 
-  # ldd complains unless libraries are executable
6160
 
-  postinstall_cmds='chmod +x $lib'
6161
 
-  ;;
6162
 
-
6163
 
-sunos4*)
6164
 
-  version_type=sunos
6165
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
6166
 
-  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
6167
 
-  shlibpath_var=LD_LIBRARY_PATH
6168
 
-  shlibpath_overrides_runpath=yes
6169
 
-  if test "$with_gnu_ld" = yes; then
6170
 
-    need_lib_prefix=no
6171
 
-  fi
6172
 
-  need_version=yes
6173
 
+_LT_EOF
6174
 
+         fi ;;
6175
 
+       esac
6176
 
+      fi
6177
 
+      break
6178
 
+    fi
6179
 
+  done
6180
 
+  IFS="$lt_save_ifs"
6181
 
+  MAGIC_CMD="$lt_save_MAGIC_CMD"
6182
 
   ;;
6183
 
+esac])
6184
 
+MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6185
 
+if test -n "$MAGIC_CMD"; then
6186
 
+  AC_MSG_RESULT($MAGIC_CMD)
6187
 
+else
6188
 
+  AC_MSG_RESULT(no)
6189
 
+fi
6190
 
+_LT_DECL([], [MAGIC_CMD], [0],
6191
 
+        [Used to examine libraries when file_magic_cmd begins with "file"])dnl
6192
 
+])# _LT_PATH_TOOL_PREFIX
6193
 
 
6194
 
-sysv4 | sysv4.3*)
6195
 
-  version_type=linux
6196
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6197
 
-  soname_spec='${libname}${release}${shared_ext}$major'
6198
 
-  shlibpath_var=LD_LIBRARY_PATH
6199
 
-  case $host_vendor in
6200
 
-    sni)
6201
 
-      shlibpath_overrides_runpath=no
6202
 
-      need_lib_prefix=no
6203
 
-      export_dynamic_flag_spec='${wl}-Blargedynsym'
6204
 
-      runpath_var=LD_RUN_PATH
6205
 
-      ;;
6206
 
-    siemens)
6207
 
-      need_lib_prefix=no
6208
 
-      ;;
6209
 
-    motorola)
6210
 
-      need_lib_prefix=no
6211
 
-      need_version=no
6212
 
-      shlibpath_overrides_runpath=no
6213
 
-      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
6214
 
-      ;;
6215
 
-  esac
6216
 
-  ;;
6217
 
+# Old name:
6218
 
+AU_ALIAS([AC_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX])
6219
 
+dnl aclocal-1.4 backwards compatibility:
6220
 
+dnl AC_DEFUN([AC_PATH_TOOL_PREFIX], [])
6221
 
 
6222
 
-sysv4*MP*)
6223
 
-  if test -d /usr/nec ;then
6224
 
-    version_type=linux
6225
 
-    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
6226
 
-    soname_spec='$libname${shared_ext}.$major'
6227
 
-    shlibpath_var=LD_LIBRARY_PATH
6228
 
-  fi
6229
 
-  ;;
6230
 
 
6231
 
-sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6232
 
-  version_type=freebsd-elf
6233
 
-  need_lib_prefix=no
6234
 
-  need_version=no
6235
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
6236
 
-  soname_spec='${libname}${release}${shared_ext}$major'
6237
 
-  shlibpath_var=LD_LIBRARY_PATH
6238
 
-  hardcode_into_libs=yes
6239
 
-  if test "$with_gnu_ld" = yes; then
6240
 
-    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
6241
 
-    shlibpath_overrides_runpath=no
6242
 
+# _LT_PATH_MAGIC
6243
 
+# --------------
6244
 
+# find a file program which can recognize a shared library
6245
 
+m4_defun([_LT_PATH_MAGIC],
6246
 
+[_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
6247
 
+if test -z "$lt_cv_path_MAGIC_CMD"; then
6248
 
+  if test -n "$ac_tool_prefix"; then
6249
 
+    _LT_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
6250
 
   else
6251
 
-    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
6252
 
-    shlibpath_overrides_runpath=yes
6253
 
-    case $host_os in
6254
 
-      sco3.2v5*)
6255
 
-        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
6256
 
-       ;;
6257
 
-    esac
6258
 
+    MAGIC_CMD=:
6259
 
   fi
6260
 
-  sys_lib_dlsearch_path_spec='/usr/lib'
6261
 
-  ;;
6262
 
+fi
6263
 
+])# _LT_PATH_MAGIC
6264
 
 
6265
 
-uts4*)
6266
 
-  version_type=linux
6267
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6268
 
-  soname_spec='${libname}${release}${shared_ext}$major'
6269
 
-  shlibpath_var=LD_LIBRARY_PATH
6270
 
-  ;;
6271
 
 
6272
 
-*)
6273
 
-  dynamic_linker=no
6274
 
-  ;;
6275
 
-esac
6276
 
-AC_MSG_RESULT([$dynamic_linker])
6277
 
-test "$dynamic_linker" = no && can_build_shared=no
6278
 
+# LT_PATH_LD
6279
 
+# ----------
6280
 
+# find the pathname to the GNU or non-GNU linker
6281
 
+AC_DEFUN([LT_PATH_LD],
6282
 
+[AC_REQUIRE([AC_PROG_CC])dnl
6283
 
+AC_REQUIRE([AC_CANONICAL_HOST])dnl
6284
 
+AC_REQUIRE([AC_CANONICAL_BUILD])dnl
6285
 
+m4_require([_LT_DECL_SED])dnl
6286
 
+m4_require([_LT_DECL_EGREP])dnl
6287
 
 
6288
 
-AC_CACHE_VAL([lt_cv_sys_lib_search_path_spec],
6289
 
-[lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"])
6290
 
-sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
6291
 
-AC_CACHE_VAL([lt_cv_sys_lib_dlsearch_path_spec],
6292
 
-[lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"])
6293
 
-sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
6294
 
+AC_ARG_WITH([gnu-ld],
6295
 
+    [AS_HELP_STRING([--with-gnu-ld],
6296
 
+       [assume the C compiler uses GNU ld @<:@default=no@:>@])],
6297
 
+    [test "$withval" = no || with_gnu_ld=yes],
6298
 
+    [with_gnu_ld=no])dnl
6299
 
 
6300
 
-variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
6301
 
+ac_prog=ld
6302
 
 if test "$GCC" = yes; then
6303
 
-  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
6304
 
+  # Check if gcc -print-prog-name=ld gives a path.
6305
 
+  AC_MSG_CHECKING([for ld used by $CC])
6306
 
+  case $host in
6307
 
+  *-*-mingw*)
6308
 
+    # gcc leaves a trailing carriage return which upsets mingw
6309
 
+    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6310
 
+  *)
6311
 
+    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6312
 
+  esac
6313
 
+  case $ac_prog in
6314
 
+    # Accept absolute paths.
6315
 
+    [[\\/]]* | ?:[[\\/]]*)
6316
 
+      re_direlt='/[[^/]][[^/]]*/\.\./'
6317
 
+      # Canonicalize the pathname of ld
6318
 
+      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6319
 
+      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6320
 
+       ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6321
 
+      done
6322
 
+      test -z "$LD" && LD="$ac_prog"
6323
 
+      ;;
6324
 
+  "")
6325
 
+    # If it fails, then pretend we aren't using GCC.
6326
 
+    ac_prog=ld
6327
 
+    ;;
6328
 
+  *)
6329
 
+    # If it is relative, then search for the first ld in PATH.
6330
 
+    with_gnu_ld=unknown
6331
 
+    ;;
6332
 
+  esac
6333
 
+elif test "$with_gnu_ld" = yes; then
6334
 
+  AC_MSG_CHECKING([for GNU ld])
6335
 
+else
6336
 
+  AC_MSG_CHECKING([for non-GNU ld])
6337
 
 fi
6338
 
-])# AC_LIBTOOL_SYS_DYNAMIC_LINKER
6339
 
-
6340
 
-
6341
 
-# _LT_AC_TAGCONFIG
6342
 
-# ----------------
6343
 
-AC_DEFUN([_LT_AC_TAGCONFIG],
6344
 
-[AC_REQUIRE([LT_AC_PROG_SED])dnl
6345
 
-AC_ARG_WITH([tags],
6346
 
-    [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@],
6347
 
-        [include additional configurations @<:@automatic@:>@])],
6348
 
-    [tagnames="$withval"])
6349
 
-
6350
 
-if test -f "$ltmain" && test -n "$tagnames"; then
6351
 
-  if test ! -f "${ofile}"; then
6352
 
-    AC_MSG_WARN([output file `$ofile' does not exist])
6353
 
-  fi
6354
 
-
6355
 
-  if test -z "$LTCC"; then
6356
 
-    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
6357
 
-    if test -z "$LTCC"; then
6358
 
-      AC_MSG_WARN([output file `$ofile' does not look like a libtool script])
6359
 
-    else
6360
 
-      AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile'])
6361
 
-    fi
6362
 
-  fi
6363
 
-  if test -z "$LTCFLAGS"; then
6364
 
-    eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
6365
 
-  fi
6366
 
-
6367
 
-  # Extract list of available tagged configurations in $ofile.
6368
 
-  # Note that this assumes the entire list is on one line.
6369
 
-  available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
6370
 
-
6371
 
-  lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6372
 
-  for tagname in $tagnames; do
6373
 
+AC_CACHE_VAL(lt_cv_path_LD,
6374
 
+[if test -z "$LD"; then
6375
 
+  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6376
 
+  for ac_dir in $PATH; do
6377
 
     IFS="$lt_save_ifs"
6378
 
-    # Check whether tagname contains only valid characters
6379
 
-    case `$echo "X$tagname" | $Xsed -e 's:[[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]]::g'` in
6380
 
-    "") ;;
6381
 
-    *)  AC_MSG_ERROR([invalid tag name: $tagname])
6382
 
-       ;;
6383
 
-    esac
6384
 
-
6385
 
-    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
6386
 
-    then
6387
 
-      AC_MSG_ERROR([tag name \"$tagname\" already exists])
6388
 
-    fi
6389
 
-
6390
 
-    # Update the list of available tags.
6391
 
-    if test -n "$tagname"; then
6392
 
-      echo appending configuration tag \"$tagname\" to $ofile
6393
 
-
6394
 
-      case $tagname in
6395
 
-      CXX)
6396
 
-       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
6397
 
-           ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
6398
 
-           (test "X$CXX" != "Xg++"))) ; then
6399
 
-         AC_LIBTOOL_LANG_CXX_CONFIG
6400
 
-       else
6401
 
-         tagname=""
6402
 
-       fi
6403
 
-       ;;
6404
 
-
6405
 
-      F77)
6406
 
-       if test -n "$F77" && test "X$F77" != "Xno"; then
6407
 
-         AC_LIBTOOL_LANG_F77_CONFIG
6408
 
-       else
6409
 
-         tagname=""
6410
 
-       fi
6411
 
-       ;;
6412
 
-
6413
 
-      GCJ)
6414
 
-       if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
6415
 
-         AC_LIBTOOL_LANG_GCJ_CONFIG
6416
 
-       else
6417
 
-         tagname=""
6418
 
-       fi
6419
 
-       ;;
6420
 
-
6421
 
-      RC)
6422
 
-       AC_LIBTOOL_LANG_RC_CONFIG
6423
 
+    test -z "$ac_dir" && ac_dir=.
6424
 
+    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6425
 
+      lt_cv_path_LD="$ac_dir/$ac_prog"
6426
 
+      # Check to see if the program is GNU ld.  I'd rather use --version,
6427
 
+      # but apparently some variants of GNU ld only accept -v.
6428
 
+      # Break only if it was the GNU/non-GNU ld that we prefer.
6429
 
+      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6430
 
+      *GNU* | *'with BFD'*)
6431
 
+       test "$with_gnu_ld" != no && break
6432
 
        ;;
6433
 
-
6434
 
       *)
6435
 
-       AC_MSG_ERROR([Unsupported tag name: $tagname])
6436
 
+       test "$with_gnu_ld" != yes && break
6437
 
        ;;
6438
 
       esac
6439
 
-
6440
 
-      # Append the new tag name to the list of available tags.
6441
 
-      if test -n "$tagname" ; then
6442
 
-      available_tags="$available_tags $tagname"
6443
 
-    fi
6444
 
     fi
6445
 
   done
6446
 
   IFS="$lt_save_ifs"
6447
 
-
6448
 
-  # Now substitute the updated list of available tags.
6449
 
-  if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
6450
 
-    mv "${ofile}T" "$ofile"
6451
 
-    chmod +x "$ofile"
6452
 
-  else
6453
 
-    rm -f "${ofile}T"
6454
 
-    AC_MSG_ERROR([unable to update list of available tagged configurations.])
6455
 
-  fi
6456
 
+else
6457
 
+  lt_cv_path_LD="$LD" # Let the user override the test with a path.
6458
 
+fi])
6459
 
+LD="$lt_cv_path_LD"
6460
 
+if test -n "$LD"; then
6461
 
+  AC_MSG_RESULT($LD)
6462
 
+else
6463
 
+  AC_MSG_RESULT(no)
6464
 
 fi
6465
 
-])# _LT_AC_TAGCONFIG
6466
 
-
6467
 
-
6468
 
-# AC_LIBTOOL_DLOPEN
6469
 
-# -----------------
6470
 
-# enable checks for dlopen support
6471
 
-AC_DEFUN([AC_LIBTOOL_DLOPEN],
6472
 
- [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])
6473
 
-])# AC_LIBTOOL_DLOPEN
6474
 
+test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
6475
 
+_LT_PATH_LD_GNU
6476
 
+AC_SUBST([LD])
6477
 
 
6478
 
+_LT_TAGDECL([], [LD], [1], [The linker used to build libraries])
6479
 
+])# LT_PATH_LD
6480
 
 
6481
 
-# AC_LIBTOOL_WIN32_DLL
6482
 
-# --------------------
6483
 
-# declare package support for building win32 DLLs
6484
 
-AC_DEFUN([AC_LIBTOOL_WIN32_DLL],
6485
 
-[AC_BEFORE([$0], [AC_LIBTOOL_SETUP])
6486
 
-])# AC_LIBTOOL_WIN32_DLL
6487
 
+# Old names:
6488
 
+AU_ALIAS([AM_PROG_LD], [LT_PATH_LD])
6489
 
+AU_ALIAS([AC_PROG_LD], [LT_PATH_LD])
6490
 
+dnl aclocal-1.4 backwards compatibility:
6491
 
+dnl AC_DEFUN([AM_PROG_LD], [])
6492
 
+dnl AC_DEFUN([AC_PROG_LD], [])
6493
 
+
6494
 
+
6495
 
+# _LT_PATH_LD_GNU
6496
 
+#- --------------
6497
 
+m4_defun([_LT_PATH_LD_GNU],
6498
 
+[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
6499
 
+[# I'd rather use --version here, but apparently some GNU lds only accept -v.
6500
 
+case `$LD -v 2>&1 </dev/null` in
6501
 
+*GNU* | *'with BFD'*)
6502
 
+  lt_cv_prog_gnu_ld=yes
6503
 
+  ;;
6504
 
+*)
6505
 
+  lt_cv_prog_gnu_ld=no
6506
 
+  ;;
6507
 
+esac])
6508
 
+with_gnu_ld=$lt_cv_prog_gnu_ld
6509
 
+])# _LT_PATH_LD_GNU
6510
 
 
6511
 
 
6512
 
-# AC_ENABLE_SHARED([DEFAULT])
6513
 
-# ---------------------------
6514
 
-# implement the --enable-shared flag
6515
 
-# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
6516
 
-AC_DEFUN([AC_ENABLE_SHARED],
6517
 
-[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
6518
 
-AC_ARG_ENABLE([shared],
6519
 
-    [AC_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
6520
 
-       [build shared libraries @<:@default=]AC_ENABLE_SHARED_DEFAULT[@:>@])],
6521
 
-    [p=${PACKAGE-default}
6522
 
-    case $enableval in
6523
 
-    yes) enable_shared=yes ;;
6524
 
-    no) enable_shared=no ;;
6525
 
-    *)
6526
 
-      enable_shared=no
6527
 
-      # Look at the argument we got.  We use all the common list separators.
6528
 
-      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6529
 
-      for pkg in $enableval; do
6530
 
-       IFS="$lt_save_ifs"
6531
 
-       if test "X$pkg" = "X$p"; then
6532
 
-         enable_shared=yes
6533
 
-       fi
6534
 
-      done
6535
 
-      IFS="$lt_save_ifs"
6536
 
-      ;;
6537
 
-    esac],
6538
 
-    [enable_shared=]AC_ENABLE_SHARED_DEFAULT)
6539
 
-])# AC_ENABLE_SHARED
6540
 
-
6541
 
-
6542
 
-# AC_DISABLE_SHARED
6543
 
-# -----------------
6544
 
-# set the default shared flag to --disable-shared
6545
 
-AC_DEFUN([AC_DISABLE_SHARED],
6546
 
-[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
6547
 
-AC_ENABLE_SHARED(no)
6548
 
-])# AC_DISABLE_SHARED
6549
 
-
6550
 
-
6551
 
-# AC_ENABLE_STATIC([DEFAULT])
6552
 
-# ---------------------------
6553
 
-# implement the --enable-static flag
6554
 
-# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
6555
 
-AC_DEFUN([AC_ENABLE_STATIC],
6556
 
-[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
6557
 
-AC_ARG_ENABLE([static],
6558
 
-    [AC_HELP_STRING([--enable-static@<:@=PKGS@:>@],
6559
 
-       [build static libraries @<:@default=]AC_ENABLE_STATIC_DEFAULT[@:>@])],
6560
 
-    [p=${PACKAGE-default}
6561
 
-    case $enableval in
6562
 
-    yes) enable_static=yes ;;
6563
 
-    no) enable_static=no ;;
6564
 
-    *)
6565
 
-     enable_static=no
6566
 
-      # Look at the argument we got.  We use all the common list separators.
6567
 
-      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6568
 
-      for pkg in $enableval; do
6569
 
-       IFS="$lt_save_ifs"
6570
 
-       if test "X$pkg" = "X$p"; then
6571
 
-         enable_static=yes
6572
 
-       fi
6573
 
-      done
6574
 
-      IFS="$lt_save_ifs"
6575
 
-      ;;
6576
 
-    esac],
6577
 
-    [enable_static=]AC_ENABLE_STATIC_DEFAULT)
6578
 
-])# AC_ENABLE_STATIC
6579
 
-
6580
 
-
6581
 
-# AC_DISABLE_STATIC
6582
 
-# -----------------
6583
 
-# set the default static flag to --disable-static
6584
 
-AC_DEFUN([AC_DISABLE_STATIC],
6585
 
-[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
6586
 
-AC_ENABLE_STATIC(no)
6587
 
-])# AC_DISABLE_STATIC
6588
 
-
6589
 
-
6590
 
-# AC_ENABLE_FAST_INSTALL([DEFAULT])
6591
 
-# ---------------------------------
6592
 
-# implement the --enable-fast-install flag
6593
 
-# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
6594
 
-AC_DEFUN([AC_ENABLE_FAST_INSTALL],
6595
 
-[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
6596
 
-AC_ARG_ENABLE([fast-install],
6597
 
-    [AC_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
6598
 
-    [optimize for fast installation @<:@default=]AC_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
6599
 
-    [p=${PACKAGE-default}
6600
 
-    case $enableval in
6601
 
-    yes) enable_fast_install=yes ;;
6602
 
-    no) enable_fast_install=no ;;
6603
 
-    *)
6604
 
-      enable_fast_install=no
6605
 
-      # Look at the argument we got.  We use all the common list separators.
6606
 
-      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6607
 
-      for pkg in $enableval; do
6608
 
-       IFS="$lt_save_ifs"
6609
 
-       if test "X$pkg" = "X$p"; then
6610
 
-         enable_fast_install=yes
6611
 
-       fi
6612
 
-      done
6613
 
-      IFS="$lt_save_ifs"
6614
 
-      ;;
6615
 
-    esac],
6616
 
-    [enable_fast_install=]AC_ENABLE_FAST_INSTALL_DEFAULT)
6617
 
-])# AC_ENABLE_FAST_INSTALL
6618
 
-
6619
 
-
6620
 
-# AC_DISABLE_FAST_INSTALL
6621
 
-# -----------------------
6622
 
-# set the default to --disable-fast-install
6623
 
-AC_DEFUN([AC_DISABLE_FAST_INSTALL],
6624
 
-[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
6625
 
-AC_ENABLE_FAST_INSTALL(no)
6626
 
-])# AC_DISABLE_FAST_INSTALL
6627
 
-
6628
 
-
6629
 
-# AC_LIBTOOL_PICMODE([MODE])
6630
 
-# --------------------------
6631
 
-# implement the --with-pic flag
6632
 
-# MODE is either `yes' or `no'.  If omitted, it defaults to `both'.
6633
 
-AC_DEFUN([AC_LIBTOOL_PICMODE],
6634
 
-[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
6635
 
-pic_mode=ifelse($#,1,$1,default)
6636
 
-])# AC_LIBTOOL_PICMODE
6637
 
-
6638
 
-
6639
 
-# AC_PROG_EGREP
6640
 
-# -------------
6641
 
-# This is predefined starting with Autoconf 2.54, so this conditional
6642
 
-# definition can be removed once we require Autoconf 2.54 or later.
6643
 
-m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP],
6644
 
-[AC_CACHE_CHECK([for egrep], [ac_cv_prog_egrep],
6645
 
-   [if echo a | (grep -E '(a|b)') >/dev/null 2>&1
6646
 
-    then ac_cv_prog_egrep='grep -E'
6647
 
-    else ac_cv_prog_egrep='egrep'
6648
 
-    fi])
6649
 
- EGREP=$ac_cv_prog_egrep
6650
 
- AC_SUBST([EGREP])
6651
 
-])])
6652
 
-
6653
 
-
6654
 
-# AC_PATH_TOOL_PREFIX
6655
 
-# -------------------
6656
 
-# find a file program which can recognize shared library
6657
 
-AC_DEFUN([AC_PATH_TOOL_PREFIX],
6658
 
-[AC_REQUIRE([AC_PROG_EGREP])dnl
6659
 
-AC_MSG_CHECKING([for $1])
6660
 
-AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
6661
 
-[case $MAGIC_CMD in
6662
 
-[[\\/*] |  ?:[\\/]*])
6663
 
-  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6664
 
-  ;;
6665
 
-*)
6666
 
-  lt_save_MAGIC_CMD="$MAGIC_CMD"
6667
 
-  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6668
 
-dnl $ac_dummy forces splitting on constant user-supplied paths.
6669
 
-dnl POSIX.2 word splitting is done only on the output of word expansions,
6670
 
-dnl not every word.  This closes a longstanding sh security hole.
6671
 
-  ac_dummy="ifelse([$2], , $PATH, [$2])"
6672
 
-  for ac_dir in $ac_dummy; do
6673
 
-    IFS="$lt_save_ifs"
6674
 
-    test -z "$ac_dir" && ac_dir=.
6675
 
-    if test -f $ac_dir/$1; then
6676
 
-      lt_cv_path_MAGIC_CMD="$ac_dir/$1"
6677
 
-      if test -n "$file_magic_test_file"; then
6678
 
-       case $deplibs_check_method in
6679
 
-       "file_magic "*)
6680
 
-         file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6681
 
-         MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6682
 
-         if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6683
 
-           $EGREP "$file_magic_regex" > /dev/null; then
6684
 
-           :
6685
 
-         else
6686
 
-           cat <<EOF 1>&2
6687
 
-
6688
 
-*** Warning: the command libtool uses to detect shared libraries,
6689
 
-*** $file_magic_cmd, produces output that libtool cannot recognize.
6690
 
-*** The result is that libtool may fail to recognize shared libraries
6691
 
-*** as such.  This will affect the creation of libtool libraries that
6692
 
-*** depend on shared libraries, but programs linked with such libtool
6693
 
-*** libraries will work regardless of this problem.  Nevertheless, you
6694
 
-*** may want to report the problem to your system manager and/or to
6695
 
-*** bug-libtool@gnu.org
6696
 
-
6697
 
-EOF
6698
 
-         fi ;;
6699
 
-       esac
6700
 
-      fi
6701
 
-      break
6702
 
-    fi
6703
 
-  done
6704
 
-  IFS="$lt_save_ifs"
6705
 
-  MAGIC_CMD="$lt_save_MAGIC_CMD"
6706
 
-  ;;
6707
 
-esac])
6708
 
-MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6709
 
-if test -n "$MAGIC_CMD"; then
6710
 
-  AC_MSG_RESULT($MAGIC_CMD)
6711
 
-else
6712
 
-  AC_MSG_RESULT(no)
6713
 
-fi
6714
 
-])# AC_PATH_TOOL_PREFIX
6715
 
-
6716
 
-
6717
 
-# AC_PATH_MAGIC
6718
 
-# -------------
6719
 
-# find a file program which can recognize a shared library
6720
 
-AC_DEFUN([AC_PATH_MAGIC],
6721
 
-[AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
6722
 
-if test -z "$lt_cv_path_MAGIC_CMD"; then
6723
 
-  if test -n "$ac_tool_prefix"; then
6724
 
-    AC_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
6725
 
-  else
6726
 
-    MAGIC_CMD=:
6727
 
-  fi
6728
 
-fi
6729
 
-])# AC_PATH_MAGIC
6730
 
-
6731
 
-
6732
 
-# AC_PROG_LD
6733
 
-# ----------
6734
 
-# find the pathname to the GNU or non-GNU linker
6735
 
-AC_DEFUN([AC_PROG_LD],
6736
 
-[AC_ARG_WITH([gnu-ld],
6737
 
-    [AC_HELP_STRING([--with-gnu-ld],
6738
 
-       [assume the C compiler uses GNU ld @<:@default=no@:>@])],
6739
 
-    [test "$withval" = no || with_gnu_ld=yes],
6740
 
-    [with_gnu_ld=no])
6741
 
-AC_REQUIRE([LT_AC_PROG_SED])dnl
6742
 
-AC_REQUIRE([AC_PROG_CC])dnl
6743
 
-AC_REQUIRE([AC_CANONICAL_HOST])dnl
6744
 
-AC_REQUIRE([AC_CANONICAL_BUILD])dnl
6745
 
-ac_prog=ld
6746
 
-if test "$GCC" = yes; then
6747
 
-  # Check if gcc -print-prog-name=ld gives a path.
6748
 
-  AC_MSG_CHECKING([for ld used by $CC])
6749
 
-  case $host in
6750
 
-  *-*-mingw*)
6751
 
-    # gcc leaves a trailing carriage return which upsets mingw
6752
 
-    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6753
 
-  *)
6754
 
-    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6755
 
-  esac
6756
 
-  case $ac_prog in
6757
 
-    # Accept absolute paths.
6758
 
-    [[\\/]]* | ?:[[\\/]]*)
6759
 
-      re_direlt='/[[^/]][[^/]]*/\.\./'
6760
 
-      # Canonicalize the pathname of ld
6761
 
-      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
6762
 
-      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
6763
 
-       ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
6764
 
-      done
6765
 
-      test -z "$LD" && LD="$ac_prog"
6766
 
-      ;;
6767
 
-  "")
6768
 
-    # If it fails, then pretend we aren't using GCC.
6769
 
-    ac_prog=ld
6770
 
-    ;;
6771
 
-  *)
6772
 
-    # If it is relative, then search for the first ld in PATH.
6773
 
-    with_gnu_ld=unknown
6774
 
-    ;;
6775
 
-  esac
6776
 
-elif test "$with_gnu_ld" = yes; then
6777
 
-  AC_MSG_CHECKING([for GNU ld])
6778
 
-else
6779
 
-  AC_MSG_CHECKING([for non-GNU ld])
6780
 
-fi
6781
 
-AC_CACHE_VAL(lt_cv_path_LD,
6782
 
-[if test -z "$LD"; then
6783
 
-  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6784
 
-  for ac_dir in $PATH; do
6785
 
-    IFS="$lt_save_ifs"
6786
 
-    test -z "$ac_dir" && ac_dir=.
6787
 
-    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6788
 
-      lt_cv_path_LD="$ac_dir/$ac_prog"
6789
 
-      # Check to see if the program is GNU ld.  I'd rather use --version,
6790
 
-      # but apparently some variants of GNU ld only accept -v.
6791
 
-      # Break only if it was the GNU/non-GNU ld that we prefer.
6792
 
-      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6793
 
-      *GNU* | *'with BFD'*)
6794
 
-       test "$with_gnu_ld" != no && break
6795
 
-       ;;
6796
 
-      *)
6797
 
-       test "$with_gnu_ld" != yes && break
6798
 
-       ;;
6799
 
-      esac
6800
 
-    fi
6801
 
-  done
6802
 
-  IFS="$lt_save_ifs"
6803
 
-else
6804
 
-  lt_cv_path_LD="$LD" # Let the user override the test with a path.
6805
 
-fi])
6806
 
-LD="$lt_cv_path_LD"
6807
 
-if test -n "$LD"; then
6808
 
-  AC_MSG_RESULT($LD)
6809
 
-else
6810
 
-  AC_MSG_RESULT(no)
6811
 
-fi
6812
 
-test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
6813
 
-AC_PROG_LD_GNU
6814
 
-])# AC_PROG_LD
6815
 
-
6816
 
-
6817
 
-# AC_PROG_LD_GNU
6818
 
+# _LT_CMD_RELOAD
6819
 
 # --------------
6820
 
-AC_DEFUN([AC_PROG_LD_GNU],
6821
 
-[AC_REQUIRE([AC_PROG_EGREP])dnl
6822
 
-AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
6823
 
-[# I'd rather use --version here, but apparently some GNU lds only accept -v.
6824
 
-case `$LD -v 2>&1 </dev/null` in
6825
 
-*GNU* | *'with BFD'*)
6826
 
-  lt_cv_prog_gnu_ld=yes
6827
 
-  ;;
6828
 
-*)
6829
 
-  lt_cv_prog_gnu_ld=no
6830
 
-  ;;
6831
 
-esac])
6832
 
-with_gnu_ld=$lt_cv_prog_gnu_ld
6833
 
-])# AC_PROG_LD_GNU
6834
 
-
6835
 
-
6836
 
-# AC_PROG_LD_RELOAD_FLAG
6837
 
-# ----------------------
6838
 
 # find reload flag for linker
6839
 
 #   -- PORTME Some linkers may need a different reload flag.
6840
 
-AC_DEFUN([AC_PROG_LD_RELOAD_FLAG],
6841
 
+m4_defun([_LT_CMD_RELOAD],
6842
 
 [AC_CACHE_CHECK([for $LD option to reload object files],
6843
 
   lt_cv_ld_reload_flag,
6844
 
   [lt_cv_ld_reload_flag='-r'])
6845
 
@@ -3885,15 +3434,19 @@ case $host_os in
6846
 
     fi
6847
 
     ;;
6848
 
 esac
6849
 
-])# AC_PROG_LD_RELOAD_FLAG
6850
 
+_LT_DECL([], [reload_flag], [1], [How to create reloadable object files])dnl
6851
 
+_LT_DECL([], [reload_cmds], [2])dnl
6852
 
+])# _LT_CMD_RELOAD
6853
 
 
6854
 
 
6855
 
-# AC_DEPLIBS_CHECK_METHOD
6856
 
-# -----------------------
6857
 
+# _LT_CHECK_MAGIC_METHOD
6858
 
+# ----------------------
6859
 
 # how to check for library dependencies
6860
 
 #  -- PORTME fill in with the dynamic library characteristics
6861
 
-AC_DEFUN([AC_DEPLIBS_CHECK_METHOD],
6862
 
-[AC_CACHE_CHECK([how to recognize dependent libraries],
6863
 
+m4_defun([_LT_CHECK_MAGIC_METHOD],
6864
 
+[m4_require([_LT_DECL_EGREP])
6865
 
+m4_require([_LT_DECL_OBJDUMP])
6866
 
+AC_CACHE_CHECK([how to recognize dependent libraries],
6867
 
 lt_cv_deplibs_check_method,
6868
 
 [lt_cv_file_magic_cmd='$MAGIC_CMD'
6869
 
 lt_cv_file_magic_test_file=
6870
 
@@ -3943,12 +3496,18 @@ mingw* | pw32*)
6871
 
   fi
6872
 
   ;;
6873
 
 
6874
 
+cegcc)
6875
 
+  # use the weaker test based on 'objdump'. See mingw*.
6876
 
+  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6877
 
+  lt_cv_file_magic_cmd='$OBJDUMP -f'
6878
 
+  ;;
6879
 
+
6880
 
 darwin* | rhapsody*)
6881
 
   lt_cv_deplibs_check_method=pass_all
6882
 
   ;;
6883
 
 
6884
 
 freebsd* | dragonfly*)
6885
 
-  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
6886
 
+  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6887
 
     case $host_cpu in
6888
 
     i*86 )
6889
 
       # Not sure whether the presence of OpenBSD here was a mistake.
6890
 
@@ -4005,8 +3564,8 @@ linux* | k*bsd*-gnu)
6891
 
   lt_cv_deplibs_check_method=pass_all
6892
 
   ;;
6893
 
 
6894
 
-netbsd*)
6895
 
-  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
6896
 
+netbsd* | netbsdelf*-gnu)
6897
 
+  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6898
 
     lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
6899
 
   else
6900
 
     lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
6901
 
@@ -4019,12 +3578,12 @@ newos6*)
6902
 
   lt_cv_file_magic_test_file=/usr/lib/libnls.so
6903
 
   ;;
6904
 
 
6905
 
-nto-qnx*)
6906
 
-  lt_cv_deplibs_check_method=unknown
6907
 
+*nto* | *qnx*)
6908
 
+  lt_cv_deplibs_check_method=pass_all
6909
 
   ;;
6910
 
 
6911
 
 openbsd*)
6912
 
-  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6913
 
+  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6914
 
     lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
6915
 
   else
6916
 
     lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
6917
 
@@ -4043,6 +3602,10 @@ solaris*)
6918
 
   lt_cv_deplibs_check_method=pass_all
6919
 
   ;;
6920
 
 
6921
 
+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6922
 
+  lt_cv_deplibs_check_method=pass_all
6923
 
+  ;;
6924
 
+
6925
 
 sysv4 | sysv4.3*)
6926
 
   case $host_vendor in
6927
 
   motorola)
6928
 
@@ -4070,7 +3633,7 @@ sysv4 | sysv4.3*)
6929
 
   esac
6930
 
   ;;
6931
 
 
6932
 
-sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6933
 
+tpf*)
6934
 
   lt_cv_deplibs_check_method=pass_all
6935
 
   ;;
6936
 
 esac
6937
 
@@ -4078,14 +3641,20 @@ esac
6938
 
 file_magic_cmd=$lt_cv_file_magic_cmd
6939
 
 deplibs_check_method=$lt_cv_deplibs_check_method
6940
 
 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6941
 
-])# AC_DEPLIBS_CHECK_METHOD
6942
 
+
6943
 
+_LT_DECL([], [deplibs_check_method], [1],
6944
 
+    [Method to check whether dependent libraries are shared objects])
6945
 
+_LT_DECL([], [file_magic_cmd], [1],
6946
 
+    [Command to use when deplibs_check_method == "file_magic"])
6947
 
+])# _LT_CHECK_MAGIC_METHOD
6948
 
 
6949
 
 
6950
 
-# AC_PROG_NM
6951
 
+# LT_PATH_NM
6952
 
 # ----------
6953
 
-# find the pathname to a BSD-compatible name lister
6954
 
-AC_DEFUN([AC_PROG_NM],
6955
 
-[AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM,
6956
 
+# find the pathname to a BSD- or MS-compatible name lister
6957
 
+AC_DEFUN([LT_PATH_NM],
6958
 
+[AC_REQUIRE([AC_PROG_CC])dnl
6959
 
+AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
6960
 
 [if test -n "$NM"; then
6961
 
   # Let the user override the test.
6962
 
   lt_cv_path_NM="$NM"
6963
 
@@ -4127,16 +3696,51 @@ else
6964
 
     done
6965
 
     IFS="$lt_save_ifs"
6966
 
   done
6967
 
-  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
6968
 
+  : ${lt_cv_path_NM=no}
6969
 
 fi])
6970
 
-NM="$lt_cv_path_NM"
6971
 
-])# AC_PROG_NM
6972
 
+if test "$lt_cv_path_NM" != "no"; then
6973
 
+  NM="$lt_cv_path_NM"
6974
 
+else
6975
 
+  # Didn't find any BSD compatible name lister, look for dumpbin.
6976
 
+  AC_CHECK_TOOLS(DUMPBIN, ["dumpbin -symbols" "link -dump -symbols"], :)
6977
 
+  AC_SUBST([DUMPBIN])
6978
 
+  if test "$DUMPBIN" != ":"; then
6979
 
+    NM="$DUMPBIN"
6980
 
+  fi
6981
 
+fi
6982
 
+test -z "$NM" && NM=nm
6983
 
+AC_SUBST([NM])
6984
 
+_LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl
6985
 
 
6986
 
+AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
6987
 
+  [lt_cv_nm_interface="BSD nm"
6988
 
+  echo "int some_variable = 0;" > conftest.$ac_ext
6989
 
+  (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
6990
 
+  (eval "$ac_compile" 2>conftest.err)
6991
 
+  cat conftest.err >&AS_MESSAGE_LOG_FD
6992
 
+  (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
6993
 
+  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6994
 
+  cat conftest.err >&AS_MESSAGE_LOG_FD
6995
 
+  (eval echo "\"\$as_me:__oline__: output\"" >&AS_MESSAGE_LOG_FD)
6996
 
+  cat conftest.out >&AS_MESSAGE_LOG_FD
6997
 
+  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6998
 
+    lt_cv_nm_interface="MS dumpbin"
6999
 
+  fi
7000
 
+  rm -f conftest*])
7001
 
+])# LT_PATH_NM
7002
 
+
7003
 
+# Old names:
7004
 
+AU_ALIAS([AM_PROG_NM], [LT_PATH_NM])
7005
 
+AU_ALIAS([AC_PROG_NM], [LT_PATH_NM])
7006
 
+dnl aclocal-1.4 backwards compatibility:
7007
 
+dnl AC_DEFUN([AM_PROG_NM], [])
7008
 
+dnl AC_DEFUN([AC_PROG_NM], [])
7009
 
 
7010
 
-# AC_CHECK_LIBM
7011
 
-# -------------
7012
 
+
7013
 
+# LT_LIB_M
7014
 
+# --------
7015
 
 # check for math library
7016
 
-AC_DEFUN([AC_CHECK_LIBM],
7017
 
+AC_DEFUN([LT_LIB_M],
7018
 
 [AC_REQUIRE([AC_CANONICAL_HOST])dnl
7019
 
 LIBM=
7020
 
 case $host in
7021
 
@@ -4151,4165 +3755,6040 @@ case $host in
7022
 
   AC_CHECK_LIB(m, cos, LIBM="-lm")
7023
 
   ;;
7024
 
 esac
7025
 
-])# AC_CHECK_LIBM
7026
 
+AC_SUBST([LIBM])
7027
 
+])# LT_LIB_M
7028
 
 
7029
 
+# Old name:
7030
 
+AU_ALIAS([AC_CHECK_LIBM], [LT_LIB_M])
7031
 
+dnl aclocal-1.4 backwards compatibility:
7032
 
+dnl AC_DEFUN([AC_CHECK_LIBM], [])
7033
 
 
7034
 
-# AC_LIBLTDL_CONVENIENCE([DIRECTORY])
7035
 
-# -----------------------------------
7036
 
-# sets LIBLTDL to the link flags for the libltdl convenience library and
7037
 
-# LTDLINCL to the include flags for the libltdl header and adds
7038
 
-# --enable-ltdl-convenience to the configure arguments.  Note that
7039
 
-# AC_CONFIG_SUBDIRS is not called here.  If DIRECTORY is not provided,
7040
 
-# it is assumed to be `libltdl'.  LIBLTDL will be prefixed with
7041
 
-# '${top_builddir}/' and LTDLINCL will be prefixed with '${top_srcdir}/'
7042
 
-# (note the single quotes!).  If your package is not flat and you're not
7043
 
-# using automake, define top_builddir and top_srcdir appropriately in
7044
 
-# the Makefiles.
7045
 
-AC_DEFUN([AC_LIBLTDL_CONVENIENCE],
7046
 
-[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
7047
 
-  case $enable_ltdl_convenience in
7048
 
-  no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;;
7049
 
-  "") enable_ltdl_convenience=yes
7050
 
-      ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
7051
 
-  esac
7052
 
-  LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la
7053
 
-  LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
7054
 
-  # For backwards non-gettext consistent compatibility...
7055
 
-  INCLTDL="$LTDLINCL"
7056
 
-])# AC_LIBLTDL_CONVENIENCE
7057
 
 
7058
 
+# _LT_COMPILER_NO_RTTI([TAGNAME])
7059
 
+# -------------------------------
7060
 
+m4_defun([_LT_COMPILER_NO_RTTI],
7061
 
+[m4_require([_LT_TAG_COMPILER])dnl
7062
 
 
7063
 
-# AC_LIBLTDL_INSTALLABLE([DIRECTORY])
7064
 
-# -----------------------------------
7065
 
-# sets LIBLTDL to the link flags for the libltdl installable library and
7066
 
-# LTDLINCL to the include flags for the libltdl header and adds
7067
 
-# --enable-ltdl-install to the configure arguments.  Note that
7068
 
-# AC_CONFIG_SUBDIRS is not called here.  If DIRECTORY is not provided,
7069
 
-# and an installed libltdl is not found, it is assumed to be `libltdl'.
7070
 
-# LIBLTDL will be prefixed with '${top_builddir}/'# and LTDLINCL with
7071
 
-# '${top_srcdir}/' (note the single quotes!).  If your package is not
7072
 
-# flat and you're not using automake, define top_builddir and top_srcdir
7073
 
-# appropriately in the Makefiles.
7074
 
-# In the future, this macro may have to be called after AC_PROG_LIBTOOL.
7075
 
-AC_DEFUN([AC_LIBLTDL_INSTALLABLE],
7076
 
-[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
7077
 
-  AC_CHECK_LIB(ltdl, lt_dlinit,
7078
 
-  [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no],
7079
 
-  [if test x"$enable_ltdl_install" = xno; then
7080
 
-     AC_MSG_WARN([libltdl not installed, but installation disabled])
7081
 
-   else
7082
 
-     enable_ltdl_install=yes
7083
 
-   fi
7084
 
-  ])
7085
 
-  if test x"$enable_ltdl_install" = x"yes"; then
7086
 
-    ac_configure_args="$ac_configure_args --enable-ltdl-install"
7087
 
-    LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la
7088
 
-    LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
7089
 
-  else
7090
 
-    ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
7091
 
-    LIBLTDL="-lltdl"
7092
 
-    LTDLINCL=
7093
 
-  fi
7094
 
-  # For backwards non-gettext consistent compatibility...
7095
 
-  INCLTDL="$LTDLINCL"
7096
 
-])# AC_LIBLTDL_INSTALLABLE
7097
 
-
7098
 
-
7099
 
-# AC_LIBTOOL_CXX
7100
 
-# --------------
7101
 
-# enable support for C++ libraries
7102
 
-AC_DEFUN([AC_LIBTOOL_CXX],
7103
 
-[AC_REQUIRE([_LT_AC_LANG_CXX])
7104
 
-])# AC_LIBTOOL_CXX
7105
 
-
7106
 
+_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
7107
 
 
7108
 
-# _LT_AC_LANG_CXX
7109
 
-# ---------------
7110
 
-AC_DEFUN([_LT_AC_LANG_CXX],
7111
 
-[AC_REQUIRE([AC_PROG_CXX])
7112
 
-AC_REQUIRE([_LT_AC_PROG_CXXCPP])
7113
 
-_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX])
7114
 
-])# _LT_AC_LANG_CXX
7115
 
+if test "$GCC" = yes; then
7116
 
+  _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
7117
 
 
7118
 
-# _LT_AC_PROG_CXXCPP
7119
 
-# ------------------
7120
 
-AC_DEFUN([_LT_AC_PROG_CXXCPP],
7121
 
-[
7122
 
-AC_REQUIRE([AC_PROG_CXX])
7123
 
-if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
7124
 
-    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
7125
 
-    (test "X$CXX" != "Xg++"))) ; then
7126
 
-  AC_PROG_CXXCPP
7127
 
+  _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
7128
 
+    lt_cv_prog_compiler_rtti_exceptions,
7129
 
+    [-fno-rtti -fno-exceptions], [],
7130
 
+    [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
7131
 
 fi
7132
 
-])# _LT_AC_PROG_CXXCPP
7133
 
-
7134
 
-# AC_LIBTOOL_F77
7135
 
-# --------------
7136
 
-# enable support for Fortran 77 libraries
7137
 
-AC_DEFUN([AC_LIBTOOL_F77],
7138
 
-[AC_REQUIRE([_LT_AC_LANG_F77])
7139
 
-])# AC_LIBTOOL_F77
7140
 
-
7141
 
-
7142
 
-# _LT_AC_LANG_F77
7143
 
-# ---------------
7144
 
-AC_DEFUN([_LT_AC_LANG_F77],
7145
 
-[AC_REQUIRE([AC_PROG_F77])
7146
 
-_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}F77])
7147
 
-])# _LT_AC_LANG_F77
7148
 
-
7149
 
-
7150
 
-# AC_LIBTOOL_GCJ
7151
 
-# --------------
7152
 
-# enable support for GCJ libraries
7153
 
-AC_DEFUN([AC_LIBTOOL_GCJ],
7154
 
-[AC_REQUIRE([_LT_AC_LANG_GCJ])
7155
 
-])# AC_LIBTOOL_GCJ
7156
 
-
7157
 
-
7158
 
-# _LT_AC_LANG_GCJ
7159
 
-# ---------------
7160
 
-AC_DEFUN([_LT_AC_LANG_GCJ],
7161
 
-[AC_PROVIDE_IFELSE([AC_PROG_GCJ],[],
7162
 
-  [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],[],
7163
 
-    [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],[],
7164
 
-      [ifdef([AC_PROG_GCJ],[AC_REQUIRE([AC_PROG_GCJ])],
7165
 
-        [ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])],
7166
 
-          [AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])])
7167
 
-_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}GCJ])
7168
 
-])# _LT_AC_LANG_GCJ
7169
 
-
7170
 
-
7171
 
-# AC_LIBTOOL_RC
7172
 
-# -------------
7173
 
-# enable support for Windows resource files
7174
 
-AC_DEFUN([AC_LIBTOOL_RC],
7175
 
-[AC_REQUIRE([LT_AC_PROG_RC])
7176
 
-_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}RC])
7177
 
-])# AC_LIBTOOL_RC
7178
 
+_LT_TAGDECL([no_builtin_flag], [lt_prog_compiler_no_builtin_flag], [1],
7179
 
+       [Compiler flag to turn off builtin functions])
7180
 
+])# _LT_COMPILER_NO_RTTI
7181
 
 
7182
 
 
7183
 
-# AC_LIBTOOL_LANG_C_CONFIG
7184
 
-# ------------------------
7185
 
-# Ensure that the configuration vars for the C compiler are
7186
 
-# suitably defined.  Those variables are subsequently used by
7187
 
-# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
7188
 
-AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG], [_LT_AC_LANG_C_CONFIG])
7189
 
-AC_DEFUN([_LT_AC_LANG_C_CONFIG],
7190
 
-[lt_save_CC="$CC"
7191
 
-AC_LANG_PUSH(C)
7192
 
-
7193
 
-# Source file extension for C test sources.
7194
 
-ac_ext=c
7195
 
-
7196
 
-# Object file extension for compiled C test sources.
7197
 
-objext=o
7198
 
-_LT_AC_TAGVAR(objext, $1)=$objext
7199
 
-
7200
 
-# Code to be used in simple compile tests
7201
 
-lt_simple_compile_test_code="int some_variable = 0;"
7202
 
-
7203
 
-# Code to be used in simple link tests
7204
 
-lt_simple_link_test_code='int main(){return(0);}'
7205
 
-
7206
 
-_LT_AC_SYS_COMPILER
7207
 
+# _LT_CMD_GLOBAL_SYMBOLS
7208
 
+# ----------------------
7209
 
+m4_defun([_LT_CMD_GLOBAL_SYMBOLS],
7210
 
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
7211
 
+AC_REQUIRE([AC_PROG_CC])dnl
7212
 
+AC_REQUIRE([LT_PATH_NM])dnl
7213
 
+AC_REQUIRE([LT_PATH_LD])dnl
7214
 
+m4_require([_LT_DECL_SED])dnl
7215
 
+m4_require([_LT_DECL_EGREP])dnl
7216
 
+m4_require([_LT_TAG_COMPILER])dnl
7217
 
 
7218
 
-# save warnings/boilerplate of simple test code
7219
 
-_LT_COMPILER_BOILERPLATE
7220
 
-_LT_LINKER_BOILERPLATE
7221
 
+# Check for command to grab the raw symbol name followed by C symbol from nm.
7222
 
+AC_MSG_CHECKING([command to parse $NM output from $compiler object])
7223
 
+AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe],
7224
 
+[
7225
 
+# These are sane defaults that work on at least a few old systems.
7226
 
+# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7227
 
 
7228
 
-AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
7229
 
-AC_LIBTOOL_PROG_COMPILER_PIC($1)
7230
 
-AC_LIBTOOL_PROG_CC_C_O($1)
7231
 
-AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
7232
 
-AC_LIBTOOL_PROG_LD_SHLIBS($1)
7233
 
-AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
7234
 
-AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
7235
 
-AC_LIBTOOL_SYS_LIB_STRIP
7236
 
-AC_LIBTOOL_DLOPEN_SELF
7237
 
-
7238
 
-# Report which library types will actually be built
7239
 
-AC_MSG_CHECKING([if libtool supports shared libraries])
7240
 
-AC_MSG_RESULT([$can_build_shared])
7241
 
+# Character class describing NM global symbol codes.
7242
 
+symcode='[[BCDEGRST]]'
7243
 
 
7244
 
-AC_MSG_CHECKING([whether to build shared libraries])
7245
 
-test "$can_build_shared" = "no" && enable_shared=no
7246
 
+# Regexp to match symbols that can be accessed directly from C.
7247
 
+sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
7248
 
 
7249
 
-# On AIX, shared libraries and static libraries use the same namespace, and
7250
 
-# are all built from PIC.
7251
 
+# Define system-specific variables.
7252
 
 case $host_os in
7253
 
-aix3*)
7254
 
-  test "$enable_shared" = yes && enable_static=no
7255
 
-  if test -n "$RANLIB"; then
7256
 
-    archive_cmds="$archive_cmds~\$RANLIB \$lib"
7257
 
-    postinstall_cmds='$RANLIB $lib'
7258
 
-  fi
7259
 
+aix*)
7260
 
+  symcode='[[BCDT]]'
7261
 
   ;;
7262
 
-
7263
 
-aix[[4-9]]*)
7264
 
-  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
7265
 
-    test "$enable_shared" = yes && enable_static=no
7266
 
+cygwin* | mingw* | pw32* | cegcc*)
7267
 
+  symcode='[[ABCDGISTW]]'
7268
 
+  ;;
7269
 
+hpux*)
7270
 
+  if test "$host_cpu" = ia64; then
7271
 
+    symcode='[[ABCDEGRST]]'
7272
 
   fi
7273
 
-    ;;
7274
 
+  ;;
7275
 
+irix* | nonstopux*)
7276
 
+  symcode='[[BCDEGRST]]'
7277
 
+  ;;
7278
 
+osf*)
7279
 
+  symcode='[[BCDEGQRST]]'
7280
 
+  ;;
7281
 
+solaris*)
7282
 
+  symcode='[[BDRT]]'
7283
 
+  ;;
7284
 
+sco3.2v5*)
7285
 
+  symcode='[[DT]]'
7286
 
+  ;;
7287
 
+sysv4.2uw2*)
7288
 
+  symcode='[[DT]]'
7289
 
+  ;;
7290
 
+sysv5* | sco5v6* | unixware* | OpenUNIX*)
7291
 
+  symcode='[[ABDT]]'
7292
 
+  ;;
7293
 
+sysv4)
7294
 
+  symcode='[[DFNSTU]]'
7295
 
+  ;;
7296
 
 esac
7297
 
-AC_MSG_RESULT([$enable_shared])
7298
 
-
7299
 
-AC_MSG_CHECKING([whether to build static libraries])
7300
 
-# Make sure either enable_shared or enable_static is yes.
7301
 
-test "$enable_shared" = yes || enable_static=yes
7302
 
-AC_MSG_RESULT([$enable_static])
7303
 
-
7304
 
-AC_LIBTOOL_CONFIG($1)
7305
 
-
7306
 
-AC_LANG_POP
7307
 
-CC="$lt_save_CC"
7308
 
-])# AC_LIBTOOL_LANG_C_CONFIG
7309
 
-
7310
 
 
7311
 
-# AC_LIBTOOL_LANG_CXX_CONFIG
7312
 
-# --------------------------
7313
 
-# Ensure that the configuration vars for the C compiler are
7314
 
-# suitably defined.  Those variables are subsequently used by
7315
 
-# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
7316
 
-AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG], [_LT_AC_LANG_CXX_CONFIG(CXX)])
7317
 
-AC_DEFUN([_LT_AC_LANG_CXX_CONFIG],
7318
 
-[AC_LANG_PUSH(C++)
7319
 
-AC_REQUIRE([AC_PROG_CXX])
7320
 
-AC_REQUIRE([_LT_AC_PROG_CXXCPP])
7321
 
-
7322
 
-_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
7323
 
-_LT_AC_TAGVAR(allow_undefined_flag, $1)=
7324
 
-_LT_AC_TAGVAR(always_export_symbols, $1)=no
7325
 
-_LT_AC_TAGVAR(archive_expsym_cmds, $1)=
7326
 
-_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
7327
 
-_LT_AC_TAGVAR(hardcode_direct, $1)=no
7328
 
-_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
7329
 
-_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
7330
 
-_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
7331
 
-_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
7332
 
-_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
7333
 
-_LT_AC_TAGVAR(hardcode_automatic, $1)=no
7334
 
-_LT_AC_TAGVAR(module_cmds, $1)=
7335
 
-_LT_AC_TAGVAR(module_expsym_cmds, $1)=
7336
 
-_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
7337
 
-_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
7338
 
-_LT_AC_TAGVAR(no_undefined_flag, $1)=
7339
 
-_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
7340
 
-_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
7341
 
+# If we're using GNU nm, then use its standard symbol codes.
7342
 
+case `$NM -V 2>&1` in
7343
 
+*GNU* | *'with BFD'*)
7344
 
+  symcode='[[ABCDGIRSTW]]' ;;
7345
 
+esac
7346
 
 
7347
 
-# Dependencies to place before and after the object being linked:
7348
 
-_LT_AC_TAGVAR(predep_objects, $1)=
7349
 
-_LT_AC_TAGVAR(postdep_objects, $1)=
7350
 
-_LT_AC_TAGVAR(predeps, $1)=
7351
 
-_LT_AC_TAGVAR(postdeps, $1)=
7352
 
-_LT_AC_TAGVAR(compiler_lib_search_path, $1)=
7353
 
-_LT_AC_TAGVAR(compiler_lib_search_dirs, $1)=
7354
 
+# Transform an extracted symbol line into a proper C declaration.
7355
 
+# Some systems (esp. on ia64) link data and code symbols differently,
7356
 
+# so use this general approach.
7357
 
+lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7358
 
 
7359
 
-# Source file extension for C++ test sources.
7360
 
-ac_ext=cpp
7361
 
+# Transform an extracted symbol line into symbol name and symbol address
7362
 
+lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/  {\"\2\", (void *) \&\2},/p'"
7363
 
+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'"
7364
 
 
7365
 
-# Object file extension for compiled C++ test sources.
7366
 
-objext=o
7367
 
-_LT_AC_TAGVAR(objext, $1)=$objext
7368
 
+# Handle CRLF in mingw tool chain
7369
 
+opt_cr=
7370
 
+case $build_os in
7371
 
+mingw*)
7372
 
+  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7373
 
+  ;;
7374
 
+esac
7375
 
 
7376
 
-# Code to be used in simple compile tests
7377
 
-lt_simple_compile_test_code="int some_variable = 0;"
7378
 
+# Try without a prefix underscore, then with it.
7379
 
+for ac_symprfx in "" "_"; do
7380
 
 
7381
 
-# Code to be used in simple link tests
7382
 
-lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }'
7383
 
+  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7384
 
+  symxfrm="\\1 $ac_symprfx\\2 \\2"
7385
 
 
7386
 
-# ltmain only uses $CC for tagged configurations so make sure $CC is set.
7387
 
-_LT_AC_SYS_COMPILER
7388
 
+  # Write the raw and C identifiers.
7389
 
+  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7390
 
+    # Fake it for dumpbin and say T for any non-static function
7391
 
+    # and D for any global variable.
7392
 
+    # Also find C++ and __fastcall symbols from MSVC++,
7393
 
+    # which start with @ or ?.
7394
 
+    lt_cv_sys_global_symbol_pipe="$AWK ['"\
7395
 
+"     {last_section=section; section=\$ 3};"\
7396
 
+"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7397
 
+"     \$ 0!~/External *\|/{next};"\
7398
 
+"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7399
 
+"     {if(hide[section]) next};"\
7400
 
+"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7401
 
+"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7402
 
+"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
7403
 
+"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7404
 
+"     ' prfx=^$ac_symprfx]"
7405
 
+  else
7406
 
+    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[    ]]\($symcode$symcode*\)[[       ]][[    ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7407
 
+  fi
7408
 
 
7409
 
-# save warnings/boilerplate of simple test code
7410
 
-_LT_COMPILER_BOILERPLATE
7411
 
-_LT_LINKER_BOILERPLATE
7412
 
+  # Check to see that the pipe works correctly.
7413
 
+  pipe_works=no
7414
 
 
7415
 
-# Allow CC to be a program name with arguments.
7416
 
-lt_save_CC=$CC
7417
 
-lt_save_LD=$LD
7418
 
-lt_save_GCC=$GCC
7419
 
-GCC=$GXX
7420
 
-lt_save_with_gnu_ld=$with_gnu_ld
7421
 
-lt_save_path_LD=$lt_cv_path_LD
7422
 
-if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
7423
 
-  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
7424
 
-else
7425
 
-  $as_unset lt_cv_prog_gnu_ld
7426
 
-fi
7427
 
-if test -n "${lt_cv_path_LDCXX+set}"; then
7428
 
-  lt_cv_path_LD=$lt_cv_path_LDCXX
7429
 
-else
7430
 
-  $as_unset lt_cv_path_LD
7431
 
-fi
7432
 
-test -z "${LDCXX+set}" || LD=$LDCXX
7433
 
-CC=${CXX-"c++"}
7434
 
-compiler=$CC
7435
 
-_LT_AC_TAGVAR(compiler, $1)=$CC
7436
 
-_LT_CC_BASENAME([$compiler])
7437
 
+  rm -f conftest*
7438
 
+  cat > conftest.$ac_ext <<_LT_EOF
7439
 
+#ifdef __cplusplus
7440
 
+extern "C" {
7441
 
+#endif
7442
 
+char nm_test_var;
7443
 
+void nm_test_func(void);
7444
 
+void nm_test_func(void){}
7445
 
+#ifdef __cplusplus
7446
 
+}
7447
 
+#endif
7448
 
+int main(){nm_test_var='a';nm_test_func();return(0);}
7449
 
+_LT_EOF
7450
 
 
7451
 
-# We don't want -fno-exception wen compiling C++ code, so set the
7452
 
-# no_builtin_flag separately
7453
 
-if test "$GXX" = yes; then
7454
 
-  _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
7455
 
-else
7456
 
-  _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
7457
 
-fi
7458
 
+  if AC_TRY_EVAL(ac_compile); then
7459
 
+    # Now try to grab the symbols.
7460
 
+    nlist=conftest.nm
7461
 
+    if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
7462
 
+      # Try sorting and uniquifying the output.
7463
 
+      if sort "$nlist" | uniq > "$nlist"T; then
7464
 
+       mv -f "$nlist"T "$nlist"
7465
 
+      else
7466
 
+       rm -f "$nlist"T
7467
 
+      fi
7468
 
 
7469
 
-if test "$GXX" = yes; then
7470
 
-  # Set up default GNU C++ configuration
7471
 
+      # Make sure that we snagged all the symbols we need.
7472
 
+      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7473
 
+       if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7474
 
+         cat <<_LT_EOF > conftest.$ac_ext
7475
 
+#ifdef __cplusplus
7476
 
+extern "C" {
7477
 
+#endif
7478
 
 
7479
 
-  AC_PROG_LD
7480
 
+_LT_EOF
7481
 
+         # Now generate the symbol file.
7482
 
+         eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7483
 
 
7484
 
-  # Check if GNU C++ uses GNU ld as the underlying linker, since the
7485
 
-  # archiving commands below assume that GNU ld is being used.
7486
 
-  if test "$with_gnu_ld" = yes; then
7487
 
-    _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
7488
 
-    _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7489
 
+         cat <<_LT_EOF >> conftest.$ac_ext
7490
 
 
7491
 
-    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
7492
 
-    _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
7493
 
+/* The mapping between symbol names and symbols.  */
7494
 
+const struct {
7495
 
+  const char *name;
7496
 
+  void       *address;
7497
 
+}
7498
 
+lt__PROGRAM__LTX_preloaded_symbols[[]] =
7499
 
+{
7500
 
+  { "@PROGRAM@", (void *) 0 },
7501
 
+_LT_EOF
7502
 
+         $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7503
 
+         cat <<\_LT_EOF >> conftest.$ac_ext
7504
 
+  {0, (void *) 0}
7505
 
+};
7506
 
 
7507
 
-    # If archive_cmds runs LD, not CC, wlarc should be empty
7508
 
-    # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
7509
 
-    #     investigate it a little bit more. (MM)
7510
 
-    wlarc='${wl}'
7511
 
+/* This works around a problem in FreeBSD linker */
7512
 
+#ifdef FREEBSD_WORKAROUND
7513
 
+static const void *lt_preloaded_setup() {
7514
 
+  return lt__PROGRAM__LTX_preloaded_symbols;
7515
 
+}
7516
 
+#endif
7517
 
 
7518
 
-    # ancient GNU ld didn't support --whole-archive et. al.
7519
 
-    if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
7520
 
-       grep 'no-whole-archive' > /dev/null; then
7521
 
-      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7522
 
+#ifdef __cplusplus
7523
 
+}
7524
 
+#endif
7525
 
+_LT_EOF
7526
 
+         # Now try linking the two files.
7527
 
+         mv conftest.$ac_objext conftstm.$ac_objext
7528
 
+         lt_save_LIBS="$LIBS"
7529
 
+         lt_save_CFLAGS="$CFLAGS"
7530
 
+         LIBS="conftstm.$ac_objext"
7531
 
+         CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
7532
 
+         if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
7533
 
+           pipe_works=yes
7534
 
+         fi
7535
 
+         LIBS="$lt_save_LIBS"
7536
 
+         CFLAGS="$lt_save_CFLAGS"
7537
 
+       else
7538
 
+         echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
7539
 
+       fi
7540
 
+      else
7541
 
+       echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD
7542
 
+      fi
7543
 
     else
7544
 
-      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
7545
 
+      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
7546
 
     fi
7547
 
   else
7548
 
-    with_gnu_ld=no
7549
 
-    wlarc=
7550
 
-
7551
 
-    # A generic and very simple default shared library creation
7552
 
-    # command for GNU C++ for the case where it uses the native
7553
 
-    # linker, instead of GNU ld.  If possible, this setting should
7554
 
-    # overridden to take advantage of the native linker features on
7555
 
-    # the platform it is being used on.
7556
 
-    _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
7557
 
+    echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
7558
 
+    cat conftest.$ac_ext >&5
7559
 
   fi
7560
 
+  rm -rf conftest* conftst*
7561
 
 
7562
 
-  # Commands to make compiler produce verbose output that lists
7563
 
-  # what "hidden" libraries, object files and flags are used when
7564
 
-  # linking a shared library.
7565
 
-  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
7566
 
-
7567
 
+  # Do not use the global_symbol_pipe unless it works.
7568
 
+  if test "$pipe_works" = yes; then
7569
 
+    break
7570
 
+  else
7571
 
+    lt_cv_sys_global_symbol_pipe=
7572
 
+  fi
7573
 
+done
7574
 
+])
7575
 
+if test -z "$lt_cv_sys_global_symbol_pipe"; then
7576
 
+  lt_cv_sys_global_symbol_to_cdecl=
7577
 
+fi
7578
 
+if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7579
 
+  AC_MSG_RESULT(failed)
7580
 
 else
7581
 
-  GXX=no
7582
 
-  with_gnu_ld=no
7583
 
-  wlarc=
7584
 
+  AC_MSG_RESULT(ok)
7585
 
 fi
7586
 
 
7587
 
-# PORTME: fill in a description of your system's C++ link characteristics
7588
 
-AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
7589
 
-_LT_AC_TAGVAR(ld_shlibs, $1)=yes
7590
 
-case $host_os in
7591
 
-  aix3*)
7592
 
-    # FIXME: insert proper C++ library support
7593
 
-    _LT_AC_TAGVAR(ld_shlibs, $1)=no
7594
 
-    ;;
7595
 
-  aix[[4-9]]*)
7596
 
-    if test "$host_cpu" = ia64; then
7597
 
-      # On IA64, the linker does run time linking by default, so we don't
7598
 
-      # have to do anything special.
7599
 
-      aix_use_runtimelinking=no
7600
 
-      exp_sym_flag='-Bexport'
7601
 
-      no_entry_flag=""
7602
 
-    else
7603
 
-      aix_use_runtimelinking=no
7604
 
+_LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1],
7605
 
+    [Take the output of nm and produce a listing of raw symbols and C names])
7606
 
+_LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1],
7607
 
+    [Transform the output of nm in a proper C declaration])
7608
 
+_LT_DECL([global_symbol_to_c_name_address],
7609
 
+    [lt_cv_sys_global_symbol_to_c_name_address], [1],
7610
 
+    [Transform the output of nm in a C name address pair])
7611
 
+_LT_DECL([global_symbol_to_c_name_address_lib_prefix],
7612
 
+    [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1],
7613
 
+    [Transform the output of nm in a C name address pair when lib prefix is needed])
7614
 
+]) # _LT_CMD_GLOBAL_SYMBOLS
7615
 
 
7616
 
-      # Test if we are trying to use run time linking or normal
7617
 
-      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7618
 
-      # need to do runtime linking.
7619
 
-      case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
7620
 
-       for ld_flag in $LDFLAGS; do
7621
 
-         case $ld_flag in
7622
 
-         *-brtl*)
7623
 
-           aix_use_runtimelinking=yes
7624
 
-           break
7625
 
-           ;;
7626
 
-         esac
7627
 
-       done
7628
 
-       ;;
7629
 
-      esac
7630
 
 
7631
 
-      exp_sym_flag='-bexport'
7632
 
-      no_entry_flag='-bnoentry'
7633
 
-    fi
7634
 
+# _LT_COMPILER_PIC([TAGNAME])
7635
 
+# ---------------------------
7636
 
+m4_defun([_LT_COMPILER_PIC],
7637
 
+[m4_require([_LT_TAG_COMPILER])dnl
7638
 
+_LT_TAGVAR(lt_prog_compiler_wl, $1)=
7639
 
+_LT_TAGVAR(lt_prog_compiler_pic, $1)=
7640
 
+_LT_TAGVAR(lt_prog_compiler_static, $1)=
7641
 
 
7642
 
-    # When large executables or shared objects are built, AIX ld can
7643
 
-    # have problems creating the table of contents.  If linking a library
7644
 
-    # or program results in "error TOC overflow" add -mminimal-toc to
7645
 
-    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
7646
 
-    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7647
 
-
7648
 
-    _LT_AC_TAGVAR(archive_cmds, $1)=''
7649
 
-    _LT_AC_TAGVAR(hardcode_direct, $1)=yes
7650
 
-    _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
7651
 
-    _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
7652
 
+AC_MSG_CHECKING([for $compiler option to produce PIC])
7653
 
+m4_if([$1], [CXX], [
7654
 
+  # C++ specific cases for pic, static, wl, etc.
7655
 
+  if test "$GXX" = yes; then
7656
 
+    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
7657
 
+    _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
7658
 
 
7659
 
-    if test "$GXX" = yes; then
7660
 
-      case $host_os in aix4.[[012]]|aix4.[[012]].*)
7661
 
-      # We only want to do this on AIX 4.2 and lower, the check
7662
 
-      # below for broken collect2 doesn't work under 4.3+
7663
 
-       collect2name=`${CC} -print-prog-name=collect2`
7664
 
-       if test -f "$collect2name" && \
7665
 
-          strings "$collect2name" | grep resolve_lib_name >/dev/null
7666
 
-       then
7667
 
-         # We have reworked collect2
7668
 
-         :
7669
 
-       else
7670
 
-         # We have old collect2
7671
 
-         _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
7672
 
-         # It fails to find uninstalled libraries when the uninstalled
7673
 
-         # path is not listed in the libpath.  Setting hardcode_minus_L
7674
 
-         # to unsupported forces relinking
7675
 
-         _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
7676
 
-         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
7677
 
-         _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
7678
 
-       fi
7679
 
-       ;;
7680
 
-      esac
7681
 
-      shared_flag='-shared'
7682
 
-      if test "$aix_use_runtimelinking" = yes; then
7683
 
-       shared_flag="$shared_flag "'${wl}-G'
7684
 
-      fi
7685
 
-    else
7686
 
-      # not using gcc
7687
 
-      if test "$host_cpu" = ia64; then
7688
 
-       # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7689
 
-       # chokes on -Wl,-G. The following line is correct:
7690
 
-       shared_flag='-G'
7691
 
-      else
7692
 
-       if test "$aix_use_runtimelinking" = yes; then
7693
 
-         shared_flag='${wl}-G'
7694
 
-       else
7695
 
-         shared_flag='${wl}-bM:SRE'
7696
 
-       fi
7697
 
-      fi
7698
 
-    fi
7699
 
-
7700
 
-    # It seems that -bexpall does not export symbols beginning with
7701
 
-    # underscore (_), so it is better to generate a list of symbols to export.
7702
 
-    _LT_AC_TAGVAR(always_export_symbols, $1)=yes
7703
 
-    if test "$aix_use_runtimelinking" = yes; then
7704
 
-      # Warning - without using the other runtime loading flags (-brtl),
7705
 
-      # -berok will link without error, but may produce a broken library.
7706
 
-      _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
7707
 
-      # Determine the default libpath from the value encoded in an empty executable.
7708
 
-      _LT_AC_SYS_LIBPATH_AIX
7709
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
7710
 
-
7711
 
-      _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
7712
 
-     else
7713
 
+    case $host_os in
7714
 
+    aix*)
7715
 
+      # All AIX code is PIC.
7716
 
       if test "$host_cpu" = ia64; then
7717
 
-       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
7718
 
-       _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
7719
 
-       _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
7720
 
-      else
7721
 
-       # Determine the default libpath from the value encoded in an empty executable.
7722
 
-       _LT_AC_SYS_LIBPATH_AIX
7723
 
-       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
7724
 
-       # Warning - without using the other run time loading flags,
7725
 
-       # -berok will link without error, but may produce a broken library.
7726
 
-       _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
7727
 
-       _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
7728
 
-       # Exported symbols can be pulled into shared objects from archives
7729
 
-       _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
7730
 
-       _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
7731
 
-       # This is similar to how AIX traditionally builds its shared libraries.
7732
 
-       _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
7733
 
+       # AIX 5 now supports IA64 processor
7734
 
+       _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
7735
 
       fi
7736
 
-    fi
7737
 
-    ;;
7738
 
-
7739
 
-  beos*)
7740
 
-    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7741
 
-      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
7742
 
-      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7743
 
-      # support --undefined.  This deserves some investigation.  FIXME
7744
 
-      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7745
 
-    else
7746
 
-      _LT_AC_TAGVAR(ld_shlibs, $1)=no
7747
 
-    fi
7748
 
-    ;;
7749
 
-
7750
 
-  chorus*)
7751
 
-    case $cc_basename in
7752
 
-      *)
7753
 
-       # FIXME: insert proper C++ library support
7754
 
-       _LT_AC_TAGVAR(ld_shlibs, $1)=no
7755
 
-       ;;
7756
 
-    esac
7757
 
-    ;;
7758
 
+      ;;
7759
 
 
7760
 
-  cygwin* | mingw* | pw32*)
7761
 
-    # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
7762
 
-    # as there is no search path for DLLs.
7763
 
-    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
7764
 
-    _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
7765
 
-    _LT_AC_TAGVAR(always_export_symbols, $1)=no
7766
 
-    _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
7767
 
-
7768
 
-    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
7769
 
-      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7770
 
-      # If the export-symbols file already is a .def file (1st line
7771
 
-      # is EXPORTS), use it as is; otherwise, prepend...
7772
 
-      _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7773
 
-       cp $export_symbols $output_objdir/$soname.def;
7774
 
-      else
7775
 
-       echo EXPORTS > $output_objdir/$soname.def;
7776
 
-       cat $export_symbols >> $output_objdir/$soname.def;
7777
 
-      fi~
7778
 
-      $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'
7779
 
-    else
7780
 
-      _LT_AC_TAGVAR(ld_shlibs, $1)=no
7781
 
-    fi
7782
 
-  ;;
7783
 
-      darwin* | rhapsody*)
7784
 
-      _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
7785
 
-      _LT_AC_TAGVAR(hardcode_direct, $1)=no
7786
 
-      _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
7787
 
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
7788
 
-      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''
7789
 
-      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
7790
 
-      _LT_AC_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
7791
 
-      if test "$GXX" = yes ; then
7792
 
-      output_verbose_link_cmd='echo'
7793
 
-      _LT_AC_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
7794
 
-      _LT_AC_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
7795
 
-      _LT_AC_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
7796
 
-      _LT_AC_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
7797
 
-      if test "$lt_cv_apple_cc_single_mod" != "yes"; then
7798
 
-        _LT_AC_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
7799
 
-        _LT_AC_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
7800
 
-      fi
7801
 
-      else
7802
 
-      case $cc_basename in
7803
 
-        xlc*)
7804
 
-         output_verbose_link_cmd='echo'
7805
 
-          _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
7806
 
-          _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7807
 
-          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7808
 
-          _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7809
 
-          _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7810
 
-          ;;
7811
 
-       *)
7812
 
-         _LT_AC_TAGVAR(ld_shlibs, $1)=no
7813
 
-          ;;
7814
 
-      esac
7815
 
-      fi
7816
 
+    amigaos*)
7817
 
+      case $host_cpu in
7818
 
+      powerpc)
7819
 
+            # see comment about AmigaOS4 .so support
7820
 
+            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
7821
 
+        ;;
7822
 
+      m68k)
7823
 
+            # FIXME: we need at least 68020 code to build shared libraries, but
7824
 
+            # adding the `-m68020' flag to GCC prevents building anything better,
7825
 
+            # like `-m68040'.
7826
 
+            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
7827
 
         ;;
7828
 
+      esac
7829
 
+      ;;
7830
 
 
7831
 
-  dgux*)
7832
 
-    case $cc_basename in
7833
 
-      ec++*)
7834
 
-       # FIXME: insert proper C++ library support
7835
 
-       _LT_AC_TAGVAR(ld_shlibs, $1)=no
7836
 
-       ;;
7837
 
-      ghcx*)
7838
 
-       # Green Hills C++ Compiler
7839
 
-       # FIXME: insert proper C++ library support
7840
 
-       _LT_AC_TAGVAR(ld_shlibs, $1)=no
7841
 
-       ;;
7842
 
-      *)
7843
 
-       # FIXME: insert proper C++ library support
7844
 
-       _LT_AC_TAGVAR(ld_shlibs, $1)=no
7845
 
-       ;;
7846
 
-    esac
7847
 
-    ;;
7848
 
-  freebsd[[12]]*)
7849
 
-    # C++ shared libraries reported to be fairly broken before switch to ELF
7850
 
-    _LT_AC_TAGVAR(ld_shlibs, $1)=no
7851
 
-    ;;
7852
 
-  freebsd-elf*)
7853
 
-    _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
7854
 
-    ;;
7855
 
-  freebsd* | dragonfly*)
7856
 
-    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
7857
 
-    # conventions
7858
 
-    _LT_AC_TAGVAR(ld_shlibs, $1)=yes
7859
 
-    ;;
7860
 
-  gnu*)
7861
 
-    ;;
7862
 
-  hpux9*)
7863
 
-    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
7864
 
-    _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
7865
 
-    _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
7866
 
-    _LT_AC_TAGVAR(hardcode_direct, $1)=yes
7867
 
-    _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
7868
 
-                               # but as the default
7869
 
-                               # location of the library.
7870
 
-
7871
 
-    case $cc_basename in
7872
 
-    CC*)
7873
 
-      # FIXME: insert proper C++ library support
7874
 
-      _LT_AC_TAGVAR(ld_shlibs, $1)=no
7875
 
+    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7876
 
+      # PIC is the default for these OSes.
7877
 
       ;;
7878
 
-    aCC*)
7879
 
-      _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
7880
 
-      # Commands to make compiler produce verbose output that lists
7881
 
-      # what "hidden" libraries, object files and flags are used when
7882
 
-      # linking a shared library.
7883
 
-      #
7884
 
-      # There doesn't appear to be a way to prevent this compiler from
7885
 
-      # explicitly linking system object files so we need to strip them
7886
 
-      # from the output so that they don't get included in the library
7887
 
-      # dependencies.
7888
 
-      output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[[-]]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
7889
 
+    mingw* | cygwin* | os2* | pw32* | cegcc*)
7890
 
+      # This hack is so that the source file can tell whether it is being
7891
 
+      # built for inclusion in a dll (and should export symbols for example).
7892
 
+      # Although the cygwin gcc ignores -fPIC, still need this for old-style
7893
 
+      # (--disable-auto-import) libraries
7894
 
+      m4_if([$1], [GCJ], [],
7895
 
+       [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
7896
 
       ;;
7897
 
-    *)
7898
 
-      if test "$GXX" = yes; then
7899
 
-        _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
7900
 
-      else
7901
 
-        # FIXME: insert proper C++ library support
7902
 
-        _LT_AC_TAGVAR(ld_shlibs, $1)=no
7903
 
+    darwin* | rhapsody*)
7904
 
+      # PIC is the default on this platform
7905
 
+      # Common symbols not allowed in MH_DYLIB files
7906
 
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
7907
 
+      ;;
7908
 
+    *djgpp*)
7909
 
+      # DJGPP does not support shared libraries at all
7910
 
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)=
7911
 
+      ;;
7912
 
+    interix[[3-9]]*)
7913
 
+      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7914
 
+      # Instead, we relocate shared libraries at runtime.
7915
 
+      ;;
7916
 
+    sysv4*MP*)
7917
 
+      if test -d /usr/nec; then
7918
 
+       _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
7919
 
       fi
7920
 
       ;;
7921
 
-    esac
7922
 
-    ;;
7923
 
-  hpux10*|hpux11*)
7924
 
-    if test $with_gnu_ld = no; then
7925
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
7926
 
-      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
7927
 
-
7928
 
+    hpux*)
7929
 
+      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7930
 
+      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
7931
 
+      # sets the default TLS model and affects inlining.
7932
 
       case $host_cpu in
7933
 
-      hppa*64*|ia64*) ;;
7934
 
+      hppa*64*)
7935
 
+       ;;
7936
 
       *)
7937
 
-       _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
7938
 
-        ;;
7939
 
+       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
7940
 
+       ;;
7941
 
       esac
7942
 
-    fi
7943
 
-    case $host_cpu in
7944
 
-    hppa*64*|ia64*)
7945
 
-      _LT_AC_TAGVAR(hardcode_direct, $1)=no
7946
 
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
7947
 
+      ;;
7948
 
+    *qnx* | *nto*)
7949
 
+      # QNX uses GNU C++, but need to define -shared option too, otherwise
7950
 
+      # it will coredump.
7951
 
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
7952
 
       ;;
7953
 
     *)
7954
 
-      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
7955
 
-      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
7956
 
-                                             # but as the default
7957
 
-                                             # location of the library.
7958
 
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
7959
 
       ;;
7960
 
     esac
7961
 
-
7962
 
-    case $cc_basename in
7963
 
-      CC*)
7964
 
-       # FIXME: insert proper C++ library support
7965
 
-       _LT_AC_TAGVAR(ld_shlibs, $1)=no
7966
 
+  else
7967
 
+    case $host_os in
7968
 
+      aix[[4-9]]*)
7969
 
+       # All AIX code is PIC.
7970
 
+       if test "$host_cpu" = ia64; then
7971
 
+         # AIX 5 now supports IA64 processor
7972
 
+         _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
7973
 
+       else
7974
 
+         _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
7975
 
+       fi
7976
 
        ;;
7977
 
-      aCC*)
7978
 
-       case $host_cpu in
7979
 
-       hppa*64*)
7980
 
-         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
7981
 
-         ;;
7982
 
-       ia64*)
7983
 
-         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
7984
 
-         ;;
7985
 
-       *)
7986
 
-         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
7987
 
+      chorus*)
7988
 
+       case $cc_basename in
7989
 
+       cxch68*)
7990
 
+         # Green Hills C++ Compiler
7991
 
+         # _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"
7992
 
          ;;
7993
 
        esac
7994
 
-       # Commands to make compiler produce verbose output that lists
7995
 
-       # what "hidden" libraries, object files and flags are used when
7996
 
-       # linking a shared library.
7997
 
-       #
7998
 
-       # There doesn't appear to be a way to prevent this compiler from
7999
 
-       # explicitly linking system object files so we need to strip them
8000
 
-       # from the output so that they don't get included in the library
8001
 
-       # dependencies.
8002
 
-       output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
8003
 
        ;;
8004
 
-      *)
8005
 
-       if test "$GXX" = yes; then
8006
 
-         if test $with_gnu_ld = no; then
8007
 
+      dgux*)
8008
 
+       case $cc_basename in
8009
 
+         ec++*)
8010
 
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
8011
 
+           ;;
8012
 
+         ghcx*)
8013
 
+           # Green Hills C++ Compiler
8014
 
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
8015
 
+           ;;
8016
 
+         *)
8017
 
+           ;;
8018
 
+       esac
8019
 
+       ;;
8020
 
+      freebsd* | dragonfly*)
8021
 
+       # FreeBSD uses GNU C++
8022
 
+       ;;
8023
 
+      hpux9* | hpux10* | hpux11*)
8024
 
+       case $cc_basename in
8025
 
+         CC*)
8026
 
+           _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
8027
 
+           _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
8028
 
+           if test "$host_cpu" != ia64; then
8029
 
+             _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
8030
 
+           fi
8031
 
+           ;;
8032
 
+         aCC*)
8033
 
+           _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
8034
 
+           _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
8035
 
            case $host_cpu in
8036
 
-           hppa*64*)
8037
 
-             _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
8038
 
-             ;;
8039
 
-           ia64*)
8040
 
-             _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
8041
 
+           hppa*64*|ia64*)
8042
 
+             # +Z the default
8043
 
              ;;
8044
 
            *)
8045
 
-             _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
8046
 
+             _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
8047
 
              ;;
8048
 
            esac
8049
 
-         fi
8050
 
-       else
8051
 
-         # FIXME: insert proper C++ library support
8052
 
-         _LT_AC_TAGVAR(ld_shlibs, $1)=no
8053
 
-       fi
8054
 
-       ;;
8055
 
-    esac
8056
 
-    ;;
8057
 
-  interix[[3-9]]*)
8058
 
-    _LT_AC_TAGVAR(hardcode_direct, $1)=no
8059
 
-    _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8060
 
-    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
8061
 
-    _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
8062
 
-    # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8063
 
-    # Instead, shared libraries are loaded at an image base (0x10000000 by
8064
 
-    # default) and relocated if they conflict, which is a slow very memory
8065
 
-    # consuming and fragmenting process.  To avoid this, we pick a random,
8066
 
-    # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8067
 
-    # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8068
 
-    _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8069
 
-    _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8070
 
-    ;;
8071
 
-  irix5* | irix6*)
8072
 
-    case $cc_basename in
8073
 
-      CC*)
8074
 
-       # SGI C++
8075
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
8076
 
-
8077
 
-       # Archives containing C++ object files must be created using
8078
 
-       # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
8079
 
-       # necessary to make sure instantiated templates are included
8080
 
-       # in the archive.
8081
 
-       _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
8082
 
+           ;;
8083
 
+         *)
8084
 
+           ;;
8085
 
+       esac
8086
 
        ;;
8087
 
-      *)
8088
 
-       if test "$GXX" = yes; then
8089
 
-         if test "$with_gnu_ld" = no; then
8090
 
-           _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8091
 
-         else
8092
 
-           _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
8093
 
-         fi
8094
 
-       fi
8095
 
-       _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
8096
 
+      interix*)
8097
 
+       # This is c89, which is MS Visual C++ (no shared libs)
8098
 
+       # Anyone wants to do a port?
8099
 
        ;;
8100
 
-    esac
8101
 
-    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
8102
 
-    _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
8103
 
-    ;;
8104
 
-  linux* | k*bsd*-gnu)
8105
 
-    case $cc_basename in
8106
 
-      KCC*)
8107
 
-       # Kuck and Associates, Inc. (KAI) C++ Compiler
8108
 
-
8109
 
-       # KCC will only create a shared library if the output file
8110
 
-       # ends with ".so" (or ".sl" for HP-UX), so rename the library
8111
 
-       # to its proper name (with version) after linking.
8112
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
8113
 
-       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
8114
 
-       # Commands to make compiler produce verbose output that lists
8115
 
-       # what "hidden" libraries, object files and flags are used when
8116
 
-       # linking a shared library.
8117
 
-       #
8118
 
-       # There doesn't appear to be a way to prevent this compiler from
8119
 
-       # explicitly linking system object files so we need to strip them
8120
 
-       # from the output so that they don't get included in the library
8121
 
-       # dependencies.
8122
 
-       output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
8123
 
-
8124
 
-       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath,$libdir'
8125
 
-       _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
8126
 
-
8127
 
-       # Archives containing C++ object files must be created using
8128
 
-       # "CC -Bstatic", where "CC" is the KAI C++ compiler.
8129
 
-       _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
8130
 
-       ;;
8131
 
-      icpc*)
8132
 
-       # Intel C++
8133
 
-       with_gnu_ld=yes
8134
 
-       # version 8.0 and above of icpc choke on multiply defined symbols
8135
 
-       # if we add $predep_objects and $postdep_objects, however 7.1 and
8136
 
-       # earlier do not add the objects themselves.
8137
 
-       case `$CC -V 2>&1` in
8138
 
-       *"Version 7."*)
8139
 
-         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
8140
 
-         _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8141
 
-         ;;
8142
 
-       *)  # Version 8.0 or newer
8143
 
-         tmp_idyn=
8144
 
-         case $host_cpu in
8145
 
-           ia64*) tmp_idyn=' -i_dynamic';;
8146
 
-         esac
8147
 
-         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8148
 
-         _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8149
 
-         ;;
8150
 
+      irix5* | irix6* | nonstopux*)
8151
 
+       case $cc_basename in
8152
 
+         CC*)
8153
 
+           _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
8154
 
+           _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
8155
 
+           # CC pic flag -KPIC is the default.
8156
 
+           ;;
8157
 
+         *)
8158
 
+           ;;
8159
 
        esac
8160
 
-       _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
8161
 
-       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
8162
 
-       _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
8163
 
-       _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
8164
 
-       ;;
8165
 
-      pgCC* | pgcpp*)
8166
 
-        # Portland Group C++ compiler
8167
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
8168
 
-       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
8169
 
-
8170
 
-       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
8171
 
-       _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
8172
 
-       _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
8173
 
-        ;;
8174
 
-      cxx*)
8175
 
-       # Compaq C++
8176
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
8177
 
-       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
8178
 
-
8179
 
-       runpath_var=LD_RUN_PATH
8180
 
-       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
8181
 
-       _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
8182
 
-
8183
 
-       # Commands to make compiler produce verbose output that lists
8184
 
-       # what "hidden" libraries, object files and flags are used when
8185
 
-       # linking a shared library.
8186
 
-       #
8187
 
-       # There doesn't appear to be a way to prevent this compiler from
8188
 
-       # explicitly linking system object files so we need to strip them
8189
 
-       # from the output so that they don't get included in the library
8190
 
-       # dependencies.
8191
 
-       output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
8192
 
        ;;
8193
 
-      *)
8194
 
-       case `$CC -V 2>&1 | sed 5q` in
8195
 
-       *Sun\ C*)
8196
 
-         # Sun C++ 5.9
8197
 
-         _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'
8198
 
-         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
8199
 
-         _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
8200
 
-         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
8201
 
-         _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
8202
 
-
8203
 
-         # Not sure whether something based on
8204
 
-         # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
8205
 
-         # would be better.
8206
 
-         output_verbose_link_cmd='echo'
8207
 
-
8208
 
-         # Archives containing C++ object files must be created using
8209
 
-         # "CC -xar", where "CC" is the Sun C++ compiler.  This is
8210
 
-         # necessary to make sure instantiated templates are included
8211
 
-         # in the archive.
8212
 
-         _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
8213
 
-         ;;
8214
 
+      linux* | k*bsd*-gnu)
8215
 
+       case $cc_basename in
8216
 
+         KCC*)
8217
 
+           # KAI C++ Compiler
8218
 
+           _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
8219
 
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
8220
 
+           ;;
8221
 
+         ecpc* )
8222
 
+           # old Intel C++ for x86_64 which still supported -KPIC.
8223
 
+           _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
8224
 
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
8225
 
+           _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
8226
 
+           ;;
8227
 
+         icpc* )
8228
 
+           # Intel C++, used to be incompatible with GCC.
8229
 
+           # ICC 10 doesn't accept -KPIC any more.
8230
 
+           _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
8231
 
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
8232
 
+           _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
8233
 
+           ;;
8234
 
+         pgCC* | pgcpp*)
8235
 
+           # Portland Group C++ compiler
8236
 
+           _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
8237
 
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
8238
 
+           _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
8239
 
+           ;;
8240
 
+         cxx*)
8241
 
+           # Compaq C++
8242
 
+           # Make sure the PIC flag is empty.  It appears that all Alpha
8243
 
+           # Linux and Compaq Tru64 Unix objects are PIC.
8244
 
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)=
8245
 
+           _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
8246
 
+           ;;
8247
 
+         xlc* | xlC*)
8248
 
+           # IBM XL 8.0 on PPC
8249
 
+           _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
8250
 
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
8251
 
+           _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
8252
 
+           ;;
8253
 
+         *)
8254
 
+           case `$CC -V 2>&1 | sed 5q` in
8255
 
+           *Sun\ C*)
8256
 
+             # Sun C++ 5.9
8257
 
+             _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
8258
 
+             _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
8259
 
+             _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
8260
 
+             ;;
8261
 
+           esac
8262
 
+           ;;
8263
 
        esac
8264
 
        ;;
8265
 
-    esac
8266
 
-    ;;
8267
 
-  lynxos*)
8268
 
-    # FIXME: insert proper C++ library support
8269
 
-    _LT_AC_TAGVAR(ld_shlibs, $1)=no
8270
 
-    ;;
8271
 
-  m88k*)
8272
 
-    # FIXME: insert proper C++ library support
8273
 
-    _LT_AC_TAGVAR(ld_shlibs, $1)=no
8274
 
-    ;;
8275
 
-  mvs*)
8276
 
-    case $cc_basename in
8277
 
-      cxx*)
8278
 
-       # FIXME: insert proper C++ library support
8279
 
-       _LT_AC_TAGVAR(ld_shlibs, $1)=no
8280
 
-       ;;
8281
 
-      *)
8282
 
-       # FIXME: insert proper C++ library support
8283
 
-       _LT_AC_TAGVAR(ld_shlibs, $1)=no
8284
 
-       ;;
8285
 
-    esac
8286
 
-    ;;
8287
 
-  netbsd*)
8288
 
-    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
8289
 
-      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
8290
 
-      wlarc=
8291
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
8292
 
-      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
8293
 
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8294
 
-    fi
8295
 
-    # Workaround some broken pre-1.5 toolchains
8296
 
-    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
8297
 
-    ;;
8298
 
-  openbsd2*)
8299
 
-    # C++ shared libraries are fairly broken
8300
 
-    _LT_AC_TAGVAR(ld_shlibs, $1)=no
8301
 
-    ;;
8302
 
-  openbsd*)
8303
 
-    if test -f /usr/libexec/ld.so; then
8304
 
-      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
8305
 
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8306
 
-      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
8307
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
8308
 
-      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8309
 
-       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
8310
 
-       _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
8311
 
-       _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8312
 
-      fi
8313
 
-      output_verbose_link_cmd='echo'
8314
 
-    else
8315
 
-      _LT_AC_TAGVAR(ld_shlibs, $1)=no
8316
 
-    fi
8317
 
-    ;;
8318
 
-  osf3*)
8319
 
-    case $cc_basename in
8320
 
-      KCC*)
8321
 
-       # Kuck and Associates, Inc. (KAI) C++ Compiler
8322
 
-
8323
 
-       # KCC will only create a shared library if the output file
8324
 
-       # ends with ".so" (or ".sl" for HP-UX), so rename the library
8325
 
-       # to its proper name (with version) after linking.
8326
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
8327
 
-
8328
 
-       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
8329
 
-       _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
8330
 
-
8331
 
-       # Archives containing C++ object files must be created using
8332
 
-       # "CC -Bstatic", where "CC" is the KAI C++ compiler.
8333
 
-       _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
8334
 
-
8335
 
-       ;;
8336
 
-      RCC*)
8337
 
-       # Rational C++ 2.4.1
8338
 
-       # FIXME: insert proper C++ library support
8339
 
-       _LT_AC_TAGVAR(ld_shlibs, $1)=no
8340
 
-       ;;
8341
 
-      cxx*)
8342
 
-       _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
8343
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
8344
 
-
8345
 
-       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
8346
 
-       _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
8347
 
-
8348
 
-       # Commands to make compiler produce verbose output that lists
8349
 
-       # what "hidden" libraries, object files and flags are used when
8350
 
-       # linking a shared library.
8351
 
-       #
8352
 
-       # There doesn't appear to be a way to prevent this compiler from
8353
 
-       # explicitly linking system object files so we need to strip them
8354
 
-       # from the output so that they don't get included in the library
8355
 
-       # dependencies.
8356
 
-       output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
8357
 
-       ;;
8358
 
-      *)
8359
 
-       if test "$GXX" = yes && test "$with_gnu_ld" = no; then
8360
 
-         _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
8361
 
-         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8362
 
-
8363
 
-         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
8364
 
-         _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
8365
 
-
8366
 
-         # Commands to make compiler produce verbose output that lists
8367
 
-         # what "hidden" libraries, object files and flags are used when
8368
 
-         # linking a shared library.
8369
 
-         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
8370
 
-
8371
 
-       else
8372
 
-         # FIXME: insert proper C++ library support
8373
 
-         _LT_AC_TAGVAR(ld_shlibs, $1)=no
8374
 
-       fi
8375
 
-       ;;
8376
 
-    esac
8377
 
-    ;;
8378
 
-  osf4* | osf5*)
8379
 
-    case $cc_basename in
8380
 
-      KCC*)
8381
 
-       # Kuck and Associates, Inc. (KAI) C++ Compiler
8382
 
-
8383
 
-       # KCC will only create a shared library if the output file
8384
 
-       # ends with ".so" (or ".sl" for HP-UX), so rename the library
8385
 
-       # to its proper name (with version) after linking.
8386
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
8387
 
-
8388
 
-       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
8389
 
-       _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
8390
 
-
8391
 
-       # Archives containing C++ object files must be created using
8392
 
-       # the KAI C++ compiler.
8393
 
-       _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs'
8394
 
-       ;;
8395
 
-      RCC*)
8396
 
-       # Rational C++ 2.4.1
8397
 
-       # FIXME: insert proper C++ library support
8398
 
-       _LT_AC_TAGVAR(ld_shlibs, $1)=no
8399
 
-       ;;
8400
 
-      cxx*)
8401
 
-       _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
8402
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
8403
 
-       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
8404
 
-         echo "-hidden">> $lib.exp~
8405
 
-         $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp  `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~
8406
 
-         $rm $lib.exp'
8407
 
-
8408
 
-       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
8409
 
-       _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
8410
 
-
8411
 
-       # Commands to make compiler produce verbose output that lists
8412
 
-       # what "hidden" libraries, object files and flags are used when
8413
 
-       # linking a shared library.
8414
 
-       #
8415
 
-       # There doesn't appear to be a way to prevent this compiler from
8416
 
-       # explicitly linking system object files so we need to strip them
8417
 
-       # from the output so that they don't get included in the library
8418
 
-       # dependencies.
8419
 
-       output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
8420
 
+      lynxos*)
8421
 
        ;;
8422
 
-      *)
8423
 
-       if test "$GXX" = yes && test "$with_gnu_ld" = no; then
8424
 
-         _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
8425
 
-        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8426
 
-
8427
 
-         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
8428
 
-         _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
8429
 
-
8430
 
-         # Commands to make compiler produce verbose output that lists
8431
 
-         # what "hidden" libraries, object files and flags are used when
8432
 
-         # linking a shared library.
8433
 
-         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
8434
 
-
8435
 
-       else
8436
 
-         # FIXME: insert proper C++ library support
8437
 
-         _LT_AC_TAGVAR(ld_shlibs, $1)=no
8438
 
-       fi
8439
 
+      m88k*)
8440
 
        ;;
8441
 
-    esac
8442
 
-    ;;
8443
 
-  psos*)
8444
 
-    # FIXME: insert proper C++ library support
8445
 
-    _LT_AC_TAGVAR(ld_shlibs, $1)=no
8446
 
-    ;;
8447
 
-  sunos4*)
8448
 
-    case $cc_basename in
8449
 
-      CC*)
8450
 
-       # Sun C++ 4.x
8451
 
-       # FIXME: insert proper C++ library support
8452
 
-       _LT_AC_TAGVAR(ld_shlibs, $1)=no
8453
 
-       ;;
8454
 
-      lcc*)
8455
 
-       # Lucid
8456
 
-       # FIXME: insert proper C++ library support
8457
 
-       _LT_AC_TAGVAR(ld_shlibs, $1)=no
8458
 
+      mvs*)
8459
 
+       case $cc_basename in
8460
 
+         cxx*)
8461
 
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
8462
 
+           ;;
8463
 
+         *)
8464
 
+           ;;
8465
 
+       esac
8466
 
        ;;
8467
 
-      *)
8468
 
-       # FIXME: insert proper C++ library support
8469
 
-       _LT_AC_TAGVAR(ld_shlibs, $1)=no
8470
 
+      netbsd* | netbsdelf*-gnu)
8471
 
        ;;
8472
 
-    esac
8473
 
-    ;;
8474
 
-  solaris*)
8475
 
-    case $cc_basename in
8476
 
-      CC*)
8477
 
-       # Sun C++ 4.2, 5.x and Centerline C++
8478
 
-        _LT_AC_TAGVAR(archive_cmds_need_lc,$1)=yes
8479
 
-       _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'
8480
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
8481
 
-       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8482
 
-       $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'
8483
 
-
8484
 
-       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
8485
 
-       _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8486
 
-       case $host_os in
8487
 
-         solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
8488
 
+      *qnx* | *nto*)
8489
 
+        # QNX uses GNU C++, but need to define -shared option too, otherwise
8490
 
+        # it will coredump.
8491
 
+        _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
8492
 
+        ;;
8493
 
+      osf3* | osf4* | osf5*)
8494
 
+       case $cc_basename in
8495
 
+         KCC*)
8496
 
+           _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
8497
 
+           ;;
8498
 
+         RCC*)
8499
 
+           # Rational C++ 2.4.1
8500
 
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
8501
 
+           ;;
8502
 
+         cxx*)
8503
 
+           # Digital/Compaq C++
8504
 
+           _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
8505
 
+           # Make sure the PIC flag is empty.  It appears that all Alpha
8506
 
+           # Linux and Compaq Tru64 Unix objects are PIC.
8507
 
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)=
8508
 
+           _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
8509
 
+           ;;
8510
 
          *)
8511
 
-           # The compiler driver will combine and reorder linker options,
8512
 
-           # but understands `-z linker_flag'.
8513
 
-           # Supported since Solaris 2.6 (maybe 2.5.1?)
8514
 
-           _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
8515
 
            ;;
8516
 
        esac
8517
 
-       _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
8518
 
-
8519
 
-       output_verbose_link_cmd='echo'
8520
 
-
8521
 
-       # Archives containing C++ object files must be created using
8522
 
-       # "CC -xar", where "CC" is the Sun C++ compiler.  This is
8523
 
-       # necessary to make sure instantiated templates are included
8524
 
-       # in the archive.
8525
 
-       _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
8526
 
-       ;;
8527
 
-      gcx*)
8528
 
-       # Green Hills C++ Compiler
8529
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
8530
 
-
8531
 
-       # The C++ compiler must be used to create the archive.
8532
 
-       _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
8533
 
        ;;
8534
 
-      *)
8535
 
-       # GNU C++ compiler with Solaris linker
8536
 
-       if test "$GXX" = yes && test "$with_gnu_ld" = no; then
8537
 
-         _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
8538
 
-         if $CC --version | grep -v '^2\.7' > /dev/null; then
8539
 
-           _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
8540
 
-           _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8541
 
-               $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
8542
 
-
8543
 
-           # Commands to make compiler produce verbose output that lists
8544
 
-           # what "hidden" libraries, object files and flags are used when
8545
 
-           # linking a shared library.
8546
 
-           output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
8547
 
-         else
8548
 
-           # g++ 2.7 appears to require `-G' NOT `-shared' on this
8549
 
-           # platform.
8550
 
-           _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
8551
 
-           _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8552
 
-               $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
8553
 
-
8554
 
-           # Commands to make compiler produce verbose output that lists
8555
 
-           # what "hidden" libraries, object files and flags are used when
8556
 
-           # linking a shared library.
8557
 
-           output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
8558
 
-         fi
8559
 
-
8560
 
-         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
8561
 
-         case $host_os in
8562
 
-         solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
8563
 
+      psos*)
8564
 
+       ;;
8565
 
+      solaris*)
8566
 
+       case $cc_basename in
8567
 
+         CC*)
8568
 
+           # Sun C++ 4.2, 5.x and Centerline C++
8569
 
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
8570
 
+           _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
8571
 
+           _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
8572
 
+           ;;
8573
 
+         gcx*)
8574
 
+           # Green Hills C++ Compiler
8575
 
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
8576
 
+           ;;
8577
 
          *)
8578
 
-           _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8579
 
            ;;
8580
 
-         esac
8581
 
-       fi
8582
 
-       ;;
8583
 
-    esac
8584
 
-    ;;
8585
 
-  sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
8586
 
-    _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
8587
 
-    _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
8588
 
-    _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8589
 
-    runpath_var='LD_RUN_PATH'
8590
 
-
8591
 
-    case $cc_basename in
8592
 
-      CC*)
8593
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8594
 
-       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8595
 
+       esac
8596
 
        ;;
8597
 
-      *)
8598
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8599
 
-       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8600
 
+      sunos4*)
8601
 
+       case $cc_basename in
8602
 
+         CC*)
8603
 
+           # Sun C++ 4.x
8604
 
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
8605
 
+           _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
8606
 
+           ;;
8607
 
+         lcc*)
8608
 
+           # Lucid
8609
 
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
8610
 
+           ;;
8611
 
+         *)
8612
 
+           ;;
8613
 
+       esac
8614
 
        ;;
8615
 
-    esac
8616
 
-    ;;
8617
 
-  sysv5* | sco3.2v5* | sco5v6*)
8618
 
-    # Note: We can NOT use -z defs as we might desire, because we do not
8619
 
-    # link with -lc, and that would cause any symbols used from libc to
8620
 
-    # always be unresolved, which means just about no library would
8621
 
-    # ever link correctly.  If we're not using GNU ld we use -z text
8622
 
-    # though, which does catch some bad symbols but isn't as heavy-handed
8623
 
-    # as -z defs.
8624
 
-    # For security reasons, it is highly recommended that you always
8625
 
-    # use absolute paths for naming shared libraries, and exclude the
8626
 
-    # DT_RUNPATH tag from executables and libraries.  But doing so
8627
 
-    # requires that you compile everything twice, which is a pain.
8628
 
-    # So that behaviour is only enabled if SCOABSPATH is set to a
8629
 
-    # non-empty value in the environment.  Most likely only useful for
8630
 
-    # creating official distributions of packages.
8631
 
-    # This is a hack until libtool officially supports absolute path
8632
 
-    # names for shared libraries.
8633
 
-    _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
8634
 
-    _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
8635
 
-    _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
8636
 
-    _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8637
 
-    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
8638
 
-    _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
8639
 
-    _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
8640
 
-    _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
8641
 
-    runpath_var='LD_RUN_PATH'
8642
 
-
8643
 
-    case $cc_basename in
8644
 
-      CC*)
8645
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8646
 
-       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8647
 
+      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8648
 
+       case $cc_basename in
8649
 
+         CC*)
8650
 
+           _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
8651
 
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
8652
 
+           _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
8653
 
+           ;;
8654
 
+       esac
8655
 
        ;;
8656
 
-      *)
8657
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8658
 
-       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8659
 
+      tandem*)
8660
 
+       case $cc_basename in
8661
 
+         NCC*)
8662
 
+           # NonStop-UX NCC 3.20
8663
 
+           _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
8664
 
+           ;;
8665
 
+         *)
8666
 
+           ;;
8667
 
+       esac
8668
 
        ;;
8669
 
-    esac
8670
 
-    ;;
8671
 
-  tandem*)
8672
 
-    case $cc_basename in
8673
 
-      NCC*)
8674
 
-       # NonStop-UX NCC 3.20
8675
 
-       # FIXME: insert proper C++ library support
8676
 
-       _LT_AC_TAGVAR(ld_shlibs, $1)=no
8677
 
+      vxworks*)
8678
 
        ;;
8679
 
       *)
8680
 
-       # FIXME: insert proper C++ library support
8681
 
-       _LT_AC_TAGVAR(ld_shlibs, $1)=no
8682
 
+       _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
8683
 
        ;;
8684
 
     esac
8685
 
-    ;;
8686
 
-  vxworks*)
8687
 
-    # FIXME: insert proper C++ library support
8688
 
-    _LT_AC_TAGVAR(ld_shlibs, $1)=no
8689
 
-    ;;
8690
 
-  *)
8691
 
-    # FIXME: insert proper C++ library support
8692
 
-    _LT_AC_TAGVAR(ld_shlibs, $1)=no
8693
 
-    ;;
8694
 
-esac
8695
 
-AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
8696
 
-test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
8697
 
-
8698
 
-_LT_AC_TAGVAR(GCC, $1)="$GXX"
8699
 
-_LT_AC_TAGVAR(LD, $1)="$LD"
8700
 
-
8701
 
-AC_LIBTOOL_POSTDEP_PREDEP($1)
8702
 
-AC_LIBTOOL_PROG_COMPILER_PIC($1)
8703
 
-AC_LIBTOOL_PROG_CC_C_O($1)
8704
 
-AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
8705
 
-AC_LIBTOOL_PROG_LD_SHLIBS($1)
8706
 
-AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
8707
 
-AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
8708
 
-
8709
 
-AC_LIBTOOL_CONFIG($1)
8710
 
+  fi
8711
 
+],
8712
 
+[
8713
 
+  if test "$GCC" = yes; then
8714
 
+    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
8715
 
+    _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
8716
 
 
8717
 
-AC_LANG_POP
8718
 
-CC=$lt_save_CC
8719
 
-LDCXX=$LD
8720
 
-LD=$lt_save_LD
8721
 
-GCC=$lt_save_GCC
8722
 
-with_gnu_ldcxx=$with_gnu_ld
8723
 
-with_gnu_ld=$lt_save_with_gnu_ld
8724
 
-lt_cv_path_LDCXX=$lt_cv_path_LD
8725
 
-lt_cv_path_LD=$lt_save_path_LD
8726
 
-lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
8727
 
-lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
8728
 
-])# AC_LIBTOOL_LANG_CXX_CONFIG
8729
 
+    case $host_os in
8730
 
+      aix*)
8731
 
+      # All AIX code is PIC.
8732
 
+      if test "$host_cpu" = ia64; then
8733
 
+       # AIX 5 now supports IA64 processor
8734
 
+       _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
8735
 
+      fi
8736
 
+      ;;
8737
 
 
8738
 
-# AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME])
8739
 
-# ------------------------------------
8740
 
-# Figure out "hidden" library dependencies from verbose
8741
 
-# compiler output when linking a shared library.
8742
 
-# Parse the compiler output and extract the necessary
8743
 
-# objects, libraries and library flags.
8744
 
-AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],
8745
 
-[AC_REQUIRE([LT_AC_PROG_SED])dnl
8746
 
-dnl we can't use the lt_simple_compile_test_code here,
8747
 
-dnl because it contains code intended for an executable,
8748
 
-dnl not a library.  It's possible we should let each
8749
 
-dnl tag define a new lt_????_link_test_code variable,
8750
 
-dnl but it's only used here...
8751
 
-ifelse([$1],[],[cat > conftest.$ac_ext <<EOF
8752
 
-int a;
8753
 
-void foo (void) { a = 0; }
8754
 
-EOF
8755
 
-],[$1],[CXX],[cat > conftest.$ac_ext <<EOF
8756
 
-class Foo
8757
 
-{
8758
 
-public:
8759
 
-  Foo (void) { a = 0; }
8760
 
-private:
8761
 
-  int a;
8762
 
-};
8763
 
-EOF
8764
 
-],[$1],[F77],[cat > conftest.$ac_ext <<EOF
8765
 
-      subroutine foo
8766
 
-      implicit none
8767
 
-      integer*4 a
8768
 
-      a=0
8769
 
-      return
8770
 
-      end
8771
 
-EOF
8772
 
-],[$1],[GCJ],[cat > conftest.$ac_ext <<EOF
8773
 
-public class foo {
8774
 
-  private int a;
8775
 
-  public void bar (void) {
8776
 
-    a = 0;
8777
 
-  }
8778
 
-};
8779
 
-EOF
8780
 
-])
8781
 
-dnl Parse the compiler output and extract the necessary
8782
 
-dnl objects, libraries and library flags.
8783
 
-if AC_TRY_EVAL(ac_compile); then
8784
 
-  # Parse the compiler output and extract the necessary
8785
 
-  # objects, libraries and library flags.
8786
 
+    amigaos*)
8787
 
+      case $host_cpu in
8788
 
+      powerpc)
8789
 
+            # see comment about AmigaOS4 .so support
8790
 
+            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
8791
 
+        ;;
8792
 
+      m68k)
8793
 
+            # FIXME: we need at least 68020 code to build shared libraries, but
8794
 
+            # adding the `-m68020' flag to GCC prevents building anything better,
8795
 
+            # like `-m68040'.
8796
 
+            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
8797
 
+        ;;
8798
 
+      esac
8799
 
+      ;;
8800
 
 
8801
 
-  # Sentinel used to keep track of whether or not we are before
8802
 
-  # the conftest object file.
8803
 
-  pre_test_object_deps_done=no
8804
 
+    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8805
 
+      # PIC is the default for these OSes.
8806
 
+      ;;
8807
 
 
8808
 
-  # The `*' in the case matches for architectures that use `case' in
8809
 
-  # $output_verbose_cmd can trigger glob expansion during the loop
8810
 
-  # eval without this substitution.
8811
 
-  output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
8812
 
+    mingw* | cygwin* | pw32* | os2* | cegcc*)
8813
 
+      # This hack is so that the source file can tell whether it is being
8814
 
+      # built for inclusion in a dll (and should export symbols for example).
8815
 
+      # Although the cygwin gcc ignores -fPIC, still need this for old-style
8816
 
+      # (--disable-auto-import) libraries
8817
 
+      m4_if([$1], [GCJ], [],
8818
 
+       [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
8819
 
+      ;;
8820
 
 
8821
 
-  for p in `eval $output_verbose_link_cmd`; do
8822
 
-    case $p in
8823
 
+    darwin* | rhapsody*)
8824
 
+      # PIC is the default on this platform
8825
 
+      # Common symbols not allowed in MH_DYLIB files
8826
 
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
8827
 
+      ;;
8828
 
 
8829
 
-    -L* | -R* | -l*)
8830
 
-       # Some compilers place space between "-{L,R}" and the path.
8831
 
-       # Remove the space.
8832
 
-       if test $p = "-L" \
8833
 
-         || test $p = "-R"; then
8834
 
-        prev=$p
8835
 
-        continue
8836
 
-       else
8837
 
-        prev=
8838
 
-       fi
8839
 
+    hpux*)
8840
 
+      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8841
 
+      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8842
 
+      # sets the default TLS model and affects inlining.
8843
 
+      case $host_cpu in
8844
 
+      hppa*64*)
8845
 
+       # +Z the default
8846
 
+       ;;
8847
 
+      *)
8848
 
+       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
8849
 
+       ;;
8850
 
+      esac
8851
 
+      ;;
8852
 
 
8853
 
-       if test "$pre_test_object_deps_done" = no; then
8854
 
-        case $p in
8855
 
-        -L* | -R*)
8856
 
-          # Internal compiler library paths should come after those
8857
 
-          # provided the user.  The postdeps already come after the
8858
 
-          # user supplied libs so there is no need to process them.
8859
 
-          if test -z "$_LT_AC_TAGVAR(compiler_lib_search_path, $1)"; then
8860
 
-            _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}"
8861
 
-          else
8862
 
-            _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${_LT_AC_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"
8863
 
-          fi
8864
 
-          ;;
8865
 
-        # The "-l" case would never come before the object being
8866
 
-        # linked, so don't bother handling this case.
8867
 
-        esac
8868
 
-       else
8869
 
-        if test -z "$_LT_AC_TAGVAR(postdeps, $1)"; then
8870
 
-          _LT_AC_TAGVAR(postdeps, $1)="${prev}${p}"
8871
 
-        else
8872
 
-          _LT_AC_TAGVAR(postdeps, $1)="${_LT_AC_TAGVAR(postdeps, $1)} ${prev}${p}"
8873
 
-        fi
8874
 
-       fi
8875
 
-       ;;
8876
 
+    interix[[3-9]]*)
8877
 
+      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8878
 
+      # Instead, we relocate shared libraries at runtime.
8879
 
+      ;;
8880
 
 
8881
 
-    *.$objext)
8882
 
-       # This assumes that the test object file only shows up
8883
 
-       # once in the compiler output.
8884
 
-       if test "$p" = "conftest.$objext"; then
8885
 
-        pre_test_object_deps_done=yes
8886
 
-        continue
8887
 
-       fi
8888
 
+    msdosdjgpp*)
8889
 
+      # Just because we use GCC doesn't mean we suddenly get shared libraries
8890
 
+      # on systems that don't support them.
8891
 
+      _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
8892
 
+      enable_shared=no
8893
 
+      ;;
8894
 
 
8895
 
-       if test "$pre_test_object_deps_done" = no; then
8896
 
-        if test -z "$_LT_AC_TAGVAR(predep_objects, $1)"; then
8897
 
-          _LT_AC_TAGVAR(predep_objects, $1)="$p"
8898
 
-        else
8899
 
-          _LT_AC_TAGVAR(predep_objects, $1)="$_LT_AC_TAGVAR(predep_objects, $1) $p"
8900
 
-        fi
8901
 
-       else
8902
 
-        if test -z "$_LT_AC_TAGVAR(postdep_objects, $1)"; then
8903
 
-          _LT_AC_TAGVAR(postdep_objects, $1)="$p"
8904
 
-        else
8905
 
-          _LT_AC_TAGVAR(postdep_objects, $1)="$_LT_AC_TAGVAR(postdep_objects, $1) $p"
8906
 
-        fi
8907
 
-       fi
8908
 
-       ;;
8909
 
+    *nto* | *qnx*)
8910
 
+      # QNX uses GNU C++, but need to define -shared option too, otherwise
8911
 
+      # it will coredump.
8912
 
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
8913
 
+      ;;
8914
 
 
8915
 
-    *) ;; # Ignore the rest.
8916
 
+    sysv4*MP*)
8917
 
+      if test -d /usr/nec; then
8918
 
+       _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
8919
 
+      fi
8920
 
+      ;;
8921
 
 
8922
 
+    *)
8923
 
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
8924
 
+      ;;
8925
 
     esac
8926
 
-  done
8927
 
-
8928
 
-  # Clean up.
8929
 
-  rm -f a.out a.exe
8930
 
-else
8931
 
-  echo "libtool.m4: error: problem compiling $1 test program"
8932
 
-fi
8933
 
+  else
8934
 
+    # PORTME Check for flag to pass linker flags through the system compiler.
8935
 
+    case $host_os in
8936
 
+    aix*)
8937
 
+      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
8938
 
+      if test "$host_cpu" = ia64; then
8939
 
+       # AIX 5 now supports IA64 processor
8940
 
+       _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
8941
 
+      else
8942
 
+       _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
8943
 
+      fi
8944
 
+      ;;
8945
 
 
8946
 
-$rm -f confest.$objext
8947
 
+    mingw* | cygwin* | pw32* | os2* | cegcc*)
8948
 
+      # This hack is so that the source file can tell whether it is being
8949
 
+      # built for inclusion in a dll (and should export symbols for example).
8950
 
+      m4_if([$1], [GCJ], [],
8951
 
+       [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
8952
 
+      ;;
8953
 
 
8954
 
-_LT_AC_TAGVAR(compiler_lib_search_dirs, $1)=
8955
 
-if test -n "$_LT_AC_TAGVAR(compiler_lib_search_path, $1)"; then
8956
 
-  _LT_AC_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_AC_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
8957
 
-fi
8958
 
+    hpux9* | hpux10* | hpux11*)
8959
 
+      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
8960
 
+      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8961
 
+      # not for PA HP-UX.
8962
 
+      case $host_cpu in
8963
 
+      hppa*64*|ia64*)
8964
 
+       # +Z the default
8965
 
+       ;;
8966
 
+      *)
8967
 
+       _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
8968
 
+       ;;
8969
 
+      esac
8970
 
+      # Is there a better lt_prog_compiler_static that works with the bundled CC?
8971
 
+      _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
8972
 
+      ;;
8973
 
 
8974
 
-# PORTME: override above test on systems where it is broken
8975
 
-ifelse([$1],[CXX],
8976
 
-[case $host_os in
8977
 
-interix[[3-9]]*)
8978
 
-  # Interix 3.5 installs completely hosed .la files for C++, so rather than
8979
 
-  # hack all around it, let's just trust "g++" to DTRT.
8980
 
-  _LT_AC_TAGVAR(predep_objects,$1)=
8981
 
-  _LT_AC_TAGVAR(postdep_objects,$1)=
8982
 
-  _LT_AC_TAGVAR(postdeps,$1)=
8983
 
-  ;;
8984
 
+    irix5* | irix6* | nonstopux*)
8985
 
+      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
8986
 
+      # PIC (with -KPIC) is the default.
8987
 
+      _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
8988
 
+      ;;
8989
 
 
8990
 
-linux*)
8991
 
-  case `$CC -V 2>&1 | sed 5q` in
8992
 
-  *Sun\ C*)
8993
 
-    # Sun C++ 5.9
8994
 
-    #
8995
 
-    # The more standards-conforming stlport4 library is
8996
 
-    # incompatible with the Cstd library. Avoid specifying
8997
 
-    # it if it's in CXXFLAGS. Ignore libCrun as
8998
 
-    # -library=stlport4 depends on it.
8999
 
-    case " $CXX $CXXFLAGS " in
9000
 
-    *" -library=stlport4 "*)
9001
 
-      solaris_use_stlport4=yes
9002
 
+    linux* | k*bsd*-gnu)
9003
 
+      case $cc_basename in
9004
 
+      # old Intel for x86_64 which still supported -KPIC.
9005
 
+      ecc*)
9006
 
+       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
9007
 
+       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
9008
 
+       _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
9009
 
+        ;;
9010
 
+      # icc used to be incompatible with GCC.
9011
 
+      # ICC 10 doesn't accept -KPIC any more.
9012
 
+      icc* | ifort*)
9013
 
+       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
9014
 
+       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
9015
 
+       _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
9016
 
+        ;;
9017
 
+      # Lahey Fortran 8.1.
9018
 
+      lf95*)
9019
 
+       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
9020
 
+       _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared'
9021
 
+       _LT_TAGVAR(lt_prog_compiler_static, $1)='--static'
9022
 
+       ;;
9023
 
+      pgcc* | pgf77* | pgf90* | pgf95*)
9024
 
+        # Portland Group compilers (*not* the Pentium gcc compiler,
9025
 
+       # which looks to be a dead project)
9026
 
+       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
9027
 
+       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
9028
 
+       _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
9029
 
+        ;;
9030
 
+      ccc*)
9031
 
+        _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
9032
 
+        # All Alpha code is PIC.
9033
 
+        _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
9034
 
+        ;;
9035
 
+      xl*)
9036
 
+       # IBM XL C 8.0/Fortran 10.1 on PPC
9037
 
+       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
9038
 
+       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
9039
 
+       _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
9040
 
+       ;;
9041
 
+      *)
9042
 
+       case `$CC -V 2>&1 | sed 5q` in
9043
 
+       *Sun\ C*)
9044
 
+         # Sun C 5.9
9045
 
+         _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
9046
 
+         _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
9047
 
+         _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
9048
 
+         ;;
9049
 
+       *Sun\ F*)
9050
 
+         # Sun Fortran 8.3 passes all unrecognized flags to the linker
9051
 
+         _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
9052
 
+         _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
9053
 
+         _LT_TAGVAR(lt_prog_compiler_wl, $1)=''
9054
 
+         ;;
9055
 
+       esac
9056
 
+       ;;
9057
 
+      esac
9058
 
       ;;
9059
 
-    esac
9060
 
-    if test "$solaris_use_stlport4" != yes; then
9061
 
-      _LT_AC_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
9062
 
-    fi
9063
 
-    ;;
9064
 
-  esac
9065
 
-  ;;
9066
 
 
9067
 
-solaris*)
9068
 
-  case $cc_basename in
9069
 
-  CC*)
9070
 
-    # The more standards-conforming stlport4 library is
9071
 
-    # incompatible with the Cstd library. Avoid specifying
9072
 
-    # it if it's in CXXFLAGS. Ignore libCrun as
9073
 
-    # -library=stlport4 depends on it.
9074
 
-    case " $CXX $CXXFLAGS " in
9075
 
-    *" -library=stlport4 "*)
9076
 
-      solaris_use_stlport4=yes
9077
 
+    newsos6)
9078
 
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
9079
 
+      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
9080
 
       ;;
9081
 
-    esac
9082
 
-
9083
 
-    # Adding this requires a known-good setup of shared libraries for
9084
 
-    # Sun compiler versions before 5.6, else PIC objects from an old
9085
 
-    # archive will be linked into the output, leading to subtle bugs.
9086
 
-    if test "$solaris_use_stlport4" != yes; then
9087
 
-      _LT_AC_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
9088
 
-    fi
9089
 
-    ;;
9090
 
-  esac
9091
 
-  ;;
9092
 
-esac
9093
 
-])
9094
 
-case " $_LT_AC_TAGVAR(postdeps, $1) " in
9095
 
-*" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;;
9096
 
-esac
9097
 
-])# AC_LIBTOOL_POSTDEP_PREDEP
9098
 
-
9099
 
-# AC_LIBTOOL_LANG_F77_CONFIG
9100
 
-# --------------------------
9101
 
-# Ensure that the configuration vars for the C compiler are
9102
 
-# suitably defined.  Those variables are subsequently used by
9103
 
-# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
9104
 
-AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG], [_LT_AC_LANG_F77_CONFIG(F77)])
9105
 
-AC_DEFUN([_LT_AC_LANG_F77_CONFIG],
9106
 
-[AC_REQUIRE([AC_PROG_F77])
9107
 
-AC_LANG_PUSH(Fortran 77)
9108
 
 
9109
 
-_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
9110
 
-_LT_AC_TAGVAR(allow_undefined_flag, $1)=
9111
 
-_LT_AC_TAGVAR(always_export_symbols, $1)=no
9112
 
-_LT_AC_TAGVAR(archive_expsym_cmds, $1)=
9113
 
-_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
9114
 
-_LT_AC_TAGVAR(hardcode_direct, $1)=no
9115
 
-_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
9116
 
-_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
9117
 
-_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
9118
 
-_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
9119
 
-_LT_AC_TAGVAR(hardcode_automatic, $1)=no
9120
 
-_LT_AC_TAGVAR(module_cmds, $1)=
9121
 
-_LT_AC_TAGVAR(module_expsym_cmds, $1)=
9122
 
-_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
9123
 
-_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
9124
 
-_LT_AC_TAGVAR(no_undefined_flag, $1)=
9125
 
-_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
9126
 
-_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
9127
 
+    *nto* | *qnx*)
9128
 
+      # QNX uses GNU C++, but need to define -shared option too, otherwise
9129
 
+      # it will coredump.
9130
 
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
9131
 
+      ;;
9132
 
 
9133
 
-# Source file extension for f77 test sources.
9134
 
-ac_ext=f
9135
 
+    osf3* | osf4* | osf5*)
9136
 
+      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
9137
 
+      # All OSF/1 code is PIC.
9138
 
+      _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
9139
 
+      ;;
9140
 
 
9141
 
-# Object file extension for compiled f77 test sources.
9142
 
-objext=o
9143
 
-_LT_AC_TAGVAR(objext, $1)=$objext
9144
 
+    rdos*)
9145
 
+      _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
9146
 
+      ;;
9147
 
 
9148
 
-# Code to be used in simple compile tests
9149
 
-lt_simple_compile_test_code="\
9150
 
-      subroutine t
9151
 
-      return
9152
 
-      end
9153
 
-"
9154
 
+    solaris*)
9155
 
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
9156
 
+      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
9157
 
+      case $cc_basename in
9158
 
+      f77* | f90* | f95*)
9159
 
+       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
9160
 
+      *)
9161
 
+       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
9162
 
+      esac
9163
 
+      ;;
9164
 
 
9165
 
-# Code to be used in simple link tests
9166
 
-lt_simple_link_test_code="\
9167
 
-      program t
9168
 
-      end
9169
 
-"
9170
 
+    sunos4*)
9171
 
+      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
9172
 
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
9173
 
+      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
9174
 
+      ;;
9175
 
 
9176
 
-# ltmain only uses $CC for tagged configurations so make sure $CC is set.
9177
 
-_LT_AC_SYS_COMPILER
9178
 
+    sysv4 | sysv4.2uw2* | sysv4.3*)
9179
 
+      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
9180
 
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
9181
 
+      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
9182
 
+      ;;
9183
 
 
9184
 
-# save warnings/boilerplate of simple test code
9185
 
-_LT_COMPILER_BOILERPLATE
9186
 
-_LT_LINKER_BOILERPLATE
9187
 
+    sysv4*MP*)
9188
 
+      if test -d /usr/nec ;then
9189
 
+       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
9190
 
+       _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
9191
 
+      fi
9192
 
+      ;;
9193
 
 
9194
 
-# Allow CC to be a program name with arguments.
9195
 
-lt_save_CC="$CC"
9196
 
-CC=${F77-"f77"}
9197
 
-compiler=$CC
9198
 
-_LT_AC_TAGVAR(compiler, $1)=$CC
9199
 
-_LT_CC_BASENAME([$compiler])
9200
 
+    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9201
 
+      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
9202
 
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
9203
 
+      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
9204
 
+      ;;
9205
 
 
9206
 
-AC_MSG_CHECKING([if libtool supports shared libraries])
9207
 
-AC_MSG_RESULT([$can_build_shared])
9208
 
+    unicos*)
9209
 
+      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
9210
 
+      _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
9211
 
+      ;;
9212
 
 
9213
 
-AC_MSG_CHECKING([whether to build shared libraries])
9214
 
-test "$can_build_shared" = "no" && enable_shared=no
9215
 
+    uts4*)
9216
 
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
9217
 
+      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
9218
 
+      ;;
9219
 
 
9220
 
-# On AIX, shared libraries and static libraries use the same namespace, and
9221
 
-# are all built from PIC.
9222
 
-case $host_os in
9223
 
-aix3*)
9224
 
-  test "$enable_shared" = yes && enable_static=no
9225
 
-  if test -n "$RANLIB"; then
9226
 
-    archive_cmds="$archive_cmds~\$RANLIB \$lib"
9227
 
-    postinstall_cmds='$RANLIB $lib'
9228
 
-  fi
9229
 
-  ;;
9230
 
-aix[[4-9]]*)
9231
 
-  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
9232
 
-    test "$enable_shared" = yes && enable_static=no
9233
 
+    *)
9234
 
+      _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
9235
 
+      ;;
9236
 
+    esac
9237
 
   fi
9238
 
-  ;;
9239
 
+])
9240
 
+case $host_os in
9241
 
+  # For platforms which do not support PIC, -DPIC is meaningless:
9242
 
+  *djgpp*)
9243
 
+    _LT_TAGVAR(lt_prog_compiler_pic, $1)=
9244
 
+    ;;
9245
 
+  *)
9246
 
+    _LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])"
9247
 
+    ;;
9248
 
 esac
9249
 
-AC_MSG_RESULT([$enable_shared])
9250
 
-
9251
 
-AC_MSG_CHECKING([whether to build static libraries])
9252
 
-# Make sure either enable_shared or enable_static is yes.
9253
 
-test "$enable_shared" = yes || enable_static=yes
9254
 
-AC_MSG_RESULT([$enable_static])
9255
 
-
9256
 
-_LT_AC_TAGVAR(GCC, $1)="$G77"
9257
 
-_LT_AC_TAGVAR(LD, $1)="$LD"
9258
 
-
9259
 
-AC_LIBTOOL_PROG_COMPILER_PIC($1)
9260
 
-AC_LIBTOOL_PROG_CC_C_O($1)
9261
 
-AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
9262
 
-AC_LIBTOOL_PROG_LD_SHLIBS($1)
9263
 
-AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
9264
 
-AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
9265
 
-
9266
 
-AC_LIBTOOL_CONFIG($1)
9267
 
-
9268
 
-AC_LANG_POP
9269
 
-CC="$lt_save_CC"
9270
 
-])# AC_LIBTOOL_LANG_F77_CONFIG
9271
 
+AC_MSG_RESULT([$_LT_TAGVAR(lt_prog_compiler_pic, $1)])
9272
 
+_LT_TAGDECL([wl], [lt_prog_compiler_wl], [1],
9273
 
+       [How to pass a linker flag through the compiler])
9274
 
 
9275
 
+#
9276
 
+# Check to make sure the PIC flag actually works.
9277
 
+#
9278
 
+if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
9279
 
+  _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, $1) works],
9280
 
+    [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, $1)],
9281
 
+    [$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])], [],
9282
 
+    [case $_LT_TAGVAR(lt_prog_compiler_pic, $1) in
9283
 
+     "" | " "*) ;;
9284
 
+     *) _LT_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_TAGVAR(lt_prog_compiler_pic, $1)" ;;
9285
 
+     esac],
9286
 
+    [_LT_TAGVAR(lt_prog_compiler_pic, $1)=
9287
 
+     _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
9288
 
+fi
9289
 
+_LT_TAGDECL([pic_flag], [lt_prog_compiler_pic], [1],
9290
 
+       [Additional compiler flags for building library objects])
9291
 
 
9292
 
-# AC_LIBTOOL_LANG_GCJ_CONFIG
9293
 
-# --------------------------
9294
 
-# Ensure that the configuration vars for the C compiler are
9295
 
-# suitably defined.  Those variables are subsequently used by
9296
 
-# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
9297
 
-AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG], [_LT_AC_LANG_GCJ_CONFIG(GCJ)])
9298
 
-AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG],
9299
 
-[AC_LANG_SAVE
9300
 
+#
9301
 
+# Check to make sure the static flag actually works.
9302
 
+#
9303
 
+wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_TAGVAR(lt_prog_compiler_static, $1)\"
9304
 
+_LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works],
9305
 
+  _LT_TAGVAR(lt_cv_prog_compiler_static_works, $1),
9306
 
+  $lt_tmp_static_flag,
9307
 
+  [],
9308
 
+  [_LT_TAGVAR(lt_prog_compiler_static, $1)=])
9309
 
+_LT_TAGDECL([link_static_flag], [lt_prog_compiler_static], [1],
9310
 
+       [Compiler flag to prevent dynamic linking])
9311
 
+])# _LT_COMPILER_PIC
9312
 
 
9313
 
-# Source file extension for Java test sources.
9314
 
-ac_ext=java
9315
 
 
9316
 
-# Object file extension for compiled Java test sources.
9317
 
-objext=o
9318
 
-_LT_AC_TAGVAR(objext, $1)=$objext
9319
 
+# _LT_LINKER_SHLIBS([TAGNAME])
9320
 
+# ----------------------------
9321
 
+# See if the linker supports building shared libraries.
9322
 
+m4_defun([_LT_LINKER_SHLIBS],
9323
 
+[AC_REQUIRE([LT_PATH_LD])dnl
9324
 
+AC_REQUIRE([LT_PATH_NM])dnl
9325
 
+m4_require([_LT_FILEUTILS_DEFAULTS])dnl
9326
 
+m4_require([_LT_DECL_EGREP])dnl
9327
 
+m4_require([_LT_DECL_SED])dnl
9328
 
+m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
9329
 
+m4_require([_LT_TAG_COMPILER])dnl
9330
 
+AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
9331
 
+m4_if([$1], [CXX], [
9332
 
+  _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9333
 
+  case $host_os in
9334
 
+  aix[[4-9]]*)
9335
 
+    # If we're using GNU nm, then we don't want the "-C" option.
9336
 
+    # -C means demangle to AIX nm, but means don't demangle with GNU nm
9337
 
+    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9338
 
+      _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'
9339
 
+    else
9340
 
+      _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'
9341
 
+    fi
9342
 
+    ;;
9343
 
+  pw32*)
9344
 
+    _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
9345
 
+  ;;
9346
 
+  cygwin* | mingw* | cegcc*)
9347
 
+    _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'
9348
 
+  ;;
9349
 
+  linux* | k*bsd*-gnu)
9350
 
+    _LT_TAGVAR(link_all_deplibs, $1)=no
9351
 
+  ;;
9352
 
+  *)
9353
 
+    _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9354
 
+  ;;
9355
 
+  esac
9356
 
+  _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
9357
 
+], [
9358
 
+  runpath_var=
9359
 
+  _LT_TAGVAR(allow_undefined_flag, $1)=
9360
 
+  _LT_TAGVAR(always_export_symbols, $1)=no
9361
 
+  _LT_TAGVAR(archive_cmds, $1)=
9362
 
+  _LT_TAGVAR(archive_expsym_cmds, $1)=
9363
 
+  _LT_TAGVAR(compiler_needs_object, $1)=no
9364
 
+  _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
9365
 
+  _LT_TAGVAR(export_dynamic_flag_spec, $1)=
9366
 
+  _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9367
 
+  _LT_TAGVAR(hardcode_automatic, $1)=no
9368
 
+  _LT_TAGVAR(hardcode_direct, $1)=no
9369
 
+  _LT_TAGVAR(hardcode_direct_absolute, $1)=no
9370
 
+  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
9371
 
+  _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
9372
 
+  _LT_TAGVAR(hardcode_libdir_separator, $1)=
9373
 
+  _LT_TAGVAR(hardcode_minus_L, $1)=no
9374
 
+  _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
9375
 
+  _LT_TAGVAR(inherit_rpath, $1)=no
9376
 
+  _LT_TAGVAR(link_all_deplibs, $1)=unknown
9377
 
+  _LT_TAGVAR(module_cmds, $1)=
9378
 
+  _LT_TAGVAR(module_expsym_cmds, $1)=
9379
 
+  _LT_TAGVAR(old_archive_from_new_cmds, $1)=
9380
 
+  _LT_TAGVAR(old_archive_from_expsyms_cmds, $1)=
9381
 
+  _LT_TAGVAR(thread_safe_flag_spec, $1)=
9382
 
+  _LT_TAGVAR(whole_archive_flag_spec, $1)=
9383
 
+  # include_expsyms should be a list of space-separated symbols to be *always*
9384
 
+  # included in the symbol list
9385
 
+  _LT_TAGVAR(include_expsyms, $1)=
9386
 
+  # exclude_expsyms can be an extended regexp of symbols to exclude
9387
 
+  # it will be wrapped by ` (' and `)$', so one must not match beginning or
9388
 
+  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9389
 
+  # as well as any symbol that contains `d'.
9390
 
+  _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
9391
 
+  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9392
 
+  # platforms (ab)use it in PIC code, but their linkers get confused if
9393
 
+  # the symbol is explicitly referenced.  Since portable code cannot
9394
 
+  # rely on this symbol name, it's probably fine to never include it in
9395
 
+  # preloaded symbol tables.
9396
 
+  # Exclude shared library initialization/finalization symbols.
9397
 
+dnl Note also adjust exclude_expsyms for C++ above.
9398
 
+  extract_expsyms_cmds=
9399
 
 
9400
 
-# Code to be used in simple compile tests
9401
 
-lt_simple_compile_test_code="class foo {}"
9402
 
+  case $host_os in
9403
 
+  cygwin* | mingw* | pw32* | cegcc*)
9404
 
+    # FIXME: the MSVC++ port hasn't been tested in a loooong time
9405
 
+    # When not using gcc, we currently assume that we are using
9406
 
+    # Microsoft Visual C++.
9407
 
+    if test "$GCC" != yes; then
9408
 
+      with_gnu_ld=no
9409
 
+    fi
9410
 
+    ;;
9411
 
+  interix*)
9412
 
+    # we just hope/assume this is gcc and not c89 (= MSVC++)
9413
 
+    with_gnu_ld=yes
9414
 
+    ;;
9415
 
+  openbsd*)
9416
 
+    with_gnu_ld=no
9417
 
+    ;;
9418
 
+  linux* | k*bsd*-gnu)
9419
 
+    _LT_TAGVAR(link_all_deplibs, $1)=no
9420
 
+    ;;
9421
 
+  esac
9422
 
 
9423
 
-# Code to be used in simple link tests
9424
 
-lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }'
9425
 
+  _LT_TAGVAR(ld_shlibs, $1)=yes
9426
 
+  if test "$with_gnu_ld" = yes; then
9427
 
+    # If archive_cmds runs LD, not CC, wlarc should be empty
9428
 
+    wlarc='${wl}'
9429
 
 
9430
 
-# ltmain only uses $CC for tagged configurations so make sure $CC is set.
9431
 
-_LT_AC_SYS_COMPILER
9432
 
+    # Set some defaults for GNU ld with shared library support. These
9433
 
+    # are reset later if shared libraries are not supported. Putting them
9434
 
+    # here allows them to be overridden if necessary.
9435
 
+    runpath_var=LD_RUN_PATH
9436
 
+    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
9437
 
+    _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
9438
 
+    # ancient GNU ld didn't support --whole-archive et. al.
9439
 
+    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9440
 
+      _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9441
 
+    else
9442
 
+      _LT_TAGVAR(whole_archive_flag_spec, $1)=
9443
 
+    fi
9444
 
+    supports_anon_versioning=no
9445
 
+    case `$LD -v 2>&1` in
9446
 
+      *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
9447
 
+      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9448
 
+      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9449
 
+      *\ 2.11.*) ;; # other 2.11 versions
9450
 
+      *) supports_anon_versioning=yes ;;
9451
 
+    esac
9452
 
 
9453
 
-# save warnings/boilerplate of simple test code
9454
 
-_LT_COMPILER_BOILERPLATE
9455
 
-_LT_LINKER_BOILERPLATE
9456
 
+    # See if GNU ld supports shared libraries.
9457
 
+    case $host_os in
9458
 
+    aix[[3-9]]*)
9459
 
+      # On AIX/PPC, the GNU linker is very broken
9460
 
+      if test "$host_cpu" != ia64; then
9461
 
+       _LT_TAGVAR(ld_shlibs, $1)=no
9462
 
+       cat <<_LT_EOF 1>&2
9463
 
 
9464
 
-# Allow CC to be a program name with arguments.
9465
 
-lt_save_CC="$CC"
9466
 
-CC=${GCJ-"gcj"}
9467
 
-compiler=$CC
9468
 
-_LT_AC_TAGVAR(compiler, $1)=$CC
9469
 
-_LT_CC_BASENAME([$compiler])
9470
 
+*** Warning: the GNU linker, at least up to release 2.9.1, is reported
9471
 
+*** to be unable to reliably create shared libraries on AIX.
9472
 
+*** Therefore, libtool is disabling shared libraries support.  If you
9473
 
+*** really care for shared libraries, you may want to modify your PATH
9474
 
+*** so that a non-GNU linker is found, and then restart.
9475
 
 
9476
 
-# GCJ did not exist at the time GCC didn't implicitly link libc in.
9477
 
-_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
9478
 
+_LT_EOF
9479
 
+      fi
9480
 
+      ;;
9481
 
 
9482
 
-_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
9483
 
+    amigaos*)
9484
 
+      case $host_cpu in
9485
 
+      powerpc)
9486
 
+            # see comment about AmigaOS4 .so support
9487
 
+            _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9488
 
+            _LT_TAGVAR(archive_expsym_cmds, $1)=''
9489
 
+        ;;
9490
 
+      m68k)
9491
 
+            _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)'
9492
 
+            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
9493
 
+            _LT_TAGVAR(hardcode_minus_L, $1)=yes
9494
 
+        ;;
9495
 
+      esac
9496
 
+      ;;
9497
 
 
9498
 
-AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
9499
 
-AC_LIBTOOL_PROG_COMPILER_PIC($1)
9500
 
-AC_LIBTOOL_PROG_CC_C_O($1)
9501
 
-AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
9502
 
-AC_LIBTOOL_PROG_LD_SHLIBS($1)
9503
 
-AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
9504
 
-AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
9505
 
+    beos*)
9506
 
+      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9507
 
+       _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
9508
 
+       # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9509
 
+       # support --undefined.  This deserves some investigation.  FIXME
9510
 
+       _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9511
 
+      else
9512
 
+       _LT_TAGVAR(ld_shlibs, $1)=no
9513
 
+      fi
9514
 
+      ;;
9515
 
 
9516
 
-AC_LIBTOOL_CONFIG($1)
9517
 
-
9518
 
-AC_LANG_RESTORE
9519
 
-CC="$lt_save_CC"
9520
 
-])# AC_LIBTOOL_LANG_GCJ_CONFIG
9521
 
+    cygwin* | mingw* | pw32* | cegcc*)
9522
 
+      # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
9523
 
+      # as there is no search path for DLLs.
9524
 
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
9525
 
+      _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
9526
 
+      _LT_TAGVAR(always_export_symbols, $1)=no
9527
 
+      _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
9528
 
+      _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'
9529
 
 
9530
 
+      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9531
 
+        _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'
9532
 
+       # If the export-symbols file already is a .def file (1st line
9533
 
+       # is EXPORTS), use it as is; otherwise, prepend...
9534
 
+       _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9535
 
+         cp $export_symbols $output_objdir/$soname.def;
9536
 
+       else
9537
 
+         echo EXPORTS > $output_objdir/$soname.def;
9538
 
+         cat $export_symbols >> $output_objdir/$soname.def;
9539
 
+       fi~
9540
 
+       $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9541
 
+      else
9542
 
+       _LT_TAGVAR(ld_shlibs, $1)=no
9543
 
+      fi
9544
 
+      ;;
9545
 
 
9546
 
-# AC_LIBTOOL_LANG_RC_CONFIG
9547
 
-# -------------------------
9548
 
-# Ensure that the configuration vars for the Windows resource compiler are
9549
 
-# suitably defined.  Those variables are subsequently used by
9550
 
-# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
9551
 
-AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG], [_LT_AC_LANG_RC_CONFIG(RC)])
9552
 
-AC_DEFUN([_LT_AC_LANG_RC_CONFIG],
9553
 
-[AC_LANG_SAVE
9554
 
+    interix[[3-9]]*)
9555
 
+      _LT_TAGVAR(hardcode_direct, $1)=no
9556
 
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
9557
 
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
9558
 
+      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
9559
 
+      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9560
 
+      # Instead, shared libraries are loaded at an image base (0x10000000 by
9561
 
+      # default) and relocated if they conflict, which is a slow very memory
9562
 
+      # consuming and fragmenting process.  To avoid this, we pick a random,
9563
 
+      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9564
 
+      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9565
 
+      _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'
9566
 
+      _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'
9567
 
+      ;;
9568
 
 
9569
 
-# Source file extension for RC test sources.
9570
 
-ac_ext=rc
9571
 
+    gnu* | linux* | tpf* | k*bsd*-gnu)
9572
 
+      tmp_diet=no
9573
 
+      if test "$host_os" = linux-dietlibc; then
9574
 
+       case $cc_basename in
9575
 
+         diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9576
 
+       esac
9577
 
+      fi
9578
 
+      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9579
 
+        && test "$tmp_diet" = no
9580
 
+      then
9581
 
+       tmp_addflag=
9582
 
+       tmp_sharedflag='-shared'
9583
 
+       case $cc_basename,$host_cpu in
9584
 
+        pgcc*)                         # Portland Group C compiler
9585
 
+         _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'
9586
 
+         tmp_addflag=' $pic_flag'
9587
 
+         ;;
9588
 
+       pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
9589
 
+         _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'
9590
 
+         tmp_addflag=' $pic_flag -Mnomain' ;;
9591
 
+       ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9592
 
+         tmp_addflag=' -i_dynamic' ;;
9593
 
+       efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9594
 
+         tmp_addflag=' -i_dynamic -nofor_main' ;;
9595
 
+       ifc* | ifort*)                  # Intel Fortran compiler
9596
 
+         tmp_addflag=' -nofor_main' ;;
9597
 
+       lf95*)                          # Lahey Fortran 8.1
9598
 
+         _LT_TAGVAR(whole_archive_flag_spec, $1)=
9599
 
+         tmp_sharedflag='--shared' ;;
9600
 
+       xl[[cC]]*)                      # IBM XL C 8.0 on PPC (deal with xlf below)
9601
 
+         tmp_sharedflag='-qmkshrobj'
9602
 
+         tmp_addflag= ;;
9603
 
+       esac
9604
 
+       case `$CC -V 2>&1 | sed 5q` in
9605
 
+       *Sun\ C*)                       # Sun C 5.9
9606
 
+         _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'
9607
 
+         _LT_TAGVAR(compiler_needs_object, $1)=yes
9608
 
+         tmp_sharedflag='-G' ;;
9609
 
+       *Sun\ F*)                       # Sun Fortran 8.3
9610
 
+         tmp_sharedflag='-G' ;;
9611
 
+       esac
9612
 
+       _LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9613
 
 
9614
 
-# Object file extension for compiled RC test sources.
9615
 
-objext=o
9616
 
-_LT_AC_TAGVAR(objext, $1)=$objext
9617
 
+        if test "x$supports_anon_versioning" = xyes; then
9618
 
+          _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
9619
 
+           cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9620
 
+           echo "local: *; };" >> $output_objdir/$libname.ver~
9621
 
+           $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9622
 
+        fi
9623
 
 
9624
 
-# Code to be used in simple compile tests
9625
 
-lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
9626
 
+       case $cc_basename in
9627
 
+       xlf*)
9628
 
+         # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9629
 
+         _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
9630
 
+         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
9631
 
+         _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
9632
 
+         _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9633
 
+         if test "x$supports_anon_versioning" = xyes; then
9634
 
+           _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
9635
 
+             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9636
 
+             echo "local: *; };" >> $output_objdir/$libname.ver~
9637
 
+             $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9638
 
+         fi
9639
 
+         ;;
9640
 
+       esac
9641
 
+      else
9642
 
+        _LT_TAGVAR(ld_shlibs, $1)=no
9643
 
+      fi
9644
 
+      ;;
9645
 
 
9646
 
-# Code to be used in simple link tests
9647
 
-lt_simple_link_test_code="$lt_simple_compile_test_code"
9648
 
+    netbsd* | netbsdelf*-gnu)
9649
 
+      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9650
 
+       _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9651
 
+       wlarc=
9652
 
+      else
9653
 
+       _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9654
 
+       _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'
9655
 
+      fi
9656
 
+      ;;
9657
 
 
9658
 
-# ltmain only uses $CC for tagged configurations so make sure $CC is set.
9659
 
-_LT_AC_SYS_COMPILER
9660
 
+    solaris*)
9661
 
+      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9662
 
+       _LT_TAGVAR(ld_shlibs, $1)=no
9663
 
+       cat <<_LT_EOF 1>&2
9664
 
 
9665
 
-# save warnings/boilerplate of simple test code
9666
 
-_LT_COMPILER_BOILERPLATE
9667
 
-_LT_LINKER_BOILERPLATE
9668
 
+*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9669
 
+*** create shared libraries on Solaris systems.  Therefore, libtool
9670
 
+*** is disabling shared libraries support.  We urge you to upgrade GNU
9671
 
+*** binutils to release 2.9.1 or newer.  Another option is to modify
9672
 
+*** your PATH or compiler configuration so that the native linker is
9673
 
+*** used, and then restart.
9674
 
 
9675
 
-# Allow CC to be a program name with arguments.
9676
 
-lt_save_CC="$CC"
9677
 
-CC=${RC-"windres"}
9678
 
-compiler=$CC
9679
 
-_LT_AC_TAGVAR(compiler, $1)=$CC
9680
 
-_LT_CC_BASENAME([$compiler])
9681
 
-_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
9682
 
+_LT_EOF
9683
 
+      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9684
 
+       _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9685
 
+       _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'
9686
 
+      else
9687
 
+       _LT_TAGVAR(ld_shlibs, $1)=no
9688
 
+      fi
9689
 
+      ;;
9690
 
 
9691
 
-AC_LIBTOOL_CONFIG($1)
9692
 
+    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9693
 
+      case `$LD -v 2>&1` in
9694
 
+        *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
9695
 
+       _LT_TAGVAR(ld_shlibs, $1)=no
9696
 
+       cat <<_LT_EOF 1>&2
9697
 
 
9698
 
-AC_LANG_RESTORE
9699
 
-CC="$lt_save_CC"
9700
 
-])# AC_LIBTOOL_LANG_RC_CONFIG
9701
 
+*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9702
 
+*** reliably create shared libraries on SCO systems.  Therefore, libtool
9703
 
+*** is disabling shared libraries support.  We urge you to upgrade GNU
9704
 
+*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9705
 
+*** your PATH or compiler configuration so that the native linker is
9706
 
+*** used, and then restart.
9707
 
 
9708
 
+_LT_EOF
9709
 
+       ;;
9710
 
+       *)
9711
 
+         # For security reasons, it is highly recommended that you always
9712
 
+         # use absolute paths for naming shared libraries, and exclude the
9713
 
+         # DT_RUNPATH tag from executables and libraries.  But doing so
9714
 
+         # requires that you compile everything twice, which is a pain.
9715
 
+         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9716
 
+           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
9717
 
+           _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9718
 
+           _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'
9719
 
+         else
9720
 
+           _LT_TAGVAR(ld_shlibs, $1)=no
9721
 
+         fi
9722
 
+       ;;
9723
 
+      esac
9724
 
+      ;;
9725
 
 
9726
 
-# AC_LIBTOOL_CONFIG([TAGNAME])
9727
 
-# ----------------------------
9728
 
-# If TAGNAME is not passed, then create an initial libtool script
9729
 
-# with a default configuration from the untagged config vars.  Otherwise
9730
 
-# add code to config.status for appending the configuration named by
9731
 
-# TAGNAME from the matching tagged config vars.
9732
 
-AC_DEFUN([AC_LIBTOOL_CONFIG],
9733
 
-[# The else clause should only fire when bootstrapping the
9734
 
-# libtool distribution, otherwise you forgot to ship ltmain.sh
9735
 
-# with your package, and you will get complaints that there are
9736
 
-# no rules to generate ltmain.sh.
9737
 
-if test -f "$ltmain"; then
9738
 
-  # See if we are running on zsh, and set the options which allow our commands through
9739
 
-  # without removal of \ escapes.
9740
 
-  if test -n "${ZSH_VERSION+set}" ; then
9741
 
-    setopt NO_GLOB_SUBST
9742
 
-  fi
9743
 
-  # Now quote all the things that may contain metacharacters while being
9744
 
-  # careful not to overquote the AC_SUBSTed values.  We take copies of the
9745
 
-  # variables and quote the copies for generation of the libtool script.
9746
 
-  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
9747
 
-    SED SHELL STRIP \
9748
 
-    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
9749
 
-    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
9750
 
-    deplibs_check_method reload_flag reload_cmds need_locks \
9751
 
-    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
9752
 
-    lt_cv_sys_global_symbol_to_c_name_address \
9753
 
-    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
9754
 
-    old_postinstall_cmds old_postuninstall_cmds \
9755
 
-    _LT_AC_TAGVAR(compiler, $1) \
9756
 
-    _LT_AC_TAGVAR(CC, $1) \
9757
 
-    _LT_AC_TAGVAR(LD, $1) \
9758
 
-    _LT_AC_TAGVAR(lt_prog_compiler_wl, $1) \
9759
 
-    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1) \
9760
 
-    _LT_AC_TAGVAR(lt_prog_compiler_static, $1) \
9761
 
-    _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) \
9762
 
-    _LT_AC_TAGVAR(export_dynamic_flag_spec, $1) \
9763
 
-    _LT_AC_TAGVAR(thread_safe_flag_spec, $1) \
9764
 
-    _LT_AC_TAGVAR(whole_archive_flag_spec, $1) \
9765
 
-    _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1) \
9766
 
-    _LT_AC_TAGVAR(old_archive_cmds, $1) \
9767
 
-    _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) \
9768
 
-    _LT_AC_TAGVAR(predep_objects, $1) \
9769
 
-    _LT_AC_TAGVAR(postdep_objects, $1) \
9770
 
-    _LT_AC_TAGVAR(predeps, $1) \
9771
 
-    _LT_AC_TAGVAR(postdeps, $1) \
9772
 
-    _LT_AC_TAGVAR(compiler_lib_search_path, $1) \
9773
 
-    _LT_AC_TAGVAR(compiler_lib_search_dirs, $1) \
9774
 
-    _LT_AC_TAGVAR(archive_cmds, $1) \
9775
 
-    _LT_AC_TAGVAR(archive_expsym_cmds, $1) \
9776
 
-    _LT_AC_TAGVAR(postinstall_cmds, $1) \
9777
 
-    _LT_AC_TAGVAR(postuninstall_cmds, $1) \
9778
 
-    _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) \
9779
 
-    _LT_AC_TAGVAR(allow_undefined_flag, $1) \
9780
 
-    _LT_AC_TAGVAR(no_undefined_flag, $1) \
9781
 
-    _LT_AC_TAGVAR(export_symbols_cmds, $1) \
9782
 
-    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) \
9783
 
-    _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1) \
9784
 
-    _LT_AC_TAGVAR(hardcode_libdir_separator, $1) \
9785
 
-    _LT_AC_TAGVAR(hardcode_automatic, $1) \
9786
 
-    _LT_AC_TAGVAR(module_cmds, $1) \
9787
 
-    _LT_AC_TAGVAR(module_expsym_cmds, $1) \
9788
 
-    _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) \
9789
 
-    _LT_AC_TAGVAR(fix_srcfile_path, $1) \
9790
 
-    _LT_AC_TAGVAR(exclude_expsyms, $1) \
9791
 
-    _LT_AC_TAGVAR(include_expsyms, $1); do
9792
 
-
9793
 
-    case $var in
9794
 
-    _LT_AC_TAGVAR(old_archive_cmds, $1) | \
9795
 
-    _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) | \
9796
 
-    _LT_AC_TAGVAR(archive_cmds, $1) | \
9797
 
-    _LT_AC_TAGVAR(archive_expsym_cmds, $1) | \
9798
 
-    _LT_AC_TAGVAR(module_cmds, $1) | \
9799
 
-    _LT_AC_TAGVAR(module_expsym_cmds, $1) | \
9800
 
-    _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) | \
9801
 
-    _LT_AC_TAGVAR(export_symbols_cmds, $1) | \
9802
 
-    extract_expsyms_cmds | reload_cmds | finish_cmds | \
9803
 
-    postinstall_cmds | postuninstall_cmds | \
9804
 
-    old_postinstall_cmds | old_postuninstall_cmds | \
9805
 
-    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
9806
 
-      # Double-quote double-evaled strings.
9807
 
-      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
9808
 
+    sunos4*)
9809
 
+      _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9810
 
+      wlarc=
9811
 
+      _LT_TAGVAR(hardcode_direct, $1)=yes
9812
 
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
9813
 
       ;;
9814
 
+
9815
 
     *)
9816
 
-      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
9817
 
+      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9818
 
+       _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9819
 
+       _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'
9820
 
+      else
9821
 
+       _LT_TAGVAR(ld_shlibs, $1)=no
9822
 
+      fi
9823
 
       ;;
9824
 
     esac
9825
 
-  done
9826
 
 
9827
 
-  case $lt_echo in
9828
 
-  *'\[$]0 --fallback-echo"')
9829
 
-    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\[$]0 --fallback-echo"[$]/[$]0 --fallback-echo"/'`
9830
 
-    ;;
9831
 
-  esac
9832
 
+    if test "$_LT_TAGVAR(ld_shlibs, $1)" = no; then
9833
 
+      runpath_var=
9834
 
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
9835
 
+      _LT_TAGVAR(export_dynamic_flag_spec, $1)=
9836
 
+      _LT_TAGVAR(whole_archive_flag_spec, $1)=
9837
 
+    fi
9838
 
+  else
9839
 
+    # PORTME fill in a description of your system's linker (not GNU ld)
9840
 
+    case $host_os in
9841
 
+    aix3*)
9842
 
+      _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
9843
 
+      _LT_TAGVAR(always_export_symbols, $1)=yes
9844
 
+      _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'
9845
 
+      # Note: this linker hardcodes the directories in LIBPATH if there
9846
 
+      # are no directories specified by -L.
9847
 
+      _LT_TAGVAR(hardcode_minus_L, $1)=yes
9848
 
+      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9849
 
+       # Neither direct hardcoding nor static linking is supported with a
9850
 
+       # broken collect2.
9851
 
+       _LT_TAGVAR(hardcode_direct, $1)=unsupported
9852
 
+      fi
9853
 
+      ;;
9854
 
 
9855
 
-ifelse([$1], [],
9856
 
-  [cfgfile="${ofile}T"
9857
 
-  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
9858
 
-  $rm -f "$cfgfile"
9859
 
-  AC_MSG_NOTICE([creating $ofile])],
9860
 
-  [cfgfile="$ofile"])
9861
 
+    aix[[4-9]]*)
9862
 
+      if test "$host_cpu" = ia64; then
9863
 
+       # On IA64, the linker does run time linking by default, so we don't
9864
 
+       # have to do anything special.
9865
 
+       aix_use_runtimelinking=no
9866
 
+       exp_sym_flag='-Bexport'
9867
 
+       no_entry_flag=""
9868
 
+      else
9869
 
+       # If we're using GNU nm, then we don't want the "-C" option.
9870
 
+       # -C means demangle to AIX nm, but means don't demangle with GNU nm
9871
 
+       if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9872
 
+         _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'
9873
 
+       else
9874
 
+         _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'
9875
 
+       fi
9876
 
+       aix_use_runtimelinking=no
9877
 
 
9878
 
-  cat <<__EOF__ >> "$cfgfile"
9879
 
-ifelse([$1], [],
9880
 
-[#! $SHELL
9881
 
+       # Test if we are trying to use run time linking or normal
9882
 
+       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9883
 
+       # need to do runtime linking.
9884
 
+       case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
9885
 
+         for ld_flag in $LDFLAGS; do
9886
 
+         if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9887
 
+           aix_use_runtimelinking=yes
9888
 
+           break
9889
 
+         fi
9890
 
+         done
9891
 
+         ;;
9892
 
+       esac
9893
 
 
9894
 
-# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
9895
 
-# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
9896
 
-# NOTE: Changes made to this file will be lost: look at ltmain.sh.
9897
 
-#
9898
 
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
9899
 
-# Free Software Foundation, Inc.
9900
 
-#
9901
 
-# This file is part of GNU Libtool:
9902
 
-# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
9903
 
-#
9904
 
-# This program is free software; you can redistribute it and/or modify
9905
 
-# it under the terms of the GNU General Public License as published by
9906
 
-# the Free Software Foundation; either version 2 of the License, or
9907
 
-# (at your option) any later version.
9908
 
-#
9909
 
-# This program is distributed in the hope that it will be useful, but
9910
 
-# WITHOUT ANY WARRANTY; without even the implied warranty of
9911
 
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
9912
 
-# General Public License for more details.
9913
 
-#
9914
 
-# You should have received a copy of the GNU General Public License
9915
 
-# along with this program; if not, write to the Free Software
9916
 
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
9917
 
-#
9918
 
-# As a special exception to the GNU General Public License, if you
9919
 
-# distribute this file as part of a program that contains a
9920
 
-# configuration script generated by Autoconf, you may include it under
9921
 
-# the same distribution terms that you use for the rest of that program.
9922
 
+       exp_sym_flag='-bexport'
9923
 
+       no_entry_flag='-bnoentry'
9924
 
+      fi
9925
 
 
9926
 
-# A sed program that does not truncate output.
9927
 
-SED=$lt_SED
9928
 
+      # When large executables or shared objects are built, AIX ld can
9929
 
+      # have problems creating the table of contents.  If linking a library
9930
 
+      # or program results in "error TOC overflow" add -mminimal-toc to
9931
 
+      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9932
 
+      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9933
 
 
9934
 
-# Sed that helps us avoid accidentally triggering echo(1) options like -n.
9935
 
-Xsed="$SED -e 1s/^X//"
9936
 
+      _LT_TAGVAR(archive_cmds, $1)=''
9937
 
+      _LT_TAGVAR(hardcode_direct, $1)=yes
9938
 
+      _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
9939
 
+      _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
9940
 
+      _LT_TAGVAR(link_all_deplibs, $1)=yes
9941
 
+      _LT_TAGVAR(file_list_spec, $1)='${wl}-f,'
9942
 
 
9943
 
-# The HP-UX ksh and POSIX shell print the target directory to stdout
9944
 
-# if CDPATH is set.
9945
 
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
9946
 
+      if test "$GCC" = yes; then
9947
 
+       case $host_os in aix4.[[012]]|aix4.[[012]].*)
9948
 
+       # We only want to do this on AIX 4.2 and lower, the check
9949
 
+       # below for broken collect2 doesn't work under 4.3+
9950
 
+         collect2name=`${CC} -print-prog-name=collect2`
9951
 
+         if test -f "$collect2name" &&
9952
 
+          strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9953
 
+         then
9954
 
+         # We have reworked collect2
9955
 
+         :
9956
 
+         else
9957
 
+         # We have old collect2
9958
 
+         _LT_TAGVAR(hardcode_direct, $1)=unsupported
9959
 
+         # It fails to find uninstalled libraries when the uninstalled
9960
 
+         # path is not listed in the libpath.  Setting hardcode_minus_L
9961
 
+         # to unsupported forces relinking
9962
 
+         _LT_TAGVAR(hardcode_minus_L, $1)=yes
9963
 
+         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
9964
 
+         _LT_TAGVAR(hardcode_libdir_separator, $1)=
9965
 
+         fi
9966
 
+         ;;
9967
 
+       esac
9968
 
+       shared_flag='-shared'
9969
 
+       if test "$aix_use_runtimelinking" = yes; then
9970
 
+         shared_flag="$shared_flag "'${wl}-G'
9971
 
+       fi
9972
 
+       _LT_TAGVAR(link_all_deplibs, $1)=no
9973
 
+      else
9974
 
+       # not using gcc
9975
 
+       if test "$host_cpu" = ia64; then
9976
 
+       # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9977
 
+       # chokes on -Wl,-G. The following line is correct:
9978
 
+         shared_flag='-G'
9979
 
+       else
9980
 
+         if test "$aix_use_runtimelinking" = yes; then
9981
 
+           shared_flag='${wl}-G'
9982
 
+         else
9983
 
+           shared_flag='${wl}-bM:SRE'
9984
 
+         fi
9985
 
+       fi
9986
 
+      fi
9987
 
 
9988
 
-# The names of the tagged configurations supported by this script.
9989
 
-available_tags=
9990
 
+      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
9991
 
+      # It seems that -bexpall does not export symbols beginning with
9992
 
+      # underscore (_), so it is better to generate a list of symbols to export.
9993
 
+      _LT_TAGVAR(always_export_symbols, $1)=yes
9994
 
+      if test "$aix_use_runtimelinking" = yes; then
9995
 
+       # Warning - without using the other runtime loading flags (-brtl),
9996
 
+       # -berok will link without error, but may produce a broken library.
9997
 
+       _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
9998
 
+        # Determine the default libpath from the value encoded in an
9999
 
+        # empty executable.
10000
 
+        _LT_SYS_MODULE_PATH_AIX
10001
 
+        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
10002
 
+        _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"
10003
 
+      else
10004
 
+       if test "$host_cpu" = ia64; then
10005
 
+         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
10006
 
+         _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
10007
 
+         _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"
10008
 
+       else
10009
 
+        # Determine the default libpath from the value encoded in an
10010
 
+        # empty executable.
10011
 
+        _LT_SYS_MODULE_PATH_AIX
10012
 
+        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
10013
 
+         # Warning - without using the other run time loading flags,
10014
 
+         # -berok will link without error, but may produce a broken library.
10015
 
+         _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
10016
 
+         _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
10017
 
+         # Exported symbols can be pulled into shared objects from archives
10018
 
+         _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
10019
 
+         _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
10020
 
+         # This is similar to how AIX traditionally builds its shared libraries.
10021
 
+         _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'
10022
 
+       fi
10023
 
+      fi
10024
 
+      ;;
10025
 
 
10026
 
-# ### BEGIN LIBTOOL CONFIG],
10027
 
-[# ### BEGIN LIBTOOL TAG CONFIG: $tagname])
10028
 
+    amigaos*)
10029
 
+      case $host_cpu in
10030
 
+      powerpc)
10031
 
+            # see comment about AmigaOS4 .so support
10032
 
+            _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10033
 
+            _LT_TAGVAR(archive_expsym_cmds, $1)=''
10034
 
+        ;;
10035
 
+      m68k)
10036
 
+            _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)'
10037
 
+            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
10038
 
+            _LT_TAGVAR(hardcode_minus_L, $1)=yes
10039
 
+        ;;
10040
 
+      esac
10041
 
+      ;;
10042
 
 
10043
 
-# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
10044
 
+    bsdi[[45]]*)
10045
 
+      _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
10046
 
+      ;;
10047
 
 
10048
 
-# Shell to use when invoking shell scripts.
10049
 
-SHELL=$lt_SHELL
10050
 
+    cygwin* | mingw* | pw32* | cegcc*)
10051
 
+      # When not using gcc, we currently assume that we are using
10052
 
+      # Microsoft Visual C++.
10053
 
+      # hardcode_libdir_flag_spec is actually meaningless, as there is
10054
 
+      # no search path for DLLs.
10055
 
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
10056
 
+      _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
10057
 
+      # Tell ltmain to make .lib files, not .a files.
10058
 
+      libext=lib
10059
 
+      # Tell ltmain to make .dll files, not .so files.
10060
 
+      shrext_cmds=".dll"
10061
 
+      # FIXME: Setting linknames here is a bad hack.
10062
 
+      _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
10063
 
+      # The linker will automatically build a .lib file if we build a DLL.
10064
 
+      _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
10065
 
+      # FIXME: Should let the user specify the lib program.
10066
 
+      _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
10067
 
+      _LT_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'
10068
 
+      _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
10069
 
+      ;;
10070
 
 
10071
 
-# Whether or not to build shared libraries.
10072
 
-build_libtool_libs=$enable_shared
10073
 
+    darwin* | rhapsody*)
10074
 
+      _LT_DARWIN_LINKER_FEATURES($1)
10075
 
+      ;;
10076
 
 
10077
 
-# Whether or not to build static libraries.
10078
 
-build_old_libs=$enable_static
10079
 
-
10080
 
-# Whether or not to add -lc for building shared libraries.
10081
 
-build_libtool_need_lc=$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)
10082
 
+    dgux*)
10083
 
+      _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10084
 
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
10085
 
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
10086
 
+      ;;
10087
 
 
10088
 
-# Whether or not to disallow shared libs when runtime libs are static
10089
 
-allow_libtool_libs_with_static_runtimes=$_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)
10090
 
+    freebsd1*)
10091
 
+      _LT_TAGVAR(ld_shlibs, $1)=no
10092
 
+      ;;
10093
 
 
10094
 
-# Whether or not to optimize for fast installation.
10095
 
-fast_install=$enable_fast_install
10096
 
+    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10097
 
+    # support.  Future versions do this automatically, but an explicit c++rt0.o
10098
 
+    # does not break anything, and helps significantly (at the cost of a little
10099
 
+    # extra space).
10100
 
+    freebsd2.2*)
10101
 
+      _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10102
 
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
10103
 
+      _LT_TAGVAR(hardcode_direct, $1)=yes
10104
 
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
10105
 
+      ;;
10106
 
 
10107
 
-# The host system.
10108
 
-host_alias=$host_alias
10109
 
-host=$host
10110
 
-host_os=$host_os
10111
 
+    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10112
 
+    freebsd2*)
10113
 
+      _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10114
 
+      _LT_TAGVAR(hardcode_direct, $1)=yes
10115
 
+      _LT_TAGVAR(hardcode_minus_L, $1)=yes
10116
 
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
10117
 
+      ;;
10118
 
 
10119
 
-# The build system.
10120
 
-build_alias=$build_alias
10121
 
-build=$build
10122
 
-build_os=$build_os
10123
 
+    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10124
 
+    freebsd* | dragonfly*)
10125
 
+      _LT_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10126
 
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
10127
 
+      _LT_TAGVAR(hardcode_direct, $1)=yes
10128
 
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
10129
 
+      ;;
10130
 
 
10131
 
-# An echo program that does not interpret backslashes.
10132
 
-echo=$lt_echo
10133
 
+    hpux9*)
10134
 
+      if test "$GCC" = yes; then
10135
 
+       _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'
10136
 
+      else
10137
 
+       _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'
10138
 
+      fi
10139
 
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
10140
 
+      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
10141
 
+      _LT_TAGVAR(hardcode_direct, $1)=yes
10142
 
 
10143
 
-# The archiver.
10144
 
-AR=$lt_AR
10145
 
-AR_FLAGS=$lt_AR_FLAGS
10146
 
+      # hardcode_minus_L: Not really in the search PATH,
10147
 
+      # but as the default location of the library.
10148
 
+      _LT_TAGVAR(hardcode_minus_L, $1)=yes
10149
 
+      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
10150
 
+      ;;
10151
 
 
10152
 
-# A C compiler.
10153
 
-LTCC=$lt_LTCC
10154
 
+    hpux10*)
10155
 
+      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10156
 
+       _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10157
 
+      else
10158
 
+       _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10159
 
+      fi
10160
 
+      if test "$with_gnu_ld" = no; then
10161
 
+       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
10162
 
+       _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
10163
 
+       _LT_TAGVAR(hardcode_libdir_separator, $1)=:
10164
 
+       _LT_TAGVAR(hardcode_direct, $1)=yes
10165
 
+       _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
10166
 
+       _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
10167
 
+       # hardcode_minus_L: Not really in the search PATH,
10168
 
+       # but as the default location of the library.
10169
 
+       _LT_TAGVAR(hardcode_minus_L, $1)=yes
10170
 
+      fi
10171
 
+      ;;
10172
 
 
10173
 
-# LTCC compiler flags.
10174
 
-LTCFLAGS=$lt_LTCFLAGS
10175
 
+    hpux11*)
10176
 
+      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10177
 
+       case $host_cpu in
10178
 
+       hppa*64*)
10179
 
+         _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10180
 
+         ;;
10181
 
+       ia64*)
10182
 
+         _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10183
 
+         ;;
10184
 
+       *)
10185
 
+         _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10186
 
+         ;;
10187
 
+       esac
10188
 
+      else
10189
 
+       case $host_cpu in
10190
 
+       hppa*64*)
10191
 
+         _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10192
 
+         ;;
10193
 
+       ia64*)
10194
 
+         _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10195
 
+         ;;
10196
 
+       *)
10197
 
+         _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10198
 
+         ;;
10199
 
+       esac
10200
 
+      fi
10201
 
+      if test "$with_gnu_ld" = no; then
10202
 
+       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
10203
 
+       _LT_TAGVAR(hardcode_libdir_separator, $1)=:
10204
 
 
10205
 
-# A language-specific compiler.
10206
 
-CC=$lt_[]_LT_AC_TAGVAR(compiler, $1)
10207
 
+       case $host_cpu in
10208
 
+       hppa*64*|ia64*)
10209
 
+         _LT_TAGVAR(hardcode_direct, $1)=no
10210
 
+         _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
10211
 
+         ;;
10212
 
+       *)
10213
 
+         _LT_TAGVAR(hardcode_direct, $1)=yes
10214
 
+         _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
10215
 
+         _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
10216
 
 
10217
 
-# Is the compiler the GNU C compiler?
10218
 
-with_gcc=$_LT_AC_TAGVAR(GCC, $1)
10219
 
+         # hardcode_minus_L: Not really in the search PATH,
10220
 
+         # but as the default location of the library.
10221
 
+         _LT_TAGVAR(hardcode_minus_L, $1)=yes
10222
 
+         ;;
10223
 
+       esac
10224
 
+      fi
10225
 
+      ;;
10226
 
 
10227
 
-# An ERE matcher.
10228
 
-EGREP=$lt_EGREP
10229
 
+    irix5* | irix6* | nonstopux*)
10230
 
+      if test "$GCC" = yes; then
10231
 
+       _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'
10232
 
+       # Try to use the -exported_symbol ld option, if it does not
10233
 
+       # work, assume that -exports_file does not work either and
10234
 
+       # implicitly export all symbols.
10235
 
+        save_LDFLAGS="$LDFLAGS"
10236
 
+        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10237
 
+        AC_LINK_IFELSE(int foo(void) {},
10238
 
+          _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'
10239
 
+        )
10240
 
+        LDFLAGS="$save_LDFLAGS"
10241
 
+      else
10242
 
+       _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'
10243
 
+       _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'
10244
 
+      fi
10245
 
+      _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
10246
 
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
10247
 
+      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
10248
 
+      _LT_TAGVAR(inherit_rpath, $1)=yes
10249
 
+      _LT_TAGVAR(link_all_deplibs, $1)=yes
10250
 
+      ;;
10251
 
 
10252
 
-# The linker used to build libraries.
10253
 
-LD=$lt_[]_LT_AC_TAGVAR(LD, $1)
10254
 
+    netbsd* | netbsdelf*-gnu)
10255
 
+      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10256
 
+       _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10257
 
+      else
10258
 
+       _LT_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10259
 
+      fi
10260
 
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
10261
 
+      _LT_TAGVAR(hardcode_direct, $1)=yes
10262
 
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
10263
 
+      ;;
10264
 
 
10265
 
-# Whether we need hard or soft links.
10266
 
-LN_S=$lt_LN_S
10267
 
+    newsos6)
10268
 
+      _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10269
 
+      _LT_TAGVAR(hardcode_direct, $1)=yes
10270
 
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
10271
 
+      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
10272
 
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
10273
 
+      ;;
10274
 
 
10275
 
-# A BSD-compatible nm program.
10276
 
-NM=$lt_NM
10277
 
+    *nto* | *qnx*)
10278
 
+      ;;
10279
 
 
10280
 
-# A symbol stripping program
10281
 
-STRIP=$lt_STRIP
10282
 
+    openbsd*)
10283
 
+      if test -f /usr/libexec/ld.so; then
10284
 
+       _LT_TAGVAR(hardcode_direct, $1)=yes
10285
 
+       _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
10286
 
+       _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
10287
 
+       if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10288
 
+         _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10289
 
+         _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10290
 
+         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
10291
 
+         _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
10292
 
+       else
10293
 
+         case $host_os in
10294
 
+          openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
10295
 
+            _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10296
 
+            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
10297
 
+            ;;
10298
 
+          *)
10299
 
+            _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10300
 
+            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
10301
 
+            ;;
10302
 
+         esac
10303
 
+       fi
10304
 
+      else
10305
 
+       _LT_TAGVAR(ld_shlibs, $1)=no
10306
 
+      fi
10307
 
+      ;;
10308
 
 
10309
 
-# Used to examine libraries when file_magic_cmd begins "file"
10310
 
-MAGIC_CMD=$MAGIC_CMD
10311
 
+    os2*)
10312
 
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
10313
 
+      _LT_TAGVAR(hardcode_minus_L, $1)=yes
10314
 
+      _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
10315
 
+      _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'
10316
 
+      _LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10317
 
+      ;;
10318
 
 
10319
 
-# Used on cygwin: DLL creation program.
10320
 
-DLLTOOL="$DLLTOOL"
10321
 
+    osf3*)
10322
 
+      if test "$GCC" = yes; then
10323
 
+       _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
10324
 
+       _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'
10325
 
+      else
10326
 
+       _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
10327
 
+       _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'
10328
 
+      fi
10329
 
+      _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
10330
 
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
10331
 
+      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
10332
 
+      ;;
10333
 
 
10334
 
-# Used on cygwin: object dumper.
10335
 
-OBJDUMP="$OBJDUMP"
10336
 
+    osf4* | osf5*)     # as osf3* with the addition of -msym flag
10337
 
+      if test "$GCC" = yes; then
10338
 
+       _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
10339
 
+       _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'
10340
 
+       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
10341
 
+      else
10342
 
+       _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
10343
 
+       _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'
10344
 
+       _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~
10345
 
+       $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'
10346
 
 
10347
 
-# Used on cygwin: assembler.
10348
 
-AS="$AS"
10349
 
+       # Both c and cxx compiler support -rpath directly
10350
 
+       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
10351
 
+      fi
10352
 
+      _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
10353
 
+      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
10354
 
+      ;;
10355
 
 
10356
 
-# The name of the directory that contains temporary libtool files.
10357
 
-objdir=$objdir
10358
 
+    solaris*)
10359
 
+      _LT_TAGVAR(no_undefined_flag, $1)=' -z defs'
10360
 
+      if test "$GCC" = yes; then
10361
 
+       wlarc='${wl}'
10362
 
+       _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10363
 
+       _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10364
 
+         $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10365
 
+      else
10366
 
+       case `$CC -V 2>&1` in
10367
 
+       *"Compilers 5.0"*)
10368
 
+         wlarc=''
10369
 
+         _LT_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10370
 
+         _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10371
 
+         $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10372
 
+         ;;
10373
 
+       *)
10374
 
+         wlarc='${wl}'
10375
 
+         _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10376
 
+         _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10377
 
+         $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10378
 
+         ;;
10379
 
+       esac
10380
 
+      fi
10381
 
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
10382
 
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
10383
 
+      case $host_os in
10384
 
+      solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
10385
 
+      *)
10386
 
+       # The compiler driver will combine and reorder linker options,
10387
 
+       # but understands `-z linker_flag'.  GCC discards it without `$wl',
10388
 
+       # but is careful enough not to reorder.
10389
 
+       # Supported since Solaris 2.6 (maybe 2.5.1?)
10390
 
+       if test "$GCC" = yes; then
10391
 
+         _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10392
 
+       else
10393
 
+         _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
10394
 
+       fi
10395
 
+       ;;
10396
 
+      esac
10397
 
+      _LT_TAGVAR(link_all_deplibs, $1)=yes
10398
 
+      ;;
10399
 
 
10400
 
-# How to create reloadable object files.
10401
 
-reload_flag=$lt_reload_flag
10402
 
-reload_cmds=$lt_reload_cmds
10403
 
+    sunos4*)
10404
 
+      if test "x$host_vendor" = xsequent; then
10405
 
+       # Use $CC to link under sequent, because it throws in some extra .o
10406
 
+       # files that make .init and .fini sections work.
10407
 
+       _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10408
 
+      else
10409
 
+       _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10410
 
+      fi
10411
 
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
10412
 
+      _LT_TAGVAR(hardcode_direct, $1)=yes
10413
 
+      _LT_TAGVAR(hardcode_minus_L, $1)=yes
10414
 
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
10415
 
+      ;;
10416
 
 
10417
 
-# How to pass a linker flag through the compiler.
10418
 
-wl=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
10419
 
+    sysv4)
10420
 
+      case $host_vendor in
10421
 
+       sni)
10422
 
+         _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10423
 
+         _LT_TAGVAR(hardcode_direct, $1)=yes # is this really true???
10424
 
+       ;;
10425
 
+       siemens)
10426
 
+         ## LD is ld it makes a PLAMLIB
10427
 
+         ## CC just makes a GrossModule.
10428
 
+         _LT_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10429
 
+         _LT_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
10430
 
+         _LT_TAGVAR(hardcode_direct, $1)=no
10431
 
+        ;;
10432
 
+       motorola)
10433
 
+         _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10434
 
+         _LT_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
10435
 
+       ;;
10436
 
+      esac
10437
 
+      runpath_var='LD_RUN_PATH'
10438
 
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
10439
 
+      ;;
10440
 
 
10441
 
-# Object file suffix (normally "o").
10442
 
-objext="$ac_objext"
10443
 
+    sysv4.3*)
10444
 
+      _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10445
 
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
10446
 
+      _LT_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
10447
 
+      ;;
10448
 
 
10449
 
-# Old archive suffix (normally "a").
10450
 
-libext="$libext"
10451
 
+    sysv4*MP*)
10452
 
+      if test -d /usr/nec; then
10453
 
+       _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10454
 
+       _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
10455
 
+       runpath_var=LD_RUN_PATH
10456
 
+       hardcode_runpath_var=yes
10457
 
+       _LT_TAGVAR(ld_shlibs, $1)=yes
10458
 
+      fi
10459
 
+      ;;
10460
 
 
10461
 
-# Shared library suffix (normally ".so").
10462
 
-shrext_cmds='$shrext_cmds'
10463
 
+    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
10464
 
+      _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
10465
 
+      _LT_TAGVAR(archive_cmds_need_lc, $1)=no
10466
 
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
10467
 
+      runpath_var='LD_RUN_PATH'
10468
 
 
10469
 
-# Executable file suffix (normally "").
10470
 
-exeext="$exeext"
10471
 
+      if test "$GCC" = yes; then
10472
 
+       _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10473
 
+       _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10474
 
+      else
10475
 
+       _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10476
 
+       _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10477
 
+      fi
10478
 
+      ;;
10479
 
 
10480
 
-# Additional compiler flags for building library objects.
10481
 
-pic_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)
10482
 
-pic_mode=$pic_mode
10483
 
+    sysv5* | sco3.2v5* | sco5v6*)
10484
 
+      # Note: We can NOT use -z defs as we might desire, because we do not
10485
 
+      # link with -lc, and that would cause any symbols used from libc to
10486
 
+      # always be unresolved, which means just about no library would
10487
 
+      # ever link correctly.  If we're not using GNU ld we use -z text
10488
 
+      # though, which does catch some bad symbols but isn't as heavy-handed
10489
 
+      # as -z defs.
10490
 
+      _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
10491
 
+      _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
10492
 
+      _LT_TAGVAR(archive_cmds_need_lc, $1)=no
10493
 
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
10494
 
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir'
10495
 
+      _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
10496
 
+      _LT_TAGVAR(link_all_deplibs, $1)=yes
10497
 
+      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
10498
 
+      runpath_var='LD_RUN_PATH'
10499
 
 
10500
 
-# What is the maximum length of a command?
10501
 
-max_cmd_len=$lt_cv_sys_max_cmd_len
10502
 
+      if test "$GCC" = yes; then
10503
 
+       _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10504
 
+       _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10505
 
+      else
10506
 
+       _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10507
 
+       _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10508
 
+      fi
10509
 
+      ;;
10510
 
 
10511
 
-# Does compiler simultaneously support -c and -o options?
10512
 
-compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)
10513
 
+    uts4*)
10514
 
+      _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10515
 
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
10516
 
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
10517
 
+      ;;
10518
 
 
10519
 
-# Must we lock files when doing compilation?
10520
 
-need_locks=$lt_need_locks
10521
 
+    *)
10522
 
+      _LT_TAGVAR(ld_shlibs, $1)=no
10523
 
+      ;;
10524
 
+    esac
10525
 
 
10526
 
-# Do we need the lib prefix for modules?
10527
 
-need_lib_prefix=$need_lib_prefix
10528
 
+    if test x$host_vendor = xsni; then
10529
 
+      case $host in
10530
 
+      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10531
 
+       _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Blargedynsym'
10532
 
+       ;;
10533
 
+      esac
10534
 
+    fi
10535
 
+  fi
10536
 
+])
10537
 
+AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
10538
 
+test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
10539
 
 
10540
 
-# Do we need a version for libraries?
10541
 
-need_version=$need_version
10542
 
+_LT_TAGVAR(with_gnu_ld, $1)=$with_gnu_ld
10543
 
 
10544
 
-# Whether dlopen is supported.
10545
 
-dlopen_support=$enable_dlopen
10546
 
+_LT_DECL([], [libext], [0], [Old archive suffix (normally "a")])dnl
10547
 
+_LT_DECL([], [shrext_cmds], [1], [Shared library suffix (normally ".so")])dnl
10548
 
+_LT_DECL([], [extract_expsyms_cmds], [2],
10549
 
+    [The commands to extract the exported symbol list from a shared archive])
10550
 
 
10551
 
-# Whether dlopen of programs is supported.
10552
 
-dlopen_self=$enable_dlopen_self
10553
 
+#
10554
 
+# Do we need to explicitly link libc?
10555
 
+#
10556
 
+case "x$_LT_TAGVAR(archive_cmds_need_lc, $1)" in
10557
 
+x|xyes)
10558
 
+  # Assume -lc should be added
10559
 
+  _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
10560
 
 
10561
 
-# Whether dlopen of statically linked programs is supported.
10562
 
-dlopen_self_static=$enable_dlopen_self_static
10563
 
+  if test "$enable_shared" = yes && test "$GCC" = yes; then
10564
 
+    case $_LT_TAGVAR(archive_cmds, $1) in
10565
 
+    *'~'*)
10566
 
+      # FIXME: we may have to deal with multi-command sequences.
10567
 
+      ;;
10568
 
+    '$CC '*)
10569
 
+      # Test whether the compiler implicitly links with -lc since on some
10570
 
+      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10571
 
+      # to ld, don't add -lc before -lgcc.
10572
 
+      AC_MSG_CHECKING([whether -lc should be explicitly linked in])
10573
 
+      $RM conftest*
10574
 
+      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10575
 
 
10576
 
-# Compiler flag to prevent dynamic linking.
10577
 
-link_static_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_static, $1)
10578
 
+      if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
10579
 
+        soname=conftest
10580
 
+        lib=conftest
10581
 
+        libobjs=conftest.$ac_objext
10582
 
+        deplibs=
10583
 
+        wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1)
10584
 
+       pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1)
10585
 
+        compiler_flags=-v
10586
 
+        linker_flags=-v
10587
 
+        verstring=
10588
 
+        output_objdir=.
10589
 
+        libname=conftest
10590
 
+        lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1)
10591
 
+        _LT_TAGVAR(allow_undefined_flag, $1)=
10592
 
+        if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1)
10593
 
+        then
10594
 
+         _LT_TAGVAR(archive_cmds_need_lc, $1)=no
10595
 
+        else
10596
 
+         _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
10597
 
+        fi
10598
 
+        _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
10599
 
+      else
10600
 
+        cat conftest.err 1>&5
10601
 
+      fi
10602
 
+      $RM conftest*
10603
 
+      AC_MSG_RESULT([$_LT_TAGVAR(archive_cmds_need_lc, $1)])
10604
 
+      ;;
10605
 
+    esac
10606
 
+  fi
10607
 
+  ;;
10608
 
+esac
10609
 
 
10610
 
-# Compiler flag to turn off builtin functions.
10611
 
-no_builtin_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)
10612
 
+_LT_TAGDECL([build_libtool_need_lc], [archive_cmds_need_lc], [0],
10613
 
+    [Whether or not to add -lc for building shared libraries])
10614
 
+_LT_TAGDECL([allow_libtool_libs_with_static_runtimes],
10615
 
+    [enable_shared_with_static_runtimes], [0],
10616
 
+    [Whether or not to disallow shared libs when runtime libs are static])
10617
 
+_LT_TAGDECL([], [export_dynamic_flag_spec], [1],
10618
 
+    [Compiler flag to allow reflexive dlopens])
10619
 
+_LT_TAGDECL([], [whole_archive_flag_spec], [1],
10620
 
+    [Compiler flag to generate shared objects directly from archives])
10621
 
+_LT_TAGDECL([], [compiler_needs_object], [1],
10622
 
+    [Whether the compiler copes with passing no objects directly])
10623
 
+_LT_TAGDECL([], [old_archive_from_new_cmds], [2],
10624
 
+    [Create an old-style archive from a shared archive])
10625
 
+_LT_TAGDECL([], [old_archive_from_expsyms_cmds], [2],
10626
 
+    [Create a temporary old-style archive to link instead of a shared archive])
10627
 
+_LT_TAGDECL([], [archive_cmds], [2], [Commands used to build a shared archive])
10628
 
+_LT_TAGDECL([], [archive_expsym_cmds], [2])
10629
 
+_LT_TAGDECL([], [module_cmds], [2],
10630
 
+    [Commands used to build a loadable module if different from building
10631
 
+    a shared archive.])
10632
 
+_LT_TAGDECL([], [module_expsym_cmds], [2])
10633
 
+_LT_TAGDECL([], [with_gnu_ld], [1],
10634
 
+    [Whether we are building with GNU ld or not])
10635
 
+_LT_TAGDECL([], [allow_undefined_flag], [1],
10636
 
+    [Flag that allows shared libraries with undefined symbols to be built])
10637
 
+_LT_TAGDECL([], [no_undefined_flag], [1],
10638
 
+    [Flag that enforces no undefined symbols])
10639
 
+_LT_TAGDECL([], [hardcode_libdir_flag_spec], [1],
10640
 
+    [Flag to hardcode $libdir into a binary during linking.
10641
 
+    This must work even if $libdir does not exist])
10642
 
+_LT_TAGDECL([], [hardcode_libdir_flag_spec_ld], [1],
10643
 
+    [[If ld is used when linking, flag to hardcode $libdir into a binary
10644
 
+    during linking.  This must work even if $libdir does not exist]])
10645
 
+_LT_TAGDECL([], [hardcode_libdir_separator], [1],
10646
 
+    [Whether we need a single "-rpath" flag with a separated argument])
10647
 
+_LT_TAGDECL([], [hardcode_direct], [0],
10648
 
+    [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
10649
 
+    DIR into the resulting binary])
10650
 
+_LT_TAGDECL([], [hardcode_direct_absolute], [0],
10651
 
+    [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
10652
 
+    DIR into the resulting binary and the resulting library dependency is
10653
 
+    "absolute", i.e impossible to change by setting ${shlibpath_var} if the
10654
 
+    library is relocated])
10655
 
+_LT_TAGDECL([], [hardcode_minus_L], [0],
10656
 
+    [Set to "yes" if using the -LDIR flag during linking hardcodes DIR
10657
 
+    into the resulting binary])
10658
 
+_LT_TAGDECL([], [hardcode_shlibpath_var], [0],
10659
 
+    [Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
10660
 
+    into the resulting binary])
10661
 
+_LT_TAGDECL([], [hardcode_automatic], [0],
10662
 
+    [Set to "yes" if building a shared library automatically hardcodes DIR
10663
 
+    into the library and all subsequent libraries and executables linked
10664
 
+    against it])
10665
 
+_LT_TAGDECL([], [inherit_rpath], [0],
10666
 
+    [Set to yes if linker adds runtime paths of dependent libraries
10667
 
+    to runtime path list])
10668
 
+_LT_TAGDECL([], [link_all_deplibs], [0],
10669
 
+    [Whether libtool must link a program against all its dependency libraries])
10670
 
+_LT_TAGDECL([], [fix_srcfile_path], [1],
10671
 
+    [Fix the shell variable $srcfile for the compiler])
10672
 
+_LT_TAGDECL([], [always_export_symbols], [0],
10673
 
+    [Set to "yes" if exported symbols are required])
10674
 
+_LT_TAGDECL([], [export_symbols_cmds], [2],
10675
 
+    [The commands to list exported symbols])
10676
 
+_LT_TAGDECL([], [exclude_expsyms], [1],
10677
 
+    [Symbols that should not be listed in the preloaded symbols])
10678
 
+_LT_TAGDECL([], [include_expsyms], [1],
10679
 
+    [Symbols that must always be exported])
10680
 
+_LT_TAGDECL([], [prelink_cmds], [2],
10681
 
+    [Commands necessary for linking programs (against libraries) with templates])
10682
 
+_LT_TAGDECL([], [file_list_spec], [1],
10683
 
+    [Specify filename containing input files])
10684
 
+dnl FIXME: Not yet implemented
10685
 
+dnl _LT_TAGDECL([], [thread_safe_flag_spec], [1],
10686
 
+dnl    [Compiler flag to generate thread safe objects])
10687
 
+])# _LT_LINKER_SHLIBS
10688
 
 
10689
 
-# Compiler flag to allow reflexive dlopens.
10690
 
-export_dynamic_flag_spec=$lt_[]_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)
10691
 
 
10692
 
-# Compiler flag to generate shared objects directly from archives.
10693
 
-whole_archive_flag_spec=$lt_[]_LT_AC_TAGVAR(whole_archive_flag_spec, $1)
10694
 
+# _LT_LANG_C_CONFIG([TAG])
10695
 
+# ------------------------
10696
 
+# Ensure that the configuration variables for a C compiler are suitably
10697
 
+# defined.  These variables are subsequently used by _LT_CONFIG to write
10698
 
+# the compiler configuration to `libtool'.
10699
 
+m4_defun([_LT_LANG_C_CONFIG],
10700
 
+[m4_require([_LT_DECL_EGREP])dnl
10701
 
+lt_save_CC="$CC"
10702
 
+AC_LANG_PUSH(C)
10703
 
 
10704
 
-# Compiler flag to generate thread-safe objects.
10705
 
-thread_safe_flag_spec=$lt_[]_LT_AC_TAGVAR(thread_safe_flag_spec, $1)
10706
 
+# Source file extension for C test sources.
10707
 
+ac_ext=c
10708
 
 
10709
 
-# Library versioning type.
10710
 
-version_type=$version_type
10711
 
+# Object file extension for compiled C test sources.
10712
 
+objext=o
10713
 
+_LT_TAGVAR(objext, $1)=$objext
10714
 
 
10715
 
-# Format of library name prefix.
10716
 
-libname_spec=$lt_libname_spec
10717
 
+# Code to be used in simple compile tests
10718
 
+lt_simple_compile_test_code="int some_variable = 0;"
10719
 
 
10720
 
-# List of archive names.  First name is the real one, the rest are links.
10721
 
-# The last name is the one that the linker finds with -lNAME.
10722
 
-library_names_spec=$lt_library_names_spec
10723
 
+# Code to be used in simple link tests
10724
 
+lt_simple_link_test_code='int main(){return(0);}'
10725
 
 
10726
 
-# The coded name of the library, if different from the real name.
10727
 
-soname_spec=$lt_soname_spec
10728
 
+_LT_TAG_COMPILER
10729
 
+# Save the default compiler, since it gets overwritten when the other
10730
 
+# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
10731
 
+compiler_DEFAULT=$CC
10732
 
 
10733
 
-# Commands used to build and install an old-style archive.
10734
 
-RANLIB=$lt_RANLIB
10735
 
-old_archive_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_cmds, $1)
10736
 
-old_postinstall_cmds=$lt_old_postinstall_cmds
10737
 
-old_postuninstall_cmds=$lt_old_postuninstall_cmds
10738
 
+# save warnings/boilerplate of simple test code
10739
 
+_LT_COMPILER_BOILERPLATE
10740
 
+_LT_LINKER_BOILERPLATE
10741
 
 
10742
 
-# Create an old-style archive from a shared archive.
10743
 
-old_archive_from_new_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_new_cmds, $1)
10744
 
+if test -n "$compiler"; then
10745
 
+  _LT_COMPILER_NO_RTTI($1)
10746
 
+  _LT_COMPILER_PIC($1)
10747
 
+  _LT_COMPILER_C_O($1)
10748
 
+  _LT_COMPILER_FILE_LOCKS($1)
10749
 
+  _LT_LINKER_SHLIBS($1)
10750
 
+  _LT_SYS_DYNAMIC_LINKER($1)
10751
 
+  _LT_LINKER_HARDCODE_LIBPATH($1)
10752
 
+  LT_SYS_DLOPEN_SELF
10753
 
+  _LT_CMD_STRIPLIB
10754
 
+
10755
 
+  # Report which library types will actually be built
10756
 
+  AC_MSG_CHECKING([if libtool supports shared libraries])
10757
 
+  AC_MSG_RESULT([$can_build_shared])
10758
 
 
10759
 
-# Create a temporary old-style archive to link instead of a shared archive.
10760
 
-old_archive_from_expsyms_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)
10761
 
+  AC_MSG_CHECKING([whether to build shared libraries])
10762
 
+  test "$can_build_shared" = "no" && enable_shared=no
10763
 
 
10764
 
-# Commands used to build and install a shared archive.
10765
 
-archive_cmds=$lt_[]_LT_AC_TAGVAR(archive_cmds, $1)
10766
 
-archive_expsym_cmds=$lt_[]_LT_AC_TAGVAR(archive_expsym_cmds, $1)
10767
 
-postinstall_cmds=$lt_postinstall_cmds
10768
 
-postuninstall_cmds=$lt_postuninstall_cmds
10769
 
+  # On AIX, shared libraries and static libraries use the same namespace, and
10770
 
+  # are all built from PIC.
10771
 
+  case $host_os in
10772
 
+  aix3*)
10773
 
+    test "$enable_shared" = yes && enable_static=no
10774
 
+    if test -n "$RANLIB"; then
10775
 
+      archive_cmds="$archive_cmds~\$RANLIB \$lib"
10776
 
+      postinstall_cmds='$RANLIB $lib'
10777
 
+    fi
10778
 
+    ;;
10779
 
 
10780
 
-# Commands used to build a loadable module (assumed same as above if empty)
10781
 
-module_cmds=$lt_[]_LT_AC_TAGVAR(module_cmds, $1)
10782
 
-module_expsym_cmds=$lt_[]_LT_AC_TAGVAR(module_expsym_cmds, $1)
10783
 
+  aix[[4-9]]*)
10784
 
+    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10785
 
+      test "$enable_shared" = yes && enable_static=no
10786
 
+    fi
10787
 
+    ;;
10788
 
+  esac
10789
 
+  AC_MSG_RESULT([$enable_shared])
10790
 
 
10791
 
-# Commands to strip libraries.
10792
 
-old_striplib=$lt_old_striplib
10793
 
-striplib=$lt_striplib
10794
 
+  AC_MSG_CHECKING([whether to build static libraries])
10795
 
+  # Make sure either enable_shared or enable_static is yes.
10796
 
+  test "$enable_shared" = yes || enable_static=yes
10797
 
+  AC_MSG_RESULT([$enable_static])
10798
 
 
10799
 
-# Dependencies to place before the objects being linked to create a
10800
 
-# shared library.
10801
 
-predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1)
10802
 
+  _LT_CONFIG($1)
10803
 
+fi
10804
 
+AC_LANG_POP
10805
 
+CC="$lt_save_CC"
10806
 
+])# _LT_LANG_C_CONFIG
10807
 
 
10808
 
-# Dependencies to place after the objects being linked to create a
10809
 
-# shared library.
10810
 
-postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1)
10811
 
 
10812
 
-# Dependencies to place before the objects being linked to create a
10813
 
-# shared library.
10814
 
-predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1)
10815
 
+# _LT_PROG_CXX
10816
 
+# ------------
10817
 
+# Since AC_PROG_CXX is broken, in that it returns g++ if there is no c++
10818
 
+# compiler, we have our own version here.
10819
 
+m4_defun([_LT_PROG_CXX],
10820
 
+[
10821
 
+pushdef([AC_MSG_ERROR], [_lt_caught_CXX_error=yes])
10822
 
+AC_PROG_CXX
10823
 
+if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10824
 
+    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
10825
 
+    (test "X$CXX" != "Xg++"))) ; then
10826
 
+  AC_PROG_CXXCPP
10827
 
+else
10828
 
+  _lt_caught_CXX_error=yes
10829
 
+fi
10830
 
+popdef([AC_MSG_ERROR])
10831
 
+])# _LT_PROG_CXX
10832
 
 
10833
 
-# Dependencies to place after the objects being linked to create a
10834
 
-# shared library.
10835
 
-postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1)
10836
 
+dnl aclocal-1.4 backwards compatibility:
10837
 
+dnl AC_DEFUN([_LT_PROG_CXX], [])
10838
 
 
10839
 
-# The directories searched by this compiler when creating a shared
10840
 
-# library
10841
 
-compiler_lib_search_dirs=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_dirs, $1)
10842
 
 
10843
 
-# The library search path used internally by the compiler when linking
10844
 
-# a shared library.
10845
 
-compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1)
10846
 
+# _LT_LANG_CXX_CONFIG([TAG])
10847
 
+# --------------------------
10848
 
+# Ensure that the configuration variables for a C++ compiler are suitably
10849
 
+# defined.  These variables are subsequently used by _LT_CONFIG to write
10850
 
+# the compiler configuration to `libtool'.
10851
 
+m4_defun([_LT_LANG_CXX_CONFIG],
10852
 
+[AC_REQUIRE([_LT_PROG_CXX])dnl
10853
 
+m4_require([_LT_FILEUTILS_DEFAULTS])dnl
10854
 
+m4_require([_LT_DECL_EGREP])dnl
10855
 
+
10856
 
+AC_LANG_PUSH(C++)
10857
 
+_LT_TAGVAR(archive_cmds_need_lc, $1)=no
10858
 
+_LT_TAGVAR(allow_undefined_flag, $1)=
10859
 
+_LT_TAGVAR(always_export_symbols, $1)=no
10860
 
+_LT_TAGVAR(archive_expsym_cmds, $1)=
10861
 
+_LT_TAGVAR(compiler_needs_object, $1)=no
10862
 
+_LT_TAGVAR(export_dynamic_flag_spec, $1)=
10863
 
+_LT_TAGVAR(hardcode_direct, $1)=no
10864
 
+_LT_TAGVAR(hardcode_direct_absolute, $1)=no
10865
 
+_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
10866
 
+_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
10867
 
+_LT_TAGVAR(hardcode_libdir_separator, $1)=
10868
 
+_LT_TAGVAR(hardcode_minus_L, $1)=no
10869
 
+_LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
10870
 
+_LT_TAGVAR(hardcode_automatic, $1)=no
10871
 
+_LT_TAGVAR(inherit_rpath, $1)=no
10872
 
+_LT_TAGVAR(module_cmds, $1)=
10873
 
+_LT_TAGVAR(module_expsym_cmds, $1)=
10874
 
+_LT_TAGVAR(link_all_deplibs, $1)=unknown
10875
 
+_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
10876
 
+_LT_TAGVAR(no_undefined_flag, $1)=
10877
 
+_LT_TAGVAR(whole_archive_flag_spec, $1)=
10878
 
+_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
10879
 
 
10880
 
-# Method to check whether dependent libraries are shared objects.
10881
 
-deplibs_check_method=$lt_deplibs_check_method
10882
 
+# Source file extension for C++ test sources.
10883
 
+ac_ext=cpp
10884
 
 
10885
 
-# Command to use when deplibs_check_method == file_magic.
10886
 
-file_magic_cmd=$lt_file_magic_cmd
10887
 
+# Object file extension for compiled C++ test sources.
10888
 
+objext=o
10889
 
+_LT_TAGVAR(objext, $1)=$objext
10890
 
 
10891
 
-# Flag that allows shared libraries with undefined symbols to be built.
10892
 
-allow_undefined_flag=$lt_[]_LT_AC_TAGVAR(allow_undefined_flag, $1)
10893
 
+# No sense in running all these tests if we already determined that
10894
 
+# the CXX compiler isn't working.  Some variables (like enable_shared)
10895
 
+# are currently assumed to apply to all compilers on this platform,
10896
 
+# and will be corrupted by setting them based on a non-working compiler.
10897
 
+if test "$_lt_caught_CXX_error" != yes; then
10898
 
+  # Code to be used in simple compile tests
10899
 
+  lt_simple_compile_test_code="int some_variable = 0;"
10900
 
+
10901
 
+  # Code to be used in simple link tests
10902
 
+  lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }'
10903
 
+
10904
 
+  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10905
 
+  _LT_TAG_COMPILER
10906
 
+
10907
 
+  # save warnings/boilerplate of simple test code
10908
 
+  _LT_COMPILER_BOILERPLATE
10909
 
+  _LT_LINKER_BOILERPLATE
10910
 
+
10911
 
+  # Allow CC to be a program name with arguments.
10912
 
+  lt_save_CC=$CC
10913
 
+  lt_save_LD=$LD
10914
 
+  lt_save_GCC=$GCC
10915
 
+  GCC=$GXX
10916
 
+  lt_save_with_gnu_ld=$with_gnu_ld
10917
 
+  lt_save_path_LD=$lt_cv_path_LD
10918
 
+  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10919
 
+    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
10920
 
+  else
10921
 
+    $as_unset lt_cv_prog_gnu_ld
10922
 
+  fi
10923
 
+  if test -n "${lt_cv_path_LDCXX+set}"; then
10924
 
+    lt_cv_path_LD=$lt_cv_path_LDCXX
10925
 
+  else
10926
 
+    $as_unset lt_cv_path_LD
10927
 
+  fi
10928
 
+  test -z "${LDCXX+set}" || LD=$LDCXX
10929
 
+  CC=${CXX-"c++"}
10930
 
+  compiler=$CC
10931
 
+  _LT_TAGVAR(compiler, $1)=$CC
10932
 
+  _LT_CC_BASENAME([$compiler])
10933
 
 
10934
 
-# Flag that forces no undefined symbols.
10935
 
-no_undefined_flag=$lt_[]_LT_AC_TAGVAR(no_undefined_flag, $1)
10936
 
+  if test -n "$compiler"; then
10937
 
+    # We don't want -fno-exception when compiling C++ code, so set the
10938
 
+    # no_builtin_flag separately
10939
 
+    if test "$GXX" = yes; then
10940
 
+      _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
10941
 
+    else
10942
 
+      _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
10943
 
+    fi
10944
 
 
10945
 
-# Commands used to finish a libtool library installation in a directory.
10946
 
-finish_cmds=$lt_finish_cmds
10947
 
+    if test "$GXX" = yes; then
10948
 
+      # Set up default GNU C++ configuration
10949
 
 
10950
 
-# Same as above, but a single script fragment to be evaled but not shown.
10951
 
-finish_eval=$lt_finish_eval
10952
 
+      LT_PATH_LD
10953
 
 
10954
 
-# Take the output of nm and produce a listing of raw symbols and C names.
10955
 
-global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10956
 
+      # Check if GNU C++ uses GNU ld as the underlying linker, since the
10957
 
+      # archiving commands below assume that GNU ld is being used.
10958
 
+      if test "$with_gnu_ld" = yes; then
10959
 
+        _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10960
 
+        _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'
10961
 
+
10962
 
+        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
10963
 
+        _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
10964
 
+
10965
 
+        # If archive_cmds runs LD, not CC, wlarc should be empty
10966
 
+        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
10967
 
+        #     investigate it a little bit more. (MM)
10968
 
+        wlarc='${wl}'
10969
 
+
10970
 
+        # ancient GNU ld didn't support --whole-archive et. al.
10971
 
+        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
10972
 
+         $GREP 'no-whole-archive' > /dev/null; then
10973
 
+          _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10974
 
+        else
10975
 
+          _LT_TAGVAR(whole_archive_flag_spec, $1)=
10976
 
+        fi
10977
 
+      else
10978
 
+        with_gnu_ld=no
10979
 
+        wlarc=
10980
 
 
10981
 
-# Transform the output of nm in a proper C declaration
10982
 
-global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10983
 
+        # A generic and very simple default shared library creation
10984
 
+        # command for GNU C++ for the case where it uses the native
10985
 
+        # linker, instead of GNU ld.  If possible, this setting should
10986
 
+        # overridden to take advantage of the native linker features on
10987
 
+        # the platform it is being used on.
10988
 
+        _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10989
 
+      fi
10990
 
 
10991
 
-# Transform the output of nm in a C name address pair
10992
 
-global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10993
 
+      # Commands to make compiler produce verbose output that lists
10994
 
+      # what "hidden" libraries, object files and flags are used when
10995
 
+      # linking a shared library.
10996
 
+      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
10997
 
 
10998
 
-# This is the shared library runtime path variable.
10999
 
-runpath_var=$runpath_var
11000
 
+    else
11001
 
+      GXX=no
11002
 
+      with_gnu_ld=no
11003
 
+      wlarc=
11004
 
+    fi
11005
 
 
11006
 
-# This is the shared library path variable.
11007
 
-shlibpath_var=$shlibpath_var
11008
 
+    # PORTME: fill in a description of your system's C++ link characteristics
11009
 
+    AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
11010
 
+    _LT_TAGVAR(ld_shlibs, $1)=yes
11011
 
+    case $host_os in
11012
 
+      aix3*)
11013
 
+        # FIXME: insert proper C++ library support
11014
 
+        _LT_TAGVAR(ld_shlibs, $1)=no
11015
 
+        ;;
11016
 
+      aix[[4-9]]*)
11017
 
+        if test "$host_cpu" = ia64; then
11018
 
+          # On IA64, the linker does run time linking by default, so we don't
11019
 
+          # have to do anything special.
11020
 
+          aix_use_runtimelinking=no
11021
 
+          exp_sym_flag='-Bexport'
11022
 
+          no_entry_flag=""
11023
 
+        else
11024
 
+          aix_use_runtimelinking=no
11025
 
 
11026
 
-# Is shlibpath searched before the hard-coded library search path?
11027
 
-shlibpath_overrides_runpath=$shlibpath_overrides_runpath
11028
 
+          # Test if we are trying to use run time linking or normal
11029
 
+          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11030
 
+          # need to do runtime linking.
11031
 
+          case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
11032
 
+           for ld_flag in $LDFLAGS; do
11033
 
+             case $ld_flag in
11034
 
+             *-brtl*)
11035
 
+               aix_use_runtimelinking=yes
11036
 
+               break
11037
 
+               ;;
11038
 
+             esac
11039
 
+           done
11040
 
+           ;;
11041
 
+          esac
11042
 
 
11043
 
-# How to hardcode a shared library path into an executable.
11044
 
-hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1)
11045
 
+          exp_sym_flag='-bexport'
11046
 
+          no_entry_flag='-bnoentry'
11047
 
+        fi
11048
 
 
11049
 
-# Whether we should hardcode library paths into libraries.
11050
 
-hardcode_into_libs=$hardcode_into_libs
11051
 
+        # When large executables or shared objects are built, AIX ld can
11052
 
+        # have problems creating the table of contents.  If linking a library
11053
 
+        # or program results in "error TOC overflow" add -mminimal-toc to
11054
 
+        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
11055
 
+        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11056
 
+
11057
 
+        _LT_TAGVAR(archive_cmds, $1)=''
11058
 
+        _LT_TAGVAR(hardcode_direct, $1)=yes
11059
 
+        _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
11060
 
+        _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
11061
 
+        _LT_TAGVAR(link_all_deplibs, $1)=yes
11062
 
+        _LT_TAGVAR(file_list_spec, $1)='${wl}-f,'
11063
 
+
11064
 
+        if test "$GXX" = yes; then
11065
 
+          case $host_os in aix4.[[012]]|aix4.[[012]].*)
11066
 
+          # We only want to do this on AIX 4.2 and lower, the check
11067
 
+          # below for broken collect2 doesn't work under 4.3+
11068
 
+         collect2name=`${CC} -print-prog-name=collect2`
11069
 
+         if test -f "$collect2name" &&
11070
 
+            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11071
 
+         then
11072
 
+           # We have reworked collect2
11073
 
+           :
11074
 
+         else
11075
 
+           # We have old collect2
11076
 
+           _LT_TAGVAR(hardcode_direct, $1)=unsupported
11077
 
+           # It fails to find uninstalled libraries when the uninstalled
11078
 
+           # path is not listed in the libpath.  Setting hardcode_minus_L
11079
 
+           # to unsupported forces relinking
11080
 
+           _LT_TAGVAR(hardcode_minus_L, $1)=yes
11081
 
+           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
11082
 
+           _LT_TAGVAR(hardcode_libdir_separator, $1)=
11083
 
+         fi
11084
 
+          esac
11085
 
+          shared_flag='-shared'
11086
 
+         if test "$aix_use_runtimelinking" = yes; then
11087
 
+           shared_flag="$shared_flag "'${wl}-G'
11088
 
+         fi
11089
 
+        else
11090
 
+          # not using gcc
11091
 
+          if test "$host_cpu" = ia64; then
11092
 
+         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11093
 
+         # chokes on -Wl,-G. The following line is correct:
11094
 
+         shared_flag='-G'
11095
 
+          else
11096
 
+           if test "$aix_use_runtimelinking" = yes; then
11097
 
+             shared_flag='${wl}-G'
11098
 
+           else
11099
 
+             shared_flag='${wl}-bM:SRE'
11100
 
+           fi
11101
 
+          fi
11102
 
+        fi
11103
 
 
11104
 
-# Flag to hardcode \$libdir into a binary during linking.
11105
 
-# This must work even if \$libdir does not exist.
11106
 
-hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)
11107
 
+        _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
11108
 
+        # It seems that -bexpall does not export symbols beginning with
11109
 
+        # underscore (_), so it is better to generate a list of symbols to
11110
 
+       # export.
11111
 
+        _LT_TAGVAR(always_export_symbols, $1)=yes
11112
 
+        if test "$aix_use_runtimelinking" = yes; then
11113
 
+          # Warning - without using the other runtime loading flags (-brtl),
11114
 
+          # -berok will link without error, but may produce a broken library.
11115
 
+          _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
11116
 
+          # Determine the default libpath from the value encoded in an empty
11117
 
+          # executable.
11118
 
+          _LT_SYS_MODULE_PATH_AIX
11119
 
+          _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
11120
 
 
11121
 
-# If ld is used when linking, flag to hardcode \$libdir into
11122
 
-# a binary during linking. This must work even if \$libdir does
11123
 
-# not exist.
11124
 
-hardcode_libdir_flag_spec_ld=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)
11125
 
+          _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"
11126
 
+        else
11127
 
+          if test "$host_cpu" = ia64; then
11128
 
+           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
11129
 
+           _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
11130
 
+           _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"
11131
 
+          else
11132
 
+           # Determine the default libpath from the value encoded in an
11133
 
+           # empty executable.
11134
 
+           _LT_SYS_MODULE_PATH_AIX
11135
 
+           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
11136
 
+           # Warning - without using the other run time loading flags,
11137
 
+           # -berok will link without error, but may produce a broken library.
11138
 
+           _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
11139
 
+           _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
11140
 
+           # Exported symbols can be pulled into shared objects from archives
11141
 
+           _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
11142
 
+           _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
11143
 
+           # This is similar to how AIX traditionally builds its shared
11144
 
+           # libraries.
11145
 
+           _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'
11146
 
+          fi
11147
 
+        fi
11148
 
+        ;;
11149
 
 
11150
 
-# Whether we need a single -rpath flag with a separated argument.
11151
 
-hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1)
11152
 
+      beos*)
11153
 
+       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11154
 
+         _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
11155
 
+         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11156
 
+         # support --undefined.  This deserves some investigation.  FIXME
11157
 
+         _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11158
 
+       else
11159
 
+         _LT_TAGVAR(ld_shlibs, $1)=no
11160
 
+       fi
11161
 
+       ;;
11162
 
 
11163
 
-# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
11164
 
-# resulting binary.
11165
 
-hardcode_direct=$_LT_AC_TAGVAR(hardcode_direct, $1)
11166
 
+      chorus*)
11167
 
+        case $cc_basename in
11168
 
+          *)
11169
 
+         # FIXME: insert proper C++ library support
11170
 
+         _LT_TAGVAR(ld_shlibs, $1)=no
11171
 
+         ;;
11172
 
+        esac
11173
 
+        ;;
11174
 
 
11175
 
-# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
11176
 
-# resulting binary.
11177
 
-hardcode_minus_L=$_LT_AC_TAGVAR(hardcode_minus_L, $1)
11178
 
+      cygwin* | mingw* | pw32* | cegcc*)
11179
 
+        # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
11180
 
+        # as there is no search path for DLLs.
11181
 
+        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
11182
 
+        _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
11183
 
+        _LT_TAGVAR(always_export_symbols, $1)=no
11184
 
+        _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
11185
 
+
11186
 
+        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11187
 
+          _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'
11188
 
+          # If the export-symbols file already is a .def file (1st line
11189
 
+          # is EXPORTS), use it as is; otherwise, prepend...
11190
 
+          _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11191
 
+           cp $export_symbols $output_objdir/$soname.def;
11192
 
+          else
11193
 
+           echo EXPORTS > $output_objdir/$soname.def;
11194
 
+           cat $export_symbols >> $output_objdir/$soname.def;
11195
 
+          fi~
11196
 
+          $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'
11197
 
+        else
11198
 
+          _LT_TAGVAR(ld_shlibs, $1)=no
11199
 
+        fi
11200
 
+        ;;
11201
 
+      darwin* | rhapsody*)
11202
 
+        _LT_DARWIN_LINKER_FEATURES($1)
11203
 
+       ;;
11204
 
 
11205
 
-# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
11206
 
-# the resulting binary.
11207
 
-hardcode_shlibpath_var=$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)
11208
 
+      dgux*)
11209
 
+        case $cc_basename in
11210
 
+          ec++*)
11211
 
+           # FIXME: insert proper C++ library support
11212
 
+           _LT_TAGVAR(ld_shlibs, $1)=no
11213
 
+           ;;
11214
 
+          ghcx*)
11215
 
+           # Green Hills C++ Compiler
11216
 
+           # FIXME: insert proper C++ library support
11217
 
+           _LT_TAGVAR(ld_shlibs, $1)=no
11218
 
+           ;;
11219
 
+          *)
11220
 
+           # FIXME: insert proper C++ library support
11221
 
+           _LT_TAGVAR(ld_shlibs, $1)=no
11222
 
+           ;;
11223
 
+        esac
11224
 
+        ;;
11225
 
 
11226
 
-# Set to yes if building a shared library automatically hardcodes DIR into the library
11227
 
-# and all subsequent libraries and executables linked against it.
11228
 
-hardcode_automatic=$_LT_AC_TAGVAR(hardcode_automatic, $1)
11229
 
+      freebsd[[12]]*)
11230
 
+        # C++ shared libraries reported to be fairly broken before
11231
 
+       # switch to ELF
11232
 
+        _LT_TAGVAR(ld_shlibs, $1)=no
11233
 
+        ;;
11234
 
 
11235
 
-# Variables whose values should be saved in libtool wrapper scripts and
11236
 
-# restored at relink time.
11237
 
-variables_saved_for_relink="$variables_saved_for_relink"
11238
 
+      freebsd-elf*)
11239
 
+        _LT_TAGVAR(archive_cmds_need_lc, $1)=no
11240
 
+        ;;
11241
 
 
11242
 
-# Whether libtool must link a program against all its dependency libraries.
11243
 
-link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1)
11244
 
+      freebsd* | dragonfly*)
11245
 
+        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11246
 
+        # conventions
11247
 
+        _LT_TAGVAR(ld_shlibs, $1)=yes
11248
 
+        ;;
11249
 
 
11250
 
-# Compile-time system search path for libraries
11251
 
-sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
11252
 
+      gnu*)
11253
 
+        ;;
11254
 
 
11255
 
-# Run-time system search path for libraries
11256
 
-sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
11257
 
+      hpux9*)
11258
 
+        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
11259
 
+        _LT_TAGVAR(hardcode_libdir_separator, $1)=:
11260
 
+        _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
11261
 
+        _LT_TAGVAR(hardcode_direct, $1)=yes
11262
 
+        _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
11263
 
+                                            # but as the default
11264
 
+                                            # location of the library.
11265
 
+
11266
 
+        case $cc_basename in
11267
 
+          CC*)
11268
 
+            # FIXME: insert proper C++ library support
11269
 
+            _LT_TAGVAR(ld_shlibs, $1)=no
11270
 
+            ;;
11271
 
+          aCC*)
11272
 
+            _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'
11273
 
+            # Commands to make compiler produce verbose output that lists
11274
 
+            # what "hidden" libraries, object files and flags are used when
11275
 
+            # linking a shared library.
11276
 
+            #
11277
 
+            # There doesn't appear to be a way to prevent this compiler from
11278
 
+            # explicitly linking system object files so we need to strip them
11279
 
+            # from the output so that they don't get included in the library
11280
 
+            # dependencies.
11281
 
+            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'
11282
 
+            ;;
11283
 
+          *)
11284
 
+            if test "$GXX" = yes; then
11285
 
+              _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'
11286
 
+            else
11287
 
+              # FIXME: insert proper C++ library support
11288
 
+              _LT_TAGVAR(ld_shlibs, $1)=no
11289
 
+            fi
11290
 
+            ;;
11291
 
+        esac
11292
 
+        ;;
11293
 
 
11294
 
-# Fix the shell variable \$srcfile for the compiler.
11295
 
-fix_srcfile_path=$lt_fix_srcfile_path
11296
 
+      hpux10*|hpux11*)
11297
 
+        if test $with_gnu_ld = no; then
11298
 
+         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
11299
 
+         _LT_TAGVAR(hardcode_libdir_separator, $1)=:
11300
 
+
11301
 
+          case $host_cpu in
11302
 
+            hppa*64*|ia64*)
11303
 
+              ;;
11304
 
+            *)
11305
 
+             _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
11306
 
+              ;;
11307
 
+          esac
11308
 
+        fi
11309
 
+        case $host_cpu in
11310
 
+          hppa*64*|ia64*)
11311
 
+            _LT_TAGVAR(hardcode_direct, $1)=no
11312
 
+            _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
11313
 
+            ;;
11314
 
+          *)
11315
 
+            _LT_TAGVAR(hardcode_direct, $1)=yes
11316
 
+            _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
11317
 
+            _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
11318
 
+                                                # but as the default
11319
 
+                                                # location of the library.
11320
 
+            ;;
11321
 
+        esac
11322
 
+
11323
 
+        case $cc_basename in
11324
 
+          CC*)
11325
 
+           # FIXME: insert proper C++ library support
11326
 
+           _LT_TAGVAR(ld_shlibs, $1)=no
11327
 
+           ;;
11328
 
+          aCC*)
11329
 
+           case $host_cpu in
11330
 
+             hppa*64*)
11331
 
+               _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11332
 
+               ;;
11333
 
+             ia64*)
11334
 
+               _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11335
 
+               ;;
11336
 
+             *)
11337
 
+               _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'
11338
 
+               ;;
11339
 
+           esac
11340
 
+           # Commands to make compiler produce verbose output that lists
11341
 
+           # what "hidden" libraries, object files and flags are used when
11342
 
+           # linking a shared library.
11343
 
+           #
11344
 
+           # There doesn't appear to be a way to prevent this compiler from
11345
 
+           # explicitly linking system object files so we need to strip them
11346
 
+           # from the output so that they don't get included in the library
11347
 
+           # dependencies.
11348
 
+           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'
11349
 
+           ;;
11350
 
+          *)
11351
 
+           if test "$GXX" = yes; then
11352
 
+             if test $with_gnu_ld = no; then
11353
 
+               case $host_cpu in
11354
 
+                 hppa*64*)
11355
 
+                   _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11356
 
+                   ;;
11357
 
+                 ia64*)
11358
 
+                   _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'
11359
 
+                   ;;
11360
 
+                 *)
11361
 
+                   _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'
11362
 
+                   ;;
11363
 
+               esac
11364
 
+             fi
11365
 
+           else
11366
 
+             # FIXME: insert proper C++ library support
11367
 
+             _LT_TAGVAR(ld_shlibs, $1)=no
11368
 
+           fi
11369
 
+           ;;
11370
 
+        esac
11371
 
+        ;;
11372
 
 
11373
 
-# Set to yes if exported symbols are required.
11374
 
-always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1)
11375
 
+      interix[[3-9]]*)
11376
 
+       _LT_TAGVAR(hardcode_direct, $1)=no
11377
 
+       _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
11378
 
+       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
11379
 
+       _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
11380
 
+       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11381
 
+       # Instead, shared libraries are loaded at an image base (0x10000000 by
11382
 
+       # default) and relocated if they conflict, which is a slow very memory
11383
 
+       # consuming and fragmenting process.  To avoid this, we pick a random,
11384
 
+       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11385
 
+       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
11386
 
+       _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'
11387
 
+       _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'
11388
 
+       ;;
11389
 
+      irix5* | irix6*)
11390
 
+        case $cc_basename in
11391
 
+          CC*)
11392
 
+           # SGI C++
11393
 
+           _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'
11394
 
+
11395
 
+           # Archives containing C++ object files must be created using
11396
 
+           # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
11397
 
+           # necessary to make sure instantiated templates are included
11398
 
+           # in the archive.
11399
 
+           _LT_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
11400
 
+           ;;
11401
 
+          *)
11402
 
+           if test "$GXX" = yes; then
11403
 
+             if test "$with_gnu_ld" = no; then
11404
 
+               _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'
11405
 
+             else
11406
 
+               _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'
11407
 
+             fi
11408
 
+           fi
11409
 
+           _LT_TAGVAR(link_all_deplibs, $1)=yes
11410
 
+           ;;
11411
 
+        esac
11412
 
+        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
11413
 
+        _LT_TAGVAR(hardcode_libdir_separator, $1)=:
11414
 
+        _LT_TAGVAR(inherit_rpath, $1)=yes
11415
 
+        ;;
11416
 
 
11417
 
-# The commands to list exported symbols.
11418
 
-export_symbols_cmds=$lt_[]_LT_AC_TAGVAR(export_symbols_cmds, $1)
11419
 
+      linux* | k*bsd*-gnu)
11420
 
+        case $cc_basename in
11421
 
+          KCC*)
11422
 
+           # Kuck and Associates, Inc. (KAI) C++ Compiler
11423
 
+
11424
 
+           # KCC will only create a shared library if the output file
11425
 
+           # ends with ".so" (or ".sl" for HP-UX), so rename the library
11426
 
+           # to its proper name (with version) after linking.
11427
 
+           _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'
11428
 
+           _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'
11429
 
+           # Commands to make compiler produce verbose output that lists
11430
 
+           # what "hidden" libraries, object files and flags are used when
11431
 
+           # linking a shared library.
11432
 
+           #
11433
 
+           # There doesn't appear to be a way to prevent this compiler from
11434
 
+           # explicitly linking system object files so we need to strip them
11435
 
+           # from the output so that they don't get included in the library
11436
 
+           # dependencies.
11437
 
+           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'
11438
 
+
11439
 
+           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
11440
 
+           _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
11441
 
+
11442
 
+           # Archives containing C++ object files must be created using
11443
 
+           # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11444
 
+           _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
11445
 
+           ;;
11446
 
+         icpc* | ecpc* )
11447
 
+           # Intel C++
11448
 
+           with_gnu_ld=yes
11449
 
+           # version 8.0 and above of icpc choke on multiply defined symbols
11450
 
+           # if we add $predep_objects and $postdep_objects, however 7.1 and
11451
 
+           # earlier do not add the objects themselves.
11452
 
+           case `$CC -V 2>&1` in
11453
 
+             *"Version 7."*)
11454
 
+               _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11455
 
+               _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'
11456
 
+               ;;
11457
 
+             *)  # Version 8.0 or newer
11458
 
+               tmp_idyn=
11459
 
+               case $host_cpu in
11460
 
+                 ia64*) tmp_idyn=' -i_dynamic';;
11461
 
+               esac
11462
 
+               _LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11463
 
+               _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'
11464
 
+               ;;
11465
 
+           esac
11466
 
+           _LT_TAGVAR(archive_cmds_need_lc, $1)=no
11467
 
+           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
11468
 
+           _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
11469
 
+           _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11470
 
+           ;;
11471
 
+          pgCC* | pgcpp*)
11472
 
+            # Portland Group C++ compiler
11473
 
+           case `$CC -V` in
11474
 
+           *pgCC\ [[1-5]]* | *pgcpp\ [[1-5]]*)
11475
 
+             _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~
11476
 
+               rm -rf $tpldir~
11477
 
+               $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
11478
 
+               compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
11479
 
+             _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~
11480
 
+               rm -rf $tpldir~
11481
 
+               $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
11482
 
+               $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
11483
 
+               $RANLIB $oldlib'
11484
 
+             _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~
11485
 
+               rm -rf $tpldir~
11486
 
+               $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
11487
 
+               $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11488
 
+             _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~
11489
 
+               rm -rf $tpldir~
11490
 
+               $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
11491
 
+               $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'
11492
 
+             ;;
11493
 
+           *) # Version 6 will use weak symbols
11494
 
+             _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11495
 
+             _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'
11496
 
+             ;;
11497
 
+           esac
11498
 
 
11499
 
-# The commands to extract the exported symbol list from a shared archive.
11500
 
-extract_expsyms_cmds=$lt_extract_expsyms_cmds
11501
 
+           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
11502
 
+           _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
11503
 
+           _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'
11504
 
+            ;;
11505
 
+         cxx*)
11506
 
+           # Compaq C++
11507
 
+           _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11508
 
+           _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'
11509
 
 
11510
 
-# Symbols that should not be listed in the preloaded symbols.
11511
 
-exclude_expsyms=$lt_[]_LT_AC_TAGVAR(exclude_expsyms, $1)
11512
 
+           runpath_var=LD_RUN_PATH
11513
 
+           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
11514
 
+           _LT_TAGVAR(hardcode_libdir_separator, $1)=:
11515
 
 
11516
 
-# Symbols that must always be exported.
11517
 
-include_expsyms=$lt_[]_LT_AC_TAGVAR(include_expsyms, $1)
11518
 
+           # Commands to make compiler produce verbose output that lists
11519
 
+           # what "hidden" libraries, object files and flags are used when
11520
 
+           # linking a shared library.
11521
 
+           #
11522
 
+           # There doesn't appear to be a way to prevent this compiler from
11523
 
+           # explicitly linking system object files so we need to strip them
11524
 
+           # from the output so that they don't get included in the library
11525
 
+           # dependencies.
11526
 
+           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'
11527
 
+           ;;
11528
 
+         xl*)
11529
 
+           # IBM XL 8.0 on PPC, with GNU ld
11530
 
+           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
11531
 
+           _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
11532
 
+           _LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11533
 
+           if test "x$supports_anon_versioning" = xyes; then
11534
 
+             _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
11535
 
+               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11536
 
+               echo "local: *; };" >> $output_objdir/$libname.ver~
11537
 
+               $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
11538
 
+           fi
11539
 
+           ;;
11540
 
+         *)
11541
 
+           case `$CC -V 2>&1 | sed 5q` in
11542
 
+           *Sun\ C*)
11543
 
+             # Sun C++ 5.9
11544
 
+             _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
11545
 
+             _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11546
 
+             _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'
11547
 
+             _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
11548
 
+             _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'
11549
 
+             _LT_TAGVAR(compiler_needs_object, $1)=yes
11550
 
+
11551
 
+             # Not sure whether something based on
11552
 
+             # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
11553
 
+             # would be better.
11554
 
+             output_verbose_link_cmd='echo'
11555
 
+
11556
 
+             # Archives containing C++ object files must be created using
11557
 
+             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
11558
 
+             # necessary to make sure instantiated templates are included
11559
 
+             # in the archive.
11560
 
+             _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
11561
 
+             ;;
11562
 
+           esac
11563
 
+           ;;
11564
 
+       esac
11565
 
+       ;;
11566
 
 
11567
 
-ifelse([$1],[],
11568
 
-[# ### END LIBTOOL CONFIG],
11569
 
-[# ### END LIBTOOL TAG CONFIG: $tagname])
11570
 
+      lynxos*)
11571
 
+        # FIXME: insert proper C++ library support
11572
 
+       _LT_TAGVAR(ld_shlibs, $1)=no
11573
 
+       ;;
11574
 
 
11575
 
-__EOF__
11576
 
+      m88k*)
11577
 
+        # FIXME: insert proper C++ library support
11578
 
+        _LT_TAGVAR(ld_shlibs, $1)=no
11579
 
+       ;;
11580
 
 
11581
 
-ifelse([$1],[], [
11582
 
-  case $host_os in
11583
 
-  aix3*)
11584
 
-    cat <<\EOF >> "$cfgfile"
11585
 
+      mvs*)
11586
 
+        case $cc_basename in
11587
 
+          cxx*)
11588
 
+           # FIXME: insert proper C++ library support
11589
 
+           _LT_TAGVAR(ld_shlibs, $1)=no
11590
 
+           ;;
11591
 
+         *)
11592
 
+           # FIXME: insert proper C++ library support
11593
 
+           _LT_TAGVAR(ld_shlibs, $1)=no
11594
 
+           ;;
11595
 
+       esac
11596
 
+       ;;
11597
 
 
11598
 
-# AIX sometimes has problems with the GCC collect2 program.  For some
11599
 
-# reason, if we set the COLLECT_NAMES environment variable, the problems
11600
 
-# vanish in a puff of smoke.
11601
 
-if test "X${COLLECT_NAMES+set}" != Xset; then
11602
 
-  COLLECT_NAMES=
11603
 
-  export COLLECT_NAMES
11604
 
-fi
11605
 
-EOF
11606
 
-    ;;
11607
 
-  esac
11608
 
+      netbsd*)
11609
 
+        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11610
 
+         _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11611
 
+         wlarc=
11612
 
+         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
11613
 
+         _LT_TAGVAR(hardcode_direct, $1)=yes
11614
 
+         _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
11615
 
+       fi
11616
 
+       # Workaround some broken pre-1.5 toolchains
11617
 
+       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11618
 
+       ;;
11619
 
 
11620
 
-  # We use sed instead of cat because bash on DJGPP gets confused if
11621
 
-  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
11622
 
-  # text mode, it properly converts lines to CR/LF.  This bash problem
11623
 
-  # is reportedly fixed, but why not run on old versions too?
11624
 
-  sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
11625
 
+      *nto* | *qnx*)
11626
 
+        _LT_TAGVAR(ld_shlibs, $1)=yes
11627
 
+       ;;
11628
 
 
11629
 
-  mv -f "$cfgfile" "$ofile" || \
11630
 
-    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
11631
 
-  chmod +x "$ofile"
11632
 
-])
11633
 
-else
11634
 
-  # If there is no Makefile yet, we rely on a make rule to execute
11635
 
-  # `config.status --recheck' to rerun these tests and create the
11636
 
-  # libtool script then.
11637
 
-  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
11638
 
-  if test -f "$ltmain_in"; then
11639
 
-    test -f Makefile && make "$ltmain"
11640
 
-  fi
11641
 
-fi
11642
 
-])# AC_LIBTOOL_CONFIG
11643
 
+      openbsd2*)
11644
 
+        # C++ shared libraries are fairly broken
11645
 
+       _LT_TAGVAR(ld_shlibs, $1)=no
11646
 
+       ;;
11647
 
+
11648
 
+      openbsd*)
11649
 
+       if test -f /usr/libexec/ld.so; then
11650
 
+         _LT_TAGVAR(hardcode_direct, $1)=yes
11651
 
+         _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
11652
 
+         _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
11653
 
+         _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11654
 
+         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
11655
 
+         if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11656
 
+           _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'
11657
 
+           _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
11658
 
+           _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11659
 
+         fi
11660
 
+         output_verbose_link_cmd=echo
11661
 
+       else
11662
 
+         _LT_TAGVAR(ld_shlibs, $1)=no
11663
 
+       fi
11664
 
+       ;;
11665
 
 
11666
 
+      osf3* | osf4* | osf5*)
11667
 
+        case $cc_basename in
11668
 
+          KCC*)
11669
 
+           # Kuck and Associates, Inc. (KAI) C++ Compiler
11670
 
+
11671
 
+           # KCC will only create a shared library if the output file
11672
 
+           # ends with ".so" (or ".sl" for HP-UX), so rename the library
11673
 
+           # to its proper name (with version) after linking.
11674
 
+           _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'
11675
 
+
11676
 
+           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
11677
 
+           _LT_TAGVAR(hardcode_libdir_separator, $1)=:
11678
 
+
11679
 
+           # Archives containing C++ object files must be created using
11680
 
+           # the KAI C++ compiler.
11681
 
+           case $host in
11682
 
+             osf3*) _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;;
11683
 
+             *) _LT_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;;
11684
 
+           esac
11685
 
+           ;;
11686
 
+          RCC*)
11687
 
+           # Rational C++ 2.4.1
11688
 
+           # FIXME: insert proper C++ library support
11689
 
+           _LT_TAGVAR(ld_shlibs, $1)=no
11690
 
+           ;;
11691
 
+          cxx*)
11692
 
+           case $host in
11693
 
+             osf3*)
11694
 
+               _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
11695
 
+               _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'
11696
 
+               _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
11697
 
+               ;;
11698
 
+             *)
11699
 
+               _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
11700
 
+               _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'
11701
 
+               _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11702
 
+                 echo "-hidden">> $lib.exp~
11703
 
+                 $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~
11704
 
+                 $RM $lib.exp'
11705
 
+               _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
11706
 
+               ;;
11707
 
+           esac
11708
 
 
11709
 
-# AC_LIBTOOL_PROG_COMPILER_NO_RTTI([TAGNAME])
11710
 
-# -------------------------------------------
11711
 
-AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI],
11712
 
-[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
11713
 
+           _LT_TAGVAR(hardcode_libdir_separator, $1)=:
11714
 
 
11715
 
-_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
11716
 
+           # Commands to make compiler produce verbose output that lists
11717
 
+           # what "hidden" libraries, object files and flags are used when
11718
 
+           # linking a shared library.
11719
 
+           #
11720
 
+           # There doesn't appear to be a way to prevent this compiler from
11721
 
+           # explicitly linking system object files so we need to strip them
11722
 
+           # from the output so that they don't get included in the library
11723
 
+           # dependencies.
11724
 
+           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'
11725
 
+           ;;
11726
 
+         *)
11727
 
+           if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11728
 
+             _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
11729
 
+             case $host in
11730
 
+               osf3*)
11731
 
+                 _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'
11732
 
+                 ;;
11733
 
+               *)
11734
 
+                 _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'
11735
 
+                 ;;
11736
 
+             esac
11737
 
+
11738
 
+             _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
11739
 
+             _LT_TAGVAR(hardcode_libdir_separator, $1)=:
11740
 
+
11741
 
+             # Commands to make compiler produce verbose output that lists
11742
 
+             # what "hidden" libraries, object files and flags are used when
11743
 
+             # linking a shared library.
11744
 
+             output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11745
 
+
11746
 
+           else
11747
 
+             # FIXME: insert proper C++ library support
11748
 
+             _LT_TAGVAR(ld_shlibs, $1)=no
11749
 
+           fi
11750
 
+           ;;
11751
 
+        esac
11752
 
+        ;;
11753
 
 
11754
 
-if test "$GCC" = yes; then
11755
 
-  _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
11756
 
+      psos*)
11757
 
+        # FIXME: insert proper C++ library support
11758
 
+        _LT_TAGVAR(ld_shlibs, $1)=no
11759
 
+        ;;
11760
 
 
11761
 
-  AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
11762
 
-    lt_cv_prog_compiler_rtti_exceptions,
11763
 
-    [-fno-rtti -fno-exceptions], [],
11764
 
-    [_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
11765
 
-fi
11766
 
-])# AC_LIBTOOL_PROG_COMPILER_NO_RTTI
11767
 
+      sunos4*)
11768
 
+        case $cc_basename in
11769
 
+          CC*)
11770
 
+           # Sun C++ 4.x
11771
 
+           # FIXME: insert proper C++ library support
11772
 
+           _LT_TAGVAR(ld_shlibs, $1)=no
11773
 
+           ;;
11774
 
+          lcc*)
11775
 
+           # Lucid
11776
 
+           # FIXME: insert proper C++ library support
11777
 
+           _LT_TAGVAR(ld_shlibs, $1)=no
11778
 
+           ;;
11779
 
+          *)
11780
 
+           # FIXME: insert proper C++ library support
11781
 
+           _LT_TAGVAR(ld_shlibs, $1)=no
11782
 
+           ;;
11783
 
+        esac
11784
 
+        ;;
11785
 
 
11786
 
+      solaris*)
11787
 
+        case $cc_basename in
11788
 
+          CC*)
11789
 
+           # Sun C++ 4.2, 5.x and Centerline C++
11790
 
+            _LT_TAGVAR(archive_cmds_need_lc,$1)=yes
11791
 
+           _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
11792
 
+           _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11793
 
+           _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11794
 
+             $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'
11795
 
+
11796
 
+           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
11797
 
+           _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
11798
 
+           case $host_os in
11799
 
+             solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
11800
 
+             *)
11801
 
+               # The compiler driver will combine and reorder linker options,
11802
 
+               # but understands `-z linker_flag'.
11803
 
+               # Supported since Solaris 2.6 (maybe 2.5.1?)
11804
 
+               _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
11805
 
+               ;;
11806
 
+           esac
11807
 
+           _LT_TAGVAR(link_all_deplibs, $1)=yes
11808
 
 
11809
 
-# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
11810
 
-# ---------------------------------
11811
 
-AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE],
11812
 
-[AC_REQUIRE([AC_CANONICAL_HOST])
11813
 
-AC_REQUIRE([LT_AC_PROG_SED])
11814
 
-AC_REQUIRE([AC_PROG_NM])
11815
 
-AC_REQUIRE([AC_OBJEXT])
11816
 
-# Check for command to grab the raw symbol name followed by C symbol from nm.
11817
 
-AC_MSG_CHECKING([command to parse $NM output from $compiler object])
11818
 
-AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe],
11819
 
-[
11820
 
-# These are sane defaults that work on at least a few old systems.
11821
 
-# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
11822
 
+           output_verbose_link_cmd='echo'
11823
 
 
11824
 
-# Character class describing NM global symbol codes.
11825
 
-symcode='[[BCDEGRST]]'
11826
 
+           # Archives containing C++ object files must be created using
11827
 
+           # "CC -xar", where "CC" is the Sun C++ compiler.  This is
11828
 
+           # necessary to make sure instantiated templates are included
11829
 
+           # in the archive.
11830
 
+           _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
11831
 
+           ;;
11832
 
+          gcx*)
11833
 
+           # Green Hills C++ Compiler
11834
 
+           _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11835
 
 
11836
 
-# Regexp to match symbols that can be accessed directly from C.
11837
 
-sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
11838
 
+           # The C++ compiler must be used to create the archive.
11839
 
+           _LT_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11840
 
+           ;;
11841
 
+          *)
11842
 
+           # GNU C++ compiler with Solaris linker
11843
 
+           if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11844
 
+             _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
11845
 
+             if $CC --version | $GREP -v '^2\.7' > /dev/null; then
11846
 
+               _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11847
 
+               _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11848
 
+                 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
11849
 
+
11850
 
+               # Commands to make compiler produce verbose output that lists
11851
 
+               # what "hidden" libraries, object files and flags are used when
11852
 
+               # linking a shared library.
11853
 
+               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11854
 
+             else
11855
 
+               # g++ 2.7 appears to require `-G' NOT `-shared' on this
11856
 
+               # platform.
11857
 
+               _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11858
 
+               _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11859
 
+                 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
11860
 
+
11861
 
+               # Commands to make compiler produce verbose output that lists
11862
 
+               # what "hidden" libraries, object files and flags are used when
11863
 
+               # linking a shared library.
11864
 
+               output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11865
 
+             fi
11866
 
+
11867
 
+             _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
11868
 
+             case $host_os in
11869
 
+               solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
11870
 
+               *)
11871
 
+                 _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11872
 
+                 ;;
11873
 
+             esac
11874
 
+           fi
11875
 
+           ;;
11876
 
+        esac
11877
 
+        ;;
11878
 
 
11879
 
-# Transform an extracted symbol line into a proper C declaration
11880
 
-lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
11881
 
+    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
11882
 
+      _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
11883
 
+      _LT_TAGVAR(archive_cmds_need_lc, $1)=no
11884
 
+      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
11885
 
+      runpath_var='LD_RUN_PATH'
11886
 
 
11887
 
-# Transform an extracted symbol line into symbol name and symbol address
11888
 
-lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([[^ ]]*\) \([[^ ]]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
11889
 
+      case $cc_basename in
11890
 
+        CC*)
11891
 
+         _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11892
 
+         _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11893
 
+         ;;
11894
 
+       *)
11895
 
+         _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11896
 
+         _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11897
 
+         ;;
11898
 
+      esac
11899
 
+      ;;
11900
 
 
11901
 
-# Define system-specific variables.
11902
 
-case $host_os in
11903
 
-aix*)
11904
 
-  symcode='[[BCDT]]'
11905
 
-  ;;
11906
 
-cygwin* | mingw* | pw32*)
11907
 
-  symcode='[[ABCDGISTW]]'
11908
 
-  ;;
11909
 
-hpux*) # Its linker distinguishes data from code symbols
11910
 
-  if test "$host_cpu" = ia64; then
11911
 
-    symcode='[[ABCDEGRST]]'
11912
 
-  fi
11913
 
-  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
11914
 
-  lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
11915
 
-  ;;
11916
 
-linux* | k*bsd*-gnu)
11917
 
-  if test "$host_cpu" = ia64; then
11918
 
-    symcode='[[ABCDGIRSTW]]'
11919
 
-    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
11920
 
-    lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
11921
 
-  fi
11922
 
-  ;;
11923
 
-irix* | nonstopux*)
11924
 
-  symcode='[[BCDEGRST]]'
11925
 
-  ;;
11926
 
-osf*)
11927
 
-  symcode='[[BCDEGQRST]]'
11928
 
-  ;;
11929
 
-solaris*)
11930
 
-  symcode='[[BDRT]]'
11931
 
-  ;;
11932
 
-sco3.2v5*)
11933
 
-  symcode='[[DT]]'
11934
 
-  ;;
11935
 
-sysv4.2uw2*)
11936
 
-  symcode='[[DT]]'
11937
 
-  ;;
11938
 
-sysv5* | sco5v6* | unixware* | OpenUNIX*)
11939
 
-  symcode='[[ABDT]]'
11940
 
-  ;;
11941
 
-sysv4)
11942
 
-  symcode='[[DFNSTU]]'
11943
 
-  ;;
11944
 
-esac
11945
 
+      sysv5* | sco3.2v5* | sco5v6*)
11946
 
+       # Note: We can NOT use -z defs as we might desire, because we do not
11947
 
+       # link with -lc, and that would cause any symbols used from libc to
11948
 
+       # always be unresolved, which means just about no library would
11949
 
+       # ever link correctly.  If we're not using GNU ld we use -z text
11950
 
+       # though, which does catch some bad symbols but isn't as heavy-handed
11951
 
+       # as -z defs.
11952
 
+       _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
11953
 
+       _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
11954
 
+       _LT_TAGVAR(archive_cmds_need_lc, $1)=no
11955
 
+       _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
11956
 
+       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir'
11957
 
+       _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
11958
 
+       _LT_TAGVAR(link_all_deplibs, $1)=yes
11959
 
+       _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
11960
 
+       runpath_var='LD_RUN_PATH'
11961
 
 
11962
 
-# Handle CRLF in mingw tool chain
11963
 
-opt_cr=
11964
 
-case $build_os in
11965
 
-mingw*)
11966
 
-  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
11967
 
-  ;;
11968
 
-esac
11969
 
+       case $cc_basename in
11970
 
+          CC*)
11971
 
+           _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11972
 
+           _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11973
 
+           ;;
11974
 
+         *)
11975
 
+           _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11976
 
+           _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11977
 
+           ;;
11978
 
+       esac
11979
 
+      ;;
11980
 
 
11981
 
-# If we're using GNU nm, then use its standard symbol codes.
11982
 
-case `$NM -V 2>&1` in
11983
 
-*GNU* | *'with BFD'*)
11984
 
-  symcode='[[ABCDGIRSTW]]' ;;
11985
 
-esac
11986
 
-
11987
 
-# Try without a prefix undercore, then with it.
11988
 
-for ac_symprfx in "" "_"; do
11989
 
+      tandem*)
11990
 
+        case $cc_basename in
11991
 
+          NCC*)
11992
 
+           # NonStop-UX NCC 3.20
11993
 
+           # FIXME: insert proper C++ library support
11994
 
+           _LT_TAGVAR(ld_shlibs, $1)=no
11995
 
+           ;;
11996
 
+          *)
11997
 
+           # FIXME: insert proper C++ library support
11998
 
+           _LT_TAGVAR(ld_shlibs, $1)=no
11999
 
+           ;;
12000
 
+        esac
12001
 
+        ;;
12002
 
 
12003
 
-  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
12004
 
-  symxfrm="\\1 $ac_symprfx\\2 \\2"
12005
 
+      vxworks*)
12006
 
+        # FIXME: insert proper C++ library support
12007
 
+        _LT_TAGVAR(ld_shlibs, $1)=no
12008
 
+        ;;
12009
 
 
12010
 
-  # Write the raw and C identifiers.
12011
 
-  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[     ]]\($symcode$symcode*\)[[       ]][[    ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
12012
 
+      *)
12013
 
+        # FIXME: insert proper C++ library support
12014
 
+        _LT_TAGVAR(ld_shlibs, $1)=no
12015
 
+        ;;
12016
 
+    esac
12017
 
 
12018
 
-  # Check to see that the pipe works correctly.
12019
 
-  pipe_works=no
12020
 
+    AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
12021
 
+    test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
12022
 
 
12023
 
-  rm -f conftest*
12024
 
-  cat > conftest.$ac_ext <<EOF
12025
 
-#ifdef __cplusplus
12026
 
-extern "C" {
12027
 
-#endif
12028
 
-char nm_test_var;
12029
 
-void nm_test_func(){}
12030
 
-#ifdef __cplusplus
12031
 
-}
12032
 
-#endif
12033
 
-int main(){nm_test_var='a';nm_test_func();return(0);}
12034
 
-EOF
12035
 
+    _LT_TAGVAR(GCC, $1)="$GXX"
12036
 
+    _LT_TAGVAR(LD, $1)="$LD"
12037
 
 
12038
 
-  if AC_TRY_EVAL(ac_compile); then
12039
 
-    # Now try to grab the symbols.
12040
 
-    nlist=conftest.nm
12041
 
-    if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
12042
 
-      # Try sorting and uniquifying the output.
12043
 
-      if sort "$nlist" | uniq > "$nlist"T; then
12044
 
-       mv -f "$nlist"T "$nlist"
12045
 
-      else
12046
 
-       rm -f "$nlist"T
12047
 
-      fi
12048
 
+    ## CAVEAT EMPTOR:
12049
 
+    ## There is no encapsulation within the following macros, do not change
12050
 
+    ## the running order or otherwise move them around unless you know exactly
12051
 
+    ## what you are doing...
12052
 
+    _LT_SYS_HIDDEN_LIBDEPS($1)
12053
 
+    _LT_COMPILER_PIC($1)
12054
 
+    _LT_COMPILER_C_O($1)
12055
 
+    _LT_COMPILER_FILE_LOCKS($1)
12056
 
+    _LT_LINKER_SHLIBS($1)
12057
 
+    _LT_SYS_DYNAMIC_LINKER($1)
12058
 
+    _LT_LINKER_HARDCODE_LIBPATH($1)
12059
 
+
12060
 
+    _LT_CONFIG($1)
12061
 
+  fi # test -n "$compiler"
12062
 
+
12063
 
+  CC=$lt_save_CC
12064
 
+  LDCXX=$LD
12065
 
+  LD=$lt_save_LD
12066
 
+  GCC=$lt_save_GCC
12067
 
+  with_gnu_ld=$lt_save_with_gnu_ld
12068
 
+  lt_cv_path_LDCXX=$lt_cv_path_LD
12069
 
+  lt_cv_path_LD=$lt_save_path_LD
12070
 
+  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
12071
 
+  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
12072
 
+fi # test "$_lt_caught_CXX_error" != yes
12073
 
 
12074
 
-      # Make sure that we snagged all the symbols we need.
12075
 
-      if grep ' nm_test_var$' "$nlist" >/dev/null; then
12076
 
-       if grep ' nm_test_func$' "$nlist" >/dev/null; then
12077
 
-         cat <<EOF > conftest.$ac_ext
12078
 
-#ifdef __cplusplus
12079
 
-extern "C" {
12080
 
-#endif
12081
 
+AC_LANG_POP
12082
 
+])# _LT_LANG_CXX_CONFIG
12083
 
 
12084
 
-EOF
12085
 
-         # Now generate the symbol file.
12086
 
-         eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
12087
 
 
12088
 
-         cat <<EOF >> conftest.$ac_ext
12089
 
-#if defined (__STDC__) && __STDC__
12090
 
-# define lt_ptr_t void *
12091
 
-#else
12092
 
-# define lt_ptr_t char *
12093
 
-# define const
12094
 
-#endif
12095
 
+# _LT_SYS_HIDDEN_LIBDEPS([TAGNAME])
12096
 
+# ---------------------------------
12097
 
+# Figure out "hidden" library dependencies from verbose
12098
 
+# compiler output when linking a shared library.
12099
 
+# Parse the compiler output and extract the necessary
12100
 
+# objects, libraries and library flags.
12101
 
+m4_defun([_LT_SYS_HIDDEN_LIBDEPS],
12102
 
+[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
12103
 
+# Dependencies to place before and after the object being linked:
12104
 
+_LT_TAGVAR(predep_objects, $1)=
12105
 
+_LT_TAGVAR(postdep_objects, $1)=
12106
 
+_LT_TAGVAR(predeps, $1)=
12107
 
+_LT_TAGVAR(postdeps, $1)=
12108
 
+_LT_TAGVAR(compiler_lib_search_path, $1)=
12109
 
 
12110
 
-/* The mapping between symbol names and symbols. */
12111
 
-const struct {
12112
 
-  const char *name;
12113
 
-  lt_ptr_t address;
12114
 
-}
12115
 
-lt_preloaded_symbols[[]] =
12116
 
+dnl we can't use the lt_simple_compile_test_code here,
12117
 
+dnl because it contains code intended for an executable,
12118
 
+dnl not a library.  It's possible we should let each
12119
 
+dnl tag define a new lt_????_link_test_code variable,
12120
 
+dnl but it's only used here...
12121
 
+m4_if([$1], [], [cat > conftest.$ac_ext <<_LT_EOF
12122
 
+int a;
12123
 
+void foo (void) { a = 0; }
12124
 
+_LT_EOF
12125
 
+], [$1], [CXX], [cat > conftest.$ac_ext <<_LT_EOF
12126
 
+class Foo
12127
 
 {
12128
 
-EOF
12129
 
-         $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
12130
 
-         cat <<\EOF >> conftest.$ac_ext
12131
 
-  {0, (lt_ptr_t) 0}
12132
 
+public:
12133
 
+  Foo (void) { a = 0; }
12134
 
+private:
12135
 
+  int a;
12136
 
+};
12137
 
+_LT_EOF
12138
 
+], [$1], [F77], [cat > conftest.$ac_ext <<_LT_EOF
12139
 
+      subroutine foo
12140
 
+      implicit none
12141
 
+      integer*4 a
12142
 
+      a=0
12143
 
+      return
12144
 
+      end
12145
 
+_LT_EOF
12146
 
+], [$1], [FC], [cat > conftest.$ac_ext <<_LT_EOF
12147
 
+      subroutine foo
12148
 
+      implicit none
12149
 
+      integer a
12150
 
+      a=0
12151
 
+      return
12152
 
+      end
12153
 
+_LT_EOF
12154
 
+], [$1], [GCJ], [cat > conftest.$ac_ext <<_LT_EOF
12155
 
+public class foo {
12156
 
+  private int a;
12157
 
+  public void bar (void) {
12158
 
+    a = 0;
12159
 
+  }
12160
 
 };
12161
 
+_LT_EOF
12162
 
+])
12163
 
+dnl Parse the compiler output and extract the necessary
12164
 
+dnl objects, libraries and library flags.
12165
 
+if AC_TRY_EVAL(ac_compile); then
12166
 
+  # Parse the compiler output and extract the necessary
12167
 
+  # objects, libraries and library flags.
12168
 
 
12169
 
-#ifdef __cplusplus
12170
 
-}
12171
 
-#endif
12172
 
-EOF
12173
 
-         # Now try linking the two files.
12174
 
-         mv conftest.$ac_objext conftstm.$ac_objext
12175
 
-         lt_save_LIBS="$LIBS"
12176
 
-         lt_save_CFLAGS="$CFLAGS"
12177
 
-         LIBS="conftstm.$ac_objext"
12178
 
-         CFLAGS="$CFLAGS$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
12179
 
-         if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
12180
 
-           pipe_works=yes
12181
 
-         fi
12182
 
-         LIBS="$lt_save_LIBS"
12183
 
-         CFLAGS="$lt_save_CFLAGS"
12184
 
-       else
12185
 
-         echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
12186
 
-       fi
12187
 
-      else
12188
 
-       echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD
12189
 
-      fi
12190
 
-    else
12191
 
-      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
12192
 
-    fi
12193
 
-  else
12194
 
-    echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
12195
 
-    cat conftest.$ac_ext >&5
12196
 
-  fi
12197
 
-  rm -rf conftest* conftst*
12198
 
+  # Sentinel used to keep track of whether or not we are before
12199
 
+  # the conftest object file.
12200
 
+  pre_test_object_deps_done=no
12201
 
 
12202
 
-  # Do not use the global_symbol_pipe unless it works.
12203
 
-  if test "$pipe_works" = yes; then
12204
 
-    break
12205
 
-  else
12206
 
-    lt_cv_sys_global_symbol_pipe=
12207
 
-  fi
12208
 
-done
12209
 
-])
12210
 
-if test -z "$lt_cv_sys_global_symbol_pipe"; then
12211
 
-  lt_cv_sys_global_symbol_to_cdecl=
12212
 
-fi
12213
 
-if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
12214
 
-  AC_MSG_RESULT(failed)
12215
 
+  for p in `eval "$output_verbose_link_cmd"`; do
12216
 
+    case $p in
12217
 
+
12218
 
+    -L* | -R* | -l*)
12219
 
+       # Some compilers place space between "-{L,R}" and the path.
12220
 
+       # Remove the space.
12221
 
+       if test $p = "-L" ||
12222
 
+          test $p = "-R"; then
12223
 
+        prev=$p
12224
 
+        continue
12225
 
+       else
12226
 
+        prev=
12227
 
+       fi
12228
 
+
12229
 
+       if test "$pre_test_object_deps_done" = no; then
12230
 
+        case $p in
12231
 
+        -L* | -R*)
12232
 
+          # Internal compiler library paths should come after those
12233
 
+          # provided the user.  The postdeps already come after the
12234
 
+          # user supplied libs so there is no need to process them.
12235
 
+          if test -z "$_LT_TAGVAR(compiler_lib_search_path, $1)"; then
12236
 
+            _LT_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}"
12237
 
+          else
12238
 
+            _LT_TAGVAR(compiler_lib_search_path, $1)="${_LT_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"
12239
 
+          fi
12240
 
+          ;;
12241
 
+        # The "-l" case would never come before the object being
12242
 
+        # linked, so don't bother handling this case.
12243
 
+        esac
12244
 
+       else
12245
 
+        if test -z "$_LT_TAGVAR(postdeps, $1)"; then
12246
 
+          _LT_TAGVAR(postdeps, $1)="${prev}${p}"
12247
 
+        else
12248
 
+          _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} ${prev}${p}"
12249
 
+        fi
12250
 
+       fi
12251
 
+       ;;
12252
 
+
12253
 
+    *.$objext)
12254
 
+       # This assumes that the test object file only shows up
12255
 
+       # once in the compiler output.
12256
 
+       if test "$p" = "conftest.$objext"; then
12257
 
+        pre_test_object_deps_done=yes
12258
 
+        continue
12259
 
+       fi
12260
 
+
12261
 
+       if test "$pre_test_object_deps_done" = no; then
12262
 
+        if test -z "$_LT_TAGVAR(predep_objects, $1)"; then
12263
 
+          _LT_TAGVAR(predep_objects, $1)="$p"
12264
 
+        else
12265
 
+          _LT_TAGVAR(predep_objects, $1)="$_LT_TAGVAR(predep_objects, $1) $p"
12266
 
+        fi
12267
 
+       else
12268
 
+        if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then
12269
 
+          _LT_TAGVAR(postdep_objects, $1)="$p"
12270
 
+        else
12271
 
+          _LT_TAGVAR(postdep_objects, $1)="$_LT_TAGVAR(postdep_objects, $1) $p"
12272
 
+        fi
12273
 
+       fi
12274
 
+       ;;
12275
 
+
12276
 
+    *) ;; # Ignore the rest.
12277
 
+
12278
 
+    esac
12279
 
+  done
12280
 
+
12281
 
+  # Clean up.
12282
 
+  rm -f a.out a.exe
12283
 
 else
12284
 
-  AC_MSG_RESULT(ok)
12285
 
+  echo "libtool.m4: error: problem compiling $1 test program"
12286
 
 fi
12287
 
-]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
12288
 
 
12289
 
+$RM -f confest.$objext
12290
 
 
12291
 
-# AC_LIBTOOL_PROG_COMPILER_PIC([TAGNAME])
12292
 
-# ---------------------------------------
12293
 
-AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC],
12294
 
-[_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)=
12295
 
-_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
12296
 
-_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=
12297
 
+# PORTME: override above test on systems where it is broken
12298
 
+m4_if([$1], [CXX],
12299
 
+[case $host_os in
12300
 
+interix[[3-9]]*)
12301
 
+  # Interix 3.5 installs completely hosed .la files for C++, so rather than
12302
 
+  # hack all around it, let's just trust "g++" to DTRT.
12303
 
+  _LT_TAGVAR(predep_objects,$1)=
12304
 
+  _LT_TAGVAR(postdep_objects,$1)=
12305
 
+  _LT_TAGVAR(postdeps,$1)=
12306
 
+  ;;
12307
 
 
12308
 
-AC_MSG_CHECKING([for $compiler option to produce PIC])
12309
 
- ifelse([$1],[CXX],[
12310
 
-  # C++ specific cases for pic, static, wl, etc.
12311
 
-  if test "$GXX" = yes; then
12312
 
-    _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
12313
 
-    _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
12314
 
+linux*)
12315
 
+  case `$CC -V 2>&1 | sed 5q` in
12316
 
+  *Sun\ C*)
12317
 
+    # Sun C++ 5.9
12318
 
 
12319
 
-    case $host_os in
12320
 
-    aix*)
12321
 
-      # All AIX code is PIC.
12322
 
-      if test "$host_cpu" = ia64; then
12323
 
-       # AIX 5 now supports IA64 processor
12324
 
-       _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
12325
 
-      fi
12326
 
-      ;;
12327
 
-    amigaos*)
12328
 
-      # FIXME: we need at least 68020 code to build shared libraries, but
12329
 
-      # adding the `-m68020' flag to GCC prevents building anything better,
12330
 
-      # like `-m68040'.
12331
 
-      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
12332
 
-      ;;
12333
 
-    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12334
 
-      # PIC is the default for these OSes.
12335
 
+    # The more standards-conforming stlport4 library is
12336
 
+    # incompatible with the Cstd library. Avoid specifying
12337
 
+    # it if it's in CXXFLAGS. Ignore libCrun as
12338
 
+    # -library=stlport4 depends on it.
12339
 
+    case " $CXX $CXXFLAGS " in
12340
 
+    *" -library=stlport4 "*)
12341
 
+      solaris_use_stlport4=yes
12342
 
       ;;
12343
 
-    mingw* | cygwin* | os2* | pw32*)
12344
 
-      # This hack is so that the source file can tell whether it is being
12345
 
-      # built for inclusion in a dll (and should export symbols for example).
12346
 
-      # Although the cygwin gcc ignores -fPIC, still need this for old-style
12347
 
-      # (--disable-auto-import) libraries
12348
 
-      m4_if([$1], [GCJ], [],
12349
 
-       [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
12350
 
-      ;;
12351
 
-    darwin* | rhapsody*)
12352
 
-      # PIC is the default on this platform
12353
 
-      # Common symbols not allowed in MH_DYLIB files
12354
 
-      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
12355
 
-      ;;
12356
 
-    *djgpp*)
12357
 
-      # DJGPP does not support shared libraries at all
12358
 
-      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
12359
 
-      ;;
12360
 
-    interix[[3-9]]*)
12361
 
-      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12362
 
-      # Instead, we relocate shared libraries at runtime.
12363
 
-      ;;
12364
 
-    sysv4*MP*)
12365
 
-      if test -d /usr/nec; then
12366
 
-       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
12367
 
-      fi
12368
 
-      ;;
12369
 
-    hpux*)
12370
 
-      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12371
 
-      # not for PA HP-UX.
12372
 
-      case $host_cpu in
12373
 
-      hppa*64*|ia64*)
12374
 
-       ;;
12375
 
-      *)
12376
 
-       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
12377
 
-       ;;
12378
 
-      esac
12379
 
-      ;;
12380
 
-    *)
12381
 
-      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
12382
 
+    esac
12383
 
+
12384
 
+    if test "$solaris_use_stlport4" != yes; then
12385
 
+      _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
12386
 
+    fi
12387
 
+    ;;
12388
 
+  esac
12389
 
+  ;;
12390
 
+
12391
 
+solaris*)
12392
 
+  case $cc_basename in
12393
 
+  CC*)
12394
 
+    # The more standards-conforming stlport4 library is
12395
 
+    # incompatible with the Cstd library. Avoid specifying
12396
 
+    # it if it's in CXXFLAGS. Ignore libCrun as
12397
 
+    # -library=stlport4 depends on it.
12398
 
+    case " $CXX $CXXFLAGS " in
12399
 
+    *" -library=stlport4 "*)
12400
 
+      solaris_use_stlport4=yes
12401
 
       ;;
12402
 
     esac
12403
 
-  else
12404
 
+
12405
 
+    # Adding this requires a known-good setup of shared libraries for
12406
 
+    # Sun compiler versions before 5.6, else PIC objects from an old
12407
 
+    # archive will be linked into the output, leading to subtle bugs.
12408
 
+    if test "$solaris_use_stlport4" != yes; then
12409
 
+      _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
12410
 
+    fi
12411
 
+    ;;
12412
 
+  esac
12413
 
+  ;;
12414
 
+esac
12415
 
+])
12416
 
+
12417
 
+case " $_LT_TAGVAR(postdeps, $1) " in
12418
 
+*" -lc "*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;;
12419
 
+esac
12420
 
+ _LT_TAGVAR(compiler_lib_search_dirs, $1)=
12421
 
+if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then
12422
 
+ _LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12423
 
+fi
12424
 
+_LT_TAGDECL([], [compiler_lib_search_dirs], [1],
12425
 
+    [The directories searched by this compiler when creating a shared library])
12426
 
+_LT_TAGDECL([], [predep_objects], [1],
12427
 
+    [Dependencies to place before and after the objects being linked to
12428
 
+    create a shared library])
12429
 
+_LT_TAGDECL([], [postdep_objects], [1])
12430
 
+_LT_TAGDECL([], [predeps], [1])
12431
 
+_LT_TAGDECL([], [postdeps], [1])
12432
 
+_LT_TAGDECL([], [compiler_lib_search_path], [1],
12433
 
+    [The library search path used internally by the compiler when linking
12434
 
+    a shared library])
12435
 
+])# _LT_SYS_HIDDEN_LIBDEPS
12436
 
+
12437
 
+
12438
 
+# _LT_PROG_F77
12439
 
+# ------------
12440
 
+# Since AC_PROG_F77 is broken, in that it returns the empty string
12441
 
+# if there is no fortran compiler, we have our own version here.
12442
 
+m4_defun([_LT_PROG_F77],
12443
 
+[
12444
 
+pushdef([AC_MSG_ERROR], [_lt_disable_F77=yes])
12445
 
+AC_PROG_F77
12446
 
+if test -z "$F77" || test "X$F77" = "Xno"; then
12447
 
+  _lt_disable_F77=yes
12448
 
+fi
12449
 
+popdef([AC_MSG_ERROR])
12450
 
+])# _LT_PROG_F77
12451
 
+
12452
 
+dnl aclocal-1.4 backwards compatibility:
12453
 
+dnl AC_DEFUN([_LT_PROG_F77], [])
12454
 
+
12455
 
+
12456
 
+# _LT_LANG_F77_CONFIG([TAG])
12457
 
+# --------------------------
12458
 
+# Ensure that the configuration variables for a Fortran 77 compiler are
12459
 
+# suitably defined.  These variables are subsequently used by _LT_CONFIG
12460
 
+# to write the compiler configuration to `libtool'.
12461
 
+m4_defun([_LT_LANG_F77_CONFIG],
12462
 
+[AC_REQUIRE([_LT_PROG_F77])dnl
12463
 
+AC_LANG_PUSH(Fortran 77)
12464
 
+
12465
 
+_LT_TAGVAR(archive_cmds_need_lc, $1)=no
12466
 
+_LT_TAGVAR(allow_undefined_flag, $1)=
12467
 
+_LT_TAGVAR(always_export_symbols, $1)=no
12468
 
+_LT_TAGVAR(archive_expsym_cmds, $1)=
12469
 
+_LT_TAGVAR(export_dynamic_flag_spec, $1)=
12470
 
+_LT_TAGVAR(hardcode_direct, $1)=no
12471
 
+_LT_TAGVAR(hardcode_direct_absolute, $1)=no
12472
 
+_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
12473
 
+_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
12474
 
+_LT_TAGVAR(hardcode_libdir_separator, $1)=
12475
 
+_LT_TAGVAR(hardcode_minus_L, $1)=no
12476
 
+_LT_TAGVAR(hardcode_automatic, $1)=no
12477
 
+_LT_TAGVAR(inherit_rpath, $1)=no
12478
 
+_LT_TAGVAR(module_cmds, $1)=
12479
 
+_LT_TAGVAR(module_expsym_cmds, $1)=
12480
 
+_LT_TAGVAR(link_all_deplibs, $1)=unknown
12481
 
+_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
12482
 
+_LT_TAGVAR(no_undefined_flag, $1)=
12483
 
+_LT_TAGVAR(whole_archive_flag_spec, $1)=
12484
 
+_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
12485
 
+
12486
 
+# Source file extension for f77 test sources.
12487
 
+ac_ext=f
12488
 
+
12489
 
+# Object file extension for compiled f77 test sources.
12490
 
+objext=o
12491
 
+_LT_TAGVAR(objext, $1)=$objext
12492
 
+
12493
 
+# No sense in running all these tests if we already determined that
12494
 
+# the F77 compiler isn't working.  Some variables (like enable_shared)
12495
 
+# are currently assumed to apply to all compilers on this platform,
12496
 
+# and will be corrupted by setting them based on a non-working compiler.
12497
 
+if test "$_lt_disable_F77" != yes; then
12498
 
+  # Code to be used in simple compile tests
12499
 
+  lt_simple_compile_test_code="\
12500
 
+      subroutine t
12501
 
+      return
12502
 
+      end
12503
 
+"
12504
 
+
12505
 
+  # Code to be used in simple link tests
12506
 
+  lt_simple_link_test_code="\
12507
 
+      program t
12508
 
+      end
12509
 
+"
12510
 
+
12511
 
+  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12512
 
+  _LT_TAG_COMPILER
12513
 
+
12514
 
+  # save warnings/boilerplate of simple test code
12515
 
+  _LT_COMPILER_BOILERPLATE
12516
 
+  _LT_LINKER_BOILERPLATE
12517
 
+
12518
 
+  # Allow CC to be a program name with arguments.
12519
 
+  lt_save_CC="$CC"
12520
 
+  lt_save_GCC=$GCC
12521
 
+  CC=${F77-"f77"}
12522
 
+  compiler=$CC
12523
 
+  _LT_TAGVAR(compiler, $1)=$CC
12524
 
+  _LT_CC_BASENAME([$compiler])
12525
 
+  GCC=$G77
12526
 
+  if test -n "$compiler"; then
12527
 
+    AC_MSG_CHECKING([if libtool supports shared libraries])
12528
 
+    AC_MSG_RESULT([$can_build_shared])
12529
 
+
12530
 
+    AC_MSG_CHECKING([whether to build shared libraries])
12531
 
+    test "$can_build_shared" = "no" && enable_shared=no
12532
 
+
12533
 
+    # On AIX, shared libraries and static libraries use the same namespace, and
12534
 
+    # are all built from PIC.
12535
 
     case $host_os in
12536
 
+      aix3*)
12537
 
+        test "$enable_shared" = yes && enable_static=no
12538
 
+        if test -n "$RANLIB"; then
12539
 
+          archive_cmds="$archive_cmds~\$RANLIB \$lib"
12540
 
+          postinstall_cmds='$RANLIB $lib'
12541
 
+        fi
12542
 
+        ;;
12543
 
       aix[[4-9]]*)
12544
 
-       # All AIX code is PIC.
12545
 
-       if test "$host_cpu" = ia64; then
12546
 
-         # AIX 5 now supports IA64 processor
12547
 
-         _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
12548
 
-       else
12549
 
-         _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
12550
 
+       if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12551
 
+         test "$enable_shared" = yes && enable_static=no
12552
 
        fi
12553
 
-       ;;
12554
 
-      chorus*)
12555
 
-       case $cc_basename in
12556
 
-       cxch68*)
12557
 
-         # Green Hills C++ Compiler
12558
 
-         # _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
12559
 
-         ;;
12560
 
-       esac
12561
 
-       ;;
12562
 
-       darwin*)
12563
 
-         # PIC is the default on this platform
12564
 
-         # Common symbols not allowed in MH_DYLIB files
12565
 
-         case $cc_basename in
12566
 
-           xlc*)
12567
 
-           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon'
12568
 
-           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
12569
 
-           ;;
12570
 
-         esac
12571
 
-       ;;
12572
 
-      dgux*)
12573
 
-       case $cc_basename in
12574
 
-         ec++*)
12575
 
-           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
12576
 
-           ;;
12577
 
-         ghcx*)
12578
 
-           # Green Hills C++ Compiler
12579
 
-           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
12580
 
-           ;;
12581
 
-         *)
12582
 
-           ;;
12583
 
-       esac
12584
 
-       ;;
12585
 
-      freebsd* | dragonfly*)
12586
 
-       # FreeBSD uses GNU C++
12587
 
-       ;;
12588
 
-      hpux9* | hpux10* | hpux11*)
12589
 
-       case $cc_basename in
12590
 
-         CC*)
12591
 
-           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
12592
 
-           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
12593
 
-           if test "$host_cpu" != ia64; then
12594
 
-             _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
12595
 
-           fi
12596
 
-           ;;
12597
 
-         aCC*)
12598
 
-           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
12599
 
-           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
12600
 
-           case $host_cpu in
12601
 
-           hppa*64*|ia64*)
12602
 
-             # +Z the default
12603
 
-             ;;
12604
 
-           *)
12605
 
-             _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
12606
 
-             ;;
12607
 
-           esac
12608
 
-           ;;
12609
 
-         *)
12610
 
-           ;;
12611
 
-       esac
12612
 
-       ;;
12613
 
-      interix*)
12614
 
-       # This is c89, which is MS Visual C++ (no shared libs)
12615
 
-       # Anyone wants to do a port?
12616
 
-       ;;
12617
 
-      irix5* | irix6* | nonstopux*)
12618
 
-       case $cc_basename in
12619
 
-         CC*)
12620
 
-           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
12621
 
-           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
12622
 
-           # CC pic flag -KPIC is the default.
12623
 
-           ;;
12624
 
-         *)
12625
 
-           ;;
12626
 
-       esac
12627
 
-       ;;
12628
 
-      linux* | k*bsd*-gnu)
12629
 
-       case $cc_basename in
12630
 
-         KCC*)
12631
 
-           # KAI C++ Compiler
12632
 
-           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
12633
 
-           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
12634
 
-           ;;
12635
 
-         icpc* | ecpc*)
12636
 
-           # Intel C++
12637
 
-           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
12638
 
-           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
12639
 
-           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
12640
 
-           ;;
12641
 
-         pgCC* | pgcpp*)
12642
 
-           # Portland Group C++ compiler.
12643
 
-           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
12644
 
-           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
12645
 
-           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
12646
 
-           ;;
12647
 
-         cxx*)
12648
 
-           # Compaq C++
12649
 
-           # Make sure the PIC flag is empty.  It appears that all Alpha
12650
 
-           # Linux and Compaq Tru64 Unix objects are PIC.
12651
 
-           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
12652
 
-           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
12653
 
-           ;;
12654
 
-         *)
12655
 
-           case `$CC -V 2>&1 | sed 5q` in
12656
 
-           *Sun\ C*)
12657
 
-             # Sun C++ 5.9
12658
 
-             _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
12659
 
-             _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
12660
 
-             _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
12661
 
-             ;;
12662
 
-           esac
12663
 
-           ;;
12664
 
-       esac
12665
 
-       ;;
12666
 
-      lynxos*)
12667
 
-       ;;
12668
 
-      m88k*)
12669
 
-       ;;
12670
 
-      mvs*)
12671
 
-       case $cc_basename in
12672
 
-         cxx*)
12673
 
-           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
12674
 
-           ;;
12675
 
-         *)
12676
 
-           ;;
12677
 
-       esac
12678
 
-       ;;
12679
 
-      netbsd*)
12680
 
-       ;;
12681
 
-      osf3* | osf4* | osf5*)
12682
 
-       case $cc_basename in
12683
 
-         KCC*)
12684
 
-           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
12685
 
-           ;;
12686
 
-         RCC*)
12687
 
-           # Rational C++ 2.4.1
12688
 
-           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
12689
 
-           ;;
12690
 
-         cxx*)
12691
 
-           # Digital/Compaq C++
12692
 
-           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
12693
 
-           # Make sure the PIC flag is empty.  It appears that all Alpha
12694
 
-           # Linux and Compaq Tru64 Unix objects are PIC.
12695
 
-           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
12696
 
-           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
12697
 
-           ;;
12698
 
-         *)
12699
 
-           ;;
12700
 
-       esac
12701
 
-       ;;
12702
 
-      psos*)
12703
 
-       ;;
12704
 
-      solaris*)
12705
 
-       case $cc_basename in
12706
 
-         CC*)
12707
 
-           # Sun C++ 4.2, 5.x and Centerline C++
12708
 
-           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
12709
 
-           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
12710
 
-           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
12711
 
-           ;;
12712
 
-         gcx*)
12713
 
-           # Green Hills C++ Compiler
12714
 
-           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
12715
 
-           ;;
12716
 
-         *)
12717
 
-           ;;
12718
 
-       esac
12719
 
-       ;;
12720
 
-      sunos4*)
12721
 
-       case $cc_basename in
12722
 
-         CC*)
12723
 
-           # Sun C++ 4.x
12724
 
-           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
12725
 
-           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
12726
 
-           ;;
12727
 
-         lcc*)
12728
 
-           # Lucid
12729
 
-           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
12730
 
-           ;;
12731
 
-         *)
12732
 
-           ;;
12733
 
-       esac
12734
 
-       ;;
12735
 
-      tandem*)
12736
 
-       case $cc_basename in
12737
 
-         NCC*)
12738
 
-           # NonStop-UX NCC 3.20
12739
 
-           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
12740
 
-           ;;
12741
 
-         *)
12742
 
-           ;;
12743
 
-       esac
12744
 
-       ;;
12745
 
-      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
12746
 
-       case $cc_basename in
12747
 
-         CC*)
12748
 
-           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
12749
 
-           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
12750
 
-           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
12751
 
-           ;;
12752
 
-       esac
12753
 
-       ;;
12754
 
-      vxworks*)
12755
 
-       ;;
12756
 
-      *)
12757
 
-       _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
12758
 
-       ;;
12759
 
+        ;;
12760
 
     esac
12761
 
-  fi
12762
 
-],
12763
 
+    AC_MSG_RESULT([$enable_shared])
12764
 
+
12765
 
+    AC_MSG_CHECKING([whether to build static libraries])
12766
 
+    # Make sure either enable_shared or enable_static is yes.
12767
 
+    test "$enable_shared" = yes || enable_static=yes
12768
 
+    AC_MSG_RESULT([$enable_static])
12769
 
+
12770
 
+    _LT_TAGVAR(GCC, $1)="$G77"
12771
 
+    _LT_TAGVAR(LD, $1)="$LD"
12772
 
+
12773
 
+    ## CAVEAT EMPTOR:
12774
 
+    ## There is no encapsulation within the following macros, do not change
12775
 
+    ## the running order or otherwise move them around unless you know exactly
12776
 
+    ## what you are doing...
12777
 
+    _LT_COMPILER_PIC($1)
12778
 
+    _LT_COMPILER_C_O($1)
12779
 
+    _LT_COMPILER_FILE_LOCKS($1)
12780
 
+    _LT_LINKER_SHLIBS($1)
12781
 
+    _LT_SYS_DYNAMIC_LINKER($1)
12782
 
+    _LT_LINKER_HARDCODE_LIBPATH($1)
12783
 
+
12784
 
+    _LT_CONFIG($1)
12785
 
+  fi # test -n "$compiler"
12786
 
+
12787
 
+  GCC=$lt_save_GCC
12788
 
+  CC="$lt_save_CC"
12789
 
+fi # test "$_lt_disable_F77" != yes
12790
 
+
12791
 
+AC_LANG_POP
12792
 
+])# _LT_LANG_F77_CONFIG
12793
 
+
12794
 
+
12795
 
+# _LT_PROG_FC
12796
 
+# -----------
12797
 
+# Since AC_PROG_FC is broken, in that it returns the empty string
12798
 
+# if there is no fortran compiler, we have our own version here.
12799
 
+m4_defun([_LT_PROG_FC],
12800
 
 [
12801
 
-  if test "$GCC" = yes; then
12802
 
-    _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
12803
 
-    _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
12804
 
+pushdef([AC_MSG_ERROR], [_lt_disable_FC=yes])
12805
 
+AC_PROG_FC
12806
 
+if test -z "$FC" || test "X$FC" = "Xno"; then
12807
 
+  _lt_disable_FC=yes
12808
 
+fi
12809
 
+popdef([AC_MSG_ERROR])
12810
 
+])# _LT_PROG_FC
12811
 
+
12812
 
+dnl aclocal-1.4 backwards compatibility:
12813
 
+dnl AC_DEFUN([_LT_PROG_FC], [])
12814
 
+
12815
 
+
12816
 
+# _LT_LANG_FC_CONFIG([TAG])
12817
 
+# -------------------------
12818
 
+# Ensure that the configuration variables for a Fortran compiler are
12819
 
+# suitably defined.  These variables are subsequently used by _LT_CONFIG
12820
 
+# to write the compiler configuration to `libtool'.
12821
 
+m4_defun([_LT_LANG_FC_CONFIG],
12822
 
+[AC_REQUIRE([_LT_PROG_FC])dnl
12823
 
+AC_LANG_PUSH(Fortran)
12824
 
+
12825
 
+_LT_TAGVAR(archive_cmds_need_lc, $1)=no
12826
 
+_LT_TAGVAR(allow_undefined_flag, $1)=
12827
 
+_LT_TAGVAR(always_export_symbols, $1)=no
12828
 
+_LT_TAGVAR(archive_expsym_cmds, $1)=
12829
 
+_LT_TAGVAR(export_dynamic_flag_spec, $1)=
12830
 
+_LT_TAGVAR(hardcode_direct, $1)=no
12831
 
+_LT_TAGVAR(hardcode_direct_absolute, $1)=no
12832
 
+_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
12833
 
+_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
12834
 
+_LT_TAGVAR(hardcode_libdir_separator, $1)=
12835
 
+_LT_TAGVAR(hardcode_minus_L, $1)=no
12836
 
+_LT_TAGVAR(hardcode_automatic, $1)=no
12837
 
+_LT_TAGVAR(inherit_rpath, $1)=no
12838
 
+_LT_TAGVAR(module_cmds, $1)=
12839
 
+_LT_TAGVAR(module_expsym_cmds, $1)=
12840
 
+_LT_TAGVAR(link_all_deplibs, $1)=unknown
12841
 
+_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
12842
 
+_LT_TAGVAR(no_undefined_flag, $1)=
12843
 
+_LT_TAGVAR(whole_archive_flag_spec, $1)=
12844
 
+_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
12845
 
+
12846
 
+# Source file extension for fc test sources.
12847
 
+ac_ext=${ac_fc_srcext-f}
12848
 
+
12849
 
+# Object file extension for compiled fc test sources.
12850
 
+objext=o
12851
 
+_LT_TAGVAR(objext, $1)=$objext
12852
 
+
12853
 
+# No sense in running all these tests if we already determined that
12854
 
+# the FC compiler isn't working.  Some variables (like enable_shared)
12855
 
+# are currently assumed to apply to all compilers on this platform,
12856
 
+# and will be corrupted by setting them based on a non-working compiler.
12857
 
+if test "$_lt_disable_FC" != yes; then
12858
 
+  # Code to be used in simple compile tests
12859
 
+  lt_simple_compile_test_code="\
12860
 
+      subroutine t
12861
 
+      return
12862
 
+      end
12863
 
+"
12864
 
+
12865
 
+  # Code to be used in simple link tests
12866
 
+  lt_simple_link_test_code="\
12867
 
+      program t
12868
 
+      end
12869
 
+"
12870
 
+
12871
 
+  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12872
 
+  _LT_TAG_COMPILER
12873
 
+
12874
 
+  # save warnings/boilerplate of simple test code
12875
 
+  _LT_COMPILER_BOILERPLATE
12876
 
+  _LT_LINKER_BOILERPLATE
12877
 
+
12878
 
+  # Allow CC to be a program name with arguments.
12879
 
+  lt_save_CC="$CC"
12880
 
+  lt_save_GCC=$GCC
12881
 
+  CC=${FC-"f95"}
12882
 
+  compiler=$CC
12883
 
+  GCC=$ac_cv_fc_compiler_gnu
12884
 
+
12885
 
+  _LT_TAGVAR(compiler, $1)=$CC
12886
 
+  _LT_CC_BASENAME([$compiler])
12887
 
+
12888
 
+  if test -n "$compiler"; then
12889
 
+    AC_MSG_CHECKING([if libtool supports shared libraries])
12890
 
+    AC_MSG_RESULT([$can_build_shared])
12891
 
+
12892
 
+    AC_MSG_CHECKING([whether to build shared libraries])
12893
 
+    test "$can_build_shared" = "no" && enable_shared=no
12894
 
+
12895
 
+    # On AIX, shared libraries and static libraries use the same namespace, and
12896
 
+    # are all built from PIC.
12897
 
+    case $host_os in
12898
 
+      aix3*)
12899
 
+        test "$enable_shared" = yes && enable_static=no
12900
 
+        if test -n "$RANLIB"; then
12901
 
+          archive_cmds="$archive_cmds~\$RANLIB \$lib"
12902
 
+          postinstall_cmds='$RANLIB $lib'
12903
 
+        fi
12904
 
+        ;;
12905
 
+      aix[[4-9]]*)
12906
 
+       if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12907
 
+         test "$enable_shared" = yes && enable_static=no
12908
 
+       fi
12909
 
+        ;;
12910
 
+    esac
12911
 
+    AC_MSG_RESULT([$enable_shared])
12912
 
+
12913
 
+    AC_MSG_CHECKING([whether to build static libraries])
12914
 
+    # Make sure either enable_shared or enable_static is yes.
12915
 
+    test "$enable_shared" = yes || enable_static=yes
12916
 
+    AC_MSG_RESULT([$enable_static])
12917
 
+
12918
 
+    _LT_TAGVAR(GCC, $1)="$ac_cv_fc_compiler_gnu"
12919
 
+    _LT_TAGVAR(LD, $1)="$LD"
12920
 
+
12921
 
+    ## CAVEAT EMPTOR:
12922
 
+    ## There is no encapsulation within the following macros, do not change
12923
 
+    ## the running order or otherwise move them around unless you know exactly
12924
 
+    ## what you are doing...
12925
 
+    _LT_SYS_HIDDEN_LIBDEPS($1)
12926
 
+    _LT_COMPILER_PIC($1)
12927
 
+    _LT_COMPILER_C_O($1)
12928
 
+    _LT_COMPILER_FILE_LOCKS($1)
12929
 
+    _LT_LINKER_SHLIBS($1)
12930
 
+    _LT_SYS_DYNAMIC_LINKER($1)
12931
 
+    _LT_LINKER_HARDCODE_LIBPATH($1)
12932
 
+
12933
 
+    _LT_CONFIG($1)
12934
 
+  fi # test -n "$compiler"
12935
 
+
12936
 
+  GCC=$lt_save_GCC
12937
 
+  CC="$lt_save_CC"
12938
 
+fi # test "$_lt_disable_FC" != yes
12939
 
+
12940
 
+AC_LANG_POP
12941
 
+])# _LT_LANG_FC_CONFIG
12942
 
+
12943
 
+
12944
 
+# _LT_LANG_GCJ_CONFIG([TAG])
12945
 
+# --------------------------
12946
 
+# Ensure that the configuration variables for the GNU Java Compiler compiler
12947
 
+# are suitably defined.  These variables are subsequently used by _LT_CONFIG
12948
 
+# to write the compiler configuration to `libtool'.
12949
 
+m4_defun([_LT_LANG_GCJ_CONFIG],
12950
 
+[AC_REQUIRE([LT_PROG_GCJ])dnl
12951
 
+AC_LANG_SAVE
12952
 
+
12953
 
+# Source file extension for Java test sources.
12954
 
+ac_ext=java
12955
 
+
12956
 
+# Object file extension for compiled Java test sources.
12957
 
+objext=o
12958
 
+_LT_TAGVAR(objext, $1)=$objext
12959
 
+
12960
 
+# Code to be used in simple compile tests
12961
 
+lt_simple_compile_test_code="class foo {}"
12962
 
+
12963
 
+# Code to be used in simple link tests
12964
 
+lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }'
12965
 
+
12966
 
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
12967
 
+_LT_TAG_COMPILER
12968
 
+
12969
 
+# save warnings/boilerplate of simple test code
12970
 
+_LT_COMPILER_BOILERPLATE
12971
 
+_LT_LINKER_BOILERPLATE
12972
 
+
12973
 
+# Allow CC to be a program name with arguments.
12974
 
+lt_save_CC="$CC"
12975
 
+lt_save_GCC=$GCC
12976
 
+GCC=yes
12977
 
+CC=${GCJ-"gcj"}
12978
 
+compiler=$CC
12979
 
+_LT_TAGVAR(compiler, $1)=$CC
12980
 
+_LT_TAGVAR(LD, $1)="$LD"
12981
 
+_LT_CC_BASENAME([$compiler])
12982
 
+
12983
 
+# GCJ did not exist at the time GCC didn't implicitly link libc in.
12984
 
+_LT_TAGVAR(archive_cmds_need_lc, $1)=no
12985
 
+
12986
 
+_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
12987
 
+
12988
 
+if test -n "$compiler"; then
12989
 
+  _LT_COMPILER_NO_RTTI($1)
12990
 
+  _LT_COMPILER_PIC($1)
12991
 
+  _LT_COMPILER_C_O($1)
12992
 
+  _LT_COMPILER_FILE_LOCKS($1)
12993
 
+  _LT_LINKER_SHLIBS($1)
12994
 
+  _LT_LINKER_HARDCODE_LIBPATH($1)
12995
 
+
12996
 
+  _LT_CONFIG($1)
12997
 
+fi
12998
 
+
12999
 
+AC_LANG_RESTORE
13000
 
+
13001
 
+GCC=$lt_save_GCC
13002
 
+CC="$lt_save_CC"
13003
 
+])# _LT_LANG_GCJ_CONFIG
13004
 
+
13005
 
+
13006
 
+# _LT_LANG_RC_CONFIG([TAG])
13007
 
+# -------------------------
13008
 
+# Ensure that the configuration variables for the Windows resource compiler
13009
 
+# are suitably defined.  These variables are subsequently used by _LT_CONFIG
13010
 
+# to write the compiler configuration to `libtool'.
13011
 
+m4_defun([_LT_LANG_RC_CONFIG],
13012
 
+[AC_REQUIRE([LT_PROG_RC])dnl
13013
 
+AC_LANG_SAVE
13014
 
+
13015
 
+# Source file extension for RC test sources.
13016
 
+ac_ext=rc
13017
 
+
13018
 
+# Object file extension for compiled RC test sources.
13019
 
+objext=o
13020
 
+_LT_TAGVAR(objext, $1)=$objext
13021
 
+
13022
 
+# Code to be used in simple compile tests
13023
 
+lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
13024
 
+
13025
 
+# Code to be used in simple link tests
13026
 
+lt_simple_link_test_code="$lt_simple_compile_test_code"
13027
 
+
13028
 
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
13029
 
+_LT_TAG_COMPILER
13030
 
+
13031
 
+# save warnings/boilerplate of simple test code
13032
 
+_LT_COMPILER_BOILERPLATE
13033
 
+_LT_LINKER_BOILERPLATE
13034
 
+
13035
 
+# Allow CC to be a program name with arguments.
13036
 
+lt_save_CC="$CC"
13037
 
+lt_save_GCC=$GCC
13038
 
+GCC=
13039
 
+CC=${RC-"windres"}
13040
 
+compiler=$CC
13041
 
+_LT_TAGVAR(compiler, $1)=$CC
13042
 
+_LT_CC_BASENAME([$compiler])
13043
 
+_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
13044
 
+
13045
 
+if test -n "$compiler"; then
13046
 
+  :
13047
 
+  _LT_CONFIG($1)
13048
 
+fi
13049
 
+
13050
 
+GCC=$lt_save_GCC
13051
 
+AC_LANG_RESTORE
13052
 
+CC="$lt_save_CC"
13053
 
+])# _LT_LANG_RC_CONFIG
13054
 
+
13055
 
+
13056
 
+# LT_PROG_GCJ
13057
 
+# -----------
13058
 
+AC_DEFUN([LT_PROG_GCJ],
13059
 
+[m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ],
13060
 
+  [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ],
13061
 
+    [AC_CHECK_TOOL(GCJ, gcj,)
13062
 
+      test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
13063
 
+      AC_SUBST(GCJFLAGS)])])[]dnl
13064
 
+])
13065
 
+
13066
 
+# Old name:
13067
 
+AU_ALIAS([LT_AC_PROG_GCJ], [LT_PROG_GCJ])
13068
 
+dnl aclocal-1.4 backwards compatibility:
13069
 
+dnl AC_DEFUN([LT_AC_PROG_GCJ], [])
13070
 
+
13071
 
+
13072
 
+# LT_PROG_RC
13073
 
+# ----------
13074
 
+AC_DEFUN([LT_PROG_RC],
13075
 
+[AC_CHECK_TOOL(RC, windres,)
13076
 
+])
13077
 
+
13078
 
+# Old name:
13079
 
+AU_ALIAS([LT_AC_PROG_RC], [LT_PROG_RC])
13080
 
+dnl aclocal-1.4 backwards compatibility:
13081
 
+dnl AC_DEFUN([LT_AC_PROG_RC], [])
13082
 
+
13083
 
+
13084
 
+# _LT_DECL_EGREP
13085
 
+# --------------
13086
 
+# If we don't have a new enough Autoconf to choose the best grep
13087
 
+# available, choose the one first in the user's PATH.
13088
 
+m4_defun([_LT_DECL_EGREP],
13089
 
+[AC_REQUIRE([AC_PROG_EGREP])dnl
13090
 
+AC_REQUIRE([AC_PROG_FGREP])dnl
13091
 
+test -z "$GREP" && GREP=grep
13092
 
+_LT_DECL([], [GREP], [1], [A grep program that handles long lines])
13093
 
+_LT_DECL([], [EGREP], [1], [An ERE matcher])
13094
 
+_LT_DECL([], [FGREP], [1], [A literal string matcher])
13095
 
+dnl Non-bleeding-edge autoconf doesn't subst GREP, so do it here too
13096
 
+AC_SUBST([GREP])
13097
 
+])
13098
 
+
13099
 
+
13100
 
+# _LT_DECL_OBJDUMP
13101
 
+# --------------
13102
 
+# If we don't have a new enough Autoconf to choose the best objdump
13103
 
+# available, choose the one first in the user's PATH.
13104
 
+m4_defun([_LT_DECL_OBJDUMP],
13105
 
+[AC_CHECK_TOOL(OBJDUMP, objdump, false)
13106
 
+test -z "$OBJDUMP" && OBJDUMP=objdump
13107
 
+_LT_DECL([], [OBJDUMP], [1], [An object symbol dumper])
13108
 
+AC_SUBST([OBJDUMP])
13109
 
+])
13110
 
+
13111
 
+
13112
 
+# _LT_DECL_SED
13113
 
+# ------------
13114
 
+# Check for a fully-functional sed program, that truncates
13115
 
+# as few characters as possible.  Prefer GNU sed if found.
13116
 
+m4_defun([_LT_DECL_SED],
13117
 
+[AC_PROG_SED
13118
 
+test -z "$SED" && SED=sed
13119
 
+Xsed="$SED -e 1s/^X//"
13120
 
+_LT_DECL([], [SED], [1], [A sed program that does not truncate output])
13121
 
+_LT_DECL([], [Xsed], ["\$SED -e 1s/^X//"],
13122
 
+    [Sed that helps us avoid accidentally triggering echo(1) options like -n])
13123
 
+])# _LT_DECL_SED
13124
 
+
13125
 
+m4_ifndef([AC_PROG_SED], [
13126
 
+# NOTE: This macro has been submitted for inclusion into   #
13127
 
+#  GNU Autoconf as AC_PROG_SED.  When it is available in   #
13128
 
+#  a released version of Autoconf we should remove this    #
13129
 
+#  macro and use it instead.                               #
13130
 
+
13131
 
+m4_defun([AC_PROG_SED],
13132
 
+[AC_MSG_CHECKING([for a sed that does not truncate output])
13133
 
+AC_CACHE_VAL(lt_cv_path_SED,
13134
 
+[# Loop through the user's path and test for sed and gsed.
13135
 
+# Then use that list of sed's as ones to test for truncation.
13136
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13137
 
+for as_dir in $PATH
13138
 
+do
13139
 
+  IFS=$as_save_IFS
13140
 
+  test -z "$as_dir" && as_dir=.
13141
 
+  for lt_ac_prog in sed gsed; do
13142
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
13143
 
+      if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
13144
 
+        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
13145
 
+      fi
13146
 
+    done
13147
 
+  done
13148
 
+done
13149
 
+IFS=$as_save_IFS
13150
 
+lt_ac_max=0
13151
 
+lt_ac_count=0
13152
 
+# Add /usr/xpg4/bin/sed as it is typically found on Solaris
13153
 
+# along with /bin/sed that truncates output.
13154
 
+for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
13155
 
+  test ! -f $lt_ac_sed && continue
13156
 
+  cat /dev/null > conftest.in
13157
 
+  lt_ac_count=0
13158
 
+  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
13159
 
+  # Check for GNU sed and select it if it is found.
13160
 
+  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
13161
 
+    lt_cv_path_SED=$lt_ac_sed
13162
 
+    break
13163
 
+  fi
13164
 
+  while true; do
13165
 
+    cat conftest.in conftest.in >conftest.tmp
13166
 
+    mv conftest.tmp conftest.in
13167
 
+    cp conftest.in conftest.nl
13168
 
+    echo >>conftest.nl
13169
 
+    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
13170
 
+    cmp -s conftest.out conftest.nl || break
13171
 
+    # 10000 chars as input seems more than enough
13172
 
+    test $lt_ac_count -gt 10 && break
13173
 
+    lt_ac_count=`expr $lt_ac_count + 1`
13174
 
+    if test $lt_ac_count -gt $lt_ac_max; then
13175
 
+      lt_ac_max=$lt_ac_count
13176
 
+      lt_cv_path_SED=$lt_ac_sed
13177
 
+    fi
13178
 
+  done
13179
 
+done
13180
 
+])
13181
 
+SED=$lt_cv_path_SED
13182
 
+AC_SUBST([SED])
13183
 
+AC_MSG_RESULT([$SED])
13184
 
+])#AC_PROG_SED
13185
 
+])#m4_ifndef
13186
 
+
13187
 
+# Old name:
13188
 
+AU_ALIAS([LT_AC_PROG_SED], [AC_PROG_SED])
13189
 
+dnl aclocal-1.4 backwards compatibility:
13190
 
+dnl AC_DEFUN([LT_AC_PROG_SED], [])
13191
 
+
13192
 
+
13193
 
+# _LT_CHECK_SHELL_FEATURES
13194
 
+# ------------------------
13195
 
+# Find out whether the shell is Bourne or XSI compatible,
13196
 
+# or has some other useful features.
13197
 
+m4_defun([_LT_CHECK_SHELL_FEATURES],
13198
 
+[AC_MSG_CHECKING([whether the shell understands some XSI constructs])
13199
 
+# Try some XSI features
13200
 
+xsi_shell=no
13201
 
+( _lt_dummy="a/b/c"
13202
 
+  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
13203
 
+      = c,a/b,, \
13204
 
+    && eval 'test $(( 1 + 1 )) -eq 2 \
13205
 
+    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
13206
 
+  && xsi_shell=yes
13207
 
+AC_MSG_RESULT([$xsi_shell])
13208
 
+_LT_CONFIG_LIBTOOL_INIT([xsi_shell='$xsi_shell'])
13209
 
+
13210
 
+AC_MSG_CHECKING([whether the shell understands "+="])
13211
 
+lt_shell_append=no
13212
 
+( foo=bar; set foo baz; eval "$[1]+=\$[2]" && test "$foo" = barbaz ) \
13213
 
+    >/dev/null 2>&1 \
13214
 
+  && lt_shell_append=yes
13215
 
+AC_MSG_RESULT([$lt_shell_append])
13216
 
+_LT_CONFIG_LIBTOOL_INIT([lt_shell_append='$lt_shell_append'])
13217
 
+
13218
 
+if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
13219
 
+  lt_unset=unset
13220
 
+else
13221
 
+  lt_unset=false
13222
 
+fi
13223
 
+_LT_DECL([], [lt_unset], [0], [whether the shell understands "unset"])dnl
13224
 
+
13225
 
+# test EBCDIC or ASCII
13226
 
+case `echo X|tr X '\101'` in
13227
 
+ A) # ASCII based system
13228
 
+    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
13229
 
+  lt_SP2NL='tr \040 \012'
13230
 
+  lt_NL2SP='tr \015\012 \040\040'
13231
 
+  ;;
13232
 
+ *) # EBCDIC based system
13233
 
+  lt_SP2NL='tr \100 \n'
13234
 
+  lt_NL2SP='tr \r\n \100\100'
13235
 
+  ;;
13236
 
+esac
13237
 
+_LT_DECL([SP2NL], [lt_SP2NL], [1], [turn spaces into newlines])dnl
13238
 
+_LT_DECL([NL2SP], [lt_NL2SP], [1], [turn newlines into spaces])dnl
13239
 
+])# _LT_CHECK_SHELL_FEATURES
13240
 
+
13241
 
+
13242
 
+# _LT_PROG_XSI_SHELLFNS
13243
 
+# ---------------------
13244
 
+# Bourne and XSI compatible variants of some useful shell functions.
13245
 
+m4_defun([_LT_PROG_XSI_SHELLFNS],
13246
 
+[case $xsi_shell in
13247
 
+  yes)
13248
 
+    cat << \_LT_EOF >> "$cfgfile"
13249
 
+
13250
 
+# func_dirname file append nondir_replacement
13251
 
+# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
13252
 
+# otherwise set result to NONDIR_REPLACEMENT.
13253
 
+func_dirname ()
13254
 
+{
13255
 
+  case ${1} in
13256
 
+    */*) func_dirname_result="${1%/*}${2}" ;;
13257
 
+    *  ) func_dirname_result="${3}" ;;
13258
 
+  esac
13259
 
+}
13260
 
+
13261
 
+# func_basename file
13262
 
+func_basename ()
13263
 
+{
13264
 
+  func_basename_result="${1##*/}"
13265
 
+}
13266
 
+
13267
 
+# func_dirname_and_basename file append nondir_replacement
13268
 
+# perform func_basename and func_dirname in a single function
13269
 
+# call:
13270
 
+#   dirname:  Compute the dirname of FILE.  If nonempty,
13271
 
+#             add APPEND to the result, otherwise set result
13272
 
+#             to NONDIR_REPLACEMENT.
13273
 
+#             value returned in "$func_dirname_result"
13274
 
+#   basename: Compute filename of FILE.
13275
 
+#             value retuned in "$func_basename_result"
13276
 
+# Implementation must be kept synchronized with func_dirname
13277
 
+# and func_basename. For efficiency, we do not delegate to
13278
 
+# those functions but instead duplicate the functionality here.
13279
 
+func_dirname_and_basename ()
13280
 
+{
13281
 
+  case ${1} in
13282
 
+    */*) func_dirname_result="${1%/*}${2}" ;;
13283
 
+    *  ) func_dirname_result="${3}" ;;
13284
 
+  esac
13285
 
+  func_basename_result="${1##*/}"
13286
 
+}
13287
 
+
13288
 
+# func_stripname prefix suffix name
13289
 
+# strip PREFIX and SUFFIX off of NAME.
13290
 
+# PREFIX and SUFFIX must not contain globbing or regex special
13291
 
+# characters, hashes, percent signs, but SUFFIX may contain a leading
13292
 
+# dot (in which case that matches only a dot).
13293
 
+func_stripname ()
13294
 
+{
13295
 
+  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
13296
 
+  # positional parameters, so assign one to ordinary parameter first.
13297
 
+  func_stripname_result=${3}
13298
 
+  func_stripname_result=${func_stripname_result#"${1}"}
13299
 
+  func_stripname_result=${func_stripname_result%"${2}"}
13300
 
+}
13301
 
+
13302
 
+# func_opt_split
13303
 
+func_opt_split ()
13304
 
+{
13305
 
+  func_opt_split_opt=${1%%=*}
13306
 
+  func_opt_split_arg=${1#*=}
13307
 
+}
13308
 
+
13309
 
+# func_lo2o object
13310
 
+func_lo2o ()
13311
 
+{
13312
 
+  case ${1} in
13313
 
+    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
13314
 
+    *)    func_lo2o_result=${1} ;;
13315
 
+  esac
13316
 
+}
13317
 
+
13318
 
+# func_xform libobj-or-source
13319
 
+func_xform ()
13320
 
+{
13321
 
+  func_xform_result=${1%.*}.lo
13322
 
+}
13323
 
+
13324
 
+# func_arith arithmetic-term...
13325
 
+func_arith ()
13326
 
+{
13327
 
+  func_arith_result=$(( $[*] ))
13328
 
+}
13329
 
+
13330
 
+# func_len string
13331
 
+# STRING may not start with a hyphen.
13332
 
+func_len ()
13333
 
+{
13334
 
+  func_len_result=${#1}
13335
 
+}
13336
 
+
13337
 
+_LT_EOF
13338
 
+    ;;
13339
 
+  *) # Bourne compatible functions.
13340
 
+    cat << \_LT_EOF >> "$cfgfile"
13341
 
+
13342
 
+# func_dirname file append nondir_replacement
13343
 
+# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
13344
 
+# otherwise set result to NONDIR_REPLACEMENT.
13345
 
+func_dirname ()
13346
 
+{
13347
 
+  # Extract subdirectory from the argument.
13348
 
+  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
13349
 
+  if test "X$func_dirname_result" = "X${1}"; then
13350
 
+    func_dirname_result="${3}"
13351
 
+  else
13352
 
+    func_dirname_result="$func_dirname_result${2}"
13353
 
+  fi
13354
 
+}
13355
 
+
13356
 
+# func_basename file
13357
 
+func_basename ()
13358
 
+{
13359
 
+  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
13360
 
+}
13361
 
+
13362
 
+dnl func_dirname_and_basename
13363
 
+dnl A portable version of this function is already defined in general.m4sh
13364
 
+dnl so there is no need for it here.
13365
 
+
13366
 
+# func_stripname prefix suffix name
13367
 
+# strip PREFIX and SUFFIX off of NAME.
13368
 
+# PREFIX and SUFFIX must not contain globbing or regex special
13369
 
+# characters, hashes, percent signs, but SUFFIX may contain a leading
13370
 
+# dot (in which case that matches only a dot).
13371
 
+# func_strip_suffix prefix name
13372
 
+func_stripname ()
13373
 
+{
13374
 
+  case ${2} in
13375
 
+    .*) func_stripname_result=`$ECHO "X${3}" \
13376
 
+           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
13377
 
+    *)  func_stripname_result=`$ECHO "X${3}" \
13378
 
+           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
13379
 
+  esac
13380
 
+}
13381
 
+
13382
 
+# sed scripts:
13383
 
+my_sed_long_opt='1s/^\(-[[^=]]*\)=.*/\1/;q'
13384
 
+my_sed_long_arg='1s/^-[[^=]]*=//'
13385
 
+
13386
 
+# func_opt_split
13387
 
+func_opt_split ()
13388
 
+{
13389
 
+  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
13390
 
+  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
13391
 
+}
13392
 
+
13393
 
+# func_lo2o object
13394
 
+func_lo2o ()
13395
 
+{
13396
 
+  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
13397
 
+}
13398
 
+
13399
 
+# func_xform libobj-or-source
13400
 
+func_xform ()
13401
 
+{
13402
 
+  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[[^.]]*$/.lo/'`
13403
 
+}
13404
 
+
13405
 
+# func_arith arithmetic-term...
13406
 
+func_arith ()
13407
 
+{
13408
 
+  func_arith_result=`expr "$[@]"`
13409
 
+}
13410
 
+
13411
 
+# func_len string
13412
 
+# STRING may not start with a hyphen.
13413
 
+func_len ()
13414
 
+{
13415
 
+  func_len_result=`expr "$[1]" : ".*" 2>/dev/null || echo $max_cmd_len`
13416
 
+}
13417
 
+
13418
 
+_LT_EOF
13419
 
+esac
13420
 
+
13421
 
+case $lt_shell_append in
13422
 
+  yes)
13423
 
+    cat << \_LT_EOF >> "$cfgfile"
13424
 
+
13425
 
+# func_append var value
13426
 
+# Append VALUE to the end of shell variable VAR.
13427
 
+func_append ()
13428
 
+{
13429
 
+  eval "$[1]+=\$[2]"
13430
 
+}
13431
 
+_LT_EOF
13432
 
+    ;;
13433
 
+  *)
13434
 
+    cat << \_LT_EOF >> "$cfgfile"
13435
 
+
13436
 
+# func_append var value
13437
 
+# Append VALUE to the end of shell variable VAR.
13438
 
+func_append ()
13439
 
+{
13440
 
+  eval "$[1]=\$$[1]\$[2]"
13441
 
+}
13442
 
+
13443
 
+_LT_EOF
13444
 
+    ;;
13445
 
+  esac
13446
 
+])
13447
 
+
13448
 
+# Helper functions for option handling.                    -*- Autoconf -*-
13449
 
+#
13450
 
+#   Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
13451
 
+#   Written by Gary V. Vaughan, 2004
13452
 
+#
13453
 
+# This file is free software; the Free Software Foundation gives
13454
 
+# unlimited permission to copy and/or distribute it, with or without
13455
 
+# modifications, as long as this notice is preserved.
13456
 
+
13457
 
+# serial 6 ltoptions.m4
13458
 
+
13459
 
+# This is to help aclocal find these macros, as it can't see m4_define.
13460
 
+AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
13461
 
+
13462
 
+
13463
 
+# _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME)
13464
 
+# ------------------------------------------
13465
 
+m4_define([_LT_MANGLE_OPTION],
13466
 
+[[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])])
13467
 
+
13468
 
+
13469
 
+# _LT_SET_OPTION(MACRO-NAME, OPTION-NAME)
13470
 
+# ---------------------------------------
13471
 
+# Set option OPTION-NAME for macro MACRO-NAME, and if there is a
13472
 
+# matching handler defined, dispatch to it.  Other OPTION-NAMEs are
13473
 
+# saved as a flag.
13474
 
+m4_define([_LT_SET_OPTION],
13475
 
+[m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl
13476
 
+m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]),
13477
 
+        _LT_MANGLE_DEFUN([$1], [$2]),
13478
 
+    [m4_warning([Unknown $1 option `$2'])])[]dnl
13479
 
+])
13480
 
+
13481
 
+
13482
 
+# _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET])
13483
 
+# ------------------------------------------------------------
13484
 
+# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
13485
 
+m4_define([_LT_IF_OPTION],
13486
 
+[m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])])
13487
 
+
13488
 
+
13489
 
+# _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET)
13490
 
+# -------------------------------------------------------
13491
 
+# Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME
13492
 
+# are set.
13493
 
+m4_define([_LT_UNLESS_OPTIONS],
13494
 
+[m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
13495
 
+           [m4_ifdef(_LT_MANGLE_OPTION([$1], _LT_Option),
13496
 
+                     [m4_define([$0_found])])])[]dnl
13497
 
+m4_ifdef([$0_found], [m4_undefine([$0_found])], [$3
13498
 
+])[]dnl
13499
 
+])
13500
 
+
13501
 
+
13502
 
+# _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST)
13503
 
+# ----------------------------------------
13504
 
+# OPTION-LIST is a space-separated list of Libtool options associated
13505
 
+# with MACRO-NAME.  If any OPTION has a matching handler declared with
13506
 
+# LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about
13507
 
+# the unknown option and exit.
13508
 
+m4_defun([_LT_SET_OPTIONS],
13509
 
+[# Set options
13510
 
+m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
13511
 
+    [_LT_SET_OPTION([$1], _LT_Option)])
13512
 
+
13513
 
+m4_if([$1],[LT_INIT],[
13514
 
+  dnl
13515
 
+  dnl Simply set some default values (i.e off) if boolean options were not
13516
 
+  dnl specified:
13517
 
+  _LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no
13518
 
+  ])
13519
 
+  _LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no
13520
 
+  ])
13521
 
+  dnl
13522
 
+  dnl If no reference was made to various pairs of opposing options, then
13523
 
+  dnl we run the default mode handler for the pair.  For example, if neither
13524
 
+  dnl `shared' nor `disable-shared' was passed, we enable building of shared
13525
 
+  dnl archives by default:
13526
 
+  _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED])
13527
 
+  _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC])
13528
 
+  _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC])
13529
 
+  _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install],
13530
 
+                  [_LT_ENABLE_FAST_INSTALL])
13531
 
+  ])
13532
 
+])# _LT_SET_OPTIONS
13533
 
+
13534
 
+
13535
 
+
13536
 
+# _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME)
13537
 
+# -----------------------------------------
13538
 
+m4_define([_LT_MANGLE_DEFUN],
13539
 
+[[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])])
13540
 
+
13541
 
+
13542
 
+# LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE)
13543
 
+# -----------------------------------------------
13544
 
+m4_define([LT_OPTION_DEFINE],
13545
 
+[m4_define(_LT_MANGLE_DEFUN([$1], [$2]), [$3])[]dnl
13546
 
+])# LT_OPTION_DEFINE
13547
 
+
13548
 
+
13549
 
+# dlopen
13550
 
+# ------
13551
 
+LT_OPTION_DEFINE([LT_INIT], [dlopen], [enable_dlopen=yes
13552
 
+])
13553
 
+
13554
 
+AU_DEFUN([AC_LIBTOOL_DLOPEN],
13555
 
+[_LT_SET_OPTION([LT_INIT], [dlopen])
13556
 
+AC_DIAGNOSE([obsolete],
13557
 
+[$0: Remove this warning and the call to _LT_SET_OPTION when you
13558
 
+put the `dlopen' option into LT_INIT's first parameter.])
13559
 
+])
13560
 
+
13561
 
+dnl aclocal-1.4 backwards compatibility:
13562
 
+dnl AC_DEFUN([AC_LIBTOOL_DLOPEN], [])
13563
 
+
13564
 
+
13565
 
+# win32-dll
13566
 
+# ---------
13567
 
+# Declare package support for building win32 dll's.
13568
 
+LT_OPTION_DEFINE([LT_INIT], [win32-dll],
13569
 
+[enable_win32_dll=yes
13570
 
+
13571
 
+case $host in
13572
 
+*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
13573
 
+  AC_CHECK_TOOL(AS, as, false)
13574
 
+  AC_CHECK_TOOL(DLLTOOL, dlltool, false)
13575
 
+  AC_CHECK_TOOL(OBJDUMP, objdump, false)
13576
 
+  ;;
13577
 
+esac
13578
 
+
13579
 
+test -z "$AS" && AS=as
13580
 
+_LT_DECL([], [AS],      [0], [Assembler program])dnl
13581
 
+
13582
 
+test -z "$DLLTOOL" && DLLTOOL=dlltool
13583
 
+_LT_DECL([], [DLLTOOL], [0], [DLL creation program])dnl
13584
 
+
13585
 
+test -z "$OBJDUMP" && OBJDUMP=objdump
13586
 
+_LT_DECL([], [OBJDUMP], [0], [Object dumper program])dnl
13587
 
+])# win32-dll
13588
 
+
13589
 
+AU_DEFUN([AC_LIBTOOL_WIN32_DLL],
13590
 
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
13591
 
+_LT_SET_OPTION([LT_INIT], [win32-dll])
13592
 
+AC_DIAGNOSE([obsolete],
13593
 
+[$0: Remove this warning and the call to _LT_SET_OPTION when you
13594
 
+put the `win32-dll' option into LT_INIT's first parameter.])
13595
 
+])
13596
 
+
13597
 
+dnl aclocal-1.4 backwards compatibility:
13598
 
+dnl AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [])
13599
 
+
13600
 
+
13601
 
+# _LT_ENABLE_SHARED([DEFAULT])
13602
 
+# ----------------------------
13603
 
+# implement the --enable-shared flag, and supports the `shared' and
13604
 
+# `disable-shared' LT_INIT options.
13605
 
+# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
13606
 
+m4_define([_LT_ENABLE_SHARED],
13607
 
+[m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl
13608
 
+AC_ARG_ENABLE([shared],
13609
 
+    [AS_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
13610
 
+       [build shared libraries @<:@default=]_LT_ENABLE_SHARED_DEFAULT[@:>@])],
13611
 
+    [p=${PACKAGE-default}
13612
 
+    case $enableval in
13613
 
+    yes) enable_shared=yes ;;
13614
 
+    no) enable_shared=no ;;
13615
 
+    *)
13616
 
+      enable_shared=no
13617
 
+      # Look at the argument we got.  We use all the common list separators.
13618
 
+      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
13619
 
+      for pkg in $enableval; do
13620
 
+       IFS="$lt_save_ifs"
13621
 
+       if test "X$pkg" = "X$p"; then
13622
 
+         enable_shared=yes
13623
 
+       fi
13624
 
+      done
13625
 
+      IFS="$lt_save_ifs"
13626
 
+      ;;
13627
 
+    esac],
13628
 
+    [enable_shared=]_LT_ENABLE_SHARED_DEFAULT)
13629
 
+
13630
 
+    _LT_DECL([build_libtool_libs], [enable_shared], [0],
13631
 
+       [Whether or not to build shared libraries])
13632
 
+])# _LT_ENABLE_SHARED
13633
 
+
13634
 
+LT_OPTION_DEFINE([LT_INIT], [shared], [_LT_ENABLE_SHARED([yes])])
13635
 
+LT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])])
13636
 
+
13637
 
+# Old names:
13638
 
+AC_DEFUN([AC_ENABLE_SHARED],
13639
 
+[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared])
13640
 
+])
13641
 
+
13642
 
+AC_DEFUN([AC_DISABLE_SHARED],
13643
 
+[_LT_SET_OPTION([LT_INIT], [disable-shared])
13644
 
+])
13645
 
+
13646
 
+AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
13647
 
+AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
13648
 
+
13649
 
+dnl aclocal-1.4 backwards compatibility:
13650
 
+dnl AC_DEFUN([AM_ENABLE_SHARED], [])
13651
 
+dnl AC_DEFUN([AM_DISABLE_SHARED], [])
13652
 
+
13653
 
+
13654
 
+
13655
 
+# _LT_ENABLE_STATIC([DEFAULT])
13656
 
+# ----------------------------
13657
 
+# implement the --enable-static flag, and support the `static' and
13658
 
+# `disable-static' LT_INIT options.
13659
 
+# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
13660
 
+m4_define([_LT_ENABLE_STATIC],
13661
 
+[m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl
13662
 
+AC_ARG_ENABLE([static],
13663
 
+    [AS_HELP_STRING([--enable-static@<:@=PKGS@:>@],
13664
 
+       [build static libraries @<:@default=]_LT_ENABLE_STATIC_DEFAULT[@:>@])],
13665
 
+    [p=${PACKAGE-default}
13666
 
+    case $enableval in
13667
 
+    yes) enable_static=yes ;;
13668
 
+    no) enable_static=no ;;
13669
 
+    *)
13670
 
+     enable_static=no
13671
 
+      # Look at the argument we got.  We use all the common list separators.
13672
 
+      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
13673
 
+      for pkg in $enableval; do
13674
 
+       IFS="$lt_save_ifs"
13675
 
+       if test "X$pkg" = "X$p"; then
13676
 
+         enable_static=yes
13677
 
+       fi
13678
 
+      done
13679
 
+      IFS="$lt_save_ifs"
13680
 
+      ;;
13681
 
+    esac],
13682
 
+    [enable_static=]_LT_ENABLE_STATIC_DEFAULT)
13683
 
+
13684
 
+    _LT_DECL([build_old_libs], [enable_static], [0],
13685
 
+       [Whether or not to build static libraries])
13686
 
+])# _LT_ENABLE_STATIC
13687
 
+
13688
 
+LT_OPTION_DEFINE([LT_INIT], [static], [_LT_ENABLE_STATIC([yes])])
13689
 
+LT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])])
13690
 
+
13691
 
+# Old names:
13692
 
+AC_DEFUN([AC_ENABLE_STATIC],
13693
 
+[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static])
13694
 
+])
13695
 
+
13696
 
+AC_DEFUN([AC_DISABLE_STATIC],
13697
 
+[_LT_SET_OPTION([LT_INIT], [disable-static])
13698
 
+])
13699
 
+
13700
 
+AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
13701
 
+AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
13702
 
+
13703
 
+dnl aclocal-1.4 backwards compatibility:
13704
 
+dnl AC_DEFUN([AM_ENABLE_STATIC], [])
13705
 
+dnl AC_DEFUN([AM_DISABLE_STATIC], [])
13706
 
+
13707
 
+
13708
 
+
13709
 
+# _LT_ENABLE_FAST_INSTALL([DEFAULT])
13710
 
+# ----------------------------------
13711
 
+# implement the --enable-fast-install flag, and support the `fast-install'
13712
 
+# and `disable-fast-install' LT_INIT options.
13713
 
+# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
13714
 
+m4_define([_LT_ENABLE_FAST_INSTALL],
13715
 
+[m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl
13716
 
+AC_ARG_ENABLE([fast-install],
13717
 
+    [AS_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
13718
 
+    [optimize for fast installation @<:@default=]_LT_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
13719
 
+    [p=${PACKAGE-default}
13720
 
+    case $enableval in
13721
 
+    yes) enable_fast_install=yes ;;
13722
 
+    no) enable_fast_install=no ;;
13723
 
+    *)
13724
 
+      enable_fast_install=no
13725
 
+      # Look at the argument we got.  We use all the common list separators.
13726
 
+      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
13727
 
+      for pkg in $enableval; do
13728
 
+       IFS="$lt_save_ifs"
13729
 
+       if test "X$pkg" = "X$p"; then
13730
 
+         enable_fast_install=yes
13731
 
+       fi
13732
 
+      done
13733
 
+      IFS="$lt_save_ifs"
13734
 
+      ;;
13735
 
+    esac],
13736
 
+    [enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT)
13737
 
+
13738
 
+_LT_DECL([fast_install], [enable_fast_install], [0],
13739
 
+        [Whether or not to optimize for fast installation])dnl
13740
 
+])# _LT_ENABLE_FAST_INSTALL
13741
 
+
13742
 
+LT_OPTION_DEFINE([LT_INIT], [fast-install], [_LT_ENABLE_FAST_INSTALL([yes])])
13743
 
+LT_OPTION_DEFINE([LT_INIT], [disable-fast-install], [_LT_ENABLE_FAST_INSTALL([no])])
13744
 
+
13745
 
+# Old names:
13746
 
+AU_DEFUN([AC_ENABLE_FAST_INSTALL],
13747
 
+[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
13748
 
+AC_DIAGNOSE([obsolete],
13749
 
+[$0: Remove this warning and the call to _LT_SET_OPTION when you put
13750
 
+the `fast-install' option into LT_INIT's first parameter.])
13751
 
+])
13752
 
+
13753
 
+AU_DEFUN([AC_DISABLE_FAST_INSTALL],
13754
 
+[_LT_SET_OPTION([LT_INIT], [disable-fast-install])
13755
 
+AC_DIAGNOSE([obsolete],
13756
 
+[$0: Remove this warning and the call to _LT_SET_OPTION when you put
13757
 
+the `disable-fast-install' option into LT_INIT's first parameter.])
13758
 
+])
13759
 
+
13760
 
+dnl aclocal-1.4 backwards compatibility:
13761
 
+dnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], [])
13762
 
+dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], [])
13763
 
+
13764
 
+
13765
 
+# _LT_WITH_PIC([MODE])
13766
 
+# --------------------
13767
 
+# implement the --with-pic flag, and support the `pic-only' and `no-pic'
13768
 
+# LT_INIT options.
13769
 
+# MODE is either `yes' or `no'.  If omitted, it defaults to `both'.
13770
 
+m4_define([_LT_WITH_PIC],
13771
 
+[AC_ARG_WITH([pic],
13772
 
+    [AS_HELP_STRING([--with-pic],
13773
 
+       [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
13774
 
+    [pic_mode="$withval"],
13775
 
+    [pic_mode=default])
13776
 
+
13777
 
+test -z "$pic_mode" && pic_mode=m4_default([$1], [default])
13778
 
+
13779
 
+_LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl
13780
 
+])# _LT_WITH_PIC
13781
 
+
13782
 
+LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])])
13783
 
+LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])])
13784
 
+
13785
 
+# Old name:
13786
 
+AU_DEFUN([AC_LIBTOOL_PICMODE],
13787
 
+[_LT_SET_OPTION([LT_INIT], [pic-only])
13788
 
+AC_DIAGNOSE([obsolete],
13789
 
+[$0: Remove this warning and the call to _LT_SET_OPTION when you
13790
 
+put the `pic-only' option into LT_INIT's first parameter.])
13791
 
+])
13792
 
+
13793
 
+dnl aclocal-1.4 backwards compatibility:
13794
 
+dnl AC_DEFUN([AC_LIBTOOL_PICMODE], [])
13795
 
+
13796
 
+
13797
 
+m4_define([_LTDL_MODE], [])
13798
 
+LT_OPTION_DEFINE([LTDL_INIT], [nonrecursive],
13799
 
+                [m4_define([_LTDL_MODE], [nonrecursive])])
13800
 
+LT_OPTION_DEFINE([LTDL_INIT], [recursive],
13801
 
+                [m4_define([_LTDL_MODE], [recursive])])
13802
 
+LT_OPTION_DEFINE([LTDL_INIT], [subproject],
13803
 
+                [m4_define([_LTDL_MODE], [subproject])])
13804
 
+
13805
 
+m4_define([_LTDL_TYPE], [])
13806
 
+LT_OPTION_DEFINE([LTDL_INIT], [installable],
13807
 
+                [m4_define([_LTDL_TYPE], [installable])])
13808
 
+LT_OPTION_DEFINE([LTDL_INIT], [convenience],
13809
 
+                [m4_define([_LTDL_TYPE], [convenience])])
13810
 
+
13811
 
+# ltsugar.m4 -- libtool m4 base layer.                         -*-Autoconf-*-
13812
 
+#
13813
 
+# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
13814
 
+# Written by Gary V. Vaughan, 2004
13815
 
+#
13816
 
+# This file is free software; the Free Software Foundation gives
13817
 
+# unlimited permission to copy and/or distribute it, with or without
13818
 
+# modifications, as long as this notice is preserved.
13819
 
+
13820
 
+# serial 6 ltsugar.m4
13821
 
+
13822
 
+# This is to help aclocal find these macros, as it can't see m4_define.
13823
 
+AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])])
13824
 
+
13825
 
+
13826
 
+# lt_join(SEP, ARG1, [ARG2...])
13827
 
+# -----------------------------
13828
 
+# Produce ARG1SEPARG2...SEPARGn, omitting [] arguments and their
13829
 
+# associated separator.
13830
 
+# Needed until we can rely on m4_join from Autoconf 2.62, since all earlier
13831
 
+# versions in m4sugar had bugs.
13832
 
+m4_define([lt_join],
13833
 
+[m4_if([$#], [1], [],
13834
 
+       [$#], [2], [[$2]],
13835
 
+       [m4_if([$2], [], [], [[$2]_])$0([$1], m4_shift(m4_shift($@)))])])
13836
 
+m4_define([_lt_join],
13837
 
+[m4_if([$#$2], [2], [],
13838
 
+       [m4_if([$2], [], [], [[$1$2]])$0([$1], m4_shift(m4_shift($@)))])])
13839
 
+
13840
 
+
13841
 
+# lt_car(LIST)
13842
 
+# lt_cdr(LIST)
13843
 
+# ------------
13844
 
+# Manipulate m4 lists.
13845
 
+# These macros are necessary as long as will still need to support
13846
 
+# Autoconf-2.59 which quotes differently.
13847
 
+m4_define([lt_car], [[$1]])
13848
 
+m4_define([lt_cdr],
13849
 
+[m4_if([$#], 0, [m4_fatal([$0: cannot be called without arguments])],
13850
 
+       [$#], 1, [],
13851
 
+       [m4_dquote(m4_shift($@))])])
13852
 
+m4_define([lt_unquote], $1)
13853
 
+
13854
 
+
13855
 
+# lt_append(MACRO-NAME, STRING, [SEPARATOR])
13856
 
+# ------------------------------------------
13857
 
+# Redefine MACRO-NAME to hold its former content plus `SEPARATOR'`STRING'.
13858
 
+# Note that neither SEPARATOR nor STRING are expanded; they are appended
13859
 
+# to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked).
13860
 
+# No SEPARATOR is output if MACRO-NAME was previously undefined (different
13861
 
+# than defined and empty).
13862
 
+#
13863
 
+# This macro is needed until we can rely on Autoconf 2.62, since earlier
13864
 
+# versions of m4sugar mistakenly expanded SEPARATOR but not STRING.
13865
 
+m4_define([lt_append],
13866
 
+[m4_define([$1],
13867
 
+          m4_ifdef([$1], [m4_defn([$1])[$3]])[$2])])
13868
 
+
13869
 
+
13870
 
+
13871
 
+# lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...])
13872
 
+# ----------------------------------------------------------
13873
 
+# Produce a SEP delimited list of all paired combinations of elements of
13874
 
+# PREFIX-LIST with SUFFIX1 through SUFFIXn.  Each element of the list
13875
 
+# has the form PREFIXmINFIXSUFFIXn.
13876
 
+# Needed until we can rely on m4_combine added in Autoconf 2.62.
13877
 
+m4_define([lt_combine],
13878
 
+[m4_if(m4_eval([$# > 3]), [1],
13879
 
+       [m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl
13880
 
+[[m4_foreach([_Lt_prefix], [$2],
13881
 
+            [m4_foreach([_Lt_suffix],
13882
 
+               ]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[,
13883
 
+       [_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])])
13884
 
+
13885
 
+
13886
 
+# lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ])
13887
 
+# -----------------------------------------------------------------------
13888
 
+# Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited
13889
 
+# by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ.
13890
 
+m4_define([lt_if_append_uniq],
13891
 
+[m4_ifdef([$1],
13892
 
+         [m4_if(m4_index([$3]m4_defn([$1])[$3], [$3$2$3]), [-1],
13893
 
+                [lt_append([$1], [$2], [$3])$4],
13894
 
+                [$5])],
13895
 
+         [lt_append([$1], [$2], [$3])$4])])
13896
 
+
13897
 
+
13898
 
+# lt_dict_add(DICT, KEY, VALUE)
13899
 
+# -----------------------------
13900
 
+m4_define([lt_dict_add],
13901
 
+[m4_define([$1($2)], [$3])])
13902
 
+
13903
 
+
13904
 
+# lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE)
13905
 
+# --------------------------------------------
13906
 
+m4_define([lt_dict_add_subkey],
13907
 
+[m4_define([$1($2:$3)], [$4])])
13908
 
+
13909
 
+
13910
 
+# lt_dict_fetch(DICT, KEY, [SUBKEY])
13911
 
+# ----------------------------------
13912
 
+m4_define([lt_dict_fetch],
13913
 
+[m4_ifval([$3],
13914
 
+       m4_ifdef([$1($2:$3)], [m4_defn([$1($2:$3)])]),
13915
 
+    m4_ifdef([$1($2)], [m4_defn([$1($2)])]))])
13916
 
+
13917
 
+
13918
 
+# lt_if_dict_fetch(DICT, KEY, [SUBKEY], VALUE, IF-TRUE, [IF-FALSE])
13919
 
+# -----------------------------------------------------------------
13920
 
+m4_define([lt_if_dict_fetch],
13921
 
+[m4_if(lt_dict_fetch([$1], [$2], [$3]), [$4],
13922
 
+       [$5],
13923
 
+    [$6])])
13924
 
+
13925
 
+
13926
 
+# lt_dict_filter(DICT, [SUBKEY], VALUE, [SEPARATOR], KEY, [...])
13927
 
+# --------------------------------------------------------------
13928
 
+m4_define([lt_dict_filter],
13929
 
+[m4_if([$5], [], [],
13930
 
+  [lt_join(m4_quote(m4_default([$4], [[, ]])),
13931
 
+           lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_key, lt_car([m4_shiftn(4, $@)]),
13932
 
+                     [lt_if_dict_fetch([$1], _Lt_key, [$2], [$3], [_Lt_key ])])))))])[]dnl
13933
 
+])
13934
 
+
13935
 
+# ltversion.m4 -- version numbers                      -*- Autoconf -*-
13936
 
+#
13937
 
+#   Copyright (C) 2004 Free Software Foundation, Inc.
13938
 
+#   Written by Scott James Remnant, 2004
13939
 
+#
13940
 
+# This file is free software; the Free Software Foundation gives
13941
 
+# unlimited permission to copy and/or distribute it, with or without
13942
 
+# modifications, as long as this notice is preserved.
13943
 
+
13944
 
+# Generated from ltversion.in.
13945
 
+
13946
 
+# serial 3012 ltversion.m4
13947
 
+# This file is part of GNU Libtool
13948
 
+
13949
 
+m4_define([LT_PACKAGE_VERSION], [2.2.6])
13950
 
+m4_define([LT_PACKAGE_REVISION], [1.3012])
13951
 
+
13952
 
+AC_DEFUN([LTVERSION_VERSION],
13953
 
+[macro_version='2.2.6'
13954
 
+macro_revision='1.3012'
13955
 
+_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
13956
 
+_LT_DECL(, macro_revision, 0)
13957
 
+])
13958
 
+
13959
 
+# lt~obsolete.m4 -- aclocal satisfying obsolete definitions.    -*-Autoconf-*-
13960
 
+#
13961
 
+#   Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc.
13962
 
+#   Written by Scott James Remnant, 2004.
13963
 
+#
13964
 
+# This file is free software; the Free Software Foundation gives
13965
 
+# unlimited permission to copy and/or distribute it, with or without
13966
 
+# modifications, as long as this notice is preserved.
13967
 
+
13968
 
+# serial 4 lt~obsolete.m4
13969
 
+
13970
 
+# These exist entirely to fool aclocal when bootstrapping libtool.
13971
 
+#
13972
 
+# In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN)
13973
 
+# which have later been changed to m4_define as they aren't part of the
13974
 
+# exported API, or moved to Autoconf or Automake where they belong.
13975
 
+#
13976
 
+# The trouble is, aclocal is a bit thick.  It'll see the old AC_DEFUN
13977
 
+# in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us
13978
 
+# using a macro with the same name in our local m4/libtool.m4 it'll
13979
 
+# pull the old libtool.m4 in (it doesn't see our shiny new m4_define
13980
 
+# and doesn't know about Autoconf macros at all.)
13981
 
+#
13982
 
+# So we provide this file, which has a silly filename so it's always
13983
 
+# included after everything else.  This provides aclocal with the
13984
 
+# AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything
13985
 
+# because those macros already exist, or will be overwritten later.
13986
 
+# We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6. 
13987
 
+#
13988
 
+# Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here.
13989
 
+# Yes, that means every name once taken will need to remain here until
13990
 
+# we give up compatibility with versions before 1.7, at which point
13991
 
+# we need to keep only those names which we still refer to.
13992
 
+
13993
 
+# This is to help aclocal find these macros, as it can't see m4_define.
13994
 
+AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])
13995
 
+
13996
 
+m4_ifndef([AC_LIBTOOL_LINKER_OPTION],  [AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])])
13997
 
+m4_ifndef([AC_PROG_EGREP],             [AC_DEFUN([AC_PROG_EGREP])])
13998
 
+m4_ifndef([_LT_AC_PROG_ECHO_BACKSLASH],        [AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])])
13999
 
+m4_ifndef([_LT_AC_SHELL_INIT],         [AC_DEFUN([_LT_AC_SHELL_INIT])])
14000
 
+m4_ifndef([_LT_AC_SYS_LIBPATH_AIX],    [AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])])
14001
 
+m4_ifndef([_LT_PROG_LTMAIN],           [AC_DEFUN([_LT_PROG_LTMAIN])])
14002
 
+m4_ifndef([_LT_AC_TAGVAR],             [AC_DEFUN([_LT_AC_TAGVAR])])
14003
 
+m4_ifndef([AC_LTDL_ENABLE_INSTALL],    [AC_DEFUN([AC_LTDL_ENABLE_INSTALL])])
14004
 
+m4_ifndef([AC_LTDL_PREOPEN],           [AC_DEFUN([AC_LTDL_PREOPEN])])
14005
 
+m4_ifndef([_LT_AC_SYS_COMPILER],       [AC_DEFUN([_LT_AC_SYS_COMPILER])])
14006
 
+m4_ifndef([_LT_AC_LOCK],               [AC_DEFUN([_LT_AC_LOCK])])
14007
 
+m4_ifndef([AC_LIBTOOL_SYS_OLD_ARCHIVE],        [AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])])
14008
 
+m4_ifndef([_LT_AC_TRY_DLOPEN_SELF],    [AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])])
14009
 
+m4_ifndef([AC_LIBTOOL_PROG_CC_C_O],    [AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])])
14010
 
+m4_ifndef([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])])
14011
 
+m4_ifndef([AC_LIBTOOL_OBJDIR],         [AC_DEFUN([AC_LIBTOOL_OBJDIR])])
14012
 
+m4_ifndef([AC_LTDL_OBJDIR],            [AC_DEFUN([AC_LTDL_OBJDIR])])
14013
 
+m4_ifndef([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])])
14014
 
+m4_ifndef([AC_LIBTOOL_SYS_LIB_STRIP],  [AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])])
14015
 
+m4_ifndef([AC_PATH_MAGIC],             [AC_DEFUN([AC_PATH_MAGIC])])
14016
 
+m4_ifndef([AC_PROG_LD_GNU],            [AC_DEFUN([AC_PROG_LD_GNU])])
14017
 
+m4_ifndef([AC_PROG_LD_RELOAD_FLAG],    [AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])])
14018
 
+m4_ifndef([AC_DEPLIBS_CHECK_METHOD],   [AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])])
14019
 
+m4_ifndef([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])])
14020
 
+m4_ifndef([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])])
14021
 
+m4_ifndef([AC_LIBTOOL_PROG_COMPILER_PIC], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])])
14022
 
+m4_ifndef([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])])
14023
 
+m4_ifndef([AC_LIBTOOL_POSTDEP_PREDEP], [AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])])
14024
 
+m4_ifndef([LT_AC_PROG_EGREP],          [AC_DEFUN([LT_AC_PROG_EGREP])])
14025
 
+m4_ifndef([LT_AC_PROG_SED],            [AC_DEFUN([LT_AC_PROG_SED])])
14026
 
+m4_ifndef([_LT_CC_BASENAME],           [AC_DEFUN([_LT_CC_BASENAME])])
14027
 
+m4_ifndef([_LT_COMPILER_BOILERPLATE],  [AC_DEFUN([_LT_COMPILER_BOILERPLATE])])
14028
 
+m4_ifndef([_LT_LINKER_BOILERPLATE],    [AC_DEFUN([_LT_LINKER_BOILERPLATE])])
14029
 
+m4_ifndef([_AC_PROG_LIBTOOL],          [AC_DEFUN([_AC_PROG_LIBTOOL])])
14030
 
+m4_ifndef([AC_LIBTOOL_SETUP],          [AC_DEFUN([AC_LIBTOOL_SETUP])])
14031
 
+m4_ifndef([_LT_AC_CHECK_DLFCN],                [AC_DEFUN([_LT_AC_CHECK_DLFCN])])
14032
 
+m4_ifndef([AC_LIBTOOL_SYS_DYNAMIC_LINKER],     [AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])])
14033
 
+m4_ifndef([_LT_AC_TAGCONFIG],          [AC_DEFUN([_LT_AC_TAGCONFIG])])
14034
 
+m4_ifndef([AC_DISABLE_FAST_INSTALL],   [AC_DEFUN([AC_DISABLE_FAST_INSTALL])])
14035
 
+m4_ifndef([_LT_AC_LANG_CXX],           [AC_DEFUN([_LT_AC_LANG_CXX])])
14036
 
+m4_ifndef([_LT_AC_LANG_F77],           [AC_DEFUN([_LT_AC_LANG_F77])])
14037
 
+m4_ifndef([_LT_AC_LANG_GCJ],           [AC_DEFUN([_LT_AC_LANG_GCJ])])
14038
 
+m4_ifndef([AC_LIBTOOL_RC],             [AC_DEFUN([AC_LIBTOOL_RC])])
14039
 
+m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG],  [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])])
14040
 
+m4_ifndef([_LT_AC_LANG_C_CONFIG],      [AC_DEFUN([_LT_AC_LANG_C_CONFIG])])
14041
 
+m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG],        [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])])
14042
 
+m4_ifndef([_LT_AC_LANG_CXX_CONFIG],    [AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])])
14043
 
+m4_ifndef([AC_LIBTOOL_LANG_F77_CONFIG],        [AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])])
14044
 
+m4_ifndef([_LT_AC_LANG_F77_CONFIG],    [AC_DEFUN([_LT_AC_LANG_F77_CONFIG])])
14045
 
+m4_ifndef([AC_LIBTOOL_LANG_GCJ_CONFIG],        [AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])])
14046
 
+m4_ifndef([_LT_AC_LANG_GCJ_CONFIG],    [AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])])
14047
 
+m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])])
14048
 
+m4_ifndef([_LT_AC_LANG_RC_CONFIG],     [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])])
14049
 
+m4_ifndef([AC_LIBTOOL_CONFIG],         [AC_DEFUN([AC_LIBTOOL_CONFIG])])
14050
 
+m4_ifndef([_LT_AC_FILE_LTDLL_C],       [AC_DEFUN([_LT_AC_FILE_LTDLL_C])])
14051
 
+
14052
 
+# pkg.m4 - Macros to locate and utilise pkg-config.            -*- Autoconf -*-
14053
 
+# 
14054
 
+# Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
14055
 
+#
14056
 
+# This program is free software; you can redistribute it and/or modify
14057
 
+# it under the terms of the GNU General Public License as published by
14058
 
+# the Free Software Foundation; either version 2 of the License, or
14059
 
+# (at your option) any later version.
14060
 
+#
14061
 
+# This program is distributed in the hope that it will be useful, but
14062
 
+# WITHOUT ANY WARRANTY; without even the implied warranty of
14063
 
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14064
 
+# General Public License for more details.
14065
 
+#
14066
 
+# You should have received a copy of the GNU General Public License
14067
 
+# along with this program; if not, write to the Free Software
14068
 
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
14069
 
+#
14070
 
+# As a special exception to the GNU General Public License, if you
14071
 
+# distribute this file as part of a program that contains a
14072
 
+# configuration script generated by Autoconf, you may include it under
14073
 
+# the same distribution terms that you use for the rest of that program.
14074
 
 
14075
 
-    case $host_os in
14076
 
-      aix*)
14077
 
-      # All AIX code is PIC.
14078
 
-      if test "$host_cpu" = ia64; then
14079
 
-       # AIX 5 now supports IA64 processor
14080
 
-       _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
14081
 
-      fi
14082
 
-      ;;
14083
 
+# PKG_PROG_PKG_CONFIG([MIN-VERSION])
14084
 
+# ----------------------------------
14085
 
+AC_DEFUN([PKG_PROG_PKG_CONFIG],
14086
 
+[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
14087
 
+m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
14088
 
+AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl
14089
 
+if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
14090
 
+       AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
14091
 
+fi
14092
 
+if test -n "$PKG_CONFIG"; then
14093
 
+       _pkg_min_version=m4_default([$1], [0.9.0])
14094
 
+       AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
14095
 
+       if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14096
 
+               AC_MSG_RESULT([yes])
14097
 
+       else
14098
 
+               AC_MSG_RESULT([no])
14099
 
+               PKG_CONFIG=""
14100
 
+       fi
14101
 
+               
14102
 
+fi[]dnl
14103
 
+])# PKG_PROG_PKG_CONFIG
14104
 
 
14105
 
-    amigaos*)
14106
 
-      # FIXME: we need at least 68020 code to build shared libraries, but
14107
 
-      # adding the `-m68020' flag to GCC prevents building anything better,
14108
 
-      # like `-m68040'.
14109
 
-      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
14110
 
-      ;;
14111
 
+# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
14112
 
+#
14113
 
+# Check to see whether a particular set of modules exists.  Similar
14114
 
+# to PKG_CHECK_MODULES(), but does not set variables or print errors.
14115
 
+#
14116
 
+#
14117
 
+# Similar to PKG_CHECK_MODULES, make sure that the first instance of
14118
 
+# this or PKG_CHECK_MODULES is called, or make sure to call
14119
 
+# PKG_CHECK_EXISTS manually
14120
 
+# --------------------------------------------------------------
14121
 
+AC_DEFUN([PKG_CHECK_EXISTS],
14122
 
+[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
14123
 
+if test -n "$PKG_CONFIG" && \
14124
 
+    AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
14125
 
+  m4_ifval([$2], [$2], [:])
14126
 
+m4_ifvaln([$3], [else
14127
 
+  $3])dnl
14128
 
+fi])
14129
 
 
14130
 
-    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14131
 
-      # PIC is the default for these OSes.
14132
 
-      ;;
14133
 
 
14134
 
-    mingw* | cygwin* | pw32* | os2*)
14135
 
-      # This hack is so that the source file can tell whether it is being
14136
 
-      # built for inclusion in a dll (and should export symbols for example).
14137
 
-      # Although the cygwin gcc ignores -fPIC, still need this for old-style
14138
 
-      # (--disable-auto-import) libraries
14139
 
-      m4_if([$1], [GCJ], [],
14140
 
-       [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
14141
 
-      ;;
14142
 
+# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
14143
 
+# ---------------------------------------------
14144
 
+m4_define([_PKG_CONFIG],
14145
 
+[if test -n "$PKG_CONFIG"; then
14146
 
+    if test -n "$$1"; then
14147
 
+        pkg_cv_[]$1="$$1"
14148
 
+    else
14149
 
+        PKG_CHECK_EXISTS([$3],
14150
 
+                         [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
14151
 
+                        [pkg_failed=yes])
14152
 
+    fi
14153
 
+else
14154
 
+       pkg_failed=untried
14155
 
+fi[]dnl
14156
 
+])# _PKG_CONFIG
14157
 
 
14158
 
-    darwin* | rhapsody*)
14159
 
-      # PIC is the default on this platform
14160
 
-      # Common symbols not allowed in MH_DYLIB files
14161
 
-      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
14162
 
-      ;;
14163
 
+# _PKG_SHORT_ERRORS_SUPPORTED
14164
 
+# -----------------------------
14165
 
+AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],
14166
 
+[AC_REQUIRE([PKG_PROG_PKG_CONFIG])
14167
 
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14168
 
+        _pkg_short_errors_supported=yes
14169
 
+else
14170
 
+        _pkg_short_errors_supported=no
14171
 
+fi[]dnl
14172
 
+])# _PKG_SHORT_ERRORS_SUPPORTED
14173
 
 
14174
 
-    interix[[3-9]]*)
14175
 
-      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14176
 
-      # Instead, we relocate shared libraries at runtime.
14177
 
-      ;;
14178
 
 
14179
 
-    msdosdjgpp*)
14180
 
-      # Just because we use GCC doesn't mean we suddenly get shared libraries
14181
 
-      # on systems that don't support them.
14182
 
-      _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
14183
 
-      enable_shared=no
14184
 
-      ;;
14185
 
+# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
14186
 
+# [ACTION-IF-NOT-FOUND])
14187
 
+#
14188
 
+#
14189
 
+# Note that if there is a possibility the first call to
14190
 
+# PKG_CHECK_MODULES might not happen, you should be sure to include an
14191
 
+# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
14192
 
+#
14193
 
+#
14194
 
+# --------------------------------------------------------------
14195
 
+AC_DEFUN([PKG_CHECK_MODULES],
14196
 
+[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
14197
 
+AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
14198
 
+AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
14199
 
 
14200
 
-    sysv4*MP*)
14201
 
-      if test -d /usr/nec; then
14202
 
-       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
14203
 
-      fi
14204
 
-      ;;
14205
 
+pkg_failed=no
14206
 
+AC_MSG_CHECKING([for $1])
14207
 
 
14208
 
-    hpux*)
14209
 
-      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14210
 
-      # not for PA HP-UX.
14211
 
-      case $host_cpu in
14212
 
-      hppa*64*|ia64*)
14213
 
-       # +Z the default
14214
 
-       ;;
14215
 
-      *)
14216
 
-       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
14217
 
-       ;;
14218
 
-      esac
14219
 
-      ;;
14220
 
+_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
14221
 
+_PKG_CONFIG([$1][_LIBS], [libs], [$2])
14222
 
 
14223
 
-    *)
14224
 
-      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
14225
 
-      ;;
14226
 
-    esac
14227
 
-  else
14228
 
-    # PORTME Check for flag to pass linker flags through the system compiler.
14229
 
-    case $host_os in
14230
 
-    aix*)
14231
 
-      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
14232
 
-      if test "$host_cpu" = ia64; then
14233
 
-       # AIX 5 now supports IA64 processor
14234
 
-       _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
14235
 
-      else
14236
 
-       _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
14237
 
-      fi
14238
 
-      ;;
14239
 
-      darwin*)
14240
 
-        # PIC is the default on this platform
14241
 
-        # Common symbols not allowed in MH_DYLIB files
14242
 
-       case $cc_basename in
14243
 
-         xlc*)
14244
 
-         _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon'
14245
 
-         _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
14246
 
-         ;;
14247
 
-       esac
14248
 
-       ;;
14249
 
+m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
14250
 
+and $1[]_LIBS to avoid the need to call pkg-config.
14251
 
+See the pkg-config man page for more details.])
14252
 
 
14253
 
-    mingw* | cygwin* | pw32* | os2*)
14254
 
-      # This hack is so that the source file can tell whether it is being
14255
 
-      # built for inclusion in a dll (and should export symbols for example).
14256
 
-      m4_if([$1], [GCJ], [],
14257
 
-       [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
14258
 
-      ;;
14259
 
+if test $pkg_failed = yes; then
14260
 
+        _PKG_SHORT_ERRORS_SUPPORTED
14261
 
+        if test $_pkg_short_errors_supported = yes; then
14262
 
+               $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"`
14263
 
+        else 
14264
 
+               $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
14265
 
+        fi
14266
 
+       # Put the nasty error message in config.log where it belongs
14267
 
+       echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
14268
 
 
14269
 
-    hpux9* | hpux10* | hpux11*)
14270
 
-      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
14271
 
-      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14272
 
-      # not for PA HP-UX.
14273
 
-      case $host_cpu in
14274
 
-      hppa*64*|ia64*)
14275
 
-       # +Z the default
14276
 
-       ;;
14277
 
-      *)
14278
 
-       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
14279
 
-       ;;
14280
 
-      esac
14281
 
-      # Is there a better lt_prog_compiler_static that works with the bundled CC?
14282
 
-      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
14283
 
-      ;;
14284
 
+       ifelse([$4], , [AC_MSG_ERROR(dnl
14285
 
+[Package requirements ($2) were not met:
14286
 
 
14287
 
-    irix5* | irix6* | nonstopux*)
14288
 
-      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
14289
 
-      # PIC (with -KPIC) is the default.
14290
 
-      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
14291
 
-      ;;
14292
 
+$$1_PKG_ERRORS
14293
 
 
14294
 
-    newsos6)
14295
 
-      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
14296
 
-      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
14297
 
-      ;;
14298
 
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
14299
 
+installed software in a non-standard prefix.
14300
 
 
14301
 
-    linux* | k*bsd*-gnu)
14302
 
-      case $cc_basename in
14303
 
-      icc* | ecc*)
14304
 
-       _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
14305
 
-       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
14306
 
-       _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
14307
 
-        ;;
14308
 
-      pgcc* | pgf77* | pgf90* | pgf95*)
14309
 
-        # Portland Group compilers (*not* the Pentium gcc compiler,
14310
 
-       # which looks to be a dead project)
14311
 
-       _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
14312
 
-       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
14313
 
-       _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
14314
 
-        ;;
14315
 
-      ccc*)
14316
 
-        _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
14317
 
-        # All Alpha code is PIC.
14318
 
-        _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
14319
 
-        ;;
14320
 
-      *)
14321
 
-        case `$CC -V 2>&1 | sed 5q` in
14322
 
-       *Sun\ C*)
14323
 
-         # Sun C 5.9
14324
 
-         _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
14325
 
-         _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
14326
 
-         _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
14327
 
-         ;;
14328
 
-       *Sun\ F*)
14329
 
-         # Sun Fortran 8.3 passes all unrecognized flags to the linker
14330
 
-         _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
14331
 
-         _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
14332
 
-         _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)=''
14333
 
-         ;;
14334
 
-       esac
14335
 
-       ;;
14336
 
-      esac
14337
 
-      ;;
14338
 
+_PKG_TEXT
14339
 
+])],
14340
 
+               [AC_MSG_RESULT([no])
14341
 
+                $4])
14342
 
+elif test $pkg_failed = untried; then
14343
 
+       ifelse([$4], , [AC_MSG_FAILURE(dnl
14344
 
+[The pkg-config script could not be found or is too old.  Make sure it
14345
 
+is in your PATH or set the PKG_CONFIG environment variable to the full
14346
 
+path to pkg-config.
14347
 
 
14348
 
-    osf3* | osf4* | osf5*)
14349
 
-      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
14350
 
-      # All OSF/1 code is PIC.
14351
 
-      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
14352
 
-      ;;
14353
 
+_PKG_TEXT
14354
 
 
14355
 
-    rdos*)
14356
 
-      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
14357
 
-      ;;
14358
 
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.])],
14359
 
+               [$4])
14360
 
+else
14361
 
+       $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
14362
 
+       $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
14363
 
+        AC_MSG_RESULT([yes])
14364
 
+       ifelse([$3], , :, [$3])
14365
 
+fi[]dnl
14366
 
+])# PKG_CHECK_MODULES
14367
 
 
14368
 
-    solaris*)
14369
 
-      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
14370
 
-      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
14371
 
-      case $cc_basename in
14372
 
-      f77* | f90* | f95*)
14373
 
-       _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
14374
 
-      *)
14375
 
-       _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
14376
 
-      esac
14377
 
-      ;;
14378
 
+# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
14379
 
+#
14380
 
+# This file is free software; the Free Software Foundation
14381
 
+# gives unlimited permission to copy and/or distribute it,
14382
 
+# with or without modifications, as long as this notice is preserved.
14383
 
 
14384
 
-    sunos4*)
14385
 
-      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
14386
 
-      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
14387
 
-      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
14388
 
-      ;;
14389
 
+# AM_AUTOMAKE_VERSION(VERSION)
14390
 
+# ----------------------------
14391
 
+# Automake X.Y traces this macro to ensure aclocal.m4 has been
14392
 
+# generated from the m4 files accompanying Automake X.Y.
14393
 
+# (This private macro should not be called outside this file.)
14394
 
+AC_DEFUN([AM_AUTOMAKE_VERSION],
14395
 
+[am__api_version='1.11'
14396
 
+dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
14397
 
+dnl require some minimum version.  Point them to the right macro.
14398
 
+m4_if([$1], [1.11], [],
14399
 
+      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
14400
 
+])
14401
 
 
14402
 
-    sysv4 | sysv4.2uw2* | sysv4.3*)
14403
 
-      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
14404
 
-      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
14405
 
-      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
14406
 
-      ;;
14407
 
+# _AM_AUTOCONF_VERSION(VERSION)
14408
 
+# -----------------------------
14409
 
+# aclocal traces this macro to find the Autoconf version.
14410
 
+# This is a private macro too.  Using m4_define simplifies
14411
 
+# the logic in aclocal, which can simply ignore this definition.
14412
 
+m4_define([_AM_AUTOCONF_VERSION], [])
14413
 
 
14414
 
-    sysv4*MP*)
14415
 
-      if test -d /usr/nec ;then
14416
 
-       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
14417
 
-       _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
14418
 
-      fi
14419
 
-      ;;
14420
 
+# AM_SET_CURRENT_AUTOMAKE_VERSION
14421
 
+# -------------------------------
14422
 
+# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
14423
 
+# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
14424
 
+AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
14425
 
+[AM_AUTOMAKE_VERSION([1.11])dnl
14426
 
+m4_ifndef([AC_AUTOCONF_VERSION],
14427
 
+  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
14428
 
+_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
14429
 
 
14430
 
-    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14431
 
-      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
14432
 
-      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
14433
 
-      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
14434
 
-      ;;
14435
 
+# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
14436
 
 
14437
 
-    unicos*)
14438
 
-      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
14439
 
-      _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
14440
 
-      ;;
14441
 
+# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
14442
 
+#
14443
 
+# This file is free software; the Free Software Foundation
14444
 
+# gives unlimited permission to copy and/or distribute it,
14445
 
+# with or without modifications, as long as this notice is preserved.
14446
 
 
14447
 
-    uts4*)
14448
 
-      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
14449
 
-      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
14450
 
-      ;;
14451
 
+# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
14452
 
+# $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to
14453
 
+# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
14454
 
+#
14455
 
+# Of course, Automake must honor this variable whenever it calls a
14456
 
+# tool from the auxiliary directory.  The problem is that $srcdir (and
14457
 
+# therefore $ac_aux_dir as well) can be either absolute or relative,
14458
 
+# depending on how configure is run.  This is pretty annoying, since
14459
 
+# it makes $ac_aux_dir quite unusable in subdirectories: in the top
14460
 
+# source directory, any form will work fine, but in subdirectories a
14461
 
+# relative path needs to be adjusted first.
14462
 
+#
14463
 
+# $ac_aux_dir/missing
14464
 
+#    fails when called from a subdirectory if $ac_aux_dir is relative
14465
 
+# $top_srcdir/$ac_aux_dir/missing
14466
 
+#    fails if $ac_aux_dir is absolute,
14467
 
+#    fails when called from a subdirectory in a VPATH build with
14468
 
+#          a relative $ac_aux_dir
14469
 
+#
14470
 
+# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
14471
 
+# are both prefixed by $srcdir.  In an in-source build this is usually
14472
 
+# harmless because $srcdir is `.', but things will broke when you
14473
 
+# start a VPATH build or use an absolute $srcdir.
14474
 
+#
14475
 
+# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
14476
 
+# iff we strip the leading $srcdir from $ac_aux_dir.  That would be:
14477
 
+#   am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
14478
 
+# and then we would define $MISSING as
14479
 
+#   MISSING="\${SHELL} $am_aux_dir/missing"
14480
 
+# This will work as long as MISSING is not called from configure, because
14481
 
+# unfortunately $(top_srcdir) has no meaning in configure.
14482
 
+# However there are other variables, like CC, which are often used in
14483
 
+# configure, and could therefore not use this "fixed" $ac_aux_dir.
14484
 
+#
14485
 
+# Another solution, used here, is to always expand $ac_aux_dir to an
14486
 
+# absolute PATH.  The drawback is that using absolute paths prevent a
14487
 
+# configured tree to be moved without reconfiguration.
14488
 
 
14489
 
-    *)
14490
 
-      _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
14491
 
-      ;;
14492
 
-    esac
14493
 
-  fi
14494
 
+AC_DEFUN([AM_AUX_DIR_EXPAND],
14495
 
+[dnl Rely on autoconf to set up CDPATH properly.
14496
 
+AC_PREREQ([2.50])dnl
14497
 
+# expand $ac_aux_dir to an absolute path
14498
 
+am_aux_dir=`cd $ac_aux_dir && pwd`
14499
 
 ])
14500
 
-AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)])
14501
 
 
14502
 
+# AM_CONDITIONAL                                            -*- Autoconf -*-
14503
 
+
14504
 
+# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
14505
 
+# Free Software Foundation, Inc.
14506
 
 #
14507
 
-# Check to make sure the PIC flag actually works.
14508
 
-#
14509
 
-if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then
14510
 
-  AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works],
14511
 
-    _LT_AC_TAGVAR(lt_cv_prog_compiler_pic_works, $1),
14512
 
-    [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [],
14513
 
-    [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in
14514
 
-     "" | " "*) ;;
14515
 
-     *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)" ;;
14516
 
-     esac],
14517
 
-    [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
14518
 
-     _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
14519
 
+# This file is free software; the Free Software Foundation
14520
 
+# gives unlimited permission to copy and/or distribute it,
14521
 
+# with or without modifications, as long as this notice is preserved.
14522
 
+
14523
 
+# serial 9
14524
 
+
14525
 
+# AM_CONDITIONAL(NAME, SHELL-CONDITION)
14526
 
+# -------------------------------------
14527
 
+# Define a conditional.
14528
 
+AC_DEFUN([AM_CONDITIONAL],
14529
 
+[AC_PREREQ(2.52)dnl
14530
 
+ ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
14531
 
+       [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
14532
 
+AC_SUBST([$1_TRUE])dnl
14533
 
+AC_SUBST([$1_FALSE])dnl
14534
 
+_AM_SUBST_NOTMAKE([$1_TRUE])dnl
14535
 
+_AM_SUBST_NOTMAKE([$1_FALSE])dnl
14536
 
+m4_define([_AM_COND_VALUE_$1], [$2])dnl
14537
 
+if $2; then
14538
 
+  $1_TRUE=
14539
 
+  $1_FALSE='#'
14540
 
+else
14541
 
+  $1_TRUE='#'
14542
 
+  $1_FALSE=
14543
 
 fi
14544
 
-case $host_os in
14545
 
-  # For platforms which do not support PIC, -DPIC is meaningless:
14546
 
-  *djgpp*)
14547
 
-    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
14548
 
-    ;;
14549
 
-  *)
14550
 
-    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])"
14551
 
-    ;;
14552
 
-esac
14553
 
+AC_CONFIG_COMMANDS_PRE(
14554
 
+[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
14555
 
+  AC_MSG_ERROR([[conditional "$1" was never defined.
14556
 
+Usually this means the macro was only invoked conditionally.]])
14557
 
+fi])])
14558
 
 
14559
 
+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
14560
 
+# Free Software Foundation, Inc.
14561
 
 #
14562
 
-# Check to make sure the static flag actually works.
14563
 
-#
14564
 
-wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_AC_TAGVAR(lt_prog_compiler_static, $1)\"
14565
 
-AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works],
14566
 
-  _LT_AC_TAGVAR(lt_cv_prog_compiler_static_works, $1),
14567
 
-  $lt_tmp_static_flag,
14568
 
-  [],
14569
 
-  [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
14570
 
-])
14571
 
+# This file is free software; the Free Software Foundation
14572
 
+# gives unlimited permission to copy and/or distribute it,
14573
 
+# with or without modifications, as long as this notice is preserved.
14574
 
 
14575
 
+# serial 10
14576
 
 
14577
 
-# AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME])
14578
 
-# ------------------------------------
14579
 
-# See if the linker supports building shared libraries.
14580
 
-AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS],
14581
 
-[AC_REQUIRE([LT_AC_PROG_SED])dnl
14582
 
-AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
14583
 
-ifelse([$1],[CXX],[
14584
 
-  _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14585
 
-  case $host_os in
14586
 
-  aix[[4-9]]*)
14587
 
-    # If we're using GNU nm, then we don't want the "-C" option.
14588
 
-    # -C means demangle to AIX nm, but means don't demangle with GNU nm
14589
 
-    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
14590
 
-      _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
14591
 
-    else
14592
 
-      _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
14593
 
-    fi
14594
 
-    ;;
14595
 
-  pw32*)
14596
 
-    _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
14597
 
-  ;;
14598
 
-  cygwin* | mingw*)
14599
 
-    _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;/^.*[[ ]]__nm__/s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'
14600
 
-  ;;
14601
 
-  *)
14602
 
-    _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14603
 
-  ;;
14604
 
-  esac
14605
 
-  _LT_AC_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
14606
 
-],[
14607
 
-  runpath_var=
14608
 
-  _LT_AC_TAGVAR(allow_undefined_flag, $1)=
14609
 
-  _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
14610
 
-  _LT_AC_TAGVAR(archive_cmds, $1)=
14611
 
-  _LT_AC_TAGVAR(archive_expsym_cmds, $1)=
14612
 
-  _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)=
14613
 
-  _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)=
14614
 
-  _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
14615
 
-  _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
14616
 
-  _LT_AC_TAGVAR(thread_safe_flag_spec, $1)=
14617
 
-  _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
14618
 
-  _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
14619
 
-  _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
14620
 
-  _LT_AC_TAGVAR(hardcode_direct, $1)=no
14621
 
-  _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
14622
 
-  _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
14623
 
-  _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
14624
 
-  _LT_AC_TAGVAR(hardcode_automatic, $1)=no
14625
 
-  _LT_AC_TAGVAR(module_cmds, $1)=
14626
 
-  _LT_AC_TAGVAR(module_expsym_cmds, $1)=
14627
 
-  _LT_AC_TAGVAR(always_export_symbols, $1)=no
14628
 
-  _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14629
 
-  # include_expsyms should be a list of space-separated symbols to be *always*
14630
 
-  # included in the symbol list
14631
 
-  _LT_AC_TAGVAR(include_expsyms, $1)=
14632
 
-  # exclude_expsyms can be an extended regexp of symbols to exclude
14633
 
-  # it will be wrapped by ` (' and `)$', so one must not match beginning or
14634
 
-  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14635
 
-  # as well as any symbol that contains `d'.
14636
 
-  _LT_AC_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
14637
 
-  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14638
 
-  # platforms (ab)use it in PIC code, but their linkers get confused if
14639
 
-  # the symbol is explicitly referenced.  Since portable code cannot
14640
 
-  # rely on this symbol name, it's probably fine to never include it in
14641
 
-  # preloaded symbol tables.
14642
 
-  # Exclude shared library initialization/finalization symbols.
14643
 
-dnl Note also adjust exclude_expsyms for C++ above.
14644
 
-  extract_expsyms_cmds=
14645
 
-  # Just being paranoid about ensuring that cc_basename is set.
14646
 
-  _LT_CC_BASENAME([$compiler])
14647
 
-  case $host_os in
14648
 
-  cygwin* | mingw* | pw32*)
14649
 
-    # FIXME: the MSVC++ port hasn't been tested in a loooong time
14650
 
-    # When not using gcc, we currently assume that we are using
14651
 
-    # Microsoft Visual C++.
14652
 
-    if test "$GCC" != yes; then
14653
 
-      with_gnu_ld=no
14654
 
-    fi
14655
 
-    ;;
14656
 
-  interix*)
14657
 
-    # we just hope/assume this is gcc and not c89 (= MSVC++)
14658
 
-    with_gnu_ld=yes
14659
 
-    ;;
14660
 
-  openbsd*)
14661
 
-    with_gnu_ld=no
14662
 
-    ;;
14663
 
-  esac
14664
 
+# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
14665
 
+# written in clear, in which case automake, when reading aclocal.m4,
14666
 
+# will think it sees a *use*, and therefore will trigger all it's
14667
 
+# C support machinery.  Also note that it means that autoscan, seeing
14668
 
+# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
14669
 
 
14670
 
-  _LT_AC_TAGVAR(ld_shlibs, $1)=yes
14671
 
-  if test "$with_gnu_ld" = yes; then
14672
 
-    # If archive_cmds runs LD, not CC, wlarc should be empty
14673
 
-    wlarc='${wl}'
14674
 
 
14675
 
-    # Set some defaults for GNU ld with shared library support. These
14676
 
-    # are reset later if shared libraries are not supported. Putting them
14677
 
-    # here allows them to be overridden if necessary.
14678
 
-    runpath_var=LD_RUN_PATH
14679
 
-    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
14680
 
-    _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
14681
 
-    # ancient GNU ld didn't support --whole-archive et. al.
14682
 
-    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
14683
 
-       _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14684
 
-      else
14685
 
-       _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
14686
 
-    fi
14687
 
-    supports_anon_versioning=no
14688
 
-    case `$LD -v 2>/dev/null` in
14689
 
-      *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
14690
 
-      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
14691
 
-      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
14692
 
-      *\ 2.11.*) ;; # other 2.11 versions
14693
 
-      *) supports_anon_versioning=yes ;;
14694
 
-    esac
14695
 
+# _AM_DEPENDENCIES(NAME)
14696
 
+# ----------------------
14697
 
+# See how the compiler implements dependency checking.
14698
 
+# NAME is "CC", "CXX", "GCJ", or "OBJC".
14699
 
+# We try a few techniques and use that to set a single cache variable.
14700
 
+#
14701
 
+# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
14702
 
+# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
14703
 
+# dependency, and given that the user is not expected to run this macro,
14704
 
+# just rely on AC_PROG_CC.
14705
 
+AC_DEFUN([_AM_DEPENDENCIES],
14706
 
+[AC_REQUIRE([AM_SET_DEPDIR])dnl
14707
 
+AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
14708
 
+AC_REQUIRE([AM_MAKE_INCLUDE])dnl
14709
 
+AC_REQUIRE([AM_DEP_TRACK])dnl
14710
 
 
14711
 
-    # See if GNU ld supports shared libraries.
14712
 
-    case $host_os in
14713
 
-    aix[[3-9]]*)
14714
 
-      # On AIX/PPC, the GNU linker is very broken
14715
 
-      if test "$host_cpu" != ia64; then
14716
 
-       _LT_AC_TAGVAR(ld_shlibs, $1)=no
14717
 
-       cat <<EOF 1>&2
14718
 
+ifelse([$1], CC,   [depcc="$CC"   am_compiler_list=],
14719
 
+       [$1], CXX,  [depcc="$CXX"  am_compiler_list=],
14720
 
+       [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
14721
 
+       [$1], UPC,  [depcc="$UPC"  am_compiler_list=],
14722
 
+       [$1], GCJ,  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
14723
 
+                   [depcc="$$1"   am_compiler_list=])
14724
 
 
14725
 
-*** Warning: the GNU linker, at least up to release 2.9.1, is reported
14726
 
-*** to be unable to reliably create shared libraries on AIX.
14727
 
-*** Therefore, libtool is disabling shared libraries support.  If you
14728
 
-*** really care for shared libraries, you may want to modify your PATH
14729
 
-*** so that a non-GNU linker is found, and then restart.
14730
 
+AC_CACHE_CHECK([dependency style of $depcc],
14731
 
+               [am_cv_$1_dependencies_compiler_type],
14732
 
+[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
14733
 
+  # We make a subdir and do the tests there.  Otherwise we can end up
14734
 
+  # making bogus files that we don't know about and never remove.  For
14735
 
+  # instance it was reported that on HP-UX the gcc test will end up
14736
 
+  # making a dummy file named `D' -- because `-MD' means `put the output
14737
 
+  # in D'.
14738
 
+  mkdir conftest.dir
14739
 
+  # Copy depcomp to subdir because otherwise we won't find it if we're
14740
 
+  # using a relative directory.
14741
 
+  cp "$am_depcomp" conftest.dir
14742
 
+  cd conftest.dir
14743
 
+  # We will build objects and dependencies in a subdirectory because
14744
 
+  # it helps to detect inapplicable dependency modes.  For instance
14745
 
+  # both Tru64's cc and ICC support -MD to output dependencies as a
14746
 
+  # side effect of compilation, but ICC will put the dependencies in
14747
 
+  # the current directory while Tru64 will put them in the object
14748
 
+  # directory.
14749
 
+  mkdir sub
14750
 
+
14751
 
+  am_cv_$1_dependencies_compiler_type=none
14752
 
+  if test "$am_compiler_list" = ""; then
14753
 
+     am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
14754
 
+  fi
14755
 
+  am__universal=false
14756
 
+  m4_case([$1], [CC],
14757
 
+    [case " $depcc " in #(
14758
 
+     *\ -arch\ *\ -arch\ *) am__universal=true ;;
14759
 
+     esac],
14760
 
+    [CXX],
14761
 
+    [case " $depcc " in #(
14762
 
+     *\ -arch\ *\ -arch\ *) am__universal=true ;;
14763
 
+     esac])
14764
 
 
14765
 
-EOF
14766
 
-      fi
14767
 
-      ;;
14768
 
+  for depmode in $am_compiler_list; do
14769
 
+    # Setup a source with many dependencies, because some compilers
14770
 
+    # like to wrap large dependency lists on column 80 (with \), and
14771
 
+    # we should not choose a depcomp mode which is confused by this.
14772
 
+    #
14773
 
+    # We need to recreate these files for each test, as the compiler may
14774
 
+    # overwrite some of them when testing with obscure command lines.
14775
 
+    # This happens at least with the AIX C compiler.
14776
 
+    : > sub/conftest.c
14777
 
+    for i in 1 2 3 4 5 6; do
14778
 
+      echo '#include "conftst'$i'.h"' >> sub/conftest.c
14779
 
+      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
14780
 
+      # Solaris 8's {/usr,}/bin/sh.
14781
 
+      touch sub/conftst$i.h
14782
 
+    done
14783
 
+    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
14784
 
 
14785
 
-    amigaos*)
14786
 
-      _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
14787
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
14788
 
-      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
14789
 
-
14790
 
-      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14791
 
-      # that the semantics of dynamic libraries on AmigaOS, at least up
14792
 
-      # to version 4, is to share data among multiple programs linked
14793
 
-      # with the same dynamic library.  Since this doesn't match the
14794
 
-      # behavior of shared libraries on other platforms, we can't use
14795
 
-      # them.
14796
 
-      _LT_AC_TAGVAR(ld_shlibs, $1)=no
14797
 
+    # We check with `-c' and `-o' for the sake of the "dashmstdout"
14798
 
+    # mode.  It turns out that the SunPro C++ compiler does not properly
14799
 
+    # handle `-M -o', and we need to detect this.  Also, some Intel
14800
 
+    # versions had trouble with output in subdirs
14801
 
+    am__obj=sub/conftest.${OBJEXT-o}
14802
 
+    am__minus_obj="-o $am__obj"
14803
 
+    case $depmode in
14804
 
+    gcc)
14805
 
+      # This depmode causes a compiler race in universal mode.
14806
 
+      test "$am__universal" = false || continue
14807
 
       ;;
14808
 
-
14809
 
-    beos*)
14810
 
-      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14811
 
-       _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
14812
 
-       # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14813
 
-       # support --undefined.  This deserves some investigation.  FIXME
14814
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14815
 
+    nosideeffect)
14816
 
+      # after this tag, mechanisms are not by side-effect, so they'll
14817
 
+      # only be used when explicitly requested
14818
 
+      if test "x$enable_dependency_tracking" = xyes; then
14819
 
+       continue
14820
 
       else
14821
 
-       _LT_AC_TAGVAR(ld_shlibs, $1)=no
14822
 
+       break
14823
 
       fi
14824
 
       ;;
14825
 
+    msvisualcpp | msvcmsys)
14826
 
+      # This compiler won't grok `-c -o', but also, the minuso test has
14827
 
+      # not run yet.  These depmodes are late enough in the game, and
14828
 
+      # so weak that their functioning should not be impacted.
14829
 
+      am__obj=conftest.${OBJEXT-o}
14830
 
+      am__minus_obj=
14831
 
+      ;;
14832
 
+    none) break ;;
14833
 
+    esac
14834
 
+    if depmode=$depmode \
14835
 
+       source=sub/conftest.c object=$am__obj \
14836
 
+       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
14837
 
+       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
14838
 
+         >/dev/null 2>conftest.err &&
14839
 
+       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
14840
 
+       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
14841
 
+       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
14842
 
+       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
14843
 
+      # icc doesn't choke on unknown options, it will just issue warnings
14844
 
+      # or remarks (even with -Werror).  So we grep stderr for any message
14845
 
+      # that says an option was ignored or not supported.
14846
 
+      # When given -MP, icc 7.0 and 7.1 complain thusly:
14847
 
+      #   icc: Command line warning: ignoring option '-M'; no argument required
14848
 
+      # The diagnosis changed in icc 8.0:
14849
 
+      #   icc: Command line remark: option '-MP' not supported
14850
 
+      if (grep 'ignoring option' conftest.err ||
14851
 
+          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
14852
 
+        am_cv_$1_dependencies_compiler_type=$depmode
14853
 
+        break
14854
 
+      fi
14855
 
+    fi
14856
 
+  done
14857
 
 
14858
 
-    cygwin* | mingw* | pw32*)
14859
 
-      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
14860
 
-      # as there is no search path for DLLs.
14861
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
14862
 
-      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
14863
 
-      _LT_AC_TAGVAR(always_export_symbols, $1)=no
14864
 
-      _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
14865
 
-      _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/'\'' -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'
14866
 
+  cd ..
14867
 
+  rm -rf conftest.dir
14868
 
+else
14869
 
+  am_cv_$1_dependencies_compiler_type=none
14870
 
+fi
14871
 
+])
14872
 
+AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
14873
 
+AM_CONDITIONAL([am__fastdep$1], [
14874
 
+  test "x$enable_dependency_tracking" != xno \
14875
 
+  && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
14876
 
+])
14877
 
 
14878
 
-      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
14879
 
-        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14880
 
-       # If the export-symbols file already is a .def file (1st line
14881
 
-       # is EXPORTS), use it as is; otherwise, prepend...
14882
 
-       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14883
 
-         cp $export_symbols $output_objdir/$soname.def;
14884
 
-       else
14885
 
-         echo EXPORTS > $output_objdir/$soname.def;
14886
 
-         cat $export_symbols >> $output_objdir/$soname.def;
14887
 
-       fi~
14888
 
-       $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14889
 
-      else
14890
 
-       _LT_AC_TAGVAR(ld_shlibs, $1)=no
14891
 
-      fi
14892
 
-      ;;
14893
 
 
14894
 
-    interix[[3-9]]*)
14895
 
-      _LT_AC_TAGVAR(hardcode_direct, $1)=no
14896
 
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
14897
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
14898
 
-      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
14899
 
-      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14900
 
-      # Instead, shared libraries are loaded at an image base (0x10000000 by
14901
 
-      # default) and relocated if they conflict, which is a slow very memory
14902
 
-      # consuming and fragmenting process.  To avoid this, we pick a random,
14903
 
-      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14904
 
-      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
14905
 
-      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14906
 
-      _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14907
 
-      ;;
14908
 
+# AM_SET_DEPDIR
14909
 
+# -------------
14910
 
+# Choose a directory name for dependency files.
14911
 
+# This macro is AC_REQUIREd in _AM_DEPENDENCIES
14912
 
+AC_DEFUN([AM_SET_DEPDIR],
14913
 
+[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
14914
 
+AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
14915
 
+])
14916
 
 
14917
 
-    gnu* | linux* | k*bsd*-gnu)
14918
 
-      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14919
 
-       tmp_addflag=
14920
 
-       case $cc_basename,$host_cpu in
14921
 
-       pgcc*)                          # Portland Group C compiler
14922
 
-         _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
14923
 
-         tmp_addflag=' $pic_flag'
14924
 
-         ;;
14925
 
-       pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
14926
 
-         _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
14927
 
-         tmp_addflag=' $pic_flag -Mnomain' ;;
14928
 
-       ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
14929
 
-         tmp_addflag=' -i_dynamic' ;;
14930
 
-       efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
14931
 
-         tmp_addflag=' -i_dynamic -nofor_main' ;;
14932
 
-       ifc* | ifort*)                  # Intel Fortran compiler
14933
 
-         tmp_addflag=' -nofor_main' ;;
14934
 
-       esac
14935
 
-       case `$CC -V 2>&1 | sed 5q` in
14936
 
-       *Sun\ C*)                       # Sun C 5.9
14937
 
-         _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
14938
 
-         tmp_sharedflag='-G' ;;
14939
 
-       *Sun\ F*)                       # Sun Fortran 8.3
14940
 
-         tmp_sharedflag='-G' ;;
14941
 
-       *)
14942
 
-         tmp_sharedflag='-shared' ;;
14943
 
-       esac
14944
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14945
 
 
14946
 
-       if test $supports_anon_versioning = yes; then
14947
 
-         _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~
14948
 
-  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14949
 
-  $echo "local: *; };" >> $output_objdir/$libname.ver~
14950
 
-         $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14951
 
-       fi
14952
 
-      else
14953
 
-       _LT_AC_TAGVAR(ld_shlibs, $1)=no
14954
 
-      fi
14955
 
-      ;;
14956
 
+# AM_DEP_TRACK
14957
 
+# ------------
14958
 
+AC_DEFUN([AM_DEP_TRACK],
14959
 
+[AC_ARG_ENABLE(dependency-tracking,
14960
 
+[  --disable-dependency-tracking  speeds up one-time build
14961
 
+  --enable-dependency-tracking   do not reject slow dependency extractors])
14962
 
+if test "x$enable_dependency_tracking" != xno; then
14963
 
+  am_depcomp="$ac_aux_dir/depcomp"
14964
 
+  AMDEPBACKSLASH='\'
14965
 
+fi
14966
 
+AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
14967
 
+AC_SUBST([AMDEPBACKSLASH])dnl
14968
 
+_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
14969
 
+])
14970
 
 
14971
 
-    netbsd*)
14972
 
-      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14973
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14974
 
-       wlarc=
14975
 
-      else
14976
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14977
 
-       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14978
 
-      fi
14979
 
-      ;;
14980
 
+# Generate code to set up dependency tracking.              -*- Autoconf -*-
14981
 
 
14982
 
-    solaris*)
14983
 
-      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
14984
 
-       _LT_AC_TAGVAR(ld_shlibs, $1)=no
14985
 
-       cat <<EOF 1>&2
14986
 
+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
14987
 
+# Free Software Foundation, Inc.
14988
 
+#
14989
 
+# This file is free software; the Free Software Foundation
14990
 
+# gives unlimited permission to copy and/or distribute it,
14991
 
+# with or without modifications, as long as this notice is preserved.
14992
 
 
14993
 
-*** Warning: The releases 2.8.* of the GNU linker cannot reliably
14994
 
-*** create shared libraries on Solaris systems.  Therefore, libtool
14995
 
-*** is disabling shared libraries support.  We urge you to upgrade GNU
14996
 
-*** binutils to release 2.9.1 or newer.  Another option is to modify
14997
 
-*** your PATH or compiler configuration so that the native linker is
14998
 
-*** used, and then restart.
14999
 
+#serial 5
15000
 
 
15001
 
-EOF
15002
 
-      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15003
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15004
 
-       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15005
 
-      else
15006
 
-       _LT_AC_TAGVAR(ld_shlibs, $1)=no
15007
 
-      fi
15008
 
-      ;;
15009
 
+# _AM_OUTPUT_DEPENDENCY_COMMANDS
15010
 
+# ------------------------------
15011
 
+AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
15012
 
+[{
15013
 
+  # Autoconf 2.62 quotes --file arguments for eval, but not when files
15014
 
+  # are listed without --file.  Let's play safe and only enable the eval
15015
 
+  # if we detect the quoting.
15016
 
+  case $CONFIG_FILES in
15017
 
+  *\'*) eval set x "$CONFIG_FILES" ;;
15018
 
+  *)   set x $CONFIG_FILES ;;
15019
 
+  esac
15020
 
+  shift
15021
 
+  for mf
15022
 
+  do
15023
 
+    # Strip MF so we end up with the name of the file.
15024
 
+    mf=`echo "$mf" | sed -e 's/:.*$//'`
15025
 
+    # Check whether this is an Automake generated Makefile or not.
15026
 
+    # We used to match only the files named `Makefile.in', but
15027
 
+    # some people rename them; so instead we look at the file content.
15028
 
+    # Grep'ing the first line is not enough: some people post-process
15029
 
+    # each Makefile.in and add a new line on top of each file to say so.
15030
 
+    # Grep'ing the whole file is not good either: AIX grep has a line
15031
 
+    # limit of 2048, but all sed's we know have understand at least 4000.
15032
 
+    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
15033
 
+      dirpart=`AS_DIRNAME("$mf")`
15034
 
+    else
15035
 
+      continue
15036
 
+    fi
15037
 
+    # Extract the definition of DEPDIR, am__include, and am__quote
15038
 
+    # from the Makefile without running `make'.
15039
 
+    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15040
 
+    test -z "$DEPDIR" && continue
15041
 
+    am__include=`sed -n 's/^am__include = //p' < "$mf"`
15042
 
+    test -z "am__include" && continue
15043
 
+    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15044
 
+    # When using ansi2knr, U may be empty or an underscore; expand it
15045
 
+    U=`sed -n 's/^U = //p' < "$mf"`
15046
 
+    # Find all dependency output files, they are included files with
15047
 
+    # $(DEPDIR) in their names.  We invoke sed twice because it is the
15048
 
+    # simplest approach to changing $(DEPDIR) to its actual value in the
15049
 
+    # expansion.
15050
 
+    for file in `sed -n "
15051
 
+      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15052
 
+        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15053
 
+      # Make sure the directory exists.
15054
 
+      test -f "$dirpart/$file" && continue
15055
 
+      fdir=`AS_DIRNAME(["$file"])`
15056
 
+      AS_MKDIR_P([$dirpart/$fdir])
15057
 
+      # echo "creating $dirpart/$file"
15058
 
+      echo '# dummy' > "$dirpart/$file"
15059
 
+    done
15060
 
+  done
15061
 
+}
15062
 
+])# _AM_OUTPUT_DEPENDENCY_COMMANDS
15063
 
 
15064
 
-    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
15065
 
-      case `$LD -v 2>&1` in
15066
 
-        *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
15067
 
-       _LT_AC_TAGVAR(ld_shlibs, $1)=no
15068
 
-       cat <<_LT_EOF 1>&2
15069
 
 
15070
 
-*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
15071
 
-*** reliably create shared libraries on SCO systems.  Therefore, libtool
15072
 
-*** is disabling shared libraries support.  We urge you to upgrade GNU
15073
 
-*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
15074
 
-*** your PATH or compiler configuration so that the native linker is
15075
 
-*** used, and then restart.
15076
 
+# AM_OUTPUT_DEPENDENCY_COMMANDS
15077
 
+# -----------------------------
15078
 
+# This macro should only be invoked once -- use via AC_REQUIRE.
15079
 
+#
15080
 
+# This code is only required when automatic dependency tracking
15081
 
+# is enabled.  FIXME.  This creates each `.P' file that we will
15082
 
+# need in order to bootstrap the dependency handling code.
15083
 
+AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
15084
 
+[AC_CONFIG_COMMANDS([depfiles],
15085
 
+     [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
15086
 
+     [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
15087
 
+])
15088
 
 
15089
 
-_LT_EOF
15090
 
-       ;;
15091
 
-       *)
15092
 
-         if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15093
 
-           _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
15094
 
-           _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
15095
 
-           _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
15096
 
-         else
15097
 
-           _LT_AC_TAGVAR(ld_shlibs, $1)=no
15098
 
-         fi
15099
 
-       ;;
15100
 
-      esac
15101
 
-      ;;
15102
 
+# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
15103
 
+# Free Software Foundation, Inc.
15104
 
+#
15105
 
+# This file is free software; the Free Software Foundation
15106
 
+# gives unlimited permission to copy and/or distribute it,
15107
 
+# with or without modifications, as long as this notice is preserved.
15108
 
 
15109
 
-    sunos4*)
15110
 
-      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15111
 
-      wlarc=
15112
 
-      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
15113
 
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
15114
 
-      ;;
15115
 
+# serial 8
15116
 
 
15117
 
-    *)
15118
 
-      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15119
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15120
 
-       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15121
 
-      else
15122
 
-       _LT_AC_TAGVAR(ld_shlibs, $1)=no
15123
 
-      fi
15124
 
-      ;;
15125
 
-    esac
15126
 
+# AM_CONFIG_HEADER is obsolete.  It has been replaced by AC_CONFIG_HEADERS.
15127
 
+AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
15128
 
 
15129
 
-    if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no; then
15130
 
-      runpath_var=
15131
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
15132
 
-      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
15133
 
-      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
15134
 
-    fi
15135
 
-  else
15136
 
-    # PORTME fill in a description of your system's linker (not GNU ld)
15137
 
-    case $host_os in
15138
 
-    aix3*)
15139
 
-      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
15140
 
-      _LT_AC_TAGVAR(always_export_symbols, $1)=yes
15141
 
-      _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
15142
 
-      # Note: this linker hardcodes the directories in LIBPATH if there
15143
 
-      # are no directories specified by -L.
15144
 
-      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
15145
 
-      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
15146
 
-       # Neither direct hardcoding nor static linking is supported with a
15147
 
-       # broken collect2.
15148
 
-       _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
15149
 
-      fi
15150
 
-      ;;
15151
 
+# Do all the work for Automake.                             -*- Autoconf -*-
15152
 
 
15153
 
-    aix[[4-9]]*)
15154
 
-      if test "$host_cpu" = ia64; then
15155
 
-       # On IA64, the linker does run time linking by default, so we don't
15156
 
-       # have to do anything special.
15157
 
-       aix_use_runtimelinking=no
15158
 
-       exp_sym_flag='-Bexport'
15159
 
-       no_entry_flag=""
15160
 
-      else
15161
 
-       # If we're using GNU nm, then we don't want the "-C" option.
15162
 
-       # -C means demangle to AIX nm, but means don't demangle with GNU nm
15163
 
-       if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
15164
 
-         _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
15165
 
-       else
15166
 
-         _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
15167
 
-       fi
15168
 
-       aix_use_runtimelinking=no
15169
 
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
15170
 
+# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
15171
 
+#
15172
 
+# This file is free software; the Free Software Foundation
15173
 
+# gives unlimited permission to copy and/or distribute it,
15174
 
+# with or without modifications, as long as this notice is preserved.
15175
 
 
15176
 
-       # Test if we are trying to use run time linking or normal
15177
 
-       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15178
 
-       # need to do runtime linking.
15179
 
-       case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
15180
 
-         for ld_flag in $LDFLAGS; do
15181
 
-         if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
15182
 
-           aix_use_runtimelinking=yes
15183
 
-           break
15184
 
-         fi
15185
 
-         done
15186
 
-         ;;
15187
 
-       esac
15188
 
+# serial 16
15189
 
+
15190
 
+# This macro actually does too much.  Some checks are only needed if
15191
 
+# your package does certain things.  But this isn't really a big deal.
15192
 
+
15193
 
+# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
15194
 
+# AM_INIT_AUTOMAKE([OPTIONS])
15195
 
+# -----------------------------------------------
15196
 
+# The call with PACKAGE and VERSION arguments is the old style
15197
 
+# call (pre autoconf-2.50), which is being phased out.  PACKAGE
15198
 
+# and VERSION should now be passed to AC_INIT and removed from
15199
 
+# the call to AM_INIT_AUTOMAKE.
15200
 
+# We support both call styles for the transition.  After
15201
 
+# the next Automake release, Autoconf can make the AC_INIT
15202
 
+# arguments mandatory, and then we can depend on a new Autoconf
15203
 
+# release and drop the old call support.
15204
 
+AC_DEFUN([AM_INIT_AUTOMAKE],
15205
 
+[AC_PREREQ([2.62])dnl
15206
 
+dnl Autoconf wants to disallow AM_ names.  We explicitly allow
15207
 
+dnl the ones we care about.
15208
 
+m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
15209
 
+AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
15210
 
+AC_REQUIRE([AC_PROG_INSTALL])dnl
15211
 
+if test "`cd $srcdir && pwd`" != "`pwd`"; then
15212
 
+  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
15213
 
+  # is not polluted with repeated "-I."
15214
 
+  AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
15215
 
+  # test to see if srcdir already configured
15216
 
+  if test -f $srcdir/config.status; then
15217
 
+    AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
15218
 
+  fi
15219
 
+fi
15220
 
 
15221
 
-       exp_sym_flag='-bexport'
15222
 
-       no_entry_flag='-bnoentry'
15223
 
-      fi
15224
 
+# test whether we have cygpath
15225
 
+if test -z "$CYGPATH_W"; then
15226
 
+  if (cygpath --version) >/dev/null 2>/dev/null; then
15227
 
+    CYGPATH_W='cygpath -w'
15228
 
+  else
15229
 
+    CYGPATH_W=echo
15230
 
+  fi
15231
 
+fi
15232
 
+AC_SUBST([CYGPATH_W])
15233
 
 
15234
 
-      # When large executables or shared objects are built, AIX ld can
15235
 
-      # have problems creating the table of contents.  If linking a library
15236
 
-      # or program results in "error TOC overflow" add -mminimal-toc to
15237
 
-      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
15238
 
-      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15239
 
+# Define the identity of the package.
15240
 
+dnl Distinguish between old-style and new-style calls.
15241
 
+m4_ifval([$2],
15242
 
+[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
15243
 
+ AC_SUBST([PACKAGE], [$1])dnl
15244
 
+ AC_SUBST([VERSION], [$2])],
15245
 
+[_AM_SET_OPTIONS([$1])dnl
15246
 
+dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
15247
 
+m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
15248
 
+  [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
15249
 
+ AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
15250
 
+ AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
15251
 
 
15252
 
-      _LT_AC_TAGVAR(archive_cmds, $1)=''
15253
 
-      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
15254
 
-      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
15255
 
-      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
15256
 
+_AM_IF_OPTION([no-define],,
15257
 
+[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
15258
 
+ AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
15259
 
 
15260
 
-      if test "$GCC" = yes; then
15261
 
-       case $host_os in aix4.[[012]]|aix4.[[012]].*)
15262
 
-       # We only want to do this on AIX 4.2 and lower, the check
15263
 
-       # below for broken collect2 doesn't work under 4.3+
15264
 
-         collect2name=`${CC} -print-prog-name=collect2`
15265
 
-         if test -f "$collect2name" && \
15266
 
-          strings "$collect2name" | grep resolve_lib_name >/dev/null
15267
 
-         then
15268
 
-         # We have reworked collect2
15269
 
-         :
15270
 
-         else
15271
 
-         # We have old collect2
15272
 
-         _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
15273
 
-         # It fails to find uninstalled libraries when the uninstalled
15274
 
-         # path is not listed in the libpath.  Setting hardcode_minus_L
15275
 
-         # to unsupported forces relinking
15276
 
-         _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
15277
 
-         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
15278
 
-         _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
15279
 
-         fi
15280
 
-         ;;
15281
 
-       esac
15282
 
-       shared_flag='-shared'
15283
 
-       if test "$aix_use_runtimelinking" = yes; then
15284
 
-         shared_flag="$shared_flag "'${wl}-G'
15285
 
-       fi
15286
 
-      else
15287
 
-       # not using gcc
15288
 
-       if test "$host_cpu" = ia64; then
15289
 
-       # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15290
 
-       # chokes on -Wl,-G. The following line is correct:
15291
 
-         shared_flag='-G'
15292
 
-       else
15293
 
-         if test "$aix_use_runtimelinking" = yes; then
15294
 
-           shared_flag='${wl}-G'
15295
 
-         else
15296
 
-           shared_flag='${wl}-bM:SRE'
15297
 
-         fi
15298
 
-       fi
15299
 
-      fi
15300
 
+# Some tools Automake needs.
15301
 
+AC_REQUIRE([AM_SANITY_CHECK])dnl
15302
 
+AC_REQUIRE([AC_ARG_PROGRAM])dnl
15303
 
+AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
15304
 
+AM_MISSING_PROG(AUTOCONF, autoconf)
15305
 
+AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
15306
 
+AM_MISSING_PROG(AUTOHEADER, autoheader)
15307
 
+AM_MISSING_PROG(MAKEINFO, makeinfo)
15308
 
+AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
15309
 
+AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
15310
 
+AC_REQUIRE([AM_PROG_MKDIR_P])dnl
15311
 
+# We need awk for the "check" target.  The system "awk" is bad on
15312
 
+# some platforms.
15313
 
+AC_REQUIRE([AC_PROG_AWK])dnl
15314
 
+AC_REQUIRE([AC_PROG_MAKE_SET])dnl
15315
 
+AC_REQUIRE([AM_SET_LEADING_DOT])dnl
15316
 
+_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
15317
 
+             [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
15318
 
+                            [_AM_PROG_TAR([v7])])])
15319
 
+_AM_IF_OPTION([no-dependencies],,
15320
 
+[AC_PROVIDE_IFELSE([AC_PROG_CC],
15321
 
+                 [_AM_DEPENDENCIES(CC)],
15322
 
+                 [define([AC_PROG_CC],
15323
 
+                         defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
15324
 
+AC_PROVIDE_IFELSE([AC_PROG_CXX],
15325
 
+                 [_AM_DEPENDENCIES(CXX)],
15326
 
+                 [define([AC_PROG_CXX],
15327
 
+                         defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
15328
 
+AC_PROVIDE_IFELSE([AC_PROG_OBJC],
15329
 
+                 [_AM_DEPENDENCIES(OBJC)],
15330
 
+                 [define([AC_PROG_OBJC],
15331
 
+                         defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
15332
 
+])
15333
 
+_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
15334
 
+dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
15335
 
+dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This macro
15336
 
+dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
15337
 
+AC_CONFIG_COMMANDS_PRE(dnl
15338
 
+[m4_provide_if([_AM_COMPILER_EXEEXT],
15339
 
+  [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
15340
 
+])
15341
 
 
15342
 
-      # It seems that -bexpall does not export symbols beginning with
15343
 
-      # underscore (_), so it is better to generate a list of symbols to export.
15344
 
-      _LT_AC_TAGVAR(always_export_symbols, $1)=yes
15345
 
-      if test "$aix_use_runtimelinking" = yes; then
15346
 
-       # Warning - without using the other runtime loading flags (-brtl),
15347
 
-       # -berok will link without error, but may produce a broken library.
15348
 
-       _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
15349
 
-       # Determine the default libpath from the value encoded in an empty executable.
15350
 
-       _LT_AC_SYS_LIBPATH_AIX
15351
 
-       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
15352
 
-       _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
15353
 
-       else
15354
 
-       if test "$host_cpu" = ia64; then
15355
 
-         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
15356
 
-         _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
15357
 
-         _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
15358
 
-       else
15359
 
-        # Determine the default libpath from the value encoded in an empty executable.
15360
 
-        _LT_AC_SYS_LIBPATH_AIX
15361
 
-        _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
15362
 
-         # Warning - without using the other run time loading flags,
15363
 
-         # -berok will link without error, but may produce a broken library.
15364
 
-         _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
15365
 
-         _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
15366
 
-         # Exported symbols can be pulled into shared objects from archives
15367
 
-         _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
15368
 
-         _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
15369
 
-         # This is similar to how AIX traditionally builds its shared libraries.
15370
 
-         _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
15371
 
-       fi
15372
 
-      fi
15373
 
-      ;;
15374
 
+dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
15375
 
+dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
15376
 
+dnl mangled by Autoconf and run in a shell conditional statement.
15377
 
+m4_define([_AC_COMPILER_EXEEXT],
15378
 
+m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
15379
 
 
15380
 
-    amigaos*)
15381
 
-      _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
15382
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
15383
 
-      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
15384
 
-      # see comment about different semantics on the GNU ld section
15385
 
-      _LT_AC_TAGVAR(ld_shlibs, $1)=no
15386
 
-      ;;
15387
 
 
15388
 
-    bsdi[[45]]*)
15389
 
-      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
15390
 
-      ;;
15391
 
+# When config.status generates a header, we must update the stamp-h file.
15392
 
+# This file resides in the same directory as the config header
15393
 
+# that is generated.  The stamp files are numbered to have different names.
15394
 
 
15395
 
-    cygwin* | mingw* | pw32*)
15396
 
-      # When not using gcc, we currently assume that we are using
15397
 
-      # Microsoft Visual C++.
15398
 
-      # hardcode_libdir_flag_spec is actually meaningless, as there is
15399
 
-      # no search path for DLLs.
15400
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
15401
 
-      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
15402
 
-      # Tell ltmain to make .lib files, not .a files.
15403
 
-      libext=lib
15404
 
-      # Tell ltmain to make .dll files, not .so files.
15405
 
-      shrext_cmds=".dll"
15406
 
-      # FIXME: Setting linknames here is a bad hack.
15407
 
-      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15408
 
-      # The linker will automatically build a .lib file if we build a DLL.
15409
 
-      _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true'
15410
 
-      # FIXME: Should let the user specify the lib program.
15411
 
-      _LT_AC_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
15412
 
-      _LT_AC_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'
15413
 
-      _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
15414
 
-      ;;
15415
 
+# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
15416
 
+# loop where config.status creates the headers, so we can generate
15417
 
+# our stamp files there.
15418
 
+AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
15419
 
+[# Compute $1's index in $config_headers.
15420
 
+_am_arg=$1
15421
 
+_am_stamp_count=1
15422
 
+for _am_header in $config_headers :; do
15423
 
+  case $_am_header in
15424
 
+    $_am_arg | $_am_arg:* )
15425
 
+      break ;;
15426
 
+    * )
15427
 
+      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
15428
 
+  esac
15429
 
+done
15430
 
+echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
15431
 
 
15432
 
-    darwin* | rhapsody*)
15433
 
-      case $host_os in
15434
 
-        rhapsody* | darwin1.[[012]])
15435
 
-         _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress'
15436
 
-         ;;
15437
 
-       *) # Darwin 1.3 on
15438
 
-         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15439
 
-           _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15440
 
-         else
15441
 
-           case ${MACOSX_DEPLOYMENT_TARGET} in
15442
 
-             10.[[012]])
15443
 
-               _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15444
 
-               ;;
15445
 
-             10.*)
15446
 
-               _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup'
15447
 
-               ;;
15448
 
-           esac
15449
 
-         fi
15450
 
-         ;;
15451
 
-      esac
15452
 
-      _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
15453
 
-      _LT_AC_TAGVAR(hardcode_direct, $1)=no
15454
 
-      _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
15455
 
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
15456
 
-      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''
15457
 
-      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
15458
 
-    if test "$GCC" = yes ; then
15459
 
-       output_verbose_link_cmd='echo'
15460
 
-        _LT_AC_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
15461
 
-        _LT_AC_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
15462
 
-        _LT_AC_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
15463
 
-        _LT_AC_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
15464
 
-    else
15465
 
-      case $cc_basename in
15466
 
-        xlc*)
15467
 
-         output_verbose_link_cmd='echo'
15468
 
-         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
15469
 
-         _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15470
 
-          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15471
 
-         _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15472
 
-          _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15473
 
-          ;;
15474
 
-       *)
15475
 
-         _LT_AC_TAGVAR(ld_shlibs, $1)=no
15476
 
-          ;;
15477
 
-      esac
15478
 
-    fi
15479
 
-      ;;
15480
 
+# Copyright (C) 2001, 2003, 2005, 2008  Free Software Foundation, Inc.
15481
 
+#
15482
 
+# This file is free software; the Free Software Foundation
15483
 
+# gives unlimited permission to copy and/or distribute it,
15484
 
+# with or without modifications, as long as this notice is preserved.
15485
 
 
15486
 
-    dgux*)
15487
 
-      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15488
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
15489
 
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
15490
 
-      ;;
15491
 
+# AM_PROG_INSTALL_SH
15492
 
+# ------------------
15493
 
+# Define $install_sh.
15494
 
+AC_DEFUN([AM_PROG_INSTALL_SH],
15495
 
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
15496
 
+if test x"${install_sh}" != xset; then
15497
 
+  case $am_aux_dir in
15498
 
+  *\ * | *\    *)
15499
 
+    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
15500
 
+  *)
15501
 
+    install_sh="\${SHELL} $am_aux_dir/install-sh"
15502
 
+  esac
15503
 
+fi
15504
 
+AC_SUBST(install_sh)])
15505
 
 
15506
 
-    freebsd1*)
15507
 
-      _LT_AC_TAGVAR(ld_shlibs, $1)=no
15508
 
-      ;;
15509
 
+# Copyright (C) 2003, 2005  Free Software Foundation, Inc.
15510
 
+#
15511
 
+# This file is free software; the Free Software Foundation
15512
 
+# gives unlimited permission to copy and/or distribute it,
15513
 
+# with or without modifications, as long as this notice is preserved.
15514
 
 
15515
 
-    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15516
 
-    # support.  Future versions do this automatically, but an explicit c++rt0.o
15517
 
-    # does not break anything, and helps significantly (at the cost of a little
15518
 
-    # extra space).
15519
 
-    freebsd2.2*)
15520
 
-      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15521
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
15522
 
-      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
15523
 
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
15524
 
-      ;;
15525
 
+# serial 2
15526
 
 
15527
 
-    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15528
 
-    freebsd2*)
15529
 
-      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15530
 
-      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
15531
 
-      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
15532
 
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
15533
 
-      ;;
15534
 
+# Check whether the underlying file-system supports filenames
15535
 
+# with a leading dot.  For instance MS-DOS doesn't.
15536
 
+AC_DEFUN([AM_SET_LEADING_DOT],
15537
 
+[rm -rf .tst 2>/dev/null
15538
 
+mkdir .tst 2>/dev/null
15539
 
+if test -d .tst; then
15540
 
+  am__leading_dot=.
15541
 
+else
15542
 
+  am__leading_dot=_
15543
 
+fi
15544
 
+rmdir .tst 2>/dev/null
15545
 
+AC_SUBST([am__leading_dot])])
15546
 
 
15547
 
-    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15548
 
-    freebsd* | dragonfly*)
15549
 
-      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15550
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
15551
 
-      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
15552
 
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
15553
 
-      ;;
15554
 
+# Add --enable-maintainer-mode option to configure.         -*- Autoconf -*-
15555
 
+# From Jim Meyering
15556
 
 
15557
 
-    hpux9*)
15558
 
-      if test "$GCC" = yes; then
15559
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
15560
 
-      else
15561
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
15562
 
-      fi
15563
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
15564
 
-      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
15565
 
-      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
15566
 
+# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
15567
 
+# Free Software Foundation, Inc.
15568
 
+#
15569
 
+# This file is free software; the Free Software Foundation
15570
 
+# gives unlimited permission to copy and/or distribute it,
15571
 
+# with or without modifications, as long as this notice is preserved.
15572
 
 
15573
 
-      # hardcode_minus_L: Not really in the search PATH,
15574
 
-      # but as the default location of the library.
15575
 
-      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
15576
 
-      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
15577
 
-      ;;
15578
 
+# serial 5
15579
 
 
15580
 
-    hpux10*)
15581
 
-      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15582
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15583
 
-      else
15584
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15585
 
-      fi
15586
 
-      if test "$with_gnu_ld" = no; then
15587
 
-       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
15588
 
-       _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
15589
 
+# AM_MAINTAINER_MODE([DEFAULT-MODE])
15590
 
+# ----------------------------------
15591
 
+# Control maintainer-specific portions of Makefiles.
15592
 
+# Default is to disable them, unless `enable' is passed literally.
15593
 
+# For symmetry, `disable' may be passed as well.  Anyway, the user
15594
 
+# can override the default with the --enable/--disable switch.
15595
 
+AC_DEFUN([AM_MAINTAINER_MODE],
15596
 
+[m4_case(m4_default([$1], [disable]),
15597
 
+       [enable], [m4_define([am_maintainer_other], [disable])],
15598
 
+       [disable], [m4_define([am_maintainer_other], [enable])],
15599
 
+       [m4_define([am_maintainer_other], [enable])
15600
 
+        m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
15601
 
+AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
15602
 
+  dnl maintainer-mode's default is 'disable' unless 'enable' is passed
15603
 
+  AC_ARG_ENABLE([maintainer-mode],
15604
 
+[  --][am_maintainer_other][-maintainer-mode  am_maintainer_other make rules and dependencies not useful
15605
 
+                         (and sometimes confusing) to the casual installer],
15606
 
+      [USE_MAINTAINER_MODE=$enableval],
15607
 
+      [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
15608
 
+  AC_MSG_RESULT([$USE_MAINTAINER_MODE])
15609
 
+  AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
15610
 
+  MAINT=$MAINTAINER_MODE_TRUE
15611
 
+  AC_SUBST([MAINT])dnl
15612
 
+]
15613
 
+)
15614
 
 
15615
 
-       _LT_AC_TAGVAR(hardcode_direct, $1)=yes
15616
 
-       _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
15617
 
+AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
15618
 
 
15619
 
-       # hardcode_minus_L: Not really in the search PATH,
15620
 
-       # but as the default location of the library.
15621
 
-       _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
15622
 
-      fi
15623
 
-      ;;
15624
 
+# Check to see how 'make' treats includes.                 -*- Autoconf -*-
15625
 
 
15626
 
-    hpux11*)
15627
 
-      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15628
 
-       case $host_cpu in
15629
 
-       hppa*64*)
15630
 
-         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15631
 
-         ;;
15632
 
-       ia64*)
15633
 
-         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15634
 
-         ;;
15635
 
-       *)
15636
 
-         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15637
 
-         ;;
15638
 
-       esac
15639
 
-      else
15640
 
-       case $host_cpu in
15641
 
-       hppa*64*)
15642
 
-         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15643
 
-         ;;
15644
 
-       ia64*)
15645
 
-         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15646
 
-         ;;
15647
 
-       *)
15648
 
-         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15649
 
-         ;;
15650
 
-       esac
15651
 
-      fi
15652
 
-      if test "$with_gnu_ld" = no; then
15653
 
-       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
15654
 
-       _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
15655
 
+# Copyright (C) 2001, 2002, 2003, 2005, 2009  Free Software Foundation, Inc.
15656
 
+#
15657
 
+# This file is free software; the Free Software Foundation
15658
 
+# gives unlimited permission to copy and/or distribute it,
15659
 
+# with or without modifications, as long as this notice is preserved.
15660
 
 
15661
 
-       case $host_cpu in
15662
 
-       hppa*64*|ia64*)
15663
 
-         _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
15664
 
-         _LT_AC_TAGVAR(hardcode_direct, $1)=no
15665
 
-         _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
15666
 
-         ;;
15667
 
-       *)
15668
 
-         _LT_AC_TAGVAR(hardcode_direct, $1)=yes
15669
 
-         _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
15670
 
+# serial 4
15671
 
 
15672
 
-         # hardcode_minus_L: Not really in the search PATH,
15673
 
-         # but as the default location of the library.
15674
 
-         _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
15675
 
-         ;;
15676
 
-       esac
15677
 
-      fi
15678
 
-      ;;
15679
 
+# AM_MAKE_INCLUDE()
15680
 
+# -----------------
15681
 
+# Check to see how make treats includes.
15682
 
+AC_DEFUN([AM_MAKE_INCLUDE],
15683
 
+[am_make=${MAKE-make}
15684
 
+cat > confinc << 'END'
15685
 
+am__doit:
15686
 
+       @echo this is the am__doit target
15687
 
+.PHONY: am__doit
15688
 
+END
15689
 
+# If we don't find an include directive, just comment out the code.
15690
 
+AC_MSG_CHECKING([for style of include used by $am_make])
15691
 
+am__include="#"
15692
 
+am__quote=
15693
 
+_am_result=none
15694
 
+# First try GNU make style include.
15695
 
+echo "include confinc" > confmf
15696
 
+# Ignore all kinds of additional output from `make'.
15697
 
+case `$am_make -s -f confmf 2> /dev/null` in #(
15698
 
+*the\ am__doit\ target*)
15699
 
+  am__include=include
15700
 
+  am__quote=
15701
 
+  _am_result=GNU
15702
 
+  ;;
15703
 
+esac
15704
 
+# Now try BSD make style include.
15705
 
+if test "$am__include" = "#"; then
15706
 
+   echo '.include "confinc"' > confmf
15707
 
+   case `$am_make -s -f confmf 2> /dev/null` in #(
15708
 
+   *the\ am__doit\ target*)
15709
 
+     am__include=.include
15710
 
+     am__quote="\""
15711
 
+     _am_result=BSD
15712
 
+     ;;
15713
 
+   esac
15714
 
+fi
15715
 
+AC_SUBST([am__include])
15716
 
+AC_SUBST([am__quote])
15717
 
+AC_MSG_RESULT([$_am_result])
15718
 
+rm -f confinc confmf
15719
 
+])
15720
 
 
15721
 
-    irix5* | irix6* | nonstopux*)
15722
 
-      if test "$GCC" = yes; then
15723
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15724
 
-      else
15725
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
15726
 
-       _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
15727
 
-      fi
15728
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
15729
 
-      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
15730
 
-      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
15731
 
-      ;;
15732
 
+# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
15733
 
 
15734
 
-    netbsd*)
15735
 
-      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15736
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
15737
 
-      else
15738
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
15739
 
-      fi
15740
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
15741
 
-      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
15742
 
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
15743
 
-      ;;
15744
 
+# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
15745
 
+# Free Software Foundation, Inc.
15746
 
+#
15747
 
+# This file is free software; the Free Software Foundation
15748
 
+# gives unlimited permission to copy and/or distribute it,
15749
 
+# with or without modifications, as long as this notice is preserved.
15750
 
 
15751
 
-    newsos6)
15752
 
-      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15753
 
-      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
15754
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
15755
 
-      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
15756
 
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
15757
 
-      ;;
15758
 
+# serial 6
15759
 
 
15760
 
-    openbsd*)
15761
 
-      if test -f /usr/libexec/ld.so; then
15762
 
-       _LT_AC_TAGVAR(hardcode_direct, $1)=yes
15763
 
-       _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
15764
 
-       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15765
 
-         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15766
 
-         _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15767
 
-         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
15768
 
-         _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
15769
 
-       else
15770
 
-         case $host_os in
15771
 
-          openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
15772
 
-            _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15773
 
-            _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
15774
 
-            ;;
15775
 
-          *)
15776
 
-            _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15777
 
-            _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
15778
 
-            ;;
15779
 
-         esac
15780
 
-        fi
15781
 
-      else
15782
 
-       _LT_AC_TAGVAR(ld_shlibs, $1)=no
15783
 
-      fi
15784
 
-      ;;
15785
 
+# AM_MISSING_PROG(NAME, PROGRAM)
15786
 
+# ------------------------------
15787
 
+AC_DEFUN([AM_MISSING_PROG],
15788
 
+[AC_REQUIRE([AM_MISSING_HAS_RUN])
15789
 
+$1=${$1-"${am_missing_run}$2"}
15790
 
+AC_SUBST($1)])
15791
 
 
15792
 
-    os2*)
15793
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
15794
 
-      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
15795
 
-      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
15796
 
-      _LT_AC_TAGVAR(archive_cmds, $1)='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
15797
 
-      _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15798
 
-      ;;
15799
 
 
15800
 
-    osf3*)
15801
 
-      if test "$GCC" = yes; then
15802
 
-       _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
15803
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15804
 
-      else
15805
 
-       _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
15806
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
15807
 
-      fi
15808
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
15809
 
-      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
15810
 
-      ;;
15811
 
+# AM_MISSING_HAS_RUN
15812
 
+# ------------------
15813
 
+# Define MISSING if not defined so far and test if it supports --run.
15814
 
+# If it does, set am_missing_run to use it, otherwise, to nothing.
15815
 
+AC_DEFUN([AM_MISSING_HAS_RUN],
15816
 
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
15817
 
+AC_REQUIRE_AUX_FILE([missing])dnl
15818
 
+if test x"${MISSING+set}" != xset; then
15819
 
+  case $am_aux_dir in
15820
 
+  *\ * | *\    *)
15821
 
+    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
15822
 
+  *)
15823
 
+    MISSING="\${SHELL} $am_aux_dir/missing" ;;
15824
 
+  esac
15825
 
+fi
15826
 
+# Use eval to expand $SHELL
15827
 
+if eval "$MISSING --run true"; then
15828
 
+  am_missing_run="$MISSING --run "
15829
 
+else
15830
 
+  am_missing_run=
15831
 
+  AC_MSG_WARN([`missing' script is too old or missing])
15832
 
+fi
15833
 
+])
15834
 
 
15835
 
-    osf4* | osf5*)     # as osf3* with the addition of -msym flag
15836
 
-      if test "$GCC" = yes; then
15837
 
-       _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
15838
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15839
 
-       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
15840
 
-      else
15841
 
-       _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
15842
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
15843
 
-       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
15844
 
-       $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
15845
 
+# Copyright (C) 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
15846
 
+#
15847
 
+# This file is free software; the Free Software Foundation
15848
 
+# gives unlimited permission to copy and/or distribute it,
15849
 
+# with or without modifications, as long as this notice is preserved.
15850
 
 
15851
 
-       # Both c and cxx compiler support -rpath directly
15852
 
-       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
15853
 
-      fi
15854
 
-      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
15855
 
-      ;;
15856
 
+# AM_PROG_MKDIR_P
15857
 
+# ---------------
15858
 
+# Check for `mkdir -p'.
15859
 
+AC_DEFUN([AM_PROG_MKDIR_P],
15860
 
+[AC_PREREQ([2.60])dnl
15861
 
+AC_REQUIRE([AC_PROG_MKDIR_P])dnl
15862
 
+dnl Automake 1.8 to 1.9.6 used to define mkdir_p.  We now use MKDIR_P,
15863
 
+dnl while keeping a definition of mkdir_p for backward compatibility.
15864
 
+dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
15865
 
+dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
15866
 
+dnl Makefile.ins that do not define MKDIR_P, so we do our own
15867
 
+dnl adjustment using top_builddir (which is defined more often than
15868
 
+dnl MKDIR_P).
15869
 
+AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
15870
 
+case $mkdir_p in
15871
 
+  [[\\/$]]* | ?:[[\\/]]*) ;;
15872
 
+  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
15873
 
+esac
15874
 
+])
15875
 
 
15876
 
-    solaris*)
15877
 
-      _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
15878
 
-      if test "$GCC" = yes; then
15879
 
-       wlarc='${wl}'
15880
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15881
 
-       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15882
 
-         $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15883
 
-      else
15884
 
-       wlarc=''
15885
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15886
 
-       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15887
 
-       $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15888
 
-      fi
15889
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
15890
 
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
15891
 
-      case $host_os in
15892
 
-      solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
15893
 
-      *)
15894
 
-       # The compiler driver will combine and reorder linker options,
15895
 
-       # but understands `-z linker_flag'.  GCC discards it without `$wl',
15896
 
-       # but is careful enough not to reorder.
15897
 
-       # Supported since Solaris 2.6 (maybe 2.5.1?)
15898
 
-       if test "$GCC" = yes; then
15899
 
-         _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15900
 
-       else
15901
 
-         _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
15902
 
-       fi
15903
 
-       ;;
15904
 
-      esac
15905
 
-      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
15906
 
-      ;;
15907
 
+# Helper functions for option handling.                     -*- Autoconf -*-
15908
 
 
15909
 
-    sunos4*)
15910
 
-      if test "x$host_vendor" = xsequent; then
15911
 
-       # Use $CC to link under sequent, because it throws in some extra .o
15912
 
-       # files that make .init and .fini sections work.
15913
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15914
 
-      else
15915
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15916
 
-      fi
15917
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
15918
 
-      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
15919
 
-      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
15920
 
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
15921
 
-      ;;
15922
 
+# Copyright (C) 2001, 2002, 2003, 2005, 2008  Free Software Foundation, Inc.
15923
 
+#
15924
 
+# This file is free software; the Free Software Foundation
15925
 
+# gives unlimited permission to copy and/or distribute it,
15926
 
+# with or without modifications, as long as this notice is preserved.
15927
 
 
15928
 
-    sysv4)
15929
 
-      case $host_vendor in
15930
 
-       sni)
15931
 
-         _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15932
 
-         _LT_AC_TAGVAR(hardcode_direct, $1)=yes # is this really true???
15933
 
-       ;;
15934
 
-       siemens)
15935
 
-         ## LD is ld it makes a PLAMLIB
15936
 
-         ## CC just makes a GrossModule.
15937
 
-         _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15938
 
-         _LT_AC_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
15939
 
-         _LT_AC_TAGVAR(hardcode_direct, $1)=no
15940
 
-        ;;
15941
 
-       motorola)
15942
 
-         _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15943
 
-         _LT_AC_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
15944
 
-       ;;
15945
 
-      esac
15946
 
-      runpath_var='LD_RUN_PATH'
15947
 
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
15948
 
-      ;;
15949
 
+# serial 4
15950
 
 
15951
 
-    sysv4.3*)
15952
 
-      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15953
 
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
15954
 
-      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
15955
 
-      ;;
15956
 
+# _AM_MANGLE_OPTION(NAME)
15957
 
+# -----------------------
15958
 
+AC_DEFUN([_AM_MANGLE_OPTION],
15959
 
+[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
15960
 
 
15961
 
-    sysv4*MP*)
15962
 
-      if test -d /usr/nec; then
15963
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15964
 
-       _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
15965
 
-       runpath_var=LD_RUN_PATH
15966
 
-       hardcode_runpath_var=yes
15967
 
-       _LT_AC_TAGVAR(ld_shlibs, $1)=yes
15968
 
-      fi
15969
 
-      ;;
15970
 
+# _AM_SET_OPTION(NAME)
15971
 
+# ------------------------------
15972
 
+# Set option NAME.  Presently that only means defining a flag for this option.
15973
 
+AC_DEFUN([_AM_SET_OPTION],
15974
 
+[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
15975
 
 
15976
 
-    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
15977
 
-      _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
15978
 
-      _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
15979
 
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
15980
 
-      runpath_var='LD_RUN_PATH'
15981
 
+# _AM_SET_OPTIONS(OPTIONS)
15982
 
+# ----------------------------------
15983
 
+# OPTIONS is a space-separated list of Automake options.
15984
 
+AC_DEFUN([_AM_SET_OPTIONS],
15985
 
+[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
15986
 
 
15987
 
-      if test "$GCC" = yes; then
15988
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15989
 
-       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15990
 
-      else
15991
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15992
 
-       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15993
 
-      fi
15994
 
-      ;;
15995
 
+# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
15996
 
+# -------------------------------------------
15997
 
+# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
15998
 
+AC_DEFUN([_AM_IF_OPTION],
15999
 
+[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
16000
 
 
16001
 
-    sysv5* | sco3.2v5* | sco5v6*)
16002
 
-      # Note: We can NOT use -z defs as we might desire, because we do not
16003
 
-      # link with -lc, and that would cause any symbols used from libc to
16004
 
-      # always be unresolved, which means just about no library would
16005
 
-      # ever link correctly.  If we're not using GNU ld we use -z text
16006
 
-      # though, which does catch some bad symbols but isn't as heavy-handed
16007
 
-      # as -z defs.
16008
 
-      _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
16009
 
-      _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
16010
 
-      _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
16011
 
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
16012
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
16013
 
-      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
16014
 
-      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
16015
 
-      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
16016
 
-      runpath_var='LD_RUN_PATH'
16017
 
+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008, 2009
16018
 
+# Free Software Foundation, Inc.
16019
 
+#
16020
 
+# This file is free software; the Free Software Foundation
16021
 
+# gives unlimited permission to copy and/or distribute it,
16022
 
+# with or without modifications, as long as this notice is preserved.
16023
 
 
16024
 
-      if test "$GCC" = yes; then
16025
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16026
 
-       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16027
 
+# AM_PATH_PYTHON([MINIMUM-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
16028
 
+# ---------------------------------------------------------------------------
16029
 
+# Adds support for distributing Python modules and packages.  To
16030
 
+# install modules, copy them to $(pythondir), using the python_PYTHON
16031
 
+# automake variable.  To install a package with the same name as the
16032
 
+# automake package, install to $(pkgpythondir), or use the
16033
 
+# pkgpython_PYTHON automake variable.
16034
 
+#
16035
 
+# The variables $(pyexecdir) and $(pkgpyexecdir) are provided as
16036
 
+# locations to install python extension modules (shared libraries).
16037
 
+# Another macro is required to find the appropriate flags to compile
16038
 
+# extension modules.
16039
 
+#
16040
 
+# If your package is configured with a different prefix to python,
16041
 
+# users will have to add the install directory to the PYTHONPATH
16042
 
+# environment variable, or create a .pth file (see the python
16043
 
+# documentation for details).
16044
 
+#
16045
 
+# If the MINIMUM-VERSION argument is passed, AM_PATH_PYTHON will
16046
 
+# cause an error if the version of python installed on the system
16047
 
+# doesn't meet the requirement.  MINIMUM-VERSION should consist of
16048
 
+# numbers and dots only.
16049
 
+AC_DEFUN([AM_PATH_PYTHON],
16050
 
+ [
16051
 
+  dnl Find a Python interpreter.  Python versions prior to 2.0 are not
16052
 
+  dnl supported. (2.0 was released on October 16, 2000).
16053
 
+  m4_define_default([_AM_PYTHON_INTERPRETER_LIST],
16054
 
+                    [python python2 python3 python3.0 python2.5 python2.4 python2.3 python2.2 dnl
16055
 
+python2.1 python2.0])
16056
 
+
16057
 
+  m4_if([$1],[],[
16058
 
+    dnl No version check is needed.
16059
 
+    # Find any Python interpreter.
16060
 
+    if test -z "$PYTHON"; then
16061
 
+      AC_PATH_PROGS([PYTHON], _AM_PYTHON_INTERPRETER_LIST, :)
16062
 
+    fi
16063
 
+    am_display_PYTHON=python
16064
 
+  ], [
16065
 
+    dnl A version check is needed.
16066
 
+    if test -n "$PYTHON"; then
16067
 
+      # If the user set $PYTHON, use it and don't search something else.
16068
 
+      AC_MSG_CHECKING([whether $PYTHON version >= $1])
16069
 
+      AM_PYTHON_CHECK_VERSION([$PYTHON], [$1],
16070
 
+                             [AC_MSG_RESULT(yes)],
16071
 
+                             [AC_MSG_ERROR(too old)])
16072
 
+      am_display_PYTHON=$PYTHON
16073
 
+    else
16074
 
+      # Otherwise, try each interpreter until we find one that satisfies
16075
 
+      # VERSION.
16076
 
+      AC_CACHE_CHECK([for a Python interpreter with version >= $1],
16077
 
+       [am_cv_pathless_PYTHON],[
16078
 
+       for am_cv_pathless_PYTHON in _AM_PYTHON_INTERPRETER_LIST none; do
16079
 
+         test "$am_cv_pathless_PYTHON" = none && break
16080
 
+         AM_PYTHON_CHECK_VERSION([$am_cv_pathless_PYTHON], [$1], [break])
16081
 
+       done])
16082
 
+      # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
16083
 
+      if test "$am_cv_pathless_PYTHON" = none; then
16084
 
+       PYTHON=:
16085
 
       else
16086
 
-       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16087
 
-       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16088
 
+        AC_PATH_PROG([PYTHON], [$am_cv_pathless_PYTHON])
16089
 
       fi
16090
 
-      ;;
16091
 
+      am_display_PYTHON=$am_cv_pathless_PYTHON
16092
 
+    fi
16093
 
+  ])
16094
 
 
16095
 
-    uts4*)
16096
 
-      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16097
 
-      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
16098
 
-      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
16099
 
-      ;;
16100
 
+  if test "$PYTHON" = :; then
16101
 
+  dnl Run any user-specified action, or abort.
16102
 
+    m4_default([$3], [AC_MSG_ERROR([no suitable Python interpreter found])])
16103
 
+  else
16104
 
 
16105
 
-    *)
16106
 
-      _LT_AC_TAGVAR(ld_shlibs, $1)=no
16107
 
-      ;;
16108
 
-    esac
16109
 
-  fi
16110
 
-])
16111
 
-AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
16112
 
-test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
16113
 
+  dnl Query Python for its version number.  Getting [:3] seems to be
16114
 
+  dnl the best way to do this; it's what "site.py" does in the standard
16115
 
+  dnl library.
16116
 
 
16117
 
-#
16118
 
-# Do we need to explicitly link libc?
16119
 
-#
16120
 
-case "x$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)" in
16121
 
-x|xyes)
16122
 
-  # Assume -lc should be added
16123
 
-  _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
16124
 
+  AC_CACHE_CHECK([for $am_display_PYTHON version], [am_cv_python_version],
16125
 
+    [am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[[:3]])"`])
16126
 
+  AC_SUBST([PYTHON_VERSION], [$am_cv_python_version])
16127
 
 
16128
 
-  if test "$enable_shared" = yes && test "$GCC" = yes; then
16129
 
-    case $_LT_AC_TAGVAR(archive_cmds, $1) in
16130
 
-    *'~'*)
16131
 
-      # FIXME: we may have to deal with multi-command sequences.
16132
 
-      ;;
16133
 
-    '$CC '*)
16134
 
-      # Test whether the compiler implicitly links with -lc since on some
16135
 
-      # systems, -lgcc has to come before -lc. If gcc already passes -lc
16136
 
-      # to ld, don't add -lc before -lgcc.
16137
 
-      AC_MSG_CHECKING([whether -lc should be explicitly linked in])
16138
 
-      $rm conftest*
16139
 
-      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16140
 
+  dnl Use the values of $prefix and $exec_prefix for the corresponding
16141
 
+  dnl values of PYTHON_PREFIX and PYTHON_EXEC_PREFIX.  These are made
16142
 
+  dnl distinct variables so they can be overridden if need be.  However,
16143
 
+  dnl general consensus is that you shouldn't need this ability.
16144
 
 
16145
 
-      if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
16146
 
-        soname=conftest
16147
 
-        lib=conftest
16148
 
-        libobjs=conftest.$ac_objext
16149
 
-        deplibs=
16150
 
-        wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
16151
 
-       pic_flag=$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)
16152
 
-        compiler_flags=-v
16153
 
-        linker_flags=-v
16154
 
-        verstring=
16155
 
-        output_objdir=.
16156
 
-        libname=conftest
16157
 
-        lt_save_allow_undefined_flag=$_LT_AC_TAGVAR(allow_undefined_flag, $1)
16158
 
-        _LT_AC_TAGVAR(allow_undefined_flag, $1)=
16159
 
-        if AC_TRY_EVAL(_LT_AC_TAGVAR(archive_cmds, $1) 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1)
16160
 
-        then
16161
 
-         _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
16162
 
-        else
16163
 
-         _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
16164
 
-        fi
16165
 
-        _LT_AC_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
16166
 
-      else
16167
 
-        cat conftest.err 1>&5
16168
 
-      fi
16169
 
-      $rm conftest*
16170
 
-      AC_MSG_RESULT([$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)])
16171
 
-      ;;
16172
 
-    esac
16173
 
-  fi
16174
 
-  ;;
16175
 
-esac
16176
 
-])# AC_LIBTOOL_PROG_LD_SHLIBS
16177
 
+  AC_SUBST([PYTHON_PREFIX], ['${prefix}'])
16178
 
+  AC_SUBST([PYTHON_EXEC_PREFIX], ['${exec_prefix}'])
16179
 
 
16180
 
+  dnl At times (like when building shared libraries) you may want
16181
 
+  dnl to know which OS platform Python thinks this is.
16182
 
 
16183
 
-# _LT_AC_FILE_LTDLL_C
16184
 
-# -------------------
16185
 
-# Be careful that the start marker always follows a newline.
16186
 
-AC_DEFUN([_LT_AC_FILE_LTDLL_C], [
16187
 
-# /* ltdll.c starts here */
16188
 
-# #define WIN32_LEAN_AND_MEAN
16189
 
-# #include <windows.h>
16190
 
-# #undef WIN32_LEAN_AND_MEAN
16191
 
-# #include <stdio.h>
16192
 
-#
16193
 
-# #ifndef __CYGWIN__
16194
 
-# #  ifdef __CYGWIN32__
16195
 
-# #    define __CYGWIN__ __CYGWIN32__
16196
 
-# #  endif
16197
 
-# #endif
16198
 
-#
16199
 
-# #ifdef __cplusplus
16200
 
-# extern "C" {
16201
 
-# #endif
16202
 
-# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
16203
 
-# #ifdef __cplusplus
16204
 
-# }
16205
 
-# #endif
16206
 
-#
16207
 
-# #ifdef __CYGWIN__
16208
 
-# #include <cygwin/cygwin_dll.h>
16209
 
-# DECLARE_CYGWIN_DLL( DllMain );
16210
 
-# #endif
16211
 
-# HINSTANCE __hDllInstance_base;
16212
 
-#
16213
 
-# BOOL APIENTRY
16214
 
-# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
16215
 
-# {
16216
 
-#   __hDllInstance_base = hInst;
16217
 
-#   return TRUE;
16218
 
-# }
16219
 
-# /* ltdll.c ends here */
16220
 
-])# _LT_AC_FILE_LTDLL_C
16221
 
+  AC_CACHE_CHECK([for $am_display_PYTHON platform], [am_cv_python_platform],
16222
 
+    [am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`])
16223
 
+  AC_SUBST([PYTHON_PLATFORM], [$am_cv_python_platform])
16224
 
 
16225
 
 
16226
 
-# _LT_AC_TAGVAR(VARNAME, [TAGNAME])
16227
 
-# ---------------------------------
16228
 
-AC_DEFUN([_LT_AC_TAGVAR], [ifelse([$2], [], [$1], [$1_$2])])
16229
 
+  dnl Set up 4 directories:
16230
 
 
16231
 
+  dnl pythondir -- where to install python scripts.  This is the
16232
 
+  dnl   site-packages directory, not the python standard library
16233
 
+  dnl   directory like in previous automake betas.  This behavior
16234
 
+  dnl   is more consistent with lispdir.m4 for example.
16235
 
+  dnl Query distutils for this directory.  distutils does not exist in
16236
 
+  dnl Python 1.5, so we fall back to the hardcoded directory if it
16237
 
+  dnl doesn't work.
16238
 
+  AC_CACHE_CHECK([for $am_display_PYTHON script directory],
16239
 
+    [am_cv_python_pythondir],
16240
 
+    [if test "x$prefix" = xNONE
16241
 
+     then
16242
 
+       am_py_prefix=$ac_default_prefix
16243
 
+     else
16244
 
+       am_py_prefix=$prefix
16245
 
+     fi
16246
 
+     am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null ||
16247
 
+     echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
16248
 
+     case $am_cv_python_pythondir in
16249
 
+     $am_py_prefix*)
16250
 
+       am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
16251
 
+       am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
16252
 
+       ;;
16253
 
+     esac
16254
 
+    ])
16255
 
+  AC_SUBST([pythondir], [$am_cv_python_pythondir])
16256
 
 
16257
 
-# old names
16258
 
-AC_DEFUN([AM_PROG_LIBTOOL],   [AC_PROG_LIBTOOL])
16259
 
-AC_DEFUN([AM_ENABLE_SHARED],  [AC_ENABLE_SHARED($@)])
16260
 
-AC_DEFUN([AM_ENABLE_STATIC],  [AC_ENABLE_STATIC($@)])
16261
 
-AC_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
16262
 
-AC_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
16263
 
-AC_DEFUN([AM_PROG_LD],        [AC_PROG_LD])
16264
 
-AC_DEFUN([AM_PROG_NM],        [AC_PROG_NM])
16265
 
+  dnl pkgpythondir -- $PACKAGE directory under pythondir.  Was
16266
 
+  dnl   PYTHON_SITE_PACKAGE in previous betas, but this naming is
16267
 
+  dnl   more consistent with the rest of automake.
16268
 
 
16269
 
-# This is just to silence aclocal about the macro not being used
16270
 
-ifelse([AC_DISABLE_FAST_INSTALL])
16271
 
+  AC_SUBST([pkgpythondir], [\${pythondir}/$PACKAGE])
16272
 
 
16273
 
-AC_DEFUN([LT_AC_PROG_GCJ],
16274
 
-[AC_CHECK_TOOL(GCJ, gcj, no)
16275
 
-  test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
16276
 
-  AC_SUBST(GCJFLAGS)
16277
 
-])
16278
 
+  dnl pyexecdir -- directory for installing python extension modules
16279
 
+  dnl   (shared libraries)
16280
 
+  dnl Query distutils for this directory.  distutils does not exist in
16281
 
+  dnl Python 1.5, so we fall back to the hardcoded directory if it
16282
 
+  dnl doesn't work.
16283
 
+  AC_CACHE_CHECK([for $am_display_PYTHON extension module directory],
16284
 
+    [am_cv_python_pyexecdir],
16285
 
+    [if test "x$exec_prefix" = xNONE
16286
 
+     then
16287
 
+       am_py_exec_prefix=$am_py_prefix
16288
 
+     else
16289
 
+       am_py_exec_prefix=$exec_prefix
16290
 
+     fi
16291
 
+     am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null ||
16292
 
+     echo "$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
16293
 
+     case $am_cv_python_pyexecdir in
16294
 
+     $am_py_exec_prefix*)
16295
 
+       am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
16296
 
+       am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
16297
 
+       ;;
16298
 
+     esac
16299
 
+    ])
16300
 
+  AC_SUBST([pyexecdir], [$am_cv_python_pyexecdir])
16301
 
 
16302
 
-AC_DEFUN([LT_AC_PROG_RC],
16303
 
-[AC_CHECK_TOOL(RC, windres, no)
16304
 
-])
16305
 
+  dnl pkgpyexecdir -- $(pyexecdir)/$(PACKAGE)
16306
 
 
16307
 
+  AC_SUBST([pkgpyexecdir], [\${pyexecdir}/$PACKAGE])
16308
 
 
16309
 
-# Cheap backport of AS_EXECUTABLE_P and required macros
16310
 
-# from Autoconf 2.59; we should not use $as_executable_p directly.
16311
 
+  dnl Run any user-specified action.
16312
 
+  $2
16313
 
+  fi
16314
 
 
16315
 
-# _AS_TEST_PREPARE
16316
 
-# ----------------
16317
 
-m4_ifndef([_AS_TEST_PREPARE],
16318
 
-[m4_defun([_AS_TEST_PREPARE],
16319
 
-[if test -x / >/dev/null 2>&1; then
16320
 
-  as_executable_p='test -x'
16321
 
-else
16322
 
-  as_executable_p='test -f'
16323
 
-fi
16324
 
-])])# _AS_TEST_PREPARE
16325
 
+])
16326
 
 
16327
 
-# AS_EXECUTABLE_P
16328
 
-# ---------------
16329
 
-# Check whether a file is executable.
16330
 
-m4_ifndef([AS_EXECUTABLE_P],
16331
 
-[m4_defun([AS_EXECUTABLE_P],
16332
 
-[AS_REQUIRE([_AS_TEST_PREPARE])dnl
16333
 
-$as_executable_p $1[]dnl
16334
 
-])])# AS_EXECUTABLE_P
16335
 
 
16336
 
-# NOTE: This macro has been submitted for inclusion into   #
16337
 
-#  GNU Autoconf as AC_PROG_SED.  When it is available in   #
16338
 
-#  a released version of Autoconf we should remove this    #
16339
 
-#  macro and use it instead.                               #
16340
 
-# LT_AC_PROG_SED
16341
 
-# --------------
16342
 
-# Check for a fully-functional sed program, that truncates
16343
 
-# as few characters as possible.  Prefer GNU sed if found.
16344
 
-AC_DEFUN([LT_AC_PROG_SED],
16345
 
-[AC_MSG_CHECKING([for a sed that does not truncate output])
16346
 
-AC_CACHE_VAL(lt_cv_path_SED,
16347
 
-[# Loop through the user's path and test for sed and gsed.
16348
 
-# Then use that list of sed's as ones to test for truncation.
16349
 
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16350
 
-for as_dir in $PATH
16351
 
-do
16352
 
-  IFS=$as_save_IFS
16353
 
-  test -z "$as_dir" && as_dir=.
16354
 
-  for lt_ac_prog in sed gsed; do
16355
 
-    for ac_exec_ext in '' $ac_executable_extensions; do
16356
 
-      if AS_EXECUTABLE_P(["$as_dir/$lt_ac_prog$ac_exec_ext"]); then
16357
 
-        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
16358
 
-      fi
16359
 
-    done
16360
 
-  done
16361
 
-done
16362
 
-IFS=$as_save_IFS
16363
 
-lt_ac_max=0
16364
 
-lt_ac_count=0
16365
 
-# Add /usr/xpg4/bin/sed as it is typically found on Solaris
16366
 
-# along with /bin/sed that truncates output.
16367
 
-for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
16368
 
-  test ! -f $lt_ac_sed && continue
16369
 
-  cat /dev/null > conftest.in
16370
 
-  lt_ac_count=0
16371
 
-  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
16372
 
-  # Check for GNU sed and select it if it is found.
16373
 
-  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
16374
 
-    lt_cv_path_SED=$lt_ac_sed
16375
 
-    break
16376
 
-  fi
16377
 
-  while true; do
16378
 
-    cat conftest.in conftest.in >conftest.tmp
16379
 
-    mv conftest.tmp conftest.in
16380
 
-    cp conftest.in conftest.nl
16381
 
-    echo >>conftest.nl
16382
 
-    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
16383
 
-    cmp -s conftest.out conftest.nl || break
16384
 
-    # 10000 chars as input seems more than enough
16385
 
-    test $lt_ac_count -gt 10 && break
16386
 
-    lt_ac_count=`expr $lt_ac_count + 1`
16387
 
-    if test $lt_ac_count -gt $lt_ac_max; then
16388
 
-      lt_ac_max=$lt_ac_count
16389
 
-      lt_cv_path_SED=$lt_ac_sed
16390
 
-    fi
16391
 
-  done
16392
 
-done
16393
 
-])
16394
 
-SED=$lt_cv_path_SED
16395
 
-AC_SUBST([SED])
16396
 
-AC_MSG_RESULT([$SED])
16397
 
-])
16398
 
+# AM_PYTHON_CHECK_VERSION(PROG, VERSION, [ACTION-IF-TRUE], [ACTION-IF-FALSE])
16399
 
+# ---------------------------------------------------------------------------
16400
 
+# Run ACTION-IF-TRUE if the Python interpreter PROG has version >= VERSION.
16401
 
+# Run ACTION-IF-FALSE otherwise.
16402
 
+# This test uses sys.hexversion instead of the string equivalent (first
16403
 
+# word of sys.version), in order to cope with versions such as 2.2c1.
16404
 
+# This supports Python 2.0 or higher. (2.0 was released on October 16, 2000).
16405
 
+AC_DEFUN([AM_PYTHON_CHECK_VERSION],
16406
 
+ [prog="import sys
16407
 
+# split strings by '.' and convert to numeric.  Append some zeros
16408
 
+# because we need at least 4 digits for the hex conversion.
16409
 
+# map returns an iterator in Python 3.0 and a list in 2.x
16410
 
+minver = list(map(int, '$2'.split('.'))) + [[0, 0, 0]]
16411
 
+minverhex = 0
16412
 
+# xrange is not present in Python 3.0 and range returns an iterator
16413
 
+for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[[i]]
16414
 
+sys.exit(sys.hexversion < minverhex)"
16415
 
+  AS_IF([AM_RUN_LOG([$1 -c "$prog"])], [$3], [$4])])
16416
 
 
16417
 
-# pkg.m4 - Macros to locate and utilise pkg-config.            -*- Autoconf -*-
16418
 
-# 
16419
 
-# Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
16420
 
-#
16421
 
-# This program is free software; you can redistribute it and/or modify
16422
 
-# it under the terms of the GNU General Public License as published by
16423
 
-# the Free Software Foundation; either version 2 of the License, or
16424
 
-# (at your option) any later version.
16425
 
-#
16426
 
-# This program is distributed in the hope that it will be useful, but
16427
 
-# WITHOUT ANY WARRANTY; without even the implied warranty of
16428
 
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16429
 
-# General Public License for more details.
16430
 
-#
16431
 
-# You should have received a copy of the GNU General Public License
16432
 
-# along with this program; if not, write to the Free Software
16433
 
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
16434
 
+# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
16435
 
 #
16436
 
-# As a special exception to the GNU General Public License, if you
16437
 
-# distribute this file as part of a program that contains a
16438
 
-# configuration script generated by Autoconf, you may include it under
16439
 
-# the same distribution terms that you use for the rest of that program.
16440
 
+# This file is free software; the Free Software Foundation
16441
 
+# gives unlimited permission to copy and/or distribute it,
16442
 
+# with or without modifications, as long as this notice is preserved.
16443
 
 
16444
 
-# PKG_PROG_PKG_CONFIG([MIN-VERSION])
16445
 
-# ----------------------------------
16446
 
-AC_DEFUN([PKG_PROG_PKG_CONFIG],
16447
 
-[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
16448
 
-m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
16449
 
-AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl
16450
 
-if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
16451
 
-       AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
16452
 
-fi
16453
 
-if test -n "$PKG_CONFIG"; then
16454
 
-       _pkg_min_version=m4_default([$1], [0.9.0])
16455
 
-       AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
16456
 
-       if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
16457
 
-               AC_MSG_RESULT([yes])
16458
 
-       else
16459
 
-               AC_MSG_RESULT([no])
16460
 
-               PKG_CONFIG=""
16461
 
-       fi
16462
 
-               
16463
 
-fi[]dnl
16464
 
-])# PKG_PROG_PKG_CONFIG
16465
 
+# AM_RUN_LOG(COMMAND)
16466
 
+# -------------------
16467
 
+# Run COMMAND, save the exit status in ac_status, and log it.
16468
 
+# (This has been adapted from Autoconf's _AC_RUN_LOG macro.)
16469
 
+AC_DEFUN([AM_RUN_LOG],
16470
 
+[{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
16471
 
+   ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
16472
 
+   ac_status=$?
16473
 
+   echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
16474
 
+   (exit $ac_status); }])
16475
 
 
16476
 
-# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
16477
 
-#
16478
 
-# Check to see whether a particular set of modules exists.  Similar
16479
 
-# to PKG_CHECK_MODULES(), but does not set variables or print errors.
16480
 
-#
16481
 
+# Check to make sure that the build environment is sane.    -*- Autoconf -*-
16482
 
+
16483
 
+# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
16484
 
+# Free Software Foundation, Inc.
16485
 
 #
16486
 
-# Similar to PKG_CHECK_MODULES, make sure that the first instance of
16487
 
-# this or PKG_CHECK_MODULES is called, or make sure to call
16488
 
-# PKG_CHECK_EXISTS manually
16489
 
-# --------------------------------------------------------------
16490
 
-AC_DEFUN([PKG_CHECK_EXISTS],
16491
 
-[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
16492
 
-if test -n "$PKG_CONFIG" && \
16493
 
-    AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
16494
 
-  m4_ifval([$2], [$2], [:])
16495
 
-m4_ifvaln([$3], [else
16496
 
-  $3])dnl
16497
 
-fi])
16498
 
+# This file is free software; the Free Software Foundation
16499
 
+# gives unlimited permission to copy and/or distribute it,
16500
 
+# with or without modifications, as long as this notice is preserved.
16501
 
 
16502
 
+# serial 5
16503
 
 
16504
 
-# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
16505
 
-# ---------------------------------------------
16506
 
-m4_define([_PKG_CONFIG],
16507
 
-[if test -n "$$1"; then
16508
 
-    pkg_cv_[]$1="$$1"
16509
 
- elif test -n "$PKG_CONFIG"; then
16510
 
-    PKG_CHECK_EXISTS([$3],
16511
 
-                     [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
16512
 
-                    [pkg_failed=yes])
16513
 
- else
16514
 
-    pkg_failed=untried
16515
 
-fi[]dnl
16516
 
-])# _PKG_CONFIG
16517
 
+# AM_SANITY_CHECK
16518
 
+# ---------------
16519
 
+AC_DEFUN([AM_SANITY_CHECK],
16520
 
+[AC_MSG_CHECKING([whether build environment is sane])
16521
 
+# Just in case
16522
 
+sleep 1
16523
 
+echo timestamp > conftest.file
16524
 
+# Reject unsafe characters in $srcdir or the absolute working directory
16525
 
+# name.  Accept space and tab only in the latter.
16526
 
+am_lf='
16527
 
+'
16528
 
+case `pwd` in
16529
 
+  *[[\\\"\#\$\&\'\`$am_lf]]*)
16530
 
+    AC_MSG_ERROR([unsafe absolute working directory name]);;
16531
 
+esac
16532
 
+case $srcdir in
16533
 
+  *[[\\\"\#\$\&\'\`$am_lf\ \   ]]*)
16534
 
+    AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
16535
 
+esac
16536
 
 
16537
 
-# _PKG_SHORT_ERRORS_SUPPORTED
16538
 
-# -----------------------------
16539
 
-AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],
16540
 
-[AC_REQUIRE([PKG_PROG_PKG_CONFIG])
16541
 
-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16542
 
-        _pkg_short_errors_supported=yes
16543
 
-else
16544
 
-        _pkg_short_errors_supported=no
16545
 
-fi[]dnl
16546
 
-])# _PKG_SHORT_ERRORS_SUPPORTED
16547
 
+# Do `set' in a subshell so we don't clobber the current shell's
16548
 
+# arguments.  Must try -L first in case configure is actually a
16549
 
+# symlink; some systems play weird games with the mod time of symlinks
16550
 
+# (eg FreeBSD returns the mod time of the symlink's containing
16551
 
+# directory).
16552
 
+if (
16553
 
+   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
16554
 
+   if test "$[*]" = "X"; then
16555
 
+      # -L didn't work.
16556
 
+      set X `ls -t "$srcdir/configure" conftest.file`
16557
 
+   fi
16558
 
+   rm -f conftest.file
16559
 
+   if test "$[*]" != "X $srcdir/configure conftest.file" \
16560
 
+      && test "$[*]" != "X conftest.file $srcdir/configure"; then
16561
 
+
16562
 
+      # If neither matched, then we have a broken ls.  This can happen
16563
 
+      # if, for instance, CONFIG_SHELL is bash and it inherits a
16564
 
+      # broken ls alias from the environment.  This has actually
16565
 
+      # happened.  Such a system could not be considered "sane".
16566
 
+      AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
16567
 
+alias in your environment])
16568
 
+   fi
16569
 
 
16570
 
+   test "$[2]" = conftest.file
16571
 
+   )
16572
 
+then
16573
 
+   # Ok.
16574
 
+   :
16575
 
+else
16576
 
+   AC_MSG_ERROR([newly created file is older than distributed files!
16577
 
+Check your system clock])
16578
 
+fi
16579
 
+AC_MSG_RESULT(yes)])
16580
 
 
16581
 
-# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
16582
 
-# [ACTION-IF-NOT-FOUND])
16583
 
-#
16584
 
-#
16585
 
-# Note that if there is a possibility the first call to
16586
 
-# PKG_CHECK_MODULES might not happen, you should be sure to include an
16587
 
-# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
16588
 
+# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
16589
 
 #
16590
 
+# This file is free software; the Free Software Foundation
16591
 
+# gives unlimited permission to copy and/or distribute it,
16592
 
+# with or without modifications, as long as this notice is preserved.
16593
 
+
16594
 
+# AM_PROG_INSTALL_STRIP
16595
 
+# ---------------------
16596
 
+# One issue with vendor `install' (even GNU) is that you can't
16597
 
+# specify the program used to strip binaries.  This is especially
16598
 
+# annoying in cross-compiling environments, where the build's strip
16599
 
+# is unlikely to handle the host's binaries.
16600
 
+# Fortunately install-sh will honor a STRIPPROG variable, so we
16601
 
+# always use install-sh in `make install-strip', and initialize
16602
 
+# STRIPPROG with the value of the STRIP variable (set by the user).
16603
 
+AC_DEFUN([AM_PROG_INSTALL_STRIP],
16604
 
+[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
16605
 
+# Installed binaries are usually stripped using `strip' when the user
16606
 
+# run `make install-strip'.  However `strip' might not be the right
16607
 
+# tool to use in cross-compilation environments, therefore Automake
16608
 
+# will honor the `STRIP' environment variable to overrule this program.
16609
 
+dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
16610
 
+if test "$cross_compiling" != no; then
16611
 
+  AC_CHECK_TOOL([STRIP], [strip], :)
16612
 
+fi
16613
 
+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
16614
 
+AC_SUBST([INSTALL_STRIP_PROGRAM])])
16615
 
+
16616
 
+# Copyright (C) 2006, 2008  Free Software Foundation, Inc.
16617
 
 #
16618
 
-# --------------------------------------------------------------
16619
 
-AC_DEFUN([PKG_CHECK_MODULES],
16620
 
-[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
16621
 
-AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
16622
 
-AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
16623
 
+# This file is free software; the Free Software Foundation
16624
 
+# gives unlimited permission to copy and/or distribute it,
16625
 
+# with or without modifications, as long as this notice is preserved.
16626
 
 
16627
 
-pkg_failed=no
16628
 
-AC_MSG_CHECKING([for $1])
16629
 
+# serial 2
16630
 
 
16631
 
-_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
16632
 
-_PKG_CONFIG([$1][_LIBS], [libs], [$2])
16633
 
+# _AM_SUBST_NOTMAKE(VARIABLE)
16634
 
+# ---------------------------
16635
 
+# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
16636
 
+# This macro is traced by Automake.
16637
 
+AC_DEFUN([_AM_SUBST_NOTMAKE])
16638
 
 
16639
 
-m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
16640
 
-and $1[]_LIBS to avoid the need to call pkg-config.
16641
 
-See the pkg-config man page for more details.])
16642
 
+# AM_SUBST_NOTMAKE(VARIABLE)
16643
 
+# ---------------------------
16644
 
+# Public sister of _AM_SUBST_NOTMAKE.
16645
 
+AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
16646
 
 
16647
 
-if test $pkg_failed = yes; then
16648
 
-        _PKG_SHORT_ERRORS_SUPPORTED
16649
 
-        if test $_pkg_short_errors_supported = yes; then
16650
 
-               $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1`
16651
 
-        else 
16652
 
-               $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1`
16653
 
-        fi
16654
 
-       # Put the nasty error message in config.log where it belongs
16655
 
-       echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
16656
 
+# Check how to create a tarball.                            -*- Autoconf -*-
16657
 
 
16658
 
-       ifelse([$4], , [AC_MSG_ERROR(dnl
16659
 
-[Package requirements ($2) were not met:
16660
 
+# Copyright (C) 2004, 2005  Free Software Foundation, Inc.
16661
 
+#
16662
 
+# This file is free software; the Free Software Foundation
16663
 
+# gives unlimited permission to copy and/or distribute it,
16664
 
+# with or without modifications, as long as this notice is preserved.
16665
 
 
16666
 
-$$1_PKG_ERRORS
16667
 
+# serial 2
16668
 
 
16669
 
-Consider adjusting the PKG_CONFIG_PATH environment variable if you
16670
 
-installed software in a non-standard prefix.
16671
 
+# _AM_PROG_TAR(FORMAT)
16672
 
+# --------------------
16673
 
+# Check how to create a tarball in format FORMAT.
16674
 
+# FORMAT should be one of `v7', `ustar', or `pax'.
16675
 
+#
16676
 
+# Substitute a variable $(am__tar) that is a command
16677
 
+# writing to stdout a FORMAT-tarball containing the directory
16678
 
+# $tardir.
16679
 
+#     tardir=directory && $(am__tar) > result.tar
16680
 
+#
16681
 
+# Substitute a variable $(am__untar) that extract such
16682
 
+# a tarball read from stdin.
16683
 
+#     $(am__untar) < result.tar
16684
 
+AC_DEFUN([_AM_PROG_TAR],
16685
 
+[# Always define AMTAR for backward compatibility.
16686
 
+AM_MISSING_PROG([AMTAR], [tar])
16687
 
+m4_if([$1], [v7],
16688
 
+     [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
16689
 
+     [m4_case([$1], [ustar],, [pax],,
16690
 
+              [m4_fatal([Unknown tar format])])
16691
 
+AC_MSG_CHECKING([how to create a $1 tar archive])
16692
 
+# Loop over all known methods to create a tar archive until one works.
16693
 
+_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
16694
 
+_am_tools=${am_cv_prog_tar_$1-$_am_tools}
16695
 
+# Do not fold the above two line into one, because Tru64 sh and
16696
 
+# Solaris sh will not grok spaces in the rhs of `-'.
16697
 
+for _am_tool in $_am_tools
16698
 
+do
16699
 
+  case $_am_tool in
16700
 
+  gnutar)
16701
 
+    for _am_tar in tar gnutar gtar;
16702
 
+    do
16703
 
+      AM_RUN_LOG([$_am_tar --version]) && break
16704
 
+    done
16705
 
+    am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
16706
 
+    am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
16707
 
+    am__untar="$_am_tar -xf -"
16708
 
+    ;;
16709
 
+  plaintar)
16710
 
+    # Must skip GNU tar: if it does not support --format= it doesn't create
16711
 
+    # ustar tarball either.
16712
 
+    (tar --version) >/dev/null 2>&1 && continue
16713
 
+    am__tar='tar chf - "$$tardir"'
16714
 
+    am__tar_='tar chf - "$tardir"'
16715
 
+    am__untar='tar xf -'
16716
 
+    ;;
16717
 
+  pax)
16718
 
+    am__tar='pax -L -x $1 -w "$$tardir"'
16719
 
+    am__tar_='pax -L -x $1 -w "$tardir"'
16720
 
+    am__untar='pax -r'
16721
 
+    ;;
16722
 
+  cpio)
16723
 
+    am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
16724
 
+    am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
16725
 
+    am__untar='cpio -i -H $1 -d'
16726
 
+    ;;
16727
 
+  none)
16728
 
+    am__tar=false
16729
 
+    am__tar_=false
16730
 
+    am__untar=false
16731
 
+    ;;
16732
 
+  esac
16733
 
 
16734
 
-_PKG_TEXT
16735
 
-])],
16736
 
-               [AC_MSG_RESULT([no])
16737
 
-                $4])
16738
 
-elif test $pkg_failed = untried; then
16739
 
-       ifelse([$4], , [AC_MSG_FAILURE(dnl
16740
 
-[The pkg-config script could not be found or is too old.  Make sure it
16741
 
-is in your PATH or set the PKG_CONFIG environment variable to the full
16742
 
-path to pkg-config.
16743
 
+  # If the value was cached, stop now.  We just wanted to have am__tar
16744
 
+  # and am__untar set.
16745
 
+  test -n "${am_cv_prog_tar_$1}" && break
16746
 
 
16747
 
-_PKG_TEXT
16748
 
+  # tar/untar a dummy directory, and stop if the command works
16749
 
+  rm -rf conftest.dir
16750
 
+  mkdir conftest.dir
16751
 
+  echo GrepMe > conftest.dir/file
16752
 
+  AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
16753
 
+  rm -rf conftest.dir
16754
 
+  if test -s conftest.tar; then
16755
 
+    AM_RUN_LOG([$am__untar <conftest.tar])
16756
 
+    grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
16757
 
+  fi
16758
 
+done
16759
 
+rm -rf conftest.dir
16760
 
 
16761
 
-To get pkg-config, see <http://pkg-config.freedesktop.org/>.])],
16762
 
-               [$4])
16763
 
-else
16764
 
-       $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
16765
 
-       $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
16766
 
-        AC_MSG_RESULT([yes])
16767
 
-       ifelse([$3], , :, [$3])
16768
 
-fi[]dnl
16769
 
-])# PKG_CHECK_MODULES
16770
 
+AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
16771
 
+AC_MSG_RESULT([$am_cv_prog_tar_$1])])
16772
 
+AC_SUBST([am__tar])
16773
 
+AC_SUBST([am__untar])
16774
 
+]) # _AM_PROG_TAR
16775
 
 
16776
 
 m4_include([acinclude.m4])
16777
 
diff -Nurp gnome-python-extras-2.25.3.orig/config.h.in gnome-python-extras-2.25.3/config.h.in
16778
 
--- gnome-python-extras-2.25.3.orig/config.h.in 2009-02-15 22:21:00.000000000 +0000
16779
 
+++ gnome-python-extras-2.25.3/config.h.in      2009-12-15 01:42:15.780350641 +0000
16780
 
@@ -42,6 +42,13 @@
16781
 
 /* Define to 1 if you have the <unistd.h> header file. */
16782
 
 #undef HAVE_UNISTD_H
16783
 
 
16784
 
+/* Define to 1 if libxpcomglue is being used. */
16785
 
+#undef HAVE_XPCOM_GLUE
16786
 
+
16787
 
+/* Define to the sub-directory in which libtool stores uninstalled libraries.
16788
 
+   */
16789
 
+#undef LT_OBJDIR
16790
 
+
16791
 
 /* Name of package */
16792
 
 #undef PACKAGE
16793
 
 
16794
 
@@ -57,6 +64,9 @@
16795
 
 /* Define to the one symbol short name of this package. */
16796
 
 #undef PACKAGE_TARNAME
16797
 
 
16798
 
+/* Define to the home page for this package. */
16799
 
+#undef PACKAGE_URL
16800
 
+
16801
 
 /* Define to the version of this package. */
16802
 
 #undef PACKAGE_VERSION
16803
 
 
16804
 
diff -Nurp gnome-python-extras-2.25.3.orig/configure gnome-python-extras-2.25.3/configure
16805
 
--- gnome-python-extras-2.25.3.orig/configure   2009-02-15 22:21:00.000000000 +0000
16806
 
+++ gnome-python-extras-2.25.3/configure        2009-12-15 01:42:15.420345099 +0000
16807
 
@@ -1,20 +1,22 @@
16808
 
 #! /bin/sh
16809
 
 # Guess values for system-dependent variables and create Makefiles.
16810
 
-# Generated by GNU Autoconf 2.62 for gnome-python-extras 2.25.3.
16811
 
+# Generated by GNU Autoconf 2.64 for gnome-python-extras 2.25.3.
16812
 
 #
16813
 
 # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-python>.
16814
 
 #
16815
 
 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
16816
 
-# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
16817
 
+# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
16818
 
+# Foundation, Inc.
16819
 
+#
16820
 
 # This configure script is free software; the Free Software Foundation
16821
 
 # gives unlimited permission to copy, distribute and modify it.
16822
 
-## --------------------- ##
16823
 
-## M4sh Initialization.  ##
16824
 
-## --------------------- ##
16825
 
+## -------------------- ##
16826
 
+## M4sh Initialization. ##
16827
 
+## -------------------- ##
16828
 
 
16829
 
 # Be more Bourne compatible
16830
 
 DUALCASE=1; export DUALCASE # for MKS sh
16831
 
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16832
 
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16833
 
   emulate sh
16834
 
   NULLCMD=:
16835
 
   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16836
 
@@ -22,23 +24,15 @@ if test -n "${ZSH_VERSION+set}" && (emul
16837
 
   alias -g '${1+"$@"}'='"$@"'
16838
 
   setopt NO_GLOB_SUBST
16839
 
 else
16840
 
-  case `(set -o) 2>/dev/null` in
16841
 
-  *posix*) set -o posix ;;
16842
 
+  case `(set -o) 2>/dev/null` in #(
16843
 
+  *posix*) :
16844
 
+    set -o posix ;; #(
16845
 
+  *) :
16846
 
+     ;;
16847
 
 esac
16848
 
-
16849
 
 fi
16850
 
 
16851
 
 
16852
 
-
16853
 
-
16854
 
-# PATH needs CR
16855
 
-# Avoid depending upon Character Ranges.
16856
 
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16857
 
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16858
 
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16859
 
-as_cr_digits='0123456789'
16860
 
-as_cr_alnum=$as_cr_Letters$as_cr_digits
16861
 
-
16862
 
 as_nl='
16863
 
 '
16864
 
 export as_nl
16865
 
@@ -46,7 +40,13 @@ export as_nl
16866
 
 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16867
 
 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16868
 
 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16869
 
-if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16870
 
+# Prefer a ksh shell builtin over an external printf program on Solaris,
16871
 
+# but without wasting forks for bash or zsh.
16872
 
+if test -z "$BASH_VERSION$ZSH_VERSION" \
16873
 
+    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16874
 
+  as_echo='print -r --'
16875
 
+  as_echo_n='print -rn --'
16876
 
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16877
 
   as_echo='printf %s\n'
16878
 
   as_echo_n='printf %s'
16879
 
 else
16880
 
@@ -57,7 +57,7 @@ else
16881
 
     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16882
 
     as_echo_n_body='eval
16883
 
       arg=$1;
16884
 
-      case $arg in
16885
 
+      case $arg in #(
16886
 
       *"$as_nl"*)
16887
 
        expr "X$arg" : "X\\(.*\\)$as_nl";
16888
 
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16889
 
@@ -80,13 +80,6 @@ if test "${PATH_SEPARATOR+set}" != set; 
16890
 
   }
16891
 
 fi
16892
 
 
16893
 
-# Support unset when possible.
16894
 
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
16895
 
-  as_unset=unset
16896
 
-else
16897
 
-  as_unset=false
16898
 
-fi
16899
 
-
16900
 
 
16901
 
 # IFS
16902
 
 # We need space, tab and new line, in precisely that order.  Quoting is
16903
 
@@ -96,15 +89,15 @@ fi
16904
 
 IFS=" ""       $as_nl"
16905
 
 
16906
 
 # Find who we are.  Look in the path if we contain no directory separator.
16907
 
-case $0 in
16908
 
+case $0 in #((
16909
 
   *[\\/]* ) as_myself=$0 ;;
16910
 
   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16911
 
 for as_dir in $PATH
16912
 
 do
16913
 
   IFS=$as_save_IFS
16914
 
   test -z "$as_dir" && as_dir=.
16915
 
-  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16916
 
-done
16917
 
+    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16918
 
+  done
16919
 
 IFS=$as_save_IFS
16920
 
 
16921
 
      ;;
16922
 
@@ -116,12 +109,16 @@ if test "x$as_myself" = x; then
16923
 
 fi
16924
 
 if test ! -f "$as_myself"; then
16925
 
   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16926
 
-  { (exit 1); exit 1; }
16927
 
+  exit 1
16928
 
 fi
16929
 
 
16930
 
-# Work around bugs in pre-3.0 UWIN ksh.
16931
 
-for as_var in ENV MAIL MAILPATH
16932
 
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
16933
 
+# Unset variables that we do not need and which cause bugs (e.g. in
16934
 
+# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
16935
 
+# suppresses any "Segmentation fault" message there.  '((' could
16936
 
+# trigger a bug in pdksh 5.2.14.
16937
 
+for as_var in BASH_ENV ENV MAIL MAILPATH
16938
 
+do eval test x\${$as_var+set} = xset \
16939
 
+  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16940
 
 done
16941
 
 PS1='$ '
16942
 
 PS2='> '
16943
 
@@ -133,330 +130,301 @@ export LC_ALL
16944
 
 LANGUAGE=C
16945
 
 export LANGUAGE
16946
 
 
16947
 
-# Required to use basename.
16948
 
-if expr a : '\(a\)' >/dev/null 2>&1 &&
16949
 
-   test "X`expr 00001 : '.*\(...\)'`" = X001; then
16950
 
-  as_expr=expr
16951
 
-else
16952
 
-  as_expr=false
16953
 
-fi
16954
 
-
16955
 
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16956
 
-  as_basename=basename
16957
 
-else
16958
 
-  as_basename=false
16959
 
-fi
16960
 
-
16961
 
-
16962
 
-# Name of the executable.
16963
 
-as_me=`$as_basename -- "$0" ||
16964
 
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16965
 
-        X"$0" : 'X\(//\)$' \| \
16966
 
-        X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16967
 
-$as_echo X/"$0" |
16968
 
-    sed '/^.*\/\([^/][^/]*\)\/*$/{
16969
 
-           s//\1/
16970
 
-           q
16971
 
-         }
16972
 
-         /^X\/\(\/\/\)$/{
16973
 
-           s//\1/
16974
 
-           q
16975
 
-         }
16976
 
-         /^X\/\(\/\).*/{
16977
 
-           s//\1/
16978
 
-           q
16979
 
-         }
16980
 
-         s/.*/./; q'`
16981
 
-
16982
 
 # CDPATH.
16983
 
-$as_unset CDPATH
16984
 
-
16985
 
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16986
 
 
16987
 
 if test "x$CONFIG_SHELL" = x; then
16988
 
-  if (eval ":") 2>/dev/null; then
16989
 
-  as_have_required=yes
16990
 
+  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
16991
 
+  emulate sh
16992
 
+  NULLCMD=:
16993
 
+  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
16994
 
+  # is contrary to our usage.  Disable this feature.
16995
 
+  alias -g '\${1+\"\$@\"}'='\"\$@\"'
16996
 
+  setopt NO_GLOB_SUBST
16997
 
 else
16998
 
-  as_have_required=no
16999
 
+  case \`(set -o) 2>/dev/null\` in #(
17000
 
+  *posix*) :
17001
 
+    set -o posix ;; #(
17002
 
+  *) :
17003
 
+     ;;
17004
 
+esac
17005
 
 fi
17006
 
-
17007
 
-  if test $as_have_required = yes &&    (eval ":
17008
 
-(as_func_return () {
17009
 
-  (exit \$1)
17010
 
-}
17011
 
-as_func_success () {
17012
 
-  as_func_return 0
17013
 
-}
17014
 
-as_func_failure () {
17015
 
-  as_func_return 1
17016
 
-}
17017
 
-as_func_ret_success () {
17018
 
-  return 0
17019
 
-}
17020
 
-as_func_ret_failure () {
17021
 
-  return 1
17022
 
-}
17023
 
+"
17024
 
+  as_required="as_fn_return () { (exit \$1); }
17025
 
+as_fn_success () { as_fn_return 0; }
17026
 
+as_fn_failure () { as_fn_return 1; }
17027
 
+as_fn_ret_success () { return 0; }
17028
 
+as_fn_ret_failure () { return 1; }
17029
 
 
17030
 
 exitcode=0
17031
 
-if as_func_success; then
17032
 
-  :
17033
 
-else
17034
 
-  exitcode=1
17035
 
-  echo as_func_success failed.
17036
 
-fi
17037
 
-
17038
 
-if as_func_failure; then
17039
 
-  exitcode=1
17040
 
-  echo as_func_failure succeeded.
17041
 
-fi
17042
 
-
17043
 
-if as_func_ret_success; then
17044
 
-  :
17045
 
-else
17046
 
-  exitcode=1
17047
 
-  echo as_func_ret_success failed.
17048
 
-fi
17049
 
-
17050
 
-if as_func_ret_failure; then
17051
 
-  exitcode=1
17052
 
-  echo as_func_ret_failure succeeded.
17053
 
-fi
17054
 
-
17055
 
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
17056
 
-  :
17057
 
+as_fn_success || { exitcode=1; echo as_fn_success failed.; }
17058
 
+as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
17059
 
+as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
17060
 
+as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
17061
 
+if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
17062
 
+
17063
 
+else
17064
 
+  exitcode=1; echo positional parameters were not saved.
17065
 
+fi
17066
 
+test x\$exitcode = x0 || exit 1"
17067
 
+  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
17068
 
+  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
17069
 
+  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
17070
 
+  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
17071
 
+test \$(( 1 + 1 )) = 2 || exit 1"
17072
 
+  if (eval "$as_required") 2>/dev/null; then :
17073
 
+  as_have_required=yes
17074
 
 else
17075
 
-  exitcode=1
17076
 
-  echo positional parameters were not saved.
17077
 
+  as_have_required=no
17078
 
 fi
17079
 
+  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
17080
 
 
17081
 
-test \$exitcode = 0) || { (exit 1); exit 1; }
17082
 
-
17083
 
-(
17084
 
-  as_lineno_1=\$LINENO
17085
 
-  as_lineno_2=\$LINENO
17086
 
-  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
17087
 
-  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
17088
 
-") 2> /dev/null; then
17089
 
-  :
17090
 
 else
17091
 
-  as_candidate_shells=
17092
 
-    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17093
 
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17094
 
+as_found=false
17095
 
 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
17096
 
 do
17097
 
   IFS=$as_save_IFS
17098
 
   test -z "$as_dir" && as_dir=.
17099
 
-  case $as_dir in
17100
 
+  as_found=:
17101
 
+  case $as_dir in #(
17102
 
         /*)
17103
 
           for as_base in sh bash ksh sh5; do
17104
 
-            as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
17105
 
+            # Try only shells that exist, to save several forks.
17106
 
+            as_shell=$as_dir/$as_base
17107
 
+            if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
17108
 
+                   { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
17109
 
+  CONFIG_SHELL=$as_shell as_have_required=yes
17110
 
+                  if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
17111
 
+  break 2
17112
 
+fi
17113
 
+fi
17114
 
           done;;
17115
 
        esac
17116
 
+  as_found=false
17117
 
 done
17118
 
+$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
17119
 
+             { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
17120
 
+  CONFIG_SHELL=$SHELL as_have_required=yes
17121
 
+fi; }
17122
 
 IFS=$as_save_IFS
17123
 
 
17124
 
 
17125
 
-      for as_shell in $as_candidate_shells $SHELL; do
17126
 
-        # Try only shells that exist, to save several forks.
17127
 
-        if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
17128
 
-               { ("$as_shell") 2> /dev/null <<\_ASEOF
17129
 
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17130
 
-  emulate sh
17131
 
-  NULLCMD=:
17132
 
-  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17133
 
-  # is contrary to our usage.  Disable this feature.
17134
 
-  alias -g '${1+"$@"}'='"$@"'
17135
 
-  setopt NO_GLOB_SUBST
17136
 
-else
17137
 
-  case `(set -o) 2>/dev/null` in
17138
 
-  *posix*) set -o posix ;;
17139
 
-esac
17140
 
-
17141
 
-fi
17142
 
-
17143
 
-
17144
 
-:
17145
 
-_ASEOF
17146
 
-}; then
17147
 
-  CONFIG_SHELL=$as_shell
17148
 
-              as_have_required=yes
17149
 
-              if { "$as_shell" 2> /dev/null <<\_ASEOF
17150
 
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17151
 
-  emulate sh
17152
 
-  NULLCMD=:
17153
 
-  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17154
 
-  # is contrary to our usage.  Disable this feature.
17155
 
-  alias -g '${1+"$@"}'='"$@"'
17156
 
-  setopt NO_GLOB_SUBST
17157
 
-else
17158
 
-  case `(set -o) 2>/dev/null` in
17159
 
-  *posix*) set -o posix ;;
17160
 
-esac
17161
 
-
17162
 
-fi
17163
 
-
17164
 
-
17165
 
-:
17166
 
-(as_func_return () {
17167
 
-  (exit $1)
17168
 
-}
17169
 
-as_func_success () {
17170
 
-  as_func_return 0
17171
 
-}
17172
 
-as_func_failure () {
17173
 
-  as_func_return 1
17174
 
-}
17175
 
-as_func_ret_success () {
17176
 
-  return 0
17177
 
-}
17178
 
-as_func_ret_failure () {
17179
 
-  return 1
17180
 
-}
17181
 
-
17182
 
-exitcode=0
17183
 
-if as_func_success; then
17184
 
-  :
17185
 
-else
17186
 
-  exitcode=1
17187
 
-  echo as_func_success failed.
17188
 
-fi
17189
 
-
17190
 
-if as_func_failure; then
17191
 
-  exitcode=1
17192
 
-  echo as_func_failure succeeded.
17193
 
-fi
17194
 
-
17195
 
-if as_func_ret_success; then
17196
 
-  :
17197
 
-else
17198
 
-  exitcode=1
17199
 
-  echo as_func_ret_success failed.
17200
 
-fi
17201
 
-
17202
 
-if as_func_ret_failure; then
17203
 
-  exitcode=1
17204
 
-  echo as_func_ret_failure succeeded.
17205
 
+      if test "x$CONFIG_SHELL" != x; then :
17206
 
+  # We cannot yet assume a decent shell, so we have to provide a
17207
 
+       # neutralization value for shells without unset; and this also
17208
 
+       # works around shells that cannot unset nonexistent variables.
17209
 
+       BASH_ENV=/dev/null
17210
 
+       ENV=/dev/null
17211
 
+       (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
17212
 
+       export CONFIG_SHELL
17213
 
+       exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
17214
 
 fi
17215
 
 
17216
 
-if ( set x; as_func_ret_success y && test x = "$1" ); then
17217
 
-  :
17218
 
-else
17219
 
-  exitcode=1
17220
 
-  echo positional parameters were not saved.
17221
 
+    if test x$as_have_required = xno; then :
17222
 
+  $as_echo "$0: This script requires a shell more modern than all"
17223
 
+  $as_echo "$0: the shells that I found on your system."
17224
 
+  if test x${ZSH_VERSION+set} = xset ; then
17225
 
+    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
17226
 
+    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
17227
 
+  else
17228
 
+    $as_echo "$0: Please tell bug-autoconf@gnu.org and
17229
 
+$0: http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-python
17230
 
+$0: about your system, including any error possibly output
17231
 
+$0: before this message. Then install a modern shell, or
17232
 
+$0: manually run the script under such a shell if you do
17233
 
+$0: have one."
17234
 
+  fi
17235
 
+  exit 1
17236
 
 fi
17237
 
-
17238
 
-test $exitcode = 0) || { (exit 1); exit 1; }
17239
 
-
17240
 
-(
17241
 
-  as_lineno_1=$LINENO
17242
 
-  as_lineno_2=$LINENO
17243
 
-  test "x$as_lineno_1" != "x$as_lineno_2" &&
17244
 
-  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
17245
 
-
17246
 
-_ASEOF
17247
 
-}; then
17248
 
-  break
17249
 
 fi
17250
 
-
17251
 
 fi
17252
 
+SHELL=${CONFIG_SHELL-/bin/sh}
17253
 
+export SHELL
17254
 
+# Unset more variables known to interfere with behavior of common tools.
17255
 
+CLICOLOR_FORCE= GREP_OPTIONS=
17256
 
+unset CLICOLOR_FORCE GREP_OPTIONS
17257
 
 
17258
 
-      done
17259
 
-
17260
 
-      if test "x$CONFIG_SHELL" != x; then
17261
 
-  for as_var in BASH_ENV ENV
17262
 
-       do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
17263
 
-       done
17264
 
-       export CONFIG_SHELL
17265
 
-       exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
17266
 
-fi
17267
 
+## --------------------- ##
17268
 
+## M4sh Shell Functions. ##
17269
 
+## --------------------- ##
17270
 
+# as_fn_unset VAR
17271
 
+# ---------------
17272
 
+# Portably unset VAR.
17273
 
+as_fn_unset ()
17274
 
+{
17275
 
+  { eval $1=; unset $1;}
17276
 
+}
17277
 
+as_unset=as_fn_unset
17278
 
 
17279
 
+# as_fn_set_status STATUS
17280
 
+# -----------------------
17281
 
+# Set $? to STATUS, without forking.
17282
 
+as_fn_set_status ()
17283
 
+{
17284
 
+  return $1
17285
 
+} # as_fn_set_status
17286
 
 
17287
 
-    if test $as_have_required = no; then
17288
 
-  echo This script requires a shell more modern than all the
17289
 
-      echo shells that I found on your system.  Please install a
17290
 
-      echo modern shell, or manually run the script under such a
17291
 
-      echo shell if you do have one.
17292
 
-      { (exit 1); exit 1; }
17293
 
-fi
17294
 
+# as_fn_exit STATUS
17295
 
+# -----------------
17296
 
+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17297
 
+as_fn_exit ()
17298
 
+{
17299
 
+  set +e
17300
 
+  as_fn_set_status $1
17301
 
+  exit $1
17302
 
+} # as_fn_exit
17303
 
+
17304
 
+# as_fn_mkdir_p
17305
 
+# -------------
17306
 
+# Create "$as_dir" as a directory, including parents if necessary.
17307
 
+as_fn_mkdir_p ()
17308
 
+{
17309
 
 
17310
 
+  case $as_dir in #(
17311
 
+  -*) as_dir=./$as_dir;;
17312
 
+  esac
17313
 
+  test -d "$as_dir" || eval $as_mkdir_p || {
17314
 
+    as_dirs=
17315
 
+    while :; do
17316
 
+      case $as_dir in #(
17317
 
+      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17318
 
+      *) as_qdir=$as_dir;;
17319
 
+      esac
17320
 
+      as_dirs="'$as_qdir' $as_dirs"
17321
 
+      as_dir=`$as_dirname -- "$as_dir" ||
17322
 
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17323
 
+        X"$as_dir" : 'X\(//\)[^/]' \| \
17324
 
+        X"$as_dir" : 'X\(//\)$' \| \
17325
 
+        X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17326
 
+$as_echo X"$as_dir" |
17327
 
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17328
 
+           s//\1/
17329
 
+           q
17330
 
+         }
17331
 
+         /^X\(\/\/\)[^/].*/{
17332
 
+           s//\1/
17333
 
+           q
17334
 
+         }
17335
 
+         /^X\(\/\/\)$/{
17336
 
+           s//\1/
17337
 
+           q
17338
 
+         }
17339
 
+         /^X\(\/\).*/{
17340
 
+           s//\1/
17341
 
+           q
17342
 
+         }
17343
 
+         s/.*/./; q'`
17344
 
+      test -d "$as_dir" && break
17345
 
+    done
17346
 
+    test -z "$as_dirs" || eval "mkdir $as_dirs"
17347
 
+  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
17348
 
 
17349
 
-fi
17350
 
 
17351
 
-fi
17352
 
+} # as_fn_mkdir_p
17353
 
+# as_fn_append VAR VALUE
17354
 
+# ----------------------
17355
 
+# Append the text in VALUE to the end of the definition contained in VAR. Take
17356
 
+# advantage of any shell optimizations that allow amortized linear growth over
17357
 
+# repeated appends, instead of the typical quadratic growth present in naive
17358
 
+# implementations.
17359
 
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17360
 
+  eval 'as_fn_append ()
17361
 
+  {
17362
 
+    eval $1+=\$2
17363
 
+  }'
17364
 
+else
17365
 
+  as_fn_append ()
17366
 
+  {
17367
 
+    eval $1=\$$1\$2
17368
 
+  }
17369
 
+fi # as_fn_append
17370
 
 
17371
 
+# as_fn_arith ARG...
17372
 
+# ------------------
17373
 
+# Perform arithmetic evaluation on the ARGs, and store the result in the
17374
 
+# global $as_val. Take advantage of shells that can avoid forks. The arguments
17375
 
+# must be portable across $(()) and expr.
17376
 
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17377
 
+  eval 'as_fn_arith ()
17378
 
+  {
17379
 
+    as_val=$(( $* ))
17380
 
+  }'
17381
 
+else
17382
 
+  as_fn_arith ()
17383
 
+  {
17384
 
+    as_val=`expr "$@" || test $? -eq 1`
17385
 
+  }
17386
 
+fi # as_fn_arith
17387
 
 
17388
 
 
17389
 
-(eval "as_func_return () {
17390
 
-  (exit \$1)
17391
 
-}
17392
 
-as_func_success () {
17393
 
-  as_func_return 0
17394
 
-}
17395
 
-as_func_failure () {
17396
 
-  as_func_return 1
17397
 
-}
17398
 
-as_func_ret_success () {
17399
 
-  return 0
17400
 
-}
17401
 
-as_func_ret_failure () {
17402
 
-  return 1
17403
 
-}
17404
 
+# as_fn_error ERROR [LINENO LOG_FD]
17405
 
+# ---------------------------------
17406
 
+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17407
 
+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17408
 
+# script with status $?, using 1 if that was 0.
17409
 
+as_fn_error ()
17410
 
+{
17411
 
+  as_status=$?; test $as_status -eq 0 && as_status=1
17412
 
+  if test "$3"; then
17413
 
+    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17414
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
17415
 
+  fi
17416
 
+  $as_echo "$as_me: error: $1" >&2
17417
 
+  as_fn_exit $as_status
17418
 
+} # as_fn_error
17419
 
 
17420
 
-exitcode=0
17421
 
-if as_func_success; then
17422
 
-  :
17423
 
+if expr a : '\(a\)' >/dev/null 2>&1 &&
17424
 
+   test "X`expr 00001 : '.*\(...\)'`" = X001; then
17425
 
+  as_expr=expr
17426
 
 else
17427
 
-  exitcode=1
17428
 
-  echo as_func_success failed.
17429
 
-fi
17430
 
-
17431
 
-if as_func_failure; then
17432
 
-  exitcode=1
17433
 
-  echo as_func_failure succeeded.
17434
 
+  as_expr=false
17435
 
 fi
17436
 
 
17437
 
-if as_func_ret_success; then
17438
 
-  :
17439
 
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17440
 
+  as_basename=basename
17441
 
 else
17442
 
-  exitcode=1
17443
 
-  echo as_func_ret_success failed.
17444
 
-fi
17445
 
-
17446
 
-if as_func_ret_failure; then
17447
 
-  exitcode=1
17448
 
-  echo as_func_ret_failure succeeded.
17449
 
+  as_basename=false
17450
 
 fi
17451
 
 
17452
 
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
17453
 
-  :
17454
 
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17455
 
+  as_dirname=dirname
17456
 
 else
17457
 
-  exitcode=1
17458
 
-  echo positional parameters were not saved.
17459
 
+  as_dirname=false
17460
 
 fi
17461
 
 
17462
 
-test \$exitcode = 0") || {
17463
 
-  echo No shell found that supports shell functions.
17464
 
-  echo Please tell bug-autoconf@gnu.org about your system,
17465
 
-  echo including any error possibly output before this message.
17466
 
-  echo This can help us improve future autoconf versions.
17467
 
-  echo Configuration will now proceed without shell functions.
17468
 
-}
17469
 
+as_me=`$as_basename -- "$0" ||
17470
 
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17471
 
+        X"$0" : 'X\(//\)$' \| \
17472
 
+        X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17473
 
+$as_echo X/"$0" |
17474
 
+    sed '/^.*\/\([^/][^/]*\)\/*$/{
17475
 
+           s//\1/
17476
 
+           q
17477
 
+         }
17478
 
+         /^X\/\(\/\/\)$/{
17479
 
+           s//\1/
17480
 
+           q
17481
 
+         }
17482
 
+         /^X\/\(\/\).*/{
17483
 
+           s//\1/
17484
 
+           q
17485
 
+         }
17486
 
+         s/.*/./; q'`
17487
 
 
17488
 
+# Avoid depending upon Character Ranges.
17489
 
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17490
 
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17491
 
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17492
 
+as_cr_digits='0123456789'
17493
 
+as_cr_alnum=$as_cr_Letters$as_cr_digits
17494
 
 
17495
 
 
17496
 
-  as_lineno_1=$LINENO
17497
 
-  as_lineno_2=$LINENO
17498
 
-  test "x$as_lineno_1" != "x$as_lineno_2" &&
17499
 
-  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
17500
 
-
17501
 
-  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
17502
 
-  # uniformly replaced by the line number.  The first 'sed' inserts a
17503
 
-  # line-number line after each line using $LINENO; the second 'sed'
17504
 
-  # does the real work.  The second script uses 'N' to pair each
17505
 
-  # line-number line with the line containing $LINENO, and appends
17506
 
-  # trailing '-' during substitution so that $LINENO is not a special
17507
 
-  # case at line end.
17508
 
-  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
17509
 
-  # scripts with optimization help from Paolo Bonzini.  Blame Lee
17510
 
-  # E. McMahon (1931-1989) for sed's syntax.  :-)
17511
 
+  as_lineno_1=$LINENO as_lineno_1a=$LINENO
17512
 
+  as_lineno_2=$LINENO as_lineno_2a=$LINENO
17513
 
+  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
17514
 
+  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
17515
 
+  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
17516
 
   sed -n '
17517
 
     p
17518
 
     /[$]LINENO/=
17519
 
@@ -473,8 +441,7 @@ test \$exitcode = 0") || {
17520
 
       s/-\n.*//
17521
 
     ' >$as_me.lineno &&
17522
 
   chmod +x "$as_me.lineno" ||
17523
 
-    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
17524
 
-   { (exit 1); exit 1; }; }
17525
 
+    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
17526
 
 
17527
 
   # Don't try to exec as it changes $[0], causing all sort of problems
17528
 
   # (the dirname of $[0] is not the place where we might find the
17529
 
@@ -484,29 +451,18 @@ test \$exitcode = 0") || {
17530
 
   exit
17531
 
 }
17532
 
 
17533
 
-
17534
 
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17535
 
-  as_dirname=dirname
17536
 
-else
17537
 
-  as_dirname=false
17538
 
-fi
17539
 
-
17540
 
 ECHO_C= ECHO_N= ECHO_T=
17541
 
-case `echo -n x` in
17542
 
+case `echo -n x` in #(((((
17543
 
 -n*)
17544
 
-  case `echo 'x\c'` in
17545
 
+  case `echo 'xy\c'` in
17546
 
   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
17547
 
-  *)   ECHO_C='\c';;
17548
 
+  xy)  ECHO_C='\c';;
17549
 
+  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
17550
 
+       ECHO_T='        ';;
17551
 
   esac;;
17552
 
 *)
17553
 
   ECHO_N='-n';;
17554
 
 esac
17555
 
-if expr a : '\(a\)' >/dev/null 2>&1 &&
17556
 
-   test "X`expr 00001 : '.*\(...\)'`" = X001; then
17557
 
-  as_expr=expr
17558
 
-else
17559
 
-  as_expr=false
17560
 
-fi
17561
 
 
17562
 
 rm -f conf$$ conf$$.exe conf$$.file
17563
 
 if test -d conf$$.dir; then
17564
 
@@ -536,7 +492,7 @@ rm -f conf$$ conf$$.exe conf$$.dir/conf$
17565
 
 rmdir conf$$.dir 2>/dev/null
17566
 
 
17567
 
 if mkdir -p . 2>/dev/null; then
17568
 
-  as_mkdir_p=:
17569
 
+  as_mkdir_p='mkdir -p "$as_dir"'
17570
 
 else
17571
 
   test -d ./-p && rmdir ./-p
17572
 
   as_mkdir_p=false
17573
 
@@ -555,10 +511,10 @@ else
17574
 
       if test -d "$1"; then
17575
 
        test -d "$1/.";
17576
 
       else
17577
 
-       case $1 in
17578
 
+       case $1 in #(
17579
 
        -*)set "./$1";;
17580
 
        esac;
17581
 
-       case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
17582
 
+       case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
17583
 
        ???[sx]*):;;*)false;;esac;fi
17584
 
     '\'' sh
17585
 
   '
17586
 
@@ -573,26 +529,25 @@ as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr
17587
 
 
17588
 
 
17589
 
 
17590
 
-
17591
 
 # Check that we are running under the correct shell.
17592
 
 SHELL=${CONFIG_SHELL-/bin/sh}
17593
 
 
17594
 
-case X$ECHO in
17595
 
+case X$lt_ECHO in
17596
 
 X*--fallback-echo)
17597
 
   # Remove one level of quotation (which was required for Make).
17598
 
-  ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
17599
 
+  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
17600
 
   ;;
17601
 
 esac
17602
 
 
17603
 
-echo=${ECHO-echo}
17604
 
+ECHO=${lt_ECHO-echo}
17605
 
 if test "X$1" = X--no-reexec; then
17606
 
   # Discard the --no-reexec flag, and continue.
17607
 
   shift
17608
 
 elif test "X$1" = X--fallback-echo; then
17609
 
   # Avoid inline document here, it may be left over
17610
 
   :
17611
 
-elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
17612
 
-  # Yippee, $echo works!
17613
 
+elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
17614
 
+  # Yippee, $ECHO works!
17615
 
   :
17616
 
 else
17617
 
   # Restart under the correct shell.
17618
 
@@ -602,9 +557,9 @@ fi
17619
 
 if test "X$1" = X--fallback-echo; then
17620
 
   # used as fallback echo
17621
 
   shift
17622
 
-  cat <<EOF
17623
 
+  cat <<_LT_EOF
17624
 
 $*
17625
 
-EOF
17626
 
+_LT_EOF
17627
 
   exit 0
17628
 
 fi
17629
 
 
17630
 
@@ -612,121 +567,116 @@ fi
17631
 
 # if CDPATH is set.
17632
 
 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17633
 
 
17634
 
-if test -z "$ECHO"; then
17635
 
-if test "X${echo_test_string+set}" != Xset; then
17636
 
-# find a string as large as possible, as long as the shell can cope with it
17637
 
-  for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
17638
 
-    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
17639
 
-    if (echo_test_string=`eval $cmd`) 2>/dev/null &&
17640
 
-       echo_test_string=`eval $cmd` &&
17641
 
-       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
17642
 
-    then
17643
 
-      break
17644
 
-    fi
17645
 
-  done
17646
 
-fi
17647
 
+if test -z "$lt_ECHO"; then
17648
 
+  if test "X${echo_test_string+set}" != Xset; then
17649
 
+    # find a string as large as possible, as long as the shell can cope with it
17650
 
+    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
17651
 
+      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
17652
 
+      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
17653
 
+        { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
17654
 
+      then
17655
 
+        break
17656
 
+      fi
17657
 
+    done
17658
 
+  fi
17659
 
 
17660
 
-if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
17661
 
-   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
17662
 
-   test "X$echo_testing_string" = "X$echo_test_string"; then
17663
 
-  :
17664
 
-else
17665
 
-  # The Solaris, AIX, and Digital Unix default echo programs unquote
17666
 
-  # backslashes.  This makes it impossible to quote backslashes using
17667
 
-  #   echo "$something" | sed 's/\\/\\\\/g'
17668
 
-  #
17669
 
-  # So, first we look for a working echo in the user's PATH.
17670
 
+  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
17671
 
+     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
17672
 
+     test "X$echo_testing_string" = "X$echo_test_string"; then
17673
 
+    :
17674
 
+  else
17675
 
+    # The Solaris, AIX, and Digital Unix default echo programs unquote
17676
 
+    # backslashes.  This makes it impossible to quote backslashes using
17677
 
+    #   echo "$something" | sed 's/\\/\\\\/g'
17678
 
+    #
17679
 
+    # So, first we look for a working echo in the user's PATH.
17680
 
 
17681
 
-  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
17682
 
-  for dir in $PATH /usr/ucb; do
17683
 
+    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
17684
 
+    for dir in $PATH /usr/ucb; do
17685
 
+      IFS="$lt_save_ifs"
17686
 
+      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
17687
 
+         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
17688
 
+         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
17689
 
+         test "X$echo_testing_string" = "X$echo_test_string"; then
17690
 
+        ECHO="$dir/echo"
17691
 
+        break
17692
 
+      fi
17693
 
+    done
17694
 
     IFS="$lt_save_ifs"
17695
 
-    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
17696
 
-       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
17697
 
-       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
17698
 
-       test "X$echo_testing_string" = "X$echo_test_string"; then
17699
 
-      echo="$dir/echo"
17700
 
-      break
17701
 
-    fi
17702
 
-  done
17703
 
-  IFS="$lt_save_ifs"
17704
 
 
17705
 
-  if test "X$echo" = Xecho; then
17706
 
-    # We didn't find a better echo, so look for alternatives.
17707
 
-    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
17708
 
-       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
17709
 
-       test "X$echo_testing_string" = "X$echo_test_string"; then
17710
 
-      # This shell has a builtin print -r that does the trick.
17711
 
-      echo='print -r'
17712
 
-    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
17713
 
-        test "X$CONFIG_SHELL" != X/bin/ksh; then
17714
 
-      # If we have ksh, try running configure again with it.
17715
 
-      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
17716
 
-      export ORIGINAL_CONFIG_SHELL
17717
 
-      CONFIG_SHELL=/bin/ksh
17718
 
-      export CONFIG_SHELL
17719
 
-      exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
17720
 
-    else
17721
 
-      # Try using printf.
17722
 
-      echo='printf %s\n'
17723
 
-      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
17724
 
-        echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
17725
 
-        test "X$echo_testing_string" = "X$echo_test_string"; then
17726
 
-       # Cool, printf works
17727
 
-       :
17728
 
-      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
17729
 
-          test "X$echo_testing_string" = 'X\t' &&
17730
 
-          echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
17731
 
-          test "X$echo_testing_string" = "X$echo_test_string"; then
17732
 
-       CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
17733
 
-       export CONFIG_SHELL
17734
 
-       SHELL="$CONFIG_SHELL"
17735
 
-       export SHELL
17736
 
-       echo="$CONFIG_SHELL $0 --fallback-echo"
17737
 
-      elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
17738
 
-          test "X$echo_testing_string" = 'X\t' &&
17739
 
-          echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
17740
 
+    if test "X$ECHO" = Xecho; then
17741
 
+      # We didn't find a better echo, so look for alternatives.
17742
 
+      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
17743
 
+         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
17744
 
+         test "X$echo_testing_string" = "X$echo_test_string"; then
17745
 
+        # This shell has a builtin print -r that does the trick.
17746
 
+        ECHO='print -r'
17747
 
+      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
17748
 
+          test "X$CONFIG_SHELL" != X/bin/ksh; then
17749
 
+        # If we have ksh, try running configure again with it.
17750
 
+        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
17751
 
+        export ORIGINAL_CONFIG_SHELL
17752
 
+        CONFIG_SHELL=/bin/ksh
17753
 
+        export CONFIG_SHELL
17754
 
+        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
17755
 
+      else
17756
 
+        # Try using printf.
17757
 
+        ECHO='printf %s\n'
17758
 
+        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
17759
 
+          echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
17760
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
17761
 
-       echo="$CONFIG_SHELL $0 --fallback-echo"
17762
 
-      else
17763
 
-       # maybe with a smaller string...
17764
 
-       prev=:
17765
 
+         # Cool, printf works
17766
 
+         :
17767
 
+        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
17768
 
+            test "X$echo_testing_string" = 'X\t' &&
17769
 
+            echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
17770
 
+            test "X$echo_testing_string" = "X$echo_test_string"; then
17771
 
+         CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
17772
 
+         export CONFIG_SHELL
17773
 
+         SHELL="$CONFIG_SHELL"
17774
 
+         export SHELL
17775
 
+         ECHO="$CONFIG_SHELL $0 --fallback-echo"
17776
 
+        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
17777
 
+            test "X$echo_testing_string" = 'X\t' &&
17778
 
+            echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
17779
 
+            test "X$echo_testing_string" = "X$echo_test_string"; then
17780
 
+         ECHO="$CONFIG_SHELL $0 --fallback-echo"
17781
 
+        else
17782
 
+         # maybe with a smaller string...
17783
 
+         prev=:
17784
 
 
17785
 
-       for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
17786
 
-         if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
17787
 
-         then
17788
 
-           break
17789
 
-         fi
17790
 
-         prev="$cmd"
17791
 
-       done
17792
 
+         for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
17793
 
+           if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
17794
 
+           then
17795
 
+             break
17796
 
+           fi
17797
 
+           prev="$cmd"
17798
 
+         done
17799
 
 
17800
 
-       if test "$prev" != 'sed 50q "$0"'; then
17801
 
-         echo_test_string=`eval $prev`
17802
 
-         export echo_test_string
17803
 
-         exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
17804
 
-       else
17805
 
-         # Oops.  We lost completely, so just stick with echo.
17806
 
-         echo=echo
17807
 
-       fi
17808
 
+         if test "$prev" != 'sed 50q "$0"'; then
17809
 
+           echo_test_string=`eval $prev`
17810
 
+           export echo_test_string
17811
 
+           exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
17812
 
+         else
17813
 
+           # Oops.  We lost completely, so just stick with echo.
17814
 
+           ECHO=echo
17815
 
+         fi
17816
 
+        fi
17817
 
       fi
17818
 
     fi
17819
 
   fi
17820
 
 fi
17821
 
-fi
17822
 
 
17823
 
 # Copy echo and quote the copy suitably for passing to libtool from
17824
 
 # the Makefile, instead of quoting the original, which is used later.
17825
 
-ECHO=$echo
17826
 
-if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
17827
 
-   ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
17828
 
+lt_ECHO=$ECHO
17829
 
+if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
17830
 
+   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
17831
 
 fi
17832
 
 
17833
 
 
17834
 
 
17835
 
 
17836
 
-tagnames=${tagnames+${tagnames},}CXX
17837
 
-
17838
 
-tagnames=${tagnames+${tagnames},}F77
17839
 
-
17840
 
 exec 7<&0 </dev/null 6>&1
17841
 
 
17842
 
 # Name of the host.
17843
 
@@ -745,7 +695,6 @@ cross_compiling=no
17844
 
 subdirs=
17845
 
 MFLAGS=
17846
 
 MAKEFLAGS=
17847
 
-SHELL=${CONFIG_SHELL-/bin/sh}
17848
 
 
17849
 
 # Identity of this package.
17850
 
 PACKAGE_NAME='gnome-python-extras'
17851
 
@@ -753,6 +702,7 @@ PACKAGE_TARNAME='gnome-python-extras'
17852
 
 PACKAGE_VERSION='2.25.3'
17853
 
 PACKAGE_STRING='gnome-python-extras 2.25.3'
17854
 
 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-python'
17855
 
+PACKAGE_URL=''
17856
 
 
17857
 
 # Factoring default headers for most tests.
17858
 
 ac_includes_default="\
17859
 
@@ -790,211 +740,222 @@ ac_includes_default="\
17860
 
 # include <unistd.h>
17861
 
 #endif"
17862
 
 
17863
 
-ac_subst_vars='SHELL
17864
 
-PATH_SEPARATOR
17865
 
-PACKAGE_NAME
17866
 
-PACKAGE_TARNAME
17867
 
-PACKAGE_VERSION
17868
 
-PACKAGE_STRING
17869
 
-PACKAGE_BUGREPORT
17870
 
-exec_prefix
17871
 
-prefix
17872
 
-program_transform_name
17873
 
-bindir
17874
 
-sbindir
17875
 
-libexecdir
17876
 
-datarootdir
17877
 
-datadir
17878
 
-sysconfdir
17879
 
-sharedstatedir
17880
 
-localstatedir
17881
 
-includedir
17882
 
-oldincludedir
17883
 
-docdir
17884
 
-infodir
17885
 
-htmldir
17886
 
-dvidir
17887
 
-pdfdir
17888
 
-psdir
17889
 
-libdir
17890
 
-localedir
17891
 
-mandir
17892
 
-DEFS
17893
 
-ECHO_C
17894
 
-ECHO_N
17895
 
-ECHO_T
17896
 
-LIBS
17897
 
-build_alias
17898
 
-host_alias
17899
 
-target_alias
17900
 
-INSTALL_PROGRAM
17901
 
-INSTALL_SCRIPT
17902
 
-INSTALL_DATA
17903
 
-am__isrc
17904
 
-CYGPATH_W
17905
 
-PACKAGE
17906
 
-VERSION
17907
 
-ACLOCAL
17908
 
-AUTOCONF
17909
 
-AUTOMAKE
17910
 
-AUTOHEADER
17911
 
-MAKEINFO
17912
 
-install_sh
17913
 
-STRIP
17914
 
-INSTALL_STRIP_PROGRAM
17915
 
-MKDIR_P
17916
 
-mkdir_p
17917
 
-AWK
17918
 
-SET_MAKE
17919
 
-am__leading_dot
17920
 
-AMTAR
17921
 
-am__tar
17922
 
-am__untar
17923
 
-ACLOCAL_AMFLAGS
17924
 
-build
17925
 
-build_cpu
17926
 
-build_vendor
17927
 
-build_os
17928
 
-host
17929
 
-host_cpu
17930
 
-host_vendor
17931
 
-host_os
17932
 
-PLATFORM_WIN32_TRUE
17933
 
-PLATFORM_WIN32_FALSE
17934
 
-OS_WIN32_TRUE
17935
 
-OS_WIN32_FALSE
17936
 
-CC
17937
 
-CFLAGS
17938
 
-LDFLAGS
17939
 
-CPPFLAGS
17940
 
-ac_ct_CC
17941
 
-EXEEXT
17942
 
-OBJEXT
17943
 
-DEPDIR
17944
 
-am__include
17945
 
-am__quote
17946
 
-AMDEP_TRUE
17947
 
-AMDEP_FALSE
17948
 
-AMDEPBACKSLASH
17949
 
-CCDEPMODE
17950
 
-am__fastdepCC_TRUE
17951
 
-am__fastdepCC_FALSE
17952
 
-SED
17953
 
-GREP
17954
 
-EGREP
17955
 
-LN_S
17956
 
-ECHO
17957
 
-AR
17958
 
-RANLIB
17959
 
-DSYMUTIL
17960
 
-NMEDIT
17961
 
-DLLTOOL
17962
 
-AS
17963
 
-OBJDUMP
17964
 
-CPP
17965
 
-CXX
17966
 
-CXXFLAGS
17967
 
-ac_ct_CXX
17968
 
-CXXDEPMODE
17969
 
-am__fastdepCXX_TRUE
17970
 
-am__fastdepCXX_FALSE
17971
 
-CXXCPP
17972
 
-F77
17973
 
-FFLAGS
17974
 
-ac_ct_F77
17975
 
-LIBTOOL
17976
 
-PYTHON
17977
 
-PYTHON_VERSION
17978
 
-PYTHON_PREFIX
17979
 
-PYTHON_EXEC_PREFIX
17980
 
-PYTHON_PLATFORM
17981
 
-pythondir
17982
 
-pkgpythondir
17983
 
-pyexecdir
17984
 
-pkgpyexecdir
17985
 
-PYTHON_INCLUDES
17986
 
-PYTHON_LDFLAGS
17987
 
-PKG_CONFIG
17988
 
-PYGTK_CFLAGS
17989
 
-PYGTK_LIBS
17990
 
-PYGTK_CODEGEN
17991
 
-PYGTK_DEFSDIR
17992
 
-GNOME_PYTHON_DEFSDIR
17993
 
-GNOME_PYTHON_ARGTYPES_DIR
17994
 
-GLIB_CFLAGS
17995
 
-GLIB_LIBS
17996
 
-GLIB_GENMARSHAL
17997
 
-GOBJECT_QUERY
17998
 
-GLIB_MKENUMS
17999
 
-GTK_CFLAGS
18000
 
-GTK_LIBS
18001
 
-XSLTPROC
18002
 
-ENABLE_DOCS_TRUE
18003
 
-ENABLE_DOCS_FALSE
18004
 
-PYGOBJECT_INCLUDEDIR
18005
 
-PYGOBJECT_DATADIR
18006
 
-PYGOBJECT_FIXXREF
18007
 
-PYGOBJECT_PYGDOCS
18008
 
-GTKHTML2_CFLAGS
18009
 
-GTKHTML2_LIBS
18010
 
-BUILD_GTKHTML2_TRUE
18011
 
-BUILD_GTKHTML2_FALSE
18012
 
-EGGTRAY_CFLAGS
18013
 
-EGGTRAY_LIBS
18014
 
-BUILD_EGGTRAY_TRUE
18015
 
-BUILD_EGGTRAY_FALSE
18016
 
-EGG_RECENT_CFLAGS
18017
 
-EGG_RECENT_LIBS
18018
 
-BUILD_EGGRECENT_TRUE
18019
 
-BUILD_EGGRECENT_FALSE
18020
 
-BUILD_EGG_TRUE
18021
 
-BUILD_EGG_FALSE
18022
 
-GTKMOZEMBED_CFLAGS
18023
 
-GTKMOZEMBED_LIBS
18024
 
-XUL19_CFLAGS
18025
 
-XUL19_LIBS
18026
 
-GTKMOZEMBED_CODEGEN_DEFINES
18027
 
-BUILD_GTKMOZEMBED_TRUE
18028
 
-BUILD_GTKMOZEMBED_FALSE
18029
 
-MOZILLA_HOME
18030
 
-GTKSPELL_CFLAGS
18031
 
-GTKSPELL_LIBS
18032
 
-BUILD_GTKSPELL_TRUE
18033
 
-BUILD_GTKSPELL_FALSE
18034
 
-GDL_CFLAGS
18035
 
-GDL_LIBS
18036
 
-BUILD_GDL_TRUE
18037
 
-BUILD_GDL_FALSE
18038
 
-PYGTK_CODEGEN_DEFINES
18039
 
-GDA_CFLAGS
18040
 
-GDA_LIBS
18041
 
-BUILD_GDA_TRUE
18042
 
-BUILD_GDA_FALSE
18043
 
-GKSU2_CFLAGS
18044
 
-GKSU2_LIBS
18045
 
-BUILD_GKSU2_TRUE
18046
 
-BUILD_GKSU2_FALSE
18047
 
-GKSU_CFLAGS
18048
 
-GKSU_LIBS
18049
 
-BUILD_GKSU_TRUE
18050
 
-BUILD_GKSU_FALSE
18051
 
-GKSUUI_CFLAGS
18052
 
-GKSUUI_LIBS
18053
 
-BUILD_GKSUUI_TRUE
18054
 
-BUILD_GKSUUI_FALSE
18055
 
+ac_subst_vars='am__EXEEXT_FALSE
18056
 
+am__EXEEXT_TRUE
18057
 
+LTLIBOBJS
18058
 
 LIBOBJS
18059
 
-LTLIBOBJS'
18060
 
-ac_subst_files=''
18061
 
-ac_user_opts='
18062
 
-enable_option_checking
18063
 
-enable_static
18064
 
-enable_shared
18065
 
-enable_fast_install
18066
 
-enable_dependency_tracking
18067
 
-with_gnu_ld
18068
 
-enable_libtool_lock
18069
 
+BUILD_GKSUUI_FALSE
18070
 
+BUILD_GKSUUI_TRUE
18071
 
+GKSUUI_LIBS
18072
 
+GKSUUI_CFLAGS
18073
 
+BUILD_GKSU_FALSE
18074
 
+BUILD_GKSU_TRUE
18075
 
+GKSU_LIBS
18076
 
+GKSU_CFLAGS
18077
 
+BUILD_GKSU2_FALSE
18078
 
+BUILD_GKSU2_TRUE
18079
 
+GKSU2_LIBS
18080
 
+GKSU2_CFLAGS
18081
 
+BUILD_GDA_FALSE
18082
 
+BUILD_GDA_TRUE
18083
 
+GDA_LIBS
18084
 
+GDA_CFLAGS
18085
 
+PYGTK_CODEGEN_DEFINES
18086
 
+BUILD_GDL_FALSE
18087
 
+BUILD_GDL_TRUE
18088
 
+GDL_LIBS
18089
 
+GDL_CFLAGS
18090
 
+BUILD_GTKSPELL_FALSE
18091
 
+BUILD_GTKSPELL_TRUE
18092
 
+GTKSPELL_LIBS
18093
 
+GTKSPELL_CFLAGS
18094
 
+HAVE_XPCOM_GLUE_FALSE
18095
 
+HAVE_XPCOM_GLUE_TRUE
18096
 
+MOZILLA_HOME
18097
 
+BUILD_GTKMOZEMBED_FALSE
18098
 
+BUILD_GTKMOZEMBED_TRUE
18099
 
+GTKMOZEMBED_CODEGEN_DEFINES
18100
 
+GTKMOZEMBED_LIBS
18101
 
+GTKMOZEMBED_CFLAGS
18102
 
+BUILD_EGG_FALSE
18103
 
+BUILD_EGG_TRUE
18104
 
+BUILD_EGGRECENT_FALSE
18105
 
+BUILD_EGGRECENT_TRUE
18106
 
+EGG_RECENT_LIBS
18107
 
+EGG_RECENT_CFLAGS
18108
 
+BUILD_EGGTRAY_FALSE
18109
 
+BUILD_EGGTRAY_TRUE
18110
 
+EGGTRAY_LIBS
18111
 
+EGGTRAY_CFLAGS
18112
 
+BUILD_GTKHTML2_FALSE
18113
 
+BUILD_GTKHTML2_TRUE
18114
 
+GTKHTML2_LIBS
18115
 
+GTKHTML2_CFLAGS
18116
 
+PYGOBJECT_PYGDOCS
18117
 
+PYGOBJECT_FIXXREF
18118
 
+PYGOBJECT_DATADIR
18119
 
+PYGOBJECT_INCLUDEDIR
18120
 
+ENABLE_DOCS_FALSE
18121
 
+ENABLE_DOCS_TRUE
18122
 
+XSLTPROC
18123
 
+GTK_LIBS
18124
 
+GTK_CFLAGS
18125
 
+GLIB_MKENUMS
18126
 
+GOBJECT_QUERY
18127
 
+GLIB_GENMARSHAL
18128
 
+GLIB_LIBS
18129
 
+GLIB_CFLAGS
18130
 
+GNOME_PYTHON_ARGTYPES_DIR
18131
 
+GNOME_PYTHON_DEFSDIR
18132
 
+PYGTK_DEFSDIR
18133
 
+PYGTK_CODEGEN
18134
 
+PYGTK_LIBS
18135
 
+PYGTK_CFLAGS
18136
 
+PKG_CONFIG
18137
 
+PYTHON_LDFLAGS
18138
 
+PYTHON_INCLUDES
18139
 
+pkgpyexecdir
18140
 
+pyexecdir
18141
 
+pkgpythondir
18142
 
+pythondir
18143
 
+PYTHON_PLATFORM
18144
 
+PYTHON_EXEC_PREFIX
18145
 
+PYTHON_PREFIX
18146
 
+PYTHON_VERSION
18147
 
+PYTHON
18148
 
+CXXCPP
18149
 
+am__fastdepCXX_FALSE
18150
 
+am__fastdepCXX_TRUE
18151
 
+CXXDEPMODE
18152
 
+ac_ct_CXX
18153
 
+CXXFLAGS
18154
 
+CXX
18155
 
+CPP
18156
 
+OTOOL64
18157
 
+OTOOL
18158
 
+LIPO
18159
 
+NMEDIT
18160
 
+DSYMUTIL
18161
 
+lt_ECHO
18162
 
+RANLIB
18163
 
+AR
18164
 
+LN_S
18165
 
+NM
18166
 
+ac_ct_DUMPBIN
18167
 
+DUMPBIN
18168
 
+LD
18169
 
+FGREP
18170
 
+EGREP
18171
 
+GREP
18172
 
+SED
18173
 
+am__fastdepCC_FALSE
18174
 
+am__fastdepCC_TRUE
18175
 
+CCDEPMODE
18176
 
+AMDEPBACKSLASH
18177
 
+AMDEP_FALSE
18178
 
+AMDEP_TRUE
18179
 
+am__quote
18180
 
+am__include
18181
 
+DEPDIR
18182
 
+OBJEXT
18183
 
+EXEEXT
18184
 
+ac_ct_CC
18185
 
+CPPFLAGS
18186
 
+LDFLAGS
18187
 
+CFLAGS
18188
 
+CC
18189
 
+LIBTOOL
18190
 
+OBJDUMP
18191
 
+DLLTOOL
18192
 
+AS
18193
 
+OS_WIN32_FALSE
18194
 
+OS_WIN32_TRUE
18195
 
+PLATFORM_WIN32_FALSE
18196
 
+PLATFORM_WIN32_TRUE
18197
 
+host_os
18198
 
+host_vendor
18199
 
+host_cpu
18200
 
+host
18201
 
+build_os
18202
 
+build_vendor
18203
 
+build_cpu
18204
 
+build
18205
 
+ACLOCAL_AMFLAGS
18206
 
+MAINT
18207
 
+MAINTAINER_MODE_FALSE
18208
 
+MAINTAINER_MODE_TRUE
18209
 
+am__untar
18210
 
+am__tar
18211
 
+AMTAR
18212
 
+am__leading_dot
18213
 
+SET_MAKE
18214
 
+AWK
18215
 
+mkdir_p
18216
 
+MKDIR_P
18217
 
+INSTALL_STRIP_PROGRAM
18218
 
+STRIP
18219
 
+install_sh
18220
 
+MAKEINFO
18221
 
+AUTOHEADER
18222
 
+AUTOMAKE
18223
 
+AUTOCONF
18224
 
+ACLOCAL
18225
 
+VERSION
18226
 
+PACKAGE
18227
 
+CYGPATH_W
18228
 
+am__isrc
18229
 
+INSTALL_DATA
18230
 
+INSTALL_SCRIPT
18231
 
+INSTALL_PROGRAM
18232
 
+target_alias
18233
 
+host_alias
18234
 
+build_alias
18235
 
+LIBS
18236
 
+ECHO_T
18237
 
+ECHO_N
18238
 
+ECHO_C
18239
 
+DEFS
18240
 
+mandir
18241
 
+localedir
18242
 
+libdir
18243
 
+psdir
18244
 
+pdfdir
18245
 
+dvidir
18246
 
+htmldir
18247
 
+infodir
18248
 
+docdir
18249
 
+oldincludedir
18250
 
+includedir
18251
 
+localstatedir
18252
 
+sharedstatedir
18253
 
+sysconfdir
18254
 
+datadir
18255
 
+datarootdir
18256
 
+libexecdir
18257
 
+sbindir
18258
 
+bindir
18259
 
+program_transform_name
18260
 
+prefix
18261
 
+exec_prefix
18262
 
+PACKAGE_URL
18263
 
+PACKAGE_BUGREPORT
18264
 
+PACKAGE_STRING
18265
 
+PACKAGE_VERSION
18266
 
+PACKAGE_TARNAME
18267
 
+PACKAGE_NAME
18268
 
+PATH_SEPARATOR
18269
 
+SHELL'
18270
 
+ac_subst_files=''
18271
 
+ac_user_opts='
18272
 
+enable_option_checking
18273
 
+enable_maintainer_mode
18274
 
+enable_static
18275
 
+enable_shared
18276
 
 with_pic
18277
 
-with_tags
18278
 
+enable_fast_install
18279
 
+enable_dependency_tracking
18280
 
+with_gnu_ld
18281
 
+enable_libtool_lock
18282
 
 enable_glibtest
18283
 
 enable_gtktest
18284
 
 enable_allbindings
18285
 
@@ -1024,8 +985,6 @@ CXX
18286
 
 CXXFLAGS
18287
 
 CCC
18288
 
 CXXCPP
18289
 
-F77
18290
 
-FFLAGS
18291
 
 PKG_CONFIG
18292
 
 PYGTK_CFLAGS
18293
 
 PYGTK_LIBS
18294
 
@@ -1037,8 +996,6 @@ EGG_RECENT_CFLAGS
18295
 
 EGG_RECENT_LIBS
18296
 
 GTKMOZEMBED_CFLAGS
18297
 
 GTKMOZEMBED_LIBS
18298
 
-XUL19_CFLAGS
18299
 
-XUL19_LIBS
18300
 
 GTKSPELL_CFLAGS
18301
 
 GTKSPELL_LIBS
18302
 
 GDL_CFLAGS
18303
 
@@ -1159,8 +1116,7 @@ do
18304
 
     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
18305
 
     # Reject names that are not valid shell variable names.
18306
 
     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
18307
 
-      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
18308
 
-   { (exit 1); exit 1; }; }
18309
 
+      as_fn_error "invalid feature name: $ac_useropt"
18310
 
     ac_useropt_orig=$ac_useropt
18311
 
     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
18312
 
     case $ac_user_opts in
18313
 
@@ -1186,8 +1142,7 @@ do
18314
 
     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
18315
 
     # Reject names that are not valid shell variable names.
18316
 
     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
18317
 
-      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
18318
 
-   { (exit 1); exit 1; }; }
18319
 
+      as_fn_error "invalid feature name: $ac_useropt"
18320
 
     ac_useropt_orig=$ac_useropt
18321
 
     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
18322
 
     case $ac_user_opts in
18323
 
@@ -1391,8 +1346,7 @@ do
18324
 
     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
18325
 
     # Reject names that are not valid shell variable names.
18326
 
     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
18327
 
-      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
18328
 
-   { (exit 1); exit 1; }; }
18329
 
+      as_fn_error "invalid package name: $ac_useropt"
18330
 
     ac_useropt_orig=$ac_useropt
18331
 
     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
18332
 
     case $ac_user_opts in
18333
 
@@ -1408,8 +1362,7 @@ do
18334
 
     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
18335
 
     # Reject names that are not valid shell variable names.
18336
 
     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
18337
 
-      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
18338
 
-   { (exit 1); exit 1; }; }
18339
 
+      as_fn_error "invalid package name: $ac_useropt"
18340
 
     ac_useropt_orig=$ac_useropt
18341
 
     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
18342
 
     case $ac_user_opts in
18343
 
@@ -1439,17 +1392,17 @@ do
18344
 
   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
18345
 
     x_libraries=$ac_optarg ;;
18346
 
 
18347
 
-  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
18348
 
-Try \`$0 --help' for more information." >&2
18349
 
-   { (exit 1); exit 1; }; }
18350
 
+  -*) as_fn_error "unrecognized option: \`$ac_option'
18351
 
+Try \`$0 --help' for more information."
18352
 
     ;;
18353
 
 
18354
 
   *=*)
18355
 
     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
18356
 
     # Reject names that are not valid shell variable names.
18357
 
-    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
18358
 
-      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
18359
 
-   { (exit 1); exit 1; }; }
18360
 
+    case $ac_envvar in #(
18361
 
+      '' | [0-9]* | *[!_$as_cr_alnum]* )
18362
 
+      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
18363
 
+    esac
18364
 
     eval $ac_envvar=\$ac_optarg
18365
 
     export $ac_envvar ;;
18366
 
 
18367
 
@@ -1466,16 +1419,14 @@ done
18368
 
 
18369
 
 if test -n "$ac_prev"; then
18370
 
   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
18371
 
-  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
18372
 
-   { (exit 1); exit 1; }; }
18373
 
+  as_fn_error "missing argument to $ac_option"
18374
 
 fi
18375
 
 
18376
 
 if test -n "$ac_unrecognized_opts"; then
18377
 
   case $enable_option_checking in
18378
 
     no) ;;
18379
 
-    fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
18380
 
-   { (exit 1); exit 1; }; } ;;
18381
 
-    *)     $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
18382
 
+    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
18383
 
+    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
18384
 
   esac
18385
 
 fi
18386
 
 
18387
 
@@ -1497,8 +1448,7 @@ do
18388
 
     [\\/$]* | ?:[\\/]* )  continue;;
18389
 
     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
18390
 
   esac
18391
 
-  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
18392
 
-   { (exit 1); exit 1; }; }
18393
 
+  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
18394
 
 done
18395
 
 
18396
 
 # There might be people who depend on the old broken behavior: `$host'
18397
 
@@ -1528,11 +1478,9 @@ test "$silent" = yes && exec 6>/dev/null
18398
 
 ac_pwd=`pwd` && test -n "$ac_pwd" &&
18399
 
 ac_ls_di=`ls -di .` &&
18400
 
 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
18401
 
-  { $as_echo "$as_me: error: Working directory cannot be determined" >&2
18402
 
-   { (exit 1); exit 1; }; }
18403
 
+  as_fn_error "working directory cannot be determined"
18404
 
 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
18405
 
-  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
18406
 
-   { (exit 1); exit 1; }; }
18407
 
+  as_fn_error "pwd does not report name of working directory"
18408
 
 
18409
 
 
18410
 
 # Find the source files, if location was not specified.
18411
 
@@ -1571,13 +1519,11 @@ else
18412
 
 fi
18413
 
 if test ! -r "$srcdir/$ac_unique_file"; then
18414
 
   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
18415
 
-  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
18416
 
-   { (exit 1); exit 1; }; }
18417
 
+  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
18418
 
 fi
18419
 
 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
18420
 
 ac_abs_confdir=`(
18421
 
-       cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
18422
 
-   { (exit 1); exit 1; }; }
18423
 
+       cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
18424
 
        pwd)`
18425
 
 # When building in place, set srcdir=.
18426
 
 if test "$ac_abs_confdir" = "$ac_pwd"; then
18427
 
@@ -1682,6 +1628,8 @@ Optional Features:
18428
 
   --disable-option-checking  ignore unrecognized --enable/--with options
18429
 
   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
18430
 
   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
18431
 
+  --enable-maintainer-mode  enable make rules and dependencies not useful
18432
 
+                         (and sometimes confusing) to the casual installer
18433
 
   --enable-static[=PKGS]  build static libraries [default=no]
18434
 
   --enable-shared[=PKGS]  build shared libraries [default=yes]
18435
 
   --enable-fast-install[=PKGS]
18436
 
@@ -1717,11 +1665,10 @@ Optional Features:
18437
 
 Optional Packages:
18438
 
   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
18439
 
   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
18440
 
-  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
18441
 
   --with-pic              try to use only PIC/non-PIC objects [default=use
18442
 
                           both]
18443
 
-  --with-tags[=TAGS]      include additional configurations [automatic]
18444
 
-  --with-gtkmozembed=mozilla|firefox|xulrunner
18445
 
+  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
18446
 
+  --with-gtkmozembed=mozilla|firefox|xulrunner|xulrunner-1.9
18447
 
                           package that provides libgtkmozembed
18448
 
 
18449
 
 Some influential environment variables:
18450
 
@@ -1736,8 +1683,6 @@ Some influential environment variables:
18451
 
   CXX         C++ compiler command
18452
 
   CXXFLAGS    C++ compiler flags
18453
 
   CXXCPP      C++ preprocessor
18454
 
-  F77         Fortran 77 compiler command
18455
 
-  FFLAGS      Fortran 77 compiler flags
18456
 
   PKG_CONFIG  path to pkg-config utility
18457
 
   PYGTK_CFLAGS
18458
 
               C compiler flags for PYGTK, overriding pkg-config
18459
 
@@ -1758,9 +1703,6 @@ Some influential environment variables:
18460
 
               C compiler flags for GTKMOZEMBED, overriding pkg-config
18461
 
   GTKMOZEMBED_LIBS
18462
 
               linker flags for GTKMOZEMBED, overriding pkg-config
18463
 
-  XUL19_CFLAGS
18464
 
-              C compiler flags for XUL19, overriding pkg-config
18465
 
-  XUL19_LIBS  linker flags for XUL19, overriding pkg-config
18466
 
   GTKSPELL_CFLAGS
18467
 
               C compiler flags for GTKSPELL, overriding pkg-config
18468
 
   GTKSPELL_LIBS
18469
 
@@ -1845,44 +1787,429 @@ test -n "$ac_init_help" && exit $ac_stat
18470
 
 if $ac_init_version; then
18471
 
   cat <<\_ACEOF
18472
 
 gnome-python-extras configure 2.25.3
18473
 
-generated by GNU Autoconf 2.62
18474
 
+generated by GNU Autoconf 2.64
18475
 
 
18476
 
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
18477
 
-2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
18478
 
+Copyright (C) 2009 Free Software Foundation, Inc.
18479
 
 This configure script is free software; the Free Software Foundation
18480
 
 gives unlimited permission to copy, distribute and modify it.
18481
 
 _ACEOF
18482
 
   exit
18483
 
 fi
18484
 
-cat >config.log <<_ACEOF
18485
 
-This file contains any messages produced by compilers while
18486
 
-running configure, to aid debugging if configure makes a mistake.
18487
 
 
18488
 
-It was created by gnome-python-extras $as_me 2.25.3, which was
18489
 
-generated by GNU Autoconf 2.62.  Invocation command line was
18490
 
+## ------------------------ ##
18491
 
+## Autoconf initialization. ##
18492
 
+## ------------------------ ##
18493
 
+
18494
 
+# ac_fn_c_try_compile LINENO
18495
 
+# --------------------------
18496
 
+# Try to compile conftest.$ac_ext, and return whether this succeeded.
18497
 
+ac_fn_c_try_compile ()
18498
 
+{
18499
 
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18500
 
+  rm -f conftest.$ac_objext
18501
 
+  if { { ac_try="$ac_compile"
18502
 
+case "(($ac_try" in
18503
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18504
 
+  *) ac_try_echo=$ac_try;;
18505
 
+esac
18506
 
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18507
 
+$as_echo "$ac_try_echo"; } >&5
18508
 
+  (eval "$ac_compile") 2>conftest.err
18509
 
+  ac_status=$?
18510
 
+  if test -s conftest.err; then
18511
 
+    grep -v '^ *+' conftest.err >conftest.er1
18512
 
+    cat conftest.er1 >&5
18513
 
+    mv -f conftest.er1 conftest.err
18514
 
+  fi
18515
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18516
 
+  test $ac_status = 0; } && {
18517
 
+        test -z "$ac_c_werror_flag" ||
18518
 
+        test ! -s conftest.err
18519
 
+       } && test -s conftest.$ac_objext; then :
18520
 
+  ac_retval=0
18521
 
+else
18522
 
+  $as_echo "$as_me: failed program was:" >&5
18523
 
+sed 's/^/| /' conftest.$ac_ext >&5
18524
 
 
18525
 
-  $ $0 $@
18526
 
+       ac_retval=1
18527
 
+fi
18528
 
+  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
18529
 
+  return $ac_retval
18530
 
 
18531
 
-_ACEOF
18532
 
-exec 5>>config.log
18533
 
+} # ac_fn_c_try_compile
18534
 
+
18535
 
+# ac_fn_c_try_link LINENO
18536
 
+# -----------------------
18537
 
+# Try to link conftest.$ac_ext, and return whether this succeeded.
18538
 
+ac_fn_c_try_link ()
18539
 
 {
18540
 
-cat <<_ASUNAME
18541
 
-## --------- ##
18542
 
-## Platform. ##
18543
 
-## --------- ##
18544
 
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18545
 
+  rm -f conftest.$ac_objext conftest$ac_exeext
18546
 
+  if { { ac_try="$ac_link"
18547
 
+case "(($ac_try" in
18548
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18549
 
+  *) ac_try_echo=$ac_try;;
18550
 
+esac
18551
 
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18552
 
+$as_echo "$ac_try_echo"; } >&5
18553
 
+  (eval "$ac_link") 2>conftest.err
18554
 
+  ac_status=$?
18555
 
+  if test -s conftest.err; then
18556
 
+    grep -v '^ *+' conftest.err >conftest.er1
18557
 
+    cat conftest.er1 >&5
18558
 
+    mv -f conftest.er1 conftest.err
18559
 
+  fi
18560
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18561
 
+  test $ac_status = 0; } && {
18562
 
+        test -z "$ac_c_werror_flag" ||
18563
 
+        test ! -s conftest.err
18564
 
+       } && test -s conftest$ac_exeext && {
18565
 
+        test "$cross_compiling" = yes ||
18566
 
+        $as_test_x conftest$ac_exeext
18567
 
+       }; then :
18568
 
+  ac_retval=0
18569
 
+else
18570
 
+  $as_echo "$as_me: failed program was:" >&5
18571
 
+sed 's/^/| /' conftest.$ac_ext >&5
18572
 
 
18573
 
-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
18574
 
-uname -m = `(uname -m) 2>/dev/null || echo unknown`
18575
 
-uname -r = `(uname -r) 2>/dev/null || echo unknown`
18576
 
-uname -s = `(uname -s) 2>/dev/null || echo unknown`
18577
 
-uname -v = `(uname -v) 2>/dev/null || echo unknown`
18578
 
+       ac_retval=1
18579
 
+fi
18580
 
+  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
18581
 
+  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
18582
 
+  # interfere with the next link command; also delete a directory that is
18583
 
+  # left behind by Apple's compiler.  We do this before executing the actions.
18584
 
+  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
18585
 
+  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
18586
 
+  return $ac_retval
18587
 
+
18588
 
+} # ac_fn_c_try_link
18589
 
+
18590
 
+# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
18591
 
+# -------------------------------------------------------
18592
 
+# Tests whether HEADER exists and can be compiled using the include files in
18593
 
+# INCLUDES, setting the cache variable VAR accordingly.
18594
 
+ac_fn_c_check_header_compile ()
18595
 
+{
18596
 
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18597
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
18598
 
+$as_echo_n "checking for $2... " >&6; }
18599
 
+if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
18600
 
+  $as_echo_n "(cached) " >&6
18601
 
+else
18602
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18603
 
+/* end confdefs.h.  */
18604
 
+$4
18605
 
+#include <$2>
18606
 
+_ACEOF
18607
 
+if ac_fn_c_try_compile "$LINENO"; then :
18608
 
+  eval "$3=yes"
18609
 
+else
18610
 
+  eval "$3=no"
18611
 
+fi
18612
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18613
 
+fi
18614
 
+eval ac_res=\$$3
18615
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
18616
 
+$as_echo "$ac_res" >&6; }
18617
 
+  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
18618
 
 
18619
 
-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
18620
 
-/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
18621
 
+} # ac_fn_c_check_header_compile
18622
 
 
18623
 
-/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
18624
 
-/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
18625
 
-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
18626
 
+# ac_fn_c_try_cpp LINENO
18627
 
+# ----------------------
18628
 
+# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
18629
 
+ac_fn_c_try_cpp ()
18630
 
+{
18631
 
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18632
 
+  if { { ac_try="$ac_cpp conftest.$ac_ext"
18633
 
+case "(($ac_try" in
18634
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18635
 
+  *) ac_try_echo=$ac_try;;
18636
 
+esac
18637
 
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18638
 
+$as_echo "$ac_try_echo"; } >&5
18639
 
+  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
18640
 
+  ac_status=$?
18641
 
+  if test -s conftest.err; then
18642
 
+    grep -v '^ *+' conftest.err >conftest.er1
18643
 
+    cat conftest.er1 >&5
18644
 
+    mv -f conftest.er1 conftest.err
18645
 
+  fi
18646
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18647
 
+  test $ac_status = 0; } >/dev/null && {
18648
 
+        test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18649
 
+        test ! -s conftest.err
18650
 
+       }; then :
18651
 
+  ac_retval=0
18652
 
+else
18653
 
+  $as_echo "$as_me: failed program was:" >&5
18654
 
+sed 's/^/| /' conftest.$ac_ext >&5
18655
 
+
18656
 
+    ac_retval=1
18657
 
+fi
18658
 
+  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
18659
 
+  return $ac_retval
18660
 
+
18661
 
+} # ac_fn_c_try_cpp
18662
 
+
18663
 
+# ac_fn_c_try_run LINENO
18664
 
+# ----------------------
18665
 
+# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
18666
 
+# that executables *can* be run.
18667
 
+ac_fn_c_try_run ()
18668
 
+{
18669
 
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18670
 
+  if { { ac_try="$ac_link"
18671
 
+case "(($ac_try" in
18672
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18673
 
+  *) ac_try_echo=$ac_try;;
18674
 
+esac
18675
 
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18676
 
+$as_echo "$ac_try_echo"; } >&5
18677
 
+  (eval "$ac_link") 2>&5
18678
 
+  ac_status=$?
18679
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18680
 
+  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
18681
 
+  { { case "(($ac_try" in
18682
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18683
 
+  *) ac_try_echo=$ac_try;;
18684
 
+esac
18685
 
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18686
 
+$as_echo "$ac_try_echo"; } >&5
18687
 
+  (eval "$ac_try") 2>&5
18688
 
+  ac_status=$?
18689
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18690
 
+  test $ac_status = 0; }; }; then :
18691
 
+  ac_retval=0
18692
 
+else
18693
 
+  $as_echo "$as_me: program exited with status $ac_status" >&5
18694
 
+       $as_echo "$as_me: failed program was:" >&5
18695
 
+sed 's/^/| /' conftest.$ac_ext >&5
18696
 
+
18697
 
+       ac_retval=$ac_status
18698
 
+fi
18699
 
+  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
18700
 
+  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
18701
 
+  return $ac_retval
18702
 
+
18703
 
+} # ac_fn_c_try_run
18704
 
+
18705
 
+# ac_fn_c_check_func LINENO FUNC VAR
18706
 
+# ----------------------------------
18707
 
+# Tests whether FUNC exists, setting the cache variable VAR accordingly
18708
 
+ac_fn_c_check_func ()
18709
 
+{
18710
 
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18711
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
18712
 
+$as_echo_n "checking for $2... " >&6; }
18713
 
+if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
18714
 
+  $as_echo_n "(cached) " >&6
18715
 
+else
18716
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18717
 
+/* end confdefs.h.  */
18718
 
+/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
18719
 
+   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18720
 
+#define $2 innocuous_$2
18721
 
+
18722
 
+/* System header to define __stub macros and hopefully few prototypes,
18723
 
+    which can conflict with char $2 (); below.
18724
 
+    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18725
 
+    <limits.h> exists even on freestanding compilers.  */
18726
 
+
18727
 
+#ifdef __STDC__
18728
 
+# include <limits.h>
18729
 
+#else
18730
 
+# include <assert.h>
18731
 
+#endif
18732
 
+
18733
 
+#undef $2
18734
 
+
18735
 
+/* Override any GCC internal prototype to avoid an error.
18736
 
+   Use char because int might match the return type of a GCC
18737
 
+   builtin and then its argument prototype would still apply.  */
18738
 
+#ifdef __cplusplus
18739
 
+extern "C"
18740
 
+#endif
18741
 
+char $2 ();
18742
 
+/* The GNU C library defines this for functions which it implements
18743
 
+    to always fail with ENOSYS.  Some functions are actually named
18744
 
+    something starting with __ and the normal name is an alias.  */
18745
 
+#if defined __stub_$2 || defined __stub___$2
18746
 
+choke me
18747
 
+#endif
18748
 
+
18749
 
+int
18750
 
+main ()
18751
 
+{
18752
 
+return $2 ();
18753
 
+  ;
18754
 
+  return 0;
18755
 
+}
18756
 
+_ACEOF
18757
 
+if ac_fn_c_try_link "$LINENO"; then :
18758
 
+  eval "$3=yes"
18759
 
+else
18760
 
+  eval "$3=no"
18761
 
+fi
18762
 
+rm -f core conftest.err conftest.$ac_objext \
18763
 
+    conftest$ac_exeext conftest.$ac_ext
18764
 
+fi
18765
 
+eval ac_res=\$$3
18766
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
18767
 
+$as_echo "$ac_res" >&6; }
18768
 
+  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
18769
 
+
18770
 
+} # ac_fn_c_check_func
18771
 
+
18772
 
+# ac_fn_cxx_try_compile LINENO
18773
 
+# ----------------------------
18774
 
+# Try to compile conftest.$ac_ext, and return whether this succeeded.
18775
 
+ac_fn_cxx_try_compile ()
18776
 
+{
18777
 
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18778
 
+  rm -f conftest.$ac_objext
18779
 
+  if { { ac_try="$ac_compile"
18780
 
+case "(($ac_try" in
18781
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18782
 
+  *) ac_try_echo=$ac_try;;
18783
 
+esac
18784
 
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18785
 
+$as_echo "$ac_try_echo"; } >&5
18786
 
+  (eval "$ac_compile") 2>conftest.err
18787
 
+  ac_status=$?
18788
 
+  if test -s conftest.err; then
18789
 
+    grep -v '^ *+' conftest.err >conftest.er1
18790
 
+    cat conftest.er1 >&5
18791
 
+    mv -f conftest.er1 conftest.err
18792
 
+  fi
18793
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18794
 
+  test $ac_status = 0; } && {
18795
 
+        test -z "$ac_cxx_werror_flag" ||
18796
 
+        test ! -s conftest.err
18797
 
+       } && test -s conftest.$ac_objext; then :
18798
 
+  ac_retval=0
18799
 
+else
18800
 
+  $as_echo "$as_me: failed program was:" >&5
18801
 
+sed 's/^/| /' conftest.$ac_ext >&5
18802
 
+
18803
 
+       ac_retval=1
18804
 
+fi
18805
 
+  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
18806
 
+  return $ac_retval
18807
 
+
18808
 
+} # ac_fn_cxx_try_compile
18809
 
+
18810
 
+# ac_fn_cxx_try_cpp LINENO
18811
 
+# ------------------------
18812
 
+# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
18813
 
+ac_fn_cxx_try_cpp ()
18814
 
+{
18815
 
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18816
 
+  if { { ac_try="$ac_cpp conftest.$ac_ext"
18817
 
+case "(($ac_try" in
18818
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18819
 
+  *) ac_try_echo=$ac_try;;
18820
 
+esac
18821
 
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18822
 
+$as_echo "$ac_try_echo"; } >&5
18823
 
+  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
18824
 
+  ac_status=$?
18825
 
+  if test -s conftest.err; then
18826
 
+    grep -v '^ *+' conftest.err >conftest.er1
18827
 
+    cat conftest.er1 >&5
18828
 
+    mv -f conftest.er1 conftest.err
18829
 
+  fi
18830
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18831
 
+  test $ac_status = 0; } >/dev/null && {
18832
 
+        test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
18833
 
+        test ! -s conftest.err
18834
 
+       }; then :
18835
 
+  ac_retval=0
18836
 
+else
18837
 
+  $as_echo "$as_me: failed program was:" >&5
18838
 
+sed 's/^/| /' conftest.$ac_ext >&5
18839
 
+
18840
 
+    ac_retval=1
18841
 
+fi
18842
 
+  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
18843
 
+  return $ac_retval
18844
 
+
18845
 
+} # ac_fn_cxx_try_cpp
18846
 
+
18847
 
+# ac_fn_cxx_try_link LINENO
18848
 
+# -------------------------
18849
 
+# Try to link conftest.$ac_ext, and return whether this succeeded.
18850
 
+ac_fn_cxx_try_link ()
18851
 
+{
18852
 
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18853
 
+  rm -f conftest.$ac_objext conftest$ac_exeext
18854
 
+  if { { ac_try="$ac_link"
18855
 
+case "(($ac_try" in
18856
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18857
 
+  *) ac_try_echo=$ac_try;;
18858
 
+esac
18859
 
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18860
 
+$as_echo "$ac_try_echo"; } >&5
18861
 
+  (eval "$ac_link") 2>conftest.err
18862
 
+  ac_status=$?
18863
 
+  if test -s conftest.err; then
18864
 
+    grep -v '^ *+' conftest.err >conftest.er1
18865
 
+    cat conftest.er1 >&5
18866
 
+    mv -f conftest.er1 conftest.err
18867
 
+  fi
18868
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18869
 
+  test $ac_status = 0; } && {
18870
 
+        test -z "$ac_cxx_werror_flag" ||
18871
 
+        test ! -s conftest.err
18872
 
+       } && test -s conftest$ac_exeext && {
18873
 
+        test "$cross_compiling" = yes ||
18874
 
+        $as_test_x conftest$ac_exeext
18875
 
+       }; then :
18876
 
+  ac_retval=0
18877
 
+else
18878
 
+  $as_echo "$as_me: failed program was:" >&5
18879
 
+sed 's/^/| /' conftest.$ac_ext >&5
18880
 
+
18881
 
+       ac_retval=1
18882
 
+fi
18883
 
+  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
18884
 
+  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
18885
 
+  # interfere with the next link command; also delete a directory that is
18886
 
+  # left behind by Apple's compiler.  We do this before executing the actions.
18887
 
+  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
18888
 
+  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
18889
 
+  return $ac_retval
18890
 
+
18891
 
+} # ac_fn_cxx_try_link
18892
 
+cat >config.log <<_ACEOF
18893
 
+This file contains any messages produced by compilers while
18894
 
+running configure, to aid debugging if configure makes a mistake.
18895
 
+
18896
 
+It was created by gnome-python-extras $as_me 2.25.3, which was
18897
 
+generated by GNU Autoconf 2.64.  Invocation command line was
18898
 
+
18899
 
+  $ $0 $@
18900
 
+
18901
 
+_ACEOF
18902
 
+exec 5>>config.log
18903
 
+{
18904
 
+cat <<_ASUNAME
18905
 
+## --------- ##
18906
 
+## Platform. ##
18907
 
+## --------- ##
18908
 
+
18909
 
+hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
18910
 
+uname -m = `(uname -m) 2>/dev/null || echo unknown`
18911
 
+uname -r = `(uname -r) 2>/dev/null || echo unknown`
18912
 
+uname -s = `(uname -s) 2>/dev/null || echo unknown`
18913
 
+uname -v = `(uname -v) 2>/dev/null || echo unknown`
18914
 
+
18915
 
+/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
18916
 
+/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
18917
 
+
18918
 
+/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
18919
 
+/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
18920
 
+/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
18921
 
 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
18922
 
 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
18923
 
 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
18924
 
@@ -1895,8 +2222,8 @@ for as_dir in $PATH
18925
 
 do
18926
 
   IFS=$as_save_IFS
18927
 
   test -z "$as_dir" && as_dir=.
18928
 
-  $as_echo "PATH: $as_dir"
18929
 
-done
18930
 
+    $as_echo "PATH: $as_dir"
18931
 
+  done
18932
 
 IFS=$as_save_IFS
18933
 
 
18934
 
 } >&5
18935
 
@@ -1933,9 +2260,9 @@ do
18936
 
       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
18937
 
     esac
18938
 
     case $ac_pass in
18939
 
-    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
18940
 
+    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
18941
 
     2)
18942
 
-      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
18943
 
+      as_fn_append ac_configure_args1 " '$ac_arg'"
18944
 
       if test $ac_must_keep_next = true; then
18945
 
        ac_must_keep_next=false # Got value, back to normal.
18946
 
       else
18947
 
@@ -1951,13 +2278,13 @@ do
18948
 
          -* ) ac_must_keep_next=true ;;
18949
 
        esac
18950
 
       fi
18951
 
-      ac_configure_args="$ac_configure_args '$ac_arg'"
18952
 
+      as_fn_append ac_configure_args " '$ac_arg'"
18953
 
       ;;
18954
 
     esac
18955
 
   done
18956
 
 done
18957
 
-$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
18958
 
-$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
18959
 
+{ ac_configure_args0=; unset ac_configure_args0;}
18960
 
+{ ac_configure_args1=; unset ac_configure_args1;}
18961
 
 
18962
 
 # When interrupted or exit'd, cleanup temporary files, and complete
18963
 
 # config.log.  We remove comments because anyway the quotes in there
18964
 
@@ -1982,13 +2309,13 @@ _ASBOX
18965
 
     case $ac_val in #(
18966
 
     *${as_nl}*)
18967
 
       case $ac_var in #(
18968
 
-      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
18969
 
-$as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
18970
 
+      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18971
 
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18972
 
       esac
18973
 
       case $ac_var in #(
18974
 
       _ | IFS | as_nl) ;; #(
18975
 
       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18976
 
-      *) $as_unset $ac_var ;;
18977
 
+      *) { eval $ac_var=; unset $ac_var;} ;;
18978
 
       esac ;;
18979
 
     esac
18980
 
   done
18981
 
@@ -2060,39 +2387,41 @@ _ASBOX
18982
 
     exit $exit_status
18983
 
 ' 0
18984
 
 for ac_signal in 1 2 13 15; do
18985
 
-  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
18986
 
+  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
18987
 
 done
18988
 
 ac_signal=0
18989
 
 
18990
 
 # confdefs.h avoids OS command line length limits that DEFS can exceed.
18991
 
 rm -f -r conftest* confdefs.h
18992
 
 
18993
 
+$as_echo "/* confdefs.h */" > confdefs.h
18994
 
+
18995
 
 # Predefined preprocessor variables.
18996
 
 
18997
 
 cat >>confdefs.h <<_ACEOF
18998
 
 #define PACKAGE_NAME "$PACKAGE_NAME"
18999
 
 _ACEOF
19000
 
 
19001
 
-
19002
 
 cat >>confdefs.h <<_ACEOF
19003
 
 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
19004
 
 _ACEOF
19005
 
 
19006
 
-
19007
 
 cat >>confdefs.h <<_ACEOF
19008
 
 #define PACKAGE_VERSION "$PACKAGE_VERSION"
19009
 
 _ACEOF
19010
 
 
19011
 
-
19012
 
 cat >>confdefs.h <<_ACEOF
19013
 
 #define PACKAGE_STRING "$PACKAGE_STRING"
19014
 
 _ACEOF
19015
 
 
19016
 
-
19017
 
 cat >>confdefs.h <<_ACEOF
19018
 
 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
19019
 
 _ACEOF
19020
 
 
19021
 
+cat >>confdefs.h <<_ACEOF
19022
 
+#define PACKAGE_URL "$PACKAGE_URL"
19023
 
+_ACEOF
19024
 
+
19025
 
 
19026
 
 # Let the site file select an alternate cache file if it wants to.
19027
 
 # Prefer an explicitly selected file to automatically selected ones.
19028
 
@@ -2111,7 +2440,7 @@ for ac_site_file in "$ac_site_file1" "$a
19029
 
 do
19030
 
   test "x$ac_site_file" = xNONE && continue
19031
 
   if test -r "$ac_site_file"; then
19032
 
-    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
19033
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
19034
 
 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
19035
 
     sed 's/^/| /' "$ac_site_file" >&5
19036
 
     . "$ac_site_file"
19037
 
@@ -2122,7 +2451,7 @@ if test -r "$cache_file"; then
19038
 
   # Some versions of bash will fail to source /dev/null (special
19039
 
   # files actually), so we avoid doing that.
19040
 
   if test -f "$cache_file"; then
19041
 
-    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
19042
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
19043
 
 $as_echo "$as_me: loading cache $cache_file" >&6;}
19044
 
     case $cache_file in
19045
 
       [\\/]* | ?:[\\/]* ) . "$cache_file";;
19046
 
@@ -2130,7 +2459,7 @@ $as_echo "$as_me: loading cache $cache_f
19047
 
     esac
19048
 
   fi
19049
 
 else
19050
 
-  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
19051
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
19052
 
 $as_echo "$as_me: creating cache $cache_file" >&6;}
19053
 
   >$cache_file
19054
 
 fi
19055
 
@@ -2145,11 +2474,11 @@ for ac_var in $ac_precious_vars; do
19056
 
   eval ac_new_val=\$ac_env_${ac_var}_value
19057
 
   case $ac_old_set,$ac_new_set in
19058
 
     set,)
19059
 
-      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
19060
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
19061
 
 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
19062
 
       ac_cache_corrupted=: ;;
19063
 
     ,set)
19064
 
-      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
19065
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
19066
 
 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
19067
 
       ac_cache_corrupted=: ;;
19068
 
     ,);;
19069
 
@@ -2159,17 +2488,17 @@ $as_echo "$as_me: error: \`$ac_var' was 
19070
 
        ac_old_val_w=`echo x $ac_old_val`
19071
 
        ac_new_val_w=`echo x $ac_new_val`
19072
 
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
19073
 
-         { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
19074
 
+         { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
19075
 
 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
19076
 
          ac_cache_corrupted=:
19077
 
        else
19078
 
-         { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
19079
 
+         { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
19080
 
 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
19081
 
          eval $ac_var=\$ac_old_val
19082
 
        fi
19083
 
-       { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
19084
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
19085
 
 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
19086
 
-       { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
19087
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
19088
 
 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
19089
 
       fi;;
19090
 
   esac
19091
 
@@ -2181,41 +2510,20 @@ $as_echo "$as_me:   current value: \`$ac
19092
 
     esac
19093
 
     case " $ac_configure_args " in
19094
 
       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
19095
 
-      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
19096
 
+      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
19097
 
     esac
19098
 
   fi
19099
 
 done
19100
 
 if $ac_cache_corrupted; then
19101
 
-  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
19102
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19103
 
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19104
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
19105
 
 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
19106
 
-  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
19107
 
-$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
19108
 
-   { (exit 1); exit 1; }; }
19109
 
+  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
19110
 
 fi
19111
 
-
19112
 
-
19113
 
-
19114
 
-
19115
 
-
19116
 
-
19117
 
-
19118
 
-
19119
 
-
19120
 
-
19121
 
-
19122
 
-
19123
 
-
19124
 
-
19125
 
-
19126
 
-
19127
 
-
19128
 
-
19129
 
-
19130
 
-
19131
 
-
19132
 
-
19133
 
-
19134
 
-
19135
 
+## -------------------- ##
19136
 
+## Main body of script. ##
19137
 
+## -------------------- ##
19138
 
 
19139
 
 ac_ext=c
19140
 
 ac_cpp='$CPP $CPPFLAGS'
19141
 
@@ -2227,28 +2535,20 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
19142
 
 ac_config_headers="$ac_config_headers config.h"
19143
 
 
19144
 
 
19145
 
-am__api_version='1.10'
19146
 
+am__api_version='1.11'
19147
 
 
19148
 
 ac_aux_dir=
19149
 
 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
19150
 
-  if test -f "$ac_dir/install-sh"; then
19151
 
-    ac_aux_dir=$ac_dir
19152
 
-    ac_install_sh="$ac_aux_dir/install-sh -c"
19153
 
-    break
19154
 
-  elif test -f "$ac_dir/install.sh"; then
19155
 
-    ac_aux_dir=$ac_dir
19156
 
-    ac_install_sh="$ac_aux_dir/install.sh -c"
19157
 
-    break
19158
 
-  elif test -f "$ac_dir/shtool"; then
19159
 
-    ac_aux_dir=$ac_dir
19160
 
-    ac_install_sh="$ac_aux_dir/shtool install -c"
19161
 
-    break
19162
 
-  fi
19163
 
+  for ac_t in install-sh install.sh shtool; do
19164
 
+    if test -f "$ac_dir/$ac_t"; then
19165
 
+      ac_aux_dir=$ac_dir
19166
 
+      ac_install_sh="$ac_aux_dir/$ac_t -c"
19167
 
+      break 2
19168
 
+    fi
19169
 
+  done
19170
 
 done
19171
 
 if test -z "$ac_aux_dir"; then
19172
 
-  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
19173
 
-$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
19174
 
-   { (exit 1); exit 1; }; }
19175
 
+  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
19176
 
 fi
19177
 
 
19178
 
 # These three variables are undocumented and unsupported,
19179
 
@@ -2274,10 +2574,10 @@ ac_configure="$SHELL $ac_aux_dir/configu
19180
 
 # OS/2's system install, which has a completely different semantic
19181
 
 # ./install, which can be erroneously created by make from ./install.sh.
19182
 
 # Reject install programs that cannot install multiple files.
19183
 
-{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
19184
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
19185
 
 $as_echo_n "checking for a BSD-compatible install... " >&6; }
19186
 
 if test -z "$INSTALL"; then
19187
 
-if test "${ac_cv_path_install+set}" = set; then
19188
 
+if test "${ac_cv_path_install+set}" = set; then :
19189
 
   $as_echo_n "(cached) " >&6
19190
 
 else
19191
 
   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19192
 
@@ -2285,11 +2585,11 @@ for as_dir in $PATH
19193
 
 do
19194
 
   IFS=$as_save_IFS
19195
 
   test -z "$as_dir" && as_dir=.
19196
 
-  # Account for people who put trailing slashes in PATH elements.
19197
 
-case $as_dir/ in
19198
 
-  ./ | .// | /cC/* | \
19199
 
+    # Account for people who put trailing slashes in PATH elements.
19200
 
+case $as_dir/ in #((
19201
 
+  ./ | .// | /[cC]/* | \
19202
 
   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
19203
 
-  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
19204
 
+  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
19205
 
   /usr/ucb/* ) ;;
19206
 
   *)
19207
 
     # OSF1 and SCO ODT 3.0 have their own names for install.
19208
 
@@ -2326,7 +2626,7 @@ case $as_dir/ in
19209
 
     ;;
19210
 
 esac
19211
 
 
19212
 
-done
19213
 
+  done
19214
 
 IFS=$as_save_IFS
19215
 
 
19216
 
 rm -rf conftest.one conftest.two conftest.dir
19217
 
@@ -2342,7 +2642,7 @@ fi
19218
 
     INSTALL=$ac_install_sh
19219
 
   fi
19220
 
 fi
19221
 
-{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
19222
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
19223
 
 $as_echo "$INSTALL" >&6; }
19224
 
 
19225
 
 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
19226
 
@@ -2353,21 +2653,34 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCR
19227
 
 
19228
 
 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
19229
 
 
19230
 
-{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
19231
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
19232
 
 $as_echo_n "checking whether build environment is sane... " >&6; }
19233
 
 # Just in case
19234
 
 sleep 1
19235
 
 echo timestamp > conftest.file
19236
 
+# Reject unsafe characters in $srcdir or the absolute working directory
19237
 
+# name.  Accept space and tab only in the latter.
19238
 
+am_lf='
19239
 
+'
19240
 
+case `pwd` in
19241
 
+  *[\\\"\#\$\&\'\`$am_lf]*)
19242
 
+    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
19243
 
+esac
19244
 
+case $srcdir in
19245
 
+  *[\\\"\#\$\&\'\`$am_lf\ \    ]*)
19246
 
+    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
19247
 
+esac
19248
 
+
19249
 
 # Do `set' in a subshell so we don't clobber the current shell's
19250
 
 # arguments.  Must try -L first in case configure is actually a
19251
 
 # symlink; some systems play weird games with the mod time of symlinks
19252
 
 # (eg FreeBSD returns the mod time of the symlink's containing
19253
 
 # directory).
19254
 
 if (
19255
 
-   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
19256
 
+   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
19257
 
    if test "$*" = "X"; then
19258
 
       # -L didn't work.
19259
 
-      set X `ls -t $srcdir/configure conftest.file`
19260
 
+      set X `ls -t "$srcdir/configure" conftest.file`
19261
 
    fi
19262
 
    rm -f conftest.file
19263
 
    if test "$*" != "X $srcdir/configure conftest.file" \
19264
 
@@ -2377,11 +2690,8 @@ if (
19265
 
       # if, for instance, CONFIG_SHELL is bash and it inherits a
19266
 
       # broken ls alias from the environment.  This has actually
19267
 
       # happened.  Such a system could not be considered "sane".
19268
 
-      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
19269
 
-alias in your environment" >&5
19270
 
-$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
19271
 
-alias in your environment" >&2;}
19272
 
-   { (exit 1); exit 1; }; }
19273
 
+      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
19274
 
+alias in your environment" "$LINENO" 5
19275
 
    fi
19276
 
 
19277
 
    test "$2" = conftest.file
19278
 
@@ -2390,13 +2700,10 @@ then
19279
 
    # Ok.
19280
 
    :
19281
 
 else
19282
 
-   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
19283
 
-Check your system clock" >&5
19284
 
-$as_echo "$as_me: error: newly created file is older than distributed files!
19285
 
-Check your system clock" >&2;}
19286
 
-   { (exit 1); exit 1; }; }
19287
 
+   as_fn_error "newly created file is older than distributed files!
19288
 
+Check your system clock" "$LINENO" 5
19289
 
 fi
19290
 
-{ $as_echo "$as_me:$LINENO: result: yes" >&5
19291
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19292
 
 $as_echo "yes" >&6; }
19293
 
 test "$program_prefix" != NONE &&
19294
 
   program_transform_name="s&^&$program_prefix&;$program_transform_name"
19295
 
@@ -2411,61 +2718,177 @@ program_transform_name=`$as_echo "$progr
19296
 
 # expand $ac_aux_dir to an absolute path
19297
 
 am_aux_dir=`cd $ac_aux_dir && pwd`
19298
 
 
19299
 
-test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
19300
 
+if test x"${MISSING+set}" != xset; then
19301
 
+  case $am_aux_dir in
19302
 
+  *\ * | *\    *)
19303
 
+    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
19304
 
+  *)
19305
 
+    MISSING="\${SHELL} $am_aux_dir/missing" ;;
19306
 
+  esac
19307
 
+fi
19308
 
 # Use eval to expand $SHELL
19309
 
 if eval "$MISSING --run true"; then
19310
 
   am_missing_run="$MISSING --run "
19311
 
 else
19312
 
   am_missing_run=
19313
 
-  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
19314
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
19315
 
 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
19316
 
 fi
19317
 
 
19318
 
-{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
19319
 
-$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
19320
 
-if test -z "$MKDIR_P"; then
19321
 
-  if test "${ac_cv_path_mkdir+set}" = set; then
19322
 
+if test x"${install_sh}" != xset; then
19323
 
+  case $am_aux_dir in
19324
 
+  *\ * | *\    *)
19325
 
+    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
19326
 
+  *)
19327
 
+    install_sh="\${SHELL} $am_aux_dir/install-sh"
19328
 
+  esac
19329
 
+fi
19330
 
+
19331
 
+# Installed binaries are usually stripped using `strip' when the user
19332
 
+# run `make install-strip'.  However `strip' might not be the right
19333
 
+# tool to use in cross-compilation environments, therefore Automake
19334
 
+# will honor the `STRIP' environment variable to overrule this program.
19335
 
+if test "$cross_compiling" != no; then
19336
 
+  if test -n "$ac_tool_prefix"; then
19337
 
+  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
19338
 
+set dummy ${ac_tool_prefix}strip; ac_word=$2
19339
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19340
 
+$as_echo_n "checking for $ac_word... " >&6; }
19341
 
+if test "${ac_cv_prog_STRIP+set}" = set; then :
19342
 
   $as_echo_n "(cached) " >&6
19343
 
 else
19344
 
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19345
 
-for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
19346
 
+  if test -n "$STRIP"; then
19347
 
+  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
19348
 
+else
19349
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19350
 
+for as_dir in $PATH
19351
 
 do
19352
 
   IFS=$as_save_IFS
19353
 
   test -z "$as_dir" && as_dir=.
19354
 
-  for ac_prog in mkdir gmkdir; do
19355
 
-        for ac_exec_ext in '' $ac_executable_extensions; do
19356
 
-          { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
19357
 
-          case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
19358
 
-            'mkdir (GNU coreutils) '* | \
19359
 
-            'mkdir (coreutils) '* | \
19360
 
-            'mkdir (fileutils) '4.1*)
19361
 
-              ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
19362
 
-              break 3;;
19363
 
-          esac
19364
 
-        done
19365
 
-       done
19366
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
19367
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19368
 
+    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
19369
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19370
 
+    break 2
19371
 
+  fi
19372
 
 done
19373
 
+  done
19374
 
 IFS=$as_save_IFS
19375
 
 
19376
 
 fi
19377
 
-
19378
 
-  if test "${ac_cv_path_mkdir+set}" = set; then
19379
 
-    MKDIR_P="$ac_cv_path_mkdir -p"
19380
 
-  else
19381
 
-    # As a last resort, use the slow shell script.  Don't cache a
19382
 
-    # value for MKDIR_P within a source directory, because that will
19383
 
-    # break other packages using the cache if that directory is
19384
 
-    # removed, or if the value is a relative name.
19385
 
-    test -d ./--version && rmdir ./--version
19386
 
-    MKDIR_P="$ac_install_sh -d"
19387
 
-  fi
19388
 
 fi
19389
 
-{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
19390
 
-$as_echo "$MKDIR_P" >&6; }
19391
 
-
19392
 
-mkdir_p="$MKDIR_P"
19393
 
-case $mkdir_p in
19394
 
-  [\\/$]* | ?:[\\/]*) ;;
19395
 
+STRIP=$ac_cv_prog_STRIP
19396
 
+if test -n "$STRIP"; then
19397
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
19398
 
+$as_echo "$STRIP" >&6; }
19399
 
+else
19400
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19401
 
+$as_echo "no" >&6; }
19402
 
+fi
19403
 
+
19404
 
+
19405
 
+fi
19406
 
+if test -z "$ac_cv_prog_STRIP"; then
19407
 
+  ac_ct_STRIP=$STRIP
19408
 
+  # Extract the first word of "strip", so it can be a program name with args.
19409
 
+set dummy strip; ac_word=$2
19410
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19411
 
+$as_echo_n "checking for $ac_word... " >&6; }
19412
 
+if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
19413
 
+  $as_echo_n "(cached) " >&6
19414
 
+else
19415
 
+  if test -n "$ac_ct_STRIP"; then
19416
 
+  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
19417
 
+else
19418
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19419
 
+for as_dir in $PATH
19420
 
+do
19421
 
+  IFS=$as_save_IFS
19422
 
+  test -z "$as_dir" && as_dir=.
19423
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
19424
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19425
 
+    ac_cv_prog_ac_ct_STRIP="strip"
19426
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19427
 
+    break 2
19428
 
+  fi
19429
 
+done
19430
 
+  done
19431
 
+IFS=$as_save_IFS
19432
 
+
19433
 
+fi
19434
 
+fi
19435
 
+ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
19436
 
+if test -n "$ac_ct_STRIP"; then
19437
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
19438
 
+$as_echo "$ac_ct_STRIP" >&6; }
19439
 
+else
19440
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19441
 
+$as_echo "no" >&6; }
19442
 
+fi
19443
 
+
19444
 
+  if test "x$ac_ct_STRIP" = x; then
19445
 
+    STRIP=":"
19446
 
+  else
19447
 
+    case $cross_compiling:$ac_tool_warned in
19448
 
+yes:)
19449
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19450
 
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19451
 
+ac_tool_warned=yes ;;
19452
 
+esac
19453
 
+    STRIP=$ac_ct_STRIP
19454
 
+  fi
19455
 
+else
19456
 
+  STRIP="$ac_cv_prog_STRIP"
19457
 
+fi
19458
 
+
19459
 
+fi
19460
 
+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
19461
 
+
19462
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
19463
 
+$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
19464
 
+if test -z "$MKDIR_P"; then
19465
 
+  if test "${ac_cv_path_mkdir+set}" = set; then :
19466
 
+  $as_echo_n "(cached) " >&6
19467
 
+else
19468
 
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19469
 
+for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
19470
 
+do
19471
 
+  IFS=$as_save_IFS
19472
 
+  test -z "$as_dir" && as_dir=.
19473
 
+    for ac_prog in mkdir gmkdir; do
19474
 
+        for ac_exec_ext in '' $ac_executable_extensions; do
19475
 
+          { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
19476
 
+          case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
19477
 
+            'mkdir (GNU coreutils) '* | \
19478
 
+            'mkdir (coreutils) '* | \
19479
 
+            'mkdir (fileutils) '4.1*)
19480
 
+              ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
19481
 
+              break 3;;
19482
 
+          esac
19483
 
+        done
19484
 
+       done
19485
 
+  done
19486
 
+IFS=$as_save_IFS
19487
 
+
19488
 
+fi
19489
 
+
19490
 
+  if test "${ac_cv_path_mkdir+set}" = set; then
19491
 
+    MKDIR_P="$ac_cv_path_mkdir -p"
19492
 
+  else
19493
 
+    # As a last resort, use the slow shell script.  Don't cache a
19494
 
+    # value for MKDIR_P within a source directory, because that will
19495
 
+    # break other packages using the cache if that directory is
19496
 
+    # removed, or if the value is a relative name.
19497
 
+    test -d ./--version && rmdir ./--version
19498
 
+    MKDIR_P="$ac_install_sh -d"
19499
 
+  fi
19500
 
+fi
19501
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
19502
 
+$as_echo "$MKDIR_P" >&6; }
19503
 
+
19504
 
+mkdir_p="$MKDIR_P"
19505
 
+case $mkdir_p in
19506
 
+  [\\/$]* | ?:[\\/]*) ;;
19507
 
   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
19508
 
 esac
19509
 
 
19510
 
@@ -2473,9 +2896,9 @@ for ac_prog in gawk mawk nawk awk
19511
 
 do
19512
 
   # Extract the first word of "$ac_prog", so it can be a program name with args.
19513
 
 set dummy $ac_prog; ac_word=$2
19514
 
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
19515
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19516
 
 $as_echo_n "checking for $ac_word... " >&6; }
19517
 
-if test "${ac_cv_prog_AWK+set}" = set; then
19518
 
+if test "${ac_cv_prog_AWK+set}" = set; then :
19519
 
   $as_echo_n "(cached) " >&6
19520
 
 else
19521
 
   if test -n "$AWK"; then
19522
 
@@ -2486,24 +2909,24 @@ for as_dir in $PATH
19523
 
 do
19524
 
   IFS=$as_save_IFS
19525
 
   test -z "$as_dir" && as_dir=.
19526
 
-  for ac_exec_ext in '' $ac_executable_extensions; do
19527
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
19528
 
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19529
 
     ac_cv_prog_AWK="$ac_prog"
19530
 
-    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19531
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19532
 
     break 2
19533
 
   fi
19534
 
 done
19535
 
-done
19536
 
+  done
19537
 
 IFS=$as_save_IFS
19538
 
 
19539
 
 fi
19540
 
 fi
19541
 
 AWK=$ac_cv_prog_AWK
19542
 
 if test -n "$AWK"; then
19543
 
-  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
19544
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
19545
 
 $as_echo "$AWK" >&6; }
19546
 
 else
19547
 
-  { $as_echo "$as_me:$LINENO: result: no" >&5
19548
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19549
 
 $as_echo "no" >&6; }
19550
 
 fi
19551
 
 
19552
 
@@ -2511,11 +2934,11 @@ fi
19553
 
   test -n "$AWK" && break
19554
 
 done
19555
 
 
19556
 
-{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
19557
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
19558
 
 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
19559
 
 set x ${MAKE-make}
19560
 
 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
19561
 
-if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
19562
 
+if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
19563
 
   $as_echo_n "(cached) " >&6
19564
 
 else
19565
 
   cat >conftest.make <<\_ACEOF
19566
 
@@ -2533,11 +2956,11 @@ esac
19567
 
 rm -f conftest.make
19568
 
 fi
19569
 
 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
19570
 
-  { $as_echo "$as_me:$LINENO: result: yes" >&5
19571
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19572
 
 $as_echo "yes" >&6; }
19573
 
   SET_MAKE=
19574
 
 else
19575
 
-  { $as_echo "$as_me:$LINENO: result: no" >&5
19576
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19577
 
 $as_echo "no" >&6; }
19578
 
   SET_MAKE="MAKE=${MAKE-make}"
19579
 
 fi
19580
 
@@ -2557,9 +2980,7 @@ if test "`cd $srcdir && pwd`" != "`pwd`"
19581
 
   am__isrc=' -I$(srcdir)'
19582
 
   # test to see if srcdir already configured
19583
 
   if test -f $srcdir/config.status; then
19584
 
-    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
19585
 
-$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
19586
 
-   { (exit 1); exit 1; }; }
19587
 
+    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
19588
 
   fi
19589
 
 fi
19590
 
 
19591
 
@@ -2603,139 +3024,50 @@ AUTOHEADER=${AUTOHEADER-"${am_missing_ru
19592
 
 
19593
 
 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
19594
 
 
19595
 
-install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
19596
 
+# We need awk for the "check" target.  The system "awk" is bad on
19597
 
+# some platforms.
19598
 
+# Always define AMTAR for backward compatibility.
19599
 
 
19600
 
-# Installed binaries are usually stripped using `strip' when the user
19601
 
-# run `make install-strip'.  However `strip' might not be the right
19602
 
-# tool to use in cross-compilation environments, therefore Automake
19603
 
-# will honor the `STRIP' environment variable to overrule this program.
19604
 
-if test "$cross_compiling" != no; then
19605
 
-  if test -n "$ac_tool_prefix"; then
19606
 
-  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
19607
 
-set dummy ${ac_tool_prefix}strip; ac_word=$2
19608
 
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
19609
 
-$as_echo_n "checking for $ac_word... " >&6; }
19610
 
-if test "${ac_cv_prog_STRIP+set}" = set; then
19611
 
-  $as_echo_n "(cached) " >&6
19612
 
-else
19613
 
-  if test -n "$STRIP"; then
19614
 
-  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
19615
 
-else
19616
 
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19617
 
-for as_dir in $PATH
19618
 
-do
19619
 
-  IFS=$as_save_IFS
19620
 
-  test -z "$as_dir" && as_dir=.
19621
 
-  for ac_exec_ext in '' $ac_executable_extensions; do
19622
 
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19623
 
-    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
19624
 
-    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19625
 
-    break 2
19626
 
-  fi
19627
 
-done
19628
 
-done
19629
 
-IFS=$as_save_IFS
19630
 
+AMTAR=${AMTAR-"${am_missing_run}tar"}
19631
 
 
19632
 
-fi
19633
 
-fi
19634
 
-STRIP=$ac_cv_prog_STRIP
19635
 
-if test -n "$STRIP"; then
19636
 
-  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
19637
 
-$as_echo "$STRIP" >&6; }
19638
 
-else
19639
 
-  { $as_echo "$as_me:$LINENO: result: no" >&5
19640
 
-$as_echo "no" >&6; }
19641
 
-fi
19642
 
+am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
19643
 
 
19644
 
 
19645
 
-fi
19646
 
-if test -z "$ac_cv_prog_STRIP"; then
19647
 
-  ac_ct_STRIP=$STRIP
19648
 
-  # Extract the first word of "strip", so it can be a program name with args.
19649
 
-set dummy strip; ac_word=$2
19650
 
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
19651
 
-$as_echo_n "checking for $ac_word... " >&6; }
19652
 
-if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
19653
 
-  $as_echo_n "(cached) " >&6
19654
 
-else
19655
 
-  if test -n "$ac_ct_STRIP"; then
19656
 
-  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
19657
 
-else
19658
 
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19659
 
-for as_dir in $PATH
19660
 
-do
19661
 
-  IFS=$as_save_IFS
19662
 
-  test -z "$as_dir" && as_dir=.
19663
 
-  for ac_exec_ext in '' $ac_executable_extensions; do
19664
 
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19665
 
-    ac_cv_prog_ac_ct_STRIP="strip"
19666
 
-    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19667
 
-    break 2
19668
 
-  fi
19669
 
-done
19670
 
-done
19671
 
-IFS=$as_save_IFS
19672
 
 
19673
 
-fi
19674
 
-fi
19675
 
-ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
19676
 
-if test -n "$ac_ct_STRIP"; then
19677
 
-  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
19678
 
-$as_echo "$ac_ct_STRIP" >&6; }
19679
 
-else
19680
 
-  { $as_echo "$as_me:$LINENO: result: no" >&5
19681
 
-$as_echo "no" >&6; }
19682
 
-fi
19683
 
 
19684
 
-  if test "x$ac_ct_STRIP" = x; then
19685
 
-    STRIP=":"
19686
 
-  else
19687
 
-    case $cross_compiling:$ac_tool_warned in
19688
 
-yes:)
19689
 
-{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19690
 
-whose name does not start with the host triplet.  If you think this
19691
 
-configuration is useful to you, please write to autoconf@gnu.org." >&5
19692
 
-$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19693
 
-whose name does not start with the host triplet.  If you think this
19694
 
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19695
 
-ac_tool_warned=yes ;;
19696
 
-esac
19697
 
-    STRIP=$ac_ct_STRIP
19698
 
-  fi
19699
 
+
19700
 
+
19701
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
19702
 
+$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
19703
 
+    # Check whether --enable-maintainer-mode was given.
19704
 
+if test "${enable_maintainer_mode+set}" = set; then :
19705
 
+  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
19706
 
 else
19707
 
-  STRIP="$ac_cv_prog_STRIP"
19708
 
+  USE_MAINTAINER_MODE=no
19709
 
 fi
19710
 
 
19711
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
19712
 
+$as_echo "$USE_MAINTAINER_MODE" >&6; }
19713
 
+   if test $USE_MAINTAINER_MODE = yes; then
19714
 
+  MAINTAINER_MODE_TRUE=
19715
 
+  MAINTAINER_MODE_FALSE='#'
19716
 
+else
19717
 
+  MAINTAINER_MODE_TRUE='#'
19718
 
+  MAINTAINER_MODE_FALSE=
19719
 
 fi
19720
 
-INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
19721
 
-
19722
 
-# We need awk for the "check" target.  The system "awk" is bad on
19723
 
-# some platforms.
19724
 
-# Always define AMTAR for backward compatibility.
19725
 
-
19726
 
-AMTAR=${AMTAR-"${am_missing_run}tar"}
19727
 
-
19728
 
-am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
19729
 
-
19730
 
-
19731
 
 
19732
 
+  MAINT=$MAINTAINER_MODE_TRUE
19733
 
 
19734
 
 
19735
 
 
19736
 
 
19737
 
-cat >>confdefs.h <<\_ACEOF
19738
 
-#define GNOME_PYTHON_EXTRAS_MAJOR_VERSION 2
19739
 
-_ACEOF
19740
 
+$as_echo "#define GNOME_PYTHON_EXTRAS_MAJOR_VERSION 2" >>confdefs.h
19741
 
 
19742
 
 
19743
 
-cat >>confdefs.h <<\_ACEOF
19744
 
-#define GNOME_PYTHON_EXTRAS_MINOR_VERSION 25
19745
 
-_ACEOF
19746
 
+$as_echo "#define GNOME_PYTHON_EXTRAS_MINOR_VERSION 25" >>confdefs.h
19747
 
 
19748
 
 
19749
 
-cat >>confdefs.h <<\_ACEOF
19750
 
-#define GNOME_PYTHON_EXTRAS_MICRO_VERSION 3
19751
 
-_ACEOF
19752
 
+$as_echo "#define GNOME_PYTHON_EXTRAS_MICRO_VERSION 3" >>confdefs.h
19753
 
 
19754
 
 
19755
 
 
19756
 
@@ -2752,35 +3084,27 @@ _ACEOF
19757
 
 
19758
 
 # Make sure we can run config.sub.
19759
 
 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
19760
 
-  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
19761
 
-$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
19762
 
-   { (exit 1); exit 1; }; }
19763
 
+  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
19764
 
 
19765
 
-{ $as_echo "$as_me:$LINENO: checking build system type" >&5
19766
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
19767
 
 $as_echo_n "checking build system type... " >&6; }
19768
 
-if test "${ac_cv_build+set}" = set; then
19769
 
+if test "${ac_cv_build+set}" = set; then :
19770
 
   $as_echo_n "(cached) " >&6
19771
 
 else
19772
 
   ac_build_alias=$build_alias
19773
 
 test "x$ac_build_alias" = x &&
19774
 
   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
19775
 
 test "x$ac_build_alias" = x &&
19776
 
-  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
19777
 
-$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
19778
 
-   { (exit 1); exit 1; }; }
19779
 
+  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
19780
 
 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
19781
 
-  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
19782
 
-$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
19783
 
-   { (exit 1); exit 1; }; }
19784
 
+  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
19785
 
 
19786
 
 fi
19787
 
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
19788
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
19789
 
 $as_echo "$ac_cv_build" >&6; }
19790
 
 case $ac_cv_build in
19791
 
 *-*-*) ;;
19792
 
-*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
19793
 
-$as_echo "$as_me: error: invalid value of canonical build" >&2;}
19794
 
-   { (exit 1); exit 1; }; };;
19795
 
+*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
19796
 
 esac
19797
 
 build=$ac_cv_build
19798
 
 ac_save_IFS=$IFS; IFS='-'
19799
 
@@ -2796,28 +3120,24 @@ IFS=$ac_save_IFS
19800
 
 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
19801
 
 
19802
 
 
19803
 
-{ $as_echo "$as_me:$LINENO: checking host system type" >&5
19804
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
19805
 
 $as_echo_n "checking host system type... " >&6; }
19806
 
-if test "${ac_cv_host+set}" = set; then
19807
 
+if test "${ac_cv_host+set}" = set; then :
19808
 
   $as_echo_n "(cached) " >&6
19809
 
 else
19810
 
   if test "x$host_alias" = x; then
19811
 
   ac_cv_host=$ac_cv_build
19812
 
 else
19813
 
   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
19814
 
-    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
19815
 
-$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
19816
 
-   { (exit 1); exit 1; }; }
19817
 
+    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
19818
 
 fi
19819
 
 
19820
 
 fi
19821
 
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
19822
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
19823
 
 $as_echo "$ac_cv_host" >&6; }
19824
 
 case $ac_cv_host in
19825
 
 *-*-*) ;;
19826
 
-*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
19827
 
-$as_echo "$as_me: error: invalid value of canonical host" >&2;}
19828
 
-   { (exit 1); exit 1; }; };;
19829
 
+*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
19830
 
 esac
19831
 
 host=$ac_cv_host
19832
 
 ac_save_IFS=$IFS; IFS='-'
19833
 
@@ -2834,7 +3154,7 @@ case $host_os in *\ *) host_os=`echo "$h
19834
 
 
19835
 
 
19836
 
 
19837
 
-{ $as_echo "$as_me:$LINENO: checking for some Win32 platform" >&5
19838
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for some Win32 platform" >&5
19839
 
 $as_echo_n "checking for some Win32 platform... " >&6; }
19840
 
 case "$host" in
19841
 
   *-*-mingw*|*-*-cygwin*)
19842
 
@@ -2844,7 +3164,7 @@ case "$host" in
19843
 
     platform_win32=no
19844
 
     ;;
19845
 
 esac
19846
 
-{ $as_echo "$as_me:$LINENO: result: $platform_win32" >&5
19847
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $platform_win32" >&5
19848
 
 $as_echo "$platform_win32" >&6; }
19849
 
  if test "$platform_win32" = "yes"; then
19850
 
   PLATFORM_WIN32_TRUE=
19851
 
@@ -2855,7 +3175,7 @@ else
19852
 
 fi
19853
 
 
19854
 
 
19855
 
-{ $as_echo "$as_me:$LINENO: checking for native Win32" >&5
19856
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for native Win32" >&5
19857
 
 $as_echo_n "checking for native Win32... " >&6; }
19858
 
 case "$host" in
19859
 
   *-*-mingw*)
19860
 
@@ -2865,7 +3185,7 @@ case "$host" in
19861
 
     os_win32=no
19862
 
     ;;
19863
 
 esac
19864
 
-{ $as_echo "$as_me:$LINENO: result: $os_win32" >&5
19865
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $os_win32" >&5
19866
 
 $as_echo "$os_win32" >&6; }
19867
 
  if test "$os_win32" = "yes"; then
19868
 
   OS_WIN32_TRUE=
19869
 
@@ -2877,7 +3197,7 @@ fi
19870
 
 
19871
 
 
19872
 
 # Check whether --enable-static was given.
19873
 
-if test "${enable_static+set}" = set; then
19874
 
+if test "${enable_static+set}" = set; then :
19875
 
   enableval=$enable_static; p=${PACKAGE-default}
19876
 
     case $enableval in
19877
 
     yes) enable_static=yes ;;
19878
 
@@ -2903,4302 +3223,2449 @@ fi
19879
 
 
19880
 
 
19881
 
 
19882
 
-# Check whether --enable-shared was given.
19883
 
-if test "${enable_shared+set}" = set; then
19884
 
-  enableval=$enable_shared; p=${PACKAGE-default}
19885
 
-    case $enableval in
19886
 
-    yes) enable_shared=yes ;;
19887
 
-    no) enable_shared=no ;;
19888
 
-    *)
19889
 
-      enable_shared=no
19890
 
-      # Look at the argument we got.  We use all the common list separators.
19891
 
-      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
19892
 
-      for pkg in $enableval; do
19893
 
-       IFS="$lt_save_ifs"
19894
 
-       if test "X$pkg" = "X$p"; then
19895
 
-         enable_shared=yes
19896
 
-       fi
19897
 
-      done
19898
 
-      IFS="$lt_save_ifs"
19899
 
-      ;;
19900
 
-    esac
19901
 
-else
19902
 
-  enable_shared=yes
19903
 
-fi
19904
 
-
19905
 
-
19906
 
-# Check whether --enable-fast-install was given.
19907
 
-if test "${enable_fast_install+set}" = set; then
19908
 
-  enableval=$enable_fast_install; p=${PACKAGE-default}
19909
 
-    case $enableval in
19910
 
-    yes) enable_fast_install=yes ;;
19911
 
-    no) enable_fast_install=no ;;
19912
 
-    *)
19913
 
-      enable_fast_install=no
19914
 
-      # Look at the argument we got.  We use all the common list separators.
19915
 
-      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
19916
 
-      for pkg in $enableval; do
19917
 
-       IFS="$lt_save_ifs"
19918
 
-       if test "X$pkg" = "X$p"; then
19919
 
-         enable_fast_install=yes
19920
 
-       fi
19921
 
-      done
19922
 
-      IFS="$lt_save_ifs"
19923
 
-      ;;
19924
 
-    esac
19925
 
-else
19926
 
-  enable_fast_install=yes
19927
 
-fi
19928
 
 
19929
 
 
19930
 
-DEPDIR="${am__leading_dot}deps"
19931
 
 
19932
 
-ac_config_commands="$ac_config_commands depfiles"
19933
 
 
19934
 
+enable_win32_dll=yes
19935
 
 
19936
 
-am_make=${MAKE-make}
19937
 
-cat > confinc << 'END'
19938
 
-am__doit:
19939
 
-       @echo done
19940
 
-.PHONY: am__doit
19941
 
-END
19942
 
-# If we don't find an include directive, just comment out the code.
19943
 
-{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
19944
 
-$as_echo_n "checking for style of include used by $am_make... " >&6; }
19945
 
-am__include="#"
19946
 
-am__quote=
19947
 
-_am_result=none
19948
 
-# First try GNU make style include.
19949
 
-echo "include confinc" > confmf
19950
 
-# We grep out `Entering directory' and `Leaving directory'
19951
 
-# messages which can occur if `w' ends up in MAKEFLAGS.
19952
 
-# In particular we don't look at `^make:' because GNU make might
19953
 
-# be invoked under some other name (usually "gmake"), in which
19954
 
-# case it prints its new name instead of `make'.
19955
 
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
19956
 
-   am__include=include
19957
 
-   am__quote=
19958
 
-   _am_result=GNU
19959
 
-fi
19960
 
-# Now try BSD make style include.
19961
 
-if test "$am__include" = "#"; then
19962
 
-   echo '.include "confinc"' > confmf
19963
 
-   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
19964
 
-      am__include=.include
19965
 
-      am__quote="\""
19966
 
-      _am_result=BSD
19967
 
-   fi
19968
 
-fi
19969
 
-
19970
 
-
19971
 
-{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
19972
 
-$as_echo "$_am_result" >&6; }
19973
 
-rm -f confinc confmf
19974
 
-
19975
 
-# Check whether --enable-dependency-tracking was given.
19976
 
-if test "${enable_dependency_tracking+set}" = set; then
19977
 
-  enableval=$enable_dependency_tracking;
19978
 
-fi
19979
 
-
19980
 
-if test "x$enable_dependency_tracking" != xno; then
19981
 
-  am_depcomp="$ac_aux_dir/depcomp"
19982
 
-  AMDEPBACKSLASH='\'
19983
 
-fi
19984
 
- if test "x$enable_dependency_tracking" != xno; then
19985
 
-  AMDEP_TRUE=
19986
 
-  AMDEP_FALSE='#'
19987
 
-else
19988
 
-  AMDEP_TRUE='#'
19989
 
-  AMDEP_FALSE=
19990
 
-fi
19991
 
-
19992
 
-
19993
 
-ac_ext=c
19994
 
-ac_cpp='$CPP $CPPFLAGS'
19995
 
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19996
 
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19997
 
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
19998
 
-if test -n "$ac_tool_prefix"; then
19999
 
-  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
20000
 
-set dummy ${ac_tool_prefix}gcc; ac_word=$2
20001
 
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
20002
 
+case $host in
20003
 
+*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
20004
 
+  if test -n "$ac_tool_prefix"; then
20005
 
+  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
20006
 
+set dummy ${ac_tool_prefix}as; ac_word=$2
20007
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20008
 
 $as_echo_n "checking for $ac_word... " >&6; }
20009
 
-if test "${ac_cv_prog_CC+set}" = set; then
20010
 
+if test "${ac_cv_prog_AS+set}" = set; then :
20011
 
   $as_echo_n "(cached) " >&6
20012
 
 else
20013
 
-  if test -n "$CC"; then
20014
 
-  ac_cv_prog_CC="$CC" # Let the user override the test.
20015
 
+  if test -n "$AS"; then
20016
 
+  ac_cv_prog_AS="$AS" # Let the user override the test.
20017
 
 else
20018
 
 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20019
 
 for as_dir in $PATH
20020
 
 do
20021
 
   IFS=$as_save_IFS
20022
 
   test -z "$as_dir" && as_dir=.
20023
 
-  for ac_exec_ext in '' $ac_executable_extensions; do
20024
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
20025
 
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20026
 
-    ac_cv_prog_CC="${ac_tool_prefix}gcc"
20027
 
-    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20028
 
+    ac_cv_prog_AS="${ac_tool_prefix}as"
20029
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20030
 
     break 2
20031
 
   fi
20032
 
 done
20033
 
-done
20034
 
+  done
20035
 
 IFS=$as_save_IFS
20036
 
 
20037
 
 fi
20038
 
 fi
20039
 
-CC=$ac_cv_prog_CC
20040
 
-if test -n "$CC"; then
20041
 
-  { $as_echo "$as_me:$LINENO: result: $CC" >&5
20042
 
-$as_echo "$CC" >&6; }
20043
 
+AS=$ac_cv_prog_AS
20044
 
+if test -n "$AS"; then
20045
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
20046
 
+$as_echo "$AS" >&6; }
20047
 
 else
20048
 
-  { $as_echo "$as_me:$LINENO: result: no" >&5
20049
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20050
 
 $as_echo "no" >&6; }
20051
 
 fi
20052
 
 
20053
 
 
20054
 
 fi
20055
 
-if test -z "$ac_cv_prog_CC"; then
20056
 
-  ac_ct_CC=$CC
20057
 
-  # Extract the first word of "gcc", so it can be a program name with args.
20058
 
-set dummy gcc; ac_word=$2
20059
 
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
20060
 
+if test -z "$ac_cv_prog_AS"; then
20061
 
+  ac_ct_AS=$AS
20062
 
+  # Extract the first word of "as", so it can be a program name with args.
20063
 
+set dummy as; ac_word=$2
20064
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20065
 
 $as_echo_n "checking for $ac_word... " >&6; }
20066
 
-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
20067
 
+if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
20068
 
   $as_echo_n "(cached) " >&6
20069
 
 else
20070
 
-  if test -n "$ac_ct_CC"; then
20071
 
-  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
20072
 
+  if test -n "$ac_ct_AS"; then
20073
 
+  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
20074
 
 else
20075
 
 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20076
 
 for as_dir in $PATH
20077
 
 do
20078
 
   IFS=$as_save_IFS
20079
 
   test -z "$as_dir" && as_dir=.
20080
 
-  for ac_exec_ext in '' $ac_executable_extensions; do
20081
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
20082
 
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20083
 
-    ac_cv_prog_ac_ct_CC="gcc"
20084
 
-    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20085
 
+    ac_cv_prog_ac_ct_AS="as"
20086
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20087
 
     break 2
20088
 
   fi
20089
 
 done
20090
 
-done
20091
 
+  done
20092
 
 IFS=$as_save_IFS
20093
 
 
20094
 
 fi
20095
 
 fi
20096
 
-ac_ct_CC=$ac_cv_prog_ac_ct_CC
20097
 
-if test -n "$ac_ct_CC"; then
20098
 
-  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
20099
 
-$as_echo "$ac_ct_CC" >&6; }
20100
 
+ac_ct_AS=$ac_cv_prog_ac_ct_AS
20101
 
+if test -n "$ac_ct_AS"; then
20102
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
20103
 
+$as_echo "$ac_ct_AS" >&6; }
20104
 
 else
20105
 
-  { $as_echo "$as_me:$LINENO: result: no" >&5
20106
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20107
 
 $as_echo "no" >&6; }
20108
 
 fi
20109
 
 
20110
 
-  if test "x$ac_ct_CC" = x; then
20111
 
-    CC=""
20112
 
+  if test "x$ac_ct_AS" = x; then
20113
 
+    AS="false"
20114
 
   else
20115
 
     case $cross_compiling:$ac_tool_warned in
20116
 
 yes:)
20117
 
-{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20118
 
-whose name does not start with the host triplet.  If you think this
20119
 
-configuration is useful to you, please write to autoconf@gnu.org." >&5
20120
 
-$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20121
 
-whose name does not start with the host triplet.  If you think this
20122
 
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20123
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20124
 
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20125
 
 ac_tool_warned=yes ;;
20126
 
 esac
20127
 
-    CC=$ac_ct_CC
20128
 
+    AS=$ac_ct_AS
20129
 
   fi
20130
 
 else
20131
 
-  CC="$ac_cv_prog_CC"
20132
 
+  AS="$ac_cv_prog_AS"
20133
 
 fi
20134
 
 
20135
 
-if test -z "$CC"; then
20136
 
-          if test -n "$ac_tool_prefix"; then
20137
 
-    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
20138
 
-set dummy ${ac_tool_prefix}cc; ac_word=$2
20139
 
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
20140
 
+  if test -n "$ac_tool_prefix"; then
20141
 
+  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
20142
 
+set dummy ${ac_tool_prefix}dlltool; ac_word=$2
20143
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20144
 
 $as_echo_n "checking for $ac_word... " >&6; }
20145
 
-if test "${ac_cv_prog_CC+set}" = set; then
20146
 
+if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
20147
 
   $as_echo_n "(cached) " >&6
20148
 
 else
20149
 
-  if test -n "$CC"; then
20150
 
-  ac_cv_prog_CC="$CC" # Let the user override the test.
20151
 
+  if test -n "$DLLTOOL"; then
20152
 
+  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
20153
 
 else
20154
 
 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20155
 
 for as_dir in $PATH
20156
 
 do
20157
 
   IFS=$as_save_IFS
20158
 
   test -z "$as_dir" && as_dir=.
20159
 
-  for ac_exec_ext in '' $ac_executable_extensions; do
20160
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
20161
 
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20162
 
-    ac_cv_prog_CC="${ac_tool_prefix}cc"
20163
 
-    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20164
 
+    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
20165
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20166
 
     break 2
20167
 
   fi
20168
 
 done
20169
 
-done
20170
 
+  done
20171
 
 IFS=$as_save_IFS
20172
 
 
20173
 
 fi
20174
 
 fi
20175
 
-CC=$ac_cv_prog_CC
20176
 
-if test -n "$CC"; then
20177
 
-  { $as_echo "$as_me:$LINENO: result: $CC" >&5
20178
 
-$as_echo "$CC" >&6; }
20179
 
+DLLTOOL=$ac_cv_prog_DLLTOOL
20180
 
+if test -n "$DLLTOOL"; then
20181
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
20182
 
+$as_echo "$DLLTOOL" >&6; }
20183
 
 else
20184
 
-  { $as_echo "$as_me:$LINENO: result: no" >&5
20185
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20186
 
 $as_echo "no" >&6; }
20187
 
 fi
20188
 
 
20189
 
 
20190
 
-  fi
20191
 
 fi
20192
 
-if test -z "$CC"; then
20193
 
-  # Extract the first word of "cc", so it can be a program name with args.
20194
 
-set dummy cc; ac_word=$2
20195
 
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
20196
 
+if test -z "$ac_cv_prog_DLLTOOL"; then
20197
 
+  ac_ct_DLLTOOL=$DLLTOOL
20198
 
+  # Extract the first word of "dlltool", so it can be a program name with args.
20199
 
+set dummy dlltool; ac_word=$2
20200
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20201
 
 $as_echo_n "checking for $ac_word... " >&6; }
20202
 
-if test "${ac_cv_prog_CC+set}" = set; then
20203
 
+if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
20204
 
   $as_echo_n "(cached) " >&6
20205
 
 else
20206
 
-  if test -n "$CC"; then
20207
 
-  ac_cv_prog_CC="$CC" # Let the user override the test.
20208
 
+  if test -n "$ac_ct_DLLTOOL"; then
20209
 
+  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
20210
 
 else
20211
 
-  ac_prog_rejected=no
20212
 
 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20213
 
 for as_dir in $PATH
20214
 
 do
20215
 
   IFS=$as_save_IFS
20216
 
   test -z "$as_dir" && as_dir=.
20217
 
-  for ac_exec_ext in '' $ac_executable_extensions; do
20218
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
20219
 
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20220
 
-    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
20221
 
-       ac_prog_rejected=yes
20222
 
-       continue
20223
 
-     fi
20224
 
-    ac_cv_prog_CC="cc"
20225
 
-    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20226
 
+    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
20227
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20228
 
     break 2
20229
 
   fi
20230
 
 done
20231
 
-done
20232
 
+  done
20233
 
 IFS=$as_save_IFS
20234
 
 
20235
 
-if test $ac_prog_rejected = yes; then
20236
 
-  # We found a bogon in the path, so make sure we never use it.
20237
 
-  set dummy $ac_cv_prog_CC
20238
 
-  shift
20239
 
-  if test $# != 0; then
20240
 
-    # We chose a different compiler from the bogus one.
20241
 
-    # However, it has the same basename, so the bogon will be chosen
20242
 
-    # first if we set CC to just the basename; use the full file name.
20243
 
-    shift
20244
 
-    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
20245
 
-  fi
20246
 
-fi
20247
 
 fi
20248
 
 fi
20249
 
-CC=$ac_cv_prog_CC
20250
 
-if test -n "$CC"; then
20251
 
-  { $as_echo "$as_me:$LINENO: result: $CC" >&5
20252
 
-$as_echo "$CC" >&6; }
20253
 
+ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
20254
 
+if test -n "$ac_ct_DLLTOOL"; then
20255
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
20256
 
+$as_echo "$ac_ct_DLLTOOL" >&6; }
20257
 
 else
20258
 
-  { $as_echo "$as_me:$LINENO: result: no" >&5
20259
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20260
 
 $as_echo "no" >&6; }
20261
 
 fi
20262
 
 
20263
 
-
20264
 
+  if test "x$ac_ct_DLLTOOL" = x; then
20265
 
+    DLLTOOL="false"
20266
 
+  else
20267
 
+    case $cross_compiling:$ac_tool_warned in
20268
 
+yes:)
20269
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20270
 
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20271
 
+ac_tool_warned=yes ;;
20272
 
+esac
20273
 
+    DLLTOOL=$ac_ct_DLLTOOL
20274
 
+  fi
20275
 
+else
20276
 
+  DLLTOOL="$ac_cv_prog_DLLTOOL"
20277
 
 fi
20278
 
-if test -z "$CC"; then
20279
 
+
20280
 
   if test -n "$ac_tool_prefix"; then
20281
 
-  for ac_prog in cl.exe
20282
 
-  do
20283
 
-    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
20284
 
-set dummy $ac_tool_prefix$ac_prog; ac_word=$2
20285
 
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
20286
 
+  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
20287
 
+set dummy ${ac_tool_prefix}objdump; ac_word=$2
20288
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20289
 
 $as_echo_n "checking for $ac_word... " >&6; }
20290
 
-if test "${ac_cv_prog_CC+set}" = set; then
20291
 
+if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
20292
 
   $as_echo_n "(cached) " >&6
20293
 
 else
20294
 
-  if test -n "$CC"; then
20295
 
-  ac_cv_prog_CC="$CC" # Let the user override the test.
20296
 
+  if test -n "$OBJDUMP"; then
20297
 
+  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
20298
 
 else
20299
 
 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20300
 
 for as_dir in $PATH
20301
 
 do
20302
 
   IFS=$as_save_IFS
20303
 
   test -z "$as_dir" && as_dir=.
20304
 
-  for ac_exec_ext in '' $ac_executable_extensions; do
20305
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
20306
 
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20307
 
-    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
20308
 
-    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20309
 
+    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
20310
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20311
 
     break 2
20312
 
   fi
20313
 
 done
20314
 
-done
20315
 
+  done
20316
 
 IFS=$as_save_IFS
20317
 
 
20318
 
 fi
20319
 
 fi
20320
 
-CC=$ac_cv_prog_CC
20321
 
-if test -n "$CC"; then
20322
 
-  { $as_echo "$as_me:$LINENO: result: $CC" >&5
20323
 
-$as_echo "$CC" >&6; }
20324
 
+OBJDUMP=$ac_cv_prog_OBJDUMP
20325
 
+if test -n "$OBJDUMP"; then
20326
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
20327
 
+$as_echo "$OBJDUMP" >&6; }
20328
 
 else
20329
 
-  { $as_echo "$as_me:$LINENO: result: no" >&5
20330
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20331
 
 $as_echo "no" >&6; }
20332
 
 fi
20333
 
 
20334
 
 
20335
 
-    test -n "$CC" && break
20336
 
-  done
20337
 
 fi
20338
 
-if test -z "$CC"; then
20339
 
-  ac_ct_CC=$CC
20340
 
-  for ac_prog in cl.exe
20341
 
-do
20342
 
-  # Extract the first word of "$ac_prog", so it can be a program name with args.
20343
 
-set dummy $ac_prog; ac_word=$2
20344
 
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
20345
 
+if test -z "$ac_cv_prog_OBJDUMP"; then
20346
 
+  ac_ct_OBJDUMP=$OBJDUMP
20347
 
+  # Extract the first word of "objdump", so it can be a program name with args.
20348
 
+set dummy objdump; ac_word=$2
20349
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20350
 
 $as_echo_n "checking for $ac_word... " >&6; }
20351
 
-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
20352
 
+if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
20353
 
   $as_echo_n "(cached) " >&6
20354
 
 else
20355
 
-  if test -n "$ac_ct_CC"; then
20356
 
-  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
20357
 
+  if test -n "$ac_ct_OBJDUMP"; then
20358
 
+  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
20359
 
 else
20360
 
 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20361
 
 for as_dir in $PATH
20362
 
 do
20363
 
   IFS=$as_save_IFS
20364
 
   test -z "$as_dir" && as_dir=.
20365
 
-  for ac_exec_ext in '' $ac_executable_extensions; do
20366
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
20367
 
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20368
 
-    ac_cv_prog_ac_ct_CC="$ac_prog"
20369
 
-    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20370
 
+    ac_cv_prog_ac_ct_OBJDUMP="objdump"
20371
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20372
 
     break 2
20373
 
   fi
20374
 
 done
20375
 
-done
20376
 
+  done
20377
 
 IFS=$as_save_IFS
20378
 
 
20379
 
 fi
20380
 
 fi
20381
 
-ac_ct_CC=$ac_cv_prog_ac_ct_CC
20382
 
-if test -n "$ac_ct_CC"; then
20383
 
-  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
20384
 
-$as_echo "$ac_ct_CC" >&6; }
20385
 
+ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
20386
 
+if test -n "$ac_ct_OBJDUMP"; then
20387
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
20388
 
+$as_echo "$ac_ct_OBJDUMP" >&6; }
20389
 
 else
20390
 
-  { $as_echo "$as_me:$LINENO: result: no" >&5
20391
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20392
 
 $as_echo "no" >&6; }
20393
 
 fi
20394
 
 
20395
 
-
20396
 
-  test -n "$ac_ct_CC" && break
20397
 
-done
20398
 
-
20399
 
-  if test "x$ac_ct_CC" = x; then
20400
 
-    CC=""
20401
 
+  if test "x$ac_ct_OBJDUMP" = x; then
20402
 
+    OBJDUMP="false"
20403
 
   else
20404
 
     case $cross_compiling:$ac_tool_warned in
20405
 
 yes:)
20406
 
-{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20407
 
-whose name does not start with the host triplet.  If you think this
20408
 
-configuration is useful to you, please write to autoconf@gnu.org." >&5
20409
 
-$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20410
 
-whose name does not start with the host triplet.  If you think this
20411
 
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20412
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20413
 
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20414
 
 ac_tool_warned=yes ;;
20415
 
 esac
20416
 
-    CC=$ac_ct_CC
20417
 
+    OBJDUMP=$ac_ct_OBJDUMP
20418
 
   fi
20419
 
+else
20420
 
+  OBJDUMP="$ac_cv_prog_OBJDUMP"
20421
 
 fi
20422
 
 
20423
 
-fi
20424
 
+  ;;
20425
 
+esac
20426
 
 
20427
 
+test -z "$AS" && AS=as
20428
 
 
20429
 
-test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
20430
 
-See \`config.log' for more details." >&5
20431
 
-$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
20432
 
-See \`config.log' for more details." >&2;}
20433
 
-   { (exit 1); exit 1; }; }
20434
 
 
20435
 
-# Provide some information about the compiler.
20436
 
-$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
20437
 
-set X $ac_compile
20438
 
-ac_compiler=$2
20439
 
-{ (ac_try="$ac_compiler --version >&5"
20440
 
-case "(($ac_try" in
20441
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20442
 
-  *) ac_try_echo=$ac_try;;
20443
 
-esac
20444
 
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20445
 
-$as_echo "$ac_try_echo") >&5
20446
 
-  (eval "$ac_compiler --version >&5") 2>&5
20447
 
-  ac_status=$?
20448
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20449
 
-  (exit $ac_status); }
20450
 
-{ (ac_try="$ac_compiler -v >&5"
20451
 
-case "(($ac_try" in
20452
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20453
 
-  *) ac_try_echo=$ac_try;;
20454
 
-esac
20455
 
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20456
 
-$as_echo "$ac_try_echo") >&5
20457
 
-  (eval "$ac_compiler -v >&5") 2>&5
20458
 
-  ac_status=$?
20459
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20460
 
-  (exit $ac_status); }
20461
 
-{ (ac_try="$ac_compiler -V >&5"
20462
 
-case "(($ac_try" in
20463
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20464
 
-  *) ac_try_echo=$ac_try;;
20465
 
-esac
20466
 
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20467
 
-$as_echo "$ac_try_echo") >&5
20468
 
-  (eval "$ac_compiler -V >&5") 2>&5
20469
 
-  ac_status=$?
20470
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20471
 
-  (exit $ac_status); }
20472
 
 
20473
 
-cat >conftest.$ac_ext <<_ACEOF
20474
 
-/* confdefs.h.  */
20475
 
-_ACEOF
20476
 
-cat confdefs.h >>conftest.$ac_ext
20477
 
-cat >>conftest.$ac_ext <<_ACEOF
20478
 
-/* end confdefs.h.  */
20479
 
 
20480
 
-int
20481
 
-main ()
20482
 
-{
20483
 
 
20484
 
-  ;
20485
 
-  return 0;
20486
 
-}
20487
 
-_ACEOF
20488
 
-ac_clean_files_save=$ac_clean_files
20489
 
-ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
20490
 
-# Try to create an executable without -o first, disregard a.out.
20491
 
-# It will help us diagnose broken compilers, and finding out an intuition
20492
 
-# of exeext.
20493
 
-{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
20494
 
-$as_echo_n "checking for C compiler default output file name... " >&6; }
20495
 
-ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
20496
 
+test -z "$DLLTOOL" && DLLTOOL=dlltool
20497
 
 
20498
 
-# The possible output files:
20499
 
-ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
20500
 
 
20501
 
-ac_rmfiles=
20502
 
-for ac_file in $ac_files
20503
 
-do
20504
 
-  case $ac_file in
20505
 
-    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
20506
 
-    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
20507
 
-  esac
20508
 
-done
20509
 
-rm -f $ac_rmfiles
20510
 
 
20511
 
-if { (ac_try="$ac_link_default"
20512
 
-case "(($ac_try" in
20513
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20514
 
-  *) ac_try_echo=$ac_try;;
20515
 
-esac
20516
 
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20517
 
-$as_echo "$ac_try_echo") >&5
20518
 
-  (eval "$ac_link_default") 2>&5
20519
 
-  ac_status=$?
20520
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20521
 
-  (exit $ac_status); }; then
20522
 
-  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
20523
 
-# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
20524
 
-# in a Makefile.  We should not override ac_cv_exeext if it was cached,
20525
 
-# so that the user can short-circuit this test for compilers unknown to
20526
 
-# Autoconf.
20527
 
-for ac_file in $ac_files ''
20528
 
-do
20529
 
-  test -f "$ac_file" || continue
20530
 
-  case $ac_file in
20531
 
-    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
20532
 
-       ;;
20533
 
-    [ab].out )
20534
 
-       # We found the default executable, but exeext='' is most
20535
 
-       # certainly right.
20536
 
-       break;;
20537
 
-    *.* )
20538
 
-        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
20539
 
-       then :; else
20540
 
-          ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
20541
 
-       fi
20542
 
-       # We set ac_cv_exeext here because the later test for it is not
20543
 
-       # safe: cross compilers may not add the suffix if given an `-o'
20544
 
-       # argument, so we may need to know it at that point already.
20545
 
-       # Even if this section looks crufty: it has the advantage of
20546
 
-       # actually working.
20547
 
-       break;;
20548
 
-    * )
20549
 
-       break;;
20550
 
-  esac
20551
 
-done
20552
 
-test "$ac_cv_exeext" = no && ac_cv_exeext=
20553
 
 
20554
 
-else
20555
 
-  ac_file=''
20556
 
-fi
20557
 
 
20558
 
-{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
20559
 
-$as_echo "$ac_file" >&6; }
20560
 
-if test -z "$ac_file"; then
20561
 
-  $as_echo "$as_me: failed program was:" >&5
20562
 
-sed 's/^/| /' conftest.$ac_ext >&5
20563
 
+test -z "$OBJDUMP" && OBJDUMP=objdump
20564
 
 
20565
 
-{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
20566
 
-See \`config.log' for more details." >&5
20567
 
-$as_echo "$as_me: error: C compiler cannot create executables
20568
 
-See \`config.log' for more details." >&2;}
20569
 
-   { (exit 77); exit 77; }; }
20570
 
-fi
20571
 
 
20572
 
-ac_exeext=$ac_cv_exeext
20573
 
 
20574
 
-# Check that the compiler produces executables we can run.  If not, either
20575
 
-# the compiler is broken, or we cross compile.
20576
 
-{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
20577
 
-$as_echo_n "checking whether the C compiler works... " >&6; }
20578
 
-# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
20579
 
-# If not cross compiling, check that we can run a simple program.
20580
 
-if test "$cross_compiling" != yes; then
20581
 
-  if { ac_try='./$ac_file'
20582
 
-  { (case "(($ac_try" in
20583
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20584
 
-  *) ac_try_echo=$ac_try;;
20585
 
-esac
20586
 
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20587
 
-$as_echo "$ac_try_echo") >&5
20588
 
-  (eval "$ac_try") 2>&5
20589
 
-  ac_status=$?
20590
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20591
 
-  (exit $ac_status); }; }; then
20592
 
-    cross_compiling=no
20593
 
-  else
20594
 
-    if test "$cross_compiling" = maybe; then
20595
 
-       cross_compiling=yes
20596
 
-    else
20597
 
-       { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
20598
 
-If you meant to cross compile, use \`--host'.
20599
 
-See \`config.log' for more details." >&5
20600
 
-$as_echo "$as_me: error: cannot run C compiled programs.
20601
 
-If you meant to cross compile, use \`--host'.
20602
 
-See \`config.log' for more details." >&2;}
20603
 
-   { (exit 1); exit 1; }; }
20604
 
-    fi
20605
 
-  fi
20606
 
-fi
20607
 
-{ $as_echo "$as_me:$LINENO: result: yes" >&5
20608
 
-$as_echo "yes" >&6; }
20609
 
 
20610
 
-rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
20611
 
-ac_clean_files=$ac_clean_files_save
20612
 
-# Check that the compiler produces executables we can run.  If not, either
20613
 
-# the compiler is broken, or we cross compile.
20614
 
-{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
20615
 
-$as_echo_n "checking whether we are cross compiling... " >&6; }
20616
 
-{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
20617
 
-$as_echo "$cross_compiling" >&6; }
20618
 
 
20619
 
-{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
20620
 
-$as_echo_n "checking for suffix of executables... " >&6; }
20621
 
-if { (ac_try="$ac_link"
20622
 
-case "(($ac_try" in
20623
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20624
 
-  *) ac_try_echo=$ac_try;;
20625
 
+
20626
 
+
20627
 
+case `pwd` in
20628
 
+  *\ * | *\    *)
20629
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
20630
 
+$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
20631
 
 esac
20632
 
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20633
 
-$as_echo "$ac_try_echo") >&5
20634
 
-  (eval "$ac_link") 2>&5
20635
 
-  ac_status=$?
20636
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20637
 
-  (exit $ac_status); }; then
20638
 
-  # If both `conftest.exe' and `conftest' are `present' (well, observable)
20639
 
-# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
20640
 
-# work properly (i.e., refer to `conftest.exe'), while it won't with
20641
 
-# `rm'.
20642
 
-for ac_file in conftest.exe conftest conftest.*; do
20643
 
-  test -f "$ac_file" || continue
20644
 
-  case $ac_file in
20645
 
-    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
20646
 
-    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
20647
 
-         break;;
20648
 
-    * ) break;;
20649
 
-  esac
20650
 
-done
20651
 
-else
20652
 
-  { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
20653
 
-See \`config.log' for more details." >&5
20654
 
-$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
20655
 
-See \`config.log' for more details." >&2;}
20656
 
-   { (exit 1); exit 1; }; }
20657
 
-fi
20658
 
 
20659
 
-rm -f conftest$ac_cv_exeext
20660
 
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
20661
 
-$as_echo "$ac_cv_exeext" >&6; }
20662
 
 
20663
 
-rm -f conftest.$ac_ext
20664
 
-EXEEXT=$ac_cv_exeext
20665
 
-ac_exeext=$EXEEXT
20666
 
-{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
20667
 
-$as_echo_n "checking for suffix of object files... " >&6; }
20668
 
-if test "${ac_cv_objext+set}" = set; then
20669
 
-  $as_echo_n "(cached) " >&6
20670
 
-else
20671
 
-  cat >conftest.$ac_ext <<_ACEOF
20672
 
-/* confdefs.h.  */
20673
 
-_ACEOF
20674
 
-cat confdefs.h >>conftest.$ac_ext
20675
 
-cat >>conftest.$ac_ext <<_ACEOF
20676
 
-/* end confdefs.h.  */
20677
 
 
20678
 
-int
20679
 
-main ()
20680
 
-{
20681
 
+macro_version='2.2.6'
20682
 
+macro_revision='1.3012'
20683
 
 
20684
 
-  ;
20685
 
-  return 0;
20686
 
-}
20687
 
-_ACEOF
20688
 
-rm -f conftest.o conftest.obj
20689
 
-if { (ac_try="$ac_compile"
20690
 
-case "(($ac_try" in
20691
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20692
 
-  *) ac_try_echo=$ac_try;;
20693
 
-esac
20694
 
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20695
 
-$as_echo "$ac_try_echo") >&5
20696
 
-  (eval "$ac_compile") 2>&5
20697
 
-  ac_status=$?
20698
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20699
 
-  (exit $ac_status); }; then
20700
 
-  for ac_file in conftest.o conftest.obj conftest.*; do
20701
 
-  test -f "$ac_file" || continue;
20702
 
-  case $ac_file in
20703
 
-    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
20704
 
-    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
20705
 
-       break;;
20706
 
-  esac
20707
 
-done
20708
 
-else
20709
 
-  $as_echo "$as_me: failed program was:" >&5
20710
 
-sed 's/^/| /' conftest.$ac_ext >&5
20711
 
 
20712
 
-{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
20713
 
-See \`config.log' for more details." >&5
20714
 
-$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
20715
 
-See \`config.log' for more details." >&2;}
20716
 
-   { (exit 1); exit 1; }; }
20717
 
-fi
20718
 
 
20719
 
-rm -f conftest.$ac_cv_objext conftest.$ac_ext
20720
 
-fi
20721
 
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
20722
 
-$as_echo "$ac_cv_objext" >&6; }
20723
 
-OBJEXT=$ac_cv_objext
20724
 
-ac_objext=$OBJEXT
20725
 
-{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
20726
 
-$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
20727
 
-if test "${ac_cv_c_compiler_gnu+set}" = set; then
20728
 
-  $as_echo_n "(cached) " >&6
20729
 
-else
20730
 
-  cat >conftest.$ac_ext <<_ACEOF
20731
 
-/* confdefs.h.  */
20732
 
-_ACEOF
20733
 
-cat confdefs.h >>conftest.$ac_ext
20734
 
-cat >>conftest.$ac_ext <<_ACEOF
20735
 
-/* end confdefs.h.  */
20736
 
 
20737
 
-int
20738
 
-main ()
20739
 
-{
20740
 
-#ifndef __GNUC__
20741
 
-       choke me
20742
 
-#endif
20743
 
 
20744
 
-  ;
20745
 
-  return 0;
20746
 
-}
20747
 
-_ACEOF
20748
 
-rm -f conftest.$ac_objext
20749
 
-if { (ac_try="$ac_compile"
20750
 
-case "(($ac_try" in
20751
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20752
 
-  *) ac_try_echo=$ac_try;;
20753
 
-esac
20754
 
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20755
 
-$as_echo "$ac_try_echo") >&5
20756
 
-  (eval "$ac_compile") 2>conftest.er1
20757
 
-  ac_status=$?
20758
 
-  grep -v '^ *+' conftest.er1 >conftest.err
20759
 
-  rm -f conftest.er1
20760
 
-  cat conftest.err >&5
20761
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20762
 
-  (exit $ac_status); } && {
20763
 
-        test -z "$ac_c_werror_flag" ||
20764
 
-        test ! -s conftest.err
20765
 
-       } && test -s conftest.$ac_objext; then
20766
 
-  ac_compiler_gnu=yes
20767
 
-else
20768
 
-  $as_echo "$as_me: failed program was:" >&5
20769
 
-sed 's/^/| /' conftest.$ac_ext >&5
20770
 
 
20771
 
-       ac_compiler_gnu=no
20772
 
-fi
20773
 
 
20774
 
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20775
 
-ac_cv_c_compiler_gnu=$ac_compiler_gnu
20776
 
 
20777
 
-fi
20778
 
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
20779
 
-$as_echo "$ac_cv_c_compiler_gnu" >&6; }
20780
 
-if test $ac_compiler_gnu = yes; then
20781
 
-  GCC=yes
20782
 
-else
20783
 
-  GCC=
20784
 
-fi
20785
 
-ac_test_CFLAGS=${CFLAGS+set}
20786
 
-ac_save_CFLAGS=$CFLAGS
20787
 
-{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
20788
 
-$as_echo_n "checking whether $CC accepts -g... " >&6; }
20789
 
-if test "${ac_cv_prog_cc_g+set}" = set; then
20790
 
-  $as_echo_n "(cached) " >&6
20791
 
-else
20792
 
-  ac_save_c_werror_flag=$ac_c_werror_flag
20793
 
-   ac_c_werror_flag=yes
20794
 
-   ac_cv_prog_cc_g=no
20795
 
-   CFLAGS="-g"
20796
 
-   cat >conftest.$ac_ext <<_ACEOF
20797
 
-/* confdefs.h.  */
20798
 
-_ACEOF
20799
 
-cat confdefs.h >>conftest.$ac_ext
20800
 
-cat >>conftest.$ac_ext <<_ACEOF
20801
 
-/* end confdefs.h.  */
20802
 
 
20803
 
-int
20804
 
-main ()
20805
 
-{
20806
 
 
20807
 
-  ;
20808
 
-  return 0;
20809
 
-}
20810
 
-_ACEOF
20811
 
-rm -f conftest.$ac_objext
20812
 
-if { (ac_try="$ac_compile"
20813
 
-case "(($ac_try" in
20814
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20815
 
-  *) ac_try_echo=$ac_try;;
20816
 
-esac
20817
 
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20818
 
-$as_echo "$ac_try_echo") >&5
20819
 
-  (eval "$ac_compile") 2>conftest.er1
20820
 
-  ac_status=$?
20821
 
-  grep -v '^ *+' conftest.er1 >conftest.err
20822
 
-  rm -f conftest.er1
20823
 
-  cat conftest.err >&5
20824
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20825
 
-  (exit $ac_status); } && {
20826
 
-        test -z "$ac_c_werror_flag" ||
20827
 
-        test ! -s conftest.err
20828
 
-       } && test -s conftest.$ac_objext; then
20829
 
-  ac_cv_prog_cc_g=yes
20830
 
-else
20831
 
-  $as_echo "$as_me: failed program was:" >&5
20832
 
-sed 's/^/| /' conftest.$ac_ext >&5
20833
 
 
20834
 
-       CFLAGS=""
20835
 
-      cat >conftest.$ac_ext <<_ACEOF
20836
 
-/* confdefs.h.  */
20837
 
-_ACEOF
20838
 
-cat confdefs.h >>conftest.$ac_ext
20839
 
-cat >>conftest.$ac_ext <<_ACEOF
20840
 
-/* end confdefs.h.  */
20841
 
 
20842
 
-int
20843
 
-main ()
20844
 
-{
20845
 
 
20846
 
-  ;
20847
 
-  return 0;
20848
 
-}
20849
 
-_ACEOF
20850
 
-rm -f conftest.$ac_objext
20851
 
-if { (ac_try="$ac_compile"
20852
 
-case "(($ac_try" in
20853
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20854
 
-  *) ac_try_echo=$ac_try;;
20855
 
-esac
20856
 
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20857
 
-$as_echo "$ac_try_echo") >&5
20858
 
-  (eval "$ac_compile") 2>conftest.er1
20859
 
-  ac_status=$?
20860
 
-  grep -v '^ *+' conftest.er1 >conftest.err
20861
 
-  rm -f conftest.er1
20862
 
-  cat conftest.err >&5
20863
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20864
 
-  (exit $ac_status); } && {
20865
 
-        test -z "$ac_c_werror_flag" ||
20866
 
-        test ! -s conftest.err
20867
 
-       } && test -s conftest.$ac_objext; then
20868
 
-  :
20869
 
-else
20870
 
-  $as_echo "$as_me: failed program was:" >&5
20871
 
-sed 's/^/| /' conftest.$ac_ext >&5
20872
 
+ltmain="$ac_aux_dir/ltmain.sh"
20873
 
 
20874
 
-       ac_c_werror_flag=$ac_save_c_werror_flag
20875
 
-        CFLAGS="-g"
20876
 
-        cat >conftest.$ac_ext <<_ACEOF
20877
 
-/* confdefs.h.  */
20878
 
-_ACEOF
20879
 
-cat confdefs.h >>conftest.$ac_ext
20880
 
-cat >>conftest.$ac_ext <<_ACEOF
20881
 
-/* end confdefs.h.  */
20882
 
+DEPDIR="${am__leading_dot}deps"
20883
 
 
20884
 
-int
20885
 
-main ()
20886
 
-{
20887
 
-
20888
 
-  ;
20889
 
-  return 0;
20890
 
-}
20891
 
-_ACEOF
20892
 
-rm -f conftest.$ac_objext
20893
 
-if { (ac_try="$ac_compile"
20894
 
-case "(($ac_try" in
20895
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20896
 
-  *) ac_try_echo=$ac_try;;
20897
 
-esac
20898
 
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20899
 
-$as_echo "$ac_try_echo") >&5
20900
 
-  (eval "$ac_compile") 2>conftest.er1
20901
 
-  ac_status=$?
20902
 
-  grep -v '^ *+' conftest.er1 >conftest.err
20903
 
-  rm -f conftest.er1
20904
 
-  cat conftest.err >&5
20905
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20906
 
-  (exit $ac_status); } && {
20907
 
-        test -z "$ac_c_werror_flag" ||
20908
 
-        test ! -s conftest.err
20909
 
-       } && test -s conftest.$ac_objext; then
20910
 
-  ac_cv_prog_cc_g=yes
20911
 
-else
20912
 
-  $as_echo "$as_me: failed program was:" >&5
20913
 
-sed 's/^/| /' conftest.$ac_ext >&5
20914
 
+ac_config_commands="$ac_config_commands depfiles"
20915
 
 
20916
 
 
20917
 
+am_make=${MAKE-make}
20918
 
+cat > confinc << 'END'
20919
 
+am__doit:
20920
 
+       @echo this is the am__doit target
20921
 
+.PHONY: am__doit
20922
 
+END
20923
 
+# If we don't find an include directive, just comment out the code.
20924
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
20925
 
+$as_echo_n "checking for style of include used by $am_make... " >&6; }
20926
 
+am__include="#"
20927
 
+am__quote=
20928
 
+_am_result=none
20929
 
+# First try GNU make style include.
20930
 
+echo "include confinc" > confmf
20931
 
+# Ignore all kinds of additional output from `make'.
20932
 
+case `$am_make -s -f confmf 2> /dev/null` in #(
20933
 
+*the\ am__doit\ target*)
20934
 
+  am__include=include
20935
 
+  am__quote=
20936
 
+  _am_result=GNU
20937
 
+  ;;
20938
 
+esac
20939
 
+# Now try BSD make style include.
20940
 
+if test "$am__include" = "#"; then
20941
 
+   echo '.include "confinc"' > confmf
20942
 
+   case `$am_make -s -f confmf 2> /dev/null` in #(
20943
 
+   *the\ am__doit\ target*)
20944
 
+     am__include=.include
20945
 
+     am__quote="\""
20946
 
+     _am_result=BSD
20947
 
+     ;;
20948
 
+   esac
20949
 
 fi
20950
 
 
20951
 
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20952
 
-fi
20953
 
 
20954
 
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20955
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
20956
 
+$as_echo "$_am_result" >&6; }
20957
 
+rm -f confinc confmf
20958
 
+
20959
 
+# Check whether --enable-dependency-tracking was given.
20960
 
+if test "${enable_dependency_tracking+set}" = set; then :
20961
 
+  enableval=$enable_dependency_tracking;
20962
 
 fi
20963
 
 
20964
 
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20965
 
-   ac_c_werror_flag=$ac_save_c_werror_flag
20966
 
+if test "x$enable_dependency_tracking" != xno; then
20967
 
+  am_depcomp="$ac_aux_dir/depcomp"
20968
 
+  AMDEPBACKSLASH='\'
20969
 
 fi
20970
 
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
20971
 
-$as_echo "$ac_cv_prog_cc_g" >&6; }
20972
 
-if test "$ac_test_CFLAGS" = set; then
20973
 
-  CFLAGS=$ac_save_CFLAGS
20974
 
-elif test $ac_cv_prog_cc_g = yes; then
20975
 
-  if test "$GCC" = yes; then
20976
 
-    CFLAGS="-g -O2"
20977
 
-  else
20978
 
-    CFLAGS="-g"
20979
 
-  fi
20980
 
+ if test "x$enable_dependency_tracking" != xno; then
20981
 
+  AMDEP_TRUE=
20982
 
+  AMDEP_FALSE='#'
20983
 
 else
20984
 
-  if test "$GCC" = yes; then
20985
 
-    CFLAGS="-O2"
20986
 
-  else
20987
 
-    CFLAGS=
20988
 
-  fi
20989
 
+  AMDEP_TRUE='#'
20990
 
+  AMDEP_FALSE=
20991
 
 fi
20992
 
-{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
20993
 
-$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
20994
 
-if test "${ac_cv_prog_cc_c89+set}" = set; then
20995
 
-  $as_echo_n "(cached) " >&6
20996
 
-else
20997
 
-  ac_cv_prog_cc_c89=no
20998
 
-ac_save_CC=$CC
20999
 
-cat >conftest.$ac_ext <<_ACEOF
21000
 
-/* confdefs.h.  */
21001
 
-_ACEOF
21002
 
-cat confdefs.h >>conftest.$ac_ext
21003
 
-cat >>conftest.$ac_ext <<_ACEOF
21004
 
-/* end confdefs.h.  */
21005
 
-#include <stdarg.h>
21006
 
-#include <stdio.h>
21007
 
-#include <sys/types.h>
21008
 
-#include <sys/stat.h>
21009
 
-/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
21010
 
-struct buf { int x; };
21011
 
-FILE * (*rcsopen) (struct buf *, struct stat *, int);
21012
 
-static char *e (p, i)
21013
 
-     char **p;
21014
 
-     int i;
21015
 
-{
21016
 
-  return p[i];
21017
 
-}
21018
 
-static char *f (char * (*g) (char **, int), char **p, ...)
21019
 
-{
21020
 
-  char *s;
21021
 
-  va_list v;
21022
 
-  va_start (v,p);
21023
 
-  s = g (p, va_arg (v,int));
21024
 
-  va_end (v);
21025
 
-  return s;
21026
 
-}
21027
 
-
21028
 
-/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
21029
 
-   function prototypes and stuff, but not '\xHH' hex character constants.
21030
 
-   These don't provoke an error unfortunately, instead are silently treated
21031
 
-   as 'x'.  The following induces an error, until -std is added to get
21032
 
-   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
21033
 
-   array size at least.  It's necessary to write '\x00'==0 to get something
21034
 
-   that's true only with -std.  */
21035
 
-int osf4_cc_array ['\x00' == 0 ? 1 : -1];
21036
 
 
21037
 
-/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
21038
 
-   inside strings and character constants.  */
21039
 
-#define FOO(x) 'x'
21040
 
-int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
21041
 
 
21042
 
-int test (int i, double x);
21043
 
-struct s1 {int (*f) (int a);};
21044
 
-struct s2 {int (*f) (double a);};
21045
 
-int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
21046
 
-int argc;
21047
 
-char **argv;
21048
 
-int
21049
 
-main ()
21050
 
-{
21051
 
-return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
21052
 
-  ;
21053
 
-  return 0;
21054
 
-}
21055
 
-_ACEOF
21056
 
-for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
21057
 
-       -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
21058
 
+ac_ext=c
21059
 
+ac_cpp='$CPP $CPPFLAGS'
21060
 
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21061
 
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21062
 
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
21063
 
+if test -n "$ac_tool_prefix"; then
21064
 
+  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
21065
 
+set dummy ${ac_tool_prefix}gcc; ac_word=$2
21066
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21067
 
+$as_echo_n "checking for $ac_word... " >&6; }
21068
 
+if test "${ac_cv_prog_CC+set}" = set; then :
21069
 
+  $as_echo_n "(cached) " >&6
21070
 
+else
21071
 
+  if test -n "$CC"; then
21072
 
+  ac_cv_prog_CC="$CC" # Let the user override the test.
21073
 
+else
21074
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21075
 
+for as_dir in $PATH
21076
 
 do
21077
 
-  CC="$ac_save_CC $ac_arg"
21078
 
-  rm -f conftest.$ac_objext
21079
 
-if { (ac_try="$ac_compile"
21080
 
-case "(($ac_try" in
21081
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21082
 
-  *) ac_try_echo=$ac_try;;
21083
 
-esac
21084
 
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21085
 
-$as_echo "$ac_try_echo") >&5
21086
 
-  (eval "$ac_compile") 2>conftest.er1
21087
 
-  ac_status=$?
21088
 
-  grep -v '^ *+' conftest.er1 >conftest.err
21089
 
-  rm -f conftest.er1
21090
 
-  cat conftest.err >&5
21091
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21092
 
-  (exit $ac_status); } && {
21093
 
-        test -z "$ac_c_werror_flag" ||
21094
 
-        test ! -s conftest.err
21095
 
-       } && test -s conftest.$ac_objext; then
21096
 
-  ac_cv_prog_cc_c89=$ac_arg
21097
 
+  IFS=$as_save_IFS
21098
 
+  test -z "$as_dir" && as_dir=.
21099
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
21100
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21101
 
+    ac_cv_prog_CC="${ac_tool_prefix}gcc"
21102
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21103
 
+    break 2
21104
 
+  fi
21105
 
+done
21106
 
+  done
21107
 
+IFS=$as_save_IFS
21108
 
+
21109
 
+fi
21110
 
+fi
21111
 
+CC=$ac_cv_prog_CC
21112
 
+if test -n "$CC"; then
21113
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
21114
 
+$as_echo "$CC" >&6; }
21115
 
 else
21116
 
-  $as_echo "$as_me: failed program was:" >&5
21117
 
-sed 's/^/| /' conftest.$ac_ext >&5
21118
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21119
 
+$as_echo "no" >&6; }
21120
 
+fi
21121
 
 
21122
 
 
21123
 
 fi
21124
 
-
21125
 
-rm -f core conftest.err conftest.$ac_objext
21126
 
-  test "x$ac_cv_prog_cc_c89" != "xno" && break
21127
 
+if test -z "$ac_cv_prog_CC"; then
21128
 
+  ac_ct_CC=$CC
21129
 
+  # Extract the first word of "gcc", so it can be a program name with args.
21130
 
+set dummy gcc; ac_word=$2
21131
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21132
 
+$as_echo_n "checking for $ac_word... " >&6; }
21133
 
+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
21134
 
+  $as_echo_n "(cached) " >&6
21135
 
+else
21136
 
+  if test -n "$ac_ct_CC"; then
21137
 
+  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
21138
 
+else
21139
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21140
 
+for as_dir in $PATH
21141
 
+do
21142
 
+  IFS=$as_save_IFS
21143
 
+  test -z "$as_dir" && as_dir=.
21144
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
21145
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21146
 
+    ac_cv_prog_ac_ct_CC="gcc"
21147
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21148
 
+    break 2
21149
 
+  fi
21150
 
 done
21151
 
-rm -f conftest.$ac_ext
21152
 
-CC=$ac_save_CC
21153
 
+  done
21154
 
+IFS=$as_save_IFS
21155
 
 
21156
 
 fi
21157
 
-# AC_CACHE_VAL
21158
 
-case "x$ac_cv_prog_cc_c89" in
21159
 
-  x)
21160
 
-    { $as_echo "$as_me:$LINENO: result: none needed" >&5
21161
 
-$as_echo "none needed" >&6; } ;;
21162
 
-  xno)
21163
 
-    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
21164
 
-$as_echo "unsupported" >&6; } ;;
21165
 
-  *)
21166
 
-    CC="$CC $ac_cv_prog_cc_c89"
21167
 
-    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
21168
 
-$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
21169
 
+fi
21170
 
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
21171
 
+if test -n "$ac_ct_CC"; then
21172
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
21173
 
+$as_echo "$ac_ct_CC" >&6; }
21174
 
+else
21175
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21176
 
+$as_echo "no" >&6; }
21177
 
+fi
21178
 
+
21179
 
+  if test "x$ac_ct_CC" = x; then
21180
 
+    CC=""
21181
 
+  else
21182
 
+    case $cross_compiling:$ac_tool_warned in
21183
 
+yes:)
21184
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
21185
 
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21186
 
+ac_tool_warned=yes ;;
21187
 
 esac
21188
 
+    CC=$ac_ct_CC
21189
 
+  fi
21190
 
+else
21191
 
+  CC="$ac_cv_prog_CC"
21192
 
+fi
21193
 
 
21194
 
+if test -z "$CC"; then
21195
 
+          if test -n "$ac_tool_prefix"; then
21196
 
+    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
21197
 
+set dummy ${ac_tool_prefix}cc; ac_word=$2
21198
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21199
 
+$as_echo_n "checking for $ac_word... " >&6; }
21200
 
+if test "${ac_cv_prog_CC+set}" = set; then :
21201
 
+  $as_echo_n "(cached) " >&6
21202
 
+else
21203
 
+  if test -n "$CC"; then
21204
 
+  ac_cv_prog_CC="$CC" # Let the user override the test.
21205
 
+else
21206
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21207
 
+for as_dir in $PATH
21208
 
+do
21209
 
+  IFS=$as_save_IFS
21210
 
+  test -z "$as_dir" && as_dir=.
21211
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
21212
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21213
 
+    ac_cv_prog_CC="${ac_tool_prefix}cc"
21214
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21215
 
+    break 2
21216
 
+  fi
21217
 
+done
21218
 
+  done
21219
 
+IFS=$as_save_IFS
21220
 
 
21221
 
-ac_ext=c
21222
 
-ac_cpp='$CPP $CPPFLAGS'
21223
 
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21224
 
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21225
 
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
21226
 
+fi
21227
 
+fi
21228
 
+CC=$ac_cv_prog_CC
21229
 
+if test -n "$CC"; then
21230
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
21231
 
+$as_echo "$CC" >&6; }
21232
 
+else
21233
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21234
 
+$as_echo "no" >&6; }
21235
 
+fi
21236
 
 
21237
 
-depcc="$CC"   am_compiler_list=
21238
 
 
21239
 
-{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
21240
 
-$as_echo_n "checking dependency style of $depcc... " >&6; }
21241
 
-if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
21242
 
+  fi
21243
 
+fi
21244
 
+if test -z "$CC"; then
21245
 
+  # Extract the first word of "cc", so it can be a program name with args.
21246
 
+set dummy cc; ac_word=$2
21247
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21248
 
+$as_echo_n "checking for $ac_word... " >&6; }
21249
 
+if test "${ac_cv_prog_CC+set}" = set; then :
21250
 
   $as_echo_n "(cached) " >&6
21251
 
 else
21252
 
-  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
21253
 
-  # We make a subdir and do the tests there.  Otherwise we can end up
21254
 
-  # making bogus files that we don't know about and never remove.  For
21255
 
-  # instance it was reported that on HP-UX the gcc test will end up
21256
 
-  # making a dummy file named `D' -- because `-MD' means `put the output
21257
 
-  # in D'.
21258
 
-  mkdir conftest.dir
21259
 
-  # Copy depcomp to subdir because otherwise we won't find it if we're
21260
 
-  # using a relative directory.
21261
 
-  cp "$am_depcomp" conftest.dir
21262
 
-  cd conftest.dir
21263
 
-  # We will build objects and dependencies in a subdirectory because
21264
 
-  # it helps to detect inapplicable dependency modes.  For instance
21265
 
-  # both Tru64's cc and ICC support -MD to output dependencies as a
21266
 
-  # side effect of compilation, but ICC will put the dependencies in
21267
 
-  # the current directory while Tru64 will put them in the object
21268
 
-  # directory.
21269
 
-  mkdir sub
21270
 
-
21271
 
-  am_cv_CC_dependencies_compiler_type=none
21272
 
-  if test "$am_compiler_list" = ""; then
21273
 
-     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
21274
 
+  if test -n "$CC"; then
21275
 
+  ac_cv_prog_CC="$CC" # Let the user override the test.
21276
 
+else
21277
 
+  ac_prog_rejected=no
21278
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21279
 
+for as_dir in $PATH
21280
 
+do
21281
 
+  IFS=$as_save_IFS
21282
 
+  test -z "$as_dir" && as_dir=.
21283
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
21284
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21285
 
+    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
21286
 
+       ac_prog_rejected=yes
21287
 
+       continue
21288
 
+     fi
21289
 
+    ac_cv_prog_CC="cc"
21290
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21291
 
+    break 2
21292
 
   fi
21293
 
-  for depmode in $am_compiler_list; do
21294
 
-    # Setup a source with many dependencies, because some compilers
21295
 
-    # like to wrap large dependency lists on column 80 (with \), and
21296
 
-    # we should not choose a depcomp mode which is confused by this.
21297
 
-    #
21298
 
-    # We need to recreate these files for each test, as the compiler may
21299
 
-    # overwrite some of them when testing with obscure command lines.
21300
 
-    # This happens at least with the AIX C compiler.
21301
 
-    : > sub/conftest.c
21302
 
-    for i in 1 2 3 4 5 6; do
21303
 
-      echo '#include "conftst'$i'.h"' >> sub/conftest.c
21304
 
-      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
21305
 
-      # Solaris 8's {/usr,}/bin/sh.
21306
 
-      touch sub/conftst$i.h
21307
 
-    done
21308
 
-    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
21309
 
-
21310
 
-    case $depmode in
21311
 
-    nosideeffect)
21312
 
-      # after this tag, mechanisms are not by side-effect, so they'll
21313
 
-      # only be used when explicitly requested
21314
 
-      if test "x$enable_dependency_tracking" = xyes; then
21315
 
-       continue
21316
 
-      else
21317
 
-       break
21318
 
-      fi
21319
 
-      ;;
21320
 
-    none) break ;;
21321
 
-    esac
21322
 
-    # We check with `-c' and `-o' for the sake of the "dashmstdout"
21323
 
-    # mode.  It turns out that the SunPro C++ compiler does not properly
21324
 
-    # handle `-M -o', and we need to detect this.
21325
 
-    if depmode=$depmode \
21326
 
-       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
21327
 
-       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
21328
 
-       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
21329
 
-         >/dev/null 2>conftest.err &&
21330
 
-       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
21331
 
-       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
21332
 
-       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
21333
 
-       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
21334
 
-      # icc doesn't choke on unknown options, it will just issue warnings
21335
 
-      # or remarks (even with -Werror).  So we grep stderr for any message
21336
 
-      # that says an option was ignored or not supported.
21337
 
-      # When given -MP, icc 7.0 and 7.1 complain thusly:
21338
 
-      #   icc: Command line warning: ignoring option '-M'; no argument required
21339
 
-      # The diagnosis changed in icc 8.0:
21340
 
-      #   icc: Command line remark: option '-MP' not supported
21341
 
-      if (grep 'ignoring option' conftest.err ||
21342
 
-          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
21343
 
-        am_cv_CC_dependencies_compiler_type=$depmode
21344
 
-        break
21345
 
-      fi
21346
 
-    fi
21347
 
+done
21348
 
   done
21349
 
+IFS=$as_save_IFS
21350
 
 
21351
 
-  cd ..
21352
 
-  rm -rf conftest.dir
21353
 
-else
21354
 
-  am_cv_CC_dependencies_compiler_type=none
21355
 
+if test $ac_prog_rejected = yes; then
21356
 
+  # We found a bogon in the path, so make sure we never use it.
21357
 
+  set dummy $ac_cv_prog_CC
21358
 
+  shift
21359
 
+  if test $# != 0; then
21360
 
+    # We chose a different compiler from the bogus one.
21361
 
+    # However, it has the same basename, so the bogon will be chosen
21362
 
+    # first if we set CC to just the basename; use the full file name.
21363
 
+    shift
21364
 
+    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
21365
 
+  fi
21366
 
 fi
21367
 
-
21368
 
 fi
21369
 
-{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
21370
 
-$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
21371
 
-CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
21372
 
-
21373
 
- if
21374
 
-  test "x$enable_dependency_tracking" != xno \
21375
 
-  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
21376
 
-  am__fastdepCC_TRUE=
21377
 
-  am__fastdepCC_FALSE='#'
21378
 
+fi
21379
 
+CC=$ac_cv_prog_CC
21380
 
+if test -n "$CC"; then
21381
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
21382
 
+$as_echo "$CC" >&6; }
21383
 
 else
21384
 
-  am__fastdepCC_TRUE='#'
21385
 
-  am__fastdepCC_FALSE=
21386
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21387
 
+$as_echo "no" >&6; }
21388
 
 fi
21389
 
 
21390
 
 
21391
 
-{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
21392
 
-$as_echo_n "checking for a sed that does not truncate output... " >&6; }
21393
 
-if test "${lt_cv_path_SED+set}" = set; then
21394
 
+fi
21395
 
+if test -z "$CC"; then
21396
 
+  if test -n "$ac_tool_prefix"; then
21397
 
+  for ac_prog in cl.exe
21398
 
+  do
21399
 
+    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
21400
 
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
21401
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21402
 
+$as_echo_n "checking for $ac_word... " >&6; }
21403
 
+if test "${ac_cv_prog_CC+set}" = set; then :
21404
 
   $as_echo_n "(cached) " >&6
21405
 
 else
21406
 
-  # Loop through the user's path and test for sed and gsed.
21407
 
-# Then use that list of sed's as ones to test for truncation.
21408
 
+  if test -n "$CC"; then
21409
 
+  ac_cv_prog_CC="$CC" # Let the user override the test.
21410
 
+else
21411
 
 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21412
 
 for as_dir in $PATH
21413
 
 do
21414
 
   IFS=$as_save_IFS
21415
 
   test -z "$as_dir" && as_dir=.
21416
 
-  for lt_ac_prog in sed gsed; do
21417
 
     for ac_exec_ext in '' $ac_executable_extensions; do
21418
 
-      if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
21419
 
-        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
21420
 
-      fi
21421
 
-    done
21422
 
-  done
21423
 
-done
21424
 
-IFS=$as_save_IFS
21425
 
-lt_ac_max=0
21426
 
-lt_ac_count=0
21427
 
-# Add /usr/xpg4/bin/sed as it is typically found on Solaris
21428
 
-# along with /bin/sed that truncates output.
21429
 
-for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
21430
 
-  test ! -f $lt_ac_sed && continue
21431
 
-  cat /dev/null > conftest.in
21432
 
-  lt_ac_count=0
21433
 
-  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
21434
 
-  # Check for GNU sed and select it if it is found.
21435
 
-  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
21436
 
-    lt_cv_path_SED=$lt_ac_sed
21437
 
-    break
21438
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21439
 
+    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
21440
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21441
 
+    break 2
21442
 
   fi
21443
 
-  while true; do
21444
 
-    cat conftest.in conftest.in >conftest.tmp
21445
 
-    mv conftest.tmp conftest.in
21446
 
-    cp conftest.in conftest.nl
21447
 
-    echo >>conftest.nl
21448
 
-    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
21449
 
-    cmp -s conftest.out conftest.nl || break
21450
 
-    # 10000 chars as input seems more than enough
21451
 
-    test $lt_ac_count -gt 10 && break
21452
 
-    lt_ac_count=`expr $lt_ac_count + 1`
21453
 
-    if test $lt_ac_count -gt $lt_ac_max; then
21454
 
-      lt_ac_max=$lt_ac_count
21455
 
-      lt_cv_path_SED=$lt_ac_sed
21456
 
-    fi
21457
 
-  done
21458
 
 done
21459
 
+  done
21460
 
+IFS=$as_save_IFS
21461
 
 
21462
 
 fi
21463
 
+fi
21464
 
+CC=$ac_cv_prog_CC
21465
 
+if test -n "$CC"; then
21466
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
21467
 
+$as_echo "$CC" >&6; }
21468
 
+else
21469
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21470
 
+$as_echo "no" >&6; }
21471
 
+fi
21472
 
 
21473
 
-SED=$lt_cv_path_SED
21474
 
-
21475
 
-{ $as_echo "$as_me:$LINENO: result: $SED" >&5
21476
 
-$as_echo "$SED" >&6; }
21477
 
 
21478
 
-{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
21479
 
-$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
21480
 
-if test "${ac_cv_path_GREP+set}" = set; then
21481
 
+    test -n "$CC" && break
21482
 
+  done
21483
 
+fi
21484
 
+if test -z "$CC"; then
21485
 
+  ac_ct_CC=$CC
21486
 
+  for ac_prog in cl.exe
21487
 
+do
21488
 
+  # Extract the first word of "$ac_prog", so it can be a program name with args.
21489
 
+set dummy $ac_prog; ac_word=$2
21490
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21491
 
+$as_echo_n "checking for $ac_word... " >&6; }
21492
 
+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
21493
 
   $as_echo_n "(cached) " >&6
21494
 
 else
21495
 
-  if test -z "$GREP"; then
21496
 
-  ac_path_GREP_found=false
21497
 
-  # Loop through the user's path and test for each of PROGNAME-LIST
21498
 
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21499
 
-for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
21500
 
+  if test -n "$ac_ct_CC"; then
21501
 
+  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
21502
 
+else
21503
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21504
 
+for as_dir in $PATH
21505
 
 do
21506
 
   IFS=$as_save_IFS
21507
 
   test -z "$as_dir" && as_dir=.
21508
 
-  for ac_prog in grep ggrep; do
21509
 
     for ac_exec_ext in '' $ac_executable_extensions; do
21510
 
-      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
21511
 
-      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
21512
 
-# Check for GNU ac_path_GREP and select it if it is found.
21513
 
-  # Check for GNU $ac_path_GREP
21514
 
-case `"$ac_path_GREP" --version 2>&1` in
21515
 
-*GNU*)
21516
 
-  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
21517
 
-*)
21518
 
-  ac_count=0
21519
 
-  $as_echo_n 0123456789 >"conftest.in"
21520
 
-  while :
21521
 
-  do
21522
 
-    cat "conftest.in" "conftest.in" >"conftest.tmp"
21523
 
-    mv "conftest.tmp" "conftest.in"
21524
 
-    cp "conftest.in" "conftest.nl"
21525
 
-    $as_echo 'GREP' >> "conftest.nl"
21526
 
-    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
21527
 
-    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
21528
 
-    ac_count=`expr $ac_count + 1`
21529
 
-    if test $ac_count -gt ${ac_path_GREP_max-0}; then
21530
 
-      # Best one so far, save it but keep looking for a better one
21531
 
-      ac_cv_path_GREP="$ac_path_GREP"
21532
 
-      ac_path_GREP_max=$ac_count
21533
 
-    fi
21534
 
-    # 10*(2^10) chars as input seems more than enough
21535
 
-    test $ac_count -gt 10 && break
21536
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21537
 
+    ac_cv_prog_ac_ct_CC="$ac_prog"
21538
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21539
 
+    break 2
21540
 
+  fi
21541
 
+done
21542
 
   done
21543
 
-  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
21544
 
-esac
21545
 
+IFS=$as_save_IFS
21546
 
 
21547
 
-      $ac_path_GREP_found && break 3
21548
 
-    done
21549
 
-  done
21550
 
+fi
21551
 
+fi
21552
 
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
21553
 
+if test -n "$ac_ct_CC"; then
21554
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
21555
 
+$as_echo "$ac_ct_CC" >&6; }
21556
 
+else
21557
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21558
 
+$as_echo "no" >&6; }
21559
 
+fi
21560
 
+
21561
 
+
21562
 
+  test -n "$ac_ct_CC" && break
21563
 
 done
21564
 
-IFS=$as_save_IFS
21565
 
-  if test -z "$ac_cv_path_GREP"; then
21566
 
-    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
21567
 
-$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
21568
 
-   { (exit 1); exit 1; }; }
21569
 
+
21570
 
+  if test "x$ac_ct_CC" = x; then
21571
 
+    CC=""
21572
 
+  else
21573
 
+    case $cross_compiling:$ac_tool_warned in
21574
 
+yes:)
21575
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
21576
 
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21577
 
+ac_tool_warned=yes ;;
21578
 
+esac
21579
 
+    CC=$ac_ct_CC
21580
 
   fi
21581
 
-else
21582
 
-  ac_cv_path_GREP=$GREP
21583
 
 fi
21584
 
 
21585
 
 fi
21586
 
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
21587
 
-$as_echo "$ac_cv_path_GREP" >&6; }
21588
 
- GREP="$ac_cv_path_GREP"
21589
 
 
21590
 
 
21591
 
-{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
21592
 
-$as_echo_n "checking for egrep... " >&6; }
21593
 
-if test "${ac_cv_path_EGREP+set}" = set; then
21594
 
-  $as_echo_n "(cached) " >&6
21595
 
-else
21596
 
-  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
21597
 
-   then ac_cv_path_EGREP="$GREP -E"
21598
 
-   else
21599
 
-     if test -z "$EGREP"; then
21600
 
-  ac_path_EGREP_found=false
21601
 
-  # Loop through the user's path and test for each of PROGNAME-LIST
21602
 
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21603
 
-for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
21604
 
-do
21605
 
-  IFS=$as_save_IFS
21606
 
-  test -z "$as_dir" && as_dir=.
21607
 
-  for ac_prog in egrep; do
21608
 
-    for ac_exec_ext in '' $ac_executable_extensions; do
21609
 
-      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
21610
 
-      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
21611
 
-# Check for GNU ac_path_EGREP and select it if it is found.
21612
 
-  # Check for GNU $ac_path_EGREP
21613
 
-case `"$ac_path_EGREP" --version 2>&1` in
21614
 
-*GNU*)
21615
 
-  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
21616
 
-*)
21617
 
-  ac_count=0
21618
 
-  $as_echo_n 0123456789 >"conftest.in"
21619
 
-  while :
21620
 
-  do
21621
 
-    cat "conftest.in" "conftest.in" >"conftest.tmp"
21622
 
-    mv "conftest.tmp" "conftest.in"
21623
 
-    cp "conftest.in" "conftest.nl"
21624
 
-    $as_echo 'EGREP' >> "conftest.nl"
21625
 
-    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
21626
 
-    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
21627
 
-    ac_count=`expr $ac_count + 1`
21628
 
-    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
21629
 
-      # Best one so far, save it but keep looking for a better one
21630
 
-      ac_cv_path_EGREP="$ac_path_EGREP"
21631
 
-      ac_path_EGREP_max=$ac_count
21632
 
-    fi
21633
 
-    # 10*(2^10) chars as input seems more than enough
21634
 
-    test $ac_count -gt 10 && break
21635
 
-  done
21636
 
-  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
21637
 
-esac
21638
 
+test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21639
 
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21640
 
+as_fn_error "no acceptable C compiler found in \$PATH
21641
 
+See \`config.log' for more details." "$LINENO" 5; }
21642
 
 
21643
 
-      $ac_path_EGREP_found && break 3
21644
 
-    done
21645
 
-  done
21646
 
-done
21647
 
-IFS=$as_save_IFS
21648
 
-  if test -z "$ac_cv_path_EGREP"; then
21649
 
-    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
21650
 
-$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
21651
 
-   { (exit 1); exit 1; }; }
21652
 
+# Provide some information about the compiler.
21653
 
+$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
21654
 
+set X $ac_compile
21655
 
+ac_compiler=$2
21656
 
+for ac_option in --version -v -V -qversion; do
21657
 
+  { { ac_try="$ac_compiler $ac_option >&5"
21658
 
+case "(($ac_try" in
21659
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21660
 
+  *) ac_try_echo=$ac_try;;
21661
 
+esac
21662
 
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
21663
 
+$as_echo "$ac_try_echo"; } >&5
21664
 
+  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
21665
 
+  ac_status=$?
21666
 
+  if test -s conftest.err; then
21667
 
+    sed '10a\
21668
 
+... rest of stderr output deleted ...
21669
 
+         10q' conftest.err >conftest.er1
21670
 
+    cat conftest.er1 >&5
21671
 
+    rm -f conftest.er1 conftest.err
21672
 
   fi
21673
 
-else
21674
 
-  ac_cv_path_EGREP=$EGREP
21675
 
-fi
21676
 
-
21677
 
-   fi
21678
 
-fi
21679
 
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
21680
 
-$as_echo "$ac_cv_path_EGREP" >&6; }
21681
 
- EGREP="$ac_cv_path_EGREP"
21682
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21683
 
+  test $ac_status = 0; }
21684
 
+done
21685
 
 
21686
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21687
 
+/* end confdefs.h.  */
21688
 
+#include <stdio.h>
21689
 
+int
21690
 
+main ()
21691
 
+{
21692
 
+FILE *f = fopen ("conftest.out", "w");
21693
 
+ return ferror (f) || fclose (f) != 0;
21694
 
 
21695
 
+  ;
21696
 
+  return 0;
21697
 
+}
21698
 
+_ACEOF
21699
 
+ac_clean_files_save=$ac_clean_files
21700
 
+ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
21701
 
+# Try to create an executable without -o first, disregard a.out.
21702
 
+# It will help us diagnose broken compilers, and finding out an intuition
21703
 
+# of exeext.
21704
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
21705
 
+$as_echo_n "checking for C compiler default output file name... " >&6; }
21706
 
+ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
21707
 
 
21708
 
-# Check whether --with-gnu-ld was given.
21709
 
-if test "${with_gnu_ld+set}" = set; then
21710
 
-  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
21711
 
-else
21712
 
-  with_gnu_ld=no
21713
 
-fi
21714
 
+# The possible output files:
21715
 
+ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
21716
 
 
21717
 
-ac_prog=ld
21718
 
-if test "$GCC" = yes; then
21719
 
-  # Check if gcc -print-prog-name=ld gives a path.
21720
 
-  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
21721
 
-$as_echo_n "checking for ld used by $CC... " >&6; }
21722
 
-  case $host in
21723
 
-  *-*-mingw*)
21724
 
-    # gcc leaves a trailing carriage return which upsets mingw
21725
 
-    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
21726
 
-  *)
21727
 
-    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
21728
 
+ac_rmfiles=
21729
 
+for ac_file in $ac_files
21730
 
+do
21731
 
+  case $ac_file in
21732
 
+    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
21733
 
+    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
21734
 
   esac
21735
 
-  case $ac_prog in
21736
 
-    # Accept absolute paths.
21737
 
-    [\\/]* | ?:[\\/]*)
21738
 
-      re_direlt='/[^/][^/]*/\.\./'
21739
 
-      # Canonicalize the pathname of ld
21740
 
-      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
21741
 
-      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
21742
 
-       ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
21743
 
-      done
21744
 
-      test -z "$LD" && LD="$ac_prog"
21745
 
-      ;;
21746
 
-  "")
21747
 
-    # If it fails, then pretend we aren't using GCC.
21748
 
-    ac_prog=ld
21749
 
-    ;;
21750
 
-  *)
21751
 
-    # If it is relative, then search for the first ld in PATH.
21752
 
-    with_gnu_ld=unknown
21753
 
-    ;;
21754
 
+done
21755
 
+rm -f $ac_rmfiles
21756
 
+
21757
 
+if { { ac_try="$ac_link_default"
21758
 
+case "(($ac_try" in
21759
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21760
 
+  *) ac_try_echo=$ac_try;;
21761
 
+esac
21762
 
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
21763
 
+$as_echo "$ac_try_echo"; } >&5
21764
 
+  (eval "$ac_link_default") 2>&5
21765
 
+  ac_status=$?
21766
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21767
 
+  test $ac_status = 0; }; then :
21768
 
+  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
21769
 
+# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
21770
 
+# in a Makefile.  We should not override ac_cv_exeext if it was cached,
21771
 
+# so that the user can short-circuit this test for compilers unknown to
21772
 
+# Autoconf.
21773
 
+for ac_file in $ac_files ''
21774
 
+do
21775
 
+  test -f "$ac_file" || continue
21776
 
+  case $ac_file in
21777
 
+    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
21778
 
+       ;;
21779
 
+    [ab].out )
21780
 
+       # We found the default executable, but exeext='' is most
21781
 
+       # certainly right.
21782
 
+       break;;
21783
 
+    *.* )
21784
 
+       if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
21785
 
+       then :; else
21786
 
+          ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
21787
 
+       fi
21788
 
+       # We set ac_cv_exeext here because the later test for it is not
21789
 
+       # safe: cross compilers may not add the suffix if given an `-o'
21790
 
+       # argument, so we may need to know it at that point already.
21791
 
+       # Even if this section looks crufty: it has the advantage of
21792
 
+       # actually working.
21793
 
+       break;;
21794
 
+    * )
21795
 
+       break;;
21796
 
   esac
21797
 
-elif test "$with_gnu_ld" = yes; then
21798
 
-  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
21799
 
-$as_echo_n "checking for GNU ld... " >&6; }
21800
 
+done
21801
 
+test "$ac_cv_exeext" = no && ac_cv_exeext=
21802
 
+
21803
 
 else
21804
 
-  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
21805
 
-$as_echo_n "checking for non-GNU ld... " >&6; }
21806
 
+  ac_file=''
21807
 
 fi
21808
 
-if test "${lt_cv_path_LD+set}" = set; then
21809
 
-  $as_echo_n "(cached) " >&6
21810
 
-else
21811
 
-  if test -z "$LD"; then
21812
 
-  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
21813
 
-  for ac_dir in $PATH; do
21814
 
-    IFS="$lt_save_ifs"
21815
 
-    test -z "$ac_dir" && ac_dir=.
21816
 
-    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
21817
 
-      lt_cv_path_LD="$ac_dir/$ac_prog"
21818
 
-      # Check to see if the program is GNU ld.  I'd rather use --version,
21819
 
-      # but apparently some variants of GNU ld only accept -v.
21820
 
-      # Break only if it was the GNU/non-GNU ld that we prefer.
21821
 
-      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
21822
 
-      *GNU* | *'with BFD'*)
21823
 
-       test "$with_gnu_ld" != no && break
21824
 
-       ;;
21825
 
-      *)
21826
 
-       test "$with_gnu_ld" != yes && break
21827
 
-       ;;
21828
 
-      esac
21829
 
-    fi
21830
 
-  done
21831
 
-  IFS="$lt_save_ifs"
21832
 
-else
21833
 
-  lt_cv_path_LD="$LD" # Let the user override the test with a path.
21834
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
21835
 
+$as_echo "$ac_file" >&6; }
21836
 
+if test -z "$ac_file"; then :
21837
 
+  $as_echo "$as_me: failed program was:" >&5
21838
 
+sed 's/^/| /' conftest.$ac_ext >&5
21839
 
+
21840
 
+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21841
 
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21842
 
+{ as_fn_set_status 77
21843
 
+as_fn_error "C compiler cannot create executables
21844
 
+See \`config.log' for more details." "$LINENO" 5; }; }
21845
 
 fi
21846
 
+ac_exeext=$ac_cv_exeext
21847
 
+
21848
 
+# Check that the compiler produces executables we can run.  If not, either
21849
 
+# the compiler is broken, or we cross compile.
21850
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
21851
 
+$as_echo_n "checking whether the C compiler works... " >&6; }
21852
 
+# If not cross compiling, check that we can run a simple program.
21853
 
+if test "$cross_compiling" != yes; then
21854
 
+  if { ac_try='./$ac_file'
21855
 
+  { { case "(($ac_try" in
21856
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21857
 
+  *) ac_try_echo=$ac_try;;
21858
 
+esac
21859
 
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
21860
 
+$as_echo "$ac_try_echo"; } >&5
21861
 
+  (eval "$ac_try") 2>&5
21862
 
+  ac_status=$?
21863
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21864
 
+  test $ac_status = 0; }; }; then
21865
 
+    cross_compiling=no
21866
 
+  else
21867
 
+    if test "$cross_compiling" = maybe; then
21868
 
+       cross_compiling=yes
21869
 
+    else
21870
 
+       { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21871
 
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21872
 
+as_fn_error "cannot run C compiled programs.
21873
 
+If you meant to cross compile, use \`--host'.
21874
 
+See \`config.log' for more details." "$LINENO" 5; }
21875
 
+    fi
21876
 
+  fi
21877
 
 fi
21878
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21879
 
+$as_echo "yes" >&6; }
21880
 
 
21881
 
-LD="$lt_cv_path_LD"
21882
 
-if test -n "$LD"; then
21883
 
-  { $as_echo "$as_me:$LINENO: result: $LD" >&5
21884
 
-$as_echo "$LD" >&6; }
21885
 
+rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
21886
 
+ac_clean_files=$ac_clean_files_save
21887
 
+# Check that the compiler produces executables we can run.  If not, either
21888
 
+# the compiler is broken, or we cross compile.
21889
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
21890
 
+$as_echo_n "checking whether we are cross compiling... " >&6; }
21891
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
21892
 
+$as_echo "$cross_compiling" >&6; }
21893
 
+
21894
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
21895
 
+$as_echo_n "checking for suffix of executables... " >&6; }
21896
 
+if { { ac_try="$ac_link"
21897
 
+case "(($ac_try" in
21898
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21899
 
+  *) ac_try_echo=$ac_try;;
21900
 
+esac
21901
 
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
21902
 
+$as_echo "$ac_try_echo"; } >&5
21903
 
+  (eval "$ac_link") 2>&5
21904
 
+  ac_status=$?
21905
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21906
 
+  test $ac_status = 0; }; then :
21907
 
+  # If both `conftest.exe' and `conftest' are `present' (well, observable)
21908
 
+# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
21909
 
+# work properly (i.e., refer to `conftest.exe'), while it won't with
21910
 
+# `rm'.
21911
 
+for ac_file in conftest.exe conftest conftest.*; do
21912
 
+  test -f "$ac_file" || continue
21913
 
+  case $ac_file in
21914
 
+    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
21915
 
+    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
21916
 
+         break;;
21917
 
+    * ) break;;
21918
 
+  esac
21919
 
+done
21920
 
 else
21921
 
-  { $as_echo "$as_me:$LINENO: result: no" >&5
21922
 
-$as_echo "no" >&6; }
21923
 
+  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21924
 
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21925
 
+as_fn_error "cannot compute suffix of executables: cannot compile and link
21926
 
+See \`config.log' for more details." "$LINENO" 5; }
21927
 
 fi
21928
 
-test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
21929
 
-$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
21930
 
-   { (exit 1); exit 1; }; }
21931
 
-{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
21932
 
-$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
21933
 
-if test "${lt_cv_prog_gnu_ld+set}" = set; then
21934
 
+rm -f conftest$ac_cv_exeext
21935
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
21936
 
+$as_echo "$ac_cv_exeext" >&6; }
21937
 
+
21938
 
+rm -f conftest.$ac_ext
21939
 
+EXEEXT=$ac_cv_exeext
21940
 
+ac_exeext=$EXEEXT
21941
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
21942
 
+$as_echo_n "checking for suffix of object files... " >&6; }
21943
 
+if test "${ac_cv_objext+set}" = set; then :
21944
 
   $as_echo_n "(cached) " >&6
21945
 
 else
21946
 
-  # I'd rather use --version here, but apparently some GNU lds only accept -v.
21947
 
-case `$LD -v 2>&1 </dev/null` in
21948
 
-*GNU* | *'with BFD'*)
21949
 
-  lt_cv_prog_gnu_ld=yes
21950
 
-  ;;
21951
 
-*)
21952
 
-  lt_cv_prog_gnu_ld=no
21953
 
-  ;;
21954
 
-esac
21955
 
-fi
21956
 
-{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
21957
 
-$as_echo "$lt_cv_prog_gnu_ld" >&6; }
21958
 
-with_gnu_ld=$lt_cv_prog_gnu_ld
21959
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21960
 
+/* end confdefs.h.  */
21961
 
 
21962
 
+int
21963
 
+main ()
21964
 
+{
21965
 
 
21966
 
-{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
21967
 
-$as_echo_n "checking for $LD option to reload object files... " >&6; }
21968
 
-if test "${lt_cv_ld_reload_flag+set}" = set; then
21969
 
-  $as_echo_n "(cached) " >&6
21970
 
-else
21971
 
-  lt_cv_ld_reload_flag='-r'
21972
 
-fi
21973
 
-{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
21974
 
-$as_echo "$lt_cv_ld_reload_flag" >&6; }
21975
 
-reload_flag=$lt_cv_ld_reload_flag
21976
 
-case $reload_flag in
21977
 
-"" | " "*) ;;
21978
 
-*) reload_flag=" $reload_flag" ;;
21979
 
-esac
21980
 
-reload_cmds='$LD$reload_flag -o $output$reload_objs'
21981
 
-case $host_os in
21982
 
-  darwin*)
21983
 
-    if test "$GCC" = yes; then
21984
 
-      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
21985
 
-    else
21986
 
-      reload_cmds='$LD$reload_flag -o $output$reload_objs'
21987
 
-    fi
21988
 
-    ;;
21989
 
+  ;
21990
 
+  return 0;
21991
 
+}
21992
 
+_ACEOF
21993
 
+rm -f conftest.o conftest.obj
21994
 
+if { { ac_try="$ac_compile"
21995
 
+case "(($ac_try" in
21996
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21997
 
+  *) ac_try_echo=$ac_try;;
21998
 
 esac
21999
 
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
22000
 
+$as_echo "$ac_try_echo"; } >&5
22001
 
+  (eval "$ac_compile") 2>&5
22002
 
+  ac_status=$?
22003
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22004
 
+  test $ac_status = 0; }; then :
22005
 
+  for ac_file in conftest.o conftest.obj conftest.*; do
22006
 
+  test -f "$ac_file" || continue;
22007
 
+  case $ac_file in
22008
 
+    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
22009
 
+    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
22010
 
+       break;;
22011
 
+  esac
22012
 
+done
22013
 
+else
22014
 
+  $as_echo "$as_me: failed program was:" >&5
22015
 
+sed 's/^/| /' conftest.$ac_ext >&5
22016
 
 
22017
 
-{ $as_echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
22018
 
-$as_echo_n "checking for BSD-compatible nm... " >&6; }
22019
 
-if test "${lt_cv_path_NM+set}" = set; then
22020
 
+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22021
 
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22022
 
+as_fn_error "cannot compute suffix of object files: cannot compile
22023
 
+See \`config.log' for more details." "$LINENO" 5; }
22024
 
+fi
22025
 
+rm -f conftest.$ac_cv_objext conftest.$ac_ext
22026
 
+fi
22027
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
22028
 
+$as_echo "$ac_cv_objext" >&6; }
22029
 
+OBJEXT=$ac_cv_objext
22030
 
+ac_objext=$OBJEXT
22031
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
22032
 
+$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
22033
 
+if test "${ac_cv_c_compiler_gnu+set}" = set; then :
22034
 
   $as_echo_n "(cached) " >&6
22035
 
 else
22036
 
-  if test -n "$NM"; then
22037
 
-  # Let the user override the test.
22038
 
-  lt_cv_path_NM="$NM"
22039
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22040
 
+/* end confdefs.h.  */
22041
 
+
22042
 
+int
22043
 
+main ()
22044
 
+{
22045
 
+#ifndef __GNUC__
22046
 
+       choke me
22047
 
+#endif
22048
 
+
22049
 
+  ;
22050
 
+  return 0;
22051
 
+}
22052
 
+_ACEOF
22053
 
+if ac_fn_c_try_compile "$LINENO"; then :
22054
 
+  ac_compiler_gnu=yes
22055
 
 else
22056
 
-  lt_nm_to_check="${ac_tool_prefix}nm"
22057
 
-  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
22058
 
-    lt_nm_to_check="$lt_nm_to_check nm"
22059
 
-  fi
22060
 
-  for lt_tmp_nm in $lt_nm_to_check; do
22061
 
-    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
22062
 
-    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
22063
 
-      IFS="$lt_save_ifs"
22064
 
-      test -z "$ac_dir" && ac_dir=.
22065
 
-      tmp_nm="$ac_dir/$lt_tmp_nm"
22066
 
-      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
22067
 
-       # Check to see if the nm accepts a BSD-compat flag.
22068
 
-       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
22069
 
-       #   nm: unknown option "B" ignored
22070
 
-       # Tru64's nm complains that /dev/null is an invalid object file
22071
 
-       case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
22072
 
-       */dev/null* | *'Invalid file or object type'*)
22073
 
-         lt_cv_path_NM="$tmp_nm -B"
22074
 
-         break
22075
 
-         ;;
22076
 
-       *)
22077
 
-         case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
22078
 
-         */dev/null*)
22079
 
-           lt_cv_path_NM="$tmp_nm -p"
22080
 
-           break
22081
 
-           ;;
22082
 
-         *)
22083
 
-           lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
22084
 
-           continue # so that we can try to find one that supports BSD flags
22085
 
-           ;;
22086
 
-         esac
22087
 
-         ;;
22088
 
-       esac
22089
 
-      fi
22090
 
-    done
22091
 
-    IFS="$lt_save_ifs"
22092
 
-  done
22093
 
-  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
22094
 
-fi
22095
 
+  ac_compiler_gnu=no
22096
 
 fi
22097
 
-{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
22098
 
-$as_echo "$lt_cv_path_NM" >&6; }
22099
 
-NM="$lt_cv_path_NM"
22100
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22101
 
+ac_cv_c_compiler_gnu=$ac_compiler_gnu
22102
 
 
22103
 
-{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
22104
 
-$as_echo_n "checking whether ln -s works... " >&6; }
22105
 
-LN_S=$as_ln_s
22106
 
-if test "$LN_S" = "ln -s"; then
22107
 
-  { $as_echo "$as_me:$LINENO: result: yes" >&5
22108
 
-$as_echo "yes" >&6; }
22109
 
+fi
22110
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
22111
 
+$as_echo "$ac_cv_c_compiler_gnu" >&6; }
22112
 
+if test $ac_compiler_gnu = yes; then
22113
 
+  GCC=yes
22114
 
 else
22115
 
-  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
22116
 
-$as_echo "no, using $LN_S" >&6; }
22117
 
+  GCC=
22118
 
 fi
22119
 
-
22120
 
-{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
22121
 
-$as_echo_n "checking how to recognize dependent libraries... " >&6; }
22122
 
-if test "${lt_cv_deplibs_check_method+set}" = set; then
22123
 
+ac_test_CFLAGS=${CFLAGS+set}
22124
 
+ac_save_CFLAGS=$CFLAGS
22125
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
22126
 
+$as_echo_n "checking whether $CC accepts -g... " >&6; }
22127
 
+if test "${ac_cv_prog_cc_g+set}" = set; then :
22128
 
   $as_echo_n "(cached) " >&6
22129
 
 else
22130
 
-  lt_cv_file_magic_cmd='$MAGIC_CMD'
22131
 
-lt_cv_file_magic_test_file=
22132
 
-lt_cv_deplibs_check_method='unknown'
22133
 
-# Need to set the preceding variable on all platforms that support
22134
 
-# interlibrary dependencies.
22135
 
-# 'none' -- dependencies not supported.
22136
 
-# `unknown' -- same as none, but documents that we really don't know.
22137
 
-# 'pass_all' -- all dependencies passed with no checks.
22138
 
-# 'test_compile' -- check by making test program.
22139
 
-# 'file_magic [[regex]]' -- check by looking for files in library path
22140
 
-# which responds to the $file_magic_cmd with a given extended regex.
22141
 
-# If you have `file' or equivalent on your system and you're not sure
22142
 
-# whether `pass_all' will *always* work, you probably want this one.
22143
 
+  ac_save_c_werror_flag=$ac_c_werror_flag
22144
 
+   ac_c_werror_flag=yes
22145
 
+   ac_cv_prog_cc_g=no
22146
 
+   CFLAGS="-g"
22147
 
+   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22148
 
+/* end confdefs.h.  */
22149
 
 
22150
 
-case $host_os in
22151
 
-aix[4-9]*)
22152
 
-  lt_cv_deplibs_check_method=pass_all
22153
 
-  ;;
22154
 
+int
22155
 
+main ()
22156
 
+{
22157
 
 
22158
 
-beos*)
22159
 
-  lt_cv_deplibs_check_method=pass_all
22160
 
-  ;;
22161
 
+  ;
22162
 
+  return 0;
22163
 
+}
22164
 
+_ACEOF
22165
 
+if ac_fn_c_try_compile "$LINENO"; then :
22166
 
+  ac_cv_prog_cc_g=yes
22167
 
+else
22168
 
+  CFLAGS=""
22169
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22170
 
+/* end confdefs.h.  */
22171
 
 
22172
 
-bsdi[45]*)
22173
 
-  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
22174
 
-  lt_cv_file_magic_cmd='/usr/bin/file -L'
22175
 
-  lt_cv_file_magic_test_file=/shlib/libc.so
22176
 
-  ;;
22177
 
+int
22178
 
+main ()
22179
 
+{
22180
 
 
22181
 
-cygwin*)
22182
 
-  # func_win32_libid is a shell function defined in ltmain.sh
22183
 
-  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
22184
 
-  lt_cv_file_magic_cmd='func_win32_libid'
22185
 
-  ;;
22186
 
+  ;
22187
 
+  return 0;
22188
 
+}
22189
 
+_ACEOF
22190
 
+if ac_fn_c_try_compile "$LINENO"; then :
22191
 
 
22192
 
-mingw* | pw32*)
22193
 
-  # Base MSYS/MinGW do not provide the 'file' command needed by
22194
 
-  # func_win32_libid shell function, so use a weaker test based on 'objdump',
22195
 
-  # unless we find 'file', for example because we are cross-compiling.
22196
 
-  if ( file / ) >/dev/null 2>&1; then
22197
 
-    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
22198
 
-    lt_cv_file_magic_cmd='func_win32_libid'
22199
 
-  else
22200
 
-    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
22201
 
-    lt_cv_file_magic_cmd='$OBJDUMP -f'
22202
 
-  fi
22203
 
-  ;;
22204
 
+else
22205
 
+  ac_c_werror_flag=$ac_save_c_werror_flag
22206
 
+        CFLAGS="-g"
22207
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22208
 
+/* end confdefs.h.  */
22209
 
 
22210
 
-darwin* | rhapsody*)
22211
 
-  lt_cv_deplibs_check_method=pass_all
22212
 
-  ;;
22213
 
+int
22214
 
+main ()
22215
 
+{
22216
 
 
22217
 
-freebsd* | dragonfly*)
22218
 
-  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
22219
 
-    case $host_cpu in
22220
 
-    i*86 )
22221
 
-      # Not sure whether the presence of OpenBSD here was a mistake.
22222
 
-      # Let's accept both of them until this is cleared up.
22223
 
-      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
22224
 
-      lt_cv_file_magic_cmd=/usr/bin/file
22225
 
-      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
22226
 
-      ;;
22227
 
-    esac
22228
 
+  ;
22229
 
+  return 0;
22230
 
+}
22231
 
+_ACEOF
22232
 
+if ac_fn_c_try_compile "$LINENO"; then :
22233
 
+  ac_cv_prog_cc_g=yes
22234
 
+fi
22235
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22236
 
+fi
22237
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22238
 
+fi
22239
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22240
 
+   ac_c_werror_flag=$ac_save_c_werror_flag
22241
 
+fi
22242
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
22243
 
+$as_echo "$ac_cv_prog_cc_g" >&6; }
22244
 
+if test "$ac_test_CFLAGS" = set; then
22245
 
+  CFLAGS=$ac_save_CFLAGS
22246
 
+elif test $ac_cv_prog_cc_g = yes; then
22247
 
+  if test "$GCC" = yes; then
22248
 
+    CFLAGS="-g -O2"
22249
 
   else
22250
 
-    lt_cv_deplibs_check_method=pass_all
22251
 
+    CFLAGS="-g"
22252
 
   fi
22253
 
-  ;;
22254
 
-
22255
 
-gnu*)
22256
 
-  lt_cv_deplibs_check_method=pass_all
22257
 
-  ;;
22258
 
-
22259
 
-hpux10.20* | hpux11*)
22260
 
-  lt_cv_file_magic_cmd=/usr/bin/file
22261
 
-  case $host_cpu in
22262
 
-  ia64*)
22263
 
-    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
22264
 
-    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
22265
 
-    ;;
22266
 
-  hppa*64*)
22267
 
-    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]'
22268
 
-    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
22269
 
-    ;;
22270
 
-  *)
22271
 
-    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
22272
 
-    lt_cv_file_magic_test_file=/usr/lib/libc.sl
22273
 
-    ;;
22274
 
-  esac
22275
 
-  ;;
22276
 
-
22277
 
-interix[3-9]*)
22278
 
-  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
22279
 
-  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
22280
 
-  ;;
22281
 
-
22282
 
-irix5* | irix6* | nonstopux*)
22283
 
-  case $LD in
22284
 
-  *-32|*"-32 ") libmagic=32-bit;;
22285
 
-  *-n32|*"-n32 ") libmagic=N32;;
22286
 
-  *-64|*"-64 ") libmagic=64-bit;;
22287
 
-  *) libmagic=never-match;;
22288
 
-  esac
22289
 
-  lt_cv_deplibs_check_method=pass_all
22290
 
-  ;;
22291
 
-
22292
 
-# This must be Linux ELF.
22293
 
-linux* | k*bsd*-gnu)
22294
 
-  lt_cv_deplibs_check_method=pass_all
22295
 
-  ;;
22296
 
-
22297
 
-netbsd*)
22298
 
-  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
22299
 
-    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
22300
 
-  else
22301
 
-    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
22302
 
-  fi
22303
 
-  ;;
22304
 
-
22305
 
-newos6*)
22306
 
-  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
22307
 
-  lt_cv_file_magic_cmd=/usr/bin/file
22308
 
-  lt_cv_file_magic_test_file=/usr/lib/libnls.so
22309
 
-  ;;
22310
 
-
22311
 
-nto-qnx*)
22312
 
-  lt_cv_deplibs_check_method=unknown
22313
 
-  ;;
22314
 
-
22315
 
-openbsd*)
22316
 
-  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
22317
 
-    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
22318
 
+else
22319
 
+  if test "$GCC" = yes; then
22320
 
+    CFLAGS="-O2"
22321
 
   else
22322
 
-    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
22323
 
+    CFLAGS=
22324
 
   fi
22325
 
-  ;;
22326
 
-
22327
 
-osf3* | osf4* | osf5*)
22328
 
-  lt_cv_deplibs_check_method=pass_all
22329
 
-  ;;
22330
 
-
22331
 
-rdos*)
22332
 
-  lt_cv_deplibs_check_method=pass_all
22333
 
-  ;;
22334
 
-
22335
 
-solaris*)
22336
 
-  lt_cv_deplibs_check_method=pass_all
22337
 
-  ;;
22338
 
-
22339
 
-sysv4 | sysv4.3*)
22340
 
-  case $host_vendor in
22341
 
-  motorola)
22342
 
-    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]'
22343
 
-    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
22344
 
-    ;;
22345
 
-  ncr)
22346
 
-    lt_cv_deplibs_check_method=pass_all
22347
 
-    ;;
22348
 
-  sequent)
22349
 
-    lt_cv_file_magic_cmd='/bin/file'
22350
 
-    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
22351
 
-    ;;
22352
 
-  sni)
22353
 
-    lt_cv_file_magic_cmd='/bin/file'
22354
 
-    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
22355
 
-    lt_cv_file_magic_test_file=/lib/libc.so
22356
 
-    ;;
22357
 
-  siemens)
22358
 
-    lt_cv_deplibs_check_method=pass_all
22359
 
-    ;;
22360
 
-  pc)
22361
 
-    lt_cv_deplibs_check_method=pass_all
22362
 
-    ;;
22363
 
-  esac
22364
 
-  ;;
22365
 
-
22366
 
-sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
22367
 
-  lt_cv_deplibs_check_method=pass_all
22368
 
-  ;;
22369
 
-esac
22370
 
-
22371
 
-fi
22372
 
-{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
22373
 
-$as_echo "$lt_cv_deplibs_check_method" >&6; }
22374
 
-file_magic_cmd=$lt_cv_file_magic_cmd
22375
 
-deplibs_check_method=$lt_cv_deplibs_check_method
22376
 
-test -z "$deplibs_check_method" && deplibs_check_method=unknown
22377
 
-
22378
 
-
22379
 
-
22380
 
-
22381
 
-# If no C compiler was specified, use CC.
22382
 
-LTCC=${LTCC-"$CC"}
22383
 
-
22384
 
-# If no C compiler flags were specified, use CFLAGS.
22385
 
-LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
22386
 
-
22387
 
-# Allow CC to be a program name with arguments.
22388
 
-compiler=$CC
22389
 
-
22390
 
-
22391
 
-# Check whether --enable-libtool-lock was given.
22392
 
-if test "${enable_libtool_lock+set}" = set; then
22393
 
-  enableval=$enable_libtool_lock;
22394
 
 fi
22395
 
-
22396
 
-test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
22397
 
-
22398
 
-# Some flags need to be propagated to the compiler or linker for good
22399
 
-# libtool support.
22400
 
-case $host in
22401
 
-ia64-*-hpux*)
22402
 
-  # Find out which ABI we are using.
22403
 
-  echo 'int i;' > conftest.$ac_ext
22404
 
-  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22405
 
-  (eval $ac_compile) 2>&5
22406
 
-  ac_status=$?
22407
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22408
 
-  (exit $ac_status); }; then
22409
 
-    case `/usr/bin/file conftest.$ac_objext` in
22410
 
-    *ELF-32*)
22411
 
-      HPUX_IA64_MODE="32"
22412
 
-      ;;
22413
 
-    *ELF-64*)
22414
 
-      HPUX_IA64_MODE="64"
22415
 
-      ;;
22416
 
-    esac
22417
 
-  fi
22418
 
-  rm -rf conftest*
22419
 
-  ;;
22420
 
-*-*-irix6*)
22421
 
-  # Find out which ABI we are using.
22422
 
-  echo '#line 4680 "configure"' > conftest.$ac_ext
22423
 
-  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22424
 
-  (eval $ac_compile) 2>&5
22425
 
-  ac_status=$?
22426
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22427
 
-  (exit $ac_status); }; then
22428
 
-   if test "$lt_cv_prog_gnu_ld" = yes; then
22429
 
-    case `/usr/bin/file conftest.$ac_objext` in
22430
 
-    *32-bit*)
22431
 
-      LD="${LD-ld} -melf32bsmip"
22432
 
-      ;;
22433
 
-    *N32*)
22434
 
-      LD="${LD-ld} -melf32bmipn32"
22435
 
-      ;;
22436
 
-    *64-bit*)
22437
 
-      LD="${LD-ld} -melf64bmip"
22438
 
-      ;;
22439
 
-    esac
22440
 
-   else
22441
 
-    case `/usr/bin/file conftest.$ac_objext` in
22442
 
-    *32-bit*)
22443
 
-      LD="${LD-ld} -32"
22444
 
-      ;;
22445
 
-    *N32*)
22446
 
-      LD="${LD-ld} -n32"
22447
 
-      ;;
22448
 
-    *64-bit*)
22449
 
-      LD="${LD-ld} -64"
22450
 
-      ;;
22451
 
-    esac
22452
 
-   fi
22453
 
-  fi
22454
 
-  rm -rf conftest*
22455
 
-  ;;
22456
 
-
22457
 
-x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
22458
 
-s390*-*linux*|sparc*-*linux*)
22459
 
-  # Find out which ABI we are using.
22460
 
-  echo 'int i;' > conftest.$ac_ext
22461
 
-  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22462
 
-  (eval $ac_compile) 2>&5
22463
 
-  ac_status=$?
22464
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22465
 
-  (exit $ac_status); }; then
22466
 
-    case `/usr/bin/file conftest.o` in
22467
 
-    *32-bit*)
22468
 
-      case $host in
22469
 
-        x86_64-*kfreebsd*-gnu)
22470
 
-          LD="${LD-ld} -m elf_i386_fbsd"
22471
 
-          ;;
22472
 
-        x86_64-*linux*)
22473
 
-          LD="${LD-ld} -m elf_i386"
22474
 
-          ;;
22475
 
-        ppc64-*linux*|powerpc64-*linux*)
22476
 
-          LD="${LD-ld} -m elf32ppclinux"
22477
 
-          ;;
22478
 
-        s390x-*linux*)
22479
 
-          LD="${LD-ld} -m elf_s390"
22480
 
-          ;;
22481
 
-        sparc64-*linux*)
22482
 
-          LD="${LD-ld} -m elf32_sparc"
22483
 
-          ;;
22484
 
-      esac
22485
 
-      ;;
22486
 
-    *64-bit*)
22487
 
-      libsuff=64
22488
 
-      case $host in
22489
 
-        x86_64-*kfreebsd*-gnu)
22490
 
-          LD="${LD-ld} -m elf_x86_64_fbsd"
22491
 
-          ;;
22492
 
-        x86_64-*linux*)
22493
 
-          LD="${LD-ld} -m elf_x86_64"
22494
 
-          ;;
22495
 
-        ppc*-*linux*|powerpc*-*linux*)
22496
 
-          LD="${LD-ld} -m elf64ppc"
22497
 
-          ;;
22498
 
-        s390*-*linux*)
22499
 
-          LD="${LD-ld} -m elf64_s390"
22500
 
-          ;;
22501
 
-        sparc*-*linux*)
22502
 
-          LD="${LD-ld} -m elf64_sparc"
22503
 
-          ;;
22504
 
-      esac
22505
 
-      ;;
22506
 
-    esac
22507
 
-  fi
22508
 
-  rm -rf conftest*
22509
 
-  ;;
22510
 
-
22511
 
-*-*-sco3.2v5*)
22512
 
-  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
22513
 
-  SAVE_CFLAGS="$CFLAGS"
22514
 
-  CFLAGS="$CFLAGS -belf"
22515
 
-  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
22516
 
-$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
22517
 
-if test "${lt_cv_cc_needs_belf+set}" = set; then
22518
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
22519
 
+$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
22520
 
+if test "${ac_cv_prog_cc_c89+set}" = set; then :
22521
 
   $as_echo_n "(cached) " >&6
22522
 
 else
22523
 
-  ac_ext=c
22524
 
-ac_cpp='$CPP $CPPFLAGS'
22525
 
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22526
 
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22527
 
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
22528
 
-
22529
 
-     cat >conftest.$ac_ext <<_ACEOF
22530
 
-/* confdefs.h.  */
22531
 
-_ACEOF
22532
 
-cat confdefs.h >>conftest.$ac_ext
22533
 
-cat >>conftest.$ac_ext <<_ACEOF
22534
 
+  ac_cv_prog_cc_c89=no
22535
 
+ac_save_CC=$CC
22536
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22537
 
 /* end confdefs.h.  */
22538
 
+#include <stdarg.h>
22539
 
+#include <stdio.h>
22540
 
+#include <sys/types.h>
22541
 
+#include <sys/stat.h>
22542
 
+/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
22543
 
+struct buf { int x; };
22544
 
+FILE * (*rcsopen) (struct buf *, struct stat *, int);
22545
 
+static char *e (p, i)
22546
 
+     char **p;
22547
 
+     int i;
22548
 
+{
22549
 
+  return p[i];
22550
 
+}
22551
 
+static char *f (char * (*g) (char **, int), char **p, ...)
22552
 
+{
22553
 
+  char *s;
22554
 
+  va_list v;
22555
 
+  va_start (v,p);
22556
 
+  s = g (p, va_arg (v,int));
22557
 
+  va_end (v);
22558
 
+  return s;
22559
 
+}
22560
 
+
22561
 
+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
22562
 
+   function prototypes and stuff, but not '\xHH' hex character constants.
22563
 
+   These don't provoke an error unfortunately, instead are silently treated
22564
 
+   as 'x'.  The following induces an error, until -std is added to get
22565
 
+   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
22566
 
+   array size at least.  It's necessary to write '\x00'==0 to get something
22567
 
+   that's true only with -std.  */
22568
 
+int osf4_cc_array ['\x00' == 0 ? 1 : -1];
22569
 
+
22570
 
+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
22571
 
+   inside strings and character constants.  */
22572
 
+#define FOO(x) 'x'
22573
 
+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
22574
 
 
22575
 
+int test (int i, double x);
22576
 
+struct s1 {int (*f) (int a);};
22577
 
+struct s2 {int (*f) (double a);};
22578
 
+int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
22579
 
+int argc;
22580
 
+char **argv;
22581
 
 int
22582
 
 main ()
22583
 
 {
22584
 
-
22585
 
+return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
22586
 
   ;
22587
 
   return 0;
22588
 
 }
22589
 
 _ACEOF
22590
 
-rm -f conftest.$ac_objext conftest$ac_exeext
22591
 
-if { (ac_try="$ac_link"
22592
 
-case "(($ac_try" in
22593
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22594
 
-  *) ac_try_echo=$ac_try;;
22595
 
+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
22596
 
+       -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
22597
 
+do
22598
 
+  CC="$ac_save_CC $ac_arg"
22599
 
+  if ac_fn_c_try_compile "$LINENO"; then :
22600
 
+  ac_cv_prog_cc_c89=$ac_arg
22601
 
+fi
22602
 
+rm -f core conftest.err conftest.$ac_objext
22603
 
+  test "x$ac_cv_prog_cc_c89" != "xno" && break
22604
 
+done
22605
 
+rm -f conftest.$ac_ext
22606
 
+CC=$ac_save_CC
22607
 
+
22608
 
+fi
22609
 
+# AC_CACHE_VAL
22610
 
+case "x$ac_cv_prog_cc_c89" in
22611
 
+  x)
22612
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
22613
 
+$as_echo "none needed" >&6; } ;;
22614
 
+  xno)
22615
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
22616
 
+$as_echo "unsupported" >&6; } ;;
22617
 
+  *)
22618
 
+    CC="$CC $ac_cv_prog_cc_c89"
22619
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
22620
 
+$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
22621
 
 esac
22622
 
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22623
 
-$as_echo "$ac_try_echo") >&5
22624
 
-  (eval "$ac_link") 2>conftest.er1
22625
 
-  ac_status=$?
22626
 
-  grep -v '^ *+' conftest.er1 >conftest.err
22627
 
-  rm -f conftest.er1
22628
 
-  cat conftest.err >&5
22629
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22630
 
-  (exit $ac_status); } && {
22631
 
-        test -z "$ac_c_werror_flag" ||
22632
 
-        test ! -s conftest.err
22633
 
-       } && test -s conftest$ac_exeext && {
22634
 
-        test "$cross_compiling" = yes ||
22635
 
-        $as_test_x conftest$ac_exeext
22636
 
-       }; then
22637
 
-  lt_cv_cc_needs_belf=yes
22638
 
-else
22639
 
-  $as_echo "$as_me: failed program was:" >&5
22640
 
-sed 's/^/| /' conftest.$ac_ext >&5
22641
 
+if test "x$ac_cv_prog_cc_c89" != xno; then :
22642
 
 
22643
 
-       lt_cv_cc_needs_belf=no
22644
 
 fi
22645
 
 
22646
 
-rm -rf conftest.dSYM
22647
 
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22648
 
-      conftest$ac_exeext conftest.$ac_ext
22649
 
-     ac_ext=c
22650
 
+ac_ext=c
22651
 
 ac_cpp='$CPP $CPPFLAGS'
22652
 
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22653
 
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22654
 
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22655
 
 
22656
 
-fi
22657
 
-{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
22658
 
-$as_echo "$lt_cv_cc_needs_belf" >&6; }
22659
 
-  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
22660
 
-    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
22661
 
-    CFLAGS="$SAVE_CFLAGS"
22662
 
-  fi
22663
 
-  ;;
22664
 
-sparc*-*solaris*)
22665
 
-  # Find out which ABI we are using.
22666
 
-  echo 'int i;' > conftest.$ac_ext
22667
 
-  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22668
 
-  (eval $ac_compile) 2>&5
22669
 
-  ac_status=$?
22670
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22671
 
-  (exit $ac_status); }; then
22672
 
-    case `/usr/bin/file conftest.o` in
22673
 
-    *64-bit*)
22674
 
-      case $lt_cv_prog_gnu_ld in
22675
 
-      yes*) LD="${LD-ld} -m elf64_sparc" ;;
22676
 
-      *)
22677
 
-        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
22678
 
-         LD="${LD-ld} -64"
22679
 
-       fi
22680
 
-       ;;
22681
 
-      esac
22682
 
-      ;;
22683
 
-    esac
22684
 
-  fi
22685
 
-  rm -rf conftest*
22686
 
-  ;;
22687
 
+depcc="$CC"   am_compiler_list=
22688
 
 
22689
 
-*-*-cygwin* | *-*-mingw* | *-*-pw32*)
22690
 
-  if test -n "$ac_tool_prefix"; then
22691
 
-  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
22692
 
-set dummy ${ac_tool_prefix}dlltool; ac_word=$2
22693
 
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
22694
 
-$as_echo_n "checking for $ac_word... " >&6; }
22695
 
-if test "${ac_cv_prog_DLLTOOL+set}" = set; then
22696
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
22697
 
+$as_echo_n "checking dependency style of $depcc... " >&6; }
22698
 
+if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
22699
 
   $as_echo_n "(cached) " >&6
22700
 
 else
22701
 
-  if test -n "$DLLTOOL"; then
22702
 
-  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
22703
 
-else
22704
 
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22705
 
-for as_dir in $PATH
22706
 
-do
22707
 
-  IFS=$as_save_IFS
22708
 
-  test -z "$as_dir" && as_dir=.
22709
 
-  for ac_exec_ext in '' $ac_executable_extensions; do
22710
 
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22711
 
-    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
22712
 
-    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22713
 
-    break 2
22714
 
+  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
22715
 
+  # We make a subdir and do the tests there.  Otherwise we can end up
22716
 
+  # making bogus files that we don't know about and never remove.  For
22717
 
+  # instance it was reported that on HP-UX the gcc test will end up
22718
 
+  # making a dummy file named `D' -- because `-MD' means `put the output
22719
 
+  # in D'.
22720
 
+  mkdir conftest.dir
22721
 
+  # Copy depcomp to subdir because otherwise we won't find it if we're
22722
 
+  # using a relative directory.
22723
 
+  cp "$am_depcomp" conftest.dir
22724
 
+  cd conftest.dir
22725
 
+  # We will build objects and dependencies in a subdirectory because
22726
 
+  # it helps to detect inapplicable dependency modes.  For instance
22727
 
+  # both Tru64's cc and ICC support -MD to output dependencies as a
22728
 
+  # side effect of compilation, but ICC will put the dependencies in
22729
 
+  # the current directory while Tru64 will put them in the object
22730
 
+  # directory.
22731
 
+  mkdir sub
22732
 
+
22733
 
+  am_cv_CC_dependencies_compiler_type=none
22734
 
+  if test "$am_compiler_list" = ""; then
22735
 
+     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
22736
 
   fi
22737
 
-done
22738
 
-done
22739
 
-IFS=$as_save_IFS
22740
 
+  am__universal=false
22741
 
+  case " $depcc " in #(
22742
 
+     *\ -arch\ *\ -arch\ *) am__universal=true ;;
22743
 
+     esac
22744
 
+
22745
 
+  for depmode in $am_compiler_list; do
22746
 
+    # Setup a source with many dependencies, because some compilers
22747
 
+    # like to wrap large dependency lists on column 80 (with \), and
22748
 
+    # we should not choose a depcomp mode which is confused by this.
22749
 
+    #
22750
 
+    # We need to recreate these files for each test, as the compiler may
22751
 
+    # overwrite some of them when testing with obscure command lines.
22752
 
+    # This happens at least with the AIX C compiler.
22753
 
+    : > sub/conftest.c
22754
 
+    for i in 1 2 3 4 5 6; do
22755
 
+      echo '#include "conftst'$i'.h"' >> sub/conftest.c
22756
 
+      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
22757
 
+      # Solaris 8's {/usr,}/bin/sh.
22758
 
+      touch sub/conftst$i.h
22759
 
+    done
22760
 
+    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
22761
 
+
22762
 
+    # We check with `-c' and `-o' for the sake of the "dashmstdout"
22763
 
+    # mode.  It turns out that the SunPro C++ compiler does not properly
22764
 
+    # handle `-M -o', and we need to detect this.  Also, some Intel
22765
 
+    # versions had trouble with output in subdirs
22766
 
+    am__obj=sub/conftest.${OBJEXT-o}
22767
 
+    am__minus_obj="-o $am__obj"
22768
 
+    case $depmode in
22769
 
+    gcc)
22770
 
+      # This depmode causes a compiler race in universal mode.
22771
 
+      test "$am__universal" = false || continue
22772
 
+      ;;
22773
 
+    nosideeffect)
22774
 
+      # after this tag, mechanisms are not by side-effect, so they'll
22775
 
+      # only be used when explicitly requested
22776
 
+      if test "x$enable_dependency_tracking" = xyes; then
22777
 
+       continue
22778
 
+      else
22779
 
+       break
22780
 
+      fi
22781
 
+      ;;
22782
 
+    msvisualcpp | msvcmsys)
22783
 
+      # This compiler won't grok `-c -o', but also, the minuso test has
22784
 
+      # not run yet.  These depmodes are late enough in the game, and
22785
 
+      # so weak that their functioning should not be impacted.
22786
 
+      am__obj=conftest.${OBJEXT-o}
22787
 
+      am__minus_obj=
22788
 
+      ;;
22789
 
+    none) break ;;
22790
 
+    esac
22791
 
+    if depmode=$depmode \
22792
 
+       source=sub/conftest.c object=$am__obj \
22793
 
+       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
22794
 
+       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
22795
 
+         >/dev/null 2>conftest.err &&
22796
 
+       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
22797
 
+       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
22798
 
+       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
22799
 
+       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
22800
 
+      # icc doesn't choke on unknown options, it will just issue warnings
22801
 
+      # or remarks (even with -Werror).  So we grep stderr for any message
22802
 
+      # that says an option was ignored or not supported.
22803
 
+      # When given -MP, icc 7.0 and 7.1 complain thusly:
22804
 
+      #   icc: Command line warning: ignoring option '-M'; no argument required
22805
 
+      # The diagnosis changed in icc 8.0:
22806
 
+      #   icc: Command line remark: option '-MP' not supported
22807
 
+      if (grep 'ignoring option' conftest.err ||
22808
 
+          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
22809
 
+        am_cv_CC_dependencies_compiler_type=$depmode
22810
 
+        break
22811
 
+      fi
22812
 
+    fi
22813
 
+  done
22814
 
 
22815
 
+  cd ..
22816
 
+  rm -rf conftest.dir
22817
 
+else
22818
 
+  am_cv_CC_dependencies_compiler_type=none
22819
 
 fi
22820
 
+
22821
 
 fi
22822
 
-DLLTOOL=$ac_cv_prog_DLLTOOL
22823
 
-if test -n "$DLLTOOL"; then
22824
 
-  { $as_echo "$as_me:$LINENO: result: $DLLTOOL" >&5
22825
 
-$as_echo "$DLLTOOL" >&6; }
22826
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
22827
 
+$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
22828
 
+CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
22829
 
+
22830
 
+ if
22831
 
+  test "x$enable_dependency_tracking" != xno \
22832
 
+  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
22833
 
+  am__fastdepCC_TRUE=
22834
 
+  am__fastdepCC_FALSE='#'
22835
 
 else
22836
 
-  { $as_echo "$as_me:$LINENO: result: no" >&5
22837
 
-$as_echo "no" >&6; }
22838
 
+  am__fastdepCC_TRUE='#'
22839
 
+  am__fastdepCC_FALSE=
22840
 
 fi
22841
 
 
22842
 
 
22843
 
-fi
22844
 
-if test -z "$ac_cv_prog_DLLTOOL"; then
22845
 
-  ac_ct_DLLTOOL=$DLLTOOL
22846
 
-  # Extract the first word of "dlltool", so it can be a program name with args.
22847
 
-set dummy dlltool; ac_word=$2
22848
 
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
22849
 
-$as_echo_n "checking for $ac_word... " >&6; }
22850
 
-if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
22851
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
22852
 
+$as_echo_n "checking for a sed that does not truncate output... " >&6; }
22853
 
+if test "${ac_cv_path_SED+set}" = set; then :
22854
 
   $as_echo_n "(cached) " >&6
22855
 
 else
22856
 
-  if test -n "$ac_ct_DLLTOOL"; then
22857
 
-  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
22858
 
-else
22859
 
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22860
 
+            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
22861
 
+     for ac_i in 1 2 3 4 5 6 7; do
22862
 
+       ac_script="$ac_script$as_nl$ac_script"
22863
 
+     done
22864
 
+     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
22865
 
+     { ac_script=; unset ac_script;}
22866
 
+     if test -z "$SED"; then
22867
 
+  ac_path_SED_found=false
22868
 
+  # Loop through the user's path and test for each of PROGNAME-LIST
22869
 
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22870
 
 for as_dir in $PATH
22871
 
 do
22872
 
   IFS=$as_save_IFS
22873
 
   test -z "$as_dir" && as_dir=.
22874
 
-  for ac_exec_ext in '' $ac_executable_extensions; do
22875
 
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22876
 
-    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
22877
 
-    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22878
 
-    break 2
22879
 
-  fi
22880
 
-done
22881
 
-done
22882
 
-IFS=$as_save_IFS
22883
 
+    for ac_prog in sed gsed; do
22884
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
22885
 
+      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
22886
 
+      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
22887
 
+# Check for GNU ac_path_SED and select it if it is found.
22888
 
+  # Check for GNU $ac_path_SED
22889
 
+case `"$ac_path_SED" --version 2>&1` in
22890
 
+*GNU*)
22891
 
+  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
22892
 
+*)
22893
 
+  ac_count=0
22894
 
+  $as_echo_n 0123456789 >"conftest.in"
22895
 
+  while :
22896
 
+  do
22897
 
+    cat "conftest.in" "conftest.in" >"conftest.tmp"
22898
 
+    mv "conftest.tmp" "conftest.in"
22899
 
+    cp "conftest.in" "conftest.nl"
22900
 
+    $as_echo '' >> "conftest.nl"
22901
 
+    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
22902
 
+    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
22903
 
+    as_fn_arith $ac_count + 1 && ac_count=$as_val
22904
 
+    if test $ac_count -gt ${ac_path_SED_max-0}; then
22905
 
+      # Best one so far, save it but keep looking for a better one
22906
 
+      ac_cv_path_SED="$ac_path_SED"
22907
 
+      ac_path_SED_max=$ac_count
22908
 
+    fi
22909
 
+    # 10*(2^10) chars as input seems more than enough
22910
 
+    test $ac_count -gt 10 && break
22911
 
+  done
22912
 
+  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
22913
 
+esac
22914
 
 
22915
 
-fi
22916
 
-fi
22917
 
-ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
22918
 
-if test -n "$ac_ct_DLLTOOL"; then
22919
 
-  { $as_echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
22920
 
-$as_echo "$ac_ct_DLLTOOL" >&6; }
22921
 
+      $ac_path_SED_found && break 3
22922
 
+    done
22923
 
+  done
22924
 
+  done
22925
 
+IFS=$as_save_IFS
22926
 
+  if test -z "$ac_cv_path_SED"; then
22927
 
+    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
22928
 
+  fi
22929
 
 else
22930
 
-  { $as_echo "$as_me:$LINENO: result: no" >&5
22931
 
-$as_echo "no" >&6; }
22932
 
+  ac_cv_path_SED=$SED
22933
 
 fi
22934
 
 
22935
 
-  if test "x$ac_ct_DLLTOOL" = x; then
22936
 
-    DLLTOOL="false"
22937
 
-  else
22938
 
-    case $cross_compiling:$ac_tool_warned in
22939
 
-yes:)
22940
 
-{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
22941
 
-whose name does not start with the host triplet.  If you think this
22942
 
-configuration is useful to you, please write to autoconf@gnu.org." >&5
22943
 
-$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
22944
 
-whose name does not start with the host triplet.  If you think this
22945
 
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
22946
 
-ac_tool_warned=yes ;;
22947
 
-esac
22948
 
-    DLLTOOL=$ac_ct_DLLTOOL
22949
 
-  fi
22950
 
-else
22951
 
-  DLLTOOL="$ac_cv_prog_DLLTOOL"
22952
 
 fi
22953
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
22954
 
+$as_echo "$ac_cv_path_SED" >&6; }
22955
 
+ SED="$ac_cv_path_SED"
22956
 
+  rm -f conftest.sed
22957
 
 
22958
 
-  if test -n "$ac_tool_prefix"; then
22959
 
-  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
22960
 
-set dummy ${ac_tool_prefix}as; ac_word=$2
22961
 
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
22962
 
-$as_echo_n "checking for $ac_word... " >&6; }
22963
 
-if test "${ac_cv_prog_AS+set}" = set; then
22964
 
-  $as_echo_n "(cached) " >&6
22965
 
-else
22966
 
-  if test -n "$AS"; then
22967
 
-  ac_cv_prog_AS="$AS" # Let the user override the test.
22968
 
-else
22969
 
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22970
 
-for as_dir in $PATH
22971
 
-do
22972
 
-  IFS=$as_save_IFS
22973
 
-  test -z "$as_dir" && as_dir=.
22974
 
-  for ac_exec_ext in '' $ac_executable_extensions; do
22975
 
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22976
 
-    ac_cv_prog_AS="${ac_tool_prefix}as"
22977
 
-    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22978
 
-    break 2
22979
 
-  fi
22980
 
-done
22981
 
-done
22982
 
-IFS=$as_save_IFS
22983
 
+test -z "$SED" && SED=sed
22984
 
+Xsed="$SED -e 1s/^X//"
22985
 
 
22986
 
-fi
22987
 
-fi
22988
 
-AS=$ac_cv_prog_AS
22989
 
-if test -n "$AS"; then
22990
 
-  { $as_echo "$as_me:$LINENO: result: $AS" >&5
22991
 
-$as_echo "$AS" >&6; }
22992
 
-else
22993
 
-  { $as_echo "$as_me:$LINENO: result: no" >&5
22994
 
-$as_echo "no" >&6; }
22995
 
-fi
22996
 
 
22997
 
 
22998
 
-fi
22999
 
-if test -z "$ac_cv_prog_AS"; then
23000
 
-  ac_ct_AS=$AS
23001
 
-  # Extract the first word of "as", so it can be a program name with args.
23002
 
-set dummy as; ac_word=$2
23003
 
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
23004
 
-$as_echo_n "checking for $ac_word... " >&6; }
23005
 
-if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
23006
 
+
23007
 
+
23008
 
+
23009
 
+
23010
 
+
23011
 
+
23012
 
+
23013
 
+
23014
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
23015
 
+$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
23016
 
+if test "${ac_cv_path_GREP+set}" = set; then :
23017
 
   $as_echo_n "(cached) " >&6
23018
 
 else
23019
 
-  if test -n "$ac_ct_AS"; then
23020
 
-  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
23021
 
-else
23022
 
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23023
 
-for as_dir in $PATH
23024
 
-do
23025
 
-  IFS=$as_save_IFS
23026
 
-  test -z "$as_dir" && as_dir=.
23027
 
-  for ac_exec_ext in '' $ac_executable_extensions; do
23028
 
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23029
 
-    ac_cv_prog_ac_ct_AS="as"
23030
 
-    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23031
 
-    break 2
23032
 
-  fi
23033
 
-done
23034
 
-done
23035
 
-IFS=$as_save_IFS
23036
 
+  if test -z "$GREP"; then
23037
 
+  ac_path_GREP_found=false
23038
 
+  # Loop through the user's path and test for each of PROGNAME-LIST
23039
 
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23040
 
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
23041
 
+do
23042
 
+  IFS=$as_save_IFS
23043
 
+  test -z "$as_dir" && as_dir=.
23044
 
+    for ac_prog in grep ggrep; do
23045
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
23046
 
+      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
23047
 
+      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
23048
 
+# Check for GNU ac_path_GREP and select it if it is found.
23049
 
+  # Check for GNU $ac_path_GREP
23050
 
+case `"$ac_path_GREP" --version 2>&1` in
23051
 
+*GNU*)
23052
 
+  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
23053
 
+*)
23054
 
+  ac_count=0
23055
 
+  $as_echo_n 0123456789 >"conftest.in"
23056
 
+  while :
23057
 
+  do
23058
 
+    cat "conftest.in" "conftest.in" >"conftest.tmp"
23059
 
+    mv "conftest.tmp" "conftest.in"
23060
 
+    cp "conftest.in" "conftest.nl"
23061
 
+    $as_echo 'GREP' >> "conftest.nl"
23062
 
+    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
23063
 
+    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
23064
 
+    as_fn_arith $ac_count + 1 && ac_count=$as_val
23065
 
+    if test $ac_count -gt ${ac_path_GREP_max-0}; then
23066
 
+      # Best one so far, save it but keep looking for a better one
23067
 
+      ac_cv_path_GREP="$ac_path_GREP"
23068
 
+      ac_path_GREP_max=$ac_count
23069
 
+    fi
23070
 
+    # 10*(2^10) chars as input seems more than enough
23071
 
+    test $ac_count -gt 10 && break
23072
 
+  done
23073
 
+  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
23074
 
+esac
23075
 
 
23076
 
-fi
23077
 
-fi
23078
 
-ac_ct_AS=$ac_cv_prog_ac_ct_AS
23079
 
-if test -n "$ac_ct_AS"; then
23080
 
-  { $as_echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
23081
 
-$as_echo "$ac_ct_AS" >&6; }
23082
 
+      $ac_path_GREP_found && break 3
23083
 
+    done
23084
 
+  done
23085
 
+  done
23086
 
+IFS=$as_save_IFS
23087
 
+  if test -z "$ac_cv_path_GREP"; then
23088
 
+    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
23089
 
+  fi
23090
 
 else
23091
 
-  { $as_echo "$as_me:$LINENO: result: no" >&5
23092
 
-$as_echo "no" >&6; }
23093
 
+  ac_cv_path_GREP=$GREP
23094
 
 fi
23095
 
 
23096
 
-  if test "x$ac_ct_AS" = x; then
23097
 
-    AS="false"
23098
 
-  else
23099
 
-    case $cross_compiling:$ac_tool_warned in
23100
 
-yes:)
23101
 
-{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
23102
 
-whose name does not start with the host triplet.  If you think this
23103
 
-configuration is useful to you, please write to autoconf@gnu.org." >&5
23104
 
-$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
23105
 
-whose name does not start with the host triplet.  If you think this
23106
 
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
23107
 
-ac_tool_warned=yes ;;
23108
 
-esac
23109
 
-    AS=$ac_ct_AS
23110
 
-  fi
23111
 
-else
23112
 
-  AS="$ac_cv_prog_AS"
23113
 
 fi
23114
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
23115
 
+$as_echo "$ac_cv_path_GREP" >&6; }
23116
 
+ GREP="$ac_cv_path_GREP"
23117
 
 
23118
 
-  if test -n "$ac_tool_prefix"; then
23119
 
-  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
23120
 
-set dummy ${ac_tool_prefix}objdump; ac_word=$2
23121
 
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
23122
 
-$as_echo_n "checking for $ac_word... " >&6; }
23123
 
-if test "${ac_cv_prog_OBJDUMP+set}" = set; then
23124
 
+
23125
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
23126
 
+$as_echo_n "checking for egrep... " >&6; }
23127
 
+if test "${ac_cv_path_EGREP+set}" = set; then :
23128
 
   $as_echo_n "(cached) " >&6
23129
 
 else
23130
 
-  if test -n "$OBJDUMP"; then
23131
 
-  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
23132
 
-else
23133
 
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23134
 
-for as_dir in $PATH
23135
 
+  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
23136
 
+   then ac_cv_path_EGREP="$GREP -E"
23137
 
+   else
23138
 
+     if test -z "$EGREP"; then
23139
 
+  ac_path_EGREP_found=false
23140
 
+  # Loop through the user's path and test for each of PROGNAME-LIST
23141
 
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23142
 
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
23143
 
 do
23144
 
   IFS=$as_save_IFS
23145
 
   test -z "$as_dir" && as_dir=.
23146
 
-  for ac_exec_ext in '' $ac_executable_extensions; do
23147
 
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23148
 
-    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
23149
 
-    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23150
 
-    break 2
23151
 
-  fi
23152
 
-done
23153
 
-done
23154
 
-IFS=$as_save_IFS
23155
 
+    for ac_prog in egrep; do
23156
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
23157
 
+      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
23158
 
+      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
23159
 
+# Check for GNU ac_path_EGREP and select it if it is found.
23160
 
+  # Check for GNU $ac_path_EGREP
23161
 
+case `"$ac_path_EGREP" --version 2>&1` in
23162
 
+*GNU*)
23163
 
+  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
23164
 
+*)
23165
 
+  ac_count=0
23166
 
+  $as_echo_n 0123456789 >"conftest.in"
23167
 
+  while :
23168
 
+  do
23169
 
+    cat "conftest.in" "conftest.in" >"conftest.tmp"
23170
 
+    mv "conftest.tmp" "conftest.in"
23171
 
+    cp "conftest.in" "conftest.nl"
23172
 
+    $as_echo 'EGREP' >> "conftest.nl"
23173
 
+    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
23174
 
+    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
23175
 
+    as_fn_arith $ac_count + 1 && ac_count=$as_val
23176
 
+    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
23177
 
+      # Best one so far, save it but keep looking for a better one
23178
 
+      ac_cv_path_EGREP="$ac_path_EGREP"
23179
 
+      ac_path_EGREP_max=$ac_count
23180
 
+    fi
23181
 
+    # 10*(2^10) chars as input seems more than enough
23182
 
+    test $ac_count -gt 10 && break
23183
 
+  done
23184
 
+  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
23185
 
+esac
23186
 
 
23187
 
-fi
23188
 
-fi
23189
 
-OBJDUMP=$ac_cv_prog_OBJDUMP
23190
 
-if test -n "$OBJDUMP"; then
23191
 
-  { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
23192
 
-$as_echo "$OBJDUMP" >&6; }
23193
 
+      $ac_path_EGREP_found && break 3
23194
 
+    done
23195
 
+  done
23196
 
+  done
23197
 
+IFS=$as_save_IFS
23198
 
+  if test -z "$ac_cv_path_EGREP"; then
23199
 
+    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
23200
 
+  fi
23201
 
 else
23202
 
-  { $as_echo "$as_me:$LINENO: result: no" >&5
23203
 
-$as_echo "no" >&6; }
23204
 
+  ac_cv_path_EGREP=$EGREP
23205
 
 fi
23206
 
 
23207
 
-
23208
 
+   fi
23209
 
 fi
23210
 
-if test -z "$ac_cv_prog_OBJDUMP"; then
23211
 
-  ac_ct_OBJDUMP=$OBJDUMP
23212
 
-  # Extract the first word of "objdump", so it can be a program name with args.
23213
 
-set dummy objdump; ac_word=$2
23214
 
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
23215
 
-$as_echo_n "checking for $ac_word... " >&6; }
23216
 
-if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
23217
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
23218
 
+$as_echo "$ac_cv_path_EGREP" >&6; }
23219
 
+ EGREP="$ac_cv_path_EGREP"
23220
 
+
23221
 
+
23222
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
23223
 
+$as_echo_n "checking for fgrep... " >&6; }
23224
 
+if test "${ac_cv_path_FGREP+set}" = set; then :
23225
 
   $as_echo_n "(cached) " >&6
23226
 
 else
23227
 
-  if test -n "$ac_ct_OBJDUMP"; then
23228
 
-  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
23229
 
-else
23230
 
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23231
 
-for as_dir in $PATH
23232
 
+  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
23233
 
+   then ac_cv_path_FGREP="$GREP -F"
23234
 
+   else
23235
 
+     if test -z "$FGREP"; then
23236
 
+  ac_path_FGREP_found=false
23237
 
+  # Loop through the user's path and test for each of PROGNAME-LIST
23238
 
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23239
 
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
23240
 
 do
23241
 
   IFS=$as_save_IFS
23242
 
   test -z "$as_dir" && as_dir=.
23243
 
-  for ac_exec_ext in '' $ac_executable_extensions; do
23244
 
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23245
 
-    ac_cv_prog_ac_ct_OBJDUMP="objdump"
23246
 
-    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23247
 
-    break 2
23248
 
-  fi
23249
 
-done
23250
 
-done
23251
 
-IFS=$as_save_IFS
23252
 
+    for ac_prog in fgrep; do
23253
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
23254
 
+      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
23255
 
+      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
23256
 
+# Check for GNU ac_path_FGREP and select it if it is found.
23257
 
+  # Check for GNU $ac_path_FGREP
23258
 
+case `"$ac_path_FGREP" --version 2>&1` in
23259
 
+*GNU*)
23260
 
+  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
23261
 
+*)
23262
 
+  ac_count=0
23263
 
+  $as_echo_n 0123456789 >"conftest.in"
23264
 
+  while :
23265
 
+  do
23266
 
+    cat "conftest.in" "conftest.in" >"conftest.tmp"
23267
 
+    mv "conftest.tmp" "conftest.in"
23268
 
+    cp "conftest.in" "conftest.nl"
23269
 
+    $as_echo 'FGREP' >> "conftest.nl"
23270
 
+    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
23271
 
+    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
23272
 
+    as_fn_arith $ac_count + 1 && ac_count=$as_val
23273
 
+    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
23274
 
+      # Best one so far, save it but keep looking for a better one
23275
 
+      ac_cv_path_FGREP="$ac_path_FGREP"
23276
 
+      ac_path_FGREP_max=$ac_count
23277
 
+    fi
23278
 
+    # 10*(2^10) chars as input seems more than enough
23279
 
+    test $ac_count -gt 10 && break
23280
 
+  done
23281
 
+  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
23282
 
+esac
23283
 
 
23284
 
-fi
23285
 
-fi
23286
 
-ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
23287
 
-if test -n "$ac_ct_OBJDUMP"; then
23288
 
-  { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
23289
 
-$as_echo "$ac_ct_OBJDUMP" >&6; }
23290
 
+      $ac_path_FGREP_found && break 3
23291
 
+    done
23292
 
+  done
23293
 
+  done
23294
 
+IFS=$as_save_IFS
23295
 
+  if test -z "$ac_cv_path_FGREP"; then
23296
 
+    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
23297
 
+  fi
23298
 
 else
23299
 
-  { $as_echo "$as_me:$LINENO: result: no" >&5
23300
 
-$as_echo "no" >&6; }
23301
 
+  ac_cv_path_FGREP=$FGREP
23302
 
 fi
23303
 
 
23304
 
-  if test "x$ac_ct_OBJDUMP" = x; then
23305
 
-    OBJDUMP="false"
23306
 
-  else
23307
 
-    case $cross_compiling:$ac_tool_warned in
23308
 
-yes:)
23309
 
-{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
23310
 
-whose name does not start with the host triplet.  If you think this
23311
 
-configuration is useful to you, please write to autoconf@gnu.org." >&5
23312
 
-$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
23313
 
-whose name does not start with the host triplet.  If you think this
23314
 
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
23315
 
-ac_tool_warned=yes ;;
23316
 
-esac
23317
 
-    OBJDUMP=$ac_ct_OBJDUMP
23318
 
-  fi
23319
 
-else
23320
 
-  OBJDUMP="$ac_cv_prog_OBJDUMP"
23321
 
+   fi
23322
 
 fi
23323
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
23324
 
+$as_echo "$ac_cv_path_FGREP" >&6; }
23325
 
+ FGREP="$ac_cv_path_FGREP"
23326
 
 
23327
 
-  ;;
23328
 
 
23329
 
-esac
23330
 
+test -z "$GREP" && GREP=grep
23331
 
 
23332
 
-need_locks="$enable_libtool_lock"
23333
 
 
23334
 
 
23335
 
-ac_ext=c
23336
 
-ac_cpp='$CPP $CPPFLAGS'
23337
 
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23338
 
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23339
 
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
23340
 
-{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
23341
 
-$as_echo_n "checking how to run the C preprocessor... " >&6; }
23342
 
-# On Suns, sometimes $CPP names a directory.
23343
 
-if test -n "$CPP" && test -d "$CPP"; then
23344
 
-  CPP=
23345
 
-fi
23346
 
-if test -z "$CPP"; then
23347
 
-  if test "${ac_cv_prog_CPP+set}" = set; then
23348
 
-  $as_echo_n "(cached) " >&6
23349
 
+
23350
 
+
23351
 
+
23352
 
+
23353
 
+
23354
 
+
23355
 
+
23356
 
+
23357
 
+
23358
 
+
23359
 
+
23360
 
+
23361
 
+
23362
 
+
23363
 
+
23364
 
+
23365
 
+# Check whether --with-gnu-ld was given.
23366
 
+if test "${with_gnu_ld+set}" = set; then :
23367
 
+  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
23368
 
 else
23369
 
-      # Double quotes because CPP needs to be expanded
23370
 
-    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
23371
 
-    do
23372
 
-      ac_preproc_ok=false
23373
 
-for ac_c_preproc_warn_flag in '' yes
23374
 
-do
23375
 
-  # Use a header file that comes with gcc, so configuring glibc
23376
 
-  # with a fresh cross-compiler works.
23377
 
-  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23378
 
-  # <limits.h> exists even on freestanding compilers.
23379
 
-  # On the NeXT, cc -E runs the code through the compiler's parser,
23380
 
-  # not just through cpp. "Syntax error" is here to catch this case.
23381
 
-  cat >conftest.$ac_ext <<_ACEOF
23382
 
-/* confdefs.h.  */
23383
 
-_ACEOF
23384
 
-cat confdefs.h >>conftest.$ac_ext
23385
 
-cat >>conftest.$ac_ext <<_ACEOF
23386
 
-/* end confdefs.h.  */
23387
 
-#ifdef __STDC__
23388
 
-# include <limits.h>
23389
 
-#else
23390
 
-# include <assert.h>
23391
 
-#endif
23392
 
-                    Syntax error
23393
 
-_ACEOF
23394
 
-if { (ac_try="$ac_cpp conftest.$ac_ext"
23395
 
-case "(($ac_try" in
23396
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23397
 
-  *) ac_try_echo=$ac_try;;
23398
 
-esac
23399
 
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23400
 
-$as_echo "$ac_try_echo") >&5
23401
 
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23402
 
-  ac_status=$?
23403
 
-  grep -v '^ *+' conftest.er1 >conftest.err
23404
 
-  rm -f conftest.er1
23405
 
-  cat conftest.err >&5
23406
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23407
 
-  (exit $ac_status); } >/dev/null && {
23408
 
-        test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23409
 
-        test ! -s conftest.err
23410
 
-       }; then
23411
 
-  :
23412
 
-else
23413
 
-  $as_echo "$as_me: failed program was:" >&5
23414
 
-sed 's/^/| /' conftest.$ac_ext >&5
23415
 
-
23416
 
-  # Broken: fails on valid input.
23417
 
-continue
23418
 
+  with_gnu_ld=no
23419
 
 fi
23420
 
 
23421
 
-rm -f conftest.err conftest.$ac_ext
23422
 
-
23423
 
-  # OK, works on sane cases.  Now check whether nonexistent headers
23424
 
-  # can be detected and how.
23425
 
-  cat >conftest.$ac_ext <<_ACEOF
23426
 
-/* confdefs.h.  */
23427
 
-_ACEOF
23428
 
-cat confdefs.h >>conftest.$ac_ext
23429
 
-cat >>conftest.$ac_ext <<_ACEOF
23430
 
-/* end confdefs.h.  */
23431
 
-#include <ac_nonexistent.h>
23432
 
-_ACEOF
23433
 
-if { (ac_try="$ac_cpp conftest.$ac_ext"
23434
 
-case "(($ac_try" in
23435
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23436
 
-  *) ac_try_echo=$ac_try;;
23437
 
-esac
23438
 
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23439
 
-$as_echo "$ac_try_echo") >&5
23440
 
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23441
 
-  ac_status=$?
23442
 
-  grep -v '^ *+' conftest.er1 >conftest.err
23443
 
-  rm -f conftest.er1
23444
 
-  cat conftest.err >&5
23445
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23446
 
-  (exit $ac_status); } >/dev/null && {
23447
 
-        test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23448
 
-        test ! -s conftest.err
23449
 
-       }; then
23450
 
-  # Broken: success on invalid input.
23451
 
-continue
23452
 
+ac_prog=ld
23453
 
+if test "$GCC" = yes; then
23454
 
+  # Check if gcc -print-prog-name=ld gives a path.
23455
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
23456
 
+$as_echo_n "checking for ld used by $CC... " >&6; }
23457
 
+  case $host in
23458
 
+  *-*-mingw*)
23459
 
+    # gcc leaves a trailing carriage return which upsets mingw
23460
 
+    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
23461
 
+  *)
23462
 
+    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
23463
 
+  esac
23464
 
+  case $ac_prog in
23465
 
+    # Accept absolute paths.
23466
 
+    [\\/]* | ?:[\\/]*)
23467
 
+      re_direlt='/[^/][^/]*/\.\./'
23468
 
+      # Canonicalize the pathname of ld
23469
 
+      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
23470
 
+      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
23471
 
+       ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
23472
 
+      done
23473
 
+      test -z "$LD" && LD="$ac_prog"
23474
 
+      ;;
23475
 
+  "")
23476
 
+    # If it fails, then pretend we aren't using GCC.
23477
 
+    ac_prog=ld
23478
 
+    ;;
23479
 
+  *)
23480
 
+    # If it is relative, then search for the first ld in PATH.
23481
 
+    with_gnu_ld=unknown
23482
 
+    ;;
23483
 
+  esac
23484
 
+elif test "$with_gnu_ld" = yes; then
23485
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
23486
 
+$as_echo_n "checking for GNU ld... " >&6; }
23487
 
 else
23488
 
-  $as_echo "$as_me: failed program was:" >&5
23489
 
-sed 's/^/| /' conftest.$ac_ext >&5
23490
 
-
23491
 
-  # Passes both tests.
23492
 
-ac_preproc_ok=:
23493
 
-break
23494
 
-fi
23495
 
-
23496
 
-rm -f conftest.err conftest.$ac_ext
23497
 
-
23498
 
-done
23499
 
-# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
23500
 
-rm -f conftest.err conftest.$ac_ext
23501
 
-if $ac_preproc_ok; then
23502
 
-  break
23503
 
-fi
23504
 
-
23505
 
-    done
23506
 
-    ac_cv_prog_CPP=$CPP
23507
 
-
23508
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
23509
 
+$as_echo_n "checking for non-GNU ld... " >&6; }
23510
 
 fi
23511
 
-  CPP=$ac_cv_prog_CPP
23512
 
+if test "${lt_cv_path_LD+set}" = set; then :
23513
 
+  $as_echo_n "(cached) " >&6
23514
 
 else
23515
 
-  ac_cv_prog_CPP=$CPP
23516
 
-fi
23517
 
-{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
23518
 
-$as_echo "$CPP" >&6; }
23519
 
-ac_preproc_ok=false
23520
 
-for ac_c_preproc_warn_flag in '' yes
23521
 
-do
23522
 
-  # Use a header file that comes with gcc, so configuring glibc
23523
 
-  # with a fresh cross-compiler works.
23524
 
-  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23525
 
-  # <limits.h> exists even on freestanding compilers.
23526
 
-  # On the NeXT, cc -E runs the code through the compiler's parser,
23527
 
-  # not just through cpp. "Syntax error" is here to catch this case.
23528
 
-  cat >conftest.$ac_ext <<_ACEOF
23529
 
-/* confdefs.h.  */
23530
 
-_ACEOF
23531
 
-cat confdefs.h >>conftest.$ac_ext
23532
 
-cat >>conftest.$ac_ext <<_ACEOF
23533
 
-/* end confdefs.h.  */
23534
 
-#ifdef __STDC__
23535
 
-# include <limits.h>
23536
 
-#else
23537
 
-# include <assert.h>
23538
 
-#endif
23539
 
-                    Syntax error
23540
 
-_ACEOF
23541
 
-if { (ac_try="$ac_cpp conftest.$ac_ext"
23542
 
-case "(($ac_try" in
23543
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23544
 
-  *) ac_try_echo=$ac_try;;
23545
 
-esac
23546
 
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23547
 
-$as_echo "$ac_try_echo") >&5
23548
 
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23549
 
-  ac_status=$?
23550
 
-  grep -v '^ *+' conftest.er1 >conftest.err
23551
 
-  rm -f conftest.er1
23552
 
-  cat conftest.err >&5
23553
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23554
 
-  (exit $ac_status); } >/dev/null && {
23555
 
-        test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23556
 
-        test ! -s conftest.err
23557
 
-       }; then
23558
 
-  :
23559
 
+  if test -z "$LD"; then
23560
 
+  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
23561
 
+  for ac_dir in $PATH; do
23562
 
+    IFS="$lt_save_ifs"
23563
 
+    test -z "$ac_dir" && ac_dir=.
23564
 
+    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
23565
 
+      lt_cv_path_LD="$ac_dir/$ac_prog"
23566
 
+      # Check to see if the program is GNU ld.  I'd rather use --version,
23567
 
+      # but apparently some variants of GNU ld only accept -v.
23568
 
+      # Break only if it was the GNU/non-GNU ld that we prefer.
23569
 
+      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
23570
 
+      *GNU* | *'with BFD'*)
23571
 
+       test "$with_gnu_ld" != no && break
23572
 
+       ;;
23573
 
+      *)
23574
 
+       test "$with_gnu_ld" != yes && break
23575
 
+       ;;
23576
 
+      esac
23577
 
+    fi
23578
 
+  done
23579
 
+  IFS="$lt_save_ifs"
23580
 
 else
23581
 
-  $as_echo "$as_me: failed program was:" >&5
23582
 
-sed 's/^/| /' conftest.$ac_ext >&5
23583
 
-
23584
 
-  # Broken: fails on valid input.
23585
 
-continue
23586
 
+  lt_cv_path_LD="$LD" # Let the user override the test with a path.
23587
 
 fi
23588
 
-
23589
 
-rm -f conftest.err conftest.$ac_ext
23590
 
-
23591
 
-  # OK, works on sane cases.  Now check whether nonexistent headers
23592
 
-  # can be detected and how.
23593
 
-  cat >conftest.$ac_ext <<_ACEOF
23594
 
-/* confdefs.h.  */
23595
 
-_ACEOF
23596
 
-cat confdefs.h >>conftest.$ac_ext
23597
 
-cat >>conftest.$ac_ext <<_ACEOF
23598
 
-/* end confdefs.h.  */
23599
 
-#include <ac_nonexistent.h>
23600
 
-_ACEOF
23601
 
-if { (ac_try="$ac_cpp conftest.$ac_ext"
23602
 
-case "(($ac_try" in
23603
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23604
 
-  *) ac_try_echo=$ac_try;;
23605
 
-esac
23606
 
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23607
 
-$as_echo "$ac_try_echo") >&5
23608
 
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23609
 
-  ac_status=$?
23610
 
-  grep -v '^ *+' conftest.er1 >conftest.err
23611
 
-  rm -f conftest.er1
23612
 
-  cat conftest.err >&5
23613
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23614
 
-  (exit $ac_status); } >/dev/null && {
23615
 
-        test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23616
 
-        test ! -s conftest.err
23617
 
-       }; then
23618
 
-  # Broken: success on invalid input.
23619
 
-continue
23620
 
-else
23621
 
-  $as_echo "$as_me: failed program was:" >&5
23622
 
-sed 's/^/| /' conftest.$ac_ext >&5
23623
 
-
23624
 
-  # Passes both tests.
23625
 
-ac_preproc_ok=:
23626
 
-break
23627
 
 fi
23628
 
 
23629
 
-rm -f conftest.err conftest.$ac_ext
23630
 
-
23631
 
-done
23632
 
-# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
23633
 
-rm -f conftest.err conftest.$ac_ext
23634
 
-if $ac_preproc_ok; then
23635
 
-  :
23636
 
+LD="$lt_cv_path_LD"
23637
 
+if test -n "$LD"; then
23638
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
23639
 
+$as_echo "$LD" >&6; }
23640
 
 else
23641
 
-  { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
23642
 
-See \`config.log' for more details." >&5
23643
 
-$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
23644
 
-See \`config.log' for more details." >&2;}
23645
 
-   { (exit 1); exit 1; }; }
23646
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23647
 
+$as_echo "no" >&6; }
23648
 
 fi
23649
 
-
23650
 
-ac_ext=c
23651
 
-ac_cpp='$CPP $CPPFLAGS'
23652
 
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23653
 
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23654
 
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
23655
 
-
23656
 
-
23657
 
-{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
23658
 
-$as_echo_n "checking for ANSI C header files... " >&6; }
23659
 
-if test "${ac_cv_header_stdc+set}" = set; then
23660
 
+test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
23661
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
23662
 
+$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
23663
 
+if test "${lt_cv_prog_gnu_ld+set}" = set; then :
23664
 
   $as_echo_n "(cached) " >&6
23665
 
 else
23666
 
-  cat >conftest.$ac_ext <<_ACEOF
23667
 
-/* confdefs.h.  */
23668
 
-_ACEOF
23669
 
-cat confdefs.h >>conftest.$ac_ext
23670
 
-cat >>conftest.$ac_ext <<_ACEOF
23671
 
-/* end confdefs.h.  */
23672
 
-#include <stdlib.h>
23673
 
-#include <stdarg.h>
23674
 
-#include <string.h>
23675
 
-#include <float.h>
23676
 
+  # I'd rather use --version here, but apparently some GNU lds only accept -v.
23677
 
+case `$LD -v 2>&1 </dev/null` in
23678
 
+*GNU* | *'with BFD'*)
23679
 
+  lt_cv_prog_gnu_ld=yes
23680
 
+  ;;
23681
 
+*)
23682
 
+  lt_cv_prog_gnu_ld=no
23683
 
+  ;;
23684
 
+esac
23685
 
+fi
23686
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
23687
 
+$as_echo "$lt_cv_prog_gnu_ld" >&6; }
23688
 
+with_gnu_ld=$lt_cv_prog_gnu_ld
23689
 
 
23690
 
-int
23691
 
-main ()
23692
 
-{
23693
 
 
23694
 
-  ;
23695
 
-  return 0;
23696
 
-}
23697
 
-_ACEOF
23698
 
-rm -f conftest.$ac_objext
23699
 
-if { (ac_try="$ac_compile"
23700
 
-case "(($ac_try" in
23701
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23702
 
-  *) ac_try_echo=$ac_try;;
23703
 
-esac
23704
 
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23705
 
-$as_echo "$ac_try_echo") >&5
23706
 
-  (eval "$ac_compile") 2>conftest.er1
23707
 
-  ac_status=$?
23708
 
-  grep -v '^ *+' conftest.er1 >conftest.err
23709
 
-  rm -f conftest.er1
23710
 
-  cat conftest.err >&5
23711
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23712
 
-  (exit $ac_status); } && {
23713
 
-        test -z "$ac_c_werror_flag" ||
23714
 
-        test ! -s conftest.err
23715
 
-       } && test -s conftest.$ac_objext; then
23716
 
-  ac_cv_header_stdc=yes
23717
 
-else
23718
 
-  $as_echo "$as_me: failed program was:" >&5
23719
 
-sed 's/^/| /' conftest.$ac_ext >&5
23720
 
 
23721
 
-       ac_cv_header_stdc=no
23722
 
-fi
23723
 
 
23724
 
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23725
 
 
23726
 
-if test $ac_cv_header_stdc = yes; then
23727
 
-  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
23728
 
-  cat >conftest.$ac_ext <<_ACEOF
23729
 
-/* confdefs.h.  */
23730
 
-_ACEOF
23731
 
-cat confdefs.h >>conftest.$ac_ext
23732
 
-cat >>conftest.$ac_ext <<_ACEOF
23733
 
-/* end confdefs.h.  */
23734
 
-#include <string.h>
23735
 
 
23736
 
-_ACEOF
23737
 
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23738
 
-  $EGREP "memchr" >/dev/null 2>&1; then
23739
 
-  :
23740
 
-else
23741
 
-  ac_cv_header_stdc=no
23742
 
-fi
23743
 
-rm -f conftest*
23744
 
 
23745
 
-fi
23746
 
 
23747
 
-if test $ac_cv_header_stdc = yes; then
23748
 
-  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
23749
 
-  cat >conftest.$ac_ext <<_ACEOF
23750
 
-/* confdefs.h.  */
23751
 
-_ACEOF
23752
 
-cat confdefs.h >>conftest.$ac_ext
23753
 
-cat >>conftest.$ac_ext <<_ACEOF
23754
 
-/* end confdefs.h.  */
23755
 
-#include <stdlib.h>
23756
 
 
23757
 
-_ACEOF
23758
 
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23759
 
-  $EGREP "free" >/dev/null 2>&1; then
23760
 
-  :
23761
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
23762
 
+$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
23763
 
+if test "${lt_cv_path_NM+set}" = set; then :
23764
 
+  $as_echo_n "(cached) " >&6
23765
 
 else
23766
 
-  ac_cv_header_stdc=no
23767
 
-fi
23768
 
-rm -f conftest*
23769
 
-
23770
 
-fi
23771
 
-
23772
 
-if test $ac_cv_header_stdc = yes; then
23773
 
-  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
23774
 
-  if test "$cross_compiling" = yes; then
23775
 
-  :
23776
 
-else
23777
 
-  cat >conftest.$ac_ext <<_ACEOF
23778
 
-/* confdefs.h.  */
23779
 
-_ACEOF
23780
 
-cat confdefs.h >>conftest.$ac_ext
23781
 
-cat >>conftest.$ac_ext <<_ACEOF
23782
 
-/* end confdefs.h.  */
23783
 
-#include <ctype.h>
23784
 
-#include <stdlib.h>
23785
 
-#if ((' ' & 0x0FF) == 0x020)
23786
 
-# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
23787
 
-# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
23788
 
-#else
23789
 
-# define ISLOWER(c) \
23790
 
-                  (('a' <= (c) && (c) <= 'i') \
23791
 
-                    || ('j' <= (c) && (c) <= 'r') \
23792
 
-                    || ('s' <= (c) && (c) <= 'z'))
23793
 
-# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
23794
 
-#endif
23795
 
-
23796
 
-#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
23797
 
-int
23798
 
-main ()
23799
 
-{
23800
 
-  int i;
23801
 
-  for (i = 0; i < 256; i++)
23802
 
-    if (XOR (islower (i), ISLOWER (i))
23803
 
-       || toupper (i) != TOUPPER (i))
23804
 
-      return 2;
23805
 
-  return 0;
23806
 
-}
23807
 
-_ACEOF
23808
 
-rm -f conftest$ac_exeext
23809
 
-if { (ac_try="$ac_link"
23810
 
-case "(($ac_try" in
23811
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23812
 
-  *) ac_try_echo=$ac_try;;
23813
 
-esac
23814
 
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23815
 
-$as_echo "$ac_try_echo") >&5
23816
 
-  (eval "$ac_link") 2>&5
23817
 
-  ac_status=$?
23818
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23819
 
-  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23820
 
-  { (case "(($ac_try" in
23821
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23822
 
-  *) ac_try_echo=$ac_try;;
23823
 
-esac
23824
 
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23825
 
-$as_echo "$ac_try_echo") >&5
23826
 
-  (eval "$ac_try") 2>&5
23827
 
-  ac_status=$?
23828
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23829
 
-  (exit $ac_status); }; }; then
23830
 
-  :
23831
 
-else
23832
 
-  $as_echo "$as_me: program exited with status $ac_status" >&5
23833
 
-$as_echo "$as_me: failed program was:" >&5
23834
 
-sed 's/^/| /' conftest.$ac_ext >&5
23835
 
-
23836
 
-( exit $ac_status )
23837
 
-ac_cv_header_stdc=no
23838
 
-fi
23839
 
-rm -rf conftest.dSYM
23840
 
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23841
 
-fi
23842
 
-
23843
 
-
23844
 
-fi
23845
 
-fi
23846
 
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
23847
 
-$as_echo "$ac_cv_header_stdc" >&6; }
23848
 
-if test $ac_cv_header_stdc = yes; then
23849
 
-
23850
 
-cat >>confdefs.h <<\_ACEOF
23851
 
-#define STDC_HEADERS 1
23852
 
-_ACEOF
23853
 
-
23854
 
-fi
23855
 
-
23856
 
-# On IRIX 5.3, sys/types and inttypes.h are conflicting.
23857
 
-
23858
 
-
23859
 
-
23860
 
-
23861
 
-
23862
 
-
23863
 
-
23864
 
-
23865
 
-
23866
 
-for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
23867
 
-                 inttypes.h stdint.h unistd.h
23868
 
-do
23869
 
-as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
23870
 
-{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
23871
 
-$as_echo_n "checking for $ac_header... " >&6; }
23872
 
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23873
 
-  $as_echo_n "(cached) " >&6
23874
 
-else
23875
 
-  cat >conftest.$ac_ext <<_ACEOF
23876
 
-/* confdefs.h.  */
23877
 
-_ACEOF
23878
 
-cat confdefs.h >>conftest.$ac_ext
23879
 
-cat >>conftest.$ac_ext <<_ACEOF
23880
 
-/* end confdefs.h.  */
23881
 
-$ac_includes_default
23882
 
-
23883
 
-#include <$ac_header>
23884
 
-_ACEOF
23885
 
-rm -f conftest.$ac_objext
23886
 
-if { (ac_try="$ac_compile"
23887
 
-case "(($ac_try" in
23888
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23889
 
-  *) ac_try_echo=$ac_try;;
23890
 
-esac
23891
 
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23892
 
-$as_echo "$ac_try_echo") >&5
23893
 
-  (eval "$ac_compile") 2>conftest.er1
23894
 
-  ac_status=$?
23895
 
-  grep -v '^ *+' conftest.er1 >conftest.err
23896
 
-  rm -f conftest.er1
23897
 
-  cat conftest.err >&5
23898
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23899
 
-  (exit $ac_status); } && {
23900
 
-        test -z "$ac_c_werror_flag" ||
23901
 
-        test ! -s conftest.err
23902
 
-       } && test -s conftest.$ac_objext; then
23903
 
-  eval "$as_ac_Header=yes"
23904
 
-else
23905
 
-  $as_echo "$as_me: failed program was:" >&5
23906
 
-sed 's/^/| /' conftest.$ac_ext >&5
23907
 
-
23908
 
-       eval "$as_ac_Header=no"
23909
 
-fi
23910
 
-
23911
 
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23912
 
-fi
23913
 
-ac_res=`eval 'as_val=${'$as_ac_Header'}
23914
 
-                $as_echo "$as_val"'`
23915
 
-              { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
23916
 
-$as_echo "$ac_res" >&6; }
23917
 
-if test `eval 'as_val=${'$as_ac_Header'}
23918
 
-                $as_echo "$as_val"'` = yes; then
23919
 
-  cat >>confdefs.h <<_ACEOF
23920
 
-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
23921
 
-_ACEOF
23922
 
-
23923
 
-fi
23924
 
-
23925
 
-done
23926
 
-
23927
 
-
23928
 
-
23929
 
-for ac_header in dlfcn.h
23930
 
-do
23931
 
-as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
23932
 
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23933
 
-  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
23934
 
-$as_echo_n "checking for $ac_header... " >&6; }
23935
 
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23936
 
-  $as_echo_n "(cached) " >&6
23937
 
-fi
23938
 
-ac_res=`eval 'as_val=${'$as_ac_Header'}
23939
 
-                $as_echo "$as_val"'`
23940
 
-              { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
23941
 
-$as_echo "$ac_res" >&6; }
23942
 
-else
23943
 
-  # Is the header compilable?
23944
 
-{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
23945
 
-$as_echo_n "checking $ac_header usability... " >&6; }
23946
 
-cat >conftest.$ac_ext <<_ACEOF
23947
 
-/* confdefs.h.  */
23948
 
-_ACEOF
23949
 
-cat confdefs.h >>conftest.$ac_ext
23950
 
-cat >>conftest.$ac_ext <<_ACEOF
23951
 
-/* end confdefs.h.  */
23952
 
-$ac_includes_default
23953
 
-#include <$ac_header>
23954
 
-_ACEOF
23955
 
-rm -f conftest.$ac_objext
23956
 
-if { (ac_try="$ac_compile"
23957
 
-case "(($ac_try" in
23958
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23959
 
-  *) ac_try_echo=$ac_try;;
23960
 
-esac
23961
 
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23962
 
-$as_echo "$ac_try_echo") >&5
23963
 
-  (eval "$ac_compile") 2>conftest.er1
23964
 
-  ac_status=$?
23965
 
-  grep -v '^ *+' conftest.er1 >conftest.err
23966
 
-  rm -f conftest.er1
23967
 
-  cat conftest.err >&5
23968
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23969
 
-  (exit $ac_status); } && {
23970
 
-        test -z "$ac_c_werror_flag" ||
23971
 
-        test ! -s conftest.err
23972
 
-       } && test -s conftest.$ac_objext; then
23973
 
-  ac_header_compiler=yes
23974
 
+  if test -n "$NM"; then
23975
 
+  # Let the user override the test.
23976
 
+  lt_cv_path_NM="$NM"
23977
 
 else
23978
 
-  $as_echo "$as_me: failed program was:" >&5
23979
 
-sed 's/^/| /' conftest.$ac_ext >&5
23980
 
-
23981
 
-       ac_header_compiler=no
23982
 
+  lt_nm_to_check="${ac_tool_prefix}nm"
23983
 
+  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
23984
 
+    lt_nm_to_check="$lt_nm_to_check nm"
23985
 
+  fi
23986
 
+  for lt_tmp_nm in $lt_nm_to_check; do
23987
 
+    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
23988
 
+    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
23989
 
+      IFS="$lt_save_ifs"
23990
 
+      test -z "$ac_dir" && ac_dir=.
23991
 
+      tmp_nm="$ac_dir/$lt_tmp_nm"
23992
 
+      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
23993
 
+       # Check to see if the nm accepts a BSD-compat flag.
23994
 
+       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
23995
 
+       #   nm: unknown option "B" ignored
23996
 
+       # Tru64's nm complains that /dev/null is an invalid object file
23997
 
+       case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
23998
 
+       */dev/null* | *'Invalid file or object type'*)
23999
 
+         lt_cv_path_NM="$tmp_nm -B"
24000
 
+         break
24001
 
+         ;;
24002
 
+       *)
24003
 
+         case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
24004
 
+         */dev/null*)
24005
 
+           lt_cv_path_NM="$tmp_nm -p"
24006
 
+           break
24007
 
+           ;;
24008
 
+         *)
24009
 
+           lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
24010
 
+           continue # so that we can try to find one that supports BSD flags
24011
 
+           ;;
24012
 
+         esac
24013
 
+         ;;
24014
 
+       esac
24015
 
+      fi
24016
 
+    done
24017
 
+    IFS="$lt_save_ifs"
24018
 
+  done
24019
 
+  : ${lt_cv_path_NM=no}
24020
 
 fi
24021
 
-
24022
 
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24023
 
-{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24024
 
-$as_echo "$ac_header_compiler" >&6; }
24025
 
-
24026
 
-# Is the header present?
24027
 
-{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
24028
 
-$as_echo_n "checking $ac_header presence... " >&6; }
24029
 
-cat >conftest.$ac_ext <<_ACEOF
24030
 
-/* confdefs.h.  */
24031
 
-_ACEOF
24032
 
-cat confdefs.h >>conftest.$ac_ext
24033
 
-cat >>conftest.$ac_ext <<_ACEOF
24034
 
-/* end confdefs.h.  */
24035
 
-#include <$ac_header>
24036
 
-_ACEOF
24037
 
-if { (ac_try="$ac_cpp conftest.$ac_ext"
24038
 
-case "(($ac_try" in
24039
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24040
 
-  *) ac_try_echo=$ac_try;;
24041
 
-esac
24042
 
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24043
 
-$as_echo "$ac_try_echo") >&5
24044
 
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24045
 
-  ac_status=$?
24046
 
-  grep -v '^ *+' conftest.er1 >conftest.err
24047
 
-  rm -f conftest.er1
24048
 
-  cat conftest.err >&5
24049
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24050
 
-  (exit $ac_status); } >/dev/null && {
24051
 
-        test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24052
 
-        test ! -s conftest.err
24053
 
-       }; then
24054
 
-  ac_header_preproc=yes
24055
 
-else
24056
 
-  $as_echo "$as_me: failed program was:" >&5
24057
 
-sed 's/^/| /' conftest.$ac_ext >&5
24058
 
-
24059
 
-  ac_header_preproc=no
24060
 
 fi
24061
 
-
24062
 
-rm -f conftest.err conftest.$ac_ext
24063
 
-{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24064
 
-$as_echo "$ac_header_preproc" >&6; }
24065
 
-
24066
 
-# So?  What about this header?
24067
 
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24068
 
-  yes:no: )
24069
 
-    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24070
 
-$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24071
 
-    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24072
 
-$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24073
 
-    ac_header_preproc=yes
24074
 
-    ;;
24075
 
-  no:yes:* )
24076
 
-    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24077
 
-$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24078
 
-    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
24079
 
-$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
24080
 
-    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24081
 
-$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24082
 
-    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
24083
 
-$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
24084
 
-    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24085
 
-$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24086
 
-    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24087
 
-$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24088
 
-    ( cat <<\_ASBOX
24089
 
-## --------------------------------------------------------------------------- ##
24090
 
-## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-python ##
24091
 
-## --------------------------------------------------------------------------- ##
24092
 
-_ASBOX
24093
 
-     ) | sed "s/^/$as_me: WARNING:     /" >&2
24094
 
-    ;;
24095
 
-esac
24096
 
-{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
24097
 
-$as_echo_n "checking for $ac_header... " >&6; }
24098
 
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24099
 
-  $as_echo_n "(cached) " >&6
24100
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
24101
 
+$as_echo "$lt_cv_path_NM" >&6; }
24102
 
+if test "$lt_cv_path_NM" != "no"; then
24103
 
+  NM="$lt_cv_path_NM"
24104
 
 else
24105
 
-  eval "$as_ac_Header=\$ac_header_preproc"
24106
 
-fi
24107
 
-ac_res=`eval 'as_val=${'$as_ac_Header'}
24108
 
-                $as_echo "$as_val"'`
24109
 
-              { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
24110
 
-$as_echo "$ac_res" >&6; }
24111
 
-
24112
 
-fi
24113
 
-if test `eval 'as_val=${'$as_ac_Header'}
24114
 
-                $as_echo "$as_val"'` = yes; then
24115
 
-  cat >>confdefs.h <<_ACEOF
24116
 
-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
24117
 
-_ACEOF
24118
 
-
24119
 
-fi
24120
 
-
24121
 
-done
24122
 
-
24123
 
-ac_ext=cpp
24124
 
-ac_cpp='$CXXCPP $CPPFLAGS'
24125
 
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24126
 
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24127
 
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24128
 
-if test -z "$CXX"; then
24129
 
-  if test -n "$CCC"; then
24130
 
-    CXX=$CCC
24131
 
-  else
24132
 
-    if test -n "$ac_tool_prefix"; then
24133
 
-  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
24134
 
+  # Didn't find any BSD compatible name lister, look for dumpbin.
24135
 
+  if test -n "$ac_tool_prefix"; then
24136
 
+  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
24137
 
   do
24138
 
     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
24139
 
 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
24140
 
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
24141
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24142
 
 $as_echo_n "checking for $ac_word... " >&6; }
24143
 
-if test "${ac_cv_prog_CXX+set}" = set; then
24144
 
+if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
24145
 
   $as_echo_n "(cached) " >&6
24146
 
 else
24147
 
-  if test -n "$CXX"; then
24148
 
-  ac_cv_prog_CXX="$CXX" # Let the user override the test.
24149
 
+  if test -n "$DUMPBIN"; then
24150
 
+  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
24151
 
 else
24152
 
 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24153
 
 for as_dir in $PATH
24154
 
 do
24155
 
   IFS=$as_save_IFS
24156
 
   test -z "$as_dir" && as_dir=.
24157
 
-  for ac_exec_ext in '' $ac_executable_extensions; do
24158
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
24159
 
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24160
 
-    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
24161
 
-    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24162
 
+    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
24163
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24164
 
     break 2
24165
 
   fi
24166
 
 done
24167
 
-done
24168
 
+  done
24169
 
 IFS=$as_save_IFS
24170
 
 
24171
 
 fi
24172
 
 fi
24173
 
-CXX=$ac_cv_prog_CXX
24174
 
-if test -n "$CXX"; then
24175
 
-  { $as_echo "$as_me:$LINENO: result: $CXX" >&5
24176
 
-$as_echo "$CXX" >&6; }
24177
 
+DUMPBIN=$ac_cv_prog_DUMPBIN
24178
 
+if test -n "$DUMPBIN"; then
24179
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
24180
 
+$as_echo "$DUMPBIN" >&6; }
24181
 
 else
24182
 
-  { $as_echo "$as_me:$LINENO: result: no" >&5
24183
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24184
 
 $as_echo "no" >&6; }
24185
 
 fi
24186
 
 
24187
 
 
24188
 
-    test -n "$CXX" && break
24189
 
+    test -n "$DUMPBIN" && break
24190
 
   done
24191
 
 fi
24192
 
-if test -z "$CXX"; then
24193
 
-  ac_ct_CXX=$CXX
24194
 
-  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
24195
 
+if test -z "$DUMPBIN"; then
24196
 
+  ac_ct_DUMPBIN=$DUMPBIN
24197
 
+  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
24198
 
 do
24199
 
   # Extract the first word of "$ac_prog", so it can be a program name with args.
24200
 
 set dummy $ac_prog; ac_word=$2
24201
 
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
24202
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24203
 
 $as_echo_n "checking for $ac_word... " >&6; }
24204
 
-if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
24205
 
+if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
24206
 
   $as_echo_n "(cached) " >&6
24207
 
 else
24208
 
-  if test -n "$ac_ct_CXX"; then
24209
 
-  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
24210
 
+  if test -n "$ac_ct_DUMPBIN"; then
24211
 
+  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
24212
 
 else
24213
 
 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24214
 
 for as_dir in $PATH
24215
 
 do
24216
 
   IFS=$as_save_IFS
24217
 
   test -z "$as_dir" && as_dir=.
24218
 
-  for ac_exec_ext in '' $ac_executable_extensions; do
24219
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
24220
 
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24221
 
-    ac_cv_prog_ac_ct_CXX="$ac_prog"
24222
 
-    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24223
 
+    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
24224
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24225
 
     break 2
24226
 
   fi
24227
 
 done
24228
 
-done
24229
 
+  done
24230
 
 IFS=$as_save_IFS
24231
 
 
24232
 
 fi
24233
 
 fi
24234
 
-ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
24235
 
-if test -n "$ac_ct_CXX"; then
24236
 
-  { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
24237
 
-$as_echo "$ac_ct_CXX" >&6; }
24238
 
+ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
24239
 
+if test -n "$ac_ct_DUMPBIN"; then
24240
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
24241
 
+$as_echo "$ac_ct_DUMPBIN" >&6; }
24242
 
 else
24243
 
-  { $as_echo "$as_me:$LINENO: result: no" >&5
24244
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24245
 
 $as_echo "no" >&6; }
24246
 
 fi
24247
 
 
24248
 
 
24249
 
-  test -n "$ac_ct_CXX" && break
24250
 
+  test -n "$ac_ct_DUMPBIN" && break
24251
 
 done
24252
 
 
24253
 
-  if test "x$ac_ct_CXX" = x; then
24254
 
-    CXX="g++"
24255
 
+  if test "x$ac_ct_DUMPBIN" = x; then
24256
 
+    DUMPBIN=":"
24257
 
   else
24258
 
     case $cross_compiling:$ac_tool_warned in
24259
 
 yes:)
24260
 
-{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
24261
 
-whose name does not start with the host triplet.  If you think this
24262
 
-configuration is useful to you, please write to autoconf@gnu.org." >&5
24263
 
-$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
24264
 
-whose name does not start with the host triplet.  If you think this
24265
 
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
24266
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
24267
 
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
24268
 
 ac_tool_warned=yes ;;
24269
 
 esac
24270
 
-    CXX=$ac_ct_CXX
24271
 
+    DUMPBIN=$ac_ct_DUMPBIN
24272
 
   fi
24273
 
 fi
24274
 
 
24275
 
+
24276
 
+  if test "$DUMPBIN" != ":"; then
24277
 
+    NM="$DUMPBIN"
24278
 
   fi
24279
 
 fi
24280
 
-# Provide some information about the compiler.
24281
 
-$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
24282
 
-set X $ac_compile
24283
 
-ac_compiler=$2
24284
 
-{ (ac_try="$ac_compiler --version >&5"
24285
 
-case "(($ac_try" in
24286
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24287
 
-  *) ac_try_echo=$ac_try;;
24288
 
-esac
24289
 
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24290
 
-$as_echo "$ac_try_echo") >&5
24291
 
-  (eval "$ac_compiler --version >&5") 2>&5
24292
 
-  ac_status=$?
24293
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24294
 
-  (exit $ac_status); }
24295
 
-{ (ac_try="$ac_compiler -v >&5"
24296
 
-case "(($ac_try" in
24297
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24298
 
-  *) ac_try_echo=$ac_try;;
24299
 
-esac
24300
 
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24301
 
-$as_echo "$ac_try_echo") >&5
24302
 
-  (eval "$ac_compiler -v >&5") 2>&5
24303
 
-  ac_status=$?
24304
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24305
 
-  (exit $ac_status); }
24306
 
-{ (ac_try="$ac_compiler -V >&5"
24307
 
-case "(($ac_try" in
24308
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24309
 
-  *) ac_try_echo=$ac_try;;
24310
 
-esac
24311
 
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24312
 
-$as_echo "$ac_try_echo") >&5
24313
 
-  (eval "$ac_compiler -V >&5") 2>&5
24314
 
-  ac_status=$?
24315
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24316
 
-  (exit $ac_status); }
24317
 
+test -z "$NM" && NM=nm
24318
 
 
24319
 
-{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
24320
 
-$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
24321
 
-if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
24322
 
-  $as_echo_n "(cached) " >&6
24323
 
-else
24324
 
-  cat >conftest.$ac_ext <<_ACEOF
24325
 
-/* confdefs.h.  */
24326
 
-_ACEOF
24327
 
-cat confdefs.h >>conftest.$ac_ext
24328
 
-cat >>conftest.$ac_ext <<_ACEOF
24329
 
-/* end confdefs.h.  */
24330
 
 
24331
 
-int
24332
 
-main ()
24333
 
-{
24334
 
-#ifndef __GNUC__
24335
 
-       choke me
24336
 
-#endif
24337
 
 
24338
 
-  ;
24339
 
-  return 0;
24340
 
-}
24341
 
-_ACEOF
24342
 
-rm -f conftest.$ac_objext
24343
 
-if { (ac_try="$ac_compile"
24344
 
-case "(($ac_try" in
24345
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24346
 
-  *) ac_try_echo=$ac_try;;
24347
 
-esac
24348
 
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24349
 
-$as_echo "$ac_try_echo") >&5
24350
 
-  (eval "$ac_compile") 2>conftest.er1
24351
 
-  ac_status=$?
24352
 
-  grep -v '^ *+' conftest.er1 >conftest.err
24353
 
-  rm -f conftest.er1
24354
 
-  cat conftest.err >&5
24355
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24356
 
-  (exit $ac_status); } && {
24357
 
-        test -z "$ac_cxx_werror_flag" ||
24358
 
-        test ! -s conftest.err
24359
 
-       } && test -s conftest.$ac_objext; then
24360
 
-  ac_compiler_gnu=yes
24361
 
-else
24362
 
-  $as_echo "$as_me: failed program was:" >&5
24363
 
-sed 's/^/| /' conftest.$ac_ext >&5
24364
 
 
24365
 
-       ac_compiler_gnu=no
24366
 
-fi
24367
 
 
24368
 
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24369
 
-ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
24370
 
 
24371
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
24372
 
+$as_echo_n "checking the name lister ($NM) interface... " >&6; }
24373
 
+if test "${lt_cv_nm_interface+set}" = set; then :
24374
 
+  $as_echo_n "(cached) " >&6
24375
 
+else
24376
 
+  lt_cv_nm_interface="BSD nm"
24377
 
+  echo "int some_variable = 0;" > conftest.$ac_ext
24378
 
+  (eval echo "\"\$as_me:5098: $ac_compile\"" >&5)
24379
 
+  (eval "$ac_compile" 2>conftest.err)
24380
 
+  cat conftest.err >&5
24381
 
+  (eval echo "\"\$as_me:5101: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
24382
 
+  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
24383
 
+  cat conftest.err >&5
24384
 
+  (eval echo "\"\$as_me:5104: output\"" >&5)
24385
 
+  cat conftest.out >&5
24386
 
+  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
24387
 
+    lt_cv_nm_interface="MS dumpbin"
24388
 
+  fi
24389
 
+  rm -f conftest*
24390
 
 fi
24391
 
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
24392
 
-$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
24393
 
-if test $ac_compiler_gnu = yes; then
24394
 
-  GXX=yes
24395
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
24396
 
+$as_echo "$lt_cv_nm_interface" >&6; }
24397
 
+
24398
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
24399
 
+$as_echo_n "checking whether ln -s works... " >&6; }
24400
 
+LN_S=$as_ln_s
24401
 
+if test "$LN_S" = "ln -s"; then
24402
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24403
 
+$as_echo "yes" >&6; }
24404
 
 else
24405
 
-  GXX=
24406
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
24407
 
+$as_echo "no, using $LN_S" >&6; }
24408
 
 fi
24409
 
-ac_test_CXXFLAGS=${CXXFLAGS+set}
24410
 
-ac_save_CXXFLAGS=$CXXFLAGS
24411
 
-{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
24412
 
-$as_echo_n "checking whether $CXX accepts -g... " >&6; }
24413
 
-if test "${ac_cv_prog_cxx_g+set}" = set; then
24414
 
+
24415
 
+# find the maximum length of command line arguments
24416
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
24417
 
+$as_echo_n "checking the maximum length of command line arguments... " >&6; }
24418
 
+if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
24419
 
   $as_echo_n "(cached) " >&6
24420
 
 else
24421
 
-  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
24422
 
-   ac_cxx_werror_flag=yes
24423
 
-   ac_cv_prog_cxx_g=no
24424
 
-   CXXFLAGS="-g"
24425
 
-   cat >conftest.$ac_ext <<_ACEOF
24426
 
-/* confdefs.h.  */
24427
 
-_ACEOF
24428
 
-cat confdefs.h >>conftest.$ac_ext
24429
 
-cat >>conftest.$ac_ext <<_ACEOF
24430
 
-/* end confdefs.h.  */
24431
 
+    i=0
24432
 
+  teststring="ABCD"
24433
 
 
24434
 
-int
24435
 
-main ()
24436
 
-{
24437
 
+  case $build_os in
24438
 
+  msdosdjgpp*)
24439
 
+    # On DJGPP, this test can blow up pretty badly due to problems in libc
24440
 
+    # (any single argument exceeding 2000 bytes causes a buffer overrun
24441
 
+    # during glob expansion).  Even if it were fixed, the result of this
24442
 
+    # check would be larger than it should be.
24443
 
+    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
24444
 
+    ;;
24445
 
 
24446
 
-  ;
24447
 
-  return 0;
24448
 
-}
24449
 
-_ACEOF
24450
 
-rm -f conftest.$ac_objext
24451
 
-if { (ac_try="$ac_compile"
24452
 
-case "(($ac_try" in
24453
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24454
 
-  *) ac_try_echo=$ac_try;;
24455
 
-esac
24456
 
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24457
 
-$as_echo "$ac_try_echo") >&5
24458
 
-  (eval "$ac_compile") 2>conftest.er1
24459
 
-  ac_status=$?
24460
 
-  grep -v '^ *+' conftest.er1 >conftest.err
24461
 
-  rm -f conftest.er1
24462
 
-  cat conftest.err >&5
24463
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24464
 
-  (exit $ac_status); } && {
24465
 
-        test -z "$ac_cxx_werror_flag" ||
24466
 
-        test ! -s conftest.err
24467
 
-       } && test -s conftest.$ac_objext; then
24468
 
-  ac_cv_prog_cxx_g=yes
24469
 
-else
24470
 
-  $as_echo "$as_me: failed program was:" >&5
24471
 
-sed 's/^/| /' conftest.$ac_ext >&5
24472
 
+  gnu*)
24473
 
+    # Under GNU Hurd, this test is not required because there is
24474
 
+    # no limit to the length of command line arguments.
24475
 
+    # Libtool will interpret -1 as no limit whatsoever
24476
 
+    lt_cv_sys_max_cmd_len=-1;
24477
 
+    ;;
24478
 
 
24479
 
-       CXXFLAGS=""
24480
 
-      cat >conftest.$ac_ext <<_ACEOF
24481
 
-/* confdefs.h.  */
24482
 
-_ACEOF
24483
 
-cat confdefs.h >>conftest.$ac_ext
24484
 
-cat >>conftest.$ac_ext <<_ACEOF
24485
 
-/* end confdefs.h.  */
24486
 
+  cygwin* | mingw* | cegcc*)
24487
 
+    # On Win9x/ME, this test blows up -- it succeeds, but takes
24488
 
+    # about 5 minutes as the teststring grows exponentially.
24489
 
+    # Worse, since 9x/ME are not pre-emptively multitasking,
24490
 
+    # you end up with a "frozen" computer, even though with patience
24491
 
+    # the test eventually succeeds (with a max line length of 256k).
24492
 
+    # Instead, let's just punt: use the minimum linelength reported by
24493
 
+    # all of the supported platforms: 8192 (on NT/2K/XP).
24494
 
+    lt_cv_sys_max_cmd_len=8192;
24495
 
+    ;;
24496
 
 
24497
 
-int
24498
 
-main ()
24499
 
-{
24500
 
+  amigaos*)
24501
 
+    # On AmigaOS with pdksh, this test takes hours, literally.
24502
 
+    # So we just punt and use a minimum line length of 8192.
24503
 
+    lt_cv_sys_max_cmd_len=8192;
24504
 
+    ;;
24505
 
 
24506
 
-  ;
24507
 
-  return 0;
24508
 
-}
24509
 
-_ACEOF
24510
 
-rm -f conftest.$ac_objext
24511
 
-if { (ac_try="$ac_compile"
24512
 
-case "(($ac_try" in
24513
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24514
 
-  *) ac_try_echo=$ac_try;;
24515
 
-esac
24516
 
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24517
 
-$as_echo "$ac_try_echo") >&5
24518
 
-  (eval "$ac_compile") 2>conftest.er1
24519
 
-  ac_status=$?
24520
 
-  grep -v '^ *+' conftest.er1 >conftest.err
24521
 
-  rm -f conftest.er1
24522
 
-  cat conftest.err >&5
24523
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24524
 
-  (exit $ac_status); } && {
24525
 
-        test -z "$ac_cxx_werror_flag" ||
24526
 
-        test ! -s conftest.err
24527
 
-       } && test -s conftest.$ac_objext; then
24528
 
-  :
24529
 
-else
24530
 
-  $as_echo "$as_me: failed program was:" >&5
24531
 
-sed 's/^/| /' conftest.$ac_ext >&5
24532
 
+  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
24533
 
+    # This has been around since 386BSD, at least.  Likely further.
24534
 
+    if test -x /sbin/sysctl; then
24535
 
+      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
24536
 
+    elif test -x /usr/sbin/sysctl; then
24537
 
+      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
24538
 
+    else
24539
 
+      lt_cv_sys_max_cmd_len=65536      # usable default for all BSDs
24540
 
+    fi
24541
 
+    # And add a safety zone
24542
 
+    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
24543
 
+    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
24544
 
+    ;;
24545
 
 
24546
 
-       ac_cxx_werror_flag=$ac_save_cxx_werror_flag
24547
 
-        CXXFLAGS="-g"
24548
 
-        cat >conftest.$ac_ext <<_ACEOF
24549
 
-/* confdefs.h.  */
24550
 
-_ACEOF
24551
 
-cat confdefs.h >>conftest.$ac_ext
24552
 
-cat >>conftest.$ac_ext <<_ACEOF
24553
 
-/* end confdefs.h.  */
24554
 
+  interix*)
24555
 
+    # We know the value 262144 and hardcode it with a safety zone (like BSD)
24556
 
+    lt_cv_sys_max_cmd_len=196608
24557
 
+    ;;
24558
 
 
24559
 
-int
24560
 
-main ()
24561
 
-{
24562
 
+  osf*)
24563
 
+    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
24564
 
+    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
24565
 
+    # nice to cause kernel panics so lets avoid the loop below.
24566
 
+    # First set a reasonable default.
24567
 
+    lt_cv_sys_max_cmd_len=16384
24568
 
+    #
24569
 
+    if test -x /sbin/sysconfig; then
24570
 
+      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
24571
 
+        *1*) lt_cv_sys_max_cmd_len=-1 ;;
24572
 
+      esac
24573
 
+    fi
24574
 
+    ;;
24575
 
+  sco3.2v5*)
24576
 
+    lt_cv_sys_max_cmd_len=102400
24577
 
+    ;;
24578
 
+  sysv5* | sco5v6* | sysv4.2uw2*)
24579
 
+    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
24580
 
+    if test -n "$kargmax"; then
24581
 
+      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
24582
 
+    else
24583
 
+      lt_cv_sys_max_cmd_len=32768
24584
 
+    fi
24585
 
+    ;;
24586
 
+  *)
24587
 
+    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
24588
 
+    if test -n "$lt_cv_sys_max_cmd_len"; then
24589
 
+      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
24590
 
+      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
24591
 
+    else
24592
 
+      # Make teststring a little bigger before we do anything with it.
24593
 
+      # a 1K string should be a reasonable start.
24594
 
+      for i in 1 2 3 4 5 6 7 8 ; do
24595
 
+        teststring=$teststring$teststring
24596
 
+      done
24597
 
+      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
24598
 
+      # If test is not a shell built-in, we'll probably end up computing a
24599
 
+      # maximum length that is only half of the actual maximum length, but
24600
 
+      # we can't tell.
24601
 
+      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
24602
 
+                = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
24603
 
+             test $i != 17 # 1/2 MB should be enough
24604
 
+      do
24605
 
+        i=`expr $i + 1`
24606
 
+        teststring=$teststring$teststring
24607
 
+      done
24608
 
+      # Only check the string length outside the loop.
24609
 
+      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
24610
 
+      teststring=
24611
 
+      # Add a significant safety factor because C++ compilers can tack on
24612
 
+      # massive amounts of additional arguments before passing them to the
24613
 
+      # linker.  It appears as though 1/2 is a usable value.
24614
 
+      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
24615
 
+    fi
24616
 
+    ;;
24617
 
+  esac
24618
 
 
24619
 
-  ;
24620
 
-  return 0;
24621
 
-}
24622
 
-_ACEOF
24623
 
-rm -f conftest.$ac_objext
24624
 
-if { (ac_try="$ac_compile"
24625
 
-case "(($ac_try" in
24626
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24627
 
-  *) ac_try_echo=$ac_try;;
24628
 
-esac
24629
 
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24630
 
-$as_echo "$ac_try_echo") >&5
24631
 
-  (eval "$ac_compile") 2>conftest.er1
24632
 
-  ac_status=$?
24633
 
-  grep -v '^ *+' conftest.er1 >conftest.err
24634
 
-  rm -f conftest.er1
24635
 
-  cat conftest.err >&5
24636
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24637
 
-  (exit $ac_status); } && {
24638
 
-        test -z "$ac_cxx_werror_flag" ||
24639
 
-        test ! -s conftest.err
24640
 
-       } && test -s conftest.$ac_objext; then
24641
 
-  ac_cv_prog_cxx_g=yes
24642
 
+fi
24643
 
+
24644
 
+if test -n $lt_cv_sys_max_cmd_len ; then
24645
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
24646
 
+$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
24647
 
 else
24648
 
-  $as_echo "$as_me: failed program was:" >&5
24649
 
-sed 's/^/| /' conftest.$ac_ext >&5
24650
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
24651
 
+$as_echo "none" >&6; }
24652
 
+fi
24653
 
+max_cmd_len=$lt_cv_sys_max_cmd_len
24654
 
 
24655
 
 
24656
 
-fi
24657
 
 
24658
 
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24659
 
-fi
24660
 
 
24661
 
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24662
 
-fi
24663
 
 
24664
 
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24665
 
-   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
24666
 
-fi
24667
 
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
24668
 
-$as_echo "$ac_cv_prog_cxx_g" >&6; }
24669
 
-if test "$ac_test_CXXFLAGS" = set; then
24670
 
-  CXXFLAGS=$ac_save_CXXFLAGS
24671
 
-elif test $ac_cv_prog_cxx_g = yes; then
24672
 
-  if test "$GXX" = yes; then
24673
 
-    CXXFLAGS="-g -O2"
24674
 
-  else
24675
 
-    CXXFLAGS="-g"
24676
 
-  fi
24677
 
+
24678
 
+: ${CP="cp -f"}
24679
 
+: ${MV="mv -f"}
24680
 
+: ${RM="rm -f"}
24681
 
+
24682
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
24683
 
+$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
24684
 
+# Try some XSI features
24685
 
+xsi_shell=no
24686
 
+( _lt_dummy="a/b/c"
24687
 
+  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
24688
 
+      = c,a/b,, \
24689
 
+    && eval 'test $(( 1 + 1 )) -eq 2 \
24690
 
+    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
24691
 
+  && xsi_shell=yes
24692
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
24693
 
+$as_echo "$xsi_shell" >&6; }
24694
 
+
24695
 
+
24696
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
24697
 
+$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
24698
 
+lt_shell_append=no
24699
 
+( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
24700
 
+    >/dev/null 2>&1 \
24701
 
+  && lt_shell_append=yes
24702
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
24703
 
+$as_echo "$lt_shell_append" >&6; }
24704
 
+
24705
 
+
24706
 
+if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
24707
 
+  lt_unset=unset
24708
 
 else
24709
 
-  if test "$GXX" = yes; then
24710
 
-    CXXFLAGS="-O2"
24711
 
-  else
24712
 
-    CXXFLAGS=
24713
 
-  fi
24714
 
+  lt_unset=false
24715
 
 fi
24716
 
-ac_ext=cpp
24717
 
-ac_cpp='$CXXCPP $CPPFLAGS'
24718
 
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24719
 
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24720
 
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24721
 
 
24722
 
-depcc="$CXX"  am_compiler_list=
24723
 
 
24724
 
-{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
24725
 
-$as_echo_n "checking dependency style of $depcc... " >&6; }
24726
 
-if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
24727
 
-  $as_echo_n "(cached) " >&6
24728
 
-else
24729
 
-  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
24730
 
-  # We make a subdir and do the tests there.  Otherwise we can end up
24731
 
-  # making bogus files that we don't know about and never remove.  For
24732
 
-  # instance it was reported that on HP-UX the gcc test will end up
24733
 
-  # making a dummy file named `D' -- because `-MD' means `put the output
24734
 
-  # in D'.
24735
 
-  mkdir conftest.dir
24736
 
-  # Copy depcomp to subdir because otherwise we won't find it if we're
24737
 
-  # using a relative directory.
24738
 
-  cp "$am_depcomp" conftest.dir
24739
 
-  cd conftest.dir
24740
 
-  # We will build objects and dependencies in a subdirectory because
24741
 
-  # it helps to detect inapplicable dependency modes.  For instance
24742
 
-  # both Tru64's cc and ICC support -MD to output dependencies as a
24743
 
-  # side effect of compilation, but ICC will put the dependencies in
24744
 
-  # the current directory while Tru64 will put them in the object
24745
 
-  # directory.
24746
 
-  mkdir sub
24747
 
 
24748
 
-  am_cv_CXX_dependencies_compiler_type=none
24749
 
-  if test "$am_compiler_list" = ""; then
24750
 
-     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
24751
 
-  fi
24752
 
-  for depmode in $am_compiler_list; do
24753
 
-    # Setup a source with many dependencies, because some compilers
24754
 
-    # like to wrap large dependency lists on column 80 (with \), and
24755
 
-    # we should not choose a depcomp mode which is confused by this.
24756
 
-    #
24757
 
-    # We need to recreate these files for each test, as the compiler may
24758
 
-    # overwrite some of them when testing with obscure command lines.
24759
 
-    # This happens at least with the AIX C compiler.
24760
 
-    : > sub/conftest.c
24761
 
-    for i in 1 2 3 4 5 6; do
24762
 
-      echo '#include "conftst'$i'.h"' >> sub/conftest.c
24763
 
-      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
24764
 
-      # Solaris 8's {/usr,}/bin/sh.
24765
 
-      touch sub/conftst$i.h
24766
 
-    done
24767
 
-    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
24768
 
 
24769
 
-    case $depmode in
24770
 
-    nosideeffect)
24771
 
-      # after this tag, mechanisms are not by side-effect, so they'll
24772
 
-      # only be used when explicitly requested
24773
 
-      if test "x$enable_dependency_tracking" = xyes; then
24774
 
-       continue
24775
 
-      else
24776
 
-       break
24777
 
-      fi
24778
 
-      ;;
24779
 
-    none) break ;;
24780
 
-    esac
24781
 
-    # We check with `-c' and `-o' for the sake of the "dashmstdout"
24782
 
-    # mode.  It turns out that the SunPro C++ compiler does not properly
24783
 
-    # handle `-M -o', and we need to detect this.
24784
 
-    if depmode=$depmode \
24785
 
-       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
24786
 
-       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
24787
 
-       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
24788
 
-         >/dev/null 2>conftest.err &&
24789
 
-       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
24790
 
-       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
24791
 
-       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
24792
 
-       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
24793
 
-      # icc doesn't choke on unknown options, it will just issue warnings
24794
 
-      # or remarks (even with -Werror).  So we grep stderr for any message
24795
 
-      # that says an option was ignored or not supported.
24796
 
-      # When given -MP, icc 7.0 and 7.1 complain thusly:
24797
 
-      #   icc: Command line warning: ignoring option '-M'; no argument required
24798
 
-      # The diagnosis changed in icc 8.0:
24799
 
-      #   icc: Command line remark: option '-MP' not supported
24800
 
-      if (grep 'ignoring option' conftest.err ||
24801
 
-          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
24802
 
-        am_cv_CXX_dependencies_compiler_type=$depmode
24803
 
-        break
24804
 
-      fi
24805
 
-    fi
24806
 
-  done
24807
 
 
24808
 
-  cd ..
24809
 
-  rm -rf conftest.dir
24810
 
-else
24811
 
-  am_cv_CXX_dependencies_compiler_type=none
24812
 
-fi
24813
 
+# test EBCDIC or ASCII
24814
 
+case `echo X|tr X '\101'` in
24815
 
+ A) # ASCII based system
24816
 
+    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
24817
 
+  lt_SP2NL='tr \040 \012'
24818
 
+  lt_NL2SP='tr \015\012 \040\040'
24819
 
+  ;;
24820
 
+ *) # EBCDIC based system
24821
 
+  lt_SP2NL='tr \100 \n'
24822
 
+  lt_NL2SP='tr \r\n \100\100'
24823
 
+  ;;
24824
 
+esac
24825
 
 
24826
 
-fi
24827
 
-{ $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
24828
 
-$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
24829
 
-CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
24830
 
 
24831
 
- if
24832
 
-  test "x$enable_dependency_tracking" != xno \
24833
 
-  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
24834
 
-  am__fastdepCXX_TRUE=
24835
 
-  am__fastdepCXX_FALSE='#'
24836
 
-else
24837
 
-  am__fastdepCXX_TRUE='#'
24838
 
-  am__fastdepCXX_FALSE=
24839
 
-fi
24840
 
 
24841
 
 
24842
 
 
24843
 
 
24844
 
-if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
24845
 
-    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
24846
 
-    (test "X$CXX" != "Xg++"))) ; then
24847
 
-  ac_ext=cpp
24848
 
-ac_cpp='$CXXCPP $CPPFLAGS'
24849
 
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24850
 
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24851
 
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24852
 
-{ $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
24853
 
-$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
24854
 
-if test -z "$CXXCPP"; then
24855
 
-  if test "${ac_cv_prog_CXXCPP+set}" = set; then
24856
 
+
24857
 
+
24858
 
+
24859
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
24860
 
+$as_echo_n "checking for $LD option to reload object files... " >&6; }
24861
 
+if test "${lt_cv_ld_reload_flag+set}" = set; then :
24862
 
   $as_echo_n "(cached) " >&6
24863
 
 else
24864
 
-      # Double quotes because CXXCPP needs to be expanded
24865
 
-    for CXXCPP in "$CXX -E" "/lib/cpp"
24866
 
-    do
24867
 
-      ac_preproc_ok=false
24868
 
-for ac_cxx_preproc_warn_flag in '' yes
24869
 
-do
24870
 
-  # Use a header file that comes with gcc, so configuring glibc
24871
 
-  # with a fresh cross-compiler works.
24872
 
-  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24873
 
-  # <limits.h> exists even on freestanding compilers.
24874
 
-  # On the NeXT, cc -E runs the code through the compiler's parser,
24875
 
-  # not just through cpp. "Syntax error" is here to catch this case.
24876
 
-  cat >conftest.$ac_ext <<_ACEOF
24877
 
-/* confdefs.h.  */
24878
 
-_ACEOF
24879
 
-cat confdefs.h >>conftest.$ac_ext
24880
 
-cat >>conftest.$ac_ext <<_ACEOF
24881
 
-/* end confdefs.h.  */
24882
 
-#ifdef __STDC__
24883
 
-# include <limits.h>
24884
 
-#else
24885
 
-# include <assert.h>
24886
 
-#endif
24887
 
-                    Syntax error
24888
 
-_ACEOF
24889
 
-if { (ac_try="$ac_cpp conftest.$ac_ext"
24890
 
-case "(($ac_try" in
24891
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24892
 
-  *) ac_try_echo=$ac_try;;
24893
 
+  lt_cv_ld_reload_flag='-r'
24894
 
+fi
24895
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
24896
 
+$as_echo "$lt_cv_ld_reload_flag" >&6; }
24897
 
+reload_flag=$lt_cv_ld_reload_flag
24898
 
+case $reload_flag in
24899
 
+"" | " "*) ;;
24900
 
+*) reload_flag=" $reload_flag" ;;
24901
 
+esac
24902
 
+reload_cmds='$LD$reload_flag -o $output$reload_objs'
24903
 
+case $host_os in
24904
 
+  darwin*)
24905
 
+    if test "$GCC" = yes; then
24906
 
+      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
24907
 
+    else
24908
 
+      reload_cmds='$LD$reload_flag -o $output$reload_objs'
24909
 
+    fi
24910
 
+    ;;
24911
 
 esac
24912
 
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24913
 
-$as_echo "$ac_try_echo") >&5
24914
 
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24915
 
-  ac_status=$?
24916
 
-  grep -v '^ *+' conftest.er1 >conftest.err
24917
 
-  rm -f conftest.er1
24918
 
-  cat conftest.err >&5
24919
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24920
 
-  (exit $ac_status); } >/dev/null && {
24921
 
-        test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
24922
 
-        test ! -s conftest.err
24923
 
-       }; then
24924
 
-  :
24925
 
-else
24926
 
-  $as_echo "$as_me: failed program was:" >&5
24927
 
-sed 's/^/| /' conftest.$ac_ext >&5
24928
 
 
24929
 
-  # Broken: fails on valid input.
24930
 
-continue
24931
 
-fi
24932
 
 
24933
 
-rm -f conftest.err conftest.$ac_ext
24934
 
 
24935
 
-  # OK, works on sane cases.  Now check whether nonexistent headers
24936
 
-  # can be detected and how.
24937
 
-  cat >conftest.$ac_ext <<_ACEOF
24938
 
-/* confdefs.h.  */
24939
 
-_ACEOF
24940
 
-cat confdefs.h >>conftest.$ac_ext
24941
 
-cat >>conftest.$ac_ext <<_ACEOF
24942
 
-/* end confdefs.h.  */
24943
 
-#include <ac_nonexistent.h>
24944
 
-_ACEOF
24945
 
-if { (ac_try="$ac_cpp conftest.$ac_ext"
24946
 
-case "(($ac_try" in
24947
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24948
 
-  *) ac_try_echo=$ac_try;;
24949
 
-esac
24950
 
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24951
 
-$as_echo "$ac_try_echo") >&5
24952
 
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24953
 
-  ac_status=$?
24954
 
-  grep -v '^ *+' conftest.er1 >conftest.err
24955
 
-  rm -f conftest.er1
24956
 
-  cat conftest.err >&5
24957
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24958
 
-  (exit $ac_status); } >/dev/null && {
24959
 
-        test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
24960
 
-        test ! -s conftest.err
24961
 
-       }; then
24962
 
-  # Broken: success on invalid input.
24963
 
-continue
24964
 
-else
24965
 
-  $as_echo "$as_me: failed program was:" >&5
24966
 
-sed 's/^/| /' conftest.$ac_ext >&5
24967
 
 
24968
 
-  # Passes both tests.
24969
 
-ac_preproc_ok=:
24970
 
-break
24971
 
-fi
24972
 
 
24973
 
-rm -f conftest.err conftest.$ac_ext
24974
 
 
24975
 
+
24976
 
+
24977
 
+
24978
 
+if test -n "$ac_tool_prefix"; then
24979
 
+  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
24980
 
+set dummy ${ac_tool_prefix}objdump; ac_word=$2
24981
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24982
 
+$as_echo_n "checking for $ac_word... " >&6; }
24983
 
+if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
24984
 
+  $as_echo_n "(cached) " >&6
24985
 
+else
24986
 
+  if test -n "$OBJDUMP"; then
24987
 
+  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
24988
 
+else
24989
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24990
 
+for as_dir in $PATH
24991
 
+do
24992
 
+  IFS=$as_save_IFS
24993
 
+  test -z "$as_dir" && as_dir=.
24994
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
24995
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24996
 
+    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
24997
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24998
 
+    break 2
24999
 
+  fi
25000
 
 done
25001
 
-# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
25002
 
-rm -f conftest.err conftest.$ac_ext
25003
 
-if $ac_preproc_ok; then
25004
 
-  break
25005
 
+  done
25006
 
+IFS=$as_save_IFS
25007
 
+
25008
 
+fi
25009
 
+fi
25010
 
+OBJDUMP=$ac_cv_prog_OBJDUMP
25011
 
+if test -n "$OBJDUMP"; then
25012
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
25013
 
+$as_echo "$OBJDUMP" >&6; }
25014
 
+else
25015
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25016
 
+$as_echo "no" >&6; }
25017
 
 fi
25018
 
 
25019
 
-    done
25020
 
-    ac_cv_prog_CXXCPP=$CXXCPP
25021
 
 
25022
 
 fi
25023
 
-  CXXCPP=$ac_cv_prog_CXXCPP
25024
 
+if test -z "$ac_cv_prog_OBJDUMP"; then
25025
 
+  ac_ct_OBJDUMP=$OBJDUMP
25026
 
+  # Extract the first word of "objdump", so it can be a program name with args.
25027
 
+set dummy objdump; ac_word=$2
25028
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25029
 
+$as_echo_n "checking for $ac_word... " >&6; }
25030
 
+if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
25031
 
+  $as_echo_n "(cached) " >&6
25032
 
 else
25033
 
-  ac_cv_prog_CXXCPP=$CXXCPP
25034
 
-fi
25035
 
-{ $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
25036
 
-$as_echo "$CXXCPP" >&6; }
25037
 
-ac_preproc_ok=false
25038
 
-for ac_cxx_preproc_warn_flag in '' yes
25039
 
-do
25040
 
-  # Use a header file that comes with gcc, so configuring glibc
25041
 
-  # with a fresh cross-compiler works.
25042
 
-  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25043
 
-  # <limits.h> exists even on freestanding compilers.
25044
 
-  # On the NeXT, cc -E runs the code through the compiler's parser,
25045
 
-  # not just through cpp. "Syntax error" is here to catch this case.
25046
 
-  cat >conftest.$ac_ext <<_ACEOF
25047
 
-/* confdefs.h.  */
25048
 
-_ACEOF
25049
 
-cat confdefs.h >>conftest.$ac_ext
25050
 
-cat >>conftest.$ac_ext <<_ACEOF
25051
 
-/* end confdefs.h.  */
25052
 
-#ifdef __STDC__
25053
 
-# include <limits.h>
25054
 
-#else
25055
 
-# include <assert.h>
25056
 
-#endif
25057
 
-                    Syntax error
25058
 
-_ACEOF
25059
 
-if { (ac_try="$ac_cpp conftest.$ac_ext"
25060
 
-case "(($ac_try" in
25061
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25062
 
-  *) ac_try_echo=$ac_try;;
25063
 
-esac
25064
 
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25065
 
-$as_echo "$ac_try_echo") >&5
25066
 
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25067
 
-  ac_status=$?
25068
 
-  grep -v '^ *+' conftest.er1 >conftest.err
25069
 
-  rm -f conftest.er1
25070
 
-  cat conftest.err >&5
25071
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25072
 
-  (exit $ac_status); } >/dev/null && {
25073
 
-        test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
25074
 
-        test ! -s conftest.err
25075
 
-       }; then
25076
 
-  :
25077
 
-else
25078
 
-  $as_echo "$as_me: failed program was:" >&5
25079
 
-sed 's/^/| /' conftest.$ac_ext >&5
25080
 
-
25081
 
-  # Broken: fails on valid input.
25082
 
-continue
25083
 
-fi
25084
 
-
25085
 
-rm -f conftest.err conftest.$ac_ext
25086
 
-
25087
 
-  # OK, works on sane cases.  Now check whether nonexistent headers
25088
 
-  # can be detected and how.
25089
 
-  cat >conftest.$ac_ext <<_ACEOF
25090
 
-/* confdefs.h.  */
25091
 
-_ACEOF
25092
 
-cat confdefs.h >>conftest.$ac_ext
25093
 
-cat >>conftest.$ac_ext <<_ACEOF
25094
 
-/* end confdefs.h.  */
25095
 
-#include <ac_nonexistent.h>
25096
 
-_ACEOF
25097
 
-if { (ac_try="$ac_cpp conftest.$ac_ext"
25098
 
-case "(($ac_try" in
25099
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25100
 
-  *) ac_try_echo=$ac_try;;
25101
 
-esac
25102
 
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25103
 
-$as_echo "$ac_try_echo") >&5
25104
 
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25105
 
-  ac_status=$?
25106
 
-  grep -v '^ *+' conftest.er1 >conftest.err
25107
 
-  rm -f conftest.er1
25108
 
-  cat conftest.err >&5
25109
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25110
 
-  (exit $ac_status); } >/dev/null && {
25111
 
-        test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
25112
 
-        test ! -s conftest.err
25113
 
-       }; then
25114
 
-  # Broken: success on invalid input.
25115
 
-continue
25116
 
-else
25117
 
-  $as_echo "$as_me: failed program was:" >&5
25118
 
-sed 's/^/| /' conftest.$ac_ext >&5
25119
 
-
25120
 
-  # Passes both tests.
25121
 
-ac_preproc_ok=:
25122
 
-break
25123
 
-fi
25124
 
-
25125
 
-rm -f conftest.err conftest.$ac_ext
25126
 
-
25127
 
-done
25128
 
-# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
25129
 
-rm -f conftest.err conftest.$ac_ext
25130
 
-if $ac_preproc_ok; then
25131
 
-  :
25132
 
-else
25133
 
-  { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
25134
 
-See \`config.log' for more details." >&5
25135
 
-$as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
25136
 
-See \`config.log' for more details." >&2;}
25137
 
-   { (exit 1); exit 1; }; }
25138
 
-fi
25139
 
-
25140
 
-ac_ext=cpp
25141
 
-ac_cpp='$CXXCPP $CPPFLAGS'
25142
 
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25143
 
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25144
 
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25145
 
-
25146
 
-fi
25147
 
-
25148
 
-
25149
 
-ac_ext=f
25150
 
-ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
25151
 
-ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25152
 
-ac_compiler_gnu=$ac_cv_f77_compiler_gnu
25153
 
-if test -n "$ac_tool_prefix"; then
25154
 
-  for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
25155
 
-  do
25156
 
-    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
25157
 
-set dummy $ac_tool_prefix$ac_prog; ac_word=$2
25158
 
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
25159
 
-$as_echo_n "checking for $ac_word... " >&6; }
25160
 
-if test "${ac_cv_prog_F77+set}" = set; then
25161
 
-  $as_echo_n "(cached) " >&6
25162
 
-else
25163
 
-  if test -n "$F77"; then
25164
 
-  ac_cv_prog_F77="$F77" # Let the user override the test.
25165
 
-else
25166
 
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25167
 
-for as_dir in $PATH
25168
 
+  if test -n "$ac_ct_OBJDUMP"; then
25169
 
+  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
25170
 
+else
25171
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25172
 
+for as_dir in $PATH
25173
 
 do
25174
 
   IFS=$as_save_IFS
25175
 
   test -z "$as_dir" && as_dir=.
25176
 
-  for ac_exec_ext in '' $ac_executable_extensions; do
25177
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
25178
 
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25179
 
-    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
25180
 
-    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25181
 
+    ac_cv_prog_ac_ct_OBJDUMP="objdump"
25182
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25183
 
     break 2
25184
 
   fi
25185
 
 done
25186
 
-done
25187
 
-IFS=$as_save_IFS
25188
 
-
25189
 
-fi
25190
 
-fi
25191
 
-F77=$ac_cv_prog_F77
25192
 
-if test -n "$F77"; then
25193
 
-  { $as_echo "$as_me:$LINENO: result: $F77" >&5
25194
 
-$as_echo "$F77" >&6; }
25195
 
-else
25196
 
-  { $as_echo "$as_me:$LINENO: result: no" >&5
25197
 
-$as_echo "no" >&6; }
25198
 
-fi
25199
 
-
25200
 
-
25201
 
-    test -n "$F77" && break
25202
 
   done
25203
 
-fi
25204
 
-if test -z "$F77"; then
25205
 
-  ac_ct_F77=$F77
25206
 
-  for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
25207
 
-do
25208
 
-  # Extract the first word of "$ac_prog", so it can be a program name with args.
25209
 
-set dummy $ac_prog; ac_word=$2
25210
 
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
25211
 
-$as_echo_n "checking for $ac_word... " >&6; }
25212
 
-if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
25213
 
-  $as_echo_n "(cached) " >&6
25214
 
-else
25215
 
-  if test -n "$ac_ct_F77"; then
25216
 
-  ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
25217
 
-else
25218
 
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25219
 
-for as_dir in $PATH
25220
 
-do
25221
 
-  IFS=$as_save_IFS
25222
 
-  test -z "$as_dir" && as_dir=.
25223
 
-  for ac_exec_ext in '' $ac_executable_extensions; do
25224
 
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25225
 
-    ac_cv_prog_ac_ct_F77="$ac_prog"
25226
 
-    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25227
 
-    break 2
25228
 
-  fi
25229
 
-done
25230
 
-done
25231
 
 IFS=$as_save_IFS
25232
 
 
25233
 
 fi
25234
 
 fi
25235
 
-ac_ct_F77=$ac_cv_prog_ac_ct_F77
25236
 
-if test -n "$ac_ct_F77"; then
25237
 
-  { $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
25238
 
-$as_echo "$ac_ct_F77" >&6; }
25239
 
+ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
25240
 
+if test -n "$ac_ct_OBJDUMP"; then
25241
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
25242
 
+$as_echo "$ac_ct_OBJDUMP" >&6; }
25243
 
 else
25244
 
-  { $as_echo "$as_me:$LINENO: result: no" >&5
25245
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25246
 
 $as_echo "no" >&6; }
25247
 
 fi
25248
 
 
25249
 
-
25250
 
-  test -n "$ac_ct_F77" && break
25251
 
-done
25252
 
-
25253
 
-  if test "x$ac_ct_F77" = x; then
25254
 
-    F77=""
25255
 
+  if test "x$ac_ct_OBJDUMP" = x; then
25256
 
+    OBJDUMP="false"
25257
 
   else
25258
 
     case $cross_compiling:$ac_tool_warned in
25259
 
 yes:)
25260
 
-{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
25261
 
-whose name does not start with the host triplet.  If you think this
25262
 
-configuration is useful to you, please write to autoconf@gnu.org." >&5
25263
 
-$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
25264
 
-whose name does not start with the host triplet.  If you think this
25265
 
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
25266
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
25267
 
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
25268
 
 ac_tool_warned=yes ;;
25269
 
 esac
25270
 
-    F77=$ac_ct_F77
25271
 
+    OBJDUMP=$ac_ct_OBJDUMP
25272
 
   fi
25273
 
+else
25274
 
+  OBJDUMP="$ac_cv_prog_OBJDUMP"
25275
 
 fi
25276
 
 
25277
 
+test -z "$OBJDUMP" && OBJDUMP=objdump
25278
 
 
25279
 
-# Provide some information about the compiler.
25280
 
-$as_echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
25281
 
-set X $ac_compile
25282
 
-ac_compiler=$2
25283
 
-{ (ac_try="$ac_compiler --version >&5"
25284
 
-case "(($ac_try" in
25285
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25286
 
-  *) ac_try_echo=$ac_try;;
25287
 
-esac
25288
 
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25289
 
-$as_echo "$ac_try_echo") >&5
25290
 
-  (eval "$ac_compiler --version >&5") 2>&5
25291
 
-  ac_status=$?
25292
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25293
 
-  (exit $ac_status); }
25294
 
-{ (ac_try="$ac_compiler -v >&5"
25295
 
-case "(($ac_try" in
25296
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25297
 
-  *) ac_try_echo=$ac_try;;
25298
 
-esac
25299
 
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25300
 
-$as_echo "$ac_try_echo") >&5
25301
 
-  (eval "$ac_compiler -v >&5") 2>&5
25302
 
-  ac_status=$?
25303
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25304
 
-  (exit $ac_status); }
25305
 
-{ (ac_try="$ac_compiler -V >&5"
25306
 
-case "(($ac_try" in
25307
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25308
 
-  *) ac_try_echo=$ac_try;;
25309
 
-esac
25310
 
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25311
 
-$as_echo "$ac_try_echo") >&5
25312
 
-  (eval "$ac_compiler -V >&5") 2>&5
25313
 
-  ac_status=$?
25314
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25315
 
-  (exit $ac_status); }
25316
 
-rm -f a.out
25317
 
-
25318
 
-# If we don't use `.F' as extension, the preprocessor is not run on the
25319
 
-# input file.  (Note that this only needs to work for GNU compilers.)
25320
 
-ac_save_ext=$ac_ext
25321
 
-ac_ext=F
25322
 
-{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
25323
 
-$as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
25324
 
-if test "${ac_cv_f77_compiler_gnu+set}" = set; then
25325
 
-  $as_echo_n "(cached) " >&6
25326
 
-else
25327
 
-  cat >conftest.$ac_ext <<_ACEOF
25328
 
-      program main
25329
 
-#ifndef __GNUC__
25330
 
-       choke me
25331
 
-#endif
25332
 
 
25333
 
-      end
25334
 
-_ACEOF
25335
 
-rm -f conftest.$ac_objext
25336
 
-if { (ac_try="$ac_compile"
25337
 
-case "(($ac_try" in
25338
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25339
 
-  *) ac_try_echo=$ac_try;;
25340
 
-esac
25341
 
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25342
 
-$as_echo "$ac_try_echo") >&5
25343
 
-  (eval "$ac_compile") 2>conftest.er1
25344
 
-  ac_status=$?
25345
 
-  grep -v '^ *+' conftest.er1 >conftest.err
25346
 
-  rm -f conftest.er1
25347
 
-  cat conftest.err >&5
25348
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25349
 
-  (exit $ac_status); } && {
25350
 
-        test -z "$ac_f77_werror_flag" ||
25351
 
-        test ! -s conftest.err
25352
 
-       } && test -s conftest.$ac_objext; then
25353
 
-  ac_compiler_gnu=yes
25354
 
-else
25355
 
-  $as_echo "$as_me: failed program was:" >&5
25356
 
-sed 's/^/| /' conftest.$ac_ext >&5
25357
 
 
25358
 
-       ac_compiler_gnu=no
25359
 
-fi
25360
 
 
25361
 
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25362
 
-ac_cv_f77_compiler_gnu=$ac_compiler_gnu
25363
 
 
25364
 
-fi
25365
 
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
25366
 
-$as_echo "$ac_cv_f77_compiler_gnu" >&6; }
25367
 
-ac_ext=$ac_save_ext
25368
 
-ac_test_FFLAGS=${FFLAGS+set}
25369
 
-ac_save_FFLAGS=$FFLAGS
25370
 
-FFLAGS=
25371
 
-{ $as_echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
25372
 
-$as_echo_n "checking whether $F77 accepts -g... " >&6; }
25373
 
-if test "${ac_cv_prog_f77_g+set}" = set; then
25374
 
+
25375
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
25376
 
+$as_echo_n "checking how to recognize dependent libraries... " >&6; }
25377
 
+if test "${lt_cv_deplibs_check_method+set}" = set; then :
25378
 
   $as_echo_n "(cached) " >&6
25379
 
 else
25380
 
-  FFLAGS=-g
25381
 
-cat >conftest.$ac_ext <<_ACEOF
25382
 
-      program main
25383
 
+  lt_cv_file_magic_cmd='$MAGIC_CMD'
25384
 
+lt_cv_file_magic_test_file=
25385
 
+lt_cv_deplibs_check_method='unknown'
25386
 
+# Need to set the preceding variable on all platforms that support
25387
 
+# interlibrary dependencies.
25388
 
+# 'none' -- dependencies not supported.
25389
 
+# `unknown' -- same as none, but documents that we really don't know.
25390
 
+# 'pass_all' -- all dependencies passed with no checks.
25391
 
+# 'test_compile' -- check by making test program.
25392
 
+# 'file_magic [[regex]]' -- check by looking for files in library path
25393
 
+# which responds to the $file_magic_cmd with a given extended regex.
25394
 
+# If you have `file' or equivalent on your system and you're not sure
25395
 
+# whether `pass_all' will *always* work, you probably want this one.
25396
 
 
25397
 
-      end
25398
 
-_ACEOF
25399
 
-rm -f conftest.$ac_objext
25400
 
-if { (ac_try="$ac_compile"
25401
 
-case "(($ac_try" in
25402
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25403
 
-  *) ac_try_echo=$ac_try;;
25404
 
-esac
25405
 
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25406
 
-$as_echo "$ac_try_echo") >&5
25407
 
-  (eval "$ac_compile") 2>conftest.er1
25408
 
-  ac_status=$?
25409
 
-  grep -v '^ *+' conftest.er1 >conftest.err
25410
 
-  rm -f conftest.er1
25411
 
-  cat conftest.err >&5
25412
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25413
 
-  (exit $ac_status); } && {
25414
 
-        test -z "$ac_f77_werror_flag" ||
25415
 
-        test ! -s conftest.err
25416
 
-       } && test -s conftest.$ac_objext; then
25417
 
-  ac_cv_prog_f77_g=yes
25418
 
-else
25419
 
-  $as_echo "$as_me: failed program was:" >&5
25420
 
-sed 's/^/| /' conftest.$ac_ext >&5
25421
 
+case $host_os in
25422
 
+aix[4-9]*)
25423
 
+  lt_cv_deplibs_check_method=pass_all
25424
 
+  ;;
25425
 
 
25426
 
-       ac_cv_prog_f77_g=no
25427
 
-fi
25428
 
+beos*)
25429
 
+  lt_cv_deplibs_check_method=pass_all
25430
 
+  ;;
25431
 
 
25432
 
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25433
 
+bsdi[45]*)
25434
 
+  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
25435
 
+  lt_cv_file_magic_cmd='/usr/bin/file -L'
25436
 
+  lt_cv_file_magic_test_file=/shlib/libc.so
25437
 
+  ;;
25438
 
 
25439
 
-fi
25440
 
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
25441
 
-$as_echo "$ac_cv_prog_f77_g" >&6; }
25442
 
-if test "$ac_test_FFLAGS" = set; then
25443
 
-  FFLAGS=$ac_save_FFLAGS
25444
 
-elif test $ac_cv_prog_f77_g = yes; then
25445
 
-  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
25446
 
-    FFLAGS="-g -O2"
25447
 
-  else
25448
 
-    FFLAGS="-g"
25449
 
-  fi
25450
 
-else
25451
 
-  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
25452
 
-    FFLAGS="-O2"
25453
 
+cygwin*)
25454
 
+  # func_win32_libid is a shell function defined in ltmain.sh
25455
 
+  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
25456
 
+  lt_cv_file_magic_cmd='func_win32_libid'
25457
 
+  ;;
25458
 
+
25459
 
+mingw* | pw32*)
25460
 
+  # Base MSYS/MinGW do not provide the 'file' command needed by
25461
 
+  # func_win32_libid shell function, so use a weaker test based on 'objdump',
25462
 
+  # unless we find 'file', for example because we are cross-compiling.
25463
 
+  if ( file / ) >/dev/null 2>&1; then
25464
 
+    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
25465
 
+    lt_cv_file_magic_cmd='func_win32_libid'
25466
 
   else
25467
 
-    FFLAGS=
25468
 
+    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
25469
 
+    lt_cv_file_magic_cmd='$OBJDUMP -f'
25470
 
   fi
25471
 
-fi
25472
 
-
25473
 
-if test $ac_compiler_gnu = yes; then
25474
 
-  G77=yes
25475
 
-else
25476
 
-  G77=
25477
 
-fi
25478
 
-ac_ext=c
25479
 
-ac_cpp='$CPP $CPPFLAGS'
25480
 
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25481
 
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25482
 
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
25483
 
+  ;;
25484
 
 
25485
 
+cegcc)
25486
 
+  # use the weaker test based on 'objdump'. See mingw*.
25487
 
+  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
25488
 
+  lt_cv_file_magic_cmd='$OBJDUMP -f'
25489
 
+  ;;
25490
 
 
25491
 
+darwin* | rhapsody*)
25492
 
+  lt_cv_deplibs_check_method=pass_all
25493
 
+  ;;
25494
 
 
25495
 
-# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
25496
 
-# find the maximum length of command line arguments
25497
 
-{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
25498
 
-$as_echo_n "checking the maximum length of command line arguments... " >&6; }
25499
 
-if test "${lt_cv_sys_max_cmd_len+set}" = set; then
25500
 
-  $as_echo_n "(cached) " >&6
25501
 
-else
25502
 
-    i=0
25503
 
-  teststring="ABCD"
25504
 
+freebsd* | dragonfly*)
25505
 
+  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
25506
 
+    case $host_cpu in
25507
 
+    i*86 )
25508
 
+      # Not sure whether the presence of OpenBSD here was a mistake.
25509
 
+      # Let's accept both of them until this is cleared up.
25510
 
+      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
25511
 
+      lt_cv_file_magic_cmd=/usr/bin/file
25512
 
+      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
25513
 
+      ;;
25514
 
+    esac
25515
 
+  else
25516
 
+    lt_cv_deplibs_check_method=pass_all
25517
 
+  fi
25518
 
+  ;;
25519
 
 
25520
 
-  case $build_os in
25521
 
-  msdosdjgpp*)
25522
 
-    # On DJGPP, this test can blow up pretty badly due to problems in libc
25523
 
-    # (any single argument exceeding 2000 bytes causes a buffer overrun
25524
 
-    # during glob expansion).  Even if it were fixed, the result of this
25525
 
-    # check would be larger than it should be.
25526
 
-    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
25527
 
-    ;;
25528
 
+gnu*)
25529
 
+  lt_cv_deplibs_check_method=pass_all
25530
 
+  ;;
25531
 
 
25532
 
-  gnu*)
25533
 
-    # Under GNU Hurd, this test is not required because there is
25534
 
-    # no limit to the length of command line arguments.
25535
 
-    # Libtool will interpret -1 as no limit whatsoever
25536
 
-    lt_cv_sys_max_cmd_len=-1;
25537
 
-    ;;
25538
 
-
25539
 
-  cygwin* | mingw*)
25540
 
-    # On Win9x/ME, this test blows up -- it succeeds, but takes
25541
 
-    # about 5 minutes as the teststring grows exponentially.
25542
 
-    # Worse, since 9x/ME are not pre-emptively multitasking,
25543
 
-    # you end up with a "frozen" computer, even though with patience
25544
 
-    # the test eventually succeeds (with a max line length of 256k).
25545
 
-    # Instead, let's just punt: use the minimum linelength reported by
25546
 
-    # all of the supported platforms: 8192 (on NT/2K/XP).
25547
 
-    lt_cv_sys_max_cmd_len=8192;
25548
 
-    ;;
25549
 
-
25550
 
-  amigaos*)
25551
 
-    # On AmigaOS with pdksh, this test takes hours, literally.
25552
 
-    # So we just punt and use a minimum line length of 8192.
25553
 
-    lt_cv_sys_max_cmd_len=8192;
25554
 
-    ;;
25555
 
-
25556
 
-  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
25557
 
-    # This has been around since 386BSD, at least.  Likely further.
25558
 
-    if test -x /sbin/sysctl; then
25559
 
-      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
25560
 
-    elif test -x /usr/sbin/sysctl; then
25561
 
-      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
25562
 
-    else
25563
 
-      lt_cv_sys_max_cmd_len=65536      # usable default for all BSDs
25564
 
-    fi
25565
 
-    # And add a safety zone
25566
 
-    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
25567
 
-    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
25568
 
-    ;;
25569
 
-
25570
 
-  interix*)
25571
 
-    # We know the value 262144 and hardcode it with a safety zone (like BSD)
25572
 
-    lt_cv_sys_max_cmd_len=196608
25573
 
-    ;;
25574
 
-
25575
 
-  osf*)
25576
 
-    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
25577
 
-    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
25578
 
-    # nice to cause kernel panics so lets avoid the loop below.
25579
 
-    # First set a reasonable default.
25580
 
-    lt_cv_sys_max_cmd_len=16384
25581
 
-    #
25582
 
-    if test -x /sbin/sysconfig; then
25583
 
-      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
25584
 
-        *1*) lt_cv_sys_max_cmd_len=-1 ;;
25585
 
-      esac
25586
 
-    fi
25587
 
-    ;;
25588
 
-  sco3.2v5*)
25589
 
-    lt_cv_sys_max_cmd_len=102400
25590
 
+hpux10.20* | hpux11*)
25591
 
+  lt_cv_file_magic_cmd=/usr/bin/file
25592
 
+  case $host_cpu in
25593
 
+  ia64*)
25594
 
+    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
25595
 
+    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
25596
 
     ;;
25597
 
-  sysv5* | sco5v6* | sysv4.2uw2*)
25598
 
-    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
25599
 
-    if test -n "$kargmax"; then
25600
 
-      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[        ]//'`
25601
 
-    else
25602
 
-      lt_cv_sys_max_cmd_len=32768
25603
 
-    fi
25604
 
+  hppa*64*)
25605
 
+    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]'
25606
 
+    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
25607
 
     ;;
25608
 
   *)
25609
 
-    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
25610
 
-    if test -n "$lt_cv_sys_max_cmd_len"; then
25611
 
-      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
25612
 
-      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
25613
 
-    else
25614
 
-      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
25615
 
-      while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
25616
 
-              = "XX$teststring") >/dev/null 2>&1 &&
25617
 
-             new_result=`expr "X$teststring" : ".*" 2>&1` &&
25618
 
-             lt_cv_sys_max_cmd_len=$new_result &&
25619
 
-             test $i != 17 # 1/2 MB should be enough
25620
 
-      do
25621
 
-        i=`expr $i + 1`
25622
 
-        teststring=$teststring$teststring
25623
 
-      done
25624
 
-      teststring=
25625
 
-      # Add a significant safety factor because C++ compilers can tack on massive
25626
 
-      # amounts of additional arguments before passing them to the linker.
25627
 
-      # It appears as though 1/2 is a usable value.
25628
 
-      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
25629
 
-    fi
25630
 
+    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
25631
 
+    lt_cv_file_magic_test_file=/usr/lib/libc.sl
25632
 
     ;;
25633
 
   esac
25634
 
+  ;;
25635
 
 
25636
 
-fi
25637
 
-
25638
 
-if test -n $lt_cv_sys_max_cmd_len ; then
25639
 
-  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
25640
 
-$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
25641
 
-else
25642
 
-  { $as_echo "$as_me:$LINENO: result: none" >&5
25643
 
-$as_echo "none" >&6; }
25644
 
-fi
25645
 
-
25646
 
-
25647
 
-
25648
 
-
25649
 
-
25650
 
-# Check for command to grab the raw symbol name followed by C symbol from nm.
25651
 
-{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
25652
 
-$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
25653
 
-if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
25654
 
-  $as_echo_n "(cached) " >&6
25655
 
-else
25656
 
-
25657
 
-# These are sane defaults that work on at least a few old systems.
25658
 
-# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
25659
 
-
25660
 
-# Character class describing NM global symbol codes.
25661
 
-symcode='[BCDEGRST]'
25662
 
-
25663
 
-# Regexp to match symbols that can be accessed directly from C.
25664
 
-sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
25665
 
+interix[3-9]*)
25666
 
+  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
25667
 
+  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
25668
 
+  ;;
25669
 
 
25670
 
-# Transform an extracted symbol line into a proper C declaration
25671
 
-lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
25672
 
+irix5* | irix6* | nonstopux*)
25673
 
+  case $LD in
25674
 
+  *-32|*"-32 ") libmagic=32-bit;;
25675
 
+  *-n32|*"-n32 ") libmagic=N32;;
25676
 
+  *-64|*"-64 ") libmagic=64-bit;;
25677
 
+  *) libmagic=never-match;;
25678
 
+  esac
25679
 
+  lt_cv_deplibs_check_method=pass_all
25680
 
+  ;;
25681
 
 
25682
 
-# Transform an extracted symbol line into symbol name and symbol address
25683
 
-lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
25684
 
+# This must be Linux ELF.
25685
 
+linux* | k*bsd*-gnu)
25686
 
+  lt_cv_deplibs_check_method=pass_all
25687
 
+  ;;
25688
 
 
25689
 
-# Define system-specific variables.
25690
 
-case $host_os in
25691
 
-aix*)
25692
 
-  symcode='[BCDT]'
25693
 
+netbsd* | netbsdelf*-gnu)
25694
 
+  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
25695
 
+    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
25696
 
+  else
25697
 
+    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
25698
 
+  fi
25699
 
   ;;
25700
 
-cygwin* | mingw* | pw32*)
25701
 
-  symcode='[ABCDGISTW]'
25702
 
+
25703
 
+newos6*)
25704
 
+  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
25705
 
+  lt_cv_file_magic_cmd=/usr/bin/file
25706
 
+  lt_cv_file_magic_test_file=/usr/lib/libnls.so
25707
 
   ;;
25708
 
-hpux*) # Its linker distinguishes data from code symbols
25709
 
-  if test "$host_cpu" = ia64; then
25710
 
-    symcode='[ABCDEGRST]'
25711
 
-  fi
25712
 
-  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
25713
 
-  lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
25714
 
+
25715
 
+*nto* | *qnx*)
25716
 
+  lt_cv_deplibs_check_method=pass_all
25717
 
   ;;
25718
 
-linux* | k*bsd*-gnu)
25719
 
-  if test "$host_cpu" = ia64; then
25720
 
-    symcode='[ABCDGIRSTW]'
25721
 
-    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
25722
 
-    lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
25723
 
+
25724
 
+openbsd*)
25725
 
+  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
25726
 
+    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
25727
 
+  else
25728
 
+    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
25729
 
   fi
25730
 
   ;;
25731
 
-irix* | nonstopux*)
25732
 
-  symcode='[BCDEGRST]'
25733
 
+
25734
 
+osf3* | osf4* | osf5*)
25735
 
+  lt_cv_deplibs_check_method=pass_all
25736
 
   ;;
25737
 
-osf*)
25738
 
-  symcode='[BCDEGQRST]'
25739
 
+
25740
 
+rdos*)
25741
 
+  lt_cv_deplibs_check_method=pass_all
25742
 
   ;;
25743
 
+
25744
 
 solaris*)
25745
 
-  symcode='[BDRT]'
25746
 
-  ;;
25747
 
-sco3.2v5*)
25748
 
-  symcode='[DT]'
25749
 
-  ;;
25750
 
-sysv4.2uw2*)
25751
 
-  symcode='[DT]'
25752
 
+  lt_cv_deplibs_check_method=pass_all
25753
 
   ;;
25754
 
-sysv5* | sco5v6* | unixware* | OpenUNIX*)
25755
 
-  symcode='[ABDT]'
25756
 
+
25757
 
+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
25758
 
+  lt_cv_deplibs_check_method=pass_all
25759
 
   ;;
25760
 
-sysv4)
25761
 
-  symcode='[DFNSTU]'
25762
 
+
25763
 
+sysv4 | sysv4.3*)
25764
 
+  case $host_vendor in
25765
 
+  motorola)
25766
 
+    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]'
25767
 
+    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
25768
 
+    ;;
25769
 
+  ncr)
25770
 
+    lt_cv_deplibs_check_method=pass_all
25771
 
+    ;;
25772
 
+  sequent)
25773
 
+    lt_cv_file_magic_cmd='/bin/file'
25774
 
+    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
25775
 
+    ;;
25776
 
+  sni)
25777
 
+    lt_cv_file_magic_cmd='/bin/file'
25778
 
+    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
25779
 
+    lt_cv_file_magic_test_file=/lib/libc.so
25780
 
+    ;;
25781
 
+  siemens)
25782
 
+    lt_cv_deplibs_check_method=pass_all
25783
 
+    ;;
25784
 
+  pc)
25785
 
+    lt_cv_deplibs_check_method=pass_all
25786
 
+    ;;
25787
 
+  esac
25788
 
   ;;
25789
 
-esac
25790
 
 
25791
 
-# Handle CRLF in mingw tool chain
25792
 
-opt_cr=
25793
 
-case $build_os in
25794
 
-mingw*)
25795
 
-  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
25796
 
+tpf*)
25797
 
+  lt_cv_deplibs_check_method=pass_all
25798
 
   ;;
25799
 
 esac
25800
 
 
25801
 
-# If we're using GNU nm, then use its standard symbol codes.
25802
 
-case `$NM -V 2>&1` in
25803
 
-*GNU* | *'with BFD'*)
25804
 
-  symcode='[ABCDGIRSTW]' ;;
25805
 
-esac
25806
 
+fi
25807
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
25808
 
+$as_echo "$lt_cv_deplibs_check_method" >&6; }
25809
 
+file_magic_cmd=$lt_cv_file_magic_cmd
25810
 
+deplibs_check_method=$lt_cv_deplibs_check_method
25811
 
+test -z "$deplibs_check_method" && deplibs_check_method=unknown
25812
 
 
25813
 
-# Try without a prefix undercore, then with it.
25814
 
-for ac_symprfx in "" "_"; do
25815
 
 
25816
 
-  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
25817
 
-  symxfrm="\\1 $ac_symprfx\\2 \\2"
25818
 
 
25819
 
-  # Write the raw and C identifiers.
25820
 
-  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
25821
 
 
25822
 
-  # Check to see that the pipe works correctly.
25823
 
-  pipe_works=no
25824
 
 
25825
 
-  rm -f conftest*
25826
 
-  cat > conftest.$ac_ext <<EOF
25827
 
-#ifdef __cplusplus
25828
 
-extern "C" {
25829
 
-#endif
25830
 
-char nm_test_var;
25831
 
-void nm_test_func(){}
25832
 
-#ifdef __cplusplus
25833
 
-}
25834
 
-#endif
25835
 
-int main(){nm_test_var='a';nm_test_func();return(0);}
25836
 
-EOF
25837
 
 
25838
 
-  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25839
 
-  (eval $ac_compile) 2>&5
25840
 
-  ac_status=$?
25841
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25842
 
-  (exit $ac_status); }; then
25843
 
-    # Now try to grab the symbols.
25844
 
-    nlist=conftest.nm
25845
 
-    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
25846
 
-  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
25847
 
-  ac_status=$?
25848
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25849
 
-  (exit $ac_status); } && test -s "$nlist"; then
25850
 
-      # Try sorting and uniquifying the output.
25851
 
-      if sort "$nlist" | uniq > "$nlist"T; then
25852
 
-       mv -f "$nlist"T "$nlist"
25853
 
-      else
25854
 
-       rm -f "$nlist"T
25855
 
-      fi
25856
 
 
25857
 
-      # Make sure that we snagged all the symbols we need.
25858
 
-      if grep ' nm_test_var$' "$nlist" >/dev/null; then
25859
 
-       if grep ' nm_test_func$' "$nlist" >/dev/null; then
25860
 
-         cat <<EOF > conftest.$ac_ext
25861
 
-#ifdef __cplusplus
25862
 
-extern "C" {
25863
 
-#endif
25864
 
 
25865
 
-EOF
25866
 
-         # Now generate the symbol file.
25867
 
-         eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
25868
 
-
25869
 
-         cat <<EOF >> conftest.$ac_ext
25870
 
-#if defined (__STDC__) && __STDC__
25871
 
-# define lt_ptr_t void *
25872
 
-#else
25873
 
-# define lt_ptr_t char *
25874
 
-# define const
25875
 
-#endif
25876
 
-
25877
 
-/* The mapping between symbol names and symbols. */
25878
 
-const struct {
25879
 
-  const char *name;
25880
 
-  lt_ptr_t address;
25881
 
-}
25882
 
-lt_preloaded_symbols[] =
25883
 
-{
25884
 
-EOF
25885
 
-         $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
25886
 
-         cat <<\EOF >> conftest.$ac_ext
25887
 
-  {0, (lt_ptr_t) 0}
25888
 
-};
25889
 
-
25890
 
-#ifdef __cplusplus
25891
 
-}
25892
 
-#endif
25893
 
-EOF
25894
 
-         # Now try linking the two files.
25895
 
-         mv conftest.$ac_objext conftstm.$ac_objext
25896
 
-         lt_save_LIBS="$LIBS"
25897
 
-         lt_save_CFLAGS="$CFLAGS"
25898
 
-         LIBS="conftstm.$ac_objext"
25899
 
-         CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
25900
 
-         if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25901
 
-  (eval $ac_link) 2>&5
25902
 
-  ac_status=$?
25903
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25904
 
-  (exit $ac_status); } && test -s conftest${ac_exeext}; then
25905
 
-           pipe_works=yes
25906
 
-         fi
25907
 
-         LIBS="$lt_save_LIBS"
25908
 
-         CFLAGS="$lt_save_CFLAGS"
25909
 
-       else
25910
 
-         echo "cannot find nm_test_func in $nlist" >&5
25911
 
-       fi
25912
 
-      else
25913
 
-       echo "cannot find nm_test_var in $nlist" >&5
25914
 
-      fi
25915
 
-    else
25916
 
-      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
25917
 
-    fi
25918
 
-  else
25919
 
-    echo "$progname: failed program was:" >&5
25920
 
-    cat conftest.$ac_ext >&5
25921
 
-  fi
25922
 
-  rm -rf conftest* conftst*
25923
 
-
25924
 
-  # Do not use the global_symbol_pipe unless it works.
25925
 
-  if test "$pipe_works" = yes; then
25926
 
-    break
25927
 
-  else
25928
 
-    lt_cv_sys_global_symbol_pipe=
25929
 
-  fi
25930
 
-done
25931
 
-
25932
 
-fi
25933
 
-
25934
 
-if test -z "$lt_cv_sys_global_symbol_pipe"; then
25935
 
-  lt_cv_sys_global_symbol_to_cdecl=
25936
 
-fi
25937
 
-if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
25938
 
-  { $as_echo "$as_me:$LINENO: result: failed" >&5
25939
 
-$as_echo "failed" >&6; }
25940
 
-else
25941
 
-  { $as_echo "$as_me:$LINENO: result: ok" >&5
25942
 
-$as_echo "ok" >&6; }
25943
 
-fi
25944
 
-
25945
 
-{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
25946
 
-$as_echo_n "checking for objdir... " >&6; }
25947
 
-if test "${lt_cv_objdir+set}" = set; then
25948
 
-  $as_echo_n "(cached) " >&6
25949
 
-else
25950
 
-  rm -f .libs 2>/dev/null
25951
 
-mkdir .libs 2>/dev/null
25952
 
-if test -d .libs; then
25953
 
-  lt_cv_objdir=.libs
25954
 
-else
25955
 
-  # MS-DOS does not allow filenames that begin with a dot.
25956
 
-  lt_cv_objdir=_libs
25957
 
-fi
25958
 
-rmdir .libs 2>/dev/null
25959
 
-fi
25960
 
-{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
25961
 
-$as_echo "$lt_cv_objdir" >&6; }
25962
 
-objdir=$lt_cv_objdir
25963
 
-
25964
 
-
25965
 
-
25966
 
-
25967
 
-
25968
 
-case $host_os in
25969
 
-aix3*)
25970
 
-  # AIX sometimes has problems with the GCC collect2 program.  For some
25971
 
-  # reason, if we set the COLLECT_NAMES environment variable, the problems
25972
 
-  # vanish in a puff of smoke.
25973
 
-  if test "X${COLLECT_NAMES+set}" != Xset; then
25974
 
-    COLLECT_NAMES=
25975
 
-    export COLLECT_NAMES
25976
 
-  fi
25977
 
-  ;;
25978
 
-esac
25979
 
-
25980
 
-# Sed substitution that helps us do robust quoting.  It backslashifies
25981
 
-# metacharacters that are still active within double-quoted strings.
25982
 
-Xsed='sed -e 1s/^X//'
25983
 
-sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
25984
 
-
25985
 
-# Same as above, but do not quote variable references.
25986
 
-double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
25987
 
 
25988
 
-# Sed substitution to delay expansion of an escaped shell variable in a
25989
 
-# double_quote_subst'ed string.
25990
 
-delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
25991
 
-
25992
 
-# Sed substitution to avoid accidental globbing in evaled expressions
25993
 
-no_glob_subst='s/\*/\\\*/g'
25994
 
 
25995
 
-# Constants:
25996
 
-rm="rm -f"
25997
 
-
25998
 
-# Global variables:
25999
 
-default_ofile=libtool
26000
 
-can_build_shared=yes
26001
 
 
26002
 
-# All known linkers require a `.a' archive for static linking (except MSVC,
26003
 
-# which needs '.lib').
26004
 
-libext=a
26005
 
-ltmain="$ac_aux_dir/ltmain.sh"
26006
 
-ofile="$default_ofile"
26007
 
-with_gnu_ld="$lt_cv_prog_gnu_ld"
26008
 
 
26009
 
 if test -n "$ac_tool_prefix"; then
26010
 
   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
26011
 
 set dummy ${ac_tool_prefix}ar; ac_word=$2
26012
 
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
26013
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26014
 
 $as_echo_n "checking for $ac_word... " >&6; }
26015
 
-if test "${ac_cv_prog_AR+set}" = set; then
26016
 
+if test "${ac_cv_prog_AR+set}" = set; then :
26017
 
   $as_echo_n "(cached) " >&6
26018
 
 else
26019
 
   if test -n "$AR"; then
26020
 
@@ -7209,24 +5676,24 @@ for as_dir in $PATH
26021
 
 do
26022
 
   IFS=$as_save_IFS
26023
 
   test -z "$as_dir" && as_dir=.
26024
 
-  for ac_exec_ext in '' $ac_executable_extensions; do
26025
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
26026
 
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26027
 
     ac_cv_prog_AR="${ac_tool_prefix}ar"
26028
 
-    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26029
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26030
 
     break 2
26031
 
   fi
26032
 
 done
26033
 
-done
26034
 
+  done
26035
 
 IFS=$as_save_IFS
26036
 
 
26037
 
 fi
26038
 
 fi
26039
 
 AR=$ac_cv_prog_AR
26040
 
 if test -n "$AR"; then
26041
 
-  { $as_echo "$as_me:$LINENO: result: $AR" >&5
26042
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
26043
 
 $as_echo "$AR" >&6; }
26044
 
 else
26045
 
-  { $as_echo "$as_me:$LINENO: result: no" >&5
26046
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26047
 
 $as_echo "no" >&6; }
26048
 
 fi
26049
 
 
26050
 
@@ -7236,9 +5703,9 @@ if test -z "$ac_cv_prog_AR"; then
26051
 
   ac_ct_AR=$AR
26052
 
   # Extract the first word of "ar", so it can be a program name with args.
26053
 
 set dummy ar; ac_word=$2
26054
 
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
26055
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26056
 
 $as_echo_n "checking for $ac_word... " >&6; }
26057
 
-if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
26058
 
+if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
26059
 
   $as_echo_n "(cached) " >&6
26060
 
 else
26061
 
   if test -n "$ac_ct_AR"; then
26062
 
@@ -7249,24 +5716,24 @@ for as_dir in $PATH
26063
 
 do
26064
 
   IFS=$as_save_IFS
26065
 
   test -z "$as_dir" && as_dir=.
26066
 
-  for ac_exec_ext in '' $ac_executable_extensions; do
26067
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
26068
 
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26069
 
     ac_cv_prog_ac_ct_AR="ar"
26070
 
-    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26071
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26072
 
     break 2
26073
 
   fi
26074
 
 done
26075
 
-done
26076
 
+  done
26077
 
 IFS=$as_save_IFS
26078
 
 
26079
 
 fi
26080
 
 fi
26081
 
 ac_ct_AR=$ac_cv_prog_ac_ct_AR
26082
 
 if test -n "$ac_ct_AR"; then
26083
 
-  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
26084
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
26085
 
 $as_echo "$ac_ct_AR" >&6; }
26086
 
 else
26087
 
-  { $as_echo "$as_me:$LINENO: result: no" >&5
26088
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26089
 
 $as_echo "no" >&6; }
26090
 
 fi
26091
 
 
26092
 
@@ -7275,12 +5742,8 @@ fi
26093
 
   else
26094
 
     case $cross_compiling:$ac_tool_warned in
26095
 
 yes:)
26096
 
-{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
26097
 
-whose name does not start with the host triplet.  If you think this
26098
 
-configuration is useful to you, please write to autoconf@gnu.org." >&5
26099
 
-$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
26100
 
-whose name does not start with the host triplet.  If you think this
26101
 
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
26102
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26103
 
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26104
 
 ac_tool_warned=yes ;;
26105
 
 esac
26106
 
     AR=$ac_ct_AR
26107
 
@@ -7289,219 +5752,216 @@ else
26108
 
   AR="$ac_cv_prog_AR"
26109
 
 fi
26110
 
 
26111
 
+test -z "$AR" && AR=ar
26112
 
+test -z "$AR_FLAGS" && AR_FLAGS=cru
26113
 
+
26114
 
+
26115
 
+
26116
 
+
26117
 
+
26118
 
+
26119
 
+
26120
 
+
26121
 
+
26122
 
+
26123
 
+
26124
 
 if test -n "$ac_tool_prefix"; then
26125
 
-  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
26126
 
-set dummy ${ac_tool_prefix}ranlib; ac_word=$2
26127
 
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
26128
 
+  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
26129
 
+set dummy ${ac_tool_prefix}strip; ac_word=$2
26130
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26131
 
 $as_echo_n "checking for $ac_word... " >&6; }
26132
 
-if test "${ac_cv_prog_RANLIB+set}" = set; then
26133
 
+if test "${ac_cv_prog_STRIP+set}" = set; then :
26134
 
   $as_echo_n "(cached) " >&6
26135
 
 else
26136
 
-  if test -n "$RANLIB"; then
26137
 
-  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
26138
 
+  if test -n "$STRIP"; then
26139
 
+  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
26140
 
 else
26141
 
 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26142
 
 for as_dir in $PATH
26143
 
 do
26144
 
   IFS=$as_save_IFS
26145
 
   test -z "$as_dir" && as_dir=.
26146
 
-  for ac_exec_ext in '' $ac_executable_extensions; do
26147
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
26148
 
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26149
 
-    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
26150
 
-    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26151
 
+    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
26152
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26153
 
     break 2
26154
 
   fi
26155
 
 done
26156
 
-done
26157
 
+  done
26158
 
 IFS=$as_save_IFS
26159
 
 
26160
 
 fi
26161
 
 fi
26162
 
-RANLIB=$ac_cv_prog_RANLIB
26163
 
-if test -n "$RANLIB"; then
26164
 
-  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
26165
 
-$as_echo "$RANLIB" >&6; }
26166
 
+STRIP=$ac_cv_prog_STRIP
26167
 
+if test -n "$STRIP"; then
26168
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
26169
 
+$as_echo "$STRIP" >&6; }
26170
 
 else
26171
 
-  { $as_echo "$as_me:$LINENO: result: no" >&5
26172
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26173
 
 $as_echo "no" >&6; }
26174
 
 fi
26175
 
 
26176
 
 
26177
 
 fi
26178
 
-if test -z "$ac_cv_prog_RANLIB"; then
26179
 
-  ac_ct_RANLIB=$RANLIB
26180
 
-  # Extract the first word of "ranlib", so it can be a program name with args.
26181
 
-set dummy ranlib; ac_word=$2
26182
 
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
26183
 
+if test -z "$ac_cv_prog_STRIP"; then
26184
 
+  ac_ct_STRIP=$STRIP
26185
 
+  # Extract the first word of "strip", so it can be a program name with args.
26186
 
+set dummy strip; ac_word=$2
26187
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26188
 
 $as_echo_n "checking for $ac_word... " >&6; }
26189
 
-if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
26190
 
+if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
26191
 
   $as_echo_n "(cached) " >&6
26192
 
 else
26193
 
-  if test -n "$ac_ct_RANLIB"; then
26194
 
-  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
26195
 
+  if test -n "$ac_ct_STRIP"; then
26196
 
+  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
26197
 
 else
26198
 
 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26199
 
 for as_dir in $PATH
26200
 
 do
26201
 
   IFS=$as_save_IFS
26202
 
   test -z "$as_dir" && as_dir=.
26203
 
-  for ac_exec_ext in '' $ac_executable_extensions; do
26204
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
26205
 
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26206
 
-    ac_cv_prog_ac_ct_RANLIB="ranlib"
26207
 
-    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26208
 
+    ac_cv_prog_ac_ct_STRIP="strip"
26209
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26210
 
     break 2
26211
 
   fi
26212
 
 done
26213
 
-done
26214
 
+  done
26215
 
 IFS=$as_save_IFS
26216
 
 
26217
 
 fi
26218
 
 fi
26219
 
-ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
26220
 
-if test -n "$ac_ct_RANLIB"; then
26221
 
-  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
26222
 
-$as_echo "$ac_ct_RANLIB" >&6; }
26223
 
+ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
26224
 
+if test -n "$ac_ct_STRIP"; then
26225
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
26226
 
+$as_echo "$ac_ct_STRIP" >&6; }
26227
 
 else
26228
 
-  { $as_echo "$as_me:$LINENO: result: no" >&5
26229
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26230
 
 $as_echo "no" >&6; }
26231
 
 fi
26232
 
 
26233
 
-  if test "x$ac_ct_RANLIB" = x; then
26234
 
-    RANLIB=":"
26235
 
+  if test "x$ac_ct_STRIP" = x; then
26236
 
+    STRIP=":"
26237
 
   else
26238
 
     case $cross_compiling:$ac_tool_warned in
26239
 
 yes:)
26240
 
-{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
26241
 
-whose name does not start with the host triplet.  If you think this
26242
 
-configuration is useful to you, please write to autoconf@gnu.org." >&5
26243
 
-$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
26244
 
-whose name does not start with the host triplet.  If you think this
26245
 
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
26246
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26247
 
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26248
 
 ac_tool_warned=yes ;;
26249
 
 esac
26250
 
-    RANLIB=$ac_ct_RANLIB
26251
 
+    STRIP=$ac_ct_STRIP
26252
 
   fi
26253
 
 else
26254
 
-  RANLIB="$ac_cv_prog_RANLIB"
26255
 
+  STRIP="$ac_cv_prog_STRIP"
26256
 
 fi
26257
 
 
26258
 
+test -z "$STRIP" && STRIP=:
26259
 
+
26260
 
+
26261
 
+
26262
 
+
26263
 
+
26264
 
+
26265
 
 if test -n "$ac_tool_prefix"; then
26266
 
-  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
26267
 
-set dummy ${ac_tool_prefix}strip; ac_word=$2
26268
 
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
26269
 
+  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
26270
 
+set dummy ${ac_tool_prefix}ranlib; ac_word=$2
26271
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26272
 
 $as_echo_n "checking for $ac_word... " >&6; }
26273
 
-if test "${ac_cv_prog_STRIP+set}" = set; then
26274
 
+if test "${ac_cv_prog_RANLIB+set}" = set; then :
26275
 
   $as_echo_n "(cached) " >&6
26276
 
 else
26277
 
-  if test -n "$STRIP"; then
26278
 
-  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
26279
 
+  if test -n "$RANLIB"; then
26280
 
+  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
26281
 
 else
26282
 
 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26283
 
 for as_dir in $PATH
26284
 
 do
26285
 
   IFS=$as_save_IFS
26286
 
   test -z "$as_dir" && as_dir=.
26287
 
-  for ac_exec_ext in '' $ac_executable_extensions; do
26288
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
26289
 
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26290
 
-    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
26291
 
-    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26292
 
+    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
26293
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26294
 
     break 2
26295
 
   fi
26296
 
 done
26297
 
-done
26298
 
+  done
26299
 
 IFS=$as_save_IFS
26300
 
 
26301
 
 fi
26302
 
 fi
26303
 
-STRIP=$ac_cv_prog_STRIP
26304
 
-if test -n "$STRIP"; then
26305
 
-  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
26306
 
-$as_echo "$STRIP" >&6; }
26307
 
+RANLIB=$ac_cv_prog_RANLIB
26308
 
+if test -n "$RANLIB"; then
26309
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
26310
 
+$as_echo "$RANLIB" >&6; }
26311
 
 else
26312
 
-  { $as_echo "$as_me:$LINENO: result: no" >&5
26313
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26314
 
 $as_echo "no" >&6; }
26315
 
 fi
26316
 
 
26317
 
 
26318
 
 fi
26319
 
-if test -z "$ac_cv_prog_STRIP"; then
26320
 
-  ac_ct_STRIP=$STRIP
26321
 
-  # Extract the first word of "strip", so it can be a program name with args.
26322
 
-set dummy strip; ac_word=$2
26323
 
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
26324
 
+if test -z "$ac_cv_prog_RANLIB"; then
26325
 
+  ac_ct_RANLIB=$RANLIB
26326
 
+  # Extract the first word of "ranlib", so it can be a program name with args.
26327
 
+set dummy ranlib; ac_word=$2
26328
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26329
 
 $as_echo_n "checking for $ac_word... " >&6; }
26330
 
-if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
26331
 
+if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
26332
 
   $as_echo_n "(cached) " >&6
26333
 
 else
26334
 
-  if test -n "$ac_ct_STRIP"; then
26335
 
-  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
26336
 
+  if test -n "$ac_ct_RANLIB"; then
26337
 
+  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
26338
 
 else
26339
 
 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26340
 
 for as_dir in $PATH
26341
 
 do
26342
 
   IFS=$as_save_IFS
26343
 
   test -z "$as_dir" && as_dir=.
26344
 
-  for ac_exec_ext in '' $ac_executable_extensions; do
26345
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
26346
 
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26347
 
-    ac_cv_prog_ac_ct_STRIP="strip"
26348
 
-    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26349
 
+    ac_cv_prog_ac_ct_RANLIB="ranlib"
26350
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26351
 
     break 2
26352
 
   fi
26353
 
 done
26354
 
-done
26355
 
+  done
26356
 
 IFS=$as_save_IFS
26357
 
 
26358
 
 fi
26359
 
 fi
26360
 
-ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
26361
 
-if test -n "$ac_ct_STRIP"; then
26362
 
-  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
26363
 
-$as_echo "$ac_ct_STRIP" >&6; }
26364
 
+ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
26365
 
+if test -n "$ac_ct_RANLIB"; then
26366
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
26367
 
+$as_echo "$ac_ct_RANLIB" >&6; }
26368
 
 else
26369
 
-  { $as_echo "$as_me:$LINENO: result: no" >&5
26370
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26371
 
 $as_echo "no" >&6; }
26372
 
 fi
26373
 
 
26374
 
-  if test "x$ac_ct_STRIP" = x; then
26375
 
-    STRIP=":"
26376
 
+  if test "x$ac_ct_RANLIB" = x; then
26377
 
+    RANLIB=":"
26378
 
   else
26379
 
     case $cross_compiling:$ac_tool_warned in
26380
 
 yes:)
26381
 
-{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
26382
 
-whose name does not start with the host triplet.  If you think this
26383
 
-configuration is useful to you, please write to autoconf@gnu.org." >&5
26384
 
-$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
26385
 
-whose name does not start with the host triplet.  If you think this
26386
 
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
26387
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26388
 
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26389
 
 ac_tool_warned=yes ;;
26390
 
 esac
26391
 
-    STRIP=$ac_ct_STRIP
26392
 
+    RANLIB=$ac_ct_RANLIB
26393
 
   fi
26394
 
 else
26395
 
-  STRIP="$ac_cv_prog_STRIP"
26396
 
+  RANLIB="$ac_cv_prog_RANLIB"
26397
 
 fi
26398
 
 
26399
 
+test -z "$RANLIB" && RANLIB=:
26400
 
+
26401
 
+
26402
 
+
26403
 
 
26404
 
-old_CC="$CC"
26405
 
-old_CFLAGS="$CFLAGS"
26406
 
 
26407
 
-# Set sane defaults for various variables
26408
 
-test -z "$AR" && AR=ar
26409
 
-test -z "$AR_FLAGS" && AR_FLAGS=cru
26410
 
-test -z "$AS" && AS=as
26411
 
-test -z "$CC" && CC=cc
26412
 
-test -z "$LTCC" && LTCC=$CC
26413
 
-test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
26414
 
-test -z "$DLLTOOL" && DLLTOOL=dlltool
26415
 
-test -z "$LD" && LD=ld
26416
 
-test -z "$LN_S" && LN_S="ln -s"
26417
 
-test -z "$MAGIC_CMD" && MAGIC_CMD=file
26418
 
-test -z "$NM" && NM=nm
26419
 
-test -z "$SED" && SED=sed
26420
 
-test -z "$OBJDUMP" && OBJDUMP=objdump
26421
 
-test -z "$RANLIB" && RANLIB=:
26422
 
-test -z "$STRIP" && STRIP=:
26423
 
-test -z "$ac_objext" && ac_objext=o
26424
 
 
26425
 
 # Determine commands to create old-style static archives.
26426
 
 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
26427
 
@@ -7520,1422 +5980,1020 @@ if test -n "$RANLIB"; then
26428
 
   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
26429
 
 fi
26430
 
 
26431
 
-for cc_temp in $compiler""; do
26432
 
-  case $cc_temp in
26433
 
-    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
26434
 
-    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
26435
 
-    \-*) ;;
26436
 
-    *) break;;
26437
 
-  esac
26438
 
-done
26439
 
-cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
26440
 
 
26441
 
 
26442
 
-# Only perform the check for file, if the check method requires it
26443
 
-case $deplibs_check_method in
26444
 
-file_magic*)
26445
 
-  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
26446
 
-    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
26447
 
-$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
26448
 
-if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
26449
 
-  $as_echo_n "(cached) " >&6
26450
 
-else
26451
 
-  case $MAGIC_CMD in
26452
 
-[\\/*] |  ?:[\\/]*)
26453
 
-  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
26454
 
-  ;;
26455
 
-*)
26456
 
-  lt_save_MAGIC_CMD="$MAGIC_CMD"
26457
 
-  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
26458
 
-  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
26459
 
-  for ac_dir in $ac_dummy; do
26460
 
-    IFS="$lt_save_ifs"
26461
 
-    test -z "$ac_dir" && ac_dir=.
26462
 
-    if test -f $ac_dir/${ac_tool_prefix}file; then
26463
 
-      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
26464
 
-      if test -n "$file_magic_test_file"; then
26465
 
-       case $deplibs_check_method in
26466
 
-       "file_magic "*)
26467
 
-         file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
26468
 
-         MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
26469
 
-         if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
26470
 
-           $EGREP "$file_magic_regex" > /dev/null; then
26471
 
-           :
26472
 
-         else
26473
 
-           cat <<EOF 1>&2
26474
 
 
26475
 
-*** Warning: the command libtool uses to detect shared libraries,
26476
 
-*** $file_magic_cmd, produces output that libtool cannot recognize.
26477
 
-*** The result is that libtool may fail to recognize shared libraries
26478
 
-*** as such.  This will affect the creation of libtool libraries that
26479
 
-*** depend on shared libraries, but programs linked with such libtool
26480
 
-*** libraries will work regardless of this problem.  Nevertheless, you
26481
 
-*** may want to report the problem to your system manager and/or to
26482
 
-*** bug-libtool@gnu.org
26483
 
 
26484
 
-EOF
26485
 
-         fi ;;
26486
 
-       esac
26487
 
-      fi
26488
 
-      break
26489
 
-    fi
26490
 
-  done
26491
 
-  IFS="$lt_save_ifs"
26492
 
-  MAGIC_CMD="$lt_save_MAGIC_CMD"
26493
 
-  ;;
26494
 
-esac
26495
 
-fi
26496
 
 
26497
 
-MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
26498
 
-if test -n "$MAGIC_CMD"; then
26499
 
-  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
26500
 
-$as_echo "$MAGIC_CMD" >&6; }
26501
 
-else
26502
 
-  { $as_echo "$as_me:$LINENO: result: no" >&5
26503
 
-$as_echo "no" >&6; }
26504
 
-fi
26505
 
 
26506
 
-if test -z "$lt_cv_path_MAGIC_CMD"; then
26507
 
-  if test -n "$ac_tool_prefix"; then
26508
 
-    { $as_echo "$as_me:$LINENO: checking for file" >&5
26509
 
-$as_echo_n "checking for file... " >&6; }
26510
 
-if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
26511
 
-  $as_echo_n "(cached) " >&6
26512
 
-else
26513
 
-  case $MAGIC_CMD in
26514
 
-[\\/*] |  ?:[\\/]*)
26515
 
-  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
26516
 
-  ;;
26517
 
-*)
26518
 
-  lt_save_MAGIC_CMD="$MAGIC_CMD"
26519
 
-  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
26520
 
-  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
26521
 
-  for ac_dir in $ac_dummy; do
26522
 
-    IFS="$lt_save_ifs"
26523
 
-    test -z "$ac_dir" && ac_dir=.
26524
 
-    if test -f $ac_dir/file; then
26525
 
-      lt_cv_path_MAGIC_CMD="$ac_dir/file"
26526
 
-      if test -n "$file_magic_test_file"; then
26527
 
-       case $deplibs_check_method in
26528
 
-       "file_magic "*)
26529
 
-         file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
26530
 
-         MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
26531
 
-         if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
26532
 
-           $EGREP "$file_magic_regex" > /dev/null; then
26533
 
-           :
26534
 
-         else
26535
 
-           cat <<EOF 1>&2
26536
 
 
26537
 
-*** Warning: the command libtool uses to detect shared libraries,
26538
 
-*** $file_magic_cmd, produces output that libtool cannot recognize.
26539
 
-*** The result is that libtool may fail to recognize shared libraries
26540
 
-*** as such.  This will affect the creation of libtool libraries that
26541
 
-*** depend on shared libraries, but programs linked with such libtool
26542
 
-*** libraries will work regardless of this problem.  Nevertheless, you
26543
 
-*** may want to report the problem to your system manager and/or to
26544
 
-*** bug-libtool@gnu.org
26545
 
 
26546
 
-EOF
26547
 
-         fi ;;
26548
 
-       esac
26549
 
-      fi
26550
 
-      break
26551
 
-    fi
26552
 
-  done
26553
 
-  IFS="$lt_save_ifs"
26554
 
-  MAGIC_CMD="$lt_save_MAGIC_CMD"
26555
 
-  ;;
26556
 
-esac
26557
 
-fi
26558
 
 
26559
 
-MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
26560
 
-if test -n "$MAGIC_CMD"; then
26561
 
-  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
26562
 
-$as_echo "$MAGIC_CMD" >&6; }
26563
 
-else
26564
 
-  { $as_echo "$as_me:$LINENO: result: no" >&5
26565
 
-$as_echo "no" >&6; }
26566
 
-fi
26567
 
 
26568
 
-  else
26569
 
-    MAGIC_CMD=:
26570
 
-  fi
26571
 
-fi
26572
 
 
26573
 
-  fi
26574
 
-  ;;
26575
 
-esac
26576
 
 
26577
 
 
26578
 
-  case $host_os in
26579
 
-    rhapsody* | darwin*)
26580
 
-    if test -n "$ac_tool_prefix"; then
26581
 
-  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
26582
 
-set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
26583
 
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
26584
 
-$as_echo_n "checking for $ac_word... " >&6; }
26585
 
-if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
26586
 
-  $as_echo_n "(cached) " >&6
26587
 
-else
26588
 
-  if test -n "$DSYMUTIL"; then
26589
 
-  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
26590
 
-else
26591
 
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26592
 
-for as_dir in $PATH
26593
 
-do
26594
 
-  IFS=$as_save_IFS
26595
 
-  test -z "$as_dir" && as_dir=.
26596
 
-  for ac_exec_ext in '' $ac_executable_extensions; do
26597
 
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26598
 
-    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
26599
 
-    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26600
 
-    break 2
26601
 
-  fi
26602
 
-done
26603
 
-done
26604
 
-IFS=$as_save_IFS
26605
 
 
26606
 
-fi
26607
 
-fi
26608
 
-DSYMUTIL=$ac_cv_prog_DSYMUTIL
26609
 
-if test -n "$DSYMUTIL"; then
26610
 
-  { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
26611
 
-$as_echo "$DSYMUTIL" >&6; }
26612
 
-else
26613
 
-  { $as_echo "$as_me:$LINENO: result: no" >&5
26614
 
-$as_echo "no" >&6; }
26615
 
-fi
26616
 
 
26617
 
 
26618
 
-fi
26619
 
-if test -z "$ac_cv_prog_DSYMUTIL"; then
26620
 
-  ac_ct_DSYMUTIL=$DSYMUTIL
26621
 
-  # Extract the first word of "dsymutil", so it can be a program name with args.
26622
 
-set dummy dsymutil; ac_word=$2
26623
 
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
26624
 
-$as_echo_n "checking for $ac_word... " >&6; }
26625
 
-if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
26626
 
-  $as_echo_n "(cached) " >&6
26627
 
-else
26628
 
-  if test -n "$ac_ct_DSYMUTIL"; then
26629
 
-  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
26630
 
-else
26631
 
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26632
 
-for as_dir in $PATH
26633
 
-do
26634
 
-  IFS=$as_save_IFS
26635
 
-  test -z "$as_dir" && as_dir=.
26636
 
-  for ac_exec_ext in '' $ac_executable_extensions; do
26637
 
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26638
 
-    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
26639
 
-    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26640
 
-    break 2
26641
 
-  fi
26642
 
-done
26643
 
-done
26644
 
-IFS=$as_save_IFS
26645
 
 
26646
 
-fi
26647
 
-fi
26648
 
-ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
26649
 
-if test -n "$ac_ct_DSYMUTIL"; then
26650
 
-  { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
26651
 
-$as_echo "$ac_ct_DSYMUTIL" >&6; }
26652
 
-else
26653
 
-  { $as_echo "$as_me:$LINENO: result: no" >&5
26654
 
-$as_echo "no" >&6; }
26655
 
-fi
26656
 
 
26657
 
-  if test "x$ac_ct_DSYMUTIL" = x; then
26658
 
-    DSYMUTIL=":"
26659
 
-  else
26660
 
-    case $cross_compiling:$ac_tool_warned in
26661
 
-yes:)
26662
 
-{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
26663
 
-whose name does not start with the host triplet.  If you think this
26664
 
-configuration is useful to you, please write to autoconf@gnu.org." >&5
26665
 
-$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
26666
 
-whose name does not start with the host triplet.  If you think this
26667
 
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
26668
 
-ac_tool_warned=yes ;;
26669
 
-esac
26670
 
-    DSYMUTIL=$ac_ct_DSYMUTIL
26671
 
-  fi
26672
 
-else
26673
 
-  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
26674
 
-fi
26675
 
 
26676
 
-    if test -n "$ac_tool_prefix"; then
26677
 
-  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
26678
 
-set dummy ${ac_tool_prefix}nmedit; ac_word=$2
26679
 
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
26680
 
-$as_echo_n "checking for $ac_word... " >&6; }
26681
 
-if test "${ac_cv_prog_NMEDIT+set}" = set; then
26682
 
-  $as_echo_n "(cached) " >&6
26683
 
-else
26684
 
-  if test -n "$NMEDIT"; then
26685
 
-  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
26686
 
-else
26687
 
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26688
 
-for as_dir in $PATH
26689
 
-do
26690
 
-  IFS=$as_save_IFS
26691
 
-  test -z "$as_dir" && as_dir=.
26692
 
-  for ac_exec_ext in '' $ac_executable_extensions; do
26693
 
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26694
 
-    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
26695
 
-    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26696
 
-    break 2
26697
 
-  fi
26698
 
-done
26699
 
-done
26700
 
-IFS=$as_save_IFS
26701
 
 
26702
 
-fi
26703
 
-fi
26704
 
-NMEDIT=$ac_cv_prog_NMEDIT
26705
 
-if test -n "$NMEDIT"; then
26706
 
-  { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
26707
 
-$as_echo "$NMEDIT" >&6; }
26708
 
-else
26709
 
-  { $as_echo "$as_me:$LINENO: result: no" >&5
26710
 
-$as_echo "no" >&6; }
26711
 
-fi
26712
 
 
26713
 
 
26714
 
-fi
26715
 
-if test -z "$ac_cv_prog_NMEDIT"; then
26716
 
-  ac_ct_NMEDIT=$NMEDIT
26717
 
-  # Extract the first word of "nmedit", so it can be a program name with args.
26718
 
-set dummy nmedit; ac_word=$2
26719
 
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
26720
 
-$as_echo_n "checking for $ac_word... " >&6; }
26721
 
-if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
26722
 
+
26723
 
+
26724
 
+
26725
 
+
26726
 
+
26727
 
+
26728
 
+
26729
 
+
26730
 
+
26731
 
+
26732
 
+
26733
 
+# If no C compiler was specified, use CC.
26734
 
+LTCC=${LTCC-"$CC"}
26735
 
+
26736
 
+# If no C compiler flags were specified, use CFLAGS.
26737
 
+LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
26738
 
+
26739
 
+# Allow CC to be a program name with arguments.
26740
 
+compiler=$CC
26741
 
+
26742
 
+
26743
 
+# Check for command to grab the raw symbol name followed by C symbol from nm.
26744
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
26745
 
+$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
26746
 
+if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
26747
 
   $as_echo_n "(cached) " >&6
26748
 
 else
26749
 
-  if test -n "$ac_ct_NMEDIT"; then
26750
 
-  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
26751
 
-else
26752
 
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26753
 
-for as_dir in $PATH
26754
 
-do
26755
 
-  IFS=$as_save_IFS
26756
 
-  test -z "$as_dir" && as_dir=.
26757
 
-  for ac_exec_ext in '' $ac_executable_extensions; do
26758
 
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26759
 
-    ac_cv_prog_ac_ct_NMEDIT="nmedit"
26760
 
-    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26761
 
-    break 2
26762
 
+
26763
 
+# These are sane defaults that work on at least a few old systems.
26764
 
+# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
26765
 
+
26766
 
+# Character class describing NM global symbol codes.
26767
 
+symcode='[BCDEGRST]'
26768
 
+
26769
 
+# Regexp to match symbols that can be accessed directly from C.
26770
 
+sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
26771
 
+
26772
 
+# Define system-specific variables.
26773
 
+case $host_os in
26774
 
+aix*)
26775
 
+  symcode='[BCDT]'
26776
 
+  ;;
26777
 
+cygwin* | mingw* | pw32* | cegcc*)
26778
 
+  symcode='[ABCDGISTW]'
26779
 
+  ;;
26780
 
+hpux*)
26781
 
+  if test "$host_cpu" = ia64; then
26782
 
+    symcode='[ABCDEGRST]'
26783
 
   fi
26784
 
-done
26785
 
-done
26786
 
-IFS=$as_save_IFS
26787
 
+  ;;
26788
 
+irix* | nonstopux*)
26789
 
+  symcode='[BCDEGRST]'
26790
 
+  ;;
26791
 
+osf*)
26792
 
+  symcode='[BCDEGQRST]'
26793
 
+  ;;
26794
 
+solaris*)
26795
 
+  symcode='[BDRT]'
26796
 
+  ;;
26797
 
+sco3.2v5*)
26798
 
+  symcode='[DT]'
26799
 
+  ;;
26800
 
+sysv4.2uw2*)
26801
 
+  symcode='[DT]'
26802
 
+  ;;
26803
 
+sysv5* | sco5v6* | unixware* | OpenUNIX*)
26804
 
+  symcode='[ABDT]'
26805
 
+  ;;
26806
 
+sysv4)
26807
 
+  symcode='[DFNSTU]'
26808
 
+  ;;
26809
 
+esac
26810
 
 
26811
 
-fi
26812
 
-fi
26813
 
-ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
26814
 
-if test -n "$ac_ct_NMEDIT"; then
26815
 
-  { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
26816
 
-$as_echo "$ac_ct_NMEDIT" >&6; }
26817
 
-else
26818
 
-  { $as_echo "$as_me:$LINENO: result: no" >&5
26819
 
-$as_echo "no" >&6; }
26820
 
-fi
26821
 
+# If we're using GNU nm, then use its standard symbol codes.
26822
 
+case `$NM -V 2>&1` in
26823
 
+*GNU* | *'with BFD'*)
26824
 
+  symcode='[ABCDGIRSTW]' ;;
26825
 
+esac
26826
 
 
26827
 
-  if test "x$ac_ct_NMEDIT" = x; then
26828
 
-    NMEDIT=":"
26829
 
-  else
26830
 
-    case $cross_compiling:$ac_tool_warned in
26831
 
-yes:)
26832
 
-{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
26833
 
-whose name does not start with the host triplet.  If you think this
26834
 
-configuration is useful to you, please write to autoconf@gnu.org." >&5
26835
 
-$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
26836
 
-whose name does not start with the host triplet.  If you think this
26837
 
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
26838
 
-ac_tool_warned=yes ;;
26839
 
+# Transform an extracted symbol line into a proper C declaration.
26840
 
+# Some systems (esp. on ia64) link data and code symbols differently,
26841
 
+# so use this general approach.
26842
 
+lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
26843
 
+
26844
 
+# Transform an extracted symbol line into symbol name and symbol address
26845
 
+lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
26846
 
+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'"
26847
 
+
26848
 
+# Handle CRLF in mingw tool chain
26849
 
+opt_cr=
26850
 
+case $build_os in
26851
 
+mingw*)
26852
 
+  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
26853
 
+  ;;
26854
 
 esac
26855
 
-    NMEDIT=$ac_ct_NMEDIT
26856
 
+
26857
 
+# Try without a prefix underscore, then with it.
26858
 
+for ac_symprfx in "" "_"; do
26859
 
+
26860
 
+  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
26861
 
+  symxfrm="\\1 $ac_symprfx\\2 \\2"
26862
 
+
26863
 
+  # Write the raw and C identifiers.
26864
 
+  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
26865
 
+    # Fake it for dumpbin and say T for any non-static function
26866
 
+    # and D for any global variable.
26867
 
+    # Also find C++ and __fastcall symbols from MSVC++,
26868
 
+    # which start with @ or ?.
26869
 
+    lt_cv_sys_global_symbol_pipe="$AWK '"\
26870
 
+"     {last_section=section; section=\$ 3};"\
26871
 
+"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
26872
 
+"     \$ 0!~/External *\|/{next};"\
26873
 
+"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
26874
 
+"     {if(hide[section]) next};"\
26875
 
+"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
26876
 
+"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
26877
 
+"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
26878
 
+"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
26879
 
+"     ' prfx=^$ac_symprfx"
26880
 
+  else
26881
 
+    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[     ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
26882
 
   fi
26883
 
-else
26884
 
-  NMEDIT="$ac_cv_prog_NMEDIT"
26885
 
-fi
26886
 
 
26887
 
+  # Check to see that the pipe works correctly.
26888
 
+  pipe_works=no
26889
 
+
26890
 
+  rm -f conftest*
26891
 
+  cat > conftest.$ac_ext <<_LT_EOF
26892
 
+#ifdef __cplusplus
26893
 
+extern "C" {
26894
 
+#endif
26895
 
+char nm_test_var;
26896
 
+void nm_test_func(void);
26897
 
+void nm_test_func(void){}
26898
 
+#ifdef __cplusplus
26899
 
+}
26900
 
+#endif
26901
 
+int main(){nm_test_var='a';nm_test_func();return(0);}
26902
 
+_LT_EOF
26903
 
 
26904
 
-    { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
26905
 
-$as_echo_n "checking for -single_module linker flag... " >&6; }
26906
 
-if test "${lt_cv_apple_cc_single_mod+set}" = set; then
26907
 
-  $as_echo_n "(cached) " >&6
26908
 
-else
26909
 
-  lt_cv_apple_cc_single_mod=no
26910
 
-      if test -z "${LT_MULTI_MODULE}"; then
26911
 
-   # By default we will add the -single_module flag. You can override
26912
 
-   # by either setting the environment variable LT_MULTI_MODULE
26913
 
-   # non-empty at configure time, or by adding -multi_module to the
26914
 
-   # link flags.
26915
 
-   echo "int foo(void){return 1;}" > conftest.c
26916
 
-   $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
26917
 
-     -dynamiclib ${wl}-single_module conftest.c
26918
 
-   if test -f libconftest.dylib; then
26919
 
-     lt_cv_apple_cc_single_mod=yes
26920
 
-     rm -rf libconftest.dylib*
26921
 
-   fi
26922
 
-   rm conftest.c
26923
 
+  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
26924
 
+  (eval $ac_compile) 2>&5
26925
 
+  ac_status=$?
26926
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26927
 
+  test $ac_status = 0; }; then
26928
 
+    # Now try to grab the symbols.
26929
 
+    nlist=conftest.nm
26930
 
+    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
26931
 
+  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
26932
 
+  ac_status=$?
26933
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26934
 
+  test $ac_status = 0; } && test -s "$nlist"; then
26935
 
+      # Try sorting and uniquifying the output.
26936
 
+      if sort "$nlist" | uniq > "$nlist"T; then
26937
 
+       mv -f "$nlist"T "$nlist"
26938
 
+      else
26939
 
+       rm -f "$nlist"T
26940
 
       fi
26941
 
-fi
26942
 
-{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
26943
 
-$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
26944
 
-    { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
26945
 
-$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
26946
 
-if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
26947
 
-  $as_echo_n "(cached) " >&6
26948
 
-else
26949
 
-  lt_cv_ld_exported_symbols_list=no
26950
 
-      save_LDFLAGS=$LDFLAGS
26951
 
-      echo "_main" > conftest.sym
26952
 
-      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
26953
 
-      cat >conftest.$ac_ext <<_ACEOF
26954
 
-/* confdefs.h.  */
26955
 
-_ACEOF
26956
 
-cat confdefs.h >>conftest.$ac_ext
26957
 
-cat >>conftest.$ac_ext <<_ACEOF
26958
 
-/* end confdefs.h.  */
26959
 
 
26960
 
-int
26961
 
-main ()
26962
 
+      # Make sure that we snagged all the symbols we need.
26963
 
+      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
26964
 
+       if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
26965
 
+         cat <<_LT_EOF > conftest.$ac_ext
26966
 
+#ifdef __cplusplus
26967
 
+extern "C" {
26968
 
+#endif
26969
 
+
26970
 
+_LT_EOF
26971
 
+         # Now generate the symbol file.
26972
 
+         eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
26973
 
+
26974
 
+         cat <<_LT_EOF >> conftest.$ac_ext
26975
 
+
26976
 
+/* The mapping between symbol names and symbols.  */
26977
 
+const struct {
26978
 
+  const char *name;
26979
 
+  void       *address;
26980
 
+}
26981
 
+lt__PROGRAM__LTX_preloaded_symbols[] =
26982
 
 {
26983
 
+  { "@PROGRAM@", (void *) 0 },
26984
 
+_LT_EOF
26985
 
+         $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
26986
 
+         cat <<\_LT_EOF >> conftest.$ac_ext
26987
 
+  {0, (void *) 0}
26988
 
+};
26989
 
 
26990
 
-  ;
26991
 
-  return 0;
26992
 
+/* This works around a problem in FreeBSD linker */
26993
 
+#ifdef FREEBSD_WORKAROUND
26994
 
+static const void *lt_preloaded_setup() {
26995
 
+  return lt__PROGRAM__LTX_preloaded_symbols;
26996
 
 }
26997
 
-_ACEOF
26998
 
-rm -f conftest.$ac_objext conftest$ac_exeext
26999
 
-if { (ac_try="$ac_link"
27000
 
-case "(($ac_try" in
27001
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27002
 
-  *) ac_try_echo=$ac_try;;
27003
 
-esac
27004
 
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27005
 
-$as_echo "$ac_try_echo") >&5
27006
 
-  (eval "$ac_link") 2>conftest.er1
27007
 
+#endif
27008
 
+
27009
 
+#ifdef __cplusplus
27010
 
+}
27011
 
+#endif
27012
 
+_LT_EOF
27013
 
+         # Now try linking the two files.
27014
 
+         mv conftest.$ac_objext conftstm.$ac_objext
27015
 
+         lt_save_LIBS="$LIBS"
27016
 
+         lt_save_CFLAGS="$CFLAGS"
27017
 
+         LIBS="conftstm.$ac_objext"
27018
 
+         CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
27019
 
+         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
27020
 
+  (eval $ac_link) 2>&5
27021
 
   ac_status=$?
27022
 
-  grep -v '^ *+' conftest.er1 >conftest.err
27023
 
-  rm -f conftest.er1
27024
 
-  cat conftest.err >&5
27025
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27026
 
-  (exit $ac_status); } && {
27027
 
-        test -z "$ac_c_werror_flag" ||
27028
 
-        test ! -s conftest.err
27029
 
-       } && test -s conftest$ac_exeext && {
27030
 
-        test "$cross_compiling" = yes ||
27031
 
-        $as_test_x conftest$ac_exeext
27032
 
-       }; then
27033
 
-  lt_cv_ld_exported_symbols_list=yes
27034
 
-else
27035
 
-  $as_echo "$as_me: failed program was:" >&5
27036
 
-sed 's/^/| /' conftest.$ac_ext >&5
27037
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27038
 
+  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
27039
 
+           pipe_works=yes
27040
 
+         fi
27041
 
+         LIBS="$lt_save_LIBS"
27042
 
+         CFLAGS="$lt_save_CFLAGS"
27043
 
+       else
27044
 
+         echo "cannot find nm_test_func in $nlist" >&5
27045
 
+       fi
27046
 
+      else
27047
 
+       echo "cannot find nm_test_var in $nlist" >&5
27048
 
+      fi
27049
 
+    else
27050
 
+      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
27051
 
+    fi
27052
 
+  else
27053
 
+    echo "$progname: failed program was:" >&5
27054
 
+    cat conftest.$ac_ext >&5
27055
 
+  fi
27056
 
+  rm -rf conftest* conftst*
27057
 
 
27058
 
-       lt_cv_ld_exported_symbols_list=no
27059
 
-fi
27060
 
+  # Do not use the global_symbol_pipe unless it works.
27061
 
+  if test "$pipe_works" = yes; then
27062
 
+    break
27063
 
+  else
27064
 
+    lt_cv_sys_global_symbol_pipe=
27065
 
+  fi
27066
 
+done
27067
 
 
27068
 
-rm -rf conftest.dSYM
27069
 
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27070
 
-      conftest$ac_exeext conftest.$ac_ext
27071
 
-   LDFLAGS="$save_LDFLAGS"
27072
 
+fi
27073
 
 
27074
 
+if test -z "$lt_cv_sys_global_symbol_pipe"; then
27075
 
+  lt_cv_sys_global_symbol_to_cdecl=
27076
 
+fi
27077
 
+if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
27078
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
27079
 
+$as_echo "failed" >&6; }
27080
 
+else
27081
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
27082
 
+$as_echo "ok" >&6; }
27083
 
 fi
27084
 
-{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
27085
 
-$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
27086
 
-    case $host_os in
27087
 
-    rhapsody* | darwin1.[0123])
27088
 
-      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
27089
 
-    darwin1.*)
27090
 
-     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
27091
 
-    darwin*)
27092
 
-      # if running on 10.5 or later, the deployment target defaults
27093
 
-      # to the OS version, if on x86, and 10.4, the deployment
27094
 
-      # target defaults to 10.4. Don't you love it?
27095
 
-      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
27096
 
-   10.0,*86*-darwin8*|10.0,*-darwin[91]*)
27097
 
-     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
27098
 
-   10.[012]*)
27099
 
-     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
27100
 
-   10.*)
27101
 
-     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
27102
 
-      esac
27103
 
-    ;;
27104
 
-  esac
27105
 
-    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
27106
 
-      _lt_dar_single_mod='$single_module'
27107
 
-    fi
27108
 
-    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
27109
 
-      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
27110
 
-    else
27111
 
-      _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
27112
 
-    fi
27113
 
-    if test "$DSYMUTIL" != ":"; then
27114
 
-      _lt_dsymutil="~$DSYMUTIL \$lib || :"
27115
 
-    else
27116
 
-      _lt_dsymutil=
27117
 
-    fi
27118
 
-    ;;
27119
 
-  esac
27120
 
 
27121
 
 
27122
 
-enable_dlopen=no
27123
 
-enable_win32_dll=yes
27124
 
 
27125
 
-# Check whether --enable-libtool-lock was given.
27126
 
-if test "${enable_libtool_lock+set}" = set; then
27127
 
-  enableval=$enable_libtool_lock;
27128
 
-fi
27129
 
 
27130
 
-test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
27131
 
 
27132
 
 
27133
 
-# Check whether --with-pic was given.
27134
 
-if test "${with_pic+set}" = set; then
27135
 
-  withval=$with_pic; pic_mode="$withval"
27136
 
-else
27137
 
-  pic_mode=default
27138
 
-fi
27139
 
 
27140
 
-test -z "$pic_mode" && pic_mode=default
27141
 
 
27142
 
-# Use C for the default configuration in the libtool script
27143
 
-tagname=
27144
 
-lt_save_CC="$CC"
27145
 
-ac_ext=c
27146
 
-ac_cpp='$CPP $CPPFLAGS'
27147
 
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27148
 
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27149
 
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
27150
 
 
27151
 
 
27152
 
-# Source file extension for C test sources.
27153
 
-ac_ext=c
27154
 
 
27155
 
-# Object file extension for compiled C test sources.
27156
 
-objext=o
27157
 
-objext=$objext
27158
 
 
27159
 
-# Code to be used in simple compile tests
27160
 
-lt_simple_compile_test_code="int some_variable = 0;"
27161
 
 
27162
 
-# Code to be used in simple link tests
27163
 
-lt_simple_link_test_code='int main(){return(0);}'
27164
 
 
27165
 
 
27166
 
-# If no C compiler was specified, use CC.
27167
 
-LTCC=${LTCC-"$CC"}
27168
 
 
27169
 
-# If no C compiler flags were specified, use CFLAGS.
27170
 
-LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
27171
 
 
27172
 
-# Allow CC to be a program name with arguments.
27173
 
-compiler=$CC
27174
 
 
27175
 
 
27176
 
-# save warnings/boilerplate of simple test code
27177
 
-ac_outfile=conftest.$ac_objext
27178
 
-echo "$lt_simple_compile_test_code" >conftest.$ac_ext
27179
 
-eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
27180
 
-_lt_compiler_boilerplate=`cat conftest.err`
27181
 
-$rm conftest*
27182
 
 
27183
 
-ac_outfile=conftest.$ac_objext
27184
 
-echo "$lt_simple_link_test_code" >conftest.$ac_ext
27185
 
-eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
27186
 
-_lt_linker_boilerplate=`cat conftest.err`
27187
 
-$rm -r conftest*
27188
 
 
27189
 
 
27190
 
 
27191
 
-lt_prog_compiler_no_builtin_flag=
27192
 
+# Check whether --enable-libtool-lock was given.
27193
 
+if test "${enable_libtool_lock+set}" = set; then :
27194
 
+  enableval=$enable_libtool_lock;
27195
 
+fi
27196
 
 
27197
 
-if test "$GCC" = yes; then
27198
 
-  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
27199
 
+test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
27200
 
+
27201
 
+# Some flags need to be propagated to the compiler or linker for good
27202
 
+# libtool support.
27203
 
+case $host in
27204
 
+ia64-*-hpux*)
27205
 
+  # Find out which ABI we are using.
27206
 
+  echo 'int i;' > conftest.$ac_ext
27207
 
+  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
27208
 
+  (eval $ac_compile) 2>&5
27209
 
+  ac_status=$?
27210
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27211
 
+  test $ac_status = 0; }; then
27212
 
+    case `/usr/bin/file conftest.$ac_objext` in
27213
 
+      *ELF-32*)
27214
 
+       HPUX_IA64_MODE="32"
27215
 
+       ;;
27216
 
+      *ELF-64*)
27217
 
+       HPUX_IA64_MODE="64"
27218
 
+       ;;
27219
 
+    esac
27220
 
+  fi
27221
 
+  rm -rf conftest*
27222
 
+  ;;
27223
 
+*-*-irix6*)
27224
 
+  # Find out which ABI we are using.
27225
 
+  echo '#line 6307 "configure"' > conftest.$ac_ext
27226
 
+  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
27227
 
+  (eval $ac_compile) 2>&5
27228
 
+  ac_status=$?
27229
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27230
 
+  test $ac_status = 0; }; then
27231
 
+    if test "$lt_cv_prog_gnu_ld" = yes; then
27232
 
+      case `/usr/bin/file conftest.$ac_objext` in
27233
 
+       *32-bit*)
27234
 
+         LD="${LD-ld} -melf32bsmip"
27235
 
+         ;;
27236
 
+       *N32*)
27237
 
+         LD="${LD-ld} -melf32bmipn32"
27238
 
+         ;;
27239
 
+       *64-bit*)
27240
 
+         LD="${LD-ld} -melf64bmip"
27241
 
+       ;;
27242
 
+      esac
27243
 
+    else
27244
 
+      case `/usr/bin/file conftest.$ac_objext` in
27245
 
+       *32-bit*)
27246
 
+         LD="${LD-ld} -32"
27247
 
+         ;;
27248
 
+       *N32*)
27249
 
+         LD="${LD-ld} -n32"
27250
 
+         ;;
27251
 
+       *64-bit*)
27252
 
+         LD="${LD-ld} -64"
27253
 
+         ;;
27254
 
+      esac
27255
 
+    fi
27256
 
+  fi
27257
 
+  rm -rf conftest*
27258
 
+  ;;
27259
 
 
27260
 
+x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
27261
 
+s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
27262
 
+  # Find out which ABI we are using.
27263
 
+  echo 'int i;' > conftest.$ac_ext
27264
 
+  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
27265
 
+  (eval $ac_compile) 2>&5
27266
 
+  ac_status=$?
27267
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27268
 
+  test $ac_status = 0; }; then
27269
 
+    case `/usr/bin/file conftest.o` in
27270
 
+      *32-bit*)
27271
 
+       case $host in
27272
 
+         x86_64-*kfreebsd*-gnu)
27273
 
+           LD="${LD-ld} -m elf_i386_fbsd"
27274
 
+           ;;
27275
 
+         x86_64-*linux*)
27276
 
+           LD="${LD-ld} -m elf_i386"
27277
 
+           ;;
27278
 
+         ppc64-*linux*|powerpc64-*linux*)
27279
 
+           LD="${LD-ld} -m elf32ppclinux"
27280
 
+           ;;
27281
 
+         s390x-*linux*)
27282
 
+           LD="${LD-ld} -m elf_s390"
27283
 
+           ;;
27284
 
+         sparc64-*linux*)
27285
 
+           LD="${LD-ld} -m elf32_sparc"
27286
 
+           ;;
27287
 
+       esac
27288
 
+       ;;
27289
 
+      *64-bit*)
27290
 
+       case $host in
27291
 
+         x86_64-*kfreebsd*-gnu)
27292
 
+           LD="${LD-ld} -m elf_x86_64_fbsd"
27293
 
+           ;;
27294
 
+         x86_64-*linux*)
27295
 
+           LD="${LD-ld} -m elf_x86_64"
27296
 
+           ;;
27297
 
+         ppc*-*linux*|powerpc*-*linux*)
27298
 
+           LD="${LD-ld} -m elf64ppc"
27299
 
+           ;;
27300
 
+         s390*-*linux*|s390*-*tpf*)
27301
 
+           LD="${LD-ld} -m elf64_s390"
27302
 
+           ;;
27303
 
+         sparc*-*linux*)
27304
 
+           LD="${LD-ld} -m elf64_sparc"
27305
 
+           ;;
27306
 
+       esac
27307
 
+       ;;
27308
 
+    esac
27309
 
+  fi
27310
 
+  rm -rf conftest*
27311
 
+  ;;
27312
 
 
27313
 
-{ $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
27314
 
-$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
27315
 
-if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
27316
 
+*-*-sco3.2v5*)
27317
 
+  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
27318
 
+  SAVE_CFLAGS="$CFLAGS"
27319
 
+  CFLAGS="$CFLAGS -belf"
27320
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
27321
 
+$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
27322
 
+if test "${lt_cv_cc_needs_belf+set}" = set; then :
27323
 
   $as_echo_n "(cached) " >&6
27324
 
 else
27325
 
-  lt_cv_prog_compiler_rtti_exceptions=no
27326
 
-  ac_outfile=conftest.$ac_objext
27327
 
-   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
27328
 
-   lt_compiler_flag="-fno-rtti -fno-exceptions"
27329
 
-   # Insert the option either (1) after the last *FLAGS variable, or
27330
 
-   # (2) before a word containing "conftest.", or (3) at the end.
27331
 
-   # Note that $ac_compile itself does not contain backslashes and begins
27332
 
-   # with a dollar sign (not a hyphen), so the echo should work correctly.
27333
 
-   # The option is referenced via a variable to avoid confusing sed.
27334
 
-   lt_compile=`echo "$ac_compile" | $SED \
27335
 
-   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
27336
 
-   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
27337
 
-   -e 's:$: $lt_compiler_flag:'`
27338
 
-   (eval echo "\"\$as_me:8078: $lt_compile\"" >&5)
27339
 
-   (eval "$lt_compile" 2>conftest.err)
27340
 
-   ac_status=$?
27341
 
-   cat conftest.err >&5
27342
 
-   echo "$as_me:8082: \$? = $ac_status" >&5
27343
 
-   if (exit $ac_status) && test -s "$ac_outfile"; then
27344
 
-     # The compiler can only warn and ignore the option if not recognized
27345
 
-     # So say no if there are warnings other than the usual output.
27346
 
-     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
27347
 
-     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
27348
 
-     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
27349
 
-       lt_cv_prog_compiler_rtti_exceptions=yes
27350
 
-     fi
27351
 
-   fi
27352
 
-   $rm conftest*
27353
 
+  ac_ext=c
27354
 
+ac_cpp='$CPP $CPPFLAGS'
27355
 
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27356
 
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27357
 
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
27358
 
 
27359
 
-fi
27360
 
-{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
27361
 
-$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
27362
 
+     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27363
 
+/* end confdefs.h.  */
27364
 
 
27365
 
-if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
27366
 
-    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
27367
 
+int
27368
 
+main ()
27369
 
+{
27370
 
+
27371
 
+  ;
27372
 
+  return 0;
27373
 
+}
27374
 
+_ACEOF
27375
 
+if ac_fn_c_try_link "$LINENO"; then :
27376
 
+  lt_cv_cc_needs_belf=yes
27377
 
 else
27378
 
-    :
27379
 
+  lt_cv_cc_needs_belf=no
27380
 
 fi
27381
 
+rm -f core conftest.err conftest.$ac_objext \
27382
 
+    conftest$ac_exeext conftest.$ac_ext
27383
 
+     ac_ext=c
27384
 
+ac_cpp='$CPP $CPPFLAGS'
27385
 
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27386
 
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27387
 
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
27388
 
 
27389
 
 fi
27390
 
-
27391
 
-lt_prog_compiler_wl=
27392
 
-lt_prog_compiler_pic=
27393
 
-lt_prog_compiler_static=
27394
 
-
27395
 
-{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
27396
 
-$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
27397
 
-
27398
 
-  if test "$GCC" = yes; then
27399
 
-    lt_prog_compiler_wl='-Wl,'
27400
 
-    lt_prog_compiler_static='-static'
27401
 
-
27402
 
-    case $host_os in
27403
 
-      aix*)
27404
 
-      # All AIX code is PIC.
27405
 
-      if test "$host_cpu" = ia64; then
27406
 
-       # AIX 5 now supports IA64 processor
27407
 
-       lt_prog_compiler_static='-Bstatic'
27408
 
-      fi
27409
 
-      ;;
27410
 
-
27411
 
-    amigaos*)
27412
 
-      # FIXME: we need at least 68020 code to build shared libraries, but
27413
 
-      # adding the `-m68020' flag to GCC prevents building anything better,
27414
 
-      # like `-m68040'.
27415
 
-      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
27416
 
-      ;;
27417
 
-
27418
 
-    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
27419
 
-      # PIC is the default for these OSes.
27420
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
27421
 
+$as_echo "$lt_cv_cc_needs_belf" >&6; }
27422
 
+  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
27423
 
+    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
27424
 
+    CFLAGS="$SAVE_CFLAGS"
27425
 
+  fi
27426
 
+  ;;
27427
 
+sparc*-*solaris*)
27428
 
+  # Find out which ABI we are using.
27429
 
+  echo 'int i;' > conftest.$ac_ext
27430
 
+  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
27431
 
+  (eval $ac_compile) 2>&5
27432
 
+  ac_status=$?
27433
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27434
 
+  test $ac_status = 0; }; then
27435
 
+    case `/usr/bin/file conftest.o` in
27436
 
+    *64-bit*)
27437
 
+      case $lt_cv_prog_gnu_ld in
27438
 
+      yes*) LD="${LD-ld} -m elf64_sparc" ;;
27439
 
+      *)
27440
 
+       if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
27441
 
+         LD="${LD-ld} -64"
27442
 
+       fi
27443
 
+       ;;
27444
 
+      esac
27445
 
       ;;
27446
 
+    esac
27447
 
+  fi
27448
 
+  rm -rf conftest*
27449
 
+  ;;
27450
 
+esac
27451
 
 
27452
 
-    mingw* | cygwin* | pw32* | os2*)
27453
 
-      # This hack is so that the source file can tell whether it is being
27454
 
-      # built for inclusion in a dll (and should export symbols for example).
27455
 
-      # Although the cygwin gcc ignores -fPIC, still need this for old-style
27456
 
-      # (--disable-auto-import) libraries
27457
 
-      lt_prog_compiler_pic='-DDLL_EXPORT'
27458
 
-      ;;
27459
 
+need_locks="$enable_libtool_lock"
27460
 
 
27461
 
-    darwin* | rhapsody*)
27462
 
-      # PIC is the default on this platform
27463
 
-      # Common symbols not allowed in MH_DYLIB files
27464
 
-      lt_prog_compiler_pic='-fno-common'
27465
 
-      ;;
27466
 
 
27467
 
-    interix[3-9]*)
27468
 
-      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
27469
 
-      # Instead, we relocate shared libraries at runtime.
27470
 
-      ;;
27471
 
+  case $host_os in
27472
 
+    rhapsody* | darwin*)
27473
 
+    if test -n "$ac_tool_prefix"; then
27474
 
+  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
27475
 
+set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
27476
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27477
 
+$as_echo_n "checking for $ac_word... " >&6; }
27478
 
+if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
27479
 
+  $as_echo_n "(cached) " >&6
27480
 
+else
27481
 
+  if test -n "$DSYMUTIL"; then
27482
 
+  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
27483
 
+else
27484
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27485
 
+for as_dir in $PATH
27486
 
+do
27487
 
+  IFS=$as_save_IFS
27488
 
+  test -z "$as_dir" && as_dir=.
27489
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
27490
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27491
 
+    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
27492
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27493
 
+    break 2
27494
 
+  fi
27495
 
+done
27496
 
+  done
27497
 
+IFS=$as_save_IFS
27498
 
 
27499
 
-    msdosdjgpp*)
27500
 
-      # Just because we use GCC doesn't mean we suddenly get shared libraries
27501
 
-      # on systems that don't support them.
27502
 
-      lt_prog_compiler_can_build_shared=no
27503
 
-      enable_shared=no
27504
 
-      ;;
27505
 
+fi
27506
 
+fi
27507
 
+DSYMUTIL=$ac_cv_prog_DSYMUTIL
27508
 
+if test -n "$DSYMUTIL"; then
27509
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
27510
 
+$as_echo "$DSYMUTIL" >&6; }
27511
 
+else
27512
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27513
 
+$as_echo "no" >&6; }
27514
 
+fi
27515
 
 
27516
 
-    sysv4*MP*)
27517
 
-      if test -d /usr/nec; then
27518
 
-       lt_prog_compiler_pic=-Kconform_pic
27519
 
-      fi
27520
 
-      ;;
27521
 
 
27522
 
-    hpux*)
27523
 
-      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
27524
 
-      # not for PA HP-UX.
27525
 
-      case $host_cpu in
27526
 
-      hppa*64*|ia64*)
27527
 
-       # +Z the default
27528
 
-       ;;
27529
 
-      *)
27530
 
-       lt_prog_compiler_pic='-fPIC'
27531
 
-       ;;
27532
 
-      esac
27533
 
-      ;;
27534
 
+fi
27535
 
+if test -z "$ac_cv_prog_DSYMUTIL"; then
27536
 
+  ac_ct_DSYMUTIL=$DSYMUTIL
27537
 
+  # Extract the first word of "dsymutil", so it can be a program name with args.
27538
 
+set dummy dsymutil; ac_word=$2
27539
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27540
 
+$as_echo_n "checking for $ac_word... " >&6; }
27541
 
+if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
27542
 
+  $as_echo_n "(cached) " >&6
27543
 
+else
27544
 
+  if test -n "$ac_ct_DSYMUTIL"; then
27545
 
+  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
27546
 
+else
27547
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27548
 
+for as_dir in $PATH
27549
 
+do
27550
 
+  IFS=$as_save_IFS
27551
 
+  test -z "$as_dir" && as_dir=.
27552
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
27553
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27554
 
+    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
27555
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27556
 
+    break 2
27557
 
+  fi
27558
 
+done
27559
 
+  done
27560
 
+IFS=$as_save_IFS
27561
 
 
27562
 
-    *)
27563
 
-      lt_prog_compiler_pic='-fPIC'
27564
 
-      ;;
27565
 
-    esac
27566
 
+fi
27567
 
+fi
27568
 
+ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
27569
 
+if test -n "$ac_ct_DSYMUTIL"; then
27570
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
27571
 
+$as_echo "$ac_ct_DSYMUTIL" >&6; }
27572
 
+else
27573
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27574
 
+$as_echo "no" >&6; }
27575
 
+fi
27576
 
+
27577
 
+  if test "x$ac_ct_DSYMUTIL" = x; then
27578
 
+    DSYMUTIL=":"
27579
 
   else
27580
 
-    # PORTME Check for flag to pass linker flags through the system compiler.
27581
 
-    case $host_os in
27582
 
-    aix*)
27583
 
-      lt_prog_compiler_wl='-Wl,'
27584
 
-      if test "$host_cpu" = ia64; then
27585
 
-       # AIX 5 now supports IA64 processor
27586
 
-       lt_prog_compiler_static='-Bstatic'
27587
 
-      else
27588
 
-       lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
27589
 
-      fi
27590
 
-      ;;
27591
 
-      darwin*)
27592
 
-        # PIC is the default on this platform
27593
 
-        # Common symbols not allowed in MH_DYLIB files
27594
 
-       case $cc_basename in
27595
 
-         xlc*)
27596
 
-         lt_prog_compiler_pic='-qnocommon'
27597
 
-         lt_prog_compiler_wl='-Wl,'
27598
 
-         ;;
27599
 
-       esac
27600
 
-       ;;
27601
 
+    case $cross_compiling:$ac_tool_warned in
27602
 
+yes:)
27603
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27604
 
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27605
 
+ac_tool_warned=yes ;;
27606
 
+esac
27607
 
+    DSYMUTIL=$ac_ct_DSYMUTIL
27608
 
+  fi
27609
 
+else
27610
 
+  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
27611
 
+fi
27612
 
 
27613
 
-    mingw* | cygwin* | pw32* | os2*)
27614
 
-      # This hack is so that the source file can tell whether it is being
27615
 
-      # built for inclusion in a dll (and should export symbols for example).
27616
 
-      lt_prog_compiler_pic='-DDLL_EXPORT'
27617
 
-      ;;
27618
 
+    if test -n "$ac_tool_prefix"; then
27619
 
+  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
27620
 
+set dummy ${ac_tool_prefix}nmedit; ac_word=$2
27621
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27622
 
+$as_echo_n "checking for $ac_word... " >&6; }
27623
 
+if test "${ac_cv_prog_NMEDIT+set}" = set; then :
27624
 
+  $as_echo_n "(cached) " >&6
27625
 
+else
27626
 
+  if test -n "$NMEDIT"; then
27627
 
+  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
27628
 
+else
27629
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27630
 
+for as_dir in $PATH
27631
 
+do
27632
 
+  IFS=$as_save_IFS
27633
 
+  test -z "$as_dir" && as_dir=.
27634
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
27635
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27636
 
+    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
27637
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27638
 
+    break 2
27639
 
+  fi
27640
 
+done
27641
 
+  done
27642
 
+IFS=$as_save_IFS
27643
 
 
27644
 
-    hpux9* | hpux10* | hpux11*)
27645
 
-      lt_prog_compiler_wl='-Wl,'
27646
 
-      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
27647
 
-      # not for PA HP-UX.
27648
 
-      case $host_cpu in
27649
 
-      hppa*64*|ia64*)
27650
 
-       # +Z the default
27651
 
-       ;;
27652
 
-      *)
27653
 
-       lt_prog_compiler_pic='+Z'
27654
 
-       ;;
27655
 
-      esac
27656
 
-      # Is there a better lt_prog_compiler_static that works with the bundled CC?
27657
 
-      lt_prog_compiler_static='${wl}-a ${wl}archive'
27658
 
-      ;;
27659
 
+fi
27660
 
+fi
27661
 
+NMEDIT=$ac_cv_prog_NMEDIT
27662
 
+if test -n "$NMEDIT"; then
27663
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
27664
 
+$as_echo "$NMEDIT" >&6; }
27665
 
+else
27666
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27667
 
+$as_echo "no" >&6; }
27668
 
+fi
27669
 
 
27670
 
-    irix5* | irix6* | nonstopux*)
27671
 
-      lt_prog_compiler_wl='-Wl,'
27672
 
-      # PIC (with -KPIC) is the default.
27673
 
-      lt_prog_compiler_static='-non_shared'
27674
 
-      ;;
27675
 
 
27676
 
-    newsos6)
27677
 
-      lt_prog_compiler_pic='-KPIC'
27678
 
-      lt_prog_compiler_static='-Bstatic'
27679
 
-      ;;
27680
 
+fi
27681
 
+if test -z "$ac_cv_prog_NMEDIT"; then
27682
 
+  ac_ct_NMEDIT=$NMEDIT
27683
 
+  # Extract the first word of "nmedit", so it can be a program name with args.
27684
 
+set dummy nmedit; ac_word=$2
27685
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27686
 
+$as_echo_n "checking for $ac_word... " >&6; }
27687
 
+if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
27688
 
+  $as_echo_n "(cached) " >&6
27689
 
+else
27690
 
+  if test -n "$ac_ct_NMEDIT"; then
27691
 
+  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
27692
 
+else
27693
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27694
 
+for as_dir in $PATH
27695
 
+do
27696
 
+  IFS=$as_save_IFS
27697
 
+  test -z "$as_dir" && as_dir=.
27698
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
27699
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27700
 
+    ac_cv_prog_ac_ct_NMEDIT="nmedit"
27701
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27702
 
+    break 2
27703
 
+  fi
27704
 
+done
27705
 
+  done
27706
 
+IFS=$as_save_IFS
27707
 
 
27708
 
-    linux* | k*bsd*-gnu)
27709
 
-      case $cc_basename in
27710
 
-      icc* | ecc*)
27711
 
-       lt_prog_compiler_wl='-Wl,'
27712
 
-       lt_prog_compiler_pic='-KPIC'
27713
 
-       lt_prog_compiler_static='-static'
27714
 
-        ;;
27715
 
-      pgcc* | pgf77* | pgf90* | pgf95*)
27716
 
-        # Portland Group compilers (*not* the Pentium gcc compiler,
27717
 
-       # which looks to be a dead project)
27718
 
-       lt_prog_compiler_wl='-Wl,'
27719
 
-       lt_prog_compiler_pic='-fpic'
27720
 
-       lt_prog_compiler_static='-Bstatic'
27721
 
-        ;;
27722
 
-      ccc*)
27723
 
-        lt_prog_compiler_wl='-Wl,'
27724
 
-        # All Alpha code is PIC.
27725
 
-        lt_prog_compiler_static='-non_shared'
27726
 
-        ;;
27727
 
-      *)
27728
 
-        case `$CC -V 2>&1 | sed 5q` in
27729
 
-       *Sun\ C*)
27730
 
-         # Sun C 5.9
27731
 
-         lt_prog_compiler_pic='-KPIC'
27732
 
-         lt_prog_compiler_static='-Bstatic'
27733
 
-         lt_prog_compiler_wl='-Wl,'
27734
 
-         ;;
27735
 
-       *Sun\ F*)
27736
 
-         # Sun Fortran 8.3 passes all unrecognized flags to the linker
27737
 
-         lt_prog_compiler_pic='-KPIC'
27738
 
-         lt_prog_compiler_static='-Bstatic'
27739
 
-         lt_prog_compiler_wl=''
27740
 
-         ;;
27741
 
-       esac
27742
 
-       ;;
27743
 
-      esac
27744
 
-      ;;
27745
 
+fi
27746
 
+fi
27747
 
+ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
27748
 
+if test -n "$ac_ct_NMEDIT"; then
27749
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
27750
 
+$as_echo "$ac_ct_NMEDIT" >&6; }
27751
 
+else
27752
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27753
 
+$as_echo "no" >&6; }
27754
 
+fi
27755
 
 
27756
 
-    osf3* | osf4* | osf5*)
27757
 
-      lt_prog_compiler_wl='-Wl,'
27758
 
-      # All OSF/1 code is PIC.
27759
 
-      lt_prog_compiler_static='-non_shared'
27760
 
-      ;;
27761
 
+  if test "x$ac_ct_NMEDIT" = x; then
27762
 
+    NMEDIT=":"
27763
 
+  else
27764
 
+    case $cross_compiling:$ac_tool_warned in
27765
 
+yes:)
27766
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27767
 
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27768
 
+ac_tool_warned=yes ;;
27769
 
+esac
27770
 
+    NMEDIT=$ac_ct_NMEDIT
27771
 
+  fi
27772
 
+else
27773
 
+  NMEDIT="$ac_cv_prog_NMEDIT"
27774
 
+fi
27775
 
 
27776
 
-    rdos*)
27777
 
-      lt_prog_compiler_static='-non_shared'
27778
 
-      ;;
27779
 
+    if test -n "$ac_tool_prefix"; then
27780
 
+  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
27781
 
+set dummy ${ac_tool_prefix}lipo; ac_word=$2
27782
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27783
 
+$as_echo_n "checking for $ac_word... " >&6; }
27784
 
+if test "${ac_cv_prog_LIPO+set}" = set; then :
27785
 
+  $as_echo_n "(cached) " >&6
27786
 
+else
27787
 
+  if test -n "$LIPO"; then
27788
 
+  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
27789
 
+else
27790
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27791
 
+for as_dir in $PATH
27792
 
+do
27793
 
+  IFS=$as_save_IFS
27794
 
+  test -z "$as_dir" && as_dir=.
27795
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
27796
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27797
 
+    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
27798
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27799
 
+    break 2
27800
 
+  fi
27801
 
+done
27802
 
+  done
27803
 
+IFS=$as_save_IFS
27804
 
 
27805
 
-    solaris*)
27806
 
-      lt_prog_compiler_pic='-KPIC'
27807
 
-      lt_prog_compiler_static='-Bstatic'
27808
 
-      case $cc_basename in
27809
 
-      f77* | f90* | f95*)
27810
 
-       lt_prog_compiler_wl='-Qoption ld ';;
27811
 
-      *)
27812
 
-       lt_prog_compiler_wl='-Wl,';;
27813
 
-      esac
27814
 
-      ;;
27815
 
+fi
27816
 
+fi
27817
 
+LIPO=$ac_cv_prog_LIPO
27818
 
+if test -n "$LIPO"; then
27819
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
27820
 
+$as_echo "$LIPO" >&6; }
27821
 
+else
27822
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27823
 
+$as_echo "no" >&6; }
27824
 
+fi
27825
 
 
27826
 
-    sunos4*)
27827
 
-      lt_prog_compiler_wl='-Qoption ld '
27828
 
-      lt_prog_compiler_pic='-PIC'
27829
 
-      lt_prog_compiler_static='-Bstatic'
27830
 
-      ;;
27831
 
 
27832
 
-    sysv4 | sysv4.2uw2* | sysv4.3*)
27833
 
-      lt_prog_compiler_wl='-Wl,'
27834
 
-      lt_prog_compiler_pic='-KPIC'
27835
 
-      lt_prog_compiler_static='-Bstatic'
27836
 
-      ;;
27837
 
-
27838
 
-    sysv4*MP*)
27839
 
-      if test -d /usr/nec ;then
27840
 
-       lt_prog_compiler_pic='-Kconform_pic'
27841
 
-       lt_prog_compiler_static='-Bstatic'
27842
 
-      fi
27843
 
-      ;;
27844
 
-
27845
 
-    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
27846
 
-      lt_prog_compiler_wl='-Wl,'
27847
 
-      lt_prog_compiler_pic='-KPIC'
27848
 
-      lt_prog_compiler_static='-Bstatic'
27849
 
-      ;;
27850
 
+fi
27851
 
+if test -z "$ac_cv_prog_LIPO"; then
27852
 
+  ac_ct_LIPO=$LIPO
27853
 
+  # Extract the first word of "lipo", so it can be a program name with args.
27854
 
+set dummy lipo; ac_word=$2
27855
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27856
 
+$as_echo_n "checking for $ac_word... " >&6; }
27857
 
+if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
27858
 
+  $as_echo_n "(cached) " >&6
27859
 
+else
27860
 
+  if test -n "$ac_ct_LIPO"; then
27861
 
+  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
27862
 
+else
27863
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27864
 
+for as_dir in $PATH
27865
 
+do
27866
 
+  IFS=$as_save_IFS
27867
 
+  test -z "$as_dir" && as_dir=.
27868
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
27869
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27870
 
+    ac_cv_prog_ac_ct_LIPO="lipo"
27871
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27872
 
+    break 2
27873
 
+  fi
27874
 
+done
27875
 
+  done
27876
 
+IFS=$as_save_IFS
27877
 
 
27878
 
-    unicos*)
27879
 
-      lt_prog_compiler_wl='-Wl,'
27880
 
-      lt_prog_compiler_can_build_shared=no
27881
 
-      ;;
27882
 
+fi
27883
 
+fi
27884
 
+ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
27885
 
+if test -n "$ac_ct_LIPO"; then
27886
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
27887
 
+$as_echo "$ac_ct_LIPO" >&6; }
27888
 
+else
27889
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27890
 
+$as_echo "no" >&6; }
27891
 
+fi
27892
 
 
27893
 
-    uts4*)
27894
 
-      lt_prog_compiler_pic='-pic'
27895
 
-      lt_prog_compiler_static='-Bstatic'
27896
 
-      ;;
27897
 
+  if test "x$ac_ct_LIPO" = x; then
27898
 
+    LIPO=":"
27899
 
+  else
27900
 
+    case $cross_compiling:$ac_tool_warned in
27901
 
+yes:)
27902
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27903
 
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27904
 
+ac_tool_warned=yes ;;
27905
 
+esac
27906
 
+    LIPO=$ac_ct_LIPO
27907
 
+  fi
27908
 
+else
27909
 
+  LIPO="$ac_cv_prog_LIPO"
27910
 
+fi
27911
 
 
27912
 
-    *)
27913
 
-      lt_prog_compiler_can_build_shared=no
27914
 
-      ;;
27915
 
-    esac
27916
 
+    if test -n "$ac_tool_prefix"; then
27917
 
+  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
27918
 
+set dummy ${ac_tool_prefix}otool; ac_word=$2
27919
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27920
 
+$as_echo_n "checking for $ac_word... " >&6; }
27921
 
+if test "${ac_cv_prog_OTOOL+set}" = set; then :
27922
 
+  $as_echo_n "(cached) " >&6
27923
 
+else
27924
 
+  if test -n "$OTOOL"; then
27925
 
+  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
27926
 
+else
27927
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27928
 
+for as_dir in $PATH
27929
 
+do
27930
 
+  IFS=$as_save_IFS
27931
 
+  test -z "$as_dir" && as_dir=.
27932
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
27933
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27934
 
+    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
27935
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27936
 
+    break 2
27937
 
   fi
27938
 
+done
27939
 
+  done
27940
 
+IFS=$as_save_IFS
27941
 
 
27942
 
-{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
27943
 
-$as_echo "$lt_prog_compiler_pic" >&6; }
27944
 
+fi
27945
 
+fi
27946
 
+OTOOL=$ac_cv_prog_OTOOL
27947
 
+if test -n "$OTOOL"; then
27948
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
27949
 
+$as_echo "$OTOOL" >&6; }
27950
 
+else
27951
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27952
 
+$as_echo "no" >&6; }
27953
 
+fi
27954
 
 
27955
 
-#
27956
 
-# Check to make sure the PIC flag actually works.
27957
 
-#
27958
 
-if test -n "$lt_prog_compiler_pic"; then
27959
 
 
27960
 
-{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
27961
 
-$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
27962
 
-if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
27963
 
+fi
27964
 
+if test -z "$ac_cv_prog_OTOOL"; then
27965
 
+  ac_ct_OTOOL=$OTOOL
27966
 
+  # Extract the first word of "otool", so it can be a program name with args.
27967
 
+set dummy otool; ac_word=$2
27968
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27969
 
+$as_echo_n "checking for $ac_word... " >&6; }
27970
 
+if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
27971
 
   $as_echo_n "(cached) " >&6
27972
 
 else
27973
 
-  lt_cv_prog_compiler_pic_works=no
27974
 
-  ac_outfile=conftest.$ac_objext
27975
 
-   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
27976
 
-   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
27977
 
-   # Insert the option either (1) after the last *FLAGS variable, or
27978
 
-   # (2) before a word containing "conftest.", or (3) at the end.
27979
 
-   # Note that $ac_compile itself does not contain backslashes and begins
27980
 
-   # with a dollar sign (not a hyphen), so the echo should work correctly.
27981
 
-   # The option is referenced via a variable to avoid confusing sed.
27982
 
-   lt_compile=`echo "$ac_compile" | $SED \
27983
 
-   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
27984
 
-   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
27985
 
-   -e 's:$: $lt_compiler_flag:'`
27986
 
-   (eval echo "\"\$as_me:8368: $lt_compile\"" >&5)
27987
 
-   (eval "$lt_compile" 2>conftest.err)
27988
 
-   ac_status=$?
27989
 
-   cat conftest.err >&5
27990
 
-   echo "$as_me:8372: \$? = $ac_status" >&5
27991
 
-   if (exit $ac_status) && test -s "$ac_outfile"; then
27992
 
-     # The compiler can only warn and ignore the option if not recognized
27993
 
-     # So say no if there are warnings other than the usual output.
27994
 
-     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
27995
 
-     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
27996
 
-     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
27997
 
-       lt_cv_prog_compiler_pic_works=yes
27998
 
-     fi
27999
 
-   fi
28000
 
-   $rm conftest*
28001
 
+  if test -n "$ac_ct_OTOOL"; then
28002
 
+  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
28003
 
+else
28004
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28005
 
+for as_dir in $PATH
28006
 
+do
28007
 
+  IFS=$as_save_IFS
28008
 
+  test -z "$as_dir" && as_dir=.
28009
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
28010
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28011
 
+    ac_cv_prog_ac_ct_OTOOL="otool"
28012
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28013
 
+    break 2
28014
 
+  fi
28015
 
+done
28016
 
+  done
28017
 
+IFS=$as_save_IFS
28018
 
 
28019
 
 fi
28020
 
-{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
28021
 
-$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
28022
 
-
28023
 
-if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
28024
 
-    case $lt_prog_compiler_pic in
28025
 
-     "" | " "*) ;;
28026
 
-     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
28027
 
-     esac
28028
 
+fi
28029
 
+ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
28030
 
+if test -n "$ac_ct_OTOOL"; then
28031
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
28032
 
+$as_echo "$ac_ct_OTOOL" >&6; }
28033
 
 else
28034
 
-    lt_prog_compiler_pic=
28035
 
-     lt_prog_compiler_can_build_shared=no
28036
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28037
 
+$as_echo "no" >&6; }
28038
 
 fi
28039
 
 
28040
 
-fi
28041
 
-case $host_os in
28042
 
-  # For platforms which do not support PIC, -DPIC is meaningless:
28043
 
-  *djgpp*)
28044
 
-    lt_prog_compiler_pic=
28045
 
-    ;;
28046
 
-  *)
28047
 
-    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
28048
 
-    ;;
28049
 
+  if test "x$ac_ct_OTOOL" = x; then
28050
 
+    OTOOL=":"
28051
 
+  else
28052
 
+    case $cross_compiling:$ac_tool_warned in
28053
 
+yes:)
28054
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28055
 
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28056
 
+ac_tool_warned=yes ;;
28057
 
 esac
28058
 
+    OTOOL=$ac_ct_OTOOL
28059
 
+  fi
28060
 
+else
28061
 
+  OTOOL="$ac_cv_prog_OTOOL"
28062
 
+fi
28063
 
 
28064
 
-#
28065
 
-# Check to make sure the static flag actually works.
28066
 
-#
28067
 
-wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
28068
 
-{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
28069
 
-$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
28070
 
-if test "${lt_cv_prog_compiler_static_works+set}" = set; then
28071
 
+    if test -n "$ac_tool_prefix"; then
28072
 
+  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
28073
 
+set dummy ${ac_tool_prefix}otool64; ac_word=$2
28074
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28075
 
+$as_echo_n "checking for $ac_word... " >&6; }
28076
 
+if test "${ac_cv_prog_OTOOL64+set}" = set; then :
28077
 
   $as_echo_n "(cached) " >&6
28078
 
 else
28079
 
-  lt_cv_prog_compiler_static_works=no
28080
 
-   save_LDFLAGS="$LDFLAGS"
28081
 
-   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
28082
 
-   echo "$lt_simple_link_test_code" > conftest.$ac_ext
28083
 
-   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
28084
 
-     # The linker can only warn and ignore the option if not recognized
28085
 
-     # So say no if there are warnings
28086
 
-     if test -s conftest.err; then
28087
 
-       # Append any errors to the config.log.
28088
 
-       cat conftest.err 1>&5
28089
 
-       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
28090
 
-       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
28091
 
-       if diff conftest.exp conftest.er2 >/dev/null; then
28092
 
-         lt_cv_prog_compiler_static_works=yes
28093
 
-       fi
28094
 
-     else
28095
 
-       lt_cv_prog_compiler_static_works=yes
28096
 
-     fi
28097
 
-   fi
28098
 
-   $rm -r conftest*
28099
 
-   LDFLAGS="$save_LDFLAGS"
28100
 
+  if test -n "$OTOOL64"; then
28101
 
+  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
28102
 
+else
28103
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28104
 
+for as_dir in $PATH
28105
 
+do
28106
 
+  IFS=$as_save_IFS
28107
 
+  test -z "$as_dir" && as_dir=.
28108
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
28109
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28110
 
+    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
28111
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28112
 
+    break 2
28113
 
+  fi
28114
 
+done
28115
 
+  done
28116
 
+IFS=$as_save_IFS
28117
 
 
28118
 
 fi
28119
 
-{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
28120
 
-$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
28121
 
-
28122
 
-if test x"$lt_cv_prog_compiler_static_works" = xyes; then
28123
 
-    :
28124
 
+fi
28125
 
+OTOOL64=$ac_cv_prog_OTOOL64
28126
 
+if test -n "$OTOOL64"; then
28127
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
28128
 
+$as_echo "$OTOOL64" >&6; }
28129
 
 else
28130
 
-    lt_prog_compiler_static=
28131
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28132
 
+$as_echo "no" >&6; }
28133
 
 fi
28134
 
 
28135
 
 
28136
 
-{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
28137
 
-$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
28138
 
-if test "${lt_cv_prog_compiler_c_o+set}" = set; then
28139
 
+fi
28140
 
+if test -z "$ac_cv_prog_OTOOL64"; then
28141
 
+  ac_ct_OTOOL64=$OTOOL64
28142
 
+  # Extract the first word of "otool64", so it can be a program name with args.
28143
 
+set dummy otool64; ac_word=$2
28144
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28145
 
+$as_echo_n "checking for $ac_word... " >&6; }
28146
 
+if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
28147
 
   $as_echo_n "(cached) " >&6
28148
 
 else
28149
 
-  lt_cv_prog_compiler_c_o=no
28150
 
-   $rm -r conftest 2>/dev/null
28151
 
-   mkdir conftest
28152
 
-   cd conftest
28153
 
-   mkdir out
28154
 
-   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
28155
 
-
28156
 
-   lt_compiler_flag="-o out/conftest2.$ac_objext"
28157
 
-   # Insert the option either (1) after the last *FLAGS variable, or
28158
 
-   # (2) before a word containing "conftest.", or (3) at the end.
28159
 
-   # Note that $ac_compile itself does not contain backslashes and begins
28160
 
-   # with a dollar sign (not a hyphen), so the echo should work correctly.
28161
 
-   lt_compile=`echo "$ac_compile" | $SED \
28162
 
-   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
28163
 
-   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
28164
 
-   -e 's:$: $lt_compiler_flag:'`
28165
 
-   (eval echo "\"\$as_me:8472: $lt_compile\"" >&5)
28166
 
-   (eval "$lt_compile" 2>out/conftest.err)
28167
 
-   ac_status=$?
28168
 
-   cat out/conftest.err >&5
28169
 
-   echo "$as_me:8476: \$? = $ac_status" >&5
28170
 
-   if (exit $ac_status) && test -s out/conftest2.$ac_objext
28171
 
-   then
28172
 
-     # The compiler can only warn and ignore the option if not recognized
28173
 
-     # So say no if there are warnings
28174
 
-     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
28175
 
-     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
28176
 
-     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
28177
 
-       lt_cv_prog_compiler_c_o=yes
28178
 
-     fi
28179
 
-   fi
28180
 
-   chmod u+w . 2>&5
28181
 
-   $rm conftest*
28182
 
-   # SGI C++ compiler will create directory out/ii_files/ for
28183
 
-   # template instantiation
28184
 
-   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
28185
 
-   $rm out/* && rmdir out
28186
 
-   cd ..
28187
 
-   rmdir conftest
28188
 
-   $rm conftest*
28189
 
+  if test -n "$ac_ct_OTOOL64"; then
28190
 
+  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
28191
 
+else
28192
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28193
 
+for as_dir in $PATH
28194
 
+do
28195
 
+  IFS=$as_save_IFS
28196
 
+  test -z "$as_dir" && as_dir=.
28197
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
28198
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28199
 
+    ac_cv_prog_ac_ct_OTOOL64="otool64"
28200
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28201
 
+    break 2
28202
 
+  fi
28203
 
+done
28204
 
+  done
28205
 
+IFS=$as_save_IFS
28206
 
 
28207
 
 fi
28208
 
-{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
28209
 
-$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
28210
 
-
28211
 
+fi
28212
 
+ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
28213
 
+if test -n "$ac_ct_OTOOL64"; then
28214
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
28215
 
+$as_echo "$ac_ct_OTOOL64" >&6; }
28216
 
+else
28217
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28218
 
+$as_echo "no" >&6; }
28219
 
+fi
28220
 
 
28221
 
-hard_links="nottested"
28222
 
-if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
28223
 
-  # do not overwrite the value of need_locks provided by the user
28224
 
-  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
28225
 
-$as_echo_n "checking if we can lock with hard links... " >&6; }
28226
 
-  hard_links=yes
28227
 
-  $rm conftest*
28228
 
-  ln conftest.a conftest.b 2>/dev/null && hard_links=no
28229
 
-  touch conftest.a
28230
 
-  ln conftest.a conftest.b 2>&5 || hard_links=no
28231
 
-  ln conftest.a conftest.b 2>/dev/null && hard_links=no
28232
 
-  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
28233
 
-$as_echo "$hard_links" >&6; }
28234
 
-  if test "$hard_links" = no; then
28235
 
-    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
28236
 
-$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
28237
 
-    need_locks=warn
28238
 
+  if test "x$ac_ct_OTOOL64" = x; then
28239
 
+    OTOOL64=":"
28240
 
+  else
28241
 
+    case $cross_compiling:$ac_tool_warned in
28242
 
+yes:)
28243
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28244
 
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28245
 
+ac_tool_warned=yes ;;
28246
 
+esac
28247
 
+    OTOOL64=$ac_ct_OTOOL64
28248
 
   fi
28249
 
 else
28250
 
-  need_locks=no
28251
 
+  OTOOL64="$ac_cv_prog_OTOOL64"
28252
 
 fi
28253
 
 
28254
 
-{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
28255
 
-$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
28256
 
 
28257
 
-  runpath_var=
28258
 
-  allow_undefined_flag=
28259
 
-  enable_shared_with_static_runtimes=no
28260
 
-  archive_cmds=
28261
 
-  archive_expsym_cmds=
28262
 
-  old_archive_From_new_cmds=
28263
 
-  old_archive_from_expsyms_cmds=
28264
 
-  export_dynamic_flag_spec=
28265
 
-  whole_archive_flag_spec=
28266
 
-  thread_safe_flag_spec=
28267
 
-  hardcode_libdir_flag_spec=
28268
 
-  hardcode_libdir_flag_spec_ld=
28269
 
-  hardcode_libdir_separator=
28270
 
-  hardcode_direct=no
28271
 
-  hardcode_minus_L=no
28272
 
-  hardcode_shlibpath_var=unsupported
28273
 
-  link_all_deplibs=unknown
28274
 
-  hardcode_automatic=no
28275
 
-  module_cmds=
28276
 
-  module_expsym_cmds=
28277
 
-  always_export_symbols=no
28278
 
-  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
28279
 
-  # include_expsyms should be a list of space-separated symbols to be *always*
28280
 
-  # included in the symbol list
28281
 
-  include_expsyms=
28282
 
-  # exclude_expsyms can be an extended regexp of symbols to exclude
28283
 
-  # it will be wrapped by ` (' and `)$', so one must not match beginning or
28284
 
-  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
28285
 
-  # as well as any symbol that contains `d'.
28286
 
-  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
28287
 
-  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
28288
 
-  # platforms (ab)use it in PIC code, but their linkers get confused if
28289
 
-  # the symbol is explicitly referenced.  Since portable code cannot
28290
 
-  # rely on this symbol name, it's probably fine to never include it in
28291
 
-  # preloaded symbol tables.
28292
 
-  # Exclude shared library initialization/finalization symbols.
28293
 
-  extract_expsyms_cmds=
28294
 
-  # Just being paranoid about ensuring that cc_basename is set.
28295
 
-  for cc_temp in $compiler""; do
28296
 
-  case $cc_temp in
28297
 
-    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
28298
 
-    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
28299
 
-    \-*) ;;
28300
 
-    *) break;;
28301
 
-  esac
28302
 
-done
28303
 
-cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
28304
 
 
28305
 
-  case $host_os in
28306
 
-  cygwin* | mingw* | pw32*)
28307
 
-    # FIXME: the MSVC++ port hasn't been tested in a loooong time
28308
 
-    # When not using gcc, we currently assume that we are using
28309
 
-    # Microsoft Visual C++.
28310
 
-    if test "$GCC" != yes; then
28311
 
-      with_gnu_ld=no
28312
 
-    fi
28313
 
-    ;;
28314
 
-  interix*)
28315
 
-    # we just hope/assume this is gcc and not c89 (= MSVC++)
28316
 
-    with_gnu_ld=yes
28317
 
-    ;;
28318
 
-  openbsd*)
28319
 
-    with_gnu_ld=no
28320
 
-    ;;
28321
 
-  esac
28322
 
 
28323
 
-  ld_shlibs=yes
28324
 
-  if test "$with_gnu_ld" = yes; then
28325
 
-    # If archive_cmds runs LD, not CC, wlarc should be empty
28326
 
-    wlarc='${wl}'
28327
 
 
28328
 
-    # Set some defaults for GNU ld with shared library support. These
28329
 
-    # are reset later if shared libraries are not supported. Putting them
28330
 
-    # here allows them to be overridden if necessary.
28331
 
-    runpath_var=LD_RUN_PATH
28332
 
-    hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
28333
 
-    export_dynamic_flag_spec='${wl}--export-dynamic'
28334
 
-    # ancient GNU ld didn't support --whole-archive et. al.
28335
 
-    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
28336
 
-       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
28337
 
-      else
28338
 
-       whole_archive_flag_spec=
28339
 
-    fi
28340
 
-    supports_anon_versioning=no
28341
 
-    case `$LD -v 2>/dev/null` in
28342
 
-      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
28343
 
-      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
28344
 
-      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
28345
 
-      *\ 2.11.*) ;; # other 2.11 versions
28346
 
-      *) supports_anon_versioning=yes ;;
28347
 
-    esac
28348
 
 
28349
 
-    # See if GNU ld supports shared libraries.
28350
 
-    case $host_os in
28351
 
-    aix[3-9]*)
28352
 
-      # On AIX/PPC, the GNU linker is very broken
28353
 
-      if test "$host_cpu" != ia64; then
28354
 
-       ld_shlibs=no
28355
 
-       cat <<EOF 1>&2
28356
 
 
28357
 
-*** Warning: the GNU linker, at least up to release 2.9.1, is reported
28358
 
-*** to be unable to reliably create shared libraries on AIX.
28359
 
-*** Therefore, libtool is disabling shared libraries support.  If you
28360
 
-*** really care for shared libraries, you may want to modify your PATH
28361
 
-*** so that a non-GNU linker is found, and then restart.
28362
 
 
28363
 
-EOF
28364
 
-      fi
28365
 
-      ;;
28366
 
 
28367
 
-    amigaos*)
28368
 
-      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)'
28369
 
-      hardcode_libdir_flag_spec='-L$libdir'
28370
 
-      hardcode_minus_L=yes
28371
 
 
28372
 
-      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
28373
 
-      # that the semantics of dynamic libraries on AmigaOS, at least up
28374
 
-      # to version 4, is to share data among multiple programs linked
28375
 
-      # with the same dynamic library.  Since this doesn't match the
28376
 
-      # behavior of shared libraries on other platforms, we can't use
28377
 
-      # them.
28378
 
-      ld_shlibs=no
28379
 
-      ;;
28380
 
 
28381
 
-    beos*)
28382
 
-      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
28383
 
-       allow_undefined_flag=unsupported
28384
 
-       # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
28385
 
-       # support --undefined.  This deserves some investigation.  FIXME
28386
 
-       archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
28387
 
-      else
28388
 
-       ld_shlibs=no
28389
 
-      fi
28390
 
-      ;;
28391
 
 
28392
 
-    cygwin* | mingw* | pw32*)
28393
 
-      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
28394
 
-      # as there is no search path for DLLs.
28395
 
-      hardcode_libdir_flag_spec='-L$libdir'
28396
 
-      allow_undefined_flag=unsupported
28397
 
-      always_export_symbols=no
28398
 
-      enable_shared_with_static_runtimes=yes
28399
 
-      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
28400
 
 
28401
 
-      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
28402
 
-        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
28403
 
-       # If the export-symbols file already is a .def file (1st line
28404
 
-       # is EXPORTS), use it as is; otherwise, prepend...
28405
 
-       archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
28406
 
-         cp $export_symbols $output_objdir/$soname.def;
28407
 
-       else
28408
 
-         echo EXPORTS > $output_objdir/$soname.def;
28409
 
-         cat $export_symbols >> $output_objdir/$soname.def;
28410
 
-       fi~
28411
 
-       $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
28412
 
-      else
28413
 
-       ld_shlibs=no
28414
 
-      fi
28415
 
-      ;;
28416
 
 
28417
 
-    interix[3-9]*)
28418
 
-      hardcode_direct=no
28419
 
-      hardcode_shlibpath_var=no
28420
 
-      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
28421
 
-      export_dynamic_flag_spec='${wl}-E'
28422
 
-      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
28423
 
-      # Instead, shared libraries are loaded at an image base (0x10000000 by
28424
 
-      # default) and relocated if they conflict, which is a slow very memory
28425
 
-      # consuming and fragmenting process.  To avoid this, we pick a random,
28426
 
-      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
28427
 
-      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
28428
 
-      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
28429
 
-      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'
28430
 
-      ;;
28431
 
 
28432
 
-    gnu* | linux* | k*bsd*-gnu)
28433
 
-      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
28434
 
-       tmp_addflag=
28435
 
-       case $cc_basename,$host_cpu in
28436
 
-       pgcc*)                          # Portland Group C compiler
28437
 
-         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'
28438
 
-         tmp_addflag=' $pic_flag'
28439
 
-         ;;
28440
 
-       pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
28441
 
-         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'
28442
 
-         tmp_addflag=' $pic_flag -Mnomain' ;;
28443
 
-       ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
28444
 
-         tmp_addflag=' -i_dynamic' ;;
28445
 
-       efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
28446
 
-         tmp_addflag=' -i_dynamic -nofor_main' ;;
28447
 
-       ifc* | ifort*)                  # Intel Fortran compiler
28448
 
-         tmp_addflag=' -nofor_main' ;;
28449
 
-       esac
28450
 
-       case `$CC -V 2>&1 | sed 5q` in
28451
 
-       *Sun\ C*)                       # Sun C 5.9
28452
 
-         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'
28453
 
-         tmp_sharedflag='-G' ;;
28454
 
-       *Sun\ F*)                       # Sun Fortran 8.3
28455
 
-         tmp_sharedflag='-G' ;;
28456
 
-       *)
28457
 
-         tmp_sharedflag='-shared' ;;
28458
 
-       esac
28459
 
-       archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
28460
 
 
28461
 
-       if test $supports_anon_versioning = yes; then
28462
 
-         archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
28463
 
-  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
28464
 
-  $echo "local: *; };" >> $output_objdir/$libname.ver~
28465
 
-         $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
28466
 
-       fi
28467
 
-      else
28468
 
-       ld_shlibs=no
28469
 
-      fi
28470
 
-      ;;
28471
 
 
28472
 
-    netbsd*)
28473
 
-      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
28474
 
-       archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
28475
 
-       wlarc=
28476
 
-      else
28477
 
-       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
28478
 
-       archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
28479
 
-      fi
28480
 
-      ;;
28481
 
 
28482
 
-    solaris*)
28483
 
-      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
28484
 
-       ld_shlibs=no
28485
 
-       cat <<EOF 1>&2
28486
 
 
28487
 
-*** Warning: The releases 2.8.* of the GNU linker cannot reliably
28488
 
-*** create shared libraries on Solaris systems.  Therefore, libtool
28489
 
-*** is disabling shared libraries support.  We urge you to upgrade GNU
28490
 
-*** binutils to release 2.9.1 or newer.  Another option is to modify
28491
 
-*** your PATH or compiler configuration so that the native linker is
28492
 
-*** used, and then restart.
28493
 
 
28494
 
-EOF
28495
 
-      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
28496
 
-       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
28497
 
-       archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
28498
 
-      else
28499
 
-       ld_shlibs=no
28500
 
-      fi
28501
 
-      ;;
28502
 
 
28503
 
-    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
28504
 
-      case `$LD -v 2>&1` in
28505
 
-        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
28506
 
-       ld_shlibs=no
28507
 
-       cat <<_LT_EOF 1>&2
28508
 
 
28509
 
-*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
28510
 
-*** reliably create shared libraries on SCO systems.  Therefore, libtool
28511
 
-*** is disabling shared libraries support.  We urge you to upgrade GNU
28512
 
-*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
28513
 
-*** your PATH or compiler configuration so that the native linker is
28514
 
-*** used, and then restart.
28515
 
 
28516
 
-_LT_EOF
28517
 
-       ;;
28518
 
-       *)
28519
 
-         if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
28520
 
-           hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
28521
 
-           archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
28522
 
-           archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
28523
 
-         else
28524
 
-           ld_shlibs=no
28525
 
-         fi
28526
 
-       ;;
28527
 
-      esac
28528
 
-      ;;
28529
 
 
28530
 
-    sunos4*)
28531
 
-      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
28532
 
-      wlarc=
28533
 
-      hardcode_direct=yes
28534
 
-      hardcode_shlibpath_var=no
28535
 
-      ;;
28536
 
 
28537
 
-    *)
28538
 
-      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
28539
 
-       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
28540
 
-       archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
28541
 
-      else
28542
 
-       ld_shlibs=no
28543
 
-      fi
28544
 
-      ;;
28545
 
-    esac
28546
 
 
28547
 
-    if test "$ld_shlibs" = no; then
28548
 
-      runpath_var=
28549
 
-      hardcode_libdir_flag_spec=
28550
 
-      export_dynamic_flag_spec=
28551
 
-      whole_archive_flag_spec=
28552
 
-    fi
28553
 
-  else
28554
 
-    # PORTME fill in a description of your system's linker (not GNU ld)
28555
 
-    case $host_os in
28556
 
-    aix3*)
28557
 
-      allow_undefined_flag=unsupported
28558
 
-      always_export_symbols=yes
28559
 
-      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'
28560
 
-      # Note: this linker hardcodes the directories in LIBPATH if there
28561
 
-      # are no directories specified by -L.
28562
 
-      hardcode_minus_L=yes
28563
 
-      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
28564
 
-       # Neither direct hardcoding nor static linking is supported with a
28565
 
-       # broken collect2.
28566
 
-       hardcode_direct=unsupported
28567
 
-      fi
28568
 
-      ;;
28569
 
 
28570
 
-    aix[4-9]*)
28571
 
-      if test "$host_cpu" = ia64; then
28572
 
-       # On IA64, the linker does run time linking by default, so we don't
28573
 
-       # have to do anything special.
28574
 
-       aix_use_runtimelinking=no
28575
 
-       exp_sym_flag='-Bexport'
28576
 
-       no_entry_flag=""
28577
 
-      else
28578
 
-       # If we're using GNU nm, then we don't want the "-C" option.
28579
 
-       # -C means demangle to AIX nm, but means don't demangle with GNU nm
28580
 
-       if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
28581
 
-         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'
28582
 
-       else
28583
 
-         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'
28584
 
-       fi
28585
 
-       aix_use_runtimelinking=no
28586
 
-
28587
 
-       # Test if we are trying to use run time linking or normal
28588
 
-       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
28589
 
-       # need to do runtime linking.
28590
 
-       case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
28591
 
-         for ld_flag in $LDFLAGS; do
28592
 
-         if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
28593
 
-           aix_use_runtimelinking=yes
28594
 
-           break
28595
 
-         fi
28596
 
-         done
28597
 
-         ;;
28598
 
-       esac
28599
 
-
28600
 
-       exp_sym_flag='-bexport'
28601
 
-       no_entry_flag='-bnoentry'
28602
 
-      fi
28603
 
-
28604
 
-      # When large executables or shared objects are built, AIX ld can
28605
 
-      # have problems creating the table of contents.  If linking a library
28606
 
-      # or program results in "error TOC overflow" add -mminimal-toc to
28607
 
-      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
28608
 
-      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
28609
 
-
28610
 
-      archive_cmds=''
28611
 
-      hardcode_direct=yes
28612
 
-      hardcode_libdir_separator=':'
28613
 
-      link_all_deplibs=yes
28614
 
-
28615
 
-      if test "$GCC" = yes; then
28616
 
-       case $host_os in aix4.[012]|aix4.[012].*)
28617
 
-       # We only want to do this on AIX 4.2 and lower, the check
28618
 
-       # below for broken collect2 doesn't work under 4.3+
28619
 
-         collect2name=`${CC} -print-prog-name=collect2`
28620
 
-         if test -f "$collect2name" && \
28621
 
-          strings "$collect2name" | grep resolve_lib_name >/dev/null
28622
 
-         then
28623
 
-         # We have reworked collect2
28624
 
-         :
28625
 
-         else
28626
 
-         # We have old collect2
28627
 
-         hardcode_direct=unsupported
28628
 
-         # It fails to find uninstalled libraries when the uninstalled
28629
 
-         # path is not listed in the libpath.  Setting hardcode_minus_L
28630
 
-         # to unsupported forces relinking
28631
 
-         hardcode_minus_L=yes
28632
 
-         hardcode_libdir_flag_spec='-L$libdir'
28633
 
-         hardcode_libdir_separator=
28634
 
-         fi
28635
 
-         ;;
28636
 
-       esac
28637
 
-       shared_flag='-shared'
28638
 
-       if test "$aix_use_runtimelinking" = yes; then
28639
 
-         shared_flag="$shared_flag "'${wl}-G'
28640
 
-       fi
28641
 
-      else
28642
 
-       # not using gcc
28643
 
-       if test "$host_cpu" = ia64; then
28644
 
-       # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
28645
 
-       # chokes on -Wl,-G. The following line is correct:
28646
 
-         shared_flag='-G'
28647
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
28648
 
+$as_echo_n "checking for -single_module linker flag... " >&6; }
28649
 
+if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
28650
 
+  $as_echo_n "(cached) " >&6
28651
 
+else
28652
 
+  lt_cv_apple_cc_single_mod=no
28653
 
+      if test -z "${LT_MULTI_MODULE}"; then
28654
 
+       # By default we will add the -single_module flag. You can override
28655
 
+       # by either setting the environment variable LT_MULTI_MODULE
28656
 
+       # non-empty at configure time, or by adding -multi_module to the
28657
 
+       # link flags.
28658
 
+       rm -rf libconftest.dylib*
28659
 
+       echo "int foo(void){return 1;}" > conftest.c
28660
 
+       echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
28661
 
+-dynamiclib -Wl,-single_module conftest.c" >&5
28662
 
+       $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
28663
 
+         -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
28664
 
+        _lt_result=$?
28665
 
+       if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
28666
 
+         lt_cv_apple_cc_single_mod=yes
28667
 
        else
28668
 
-         if test "$aix_use_runtimelinking" = yes; then
28669
 
-           shared_flag='${wl}-G'
28670
 
-         else
28671
 
-           shared_flag='${wl}-bM:SRE'
28672
 
-         fi
28673
 
+         cat conftest.err >&5
28674
 
        fi
28675
 
+       rm -rf libconftest.dylib*
28676
 
+       rm -f conftest.*
28677
 
       fi
28678
 
-
28679
 
-      # It seems that -bexpall does not export symbols beginning with
28680
 
-      # underscore (_), so it is better to generate a list of symbols to export.
28681
 
-      always_export_symbols=yes
28682
 
-      if test "$aix_use_runtimelinking" = yes; then
28683
 
-       # Warning - without using the other runtime loading flags (-brtl),
28684
 
-       # -berok will link without error, but may produce a broken library.
28685
 
-       allow_undefined_flag='-berok'
28686
 
-       # Determine the default libpath from the value encoded in an empty executable.
28687
 
-       cat >conftest.$ac_ext <<_ACEOF
28688
 
-/* confdefs.h.  */
28689
 
-_ACEOF
28690
 
-cat confdefs.h >>conftest.$ac_ext
28691
 
-cat >>conftest.$ac_ext <<_ACEOF
28692
 
+fi
28693
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
28694
 
+$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
28695
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
28696
 
+$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
28697
 
+if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
28698
 
+  $as_echo_n "(cached) " >&6
28699
 
+else
28700
 
+  lt_cv_ld_exported_symbols_list=no
28701
 
+      save_LDFLAGS=$LDFLAGS
28702
 
+      echo "_main" > conftest.sym
28703
 
+      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
28704
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28705
 
 /* end confdefs.h.  */
28706
 
 
28707
 
 int
28708
 
@@ -8946,4691 +7004,2641 @@ main ()
28709
 
   return 0;
28710
 
 }
28711
 
 _ACEOF
28712
 
-rm -f conftest.$ac_objext conftest$ac_exeext
28713
 
-if { (ac_try="$ac_link"
28714
 
-case "(($ac_try" in
28715
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28716
 
-  *) ac_try_echo=$ac_try;;
28717
 
-esac
28718
 
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28719
 
-$as_echo "$ac_try_echo") >&5
28720
 
-  (eval "$ac_link") 2>conftest.er1
28721
 
-  ac_status=$?
28722
 
-  grep -v '^ *+' conftest.er1 >conftest.err
28723
 
-  rm -f conftest.er1
28724
 
-  cat conftest.err >&5
28725
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28726
 
-  (exit $ac_status); } && {
28727
 
-        test -z "$ac_c_werror_flag" ||
28728
 
-        test ! -s conftest.err
28729
 
-       } && test -s conftest$ac_exeext && {
28730
 
-        test "$cross_compiling" = yes ||
28731
 
-        $as_test_x conftest$ac_exeext
28732
 
-       }; then
28733
 
-
28734
 
-lt_aix_libpath_sed='
28735
 
-    /Import File Strings/,/^$/ {
28736
 
-       /^0/ {
28737
 
-           s/^0  *\(.*\)$/\1/
28738
 
-           p
28739
 
-       }
28740
 
-    }'
28741
 
-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
28742
 
-# Check for a 64-bit object if we didn't find anything.
28743
 
-if test -z "$aix_libpath"; then
28744
 
-  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
28745
 
-fi
28746
 
+if ac_fn_c_try_link "$LINENO"; then :
28747
 
+  lt_cv_ld_exported_symbols_list=yes
28748
 
 else
28749
 
-  $as_echo "$as_me: failed program was:" >&5
28750
 
-sed 's/^/| /' conftest.$ac_ext >&5
28751
 
-
28752
 
-
28753
 
+  lt_cv_ld_exported_symbols_list=no
28754
 
 fi
28755
 
+rm -f core conftest.err conftest.$ac_objext \
28756
 
+    conftest$ac_exeext conftest.$ac_ext
28757
 
+       LDFLAGS="$save_LDFLAGS"
28758
 
 
28759
 
-rm -rf conftest.dSYM
28760
 
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28761
 
-      conftest$ac_exeext conftest.$ac_ext
28762
 
-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
28763
 
+fi
28764
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
28765
 
+$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
28766
 
+    case $host_os in
28767
 
+    rhapsody* | darwin1.[012])
28768
 
+      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
28769
 
+    darwin1.*)
28770
 
+      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
28771
 
+    darwin*) # darwin 5.x on
28772
 
+      # if running on 10.5 or later, the deployment target defaults
28773
 
+      # to the OS version, if on x86, and 10.4, the deployment
28774
 
+      # target defaults to 10.4. Don't you love it?
28775
 
+      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
28776
 
+       10.0,*86*-darwin8*|10.0,*-darwin[91]*)
28777
 
+         _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
28778
 
+       10.[012]*)
28779
 
+         _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
28780
 
+       10.*)
28781
 
+         _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
28782
 
+      esac
28783
 
+    ;;
28784
 
+  esac
28785
 
+    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
28786
 
+      _lt_dar_single_mod='$single_module'
28787
 
+    fi
28788
 
+    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
28789
 
+      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
28790
 
+    else
28791
 
+      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
28792
 
+    fi
28793
 
+    if test "$DSYMUTIL" != ":"; then
28794
 
+      _lt_dsymutil='~$DSYMUTIL $lib || :'
28795
 
+    else
28796
 
+      _lt_dsymutil=
28797
 
+    fi
28798
 
+    ;;
28799
 
+  esac
28800
 
 
28801
 
-       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
28802
 
-       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 "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
28803
 
-       else
28804
 
-       if test "$host_cpu" = ia64; then
28805
 
-         hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
28806
 
-         allow_undefined_flag="-z nodefs"
28807
 
-         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"
28808
 
-       else
28809
 
-        # Determine the default libpath from the value encoded in an empty executable.
28810
 
-        cat >conftest.$ac_ext <<_ACEOF
28811
 
-/* confdefs.h.  */
28812
 
-_ACEOF
28813
 
-cat confdefs.h >>conftest.$ac_ext
28814
 
-cat >>conftest.$ac_ext <<_ACEOF
28815
 
+ac_ext=c
28816
 
+ac_cpp='$CPP $CPPFLAGS'
28817
 
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28818
 
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28819
 
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
28820
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
28821
 
+$as_echo_n "checking how to run the C preprocessor... " >&6; }
28822
 
+# On Suns, sometimes $CPP names a directory.
28823
 
+if test -n "$CPP" && test -d "$CPP"; then
28824
 
+  CPP=
28825
 
+fi
28826
 
+if test -z "$CPP"; then
28827
 
+  if test "${ac_cv_prog_CPP+set}" = set; then :
28828
 
+  $as_echo_n "(cached) " >&6
28829
 
+else
28830
 
+      # Double quotes because CPP needs to be expanded
28831
 
+    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
28832
 
+    do
28833
 
+      ac_preproc_ok=false
28834
 
+for ac_c_preproc_warn_flag in '' yes
28835
 
+do
28836
 
+  # Use a header file that comes with gcc, so configuring glibc
28837
 
+  # with a fresh cross-compiler works.
28838
 
+  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28839
 
+  # <limits.h> exists even on freestanding compilers.
28840
 
+  # On the NeXT, cc -E runs the code through the compiler's parser,
28841
 
+  # not just through cpp. "Syntax error" is here to catch this case.
28842
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28843
 
 /* end confdefs.h.  */
28844
 
+#ifdef __STDC__
28845
 
+# include <limits.h>
28846
 
+#else
28847
 
+# include <assert.h>
28848
 
+#endif
28849
 
+                    Syntax error
28850
 
+_ACEOF
28851
 
+if ac_fn_c_try_cpp "$LINENO"; then :
28852
 
 
28853
 
-int
28854
 
-main ()
28855
 
-{
28856
 
+else
28857
 
+  # Broken: fails on valid input.
28858
 
+continue
28859
 
+fi
28860
 
+rm -f conftest.err conftest.$ac_ext
28861
 
 
28862
 
-  ;
28863
 
-  return 0;
28864
 
-}
28865
 
+  # OK, works on sane cases.  Now check whether nonexistent headers
28866
 
+  # can be detected and how.
28867
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28868
 
+/* end confdefs.h.  */
28869
 
+#include <ac_nonexistent.h>
28870
 
 _ACEOF
28871
 
-rm -f conftest.$ac_objext conftest$ac_exeext
28872
 
-if { (ac_try="$ac_link"
28873
 
-case "(($ac_try" in
28874
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28875
 
-  *) ac_try_echo=$ac_try;;
28876
 
-esac
28877
 
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28878
 
-$as_echo "$ac_try_echo") >&5
28879
 
-  (eval "$ac_link") 2>conftest.er1
28880
 
-  ac_status=$?
28881
 
-  grep -v '^ *+' conftest.er1 >conftest.err
28882
 
-  rm -f conftest.er1
28883
 
-  cat conftest.err >&5
28884
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28885
 
-  (exit $ac_status); } && {
28886
 
-        test -z "$ac_c_werror_flag" ||
28887
 
-        test ! -s conftest.err
28888
 
-       } && test -s conftest$ac_exeext && {
28889
 
-        test "$cross_compiling" = yes ||
28890
 
-        $as_test_x conftest$ac_exeext
28891
 
-       }; then
28892
 
+if ac_fn_c_try_cpp "$LINENO"; then :
28893
 
+  # Broken: success on invalid input.
28894
 
+continue
28895
 
+else
28896
 
+  # Passes both tests.
28897
 
+ac_preproc_ok=:
28898
 
+break
28899
 
+fi
28900
 
+rm -f conftest.err conftest.$ac_ext
28901
 
 
28902
 
-lt_aix_libpath_sed='
28903
 
-    /Import File Strings/,/^$/ {
28904
 
-       /^0/ {
28905
 
-           s/^0  *\(.*\)$/\1/
28906
 
-           p
28907
 
-       }
28908
 
-    }'
28909
 
-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
28910
 
-# Check for a 64-bit object if we didn't find anything.
28911
 
-if test -z "$aix_libpath"; then
28912
 
-  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
28913
 
+done
28914
 
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
28915
 
+rm -f conftest.err conftest.$ac_ext
28916
 
+if $ac_preproc_ok; then :
28917
 
+  break
28918
 
 fi
28919
 
-else
28920
 
-  $as_echo "$as_me: failed program was:" >&5
28921
 
-sed 's/^/| /' conftest.$ac_ext >&5
28922
 
 
28923
 
+    done
28924
 
+    ac_cv_prog_CPP=$CPP
28925
 
 
28926
 
 fi
28927
 
+  CPP=$ac_cv_prog_CPP
28928
 
+else
28929
 
+  ac_cv_prog_CPP=$CPP
28930
 
+fi
28931
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
28932
 
+$as_echo "$CPP" >&6; }
28933
 
+ac_preproc_ok=false
28934
 
+for ac_c_preproc_warn_flag in '' yes
28935
 
+do
28936
 
+  # Use a header file that comes with gcc, so configuring glibc
28937
 
+  # with a fresh cross-compiler works.
28938
 
+  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28939
 
+  # <limits.h> exists even on freestanding compilers.
28940
 
+  # On the NeXT, cc -E runs the code through the compiler's parser,
28941
 
+  # not just through cpp. "Syntax error" is here to catch this case.
28942
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28943
 
+/* end confdefs.h.  */
28944
 
+#ifdef __STDC__
28945
 
+# include <limits.h>
28946
 
+#else
28947
 
+# include <assert.h>
28948
 
+#endif
28949
 
+                    Syntax error
28950
 
+_ACEOF
28951
 
+if ac_fn_c_try_cpp "$LINENO"; then :
28952
 
 
28953
 
-rm -rf conftest.dSYM
28954
 
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28955
 
-      conftest$ac_exeext conftest.$ac_ext
28956
 
-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
28957
 
+else
28958
 
+  # Broken: fails on valid input.
28959
 
+continue
28960
 
+fi
28961
 
+rm -f conftest.err conftest.$ac_ext
28962
 
 
28963
 
-        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
28964
 
-         # Warning - without using the other run time loading flags,
28965
 
-         # -berok will link without error, but may produce a broken library.
28966
 
-         no_undefined_flag=' ${wl}-bernotok'
28967
 
-         allow_undefined_flag=' ${wl}-berok'
28968
 
-         # Exported symbols can be pulled into shared objects from archives
28969
 
-         whole_archive_flag_spec='$convenience'
28970
 
-         archive_cmds_need_lc=yes
28971
 
-         # This is similar to how AIX traditionally builds its shared libraries.
28972
 
-         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'
28973
 
-       fi
28974
 
-      fi
28975
 
-      ;;
28976
 
+  # OK, works on sane cases.  Now check whether nonexistent headers
28977
 
+  # can be detected and how.
28978
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28979
 
+/* end confdefs.h.  */
28980
 
+#include <ac_nonexistent.h>
28981
 
+_ACEOF
28982
 
+if ac_fn_c_try_cpp "$LINENO"; then :
28983
 
+  # Broken: success on invalid input.
28984
 
+continue
28985
 
+else
28986
 
+  # Passes both tests.
28987
 
+ac_preproc_ok=:
28988
 
+break
28989
 
+fi
28990
 
+rm -f conftest.err conftest.$ac_ext
28991
 
 
28992
 
-    amigaos*)
28993
 
-      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)'
28994
 
-      hardcode_libdir_flag_spec='-L$libdir'
28995
 
-      hardcode_minus_L=yes
28996
 
-      # see comment about different semantics on the GNU ld section
28997
 
-      ld_shlibs=no
28998
 
-      ;;
28999
 
+done
29000
 
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
29001
 
+rm -f conftest.err conftest.$ac_ext
29002
 
+if $ac_preproc_ok; then :
29003
 
 
29004
 
-    bsdi[45]*)
29005
 
-      export_dynamic_flag_spec=-rdynamic
29006
 
-      ;;
29007
 
+else
29008
 
+  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
29009
 
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29010
 
+as_fn_error "C preprocessor \"$CPP\" fails sanity check
29011
 
+See \`config.log' for more details." "$LINENO" 5; }
29012
 
+fi
29013
 
 
29014
 
-    cygwin* | mingw* | pw32*)
29015
 
-      # When not using gcc, we currently assume that we are using
29016
 
-      # Microsoft Visual C++.
29017
 
-      # hardcode_libdir_flag_spec is actually meaningless, as there is
29018
 
-      # no search path for DLLs.
29019
 
-      hardcode_libdir_flag_spec=' '
29020
 
-      allow_undefined_flag=unsupported
29021
 
-      # Tell ltmain to make .lib files, not .a files.
29022
 
-      libext=lib
29023
 
-      # Tell ltmain to make .dll files, not .so files.
29024
 
-      shrext_cmds=".dll"
29025
 
-      # FIXME: Setting linknames here is a bad hack.
29026
 
-      archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
29027
 
-      # The linker will automatically build a .lib file if we build a DLL.
29028
 
-      old_archive_From_new_cmds='true'
29029
 
-      # FIXME: Should let the user specify the lib program.
29030
 
-      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
29031
 
-      fix_srcfile_path='`cygpath -w "$srcfile"`'
29032
 
-      enable_shared_with_static_runtimes=yes
29033
 
-      ;;
29034
 
+ac_ext=c
29035
 
+ac_cpp='$CPP $CPPFLAGS'
29036
 
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29037
 
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29038
 
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
29039
 
 
29040
 
-    darwin* | rhapsody*)
29041
 
-      case $host_os in
29042
 
-        rhapsody* | darwin1.[012])
29043
 
-         allow_undefined_flag='${wl}-undefined ${wl}suppress'
29044
 
-         ;;
29045
 
-       *) # Darwin 1.3 on
29046
 
-         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
29047
 
-           allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
29048
 
-         else
29049
 
-           case ${MACOSX_DEPLOYMENT_TARGET} in
29050
 
-             10.[012])
29051
 
-               allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
29052
 
-               ;;
29053
 
-             10.*)
29054
 
-               allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
29055
 
-               ;;
29056
 
-           esac
29057
 
-         fi
29058
 
-         ;;
29059
 
-      esac
29060
 
-      archive_cmds_need_lc=no
29061
 
-      hardcode_direct=no
29062
 
-      hardcode_automatic=yes
29063
 
-      hardcode_shlibpath_var=unsupported
29064
 
-      whole_archive_flag_spec=''
29065
 
-      link_all_deplibs=yes
29066
 
-    if test "$GCC" = yes ; then
29067
 
-       output_verbose_link_cmd='echo'
29068
 
-        archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
29069
 
-        module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
29070
 
-        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}"
29071
 
-        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}"
29072
 
-    else
29073
 
-      case $cc_basename in
29074
 
-        xlc*)
29075
 
-         output_verbose_link_cmd='echo'
29076
 
-         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
29077
 
-         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
29078
 
-          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
29079
 
-         archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
29080
 
-          module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
29081
 
-          ;;
29082
 
-       *)
29083
 
-         ld_shlibs=no
29084
 
-          ;;
29085
 
-      esac
29086
 
-    fi
29087
 
-      ;;
29088
 
 
29089
 
-    dgux*)
29090
 
-      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
29091
 
-      hardcode_libdir_flag_spec='-L$libdir'
29092
 
-      hardcode_shlibpath_var=no
29093
 
-      ;;
29094
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
29095
 
+$as_echo_n "checking for ANSI C header files... " >&6; }
29096
 
+if test "${ac_cv_header_stdc+set}" = set; then :
29097
 
+  $as_echo_n "(cached) " >&6
29098
 
+else
29099
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29100
 
+/* end confdefs.h.  */
29101
 
+#include <stdlib.h>
29102
 
+#include <stdarg.h>
29103
 
+#include <string.h>
29104
 
+#include <float.h>
29105
 
 
29106
 
-    freebsd1*)
29107
 
-      ld_shlibs=no
29108
 
-      ;;
29109
 
+int
29110
 
+main ()
29111
 
+{
29112
 
 
29113
 
-    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
29114
 
-    # support.  Future versions do this automatically, but an explicit c++rt0.o
29115
 
-    # does not break anything, and helps significantly (at the cost of a little
29116
 
-    # extra space).
29117
 
-    freebsd2.2*)
29118
 
-      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
29119
 
-      hardcode_libdir_flag_spec='-R$libdir'
29120
 
-      hardcode_direct=yes
29121
 
-      hardcode_shlibpath_var=no
29122
 
-      ;;
29123
 
+  ;
29124
 
+  return 0;
29125
 
+}
29126
 
+_ACEOF
29127
 
+if ac_fn_c_try_compile "$LINENO"; then :
29128
 
+  ac_cv_header_stdc=yes
29129
 
+else
29130
 
+  ac_cv_header_stdc=no
29131
 
+fi
29132
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29133
 
 
29134
 
-    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
29135
 
-    freebsd2*)
29136
 
-      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
29137
 
-      hardcode_direct=yes
29138
 
-      hardcode_minus_L=yes
29139
 
-      hardcode_shlibpath_var=no
29140
 
-      ;;
29141
 
+if test $ac_cv_header_stdc = yes; then
29142
 
+  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
29143
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29144
 
+/* end confdefs.h.  */
29145
 
+#include <string.h>
29146
 
 
29147
 
-    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
29148
 
-    freebsd* | dragonfly*)
29149
 
-      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
29150
 
-      hardcode_libdir_flag_spec='-R$libdir'
29151
 
-      hardcode_direct=yes
29152
 
-      hardcode_shlibpath_var=no
29153
 
-      ;;
29154
 
+_ACEOF
29155
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
29156
 
+  $EGREP "memchr" >/dev/null 2>&1; then :
29157
 
 
29158
 
-    hpux9*)
29159
 
-      if test "$GCC" = yes; then
29160
 
-       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'
29161
 
-      else
29162
 
-       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'
29163
 
-      fi
29164
 
-      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
29165
 
-      hardcode_libdir_separator=:
29166
 
-      hardcode_direct=yes
29167
 
+else
29168
 
+  ac_cv_header_stdc=no
29169
 
+fi
29170
 
+rm -f conftest*
29171
 
 
29172
 
-      # hardcode_minus_L: Not really in the search PATH,
29173
 
-      # but as the default location of the library.
29174
 
-      hardcode_minus_L=yes
29175
 
-      export_dynamic_flag_spec='${wl}-E'
29176
 
-      ;;
29177
 
+fi
29178
 
 
29179
 
-    hpux10*)
29180
 
-      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
29181
 
-       archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
29182
 
-      else
29183
 
-       archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
29184
 
-      fi
29185
 
-      if test "$with_gnu_ld" = no; then
29186
 
-       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
29187
 
-       hardcode_libdir_separator=:
29188
 
+if test $ac_cv_header_stdc = yes; then
29189
 
+  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
29190
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29191
 
+/* end confdefs.h.  */
29192
 
+#include <stdlib.h>
29193
 
 
29194
 
-       hardcode_direct=yes
29195
 
-       export_dynamic_flag_spec='${wl}-E'
29196
 
+_ACEOF
29197
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
29198
 
+  $EGREP "free" >/dev/null 2>&1; then :
29199
 
 
29200
 
-       # hardcode_minus_L: Not really in the search PATH,
29201
 
-       # but as the default location of the library.
29202
 
-       hardcode_minus_L=yes
29203
 
-      fi
29204
 
-      ;;
29205
 
+else
29206
 
+  ac_cv_header_stdc=no
29207
 
+fi
29208
 
+rm -f conftest*
29209
 
 
29210
 
-    hpux11*)
29211
 
-      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
29212
 
-       case $host_cpu in
29213
 
-       hppa*64*)
29214
 
-         archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
29215
 
-         ;;
29216
 
-       ia64*)
29217
 
-         archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
29218
 
-         ;;
29219
 
-       *)
29220
 
-         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
29221
 
-         ;;
29222
 
-       esac
29223
 
-      else
29224
 
-       case $host_cpu in
29225
 
-       hppa*64*)
29226
 
-         archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
29227
 
-         ;;
29228
 
-       ia64*)
29229
 
-         archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
29230
 
-         ;;
29231
 
-       *)
29232
 
-         archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
29233
 
-         ;;
29234
 
-       esac
29235
 
-      fi
29236
 
-      if test "$with_gnu_ld" = no; then
29237
 
-       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
29238
 
-       hardcode_libdir_separator=:
29239
 
+fi
29240
 
 
29241
 
-       case $host_cpu in
29242
 
-       hppa*64*|ia64*)
29243
 
-         hardcode_libdir_flag_spec_ld='+b $libdir'
29244
 
-         hardcode_direct=no
29245
 
-         hardcode_shlibpath_var=no
29246
 
-         ;;
29247
 
-       *)
29248
 
-         hardcode_direct=yes
29249
 
-         export_dynamic_flag_spec='${wl}-E'
29250
 
+if test $ac_cv_header_stdc = yes; then
29251
 
+  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
29252
 
+  if test "$cross_compiling" = yes; then :
29253
 
+  :
29254
 
+else
29255
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29256
 
+/* end confdefs.h.  */
29257
 
+#include <ctype.h>
29258
 
+#include <stdlib.h>
29259
 
+#if ((' ' & 0x0FF) == 0x020)
29260
 
+# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
29261
 
+# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
29262
 
+#else
29263
 
+# define ISLOWER(c) \
29264
 
+                  (('a' <= (c) && (c) <= 'i') \
29265
 
+                    || ('j' <= (c) && (c) <= 'r') \
29266
 
+                    || ('s' <= (c) && (c) <= 'z'))
29267
 
+# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
29268
 
+#endif
29269
 
 
29270
 
-         # hardcode_minus_L: Not really in the search PATH,
29271
 
-         # but as the default location of the library.
29272
 
-         hardcode_minus_L=yes
29273
 
-         ;;
29274
 
-       esac
29275
 
-      fi
29276
 
-      ;;
29277
 
+#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
29278
 
+int
29279
 
+main ()
29280
 
+{
29281
 
+  int i;
29282
 
+  for (i = 0; i < 256; i++)
29283
 
+    if (XOR (islower (i), ISLOWER (i))
29284
 
+       || toupper (i) != TOUPPER (i))
29285
 
+      return 2;
29286
 
+  return 0;
29287
 
+}
29288
 
+_ACEOF
29289
 
+if ac_fn_c_try_run "$LINENO"; then :
29290
 
 
29291
 
-    irix5* | irix6* | nonstopux*)
29292
 
-      if test "$GCC" = yes; then
29293
 
-       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
29294
 
-      else
29295
 
-       archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
29296
 
-       hardcode_libdir_flag_spec_ld='-rpath $libdir'
29297
 
-      fi
29298
 
-      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
29299
 
-      hardcode_libdir_separator=:
29300
 
-      link_all_deplibs=yes
29301
 
-      ;;
29302
 
+else
29303
 
+  ac_cv_header_stdc=no
29304
 
+fi
29305
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
29306
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
29307
 
+fi
29308
 
 
29309
 
-    netbsd*)
29310
 
-      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
29311
 
-       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
29312
 
-      else
29313
 
-       archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
29314
 
-      fi
29315
 
-      hardcode_libdir_flag_spec='-R$libdir'
29316
 
-      hardcode_direct=yes
29317
 
-      hardcode_shlibpath_var=no
29318
 
-      ;;
29319
 
+fi
29320
 
+fi
29321
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
29322
 
+$as_echo "$ac_cv_header_stdc" >&6; }
29323
 
+if test $ac_cv_header_stdc = yes; then
29324
 
 
29325
 
-    newsos6)
29326
 
-      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
29327
 
-      hardcode_direct=yes
29328
 
-      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
29329
 
-      hardcode_libdir_separator=:
29330
 
-      hardcode_shlibpath_var=no
29331
 
-      ;;
29332
 
+$as_echo "#define STDC_HEADERS 1" >>confdefs.h
29333
 
 
29334
 
-    openbsd*)
29335
 
-      if test -f /usr/libexec/ld.so; then
29336
 
-       hardcode_direct=yes
29337
 
-       hardcode_shlibpath_var=no
29338
 
-       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
29339
 
-         archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
29340
 
-         archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
29341
 
-         hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
29342
 
-         export_dynamic_flag_spec='${wl}-E'
29343
 
-       else
29344
 
-         case $host_os in
29345
 
-          openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
29346
 
-            archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
29347
 
-            hardcode_libdir_flag_spec='-R$libdir'
29348
 
-            ;;
29349
 
-          *)
29350
 
-            archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
29351
 
-            hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
29352
 
-            ;;
29353
 
-         esac
29354
 
-        fi
29355
 
-      else
29356
 
-       ld_shlibs=no
29357
 
-      fi
29358
 
-      ;;
29359
 
+fi
29360
 
 
29361
 
-    os2*)
29362
 
-      hardcode_libdir_flag_spec='-L$libdir'
29363
 
-      hardcode_minus_L=yes
29364
 
-      allow_undefined_flag=unsupported
29365
 
-      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'
29366
 
-      old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
29367
 
-      ;;
29368
 
+# On IRIX 5.3, sys/types and inttypes.h are conflicting.
29369
 
+for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
29370
 
+                 inttypes.h stdint.h unistd.h
29371
 
+do :
29372
 
+  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
29373
 
+ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
29374
 
+"
29375
 
+eval as_val=\$$as_ac_Header
29376
 
+   if test "x$as_val" = x""yes; then :
29377
 
+  cat >>confdefs.h <<_ACEOF
29378
 
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
29379
 
+_ACEOF
29380
 
 
29381
 
-    osf3*)
29382
 
-      if test "$GCC" = yes; then
29383
 
-       allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
29384
 
-       archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
29385
 
-      else
29386
 
-       allow_undefined_flag=' -expect_unresolved \*'
29387
 
-       archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
29388
 
-      fi
29389
 
-      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
29390
 
-      hardcode_libdir_separator=:
29391
 
-      ;;
29392
 
+fi
29393
 
 
29394
 
-    osf4* | osf5*)     # as osf3* with the addition of -msym flag
29395
 
-      if test "$GCC" = yes; then
29396
 
-       allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
29397
 
-       archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
29398
 
-       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
29399
 
-      else
29400
 
-       allow_undefined_flag=' -expect_unresolved \*'
29401
 
-       archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
29402
 
-       archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
29403
 
-       $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
29404
 
+done
29405
 
 
29406
 
-       # Both c and cxx compiler support -rpath directly
29407
 
-       hardcode_libdir_flag_spec='-rpath $libdir'
29408
 
-      fi
29409
 
-      hardcode_libdir_separator=:
29410
 
-      ;;
29411
 
 
29412
 
-    solaris*)
29413
 
-      no_undefined_flag=' -z text'
29414
 
-      if test "$GCC" = yes; then
29415
 
-       wlarc='${wl}'
29416
 
-       archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
29417
 
-       archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
29418
 
-         $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
29419
 
-      else
29420
 
-       wlarc=''
29421
 
-       archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
29422
 
-       archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
29423
 
-       $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
29424
 
-      fi
29425
 
-      hardcode_libdir_flag_spec='-R$libdir'
29426
 
-      hardcode_shlibpath_var=no
29427
 
-      case $host_os in
29428
 
-      solaris2.[0-5] | solaris2.[0-5].*) ;;
29429
 
-      *)
29430
 
-       # The compiler driver will combine and reorder linker options,
29431
 
-       # but understands `-z linker_flag'.  GCC discards it without `$wl',
29432
 
-       # but is careful enough not to reorder.
29433
 
-       # Supported since Solaris 2.6 (maybe 2.5.1?)
29434
 
-       if test "$GCC" = yes; then
29435
 
-         whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
29436
 
-       else
29437
 
-         whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
29438
 
-       fi
29439
 
-       ;;
29440
 
-      esac
29441
 
-      link_all_deplibs=yes
29442
 
-      ;;
29443
 
+for ac_header in dlfcn.h
29444
 
+do :
29445
 
+  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
29446
 
+"
29447
 
+if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
29448
 
+  cat >>confdefs.h <<_ACEOF
29449
 
+#define HAVE_DLFCN_H 1
29450
 
+_ACEOF
29451
 
 
29452
 
-    sunos4*)
29453
 
-      if test "x$host_vendor" = xsequent; then
29454
 
-       # Use $CC to link under sequent, because it throws in some extra .o
29455
 
-       # files that make .init and .fini sections work.
29456
 
-       archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
29457
 
-      else
29458
 
-       archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
29459
 
-      fi
29460
 
-      hardcode_libdir_flag_spec='-L$libdir'
29461
 
-      hardcode_direct=yes
29462
 
-      hardcode_minus_L=yes
29463
 
-      hardcode_shlibpath_var=no
29464
 
-      ;;
29465
 
+fi
29466
 
 
29467
 
-    sysv4)
29468
 
-      case $host_vendor in
29469
 
-       sni)
29470
 
-         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
29471
 
-         hardcode_direct=yes # is this really true???
29472
 
-       ;;
29473
 
-       siemens)
29474
 
-         ## LD is ld it makes a PLAMLIB
29475
 
-         ## CC just makes a GrossModule.
29476
 
-         archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
29477
 
-         reload_cmds='$CC -r -o $output$reload_objs'
29478
 
-         hardcode_direct=no
29479
 
-        ;;
29480
 
-       motorola)
29481
 
-         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
29482
 
-         hardcode_direct=no #Motorola manual says yes, but my tests say they lie
29483
 
-       ;;
29484
 
-      esac
29485
 
-      runpath_var='LD_RUN_PATH'
29486
 
-      hardcode_shlibpath_var=no
29487
 
-      ;;
29488
 
+done
29489
 
 
29490
 
-    sysv4.3*)
29491
 
-      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
29492
 
-      hardcode_shlibpath_var=no
29493
 
-      export_dynamic_flag_spec='-Bexport'
29494
 
-      ;;
29495
 
 
29496
 
-    sysv4*MP*)
29497
 
-      if test -d /usr/nec; then
29498
 
-       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
29499
 
-       hardcode_shlibpath_var=no
29500
 
-       runpath_var=LD_RUN_PATH
29501
 
-       hardcode_runpath_var=yes
29502
 
-       ld_shlibs=yes
29503
 
-      fi
29504
 
-      ;;
29505
 
 
29506
 
-    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
29507
 
-      no_undefined_flag='${wl}-z,text'
29508
 
-      archive_cmds_need_lc=no
29509
 
-      hardcode_shlibpath_var=no
29510
 
-      runpath_var='LD_RUN_PATH'
29511
 
+# Set options
29512
 
 
29513
 
-      if test "$GCC" = yes; then
29514
 
-       archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
29515
 
-       archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
29516
 
-      else
29517
 
-       archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
29518
 
-       archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
29519
 
-      fi
29520
 
-      ;;
29521
 
 
29522
 
-    sysv5* | sco3.2v5* | sco5v6*)
29523
 
-      # Note: We can NOT use -z defs as we might desire, because we do not
29524
 
-      # link with -lc, and that would cause any symbols used from libc to
29525
 
-      # always be unresolved, which means just about no library would
29526
 
-      # ever link correctly.  If we're not using GNU ld we use -z text
29527
 
-      # though, which does catch some bad symbols but isn't as heavy-handed
29528
 
-      # as -z defs.
29529
 
-      no_undefined_flag='${wl}-z,text'
29530
 
-      allow_undefined_flag='${wl}-z,nodefs'
29531
 
-      archive_cmds_need_lc=no
29532
 
-      hardcode_shlibpath_var=no
29533
 
-      hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
29534
 
-      hardcode_libdir_separator=':'
29535
 
-      link_all_deplibs=yes
29536
 
-      export_dynamic_flag_spec='${wl}-Bexport'
29537
 
-      runpath_var='LD_RUN_PATH'
29538
 
 
29539
 
-      if test "$GCC" = yes; then
29540
 
-       archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
29541
 
-       archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
29542
 
-      else
29543
 
-       archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
29544
 
-       archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
29545
 
-      fi
29546
 
-      ;;
29547
 
+        enable_dlopen=no
29548
 
 
29549
 
-    uts4*)
29550
 
-      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
29551
 
-      hardcode_libdir_flag_spec='-L$libdir'
29552
 
-      hardcode_shlibpath_var=no
29553
 
-      ;;
29554
 
 
29555
 
+
29556
 
+            # Check whether --enable-shared was given.
29557
 
+if test "${enable_shared+set}" = set; then :
29558
 
+  enableval=$enable_shared; p=${PACKAGE-default}
29559
 
+    case $enableval in
29560
 
+    yes) enable_shared=yes ;;
29561
 
+    no) enable_shared=no ;;
29562
 
     *)
29563
 
-      ld_shlibs=no
29564
 
+      enable_shared=no
29565
 
+      # Look at the argument we got.  We use all the common list separators.
29566
 
+      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
29567
 
+      for pkg in $enableval; do
29568
 
+       IFS="$lt_save_ifs"
29569
 
+       if test "X$pkg" = "X$p"; then
29570
 
+         enable_shared=yes
29571
 
+       fi
29572
 
+      done
29573
 
+      IFS="$lt_save_ifs"
29574
 
       ;;
29575
 
     esac
29576
 
-  fi
29577
 
+else
29578
 
+  enable_shared=yes
29579
 
+fi
29580
 
 
29581
 
-{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
29582
 
-$as_echo "$ld_shlibs" >&6; }
29583
 
-test "$ld_shlibs" = no && can_build_shared=no
29584
 
 
29585
 
-#
29586
 
-# Do we need to explicitly link libc?
29587
 
-#
29588
 
-case "x$archive_cmds_need_lc" in
29589
 
-x|xyes)
29590
 
-  # Assume -lc should be added
29591
 
-  archive_cmds_need_lc=yes
29592
 
 
29593
 
-  if test "$enable_shared" = yes && test "$GCC" = yes; then
29594
 
-    case $archive_cmds in
29595
 
-    *'~'*)
29596
 
-      # FIXME: we may have to deal with multi-command sequences.
29597
 
-      ;;
29598
 
-    '$CC '*)
29599
 
-      # Test whether the compiler implicitly links with -lc since on some
29600
 
-      # systems, -lgcc has to come before -lc. If gcc already passes -lc
29601
 
-      # to ld, don't add -lc before -lgcc.
29602
 
-      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
29603
 
-$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
29604
 
-      $rm conftest*
29605
 
-      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
29606
 
 
29607
 
-      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29608
 
-  (eval $ac_compile) 2>&5
29609
 
-  ac_status=$?
29610
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29611
 
-  (exit $ac_status); } 2>conftest.err; then
29612
 
-        soname=conftest
29613
 
-        lib=conftest
29614
 
-        libobjs=conftest.$ac_objext
29615
 
-        deplibs=
29616
 
-        wl=$lt_prog_compiler_wl
29617
 
-       pic_flag=$lt_prog_compiler_pic
29618
 
-        compiler_flags=-v
29619
 
-        linker_flags=-v
29620
 
-        verstring=
29621
 
-        output_objdir=.
29622
 
-        libname=conftest
29623
 
-        lt_save_allow_undefined_flag=$allow_undefined_flag
29624
 
-        allow_undefined_flag=
29625
 
-        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
29626
 
-  (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
29627
 
-  ac_status=$?
29628
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29629
 
-  (exit $ac_status); }
29630
 
-        then
29631
 
-         archive_cmds_need_lc=no
29632
 
-        else
29633
 
-         archive_cmds_need_lc=yes
29634
 
-        fi
29635
 
-        allow_undefined_flag=$lt_save_allow_undefined_flag
29636
 
-      else
29637
 
-        cat conftest.err 1>&5
29638
 
-      fi
29639
 
-      $rm conftest*
29640
 
-      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
29641
 
-$as_echo "$archive_cmds_need_lc" >&6; }
29642
 
-      ;;
29643
 
-    esac
29644
 
-  fi
29645
 
-  ;;
29646
 
-esac
29647
 
 
29648
 
-{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
29649
 
-$as_echo_n "checking dynamic linker characteristics... " >&6; }
29650
 
-library_names_spec=
29651
 
-libname_spec='lib$name'
29652
 
-soname_spec=
29653
 
-shrext_cmds=".so"
29654
 
-postinstall_cmds=
29655
 
-postuninstall_cmds=
29656
 
-finish_cmds=
29657
 
-finish_eval=
29658
 
-shlibpath_var=
29659
 
-shlibpath_overrides_runpath=unknown
29660
 
-version_type=none
29661
 
-dynamic_linker="$host_os ld.so"
29662
 
-sys_lib_dlsearch_path_spec="/lib /usr/lib"
29663
 
 
29664
 
-if test "$GCC" = yes; then
29665
 
-  case $host_os in
29666
 
-    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
29667
 
-    *) lt_awk_arg="/^libraries:/" ;;
29668
 
-  esac
29669
 
-  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
29670
 
-  if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
29671
 
-    # if the path contains ";" then we assume it to be the separator
29672
 
-    # otherwise default to the standard path separator (i.e. ":") - it is
29673
 
-    # assumed that no part of a normal pathname contains ";" but that should
29674
 
-    # okay in the real world where ";" in dirpaths is itself problematic.
29675
 
-    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
29676
 
-  else
29677
 
-    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
29678
 
-  fi
29679
 
-  # Ok, now we have the path, separated by spaces, we can step through it
29680
 
-  # and add multilib dir if necessary.
29681
 
-  lt_tmp_lt_search_path_spec=
29682
 
-  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
29683
 
-  for lt_sys_path in $lt_search_path_spec; do
29684
 
-    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
29685
 
-      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
29686
 
-    else
29687
 
-      test -d "$lt_sys_path" && \
29688
 
-       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
29689
 
-    fi
29690
 
-  done
29691
 
-  lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
29692
 
-BEGIN {RS=" "; FS="/|\n";} {
29693
 
-  lt_foo="";
29694
 
-  lt_count=0;
29695
 
-  for (lt_i = NF; lt_i > 0; lt_i--) {
29696
 
-    if ($lt_i != "" && $lt_i != ".") {
29697
 
-      if ($lt_i == "..") {
29698
 
-        lt_count++;
29699
 
-      } else {
29700
 
-        if (lt_count == 0) {
29701
 
-          lt_foo="/" $lt_i lt_foo;
29702
 
-        } else {
29703
 
-          lt_count--;
29704
 
-        }
29705
 
-      }
29706
 
-    }
29707
 
-  }
29708
 
-  if (lt_foo != "") { lt_freq[lt_foo]++; }
29709
 
-  if (lt_freq[lt_foo] == 1) { print lt_foo; }
29710
 
-}'`
29711
 
-  sys_lib_search_path_spec=`echo $lt_search_path_spec`
29712
 
+
29713
 
+
29714
 
+
29715
 
+
29716
 
+
29717
 
+# Check whether --with-pic was given.
29718
 
+if test "${with_pic+set}" = set; then :
29719
 
+  withval=$with_pic; pic_mode="$withval"
29720
 
 else
29721
 
-  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
29722
 
+  pic_mode=default
29723
 
 fi
29724
 
-need_lib_prefix=unknown
29725
 
-hardcode_into_libs=no
29726
 
 
29727
 
-# when you set need_version to no, make sure it does not cause -set_version
29728
 
-# flags to be left without arguments
29729
 
-need_version=unknown
29730
 
 
29731
 
-case $host_os in
29732
 
-aix3*)
29733
 
-  version_type=linux
29734
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
29735
 
-  shlibpath_var=LIBPATH
29736
 
+test -z "$pic_mode" && pic_mode=default
29737
 
 
29738
 
-  # AIX 3 has no versioning support, so we append a major version to the name.
29739
 
-  soname_spec='${libname}${release}${shared_ext}$major'
29740
 
-  ;;
29741
 
 
29742
 
-aix[4-9]*)
29743
 
-  version_type=linux
29744
 
-  need_lib_prefix=no
29745
 
-  need_version=no
29746
 
-  hardcode_into_libs=yes
29747
 
-  if test "$host_cpu" = ia64; then
29748
 
-    # AIX 5 supports IA64
29749
 
-    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
29750
 
-    shlibpath_var=LD_LIBRARY_PATH
29751
 
-  else
29752
 
-    # With GCC up to 2.95.x, collect2 would create an import file
29753
 
-    # for dependence libraries.  The import file would start with
29754
 
-    # the line `#! .'.  This would cause the generated library to
29755
 
-    # depend on `.', always an invalid library.  This was fixed in
29756
 
-    # development snapshots of GCC prior to 3.0.
29757
 
-    case $host_os in
29758
 
-      aix4 | aix4.[01] | aix4.[01].*)
29759
 
-      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
29760
 
-          echo ' yes '
29761
 
-          echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
29762
 
-       :
29763
 
-      else
29764
 
-       can_build_shared=no
29765
 
-      fi
29766
 
+
29767
 
+
29768
 
+
29769
 
+
29770
 
+
29771
 
+  # Check whether --enable-fast-install was given.
29772
 
+if test "${enable_fast_install+set}" = set; then :
29773
 
+  enableval=$enable_fast_install; p=${PACKAGE-default}
29774
 
+    case $enableval in
29775
 
+    yes) enable_fast_install=yes ;;
29776
 
+    no) enable_fast_install=no ;;
29777
 
+    *)
29778
 
+      enable_fast_install=no
29779
 
+      # Look at the argument we got.  We use all the common list separators.
29780
 
+      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
29781
 
+      for pkg in $enableval; do
29782
 
+       IFS="$lt_save_ifs"
29783
 
+       if test "X$pkg" = "X$p"; then
29784
 
+         enable_fast_install=yes
29785
 
+       fi
29786
 
+      done
29787
 
+      IFS="$lt_save_ifs"
29788
 
       ;;
29789
 
     esac
29790
 
-    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
29791
 
-    # soname into executable. Probably we can add versioning support to
29792
 
-    # collect2, so additional links can be useful in future.
29793
 
-    if test "$aix_use_runtimelinking" = yes; then
29794
 
-      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
29795
 
-      # instead of lib<name>.a to let people know that these are not
29796
 
-      # typical AIX shared libraries.
29797
 
-      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
29798
 
-    else
29799
 
-      # We preserve .a as extension for shared libraries through AIX4.2
29800
 
-      # and later when we are not doing run time linking.
29801
 
-      library_names_spec='${libname}${release}.a $libname.a'
29802
 
-      soname_spec='${libname}${release}${shared_ext}$major'
29803
 
-    fi
29804
 
-    shlibpath_var=LIBPATH
29805
 
-  fi
29806
 
-  ;;
29807
 
+else
29808
 
+  enable_fast_install=yes
29809
 
+fi
29810
 
 
29811
 
-amigaos*)
29812
 
-  library_names_spec='$libname.ixlibrary $libname.a'
29813
 
-  # Create ${libname}_ixlibrary.a entries in /sys/libs.
29814
 
-  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'
29815
 
-  ;;
29816
 
 
29817
 
-beos*)
29818
 
-  library_names_spec='${libname}${shared_ext}'
29819
 
-  dynamic_linker="$host_os ld.so"
29820
 
-  shlibpath_var=LIBRARY_PATH
29821
 
-  ;;
29822
 
 
29823
 
-bsdi[45]*)
29824
 
-  version_type=linux
29825
 
-  need_version=no
29826
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
29827
 
-  soname_spec='${libname}${release}${shared_ext}$major'
29828
 
-  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
29829
 
-  shlibpath_var=LD_LIBRARY_PATH
29830
 
-  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
29831
 
-  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
29832
 
-  # the default ld.so.conf also contains /usr/contrib/lib and
29833
 
-  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
29834
 
-  # libtool to hard-code these into programs
29835
 
-  ;;
29836
 
 
29837
 
-cygwin* | mingw* | pw32*)
29838
 
-  version_type=windows
29839
 
-  shrext_cmds=".dll"
29840
 
-  need_version=no
29841
 
-  need_lib_prefix=no
29842
 
 
29843
 
-  case $GCC,$host_os in
29844
 
-  yes,cygwin* | yes,mingw* | yes,pw32*)
29845
 
-    library_names_spec='$libname.dll.a'
29846
 
-    # DLL is installed to $(libdir)/../bin by postinstall_cmds
29847
 
-    postinstall_cmds='base_file=`basename \${file}`~
29848
 
-      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
29849
 
-      dldir=$destdir/`dirname \$dlpath`~
29850
 
-      test -d \$dldir || mkdir -p \$dldir~
29851
 
-      $install_prog $dir/$dlname \$dldir/$dlname~
29852
 
-      chmod a+x \$dldir/$dlname'
29853
 
-    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
29854
 
-      dlpath=$dir/\$dldll~
29855
 
-       $rm \$dlpath'
29856
 
-    shlibpath_overrides_runpath=yes
29857
 
 
29858
 
-    case $host_os in
29859
 
-    cygwin*)
29860
 
-      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
29861
 
-      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
29862
 
-      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
29863
 
-      ;;
29864
 
-    mingw*)
29865
 
-      # MinGW DLLs use traditional 'lib' prefix
29866
 
-      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
29867
 
-      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
29868
 
-      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
29869
 
-        # It is most probably a Windows format PATH printed by
29870
 
-        # mingw gcc, but we are running on Cygwin. Gcc prints its search
29871
 
-        # path with ; separators, and with drive letters. We can handle the
29872
 
-        # drive letters (cygwin fileutils understands them), so leave them,
29873
 
-        # especially as we might pass files found there to a mingw objdump,
29874
 
-        # which wouldn't understand a cygwinified path. Ahh.
29875
 
-        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
29876
 
-      else
29877
 
-        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
29878
 
-      fi
29879
 
-      ;;
29880
 
-    pw32*)
29881
 
-      # pw32 DLLs use 'pw' prefix rather than 'lib'
29882
 
-      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
29883
 
-      ;;
29884
 
-    esac
29885
 
-    ;;
29886
 
 
29887
 
-  *)
29888
 
-    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
29889
 
-    ;;
29890
 
-  esac
29891
 
-  dynamic_linker='Win32 ld.exe'
29892
 
-  # FIXME: first we should search . and the directory the executable is in
29893
 
-  shlibpath_var=PATH
29894
 
-  ;;
29895
 
 
29896
 
-darwin* | rhapsody*)
29897
 
-  dynamic_linker="$host_os dyld"
29898
 
-  version_type=darwin
29899
 
-  need_lib_prefix=no
29900
 
-  need_version=no
29901
 
-  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
29902
 
-  soname_spec='${libname}${release}${major}$shared_ext'
29903
 
-  shlibpath_overrides_runpath=yes
29904
 
-  shlibpath_var=DYLD_LIBRARY_PATH
29905
 
-  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
29906
 
 
29907
 
-  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
29908
 
-  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
29909
 
-  ;;
29910
 
 
29911
 
-dgux*)
29912
 
-  version_type=linux
29913
 
-  need_lib_prefix=no
29914
 
-  need_version=no
29915
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
29916
 
-  soname_spec='${libname}${release}${shared_ext}$major'
29917
 
-  shlibpath_var=LD_LIBRARY_PATH
29918
 
-  ;;
29919
 
 
29920
 
-freebsd1*)
29921
 
-  dynamic_linker=no
29922
 
-  ;;
29923
 
+# This can be used to rebuild libtool when needed
29924
 
+LIBTOOL_DEPS="$ltmain"
29925
 
 
29926
 
-freebsd* | dragonfly*)
29927
 
-  # DragonFly does not have aout.  When/if they implement a new
29928
 
-  # versioning mechanism, adjust this.
29929
 
-  if test -x /usr/bin/objformat; then
29930
 
-    objformat=`/usr/bin/objformat`
29931
 
-  else
29932
 
-    case $host_os in
29933
 
-    freebsd[123]*) objformat=aout ;;
29934
 
-    *) objformat=elf ;;
29935
 
-    esac
29936
 
-  fi
29937
 
-  version_type=freebsd-$objformat
29938
 
-  case $version_type in
29939
 
-    freebsd-elf*)
29940
 
-      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
29941
 
-      need_version=no
29942
 
-      need_lib_prefix=no
29943
 
-      ;;
29944
 
-    freebsd-*)
29945
 
-      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
29946
 
-      need_version=yes
29947
 
-      ;;
29948
 
-  esac
29949
 
-  shlibpath_var=LD_LIBRARY_PATH
29950
 
-  case $host_os in
29951
 
-  freebsd2*)
29952
 
-    shlibpath_overrides_runpath=yes
29953
 
-    ;;
29954
 
-  freebsd3.[01]* | freebsdelf3.[01]*)
29955
 
-    shlibpath_overrides_runpath=yes
29956
 
-    hardcode_into_libs=yes
29957
 
-    ;;
29958
 
-  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
29959
 
-  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
29960
 
-    shlibpath_overrides_runpath=no
29961
 
-    hardcode_into_libs=yes
29962
 
-    ;;
29963
 
-  *) # from 4.6 on, and DragonFly
29964
 
-    shlibpath_overrides_runpath=yes
29965
 
-    hardcode_into_libs=yes
29966
 
-    ;;
29967
 
-  esac
29968
 
-  ;;
29969
 
+# Always use our own libtool.
29970
 
+LIBTOOL='$(SHELL) $(top_builddir)/libtool'
29971
 
 
29972
 
-gnu*)
29973
 
-  version_type=linux
29974
 
-  need_lib_prefix=no
29975
 
-  need_version=no
29976
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
29977
 
-  soname_spec='${libname}${release}${shared_ext}$major'
29978
 
-  shlibpath_var=LD_LIBRARY_PATH
29979
 
-  hardcode_into_libs=yes
29980
 
-  ;;
29981
 
 
29982
 
-hpux9* | hpux10* | hpux11*)
29983
 
-  # Give a soname corresponding to the major version so that dld.sl refuses to
29984
 
-  # link against other versions.
29985
 
-  version_type=sunos
29986
 
-  need_lib_prefix=no
29987
 
-  need_version=no
29988
 
-  case $host_cpu in
29989
 
-  ia64*)
29990
 
-    shrext_cmds='.so'
29991
 
-    hardcode_into_libs=yes
29992
 
-    dynamic_linker="$host_os dld.so"
29993
 
-    shlibpath_var=LD_LIBRARY_PATH
29994
 
-    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
29995
 
-    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
29996
 
-    soname_spec='${libname}${release}${shared_ext}$major'
29997
 
-    if test "X$HPUX_IA64_MODE" = X32; then
29998
 
-      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
29999
 
-    else
30000
 
-      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
30001
 
-    fi
30002
 
-    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
30003
 
-    ;;
30004
 
-   hppa*64*)
30005
 
-     shrext_cmds='.sl'
30006
 
-     hardcode_into_libs=yes
30007
 
-     dynamic_linker="$host_os dld.sl"
30008
 
-     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
30009
 
-     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
30010
 
-     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
30011
 
-     soname_spec='${libname}${release}${shared_ext}$major'
30012
 
-     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
30013
 
-     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
30014
 
-     ;;
30015
 
-   *)
30016
 
-    shrext_cmds='.sl'
30017
 
-    dynamic_linker="$host_os dld.sl"
30018
 
-    shlibpath_var=SHLIB_PATH
30019
 
-    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
30020
 
-    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
30021
 
-    soname_spec='${libname}${release}${shared_ext}$major'
30022
 
-    ;;
30023
 
-  esac
30024
 
-  # HP-UX runs *really* slowly unless shared libraries are mode 555.
30025
 
-  postinstall_cmds='chmod 555 $lib'
30026
 
-  ;;
30027
 
 
30028
 
-interix[3-9]*)
30029
 
-  version_type=linux
30030
 
-  need_lib_prefix=no
30031
 
-  need_version=no
30032
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
30033
 
-  soname_spec='${libname}${release}${shared_ext}$major'
30034
 
-  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
30035
 
-  shlibpath_var=LD_LIBRARY_PATH
30036
 
-  shlibpath_overrides_runpath=no
30037
 
-  hardcode_into_libs=yes
30038
 
-  ;;
30039
 
 
30040
 
-irix5* | irix6* | nonstopux*)
30041
 
-  case $host_os in
30042
 
-    nonstopux*) version_type=nonstopux ;;
30043
 
-    *)
30044
 
-       if test "$lt_cv_prog_gnu_ld" = yes; then
30045
 
-               version_type=linux
30046
 
-       else
30047
 
-               version_type=irix
30048
 
-       fi ;;
30049
 
-  esac
30050
 
-  need_lib_prefix=no
30051
 
-  need_version=no
30052
 
-  soname_spec='${libname}${release}${shared_ext}$major'
30053
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
30054
 
-  case $host_os in
30055
 
-  irix5* | nonstopux*)
30056
 
-    libsuff= shlibsuff=
30057
 
-    ;;
30058
 
-  *)
30059
 
-    case $LD in # libtool.m4 will add one of these switches to LD
30060
 
-    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
30061
 
-      libsuff= shlibsuff= libmagic=32-bit;;
30062
 
-    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
30063
 
-      libsuff=32 shlibsuff=N32 libmagic=N32;;
30064
 
-    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
30065
 
-      libsuff=64 shlibsuff=64 libmagic=64-bit;;
30066
 
-    *) libsuff= shlibsuff= libmagic=never-match;;
30067
 
-    esac
30068
 
-    ;;
30069
 
-  esac
30070
 
-  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
30071
 
-  shlibpath_overrides_runpath=no
30072
 
-  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
30073
 
-  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
30074
 
-  hardcode_into_libs=yes
30075
 
-  ;;
30076
 
 
30077
 
-# No shared lib support for Linux oldld, aout, or coff.
30078
 
-linux*oldld* | linux*aout* | linux*coff*)
30079
 
-  dynamic_linker=no
30080
 
-  ;;
30081
 
 
30082
 
-# This must be Linux ELF.
30083
 
-linux* | k*bsd*-gnu)
30084
 
-  version_type=linux
30085
 
-  need_lib_prefix=no
30086
 
-  need_version=no
30087
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
30088
 
-  soname_spec='${libname}${release}${shared_ext}$major'
30089
 
-  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
30090
 
-  shlibpath_var=LD_LIBRARY_PATH
30091
 
-  shlibpath_overrides_runpath=no
30092
 
-  # This implies no fast_install, which is unacceptable.
30093
 
-  # Some rework will be needed to allow for fast_install
30094
 
-  # before this can be enabled.
30095
 
-  hardcode_into_libs=yes
30096
 
-  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
30097
 
-  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
30098
 
 
30099
 
-  # Append ld.so.conf contents to the search path
30100
 
-  if test -f /etc/ld.so.conf; then
30101
 
-    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' ' '`
30102
 
-    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
30103
 
-  fi
30104
 
 
30105
 
-  # We used to test for /lib/ld.so.1 and disable shared libraries on
30106
 
-  # powerpc, because MkLinux only supported shared libraries with the
30107
 
-  # GNU dynamic linker.  Since this was broken with cross compilers,
30108
 
-  # most powerpc-linux boxes support dynamic linking these days and
30109
 
-  # people can always --disable-shared, the test was removed, and we
30110
 
-  # assume the GNU/Linux dynamic linker is in use.
30111
 
-  dynamic_linker='GNU/Linux ld.so'
30112
 
-  ;;
30113
 
 
30114
 
-netbsd*)
30115
 
-  version_type=sunos
30116
 
-  need_lib_prefix=no
30117
 
-  need_version=no
30118
 
-  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
30119
 
-    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
30120
 
-    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
30121
 
-    dynamic_linker='NetBSD (a.out) ld.so'
30122
 
-  else
30123
 
-    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
30124
 
-    soname_spec='${libname}${release}${shared_ext}$major'
30125
 
-    dynamic_linker='NetBSD ld.elf_so'
30126
 
-  fi
30127
 
-  shlibpath_var=LD_LIBRARY_PATH
30128
 
-  shlibpath_overrides_runpath=yes
30129
 
-  hardcode_into_libs=yes
30130
 
-  ;;
30131
 
 
30132
 
-newsos6)
30133
 
-  version_type=linux
30134
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
30135
 
-  shlibpath_var=LD_LIBRARY_PATH
30136
 
-  shlibpath_overrides_runpath=yes
30137
 
-  ;;
30138
 
 
30139
 
-nto-qnx*)
30140
 
-  version_type=linux
30141
 
-  need_lib_prefix=no
30142
 
-  need_version=no
30143
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
30144
 
-  soname_spec='${libname}${release}${shared_ext}$major'
30145
 
-  shlibpath_var=LD_LIBRARY_PATH
30146
 
-  shlibpath_overrides_runpath=yes
30147
 
-  ;;
30148
 
 
30149
 
-openbsd*)
30150
 
-  version_type=sunos
30151
 
-  sys_lib_dlsearch_path_spec="/usr/lib"
30152
 
-  need_lib_prefix=no
30153
 
-  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
30154
 
-  case $host_os in
30155
 
-    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
30156
 
-    *)                         need_version=no  ;;
30157
 
-  esac
30158
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
30159
 
-  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
30160
 
-  shlibpath_var=LD_LIBRARY_PATH
30161
 
-  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
30162
 
-    case $host_os in
30163
 
-      openbsd2.[89] | openbsd2.[89].*)
30164
 
-       shlibpath_overrides_runpath=no
30165
 
-       ;;
30166
 
-      *)
30167
 
-       shlibpath_overrides_runpath=yes
30168
 
-       ;;
30169
 
-      esac
30170
 
-  else
30171
 
-    shlibpath_overrides_runpath=yes
30172
 
-  fi
30173
 
-  ;;
30174
 
 
30175
 
-os2*)
30176
 
-  libname_spec='$name'
30177
 
-  shrext_cmds=".dll"
30178
 
-  need_lib_prefix=no
30179
 
-  library_names_spec='$libname${shared_ext} $libname.a'
30180
 
-  dynamic_linker='OS/2 ld.exe'
30181
 
-  shlibpath_var=LIBPATH
30182
 
-  ;;
30183
 
 
30184
 
-osf3* | osf4* | osf5*)
30185
 
-  version_type=osf
30186
 
-  need_lib_prefix=no
30187
 
-  need_version=no
30188
 
-  soname_spec='${libname}${release}${shared_ext}$major'
30189
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
30190
 
-  shlibpath_var=LD_LIBRARY_PATH
30191
 
-  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
30192
 
-  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
30193
 
-  ;;
30194
 
 
30195
 
-rdos*)
30196
 
-  dynamic_linker=no
30197
 
-  ;;
30198
 
 
30199
 
-solaris*)
30200
 
-  version_type=linux
30201
 
-  need_lib_prefix=no
30202
 
-  need_version=no
30203
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
30204
 
-  soname_spec='${libname}${release}${shared_ext}$major'
30205
 
-  shlibpath_var=LD_LIBRARY_PATH
30206
 
-  shlibpath_overrides_runpath=yes
30207
 
-  hardcode_into_libs=yes
30208
 
-  # ldd complains unless libraries are executable
30209
 
-  postinstall_cmds='chmod +x $lib'
30210
 
-  ;;
30211
 
 
30212
 
-sunos4*)
30213
 
-  version_type=sunos
30214
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
30215
 
-  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
30216
 
-  shlibpath_var=LD_LIBRARY_PATH
30217
 
-  shlibpath_overrides_runpath=yes
30218
 
-  if test "$with_gnu_ld" = yes; then
30219
 
-    need_lib_prefix=no
30220
 
-  fi
30221
 
-  need_version=yes
30222
 
-  ;;
30223
 
 
30224
 
-sysv4 | sysv4.3*)
30225
 
-  version_type=linux
30226
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
30227
 
-  soname_spec='${libname}${release}${shared_ext}$major'
30228
 
-  shlibpath_var=LD_LIBRARY_PATH
30229
 
-  case $host_vendor in
30230
 
-    sni)
30231
 
-      shlibpath_overrides_runpath=no
30232
 
-      need_lib_prefix=no
30233
 
-      export_dynamic_flag_spec='${wl}-Blargedynsym'
30234
 
-      runpath_var=LD_RUN_PATH
30235
 
-      ;;
30236
 
-    siemens)
30237
 
-      need_lib_prefix=no
30238
 
-      ;;
30239
 
-    motorola)
30240
 
-      need_lib_prefix=no
30241
 
-      need_version=no
30242
 
-      shlibpath_overrides_runpath=no
30243
 
-      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
30244
 
-      ;;
30245
 
-  esac
30246
 
-  ;;
30247
 
 
30248
 
-sysv4*MP*)
30249
 
-  if test -d /usr/nec ;then
30250
 
-    version_type=linux
30251
 
-    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
30252
 
-    soname_spec='$libname${shared_ext}.$major'
30253
 
-    shlibpath_var=LD_LIBRARY_PATH
30254
 
-  fi
30255
 
-  ;;
30256
 
 
30257
 
-sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
30258
 
-  version_type=freebsd-elf
30259
 
-  need_lib_prefix=no
30260
 
-  need_version=no
30261
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
30262
 
-  soname_spec='${libname}${release}${shared_ext}$major'
30263
 
-  shlibpath_var=LD_LIBRARY_PATH
30264
 
-  hardcode_into_libs=yes
30265
 
-  if test "$with_gnu_ld" = yes; then
30266
 
-    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
30267
 
-    shlibpath_overrides_runpath=no
30268
 
-  else
30269
 
-    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
30270
 
-    shlibpath_overrides_runpath=yes
30271
 
-    case $host_os in
30272
 
-      sco3.2v5*)
30273
 
-        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
30274
 
-       ;;
30275
 
-    esac
30276
 
-  fi
30277
 
-  sys_lib_dlsearch_path_spec='/usr/lib'
30278
 
-  ;;
30279
 
 
30280
 
-uts4*)
30281
 
-  version_type=linux
30282
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
30283
 
-  soname_spec='${libname}${release}${shared_ext}$major'
30284
 
-  shlibpath_var=LD_LIBRARY_PATH
30285
 
-  ;;
30286
 
 
30287
 
-*)
30288
 
-  dynamic_linker=no
30289
 
-  ;;
30290
 
-esac
30291
 
-{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
30292
 
-$as_echo "$dynamic_linker" >&6; }
30293
 
-test "$dynamic_linker" = no && can_build_shared=no
30294
 
 
30295
 
-if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
30296
 
-  $as_echo_n "(cached) " >&6
30297
 
-else
30298
 
-  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
30299
 
-fi
30300
 
 
30301
 
-sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
30302
 
-if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
30303
 
-  $as_echo_n "(cached) " >&6
30304
 
-else
30305
 
-  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
30306
 
-fi
30307
 
 
30308
 
-sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
30309
 
+test -z "$LN_S" && LN_S="ln -s"
30310
 
 
30311
 
-variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
30312
 
-if test "$GCC" = yes; then
30313
 
-  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
30314
 
-fi
30315
 
 
30316
 
-{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
30317
 
-$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
30318
 
-hardcode_action=
30319
 
-if test -n "$hardcode_libdir_flag_spec" || \
30320
 
-   test -n "$runpath_var" || \
30321
 
-   test "X$hardcode_automatic" = "Xyes" ; then
30322
 
 
30323
 
-  # We can hardcode non-existant directories.
30324
 
-  if test "$hardcode_direct" != no &&
30325
 
-     # If the only mechanism to avoid hardcoding is shlibpath_var, we
30326
 
-     # have to relink, otherwise we might link with an installed library
30327
 
-     # when we should be linking with a yet-to-be-installed one
30328
 
-     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
30329
 
-     test "$hardcode_minus_L" != no; then
30330
 
-    # Linking always hardcodes the temporary library directory.
30331
 
-    hardcode_action=relink
30332
 
-  else
30333
 
-    # We can link without hardcoding, and we can hardcode nonexisting dirs.
30334
 
-    hardcode_action=immediate
30335
 
-  fi
30336
 
-else
30337
 
-  # We cannot hardcode anything, or else we can only hardcode existing
30338
 
-  # directories.
30339
 
-  hardcode_action=unsupported
30340
 
-fi
30341
 
-{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
30342
 
-$as_echo "$hardcode_action" >&6; }
30343
 
 
30344
 
-if test "$hardcode_action" = relink; then
30345
 
-  # Fast installation is not supported
30346
 
-  enable_fast_install=no
30347
 
-elif test "$shlibpath_overrides_runpath" = yes ||
30348
 
-     test "$enable_shared" = no; then
30349
 
-  # Fast installation is not necessary
30350
 
-  enable_fast_install=needless
30351
 
+
30352
 
+
30353
 
+
30354
 
+
30355
 
+
30356
 
+
30357
 
+
30358
 
+
30359
 
+
30360
 
+
30361
 
+if test -n "${ZSH_VERSION+set}" ; then
30362
 
+   setopt NO_GLOB_SUBST
30363
 
 fi
30364
 
 
30365
 
-striplib=
30366
 
-old_striplib=
30367
 
-{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
30368
 
-$as_echo_n "checking whether stripping libraries is possible... " >&6; }
30369
 
-if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
30370
 
-  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
30371
 
-  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
30372
 
-  { $as_echo "$as_me:$LINENO: result: yes" >&5
30373
 
-$as_echo "yes" >&6; }
30374
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
30375
 
+$as_echo_n "checking for objdir... " >&6; }
30376
 
+if test "${lt_cv_objdir+set}" = set; then :
30377
 
+  $as_echo_n "(cached) " >&6
30378
 
 else
30379
 
-# FIXME - insert some real tests, host_os isn't really good enough
30380
 
-  case $host_os in
30381
 
-   darwin*)
30382
 
-       if test -n "$STRIP" ; then
30383
 
-         striplib="$STRIP -x"
30384
 
-         old_striplib="$STRIP -S"
30385
 
-         { $as_echo "$as_me:$LINENO: result: yes" >&5
30386
 
-$as_echo "yes" >&6; }
30387
 
-       else
30388
 
-  { $as_echo "$as_me:$LINENO: result: no" >&5
30389
 
-$as_echo "no" >&6; }
30390
 
+  rm -f .libs 2>/dev/null
30391
 
+mkdir .libs 2>/dev/null
30392
 
+if test -d .libs; then
30393
 
+  lt_cv_objdir=.libs
30394
 
+else
30395
 
+  # MS-DOS does not allow filenames that begin with a dot.
30396
 
+  lt_cv_objdir=_libs
30397
 
 fi
30398
 
-       ;;
30399
 
-   *)
30400
 
-  { $as_echo "$as_me:$LINENO: result: no" >&5
30401
 
-$as_echo "no" >&6; }
30402
 
-    ;;
30403
 
-  esac
30404
 
+rmdir .libs 2>/dev/null
30405
 
 fi
30406
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
30407
 
+$as_echo "$lt_cv_objdir" >&6; }
30408
 
+objdir=$lt_cv_objdir
30409
 
 
30410
 
-if test "x$enable_dlopen" != xyes; then
30411
 
-  enable_dlopen=unknown
30412
 
-  enable_dlopen_self=unknown
30413
 
-  enable_dlopen_self_static=unknown
30414
 
-else
30415
 
-  lt_cv_dlopen=no
30416
 
-  lt_cv_dlopen_libs=
30417
 
 
30418
 
-  case $host_os in
30419
 
-  beos*)
30420
 
-    lt_cv_dlopen="load_add_on"
30421
 
-    lt_cv_dlopen_libs=
30422
 
-    lt_cv_dlopen_self=yes
30423
 
-    ;;
30424
 
 
30425
 
-  mingw* | pw32*)
30426
 
-    lt_cv_dlopen="LoadLibrary"
30427
 
-    lt_cv_dlopen_libs=
30428
 
-   ;;
30429
 
 
30430
 
-  cygwin*)
30431
 
-    lt_cv_dlopen="dlopen"
30432
 
-    lt_cv_dlopen_libs=
30433
 
-   ;;
30434
 
 
30435
 
-  darwin*)
30436
 
-  # if libdl is installed we need to link against it
30437
 
-    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
30438
 
-$as_echo_n "checking for dlopen in -ldl... " >&6; }
30439
 
-if test "${ac_cv_lib_dl_dlopen+set}" = set; then
30440
 
-  $as_echo_n "(cached) " >&6
30441
 
-else
30442
 
-  ac_check_lib_save_LIBS=$LIBS
30443
 
-LIBS="-ldl  $LIBS"
30444
 
-cat >conftest.$ac_ext <<_ACEOF
30445
 
-/* confdefs.h.  */
30446
 
+cat >>confdefs.h <<_ACEOF
30447
 
+#define LT_OBJDIR "$lt_cv_objdir/"
30448
 
 _ACEOF
30449
 
-cat confdefs.h >>conftest.$ac_ext
30450
 
-cat >>conftest.$ac_ext <<_ACEOF
30451
 
-/* end confdefs.h.  */
30452
 
 
30453
 
-/* Override any GCC internal prototype to avoid an error.
30454
 
-   Use char because int might match the return type of a GCC
30455
 
-   builtin and then its argument prototype would still apply.  */
30456
 
-#ifdef __cplusplus
30457
 
-extern "C"
30458
 
-#endif
30459
 
-char dlopen ();
30460
 
-int
30461
 
-main ()
30462
 
-{
30463
 
-return dlopen ();
30464
 
-  ;
30465
 
-  return 0;
30466
 
-}
30467
 
-_ACEOF
30468
 
-rm -f conftest.$ac_objext conftest$ac_exeext
30469
 
-if { (ac_try="$ac_link"
30470
 
-case "(($ac_try" in
30471
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30472
 
-  *) ac_try_echo=$ac_try;;
30473
 
-esac
30474
 
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
30475
 
-$as_echo "$ac_try_echo") >&5
30476
 
-  (eval "$ac_link") 2>conftest.er1
30477
 
-  ac_status=$?
30478
 
-  grep -v '^ *+' conftest.er1 >conftest.err
30479
 
-  rm -f conftest.er1
30480
 
-  cat conftest.err >&5
30481
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30482
 
-  (exit $ac_status); } && {
30483
 
-        test -z "$ac_c_werror_flag" ||
30484
 
-        test ! -s conftest.err
30485
 
-       } && test -s conftest$ac_exeext && {
30486
 
-        test "$cross_compiling" = yes ||
30487
 
-        $as_test_x conftest$ac_exeext
30488
 
-       }; then
30489
 
-  ac_cv_lib_dl_dlopen=yes
30490
 
-else
30491
 
-  $as_echo "$as_me: failed program was:" >&5
30492
 
-sed 's/^/| /' conftest.$ac_ext >&5
30493
 
 
30494
 
-       ac_cv_lib_dl_dlopen=no
30495
 
-fi
30496
 
 
30497
 
-rm -rf conftest.dSYM
30498
 
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30499
 
-      conftest$ac_exeext conftest.$ac_ext
30500
 
-LIBS=$ac_check_lib_save_LIBS
30501
 
-fi
30502
 
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
30503
 
-$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
30504
 
-if test $ac_cv_lib_dl_dlopen = yes; then
30505
 
-  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
30506
 
-else
30507
 
 
30508
 
-    lt_cv_dlopen="dyld"
30509
 
-    lt_cv_dlopen_libs=
30510
 
-    lt_cv_dlopen_self=yes
30511
 
 
30512
 
-fi
30513
 
 
30514
 
-   ;;
30515
 
 
30516
 
-  *)
30517
 
-    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
30518
 
-$as_echo_n "checking for shl_load... " >&6; }
30519
 
-if test "${ac_cv_func_shl_load+set}" = set; then
30520
 
-  $as_echo_n "(cached) " >&6
30521
 
-else
30522
 
-  cat >conftest.$ac_ext <<_ACEOF
30523
 
-/* confdefs.h.  */
30524
 
-_ACEOF
30525
 
-cat confdefs.h >>conftest.$ac_ext
30526
 
-cat >>conftest.$ac_ext <<_ACEOF
30527
 
-/* end confdefs.h.  */
30528
 
-/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
30529
 
-   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30530
 
-#define shl_load innocuous_shl_load
30531
 
 
30532
 
-/* System header to define __stub macros and hopefully few prototypes,
30533
 
-    which can conflict with char shl_load (); below.
30534
 
-    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30535
 
-    <limits.h> exists even on freestanding compilers.  */
30536
 
 
30537
 
-#ifdef __STDC__
30538
 
-# include <limits.h>
30539
 
-#else
30540
 
-# include <assert.h>
30541
 
-#endif
30542
 
 
30543
 
-#undef shl_load
30544
 
 
30545
 
-/* Override any GCC internal prototype to avoid an error.
30546
 
-   Use char because int might match the return type of a GCC
30547
 
-   builtin and then its argument prototype would still apply.  */
30548
 
-#ifdef __cplusplus
30549
 
-extern "C"
30550
 
-#endif
30551
 
-char shl_load ();
30552
 
-/* The GNU C library defines this for functions which it implements
30553
 
-    to always fail with ENOSYS.  Some functions are actually named
30554
 
-    something starting with __ and the normal name is an alias.  */
30555
 
-#if defined __stub_shl_load || defined __stub___shl_load
30556
 
-choke me
30557
 
-#endif
30558
 
 
30559
 
-int
30560
 
-main ()
30561
 
-{
30562
 
-return shl_load ();
30563
 
-  ;
30564
 
-  return 0;
30565
 
-}
30566
 
-_ACEOF
30567
 
-rm -f conftest.$ac_objext conftest$ac_exeext
30568
 
-if { (ac_try="$ac_link"
30569
 
-case "(($ac_try" in
30570
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30571
 
-  *) ac_try_echo=$ac_try;;
30572
 
-esac
30573
 
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
30574
 
-$as_echo "$ac_try_echo") >&5
30575
 
-  (eval "$ac_link") 2>conftest.er1
30576
 
-  ac_status=$?
30577
 
-  grep -v '^ *+' conftest.er1 >conftest.err
30578
 
-  rm -f conftest.er1
30579
 
-  cat conftest.err >&5
30580
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30581
 
-  (exit $ac_status); } && {
30582
 
-        test -z "$ac_c_werror_flag" ||
30583
 
-        test ! -s conftest.err
30584
 
-       } && test -s conftest$ac_exeext && {
30585
 
-        test "$cross_compiling" = yes ||
30586
 
-        $as_test_x conftest$ac_exeext
30587
 
-       }; then
30588
 
-  ac_cv_func_shl_load=yes
30589
 
-else
30590
 
-  $as_echo "$as_me: failed program was:" >&5
30591
 
-sed 's/^/| /' conftest.$ac_ext >&5
30592
 
 
30593
 
-       ac_cv_func_shl_load=no
30594
 
-fi
30595
 
 
30596
 
-rm -rf conftest.dSYM
30597
 
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30598
 
-      conftest$ac_exeext conftest.$ac_ext
30599
 
-fi
30600
 
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
30601
 
-$as_echo "$ac_cv_func_shl_load" >&6; }
30602
 
-if test $ac_cv_func_shl_load = yes; then
30603
 
-  lt_cv_dlopen="shl_load"
30604
 
-else
30605
 
-  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
30606
 
-$as_echo_n "checking for shl_load in -ldld... " >&6; }
30607
 
-if test "${ac_cv_lib_dld_shl_load+set}" = set; then
30608
 
-  $as_echo_n "(cached) " >&6
30609
 
-else
30610
 
-  ac_check_lib_save_LIBS=$LIBS
30611
 
-LIBS="-ldld  $LIBS"
30612
 
-cat >conftest.$ac_ext <<_ACEOF
30613
 
-/* confdefs.h.  */
30614
 
-_ACEOF
30615
 
-cat confdefs.h >>conftest.$ac_ext
30616
 
-cat >>conftest.$ac_ext <<_ACEOF
30617
 
-/* end confdefs.h.  */
30618
 
 
30619
 
-/* Override any GCC internal prototype to avoid an error.
30620
 
-   Use char because int might match the return type of a GCC
30621
 
-   builtin and then its argument prototype would still apply.  */
30622
 
-#ifdef __cplusplus
30623
 
-extern "C"
30624
 
-#endif
30625
 
-char shl_load ();
30626
 
-int
30627
 
-main ()
30628
 
-{
30629
 
-return shl_load ();
30630
 
-  ;
30631
 
-  return 0;
30632
 
-}
30633
 
-_ACEOF
30634
 
-rm -f conftest.$ac_objext conftest$ac_exeext
30635
 
-if { (ac_try="$ac_link"
30636
 
-case "(($ac_try" in
30637
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30638
 
-  *) ac_try_echo=$ac_try;;
30639
 
+
30640
 
+
30641
 
+case $host_os in
30642
 
+aix3*)
30643
 
+  # AIX sometimes has problems with the GCC collect2 program.  For some
30644
 
+  # reason, if we set the COLLECT_NAMES environment variable, the problems
30645
 
+  # vanish in a puff of smoke.
30646
 
+  if test "X${COLLECT_NAMES+set}" != Xset; then
30647
 
+    COLLECT_NAMES=
30648
 
+    export COLLECT_NAMES
30649
 
+  fi
30650
 
+  ;;
30651
 
 esac
30652
 
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
30653
 
-$as_echo "$ac_try_echo") >&5
30654
 
-  (eval "$ac_link") 2>conftest.er1
30655
 
-  ac_status=$?
30656
 
-  grep -v '^ *+' conftest.er1 >conftest.err
30657
 
-  rm -f conftest.er1
30658
 
-  cat conftest.err >&5
30659
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30660
 
-  (exit $ac_status); } && {
30661
 
-        test -z "$ac_c_werror_flag" ||
30662
 
-        test ! -s conftest.err
30663
 
-       } && test -s conftest$ac_exeext && {
30664
 
-        test "$cross_compiling" = yes ||
30665
 
-        $as_test_x conftest$ac_exeext
30666
 
-       }; then
30667
 
-  ac_cv_lib_dld_shl_load=yes
30668
 
-else
30669
 
-  $as_echo "$as_me: failed program was:" >&5
30670
 
-sed 's/^/| /' conftest.$ac_ext >&5
30671
 
 
30672
 
-       ac_cv_lib_dld_shl_load=no
30673
 
-fi
30674
 
+# Sed substitution that helps us do robust quoting.  It backslashifies
30675
 
+# metacharacters that are still active within double-quoted strings.
30676
 
+sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
30677
 
 
30678
 
-rm -rf conftest.dSYM
30679
 
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30680
 
-      conftest$ac_exeext conftest.$ac_ext
30681
 
-LIBS=$ac_check_lib_save_LIBS
30682
 
-fi
30683
 
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
30684
 
-$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
30685
 
-if test $ac_cv_lib_dld_shl_load = yes; then
30686
 
-  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
30687
 
-else
30688
 
-  { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
30689
 
-$as_echo_n "checking for dlopen... " >&6; }
30690
 
-if test "${ac_cv_func_dlopen+set}" = set; then
30691
 
-  $as_echo_n "(cached) " >&6
30692
 
-else
30693
 
-  cat >conftest.$ac_ext <<_ACEOF
30694
 
-/* confdefs.h.  */
30695
 
-_ACEOF
30696
 
-cat confdefs.h >>conftest.$ac_ext
30697
 
-cat >>conftest.$ac_ext <<_ACEOF
30698
 
-/* end confdefs.h.  */
30699
 
-/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
30700
 
-   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30701
 
-#define dlopen innocuous_dlopen
30702
 
+# Same as above, but do not quote variable references.
30703
 
+double_quote_subst='s/\(["`\\]\)/\\\1/g'
30704
 
 
30705
 
-/* System header to define __stub macros and hopefully few prototypes,
30706
 
-    which can conflict with char dlopen (); below.
30707
 
-    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30708
 
-    <limits.h> exists even on freestanding compilers.  */
30709
 
+# Sed substitution to delay expansion of an escaped shell variable in a
30710
 
+# double_quote_subst'ed string.
30711
 
+delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
30712
 
 
30713
 
-#ifdef __STDC__
30714
 
-# include <limits.h>
30715
 
-#else
30716
 
-# include <assert.h>
30717
 
-#endif
30718
 
+# Sed substitution to delay expansion of an escaped single quote.
30719
 
+delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
30720
 
 
30721
 
-#undef dlopen
30722
 
+# Sed substitution to avoid accidental globbing in evaled expressions
30723
 
+no_glob_subst='s/\*/\\\*/g'
30724
 
 
30725
 
-/* Override any GCC internal prototype to avoid an error.
30726
 
-   Use char because int might match the return type of a GCC
30727
 
-   builtin and then its argument prototype would still apply.  */
30728
 
-#ifdef __cplusplus
30729
 
-extern "C"
30730
 
-#endif
30731
 
-char dlopen ();
30732
 
-/* The GNU C library defines this for functions which it implements
30733
 
-    to always fail with ENOSYS.  Some functions are actually named
30734
 
-    something starting with __ and the normal name is an alias.  */
30735
 
-#if defined __stub_dlopen || defined __stub___dlopen
30736
 
-choke me
30737
 
-#endif
30738
 
+# Global variables:
30739
 
+ofile=libtool
30740
 
+can_build_shared=yes
30741
 
 
30742
 
-int
30743
 
-main ()
30744
 
-{
30745
 
-return dlopen ();
30746
 
-  ;
30747
 
-  return 0;
30748
 
-}
30749
 
-_ACEOF
30750
 
-rm -f conftest.$ac_objext conftest$ac_exeext
30751
 
-if { (ac_try="$ac_link"
30752
 
-case "(($ac_try" in
30753
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30754
 
-  *) ac_try_echo=$ac_try;;
30755
 
-esac
30756
 
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
30757
 
-$as_echo "$ac_try_echo") >&5
30758
 
-  (eval "$ac_link") 2>conftest.er1
30759
 
-  ac_status=$?
30760
 
-  grep -v '^ *+' conftest.er1 >conftest.err
30761
 
-  rm -f conftest.er1
30762
 
-  cat conftest.err >&5
30763
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30764
 
-  (exit $ac_status); } && {
30765
 
-        test -z "$ac_c_werror_flag" ||
30766
 
-        test ! -s conftest.err
30767
 
-       } && test -s conftest$ac_exeext && {
30768
 
-        test "$cross_compiling" = yes ||
30769
 
-        $as_test_x conftest$ac_exeext
30770
 
-       }; then
30771
 
-  ac_cv_func_dlopen=yes
30772
 
-else
30773
 
-  $as_echo "$as_me: failed program was:" >&5
30774
 
-sed 's/^/| /' conftest.$ac_ext >&5
30775
 
+# All known linkers require a `.a' archive for static linking (except MSVC,
30776
 
+# which needs '.lib').
30777
 
+libext=a
30778
 
 
30779
 
-       ac_cv_func_dlopen=no
30780
 
-fi
30781
 
+with_gnu_ld="$lt_cv_prog_gnu_ld"
30782
 
 
30783
 
-rm -rf conftest.dSYM
30784
 
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30785
 
-      conftest$ac_exeext conftest.$ac_ext
30786
 
-fi
30787
 
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
30788
 
-$as_echo "$ac_cv_func_dlopen" >&6; }
30789
 
-if test $ac_cv_func_dlopen = yes; then
30790
 
-  lt_cv_dlopen="dlopen"
30791
 
-else
30792
 
-  { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
30793
 
-$as_echo_n "checking for dlopen in -ldl... " >&6; }
30794
 
-if test "${ac_cv_lib_dl_dlopen+set}" = set; then
30795
 
+old_CC="$CC"
30796
 
+old_CFLAGS="$CFLAGS"
30797
 
+
30798
 
+# Set sane defaults for various variables
30799
 
+test -z "$CC" && CC=cc
30800
 
+test -z "$LTCC" && LTCC=$CC
30801
 
+test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
30802
 
+test -z "$LD" && LD=ld
30803
 
+test -z "$ac_objext" && ac_objext=o
30804
 
+
30805
 
+for cc_temp in $compiler""; do
30806
 
+  case $cc_temp in
30807
 
+    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
30808
 
+    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
30809
 
+    \-*) ;;
30810
 
+    *) break;;
30811
 
+  esac
30812
 
+done
30813
 
+cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
30814
 
+
30815
 
+
30816
 
+# Only perform the check for file, if the check method requires it
30817
 
+test -z "$MAGIC_CMD" && MAGIC_CMD=file
30818
 
+case $deplibs_check_method in
30819
 
+file_magic*)
30820
 
+  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
30821
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
30822
 
+$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
30823
 
+if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
30824
 
   $as_echo_n "(cached) " >&6
30825
 
 else
30826
 
-  ac_check_lib_save_LIBS=$LIBS
30827
 
-LIBS="-ldl  $LIBS"
30828
 
-cat >conftest.$ac_ext <<_ACEOF
30829
 
-/* confdefs.h.  */
30830
 
-_ACEOF
30831
 
-cat confdefs.h >>conftest.$ac_ext
30832
 
-cat >>conftest.$ac_ext <<_ACEOF
30833
 
-/* end confdefs.h.  */
30834
 
+  case $MAGIC_CMD in
30835
 
+[\\/*] |  ?:[\\/]*)
30836
 
+  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
30837
 
+  ;;
30838
 
+*)
30839
 
+  lt_save_MAGIC_CMD="$MAGIC_CMD"
30840
 
+  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
30841
 
+  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
30842
 
+  for ac_dir in $ac_dummy; do
30843
 
+    IFS="$lt_save_ifs"
30844
 
+    test -z "$ac_dir" && ac_dir=.
30845
 
+    if test -f $ac_dir/${ac_tool_prefix}file; then
30846
 
+      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
30847
 
+      if test -n "$file_magic_test_file"; then
30848
 
+       case $deplibs_check_method in
30849
 
+       "file_magic "*)
30850
 
+         file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
30851
 
+         MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
30852
 
+         if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
30853
 
+           $EGREP "$file_magic_regex" > /dev/null; then
30854
 
+           :
30855
 
+         else
30856
 
+           cat <<_LT_EOF 1>&2
30857
 
 
30858
 
-/* Override any GCC internal prototype to avoid an error.
30859
 
-   Use char because int might match the return type of a GCC
30860
 
-   builtin and then its argument prototype would still apply.  */
30861
 
-#ifdef __cplusplus
30862
 
-extern "C"
30863
 
-#endif
30864
 
-char dlopen ();
30865
 
-int
30866
 
-main ()
30867
 
-{
30868
 
-return dlopen ();
30869
 
-  ;
30870
 
-  return 0;
30871
 
-}
30872
 
-_ACEOF
30873
 
-rm -f conftest.$ac_objext conftest$ac_exeext
30874
 
-if { (ac_try="$ac_link"
30875
 
-case "(($ac_try" in
30876
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30877
 
-  *) ac_try_echo=$ac_try;;
30878
 
-esac
30879
 
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
30880
 
-$as_echo "$ac_try_echo") >&5
30881
 
-  (eval "$ac_link") 2>conftest.er1
30882
 
-  ac_status=$?
30883
 
-  grep -v '^ *+' conftest.er1 >conftest.err
30884
 
-  rm -f conftest.er1
30885
 
-  cat conftest.err >&5
30886
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30887
 
-  (exit $ac_status); } && {
30888
 
-        test -z "$ac_c_werror_flag" ||
30889
 
-        test ! -s conftest.err
30890
 
-       } && test -s conftest$ac_exeext && {
30891
 
-        test "$cross_compiling" = yes ||
30892
 
-        $as_test_x conftest$ac_exeext
30893
 
-       }; then
30894
 
-  ac_cv_lib_dl_dlopen=yes
30895
 
-else
30896
 
-  $as_echo "$as_me: failed program was:" >&5
30897
 
-sed 's/^/| /' conftest.$ac_ext >&5
30898
 
+*** Warning: the command libtool uses to detect shared libraries,
30899
 
+*** $file_magic_cmd, produces output that libtool cannot recognize.
30900
 
+*** The result is that libtool may fail to recognize shared libraries
30901
 
+*** as such.  This will affect the creation of libtool libraries that
30902
 
+*** depend on shared libraries, but programs linked with such libtool
30903
 
+*** libraries will work regardless of this problem.  Nevertheless, you
30904
 
+*** may want to report the problem to your system manager and/or to
30905
 
+*** bug-libtool@gnu.org
30906
 
 
30907
 
-       ac_cv_lib_dl_dlopen=no
30908
 
+_LT_EOF
30909
 
+         fi ;;
30910
 
+       esac
30911
 
+      fi
30912
 
+      break
30913
 
+    fi
30914
 
+  done
30915
 
+  IFS="$lt_save_ifs"
30916
 
+  MAGIC_CMD="$lt_save_MAGIC_CMD"
30917
 
+  ;;
30918
 
+esac
30919
 
 fi
30920
 
 
30921
 
-rm -rf conftest.dSYM
30922
 
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30923
 
-      conftest$ac_exeext conftest.$ac_ext
30924
 
-LIBS=$ac_check_lib_save_LIBS
30925
 
-fi
30926
 
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
30927
 
-$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
30928
 
-if test $ac_cv_lib_dl_dlopen = yes; then
30929
 
-  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
30930
 
+MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
30931
 
+if test -n "$MAGIC_CMD"; then
30932
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
30933
 
+$as_echo "$MAGIC_CMD" >&6; }
30934
 
 else
30935
 
-  { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
30936
 
-$as_echo_n "checking for dlopen in -lsvld... " >&6; }
30937
 
-if test "${ac_cv_lib_svld_dlopen+set}" = set; then
30938
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30939
 
+$as_echo "no" >&6; }
30940
 
+fi
30941
 
+
30942
 
+
30943
 
+
30944
 
+
30945
 
+
30946
 
+if test -z "$lt_cv_path_MAGIC_CMD"; then
30947
 
+  if test -n "$ac_tool_prefix"; then
30948
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
30949
 
+$as_echo_n "checking for file... " >&6; }
30950
 
+if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
30951
 
   $as_echo_n "(cached) " >&6
30952
 
 else
30953
 
-  ac_check_lib_save_LIBS=$LIBS
30954
 
-LIBS="-lsvld  $LIBS"
30955
 
-cat >conftest.$ac_ext <<_ACEOF
30956
 
-/* confdefs.h.  */
30957
 
-_ACEOF
30958
 
-cat confdefs.h >>conftest.$ac_ext
30959
 
-cat >>conftest.$ac_ext <<_ACEOF
30960
 
-/* end confdefs.h.  */
30961
 
-
30962
 
-/* Override any GCC internal prototype to avoid an error.
30963
 
-   Use char because int might match the return type of a GCC
30964
 
-   builtin and then its argument prototype would still apply.  */
30965
 
-#ifdef __cplusplus
30966
 
-extern "C"
30967
 
-#endif
30968
 
-char dlopen ();
30969
 
-int
30970
 
-main ()
30971
 
-{
30972
 
-return dlopen ();
30973
 
-  ;
30974
 
-  return 0;
30975
 
-}
30976
 
-_ACEOF
30977
 
-rm -f conftest.$ac_objext conftest$ac_exeext
30978
 
-if { (ac_try="$ac_link"
30979
 
-case "(($ac_try" in
30980
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30981
 
-  *) ac_try_echo=$ac_try;;
30982
 
-esac
30983
 
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
30984
 
-$as_echo "$ac_try_echo") >&5
30985
 
-  (eval "$ac_link") 2>conftest.er1
30986
 
-  ac_status=$?
30987
 
-  grep -v '^ *+' conftest.er1 >conftest.err
30988
 
-  rm -f conftest.er1
30989
 
-  cat conftest.err >&5
30990
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30991
 
-  (exit $ac_status); } && {
30992
 
-        test -z "$ac_c_werror_flag" ||
30993
 
-        test ! -s conftest.err
30994
 
-       } && test -s conftest$ac_exeext && {
30995
 
-        test "$cross_compiling" = yes ||
30996
 
-        $as_test_x conftest$ac_exeext
30997
 
-       }; then
30998
 
-  ac_cv_lib_svld_dlopen=yes
30999
 
-else
31000
 
-  $as_echo "$as_me: failed program was:" >&5
31001
 
-sed 's/^/| /' conftest.$ac_ext >&5
31002
 
-
31003
 
-       ac_cv_lib_svld_dlopen=no
31004
 
-fi
31005
 
+  case $MAGIC_CMD in
31006
 
+[\\/*] |  ?:[\\/]*)
31007
 
+  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
31008
 
+  ;;
31009
 
+*)
31010
 
+  lt_save_MAGIC_CMD="$MAGIC_CMD"
31011
 
+  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
31012
 
+  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
31013
 
+  for ac_dir in $ac_dummy; do
31014
 
+    IFS="$lt_save_ifs"
31015
 
+    test -z "$ac_dir" && ac_dir=.
31016
 
+    if test -f $ac_dir/file; then
31017
 
+      lt_cv_path_MAGIC_CMD="$ac_dir/file"
31018
 
+      if test -n "$file_magic_test_file"; then
31019
 
+       case $deplibs_check_method in
31020
 
+       "file_magic "*)
31021
 
+         file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
31022
 
+         MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
31023
 
+         if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
31024
 
+           $EGREP "$file_magic_regex" > /dev/null; then
31025
 
+           :
31026
 
+         else
31027
 
+           cat <<_LT_EOF 1>&2
31028
 
 
31029
 
-rm -rf conftest.dSYM
31030
 
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31031
 
-      conftest$ac_exeext conftest.$ac_ext
31032
 
-LIBS=$ac_check_lib_save_LIBS
31033
 
-fi
31034
 
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
31035
 
-$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
31036
 
-if test $ac_cv_lib_svld_dlopen = yes; then
31037
 
-  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
31038
 
-else
31039
 
-  { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
31040
 
-$as_echo_n "checking for dld_link in -ldld... " >&6; }
31041
 
-if test "${ac_cv_lib_dld_dld_link+set}" = set; then
31042
 
-  $as_echo_n "(cached) " >&6
31043
 
-else
31044
 
-  ac_check_lib_save_LIBS=$LIBS
31045
 
-LIBS="-ldld  $LIBS"
31046
 
-cat >conftest.$ac_ext <<_ACEOF
31047
 
-/* confdefs.h.  */
31048
 
-_ACEOF
31049
 
-cat confdefs.h >>conftest.$ac_ext
31050
 
-cat >>conftest.$ac_ext <<_ACEOF
31051
 
-/* end confdefs.h.  */
31052
 
+*** Warning: the command libtool uses to detect shared libraries,
31053
 
+*** $file_magic_cmd, produces output that libtool cannot recognize.
31054
 
+*** The result is that libtool may fail to recognize shared libraries
31055
 
+*** as such.  This will affect the creation of libtool libraries that
31056
 
+*** depend on shared libraries, but programs linked with such libtool
31057
 
+*** libraries will work regardless of this problem.  Nevertheless, you
31058
 
+*** may want to report the problem to your system manager and/or to
31059
 
+*** bug-libtool@gnu.org
31060
 
 
31061
 
-/* Override any GCC internal prototype to avoid an error.
31062
 
-   Use char because int might match the return type of a GCC
31063
 
-   builtin and then its argument prototype would still apply.  */
31064
 
-#ifdef __cplusplus
31065
 
-extern "C"
31066
 
-#endif
31067
 
-char dld_link ();
31068
 
-int
31069
 
-main ()
31070
 
-{
31071
 
-return dld_link ();
31072
 
-  ;
31073
 
-  return 0;
31074
 
-}
31075
 
-_ACEOF
31076
 
-rm -f conftest.$ac_objext conftest$ac_exeext
31077
 
-if { (ac_try="$ac_link"
31078
 
-case "(($ac_try" in
31079
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31080
 
-  *) ac_try_echo=$ac_try;;
31081
 
+_LT_EOF
31082
 
+         fi ;;
31083
 
+       esac
31084
 
+      fi
31085
 
+      break
31086
 
+    fi
31087
 
+  done
31088
 
+  IFS="$lt_save_ifs"
31089
 
+  MAGIC_CMD="$lt_save_MAGIC_CMD"
31090
 
+  ;;
31091
 
 esac
31092
 
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
31093
 
-$as_echo "$ac_try_echo") >&5
31094
 
-  (eval "$ac_link") 2>conftest.er1
31095
 
-  ac_status=$?
31096
 
-  grep -v '^ *+' conftest.er1 >conftest.err
31097
 
-  rm -f conftest.er1
31098
 
-  cat conftest.err >&5
31099
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31100
 
-  (exit $ac_status); } && {
31101
 
-        test -z "$ac_c_werror_flag" ||
31102
 
-        test ! -s conftest.err
31103
 
-       } && test -s conftest$ac_exeext && {
31104
 
-        test "$cross_compiling" = yes ||
31105
 
-        $as_test_x conftest$ac_exeext
31106
 
-       }; then
31107
 
-  ac_cv_lib_dld_dld_link=yes
31108
 
-else
31109
 
-  $as_echo "$as_me: failed program was:" >&5
31110
 
-sed 's/^/| /' conftest.$ac_ext >&5
31111
 
-
31112
 
-       ac_cv_lib_dld_dld_link=no
31113
 
 fi
31114
 
 
31115
 
-rm -rf conftest.dSYM
31116
 
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31117
 
-      conftest$ac_exeext conftest.$ac_ext
31118
 
-LIBS=$ac_check_lib_save_LIBS
31119
 
-fi
31120
 
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
31121
 
-$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
31122
 
-if test $ac_cv_lib_dld_dld_link = yes; then
31123
 
-  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
31124
 
+MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
31125
 
+if test -n "$MAGIC_CMD"; then
31126
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
31127
 
+$as_echo "$MAGIC_CMD" >&6; }
31128
 
+else
31129
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31130
 
+$as_echo "no" >&6; }
31131
 
 fi
31132
 
 
31133
 
 
31134
 
+  else
31135
 
+    MAGIC_CMD=:
31136
 
+  fi
31137
 
 fi
31138
 
 
31139
 
+  fi
31140
 
+  ;;
31141
 
+esac
31142
 
 
31143
 
-fi
31144
 
+# Use C for the default configuration in the libtool script
31145
 
 
31146
 
+lt_save_CC="$CC"
31147
 
+ac_ext=c
31148
 
+ac_cpp='$CPP $CPPFLAGS'
31149
 
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31150
 
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31151
 
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
31152
 
 
31153
 
-fi
31154
 
 
31155
 
+# Source file extension for C test sources.
31156
 
+ac_ext=c
31157
 
 
31158
 
-fi
31159
 
+# Object file extension for compiled C test sources.
31160
 
+objext=o
31161
 
+objext=$objext
31162
 
 
31163
 
+# Code to be used in simple compile tests
31164
 
+lt_simple_compile_test_code="int some_variable = 0;"
31165
 
 
31166
 
-fi
31167
 
+# Code to be used in simple link tests
31168
 
+lt_simple_link_test_code='int main(){return(0);}'
31169
 
 
31170
 
-    ;;
31171
 
-  esac
31172
 
 
31173
 
-  if test "x$lt_cv_dlopen" != xno; then
31174
 
-    enable_dlopen=yes
31175
 
-  else
31176
 
-    enable_dlopen=no
31177
 
-  fi
31178
 
 
31179
 
-  case $lt_cv_dlopen in
31180
 
-  dlopen)
31181
 
-    save_CPPFLAGS="$CPPFLAGS"
31182
 
-    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
31183
 
 
31184
 
-    save_LDFLAGS="$LDFLAGS"
31185
 
-    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
31186
 
 
31187
 
-    save_LIBS="$LIBS"
31188
 
-    LIBS="$lt_cv_dlopen_libs $LIBS"
31189
 
 
31190
 
-    { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
31191
 
-$as_echo_n "checking whether a program can dlopen itself... " >&6; }
31192
 
-if test "${lt_cv_dlopen_self+set}" = set; then
31193
 
-  $as_echo_n "(cached) " >&6
31194
 
-else
31195
 
-         if test "$cross_compiling" = yes; then :
31196
 
-  lt_cv_dlopen_self=cross
31197
 
-else
31198
 
-  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
31199
 
-  lt_status=$lt_dlunknown
31200
 
-  cat > conftest.$ac_ext <<EOF
31201
 
-#line 10874 "configure"
31202
 
-#include "confdefs.h"
31203
 
 
31204
 
-#if HAVE_DLFCN_H
31205
 
-#include <dlfcn.h>
31206
 
-#endif
31207
 
+# If no C compiler was specified, use CC.
31208
 
+LTCC=${LTCC-"$CC"}
31209
 
 
31210
 
-#include <stdio.h>
31211
 
+# If no C compiler flags were specified, use CFLAGS.
31212
 
+LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
31213
 
 
31214
 
-#ifdef RTLD_GLOBAL
31215
 
-#  define LT_DLGLOBAL          RTLD_GLOBAL
31216
 
-#else
31217
 
-#  ifdef DL_GLOBAL
31218
 
-#    define LT_DLGLOBAL                DL_GLOBAL
31219
 
-#  else
31220
 
-#    define LT_DLGLOBAL                0
31221
 
-#  endif
31222
 
-#endif
31223
 
+# Allow CC to be a program name with arguments.
31224
 
+compiler=$CC
31225
 
 
31226
 
-/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
31227
 
-   find out it does not work in some platform. */
31228
 
-#ifndef LT_DLLAZY_OR_NOW
31229
 
-#  ifdef RTLD_LAZY
31230
 
-#    define LT_DLLAZY_OR_NOW           RTLD_LAZY
31231
 
-#  else
31232
 
-#    ifdef DL_LAZY
31233
 
-#      define LT_DLLAZY_OR_NOW         DL_LAZY
31234
 
-#    else
31235
 
-#      ifdef RTLD_NOW
31236
 
-#        define LT_DLLAZY_OR_NOW       RTLD_NOW
31237
 
-#      else
31238
 
-#        ifdef DL_NOW
31239
 
-#          define LT_DLLAZY_OR_NOW     DL_NOW
31240
 
-#        else
31241
 
-#          define LT_DLLAZY_OR_NOW     0
31242
 
-#        endif
31243
 
-#      endif
31244
 
-#    endif
31245
 
-#  endif
31246
 
-#endif
31247
 
+# Save the default compiler, since it gets overwritten when the other
31248
 
+# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
31249
 
+compiler_DEFAULT=$CC
31250
 
 
31251
 
-#ifdef __cplusplus
31252
 
-extern "C" void exit (int);
31253
 
-#endif
31254
 
+# save warnings/boilerplate of simple test code
31255
 
+ac_outfile=conftest.$ac_objext
31256
 
+echo "$lt_simple_compile_test_code" >conftest.$ac_ext
31257
 
+eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
31258
 
+_lt_compiler_boilerplate=`cat conftest.err`
31259
 
+$RM conftest*
31260
 
 
31261
 
-void fnord() { int i=42;}
31262
 
-int main ()
31263
 
-{
31264
 
-  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
31265
 
-  int status = $lt_dlunknown;
31266
 
+ac_outfile=conftest.$ac_objext
31267
 
+echo "$lt_simple_link_test_code" >conftest.$ac_ext
31268
 
+eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
31269
 
+_lt_linker_boilerplate=`cat conftest.err`
31270
 
+$RM -r conftest*
31271
 
 
31272
 
-  if (self)
31273
 
-    {
31274
 
-      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
31275
 
-      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
31276
 
-      /* dlclose (self); */
31277
 
-    }
31278
 
-  else
31279
 
-    puts (dlerror ());
31280
 
 
31281
 
-    exit (status);
31282
 
-}
31283
 
-EOF
31284
 
-  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31285
 
-  (eval $ac_link) 2>&5
31286
 
-  ac_status=$?
31287
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31288
 
-  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
31289
 
-    (./conftest; exit; ) >&5 2>/dev/null
31290
 
-    lt_status=$?
31291
 
-    case x$lt_status in
31292
 
-      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
31293
 
-      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
31294
 
-      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
31295
 
-    esac
31296
 
-  else :
31297
 
-    # compilation failed
31298
 
-    lt_cv_dlopen_self=no
31299
 
-  fi
31300
 
-fi
31301
 
-rm -fr conftest*
31302
 
+if test -n "$compiler"; then
31303
 
 
31304
 
+lt_prog_compiler_no_builtin_flag=
31305
 
 
31306
 
-fi
31307
 
-{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
31308
 
-$as_echo "$lt_cv_dlopen_self" >&6; }
31309
 
+if test "$GCC" = yes; then
31310
 
+  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
31311
 
 
31312
 
-    if test "x$lt_cv_dlopen_self" = xyes; then
31313
 
-      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
31314
 
-      { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
31315
 
-$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
31316
 
-if test "${lt_cv_dlopen_self_static+set}" = set; then
31317
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
31318
 
+$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
31319
 
+if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
31320
 
   $as_echo_n "(cached) " >&6
31321
 
 else
31322
 
-         if test "$cross_compiling" = yes; then :
31323
 
-  lt_cv_dlopen_self_static=cross
31324
 
-else
31325
 
-  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
31326
 
-  lt_status=$lt_dlunknown
31327
 
-  cat > conftest.$ac_ext <<EOF
31328
 
-#line 10974 "configure"
31329
 
-#include "confdefs.h"
31330
 
-
31331
 
-#if HAVE_DLFCN_H
31332
 
-#include <dlfcn.h>
31333
 
-#endif
31334
 
-
31335
 
-#include <stdio.h>
31336
 
-
31337
 
-#ifdef RTLD_GLOBAL
31338
 
-#  define LT_DLGLOBAL          RTLD_GLOBAL
31339
 
-#else
31340
 
-#  ifdef DL_GLOBAL
31341
 
-#    define LT_DLGLOBAL                DL_GLOBAL
31342
 
-#  else
31343
 
-#    define LT_DLGLOBAL                0
31344
 
-#  endif
31345
 
-#endif
31346
 
-
31347
 
-/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
31348
 
-   find out it does not work in some platform. */
31349
 
-#ifndef LT_DLLAZY_OR_NOW
31350
 
-#  ifdef RTLD_LAZY
31351
 
-#    define LT_DLLAZY_OR_NOW           RTLD_LAZY
31352
 
-#  else
31353
 
-#    ifdef DL_LAZY
31354
 
-#      define LT_DLLAZY_OR_NOW         DL_LAZY
31355
 
-#    else
31356
 
-#      ifdef RTLD_NOW
31357
 
-#        define LT_DLLAZY_OR_NOW       RTLD_NOW
31358
 
-#      else
31359
 
-#        ifdef DL_NOW
31360
 
-#          define LT_DLLAZY_OR_NOW     DL_NOW
31361
 
-#        else
31362
 
-#          define LT_DLLAZY_OR_NOW     0
31363
 
-#        endif
31364
 
-#      endif
31365
 
-#    endif
31366
 
-#  endif
31367
 
-#endif
31368
 
-
31369
 
-#ifdef __cplusplus
31370
 
-extern "C" void exit (int);
31371
 
-#endif
31372
 
-
31373
 
-void fnord() { int i=42;}
31374
 
-int main ()
31375
 
-{
31376
 
-  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
31377
 
-  int status = $lt_dlunknown;
31378
 
-
31379
 
-  if (self)
31380
 
-    {
31381
 
-      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
31382
 
-      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
31383
 
-      /* dlclose (self); */
31384
 
-    }
31385
 
-  else
31386
 
-    puts (dlerror ());
31387
 
+  lt_cv_prog_compiler_rtti_exceptions=no
31388
 
+   ac_outfile=conftest.$ac_objext
31389
 
+   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
31390
 
+   lt_compiler_flag="-fno-rtti -fno-exceptions"
31391
 
+   # Insert the option either (1) after the last *FLAGS variable, or
31392
 
+   # (2) before a word containing "conftest.", or (3) at the end.
31393
 
+   # Note that $ac_compile itself does not contain backslashes and begins
31394
 
+   # with a dollar sign (not a hyphen), so the echo should work correctly.
31395
 
+   # The option is referenced via a variable to avoid confusing sed.
31396
 
+   lt_compile=`echo "$ac_compile" | $SED \
31397
 
+   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
31398
 
+   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
31399
 
+   -e 's:$: $lt_compiler_flag:'`
31400
 
+   (eval echo "\"\$as_me:7801: $lt_compile\"" >&5)
31401
 
+   (eval "$lt_compile" 2>conftest.err)
31402
 
+   ac_status=$?
31403
 
+   cat conftest.err >&5
31404
 
+   echo "$as_me:7805: \$? = $ac_status" >&5
31405
 
+   if (exit $ac_status) && test -s "$ac_outfile"; then
31406
 
+     # The compiler can only warn and ignore the option if not recognized
31407
 
+     # So say no if there are warnings other than the usual output.
31408
 
+     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
31409
 
+     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
31410
 
+     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
31411
 
+       lt_cv_prog_compiler_rtti_exceptions=yes
31412
 
+     fi
31413
 
+   fi
31414
 
+   $RM conftest*
31415
 
 
31416
 
-    exit (status);
31417
 
-}
31418
 
-EOF
31419
 
-  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31420
 
-  (eval $ac_link) 2>&5
31421
 
-  ac_status=$?
31422
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31423
 
-  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
31424
 
-    (./conftest; exit; ) >&5 2>/dev/null
31425
 
-    lt_status=$?
31426
 
-    case x$lt_status in
31427
 
-      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
31428
 
-      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
31429
 
-      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
31430
 
-    esac
31431
 
-  else :
31432
 
-    # compilation failed
31433
 
-    lt_cv_dlopen_self_static=no
31434
 
-  fi
31435
 
 fi
31436
 
-rm -fr conftest*
31437
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
31438
 
+$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
31439
 
 
31440
 
+if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
31441
 
+    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
31442
 
+else
31443
 
+    :
31444
 
+fi
31445
 
 
31446
 
 fi
31447
 
-{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
31448
 
-$as_echo "$lt_cv_dlopen_self_static" >&6; }
31449
 
-    fi
31450
 
 
31451
 
-    CPPFLAGS="$save_CPPFLAGS"
31452
 
-    LDFLAGS="$save_LDFLAGS"
31453
 
-    LIBS="$save_LIBS"
31454
 
-    ;;
31455
 
-  esac
31456
 
 
31457
 
-  case $lt_cv_dlopen_self in
31458
 
-  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
31459
 
-  *) enable_dlopen_self=unknown ;;
31460
 
-  esac
31461
 
 
31462
 
-  case $lt_cv_dlopen_self_static in
31463
 
-  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
31464
 
-  *) enable_dlopen_self_static=unknown ;;
31465
 
-  esac
31466
 
-fi
31467
 
 
31468
 
 
31469
 
-# Report which library types will actually be built
31470
 
-{ $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
31471
 
-$as_echo_n "checking if libtool supports shared libraries... " >&6; }
31472
 
-{ $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
31473
 
-$as_echo "$can_build_shared" >&6; }
31474
 
 
31475
 
-{ $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
31476
 
-$as_echo_n "checking whether to build shared libraries... " >&6; }
31477
 
-test "$can_build_shared" = "no" && enable_shared=no
31478
 
+  lt_prog_compiler_wl=
31479
 
+lt_prog_compiler_pic=
31480
 
+lt_prog_compiler_static=
31481
 
 
31482
 
-# On AIX, shared libraries and static libraries use the same namespace, and
31483
 
-# are all built from PIC.
31484
 
-case $host_os in
31485
 
-aix3*)
31486
 
-  test "$enable_shared" = yes && enable_static=no
31487
 
-  if test -n "$RANLIB"; then
31488
 
-    archive_cmds="$archive_cmds~\$RANLIB \$lib"
31489
 
-    postinstall_cmds='$RANLIB $lib'
31490
 
-  fi
31491
 
-  ;;
31492
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
31493
 
+$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
31494
 
 
31495
 
-aix[4-9]*)
31496
 
-  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
31497
 
-    test "$enable_shared" = yes && enable_static=no
31498
 
-  fi
31499
 
-    ;;
31500
 
-esac
31501
 
-{ $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
31502
 
-$as_echo "$enable_shared" >&6; }
31503
 
+  if test "$GCC" = yes; then
31504
 
+    lt_prog_compiler_wl='-Wl,'
31505
 
+    lt_prog_compiler_static='-static'
31506
 
 
31507
 
-{ $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
31508
 
-$as_echo_n "checking whether to build static libraries... " >&6; }
31509
 
-# Make sure either enable_shared or enable_static is yes.
31510
 
-test "$enable_shared" = yes || enable_static=yes
31511
 
-{ $as_echo "$as_me:$LINENO: result: $enable_static" >&5
31512
 
-$as_echo "$enable_static" >&6; }
31513
 
+    case $host_os in
31514
 
+      aix*)
31515
 
+      # All AIX code is PIC.
31516
 
+      if test "$host_cpu" = ia64; then
31517
 
+       # AIX 5 now supports IA64 processor
31518
 
+       lt_prog_compiler_static='-Bstatic'
31519
 
+      fi
31520
 
+      ;;
31521
 
 
31522
 
-# The else clause should only fire when bootstrapping the
31523
 
-# libtool distribution, otherwise you forgot to ship ltmain.sh
31524
 
-# with your package, and you will get complaints that there are
31525
 
-# no rules to generate ltmain.sh.
31526
 
-if test -f "$ltmain"; then
31527
 
-  # See if we are running on zsh, and set the options which allow our commands through
31528
 
-  # without removal of \ escapes.
31529
 
-  if test -n "${ZSH_VERSION+set}" ; then
31530
 
-    setopt NO_GLOB_SUBST
31531
 
-  fi
31532
 
-  # Now quote all the things that may contain metacharacters while being
31533
 
-  # careful not to overquote the AC_SUBSTed values.  We take copies of the
31534
 
-  # variables and quote the copies for generation of the libtool script.
31535
 
-  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
31536
 
-    SED SHELL STRIP \
31537
 
-    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
31538
 
-    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
31539
 
-    deplibs_check_method reload_flag reload_cmds need_locks \
31540
 
-    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
31541
 
-    lt_cv_sys_global_symbol_to_c_name_address \
31542
 
-    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
31543
 
-    old_postinstall_cmds old_postuninstall_cmds \
31544
 
-    compiler \
31545
 
-    CC \
31546
 
-    LD \
31547
 
-    lt_prog_compiler_wl \
31548
 
-    lt_prog_compiler_pic \
31549
 
-    lt_prog_compiler_static \
31550
 
-    lt_prog_compiler_no_builtin_flag \
31551
 
-    export_dynamic_flag_spec \
31552
 
-    thread_safe_flag_spec \
31553
 
-    whole_archive_flag_spec \
31554
 
-    enable_shared_with_static_runtimes \
31555
 
-    old_archive_cmds \
31556
 
-    old_archive_from_new_cmds \
31557
 
-    predep_objects \
31558
 
-    postdep_objects \
31559
 
-    predeps \
31560
 
-    postdeps \
31561
 
-    compiler_lib_search_path \
31562
 
-    compiler_lib_search_dirs \
31563
 
-    archive_cmds \
31564
 
-    archive_expsym_cmds \
31565
 
-    postinstall_cmds \
31566
 
-    postuninstall_cmds \
31567
 
-    old_archive_from_expsyms_cmds \
31568
 
-    allow_undefined_flag \
31569
 
-    no_undefined_flag \
31570
 
-    export_symbols_cmds \
31571
 
-    hardcode_libdir_flag_spec \
31572
 
-    hardcode_libdir_flag_spec_ld \
31573
 
-    hardcode_libdir_separator \
31574
 
-    hardcode_automatic \
31575
 
-    module_cmds \
31576
 
-    module_expsym_cmds \
31577
 
-    lt_cv_prog_compiler_c_o \
31578
 
-    fix_srcfile_path \
31579
 
-    exclude_expsyms \
31580
 
-    include_expsyms; do
31581
 
-
31582
 
-    case $var in
31583
 
-    old_archive_cmds | \
31584
 
-    old_archive_from_new_cmds | \
31585
 
-    archive_cmds | \
31586
 
-    archive_expsym_cmds | \
31587
 
-    module_cmds | \
31588
 
-    module_expsym_cmds | \
31589
 
-    old_archive_from_expsyms_cmds | \
31590
 
-    export_symbols_cmds | \
31591
 
-    extract_expsyms_cmds | reload_cmds | finish_cmds | \
31592
 
-    postinstall_cmds | postuninstall_cmds | \
31593
 
-    old_postinstall_cmds | old_postuninstall_cmds | \
31594
 
-    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
31595
 
-      # Double-quote double-evaled strings.
31596
 
-      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
31597
 
+    amigaos*)
31598
 
+      case $host_cpu in
31599
 
+      powerpc)
31600
 
+            # see comment about AmigaOS4 .so support
31601
 
+            lt_prog_compiler_pic='-fPIC'
31602
 
+        ;;
31603
 
+      m68k)
31604
 
+            # FIXME: we need at least 68020 code to build shared libraries, but
31605
 
+            # adding the `-m68020' flag to GCC prevents building anything better,
31606
 
+            # like `-m68040'.
31607
 
+            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
31608
 
+        ;;
31609
 
+      esac
31610
 
       ;;
31611
 
-    *)
31612
 
-      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
31613
 
+
31614
 
+    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
31615
 
+      # PIC is the default for these OSes.
31616
 
       ;;
31617
 
-    esac
31618
 
-  done
31619
 
 
31620
 
-  case $lt_echo in
31621
 
-  *'\$0 --fallback-echo"')
31622
 
-    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
31623
 
-    ;;
31624
 
-  esac
31625
 
+    mingw* | cygwin* | pw32* | os2* | cegcc*)
31626
 
+      # This hack is so that the source file can tell whether it is being
31627
 
+      # built for inclusion in a dll (and should export symbols for example).
31628
 
+      # Although the cygwin gcc ignores -fPIC, still need this for old-style
31629
 
+      # (--disable-auto-import) libraries
31630
 
+      lt_prog_compiler_pic='-DDLL_EXPORT'
31631
 
+      ;;
31632
 
 
31633
 
-cfgfile="${ofile}T"
31634
 
-  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
31635
 
-  $rm -f "$cfgfile"
31636
 
-  { $as_echo "$as_me:$LINENO: creating $ofile" >&5
31637
 
-$as_echo "$as_me: creating $ofile" >&6;}
31638
 
+    darwin* | rhapsody*)
31639
 
+      # PIC is the default on this platform
31640
 
+      # Common symbols not allowed in MH_DYLIB files
31641
 
+      lt_prog_compiler_pic='-fno-common'
31642
 
+      ;;
31643
 
 
31644
 
-  cat <<__EOF__ >> "$cfgfile"
31645
 
-#! $SHELL
31646
 
+    hpux*)
31647
 
+      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
31648
 
+      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
31649
 
+      # sets the default TLS model and affects inlining.
31650
 
+      case $host_cpu in
31651
 
+      hppa*64*)
31652
 
+       # +Z the default
31653
 
+       ;;
31654
 
+      *)
31655
 
+       lt_prog_compiler_pic='-fPIC'
31656
 
+       ;;
31657
 
+      esac
31658
 
+      ;;
31659
 
 
31660
 
-# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
31661
 
-# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
31662
 
-# NOTE: Changes made to this file will be lost: look at ltmain.sh.
31663
 
-#
31664
 
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
31665
 
-# Free Software Foundation, Inc.
31666
 
-#
31667
 
-# This file is part of GNU Libtool:
31668
 
-# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
31669
 
-#
31670
 
-# This program is free software; you can redistribute it and/or modify
31671
 
-# it under the terms of the GNU General Public License as published by
31672
 
-# the Free Software Foundation; either version 2 of the License, or
31673
 
-# (at your option) any later version.
31674
 
-#
31675
 
-# This program is distributed in the hope that it will be useful, but
31676
 
-# WITHOUT ANY WARRANTY; without even the implied warranty of
31677
 
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
31678
 
-# General Public License for more details.
31679
 
-#
31680
 
-# You should have received a copy of the GNU General Public License
31681
 
-# along with this program; if not, write to the Free Software
31682
 
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
31683
 
-#
31684
 
-# As a special exception to the GNU General Public License, if you
31685
 
-# distribute this file as part of a program that contains a
31686
 
-# configuration script generated by Autoconf, you may include it under
31687
 
-# the same distribution terms that you use for the rest of that program.
31688
 
+    interix[3-9]*)
31689
 
+      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
31690
 
+      # Instead, we relocate shared libraries at runtime.
31691
 
+      ;;
31692
 
 
31693
 
-# A sed program that does not truncate output.
31694
 
-SED=$lt_SED
31695
 
+    msdosdjgpp*)
31696
 
+      # Just because we use GCC doesn't mean we suddenly get shared libraries
31697
 
+      # on systems that don't support them.
31698
 
+      lt_prog_compiler_can_build_shared=no
31699
 
+      enable_shared=no
31700
 
+      ;;
31701
 
 
31702
 
-# Sed that helps us avoid accidentally triggering echo(1) options like -n.
31703
 
-Xsed="$SED -e 1s/^X//"
31704
 
+    *nto* | *qnx*)
31705
 
+      # QNX uses GNU C++, but need to define -shared option too, otherwise
31706
 
+      # it will coredump.
31707
 
+      lt_prog_compiler_pic='-fPIC -shared'
31708
 
+      ;;
31709
 
 
31710
 
-# The HP-UX ksh and POSIX shell print the target directory to stdout
31711
 
-# if CDPATH is set.
31712
 
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
31713
 
+    sysv4*MP*)
31714
 
+      if test -d /usr/nec; then
31715
 
+       lt_prog_compiler_pic=-Kconform_pic
31716
 
+      fi
31717
 
+      ;;
31718
 
 
31719
 
-# The names of the tagged configurations supported by this script.
31720
 
-available_tags=
31721
 
+    *)
31722
 
+      lt_prog_compiler_pic='-fPIC'
31723
 
+      ;;
31724
 
+    esac
31725
 
+  else
31726
 
+    # PORTME Check for flag to pass linker flags through the system compiler.
31727
 
+    case $host_os in
31728
 
+    aix*)
31729
 
+      lt_prog_compiler_wl='-Wl,'
31730
 
+      if test "$host_cpu" = ia64; then
31731
 
+       # AIX 5 now supports IA64 processor
31732
 
+       lt_prog_compiler_static='-Bstatic'
31733
 
+      else
31734
 
+       lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
31735
 
+      fi
31736
 
+      ;;
31737
 
 
31738
 
-# ### BEGIN LIBTOOL CONFIG
31739
 
+    mingw* | cygwin* | pw32* | os2* | cegcc*)
31740
 
+      # This hack is so that the source file can tell whether it is being
31741
 
+      # built for inclusion in a dll (and should export symbols for example).
31742
 
+      lt_prog_compiler_pic='-DDLL_EXPORT'
31743
 
+      ;;
31744
 
 
31745
 
-# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
31746
 
+    hpux9* | hpux10* | hpux11*)
31747
 
+      lt_prog_compiler_wl='-Wl,'
31748
 
+      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
31749
 
+      # not for PA HP-UX.
31750
 
+      case $host_cpu in
31751
 
+      hppa*64*|ia64*)
31752
 
+       # +Z the default
31753
 
+       ;;
31754
 
+      *)
31755
 
+       lt_prog_compiler_pic='+Z'
31756
 
+       ;;
31757
 
+      esac
31758
 
+      # Is there a better lt_prog_compiler_static that works with the bundled CC?
31759
 
+      lt_prog_compiler_static='${wl}-a ${wl}archive'
31760
 
+      ;;
31761
 
 
31762
 
-# Shell to use when invoking shell scripts.
31763
 
-SHELL=$lt_SHELL
31764
 
+    irix5* | irix6* | nonstopux*)
31765
 
+      lt_prog_compiler_wl='-Wl,'
31766
 
+      # PIC (with -KPIC) is the default.
31767
 
+      lt_prog_compiler_static='-non_shared'
31768
 
+      ;;
31769
 
 
31770
 
-# Whether or not to build shared libraries.
31771
 
-build_libtool_libs=$enable_shared
31772
 
+    linux* | k*bsd*-gnu)
31773
 
+      case $cc_basename in
31774
 
+      # old Intel for x86_64 which still supported -KPIC.
31775
 
+      ecc*)
31776
 
+       lt_prog_compiler_wl='-Wl,'
31777
 
+       lt_prog_compiler_pic='-KPIC'
31778
 
+       lt_prog_compiler_static='-static'
31779
 
+        ;;
31780
 
+      # icc used to be incompatible with GCC.
31781
 
+      # ICC 10 doesn't accept -KPIC any more.
31782
 
+      icc* | ifort*)
31783
 
+       lt_prog_compiler_wl='-Wl,'
31784
 
+       lt_prog_compiler_pic='-fPIC'
31785
 
+       lt_prog_compiler_static='-static'
31786
 
+        ;;
31787
 
+      # Lahey Fortran 8.1.
31788
 
+      lf95*)
31789
 
+       lt_prog_compiler_wl='-Wl,'
31790
 
+       lt_prog_compiler_pic='--shared'
31791
 
+       lt_prog_compiler_static='--static'
31792
 
+       ;;
31793
 
+      pgcc* | pgf77* | pgf90* | pgf95*)
31794
 
+        # Portland Group compilers (*not* the Pentium gcc compiler,
31795
 
+       # which looks to be a dead project)
31796
 
+       lt_prog_compiler_wl='-Wl,'
31797
 
+       lt_prog_compiler_pic='-fpic'
31798
 
+       lt_prog_compiler_static='-Bstatic'
31799
 
+        ;;
31800
 
+      ccc*)
31801
 
+        lt_prog_compiler_wl='-Wl,'
31802
 
+        # All Alpha code is PIC.
31803
 
+        lt_prog_compiler_static='-non_shared'
31804
 
+        ;;
31805
 
+      xl*)
31806
 
+       # IBM XL C 8.0/Fortran 10.1 on PPC
31807
 
+       lt_prog_compiler_wl='-Wl,'
31808
 
+       lt_prog_compiler_pic='-qpic'
31809
 
+       lt_prog_compiler_static='-qstaticlink'
31810
 
+       ;;
31811
 
+      *)
31812
 
+       case `$CC -V 2>&1 | sed 5q` in
31813
 
+       *Sun\ C*)
31814
 
+         # Sun C 5.9
31815
 
+         lt_prog_compiler_pic='-KPIC'
31816
 
+         lt_prog_compiler_static='-Bstatic'
31817
 
+         lt_prog_compiler_wl='-Wl,'
31818
 
+         ;;
31819
 
+       *Sun\ F*)
31820
 
+         # Sun Fortran 8.3 passes all unrecognized flags to the linker
31821
 
+         lt_prog_compiler_pic='-KPIC'
31822
 
+         lt_prog_compiler_static='-Bstatic'
31823
 
+         lt_prog_compiler_wl=''
31824
 
+         ;;
31825
 
+       esac
31826
 
+       ;;
31827
 
+      esac
31828
 
+      ;;
31829
 
 
31830
 
-# Whether or not to build static libraries.
31831
 
-build_old_libs=$enable_static
31832
 
+    newsos6)
31833
 
+      lt_prog_compiler_pic='-KPIC'
31834
 
+      lt_prog_compiler_static='-Bstatic'
31835
 
+      ;;
31836
 
 
31837
 
-# Whether or not to add -lc for building shared libraries.
31838
 
-build_libtool_need_lc=$archive_cmds_need_lc
31839
 
+    *nto* | *qnx*)
31840
 
+      # QNX uses GNU C++, but need to define -shared option too, otherwise
31841
 
+      # it will coredump.
31842
 
+      lt_prog_compiler_pic='-fPIC -shared'
31843
 
+      ;;
31844
 
 
31845
 
-# Whether or not to disallow shared libs when runtime libs are static
31846
 
-allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
31847
 
+    osf3* | osf4* | osf5*)
31848
 
+      lt_prog_compiler_wl='-Wl,'
31849
 
+      # All OSF/1 code is PIC.
31850
 
+      lt_prog_compiler_static='-non_shared'
31851
 
+      ;;
31852
 
 
31853
 
-# Whether or not to optimize for fast installation.
31854
 
-fast_install=$enable_fast_install
31855
 
+    rdos*)
31856
 
+      lt_prog_compiler_static='-non_shared'
31857
 
+      ;;
31858
 
 
31859
 
-# The host system.
31860
 
-host_alias=$host_alias
31861
 
-host=$host
31862
 
-host_os=$host_os
31863
 
+    solaris*)
31864
 
+      lt_prog_compiler_pic='-KPIC'
31865
 
+      lt_prog_compiler_static='-Bstatic'
31866
 
+      case $cc_basename in
31867
 
+      f77* | f90* | f95*)
31868
 
+       lt_prog_compiler_wl='-Qoption ld ';;
31869
 
+      *)
31870
 
+       lt_prog_compiler_wl='-Wl,';;
31871
 
+      esac
31872
 
+      ;;
31873
 
 
31874
 
-# The build system.
31875
 
-build_alias=$build_alias
31876
 
-build=$build
31877
 
-build_os=$build_os
31878
 
+    sunos4*)
31879
 
+      lt_prog_compiler_wl='-Qoption ld '
31880
 
+      lt_prog_compiler_pic='-PIC'
31881
 
+      lt_prog_compiler_static='-Bstatic'
31882
 
+      ;;
31883
 
 
31884
 
-# An echo program that does not interpret backslashes.
31885
 
-echo=$lt_echo
31886
 
+    sysv4 | sysv4.2uw2* | sysv4.3*)
31887
 
+      lt_prog_compiler_wl='-Wl,'
31888
 
+      lt_prog_compiler_pic='-KPIC'
31889
 
+      lt_prog_compiler_static='-Bstatic'
31890
 
+      ;;
31891
 
 
31892
 
-# The archiver.
31893
 
-AR=$lt_AR
31894
 
-AR_FLAGS=$lt_AR_FLAGS
31895
 
+    sysv4*MP*)
31896
 
+      if test -d /usr/nec ;then
31897
 
+       lt_prog_compiler_pic='-Kconform_pic'
31898
 
+       lt_prog_compiler_static='-Bstatic'
31899
 
+      fi
31900
 
+      ;;
31901
 
 
31902
 
-# A C compiler.
31903
 
-LTCC=$lt_LTCC
31904
 
+    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
31905
 
+      lt_prog_compiler_wl='-Wl,'
31906
 
+      lt_prog_compiler_pic='-KPIC'
31907
 
+      lt_prog_compiler_static='-Bstatic'
31908
 
+      ;;
31909
 
 
31910
 
-# LTCC compiler flags.
31911
 
-LTCFLAGS=$lt_LTCFLAGS
31912
 
+    unicos*)
31913
 
+      lt_prog_compiler_wl='-Wl,'
31914
 
+      lt_prog_compiler_can_build_shared=no
31915
 
+      ;;
31916
 
 
31917
 
-# A language-specific compiler.
31918
 
-CC=$lt_compiler
31919
 
+    uts4*)
31920
 
+      lt_prog_compiler_pic='-pic'
31921
 
+      lt_prog_compiler_static='-Bstatic'
31922
 
+      ;;
31923
 
 
31924
 
-# Is the compiler the GNU C compiler?
31925
 
-with_gcc=$GCC
31926
 
+    *)
31927
 
+      lt_prog_compiler_can_build_shared=no
31928
 
+      ;;
31929
 
+    esac
31930
 
+  fi
31931
 
 
31932
 
-# An ERE matcher.
31933
 
-EGREP=$lt_EGREP
31934
 
+case $host_os in
31935
 
+  # For platforms which do not support PIC, -DPIC is meaningless:
31936
 
+  *djgpp*)
31937
 
+    lt_prog_compiler_pic=
31938
 
+    ;;
31939
 
+  *)
31940
 
+    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
31941
 
+    ;;
31942
 
+esac
31943
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
31944
 
+$as_echo "$lt_prog_compiler_pic" >&6; }
31945
 
 
31946
 
-# The linker used to build libraries.
31947
 
-LD=$lt_LD
31948
 
 
31949
 
-# Whether we need hard or soft links.
31950
 
-LN_S=$lt_LN_S
31951
 
 
31952
 
-# A BSD-compatible nm program.
31953
 
-NM=$lt_NM
31954
 
 
31955
 
-# A symbol stripping program
31956
 
-STRIP=$lt_STRIP
31957
 
 
31958
 
-# Used to examine libraries when file_magic_cmd begins "file"
31959
 
-MAGIC_CMD=$MAGIC_CMD
31960
 
 
31961
 
-# Used on cygwin: DLL creation program.
31962
 
-DLLTOOL="$DLLTOOL"
31963
 
+#
31964
 
+# Check to make sure the PIC flag actually works.
31965
 
+#
31966
 
+if test -n "$lt_prog_compiler_pic"; then
31967
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
31968
 
+$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
31969
 
+if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
31970
 
+  $as_echo_n "(cached) " >&6
31971
 
+else
31972
 
+  lt_cv_prog_compiler_pic_works=no
31973
 
+   ac_outfile=conftest.$ac_objext
31974
 
+   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
31975
 
+   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
31976
 
+   # Insert the option either (1) after the last *FLAGS variable, or
31977
 
+   # (2) before a word containing "conftest.", or (3) at the end.
31978
 
+   # Note that $ac_compile itself does not contain backslashes and begins
31979
 
+   # with a dollar sign (not a hyphen), so the echo should work correctly.
31980
 
+   # The option is referenced via a variable to avoid confusing sed.
31981
 
+   lt_compile=`echo "$ac_compile" | $SED \
31982
 
+   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
31983
 
+   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
31984
 
+   -e 's:$: $lt_compiler_flag:'`
31985
 
+   (eval echo "\"\$as_me:8140: $lt_compile\"" >&5)
31986
 
+   (eval "$lt_compile" 2>conftest.err)
31987
 
+   ac_status=$?
31988
 
+   cat conftest.err >&5
31989
 
+   echo "$as_me:8144: \$? = $ac_status" >&5
31990
 
+   if (exit $ac_status) && test -s "$ac_outfile"; then
31991
 
+     # The compiler can only warn and ignore the option if not recognized
31992
 
+     # So say no if there are warnings other than the usual output.
31993
 
+     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
31994
 
+     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
31995
 
+     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
31996
 
+       lt_cv_prog_compiler_pic_works=yes
31997
 
+     fi
31998
 
+   fi
31999
 
+   $RM conftest*
32000
 
 
32001
 
-# Used on cygwin: object dumper.
32002
 
-OBJDUMP="$OBJDUMP"
32003
 
+fi
32004
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
32005
 
+$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
32006
 
 
32007
 
-# Used on cygwin: assembler.
32008
 
-AS="$AS"
32009
 
+if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
32010
 
+    case $lt_prog_compiler_pic in
32011
 
+     "" | " "*) ;;
32012
 
+     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
32013
 
+     esac
32014
 
+else
32015
 
+    lt_prog_compiler_pic=
32016
 
+     lt_prog_compiler_can_build_shared=no
32017
 
+fi
32018
 
 
32019
 
-# The name of the directory that contains temporary libtool files.
32020
 
-objdir=$objdir
32021
 
+fi
32022
 
 
32023
 
-# How to create reloadable object files.
32024
 
-reload_flag=$lt_reload_flag
32025
 
-reload_cmds=$lt_reload_cmds
32026
 
 
32027
 
-# How to pass a linker flag through the compiler.
32028
 
-wl=$lt_lt_prog_compiler_wl
32029
 
 
32030
 
-# Object file suffix (normally "o").
32031
 
-objext="$ac_objext"
32032
 
 
32033
 
-# Old archive suffix (normally "a").
32034
 
-libext="$libext"
32035
 
 
32036
 
-# Shared library suffix (normally ".so").
32037
 
-shrext_cmds='$shrext_cmds'
32038
 
 
32039
 
-# Executable file suffix (normally "").
32040
 
-exeext="$exeext"
32041
 
+#
32042
 
+# Check to make sure the static flag actually works.
32043
 
+#
32044
 
+wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
32045
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
32046
 
+$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
32047
 
+if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
32048
 
+  $as_echo_n "(cached) " >&6
32049
 
+else
32050
 
+  lt_cv_prog_compiler_static_works=no
32051
 
+   save_LDFLAGS="$LDFLAGS"
32052
 
+   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
32053
 
+   echo "$lt_simple_link_test_code" > conftest.$ac_ext
32054
 
+   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
32055
 
+     # The linker can only warn and ignore the option if not recognized
32056
 
+     # So say no if there are warnings
32057
 
+     if test -s conftest.err; then
32058
 
+       # Append any errors to the config.log.
32059
 
+       cat conftest.err 1>&5
32060
 
+       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
32061
 
+       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
32062
 
+       if diff conftest.exp conftest.er2 >/dev/null; then
32063
 
+         lt_cv_prog_compiler_static_works=yes
32064
 
+       fi
32065
 
+     else
32066
 
+       lt_cv_prog_compiler_static_works=yes
32067
 
+     fi
32068
 
+   fi
32069
 
+   $RM -r conftest*
32070
 
+   LDFLAGS="$save_LDFLAGS"
32071
 
 
32072
 
-# Additional compiler flags for building library objects.
32073
 
-pic_flag=$lt_lt_prog_compiler_pic
32074
 
-pic_mode=$pic_mode
32075
 
+fi
32076
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
32077
 
+$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
32078
 
 
32079
 
-# What is the maximum length of a command?
32080
 
-max_cmd_len=$lt_cv_sys_max_cmd_len
32081
 
+if test x"$lt_cv_prog_compiler_static_works" = xyes; then
32082
 
+    :
32083
 
+else
32084
 
+    lt_prog_compiler_static=
32085
 
+fi
32086
 
 
32087
 
-# Does compiler simultaneously support -c and -o options?
32088
 
-compiler_c_o=$lt_lt_cv_prog_compiler_c_o
32089
 
 
32090
 
-# Must we lock files when doing compilation?
32091
 
-need_locks=$lt_need_locks
32092
 
 
32093
 
-# Do we need the lib prefix for modules?
32094
 
-need_lib_prefix=$need_lib_prefix
32095
 
 
32096
 
-# Do we need a version for libraries?
32097
 
-need_version=$need_version
32098
 
 
32099
 
-# Whether dlopen is supported.
32100
 
-dlopen_support=$enable_dlopen
32101
 
 
32102
 
-# Whether dlopen of programs is supported.
32103
 
-dlopen_self=$enable_dlopen_self
32104
 
 
32105
 
-# Whether dlopen of statically linked programs is supported.
32106
 
-dlopen_self_static=$enable_dlopen_self_static
32107
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
32108
 
+$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
32109
 
+if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
32110
 
+  $as_echo_n "(cached) " >&6
32111
 
+else
32112
 
+  lt_cv_prog_compiler_c_o=no
32113
 
+   $RM -r conftest 2>/dev/null
32114
 
+   mkdir conftest
32115
 
+   cd conftest
32116
 
+   mkdir out
32117
 
+   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
32118
 
 
32119
 
-# Compiler flag to prevent dynamic linking.
32120
 
-link_static_flag=$lt_lt_prog_compiler_static
32121
 
-
32122
 
-# Compiler flag to turn off builtin functions.
32123
 
-no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
32124
 
-
32125
 
-# Compiler flag to allow reflexive dlopens.
32126
 
-export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
32127
 
-
32128
 
-# Compiler flag to generate shared objects directly from archives.
32129
 
-whole_archive_flag_spec=$lt_whole_archive_flag_spec
32130
 
-
32131
 
-# Compiler flag to generate thread-safe objects.
32132
 
-thread_safe_flag_spec=$lt_thread_safe_flag_spec
32133
 
-
32134
 
-# Library versioning type.
32135
 
-version_type=$version_type
32136
 
+   lt_compiler_flag="-o out/conftest2.$ac_objext"
32137
 
+   # Insert the option either (1) after the last *FLAGS variable, or
32138
 
+   # (2) before a word containing "conftest.", or (3) at the end.
32139
 
+   # Note that $ac_compile itself does not contain backslashes and begins
32140
 
+   # with a dollar sign (not a hyphen), so the echo should work correctly.
32141
 
+   lt_compile=`echo "$ac_compile" | $SED \
32142
 
+   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
32143
 
+   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
32144
 
+   -e 's:$: $lt_compiler_flag:'`
32145
 
+   (eval echo "\"\$as_me:8245: $lt_compile\"" >&5)
32146
 
+   (eval "$lt_compile" 2>out/conftest.err)
32147
 
+   ac_status=$?
32148
 
+   cat out/conftest.err >&5
32149
 
+   echo "$as_me:8249: \$? = $ac_status" >&5
32150
 
+   if (exit $ac_status) && test -s out/conftest2.$ac_objext
32151
 
+   then
32152
 
+     # The compiler can only warn and ignore the option if not recognized
32153
 
+     # So say no if there are warnings
32154
 
+     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
32155
 
+     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
32156
 
+     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
32157
 
+       lt_cv_prog_compiler_c_o=yes
32158
 
+     fi
32159
 
+   fi
32160
 
+   chmod u+w . 2>&5
32161
 
+   $RM conftest*
32162
 
+   # SGI C++ compiler will create directory out/ii_files/ for
32163
 
+   # template instantiation
32164
 
+   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
32165
 
+   $RM out/* && rmdir out
32166
 
+   cd ..
32167
 
+   $RM -r conftest
32168
 
+   $RM conftest*
32169
 
 
32170
 
-# Format of library name prefix.
32171
 
-libname_spec=$lt_libname_spec
32172
 
+fi
32173
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
32174
 
+$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
32175
 
 
32176
 
-# List of archive names.  First name is the real one, the rest are links.
32177
 
-# The last name is the one that the linker finds with -lNAME.
32178
 
-library_names_spec=$lt_library_names_spec
32179
 
 
32180
 
-# The coded name of the library, if different from the real name.
32181
 
-soname_spec=$lt_soname_spec
32182
 
 
32183
 
-# Commands used to build and install an old-style archive.
32184
 
-RANLIB=$lt_RANLIB
32185
 
-old_archive_cmds=$lt_old_archive_cmds
32186
 
-old_postinstall_cmds=$lt_old_postinstall_cmds
32187
 
-old_postuninstall_cmds=$lt_old_postuninstall_cmds
32188
 
 
32189
 
-# Create an old-style archive from a shared archive.
32190
 
-old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
32191
 
 
32192
 
-# Create a temporary old-style archive to link instead of a shared archive.
32193
 
-old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
32194
 
 
32195
 
-# Commands used to build and install a shared archive.
32196
 
-archive_cmds=$lt_archive_cmds
32197
 
-archive_expsym_cmds=$lt_archive_expsym_cmds
32198
 
-postinstall_cmds=$lt_postinstall_cmds
32199
 
-postuninstall_cmds=$lt_postuninstall_cmds
32200
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
32201
 
+$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
32202
 
+if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
32203
 
+  $as_echo_n "(cached) " >&6
32204
 
+else
32205
 
+  lt_cv_prog_compiler_c_o=no
32206
 
+   $RM -r conftest 2>/dev/null
32207
 
+   mkdir conftest
32208
 
+   cd conftest
32209
 
+   mkdir out
32210
 
+   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
32211
 
 
32212
 
-# Commands used to build a loadable module (assumed same as above if empty)
32213
 
-module_cmds=$lt_module_cmds
32214
 
-module_expsym_cmds=$lt_module_expsym_cmds
32215
 
+   lt_compiler_flag="-o out/conftest2.$ac_objext"
32216
 
+   # Insert the option either (1) after the last *FLAGS variable, or
32217
 
+   # (2) before a word containing "conftest.", or (3) at the end.
32218
 
+   # Note that $ac_compile itself does not contain backslashes and begins
32219
 
+   # with a dollar sign (not a hyphen), so the echo should work correctly.
32220
 
+   lt_compile=`echo "$ac_compile" | $SED \
32221
 
+   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
32222
 
+   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
32223
 
+   -e 's:$: $lt_compiler_flag:'`
32224
 
+   (eval echo "\"\$as_me:8300: $lt_compile\"" >&5)
32225
 
+   (eval "$lt_compile" 2>out/conftest.err)
32226
 
+   ac_status=$?
32227
 
+   cat out/conftest.err >&5
32228
 
+   echo "$as_me:8304: \$? = $ac_status" >&5
32229
 
+   if (exit $ac_status) && test -s out/conftest2.$ac_objext
32230
 
+   then
32231
 
+     # The compiler can only warn and ignore the option if not recognized
32232
 
+     # So say no if there are warnings
32233
 
+     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
32234
 
+     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
32235
 
+     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
32236
 
+       lt_cv_prog_compiler_c_o=yes
32237
 
+     fi
32238
 
+   fi
32239
 
+   chmod u+w . 2>&5
32240
 
+   $RM conftest*
32241
 
+   # SGI C++ compiler will create directory out/ii_files/ for
32242
 
+   # template instantiation
32243
 
+   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
32244
 
+   $RM out/* && rmdir out
32245
 
+   cd ..
32246
 
+   $RM -r conftest
32247
 
+   $RM conftest*
32248
 
 
32249
 
-# Commands to strip libraries.
32250
 
-old_striplib=$lt_old_striplib
32251
 
-striplib=$lt_striplib
32252
 
+fi
32253
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
32254
 
+$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
32255
 
 
32256
 
-# Dependencies to place before the objects being linked to create a
32257
 
-# shared library.
32258
 
-predep_objects=$lt_predep_objects
32259
 
 
32260
 
-# Dependencies to place after the objects being linked to create a
32261
 
-# shared library.
32262
 
-postdep_objects=$lt_postdep_objects
32263
 
 
32264
 
-# Dependencies to place before the objects being linked to create a
32265
 
-# shared library.
32266
 
-predeps=$lt_predeps
32267
 
 
32268
 
-# Dependencies to place after the objects being linked to create a
32269
 
-# shared library.
32270
 
-postdeps=$lt_postdeps
32271
 
+hard_links="nottested"
32272
 
+if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
32273
 
+  # do not overwrite the value of need_locks provided by the user
32274
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
32275
 
+$as_echo_n "checking if we can lock with hard links... " >&6; }
32276
 
+  hard_links=yes
32277
 
+  $RM conftest*
32278
 
+  ln conftest.a conftest.b 2>/dev/null && hard_links=no
32279
 
+  touch conftest.a
32280
 
+  ln conftest.a conftest.b 2>&5 || hard_links=no
32281
 
+  ln conftest.a conftest.b 2>/dev/null && hard_links=no
32282
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
32283
 
+$as_echo "$hard_links" >&6; }
32284
 
+  if test "$hard_links" = no; then
32285
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
32286
 
+$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
32287
 
+    need_locks=warn
32288
 
+  fi
32289
 
+else
32290
 
+  need_locks=no
32291
 
+fi
32292
 
 
32293
 
-# The directories searched by this compiler when creating a shared
32294
 
-# library
32295
 
-compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
32296
 
 
32297
 
-# The library search path used internally by the compiler when linking
32298
 
-# a shared library.
32299
 
-compiler_lib_search_path=$lt_compiler_lib_search_path
32300
 
 
32301
 
-# Method to check whether dependent libraries are shared objects.
32302
 
-deplibs_check_method=$lt_deplibs_check_method
32303
 
 
32304
 
-# Command to use when deplibs_check_method == file_magic.
32305
 
-file_magic_cmd=$lt_file_magic_cmd
32306
 
 
32307
 
-# Flag that allows shared libraries with undefined symbols to be built.
32308
 
-allow_undefined_flag=$lt_allow_undefined_flag
32309
 
 
32310
 
-# Flag that forces no undefined symbols.
32311
 
-no_undefined_flag=$lt_no_undefined_flag
32312
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
32313
 
+$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
32314
 
 
32315
 
-# Commands used to finish a libtool library installation in a directory.
32316
 
-finish_cmds=$lt_finish_cmds
32317
 
+  runpath_var=
32318
 
+  allow_undefined_flag=
32319
 
+  always_export_symbols=no
32320
 
+  archive_cmds=
32321
 
+  archive_expsym_cmds=
32322
 
+  compiler_needs_object=no
32323
 
+  enable_shared_with_static_runtimes=no
32324
 
+  export_dynamic_flag_spec=
32325
 
+  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
32326
 
+  hardcode_automatic=no
32327
 
+  hardcode_direct=no
32328
 
+  hardcode_direct_absolute=no
32329
 
+  hardcode_libdir_flag_spec=
32330
 
+  hardcode_libdir_flag_spec_ld=
32331
 
+  hardcode_libdir_separator=
32332
 
+  hardcode_minus_L=no
32333
 
+  hardcode_shlibpath_var=unsupported
32334
 
+  inherit_rpath=no
32335
 
+  link_all_deplibs=unknown
32336
 
+  module_cmds=
32337
 
+  module_expsym_cmds=
32338
 
+  old_archive_from_new_cmds=
32339
 
+  old_archive_from_expsyms_cmds=
32340
 
+  thread_safe_flag_spec=
32341
 
+  whole_archive_flag_spec=
32342
 
+  # include_expsyms should be a list of space-separated symbols to be *always*
32343
 
+  # included in the symbol list
32344
 
+  include_expsyms=
32345
 
+  # exclude_expsyms can be an extended regexp of symbols to exclude
32346
 
+  # it will be wrapped by ` (' and `)$', so one must not match beginning or
32347
 
+  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
32348
 
+  # as well as any symbol that contains `d'.
32349
 
+  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
32350
 
+  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
32351
 
+  # platforms (ab)use it in PIC code, but their linkers get confused if
32352
 
+  # the symbol is explicitly referenced.  Since portable code cannot
32353
 
+  # rely on this symbol name, it's probably fine to never include it in
32354
 
+  # preloaded symbol tables.
32355
 
+  # Exclude shared library initialization/finalization symbols.
32356
 
+  extract_expsyms_cmds=
32357
 
 
32358
 
-# Same as above, but a single script fragment to be evaled but not shown.
32359
 
-finish_eval=$lt_finish_eval
32360
 
+  case $host_os in
32361
 
+  cygwin* | mingw* | pw32* | cegcc*)
32362
 
+    # FIXME: the MSVC++ port hasn't been tested in a loooong time
32363
 
+    # When not using gcc, we currently assume that we are using
32364
 
+    # Microsoft Visual C++.
32365
 
+    if test "$GCC" != yes; then
32366
 
+      with_gnu_ld=no
32367
 
+    fi
32368
 
+    ;;
32369
 
+  interix*)
32370
 
+    # we just hope/assume this is gcc and not c89 (= MSVC++)
32371
 
+    with_gnu_ld=yes
32372
 
+    ;;
32373
 
+  openbsd*)
32374
 
+    with_gnu_ld=no
32375
 
+    ;;
32376
 
+  linux* | k*bsd*-gnu)
32377
 
+    link_all_deplibs=no
32378
 
+    ;;
32379
 
+  esac
32380
 
 
32381
 
-# Take the output of nm and produce a listing of raw symbols and C names.
32382
 
-global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
32383
 
+  ld_shlibs=yes
32384
 
+  if test "$with_gnu_ld" = yes; then
32385
 
+    # If archive_cmds runs LD, not CC, wlarc should be empty
32386
 
+    wlarc='${wl}'
32387
 
 
32388
 
-# Transform the output of nm in a proper C declaration
32389
 
-global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
32390
 
+    # Set some defaults for GNU ld with shared library support. These
32391
 
+    # are reset later if shared libraries are not supported. Putting them
32392
 
+    # here allows them to be overridden if necessary.
32393
 
+    runpath_var=LD_RUN_PATH
32394
 
+    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
32395
 
+    export_dynamic_flag_spec='${wl}--export-dynamic'
32396
 
+    # ancient GNU ld didn't support --whole-archive et. al.
32397
 
+    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
32398
 
+      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
32399
 
+    else
32400
 
+      whole_archive_flag_spec=
32401
 
+    fi
32402
 
+    supports_anon_versioning=no
32403
 
+    case `$LD -v 2>&1` in
32404
 
+      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
32405
 
+      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
32406
 
+      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
32407
 
+      *\ 2.11.*) ;; # other 2.11 versions
32408
 
+      *) supports_anon_versioning=yes ;;
32409
 
+    esac
32410
 
 
32411
 
-# Transform the output of nm in a C name address pair
32412
 
-global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
32413
 
+    # See if GNU ld supports shared libraries.
32414
 
+    case $host_os in
32415
 
+    aix[3-9]*)
32416
 
+      # On AIX/PPC, the GNU linker is very broken
32417
 
+      if test "$host_cpu" != ia64; then
32418
 
+       ld_shlibs=no
32419
 
+       cat <<_LT_EOF 1>&2
32420
 
 
32421
 
-# This is the shared library runtime path variable.
32422
 
-runpath_var=$runpath_var
32423
 
+*** Warning: the GNU linker, at least up to release 2.9.1, is reported
32424
 
+*** to be unable to reliably create shared libraries on AIX.
32425
 
+*** Therefore, libtool is disabling shared libraries support.  If you
32426
 
+*** really care for shared libraries, you may want to modify your PATH
32427
 
+*** so that a non-GNU linker is found, and then restart.
32428
 
 
32429
 
-# This is the shared library path variable.
32430
 
-shlibpath_var=$shlibpath_var
32431
 
+_LT_EOF
32432
 
+      fi
32433
 
+      ;;
32434
 
 
32435
 
-# Is shlibpath searched before the hard-coded library search path?
32436
 
-shlibpath_overrides_runpath=$shlibpath_overrides_runpath
32437
 
+    amigaos*)
32438
 
+      case $host_cpu in
32439
 
+      powerpc)
32440
 
+            # see comment about AmigaOS4 .so support
32441
 
+            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
32442
 
+            archive_expsym_cmds=''
32443
 
+        ;;
32444
 
+      m68k)
32445
 
+            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)'
32446
 
+            hardcode_libdir_flag_spec='-L$libdir'
32447
 
+            hardcode_minus_L=yes
32448
 
+        ;;
32449
 
+      esac
32450
 
+      ;;
32451
 
 
32452
 
-# How to hardcode a shared library path into an executable.
32453
 
-hardcode_action=$hardcode_action
32454
 
+    beos*)
32455
 
+      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
32456
 
+       allow_undefined_flag=unsupported
32457
 
+       # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
32458
 
+       # support --undefined.  This deserves some investigation.  FIXME
32459
 
+       archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
32460
 
+      else
32461
 
+       ld_shlibs=no
32462
 
+      fi
32463
 
+      ;;
32464
 
 
32465
 
-# Whether we should hardcode library paths into libraries.
32466
 
-hardcode_into_libs=$hardcode_into_libs
32467
 
+    cygwin* | mingw* | pw32* | cegcc*)
32468
 
+      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
32469
 
+      # as there is no search path for DLLs.
32470
 
+      hardcode_libdir_flag_spec='-L$libdir'
32471
 
+      allow_undefined_flag=unsupported
32472
 
+      always_export_symbols=no
32473
 
+      enable_shared_with_static_runtimes=yes
32474
 
+      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
32475
 
 
32476
 
-# Flag to hardcode \$libdir into a binary during linking.
32477
 
-# This must work even if \$libdir does not exist.
32478
 
-hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
32479
 
-
32480
 
-# If ld is used when linking, flag to hardcode \$libdir into
32481
 
-# a binary during linking. This must work even if \$libdir does
32482
 
-# not exist.
32483
 
-hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
32484
 
+      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
32485
 
+        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
32486
 
+       # If the export-symbols file already is a .def file (1st line
32487
 
+       # is EXPORTS), use it as is; otherwise, prepend...
32488
 
+       archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
32489
 
+         cp $export_symbols $output_objdir/$soname.def;
32490
 
+       else
32491
 
+         echo EXPORTS > $output_objdir/$soname.def;
32492
 
+         cat $export_symbols >> $output_objdir/$soname.def;
32493
 
+       fi~
32494
 
+       $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
32495
 
+      else
32496
 
+       ld_shlibs=no
32497
 
+      fi
32498
 
+      ;;
32499
 
 
32500
 
-# Whether we need a single -rpath flag with a separated argument.
32501
 
-hardcode_libdir_separator=$lt_hardcode_libdir_separator
32502
 
+    interix[3-9]*)
32503
 
+      hardcode_direct=no
32504
 
+      hardcode_shlibpath_var=no
32505
 
+      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
32506
 
+      export_dynamic_flag_spec='${wl}-E'
32507
 
+      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
32508
 
+      # Instead, shared libraries are loaded at an image base (0x10000000 by
32509
 
+      # default) and relocated if they conflict, which is a slow very memory
32510
 
+      # consuming and fragmenting process.  To avoid this, we pick a random,
32511
 
+      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
32512
 
+      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
32513
 
+      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
32514
 
+      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'
32515
 
+      ;;
32516
 
 
32517
 
-# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
32518
 
-# resulting binary.
32519
 
-hardcode_direct=$hardcode_direct
32520
 
+    gnu* | linux* | tpf* | k*bsd*-gnu)
32521
 
+      tmp_diet=no
32522
 
+      if test "$host_os" = linux-dietlibc; then
32523
 
+       case $cc_basename in
32524
 
+         diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
32525
 
+       esac
32526
 
+      fi
32527
 
+      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
32528
 
+        && test "$tmp_diet" = no
32529
 
+      then
32530
 
+       tmp_addflag=
32531
 
+       tmp_sharedflag='-shared'
32532
 
+       case $cc_basename,$host_cpu in
32533
 
+        pgcc*)                         # Portland Group C compiler
32534
 
+         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'
32535
 
+         tmp_addflag=' $pic_flag'
32536
 
+         ;;
32537
 
+       pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
32538
 
+         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'
32539
 
+         tmp_addflag=' $pic_flag -Mnomain' ;;
32540
 
+       ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
32541
 
+         tmp_addflag=' -i_dynamic' ;;
32542
 
+       efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
32543
 
+         tmp_addflag=' -i_dynamic -nofor_main' ;;
32544
 
+       ifc* | ifort*)                  # Intel Fortran compiler
32545
 
+         tmp_addflag=' -nofor_main' ;;
32546
 
+       lf95*)                          # Lahey Fortran 8.1
32547
 
+         whole_archive_flag_spec=
32548
 
+         tmp_sharedflag='--shared' ;;
32549
 
+       xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
32550
 
+         tmp_sharedflag='-qmkshrobj'
32551
 
+         tmp_addflag= ;;
32552
 
+       esac
32553
 
+       case `$CC -V 2>&1 | sed 5q` in
32554
 
+       *Sun\ C*)                       # Sun C 5.9
32555
 
+         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'
32556
 
+         compiler_needs_object=yes
32557
 
+         tmp_sharedflag='-G' ;;
32558
 
+       *Sun\ F*)                       # Sun Fortran 8.3
32559
 
+         tmp_sharedflag='-G' ;;
32560
 
+       esac
32561
 
+       archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
32562
 
 
32563
 
-# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
32564
 
-# resulting binary.
32565
 
-hardcode_minus_L=$hardcode_minus_L
32566
 
+        if test "x$supports_anon_versioning" = xyes; then
32567
 
+          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
32568
 
+           cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
32569
 
+           echo "local: *; };" >> $output_objdir/$libname.ver~
32570
 
+           $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
32571
 
+        fi
32572
 
 
32573
 
-# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
32574
 
-# the resulting binary.
32575
 
-hardcode_shlibpath_var=$hardcode_shlibpath_var
32576
 
+       case $cc_basename in
32577
 
+       xlf*)
32578
 
+         # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
32579
 
+         whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
32580
 
+         hardcode_libdir_flag_spec=
32581
 
+         hardcode_libdir_flag_spec_ld='-rpath $libdir'
32582
 
+         archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
32583
 
+         if test "x$supports_anon_versioning" = xyes; then
32584
 
+           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
32585
 
+             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
32586
 
+             echo "local: *; };" >> $output_objdir/$libname.ver~
32587
 
+             $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
32588
 
+         fi
32589
 
+         ;;
32590
 
+       esac
32591
 
+      else
32592
 
+        ld_shlibs=no
32593
 
+      fi
32594
 
+      ;;
32595
 
 
32596
 
-# Set to yes if building a shared library automatically hardcodes DIR into the library
32597
 
-# and all subsequent libraries and executables linked against it.
32598
 
-hardcode_automatic=$hardcode_automatic
32599
 
+    netbsd* | netbsdelf*-gnu)
32600
 
+      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
32601
 
+       archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
32602
 
+       wlarc=
32603
 
+      else
32604
 
+       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
32605
 
+       archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
32606
 
+      fi
32607
 
+      ;;
32608
 
 
32609
 
-# Variables whose values should be saved in libtool wrapper scripts and
32610
 
-# restored at relink time.
32611
 
-variables_saved_for_relink="$variables_saved_for_relink"
32612
 
+    solaris*)
32613
 
+      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
32614
 
+       ld_shlibs=no
32615
 
+       cat <<_LT_EOF 1>&2
32616
 
 
32617
 
-# Whether libtool must link a program against all its dependency libraries.
32618
 
-link_all_deplibs=$link_all_deplibs
32619
 
+*** Warning: The releases 2.8.* of the GNU linker cannot reliably
32620
 
+*** create shared libraries on Solaris systems.  Therefore, libtool
32621
 
+*** is disabling shared libraries support.  We urge you to upgrade GNU
32622
 
+*** binutils to release 2.9.1 or newer.  Another option is to modify
32623
 
+*** your PATH or compiler configuration so that the native linker is
32624
 
+*** used, and then restart.
32625
 
 
32626
 
-# Compile-time system search path for libraries
32627
 
-sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
32628
 
+_LT_EOF
32629
 
+      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
32630
 
+       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
32631
 
+       archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
32632
 
+      else
32633
 
+       ld_shlibs=no
32634
 
+      fi
32635
 
+      ;;
32636
 
 
32637
 
-# Run-time system search path for libraries
32638
 
-sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
32639
 
+    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
32640
 
+      case `$LD -v 2>&1` in
32641
 
+        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
32642
 
+       ld_shlibs=no
32643
 
+       cat <<_LT_EOF 1>&2
32644
 
 
32645
 
-# Fix the shell variable \$srcfile for the compiler.
32646
 
-fix_srcfile_path=$lt_fix_srcfile_path
32647
 
+*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
32648
 
+*** reliably create shared libraries on SCO systems.  Therefore, libtool
32649
 
+*** is disabling shared libraries support.  We urge you to upgrade GNU
32650
 
+*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
32651
 
+*** your PATH or compiler configuration so that the native linker is
32652
 
+*** used, and then restart.
32653
 
 
32654
 
-# Set to yes if exported symbols are required.
32655
 
-always_export_symbols=$always_export_symbols
32656
 
+_LT_EOF
32657
 
+       ;;
32658
 
+       *)
32659
 
+         # For security reasons, it is highly recommended that you always
32660
 
+         # use absolute paths for naming shared libraries, and exclude the
32661
 
+         # DT_RUNPATH tag from executables and libraries.  But doing so
32662
 
+         # requires that you compile everything twice, which is a pain.
32663
 
+         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
32664
 
+           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
32665
 
+           archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
32666
 
+           archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
32667
 
+         else
32668
 
+           ld_shlibs=no
32669
 
+         fi
32670
 
+       ;;
32671
 
+      esac
32672
 
+      ;;
32673
 
 
32674
 
-# The commands to list exported symbols.
32675
 
-export_symbols_cmds=$lt_export_symbols_cmds
32676
 
+    sunos4*)
32677
 
+      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
32678
 
+      wlarc=
32679
 
+      hardcode_direct=yes
32680
 
+      hardcode_shlibpath_var=no
32681
 
+      ;;
32682
 
 
32683
 
-# The commands to extract the exported symbol list from a shared archive.
32684
 
-extract_expsyms_cmds=$lt_extract_expsyms_cmds
32685
 
+    *)
32686
 
+      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
32687
 
+       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
32688
 
+       archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
32689
 
+      else
32690
 
+       ld_shlibs=no
32691
 
+      fi
32692
 
+      ;;
32693
 
+    esac
32694
 
 
32695
 
-# Symbols that should not be listed in the preloaded symbols.
32696
 
-exclude_expsyms=$lt_exclude_expsyms
32697
 
+    if test "$ld_shlibs" = no; then
32698
 
+      runpath_var=
32699
 
+      hardcode_libdir_flag_spec=
32700
 
+      export_dynamic_flag_spec=
32701
 
+      whole_archive_flag_spec=
32702
 
+    fi
32703
 
+  else
32704
 
+    # PORTME fill in a description of your system's linker (not GNU ld)
32705
 
+    case $host_os in
32706
 
+    aix3*)
32707
 
+      allow_undefined_flag=unsupported
32708
 
+      always_export_symbols=yes
32709
 
+      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'
32710
 
+      # Note: this linker hardcodes the directories in LIBPATH if there
32711
 
+      # are no directories specified by -L.
32712
 
+      hardcode_minus_L=yes
32713
 
+      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
32714
 
+       # Neither direct hardcoding nor static linking is supported with a
32715
 
+       # broken collect2.
32716
 
+       hardcode_direct=unsupported
32717
 
+      fi
32718
 
+      ;;
32719
 
 
32720
 
-# Symbols that must always be exported.
32721
 
-include_expsyms=$lt_include_expsyms
32722
 
+    aix[4-9]*)
32723
 
+      if test "$host_cpu" = ia64; then
32724
 
+       # On IA64, the linker does run time linking by default, so we don't
32725
 
+       # have to do anything special.
32726
 
+       aix_use_runtimelinking=no
32727
 
+       exp_sym_flag='-Bexport'
32728
 
+       no_entry_flag=""
32729
 
+      else
32730
 
+       # If we're using GNU nm, then we don't want the "-C" option.
32731
 
+       # -C means demangle to AIX nm, but means don't demangle with GNU nm
32732
 
+       if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
32733
 
+         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'
32734
 
+       else
32735
 
+         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'
32736
 
+       fi
32737
 
+       aix_use_runtimelinking=no
32738
 
 
32739
 
-# ### END LIBTOOL CONFIG
32740
 
+       # Test if we are trying to use run time linking or normal
32741
 
+       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
32742
 
+       # need to do runtime linking.
32743
 
+       case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
32744
 
+         for ld_flag in $LDFLAGS; do
32745
 
+         if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
32746
 
+           aix_use_runtimelinking=yes
32747
 
+           break
32748
 
+         fi
32749
 
+         done
32750
 
+         ;;
32751
 
+       esac
32752
 
 
32753
 
-__EOF__
32754
 
+       exp_sym_flag='-bexport'
32755
 
+       no_entry_flag='-bnoentry'
32756
 
+      fi
32757
 
 
32758
 
+      # When large executables or shared objects are built, AIX ld can
32759
 
+      # have problems creating the table of contents.  If linking a library
32760
 
+      # or program results in "error TOC overflow" add -mminimal-toc to
32761
 
+      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
32762
 
+      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
32763
 
 
32764
 
-  case $host_os in
32765
 
-  aix3*)
32766
 
-    cat <<\EOF >> "$cfgfile"
32767
 
+      archive_cmds=''
32768
 
+      hardcode_direct=yes
32769
 
+      hardcode_direct_absolute=yes
32770
 
+      hardcode_libdir_separator=':'
32771
 
+      link_all_deplibs=yes
32772
 
+      file_list_spec='${wl}-f,'
32773
 
 
32774
 
-# AIX sometimes has problems with the GCC collect2 program.  For some
32775
 
-# reason, if we set the COLLECT_NAMES environment variable, the problems
32776
 
-# vanish in a puff of smoke.
32777
 
-if test "X${COLLECT_NAMES+set}" != Xset; then
32778
 
-  COLLECT_NAMES=
32779
 
-  export COLLECT_NAMES
32780
 
-fi
32781
 
-EOF
32782
 
-    ;;
32783
 
-  esac
32784
 
+      if test "$GCC" = yes; then
32785
 
+       case $host_os in aix4.[012]|aix4.[012].*)
32786
 
+       # We only want to do this on AIX 4.2 and lower, the check
32787
 
+       # below for broken collect2 doesn't work under 4.3+
32788
 
+         collect2name=`${CC} -print-prog-name=collect2`
32789
 
+         if test -f "$collect2name" &&
32790
 
+          strings "$collect2name" | $GREP resolve_lib_name >/dev/null
32791
 
+         then
32792
 
+         # We have reworked collect2
32793
 
+         :
32794
 
+         else
32795
 
+         # We have old collect2
32796
 
+         hardcode_direct=unsupported
32797
 
+         # It fails to find uninstalled libraries when the uninstalled
32798
 
+         # path is not listed in the libpath.  Setting hardcode_minus_L
32799
 
+         # to unsupported forces relinking
32800
 
+         hardcode_minus_L=yes
32801
 
+         hardcode_libdir_flag_spec='-L$libdir'
32802
 
+         hardcode_libdir_separator=
32803
 
+         fi
32804
 
+         ;;
32805
 
+       esac
32806
 
+       shared_flag='-shared'
32807
 
+       if test "$aix_use_runtimelinking" = yes; then
32808
 
+         shared_flag="$shared_flag "'${wl}-G'
32809
 
+       fi
32810
 
+       link_all_deplibs=no
32811
 
+      else
32812
 
+       # not using gcc
32813
 
+       if test "$host_cpu" = ia64; then
32814
 
+       # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
32815
 
+       # chokes on -Wl,-G. The following line is correct:
32816
 
+         shared_flag='-G'
32817
 
+       else
32818
 
+         if test "$aix_use_runtimelinking" = yes; then
32819
 
+           shared_flag='${wl}-G'
32820
 
+         else
32821
 
+           shared_flag='${wl}-bM:SRE'
32822
 
+         fi
32823
 
+       fi
32824
 
+      fi
32825
 
 
32826
 
-  # We use sed instead of cat because bash on DJGPP gets confused if
32827
 
-  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
32828
 
-  # text mode, it properly converts lines to CR/LF.  This bash problem
32829
 
-  # is reportedly fixed, but why not run on old versions too?
32830
 
-  sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
32831
 
+      export_dynamic_flag_spec='${wl}-bexpall'
32832
 
+      # It seems that -bexpall does not export symbols beginning with
32833
 
+      # underscore (_), so it is better to generate a list of symbols to export.
32834
 
+      always_export_symbols=yes
32835
 
+      if test "$aix_use_runtimelinking" = yes; then
32836
 
+       # Warning - without using the other runtime loading flags (-brtl),
32837
 
+       # -berok will link without error, but may produce a broken library.
32838
 
+       allow_undefined_flag='-berok'
32839
 
+        # Determine the default libpath from the value encoded in an
32840
 
+        # empty executable.
32841
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32842
 
+/* end confdefs.h.  */
32843
 
 
32844
 
-  mv -f "$cfgfile" "$ofile" || \
32845
 
-    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
32846
 
-  chmod +x "$ofile"
32847
 
+int
32848
 
+main ()
32849
 
+{
32850
 
 
32851
 
-else
32852
 
-  # If there is no Makefile yet, we rely on a make rule to execute
32853
 
-  # `config.status --recheck' to rerun these tests and create the
32854
 
-  # libtool script then.
32855
 
-  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
32856
 
-  if test -f "$ltmain_in"; then
32857
 
-    test -f Makefile && make "$ltmain"
32858
 
-  fi
32859
 
-fi
32860
 
+  ;
32861
 
+  return 0;
32862
 
+}
32863
 
+_ACEOF
32864
 
+if ac_fn_c_try_link "$LINENO"; then :
32865
 
 
32866
 
+lt_aix_libpath_sed='
32867
 
+    /Import File Strings/,/^$/ {
32868
 
+       /^0/ {
32869
 
+           s/^0  *\(.*\)$/\1/
32870
 
+           p
32871
 
+       }
32872
 
+    }'
32873
 
+aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
32874
 
+# Check for a 64-bit object if we didn't find anything.
32875
 
+if test -z "$aix_libpath"; then
32876
 
+  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
32877
 
+fi
32878
 
+fi
32879
 
+rm -f core conftest.err conftest.$ac_objext \
32880
 
+    conftest$ac_exeext conftest.$ac_ext
32881
 
+if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
32882
 
 
32883
 
-ac_ext=c
32884
 
-ac_cpp='$CPP $CPPFLAGS'
32885
 
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32886
 
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32887
 
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
32888
 
+        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
32889
 
+        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"
32890
 
+      else
32891
 
+       if test "$host_cpu" = ia64; then
32892
 
+         hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
32893
 
+         allow_undefined_flag="-z nodefs"
32894
 
+         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"
32895
 
+       else
32896
 
+        # Determine the default libpath from the value encoded in an
32897
 
+        # empty executable.
32898
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32899
 
+/* end confdefs.h.  */
32900
 
 
32901
 
-CC="$lt_save_CC"
32902
 
+int
32903
 
+main ()
32904
 
+{
32905
 
 
32906
 
+  ;
32907
 
+  return 0;
32908
 
+}
32909
 
+_ACEOF
32910
 
+if ac_fn_c_try_link "$LINENO"; then :
32911
 
 
32912
 
-# Check whether --with-tags was given.
32913
 
-if test "${with_tags+set}" = set; then
32914
 
-  withval=$with_tags; tagnames="$withval"
32915
 
+lt_aix_libpath_sed='
32916
 
+    /Import File Strings/,/^$/ {
32917
 
+       /^0/ {
32918
 
+           s/^0  *\(.*\)$/\1/
32919
 
+           p
32920
 
+       }
32921
 
+    }'
32922
 
+aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
32923
 
+# Check for a 64-bit object if we didn't find anything.
32924
 
+if test -z "$aix_libpath"; then
32925
 
+  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
32926
 
 fi
32927
 
+fi
32928
 
+rm -f core conftest.err conftest.$ac_objext \
32929
 
+    conftest$ac_exeext conftest.$ac_ext
32930
 
+if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
32931
 
 
32932
 
+        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
32933
 
+         # Warning - without using the other run time loading flags,
32934
 
+         # -berok will link without error, but may produce a broken library.
32935
 
+         no_undefined_flag=' ${wl}-bernotok'
32936
 
+         allow_undefined_flag=' ${wl}-berok'
32937
 
+         # Exported symbols can be pulled into shared objects from archives
32938
 
+         whole_archive_flag_spec='$convenience'
32939
 
+         archive_cmds_need_lc=yes
32940
 
+         # This is similar to how AIX traditionally builds its shared libraries.
32941
 
+         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'
32942
 
+       fi
32943
 
+      fi
32944
 
+      ;;
32945
 
 
32946
 
-if test -f "$ltmain" && test -n "$tagnames"; then
32947
 
-  if test ! -f "${ofile}"; then
32948
 
-    { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
32949
 
-$as_echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
32950
 
-  fi
32951
 
-
32952
 
-  if test -z "$LTCC"; then
32953
 
-    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
32954
 
-    if test -z "$LTCC"; then
32955
 
-      { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
32956
 
-$as_echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
32957
 
-    else
32958
 
-      { $as_echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
32959
 
-$as_echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
32960
 
-    fi
32961
 
-  fi
32962
 
-  if test -z "$LTCFLAGS"; then
32963
 
-    eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
32964
 
-  fi
32965
 
+    amigaos*)
32966
 
+      case $host_cpu in
32967
 
+      powerpc)
32968
 
+            # see comment about AmigaOS4 .so support
32969
 
+            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
32970
 
+            archive_expsym_cmds=''
32971
 
+        ;;
32972
 
+      m68k)
32973
 
+            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)'
32974
 
+            hardcode_libdir_flag_spec='-L$libdir'
32975
 
+            hardcode_minus_L=yes
32976
 
+        ;;
32977
 
+      esac
32978
 
+      ;;
32979
 
 
32980
 
-  # Extract list of available tagged configurations in $ofile.
32981
 
-  # Note that this assumes the entire list is on one line.
32982
 
-  available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
32983
 
+    bsdi[45]*)
32984
 
+      export_dynamic_flag_spec=-rdynamic
32985
 
+      ;;
32986
 
 
32987
 
-  lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
32988
 
-  for tagname in $tagnames; do
32989
 
-    IFS="$lt_save_ifs"
32990
 
-    # Check whether tagname contains only valid characters
32991
 
-    case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
32992
 
-    "") ;;
32993
 
-    *)  { { $as_echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
32994
 
-$as_echo "$as_me: error: invalid tag name: $tagname" >&2;}
32995
 
-   { (exit 1); exit 1; }; }
32996
 
-       ;;
32997
 
-    esac
32998
 
+    cygwin* | mingw* | pw32* | cegcc*)
32999
 
+      # When not using gcc, we currently assume that we are using
33000
 
+      # Microsoft Visual C++.
33001
 
+      # hardcode_libdir_flag_spec is actually meaningless, as there is
33002
 
+      # no search path for DLLs.
33003
 
+      hardcode_libdir_flag_spec=' '
33004
 
+      allow_undefined_flag=unsupported
33005
 
+      # Tell ltmain to make .lib files, not .a files.
33006
 
+      libext=lib
33007
 
+      # Tell ltmain to make .dll files, not .so files.
33008
 
+      shrext_cmds=".dll"
33009
 
+      # FIXME: Setting linknames here is a bad hack.
33010
 
+      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
33011
 
+      # The linker will automatically build a .lib file if we build a DLL.
33012
 
+      old_archive_from_new_cmds='true'
33013
 
+      # FIXME: Should let the user specify the lib program.
33014
 
+      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
33015
 
+      fix_srcfile_path='`cygpath -w "$srcfile"`'
33016
 
+      enable_shared_with_static_runtimes=yes
33017
 
+      ;;
33018
 
 
33019
 
-    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
33020
 
-    then
33021
 
-      { { $as_echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
33022
 
-$as_echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
33023
 
-   { (exit 1); exit 1; }; }
33024
 
-    fi
33025
 
-
33026
 
-    # Update the list of available tags.
33027
 
-    if test -n "$tagname"; then
33028
 
-      echo appending configuration tag \"$tagname\" to $ofile
33029
 
-
33030
 
-      case $tagname in
33031
 
-      CXX)
33032
 
-       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
33033
 
-           ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
33034
 
-           (test "X$CXX" != "Xg++"))) ; then
33035
 
-         ac_ext=cpp
33036
 
-ac_cpp='$CXXCPP $CPPFLAGS'
33037
 
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33038
 
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33039
 
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33040
 
+    darwin* | rhapsody*)
33041
 
 
33042
 
 
33043
 
+  archive_cmds_need_lc=no
33044
 
+  hardcode_direct=no
33045
 
+  hardcode_automatic=yes
33046
 
+  hardcode_shlibpath_var=unsupported
33047
 
+  whole_archive_flag_spec=''
33048
 
+  link_all_deplibs=yes
33049
 
+  allow_undefined_flag="$_lt_dar_allow_undefined"
33050
 
+  case $cc_basename in
33051
 
+     ifort*) _lt_dar_can_shared=yes ;;
33052
 
+     *) _lt_dar_can_shared=$GCC ;;
33053
 
+  esac
33054
 
+  if test "$_lt_dar_can_shared" = "yes"; then
33055
 
+    output_verbose_link_cmd=echo
33056
 
+    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
33057
 
+    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
33058
 
+    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}"
33059
 
+    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}"
33060
 
 
33061
 
+  else
33062
 
+  ld_shlibs=no
33063
 
+  fi
33064
 
 
33065
 
-archive_cmds_need_lc_CXX=no
33066
 
-allow_undefined_flag_CXX=
33067
 
-always_export_symbols_CXX=no
33068
 
-archive_expsym_cmds_CXX=
33069
 
-export_dynamic_flag_spec_CXX=
33070
 
-hardcode_direct_CXX=no
33071
 
-hardcode_libdir_flag_spec_CXX=
33072
 
-hardcode_libdir_flag_spec_ld_CXX=
33073
 
-hardcode_libdir_separator_CXX=
33074
 
-hardcode_minus_L_CXX=no
33075
 
-hardcode_shlibpath_var_CXX=unsupported
33076
 
-hardcode_automatic_CXX=no
33077
 
-module_cmds_CXX=
33078
 
-module_expsym_cmds_CXX=
33079
 
-link_all_deplibs_CXX=unknown
33080
 
-old_archive_cmds_CXX=$old_archive_cmds
33081
 
-no_undefined_flag_CXX=
33082
 
-whole_archive_flag_spec_CXX=
33083
 
-enable_shared_with_static_runtimes_CXX=no
33084
 
+      ;;
33085
 
 
33086
 
-# Dependencies to place before and after the object being linked:
33087
 
-predep_objects_CXX=
33088
 
-postdep_objects_CXX=
33089
 
-predeps_CXX=
33090
 
-postdeps_CXX=
33091
 
-compiler_lib_search_path_CXX=
33092
 
-compiler_lib_search_dirs_CXX=
33093
 
+    dgux*)
33094
 
+      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
33095
 
+      hardcode_libdir_flag_spec='-L$libdir'
33096
 
+      hardcode_shlibpath_var=no
33097
 
+      ;;
33098
 
 
33099
 
-# Source file extension for C++ test sources.
33100
 
-ac_ext=cpp
33101
 
+    freebsd1*)
33102
 
+      ld_shlibs=no
33103
 
+      ;;
33104
 
 
33105
 
-# Object file extension for compiled C++ test sources.
33106
 
-objext=o
33107
 
-objext_CXX=$objext
33108
 
+    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
33109
 
+    # support.  Future versions do this automatically, but an explicit c++rt0.o
33110
 
+    # does not break anything, and helps significantly (at the cost of a little
33111
 
+    # extra space).
33112
 
+    freebsd2.2*)
33113
 
+      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
33114
 
+      hardcode_libdir_flag_spec='-R$libdir'
33115
 
+      hardcode_direct=yes
33116
 
+      hardcode_shlibpath_var=no
33117
 
+      ;;
33118
 
 
33119
 
-# Code to be used in simple compile tests
33120
 
-lt_simple_compile_test_code="int some_variable = 0;"
33121
 
+    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
33122
 
+    freebsd2*)
33123
 
+      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
33124
 
+      hardcode_direct=yes
33125
 
+      hardcode_minus_L=yes
33126
 
+      hardcode_shlibpath_var=no
33127
 
+      ;;
33128
 
 
33129
 
-# Code to be used in simple link tests
33130
 
-lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
33131
 
+    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
33132
 
+    freebsd* | dragonfly*)
33133
 
+      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
33134
 
+      hardcode_libdir_flag_spec='-R$libdir'
33135
 
+      hardcode_direct=yes
33136
 
+      hardcode_shlibpath_var=no
33137
 
+      ;;
33138
 
 
33139
 
-# ltmain only uses $CC for tagged configurations so make sure $CC is set.
33140
 
+    hpux9*)
33141
 
+      if test "$GCC" = yes; then
33142
 
+       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'
33143
 
+      else
33144
 
+       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'
33145
 
+      fi
33146
 
+      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
33147
 
+      hardcode_libdir_separator=:
33148
 
+      hardcode_direct=yes
33149
 
 
33150
 
-# If no C compiler was specified, use CC.
33151
 
-LTCC=${LTCC-"$CC"}
33152
 
+      # hardcode_minus_L: Not really in the search PATH,
33153
 
+      # but as the default location of the library.
33154
 
+      hardcode_minus_L=yes
33155
 
+      export_dynamic_flag_spec='${wl}-E'
33156
 
+      ;;
33157
 
 
33158
 
-# If no C compiler flags were specified, use CFLAGS.
33159
 
-LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
33160
 
+    hpux10*)
33161
 
+      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
33162
 
+       archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
33163
 
+      else
33164
 
+       archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
33165
 
+      fi
33166
 
+      if test "$with_gnu_ld" = no; then
33167
 
+       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
33168
 
+       hardcode_libdir_flag_spec_ld='+b $libdir'
33169
 
+       hardcode_libdir_separator=:
33170
 
+       hardcode_direct=yes
33171
 
+       hardcode_direct_absolute=yes
33172
 
+       export_dynamic_flag_spec='${wl}-E'
33173
 
+       # hardcode_minus_L: Not really in the search PATH,
33174
 
+       # but as the default location of the library.
33175
 
+       hardcode_minus_L=yes
33176
 
+      fi
33177
 
+      ;;
33178
 
 
33179
 
-# Allow CC to be a program name with arguments.
33180
 
-compiler=$CC
33181
 
+    hpux11*)
33182
 
+      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
33183
 
+       case $host_cpu in
33184
 
+       hppa*64*)
33185
 
+         archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
33186
 
+         ;;
33187
 
+       ia64*)
33188
 
+         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
33189
 
+         ;;
33190
 
+       *)
33191
 
+         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
33192
 
+         ;;
33193
 
+       esac
33194
 
+      else
33195
 
+       case $host_cpu in
33196
 
+       hppa*64*)
33197
 
+         archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
33198
 
+         ;;
33199
 
+       ia64*)
33200
 
+         archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
33201
 
+         ;;
33202
 
+       *)
33203
 
+         archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
33204
 
+         ;;
33205
 
+       esac
33206
 
+      fi
33207
 
+      if test "$with_gnu_ld" = no; then
33208
 
+       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
33209
 
+       hardcode_libdir_separator=:
33210
 
 
33211
 
+       case $host_cpu in
33212
 
+       hppa*64*|ia64*)
33213
 
+         hardcode_direct=no
33214
 
+         hardcode_shlibpath_var=no
33215
 
+         ;;
33216
 
+       *)
33217
 
+         hardcode_direct=yes
33218
 
+         hardcode_direct_absolute=yes
33219
 
+         export_dynamic_flag_spec='${wl}-E'
33220
 
 
33221
 
-# save warnings/boilerplate of simple test code
33222
 
-ac_outfile=conftest.$ac_objext
33223
 
-echo "$lt_simple_compile_test_code" >conftest.$ac_ext
33224
 
-eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
33225
 
-_lt_compiler_boilerplate=`cat conftest.err`
33226
 
-$rm conftest*
33227
 
-
33228
 
-ac_outfile=conftest.$ac_objext
33229
 
-echo "$lt_simple_link_test_code" >conftest.$ac_ext
33230
 
-eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
33231
 
-_lt_linker_boilerplate=`cat conftest.err`
33232
 
-$rm -r conftest*
33233
 
-
33234
 
-
33235
 
-# Allow CC to be a program name with arguments.
33236
 
-lt_save_CC=$CC
33237
 
-lt_save_LD=$LD
33238
 
-lt_save_GCC=$GCC
33239
 
-GCC=$GXX
33240
 
-lt_save_with_gnu_ld=$with_gnu_ld
33241
 
-lt_save_path_LD=$lt_cv_path_LD
33242
 
-if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
33243
 
-  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
33244
 
-else
33245
 
-  $as_unset lt_cv_prog_gnu_ld
33246
 
-fi
33247
 
-if test -n "${lt_cv_path_LDCXX+set}"; then
33248
 
-  lt_cv_path_LD=$lt_cv_path_LDCXX
33249
 
-else
33250
 
-  $as_unset lt_cv_path_LD
33251
 
-fi
33252
 
-test -z "${LDCXX+set}" || LD=$LDCXX
33253
 
-CC=${CXX-"c++"}
33254
 
-compiler=$CC
33255
 
-compiler_CXX=$CC
33256
 
-for cc_temp in $compiler""; do
33257
 
-  case $cc_temp in
33258
 
-    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
33259
 
-    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
33260
 
-    \-*) ;;
33261
 
-    *) break;;
33262
 
-  esac
33263
 
-done
33264
 
-cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
33265
 
-
33266
 
-
33267
 
-# We don't want -fno-exception wen compiling C++ code, so set the
33268
 
-# no_builtin_flag separately
33269
 
-if test "$GXX" = yes; then
33270
 
-  lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
33271
 
-else
33272
 
-  lt_prog_compiler_no_builtin_flag_CXX=
33273
 
-fi
33274
 
-
33275
 
-if test "$GXX" = yes; then
33276
 
-  # Set up default GNU C++ configuration
33277
 
+         # hardcode_minus_L: Not really in the search PATH,
33278
 
+         # but as the default location of the library.
33279
 
+         hardcode_minus_L=yes
33280
 
+         ;;
33281
 
+       esac
33282
 
+      fi
33283
 
+      ;;
33284
 
 
33285
 
+    irix5* | irix6* | nonstopux*)
33286
 
+      if test "$GCC" = yes; then
33287
 
+       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'
33288
 
+       # Try to use the -exported_symbol ld option, if it does not
33289
 
+       # work, assume that -exports_file does not work either and
33290
 
+       # implicitly export all symbols.
33291
 
+        save_LDFLAGS="$LDFLAGS"
33292
 
+        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
33293
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33294
 
+/* end confdefs.h.  */
33295
 
+int foo(void) {}
33296
 
+_ACEOF
33297
 
+if ac_fn_c_try_link "$LINENO"; then :
33298
 
+  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'
33299
 
 
33300
 
-# Check whether --with-gnu-ld was given.
33301
 
-if test "${with_gnu_ld+set}" = set; then
33302
 
-  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
33303
 
-else
33304
 
-  with_gnu_ld=no
33305
 
 fi
33306
 
-
33307
 
-ac_prog=ld
33308
 
-if test "$GCC" = yes; then
33309
 
-  # Check if gcc -print-prog-name=ld gives a path.
33310
 
-  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
33311
 
-$as_echo_n "checking for ld used by $CC... " >&6; }
33312
 
-  case $host in
33313
 
-  *-*-mingw*)
33314
 
-    # gcc leaves a trailing carriage return which upsets mingw
33315
 
-    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
33316
 
-  *)
33317
 
-    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
33318
 
-  esac
33319
 
-  case $ac_prog in
33320
 
-    # Accept absolute paths.
33321
 
-    [\\/]* | ?:[\\/]*)
33322
 
-      re_direlt='/[^/][^/]*/\.\./'
33323
 
-      # Canonicalize the pathname of ld
33324
 
-      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
33325
 
-      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
33326
 
-       ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
33327
 
-      done
33328
 
-      test -z "$LD" && LD="$ac_prog"
33329
 
+rm -f core conftest.err conftest.$ac_objext \
33330
 
+    conftest$ac_exeext conftest.$ac_ext
33331
 
+        LDFLAGS="$save_LDFLAGS"
33332
 
+      else
33333
 
+       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'
33334
 
+       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'
33335
 
+      fi
33336
 
+      archive_cmds_need_lc='no'
33337
 
+      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
33338
 
+      hardcode_libdir_separator=:
33339
 
+      inherit_rpath=yes
33340
 
+      link_all_deplibs=yes
33341
 
       ;;
33342
 
-  "")
33343
 
-    # If it fails, then pretend we aren't using GCC.
33344
 
-    ac_prog=ld
33345
 
-    ;;
33346
 
-  *)
33347
 
-    # If it is relative, then search for the first ld in PATH.
33348
 
-    with_gnu_ld=unknown
33349
 
-    ;;
33350
 
-  esac
33351
 
-elif test "$with_gnu_ld" = yes; then
33352
 
-  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
33353
 
-$as_echo_n "checking for GNU ld... " >&6; }
33354
 
-else
33355
 
-  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
33356
 
-$as_echo_n "checking for non-GNU ld... " >&6; }
33357
 
-fi
33358
 
-if test "${lt_cv_path_LD+set}" = set; then
33359
 
-  $as_echo_n "(cached) " >&6
33360
 
-else
33361
 
-  if test -z "$LD"; then
33362
 
-  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
33363
 
-  for ac_dir in $PATH; do
33364
 
-    IFS="$lt_save_ifs"
33365
 
-    test -z "$ac_dir" && ac_dir=.
33366
 
-    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
33367
 
-      lt_cv_path_LD="$ac_dir/$ac_prog"
33368
 
-      # Check to see if the program is GNU ld.  I'd rather use --version,
33369
 
-      # but apparently some variants of GNU ld only accept -v.
33370
 
-      # Break only if it was the GNU/non-GNU ld that we prefer.
33371
 
-      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
33372
 
-      *GNU* | *'with BFD'*)
33373
 
-       test "$with_gnu_ld" != no && break
33374
 
-       ;;
33375
 
-      *)
33376
 
-       test "$with_gnu_ld" != yes && break
33377
 
-       ;;
33378
 
-      esac
33379
 
-    fi
33380
 
-  done
33381
 
-  IFS="$lt_save_ifs"
33382
 
-else
33383
 
-  lt_cv_path_LD="$LD" # Let the user override the test with a path.
33384
 
-fi
33385
 
-fi
33386
 
-
33387
 
-LD="$lt_cv_path_LD"
33388
 
-if test -n "$LD"; then
33389
 
-  { $as_echo "$as_me:$LINENO: result: $LD" >&5
33390
 
-$as_echo "$LD" >&6; }
33391
 
-else
33392
 
-  { $as_echo "$as_me:$LINENO: result: no" >&5
33393
 
-$as_echo "no" >&6; }
33394
 
-fi
33395
 
-test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
33396
 
-$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
33397
 
-   { (exit 1); exit 1; }; }
33398
 
-{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
33399
 
-$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
33400
 
-if test "${lt_cv_prog_gnu_ld+set}" = set; then
33401
 
-  $as_echo_n "(cached) " >&6
33402
 
-else
33403
 
-  # I'd rather use --version here, but apparently some GNU lds only accept -v.
33404
 
-case `$LD -v 2>&1 </dev/null` in
33405
 
-*GNU* | *'with BFD'*)
33406
 
-  lt_cv_prog_gnu_ld=yes
33407
 
-  ;;
33408
 
-*)
33409
 
-  lt_cv_prog_gnu_ld=no
33410
 
-  ;;
33411
 
-esac
33412
 
-fi
33413
 
-{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
33414
 
-$as_echo "$lt_cv_prog_gnu_ld" >&6; }
33415
 
-with_gnu_ld=$lt_cv_prog_gnu_ld
33416
 
-
33417
 
-
33418
 
-
33419
 
-  # Check if GNU C++ uses GNU ld as the underlying linker, since the
33420
 
-  # archiving commands below assume that GNU ld is being used.
33421
 
-  if test "$with_gnu_ld" = yes; then
33422
 
-    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
33423
 
-    archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
33424
 
-
33425
 
-    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
33426
 
-    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
33427
 
-
33428
 
-    # If archive_cmds runs LD, not CC, wlarc should be empty
33429
 
-    # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
33430
 
-    #     investigate it a little bit more. (MM)
33431
 
-    wlarc='${wl}'
33432
 
 
33433
 
-    # ancient GNU ld didn't support --whole-archive et. al.
33434
 
-    if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
33435
 
-       grep 'no-whole-archive' > /dev/null; then
33436
 
-      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
33437
 
-    else
33438
 
-      whole_archive_flag_spec_CXX=
33439
 
-    fi
33440
 
-  else
33441
 
-    with_gnu_ld=no
33442
 
-    wlarc=
33443
 
+    netbsd* | netbsdelf*-gnu)
33444
 
+      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
33445
 
+       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
33446
 
+      else
33447
 
+       archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
33448
 
+      fi
33449
 
+      hardcode_libdir_flag_spec='-R$libdir'
33450
 
+      hardcode_direct=yes
33451
 
+      hardcode_shlibpath_var=no
33452
 
+      ;;
33453
 
 
33454
 
-    # A generic and very simple default shared library creation
33455
 
-    # command for GNU C++ for the case where it uses the native
33456
 
-    # linker, instead of GNU ld.  If possible, this setting should
33457
 
-    # overridden to take advantage of the native linker features on
33458
 
-    # the platform it is being used on.
33459
 
-    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
33460
 
-  fi
33461
 
+    newsos6)
33462
 
+      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
33463
 
+      hardcode_direct=yes
33464
 
+      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
33465
 
+      hardcode_libdir_separator=:
33466
 
+      hardcode_shlibpath_var=no
33467
 
+      ;;
33468
 
 
33469
 
-  # Commands to make compiler produce verbose output that lists
33470
 
-  # what "hidden" libraries, object files and flags are used when
33471
 
-  # linking a shared library.
33472
 
-  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
33473
 
+    *nto* | *qnx*)
33474
 
+      ;;
33475
 
 
33476
 
-else
33477
 
-  GXX=no
33478
 
-  with_gnu_ld=no
33479
 
-  wlarc=
33480
 
-fi
33481
 
+    openbsd*)
33482
 
+      if test -f /usr/libexec/ld.so; then
33483
 
+       hardcode_direct=yes
33484
 
+       hardcode_shlibpath_var=no
33485
 
+       hardcode_direct_absolute=yes
33486
 
+       if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
33487
 
+         archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
33488
 
+         archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
33489
 
+         hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
33490
 
+         export_dynamic_flag_spec='${wl}-E'
33491
 
+       else
33492
 
+         case $host_os in
33493
 
+          openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
33494
 
+            archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
33495
 
+            hardcode_libdir_flag_spec='-R$libdir'
33496
 
+            ;;
33497
 
+          *)
33498
 
+            archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
33499
 
+            hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
33500
 
+            ;;
33501
 
+         esac
33502
 
+       fi
33503
 
+      else
33504
 
+       ld_shlibs=no
33505
 
+      fi
33506
 
+      ;;
33507
 
 
33508
 
-# PORTME: fill in a description of your system's C++ link characteristics
33509
 
-{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
33510
 
-$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
33511
 
-ld_shlibs_CXX=yes
33512
 
-case $host_os in
33513
 
-  aix3*)
33514
 
-    # FIXME: insert proper C++ library support
33515
 
-    ld_shlibs_CXX=no
33516
 
-    ;;
33517
 
-  aix[4-9]*)
33518
 
-    if test "$host_cpu" = ia64; then
33519
 
-      # On IA64, the linker does run time linking by default, so we don't
33520
 
-      # have to do anything special.
33521
 
-      aix_use_runtimelinking=no
33522
 
-      exp_sym_flag='-Bexport'
33523
 
-      no_entry_flag=""
33524
 
-    else
33525
 
-      aix_use_runtimelinking=no
33526
 
+    os2*)
33527
 
+      hardcode_libdir_flag_spec='-L$libdir'
33528
 
+      hardcode_minus_L=yes
33529
 
+      allow_undefined_flag=unsupported
33530
 
+      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'
33531
 
+      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
33532
 
+      ;;
33533
 
 
33534
 
-      # Test if we are trying to use run time linking or normal
33535
 
-      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
33536
 
-      # need to do runtime linking.
33537
 
-      case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
33538
 
-       for ld_flag in $LDFLAGS; do
33539
 
-         case $ld_flag in
33540
 
-         *-brtl*)
33541
 
-           aix_use_runtimelinking=yes
33542
 
-           break
33543
 
-           ;;
33544
 
-         esac
33545
 
-       done
33546
 
-       ;;
33547
 
-      esac
33548
 
+    osf3*)
33549
 
+      if test "$GCC" = yes; then
33550
 
+       allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
33551
 
+       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'
33552
 
+      else
33553
 
+       allow_undefined_flag=' -expect_unresolved \*'
33554
 
+       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'
33555
 
+      fi
33556
 
+      archive_cmds_need_lc='no'
33557
 
+      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
33558
 
+      hardcode_libdir_separator=:
33559
 
+      ;;
33560
 
 
33561
 
-      exp_sym_flag='-bexport'
33562
 
-      no_entry_flag='-bnoentry'
33563
 
-    fi
33564
 
+    osf4* | osf5*)     # as osf3* with the addition of -msym flag
33565
 
+      if test "$GCC" = yes; then
33566
 
+       allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
33567
 
+       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'
33568
 
+       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
33569
 
+      else
33570
 
+       allow_undefined_flag=' -expect_unresolved \*'
33571
 
+       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'
33572
 
+       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~
33573
 
+       $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'
33574
 
 
33575
 
-    # When large executables or shared objects are built, AIX ld can
33576
 
-    # have problems creating the table of contents.  If linking a library
33577
 
-    # or program results in "error TOC overflow" add -mminimal-toc to
33578
 
-    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
33579
 
-    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
33580
 
-
33581
 
-    archive_cmds_CXX=''
33582
 
-    hardcode_direct_CXX=yes
33583
 
-    hardcode_libdir_separator_CXX=':'
33584
 
-    link_all_deplibs_CXX=yes
33585
 
+       # Both c and cxx compiler support -rpath directly
33586
 
+       hardcode_libdir_flag_spec='-rpath $libdir'
33587
 
+      fi
33588
 
+      archive_cmds_need_lc='no'
33589
 
+      hardcode_libdir_separator=:
33590
 
+      ;;
33591
 
 
33592
 
-    if test "$GXX" = yes; then
33593
 
-      case $host_os in aix4.[012]|aix4.[012].*)
33594
 
-      # We only want to do this on AIX 4.2 and lower, the check
33595
 
-      # below for broken collect2 doesn't work under 4.3+
33596
 
-       collect2name=`${CC} -print-prog-name=collect2`
33597
 
-       if test -f "$collect2name" && \
33598
 
-          strings "$collect2name" | grep resolve_lib_name >/dev/null
33599
 
-       then
33600
 
-         # We have reworked collect2
33601
 
-         :
33602
 
+    solaris*)
33603
 
+      no_undefined_flag=' -z defs'
33604
 
+      if test "$GCC" = yes; then
33605
 
+       wlarc='${wl}'
33606
 
+       archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
33607
 
+       archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
33608
 
+         $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
33609
 
+      else
33610
 
+       case `$CC -V 2>&1` in
33611
 
+       *"Compilers 5.0"*)
33612
 
+         wlarc=''
33613
 
+         archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
33614
 
+         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
33615
 
+         $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
33616
 
+         ;;
33617
 
+       *)
33618
 
+         wlarc='${wl}'
33619
 
+         archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
33620
 
+         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
33621
 
+         $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
33622
 
+         ;;
33623
 
+       esac
33624
 
+      fi
33625
 
+      hardcode_libdir_flag_spec='-R$libdir'
33626
 
+      hardcode_shlibpath_var=no
33627
 
+      case $host_os in
33628
 
+      solaris2.[0-5] | solaris2.[0-5].*) ;;
33629
 
+      *)
33630
 
+       # The compiler driver will combine and reorder linker options,
33631
 
+       # but understands `-z linker_flag'.  GCC discards it without `$wl',
33632
 
+       # but is careful enough not to reorder.
33633
 
+       # Supported since Solaris 2.6 (maybe 2.5.1?)
33634
 
+       if test "$GCC" = yes; then
33635
 
+         whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
33636
 
        else
33637
 
-         # We have old collect2
33638
 
-         hardcode_direct_CXX=unsupported
33639
 
-         # It fails to find uninstalled libraries when the uninstalled
33640
 
-         # path is not listed in the libpath.  Setting hardcode_minus_L
33641
 
-         # to unsupported forces relinking
33642
 
-         hardcode_minus_L_CXX=yes
33643
 
-         hardcode_libdir_flag_spec_CXX='-L$libdir'
33644
 
-         hardcode_libdir_separator_CXX=
33645
 
+         whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
33646
 
        fi
33647
 
        ;;
33648
 
       esac
33649
 
-      shared_flag='-shared'
33650
 
-      if test "$aix_use_runtimelinking" = yes; then
33651
 
-       shared_flag="$shared_flag "'${wl}-G'
33652
 
-      fi
33653
 
-    else
33654
 
-      # not using gcc
33655
 
-      if test "$host_cpu" = ia64; then
33656
 
-       # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
33657
 
-       # chokes on -Wl,-G. The following line is correct:
33658
 
-       shared_flag='-G'
33659
 
+      link_all_deplibs=yes
33660
 
+      ;;
33661
 
+
33662
 
+    sunos4*)
33663
 
+      if test "x$host_vendor" = xsequent; then
33664
 
+       # Use $CC to link under sequent, because it throws in some extra .o
33665
 
+       # files that make .init and .fini sections work.
33666
 
+       archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
33667
 
       else
33668
 
-       if test "$aix_use_runtimelinking" = yes; then
33669
 
-         shared_flag='${wl}-G'
33670
 
-       else
33671
 
-         shared_flag='${wl}-bM:SRE'
33672
 
-       fi
33673
 
+       archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
33674
 
       fi
33675
 
-    fi
33676
 
+      hardcode_libdir_flag_spec='-L$libdir'
33677
 
+      hardcode_direct=yes
33678
 
+      hardcode_minus_L=yes
33679
 
+      hardcode_shlibpath_var=no
33680
 
+      ;;
33681
 
+
33682
 
+    sysv4)
33683
 
+      case $host_vendor in
33684
 
+       sni)
33685
 
+         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
33686
 
+         hardcode_direct=yes # is this really true???
33687
 
+       ;;
33688
 
+       siemens)
33689
 
+         ## LD is ld it makes a PLAMLIB
33690
 
+         ## CC just makes a GrossModule.
33691
 
+         archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
33692
 
+         reload_cmds='$CC -r -o $output$reload_objs'
33693
 
+         hardcode_direct=no
33694
 
+        ;;
33695
 
+       motorola)
33696
 
+         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
33697
 
+         hardcode_direct=no #Motorola manual says yes, but my tests say they lie
33698
 
+       ;;
33699
 
+      esac
33700
 
+      runpath_var='LD_RUN_PATH'
33701
 
+      hardcode_shlibpath_var=no
33702
 
+      ;;
33703
 
+
33704
 
+    sysv4.3*)
33705
 
+      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
33706
 
+      hardcode_shlibpath_var=no
33707
 
+      export_dynamic_flag_spec='-Bexport'
33708
 
+      ;;
33709
 
+
33710
 
+    sysv4*MP*)
33711
 
+      if test -d /usr/nec; then
33712
 
+       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
33713
 
+       hardcode_shlibpath_var=no
33714
 
+       runpath_var=LD_RUN_PATH
33715
 
+       hardcode_runpath_var=yes
33716
 
+       ld_shlibs=yes
33717
 
+      fi
33718
 
+      ;;
33719
 
+
33720
 
+    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
33721
 
+      no_undefined_flag='${wl}-z,text'
33722
 
+      archive_cmds_need_lc=no
33723
 
+      hardcode_shlibpath_var=no
33724
 
+      runpath_var='LD_RUN_PATH'
33725
 
+
33726
 
+      if test "$GCC" = yes; then
33727
 
+       archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
33728
 
+       archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
33729
 
+      else
33730
 
+       archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
33731
 
+       archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
33732
 
+      fi
33733
 
+      ;;
33734
 
+
33735
 
+    sysv5* | sco3.2v5* | sco5v6*)
33736
 
+      # Note: We can NOT use -z defs as we might desire, because we do not
33737
 
+      # link with -lc, and that would cause any symbols used from libc to
33738
 
+      # always be unresolved, which means just about no library would
33739
 
+      # ever link correctly.  If we're not using GNU ld we use -z text
33740
 
+      # though, which does catch some bad symbols but isn't as heavy-handed
33741
 
+      # as -z defs.
33742
 
+      no_undefined_flag='${wl}-z,text'
33743
 
+      allow_undefined_flag='${wl}-z,nodefs'
33744
 
+      archive_cmds_need_lc=no
33745
 
+      hardcode_shlibpath_var=no
33746
 
+      hardcode_libdir_flag_spec='${wl}-R,$libdir'
33747
 
+      hardcode_libdir_separator=':'
33748
 
+      link_all_deplibs=yes
33749
 
+      export_dynamic_flag_spec='${wl}-Bexport'
33750
 
+      runpath_var='LD_RUN_PATH'
33751
 
+
33752
 
+      if test "$GCC" = yes; then
33753
 
+       archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
33754
 
+       archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
33755
 
+      else
33756
 
+       archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
33757
 
+       archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
33758
 
+      fi
33759
 
+      ;;
33760
 
+
33761
 
+    uts4*)
33762
 
+      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
33763
 
+      hardcode_libdir_flag_spec='-L$libdir'
33764
 
+      hardcode_shlibpath_var=no
33765
 
+      ;;
33766
 
+
33767
 
+    *)
33768
 
+      ld_shlibs=no
33769
 
+      ;;
33770
 
+    esac
33771
 
+
33772
 
+    if test x$host_vendor = xsni; then
33773
 
+      case $host in
33774
 
+      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
33775
 
+       export_dynamic_flag_spec='${wl}-Blargedynsym'
33776
 
+       ;;
33777
 
+      esac
33778
 
+    fi
33779
 
+  fi
33780
 
+
33781
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
33782
 
+$as_echo "$ld_shlibs" >&6; }
33783
 
+test "$ld_shlibs" = no && can_build_shared=no
33784
 
+
33785
 
+with_gnu_ld=$with_gnu_ld
33786
 
+
33787
 
+
33788
 
+
33789
 
+
33790
 
+
33791
 
+
33792
 
+
33793
 
+
33794
 
+
33795
 
+
33796
 
+
33797
 
+
33798
 
+
33799
 
+
33800
 
+
33801
 
+#
33802
 
+# Do we need to explicitly link libc?
33803
 
+#
33804
 
+case "x$archive_cmds_need_lc" in
33805
 
+x|xyes)
33806
 
+  # Assume -lc should be added
33807
 
+  archive_cmds_need_lc=yes
33808
 
+
33809
 
+  if test "$enable_shared" = yes && test "$GCC" = yes; then
33810
 
+    case $archive_cmds in
33811
 
+    *'~'*)
33812
 
+      # FIXME: we may have to deal with multi-command sequences.
33813
 
+      ;;
33814
 
+    '$CC '*)
33815
 
+      # Test whether the compiler implicitly links with -lc since on some
33816
 
+      # systems, -lgcc has to come before -lc. If gcc already passes -lc
33817
 
+      # to ld, don't add -lc before -lgcc.
33818
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
33819
 
+$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
33820
 
+      $RM conftest*
33821
 
+      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
33822
 
+
33823
 
+      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
33824
 
+  (eval $ac_compile) 2>&5
33825
 
+  ac_status=$?
33826
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33827
 
+  test $ac_status = 0; } 2>conftest.err; then
33828
 
+        soname=conftest
33829
 
+        lib=conftest
33830
 
+        libobjs=conftest.$ac_objext
33831
 
+        deplibs=
33832
 
+        wl=$lt_prog_compiler_wl
33833
 
+       pic_flag=$lt_prog_compiler_pic
33834
 
+        compiler_flags=-v
33835
 
+        linker_flags=-v
33836
 
+        verstring=
33837
 
+        output_objdir=.
33838
 
+        libname=conftest
33839
 
+        lt_save_allow_undefined_flag=$allow_undefined_flag
33840
 
+        allow_undefined_flag=
33841
 
+        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
33842
 
+  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
33843
 
+  ac_status=$?
33844
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33845
 
+  test $ac_status = 0; }
33846
 
+        then
33847
 
+         archive_cmds_need_lc=no
33848
 
+        else
33849
 
+         archive_cmds_need_lc=yes
33850
 
+        fi
33851
 
+        allow_undefined_flag=$lt_save_allow_undefined_flag
33852
 
+      else
33853
 
+        cat conftest.err 1>&5
33854
 
+      fi
33855
 
+      $RM conftest*
33856
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
33857
 
+$as_echo "$archive_cmds_need_lc" >&6; }
33858
 
+      ;;
33859
 
+    esac
33860
 
+  fi
33861
 
+  ;;
33862
 
+esac
33863
 
+
33864
 
+
33865
 
+
33866
 
+
33867
 
+
33868
 
+
33869
 
+
33870
 
+
33871
 
+
33872
 
+
33873
 
+
33874
 
+
33875
 
+
33876
 
+
33877
 
+
33878
 
+
33879
 
+
33880
 
+
33881
 
+
33882
 
+
33883
 
+
33884
 
+
33885
 
+
33886
 
+
33887
 
+
33888
 
+
33889
 
+
33890
 
+
33891
 
+
33892
 
+
33893
 
+
33894
 
+
33895
 
+
33896
 
+
33897
 
+
33898
 
+
33899
 
+
33900
 
+
33901
 
+
33902
 
+
33903
 
+
33904
 
+
33905
 
+
33906
 
+
33907
 
+
33908
 
+
33909
 
+
33910
 
+
33911
 
+
33912
 
+
33913
 
+
33914
 
+
33915
 
+
33916
 
+
33917
 
+
33918
 
+
33919
 
+
33920
 
+
33921
 
+
33922
 
+
33923
 
+
33924
 
+
33925
 
+
33926
 
 
33927
 
-    # It seems that -bexpall does not export symbols beginning with
33928
 
-    # underscore (_), so it is better to generate a list of symbols to export.
33929
 
-    always_export_symbols_CXX=yes
33930
 
-    if test "$aix_use_runtimelinking" = yes; then
33931
 
-      # Warning - without using the other runtime loading flags (-brtl),
33932
 
-      # -berok will link without error, but may produce a broken library.
33933
 
-      allow_undefined_flag_CXX='-berok'
33934
 
-      # Determine the default libpath from the value encoded in an empty executable.
33935
 
-      cat >conftest.$ac_ext <<_ACEOF
33936
 
-/* confdefs.h.  */
33937
 
-_ACEOF
33938
 
-cat confdefs.h >>conftest.$ac_ext
33939
 
-cat >>conftest.$ac_ext <<_ACEOF
33940
 
-/* end confdefs.h.  */
33941
 
 
33942
 
-int
33943
 
-main ()
33944
 
-{
33945
 
 
33946
 
-  ;
33947
 
-  return 0;
33948
 
-}
33949
 
-_ACEOF
33950
 
-rm -f conftest.$ac_objext conftest$ac_exeext
33951
 
-if { (ac_try="$ac_link"
33952
 
-case "(($ac_try" in
33953
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33954
 
-  *) ac_try_echo=$ac_try;;
33955
 
-esac
33956
 
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
33957
 
-$as_echo "$ac_try_echo") >&5
33958
 
-  (eval "$ac_link") 2>conftest.er1
33959
 
-  ac_status=$?
33960
 
-  grep -v '^ *+' conftest.er1 >conftest.err
33961
 
-  rm -f conftest.er1
33962
 
-  cat conftest.err >&5
33963
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
33964
 
-  (exit $ac_status); } && {
33965
 
-        test -z "$ac_cxx_werror_flag" ||
33966
 
-        test ! -s conftest.err
33967
 
-       } && test -s conftest$ac_exeext && {
33968
 
-        test "$cross_compiling" = yes ||
33969
 
-        $as_test_x conftest$ac_exeext
33970
 
-       }; then
33971
 
 
33972
 
-lt_aix_libpath_sed='
33973
 
-    /Import File Strings/,/^$/ {
33974
 
-       /^0/ {
33975
 
-           s/^0  *\(.*\)$/\1/
33976
 
-           p
33977
 
-       }
33978
 
-    }'
33979
 
-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
33980
 
-# Check for a 64-bit object if we didn't find anything.
33981
 
-if test -z "$aix_libpath"; then
33982
 
-  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
33983
 
-fi
33984
 
-else
33985
 
-  $as_echo "$as_me: failed program was:" >&5
33986
 
-sed 's/^/| /' conftest.$ac_ext >&5
33987
 
 
33988
 
 
33989
 
-fi
33990
 
 
33991
 
-rm -rf conftest.dSYM
33992
 
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33993
 
-      conftest$ac_exeext conftest.$ac_ext
33994
 
-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
33995
 
 
33996
 
-      hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
33997
 
 
33998
 
-      archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
33999
 
-     else
34000
 
-      if test "$host_cpu" = ia64; then
34001
 
-       hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
34002
 
-       allow_undefined_flag_CXX="-z nodefs"
34003
 
-       archive_expsym_cmds_CXX="\$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"
34004
 
-      else
34005
 
-       # Determine the default libpath from the value encoded in an empty executable.
34006
 
-       cat >conftest.$ac_ext <<_ACEOF
34007
 
-/* confdefs.h.  */
34008
 
-_ACEOF
34009
 
-cat confdefs.h >>conftest.$ac_ext
34010
 
-cat >>conftest.$ac_ext <<_ACEOF
34011
 
-/* end confdefs.h.  */
34012
 
 
34013
 
-int
34014
 
-main ()
34015
 
-{
34016
 
 
34017
 
-  ;
34018
 
-  return 0;
34019
 
-}
34020
 
-_ACEOF
34021
 
-rm -f conftest.$ac_objext conftest$ac_exeext
34022
 
-if { (ac_try="$ac_link"
34023
 
-case "(($ac_try" in
34024
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34025
 
-  *) ac_try_echo=$ac_try;;
34026
 
-esac
34027
 
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
34028
 
-$as_echo "$ac_try_echo") >&5
34029
 
-  (eval "$ac_link") 2>conftest.er1
34030
 
-  ac_status=$?
34031
 
-  grep -v '^ *+' conftest.er1 >conftest.err
34032
 
-  rm -f conftest.er1
34033
 
-  cat conftest.err >&5
34034
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
34035
 
-  (exit $ac_status); } && {
34036
 
-        test -z "$ac_cxx_werror_flag" ||
34037
 
-        test ! -s conftest.err
34038
 
-       } && test -s conftest$ac_exeext && {
34039
 
-        test "$cross_compiling" = yes ||
34040
 
-        $as_test_x conftest$ac_exeext
34041
 
-       }; then
34042
 
 
34043
 
-lt_aix_libpath_sed='
34044
 
-    /Import File Strings/,/^$/ {
34045
 
-       /^0/ {
34046
 
-           s/^0  *\(.*\)$/\1/
34047
 
-           p
34048
 
-       }
34049
 
-    }'
34050
 
-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
34051
 
-# Check for a 64-bit object if we didn't find anything.
34052
 
-if test -z "$aix_libpath"; then
34053
 
-  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
34054
 
-fi
34055
 
-else
34056
 
-  $as_echo "$as_me: failed program was:" >&5
34057
 
-sed 's/^/| /' conftest.$ac_ext >&5
34058
 
 
34059
 
 
34060
 
-fi
34061
 
 
34062
 
-rm -rf conftest.dSYM
34063
 
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34064
 
-      conftest$ac_exeext conftest.$ac_ext
34065
 
-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
34066
 
 
34067
 
-       hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
34068
 
-       # Warning - without using the other run time loading flags,
34069
 
-       # -berok will link without error, but may produce a broken library.
34070
 
-       no_undefined_flag_CXX=' ${wl}-bernotok'
34071
 
-       allow_undefined_flag_CXX=' ${wl}-berok'
34072
 
-       # Exported symbols can be pulled into shared objects from archives
34073
 
-       whole_archive_flag_spec_CXX='$convenience'
34074
 
-       archive_cmds_need_lc_CXX=yes
34075
 
-       # This is similar to how AIX traditionally builds its shared libraries.
34076
 
-       archive_expsym_cmds_CXX="\$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'
34077
 
-      fi
34078
 
-    fi
34079
 
-    ;;
34080
 
 
34081
 
-  beos*)
34082
 
-    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
34083
 
-      allow_undefined_flag_CXX=unsupported
34084
 
-      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
34085
 
-      # support --undefined.  This deserves some investigation.  FIXME
34086
 
-      archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
34087
 
-    else
34088
 
-      ld_shlibs_CXX=no
34089
 
-    fi
34090
 
-    ;;
34091
 
 
34092
 
-  chorus*)
34093
 
-    case $cc_basename in
34094
 
-      *)
34095
 
-       # FIXME: insert proper C++ library support
34096
 
-       ld_shlibs_CXX=no
34097
 
-       ;;
34098
 
-    esac
34099
 
-    ;;
34100
 
 
34101
 
-  cygwin* | mingw* | pw32*)
34102
 
-    # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
34103
 
-    # as there is no search path for DLLs.
34104
 
-    hardcode_libdir_flag_spec_CXX='-L$libdir'
34105
 
-    allow_undefined_flag_CXX=unsupported
34106
 
-    always_export_symbols_CXX=no
34107
 
-    enable_shared_with_static_runtimes_CXX=yes
34108
 
-
34109
 
-    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
34110
 
-      archive_cmds_CXX='$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'
34111
 
-      # If the export-symbols file already is a .def file (1st line
34112
 
-      # is EXPORTS), use it as is; otherwise, prepend...
34113
 
-      archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
34114
 
-       cp $export_symbols $output_objdir/$soname.def;
34115
 
-      else
34116
 
-       echo EXPORTS > $output_objdir/$soname.def;
34117
 
-       cat $export_symbols >> $output_objdir/$soname.def;
34118
 
-      fi~
34119
 
-      $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'
34120
 
-    else
34121
 
-      ld_shlibs_CXX=no
34122
 
-    fi
34123
 
-  ;;
34124
 
-      darwin* | rhapsody*)
34125
 
-      archive_cmds_need_lc_CXX=no
34126
 
-      hardcode_direct_CXX=no
34127
 
-      hardcode_automatic_CXX=yes
34128
 
-      hardcode_shlibpath_var_CXX=unsupported
34129
 
-      whole_archive_flag_spec_CXX=''
34130
 
-      link_all_deplibs_CXX=yes
34131
 
-      allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
34132
 
-      if test "$GXX" = yes ; then
34133
 
-      output_verbose_link_cmd='echo'
34134
 
-      archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
34135
 
-      module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
34136
 
-      archive_expsym_cmds_CXX="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}"
34137
 
-      module_expsym_cmds_CXX="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}"
34138
 
-      if test "$lt_cv_apple_cc_single_mod" != "yes"; then
34139
 
-        archive_cmds_CXX="\$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}"
34140
 
-        archive_expsym_cmds_CXX="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}"
34141
 
-      fi
34142
 
-      else
34143
 
-      case $cc_basename in
34144
 
-        xlc*)
34145
 
-         output_verbose_link_cmd='echo'
34146
 
-          archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
34147
 
-          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
34148
 
-          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
34149
 
-          archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
34150
 
-          module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
34151
 
-          ;;
34152
 
-       *)
34153
 
-         ld_shlibs_CXX=no
34154
 
-          ;;
34155
 
-      esac
34156
 
-      fi
34157
 
-        ;;
34158
 
 
34159
 
-  dgux*)
34160
 
-    case $cc_basename in
34161
 
-      ec++*)
34162
 
-       # FIXME: insert proper C++ library support
34163
 
-       ld_shlibs_CXX=no
34164
 
-       ;;
34165
 
-      ghcx*)
34166
 
-       # Green Hills C++ Compiler
34167
 
-       # FIXME: insert proper C++ library support
34168
 
-       ld_shlibs_CXX=no
34169
 
-       ;;
34170
 
-      *)
34171
 
-       # FIXME: insert proper C++ library support
34172
 
-       ld_shlibs_CXX=no
34173
 
-       ;;
34174
 
-    esac
34175
 
-    ;;
34176
 
-  freebsd[12]*)
34177
 
-    # C++ shared libraries reported to be fairly broken before switch to ELF
34178
 
-    ld_shlibs_CXX=no
34179
 
-    ;;
34180
 
-  freebsd-elf*)
34181
 
-    archive_cmds_need_lc_CXX=no
34182
 
-    ;;
34183
 
-  freebsd* | dragonfly*)
34184
 
-    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
34185
 
-    # conventions
34186
 
-    ld_shlibs_CXX=yes
34187
 
-    ;;
34188
 
-  gnu*)
34189
 
-    ;;
34190
 
-  hpux9*)
34191
 
-    hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
34192
 
-    hardcode_libdir_separator_CXX=:
34193
 
-    export_dynamic_flag_spec_CXX='${wl}-E'
34194
 
-    hardcode_direct_CXX=yes
34195
 
-    hardcode_minus_L_CXX=yes # Not in the search PATH,
34196
 
-                               # but as the default
34197
 
-                               # location of the library.
34198
 
-
34199
 
-    case $cc_basename in
34200
 
-    CC*)
34201
 
-      # FIXME: insert proper C++ library support
34202
 
-      ld_shlibs_CXX=no
34203
 
-      ;;
34204
 
-    aCC*)
34205
 
-      archive_cmds_CXX='$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'
34206
 
-      # Commands to make compiler produce verbose output that lists
34207
 
-      # what "hidden" libraries, object files and flags are used when
34208
 
-      # linking a shared library.
34209
 
-      #
34210
 
-      # There doesn't appear to be a way to prevent this compiler from
34211
 
-      # explicitly linking system object files so we need to strip them
34212
 
-      # from the output so that they don't get included in the library
34213
 
-      # dependencies.
34214
 
-      output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
34215
 
-      ;;
34216
 
-    *)
34217
 
-      if test "$GXX" = yes; then
34218
 
-        archive_cmds_CXX='$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'
34219
 
-      else
34220
 
-        # FIXME: insert proper C++ library support
34221
 
-        ld_shlibs_CXX=no
34222
 
-      fi
34223
 
-      ;;
34224
 
-    esac
34225
 
-    ;;
34226
 
-  hpux10*|hpux11*)
34227
 
-    if test $with_gnu_ld = no; then
34228
 
-      hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
34229
 
-      hardcode_libdir_separator_CXX=:
34230
 
 
34231
 
-      case $host_cpu in
34232
 
-      hppa*64*|ia64*) ;;
34233
 
-      *)
34234
 
-       export_dynamic_flag_spec_CXX='${wl}-E'
34235
 
-        ;;
34236
 
-      esac
34237
 
-    fi
34238
 
-    case $host_cpu in
34239
 
-    hppa*64*|ia64*)
34240
 
-      hardcode_direct_CXX=no
34241
 
-      hardcode_shlibpath_var_CXX=no
34242
 
-      ;;
34243
 
-    *)
34244
 
-      hardcode_direct_CXX=yes
34245
 
-      hardcode_minus_L_CXX=yes # Not in the search PATH,
34246
 
-                                             # but as the default
34247
 
-                                             # location of the library.
34248
 
-      ;;
34249
 
-    esac
34250
 
 
34251
 
-    case $cc_basename in
34252
 
-      CC*)
34253
 
-       # FIXME: insert proper C++ library support
34254
 
-       ld_shlibs_CXX=no
34255
 
-       ;;
34256
 
-      aCC*)
34257
 
-       case $host_cpu in
34258
 
-       hppa*64*)
34259
 
-         archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
34260
 
-         ;;
34261
 
-       ia64*)
34262
 
-         archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
34263
 
-         ;;
34264
 
-       *)
34265
 
-         archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
34266
 
-         ;;
34267
 
-       esac
34268
 
-       # Commands to make compiler produce verbose output that lists
34269
 
-       # what "hidden" libraries, object files and flags are used when
34270
 
-       # linking a shared library.
34271
 
-       #
34272
 
-       # There doesn't appear to be a way to prevent this compiler from
34273
 
-       # explicitly linking system object files so we need to strip them
34274
 
-       # from the output so that they don't get included in the library
34275
 
-       # dependencies.
34276
 
-       output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
34277
 
-       ;;
34278
 
-      *)
34279
 
-       if test "$GXX" = yes; then
34280
 
-         if test $with_gnu_ld = no; then
34281
 
-           case $host_cpu in
34282
 
-           hppa*64*)
34283
 
-             archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
34284
 
-             ;;
34285
 
-           ia64*)
34286
 
-             archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
34287
 
-             ;;
34288
 
-           *)
34289
 
-             archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
34290
 
-             ;;
34291
 
-           esac
34292
 
-         fi
34293
 
-       else
34294
 
-         # FIXME: insert proper C++ library support
34295
 
-         ld_shlibs_CXX=no
34296
 
-       fi
34297
 
-       ;;
34298
 
-    esac
34299
 
-    ;;
34300
 
-  interix[3-9]*)
34301
 
-    hardcode_direct_CXX=no
34302
 
-    hardcode_shlibpath_var_CXX=no
34303
 
-    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
34304
 
-    export_dynamic_flag_spec_CXX='${wl}-E'
34305
 
-    # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
34306
 
-    # Instead, shared libraries are loaded at an image base (0x10000000 by
34307
 
-    # default) and relocated if they conflict, which is a slow very memory
34308
 
-    # consuming and fragmenting process.  To avoid this, we pick a random,
34309
 
-    # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
34310
 
-    # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
34311
 
-    archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
34312
 
-    archive_expsym_cmds_CXX='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'
34313
 
-    ;;
34314
 
-  irix5* | irix6*)
34315
 
-    case $cc_basename in
34316
 
-      CC*)
34317
 
-       # SGI C++
34318
 
-       archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
34319
 
-
34320
 
-       # Archives containing C++ object files must be created using
34321
 
-       # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
34322
 
-       # necessary to make sure instantiated templates are included
34323
 
-       # in the archive.
34324
 
-       old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
34325
 
-       ;;
34326
 
-      *)
34327
 
-       if test "$GXX" = yes; then
34328
 
-         if test "$with_gnu_ld" = no; then
34329
 
-           archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
34330
 
-         else
34331
 
-           archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
34332
 
-         fi
34333
 
-       fi
34334
 
-       link_all_deplibs_CXX=yes
34335
 
-       ;;
34336
 
-    esac
34337
 
-    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
34338
 
-    hardcode_libdir_separator_CXX=:
34339
 
-    ;;
34340
 
-  linux* | k*bsd*-gnu)
34341
 
-    case $cc_basename in
34342
 
-      KCC*)
34343
 
-       # Kuck and Associates, Inc. (KAI) C++ Compiler
34344
 
-
34345
 
-       # KCC will only create a shared library if the output file
34346
 
-       # ends with ".so" (or ".sl" for HP-UX), so rename the library
34347
 
-       # to its proper name (with version) after linking.
34348
 
-       archive_cmds_CXX='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'
34349
 
-       archive_expsym_cmds_CXX='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'
34350
 
-       # Commands to make compiler produce verbose output that lists
34351
 
-       # what "hidden" libraries, object files and flags are used when
34352
 
-       # linking a shared library.
34353
 
-       #
34354
 
-       # There doesn't appear to be a way to prevent this compiler from
34355
 
-       # explicitly linking system object files so we need to strip them
34356
 
-       # from the output so that they don't get included in the library
34357
 
-       # dependencies.
34358
 
-       output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
34359
 
-
34360
 
-       hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
34361
 
-       export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
34362
 
-
34363
 
-       # Archives containing C++ object files must be created using
34364
 
-       # "CC -Bstatic", where "CC" is the KAI C++ compiler.
34365
 
-       old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
34366
 
-       ;;
34367
 
-      icpc*)
34368
 
-       # Intel C++
34369
 
-       with_gnu_ld=yes
34370
 
-       # version 8.0 and above of icpc choke on multiply defined symbols
34371
 
-       # if we add $predep_objects and $postdep_objects, however 7.1 and
34372
 
-       # earlier do not add the objects themselves.
34373
 
-       case `$CC -V 2>&1` in
34374
 
-       *"Version 7."*)
34375
 
-         archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
34376
 
-         archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
34377
 
-         ;;
34378
 
-       *)  # Version 8.0 or newer
34379
 
-         tmp_idyn=
34380
 
-         case $host_cpu in
34381
 
-           ia64*) tmp_idyn=' -i_dynamic';;
34382
 
-         esac
34383
 
-         archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
34384
 
-         archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
34385
 
-         ;;
34386
 
-       esac
34387
 
-       archive_cmds_need_lc_CXX=no
34388
 
-       hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
34389
 
-       export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
34390
 
-       whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
34391
 
-       ;;
34392
 
-      pgCC* | pgcpp*)
34393
 
-        # Portland Group C++ compiler
34394
 
-       archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
34395
 
-       archive_expsym_cmds_CXX='$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'
34396
 
-
34397
 
-       hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
34398
 
-       export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
34399
 
-       whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
34400
 
-        ;;
34401
 
-      cxx*)
34402
 
-       # Compaq C++
34403
 
-       archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
34404
 
-       archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
34405
 
 
34406
 
-       runpath_var=LD_RUN_PATH
34407
 
-       hardcode_libdir_flag_spec_CXX='-rpath $libdir'
34408
 
-       hardcode_libdir_separator_CXX=:
34409
 
 
34410
 
-       # Commands to make compiler produce verbose output that lists
34411
 
-       # what "hidden" libraries, object files and flags are used when
34412
 
-       # linking a shared library.
34413
 
-       #
34414
 
-       # There doesn't appear to be a way to prevent this compiler from
34415
 
-       # explicitly linking system object files so we need to strip them
34416
 
-       # from the output so that they don't get included in the library
34417
 
-       # dependencies.
34418
 
-       output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
34419
 
-       ;;
34420
 
-      *)
34421
 
-       case `$CC -V 2>&1 | sed 5q` in
34422
 
-       *Sun\ C*)
34423
 
-         # Sun C++ 5.9
34424
 
-         no_undefined_flag_CXX=' -zdefs'
34425
 
-         archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
34426
 
-         archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
34427
 
-         hardcode_libdir_flag_spec_CXX='-R$libdir'
34428
 
-         whole_archive_flag_spec_CXX='${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'
34429
 
 
34430
 
-         # Not sure whether something based on
34431
 
-         # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
34432
 
-         # would be better.
34433
 
-         output_verbose_link_cmd='echo'
34434
 
-
34435
 
-         # Archives containing C++ object files must be created using
34436
 
-         # "CC -xar", where "CC" is the Sun C++ compiler.  This is
34437
 
-         # necessary to make sure instantiated templates are included
34438
 
-         # in the archive.
34439
 
-         old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
34440
 
-         ;;
34441
 
-       esac
34442
 
-       ;;
34443
 
-    esac
34444
 
-    ;;
34445
 
-  lynxos*)
34446
 
-    # FIXME: insert proper C++ library support
34447
 
-    ld_shlibs_CXX=no
34448
 
-    ;;
34449
 
-  m88k*)
34450
 
-    # FIXME: insert proper C++ library support
34451
 
-    ld_shlibs_CXX=no
34452
 
-    ;;
34453
 
-  mvs*)
34454
 
-    case $cc_basename in
34455
 
-      cxx*)
34456
 
-       # FIXME: insert proper C++ library support
34457
 
-       ld_shlibs_CXX=no
34458
 
-       ;;
34459
 
-      *)
34460
 
-       # FIXME: insert proper C++ library support
34461
 
-       ld_shlibs_CXX=no
34462
 
-       ;;
34463
 
-    esac
34464
 
-    ;;
34465
 
-  netbsd*)
34466
 
-    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
34467
 
-      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
34468
 
-      wlarc=
34469
 
-      hardcode_libdir_flag_spec_CXX='-R$libdir'
34470
 
-      hardcode_direct_CXX=yes
34471
 
-      hardcode_shlibpath_var_CXX=no
34472
 
-    fi
34473
 
-    # Workaround some broken pre-1.5 toolchains
34474
 
-    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
34475
 
-    ;;
34476
 
-  openbsd2*)
34477
 
-    # C++ shared libraries are fairly broken
34478
 
-    ld_shlibs_CXX=no
34479
 
-    ;;
34480
 
-  openbsd*)
34481
 
-    if test -f /usr/libexec/ld.so; then
34482
 
-      hardcode_direct_CXX=yes
34483
 
-      hardcode_shlibpath_var_CXX=no
34484
 
-      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
34485
 
-      hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
34486
 
-      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
34487
 
-       archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
34488
 
-       export_dynamic_flag_spec_CXX='${wl}-E'
34489
 
-       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
34490
 
-      fi
34491
 
-      output_verbose_link_cmd='echo'
34492
 
-    else
34493
 
-      ld_shlibs_CXX=no
34494
 
-    fi
34495
 
-    ;;
34496
 
-  osf3*)
34497
 
-    case $cc_basename in
34498
 
-      KCC*)
34499
 
-       # Kuck and Associates, Inc. (KAI) C++ Compiler
34500
 
-
34501
 
-       # KCC will only create a shared library if the output file
34502
 
-       # ends with ".so" (or ".sl" for HP-UX), so rename the library
34503
 
-       # to its proper name (with version) after linking.
34504
 
-       archive_cmds_CXX='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'
34505
 
 
34506
 
-       hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
34507
 
-       hardcode_libdir_separator_CXX=:
34508
 
 
34509
 
-       # Archives containing C++ object files must be created using
34510
 
-       # "CC -Bstatic", where "CC" is the KAI C++ compiler.
34511
 
-       old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
34512
 
 
34513
 
-       ;;
34514
 
-      RCC*)
34515
 
-       # Rational C++ 2.4.1
34516
 
-       # FIXME: insert proper C++ library support
34517
 
-       ld_shlibs_CXX=no
34518
 
-       ;;
34519
 
-      cxx*)
34520
 
-       allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
34521
 
-       archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
34522
 
-
34523
 
-       hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
34524
 
-       hardcode_libdir_separator_CXX=:
34525
 
-
34526
 
-       # Commands to make compiler produce verbose output that lists
34527
 
-       # what "hidden" libraries, object files and flags are used when
34528
 
-       # linking a shared library.
34529
 
-       #
34530
 
-       # There doesn't appear to be a way to prevent this compiler from
34531
 
-       # explicitly linking system object files so we need to strip them
34532
 
-       # from the output so that they don't get included in the library
34533
 
-       # dependencies.
34534
 
-       output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
34535
 
-       ;;
34536
 
-      *)
34537
 
-       if test "$GXX" = yes && test "$with_gnu_ld" = no; then
34538
 
-         allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
34539
 
-         archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
34540
 
 
34541
 
-         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
34542
 
-         hardcode_libdir_separator_CXX=:
34543
 
 
34544
 
-         # Commands to make compiler produce verbose output that lists
34545
 
-         # what "hidden" libraries, object files and flags are used when
34546
 
-         # linking a shared library.
34547
 
-         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
34548
 
 
34549
 
-       else
34550
 
-         # FIXME: insert proper C++ library support
34551
 
-         ld_shlibs_CXX=no
34552
 
-       fi
34553
 
-       ;;
34554
 
-    esac
34555
 
-    ;;
34556
 
-  osf4* | osf5*)
34557
 
-    case $cc_basename in
34558
 
-      KCC*)
34559
 
-       # Kuck and Associates, Inc. (KAI) C++ Compiler
34560
 
-
34561
 
-       # KCC will only create a shared library if the output file
34562
 
-       # ends with ".so" (or ".sl" for HP-UX), so rename the library
34563
 
-       # to its proper name (with version) after linking.
34564
 
-       archive_cmds_CXX='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'
34565
 
 
34566
 
-       hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
34567
 
-       hardcode_libdir_separator_CXX=:
34568
 
 
34569
 
-       # Archives containing C++ object files must be created using
34570
 
-       # the KAI C++ compiler.
34571
 
-       old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
34572
 
-       ;;
34573
 
-      RCC*)
34574
 
-       # Rational C++ 2.4.1
34575
 
-       # FIXME: insert proper C++ library support
34576
 
-       ld_shlibs_CXX=no
34577
 
-       ;;
34578
 
-      cxx*)
34579
 
-       allow_undefined_flag_CXX=' -expect_unresolved \*'
34580
 
-       archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
34581
 
-       archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
34582
 
-         echo "-hidden">> $lib.exp~
34583
 
-         $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp  `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~
34584
 
-         $rm $lib.exp'
34585
 
-
34586
 
-       hardcode_libdir_flag_spec_CXX='-rpath $libdir'
34587
 
-       hardcode_libdir_separator_CXX=:
34588
 
-
34589
 
-       # Commands to make compiler produce verbose output that lists
34590
 
-       # what "hidden" libraries, object files and flags are used when
34591
 
-       # linking a shared library.
34592
 
-       #
34593
 
-       # There doesn't appear to be a way to prevent this compiler from
34594
 
-       # explicitly linking system object files so we need to strip them
34595
 
-       # from the output so that they don't get included in the library
34596
 
-       # dependencies.
34597
 
-       output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
34598
 
-       ;;
34599
 
-      *)
34600
 
-       if test "$GXX" = yes && test "$with_gnu_ld" = no; then
34601
 
-         allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
34602
 
-        archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
34603
 
 
34604
 
-         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
34605
 
-         hardcode_libdir_separator_CXX=:
34606
 
 
34607
 
-         # Commands to make compiler produce verbose output that lists
34608
 
-         # what "hidden" libraries, object files and flags are used when
34609
 
-         # linking a shared library.
34610
 
-         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
34611
 
 
34612
 
-       else
34613
 
-         # FIXME: insert proper C++ library support
34614
 
-         ld_shlibs_CXX=no
34615
 
-       fi
34616
 
-       ;;
34617
 
-    esac
34618
 
-    ;;
34619
 
-  psos*)
34620
 
-    # FIXME: insert proper C++ library support
34621
 
-    ld_shlibs_CXX=no
34622
 
-    ;;
34623
 
-  sunos4*)
34624
 
-    case $cc_basename in
34625
 
-      CC*)
34626
 
-       # Sun C++ 4.x
34627
 
-       # FIXME: insert proper C++ library support
34628
 
-       ld_shlibs_CXX=no
34629
 
-       ;;
34630
 
-      lcc*)
34631
 
-       # Lucid
34632
 
-       # FIXME: insert proper C++ library support
34633
 
-       ld_shlibs_CXX=no
34634
 
-       ;;
34635
 
-      *)
34636
 
-       # FIXME: insert proper C++ library support
34637
 
-       ld_shlibs_CXX=no
34638
 
-       ;;
34639
 
-    esac
34640
 
-    ;;
34641
 
-  solaris*)
34642
 
-    case $cc_basename in
34643
 
-      CC*)
34644
 
-       # Sun C++ 4.2, 5.x and Centerline C++
34645
 
-        archive_cmds_need_lc_CXX=yes
34646
 
-       no_undefined_flag_CXX=' -zdefs'
34647
 
-       archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
34648
 
-       archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
34649
 
-       $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'
34650
 
 
34651
 
-       hardcode_libdir_flag_spec_CXX='-R$libdir'
34652
 
-       hardcode_shlibpath_var_CXX=no
34653
 
-       case $host_os in
34654
 
-         solaris2.[0-5] | solaris2.[0-5].*) ;;
34655
 
-         *)
34656
 
-           # The compiler driver will combine and reorder linker options,
34657
 
-           # but understands `-z linker_flag'.
34658
 
-           # Supported since Solaris 2.6 (maybe 2.5.1?)
34659
 
-           whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
34660
 
-           ;;
34661
 
-       esac
34662
 
-       link_all_deplibs_CXX=yes
34663
 
 
34664
 
-       output_verbose_link_cmd='echo'
34665
 
 
34666
 
-       # Archives containing C++ object files must be created using
34667
 
-       # "CC -xar", where "CC" is the Sun C++ compiler.  This is
34668
 
-       # necessary to make sure instantiated templates are included
34669
 
-       # in the archive.
34670
 
-       old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
34671
 
-       ;;
34672
 
-      gcx*)
34673
 
-       # Green Hills C++ Compiler
34674
 
-       archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
34675
 
 
34676
 
-       # The C++ compiler must be used to create the archive.
34677
 
-       old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
34678
 
-       ;;
34679
 
-      *)
34680
 
-       # GNU C++ compiler with Solaris linker
34681
 
-       if test "$GXX" = yes && test "$with_gnu_ld" = no; then
34682
 
-         no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
34683
 
-         if $CC --version | grep -v '^2\.7' > /dev/null; then
34684
 
-           archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
34685
 
-           archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
34686
 
-               $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
34687
 
 
34688
 
-           # Commands to make compiler produce verbose output that lists
34689
 
-           # what "hidden" libraries, object files and flags are used when
34690
 
-           # linking a shared library.
34691
 
-           output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
34692
 
-         else
34693
 
-           # g++ 2.7 appears to require `-G' NOT `-shared' on this
34694
 
-           # platform.
34695
 
-           archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
34696
 
-           archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
34697
 
-               $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
34698
 
 
34699
 
-           # Commands to make compiler produce verbose output that lists
34700
 
-           # what "hidden" libraries, object files and flags are used when
34701
 
-           # linking a shared library.
34702
 
-           output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
34703
 
-         fi
34704
 
 
34705
 
-         hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
34706
 
-         case $host_os in
34707
 
-         solaris2.[0-5] | solaris2.[0-5].*) ;;
34708
 
-         *)
34709
 
-           whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
34710
 
-           ;;
34711
 
-         esac
34712
 
-       fi
34713
 
-       ;;
34714
 
-    esac
34715
 
-    ;;
34716
 
-  sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
34717
 
-    no_undefined_flag_CXX='${wl}-z,text'
34718
 
-    archive_cmds_need_lc_CXX=no
34719
 
-    hardcode_shlibpath_var_CXX=no
34720
 
-    runpath_var='LD_RUN_PATH'
34721
 
-
34722
 
-    case $cc_basename in
34723
 
-      CC*)
34724
 
-       archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
34725
 
-       archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
34726
 
-       ;;
34727
 
-      *)
34728
 
-       archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
34729
 
-       archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
34730
 
-       ;;
34731
 
-    esac
34732
 
-    ;;
34733
 
-  sysv5* | sco3.2v5* | sco5v6*)
34734
 
-    # Note: We can NOT use -z defs as we might desire, because we do not
34735
 
-    # link with -lc, and that would cause any symbols used from libc to
34736
 
-    # always be unresolved, which means just about no library would
34737
 
-    # ever link correctly.  If we're not using GNU ld we use -z text
34738
 
-    # though, which does catch some bad symbols but isn't as heavy-handed
34739
 
-    # as -z defs.
34740
 
-    # For security reasons, it is highly recommended that you always
34741
 
-    # use absolute paths for naming shared libraries, and exclude the
34742
 
-    # DT_RUNPATH tag from executables and libraries.  But doing so
34743
 
-    # requires that you compile everything twice, which is a pain.
34744
 
-    # So that behaviour is only enabled if SCOABSPATH is set to a
34745
 
-    # non-empty value in the environment.  Most likely only useful for
34746
 
-    # creating official distributions of packages.
34747
 
-    # This is a hack until libtool officially supports absolute path
34748
 
-    # names for shared libraries.
34749
 
-    no_undefined_flag_CXX='${wl}-z,text'
34750
 
-    allow_undefined_flag_CXX='${wl}-z,nodefs'
34751
 
-    archive_cmds_need_lc_CXX=no
34752
 
-    hardcode_shlibpath_var_CXX=no
34753
 
-    hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
34754
 
-    hardcode_libdir_separator_CXX=':'
34755
 
-    link_all_deplibs_CXX=yes
34756
 
-    export_dynamic_flag_spec_CXX='${wl}-Bexport'
34757
 
-    runpath_var='LD_RUN_PATH'
34758
 
-
34759
 
-    case $cc_basename in
34760
 
-      CC*)
34761
 
-       archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
34762
 
-       archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
34763
 
-       ;;
34764
 
-      *)
34765
 
-       archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
34766
 
-       archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
34767
 
-       ;;
34768
 
-    esac
34769
 
-    ;;
34770
 
-  tandem*)
34771
 
-    case $cc_basename in
34772
 
-      NCC*)
34773
 
-       # NonStop-UX NCC 3.20
34774
 
-       # FIXME: insert proper C++ library support
34775
 
-       ld_shlibs_CXX=no
34776
 
-       ;;
34777
 
-      *)
34778
 
-       # FIXME: insert proper C++ library support
34779
 
-       ld_shlibs_CXX=no
34780
 
-       ;;
34781
 
-    esac
34782
 
-    ;;
34783
 
-  vxworks*)
34784
 
-    # FIXME: insert proper C++ library support
34785
 
-    ld_shlibs_CXX=no
34786
 
-    ;;
34787
 
-  *)
34788
 
-    # FIXME: insert proper C++ library support
34789
 
-    ld_shlibs_CXX=no
34790
 
-    ;;
34791
 
-esac
34792
 
-{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
34793
 
-$as_echo "$ld_shlibs_CXX" >&6; }
34794
 
-test "$ld_shlibs_CXX" = no && can_build_shared=no
34795
 
 
34796
 
-GCC_CXX="$GXX"
34797
 
-LD_CXX="$LD"
34798
 
 
34799
 
-cat > conftest.$ac_ext <<EOF
34800
 
-class Foo
34801
 
-{
34802
 
-public:
34803
 
-  Foo (void) { a = 0; }
34804
 
-private:
34805
 
-  int a;
34806
 
-};
34807
 
-EOF
34808
 
 
34809
 
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34810
 
-  (eval $ac_compile) 2>&5
34811
 
-  ac_status=$?
34812
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
34813
 
-  (exit $ac_status); }; then
34814
 
-  # Parse the compiler output and extract the necessary
34815
 
-  # objects, libraries and library flags.
34816
 
 
34817
 
-  # Sentinel used to keep track of whether or not we are before
34818
 
-  # the conftest object file.
34819
 
-  pre_test_object_deps_done=no
34820
 
 
34821
 
-  # The `*' in the case matches for architectures that use `case' in
34822
 
-  # $output_verbose_cmd can trigger glob expansion during the loop
34823
 
-  # eval without this substitution.
34824
 
-  output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
34825
 
 
34826
 
-  for p in `eval $output_verbose_link_cmd`; do
34827
 
-    case $p in
34828
 
 
34829
 
-    -L* | -R* | -l*)
34830
 
-       # Some compilers place space between "-{L,R}" and the path.
34831
 
-       # Remove the space.
34832
 
-       if test $p = "-L" \
34833
 
-         || test $p = "-R"; then
34834
 
-        prev=$p
34835
 
-        continue
34836
 
-       else
34837
 
-        prev=
34838
 
-       fi
34839
 
 
34840
 
-       if test "$pre_test_object_deps_done" = no; then
34841
 
-        case $p in
34842
 
-        -L* | -R*)
34843
 
-          # Internal compiler library paths should come after those
34844
 
-          # provided the user.  The postdeps already come after the
34845
 
-          # user supplied libs so there is no need to process them.
34846
 
-          if test -z "$compiler_lib_search_path_CXX"; then
34847
 
-            compiler_lib_search_path_CXX="${prev}${p}"
34848
 
-          else
34849
 
-            compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
34850
 
-          fi
34851
 
-          ;;
34852
 
-        # The "-l" case would never come before the object being
34853
 
-        # linked, so don't bother handling this case.
34854
 
-        esac
34855
 
-       else
34856
 
-        if test -z "$postdeps_CXX"; then
34857
 
-          postdeps_CXX="${prev}${p}"
34858
 
-        else
34859
 
-          postdeps_CXX="${postdeps_CXX} ${prev}${p}"
34860
 
-        fi
34861
 
-       fi
34862
 
-       ;;
34863
 
 
34864
 
-    *.$objext)
34865
 
-       # This assumes that the test object file only shows up
34866
 
-       # once in the compiler output.
34867
 
-       if test "$p" = "conftest.$objext"; then
34868
 
-        pre_test_object_deps_done=yes
34869
 
-        continue
34870
 
-       fi
34871
 
 
34872
 
-       if test "$pre_test_object_deps_done" = no; then
34873
 
-        if test -z "$predep_objects_CXX"; then
34874
 
-          predep_objects_CXX="$p"
34875
 
-        else
34876
 
-          predep_objects_CXX="$predep_objects_CXX $p"
34877
 
-        fi
34878
 
-       else
34879
 
-        if test -z "$postdep_objects_CXX"; then
34880
 
-          postdep_objects_CXX="$p"
34881
 
-        else
34882
 
-          postdep_objects_CXX="$postdep_objects_CXX $p"
34883
 
-        fi
34884
 
-       fi
34885
 
-       ;;
34886
 
 
34887
 
-    *) ;; # Ignore the rest.
34888
 
 
34889
 
-    esac
34890
 
-  done
34891
 
 
34892
 
-  # Clean up.
34893
 
-  rm -f a.out a.exe
34894
 
-else
34895
 
-  echo "libtool.m4: error: problem compiling CXX test program"
34896
 
-fi
34897
 
 
34898
 
-$rm -f confest.$objext
34899
 
 
34900
 
-compiler_lib_search_dirs_CXX=
34901
 
-if test -n "$compiler_lib_search_path_CXX"; then
34902
 
-  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
34903
 
-fi
34904
 
 
34905
 
-# PORTME: override above test on systems where it is broken
34906
 
-case $host_os in
34907
 
-interix[3-9]*)
34908
 
-  # Interix 3.5 installs completely hosed .la files for C++, so rather than
34909
 
-  # hack all around it, let's just trust "g++" to DTRT.
34910
 
-  predep_objects_CXX=
34911
 
-  postdep_objects_CXX=
34912
 
-  postdeps_CXX=
34913
 
-  ;;
34914
 
 
34915
 
-linux*)
34916
 
-  case `$CC -V 2>&1 | sed 5q` in
34917
 
-  *Sun\ C*)
34918
 
-    # Sun C++ 5.9
34919
 
-    #
34920
 
-    # The more standards-conforming stlport4 library is
34921
 
-    # incompatible with the Cstd library. Avoid specifying
34922
 
-    # it if it's in CXXFLAGS. Ignore libCrun as
34923
 
-    # -library=stlport4 depends on it.
34924
 
-    case " $CXX $CXXFLAGS " in
34925
 
-    *" -library=stlport4 "*)
34926
 
-      solaris_use_stlport4=yes
34927
 
-      ;;
34928
 
-    esac
34929
 
-    if test "$solaris_use_stlport4" != yes; then
34930
 
-      postdeps_CXX='-library=Cstd -library=Crun'
34931
 
-    fi
34932
 
-    ;;
34933
 
-  esac
34934
 
-  ;;
34935
 
 
34936
 
-solaris*)
34937
 
-  case $cc_basename in
34938
 
-  CC*)
34939
 
-    # The more standards-conforming stlport4 library is
34940
 
-    # incompatible with the Cstd library. Avoid specifying
34941
 
-    # it if it's in CXXFLAGS. Ignore libCrun as
34942
 
-    # -library=stlport4 depends on it.
34943
 
-    case " $CXX $CXXFLAGS " in
34944
 
-    *" -library=stlport4 "*)
34945
 
-      solaris_use_stlport4=yes
34946
 
-      ;;
34947
 
-    esac
34948
 
 
34949
 
-    # Adding this requires a known-good setup of shared libraries for
34950
 
-    # Sun compiler versions before 5.6, else PIC objects from an old
34951
 
-    # archive will be linked into the output, leading to subtle bugs.
34952
 
-    if test "$solaris_use_stlport4" != yes; then
34953
 
-      postdeps_CXX='-library=Cstd -library=Crun'
34954
 
-    fi
34955
 
-    ;;
34956
 
-  esac
34957
 
-  ;;
34958
 
-esac
34959
 
 
34960
 
-case " $postdeps_CXX " in
34961
 
-*" -lc "*) archive_cmds_need_lc_CXX=no ;;
34962
 
-esac
34963
 
 
34964
 
-lt_prog_compiler_wl_CXX=
34965
 
-lt_prog_compiler_pic_CXX=
34966
 
-lt_prog_compiler_static_CXX=
34967
 
 
34968
 
-{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
34969
 
-$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
34970
 
 
34971
 
-  # C++ specific cases for pic, static, wl, etc.
34972
 
-  if test "$GXX" = yes; then
34973
 
-    lt_prog_compiler_wl_CXX='-Wl,'
34974
 
-    lt_prog_compiler_static_CXX='-static'
34975
 
 
34976
 
-    case $host_os in
34977
 
-    aix*)
34978
 
-      # All AIX code is PIC.
34979
 
-      if test "$host_cpu" = ia64; then
34980
 
-       # AIX 5 now supports IA64 processor
34981
 
-       lt_prog_compiler_static_CXX='-Bstatic'
34982
 
-      fi
34983
 
-      ;;
34984
 
-    amigaos*)
34985
 
-      # FIXME: we need at least 68020 code to build shared libraries, but
34986
 
-      # adding the `-m68020' flag to GCC prevents building anything better,
34987
 
-      # like `-m68040'.
34988
 
-      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
34989
 
-      ;;
34990
 
-    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
34991
 
-      # PIC is the default for these OSes.
34992
 
-      ;;
34993
 
-    mingw* | cygwin* | os2* | pw32*)
34994
 
-      # This hack is so that the source file can tell whether it is being
34995
 
-      # built for inclusion in a dll (and should export symbols for example).
34996
 
-      # Although the cygwin gcc ignores -fPIC, still need this for old-style
34997
 
-      # (--disable-auto-import) libraries
34998
 
-      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
34999
 
-      ;;
35000
 
-    darwin* | rhapsody*)
35001
 
-      # PIC is the default on this platform
35002
 
-      # Common symbols not allowed in MH_DYLIB files
35003
 
-      lt_prog_compiler_pic_CXX='-fno-common'
35004
 
-      ;;
35005
 
-    *djgpp*)
35006
 
-      # DJGPP does not support shared libraries at all
35007
 
-      lt_prog_compiler_pic_CXX=
35008
 
-      ;;
35009
 
-    interix[3-9]*)
35010
 
-      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
35011
 
-      # Instead, we relocate shared libraries at runtime.
35012
 
-      ;;
35013
 
-    sysv4*MP*)
35014
 
-      if test -d /usr/nec; then
35015
 
-       lt_prog_compiler_pic_CXX=-Kconform_pic
35016
 
-      fi
35017
 
-      ;;
35018
 
-    hpux*)
35019
 
-      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
35020
 
-      # not for PA HP-UX.
35021
 
-      case $host_cpu in
35022
 
-      hppa*64*|ia64*)
35023
 
-       ;;
35024
 
-      *)
35025
 
-       lt_prog_compiler_pic_CXX='-fPIC'
35026
 
-       ;;
35027
 
-      esac
35028
 
-      ;;
35029
 
-    *)
35030
 
-      lt_prog_compiler_pic_CXX='-fPIC'
35031
 
-      ;;
35032
 
-    esac
35033
 
-  else
35034
 
-    case $host_os in
35035
 
-      aix[4-9]*)
35036
 
-       # All AIX code is PIC.
35037
 
-       if test "$host_cpu" = ia64; then
35038
 
-         # AIX 5 now supports IA64 processor
35039
 
-         lt_prog_compiler_static_CXX='-Bstatic'
35040
 
-       else
35041
 
-         lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
35042
 
-       fi
35043
 
-       ;;
35044
 
-      chorus*)
35045
 
-       case $cc_basename in
35046
 
-       cxch68*)
35047
 
-         # Green Hills C++ Compiler
35048
 
-         # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--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"
35049
 
-         ;;
35050
 
-       esac
35051
 
-       ;;
35052
 
-       darwin*)
35053
 
-         # PIC is the default on this platform
35054
 
-         # Common symbols not allowed in MH_DYLIB files
35055
 
-         case $cc_basename in
35056
 
-           xlc*)
35057
 
-           lt_prog_compiler_pic_CXX='-qnocommon'
35058
 
-           lt_prog_compiler_wl_CXX='-Wl,'
35059
 
-           ;;
35060
 
-         esac
35061
 
-       ;;
35062
 
-      dgux*)
35063
 
-       case $cc_basename in
35064
 
-         ec++*)
35065
 
-           lt_prog_compiler_pic_CXX='-KPIC'
35066
 
-           ;;
35067
 
-         ghcx*)
35068
 
-           # Green Hills C++ Compiler
35069
 
-           lt_prog_compiler_pic_CXX='-pic'
35070
 
-           ;;
35071
 
-         *)
35072
 
-           ;;
35073
 
-       esac
35074
 
-       ;;
35075
 
-      freebsd* | dragonfly*)
35076
 
-       # FreeBSD uses GNU C++
35077
 
-       ;;
35078
 
-      hpux9* | hpux10* | hpux11*)
35079
 
-       case $cc_basename in
35080
 
-         CC*)
35081
 
-           lt_prog_compiler_wl_CXX='-Wl,'
35082
 
-           lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
35083
 
-           if test "$host_cpu" != ia64; then
35084
 
-             lt_prog_compiler_pic_CXX='+Z'
35085
 
-           fi
35086
 
-           ;;
35087
 
-         aCC*)
35088
 
-           lt_prog_compiler_wl_CXX='-Wl,'
35089
 
-           lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
35090
 
-           case $host_cpu in
35091
 
-           hppa*64*|ia64*)
35092
 
-             # +Z the default
35093
 
-             ;;
35094
 
-           *)
35095
 
-             lt_prog_compiler_pic_CXX='+Z'
35096
 
-             ;;
35097
 
-           esac
35098
 
-           ;;
35099
 
-         *)
35100
 
-           ;;
35101
 
-       esac
35102
 
-       ;;
35103
 
-      interix*)
35104
 
-       # This is c89, which is MS Visual C++ (no shared libs)
35105
 
-       # Anyone wants to do a port?
35106
 
-       ;;
35107
 
-      irix5* | irix6* | nonstopux*)
35108
 
-       case $cc_basename in
35109
 
-         CC*)
35110
 
-           lt_prog_compiler_wl_CXX='-Wl,'
35111
 
-           lt_prog_compiler_static_CXX='-non_shared'
35112
 
-           # CC pic flag -KPIC is the default.
35113
 
-           ;;
35114
 
-         *)
35115
 
-           ;;
35116
 
-       esac
35117
 
-       ;;
35118
 
-      linux* | k*bsd*-gnu)
35119
 
-       case $cc_basename in
35120
 
-         KCC*)
35121
 
-           # KAI C++ Compiler
35122
 
-           lt_prog_compiler_wl_CXX='--backend -Wl,'
35123
 
-           lt_prog_compiler_pic_CXX='-fPIC'
35124
 
-           ;;
35125
 
-         icpc* | ecpc*)
35126
 
-           # Intel C++
35127
 
-           lt_prog_compiler_wl_CXX='-Wl,'
35128
 
-           lt_prog_compiler_pic_CXX='-KPIC'
35129
 
-           lt_prog_compiler_static_CXX='-static'
35130
 
-           ;;
35131
 
-         pgCC* | pgcpp*)
35132
 
-           # Portland Group C++ compiler.
35133
 
-           lt_prog_compiler_wl_CXX='-Wl,'
35134
 
-           lt_prog_compiler_pic_CXX='-fpic'
35135
 
-           lt_prog_compiler_static_CXX='-Bstatic'
35136
 
-           ;;
35137
 
-         cxx*)
35138
 
-           # Compaq C++
35139
 
-           # Make sure the PIC flag is empty.  It appears that all Alpha
35140
 
-           # Linux and Compaq Tru64 Unix objects are PIC.
35141
 
-           lt_prog_compiler_pic_CXX=
35142
 
-           lt_prog_compiler_static_CXX='-non_shared'
35143
 
-           ;;
35144
 
-         *)
35145
 
-           case `$CC -V 2>&1 | sed 5q` in
35146
 
-           *Sun\ C*)
35147
 
-             # Sun C++ 5.9
35148
 
-             lt_prog_compiler_pic_CXX='-KPIC'
35149
 
-             lt_prog_compiler_static_CXX='-Bstatic'
35150
 
-             lt_prog_compiler_wl_CXX='-Qoption ld '
35151
 
-             ;;
35152
 
-           esac
35153
 
-           ;;
35154
 
-       esac
35155
 
-       ;;
35156
 
-      lynxos*)
35157
 
-       ;;
35158
 
-      m88k*)
35159
 
-       ;;
35160
 
-      mvs*)
35161
 
-       case $cc_basename in
35162
 
-         cxx*)
35163
 
-           lt_prog_compiler_pic_CXX='-W c,exportall'
35164
 
-           ;;
35165
 
-         *)
35166
 
-           ;;
35167
 
-       esac
35168
 
-       ;;
35169
 
-      netbsd*)
35170
 
-       ;;
35171
 
-      osf3* | osf4* | osf5*)
35172
 
-       case $cc_basename in
35173
 
-         KCC*)
35174
 
-           lt_prog_compiler_wl_CXX='--backend -Wl,'
35175
 
-           ;;
35176
 
-         RCC*)
35177
 
-           # Rational C++ 2.4.1
35178
 
-           lt_prog_compiler_pic_CXX='-pic'
35179
 
-           ;;
35180
 
-         cxx*)
35181
 
-           # Digital/Compaq C++
35182
 
-           lt_prog_compiler_wl_CXX='-Wl,'
35183
 
-           # Make sure the PIC flag is empty.  It appears that all Alpha
35184
 
-           # Linux and Compaq Tru64 Unix objects are PIC.
35185
 
-           lt_prog_compiler_pic_CXX=
35186
 
-           lt_prog_compiler_static_CXX='-non_shared'
35187
 
-           ;;
35188
 
-         *)
35189
 
-           ;;
35190
 
-       esac
35191
 
-       ;;
35192
 
-      psos*)
35193
 
-       ;;
35194
 
-      solaris*)
35195
 
-       case $cc_basename in
35196
 
-         CC*)
35197
 
-           # Sun C++ 4.2, 5.x and Centerline C++
35198
 
-           lt_prog_compiler_pic_CXX='-KPIC'
35199
 
-           lt_prog_compiler_static_CXX='-Bstatic'
35200
 
-           lt_prog_compiler_wl_CXX='-Qoption ld '
35201
 
-           ;;
35202
 
-         gcx*)
35203
 
-           # Green Hills C++ Compiler
35204
 
-           lt_prog_compiler_pic_CXX='-PIC'
35205
 
-           ;;
35206
 
-         *)
35207
 
-           ;;
35208
 
-       esac
35209
 
-       ;;
35210
 
-      sunos4*)
35211
 
-       case $cc_basename in
35212
 
-         CC*)
35213
 
-           # Sun C++ 4.x
35214
 
-           lt_prog_compiler_pic_CXX='-pic'
35215
 
-           lt_prog_compiler_static_CXX='-Bstatic'
35216
 
-           ;;
35217
 
-         lcc*)
35218
 
-           # Lucid
35219
 
-           lt_prog_compiler_pic_CXX='-pic'
35220
 
-           ;;
35221
 
-         *)
35222
 
-           ;;
35223
 
-       esac
35224
 
-       ;;
35225
 
-      tandem*)
35226
 
-       case $cc_basename in
35227
 
-         NCC*)
35228
 
-           # NonStop-UX NCC 3.20
35229
 
-           lt_prog_compiler_pic_CXX='-KPIC'
35230
 
-           ;;
35231
 
-         *)
35232
 
-           ;;
35233
 
-       esac
35234
 
-       ;;
35235
 
-      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
35236
 
-       case $cc_basename in
35237
 
-         CC*)
35238
 
-           lt_prog_compiler_wl_CXX='-Wl,'
35239
 
-           lt_prog_compiler_pic_CXX='-KPIC'
35240
 
-           lt_prog_compiler_static_CXX='-Bstatic'
35241
 
-           ;;
35242
 
-       esac
35243
 
-       ;;
35244
 
-      vxworks*)
35245
 
-       ;;
35246
 
-      *)
35247
 
-       lt_prog_compiler_can_build_shared_CXX=no
35248
 
-       ;;
35249
 
-    esac
35250
 
-  fi
35251
 
 
35252
 
-{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
35253
 
-$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
35254
 
 
35255
 
-#
35256
 
-# Check to make sure the PIC flag actually works.
35257
 
-#
35258
 
-if test -n "$lt_prog_compiler_pic_CXX"; then
35259
 
 
35260
 
-{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
35261
 
-$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
35262
 
-if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
35263
 
-  $as_echo_n "(cached) " >&6
35264
 
-else
35265
 
-  lt_cv_prog_compiler_pic_works_CXX=no
35266
 
-  ac_outfile=conftest.$ac_objext
35267
 
-   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
35268
 
-   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
35269
 
-   # Insert the option either (1) after the last *FLAGS variable, or
35270
 
-   # (2) before a word containing "conftest.", or (3) at the end.
35271
 
-   # Note that $ac_compile itself does not contain backslashes and begins
35272
 
-   # with a dollar sign (not a hyphen), so the echo should work correctly.
35273
 
-   # The option is referenced via a variable to avoid confusing sed.
35274
 
-   lt_compile=`echo "$ac_compile" | $SED \
35275
 
-   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
35276
 
-   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
35277
 
-   -e 's:$: $lt_compiler_flag:'`
35278
 
-   (eval echo "\"\$as_me:13383: $lt_compile\"" >&5)
35279
 
-   (eval "$lt_compile" 2>conftest.err)
35280
 
-   ac_status=$?
35281
 
-   cat conftest.err >&5
35282
 
-   echo "$as_me:13387: \$? = $ac_status" >&5
35283
 
-   if (exit $ac_status) && test -s "$ac_outfile"; then
35284
 
-     # The compiler can only warn and ignore the option if not recognized
35285
 
-     # So say no if there are warnings other than the usual output.
35286
 
-     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
35287
 
-     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
35288
 
-     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
35289
 
-       lt_cv_prog_compiler_pic_works_CXX=yes
35290
 
-     fi
35291
 
-   fi
35292
 
-   $rm conftest*
35293
 
 
35294
 
-fi
35295
 
-{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
35296
 
-$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
35297
 
 
35298
 
-if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
35299
 
-    case $lt_prog_compiler_pic_CXX in
35300
 
-     "" | " "*) ;;
35301
 
-     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
35302
 
-     esac
35303
 
-else
35304
 
-    lt_prog_compiler_pic_CXX=
35305
 
-     lt_prog_compiler_can_build_shared_CXX=no
35306
 
-fi
35307
 
 
35308
 
-fi
35309
 
-case $host_os in
35310
 
-  # For platforms which do not support PIC, -DPIC is meaningless:
35311
 
-  *djgpp*)
35312
 
-    lt_prog_compiler_pic_CXX=
35313
 
-    ;;
35314
 
-  *)
35315
 
-    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
35316
 
-    ;;
35317
 
-esac
35318
 
 
35319
 
-#
35320
 
-# Check to make sure the static flag actually works.
35321
 
-#
35322
 
-wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
35323
 
-{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
35324
 
-$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
35325
 
-if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
35326
 
-  $as_echo_n "(cached) " >&6
35327
 
-else
35328
 
-  lt_cv_prog_compiler_static_works_CXX=no
35329
 
-   save_LDFLAGS="$LDFLAGS"
35330
 
-   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
35331
 
-   echo "$lt_simple_link_test_code" > conftest.$ac_ext
35332
 
-   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
35333
 
-     # The linker can only warn and ignore the option if not recognized
35334
 
-     # So say no if there are warnings
35335
 
-     if test -s conftest.err; then
35336
 
-       # Append any errors to the config.log.
35337
 
-       cat conftest.err 1>&5
35338
 
-       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
35339
 
-       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
35340
 
-       if diff conftest.exp conftest.er2 >/dev/null; then
35341
 
-         lt_cv_prog_compiler_static_works_CXX=yes
35342
 
-       fi
35343
 
-     else
35344
 
-       lt_cv_prog_compiler_static_works_CXX=yes
35345
 
-     fi
35346
 
-   fi
35347
 
-   $rm -r conftest*
35348
 
-   LDFLAGS="$save_LDFLAGS"
35349
 
 
35350
 
-fi
35351
 
-{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
35352
 
-$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
35353
 
 
35354
 
-if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
35355
 
-    :
35356
 
-else
35357
 
-    lt_prog_compiler_static_CXX=
35358
 
-fi
35359
 
 
35360
 
 
35361
 
-{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
35362
 
-$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
35363
 
-if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
35364
 
-  $as_echo_n "(cached) " >&6
35365
 
-else
35366
 
-  lt_cv_prog_compiler_c_o_CXX=no
35367
 
-   $rm -r conftest 2>/dev/null
35368
 
-   mkdir conftest
35369
 
-   cd conftest
35370
 
-   mkdir out
35371
 
-   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
35372
 
 
35373
 
-   lt_compiler_flag="-o out/conftest2.$ac_objext"
35374
 
-   # Insert the option either (1) after the last *FLAGS variable, or
35375
 
-   # (2) before a word containing "conftest.", or (3) at the end.
35376
 
-   # Note that $ac_compile itself does not contain backslashes and begins
35377
 
-   # with a dollar sign (not a hyphen), so the echo should work correctly.
35378
 
-   lt_compile=`echo "$ac_compile" | $SED \
35379
 
-   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
35380
 
-   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
35381
 
-   -e 's:$: $lt_compiler_flag:'`
35382
 
-   (eval echo "\"\$as_me:13487: $lt_compile\"" >&5)
35383
 
-   (eval "$lt_compile" 2>out/conftest.err)
35384
 
-   ac_status=$?
35385
 
-   cat out/conftest.err >&5
35386
 
-   echo "$as_me:13491: \$? = $ac_status" >&5
35387
 
-   if (exit $ac_status) && test -s out/conftest2.$ac_objext
35388
 
-   then
35389
 
-     # The compiler can only warn and ignore the option if not recognized
35390
 
-     # So say no if there are warnings
35391
 
-     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
35392
 
-     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
35393
 
-     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
35394
 
-       lt_cv_prog_compiler_c_o_CXX=yes
35395
 
-     fi
35396
 
-   fi
35397
 
-   chmod u+w . 2>&5
35398
 
-   $rm conftest*
35399
 
-   # SGI C++ compiler will create directory out/ii_files/ for
35400
 
-   # template instantiation
35401
 
-   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
35402
 
-   $rm out/* && rmdir out
35403
 
-   cd ..
35404
 
-   rmdir conftest
35405
 
-   $rm conftest*
35406
 
 
35407
 
-fi
35408
 
-{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
35409
 
-$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
35410
 
 
35411
 
 
35412
 
-hard_links="nottested"
35413
 
-if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
35414
 
-  # do not overwrite the value of need_locks provided by the user
35415
 
-  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
35416
 
-$as_echo_n "checking if we can lock with hard links... " >&6; }
35417
 
-  hard_links=yes
35418
 
-  $rm conftest*
35419
 
-  ln conftest.a conftest.b 2>/dev/null && hard_links=no
35420
 
-  touch conftest.a
35421
 
-  ln conftest.a conftest.b 2>&5 || hard_links=no
35422
 
-  ln conftest.a conftest.b 2>/dev/null && hard_links=no
35423
 
-  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
35424
 
-$as_echo "$hard_links" >&6; }
35425
 
-  if test "$hard_links" = no; then
35426
 
-    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
35427
 
-$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
35428
 
-    need_locks=warn
35429
 
-  fi
35430
 
-else
35431
 
-  need_locks=no
35432
 
-fi
35433
 
 
35434
 
-{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
35435
 
-$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
35436
 
 
35437
 
-  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
35438
 
-  case $host_os in
35439
 
-  aix[4-9]*)
35440
 
-    # If we're using GNU nm, then we don't want the "-C" option.
35441
 
-    # -C means demangle to AIX nm, but means don't demangle with GNU nm
35442
 
-    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
35443
 
-      export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
35444
 
-    else
35445
 
-      export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
35446
 
-    fi
35447
 
-    ;;
35448
 
-  pw32*)
35449
 
-    export_symbols_cmds_CXX="$ltdll_cmds"
35450
 
-  ;;
35451
 
-  cygwin* | mingw*)
35452
 
-    export_symbols_cmds_CXX='$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'
35453
 
-  ;;
35454
 
-  *)
35455
 
-    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
35456
 
-  ;;
35457
 
-  esac
35458
 
-  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
35459
 
 
35460
 
-{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
35461
 
-$as_echo "$ld_shlibs_CXX" >&6; }
35462
 
-test "$ld_shlibs_CXX" = no && can_build_shared=no
35463
 
 
35464
 
-#
35465
 
-# Do we need to explicitly link libc?
35466
 
-#
35467
 
-case "x$archive_cmds_need_lc_CXX" in
35468
 
-x|xyes)
35469
 
-  # Assume -lc should be added
35470
 
-  archive_cmds_need_lc_CXX=yes
35471
 
 
35472
 
-  if test "$enable_shared" = yes && test "$GCC" = yes; then
35473
 
-    case $archive_cmds_CXX in
35474
 
-    *'~'*)
35475
 
-      # FIXME: we may have to deal with multi-command sequences.
35476
 
-      ;;
35477
 
-    '$CC '*)
35478
 
-      # Test whether the compiler implicitly links with -lc since on some
35479
 
-      # systems, -lgcc has to come before -lc. If gcc already passes -lc
35480
 
-      # to ld, don't add -lc before -lgcc.
35481
 
-      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
35482
 
-$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
35483
 
-      $rm conftest*
35484
 
-      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
35485
 
 
35486
 
-      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35487
 
-  (eval $ac_compile) 2>&5
35488
 
-  ac_status=$?
35489
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
35490
 
-  (exit $ac_status); } 2>conftest.err; then
35491
 
-        soname=conftest
35492
 
-        lib=conftest
35493
 
-        libobjs=conftest.$ac_objext
35494
 
-        deplibs=
35495
 
-        wl=$lt_prog_compiler_wl_CXX
35496
 
-       pic_flag=$lt_prog_compiler_pic_CXX
35497
 
-        compiler_flags=-v
35498
 
-        linker_flags=-v
35499
 
-        verstring=
35500
 
-        output_objdir=.
35501
 
-        libname=conftest
35502
 
-        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
35503
 
-        allow_undefined_flag_CXX=
35504
 
-        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
35505
 
-  (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
35506
 
-  ac_status=$?
35507
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
35508
 
-  (exit $ac_status); }
35509
 
-        then
35510
 
-         archive_cmds_need_lc_CXX=no
35511
 
-        else
35512
 
-         archive_cmds_need_lc_CXX=yes
35513
 
-        fi
35514
 
-        allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
35515
 
-      else
35516
 
-        cat conftest.err 1>&5
35517
 
-      fi
35518
 
-      $rm conftest*
35519
 
-      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
35520
 
-$as_echo "$archive_cmds_need_lc_CXX" >&6; }
35521
 
-      ;;
35522
 
-    esac
35523
 
-  fi
35524
 
-  ;;
35525
 
-esac
35526
 
 
35527
 
-{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
35528
 
+
35529
 
+
35530
 
+
35531
 
+
35532
 
+
35533
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
35534
 
 $as_echo_n "checking dynamic linker characteristics... " >&6; }
35535
 
+
35536
 
+if test "$GCC" = yes; then
35537
 
+  case $host_os in
35538
 
+    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
35539
 
+    *) lt_awk_arg="/^libraries:/" ;;
35540
 
+  esac
35541
 
+  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
35542
 
+  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
35543
 
+    # if the path contains ";" then we assume it to be the separator
35544
 
+    # otherwise default to the standard path separator (i.e. ":") - it is
35545
 
+    # assumed that no part of a normal pathname contains ";" but that should
35546
 
+    # okay in the real world where ";" in dirpaths is itself problematic.
35547
 
+    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
35548
 
+  else
35549
 
+    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
35550
 
+  fi
35551
 
+  # Ok, now we have the path, separated by spaces, we can step through it
35552
 
+  # and add multilib dir if necessary.
35553
 
+  lt_tmp_lt_search_path_spec=
35554
 
+  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
35555
 
+  for lt_sys_path in $lt_search_path_spec; do
35556
 
+    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
35557
 
+      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
35558
 
+    else
35559
 
+      test -d "$lt_sys_path" && \
35560
 
+       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
35561
 
+    fi
35562
 
+  done
35563
 
+  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
35564
 
+BEGIN {RS=" "; FS="/|\n";} {
35565
 
+  lt_foo="";
35566
 
+  lt_count=0;
35567
 
+  for (lt_i = NF; lt_i > 0; lt_i--) {
35568
 
+    if ($lt_i != "" && $lt_i != ".") {
35569
 
+      if ($lt_i == "..") {
35570
 
+        lt_count++;
35571
 
+      } else {
35572
 
+        if (lt_count == 0) {
35573
 
+          lt_foo="/" $lt_i lt_foo;
35574
 
+        } else {
35575
 
+          lt_count--;
35576
 
+        }
35577
 
+      }
35578
 
+    }
35579
 
+  }
35580
 
+  if (lt_foo != "") { lt_freq[lt_foo]++; }
35581
 
+  if (lt_freq[lt_foo] == 1) { print lt_foo; }
35582
 
+}'`
35583
 
+  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
35584
 
+else
35585
 
+  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
35586
 
+fi
35587
 
 library_names_spec=
35588
 
 libname_spec='lib$name'
35589
 
 soname_spec=
35590
 
@@ -13644,7 +9652,6 @@ shlibpath_overrides_runpath=unknown
35591
 
 version_type=none
35592
 
 dynamic_linker="$host_os ld.so"
35593
 
 sys_lib_dlsearch_path_spec="/lib /usr/lib"
35594
 
-
35595
 
 need_lib_prefix=unknown
35596
 
 hardcode_into_libs=no
35597
 
 
35598
 
@@ -13681,7 +9688,7 @@ aix[4-9]*)
35599
 
       aix4 | aix4.[01] | aix4.[01].*)
35600
 
       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
35601
 
           echo ' yes '
35602
 
-          echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
35603
 
+          echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
35604
 
        :
35605
 
       else
35606
 
        can_build_shared=no
35607
 
@@ -13707,9 +9714,18 @@ aix[4-9]*)
35608
 
   ;;
35609
 
 
35610
 
 amigaos*)
35611
 
-  library_names_spec='$libname.ixlibrary $libname.a'
35612
 
-  # Create ${libname}_ixlibrary.a entries in /sys/libs.
35613
 
-  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'
35614
 
+  case $host_cpu in
35615
 
+  powerpc)
35616
 
+    # Since July 2007 AmigaOS4 officially supports .so libraries.
35617
 
+    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
35618
 
+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
35619
 
+    ;;
35620
 
+  m68k)
35621
 
+    library_names_spec='$libname.ixlibrary $libname.a'
35622
 
+    # Create ${libname}_ixlibrary.a entries in /sys/libs.
35623
 
+    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'
35624
 
+    ;;
35625
 
+  esac
35626
 
   ;;
35627
 
 
35628
 
 beos*)
35629
 
@@ -13732,25 +9748,28 @@ bsdi[45]*)
35630
 
   # libtool to hard-code these into programs
35631
 
   ;;
35632
 
 
35633
 
-cygwin* | mingw* | pw32*)
35634
 
+cygwin* | mingw* | pw32* | cegcc*)
35635
 
   version_type=windows
35636
 
   shrext_cmds=".dll"
35637
 
   need_version=no
35638
 
   need_lib_prefix=no
35639
 
 
35640
 
   case $GCC,$host_os in
35641
 
-  yes,cygwin* | yes,mingw* | yes,pw32*)
35642
 
+  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
35643
 
     library_names_spec='$libname.dll.a'
35644
 
     # DLL is installed to $(libdir)/../bin by postinstall_cmds
35645
 
     postinstall_cmds='base_file=`basename \${file}`~
35646
 
-      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
35647
 
+      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
35648
 
       dldir=$destdir/`dirname \$dlpath`~
35649
 
       test -d \$dldir || mkdir -p \$dldir~
35650
 
       $install_prog $dir/$dlname \$dldir/$dlname~
35651
 
-      chmod a+x \$dldir/$dlname'
35652
 
+      chmod a+x \$dldir/$dlname~
35653
 
+      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
35654
 
+        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
35655
 
+      fi'
35656
 
     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
35657
 
       dlpath=$dir/\$dldll~
35658
 
-       $rm \$dlpath'
35659
 
+       $RM \$dlpath'
35660
 
     shlibpath_overrides_runpath=yes
35661
 
 
35662
 
     case $host_os in
35663
 
@@ -13759,20 +9778,20 @@ cygwin* | mingw* | pw32*)
35664
 
       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
35665
 
       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
35666
 
       ;;
35667
 
-    mingw*)
35668
 
+    mingw* | cegcc*)
35669
 
       # MinGW DLLs use traditional 'lib' prefix
35670
 
       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
35671
 
-      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
35672
 
-      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
35673
 
+      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
35674
 
+      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
35675
 
         # It is most probably a Windows format PATH printed by
35676
 
         # mingw gcc, but we are running on Cygwin. Gcc prints its search
35677
 
         # path with ; separators, and with drive letters. We can handle the
35678
 
         # drive letters (cygwin fileutils understands them), so leave them,
35679
 
         # especially as we might pass files found there to a mingw objdump,
35680
 
         # which wouldn't understand a cygwinified path. Ahh.
35681
 
-        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
35682
 
+        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
35683
 
       else
35684
 
-        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
35685
 
+        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
35686
 
       fi
35687
 
       ;;
35688
 
     pw32*)
35689
 
@@ -13796,12 +9815,13 @@ darwin* | rhapsody*)
35690
 
   version_type=darwin
35691
 
   need_lib_prefix=no
35692
 
   need_version=no
35693
 
-  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
35694
 
+  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
35695
 
   soname_spec='${libname}${release}${major}$shared_ext'
35696
 
   shlibpath_overrides_runpath=yes
35697
 
   shlibpath_var=DYLD_LIBRARY_PATH
35698
 
   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
35699
 
 
35700
 
+  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
35701
 
   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
35702
 
   ;;
35703
 
 
35704
 
@@ -13894,18 +9914,18 @@ hpux9* | hpux10* | hpux11*)
35705
 
     fi
35706
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
35707
 
     ;;
35708
 
-   hppa*64*)
35709
 
-     shrext_cmds='.sl'
35710
 
-     hardcode_into_libs=yes
35711
 
-     dynamic_linker="$host_os dld.sl"
35712
 
-     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
35713
 
-     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
35714
 
-     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
35715
 
-     soname_spec='${libname}${release}${shared_ext}$major'
35716
 
-     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
35717
 
-     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
35718
 
-     ;;
35719
 
-   *)
35720
 
+  hppa*64*)
35721
 
+    shrext_cmds='.sl'
35722
 
+    hardcode_into_libs=yes
35723
 
+    dynamic_linker="$host_os dld.sl"
35724
 
+    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
35725
 
+    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
35726
 
+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
35727
 
+    soname_spec='${libname}${release}${shared_ext}$major'
35728
 
+    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
35729
 
+    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
35730
 
+    ;;
35731
 
+  *)
35732
 
     shrext_cmds='.sl'
35733
 
     dynamic_linker="$host_os dld.sl"
35734
 
     shlibpath_var=SHLIB_PATH
35735
 
@@ -13982,17 +10002,41 @@ linux* | k*bsd*-gnu)
35736
 
   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
35737
 
   shlibpath_var=LD_LIBRARY_PATH
35738
 
   shlibpath_overrides_runpath=no
35739
 
+  # Some binutils ld are patched to set DT_RUNPATH
35740
 
+  save_LDFLAGS=$LDFLAGS
35741
 
+  save_libdir=$libdir
35742
 
+  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
35743
 
+       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
35744
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35745
 
+/* end confdefs.h.  */
35746
 
+
35747
 
+int
35748
 
+main ()
35749
 
+{
35750
 
+
35751
 
+  ;
35752
 
+  return 0;
35753
 
+}
35754
 
+_ACEOF
35755
 
+if ac_fn_c_try_link "$LINENO"; then :
35756
 
+  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
35757
 
+  shlibpath_overrides_runpath=yes
35758
 
+fi
35759
 
+fi
35760
 
+rm -f core conftest.err conftest.$ac_objext \
35761
 
+    conftest$ac_exeext conftest.$ac_ext
35762
 
+  LDFLAGS=$save_LDFLAGS
35763
 
+  libdir=$save_libdir
35764
 
+
35765
 
   # This implies no fast_install, which is unacceptable.
35766
 
   # Some rework will be needed to allow for fast_install
35767
 
   # before this can be enabled.
35768
 
   hardcode_into_libs=yes
35769
 
-  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
35770
 
-  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
35771
 
 
35772
 
   # Append ld.so.conf contents to the search path
35773
 
   if test -f /etc/ld.so.conf; then
35774
 
-    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' ' '`
35775
 
-    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
35776
 
+    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' ' '`
35777
 
+    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
35778
 
   fi
35779
 
 
35780
 
   # We used to test for /lib/ld.so.1 and disable shared libraries on
35781
 
@@ -14004,11 +10048,23 @@ linux* | k*bsd*-gnu)
35782
 
   dynamic_linker='GNU/Linux ld.so'
35783
 
   ;;
35784
 
 
35785
 
+netbsdelf*-gnu)
35786
 
+  version_type=linux
35787
 
+  need_lib_prefix=no
35788
 
+  need_version=no
35789
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
35790
 
+  soname_spec='${libname}${release}${shared_ext}$major'
35791
 
+  shlibpath_var=LD_LIBRARY_PATH
35792
 
+  shlibpath_overrides_runpath=no
35793
 
+  hardcode_into_libs=yes
35794
 
+  dynamic_linker='NetBSD ld.elf_so'
35795
 
+  ;;
35796
 
+
35797
 
 netbsd*)
35798
 
   version_type=sunos
35799
 
   need_lib_prefix=no
35800
 
   need_version=no
35801
 
-  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
35802
 
+  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
35803
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
35804
 
     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
35805
 
     dynamic_linker='NetBSD (a.out) ld.so'
35806
 
@@ -14029,14 +10085,16 @@ newsos6)
35807
 
   shlibpath_overrides_runpath=yes
35808
 
   ;;
35809
 
 
35810
 
-nto-qnx*)
35811
 
-  version_type=linux
35812
 
+*nto* | *qnx*)
35813
 
+  version_type=qnx
35814
 
   need_lib_prefix=no
35815
 
   need_version=no
35816
 
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
35817
 
   soname_spec='${libname}${release}${shared_ext}$major'
35818
 
   shlibpath_var=LD_LIBRARY_PATH
35819
 
-  shlibpath_overrides_runpath=yes
35820
 
+  shlibpath_overrides_runpath=no
35821
 
+  hardcode_into_libs=yes
35822
 
+  dynamic_linker='ldqnx.so'
35823
 
   ;;
35824
 
 
35825
 
 openbsd*)
35826
 
@@ -14045,13 +10103,13 @@ openbsd*)
35827
 
   need_lib_prefix=no
35828
 
   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
35829
 
   case $host_os in
35830
 
-    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
35831
 
-    *)                         need_version=no  ;;
35832
 
+    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
35833
 
+    *)                         need_version=no  ;;
35834
 
   esac
35835
 
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
35836
 
   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
35837
 
   shlibpath_var=LD_LIBRARY_PATH
35838
 
-  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
35839
 
+  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
35840
 
     case $host_os in
35841
 
       openbsd2.[89] | openbsd2.[89].*)
35842
 
        shlibpath_overrides_runpath=no
35843
 
@@ -14123,7 +10181,6 @@ sysv4 | sysv4.3*)
35844
 
     sni)
35845
 
       shlibpath_overrides_runpath=no
35846
 
       need_lib_prefix=no
35847
 
-      export_dynamic_flag_spec='${wl}-Blargedynsym'
35848
 
       runpath_var=LD_RUN_PATH
35849
 
       ;;
35850
 
     siemens)
35851
 
@@ -14154,13 +10211,12 @@ sysv5* | sco3.2v5* | sco5v6* | unixware*
35852
 
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
35853
 
   soname_spec='${libname}${release}${shared_ext}$major'
35854
 
   shlibpath_var=LD_LIBRARY_PATH
35855
 
+  shlibpath_overrides_runpath=yes
35856
 
   hardcode_into_libs=yes
35857
 
   if test "$with_gnu_ld" = yes; then
35858
 
     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
35859
 
-    shlibpath_overrides_runpath=no
35860
 
   else
35861
 
     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
35862
 
-    shlibpath_overrides_runpath=yes
35863
 
     case $host_os in
35864
 
       sco3.2v5*)
35865
 
         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
35866
 
@@ -14170,6 +10226,17 @@ sysv5* | sco3.2v5* | sco5v6* | unixware*
35867
 
   sys_lib_dlsearch_path_spec='/usr/lib'
35868
 
   ;;
35869
 
 
35870
 
+tpf*)
35871
 
+  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
35872
 
+  version_type=linux
35873
 
+  need_lib_prefix=no
35874
 
+  need_version=no
35875
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
35876
 
+  shlibpath_var=LD_LIBRARY_PATH
35877
 
+  shlibpath_overrides_runpath=no
35878
 
+  hardcode_into_libs=yes
35879
 
+  ;;
35880
 
+
35881
 
 uts4*)
35882
 
   version_type=linux
35883
 
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
35884
 
@@ -14181,4663 +10248,3677 @@ uts4*)
35885
 
   dynamic_linker=no
35886
 
   ;;
35887
 
 esac
35888
 
-{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
35889
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
35890
 
 $as_echo "$dynamic_linker" >&6; }
35891
 
 test "$dynamic_linker" = no && can_build_shared=no
35892
 
 
35893
 
-if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
35894
 
-  $as_echo_n "(cached) " >&6
35895
 
-else
35896
 
-  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
35897
 
+variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
35898
 
+if test "$GCC" = yes; then
35899
 
+  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
35900
 
 fi
35901
 
 
35902
 
-sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
35903
 
+if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
35904
 
+  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
35905
 
+fi
35906
 
 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
35907
 
-  $as_echo_n "(cached) " >&6
35908
 
-else
35909
 
-  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
35910
 
+  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
35911
 
 fi
35912
 
 
35913
 
-sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
35914
 
 
35915
 
-variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
35916
 
-if test "$GCC" = yes; then
35917
 
-  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
35918
 
-fi
35919
 
 
35920
 
-{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
35921
 
-$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
35922
 
-hardcode_action_CXX=
35923
 
-if test -n "$hardcode_libdir_flag_spec_CXX" || \
35924
 
-   test -n "$runpath_var_CXX" || \
35925
 
-   test "X$hardcode_automatic_CXX" = "Xyes" ; then
35926
 
-
35927
 
-  # We can hardcode non-existant directories.
35928
 
-  if test "$hardcode_direct_CXX" != no &&
35929
 
-     # If the only mechanism to avoid hardcoding is shlibpath_var, we
35930
 
-     # have to relink, otherwise we might link with an installed library
35931
 
-     # when we should be linking with a yet-to-be-installed one
35932
 
-     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
35933
 
-     test "$hardcode_minus_L_CXX" != no; then
35934
 
-    # Linking always hardcodes the temporary library directory.
35935
 
-    hardcode_action_CXX=relink
35936
 
-  else
35937
 
-    # We can link without hardcoding, and we can hardcode nonexisting dirs.
35938
 
-    hardcode_action_CXX=immediate
35939
 
-  fi
35940
 
-else
35941
 
-  # We cannot hardcode anything, or else we can only hardcode existing
35942
 
-  # directories.
35943
 
-  hardcode_action_CXX=unsupported
35944
 
-fi
35945
 
-{ $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
35946
 
-$as_echo "$hardcode_action_CXX" >&6; }
35947
 
-
35948
 
-if test "$hardcode_action_CXX" = relink; then
35949
 
-  # Fast installation is not supported
35950
 
-  enable_fast_install=no
35951
 
-elif test "$shlibpath_overrides_runpath" = yes ||
35952
 
-     test "$enable_shared" = no; then
35953
 
-  # Fast installation is not necessary
35954
 
-  enable_fast_install=needless
35955
 
-fi
35956
 
-
35957
 
-
35958
 
-# The else clause should only fire when bootstrapping the
35959
 
-# libtool distribution, otherwise you forgot to ship ltmain.sh
35960
 
-# with your package, and you will get complaints that there are
35961
 
-# no rules to generate ltmain.sh.
35962
 
-if test -f "$ltmain"; then
35963
 
-  # See if we are running on zsh, and set the options which allow our commands through
35964
 
-  # without removal of \ escapes.
35965
 
-  if test -n "${ZSH_VERSION+set}" ; then
35966
 
-    setopt NO_GLOB_SUBST
35967
 
-  fi
35968
 
-  # Now quote all the things that may contain metacharacters while being
35969
 
-  # careful not to overquote the AC_SUBSTed values.  We take copies of the
35970
 
-  # variables and quote the copies for generation of the libtool script.
35971
 
-  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
35972
 
-    SED SHELL STRIP \
35973
 
-    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
35974
 
-    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
35975
 
-    deplibs_check_method reload_flag reload_cmds need_locks \
35976
 
-    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
35977
 
-    lt_cv_sys_global_symbol_to_c_name_address \
35978
 
-    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
35979
 
-    old_postinstall_cmds old_postuninstall_cmds \
35980
 
-    compiler_CXX \
35981
 
-    CC_CXX \
35982
 
-    LD_CXX \
35983
 
-    lt_prog_compiler_wl_CXX \
35984
 
-    lt_prog_compiler_pic_CXX \
35985
 
-    lt_prog_compiler_static_CXX \
35986
 
-    lt_prog_compiler_no_builtin_flag_CXX \
35987
 
-    export_dynamic_flag_spec_CXX \
35988
 
-    thread_safe_flag_spec_CXX \
35989
 
-    whole_archive_flag_spec_CXX \
35990
 
-    enable_shared_with_static_runtimes_CXX \
35991
 
-    old_archive_cmds_CXX \
35992
 
-    old_archive_from_new_cmds_CXX \
35993
 
-    predep_objects_CXX \
35994
 
-    postdep_objects_CXX \
35995
 
-    predeps_CXX \
35996
 
-    postdeps_CXX \
35997
 
-    compiler_lib_search_path_CXX \
35998
 
-    compiler_lib_search_dirs_CXX \
35999
 
-    archive_cmds_CXX \
36000
 
-    archive_expsym_cmds_CXX \
36001
 
-    postinstall_cmds_CXX \
36002
 
-    postuninstall_cmds_CXX \
36003
 
-    old_archive_from_expsyms_cmds_CXX \
36004
 
-    allow_undefined_flag_CXX \
36005
 
-    no_undefined_flag_CXX \
36006
 
-    export_symbols_cmds_CXX \
36007
 
-    hardcode_libdir_flag_spec_CXX \
36008
 
-    hardcode_libdir_flag_spec_ld_CXX \
36009
 
-    hardcode_libdir_separator_CXX \
36010
 
-    hardcode_automatic_CXX \
36011
 
-    module_cmds_CXX \
36012
 
-    module_expsym_cmds_CXX \
36013
 
-    lt_cv_prog_compiler_c_o_CXX \
36014
 
-    fix_srcfile_path_CXX \
36015
 
-    exclude_expsyms_CXX \
36016
 
-    include_expsyms_CXX; do
36017
 
-
36018
 
-    case $var in
36019
 
-    old_archive_cmds_CXX | \
36020
 
-    old_archive_from_new_cmds_CXX | \
36021
 
-    archive_cmds_CXX | \
36022
 
-    archive_expsym_cmds_CXX | \
36023
 
-    module_cmds_CXX | \
36024
 
-    module_expsym_cmds_CXX | \
36025
 
-    old_archive_from_expsyms_cmds_CXX | \
36026
 
-    export_symbols_cmds_CXX | \
36027
 
-    extract_expsyms_cmds | reload_cmds | finish_cmds | \
36028
 
-    postinstall_cmds | postuninstall_cmds | \
36029
 
-    old_postinstall_cmds | old_postuninstall_cmds | \
36030
 
-    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
36031
 
-      # Double-quote double-evaled strings.
36032
 
-      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
36033
 
-      ;;
36034
 
-    *)
36035
 
-      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
36036
 
-      ;;
36037
 
-    esac
36038
 
-  done
36039
 
-
36040
 
-  case $lt_echo in
36041
 
-  *'\$0 --fallback-echo"')
36042
 
-    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
36043
 
-    ;;
36044
 
-  esac
36045
 
-
36046
 
-cfgfile="$ofile"
36047
 
 
36048
 
-  cat <<__EOF__ >> "$cfgfile"
36049
 
-# ### BEGIN LIBTOOL TAG CONFIG: $tagname
36050
 
-
36051
 
-# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
36052
 
 
36053
 
-# Shell to use when invoking shell scripts.
36054
 
-SHELL=$lt_SHELL
36055
 
 
36056
 
-# Whether or not to build shared libraries.
36057
 
-build_libtool_libs=$enable_shared
36058
 
 
36059
 
-# Whether or not to build static libraries.
36060
 
-build_old_libs=$enable_static
36061
 
 
36062
 
-# Whether or not to add -lc for building shared libraries.
36063
 
-build_libtool_need_lc=$archive_cmds_need_lc_CXX
36064
 
 
36065
 
-# Whether or not to disallow shared libs when runtime libs are static
36066
 
-allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
36067
 
 
36068
 
-# Whether or not to optimize for fast installation.
36069
 
-fast_install=$enable_fast_install
36070
 
 
36071
 
-# The host system.
36072
 
-host_alias=$host_alias
36073
 
-host=$host
36074
 
-host_os=$host_os
36075
 
 
36076
 
-# The build system.
36077
 
-build_alias=$build_alias
36078
 
-build=$build
36079
 
-build_os=$build_os
36080
 
 
36081
 
-# An echo program that does not interpret backslashes.
36082
 
-echo=$lt_echo
36083
 
 
36084
 
-# The archiver.
36085
 
-AR=$lt_AR
36086
 
-AR_FLAGS=$lt_AR_FLAGS
36087
 
 
36088
 
-# A C compiler.
36089
 
-LTCC=$lt_LTCC
36090
 
 
36091
 
-# LTCC compiler flags.
36092
 
-LTCFLAGS=$lt_LTCFLAGS
36093
 
 
36094
 
-# A language-specific compiler.
36095
 
-CC=$lt_compiler_CXX
36096
 
 
36097
 
-# Is the compiler the GNU C compiler?
36098
 
-with_gcc=$GCC_CXX
36099
 
 
36100
 
-# An ERE matcher.
36101
 
-EGREP=$lt_EGREP
36102
 
 
36103
 
-# The linker used to build libraries.
36104
 
-LD=$lt_LD_CXX
36105
 
 
36106
 
-# Whether we need hard or soft links.
36107
 
-LN_S=$lt_LN_S
36108
 
 
36109
 
-# A BSD-compatible nm program.
36110
 
-NM=$lt_NM
36111
 
 
36112
 
-# A symbol stripping program
36113
 
-STRIP=$lt_STRIP
36114
 
 
36115
 
-# Used to examine libraries when file_magic_cmd begins "file"
36116
 
-MAGIC_CMD=$MAGIC_CMD
36117
 
 
36118
 
-# Used on cygwin: DLL creation program.
36119
 
-DLLTOOL="$DLLTOOL"
36120
 
 
36121
 
-# Used on cygwin: object dumper.
36122
 
-OBJDUMP="$OBJDUMP"
36123
 
 
36124
 
-# Used on cygwin: assembler.
36125
 
-AS="$AS"
36126
 
 
36127
 
-# The name of the directory that contains temporary libtool files.
36128
 
-objdir=$objdir
36129
 
 
36130
 
-# How to create reloadable object files.
36131
 
-reload_flag=$lt_reload_flag
36132
 
-reload_cmds=$lt_reload_cmds
36133
 
 
36134
 
-# How to pass a linker flag through the compiler.
36135
 
-wl=$lt_lt_prog_compiler_wl_CXX
36136
 
 
36137
 
-# Object file suffix (normally "o").
36138
 
-objext="$ac_objext"
36139
 
 
36140
 
-# Old archive suffix (normally "a").
36141
 
-libext="$libext"
36142
 
 
36143
 
-# Shared library suffix (normally ".so").
36144
 
-shrext_cmds='$shrext_cmds'
36145
 
 
36146
 
-# Executable file suffix (normally "").
36147
 
-exeext="$exeext"
36148
 
 
36149
 
-# Additional compiler flags for building library objects.
36150
 
-pic_flag=$lt_lt_prog_compiler_pic_CXX
36151
 
-pic_mode=$pic_mode
36152
 
 
36153
 
-# What is the maximum length of a command?
36154
 
-max_cmd_len=$lt_cv_sys_max_cmd_len
36155
 
 
36156
 
-# Does compiler simultaneously support -c and -o options?
36157
 
-compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
36158
 
 
36159
 
-# Must we lock files when doing compilation?
36160
 
-need_locks=$lt_need_locks
36161
 
 
36162
 
-# Do we need the lib prefix for modules?
36163
 
-need_lib_prefix=$need_lib_prefix
36164
 
 
36165
 
-# Do we need a version for libraries?
36166
 
-need_version=$need_version
36167
 
 
36168
 
-# Whether dlopen is supported.
36169
 
-dlopen_support=$enable_dlopen
36170
 
 
36171
 
-# Whether dlopen of programs is supported.
36172
 
-dlopen_self=$enable_dlopen_self
36173
 
 
36174
 
-# Whether dlopen of statically linked programs is supported.
36175
 
-dlopen_self_static=$enable_dlopen_self_static
36176
 
 
36177
 
-# Compiler flag to prevent dynamic linking.
36178
 
-link_static_flag=$lt_lt_prog_compiler_static_CXX
36179
 
 
36180
 
-# Compiler flag to turn off builtin functions.
36181
 
-no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
36182
 
 
36183
 
-# Compiler flag to allow reflexive dlopens.
36184
 
-export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
36185
 
 
36186
 
-# Compiler flag to generate shared objects directly from archives.
36187
 
-whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
36188
 
 
36189
 
-# Compiler flag to generate thread-safe objects.
36190
 
-thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
36191
 
 
36192
 
-# Library versioning type.
36193
 
-version_type=$version_type
36194
 
 
36195
 
-# Format of library name prefix.
36196
 
-libname_spec=$lt_libname_spec
36197
 
 
36198
 
-# List of archive names.  First name is the real one, the rest are links.
36199
 
-# The last name is the one that the linker finds with -lNAME.
36200
 
-library_names_spec=$lt_library_names_spec
36201
 
 
36202
 
-# The coded name of the library, if different from the real name.
36203
 
-soname_spec=$lt_soname_spec
36204
 
 
36205
 
-# Commands used to build and install an old-style archive.
36206
 
-RANLIB=$lt_RANLIB
36207
 
-old_archive_cmds=$lt_old_archive_cmds_CXX
36208
 
-old_postinstall_cmds=$lt_old_postinstall_cmds
36209
 
-old_postuninstall_cmds=$lt_old_postuninstall_cmds
36210
 
 
36211
 
-# Create an old-style archive from a shared archive.
36212
 
-old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
36213
 
 
36214
 
-# Create a temporary old-style archive to link instead of a shared archive.
36215
 
-old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
36216
 
 
36217
 
-# Commands used to build and install a shared archive.
36218
 
-archive_cmds=$lt_archive_cmds_CXX
36219
 
-archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
36220
 
-postinstall_cmds=$lt_postinstall_cmds
36221
 
-postuninstall_cmds=$lt_postuninstall_cmds
36222
 
 
36223
 
-# Commands used to build a loadable module (assumed same as above if empty)
36224
 
-module_cmds=$lt_module_cmds_CXX
36225
 
-module_expsym_cmds=$lt_module_expsym_cmds_CXX
36226
 
 
36227
 
-# Commands to strip libraries.
36228
 
-old_striplib=$lt_old_striplib
36229
 
-striplib=$lt_striplib
36230
 
 
36231
 
-# Dependencies to place before the objects being linked to create a
36232
 
-# shared library.
36233
 
-predep_objects=$lt_predep_objects_CXX
36234
 
 
36235
 
-# Dependencies to place after the objects being linked to create a
36236
 
-# shared library.
36237
 
-postdep_objects=$lt_postdep_objects_CXX
36238
 
 
36239
 
-# Dependencies to place before the objects being linked to create a
36240
 
-# shared library.
36241
 
-predeps=$lt_predeps_CXX
36242
 
 
36243
 
-# Dependencies to place after the objects being linked to create a
36244
 
-# shared library.
36245
 
-postdeps=$lt_postdeps_CXX
36246
 
 
36247
 
-# The directories searched by this compiler when creating a shared
36248
 
-# library
36249
 
-compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
36250
 
 
36251
 
-# The library search path used internally by the compiler when linking
36252
 
-# a shared library.
36253
 
-compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
36254
 
 
36255
 
-# Method to check whether dependent libraries are shared objects.
36256
 
-deplibs_check_method=$lt_deplibs_check_method
36257
 
 
36258
 
-# Command to use when deplibs_check_method == file_magic.
36259
 
-file_magic_cmd=$lt_file_magic_cmd
36260
 
 
36261
 
-# Flag that allows shared libraries with undefined symbols to be built.
36262
 
-allow_undefined_flag=$lt_allow_undefined_flag_CXX
36263
 
 
36264
 
-# Flag that forces no undefined symbols.
36265
 
-no_undefined_flag=$lt_no_undefined_flag_CXX
36266
 
 
36267
 
-# Commands used to finish a libtool library installation in a directory.
36268
 
-finish_cmds=$lt_finish_cmds
36269
 
 
36270
 
-# Same as above, but a single script fragment to be evaled but not shown.
36271
 
-finish_eval=$lt_finish_eval
36272
 
 
36273
 
-# Take the output of nm and produce a listing of raw symbols and C names.
36274
 
-global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
36275
 
 
36276
 
-# Transform the output of nm in a proper C declaration
36277
 
-global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
36278
 
 
36279
 
-# Transform the output of nm in a C name address pair
36280
 
-global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
36281
 
 
36282
 
-# This is the shared library runtime path variable.
36283
 
-runpath_var=$runpath_var
36284
 
 
36285
 
-# This is the shared library path variable.
36286
 
-shlibpath_var=$shlibpath_var
36287
 
 
36288
 
-# Is shlibpath searched before the hard-coded library search path?
36289
 
-shlibpath_overrides_runpath=$shlibpath_overrides_runpath
36290
 
 
36291
 
-# How to hardcode a shared library path into an executable.
36292
 
-hardcode_action=$hardcode_action_CXX
36293
 
 
36294
 
-# Whether we should hardcode library paths into libraries.
36295
 
-hardcode_into_libs=$hardcode_into_libs
36296
 
 
36297
 
-# Flag to hardcode \$libdir into a binary during linking.
36298
 
-# This must work even if \$libdir does not exist.
36299
 
-hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
36300
 
 
36301
 
-# If ld is used when linking, flag to hardcode \$libdir into
36302
 
-# a binary during linking. This must work even if \$libdir does
36303
 
-# not exist.
36304
 
-hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
36305
 
 
36306
 
-# Whether we need a single -rpath flag with a separated argument.
36307
 
-hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
36308
 
 
36309
 
-# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
36310
 
-# resulting binary.
36311
 
-hardcode_direct=$hardcode_direct_CXX
36312
 
 
36313
 
-# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
36314
 
-# resulting binary.
36315
 
-hardcode_minus_L=$hardcode_minus_L_CXX
36316
 
 
36317
 
-# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
36318
 
-# the resulting binary.
36319
 
-hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
36320
 
 
36321
 
-# Set to yes if building a shared library automatically hardcodes DIR into the library
36322
 
-# and all subsequent libraries and executables linked against it.
36323
 
-hardcode_automatic=$hardcode_automatic_CXX
36324
 
 
36325
 
-# Variables whose values should be saved in libtool wrapper scripts and
36326
 
-# restored at relink time.
36327
 
-variables_saved_for_relink="$variables_saved_for_relink"
36328
 
 
36329
 
-# Whether libtool must link a program against all its dependency libraries.
36330
 
-link_all_deplibs=$link_all_deplibs_CXX
36331
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
36332
 
+$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
36333
 
+hardcode_action=
36334
 
+if test -n "$hardcode_libdir_flag_spec" ||
36335
 
+   test -n "$runpath_var" ||
36336
 
+   test "X$hardcode_automatic" = "Xyes" ; then
36337
 
 
36338
 
-# Compile-time system search path for libraries
36339
 
-sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
36340
 
+  # We can hardcode non-existent directories.
36341
 
+  if test "$hardcode_direct" != no &&
36342
 
+     # If the only mechanism to avoid hardcoding is shlibpath_var, we
36343
 
+     # have to relink, otherwise we might link with an installed library
36344
 
+     # when we should be linking with a yet-to-be-installed one
36345
 
+     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
36346
 
+     test "$hardcode_minus_L" != no; then
36347
 
+    # Linking always hardcodes the temporary library directory.
36348
 
+    hardcode_action=relink
36349
 
+  else
36350
 
+    # We can link without hardcoding, and we can hardcode nonexisting dirs.
36351
 
+    hardcode_action=immediate
36352
 
+  fi
36353
 
+else
36354
 
+  # We cannot hardcode anything, or else we can only hardcode existing
36355
 
+  # directories.
36356
 
+  hardcode_action=unsupported
36357
 
+fi
36358
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
36359
 
+$as_echo "$hardcode_action" >&6; }
36360
 
 
36361
 
-# Run-time system search path for libraries
36362
 
-sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
36363
 
+if test "$hardcode_action" = relink ||
36364
 
+   test "$inherit_rpath" = yes; then
36365
 
+  # Fast installation is not supported
36366
 
+  enable_fast_install=no
36367
 
+elif test "$shlibpath_overrides_runpath" = yes ||
36368
 
+     test "$enable_shared" = no; then
36369
 
+  # Fast installation is not necessary
36370
 
+  enable_fast_install=needless
36371
 
+fi
36372
 
 
36373
 
-# Fix the shell variable \$srcfile for the compiler.
36374
 
-fix_srcfile_path=$lt_fix_srcfile_path
36375
 
 
36376
 
-# Set to yes if exported symbols are required.
36377
 
-always_export_symbols=$always_export_symbols_CXX
36378
 
 
36379
 
-# The commands to list exported symbols.
36380
 
-export_symbols_cmds=$lt_export_symbols_cmds_CXX
36381
 
 
36382
 
-# The commands to extract the exported symbol list from a shared archive.
36383
 
-extract_expsyms_cmds=$lt_extract_expsyms_cmds
36384
 
 
36385
 
-# Symbols that should not be listed in the preloaded symbols.
36386
 
-exclude_expsyms=$lt_exclude_expsyms_CXX
36387
 
 
36388
 
-# Symbols that must always be exported.
36389
 
-include_expsyms=$lt_include_expsyms_CXX
36390
 
+  if test "x$enable_dlopen" != xyes; then
36391
 
+  enable_dlopen=unknown
36392
 
+  enable_dlopen_self=unknown
36393
 
+  enable_dlopen_self_static=unknown
36394
 
+else
36395
 
+  lt_cv_dlopen=no
36396
 
+  lt_cv_dlopen_libs=
36397
 
 
36398
 
-# ### END LIBTOOL TAG CONFIG: $tagname
36399
 
+  case $host_os in
36400
 
+  beos*)
36401
 
+    lt_cv_dlopen="load_add_on"
36402
 
+    lt_cv_dlopen_libs=
36403
 
+    lt_cv_dlopen_self=yes
36404
 
+    ;;
36405
 
 
36406
 
-__EOF__
36407
 
+  mingw* | pw32* | cegcc*)
36408
 
+    lt_cv_dlopen="LoadLibrary"
36409
 
+    lt_cv_dlopen_libs=
36410
 
+    ;;
36411
 
 
36412
 
+  cygwin*)
36413
 
+    lt_cv_dlopen="dlopen"
36414
 
+    lt_cv_dlopen_libs=
36415
 
+    ;;
36416
 
 
36417
 
+  darwin*)
36418
 
+  # if libdl is installed we need to link against it
36419
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
36420
 
+$as_echo_n "checking for dlopen in -ldl... " >&6; }
36421
 
+if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
36422
 
+  $as_echo_n "(cached) " >&6
36423
 
 else
36424
 
-  # If there is no Makefile yet, we rely on a make rule to execute
36425
 
-  # `config.status --recheck' to rerun these tests and create the
36426
 
-  # libtool script then.
36427
 
-  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
36428
 
-  if test -f "$ltmain_in"; then
36429
 
-    test -f Makefile && make "$ltmain"
36430
 
-  fi
36431
 
-fi
36432
 
-
36433
 
-
36434
 
-ac_ext=c
36435
 
-ac_cpp='$CPP $CPPFLAGS'
36436
 
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36437
 
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36438
 
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
36439
 
-
36440
 
-CC=$lt_save_CC
36441
 
-LDCXX=$LD
36442
 
-LD=$lt_save_LD
36443
 
-GCC=$lt_save_GCC
36444
 
-with_gnu_ldcxx=$with_gnu_ld
36445
 
-with_gnu_ld=$lt_save_with_gnu_ld
36446
 
-lt_cv_path_LDCXX=$lt_cv_path_LD
36447
 
-lt_cv_path_LD=$lt_save_path_LD
36448
 
-lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
36449
 
-lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
36450
 
+  ac_check_lib_save_LIBS=$LIBS
36451
 
+LIBS="-ldl  $LIBS"
36452
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36453
 
+/* end confdefs.h.  */
36454
 
 
36455
 
-       else
36456
 
-         tagname=""
36457
 
-       fi
36458
 
-       ;;
36459
 
+/* Override any GCC internal prototype to avoid an error.
36460
 
+   Use char because int might match the return type of a GCC
36461
 
+   builtin and then its argument prototype would still apply.  */
36462
 
+#ifdef __cplusplus
36463
 
+extern "C"
36464
 
+#endif
36465
 
+char dlopen ();
36466
 
+int
36467
 
+main ()
36468
 
+{
36469
 
+return dlopen ();
36470
 
+  ;
36471
 
+  return 0;
36472
 
+}
36473
 
+_ACEOF
36474
 
+if ac_fn_c_try_link "$LINENO"; then :
36475
 
+  ac_cv_lib_dl_dlopen=yes
36476
 
+else
36477
 
+  ac_cv_lib_dl_dlopen=no
36478
 
+fi
36479
 
+rm -f core conftest.err conftest.$ac_objext \
36480
 
+    conftest$ac_exeext conftest.$ac_ext
36481
 
+LIBS=$ac_check_lib_save_LIBS
36482
 
+fi
36483
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
36484
 
+$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
36485
 
+if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
36486
 
+  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
36487
 
+else
36488
 
 
36489
 
-      F77)
36490
 
-       if test -n "$F77" && test "X$F77" != "Xno"; then
36491
 
+    lt_cv_dlopen="dyld"
36492
 
+    lt_cv_dlopen_libs=
36493
 
+    lt_cv_dlopen_self=yes
36494
 
 
36495
 
-ac_ext=f
36496
 
-ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
36497
 
-ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36498
 
-ac_compiler_gnu=$ac_cv_f77_compiler_gnu
36499
 
-
36500
 
-
36501
 
-archive_cmds_need_lc_F77=no
36502
 
-allow_undefined_flag_F77=
36503
 
-always_export_symbols_F77=no
36504
 
-archive_expsym_cmds_F77=
36505
 
-export_dynamic_flag_spec_F77=
36506
 
-hardcode_direct_F77=no
36507
 
-hardcode_libdir_flag_spec_F77=
36508
 
-hardcode_libdir_flag_spec_ld_F77=
36509
 
-hardcode_libdir_separator_F77=
36510
 
-hardcode_minus_L_F77=no
36511
 
-hardcode_automatic_F77=no
36512
 
-module_cmds_F77=
36513
 
-module_expsym_cmds_F77=
36514
 
-link_all_deplibs_F77=unknown
36515
 
-old_archive_cmds_F77=$old_archive_cmds
36516
 
-no_undefined_flag_F77=
36517
 
-whole_archive_flag_spec_F77=
36518
 
-enable_shared_with_static_runtimes_F77=no
36519
 
+fi
36520
 
 
36521
 
-# Source file extension for f77 test sources.
36522
 
-ac_ext=f
36523
 
+    ;;
36524
 
 
36525
 
-# Object file extension for compiled f77 test sources.
36526
 
-objext=o
36527
 
-objext_F77=$objext
36528
 
+  *)
36529
 
+    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
36530
 
+if test "x$ac_cv_func_shl_load" = x""yes; then :
36531
 
+  lt_cv_dlopen="shl_load"
36532
 
+else
36533
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
36534
 
+$as_echo_n "checking for shl_load in -ldld... " >&6; }
36535
 
+if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
36536
 
+  $as_echo_n "(cached) " >&6
36537
 
+else
36538
 
+  ac_check_lib_save_LIBS=$LIBS
36539
 
+LIBS="-ldld  $LIBS"
36540
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36541
 
+/* end confdefs.h.  */
36542
 
 
36543
 
-# Code to be used in simple compile tests
36544
 
-lt_simple_compile_test_code="\
36545
 
-      subroutine t
36546
 
-      return
36547
 
-      end
36548
 
-"
36549
 
+/* Override any GCC internal prototype to avoid an error.
36550
 
+   Use char because int might match the return type of a GCC
36551
 
+   builtin and then its argument prototype would still apply.  */
36552
 
+#ifdef __cplusplus
36553
 
+extern "C"
36554
 
+#endif
36555
 
+char shl_load ();
36556
 
+int
36557
 
+main ()
36558
 
+{
36559
 
+return shl_load ();
36560
 
+  ;
36561
 
+  return 0;
36562
 
+}
36563
 
+_ACEOF
36564
 
+if ac_fn_c_try_link "$LINENO"; then :
36565
 
+  ac_cv_lib_dld_shl_load=yes
36566
 
+else
36567
 
+  ac_cv_lib_dld_shl_load=no
36568
 
+fi
36569
 
+rm -f core conftest.err conftest.$ac_objext \
36570
 
+    conftest$ac_exeext conftest.$ac_ext
36571
 
+LIBS=$ac_check_lib_save_LIBS
36572
 
+fi
36573
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
36574
 
+$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
36575
 
+if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
36576
 
+  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
36577
 
+else
36578
 
+  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
36579
 
+if test "x$ac_cv_func_dlopen" = x""yes; then :
36580
 
+  lt_cv_dlopen="dlopen"
36581
 
+else
36582
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
36583
 
+$as_echo_n "checking for dlopen in -ldl... " >&6; }
36584
 
+if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
36585
 
+  $as_echo_n "(cached) " >&6
36586
 
+else
36587
 
+  ac_check_lib_save_LIBS=$LIBS
36588
 
+LIBS="-ldl  $LIBS"
36589
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36590
 
+/* end confdefs.h.  */
36591
 
 
36592
 
-# Code to be used in simple link tests
36593
 
-lt_simple_link_test_code="\
36594
 
-      program t
36595
 
-      end
36596
 
-"
36597
 
+/* Override any GCC internal prototype to avoid an error.
36598
 
+   Use char because int might match the return type of a GCC
36599
 
+   builtin and then its argument prototype would still apply.  */
36600
 
+#ifdef __cplusplus
36601
 
+extern "C"
36602
 
+#endif
36603
 
+char dlopen ();
36604
 
+int
36605
 
+main ()
36606
 
+{
36607
 
+return dlopen ();
36608
 
+  ;
36609
 
+  return 0;
36610
 
+}
36611
 
+_ACEOF
36612
 
+if ac_fn_c_try_link "$LINENO"; then :
36613
 
+  ac_cv_lib_dl_dlopen=yes
36614
 
+else
36615
 
+  ac_cv_lib_dl_dlopen=no
36616
 
+fi
36617
 
+rm -f core conftest.err conftest.$ac_objext \
36618
 
+    conftest$ac_exeext conftest.$ac_ext
36619
 
+LIBS=$ac_check_lib_save_LIBS
36620
 
+fi
36621
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
36622
 
+$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
36623
 
+if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
36624
 
+  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
36625
 
+else
36626
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
36627
 
+$as_echo_n "checking for dlopen in -lsvld... " >&6; }
36628
 
+if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
36629
 
+  $as_echo_n "(cached) " >&6
36630
 
+else
36631
 
+  ac_check_lib_save_LIBS=$LIBS
36632
 
+LIBS="-lsvld  $LIBS"
36633
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36634
 
+/* end confdefs.h.  */
36635
 
+
36636
 
+/* Override any GCC internal prototype to avoid an error.
36637
 
+   Use char because int might match the return type of a GCC
36638
 
+   builtin and then its argument prototype would still apply.  */
36639
 
+#ifdef __cplusplus
36640
 
+extern "C"
36641
 
+#endif
36642
 
+char dlopen ();
36643
 
+int
36644
 
+main ()
36645
 
+{
36646
 
+return dlopen ();
36647
 
+  ;
36648
 
+  return 0;
36649
 
+}
36650
 
+_ACEOF
36651
 
+if ac_fn_c_try_link "$LINENO"; then :
36652
 
+  ac_cv_lib_svld_dlopen=yes
36653
 
+else
36654
 
+  ac_cv_lib_svld_dlopen=no
36655
 
+fi
36656
 
+rm -f core conftest.err conftest.$ac_objext \
36657
 
+    conftest$ac_exeext conftest.$ac_ext
36658
 
+LIBS=$ac_check_lib_save_LIBS
36659
 
+fi
36660
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
36661
 
+$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
36662
 
+if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
36663
 
+  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
36664
 
+else
36665
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
36666
 
+$as_echo_n "checking for dld_link in -ldld... " >&6; }
36667
 
+if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
36668
 
+  $as_echo_n "(cached) " >&6
36669
 
+else
36670
 
+  ac_check_lib_save_LIBS=$LIBS
36671
 
+LIBS="-ldld  $LIBS"
36672
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36673
 
+/* end confdefs.h.  */
36674
 
 
36675
 
-# ltmain only uses $CC for tagged configurations so make sure $CC is set.
36676
 
+/* Override any GCC internal prototype to avoid an error.
36677
 
+   Use char because int might match the return type of a GCC
36678
 
+   builtin and then its argument prototype would still apply.  */
36679
 
+#ifdef __cplusplus
36680
 
+extern "C"
36681
 
+#endif
36682
 
+char dld_link ();
36683
 
+int
36684
 
+main ()
36685
 
+{
36686
 
+return dld_link ();
36687
 
+  ;
36688
 
+  return 0;
36689
 
+}
36690
 
+_ACEOF
36691
 
+if ac_fn_c_try_link "$LINENO"; then :
36692
 
+  ac_cv_lib_dld_dld_link=yes
36693
 
+else
36694
 
+  ac_cv_lib_dld_dld_link=no
36695
 
+fi
36696
 
+rm -f core conftest.err conftest.$ac_objext \
36697
 
+    conftest$ac_exeext conftest.$ac_ext
36698
 
+LIBS=$ac_check_lib_save_LIBS
36699
 
+fi
36700
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
36701
 
+$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
36702
 
+if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
36703
 
+  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
36704
 
+fi
36705
 
 
36706
 
-# If no C compiler was specified, use CC.
36707
 
-LTCC=${LTCC-"$CC"}
36708
 
 
36709
 
-# If no C compiler flags were specified, use CFLAGS.
36710
 
-LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
36711
 
+fi
36712
 
 
36713
 
-# Allow CC to be a program name with arguments.
36714
 
-compiler=$CC
36715
 
 
36716
 
+fi
36717
 
 
36718
 
-# save warnings/boilerplate of simple test code
36719
 
-ac_outfile=conftest.$ac_objext
36720
 
-echo "$lt_simple_compile_test_code" >conftest.$ac_ext
36721
 
-eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
36722
 
-_lt_compiler_boilerplate=`cat conftest.err`
36723
 
-$rm conftest*
36724
 
 
36725
 
-ac_outfile=conftest.$ac_objext
36726
 
-echo "$lt_simple_link_test_code" >conftest.$ac_ext
36727
 
-eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
36728
 
-_lt_linker_boilerplate=`cat conftest.err`
36729
 
-$rm -r conftest*
36730
 
+fi
36731
 
 
36732
 
 
36733
 
-# Allow CC to be a program name with arguments.
36734
 
-lt_save_CC="$CC"
36735
 
-CC=${F77-"f77"}
36736
 
-compiler=$CC
36737
 
-compiler_F77=$CC
36738
 
-for cc_temp in $compiler""; do
36739
 
-  case $cc_temp in
36740
 
-    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
36741
 
-    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
36742
 
-    \-*) ;;
36743
 
-    *) break;;
36744
 
-  esac
36745
 
-done
36746
 
-cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
36747
 
+fi
36748
 
 
36749
 
 
36750
 
-{ $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
36751
 
-$as_echo_n "checking if libtool supports shared libraries... " >&6; }
36752
 
-{ $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
36753
 
-$as_echo "$can_build_shared" >&6; }
36754
 
+fi
36755
 
 
36756
 
-{ $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
36757
 
-$as_echo_n "checking whether to build shared libraries... " >&6; }
36758
 
-test "$can_build_shared" = "no" && enable_shared=no
36759
 
+    ;;
36760
 
+  esac
36761
 
 
36762
 
-# On AIX, shared libraries and static libraries use the same namespace, and
36763
 
-# are all built from PIC.
36764
 
-case $host_os in
36765
 
-aix3*)
36766
 
-  test "$enable_shared" = yes && enable_static=no
36767
 
-  if test -n "$RANLIB"; then
36768
 
-    archive_cmds="$archive_cmds~\$RANLIB \$lib"
36769
 
-    postinstall_cmds='$RANLIB $lib'
36770
 
-  fi
36771
 
-  ;;
36772
 
-aix[4-9]*)
36773
 
-  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
36774
 
-    test "$enable_shared" = yes && enable_static=no
36775
 
+  if test "x$lt_cv_dlopen" != xno; then
36776
 
+    enable_dlopen=yes
36777
 
+  else
36778
 
+    enable_dlopen=no
36779
 
   fi
36780
 
-  ;;
36781
 
-esac
36782
 
-{ $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
36783
 
-$as_echo "$enable_shared" >&6; }
36784
 
-
36785
 
-{ $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
36786
 
-$as_echo_n "checking whether to build static libraries... " >&6; }
36787
 
-# Make sure either enable_shared or enable_static is yes.
36788
 
-test "$enable_shared" = yes || enable_static=yes
36789
 
-{ $as_echo "$as_me:$LINENO: result: $enable_static" >&5
36790
 
-$as_echo "$enable_static" >&6; }
36791
 
 
36792
 
-GCC_F77="$G77"
36793
 
-LD_F77="$LD"
36794
 
+  case $lt_cv_dlopen in
36795
 
+  dlopen)
36796
 
+    save_CPPFLAGS="$CPPFLAGS"
36797
 
+    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
36798
 
 
36799
 
-lt_prog_compiler_wl_F77=
36800
 
-lt_prog_compiler_pic_F77=
36801
 
-lt_prog_compiler_static_F77=
36802
 
+    save_LDFLAGS="$LDFLAGS"
36803
 
+    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
36804
 
 
36805
 
-{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
36806
 
-$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
36807
 
+    save_LIBS="$LIBS"
36808
 
+    LIBS="$lt_cv_dlopen_libs $LIBS"
36809
 
 
36810
 
-  if test "$GCC" = yes; then
36811
 
-    lt_prog_compiler_wl_F77='-Wl,'
36812
 
-    lt_prog_compiler_static_F77='-static'
36813
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
36814
 
+$as_echo_n "checking whether a program can dlopen itself... " >&6; }
36815
 
+if test "${lt_cv_dlopen_self+set}" = set; then :
36816
 
+  $as_echo_n "(cached) " >&6
36817
 
+else
36818
 
+         if test "$cross_compiling" = yes; then :
36819
 
+  lt_cv_dlopen_self=cross
36820
 
+else
36821
 
+  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
36822
 
+  lt_status=$lt_dlunknown
36823
 
+  cat > conftest.$ac_ext <<_LT_EOF
36824
 
+#line 10683 "configure"
36825
 
+#include "confdefs.h"
36826
 
 
36827
 
-    case $host_os in
36828
 
-      aix*)
36829
 
-      # All AIX code is PIC.
36830
 
-      if test "$host_cpu" = ia64; then
36831
 
-       # AIX 5 now supports IA64 processor
36832
 
-       lt_prog_compiler_static_F77='-Bstatic'
36833
 
-      fi
36834
 
-      ;;
36835
 
+#if HAVE_DLFCN_H
36836
 
+#include <dlfcn.h>
36837
 
+#endif
36838
 
 
36839
 
-    amigaos*)
36840
 
-      # FIXME: we need at least 68020 code to build shared libraries, but
36841
 
-      # adding the `-m68020' flag to GCC prevents building anything better,
36842
 
-      # like `-m68040'.
36843
 
-      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
36844
 
-      ;;
36845
 
+#include <stdio.h>
36846
 
 
36847
 
-    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
36848
 
-      # PIC is the default for these OSes.
36849
 
-      ;;
36850
 
+#ifdef RTLD_GLOBAL
36851
 
+#  define LT_DLGLOBAL          RTLD_GLOBAL
36852
 
+#else
36853
 
+#  ifdef DL_GLOBAL
36854
 
+#    define LT_DLGLOBAL                DL_GLOBAL
36855
 
+#  else
36856
 
+#    define LT_DLGLOBAL                0
36857
 
+#  endif
36858
 
+#endif
36859
 
 
36860
 
-    mingw* | cygwin* | pw32* | os2*)
36861
 
-      # This hack is so that the source file can tell whether it is being
36862
 
-      # built for inclusion in a dll (and should export symbols for example).
36863
 
-      # Although the cygwin gcc ignores -fPIC, still need this for old-style
36864
 
-      # (--disable-auto-import) libraries
36865
 
-      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
36866
 
-      ;;
36867
 
+/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
36868
 
+   find out it does not work in some platform. */
36869
 
+#ifndef LT_DLLAZY_OR_NOW
36870
 
+#  ifdef RTLD_LAZY
36871
 
+#    define LT_DLLAZY_OR_NOW           RTLD_LAZY
36872
 
+#  else
36873
 
+#    ifdef DL_LAZY
36874
 
+#      define LT_DLLAZY_OR_NOW         DL_LAZY
36875
 
+#    else
36876
 
+#      ifdef RTLD_NOW
36877
 
+#        define LT_DLLAZY_OR_NOW       RTLD_NOW
36878
 
+#      else
36879
 
+#        ifdef DL_NOW
36880
 
+#          define LT_DLLAZY_OR_NOW     DL_NOW
36881
 
+#        else
36882
 
+#          define LT_DLLAZY_OR_NOW     0
36883
 
+#        endif
36884
 
+#      endif
36885
 
+#    endif
36886
 
+#  endif
36887
 
+#endif
36888
 
 
36889
 
-    darwin* | rhapsody*)
36890
 
-      # PIC is the default on this platform
36891
 
-      # Common symbols not allowed in MH_DYLIB files
36892
 
-      lt_prog_compiler_pic_F77='-fno-common'
36893
 
-      ;;
36894
 
+void fnord() { int i=42;}
36895
 
+int main ()
36896
 
+{
36897
 
+  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
36898
 
+  int status = $lt_dlunknown;
36899
 
 
36900
 
-    interix[3-9]*)
36901
 
-      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
36902
 
-      # Instead, we relocate shared libraries at runtime.
36903
 
-      ;;
36904
 
+  if (self)
36905
 
+    {
36906
 
+      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
36907
 
+      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
36908
 
+      /* dlclose (self); */
36909
 
+    }
36910
 
+  else
36911
 
+    puts (dlerror ());
36912
 
 
36913
 
-    msdosdjgpp*)
36914
 
-      # Just because we use GCC doesn't mean we suddenly get shared libraries
36915
 
-      # on systems that don't support them.
36916
 
-      lt_prog_compiler_can_build_shared_F77=no
36917
 
-      enable_shared=no
36918
 
-      ;;
36919
 
+  return status;
36920
 
+}
36921
 
+_LT_EOF
36922
 
+  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
36923
 
+  (eval $ac_link) 2>&5
36924
 
+  ac_status=$?
36925
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36926
 
+  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
36927
 
+    (./conftest; exit; ) >&5 2>/dev/null
36928
 
+    lt_status=$?
36929
 
+    case x$lt_status in
36930
 
+      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
36931
 
+      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
36932
 
+      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
36933
 
+    esac
36934
 
+  else :
36935
 
+    # compilation failed
36936
 
+    lt_cv_dlopen_self=no
36937
 
+  fi
36938
 
+fi
36939
 
+rm -fr conftest*
36940
 
 
36941
 
-    sysv4*MP*)
36942
 
-      if test -d /usr/nec; then
36943
 
-       lt_prog_compiler_pic_F77=-Kconform_pic
36944
 
-      fi
36945
 
-      ;;
36946
 
 
36947
 
-    hpux*)
36948
 
-      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
36949
 
-      # not for PA HP-UX.
36950
 
-      case $host_cpu in
36951
 
-      hppa*64*|ia64*)
36952
 
-       # +Z the default
36953
 
-       ;;
36954
 
-      *)
36955
 
-       lt_prog_compiler_pic_F77='-fPIC'
36956
 
-       ;;
36957
 
-      esac
36958
 
-      ;;
36959
 
+fi
36960
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
36961
 
+$as_echo "$lt_cv_dlopen_self" >&6; }
36962
 
 
36963
 
-    *)
36964
 
-      lt_prog_compiler_pic_F77='-fPIC'
36965
 
-      ;;
36966
 
-    esac
36967
 
-  else
36968
 
-    # PORTME Check for flag to pass linker flags through the system compiler.
36969
 
-    case $host_os in
36970
 
-    aix*)
36971
 
-      lt_prog_compiler_wl_F77='-Wl,'
36972
 
-      if test "$host_cpu" = ia64; then
36973
 
-       # AIX 5 now supports IA64 processor
36974
 
-       lt_prog_compiler_static_F77='-Bstatic'
36975
 
-      else
36976
 
-       lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
36977
 
-      fi
36978
 
-      ;;
36979
 
-      darwin*)
36980
 
-        # PIC is the default on this platform
36981
 
-        # Common symbols not allowed in MH_DYLIB files
36982
 
-       case $cc_basename in
36983
 
-         xlc*)
36984
 
-         lt_prog_compiler_pic_F77='-qnocommon'
36985
 
-         lt_prog_compiler_wl_F77='-Wl,'
36986
 
-         ;;
36987
 
-       esac
36988
 
-       ;;
36989
 
+    if test "x$lt_cv_dlopen_self" = xyes; then
36990
 
+      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
36991
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
36992
 
+$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
36993
 
+if test "${lt_cv_dlopen_self_static+set}" = set; then :
36994
 
+  $as_echo_n "(cached) " >&6
36995
 
+else
36996
 
+         if test "$cross_compiling" = yes; then :
36997
 
+  lt_cv_dlopen_self_static=cross
36998
 
+else
36999
 
+  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
37000
 
+  lt_status=$lt_dlunknown
37001
 
+  cat > conftest.$ac_ext <<_LT_EOF
37002
 
+#line 10779 "configure"
37003
 
+#include "confdefs.h"
37004
 
 
37005
 
-    mingw* | cygwin* | pw32* | os2*)
37006
 
-      # This hack is so that the source file can tell whether it is being
37007
 
-      # built for inclusion in a dll (and should export symbols for example).
37008
 
-      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
37009
 
-      ;;
37010
 
+#if HAVE_DLFCN_H
37011
 
+#include <dlfcn.h>
37012
 
+#endif
37013
 
 
37014
 
-    hpux9* | hpux10* | hpux11*)
37015
 
-      lt_prog_compiler_wl_F77='-Wl,'
37016
 
-      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
37017
 
-      # not for PA HP-UX.
37018
 
-      case $host_cpu in
37019
 
-      hppa*64*|ia64*)
37020
 
-       # +Z the default
37021
 
-       ;;
37022
 
-      *)
37023
 
-       lt_prog_compiler_pic_F77='+Z'
37024
 
-       ;;
37025
 
-      esac
37026
 
-      # Is there a better lt_prog_compiler_static that works with the bundled CC?
37027
 
-      lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
37028
 
-      ;;
37029
 
+#include <stdio.h>
37030
 
 
37031
 
-    irix5* | irix6* | nonstopux*)
37032
 
-      lt_prog_compiler_wl_F77='-Wl,'
37033
 
-      # PIC (with -KPIC) is the default.
37034
 
-      lt_prog_compiler_static_F77='-non_shared'
37035
 
-      ;;
37036
 
+#ifdef RTLD_GLOBAL
37037
 
+#  define LT_DLGLOBAL          RTLD_GLOBAL
37038
 
+#else
37039
 
+#  ifdef DL_GLOBAL
37040
 
+#    define LT_DLGLOBAL                DL_GLOBAL
37041
 
+#  else
37042
 
+#    define LT_DLGLOBAL                0
37043
 
+#  endif
37044
 
+#endif
37045
 
 
37046
 
-    newsos6)
37047
 
-      lt_prog_compiler_pic_F77='-KPIC'
37048
 
-      lt_prog_compiler_static_F77='-Bstatic'
37049
 
-      ;;
37050
 
+/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
37051
 
+   find out it does not work in some platform. */
37052
 
+#ifndef LT_DLLAZY_OR_NOW
37053
 
+#  ifdef RTLD_LAZY
37054
 
+#    define LT_DLLAZY_OR_NOW           RTLD_LAZY
37055
 
+#  else
37056
 
+#    ifdef DL_LAZY
37057
 
+#      define LT_DLLAZY_OR_NOW         DL_LAZY
37058
 
+#    else
37059
 
+#      ifdef RTLD_NOW
37060
 
+#        define LT_DLLAZY_OR_NOW       RTLD_NOW
37061
 
+#      else
37062
 
+#        ifdef DL_NOW
37063
 
+#          define LT_DLLAZY_OR_NOW     DL_NOW
37064
 
+#        else
37065
 
+#          define LT_DLLAZY_OR_NOW     0
37066
 
+#        endif
37067
 
+#      endif
37068
 
+#    endif
37069
 
+#  endif
37070
 
+#endif
37071
 
 
37072
 
-    linux* | k*bsd*-gnu)
37073
 
-      case $cc_basename in
37074
 
-      icc* | ecc*)
37075
 
-       lt_prog_compiler_wl_F77='-Wl,'
37076
 
-       lt_prog_compiler_pic_F77='-KPIC'
37077
 
-       lt_prog_compiler_static_F77='-static'
37078
 
-        ;;
37079
 
-      pgcc* | pgf77* | pgf90* | pgf95*)
37080
 
-        # Portland Group compilers (*not* the Pentium gcc compiler,
37081
 
-       # which looks to be a dead project)
37082
 
-       lt_prog_compiler_wl_F77='-Wl,'
37083
 
-       lt_prog_compiler_pic_F77='-fpic'
37084
 
-       lt_prog_compiler_static_F77='-Bstatic'
37085
 
-        ;;
37086
 
-      ccc*)
37087
 
-        lt_prog_compiler_wl_F77='-Wl,'
37088
 
-        # All Alpha code is PIC.
37089
 
-        lt_prog_compiler_static_F77='-non_shared'
37090
 
-        ;;
37091
 
-      *)
37092
 
-        case `$CC -V 2>&1 | sed 5q` in
37093
 
-       *Sun\ C*)
37094
 
-         # Sun C 5.9
37095
 
-         lt_prog_compiler_pic_F77='-KPIC'
37096
 
-         lt_prog_compiler_static_F77='-Bstatic'
37097
 
-         lt_prog_compiler_wl_F77='-Wl,'
37098
 
-         ;;
37099
 
-       *Sun\ F*)
37100
 
-         # Sun Fortran 8.3 passes all unrecognized flags to the linker
37101
 
-         lt_prog_compiler_pic_F77='-KPIC'
37102
 
-         lt_prog_compiler_static_F77='-Bstatic'
37103
 
-         lt_prog_compiler_wl_F77=''
37104
 
-         ;;
37105
 
-       esac
37106
 
-       ;;
37107
 
-      esac
37108
 
-      ;;
37109
 
+void fnord() { int i=42;}
37110
 
+int main ()
37111
 
+{
37112
 
+  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
37113
 
+  int status = $lt_dlunknown;
37114
 
 
37115
 
-    osf3* | osf4* | osf5*)
37116
 
-      lt_prog_compiler_wl_F77='-Wl,'
37117
 
-      # All OSF/1 code is PIC.
37118
 
-      lt_prog_compiler_static_F77='-non_shared'
37119
 
-      ;;
37120
 
+  if (self)
37121
 
+    {
37122
 
+      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
37123
 
+      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
37124
 
+      /* dlclose (self); */
37125
 
+    }
37126
 
+  else
37127
 
+    puts (dlerror ());
37128
 
 
37129
 
-    rdos*)
37130
 
-      lt_prog_compiler_static_F77='-non_shared'
37131
 
-      ;;
37132
 
+  return status;
37133
 
+}
37134
 
+_LT_EOF
37135
 
+  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
37136
 
+  (eval $ac_link) 2>&5
37137
 
+  ac_status=$?
37138
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37139
 
+  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
37140
 
+    (./conftest; exit; ) >&5 2>/dev/null
37141
 
+    lt_status=$?
37142
 
+    case x$lt_status in
37143
 
+      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
37144
 
+      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
37145
 
+      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
37146
 
+    esac
37147
 
+  else :
37148
 
+    # compilation failed
37149
 
+    lt_cv_dlopen_self_static=no
37150
 
+  fi
37151
 
+fi
37152
 
+rm -fr conftest*
37153
 
 
37154
 
-    solaris*)
37155
 
-      lt_prog_compiler_pic_F77='-KPIC'
37156
 
-      lt_prog_compiler_static_F77='-Bstatic'
37157
 
-      case $cc_basename in
37158
 
-      f77* | f90* | f95*)
37159
 
-       lt_prog_compiler_wl_F77='-Qoption ld ';;
37160
 
-      *)
37161
 
-       lt_prog_compiler_wl_F77='-Wl,';;
37162
 
-      esac
37163
 
-      ;;
37164
 
 
37165
 
-    sunos4*)
37166
 
-      lt_prog_compiler_wl_F77='-Qoption ld '
37167
 
-      lt_prog_compiler_pic_F77='-PIC'
37168
 
-      lt_prog_compiler_static_F77='-Bstatic'
37169
 
-      ;;
37170
 
+fi
37171
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
37172
 
+$as_echo "$lt_cv_dlopen_self_static" >&6; }
37173
 
+    fi
37174
 
 
37175
 
-    sysv4 | sysv4.2uw2* | sysv4.3*)
37176
 
-      lt_prog_compiler_wl_F77='-Wl,'
37177
 
-      lt_prog_compiler_pic_F77='-KPIC'
37178
 
-      lt_prog_compiler_static_F77='-Bstatic'
37179
 
-      ;;
37180
 
+    CPPFLAGS="$save_CPPFLAGS"
37181
 
+    LDFLAGS="$save_LDFLAGS"
37182
 
+    LIBS="$save_LIBS"
37183
 
+    ;;
37184
 
+  esac
37185
 
 
37186
 
-    sysv4*MP*)
37187
 
-      if test -d /usr/nec ;then
37188
 
-       lt_prog_compiler_pic_F77='-Kconform_pic'
37189
 
-       lt_prog_compiler_static_F77='-Bstatic'
37190
 
-      fi
37191
 
-      ;;
37192
 
+  case $lt_cv_dlopen_self in
37193
 
+  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
37194
 
+  *) enable_dlopen_self=unknown ;;
37195
 
+  esac
37196
 
 
37197
 
-    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
37198
 
-      lt_prog_compiler_wl_F77='-Wl,'
37199
 
-      lt_prog_compiler_pic_F77='-KPIC'
37200
 
-      lt_prog_compiler_static_F77='-Bstatic'
37201
 
-      ;;
37202
 
+  case $lt_cv_dlopen_self_static in
37203
 
+  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
37204
 
+  *) enable_dlopen_self_static=unknown ;;
37205
 
+  esac
37206
 
+fi
37207
 
 
37208
 
-    unicos*)
37209
 
-      lt_prog_compiler_wl_F77='-Wl,'
37210
 
-      lt_prog_compiler_can_build_shared_F77=no
37211
 
-      ;;
37212
 
 
37213
 
-    uts4*)
37214
 
-      lt_prog_compiler_pic_F77='-pic'
37215
 
-      lt_prog_compiler_static_F77='-Bstatic'
37216
 
-      ;;
37217
 
 
37218
 
-    *)
37219
 
-      lt_prog_compiler_can_build_shared_F77=no
37220
 
-      ;;
37221
 
-    esac
37222
 
-  fi
37223
 
 
37224
 
-{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
37225
 
-$as_echo "$lt_prog_compiler_pic_F77" >&6; }
37226
 
 
37227
 
-#
37228
 
-# Check to make sure the PIC flag actually works.
37229
 
-#
37230
 
-if test -n "$lt_prog_compiler_pic_F77"; then
37231
 
 
37232
 
-{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
37233
 
-$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
37234
 
-if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
37235
 
-  $as_echo_n "(cached) " >&6
37236
 
-else
37237
 
-  lt_cv_prog_compiler_pic_works_F77=no
37238
 
-  ac_outfile=conftest.$ac_objext
37239
 
-   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
37240
 
-   lt_compiler_flag="$lt_prog_compiler_pic_F77"
37241
 
-   # Insert the option either (1) after the last *FLAGS variable, or
37242
 
-   # (2) before a word containing "conftest.", or (3) at the end.
37243
 
-   # Note that $ac_compile itself does not contain backslashes and begins
37244
 
-   # with a dollar sign (not a hyphen), so the echo should work correctly.
37245
 
-   # The option is referenced via a variable to avoid confusing sed.
37246
 
-   lt_compile=`echo "$ac_compile" | $SED \
37247
 
-   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
37248
 
-   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
37249
 
-   -e 's:$: $lt_compiler_flag:'`
37250
 
-   (eval echo "\"\$as_me:15072: $lt_compile\"" >&5)
37251
 
-   (eval "$lt_compile" 2>conftest.err)
37252
 
-   ac_status=$?
37253
 
-   cat conftest.err >&5
37254
 
-   echo "$as_me:15076: \$? = $ac_status" >&5
37255
 
-   if (exit $ac_status) && test -s "$ac_outfile"; then
37256
 
-     # The compiler can only warn and ignore the option if not recognized
37257
 
-     # So say no if there are warnings other than the usual output.
37258
 
-     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
37259
 
-     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
37260
 
-     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
37261
 
-       lt_cv_prog_compiler_pic_works_F77=yes
37262
 
-     fi
37263
 
-   fi
37264
 
-   $rm conftest*
37265
 
 
37266
 
-fi
37267
 
-{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
37268
 
-$as_echo "$lt_cv_prog_compiler_pic_works_F77" >&6; }
37269
 
 
37270
 
-if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
37271
 
-    case $lt_prog_compiler_pic_F77 in
37272
 
-     "" | " "*) ;;
37273
 
-     *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
37274
 
-     esac
37275
 
-else
37276
 
-    lt_prog_compiler_pic_F77=
37277
 
-     lt_prog_compiler_can_build_shared_F77=no
37278
 
-fi
37279
 
 
37280
 
-fi
37281
 
-case $host_os in
37282
 
-  # For platforms which do not support PIC, -DPIC is meaningless:
37283
 
-  *djgpp*)
37284
 
-    lt_prog_compiler_pic_F77=
37285
 
+
37286
 
+
37287
 
+
37288
 
+
37289
 
+
37290
 
+
37291
 
+
37292
 
+
37293
 
+striplib=
37294
 
+old_striplib=
37295
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
37296
 
+$as_echo_n "checking whether stripping libraries is possible... " >&6; }
37297
 
+if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
37298
 
+  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
37299
 
+  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
37300
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37301
 
+$as_echo "yes" >&6; }
37302
 
+else
37303
 
+# FIXME - insert some real tests, host_os isn't really good enough
37304
 
+  case $host_os in
37305
 
+  darwin*)
37306
 
+    if test -n "$STRIP" ; then
37307
 
+      striplib="$STRIP -x"
37308
 
+      old_striplib="$STRIP -S"
37309
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37310
 
+$as_echo "yes" >&6; }
37311
 
+    else
37312
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37313
 
+$as_echo "no" >&6; }
37314
 
+    fi
37315
 
     ;;
37316
 
   *)
37317
 
-    lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
37318
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37319
 
+$as_echo "no" >&6; }
37320
 
     ;;
37321
 
-esac
37322
 
+  esac
37323
 
+fi
37324
 
 
37325
 
-#
37326
 
-# Check to make sure the static flag actually works.
37327
 
-#
37328
 
-wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
37329
 
-{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
37330
 
-$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
37331
 
-if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
37332
 
-  $as_echo_n "(cached) " >&6
37333
 
-else
37334
 
-  lt_cv_prog_compiler_static_works_F77=no
37335
 
-   save_LDFLAGS="$LDFLAGS"
37336
 
-   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
37337
 
-   echo "$lt_simple_link_test_code" > conftest.$ac_ext
37338
 
-   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
37339
 
-     # The linker can only warn and ignore the option if not recognized
37340
 
-     # So say no if there are warnings
37341
 
-     if test -s conftest.err; then
37342
 
-       # Append any errors to the config.log.
37343
 
-       cat conftest.err 1>&5
37344
 
-       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
37345
 
-       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
37346
 
-       if diff conftest.exp conftest.er2 >/dev/null; then
37347
 
-         lt_cv_prog_compiler_static_works_F77=yes
37348
 
-       fi
37349
 
-     else
37350
 
-       lt_cv_prog_compiler_static_works_F77=yes
37351
 
-     fi
37352
 
-   fi
37353
 
-   $rm -r conftest*
37354
 
-   LDFLAGS="$save_LDFLAGS"
37355
 
 
37356
 
-fi
37357
 
-{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
37358
 
-$as_echo "$lt_cv_prog_compiler_static_works_F77" >&6; }
37359
 
 
37360
 
-if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
37361
 
-    :
37362
 
-else
37363
 
-    lt_prog_compiler_static_F77=
37364
 
-fi
37365
 
 
37366
 
 
37367
 
-{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
37368
 
-$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
37369
 
-if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
37370
 
-  $as_echo_n "(cached) " >&6
37371
 
-else
37372
 
-  lt_cv_prog_compiler_c_o_F77=no
37373
 
-   $rm -r conftest 2>/dev/null
37374
 
-   mkdir conftest
37375
 
-   cd conftest
37376
 
-   mkdir out
37377
 
-   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
37378
 
 
37379
 
-   lt_compiler_flag="-o out/conftest2.$ac_objext"
37380
 
-   # Insert the option either (1) after the last *FLAGS variable, or
37381
 
-   # (2) before a word containing "conftest.", or (3) at the end.
37382
 
-   # Note that $ac_compile itself does not contain backslashes and begins
37383
 
-   # with a dollar sign (not a hyphen), so the echo should work correctly.
37384
 
-   lt_compile=`echo "$ac_compile" | $SED \
37385
 
-   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
37386
 
-   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
37387
 
-   -e 's:$: $lt_compiler_flag:'`
37388
 
-   (eval echo "\"\$as_me:15176: $lt_compile\"" >&5)
37389
 
-   (eval "$lt_compile" 2>out/conftest.err)
37390
 
-   ac_status=$?
37391
 
-   cat out/conftest.err >&5
37392
 
-   echo "$as_me:15180: \$? = $ac_status" >&5
37393
 
-   if (exit $ac_status) && test -s out/conftest2.$ac_objext
37394
 
-   then
37395
 
-     # The compiler can only warn and ignore the option if not recognized
37396
 
-     # So say no if there are warnings
37397
 
-     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
37398
 
-     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
37399
 
-     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
37400
 
-       lt_cv_prog_compiler_c_o_F77=yes
37401
 
-     fi
37402
 
-   fi
37403
 
-   chmod u+w . 2>&5
37404
 
-   $rm conftest*
37405
 
-   # SGI C++ compiler will create directory out/ii_files/ for
37406
 
-   # template instantiation
37407
 
-   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
37408
 
-   $rm out/* && rmdir out
37409
 
-   cd ..
37410
 
-   rmdir conftest
37411
 
-   $rm conftest*
37412
 
 
37413
 
-fi
37414
 
-{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
37415
 
-$as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
37416
 
 
37417
 
 
37418
 
-hard_links="nottested"
37419
 
-if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
37420
 
-  # do not overwrite the value of need_locks provided by the user
37421
 
-  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
37422
 
-$as_echo_n "checking if we can lock with hard links... " >&6; }
37423
 
-  hard_links=yes
37424
 
-  $rm conftest*
37425
 
-  ln conftest.a conftest.b 2>/dev/null && hard_links=no
37426
 
-  touch conftest.a
37427
 
-  ln conftest.a conftest.b 2>&5 || hard_links=no
37428
 
-  ln conftest.a conftest.b 2>/dev/null && hard_links=no
37429
 
-  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
37430
 
-$as_echo "$hard_links" >&6; }
37431
 
-  if test "$hard_links" = no; then
37432
 
-    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
37433
 
-$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
37434
 
-    need_locks=warn
37435
 
-  fi
37436
 
-else
37437
 
-  need_locks=no
37438
 
-fi
37439
 
 
37440
 
-{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
37441
 
-$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
37442
 
 
37443
 
-  runpath_var=
37444
 
-  allow_undefined_flag_F77=
37445
 
-  enable_shared_with_static_runtimes_F77=no
37446
 
-  archive_cmds_F77=
37447
 
-  archive_expsym_cmds_F77=
37448
 
-  old_archive_From_new_cmds_F77=
37449
 
-  old_archive_from_expsyms_cmds_F77=
37450
 
-  export_dynamic_flag_spec_F77=
37451
 
-  whole_archive_flag_spec_F77=
37452
 
-  thread_safe_flag_spec_F77=
37453
 
-  hardcode_libdir_flag_spec_F77=
37454
 
-  hardcode_libdir_flag_spec_ld_F77=
37455
 
-  hardcode_libdir_separator_F77=
37456
 
-  hardcode_direct_F77=no
37457
 
-  hardcode_minus_L_F77=no
37458
 
-  hardcode_shlibpath_var_F77=unsupported
37459
 
-  link_all_deplibs_F77=unknown
37460
 
-  hardcode_automatic_F77=no
37461
 
-  module_cmds_F77=
37462
 
-  module_expsym_cmds_F77=
37463
 
-  always_export_symbols_F77=no
37464
 
-  export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
37465
 
-  # include_expsyms should be a list of space-separated symbols to be *always*
37466
 
-  # included in the symbol list
37467
 
-  include_expsyms_F77=
37468
 
-  # exclude_expsyms can be an extended regexp of symbols to exclude
37469
 
-  # it will be wrapped by ` (' and `)$', so one must not match beginning or
37470
 
-  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
37471
 
-  # as well as any symbol that contains `d'.
37472
 
-  exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
37473
 
-  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
37474
 
-  # platforms (ab)use it in PIC code, but their linkers get confused if
37475
 
-  # the symbol is explicitly referenced.  Since portable code cannot
37476
 
-  # rely on this symbol name, it's probably fine to never include it in
37477
 
-  # preloaded symbol tables.
37478
 
-  # Exclude shared library initialization/finalization symbols.
37479
 
-  extract_expsyms_cmds=
37480
 
-  # Just being paranoid about ensuring that cc_basename is set.
37481
 
-  for cc_temp in $compiler""; do
37482
 
-  case $cc_temp in
37483
 
-    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
37484
 
-    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
37485
 
-    \-*) ;;
37486
 
-    *) break;;
37487
 
-  esac
37488
 
-done
37489
 
-cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
37490
 
 
37491
 
+  # Report which library types will actually be built
37492
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
37493
 
+$as_echo_n "checking if libtool supports shared libraries... " >&6; }
37494
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
37495
 
+$as_echo "$can_build_shared" >&6; }
37496
 
+
37497
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
37498
 
+$as_echo_n "checking whether to build shared libraries... " >&6; }
37499
 
+  test "$can_build_shared" = "no" && enable_shared=no
37500
 
+
37501
 
+  # On AIX, shared libraries and static libraries use the same namespace, and
37502
 
+  # are all built from PIC.
37503
 
   case $host_os in
37504
 
-  cygwin* | mingw* | pw32*)
37505
 
-    # FIXME: the MSVC++ port hasn't been tested in a loooong time
37506
 
-    # When not using gcc, we currently assume that we are using
37507
 
-    # Microsoft Visual C++.
37508
 
-    if test "$GCC" != yes; then
37509
 
-      with_gnu_ld=no
37510
 
+  aix3*)
37511
 
+    test "$enable_shared" = yes && enable_static=no
37512
 
+    if test -n "$RANLIB"; then
37513
 
+      archive_cmds="$archive_cmds~\$RANLIB \$lib"
37514
 
+      postinstall_cmds='$RANLIB $lib'
37515
 
     fi
37516
 
     ;;
37517
 
-  interix*)
37518
 
-    # we just hope/assume this is gcc and not c89 (= MSVC++)
37519
 
-    with_gnu_ld=yes
37520
 
-    ;;
37521
 
-  openbsd*)
37522
 
-    with_gnu_ld=no
37523
 
+
37524
 
+  aix[4-9]*)
37525
 
+    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
37526
 
+      test "$enable_shared" = yes && enable_static=no
37527
 
+    fi
37528
 
     ;;
37529
 
   esac
37530
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
37531
 
+$as_echo "$enable_shared" >&6; }
37532
 
 
37533
 
-  ld_shlibs_F77=yes
37534
 
-  if test "$with_gnu_ld" = yes; then
37535
 
-    # If archive_cmds runs LD, not CC, wlarc should be empty
37536
 
-    wlarc='${wl}'
37537
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
37538
 
+$as_echo_n "checking whether to build static libraries... " >&6; }
37539
 
+  # Make sure either enable_shared or enable_static is yes.
37540
 
+  test "$enable_shared" = yes || enable_static=yes
37541
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
37542
 
+$as_echo "$enable_static" >&6; }
37543
 
 
37544
 
-    # Set some defaults for GNU ld with shared library support. These
37545
 
-    # are reset later if shared libraries are not supported. Putting them
37546
 
-    # here allows them to be overridden if necessary.
37547
 
-    runpath_var=LD_RUN_PATH
37548
 
-    hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
37549
 
-    export_dynamic_flag_spec_F77='${wl}--export-dynamic'
37550
 
-    # ancient GNU ld didn't support --whole-archive et. al.
37551
 
-    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
37552
 
-       whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
37553
 
-      else
37554
 
-       whole_archive_flag_spec_F77=
37555
 
-    fi
37556
 
-    supports_anon_versioning=no
37557
 
-    case `$LD -v 2>/dev/null` in
37558
 
-      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
37559
 
-      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
37560
 
-      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
37561
 
-      *\ 2.11.*) ;; # other 2.11 versions
37562
 
-      *) supports_anon_versioning=yes ;;
37563
 
-    esac
37564
 
 
37565
 
-    # See if GNU ld supports shared libraries.
37566
 
-    case $host_os in
37567
 
-    aix[3-9]*)
37568
 
-      # On AIX/PPC, the GNU linker is very broken
37569
 
-      if test "$host_cpu" != ia64; then
37570
 
-       ld_shlibs_F77=no
37571
 
-       cat <<EOF 1>&2
37572
 
 
37573
 
-*** Warning: the GNU linker, at least up to release 2.9.1, is reported
37574
 
-*** to be unable to reliably create shared libraries on AIX.
37575
 
-*** Therefore, libtool is disabling shared libraries support.  If you
37576
 
-*** really care for shared libraries, you may want to modify your PATH
37577
 
-*** so that a non-GNU linker is found, and then restart.
37578
 
 
37579
 
-EOF
37580
 
-      fi
37581
 
-      ;;
37582
 
+fi
37583
 
+ac_ext=c
37584
 
+ac_cpp='$CPP $CPPFLAGS'
37585
 
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37586
 
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37587
 
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
37588
 
 
37589
 
-    amigaos*)
37590
 
-      archive_cmds_F77='$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)'
37591
 
-      hardcode_libdir_flag_spec_F77='-L$libdir'
37592
 
-      hardcode_minus_L_F77=yes
37593
 
-
37594
 
-      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
37595
 
-      # that the semantics of dynamic libraries on AmigaOS, at least up
37596
 
-      # to version 4, is to share data among multiple programs linked
37597
 
-      # with the same dynamic library.  Since this doesn't match the
37598
 
-      # behavior of shared libraries on other platforms, we can't use
37599
 
-      # them.
37600
 
-      ld_shlibs_F77=no
37601
 
-      ;;
37602
 
+CC="$lt_save_CC"
37603
 
 
37604
 
-    beos*)
37605
 
-      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
37606
 
-       allow_undefined_flag_F77=unsupported
37607
 
-       # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
37608
 
-       # support --undefined.  This deserves some investigation.  FIXME
37609
 
-       archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
37610
 
-      else
37611
 
-       ld_shlibs_F77=no
37612
 
-      fi
37613
 
-      ;;
37614
 
 
37615
 
-    cygwin* | mingw* | pw32*)
37616
 
-      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
37617
 
-      # as there is no search path for DLLs.
37618
 
-      hardcode_libdir_flag_spec_F77='-L$libdir'
37619
 
-      allow_undefined_flag_F77=unsupported
37620
 
-      always_export_symbols_F77=no
37621
 
-      enable_shared_with_static_runtimes_F77=yes
37622
 
-      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
37623
 
 
37624
 
-      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
37625
 
-        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
37626
 
-       # If the export-symbols file already is a .def file (1st line
37627
 
-       # is EXPORTS), use it as is; otherwise, prepend...
37628
 
-       archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
37629
 
-         cp $export_symbols $output_objdir/$soname.def;
37630
 
-       else
37631
 
-         echo EXPORTS > $output_objdir/$soname.def;
37632
 
-         cat $export_symbols >> $output_objdir/$soname.def;
37633
 
-       fi~
37634
 
-       $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
37635
 
-      else
37636
 
-       ld_shlibs_F77=no
37637
 
-      fi
37638
 
-      ;;
37639
 
 
37640
 
-    interix[3-9]*)
37641
 
-      hardcode_direct_F77=no
37642
 
-      hardcode_shlibpath_var_F77=no
37643
 
-      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
37644
 
-      export_dynamic_flag_spec_F77='${wl}-E'
37645
 
-      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
37646
 
-      # Instead, shared libraries are loaded at an image base (0x10000000 by
37647
 
-      # default) and relocated if they conflict, which is a slow very memory
37648
 
-      # consuming and fragmenting process.  To avoid this, we pick a random,
37649
 
-      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
37650
 
-      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
37651
 
-      archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
37652
 
-      archive_expsym_cmds_F77='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'
37653
 
-      ;;
37654
 
 
37655
 
-    gnu* | linux* | k*bsd*-gnu)
37656
 
-      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
37657
 
-       tmp_addflag=
37658
 
-       case $cc_basename,$host_cpu in
37659
 
-       pgcc*)                          # Portland Group C compiler
37660
 
-         whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
37661
 
-         tmp_addflag=' $pic_flag'
37662
 
-         ;;
37663
 
-       pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
37664
 
-         whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
37665
 
-         tmp_addflag=' $pic_flag -Mnomain' ;;
37666
 
-       ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
37667
 
-         tmp_addflag=' -i_dynamic' ;;
37668
 
-       efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
37669
 
-         tmp_addflag=' -i_dynamic -nofor_main' ;;
37670
 
-       ifc* | ifort*)                  # Intel Fortran compiler
37671
 
-         tmp_addflag=' -nofor_main' ;;
37672
 
-       esac
37673
 
-       case `$CC -V 2>&1 | sed 5q` in
37674
 
-       *Sun\ C*)                       # Sun C 5.9
37675
 
-         whole_archive_flag_spec_F77='${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'
37676
 
-         tmp_sharedflag='-G' ;;
37677
 
-       *Sun\ F*)                       # Sun Fortran 8.3
37678
 
-         tmp_sharedflag='-G' ;;
37679
 
-       *)
37680
 
-         tmp_sharedflag='-shared' ;;
37681
 
-       esac
37682
 
-       archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
37683
 
-
37684
 
-       if test $supports_anon_versioning = yes; then
37685
 
-         archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
37686
 
-  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
37687
 
-  $echo "local: *; };" >> $output_objdir/$libname.ver~
37688
 
-         $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
37689
 
-       fi
37690
 
-      else
37691
 
-       ld_shlibs_F77=no
37692
 
-      fi
37693
 
-      ;;
37694
 
-
37695
 
-    netbsd*)
37696
 
-      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
37697
 
-       archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
37698
 
-       wlarc=
37699
 
-      else
37700
 
-       archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
37701
 
-       archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
37702
 
-      fi
37703
 
-      ;;
37704
 
-
37705
 
-    solaris*)
37706
 
-      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
37707
 
-       ld_shlibs_F77=no
37708
 
-       cat <<EOF 1>&2
37709
 
 
37710
 
-*** Warning: The releases 2.8.* of the GNU linker cannot reliably
37711
 
-*** create shared libraries on Solaris systems.  Therefore, libtool
37712
 
-*** is disabling shared libraries support.  We urge you to upgrade GNU
37713
 
-*** binutils to release 2.9.1 or newer.  Another option is to modify
37714
 
-*** your PATH or compiler configuration so that the native linker is
37715
 
-*** used, and then restart.
37716
 
 
37717
 
-EOF
37718
 
-      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
37719
 
-       archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
37720
 
-       archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
37721
 
-      else
37722
 
-       ld_shlibs_F77=no
37723
 
-      fi
37724
 
-      ;;
37725
 
 
37726
 
-    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
37727
 
-      case `$LD -v 2>&1` in
37728
 
-        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
37729
 
-       ld_shlibs_F77=no
37730
 
-       cat <<_LT_EOF 1>&2
37731
 
 
37732
 
-*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
37733
 
-*** reliably create shared libraries on SCO systems.  Therefore, libtool
37734
 
-*** is disabling shared libraries support.  We urge you to upgrade GNU
37735
 
-*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
37736
 
-*** your PATH or compiler configuration so that the native linker is
37737
 
-*** used, and then restart.
37738
 
 
37739
 
-_LT_EOF
37740
 
-       ;;
37741
 
-       *)
37742
 
-         if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
37743
 
-           hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
37744
 
-           archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
37745
 
-           archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
37746
 
-         else
37747
 
-           ld_shlibs_F77=no
37748
 
-         fi
37749
 
-       ;;
37750
 
-      esac
37751
 
-      ;;
37752
 
 
37753
 
-    sunos4*)
37754
 
-      archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
37755
 
-      wlarc=
37756
 
-      hardcode_direct_F77=yes
37757
 
-      hardcode_shlibpath_var_F77=no
37758
 
-      ;;
37759
 
 
37760
 
-    *)
37761
 
-      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
37762
 
-       archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
37763
 
-       archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
37764
 
-      else
37765
 
-       ld_shlibs_F77=no
37766
 
-      fi
37767
 
-      ;;
37768
 
-    esac
37769
 
 
37770
 
-    if test "$ld_shlibs_F77" = no; then
37771
 
-      runpath_var=
37772
 
-      hardcode_libdir_flag_spec_F77=
37773
 
-      export_dynamic_flag_spec_F77=
37774
 
-      whole_archive_flag_spec_F77=
37775
 
-    fi
37776
 
-  else
37777
 
-    # PORTME fill in a description of your system's linker (not GNU ld)
37778
 
-    case $host_os in
37779
 
-    aix3*)
37780
 
-      allow_undefined_flag_F77=unsupported
37781
 
-      always_export_symbols_F77=yes
37782
 
-      archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
37783
 
-      # Note: this linker hardcodes the directories in LIBPATH if there
37784
 
-      # are no directories specified by -L.
37785
 
-      hardcode_minus_L_F77=yes
37786
 
-      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
37787
 
-       # Neither direct hardcoding nor static linking is supported with a
37788
 
-       # broken collect2.
37789
 
-       hardcode_direct_F77=unsupported
37790
 
-      fi
37791
 
-      ;;
37792
 
+        ac_config_commands="$ac_config_commands libtool"
37793
 
 
37794
 
-    aix[4-9]*)
37795
 
-      if test "$host_cpu" = ia64; then
37796
 
-       # On IA64, the linker does run time linking by default, so we don't
37797
 
-       # have to do anything special.
37798
 
-       aix_use_runtimelinking=no
37799
 
-       exp_sym_flag='-Bexport'
37800
 
-       no_entry_flag=""
37801
 
-      else
37802
 
-       # If we're using GNU nm, then we don't want the "-C" option.
37803
 
-       # -C means demangle to AIX nm, but means don't demangle with GNU nm
37804
 
-       if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
37805
 
-         export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
37806
 
-       else
37807
 
-         export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
37808
 
-       fi
37809
 
-       aix_use_runtimelinking=no
37810
 
 
37811
 
-       # Test if we are trying to use run time linking or normal
37812
 
-       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
37813
 
-       # need to do runtime linking.
37814
 
-       case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
37815
 
-         for ld_flag in $LDFLAGS; do
37816
 
-         if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
37817
 
-           aix_use_runtimelinking=yes
37818
 
-           break
37819
 
-         fi
37820
 
-         done
37821
 
-         ;;
37822
 
-       esac
37823
 
 
37824
 
-       exp_sym_flag='-bexport'
37825
 
-       no_entry_flag='-bnoentry'
37826
 
-      fi
37827
 
 
37828
 
-      # When large executables or shared objects are built, AIX ld can
37829
 
-      # have problems creating the table of contents.  If linking a library
37830
 
-      # or program results in "error TOC overflow" add -mminimal-toc to
37831
 
-      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
37832
 
-      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
37833
 
+# Only expand once:
37834
 
 
37835
 
-      archive_cmds_F77=''
37836
 
-      hardcode_direct_F77=yes
37837
 
-      hardcode_libdir_separator_F77=':'
37838
 
-      link_all_deplibs_F77=yes
37839
 
 
37840
 
-      if test "$GCC" = yes; then
37841
 
-       case $host_os in aix4.[012]|aix4.[012].*)
37842
 
-       # We only want to do this on AIX 4.2 and lower, the check
37843
 
-       # below for broken collect2 doesn't work under 4.3+
37844
 
-         collect2name=`${CC} -print-prog-name=collect2`
37845
 
-         if test -f "$collect2name" && \
37846
 
-          strings "$collect2name" | grep resolve_lib_name >/dev/null
37847
 
-         then
37848
 
-         # We have reworked collect2
37849
 
-         :
37850
 
-         else
37851
 
-         # We have old collect2
37852
 
-         hardcode_direct_F77=unsupported
37853
 
-         # It fails to find uninstalled libraries when the uninstalled
37854
 
-         # path is not listed in the libpath.  Setting hardcode_minus_L
37855
 
-         # to unsupported forces relinking
37856
 
-         hardcode_minus_L_F77=yes
37857
 
-         hardcode_libdir_flag_spec_F77='-L$libdir'
37858
 
-         hardcode_libdir_separator_F77=
37859
 
-         fi
37860
 
-         ;;
37861
 
-       esac
37862
 
-       shared_flag='-shared'
37863
 
-       if test "$aix_use_runtimelinking" = yes; then
37864
 
-         shared_flag="$shared_flag "'${wl}-G'
37865
 
-       fi
37866
 
-      else
37867
 
-       # not using gcc
37868
 
-       if test "$host_cpu" = ia64; then
37869
 
-       # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
37870
 
-       # chokes on -Wl,-G. The following line is correct:
37871
 
-         shared_flag='-G'
37872
 
-       else
37873
 
-         if test "$aix_use_runtimelinking" = yes; then
37874
 
-           shared_flag='${wl}-G'
37875
 
-         else
37876
 
-           shared_flag='${wl}-bM:SRE'
37877
 
-         fi
37878
 
-       fi
37879
 
-      fi
37880
 
+ac_ext=cpp
37881
 
+ac_cpp='$CXXCPP $CPPFLAGS'
37882
 
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37883
 
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37884
 
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37885
 
+if test -z "$CXX"; then
37886
 
+  if test -n "$CCC"; then
37887
 
+    CXX=$CCC
37888
 
+  else
37889
 
+    if test -n "$ac_tool_prefix"; then
37890
 
+  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
37891
 
+  do
37892
 
+    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
37893
 
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
37894
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37895
 
+$as_echo_n "checking for $ac_word... " >&6; }
37896
 
+if test "${ac_cv_prog_CXX+set}" = set; then :
37897
 
+  $as_echo_n "(cached) " >&6
37898
 
+else
37899
 
+  if test -n "$CXX"; then
37900
 
+  ac_cv_prog_CXX="$CXX" # Let the user override the test.
37901
 
+else
37902
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37903
 
+for as_dir in $PATH
37904
 
+do
37905
 
+  IFS=$as_save_IFS
37906
 
+  test -z "$as_dir" && as_dir=.
37907
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
37908
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37909
 
+    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
37910
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37911
 
+    break 2
37912
 
+  fi
37913
 
+done
37914
 
+  done
37915
 
+IFS=$as_save_IFS
37916
 
 
37917
 
-      # It seems that -bexpall does not export symbols beginning with
37918
 
-      # underscore (_), so it is better to generate a list of symbols to export.
37919
 
-      always_export_symbols_F77=yes
37920
 
-      if test "$aix_use_runtimelinking" = yes; then
37921
 
-       # Warning - without using the other runtime loading flags (-brtl),
37922
 
-       # -berok will link without error, but may produce a broken library.
37923
 
-       allow_undefined_flag_F77='-berok'
37924
 
-       # Determine the default libpath from the value encoded in an empty executable.
37925
 
-       cat >conftest.$ac_ext <<_ACEOF
37926
 
-      program main
37927
 
+fi
37928
 
+fi
37929
 
+CXX=$ac_cv_prog_CXX
37930
 
+if test -n "$CXX"; then
37931
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
37932
 
+$as_echo "$CXX" >&6; }
37933
 
+else
37934
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37935
 
+$as_echo "no" >&6; }
37936
 
+fi
37937
 
 
37938
 
-      end
37939
 
-_ACEOF
37940
 
-rm -f conftest.$ac_objext conftest$ac_exeext
37941
 
-if { (ac_try="$ac_link"
37942
 
-case "(($ac_try" in
37943
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37944
 
-  *) ac_try_echo=$ac_try;;
37945
 
-esac
37946
 
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
37947
 
-$as_echo "$ac_try_echo") >&5
37948
 
-  (eval "$ac_link") 2>conftest.er1
37949
 
-  ac_status=$?
37950
 
-  grep -v '^ *+' conftest.er1 >conftest.err
37951
 
-  rm -f conftest.er1
37952
 
-  cat conftest.err >&5
37953
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
37954
 
-  (exit $ac_status); } && {
37955
 
-        test -z "$ac_f77_werror_flag" ||
37956
 
-        test ! -s conftest.err
37957
 
-       } && test -s conftest$ac_exeext && {
37958
 
-        test "$cross_compiling" = yes ||
37959
 
-        $as_test_x conftest$ac_exeext
37960
 
-       }; then
37961
 
 
37962
 
-lt_aix_libpath_sed='
37963
 
-    /Import File Strings/,/^$/ {
37964
 
-       /^0/ {
37965
 
-           s/^0  *\(.*\)$/\1/
37966
 
-           p
37967
 
-       }
37968
 
-    }'
37969
 
-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
37970
 
-# Check for a 64-bit object if we didn't find anything.
37971
 
-if test -z "$aix_libpath"; then
37972
 
-  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
37973
 
+    test -n "$CXX" && break
37974
 
+  done
37975
 
 fi
37976
 
+if test -z "$CXX"; then
37977
 
+  ac_ct_CXX=$CXX
37978
 
+  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
37979
 
+do
37980
 
+  # Extract the first word of "$ac_prog", so it can be a program name with args.
37981
 
+set dummy $ac_prog; ac_word=$2
37982
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37983
 
+$as_echo_n "checking for $ac_word... " >&6; }
37984
 
+if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
37985
 
+  $as_echo_n "(cached) " >&6
37986
 
 else
37987
 
-  $as_echo "$as_me: failed program was:" >&5
37988
 
-sed 's/^/| /' conftest.$ac_ext >&5
37989
 
-
37990
 
+  if test -n "$ac_ct_CXX"; then
37991
 
+  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
37992
 
+else
37993
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37994
 
+for as_dir in $PATH
37995
 
+do
37996
 
+  IFS=$as_save_IFS
37997
 
+  test -z "$as_dir" && as_dir=.
37998
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
37999
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
38000
 
+    ac_cv_prog_ac_ct_CXX="$ac_prog"
38001
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38002
 
+    break 2
38003
 
+  fi
38004
 
+done
38005
 
+  done
38006
 
+IFS=$as_save_IFS
38007
 
 
38008
 
 fi
38009
 
+fi
38010
 
+ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
38011
 
+if test -n "$ac_ct_CXX"; then
38012
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
38013
 
+$as_echo "$ac_ct_CXX" >&6; }
38014
 
+else
38015
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38016
 
+$as_echo "no" >&6; }
38017
 
+fi
38018
 
 
38019
 
-rm -rf conftest.dSYM
38020
 
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38021
 
-      conftest$ac_exeext conftest.$ac_ext
38022
 
-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
38023
 
 
38024
 
-       hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
38025
 
-       archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
38026
 
-       else
38027
 
-       if test "$host_cpu" = ia64; then
38028
 
-         hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
38029
 
-         allow_undefined_flag_F77="-z nodefs"
38030
 
-         archive_expsym_cmds_F77="\$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"
38031
 
-       else
38032
 
-        # Determine the default libpath from the value encoded in an empty executable.
38033
 
-        cat >conftest.$ac_ext <<_ACEOF
38034
 
-      program main
38035
 
+  test -n "$ac_ct_CXX" && break
38036
 
+done
38037
 
 
38038
 
-      end
38039
 
-_ACEOF
38040
 
-rm -f conftest.$ac_objext conftest$ac_exeext
38041
 
-if { (ac_try="$ac_link"
38042
 
+  if test "x$ac_ct_CXX" = x; then
38043
 
+    CXX="g++"
38044
 
+  else
38045
 
+    case $cross_compiling:$ac_tool_warned in
38046
 
+yes:)
38047
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38048
 
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38049
 
+ac_tool_warned=yes ;;
38050
 
+esac
38051
 
+    CXX=$ac_ct_CXX
38052
 
+  fi
38053
 
+fi
38054
 
+
38055
 
+  fi
38056
 
+fi
38057
 
+# Provide some information about the compiler.
38058
 
+$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
38059
 
+set X $ac_compile
38060
 
+ac_compiler=$2
38061
 
+for ac_option in --version -v -V -qversion; do
38062
 
+  { { ac_try="$ac_compiler $ac_option >&5"
38063
 
 case "(($ac_try" in
38064
 
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38065
 
   *) ac_try_echo=$ac_try;;
38066
 
 esac
38067
 
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
38068
 
-$as_echo "$ac_try_echo") >&5
38069
 
-  (eval "$ac_link") 2>conftest.er1
38070
 
-  ac_status=$?
38071
 
-  grep -v '^ *+' conftest.er1 >conftest.err
38072
 
-  rm -f conftest.er1
38073
 
-  cat conftest.err >&5
38074
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
38075
 
-  (exit $ac_status); } && {
38076
 
-        test -z "$ac_f77_werror_flag" ||
38077
 
-        test ! -s conftest.err
38078
 
-       } && test -s conftest$ac_exeext && {
38079
 
-        test "$cross_compiling" = yes ||
38080
 
-        $as_test_x conftest$ac_exeext
38081
 
-       }; then
38082
 
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
38083
 
+$as_echo "$ac_try_echo"; } >&5
38084
 
+  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
38085
 
+  ac_status=$?
38086
 
+  if test -s conftest.err; then
38087
 
+    sed '10a\
38088
 
+... rest of stderr output deleted ...
38089
 
+         10q' conftest.err >conftest.er1
38090
 
+    cat conftest.er1 >&5
38091
 
+    rm -f conftest.er1 conftest.err
38092
 
+  fi
38093
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
38094
 
+  test $ac_status = 0; }
38095
 
+done
38096
 
 
38097
 
-lt_aix_libpath_sed='
38098
 
-    /Import File Strings/,/^$/ {
38099
 
-       /^0/ {
38100
 
-           s/^0  *\(.*\)$/\1/
38101
 
-           p
38102
 
-       }
38103
 
-    }'
38104
 
-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
38105
 
-# Check for a 64-bit object if we didn't find anything.
38106
 
-if test -z "$aix_libpath"; then
38107
 
-  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
38108
 
-fi
38109
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
38110
 
+$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
38111
 
+if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
38112
 
+  $as_echo_n "(cached) " >&6
38113
 
 else
38114
 
-  $as_echo "$as_me: failed program was:" >&5
38115
 
-sed 's/^/| /' conftest.$ac_ext >&5
38116
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38117
 
+/* end confdefs.h.  */
38118
 
 
38119
 
+int
38120
 
+main ()
38121
 
+{
38122
 
+#ifndef __GNUC__
38123
 
+       choke me
38124
 
+#endif
38125
 
 
38126
 
+  ;
38127
 
+  return 0;
38128
 
+}
38129
 
+_ACEOF
38130
 
+if ac_fn_cxx_try_compile "$LINENO"; then :
38131
 
+  ac_compiler_gnu=yes
38132
 
+else
38133
 
+  ac_compiler_gnu=no
38134
 
 fi
38135
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38136
 
+ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
38137
 
 
38138
 
-rm -rf conftest.dSYM
38139
 
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38140
 
-      conftest$ac_exeext conftest.$ac_ext
38141
 
-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
38142
 
+fi
38143
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
38144
 
+$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
38145
 
+if test $ac_compiler_gnu = yes; then
38146
 
+  GXX=yes
38147
 
+else
38148
 
+  GXX=
38149
 
+fi
38150
 
+ac_test_CXXFLAGS=${CXXFLAGS+set}
38151
 
+ac_save_CXXFLAGS=$CXXFLAGS
38152
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
38153
 
+$as_echo_n "checking whether $CXX accepts -g... " >&6; }
38154
 
+if test "${ac_cv_prog_cxx_g+set}" = set; then :
38155
 
+  $as_echo_n "(cached) " >&6
38156
 
+else
38157
 
+  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
38158
 
+   ac_cxx_werror_flag=yes
38159
 
+   ac_cv_prog_cxx_g=no
38160
 
+   CXXFLAGS="-g"
38161
 
+   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38162
 
+/* end confdefs.h.  */
38163
 
 
38164
 
-        hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
38165
 
-         # Warning - without using the other run time loading flags,
38166
 
-         # -berok will link without error, but may produce a broken library.
38167
 
-         no_undefined_flag_F77=' ${wl}-bernotok'
38168
 
-         allow_undefined_flag_F77=' ${wl}-berok'
38169
 
-         # Exported symbols can be pulled into shared objects from archives
38170
 
-         whole_archive_flag_spec_F77='$convenience'
38171
 
-         archive_cmds_need_lc_F77=yes
38172
 
-         # This is similar to how AIX traditionally builds its shared libraries.
38173
 
-         archive_expsym_cmds_F77="\$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'
38174
 
-       fi
38175
 
-      fi
38176
 
-      ;;
38177
 
+int
38178
 
+main ()
38179
 
+{
38180
 
 
38181
 
-    amigaos*)
38182
 
-      archive_cmds_F77='$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)'
38183
 
-      hardcode_libdir_flag_spec_F77='-L$libdir'
38184
 
-      hardcode_minus_L_F77=yes
38185
 
-      # see comment about different semantics on the GNU ld section
38186
 
-      ld_shlibs_F77=no
38187
 
-      ;;
38188
 
+  ;
38189
 
+  return 0;
38190
 
+}
38191
 
+_ACEOF
38192
 
+if ac_fn_cxx_try_compile "$LINENO"; then :
38193
 
+  ac_cv_prog_cxx_g=yes
38194
 
+else
38195
 
+  CXXFLAGS=""
38196
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38197
 
+/* end confdefs.h.  */
38198
 
 
38199
 
-    bsdi[45]*)
38200
 
-      export_dynamic_flag_spec_F77=-rdynamic
38201
 
-      ;;
38202
 
+int
38203
 
+main ()
38204
 
+{
38205
 
 
38206
 
-    cygwin* | mingw* | pw32*)
38207
 
-      # When not using gcc, we currently assume that we are using
38208
 
-      # Microsoft Visual C++.
38209
 
-      # hardcode_libdir_flag_spec is actually meaningless, as there is
38210
 
-      # no search path for DLLs.
38211
 
-      hardcode_libdir_flag_spec_F77=' '
38212
 
-      allow_undefined_flag_F77=unsupported
38213
 
-      # Tell ltmain to make .lib files, not .a files.
38214
 
-      libext=lib
38215
 
-      # Tell ltmain to make .dll files, not .so files.
38216
 
-      shrext_cmds=".dll"
38217
 
-      # FIXME: Setting linknames here is a bad hack.
38218
 
-      archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
38219
 
-      # The linker will automatically build a .lib file if we build a DLL.
38220
 
-      old_archive_From_new_cmds_F77='true'
38221
 
-      # FIXME: Should let the user specify the lib program.
38222
 
-      old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
38223
 
-      fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
38224
 
-      enable_shared_with_static_runtimes_F77=yes
38225
 
-      ;;
38226
 
+  ;
38227
 
+  return 0;
38228
 
+}
38229
 
+_ACEOF
38230
 
+if ac_fn_cxx_try_compile "$LINENO"; then :
38231
 
 
38232
 
-    darwin* | rhapsody*)
38233
 
-      case $host_os in
38234
 
-        rhapsody* | darwin1.[012])
38235
 
-         allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
38236
 
-         ;;
38237
 
-       *) # Darwin 1.3 on
38238
 
-         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
38239
 
-           allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
38240
 
-         else
38241
 
-           case ${MACOSX_DEPLOYMENT_TARGET} in
38242
 
-             10.[012])
38243
 
-               allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
38244
 
-               ;;
38245
 
-             10.*)
38246
 
-               allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
38247
 
-               ;;
38248
 
-           esac
38249
 
-         fi
38250
 
-         ;;
38251
 
-      esac
38252
 
-      archive_cmds_need_lc_F77=no
38253
 
-      hardcode_direct_F77=no
38254
 
-      hardcode_automatic_F77=yes
38255
 
-      hardcode_shlibpath_var_F77=unsupported
38256
 
-      whole_archive_flag_spec_F77=''
38257
 
-      link_all_deplibs_F77=yes
38258
 
-    if test "$GCC" = yes ; then
38259
 
-       output_verbose_link_cmd='echo'
38260
 
-        archive_cmds_F77="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
38261
 
-        module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
38262
 
-        archive_expsym_cmds_F77="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}"
38263
 
-        module_expsym_cmds_F77="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}"
38264
 
-    else
38265
 
-      case $cc_basename in
38266
 
-        xlc*)
38267
 
-         output_verbose_link_cmd='echo'
38268
 
-         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
38269
 
-         module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
38270
 
-          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
38271
 
-         archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
38272
 
-          module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
38273
 
-          ;;
38274
 
-       *)
38275
 
-         ld_shlibs_F77=no
38276
 
-          ;;
38277
 
-      esac
38278
 
-    fi
38279
 
-      ;;
38280
 
+else
38281
 
+  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
38282
 
+        CXXFLAGS="-g"
38283
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38284
 
+/* end confdefs.h.  */
38285
 
 
38286
 
-    dgux*)
38287
 
-      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
38288
 
-      hardcode_libdir_flag_spec_F77='-L$libdir'
38289
 
-      hardcode_shlibpath_var_F77=no
38290
 
-      ;;
38291
 
+int
38292
 
+main ()
38293
 
+{
38294
 
 
38295
 
-    freebsd1*)
38296
 
-      ld_shlibs_F77=no
38297
 
-      ;;
38298
 
+  ;
38299
 
+  return 0;
38300
 
+}
38301
 
+_ACEOF
38302
 
+if ac_fn_cxx_try_compile "$LINENO"; then :
38303
 
+  ac_cv_prog_cxx_g=yes
38304
 
+fi
38305
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38306
 
+fi
38307
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38308
 
+fi
38309
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38310
 
+   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
38311
 
+fi
38312
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
38313
 
+$as_echo "$ac_cv_prog_cxx_g" >&6; }
38314
 
+if test "$ac_test_CXXFLAGS" = set; then
38315
 
+  CXXFLAGS=$ac_save_CXXFLAGS
38316
 
+elif test $ac_cv_prog_cxx_g = yes; then
38317
 
+  if test "$GXX" = yes; then
38318
 
+    CXXFLAGS="-g -O2"
38319
 
+  else
38320
 
+    CXXFLAGS="-g"
38321
 
+  fi
38322
 
+else
38323
 
+  if test "$GXX" = yes; then
38324
 
+    CXXFLAGS="-O2"
38325
 
+  else
38326
 
+    CXXFLAGS=
38327
 
+  fi
38328
 
+fi
38329
 
+ac_ext=c
38330
 
+ac_cpp='$CPP $CPPFLAGS'
38331
 
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38332
 
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38333
 
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
38334
 
 
38335
 
-    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
38336
 
-    # support.  Future versions do this automatically, but an explicit c++rt0.o
38337
 
-    # does not break anything, and helps significantly (at the cost of a little
38338
 
-    # extra space).
38339
 
-    freebsd2.2*)
38340
 
-      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
38341
 
-      hardcode_libdir_flag_spec_F77='-R$libdir'
38342
 
-      hardcode_direct_F77=yes
38343
 
-      hardcode_shlibpath_var_F77=no
38344
 
-      ;;
38345
 
+depcc="$CXX"  am_compiler_list=
38346
 
 
38347
 
-    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
38348
 
-    freebsd2*)
38349
 
-      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
38350
 
-      hardcode_direct_F77=yes
38351
 
-      hardcode_minus_L_F77=yes
38352
 
-      hardcode_shlibpath_var_F77=no
38353
 
-      ;;
38354
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
38355
 
+$as_echo_n "checking dependency style of $depcc... " >&6; }
38356
 
+if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
38357
 
+  $as_echo_n "(cached) " >&6
38358
 
+else
38359
 
+  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
38360
 
+  # We make a subdir and do the tests there.  Otherwise we can end up
38361
 
+  # making bogus files that we don't know about and never remove.  For
38362
 
+  # instance it was reported that on HP-UX the gcc test will end up
38363
 
+  # making a dummy file named `D' -- because `-MD' means `put the output
38364
 
+  # in D'.
38365
 
+  mkdir conftest.dir
38366
 
+  # Copy depcomp to subdir because otherwise we won't find it if we're
38367
 
+  # using a relative directory.
38368
 
+  cp "$am_depcomp" conftest.dir
38369
 
+  cd conftest.dir
38370
 
+  # We will build objects and dependencies in a subdirectory because
38371
 
+  # it helps to detect inapplicable dependency modes.  For instance
38372
 
+  # both Tru64's cc and ICC support -MD to output dependencies as a
38373
 
+  # side effect of compilation, but ICC will put the dependencies in
38374
 
+  # the current directory while Tru64 will put them in the object
38375
 
+  # directory.
38376
 
+  mkdir sub
38377
 
 
38378
 
-    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
38379
 
-    freebsd* | dragonfly*)
38380
 
-      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
38381
 
-      hardcode_libdir_flag_spec_F77='-R$libdir'
38382
 
-      hardcode_direct_F77=yes
38383
 
-      hardcode_shlibpath_var_F77=no
38384
 
-      ;;
38385
 
+  am_cv_CXX_dependencies_compiler_type=none
38386
 
+  if test "$am_compiler_list" = ""; then
38387
 
+     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
38388
 
+  fi
38389
 
+  am__universal=false
38390
 
+  case " $depcc " in #(
38391
 
+     *\ -arch\ *\ -arch\ *) am__universal=true ;;
38392
 
+     esac
38393
 
 
38394
 
-    hpux9*)
38395
 
-      if test "$GCC" = yes; then
38396
 
-       archive_cmds_F77='$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'
38397
 
-      else
38398
 
-       archive_cmds_F77='$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'
38399
 
-      fi
38400
 
-      hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
38401
 
-      hardcode_libdir_separator_F77=:
38402
 
-      hardcode_direct_F77=yes
38403
 
+  for depmode in $am_compiler_list; do
38404
 
+    # Setup a source with many dependencies, because some compilers
38405
 
+    # like to wrap large dependency lists on column 80 (with \), and
38406
 
+    # we should not choose a depcomp mode which is confused by this.
38407
 
+    #
38408
 
+    # We need to recreate these files for each test, as the compiler may
38409
 
+    # overwrite some of them when testing with obscure command lines.
38410
 
+    # This happens at least with the AIX C compiler.
38411
 
+    : > sub/conftest.c
38412
 
+    for i in 1 2 3 4 5 6; do
38413
 
+      echo '#include "conftst'$i'.h"' >> sub/conftest.c
38414
 
+      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
38415
 
+      # Solaris 8's {/usr,}/bin/sh.
38416
 
+      touch sub/conftst$i.h
38417
 
+    done
38418
 
+    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
38419
 
 
38420
 
-      # hardcode_minus_L: Not really in the search PATH,
38421
 
-      # but as the default location of the library.
38422
 
-      hardcode_minus_L_F77=yes
38423
 
-      export_dynamic_flag_spec_F77='${wl}-E'
38424
 
+    # We check with `-c' and `-o' for the sake of the "dashmstdout"
38425
 
+    # mode.  It turns out that the SunPro C++ compiler does not properly
38426
 
+    # handle `-M -o', and we need to detect this.  Also, some Intel
38427
 
+    # versions had trouble with output in subdirs
38428
 
+    am__obj=sub/conftest.${OBJEXT-o}
38429
 
+    am__minus_obj="-o $am__obj"
38430
 
+    case $depmode in
38431
 
+    gcc)
38432
 
+      # This depmode causes a compiler race in universal mode.
38433
 
+      test "$am__universal" = false || continue
38434
 
       ;;
38435
 
-
38436
 
-    hpux10*)
38437
 
-      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
38438
 
-       archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
38439
 
+    nosideeffect)
38440
 
+      # after this tag, mechanisms are not by side-effect, so they'll
38441
 
+      # only be used when explicitly requested
38442
 
+      if test "x$enable_dependency_tracking" = xyes; then
38443
 
+       continue
38444
 
       else
38445
 
-       archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
38446
 
-      fi
38447
 
-      if test "$with_gnu_ld" = no; then
38448
 
-       hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
38449
 
-       hardcode_libdir_separator_F77=:
38450
 
-
38451
 
-       hardcode_direct_F77=yes
38452
 
-       export_dynamic_flag_spec_F77='${wl}-E'
38453
 
-
38454
 
-       # hardcode_minus_L: Not really in the search PATH,
38455
 
-       # but as the default location of the library.
38456
 
-       hardcode_minus_L_F77=yes
38457
 
+       break
38458
 
       fi
38459
 
       ;;
38460
 
+    msvisualcpp | msvcmsys)
38461
 
+      # This compiler won't grok `-c -o', but also, the minuso test has
38462
 
+      # not run yet.  These depmodes are late enough in the game, and
38463
 
+      # so weak that their functioning should not be impacted.
38464
 
+      am__obj=conftest.${OBJEXT-o}
38465
 
+      am__minus_obj=
38466
 
+      ;;
38467
 
+    none) break ;;
38468
 
+    esac
38469
 
+    if depmode=$depmode \
38470
 
+       source=sub/conftest.c object=$am__obj \
38471
 
+       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
38472
 
+       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
38473
 
+         >/dev/null 2>conftest.err &&
38474
 
+       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
38475
 
+       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
38476
 
+       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
38477
 
+       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
38478
 
+      # icc doesn't choke on unknown options, it will just issue warnings
38479
 
+      # or remarks (even with -Werror).  So we grep stderr for any message
38480
 
+      # that says an option was ignored or not supported.
38481
 
+      # When given -MP, icc 7.0 and 7.1 complain thusly:
38482
 
+      #   icc: Command line warning: ignoring option '-M'; no argument required
38483
 
+      # The diagnosis changed in icc 8.0:
38484
 
+      #   icc: Command line remark: option '-MP' not supported
38485
 
+      if (grep 'ignoring option' conftest.err ||
38486
 
+          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
38487
 
+        am_cv_CXX_dependencies_compiler_type=$depmode
38488
 
+        break
38489
 
+      fi
38490
 
+    fi
38491
 
+  done
38492
 
 
38493
 
-    hpux11*)
38494
 
-      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
38495
 
-       case $host_cpu in
38496
 
-       hppa*64*)
38497
 
-         archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
38498
 
-         ;;
38499
 
-       ia64*)
38500
 
-         archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
38501
 
-         ;;
38502
 
-       *)
38503
 
-         archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
38504
 
-         ;;
38505
 
-       esac
38506
 
-      else
38507
 
-       case $host_cpu in
38508
 
-       hppa*64*)
38509
 
-         archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
38510
 
-         ;;
38511
 
-       ia64*)
38512
 
-         archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
38513
 
-         ;;
38514
 
-       *)
38515
 
-         archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
38516
 
-         ;;
38517
 
-       esac
38518
 
-      fi
38519
 
-      if test "$with_gnu_ld" = no; then
38520
 
-       hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
38521
 
-       hardcode_libdir_separator_F77=:
38522
 
-
38523
 
-       case $host_cpu in
38524
 
-       hppa*64*|ia64*)
38525
 
-         hardcode_libdir_flag_spec_ld_F77='+b $libdir'
38526
 
-         hardcode_direct_F77=no
38527
 
-         hardcode_shlibpath_var_F77=no
38528
 
-         ;;
38529
 
-       *)
38530
 
-         hardcode_direct_F77=yes
38531
 
-         export_dynamic_flag_spec_F77='${wl}-E'
38532
 
+  cd ..
38533
 
+  rm -rf conftest.dir
38534
 
+else
38535
 
+  am_cv_CXX_dependencies_compiler_type=none
38536
 
+fi
38537
 
 
38538
 
-         # hardcode_minus_L: Not really in the search PATH,
38539
 
-         # but as the default location of the library.
38540
 
-         hardcode_minus_L_F77=yes
38541
 
-         ;;
38542
 
-       esac
38543
 
-      fi
38544
 
-      ;;
38545
 
+fi
38546
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
38547
 
+$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
38548
 
+CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
38549
 
 
38550
 
-    irix5* | irix6* | nonstopux*)
38551
 
-      if test "$GCC" = yes; then
38552
 
-       archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
38553
 
-      else
38554
 
-       archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
38555
 
-       hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
38556
 
-      fi
38557
 
-      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
38558
 
-      hardcode_libdir_separator_F77=:
38559
 
-      link_all_deplibs_F77=yes
38560
 
-      ;;
38561
 
+ if
38562
 
+  test "x$enable_dependency_tracking" != xno \
38563
 
+  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
38564
 
+  am__fastdepCXX_TRUE=
38565
 
+  am__fastdepCXX_FALSE='#'
38566
 
+else
38567
 
+  am__fastdepCXX_TRUE='#'
38568
 
+  am__fastdepCXX_FALSE=
38569
 
+fi
38570
 
 
38571
 
-    netbsd*)
38572
 
-      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
38573
 
-       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
38574
 
-      else
38575
 
-       archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
38576
 
-      fi
38577
 
-      hardcode_libdir_flag_spec_F77='-R$libdir'
38578
 
-      hardcode_direct_F77=yes
38579
 
-      hardcode_shlibpath_var_F77=no
38580
 
-      ;;
38581
 
 
38582
 
-    newsos6)
38583
 
-      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
38584
 
-      hardcode_direct_F77=yes
38585
 
-      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
38586
 
-      hardcode_libdir_separator_F77=:
38587
 
-      hardcode_shlibpath_var_F77=no
38588
 
-      ;;
38589
 
 
38590
 
-    openbsd*)
38591
 
-      if test -f /usr/libexec/ld.so; then
38592
 
-       hardcode_direct_F77=yes
38593
 
-       hardcode_shlibpath_var_F77=no
38594
 
-       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
38595
 
-         archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
38596
 
-         archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
38597
 
-         hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
38598
 
-         export_dynamic_flag_spec_F77='${wl}-E'
38599
 
-       else
38600
 
-         case $host_os in
38601
 
-          openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
38602
 
-            archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
38603
 
-            hardcode_libdir_flag_spec_F77='-R$libdir'
38604
 
-            ;;
38605
 
-          *)
38606
 
-            archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
38607
 
-            hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
38608
 
-            ;;
38609
 
-         esac
38610
 
-        fi
38611
 
-      else
38612
 
-       ld_shlibs_F77=no
38613
 
-      fi
38614
 
-      ;;
38615
 
+ac_ext=cpp
38616
 
+ac_cpp='$CXXCPP $CPPFLAGS'
38617
 
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38618
 
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38619
 
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38620
 
+if test -z "$CXX"; then
38621
 
+  if test -n "$CCC"; then
38622
 
+    CXX=$CCC
38623
 
+  else
38624
 
+    if test -n "$ac_tool_prefix"; then
38625
 
+  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
38626
 
+  do
38627
 
+    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
38628
 
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
38629
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38630
 
+$as_echo_n "checking for $ac_word... " >&6; }
38631
 
+if test "${ac_cv_prog_CXX+set}" = set; then :
38632
 
+  $as_echo_n "(cached) " >&6
38633
 
+else
38634
 
+  if test -n "$CXX"; then
38635
 
+  ac_cv_prog_CXX="$CXX" # Let the user override the test.
38636
 
+else
38637
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38638
 
+for as_dir in $PATH
38639
 
+do
38640
 
+  IFS=$as_save_IFS
38641
 
+  test -z "$as_dir" && as_dir=.
38642
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
38643
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
38644
 
+    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
38645
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38646
 
+    break 2
38647
 
+  fi
38648
 
+done
38649
 
+  done
38650
 
+IFS=$as_save_IFS
38651
 
 
38652
 
-    os2*)
38653
 
-      hardcode_libdir_flag_spec_F77='-L$libdir'
38654
 
-      hardcode_minus_L_F77=yes
38655
 
-      allow_undefined_flag_F77=unsupported
38656
 
-      archive_cmds_F77='$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'
38657
 
-      old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
38658
 
-      ;;
38659
 
+fi
38660
 
+fi
38661
 
+CXX=$ac_cv_prog_CXX
38662
 
+if test -n "$CXX"; then
38663
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
38664
 
+$as_echo "$CXX" >&6; }
38665
 
+else
38666
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38667
 
+$as_echo "no" >&6; }
38668
 
+fi
38669
 
 
38670
 
-    osf3*)
38671
 
-      if test "$GCC" = yes; then
38672
 
-       allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
38673
 
-       archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
38674
 
-      else
38675
 
-       allow_undefined_flag_F77=' -expect_unresolved \*'
38676
 
-       archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
38677
 
-      fi
38678
 
-      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
38679
 
-      hardcode_libdir_separator_F77=:
38680
 
-      ;;
38681
 
 
38682
 
-    osf4* | osf5*)     # as osf3* with the addition of -msym flag
38683
 
-      if test "$GCC" = yes; then
38684
 
-       allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
38685
 
-       archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
38686
 
-       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
38687
 
-      else
38688
 
-       allow_undefined_flag_F77=' -expect_unresolved \*'
38689
 
-       archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
38690
 
-       archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
38691
 
-       $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
38692
 
+    test -n "$CXX" && break
38693
 
+  done
38694
 
+fi
38695
 
+if test -z "$CXX"; then
38696
 
+  ac_ct_CXX=$CXX
38697
 
+  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
38698
 
+do
38699
 
+  # Extract the first word of "$ac_prog", so it can be a program name with args.
38700
 
+set dummy $ac_prog; ac_word=$2
38701
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38702
 
+$as_echo_n "checking for $ac_word... " >&6; }
38703
 
+if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
38704
 
+  $as_echo_n "(cached) " >&6
38705
 
+else
38706
 
+  if test -n "$ac_ct_CXX"; then
38707
 
+  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
38708
 
+else
38709
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38710
 
+for as_dir in $PATH
38711
 
+do
38712
 
+  IFS=$as_save_IFS
38713
 
+  test -z "$as_dir" && as_dir=.
38714
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
38715
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
38716
 
+    ac_cv_prog_ac_ct_CXX="$ac_prog"
38717
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38718
 
+    break 2
38719
 
+  fi
38720
 
+done
38721
 
+  done
38722
 
+IFS=$as_save_IFS
38723
 
 
38724
 
-       # Both c and cxx compiler support -rpath directly
38725
 
-       hardcode_libdir_flag_spec_F77='-rpath $libdir'
38726
 
-      fi
38727
 
-      hardcode_libdir_separator_F77=:
38728
 
-      ;;
38729
 
+fi
38730
 
+fi
38731
 
+ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
38732
 
+if test -n "$ac_ct_CXX"; then
38733
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
38734
 
+$as_echo "$ac_ct_CXX" >&6; }
38735
 
+else
38736
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38737
 
+$as_echo "no" >&6; }
38738
 
+fi
38739
 
 
38740
 
-    solaris*)
38741
 
-      no_undefined_flag_F77=' -z text'
38742
 
-      if test "$GCC" = yes; then
38743
 
-       wlarc='${wl}'
38744
 
-       archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
38745
 
-       archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
38746
 
-         $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
38747
 
-      else
38748
 
-       wlarc=''
38749
 
-       archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
38750
 
-       archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
38751
 
-       $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
38752
 
-      fi
38753
 
-      hardcode_libdir_flag_spec_F77='-R$libdir'
38754
 
-      hardcode_shlibpath_var_F77=no
38755
 
-      case $host_os in
38756
 
-      solaris2.[0-5] | solaris2.[0-5].*) ;;
38757
 
-      *)
38758
 
-       # The compiler driver will combine and reorder linker options,
38759
 
-       # but understands `-z linker_flag'.  GCC discards it without `$wl',
38760
 
-       # but is careful enough not to reorder.
38761
 
-       # Supported since Solaris 2.6 (maybe 2.5.1?)
38762
 
-       if test "$GCC" = yes; then
38763
 
-         whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
38764
 
-       else
38765
 
-         whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
38766
 
-       fi
38767
 
-       ;;
38768
 
-      esac
38769
 
-      link_all_deplibs_F77=yes
38770
 
-      ;;
38771
 
 
38772
 
-    sunos4*)
38773
 
-      if test "x$host_vendor" = xsequent; then
38774
 
-       # Use $CC to link under sequent, because it throws in some extra .o
38775
 
-       # files that make .init and .fini sections work.
38776
 
-       archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
38777
 
-      else
38778
 
-       archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
38779
 
-      fi
38780
 
-      hardcode_libdir_flag_spec_F77='-L$libdir'
38781
 
-      hardcode_direct_F77=yes
38782
 
-      hardcode_minus_L_F77=yes
38783
 
-      hardcode_shlibpath_var_F77=no
38784
 
-      ;;
38785
 
+  test -n "$ac_ct_CXX" && break
38786
 
+done
38787
 
 
38788
 
-    sysv4)
38789
 
-      case $host_vendor in
38790
 
-       sni)
38791
 
-         archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
38792
 
-         hardcode_direct_F77=yes # is this really true???
38793
 
-       ;;
38794
 
-       siemens)
38795
 
-         ## LD is ld it makes a PLAMLIB
38796
 
-         ## CC just makes a GrossModule.
38797
 
-         archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
38798
 
-         reload_cmds_F77='$CC -r -o $output$reload_objs'
38799
 
-         hardcode_direct_F77=no
38800
 
-        ;;
38801
 
-       motorola)
38802
 
-         archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
38803
 
-         hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
38804
 
-       ;;
38805
 
-      esac
38806
 
-      runpath_var='LD_RUN_PATH'
38807
 
-      hardcode_shlibpath_var_F77=no
38808
 
-      ;;
38809
 
+  if test "x$ac_ct_CXX" = x; then
38810
 
+    CXX="g++"
38811
 
+  else
38812
 
+    case $cross_compiling:$ac_tool_warned in
38813
 
+yes:)
38814
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38815
 
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38816
 
+ac_tool_warned=yes ;;
38817
 
+esac
38818
 
+    CXX=$ac_ct_CXX
38819
 
+  fi
38820
 
+fi
38821
 
 
38822
 
-    sysv4.3*)
38823
 
-      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
38824
 
-      hardcode_shlibpath_var_F77=no
38825
 
-      export_dynamic_flag_spec_F77='-Bexport'
38826
 
-      ;;
38827
 
+  fi
38828
 
+fi
38829
 
+# Provide some information about the compiler.
38830
 
+$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
38831
 
+set X $ac_compile
38832
 
+ac_compiler=$2
38833
 
+for ac_option in --version -v -V -qversion; do
38834
 
+  { { ac_try="$ac_compiler $ac_option >&5"
38835
 
+case "(($ac_try" in
38836
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38837
 
+  *) ac_try_echo=$ac_try;;
38838
 
+esac
38839
 
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
38840
 
+$as_echo "$ac_try_echo"; } >&5
38841
 
+  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
38842
 
+  ac_status=$?
38843
 
+  if test -s conftest.err; then
38844
 
+    sed '10a\
38845
 
+... rest of stderr output deleted ...
38846
 
+         10q' conftest.err >conftest.er1
38847
 
+    cat conftest.er1 >&5
38848
 
+    rm -f conftest.er1 conftest.err
38849
 
+  fi
38850
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
38851
 
+  test $ac_status = 0; }
38852
 
+done
38853
 
 
38854
 
-    sysv4*MP*)
38855
 
-      if test -d /usr/nec; then
38856
 
-       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
38857
 
-       hardcode_shlibpath_var_F77=no
38858
 
-       runpath_var=LD_RUN_PATH
38859
 
-       hardcode_runpath_var=yes
38860
 
-       ld_shlibs_F77=yes
38861
 
-      fi
38862
 
-      ;;
38863
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
38864
 
+$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
38865
 
+if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
38866
 
+  $as_echo_n "(cached) " >&6
38867
 
+else
38868
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38869
 
+/* end confdefs.h.  */
38870
 
 
38871
 
-    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
38872
 
-      no_undefined_flag_F77='${wl}-z,text'
38873
 
-      archive_cmds_need_lc_F77=no
38874
 
-      hardcode_shlibpath_var_F77=no
38875
 
-      runpath_var='LD_RUN_PATH'
38876
 
+int
38877
 
+main ()
38878
 
+{
38879
 
+#ifndef __GNUC__
38880
 
+       choke me
38881
 
+#endif
38882
 
 
38883
 
-      if test "$GCC" = yes; then
38884
 
-       archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
38885
 
-       archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
38886
 
-      else
38887
 
-       archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
38888
 
-       archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
38889
 
-      fi
38890
 
-      ;;
38891
 
+  ;
38892
 
+  return 0;
38893
 
+}
38894
 
+_ACEOF
38895
 
+if ac_fn_cxx_try_compile "$LINENO"; then :
38896
 
+  ac_compiler_gnu=yes
38897
 
+else
38898
 
+  ac_compiler_gnu=no
38899
 
+fi
38900
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38901
 
+ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
38902
 
 
38903
 
-    sysv5* | sco3.2v5* | sco5v6*)
38904
 
-      # Note: We can NOT use -z defs as we might desire, because we do not
38905
 
-      # link with -lc, and that would cause any symbols used from libc to
38906
 
-      # always be unresolved, which means just about no library would
38907
 
-      # ever link correctly.  If we're not using GNU ld we use -z text
38908
 
-      # though, which does catch some bad symbols but isn't as heavy-handed
38909
 
-      # as -z defs.
38910
 
-      no_undefined_flag_F77='${wl}-z,text'
38911
 
-      allow_undefined_flag_F77='${wl}-z,nodefs'
38912
 
-      archive_cmds_need_lc_F77=no
38913
 
-      hardcode_shlibpath_var_F77=no
38914
 
-      hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
38915
 
-      hardcode_libdir_separator_F77=':'
38916
 
-      link_all_deplibs_F77=yes
38917
 
-      export_dynamic_flag_spec_F77='${wl}-Bexport'
38918
 
-      runpath_var='LD_RUN_PATH'
38919
 
+fi
38920
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
38921
 
+$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
38922
 
+if test $ac_compiler_gnu = yes; then
38923
 
+  GXX=yes
38924
 
+else
38925
 
+  GXX=
38926
 
+fi
38927
 
+ac_test_CXXFLAGS=${CXXFLAGS+set}
38928
 
+ac_save_CXXFLAGS=$CXXFLAGS
38929
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
38930
 
+$as_echo_n "checking whether $CXX accepts -g... " >&6; }
38931
 
+if test "${ac_cv_prog_cxx_g+set}" = set; then :
38932
 
+  $as_echo_n "(cached) " >&6
38933
 
+else
38934
 
+  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
38935
 
+   ac_cxx_werror_flag=yes
38936
 
+   ac_cv_prog_cxx_g=no
38937
 
+   CXXFLAGS="-g"
38938
 
+   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38939
 
+/* end confdefs.h.  */
38940
 
 
38941
 
-      if test "$GCC" = yes; then
38942
 
-       archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
38943
 
-       archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
38944
 
-      else
38945
 
-       archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
38946
 
-       archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
38947
 
-      fi
38948
 
-      ;;
38949
 
+int
38950
 
+main ()
38951
 
+{
38952
 
 
38953
 
-    uts4*)
38954
 
-      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
38955
 
-      hardcode_libdir_flag_spec_F77='-L$libdir'
38956
 
-      hardcode_shlibpath_var_F77=no
38957
 
-      ;;
38958
 
+  ;
38959
 
+  return 0;
38960
 
+}
38961
 
+_ACEOF
38962
 
+if ac_fn_cxx_try_compile "$LINENO"; then :
38963
 
+  ac_cv_prog_cxx_g=yes
38964
 
+else
38965
 
+  CXXFLAGS=""
38966
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38967
 
+/* end confdefs.h.  */
38968
 
 
38969
 
-    *)
38970
 
-      ld_shlibs_F77=no
38971
 
-      ;;
38972
 
-    esac
38973
 
-  fi
38974
 
+int
38975
 
+main ()
38976
 
+{
38977
 
 
38978
 
-{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
38979
 
-$as_echo "$ld_shlibs_F77" >&6; }
38980
 
-test "$ld_shlibs_F77" = no && can_build_shared=no
38981
 
+  ;
38982
 
+  return 0;
38983
 
+}
38984
 
+_ACEOF
38985
 
+if ac_fn_cxx_try_compile "$LINENO"; then :
38986
 
 
38987
 
-#
38988
 
-# Do we need to explicitly link libc?
38989
 
-#
38990
 
-case "x$archive_cmds_need_lc_F77" in
38991
 
-x|xyes)
38992
 
-  # Assume -lc should be added
38993
 
-  archive_cmds_need_lc_F77=yes
38994
 
+else
38995
 
+  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
38996
 
+        CXXFLAGS="-g"
38997
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38998
 
+/* end confdefs.h.  */
38999
 
 
39000
 
-  if test "$enable_shared" = yes && test "$GCC" = yes; then
39001
 
-    case $archive_cmds_F77 in
39002
 
-    *'~'*)
39003
 
-      # FIXME: we may have to deal with multi-command sequences.
39004
 
-      ;;
39005
 
-    '$CC '*)
39006
 
-      # Test whether the compiler implicitly links with -lc since on some
39007
 
-      # systems, -lgcc has to come before -lc. If gcc already passes -lc
39008
 
-      # to ld, don't add -lc before -lgcc.
39009
 
-      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
39010
 
-$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
39011
 
-      $rm conftest*
39012
 
-      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
39013
 
+int
39014
 
+main ()
39015
 
+{
39016
 
 
39017
 
-      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39018
 
-  (eval $ac_compile) 2>&5
39019
 
-  ac_status=$?
39020
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
39021
 
-  (exit $ac_status); } 2>conftest.err; then
39022
 
-        soname=conftest
39023
 
-        lib=conftest
39024
 
-        libobjs=conftest.$ac_objext
39025
 
-        deplibs=
39026
 
-        wl=$lt_prog_compiler_wl_F77
39027
 
-       pic_flag=$lt_prog_compiler_pic_F77
39028
 
-        compiler_flags=-v
39029
 
-        linker_flags=-v
39030
 
-        verstring=
39031
 
-        output_objdir=.
39032
 
-        libname=conftest
39033
 
-        lt_save_allow_undefined_flag=$allow_undefined_flag_F77
39034
 
-        allow_undefined_flag_F77=
39035
 
-        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
39036
 
-  (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
39037
 
-  ac_status=$?
39038
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
39039
 
-  (exit $ac_status); }
39040
 
-        then
39041
 
-         archive_cmds_need_lc_F77=no
39042
 
-        else
39043
 
-         archive_cmds_need_lc_F77=yes
39044
 
-        fi
39045
 
-        allow_undefined_flag_F77=$lt_save_allow_undefined_flag
39046
 
-      else
39047
 
-        cat conftest.err 1>&5
39048
 
-      fi
39049
 
-      $rm conftest*
39050
 
-      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
39051
 
-$as_echo "$archive_cmds_need_lc_F77" >&6; }
39052
 
-      ;;
39053
 
-    esac
39054
 
+  ;
39055
 
+  return 0;
39056
 
+}
39057
 
+_ACEOF
39058
 
+if ac_fn_cxx_try_compile "$LINENO"; then :
39059
 
+  ac_cv_prog_cxx_g=yes
39060
 
+fi
39061
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39062
 
+fi
39063
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39064
 
+fi
39065
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39066
 
+   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
39067
 
+fi
39068
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
39069
 
+$as_echo "$ac_cv_prog_cxx_g" >&6; }
39070
 
+if test "$ac_test_CXXFLAGS" = set; then
39071
 
+  CXXFLAGS=$ac_save_CXXFLAGS
39072
 
+elif test $ac_cv_prog_cxx_g = yes; then
39073
 
+  if test "$GXX" = yes; then
39074
 
+    CXXFLAGS="-g -O2"
39075
 
+  else
39076
 
+    CXXFLAGS="-g"
39077
 
   fi
39078
 
-  ;;
39079
 
-esac
39080
 
-
39081
 
-{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
39082
 
-$as_echo_n "checking dynamic linker characteristics... " >&6; }
39083
 
-library_names_spec=
39084
 
-libname_spec='lib$name'
39085
 
-soname_spec=
39086
 
-shrext_cmds=".so"
39087
 
-postinstall_cmds=
39088
 
-postuninstall_cmds=
39089
 
-finish_cmds=
39090
 
-finish_eval=
39091
 
-shlibpath_var=
39092
 
-shlibpath_overrides_runpath=unknown
39093
 
-version_type=none
39094
 
-dynamic_linker="$host_os ld.so"
39095
 
-sys_lib_dlsearch_path_spec="/lib /usr/lib"
39096
 
+else
39097
 
+  if test "$GXX" = yes; then
39098
 
+    CXXFLAGS="-O2"
39099
 
+  else
39100
 
+    CXXFLAGS=
39101
 
+  fi
39102
 
+fi
39103
 
+ac_ext=c
39104
 
+ac_cpp='$CPP $CPPFLAGS'
39105
 
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39106
 
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39107
 
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
39108
 
 
39109
 
-need_lib_prefix=unknown
39110
 
-hardcode_into_libs=no
39111
 
+depcc="$CXX"  am_compiler_list=
39112
 
 
39113
 
-# when you set need_version to no, make sure it does not cause -set_version
39114
 
-# flags to be left without arguments
39115
 
-need_version=unknown
39116
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
39117
 
+$as_echo_n "checking dependency style of $depcc... " >&6; }
39118
 
+if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
39119
 
+  $as_echo_n "(cached) " >&6
39120
 
+else
39121
 
+  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
39122
 
+  # We make a subdir and do the tests there.  Otherwise we can end up
39123
 
+  # making bogus files that we don't know about and never remove.  For
39124
 
+  # instance it was reported that on HP-UX the gcc test will end up
39125
 
+  # making a dummy file named `D' -- because `-MD' means `put the output
39126
 
+  # in D'.
39127
 
+  mkdir conftest.dir
39128
 
+  # Copy depcomp to subdir because otherwise we won't find it if we're
39129
 
+  # using a relative directory.
39130
 
+  cp "$am_depcomp" conftest.dir
39131
 
+  cd conftest.dir
39132
 
+  # We will build objects and dependencies in a subdirectory because
39133
 
+  # it helps to detect inapplicable dependency modes.  For instance
39134
 
+  # both Tru64's cc and ICC support -MD to output dependencies as a
39135
 
+  # side effect of compilation, but ICC will put the dependencies in
39136
 
+  # the current directory while Tru64 will put them in the object
39137
 
+  # directory.
39138
 
+  mkdir sub
39139
 
 
39140
 
-case $host_os in
39141
 
-aix3*)
39142
 
-  version_type=linux
39143
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
39144
 
-  shlibpath_var=LIBPATH
39145
 
+  am_cv_CXX_dependencies_compiler_type=none
39146
 
+  if test "$am_compiler_list" = ""; then
39147
 
+     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
39148
 
+  fi
39149
 
+  am__universal=false
39150
 
+  case " $depcc " in #(
39151
 
+     *\ -arch\ *\ -arch\ *) am__universal=true ;;
39152
 
+     esac
39153
 
 
39154
 
-  # AIX 3 has no versioning support, so we append a major version to the name.
39155
 
-  soname_spec='${libname}${release}${shared_ext}$major'
39156
 
-  ;;
39157
 
+  for depmode in $am_compiler_list; do
39158
 
+    # Setup a source with many dependencies, because some compilers
39159
 
+    # like to wrap large dependency lists on column 80 (with \), and
39160
 
+    # we should not choose a depcomp mode which is confused by this.
39161
 
+    #
39162
 
+    # We need to recreate these files for each test, as the compiler may
39163
 
+    # overwrite some of them when testing with obscure command lines.
39164
 
+    # This happens at least with the AIX C compiler.
39165
 
+    : > sub/conftest.c
39166
 
+    for i in 1 2 3 4 5 6; do
39167
 
+      echo '#include "conftst'$i'.h"' >> sub/conftest.c
39168
 
+      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
39169
 
+      # Solaris 8's {/usr,}/bin/sh.
39170
 
+      touch sub/conftst$i.h
39171
 
+    done
39172
 
+    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
39173
 
 
39174
 
-aix[4-9]*)
39175
 
-  version_type=linux
39176
 
-  need_lib_prefix=no
39177
 
-  need_version=no
39178
 
-  hardcode_into_libs=yes
39179
 
-  if test "$host_cpu" = ia64; then
39180
 
-    # AIX 5 supports IA64
39181
 
-    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
39182
 
-    shlibpath_var=LD_LIBRARY_PATH
39183
 
-  else
39184
 
-    # With GCC up to 2.95.x, collect2 would create an import file
39185
 
-    # for dependence libraries.  The import file would start with
39186
 
-    # the line `#! .'.  This would cause the generated library to
39187
 
-    # depend on `.', always an invalid library.  This was fixed in
39188
 
-    # development snapshots of GCC prior to 3.0.
39189
 
-    case $host_os in
39190
 
-      aix4 | aix4.[01] | aix4.[01].*)
39191
 
-      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
39192
 
-          echo ' yes '
39193
 
-          echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
39194
 
-       :
39195
 
+    # We check with `-c' and `-o' for the sake of the "dashmstdout"
39196
 
+    # mode.  It turns out that the SunPro C++ compiler does not properly
39197
 
+    # handle `-M -o', and we need to detect this.  Also, some Intel
39198
 
+    # versions had trouble with output in subdirs
39199
 
+    am__obj=sub/conftest.${OBJEXT-o}
39200
 
+    am__minus_obj="-o $am__obj"
39201
 
+    case $depmode in
39202
 
+    gcc)
39203
 
+      # This depmode causes a compiler race in universal mode.
39204
 
+      test "$am__universal" = false || continue
39205
 
+      ;;
39206
 
+    nosideeffect)
39207
 
+      # after this tag, mechanisms are not by side-effect, so they'll
39208
 
+      # only be used when explicitly requested
39209
 
+      if test "x$enable_dependency_tracking" = xyes; then
39210
 
+       continue
39211
 
       else
39212
 
-       can_build_shared=no
39213
 
+       break
39214
 
       fi
39215
 
       ;;
39216
 
+    msvisualcpp | msvcmsys)
39217
 
+      # This compiler won't grok `-c -o', but also, the minuso test has
39218
 
+      # not run yet.  These depmodes are late enough in the game, and
39219
 
+      # so weak that their functioning should not be impacted.
39220
 
+      am__obj=conftest.${OBJEXT-o}
39221
 
+      am__minus_obj=
39222
 
+      ;;
39223
 
+    none) break ;;
39224
 
     esac
39225
 
-    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
39226
 
-    # soname into executable. Probably we can add versioning support to
39227
 
-    # collect2, so additional links can be useful in future.
39228
 
-    if test "$aix_use_runtimelinking" = yes; then
39229
 
-      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
39230
 
-      # instead of lib<name>.a to let people know that these are not
39231
 
-      # typical AIX shared libraries.
39232
 
-      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
39233
 
-    else
39234
 
-      # We preserve .a as extension for shared libraries through AIX4.2
39235
 
-      # and later when we are not doing run time linking.
39236
 
-      library_names_spec='${libname}${release}.a $libname.a'
39237
 
-      soname_spec='${libname}${release}${shared_ext}$major'
39238
 
-    fi
39239
 
-    shlibpath_var=LIBPATH
39240
 
-  fi
39241
 
-  ;;
39242
 
-
39243
 
-amigaos*)
39244
 
-  library_names_spec='$libname.ixlibrary $libname.a'
39245
 
-  # Create ${libname}_ixlibrary.a entries in /sys/libs.
39246
 
-  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'
39247
 
-  ;;
39248
 
-
39249
 
-beos*)
39250
 
-  library_names_spec='${libname}${shared_ext}'
39251
 
-  dynamic_linker="$host_os ld.so"
39252
 
-  shlibpath_var=LIBRARY_PATH
39253
 
-  ;;
39254
 
-
39255
 
-bsdi[45]*)
39256
 
-  version_type=linux
39257
 
-  need_version=no
39258
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
39259
 
-  soname_spec='${libname}${release}${shared_ext}$major'
39260
 
-  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
39261
 
-  shlibpath_var=LD_LIBRARY_PATH
39262
 
-  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
39263
 
-  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
39264
 
-  # the default ld.so.conf also contains /usr/contrib/lib and
39265
 
-  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
39266
 
-  # libtool to hard-code these into programs
39267
 
-  ;;
39268
 
+    if depmode=$depmode \
39269
 
+       source=sub/conftest.c object=$am__obj \
39270
 
+       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
39271
 
+       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
39272
 
+         >/dev/null 2>conftest.err &&
39273
 
+       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
39274
 
+       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
39275
 
+       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
39276
 
+       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
39277
 
+      # icc doesn't choke on unknown options, it will just issue warnings
39278
 
+      # or remarks (even with -Werror).  So we grep stderr for any message
39279
 
+      # that says an option was ignored or not supported.
39280
 
+      # When given -MP, icc 7.0 and 7.1 complain thusly:
39281
 
+      #   icc: Command line warning: ignoring option '-M'; no argument required
39282
 
+      # The diagnosis changed in icc 8.0:
39283
 
+      #   icc: Command line remark: option '-MP' not supported
39284
 
+      if (grep 'ignoring option' conftest.err ||
39285
 
+          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
39286
 
+        am_cv_CXX_dependencies_compiler_type=$depmode
39287
 
+        break
39288
 
+      fi
39289
 
+    fi
39290
 
+  done
39291
 
 
39292
 
-cygwin* | mingw* | pw32*)
39293
 
-  version_type=windows
39294
 
-  shrext_cmds=".dll"
39295
 
-  need_version=no
39296
 
-  need_lib_prefix=no
39297
 
+  cd ..
39298
 
+  rm -rf conftest.dir
39299
 
+else
39300
 
+  am_cv_CXX_dependencies_compiler_type=none
39301
 
+fi
39302
 
 
39303
 
-  case $GCC,$host_os in
39304
 
-  yes,cygwin* | yes,mingw* | yes,pw32*)
39305
 
-    library_names_spec='$libname.dll.a'
39306
 
-    # DLL is installed to $(libdir)/../bin by postinstall_cmds
39307
 
-    postinstall_cmds='base_file=`basename \${file}`~
39308
 
-      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
39309
 
-      dldir=$destdir/`dirname \$dlpath`~
39310
 
-      test -d \$dldir || mkdir -p \$dldir~
39311
 
-      $install_prog $dir/$dlname \$dldir/$dlname~
39312
 
-      chmod a+x \$dldir/$dlname'
39313
 
-    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
39314
 
-      dlpath=$dir/\$dldll~
39315
 
-       $rm \$dlpath'
39316
 
-    shlibpath_overrides_runpath=yes
39317
 
+fi
39318
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
39319
 
+$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
39320
 
+CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
39321
 
 
39322
 
-    case $host_os in
39323
 
-    cygwin*)
39324
 
-      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
39325
 
-      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
39326
 
-      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
39327
 
-      ;;
39328
 
-    mingw*)
39329
 
-      # MinGW DLLs use traditional 'lib' prefix
39330
 
-      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
39331
 
-      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
39332
 
-      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
39333
 
-        # It is most probably a Windows format PATH printed by
39334
 
-        # mingw gcc, but we are running on Cygwin. Gcc prints its search
39335
 
-        # path with ; separators, and with drive letters. We can handle the
39336
 
-        # drive letters (cygwin fileutils understands them), so leave them,
39337
 
-        # especially as we might pass files found there to a mingw objdump,
39338
 
-        # which wouldn't understand a cygwinified path. Ahh.
39339
 
-        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
39340
 
-      else
39341
 
-        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
39342
 
-      fi
39343
 
-      ;;
39344
 
-    pw32*)
39345
 
-      # pw32 DLLs use 'pw' prefix rather than 'lib'
39346
 
-      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
39347
 
-      ;;
39348
 
-    esac
39349
 
-    ;;
39350
 
+ if
39351
 
+  test "x$enable_dependency_tracking" != xno \
39352
 
+  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
39353
 
+  am__fastdepCXX_TRUE=
39354
 
+  am__fastdepCXX_FALSE='#'
39355
 
+else
39356
 
+  am__fastdepCXX_TRUE='#'
39357
 
+  am__fastdepCXX_FALSE=
39358
 
+fi
39359
 
 
39360
 
-  *)
39361
 
-    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
39362
 
-    ;;
39363
 
-  esac
39364
 
-  dynamic_linker='Win32 ld.exe'
39365
 
-  # FIXME: first we should search . and the directory the executable is in
39366
 
-  shlibpath_var=PATH
39367
 
-  ;;
39368
 
 
39369
 
-darwin* | rhapsody*)
39370
 
-  dynamic_linker="$host_os dyld"
39371
 
-  version_type=darwin
39372
 
-  need_lib_prefix=no
39373
 
-  need_version=no
39374
 
-  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
39375
 
-  soname_spec='${libname}${release}${major}$shared_ext'
39376
 
-  shlibpath_overrides_runpath=yes
39377
 
-  shlibpath_var=DYLD_LIBRARY_PATH
39378
 
-  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
39379
 
+if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
39380
 
+    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
39381
 
+    (test "X$CXX" != "Xg++"))) ; then
39382
 
+  ac_ext=cpp
39383
 
+ac_cpp='$CXXCPP $CPPFLAGS'
39384
 
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39385
 
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39386
 
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39387
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
39388
 
+$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
39389
 
+if test -z "$CXXCPP"; then
39390
 
+  if test "${ac_cv_prog_CXXCPP+set}" = set; then :
39391
 
+  $as_echo_n "(cached) " >&6
39392
 
+else
39393
 
+      # Double quotes because CXXCPP needs to be expanded
39394
 
+    for CXXCPP in "$CXX -E" "/lib/cpp"
39395
 
+    do
39396
 
+      ac_preproc_ok=false
39397
 
+for ac_cxx_preproc_warn_flag in '' yes
39398
 
+do
39399
 
+  # Use a header file that comes with gcc, so configuring glibc
39400
 
+  # with a fresh cross-compiler works.
39401
 
+  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39402
 
+  # <limits.h> exists even on freestanding compilers.
39403
 
+  # On the NeXT, cc -E runs the code through the compiler's parser,
39404
 
+  # not just through cpp. "Syntax error" is here to catch this case.
39405
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39406
 
+/* end confdefs.h.  */
39407
 
+#ifdef __STDC__
39408
 
+# include <limits.h>
39409
 
+#else
39410
 
+# include <assert.h>
39411
 
+#endif
39412
 
+                    Syntax error
39413
 
+_ACEOF
39414
 
+if ac_fn_cxx_try_cpp "$LINENO"; then :
39415
 
 
39416
 
-  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
39417
 
-  ;;
39418
 
+else
39419
 
+  # Broken: fails on valid input.
39420
 
+continue
39421
 
+fi
39422
 
+rm -f conftest.err conftest.$ac_ext
39423
 
 
39424
 
-dgux*)
39425
 
-  version_type=linux
39426
 
-  need_lib_prefix=no
39427
 
-  need_version=no
39428
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
39429
 
-  soname_spec='${libname}${release}${shared_ext}$major'
39430
 
-  shlibpath_var=LD_LIBRARY_PATH
39431
 
-  ;;
39432
 
+  # OK, works on sane cases.  Now check whether nonexistent headers
39433
 
+  # can be detected and how.
39434
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39435
 
+/* end confdefs.h.  */
39436
 
+#include <ac_nonexistent.h>
39437
 
+_ACEOF
39438
 
+if ac_fn_cxx_try_cpp "$LINENO"; then :
39439
 
+  # Broken: success on invalid input.
39440
 
+continue
39441
 
+else
39442
 
+  # Passes both tests.
39443
 
+ac_preproc_ok=:
39444
 
+break
39445
 
+fi
39446
 
+rm -f conftest.err conftest.$ac_ext
39447
 
 
39448
 
-freebsd1*)
39449
 
-  dynamic_linker=no
39450
 
-  ;;
39451
 
+done
39452
 
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
39453
 
+rm -f conftest.err conftest.$ac_ext
39454
 
+if $ac_preproc_ok; then :
39455
 
+  break
39456
 
+fi
39457
 
 
39458
 
-freebsd* | dragonfly*)
39459
 
-  # DragonFly does not have aout.  When/if they implement a new
39460
 
-  # versioning mechanism, adjust this.
39461
 
-  if test -x /usr/bin/objformat; then
39462
 
-    objformat=`/usr/bin/objformat`
39463
 
-  else
39464
 
-    case $host_os in
39465
 
-    freebsd[123]*) objformat=aout ;;
39466
 
-    *) objformat=elf ;;
39467
 
-    esac
39468
 
-  fi
39469
 
-  version_type=freebsd-$objformat
39470
 
-  case $version_type in
39471
 
-    freebsd-elf*)
39472
 
-      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
39473
 
-      need_version=no
39474
 
-      need_lib_prefix=no
39475
 
-      ;;
39476
 
-    freebsd-*)
39477
 
-      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
39478
 
-      need_version=yes
39479
 
-      ;;
39480
 
-  esac
39481
 
-  shlibpath_var=LD_LIBRARY_PATH
39482
 
-  case $host_os in
39483
 
-  freebsd2*)
39484
 
-    shlibpath_overrides_runpath=yes
39485
 
-    ;;
39486
 
-  freebsd3.[01]* | freebsdelf3.[01]*)
39487
 
-    shlibpath_overrides_runpath=yes
39488
 
-    hardcode_into_libs=yes
39489
 
-    ;;
39490
 
-  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
39491
 
-  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
39492
 
-    shlibpath_overrides_runpath=no
39493
 
-    hardcode_into_libs=yes
39494
 
-    ;;
39495
 
-  *) # from 4.6 on, and DragonFly
39496
 
-    shlibpath_overrides_runpath=yes
39497
 
-    hardcode_into_libs=yes
39498
 
-    ;;
39499
 
-  esac
39500
 
-  ;;
39501
 
+    done
39502
 
+    ac_cv_prog_CXXCPP=$CXXCPP
39503
 
 
39504
 
-gnu*)
39505
 
-  version_type=linux
39506
 
-  need_lib_prefix=no
39507
 
-  need_version=no
39508
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
39509
 
-  soname_spec='${libname}${release}${shared_ext}$major'
39510
 
-  shlibpath_var=LD_LIBRARY_PATH
39511
 
-  hardcode_into_libs=yes
39512
 
-  ;;
39513
 
+fi
39514
 
+  CXXCPP=$ac_cv_prog_CXXCPP
39515
 
+else
39516
 
+  ac_cv_prog_CXXCPP=$CXXCPP
39517
 
+fi
39518
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
39519
 
+$as_echo "$CXXCPP" >&6; }
39520
 
+ac_preproc_ok=false
39521
 
+for ac_cxx_preproc_warn_flag in '' yes
39522
 
+do
39523
 
+  # Use a header file that comes with gcc, so configuring glibc
39524
 
+  # with a fresh cross-compiler works.
39525
 
+  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39526
 
+  # <limits.h> exists even on freestanding compilers.
39527
 
+  # On the NeXT, cc -E runs the code through the compiler's parser,
39528
 
+  # not just through cpp. "Syntax error" is here to catch this case.
39529
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39530
 
+/* end confdefs.h.  */
39531
 
+#ifdef __STDC__
39532
 
+# include <limits.h>
39533
 
+#else
39534
 
+# include <assert.h>
39535
 
+#endif
39536
 
+                    Syntax error
39537
 
+_ACEOF
39538
 
+if ac_fn_cxx_try_cpp "$LINENO"; then :
39539
 
 
39540
 
-hpux9* | hpux10* | hpux11*)
39541
 
-  # Give a soname corresponding to the major version so that dld.sl refuses to
39542
 
-  # link against other versions.
39543
 
-  version_type=sunos
39544
 
-  need_lib_prefix=no
39545
 
-  need_version=no
39546
 
-  case $host_cpu in
39547
 
-  ia64*)
39548
 
-    shrext_cmds='.so'
39549
 
-    hardcode_into_libs=yes
39550
 
-    dynamic_linker="$host_os dld.so"
39551
 
-    shlibpath_var=LD_LIBRARY_PATH
39552
 
-    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
39553
 
-    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
39554
 
-    soname_spec='${libname}${release}${shared_ext}$major'
39555
 
-    if test "X$HPUX_IA64_MODE" = X32; then
39556
 
-      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
39557
 
-    else
39558
 
-      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
39559
 
-    fi
39560
 
-    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
39561
 
-    ;;
39562
 
-   hppa*64*)
39563
 
-     shrext_cmds='.sl'
39564
 
-     hardcode_into_libs=yes
39565
 
-     dynamic_linker="$host_os dld.sl"
39566
 
-     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
39567
 
-     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
39568
 
-     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
39569
 
-     soname_spec='${libname}${release}${shared_ext}$major'
39570
 
-     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
39571
 
-     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
39572
 
-     ;;
39573
 
-   *)
39574
 
-    shrext_cmds='.sl'
39575
 
-    dynamic_linker="$host_os dld.sl"
39576
 
-    shlibpath_var=SHLIB_PATH
39577
 
-    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
39578
 
-    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
39579
 
-    soname_spec='${libname}${release}${shared_ext}$major'
39580
 
-    ;;
39581
 
-  esac
39582
 
-  # HP-UX runs *really* slowly unless shared libraries are mode 555.
39583
 
-  postinstall_cmds='chmod 555 $lib'
39584
 
-  ;;
39585
 
+else
39586
 
+  # Broken: fails on valid input.
39587
 
+continue
39588
 
+fi
39589
 
+rm -f conftest.err conftest.$ac_ext
39590
 
 
39591
 
-interix[3-9]*)
39592
 
-  version_type=linux
39593
 
-  need_lib_prefix=no
39594
 
-  need_version=no
39595
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
39596
 
-  soname_spec='${libname}${release}${shared_ext}$major'
39597
 
-  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
39598
 
-  shlibpath_var=LD_LIBRARY_PATH
39599
 
-  shlibpath_overrides_runpath=no
39600
 
-  hardcode_into_libs=yes
39601
 
-  ;;
39602
 
+  # OK, works on sane cases.  Now check whether nonexistent headers
39603
 
+  # can be detected and how.
39604
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39605
 
+/* end confdefs.h.  */
39606
 
+#include <ac_nonexistent.h>
39607
 
+_ACEOF
39608
 
+if ac_fn_cxx_try_cpp "$LINENO"; then :
39609
 
+  # Broken: success on invalid input.
39610
 
+continue
39611
 
+else
39612
 
+  # Passes both tests.
39613
 
+ac_preproc_ok=:
39614
 
+break
39615
 
+fi
39616
 
+rm -f conftest.err conftest.$ac_ext
39617
 
 
39618
 
-irix5* | irix6* | nonstopux*)
39619
 
-  case $host_os in
39620
 
-    nonstopux*) version_type=nonstopux ;;
39621
 
-    *)
39622
 
-       if test "$lt_cv_prog_gnu_ld" = yes; then
39623
 
-               version_type=linux
39624
 
-       else
39625
 
-               version_type=irix
39626
 
-       fi ;;
39627
 
-  esac
39628
 
-  need_lib_prefix=no
39629
 
-  need_version=no
39630
 
-  soname_spec='${libname}${release}${shared_ext}$major'
39631
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
39632
 
-  case $host_os in
39633
 
-  irix5* | nonstopux*)
39634
 
-    libsuff= shlibsuff=
39635
 
-    ;;
39636
 
-  *)
39637
 
-    case $LD in # libtool.m4 will add one of these switches to LD
39638
 
-    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
39639
 
-      libsuff= shlibsuff= libmagic=32-bit;;
39640
 
-    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
39641
 
-      libsuff=32 shlibsuff=N32 libmagic=N32;;
39642
 
-    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
39643
 
-      libsuff=64 shlibsuff=64 libmagic=64-bit;;
39644
 
-    *) libsuff= shlibsuff= libmagic=never-match;;
39645
 
-    esac
39646
 
-    ;;
39647
 
-  esac
39648
 
-  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
39649
 
-  shlibpath_overrides_runpath=no
39650
 
-  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
39651
 
-  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
39652
 
-  hardcode_into_libs=yes
39653
 
-  ;;
39654
 
+done
39655
 
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
39656
 
+rm -f conftest.err conftest.$ac_ext
39657
 
+if $ac_preproc_ok; then :
39658
 
 
39659
 
-# No shared lib support for Linux oldld, aout, or coff.
39660
 
-linux*oldld* | linux*aout* | linux*coff*)
39661
 
-  dynamic_linker=no
39662
 
-  ;;
39663
 
+else
39664
 
+  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
39665
 
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
39666
 
+_lt_caught_CXX_error=yes; }
39667
 
+fi
39668
 
 
39669
 
-# This must be Linux ELF.
39670
 
-linux* | k*bsd*-gnu)
39671
 
-  version_type=linux
39672
 
-  need_lib_prefix=no
39673
 
-  need_version=no
39674
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
39675
 
-  soname_spec='${libname}${release}${shared_ext}$major'
39676
 
-  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
39677
 
-  shlibpath_var=LD_LIBRARY_PATH
39678
 
-  shlibpath_overrides_runpath=no
39679
 
-  # This implies no fast_install, which is unacceptable.
39680
 
-  # Some rework will be needed to allow for fast_install
39681
 
-  # before this can be enabled.
39682
 
-  hardcode_into_libs=yes
39683
 
-  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
39684
 
-  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
39685
 
+ac_ext=c
39686
 
+ac_cpp='$CPP $CPPFLAGS'
39687
 
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39688
 
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39689
 
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
39690
 
 
39691
 
-  # Append ld.so.conf contents to the search path
39692
 
-  if test -f /etc/ld.so.conf; then
39693
 
-    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' ' '`
39694
 
-    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
39695
 
-  fi
39696
 
+else
39697
 
+  _lt_caught_CXX_error=yes
39698
 
+fi
39699
 
 
39700
 
-  # We used to test for /lib/ld.so.1 and disable shared libraries on
39701
 
-  # powerpc, because MkLinux only supported shared libraries with the
39702
 
-  # GNU dynamic linker.  Since this was broken with cross compilers,
39703
 
-  # most powerpc-linux boxes support dynamic linking these days and
39704
 
-  # people can always --disable-shared, the test was removed, and we
39705
 
-  # assume the GNU/Linux dynamic linker is in use.
39706
 
-  dynamic_linker='GNU/Linux ld.so'
39707
 
-  ;;
39708
 
 
39709
 
-netbsd*)
39710
 
-  version_type=sunos
39711
 
-  need_lib_prefix=no
39712
 
-  need_version=no
39713
 
-  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
39714
 
-    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
39715
 
-    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
39716
 
-    dynamic_linker='NetBSD (a.out) ld.so'
39717
 
-  else
39718
 
-    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
39719
 
-    soname_spec='${libname}${release}${shared_ext}$major'
39720
 
-    dynamic_linker='NetBSD ld.elf_so'
39721
 
-  fi
39722
 
-  shlibpath_var=LD_LIBRARY_PATH
39723
 
-  shlibpath_overrides_runpath=yes
39724
 
-  hardcode_into_libs=yes
39725
 
-  ;;
39726
 
 
39727
 
-newsos6)
39728
 
-  version_type=linux
39729
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
39730
 
-  shlibpath_var=LD_LIBRARY_PATH
39731
 
-  shlibpath_overrides_runpath=yes
39732
 
-  ;;
39733
 
 
39734
 
-nto-qnx*)
39735
 
-  version_type=linux
39736
 
-  need_lib_prefix=no
39737
 
-  need_version=no
39738
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
39739
 
-  soname_spec='${libname}${release}${shared_ext}$major'
39740
 
-  shlibpath_var=LD_LIBRARY_PATH
39741
 
-  shlibpath_overrides_runpath=yes
39742
 
-  ;;
39743
 
+ac_ext=cpp
39744
 
+ac_cpp='$CXXCPP $CPPFLAGS'
39745
 
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39746
 
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39747
 
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39748
 
 
39749
 
-openbsd*)
39750
 
-  version_type=sunos
39751
 
-  sys_lib_dlsearch_path_spec="/usr/lib"
39752
 
-  need_lib_prefix=no
39753
 
-  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
39754
 
-  case $host_os in
39755
 
-    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
39756
 
-    *)                         need_version=no  ;;
39757
 
-  esac
39758
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
39759
 
-  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
39760
 
-  shlibpath_var=LD_LIBRARY_PATH
39761
 
-  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
39762
 
-    case $host_os in
39763
 
-      openbsd2.[89] | openbsd2.[89].*)
39764
 
-       shlibpath_overrides_runpath=no
39765
 
-       ;;
39766
 
-      *)
39767
 
-       shlibpath_overrides_runpath=yes
39768
 
-       ;;
39769
 
-      esac
39770
 
-  else
39771
 
-    shlibpath_overrides_runpath=yes
39772
 
-  fi
39773
 
-  ;;
39774
 
+archive_cmds_need_lc_CXX=no
39775
 
+allow_undefined_flag_CXX=
39776
 
+always_export_symbols_CXX=no
39777
 
+archive_expsym_cmds_CXX=
39778
 
+compiler_needs_object_CXX=no
39779
 
+export_dynamic_flag_spec_CXX=
39780
 
+hardcode_direct_CXX=no
39781
 
+hardcode_direct_absolute_CXX=no
39782
 
+hardcode_libdir_flag_spec_CXX=
39783
 
+hardcode_libdir_flag_spec_ld_CXX=
39784
 
+hardcode_libdir_separator_CXX=
39785
 
+hardcode_minus_L_CXX=no
39786
 
+hardcode_shlibpath_var_CXX=unsupported
39787
 
+hardcode_automatic_CXX=no
39788
 
+inherit_rpath_CXX=no
39789
 
+module_cmds_CXX=
39790
 
+module_expsym_cmds_CXX=
39791
 
+link_all_deplibs_CXX=unknown
39792
 
+old_archive_cmds_CXX=$old_archive_cmds
39793
 
+no_undefined_flag_CXX=
39794
 
+whole_archive_flag_spec_CXX=
39795
 
+enable_shared_with_static_runtimes_CXX=no
39796
 
 
39797
 
-os2*)
39798
 
-  libname_spec='$name'
39799
 
-  shrext_cmds=".dll"
39800
 
-  need_lib_prefix=no
39801
 
-  library_names_spec='$libname${shared_ext} $libname.a'
39802
 
-  dynamic_linker='OS/2 ld.exe'
39803
 
-  shlibpath_var=LIBPATH
39804
 
-  ;;
39805
 
+# Source file extension for C++ test sources.
39806
 
+ac_ext=cpp
39807
 
 
39808
 
-osf3* | osf4* | osf5*)
39809
 
-  version_type=osf
39810
 
-  need_lib_prefix=no
39811
 
-  need_version=no
39812
 
-  soname_spec='${libname}${release}${shared_ext}$major'
39813
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
39814
 
-  shlibpath_var=LD_LIBRARY_PATH
39815
 
-  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
39816
 
-  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
39817
 
-  ;;
39818
 
+# Object file extension for compiled C++ test sources.
39819
 
+objext=o
39820
 
+objext_CXX=$objext
39821
 
 
39822
 
-rdos*)
39823
 
-  dynamic_linker=no
39824
 
-  ;;
39825
 
+# No sense in running all these tests if we already determined that
39826
 
+# the CXX compiler isn't working.  Some variables (like enable_shared)
39827
 
+# are currently assumed to apply to all compilers on this platform,
39828
 
+# and will be corrupted by setting them based on a non-working compiler.
39829
 
+if test "$_lt_caught_CXX_error" != yes; then
39830
 
+  # Code to be used in simple compile tests
39831
 
+  lt_simple_compile_test_code="int some_variable = 0;"
39832
 
 
39833
 
-solaris*)
39834
 
-  version_type=linux
39835
 
-  need_lib_prefix=no
39836
 
-  need_version=no
39837
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
39838
 
-  soname_spec='${libname}${release}${shared_ext}$major'
39839
 
-  shlibpath_var=LD_LIBRARY_PATH
39840
 
-  shlibpath_overrides_runpath=yes
39841
 
-  hardcode_into_libs=yes
39842
 
-  # ldd complains unless libraries are executable
39843
 
-  postinstall_cmds='chmod +x $lib'
39844
 
-  ;;
39845
 
+  # Code to be used in simple link tests
39846
 
+  lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
39847
 
 
39848
 
-sunos4*)
39849
 
-  version_type=sunos
39850
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
39851
 
-  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
39852
 
-  shlibpath_var=LD_LIBRARY_PATH
39853
 
-  shlibpath_overrides_runpath=yes
39854
 
-  if test "$with_gnu_ld" = yes; then
39855
 
-    need_lib_prefix=no
39856
 
-  fi
39857
 
-  need_version=yes
39858
 
-  ;;
39859
 
-
39860
 
-sysv4 | sysv4.3*)
39861
 
-  version_type=linux
39862
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
39863
 
-  soname_spec='${libname}${release}${shared_ext}$major'
39864
 
-  shlibpath_var=LD_LIBRARY_PATH
39865
 
-  case $host_vendor in
39866
 
-    sni)
39867
 
-      shlibpath_overrides_runpath=no
39868
 
-      need_lib_prefix=no
39869
 
-      export_dynamic_flag_spec='${wl}-Blargedynsym'
39870
 
-      runpath_var=LD_RUN_PATH
39871
 
-      ;;
39872
 
-    siemens)
39873
 
-      need_lib_prefix=no
39874
 
-      ;;
39875
 
-    motorola)
39876
 
-      need_lib_prefix=no
39877
 
-      need_version=no
39878
 
-      shlibpath_overrides_runpath=no
39879
 
-      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
39880
 
-      ;;
39881
 
-  esac
39882
 
-  ;;
39883
 
-
39884
 
-sysv4*MP*)
39885
 
-  if test -d /usr/nec ;then
39886
 
-    version_type=linux
39887
 
-    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
39888
 
-    soname_spec='$libname${shared_ext}.$major'
39889
 
-    shlibpath_var=LD_LIBRARY_PATH
39890
 
-  fi
39891
 
-  ;;
39892
 
+  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
39893
 
 
39894
 
-sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
39895
 
-  version_type=freebsd-elf
39896
 
-  need_lib_prefix=no
39897
 
-  need_version=no
39898
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
39899
 
-  soname_spec='${libname}${release}${shared_ext}$major'
39900
 
-  shlibpath_var=LD_LIBRARY_PATH
39901
 
-  hardcode_into_libs=yes
39902
 
-  if test "$with_gnu_ld" = yes; then
39903
 
-    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
39904
 
-    shlibpath_overrides_runpath=no
39905
 
-  else
39906
 
-    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
39907
 
-    shlibpath_overrides_runpath=yes
39908
 
-    case $host_os in
39909
 
-      sco3.2v5*)
39910
 
-        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
39911
 
-       ;;
39912
 
-    esac
39913
 
-  fi
39914
 
-  sys_lib_dlsearch_path_spec='/usr/lib'
39915
 
-  ;;
39916
 
 
39917
 
-uts4*)
39918
 
-  version_type=linux
39919
 
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
39920
 
-  soname_spec='${libname}${release}${shared_ext}$major'
39921
 
-  shlibpath_var=LD_LIBRARY_PATH
39922
 
-  ;;
39923
 
 
39924
 
-*)
39925
 
-  dynamic_linker=no
39926
 
-  ;;
39927
 
-esac
39928
 
-{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
39929
 
-$as_echo "$dynamic_linker" >&6; }
39930
 
-test "$dynamic_linker" = no && can_build_shared=no
39931
 
 
39932
 
-if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
39933
 
-  $as_echo_n "(cached) " >&6
39934
 
-else
39935
 
-  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
39936
 
-fi
39937
 
 
39938
 
-sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
39939
 
-if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
39940
 
-  $as_echo_n "(cached) " >&6
39941
 
-else
39942
 
-  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
39943
 
-fi
39944
 
 
39945
 
-sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
39946
 
+# If no C compiler was specified, use CC.
39947
 
+LTCC=${LTCC-"$CC"}
39948
 
 
39949
 
-variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
39950
 
-if test "$GCC" = yes; then
39951
 
-  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
39952
 
-fi
39953
 
+# If no C compiler flags were specified, use CFLAGS.
39954
 
+LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
39955
 
 
39956
 
-{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
39957
 
-$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
39958
 
-hardcode_action_F77=
39959
 
-if test -n "$hardcode_libdir_flag_spec_F77" || \
39960
 
-   test -n "$runpath_var_F77" || \
39961
 
-   test "X$hardcode_automatic_F77" = "Xyes" ; then
39962
 
+# Allow CC to be a program name with arguments.
39963
 
+compiler=$CC
39964
 
 
39965
 
-  # We can hardcode non-existant directories.
39966
 
-  if test "$hardcode_direct_F77" != no &&
39967
 
-     # If the only mechanism to avoid hardcoding is shlibpath_var, we
39968
 
-     # have to relink, otherwise we might link with an installed library
39969
 
-     # when we should be linking with a yet-to-be-installed one
39970
 
-     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
39971
 
-     test "$hardcode_minus_L_F77" != no; then
39972
 
-    # Linking always hardcodes the temporary library directory.
39973
 
-    hardcode_action_F77=relink
39974
 
-  else
39975
 
-    # We can link without hardcoding, and we can hardcode nonexisting dirs.
39976
 
-    hardcode_action_F77=immediate
39977
 
-  fi
39978
 
-else
39979
 
-  # We cannot hardcode anything, or else we can only hardcode existing
39980
 
-  # directories.
39981
 
-  hardcode_action_F77=unsupported
39982
 
-fi
39983
 
-{ $as_echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
39984
 
-$as_echo "$hardcode_action_F77" >&6; }
39985
 
 
39986
 
-if test "$hardcode_action_F77" = relink; then
39987
 
-  # Fast installation is not supported
39988
 
-  enable_fast_install=no
39989
 
-elif test "$shlibpath_overrides_runpath" = yes ||
39990
 
-     test "$enable_shared" = no; then
39991
 
-  # Fast installation is not necessary
39992
 
-  enable_fast_install=needless
39993
 
-fi
39994
 
+  # save warnings/boilerplate of simple test code
39995
 
+  ac_outfile=conftest.$ac_objext
39996
 
+echo "$lt_simple_compile_test_code" >conftest.$ac_ext
39997
 
+eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
39998
 
+_lt_compiler_boilerplate=`cat conftest.err`
39999
 
+$RM conftest*
40000
 
 
40001
 
+  ac_outfile=conftest.$ac_objext
40002
 
+echo "$lt_simple_link_test_code" >conftest.$ac_ext
40003
 
+eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
40004
 
+_lt_linker_boilerplate=`cat conftest.err`
40005
 
+$RM -r conftest*
40006
 
 
40007
 
-# The else clause should only fire when bootstrapping the
40008
 
-# libtool distribution, otherwise you forgot to ship ltmain.sh
40009
 
-# with your package, and you will get complaints that there are
40010
 
-# no rules to generate ltmain.sh.
40011
 
-if test -f "$ltmain"; then
40012
 
-  # See if we are running on zsh, and set the options which allow our commands through
40013
 
-  # without removal of \ escapes.
40014
 
-  if test -n "${ZSH_VERSION+set}" ; then
40015
 
-    setopt NO_GLOB_SUBST
40016
 
-  fi
40017
 
-  # Now quote all the things that may contain metacharacters while being
40018
 
-  # careful not to overquote the AC_SUBSTed values.  We take copies of the
40019
 
-  # variables and quote the copies for generation of the libtool script.
40020
 
-  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
40021
 
-    SED SHELL STRIP \
40022
 
-    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
40023
 
-    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
40024
 
-    deplibs_check_method reload_flag reload_cmds need_locks \
40025
 
-    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
40026
 
-    lt_cv_sys_global_symbol_to_c_name_address \
40027
 
-    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
40028
 
-    old_postinstall_cmds old_postuninstall_cmds \
40029
 
-    compiler_F77 \
40030
 
-    CC_F77 \
40031
 
-    LD_F77 \
40032
 
-    lt_prog_compiler_wl_F77 \
40033
 
-    lt_prog_compiler_pic_F77 \
40034
 
-    lt_prog_compiler_static_F77 \
40035
 
-    lt_prog_compiler_no_builtin_flag_F77 \
40036
 
-    export_dynamic_flag_spec_F77 \
40037
 
-    thread_safe_flag_spec_F77 \
40038
 
-    whole_archive_flag_spec_F77 \
40039
 
-    enable_shared_with_static_runtimes_F77 \
40040
 
-    old_archive_cmds_F77 \
40041
 
-    old_archive_from_new_cmds_F77 \
40042
 
-    predep_objects_F77 \
40043
 
-    postdep_objects_F77 \
40044
 
-    predeps_F77 \
40045
 
-    postdeps_F77 \
40046
 
-    compiler_lib_search_path_F77 \
40047
 
-    compiler_lib_search_dirs_F77 \
40048
 
-    archive_cmds_F77 \
40049
 
-    archive_expsym_cmds_F77 \
40050
 
-    postinstall_cmds_F77 \
40051
 
-    postuninstall_cmds_F77 \
40052
 
-    old_archive_from_expsyms_cmds_F77 \
40053
 
-    allow_undefined_flag_F77 \
40054
 
-    no_undefined_flag_F77 \
40055
 
-    export_symbols_cmds_F77 \
40056
 
-    hardcode_libdir_flag_spec_F77 \
40057
 
-    hardcode_libdir_flag_spec_ld_F77 \
40058
 
-    hardcode_libdir_separator_F77 \
40059
 
-    hardcode_automatic_F77 \
40060
 
-    module_cmds_F77 \
40061
 
-    module_expsym_cmds_F77 \
40062
 
-    lt_cv_prog_compiler_c_o_F77 \
40063
 
-    fix_srcfile_path_F77 \
40064
 
-    exclude_expsyms_F77 \
40065
 
-    include_expsyms_F77; do
40066
 
-
40067
 
-    case $var in
40068
 
-    old_archive_cmds_F77 | \
40069
 
-    old_archive_from_new_cmds_F77 | \
40070
 
-    archive_cmds_F77 | \
40071
 
-    archive_expsym_cmds_F77 | \
40072
 
-    module_cmds_F77 | \
40073
 
-    module_expsym_cmds_F77 | \
40074
 
-    old_archive_from_expsyms_cmds_F77 | \
40075
 
-    export_symbols_cmds_F77 | \
40076
 
-    extract_expsyms_cmds | reload_cmds | finish_cmds | \
40077
 
-    postinstall_cmds | postuninstall_cmds | \
40078
 
-    old_postinstall_cmds | old_postuninstall_cmds | \
40079
 
-    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
40080
 
-      # Double-quote double-evaled strings.
40081
 
-      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
40082
 
-      ;;
40083
 
-    *)
40084
 
-      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
40085
 
-      ;;
40086
 
-    esac
40087
 
-  done
40088
 
 
40089
 
-  case $lt_echo in
40090
 
-  *'\$0 --fallback-echo"')
40091
 
-    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
40092
 
-    ;;
40093
 
+  # Allow CC to be a program name with arguments.
40094
 
+  lt_save_CC=$CC
40095
 
+  lt_save_LD=$LD
40096
 
+  lt_save_GCC=$GCC
40097
 
+  GCC=$GXX
40098
 
+  lt_save_with_gnu_ld=$with_gnu_ld
40099
 
+  lt_save_path_LD=$lt_cv_path_LD
40100
 
+  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
40101
 
+    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
40102
 
+  else
40103
 
+    $as_unset lt_cv_prog_gnu_ld
40104
 
+  fi
40105
 
+  if test -n "${lt_cv_path_LDCXX+set}"; then
40106
 
+    lt_cv_path_LD=$lt_cv_path_LDCXX
40107
 
+  else
40108
 
+    $as_unset lt_cv_path_LD
40109
 
+  fi
40110
 
+  test -z "${LDCXX+set}" || LD=$LDCXX
40111
 
+  CC=${CXX-"c++"}
40112
 
+  compiler=$CC
40113
 
+  compiler_CXX=$CC
40114
 
+  for cc_temp in $compiler""; do
40115
 
+  case $cc_temp in
40116
 
+    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
40117
 
+    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
40118
 
+    \-*) ;;
40119
 
+    *) break;;
40120
 
   esac
40121
 
+done
40122
 
+cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
40123
 
 
40124
 
-cfgfile="$ofile"
40125
 
-
40126
 
-  cat <<__EOF__ >> "$cfgfile"
40127
 
-# ### BEGIN LIBTOOL TAG CONFIG: $tagname
40128
 
-
40129
 
-# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
40130
 
 
40131
 
-# Shell to use when invoking shell scripts.
40132
 
-SHELL=$lt_SHELL
40133
 
+  if test -n "$compiler"; then
40134
 
+    # We don't want -fno-exception when compiling C++ code, so set the
40135
 
+    # no_builtin_flag separately
40136
 
+    if test "$GXX" = yes; then
40137
 
+      lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
40138
 
+    else
40139
 
+      lt_prog_compiler_no_builtin_flag_CXX=
40140
 
+    fi
40141
 
 
40142
 
-# Whether or not to build shared libraries.
40143
 
-build_libtool_libs=$enable_shared
40144
 
+    if test "$GXX" = yes; then
40145
 
+      # Set up default GNU C++ configuration
40146
 
 
40147
 
-# Whether or not to build static libraries.
40148
 
-build_old_libs=$enable_static
40149
 
 
40150
 
-# Whether or not to add -lc for building shared libraries.
40151
 
-build_libtool_need_lc=$archive_cmds_need_lc_F77
40152
 
 
40153
 
-# Whether or not to disallow shared libs when runtime libs are static
40154
 
-allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
40155
 
+# Check whether --with-gnu-ld was given.
40156
 
+if test "${with_gnu_ld+set}" = set; then :
40157
 
+  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
40158
 
+else
40159
 
+  with_gnu_ld=no
40160
 
+fi
40161
 
 
40162
 
-# Whether or not to optimize for fast installation.
40163
 
-fast_install=$enable_fast_install
40164
 
+ac_prog=ld
40165
 
+if test "$GCC" = yes; then
40166
 
+  # Check if gcc -print-prog-name=ld gives a path.
40167
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
40168
 
+$as_echo_n "checking for ld used by $CC... " >&6; }
40169
 
+  case $host in
40170
 
+  *-*-mingw*)
40171
 
+    # gcc leaves a trailing carriage return which upsets mingw
40172
 
+    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
40173
 
+  *)
40174
 
+    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
40175
 
+  esac
40176
 
+  case $ac_prog in
40177
 
+    # Accept absolute paths.
40178
 
+    [\\/]* | ?:[\\/]*)
40179
 
+      re_direlt='/[^/][^/]*/\.\./'
40180
 
+      # Canonicalize the pathname of ld
40181
 
+      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
40182
 
+      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
40183
 
+       ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
40184
 
+      done
40185
 
+      test -z "$LD" && LD="$ac_prog"
40186
 
+      ;;
40187
 
+  "")
40188
 
+    # If it fails, then pretend we aren't using GCC.
40189
 
+    ac_prog=ld
40190
 
+    ;;
40191
 
+  *)
40192
 
+    # If it is relative, then search for the first ld in PATH.
40193
 
+    with_gnu_ld=unknown
40194
 
+    ;;
40195
 
+  esac
40196
 
+elif test "$with_gnu_ld" = yes; then
40197
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
40198
 
+$as_echo_n "checking for GNU ld... " >&6; }
40199
 
+else
40200
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
40201
 
+$as_echo_n "checking for non-GNU ld... " >&6; }
40202
 
+fi
40203
 
+if test "${lt_cv_path_LD+set}" = set; then :
40204
 
+  $as_echo_n "(cached) " >&6
40205
 
+else
40206
 
+  if test -z "$LD"; then
40207
 
+  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
40208
 
+  for ac_dir in $PATH; do
40209
 
+    IFS="$lt_save_ifs"
40210
 
+    test -z "$ac_dir" && ac_dir=.
40211
 
+    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
40212
 
+      lt_cv_path_LD="$ac_dir/$ac_prog"
40213
 
+      # Check to see if the program is GNU ld.  I'd rather use --version,
40214
 
+      # but apparently some variants of GNU ld only accept -v.
40215
 
+      # Break only if it was the GNU/non-GNU ld that we prefer.
40216
 
+      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
40217
 
+      *GNU* | *'with BFD'*)
40218
 
+       test "$with_gnu_ld" != no && break
40219
 
+       ;;
40220
 
+      *)
40221
 
+       test "$with_gnu_ld" != yes && break
40222
 
+       ;;
40223
 
+      esac
40224
 
+    fi
40225
 
+  done
40226
 
+  IFS="$lt_save_ifs"
40227
 
+else
40228
 
+  lt_cv_path_LD="$LD" # Let the user override the test with a path.
40229
 
+fi
40230
 
+fi
40231
 
 
40232
 
-# The host system.
40233
 
-host_alias=$host_alias
40234
 
-host=$host
40235
 
-host_os=$host_os
40236
 
+LD="$lt_cv_path_LD"
40237
 
+if test -n "$LD"; then
40238
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
40239
 
+$as_echo "$LD" >&6; }
40240
 
+else
40241
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40242
 
+$as_echo "no" >&6; }
40243
 
+fi
40244
 
+test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
40245
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
40246
 
+$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
40247
 
+if test "${lt_cv_prog_gnu_ld+set}" = set; then :
40248
 
+  $as_echo_n "(cached) " >&6
40249
 
+else
40250
 
+  # I'd rather use --version here, but apparently some GNU lds only accept -v.
40251
 
+case `$LD -v 2>&1 </dev/null` in
40252
 
+*GNU* | *'with BFD'*)
40253
 
+  lt_cv_prog_gnu_ld=yes
40254
 
+  ;;
40255
 
+*)
40256
 
+  lt_cv_prog_gnu_ld=no
40257
 
+  ;;
40258
 
+esac
40259
 
+fi
40260
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
40261
 
+$as_echo "$lt_cv_prog_gnu_ld" >&6; }
40262
 
+with_gnu_ld=$lt_cv_prog_gnu_ld
40263
 
 
40264
 
-# The build system.
40265
 
-build_alias=$build_alias
40266
 
-build=$build
40267
 
-build_os=$build_os
40268
 
 
40269
 
-# An echo program that does not interpret backslashes.
40270
 
-echo=$lt_echo
40271
 
 
40272
 
-# The archiver.
40273
 
-AR=$lt_AR
40274
 
-AR_FLAGS=$lt_AR_FLAGS
40275
 
 
40276
 
-# A C compiler.
40277
 
-LTCC=$lt_LTCC
40278
 
 
40279
 
-# LTCC compiler flags.
40280
 
-LTCFLAGS=$lt_LTCFLAGS
40281
 
 
40282
 
-# A language-specific compiler.
40283
 
-CC=$lt_compiler_F77
40284
 
 
40285
 
-# Is the compiler the GNU C compiler?
40286
 
-with_gcc=$GCC_F77
40287
 
+      # Check if GNU C++ uses GNU ld as the underlying linker, since the
40288
 
+      # archiving commands below assume that GNU ld is being used.
40289
 
+      if test "$with_gnu_ld" = yes; then
40290
 
+        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
40291
 
+        archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
40292
 
+
40293
 
+        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
40294
 
+        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
40295
 
+
40296
 
+        # If archive_cmds runs LD, not CC, wlarc should be empty
40297
 
+        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
40298
 
+        #     investigate it a little bit more. (MM)
40299
 
+        wlarc='${wl}'
40300
 
+
40301
 
+        # ancient GNU ld didn't support --whole-archive et. al.
40302
 
+        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
40303
 
+         $GREP 'no-whole-archive' > /dev/null; then
40304
 
+          whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
40305
 
+        else
40306
 
+          whole_archive_flag_spec_CXX=
40307
 
+        fi
40308
 
+      else
40309
 
+        with_gnu_ld=no
40310
 
+        wlarc=
40311
 
 
40312
 
-# An ERE matcher.
40313
 
-EGREP=$lt_EGREP
40314
 
+        # A generic and very simple default shared library creation
40315
 
+        # command for GNU C++ for the case where it uses the native
40316
 
+        # linker, instead of GNU ld.  If possible, this setting should
40317
 
+        # overridden to take advantage of the native linker features on
40318
 
+        # the platform it is being used on.
40319
 
+        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
40320
 
+      fi
40321
 
 
40322
 
-# The linker used to build libraries.
40323
 
-LD=$lt_LD_F77
40324
 
+      # Commands to make compiler produce verbose output that lists
40325
 
+      # what "hidden" libraries, object files and flags are used when
40326
 
+      # linking a shared library.
40327
 
+      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
40328
 
 
40329
 
-# Whether we need hard or soft links.
40330
 
-LN_S=$lt_LN_S
40331
 
+    else
40332
 
+      GXX=no
40333
 
+      with_gnu_ld=no
40334
 
+      wlarc=
40335
 
+    fi
40336
 
 
40337
 
-# A BSD-compatible nm program.
40338
 
-NM=$lt_NM
40339
 
-
40340
 
-# A symbol stripping program
40341
 
-STRIP=$lt_STRIP
40342
 
-
40343
 
-# Used to examine libraries when file_magic_cmd begins "file"
40344
 
-MAGIC_CMD=$MAGIC_CMD
40345
 
+    # PORTME: fill in a description of your system's C++ link characteristics
40346
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
40347
 
+$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
40348
 
+    ld_shlibs_CXX=yes
40349
 
+    case $host_os in
40350
 
+      aix3*)
40351
 
+        # FIXME: insert proper C++ library support
40352
 
+        ld_shlibs_CXX=no
40353
 
+        ;;
40354
 
+      aix[4-9]*)
40355
 
+        if test "$host_cpu" = ia64; then
40356
 
+          # On IA64, the linker does run time linking by default, so we don't
40357
 
+          # have to do anything special.
40358
 
+          aix_use_runtimelinking=no
40359
 
+          exp_sym_flag='-Bexport'
40360
 
+          no_entry_flag=""
40361
 
+        else
40362
 
+          aix_use_runtimelinking=no
40363
 
 
40364
 
-# Used on cygwin: DLL creation program.
40365
 
-DLLTOOL="$DLLTOOL"
40366
 
+          # Test if we are trying to use run time linking or normal
40367
 
+          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
40368
 
+          # need to do runtime linking.
40369
 
+          case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
40370
 
+           for ld_flag in $LDFLAGS; do
40371
 
+             case $ld_flag in
40372
 
+             *-brtl*)
40373
 
+               aix_use_runtimelinking=yes
40374
 
+               break
40375
 
+               ;;
40376
 
+             esac
40377
 
+           done
40378
 
+           ;;
40379
 
+          esac
40380
 
 
40381
 
-# Used on cygwin: object dumper.
40382
 
-OBJDUMP="$OBJDUMP"
40383
 
+          exp_sym_flag='-bexport'
40384
 
+          no_entry_flag='-bnoentry'
40385
 
+        fi
40386
 
 
40387
 
-# Used on cygwin: assembler.
40388
 
-AS="$AS"
40389
 
+        # When large executables or shared objects are built, AIX ld can
40390
 
+        # have problems creating the table of contents.  If linking a library
40391
 
+        # or program results in "error TOC overflow" add -mminimal-toc to
40392
 
+        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
40393
 
+        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
40394
 
+
40395
 
+        archive_cmds_CXX=''
40396
 
+        hardcode_direct_CXX=yes
40397
 
+        hardcode_direct_absolute_CXX=yes
40398
 
+        hardcode_libdir_separator_CXX=':'
40399
 
+        link_all_deplibs_CXX=yes
40400
 
+        file_list_spec_CXX='${wl}-f,'
40401
 
+
40402
 
+        if test "$GXX" = yes; then
40403
 
+          case $host_os in aix4.[012]|aix4.[012].*)
40404
 
+          # We only want to do this on AIX 4.2 and lower, the check
40405
 
+          # below for broken collect2 doesn't work under 4.3+
40406
 
+         collect2name=`${CC} -print-prog-name=collect2`
40407
 
+         if test -f "$collect2name" &&
40408
 
+            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
40409
 
+         then
40410
 
+           # We have reworked collect2
40411
 
+           :
40412
 
+         else
40413
 
+           # We have old collect2
40414
 
+           hardcode_direct_CXX=unsupported
40415
 
+           # It fails to find uninstalled libraries when the uninstalled
40416
 
+           # path is not listed in the libpath.  Setting hardcode_minus_L
40417
 
+           # to unsupported forces relinking
40418
 
+           hardcode_minus_L_CXX=yes
40419
 
+           hardcode_libdir_flag_spec_CXX='-L$libdir'
40420
 
+           hardcode_libdir_separator_CXX=
40421
 
+         fi
40422
 
+          esac
40423
 
+          shared_flag='-shared'
40424
 
+         if test "$aix_use_runtimelinking" = yes; then
40425
 
+           shared_flag="$shared_flag "'${wl}-G'
40426
 
+         fi
40427
 
+        else
40428
 
+          # not using gcc
40429
 
+          if test "$host_cpu" = ia64; then
40430
 
+         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
40431
 
+         # chokes on -Wl,-G. The following line is correct:
40432
 
+         shared_flag='-G'
40433
 
+          else
40434
 
+           if test "$aix_use_runtimelinking" = yes; then
40435
 
+             shared_flag='${wl}-G'
40436
 
+           else
40437
 
+             shared_flag='${wl}-bM:SRE'
40438
 
+           fi
40439
 
+          fi
40440
 
+        fi
40441
 
 
40442
 
-# The name of the directory that contains temporary libtool files.
40443
 
-objdir=$objdir
40444
 
+        export_dynamic_flag_spec_CXX='${wl}-bexpall'
40445
 
+        # It seems that -bexpall does not export symbols beginning with
40446
 
+        # underscore (_), so it is better to generate a list of symbols to
40447
 
+       # export.
40448
 
+        always_export_symbols_CXX=yes
40449
 
+        if test "$aix_use_runtimelinking" = yes; then
40450
 
+          # Warning - without using the other runtime loading flags (-brtl),
40451
 
+          # -berok will link without error, but may produce a broken library.
40452
 
+          allow_undefined_flag_CXX='-berok'
40453
 
+          # Determine the default libpath from the value encoded in an empty
40454
 
+          # executable.
40455
 
+          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40456
 
+/* end confdefs.h.  */
40457
 
 
40458
 
-# How to create reloadable object files.
40459
 
-reload_flag=$lt_reload_flag
40460
 
-reload_cmds=$lt_reload_cmds
40461
 
+int
40462
 
+main ()
40463
 
+{
40464
 
 
40465
 
-# How to pass a linker flag through the compiler.
40466
 
-wl=$lt_lt_prog_compiler_wl_F77
40467
 
+  ;
40468
 
+  return 0;
40469
 
+}
40470
 
+_ACEOF
40471
 
+if ac_fn_cxx_try_link "$LINENO"; then :
40472
 
 
40473
 
-# Object file suffix (normally "o").
40474
 
-objext="$ac_objext"
40475
 
+lt_aix_libpath_sed='
40476
 
+    /Import File Strings/,/^$/ {
40477
 
+       /^0/ {
40478
 
+           s/^0  *\(.*\)$/\1/
40479
 
+           p
40480
 
+       }
40481
 
+    }'
40482
 
+aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
40483
 
+# Check for a 64-bit object if we didn't find anything.
40484
 
+if test -z "$aix_libpath"; then
40485
 
+  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
40486
 
+fi
40487
 
+fi
40488
 
+rm -f core conftest.err conftest.$ac_objext \
40489
 
+    conftest$ac_exeext conftest.$ac_ext
40490
 
+if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
40491
 
 
40492
 
-# Old archive suffix (normally "a").
40493
 
-libext="$libext"
40494
 
+          hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
40495
 
 
40496
 
-# Shared library suffix (normally ".so").
40497
 
-shrext_cmds='$shrext_cmds'
40498
 
+          archive_expsym_cmds_CXX='$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"
40499
 
+        else
40500
 
+          if test "$host_cpu" = ia64; then
40501
 
+           hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
40502
 
+           allow_undefined_flag_CXX="-z nodefs"
40503
 
+           archive_expsym_cmds_CXX="\$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"
40504
 
+          else
40505
 
+           # Determine the default libpath from the value encoded in an
40506
 
+           # empty executable.
40507
 
+           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40508
 
+/* end confdefs.h.  */
40509
 
 
40510
 
-# Executable file suffix (normally "").
40511
 
-exeext="$exeext"
40512
 
+int
40513
 
+main ()
40514
 
+{
40515
 
 
40516
 
-# Additional compiler flags for building library objects.
40517
 
-pic_flag=$lt_lt_prog_compiler_pic_F77
40518
 
-pic_mode=$pic_mode
40519
 
+  ;
40520
 
+  return 0;
40521
 
+}
40522
 
+_ACEOF
40523
 
+if ac_fn_cxx_try_link "$LINENO"; then :
40524
 
 
40525
 
-# What is the maximum length of a command?
40526
 
-max_cmd_len=$lt_cv_sys_max_cmd_len
40527
 
+lt_aix_libpath_sed='
40528
 
+    /Import File Strings/,/^$/ {
40529
 
+       /^0/ {
40530
 
+           s/^0  *\(.*\)$/\1/
40531
 
+           p
40532
 
+       }
40533
 
+    }'
40534
 
+aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
40535
 
+# Check for a 64-bit object if we didn't find anything.
40536
 
+if test -z "$aix_libpath"; then
40537
 
+  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
40538
 
+fi
40539
 
+fi
40540
 
+rm -f core conftest.err conftest.$ac_objext \
40541
 
+    conftest$ac_exeext conftest.$ac_ext
40542
 
+if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
40543
 
 
40544
 
-# Does compiler simultaneously support -c and -o options?
40545
 
-compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
40546
 
+           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
40547
 
+           # Warning - without using the other run time loading flags,
40548
 
+           # -berok will link without error, but may produce a broken library.
40549
 
+           no_undefined_flag_CXX=' ${wl}-bernotok'
40550
 
+           allow_undefined_flag_CXX=' ${wl}-berok'
40551
 
+           # Exported symbols can be pulled into shared objects from archives
40552
 
+           whole_archive_flag_spec_CXX='$convenience'
40553
 
+           archive_cmds_need_lc_CXX=yes
40554
 
+           # This is similar to how AIX traditionally builds its shared
40555
 
+           # libraries.
40556
 
+           archive_expsym_cmds_CXX="\$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'
40557
 
+          fi
40558
 
+        fi
40559
 
+        ;;
40560
 
 
40561
 
-# Must we lock files when doing compilation?
40562
 
-need_locks=$lt_need_locks
40563
 
+      beos*)
40564
 
+       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
40565
 
+         allow_undefined_flag_CXX=unsupported
40566
 
+         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
40567
 
+         # support --undefined.  This deserves some investigation.  FIXME
40568
 
+         archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
40569
 
+       else
40570
 
+         ld_shlibs_CXX=no
40571
 
+       fi
40572
 
+       ;;
40573
 
 
40574
 
-# Do we need the lib prefix for modules?
40575
 
-need_lib_prefix=$need_lib_prefix
40576
 
+      chorus*)
40577
 
+        case $cc_basename in
40578
 
+          *)
40579
 
+         # FIXME: insert proper C++ library support
40580
 
+         ld_shlibs_CXX=no
40581
 
+         ;;
40582
 
+        esac
40583
 
+        ;;
40584
 
 
40585
 
-# Do we need a version for libraries?
40586
 
-need_version=$need_version
40587
 
+      cygwin* | mingw* | pw32* | cegcc*)
40588
 
+        # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
40589
 
+        # as there is no search path for DLLs.
40590
 
+        hardcode_libdir_flag_spec_CXX='-L$libdir'
40591
 
+        allow_undefined_flag_CXX=unsupported
40592
 
+        always_export_symbols_CXX=no
40593
 
+        enable_shared_with_static_runtimes_CXX=yes
40594
 
+
40595
 
+        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
40596
 
+          archive_cmds_CXX='$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'
40597
 
+          # If the export-symbols file already is a .def file (1st line
40598
 
+          # is EXPORTS), use it as is; otherwise, prepend...
40599
 
+          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
40600
 
+           cp $export_symbols $output_objdir/$soname.def;
40601
 
+          else
40602
 
+           echo EXPORTS > $output_objdir/$soname.def;
40603
 
+           cat $export_symbols >> $output_objdir/$soname.def;
40604
 
+          fi~
40605
 
+          $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'
40606
 
+        else
40607
 
+          ld_shlibs_CXX=no
40608
 
+        fi
40609
 
+        ;;
40610
 
+      darwin* | rhapsody*)
40611
 
 
40612
 
-# Whether dlopen is supported.
40613
 
-dlopen_support=$enable_dlopen
40614
 
 
40615
 
-# Whether dlopen of programs is supported.
40616
 
-dlopen_self=$enable_dlopen_self
40617
 
+  archive_cmds_need_lc_CXX=no
40618
 
+  hardcode_direct_CXX=no
40619
 
+  hardcode_automatic_CXX=yes
40620
 
+  hardcode_shlibpath_var_CXX=unsupported
40621
 
+  whole_archive_flag_spec_CXX=''
40622
 
+  link_all_deplibs_CXX=yes
40623
 
+  allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
40624
 
+  case $cc_basename in
40625
 
+     ifort*) _lt_dar_can_shared=yes ;;
40626
 
+     *) _lt_dar_can_shared=$GCC ;;
40627
 
+  esac
40628
 
+  if test "$_lt_dar_can_shared" = "yes"; then
40629
 
+    output_verbose_link_cmd=echo
40630
 
+    archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
40631
 
+    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
40632
 
+    archive_expsym_cmds_CXX="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}"
40633
 
+    module_expsym_cmds_CXX="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}"
40634
 
+       if test "$lt_cv_apple_cc_single_mod" != "yes"; then
40635
 
+      archive_cmds_CXX="\$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}"
40636
 
+      archive_expsym_cmds_CXX="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}"
40637
 
+    fi
40638
 
 
40639
 
-# Whether dlopen of statically linked programs is supported.
40640
 
-dlopen_self_static=$enable_dlopen_self_static
40641
 
+  else
40642
 
+  ld_shlibs_CXX=no
40643
 
+  fi
40644
 
 
40645
 
-# Compiler flag to prevent dynamic linking.
40646
 
-link_static_flag=$lt_lt_prog_compiler_static_F77
40647
 
+       ;;
40648
 
 
40649
 
-# Compiler flag to turn off builtin functions.
40650
 
-no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
40651
 
+      dgux*)
40652
 
+        case $cc_basename in
40653
 
+          ec++*)
40654
 
+           # FIXME: insert proper C++ library support
40655
 
+           ld_shlibs_CXX=no
40656
 
+           ;;
40657
 
+          ghcx*)
40658
 
+           # Green Hills C++ Compiler
40659
 
+           # FIXME: insert proper C++ library support
40660
 
+           ld_shlibs_CXX=no
40661
 
+           ;;
40662
 
+          *)
40663
 
+           # FIXME: insert proper C++ library support
40664
 
+           ld_shlibs_CXX=no
40665
 
+           ;;
40666
 
+        esac
40667
 
+        ;;
40668
 
 
40669
 
-# Compiler flag to allow reflexive dlopens.
40670
 
-export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
40671
 
+      freebsd[12]*)
40672
 
+        # C++ shared libraries reported to be fairly broken before
40673
 
+       # switch to ELF
40674
 
+        ld_shlibs_CXX=no
40675
 
+        ;;
40676
 
 
40677
 
-# Compiler flag to generate shared objects directly from archives.
40678
 
-whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
40679
 
+      freebsd-elf*)
40680
 
+        archive_cmds_need_lc_CXX=no
40681
 
+        ;;
40682
 
 
40683
 
-# Compiler flag to generate thread-safe objects.
40684
 
-thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
40685
 
+      freebsd* | dragonfly*)
40686
 
+        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
40687
 
+        # conventions
40688
 
+        ld_shlibs_CXX=yes
40689
 
+        ;;
40690
 
 
40691
 
-# Library versioning type.
40692
 
-version_type=$version_type
40693
 
+      gnu*)
40694
 
+        ;;
40695
 
 
40696
 
-# Format of library name prefix.
40697
 
-libname_spec=$lt_libname_spec
40698
 
+      hpux9*)
40699
 
+        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
40700
 
+        hardcode_libdir_separator_CXX=:
40701
 
+        export_dynamic_flag_spec_CXX='${wl}-E'
40702
 
+        hardcode_direct_CXX=yes
40703
 
+        hardcode_minus_L_CXX=yes # Not in the search PATH,
40704
 
+                                            # but as the default
40705
 
+                                            # location of the library.
40706
 
+
40707
 
+        case $cc_basename in
40708
 
+          CC*)
40709
 
+            # FIXME: insert proper C++ library support
40710
 
+            ld_shlibs_CXX=no
40711
 
+            ;;
40712
 
+          aCC*)
40713
 
+            archive_cmds_CXX='$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'
40714
 
+            # Commands to make compiler produce verbose output that lists
40715
 
+            # what "hidden" libraries, object files and flags are used when
40716
 
+            # linking a shared library.
40717
 
+            #
40718
 
+            # There doesn't appear to be a way to prevent this compiler from
40719
 
+            # explicitly linking system object files so we need to strip them
40720
 
+            # from the output so that they don't get included in the library
40721
 
+            # dependencies.
40722
 
+            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'
40723
 
+            ;;
40724
 
+          *)
40725
 
+            if test "$GXX" = yes; then
40726
 
+              archive_cmds_CXX='$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'
40727
 
+            else
40728
 
+              # FIXME: insert proper C++ library support
40729
 
+              ld_shlibs_CXX=no
40730
 
+            fi
40731
 
+            ;;
40732
 
+        esac
40733
 
+        ;;
40734
 
 
40735
 
-# List of archive names.  First name is the real one, the rest are links.
40736
 
-# The last name is the one that the linker finds with -lNAME.
40737
 
-library_names_spec=$lt_library_names_spec
40738
 
+      hpux10*|hpux11*)
40739
 
+        if test $with_gnu_ld = no; then
40740
 
+         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
40741
 
+         hardcode_libdir_separator_CXX=:
40742
 
 
40743
 
-# The coded name of the library, if different from the real name.
40744
 
-soname_spec=$lt_soname_spec
40745
 
+          case $host_cpu in
40746
 
+            hppa*64*|ia64*)
40747
 
+              ;;
40748
 
+            *)
40749
 
+             export_dynamic_flag_spec_CXX='${wl}-E'
40750
 
+              ;;
40751
 
+          esac
40752
 
+        fi
40753
 
+        case $host_cpu in
40754
 
+          hppa*64*|ia64*)
40755
 
+            hardcode_direct_CXX=no
40756
 
+            hardcode_shlibpath_var_CXX=no
40757
 
+            ;;
40758
 
+          *)
40759
 
+            hardcode_direct_CXX=yes
40760
 
+            hardcode_direct_absolute_CXX=yes
40761
 
+            hardcode_minus_L_CXX=yes # Not in the search PATH,
40762
 
+                                                # but as the default
40763
 
+                                                # location of the library.
40764
 
+            ;;
40765
 
+        esac
40766
 
+
40767
 
+        case $cc_basename in
40768
 
+          CC*)
40769
 
+           # FIXME: insert proper C++ library support
40770
 
+           ld_shlibs_CXX=no
40771
 
+           ;;
40772
 
+          aCC*)
40773
 
+           case $host_cpu in
40774
 
+             hppa*64*)
40775
 
+               archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
40776
 
+               ;;
40777
 
+             ia64*)
40778
 
+               archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
40779
 
+               ;;
40780
 
+             *)
40781
 
+               archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
40782
 
+               ;;
40783
 
+           esac
40784
 
+           # Commands to make compiler produce verbose output that lists
40785
 
+           # what "hidden" libraries, object files and flags are used when
40786
 
+           # linking a shared library.
40787
 
+           #
40788
 
+           # There doesn't appear to be a way to prevent this compiler from
40789
 
+           # explicitly linking system object files so we need to strip them
40790
 
+           # from the output so that they don't get included in the library
40791
 
+           # dependencies.
40792
 
+           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'
40793
 
+           ;;
40794
 
+          *)
40795
 
+           if test "$GXX" = yes; then
40796
 
+             if test $with_gnu_ld = no; then
40797
 
+               case $host_cpu in
40798
 
+                 hppa*64*)
40799
 
+                   archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
40800
 
+                   ;;
40801
 
+                 ia64*)
40802
 
+                   archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
40803
 
+                   ;;
40804
 
+                 *)
40805
 
+                   archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
40806
 
+                   ;;
40807
 
+               esac
40808
 
+             fi
40809
 
+           else
40810
 
+             # FIXME: insert proper C++ library support
40811
 
+             ld_shlibs_CXX=no
40812
 
+           fi
40813
 
+           ;;
40814
 
+        esac
40815
 
+        ;;
40816
 
 
40817
 
-# Commands used to build and install an old-style archive.
40818
 
-RANLIB=$lt_RANLIB
40819
 
-old_archive_cmds=$lt_old_archive_cmds_F77
40820
 
-old_postinstall_cmds=$lt_old_postinstall_cmds
40821
 
-old_postuninstall_cmds=$lt_old_postuninstall_cmds
40822
 
+      interix[3-9]*)
40823
 
+       hardcode_direct_CXX=no
40824
 
+       hardcode_shlibpath_var_CXX=no
40825
 
+       hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
40826
 
+       export_dynamic_flag_spec_CXX='${wl}-E'
40827
 
+       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
40828
 
+       # Instead, shared libraries are loaded at an image base (0x10000000 by
40829
 
+       # default) and relocated if they conflict, which is a slow very memory
40830
 
+       # consuming and fragmenting process.  To avoid this, we pick a random,
40831
 
+       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
40832
 
+       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
40833
 
+       archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
40834
 
+       archive_expsym_cmds_CXX='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'
40835
 
+       ;;
40836
 
+      irix5* | irix6*)
40837
 
+        case $cc_basename in
40838
 
+          CC*)
40839
 
+           # SGI C++
40840
 
+           archive_cmds_CXX='$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'
40841
 
+
40842
 
+           # Archives containing C++ object files must be created using
40843
 
+           # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
40844
 
+           # necessary to make sure instantiated templates are included
40845
 
+           # in the archive.
40846
 
+           old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
40847
 
+           ;;
40848
 
+          *)
40849
 
+           if test "$GXX" = yes; then
40850
 
+             if test "$with_gnu_ld" = no; then
40851
 
+               archive_cmds_CXX='$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'
40852
 
+             else
40853
 
+               archive_cmds_CXX='$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'
40854
 
+             fi
40855
 
+           fi
40856
 
+           link_all_deplibs_CXX=yes
40857
 
+           ;;
40858
 
+        esac
40859
 
+        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
40860
 
+        hardcode_libdir_separator_CXX=:
40861
 
+        inherit_rpath_CXX=yes
40862
 
+        ;;
40863
 
 
40864
 
-# Create an old-style archive from a shared archive.
40865
 
-old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
40866
 
+      linux* | k*bsd*-gnu)
40867
 
+        case $cc_basename in
40868
 
+          KCC*)
40869
 
+           # Kuck and Associates, Inc. (KAI) C++ Compiler
40870
 
+
40871
 
+           # KCC will only create a shared library if the output file
40872
 
+           # ends with ".so" (or ".sl" for HP-UX), so rename the library
40873
 
+           # to its proper name (with version) after linking.
40874
 
+           archive_cmds_CXX='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'
40875
 
+           archive_expsym_cmds_CXX='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'
40876
 
+           # Commands to make compiler produce verbose output that lists
40877
 
+           # what "hidden" libraries, object files and flags are used when
40878
 
+           # linking a shared library.
40879
 
+           #
40880
 
+           # There doesn't appear to be a way to prevent this compiler from
40881
 
+           # explicitly linking system object files so we need to strip them
40882
 
+           # from the output so that they don't get included in the library
40883
 
+           # dependencies.
40884
 
+           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'
40885
 
+
40886
 
+           hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
40887
 
+           export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
40888
 
+
40889
 
+           # Archives containing C++ object files must be created using
40890
 
+           # "CC -Bstatic", where "CC" is the KAI C++ compiler.
40891
 
+           old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
40892
 
+           ;;
40893
 
+         icpc* | ecpc* )
40894
 
+           # Intel C++
40895
 
+           with_gnu_ld=yes
40896
 
+           # version 8.0 and above of icpc choke on multiply defined symbols
40897
 
+           # if we add $predep_objects and $postdep_objects, however 7.1 and
40898
 
+           # earlier do not add the objects themselves.
40899
 
+           case `$CC -V 2>&1` in
40900
 
+             *"Version 7."*)
40901
 
+               archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
40902
 
+               archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
40903
 
+               ;;
40904
 
+             *)  # Version 8.0 or newer
40905
 
+               tmp_idyn=
40906
 
+               case $host_cpu in
40907
 
+                 ia64*) tmp_idyn=' -i_dynamic';;
40908
 
+               esac
40909
 
+               archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
40910
 
+               archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
40911
 
+               ;;
40912
 
+           esac
40913
 
+           archive_cmds_need_lc_CXX=no
40914
 
+           hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
40915
 
+           export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
40916
 
+           whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
40917
 
+           ;;
40918
 
+          pgCC* | pgcpp*)
40919
 
+            # Portland Group C++ compiler
40920
 
+           case `$CC -V` in
40921
 
+           *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
40922
 
+             prelink_cmds_CXX='tpldir=Template.dir~
40923
 
+               rm -rf $tpldir~
40924
 
+               $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
40925
 
+               compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
40926
 
+             old_archive_cmds_CXX='tpldir=Template.dir~
40927
 
+               rm -rf $tpldir~
40928
 
+               $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
40929
 
+               $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
40930
 
+               $RANLIB $oldlib'
40931
 
+             archive_cmds_CXX='tpldir=Template.dir~
40932
 
+               rm -rf $tpldir~
40933
 
+               $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
40934
 
+               $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
40935
 
+             archive_expsym_cmds_CXX='tpldir=Template.dir~
40936
 
+               rm -rf $tpldir~
40937
 
+               $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
40938
 
+               $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'
40939
 
+             ;;
40940
 
+           *) # Version 6 will use weak symbols
40941
 
+             archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
40942
 
+             archive_expsym_cmds_CXX='$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'
40943
 
+             ;;
40944
 
+           esac
40945
 
 
40946
 
-# Create a temporary old-style archive to link instead of a shared archive.
40947
 
-old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
40948
 
+           hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
40949
 
+           export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
40950
 
+           whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
40951
 
+            ;;
40952
 
+         cxx*)
40953
 
+           # Compaq C++
40954
 
+           archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
40955
 
+           archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
40956
 
 
40957
 
-# Commands used to build and install a shared archive.
40958
 
-archive_cmds=$lt_archive_cmds_F77
40959
 
-archive_expsym_cmds=$lt_archive_expsym_cmds_F77
40960
 
-postinstall_cmds=$lt_postinstall_cmds
40961
 
-postuninstall_cmds=$lt_postuninstall_cmds
40962
 
+           runpath_var=LD_RUN_PATH
40963
 
+           hardcode_libdir_flag_spec_CXX='-rpath $libdir'
40964
 
+           hardcode_libdir_separator_CXX=:
40965
 
 
40966
 
-# Commands used to build a loadable module (assumed same as above if empty)
40967
 
-module_cmds=$lt_module_cmds_F77
40968
 
-module_expsym_cmds=$lt_module_expsym_cmds_F77
40969
 
+           # Commands to make compiler produce verbose output that lists
40970
 
+           # what "hidden" libraries, object files and flags are used when
40971
 
+           # linking a shared library.
40972
 
+           #
40973
 
+           # There doesn't appear to be a way to prevent this compiler from
40974
 
+           # explicitly linking system object files so we need to strip them
40975
 
+           # from the output so that they don't get included in the library
40976
 
+           # dependencies.
40977
 
+           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'
40978
 
+           ;;
40979
 
+         xl*)
40980
 
+           # IBM XL 8.0 on PPC, with GNU ld
40981
 
+           hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
40982
 
+           export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
40983
 
+           archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
40984
 
+           if test "x$supports_anon_versioning" = xyes; then
40985
 
+             archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
40986
 
+               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
40987
 
+               echo "local: *; };" >> $output_objdir/$libname.ver~
40988
 
+               $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
40989
 
+           fi
40990
 
+           ;;
40991
 
+         *)
40992
 
+           case `$CC -V 2>&1 | sed 5q` in
40993
 
+           *Sun\ C*)
40994
 
+             # Sun C++ 5.9
40995
 
+             no_undefined_flag_CXX=' -zdefs'
40996
 
+             archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
40997
 
+             archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
40998
 
+             hardcode_libdir_flag_spec_CXX='-R$libdir'
40999
 
+             whole_archive_flag_spec_CXX='${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'
41000
 
+             compiler_needs_object_CXX=yes
41001
 
+
41002
 
+             # Not sure whether something based on
41003
 
+             # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
41004
 
+             # would be better.
41005
 
+             output_verbose_link_cmd='echo'
41006
 
+
41007
 
+             # Archives containing C++ object files must be created using
41008
 
+             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
41009
 
+             # necessary to make sure instantiated templates are included
41010
 
+             # in the archive.
41011
 
+             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
41012
 
+             ;;
41013
 
+           esac
41014
 
+           ;;
41015
 
+       esac
41016
 
+       ;;
41017
 
 
41018
 
-# Commands to strip libraries.
41019
 
-old_striplib=$lt_old_striplib
41020
 
-striplib=$lt_striplib
41021
 
+      lynxos*)
41022
 
+        # FIXME: insert proper C++ library support
41023
 
+       ld_shlibs_CXX=no
41024
 
+       ;;
41025
 
 
41026
 
-# Dependencies to place before the objects being linked to create a
41027
 
-# shared library.
41028
 
-predep_objects=$lt_predep_objects_F77
41029
 
-
41030
 
-# Dependencies to place after the objects being linked to create a
41031
 
-# shared library.
41032
 
-postdep_objects=$lt_postdep_objects_F77
41033
 
-
41034
 
-# Dependencies to place before the objects being linked to create a
41035
 
-# shared library.
41036
 
-predeps=$lt_predeps_F77
41037
 
-
41038
 
-# Dependencies to place after the objects being linked to create a
41039
 
-# shared library.
41040
 
-postdeps=$lt_postdeps_F77
41041
 
-
41042
 
-# The directories searched by this compiler when creating a shared
41043
 
-# library
41044
 
-compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
41045
 
+      m88k*)
41046
 
+        # FIXME: insert proper C++ library support
41047
 
+        ld_shlibs_CXX=no
41048
 
+       ;;
41049
 
 
41050
 
-# The library search path used internally by the compiler when linking
41051
 
-# a shared library.
41052
 
-compiler_lib_search_path=$lt_compiler_lib_search_path_F77
41053
 
+      mvs*)
41054
 
+        case $cc_basename in
41055
 
+          cxx*)
41056
 
+           # FIXME: insert proper C++ library support
41057
 
+           ld_shlibs_CXX=no
41058
 
+           ;;
41059
 
+         *)
41060
 
+           # FIXME: insert proper C++ library support
41061
 
+           ld_shlibs_CXX=no
41062
 
+           ;;
41063
 
+       esac
41064
 
+       ;;
41065
 
 
41066
 
-# Method to check whether dependent libraries are shared objects.
41067
 
-deplibs_check_method=$lt_deplibs_check_method
41068
 
+      netbsd*)
41069
 
+        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
41070
 
+         archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
41071
 
+         wlarc=
41072
 
+         hardcode_libdir_flag_spec_CXX='-R$libdir'
41073
 
+         hardcode_direct_CXX=yes
41074
 
+         hardcode_shlibpath_var_CXX=no
41075
 
+       fi
41076
 
+       # Workaround some broken pre-1.5 toolchains
41077
 
+       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
41078
 
+       ;;
41079
 
 
41080
 
-# Command to use when deplibs_check_method == file_magic.
41081
 
-file_magic_cmd=$lt_file_magic_cmd
41082
 
+      *nto* | *qnx*)
41083
 
+        ld_shlibs_CXX=yes
41084
 
+       ;;
41085
 
 
41086
 
-# Flag that allows shared libraries with undefined symbols to be built.
41087
 
-allow_undefined_flag=$lt_allow_undefined_flag_F77
41088
 
+      openbsd2*)
41089
 
+        # C++ shared libraries are fairly broken
41090
 
+       ld_shlibs_CXX=no
41091
 
+       ;;
41092
 
 
41093
 
-# Flag that forces no undefined symbols.
41094
 
-no_undefined_flag=$lt_no_undefined_flag_F77
41095
 
+      openbsd*)
41096
 
+       if test -f /usr/libexec/ld.so; then
41097
 
+         hardcode_direct_CXX=yes
41098
 
+         hardcode_shlibpath_var_CXX=no
41099
 
+         hardcode_direct_absolute_CXX=yes
41100
 
+         archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
41101
 
+         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
41102
 
+         if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
41103
 
+           archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
41104
 
+           export_dynamic_flag_spec_CXX='${wl}-E'
41105
 
+           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
41106
 
+         fi
41107
 
+         output_verbose_link_cmd=echo
41108
 
+       else
41109
 
+         ld_shlibs_CXX=no
41110
 
+       fi
41111
 
+       ;;
41112
 
 
41113
 
-# Commands used to finish a libtool library installation in a directory.
41114
 
-finish_cmds=$lt_finish_cmds
41115
 
+      osf3* | osf4* | osf5*)
41116
 
+        case $cc_basename in
41117
 
+          KCC*)
41118
 
+           # Kuck and Associates, Inc. (KAI) C++ Compiler
41119
 
+
41120
 
+           # KCC will only create a shared library if the output file
41121
 
+           # ends with ".so" (or ".sl" for HP-UX), so rename the library
41122
 
+           # to its proper name (with version) after linking.
41123
 
+           archive_cmds_CXX='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'
41124
 
+
41125
 
+           hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
41126
 
+           hardcode_libdir_separator_CXX=:
41127
 
+
41128
 
+           # Archives containing C++ object files must be created using
41129
 
+           # the KAI C++ compiler.
41130
 
+           case $host in
41131
 
+             osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
41132
 
+             *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
41133
 
+           esac
41134
 
+           ;;
41135
 
+          RCC*)
41136
 
+           # Rational C++ 2.4.1
41137
 
+           # FIXME: insert proper C++ library support
41138
 
+           ld_shlibs_CXX=no
41139
 
+           ;;
41140
 
+          cxx*)
41141
 
+           case $host in
41142
 
+             osf3*)
41143
 
+               allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
41144
 
+               archive_cmds_CXX='$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'
41145
 
+               hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
41146
 
+               ;;
41147
 
+             *)
41148
 
+               allow_undefined_flag_CXX=' -expect_unresolved \*'
41149
 
+               archive_cmds_CXX='$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'
41150
 
+               archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
41151
 
+                 echo "-hidden">> $lib.exp~
41152
 
+                 $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~
41153
 
+                 $RM $lib.exp'
41154
 
+               hardcode_libdir_flag_spec_CXX='-rpath $libdir'
41155
 
+               ;;
41156
 
+           esac
41157
 
 
41158
 
-# Same as above, but a single script fragment to be evaled but not shown.
41159
 
-finish_eval=$lt_finish_eval
41160
 
+           hardcode_libdir_separator_CXX=:
41161
 
 
41162
 
-# Take the output of nm and produce a listing of raw symbols and C names.
41163
 
-global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
41164
 
+           # Commands to make compiler produce verbose output that lists
41165
 
+           # what "hidden" libraries, object files and flags are used when
41166
 
+           # linking a shared library.
41167
 
+           #
41168
 
+           # There doesn't appear to be a way to prevent this compiler from
41169
 
+           # explicitly linking system object files so we need to strip them
41170
 
+           # from the output so that they don't get included in the library
41171
 
+           # dependencies.
41172
 
+           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'
41173
 
+           ;;
41174
 
+         *)
41175
 
+           if test "$GXX" = yes && test "$with_gnu_ld" = no; then
41176
 
+             allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
41177
 
+             case $host in
41178
 
+               osf3*)
41179
 
+                 archive_cmds_CXX='$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'
41180
 
+                 ;;
41181
 
+               *)
41182
 
+                 archive_cmds_CXX='$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'
41183
 
+                 ;;
41184
 
+             esac
41185
 
+
41186
 
+             hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
41187
 
+             hardcode_libdir_separator_CXX=:
41188
 
+
41189
 
+             # Commands to make compiler produce verbose output that lists
41190
 
+             # what "hidden" libraries, object files and flags are used when
41191
 
+             # linking a shared library.
41192
 
+             output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
41193
 
+
41194
 
+           else
41195
 
+             # FIXME: insert proper C++ library support
41196
 
+             ld_shlibs_CXX=no
41197
 
+           fi
41198
 
+           ;;
41199
 
+        esac
41200
 
+        ;;
41201
 
 
41202
 
-# Transform the output of nm in a proper C declaration
41203
 
-global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
41204
 
+      psos*)
41205
 
+        # FIXME: insert proper C++ library support
41206
 
+        ld_shlibs_CXX=no
41207
 
+        ;;
41208
 
 
41209
 
-# Transform the output of nm in a C name address pair
41210
 
-global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
41211
 
+      sunos4*)
41212
 
+        case $cc_basename in
41213
 
+          CC*)
41214
 
+           # Sun C++ 4.x
41215
 
+           # FIXME: insert proper C++ library support
41216
 
+           ld_shlibs_CXX=no
41217
 
+           ;;
41218
 
+          lcc*)
41219
 
+           # Lucid
41220
 
+           # FIXME: insert proper C++ library support
41221
 
+           ld_shlibs_CXX=no
41222
 
+           ;;
41223
 
+          *)
41224
 
+           # FIXME: insert proper C++ library support
41225
 
+           ld_shlibs_CXX=no
41226
 
+           ;;
41227
 
+        esac
41228
 
+        ;;
41229
 
 
41230
 
-# This is the shared library runtime path variable.
41231
 
-runpath_var=$runpath_var
41232
 
+      solaris*)
41233
 
+        case $cc_basename in
41234
 
+          CC*)
41235
 
+           # Sun C++ 4.2, 5.x and Centerline C++
41236
 
+            archive_cmds_need_lc_CXX=yes
41237
 
+           no_undefined_flag_CXX=' -zdefs'
41238
 
+           archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
41239
 
+           archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
41240
 
+             $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'
41241
 
+
41242
 
+           hardcode_libdir_flag_spec_CXX='-R$libdir'
41243
 
+           hardcode_shlibpath_var_CXX=no
41244
 
+           case $host_os in
41245
 
+             solaris2.[0-5] | solaris2.[0-5].*) ;;
41246
 
+             *)
41247
 
+               # The compiler driver will combine and reorder linker options,
41248
 
+               # but understands `-z linker_flag'.
41249
 
+               # Supported since Solaris 2.6 (maybe 2.5.1?)
41250
 
+               whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
41251
 
+               ;;
41252
 
+           esac
41253
 
+           link_all_deplibs_CXX=yes
41254
 
 
41255
 
-# This is the shared library path variable.
41256
 
-shlibpath_var=$shlibpath_var
41257
 
+           output_verbose_link_cmd='echo'
41258
 
 
41259
 
-# Is shlibpath searched before the hard-coded library search path?
41260
 
-shlibpath_overrides_runpath=$shlibpath_overrides_runpath
41261
 
+           # Archives containing C++ object files must be created using
41262
 
+           # "CC -xar", where "CC" is the Sun C++ compiler.  This is
41263
 
+           # necessary to make sure instantiated templates are included
41264
 
+           # in the archive.
41265
 
+           old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
41266
 
+           ;;
41267
 
+          gcx*)
41268
 
+           # Green Hills C++ Compiler
41269
 
+           archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
41270
 
 
41271
 
-# How to hardcode a shared library path into an executable.
41272
 
-hardcode_action=$hardcode_action_F77
41273
 
+           # The C++ compiler must be used to create the archive.
41274
 
+           old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
41275
 
+           ;;
41276
 
+          *)
41277
 
+           # GNU C++ compiler with Solaris linker
41278
 
+           if test "$GXX" = yes && test "$with_gnu_ld" = no; then
41279
 
+             no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
41280
 
+             if $CC --version | $GREP -v '^2\.7' > /dev/null; then
41281
 
+               archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
41282
 
+               archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
41283
 
+                 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
41284
 
+
41285
 
+               # Commands to make compiler produce verbose output that lists
41286
 
+               # what "hidden" libraries, object files and flags are used when
41287
 
+               # linking a shared library.
41288
 
+               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
41289
 
+             else
41290
 
+               # g++ 2.7 appears to require `-G' NOT `-shared' on this
41291
 
+               # platform.
41292
 
+               archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
41293
 
+               archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
41294
 
+                 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
41295
 
+
41296
 
+               # Commands to make compiler produce verbose output that lists
41297
 
+               # what "hidden" libraries, object files and flags are used when
41298
 
+               # linking a shared library.
41299
 
+               output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
41300
 
+             fi
41301
 
+
41302
 
+             hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
41303
 
+             case $host_os in
41304
 
+               solaris2.[0-5] | solaris2.[0-5].*) ;;
41305
 
+               *)
41306
 
+                 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
41307
 
+                 ;;
41308
 
+             esac
41309
 
+           fi
41310
 
+           ;;
41311
 
+        esac
41312
 
+        ;;
41313
 
 
41314
 
-# Whether we should hardcode library paths into libraries.
41315
 
-hardcode_into_libs=$hardcode_into_libs
41316
 
+    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
41317
 
+      no_undefined_flag_CXX='${wl}-z,text'
41318
 
+      archive_cmds_need_lc_CXX=no
41319
 
+      hardcode_shlibpath_var_CXX=no
41320
 
+      runpath_var='LD_RUN_PATH'
41321
 
 
41322
 
-# Flag to hardcode \$libdir into a binary during linking.
41323
 
-# This must work even if \$libdir does not exist.
41324
 
-hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
41325
 
+      case $cc_basename in
41326
 
+        CC*)
41327
 
+         archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
41328
 
+         archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
41329
 
+         ;;
41330
 
+       *)
41331
 
+         archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
41332
 
+         archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
41333
 
+         ;;
41334
 
+      esac
41335
 
+      ;;
41336
 
 
41337
 
-# If ld is used when linking, flag to hardcode \$libdir into
41338
 
-# a binary during linking. This must work even if \$libdir does
41339
 
-# not exist.
41340
 
-hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
41341
 
-
41342
 
-# Whether we need a single -rpath flag with a separated argument.
41343
 
-hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
41344
 
-
41345
 
-# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
41346
 
-# resulting binary.
41347
 
-hardcode_direct=$hardcode_direct_F77
41348
 
-
41349
 
-# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
41350
 
-# resulting binary.
41351
 
-hardcode_minus_L=$hardcode_minus_L_F77
41352
 
-
41353
 
-# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
41354
 
-# the resulting binary.
41355
 
-hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
41356
 
-
41357
 
-# Set to yes if building a shared library automatically hardcodes DIR into the library
41358
 
-# and all subsequent libraries and executables linked against it.
41359
 
-hardcode_automatic=$hardcode_automatic_F77
41360
 
+      sysv5* | sco3.2v5* | sco5v6*)
41361
 
+       # Note: We can NOT use -z defs as we might desire, because we do not
41362
 
+       # link with -lc, and that would cause any symbols used from libc to
41363
 
+       # always be unresolved, which means just about no library would
41364
 
+       # ever link correctly.  If we're not using GNU ld we use -z text
41365
 
+       # though, which does catch some bad symbols but isn't as heavy-handed
41366
 
+       # as -z defs.
41367
 
+       no_undefined_flag_CXX='${wl}-z,text'
41368
 
+       allow_undefined_flag_CXX='${wl}-z,nodefs'
41369
 
+       archive_cmds_need_lc_CXX=no
41370
 
+       hardcode_shlibpath_var_CXX=no
41371
 
+       hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
41372
 
+       hardcode_libdir_separator_CXX=':'
41373
 
+       link_all_deplibs_CXX=yes
41374
 
+       export_dynamic_flag_spec_CXX='${wl}-Bexport'
41375
 
+       runpath_var='LD_RUN_PATH'
41376
 
 
41377
 
-# Variables whose values should be saved in libtool wrapper scripts and
41378
 
-# restored at relink time.
41379
 
-variables_saved_for_relink="$variables_saved_for_relink"
41380
 
+       case $cc_basename in
41381
 
+          CC*)
41382
 
+           archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
41383
 
+           archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
41384
 
+           ;;
41385
 
+         *)
41386
 
+           archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
41387
 
+           archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
41388
 
+           ;;
41389
 
+       esac
41390
 
+      ;;
41391
 
 
41392
 
-# Whether libtool must link a program against all its dependency libraries.
41393
 
-link_all_deplibs=$link_all_deplibs_F77
41394
 
+      tandem*)
41395
 
+        case $cc_basename in
41396
 
+          NCC*)
41397
 
+           # NonStop-UX NCC 3.20
41398
 
+           # FIXME: insert proper C++ library support
41399
 
+           ld_shlibs_CXX=no
41400
 
+           ;;
41401
 
+          *)
41402
 
+           # FIXME: insert proper C++ library support
41403
 
+           ld_shlibs_CXX=no
41404
 
+           ;;
41405
 
+        esac
41406
 
+        ;;
41407
 
 
41408
 
-# Compile-time system search path for libraries
41409
 
-sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
41410
 
+      vxworks*)
41411
 
+        # FIXME: insert proper C++ library support
41412
 
+        ld_shlibs_CXX=no
41413
 
+        ;;
41414
 
 
41415
 
-# Run-time system search path for libraries
41416
 
-sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
41417
 
+      *)
41418
 
+        # FIXME: insert proper C++ library support
41419
 
+        ld_shlibs_CXX=no
41420
 
+        ;;
41421
 
+    esac
41422
 
 
41423
 
-# Fix the shell variable \$srcfile for the compiler.
41424
 
-fix_srcfile_path=$lt_fix_srcfile_path
41425
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
41426
 
+$as_echo "$ld_shlibs_CXX" >&6; }
41427
 
+    test "$ld_shlibs_CXX" = no && can_build_shared=no
41428
 
 
41429
 
-# Set to yes if exported symbols are required.
41430
 
-always_export_symbols=$always_export_symbols_F77
41431
 
+    GCC_CXX="$GXX"
41432
 
+    LD_CXX="$LD"
41433
 
 
41434
 
-# The commands to list exported symbols.
41435
 
-export_symbols_cmds=$lt_export_symbols_cmds_F77
41436
 
+    ## CAVEAT EMPTOR:
41437
 
+    ## There is no encapsulation within the following macros, do not change
41438
 
+    ## the running order or otherwise move them around unless you know exactly
41439
 
+    ## what you are doing...
41440
 
+    # Dependencies to place before and after the object being linked:
41441
 
+predep_objects_CXX=
41442
 
+postdep_objects_CXX=
41443
 
+predeps_CXX=
41444
 
+postdeps_CXX=
41445
 
+compiler_lib_search_path_CXX=
41446
 
 
41447
 
-# The commands to extract the exported symbol list from a shared archive.
41448
 
-extract_expsyms_cmds=$lt_extract_expsyms_cmds
41449
 
+cat > conftest.$ac_ext <<_LT_EOF
41450
 
+class Foo
41451
 
+{
41452
 
+public:
41453
 
+  Foo (void) { a = 0; }
41454
 
+private:
41455
 
+  int a;
41456
 
+};
41457
 
+_LT_EOF
41458
 
 
41459
 
-# Symbols that should not be listed in the preloaded symbols.
41460
 
-exclude_expsyms=$lt_exclude_expsyms_F77
41461
 
+if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
41462
 
+  (eval $ac_compile) 2>&5
41463
 
+  ac_status=$?
41464
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
41465
 
+  test $ac_status = 0; }; then
41466
 
+  # Parse the compiler output and extract the necessary
41467
 
+  # objects, libraries and library flags.
41468
 
 
41469
 
-# Symbols that must always be exported.
41470
 
-include_expsyms=$lt_include_expsyms_F77
41471
 
+  # Sentinel used to keep track of whether or not we are before
41472
 
+  # the conftest object file.
41473
 
+  pre_test_object_deps_done=no
41474
 
+
41475
 
+  for p in `eval "$output_verbose_link_cmd"`; do
41476
 
+    case $p in
41477
 
+
41478
 
+    -L* | -R* | -l*)
41479
 
+       # Some compilers place space between "-{L,R}" and the path.
41480
 
+       # Remove the space.
41481
 
+       if test $p = "-L" ||
41482
 
+          test $p = "-R"; then
41483
 
+        prev=$p
41484
 
+        continue
41485
 
+       else
41486
 
+        prev=
41487
 
+       fi
41488
 
+
41489
 
+       if test "$pre_test_object_deps_done" = no; then
41490
 
+        case $p in
41491
 
+        -L* | -R*)
41492
 
+          # Internal compiler library paths should come after those
41493
 
+          # provided the user.  The postdeps already come after the
41494
 
+          # user supplied libs so there is no need to process them.
41495
 
+          if test -z "$compiler_lib_search_path_CXX"; then
41496
 
+            compiler_lib_search_path_CXX="${prev}${p}"
41497
 
+          else
41498
 
+            compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
41499
 
+          fi
41500
 
+          ;;
41501
 
+        # The "-l" case would never come before the object being
41502
 
+        # linked, so don't bother handling this case.
41503
 
+        esac
41504
 
+       else
41505
 
+        if test -z "$postdeps_CXX"; then
41506
 
+          postdeps_CXX="${prev}${p}"
41507
 
+        else
41508
 
+          postdeps_CXX="${postdeps_CXX} ${prev}${p}"
41509
 
+        fi
41510
 
+       fi
41511
 
+       ;;
41512
 
+
41513
 
+    *.$objext)
41514
 
+       # This assumes that the test object file only shows up
41515
 
+       # once in the compiler output.
41516
 
+       if test "$p" = "conftest.$objext"; then
41517
 
+        pre_test_object_deps_done=yes
41518
 
+        continue
41519
 
+       fi
41520
 
 
41521
 
-# ### END LIBTOOL TAG CONFIG: $tagname
41522
 
+       if test "$pre_test_object_deps_done" = no; then
41523
 
+        if test -z "$predep_objects_CXX"; then
41524
 
+          predep_objects_CXX="$p"
41525
 
+        else
41526
 
+          predep_objects_CXX="$predep_objects_CXX $p"
41527
 
+        fi
41528
 
+       else
41529
 
+        if test -z "$postdep_objects_CXX"; then
41530
 
+          postdep_objects_CXX="$p"
41531
 
+        else
41532
 
+          postdep_objects_CXX="$postdep_objects_CXX $p"
41533
 
+        fi
41534
 
+       fi
41535
 
+       ;;
41536
 
 
41537
 
-__EOF__
41538
 
+    *) ;; # Ignore the rest.
41539
 
 
41540
 
+    esac
41541
 
+  done
41542
 
 
41543
 
+  # Clean up.
41544
 
+  rm -f a.out a.exe
41545
 
 else
41546
 
-  # If there is no Makefile yet, we rely on a make rule to execute
41547
 
-  # `config.status --recheck' to rerun these tests and create the
41548
 
-  # libtool script then.
41549
 
-  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
41550
 
-  if test -f "$ltmain_in"; then
41551
 
-    test -f Makefile && make "$ltmain"
41552
 
-  fi
41553
 
+  echo "libtool.m4: error: problem compiling CXX test program"
41554
 
 fi
41555
 
 
41556
 
+$RM -f confest.$objext
41557
 
 
41558
 
-ac_ext=c
41559
 
-ac_cpp='$CPP $CPPFLAGS'
41560
 
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41561
 
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41562
 
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
41563
 
+# PORTME: override above test on systems where it is broken
41564
 
+case $host_os in
41565
 
+interix[3-9]*)
41566
 
+  # Interix 3.5 installs completely hosed .la files for C++, so rather than
41567
 
+  # hack all around it, let's just trust "g++" to DTRT.
41568
 
+  predep_objects_CXX=
41569
 
+  postdep_objects_CXX=
41570
 
+  postdeps_CXX=
41571
 
+  ;;
41572
 
+
41573
 
+linux*)
41574
 
+  case `$CC -V 2>&1 | sed 5q` in
41575
 
+  *Sun\ C*)
41576
 
+    # Sun C++ 5.9
41577
 
+
41578
 
+    # The more standards-conforming stlport4 library is
41579
 
+    # incompatible with the Cstd library. Avoid specifying
41580
 
+    # it if it's in CXXFLAGS. Ignore libCrun as
41581
 
+    # -library=stlport4 depends on it.
41582
 
+    case " $CXX $CXXFLAGS " in
41583
 
+    *" -library=stlport4 "*)
41584
 
+      solaris_use_stlport4=yes
41585
 
+      ;;
41586
 
+    esac
41587
 
+
41588
 
+    if test "$solaris_use_stlport4" != yes; then
41589
 
+      postdeps_CXX='-library=Cstd -library=Crun'
41590
 
+    fi
41591
 
+    ;;
41592
 
+  esac
41593
 
+  ;;
41594
 
+
41595
 
+solaris*)
41596
 
+  case $cc_basename in
41597
 
+  CC*)
41598
 
+    # The more standards-conforming stlport4 library is
41599
 
+    # incompatible with the Cstd library. Avoid specifying
41600
 
+    # it if it's in CXXFLAGS. Ignore libCrun as
41601
 
+    # -library=stlport4 depends on it.
41602
 
+    case " $CXX $CXXFLAGS " in
41603
 
+    *" -library=stlport4 "*)
41604
 
+      solaris_use_stlport4=yes
41605
 
+      ;;
41606
 
+    esac
41607
 
+
41608
 
+    # Adding this requires a known-good setup of shared libraries for
41609
 
+    # Sun compiler versions before 5.6, else PIC objects from an old
41610
 
+    # archive will be linked into the output, leading to subtle bugs.
41611
 
+    if test "$solaris_use_stlport4" != yes; then
41612
 
+      postdeps_CXX='-library=Cstd -library=Crun'
41613
 
+    fi
41614
 
+    ;;
41615
 
+  esac
41616
 
+  ;;
41617
 
+esac
41618
 
+
41619
 
+
41620
 
+case " $postdeps_CXX " in
41621
 
+*" -lc "*) archive_cmds_need_lc_CXX=no ;;
41622
 
+esac
41623
 
+ compiler_lib_search_dirs_CXX=
41624
 
+if test -n "${compiler_lib_search_path_CXX}"; then
41625
 
+ compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
41626
 
+fi
41627
 
 
41628
 
-CC="$lt_save_CC"
41629
 
 
41630
 
-       else
41631
 
-         tagname=""
41632
 
-       fi
41633
 
-       ;;
41634
 
 
41635
 
-      GCJ)
41636
 
-       if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
41637
 
 
41638
 
 
41639
 
-# Source file extension for Java test sources.
41640
 
-ac_ext=java
41641
 
 
41642
 
-# Object file extension for compiled Java test sources.
41643
 
-objext=o
41644
 
-objext_GCJ=$objext
41645
 
 
41646
 
-# Code to be used in simple compile tests
41647
 
-lt_simple_compile_test_code="class foo {}"
41648
 
 
41649
 
-# Code to be used in simple link tests
41650
 
-lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
41651
 
 
41652
 
-# ltmain only uses $CC for tagged configurations so make sure $CC is set.
41653
 
 
41654
 
-# If no C compiler was specified, use CC.
41655
 
-LTCC=${LTCC-"$CC"}
41656
 
 
41657
 
-# If no C compiler flags were specified, use CFLAGS.
41658
 
-LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
41659
 
 
41660
 
-# Allow CC to be a program name with arguments.
41661
 
-compiler=$CC
41662
 
 
41663
 
 
41664
 
-# save warnings/boilerplate of simple test code
41665
 
-ac_outfile=conftest.$ac_objext
41666
 
-echo "$lt_simple_compile_test_code" >conftest.$ac_ext
41667
 
-eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
41668
 
-_lt_compiler_boilerplate=`cat conftest.err`
41669
 
-$rm conftest*
41670
 
 
41671
 
-ac_outfile=conftest.$ac_objext
41672
 
-echo "$lt_simple_link_test_code" >conftest.$ac_ext
41673
 
-eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
41674
 
-_lt_linker_boilerplate=`cat conftest.err`
41675
 
-$rm -r conftest*
41676
 
 
41677
 
 
41678
 
-# Allow CC to be a program name with arguments.
41679
 
-lt_save_CC="$CC"
41680
 
-CC=${GCJ-"gcj"}
41681
 
-compiler=$CC
41682
 
-compiler_GCJ=$CC
41683
 
-for cc_temp in $compiler""; do
41684
 
-  case $cc_temp in
41685
 
-    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
41686
 
-    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
41687
 
-    \-*) ;;
41688
 
-    *) break;;
41689
 
-  esac
41690
 
-done
41691
 
-cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
41692
 
 
41693
 
 
41694
 
-# GCJ did not exist at the time GCC didn't implicitly link libc in.
41695
 
-archive_cmds_need_lc_GCJ=no
41696
 
 
41697
 
-old_archive_cmds_GCJ=$old_archive_cmds
41698
 
 
41699
 
 
41700
 
-lt_prog_compiler_no_builtin_flag_GCJ=
41701
 
 
41702
 
-if test "$GCC" = yes; then
41703
 
-  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
41704
 
 
41705
 
 
41706
 
-{ $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
41707
 
-$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
41708
 
-if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
41709
 
-  $as_echo_n "(cached) " >&6
41710
 
-else
41711
 
-  lt_cv_prog_compiler_rtti_exceptions=no
41712
 
-  ac_outfile=conftest.$ac_objext
41713
 
-   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
41714
 
-   lt_compiler_flag="-fno-rtti -fno-exceptions"
41715
 
-   # Insert the option either (1) after the last *FLAGS variable, or
41716
 
-   # (2) before a word containing "conftest.", or (3) at the end.
41717
 
-   # Note that $ac_compile itself does not contain backslashes and begins
41718
 
-   # with a dollar sign (not a hyphen), so the echo should work correctly.
41719
 
-   # The option is referenced via a variable to avoid confusing sed.
41720
 
-   lt_compile=`echo "$ac_compile" | $SED \
41721
 
-   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
41722
 
-   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
41723
 
-   -e 's:$: $lt_compiler_flag:'`
41724
 
-   (eval echo "\"\$as_me:17393: $lt_compile\"" >&5)
41725
 
-   (eval "$lt_compile" 2>conftest.err)
41726
 
-   ac_status=$?
41727
 
-   cat conftest.err >&5
41728
 
-   echo "$as_me:17397: \$? = $ac_status" >&5
41729
 
-   if (exit $ac_status) && test -s "$ac_outfile"; then
41730
 
-     # The compiler can only warn and ignore the option if not recognized
41731
 
-     # So say no if there are warnings other than the usual output.
41732
 
-     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
41733
 
-     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
41734
 
-     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
41735
 
-       lt_cv_prog_compiler_rtti_exceptions=yes
41736
 
-     fi
41737
 
-   fi
41738
 
-   $rm conftest*
41739
 
 
41740
 
-fi
41741
 
-{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
41742
 
-$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
41743
 
 
41744
 
-if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
41745
 
-    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
41746
 
-else
41747
 
-    :
41748
 
-fi
41749
 
 
41750
 
-fi
41751
 
 
41752
 
-lt_prog_compiler_wl_GCJ=
41753
 
-lt_prog_compiler_pic_GCJ=
41754
 
-lt_prog_compiler_static_GCJ=
41755
 
 
41756
 
-{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
41757
 
+
41758
 
+    lt_prog_compiler_wl_CXX=
41759
 
+lt_prog_compiler_pic_CXX=
41760
 
+lt_prog_compiler_static_CXX=
41761
 
+
41762
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
41763
 
 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
41764
 
 
41765
 
-  if test "$GCC" = yes; then
41766
 
-    lt_prog_compiler_wl_GCJ='-Wl,'
41767
 
-    lt_prog_compiler_static_GCJ='-static'
41768
 
+  # C++ specific cases for pic, static, wl, etc.
41769
 
+  if test "$GXX" = yes; then
41770
 
+    lt_prog_compiler_wl_CXX='-Wl,'
41771
 
+    lt_prog_compiler_static_CXX='-static'
41772
 
 
41773
 
     case $host_os in
41774
 
-      aix*)
41775
 
+    aix*)
41776
 
       # All AIX code is PIC.
41777
 
       if test "$host_cpu" = ia64; then
41778
 
        # AIX 5 now supports IA64 processor
41779
 
-       lt_prog_compiler_static_GCJ='-Bstatic'
41780
 
+       lt_prog_compiler_static_CXX='-Bstatic'
41781
 
       fi
41782
 
       ;;
41783
 
 
41784
 
     amigaos*)
41785
 
-      # FIXME: we need at least 68020 code to build shared libraries, but
41786
 
-      # adding the `-m68020' flag to GCC prevents building anything better,
41787
 
-      # like `-m68040'.
41788
 
-      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
41789
 
+      case $host_cpu in
41790
 
+      powerpc)
41791
 
+            # see comment about AmigaOS4 .so support
41792
 
+            lt_prog_compiler_pic_CXX='-fPIC'
41793
 
+        ;;
41794
 
+      m68k)
41795
 
+            # FIXME: we need at least 68020 code to build shared libraries, but
41796
 
+            # adding the `-m68020' flag to GCC prevents building anything better,
41797
 
+            # like `-m68040'.
41798
 
+            lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
41799
 
+        ;;
41800
 
+      esac
41801
 
       ;;
41802
 
 
41803
 
     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
41804
 
       # PIC is the default for these OSes.
41805
 
       ;;
41806
 
-
41807
 
-    mingw* | cygwin* | pw32* | os2*)
41808
 
+    mingw* | cygwin* | os2* | pw32* | cegcc*)
41809
 
       # This hack is so that the source file can tell whether it is being
41810
 
       # built for inclusion in a dll (and should export symbols for example).
41811
 
       # Although the cygwin gcc ignores -fPIC, still need this for old-style
41812
 
       # (--disable-auto-import) libraries
41813
 
-
41814
 
+      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
41815
 
       ;;
41816
 
-
41817
 
     darwin* | rhapsody*)
41818
 
       # PIC is the default on this platform
41819
 
       # Common symbols not allowed in MH_DYLIB files
41820
 
-      lt_prog_compiler_pic_GCJ='-fno-common'
41821
 
+      lt_prog_compiler_pic_CXX='-fno-common'
41822
 
+      ;;
41823
 
+    *djgpp*)
41824
 
+      # DJGPP does not support shared libraries at all
41825
 
+      lt_prog_compiler_pic_CXX=
41826
 
       ;;
41827
 
-
41828
 
     interix[3-9]*)
41829
 
       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
41830
 
       # Instead, we relocate shared libraries at runtime.
41831
 
       ;;
41832
 
-
41833
 
-    msdosdjgpp*)
41834
 
-      # Just because we use GCC doesn't mean we suddenly get shared libraries
41835
 
-      # on systems that don't support them.
41836
 
-      lt_prog_compiler_can_build_shared_GCJ=no
41837
 
-      enable_shared=no
41838
 
-      ;;
41839
 
-
41840
 
     sysv4*MP*)
41841
 
       if test -d /usr/nec; then
41842
 
-       lt_prog_compiler_pic_GCJ=-Kconform_pic
41843
 
+       lt_prog_compiler_pic_CXX=-Kconform_pic
41844
 
       fi
41845
 
       ;;
41846
 
-
41847
 
     hpux*)
41848
 
-      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
41849
 
-      # not for PA HP-UX.
41850
 
+      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
41851
 
+      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
41852
 
+      # sets the default TLS model and affects inlining.
41853
 
       case $host_cpu in
41854
 
-      hppa*64*|ia64*)
41855
 
-       # +Z the default
41856
 
+      hppa*64*)
41857
 
        ;;
41858
 
       *)
41859
 
-       lt_prog_compiler_pic_GCJ='-fPIC'
41860
 
+       lt_prog_compiler_pic_CXX='-fPIC'
41861
 
        ;;
41862
 
       esac
41863
 
       ;;
41864
 
-
41865
 
+    *qnx* | *nto*)
41866
 
+      # QNX uses GNU C++, but need to define -shared option too, otherwise
41867
 
+      # it will coredump.
41868
 
+      lt_prog_compiler_pic_CXX='-fPIC -shared'
41869
 
+      ;;
41870
 
     *)
41871
 
-      lt_prog_compiler_pic_GCJ='-fPIC'
41872
 
+      lt_prog_compiler_pic_CXX='-fPIC'
41873
 
       ;;
41874
 
     esac
41875
 
   else
41876
 
-    # PORTME Check for flag to pass linker flags through the system compiler.
41877
 
     case $host_os in
41878
 
-    aix*)
41879
 
-      lt_prog_compiler_wl_GCJ='-Wl,'
41880
 
-      if test "$host_cpu" = ia64; then
41881
 
-       # AIX 5 now supports IA64 processor
41882
 
-       lt_prog_compiler_static_GCJ='-Bstatic'
41883
 
-      else
41884
 
-       lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
41885
 
-      fi
41886
 
-      ;;
41887
 
-      darwin*)
41888
 
-        # PIC is the default on this platform
41889
 
-        # Common symbols not allowed in MH_DYLIB files
41890
 
-       case $cc_basename in
41891
 
-         xlc*)
41892
 
-         lt_prog_compiler_pic_GCJ='-qnocommon'
41893
 
-         lt_prog_compiler_wl_GCJ='-Wl,'
41894
 
-         ;;
41895
 
-       esac
41896
 
-       ;;
41897
 
-
41898
 
-    mingw* | cygwin* | pw32* | os2*)
41899
 
-      # This hack is so that the source file can tell whether it is being
41900
 
-      # built for inclusion in a dll (and should export symbols for example).
41901
 
-
41902
 
-      ;;
41903
 
-
41904
 
-    hpux9* | hpux10* | hpux11*)
41905
 
-      lt_prog_compiler_wl_GCJ='-Wl,'
41906
 
-      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
41907
 
-      # not for PA HP-UX.
41908
 
-      case $host_cpu in
41909
 
-      hppa*64*|ia64*)
41910
 
-       # +Z the default
41911
 
-       ;;
41912
 
-      *)
41913
 
-       lt_prog_compiler_pic_GCJ='+Z'
41914
 
+      aix[4-9]*)
41915
 
+       # All AIX code is PIC.
41916
 
+       if test "$host_cpu" = ia64; then
41917
 
+         # AIX 5 now supports IA64 processor
41918
 
+         lt_prog_compiler_static_CXX='-Bstatic'
41919
 
+       else
41920
 
+         lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
41921
 
+       fi
41922
 
        ;;
41923
 
-      esac
41924
 
-      # Is there a better lt_prog_compiler_static that works with the bundled CC?
41925
 
-      lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
41926
 
-      ;;
41927
 
-
41928
 
-    irix5* | irix6* | nonstopux*)
41929
 
-      lt_prog_compiler_wl_GCJ='-Wl,'
41930
 
-      # PIC (with -KPIC) is the default.
41931
 
-      lt_prog_compiler_static_GCJ='-non_shared'
41932
 
-      ;;
41933
 
-
41934
 
-    newsos6)
41935
 
-      lt_prog_compiler_pic_GCJ='-KPIC'
41936
 
-      lt_prog_compiler_static_GCJ='-Bstatic'
41937
 
-      ;;
41938
 
-
41939
 
-    linux* | k*bsd*-gnu)
41940
 
-      case $cc_basename in
41941
 
-      icc* | ecc*)
41942
 
-       lt_prog_compiler_wl_GCJ='-Wl,'
41943
 
-       lt_prog_compiler_pic_GCJ='-KPIC'
41944
 
-       lt_prog_compiler_static_GCJ='-static'
41945
 
-        ;;
41946
 
-      pgcc* | pgf77* | pgf90* | pgf95*)
41947
 
-        # Portland Group compilers (*not* the Pentium gcc compiler,
41948
 
-       # which looks to be a dead project)
41949
 
-       lt_prog_compiler_wl_GCJ='-Wl,'
41950
 
-       lt_prog_compiler_pic_GCJ='-fpic'
41951
 
-       lt_prog_compiler_static_GCJ='-Bstatic'
41952
 
-        ;;
41953
 
-      ccc*)
41954
 
-        lt_prog_compiler_wl_GCJ='-Wl,'
41955
 
-        # All Alpha code is PIC.
41956
 
-        lt_prog_compiler_static_GCJ='-non_shared'
41957
 
-        ;;
41958
 
-      *)
41959
 
-        case `$CC -V 2>&1 | sed 5q` in
41960
 
-       *Sun\ C*)
41961
 
-         # Sun C 5.9
41962
 
-         lt_prog_compiler_pic_GCJ='-KPIC'
41963
 
-         lt_prog_compiler_static_GCJ='-Bstatic'
41964
 
-         lt_prog_compiler_wl_GCJ='-Wl,'
41965
 
-         ;;
41966
 
-       *Sun\ F*)
41967
 
-         # Sun Fortran 8.3 passes all unrecognized flags to the linker
41968
 
-         lt_prog_compiler_pic_GCJ='-KPIC'
41969
 
-         lt_prog_compiler_static_GCJ='-Bstatic'
41970
 
-         lt_prog_compiler_wl_GCJ=''
41971
 
+      chorus*)
41972
 
+       case $cc_basename in
41973
 
+       cxch68*)
41974
 
+         # Green Hills C++ Compiler
41975
 
+         # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--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"
41976
 
          ;;
41977
 
        esac
41978
 
        ;;
41979
 
-      esac
41980
 
-      ;;
41981
 
-
41982
 
-    osf3* | osf4* | osf5*)
41983
 
-      lt_prog_compiler_wl_GCJ='-Wl,'
41984
 
-      # All OSF/1 code is PIC.
41985
 
-      lt_prog_compiler_static_GCJ='-non_shared'
41986
 
-      ;;
41987
 
-
41988
 
-    rdos*)
41989
 
-      lt_prog_compiler_static_GCJ='-non_shared'
41990
 
-      ;;
41991
 
-
41992
 
-    solaris*)
41993
 
-      lt_prog_compiler_pic_GCJ='-KPIC'
41994
 
-      lt_prog_compiler_static_GCJ='-Bstatic'
41995
 
-      case $cc_basename in
41996
 
-      f77* | f90* | f95*)
41997
 
-       lt_prog_compiler_wl_GCJ='-Qoption ld ';;
41998
 
-      *)
41999
 
-       lt_prog_compiler_wl_GCJ='-Wl,';;
42000
 
-      esac
42001
 
-      ;;
42002
 
-
42003
 
-    sunos4*)
42004
 
-      lt_prog_compiler_wl_GCJ='-Qoption ld '
42005
 
-      lt_prog_compiler_pic_GCJ='-PIC'
42006
 
-      lt_prog_compiler_static_GCJ='-Bstatic'
42007
 
-      ;;
42008
 
-
42009
 
-    sysv4 | sysv4.2uw2* | sysv4.3*)
42010
 
-      lt_prog_compiler_wl_GCJ='-Wl,'
42011
 
-      lt_prog_compiler_pic_GCJ='-KPIC'
42012
 
-      lt_prog_compiler_static_GCJ='-Bstatic'
42013
 
-      ;;
42014
 
-
42015
 
-    sysv4*MP*)
42016
 
-      if test -d /usr/nec ;then
42017
 
-       lt_prog_compiler_pic_GCJ='-Kconform_pic'
42018
 
-       lt_prog_compiler_static_GCJ='-Bstatic'
42019
 
-      fi
42020
 
-      ;;
42021
 
-
42022
 
-    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
42023
 
-      lt_prog_compiler_wl_GCJ='-Wl,'
42024
 
-      lt_prog_compiler_pic_GCJ='-KPIC'
42025
 
-      lt_prog_compiler_static_GCJ='-Bstatic'
42026
 
-      ;;
42027
 
-
42028
 
-    unicos*)
42029
 
-      lt_prog_compiler_wl_GCJ='-Wl,'
42030
 
-      lt_prog_compiler_can_build_shared_GCJ=no
42031
 
-      ;;
42032
 
-
42033
 
-    uts4*)
42034
 
-      lt_prog_compiler_pic_GCJ='-pic'
42035
 
-      lt_prog_compiler_static_GCJ='-Bstatic'
42036
 
-      ;;
42037
 
-
42038
 
-    *)
42039
 
-      lt_prog_compiler_can_build_shared_GCJ=no
42040
 
-      ;;
42041
 
-    esac
42042
 
-  fi
42043
 
-
42044
 
-{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
42045
 
-$as_echo "$lt_prog_compiler_pic_GCJ" >&6; }
42046
 
-
42047
 
-#
42048
 
-# Check to make sure the PIC flag actually works.
42049
 
-#
42050
 
-if test -n "$lt_prog_compiler_pic_GCJ"; then
42051
 
-
42052
 
-{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
42053
 
-$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
42054
 
-if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
42055
 
-  $as_echo_n "(cached) " >&6
42056
 
-else
42057
 
-  lt_cv_prog_compiler_pic_works_GCJ=no
42058
 
-  ac_outfile=conftest.$ac_objext
42059
 
-   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
42060
 
-   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
42061
 
-   # Insert the option either (1) after the last *FLAGS variable, or
42062
 
-   # (2) before a word containing "conftest.", or (3) at the end.
42063
 
-   # Note that $ac_compile itself does not contain backslashes and begins
42064
 
-   # with a dollar sign (not a hyphen), so the echo should work correctly.
42065
 
-   # The option is referenced via a variable to avoid confusing sed.
42066
 
-   lt_compile=`echo "$ac_compile" | $SED \
42067
 
-   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
42068
 
-   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
42069
 
-   -e 's:$: $lt_compiler_flag:'`
42070
 
-   (eval echo "\"\$as_me:17683: $lt_compile\"" >&5)
42071
 
-   (eval "$lt_compile" 2>conftest.err)
42072
 
-   ac_status=$?
42073
 
-   cat conftest.err >&5
42074
 
-   echo "$as_me:17687: \$? = $ac_status" >&5
42075
 
-   if (exit $ac_status) && test -s "$ac_outfile"; then
42076
 
-     # The compiler can only warn and ignore the option if not recognized
42077
 
-     # So say no if there are warnings other than the usual output.
42078
 
-     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
42079
 
-     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
42080
 
-     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
42081
 
-       lt_cv_prog_compiler_pic_works_GCJ=yes
42082
 
-     fi
42083
 
-   fi
42084
 
-   $rm conftest*
42085
 
-
42086
 
-fi
42087
 
-{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
42088
 
-$as_echo "$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
42089
 
-
42090
 
-if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
42091
 
-    case $lt_prog_compiler_pic_GCJ in
42092
 
-     "" | " "*) ;;
42093
 
-     *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
42094
 
-     esac
42095
 
-else
42096
 
-    lt_prog_compiler_pic_GCJ=
42097
 
-     lt_prog_compiler_can_build_shared_GCJ=no
42098
 
-fi
42099
 
-
42100
 
-fi
42101
 
-case $host_os in
42102
 
-  # For platforms which do not support PIC, -DPIC is meaningless:
42103
 
-  *djgpp*)
42104
 
-    lt_prog_compiler_pic_GCJ=
42105
 
-    ;;
42106
 
-  *)
42107
 
-    lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
42108
 
-    ;;
42109
 
-esac
42110
 
-
42111
 
-#
42112
 
-# Check to make sure the static flag actually works.
42113
 
-#
42114
 
-wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
42115
 
-{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
42116
 
-$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
42117
 
-if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
42118
 
-  $as_echo_n "(cached) " >&6
42119
 
-else
42120
 
-  lt_cv_prog_compiler_static_works_GCJ=no
42121
 
-   save_LDFLAGS="$LDFLAGS"
42122
 
-   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
42123
 
-   echo "$lt_simple_link_test_code" > conftest.$ac_ext
42124
 
-   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
42125
 
-     # The linker can only warn and ignore the option if not recognized
42126
 
-     # So say no if there are warnings
42127
 
-     if test -s conftest.err; then
42128
 
-       # Append any errors to the config.log.
42129
 
-       cat conftest.err 1>&5
42130
 
-       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
42131
 
-       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
42132
 
-       if diff conftest.exp conftest.er2 >/dev/null; then
42133
 
-         lt_cv_prog_compiler_static_works_GCJ=yes
42134
 
-       fi
42135
 
-     else
42136
 
-       lt_cv_prog_compiler_static_works_GCJ=yes
42137
 
-     fi
42138
 
-   fi
42139
 
-   $rm -r conftest*
42140
 
-   LDFLAGS="$save_LDFLAGS"
42141
 
-
42142
 
-fi
42143
 
-{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
42144
 
-$as_echo "$lt_cv_prog_compiler_static_works_GCJ" >&6; }
42145
 
-
42146
 
-if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
42147
 
-    :
42148
 
-else
42149
 
-    lt_prog_compiler_static_GCJ=
42150
 
-fi
42151
 
-
42152
 
-
42153
 
-{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
42154
 
-$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
42155
 
-if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
42156
 
-  $as_echo_n "(cached) " >&6
42157
 
-else
42158
 
-  lt_cv_prog_compiler_c_o_GCJ=no
42159
 
-   $rm -r conftest 2>/dev/null
42160
 
-   mkdir conftest
42161
 
-   cd conftest
42162
 
-   mkdir out
42163
 
-   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
42164
 
-
42165
 
-   lt_compiler_flag="-o out/conftest2.$ac_objext"
42166
 
-   # Insert the option either (1) after the last *FLAGS variable, or
42167
 
-   # (2) before a word containing "conftest.", or (3) at the end.
42168
 
-   # Note that $ac_compile itself does not contain backslashes and begins
42169
 
-   # with a dollar sign (not a hyphen), so the echo should work correctly.
42170
 
-   lt_compile=`echo "$ac_compile" | $SED \
42171
 
-   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
42172
 
-   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
42173
 
-   -e 's:$: $lt_compiler_flag:'`
42174
 
-   (eval echo "\"\$as_me:17787: $lt_compile\"" >&5)
42175
 
-   (eval "$lt_compile" 2>out/conftest.err)
42176
 
-   ac_status=$?
42177
 
-   cat out/conftest.err >&5
42178
 
-   echo "$as_me:17791: \$? = $ac_status" >&5
42179
 
-   if (exit $ac_status) && test -s out/conftest2.$ac_objext
42180
 
-   then
42181
 
-     # The compiler can only warn and ignore the option if not recognized
42182
 
-     # So say no if there are warnings
42183
 
-     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
42184
 
-     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
42185
 
-     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
42186
 
-       lt_cv_prog_compiler_c_o_GCJ=yes
42187
 
-     fi
42188
 
-   fi
42189
 
-   chmod u+w . 2>&5
42190
 
-   $rm conftest*
42191
 
-   # SGI C++ compiler will create directory out/ii_files/ for
42192
 
-   # template instantiation
42193
 
-   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
42194
 
-   $rm out/* && rmdir out
42195
 
-   cd ..
42196
 
-   rmdir conftest
42197
 
-   $rm conftest*
42198
 
-
42199
 
-fi
42200
 
-{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
42201
 
-$as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
42202
 
-
42203
 
-
42204
 
-hard_links="nottested"
42205
 
-if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
42206
 
-  # do not overwrite the value of need_locks provided by the user
42207
 
-  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
42208
 
-$as_echo_n "checking if we can lock with hard links... " >&6; }
42209
 
-  hard_links=yes
42210
 
-  $rm conftest*
42211
 
-  ln conftest.a conftest.b 2>/dev/null && hard_links=no
42212
 
-  touch conftest.a
42213
 
-  ln conftest.a conftest.b 2>&5 || hard_links=no
42214
 
-  ln conftest.a conftest.b 2>/dev/null && hard_links=no
42215
 
-  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
42216
 
-$as_echo "$hard_links" >&6; }
42217
 
-  if test "$hard_links" = no; then
42218
 
-    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
42219
 
-$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
42220
 
-    need_locks=warn
42221
 
-  fi
42222
 
-else
42223
 
-  need_locks=no
42224
 
-fi
42225
 
-
42226
 
-{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
42227
 
-$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
42228
 
-
42229
 
-  runpath_var=
42230
 
-  allow_undefined_flag_GCJ=
42231
 
-  enable_shared_with_static_runtimes_GCJ=no
42232
 
-  archive_cmds_GCJ=
42233
 
-  archive_expsym_cmds_GCJ=
42234
 
-  old_archive_From_new_cmds_GCJ=
42235
 
-  old_archive_from_expsyms_cmds_GCJ=
42236
 
-  export_dynamic_flag_spec_GCJ=
42237
 
-  whole_archive_flag_spec_GCJ=
42238
 
-  thread_safe_flag_spec_GCJ=
42239
 
-  hardcode_libdir_flag_spec_GCJ=
42240
 
-  hardcode_libdir_flag_spec_ld_GCJ=
42241
 
-  hardcode_libdir_separator_GCJ=
42242
 
-  hardcode_direct_GCJ=no
42243
 
-  hardcode_minus_L_GCJ=no
42244
 
-  hardcode_shlibpath_var_GCJ=unsupported
42245
 
-  link_all_deplibs_GCJ=unknown
42246
 
-  hardcode_automatic_GCJ=no
42247
 
-  module_cmds_GCJ=
42248
 
-  module_expsym_cmds_GCJ=
42249
 
-  always_export_symbols_GCJ=no
42250
 
-  export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
42251
 
-  # include_expsyms should be a list of space-separated symbols to be *always*
42252
 
-  # included in the symbol list
42253
 
-  include_expsyms_GCJ=
42254
 
-  # exclude_expsyms can be an extended regexp of symbols to exclude
42255
 
-  # it will be wrapped by ` (' and `)$', so one must not match beginning or
42256
 
-  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
42257
 
-  # as well as any symbol that contains `d'.
42258
 
-  exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
42259
 
-  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
42260
 
-  # platforms (ab)use it in PIC code, but their linkers get confused if
42261
 
-  # the symbol is explicitly referenced.  Since portable code cannot
42262
 
-  # rely on this symbol name, it's probably fine to never include it in
42263
 
-  # preloaded symbol tables.
42264
 
-  # Exclude shared library initialization/finalization symbols.
42265
 
-  extract_expsyms_cmds=
42266
 
-  # Just being paranoid about ensuring that cc_basename is set.
42267
 
-  for cc_temp in $compiler""; do
42268
 
-  case $cc_temp in
42269
 
-    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
42270
 
-    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
42271
 
-    \-*) ;;
42272
 
-    *) break;;
42273
 
-  esac
42274
 
-done
42275
 
-cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
42276
 
-
42277
 
-  case $host_os in
42278
 
-  cygwin* | mingw* | pw32*)
42279
 
-    # FIXME: the MSVC++ port hasn't been tested in a loooong time
42280
 
-    # When not using gcc, we currently assume that we are using
42281
 
-    # Microsoft Visual C++.
42282
 
-    if test "$GCC" != yes; then
42283
 
-      with_gnu_ld=no
42284
 
-    fi
42285
 
-    ;;
42286
 
-  interix*)
42287
 
-    # we just hope/assume this is gcc and not c89 (= MSVC++)
42288
 
-    with_gnu_ld=yes
42289
 
-    ;;
42290
 
-  openbsd*)
42291
 
-    with_gnu_ld=no
42292
 
-    ;;
42293
 
-  esac
42294
 
-
42295
 
-  ld_shlibs_GCJ=yes
42296
 
-  if test "$with_gnu_ld" = yes; then
42297
 
-    # If archive_cmds runs LD, not CC, wlarc should be empty
42298
 
-    wlarc='${wl}'
42299
 
-
42300
 
-    # Set some defaults for GNU ld with shared library support. These
42301
 
-    # are reset later if shared libraries are not supported. Putting them
42302
 
-    # here allows them to be overridden if necessary.
42303
 
-    runpath_var=LD_RUN_PATH
42304
 
-    hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
42305
 
-    export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
42306
 
-    # ancient GNU ld didn't support --whole-archive et. al.
42307
 
-    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
42308
 
-       whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
42309
 
-      else
42310
 
-       whole_archive_flag_spec_GCJ=
42311
 
-    fi
42312
 
-    supports_anon_versioning=no
42313
 
-    case `$LD -v 2>/dev/null` in
42314
 
-      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
42315
 
-      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
42316
 
-      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
42317
 
-      *\ 2.11.*) ;; # other 2.11 versions
42318
 
-      *) supports_anon_versioning=yes ;;
42319
 
-    esac
42320
 
-
42321
 
-    # See if GNU ld supports shared libraries.
42322
 
-    case $host_os in
42323
 
-    aix[3-9]*)
42324
 
-      # On AIX/PPC, the GNU linker is very broken
42325
 
-      if test "$host_cpu" != ia64; then
42326
 
-       ld_shlibs_GCJ=no
42327
 
-       cat <<EOF 1>&2
42328
 
-
42329
 
-*** Warning: the GNU linker, at least up to release 2.9.1, is reported
42330
 
-*** to be unable to reliably create shared libraries on AIX.
42331
 
-*** Therefore, libtool is disabling shared libraries support.  If you
42332
 
-*** really care for shared libraries, you may want to modify your PATH
42333
 
-*** so that a non-GNU linker is found, and then restart.
42334
 
-
42335
 
-EOF
42336
 
-      fi
42337
 
-      ;;
42338
 
-
42339
 
-    amigaos*)
42340
 
-      archive_cmds_GCJ='$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)'
42341
 
-      hardcode_libdir_flag_spec_GCJ='-L$libdir'
42342
 
-      hardcode_minus_L_GCJ=yes
42343
 
-
42344
 
-      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
42345
 
-      # that the semantics of dynamic libraries on AmigaOS, at least up
42346
 
-      # to version 4, is to share data among multiple programs linked
42347
 
-      # with the same dynamic library.  Since this doesn't match the
42348
 
-      # behavior of shared libraries on other platforms, we can't use
42349
 
-      # them.
42350
 
-      ld_shlibs_GCJ=no
42351
 
-      ;;
42352
 
-
42353
 
-    beos*)
42354
 
-      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
42355
 
-       allow_undefined_flag_GCJ=unsupported
42356
 
-       # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
42357
 
-       # support --undefined.  This deserves some investigation.  FIXME
42358
 
-       archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
42359
 
-      else
42360
 
-       ld_shlibs_GCJ=no
42361
 
-      fi
42362
 
-      ;;
42363
 
-
42364
 
-    cygwin* | mingw* | pw32*)
42365
 
-      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
42366
 
-      # as there is no search path for DLLs.
42367
 
-      hardcode_libdir_flag_spec_GCJ='-L$libdir'
42368
 
-      allow_undefined_flag_GCJ=unsupported
42369
 
-      always_export_symbols_GCJ=no
42370
 
-      enable_shared_with_static_runtimes_GCJ=yes
42371
 
-      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
42372
 
-
42373
 
-      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
42374
 
-        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
42375
 
-       # If the export-symbols file already is a .def file (1st line
42376
 
-       # is EXPORTS), use it as is; otherwise, prepend...
42377
 
-       archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
42378
 
-         cp $export_symbols $output_objdir/$soname.def;
42379
 
-       else
42380
 
-         echo EXPORTS > $output_objdir/$soname.def;
42381
 
-         cat $export_symbols >> $output_objdir/$soname.def;
42382
 
-       fi~
42383
 
-       $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
42384
 
-      else
42385
 
-       ld_shlibs_GCJ=no
42386
 
-      fi
42387
 
-      ;;
42388
 
-
42389
 
-    interix[3-9]*)
42390
 
-      hardcode_direct_GCJ=no
42391
 
-      hardcode_shlibpath_var_GCJ=no
42392
 
-      hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
42393
 
-      export_dynamic_flag_spec_GCJ='${wl}-E'
42394
 
-      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
42395
 
-      # Instead, shared libraries are loaded at an image base (0x10000000 by
42396
 
-      # default) and relocated if they conflict, which is a slow very memory
42397
 
-      # consuming and fragmenting process.  To avoid this, we pick a random,
42398
 
-      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
42399
 
-      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
42400
 
-      archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
42401
 
-      archive_expsym_cmds_GCJ='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'
42402
 
-      ;;
42403
 
-
42404
 
-    gnu* | linux* | k*bsd*-gnu)
42405
 
-      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
42406
 
-       tmp_addflag=
42407
 
-       case $cc_basename,$host_cpu in
42408
 
-       pgcc*)                          # Portland Group C compiler
42409
 
-         whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
42410
 
-         tmp_addflag=' $pic_flag'
42411
 
-         ;;
42412
 
-       pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
42413
 
-         whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
42414
 
-         tmp_addflag=' $pic_flag -Mnomain' ;;
42415
 
-       ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
42416
 
-         tmp_addflag=' -i_dynamic' ;;
42417
 
-       efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
42418
 
-         tmp_addflag=' -i_dynamic -nofor_main' ;;
42419
 
-       ifc* | ifort*)                  # Intel Fortran compiler
42420
 
-         tmp_addflag=' -nofor_main' ;;
42421
 
+      dgux*)
42422
 
+       case $cc_basename in
42423
 
+         ec++*)
42424
 
+           lt_prog_compiler_pic_CXX='-KPIC'
42425
 
+           ;;
42426
 
+         ghcx*)
42427
 
+           # Green Hills C++ Compiler
42428
 
+           lt_prog_compiler_pic_CXX='-pic'
42429
 
+           ;;
42430
 
+         *)
42431
 
+           ;;
42432
 
+       esac
42433
 
+       ;;
42434
 
+      freebsd* | dragonfly*)
42435
 
+       # FreeBSD uses GNU C++
42436
 
+       ;;
42437
 
+      hpux9* | hpux10* | hpux11*)
42438
 
+       case $cc_basename in
42439
 
+         CC*)
42440
 
+           lt_prog_compiler_wl_CXX='-Wl,'
42441
 
+           lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
42442
 
+           if test "$host_cpu" != ia64; then
42443
 
+             lt_prog_compiler_pic_CXX='+Z'
42444
 
+           fi
42445
 
+           ;;
42446
 
+         aCC*)
42447
 
+           lt_prog_compiler_wl_CXX='-Wl,'
42448
 
+           lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
42449
 
+           case $host_cpu in
42450
 
+           hppa*64*|ia64*)
42451
 
+             # +Z the default
42452
 
+             ;;
42453
 
+           *)
42454
 
+             lt_prog_compiler_pic_CXX='+Z'
42455
 
+             ;;
42456
 
+           esac
42457
 
+           ;;
42458
 
+         *)
42459
 
+           ;;
42460
 
+       esac
42461
 
+       ;;
42462
 
+      interix*)
42463
 
+       # This is c89, which is MS Visual C++ (no shared libs)
42464
 
+       # Anyone wants to do a port?
42465
 
+       ;;
42466
 
+      irix5* | irix6* | nonstopux*)
42467
 
+       case $cc_basename in
42468
 
+         CC*)
42469
 
+           lt_prog_compiler_wl_CXX='-Wl,'
42470
 
+           lt_prog_compiler_static_CXX='-non_shared'
42471
 
+           # CC pic flag -KPIC is the default.
42472
 
+           ;;
42473
 
+         *)
42474
 
+           ;;
42475
 
+       esac
42476
 
+       ;;
42477
 
+      linux* | k*bsd*-gnu)
42478
 
+       case $cc_basename in
42479
 
+         KCC*)
42480
 
+           # KAI C++ Compiler
42481
 
+           lt_prog_compiler_wl_CXX='--backend -Wl,'
42482
 
+           lt_prog_compiler_pic_CXX='-fPIC'
42483
 
+           ;;
42484
 
+         ecpc* )
42485
 
+           # old Intel C++ for x86_64 which still supported -KPIC.
42486
 
+           lt_prog_compiler_wl_CXX='-Wl,'
42487
 
+           lt_prog_compiler_pic_CXX='-KPIC'
42488
 
+           lt_prog_compiler_static_CXX='-static'
42489
 
+           ;;
42490
 
+         icpc* )
42491
 
+           # Intel C++, used to be incompatible with GCC.
42492
 
+           # ICC 10 doesn't accept -KPIC any more.
42493
 
+           lt_prog_compiler_wl_CXX='-Wl,'
42494
 
+           lt_prog_compiler_pic_CXX='-fPIC'
42495
 
+           lt_prog_compiler_static_CXX='-static'
42496
 
+           ;;
42497
 
+         pgCC* | pgcpp*)
42498
 
+           # Portland Group C++ compiler
42499
 
+           lt_prog_compiler_wl_CXX='-Wl,'
42500
 
+           lt_prog_compiler_pic_CXX='-fpic'
42501
 
+           lt_prog_compiler_static_CXX='-Bstatic'
42502
 
+           ;;
42503
 
+         cxx*)
42504
 
+           # Compaq C++
42505
 
+           # Make sure the PIC flag is empty.  It appears that all Alpha
42506
 
+           # Linux and Compaq Tru64 Unix objects are PIC.
42507
 
+           lt_prog_compiler_pic_CXX=
42508
 
+           lt_prog_compiler_static_CXX='-non_shared'
42509
 
+           ;;
42510
 
+         xlc* | xlC*)
42511
 
+           # IBM XL 8.0 on PPC
42512
 
+           lt_prog_compiler_wl_CXX='-Wl,'
42513
 
+           lt_prog_compiler_pic_CXX='-qpic'
42514
 
+           lt_prog_compiler_static_CXX='-qstaticlink'
42515
 
+           ;;
42516
 
+         *)
42517
 
+           case `$CC -V 2>&1 | sed 5q` in
42518
 
+           *Sun\ C*)
42519
 
+             # Sun C++ 5.9
42520
 
+             lt_prog_compiler_pic_CXX='-KPIC'
42521
 
+             lt_prog_compiler_static_CXX='-Bstatic'
42522
 
+             lt_prog_compiler_wl_CXX='-Qoption ld '
42523
 
+             ;;
42524
 
+           esac
42525
 
+           ;;
42526
 
+       esac
42527
 
+       ;;
42528
 
+      lynxos*)
42529
 
+       ;;
42530
 
+      m88k*)
42531
 
+       ;;
42532
 
+      mvs*)
42533
 
+       case $cc_basename in
42534
 
+         cxx*)
42535
 
+           lt_prog_compiler_pic_CXX='-W c,exportall'
42536
 
+           ;;
42537
 
+         *)
42538
 
+           ;;
42539
 
+       esac
42540
 
+       ;;
42541
 
+      netbsd* | netbsdelf*-gnu)
42542
 
+       ;;
42543
 
+      *qnx* | *nto*)
42544
 
+        # QNX uses GNU C++, but need to define -shared option too, otherwise
42545
 
+        # it will coredump.
42546
 
+        lt_prog_compiler_pic_CXX='-fPIC -shared'
42547
 
+        ;;
42548
 
+      osf3* | osf4* | osf5*)
42549
 
+       case $cc_basename in
42550
 
+         KCC*)
42551
 
+           lt_prog_compiler_wl_CXX='--backend -Wl,'
42552
 
+           ;;
42553
 
+         RCC*)
42554
 
+           # Rational C++ 2.4.1
42555
 
+           lt_prog_compiler_pic_CXX='-pic'
42556
 
+           ;;
42557
 
+         cxx*)
42558
 
+           # Digital/Compaq C++
42559
 
+           lt_prog_compiler_wl_CXX='-Wl,'
42560
 
+           # Make sure the PIC flag is empty.  It appears that all Alpha
42561
 
+           # Linux and Compaq Tru64 Unix objects are PIC.
42562
 
+           lt_prog_compiler_pic_CXX=
42563
 
+           lt_prog_compiler_static_CXX='-non_shared'
42564
 
+           ;;
42565
 
+         *)
42566
 
+           ;;
42567
 
+       esac
42568
 
+       ;;
42569
 
+      psos*)
42570
 
+       ;;
42571
 
+      solaris*)
42572
 
+       case $cc_basename in
42573
 
+         CC*)
42574
 
+           # Sun C++ 4.2, 5.x and Centerline C++
42575
 
+           lt_prog_compiler_pic_CXX='-KPIC'
42576
 
+           lt_prog_compiler_static_CXX='-Bstatic'
42577
 
+           lt_prog_compiler_wl_CXX='-Qoption ld '
42578
 
+           ;;
42579
 
+         gcx*)
42580
 
+           # Green Hills C++ Compiler
42581
 
+           lt_prog_compiler_pic_CXX='-PIC'
42582
 
+           ;;
42583
 
+         *)
42584
 
+           ;;
42585
 
+       esac
42586
 
+       ;;
42587
 
+      sunos4*)
42588
 
+       case $cc_basename in
42589
 
+         CC*)
42590
 
+           # Sun C++ 4.x
42591
 
+           lt_prog_compiler_pic_CXX='-pic'
42592
 
+           lt_prog_compiler_static_CXX='-Bstatic'
42593
 
+           ;;
42594
 
+         lcc*)
42595
 
+           # Lucid
42596
 
+           lt_prog_compiler_pic_CXX='-pic'
42597
 
+           ;;
42598
 
+         *)
42599
 
+           ;;
42600
 
+       esac
42601
 
+       ;;
42602
 
+      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
42603
 
+       case $cc_basename in
42604
 
+         CC*)
42605
 
+           lt_prog_compiler_wl_CXX='-Wl,'
42606
 
+           lt_prog_compiler_pic_CXX='-KPIC'
42607
 
+           lt_prog_compiler_static_CXX='-Bstatic'
42608
 
+           ;;
42609
 
        esac
42610
 
-       case `$CC -V 2>&1 | sed 5q` in
42611
 
-       *Sun\ C*)                       # Sun C 5.9
42612
 
-         whole_archive_flag_spec_GCJ='${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'
42613
 
-         tmp_sharedflag='-G' ;;
42614
 
-       *Sun\ F*)                       # Sun Fortran 8.3
42615
 
-         tmp_sharedflag='-G' ;;
42616
 
-       *)
42617
 
-         tmp_sharedflag='-shared' ;;
42618
 
+       ;;
42619
 
+      tandem*)
42620
 
+       case $cc_basename in
42621
 
+         NCC*)
42622
 
+           # NonStop-UX NCC 3.20
42623
 
+           lt_prog_compiler_pic_CXX='-KPIC'
42624
 
+           ;;
42625
 
+         *)
42626
 
+           ;;
42627
 
        esac
42628
 
-       archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
42629
 
-
42630
 
-       if test $supports_anon_versioning = yes; then
42631
 
-         archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
42632
 
-  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
42633
 
-  $echo "local: *; };" >> $output_objdir/$libname.ver~
42634
 
-         $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
42635
 
-       fi
42636
 
-      else
42637
 
-       ld_shlibs_GCJ=no
42638
 
-      fi
42639
 
-      ;;
42640
 
-
42641
 
-    netbsd*)
42642
 
-      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
42643
 
-       archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
42644
 
-       wlarc=
42645
 
-      else
42646
 
-       archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
42647
 
-       archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
42648
 
-      fi
42649
 
-      ;;
42650
 
-
42651
 
-    solaris*)
42652
 
-      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
42653
 
-       ld_shlibs_GCJ=no
42654
 
-       cat <<EOF 1>&2
42655
 
-
42656
 
-*** Warning: The releases 2.8.* of the GNU linker cannot reliably
42657
 
-*** create shared libraries on Solaris systems.  Therefore, libtool
42658
 
-*** is disabling shared libraries support.  We urge you to upgrade GNU
42659
 
-*** binutils to release 2.9.1 or newer.  Another option is to modify
42660
 
-*** your PATH or compiler configuration so that the native linker is
42661
 
-*** used, and then restart.
42662
 
-
42663
 
-EOF
42664
 
-      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
42665
 
-       archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
42666
 
-       archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
42667
 
-      else
42668
 
-       ld_shlibs_GCJ=no
42669
 
-      fi
42670
 
-      ;;
42671
 
-
42672
 
-    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
42673
 
-      case `$LD -v 2>&1` in
42674
 
-        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
42675
 
-       ld_shlibs_GCJ=no
42676
 
-       cat <<_LT_EOF 1>&2
42677
 
-
42678
 
-*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
42679
 
-*** reliably create shared libraries on SCO systems.  Therefore, libtool
42680
 
-*** is disabling shared libraries support.  We urge you to upgrade GNU
42681
 
-*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
42682
 
-*** your PATH or compiler configuration so that the native linker is
42683
 
-*** used, and then restart.
42684
 
-
42685
 
-_LT_EOF
42686
 
        ;;
42687
 
-       *)
42688
 
-         if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
42689
 
-           hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
42690
 
-           archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
42691
 
-           archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
42692
 
-         else
42693
 
-           ld_shlibs_GCJ=no
42694
 
-         fi
42695
 
+      vxworks*)
42696
 
+       ;;
42697
 
+      *)
42698
 
+       lt_prog_compiler_can_build_shared_CXX=no
42699
 
        ;;
42700
 
-      esac
42701
 
-      ;;
42702
 
-
42703
 
-    sunos4*)
42704
 
-      archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
42705
 
-      wlarc=
42706
 
-      hardcode_direct_GCJ=yes
42707
 
-      hardcode_shlibpath_var_GCJ=no
42708
 
-      ;;
42709
 
-
42710
 
-    *)
42711
 
-      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
42712
 
-       archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
42713
 
-       archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
42714
 
-      else
42715
 
-       ld_shlibs_GCJ=no
42716
 
-      fi
42717
 
-      ;;
42718
 
     esac
42719
 
+  fi
42720
 
 
42721
 
-    if test "$ld_shlibs_GCJ" = no; then
42722
 
-      runpath_var=
42723
 
-      hardcode_libdir_flag_spec_GCJ=
42724
 
-      export_dynamic_flag_spec_GCJ=
42725
 
-      whole_archive_flag_spec_GCJ=
42726
 
-    fi
42727
 
-  else
42728
 
-    # PORTME fill in a description of your system's linker (not GNU ld)
42729
 
-    case $host_os in
42730
 
-    aix3*)
42731
 
-      allow_undefined_flag_GCJ=unsupported
42732
 
-      always_export_symbols_GCJ=yes
42733
 
-      archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
42734
 
-      # Note: this linker hardcodes the directories in LIBPATH if there
42735
 
-      # are no directories specified by -L.
42736
 
-      hardcode_minus_L_GCJ=yes
42737
 
-      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
42738
 
-       # Neither direct hardcoding nor static linking is supported with a
42739
 
-       # broken collect2.
42740
 
-       hardcode_direct_GCJ=unsupported
42741
 
-      fi
42742
 
-      ;;
42743
 
-
42744
 
-    aix[4-9]*)
42745
 
-      if test "$host_cpu" = ia64; then
42746
 
-       # On IA64, the linker does run time linking by default, so we don't
42747
 
-       # have to do anything special.
42748
 
-       aix_use_runtimelinking=no
42749
 
-       exp_sym_flag='-Bexport'
42750
 
-       no_entry_flag=""
42751
 
-      else
42752
 
-       # If we're using GNU nm, then we don't want the "-C" option.
42753
 
-       # -C means demangle to AIX nm, but means don't demangle with GNU nm
42754
 
-       if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
42755
 
-         export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
42756
 
-       else
42757
 
-         export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
42758
 
-       fi
42759
 
-       aix_use_runtimelinking=no
42760
 
-
42761
 
-       # Test if we are trying to use run time linking or normal
42762
 
-       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
42763
 
-       # need to do runtime linking.
42764
 
-       case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
42765
 
-         for ld_flag in $LDFLAGS; do
42766
 
-         if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
42767
 
-           aix_use_runtimelinking=yes
42768
 
-           break
42769
 
-         fi
42770
 
-         done
42771
 
-         ;;
42772
 
-       esac
42773
 
-
42774
 
-       exp_sym_flag='-bexport'
42775
 
-       no_entry_flag='-bnoentry'
42776
 
-      fi
42777
 
-
42778
 
-      # When large executables or shared objects are built, AIX ld can
42779
 
-      # have problems creating the table of contents.  If linking a library
42780
 
-      # or program results in "error TOC overflow" add -mminimal-toc to
42781
 
-      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
42782
 
-      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
42783
 
-
42784
 
-      archive_cmds_GCJ=''
42785
 
-      hardcode_direct_GCJ=yes
42786
 
-      hardcode_libdir_separator_GCJ=':'
42787
 
-      link_all_deplibs_GCJ=yes
42788
 
-
42789
 
-      if test "$GCC" = yes; then
42790
 
-       case $host_os in aix4.[012]|aix4.[012].*)
42791
 
-       # We only want to do this on AIX 4.2 and lower, the check
42792
 
-       # below for broken collect2 doesn't work under 4.3+
42793
 
-         collect2name=`${CC} -print-prog-name=collect2`
42794
 
-         if test -f "$collect2name" && \
42795
 
-          strings "$collect2name" | grep resolve_lib_name >/dev/null
42796
 
-         then
42797
 
-         # We have reworked collect2
42798
 
-         :
42799
 
-         else
42800
 
-         # We have old collect2
42801
 
-         hardcode_direct_GCJ=unsupported
42802
 
-         # It fails to find uninstalled libraries when the uninstalled
42803
 
-         # path is not listed in the libpath.  Setting hardcode_minus_L
42804
 
-         # to unsupported forces relinking
42805
 
-         hardcode_minus_L_GCJ=yes
42806
 
-         hardcode_libdir_flag_spec_GCJ='-L$libdir'
42807
 
-         hardcode_libdir_separator_GCJ=
42808
 
-         fi
42809
 
-         ;;
42810
 
-       esac
42811
 
-       shared_flag='-shared'
42812
 
-       if test "$aix_use_runtimelinking" = yes; then
42813
 
-         shared_flag="$shared_flag "'${wl}-G'
42814
 
-       fi
42815
 
-      else
42816
 
-       # not using gcc
42817
 
-       if test "$host_cpu" = ia64; then
42818
 
-       # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
42819
 
-       # chokes on -Wl,-G. The following line is correct:
42820
 
-         shared_flag='-G'
42821
 
-       else
42822
 
-         if test "$aix_use_runtimelinking" = yes; then
42823
 
-           shared_flag='${wl}-G'
42824
 
-         else
42825
 
-           shared_flag='${wl}-bM:SRE'
42826
 
-         fi
42827
 
-       fi
42828
 
-      fi
42829
 
-
42830
 
-      # It seems that -bexpall does not export symbols beginning with
42831
 
-      # underscore (_), so it is better to generate a list of symbols to export.
42832
 
-      always_export_symbols_GCJ=yes
42833
 
-      if test "$aix_use_runtimelinking" = yes; then
42834
 
-       # Warning - without using the other runtime loading flags (-brtl),
42835
 
-       # -berok will link without error, but may produce a broken library.
42836
 
-       allow_undefined_flag_GCJ='-berok'
42837
 
-       # Determine the default libpath from the value encoded in an empty executable.
42838
 
-       cat >conftest.$ac_ext <<_ACEOF
42839
 
-/* confdefs.h.  */
42840
 
-_ACEOF
42841
 
-cat confdefs.h >>conftest.$ac_ext
42842
 
-cat >>conftest.$ac_ext <<_ACEOF
42843
 
-/* end confdefs.h.  */
42844
 
-
42845
 
-int
42846
 
-main ()
42847
 
-{
42848
 
-
42849
 
-  ;
42850
 
-  return 0;
42851
 
-}
42852
 
-_ACEOF
42853
 
-rm -f conftest.$ac_objext conftest$ac_exeext
42854
 
-if { (ac_try="$ac_link"
42855
 
-case "(($ac_try" in
42856
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42857
 
-  *) ac_try_echo=$ac_try;;
42858
 
-esac
42859
 
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
42860
 
-$as_echo "$ac_try_echo") >&5
42861
 
-  (eval "$ac_link") 2>conftest.er1
42862
 
-  ac_status=$?
42863
 
-  grep -v '^ *+' conftest.er1 >conftest.err
42864
 
-  rm -f conftest.er1
42865
 
-  cat conftest.err >&5
42866
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
42867
 
-  (exit $ac_status); } && {
42868
 
-        test -z "$ac_c_werror_flag" ||
42869
 
-        test ! -s conftest.err
42870
 
-       } && test -s conftest$ac_exeext && {
42871
 
-        test "$cross_compiling" = yes ||
42872
 
-        $as_test_x conftest$ac_exeext
42873
 
-       }; then
42874
 
-
42875
 
-lt_aix_libpath_sed='
42876
 
-    /Import File Strings/,/^$/ {
42877
 
-       /^0/ {
42878
 
-           s/^0  *\(.*\)$/\1/
42879
 
-           p
42880
 
-       }
42881
 
-    }'
42882
 
-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
42883
 
-# Check for a 64-bit object if we didn't find anything.
42884
 
-if test -z "$aix_libpath"; then
42885
 
-  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
42886
 
-fi
42887
 
-else
42888
 
-  $as_echo "$as_me: failed program was:" >&5
42889
 
-sed 's/^/| /' conftest.$ac_ext >&5
42890
 
-
42891
 
-
42892
 
-fi
42893
 
-
42894
 
-rm -rf conftest.dSYM
42895
 
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42896
 
-      conftest$ac_exeext conftest.$ac_ext
42897
 
-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
42898
 
-
42899
 
-       hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
42900
 
-       archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
42901
 
-       else
42902
 
-       if test "$host_cpu" = ia64; then
42903
 
-         hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
42904
 
-         allow_undefined_flag_GCJ="-z nodefs"
42905
 
-         archive_expsym_cmds_GCJ="\$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"
42906
 
-       else
42907
 
-        # Determine the default libpath from the value encoded in an empty executable.
42908
 
-        cat >conftest.$ac_ext <<_ACEOF
42909
 
-/* confdefs.h.  */
42910
 
-_ACEOF
42911
 
-cat confdefs.h >>conftest.$ac_ext
42912
 
-cat >>conftest.$ac_ext <<_ACEOF
42913
 
-/* end confdefs.h.  */
42914
 
-
42915
 
-int
42916
 
-main ()
42917
 
-{
42918
 
-
42919
 
-  ;
42920
 
-  return 0;
42921
 
-}
42922
 
-_ACEOF
42923
 
-rm -f conftest.$ac_objext conftest$ac_exeext
42924
 
-if { (ac_try="$ac_link"
42925
 
-case "(($ac_try" in
42926
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42927
 
-  *) ac_try_echo=$ac_try;;
42928
 
-esac
42929
 
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
42930
 
-$as_echo "$ac_try_echo") >&5
42931
 
-  (eval "$ac_link") 2>conftest.er1
42932
 
-  ac_status=$?
42933
 
-  grep -v '^ *+' conftest.er1 >conftest.err
42934
 
-  rm -f conftest.er1
42935
 
-  cat conftest.err >&5
42936
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
42937
 
-  (exit $ac_status); } && {
42938
 
-        test -z "$ac_c_werror_flag" ||
42939
 
-        test ! -s conftest.err
42940
 
-       } && test -s conftest$ac_exeext && {
42941
 
-        test "$cross_compiling" = yes ||
42942
 
-        $as_test_x conftest$ac_exeext
42943
 
-       }; then
42944
 
-
42945
 
-lt_aix_libpath_sed='
42946
 
-    /Import File Strings/,/^$/ {
42947
 
-       /^0/ {
42948
 
-           s/^0  *\(.*\)$/\1/
42949
 
-           p
42950
 
-       }
42951
 
-    }'
42952
 
-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
42953
 
-# Check for a 64-bit object if we didn't find anything.
42954
 
-if test -z "$aix_libpath"; then
42955
 
-  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
42956
 
-fi
42957
 
-else
42958
 
-  $as_echo "$as_me: failed program was:" >&5
42959
 
-sed 's/^/| /' conftest.$ac_ext >&5
42960
 
-
42961
 
-
42962
 
-fi
42963
 
-
42964
 
-rm -rf conftest.dSYM
42965
 
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42966
 
-      conftest$ac_exeext conftest.$ac_ext
42967
 
-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
42968
 
-
42969
 
-        hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
42970
 
-         # Warning - without using the other run time loading flags,
42971
 
-         # -berok will link without error, but may produce a broken library.
42972
 
-         no_undefined_flag_GCJ=' ${wl}-bernotok'
42973
 
-         allow_undefined_flag_GCJ=' ${wl}-berok'
42974
 
-         # Exported symbols can be pulled into shared objects from archives
42975
 
-         whole_archive_flag_spec_GCJ='$convenience'
42976
 
-         archive_cmds_need_lc_GCJ=yes
42977
 
-         # This is similar to how AIX traditionally builds its shared libraries.
42978
 
-         archive_expsym_cmds_GCJ="\$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'
42979
 
-       fi
42980
 
-      fi
42981
 
-      ;;
42982
 
-
42983
 
-    amigaos*)
42984
 
-      archive_cmds_GCJ='$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)'
42985
 
-      hardcode_libdir_flag_spec_GCJ='-L$libdir'
42986
 
-      hardcode_minus_L_GCJ=yes
42987
 
-      # see comment about different semantics on the GNU ld section
42988
 
-      ld_shlibs_GCJ=no
42989
 
-      ;;
42990
 
+case $host_os in
42991
 
+  # For platforms which do not support PIC, -DPIC is meaningless:
42992
 
+  *djgpp*)
42993
 
+    lt_prog_compiler_pic_CXX=
42994
 
+    ;;
42995
 
+  *)
42996
 
+    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
42997
 
+    ;;
42998
 
+esac
42999
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
43000
 
+$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
43001
 
 
43002
 
-    bsdi[45]*)
43003
 
-      export_dynamic_flag_spec_GCJ=-rdynamic
43004
 
-      ;;
43005
 
 
43006
 
-    cygwin* | mingw* | pw32*)
43007
 
-      # When not using gcc, we currently assume that we are using
43008
 
-      # Microsoft Visual C++.
43009
 
-      # hardcode_libdir_flag_spec is actually meaningless, as there is
43010
 
-      # no search path for DLLs.
43011
 
-      hardcode_libdir_flag_spec_GCJ=' '
43012
 
-      allow_undefined_flag_GCJ=unsupported
43013
 
-      # Tell ltmain to make .lib files, not .a files.
43014
 
-      libext=lib
43015
 
-      # Tell ltmain to make .dll files, not .so files.
43016
 
-      shrext_cmds=".dll"
43017
 
-      # FIXME: Setting linknames here is a bad hack.
43018
 
-      archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
43019
 
-      # The linker will automatically build a .lib file if we build a DLL.
43020
 
-      old_archive_From_new_cmds_GCJ='true'
43021
 
-      # FIXME: Should let the user specify the lib program.
43022
 
-      old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
43023
 
-      fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
43024
 
-      enable_shared_with_static_runtimes_GCJ=yes
43025
 
-      ;;
43026
 
 
43027
 
-    darwin* | rhapsody*)
43028
 
-      case $host_os in
43029
 
-        rhapsody* | darwin1.[012])
43030
 
-         allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
43031
 
-         ;;
43032
 
-       *) # Darwin 1.3 on
43033
 
-         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
43034
 
-           allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
43035
 
-         else
43036
 
-           case ${MACOSX_DEPLOYMENT_TARGET} in
43037
 
-             10.[012])
43038
 
-               allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
43039
 
-               ;;
43040
 
-             10.*)
43041
 
-               allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
43042
 
-               ;;
43043
 
-           esac
43044
 
-         fi
43045
 
-         ;;
43046
 
-      esac
43047
 
-      archive_cmds_need_lc_GCJ=no
43048
 
-      hardcode_direct_GCJ=no
43049
 
-      hardcode_automatic_GCJ=yes
43050
 
-      hardcode_shlibpath_var_GCJ=unsupported
43051
 
-      whole_archive_flag_spec_GCJ=''
43052
 
-      link_all_deplibs_GCJ=yes
43053
 
-    if test "$GCC" = yes ; then
43054
 
-       output_verbose_link_cmd='echo'
43055
 
-        archive_cmds_GCJ="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
43056
 
-        module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
43057
 
-        archive_expsym_cmds_GCJ="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}"
43058
 
-        module_expsym_cmds_GCJ="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}"
43059
 
-    else
43060
 
-      case $cc_basename in
43061
 
-        xlc*)
43062
 
-         output_verbose_link_cmd='echo'
43063
 
-         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
43064
 
-         module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
43065
 
-          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
43066
 
-         archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
43067
 
-          module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
43068
 
-          ;;
43069
 
-       *)
43070
 
-         ld_shlibs_GCJ=no
43071
 
-          ;;
43072
 
-      esac
43073
 
-    fi
43074
 
-      ;;
43075
 
+#
43076
 
+# Check to make sure the PIC flag actually works.
43077
 
+#
43078
 
+if test -n "$lt_prog_compiler_pic_CXX"; then
43079
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
43080
 
+$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
43081
 
+if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
43082
 
+  $as_echo_n "(cached) " >&6
43083
 
+else
43084
 
+  lt_cv_prog_compiler_pic_works_CXX=no
43085
 
+   ac_outfile=conftest.$ac_objext
43086
 
+   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
43087
 
+   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
43088
 
+   # Insert the option either (1) after the last *FLAGS variable, or
43089
 
+   # (2) before a word containing "conftest.", or (3) at the end.
43090
 
+   # Note that $ac_compile itself does not contain backslashes and begins
43091
 
+   # with a dollar sign (not a hyphen), so the echo should work correctly.
43092
 
+   # The option is referenced via a variable to avoid confusing sed.
43093
 
+   lt_compile=`echo "$ac_compile" | $SED \
43094
 
+   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
43095
 
+   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
43096
 
+   -e 's:$: $lt_compiler_flag:'`
43097
 
+   (eval echo "\"\$as_me:13665: $lt_compile\"" >&5)
43098
 
+   (eval "$lt_compile" 2>conftest.err)
43099
 
+   ac_status=$?
43100
 
+   cat conftest.err >&5
43101
 
+   echo "$as_me:13669: \$? = $ac_status" >&5
43102
 
+   if (exit $ac_status) && test -s "$ac_outfile"; then
43103
 
+     # The compiler can only warn and ignore the option if not recognized
43104
 
+     # So say no if there are warnings other than the usual output.
43105
 
+     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
43106
 
+     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
43107
 
+     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
43108
 
+       lt_cv_prog_compiler_pic_works_CXX=yes
43109
 
+     fi
43110
 
+   fi
43111
 
+   $RM conftest*
43112
 
 
43113
 
-    dgux*)
43114
 
-      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
43115
 
-      hardcode_libdir_flag_spec_GCJ='-L$libdir'
43116
 
-      hardcode_shlibpath_var_GCJ=no
43117
 
-      ;;
43118
 
+fi
43119
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
43120
 
+$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
43121
 
 
43122
 
-    freebsd1*)
43123
 
-      ld_shlibs_GCJ=no
43124
 
-      ;;
43125
 
+if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
43126
 
+    case $lt_prog_compiler_pic_CXX in
43127
 
+     "" | " "*) ;;
43128
 
+     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
43129
 
+     esac
43130
 
+else
43131
 
+    lt_prog_compiler_pic_CXX=
43132
 
+     lt_prog_compiler_can_build_shared_CXX=no
43133
 
+fi
43134
 
 
43135
 
-    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
43136
 
-    # support.  Future versions do this automatically, but an explicit c++rt0.o
43137
 
-    # does not break anything, and helps significantly (at the cost of a little
43138
 
-    # extra space).
43139
 
-    freebsd2.2*)
43140
 
-      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
43141
 
-      hardcode_libdir_flag_spec_GCJ='-R$libdir'
43142
 
-      hardcode_direct_GCJ=yes
43143
 
-      hardcode_shlibpath_var_GCJ=no
43144
 
-      ;;
43145
 
+fi
43146
 
 
43147
 
-    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
43148
 
-    freebsd2*)
43149
 
-      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
43150
 
-      hardcode_direct_GCJ=yes
43151
 
-      hardcode_minus_L_GCJ=yes
43152
 
-      hardcode_shlibpath_var_GCJ=no
43153
 
-      ;;
43154
 
 
43155
 
-    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
43156
 
-    freebsd* | dragonfly*)
43157
 
-      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
43158
 
-      hardcode_libdir_flag_spec_GCJ='-R$libdir'
43159
 
-      hardcode_direct_GCJ=yes
43160
 
-      hardcode_shlibpath_var_GCJ=no
43161
 
-      ;;
43162
 
 
43163
 
-    hpux9*)
43164
 
-      if test "$GCC" = yes; then
43165
 
-       archive_cmds_GCJ='$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'
43166
 
-      else
43167
 
-       archive_cmds_GCJ='$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'
43168
 
-      fi
43169
 
-      hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
43170
 
-      hardcode_libdir_separator_GCJ=:
43171
 
-      hardcode_direct_GCJ=yes
43172
 
+#
43173
 
+# Check to make sure the static flag actually works.
43174
 
+#
43175
 
+wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
43176
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
43177
 
+$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
43178
 
+if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
43179
 
+  $as_echo_n "(cached) " >&6
43180
 
+else
43181
 
+  lt_cv_prog_compiler_static_works_CXX=no
43182
 
+   save_LDFLAGS="$LDFLAGS"
43183
 
+   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
43184
 
+   echo "$lt_simple_link_test_code" > conftest.$ac_ext
43185
 
+   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
43186
 
+     # The linker can only warn and ignore the option if not recognized
43187
 
+     # So say no if there are warnings
43188
 
+     if test -s conftest.err; then
43189
 
+       # Append any errors to the config.log.
43190
 
+       cat conftest.err 1>&5
43191
 
+       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
43192
 
+       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
43193
 
+       if diff conftest.exp conftest.er2 >/dev/null; then
43194
 
+         lt_cv_prog_compiler_static_works_CXX=yes
43195
 
+       fi
43196
 
+     else
43197
 
+       lt_cv_prog_compiler_static_works_CXX=yes
43198
 
+     fi
43199
 
+   fi
43200
 
+   $RM -r conftest*
43201
 
+   LDFLAGS="$save_LDFLAGS"
43202
 
 
43203
 
-      # hardcode_minus_L: Not really in the search PATH,
43204
 
-      # but as the default location of the library.
43205
 
-      hardcode_minus_L_GCJ=yes
43206
 
-      export_dynamic_flag_spec_GCJ='${wl}-E'
43207
 
-      ;;
43208
 
+fi
43209
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
43210
 
+$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
43211
 
 
43212
 
-    hpux10*)
43213
 
-      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
43214
 
-       archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
43215
 
-      else
43216
 
-       archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
43217
 
-      fi
43218
 
-      if test "$with_gnu_ld" = no; then
43219
 
-       hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
43220
 
-       hardcode_libdir_separator_GCJ=:
43221
 
+if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
43222
 
+    :
43223
 
+else
43224
 
+    lt_prog_compiler_static_CXX=
43225
 
+fi
43226
 
 
43227
 
-       hardcode_direct_GCJ=yes
43228
 
-       export_dynamic_flag_spec_GCJ='${wl}-E'
43229
 
 
43230
 
-       # hardcode_minus_L: Not really in the search PATH,
43231
 
-       # but as the default location of the library.
43232
 
-       hardcode_minus_L_GCJ=yes
43233
 
-      fi
43234
 
-      ;;
43235
 
 
43236
 
-    hpux11*)
43237
 
-      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
43238
 
-       case $host_cpu in
43239
 
-       hppa*64*)
43240
 
-         archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
43241
 
-         ;;
43242
 
-       ia64*)
43243
 
-         archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
43244
 
-         ;;
43245
 
-       *)
43246
 
-         archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
43247
 
-         ;;
43248
 
-       esac
43249
 
-      else
43250
 
-       case $host_cpu in
43251
 
-       hppa*64*)
43252
 
-         archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
43253
 
-         ;;
43254
 
-       ia64*)
43255
 
-         archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
43256
 
-         ;;
43257
 
-       *)
43258
 
-         archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
43259
 
-         ;;
43260
 
-       esac
43261
 
-      fi
43262
 
-      if test "$with_gnu_ld" = no; then
43263
 
-       hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
43264
 
-       hardcode_libdir_separator_GCJ=:
43265
 
 
43266
 
-       case $host_cpu in
43267
 
-       hppa*64*|ia64*)
43268
 
-         hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
43269
 
-         hardcode_direct_GCJ=no
43270
 
-         hardcode_shlibpath_var_GCJ=no
43271
 
-         ;;
43272
 
-       *)
43273
 
-         hardcode_direct_GCJ=yes
43274
 
-         export_dynamic_flag_spec_GCJ='${wl}-E'
43275
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
43276
 
+$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
43277
 
+if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
43278
 
+  $as_echo_n "(cached) " >&6
43279
 
+else
43280
 
+  lt_cv_prog_compiler_c_o_CXX=no
43281
 
+   $RM -r conftest 2>/dev/null
43282
 
+   mkdir conftest
43283
 
+   cd conftest
43284
 
+   mkdir out
43285
 
+   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
43286
 
 
43287
 
-         # hardcode_minus_L: Not really in the search PATH,
43288
 
-         # but as the default location of the library.
43289
 
-         hardcode_minus_L_GCJ=yes
43290
 
-         ;;
43291
 
-       esac
43292
 
-      fi
43293
 
-      ;;
43294
 
+   lt_compiler_flag="-o out/conftest2.$ac_objext"
43295
 
+   # Insert the option either (1) after the last *FLAGS variable, or
43296
 
+   # (2) before a word containing "conftest.", or (3) at the end.
43297
 
+   # Note that $ac_compile itself does not contain backslashes and begins
43298
 
+   # with a dollar sign (not a hyphen), so the echo should work correctly.
43299
 
+   lt_compile=`echo "$ac_compile" | $SED \
43300
 
+   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
43301
 
+   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
43302
 
+   -e 's:$: $lt_compiler_flag:'`
43303
 
+   (eval echo "\"\$as_me:13764: $lt_compile\"" >&5)
43304
 
+   (eval "$lt_compile" 2>out/conftest.err)
43305
 
+   ac_status=$?
43306
 
+   cat out/conftest.err >&5
43307
 
+   echo "$as_me:13768: \$? = $ac_status" >&5
43308
 
+   if (exit $ac_status) && test -s out/conftest2.$ac_objext
43309
 
+   then
43310
 
+     # The compiler can only warn and ignore the option if not recognized
43311
 
+     # So say no if there are warnings
43312
 
+     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
43313
 
+     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
43314
 
+     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
43315
 
+       lt_cv_prog_compiler_c_o_CXX=yes
43316
 
+     fi
43317
 
+   fi
43318
 
+   chmod u+w . 2>&5
43319
 
+   $RM conftest*
43320
 
+   # SGI C++ compiler will create directory out/ii_files/ for
43321
 
+   # template instantiation
43322
 
+   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
43323
 
+   $RM out/* && rmdir out
43324
 
+   cd ..
43325
 
+   $RM -r conftest
43326
 
+   $RM conftest*
43327
 
 
43328
 
-    irix5* | irix6* | nonstopux*)
43329
 
-      if test "$GCC" = yes; then
43330
 
-       archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
43331
 
-      else
43332
 
-       archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
43333
 
-       hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
43334
 
-      fi
43335
 
-      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
43336
 
-      hardcode_libdir_separator_GCJ=:
43337
 
-      link_all_deplibs_GCJ=yes
43338
 
-      ;;
43339
 
+fi
43340
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
43341
 
+$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
43342
 
 
43343
 
-    netbsd*)
43344
 
-      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
43345
 
-       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
43346
 
-      else
43347
 
-       archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
43348
 
-      fi
43349
 
-      hardcode_libdir_flag_spec_GCJ='-R$libdir'
43350
 
-      hardcode_direct_GCJ=yes
43351
 
-      hardcode_shlibpath_var_GCJ=no
43352
 
-      ;;
43353
 
 
43354
 
-    newsos6)
43355
 
-      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
43356
 
-      hardcode_direct_GCJ=yes
43357
 
-      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
43358
 
-      hardcode_libdir_separator_GCJ=:
43359
 
-      hardcode_shlibpath_var_GCJ=no
43360
 
-      ;;
43361
 
 
43362
 
-    openbsd*)
43363
 
-      if test -f /usr/libexec/ld.so; then
43364
 
-       hardcode_direct_GCJ=yes
43365
 
-       hardcode_shlibpath_var_GCJ=no
43366
 
-       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
43367
 
-         archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
43368
 
-         archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
43369
 
-         hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
43370
 
-         export_dynamic_flag_spec_GCJ='${wl}-E'
43371
 
-       else
43372
 
-         case $host_os in
43373
 
-          openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
43374
 
-            archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
43375
 
-            hardcode_libdir_flag_spec_GCJ='-R$libdir'
43376
 
-            ;;
43377
 
-          *)
43378
 
-            archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
43379
 
-            hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
43380
 
-            ;;
43381
 
-         esac
43382
 
-        fi
43383
 
-      else
43384
 
-       ld_shlibs_GCJ=no
43385
 
-      fi
43386
 
-      ;;
43387
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
43388
 
+$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
43389
 
+if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
43390
 
+  $as_echo_n "(cached) " >&6
43391
 
+else
43392
 
+  lt_cv_prog_compiler_c_o_CXX=no
43393
 
+   $RM -r conftest 2>/dev/null
43394
 
+   mkdir conftest
43395
 
+   cd conftest
43396
 
+   mkdir out
43397
 
+   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
43398
 
+
43399
 
+   lt_compiler_flag="-o out/conftest2.$ac_objext"
43400
 
+   # Insert the option either (1) after the last *FLAGS variable, or
43401
 
+   # (2) before a word containing "conftest.", or (3) at the end.
43402
 
+   # Note that $ac_compile itself does not contain backslashes and begins
43403
 
+   # with a dollar sign (not a hyphen), so the echo should work correctly.
43404
 
+   lt_compile=`echo "$ac_compile" | $SED \
43405
 
+   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
43406
 
+   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
43407
 
+   -e 's:$: $lt_compiler_flag:'`
43408
 
+   (eval echo "\"\$as_me:13816: $lt_compile\"" >&5)
43409
 
+   (eval "$lt_compile" 2>out/conftest.err)
43410
 
+   ac_status=$?
43411
 
+   cat out/conftest.err >&5
43412
 
+   echo "$as_me:13820: \$? = $ac_status" >&5
43413
 
+   if (exit $ac_status) && test -s out/conftest2.$ac_objext
43414
 
+   then
43415
 
+     # The compiler can only warn and ignore the option if not recognized
43416
 
+     # So say no if there are warnings
43417
 
+     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
43418
 
+     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
43419
 
+     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
43420
 
+       lt_cv_prog_compiler_c_o_CXX=yes
43421
 
+     fi
43422
 
+   fi
43423
 
+   chmod u+w . 2>&5
43424
 
+   $RM conftest*
43425
 
+   # SGI C++ compiler will create directory out/ii_files/ for
43426
 
+   # template instantiation
43427
 
+   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
43428
 
+   $RM out/* && rmdir out
43429
 
+   cd ..
43430
 
+   $RM -r conftest
43431
 
+   $RM conftest*
43432
 
 
43433
 
-    os2*)
43434
 
-      hardcode_libdir_flag_spec_GCJ='-L$libdir'
43435
 
-      hardcode_minus_L_GCJ=yes
43436
 
-      allow_undefined_flag_GCJ=unsupported
43437
 
-      archive_cmds_GCJ='$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'
43438
 
-      old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
43439
 
-      ;;
43440
 
+fi
43441
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
43442
 
+$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
43443
 
 
43444
 
-    osf3*)
43445
 
-      if test "$GCC" = yes; then
43446
 
-       allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
43447
 
-       archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
43448
 
-      else
43449
 
-       allow_undefined_flag_GCJ=' -expect_unresolved \*'
43450
 
-       archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
43451
 
-      fi
43452
 
-      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
43453
 
-      hardcode_libdir_separator_GCJ=:
43454
 
-      ;;
43455
 
 
43456
 
-    osf4* | osf5*)     # as osf3* with the addition of -msym flag
43457
 
-      if test "$GCC" = yes; then
43458
 
-       allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
43459
 
-       archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
43460
 
-       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
43461
 
-      else
43462
 
-       allow_undefined_flag_GCJ=' -expect_unresolved \*'
43463
 
-       archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
43464
 
-       archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
43465
 
-       $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
43466
 
 
43467
 
-       # Both c and cxx compiler support -rpath directly
43468
 
-       hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
43469
 
-      fi
43470
 
-      hardcode_libdir_separator_GCJ=:
43471
 
-      ;;
43472
 
 
43473
 
-    solaris*)
43474
 
-      no_undefined_flag_GCJ=' -z text'
43475
 
-      if test "$GCC" = yes; then
43476
 
-       wlarc='${wl}'
43477
 
-       archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
43478
 
-       archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
43479
 
-         $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
43480
 
-      else
43481
 
-       wlarc=''
43482
 
-       archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
43483
 
-       archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
43484
 
-       $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
43485
 
-      fi
43486
 
-      hardcode_libdir_flag_spec_GCJ='-R$libdir'
43487
 
-      hardcode_shlibpath_var_GCJ=no
43488
 
-      case $host_os in
43489
 
-      solaris2.[0-5] | solaris2.[0-5].*) ;;
43490
 
-      *)
43491
 
-       # The compiler driver will combine and reorder linker options,
43492
 
-       # but understands `-z linker_flag'.  GCC discards it without `$wl',
43493
 
-       # but is careful enough not to reorder.
43494
 
-       # Supported since Solaris 2.6 (maybe 2.5.1?)
43495
 
-       if test "$GCC" = yes; then
43496
 
-         whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
43497
 
-       else
43498
 
-         whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
43499
 
-       fi
43500
 
-       ;;
43501
 
-      esac
43502
 
-      link_all_deplibs_GCJ=yes
43503
 
-      ;;
43504
 
+hard_links="nottested"
43505
 
+if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
43506
 
+  # do not overwrite the value of need_locks provided by the user
43507
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
43508
 
+$as_echo_n "checking if we can lock with hard links... " >&6; }
43509
 
+  hard_links=yes
43510
 
+  $RM conftest*
43511
 
+  ln conftest.a conftest.b 2>/dev/null && hard_links=no
43512
 
+  touch conftest.a
43513
 
+  ln conftest.a conftest.b 2>&5 || hard_links=no
43514
 
+  ln conftest.a conftest.b 2>/dev/null && hard_links=no
43515
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
43516
 
+$as_echo "$hard_links" >&6; }
43517
 
+  if test "$hard_links" = no; then
43518
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
43519
 
+$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
43520
 
+    need_locks=warn
43521
 
+  fi
43522
 
+else
43523
 
+  need_locks=no
43524
 
+fi
43525
 
 
43526
 
-    sunos4*)
43527
 
-      if test "x$host_vendor" = xsequent; then
43528
 
-       # Use $CC to link under sequent, because it throws in some extra .o
43529
 
-       # files that make .init and .fini sections work.
43530
 
-       archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
43531
 
-      else
43532
 
-       archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
43533
 
-      fi
43534
 
-      hardcode_libdir_flag_spec_GCJ='-L$libdir'
43535
 
-      hardcode_direct_GCJ=yes
43536
 
-      hardcode_minus_L_GCJ=yes
43537
 
-      hardcode_shlibpath_var_GCJ=no
43538
 
-      ;;
43539
 
 
43540
 
-    sysv4)
43541
 
-      case $host_vendor in
43542
 
-       sni)
43543
 
-         archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
43544
 
-         hardcode_direct_GCJ=yes # is this really true???
43545
 
-       ;;
43546
 
-       siemens)
43547
 
-         ## LD is ld it makes a PLAMLIB
43548
 
-         ## CC just makes a GrossModule.
43549
 
-         archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
43550
 
-         reload_cmds_GCJ='$CC -r -o $output$reload_objs'
43551
 
-         hardcode_direct_GCJ=no
43552
 
-        ;;
43553
 
-       motorola)
43554
 
-         archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
43555
 
-         hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
43556
 
-       ;;
43557
 
-      esac
43558
 
-      runpath_var='LD_RUN_PATH'
43559
 
-      hardcode_shlibpath_var_GCJ=no
43560
 
-      ;;
43561
 
 
43562
 
-    sysv4.3*)
43563
 
-      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
43564
 
-      hardcode_shlibpath_var_GCJ=no
43565
 
-      export_dynamic_flag_spec_GCJ='-Bexport'
43566
 
-      ;;
43567
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
43568
 
+$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
43569
 
 
43570
 
-    sysv4*MP*)
43571
 
-      if test -d /usr/nec; then
43572
 
-       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
43573
 
-       hardcode_shlibpath_var_GCJ=no
43574
 
-       runpath_var=LD_RUN_PATH
43575
 
-       hardcode_runpath_var=yes
43576
 
-       ld_shlibs_GCJ=yes
43577
 
-      fi
43578
 
-      ;;
43579
 
+  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
43580
 
+  case $host_os in
43581
 
+  aix[4-9]*)
43582
 
+    # If we're using GNU nm, then we don't want the "-C" option.
43583
 
+    # -C means demangle to AIX nm, but means don't demangle with GNU nm
43584
 
+    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
43585
 
+      export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
43586
 
+    else
43587
 
+      export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
43588
 
+    fi
43589
 
+    ;;
43590
 
+  pw32*)
43591
 
+    export_symbols_cmds_CXX="$ltdll_cmds"
43592
 
+  ;;
43593
 
+  cygwin* | mingw* | cegcc*)
43594
 
+    export_symbols_cmds_CXX='$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'
43595
 
+  ;;
43596
 
+  linux* | k*bsd*-gnu)
43597
 
+    link_all_deplibs_CXX=no
43598
 
+  ;;
43599
 
+  *)
43600
 
+    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
43601
 
+  ;;
43602
 
+  esac
43603
 
+  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
43604
 
 
43605
 
-    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
43606
 
-      no_undefined_flag_GCJ='${wl}-z,text'
43607
 
-      archive_cmds_need_lc_GCJ=no
43608
 
-      hardcode_shlibpath_var_GCJ=no
43609
 
-      runpath_var='LD_RUN_PATH'
43610
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
43611
 
+$as_echo "$ld_shlibs_CXX" >&6; }
43612
 
+test "$ld_shlibs_CXX" = no && can_build_shared=no
43613
 
 
43614
 
-      if test "$GCC" = yes; then
43615
 
-       archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
43616
 
-       archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
43617
 
-      else
43618
 
-       archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
43619
 
-       archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
43620
 
-      fi
43621
 
-      ;;
43622
 
+with_gnu_ld_CXX=$with_gnu_ld
43623
 
 
43624
 
-    sysv5* | sco3.2v5* | sco5v6*)
43625
 
-      # Note: We can NOT use -z defs as we might desire, because we do not
43626
 
-      # link with -lc, and that would cause any symbols used from libc to
43627
 
-      # always be unresolved, which means just about no library would
43628
 
-      # ever link correctly.  If we're not using GNU ld we use -z text
43629
 
-      # though, which does catch some bad symbols but isn't as heavy-handed
43630
 
-      # as -z defs.
43631
 
-      no_undefined_flag_GCJ='${wl}-z,text'
43632
 
-      allow_undefined_flag_GCJ='${wl}-z,nodefs'
43633
 
-      archive_cmds_need_lc_GCJ=no
43634
 
-      hardcode_shlibpath_var_GCJ=no
43635
 
-      hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
43636
 
-      hardcode_libdir_separator_GCJ=':'
43637
 
-      link_all_deplibs_GCJ=yes
43638
 
-      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
43639
 
-      runpath_var='LD_RUN_PATH'
43640
 
 
43641
 
-      if test "$GCC" = yes; then
43642
 
-       archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
43643
 
-       archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
43644
 
-      else
43645
 
-       archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
43646
 
-       archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
43647
 
-      fi
43648
 
-      ;;
43649
 
 
43650
 
-    uts4*)
43651
 
-      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
43652
 
-      hardcode_libdir_flag_spec_GCJ='-L$libdir'
43653
 
-      hardcode_shlibpath_var_GCJ=no
43654
 
-      ;;
43655
 
 
43656
 
-    *)
43657
 
-      ld_shlibs_GCJ=no
43658
 
-      ;;
43659
 
-    esac
43660
 
-  fi
43661
 
 
43662
 
-{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
43663
 
-$as_echo "$ld_shlibs_GCJ" >&6; }
43664
 
-test "$ld_shlibs_GCJ" = no && can_build_shared=no
43665
 
 
43666
 
 #
43667
 
 # Do we need to explicitly link libc?
43668
 
 #
43669
 
-case "x$archive_cmds_need_lc_GCJ" in
43670
 
+case "x$archive_cmds_need_lc_CXX" in
43671
 
 x|xyes)
43672
 
   # Assume -lc should be added
43673
 
-  archive_cmds_need_lc_GCJ=yes
43674
 
+  archive_cmds_need_lc_CXX=yes
43675
 
 
43676
 
   if test "$enable_shared" = yes && test "$GCC" = yes; then
43677
 
-    case $archive_cmds_GCJ in
43678
 
+    case $archive_cmds_CXX in
43679
 
     *'~'*)
43680
 
       # FIXME: we may have to deal with multi-command sequences.
43681
 
       ;;
43682
 
@@ -18845,54 +13926,118 @@ x|xyes)
43683
 
       # Test whether the compiler implicitly links with -lc since on some
43684
 
       # systems, -lgcc has to come before -lc. If gcc already passes -lc
43685
 
       # to ld, don't add -lc before -lgcc.
43686
 
-      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
43687
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
43688
 
 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
43689
 
-      $rm conftest*
43690
 
+      $RM conftest*
43691
 
       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
43692
 
 
43693
 
-      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43694
 
+      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
43695
 
   (eval $ac_compile) 2>&5
43696
 
   ac_status=$?
43697
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
43698
 
-  (exit $ac_status); } 2>conftest.err; then
43699
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
43700
 
+  test $ac_status = 0; } 2>conftest.err; then
43701
 
         soname=conftest
43702
 
         lib=conftest
43703
 
         libobjs=conftest.$ac_objext
43704
 
         deplibs=
43705
 
-        wl=$lt_prog_compiler_wl_GCJ
43706
 
-       pic_flag=$lt_prog_compiler_pic_GCJ
43707
 
+        wl=$lt_prog_compiler_wl_CXX
43708
 
+       pic_flag=$lt_prog_compiler_pic_CXX
43709
 
         compiler_flags=-v
43710
 
         linker_flags=-v
43711
 
         verstring=
43712
 
         output_objdir=.
43713
 
         libname=conftest
43714
 
-        lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
43715
 
-        allow_undefined_flag_GCJ=
43716
 
-        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
43717
 
-  (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
43718
 
+        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
43719
 
+        allow_undefined_flag_CXX=
43720
 
+        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
43721
 
+  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
43722
 
   ac_status=$?
43723
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
43724
 
-  (exit $ac_status); }
43725
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
43726
 
+  test $ac_status = 0; }
43727
 
         then
43728
 
-         archive_cmds_need_lc_GCJ=no
43729
 
+         archive_cmds_need_lc_CXX=no
43730
 
         else
43731
 
-         archive_cmds_need_lc_GCJ=yes
43732
 
+         archive_cmds_need_lc_CXX=yes
43733
 
         fi
43734
 
-        allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
43735
 
+        allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
43736
 
       else
43737
 
         cat conftest.err 1>&5
43738
 
       fi
43739
 
-      $rm conftest*
43740
 
-      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
43741
 
-$as_echo "$archive_cmds_need_lc_GCJ" >&6; }
43742
 
+      $RM conftest*
43743
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
43744
 
+$as_echo "$archive_cmds_need_lc_CXX" >&6; }
43745
 
       ;;
43746
 
     esac
43747
 
   fi
43748
 
   ;;
43749
 
 esac
43750
 
 
43751
 
-{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
43752
 
+
43753
 
+
43754
 
+
43755
 
+
43756
 
+
43757
 
+
43758
 
+
43759
 
+
43760
 
+
43761
 
+
43762
 
+
43763
 
+
43764
 
+
43765
 
+
43766
 
+
43767
 
+
43768
 
+
43769
 
+
43770
 
+
43771
 
+
43772
 
+
43773
 
+
43774
 
+
43775
 
+
43776
 
+
43777
 
+
43778
 
+
43779
 
+
43780
 
+
43781
 
+
43782
 
+
43783
 
+
43784
 
+
43785
 
+
43786
 
+
43787
 
+
43788
 
+
43789
 
+
43790
 
+
43791
 
+
43792
 
+
43793
 
+
43794
 
+
43795
 
+
43796
 
+
43797
 
+
43798
 
+
43799
 
+
43800
 
+
43801
 
+
43802
 
+
43803
 
+
43804
 
+
43805
 
+
43806
 
+
43807
 
+
43808
 
+
43809
 
+
43810
 
+
43811
 
+
43812
 
+
43813
 
+
43814
 
+
43815
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
43816
 
 $as_echo_n "checking dynamic linker characteristics... " >&6; }
43817
 
+
43818
 
 library_names_spec=
43819
 
 libname_spec='lib$name'
43820
 
 soname_spec=
43821
 
@@ -18906,7 +14051,6 @@ shlibpath_overrides_runpath=unknown
43822
 
 version_type=none
43823
 
 dynamic_linker="$host_os ld.so"
43824
 
 sys_lib_dlsearch_path_spec="/lib /usr/lib"
43825
 
-
43826
 
 need_lib_prefix=unknown
43827
 
 hardcode_into_libs=no
43828
 
 
43829
 
@@ -18943,7 +14087,7 @@ aix[4-9]*)
43830
 
       aix4 | aix4.[01] | aix4.[01].*)
43831
 
       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
43832
 
           echo ' yes '
43833
 
-          echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
43834
 
+          echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
43835
 
        :
43836
 
       else
43837
 
        can_build_shared=no
43838
 
@@ -18969,9 +14113,18 @@ aix[4-9]*)
43839
 
   ;;
43840
 
 
43841
 
 amigaos*)
43842
 
-  library_names_spec='$libname.ixlibrary $libname.a'
43843
 
-  # Create ${libname}_ixlibrary.a entries in /sys/libs.
43844
 
-  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'
43845
 
+  case $host_cpu in
43846
 
+  powerpc)
43847
 
+    # Since July 2007 AmigaOS4 officially supports .so libraries.
43848
 
+    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
43849
 
+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
43850
 
+    ;;
43851
 
+  m68k)
43852
 
+    library_names_spec='$libname.ixlibrary $libname.a'
43853
 
+    # Create ${libname}_ixlibrary.a entries in /sys/libs.
43854
 
+    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'
43855
 
+    ;;
43856
 
+  esac
43857
 
   ;;
43858
 
 
43859
 
 beos*)
43860
 
@@ -18994,25 +14147,28 @@ bsdi[45]*)
43861
 
   # libtool to hard-code these into programs
43862
 
   ;;
43863
 
 
43864
 
-cygwin* | mingw* | pw32*)
43865
 
+cygwin* | mingw* | pw32* | cegcc*)
43866
 
   version_type=windows
43867
 
   shrext_cmds=".dll"
43868
 
   need_version=no
43869
 
   need_lib_prefix=no
43870
 
 
43871
 
   case $GCC,$host_os in
43872
 
-  yes,cygwin* | yes,mingw* | yes,pw32*)
43873
 
+  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
43874
 
     library_names_spec='$libname.dll.a'
43875
 
     # DLL is installed to $(libdir)/../bin by postinstall_cmds
43876
 
     postinstall_cmds='base_file=`basename \${file}`~
43877
 
-      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
43878
 
+      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
43879
 
       dldir=$destdir/`dirname \$dlpath`~
43880
 
       test -d \$dldir || mkdir -p \$dldir~
43881
 
       $install_prog $dir/$dlname \$dldir/$dlname~
43882
 
-      chmod a+x \$dldir/$dlname'
43883
 
+      chmod a+x \$dldir/$dlname~
43884
 
+      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
43885
 
+        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
43886
 
+      fi'
43887
 
     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
43888
 
       dlpath=$dir/\$dldll~
43889
 
-       $rm \$dlpath'
43890
 
+       $RM \$dlpath'
43891
 
     shlibpath_overrides_runpath=yes
43892
 
 
43893
 
     case $host_os in
43894
 
@@ -19021,20 +14177,20 @@ cygwin* | mingw* | pw32*)
43895
 
       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
43896
 
       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
43897
 
       ;;
43898
 
-    mingw*)
43899
 
+    mingw* | cegcc*)
43900
 
       # MinGW DLLs use traditional 'lib' prefix
43901
 
       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
43902
 
-      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
43903
 
-      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
43904
 
+      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
43905
 
+      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
43906
 
         # It is most probably a Windows format PATH printed by
43907
 
         # mingw gcc, but we are running on Cygwin. Gcc prints its search
43908
 
         # path with ; separators, and with drive letters. We can handle the
43909
 
         # drive letters (cygwin fileutils understands them), so leave them,
43910
 
         # especially as we might pass files found there to a mingw objdump,
43911
 
         # which wouldn't understand a cygwinified path. Ahh.
43912
 
-        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
43913
 
+        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
43914
 
       else
43915
 
-        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
43916
 
+        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
43917
 
       fi
43918
 
       ;;
43919
 
     pw32*)
43920
 
@@ -19058,7 +14214,7 @@ darwin* | rhapsody*)
43921
 
   version_type=darwin
43922
 
   need_lib_prefix=no
43923
 
   need_version=no
43924
 
-  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
43925
 
+  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
43926
 
   soname_spec='${libname}${release}${major}$shared_ext'
43927
 
   shlibpath_overrides_runpath=yes
43928
 
   shlibpath_var=DYLD_LIBRARY_PATH
43929
 
@@ -19156,18 +14312,18 @@ hpux9* | hpux10* | hpux11*)
43930
 
     fi
43931
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
43932
 
     ;;
43933
 
-   hppa*64*)
43934
 
-     shrext_cmds='.sl'
43935
 
-     hardcode_into_libs=yes
43936
 
-     dynamic_linker="$host_os dld.sl"
43937
 
-     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
43938
 
-     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
43939
 
-     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
43940
 
-     soname_spec='${libname}${release}${shared_ext}$major'
43941
 
-     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
43942
 
-     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
43943
 
-     ;;
43944
 
-   *)
43945
 
+  hppa*64*)
43946
 
+    shrext_cmds='.sl'
43947
 
+    hardcode_into_libs=yes
43948
 
+    dynamic_linker="$host_os dld.sl"
43949
 
+    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
43950
 
+    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
43951
 
+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
43952
 
+    soname_spec='${libname}${release}${shared_ext}$major'
43953
 
+    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
43954
 
+    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
43955
 
+    ;;
43956
 
+  *)
43957
 
     shrext_cmds='.sl'
43958
 
     dynamic_linker="$host_os dld.sl"
43959
 
     shlibpath_var=SHLIB_PATH
43960
 
@@ -19244,17 +14400,41 @@ linux* | k*bsd*-gnu)
43961
 
   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
43962
 
   shlibpath_var=LD_LIBRARY_PATH
43963
 
   shlibpath_overrides_runpath=no
43964
 
+  # Some binutils ld are patched to set DT_RUNPATH
43965
 
+  save_LDFLAGS=$LDFLAGS
43966
 
+  save_libdir=$libdir
43967
 
+  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
43968
 
+       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
43969
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43970
 
+/* end confdefs.h.  */
43971
 
+
43972
 
+int
43973
 
+main ()
43974
 
+{
43975
 
+
43976
 
+  ;
43977
 
+  return 0;
43978
 
+}
43979
 
+_ACEOF
43980
 
+if ac_fn_cxx_try_link "$LINENO"; then :
43981
 
+  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
43982
 
+  shlibpath_overrides_runpath=yes
43983
 
+fi
43984
 
+fi
43985
 
+rm -f core conftest.err conftest.$ac_objext \
43986
 
+    conftest$ac_exeext conftest.$ac_ext
43987
 
+  LDFLAGS=$save_LDFLAGS
43988
 
+  libdir=$save_libdir
43989
 
+
43990
 
   # This implies no fast_install, which is unacceptable.
43991
 
   # Some rework will be needed to allow for fast_install
43992
 
   # before this can be enabled.
43993
 
   hardcode_into_libs=yes
43994
 
-  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
43995
 
-  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
43996
 
 
43997
 
   # Append ld.so.conf contents to the search path
43998
 
   if test -f /etc/ld.so.conf; then
43999
 
-    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' ' '`
44000
 
-    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
44001
 
+    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' ' '`
44002
 
+    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
44003
 
   fi
44004
 
 
44005
 
   # We used to test for /lib/ld.so.1 and disable shared libraries on
44006
 
@@ -19266,11 +14446,23 @@ linux* | k*bsd*-gnu)
44007
 
   dynamic_linker='GNU/Linux ld.so'
44008
 
   ;;
44009
 
 
44010
 
+netbsdelf*-gnu)
44011
 
+  version_type=linux
44012
 
+  need_lib_prefix=no
44013
 
+  need_version=no
44014
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
44015
 
+  soname_spec='${libname}${release}${shared_ext}$major'
44016
 
+  shlibpath_var=LD_LIBRARY_PATH
44017
 
+  shlibpath_overrides_runpath=no
44018
 
+  hardcode_into_libs=yes
44019
 
+  dynamic_linker='NetBSD ld.elf_so'
44020
 
+  ;;
44021
 
+
44022
 
 netbsd*)
44023
 
   version_type=sunos
44024
 
   need_lib_prefix=no
44025
 
   need_version=no
44026
 
-  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
44027
 
+  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
44028
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
44029
 
     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
44030
 
     dynamic_linker='NetBSD (a.out) ld.so'
44031
 
@@ -19291,14 +14483,16 @@ newsos6)
44032
 
   shlibpath_overrides_runpath=yes
44033
 
   ;;
44034
 
 
44035
 
-nto-qnx*)
44036
 
-  version_type=linux
44037
 
+*nto* | *qnx*)
44038
 
+  version_type=qnx
44039
 
   need_lib_prefix=no
44040
 
   need_version=no
44041
 
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
44042
 
   soname_spec='${libname}${release}${shared_ext}$major'
44043
 
   shlibpath_var=LD_LIBRARY_PATH
44044
 
-  shlibpath_overrides_runpath=yes
44045
 
+  shlibpath_overrides_runpath=no
44046
 
+  hardcode_into_libs=yes
44047
 
+  dynamic_linker='ldqnx.so'
44048
 
   ;;
44049
 
 
44050
 
 openbsd*)
44051
 
@@ -19307,13 +14501,13 @@ openbsd*)
44052
 
   need_lib_prefix=no
44053
 
   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
44054
 
   case $host_os in
44055
 
-    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
44056
 
-    *)                         need_version=no  ;;
44057
 
+    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
44058
 
+    *)                         need_version=no  ;;
44059
 
   esac
44060
 
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
44061
 
   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
44062
 
   shlibpath_var=LD_LIBRARY_PATH
44063
 
-  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
44064
 
+  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
44065
 
     case $host_os in
44066
 
       openbsd2.[89] | openbsd2.[89].*)
44067
 
        shlibpath_overrides_runpath=no
44068
 
@@ -19385,7 +14579,6 @@ sysv4 | sysv4.3*)
44069
 
     sni)
44070
 
       shlibpath_overrides_runpath=no
44071
 
       need_lib_prefix=no
44072
 
-      export_dynamic_flag_spec='${wl}-Blargedynsym'
44073
 
       runpath_var=LD_RUN_PATH
44074
 
       ;;
44075
 
     siemens)
44076
 
@@ -19416,13 +14609,12 @@ sysv5* | sco3.2v5* | sco5v6* | unixware*
44077
 
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
44078
 
   soname_spec='${libname}${release}${shared_ext}$major'
44079
 
   shlibpath_var=LD_LIBRARY_PATH
44080
 
+  shlibpath_overrides_runpath=yes
44081
 
   hardcode_into_libs=yes
44082
 
   if test "$with_gnu_ld" = yes; then
44083
 
     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
44084
 
-    shlibpath_overrides_runpath=no
44085
 
   else
44086
 
     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
44087
 
-    shlibpath_overrides_runpath=yes
44088
 
     case $host_os in
44089
 
       sco3.2v5*)
44090
 
         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
44091
 
@@ -19432,6 +14624,17 @@ sysv5* | sco3.2v5* | sco5v6* | unixware*
44092
 
   sys_lib_dlsearch_path_spec='/usr/lib'
44093
 
   ;;
44094
 
 
44095
 
+tpf*)
44096
 
+  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
44097
 
+  version_type=linux
44098
 
+  need_lib_prefix=no
44099
 
+  need_version=no
44100
 
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
44101
 
+  shlibpath_var=LD_LIBRARY_PATH
44102
 
+  shlibpath_overrides_runpath=no
44103
 
+  hardcode_into_libs=yes
44104
 
+  ;;
44105
 
+
44106
 
 uts4*)
44107
 
   version_type=linux
44108
 
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
44109
 
@@ -19443,59 +14646,87 @@ uts4*)
44110
 
   dynamic_linker=no
44111
 
   ;;
44112
 
 esac
44113
 
-{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
44114
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
44115
 
 $as_echo "$dynamic_linker" >&6; }
44116
 
 test "$dynamic_linker" = no && can_build_shared=no
44117
 
 
44118
 
-if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
44119
 
-  $as_echo_n "(cached) " >&6
44120
 
-else
44121
 
-  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
44122
 
+variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
44123
 
+if test "$GCC" = yes; then
44124
 
+  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
44125
 
 fi
44126
 
 
44127
 
-sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
44128
 
+if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
44129
 
+  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
44130
 
+fi
44131
 
 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
44132
 
-  $as_echo_n "(cached) " >&6
44133
 
-else
44134
 
-  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
44135
 
+  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
44136
 
 fi
44137
 
 
44138
 
-sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
44139
 
 
44140
 
-variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
44141
 
-if test "$GCC" = yes; then
44142
 
-  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
44143
 
-fi
44144
 
 
44145
 
-{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
44146
 
+
44147
 
+
44148
 
+
44149
 
+
44150
 
+
44151
 
+
44152
 
+
44153
 
+
44154
 
+
44155
 
+
44156
 
+
44157
 
+
44158
 
+
44159
 
+
44160
 
+
44161
 
+
44162
 
+
44163
 
+
44164
 
+
44165
 
+
44166
 
+
44167
 
+
44168
 
+
44169
 
+
44170
 
+
44171
 
+
44172
 
+
44173
 
+
44174
 
+
44175
 
+
44176
 
+
44177
 
+
44178
 
+
44179
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
44180
 
 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
44181
 
-hardcode_action_GCJ=
44182
 
-if test -n "$hardcode_libdir_flag_spec_GCJ" || \
44183
 
-   test -n "$runpath_var_GCJ" || \
44184
 
-   test "X$hardcode_automatic_GCJ" = "Xyes" ; then
44185
 
+hardcode_action_CXX=
44186
 
+if test -n "$hardcode_libdir_flag_spec_CXX" ||
44187
 
+   test -n "$runpath_var_CXX" ||
44188
 
+   test "X$hardcode_automatic_CXX" = "Xyes" ; then
44189
 
 
44190
 
-  # We can hardcode non-existant directories.
44191
 
-  if test "$hardcode_direct_GCJ" != no &&
44192
 
+  # We can hardcode non-existent directories.
44193
 
+  if test "$hardcode_direct_CXX" != no &&
44194
 
      # If the only mechanism to avoid hardcoding is shlibpath_var, we
44195
 
      # have to relink, otherwise we might link with an installed library
44196
 
      # when we should be linking with a yet-to-be-installed one
44197
 
-     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
44198
 
-     test "$hardcode_minus_L_GCJ" != no; then
44199
 
+     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
44200
 
+     test "$hardcode_minus_L_CXX" != no; then
44201
 
     # Linking always hardcodes the temporary library directory.
44202
 
-    hardcode_action_GCJ=relink
44203
 
+    hardcode_action_CXX=relink
44204
 
   else
44205
 
     # We can link without hardcoding, and we can hardcode nonexisting dirs.
44206
 
-    hardcode_action_GCJ=immediate
44207
 
+    hardcode_action_CXX=immediate
44208
 
   fi
44209
 
 else
44210
 
   # We cannot hardcode anything, or else we can only hardcode existing
44211
 
   # directories.
44212
 
-  hardcode_action_GCJ=unsupported
44213
 
+  hardcode_action_CXX=unsupported
44214
 
 fi
44215
 
-{ $as_echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
44216
 
-$as_echo "$hardcode_action_GCJ" >&6; }
44217
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
44218
 
+$as_echo "$hardcode_action_CXX" >&6; }
44219
 
 
44220
 
-if test "$hardcode_action_GCJ" = relink; then
44221
 
+if test "$hardcode_action_CXX" = relink ||
44222
 
+   test "$inherit_rpath_CXX" = yes; then
44223
 
   # Fast installation is not supported
44224
 
   enable_fast_install=no
44225
 
 elif test "$shlibpath_overrides_runpath" = yes ||
44226
 
@@ -19505,1409 +14736,2226 @@ elif test "$shlibpath_overrides_runpath"
44227
 
 fi
44228
 
 
44229
 
 
44230
 
-# The else clause should only fire when bootstrapping the
44231
 
-# libtool distribution, otherwise you forgot to ship ltmain.sh
44232
 
-# with your package, and you will get complaints that there are
44233
 
-# no rules to generate ltmain.sh.
44234
 
-if test -f "$ltmain"; then
44235
 
-  # See if we are running on zsh, and set the options which allow our commands through
44236
 
-  # without removal of \ escapes.
44237
 
-  if test -n "${ZSH_VERSION+set}" ; then
44238
 
-    setopt NO_GLOB_SUBST
44239
 
-  fi
44240
 
-  # Now quote all the things that may contain metacharacters while being
44241
 
-  # careful not to overquote the AC_SUBSTed values.  We take copies of the
44242
 
-  # variables and quote the copies for generation of the libtool script.
44243
 
-  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
44244
 
-    SED SHELL STRIP \
44245
 
-    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
44246
 
-    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
44247
 
-    deplibs_check_method reload_flag reload_cmds need_locks \
44248
 
-    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
44249
 
-    lt_cv_sys_global_symbol_to_c_name_address \
44250
 
-    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
44251
 
-    old_postinstall_cmds old_postuninstall_cmds \
44252
 
-    compiler_GCJ \
44253
 
-    CC_GCJ \
44254
 
-    LD_GCJ \
44255
 
-    lt_prog_compiler_wl_GCJ \
44256
 
-    lt_prog_compiler_pic_GCJ \
44257
 
-    lt_prog_compiler_static_GCJ \
44258
 
-    lt_prog_compiler_no_builtin_flag_GCJ \
44259
 
-    export_dynamic_flag_spec_GCJ \
44260
 
-    thread_safe_flag_spec_GCJ \
44261
 
-    whole_archive_flag_spec_GCJ \
44262
 
-    enable_shared_with_static_runtimes_GCJ \
44263
 
-    old_archive_cmds_GCJ \
44264
 
-    old_archive_from_new_cmds_GCJ \
44265
 
-    predep_objects_GCJ \
44266
 
-    postdep_objects_GCJ \
44267
 
-    predeps_GCJ \
44268
 
-    postdeps_GCJ \
44269
 
-    compiler_lib_search_path_GCJ \
44270
 
-    compiler_lib_search_dirs_GCJ \
44271
 
-    archive_cmds_GCJ \
44272
 
-    archive_expsym_cmds_GCJ \
44273
 
-    postinstall_cmds_GCJ \
44274
 
-    postuninstall_cmds_GCJ \
44275
 
-    old_archive_from_expsyms_cmds_GCJ \
44276
 
-    allow_undefined_flag_GCJ \
44277
 
-    no_undefined_flag_GCJ \
44278
 
-    export_symbols_cmds_GCJ \
44279
 
-    hardcode_libdir_flag_spec_GCJ \
44280
 
-    hardcode_libdir_flag_spec_ld_GCJ \
44281
 
-    hardcode_libdir_separator_GCJ \
44282
 
-    hardcode_automatic_GCJ \
44283
 
-    module_cmds_GCJ \
44284
 
-    module_expsym_cmds_GCJ \
44285
 
-    lt_cv_prog_compiler_c_o_GCJ \
44286
 
-    fix_srcfile_path_GCJ \
44287
 
-    exclude_expsyms_GCJ \
44288
 
-    include_expsyms_GCJ; do
44289
 
-
44290
 
-    case $var in
44291
 
-    old_archive_cmds_GCJ | \
44292
 
-    old_archive_from_new_cmds_GCJ | \
44293
 
-    archive_cmds_GCJ | \
44294
 
-    archive_expsym_cmds_GCJ | \
44295
 
-    module_cmds_GCJ | \
44296
 
-    module_expsym_cmds_GCJ | \
44297
 
-    old_archive_from_expsyms_cmds_GCJ | \
44298
 
-    export_symbols_cmds_GCJ | \
44299
 
-    extract_expsyms_cmds | reload_cmds | finish_cmds | \
44300
 
-    postinstall_cmds | postuninstall_cmds | \
44301
 
-    old_postinstall_cmds | old_postuninstall_cmds | \
44302
 
-    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
44303
 
-      # Double-quote double-evaled strings.
44304
 
-      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
44305
 
-      ;;
44306
 
-    *)
44307
 
-      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
44308
 
-      ;;
44309
 
-    esac
44310
 
-  done
44311
 
 
44312
 
-  case $lt_echo in
44313
 
-  *'\$0 --fallback-echo"')
44314
 
-    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
44315
 
-    ;;
44316
 
-  esac
44317
 
 
44318
 
-cfgfile="$ofile"
44319
 
 
44320
 
-  cat <<__EOF__ >> "$cfgfile"
44321
 
-# ### BEGIN LIBTOOL TAG CONFIG: $tagname
44322
 
 
44323
 
-# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
44324
 
 
44325
 
-# Shell to use when invoking shell scripts.
44326
 
-SHELL=$lt_SHELL
44327
 
+  fi # test -n "$compiler"
44328
 
 
44329
 
-# Whether or not to build shared libraries.
44330
 
-build_libtool_libs=$enable_shared
44331
 
+  CC=$lt_save_CC
44332
 
+  LDCXX=$LD
44333
 
+  LD=$lt_save_LD
44334
 
+  GCC=$lt_save_GCC
44335
 
+  with_gnu_ld=$lt_save_with_gnu_ld
44336
 
+  lt_cv_path_LDCXX=$lt_cv_path_LD
44337
 
+  lt_cv_path_LD=$lt_save_path_LD
44338
 
+  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
44339
 
+  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
44340
 
+fi # test "$_lt_caught_CXX_error" != yes
44341
 
 
44342
 
-# Whether or not to build static libraries.
44343
 
-build_old_libs=$enable_static
44344
 
+ac_ext=c
44345
 
+ac_cpp='$CPP $CPPFLAGS'
44346
 
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44347
 
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44348
 
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
44349
 
 
44350
 
-# Whether or not to add -lc for building shared libraries.
44351
 
-build_libtool_need_lc=$archive_cmds_need_lc_GCJ
44352
 
 
44353
 
-# Whether or not to disallow shared libs when runtime libs are static
44354
 
-allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
44355
 
 
44356
 
-# Whether or not to optimize for fast installation.
44357
 
-fast_install=$enable_fast_install
44358
 
 
44359
 
-# The host system.
44360
 
-host_alias=$host_alias
44361
 
-host=$host
44362
 
-host_os=$host_os
44363
 
 
44364
 
-# The build system.
44365
 
-build_alias=$build_alias
44366
 
-build=$build
44367
 
-build_os=$build_os
44368
 
 
44369
 
-# An echo program that does not interpret backslashes.
44370
 
-echo=$lt_echo
44371
 
 
44372
 
-# The archiver.
44373
 
-AR=$lt_AR
44374
 
-AR_FLAGS=$lt_AR_FLAGS
44375
 
+        if test -n "$PYTHON"; then
44376
 
+      # If the user set $PYTHON, use it and don't search something else.
44377
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.3" >&5
44378
 
+$as_echo_n "checking whether $PYTHON version >= 2.3... " >&6; }
44379
 
+      prog="import sys
44380
 
+# split strings by '.' and convert to numeric.  Append some zeros
44381
 
+# because we need at least 4 digits for the hex conversion.
44382
 
+# map returns an iterator in Python 3.0 and a list in 2.x
44383
 
+minver = list(map(int, '2.3'.split('.'))) + [0, 0, 0]
44384
 
+minverhex = 0
44385
 
+# xrange is not present in Python 3.0 and range returns an iterator
44386
 
+for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
44387
 
+sys.exit(sys.hexversion < minverhex)"
44388
 
+  if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
44389
 
+   ($PYTHON -c "$prog") >&5 2>&5
44390
 
+   ac_status=$?
44391
 
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44392
 
+   (exit $ac_status); }; then :
44393
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44394
 
+$as_echo "yes" >&6; }
44395
 
+else
44396
 
+  as_fn_error "too old" "$LINENO" 5
44397
 
+fi
44398
 
+      am_display_PYTHON=$PYTHON
44399
 
+    else
44400
 
+      # Otherwise, try each interpreter until we find one that satisfies
44401
 
+      # VERSION.
44402
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.3" >&5
44403
 
+$as_echo_n "checking for a Python interpreter with version >= 2.3... " >&6; }
44404
 
+if test "${am_cv_pathless_PYTHON+set}" = set; then :
44405
 
+  $as_echo_n "(cached) " >&6
44406
 
+else
44407
 
 
44408
 
-# A C compiler.
44409
 
-LTCC=$lt_LTCC
44410
 
+       for am_cv_pathless_PYTHON in python python2 python3 python3.0 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do
44411
 
+         test "$am_cv_pathless_PYTHON" = none && break
44412
 
+         prog="import sys
44413
 
+# split strings by '.' and convert to numeric.  Append some zeros
44414
 
+# because we need at least 4 digits for the hex conversion.
44415
 
+# map returns an iterator in Python 3.0 and a list in 2.x
44416
 
+minver = list(map(int, '2.3'.split('.'))) + [0, 0, 0]
44417
 
+minverhex = 0
44418
 
+# xrange is not present in Python 3.0 and range returns an iterator
44419
 
+for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
44420
 
+sys.exit(sys.hexversion < minverhex)"
44421
 
+  if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
44422
 
+   ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
44423
 
+   ac_status=$?
44424
 
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44425
 
+   (exit $ac_status); }; then :
44426
 
+  break
44427
 
+fi
44428
 
+       done
44429
 
+fi
44430
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
44431
 
+$as_echo "$am_cv_pathless_PYTHON" >&6; }
44432
 
+      # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
44433
 
+      if test "$am_cv_pathless_PYTHON" = none; then
44434
 
+       PYTHON=:
44435
 
+      else
44436
 
+        # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
44437
 
+set dummy $am_cv_pathless_PYTHON; ac_word=$2
44438
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
44439
 
+$as_echo_n "checking for $ac_word... " >&6; }
44440
 
+if test "${ac_cv_path_PYTHON+set}" = set; then :
44441
 
+  $as_echo_n "(cached) " >&6
44442
 
+else
44443
 
+  case $PYTHON in
44444
 
+  [\\/]* | ?:[\\/]*)
44445
 
+  ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
44446
 
+  ;;
44447
 
+  *)
44448
 
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44449
 
+for as_dir in $PATH
44450
 
+do
44451
 
+  IFS=$as_save_IFS
44452
 
+  test -z "$as_dir" && as_dir=.
44453
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
44454
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44455
 
+    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
44456
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
44457
 
+    break 2
44458
 
+  fi
44459
 
+done
44460
 
+  done
44461
 
+IFS=$as_save_IFS
44462
 
 
44463
 
-# LTCC compiler flags.
44464
 
-LTCFLAGS=$lt_LTCFLAGS
44465
 
+  ;;
44466
 
+esac
44467
 
+fi
44468
 
+PYTHON=$ac_cv_path_PYTHON
44469
 
+if test -n "$PYTHON"; then
44470
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
44471
 
+$as_echo "$PYTHON" >&6; }
44472
 
+else
44473
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
44474
 
+$as_echo "no" >&6; }
44475
 
+fi
44476
 
 
44477
 
-# A language-specific compiler.
44478
 
-CC=$lt_compiler_GCJ
44479
 
 
44480
 
-# Is the compiler the GNU C compiler?
44481
 
-with_gcc=$GCC_GCJ
44482
 
+      fi
44483
 
+      am_display_PYTHON=$am_cv_pathless_PYTHON
44484
 
+    fi
44485
 
 
44486
 
-# An ERE matcher.
44487
 
-EGREP=$lt_EGREP
44488
 
 
44489
 
-# The linker used to build libraries.
44490
 
-LD=$lt_LD_GCJ
44491
 
+  if test "$PYTHON" = :; then
44492
 
+      as_fn_error "no suitable Python interpreter found" "$LINENO" 5
44493
 
+  else
44494
 
 
44495
 
-# Whether we need hard or soft links.
44496
 
-LN_S=$lt_LN_S
44497
 
 
44498
 
-# A BSD-compatible nm program.
44499
 
-NM=$lt_NM
44500
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
44501
 
+$as_echo_n "checking for $am_display_PYTHON version... " >&6; }
44502
 
+if test "${am_cv_python_version+set}" = set; then :
44503
 
+  $as_echo_n "(cached) " >&6
44504
 
+else
44505
 
+  am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
44506
 
+fi
44507
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
44508
 
+$as_echo "$am_cv_python_version" >&6; }
44509
 
+  PYTHON_VERSION=$am_cv_python_version
44510
 
 
44511
 
-# A symbol stripping program
44512
 
-STRIP=$lt_STRIP
44513
 
 
44514
 
-# Used to examine libraries when file_magic_cmd begins "file"
44515
 
-MAGIC_CMD=$MAGIC_CMD
44516
 
 
44517
 
-# Used on cygwin: DLL creation program.
44518
 
-DLLTOOL="$DLLTOOL"
44519
 
+  PYTHON_PREFIX='${prefix}'
44520
 
 
44521
 
-# Used on cygwin: object dumper.
44522
 
-OBJDUMP="$OBJDUMP"
44523
 
+  PYTHON_EXEC_PREFIX='${exec_prefix}'
44524
 
 
44525
 
-# Used on cygwin: assembler.
44526
 
-AS="$AS"
44527
 
 
44528
 
-# The name of the directory that contains temporary libtool files.
44529
 
-objdir=$objdir
44530
 
 
44531
 
-# How to create reloadable object files.
44532
 
-reload_flag=$lt_reload_flag
44533
 
-reload_cmds=$lt_reload_cmds
44534
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
44535
 
+$as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
44536
 
+if test "${am_cv_python_platform+set}" = set; then :
44537
 
+  $as_echo_n "(cached) " >&6
44538
 
+else
44539
 
+  am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
44540
 
+fi
44541
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
44542
 
+$as_echo "$am_cv_python_platform" >&6; }
44543
 
+  PYTHON_PLATFORM=$am_cv_python_platform
44544
 
 
44545
 
-# How to pass a linker flag through the compiler.
44546
 
-wl=$lt_lt_prog_compiler_wl_GCJ
44547
 
 
44548
 
-# Object file suffix (normally "o").
44549
 
-objext="$ac_objext"
44550
 
 
44551
 
-# Old archive suffix (normally "a").
44552
 
-libext="$libext"
44553
 
 
44554
 
-# Shared library suffix (normally ".so").
44555
 
-shrext_cmds='$shrext_cmds'
44556
 
+                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
44557
 
+$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
44558
 
+if test "${am_cv_python_pythondir+set}" = set; then :
44559
 
+  $as_echo_n "(cached) " >&6
44560
 
+else
44561
 
+  if test "x$prefix" = xNONE
44562
 
+     then
44563
 
+       am_py_prefix=$ac_default_prefix
44564
 
+     else
44565
 
+       am_py_prefix=$prefix
44566
 
+     fi
44567
 
+     am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null ||
44568
 
+     echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
44569
 
+     case $am_cv_python_pythondir in
44570
 
+     $am_py_prefix*)
44571
 
+       am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
44572
 
+       am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
44573
 
+       ;;
44574
 
+     esac
44575
 
 
44576
 
-# Executable file suffix (normally "").
44577
 
-exeext="$exeext"
44578
 
+fi
44579
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
44580
 
+$as_echo "$am_cv_python_pythondir" >&6; }
44581
 
+  pythondir=$am_cv_python_pythondir
44582
 
 
44583
 
-# Additional compiler flags for building library objects.
44584
 
-pic_flag=$lt_lt_prog_compiler_pic_GCJ
44585
 
-pic_mode=$pic_mode
44586
 
 
44587
 
-# What is the maximum length of a command?
44588
 
-max_cmd_len=$lt_cv_sys_max_cmd_len
44589
 
 
44590
 
-# Does compiler simultaneously support -c and -o options?
44591
 
-compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
44592
 
+  pkgpythondir=\${pythondir}/$PACKAGE
44593
 
 
44594
 
-# Must we lock files when doing compilation?
44595
 
-need_locks=$lt_need_locks
44596
 
 
44597
 
-# Do we need the lib prefix for modules?
44598
 
-need_lib_prefix=$need_lib_prefix
44599
 
+            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
44600
 
+$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
44601
 
+if test "${am_cv_python_pyexecdir+set}" = set; then :
44602
 
+  $as_echo_n "(cached) " >&6
44603
 
+else
44604
 
+  if test "x$exec_prefix" = xNONE
44605
 
+     then
44606
 
+       am_py_exec_prefix=$am_py_prefix
44607
 
+     else
44608
 
+       am_py_exec_prefix=$exec_prefix
44609
 
+     fi
44610
 
+     am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null ||
44611
 
+     echo "$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
44612
 
+     case $am_cv_python_pyexecdir in
44613
 
+     $am_py_exec_prefix*)
44614
 
+       am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
44615
 
+       am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
44616
 
+       ;;
44617
 
+     esac
44618
 
 
44619
 
-# Do we need a version for libraries?
44620
 
-need_version=$need_version
44621
 
+fi
44622
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
44623
 
+$as_echo "$am_cv_python_pyexecdir" >&6; }
44624
 
+  pyexecdir=$am_cv_python_pyexecdir
44625
 
 
44626
 
-# Whether dlopen is supported.
44627
 
-dlopen_support=$enable_dlopen
44628
 
 
44629
 
-# Whether dlopen of programs is supported.
44630
 
-dlopen_self=$enable_dlopen_self
44631
 
 
44632
 
-# Whether dlopen of statically linked programs is supported.
44633
 
-dlopen_self_static=$enable_dlopen_self_static
44634
 
+  pkgpyexecdir=\${pyexecdir}/$PACKAGE
44635
 
+
44636
 
+
44637
 
+
44638
 
+  fi
44639
 
+
44640
 
+
44641
 
+
44642
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for headers required to compile python extensions" >&5
44643
 
+$as_echo_n "checking for headers required to compile python extensions... " >&6; }
44644
 
+py_prefix=`$PYTHON -c "import sys; print sys.prefix"`
44645
 
+py_exec_prefix=`$PYTHON -c "import sys; print sys.exec_prefix"`
44646
 
+PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}"
44647
 
+if test "$py_prefix" != "$py_exec_prefix"; then
44648
 
+  PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}"
44649
 
+fi
44650
 
+
44651
 
+save_CPPFLAGS="$CPPFLAGS"
44652
 
+CPPFLAGS="$CPPFLAGS $PYTHON_INCLUDES"
44653
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44654
 
+/* end confdefs.h.  */
44655
 
+#include <Python.h>
44656
 
+_ACEOF
44657
 
+if ac_fn_c_try_cpp "$LINENO"; then :
44658
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
44659
 
+$as_echo "found" >&6; }
44660
 
+
44661
 
+else
44662
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
44663
 
+$as_echo "not found" >&6; }
44664
 
+as_fn_error "could not find Python headers" "$LINENO" 5
44665
 
+fi
44666
 
+rm -f conftest.err conftest.$ac_ext
44667
 
+CPPFLAGS="$save_CPPFLAGS"
44668
 
 
44669
 
-# Compiler flag to prevent dynamic linking.
44670
 
-link_static_flag=$lt_lt_prog_compiler_static_GCJ
44671
 
+       # This bit is copied from Planner. murrayc.
44672
 
+       # Check for Python library path
44673
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python library path" >&5
44674
 
+$as_echo_n "checking for Python library path... " >&6; }
44675
 
 
44676
 
-# Compiler flag to turn off builtin functions.
44677
 
-no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
44678
 
+       # Win32 has libpython25.a instead of libpython2.5.a, so we look
44679
 
+       # for both. TODO: Only look for libpython25.a on Windows, and for
44680
 
+       # libpython2.5.a on unix.
44681
 
+       WIN32_PYTHON_VERSION=`echo $PYTHON_VERSION | sed "s,\.,,"`
44682
 
 
44683
 
-# Compiler flag to allow reflexive dlopens.
44684
 
-export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
44685
 
+        python_path=`dirname $PYTHON | sed "s,/bin.*$,,"`
44686
 
+        for i in "$python_path/lib/python$PYTHON_VERSION/config/" "$python_path/lib/python$PYTHON_VERSION/" "$python_path/lib/python/config/" "$python_path/lib/python/" "$python_path/" ; do
44687
 
+               if test -e "$i"; then
44688
 
+                       python_path=`find $i -type f -name libpython$PYTHON_VERSION.* -print | sed "1q"`
44689
 
+                       if test -n "$python_path" ; then
44690
 
+                               python_lib="python$PYTHON_VERSION"
44691
 
+                               break
44692
 
+                       fi
44693
 
 
44694
 
-# Compiler flag to generate shared objects directly from archives.
44695
 
-whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
44696
 
+                       # Additionally test WIN32_PYTHON_VERSION
44697
 
+                       python_path=`find $i -type f -name libpython$WIN32_PYTHON_VERSION.* -print | sed "1q"`
44698
 
+                       if test -n "$python_path" ; then
44699
 
+                               python_lib="python$WIN32_PYTHON_VERSION"
44700
 
+                               break
44701
 
+                       fi
44702
 
+               fi
44703
 
+        done
44704
 
 
44705
 
-# Compiler flag to generate thread-safe objects.
44706
 
-thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
44707
 
+        python_path=`echo $python_path | sed "s,/libpython.*$,,"`
44708
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $python_path" >&5
44709
 
+$as_echo "$python_path" >&6; }
44710
 
+        if test -z "$python_path" ; then
44711
 
+                as_fn_error "cannot find Python library path" "$LINENO" 5
44712
 
+        fi
44713
 
+        PYTHON_LDFLAGS="-L$python_path -l$python_lib"
44714
 
 
44715
 
-# Library versioning type.
44716
 
-version_type=$version_type
44717
 
 
44718
 
-# Format of library name prefix.
44719
 
-libname_spec=$lt_libname_spec
44720
 
 
44721
 
-# List of archive names.  First name is the real one, the rest are links.
44722
 
-# The last name is the one that the linker finds with -lNAME.
44723
 
-library_names_spec=$lt_library_names_spec
44724
 
 
44725
 
-# The coded name of the library, if different from the real name.
44726
 
-soname_spec=$lt_soname_spec
44727
 
 
44728
 
-# Commands used to build and install an old-style archive.
44729
 
-RANLIB=$lt_RANLIB
44730
 
-old_archive_cmds=$lt_old_archive_cmds_GCJ
44731
 
-old_postinstall_cmds=$lt_old_postinstall_cmds
44732
 
-old_postuninstall_cmds=$lt_old_postuninstall_cmds
44733
 
+if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
44734
 
+       if test -n "$ac_tool_prefix"; then
44735
 
+  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44736
 
+set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
44737
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
44738
 
+$as_echo_n "checking for $ac_word... " >&6; }
44739
 
+if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
44740
 
+  $as_echo_n "(cached) " >&6
44741
 
+else
44742
 
+  case $PKG_CONFIG in
44743
 
+  [\\/]* | ?:[\\/]*)
44744
 
+  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
44745
 
+  ;;
44746
 
+  *)
44747
 
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44748
 
+for as_dir in $PATH
44749
 
+do
44750
 
+  IFS=$as_save_IFS
44751
 
+  test -z "$as_dir" && as_dir=.
44752
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
44753
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44754
 
+    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44755
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
44756
 
+    break 2
44757
 
+  fi
44758
 
+done
44759
 
+  done
44760
 
+IFS=$as_save_IFS
44761
 
 
44762
 
-# Create an old-style archive from a shared archive.
44763
 
-old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
44764
 
+  ;;
44765
 
+esac
44766
 
+fi
44767
 
+PKG_CONFIG=$ac_cv_path_PKG_CONFIG
44768
 
+if test -n "$PKG_CONFIG"; then
44769
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
44770
 
+$as_echo "$PKG_CONFIG" >&6; }
44771
 
+else
44772
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
44773
 
+$as_echo "no" >&6; }
44774
 
+fi
44775
 
 
44776
 
-# Create a temporary old-style archive to link instead of a shared archive.
44777
 
-old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
44778
 
 
44779
 
-# Commands used to build and install a shared archive.
44780
 
-archive_cmds=$lt_archive_cmds_GCJ
44781
 
-archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
44782
 
-postinstall_cmds=$lt_postinstall_cmds
44783
 
-postuninstall_cmds=$lt_postuninstall_cmds
44784
 
+fi
44785
 
+if test -z "$ac_cv_path_PKG_CONFIG"; then
44786
 
+  ac_pt_PKG_CONFIG=$PKG_CONFIG
44787
 
+  # Extract the first word of "pkg-config", so it can be a program name with args.
44788
 
+set dummy pkg-config; ac_word=$2
44789
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
44790
 
+$as_echo_n "checking for $ac_word... " >&6; }
44791
 
+if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
44792
 
+  $as_echo_n "(cached) " >&6
44793
 
+else
44794
 
+  case $ac_pt_PKG_CONFIG in
44795
 
+  [\\/]* | ?:[\\/]*)
44796
 
+  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44797
 
+  ;;
44798
 
+  *)
44799
 
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44800
 
+for as_dir in $PATH
44801
 
+do
44802
 
+  IFS=$as_save_IFS
44803
 
+  test -z "$as_dir" && as_dir=.
44804
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
44805
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44806
 
+    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44807
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
44808
 
+    break 2
44809
 
+  fi
44810
 
+done
44811
 
+  done
44812
 
+IFS=$as_save_IFS
44813
 
 
44814
 
-# Commands used to build a loadable module (assumed same as above if empty)
44815
 
-module_cmds=$lt_module_cmds_GCJ
44816
 
-module_expsym_cmds=$lt_module_expsym_cmds_GCJ
44817
 
+  ;;
44818
 
+esac
44819
 
+fi
44820
 
+ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
44821
 
+if test -n "$ac_pt_PKG_CONFIG"; then
44822
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
44823
 
+$as_echo "$ac_pt_PKG_CONFIG" >&6; }
44824
 
+else
44825
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
44826
 
+$as_echo "no" >&6; }
44827
 
+fi
44828
 
 
44829
 
-# Commands to strip libraries.
44830
 
-old_striplib=$lt_old_striplib
44831
 
-striplib=$lt_striplib
44832
 
+  if test "x$ac_pt_PKG_CONFIG" = x; then
44833
 
+    PKG_CONFIG=""
44834
 
+  else
44835
 
+    case $cross_compiling:$ac_tool_warned in
44836
 
+yes:)
44837
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
44838
 
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
44839
 
+ac_tool_warned=yes ;;
44840
 
+esac
44841
 
+    PKG_CONFIG=$ac_pt_PKG_CONFIG
44842
 
+  fi
44843
 
+else
44844
 
+  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
44845
 
+fi
44846
 
 
44847
 
-# Dependencies to place before the objects being linked to create a
44848
 
-# shared library.
44849
 
-predep_objects=$lt_predep_objects_GCJ
44850
 
-
44851
 
-# Dependencies to place after the objects being linked to create a
44852
 
-# shared library.
44853
 
-postdep_objects=$lt_postdep_objects_GCJ
44854
 
-
44855
 
-# Dependencies to place before the objects being linked to create a
44856
 
-# shared library.
44857
 
-predeps=$lt_predeps_GCJ
44858
 
-
44859
 
-# Dependencies to place after the objects being linked to create a
44860
 
-# shared library.
44861
 
-postdeps=$lt_postdeps_GCJ
44862
 
-
44863
 
-# The directories searched by this compiler when creating a shared
44864
 
-# library
44865
 
-compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
44866
 
+fi
44867
 
+if test -n "$PKG_CONFIG"; then
44868
 
+       _pkg_min_version=0.9.0
44869
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
44870
 
+$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
44871
 
+       if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44872
 
+               { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44873
 
+$as_echo "yes" >&6; }
44874
 
+       else
44875
 
+               { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
44876
 
+$as_echo "no" >&6; }
44877
 
+               PKG_CONFIG=""
44878
 
+       fi
44879
 
 
44880
 
-# The library search path used internally by the compiler when linking
44881
 
-# a shared library.
44882
 
-compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
44883
 
+fi
44884
 
 
44885
 
-# Method to check whether dependent libraries are shared objects.
44886
 
-deplibs_check_method=$lt_deplibs_check_method
44887
 
+pkg_failed=no
44888
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PYGTK" >&5
44889
 
+$as_echo_n "checking for PYGTK... " >&6; }
44890
 
 
44891
 
-# Command to use when deplibs_check_method == file_magic.
44892
 
-file_magic_cmd=$lt_file_magic_cmd
44893
 
+if test -n "$PKG_CONFIG"; then
44894
 
+    if test -n "$PYGTK_CFLAGS"; then
44895
 
+        pkg_cv_PYGTK_CFLAGS="$PYGTK_CFLAGS"
44896
 
+    else
44897
 
+        if test -n "$PKG_CONFIG" && \
44898
 
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pygtk-2.0 >= 2.4.0\""; } >&5
44899
 
+  ($PKG_CONFIG --exists --print-errors "pygtk-2.0 >= 2.4.0") 2>&5
44900
 
+  ac_status=$?
44901
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
44902
 
+  test $ac_status = 0; }; then
44903
 
+  pkg_cv_PYGTK_CFLAGS=`$PKG_CONFIG --cflags "pygtk-2.0 >= 2.4.0" 2>/dev/null`
44904
 
+else
44905
 
+  pkg_failed=yes
44906
 
+fi
44907
 
+    fi
44908
 
+else
44909
 
+       pkg_failed=untried
44910
 
+fi
44911
 
+if test -n "$PKG_CONFIG"; then
44912
 
+    if test -n "$PYGTK_LIBS"; then
44913
 
+        pkg_cv_PYGTK_LIBS="$PYGTK_LIBS"
44914
 
+    else
44915
 
+        if test -n "$PKG_CONFIG" && \
44916
 
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pygtk-2.0 >= 2.4.0\""; } >&5
44917
 
+  ($PKG_CONFIG --exists --print-errors "pygtk-2.0 >= 2.4.0") 2>&5
44918
 
+  ac_status=$?
44919
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
44920
 
+  test $ac_status = 0; }; then
44921
 
+  pkg_cv_PYGTK_LIBS=`$PKG_CONFIG --libs "pygtk-2.0 >= 2.4.0" 2>/dev/null`
44922
 
+else
44923
 
+  pkg_failed=yes
44924
 
+fi
44925
 
+    fi
44926
 
+else
44927
 
+       pkg_failed=untried
44928
 
+fi
44929
 
 
44930
 
-# Flag that allows shared libraries with undefined symbols to be built.
44931
 
-allow_undefined_flag=$lt_allow_undefined_flag_GCJ
44932
 
 
44933
 
-# Flag that forces no undefined symbols.
44934
 
-no_undefined_flag=$lt_no_undefined_flag_GCJ
44935
 
 
44936
 
-# Commands used to finish a libtool library installation in a directory.
44937
 
-finish_cmds=$lt_finish_cmds
44938
 
+if test $pkg_failed = yes; then
44939
 
 
44940
 
-# Same as above, but a single script fragment to be evaled but not shown.
44941
 
-finish_eval=$lt_finish_eval
44942
 
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44943
 
+        _pkg_short_errors_supported=yes
44944
 
+else
44945
 
+        _pkg_short_errors_supported=no
44946
 
+fi
44947
 
+        if test $_pkg_short_errors_supported = yes; then
44948
 
+               PYGTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pygtk-2.0 >= 2.4.0"`
44949
 
+        else
44950
 
+               PYGTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pygtk-2.0 >= 2.4.0"`
44951
 
+        fi
44952
 
+       # Put the nasty error message in config.log where it belongs
44953
 
+       echo "$PYGTK_PKG_ERRORS" >&5
44954
 
 
44955
 
-# Take the output of nm and produce a listing of raw symbols and C names.
44956
 
-global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
44957
 
+       as_fn_error "Package requirements (pygtk-2.0 >= 2.4.0) were not met:
44958
 
 
44959
 
-# Transform the output of nm in a proper C declaration
44960
 
-global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
44961
 
+$PYGTK_PKG_ERRORS
44962
 
 
44963
 
-# Transform the output of nm in a C name address pair
44964
 
-global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
44965
 
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
44966
 
+installed software in a non-standard prefix.
44967
 
 
44968
 
-# This is the shared library runtime path variable.
44969
 
-runpath_var=$runpath_var
44970
 
+Alternatively, you may set the environment variables PYGTK_CFLAGS
44971
 
+and PYGTK_LIBS to avoid the need to call pkg-config.
44972
 
+See the pkg-config man page for more details.
44973
 
+" "$LINENO" 5
44974
 
+elif test $pkg_failed = untried; then
44975
 
+       { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44976
 
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44977
 
+as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
44978
 
+is in your PATH or set the PKG_CONFIG environment variable to the full
44979
 
+path to pkg-config.
44980
 
 
44981
 
-# This is the shared library path variable.
44982
 
-shlibpath_var=$shlibpath_var
44983
 
+Alternatively, you may set the environment variables PYGTK_CFLAGS
44984
 
+and PYGTK_LIBS to avoid the need to call pkg-config.
44985
 
+See the pkg-config man page for more details.
44986
 
 
44987
 
-# Is shlibpath searched before the hard-coded library search path?
44988
 
-shlibpath_overrides_runpath=$shlibpath_overrides_runpath
44989
 
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.
44990
 
+See \`config.log' for more details." "$LINENO" 5; }
44991
 
+else
44992
 
+       PYGTK_CFLAGS=$pkg_cv_PYGTK_CFLAGS
44993
 
+       PYGTK_LIBS=$pkg_cv_PYGTK_LIBS
44994
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44995
 
+$as_echo "yes" >&6; }
44996
 
+       :
44997
 
+fi
44998
 
 
44999
 
-# How to hardcode a shared library path into an executable.
45000
 
-hardcode_action=$hardcode_action_GCJ
45001
 
+# Extract the first word of "pygtk-codegen-2.0", so it can be a program name with args.
45002
 
+set dummy pygtk-codegen-2.0; ac_word=$2
45003
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
45004
 
+$as_echo_n "checking for $ac_word... " >&6; }
45005
 
+if test "${ac_cv_path_PYGTK_CODEGEN+set}" = set; then :
45006
 
+  $as_echo_n "(cached) " >&6
45007
 
+else
45008
 
+  case $PYGTK_CODEGEN in
45009
 
+  [\\/]* | ?:[\\/]*)
45010
 
+  ac_cv_path_PYGTK_CODEGEN="$PYGTK_CODEGEN" # Let the user override the test with a path.
45011
 
+  ;;
45012
 
+  *)
45013
 
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45014
 
+for as_dir in $PATH
45015
 
+do
45016
 
+  IFS=$as_save_IFS
45017
 
+  test -z "$as_dir" && as_dir=.
45018
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
45019
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45020
 
+    ac_cv_path_PYGTK_CODEGEN="$as_dir/$ac_word$ac_exec_ext"
45021
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
45022
 
+    break 2
45023
 
+  fi
45024
 
+done
45025
 
+  done
45026
 
+IFS=$as_save_IFS
45027
 
 
45028
 
-# Whether we should hardcode library paths into libraries.
45029
 
-hardcode_into_libs=$hardcode_into_libs
45030
 
+  test -z "$ac_cv_path_PYGTK_CODEGEN" && ac_cv_path_PYGTK_CODEGEN="no"
45031
 
+  ;;
45032
 
+esac
45033
 
+fi
45034
 
+PYGTK_CODEGEN=$ac_cv_path_PYGTK_CODEGEN
45035
 
+if test -n "$PYGTK_CODEGEN"; then
45036
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYGTK_CODEGEN" >&5
45037
 
+$as_echo "$PYGTK_CODEGEN" >&6; }
45038
 
+else
45039
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
45040
 
+$as_echo "no" >&6; }
45041
 
+fi
45042
 
 
45043
 
-# Flag to hardcode \$libdir into a binary during linking.
45044
 
-# This must work even if \$libdir does not exist.
45045
 
-hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
45046
 
 
45047
 
-# If ld is used when linking, flag to hardcode \$libdir into
45048
 
-# a binary during linking. This must work even if \$libdir does
45049
 
-# not exist.
45050
 
-hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
45051
 
-
45052
 
-# Whether we need a single -rpath flag with a separated argument.
45053
 
-hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
45054
 
-
45055
 
-# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
45056
 
-# resulting binary.
45057
 
-hardcode_direct=$hardcode_direct_GCJ
45058
 
-
45059
 
-# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
45060
 
-# resulting binary.
45061
 
-hardcode_minus_L=$hardcode_minus_L_GCJ
45062
 
-
45063
 
-# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
45064
 
-# the resulting binary.
45065
 
-hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
45066
 
-
45067
 
-# Set to yes if building a shared library automatically hardcodes DIR into the library
45068
 
-# and all subsequent libraries and executables linked against it.
45069
 
-hardcode_automatic=$hardcode_automatic_GCJ
45070
 
+if test "x$PYGTK_CODEGEN" = xno; then
45071
 
+  as_fn_error "could not find pygtk-codegen-2.0 script" "$LINENO" 5
45072
 
+fi
45073
 
 
45074
 
-# Variables whose values should be saved in libtool wrapper scripts and
45075
 
-# restored at relink time.
45076
 
-variables_saved_for_relink="$variables_saved_for_relink"
45077
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for conflicting pygtk versions" >&5
45078
 
+$as_echo_n "checking for conflicting pygtk versions... " >&6; }
45079
 
+pygtk_version=`$PKG_CONFIG --modversion pygtk-2.0`
45080
 
+case $pygtk_version in
45081
 
+     2.9.0|2.9.1)
45082
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $pygtk_version" >&5
45083
 
+$as_echo "found $pygtk_version" >&6; }
45084
 
+        as_fn_error "invalid pygtk version found; please upgrade" "$LINENO" 5
45085
 
+        ;;
45086
 
+     *)
45087
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
45088
 
+$as_echo "none" >&6; }
45089
 
+        ;;
45090
 
+esac
45091
 
 
45092
 
-# Whether libtool must link a program against all its dependency libraries.
45093
 
-link_all_deplibs=$link_all_deplibs_GCJ
45094
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pygtk defs" >&5
45095
 
+$as_echo_n "checking for pygtk defs... " >&6; }
45096
 
+PYGTK_DEFSDIR=`$PKG_CONFIG --variable=defsdir pygtk-2.0`
45097
 
 
45098
 
-# Compile-time system search path for libraries
45099
 
-sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
45100
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYGTK_DEFSDIR" >&5
45101
 
+$as_echo "$PYGTK_DEFSDIR" >&6; }
45102
 
 
45103
 
-# Run-time system search path for libraries
45104
 
-sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
45105
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gnome-python defs" >&5
45106
 
+$as_echo_n "checking for gnome-python defs... " >&6; }
45107
 
+GNOME_PYTHON_DEFSDIR=`$PKG_CONFIG --variable=defsdir gnome-python-2.0`
45108
 
 
45109
 
-# Fix the shell variable \$srcfile for the compiler.
45110
 
-fix_srcfile_path=$lt_fix_srcfile_path
45111
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNOME_PYTHON_DEFSDIR" >&5
45112
 
+$as_echo "$GNOME_PYTHON_DEFSDIR" >&6; }
45113
 
 
45114
 
-# Set to yes if exported symbols are required.
45115
 
-always_export_symbols=$always_export_symbols_GCJ
45116
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gnome-python argtypes dir" >&5
45117
 
+$as_echo_n "checking for gnome-python argtypes dir... " >&6; }
45118
 
+GNOME_PYTHON_ARGTYPES_DIR=`$PKG_CONFIG --variable=argtypesdir gnome-python-2.0`
45119
 
 
45120
 
-# The commands to list exported symbols.
45121
 
-export_symbols_cmds=$lt_export_symbols_cmds_GCJ
45122
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNOME_PYTHON_ARGTYPES_DIR" >&5
45123
 
+$as_echo "$GNOME_PYTHON_ARGTYPES_DIR" >&6; }
45124
 
 
45125
 
-# The commands to extract the exported symbol list from a shared archive.
45126
 
-extract_expsyms_cmds=$lt_extract_expsyms_cmds
45127
 
+export_dynamic=`(./libtool --config; echo eval echo \\$export_dynamic_flag_spec) | sh`
45128
 
 
45129
 
-# Symbols that should not be listed in the preloaded symbols.
45130
 
-exclude_expsyms=$lt_exclude_expsyms_GCJ
45131
 
+# Check whether --enable-glibtest was given.
45132
 
+if test "${enable_glibtest+set}" = set; then :
45133
 
+  enableval=$enable_glibtest;
45134
 
+else
45135
 
+  enable_glibtest=yes
45136
 
+fi
45137
 
 
45138
 
-# Symbols that must always be exported.
45139
 
-include_expsyms=$lt_include_expsyms_GCJ
45140
 
 
45141
 
-# ### END LIBTOOL TAG CONFIG: $tagname
45142
 
+  pkg_config_args=glib-2.0
45143
 
+  for module in . $extras_mods
45144
 
+  do
45145
 
+      case "$module" in
45146
 
+         gmodule)
45147
 
+             pkg_config_args="$pkg_config_args gmodule-2.0"
45148
 
+         ;;
45149
 
+         gmodule-no-export)
45150
 
+             pkg_config_args="$pkg_config_args gmodule-no-export-2.0"
45151
 
+         ;;
45152
 
+         gobject)
45153
 
+             pkg_config_args="$pkg_config_args gobject-2.0"
45154
 
+         ;;
45155
 
+         gthread)
45156
 
+             pkg_config_args="$pkg_config_args gthread-2.0"
45157
 
+         ;;
45158
 
+         gio*)
45159
 
+             pkg_config_args="$pkg_config_args $module-2.0"
45160
 
+         ;;
45161
 
+      esac
45162
 
+  done
45163
 
 
45164
 
-__EOF__
45165
 
 
45166
 
 
45167
 
+if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
45168
 
+       if test -n "$ac_tool_prefix"; then
45169
 
+  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
45170
 
+set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
45171
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
45172
 
+$as_echo_n "checking for $ac_word... " >&6; }
45173
 
+if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
45174
 
+  $as_echo_n "(cached) " >&6
45175
 
 else
45176
 
-  # If there is no Makefile yet, we rely on a make rule to execute
45177
 
-  # `config.status --recheck' to rerun these tests and create the
45178
 
-  # libtool script then.
45179
 
-  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
45180
 
-  if test -f "$ltmain_in"; then
45181
 
-    test -f Makefile && make "$ltmain"
45182
 
+  case $PKG_CONFIG in
45183
 
+  [\\/]* | ?:[\\/]*)
45184
 
+  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
45185
 
+  ;;
45186
 
+  *)
45187
 
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45188
 
+for as_dir in $PATH
45189
 
+do
45190
 
+  IFS=$as_save_IFS
45191
 
+  test -z "$as_dir" && as_dir=.
45192
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
45193
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45194
 
+    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
45195
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
45196
 
+    break 2
45197
 
   fi
45198
 
+done
45199
 
+  done
45200
 
+IFS=$as_save_IFS
45201
 
+
45202
 
+  ;;
45203
 
+esac
45204
 
+fi
45205
 
+PKG_CONFIG=$ac_cv_path_PKG_CONFIG
45206
 
+if test -n "$PKG_CONFIG"; then
45207
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
45208
 
+$as_echo "$PKG_CONFIG" >&6; }
45209
 
+else
45210
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
45211
 
+$as_echo "no" >&6; }
45212
 
 fi
45213
 
 
45214
 
 
45215
 
-ac_ext=c
45216
 
-ac_cpp='$CPP $CPPFLAGS'
45217
 
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45218
 
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45219
 
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
45220
 
+fi
45221
 
+if test -z "$ac_cv_path_PKG_CONFIG"; then
45222
 
+  ac_pt_PKG_CONFIG=$PKG_CONFIG
45223
 
+  # Extract the first word of "pkg-config", so it can be a program name with args.
45224
 
+set dummy pkg-config; ac_word=$2
45225
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
45226
 
+$as_echo_n "checking for $ac_word... " >&6; }
45227
 
+if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
45228
 
+  $as_echo_n "(cached) " >&6
45229
 
+else
45230
 
+  case $ac_pt_PKG_CONFIG in
45231
 
+  [\\/]* | ?:[\\/]*)
45232
 
+  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
45233
 
+  ;;
45234
 
+  *)
45235
 
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45236
 
+for as_dir in $PATH
45237
 
+do
45238
 
+  IFS=$as_save_IFS
45239
 
+  test -z "$as_dir" && as_dir=.
45240
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
45241
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45242
 
+    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
45243
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
45244
 
+    break 2
45245
 
+  fi
45246
 
+done
45247
 
+  done
45248
 
+IFS=$as_save_IFS
45249
 
 
45250
 
-CC="$lt_save_CC"
45251
 
+  ;;
45252
 
+esac
45253
 
+fi
45254
 
+ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
45255
 
+if test -n "$ac_pt_PKG_CONFIG"; then
45256
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
45257
 
+$as_echo "$ac_pt_PKG_CONFIG" >&6; }
45258
 
+else
45259
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
45260
 
+$as_echo "no" >&6; }
45261
 
+fi
45262
 
+
45263
 
+  if test "x$ac_pt_PKG_CONFIG" = x; then
45264
 
+    PKG_CONFIG=""
45265
 
+  else
45266
 
+    case $cross_compiling:$ac_tool_warned in
45267
 
+yes:)
45268
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
45269
 
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
45270
 
+ac_tool_warned=yes ;;
45271
 
+esac
45272
 
+    PKG_CONFIG=$ac_pt_PKG_CONFIG
45273
 
+  fi
45274
 
+else
45275
 
+  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
45276
 
+fi
45277
 
 
45278
 
+fi
45279
 
+if test -n "$PKG_CONFIG"; then
45280
 
+       _pkg_min_version=0.16
45281
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
45282
 
+$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
45283
 
+       if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
45284
 
+               { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45285
 
+$as_echo "yes" >&6; }
45286
 
        else
45287
 
-         tagname=""
45288
 
+               { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
45289
 
+$as_echo "no" >&6; }
45290
 
+               PKG_CONFIG=""
45291
 
        fi
45292
 
-       ;;
45293
 
-
45294
 
-      RC)
45295
 
-
45296
 
-
45297
 
-# Source file extension for RC test sources.
45298
 
-ac_ext=rc
45299
 
-
45300
 
-# Object file extension for compiled RC test sources.
45301
 
-objext=o
45302
 
-objext_RC=$objext
45303
 
-
45304
 
-# Code to be used in simple compile tests
45305
 
-lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
45306
 
-
45307
 
-# Code to be used in simple link tests
45308
 
-lt_simple_link_test_code="$lt_simple_compile_test_code"
45309
 
-
45310
 
-# ltmain only uses $CC for tagged configurations so make sure $CC is set.
45311
 
-
45312
 
-# If no C compiler was specified, use CC.
45313
 
-LTCC=${LTCC-"$CC"}
45314
 
-
45315
 
-# If no C compiler flags were specified, use CFLAGS.
45316
 
-LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
45317
 
-
45318
 
-# Allow CC to be a program name with arguments.
45319
 
-compiler=$CC
45320
 
 
45321
 
+fi
45322
 
 
45323
 
-# save warnings/boilerplate of simple test code
45324
 
-ac_outfile=conftest.$ac_objext
45325
 
-echo "$lt_simple_compile_test_code" >conftest.$ac_ext
45326
 
-eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
45327
 
-_lt_compiler_boilerplate=`cat conftest.err`
45328
 
-$rm conftest*
45329
 
+  no_glib=""
45330
 
 
45331
 
-ac_outfile=conftest.$ac_objext
45332
 
-echo "$lt_simple_link_test_code" >conftest.$ac_ext
45333
 
-eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
45334
 
-_lt_linker_boilerplate=`cat conftest.err`
45335
 
-$rm -r conftest*
45336
 
+  if test "x$PKG_CONFIG" = x ; then
45337
 
+    no_glib=yes
45338
 
+    PKG_CONFIG=no
45339
 
+  fi
45340
 
 
45341
 
+  min_glib_version=2.6.0
45342
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB - version >= $min_glib_version" >&5
45343
 
+$as_echo_n "checking for GLIB - version >= $min_glib_version... " >&6; }
45344
 
 
45345
 
-# Allow CC to be a program name with arguments.
45346
 
-lt_save_CC="$CC"
45347
 
-CC=${RC-"windres"}
45348
 
-compiler=$CC
45349
 
-compiler_RC=$CC
45350
 
-for cc_temp in $compiler""; do
45351
 
-  case $cc_temp in
45352
 
-    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
45353
 
-    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
45354
 
-    \-*) ;;
45355
 
-    *) break;;
45356
 
-  esac
45357
 
-done
45358
 
-cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
45359
 
+  if test x$PKG_CONFIG != xno ; then
45360
 
+    ## don't try to run the test against uninstalled libtool libs
45361
 
+    if $PKG_CONFIG --uninstalled $pkg_config_args; then
45362
 
+         echo "Will use uninstalled version of GLib found in PKG_CONFIG_PATH"
45363
 
+         enable_glibtest=no
45364
 
+    fi
45365
 
 
45366
 
-lt_cv_prog_compiler_c_o_RC=yes
45367
 
+    if $PKG_CONFIG --atleast-version $min_glib_version $pkg_config_args; then
45368
 
+         :
45369
 
+    else
45370
 
+         no_glib=yes
45371
 
+    fi
45372
 
+  fi
45373
 
 
45374
 
-# The else clause should only fire when bootstrapping the
45375
 
-# libtool distribution, otherwise you forgot to ship ltmain.sh
45376
 
-# with your package, and you will get complaints that there are
45377
 
-# no rules to generate ltmain.sh.
45378
 
-if test -f "$ltmain"; then
45379
 
-  # See if we are running on zsh, and set the options which allow our commands through
45380
 
-  # without removal of \ escapes.
45381
 
-  if test -n "${ZSH_VERSION+set}" ; then
45382
 
-    setopt NO_GLOB_SUBST
45383
 
-  fi
45384
 
-  # Now quote all the things that may contain metacharacters while being
45385
 
-  # careful not to overquote the AC_SUBSTed values.  We take copies of the
45386
 
-  # variables and quote the copies for generation of the libtool script.
45387
 
-  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
45388
 
-    SED SHELL STRIP \
45389
 
-    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
45390
 
-    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
45391
 
-    deplibs_check_method reload_flag reload_cmds need_locks \
45392
 
-    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
45393
 
-    lt_cv_sys_global_symbol_to_c_name_address \
45394
 
-    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
45395
 
-    old_postinstall_cmds old_postuninstall_cmds \
45396
 
-    compiler_RC \
45397
 
-    CC_RC \
45398
 
-    LD_RC \
45399
 
-    lt_prog_compiler_wl_RC \
45400
 
-    lt_prog_compiler_pic_RC \
45401
 
-    lt_prog_compiler_static_RC \
45402
 
-    lt_prog_compiler_no_builtin_flag_RC \
45403
 
-    export_dynamic_flag_spec_RC \
45404
 
-    thread_safe_flag_spec_RC \
45405
 
-    whole_archive_flag_spec_RC \
45406
 
-    enable_shared_with_static_runtimes_RC \
45407
 
-    old_archive_cmds_RC \
45408
 
-    old_archive_from_new_cmds_RC \
45409
 
-    predep_objects_RC \
45410
 
-    postdep_objects_RC \
45411
 
-    predeps_RC \
45412
 
-    postdeps_RC \
45413
 
-    compiler_lib_search_path_RC \
45414
 
-    compiler_lib_search_dirs_RC \
45415
 
-    archive_cmds_RC \
45416
 
-    archive_expsym_cmds_RC \
45417
 
-    postinstall_cmds_RC \
45418
 
-    postuninstall_cmds_RC \
45419
 
-    old_archive_from_expsyms_cmds_RC \
45420
 
-    allow_undefined_flag_RC \
45421
 
-    no_undefined_flag_RC \
45422
 
-    export_symbols_cmds_RC \
45423
 
-    hardcode_libdir_flag_spec_RC \
45424
 
-    hardcode_libdir_flag_spec_ld_RC \
45425
 
-    hardcode_libdir_separator_RC \
45426
 
-    hardcode_automatic_RC \
45427
 
-    module_cmds_RC \
45428
 
-    module_expsym_cmds_RC \
45429
 
-    lt_cv_prog_compiler_c_o_RC \
45430
 
-    fix_srcfile_path_RC \
45431
 
-    exclude_expsyms_RC \
45432
 
-    include_expsyms_RC; do
45433
 
-
45434
 
-    case $var in
45435
 
-    old_archive_cmds_RC | \
45436
 
-    old_archive_from_new_cmds_RC | \
45437
 
-    archive_cmds_RC | \
45438
 
-    archive_expsym_cmds_RC | \
45439
 
-    module_cmds_RC | \
45440
 
-    module_expsym_cmds_RC | \
45441
 
-    old_archive_from_expsyms_cmds_RC | \
45442
 
-    export_symbols_cmds_RC | \
45443
 
-    extract_expsyms_cmds | reload_cmds | finish_cmds | \
45444
 
-    postinstall_cmds | postuninstall_cmds | \
45445
 
-    old_postinstall_cmds | old_postuninstall_cmds | \
45446
 
-    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
45447
 
-      # Double-quote double-evaled strings.
45448
 
-      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
45449
 
-      ;;
45450
 
-    *)
45451
 
-      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
45452
 
-      ;;
45453
 
-    esac
45454
 
-  done
45455
 
+  if test x"$no_glib" = x ; then
45456
 
+    GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
45457
 
+    GOBJECT_QUERY=`$PKG_CONFIG --variable=gobject_query glib-2.0`
45458
 
+    GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
45459
 
 
45460
 
-  case $lt_echo in
45461
 
-  *'\$0 --fallback-echo"')
45462
 
-    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
45463
 
-    ;;
45464
 
-  esac
45465
 
+    GLIB_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args`
45466
 
+    GLIB_LIBS=`$PKG_CONFIG --libs $pkg_config_args`
45467
 
+    glib_config_major_version=`$PKG_CONFIG --modversion glib-2.0 | \
45468
 
+           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
45469
 
+    glib_config_minor_version=`$PKG_CONFIG --modversion glib-2.0 | \
45470
 
+           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
45471
 
+    glib_config_micro_version=`$PKG_CONFIG --modversion glib-2.0 | \
45472
 
+           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
45473
 
+    if test "x$enable_glibtest" = "xyes" ; then
45474
 
+      ac_save_CFLAGS="$CFLAGS"
45475
 
+      ac_save_LIBS="$LIBS"
45476
 
+      CFLAGS="$CFLAGS $GLIB_CFLAGS"
45477
 
+      LIBS="$GLIB_LIBS $LIBS"
45478
 
+      rm -f conf.glibtest
45479
 
+      if test "$cross_compiling" = yes; then :
45480
 
+  echo $ac_n "cross compiling; assumed OK... $ac_c"
45481
 
+else
45482
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45483
 
+/* end confdefs.h.  */
45484
 
 
45485
 
-cfgfile="$ofile"
45486
 
+#include <glib.h>
45487
 
+#include <stdio.h>
45488
 
+#include <stdlib.h>
45489
 
 
45490
 
-  cat <<__EOF__ >> "$cfgfile"
45491
 
-# ### BEGIN LIBTOOL TAG CONFIG: $tagname
45492
 
+int
45493
 
+main ()
45494
 
+{
45495
 
+  int major, minor, micro;
45496
 
+  char *tmp_version;
45497
 
+  int ignored;
45498
 
 
45499
 
-# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
45500
 
+  ignored = system ("touch conf.glibtest");
45501
 
 
45502
 
-# Shell to use when invoking shell scripts.
45503
 
-SHELL=$lt_SHELL
45504
 
+  /* HP/UX 9 (%@#!) writes to sscanf strings */
45505
 
+  tmp_version = g_strdup("$min_glib_version");
45506
 
+  if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
45507
 
+     printf("%s, bad version string\n", "$min_glib_version");
45508
 
+     exit(1);
45509
 
+   }
45510
 
 
45511
 
-# Whether or not to build shared libraries.
45512
 
-build_libtool_libs=$enable_shared
45513
 
+  if ((glib_major_version != $glib_config_major_version) ||
45514
 
+      (glib_minor_version != $glib_config_minor_version) ||
45515
 
+      (glib_micro_version != $glib_config_micro_version))
45516
 
+    {
45517
 
+      printf("\n*** 'pkg-config --modversion glib-2.0' returned %d.%d.%d, but GLIB (%d.%d.%d)\n",
45518
 
+             $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
45519
 
+             glib_major_version, glib_minor_version, glib_micro_version);
45520
 
+      printf ("*** was found! If pkg-config was correct, then it is best\n");
45521
 
+      printf ("*** to remove the old version of GLib. You may also be able to fix the error\n");
45522
 
+      printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
45523
 
+      printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
45524
 
+      printf("*** required on your system.\n");
45525
 
+      printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
45526
 
+      printf("*** to point to the correct configuration files\n");
45527
 
+    }
45528
 
+  else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
45529
 
+          (glib_minor_version != GLIB_MINOR_VERSION) ||
45530
 
+           (glib_micro_version != GLIB_MICRO_VERSION))
45531
 
+    {
45532
 
+      printf("*** GLIB header files (version %d.%d.%d) do not match\n",
45533
 
+            GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
45534
 
+      printf("*** library (version %d.%d.%d)\n",
45535
 
+            glib_major_version, glib_minor_version, glib_micro_version);
45536
 
+    }
45537
 
+  else
45538
 
+    {
45539
 
+      if ((glib_major_version > major) ||
45540
 
+        ((glib_major_version == major) && (glib_minor_version > minor)) ||
45541
 
+        ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
45542
 
+      {
45543
 
+        return 0;
45544
 
+       }
45545
 
+     else
45546
 
+      {
45547
 
+        printf("\n*** An old version of GLIB (%d.%d.%d) was found.\n",
45548
 
+               glib_major_version, glib_minor_version, glib_micro_version);
45549
 
+        printf("*** You need a version of GLIB newer than %d.%d.%d. The latest version of\n",
45550
 
+              major, minor, micro);
45551
 
+        printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
45552
 
+        printf("***\n");
45553
 
+        printf("*** If you have already installed a sufficiently new version, this error\n");
45554
 
+        printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
45555
 
+        printf("*** being found. The easiest way to fix this is to remove the old version\n");
45556
 
+        printf("*** of GLIB, but you can also set the PKG_CONFIG environment to point to the\n");
45557
 
+        printf("*** correct copy of pkg-config. (In this case, you will have to\n");
45558
 
+        printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
45559
 
+        printf("*** so that the correct libraries are found at run-time))\n");
45560
 
+      }
45561
 
+    }
45562
 
+  return 1;
45563
 
+}
45564
 
 
45565
 
-# Whether or not to build static libraries.
45566
 
-build_old_libs=$enable_static
45567
 
+_ACEOF
45568
 
+if ac_fn_c_try_run "$LINENO"; then :
45569
 
 
45570
 
-# Whether or not to add -lc for building shared libraries.
45571
 
-build_libtool_need_lc=$archive_cmds_need_lc_RC
45572
 
+else
45573
 
+  no_glib=yes
45574
 
+fi
45575
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45576
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
45577
 
+fi
45578
 
 
45579
 
-# Whether or not to disallow shared libs when runtime libs are static
45580
 
-allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
45581
 
+       CFLAGS="$ac_save_CFLAGS"
45582
 
+       LIBS="$ac_save_LIBS"
45583
 
+     fi
45584
 
+  fi
45585
 
+  if test "x$no_glib" = x ; then
45586
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&5
45587
 
+$as_echo "yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&6; }
45588
 
+     :
45589
 
+  else
45590
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
45591
 
+$as_echo "no" >&6; }
45592
 
+     if test "$PKG_CONFIG" = "no" ; then
45593
 
+       echo "*** A new enough version of pkg-config was not found."
45594
 
+       echo "*** See http://www.freedesktop.org/software/pkgconfig/"
45595
 
+     else
45596
 
+       if test -f conf.glibtest ; then
45597
 
+        :
45598
 
+       else
45599
 
+          echo "*** Could not run GLIB test program, checking why..."
45600
 
+          ac_save_CFLAGS="$CFLAGS"
45601
 
+          ac_save_LIBS="$LIBS"
45602
 
+          CFLAGS="$CFLAGS $GLIB_CFLAGS"
45603
 
+          LIBS="$LIBS $GLIB_LIBS"
45604
 
+          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45605
 
+/* end confdefs.h.  */
45606
 
 
45607
 
-# Whether or not to optimize for fast installation.
45608
 
-fast_install=$enable_fast_install
45609
 
+#include <glib.h>
45610
 
+#include <stdio.h>
45611
 
 
45612
 
-# The host system.
45613
 
-host_alias=$host_alias
45614
 
-host=$host
45615
 
-host_os=$host_os
45616
 
+int
45617
 
+main ()
45618
 
+{
45619
 
+ return ((glib_major_version) || (glib_minor_version) || (glib_micro_version));
45620
 
+  ;
45621
 
+  return 0;
45622
 
+}
45623
 
+_ACEOF
45624
 
+if ac_fn_c_try_link "$LINENO"; then :
45625
 
+   echo "*** The test program compiled, but did not run. This usually means"
45626
 
+          echo "*** that the run-time linker is not finding GLIB or finding the wrong"
45627
 
+          echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
45628
 
+          echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
45629
 
+          echo "*** to the installed location  Also, make sure you have run ldconfig if that"
45630
 
+          echo "*** is required on your system"
45631
 
+         echo "***"
45632
 
+          echo "*** If you have an old version installed, it is best to remove it, although"
45633
 
+          echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
45634
 
+else
45635
 
+   echo "*** The test program failed to compile or link. See the file config.log for the"
45636
 
+          echo "*** exact error that occured. This usually means GLIB is incorrectly installed."
45637
 
+fi
45638
 
+rm -f core conftest.err conftest.$ac_objext \
45639
 
+    conftest$ac_exeext conftest.$ac_ext
45640
 
+          CFLAGS="$ac_save_CFLAGS"
45641
 
+          LIBS="$ac_save_LIBS"
45642
 
+       fi
45643
 
+     fi
45644
 
+     GLIB_CFLAGS=""
45645
 
+     GLIB_LIBS=""
45646
 
+     GLIB_GENMARSHAL=""
45647
 
+     GOBJECT_QUERY=""
45648
 
+     GLIB_MKENUMS=""
45649
 
+     as_fn_error "maybe you want the gtk-gnome-1-2 branch?" "$LINENO" 5
45650
 
+  fi
45651
 
 
45652
 
-# The build system.
45653
 
-build_alias=$build_alias
45654
 
-build=$build
45655
 
-build_os=$build_os
45656
 
 
45657
 
-# An echo program that does not interpret backslashes.
45658
 
-echo=$lt_echo
45659
 
 
45660
 
-# The archiver.
45661
 
-AR=$lt_AR
45662
 
-AR_FLAGS=$lt_AR_FLAGS
45663
 
 
45664
 
-# A C compiler.
45665
 
-LTCC=$lt_LTCC
45666
 
 
45667
 
-# LTCC compiler flags.
45668
 
-LTCFLAGS=$lt_LTCFLAGS
45669
 
+  rm -f conf.glibtest
45670
 
 
45671
 
-# A language-specific compiler.
45672
 
-CC=$lt_compiler_RC
45673
 
+if test -n "$export_dynamic"; then
45674
 
+  GLIB_LIBS=`echo $GLIB_LIBS | sed -e "s/$export_dynamic//"`
45675
 
+fi
45676
 
 
45677
 
-# Is the compiler the GNU C compiler?
45678
 
-with_gcc=$GCC_RC
45679
 
+# Check whether --enable-gtktest was given.
45680
 
+if test "${enable_gtktest+set}" = set; then :
45681
 
+  enableval=$enable_gtktest;
45682
 
+else
45683
 
+  enable_gtktest=yes
45684
 
+fi
45685
 
 
45686
 
-# An ERE matcher.
45687
 
-EGREP=$lt_EGREP
45688
 
 
45689
 
-# The linker used to build libraries.
45690
 
-LD=$lt_LD_RC
45691
 
+  pkg_config_args=gtk+-2.0
45692
 
+  for module in . $extras_mods
45693
 
+  do
45694
 
+      case "$module" in
45695
 
+         gthread)
45696
 
+             pkg_config_args="$pkg_config_args gthread-2.0"
45697
 
+         ;;
45698
 
+      esac
45699
 
+  done
45700
 
 
45701
 
-# Whether we need hard or soft links.
45702
 
-LN_S=$lt_LN_S
45703
 
+  no_gtk=""
45704
 
 
45705
 
-# A BSD-compatible nm program.
45706
 
-NM=$lt_NM
45707
 
+  # Extract the first word of "pkg-config", so it can be a program name with args.
45708
 
+set dummy pkg-config; ac_word=$2
45709
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
45710
 
+$as_echo_n "checking for $ac_word... " >&6; }
45711
 
+if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
45712
 
+  $as_echo_n "(cached) " >&6
45713
 
+else
45714
 
+  case $PKG_CONFIG in
45715
 
+  [\\/]* | ?:[\\/]*)
45716
 
+  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
45717
 
+  ;;
45718
 
+  *)
45719
 
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45720
 
+for as_dir in $PATH
45721
 
+do
45722
 
+  IFS=$as_save_IFS
45723
 
+  test -z "$as_dir" && as_dir=.
45724
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
45725
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45726
 
+    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
45727
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
45728
 
+    break 2
45729
 
+  fi
45730
 
+done
45731
 
+  done
45732
 
+IFS=$as_save_IFS
45733
 
 
45734
 
-# A symbol stripping program
45735
 
-STRIP=$lt_STRIP
45736
 
+  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
45737
 
+  ;;
45738
 
+esac
45739
 
+fi
45740
 
+PKG_CONFIG=$ac_cv_path_PKG_CONFIG
45741
 
+if test -n "$PKG_CONFIG"; then
45742
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
45743
 
+$as_echo "$PKG_CONFIG" >&6; }
45744
 
+else
45745
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
45746
 
+$as_echo "no" >&6; }
45747
 
+fi
45748
 
 
45749
 
-# Used to examine libraries when file_magic_cmd begins "file"
45750
 
-MAGIC_CMD=$MAGIC_CMD
45751
 
 
45752
 
-# Used on cygwin: DLL creation program.
45753
 
-DLLTOOL="$DLLTOOL"
45754
 
 
45755
 
-# Used on cygwin: object dumper.
45756
 
-OBJDUMP="$OBJDUMP"
45757
 
+  if test x$PKG_CONFIG != xno ; then
45758
 
+    if pkg-config --atleast-pkgconfig-version 0.7 ; then
45759
 
+      :
45760
 
+    else
45761
 
+      echo "*** pkg-config too old; version 0.7 or better required."
45762
 
+      no_gtk=yes
45763
 
+      PKG_CONFIG=no
45764
 
+    fi
45765
 
+  else
45766
 
+    no_gtk=yes
45767
 
+  fi
45768
 
 
45769
 
-# Used on cygwin: assembler.
45770
 
-AS="$AS"
45771
 
+  min_gtk_version=2.4.0
45772
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
45773
 
+$as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
45774
 
 
45775
 
-# The name of the directory that contains temporary libtool files.
45776
 
-objdir=$objdir
45777
 
+  if test x$PKG_CONFIG != xno ; then
45778
 
+    ## don't try to run the test against uninstalled libtool libs
45779
 
+    if $PKG_CONFIG --uninstalled $pkg_config_args; then
45780
 
+         echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
45781
 
+         enable_gtktest=no
45782
 
+    fi
45783
 
 
45784
 
-# How to create reloadable object files.
45785
 
-reload_flag=$lt_reload_flag
45786
 
-reload_cmds=$lt_reload_cmds
45787
 
+    if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
45788
 
+         :
45789
 
+    else
45790
 
+         no_gtk=yes
45791
 
+    fi
45792
 
+  fi
45793
 
 
45794
 
-# How to pass a linker flag through the compiler.
45795
 
-wl=$lt_lt_prog_compiler_wl_RC
45796
 
+  if test x"$no_gtk" = x ; then
45797
 
+    GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
45798
 
+    GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
45799
 
+    gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
45800
 
+           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
45801
 
+    gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
45802
 
+           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
45803
 
+    gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
45804
 
+           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
45805
 
+    if test "x$enable_gtktest" = "xyes" ; then
45806
 
+      ac_save_CFLAGS="$CFLAGS"
45807
 
+      ac_save_LIBS="$LIBS"
45808
 
+      CFLAGS="$CFLAGS $GTK_CFLAGS"
45809
 
+      LIBS="$GTK_LIBS $LIBS"
45810
 
+      rm -f conf.gtktest
45811
 
+      if test "$cross_compiling" = yes; then :
45812
 
+  echo $ac_n "cross compiling; assumed OK... $ac_c"
45813
 
+else
45814
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45815
 
+/* end confdefs.h.  */
45816
 
 
45817
 
-# Object file suffix (normally "o").
45818
 
-objext="$ac_objext"
45819
 
+#include <gtk/gtk.h>
45820
 
+#include <stdio.h>
45821
 
+#include <stdlib.h>
45822
 
 
45823
 
-# Old archive suffix (normally "a").
45824
 
-libext="$libext"
45825
 
+int
45826
 
+main ()
45827
 
+{
45828
 
+  int major, minor, micro;
45829
 
+  char *tmp_version;
45830
 
 
45831
 
-# Shared library suffix (normally ".so").
45832
 
-shrext_cmds='$shrext_cmds'
45833
 
+  system ("touch conf.gtktest");
45834
 
 
45835
 
-# Executable file suffix (normally "").
45836
 
-exeext="$exeext"
45837
 
+  /* HP/UX 9 (%@#!) writes to sscanf strings */
45838
 
+  tmp_version = g_strdup("$min_gtk_version");
45839
 
+  if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
45840
 
+     printf("%s, bad version string\n", "$min_gtk_version");
45841
 
+     exit(1);
45842
 
+   }
45843
 
 
45844
 
-# Additional compiler flags for building library objects.
45845
 
-pic_flag=$lt_lt_prog_compiler_pic_RC
45846
 
-pic_mode=$pic_mode
45847
 
+  if ((gtk_major_version != $gtk_config_major_version) ||
45848
 
+      (gtk_minor_version != $gtk_config_minor_version) ||
45849
 
+      (gtk_micro_version != $gtk_config_micro_version))
45850
 
+    {
45851
 
+      printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
45852
 
+             $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
45853
 
+             gtk_major_version, gtk_minor_version, gtk_micro_version);
45854
 
+      printf ("*** was found! If pkg-config was correct, then it is best\n");
45855
 
+      printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
45856
 
+      printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
45857
 
+      printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
45858
 
+      printf("*** required on your system.\n");
45859
 
+      printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
45860
 
+      printf("*** to point to the correct configuration files\n");
45861
 
+    }
45862
 
+  else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
45863
 
+          (gtk_minor_version != GTK_MINOR_VERSION) ||
45864
 
+           (gtk_micro_version != GTK_MICRO_VERSION))
45865
 
+    {
45866
 
+      printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
45867
 
+            GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
45868
 
+      printf("*** library (version %d.%d.%d)\n",
45869
 
+            gtk_major_version, gtk_minor_version, gtk_micro_version);
45870
 
+    }
45871
 
+  else
45872
 
+    {
45873
 
+      if ((gtk_major_version > major) ||
45874
 
+        ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
45875
 
+        ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
45876
 
+      {
45877
 
+        return 0;
45878
 
+       }
45879
 
+     else
45880
 
+      {
45881
 
+        printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
45882
 
+               gtk_major_version, gtk_minor_version, gtk_micro_version);
45883
 
+        printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
45884
 
+              major, minor, micro);
45885
 
+        printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
45886
 
+        printf("***\n");
45887
 
+        printf("*** If you have already installed a sufficiently new version, this error\n");
45888
 
+        printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
45889
 
+        printf("*** being found. The easiest way to fix this is to remove the old version\n");
45890
 
+        printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
45891
 
+        printf("*** correct copy of pkg-config. (In this case, you will have to\n");
45892
 
+        printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
45893
 
+        printf("*** so that the correct libraries are found at run-time))\n");
45894
 
+      }
45895
 
+    }
45896
 
+  return 1;
45897
 
+}
45898
 
 
45899
 
-# What is the maximum length of a command?
45900
 
-max_cmd_len=$lt_cv_sys_max_cmd_len
45901
 
+_ACEOF
45902
 
+if ac_fn_c_try_run "$LINENO"; then :
45903
 
 
45904
 
-# Does compiler simultaneously support -c and -o options?
45905
 
-compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
45906
 
+else
45907
 
+  no_gtk=yes
45908
 
+fi
45909
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45910
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
45911
 
+fi
45912
 
 
45913
 
-# Must we lock files when doing compilation?
45914
 
-need_locks=$lt_need_locks
45915
 
+       CFLAGS="$ac_save_CFLAGS"
45916
 
+       LIBS="$ac_save_LIBS"
45917
 
+     fi
45918
 
+  fi
45919
 
+  if test "x$no_gtk" = x ; then
45920
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
45921
 
+$as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
45922
 
+     :
45923
 
+  else
45924
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
45925
 
+$as_echo "no" >&6; }
45926
 
+     if test "$PKG_CONFIG" = "no" ; then
45927
 
+       echo "*** A new enough version of pkg-config was not found."
45928
 
+       echo "*** See http://pkgconfig.sourceforge.net"
45929
 
+     else
45930
 
+       if test -f conf.gtktest ; then
45931
 
+        :
45932
 
+       else
45933
 
+          echo "*** Could not run GTK+ test program, checking why..."
45934
 
+         ac_save_CFLAGS="$CFLAGS"
45935
 
+         ac_save_LIBS="$LIBS"
45936
 
+          CFLAGS="$CFLAGS $GTK_CFLAGS"
45937
 
+          LIBS="$LIBS $GTK_LIBS"
45938
 
+          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45939
 
+/* end confdefs.h.  */
45940
 
 
45941
 
-# Do we need the lib prefix for modules?
45942
 
-need_lib_prefix=$need_lib_prefix
45943
 
+#include <gtk/gtk.h>
45944
 
+#include <stdio.h>
45945
 
 
45946
 
-# Do we need a version for libraries?
45947
 
-need_version=$need_version
45948
 
+int
45949
 
+main ()
45950
 
+{
45951
 
+ return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
45952
 
+  ;
45953
 
+  return 0;
45954
 
+}
45955
 
+_ACEOF
45956
 
+if ac_fn_c_try_link "$LINENO"; then :
45957
 
+   echo "*** The test program compiled, but did not run. This usually means"
45958
 
+          echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
45959
 
+          echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
45960
 
+          echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
45961
 
+          echo "*** to the installed location  Also, make sure you have run ldconfig if that"
45962
 
+          echo "*** is required on your system"
45963
 
+         echo "***"
45964
 
+          echo "*** If you have an old version installed, it is best to remove it, although"
45965
 
+          echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
45966
 
+else
45967
 
+   echo "*** The test program failed to compile or link. See the file config.log for the"
45968
 
+          echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
45969
 
+fi
45970
 
+rm -f core conftest.err conftest.$ac_objext \
45971
 
+    conftest$ac_exeext conftest.$ac_ext
45972
 
+          CFLAGS="$ac_save_CFLAGS"
45973
 
+          LIBS="$ac_save_LIBS"
45974
 
+       fi
45975
 
+     fi
45976
 
+     GTK_CFLAGS=""
45977
 
+     GTK_LIBS=""
45978
 
+     as_fn_error "maybe you want the gtk-gnome-1-2 branch?" "$LINENO" 5
45979
 
+  fi
45980
 
 
45981
 
-# Whether dlopen is supported.
45982
 
-dlopen_support=$enable_dlopen
45983
 
 
45984
 
-# Whether dlopen of programs is supported.
45985
 
-dlopen_self=$enable_dlopen_self
45986
 
+  rm -f conf.gtktest
45987
 
 
45988
 
-# Whether dlopen of statically linked programs is supported.
45989
 
-dlopen_self_static=$enable_dlopen_self_static
45990
 
+if test -n "$export_dynamic"; then
45991
 
+  GTK_LIBS=`echo $GTK_LIBS | sed -e "s/$export_dynamic//"`
45992
 
+fi
45993
 
 
45994
 
-# Compiler flag to prevent dynamic linking.
45995
 
-link_static_flag=$lt_lt_prog_compiler_static_RC
45996
 
+default_bindings_on="eggtray eggrecent gda gdl gksu gksu2 gtkhtml2 gtkmozembed gtkspell"
45997
 
+default_bindings_off=""
45998
 
+default_bindings_all="$default_bindings_on $default_bindings_off"
45999
 
 
46000
 
-# Compiler flag to turn off builtin functions.
46001
 
-no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
46002
 
+# Check whether --enable-allbindings was given.
46003
 
+if test "${enable_allbindings+set}" = set; then :
46004
 
+  enableval=$enable_allbindings; if test "$enable_allbindings" = "no"; then
46005
 
+                          default_bindings_off="$default_bindings_all"
46006
 
+                          default_bindings_on=""
46007
 
+                        else
46008
 
+                          default_bindings_off=""
46009
 
+                          default_bindings_on="$default_bindings_all"
46010
 
+                    fi
46011
 
+fi
46012
 
 
46013
 
-# Compiler flag to allow reflexive dlopens.
46014
 
-export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
46015
 
+for binding in $default_bindings_on; do
46016
 
+       eval build_$binding=true
46017
 
+done
46018
 
+for binding in $default_bindings_off; do
46019
 
+       eval build_$binding=false
46020
 
+done
46021
 
 
46022
 
-# Compiler flag to generate shared objects directly from archives.
46023
 
-whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
46024
 
+# Check whether --enable-docs was given.
46025
 
+if test "${enable_docs+set}" = set; then :
46026
 
+  enableval=$enable_docs; enable_docs=$enableval
46027
 
+else
46028
 
+  enable_docs=no
46029
 
+fi
46030
 
 
46031
 
-# Compiler flag to generate thread-safe objects.
46032
 
-thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
46033
 
+if test "${enable_docs}" != no; then
46034
 
+    # Extract the first word of "xsltproc", so it can be a program name with args.
46035
 
+set dummy xsltproc; ac_word=$2
46036
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
46037
 
+$as_echo_n "checking for $ac_word... " >&6; }
46038
 
+if test "${ac_cv_path_XSLTPROC+set}" = set; then :
46039
 
+  $as_echo_n "(cached) " >&6
46040
 
+else
46041
 
+  case $XSLTPROC in
46042
 
+  [\\/]* | ?:[\\/]*)
46043
 
+  ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
46044
 
+  ;;
46045
 
+  *)
46046
 
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46047
 
+for as_dir in $PATH
46048
 
+do
46049
 
+  IFS=$as_save_IFS
46050
 
+  test -z "$as_dir" && as_dir=.
46051
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
46052
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46053
 
+    ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
46054
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
46055
 
+    break 2
46056
 
+  fi
46057
 
+done
46058
 
+  done
46059
 
+IFS=$as_save_IFS
46060
 
 
46061
 
-# Library versioning type.
46062
 
-version_type=$version_type
46063
 
+  ;;
46064
 
+esac
46065
 
+fi
46066
 
+XSLTPROC=$ac_cv_path_XSLTPROC
46067
 
+if test -n "$XSLTPROC"; then
46068
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
46069
 
+$as_echo "$XSLTPROC" >&6; }
46070
 
+else
46071
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
46072
 
+$as_echo "no" >&6; }
46073
 
+fi
46074
 
 
46075
 
-# Format of library name prefix.
46076
 
-libname_spec=$lt_libname_spec
46077
 
 
46078
 
-# List of archive names.  First name is the real one, the rest are links.
46079
 
-# The last name is the one that the linker finds with -lNAME.
46080
 
-library_names_spec=$lt_library_names_spec
46081
 
+  if test -z "$XSLTPROC"; then
46082
 
+    enable_docs=no
46083
 
+  fi
46084
 
+fi
46085
 
 
46086
 
-# The coded name of the library, if different from the real name.
46087
 
-soname_spec=$lt_soname_spec
46088
 
+ if test x$enable_docs != xno; then
46089
 
+  ENABLE_DOCS_TRUE=
46090
 
+  ENABLE_DOCS_FALSE='#'
46091
 
+else
46092
 
+  ENABLE_DOCS_TRUE='#'
46093
 
+  ENABLE_DOCS_FALSE=
46094
 
+fi
46095
 
 
46096
 
-# Commands used to build and install an old-style archive.
46097
 
-RANLIB=$lt_RANLIB
46098
 
-old_archive_cmds=$lt_old_archive_cmds_RC
46099
 
-old_postinstall_cmds=$lt_old_postinstall_cmds
46100
 
-old_postuninstall_cmds=$lt_old_postuninstall_cmds
46101
 
 
46102
 
-# Create an old-style archive from a shared archive.
46103
 
-old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
46104
 
+PYGOBJECT_INCLUDEDIR=`$PKG_CONFIG --variable=pygtkincludedir pygobject-2.0`
46105
 
 
46106
 
-# Create a temporary old-style archive to link instead of a shared archive.
46107
 
-old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
46108
 
 
46109
 
-# Commands used to build and install a shared archive.
46110
 
-archive_cmds=$lt_archive_cmds_RC
46111
 
-archive_expsym_cmds=$lt_archive_expsym_cmds_RC
46112
 
-postinstall_cmds=$lt_postinstall_cmds
46113
 
-postuninstall_cmds=$lt_postuninstall_cmds
46114
 
+PYGOBJECT_DATADIR=`$PKG_CONFIG --variable=datadir pygobject-2.0`
46115
 
 
46116
 
-# Commands used to build a loadable module (assumed same as above if empty)
46117
 
-module_cmds=$lt_module_cmds_RC
46118
 
-module_expsym_cmds=$lt_module_expsym_cmds_RC
46119
 
 
46120
 
-# Commands to strip libraries.
46121
 
-old_striplib=$lt_old_striplib
46122
 
-striplib=$lt_striplib
46123
 
+PYGOBJECT_FIXXREF="$PYTHON `$PKG_CONFIG --variable=fixxref pygobject-2.0`"
46124
 
 
46125
 
-# Dependencies to place before the objects being linked to create a
46126
 
-# shared library.
46127
 
-predep_objects=$lt_predep_objects_RC
46128
 
-
46129
 
-# Dependencies to place after the objects being linked to create a
46130
 
-# shared library.
46131
 
-postdep_objects=$lt_postdep_objects_RC
46132
 
-
46133
 
-# Dependencies to place before the objects being linked to create a
46134
 
-# shared library.
46135
 
-predeps=$lt_predeps_RC
46136
 
-
46137
 
-# Dependencies to place after the objects being linked to create a
46138
 
-# shared library.
46139
 
-postdeps=$lt_postdeps_RC
46140
 
-
46141
 
-# The directories searched by this compiler when creating a shared
46142
 
-# library
46143
 
-compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
46144
 
 
46145
 
-# The library search path used internally by the compiler when linking
46146
 
-# a shared library.
46147
 
-compiler_lib_search_path=$lt_compiler_lib_search_path_RC
46148
 
+PYGOBJECT_PYGDOCS="`$PKG_CONFIG --variable=pygdocs pygobject-2.0`"
46149
 
 
46150
 
-# Method to check whether dependent libraries are shared objects.
46151
 
-deplibs_check_method=$lt_deplibs_check_method
46152
 
 
46153
 
-# Command to use when deplibs_check_method == file_magic.
46154
 
-file_magic_cmd=$lt_file_magic_cmd
46155
 
+# Check whether --enable-gtkhtml2 was given.
46156
 
+if test "${enable_gtkhtml2+set}" = set; then :
46157
 
+  enableval=$enable_gtkhtml2; if test "$enable_gtkhtml2" = "yes"; then
46158
 
+                       build_gtkhtml2=true
46159
 
+                         else
46160
 
+                               build_gtkhtml2=false
46161
 
+                        fi
46162
 
+fi
46163
 
 
46164
 
-# Flag that allows shared libraries with undefined symbols to be built.
46165
 
-allow_undefined_flag=$lt_allow_undefined_flag_RC
46166
 
 
46167
 
-# Flag that forces no undefined symbols.
46168
 
-no_undefined_flag=$lt_no_undefined_flag_RC
46169
 
+if $build_gtkhtml2; then
46170
 
 
46171
 
-# Commands used to finish a libtool library installation in a directory.
46172
 
-finish_cmds=$lt_finish_cmds
46173
 
+pkg_failed=no
46174
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKHTML2" >&5
46175
 
+$as_echo_n "checking for GTKHTML2... " >&6; }
46176
 
 
46177
 
-# Same as above, but a single script fragment to be evaled but not shown.
46178
 
-finish_eval=$lt_finish_eval
46179
 
+if test -n "$PKG_CONFIG"; then
46180
 
+    if test -n "$GTKHTML2_CFLAGS"; then
46181
 
+        pkg_cv_GTKHTML2_CFLAGS="$GTKHTML2_CFLAGS"
46182
 
+    else
46183
 
+        if test -n "$PKG_CONFIG" && \
46184
 
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-2.0 >= 2.3.1\""; } >&5
46185
 
+  ($PKG_CONFIG --exists --print-errors "libgtkhtml-2.0 >= 2.3.1") 2>&5
46186
 
+  ac_status=$?
46187
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
46188
 
+  test $ac_status = 0; }; then
46189
 
+  pkg_cv_GTKHTML2_CFLAGS=`$PKG_CONFIG --cflags "libgtkhtml-2.0 >= 2.3.1" 2>/dev/null`
46190
 
+else
46191
 
+  pkg_failed=yes
46192
 
+fi
46193
 
+    fi
46194
 
+else
46195
 
+       pkg_failed=untried
46196
 
+fi
46197
 
+if test -n "$PKG_CONFIG"; then
46198
 
+    if test -n "$GTKHTML2_LIBS"; then
46199
 
+        pkg_cv_GTKHTML2_LIBS="$GTKHTML2_LIBS"
46200
 
+    else
46201
 
+        if test -n "$PKG_CONFIG" && \
46202
 
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-2.0 >= 2.3.1\""; } >&5
46203
 
+  ($PKG_CONFIG --exists --print-errors "libgtkhtml-2.0 >= 2.3.1") 2>&5
46204
 
+  ac_status=$?
46205
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
46206
 
+  test $ac_status = 0; }; then
46207
 
+  pkg_cv_GTKHTML2_LIBS=`$PKG_CONFIG --libs "libgtkhtml-2.0 >= 2.3.1" 2>/dev/null`
46208
 
+else
46209
 
+  pkg_failed=yes
46210
 
+fi
46211
 
+    fi
46212
 
+else
46213
 
+       pkg_failed=untried
46214
 
+fi
46215
 
 
46216
 
-# Take the output of nm and produce a listing of raw symbols and C names.
46217
 
-global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
46218
 
 
46219
 
-# Transform the output of nm in a proper C declaration
46220
 
-global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
46221
 
 
46222
 
-# Transform the output of nm in a C name address pair
46223
 
-global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
46224
 
+if test $pkg_failed = yes; then
46225
 
 
46226
 
-# This is the shared library runtime path variable.
46227
 
-runpath_var=$runpath_var
46228
 
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46229
 
+        _pkg_short_errors_supported=yes
46230
 
+else
46231
 
+        _pkg_short_errors_supported=no
46232
 
+fi
46233
 
+        if test $_pkg_short_errors_supported = yes; then
46234
 
+               GTKHTML2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgtkhtml-2.0 >= 2.3.1"`
46235
 
+        else
46236
 
+               GTKHTML2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgtkhtml-2.0 >= 2.3.1"`
46237
 
+        fi
46238
 
+       # Put the nasty error message in config.log where it belongs
46239
 
+       echo "$GTKHTML2_PKG_ERRORS" >&5
46240
 
 
46241
 
-# This is the shared library path variable.
46242
 
-shlibpath_var=$shlibpath_var
46243
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
46244
 
+$as_echo "no" >&6; }
46245
 
+                build_gtkhtml2=false
46246
 
+elif test $pkg_failed = untried; then
46247
 
+       build_gtkhtml2=false
46248
 
+else
46249
 
+       GTKHTML2_CFLAGS=$pkg_cv_GTKHTML2_CFLAGS
46250
 
+       GTKHTML2_LIBS=$pkg_cv_GTKHTML2_LIBS
46251
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
46252
 
+$as_echo "yes" >&6; }
46253
 
+       build_gtkhtml2=true
46254
 
+fi
46255
 
+fi
46256
 
 
46257
 
-# Is shlibpath searched before the hard-coded library search path?
46258
 
-shlibpath_overrides_runpath=$shlibpath_overrides_runpath
46259
 
 
46260
 
-# How to hardcode a shared library path into an executable.
46261
 
-hardcode_action=$hardcode_action_RC
46262
 
+ if $build_gtkhtml2; then
46263
 
+  BUILD_GTKHTML2_TRUE=
46264
 
+  BUILD_GTKHTML2_FALSE='#'
46265
 
+else
46266
 
+  BUILD_GTKHTML2_TRUE='#'
46267
 
+  BUILD_GTKHTML2_FALSE=
46268
 
+fi
46269
 
 
46270
 
-# Whether we should hardcode library paths into libraries.
46271
 
-hardcode_into_libs=$hardcode_into_libs
46272
 
+if test -n "$export_dynamic"; then
46273
 
+  GTKHTML2_LIBS=`echo $GTKHTML2_LIBS | sed -e "s/$export_dynamic//"`
46274
 
+fi
46275
 
 
46276
 
-# Flag to hardcode \$libdir into a binary during linking.
46277
 
-# This must work even if \$libdir does not exist.
46278
 
-hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
46279
 
 
46280
 
-# If ld is used when linking, flag to hardcode \$libdir into
46281
 
-# a binary during linking. This must work even if \$libdir does
46282
 
-# not exist.
46283
 
-hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
46284
 
-
46285
 
-# Whether we need a single -rpath flag with a separated argument.
46286
 
-hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
46287
 
-
46288
 
-# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
46289
 
-# resulting binary.
46290
 
-hardcode_direct=$hardcode_direct_RC
46291
 
-
46292
 
-# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
46293
 
-# resulting binary.
46294
 
-hardcode_minus_L=$hardcode_minus_L_RC
46295
 
-
46296
 
-# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
46297
 
-# the resulting binary.
46298
 
-hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
46299
 
-
46300
 
-# Set to yes if building a shared library automatically hardcodes DIR into the library
46301
 
-# and all subsequent libraries and executables linked against it.
46302
 
-hardcode_automatic=$hardcode_automatic_RC
46303
 
+# Check whether --enable-eggtray was given.
46304
 
+if test "${enable_eggtray+set}" = set; then :
46305
 
+  enableval=$enable_eggtray; if test "$enable_eggtray" = "yes"; then
46306
 
+                       build_eggtray=true
46307
 
+                         else
46308
 
+                               build_eggtray=false
46309
 
+                        fi
46310
 
+fi
46311
 
 
46312
 
-# Variables whose values should be saved in libtool wrapper scripts and
46313
 
-# restored at relink time.
46314
 
-variables_saved_for_relink="$variables_saved_for_relink"
46315
 
 
46316
 
-# Whether libtool must link a program against all its dependency libraries.
46317
 
-link_all_deplibs=$link_all_deplibs_RC
46318
 
+if $build_eggtray; then
46319
 
 
46320
 
-# Compile-time system search path for libraries
46321
 
-sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
46322
 
+pkg_failed=no
46323
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGGTRAY" >&5
46324
 
+$as_echo_n "checking for EGGTRAY... " >&6; }
46325
 
 
46326
 
-# Run-time system search path for libraries
46327
 
-sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
46328
 
+if test -n "$PKG_CONFIG"; then
46329
 
+    if test -n "$EGGTRAY_CFLAGS"; then
46330
 
+        pkg_cv_EGGTRAY_CFLAGS="$EGGTRAY_CFLAGS"
46331
 
+    else
46332
 
+        if test -n "$PKG_CONFIG" && \
46333
 
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.2.0\""; } >&5
46334
 
+  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.2.0") 2>&5
46335
 
+  ac_status=$?
46336
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
46337
 
+  test $ac_status = 0; }; then
46338
 
+  pkg_cv_EGGTRAY_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.2.0" 2>/dev/null`
46339
 
+else
46340
 
+  pkg_failed=yes
46341
 
+fi
46342
 
+    fi
46343
 
+else
46344
 
+       pkg_failed=untried
46345
 
+fi
46346
 
+if test -n "$PKG_CONFIG"; then
46347
 
+    if test -n "$EGGTRAY_LIBS"; then
46348
 
+        pkg_cv_EGGTRAY_LIBS="$EGGTRAY_LIBS"
46349
 
+    else
46350
 
+        if test -n "$PKG_CONFIG" && \
46351
 
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.2.0\""; } >&5
46352
 
+  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.2.0") 2>&5
46353
 
+  ac_status=$?
46354
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
46355
 
+  test $ac_status = 0; }; then
46356
 
+  pkg_cv_EGGTRAY_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.2.0" 2>/dev/null`
46357
 
+else
46358
 
+  pkg_failed=yes
46359
 
+fi
46360
 
+    fi
46361
 
+else
46362
 
+       pkg_failed=untried
46363
 
+fi
46364
 
 
46365
 
-# Fix the shell variable \$srcfile for the compiler.
46366
 
-fix_srcfile_path=$lt_fix_srcfile_path
46367
 
 
46368
 
-# Set to yes if exported symbols are required.
46369
 
-always_export_symbols=$always_export_symbols_RC
46370
 
 
46371
 
-# The commands to list exported symbols.
46372
 
-export_symbols_cmds=$lt_export_symbols_cmds_RC
46373
 
+if test $pkg_failed = yes; then
46374
 
 
46375
 
-# The commands to extract the exported symbol list from a shared archive.
46376
 
-extract_expsyms_cmds=$lt_extract_expsyms_cmds
46377
 
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46378
 
+        _pkg_short_errors_supported=yes
46379
 
+else
46380
 
+        _pkg_short_errors_supported=no
46381
 
+fi
46382
 
+        if test $_pkg_short_errors_supported = yes; then
46383
 
+               EGGTRAY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0 >= 2.2.0"`
46384
 
+        else
46385
 
+               EGGTRAY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.2.0"`
46386
 
+        fi
46387
 
+       # Put the nasty error message in config.log where it belongs
46388
 
+       echo "$EGGTRAY_PKG_ERRORS" >&5
46389
 
 
46390
 
-# Symbols that should not be listed in the preloaded symbols.
46391
 
-exclude_expsyms=$lt_exclude_expsyms_RC
46392
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
46393
 
+$as_echo "no" >&6; }
46394
 
+                build_eggtray=false
46395
 
+elif test $pkg_failed = untried; then
46396
 
+       build_eggtray=false
46397
 
+else
46398
 
+       EGGTRAY_CFLAGS=$pkg_cv_EGGTRAY_CFLAGS
46399
 
+       EGGTRAY_LIBS=$pkg_cv_EGGTRAY_LIBS
46400
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
46401
 
+$as_echo "yes" >&6; }
46402
 
+       build_eggtray=true
46403
 
+fi
46404
 
+fi
46405
 
+ if $build_eggtray; then
46406
 
+  BUILD_EGGTRAY_TRUE=
46407
 
+  BUILD_EGGTRAY_FALSE='#'
46408
 
+else
46409
 
+  BUILD_EGGTRAY_TRUE='#'
46410
 
+  BUILD_EGGTRAY_FALSE=
46411
 
+fi
46412
 
 
46413
 
-# Symbols that must always be exported.
46414
 
-include_expsyms=$lt_include_expsyms_RC
46415
 
+if test -n "$export_dynamic"; then
46416
 
+  EGGTRAY_LIBS=`echo $EGGTRAY_LIBS | sed -e "s/$export_dynamic//"`
46417
 
+fi
46418
 
+
46419
 
+# Check whether --enable-eggrecent was given.
46420
 
+if test "${enable_eggrecent+set}" = set; then :
46421
 
+  enableval=$enable_eggrecent; if test "$enable_eggrecent" = "yes"; then
46422
 
+                       build_eggrecent=true
46423
 
+                         else
46424
 
+                               build_eggrecent=false
46425
 
+                        fi
46426
 
+fi
46427
 
 
46428
 
-# ### END LIBTOOL TAG CONFIG: $tagname
46429
 
 
46430
 
-__EOF__
46431
 
+if $build_eggrecent; then
46432
 
 
46433
 
+pkg_failed=no
46434
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGG_RECENT" >&5
46435
 
+$as_echo_n "checking for EGG_RECENT... " >&6; }
46436
 
 
46437
 
+if test -n "$PKG_CONFIG"; then
46438
 
+    if test -n "$EGG_RECENT_CFLAGS"; then
46439
 
+        pkg_cv_EGG_RECENT_CFLAGS="$EGG_RECENT_CFLAGS"
46440
 
+    else
46441
 
+        if test -n "$PKG_CONFIG" && \
46442
 
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.0.0 gnome-vfs-2.0
46443
 
+                                 libbonoboui-2.0 libgnomeui-2.0
46444
 
+                                 gnome-python-2.0 >= 2.10.0\""; } >&5
46445
 
+  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.0.0 gnome-vfs-2.0
46446
 
+                                 libbonoboui-2.0 libgnomeui-2.0
46447
 
+                                 gnome-python-2.0 >= 2.10.0") 2>&5
46448
 
+  ac_status=$?
46449
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
46450
 
+  test $ac_status = 0; }; then
46451
 
+  pkg_cv_EGG_RECENT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.0.0 gnome-vfs-2.0
46452
 
+                                 libbonoboui-2.0 libgnomeui-2.0
46453
 
+                                 gnome-python-2.0 >= 2.10.0" 2>/dev/null`
46454
 
 else
46455
 
-  # If there is no Makefile yet, we rely on a make rule to execute
46456
 
-  # `config.status --recheck' to rerun these tests and create the
46457
 
-  # libtool script then.
46458
 
-  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
46459
 
-  if test -f "$ltmain_in"; then
46460
 
-    test -f Makefile && make "$ltmain"
46461
 
-  fi
46462
 
+  pkg_failed=yes
46463
 
+fi
46464
 
+    fi
46465
 
+else
46466
 
+       pkg_failed=untried
46467
 
+fi
46468
 
+if test -n "$PKG_CONFIG"; then
46469
 
+    if test -n "$EGG_RECENT_LIBS"; then
46470
 
+        pkg_cv_EGG_RECENT_LIBS="$EGG_RECENT_LIBS"
46471
 
+    else
46472
 
+        if test -n "$PKG_CONFIG" && \
46473
 
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.0.0 gnome-vfs-2.0
46474
 
+                                 libbonoboui-2.0 libgnomeui-2.0
46475
 
+                                 gnome-python-2.0 >= 2.10.0\""; } >&5
46476
 
+  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.0.0 gnome-vfs-2.0
46477
 
+                                 libbonoboui-2.0 libgnomeui-2.0
46478
 
+                                 gnome-python-2.0 >= 2.10.0") 2>&5
46479
 
+  ac_status=$?
46480
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
46481
 
+  test $ac_status = 0; }; then
46482
 
+  pkg_cv_EGG_RECENT_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.0.0 gnome-vfs-2.0
46483
 
+                                 libbonoboui-2.0 libgnomeui-2.0
46484
 
+                                 gnome-python-2.0 >= 2.10.0" 2>/dev/null`
46485
 
+else
46486
 
+  pkg_failed=yes
46487
 
+fi
46488
 
+    fi
46489
 
+else
46490
 
+       pkg_failed=untried
46491
 
 fi
46492
 
 
46493
 
 
46494
 
-ac_ext=c
46495
 
-ac_cpp='$CPP $CPPFLAGS'
46496
 
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46497
 
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46498
 
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
46499
 
 
46500
 
-CC="$lt_save_CC"
46501
 
+if test $pkg_failed = yes; then
46502
 
 
46503
 
-       ;;
46504
 
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46505
 
+        _pkg_short_errors_supported=yes
46506
 
+else
46507
 
+        _pkg_short_errors_supported=no
46508
 
+fi
46509
 
+        if test $_pkg_short_errors_supported = yes; then
46510
 
+               EGG_RECENT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0 >= 2.0.0 gnome-vfs-2.0
46511
 
+                                 libbonoboui-2.0 libgnomeui-2.0
46512
 
+                                 gnome-python-2.0 >= 2.10.0"`
46513
 
+        else
46514
 
+               EGG_RECENT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.0.0 gnome-vfs-2.0
46515
 
+                                 libbonoboui-2.0 libgnomeui-2.0
46516
 
+                                 gnome-python-2.0 >= 2.10.0"`
46517
 
+        fi
46518
 
+       # Put the nasty error message in config.log where it belongs
46519
 
+       echo "$EGG_RECENT_PKG_ERRORS" >&5
46520
 
 
46521
 
-      *)
46522
 
-       { { $as_echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
46523
 
-$as_echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
46524
 
-   { (exit 1); exit 1; }; }
46525
 
-       ;;
46526
 
-      esac
46527
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
46528
 
+$as_echo "no" >&6; }
46529
 
+                build_eggrecent=false
46530
 
+elif test $pkg_failed = untried; then
46531
 
+       build_eggrecent=false
46532
 
+else
46533
 
+       EGG_RECENT_CFLAGS=$pkg_cv_EGG_RECENT_CFLAGS
46534
 
+       EGG_RECENT_LIBS=$pkg_cv_EGG_RECENT_LIBS
46535
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
46536
 
+$as_echo "yes" >&6; }
46537
 
+       build_eggrecent=true
46538
 
+fi
46539
 
+fi
46540
 
+ if $build_eggrecent; then
46541
 
+  BUILD_EGGRECENT_TRUE=
46542
 
+  BUILD_EGGRECENT_FALSE='#'
46543
 
+else
46544
 
+  BUILD_EGGRECENT_TRUE='#'
46545
 
+  BUILD_EGGRECENT_FALSE=
46546
 
+fi
46547
 
 
46548
 
-      # Append the new tag name to the list of available tags.
46549
 
-      if test -n "$tagname" ; then
46550
 
-      available_tags="$available_tags $tagname"
46551
 
-    fi
46552
 
-    fi
46553
 
-  done
46554
 
-  IFS="$lt_save_ifs"
46555
 
+if test -n "$export_dynamic"; then
46556
 
+  EGGRECENT_LIBS=`echo $EGGRECENT_LIBS | sed -e "s/$export_dynamic//"`
46557
 
+fi
46558
 
 
46559
 
-  # Now substitute the updated list of available tags.
46560
 
-  if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
46561
 
-    mv "${ofile}T" "$ofile"
46562
 
-    chmod +x "$ofile"
46563
 
-  else
46564
 
-    rm -f "${ofile}T"
46565
 
-    { { $as_echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
46566
 
-$as_echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
46567
 
-   { (exit 1); exit 1; }; }
46568
 
-  fi
46569
 
+ if $build_eggrecent || $build_eggtray; then
46570
 
+  BUILD_EGG_TRUE=
46571
 
+  BUILD_EGG_FALSE='#'
46572
 
+else
46573
 
+  BUILD_EGG_TRUE='#'
46574
 
+  BUILD_EGG_FALSE=
46575
 
 fi
46576
 
 
46577
 
 
46578
 
+# Check whether --enable-gtkmozembed was given.
46579
 
+if test "${enable_gtkmozembed+set}" = set; then :
46580
 
+  enableval=$enable_gtkmozembed; if test "$enable_gtkmozembed" = "yes"; then
46581
 
+                       build_gtkmozembed=true
46582
 
+                         else
46583
 
+                               build_gtkmozembed=false
46584
 
+                        fi
46585
 
+fi
46586
 
 
46587
 
-# This can be used to rebuild libtool when needed
46588
 
-LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
46589
 
 
46590
 
-# Always use our own libtool.
46591
 
-LIBTOOL='$(SHELL) $(top_builddir)/libtool'
46592
 
 
46593
 
-# Prevent multiple expansion
46594
 
+# Check whether --with-gtkmozembed was given.
46595
 
+if test "${with_gtkmozembed+set}" = set; then :
46596
 
+  withval=$with_gtkmozembed; mozpackage=$withval
46597
 
+else
46598
 
+  mozpackage=any
46599
 
+fi
46600
 
 
46601
 
 
46602
 
+if "$build_gtkmozembed"; then
46603
 
+if test $mozpackage = any ; then
46604
 
 
46605
 
 
46606
 
+pkg_failed=no
46607
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKMOZEMBED" >&5
46608
 
+$as_echo_n "checking for GTKMOZEMBED... " >&6; }
46609
 
 
46610
 
+if test -n "$PKG_CONFIG"; then
46611
 
+    if test -n "$GTKMOZEMBED_CFLAGS"; then
46612
 
+        pkg_cv_GTKMOZEMBED_CFLAGS="$GTKMOZEMBED_CFLAGS"
46613
 
+    else
46614
 
+        if test -n "$PKG_CONFIG" && \
46615
 
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxul-embedding >= 1.9
46616
 
+                                gtk+-2.0         >= 2.4.0\""; } >&5
46617
 
+  ($PKG_CONFIG --exists --print-errors "libxul-embedding >= 1.9
46618
 
+                                gtk+-2.0         >= 2.4.0") 2>&5
46619
 
+  ac_status=$?
46620
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
46621
 
+  test $ac_status = 0; }; then
46622
 
+  pkg_cv_GTKMOZEMBED_CFLAGS=`$PKG_CONFIG --cflags "libxul-embedding >= 1.9
46623
 
+                                gtk+-2.0         >= 2.4.0" 2>/dev/null`
46624
 
+else
46625
 
+  pkg_failed=yes
46626
 
+fi
46627
 
+    fi
46628
 
+else
46629
 
+       pkg_failed=untried
46630
 
+fi
46631
 
+if test -n "$PKG_CONFIG"; then
46632
 
+    if test -n "$GTKMOZEMBED_LIBS"; then
46633
 
+        pkg_cv_GTKMOZEMBED_LIBS="$GTKMOZEMBED_LIBS"
46634
 
+    else
46635
 
+        if test -n "$PKG_CONFIG" && \
46636
 
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxul-embedding >= 1.9
46637
 
+                                gtk+-2.0         >= 2.4.0\""; } >&5
46638
 
+  ($PKG_CONFIG --exists --print-errors "libxul-embedding >= 1.9
46639
 
+                                gtk+-2.0         >= 2.4.0") 2>&5
46640
 
+  ac_status=$?
46641
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
46642
 
+  test $ac_status = 0; }; then
46643
 
+  pkg_cv_GTKMOZEMBED_LIBS=`$PKG_CONFIG --libs "libxul-embedding >= 1.9
46644
 
+                                gtk+-2.0         >= 2.4.0" 2>/dev/null`
46645
 
+else
46646
 
+  pkg_failed=yes
46647
 
+fi
46648
 
+    fi
46649
 
+else
46650
 
+       pkg_failed=untried
46651
 
+fi
46652
 
 
46653
 
 
46654
 
 
46655
 
+if test $pkg_failed = yes; then
46656
 
 
46657
 
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46658
 
+        _pkg_short_errors_supported=yes
46659
 
+else
46660
 
+        _pkg_short_errors_supported=no
46661
 
+fi
46662
 
+        if test $_pkg_short_errors_supported = yes; then
46663
 
+               GTKMOZEMBED_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libxul-embedding >= 1.9
46664
 
+                                gtk+-2.0         >= 2.4.0"`
46665
 
+        else
46666
 
+               GTKMOZEMBED_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libxul-embedding >= 1.9
46667
 
+                                gtk+-2.0         >= 2.4.0"`
46668
 
+        fi
46669
 
+       # Put the nasty error message in config.log where it belongs
46670
 
+       echo "$GTKMOZEMBED_PKG_ERRORS" >&5
46671
 
 
46672
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
46673
 
+$as_echo "no" >&6; }
46674
 
 
46675
 
 
46676
 
+pkg_failed=no
46677
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKMOZEMBED" >&5
46678
 
+$as_echo_n "checking for GTKMOZEMBED... " >&6; }
46679
 
 
46680
 
+if test -n "$PKG_CONFIG"; then
46681
 
+    if test -n "$GTKMOZEMBED_CFLAGS"; then
46682
 
+        pkg_cv_GTKMOZEMBED_CFLAGS="$GTKMOZEMBED_CFLAGS"
46683
 
+    else
46684
 
+        if test -n "$PKG_CONFIG" && \
46685
 
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xulrunner-gtkmozembed >= 1.8
46686
 
+                                gtk+-2.0              >= 2.4.0\""; } >&5
46687
 
+  ($PKG_CONFIG --exists --print-errors "xulrunner-gtkmozembed >= 1.8
46688
 
+                                gtk+-2.0              >= 2.4.0") 2>&5
46689
 
+  ac_status=$?
46690
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
46691
 
+  test $ac_status = 0; }; then
46692
 
+  pkg_cv_GTKMOZEMBED_CFLAGS=`$PKG_CONFIG --cflags "xulrunner-gtkmozembed >= 1.8
46693
 
+                                gtk+-2.0              >= 2.4.0" 2>/dev/null`
46694
 
+else
46695
 
+  pkg_failed=yes
46696
 
+fi
46697
 
+    fi
46698
 
+else
46699
 
+       pkg_failed=untried
46700
 
+fi
46701
 
+if test -n "$PKG_CONFIG"; then
46702
 
+    if test -n "$GTKMOZEMBED_LIBS"; then
46703
 
+        pkg_cv_GTKMOZEMBED_LIBS="$GTKMOZEMBED_LIBS"
46704
 
+    else
46705
 
+        if test -n "$PKG_CONFIG" && \
46706
 
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xulrunner-gtkmozembed >= 1.8
46707
 
+                                gtk+-2.0              >= 2.4.0\""; } >&5
46708
 
+  ($PKG_CONFIG --exists --print-errors "xulrunner-gtkmozembed >= 1.8
46709
 
+                                gtk+-2.0              >= 2.4.0") 2>&5
46710
 
+  ac_status=$?
46711
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
46712
 
+  test $ac_status = 0; }; then
46713
 
+  pkg_cv_GTKMOZEMBED_LIBS=`$PKG_CONFIG --libs "xulrunner-gtkmozembed >= 1.8
46714
 
+                                gtk+-2.0              >= 2.4.0" 2>/dev/null`
46715
 
+else
46716
 
+  pkg_failed=yes
46717
 
+fi
46718
 
+    fi
46719
 
+else
46720
 
+       pkg_failed=untried
46721
 
+fi
46722
 
 
46723
 
 
46724
 
 
46725
 
+if test $pkg_failed = yes; then
46726
 
 
46727
 
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46728
 
+        _pkg_short_errors_supported=yes
46729
 
+else
46730
 
+        _pkg_short_errors_supported=no
46731
 
+fi
46732
 
+        if test $_pkg_short_errors_supported = yes; then
46733
 
+               GTKMOZEMBED_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xulrunner-gtkmozembed >= 1.8
46734
 
+                                gtk+-2.0              >= 2.4.0"`
46735
 
+        else
46736
 
+               GTKMOZEMBED_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xulrunner-gtkmozembed >= 1.8
46737
 
+                                gtk+-2.0              >= 2.4.0"`
46738
 
+        fi
46739
 
+       # Put the nasty error message in config.log where it belongs
46740
 
+       echo "$GTKMOZEMBED_PKG_ERRORS" >&5
46741
 
 
46742
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
46743
 
+$as_echo "no" >&6; }
46744
 
 
46745
 
 
46746
 
+pkg_failed=no
46747
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKMOZEMBED" >&5
46748
 
+$as_echo_n "checking for GTKMOZEMBED... " >&6; }
46749
 
 
46750
 
+if test -n "$PKG_CONFIG"; then
46751
 
+    if test -n "$GTKMOZEMBED_CFLAGS"; then
46752
 
+        pkg_cv_GTKMOZEMBED_CFLAGS="$GTKMOZEMBED_CFLAGS"
46753
 
+    else
46754
 
+        if test -n "$PKG_CONFIG" && \
46755
 
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"firefox-gtkmozembed >= 1.0
46756
 
+                                gtk+-2.0            >= 2.4.0\""; } >&5
46757
 
+  ($PKG_CONFIG --exists --print-errors "firefox-gtkmozembed >= 1.0
46758
 
+                                gtk+-2.0            >= 2.4.0") 2>&5
46759
 
+  ac_status=$?
46760
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
46761
 
+  test $ac_status = 0; }; then
46762
 
+  pkg_cv_GTKMOZEMBED_CFLAGS=`$PKG_CONFIG --cflags "firefox-gtkmozembed >= 1.0
46763
 
+                                gtk+-2.0            >= 2.4.0" 2>/dev/null`
46764
 
+else
46765
 
+  pkg_failed=yes
46766
 
+fi
46767
 
+    fi
46768
 
+else
46769
 
+       pkg_failed=untried
46770
 
+fi
46771
 
+if test -n "$PKG_CONFIG"; then
46772
 
+    if test -n "$GTKMOZEMBED_LIBS"; then
46773
 
+        pkg_cv_GTKMOZEMBED_LIBS="$GTKMOZEMBED_LIBS"
46774
 
+    else
46775
 
+        if test -n "$PKG_CONFIG" && \
46776
 
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"firefox-gtkmozembed >= 1.0
46777
 
+                                gtk+-2.0            >= 2.4.0\""; } >&5
46778
 
+  ($PKG_CONFIG --exists --print-errors "firefox-gtkmozembed >= 1.0
46779
 
+                                gtk+-2.0            >= 2.4.0") 2>&5
46780
 
+  ac_status=$?
46781
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
46782
 
+  test $ac_status = 0; }; then
46783
 
+  pkg_cv_GTKMOZEMBED_LIBS=`$PKG_CONFIG --libs "firefox-gtkmozembed >= 1.0
46784
 
+                                gtk+-2.0            >= 2.4.0" 2>/dev/null`
46785
 
+else
46786
 
+  pkg_failed=yes
46787
 
+fi
46788
 
+    fi
46789
 
+else
46790
 
+       pkg_failed=untried
46791
 
+fi
46792
 
 
46793
 
 
46794
 
 
46795
 
+if test $pkg_failed = yes; then
46796
 
 
46797
 
-        if test -n "$PYTHON"; then
46798
 
-      # If the user set $PYTHON, use it and don't search something else.
46799
 
-      { $as_echo "$as_me:$LINENO: checking whether $PYTHON version >= 2.3" >&5
46800
 
-$as_echo_n "checking whether $PYTHON version >= 2.3... " >&6; }
46801
 
-      prog="import sys, string
46802
 
-# split strings by '.' and convert to numeric.  Append some zeros
46803
 
-# because we need at least 4 digits for the hex conversion.
46804
 
-minver = map(int, string.split('2.3', '.')) + [0, 0, 0]
46805
 
-minverhex = 0
46806
 
-for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
46807
 
-sys.exit(sys.hexversion < minverhex)"
46808
 
-  if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
46809
 
-   ($PYTHON -c "$prog") >&5 2>&5
46810
 
-   ac_status=$?
46811
 
-   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46812
 
-   (exit $ac_status); }; then
46813
 
-  { $as_echo "$as_me:$LINENO: result: yes" >&5
46814
 
-$as_echo "yes" >&6; }
46815
 
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46816
 
+        _pkg_short_errors_supported=yes
46817
 
 else
46818
 
-  { { $as_echo "$as_me:$LINENO: error: too old" >&5
46819
 
-$as_echo "$as_me: error: too old" >&2;}
46820
 
-   { (exit 1); exit 1; }; }
46821
 
+        _pkg_short_errors_supported=no
46822
 
 fi
46823
 
+        if test $_pkg_short_errors_supported = yes; then
46824
 
+               GTKMOZEMBED_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "firefox-gtkmozembed >= 1.0
46825
 
+                                gtk+-2.0            >= 2.4.0"`
46826
 
+        else
46827
 
+               GTKMOZEMBED_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "firefox-gtkmozembed >= 1.0
46828
 
+                                gtk+-2.0            >= 2.4.0"`
46829
 
+        fi
46830
 
+       # Put the nasty error message in config.log where it belongs
46831
 
+       echo "$GTKMOZEMBED_PKG_ERRORS" >&5
46832
 
 
46833
 
-      am_display_PYTHON=$PYTHON
46834
 
-    else
46835
 
-      # Otherwise, try each interpreter until we find one that satisfies
46836
 
-      # VERSION.
46837
 
-      { $as_echo "$as_me:$LINENO: checking for a Python interpreter with version >= 2.3" >&5
46838
 
-$as_echo_n "checking for a Python interpreter with version >= 2.3... " >&6; }
46839
 
-if test "${am_cv_pathless_PYTHON+set}" = set; then
46840
 
-  $as_echo_n "(cached) " >&6
46841
 
-else
46842
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
46843
 
+$as_echo "no" >&6; }
46844
 
 
46845
 
-       for am_cv_pathless_PYTHON in python python2 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5 none; do
46846
 
-         test "$am_cv_pathless_PYTHON" = none && break
46847
 
-         prog="import sys, string
46848
 
-# split strings by '.' and convert to numeric.  Append some zeros
46849
 
-# because we need at least 4 digits for the hex conversion.
46850
 
-minver = map(int, string.split('2.3', '.')) + [0, 0, 0]
46851
 
-minverhex = 0
46852
 
-for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
46853
 
-sys.exit(sys.hexversion < minverhex)"
46854
 
-  if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
46855
 
-   ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
46856
 
-   ac_status=$?
46857
 
-   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46858
 
-   (exit $ac_status); }; then
46859
 
-  break
46860
 
-fi
46861
 
 
46862
 
-       done
46863
 
+pkg_failed=no
46864
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKMOZEMBED" >&5
46865
 
+$as_echo_n "checking for GTKMOZEMBED... " >&6; }
46866
 
+
46867
 
+if test -n "$PKG_CONFIG"; then
46868
 
+    if test -n "$GTKMOZEMBED_CFLAGS"; then
46869
 
+        pkg_cv_GTKMOZEMBED_CFLAGS="$GTKMOZEMBED_CFLAGS"
46870
 
+    else
46871
 
+        if test -n "$PKG_CONFIG" && \
46872
 
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mozilla-gtkmozembed >= 1.2b
46873
 
+                                gtk+-2.0            >= 2.4.0\""; } >&5
46874
 
+  ($PKG_CONFIG --exists --print-errors "mozilla-gtkmozembed >= 1.2b
46875
 
+                                gtk+-2.0            >= 2.4.0") 2>&5
46876
 
+  ac_status=$?
46877
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
46878
 
+  test $ac_status = 0; }; then
46879
 
+  pkg_cv_GTKMOZEMBED_CFLAGS=`$PKG_CONFIG --cflags "mozilla-gtkmozembed >= 1.2b
46880
 
+                                gtk+-2.0            >= 2.4.0" 2>/dev/null`
46881
 
+else
46882
 
+  pkg_failed=yes
46883
 
 fi
46884
 
-{ $as_echo "$as_me:$LINENO: result: $am_cv_pathless_PYTHON" >&5
46885
 
-$as_echo "$am_cv_pathless_PYTHON" >&6; }
46886
 
-      # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
46887
 
-      if test "$am_cv_pathless_PYTHON" = none; then
46888
 
-       PYTHON=:
46889
 
-      else
46890
 
-        # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
46891
 
-set dummy $am_cv_pathless_PYTHON; ac_word=$2
46892
 
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
46893
 
-$as_echo_n "checking for $ac_word... " >&6; }
46894
 
-if test "${ac_cv_path_PYTHON+set}" = set; then
46895
 
-  $as_echo_n "(cached) " >&6
46896
 
+    fi
46897
 
 else
46898
 
-  case $PYTHON in
46899
 
-  [\\/]* | ?:[\\/]*)
46900
 
-  ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
46901
 
-  ;;
46902
 
-  *)
46903
 
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46904
 
-for as_dir in $PATH
46905
 
-do
46906
 
-  IFS=$as_save_IFS
46907
 
-  test -z "$as_dir" && as_dir=.
46908
 
-  for ac_exec_ext in '' $ac_executable_extensions; do
46909
 
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46910
 
-    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
46911
 
-    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46912
 
-    break 2
46913
 
-  fi
46914
 
-done
46915
 
-done
46916
 
-IFS=$as_save_IFS
46917
 
-
46918
 
-  ;;
46919
 
-esac
46920
 
+       pkg_failed=untried
46921
 
 fi
46922
 
-PYTHON=$ac_cv_path_PYTHON
46923
 
-if test -n "$PYTHON"; then
46924
 
-  { $as_echo "$as_me:$LINENO: result: $PYTHON" >&5
46925
 
-$as_echo "$PYTHON" >&6; }
46926
 
+if test -n "$PKG_CONFIG"; then
46927
 
+    if test -n "$GTKMOZEMBED_LIBS"; then
46928
 
+        pkg_cv_GTKMOZEMBED_LIBS="$GTKMOZEMBED_LIBS"
46929
 
+    else
46930
 
+        if test -n "$PKG_CONFIG" && \
46931
 
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mozilla-gtkmozembed >= 1.2b
46932
 
+                                gtk+-2.0            >= 2.4.0\""; } >&5
46933
 
+  ($PKG_CONFIG --exists --print-errors "mozilla-gtkmozembed >= 1.2b
46934
 
+                                gtk+-2.0            >= 2.4.0") 2>&5
46935
 
+  ac_status=$?
46936
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
46937
 
+  test $ac_status = 0; }; then
46938
 
+  pkg_cv_GTKMOZEMBED_LIBS=`$PKG_CONFIG --libs "mozilla-gtkmozembed >= 1.2b
46939
 
+                                gtk+-2.0            >= 2.4.0" 2>/dev/null`
46940
 
 else
46941
 
-  { $as_echo "$as_me:$LINENO: result: no" >&5
46942
 
-$as_echo "no" >&6; }
46943
 
+  pkg_failed=yes
46944
 
 fi
46945
 
-
46946
 
-
46947
 
-      fi
46948
 
-      am_display_PYTHON=$am_cv_pathless_PYTHON
46949
 
     fi
46950
 
+else
46951
 
+       pkg_failed=untried
46952
 
+fi
46953
 
 
46954
 
 
46955
 
-  if test "$PYTHON" = :; then
46956
 
-      { { $as_echo "$as_me:$LINENO: error: no suitable Python interpreter found" >&5
46957
 
-$as_echo "$as_me: error: no suitable Python interpreter found" >&2;}
46958
 
-   { (exit 1); exit 1; }; }
46959
 
-  else
46960
 
 
46961
 
+if test $pkg_failed = yes; then
46962
 
 
46963
 
-  { $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5
46964
 
-$as_echo_n "checking for $am_display_PYTHON version... " >&6; }
46965
 
-if test "${am_cv_python_version+set}" = set; then
46966
 
-  $as_echo_n "(cached) " >&6
46967
 
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46968
 
+        _pkg_short_errors_supported=yes
46969
 
 else
46970
 
-  am_cv_python_version=`$PYTHON -c "import sys; print sys.version[:3]"`
46971
 
+        _pkg_short_errors_supported=no
46972
 
 fi
46973
 
-{ $as_echo "$as_me:$LINENO: result: $am_cv_python_version" >&5
46974
 
-$as_echo "$am_cv_python_version" >&6; }
46975
 
-  PYTHON_VERSION=$am_cv_python_version
46976
 
-
46977
 
-
46978
 
+        if test $_pkg_short_errors_supported = yes; then
46979
 
+               GTKMOZEMBED_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "mozilla-gtkmozembed >= 1.2b
46980
 
+                                gtk+-2.0            >= 2.4.0"`
46981
 
+        else
46982
 
+               GTKMOZEMBED_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-gtkmozembed >= 1.2b
46983
 
+                                gtk+-2.0            >= 2.4.0"`
46984
 
+        fi
46985
 
+       # Put the nasty error message in config.log where it belongs
46986
 
+       echo "$GTKMOZEMBED_PKG_ERRORS" >&5
46987
 
 
46988
 
-  PYTHON_PREFIX='${prefix}'
46989
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
46990
 
+$as_echo "no" >&6; }
46991
 
+                build_gtkmozembed=false
46992
 
+elif test $pkg_failed = untried; then
46993
 
+       build_gtkmozembed=false
46994
 
+else
46995
 
+       GTKMOZEMBED_CFLAGS=$pkg_cv_GTKMOZEMBED_CFLAGS
46996
 
+       GTKMOZEMBED_LIBS=$pkg_cv_GTKMOZEMBED_LIBS
46997
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
46998
 
+$as_echo "yes" >&6; }
46999
 
+       build_gtkmozembed=true; mozpackage=mozilla; mozpkgconfig=$mozpackage-gtkmozembed
47000
 
+fi
47001
 
 
47002
 
-  PYTHON_EXEC_PREFIX='${exec_prefix}'
47003
 
+elif test $pkg_failed = untried; then
47004
 
 
47005
 
 
47006
 
+pkg_failed=no
47007
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKMOZEMBED" >&5
47008
 
+$as_echo_n "checking for GTKMOZEMBED... " >&6; }
47009
 
 
47010
 
-  { $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5
47011
 
-$as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
47012
 
-if test "${am_cv_python_platform+set}" = set; then
47013
 
-  $as_echo_n "(cached) " >&6
47014
 
+if test -n "$PKG_CONFIG"; then
47015
 
+    if test -n "$GTKMOZEMBED_CFLAGS"; then
47016
 
+        pkg_cv_GTKMOZEMBED_CFLAGS="$GTKMOZEMBED_CFLAGS"
47017
 
+    else
47018
 
+        if test -n "$PKG_CONFIG" && \
47019
 
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mozilla-gtkmozembed >= 1.2b
47020
 
+                                gtk+-2.0            >= 2.4.0\""; } >&5
47021
 
+  ($PKG_CONFIG --exists --print-errors "mozilla-gtkmozembed >= 1.2b
47022
 
+                                gtk+-2.0            >= 2.4.0") 2>&5
47023
 
+  ac_status=$?
47024
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
47025
 
+  test $ac_status = 0; }; then
47026
 
+  pkg_cv_GTKMOZEMBED_CFLAGS=`$PKG_CONFIG --cflags "mozilla-gtkmozembed >= 1.2b
47027
 
+                                gtk+-2.0            >= 2.4.0" 2>/dev/null`
47028
 
+else
47029
 
+  pkg_failed=yes
47030
 
+fi
47031
 
+    fi
47032
 
+else
47033
 
+       pkg_failed=untried
47034
 
+fi
47035
 
+if test -n "$PKG_CONFIG"; then
47036
 
+    if test -n "$GTKMOZEMBED_LIBS"; then
47037
 
+        pkg_cv_GTKMOZEMBED_LIBS="$GTKMOZEMBED_LIBS"
47038
 
+    else
47039
 
+        if test -n "$PKG_CONFIG" && \
47040
 
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mozilla-gtkmozembed >= 1.2b
47041
 
+                                gtk+-2.0            >= 2.4.0\""; } >&5
47042
 
+  ($PKG_CONFIG --exists --print-errors "mozilla-gtkmozembed >= 1.2b
47043
 
+                                gtk+-2.0            >= 2.4.0") 2>&5
47044
 
+  ac_status=$?
47045
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
47046
 
+  test $ac_status = 0; }; then
47047
 
+  pkg_cv_GTKMOZEMBED_LIBS=`$PKG_CONFIG --libs "mozilla-gtkmozembed >= 1.2b
47048
 
+                                gtk+-2.0            >= 2.4.0" 2>/dev/null`
47049
 
+else
47050
 
+  pkg_failed=yes
47051
 
+fi
47052
 
+    fi
47053
 
 else
47054
 
-  am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"`
47055
 
+       pkg_failed=untried
47056
 
 fi
47057
 
-{ $as_echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5
47058
 
-$as_echo "$am_cv_python_platform" >&6; }
47059
 
-  PYTHON_PLATFORM=$am_cv_python_platform
47060
 
 
47061
 
 
47062
 
 
47063
 
+if test $pkg_failed = yes; then
47064
 
 
47065
 
-                { $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5
47066
 
-$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
47067
 
-if test "${am_cv_python_pythondir+set}" = set; then
47068
 
-  $as_echo_n "(cached) " >&6
47069
 
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47070
 
+        _pkg_short_errors_supported=yes
47071
 
 else
47072
 
-  am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
47073
 
-     echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
47074
 
+        _pkg_short_errors_supported=no
47075
 
 fi
47076
 
-{ $as_echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5
47077
 
-$as_echo "$am_cv_python_pythondir" >&6; }
47078
 
-  pythondir=$am_cv_python_pythondir
47079
 
-
47080
 
-
47081
 
-
47082
 
-  pkgpythondir=\${pythondir}/$PACKAGE
47083
 
-
47084
 
+        if test $_pkg_short_errors_supported = yes; then
47085
 
+               GTKMOZEMBED_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "mozilla-gtkmozembed >= 1.2b
47086
 
+                                gtk+-2.0            >= 2.4.0"`
47087
 
+        else
47088
 
+               GTKMOZEMBED_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-gtkmozembed >= 1.2b
47089
 
+                                gtk+-2.0            >= 2.4.0"`
47090
 
+        fi
47091
 
+       # Put the nasty error message in config.log where it belongs
47092
 
+       echo "$GTKMOZEMBED_PKG_ERRORS" >&5
47093
 
 
47094
 
-            { $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5
47095
 
-$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
47096
 
-if test "${am_cv_python_pyexecdir+set}" = set; then
47097
 
-  $as_echo_n "(cached) " >&6
47098
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
47099
 
+$as_echo "no" >&6; }
47100
 
+                build_gtkmozembed=false
47101
 
+elif test $pkg_failed = untried; then
47102
 
+       build_gtkmozembed=false
47103
 
 else
47104
 
-  am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
47105
 
-     echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
47106
 
+       GTKMOZEMBED_CFLAGS=$pkg_cv_GTKMOZEMBED_CFLAGS
47107
 
+       GTKMOZEMBED_LIBS=$pkg_cv_GTKMOZEMBED_LIBS
47108
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
47109
 
+$as_echo "yes" >&6; }
47110
 
+       build_gtkmozembed=true; mozpackage=mozilla; mozpkgconfig=$mozpackage-gtkmozembed
47111
 
 fi
47112
 
-{ $as_echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5
47113
 
-$as_echo "$am_cv_python_pyexecdir" >&6; }
47114
 
-  pyexecdir=$am_cv_python_pyexecdir
47115
 
-
47116
 
-
47117
 
-
47118
 
-  pkgpyexecdir=\${pyexecdir}/$PACKAGE
47119
 
-
47120
 
 
47121
 
+else
47122
 
+       GTKMOZEMBED_CFLAGS=$pkg_cv_GTKMOZEMBED_CFLAGS
47123
 
+       GTKMOZEMBED_LIBS=$pkg_cv_GTKMOZEMBED_LIBS
47124
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
47125
 
+$as_echo "yes" >&6; }
47126
 
+       build_gtkmozembed=true; mozpackage=firefox; mozpkgconfig=$mozpackage-gtkmozembed
47127
 
+fi
47128
 
 
47129
 
-  fi
47130
 
+elif test $pkg_failed = untried; then
47131
 
 
47132
 
 
47133
 
+pkg_failed=no
47134
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKMOZEMBED" >&5
47135
 
+$as_echo_n "checking for GTKMOZEMBED... " >&6; }
47136
 
 
47137
 
-{ $as_echo "$as_me:$LINENO: checking for headers required to compile python extensions" >&5
47138
 
-$as_echo_n "checking for headers required to compile python extensions... " >&6; }
47139
 
-py_prefix=`$PYTHON -c "import sys; print sys.prefix"`
47140
 
-py_exec_prefix=`$PYTHON -c "import sys; print sys.exec_prefix"`
47141
 
-PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}"
47142
 
-if test "$py_prefix" != "$py_exec_prefix"; then
47143
 
-  PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}"
47144
 
+if test -n "$PKG_CONFIG"; then
47145
 
+    if test -n "$GTKMOZEMBED_CFLAGS"; then
47146
 
+        pkg_cv_GTKMOZEMBED_CFLAGS="$GTKMOZEMBED_CFLAGS"
47147
 
+    else
47148
 
+        if test -n "$PKG_CONFIG" && \
47149
 
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"firefox-gtkmozembed >= 1.0
47150
 
+                                gtk+-2.0            >= 2.4.0\""; } >&5
47151
 
+  ($PKG_CONFIG --exists --print-errors "firefox-gtkmozembed >= 1.0
47152
 
+                                gtk+-2.0            >= 2.4.0") 2>&5
47153
 
+  ac_status=$?
47154
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
47155
 
+  test $ac_status = 0; }; then
47156
 
+  pkg_cv_GTKMOZEMBED_CFLAGS=`$PKG_CONFIG --cflags "firefox-gtkmozembed >= 1.0
47157
 
+                                gtk+-2.0            >= 2.4.0" 2>/dev/null`
47158
 
+else
47159
 
+  pkg_failed=yes
47160
 
 fi
47161
 
-
47162
 
-save_CPPFLAGS="$CPPFLAGS"
47163
 
-CPPFLAGS="$CPPFLAGS $PYTHON_INCLUDES"
47164
 
-cat >conftest.$ac_ext <<_ACEOF
47165
 
-/* confdefs.h.  */
47166
 
-_ACEOF
47167
 
-cat confdefs.h >>conftest.$ac_ext
47168
 
-cat >>conftest.$ac_ext <<_ACEOF
47169
 
-/* end confdefs.h.  */
47170
 
-#include <Python.h>
47171
 
-_ACEOF
47172
 
-if { (ac_try="$ac_cpp conftest.$ac_ext"
47173
 
-case "(($ac_try" in
47174
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47175
 
-  *) ac_try_echo=$ac_try;;
47176
 
-esac
47177
 
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
47178
 
-$as_echo "$ac_try_echo") >&5
47179
 
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
47180
 
+    fi
47181
 
+else
47182
 
+       pkg_failed=untried
47183
 
+fi
47184
 
+if test -n "$PKG_CONFIG"; then
47185
 
+    if test -n "$GTKMOZEMBED_LIBS"; then
47186
 
+        pkg_cv_GTKMOZEMBED_LIBS="$GTKMOZEMBED_LIBS"
47187
 
+    else
47188
 
+        if test -n "$PKG_CONFIG" && \
47189
 
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"firefox-gtkmozembed >= 1.0
47190
 
+                                gtk+-2.0            >= 2.4.0\""; } >&5
47191
 
+  ($PKG_CONFIG --exists --print-errors "firefox-gtkmozembed >= 1.0
47192
 
+                                gtk+-2.0            >= 2.4.0") 2>&5
47193
 
   ac_status=$?
47194
 
-  grep -v '^ *+' conftest.er1 >conftest.err
47195
 
-  rm -f conftest.er1
47196
 
-  cat conftest.err >&5
47197
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
47198
 
-  (exit $ac_status); } >/dev/null && {
47199
 
-        test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
47200
 
-        test ! -s conftest.err
47201
 
-       }; then
47202
 
-  { $as_echo "$as_me:$LINENO: result: found" >&5
47203
 
-$as_echo "found" >&6; }
47204
 
-
47205
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
47206
 
+  test $ac_status = 0; }; then
47207
 
+  pkg_cv_GTKMOZEMBED_LIBS=`$PKG_CONFIG --libs "firefox-gtkmozembed >= 1.0
47208
 
+                                gtk+-2.0            >= 2.4.0" 2>/dev/null`
47209
 
 else
47210
 
-  $as_echo "$as_me: failed program was:" >&5
47211
 
-sed 's/^/| /' conftest.$ac_ext >&5
47212
 
-
47213
 
-  { $as_echo "$as_me:$LINENO: result: not found" >&5
47214
 
-$as_echo "not found" >&6; }
47215
 
-{ { $as_echo "$as_me:$LINENO: error: could not find Python headers" >&5
47216
 
-$as_echo "$as_me: error: could not find Python headers" >&2;}
47217
 
-   { (exit 1); exit 1; }; }
47218
 
+  pkg_failed=yes
47219
 
+fi
47220
 
+    fi
47221
 
+else
47222
 
+       pkg_failed=untried
47223
 
 fi
47224
 
 
47225
 
-rm -f conftest.err conftest.$ac_ext
47226
 
-CPPFLAGS="$save_CPPFLAGS"
47227
 
-
47228
 
-       # This bit is copied from Planner. murrayc.
47229
 
-       # Check for Python library path
47230
 
-        { $as_echo "$as_me:$LINENO: checking for Python library path" >&5
47231
 
-$as_echo_n "checking for Python library path... " >&6; }
47232
 
-
47233
 
-       # Win32 has libpython25.a instead of libpython2.5.a, so we look
47234
 
-       # for both. TODO: Only look for libpython25.a on Windows, and for
47235
 
-       # libpython2.5.a on unix.
47236
 
-       WIN32_PYTHON_VERSION=`echo $PYTHON_VERSION | sed "s,\.,,"`
47237
 
 
47238
 
-        python_path=`dirname $PYTHON | sed "s,/bin.*$,,"`
47239
 
-        for i in "$python_path/lib/python$PYTHON_VERSION/config/" "$python_path/lib/python$PYTHON_VERSION/" "$python_path/lib/python/config/" "$python_path/lib/python/" "$python_path/" ; do
47240
 
-               if test -e "$i"; then
47241
 
-                       python_path=`find $i -type f -name libpython$PYTHON_VERSION.* -print | sed "1q"`
47242
 
-                       if test -n "$python_path" ; then
47243
 
-                               python_lib="python$PYTHON_VERSION"
47244
 
-                               break
47245
 
-                       fi
47246
 
 
47247
 
-                       # Additionally test WIN32_PYTHON_VERSION
47248
 
-                       python_path=`find $i -type f -name libpython$WIN32_PYTHON_VERSION.* -print | sed "1q"`
47249
 
-                       if test -n "$python_path" ; then
47250
 
-                               python_lib="python$WIN32_PYTHON_VERSION"
47251
 
-                               break
47252
 
-                       fi
47253
 
-               fi
47254
 
-        done
47255
 
+if test $pkg_failed = yes; then
47256
 
 
47257
 
-        python_path=`echo $python_path | sed "s,/libpython.*$,,"`
47258
 
-        { $as_echo "$as_me:$LINENO: result: $python_path" >&5
47259
 
-$as_echo "$python_path" >&6; }
47260
 
-        if test -z "$python_path" ; then
47261
 
-                { { $as_echo "$as_me:$LINENO: error: cannot find Python library path" >&5
47262
 
-$as_echo "$as_me: error: cannot find Python library path" >&2;}
47263
 
-   { (exit 1); exit 1; }; }
47264
 
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47265
 
+        _pkg_short_errors_supported=yes
47266
 
+else
47267
 
+        _pkg_short_errors_supported=no
47268
 
+fi
47269
 
+        if test $_pkg_short_errors_supported = yes; then
47270
 
+               GTKMOZEMBED_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "firefox-gtkmozembed >= 1.0
47271
 
+                                gtk+-2.0            >= 2.4.0"`
47272
 
+        else
47273
 
+               GTKMOZEMBED_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "firefox-gtkmozembed >= 1.0
47274
 
+                                gtk+-2.0            >= 2.4.0"`
47275
 
         fi
47276
 
-        PYTHON_LDFLAGS="-L$python_path -l$python_lib"
47277
 
-
47278
 
-
47279
 
+       # Put the nasty error message in config.log where it belongs
47280
 
+       echo "$GTKMOZEMBED_PKG_ERRORS" >&5
47281
 
 
47282
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
47283
 
+$as_echo "no" >&6; }
47284
 
 
47285
 
 
47286
 
-if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
47287
 
-       if test -n "$ac_tool_prefix"; then
47288
 
-  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
47289
 
-set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
47290
 
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
47291
 
-$as_echo_n "checking for $ac_word... " >&6; }
47292
 
-if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
47293
 
-  $as_echo_n "(cached) " >&6
47294
 
-else
47295
 
-  case $PKG_CONFIG in
47296
 
-  [\\/]* | ?:[\\/]*)
47297
 
-  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
47298
 
-  ;;
47299
 
-  *)
47300
 
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47301
 
-for as_dir in $PATH
47302
 
-do
47303
 
-  IFS=$as_save_IFS
47304
 
-  test -z "$as_dir" && as_dir=.
47305
 
-  for ac_exec_ext in '' $ac_executable_extensions; do
47306
 
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47307
 
-    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
47308
 
-    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47309
 
-    break 2
47310
 
-  fi
47311
 
-done
47312
 
-done
47313
 
-IFS=$as_save_IFS
47314
 
+pkg_failed=no
47315
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKMOZEMBED" >&5
47316
 
+$as_echo_n "checking for GTKMOZEMBED... " >&6; }
47317
 
 
47318
 
-  ;;
47319
 
-esac
47320
 
-fi
47321
 
-PKG_CONFIG=$ac_cv_path_PKG_CONFIG
47322
 
 if test -n "$PKG_CONFIG"; then
47323
 
-  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
47324
 
-$as_echo "$PKG_CONFIG" >&6; }
47325
 
+    if test -n "$GTKMOZEMBED_CFLAGS"; then
47326
 
+        pkg_cv_GTKMOZEMBED_CFLAGS="$GTKMOZEMBED_CFLAGS"
47327
 
+    else
47328
 
+        if test -n "$PKG_CONFIG" && \
47329
 
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mozilla-gtkmozembed >= 1.2b
47330
 
+                                gtk+-2.0            >= 2.4.0\""; } >&5
47331
 
+  ($PKG_CONFIG --exists --print-errors "mozilla-gtkmozembed >= 1.2b
47332
 
+                                gtk+-2.0            >= 2.4.0") 2>&5
47333
 
+  ac_status=$?
47334
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
47335
 
+  test $ac_status = 0; }; then
47336
 
+  pkg_cv_GTKMOZEMBED_CFLAGS=`$PKG_CONFIG --cflags "mozilla-gtkmozembed >= 1.2b
47337
 
+                                gtk+-2.0            >= 2.4.0" 2>/dev/null`
47338
 
 else
47339
 
-  { $as_echo "$as_me:$LINENO: result: no" >&5
47340
 
-$as_echo "no" >&6; }
47341
 
+  pkg_failed=yes
47342
 
 fi
47343
 
-
47344
 
-
47345
 
+    fi
47346
 
+else
47347
 
+       pkg_failed=untried
47348
 
 fi
47349
 
-if test -z "$ac_cv_path_PKG_CONFIG"; then
47350
 
-  ac_pt_PKG_CONFIG=$PKG_CONFIG
47351
 
-  # Extract the first word of "pkg-config", so it can be a program name with args.
47352
 
-set dummy pkg-config; ac_word=$2
47353
 
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
47354
 
-$as_echo_n "checking for $ac_word... " >&6; }
47355
 
-if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
47356
 
-  $as_echo_n "(cached) " >&6
47357
 
+if test -n "$PKG_CONFIG"; then
47358
 
+    if test -n "$GTKMOZEMBED_LIBS"; then
47359
 
+        pkg_cv_GTKMOZEMBED_LIBS="$GTKMOZEMBED_LIBS"
47360
 
+    else
47361
 
+        if test -n "$PKG_CONFIG" && \
47362
 
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mozilla-gtkmozembed >= 1.2b
47363
 
+                                gtk+-2.0            >= 2.4.0\""; } >&5
47364
 
+  ($PKG_CONFIG --exists --print-errors "mozilla-gtkmozembed >= 1.2b
47365
 
+                                gtk+-2.0            >= 2.4.0") 2>&5
47366
 
+  ac_status=$?
47367
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
47368
 
+  test $ac_status = 0; }; then
47369
 
+  pkg_cv_GTKMOZEMBED_LIBS=`$PKG_CONFIG --libs "mozilla-gtkmozembed >= 1.2b
47370
 
+                                gtk+-2.0            >= 2.4.0" 2>/dev/null`
47371
 
 else
47372
 
-  case $ac_pt_PKG_CONFIG in
47373
 
-  [\\/]* | ?:[\\/]*)
47374
 
-  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
47375
 
-  ;;
47376
 
-  *)
47377
 
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47378
 
-for as_dir in $PATH
47379
 
-do
47380
 
-  IFS=$as_save_IFS
47381
 
-  test -z "$as_dir" && as_dir=.
47382
 
-  for ac_exec_ext in '' $ac_executable_extensions; do
47383
 
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47384
 
-    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
47385
 
-    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47386
 
-    break 2
47387
 
-  fi
47388
 
-done
47389
 
-done
47390
 
-IFS=$as_save_IFS
47391
 
-
47392
 
-  ;;
47393
 
-esac
47394
 
+  pkg_failed=yes
47395
 
 fi
47396
 
-ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
47397
 
-if test -n "$ac_pt_PKG_CONFIG"; then
47398
 
-  { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
47399
 
-$as_echo "$ac_pt_PKG_CONFIG" >&6; }
47400
 
+    fi
47401
 
 else
47402
 
-  { $as_echo "$as_me:$LINENO: result: no" >&5
47403
 
-$as_echo "no" >&6; }
47404
 
+       pkg_failed=untried
47405
 
 fi
47406
 
 
47407
 
-  if test "x$ac_pt_PKG_CONFIG" = x; then
47408
 
-    PKG_CONFIG=""
47409
 
-  else
47410
 
-    case $cross_compiling:$ac_tool_warned in
47411
 
-yes:)
47412
 
-{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47413
 
-whose name does not start with the host triplet.  If you think this
47414
 
-configuration is useful to you, please write to autoconf@gnu.org." >&5
47415
 
-$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47416
 
-whose name does not start with the host triplet.  If you think this
47417
 
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47418
 
-ac_tool_warned=yes ;;
47419
 
-esac
47420
 
-    PKG_CONFIG=$ac_pt_PKG_CONFIG
47421
 
-  fi
47422
 
+
47423
 
+
47424
 
+if test $pkg_failed = yes; then
47425
 
+
47426
 
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47427
 
+        _pkg_short_errors_supported=yes
47428
 
 else
47429
 
-  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
47430
 
+        _pkg_short_errors_supported=no
47431
 
 fi
47432
 
+        if test $_pkg_short_errors_supported = yes; then
47433
 
+               GTKMOZEMBED_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "mozilla-gtkmozembed >= 1.2b
47434
 
+                                gtk+-2.0            >= 2.4.0"`
47435
 
+        else
47436
 
+               GTKMOZEMBED_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-gtkmozembed >= 1.2b
47437
 
+                                gtk+-2.0            >= 2.4.0"`
47438
 
+        fi
47439
 
+       # Put the nasty error message in config.log where it belongs
47440
 
+       echo "$GTKMOZEMBED_PKG_ERRORS" >&5
47441
 
 
47442
 
-fi
47443
 
-if test -n "$PKG_CONFIG"; then
47444
 
-       _pkg_min_version=0.9.0
47445
 
-       { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
47446
 
-$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
47447
 
-       if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
47448
 
-               { $as_echo "$as_me:$LINENO: result: yes" >&5
47449
 
-$as_echo "yes" >&6; }
47450
 
-       else
47451
 
-               { $as_echo "$as_me:$LINENO: result: no" >&5
47452
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
47453
 
 $as_echo "no" >&6; }
47454
 
-               PKG_CONFIG=""
47455
 
-       fi
47456
 
-
47457
 
+                build_gtkmozembed=false
47458
 
+elif test $pkg_failed = untried; then
47459
 
+       build_gtkmozembed=false
47460
 
+else
47461
 
+       GTKMOZEMBED_CFLAGS=$pkg_cv_GTKMOZEMBED_CFLAGS
47462
 
+       GTKMOZEMBED_LIBS=$pkg_cv_GTKMOZEMBED_LIBS
47463
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
47464
 
+$as_echo "yes" >&6; }
47465
 
+       build_gtkmozembed=true; mozpackage=mozilla; mozpkgconfig=$mozpackage-gtkmozembed
47466
 
 fi
47467
 
 
47468
 
+elif test $pkg_failed = untried; then
47469
 
+
47470
 
+
47471
 
 pkg_failed=no
47472
 
-{ $as_echo "$as_me:$LINENO: checking for PYGTK" >&5
47473
 
-$as_echo_n "checking for PYGTK... " >&6; }
47474
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKMOZEMBED" >&5
47475
 
+$as_echo_n "checking for GTKMOZEMBED... " >&6; }
47476
 
 
47477
 
-if test -n "$PYGTK_CFLAGS"; then
47478
 
-    pkg_cv_PYGTK_CFLAGS="$PYGTK_CFLAGS"
47479
 
- elif test -n "$PKG_CONFIG"; then
47480
 
-    if test -n "$PKG_CONFIG" && \
47481
 
-    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pygtk-2.0 >= 2.4.0\"") >&5
47482
 
-  ($PKG_CONFIG --exists --print-errors "pygtk-2.0 >= 2.4.0") 2>&5
47483
 
+if test -n "$PKG_CONFIG"; then
47484
 
+    if test -n "$GTKMOZEMBED_CFLAGS"; then
47485
 
+        pkg_cv_GTKMOZEMBED_CFLAGS="$GTKMOZEMBED_CFLAGS"
47486
 
+    else
47487
 
+        if test -n "$PKG_CONFIG" && \
47488
 
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mozilla-gtkmozembed >= 1.2b
47489
 
+                                gtk+-2.0            >= 2.4.0\""; } >&5
47490
 
+  ($PKG_CONFIG --exists --print-errors "mozilla-gtkmozembed >= 1.2b
47491
 
+                                gtk+-2.0            >= 2.4.0") 2>&5
47492
 
   ac_status=$?
47493
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
47494
 
-  (exit $ac_status); }; then
47495
 
-  pkg_cv_PYGTK_CFLAGS=`$PKG_CONFIG --cflags "pygtk-2.0 >= 2.4.0" 2>/dev/null`
47496
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
47497
 
+  test $ac_status = 0; }; then
47498
 
+  pkg_cv_GTKMOZEMBED_CFLAGS=`$PKG_CONFIG --cflags "mozilla-gtkmozembed >= 1.2b
47499
 
+                                gtk+-2.0            >= 2.4.0" 2>/dev/null`
47500
 
 else
47501
 
   pkg_failed=yes
47502
 
 fi
47503
 
- else
47504
 
-    pkg_failed=untried
47505
 
+    fi
47506
 
+else
47507
 
+       pkg_failed=untried
47508
 
 fi
47509
 
-if test -n "$PYGTK_LIBS"; then
47510
 
-    pkg_cv_PYGTK_LIBS="$PYGTK_LIBS"
47511
 
- elif test -n "$PKG_CONFIG"; then
47512
 
-    if test -n "$PKG_CONFIG" && \
47513
 
-    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pygtk-2.0 >= 2.4.0\"") >&5
47514
 
-  ($PKG_CONFIG --exists --print-errors "pygtk-2.0 >= 2.4.0") 2>&5
47515
 
+if test -n "$PKG_CONFIG"; then
47516
 
+    if test -n "$GTKMOZEMBED_LIBS"; then
47517
 
+        pkg_cv_GTKMOZEMBED_LIBS="$GTKMOZEMBED_LIBS"
47518
 
+    else
47519
 
+        if test -n "$PKG_CONFIG" && \
47520
 
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mozilla-gtkmozembed >= 1.2b
47521
 
+                                gtk+-2.0            >= 2.4.0\""; } >&5
47522
 
+  ($PKG_CONFIG --exists --print-errors "mozilla-gtkmozembed >= 1.2b
47523
 
+                                gtk+-2.0            >= 2.4.0") 2>&5
47524
 
   ac_status=$?
47525
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
47526
 
-  (exit $ac_status); }; then
47527
 
-  pkg_cv_PYGTK_LIBS=`$PKG_CONFIG --libs "pygtk-2.0 >= 2.4.0" 2>/dev/null`
47528
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
47529
 
+  test $ac_status = 0; }; then
47530
 
+  pkg_cv_GTKMOZEMBED_LIBS=`$PKG_CONFIG --libs "mozilla-gtkmozembed >= 1.2b
47531
 
+                                gtk+-2.0            >= 2.4.0" 2>/dev/null`
47532
 
 else
47533
 
   pkg_failed=yes
47534
 
 fi
47535
 
- else
47536
 
-    pkg_failed=untried
47537
 
+    fi
47538
 
+else
47539
 
+       pkg_failed=untried
47540
 
 fi
47541
 
 
47542
 
 
47543
 
@@ -20920,1041 +16968,1008 @@ else
47544
 
         _pkg_short_errors_supported=no
47545
 
 fi
47546
 
         if test $_pkg_short_errors_supported = yes; then
47547
 
-               PYGTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "pygtk-2.0 >= 2.4.0" 2>&1`
47548
 
+               GTKMOZEMBED_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "mozilla-gtkmozembed >= 1.2b
47549
 
+                                gtk+-2.0            >= 2.4.0"`
47550
 
         else
47551
 
-               PYGTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "pygtk-2.0 >= 2.4.0" 2>&1`
47552
 
+               GTKMOZEMBED_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-gtkmozembed >= 1.2b
47553
 
+                                gtk+-2.0            >= 2.4.0"`
47554
 
         fi
47555
 
        # Put the nasty error message in config.log where it belongs
47556
 
-       echo "$PYGTK_PKG_ERRORS" >&5
47557
 
-
47558
 
-       { { $as_echo "$as_me:$LINENO: error: Package requirements (pygtk-2.0 >= 2.4.0) were not met:
47559
 
-
47560
 
-$PYGTK_PKG_ERRORS
47561
 
-
47562
 
-Consider adjusting the PKG_CONFIG_PATH environment variable if you
47563
 
-installed software in a non-standard prefix.
47564
 
+       echo "$GTKMOZEMBED_PKG_ERRORS" >&5
47565
 
 
47566
 
-Alternatively, you may set the environment variables PYGTK_CFLAGS
47567
 
-and PYGTK_LIBS to avoid the need to call pkg-config.
47568
 
-See the pkg-config man page for more details.
47569
 
-" >&5
47570
 
-$as_echo "$as_me: error: Package requirements (pygtk-2.0 >= 2.4.0) were not met:
47571
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
47572
 
+$as_echo "no" >&6; }
47573
 
+                build_gtkmozembed=false
47574
 
+elif test $pkg_failed = untried; then
47575
 
+       build_gtkmozembed=false
47576
 
+else
47577
 
+       GTKMOZEMBED_CFLAGS=$pkg_cv_GTKMOZEMBED_CFLAGS
47578
 
+       GTKMOZEMBED_LIBS=$pkg_cv_GTKMOZEMBED_LIBS
47579
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
47580
 
+$as_echo "yes" >&6; }
47581
 
+       build_gtkmozembed=true; mozpackage=mozilla; mozpkgconfig=$mozpackage-gtkmozembed
47582
 
+fi
47583
 
 
47584
 
-$PYGTK_PKG_ERRORS
47585
 
+else
47586
 
+       GTKMOZEMBED_CFLAGS=$pkg_cv_GTKMOZEMBED_CFLAGS
47587
 
+       GTKMOZEMBED_LIBS=$pkg_cv_GTKMOZEMBED_LIBS
47588
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
47589
 
+$as_echo "yes" >&6; }
47590
 
+       build_gtkmozembed=true; mozpackage=firefox; mozpkgconfig=$mozpackage-gtkmozembed
47591
 
+fi
47592
 
 
47593
 
-Consider adjusting the PKG_CONFIG_PATH environment variable if you
47594
 
-installed software in a non-standard prefix.
47595
 
+else
47596
 
+       GTKMOZEMBED_CFLAGS=$pkg_cv_GTKMOZEMBED_CFLAGS
47597
 
+       GTKMOZEMBED_LIBS=$pkg_cv_GTKMOZEMBED_LIBS
47598
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
47599
 
+$as_echo "yes" >&6; }
47600
 
+       build_gtkmozembed=true; mozpackage=xulrunner; mozpkgconfig=$mozpackage-gtkmozembed
47601
 
+fi
47602
 
 
47603
 
-Alternatively, you may set the environment variables PYGTK_CFLAGS
47604
 
-and PYGTK_LIBS to avoid the need to call pkg-config.
47605
 
-See the pkg-config man page for more details.
47606
 
-" >&2;}
47607
 
-   { (exit 1); exit 1; }; }
47608
 
 elif test $pkg_failed = untried; then
47609
 
-       { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
47610
 
-is in your PATH or set the PKG_CONFIG environment variable to the full
47611
 
-path to pkg-config.
47612
 
-
47613
 
-Alternatively, you may set the environment variables PYGTK_CFLAGS
47614
 
-and PYGTK_LIBS to avoid the need to call pkg-config.
47615
 
-See the pkg-config man page for more details.
47616
 
 
47617
 
-To get pkg-config, see <http://pkg-config.freedesktop.org/>.
47618
 
-See \`config.log' for more details." >&5
47619
 
-$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
47620
 
-is in your PATH or set the PKG_CONFIG environment variable to the full
47621
 
-path to pkg-config.
47622
 
 
47623
 
-Alternatively, you may set the environment variables PYGTK_CFLAGS
47624
 
-and PYGTK_LIBS to avoid the need to call pkg-config.
47625
 
-See the pkg-config man page for more details.
47626
 
+pkg_failed=no
47627
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKMOZEMBED" >&5
47628
 
+$as_echo_n "checking for GTKMOZEMBED... " >&6; }
47629
 
 
47630
 
-To get pkg-config, see <http://pkg-config.freedesktop.org/>.
47631
 
-See \`config.log' for more details." >&2;}
47632
 
-   { (exit 1); exit 1; }; }
47633
 
+if test -n "$PKG_CONFIG"; then
47634
 
+    if test -n "$GTKMOZEMBED_CFLAGS"; then
47635
 
+        pkg_cv_GTKMOZEMBED_CFLAGS="$GTKMOZEMBED_CFLAGS"
47636
 
+    else
47637
 
+        if test -n "$PKG_CONFIG" && \
47638
 
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xulrunner-gtkmozembed >= 1.8
47639
 
+                                gtk+-2.0              >= 2.4.0\""; } >&5
47640
 
+  ($PKG_CONFIG --exists --print-errors "xulrunner-gtkmozembed >= 1.8
47641
 
+                                gtk+-2.0              >= 2.4.0") 2>&5
47642
 
+  ac_status=$?
47643
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
47644
 
+  test $ac_status = 0; }; then
47645
 
+  pkg_cv_GTKMOZEMBED_CFLAGS=`$PKG_CONFIG --cflags "xulrunner-gtkmozembed >= 1.8
47646
 
+                                gtk+-2.0              >= 2.4.0" 2>/dev/null`
47647
 
 else
47648
 
-       PYGTK_CFLAGS=$pkg_cv_PYGTK_CFLAGS
47649
 
-       PYGTK_LIBS=$pkg_cv_PYGTK_LIBS
47650
 
-        { $as_echo "$as_me:$LINENO: result: yes" >&5
47651
 
-$as_echo "yes" >&6; }
47652
 
-       :
47653
 
+  pkg_failed=yes
47654
 
 fi
47655
 
-
47656
 
-# Extract the first word of "pygtk-codegen-2.0", so it can be a program name with args.
47657
 
-set dummy pygtk-codegen-2.0; ac_word=$2
47658
 
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
47659
 
-$as_echo_n "checking for $ac_word... " >&6; }
47660
 
-if test "${ac_cv_path_PYGTK_CODEGEN+set}" = set; then
47661
 
-  $as_echo_n "(cached) " >&6
47662
 
+    fi
47663
 
 else
47664
 
-  case $PYGTK_CODEGEN in
47665
 
-  [\\/]* | ?:[\\/]*)
47666
 
-  ac_cv_path_PYGTK_CODEGEN="$PYGTK_CODEGEN" # Let the user override the test with a path.
47667
 
-  ;;
47668
 
-  *)
47669
 
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47670
 
-for as_dir in $PATH
47671
 
-do
47672
 
-  IFS=$as_save_IFS
47673
 
-  test -z "$as_dir" && as_dir=.
47674
 
-  for ac_exec_ext in '' $ac_executable_extensions; do
47675
 
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47676
 
-    ac_cv_path_PYGTK_CODEGEN="$as_dir/$ac_word$ac_exec_ext"
47677
 
-    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47678
 
-    break 2
47679
 
-  fi
47680
 
-done
47681
 
-done
47682
 
-IFS=$as_save_IFS
47683
 
-
47684
 
-  test -z "$ac_cv_path_PYGTK_CODEGEN" && ac_cv_path_PYGTK_CODEGEN="no"
47685
 
-  ;;
47686
 
-esac
47687
 
+       pkg_failed=untried
47688
 
 fi
47689
 
-PYGTK_CODEGEN=$ac_cv_path_PYGTK_CODEGEN
47690
 
-if test -n "$PYGTK_CODEGEN"; then
47691
 
-  { $as_echo "$as_me:$LINENO: result: $PYGTK_CODEGEN" >&5
47692
 
-$as_echo "$PYGTK_CODEGEN" >&6; }
47693
 
+if test -n "$PKG_CONFIG"; then
47694
 
+    if test -n "$GTKMOZEMBED_LIBS"; then
47695
 
+        pkg_cv_GTKMOZEMBED_LIBS="$GTKMOZEMBED_LIBS"
47696
 
+    else
47697
 
+        if test -n "$PKG_CONFIG" && \
47698
 
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xulrunner-gtkmozembed >= 1.8
47699
 
+                                gtk+-2.0              >= 2.4.0\""; } >&5
47700
 
+  ($PKG_CONFIG --exists --print-errors "xulrunner-gtkmozembed >= 1.8
47701
 
+                                gtk+-2.0              >= 2.4.0") 2>&5
47702
 
+  ac_status=$?
47703
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
47704
 
+  test $ac_status = 0; }; then
47705
 
+  pkg_cv_GTKMOZEMBED_LIBS=`$PKG_CONFIG --libs "xulrunner-gtkmozembed >= 1.8
47706
 
+                                gtk+-2.0              >= 2.4.0" 2>/dev/null`
47707
 
 else
47708
 
-  { $as_echo "$as_me:$LINENO: result: no" >&5
47709
 
-$as_echo "no" >&6; }
47710
 
+  pkg_failed=yes
47711
 
 fi
47712
 
-
47713
 
-
47714
 
-if test "x$PYGTK_CODEGEN" = xno; then
47715
 
-  { { $as_echo "$as_me:$LINENO: error: could not find pygtk-codegen-2.0 script" >&5
47716
 
-$as_echo "$as_me: error: could not find pygtk-codegen-2.0 script" >&2;}
47717
 
-   { (exit 1); exit 1; }; }
47718
 
+    fi
47719
 
+else
47720
 
+       pkg_failed=untried
47721
 
 fi
47722
 
 
47723
 
-{ $as_echo "$as_me:$LINENO: checking for conflicting pygtk versions" >&5
47724
 
-$as_echo_n "checking for conflicting pygtk versions... " >&6; }
47725
 
-pygtk_version=`$PKG_CONFIG --modversion pygtk-2.0`
47726
 
-case $pygtk_version in
47727
 
-     2.9.0|2.9.1)
47728
 
-        { $as_echo "$as_me:$LINENO: result: found $pygtk_version" >&5
47729
 
-$as_echo "found $pygtk_version" >&6; }
47730
 
-        { { $as_echo "$as_me:$LINENO: error: invalid pygtk version found; please upgrade" >&5
47731
 
-$as_echo "$as_me: error: invalid pygtk version found; please upgrade" >&2;}
47732
 
-   { (exit 1); exit 1; }; }
47733
 
-        ;;
47734
 
-     *)
47735
 
-        { $as_echo "$as_me:$LINENO: result: none" >&5
47736
 
-$as_echo "none" >&6; }
47737
 
-        ;;
47738
 
-esac
47739
 
-
47740
 
-{ $as_echo "$as_me:$LINENO: checking for pygtk defs" >&5
47741
 
-$as_echo_n "checking for pygtk defs... " >&6; }
47742
 
-PYGTK_DEFSDIR=`$PKG_CONFIG --variable=defsdir pygtk-2.0`
47743
 
 
47744
 
-{ $as_echo "$as_me:$LINENO: result: $PYGTK_DEFSDIR" >&5
47745
 
-$as_echo "$PYGTK_DEFSDIR" >&6; }
47746
 
 
47747
 
-{ $as_echo "$as_me:$LINENO: checking for gnome-python defs" >&5
47748
 
-$as_echo_n "checking for gnome-python defs... " >&6; }
47749
 
-GNOME_PYTHON_DEFSDIR=`$PKG_CONFIG --variable=defsdir gnome-python-2.0`
47750
 
+if test $pkg_failed = yes; then
47751
 
 
47752
 
-{ $as_echo "$as_me:$LINENO: result: $GNOME_PYTHON_DEFSDIR" >&5
47753
 
-$as_echo "$GNOME_PYTHON_DEFSDIR" >&6; }
47754
 
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47755
 
+        _pkg_short_errors_supported=yes
47756
 
+else
47757
 
+        _pkg_short_errors_supported=no
47758
 
+fi
47759
 
+        if test $_pkg_short_errors_supported = yes; then
47760
 
+               GTKMOZEMBED_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xulrunner-gtkmozembed >= 1.8
47761
 
+                                gtk+-2.0              >= 2.4.0"`
47762
 
+        else
47763
 
+               GTKMOZEMBED_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xulrunner-gtkmozembed >= 1.8
47764
 
+                                gtk+-2.0              >= 2.4.0"`
47765
 
+        fi
47766
 
+       # Put the nasty error message in config.log where it belongs
47767
 
+       echo "$GTKMOZEMBED_PKG_ERRORS" >&5
47768
 
 
47769
 
-{ $as_echo "$as_me:$LINENO: checking for gnome-python argtypes dir" >&5
47770
 
-$as_echo_n "checking for gnome-python argtypes dir... " >&6; }
47771
 
-GNOME_PYTHON_ARGTYPES_DIR=`$PKG_CONFIG --variable=argtypesdir gnome-python-2.0`
47772
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
47773
 
+$as_echo "no" >&6; }
47774
 
 
47775
 
-{ $as_echo "$as_me:$LINENO: result: $GNOME_PYTHON_ARGTYPES_DIR" >&5
47776
 
-$as_echo "$GNOME_PYTHON_ARGTYPES_DIR" >&6; }
47777
 
 
47778
 
-export_dynamic=`(./libtool --config; echo eval echo \\$export_dynamic_flag_spec) | sh`
47779
 
+pkg_failed=no
47780
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKMOZEMBED" >&5
47781
 
+$as_echo_n "checking for GTKMOZEMBED... " >&6; }
47782
 
 
47783
 
-# Check whether --enable-glibtest was given.
47784
 
-if test "${enable_glibtest+set}" = set; then
47785
 
-  enableval=$enable_glibtest;
47786
 
+if test -n "$PKG_CONFIG"; then
47787
 
+    if test -n "$GTKMOZEMBED_CFLAGS"; then
47788
 
+        pkg_cv_GTKMOZEMBED_CFLAGS="$GTKMOZEMBED_CFLAGS"
47789
 
+    else
47790
 
+        if test -n "$PKG_CONFIG" && \
47791
 
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"firefox-gtkmozembed >= 1.0
47792
 
+                                gtk+-2.0            >= 2.4.0\""; } >&5
47793
 
+  ($PKG_CONFIG --exists --print-errors "firefox-gtkmozembed >= 1.0
47794
 
+                                gtk+-2.0            >= 2.4.0") 2>&5
47795
 
+  ac_status=$?
47796
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
47797
 
+  test $ac_status = 0; }; then
47798
 
+  pkg_cv_GTKMOZEMBED_CFLAGS=`$PKG_CONFIG --cflags "firefox-gtkmozembed >= 1.0
47799
 
+                                gtk+-2.0            >= 2.4.0" 2>/dev/null`
47800
 
 else
47801
 
-  enable_glibtest=yes
47802
 
+  pkg_failed=yes
47803
 
+fi
47804
 
+    fi
47805
 
+else
47806
 
+       pkg_failed=untried
47807
 
+fi
47808
 
+if test -n "$PKG_CONFIG"; then
47809
 
+    if test -n "$GTKMOZEMBED_LIBS"; then
47810
 
+        pkg_cv_GTKMOZEMBED_LIBS="$GTKMOZEMBED_LIBS"
47811
 
+    else
47812
 
+        if test -n "$PKG_CONFIG" && \
47813
 
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"firefox-gtkmozembed >= 1.0
47814
 
+                                gtk+-2.0            >= 2.4.0\""; } >&5
47815
 
+  ($PKG_CONFIG --exists --print-errors "firefox-gtkmozembed >= 1.0
47816
 
+                                gtk+-2.0            >= 2.4.0") 2>&5
47817
 
+  ac_status=$?
47818
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
47819
 
+  test $ac_status = 0; }; then
47820
 
+  pkg_cv_GTKMOZEMBED_LIBS=`$PKG_CONFIG --libs "firefox-gtkmozembed >= 1.0
47821
 
+                                gtk+-2.0            >= 2.4.0" 2>/dev/null`
47822
 
+else
47823
 
+  pkg_failed=yes
47824
 
+fi
47825
 
+    fi
47826
 
+else
47827
 
+       pkg_failed=untried
47828
 
 fi
47829
 
 
47830
 
 
47831
 
-  pkg_config_args=glib-2.0
47832
 
-  for module in . $extras_mods
47833
 
-  do
47834
 
-      case "$module" in
47835
 
-         gmodule)
47836
 
-             pkg_config_args="$pkg_config_args gmodule-2.0"
47837
 
-         ;;
47838
 
-         gmodule-no-export)
47839
 
-             pkg_config_args="$pkg_config_args gmodule-no-export-2.0"
47840
 
-         ;;
47841
 
-         gobject)
47842
 
-             pkg_config_args="$pkg_config_args gobject-2.0"
47843
 
-         ;;
47844
 
-         gthread)
47845
 
-             pkg_config_args="$pkg_config_args gthread-2.0"
47846
 
-         ;;
47847
 
-         gio*)
47848
 
-             pkg_config_args="$pkg_config_args $module-2.0"
47849
 
-         ;;
47850
 
-      esac
47851
 
-  done
47852
 
-
47853
 
 
47854
 
+if test $pkg_failed = yes; then
47855
 
 
47856
 
-if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
47857
 
-       if test -n "$ac_tool_prefix"; then
47858
 
-  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
47859
 
-set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
47860
 
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
47861
 
-$as_echo_n "checking for $ac_word... " >&6; }
47862
 
-if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
47863
 
-  $as_echo_n "(cached) " >&6
47864
 
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47865
 
+        _pkg_short_errors_supported=yes
47866
 
 else
47867
 
-  case $PKG_CONFIG in
47868
 
-  [\\/]* | ?:[\\/]*)
47869
 
-  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
47870
 
-  ;;
47871
 
-  *)
47872
 
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47873
 
-for as_dir in $PATH
47874
 
-do
47875
 
-  IFS=$as_save_IFS
47876
 
-  test -z "$as_dir" && as_dir=.
47877
 
-  for ac_exec_ext in '' $ac_executable_extensions; do
47878
 
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47879
 
-    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
47880
 
-    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47881
 
-    break 2
47882
 
-  fi
47883
 
-done
47884
 
-done
47885
 
-IFS=$as_save_IFS
47886
 
+        _pkg_short_errors_supported=no
47887
 
+fi
47888
 
+        if test $_pkg_short_errors_supported = yes; then
47889
 
+               GTKMOZEMBED_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "firefox-gtkmozembed >= 1.0
47890
 
+                                gtk+-2.0            >= 2.4.0"`
47891
 
+        else
47892
 
+               GTKMOZEMBED_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "firefox-gtkmozembed >= 1.0
47893
 
+                                gtk+-2.0            >= 2.4.0"`
47894
 
+        fi
47895
 
+       # Put the nasty error message in config.log where it belongs
47896
 
+       echo "$GTKMOZEMBED_PKG_ERRORS" >&5
47897
 
+
47898
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
47899
 
+$as_echo "no" >&6; }
47900
 
+
47901
 
+
47902
 
+pkg_failed=no
47903
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKMOZEMBED" >&5
47904
 
+$as_echo_n "checking for GTKMOZEMBED... " >&6; }
47905
 
 
47906
 
-  ;;
47907
 
-esac
47908
 
-fi
47909
 
-PKG_CONFIG=$ac_cv_path_PKG_CONFIG
47910
 
 if test -n "$PKG_CONFIG"; then
47911
 
-  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
47912
 
-$as_echo "$PKG_CONFIG" >&6; }
47913
 
+    if test -n "$GTKMOZEMBED_CFLAGS"; then
47914
 
+        pkg_cv_GTKMOZEMBED_CFLAGS="$GTKMOZEMBED_CFLAGS"
47915
 
+    else
47916
 
+        if test -n "$PKG_CONFIG" && \
47917
 
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mozilla-gtkmozembed >= 1.2b
47918
 
+                                gtk+-2.0            >= 2.4.0\""; } >&5
47919
 
+  ($PKG_CONFIG --exists --print-errors "mozilla-gtkmozembed >= 1.2b
47920
 
+                                gtk+-2.0            >= 2.4.0") 2>&5
47921
 
+  ac_status=$?
47922
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
47923
 
+  test $ac_status = 0; }; then
47924
 
+  pkg_cv_GTKMOZEMBED_CFLAGS=`$PKG_CONFIG --cflags "mozilla-gtkmozembed >= 1.2b
47925
 
+                                gtk+-2.0            >= 2.4.0" 2>/dev/null`
47926
 
 else
47927
 
-  { $as_echo "$as_me:$LINENO: result: no" >&5
47928
 
-$as_echo "no" >&6; }
47929
 
+  pkg_failed=yes
47930
 
 fi
47931
 
-
47932
 
-
47933
 
+    fi
47934
 
+else
47935
 
+       pkg_failed=untried
47936
 
 fi
47937
 
-if test -z "$ac_cv_path_PKG_CONFIG"; then
47938
 
-  ac_pt_PKG_CONFIG=$PKG_CONFIG
47939
 
-  # Extract the first word of "pkg-config", so it can be a program name with args.
47940
 
-set dummy pkg-config; ac_word=$2
47941
 
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
47942
 
-$as_echo_n "checking for $ac_word... " >&6; }
47943
 
-if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
47944
 
-  $as_echo_n "(cached) " >&6
47945
 
+if test -n "$PKG_CONFIG"; then
47946
 
+    if test -n "$GTKMOZEMBED_LIBS"; then
47947
 
+        pkg_cv_GTKMOZEMBED_LIBS="$GTKMOZEMBED_LIBS"
47948
 
+    else
47949
 
+        if test -n "$PKG_CONFIG" && \
47950
 
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mozilla-gtkmozembed >= 1.2b
47951
 
+                                gtk+-2.0            >= 2.4.0\""; } >&5
47952
 
+  ($PKG_CONFIG --exists --print-errors "mozilla-gtkmozembed >= 1.2b
47953
 
+                                gtk+-2.0            >= 2.4.0") 2>&5
47954
 
+  ac_status=$?
47955
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
47956
 
+  test $ac_status = 0; }; then
47957
 
+  pkg_cv_GTKMOZEMBED_LIBS=`$PKG_CONFIG --libs "mozilla-gtkmozembed >= 1.2b
47958
 
+                                gtk+-2.0            >= 2.4.0" 2>/dev/null`
47959
 
 else
47960
 
-  case $ac_pt_PKG_CONFIG in
47961
 
-  [\\/]* | ?:[\\/]*)
47962
 
-  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
47963
 
-  ;;
47964
 
-  *)
47965
 
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47966
 
-for as_dir in $PATH
47967
 
-do
47968
 
-  IFS=$as_save_IFS
47969
 
-  test -z "$as_dir" && as_dir=.
47970
 
-  for ac_exec_ext in '' $ac_executable_extensions; do
47971
 
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47972
 
-    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
47973
 
-    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47974
 
-    break 2
47975
 
-  fi
47976
 
-done
47977
 
-done
47978
 
-IFS=$as_save_IFS
47979
 
-
47980
 
-  ;;
47981
 
-esac
47982
 
+  pkg_failed=yes
47983
 
 fi
47984
 
-ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
47985
 
-if test -n "$ac_pt_PKG_CONFIG"; then
47986
 
-  { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
47987
 
-$as_echo "$ac_pt_PKG_CONFIG" >&6; }
47988
 
+    fi
47989
 
 else
47990
 
-  { $as_echo "$as_me:$LINENO: result: no" >&5
47991
 
-$as_echo "no" >&6; }
47992
 
+       pkg_failed=untried
47993
 
 fi
47994
 
 
47995
 
-  if test "x$ac_pt_PKG_CONFIG" = x; then
47996
 
-    PKG_CONFIG=""
47997
 
-  else
47998
 
-    case $cross_compiling:$ac_tool_warned in
47999
 
-yes:)
48000
 
-{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48001
 
-whose name does not start with the host triplet.  If you think this
48002
 
-configuration is useful to you, please write to autoconf@gnu.org." >&5
48003
 
-$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48004
 
-whose name does not start with the host triplet.  If you think this
48005
 
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48006
 
-ac_tool_warned=yes ;;
48007
 
-esac
48008
 
-    PKG_CONFIG=$ac_pt_PKG_CONFIG
48009
 
-  fi
48010
 
+
48011
 
+
48012
 
+if test $pkg_failed = yes; then
48013
 
+
48014
 
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48015
 
+        _pkg_short_errors_supported=yes
48016
 
 else
48017
 
-  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
48018
 
+        _pkg_short_errors_supported=no
48019
 
 fi
48020
 
+        if test $_pkg_short_errors_supported = yes; then
48021
 
+               GTKMOZEMBED_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "mozilla-gtkmozembed >= 1.2b
48022
 
+                                gtk+-2.0            >= 2.4.0"`
48023
 
+        else
48024
 
+               GTKMOZEMBED_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-gtkmozembed >= 1.2b
48025
 
+                                gtk+-2.0            >= 2.4.0"`
48026
 
+        fi
48027
 
+       # Put the nasty error message in config.log where it belongs
48028
 
+       echo "$GTKMOZEMBED_PKG_ERRORS" >&5
48029
 
 
48030
 
-fi
48031
 
-if test -n "$PKG_CONFIG"; then
48032
 
-       _pkg_min_version=0.16
48033
 
-       { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
48034
 
-$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
48035
 
-       if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
48036
 
-               { $as_echo "$as_me:$LINENO: result: yes" >&5
48037
 
-$as_echo "yes" >&6; }
48038
 
-       else
48039
 
-               { $as_echo "$as_me:$LINENO: result: no" >&5
48040
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
48041
 
 $as_echo "no" >&6; }
48042
 
-               PKG_CONFIG=""
48043
 
-       fi
48044
 
-
48045
 
+                build_gtkmozembed=false
48046
 
+elif test $pkg_failed = untried; then
48047
 
+       build_gtkmozembed=false
48048
 
+else
48049
 
+       GTKMOZEMBED_CFLAGS=$pkg_cv_GTKMOZEMBED_CFLAGS
48050
 
+       GTKMOZEMBED_LIBS=$pkg_cv_GTKMOZEMBED_LIBS
48051
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
48052
 
+$as_echo "yes" >&6; }
48053
 
+       build_gtkmozembed=true; mozpackage=mozilla; mozpkgconfig=$mozpackage-gtkmozembed
48054
 
 fi
48055
 
 
48056
 
-  no_glib=""
48057
 
+elif test $pkg_failed = untried; then
48058
 
 
48059
 
-  if test "x$PKG_CONFIG" = x ; then
48060
 
-    no_glib=yes
48061
 
-    PKG_CONFIG=no
48062
 
-  fi
48063
 
 
48064
 
-  min_glib_version=2.6.0
48065
 
-  { $as_echo "$as_me:$LINENO: checking for GLIB - version >= $min_glib_version" >&5
48066
 
-$as_echo_n "checking for GLIB - version >= $min_glib_version... " >&6; }
48067
 
+pkg_failed=no
48068
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKMOZEMBED" >&5
48069
 
+$as_echo_n "checking for GTKMOZEMBED... " >&6; }
48070
 
 
48071
 
-  if test x$PKG_CONFIG != xno ; then
48072
 
-    ## don't try to run the test against uninstalled libtool libs
48073
 
-    if $PKG_CONFIG --uninstalled $pkg_config_args; then
48074
 
-         echo "Will use uninstalled version of GLib found in PKG_CONFIG_PATH"
48075
 
-         enable_glibtest=no
48076
 
+if test -n "$PKG_CONFIG"; then
48077
 
+    if test -n "$GTKMOZEMBED_CFLAGS"; then
48078
 
+        pkg_cv_GTKMOZEMBED_CFLAGS="$GTKMOZEMBED_CFLAGS"
48079
 
+    else
48080
 
+        if test -n "$PKG_CONFIG" && \
48081
 
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mozilla-gtkmozembed >= 1.2b
48082
 
+                                gtk+-2.0            >= 2.4.0\""; } >&5
48083
 
+  ($PKG_CONFIG --exists --print-errors "mozilla-gtkmozembed >= 1.2b
48084
 
+                                gtk+-2.0            >= 2.4.0") 2>&5
48085
 
+  ac_status=$?
48086
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
48087
 
+  test $ac_status = 0; }; then
48088
 
+  pkg_cv_GTKMOZEMBED_CFLAGS=`$PKG_CONFIG --cflags "mozilla-gtkmozembed >= 1.2b
48089
 
+                                gtk+-2.0            >= 2.4.0" 2>/dev/null`
48090
 
+else
48091
 
+  pkg_failed=yes
48092
 
+fi
48093
 
     fi
48094
 
-
48095
 
-    if $PKG_CONFIG --atleast-version $min_glib_version $pkg_config_args; then
48096
 
-         :
48097
 
+else
48098
 
+       pkg_failed=untried
48099
 
+fi
48100
 
+if test -n "$PKG_CONFIG"; then
48101
 
+    if test -n "$GTKMOZEMBED_LIBS"; then
48102
 
+        pkg_cv_GTKMOZEMBED_LIBS="$GTKMOZEMBED_LIBS"
48103
 
     else
48104
 
-         no_glib=yes
48105
 
+        if test -n "$PKG_CONFIG" && \
48106
 
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mozilla-gtkmozembed >= 1.2b
48107
 
+                                gtk+-2.0            >= 2.4.0\""; } >&5
48108
 
+  ($PKG_CONFIG --exists --print-errors "mozilla-gtkmozembed >= 1.2b
48109
 
+                                gtk+-2.0            >= 2.4.0") 2>&5
48110
 
+  ac_status=$?
48111
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
48112
 
+  test $ac_status = 0; }; then
48113
 
+  pkg_cv_GTKMOZEMBED_LIBS=`$PKG_CONFIG --libs "mozilla-gtkmozembed >= 1.2b
48114
 
+                                gtk+-2.0            >= 2.4.0" 2>/dev/null`
48115
 
+else
48116
 
+  pkg_failed=yes
48117
 
+fi
48118
 
     fi
48119
 
-  fi
48120
 
+else
48121
 
+       pkg_failed=untried
48122
 
+fi
48123
 
 
48124
 
-  if test x"$no_glib" = x ; then
48125
 
-    GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
48126
 
-    GOBJECT_QUERY=`$PKG_CONFIG --variable=gobject_query glib-2.0`
48127
 
-    GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
48128
 
 
48129
 
-    GLIB_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args`
48130
 
-    GLIB_LIBS=`$PKG_CONFIG --libs $pkg_config_args`
48131
 
-    glib_config_major_version=`$PKG_CONFIG --modversion glib-2.0 | \
48132
 
-           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48133
 
-    glib_config_minor_version=`$PKG_CONFIG --modversion glib-2.0 | \
48134
 
-           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48135
 
-    glib_config_micro_version=`$PKG_CONFIG --modversion glib-2.0 | \
48136
 
-           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48137
 
-    if test "x$enable_glibtest" = "xyes" ; then
48138
 
-      ac_save_CFLAGS="$CFLAGS"
48139
 
-      ac_save_LIBS="$LIBS"
48140
 
-      CFLAGS="$CFLAGS $GLIB_CFLAGS"
48141
 
-      LIBS="$GLIB_LIBS $LIBS"
48142
 
-      rm -f conf.glibtest
48143
 
-      if test "$cross_compiling" = yes; then
48144
 
-  echo $ac_n "cross compiling; assumed OK... $ac_c"
48145
 
+
48146
 
+if test $pkg_failed = yes; then
48147
 
+
48148
 
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48149
 
+        _pkg_short_errors_supported=yes
48150
 
 else
48151
 
-  cat >conftest.$ac_ext <<_ACEOF
48152
 
-/* confdefs.h.  */
48153
 
-_ACEOF
48154
 
-cat confdefs.h >>conftest.$ac_ext
48155
 
-cat >>conftest.$ac_ext <<_ACEOF
48156
 
-/* end confdefs.h.  */
48157
 
+        _pkg_short_errors_supported=no
48158
 
+fi
48159
 
+        if test $_pkg_short_errors_supported = yes; then
48160
 
+               GTKMOZEMBED_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "mozilla-gtkmozembed >= 1.2b
48161
 
+                                gtk+-2.0            >= 2.4.0"`
48162
 
+        else
48163
 
+               GTKMOZEMBED_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-gtkmozembed >= 1.2b
48164
 
+                                gtk+-2.0            >= 2.4.0"`
48165
 
+        fi
48166
 
+       # Put the nasty error message in config.log where it belongs
48167
 
+       echo "$GTKMOZEMBED_PKG_ERRORS" >&5
48168
 
 
48169
 
-#include <glib.h>
48170
 
-#include <stdio.h>
48171
 
-#include <stdlib.h>
48172
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
48173
 
+$as_echo "no" >&6; }
48174
 
+                build_gtkmozembed=false
48175
 
+elif test $pkg_failed = untried; then
48176
 
+       build_gtkmozembed=false
48177
 
+else
48178
 
+       GTKMOZEMBED_CFLAGS=$pkg_cv_GTKMOZEMBED_CFLAGS
48179
 
+       GTKMOZEMBED_LIBS=$pkg_cv_GTKMOZEMBED_LIBS
48180
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
48181
 
+$as_echo "yes" >&6; }
48182
 
+       build_gtkmozembed=true; mozpackage=mozilla; mozpkgconfig=$mozpackage-gtkmozembed
48183
 
+fi
48184
 
 
48185
 
-int
48186
 
-main ()
48187
 
-{
48188
 
-  int major, minor, micro;
48189
 
-  char *tmp_version;
48190
 
-  int ignored;
48191
 
+else
48192
 
+       GTKMOZEMBED_CFLAGS=$pkg_cv_GTKMOZEMBED_CFLAGS
48193
 
+       GTKMOZEMBED_LIBS=$pkg_cv_GTKMOZEMBED_LIBS
48194
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
48195
 
+$as_echo "yes" >&6; }
48196
 
+       build_gtkmozembed=true; mozpackage=firefox; mozpkgconfig=$mozpackage-gtkmozembed
48197
 
+fi
48198
 
 
48199
 
-  ignored = system ("touch conf.glibtest");
48200
 
+elif test $pkg_failed = untried; then
48201
 
 
48202
 
-  /* HP/UX 9 (%@#!) writes to sscanf strings */
48203
 
-  tmp_version = g_strdup("$min_glib_version");
48204
 
-  if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
48205
 
-     printf("%s, bad version string\n", "$min_glib_version");
48206
 
-     exit(1);
48207
 
-   }
48208
 
 
48209
 
-  if ((glib_major_version != $glib_config_major_version) ||
48210
 
-      (glib_minor_version != $glib_config_minor_version) ||
48211
 
-      (glib_micro_version != $glib_config_micro_version))
48212
 
-    {
48213
 
-      printf("\n*** 'pkg-config --modversion glib-2.0' returned %d.%d.%d, but GLIB (%d.%d.%d)\n",
48214
 
-             $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
48215
 
-             glib_major_version, glib_minor_version, glib_micro_version);
48216
 
-      printf ("*** was found! If pkg-config was correct, then it is best\n");
48217
 
-      printf ("*** to remove the old version of GLib. You may also be able to fix the error\n");
48218
 
-      printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
48219
 
-      printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
48220
 
-      printf("*** required on your system.\n");
48221
 
-      printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
48222
 
-      printf("*** to point to the correct configuration files\n");
48223
 
-    }
48224
 
-  else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
48225
 
-          (glib_minor_version != GLIB_MINOR_VERSION) ||
48226
 
-           (glib_micro_version != GLIB_MICRO_VERSION))
48227
 
-    {
48228
 
-      printf("*** GLIB header files (version %d.%d.%d) do not match\n",
48229
 
-            GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
48230
 
-      printf("*** library (version %d.%d.%d)\n",
48231
 
-            glib_major_version, glib_minor_version, glib_micro_version);
48232
 
-    }
48233
 
-  else
48234
 
-    {
48235
 
-      if ((glib_major_version > major) ||
48236
 
-        ((glib_major_version == major) && (glib_minor_version > minor)) ||
48237
 
-        ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
48238
 
-      {
48239
 
-        return 0;
48240
 
-       }
48241
 
-     else
48242
 
-      {
48243
 
-        printf("\n*** An old version of GLIB (%d.%d.%d) was found.\n",
48244
 
-               glib_major_version, glib_minor_version, glib_micro_version);
48245
 
-        printf("*** You need a version of GLIB newer than %d.%d.%d. The latest version of\n",
48246
 
-              major, minor, micro);
48247
 
-        printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
48248
 
-        printf("***\n");
48249
 
-        printf("*** If you have already installed a sufficiently new version, this error\n");
48250
 
-        printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
48251
 
-        printf("*** being found. The easiest way to fix this is to remove the old version\n");
48252
 
-        printf("*** of GLIB, but you can also set the PKG_CONFIG environment to point to the\n");
48253
 
-        printf("*** correct copy of pkg-config. (In this case, you will have to\n");
48254
 
-        printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
48255
 
-        printf("*** so that the correct libraries are found at run-time))\n");
48256
 
-      }
48257
 
-    }
48258
 
-  return 1;
48259
 
-}
48260
 
+pkg_failed=no
48261
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKMOZEMBED" >&5
48262
 
+$as_echo_n "checking for GTKMOZEMBED... " >&6; }
48263
 
 
48264
 
-_ACEOF
48265
 
-rm -f conftest$ac_exeext
48266
 
-if { (ac_try="$ac_link"
48267
 
-case "(($ac_try" in
48268
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48269
 
-  *) ac_try_echo=$ac_try;;
48270
 
-esac
48271
 
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
48272
 
-$as_echo "$ac_try_echo") >&5
48273
 
-  (eval "$ac_link") 2>&5
48274
 
+if test -n "$PKG_CONFIG"; then
48275
 
+    if test -n "$GTKMOZEMBED_CFLAGS"; then
48276
 
+        pkg_cv_GTKMOZEMBED_CFLAGS="$GTKMOZEMBED_CFLAGS"
48277
 
+    else
48278
 
+        if test -n "$PKG_CONFIG" && \
48279
 
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"firefox-gtkmozembed >= 1.0
48280
 
+                                gtk+-2.0            >= 2.4.0\""; } >&5
48281
 
+  ($PKG_CONFIG --exists --print-errors "firefox-gtkmozembed >= 1.0
48282
 
+                                gtk+-2.0            >= 2.4.0") 2>&5
48283
 
   ac_status=$?
48284
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
48285
 
-  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
48286
 
-  { (case "(($ac_try" in
48287
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48288
 
-  *) ac_try_echo=$ac_try;;
48289
 
-esac
48290
 
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
48291
 
-$as_echo "$ac_try_echo") >&5
48292
 
-  (eval "$ac_try") 2>&5
48293
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
48294
 
+  test $ac_status = 0; }; then
48295
 
+  pkg_cv_GTKMOZEMBED_CFLAGS=`$PKG_CONFIG --cflags "firefox-gtkmozembed >= 1.0
48296
 
+                                gtk+-2.0            >= 2.4.0" 2>/dev/null`
48297
 
+else
48298
 
+  pkg_failed=yes
48299
 
+fi
48300
 
+    fi
48301
 
+else
48302
 
+       pkg_failed=untried
48303
 
+fi
48304
 
+if test -n "$PKG_CONFIG"; then
48305
 
+    if test -n "$GTKMOZEMBED_LIBS"; then
48306
 
+        pkg_cv_GTKMOZEMBED_LIBS="$GTKMOZEMBED_LIBS"
48307
 
+    else
48308
 
+        if test -n "$PKG_CONFIG" && \
48309
 
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"firefox-gtkmozembed >= 1.0
48310
 
+                                gtk+-2.0            >= 2.4.0\""; } >&5
48311
 
+  ($PKG_CONFIG --exists --print-errors "firefox-gtkmozembed >= 1.0
48312
 
+                                gtk+-2.0            >= 2.4.0") 2>&5
48313
 
   ac_status=$?
48314
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
48315
 
-  (exit $ac_status); }; }; then
48316
 
-  :
48317
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
48318
 
+  test $ac_status = 0; }; then
48319
 
+  pkg_cv_GTKMOZEMBED_LIBS=`$PKG_CONFIG --libs "firefox-gtkmozembed >= 1.0
48320
 
+                                gtk+-2.0            >= 2.4.0" 2>/dev/null`
48321
 
 else
48322
 
-  $as_echo "$as_me: program exited with status $ac_status" >&5
48323
 
-$as_echo "$as_me: failed program was:" >&5
48324
 
-sed 's/^/| /' conftest.$ac_ext >&5
48325
 
-
48326
 
-( exit $ac_status )
48327
 
-no_glib=yes
48328
 
+  pkg_failed=yes
48329
 
 fi
48330
 
-rm -rf conftest.dSYM
48331
 
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
48332
 
+    fi
48333
 
+else
48334
 
+       pkg_failed=untried
48335
 
 fi
48336
 
 
48337
 
 
48338
 
-       CFLAGS="$ac_save_CFLAGS"
48339
 
-       LIBS="$ac_save_LIBS"
48340
 
-     fi
48341
 
-  fi
48342
 
-  if test "x$no_glib" = x ; then
48343
 
-     { $as_echo "$as_me:$LINENO: result: yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&5
48344
 
-$as_echo "yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&6; }
48345
 
-     :
48346
 
-  else
48347
 
-     { $as_echo "$as_me:$LINENO: result: no" >&5
48348
 
+
48349
 
+if test $pkg_failed = yes; then
48350
 
+
48351
 
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48352
 
+        _pkg_short_errors_supported=yes
48353
 
+else
48354
 
+        _pkg_short_errors_supported=no
48355
 
+fi
48356
 
+        if test $_pkg_short_errors_supported = yes; then
48357
 
+               GTKMOZEMBED_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "firefox-gtkmozembed >= 1.0
48358
 
+                                gtk+-2.0            >= 2.4.0"`
48359
 
+        else
48360
 
+               GTKMOZEMBED_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "firefox-gtkmozembed >= 1.0
48361
 
+                                gtk+-2.0            >= 2.4.0"`
48362
 
+        fi
48363
 
+       # Put the nasty error message in config.log where it belongs
48364
 
+       echo "$GTKMOZEMBED_PKG_ERRORS" >&5
48365
 
+
48366
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
48367
 
 $as_echo "no" >&6; }
48368
 
-     if test "$PKG_CONFIG" = "no" ; then
48369
 
-       echo "*** A new enough version of pkg-config was not found."
48370
 
-       echo "*** See http://www.freedesktop.org/software/pkgconfig/"
48371
 
-     else
48372
 
-       if test -f conf.glibtest ; then
48373
 
-        :
48374
 
-       else
48375
 
-          echo "*** Could not run GLIB test program, checking why..."
48376
 
-          ac_save_CFLAGS="$CFLAGS"
48377
 
-          ac_save_LIBS="$LIBS"
48378
 
-          CFLAGS="$CFLAGS $GLIB_CFLAGS"
48379
 
-          LIBS="$LIBS $GLIB_LIBS"
48380
 
-          cat >conftest.$ac_ext <<_ACEOF
48381
 
-/* confdefs.h.  */
48382
 
-_ACEOF
48383
 
-cat confdefs.h >>conftest.$ac_ext
48384
 
-cat >>conftest.$ac_ext <<_ACEOF
48385
 
-/* end confdefs.h.  */
48386
 
 
48387
 
-#include <glib.h>
48388
 
-#include <stdio.h>
48389
 
 
48390
 
-int
48391
 
-main ()
48392
 
-{
48393
 
- return ((glib_major_version) || (glib_minor_version) || (glib_micro_version));
48394
 
-  ;
48395
 
-  return 0;
48396
 
-}
48397
 
-_ACEOF
48398
 
-rm -f conftest.$ac_objext conftest$ac_exeext
48399
 
-if { (ac_try="$ac_link"
48400
 
-case "(($ac_try" in
48401
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48402
 
-  *) ac_try_echo=$ac_try;;
48403
 
-esac
48404
 
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
48405
 
-$as_echo "$ac_try_echo") >&5
48406
 
-  (eval "$ac_link") 2>conftest.er1
48407
 
+pkg_failed=no
48408
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKMOZEMBED" >&5
48409
 
+$as_echo_n "checking for GTKMOZEMBED... " >&6; }
48410
 
+
48411
 
+if test -n "$PKG_CONFIG"; then
48412
 
+    if test -n "$GTKMOZEMBED_CFLAGS"; then
48413
 
+        pkg_cv_GTKMOZEMBED_CFLAGS="$GTKMOZEMBED_CFLAGS"
48414
 
+    else
48415
 
+        if test -n "$PKG_CONFIG" && \
48416
 
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mozilla-gtkmozembed >= 1.2b
48417
 
+                                gtk+-2.0            >= 2.4.0\""; } >&5
48418
 
+  ($PKG_CONFIG --exists --print-errors "mozilla-gtkmozembed >= 1.2b
48419
 
+                                gtk+-2.0            >= 2.4.0") 2>&5
48420
 
   ac_status=$?
48421
 
-  grep -v '^ *+' conftest.er1 >conftest.err
48422
 
-  rm -f conftest.er1
48423
 
-  cat conftest.err >&5
48424
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
48425
 
-  (exit $ac_status); } && {
48426
 
-        test -z "$ac_c_werror_flag" ||
48427
 
-        test ! -s conftest.err
48428
 
-       } && test -s conftest$ac_exeext && {
48429
 
-        test "$cross_compiling" = yes ||
48430
 
-        $as_test_x conftest$ac_exeext
48431
 
-       }; then
48432
 
-   echo "*** The test program compiled, but did not run. This usually means"
48433
 
-          echo "*** that the run-time linker is not finding GLIB or finding the wrong"
48434
 
-          echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
48435
 
-          echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
48436
 
-          echo "*** to the installed location  Also, make sure you have run ldconfig if that"
48437
 
-          echo "*** is required on your system"
48438
 
-         echo "***"
48439
 
-          echo "*** If you have an old version installed, it is best to remove it, although"
48440
 
-          echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
48441
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
48442
 
+  test $ac_status = 0; }; then
48443
 
+  pkg_cv_GTKMOZEMBED_CFLAGS=`$PKG_CONFIG --cflags "mozilla-gtkmozembed >= 1.2b
48444
 
+                                gtk+-2.0            >= 2.4.0" 2>/dev/null`
48445
 
 else
48446
 
-  $as_echo "$as_me: failed program was:" >&5
48447
 
-sed 's/^/| /' conftest.$ac_ext >&5
48448
 
-
48449
 
-        echo "*** The test program failed to compile or link. See the file config.log for the"
48450
 
-          echo "*** exact error that occured. This usually means GLIB is incorrectly installed."
48451
 
+  pkg_failed=yes
48452
 
+fi
48453
 
+    fi
48454
 
+else
48455
 
+       pkg_failed=untried
48456
 
+fi
48457
 
+if test -n "$PKG_CONFIG"; then
48458
 
+    if test -n "$GTKMOZEMBED_LIBS"; then
48459
 
+        pkg_cv_GTKMOZEMBED_LIBS="$GTKMOZEMBED_LIBS"
48460
 
+    else
48461
 
+        if test -n "$PKG_CONFIG" && \
48462
 
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mozilla-gtkmozembed >= 1.2b
48463
 
+                                gtk+-2.0            >= 2.4.0\""; } >&5
48464
 
+  ($PKG_CONFIG --exists --print-errors "mozilla-gtkmozembed >= 1.2b
48465
 
+                                gtk+-2.0            >= 2.4.0") 2>&5
48466
 
+  ac_status=$?
48467
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
48468
 
+  test $ac_status = 0; }; then
48469
 
+  pkg_cv_GTKMOZEMBED_LIBS=`$PKG_CONFIG --libs "mozilla-gtkmozembed >= 1.2b
48470
 
+                                gtk+-2.0            >= 2.4.0" 2>/dev/null`
48471
 
+else
48472
 
+  pkg_failed=yes
48473
 
+fi
48474
 
+    fi
48475
 
+else
48476
 
+       pkg_failed=untried
48477
 
 fi
48478
 
 
48479
 
-rm -rf conftest.dSYM
48480
 
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
48481
 
-      conftest$ac_exeext conftest.$ac_ext
48482
 
-          CFLAGS="$ac_save_CFLAGS"
48483
 
-          LIBS="$ac_save_LIBS"
48484
 
-       fi
48485
 
-     fi
48486
 
-     GLIB_CFLAGS=""
48487
 
-     GLIB_LIBS=""
48488
 
-     GLIB_GENMARSHAL=""
48489
 
-     GOBJECT_QUERY=""
48490
 
-     GLIB_MKENUMS=""
48491
 
-     { { $as_echo "$as_me:$LINENO: error: maybe you want the gtk-gnome-1-2 branch?" >&5
48492
 
-$as_echo "$as_me: error: maybe you want the gtk-gnome-1-2 branch?" >&2;}
48493
 
-   { (exit 1); exit 1; }; }
48494
 
-  fi
48495
 
 
48496
 
 
48497
 
+if test $pkg_failed = yes; then
48498
 
+
48499
 
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48500
 
+        _pkg_short_errors_supported=yes
48501
 
+else
48502
 
+        _pkg_short_errors_supported=no
48503
 
+fi
48504
 
+        if test $_pkg_short_errors_supported = yes; then
48505
 
+               GTKMOZEMBED_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "mozilla-gtkmozembed >= 1.2b
48506
 
+                                gtk+-2.0            >= 2.4.0"`
48507
 
+        else
48508
 
+               GTKMOZEMBED_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-gtkmozembed >= 1.2b
48509
 
+                                gtk+-2.0            >= 2.4.0"`
48510
 
+        fi
48511
 
+       # Put the nasty error message in config.log where it belongs
48512
 
+       echo "$GTKMOZEMBED_PKG_ERRORS" >&5
48513
 
+
48514
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
48515
 
+$as_echo "no" >&6; }
48516
 
+                build_gtkmozembed=false
48517
 
+elif test $pkg_failed = untried; then
48518
 
+       build_gtkmozembed=false
48519
 
+else
48520
 
+       GTKMOZEMBED_CFLAGS=$pkg_cv_GTKMOZEMBED_CFLAGS
48521
 
+       GTKMOZEMBED_LIBS=$pkg_cv_GTKMOZEMBED_LIBS
48522
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
48523
 
+$as_echo "yes" >&6; }
48524
 
+       build_gtkmozembed=true; mozpackage=mozilla; mozpkgconfig=$mozpackage-gtkmozembed
48525
 
+fi
48526
 
 
48527
 
+elif test $pkg_failed = untried; then
48528
 
 
48529
 
 
48530
 
-  rm -f conf.glibtest
48531
 
+pkg_failed=no
48532
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKMOZEMBED" >&5
48533
 
+$as_echo_n "checking for GTKMOZEMBED... " >&6; }
48534
 
 
48535
 
-if test -n "$export_dynamic"; then
48536
 
-  GLIB_LIBS=`echo $GLIB_LIBS | sed -e "s/$export_dynamic//"`
48537
 
+if test -n "$PKG_CONFIG"; then
48538
 
+    if test -n "$GTKMOZEMBED_CFLAGS"; then
48539
 
+        pkg_cv_GTKMOZEMBED_CFLAGS="$GTKMOZEMBED_CFLAGS"
48540
 
+    else
48541
 
+        if test -n "$PKG_CONFIG" && \
48542
 
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mozilla-gtkmozembed >= 1.2b
48543
 
+                                gtk+-2.0            >= 2.4.0\""; } >&5
48544
 
+  ($PKG_CONFIG --exists --print-errors "mozilla-gtkmozembed >= 1.2b
48545
 
+                                gtk+-2.0            >= 2.4.0") 2>&5
48546
 
+  ac_status=$?
48547
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
48548
 
+  test $ac_status = 0; }; then
48549
 
+  pkg_cv_GTKMOZEMBED_CFLAGS=`$PKG_CONFIG --cflags "mozilla-gtkmozembed >= 1.2b
48550
 
+                                gtk+-2.0            >= 2.4.0" 2>/dev/null`
48551
 
+else
48552
 
+  pkg_failed=yes
48553
 
 fi
48554
 
-
48555
 
-# Check whether --enable-gtktest was given.
48556
 
-if test "${enable_gtktest+set}" = set; then
48557
 
-  enableval=$enable_gtktest;
48558
 
+    fi
48559
 
 else
48560
 
-  enable_gtktest=yes
48561
 
+       pkg_failed=untried
48562
 
+fi
48563
 
+if test -n "$PKG_CONFIG"; then
48564
 
+    if test -n "$GTKMOZEMBED_LIBS"; then
48565
 
+        pkg_cv_GTKMOZEMBED_LIBS="$GTKMOZEMBED_LIBS"
48566
 
+    else
48567
 
+        if test -n "$PKG_CONFIG" && \
48568
 
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mozilla-gtkmozembed >= 1.2b
48569
 
+                                gtk+-2.0            >= 2.4.0\""; } >&5
48570
 
+  ($PKG_CONFIG --exists --print-errors "mozilla-gtkmozembed >= 1.2b
48571
 
+                                gtk+-2.0            >= 2.4.0") 2>&5
48572
 
+  ac_status=$?
48573
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
48574
 
+  test $ac_status = 0; }; then
48575
 
+  pkg_cv_GTKMOZEMBED_LIBS=`$PKG_CONFIG --libs "mozilla-gtkmozembed >= 1.2b
48576
 
+                                gtk+-2.0            >= 2.4.0" 2>/dev/null`
48577
 
+else
48578
 
+  pkg_failed=yes
48579
 
+fi
48580
 
+    fi
48581
 
+else
48582
 
+       pkg_failed=untried
48583
 
 fi
48584
 
 
48585
 
 
48586
 
-  pkg_config_args=gtk+-2.0
48587
 
-  for module in . $extras_mods
48588
 
-  do
48589
 
-      case "$module" in
48590
 
-         gthread)
48591
 
-             pkg_config_args="$pkg_config_args gthread-2.0"
48592
 
-         ;;
48593
 
-      esac
48594
 
-  done
48595
 
 
48596
 
-  no_gtk=""
48597
 
+if test $pkg_failed = yes; then
48598
 
 
48599
 
-  # Extract the first word of "pkg-config", so it can be a program name with args.
48600
 
-set dummy pkg-config; ac_word=$2
48601
 
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
48602
 
-$as_echo_n "checking for $ac_word... " >&6; }
48603
 
-if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
48604
 
-  $as_echo_n "(cached) " >&6
48605
 
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48606
 
+        _pkg_short_errors_supported=yes
48607
 
 else
48608
 
-  case $PKG_CONFIG in
48609
 
-  [\\/]* | ?:[\\/]*)
48610
 
-  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
48611
 
-  ;;
48612
 
-  *)
48613
 
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48614
 
-for as_dir in $PATH
48615
 
-do
48616
 
-  IFS=$as_save_IFS
48617
 
-  test -z "$as_dir" && as_dir=.
48618
 
-  for ac_exec_ext in '' $ac_executable_extensions; do
48619
 
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48620
 
-    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
48621
 
-    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48622
 
-    break 2
48623
 
-  fi
48624
 
-done
48625
 
-done
48626
 
-IFS=$as_save_IFS
48627
 
+        _pkg_short_errors_supported=no
48628
 
+fi
48629
 
+        if test $_pkg_short_errors_supported = yes; then
48630
 
+               GTKMOZEMBED_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "mozilla-gtkmozembed >= 1.2b
48631
 
+                                gtk+-2.0            >= 2.4.0"`
48632
 
+        else
48633
 
+               GTKMOZEMBED_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-gtkmozembed >= 1.2b
48634
 
+                                gtk+-2.0            >= 2.4.0"`
48635
 
+        fi
48636
 
+       # Put the nasty error message in config.log where it belongs
48637
 
+       echo "$GTKMOZEMBED_PKG_ERRORS" >&5
48638
 
 
48639
 
-  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
48640
 
-  ;;
48641
 
-esac
48642
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
48643
 
+$as_echo "no" >&6; }
48644
 
+                build_gtkmozembed=false
48645
 
+elif test $pkg_failed = untried; then
48646
 
+       build_gtkmozembed=false
48647
 
+else
48648
 
+       GTKMOZEMBED_CFLAGS=$pkg_cv_GTKMOZEMBED_CFLAGS
48649
 
+       GTKMOZEMBED_LIBS=$pkg_cv_GTKMOZEMBED_LIBS
48650
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
48651
 
+$as_echo "yes" >&6; }
48652
 
+       build_gtkmozembed=true; mozpackage=mozilla; mozpkgconfig=$mozpackage-gtkmozembed
48653
 
+fi
48654
 
+
48655
 
+else
48656
 
+       GTKMOZEMBED_CFLAGS=$pkg_cv_GTKMOZEMBED_CFLAGS
48657
 
+       GTKMOZEMBED_LIBS=$pkg_cv_GTKMOZEMBED_LIBS
48658
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
48659
 
+$as_echo "yes" >&6; }
48660
 
+       build_gtkmozembed=true; mozpackage=firefox; mozpkgconfig=$mozpackage-gtkmozembed
48661
 
+fi
48662
 
+
48663
 
+else
48664
 
+       GTKMOZEMBED_CFLAGS=$pkg_cv_GTKMOZEMBED_CFLAGS
48665
 
+       GTKMOZEMBED_LIBS=$pkg_cv_GTKMOZEMBED_LIBS
48666
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
48667
 
+$as_echo "yes" >&6; }
48668
 
+       build_gtkmozembed=true; mozpackage=xulrunner; mozpkgconfig=$mozpackage-gtkmozembed
48669
 
 fi
48670
 
-PKG_CONFIG=$ac_cv_path_PKG_CONFIG
48671
 
-if test -n "$PKG_CONFIG"; then
48672
 
-  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
48673
 
-$as_echo "$PKG_CONFIG" >&6; }
48674
 
+
48675
 
 else
48676
 
-  { $as_echo "$as_me:$LINENO: result: no" >&5
48677
 
-$as_echo "no" >&6; }
48678
 
+       GTKMOZEMBED_CFLAGS=$pkg_cv_GTKMOZEMBED_CFLAGS
48679
 
+       GTKMOZEMBED_LIBS=$pkg_cv_GTKMOZEMBED_LIBS
48680
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
48681
 
+$as_echo "yes" >&6; }
48682
 
+       build_gtkmozembed=true; mozpackage=xulrunner-1.9; mozpkgconfig=libxul-embedding
48683
 
 fi
48684
 
 
48685
 
+else
48686
 
 
48687
 
+GTKMOZEMBED_CODEGEN_DEFINES=""
48688
 
+case $mozpackage in
48689
 
+     xulrunner-1.9) mozpackage_required_version=1.9 ; mozpkgconfig=libxul-embedding ; GTKMOZEMBED_CODEGEN_DEFINES="-DHAVE_XUL19" ;;
48690
 
+     xulrunner) mozpackage_required_version=1.8 ; mozpkgconfig=$mozpackage-gtkmozembed ;;
48691
 
+     firefox) mozpackage_required_version=1.0 ; mozpkgconfig=$mozpackage-gtkmozembed ;;
48692
 
+     mozilla) mozpackage_required_version=1.2b ; mozpkgconfig=$mozpackage-gtkmozembed ;;
48693
 
+     *) as_fn_error "--with-gtkmozembed argument must be either 'mozilla', 'firefox', 'xulrunner-1.9' or 'xulrunner'" "$LINENO" 5
48694
 
+esac
48695
 
 
48696
 
-  if test x$PKG_CONFIG != xno ; then
48697
 
-    if pkg-config --atleast-pkgconfig-version 0.7 ; then
48698
 
-      :
48699
 
-    else
48700
 
-      echo "*** pkg-config too old; version 0.7 or better required."
48701
 
-      no_gtk=yes
48702
 
-      PKG_CONFIG=no
48703
 
-    fi
48704
 
-  else
48705
 
-    no_gtk=yes
48706
 
-  fi
48707
 
 
48708
 
-  min_gtk_version=2.4.0
48709
 
-  { $as_echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
48710
 
-$as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
48711
 
 
48712
 
-  if test x$PKG_CONFIG != xno ; then
48713
 
-    ## don't try to run the test against uninstalled libtool libs
48714
 
-    if $PKG_CONFIG --uninstalled $pkg_config_args; then
48715
 
-         echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
48716
 
-         enable_gtktest=no
48717
 
-    fi
48718
 
+pkg_failed=no
48719
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKMOZEMBED" >&5
48720
 
+$as_echo_n "checking for GTKMOZEMBED... " >&6; }
48721
 
 
48722
 
-    if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
48723
 
-         :
48724
 
+if test -n "$PKG_CONFIG"; then
48725
 
+    if test -n "$GTKMOZEMBED_CFLAGS"; then
48726
 
+        pkg_cv_GTKMOZEMBED_CFLAGS="$GTKMOZEMBED_CFLAGS"
48727
 
     else
48728
 
-         no_gtk=yes
48729
 
+        if test -n "$PKG_CONFIG" && \
48730
 
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$mozpkgconfig >= \$mozpackage_required_version,
48731
 
+                                gtk+-2.0      >= 2.4.0\""; } >&5
48732
 
+  ($PKG_CONFIG --exists --print-errors "$mozpkgconfig >= $mozpackage_required_version,
48733
 
+                                gtk+-2.0      >= 2.4.0") 2>&5
48734
 
+  ac_status=$?
48735
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
48736
 
+  test $ac_status = 0; }; then
48737
 
+  pkg_cv_GTKMOZEMBED_CFLAGS=`$PKG_CONFIG --cflags "$mozpkgconfig >= $mozpackage_required_version,
48738
 
+                                gtk+-2.0      >= 2.4.0" 2>/dev/null`
48739
 
+else
48740
 
+  pkg_failed=yes
48741
 
+fi
48742
 
     fi
48743
 
-  fi
48744
 
-
48745
 
-  if test x"$no_gtk" = x ; then
48746
 
-    GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
48747
 
-    GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
48748
 
-    gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
48749
 
-           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48750
 
-    gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
48751
 
-           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48752
 
-    gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
48753
 
-           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48754
 
-    if test "x$enable_gtktest" = "xyes" ; then
48755
 
-      ac_save_CFLAGS="$CFLAGS"
48756
 
-      ac_save_LIBS="$LIBS"
48757
 
-      CFLAGS="$CFLAGS $GTK_CFLAGS"
48758
 
-      LIBS="$GTK_LIBS $LIBS"
48759
 
-      rm -f conf.gtktest
48760
 
-      if test "$cross_compiling" = yes; then
48761
 
-  echo $ac_n "cross compiling; assumed OK... $ac_c"
48762
 
 else
48763
 
-  cat >conftest.$ac_ext <<_ACEOF
48764
 
-/* confdefs.h.  */
48765
 
-_ACEOF
48766
 
-cat confdefs.h >>conftest.$ac_ext
48767
 
-cat >>conftest.$ac_ext <<_ACEOF
48768
 
-/* end confdefs.h.  */
48769
 
-
48770
 
-#include <gtk/gtk.h>
48771
 
-#include <stdio.h>
48772
 
-#include <stdlib.h>
48773
 
-
48774
 
-int
48775
 
-main ()
48776
 
-{
48777
 
-  int major, minor, micro;
48778
 
-  char *tmp_version;
48779
 
+       pkg_failed=untried
48780
 
+fi
48781
 
+if test -n "$PKG_CONFIG"; then
48782
 
+    if test -n "$GTKMOZEMBED_LIBS"; then
48783
 
+        pkg_cv_GTKMOZEMBED_LIBS="$GTKMOZEMBED_LIBS"
48784
 
+    else
48785
 
+        if test -n "$PKG_CONFIG" && \
48786
 
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$mozpkgconfig >= \$mozpackage_required_version,
48787
 
+                                gtk+-2.0      >= 2.4.0\""; } >&5
48788
 
+  ($PKG_CONFIG --exists --print-errors "$mozpkgconfig >= $mozpackage_required_version,
48789
 
+                                gtk+-2.0      >= 2.4.0") 2>&5
48790
 
+  ac_status=$?
48791
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
48792
 
+  test $ac_status = 0; }; then
48793
 
+  pkg_cv_GTKMOZEMBED_LIBS=`$PKG_CONFIG --libs "$mozpkgconfig >= $mozpackage_required_version,
48794
 
+                                gtk+-2.0      >= 2.4.0" 2>/dev/null`
48795
 
+else
48796
 
+  pkg_failed=yes
48797
 
+fi
48798
 
+    fi
48799
 
+else
48800
 
+       pkg_failed=untried
48801
 
+fi
48802
 
 
48803
 
-  system ("touch conf.gtktest");
48804
 
 
48805
 
-  /* HP/UX 9 (%@#!) writes to sscanf strings */
48806
 
-  tmp_version = g_strdup("$min_gtk_version");
48807
 
-  if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
48808
 
-     printf("%s, bad version string\n", "$min_gtk_version");
48809
 
-     exit(1);
48810
 
-   }
48811
 
 
48812
 
-  if ((gtk_major_version != $gtk_config_major_version) ||
48813
 
-      (gtk_minor_version != $gtk_config_minor_version) ||
48814
 
-      (gtk_micro_version != $gtk_config_micro_version))
48815
 
-    {
48816
 
-      printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
48817
 
-             $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
48818
 
-             gtk_major_version, gtk_minor_version, gtk_micro_version);
48819
 
-      printf ("*** was found! If pkg-config was correct, then it is best\n");
48820
 
-      printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
48821
 
-      printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
48822
 
-      printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
48823
 
-      printf("*** required on your system.\n");
48824
 
-      printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
48825
 
-      printf("*** to point to the correct configuration files\n");
48826
 
-    }
48827
 
-  else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
48828
 
-          (gtk_minor_version != GTK_MINOR_VERSION) ||
48829
 
-           (gtk_micro_version != GTK_MICRO_VERSION))
48830
 
-    {
48831
 
-      printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
48832
 
-            GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
48833
 
-      printf("*** library (version %d.%d.%d)\n",
48834
 
-            gtk_major_version, gtk_minor_version, gtk_micro_version);
48835
 
-    }
48836
 
-  else
48837
 
-    {
48838
 
-      if ((gtk_major_version > major) ||
48839
 
-        ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
48840
 
-        ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
48841
 
-      {
48842
 
-        return 0;
48843
 
-       }
48844
 
-     else
48845
 
-      {
48846
 
-        printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
48847
 
-               gtk_major_version, gtk_minor_version, gtk_micro_version);
48848
 
-        printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
48849
 
-              major, minor, micro);
48850
 
-        printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
48851
 
-        printf("***\n");
48852
 
-        printf("*** If you have already installed a sufficiently new version, this error\n");
48853
 
-        printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
48854
 
-        printf("*** being found. The easiest way to fix this is to remove the old version\n");
48855
 
-        printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
48856
 
-        printf("*** correct copy of pkg-config. (In this case, you will have to\n");
48857
 
-        printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
48858
 
-        printf("*** so that the correct libraries are found at run-time))\n");
48859
 
-      }
48860
 
-    }
48861
 
-  return 1;
48862
 
-}
48863
 
+if test $pkg_failed = yes; then
48864
 
 
48865
 
-_ACEOF
48866
 
-rm -f conftest$ac_exeext
48867
 
-if { (ac_try="$ac_link"
48868
 
-case "(($ac_try" in
48869
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48870
 
-  *) ac_try_echo=$ac_try;;
48871
 
-esac
48872
 
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
48873
 
-$as_echo "$ac_try_echo") >&5
48874
 
-  (eval "$ac_link") 2>&5
48875
 
-  ac_status=$?
48876
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
48877
 
-  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
48878
 
-  { (case "(($ac_try" in
48879
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48880
 
-  *) ac_try_echo=$ac_try;;
48881
 
-esac
48882
 
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
48883
 
-$as_echo "$ac_try_echo") >&5
48884
 
-  (eval "$ac_try") 2>&5
48885
 
-  ac_status=$?
48886
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
48887
 
-  (exit $ac_status); }; }; then
48888
 
-  :
48889
 
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48890
 
+        _pkg_short_errors_supported=yes
48891
 
 else
48892
 
-  $as_echo "$as_me: program exited with status $ac_status" >&5
48893
 
-$as_echo "$as_me: failed program was:" >&5
48894
 
-sed 's/^/| /' conftest.$ac_ext >&5
48895
 
+        _pkg_short_errors_supported=no
48896
 
+fi
48897
 
+        if test $_pkg_short_errors_supported = yes; then
48898
 
+               GTKMOZEMBED_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$mozpkgconfig >= $mozpackage_required_version,
48899
 
+                                gtk+-2.0      >= 2.4.0"`
48900
 
+        else
48901
 
+               GTKMOZEMBED_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$mozpkgconfig >= $mozpackage_required_version,
48902
 
+                                gtk+-2.0      >= 2.4.0"`
48903
 
+        fi
48904
 
+       # Put the nasty error message in config.log where it belongs
48905
 
+       echo "$GTKMOZEMBED_PKG_ERRORS" >&5
48906
 
 
48907
 
-( exit $ac_status )
48908
 
-no_gtk=yes
48909
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
48910
 
+$as_echo "no" >&6; }
48911
 
+                build_gtkmozembed=false
48912
 
+elif test $pkg_failed = untried; then
48913
 
+       build_gtkmozembed=false
48914
 
+else
48915
 
+       GTKMOZEMBED_CFLAGS=$pkg_cv_GTKMOZEMBED_CFLAGS
48916
 
+       GTKMOZEMBED_LIBS=$pkg_cv_GTKMOZEMBED_LIBS
48917
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
48918
 
+$as_echo "yes" >&6; }
48919
 
+       build_gtkmozembed=true
48920
 
 fi
48921
 
-rm -rf conftest.dSYM
48922
 
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
48923
 
+
48924
 
 fi
48925
 
 
48926
 
+ if $build_gtkmozembed; then
48927
 
+  BUILD_GTKMOZEMBED_TRUE=
48928
 
+  BUILD_GTKMOZEMBED_FALSE='#'
48929
 
+else
48930
 
+  BUILD_GTKMOZEMBED_TRUE='#'
48931
 
+  BUILD_GTKMOZEMBED_FALSE=
48932
 
+fi
48933
 
 
48934
 
-       CFLAGS="$ac_save_CFLAGS"
48935
 
-       LIBS="$ac_save_LIBS"
48936
 
-     fi
48937
 
+if test $mozpackage = xulrunner-1.9; then
48938
 
+  GTKMOZEMBED_CFLAGS="$(pkg-config --cflags --define-variable=includetype=unstable libxul-embedding gtk+-2.0)"
48939
 
+else
48940
 
+  MOZILLA_HOME="`$PKG_CONFIG --variable=libdir $mozpackage-gtkmozembed`"
48941
 
+  if test -z "$MOZILLA_HOME"; then
48942
 
+     MOZILLA_HOME="`$PKG_CONFIG --variable=sdkdir $mozpackage-gtkmozembed`/lib"
48943
 
   fi
48944
 
-  if test "x$no_gtk" = x ; then
48945
 
-     { $as_echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
48946
 
-$as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
48947
 
-     :
48948
 
-  else
48949
 
-     { $as_echo "$as_me:$LINENO: result: no" >&5
48950
 
-$as_echo "no" >&6; }
48951
 
-     if test "$PKG_CONFIG" = "no" ; then
48952
 
-       echo "*** A new enough version of pkg-config was not found."
48953
 
-       echo "*** See http://pkgconfig.sourceforge.net"
48954
 
-     else
48955
 
-       if test -f conf.gtktest ; then
48956
 
-        :
48957
 
-       else
48958
 
-          echo "*** Could not run GTK+ test program, checking why..."
48959
 
-         ac_save_CFLAGS="$CFLAGS"
48960
 
-         ac_save_LIBS="$LIBS"
48961
 
-          CFLAGS="$CFLAGS $GTK_CFLAGS"
48962
 
-          LIBS="$LIBS $GTK_LIBS"
48963
 
-          cat >conftest.$ac_ext <<_ACEOF
48964
 
-/* confdefs.h.  */
48965
 
-_ACEOF
48966
 
-cat confdefs.h >>conftest.$ac_ext
48967
 
-cat >>conftest.$ac_ext <<_ACEOF
48968
 
-/* end confdefs.h.  */
48969
 
 
48970
 
-#include <gtk/gtk.h>
48971
 
-#include <stdio.h>
48972
 
+fi # $mozpackage = xulrunner-1.9
48973
 
 
48974
 
-int
48975
 
-main ()
48976
 
-{
48977
 
- return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
48978
 
-  ;
48979
 
-  return 0;
48980
 
-}
48981
 
-_ACEOF
48982
 
-rm -f conftest.$ac_objext conftest$ac_exeext
48983
 
-if { (ac_try="$ac_link"
48984
 
-case "(($ac_try" in
48985
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48986
 
-  *) ac_try_echo=$ac_try;;
48987
 
-esac
48988
 
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
48989
 
-$as_echo "$ac_try_echo") >&5
48990
 
-  (eval "$ac_link") 2>conftest.er1
48991
 
-  ac_status=$?
48992
 
-  grep -v '^ *+' conftest.er1 >conftest.err
48993
 
-  rm -f conftest.er1
48994
 
-  cat conftest.err >&5
48995
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
48996
 
-  (exit $ac_status); } && {
48997
 
-        test -z "$ac_c_werror_flag" ||
48998
 
-        test ! -s conftest.err
48999
 
-       } && test -s conftest$ac_exeext && {
49000
 
-        test "$cross_compiling" = yes ||
49001
 
-        $as_test_x conftest$ac_exeext
49002
 
-       }; then
49003
 
-   echo "*** The test program compiled, but did not run. This usually means"
49004
 
-          echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
49005
 
-          echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
49006
 
-          echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
49007
 
-          echo "*** to the installed location  Also, make sure you have run ldconfig if that"
49008
 
-          echo "*** is required on your system"
49009
 
-         echo "***"
49010
 
-          echo "*** If you have an old version installed, it is best to remove it, although"
49011
 
-          echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
49012
 
+fi # if build_gtkmozembed
49013
 
+
49014
 
+ if $build_gtkmozembed; then
49015
 
+  BUILD_GTKMOZEMBED_TRUE=
49016
 
+  BUILD_GTKMOZEMBED_FALSE='#'
49017
 
 else
49018
 
-  $as_echo "$as_me: failed program was:" >&5
49019
 
-sed 's/^/| /' conftest.$ac_ext >&5
49020
 
+  BUILD_GTKMOZEMBED_TRUE='#'
49021
 
+  BUILD_GTKMOZEMBED_FALSE=
49022
 
+fi
49023
 
+
49024
 
+
49025
 
+ac_ext=cpp
49026
 
+ac_cpp='$CXXCPP $CPPFLAGS'
49027
 
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49028
 
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49029
 
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49030
 
+
49031
 
+_SAVE_CPPFLAGS=$CPPFLAGS
49032
 
+_SAVE_CXXFLAGS=$CXXFLAGS
49033
 
+CXXFLAGS=$GTKMOZEMBED_CFLAGS
49034
 
+CPPFLAGS=
49035
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49036
 
+/* end confdefs.h.  */
49037
 
+#ifndef XPCOM_GLUE
49038
 
+#error "no xpcom glue"
49039
 
+#endif
49040
 
+_ACEOF
49041
 
+if ac_fn_cxx_try_compile "$LINENO"; then :
49042
 
+  have_xpcom_glue=yes
49043
 
+else
49044
 
+  have_xpcom_glue=yes
49045
 
 
49046
 
-        echo "*** The test program failed to compile or link. See the file config.log for the"
49047
 
-          echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
49048
 
 fi
49049
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49050
 
+CPPFLAGS=$_SAVE_CPPFLAGS
49051
 
+CXXFLAGS=$_SAVE_CXXFLAGS
49052
 
+ac_ext=c
49053
 
+ac_cpp='$CPP $CPPFLAGS'
49054
 
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49055
 
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49056
 
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
49057
 
 
49058
 
-rm -rf conftest.dSYM
49059
 
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
49060
 
-      conftest$ac_exeext conftest.$ac_ext
49061
 
-          CFLAGS="$ac_save_CFLAGS"
49062
 
-          LIBS="$ac_save_LIBS"
49063
 
-       fi
49064
 
-     fi
49065
 
-     GTK_CFLAGS=""
49066
 
-     GTK_LIBS=""
49067
 
-     { { $as_echo "$as_me:$LINENO: error: maybe you want the gtk-gnome-1-2 branch?" >&5
49068
 
-$as_echo "$as_me: error: maybe you want the gtk-gnome-1-2 branch?" >&2;}
49069
 
-   { (exit 1); exit 1; }; }
49070
 
-  fi
49071
 
 
49072
 
+ if test $have_xpcom_glue=yes; then
49073
 
+  HAVE_XPCOM_GLUE_TRUE=
49074
 
+  HAVE_XPCOM_GLUE_FALSE='#'
49075
 
+else
49076
 
+  HAVE_XPCOM_GLUE_TRUE='#'
49077
 
+  HAVE_XPCOM_GLUE_FALSE=
49078
 
+fi
49079
 
+
49080
 
+if test "$have_xpcom_glue" = "yes"; then
49081
 
 
49082
 
-  rm -f conf.gtktest
49083
 
+$as_echo "#define HAVE_XPCOM_GLUE 1" >>confdefs.h
49084
 
+
49085
 
+fi
49086
 
 
49087
 
 if test -n "$export_dynamic"; then
49088
 
-  GTK_LIBS=`echo $GTK_LIBS | sed -e "s/$export_dynamic//"`
49089
 
+  GTKMOZEMBED_LIBS=`echo $GTKMOZEMBED_LIBS | sed -e "s/$export_dynamic//"`
49090
 
 fi
49091
 
 
49092
 
-default_bindings_on="eggtray eggrecent gda gdl gksu gksu2 gtkhtml2 gtkmozembed gtkspell"
49093
 
-default_bindings_off=""
49094
 
-default_bindings_all="$default_bindings_on $default_bindings_off"
49095
 
 
49096
 
-# Check whether --enable-allbindings was given.
49097
 
-if test "${enable_allbindings+set}" = set; then
49098
 
-  enableval=$enable_allbindings; if test "$enable_allbindings" = "no"; then
49099
 
-                          default_bindings_off="$default_bindings_all"
49100
 
-                          default_bindings_on=""
49101
 
-                        else
49102
 
-                          default_bindings_off=""
49103
 
-                          default_bindings_on="$default_bindings_all"
49104
 
-                    fi
49105
 
+# Check whether --enable-gtkspell was given.
49106
 
+if test "${enable_gtkspell+set}" = set; then :
49107
 
+  enableval=$enable_gtkspell; if test "$enable_gtkspell" = "yes"; then
49108
 
+                       build_gtkspell=true
49109
 
+                         else
49110
 
+                               build_gtkspell=false
49111
 
+                        fi
49112
 
 fi
49113
 
 
49114
 
-for binding in $default_bindings_on; do
49115
 
-       eval build_$binding=true
49116
 
-done
49117
 
-for binding in $default_bindings_off; do
49118
 
-       eval build_$binding=false
49119
 
-done
49120
 
 
49121
 
-# Check whether --enable-docs was given.
49122
 
-if test "${enable_docs+set}" = set; then
49123
 
-  enableval=$enable_docs; enable_docs=$enableval
49124
 
+if $build_gtkspell; then
49125
 
+
49126
 
+pkg_failed=no
49127
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKSPELL" >&5
49128
 
+$as_echo_n "checking for GTKSPELL... " >&6; }
49129
 
+
49130
 
+if test -n "$PKG_CONFIG"; then
49131
 
+    if test -n "$GTKSPELL_CFLAGS"; then
49132
 
+        pkg_cv_GTKSPELL_CFLAGS="$GTKSPELL_CFLAGS"
49133
 
+    else
49134
 
+        if test -n "$PKG_CONFIG" && \
49135
 
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtkspell-2.0 >= 2.0.0 pygtk-2.0 >= 2.4.0\""; } >&5
49136
 
+  ($PKG_CONFIG --exists --print-errors "gtkspell-2.0 >= 2.0.0 pygtk-2.0 >= 2.4.0") 2>&5
49137
 
+  ac_status=$?
49138
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
49139
 
+  test $ac_status = 0; }; then
49140
 
+  pkg_cv_GTKSPELL_CFLAGS=`$PKG_CONFIG --cflags "gtkspell-2.0 >= 2.0.0 pygtk-2.0 >= 2.4.0" 2>/dev/null`
49141
 
 else
49142
 
-  enable_docs=no
49143
 
+  pkg_failed=yes
49144
 
 fi
49145
 
-
49146
 
-if test "${enable_docs}" != no; then
49147
 
-    # Extract the first word of "xsltproc", so it can be a program name with args.
49148
 
-set dummy xsltproc; ac_word=$2
49149
 
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
49150
 
-$as_echo_n "checking for $ac_word... " >&6; }
49151
 
-if test "${ac_cv_path_XSLTPROC+set}" = set; then
49152
 
-  $as_echo_n "(cached) " >&6
49153
 
+    fi
49154
 
 else
49155
 
-  case $XSLTPROC in
49156
 
-  [\\/]* | ?:[\\/]*)
49157
 
-  ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
49158
 
-  ;;
49159
 
-  *)
49160
 
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49161
 
-for as_dir in $PATH
49162
 
-do
49163
 
-  IFS=$as_save_IFS
49164
 
-  test -z "$as_dir" && as_dir=.
49165
 
-  for ac_exec_ext in '' $ac_executable_extensions; do
49166
 
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49167
 
-    ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
49168
 
-    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49169
 
-    break 2
49170
 
-  fi
49171
 
-done
49172
 
-done
49173
 
-IFS=$as_save_IFS
49174
 
-
49175
 
-  ;;
49176
 
-esac
49177
 
+       pkg_failed=untried
49178
 
 fi
49179
 
-XSLTPROC=$ac_cv_path_XSLTPROC
49180
 
-if test -n "$XSLTPROC"; then
49181
 
-  { $as_echo "$as_me:$LINENO: result: $XSLTPROC" >&5
49182
 
-$as_echo "$XSLTPROC" >&6; }
49183
 
+if test -n "$PKG_CONFIG"; then
49184
 
+    if test -n "$GTKSPELL_LIBS"; then
49185
 
+        pkg_cv_GTKSPELL_LIBS="$GTKSPELL_LIBS"
49186
 
+    else
49187
 
+        if test -n "$PKG_CONFIG" && \
49188
 
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtkspell-2.0 >= 2.0.0 pygtk-2.0 >= 2.4.0\""; } >&5
49189
 
+  ($PKG_CONFIG --exists --print-errors "gtkspell-2.0 >= 2.0.0 pygtk-2.0 >= 2.4.0") 2>&5
49190
 
+  ac_status=$?
49191
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
49192
 
+  test $ac_status = 0; }; then
49193
 
+  pkg_cv_GTKSPELL_LIBS=`$PKG_CONFIG --libs "gtkspell-2.0 >= 2.0.0 pygtk-2.0 >= 2.4.0" 2>/dev/null`
49194
 
 else
49195
 
-  { $as_echo "$as_me:$LINENO: result: no" >&5
49196
 
-$as_echo "no" >&6; }
49197
 
+  pkg_failed=yes
49198
 
+fi
49199
 
+    fi
49200
 
+else
49201
 
+       pkg_failed=untried
49202
 
 fi
49203
 
 
49204
 
 
49205
 
-  if test -z "$XSLTPROC"; then
49206
 
-    enable_docs=no
49207
 
-  fi
49208
 
+
49209
 
+if test $pkg_failed = yes; then
49210
 
+
49211
 
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49212
 
+        _pkg_short_errors_supported=yes
49213
 
+else
49214
 
+        _pkg_short_errors_supported=no
49215
 
 fi
49216
 
+        if test $_pkg_short_errors_supported = yes; then
49217
 
+               GTKSPELL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtkspell-2.0 >= 2.0.0 pygtk-2.0 >= 2.4.0"`
49218
 
+        else
49219
 
+               GTKSPELL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtkspell-2.0 >= 2.0.0 pygtk-2.0 >= 2.4.0"`
49220
 
+        fi
49221
 
+       # Put the nasty error message in config.log where it belongs
49222
 
+       echo "$GTKSPELL_PKG_ERRORS" >&5
49223
 
 
49224
 
- if test x$enable_docs != xno; then
49225
 
-  ENABLE_DOCS_TRUE=
49226
 
-  ENABLE_DOCS_FALSE='#'
49227
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
49228
 
+$as_echo "no" >&6; }
49229
 
+                build_gtkspell=false
49230
 
+elif test $pkg_failed = untried; then
49231
 
+       build_gtkspell=false
49232
 
 else
49233
 
-  ENABLE_DOCS_TRUE='#'
49234
 
-  ENABLE_DOCS_FALSE=
49235
 
+       GTKSPELL_CFLAGS=$pkg_cv_GTKSPELL_CFLAGS
49236
 
+       GTKSPELL_LIBS=$pkg_cv_GTKSPELL_LIBS
49237
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
49238
 
+$as_echo "yes" >&6; }
49239
 
+       build_gtkspell=true
49240
 
+fi
49241
 
+fi
49242
 
+ if $build_gtkspell; then
49243
 
+  BUILD_GTKSPELL_TRUE=
49244
 
+  BUILD_GTKSPELL_FALSE='#'
49245
 
+else
49246
 
+  BUILD_GTKSPELL_TRUE='#'
49247
 
+  BUILD_GTKSPELL_FALSE=
49248
 
 fi
49249
 
 
49250
 
+if test -n "$export_dynamic"; then
49251
 
+  GTKSPELL_LIBS=`echo $GTKSPELL_LIBS | sed -e "s/$export_dynamic//"`
49252
 
+fi
49253
 
 
49254
 
-PYGOBJECT_INCLUDEDIR=`$PKG_CONFIG --variable=pygtkincludedir pygobject-2.0`
49255
 
+# Check whether --enable-gdl was given.
49256
 
+if test "${enable_gdl+set}" = set; then :
49257
 
+  enableval=$enable_gdl; if test "$enable_gdl" = "yes"; then
49258
 
+                       build_gdl=true
49259
 
+                         else
49260
 
+                               build_gdl=false
49261
 
+                        fi
49262
 
+fi
49263
 
 
49264
 
 
49265
 
-PYGOBJECT_DATADIR=`$PKG_CONFIG --variable=datadir pygobject-2.0`
49266
 
+if $build_gdl; then
49267
 
+  have_gdl07=false
49268
 
 
49269
 
+pkg_failed=no
49270
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDL" >&5
49271
 
+$as_echo_n "checking for GDL... " >&6; }
49272
 
 
49273
 
-PYGOBJECT_FIXXREF="$PYTHON `$PKG_CONFIG --variable=fixxref pygobject-2.0`"
49274
 
+if test -n "$PKG_CONFIG"; then
49275
 
+    if test -n "$GDL_CFLAGS"; then
49276
 
+        pkg_cv_GDL_CFLAGS="$GDL_CFLAGS"
49277
 
+    else
49278
 
+        if test -n "$PKG_CONFIG" && \
49279
 
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdl-1.0 >= 0.7.1 gdl-gnome-1.0 >= 0.7.1 pygtk-2.0 >= 2.4.0\""; } >&5
49280
 
+  ($PKG_CONFIG --exists --print-errors "gdl-1.0 >= 0.7.1 gdl-gnome-1.0 >= 0.7.1 pygtk-2.0 >= 2.4.0") 2>&5
49281
 
+  ac_status=$?
49282
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
49283
 
+  test $ac_status = 0; }; then
49284
 
+  pkg_cv_GDL_CFLAGS=`$PKG_CONFIG --cflags "gdl-1.0 >= 0.7.1 gdl-gnome-1.0 >= 0.7.1 pygtk-2.0 >= 2.4.0" 2>/dev/null`
49285
 
+else
49286
 
+  pkg_failed=yes
49287
 
+fi
49288
 
+    fi
49289
 
+else
49290
 
+       pkg_failed=untried
49291
 
+fi
49292
 
+if test -n "$PKG_CONFIG"; then
49293
 
+    if test -n "$GDL_LIBS"; then
49294
 
+        pkg_cv_GDL_LIBS="$GDL_LIBS"
49295
 
+    else
49296
 
+        if test -n "$PKG_CONFIG" && \
49297
 
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdl-1.0 >= 0.7.1 gdl-gnome-1.0 >= 0.7.1 pygtk-2.0 >= 2.4.0\""; } >&5
49298
 
+  ($PKG_CONFIG --exists --print-errors "gdl-1.0 >= 0.7.1 gdl-gnome-1.0 >= 0.7.1 pygtk-2.0 >= 2.4.0") 2>&5
49299
 
+  ac_status=$?
49300
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
49301
 
+  test $ac_status = 0; }; then
49302
 
+  pkg_cv_GDL_LIBS=`$PKG_CONFIG --libs "gdl-1.0 >= 0.7.1 gdl-gnome-1.0 >= 0.7.1 pygtk-2.0 >= 2.4.0" 2>/dev/null`
49303
 
+else
49304
 
+  pkg_failed=yes
49305
 
+fi
49306
 
+    fi
49307
 
+else
49308
 
+       pkg_failed=untried
49309
 
+fi
49310
 
 
49311
 
 
49312
 
-PYGOBJECT_PYGDOCS="`$PKG_CONFIG --variable=pygdocs pygobject-2.0`"
49313
 
 
49314
 
+if test $pkg_failed = yes; then
49315
 
 
49316
 
-# Check whether --enable-gtkhtml2 was given.
49317
 
-if test "${enable_gtkhtml2+set}" = set; then
49318
 
-  enableval=$enable_gtkhtml2; if test "$enable_gtkhtml2" = "yes"; then
49319
 
-                       build_gtkhtml2=true
49320
 
-                         else
49321
 
-                               build_gtkhtml2=false
49322
 
-                        fi
49323
 
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49324
 
+        _pkg_short_errors_supported=yes
49325
 
+else
49326
 
+        _pkg_short_errors_supported=no
49327
 
 fi
49328
 
+        if test $_pkg_short_errors_supported = yes; then
49329
 
+               GDL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gdl-1.0 >= 0.7.1 gdl-gnome-1.0 >= 0.7.1 pygtk-2.0 >= 2.4.0"`
49330
 
+        else
49331
 
+               GDL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gdl-1.0 >= 0.7.1 gdl-gnome-1.0 >= 0.7.1 pygtk-2.0 >= 2.4.0"`
49332
 
+        fi
49333
 
+       # Put the nasty error message in config.log where it belongs
49334
 
+       echo "$GDL_PKG_ERRORS" >&5
49335
 
 
49336
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
49337
 
+$as_echo "no" >&6; }
49338
 
+                build_gdl=false
49339
 
+elif test $pkg_failed = untried; then
49340
 
+       build_gdl=false
49341
 
+else
49342
 
+       GDL_CFLAGS=$pkg_cv_GDL_CFLAGS
49343
 
+       GDL_LIBS=$pkg_cv_GDL_LIBS
49344
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
49345
 
+$as_echo "yes" >&6; }
49346
 
+                           build_gdl=true; have_gdl07=true
49347
 
+fi
49348
 
 
49349
 
-if $build_gtkhtml2; then
49350
 
+    if ! $build_gdl; then
49351
 
 
49352
 
 pkg_failed=no
49353
 
-{ $as_echo "$as_me:$LINENO: checking for GTKHTML2" >&5
49354
 
-$as_echo_n "checking for GTKHTML2... " >&6; }
49355
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDL" >&5
49356
 
+$as_echo_n "checking for GDL... " >&6; }
49357
 
 
49358
 
-if test -n "$GTKHTML2_CFLAGS"; then
49359
 
-    pkg_cv_GTKHTML2_CFLAGS="$GTKHTML2_CFLAGS"
49360
 
- elif test -n "$PKG_CONFIG"; then
49361
 
-    if test -n "$PKG_CONFIG" && \
49362
 
-    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-2.0 >= 2.3.1\"") >&5
49363
 
-  ($PKG_CONFIG --exists --print-errors "libgtkhtml-2.0 >= 2.3.1") 2>&5
49364
 
+if test -n "$PKG_CONFIG"; then
49365
 
+    if test -n "$GDL_CFLAGS"; then
49366
 
+        pkg_cv_GDL_CFLAGS="$GDL_CFLAGS"
49367
 
+    else
49368
 
+        if test -n "$PKG_CONFIG" && \
49369
 
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdl-1.0 >= 0.6.1 pygtk-2.0 >= 2.4.0\""; } >&5
49370
 
+  ($PKG_CONFIG --exists --print-errors "gdl-1.0 >= 0.6.1 pygtk-2.0 >= 2.4.0") 2>&5
49371
 
   ac_status=$?
49372
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
49373
 
-  (exit $ac_status); }; then
49374
 
-  pkg_cv_GTKHTML2_CFLAGS=`$PKG_CONFIG --cflags "libgtkhtml-2.0 >= 2.3.1" 2>/dev/null`
49375
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
49376
 
+  test $ac_status = 0; }; then
49377
 
+  pkg_cv_GDL_CFLAGS=`$PKG_CONFIG --cflags "gdl-1.0 >= 0.6.1 pygtk-2.0 >= 2.4.0" 2>/dev/null`
49378
 
 else
49379
 
   pkg_failed=yes
49380
 
 fi
49381
 
- else
49382
 
-    pkg_failed=untried
49383
 
+    fi
49384
 
+else
49385
 
+       pkg_failed=untried
49386
 
 fi
49387
 
-if test -n "$GTKHTML2_LIBS"; then
49388
 
-    pkg_cv_GTKHTML2_LIBS="$GTKHTML2_LIBS"
49389
 
- elif test -n "$PKG_CONFIG"; then
49390
 
-    if test -n "$PKG_CONFIG" && \
49391
 
-    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-2.0 >= 2.3.1\"") >&5
49392
 
-  ($PKG_CONFIG --exists --print-errors "libgtkhtml-2.0 >= 2.3.1") 2>&5
49393
 
+if test -n "$PKG_CONFIG"; then
49394
 
+    if test -n "$GDL_LIBS"; then
49395
 
+        pkg_cv_GDL_LIBS="$GDL_LIBS"
49396
 
+    else
49397
 
+        if test -n "$PKG_CONFIG" && \
49398
 
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdl-1.0 >= 0.6.1 pygtk-2.0 >= 2.4.0\""; } >&5
49399
 
+  ($PKG_CONFIG --exists --print-errors "gdl-1.0 >= 0.6.1 pygtk-2.0 >= 2.4.0") 2>&5
49400
 
   ac_status=$?
49401
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
49402
 
-  (exit $ac_status); }; then
49403
 
-  pkg_cv_GTKHTML2_LIBS=`$PKG_CONFIG --libs "libgtkhtml-2.0 >= 2.3.1" 2>/dev/null`
49404
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
49405
 
+  test $ac_status = 0; }; then
49406
 
+  pkg_cv_GDL_LIBS=`$PKG_CONFIG --libs "gdl-1.0 >= 0.6.1 pygtk-2.0 >= 2.4.0" 2>/dev/null`
49407
 
 else
49408
 
   pkg_failed=yes
49409
 
 fi
49410
 
- else
49411
 
-    pkg_failed=untried
49412
 
+    fi
49413
 
+else
49414
 
+       pkg_failed=untried
49415
 
 fi
49416
 
 
49417
 
 
49418
 
@@ -21967,88 +17982,103 @@ else
49419
 
         _pkg_short_errors_supported=no
49420
 
 fi
49421
 
         if test $_pkg_short_errors_supported = yes; then
49422
 
-               GTKHTML2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libgtkhtml-2.0 >= 2.3.1" 2>&1`
49423
 
+               GDL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gdl-1.0 >= 0.6.1 pygtk-2.0 >= 2.4.0"`
49424
 
         else
49425
 
-               GTKHTML2_PKG_ERRORS=`$PKG_CONFIG --print-errors "libgtkhtml-2.0 >= 2.3.1" 2>&1`
49426
 
+               GDL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gdl-1.0 >= 0.6.1 pygtk-2.0 >= 2.4.0"`
49427
 
         fi
49428
 
        # Put the nasty error message in config.log where it belongs
49429
 
-       echo "$GTKHTML2_PKG_ERRORS" >&5
49430
 
+       echo "$GDL_PKG_ERRORS" >&5
49431
 
 
49432
 
-       { $as_echo "$as_me:$LINENO: result: no" >&5
49433
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
49434
 
 $as_echo "no" >&6; }
49435
 
-                build_gtkhtml2=false
49436
 
+                build_gdl=false
49437
 
 elif test $pkg_failed = untried; then
49438
 
-       build_gtkhtml2=false
49439
 
+       build_gdl=false
49440
 
 else
49441
 
-       GTKHTML2_CFLAGS=$pkg_cv_GTKHTML2_CFLAGS
49442
 
-       GTKHTML2_LIBS=$pkg_cv_GTKHTML2_LIBS
49443
 
-        { $as_echo "$as_me:$LINENO: result: yes" >&5
49444
 
+       GDL_CFLAGS=$pkg_cv_GDL_CFLAGS
49445
 
+       GDL_LIBS=$pkg_cv_GDL_LIBS
49446
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
49447
 
 $as_echo "yes" >&6; }
49448
 
-       build_gtkhtml2=true
49449
 
+                             build_gdl=true
49450
 
 fi
49451
 
+  fi
49452
 
 fi
49453
 
 
49454
 
-
49455
 
- if $build_gtkhtml2; then
49456
 
-  BUILD_GTKHTML2_TRUE=
49457
 
-  BUILD_GTKHTML2_FALSE='#'
49458
 
+ if $build_gdl; then
49459
 
+  BUILD_GDL_TRUE=
49460
 
+  BUILD_GDL_FALSE='#'
49461
 
 else
49462
 
-  BUILD_GTKHTML2_TRUE='#'
49463
 
-  BUILD_GTKHTML2_FALSE=
49464
 
+  BUILD_GDL_TRUE='#'
49465
 
+  BUILD_GDL_FALSE=
49466
 
 fi
49467
 
 
49468
 
 if test -n "$export_dynamic"; then
49469
 
-  GTKHTML2_LIBS=`echo $GTKHTML2_LIBS | sed -e "s/$export_dynamic//"`
49470
 
+  GDL_LIBS=`echo $GDL_LIBS | sed -e "s/$export_dynamic//"`
49471
 
+fi
49472
 
+
49473
 
+if $have_gdl07; then
49474
 
+
49475
 
+$as_echo "#define HAVE_GDL_0_7 /**/" >>confdefs.h
49476
 
+
49477
 
+fi
49478
 
+
49479
 
+
49480
 
+if $have_gdl07; then
49481
 
+  PYGTK_CODEGEN_DEFINES="-DHAVE_GDL_0_7 $PYGTK_CODEGEN_DEFINES";
49482
 
 fi
49483
 
 
49484
 
 
49485
 
-# Check whether --enable-eggtray was given.
49486
 
-if test "${enable_eggtray+set}" = set; then
49487
 
-  enableval=$enable_eggtray; if test "$enable_eggtray" = "yes"; then
49488
 
-                       build_eggtray=true
49489
 
+# Check whether --enable-gda was given.
49490
 
+if test "${enable_gda+set}" = set; then :
49491
 
+  enableval=$enable_gda; if test "$enable_gda" = "yes"; then
49492
 
+                       build_gda=true
49493
 
                          else
49494
 
-                               build_eggtray=false
49495
 
+                               build_gda=false
49496
 
                         fi
49497
 
 fi
49498
 
 
49499
 
 
49500
 
-if $build_eggtray; then
49501
 
+if $build_gda; then
49502
 
 
49503
 
 pkg_failed=no
49504
 
-{ $as_echo "$as_me:$LINENO: checking for EGGTRAY" >&5
49505
 
-$as_echo_n "checking for EGGTRAY... " >&6; }
49506
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDA" >&5
49507
 
+$as_echo_n "checking for GDA... " >&6; }
49508
 
 
49509
 
-if test -n "$EGGTRAY_CFLAGS"; then
49510
 
-    pkg_cv_EGGTRAY_CFLAGS="$EGGTRAY_CFLAGS"
49511
 
- elif test -n "$PKG_CONFIG"; then
49512
 
-    if test -n "$PKG_CONFIG" && \
49513
 
-    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.2.0\"") >&5
49514
 
-  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.2.0") 2>&5
49515
 
+if test -n "$PKG_CONFIG"; then
49516
 
+    if test -n "$GDA_CFLAGS"; then
49517
 
+        pkg_cv_GDA_CFLAGS="$GDA_CFLAGS"
49518
 
+    else
49519
 
+        if test -n "$PKG_CONFIG" && \
49520
 
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgda-4.0 >= 3.99.11 pygtk-2.0 >= 2.4.0\""; } >&5
49521
 
+  ($PKG_CONFIG --exists --print-errors "libgda-4.0 >= 3.99.11 pygtk-2.0 >= 2.4.0") 2>&5
49522
 
   ac_status=$?
49523
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
49524
 
-  (exit $ac_status); }; then
49525
 
-  pkg_cv_EGGTRAY_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.2.0" 2>/dev/null`
49526
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
49527
 
+  test $ac_status = 0; }; then
49528
 
+  pkg_cv_GDA_CFLAGS=`$PKG_CONFIG --cflags "libgda-4.0 >= 3.99.11 pygtk-2.0 >= 2.4.0" 2>/dev/null`
49529
 
 else
49530
 
   pkg_failed=yes
49531
 
 fi
49532
 
- else
49533
 
-    pkg_failed=untried
49534
 
+    fi
49535
 
+else
49536
 
+       pkg_failed=untried
49537
 
 fi
49538
 
-if test -n "$EGGTRAY_LIBS"; then
49539
 
-    pkg_cv_EGGTRAY_LIBS="$EGGTRAY_LIBS"
49540
 
- elif test -n "$PKG_CONFIG"; then
49541
 
-    if test -n "$PKG_CONFIG" && \
49542
 
-    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.2.0\"") >&5
49543
 
-  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.2.0") 2>&5
49544
 
+if test -n "$PKG_CONFIG"; then
49545
 
+    if test -n "$GDA_LIBS"; then
49546
 
+        pkg_cv_GDA_LIBS="$GDA_LIBS"
49547
 
+    else
49548
 
+        if test -n "$PKG_CONFIG" && \
49549
 
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgda-4.0 >= 3.99.11 pygtk-2.0 >= 2.4.0\""; } >&5
49550
 
+  ($PKG_CONFIG --exists --print-errors "libgda-4.0 >= 3.99.11 pygtk-2.0 >= 2.4.0") 2>&5
49551
 
   ac_status=$?
49552
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
49553
 
-  (exit $ac_status); }; then
49554
 
-  pkg_cv_EGGTRAY_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.2.0" 2>/dev/null`
49555
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
49556
 
+  test $ac_status = 0; }; then
49557
 
+  pkg_cv_GDA_LIBS=`$PKG_CONFIG --libs "libgda-4.0 >= 3.99.11 pygtk-2.0 >= 2.4.0" 2>/dev/null`
49558
 
 else
49559
 
   pkg_failed=yes
49560
 
 fi
49561
 
- else
49562
 
-    pkg_failed=untried
49563
 
+    fi
49564
 
+else
49565
 
+       pkg_failed=untried
49566
 
 fi
49567
 
 
49568
 
 
49569
 
@@ -22061,97 +18091,101 @@ else
49570
 
         _pkg_short_errors_supported=no
49571
 
 fi
49572
 
         if test $_pkg_short_errors_supported = yes; then
49573
 
-               EGGTRAY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-2.0 >= 2.2.0" 2>&1`
49574
 
+               GDA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgda-4.0 >= 3.99.11 pygtk-2.0 >= 2.4.0"`
49575
 
         else
49576
 
-               EGGTRAY_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-2.0 >= 2.2.0" 2>&1`
49577
 
+               GDA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgda-4.0 >= 3.99.11 pygtk-2.0 >= 2.4.0"`
49578
 
         fi
49579
 
        # Put the nasty error message in config.log where it belongs
49580
 
-       echo "$EGGTRAY_PKG_ERRORS" >&5
49581
 
+       echo "$GDA_PKG_ERRORS" >&5
49582
 
 
49583
 
-       { $as_echo "$as_me:$LINENO: result: no" >&5
49584
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
49585
 
 $as_echo "no" >&6; }
49586
 
-                build_eggtray=false
49587
 
+                build_gda=false
49588
 
 elif test $pkg_failed = untried; then
49589
 
-       build_eggtray=false
49590
 
+       build_gda=false
49591
 
 else
49592
 
-       EGGTRAY_CFLAGS=$pkg_cv_EGGTRAY_CFLAGS
49593
 
-       EGGTRAY_LIBS=$pkg_cv_EGGTRAY_LIBS
49594
 
-        { $as_echo "$as_me:$LINENO: result: yes" >&5
49595
 
+       GDA_CFLAGS=$pkg_cv_GDA_CFLAGS
49596
 
+       GDA_LIBS=$pkg_cv_GDA_LIBS
49597
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
49598
 
 $as_echo "yes" >&6; }
49599
 
-       build_eggtray=true
49600
 
+       build_gda=true
49601
 
 fi
49602
 
 fi
49603
 
- if $build_eggtray; then
49604
 
-  BUILD_EGGTRAY_TRUE=
49605
 
-  BUILD_EGGTRAY_FALSE='#'
49606
 
+ if $build_gda; then
49607
 
+  BUILD_GDA_TRUE=
49608
 
+  BUILD_GDA_FALSE='#'
49609
 
 else
49610
 
-  BUILD_EGGTRAY_TRUE='#'
49611
 
-  BUILD_EGGTRAY_FALSE=
49612
 
+  BUILD_GDA_TRUE='#'
49613
 
+  BUILD_GDA_FALSE=
49614
 
 fi
49615
 
 
49616
 
 if test -n "$export_dynamic"; then
49617
 
-  EGGTRAY_LIBS=`echo $EGGTRAY_LIBS | sed -e "s/$export_dynamic//"`
49618
 
+  GDA_LIBS=`echo $GDA_LIBS | sed -e "s/$export_dynamic//"`
49619
 
 fi
49620
 
 
49621
 
-# Check whether --enable-eggrecent was given.
49622
 
-if test "${enable_eggrecent+set}" = set; then
49623
 
-  enableval=$enable_eggrecent; if test "$enable_eggrecent" = "yes"; then
49624
 
-                       build_eggrecent=true
49625
 
+# Check whether --enable-gksu2 was given.
49626
 
+if test "${enable_gksu2+set}" = set; then :
49627
 
+  enableval=$enable_gksu2; if test "$enable_gksu2" = "yes"; then
49628
 
+                       build_gksu2=true
49629
 
                          else
49630
 
-                               build_eggrecent=false
49631
 
+                               build_gksu2=false
49632
 
                         fi
49633
 
 fi
49634
 
 
49635
 
 
49636
 
-if $build_eggrecent; then
49637
 
+if $build_gksu2; then
49638
 
 
49639
 
 pkg_failed=no
49640
 
-{ $as_echo "$as_me:$LINENO: checking for EGG_RECENT" >&5
49641
 
-$as_echo_n "checking for EGG_RECENT... " >&6; }
49642
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GKSU2" >&5
49643
 
+$as_echo_n "checking for GKSU2... " >&6; }
49644
 
 
49645
 
-if test -n "$EGG_RECENT_CFLAGS"; then
49646
 
-    pkg_cv_EGG_RECENT_CFLAGS="$EGG_RECENT_CFLAGS"
49647
 
- elif test -n "$PKG_CONFIG"; then
49648
 
-    if test -n "$PKG_CONFIG" && \
49649
 
-    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.0.0 gnome-vfs-2.0
49650
 
-                                 libbonoboui-2.0 libgnomeui-2.0
49651
 
-                                 gnome-python-2.0 >= 2.10.0\"") >&5
49652
 
-  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.0.0 gnome-vfs-2.0
49653
 
-                                 libbonoboui-2.0 libgnomeui-2.0
49654
 
-                                 gnome-python-2.0 >= 2.10.0") 2>&5
49655
 
+if test -n "$PKG_CONFIG"; then
49656
 
+    if test -n "$GKSU2_CFLAGS"; then
49657
 
+        pkg_cv_GKSU2_CFLAGS="$GKSU2_CFLAGS"
49658
 
+    else
49659
 
+        if test -n "$PKG_CONFIG" && \
49660
 
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgksu2 >= 2.0.4
49661
 
+                           pygtk-2.0 >= 2.4.0
49662
 
+                           gtk+-2.0  >= 2.4.0\""; } >&5
49663
 
+  ($PKG_CONFIG --exists --print-errors "libgksu2 >= 2.0.4
49664
 
+                           pygtk-2.0 >= 2.4.0
49665
 
+                           gtk+-2.0  >= 2.4.0") 2>&5
49666
 
   ac_status=$?
49667
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
49668
 
-  (exit $ac_status); }; then
49669
 
-  pkg_cv_EGG_RECENT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.0.0 gnome-vfs-2.0
49670
 
-                                 libbonoboui-2.0 libgnomeui-2.0
49671
 
-                                 gnome-python-2.0 >= 2.10.0" 2>/dev/null`
49672
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
49673
 
+  test $ac_status = 0; }; then
49674
 
+  pkg_cv_GKSU2_CFLAGS=`$PKG_CONFIG --cflags "libgksu2 >= 2.0.4
49675
 
+                           pygtk-2.0 >= 2.4.0
49676
 
+                           gtk+-2.0  >= 2.4.0" 2>/dev/null`
49677
 
 else
49678
 
   pkg_failed=yes
49679
 
 fi
49680
 
- else
49681
 
-    pkg_failed=untried
49682
 
+    fi
49683
 
+else
49684
 
+       pkg_failed=untried
49685
 
 fi
49686
 
-if test -n "$EGG_RECENT_LIBS"; then
49687
 
-    pkg_cv_EGG_RECENT_LIBS="$EGG_RECENT_LIBS"
49688
 
- elif test -n "$PKG_CONFIG"; then
49689
 
-    if test -n "$PKG_CONFIG" && \
49690
 
-    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.0.0 gnome-vfs-2.0
49691
 
-                                 libbonoboui-2.0 libgnomeui-2.0
49692
 
-                                 gnome-python-2.0 >= 2.10.0\"") >&5
49693
 
-  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.0.0 gnome-vfs-2.0
49694
 
-                                 libbonoboui-2.0 libgnomeui-2.0
49695
 
-                                 gnome-python-2.0 >= 2.10.0") 2>&5
49696
 
+if test -n "$PKG_CONFIG"; then
49697
 
+    if test -n "$GKSU2_LIBS"; then
49698
 
+        pkg_cv_GKSU2_LIBS="$GKSU2_LIBS"
49699
 
+    else
49700
 
+        if test -n "$PKG_CONFIG" && \
49701
 
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgksu2 >= 2.0.4
49702
 
+                           pygtk-2.0 >= 2.4.0
49703
 
+                           gtk+-2.0  >= 2.4.0\""; } >&5
49704
 
+  ($PKG_CONFIG --exists --print-errors "libgksu2 >= 2.0.4
49705
 
+                           pygtk-2.0 >= 2.4.0
49706
 
+                           gtk+-2.0  >= 2.4.0") 2>&5
49707
 
   ac_status=$?
49708
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
49709
 
-  (exit $ac_status); }; then
49710
 
-  pkg_cv_EGG_RECENT_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.0.0 gnome-vfs-2.0
49711
 
-                                 libbonoboui-2.0 libgnomeui-2.0
49712
 
-                                 gnome-python-2.0 >= 2.10.0" 2>/dev/null`
49713
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
49714
 
+  test $ac_status = 0; }; then
49715
 
+  pkg_cv_GKSU2_LIBS=`$PKG_CONFIG --libs "libgksu2 >= 2.0.4
49716
 
+                           pygtk-2.0 >= 2.4.0
49717
 
+                           gtk+-2.0  >= 2.4.0" 2>/dev/null`
49718
 
 else
49719
 
   pkg_failed=yes
49720
 
 fi
49721
 
- else
49722
 
-    pkg_failed=untried
49723
 
+    fi
49724
 
+else
49725
 
+       pkg_failed=untried
49726
 
 fi
49727
 
 
49728
 
 
49729
 
@@ -22164,115 +18198,99 @@ else
49730
 
         _pkg_short_errors_supported=no
49731
 
 fi
49732
 
         if test $_pkg_short_errors_supported = yes; then
49733
 
-               EGG_RECENT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-2.0 >= 2.0.0 gnome-vfs-2.0
49734
 
-                                 libbonoboui-2.0 libgnomeui-2.0
49735
 
-                                 gnome-python-2.0 >= 2.10.0" 2>&1`
49736
 
+               GKSU2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgksu2 >= 2.0.4
49737
 
+                           pygtk-2.0 >= 2.4.0
49738
 
+                           gtk+-2.0  >= 2.4.0"`
49739
 
         else
49740
 
-               EGG_RECENT_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-2.0 >= 2.0.0 gnome-vfs-2.0
49741
 
-                                 libbonoboui-2.0 libgnomeui-2.0
49742
 
-                                 gnome-python-2.0 >= 2.10.0" 2>&1`
49743
 
+               GKSU2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgksu2 >= 2.0.4
49744
 
+                           pygtk-2.0 >= 2.4.0
49745
 
+                           gtk+-2.0  >= 2.4.0"`
49746
 
         fi
49747
 
        # Put the nasty error message in config.log where it belongs
49748
 
-       echo "$EGG_RECENT_PKG_ERRORS" >&5
49749
 
+       echo "$GKSU2_PKG_ERRORS" >&5
49750
 
 
49751
 
-       { $as_echo "$as_me:$LINENO: result: no" >&5
49752
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
49753
 
 $as_echo "no" >&6; }
49754
 
-                build_eggrecent=false
49755
 
+                build_gksu2=false
49756
 
 elif test $pkg_failed = untried; then
49757
 
-       build_eggrecent=false
49758
 
+       build_gksu2=false
49759
 
 else
49760
 
-       EGG_RECENT_CFLAGS=$pkg_cv_EGG_RECENT_CFLAGS
49761
 
-       EGG_RECENT_LIBS=$pkg_cv_EGG_RECENT_LIBS
49762
 
-        { $as_echo "$as_me:$LINENO: result: yes" >&5
49763
 
+       GKSU2_CFLAGS=$pkg_cv_GKSU2_CFLAGS
49764
 
+       GKSU2_LIBS=$pkg_cv_GKSU2_LIBS
49765
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
49766
 
 $as_echo "yes" >&6; }
49767
 
-       build_eggrecent=true
49768
 
+       build_gksu2=true
49769
 
 fi
49770
 
 fi
49771
 
- if $build_eggrecent; then
49772
 
-  BUILD_EGGRECENT_TRUE=
49773
 
-  BUILD_EGGRECENT_FALSE='#'
49774
 
+ if $build_gksu2; then
49775
 
+  BUILD_GKSU2_TRUE=
49776
 
+  BUILD_GKSU2_FALSE='#'
49777
 
 else
49778
 
-  BUILD_EGGRECENT_TRUE='#'
49779
 
-  BUILD_EGGRECENT_FALSE=
49780
 
+  BUILD_GKSU2_TRUE='#'
49781
 
+  BUILD_GKSU2_FALSE=
49782
 
 fi
49783
 
 
49784
 
 if test -n "$export_dynamic"; then
49785
 
-  EGGRECENT_LIBS=`echo $EGGRECENT_LIBS | sed -e "s/$export_dynamic//"`
49786
 
-fi
49787
 
-
49788
 
- if $build_eggrecent || $build_eggtray; then
49789
 
-  BUILD_EGG_TRUE=
49790
 
-  BUILD_EGG_FALSE='#'
49791
 
-else
49792
 
-  BUILD_EGG_TRUE='#'
49793
 
-  BUILD_EGG_FALSE=
49794
 
+  GKSU2_LIBS=`echo $GKSU2_LIBS | sed -e "s/$export_dynamic//"`
49795
 
 fi
49796
 
 
49797
 
-
49798
 
-# Check whether --enable-gtkmozembed was given.
49799
 
-if test "${enable_gtkmozembed+set}" = set; then
49800
 
-  enableval=$enable_gtkmozembed; if test "$enable_gtkmozembed" = "yes"; then
49801
 
-                       build_gtkmozembed=true
49802
 
+# Check whether --enable-gksu was given.
49803
 
+if test "${enable_gksu+set}" = set; then :
49804
 
+  enableval=$enable_gksu; if test "$enable_gksu" = "yes"; then
49805
 
+                       build_gksu=true
49806
 
                          else
49807
 
-                               build_gtkmozembed=false
49808
 
+                               build_gksu=false
49809
 
                         fi
49810
 
 fi
49811
 
 
49812
 
 
49813
 
-
49814
 
-# Check whether --with-gtkmozembed was given.
49815
 
-if test "${with_gtkmozembed+set}" = set; then
49816
 
-  withval=$with_gtkmozembed; mozpackage=$withval
49817
 
-else
49818
 
-  mozpackage=any
49819
 
-fi
49820
 
-
49821
 
-
49822
 
-if "$build_gtkmozembed"; then
49823
 
-if test $mozpackage = any ; then
49824
 
-
49825
 
+if $build_gksu; then
49826
 
 
49827
 
 pkg_failed=no
49828
 
-{ $as_echo "$as_me:$LINENO: checking for GTKMOZEMBED" >&5
49829
 
-$as_echo_n "checking for GTKMOZEMBED... " >&6; }
49830
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GKSU" >&5
49831
 
+$as_echo_n "checking for GKSU... " >&6; }
49832
 
 
49833
 
-if test -n "$GTKMOZEMBED_CFLAGS"; then
49834
 
-    pkg_cv_GTKMOZEMBED_CFLAGS="$GTKMOZEMBED_CFLAGS"
49835
 
- elif test -n "$PKG_CONFIG"; then
49836
 
-    if test -n "$PKG_CONFIG" && \
49837
 
-    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xulrunner-gtkmozembed >= 1.8
49838
 
-                                gtk+-2.0              >= 2.4.0\"") >&5
49839
 
-  ($PKG_CONFIG --exists --print-errors "xulrunner-gtkmozembed >= 1.8
49840
 
-                                gtk+-2.0              >= 2.4.0") 2>&5
49841
 
+if test -n "$PKG_CONFIG"; then
49842
 
+    if test -n "$GKSU_CFLAGS"; then
49843
 
+        pkg_cv_GKSU_CFLAGS="$GKSU_CFLAGS"
49844
 
+    else
49845
 
+        if test -n "$PKG_CONFIG" && \
49846
 
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgksu1.2 >= 1.2.5
49847
 
+                           pygtk-2.0 >= 2.4.0\""; } >&5
49848
 
+  ($PKG_CONFIG --exists --print-errors "libgksu1.2 >= 1.2.5
49849
 
+                           pygtk-2.0 >= 2.4.0") 2>&5
49850
 
   ac_status=$?
49851
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
49852
 
-  (exit $ac_status); }; then
49853
 
-  pkg_cv_GTKMOZEMBED_CFLAGS=`$PKG_CONFIG --cflags "xulrunner-gtkmozembed >= 1.8
49854
 
-                                gtk+-2.0              >= 2.4.0" 2>/dev/null`
49855
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
49856
 
+  test $ac_status = 0; }; then
49857
 
+  pkg_cv_GKSU_CFLAGS=`$PKG_CONFIG --cflags "libgksu1.2 >= 1.2.5
49858
 
+                           pygtk-2.0 >= 2.4.0" 2>/dev/null`
49859
 
 else
49860
 
   pkg_failed=yes
49861
 
 fi
49862
 
- else
49863
 
-    pkg_failed=untried
49864
 
+    fi
49865
 
+else
49866
 
+       pkg_failed=untried
49867
 
 fi
49868
 
-if test -n "$GTKMOZEMBED_LIBS"; then
49869
 
-    pkg_cv_GTKMOZEMBED_LIBS="$GTKMOZEMBED_LIBS"
49870
 
- elif test -n "$PKG_CONFIG"; then
49871
 
-    if test -n "$PKG_CONFIG" && \
49872
 
-    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xulrunner-gtkmozembed >= 1.8
49873
 
-                                gtk+-2.0              >= 2.4.0\"") >&5
49874
 
-  ($PKG_CONFIG --exists --print-errors "xulrunner-gtkmozembed >= 1.8
49875
 
-                                gtk+-2.0              >= 2.4.0") 2>&5
49876
 
+if test -n "$PKG_CONFIG"; then
49877
 
+    if test -n "$GKSU_LIBS"; then
49878
 
+        pkg_cv_GKSU_LIBS="$GKSU_LIBS"
49879
 
+    else
49880
 
+        if test -n "$PKG_CONFIG" && \
49881
 
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgksu1.2 >= 1.2.5
49882
 
+                           pygtk-2.0 >= 2.4.0\""; } >&5
49883
 
+  ($PKG_CONFIG --exists --print-errors "libgksu1.2 >= 1.2.5
49884
 
+                           pygtk-2.0 >= 2.4.0") 2>&5
49885
 
   ac_status=$?
49886
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
49887
 
-  (exit $ac_status); }; then
49888
 
-  pkg_cv_GTKMOZEMBED_LIBS=`$PKG_CONFIG --libs "xulrunner-gtkmozembed >= 1.8
49889
 
-                                gtk+-2.0              >= 2.4.0" 2>/dev/null`
49890
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
49891
 
+  test $ac_status = 0; }; then
49892
 
+  pkg_cv_GKSU_LIBS=`$PKG_CONFIG --libs "libgksu1.2 >= 1.2.5
49893
 
+                           pygtk-2.0 >= 2.4.0" 2>/dev/null`
49894
 
 else
49895
 
   pkg_failed=yes
49896
 
 fi
49897
 
- else
49898
 
-    pkg_failed=untried
49899
 
+    fi
49900
 
+else
49901
 
+       pkg_failed=untried
49902
 
 fi
49903
 
 
49904
 
 
49905
 
@@ -22285,126 +18303,97 @@ else
49906
 
         _pkg_short_errors_supported=no
49907
 
 fi
49908
 
         if test $_pkg_short_errors_supported = yes; then
49909
 
-               GTKMOZEMBED_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xulrunner-gtkmozembed >= 1.8
49910
 
-                                gtk+-2.0              >= 2.4.0" 2>&1`
49911
 
+               GKSU_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgksu1.2 >= 1.2.5
49912
 
+                           pygtk-2.0 >= 2.4.0"`
49913
 
         else
49914
 
-               GTKMOZEMBED_PKG_ERRORS=`$PKG_CONFIG --print-errors "xulrunner-gtkmozembed >= 1.8
49915
 
-                                gtk+-2.0              >= 2.4.0" 2>&1`
49916
 
+               GKSU_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgksu1.2 >= 1.2.5
49917
 
+                           pygtk-2.0 >= 2.4.0"`
49918
 
         fi
49919
 
        # Put the nasty error message in config.log where it belongs
49920
 
-       echo "$GTKMOZEMBED_PKG_ERRORS" >&5
49921
 
+       echo "$GKSU_PKG_ERRORS" >&5
49922
 
 
49923
 
-       { $as_echo "$as_me:$LINENO: result: no" >&5
49924
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
49925
 
 $as_echo "no" >&6; }
49926
 
-
49927
 
-
49928
 
-pkg_failed=no
49929
 
-{ $as_echo "$as_me:$LINENO: checking for GTKMOZEMBED" >&5
49930
 
-$as_echo_n "checking for GTKMOZEMBED... " >&6; }
49931
 
-
49932
 
-if test -n "$GTKMOZEMBED_CFLAGS"; then
49933
 
-    pkg_cv_GTKMOZEMBED_CFLAGS="$GTKMOZEMBED_CFLAGS"
49934
 
- elif test -n "$PKG_CONFIG"; then
49935
 
-    if test -n "$PKG_CONFIG" && \
49936
 
-    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"firefox-gtkmozembed >= 1.0
49937
 
-                                gtk+-2.0            >= 2.4.0\"") >&5
49938
 
-  ($PKG_CONFIG --exists --print-errors "firefox-gtkmozembed >= 1.0
49939
 
-                                gtk+-2.0            >= 2.4.0") 2>&5
49940
 
-  ac_status=$?
49941
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
49942
 
-  (exit $ac_status); }; then
49943
 
-  pkg_cv_GTKMOZEMBED_CFLAGS=`$PKG_CONFIG --cflags "firefox-gtkmozembed >= 1.0
49944
 
-                                gtk+-2.0            >= 2.4.0" 2>/dev/null`
49945
 
+                build_gksu=false
49946
 
+elif test $pkg_failed = untried; then
49947
 
+       build_gksu=false
49948
 
 else
49949
 
-  pkg_failed=yes
49950
 
+       GKSU_CFLAGS=$pkg_cv_GKSU_CFLAGS
49951
 
+       GKSU_LIBS=$pkg_cv_GKSU_LIBS
49952
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
49953
 
+$as_echo "yes" >&6; }
49954
 
+       build_gksu=true
49955
 
 fi
49956
 
- else
49957
 
-    pkg_failed=untried
49958
 
 fi
49959
 
-if test -n "$GTKMOZEMBED_LIBS"; then
49960
 
-    pkg_cv_GTKMOZEMBED_LIBS="$GTKMOZEMBED_LIBS"
49961
 
- elif test -n "$PKG_CONFIG"; then
49962
 
-    if test -n "$PKG_CONFIG" && \
49963
 
-    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"firefox-gtkmozembed >= 1.0
49964
 
-                                gtk+-2.0            >= 2.4.0\"") >&5
49965
 
-  ($PKG_CONFIG --exists --print-errors "firefox-gtkmozembed >= 1.0
49966
 
-                                gtk+-2.0            >= 2.4.0") 2>&5
49967
 
-  ac_status=$?
49968
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
49969
 
-  (exit $ac_status); }; then
49970
 
-  pkg_cv_GTKMOZEMBED_LIBS=`$PKG_CONFIG --libs "firefox-gtkmozembed >= 1.0
49971
 
-                                gtk+-2.0            >= 2.4.0" 2>/dev/null`
49972
 
+ if $build_gksu; then
49973
 
+  BUILD_GKSU_TRUE=
49974
 
+  BUILD_GKSU_FALSE='#'
49975
 
 else
49976
 
-  pkg_failed=yes
49977
 
-fi
49978
 
- else
49979
 
-    pkg_failed=untried
49980
 
+  BUILD_GKSU_TRUE='#'
49981
 
+  BUILD_GKSU_FALSE=
49982
 
 fi
49983
 
 
49984
 
+if test -n "$export_dynamic"; then
49985
 
+  GKSU_LIBS=`echo $GKSU_LIBS | sed -e "s/$export_dynamic//"`
49986
 
+fi
49987
 
 
49988
 
-
49989
 
-if test $pkg_failed = yes; then
49990
 
-
49991
 
-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49992
 
-        _pkg_short_errors_supported=yes
49993
 
-else
49994
 
-        _pkg_short_errors_supported=no
49995
 
+# Check whether --enable-gksuui was given.
49996
 
+if test "${enable_gksuui+set}" = set; then :
49997
 
+  enableval=$enable_gksuui; if test "$enable_gksuui" = "yes"; then
49998
 
+                       build_gksuui=true
49999
 
+                         else
50000
 
+                               build_gksuui=false
50001
 
+                        fi
50002
 
 fi
50003
 
-        if test $_pkg_short_errors_supported = yes; then
50004
 
-               GTKMOZEMBED_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "firefox-gtkmozembed >= 1.0
50005
 
-                                gtk+-2.0            >= 2.4.0" 2>&1`
50006
 
-        else
50007
 
-               GTKMOZEMBED_PKG_ERRORS=`$PKG_CONFIG --print-errors "firefox-gtkmozembed >= 1.0
50008
 
-                                gtk+-2.0            >= 2.4.0" 2>&1`
50009
 
-        fi
50010
 
-       # Put the nasty error message in config.log where it belongs
50011
 
-       echo "$GTKMOZEMBED_PKG_ERRORS" >&5
50012
 
 
50013
 
-       { $as_echo "$as_me:$LINENO: result: no" >&5
50014
 
-$as_echo "no" >&6; }
50015
 
 
50016
 
+if $build_gksuui; then
50017
 
 
50018
 
 pkg_failed=no
50019
 
-{ $as_echo "$as_me:$LINENO: checking for GTKMOZEMBED" >&5
50020
 
-$as_echo_n "checking for GTKMOZEMBED... " >&6; }
50021
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GKSUUI" >&5
50022
 
+$as_echo_n "checking for GKSUUI... " >&6; }
50023
 
 
50024
 
-if test -n "$GTKMOZEMBED_CFLAGS"; then
50025
 
-    pkg_cv_GTKMOZEMBED_CFLAGS="$GTKMOZEMBED_CFLAGS"
50026
 
- elif test -n "$PKG_CONFIG"; then
50027
 
-    if test -n "$PKG_CONFIG" && \
50028
 
-    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"mozilla-gtkmozembed >= 1.2b
50029
 
-                                gtk+-2.0            >= 2.4.0\"") >&5
50030
 
-  ($PKG_CONFIG --exists --print-errors "mozilla-gtkmozembed >= 1.2b
50031
 
-                                gtk+-2.0            >= 2.4.0") 2>&5
50032
 
+if test -n "$PKG_CONFIG"; then
50033
 
+    if test -n "$GKSUUI_CFLAGS"; then
50034
 
+        pkg_cv_GKSUUI_CFLAGS="$GKSUUI_CFLAGS"
50035
 
+    else
50036
 
+        if test -n "$PKG_CONFIG" && \
50037
 
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgksuui1.0 >= 1.0.3
50038
 
+                             pygtk-2.0 >= 2.4.0\""; } >&5
50039
 
+  ($PKG_CONFIG --exists --print-errors "libgksuui1.0 >= 1.0.3
50040
 
+                             pygtk-2.0 >= 2.4.0") 2>&5
50041
 
   ac_status=$?
50042
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
50043
 
-  (exit $ac_status); }; then
50044
 
-  pkg_cv_GTKMOZEMBED_CFLAGS=`$PKG_CONFIG --cflags "mozilla-gtkmozembed >= 1.2b
50045
 
-                                gtk+-2.0            >= 2.4.0" 2>/dev/null`
50046
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
50047
 
+  test $ac_status = 0; }; then
50048
 
+  pkg_cv_GKSUUI_CFLAGS=`$PKG_CONFIG --cflags "libgksuui1.0 >= 1.0.3
50049
 
+                             pygtk-2.0 >= 2.4.0" 2>/dev/null`
50050
 
 else
50051
 
   pkg_failed=yes
50052
 
 fi
50053
 
- else
50054
 
-    pkg_failed=untried
50055
 
+    fi
50056
 
+else
50057
 
+       pkg_failed=untried
50058
 
 fi
50059
 
-if test -n "$GTKMOZEMBED_LIBS"; then
50060
 
-    pkg_cv_GTKMOZEMBED_LIBS="$GTKMOZEMBED_LIBS"
50061
 
- elif test -n "$PKG_CONFIG"; then
50062
 
-    if test -n "$PKG_CONFIG" && \
50063
 
-    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"mozilla-gtkmozembed >= 1.2b
50064
 
-                                gtk+-2.0            >= 2.4.0\"") >&5
50065
 
-  ($PKG_CONFIG --exists --print-errors "mozilla-gtkmozembed >= 1.2b
50066
 
-                                gtk+-2.0            >= 2.4.0") 2>&5
50067
 
+if test -n "$PKG_CONFIG"; then
50068
 
+    if test -n "$GKSUUI_LIBS"; then
50069
 
+        pkg_cv_GKSUUI_LIBS="$GKSUUI_LIBS"
50070
 
+    else
50071
 
+        if test -n "$PKG_CONFIG" && \
50072
 
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgksuui1.0 >= 1.0.3
50073
 
+                             pygtk-2.0 >= 2.4.0\""; } >&5
50074
 
+  ($PKG_CONFIG --exists --print-errors "libgksuui1.0 >= 1.0.3
50075
 
+                             pygtk-2.0 >= 2.4.0") 2>&5
50076
 
   ac_status=$?
50077
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
50078
 
-  (exit $ac_status); }; then
50079
 
-  pkg_cv_GTKMOZEMBED_LIBS=`$PKG_CONFIG --libs "mozilla-gtkmozembed >= 1.2b
50080
 
-                                gtk+-2.0            >= 2.4.0" 2>/dev/null`
50081
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
50082
 
+  test $ac_status = 0; }; then
50083
 
+  pkg_cv_GKSUUI_LIBS=`$PKG_CONFIG --libs "libgksuui1.0 >= 1.0.3
50084
 
+                             pygtk-2.0 >= 2.4.0" 2>/dev/null`
50085
 
 else
50086
 
   pkg_failed=yes
50087
 
 fi
50088
 
- else
50089
 
-    pkg_failed=untried
50090
 
+    fi
50091
 
+else
50092
 
+       pkg_failed=untried
50093
 
 fi
50094
 
 
50095
 
 
50096
 
@@ -22417,2864 +18406,2764 @@ else
50097
 
         _pkg_short_errors_supported=no
50098
 
 fi
50099
 
         if test $_pkg_short_errors_supported = yes; then
50100
 
-               GTKMOZEMBED_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "mozilla-gtkmozembed >= 1.2b
50101
 
-                                gtk+-2.0            >= 2.4.0" 2>&1`
50102
 
+               GKSUUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgksuui1.0 >= 1.0.3
50103
 
+                             pygtk-2.0 >= 2.4.0"`
50104
 
         else
50105
 
-               GTKMOZEMBED_PKG_ERRORS=`$PKG_CONFIG --print-errors "mozilla-gtkmozembed >= 1.2b
50106
 
-                                gtk+-2.0            >= 2.4.0" 2>&1`
50107
 
+               GKSUUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgksuui1.0 >= 1.0.3
50108
 
+                             pygtk-2.0 >= 2.4.0"`
50109
 
         fi
50110
 
        # Put the nasty error message in config.log where it belongs
50111
 
-       echo "$GTKMOZEMBED_PKG_ERRORS" >&5
50112
 
+       echo "$GKSUUI_PKG_ERRORS" >&5
50113
 
 
50114
 
-       { $as_echo "$as_me:$LINENO: result: no" >&5
50115
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
50116
 
 $as_echo "no" >&6; }
50117
 
-                build_gtkmozembed=false
50118
 
+                build_gksuui=false
50119
 
 elif test $pkg_failed = untried; then
50120
 
-       build_gtkmozembed=false
50121
 
+       build_gksuui=false
50122
 
 else
50123
 
-       GTKMOZEMBED_CFLAGS=$pkg_cv_GTKMOZEMBED_CFLAGS
50124
 
-       GTKMOZEMBED_LIBS=$pkg_cv_GTKMOZEMBED_LIBS
50125
 
-        { $as_echo "$as_me:$LINENO: result: yes" >&5
50126
 
+       GKSUUI_CFLAGS=$pkg_cv_GKSUUI_CFLAGS
50127
 
+       GKSUUI_LIBS=$pkg_cv_GKSUUI_LIBS
50128
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
50129
 
 $as_echo "yes" >&6; }
50130
 
-       build_gtkmozembed=true; mozpackage=mozilla
50131
 
+       build_gksuui=true
50132
 
+fi
50133
 
+fi
50134
 
+ if $build_gksuui; then
50135
 
+  BUILD_GKSUUI_TRUE=
50136
 
+  BUILD_GKSUUI_FALSE='#'
50137
 
+else
50138
 
+  BUILD_GKSUUI_TRUE='#'
50139
 
+  BUILD_GKSUUI_FALSE=
50140
 
 fi
50141
 
 
50142
 
-elif test $pkg_failed = untried; then
50143
 
+if test -n "$export_dynamic"; then
50144
 
+  GKSUUI_LIBS=`echo $GKSUUI_LIBS | sed -e "s/$export_dynamic//"`
50145
 
+fi
50146
 
 
50147
 
 
50148
 
-pkg_failed=no
50149
 
-{ $as_echo "$as_me:$LINENO: checking for GTKMOZEMBED" >&5
50150
 
-$as_echo_n "checking for GTKMOZEMBED... " >&6; }
50151
 
 
50152
 
-if test -n "$GTKMOZEMBED_CFLAGS"; then
50153
 
-    pkg_cv_GTKMOZEMBED_CFLAGS="$GTKMOZEMBED_CFLAGS"
50154
 
- elif test -n "$PKG_CONFIG"; then
50155
 
-    if test -n "$PKG_CONFIG" && \
50156
 
-    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"mozilla-gtkmozembed >= 1.2b
50157
 
-                                gtk+-2.0            >= 2.4.0\"") >&5
50158
 
-  ($PKG_CONFIG --exists --print-errors "mozilla-gtkmozembed >= 1.2b
50159
 
-                                gtk+-2.0            >= 2.4.0") 2>&5
50160
 
-  ac_status=$?
50161
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
50162
 
-  (exit $ac_status); }; then
50163
 
-  pkg_cv_GTKMOZEMBED_CFLAGS=`$PKG_CONFIG --cflags "mozilla-gtkmozembed >= 1.2b
50164
 
-                                gtk+-2.0            >= 2.4.0" 2>/dev/null`
50165
 
+case " $CFLAGS " in
50166
 
+*[\    \ ]-Wall[\      \ ]*)
50167
 
+  ;;
50168
 
+*)
50169
 
+  save_CFLAGS="$CFLAGS"
50170
 
+  CFLAGS="$CFLAGS -Wall"
50171
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -Wall" >&5
50172
 
+$as_echo_n "checking whether $CC understands -Wall... " >&6; }
50173
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50174
 
+/* end confdefs.h.  */
50175
 
+
50176
 
+int
50177
 
+main ()
50178
 
+{
50179
 
+
50180
 
+  ;
50181
 
+  return 0;
50182
 
+}
50183
 
+_ACEOF
50184
 
+if ac_fn_c_try_compile "$LINENO"; then :
50185
 
+  jh_has_option=yes
50186
 
 else
50187
 
-  pkg_failed=yes
50188
 
-fi
50189
 
- else
50190
 
-    pkg_failed=untried
50191
 
+  jh_has_option=no
50192
 
 fi
50193
 
-if test -n "$GTKMOZEMBED_LIBS"; then
50194
 
-    pkg_cv_GTKMOZEMBED_LIBS="$GTKMOZEMBED_LIBS"
50195
 
- elif test -n "$PKG_CONFIG"; then
50196
 
-    if test -n "$PKG_CONFIG" && \
50197
 
-    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"mozilla-gtkmozembed >= 1.2b
50198
 
-                                gtk+-2.0            >= 2.4.0\"") >&5
50199
 
-  ($PKG_CONFIG --exists --print-errors "mozilla-gtkmozembed >= 1.2b
50200
 
-                                gtk+-2.0            >= 2.4.0") 2>&5
50201
 
-  ac_status=$?
50202
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
50203
 
-  (exit $ac_status); }; then
50204
 
-  pkg_cv_GTKMOZEMBED_LIBS=`$PKG_CONFIG --libs "mozilla-gtkmozembed >= 1.2b
50205
 
-                                gtk+-2.0            >= 2.4.0" 2>/dev/null`
50206
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50207
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jh_has_option" >&5
50208
 
+$as_echo "$jh_has_option" >&6; }
50209
 
+  if test $jh_has_option = no; then
50210
 
+    CFLAGS="$save_CFLAGS"
50211
 
+  fi
50212
 
+  ;;
50213
 
+esac
50214
 
+
50215
 
+case " $CFLAGS " in
50216
 
+*[\    \ ]-fno-strict-aliasing[\       \ ]*)
50217
 
+  ;;
50218
 
+*)
50219
 
+  save_CFLAGS="$CFLAGS"
50220
 
+  CFLAGS="$CFLAGS -fno-strict-aliasing"
50221
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -fno-strict-aliasing" >&5
50222
 
+$as_echo_n "checking whether $CC understands -fno-strict-aliasing... " >&6; }
50223
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50224
 
+/* end confdefs.h.  */
50225
 
+
50226
 
+int
50227
 
+main ()
50228
 
+{
50229
 
+
50230
 
+  ;
50231
 
+  return 0;
50232
 
+}
50233
 
+_ACEOF
50234
 
+if ac_fn_c_try_compile "$LINENO"; then :
50235
 
+  jh_has_option=yes
50236
 
 else
50237
 
-  pkg_failed=yes
50238
 
-fi
50239
 
- else
50240
 
-    pkg_failed=untried
50241
 
+  jh_has_option=no
50242
 
 fi
50243
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50244
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jh_has_option" >&5
50245
 
+$as_echo "$jh_has_option" >&6; }
50246
 
+  if test $jh_has_option = no; then
50247
 
+    CFLAGS="$save_CFLAGS"
50248
 
+  fi
50249
 
+  ;;
50250
 
+esac
50251
 
 
50252
 
 
50253
 
+ac_config_files="$ac_config_files Makefile gtkhtml2/Makefile egg/Makefile egg/tray/Makefile egg/recent/Makefile gtkmozembed/Makefile gtkspell/Makefile gdl/Makefile gda/Makefile gda/pygda-4.0.pc gksu2/Makefile gksu/Makefile gnome-python-extras-2.0.pc tests/Makefile docs/gtkmozembed/Makefile docs/gtkspell/Makefile docs/gtkmozembed/entities.docbook docs/gtkspell/entities.docbook"
50254
 
 
50255
 
-if test $pkg_failed = yes; then
50256
 
+cat >confcache <<\_ACEOF
50257
 
+# This file is a shell script that caches the results of configure
50258
 
+# tests run on this system so they can be shared between configure
50259
 
+# scripts and configure runs, see configure's option --config-cache.
50260
 
+# It is not useful on other systems.  If it contains results you don't
50261
 
+# want to keep, you may remove or edit it.
50262
 
+#
50263
 
+# config.status only pays attention to the cache file if you give it
50264
 
+# the --recheck option to rerun configure.
50265
 
+#
50266
 
+# `ac_cv_env_foo' variables (set or unset) will be overridden when
50267
 
+# loading this file, other *unset* `ac_cv_foo' will be assigned the
50268
 
+# following values.
50269
 
 
50270
 
-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
50271
 
-        _pkg_short_errors_supported=yes
50272
 
-else
50273
 
-        _pkg_short_errors_supported=no
50274
 
+_ACEOF
50275
 
+
50276
 
+# The following way of writing the cache mishandles newlines in values,
50277
 
+# but we know of no workaround that is simple, portable, and efficient.
50278
 
+# So, we kill variables containing newlines.
50279
 
+# Ultrix sh set writes to stderr and can't be redirected directly,
50280
 
+# and sets the high bit in the cache file unless we assign to the vars.
50281
 
+(
50282
 
+  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
50283
 
+    eval ac_val=\$$ac_var
50284
 
+    case $ac_val in #(
50285
 
+    *${as_nl}*)
50286
 
+      case $ac_var in #(
50287
 
+      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
50288
 
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
50289
 
+      esac
50290
 
+      case $ac_var in #(
50291
 
+      _ | IFS | as_nl) ;; #(
50292
 
+      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
50293
 
+      *) { eval $ac_var=; unset $ac_var;} ;;
50294
 
+      esac ;;
50295
 
+    esac
50296
 
+  done
50297
 
+
50298
 
+  (set) 2>&1 |
50299
 
+    case $as_nl`(ac_space=' '; set) 2>&1` in #(
50300
 
+    *${as_nl}ac_space=\ *)
50301
 
+      # `set' does not quote correctly, so add quotes: double-quote
50302
 
+      # substitution turns \\\\ into \\, and sed turns \\ into \.
50303
 
+      sed -n \
50304
 
+       "s/'/'\\\\''/g;
50305
 
+         s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50306
 
+      ;; #(
50307
 
+    *)
50308
 
+      # `set' quotes correctly as required by POSIX, so do not add quotes.
50309
 
+      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
50310
 
+      ;;
50311
 
+    esac |
50312
 
+    sort
50313
 
+) |
50314
 
+  sed '
50315
 
+     /^ac_cv_env_/b end
50316
 
+     t clear
50317
 
+     :clear
50318
 
+     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50319
 
+     t end
50320
 
+     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50321
 
+     :end' >>confcache
50322
 
+if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
50323
 
+  if test -w "$cache_file"; then
50324
 
+    test "x$cache_file" != "x/dev/null" &&
50325
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
50326
 
+$as_echo "$as_me: updating cache $cache_file" >&6;}
50327
 
+    cat confcache >$cache_file
50328
 
+  else
50329
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
50330
 
+$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
50331
 
+  fi
50332
 
 fi
50333
 
-        if test $_pkg_short_errors_supported = yes; then
50334
 
-               GTKMOZEMBED_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "mozilla-gtkmozembed >= 1.2b
50335
 
-                                gtk+-2.0            >= 2.4.0" 2>&1`
50336
 
-        else
50337
 
-               GTKMOZEMBED_PKG_ERRORS=`$PKG_CONFIG --print-errors "mozilla-gtkmozembed >= 1.2b
50338
 
-                                gtk+-2.0            >= 2.4.0" 2>&1`
50339
 
-        fi
50340
 
-       # Put the nasty error message in config.log where it belongs
50341
 
-       echo "$GTKMOZEMBED_PKG_ERRORS" >&5
50342
 
+rm -f confcache
50343
 
 
50344
 
-       { $as_echo "$as_me:$LINENO: result: no" >&5
50345
 
-$as_echo "no" >&6; }
50346
 
-                build_gtkmozembed=false
50347
 
-elif test $pkg_failed = untried; then
50348
 
-       build_gtkmozembed=false
50349
 
+test "x$prefix" = xNONE && prefix=$ac_default_prefix
50350
 
+# Let make expand exec_prefix.
50351
 
+test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
50352
 
+
50353
 
+DEFS=-DHAVE_CONFIG_H
50354
 
+
50355
 
+ac_libobjs=
50356
 
+ac_ltlibobjs=
50357
 
+for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
50358
 
+  # 1. Remove the extension, and $U if already installed.
50359
 
+  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
50360
 
+  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
50361
 
+  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
50362
 
+  #    will be set to the directory where LIBOBJS objects are built.
50363
 
+  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
50364
 
+  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
50365
 
+done
50366
 
+LIBOBJS=$ac_libobjs
50367
 
+
50368
 
+LTLIBOBJS=$ac_ltlibobjs
50369
 
+
50370
 
+
50371
 
+ if test -n "$EXEEXT"; then
50372
 
+  am__EXEEXT_TRUE=
50373
 
+  am__EXEEXT_FALSE='#'
50374
 
 else
50375
 
-       GTKMOZEMBED_CFLAGS=$pkg_cv_GTKMOZEMBED_CFLAGS
50376
 
-       GTKMOZEMBED_LIBS=$pkg_cv_GTKMOZEMBED_LIBS
50377
 
-        { $as_echo "$as_me:$LINENO: result: yes" >&5
50378
 
-$as_echo "yes" >&6; }
50379
 
-       build_gtkmozembed=true; mozpackage=mozilla
50380
 
+  am__EXEEXT_TRUE='#'
50381
 
+  am__EXEEXT_FALSE=
50382
 
 fi
50383
 
 
50384
 
-else
50385
 
-       GTKMOZEMBED_CFLAGS=$pkg_cv_GTKMOZEMBED_CFLAGS
50386
 
-       GTKMOZEMBED_LIBS=$pkg_cv_GTKMOZEMBED_LIBS
50387
 
-        { $as_echo "$as_me:$LINENO: result: yes" >&5
50388
 
-$as_echo "yes" >&6; }
50389
 
-       build_gtkmozembed=true; mozpackage=firefox
50390
 
+if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
50391
 
+  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
50392
 
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
50393
 
+fi
50394
 
+if test -z "${PLATFORM_WIN32_TRUE}" && test -z "${PLATFORM_WIN32_FALSE}"; then
50395
 
+  as_fn_error "conditional \"PLATFORM_WIN32\" was never defined.
50396
 
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
50397
 
+fi
50398
 
+if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
50399
 
+  as_fn_error "conditional \"OS_WIN32\" was never defined.
50400
 
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
50401
 
+fi
50402
 
+if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
50403
 
+  as_fn_error "conditional \"AMDEP\" was never defined.
50404
 
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
50405
 
+fi
50406
 
+if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
50407
 
+  as_fn_error "conditional \"am__fastdepCC\" was never defined.
50408
 
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
50409
 
+fi
50410
 
+if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
50411
 
+  as_fn_error "conditional \"am__fastdepCXX\" was never defined.
50412
 
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
50413
 
+fi
50414
 
+if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
50415
 
+  as_fn_error "conditional \"am__fastdepCXX\" was never defined.
50416
 
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
50417
 
+fi
50418
 
+if test -z "${ENABLE_DOCS_TRUE}" && test -z "${ENABLE_DOCS_FALSE}"; then
50419
 
+  as_fn_error "conditional \"ENABLE_DOCS\" was never defined.
50420
 
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
50421
 
+fi
50422
 
+if test -z "${BUILD_GTKHTML2_TRUE}" && test -z "${BUILD_GTKHTML2_FALSE}"; then
50423
 
+  as_fn_error "conditional \"BUILD_GTKHTML2\" was never defined.
50424
 
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
50425
 
+fi
50426
 
+if test -z "${BUILD_EGGTRAY_TRUE}" && test -z "${BUILD_EGGTRAY_FALSE}"; then
50427
 
+  as_fn_error "conditional \"BUILD_EGGTRAY\" was never defined.
50428
 
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
50429
 
+fi
50430
 
+if test -z "${BUILD_EGGRECENT_TRUE}" && test -z "${BUILD_EGGRECENT_FALSE}"; then
50431
 
+  as_fn_error "conditional \"BUILD_EGGRECENT\" was never defined.
50432
 
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
50433
 
+fi
50434
 
+if test -z "${BUILD_EGG_TRUE}" && test -z "${BUILD_EGG_FALSE}"; then
50435
 
+  as_fn_error "conditional \"BUILD_EGG\" was never defined.
50436
 
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
50437
 
+fi
50438
 
+if test -z "${BUILD_GTKMOZEMBED_TRUE}" && test -z "${BUILD_GTKMOZEMBED_FALSE}"; then
50439
 
+  as_fn_error "conditional \"BUILD_GTKMOZEMBED\" was never defined.
50440
 
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
50441
 
+fi
50442
 
+if test -z "${BUILD_GTKMOZEMBED_TRUE}" && test -z "${BUILD_GTKMOZEMBED_FALSE}"; then
50443
 
+  as_fn_error "conditional \"BUILD_GTKMOZEMBED\" was never defined.
50444
 
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
50445
 
+fi
50446
 
+if test -z "${HAVE_XPCOM_GLUE_TRUE}" && test -z "${HAVE_XPCOM_GLUE_FALSE}"; then
50447
 
+  as_fn_error "conditional \"HAVE_XPCOM_GLUE\" was never defined.
50448
 
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
50449
 
+fi
50450
 
+if test -z "${BUILD_GTKSPELL_TRUE}" && test -z "${BUILD_GTKSPELL_FALSE}"; then
50451
 
+  as_fn_error "conditional \"BUILD_GTKSPELL\" was never defined.
50452
 
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
50453
 
+fi
50454
 
+if test -z "${BUILD_GDL_TRUE}" && test -z "${BUILD_GDL_FALSE}"; then
50455
 
+  as_fn_error "conditional \"BUILD_GDL\" was never defined.
50456
 
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
50457
 
+fi
50458
 
+if test -z "${BUILD_GDA_TRUE}" && test -z "${BUILD_GDA_FALSE}"; then
50459
 
+  as_fn_error "conditional \"BUILD_GDA\" was never defined.
50460
 
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
50461
 
+fi
50462
 
+if test -z "${BUILD_GKSU2_TRUE}" && test -z "${BUILD_GKSU2_FALSE}"; then
50463
 
+  as_fn_error "conditional \"BUILD_GKSU2\" was never defined.
50464
 
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
50465
 
+fi
50466
 
+if test -z "${BUILD_GKSU_TRUE}" && test -z "${BUILD_GKSU_FALSE}"; then
50467
 
+  as_fn_error "conditional \"BUILD_GKSU\" was never defined.
50468
 
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
50469
 
+fi
50470
 
+if test -z "${BUILD_GKSUUI_TRUE}" && test -z "${BUILD_GKSUUI_FALSE}"; then
50471
 
+  as_fn_error "conditional \"BUILD_GKSUUI\" was never defined.
50472
 
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
50473
 
 fi
50474
 
 
50475
 
-elif test $pkg_failed = untried; then
50476
 
+: ${CONFIG_STATUS=./config.status}
50477
 
+ac_write_fail=0
50478
 
+ac_clean_files_save=$ac_clean_files
50479
 
+ac_clean_files="$ac_clean_files $CONFIG_STATUS"
50480
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
50481
 
+$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
50482
 
+as_write_fail=0
50483
 
+cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
50484
 
+#! $SHELL
50485
 
+# Generated by $as_me.
50486
 
+# Run this file to recreate the current configuration.
50487
 
+# Compiler output produced by configure, useful for debugging
50488
 
+# configure, is in config.log if it exists.
50489
 
 
50490
 
+debug=false
50491
 
+ac_cs_recheck=false
50492
 
+ac_cs_silent=false
50493
 
 
50494
 
-pkg_failed=no
50495
 
-{ $as_echo "$as_me:$LINENO: checking for GTKMOZEMBED" >&5
50496
 
-$as_echo_n "checking for GTKMOZEMBED... " >&6; }
50497
 
+SHELL=\${CONFIG_SHELL-$SHELL}
50498
 
+export SHELL
50499
 
+_ASEOF
50500
 
+cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
50501
 
+## -------------------- ##
50502
 
+## M4sh Initialization. ##
50503
 
+## -------------------- ##
50504
 
 
50505
 
-if test -n "$GTKMOZEMBED_CFLAGS"; then
50506
 
-    pkg_cv_GTKMOZEMBED_CFLAGS="$GTKMOZEMBED_CFLAGS"
50507
 
- elif test -n "$PKG_CONFIG"; then
50508
 
-    if test -n "$PKG_CONFIG" && \
50509
 
-    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"firefox-gtkmozembed >= 1.0
50510
 
-                                gtk+-2.0            >= 2.4.0\"") >&5
50511
 
-  ($PKG_CONFIG --exists --print-errors "firefox-gtkmozembed >= 1.0
50512
 
-                                gtk+-2.0            >= 2.4.0") 2>&5
50513
 
-  ac_status=$?
50514
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
50515
 
-  (exit $ac_status); }; then
50516
 
-  pkg_cv_GTKMOZEMBED_CFLAGS=`$PKG_CONFIG --cflags "firefox-gtkmozembed >= 1.0
50517
 
-                                gtk+-2.0            >= 2.4.0" 2>/dev/null`
50518
 
+# Be more Bourne compatible
50519
 
+DUALCASE=1; export DUALCASE # for MKS sh
50520
 
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
50521
 
+  emulate sh
50522
 
+  NULLCMD=:
50523
 
+  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
50524
 
+  # is contrary to our usage.  Disable this feature.
50525
 
+  alias -g '${1+"$@"}'='"$@"'
50526
 
+  setopt NO_GLOB_SUBST
50527
 
 else
50528
 
-  pkg_failed=yes
50529
 
-fi
50530
 
- else
50531
 
-    pkg_failed=untried
50532
 
+  case `(set -o) 2>/dev/null` in #(
50533
 
+  *posix*) :
50534
 
+    set -o posix ;; #(
50535
 
+  *) :
50536
 
+     ;;
50537
 
+esac
50538
 
 fi
50539
 
-if test -n "$GTKMOZEMBED_LIBS"; then
50540
 
-    pkg_cv_GTKMOZEMBED_LIBS="$GTKMOZEMBED_LIBS"
50541
 
- elif test -n "$PKG_CONFIG"; then
50542
 
-    if test -n "$PKG_CONFIG" && \
50543
 
-    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"firefox-gtkmozembed >= 1.0
50544
 
-                                gtk+-2.0            >= 2.4.0\"") >&5
50545
 
-  ($PKG_CONFIG --exists --print-errors "firefox-gtkmozembed >= 1.0
50546
 
-                                gtk+-2.0            >= 2.4.0") 2>&5
50547
 
-  ac_status=$?
50548
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
50549
 
-  (exit $ac_status); }; then
50550
 
-  pkg_cv_GTKMOZEMBED_LIBS=`$PKG_CONFIG --libs "firefox-gtkmozembed >= 1.0
50551
 
-                                gtk+-2.0            >= 2.4.0" 2>/dev/null`
50552
 
+
50553
 
+
50554
 
+as_nl='
50555
 
+'
50556
 
+export as_nl
50557
 
+# Printing a long string crashes Solaris 7 /usr/bin/printf.
50558
 
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
50559
 
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
50560
 
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
50561
 
+# Prefer a ksh shell builtin over an external printf program on Solaris,
50562
 
+# but without wasting forks for bash or zsh.
50563
 
+if test -z "$BASH_VERSION$ZSH_VERSION" \
50564
 
+    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50565
 
+  as_echo='print -r --'
50566
 
+  as_echo_n='print -rn --'
50567
 
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50568
 
+  as_echo='printf %s\n'
50569
 
+  as_echo_n='printf %s'
50570
 
 else
50571
 
-  pkg_failed=yes
50572
 
+  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
50573
 
+    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
50574
 
+    as_echo_n='/usr/ucb/echo -n'
50575
 
+  else
50576
 
+    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
50577
 
+    as_echo_n_body='eval
50578
 
+      arg=$1;
50579
 
+      case $arg in #(
50580
 
+      *"$as_nl"*)
50581
 
+       expr "X$arg" : "X\\(.*\\)$as_nl";
50582
 
+       arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
50583
 
+      esac;
50584
 
+      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
50585
 
+    '
50586
 
+    export as_echo_n_body
50587
 
+    as_echo_n='sh -c $as_echo_n_body as_echo'
50588
 
+  fi
50589
 
+  export as_echo_body
50590
 
+  as_echo='sh -c $as_echo_body as_echo'
50591
 
 fi
50592
 
- else
50593
 
-    pkg_failed=untried
50594
 
+
50595
 
+# The user is always right.
50596
 
+if test "${PATH_SEPARATOR+set}" != set; then
50597
 
+  PATH_SEPARATOR=:
50598
 
+  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
50599
 
+    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
50600
 
+      PATH_SEPARATOR=';'
50601
 
+  }
50602
 
 fi
50603
 
 
50604
 
 
50605
 
+# IFS
50606
 
+# We need space, tab and new line, in precisely that order.  Quoting is
50607
 
+# there to prevent editors from complaining about space-tab.
50608
 
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
50609
 
+# splitting by setting IFS to empty value.)
50610
 
+IFS=" ""       $as_nl"
50611
 
 
50612
 
-if test $pkg_failed = yes; then
50613
 
+# Find who we are.  Look in the path if we contain no directory separator.
50614
 
+case $0 in #((
50615
 
+  *[\\/]* ) as_myself=$0 ;;
50616
 
+  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50617
 
+for as_dir in $PATH
50618
 
+do
50619
 
+  IFS=$as_save_IFS
50620
 
+  test -z "$as_dir" && as_dir=.
50621
 
+    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
50622
 
+  done
50623
 
+IFS=$as_save_IFS
50624
 
 
50625
 
-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
50626
 
-        _pkg_short_errors_supported=yes
50627
 
-else
50628
 
-        _pkg_short_errors_supported=no
50629
 
+     ;;
50630
 
+esac
50631
 
+# We did not find ourselves, most probably we were run as `sh COMMAND'
50632
 
+# in which case we are not to be found in the path.
50633
 
+if test "x$as_myself" = x; then
50634
 
+  as_myself=$0
50635
 
+fi
50636
 
+if test ! -f "$as_myself"; then
50637
 
+  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
50638
 
+  exit 1
50639
 
 fi
50640
 
-        if test $_pkg_short_errors_supported = yes; then
50641
 
-               GTKMOZEMBED_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "firefox-gtkmozembed >= 1.0
50642
 
-                                gtk+-2.0            >= 2.4.0" 2>&1`
50643
 
-        else
50644
 
-               GTKMOZEMBED_PKG_ERRORS=`$PKG_CONFIG --print-errors "firefox-gtkmozembed >= 1.0
50645
 
-                                gtk+-2.0            >= 2.4.0" 2>&1`
50646
 
-        fi
50647
 
-       # Put the nasty error message in config.log where it belongs
50648
 
-       echo "$GTKMOZEMBED_PKG_ERRORS" >&5
50649
 
 
50650
 
-       { $as_echo "$as_me:$LINENO: result: no" >&5
50651
 
-$as_echo "no" >&6; }
50652
 
+# Unset variables that we do not need and which cause bugs (e.g. in
50653
 
+# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
50654
 
+# suppresses any "Segmentation fault" message there.  '((' could
50655
 
+# trigger a bug in pdksh 5.2.14.
50656
 
+for as_var in BASH_ENV ENV MAIL MAILPATH
50657
 
+do eval test x\${$as_var+set} = xset \
50658
 
+  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
50659
 
+done
50660
 
+PS1='$ '
50661
 
+PS2='> '
50662
 
+PS4='+ '
50663
 
 
50664
 
+# NLS nuisances.
50665
 
+LC_ALL=C
50666
 
+export LC_ALL
50667
 
+LANGUAGE=C
50668
 
+export LANGUAGE
50669
 
 
50670
 
-pkg_failed=no
50671
 
-{ $as_echo "$as_me:$LINENO: checking for GTKMOZEMBED" >&5
50672
 
-$as_echo_n "checking for GTKMOZEMBED... " >&6; }
50673
 
+# CDPATH.
50674
 
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
50675
 
 
50676
 
-if test -n "$GTKMOZEMBED_CFLAGS"; then
50677
 
-    pkg_cv_GTKMOZEMBED_CFLAGS="$GTKMOZEMBED_CFLAGS"
50678
 
- elif test -n "$PKG_CONFIG"; then
50679
 
-    if test -n "$PKG_CONFIG" && \
50680
 
-    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"mozilla-gtkmozembed >= 1.2b
50681
 
-                                gtk+-2.0            >= 2.4.0\"") >&5
50682
 
-  ($PKG_CONFIG --exists --print-errors "mozilla-gtkmozembed >= 1.2b
50683
 
-                                gtk+-2.0            >= 2.4.0") 2>&5
50684
 
-  ac_status=$?
50685
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
50686
 
-  (exit $ac_status); }; then
50687
 
-  pkg_cv_GTKMOZEMBED_CFLAGS=`$PKG_CONFIG --cflags "mozilla-gtkmozembed >= 1.2b
50688
 
-                                gtk+-2.0            >= 2.4.0" 2>/dev/null`
50689
 
-else
50690
 
-  pkg_failed=yes
50691
 
-fi
50692
 
- else
50693
 
-    pkg_failed=untried
50694
 
-fi
50695
 
-if test -n "$GTKMOZEMBED_LIBS"; then
50696
 
-    pkg_cv_GTKMOZEMBED_LIBS="$GTKMOZEMBED_LIBS"
50697
 
- elif test -n "$PKG_CONFIG"; then
50698
 
-    if test -n "$PKG_CONFIG" && \
50699
 
-    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"mozilla-gtkmozembed >= 1.2b
50700
 
-                                gtk+-2.0            >= 2.4.0\"") >&5
50701
 
-  ($PKG_CONFIG --exists --print-errors "mozilla-gtkmozembed >= 1.2b
50702
 
-                                gtk+-2.0            >= 2.4.0") 2>&5
50703
 
-  ac_status=$?
50704
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
50705
 
-  (exit $ac_status); }; then
50706
 
-  pkg_cv_GTKMOZEMBED_LIBS=`$PKG_CONFIG --libs "mozilla-gtkmozembed >= 1.2b
50707
 
-                                gtk+-2.0            >= 2.4.0" 2>/dev/null`
50708
 
-else
50709
 
-  pkg_failed=yes
50710
 
-fi
50711
 
- else
50712
 
-    pkg_failed=untried
50713
 
-fi
50714
 
 
50715
 
+# as_fn_error ERROR [LINENO LOG_FD]
50716
 
+# ---------------------------------
50717
 
+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
50718
 
+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
50719
 
+# script with status $?, using 1 if that was 0.
50720
 
+as_fn_error ()
50721
 
+{
50722
 
+  as_status=$?; test $as_status -eq 0 && as_status=1
50723
 
+  if test "$3"; then
50724
 
+    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
50725
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
50726
 
+  fi
50727
 
+  $as_echo "$as_me: error: $1" >&2
50728
 
+  as_fn_exit $as_status
50729
 
+} # as_fn_error
50730
 
 
50731
 
 
50732
 
-if test $pkg_failed = yes; then
50733
 
+# as_fn_set_status STATUS
50734
 
+# -----------------------
50735
 
+# Set $? to STATUS, without forking.
50736
 
+as_fn_set_status ()
50737
 
+{
50738
 
+  return $1
50739
 
+} # as_fn_set_status
50740
 
 
50741
 
-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
50742
 
-        _pkg_short_errors_supported=yes
50743
 
+# as_fn_exit STATUS
50744
 
+# -----------------
50745
 
+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
50746
 
+as_fn_exit ()
50747
 
+{
50748
 
+  set +e
50749
 
+  as_fn_set_status $1
50750
 
+  exit $1
50751
 
+} # as_fn_exit
50752
 
+
50753
 
+# as_fn_unset VAR
50754
 
+# ---------------
50755
 
+# Portably unset VAR.
50756
 
+as_fn_unset ()
50757
 
+{
50758
 
+  { eval $1=; unset $1;}
50759
 
+}
50760
 
+as_unset=as_fn_unset
50761
 
+# as_fn_append VAR VALUE
50762
 
+# ----------------------
50763
 
+# Append the text in VALUE to the end of the definition contained in VAR. Take
50764
 
+# advantage of any shell optimizations that allow amortized linear growth over
50765
 
+# repeated appends, instead of the typical quadratic growth present in naive
50766
 
+# implementations.
50767
 
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
50768
 
+  eval 'as_fn_append ()
50769
 
+  {
50770
 
+    eval $1+=\$2
50771
 
+  }'
50772
 
 else
50773
 
-        _pkg_short_errors_supported=no
50774
 
-fi
50775
 
-        if test $_pkg_short_errors_supported = yes; then
50776
 
-               GTKMOZEMBED_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "mozilla-gtkmozembed >= 1.2b
50777
 
-                                gtk+-2.0            >= 2.4.0" 2>&1`
50778
 
-        else
50779
 
-               GTKMOZEMBED_PKG_ERRORS=`$PKG_CONFIG --print-errors "mozilla-gtkmozembed >= 1.2b
50780
 
-                                gtk+-2.0            >= 2.4.0" 2>&1`
50781
 
-        fi
50782
 
-       # Put the nasty error message in config.log where it belongs
50783
 
-       echo "$GTKMOZEMBED_PKG_ERRORS" >&5
50784
 
+  as_fn_append ()
50785
 
+  {
50786
 
+    eval $1=\$$1\$2
50787
 
+  }
50788
 
+fi # as_fn_append
50789
 
 
50790
 
-       { $as_echo "$as_me:$LINENO: result: no" >&5
50791
 
-$as_echo "no" >&6; }
50792
 
-                build_gtkmozembed=false
50793
 
-elif test $pkg_failed = untried; then
50794
 
-       build_gtkmozembed=false
50795
 
+# as_fn_arith ARG...
50796
 
+# ------------------
50797
 
+# Perform arithmetic evaluation on the ARGs, and store the result in the
50798
 
+# global $as_val. Take advantage of shells that can avoid forks. The arguments
50799
 
+# must be portable across $(()) and expr.
50800
 
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
50801
 
+  eval 'as_fn_arith ()
50802
 
+  {
50803
 
+    as_val=$(( $* ))
50804
 
+  }'
50805
 
 else
50806
 
-       GTKMOZEMBED_CFLAGS=$pkg_cv_GTKMOZEMBED_CFLAGS
50807
 
-       GTKMOZEMBED_LIBS=$pkg_cv_GTKMOZEMBED_LIBS
50808
 
-        { $as_echo "$as_me:$LINENO: result: yes" >&5
50809
 
-$as_echo "yes" >&6; }
50810
 
-       build_gtkmozembed=true; mozpackage=mozilla
50811
 
-fi
50812
 
-
50813
 
-elif test $pkg_failed = untried; then
50814
 
-
50815
 
+  as_fn_arith ()
50816
 
+  {
50817
 
+    as_val=`expr "$@" || test $? -eq 1`
50818
 
+  }
50819
 
+fi # as_fn_arith
50820
 
 
50821
 
-pkg_failed=no
50822
 
-{ $as_echo "$as_me:$LINENO: checking for GTKMOZEMBED" >&5
50823
 
-$as_echo_n "checking for GTKMOZEMBED... " >&6; }
50824
 
 
50825
 
-if test -n "$GTKMOZEMBED_CFLAGS"; then
50826
 
-    pkg_cv_GTKMOZEMBED_CFLAGS="$GTKMOZEMBED_CFLAGS"
50827
 
- elif test -n "$PKG_CONFIG"; then
50828
 
-    if test -n "$PKG_CONFIG" && \
50829
 
-    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"mozilla-gtkmozembed >= 1.2b
50830
 
-                                gtk+-2.0            >= 2.4.0\"") >&5
50831
 
-  ($PKG_CONFIG --exists --print-errors "mozilla-gtkmozembed >= 1.2b
50832
 
-                                gtk+-2.0            >= 2.4.0") 2>&5
50833
 
-  ac_status=$?
50834
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
50835
 
-  (exit $ac_status); }; then
50836
 
-  pkg_cv_GTKMOZEMBED_CFLAGS=`$PKG_CONFIG --cflags "mozilla-gtkmozembed >= 1.2b
50837
 
-                                gtk+-2.0            >= 2.4.0" 2>/dev/null`
50838
 
+if expr a : '\(a\)' >/dev/null 2>&1 &&
50839
 
+   test "X`expr 00001 : '.*\(...\)'`" = X001; then
50840
 
+  as_expr=expr
50841
 
 else
50842
 
-  pkg_failed=yes
50843
 
-fi
50844
 
- else
50845
 
-    pkg_failed=untried
50846
 
+  as_expr=false
50847
 
 fi
50848
 
-if test -n "$GTKMOZEMBED_LIBS"; then
50849
 
-    pkg_cv_GTKMOZEMBED_LIBS="$GTKMOZEMBED_LIBS"
50850
 
- elif test -n "$PKG_CONFIG"; then
50851
 
-    if test -n "$PKG_CONFIG" && \
50852
 
-    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"mozilla-gtkmozembed >= 1.2b
50853
 
-                                gtk+-2.0            >= 2.4.0\"") >&5
50854
 
-  ($PKG_CONFIG --exists --print-errors "mozilla-gtkmozembed >= 1.2b
50855
 
-                                gtk+-2.0            >= 2.4.0") 2>&5
50856
 
-  ac_status=$?
50857
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
50858
 
-  (exit $ac_status); }; then
50859
 
-  pkg_cv_GTKMOZEMBED_LIBS=`$PKG_CONFIG --libs "mozilla-gtkmozembed >= 1.2b
50860
 
-                                gtk+-2.0            >= 2.4.0" 2>/dev/null`
50861
 
+
50862
 
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
50863
 
+  as_basename=basename
50864
 
 else
50865
 
-  pkg_failed=yes
50866
 
+  as_basename=false
50867
 
 fi
50868
 
- else
50869
 
-    pkg_failed=untried
50870
 
+
50871
 
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
50872
 
+  as_dirname=dirname
50873
 
+else
50874
 
+  as_dirname=false
50875
 
 fi
50876
 
 
50877
 
+as_me=`$as_basename -- "$0" ||
50878
 
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50879
 
+        X"$0" : 'X\(//\)$' \| \
50880
 
+        X"$0" : 'X\(/\)' \| . 2>/dev/null ||
50881
 
+$as_echo X/"$0" |
50882
 
+    sed '/^.*\/\([^/][^/]*\)\/*$/{
50883
 
+           s//\1/
50884
 
+           q
50885
 
+         }
50886
 
+         /^X\/\(\/\/\)$/{
50887
 
+           s//\1/
50888
 
+           q
50889
 
+         }
50890
 
+         /^X\/\(\/\).*/{
50891
 
+           s//\1/
50892
 
+           q
50893
 
+         }
50894
 
+         s/.*/./; q'`
50895
 
 
50896
 
+# Avoid depending upon Character Ranges.
50897
 
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
50898
 
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50899
 
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
50900
 
+as_cr_digits='0123456789'
50901
 
+as_cr_alnum=$as_cr_Letters$as_cr_digits
50902
 
 
50903
 
-if test $pkg_failed = yes; then
50904
 
+ECHO_C= ECHO_N= ECHO_T=
50905
 
+case `echo -n x` in #(((((
50906
 
+-n*)
50907
 
+  case `echo 'xy\c'` in
50908
 
+  *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
50909
 
+  xy)  ECHO_C='\c';;
50910
 
+  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
50911
 
+       ECHO_T='        ';;
50912
 
+  esac;;
50913
 
+*)
50914
 
+  ECHO_N='-n';;
50915
 
+esac
50916
 
 
50917
 
-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
50918
 
-        _pkg_short_errors_supported=yes
50919
 
+rm -f conf$$ conf$$.exe conf$$.file
50920
 
+if test -d conf$$.dir; then
50921
 
+  rm -f conf$$.dir/conf$$.file
50922
 
 else
50923
 
-        _pkg_short_errors_supported=no
50924
 
+  rm -f conf$$.dir
50925
 
+  mkdir conf$$.dir 2>/dev/null
50926
 
 fi
50927
 
-        if test $_pkg_short_errors_supported = yes; then
50928
 
-               GTKMOZEMBED_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "mozilla-gtkmozembed >= 1.2b
50929
 
-                                gtk+-2.0            >= 2.4.0" 2>&1`
50930
 
-        else
50931
 
-               GTKMOZEMBED_PKG_ERRORS=`$PKG_CONFIG --print-errors "mozilla-gtkmozembed >= 1.2b
50932
 
-                                gtk+-2.0            >= 2.4.0" 2>&1`
50933
 
-        fi
50934
 
-       # Put the nasty error message in config.log where it belongs
50935
 
-       echo "$GTKMOZEMBED_PKG_ERRORS" >&5
50936
 
-
50937
 
-       { $as_echo "$as_me:$LINENO: result: no" >&5
50938
 
-$as_echo "no" >&6; }
50939
 
-                build_gtkmozembed=false
50940
 
-elif test $pkg_failed = untried; then
50941
 
-       build_gtkmozembed=false
50942
 
+if (echo >conf$$.file) 2>/dev/null; then
50943
 
+  if ln -s conf$$.file conf$$ 2>/dev/null; then
50944
 
+    as_ln_s='ln -s'
50945
 
+    # ... but there are two gotchas:
50946
 
+    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
50947
 
+    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
50948
 
+    # In both cases, we have to default to `cp -p'.
50949
 
+    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
50950
 
+      as_ln_s='cp -p'
50951
 
+  elif ln conf$$.file conf$$ 2>/dev/null; then
50952
 
+    as_ln_s=ln
50953
 
+  else
50954
 
+    as_ln_s='cp -p'
50955
 
+  fi
50956
 
 else
50957
 
-       GTKMOZEMBED_CFLAGS=$pkg_cv_GTKMOZEMBED_CFLAGS
50958
 
-       GTKMOZEMBED_LIBS=$pkg_cv_GTKMOZEMBED_LIBS
50959
 
-        { $as_echo "$as_me:$LINENO: result: yes" >&5
50960
 
-$as_echo "yes" >&6; }
50961
 
-       build_gtkmozembed=true; mozpackage=mozilla
50962
 
+  as_ln_s='cp -p'
50963
 
 fi
50964
 
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
50965
 
+rmdir conf$$.dir 2>/dev/null
50966
 
+
50967
 
+
50968
 
+# as_fn_mkdir_p
50969
 
+# -------------
50970
 
+# Create "$as_dir" as a directory, including parents if necessary.
50971
 
+as_fn_mkdir_p ()
50972
 
+{
50973
 
+
50974
 
+  case $as_dir in #(
50975
 
+  -*) as_dir=./$as_dir;;
50976
 
+  esac
50977
 
+  test -d "$as_dir" || eval $as_mkdir_p || {
50978
 
+    as_dirs=
50979
 
+    while :; do
50980
 
+      case $as_dir in #(
50981
 
+      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
50982
 
+      *) as_qdir=$as_dir;;
50983
 
+      esac
50984
 
+      as_dirs="'$as_qdir' $as_dirs"
50985
 
+      as_dir=`$as_dirname -- "$as_dir" ||
50986
 
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50987
 
+        X"$as_dir" : 'X\(//\)[^/]' \| \
50988
 
+        X"$as_dir" : 'X\(//\)$' \| \
50989
 
+        X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
50990
 
+$as_echo X"$as_dir" |
50991
 
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50992
 
+           s//\1/
50993
 
+           q
50994
 
+         }
50995
 
+         /^X\(\/\/\)[^/].*/{
50996
 
+           s//\1/
50997
 
+           q
50998
 
+         }
50999
 
+         /^X\(\/\/\)$/{
51000
 
+           s//\1/
51001
 
+           q
51002
 
+         }
51003
 
+         /^X\(\/\).*/{
51004
 
+           s//\1/
51005
 
+           q
51006
 
+         }
51007
 
+         s/.*/./; q'`
51008
 
+      test -d "$as_dir" && break
51009
 
+    done
51010
 
+    test -z "$as_dirs" || eval "mkdir $as_dirs"
51011
 
+  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
51012
 
 
51013
 
+
51014
 
+} # as_fn_mkdir_p
51015
 
+if mkdir -p . 2>/dev/null; then
51016
 
+  as_mkdir_p='mkdir -p "$as_dir"'
51017
 
 else
51018
 
-       GTKMOZEMBED_CFLAGS=$pkg_cv_GTKMOZEMBED_CFLAGS
51019
 
-       GTKMOZEMBED_LIBS=$pkg_cv_GTKMOZEMBED_LIBS
51020
 
-        { $as_echo "$as_me:$LINENO: result: yes" >&5
51021
 
-$as_echo "yes" >&6; }
51022
 
-       build_gtkmozembed=true; mozpackage=firefox
51023
 
+  test -d ./-p && rmdir ./-p
51024
 
+  as_mkdir_p=false
51025
 
 fi
51026
 
 
51027
 
+if test -x / >/dev/null 2>&1; then
51028
 
+  as_test_x='test -x'
51029
 
 else
51030
 
-       GTKMOZEMBED_CFLAGS=$pkg_cv_GTKMOZEMBED_CFLAGS
51031
 
-       GTKMOZEMBED_LIBS=$pkg_cv_GTKMOZEMBED_LIBS
51032
 
-        { $as_echo "$as_me:$LINENO: result: yes" >&5
51033
 
-$as_echo "yes" >&6; }
51034
 
-       build_gtkmozembed=true; mozpackage=xulrunner
51035
 
+  if ls -dL / >/dev/null 2>&1; then
51036
 
+    as_ls_L_option=L
51037
 
+  else
51038
 
+    as_ls_L_option=
51039
 
+  fi
51040
 
+  as_test_x='
51041
 
+    eval sh -c '\''
51042
 
+      if test -d "$1"; then
51043
 
+       test -d "$1/.";
51044
 
+      else
51045
 
+       case $1 in #(
51046
 
+       -*)set "./$1";;
51047
 
+       esac;
51048
 
+       case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
51049
 
+       ???[sx]*):;;*)false;;esac;fi
51050
 
+    '\'' sh
51051
 
+  '
51052
 
 fi
51053
 
+as_executable_p=$as_test_x
51054
 
 
51055
 
-else
51056
 
+# Sed expression to map a string onto a valid CPP name.
51057
 
+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51058
 
 
51059
 
-case $mozpackage in
51060
 
-     xulrunner) mozpackage_required_version=1.8 ;;
51061
 
-     firefox) mozpackage_required_version=1.0 ;;
51062
 
-     mozilla)
51063
 
-         mozpackage_required_version=1.2b
51064
 
-         { $as_echo "$as_me:$LINENO: checking for extra gtkmozembed code generation flags" >&5
51065
 
-$as_echo_n "checking for extra gtkmozembed code generation flags... " >&6; }
51066
 
+# Sed expression to map a string onto a valid variable name.
51067
 
+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51068
 
 
51069
 
-pkg_failed=no
51070
 
-{ $as_echo "$as_me:$LINENO: checking for XUL19" >&5
51071
 
-$as_echo_n "checking for XUL19... " >&6; }
51072
 
 
51073
 
-if test -n "$XUL19_CFLAGS"; then
51074
 
-    pkg_cv_XUL19_CFLAGS="$XUL19_CFLAGS"
51075
 
- elif test -n "$PKG_CONFIG"; then
51076
 
-    if test -n "$PKG_CONFIG" && \
51077
 
-    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"mozilla-gtkmozembed >= 0.21 gtk+-2.0\"") >&5
51078
 
-  ($PKG_CONFIG --exists --print-errors "mozilla-gtkmozembed >= 0.21 gtk+-2.0") 2>&5
51079
 
-  ac_status=$?
51080
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
51081
 
-  (exit $ac_status); }; then
51082
 
-  pkg_cv_XUL19_CFLAGS=`$PKG_CONFIG --cflags "mozilla-gtkmozembed >= 0.21 gtk+-2.0" 2>/dev/null`
51083
 
-else
51084
 
-  pkg_failed=yes
51085
 
-fi
51086
 
- else
51087
 
-    pkg_failed=untried
51088
 
-fi
51089
 
-if test -n "$XUL19_LIBS"; then
51090
 
-    pkg_cv_XUL19_LIBS="$XUL19_LIBS"
51091
 
- elif test -n "$PKG_CONFIG"; then
51092
 
-    if test -n "$PKG_CONFIG" && \
51093
 
-    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"mozilla-gtkmozembed >= 0.21 gtk+-2.0\"") >&5
51094
 
-  ($PKG_CONFIG --exists --print-errors "mozilla-gtkmozembed >= 0.21 gtk+-2.0") 2>&5
51095
 
-  ac_status=$?
51096
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
51097
 
-  (exit $ac_status); }; then
51098
 
-  pkg_cv_XUL19_LIBS=`$PKG_CONFIG --libs "mozilla-gtkmozembed >= 0.21 gtk+-2.0" 2>/dev/null`
51099
 
-else
51100
 
-  pkg_failed=yes
51101
 
-fi
51102
 
- else
51103
 
-    pkg_failed=untried
51104
 
-fi
51105
 
+exec 6>&1
51106
 
+## ----------------------------------- ##
51107
 
+## Main body of $CONFIG_STATUS script. ##
51108
 
+## ----------------------------------- ##
51109
 
+_ASEOF
51110
 
+test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
51111
 
 
51112
 
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
51113
 
+# Save the log message, to keep $0 and so on meaningful, and to
51114
 
+# report actual input values of CONFIG_FILES etc. instead of their
51115
 
+# values after options handling.
51116
 
+ac_log="
51117
 
+This file was extended by gnome-python-extras $as_me 2.25.3, which was
51118
 
+generated by GNU Autoconf 2.64.  Invocation command line was
51119
 
 
51120
 
+  CONFIG_FILES    = $CONFIG_FILES
51121
 
+  CONFIG_HEADERS  = $CONFIG_HEADERS
51122
 
+  CONFIG_LINKS    = $CONFIG_LINKS
51123
 
+  CONFIG_COMMANDS = $CONFIG_COMMANDS
51124
 
+  $ $0 $@
51125
 
 
51126
 
-if test $pkg_failed = yes; then
51127
 
+on `(hostname || uname -n) 2>/dev/null | sed 1q`
51128
 
+"
51129
 
 
51130
 
-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
51131
 
-        _pkg_short_errors_supported=yes
51132
 
-else
51133
 
-        _pkg_short_errors_supported=no
51134
 
-fi
51135
 
-        if test $_pkg_short_errors_supported = yes; then
51136
 
-               XUL19_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "mozilla-gtkmozembed >= 0.21 gtk+-2.0" 2>&1`
51137
 
-        else
51138
 
-               XUL19_PKG_ERRORS=`$PKG_CONFIG --print-errors "mozilla-gtkmozembed >= 0.21 gtk+-2.0" 2>&1`
51139
 
-        fi
51140
 
-       # Put the nasty error message in config.log where it belongs
51141
 
-       echo "$XUL19_PKG_ERRORS" >&5
51142
 
+_ACEOF
51143
 
 
51144
 
-       { $as_echo "$as_me:$LINENO: result: no" >&5
51145
 
-$as_echo "no" >&6; }
51146
 
-                GTKMOZEMBED_CODEGEN_DEFINES=""
51147
 
-elif test $pkg_failed = untried; then
51148
 
-       GTKMOZEMBED_CODEGEN_DEFINES=""
51149
 
-else
51150
 
-       XUL19_CFLAGS=$pkg_cv_XUL19_CFLAGS
51151
 
-       XUL19_LIBS=$pkg_cv_XUL19_LIBS
51152
 
-        { $as_echo "$as_me:$LINENO: result: yes" >&5
51153
 
-$as_echo "yes" >&6; }
51154
 
-       GTKMOZEMBED_CODEGEN_DEFINES="-DHAVE_XUL19"
51155
 
-fi
51156
 
-         { $as_echo "$as_me:$LINENO: result: $GTKMOZEMBED_CODEGEN_DEFINES" >&5
51157
 
-$as_echo "$GTKMOZEMBED_CODEGEN_DEFINES" >&6; }
51158
 
-         ;;
51159
 
-     *) { { $as_echo "$as_me:$LINENO: error: --with-gtkmozembed argument must be either 'mozilla', 'firefox', or 'xulrunner'" >&5
51160
 
-$as_echo "$as_me: error: --with-gtkmozembed argument must be either 'mozilla', 'firefox', or 'xulrunner'" >&2;}
51161
 
-   { (exit 1); exit 1; }; }
51162
 
+case $ac_config_files in *"
51163
 
+"*) set x $ac_config_files; shift; ac_config_files=$*;;
51164
 
 esac
51165
 
 
51166
 
+case $ac_config_headers in *"
51167
 
+"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
51168
 
+esac
51169
 
 
51170
 
 
51171
 
-pkg_failed=no
51172
 
-{ $as_echo "$as_me:$LINENO: checking for GTKMOZEMBED" >&5
51173
 
-$as_echo_n "checking for GTKMOZEMBED... " >&6; }
51174
 
-
51175
 
-if test -n "$GTKMOZEMBED_CFLAGS"; then
51176
 
-    pkg_cv_GTKMOZEMBED_CFLAGS="$GTKMOZEMBED_CFLAGS"
51177
 
- elif test -n "$PKG_CONFIG"; then
51178
 
-    if test -n "$PKG_CONFIG" && \
51179
 
-    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$mozpackage-gtkmozembed >= \$mozpackage_required_version,
51180
 
-                                gtk+-2.0                >= 2.4.0\"") >&5
51181
 
-  ($PKG_CONFIG --exists --print-errors "$mozpackage-gtkmozembed >= $mozpackage_required_version,
51182
 
-                                gtk+-2.0                >= 2.4.0") 2>&5
51183
 
-  ac_status=$?
51184
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
51185
 
-  (exit $ac_status); }; then
51186
 
-  pkg_cv_GTKMOZEMBED_CFLAGS=`$PKG_CONFIG --cflags "$mozpackage-gtkmozembed >= $mozpackage_required_version,
51187
 
-                                gtk+-2.0                >= 2.4.0" 2>/dev/null`
51188
 
-else
51189
 
-  pkg_failed=yes
51190
 
-fi
51191
 
- else
51192
 
-    pkg_failed=untried
51193
 
-fi
51194
 
-if test -n "$GTKMOZEMBED_LIBS"; then
51195
 
-    pkg_cv_GTKMOZEMBED_LIBS="$GTKMOZEMBED_LIBS"
51196
 
- elif test -n "$PKG_CONFIG"; then
51197
 
-    if test -n "$PKG_CONFIG" && \
51198
 
-    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$mozpackage-gtkmozembed >= \$mozpackage_required_version,
51199
 
-                                gtk+-2.0                >= 2.4.0\"") >&5
51200
 
-  ($PKG_CONFIG --exists --print-errors "$mozpackage-gtkmozembed >= $mozpackage_required_version,
51201
 
-                                gtk+-2.0                >= 2.4.0") 2>&5
51202
 
-  ac_status=$?
51203
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
51204
 
-  (exit $ac_status); }; then
51205
 
-  pkg_cv_GTKMOZEMBED_LIBS=`$PKG_CONFIG --libs "$mozpackage-gtkmozembed >= $mozpackage_required_version,
51206
 
-                                gtk+-2.0                >= 2.4.0" 2>/dev/null`
51207
 
-else
51208
 
-  pkg_failed=yes
51209
 
-fi
51210
 
- else
51211
 
-    pkg_failed=untried
51212
 
-fi
51213
 
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
51214
 
+# Files that config.status was made for.
51215
 
+config_files="$ac_config_files"
51216
 
+config_headers="$ac_config_headers"
51217
 
+config_commands="$ac_config_commands"
51218
 
 
51219
 
+_ACEOF
51220
 
 
51221
 
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
51222
 
+ac_cs_usage="\
51223
 
+\`$as_me' instantiates files and other configuration actions
51224
 
+from templates according to the current configuration.  Unless the files
51225
 
+and actions are specified as TAGs, all are instantiated by default.
51226
 
 
51227
 
-if test $pkg_failed = yes; then
51228
 
+Usage: $0 [OPTION]... [TAG]...
51229
 
 
51230
 
-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
51231
 
-        _pkg_short_errors_supported=yes
51232
 
-else
51233
 
-        _pkg_short_errors_supported=no
51234
 
-fi
51235
 
-        if test $_pkg_short_errors_supported = yes; then
51236
 
-               GTKMOZEMBED_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$mozpackage-gtkmozembed >= $mozpackage_required_version,
51237
 
-                                gtk+-2.0                >= 2.4.0" 2>&1`
51238
 
-        else
51239
 
-               GTKMOZEMBED_PKG_ERRORS=`$PKG_CONFIG --print-errors "$mozpackage-gtkmozembed >= $mozpackage_required_version,
51240
 
-                                gtk+-2.0                >= 2.4.0" 2>&1`
51241
 
-        fi
51242
 
-       # Put the nasty error message in config.log where it belongs
51243
 
-       echo "$GTKMOZEMBED_PKG_ERRORS" >&5
51244
 
+  -h, --help       print this help, then exit
51245
 
+  -V, --version    print version number and configuration settings, then exit
51246
 
+  -q, --quiet, --silent
51247
 
+                   do not print progress messages
51248
 
+  -d, --debug      don't remove temporary files
51249
 
+      --recheck    update $as_me by reconfiguring in the same conditions
51250
 
+      --file=FILE[:TEMPLATE]
51251
 
+                   instantiate the configuration file FILE
51252
 
+      --header=FILE[:TEMPLATE]
51253
 
+                   instantiate the configuration header FILE
51254
 
 
51255
 
-       { $as_echo "$as_me:$LINENO: result: no" >&5
51256
 
-$as_echo "no" >&6; }
51257
 
-                build_gtkmozembed=false
51258
 
-elif test $pkg_failed = untried; then
51259
 
-       build_gtkmozembed=false
51260
 
-else
51261
 
-       GTKMOZEMBED_CFLAGS=$pkg_cv_GTKMOZEMBED_CFLAGS
51262
 
-       GTKMOZEMBED_LIBS=$pkg_cv_GTKMOZEMBED_LIBS
51263
 
-        { $as_echo "$as_me:$LINENO: result: yes" >&5
51264
 
-$as_echo "yes" >&6; }
51265
 
-       build_gtkmozembed=true
51266
 
-fi
51267
 
+Configuration files:
51268
 
+$config_files
51269
 
 
51270
 
-fi
51271
 
+Configuration headers:
51272
 
+$config_headers
51273
 
 
51274
 
- if $build_gtkmozembed; then
51275
 
-  BUILD_GTKMOZEMBED_TRUE=
51276
 
-  BUILD_GTKMOZEMBED_FALSE='#'
51277
 
-else
51278
 
-  BUILD_GTKMOZEMBED_TRUE='#'
51279
 
-  BUILD_GTKMOZEMBED_FALSE=
51280
 
-fi
51281
 
+Configuration commands:
51282
 
+$config_commands
51283
 
 
51284
 
-if test -n "$export_dynamic"; then
51285
 
-  GTKMOZEMBED_LIBS=`echo $GTKMOZEMBED_LIBS | sed -e "s/$export_dynamic//"`
51286
 
-fi
51287
 
-MOZILLA_HOME="`$PKG_CONFIG --variable=libdir $mozpackage-gtkmozembed`"
51288
 
-if test -z "$MOZILLA_HOME"; then
51289
 
-   MOZILLA_HOME="`$PKG_CONFIG --variable=sdkdir $mozpackage-gtkmozembed`/lib"
51290
 
-fi
51291
 
+Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-python>."
51292
 
 
51293
 
+_ACEOF
51294
 
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
51295
 
+ac_cs_version="\\
51296
 
+gnome-python-extras config.status 2.25.3
51297
 
+configured by $0, generated by GNU Autoconf 2.64,
51298
 
+  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
51299
 
 
51300
 
-fi # if build_gtkmozembed
51301
 
+Copyright (C) 2009 Free Software Foundation, Inc.
51302
 
+This config.status script is free software; the Free Software Foundation
51303
 
+gives unlimited permission to copy, distribute and modify it."
51304
 
 
51305
 
- if $build_gtkmozembed; then
51306
 
-  BUILD_GTKMOZEMBED_TRUE=
51307
 
-  BUILD_GTKMOZEMBED_FALSE='#'
51308
 
-else
51309
 
-  BUILD_GTKMOZEMBED_TRUE='#'
51310
 
-  BUILD_GTKMOZEMBED_FALSE=
51311
 
-fi
51312
 
+ac_pwd='$ac_pwd'
51313
 
+srcdir='$srcdir'
51314
 
+INSTALL='$INSTALL'
51315
 
+MKDIR_P='$MKDIR_P'
51316
 
+AWK='$AWK'
51317
 
+test -n "\$AWK" || AWK=awk
51318
 
+_ACEOF
51319
 
 
51320
 
-if test -n "$export_dynamic"; then
51321
 
-  GTKMOZEMBED_LIBS=`echo $GTKMOZEMBED_LIBS | sed -e "s/$export_dynamic//"`
51322
 
-fi
51323
 
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
51324
 
+# The default lists apply if the user does not specify any file.
51325
 
+ac_need_defaults=:
51326
 
+while test $# != 0
51327
 
+do
51328
 
+  case $1 in
51329
 
+  --*=*)
51330
 
+    ac_option=`expr "X$1" : 'X\([^=]*\)='`
51331
 
+    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
51332
 
+    ac_shift=:
51333
 
+    ;;
51334
 
+  *)
51335
 
+    ac_option=$1
51336
 
+    ac_optarg=$2
51337
 
+    ac_shift=shift
51338
 
+    ;;
51339
 
+  esac
51340
 
 
51341
 
+  case $ac_option in
51342
 
+  # Handling of the options.
51343
 
+  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51344
 
+    ac_cs_recheck=: ;;
51345
 
+  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
51346
 
+    $as_echo "$ac_cs_version"; exit ;;
51347
 
+  --debug | --debu | --deb | --de | --d | -d )
51348
 
+    debug=: ;;
51349
 
+  --file | --fil | --fi | --f )
51350
 
+    $ac_shift
51351
 
+    case $ac_optarg in
51352
 
+    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
51353
 
+    esac
51354
 
+    as_fn_append CONFIG_FILES " '$ac_optarg'"
51355
 
+    ac_need_defaults=false;;
51356
 
+  --header | --heade | --head | --hea )
51357
 
+    $ac_shift
51358
 
+    case $ac_optarg in
51359
 
+    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
51360
 
+    esac
51361
 
+    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
51362
 
+    ac_need_defaults=false;;
51363
 
+  --he | --h)
51364
 
+    # Conflict between --help and --header
51365
 
+    as_fn_error "ambiguous option: \`$1'
51366
 
+Try \`$0 --help' for more information.";;
51367
 
+  --help | --hel | -h )
51368
 
+    $as_echo "$ac_cs_usage"; exit ;;
51369
 
+  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51370
 
+  | -silent | --silent | --silen | --sile | --sil | --si | --s)
51371
 
+    ac_cs_silent=: ;;
51372
 
 
51373
 
-# Check whether --enable-gtkspell was given.
51374
 
-if test "${enable_gtkspell+set}" = set; then
51375
 
-  enableval=$enable_gtkspell; if test "$enable_gtkspell" = "yes"; then
51376
 
-                       build_gtkspell=true
51377
 
-                         else
51378
 
-                               build_gtkspell=false
51379
 
-                        fi
51380
 
-fi
51381
 
+  # This is an error.
51382
 
+  -*) as_fn_error "unrecognized option: \`$1'
51383
 
+Try \`$0 --help' for more information." ;;
51384
 
 
51385
 
+  *) as_fn_append ac_config_targets " $1"
51386
 
+     ac_need_defaults=false ;;
51387
 
 
51388
 
-if $build_gtkspell; then
51389
 
+  esac
51390
 
+  shift
51391
 
+done
51392
 
 
51393
 
-pkg_failed=no
51394
 
-{ $as_echo "$as_me:$LINENO: checking for GTKSPELL" >&5
51395
 
-$as_echo_n "checking for GTKSPELL... " >&6; }
51396
 
+ac_configure_extra_args=
51397
 
 
51398
 
-if test -n "$GTKSPELL_CFLAGS"; then
51399
 
-    pkg_cv_GTKSPELL_CFLAGS="$GTKSPELL_CFLAGS"
51400
 
- elif test -n "$PKG_CONFIG"; then
51401
 
-    if test -n "$PKG_CONFIG" && \
51402
 
-    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtkspell-2.0 >= 2.0.0 pygtk-2.0 >= 2.4.0\"") >&5
51403
 
-  ($PKG_CONFIG --exists --print-errors "gtkspell-2.0 >= 2.0.0 pygtk-2.0 >= 2.4.0") 2>&5
51404
 
-  ac_status=$?
51405
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
51406
 
-  (exit $ac_status); }; then
51407
 
-  pkg_cv_GTKSPELL_CFLAGS=`$PKG_CONFIG --cflags "gtkspell-2.0 >= 2.0.0 pygtk-2.0 >= 2.4.0" 2>/dev/null`
51408
 
-else
51409
 
-  pkg_failed=yes
51410
 
-fi
51411
 
- else
51412
 
-    pkg_failed=untried
51413
 
-fi
51414
 
-if test -n "$GTKSPELL_LIBS"; then
51415
 
-    pkg_cv_GTKSPELL_LIBS="$GTKSPELL_LIBS"
51416
 
- elif test -n "$PKG_CONFIG"; then
51417
 
-    if test -n "$PKG_CONFIG" && \
51418
 
-    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtkspell-2.0 >= 2.0.0 pygtk-2.0 >= 2.4.0\"") >&5
51419
 
-  ($PKG_CONFIG --exists --print-errors "gtkspell-2.0 >= 2.0.0 pygtk-2.0 >= 2.4.0") 2>&5
51420
 
-  ac_status=$?
51421
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
51422
 
-  (exit $ac_status); }; then
51423
 
-  pkg_cv_GTKSPELL_LIBS=`$PKG_CONFIG --libs "gtkspell-2.0 >= 2.0.0 pygtk-2.0 >= 2.4.0" 2>/dev/null`
51424
 
-else
51425
 
-  pkg_failed=yes
51426
 
-fi
51427
 
- else
51428
 
-    pkg_failed=untried
51429
 
+if $ac_cs_silent; then
51430
 
+  exec 6>/dev/null
51431
 
+  ac_configure_extra_args="$ac_configure_extra_args --silent"
51432
 
 fi
51433
 
 
51434
 
+_ACEOF
51435
 
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
51436
 
+if \$ac_cs_recheck; then
51437
 
+  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51438
 
+  shift
51439
 
+  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
51440
 
+  CONFIG_SHELL='$SHELL'
51441
 
+  export CONFIG_SHELL
51442
 
+  exec "\$@"
51443
 
+fi
51444
 
 
51445
 
+_ACEOF
51446
 
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
51447
 
+exec 5>>config.log
51448
 
+{
51449
 
+  echo
51450
 
+  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51451
 
+## Running $as_me. ##
51452
 
+_ASBOX
51453
 
+  $as_echo "$ac_log"
51454
 
+} >&5
51455
 
 
51456
 
-if test $pkg_failed = yes; then
51457
 
-
51458
 
-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
51459
 
-        _pkg_short_errors_supported=yes
51460
 
-else
51461
 
-        _pkg_short_errors_supported=no
51462
 
-fi
51463
 
-        if test $_pkg_short_errors_supported = yes; then
51464
 
-               GTKSPELL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtkspell-2.0 >= 2.0.0 pygtk-2.0 >= 2.4.0" 2>&1`
51465
 
-        else
51466
 
-               GTKSPELL_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtkspell-2.0 >= 2.0.0 pygtk-2.0 >= 2.4.0" 2>&1`
51467
 
-        fi
51468
 
-       # Put the nasty error message in config.log where it belongs
51469
 
-       echo "$GTKSPELL_PKG_ERRORS" >&5
51470
 
+_ACEOF
51471
 
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
51472
 
+#
51473
 
+# INIT-COMMANDS
51474
 
+#
51475
 
+AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
51476
 
 
51477
 
-       { $as_echo "$as_me:$LINENO: result: no" >&5
51478
 
-$as_echo "no" >&6; }
51479
 
-                build_gtkspell=false
51480
 
-elif test $pkg_failed = untried; then
51481
 
-       build_gtkspell=false
51482
 
-else
51483
 
-       GTKSPELL_CFLAGS=$pkg_cv_GTKSPELL_CFLAGS
51484
 
-       GTKSPELL_LIBS=$pkg_cv_GTKSPELL_LIBS
51485
 
-        { $as_echo "$as_me:$LINENO: result: yes" >&5
51486
 
-$as_echo "yes" >&6; }
51487
 
-       build_gtkspell=true
51488
 
-fi
51489
 
-fi
51490
 
- if $build_gtkspell; then
51491
 
-  BUILD_GTKSPELL_TRUE=
51492
 
-  BUILD_GTKSPELL_FALSE='#'
51493
 
-else
51494
 
-  BUILD_GTKSPELL_TRUE='#'
51495
 
-  BUILD_GTKSPELL_FALSE=
51496
 
-fi
51497
 
 
51498
 
-if test -n "$export_dynamic"; then
51499
 
-  GTKSPELL_LIBS=`echo $GTKSPELL_LIBS | sed -e "s/$export_dynamic//"`
51500
 
-fi
51501
 
+# The HP-UX ksh and POSIX shell print the target directory to stdout
51502
 
+# if CDPATH is set.
51503
 
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
51504
 
 
51505
 
-# Check whether --enable-gdl was given.
51506
 
-if test "${enable_gdl+set}" = set; then
51507
 
-  enableval=$enable_gdl; if test "$enable_gdl" = "yes"; then
51508
 
-                       build_gdl=true
51509
 
-                         else
51510
 
-                               build_gdl=false
51511
 
-                        fi
51512
 
-fi
51513
 
+sed_quote_subst='$sed_quote_subst'
51514
 
+double_quote_subst='$double_quote_subst'
51515
 
+delay_variable_subst='$delay_variable_subst'
51516
 
+enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
51517
 
+AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
51518
 
+DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
51519
 
+OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
51520
 
+macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
51521
 
+macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
51522
 
+enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
51523
 
+pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
51524
 
+enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
51525
 
+host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
51526
 
+host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
51527
 
+host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
51528
 
+build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
51529
 
+build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
51530
 
+build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
51531
 
+SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
51532
 
+Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
51533
 
+GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
51534
 
+EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
51535
 
+FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
51536
 
+LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
51537
 
+NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
51538
 
+LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
51539
 
+max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
51540
 
+ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
51541
 
+exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
51542
 
+lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
51543
 
+lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
51544
 
+lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
51545
 
+reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
51546
 
+reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
51547
 
+deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
51548
 
+file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
51549
 
+AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
51550
 
+AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
51551
 
+STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
51552
 
+RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
51553
 
+old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
51554
 
+old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
51555
 
+old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
51556
 
+CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
51557
 
+CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
51558
 
+compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
51559
 
+GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
51560
 
+lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
51561
 
+lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
51562
 
+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"`'
51563
 
+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"`'
51564
 
+objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
51565
 
+SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
51566
 
+ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
51567
 
+MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
51568
 
+lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
51569
 
+lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
51570
 
+lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
51571
 
+lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
51572
 
+lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
51573
 
+need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
51574
 
+DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
51575
 
+NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
51576
 
+LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
51577
 
+OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
51578
 
+OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
51579
 
+libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
51580
 
+shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
51581
 
+extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
51582
 
+archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
51583
 
+enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
51584
 
+export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
51585
 
+whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
51586
 
+compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
51587
 
+old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
51588
 
+old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
51589
 
+archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
51590
 
+archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
51591
 
+module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
51592
 
+module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
51593
 
+with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
51594
 
+allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
51595
 
+no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
51596
 
+hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
51597
 
+hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
51598
 
+hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
51599
 
+hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
51600
 
+hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
51601
 
+hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
51602
 
+hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
51603
 
+hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
51604
 
+inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
51605
 
+link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
51606
 
+fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
51607
 
+always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
51608
 
+export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
51609
 
+exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
51610
 
+include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
51611
 
+prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
51612
 
+file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
51613
 
+variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
51614
 
+need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
51615
 
+need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
51616
 
+version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
51617
 
+runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
51618
 
+shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
51619
 
+shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
51620
 
+libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
51621
 
+library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
51622
 
+soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
51623
 
+postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
51624
 
+postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
51625
 
+finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
51626
 
+finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
51627
 
+hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
51628
 
+sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
51629
 
+sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
51630
 
+hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
51631
 
+enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
51632
 
+enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
51633
 
+enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
51634
 
+old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
51635
 
+striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
51636
 
+compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
51637
 
+predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
51638
 
+postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
51639
 
+predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
51640
 
+postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
51641
 
+compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
51642
 
+LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
51643
 
+old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
51644
 
+compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
51645
 
+GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
51646
 
+lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
51647
 
+lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
51648
 
+lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
51649
 
+lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
51650
 
+lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
51651
 
+archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
51652
 
+enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
51653
 
+export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
51654
 
+whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
51655
 
+compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
51656
 
+old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
51657
 
+old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
51658
 
+archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
51659
 
+archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
51660
 
+module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
51661
 
+module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
51662
 
+with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
51663
 
+allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
51664
 
+no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
51665
 
+hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
51666
 
+hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
51667
 
+hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
51668
 
+hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
51669
 
+hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
51670
 
+hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
51671
 
+hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
51672
 
+hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
51673
 
+inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
51674
 
+link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
51675
 
+fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
51676
 
+always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
51677
 
+export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
51678
 
+exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
51679
 
+include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
51680
 
+prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
51681
 
+file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
51682
 
+hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
51683
 
+compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
51684
 
+predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
51685
 
+postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
51686
 
+predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
51687
 
+postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
51688
 
+compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
51689
 
+
51690
 
+LTCC='$LTCC'
51691
 
+LTCFLAGS='$LTCFLAGS'
51692
 
+compiler='$compiler_DEFAULT'
51693
 
+
51694
 
+# Quote evaled strings.
51695
 
+for var in SED \
51696
 
+GREP \
51697
 
+EGREP \
51698
 
+FGREP \
51699
 
+LD \
51700
 
+NM \
51701
 
+LN_S \
51702
 
+lt_SP2NL \
51703
 
+lt_NL2SP \
51704
 
+reload_flag \
51705
 
+deplibs_check_method \
51706
 
+file_magic_cmd \
51707
 
+AR \
51708
 
+AR_FLAGS \
51709
 
+STRIP \
51710
 
+RANLIB \
51711
 
+CC \
51712
 
+CFLAGS \
51713
 
+compiler \
51714
 
+lt_cv_sys_global_symbol_pipe \
51715
 
+lt_cv_sys_global_symbol_to_cdecl \
51716
 
+lt_cv_sys_global_symbol_to_c_name_address \
51717
 
+lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
51718
 
+SHELL \
51719
 
+ECHO \
51720
 
+lt_prog_compiler_no_builtin_flag \
51721
 
+lt_prog_compiler_wl \
51722
 
+lt_prog_compiler_pic \
51723
 
+lt_prog_compiler_static \
51724
 
+lt_cv_prog_compiler_c_o \
51725
 
+need_locks \
51726
 
+DSYMUTIL \
51727
 
+NMEDIT \
51728
 
+LIPO \
51729
 
+OTOOL \
51730
 
+OTOOL64 \
51731
 
+shrext_cmds \
51732
 
+export_dynamic_flag_spec \
51733
 
+whole_archive_flag_spec \
51734
 
+compiler_needs_object \
51735
 
+with_gnu_ld \
51736
 
+allow_undefined_flag \
51737
 
+no_undefined_flag \
51738
 
+hardcode_libdir_flag_spec \
51739
 
+hardcode_libdir_flag_spec_ld \
51740
 
+hardcode_libdir_separator \
51741
 
+fix_srcfile_path \
51742
 
+exclude_expsyms \
51743
 
+include_expsyms \
51744
 
+file_list_spec \
51745
 
+variables_saved_for_relink \
51746
 
+libname_spec \
51747
 
+library_names_spec \
51748
 
+soname_spec \
51749
 
+finish_eval \
51750
 
+old_striplib \
51751
 
+striplib \
51752
 
+compiler_lib_search_dirs \
51753
 
+predep_objects \
51754
 
+postdep_objects \
51755
 
+predeps \
51756
 
+postdeps \
51757
 
+compiler_lib_search_path \
51758
 
+LD_CXX \
51759
 
+compiler_CXX \
51760
 
+lt_prog_compiler_no_builtin_flag_CXX \
51761
 
+lt_prog_compiler_wl_CXX \
51762
 
+lt_prog_compiler_pic_CXX \
51763
 
+lt_prog_compiler_static_CXX \
51764
 
+lt_cv_prog_compiler_c_o_CXX \
51765
 
+export_dynamic_flag_spec_CXX \
51766
 
+whole_archive_flag_spec_CXX \
51767
 
+compiler_needs_object_CXX \
51768
 
+with_gnu_ld_CXX \
51769
 
+allow_undefined_flag_CXX \
51770
 
+no_undefined_flag_CXX \
51771
 
+hardcode_libdir_flag_spec_CXX \
51772
 
+hardcode_libdir_flag_spec_ld_CXX \
51773
 
+hardcode_libdir_separator_CXX \
51774
 
+fix_srcfile_path_CXX \
51775
 
+exclude_expsyms_CXX \
51776
 
+include_expsyms_CXX \
51777
 
+file_list_spec_CXX \
51778
 
+compiler_lib_search_dirs_CXX \
51779
 
+predep_objects_CXX \
51780
 
+postdep_objects_CXX \
51781
 
+predeps_CXX \
51782
 
+postdeps_CXX \
51783
 
+compiler_lib_search_path_CXX; do
51784
 
+    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
51785
 
+    *[\\\\\\\`\\"\\\$]*)
51786
 
+      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
51787
 
+      ;;
51788
 
+    *)
51789
 
+      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
51790
 
+      ;;
51791
 
+    esac
51792
 
+done
51793
 
 
51794
 
+# Double-quote double-evaled strings.
51795
 
+for var in reload_cmds \
51796
 
+old_postinstall_cmds \
51797
 
+old_postuninstall_cmds \
51798
 
+old_archive_cmds \
51799
 
+extract_expsyms_cmds \
51800
 
+old_archive_from_new_cmds \
51801
 
+old_archive_from_expsyms_cmds \
51802
 
+archive_cmds \
51803
 
+archive_expsym_cmds \
51804
 
+module_cmds \
51805
 
+module_expsym_cmds \
51806
 
+export_symbols_cmds \
51807
 
+prelink_cmds \
51808
 
+postinstall_cmds \
51809
 
+postuninstall_cmds \
51810
 
+finish_cmds \
51811
 
+sys_lib_search_path_spec \
51812
 
+sys_lib_dlsearch_path_spec \
51813
 
+old_archive_cmds_CXX \
51814
 
+old_archive_from_new_cmds_CXX \
51815
 
+old_archive_from_expsyms_cmds_CXX \
51816
 
+archive_cmds_CXX \
51817
 
+archive_expsym_cmds_CXX \
51818
 
+module_cmds_CXX \
51819
 
+module_expsym_cmds_CXX \
51820
 
+export_symbols_cmds_CXX \
51821
 
+prelink_cmds_CXX; do
51822
 
+    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
51823
 
+    *[\\\\\\\`\\"\\\$]*)
51824
 
+      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
51825
 
+      ;;
51826
 
+    *)
51827
 
+      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
51828
 
+      ;;
51829
 
+    esac
51830
 
+done
51831
 
 
51832
 
-if $build_gdl; then
51833
 
-  have_gdl07=false
51834
 
+# Fix-up fallback echo if it was mangled by the above quoting rules.
51835
 
+case \$lt_ECHO in
51836
 
+*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
51837
 
+  ;;
51838
 
+esac
51839
 
 
51840
 
-pkg_failed=no
51841
 
-{ $as_echo "$as_me:$LINENO: checking for GDL" >&5
51842
 
-$as_echo_n "checking for GDL... " >&6; }
51843
 
+ac_aux_dir='$ac_aux_dir'
51844
 
+xsi_shell='$xsi_shell'
51845
 
+lt_shell_append='$lt_shell_append'
51846
 
 
51847
 
-if test -n "$GDL_CFLAGS"; then
51848
 
-    pkg_cv_GDL_CFLAGS="$GDL_CFLAGS"
51849
 
- elif test -n "$PKG_CONFIG"; then
51850
 
-    if test -n "$PKG_CONFIG" && \
51851
 
-    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gdl-1.0 >= 0.7.1 gdl-gnome-1.0 >= 0.7.1 pygtk-2.0 >= 2.4.0\"") >&5
51852
 
-  ($PKG_CONFIG --exists --print-errors "gdl-1.0 >= 0.7.1 gdl-gnome-1.0 >= 0.7.1 pygtk-2.0 >= 2.4.0") 2>&5
51853
 
-  ac_status=$?
51854
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
51855
 
-  (exit $ac_status); }; then
51856
 
-  pkg_cv_GDL_CFLAGS=`$PKG_CONFIG --cflags "gdl-1.0 >= 0.7.1 gdl-gnome-1.0 >= 0.7.1 pygtk-2.0 >= 2.4.0" 2>/dev/null`
51857
 
-else
51858
 
-  pkg_failed=yes
51859
 
-fi
51860
 
- else
51861
 
-    pkg_failed=untried
51862
 
-fi
51863
 
-if test -n "$GDL_LIBS"; then
51864
 
-    pkg_cv_GDL_LIBS="$GDL_LIBS"
51865
 
- elif test -n "$PKG_CONFIG"; then
51866
 
-    if test -n "$PKG_CONFIG" && \
51867
 
-    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gdl-1.0 >= 0.7.1 gdl-gnome-1.0 >= 0.7.1 pygtk-2.0 >= 2.4.0\"") >&5
51868
 
-  ($PKG_CONFIG --exists --print-errors "gdl-1.0 >= 0.7.1 gdl-gnome-1.0 >= 0.7.1 pygtk-2.0 >= 2.4.0") 2>&5
51869
 
-  ac_status=$?
51870
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
51871
 
-  (exit $ac_status); }; then
51872
 
-  pkg_cv_GDL_LIBS=`$PKG_CONFIG --libs "gdl-1.0 >= 0.7.1 gdl-gnome-1.0 >= 0.7.1 pygtk-2.0 >= 2.4.0" 2>/dev/null`
51873
 
-else
51874
 
-  pkg_failed=yes
51875
 
-fi
51876
 
- else
51877
 
-    pkg_failed=untried
51878
 
+# See if we are running on zsh, and set the options which allow our
51879
 
+# commands through without removal of \ escapes INIT.
51880
 
+if test -n "\${ZSH_VERSION+set}" ; then
51881
 
+   setopt NO_GLOB_SUBST
51882
 
 fi
51883
 
 
51884
 
 
51885
 
+    PACKAGE='$PACKAGE'
51886
 
+    VERSION='$VERSION'
51887
 
+    TIMESTAMP='$TIMESTAMP'
51888
 
+    RM='$RM'
51889
 
+    ofile='$ofile'
51890
 
 
51891
 
-if test $pkg_failed = yes; then
51892
 
 
51893
 
-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
51894
 
-        _pkg_short_errors_supported=yes
51895
 
-else
51896
 
-        _pkg_short_errors_supported=no
51897
 
-fi
51898
 
-        if test $_pkg_short_errors_supported = yes; then
51899
 
-               GDL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gdl-1.0 >= 0.7.1 gdl-gnome-1.0 >= 0.7.1 pygtk-2.0 >= 2.4.0" 2>&1`
51900
 
-        else
51901
 
-               GDL_PKG_ERRORS=`$PKG_CONFIG --print-errors "gdl-1.0 >= 0.7.1 gdl-gnome-1.0 >= 0.7.1 pygtk-2.0 >= 2.4.0" 2>&1`
51902
 
-        fi
51903
 
-       # Put the nasty error message in config.log where it belongs
51904
 
-       echo "$GDL_PKG_ERRORS" >&5
51905
 
 
51906
 
-       { $as_echo "$as_me:$LINENO: result: no" >&5
51907
 
-$as_echo "no" >&6; }
51908
 
-                build_gdl=false
51909
 
-elif test $pkg_failed = untried; then
51910
 
-       build_gdl=false
51911
 
-else
51912
 
-       GDL_CFLAGS=$pkg_cv_GDL_CFLAGS
51913
 
-       GDL_LIBS=$pkg_cv_GDL_LIBS
51914
 
-        { $as_echo "$as_me:$LINENO: result: yes" >&5
51915
 
-$as_echo "yes" >&6; }
51916
 
-                           build_gdl=true; have_gdl07=true
51917
 
-fi
51918
 
 
51919
 
-    if ! $build_gdl; then
51920
 
 
51921
 
-pkg_failed=no
51922
 
-{ $as_echo "$as_me:$LINENO: checking for GDL" >&5
51923
 
-$as_echo_n "checking for GDL... " >&6; }
51924
 
 
51925
 
-if test -n "$GDL_CFLAGS"; then
51926
 
-    pkg_cv_GDL_CFLAGS="$GDL_CFLAGS"
51927
 
- elif test -n "$PKG_CONFIG"; then
51928
 
-    if test -n "$PKG_CONFIG" && \
51929
 
-    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gdl-1.0 >= 0.6.1 pygtk-2.0 >= 2.4.0\"") >&5
51930
 
-  ($PKG_CONFIG --exists --print-errors "gdl-1.0 >= 0.6.1 pygtk-2.0 >= 2.4.0") 2>&5
51931
 
-  ac_status=$?
51932
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
51933
 
-  (exit $ac_status); }; then
51934
 
-  pkg_cv_GDL_CFLAGS=`$PKG_CONFIG --cflags "gdl-1.0 >= 0.6.1 pygtk-2.0 >= 2.4.0" 2>/dev/null`
51935
 
-else
51936
 
-  pkg_failed=yes
51937
 
-fi
51938
 
- else
51939
 
-    pkg_failed=untried
51940
 
-fi
51941
 
-if test -n "$GDL_LIBS"; then
51942
 
-    pkg_cv_GDL_LIBS="$GDL_LIBS"
51943
 
- elif test -n "$PKG_CONFIG"; then
51944
 
-    if test -n "$PKG_CONFIG" && \
51945
 
-    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gdl-1.0 >= 0.6.1 pygtk-2.0 >= 2.4.0\"") >&5
51946
 
-  ($PKG_CONFIG --exists --print-errors "gdl-1.0 >= 0.6.1 pygtk-2.0 >= 2.4.0") 2>&5
51947
 
-  ac_status=$?
51948
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
51949
 
-  (exit $ac_status); }; then
51950
 
-  pkg_cv_GDL_LIBS=`$PKG_CONFIG --libs "gdl-1.0 >= 0.6.1 pygtk-2.0 >= 2.4.0" 2>/dev/null`
51951
 
-else
51952
 
-  pkg_failed=yes
51953
 
-fi
51954
 
- else
51955
 
-    pkg_failed=untried
51956
 
-fi
51957
 
+_ACEOF
51958
 
+
51959
 
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
51960
 
 
51961
 
+# Handling of arguments.
51962
 
+for ac_config_target in $ac_config_targets
51963
 
+do
51964
 
+  case $ac_config_target in
51965
 
+    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
51966
 
+    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
51967
 
+    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
51968
 
+    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
51969
 
+    "gtkhtml2/Makefile") CONFIG_FILES="$CONFIG_FILES gtkhtml2/Makefile" ;;
51970
 
+    "egg/Makefile") CONFIG_FILES="$CONFIG_FILES egg/Makefile" ;;
51971
 
+    "egg/tray/Makefile") CONFIG_FILES="$CONFIG_FILES egg/tray/Makefile" ;;
51972
 
+    "egg/recent/Makefile") CONFIG_FILES="$CONFIG_FILES egg/recent/Makefile" ;;
51973
 
+    "gtkmozembed/Makefile") CONFIG_FILES="$CONFIG_FILES gtkmozembed/Makefile" ;;
51974
 
+    "gtkspell/Makefile") CONFIG_FILES="$CONFIG_FILES gtkspell/Makefile" ;;
51975
 
+    "gdl/Makefile") CONFIG_FILES="$CONFIG_FILES gdl/Makefile" ;;
51976
 
+    "gda/Makefile") CONFIG_FILES="$CONFIG_FILES gda/Makefile" ;;
51977
 
+    "gda/pygda-4.0.pc") CONFIG_FILES="$CONFIG_FILES gda/pygda-4.0.pc" ;;
51978
 
+    "gksu2/Makefile") CONFIG_FILES="$CONFIG_FILES gksu2/Makefile" ;;
51979
 
+    "gksu/Makefile") CONFIG_FILES="$CONFIG_FILES gksu/Makefile" ;;
51980
 
+    "gnome-python-extras-2.0.pc") CONFIG_FILES="$CONFIG_FILES gnome-python-extras-2.0.pc" ;;
51981
 
+    "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
51982
 
+    "docs/gtkmozembed/Makefile") CONFIG_FILES="$CONFIG_FILES docs/gtkmozembed/Makefile" ;;
51983
 
+    "docs/gtkspell/Makefile") CONFIG_FILES="$CONFIG_FILES docs/gtkspell/Makefile" ;;
51984
 
+    "docs/gtkmozembed/entities.docbook") CONFIG_FILES="$CONFIG_FILES docs/gtkmozembed/entities.docbook" ;;
51985
 
+    "docs/gtkspell/entities.docbook") CONFIG_FILES="$CONFIG_FILES docs/gtkspell/entities.docbook" ;;
51986
 
 
51987
 
+  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
51988
 
+  esac
51989
 
+done
51990
 
 
51991
 
-if test $pkg_failed = yes; then
51992
 
 
51993
 
-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
51994
 
-        _pkg_short_errors_supported=yes
51995
 
-else
51996
 
-        _pkg_short_errors_supported=no
51997
 
+# If the user did not use the arguments to specify the items to instantiate,
51998
 
+# then the envvar interface is used.  Set only those that are not.
51999
 
+# We use the long form for the default assignment because of an extremely
52000
 
+# bizarre bug on SunOS 4.1.3.
52001
 
+if $ac_need_defaults; then
52002
 
+  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
52003
 
+  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
52004
 
+  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
52005
 
 fi
52006
 
-        if test $_pkg_short_errors_supported = yes; then
52007
 
-               GDL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gdl-1.0 >= 0.6.1 pygtk-2.0 >= 2.4.0" 2>&1`
52008
 
-        else
52009
 
-               GDL_PKG_ERRORS=`$PKG_CONFIG --print-errors "gdl-1.0 >= 0.6.1 pygtk-2.0 >= 2.4.0" 2>&1`
52010
 
-        fi
52011
 
-       # Put the nasty error message in config.log where it belongs
52012
 
-       echo "$GDL_PKG_ERRORS" >&5
52013
 
 
52014
 
-       { $as_echo "$as_me:$LINENO: result: no" >&5
52015
 
-$as_echo "no" >&6; }
52016
 
-                build_gdl=false
52017
 
-elif test $pkg_failed = untried; then
52018
 
-       build_gdl=false
52019
 
-else
52020
 
-       GDL_CFLAGS=$pkg_cv_GDL_CFLAGS
52021
 
-       GDL_LIBS=$pkg_cv_GDL_LIBS
52022
 
-        { $as_echo "$as_me:$LINENO: result: yes" >&5
52023
 
-$as_echo "yes" >&6; }
52024
 
-                             build_gdl=true
52025
 
-fi
52026
 
-  fi
52027
 
-fi
52028
 
+# Have a temporary directory for convenience.  Make it in the build tree
52029
 
+# simply because there is no reason against having it here, and in addition,
52030
 
+# creating and moving files from /tmp can sometimes cause problems.
52031
 
+# Hook for its removal unless debugging.
52032
 
+# Note that there is a small window in which the directory will not be cleaned:
52033
 
+# after its creation but before its name has been assigned to `$tmp'.
52034
 
+$debug ||
52035
 
+{
52036
 
+  tmp=
52037
 
+  trap 'exit_status=$?
52038
 
+  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
52039
 
+' 0
52040
 
+  trap 'as_fn_exit 1' 1 2 13 15
52041
 
+}
52042
 
+# Create a (secure) tmp directory for tmp files.
52043
 
 
52044
 
- if $build_gdl; then
52045
 
-  BUILD_GDL_TRUE=
52046
 
-  BUILD_GDL_FALSE='#'
52047
 
+{
52048
 
+  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
52049
 
+  test -n "$tmp" && test -d "$tmp"
52050
 
+}  ||
52051
 
+{
52052
 
+  tmp=./conf$$-$RANDOM
52053
 
+  (umask 077 && mkdir "$tmp")
52054
 
+} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
52055
 
+
52056
 
+# Set up the scripts for CONFIG_FILES section.
52057
 
+# No need to generate them if there are no CONFIG_FILES.
52058
 
+# This happens for instance with `./config.status config.h'.
52059
 
+if test -n "$CONFIG_FILES"; then
52060
 
+
52061
 
+
52062
 
+ac_cr=`echo X | tr X '\015'`
52063
 
+# On cygwin, bash can eat \r inside `` if the user requested igncr.
52064
 
+# But we know of no other shell where ac_cr would be empty at this
52065
 
+# point, so we can use a bashism as a fallback.
52066
 
+if test "x$ac_cr" = x; then
52067
 
+  eval ac_cr=\$\'\\r\'
52068
 
+fi
52069
 
+ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
52070
 
+if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
52071
 
+  ac_cs_awk_cr='\r'
52072
 
 else
52073
 
-  BUILD_GDL_TRUE='#'
52074
 
-  BUILD_GDL_FALSE=
52075
 
+  ac_cs_awk_cr=$ac_cr
52076
 
 fi
52077
 
 
52078
 
-if test -n "$export_dynamic"; then
52079
 
-  GDL_LIBS=`echo $GDL_LIBS | sed -e "s/$export_dynamic//"`
52080
 
-fi
52081
 
+echo 'BEGIN {' >"$tmp/subs1.awk" &&
52082
 
+_ACEOF
52083
 
 
52084
 
-if $have_gdl07; then
52085
 
 
52086
 
-cat >>confdefs.h <<\_ACEOF
52087
 
-#define HAVE_GDL_0_7 /**/
52088
 
+{
52089
 
+  echo "cat >conf$$subs.awk <<_ACEOF" &&
52090
 
+  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
52091
 
+  echo "_ACEOF"
52092
 
+} >conf$$subs.sh ||
52093
 
+  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
52094
 
+ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
52095
 
+ac_delim='%!_!# '
52096
 
+for ac_last_try in false false false false false :; do
52097
 
+  . ./conf$$subs.sh ||
52098
 
+    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
52099
 
+
52100
 
+  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
52101
 
+  if test $ac_delim_n = $ac_delim_num; then
52102
 
+    break
52103
 
+  elif $ac_last_try; then
52104
 
+    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
52105
 
+  else
52106
 
+    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52107
 
+  fi
52108
 
+done
52109
 
+rm -f conf$$subs.sh
52110
 
+
52111
 
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
52112
 
+cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
52113
 
 _ACEOF
52114
 
+sed -n '
52115
 
+h
52116
 
+s/^/S["/; s/!.*/"]=/
52117
 
+p
52118
 
+g
52119
 
+s/^[^!]*!//
52120
 
+:repl
52121
 
+t repl
52122
 
+s/'"$ac_delim"'$//
52123
 
+t delim
52124
 
+:nl
52125
 
+h
52126
 
+s/\(.\{148\}\).*/\1/
52127
 
+t more1
52128
 
+s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
52129
 
+p
52130
 
+n
52131
 
+b repl
52132
 
+:more1
52133
 
+s/["\\]/\\&/g; s/^/"/; s/$/"\\/
52134
 
+p
52135
 
+g
52136
 
+s/.\{148\}//
52137
 
+t nl
52138
 
+:delim
52139
 
+h
52140
 
+s/\(.\{148\}\).*/\1/
52141
 
+t more2
52142
 
+s/["\\]/\\&/g; s/^/"/; s/$/"/
52143
 
+p
52144
 
+b
52145
 
+:more2
52146
 
+s/["\\]/\\&/g; s/^/"/; s/$/"\\/
52147
 
+p
52148
 
+g
52149
 
+s/.\{148\}//
52150
 
+t delim
52151
 
+' <conf$$subs.awk | sed '
52152
 
+/^[^""]/{
52153
 
+  N
52154
 
+  s/\n//
52155
 
+}
52156
 
+' >>$CONFIG_STATUS || ac_write_fail=1
52157
 
+rm -f conf$$subs.awk
52158
 
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
52159
 
+_ACAWK
52160
 
+cat >>"\$tmp/subs1.awk" <<_ACAWK &&
52161
 
+  for (key in S) S_is_set[key] = 1
52162
 
+  FS = ""
52163
 
 
52164
 
-fi
52165
 
+}
52166
 
+{
52167
 
+  line = $ 0
52168
 
+  nfields = split(line, field, "@")
52169
 
+  substed = 0
52170
 
+  len = length(field[1])
52171
 
+  for (i = 2; i < nfields; i++) {
52172
 
+    key = field[i]
52173
 
+    keylen = length(key)
52174
 
+    if (S_is_set[key]) {
52175
 
+      value = S[key]
52176
 
+      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
52177
 
+      len += length(value) + length(field[++i])
52178
 
+      substed = 1
52179
 
+    } else
52180
 
+      len += 1 + keylen
52181
 
+  }
52182
 
 
52183
 
+  print line
52184
 
+}
52185
 
 
52186
 
-if $have_gdl07; then
52187
 
-  PYGTK_CODEGEN_DEFINES="-DHAVE_GDL_0_7 $PYGTK_CODEGEN_DEFINES";
52188
 
+_ACAWK
52189
 
+_ACEOF
52190
 
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
52191
 
+if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
52192
 
+  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
52193
 
+else
52194
 
+  cat
52195
 
+fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
52196
 
+  || as_fn_error "could not setup config files machinery" "$LINENO" 5
52197
 
+_ACEOF
52198
 
+
52199
 
+# VPATH may cause trouble with some makes, so we remove $(srcdir),
52200
 
+# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
52201
 
+# trailing colons and then remove the whole line if VPATH becomes empty
52202
 
+# (actually we leave an empty line to preserve line numbers).
52203
 
+if test "x$srcdir" = x.; then
52204
 
+  ac_vpsub='/^[         ]*VPATH[        ]*=/{
52205
 
+s/:*\$(srcdir):*/:/
52206
 
+s/:*\${srcdir}:*/:/
52207
 
+s/:*@srcdir@:*/:/
52208
 
+s/^\([^=]*=[    ]*\):*/\1/
52209
 
+s/:*$//
52210
 
+s/^[^=]*=[      ]*$//
52211
 
+}'
52212
 
 fi
52213
 
 
52214
 
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
52215
 
+fi # test -n "$CONFIG_FILES"
52216
 
 
52217
 
-# Check whether --enable-gda was given.
52218
 
-if test "${enable_gda+set}" = set; then
52219
 
-  enableval=$enable_gda; if test "$enable_gda" = "yes"; then
52220
 
-                       build_gda=true
52221
 
-                         else
52222
 
-                               build_gda=false
52223
 
-                        fi
52224
 
-fi
52225
 
+# Set up the scripts for CONFIG_HEADERS section.
52226
 
+# No need to generate them if there are no CONFIG_HEADERS.
52227
 
+# This happens for instance with `./config.status Makefile'.
52228
 
+if test -n "$CONFIG_HEADERS"; then
52229
 
+cat >"$tmp/defines.awk" <<\_ACAWK ||
52230
 
+BEGIN {
52231
 
+_ACEOF
52232
 
 
52233
 
+# Transform confdefs.h into an awk script `defines.awk', embedded as
52234
 
+# here-document in config.status, that substitutes the proper values into
52235
 
+# config.h.in to produce config.h.
52236
 
 
52237
 
-if $build_gda; then
52238
 
+# Create a delimiter string that does not exist in confdefs.h, to ease
52239
 
+# handling of long lines.
52240
 
+ac_delim='%!_!# '
52241
 
+for ac_last_try in false false :; do
52242
 
+  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
52243
 
+  if test -z "$ac_t"; then
52244
 
+    break
52245
 
+  elif $ac_last_try; then
52246
 
+    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
52247
 
+  else
52248
 
+    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52249
 
+  fi
52250
 
+done
52251
 
 
52252
 
-pkg_failed=no
52253
 
-{ $as_echo "$as_me:$LINENO: checking for GDA" >&5
52254
 
-$as_echo_n "checking for GDA... " >&6; }
52255
 
+# For the awk script, D is an array of macro values keyed by name,
52256
 
+# likewise P contains macro parameters if any.  Preserve backslash
52257
 
+# newline sequences.
52258
 
 
52259
 
-if test -n "$GDA_CFLAGS"; then
52260
 
-    pkg_cv_GDA_CFLAGS="$GDA_CFLAGS"
52261
 
- elif test -n "$PKG_CONFIG"; then
52262
 
-    if test -n "$PKG_CONFIG" && \
52263
 
-    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgda-4.0 >= 3.99.11 pygtk-2.0 >= 2.4.0\"") >&5
52264
 
-  ($PKG_CONFIG --exists --print-errors "libgda-4.0 >= 3.99.11 pygtk-2.0 >= 2.4.0") 2>&5
52265
 
-  ac_status=$?
52266
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
52267
 
-  (exit $ac_status); }; then
52268
 
-  pkg_cv_GDA_CFLAGS=`$PKG_CONFIG --cflags "libgda-4.0 >= 3.99.11 pygtk-2.0 >= 2.4.0" 2>/dev/null`
52269
 
-else
52270
 
-  pkg_failed=yes
52271
 
-fi
52272
 
- else
52273
 
-    pkg_failed=untried
52274
 
-fi
52275
 
-if test -n "$GDA_LIBS"; then
52276
 
-    pkg_cv_GDA_LIBS="$GDA_LIBS"
52277
 
- elif test -n "$PKG_CONFIG"; then
52278
 
-    if test -n "$PKG_CONFIG" && \
52279
 
-    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgda-4.0 >= 3.99.11 pygtk-2.0 >= 2.4.0\"") >&5
52280
 
-  ($PKG_CONFIG --exists --print-errors "libgda-4.0 >= 3.99.11 pygtk-2.0 >= 2.4.0") 2>&5
52281
 
-  ac_status=$?
52282
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
52283
 
-  (exit $ac_status); }; then
52284
 
-  pkg_cv_GDA_LIBS=`$PKG_CONFIG --libs "libgda-4.0 >= 3.99.11 pygtk-2.0 >= 2.4.0" 2>/dev/null`
52285
 
-else
52286
 
-  pkg_failed=yes
52287
 
-fi
52288
 
- else
52289
 
-    pkg_failed=untried
52290
 
-fi
52291
 
+ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
52292
 
+sed -n '
52293
 
+s/.\{148\}/&'"$ac_delim"'/g
52294
 
+t rset
52295
 
+:rset
52296
 
+s/^[    ]*#[    ]*define[       ][      ]*/ /
52297
 
+t def
52298
 
+d
52299
 
+:def
52300
 
+s/\\$//
52301
 
+t bsnl
52302
 
+s/["\\]/\\&/g
52303
 
+s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
52304
 
+D["\1"]=" \3"/p
52305
 
+s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2"/p
52306
 
+d
52307
 
+:bsnl
52308
 
+s/["\\]/\\&/g
52309
 
+s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
52310
 
+D["\1"]=" \3\\\\\\n"\\/p
52311
 
+t cont
52312
 
+s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
52313
 
+t cont
52314
 
+d
52315
 
+:cont
52316
 
+n
52317
 
+s/.\{148\}/&'"$ac_delim"'/g
52318
 
+t clear
52319
 
+:clear
52320
 
+s/\\$//
52321
 
+t bsnlc
52322
 
+s/["\\]/\\&/g; s/^/"/; s/$/"/p
52323
 
+d
52324
 
+:bsnlc
52325
 
+s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
52326
 
+b cont
52327
 
+' <confdefs.h | sed '
52328
 
+s/'"$ac_delim"'/"\\\
52329
 
+"/g' >>$CONFIG_STATUS || ac_write_fail=1
52330
 
 
52331
 
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
52332
 
+  for (key in D) D_is_set[key] = 1
52333
 
+  FS = ""
52334
 
+}
52335
 
+/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
52336
 
+  line = \$ 0
52337
 
+  split(line, arg, " ")
52338
 
+  if (arg[1] == "#") {
52339
 
+    defundef = arg[2]
52340
 
+    mac1 = arg[3]
52341
 
+  } else {
52342
 
+    defundef = substr(arg[1], 2)
52343
 
+    mac1 = arg[2]
52344
 
+  }
52345
 
+  split(mac1, mac2, "(") #)
52346
 
+  macro = mac2[1]
52347
 
+  prefix = substr(line, 1, index(line, defundef) - 1)
52348
 
+  if (D_is_set[macro]) {
52349
 
+    # Preserve the white space surrounding the "#".
52350
 
+    print prefix "define", macro P[macro] D[macro]
52351
 
+    next
52352
 
+  } else {
52353
 
+    # Replace #undef with comments.  This is necessary, for example,
52354
 
+    # in the case of _POSIX_SOURCE, which is predefined and required
52355
 
+    # on some systems where configure will not decide to define it.
52356
 
+    if (defundef == "undef") {
52357
 
+      print "/*", prefix defundef, macro, "*/"
52358
 
+      next
52359
 
+    }
52360
 
+  }
52361
 
+}
52362
 
+{ print }
52363
 
+_ACAWK
52364
 
+_ACEOF
52365
 
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
52366
 
+  as_fn_error "could not setup config headers machinery" "$LINENO" 5
52367
 
+fi # test -n "$CONFIG_HEADERS"
52368
 
 
52369
 
 
52370
 
-if test $pkg_failed = yes; then
52371
 
+eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
52372
 
+shift
52373
 
+for ac_tag
52374
 
+do
52375
 
+  case $ac_tag in
52376
 
+  :[FHLC]) ac_mode=$ac_tag; continue;;
52377
 
+  esac
52378
 
+  case $ac_mode$ac_tag in
52379
 
+  :[FHL]*:*);;
52380
 
+  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
52381
 
+  :[FH]-) ac_tag=-:-;;
52382
 
+  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
52383
 
+  esac
52384
 
+  ac_save_IFS=$IFS
52385
 
+  IFS=:
52386
 
+  set x $ac_tag
52387
 
+  IFS=$ac_save_IFS
52388
 
+  shift
52389
 
+  ac_file=$1
52390
 
+  shift
52391
 
 
52392
 
-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
52393
 
-        _pkg_short_errors_supported=yes
52394
 
-else
52395
 
-        _pkg_short_errors_supported=no
52396
 
-fi
52397
 
-        if test $_pkg_short_errors_supported = yes; then
52398
 
-               GDA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libgda-4.0 >= 3.99.11 pygtk-2.0 >= 2.4.0" 2>&1`
52399
 
-        else
52400
 
-               GDA_PKG_ERRORS=`$PKG_CONFIG --print-errors "libgda-4.0 >= 3.99.11 pygtk-2.0 >= 2.4.0" 2>&1`
52401
 
-        fi
52402
 
-       # Put the nasty error message in config.log where it belongs
52403
 
-       echo "$GDA_PKG_ERRORS" >&5
52404
 
+  case $ac_mode in
52405
 
+  :L) ac_source=$1;;
52406
 
+  :[FH])
52407
 
+    ac_file_inputs=
52408
 
+    for ac_f
52409
 
+    do
52410
 
+      case $ac_f in
52411
 
+      -) ac_f="$tmp/stdin";;
52412
 
+      *) # Look for the file first in the build tree, then in the source tree
52413
 
+        # (if the path is not absolute).  The absolute path cannot be DOS-style,
52414
 
+        # because $ac_f cannot contain `:'.
52415
 
+        test -f "$ac_f" ||
52416
 
+          case $ac_f in
52417
 
+          [\\/$]*) false;;
52418
 
+          *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
52419
 
+          esac ||
52420
 
+          as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
52421
 
+      esac
52422
 
+      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
52423
 
+      as_fn_append ac_file_inputs " '$ac_f'"
52424
 
+    done
52425
 
 
52426
 
-       { $as_echo "$as_me:$LINENO: result: no" >&5
52427
 
-$as_echo "no" >&6; }
52428
 
-                build_gda=false
52429
 
-elif test $pkg_failed = untried; then
52430
 
-       build_gda=false
52431
 
-else
52432
 
-       GDA_CFLAGS=$pkg_cv_GDA_CFLAGS
52433
 
-       GDA_LIBS=$pkg_cv_GDA_LIBS
52434
 
-        { $as_echo "$as_me:$LINENO: result: yes" >&5
52435
 
-$as_echo "yes" >&6; }
52436
 
-       build_gda=true
52437
 
-fi
52438
 
-fi
52439
 
- if $build_gda; then
52440
 
-  BUILD_GDA_TRUE=
52441
 
-  BUILD_GDA_FALSE='#'
52442
 
-else
52443
 
-  BUILD_GDA_TRUE='#'
52444
 
-  BUILD_GDA_FALSE=
52445
 
-fi
52446
 
+    # Let's still pretend it is `configure' which instantiates (i.e., don't
52447
 
+    # use $as_me), people would be surprised to read:
52448
 
+    #    /* config.h.  Generated by config.status.  */
52449
 
+    configure_input='Generated from '`
52450
 
+         $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
52451
 
+       `' by configure.'
52452
 
+    if test x"$ac_file" != x-; then
52453
 
+      configure_input="$ac_file.  $configure_input"
52454
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
52455
 
+$as_echo "$as_me: creating $ac_file" >&6;}
52456
 
+    fi
52457
 
+    # Neutralize special characters interpreted by sed in replacement strings.
52458
 
+    case $configure_input in #(
52459
 
+    *\&* | *\|* | *\\* )
52460
 
+       ac_sed_conf_input=`$as_echo "$configure_input" |
52461
 
+       sed 's/[\\\\&|]/\\\\&/g'`;; #(
52462
 
+    *) ac_sed_conf_input=$configure_input;;
52463
 
+    esac
52464
 
 
52465
 
-if test -n "$export_dynamic"; then
52466
 
-  GDA_LIBS=`echo $GDA_LIBS | sed -e "s/$export_dynamic//"`
52467
 
-fi
52468
 
+    case $ac_tag in
52469
 
+    *:-:* | *:-) cat >"$tmp/stdin" \
52470
 
+      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
52471
 
+    esac
52472
 
+    ;;
52473
 
+  esac
52474
 
 
52475
 
-# Check whether --enable-gksu2 was given.
52476
 
-if test "${enable_gksu2+set}" = set; then
52477
 
-  enableval=$enable_gksu2; if test "$enable_gksu2" = "yes"; then
52478
 
-                       build_gksu2=true
52479
 
-                         else
52480
 
-                               build_gksu2=false
52481
 
-                        fi
52482
 
-fi
52483
 
+  ac_dir=`$as_dirname -- "$ac_file" ||
52484
 
+$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52485
 
+        X"$ac_file" : 'X\(//\)[^/]' \| \
52486
 
+        X"$ac_file" : 'X\(//\)$' \| \
52487
 
+        X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
52488
 
+$as_echo X"$ac_file" |
52489
 
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52490
 
+           s//\1/
52491
 
+           q
52492
 
+         }
52493
 
+         /^X\(\/\/\)[^/].*/{
52494
 
+           s//\1/
52495
 
+           q
52496
 
+         }
52497
 
+         /^X\(\/\/\)$/{
52498
 
+           s//\1/
52499
 
+           q
52500
 
+         }
52501
 
+         /^X\(\/\).*/{
52502
 
+           s//\1/
52503
 
+           q
52504
 
+         }
52505
 
+         s/.*/./; q'`
52506
 
+  as_dir="$ac_dir"; as_fn_mkdir_p
52507
 
+  ac_builddir=.
52508
 
 
52509
 
+case "$ac_dir" in
52510
 
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
52511
 
+*)
52512
 
+  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
52513
 
+  # A ".." for each directory in $ac_dir_suffix.
52514
 
+  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
52515
 
+  case $ac_top_builddir_sub in
52516
 
+  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
52517
 
+  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
52518
 
+  esac ;;
52519
 
+esac
52520
 
+ac_abs_top_builddir=$ac_pwd
52521
 
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
52522
 
+# for backward compatibility:
52523
 
+ac_top_builddir=$ac_top_build_prefix
52524
 
 
52525
 
-if $build_gksu2; then
52526
 
+case $srcdir in
52527
 
+  .)  # We are building in place.
52528
 
+    ac_srcdir=.
52529
 
+    ac_top_srcdir=$ac_top_builddir_sub
52530
 
+    ac_abs_top_srcdir=$ac_pwd ;;
52531
 
+  [\\/]* | ?:[\\/]* )  # Absolute name.
52532
 
+    ac_srcdir=$srcdir$ac_dir_suffix;
52533
 
+    ac_top_srcdir=$srcdir
52534
 
+    ac_abs_top_srcdir=$srcdir ;;
52535
 
+  *) # Relative name.
52536
 
+    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
52537
 
+    ac_top_srcdir=$ac_top_build_prefix$srcdir
52538
 
+    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
52539
 
+esac
52540
 
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
52541
 
 
52542
 
-pkg_failed=no
52543
 
-{ $as_echo "$as_me:$LINENO: checking for GKSU2" >&5
52544
 
-$as_echo_n "checking for GKSU2... " >&6; }
52545
 
 
52546
 
-if test -n "$GKSU2_CFLAGS"; then
52547
 
-    pkg_cv_GKSU2_CFLAGS="$GKSU2_CFLAGS"
52548
 
- elif test -n "$PKG_CONFIG"; then
52549
 
-    if test -n "$PKG_CONFIG" && \
52550
 
-    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgksu2 >= 2.0.4
52551
 
-                           pygtk-2.0 >= 2.4.0
52552
 
-                           gtk+-2.0  >= 2.4.0\"") >&5
52553
 
-  ($PKG_CONFIG --exists --print-errors "libgksu2 >= 2.0.4
52554
 
-                           pygtk-2.0 >= 2.4.0
52555
 
-                           gtk+-2.0  >= 2.4.0") 2>&5
52556
 
-  ac_status=$?
52557
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
52558
 
-  (exit $ac_status); }; then
52559
 
-  pkg_cv_GKSU2_CFLAGS=`$PKG_CONFIG --cflags "libgksu2 >= 2.0.4
52560
 
-                           pygtk-2.0 >= 2.4.0
52561
 
-                           gtk+-2.0  >= 2.4.0" 2>/dev/null`
52562
 
-else
52563
 
-  pkg_failed=yes
52564
 
-fi
52565
 
- else
52566
 
-    pkg_failed=untried
52567
 
-fi
52568
 
-if test -n "$GKSU2_LIBS"; then
52569
 
-    pkg_cv_GKSU2_LIBS="$GKSU2_LIBS"
52570
 
- elif test -n "$PKG_CONFIG"; then
52571
 
-    if test -n "$PKG_CONFIG" && \
52572
 
-    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgksu2 >= 2.0.4
52573
 
-                           pygtk-2.0 >= 2.4.0
52574
 
-                           gtk+-2.0  >= 2.4.0\"") >&5
52575
 
-  ($PKG_CONFIG --exists --print-errors "libgksu2 >= 2.0.4
52576
 
-                           pygtk-2.0 >= 2.4.0
52577
 
-                           gtk+-2.0  >= 2.4.0") 2>&5
52578
 
-  ac_status=$?
52579
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
52580
 
-  (exit $ac_status); }; then
52581
 
-  pkg_cv_GKSU2_LIBS=`$PKG_CONFIG --libs "libgksu2 >= 2.0.4
52582
 
-                           pygtk-2.0 >= 2.4.0
52583
 
-                           gtk+-2.0  >= 2.4.0" 2>/dev/null`
52584
 
-else
52585
 
-  pkg_failed=yes
52586
 
-fi
52587
 
- else
52588
 
-    pkg_failed=untried
52589
 
-fi
52590
 
+  case $ac_mode in
52591
 
+  :F)
52592
 
+  #
52593
 
+  # CONFIG_FILE
52594
 
+  #
52595
 
 
52596
 
+  case $INSTALL in
52597
 
+  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
52598
 
+  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
52599
 
+  esac
52600
 
+  ac_MKDIR_P=$MKDIR_P
52601
 
+  case $MKDIR_P in
52602
 
+  [\\/$]* | ?:[\\/]* ) ;;
52603
 
+  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
52604
 
+  esac
52605
 
+_ACEOF
52606
 
 
52607
 
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
52608
 
+# If the template does not know about datarootdir, expand it.
52609
 
+# FIXME: This hack should be removed a few years after 2.60.
52610
 
+ac_datarootdir_hack=; ac_datarootdir_seen=
52611
 
+ac_sed_dataroot='
52612
 
+/datarootdir/ {
52613
 
+  p
52614
 
+  q
52615
 
+}
52616
 
+/@datadir@/p
52617
 
+/@docdir@/p
52618
 
+/@infodir@/p
52619
 
+/@localedir@/p
52620
 
+/@mandir@/p'
52621
 
+case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
52622
 
+*datarootdir*) ac_datarootdir_seen=yes;;
52623
 
+*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
52624
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
52625
 
+$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
52626
 
+_ACEOF
52627
 
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
52628
 
+  ac_datarootdir_hack='
52629
 
+  s&@datadir@&$datadir&g
52630
 
+  s&@docdir@&$docdir&g
52631
 
+  s&@infodir@&$infodir&g
52632
 
+  s&@localedir@&$localedir&g
52633
 
+  s&@mandir@&$mandir&g
52634
 
+  s&\\\${datarootdir}&$datarootdir&g' ;;
52635
 
+esac
52636
 
+_ACEOF
52637
 
 
52638
 
-if test $pkg_failed = yes; then
52639
 
+# Neutralize VPATH when `$srcdir' = `.'.
52640
 
+# Shell code in configure.ac might set extrasub.
52641
 
+# FIXME: do we really want to maintain this feature?
52642
 
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
52643
 
+ac_sed_extra="$ac_vpsub
52644
 
+$extrasub
52645
 
+_ACEOF
52646
 
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
52647
 
+:t
52648
 
+/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52649
 
+s|@configure_input@|$ac_sed_conf_input|;t t
52650
 
+s&@top_builddir@&$ac_top_builddir_sub&;t t
52651
 
+s&@top_build_prefix@&$ac_top_build_prefix&;t t
52652
 
+s&@srcdir@&$ac_srcdir&;t t
52653
 
+s&@abs_srcdir@&$ac_abs_srcdir&;t t
52654
 
+s&@top_srcdir@&$ac_top_srcdir&;t t
52655
 
+s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
52656
 
+s&@builddir@&$ac_builddir&;t t
52657
 
+s&@abs_builddir@&$ac_abs_builddir&;t t
52658
 
+s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
52659
 
+s&@INSTALL@&$ac_INSTALL&;t t
52660
 
+s&@MKDIR_P@&$ac_MKDIR_P&;t t
52661
 
+$ac_datarootdir_hack
52662
 
+"
52663
 
+eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
52664
 
+  || as_fn_error "could not create $ac_file" "$LINENO" 5
52665
 
 
52666
 
-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
52667
 
-        _pkg_short_errors_supported=yes
52668
 
-else
52669
 
-        _pkg_short_errors_supported=no
52670
 
-fi
52671
 
-        if test $_pkg_short_errors_supported = yes; then
52672
 
-               GKSU2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libgksu2 >= 2.0.4
52673
 
-                           pygtk-2.0 >= 2.4.0
52674
 
-                           gtk+-2.0  >= 2.4.0" 2>&1`
52675
 
-        else
52676
 
-               GKSU2_PKG_ERRORS=`$PKG_CONFIG --print-errors "libgksu2 >= 2.0.4
52677
 
-                           pygtk-2.0 >= 2.4.0
52678
 
-                           gtk+-2.0  >= 2.4.0" 2>&1`
52679
 
-        fi
52680
 
-       # Put the nasty error message in config.log where it belongs
52681
 
-       echo "$GKSU2_PKG_ERRORS" >&5
52682
 
+test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
52683
 
+  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
52684
 
+  { ac_out=`sed -n '/^[         ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
52685
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
52686
 
+which seems to be undefined.  Please make sure it is defined." >&5
52687
 
+$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
52688
 
+which seems to be undefined.  Please make sure it is defined." >&2;}
52689
 
 
52690
 
-       { $as_echo "$as_me:$LINENO: result: no" >&5
52691
 
-$as_echo "no" >&6; }
52692
 
-                build_gksu2=false
52693
 
-elif test $pkg_failed = untried; then
52694
 
-       build_gksu2=false
52695
 
-else
52696
 
-       GKSU2_CFLAGS=$pkg_cv_GKSU2_CFLAGS
52697
 
-       GKSU2_LIBS=$pkg_cv_GKSU2_LIBS
52698
 
-        { $as_echo "$as_me:$LINENO: result: yes" >&5
52699
 
-$as_echo "yes" >&6; }
52700
 
-       build_gksu2=true
52701
 
-fi
52702
 
-fi
52703
 
- if $build_gksu2; then
52704
 
-  BUILD_GKSU2_TRUE=
52705
 
-  BUILD_GKSU2_FALSE='#'
52706
 
-else
52707
 
-  BUILD_GKSU2_TRUE='#'
52708
 
-  BUILD_GKSU2_FALSE=
52709
 
-fi
52710
 
+  rm -f "$tmp/stdin"
52711
 
+  case $ac_file in
52712
 
+  -) cat "$tmp/out" && rm -f "$tmp/out";;
52713
 
+  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
52714
 
+  esac \
52715
 
+  || as_fn_error "could not create $ac_file" "$LINENO" 5
52716
 
+ ;;
52717
 
+  :H)
52718
 
+  #
52719
 
+  # CONFIG_HEADER
52720
 
+  #
52721
 
+  if test x"$ac_file" != x-; then
52722
 
+    {
52723
 
+      $as_echo "/* $configure_input  */" \
52724
 
+      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
52725
 
+    } >"$tmp/config.h" \
52726
 
+      || as_fn_error "could not create $ac_file" "$LINENO" 5
52727
 
+    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
52728
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
52729
 
+$as_echo "$as_me: $ac_file is unchanged" >&6;}
52730
 
+    else
52731
 
+      rm -f "$ac_file"
52732
 
+      mv "$tmp/config.h" "$ac_file" \
52733
 
+       || as_fn_error "could not create $ac_file" "$LINENO" 5
52734
 
+    fi
52735
 
+  else
52736
 
+    $as_echo "/* $configure_input  */" \
52737
 
+      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
52738
 
+      || as_fn_error "could not create -" "$LINENO" 5
52739
 
+  fi
52740
 
+# Compute "$ac_file"'s index in $config_headers.
52741
 
+_am_arg="$ac_file"
52742
 
+_am_stamp_count=1
52743
 
+for _am_header in $config_headers :; do
52744
 
+  case $_am_header in
52745
 
+    $_am_arg | $_am_arg:* )
52746
 
+      break ;;
52747
 
+    * )
52748
 
+      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
52749
 
+  esac
52750
 
+done
52751
 
+echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
52752
 
+$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52753
 
+        X"$_am_arg" : 'X\(//\)[^/]' \| \
52754
 
+        X"$_am_arg" : 'X\(//\)$' \| \
52755
 
+        X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
52756
 
+$as_echo X"$_am_arg" |
52757
 
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52758
 
+           s//\1/
52759
 
+           q
52760
 
+         }
52761
 
+         /^X\(\/\/\)[^/].*/{
52762
 
+           s//\1/
52763
 
+           q
52764
 
+         }
52765
 
+         /^X\(\/\/\)$/{
52766
 
+           s//\1/
52767
 
+           q
52768
 
+         }
52769
 
+         /^X\(\/\).*/{
52770
 
+           s//\1/
52771
 
+           q
52772
 
+         }
52773
 
+         s/.*/./; q'`/stamp-h$_am_stamp_count
52774
 
+ ;;
52775
 
 
52776
 
-if test -n "$export_dynamic"; then
52777
 
-  GKSU2_LIBS=`echo $GKSU2_LIBS | sed -e "s/$export_dynamic//"`
52778
 
-fi
52779
 
+  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
52780
 
+$as_echo "$as_me: executing $ac_file commands" >&6;}
52781
 
+ ;;
52782
 
+  esac
52783
 
 
52784
 
-# Check whether --enable-gksu was given.
52785
 
-if test "${enable_gksu+set}" = set; then
52786
 
-  enableval=$enable_gksu; if test "$enable_gksu" = "yes"; then
52787
 
-                       build_gksu=true
52788
 
-                         else
52789
 
-                               build_gksu=false
52790
 
-                        fi
52791
 
-fi
52792
 
 
52793
 
+  case $ac_file$ac_mode in
52794
 
+    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
52795
 
+  # Autoconf 2.62 quotes --file arguments for eval, but not when files
52796
 
+  # are listed without --file.  Let's play safe and only enable the eval
52797
 
+  # if we detect the quoting.
52798
 
+  case $CONFIG_FILES in
52799
 
+  *\'*) eval set x "$CONFIG_FILES" ;;
52800
 
+  *)   set x $CONFIG_FILES ;;
52801
 
+  esac
52802
 
+  shift
52803
 
+  for mf
52804
 
+  do
52805
 
+    # Strip MF so we end up with the name of the file.
52806
 
+    mf=`echo "$mf" | sed -e 's/:.*$//'`
52807
 
+    # Check whether this is an Automake generated Makefile or not.
52808
 
+    # We used to match only the files named `Makefile.in', but
52809
 
+    # some people rename them; so instead we look at the file content.
52810
 
+    # Grep'ing the first line is not enough: some people post-process
52811
 
+    # each Makefile.in and add a new line on top of each file to say so.
52812
 
+    # Grep'ing the whole file is not good either: AIX grep has a line
52813
 
+    # limit of 2048, but all sed's we know have understand at least 4000.
52814
 
+    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
52815
 
+      dirpart=`$as_dirname -- "$mf" ||
52816
 
+$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52817
 
+        X"$mf" : 'X\(//\)[^/]' \| \
52818
 
+        X"$mf" : 'X\(//\)$' \| \
52819
 
+        X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
52820
 
+$as_echo X"$mf" |
52821
 
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52822
 
+           s//\1/
52823
 
+           q
52824
 
+         }
52825
 
+         /^X\(\/\/\)[^/].*/{
52826
 
+           s//\1/
52827
 
+           q
52828
 
+         }
52829
 
+         /^X\(\/\/\)$/{
52830
 
+           s//\1/
52831
 
+           q
52832
 
+         }
52833
 
+         /^X\(\/\).*/{
52834
 
+           s//\1/
52835
 
+           q
52836
 
+         }
52837
 
+         s/.*/./; q'`
52838
 
+    else
52839
 
+      continue
52840
 
+    fi
52841
 
+    # Extract the definition of DEPDIR, am__include, and am__quote
52842
 
+    # from the Makefile without running `make'.
52843
 
+    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
52844
 
+    test -z "$DEPDIR" && continue
52845
 
+    am__include=`sed -n 's/^am__include = //p' < "$mf"`
52846
 
+    test -z "am__include" && continue
52847
 
+    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
52848
 
+    # When using ansi2knr, U may be empty or an underscore; expand it
52849
 
+    U=`sed -n 's/^U = //p' < "$mf"`
52850
 
+    # Find all dependency output files, they are included files with
52851
 
+    # $(DEPDIR) in their names.  We invoke sed twice because it is the
52852
 
+    # simplest approach to changing $(DEPDIR) to its actual value in the
52853
 
+    # expansion.
52854
 
+    for file in `sed -n "
52855
 
+      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
52856
 
+        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
52857
 
+      # Make sure the directory exists.
52858
 
+      test -f "$dirpart/$file" && continue
52859
 
+      fdir=`$as_dirname -- "$file" ||
52860
 
+$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52861
 
+        X"$file" : 'X\(//\)[^/]' \| \
52862
 
+        X"$file" : 'X\(//\)$' \| \
52863
 
+        X"$file" : 'X\(/\)' \| . 2>/dev/null ||
52864
 
+$as_echo X"$file" |
52865
 
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52866
 
+           s//\1/
52867
 
+           q
52868
 
+         }
52869
 
+         /^X\(\/\/\)[^/].*/{
52870
 
+           s//\1/
52871
 
+           q
52872
 
+         }
52873
 
+         /^X\(\/\/\)$/{
52874
 
+           s//\1/
52875
 
+           q
52876
 
+         }
52877
 
+         /^X\(\/\).*/{
52878
 
+           s//\1/
52879
 
+           q
52880
 
+         }
52881
 
+         s/.*/./; q'`
52882
 
+      as_dir=$dirpart/$fdir; as_fn_mkdir_p
52883
 
+      # echo "creating $dirpart/$file"
52884
 
+      echo '# dummy' > "$dirpart/$file"
52885
 
+    done
52886
 
+  done
52887
 
+}
52888
 
+ ;;
52889
 
+    "libtool":C)
52890
 
 
52891
 
-if $build_gksu; then
52892
 
+    # See if we are running on zsh, and set the options which allow our
52893
 
+    # commands through without removal of \ escapes.
52894
 
+    if test -n "${ZSH_VERSION+set}" ; then
52895
 
+      setopt NO_GLOB_SUBST
52896
 
+    fi
52897
 
 
52898
 
-pkg_failed=no
52899
 
-{ $as_echo "$as_me:$LINENO: checking for GKSU" >&5
52900
 
-$as_echo_n "checking for GKSU... " >&6; }
52901
 
+    cfgfile="${ofile}T"
52902
 
+    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
52903
 
+    $RM "$cfgfile"
52904
 
 
52905
 
-if test -n "$GKSU_CFLAGS"; then
52906
 
-    pkg_cv_GKSU_CFLAGS="$GKSU_CFLAGS"
52907
 
- elif test -n "$PKG_CONFIG"; then
52908
 
-    if test -n "$PKG_CONFIG" && \
52909
 
-    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgksu1.2 >= 1.2.5
52910
 
-                           pygtk-2.0 >= 2.4.0\"") >&5
52911
 
-  ($PKG_CONFIG --exists --print-errors "libgksu1.2 >= 1.2.5
52912
 
-                           pygtk-2.0 >= 2.4.0") 2>&5
52913
 
-  ac_status=$?
52914
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
52915
 
-  (exit $ac_status); }; then
52916
 
-  pkg_cv_GKSU_CFLAGS=`$PKG_CONFIG --cflags "libgksu1.2 >= 1.2.5
52917
 
-                           pygtk-2.0 >= 2.4.0" 2>/dev/null`
52918
 
-else
52919
 
-  pkg_failed=yes
52920
 
-fi
52921
 
- else
52922
 
-    pkg_failed=untried
52923
 
-fi
52924
 
-if test -n "$GKSU_LIBS"; then
52925
 
-    pkg_cv_GKSU_LIBS="$GKSU_LIBS"
52926
 
- elif test -n "$PKG_CONFIG"; then
52927
 
-    if test -n "$PKG_CONFIG" && \
52928
 
-    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgksu1.2 >= 1.2.5
52929
 
-                           pygtk-2.0 >= 2.4.0\"") >&5
52930
 
-  ($PKG_CONFIG --exists --print-errors "libgksu1.2 >= 1.2.5
52931
 
-                           pygtk-2.0 >= 2.4.0") 2>&5
52932
 
-  ac_status=$?
52933
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
52934
 
-  (exit $ac_status); }; then
52935
 
-  pkg_cv_GKSU_LIBS=`$PKG_CONFIG --libs "libgksu1.2 >= 1.2.5
52936
 
-                           pygtk-2.0 >= 2.4.0" 2>/dev/null`
52937
 
-else
52938
 
-  pkg_failed=yes
52939
 
-fi
52940
 
- else
52941
 
-    pkg_failed=untried
52942
 
-fi
52943
 
+    cat <<_LT_EOF >> "$cfgfile"
52944
 
+#! $SHELL
52945
 
 
52946
 
+# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
52947
 
+# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
52948
 
+# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
52949
 
+# NOTE: Changes made to this file will be lost: look at ltmain.sh.
52950
 
+#
52951
 
+#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
52952
 
+#                 2006, 2007, 2008 Free Software Foundation, Inc.
52953
 
+#   Written by Gordon Matzigkeit, 1996
52954
 
+#
52955
 
+#   This file is part of GNU Libtool.
52956
 
+#
52957
 
+# GNU Libtool is free software; you can redistribute it and/or
52958
 
+# modify it under the terms of the GNU General Public License as
52959
 
+# published by the Free Software Foundation; either version 2 of
52960
 
+# the License, or (at your option) any later version.
52961
 
+#
52962
 
+# As a special exception to the GNU General Public License,
52963
 
+# if you distribute this file as part of a program or library that
52964
 
+# is built using GNU Libtool, you may include this file under the
52965
 
+# same distribution terms that you use for the rest of that program.
52966
 
+#
52967
 
+# GNU Libtool is distributed in the hope that it will be useful,
52968
 
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
52969
 
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
52970
 
+# GNU General Public License for more details.
52971
 
+#
52972
 
+# You should have received a copy of the GNU General Public License
52973
 
+# along with GNU Libtool; see the file COPYING.  If not, a copy
52974
 
+# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
52975
 
+# obtained by writing to the Free Software Foundation, Inc.,
52976
 
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
52977
 
 
52978
 
 
52979
 
-if test $pkg_failed = yes; then
52980
 
+# The names of the tagged configurations supported by this script.
52981
 
+available_tags="CXX "
52982
 
 
52983
 
-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
52984
 
-        _pkg_short_errors_supported=yes
52985
 
-else
52986
 
-        _pkg_short_errors_supported=no
52987
 
-fi
52988
 
-        if test $_pkg_short_errors_supported = yes; then
52989
 
-               GKSU_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libgksu1.2 >= 1.2.5
52990
 
-                           pygtk-2.0 >= 2.4.0" 2>&1`
52991
 
-        else
52992
 
-               GKSU_PKG_ERRORS=`$PKG_CONFIG --print-errors "libgksu1.2 >= 1.2.5
52993
 
-                           pygtk-2.0 >= 2.4.0" 2>&1`
52994
 
-        fi
52995
 
-       # Put the nasty error message in config.log where it belongs
52996
 
-       echo "$GKSU_PKG_ERRORS" >&5
52997
 
+# ### BEGIN LIBTOOL CONFIG
52998
 
 
52999
 
-       { $as_echo "$as_me:$LINENO: result: no" >&5
53000
 
-$as_echo "no" >&6; }
53001
 
-                build_gksu=false
53002
 
-elif test $pkg_failed = untried; then
53003
 
-       build_gksu=false
53004
 
-else
53005
 
-       GKSU_CFLAGS=$pkg_cv_GKSU_CFLAGS
53006
 
-       GKSU_LIBS=$pkg_cv_GKSU_LIBS
53007
 
-        { $as_echo "$as_me:$LINENO: result: yes" >&5
53008
 
-$as_echo "yes" >&6; }
53009
 
-       build_gksu=true
53010
 
-fi
53011
 
-fi
53012
 
- if $build_gksu; then
53013
 
-  BUILD_GKSU_TRUE=
53014
 
-  BUILD_GKSU_FALSE='#'
53015
 
-else
53016
 
-  BUILD_GKSU_TRUE='#'
53017
 
-  BUILD_GKSU_FALSE=
53018
 
-fi
53019
 
+# Whether or not to build static libraries.
53020
 
+build_old_libs=$enable_static
53021
 
 
53022
 
-if test -n "$export_dynamic"; then
53023
 
-  GKSU_LIBS=`echo $GKSU_LIBS | sed -e "s/$export_dynamic//"`
53024
 
-fi
53025
 
+# Assembler program.
53026
 
+AS=$AS
53027
 
 
53028
 
-# Check whether --enable-gksuui was given.
53029
 
-if test "${enable_gksuui+set}" = set; then
53030
 
-  enableval=$enable_gksuui; if test "$enable_gksuui" = "yes"; then
53031
 
-                       build_gksuui=true
53032
 
-                         else
53033
 
-                               build_gksuui=false
53034
 
-                        fi
53035
 
-fi
53036
 
+# DLL creation program.
53037
 
+DLLTOOL=$DLLTOOL
53038
 
 
53039
 
+# Object dumper program.
53040
 
+OBJDUMP=$OBJDUMP
53041
 
 
53042
 
-if $build_gksuui; then
53043
 
+# Which release of libtool.m4 was used?
53044
 
+macro_version=$macro_version
53045
 
+macro_revision=$macro_revision
53046
 
 
53047
 
-pkg_failed=no
53048
 
-{ $as_echo "$as_me:$LINENO: checking for GKSUUI" >&5
53049
 
-$as_echo_n "checking for GKSUUI... " >&6; }
53050
 
+# Whether or not to build shared libraries.
53051
 
+build_libtool_libs=$enable_shared
53052
 
 
53053
 
-if test -n "$GKSUUI_CFLAGS"; then
53054
 
-    pkg_cv_GKSUUI_CFLAGS="$GKSUUI_CFLAGS"
53055
 
- elif test -n "$PKG_CONFIG"; then
53056
 
-    if test -n "$PKG_CONFIG" && \
53057
 
-    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgksuui1.0 >= 1.0.3
53058
 
-                             pygtk-2.0 >= 2.4.0\"") >&5
53059
 
-  ($PKG_CONFIG --exists --print-errors "libgksuui1.0 >= 1.0.3
53060
 
-                             pygtk-2.0 >= 2.4.0") 2>&5
53061
 
-  ac_status=$?
53062
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
53063
 
-  (exit $ac_status); }; then
53064
 
-  pkg_cv_GKSUUI_CFLAGS=`$PKG_CONFIG --cflags "libgksuui1.0 >= 1.0.3
53065
 
-                             pygtk-2.0 >= 2.4.0" 2>/dev/null`
53066
 
-else
53067
 
-  pkg_failed=yes
53068
 
-fi
53069
 
- else
53070
 
-    pkg_failed=untried
53071
 
-fi
53072
 
-if test -n "$GKSUUI_LIBS"; then
53073
 
-    pkg_cv_GKSUUI_LIBS="$GKSUUI_LIBS"
53074
 
- elif test -n "$PKG_CONFIG"; then
53075
 
-    if test -n "$PKG_CONFIG" && \
53076
 
-    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgksuui1.0 >= 1.0.3
53077
 
-                             pygtk-2.0 >= 2.4.0\"") >&5
53078
 
-  ($PKG_CONFIG --exists --print-errors "libgksuui1.0 >= 1.0.3
53079
 
-                             pygtk-2.0 >= 2.4.0") 2>&5
53080
 
-  ac_status=$?
53081
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
53082
 
-  (exit $ac_status); }; then
53083
 
-  pkg_cv_GKSUUI_LIBS=`$PKG_CONFIG --libs "libgksuui1.0 >= 1.0.3
53084
 
-                             pygtk-2.0 >= 2.4.0" 2>/dev/null`
53085
 
-else
53086
 
-  pkg_failed=yes
53087
 
-fi
53088
 
- else
53089
 
-    pkg_failed=untried
53090
 
-fi
53091
 
+# What type of objects to build.
53092
 
+pic_mode=$pic_mode
53093
 
 
53094
 
+# Whether or not to optimize for fast installation.
53095
 
+fast_install=$enable_fast_install
53096
 
 
53097
 
+# The host system.
53098
 
+host_alias=$host_alias
53099
 
+host=$host
53100
 
+host_os=$host_os
53101
 
 
53102
 
-if test $pkg_failed = yes; then
53103
 
+# The build system.
53104
 
+build_alias=$build_alias
53105
 
+build=$build
53106
 
+build_os=$build_os
53107
 
 
53108
 
-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
53109
 
-        _pkg_short_errors_supported=yes
53110
 
-else
53111
 
-        _pkg_short_errors_supported=no
53112
 
-fi
53113
 
-        if test $_pkg_short_errors_supported = yes; then
53114
 
-               GKSUUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libgksuui1.0 >= 1.0.3
53115
 
-                             pygtk-2.0 >= 2.4.0" 2>&1`
53116
 
-        else
53117
 
-               GKSUUI_PKG_ERRORS=`$PKG_CONFIG --print-errors "libgksuui1.0 >= 1.0.3
53118
 
-                             pygtk-2.0 >= 2.4.0" 2>&1`
53119
 
-        fi
53120
 
-       # Put the nasty error message in config.log where it belongs
53121
 
-       echo "$GKSUUI_PKG_ERRORS" >&5
53122
 
+# A sed program that does not truncate output.
53123
 
+SED=$lt_SED
53124
 
 
53125
 
-       { $as_echo "$as_me:$LINENO: result: no" >&5
53126
 
-$as_echo "no" >&6; }
53127
 
-                build_gksuui=false
53128
 
-elif test $pkg_failed = untried; then
53129
 
-       build_gksuui=false
53130
 
-else
53131
 
-       GKSUUI_CFLAGS=$pkg_cv_GKSUUI_CFLAGS
53132
 
-       GKSUUI_LIBS=$pkg_cv_GKSUUI_LIBS
53133
 
-        { $as_echo "$as_me:$LINENO: result: yes" >&5
53134
 
-$as_echo "yes" >&6; }
53135
 
-       build_gksuui=true
53136
 
-fi
53137
 
-fi
53138
 
- if $build_gksuui; then
53139
 
-  BUILD_GKSUUI_TRUE=
53140
 
-  BUILD_GKSUUI_FALSE='#'
53141
 
-else
53142
 
-  BUILD_GKSUUI_TRUE='#'
53143
 
-  BUILD_GKSUUI_FALSE=
53144
 
-fi
53145
 
+# Sed that helps us avoid accidentally triggering echo(1) options like -n.
53146
 
+Xsed="\$SED -e 1s/^X//"
53147
 
 
53148
 
-if test -n "$export_dynamic"; then
53149
 
-  GKSUUI_LIBS=`echo $GKSUUI_LIBS | sed -e "s/$export_dynamic//"`
53150
 
-fi
53151
 
+# A grep program that handles long lines.
53152
 
+GREP=$lt_GREP
53153
 
 
53154
 
+# An ERE matcher.
53155
 
+EGREP=$lt_EGREP
53156
 
 
53157
 
+# A literal string matcher.
53158
 
+FGREP=$lt_FGREP
53159
 
 
53160
 
-case " $CFLAGS " in
53161
 
-*[\    \ ]-Wall[\      \ ]*)
53162
 
-  ;;
53163
 
-*)
53164
 
-  save_CFLAGS="$CFLAGS"
53165
 
-  CFLAGS="$CFLAGS -Wall"
53166
 
-  { $as_echo "$as_me:$LINENO: checking whether $CC understands -Wall" >&5
53167
 
-$as_echo_n "checking whether $CC understands -Wall... " >&6; }
53168
 
-  cat >conftest.$ac_ext <<_ACEOF
53169
 
-/* confdefs.h.  */
53170
 
-_ACEOF
53171
 
-cat confdefs.h >>conftest.$ac_ext
53172
 
-cat >>conftest.$ac_ext <<_ACEOF
53173
 
-/* end confdefs.h.  */
53174
 
+# A BSD- or MS-compatible name lister.
53175
 
+NM=$lt_NM
53176
 
 
53177
 
-int
53178
 
-main ()
53179
 
-{
53180
 
+# Whether we need soft or hard links.
53181
 
+LN_S=$lt_LN_S
53182
 
 
53183
 
-  ;
53184
 
-  return 0;
53185
 
-}
53186
 
-_ACEOF
53187
 
-rm -f conftest.$ac_objext
53188
 
-if { (ac_try="$ac_compile"
53189
 
-case "(($ac_try" in
53190
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
53191
 
-  *) ac_try_echo=$ac_try;;
53192
 
-esac
53193
 
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
53194
 
-$as_echo "$ac_try_echo") >&5
53195
 
-  (eval "$ac_compile") 2>conftest.er1
53196
 
-  ac_status=$?
53197
 
-  grep -v '^ *+' conftest.er1 >conftest.err
53198
 
-  rm -f conftest.er1
53199
 
-  cat conftest.err >&5
53200
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
53201
 
-  (exit $ac_status); } && {
53202
 
-        test -z "$ac_c_werror_flag" ||
53203
 
-        test ! -s conftest.err
53204
 
-       } && test -s conftest.$ac_objext; then
53205
 
-  jh_has_option=yes
53206
 
-else
53207
 
-  $as_echo "$as_me: failed program was:" >&5
53208
 
-sed 's/^/| /' conftest.$ac_ext >&5
53209
 
+# What is the maximum length of a command?
53210
 
+max_cmd_len=$max_cmd_len
53211
 
 
53212
 
-       jh_has_option=no
53213
 
-fi
53214
 
+# Object file suffix (normally "o").
53215
 
+objext=$ac_objext
53216
 
 
53217
 
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53218
 
-  { $as_echo "$as_me:$LINENO: result: $jh_has_option" >&5
53219
 
-$as_echo "$jh_has_option" >&6; }
53220
 
-  if test $jh_has_option = no; then
53221
 
-    CFLAGS="$save_CFLAGS"
53222
 
-  fi
53223
 
-  ;;
53224
 
-esac
53225
 
+# Executable file suffix (normally "").
53226
 
+exeext=$exeext
53227
 
 
53228
 
-case " $CFLAGS " in
53229
 
-*[\    \ ]-fno-strict-aliasing[\       \ ]*)
53230
 
-  ;;
53231
 
-*)
53232
 
-  save_CFLAGS="$CFLAGS"
53233
 
-  CFLAGS="$CFLAGS -fno-strict-aliasing"
53234
 
-  { $as_echo "$as_me:$LINENO: checking whether $CC understands -fno-strict-aliasing" >&5
53235
 
-$as_echo_n "checking whether $CC understands -fno-strict-aliasing... " >&6; }
53236
 
-  cat >conftest.$ac_ext <<_ACEOF
53237
 
-/* confdefs.h.  */
53238
 
-_ACEOF
53239
 
-cat confdefs.h >>conftest.$ac_ext
53240
 
-cat >>conftest.$ac_ext <<_ACEOF
53241
 
-/* end confdefs.h.  */
53242
 
+# whether the shell understands "unset".
53243
 
+lt_unset=$lt_unset
53244
 
 
53245
 
-int
53246
 
-main ()
53247
 
-{
53248
 
+# turn spaces into newlines.
53249
 
+SP2NL=$lt_lt_SP2NL
53250
 
 
53251
 
-  ;
53252
 
-  return 0;
53253
 
-}
53254
 
-_ACEOF
53255
 
-rm -f conftest.$ac_objext
53256
 
-if { (ac_try="$ac_compile"
53257
 
-case "(($ac_try" in
53258
 
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
53259
 
-  *) ac_try_echo=$ac_try;;
53260
 
-esac
53261
 
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
53262
 
-$as_echo "$ac_try_echo") >&5
53263
 
-  (eval "$ac_compile") 2>conftest.er1
53264
 
-  ac_status=$?
53265
 
-  grep -v '^ *+' conftest.er1 >conftest.err
53266
 
-  rm -f conftest.er1
53267
 
-  cat conftest.err >&5
53268
 
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
53269
 
-  (exit $ac_status); } && {
53270
 
-        test -z "$ac_c_werror_flag" ||
53271
 
-        test ! -s conftest.err
53272
 
-       } && test -s conftest.$ac_objext; then
53273
 
-  jh_has_option=yes
53274
 
-else
53275
 
-  $as_echo "$as_me: failed program was:" >&5
53276
 
-sed 's/^/| /' conftest.$ac_ext >&5
53277
 
+# turn newlines into spaces.
53278
 
+NL2SP=$lt_lt_NL2SP
53279
 
 
53280
 
-       jh_has_option=no
53281
 
-fi
53282
 
+# How to create reloadable object files.
53283
 
+reload_flag=$lt_reload_flag
53284
 
+reload_cmds=$lt_reload_cmds
53285
 
 
53286
 
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53287
 
-  { $as_echo "$as_me:$LINENO: result: $jh_has_option" >&5
53288
 
-$as_echo "$jh_has_option" >&6; }
53289
 
-  if test $jh_has_option = no; then
53290
 
-    CFLAGS="$save_CFLAGS"
53291
 
-  fi
53292
 
-  ;;
53293
 
-esac
53294
 
+# Method to check whether dependent libraries are shared objects.
53295
 
+deplibs_check_method=$lt_deplibs_check_method
53296
 
 
53297
 
+# Command to use when deplibs_check_method == "file_magic".
53298
 
+file_magic_cmd=$lt_file_magic_cmd
53299
 
 
53300
 
-ac_config_files="$ac_config_files Makefile gtkhtml2/Makefile egg/Makefile egg/tray/Makefile egg/recent/Makefile gtkmozembed/Makefile gtkspell/Makefile gdl/Makefile gda/Makefile gda/pygda-4.0.pc gksu2/Makefile gksu/Makefile gnome-python-extras-2.0.pc tests/Makefile docs/gtkmozembed/Makefile docs/gtkspell/Makefile docs/gtkmozembed/entities.docbook docs/gtkspell/entities.docbook"
53301
 
+# The archiver.
53302
 
+AR=$lt_AR
53303
 
+AR_FLAGS=$lt_AR_FLAGS
53304
 
 
53305
 
-cat >confcache <<\_ACEOF
53306
 
-# This file is a shell script that caches the results of configure
53307
 
-# tests run on this system so they can be shared between configure
53308
 
-# scripts and configure runs, see configure's option --config-cache.
53309
 
-# It is not useful on other systems.  If it contains results you don't
53310
 
-# want to keep, you may remove or edit it.
53311
 
-#
53312
 
-# config.status only pays attention to the cache file if you give it
53313
 
-# the --recheck option to rerun configure.
53314
 
-#
53315
 
-# `ac_cv_env_foo' variables (set or unset) will be overridden when
53316
 
-# loading this file, other *unset* `ac_cv_foo' will be assigned the
53317
 
-# following values.
53318
 
+# A symbol stripping program.
53319
 
+STRIP=$lt_STRIP
53320
 
 
53321
 
-_ACEOF
53322
 
+# Commands used to install an old-style archive.
53323
 
+RANLIB=$lt_RANLIB
53324
 
+old_postinstall_cmds=$lt_old_postinstall_cmds
53325
 
+old_postuninstall_cmds=$lt_old_postuninstall_cmds
53326
 
 
53327
 
-# The following way of writing the cache mishandles newlines in values,
53328
 
-# but we know of no workaround that is simple, portable, and efficient.
53329
 
-# So, we kill variables containing newlines.
53330
 
-# Ultrix sh set writes to stderr and can't be redirected directly,
53331
 
-# and sets the high bit in the cache file unless we assign to the vars.
53332
 
-(
53333
 
-  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
53334
 
-    eval ac_val=\$$ac_var
53335
 
-    case $ac_val in #(
53336
 
-    *${as_nl}*)
53337
 
-      case $ac_var in #(
53338
 
-      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
53339
 
-$as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
53340
 
-      esac
53341
 
-      case $ac_var in #(
53342
 
-      _ | IFS | as_nl) ;; #(
53343
 
-      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
53344
 
-      *) $as_unset $ac_var ;;
53345
 
-      esac ;;
53346
 
-    esac
53347
 
-  done
53348
 
+# A C compiler.
53349
 
+LTCC=$lt_CC
53350
 
 
53351
 
-  (set) 2>&1 |
53352
 
-    case $as_nl`(ac_space=' '; set) 2>&1` in #(
53353
 
-    *${as_nl}ac_space=\ *)
53354
 
-      # `set' does not quote correctly, so add quotes (double-quote
53355
 
-      # substitution turns \\\\ into \\, and sed turns \\ into \).
53356
 
-      sed -n \
53357
 
-       "s/'/'\\\\''/g;
53358
 
-         s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
53359
 
-      ;; #(
53360
 
-    *)
53361
 
-      # `set' quotes correctly as required by POSIX, so do not add quotes.
53362
 
-      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
53363
 
-      ;;
53364
 
-    esac |
53365
 
-    sort
53366
 
-) |
53367
 
-  sed '
53368
 
-     /^ac_cv_env_/b end
53369
 
-     t clear
53370
 
-     :clear
53371
 
-     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
53372
 
-     t end
53373
 
-     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
53374
 
-     :end' >>confcache
53375
 
-if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
53376
 
-  if test -w "$cache_file"; then
53377
 
-    test "x$cache_file" != "x/dev/null" &&
53378
 
-      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
53379
 
-$as_echo "$as_me: updating cache $cache_file" >&6;}
53380
 
-    cat confcache >$cache_file
53381
 
-  else
53382
 
-    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
53383
 
-$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
53384
 
-  fi
53385
 
-fi
53386
 
-rm -f confcache
53387
 
+# LTCC compiler flags.
53388
 
+LTCFLAGS=$lt_CFLAGS
53389
 
 
53390
 
-test "x$prefix" = xNONE && prefix=$ac_default_prefix
53391
 
-# Let make expand exec_prefix.
53392
 
-test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
53393
 
+# Take the output of nm and produce a listing of raw symbols and C names.
53394
 
+global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
53395
 
 
53396
 
-DEFS=-DHAVE_CONFIG_H
53397
 
+# Transform the output of nm in a proper C declaration.
53398
 
+global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
53399
 
 
53400
 
-ac_libobjs=
53401
 
-ac_ltlibobjs=
53402
 
-for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
53403
 
-  # 1. Remove the extension, and $U if already installed.
53404
 
-  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
53405
 
-  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
53406
 
-  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
53407
 
-  #    will be set to the directory where LIBOBJS objects are built.
53408
 
-  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
53409
 
-  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
53410
 
-done
53411
 
-LIBOBJS=$ac_libobjs
53412
 
+# Transform the output of nm in a C name address pair.
53413
 
+global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
53414
 
 
53415
 
-LTLIBOBJS=$ac_ltlibobjs
53416
 
+# Transform the output of nm in a C name address pair when lib prefix is needed.
53417
 
+global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
53418
 
 
53419
 
+# The name of the directory that contains temporary libtool files.
53420
 
+objdir=$objdir
53421
 
 
53422
 
-if test -z "${PLATFORM_WIN32_TRUE}" && test -z "${PLATFORM_WIN32_FALSE}"; then
53423
 
-  { { $as_echo "$as_me:$LINENO: error: conditional \"PLATFORM_WIN32\" was never defined.
53424
 
-Usually this means the macro was only invoked conditionally." >&5
53425
 
-$as_echo "$as_me: error: conditional \"PLATFORM_WIN32\" was never defined.
53426
 
-Usually this means the macro was only invoked conditionally." >&2;}
53427
 
-   { (exit 1); exit 1; }; }
53428
 
-fi
53429
 
-if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
53430
 
-  { { $as_echo "$as_me:$LINENO: error: conditional \"OS_WIN32\" was never defined.
53431
 
-Usually this means the macro was only invoked conditionally." >&5
53432
 
-$as_echo "$as_me: error: conditional \"OS_WIN32\" was never defined.
53433
 
-Usually this means the macro was only invoked conditionally." >&2;}
53434
 
-   { (exit 1); exit 1; }; }
53435
 
-fi
53436
 
-if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
53437
 
-  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
53438
 
-Usually this means the macro was only invoked conditionally." >&5
53439
 
-$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
53440
 
-Usually this means the macro was only invoked conditionally." >&2;}
53441
 
-   { (exit 1); exit 1; }; }
53442
 
-fi
53443
 
-if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
53444
 
-  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
53445
 
-Usually this means the macro was only invoked conditionally." >&5
53446
 
-$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
53447
 
-Usually this means the macro was only invoked conditionally." >&2;}
53448
 
-   { (exit 1); exit 1; }; }
53449
 
-fi
53450
 
-if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
53451
 
-  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
53452
 
-Usually this means the macro was only invoked conditionally." >&5
53453
 
-$as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
53454
 
-Usually this means the macro was only invoked conditionally." >&2;}
53455
 
-   { (exit 1); exit 1; }; }
53456
 
-fi
53457
 
-if test -z "${ENABLE_DOCS_TRUE}" && test -z "${ENABLE_DOCS_FALSE}"; then
53458
 
-  { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_DOCS\" was never defined.
53459
 
-Usually this means the macro was only invoked conditionally." >&5
53460
 
-$as_echo "$as_me: error: conditional \"ENABLE_DOCS\" was never defined.
53461
 
-Usually this means the macro was only invoked conditionally." >&2;}
53462
 
-   { (exit 1); exit 1; }; }
53463
 
-fi
53464
 
-if test -z "${BUILD_GTKHTML2_TRUE}" && test -z "${BUILD_GTKHTML2_FALSE}"; then
53465
 
-  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_GTKHTML2\" was never defined.
53466
 
-Usually this means the macro was only invoked conditionally." >&5
53467
 
-$as_echo "$as_me: error: conditional \"BUILD_GTKHTML2\" was never defined.
53468
 
-Usually this means the macro was only invoked conditionally." >&2;}
53469
 
-   { (exit 1); exit 1; }; }
53470
 
-fi
53471
 
-if test -z "${BUILD_EGGTRAY_TRUE}" && test -z "${BUILD_EGGTRAY_FALSE}"; then
53472
 
-  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_EGGTRAY\" was never defined.
53473
 
-Usually this means the macro was only invoked conditionally." >&5
53474
 
-$as_echo "$as_me: error: conditional \"BUILD_EGGTRAY\" was never defined.
53475
 
-Usually this means the macro was only invoked conditionally." >&2;}
53476
 
-   { (exit 1); exit 1; }; }
53477
 
-fi
53478
 
-if test -z "${BUILD_EGGRECENT_TRUE}" && test -z "${BUILD_EGGRECENT_FALSE}"; then
53479
 
-  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_EGGRECENT\" was never defined.
53480
 
-Usually this means the macro was only invoked conditionally." >&5
53481
 
-$as_echo "$as_me: error: conditional \"BUILD_EGGRECENT\" was never defined.
53482
 
-Usually this means the macro was only invoked conditionally." >&2;}
53483
 
-   { (exit 1); exit 1; }; }
53484
 
-fi
53485
 
-if test -z "${BUILD_EGG_TRUE}" && test -z "${BUILD_EGG_FALSE}"; then
53486
 
-  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_EGG\" was never defined.
53487
 
-Usually this means the macro was only invoked conditionally." >&5
53488
 
-$as_echo "$as_me: error: conditional \"BUILD_EGG\" was never defined.
53489
 
-Usually this means the macro was only invoked conditionally." >&2;}
53490
 
-   { (exit 1); exit 1; }; }
53491
 
-fi
53492
 
-if test -z "${BUILD_GTKMOZEMBED_TRUE}" && test -z "${BUILD_GTKMOZEMBED_FALSE}"; then
53493
 
-  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_GTKMOZEMBED\" was never defined.
53494
 
-Usually this means the macro was only invoked conditionally." >&5
53495
 
-$as_echo "$as_me: error: conditional \"BUILD_GTKMOZEMBED\" was never defined.
53496
 
-Usually this means the macro was only invoked conditionally." >&2;}
53497
 
-   { (exit 1); exit 1; }; }
53498
 
-fi
53499
 
-if test -z "${BUILD_GTKMOZEMBED_TRUE}" && test -z "${BUILD_GTKMOZEMBED_FALSE}"; then
53500
 
-  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_GTKMOZEMBED\" was never defined.
53501
 
-Usually this means the macro was only invoked conditionally." >&5
53502
 
-$as_echo "$as_me: error: conditional \"BUILD_GTKMOZEMBED\" was never defined.
53503
 
-Usually this means the macro was only invoked conditionally." >&2;}
53504
 
-   { (exit 1); exit 1; }; }
53505
 
-fi
53506
 
-if test -z "${BUILD_GTKSPELL_TRUE}" && test -z "${BUILD_GTKSPELL_FALSE}"; then
53507
 
-  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_GTKSPELL\" was never defined.
53508
 
-Usually this means the macro was only invoked conditionally." >&5
53509
 
-$as_echo "$as_me: error: conditional \"BUILD_GTKSPELL\" was never defined.
53510
 
-Usually this means the macro was only invoked conditionally." >&2;}
53511
 
-   { (exit 1); exit 1; }; }
53512
 
-fi
53513
 
-if test -z "${BUILD_GDL_TRUE}" && test -z "${BUILD_GDL_FALSE}"; then
53514
 
-  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_GDL\" was never defined.
53515
 
-Usually this means the macro was only invoked conditionally." >&5
53516
 
-$as_echo "$as_me: error: conditional \"BUILD_GDL\" was never defined.
53517
 
-Usually this means the macro was only invoked conditionally." >&2;}
53518
 
-   { (exit 1); exit 1; }; }
53519
 
-fi
53520
 
-if test -z "${BUILD_GDA_TRUE}" && test -z "${BUILD_GDA_FALSE}"; then
53521
 
-  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_GDA\" was never defined.
53522
 
-Usually this means the macro was only invoked conditionally." >&5
53523
 
-$as_echo "$as_me: error: conditional \"BUILD_GDA\" was never defined.
53524
 
-Usually this means the macro was only invoked conditionally." >&2;}
53525
 
-   { (exit 1); exit 1; }; }
53526
 
-fi
53527
 
-if test -z "${BUILD_GKSU2_TRUE}" && test -z "${BUILD_GKSU2_FALSE}"; then
53528
 
-  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_GKSU2\" was never defined.
53529
 
-Usually this means the macro was only invoked conditionally." >&5
53530
 
-$as_echo "$as_me: error: conditional \"BUILD_GKSU2\" was never defined.
53531
 
-Usually this means the macro was only invoked conditionally." >&2;}
53532
 
-   { (exit 1); exit 1; }; }
53533
 
-fi
53534
 
-if test -z "${BUILD_GKSU_TRUE}" && test -z "${BUILD_GKSU_FALSE}"; then
53535
 
-  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_GKSU\" was never defined.
53536
 
-Usually this means the macro was only invoked conditionally." >&5
53537
 
-$as_echo "$as_me: error: conditional \"BUILD_GKSU\" was never defined.
53538
 
-Usually this means the macro was only invoked conditionally." >&2;}
53539
 
-   { (exit 1); exit 1; }; }
53540
 
-fi
53541
 
-if test -z "${BUILD_GKSUUI_TRUE}" && test -z "${BUILD_GKSUUI_FALSE}"; then
53542
 
-  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_GKSUUI\" was never defined.
53543
 
-Usually this means the macro was only invoked conditionally." >&5
53544
 
-$as_echo "$as_me: error: conditional \"BUILD_GKSUUI\" was never defined.
53545
 
-Usually this means the macro was only invoked conditionally." >&2;}
53546
 
-   { (exit 1); exit 1; }; }
53547
 
-fi
53548
 
+# Shell to use when invoking shell scripts.
53549
 
+SHELL=$lt_SHELL
53550
 
 
53551
 
-: ${CONFIG_STATUS=./config.status}
53552
 
-ac_write_fail=0
53553
 
-ac_clean_files_save=$ac_clean_files
53554
 
-ac_clean_files="$ac_clean_files $CONFIG_STATUS"
53555
 
-{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
53556
 
-$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
53557
 
-cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
53558
 
-#! $SHELL
53559
 
-# Generated by $as_me.
53560
 
-# Run this file to recreate the current configuration.
53561
 
-# Compiler output produced by configure, useful for debugging
53562
 
-# configure, is in config.log if it exists.
53563
 
+# An echo program that does not interpret backslashes.
53564
 
+ECHO=$lt_ECHO
53565
 
 
53566
 
-debug=false
53567
 
-ac_cs_recheck=false
53568
 
-ac_cs_silent=false
53569
 
-SHELL=\${CONFIG_SHELL-$SHELL}
53570
 
-_ACEOF
53571
 
+# Used to examine libraries when file_magic_cmd begins with "file".
53572
 
+MAGIC_CMD=$MAGIC_CMD
53573
 
 
53574
 
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
53575
 
-## --------------------- ##
53576
 
-## M4sh Initialization.  ##
53577
 
-## --------------------- ##
53578
 
+# Must we lock files when doing compilation?
53579
 
+need_locks=$lt_need_locks
53580
 
 
53581
 
-# Be more Bourne compatible
53582
 
-DUALCASE=1; export DUALCASE # for MKS sh
53583
 
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
53584
 
-  emulate sh
53585
 
-  NULLCMD=:
53586
 
-  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
53587
 
-  # is contrary to our usage.  Disable this feature.
53588
 
-  alias -g '${1+"$@"}'='"$@"'
53589
 
-  setopt NO_GLOB_SUBST
53590
 
-else
53591
 
-  case `(set -o) 2>/dev/null` in
53592
 
-  *posix*) set -o posix ;;
53593
 
-esac
53594
 
+# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
53595
 
+DSYMUTIL=$lt_DSYMUTIL
53596
 
 
53597
 
-fi
53598
 
+# Tool to change global to local symbols on Mac OS X.
53599
 
+NMEDIT=$lt_NMEDIT
53600
 
 
53601
 
+# Tool to manipulate fat objects and archives on Mac OS X.
53602
 
+LIPO=$lt_LIPO
53603
 
 
53604
 
+# ldd/readelf like tool for Mach-O binaries on Mac OS X.
53605
 
+OTOOL=$lt_OTOOL
53606
 
 
53607
 
+# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
53608
 
+OTOOL64=$lt_OTOOL64
53609
 
 
53610
 
-# PATH needs CR
53611
 
-# Avoid depending upon Character Ranges.
53612
 
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
53613
 
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
53614
 
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
53615
 
-as_cr_digits='0123456789'
53616
 
-as_cr_alnum=$as_cr_Letters$as_cr_digits
53617
 
+# Old archive suffix (normally "a").
53618
 
+libext=$libext
53619
 
 
53620
 
-as_nl='
53621
 
-'
53622
 
-export as_nl
53623
 
-# Printing a long string crashes Solaris 7 /usr/bin/printf.
53624
 
-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
53625
 
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
53626
 
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
53627
 
-if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53628
 
-  as_echo='printf %s\n'
53629
 
-  as_echo_n='printf %s'
53630
 
-else
53631
 
-  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
53632
 
-    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53633
 
-    as_echo_n='/usr/ucb/echo -n'
53634
 
-  else
53635
 
-    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
53636
 
-    as_echo_n_body='eval
53637
 
-      arg=$1;
53638
 
-      case $arg in
53639
 
-      *"$as_nl"*)
53640
 
-       expr "X$arg" : "X\\(.*\\)$as_nl";
53641
 
-       arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
53642
 
-      esac;
53643
 
-      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
53644
 
-    '
53645
 
-    export as_echo_n_body
53646
 
-    as_echo_n='sh -c $as_echo_n_body as_echo'
53647
 
-  fi
53648
 
-  export as_echo_body
53649
 
-  as_echo='sh -c $as_echo_body as_echo'
53650
 
-fi
53651
 
+# Shared library suffix (normally ".so").
53652
 
+shrext_cmds=$lt_shrext_cmds
53653
 
 
53654
 
-# The user is always right.
53655
 
-if test "${PATH_SEPARATOR+set}" != set; then
53656
 
-  PATH_SEPARATOR=:
53657
 
-  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
53658
 
-    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
53659
 
-      PATH_SEPARATOR=';'
53660
 
-  }
53661
 
-fi
53662
 
+# The commands to extract the exported symbol list from a shared archive.
53663
 
+extract_expsyms_cmds=$lt_extract_expsyms_cmds
53664
 
 
53665
 
-# Support unset when possible.
53666
 
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
53667
 
-  as_unset=unset
53668
 
-else
53669
 
-  as_unset=false
53670
 
-fi
53671
 
+# Variables whose values should be saved in libtool wrapper scripts and
53672
 
+# restored at link time.
53673
 
+variables_saved_for_relink=$lt_variables_saved_for_relink
53674
 
 
53675
 
+# Do we need the "lib" prefix for modules?
53676
 
+need_lib_prefix=$need_lib_prefix
53677
 
 
53678
 
-# IFS
53679
 
-# We need space, tab and new line, in precisely that order.  Quoting is
53680
 
-# there to prevent editors from complaining about space-tab.
53681
 
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
53682
 
-# splitting by setting IFS to empty value.)
53683
 
-IFS=" ""       $as_nl"
53684
 
+# Do we need a version for libraries?
53685
 
+need_version=$need_version
53686
 
 
53687
 
-# Find who we are.  Look in the path if we contain no directory separator.
53688
 
-case $0 in
53689
 
-  *[\\/]* ) as_myself=$0 ;;
53690
 
-  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53691
 
-for as_dir in $PATH
53692
 
-do
53693
 
-  IFS=$as_save_IFS
53694
 
-  test -z "$as_dir" && as_dir=.
53695
 
-  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
53696
 
-done
53697
 
-IFS=$as_save_IFS
53698
 
+# Library versioning type.
53699
 
+version_type=$version_type
53700
 
 
53701
 
-     ;;
53702
 
-esac
53703
 
-# We did not find ourselves, most probably we were run as `sh COMMAND'
53704
 
-# in which case we are not to be found in the path.
53705
 
-if test "x$as_myself" = x; then
53706
 
-  as_myself=$0
53707
 
-fi
53708
 
-if test ! -f "$as_myself"; then
53709
 
-  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
53710
 
-  { (exit 1); exit 1; }
53711
 
-fi
53712
 
+# Shared library runtime path variable.
53713
 
+runpath_var=$runpath_var
53714
 
 
53715
 
-# Work around bugs in pre-3.0 UWIN ksh.
53716
 
-for as_var in ENV MAIL MAILPATH
53717
 
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53718
 
-done
53719
 
-PS1='$ '
53720
 
-PS2='> '
53721
 
-PS4='+ '
53722
 
+# Shared library path variable.
53723
 
+shlibpath_var=$shlibpath_var
53724
 
 
53725
 
-# NLS nuisances.
53726
 
-LC_ALL=C
53727
 
-export LC_ALL
53728
 
-LANGUAGE=C
53729
 
-export LANGUAGE
53730
 
+# Is shlibpath searched before the hard-coded library search path?
53731
 
+shlibpath_overrides_runpath=$shlibpath_overrides_runpath
53732
 
 
53733
 
-# Required to use basename.
53734
 
-if expr a : '\(a\)' >/dev/null 2>&1 &&
53735
 
-   test "X`expr 00001 : '.*\(...\)'`" = X001; then
53736
 
-  as_expr=expr
53737
 
-else
53738
 
-  as_expr=false
53739
 
-fi
53740
 
+# Format of library name prefix.
53741
 
+libname_spec=$lt_libname_spec
53742
 
 
53743
 
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
53744
 
-  as_basename=basename
53745
 
-else
53746
 
-  as_basename=false
53747
 
-fi
53748
 
+# List of archive names.  First name is the real one, the rest are links.
53749
 
+# The last name is the one that the linker finds with -lNAME
53750
 
+library_names_spec=$lt_library_names_spec
53751
 
 
53752
 
+# The coded name of the library, if different from the real name.
53753
 
+soname_spec=$lt_soname_spec
53754
 
 
53755
 
-# Name of the executable.
53756
 
-as_me=`$as_basename -- "$0" ||
53757
 
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53758
 
-        X"$0" : 'X\(//\)$' \| \
53759
 
-        X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53760
 
-$as_echo X/"$0" |
53761
 
-    sed '/^.*\/\([^/][^/]*\)\/*$/{
53762
 
-           s//\1/
53763
 
-           q
53764
 
-         }
53765
 
-         /^X\/\(\/\/\)$/{
53766
 
-           s//\1/
53767
 
-           q
53768
 
-         }
53769
 
-         /^X\/\(\/\).*/{
53770
 
-           s//\1/
53771
 
-           q
53772
 
-         }
53773
 
-         s/.*/./; q'`
53774
 
+# Command to use after installation of a shared archive.
53775
 
+postinstall_cmds=$lt_postinstall_cmds
53776
 
 
53777
 
-# CDPATH.
53778
 
-$as_unset CDPATH
53779
 
+# Command to use after uninstallation of a shared archive.
53780
 
+postuninstall_cmds=$lt_postuninstall_cmds
53781
 
 
53782
 
+# Commands used to finish a libtool library installation in a directory.
53783
 
+finish_cmds=$lt_finish_cmds
53784
 
 
53785
 
+# As "finish_cmds", except a single script fragment to be evaled but
53786
 
+# not shown.
53787
 
+finish_eval=$lt_finish_eval
53788
 
 
53789
 
-  as_lineno_1=$LINENO
53790
 
-  as_lineno_2=$LINENO
53791
 
-  test "x$as_lineno_1" != "x$as_lineno_2" &&
53792
 
-  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
53793
 
-
53794
 
-  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53795
 
-  # uniformly replaced by the line number.  The first 'sed' inserts a
53796
 
-  # line-number line after each line using $LINENO; the second 'sed'
53797
 
-  # does the real work.  The second script uses 'N' to pair each
53798
 
-  # line-number line with the line containing $LINENO, and appends
53799
 
-  # trailing '-' during substitution so that $LINENO is not a special
53800
 
-  # case at line end.
53801
 
-  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53802
 
-  # scripts with optimization help from Paolo Bonzini.  Blame Lee
53803
 
-  # E. McMahon (1931-1989) for sed's syntax.  :-)
53804
 
-  sed -n '
53805
 
-    p
53806
 
-    /[$]LINENO/=
53807
 
-  ' <$as_myself |
53808
 
-    sed '
53809
 
-      s/[$]LINENO.*/&-/
53810
 
-      t lineno
53811
 
-      b
53812
 
-      :lineno
53813
 
-      N
53814
 
-      :loop
53815
 
-      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53816
 
-      t loop
53817
 
-      s/-\n.*//
53818
 
-    ' >$as_me.lineno &&
53819
 
-  chmod +x "$as_me.lineno" ||
53820
 
-    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53821
 
-   { (exit 1); exit 1; }; }
53822
 
+# Whether we should hardcode library paths into libraries.
53823
 
+hardcode_into_libs=$hardcode_into_libs
53824
 
 
53825
 
-  # Don't try to exec as it changes $[0], causing all sort of problems
53826
 
-  # (the dirname of $[0] is not the place where we might find the
53827
 
-  # original and so on.  Autoconf is especially sensitive to this).
53828
 
-  . "./$as_me.lineno"
53829
 
-  # Exit status is that of the last command.
53830
 
-  exit
53831
 
-}
53832
 
+# Compile-time system search path for libraries.
53833
 
+sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
53834
 
 
53835
 
+# Run-time system search path for libraries.
53836
 
+sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
53837
 
 
53838
 
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
53839
 
-  as_dirname=dirname
53840
 
-else
53841
 
-  as_dirname=false
53842
 
-fi
53843
 
+# Whether dlopen is supported.
53844
 
+dlopen_support=$enable_dlopen
53845
 
 
53846
 
-ECHO_C= ECHO_N= ECHO_T=
53847
 
-case `echo -n x` in
53848
 
--n*)
53849
 
-  case `echo 'x\c'` in
53850
 
-  *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
53851
 
-  *)   ECHO_C='\c';;
53852
 
-  esac;;
53853
 
-*)
53854
 
-  ECHO_N='-n';;
53855
 
-esac
53856
 
-if expr a : '\(a\)' >/dev/null 2>&1 &&
53857
 
-   test "X`expr 00001 : '.*\(...\)'`" = X001; then
53858
 
-  as_expr=expr
53859
 
-else
53860
 
-  as_expr=false
53861
 
-fi
53862
 
+# Whether dlopen of programs is supported.
53863
 
+dlopen_self=$enable_dlopen_self
53864
 
 
53865
 
-rm -f conf$$ conf$$.exe conf$$.file
53866
 
-if test -d conf$$.dir; then
53867
 
-  rm -f conf$$.dir/conf$$.file
53868
 
-else
53869
 
-  rm -f conf$$.dir
53870
 
-  mkdir conf$$.dir 2>/dev/null
53871
 
-fi
53872
 
-if (echo >conf$$.file) 2>/dev/null; then
53873
 
-  if ln -s conf$$.file conf$$ 2>/dev/null; then
53874
 
-    as_ln_s='ln -s'
53875
 
-    # ... but there are two gotchas:
53876
 
-    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53877
 
-    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53878
 
-    # In both cases, we have to default to `cp -p'.
53879
 
-    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
53880
 
-      as_ln_s='cp -p'
53881
 
-  elif ln conf$$.file conf$$ 2>/dev/null; then
53882
 
-    as_ln_s=ln
53883
 
-  else
53884
 
-    as_ln_s='cp -p'
53885
 
-  fi
53886
 
-else
53887
 
-  as_ln_s='cp -p'
53888
 
-fi
53889
 
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
53890
 
-rmdir conf$$.dir 2>/dev/null
53891
 
+# Whether dlopen of statically linked programs is supported.
53892
 
+dlopen_self_static=$enable_dlopen_self_static
53893
 
+
53894
 
+# Commands to strip libraries.
53895
 
+old_striplib=$lt_old_striplib
53896
 
+striplib=$lt_striplib
53897
 
+
53898
 
+
53899
 
+# The linker used to build libraries.
53900
 
+LD=$lt_LD
53901
 
+
53902
 
+# Commands used to build an old-style archive.
53903
 
+old_archive_cmds=$lt_old_archive_cmds
53904
 
 
53905
 
-if mkdir -p . 2>/dev/null; then
53906
 
-  as_mkdir_p=:
53907
 
-else
53908
 
-  test -d ./-p && rmdir ./-p
53909
 
-  as_mkdir_p=false
53910
 
-fi
53911
 
+# A language specific compiler.
53912
 
+CC=$lt_compiler
53913
 
 
53914
 
-if test -x / >/dev/null 2>&1; then
53915
 
-  as_test_x='test -x'
53916
 
-else
53917
 
-  if ls -dL / >/dev/null 2>&1; then
53918
 
-    as_ls_L_option=L
53919
 
-  else
53920
 
-    as_ls_L_option=
53921
 
-  fi
53922
 
-  as_test_x='
53923
 
-    eval sh -c '\''
53924
 
-      if test -d "$1"; then
53925
 
-       test -d "$1/.";
53926
 
-      else
53927
 
-       case $1 in
53928
 
-       -*)set "./$1";;
53929
 
-       esac;
53930
 
-       case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53931
 
-       ???[sx]*):;;*)false;;esac;fi
53932
 
-    '\'' sh
53933
 
-  '
53934
 
-fi
53935
 
-as_executable_p=$as_test_x
53936
 
+# Is the compiler the GNU compiler?
53937
 
+with_gcc=$GCC
53938
 
 
53939
 
-# Sed expression to map a string onto a valid CPP name.
53940
 
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53941
 
+# Compiler flag to turn off builtin functions.
53942
 
+no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
53943
 
 
53944
 
-# Sed expression to map a string onto a valid variable name.
53945
 
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53946
 
+# How to pass a linker flag through the compiler.
53947
 
+wl=$lt_lt_prog_compiler_wl
53948
 
 
53949
 
+# Additional compiler flags for building library objects.
53950
 
+pic_flag=$lt_lt_prog_compiler_pic
53951
 
 
53952
 
-exec 6>&1
53953
 
+# Compiler flag to prevent dynamic linking.
53954
 
+link_static_flag=$lt_lt_prog_compiler_static
53955
 
 
53956
 
-# Save the log message, to keep $[0] and so on meaningful, and to
53957
 
-# report actual input values of CONFIG_FILES etc. instead of their
53958
 
-# values after options handling.
53959
 
-ac_log="
53960
 
-This file was extended by gnome-python-extras $as_me 2.25.3, which was
53961
 
-generated by GNU Autoconf 2.62.  Invocation command line was
53962
 
+# Does compiler simultaneously support -c and -o options?
53963
 
+compiler_c_o=$lt_lt_cv_prog_compiler_c_o
53964
 
 
53965
 
-  CONFIG_FILES    = $CONFIG_FILES
53966
 
-  CONFIG_HEADERS  = $CONFIG_HEADERS
53967
 
-  CONFIG_LINKS    = $CONFIG_LINKS
53968
 
-  CONFIG_COMMANDS = $CONFIG_COMMANDS
53969
 
-  $ $0 $@
53970
 
+# Whether or not to add -lc for building shared libraries.
53971
 
+build_libtool_need_lc=$archive_cmds_need_lc
53972
 
 
53973
 
-on `(hostname || uname -n) 2>/dev/null | sed 1q`
53974
 
-"
53975
 
+# Whether or not to disallow shared libs when runtime libs are static.
53976
 
+allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
53977
 
 
53978
 
-_ACEOF
53979
 
+# Compiler flag to allow reflexive dlopens.
53980
 
+export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
53981
 
 
53982
 
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
53983
 
-# Files that config.status was made for.
53984
 
-config_files="$ac_config_files"
53985
 
-config_headers="$ac_config_headers"
53986
 
-config_commands="$ac_config_commands"
53987
 
+# Compiler flag to generate shared objects directly from archives.
53988
 
+whole_archive_flag_spec=$lt_whole_archive_flag_spec
53989
 
 
53990
 
-_ACEOF
53991
 
+# Whether the compiler copes with passing no objects directly.
53992
 
+compiler_needs_object=$lt_compiler_needs_object
53993
 
 
53994
 
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
53995
 
-ac_cs_usage="\
53996
 
-\`$as_me' instantiates files from templates according to the
53997
 
-current configuration.
53998
 
+# Create an old-style archive from a shared archive.
53999
 
+old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
54000
 
 
54001
 
-Usage: $0 [OPTIONS] [FILE]...
54002
 
+# Create a temporary old-style archive to link instead of a shared archive.
54003
 
+old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
54004
 
 
54005
 
-  -h, --help       print this help, then exit
54006
 
-  -V, --version    print version number and configuration settings, then exit
54007
 
-  -q, --quiet      do not print progress messages
54008
 
-  -d, --debug      don't remove temporary files
54009
 
-      --recheck    update $as_me by reconfiguring in the same conditions
54010
 
-  --file=FILE[:TEMPLATE]
54011
 
-                   instantiate the configuration file FILE
54012
 
-  --header=FILE[:TEMPLATE]
54013
 
-                   instantiate the configuration header FILE
54014
 
+# Commands used to build a shared archive.
54015
 
+archive_cmds=$lt_archive_cmds
54016
 
+archive_expsym_cmds=$lt_archive_expsym_cmds
54017
 
 
54018
 
-Configuration files:
54019
 
-$config_files
54020
 
+# Commands used to build a loadable module if different from building
54021
 
+# a shared archive.
54022
 
+module_cmds=$lt_module_cmds
54023
 
+module_expsym_cmds=$lt_module_expsym_cmds
54024
 
 
54025
 
-Configuration headers:
54026
 
-$config_headers
54027
 
+# Whether we are building with GNU ld or not.
54028
 
+with_gnu_ld=$lt_with_gnu_ld
54029
 
 
54030
 
-Configuration commands:
54031
 
-$config_commands
54032
 
+# Flag that allows shared libraries with undefined symbols to be built.
54033
 
+allow_undefined_flag=$lt_allow_undefined_flag
54034
 
 
54035
 
-Report bugs to <bug-autoconf@gnu.org>."
54036
 
+# Flag that enforces no undefined symbols.
54037
 
+no_undefined_flag=$lt_no_undefined_flag
54038
 
 
54039
 
-_ACEOF
54040
 
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
54041
 
-ac_cs_version="\\
54042
 
-gnome-python-extras config.status 2.25.3
54043
 
-configured by $0, generated by GNU Autoconf 2.62,
54044
 
-  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
54045
 
+# Flag to hardcode \$libdir into a binary during linking.
54046
 
+# This must work even if \$libdir does not exist
54047
 
+hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
54048
 
 
54049
 
-Copyright (C) 2008 Free Software Foundation, Inc.
54050
 
-This config.status script is free software; the Free Software Foundation
54051
 
-gives unlimited permission to copy, distribute and modify it."
54052
 
+# If ld is used when linking, flag to hardcode \$libdir into a binary
54053
 
+# during linking.  This must work even if \$libdir does not exist.
54054
 
+hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
54055
 
 
54056
 
-ac_pwd='$ac_pwd'
54057
 
-srcdir='$srcdir'
54058
 
-INSTALL='$INSTALL'
54059
 
-MKDIR_P='$MKDIR_P'
54060
 
-AWK='$AWK'
54061
 
-test -n "\$AWK" || AWK=awk
54062
 
-_ACEOF
54063
 
+# Whether we need a single "-rpath" flag with a separated argument.
54064
 
+hardcode_libdir_separator=$lt_hardcode_libdir_separator
54065
 
 
54066
 
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
54067
 
-# The default lists apply if the user does not specify any file.
54068
 
-ac_need_defaults=:
54069
 
-while test $# != 0
54070
 
-do
54071
 
-  case $1 in
54072
 
-  --*=*)
54073
 
-    ac_option=`expr "X$1" : 'X\([^=]*\)='`
54074
 
-    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
54075
 
-    ac_shift=:
54076
 
-    ;;
54077
 
-  *)
54078
 
-    ac_option=$1
54079
 
-    ac_optarg=$2
54080
 
-    ac_shift=shift
54081
 
-    ;;
54082
 
-  esac
54083
 
+# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
54084
 
+# DIR into the resulting binary.
54085
 
+hardcode_direct=$hardcode_direct
54086
 
 
54087
 
-  case $ac_option in
54088
 
-  # Handling of the options.
54089
 
-  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
54090
 
-    ac_cs_recheck=: ;;
54091
 
-  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
54092
 
-    $as_echo "$ac_cs_version"; exit ;;
54093
 
-  --debug | --debu | --deb | --de | --d | -d )
54094
 
-    debug=: ;;
54095
 
-  --file | --fil | --fi | --f )
54096
 
-    $ac_shift
54097
 
-    case $ac_optarg in
54098
 
-    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
54099
 
-    esac
54100
 
-    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
54101
 
-    ac_need_defaults=false;;
54102
 
-  --header | --heade | --head | --hea )
54103
 
-    $ac_shift
54104
 
-    case $ac_optarg in
54105
 
-    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
54106
 
-    esac
54107
 
-    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
54108
 
-    ac_need_defaults=false;;
54109
 
-  --he | --h)
54110
 
-    # Conflict between --help and --header
54111
 
-    { $as_echo "$as_me: error: ambiguous option: $1
54112
 
-Try \`$0 --help' for more information." >&2
54113
 
-   { (exit 1); exit 1; }; };;
54114
 
-  --help | --hel | -h )
54115
 
-    $as_echo "$ac_cs_usage"; exit ;;
54116
 
-  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
54117
 
-  | -silent | --silent | --silen | --sile | --sil | --si | --s)
54118
 
-    ac_cs_silent=: ;;
54119
 
+# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
54120
 
+# DIR into the resulting binary and the resulting library dependency is
54121
 
+# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
54122
 
+# library is relocated.
54123
 
+hardcode_direct_absolute=$hardcode_direct_absolute
54124
 
 
54125
 
-  # This is an error.
54126
 
-  -*) { $as_echo "$as_me: error: unrecognized option: $1
54127
 
-Try \`$0 --help' for more information." >&2
54128
 
-   { (exit 1); exit 1; }; } ;;
54129
 
+# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
54130
 
+# into the resulting binary.
54131
 
+hardcode_minus_L=$hardcode_minus_L
54132
 
 
54133
 
-  *) ac_config_targets="$ac_config_targets $1"
54134
 
-     ac_need_defaults=false ;;
54135
 
+# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
54136
 
+# into the resulting binary.
54137
 
+hardcode_shlibpath_var=$hardcode_shlibpath_var
54138
 
 
54139
 
-  esac
54140
 
-  shift
54141
 
-done
54142
 
+# Set to "yes" if building a shared library automatically hardcodes DIR
54143
 
+# into the library and all subsequent libraries and executables linked
54144
 
+# against it.
54145
 
+hardcode_automatic=$hardcode_automatic
54146
 
 
54147
 
-ac_configure_extra_args=
54148
 
+# Set to yes if linker adds runtime paths of dependent libraries
54149
 
+# to runtime path list.
54150
 
+inherit_rpath=$inherit_rpath
54151
 
 
54152
 
-if $ac_cs_silent; then
54153
 
-  exec 6>/dev/null
54154
 
-  ac_configure_extra_args="$ac_configure_extra_args --silent"
54155
 
-fi
54156
 
+# Whether libtool must link a program against all its dependency libraries.
54157
 
+link_all_deplibs=$link_all_deplibs
54158
 
 
54159
 
-_ACEOF
54160
 
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
54161
 
-if \$ac_cs_recheck; then
54162
 
-  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
54163
 
-  shift
54164
 
-  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
54165
 
-  CONFIG_SHELL='$SHELL'
54166
 
-  export CONFIG_SHELL
54167
 
-  exec "\$@"
54168
 
-fi
54169
 
+# Fix the shell variable \$srcfile for the compiler.
54170
 
+fix_srcfile_path=$lt_fix_srcfile_path
54171
 
 
54172
 
-_ACEOF
54173
 
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
54174
 
-exec 5>>config.log
54175
 
-{
54176
 
-  echo
54177
 
-  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
54178
 
-## Running $as_me. ##
54179
 
-_ASBOX
54180
 
-  $as_echo "$ac_log"
54181
 
-} >&5
54182
 
+# Set to "yes" if exported symbols are required.
54183
 
+always_export_symbols=$always_export_symbols
54184
 
 
54185
 
-_ACEOF
54186
 
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
54187
 
-#
54188
 
-# INIT-COMMANDS
54189
 
-#
54190
 
-AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
54191
 
+# The commands to list exported symbols.
54192
 
+export_symbols_cmds=$lt_export_symbols_cmds
54193
 
 
54194
 
-_ACEOF
54195
 
+# Symbols that should not be listed in the preloaded symbols.
54196
 
+exclude_expsyms=$lt_exclude_expsyms
54197
 
 
54198
 
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
54199
 
+# Symbols that must always be exported.
54200
 
+include_expsyms=$lt_include_expsyms
54201
 
 
54202
 
-# Handling of arguments.
54203
 
-for ac_config_target in $ac_config_targets
54204
 
-do
54205
 
-  case $ac_config_target in
54206
 
-    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
54207
 
-    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
54208
 
-    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
54209
 
-    "gtkhtml2/Makefile") CONFIG_FILES="$CONFIG_FILES gtkhtml2/Makefile" ;;
54210
 
-    "egg/Makefile") CONFIG_FILES="$CONFIG_FILES egg/Makefile" ;;
54211
 
-    "egg/tray/Makefile") CONFIG_FILES="$CONFIG_FILES egg/tray/Makefile" ;;
54212
 
-    "egg/recent/Makefile") CONFIG_FILES="$CONFIG_FILES egg/recent/Makefile" ;;
54213
 
-    "gtkmozembed/Makefile") CONFIG_FILES="$CONFIG_FILES gtkmozembed/Makefile" ;;
54214
 
-    "gtkspell/Makefile") CONFIG_FILES="$CONFIG_FILES gtkspell/Makefile" ;;
54215
 
-    "gdl/Makefile") CONFIG_FILES="$CONFIG_FILES gdl/Makefile" ;;
54216
 
-    "gda/Makefile") CONFIG_FILES="$CONFIG_FILES gda/Makefile" ;;
54217
 
-    "gda/pygda-4.0.pc") CONFIG_FILES="$CONFIG_FILES gda/pygda-4.0.pc" ;;
54218
 
-    "gksu2/Makefile") CONFIG_FILES="$CONFIG_FILES gksu2/Makefile" ;;
54219
 
-    "gksu/Makefile") CONFIG_FILES="$CONFIG_FILES gksu/Makefile" ;;
54220
 
-    "gnome-python-extras-2.0.pc") CONFIG_FILES="$CONFIG_FILES gnome-python-extras-2.0.pc" ;;
54221
 
-    "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
54222
 
-    "docs/gtkmozembed/Makefile") CONFIG_FILES="$CONFIG_FILES docs/gtkmozembed/Makefile" ;;
54223
 
-    "docs/gtkspell/Makefile") CONFIG_FILES="$CONFIG_FILES docs/gtkspell/Makefile" ;;
54224
 
-    "docs/gtkmozembed/entities.docbook") CONFIG_FILES="$CONFIG_FILES docs/gtkmozembed/entities.docbook" ;;
54225
 
-    "docs/gtkspell/entities.docbook") CONFIG_FILES="$CONFIG_FILES docs/gtkspell/entities.docbook" ;;
54226
 
+# Commands necessary for linking programs (against libraries) with templates.
54227
 
+prelink_cmds=$lt_prelink_cmds
54228
 
+
54229
 
+# Specify filename containing input files.
54230
 
+file_list_spec=$lt_file_list_spec
54231
 
+
54232
 
+# How to hardcode a shared library path into an executable.
54233
 
+hardcode_action=$hardcode_action
54234
 
+
54235
 
+# The directories searched by this compiler when creating a shared library.
54236
 
+compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
54237
 
+
54238
 
+# Dependencies to place before and after the objects being linked to
54239
 
+# create a shared library.
54240
 
+predep_objects=$lt_predep_objects
54241
 
+postdep_objects=$lt_postdep_objects
54242
 
+predeps=$lt_predeps
54243
 
+postdeps=$lt_postdeps
54244
 
+
54245
 
+# The library search path used internally by the compiler when linking
54246
 
+# a shared library.
54247
 
+compiler_lib_search_path=$lt_compiler_lib_search_path
54248
 
+
54249
 
+# ### END LIBTOOL CONFIG
54250
 
+
54251
 
+_LT_EOF
54252
 
 
54253
 
-  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
54254
 
-$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
54255
 
-   { (exit 1); exit 1; }; };;
54256
 
+  case $host_os in
54257
 
+  aix3*)
54258
 
+    cat <<\_LT_EOF >> "$cfgfile"
54259
 
+# AIX sometimes has problems with the GCC collect2 program.  For some
54260
 
+# reason, if we set the COLLECT_NAMES environment variable, the problems
54261
 
+# vanish in a puff of smoke.
54262
 
+if test "X${COLLECT_NAMES+set}" != Xset; then
54263
 
+  COLLECT_NAMES=
54264
 
+  export COLLECT_NAMES
54265
 
+fi
54266
 
+_LT_EOF
54267
 
+    ;;
54268
 
   esac
54269
 
-done
54270
 
 
54271
 
 
54272
 
-# If the user did not use the arguments to specify the items to instantiate,
54273
 
-# then the envvar interface is used.  Set only those that are not.
54274
 
-# We use the long form for the default assignment because of an extremely
54275
 
-# bizarre bug on SunOS 4.1.3.
54276
 
-if $ac_need_defaults; then
54277
 
-  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
54278
 
-  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
54279
 
-  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
54280
 
-fi
54281
 
+ltmain="$ac_aux_dir/ltmain.sh"
54282
 
 
54283
 
-# Have a temporary directory for convenience.  Make it in the build tree
54284
 
-# simply because there is no reason against having it here, and in addition,
54285
 
-# creating and moving files from /tmp can sometimes cause problems.
54286
 
-# Hook for its removal unless debugging.
54287
 
-# Note that there is a small window in which the directory will not be cleaned:
54288
 
-# after its creation but before its name has been assigned to `$tmp'.
54289
 
-$debug ||
54290
 
+
54291
 
+  # We use sed instead of cat because bash on DJGPP gets confused if
54292
 
+  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
54293
 
+  # text mode, it properly converts lines to CR/LF.  This bash problem
54294
 
+  # is reportedly fixed, but why not run on old versions too?
54295
 
+  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
54296
 
+    || (rm -f "$cfgfile"; exit 1)
54297
 
+
54298
 
+  case $xsi_shell in
54299
 
+  yes)
54300
 
+    cat << \_LT_EOF >> "$cfgfile"
54301
 
+
54302
 
+# func_dirname file append nondir_replacement
54303
 
+# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
54304
 
+# otherwise set result to NONDIR_REPLACEMENT.
54305
 
+func_dirname ()
54306
 
 {
54307
 
-  tmp=
54308
 
-  trap 'exit_status=$?
54309
 
-  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
54310
 
-' 0
54311
 
-  trap '{ (exit 1); exit 1; }' 1 2 13 15
54312
 
+  case ${1} in
54313
 
+    */*) func_dirname_result="${1%/*}${2}" ;;
54314
 
+    *  ) func_dirname_result="${3}" ;;
54315
 
+  esac
54316
 
 }
54317
 
-# Create a (secure) tmp directory for tmp files.
54318
 
 
54319
 
+# func_basename file
54320
 
+func_basename ()
54321
 
 {
54322
 
-  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
54323
 
-  test -n "$tmp" && test -d "$tmp"
54324
 
-}  ||
54325
 
-{
54326
 
-  tmp=./conf$$-$RANDOM
54327
 
-  (umask 077 && mkdir "$tmp")
54328
 
-} ||
54329
 
+  func_basename_result="${1##*/}"
54330
 
+}
54331
 
+
54332
 
+# func_dirname_and_basename file append nondir_replacement
54333
 
+# perform func_basename and func_dirname in a single function
54334
 
+# call:
54335
 
+#   dirname:  Compute the dirname of FILE.  If nonempty,
54336
 
+#             add APPEND to the result, otherwise set result
54337
 
+#             to NONDIR_REPLACEMENT.
54338
 
+#             value returned in "$func_dirname_result"
54339
 
+#   basename: Compute filename of FILE.
54340
 
+#             value retuned in "$func_basename_result"
54341
 
+# Implementation must be kept synchronized with func_dirname
54342
 
+# and func_basename. For efficiency, we do not delegate to
54343
 
+# those functions but instead duplicate the functionality here.
54344
 
+func_dirname_and_basename ()
54345
 
 {
54346
 
-   $as_echo "$as_me: cannot create a temporary directory in ." >&2
54347
 
-   { (exit 1); exit 1; }
54348
 
+  case ${1} in
54349
 
+    */*) func_dirname_result="${1%/*}${2}" ;;
54350
 
+    *  ) func_dirname_result="${3}" ;;
54351
 
+  esac
54352
 
+  func_basename_result="${1##*/}"
54353
 
 }
54354
 
 
54355
 
-# Set up the scripts for CONFIG_FILES section.
54356
 
-# No need to generate them if there are no CONFIG_FILES.
54357
 
-# This happens for instance with `./config.status config.h'.
54358
 
-if test -n "$CONFIG_FILES"; then
54359
 
+# func_stripname prefix suffix name
54360
 
+# strip PREFIX and SUFFIX off of NAME.
54361
 
+# PREFIX and SUFFIX must not contain globbing or regex special
54362
 
+# characters, hashes, percent signs, but SUFFIX may contain a leading
54363
 
+# dot (in which case that matches only a dot).
54364
 
+func_stripname ()
54365
 
+{
54366
 
+  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
54367
 
+  # positional parameters, so assign one to ordinary parameter first.
54368
 
+  func_stripname_result=${3}
54369
 
+  func_stripname_result=${func_stripname_result#"${1}"}
54370
 
+  func_stripname_result=${func_stripname_result%"${2}"}
54371
 
+}
54372
 
 
54373
 
+# func_opt_split
54374
 
+func_opt_split ()
54375
 
+{
54376
 
+  func_opt_split_opt=${1%%=*}
54377
 
+  func_opt_split_arg=${1#*=}
54378
 
+}
54379
 
 
54380
 
-ac_cr='
 
 
b"'"
54381
 
-ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
54382
 
-if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
54383
 
-  ac_cs_awk_cr='\\r'
54384
 
-else
54385
 
-  ac_cs_awk_cr=$ac_cr
54386
 
-fi
54387
 
+# func_lo2o object
54388
 
+func_lo2o ()
54389
 
+{
54390
 
+  case ${1} in
54391
 
+    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
54392
 
+    *)    func_lo2o_result=${1} ;;
54393
 
+  esac
54394
 
+}
54395
 
 
54396
 
-echo 'BEGIN {' >"$tmp/subs1.awk" &&
54397
 
-_ACEOF
54398
 
+# func_xform libobj-or-source
54399
 
+func_xform ()
54400
 
+{
54401
 
+  func_xform_result=${1%.*}.lo
54402
 
+}
54403
 
 
54404
 
+# func_arith arithmetic-term...
54405
 
+func_arith ()
54406
 
+{
54407
 
+  func_arith_result=$(( $* ))
54408
 
+}
54409
 
 
54410
 
+# func_len string
54411
 
+# STRING may not start with a hyphen.
54412
 
+func_len ()
54413
 
 {
54414
 
-  echo "cat >conf$$subs.awk <<_ACEOF" &&
54415
 
-  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
54416
 
-  echo "_ACEOF"
54417
 
-} >conf$$subs.sh ||
54418
 
-  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54419
 
-$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54420
 
-   { (exit 1); exit 1; }; }
54421
 
-ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
54422
 
-ac_delim='%!_!# '
54423
 
-for ac_last_try in false false false false false :; do
54424
 
-  . ./conf$$subs.sh ||
54425
 
-    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54426
 
-$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54427
 
-   { (exit 1); exit 1; }; }
54428
 
+  func_len_result=${#1}
54429
 
+}
54430
 
 
54431
 
-  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then
54432
 
-    break
54433
 
-  elif $ac_last_try; then
54434
 
-    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54435
 
-$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54436
 
-   { (exit 1); exit 1; }; }
54437
 
+_LT_EOF
54438
 
+    ;;
54439
 
+  *) # Bourne compatible functions.
54440
 
+    cat << \_LT_EOF >> "$cfgfile"
54441
 
+
54442
 
+# func_dirname file append nondir_replacement
54443
 
+# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
54444
 
+# otherwise set result to NONDIR_REPLACEMENT.
54445
 
+func_dirname ()
54446
 
+{
54447
 
+  # Extract subdirectory from the argument.
54448
 
+  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
54449
 
+  if test "X$func_dirname_result" = "X${1}"; then
54450
 
+    func_dirname_result="${3}"
54451
 
   else
54452
 
-    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54453
 
+    func_dirname_result="$func_dirname_result${2}"
54454
 
   fi
54455
 
-done
54456
 
-rm -f conf$$subs.sh
54457
 
+}
54458
 
 
54459
 
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
54460
 
-cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
54461
 
-_ACEOF
54462
 
-sed -n '
54463
 
-h
54464
 
-s/^/S["/; s/!.*/"]=/
54465
 
-p
54466
 
-g
54467
 
-s/^[^!]*!//
54468
 
-:repl
54469
 
-t repl
54470
 
-s/'"$ac_delim"'$//
54471
 
-t delim
54472
 
-:nl
54473
 
-h
54474
 
-s/\(.\{148\}\).*/\1/
54475
 
-t more1
54476
 
-s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
54477
 
-p
54478
 
-n
54479
 
-b repl
54480
 
-:more1
54481
 
-s/["\\]/\\&/g; s/^/"/; s/$/"\\/
54482
 
-p
54483
 
-g
54484
 
-s/.\{148\}//
54485
 
-t nl
54486
 
-:delim
54487
 
-h
54488
 
-s/\(.\{148\}\).*/\1/
54489
 
-t more2
54490
 
-s/["\\]/\\&/g; s/^/"/; s/$/"/
54491
 
-p
54492
 
-b
54493
 
-:more2
54494
 
-s/["\\]/\\&/g; s/^/"/; s/$/"\\/
54495
 
-p
54496
 
-g
54497
 
-s/.\{148\}//
54498
 
-t delim
54499
 
-' <conf$$subs.awk | sed '
54500
 
-/^[^""]/{
54501
 
-  N
54502
 
-  s/\n//
54503
 
+# func_basename file
54504
 
+func_basename ()
54505
 
+{
54506
 
+  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
54507
 
 }
54508
 
-' >>$CONFIG_STATUS || ac_write_fail=1
54509
 
-rm -f conf$$subs.awk
54510
 
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
54511
 
-_ACAWK
54512
 
-cat >>"\$tmp/subs1.awk" <<_ACAWK &&
54513
 
-  for (key in S) S_is_set[key] = 1
54514
 
-  FS = ""
54515
 
 
54516
 
+
54517
 
+# func_stripname prefix suffix name
54518
 
+# strip PREFIX and SUFFIX off of NAME.
54519
 
+# PREFIX and SUFFIX must not contain globbing or regex special
54520
 
+# characters, hashes, percent signs, but SUFFIX may contain a leading
54521
 
+# dot (in which case that matches only a dot).
54522
 
+# func_strip_suffix prefix name
54523
 
+func_stripname ()
54524
 
+{
54525
 
+  case ${2} in
54526
 
+    .*) func_stripname_result=`$ECHO "X${3}" \
54527
 
+           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
54528
 
+    *)  func_stripname_result=`$ECHO "X${3}" \
54529
 
+           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
54530
 
+  esac
54531
 
 }
54532
 
+
54533
 
+# sed scripts:
54534
 
+my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
54535
 
+my_sed_long_arg='1s/^-[^=]*=//'
54536
 
+
54537
 
+# func_opt_split
54538
 
+func_opt_split ()
54539
 
 {
54540
 
-  line = $ 0
54541
 
-  nfields = split(line, field, "@")
54542
 
-  substed = 0
54543
 
-  len = length(field[1])
54544
 
-  for (i = 2; i < nfields; i++) {
54545
 
-    key = field[i]
54546
 
-    keylen = length(key)
54547
 
-    if (S_is_set[key]) {
54548
 
-      value = S[key]
54549
 
-      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
54550
 
-      len += length(value) + length(field[++i])
54551
 
-      substed = 1
54552
 
-    } else
54553
 
-      len += 1 + keylen
54554
 
-  }
54555
 
+  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
54556
 
+  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
54557
 
+}
54558
 
 
54559
 
-  print line
54560
 
+# func_lo2o object
54561
 
+func_lo2o ()
54562
 
+{
54563
 
+  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
54564
 
 }
54565
 
 
54566
 
-_ACAWK
54567
 
-_ACEOF
54568
 
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
54569
 
-if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
54570
 
-  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
54571
 
-else
54572
 
-  cat
54573
 
-fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
54574
 
-  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
54575
 
-$as_echo "$as_me: error: could not setup config files machinery" >&2;}
54576
 
-   { (exit 1); exit 1; }; }
54577
 
-_ACEOF
54578
 
+# func_xform libobj-or-source
54579
 
+func_xform ()
54580
 
+{
54581
 
+  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
54582
 
+}
54583
 
 
54584
 
-# VPATH may cause trouble with some makes, so we remove $(srcdir),
54585
 
-# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54586
 
-# trailing colons and then remove the whole line if VPATH becomes empty
54587
 
-# (actually we leave an empty line to preserve line numbers).
54588
 
-if test "x$srcdir" = x.; then
54589
 
-  ac_vpsub='/^[         ]*VPATH[        ]*=/{
54590
 
-s/:*\$(srcdir):*/:/
54591
 
-s/:*\${srcdir}:*/:/
54592
 
-s/:*@srcdir@:*/:/
54593
 
-s/^\([^=]*=[    ]*\):*/\1/
54594
 
-s/:*$//
54595
 
-s/^[^=]*=[      ]*$//
54596
 
-}'
54597
 
-fi
54598
 
+# func_arith arithmetic-term...
54599
 
+func_arith ()
54600
 
+{
54601
 
+  func_arith_result=`expr "$@"`
54602
 
+}
54603
 
+
54604
 
+# func_len string
54605
 
+# STRING may not start with a hyphen.
54606
 
+func_len ()
54607
 
+{
54608
 
+  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
54609
 
+}
54610
 
+
54611
 
+_LT_EOF
54612
 
+esac
54613
 
+
54614
 
+case $lt_shell_append in
54615
 
+  yes)
54616
 
+    cat << \_LT_EOF >> "$cfgfile"
54617
 
+
54618
 
+# func_append var value
54619
 
+# Append VALUE to the end of shell variable VAR.
54620
 
+func_append ()
54621
 
+{
54622
 
+  eval "$1+=\$2"
54623
 
+}
54624
 
+_LT_EOF
54625
 
+    ;;
54626
 
+  *)
54627
 
+    cat << \_LT_EOF >> "$cfgfile"
54628
 
+
54629
 
+# func_append var value
54630
 
+# Append VALUE to the end of shell variable VAR.
54631
 
+func_append ()
54632
 
+{
54633
 
+  eval "$1=\$$1\$2"
54634
 
+}
54635
 
+
54636
 
+_LT_EOF
54637
 
+    ;;
54638
 
+  esac
54639
 
+
54640
 
+
54641
 
+  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
54642
 
+    || (rm -f "$cfgfile"; exit 1)
54643
 
+
54644
 
+  mv -f "$cfgfile" "$ofile" ||
54645
 
+    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
54646
 
+  chmod +x "$ofile"
54647
 
+
54648
 
+
54649
 
+    cat <<_LT_EOF >> "$ofile"
54650
 
+
54651
 
+# ### BEGIN LIBTOOL TAG CONFIG: CXX
54652
 
+
54653
 
+# The linker used to build libraries.
54654
 
+LD=$lt_LD_CXX
54655
 
+
54656
 
+# Commands used to build an old-style archive.
54657
 
+old_archive_cmds=$lt_old_archive_cmds_CXX
54658
 
+
54659
 
+# A language specific compiler.
54660
 
+CC=$lt_compiler_CXX
54661
 
+
54662
 
+# Is the compiler the GNU compiler?
54663
 
+with_gcc=$GCC_CXX
54664
 
+
54665
 
+# Compiler flag to turn off builtin functions.
54666
 
+no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
54667
 
+
54668
 
+# How to pass a linker flag through the compiler.
54669
 
+wl=$lt_lt_prog_compiler_wl_CXX
54670
 
+
54671
 
+# Additional compiler flags for building library objects.
54672
 
+pic_flag=$lt_lt_prog_compiler_pic_CXX
54673
 
+
54674
 
+# Compiler flag to prevent dynamic linking.
54675
 
+link_static_flag=$lt_lt_prog_compiler_static_CXX
54676
 
+
54677
 
+# Does compiler simultaneously support -c and -o options?
54678
 
+compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
54679
 
+
54680
 
+# Whether or not to add -lc for building shared libraries.
54681
 
+build_libtool_need_lc=$archive_cmds_need_lc_CXX
54682
 
+
54683
 
+# Whether or not to disallow shared libs when runtime libs are static.
54684
 
+allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
54685
 
+
54686
 
+# Compiler flag to allow reflexive dlopens.
54687
 
+export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
54688
 
+
54689
 
+# Compiler flag to generate shared objects directly from archives.
54690
 
+whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
54691
 
+
54692
 
+# Whether the compiler copes with passing no objects directly.
54693
 
+compiler_needs_object=$lt_compiler_needs_object_CXX
54694
 
+
54695
 
+# Create an old-style archive from a shared archive.
54696
 
+old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
54697
 
+
54698
 
+# Create a temporary old-style archive to link instead of a shared archive.
54699
 
+old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
54700
 
 
54701
 
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
54702
 
-fi # test -n "$CONFIG_FILES"
54703
 
+# Commands used to build a shared archive.
54704
 
+archive_cmds=$lt_archive_cmds_CXX
54705
 
+archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
54706
 
 
54707
 
-# Set up the scripts for CONFIG_HEADERS section.
54708
 
-# No need to generate them if there are no CONFIG_HEADERS.
54709
 
-# This happens for instance with `./config.status Makefile'.
54710
 
-if test -n "$CONFIG_HEADERS"; then
54711
 
-cat >"$tmp/defines.awk" <<\_ACAWK ||
54712
 
-BEGIN {
54713
 
-_ACEOF
54714
 
+# Commands used to build a loadable module if different from building
54715
 
+# a shared archive.
54716
 
+module_cmds=$lt_module_cmds_CXX
54717
 
+module_expsym_cmds=$lt_module_expsym_cmds_CXX
54718
 
 
54719
 
-# Transform confdefs.h into an awk script `defines.awk', embedded as
54720
 
-# here-document in config.status, that substitutes the proper values into
54721
 
-# config.h.in to produce config.h.
54722
 
+# Whether we are building with GNU ld or not.
54723
 
+with_gnu_ld=$lt_with_gnu_ld_CXX
54724
 
 
54725
 
-# Create a delimiter string that does not exist in confdefs.h, to ease
54726
 
-# handling of long lines.
54727
 
-ac_delim='%!_!# '
54728
 
-for ac_last_try in false false :; do
54729
 
-  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
54730
 
-  if test -z "$ac_t"; then
54731
 
-    break
54732
 
-  elif $ac_last_try; then
54733
 
-    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
54734
 
-$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
54735
 
-   { (exit 1); exit 1; }; }
54736
 
-  else
54737
 
-    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54738
 
-  fi
54739
 
-done
54740
 
+# Flag that allows shared libraries with undefined symbols to be built.
54741
 
+allow_undefined_flag=$lt_allow_undefined_flag_CXX
54742
 
 
54743
 
-# For the awk script, D is an array of macro values keyed by name,
54744
 
-# likewise P contains macro parameters if any.  Preserve backslash
54745
 
-# newline sequences.
54746
 
+# Flag that enforces no undefined symbols.
54747
 
+no_undefined_flag=$lt_no_undefined_flag_CXX
54748
 
 
54749
 
-ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
54750
 
-sed -n '
54751
 
-s/.\{148\}/&'"$ac_delim"'/g
54752
 
-t rset
54753
 
-:rset
54754
 
-s/^[    ]*#[    ]*define[       ][      ]*/ /
54755
 
-t def
54756
 
-d
54757
 
-:def
54758
 
-s/\\$//
54759
 
-t bsnl
54760
 
-s/["\\]/\\&/g
54761
 
-s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
54762
 
-D["\1"]=" \3"/p
54763
 
-s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2"/p
54764
 
-d
54765
 
-:bsnl
54766
 
-s/["\\]/\\&/g
54767
 
-s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
54768
 
-D["\1"]=" \3\\\\\\n"\\/p
54769
 
-t cont
54770
 
-s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
54771
 
-t cont
54772
 
-d
54773
 
-:cont
54774
 
-n
54775
 
-s/.\{148\}/&'"$ac_delim"'/g
54776
 
-t clear
54777
 
-:clear
54778
 
-s/\\$//
54779
 
-t bsnlc
54780
 
-s/["\\]/\\&/g; s/^/"/; s/$/"/p
54781
 
-d
54782
 
-:bsnlc
54783
 
-s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
54784
 
-b cont
54785
 
-' <confdefs.h | sed '
54786
 
-s/'"$ac_delim"'/"\\\
54787
 
-"/g' >>$CONFIG_STATUS || ac_write_fail=1
54788
 
+# Flag to hardcode \$libdir into a binary during linking.
54789
 
+# This must work even if \$libdir does not exist
54790
 
+hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
54791
 
 
54792
 
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
54793
 
-  for (key in D) D_is_set[key] = 1
54794
 
-  FS = ""
54795
 
-}
54796
 
-/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
54797
 
-  line = \$ 0
54798
 
-  split(line, arg, " ")
54799
 
-  if (arg[1] == "#") {
54800
 
-    defundef = arg[2]
54801
 
-    mac1 = arg[3]
54802
 
-  } else {
54803
 
-    defundef = substr(arg[1], 2)
54804
 
-    mac1 = arg[2]
54805
 
-  }
54806
 
-  split(mac1, mac2, "(") #)
54807
 
-  macro = mac2[1]
54808
 
-  if (D_is_set[macro]) {
54809
 
-    # Preserve the white space surrounding the "#".
54810
 
-    prefix = substr(line, 1, index(line, defundef) - 1)
54811
 
-    print prefix "define", macro P[macro] D[macro]
54812
 
-    next
54813
 
-  } else {
54814
 
-    # Replace #undef with comments.  This is necessary, for example,
54815
 
-    # in the case of _POSIX_SOURCE, which is predefined and required
54816
 
-    # on some systems where configure will not decide to define it.
54817
 
-    if (defundef == "undef") {
54818
 
-      print "/*", line, "*/"
54819
 
-      next
54820
 
-    }
54821
 
-  }
54822
 
-}
54823
 
-{ print }
54824
 
-_ACAWK
54825
 
-_ACEOF
54826
 
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
54827
 
-  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
54828
 
-$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
54829
 
-   { (exit 1); exit 1; }; }
54830
 
-fi # test -n "$CONFIG_HEADERS"
54831
 
+# If ld is used when linking, flag to hardcode \$libdir into a binary
54832
 
+# during linking.  This must work even if \$libdir does not exist.
54833
 
+hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
54834
 
 
54835
 
+# Whether we need a single "-rpath" flag with a separated argument.
54836
 
+hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
54837
 
 
54838
 
-eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
54839
 
-shift
54840
 
-for ac_tag
54841
 
-do
54842
 
-  case $ac_tag in
54843
 
-  :[FHLC]) ac_mode=$ac_tag; continue;;
54844
 
-  esac
54845
 
-  case $ac_mode$ac_tag in
54846
 
-  :[FHL]*:*);;
54847
 
-  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54848
 
-$as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54849
 
-   { (exit 1); exit 1; }; };;
54850
 
-  :[FH]-) ac_tag=-:-;;
54851
 
-  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
54852
 
-  esac
54853
 
-  ac_save_IFS=$IFS
54854
 
-  IFS=:
54855
 
-  set x $ac_tag
54856
 
-  IFS=$ac_save_IFS
54857
 
-  shift
54858
 
-  ac_file=$1
54859
 
-  shift
54860
 
+# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
54861
 
+# DIR into the resulting binary.
54862
 
+hardcode_direct=$hardcode_direct_CXX
54863
 
 
54864
 
-  case $ac_mode in
54865
 
-  :L) ac_source=$1;;
54866
 
-  :[FH])
54867
 
-    ac_file_inputs=
54868
 
-    for ac_f
54869
 
-    do
54870
 
-      case $ac_f in
54871
 
-      -) ac_f="$tmp/stdin";;
54872
 
-      *) # Look for the file first in the build tree, then in the source tree
54873
 
-        # (if the path is not absolute).  The absolute path cannot be DOS-style,
54874
 
-        # because $ac_f cannot contain `:'.
54875
 
-        test -f "$ac_f" ||
54876
 
-          case $ac_f in
54877
 
-          [\\/$]*) false;;
54878
 
-          *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
54879
 
-          esac ||
54880
 
-          { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54881
 
-$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54882
 
-   { (exit 1); exit 1; }; };;
54883
 
-      esac
54884
 
-      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
54885
 
-      ac_file_inputs="$ac_file_inputs '$ac_f'"
54886
 
-    done
54887
 
+# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
54888
 
+# DIR into the resulting binary and the resulting library dependency is
54889
 
+# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
54890
 
+# library is relocated.
54891
 
+hardcode_direct_absolute=$hardcode_direct_absolute_CXX
54892
 
 
54893
 
-    # Let's still pretend it is `configure' which instantiates (i.e., don't
54894
 
-    # use $as_me), people would be surprised to read:
54895
 
-    #    /* config.h.  Generated by config.status.  */
54896
 
-    configure_input='Generated from '`
54897
 
-         $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
54898
 
-       `' by configure.'
54899
 
-    if test x"$ac_file" != x-; then
54900
 
-      configure_input="$ac_file.  $configure_input"
54901
 
-      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
54902
 
-$as_echo "$as_me: creating $ac_file" >&6;}
54903
 
-    fi
54904
 
-    # Neutralize special characters interpreted by sed in replacement strings.
54905
 
-    case $configure_input in #(
54906
 
-    *\&* | *\|* | *\\* )
54907
 
-       ac_sed_conf_input=`$as_echo "$configure_input" |
54908
 
-       sed 's/[\\\\&|]/\\\\&/g'`;; #(
54909
 
-    *) ac_sed_conf_input=$configure_input;;
54910
 
-    esac
54911
 
+# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
54912
 
+# into the resulting binary.
54913
 
+hardcode_minus_L=$hardcode_minus_L_CXX
54914
 
 
54915
 
-    case $ac_tag in
54916
 
-    *:-:* | *:-) cat >"$tmp/stdin" \
54917
 
-      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
54918
 
-$as_echo "$as_me: error: could not create $ac_file" >&2;}
54919
 
-   { (exit 1); exit 1; }; } ;;
54920
 
-    esac
54921
 
-    ;;
54922
 
-  esac
54923
 
+# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
54924
 
+# into the resulting binary.
54925
 
+hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
54926
 
 
54927
 
-  ac_dir=`$as_dirname -- "$ac_file" ||
54928
 
-$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54929
 
-        X"$ac_file" : 'X\(//\)[^/]' \| \
54930
 
-        X"$ac_file" : 'X\(//\)$' \| \
54931
 
-        X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54932
 
-$as_echo X"$ac_file" |
54933
 
-    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54934
 
-           s//\1/
54935
 
-           q
54936
 
-         }
54937
 
-         /^X\(\/\/\)[^/].*/{
54938
 
-           s//\1/
54939
 
-           q
54940
 
-         }
54941
 
-         /^X\(\/\/\)$/{
54942
 
-           s//\1/
54943
 
-           q
54944
 
-         }
54945
 
-         /^X\(\/\).*/{
54946
 
-           s//\1/
54947
 
-           q
54948
 
-         }
54949
 
-         s/.*/./; q'`
54950
 
-  { as_dir="$ac_dir"
54951
 
-  case $as_dir in #(
54952
 
-  -*) as_dir=./$as_dir;;
54953
 
-  esac
54954
 
-  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54955
 
-    as_dirs=
54956
 
-    while :; do
54957
 
-      case $as_dir in #(
54958
 
-      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
54959
 
-      *) as_qdir=$as_dir;;
54960
 
-      esac
54961
 
-      as_dirs="'$as_qdir' $as_dirs"
54962
 
-      as_dir=`$as_dirname -- "$as_dir" ||
54963
 
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54964
 
-        X"$as_dir" : 'X\(//\)[^/]' \| \
54965
 
-        X"$as_dir" : 'X\(//\)$' \| \
54966
 
-        X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54967
 
-$as_echo X"$as_dir" |
54968
 
-    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54969
 
-           s//\1/
54970
 
-           q
54971
 
-         }
54972
 
-         /^X\(\/\/\)[^/].*/{
54973
 
-           s//\1/
54974
 
-           q
54975
 
-         }
54976
 
-         /^X\(\/\/\)$/{
54977
 
-           s//\1/
54978
 
-           q
54979
 
-         }
54980
 
-         /^X\(\/\).*/{
54981
 
-           s//\1/
54982
 
-           q
54983
 
-         }
54984
 
-         s/.*/./; q'`
54985
 
-      test -d "$as_dir" && break
54986
 
-    done
54987
 
-    test -z "$as_dirs" || eval "mkdir $as_dirs"
54988
 
-  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54989
 
-$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
54990
 
-   { (exit 1); exit 1; }; }; }
54991
 
-  ac_builddir=.
54992
 
+# Set to "yes" if building a shared library automatically hardcodes DIR
54993
 
+# into the library and all subsequent libraries and executables linked
54994
 
+# against it.
54995
 
+hardcode_automatic=$hardcode_automatic_CXX
54996
 
 
54997
 
-case "$ac_dir" in
54998
 
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54999
 
-*)
55000
 
-  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
55001
 
-  # A ".." for each directory in $ac_dir_suffix.
55002
 
-  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
55003
 
-  case $ac_top_builddir_sub in
55004
 
-  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
55005
 
-  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
55006
 
-  esac ;;
55007
 
-esac
55008
 
-ac_abs_top_builddir=$ac_pwd
55009
 
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
55010
 
-# for backward compatibility:
55011
 
-ac_top_builddir=$ac_top_build_prefix
55012
 
+# Set to yes if linker adds runtime paths of dependent libraries
55013
 
+# to runtime path list.
55014
 
+inherit_rpath=$inherit_rpath_CXX
55015
 
+
55016
 
+# Whether libtool must link a program against all its dependency libraries.
55017
 
+link_all_deplibs=$link_all_deplibs_CXX
55018
 
+
55019
 
+# Fix the shell variable \$srcfile for the compiler.
55020
 
+fix_srcfile_path=$lt_fix_srcfile_path_CXX
55021
 
 
55022
 
-case $srcdir in
55023
 
-  .)  # We are building in place.
55024
 
-    ac_srcdir=.
55025
 
-    ac_top_srcdir=$ac_top_builddir_sub
55026
 
-    ac_abs_top_srcdir=$ac_pwd ;;
55027
 
-  [\\/]* | ?:[\\/]* )  # Absolute name.
55028
 
-    ac_srcdir=$srcdir$ac_dir_suffix;
55029
 
-    ac_top_srcdir=$srcdir
55030
 
-    ac_abs_top_srcdir=$srcdir ;;
55031
 
-  *) # Relative name.
55032
 
-    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
55033
 
-    ac_top_srcdir=$ac_top_build_prefix$srcdir
55034
 
-    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
55035
 
-esac
55036
 
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
55037
 
+# Set to "yes" if exported symbols are required.
55038
 
+always_export_symbols=$always_export_symbols_CXX
55039
 
 
55040
 
+# The commands to list exported symbols.
55041
 
+export_symbols_cmds=$lt_export_symbols_cmds_CXX
55042
 
 
55043
 
-  case $ac_mode in
55044
 
-  :F)
55045
 
-  #
55046
 
-  # CONFIG_FILE
55047
 
-  #
55048
 
+# Symbols that should not be listed in the preloaded symbols.
55049
 
+exclude_expsyms=$lt_exclude_expsyms_CXX
55050
 
 
55051
 
-  case $INSTALL in
55052
 
-  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
55053
 
-  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
55054
 
-  esac
55055
 
-  ac_MKDIR_P=$MKDIR_P
55056
 
-  case $MKDIR_P in
55057
 
-  [\\/$]* | ?:[\\/]* ) ;;
55058
 
-  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
55059
 
-  esac
55060
 
-_ACEOF
55061
 
+# Symbols that must always be exported.
55062
 
+include_expsyms=$lt_include_expsyms_CXX
55063
 
 
55064
 
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
55065
 
-# If the template does not know about datarootdir, expand it.
55066
 
-# FIXME: This hack should be removed a few years after 2.60.
55067
 
-ac_datarootdir_hack=; ac_datarootdir_seen=
55068
 
+# Commands necessary for linking programs (against libraries) with templates.
55069
 
+prelink_cmds=$lt_prelink_cmds_CXX
55070
 
 
55071
 
-ac_sed_dataroot='
55072
 
-/datarootdir/ {
55073
 
-  p
55074
 
-  q
55075
 
-}
55076
 
-/@datadir@/p
55077
 
-/@docdir@/p
55078
 
-/@infodir@/p
55079
 
-/@localedir@/p
55080
 
-/@mandir@/p
55081
 
-'
55082
 
-case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
55083
 
-*datarootdir*) ac_datarootdir_seen=yes;;
55084
 
-*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
55085
 
-  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
55086
 
-$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
55087
 
-_ACEOF
55088
 
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
55089
 
-  ac_datarootdir_hack='
55090
 
-  s&@datadir@&$datadir&g
55091
 
-  s&@docdir@&$docdir&g
55092
 
-  s&@infodir@&$infodir&g
55093
 
-  s&@localedir@&$localedir&g
55094
 
-  s&@mandir@&$mandir&g
55095
 
-    s&\\\${datarootdir}&$datarootdir&g' ;;
55096
 
-esac
55097
 
-_ACEOF
55098
 
+# Specify filename containing input files.
55099
 
+file_list_spec=$lt_file_list_spec_CXX
55100
 
 
55101
 
-# Neutralize VPATH when `$srcdir' = `.'.
55102
 
-# Shell code in configure.ac might set extrasub.
55103
 
-# FIXME: do we really want to maintain this feature?
55104
 
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
55105
 
-ac_sed_extra="$ac_vpsub
55106
 
-$extrasub
55107
 
-_ACEOF
55108
 
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
55109
 
-:t
55110
 
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
55111
 
-s|@configure_input@|$ac_sed_conf_input|;t t
55112
 
-s&@top_builddir@&$ac_top_builddir_sub&;t t
55113
 
-s&@top_build_prefix@&$ac_top_build_prefix&;t t
55114
 
-s&@srcdir@&$ac_srcdir&;t t
55115
 
-s&@abs_srcdir@&$ac_abs_srcdir&;t t
55116
 
-s&@top_srcdir@&$ac_top_srcdir&;t t
55117
 
-s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
55118
 
-s&@builddir@&$ac_builddir&;t t
55119
 
-s&@abs_builddir@&$ac_abs_builddir&;t t
55120
 
-s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
55121
 
-s&@INSTALL@&$ac_INSTALL&;t t
55122
 
-s&@MKDIR_P@&$ac_MKDIR_P&;t t
55123
 
-$ac_datarootdir_hack
55124
 
-"
55125
 
-eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
55126
 
-  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
55127
 
-$as_echo "$as_me: error: could not create $ac_file" >&2;}
55128
 
-   { (exit 1); exit 1; }; }
55129
 
+# How to hardcode a shared library path into an executable.
55130
 
+hardcode_action=$hardcode_action_CXX
55131
 
 
55132
 
-test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
55133
 
-  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
55134
 
-  { ac_out=`sed -n '/^[         ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
55135
 
-  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
55136
 
-which seems to be undefined.  Please make sure it is defined." >&5
55137
 
-$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
55138
 
-which seems to be undefined.  Please make sure it is defined." >&2;}
55139
 
+# The directories searched by this compiler when creating a shared library.
55140
 
+compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
55141
 
 
55142
 
-  rm -f "$tmp/stdin"
55143
 
-  case $ac_file in
55144
 
-  -) cat "$tmp/out" && rm -f "$tmp/out";;
55145
 
-  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
55146
 
-  esac \
55147
 
-  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
55148
 
-$as_echo "$as_me: error: could not create $ac_file" >&2;}
55149
 
-   { (exit 1); exit 1; }; }
55150
 
- ;;
55151
 
-  :H)
55152
 
-  #
55153
 
-  # CONFIG_HEADER
55154
 
-  #
55155
 
-  if test x"$ac_file" != x-; then
55156
 
-    {
55157
 
-      $as_echo "/* $configure_input  */" \
55158
 
-      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
55159
 
-    } >"$tmp/config.h" \
55160
 
-      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
55161
 
-$as_echo "$as_me: error: could not create $ac_file" >&2;}
55162
 
-   { (exit 1); exit 1; }; }
55163
 
-    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
55164
 
-      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
55165
 
-$as_echo "$as_me: $ac_file is unchanged" >&6;}
55166
 
-    else
55167
 
-      rm -f "$ac_file"
55168
 
-      mv "$tmp/config.h" "$ac_file" \
55169
 
-       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
55170
 
-$as_echo "$as_me: error: could not create $ac_file" >&2;}
55171
 
-   { (exit 1); exit 1; }; }
55172
 
-    fi
55173
 
-  else
55174
 
-    $as_echo "/* $configure_input  */" \
55175
 
-      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
55176
 
-      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
55177
 
-$as_echo "$as_me: error: could not create -" >&2;}
55178
 
-   { (exit 1); exit 1; }; }
55179
 
-  fi
55180
 
-# Compute "$ac_file"'s index in $config_headers.
55181
 
-_am_arg="$ac_file"
55182
 
-_am_stamp_count=1
55183
 
-for _am_header in $config_headers :; do
55184
 
-  case $_am_header in
55185
 
-    $_am_arg | $_am_arg:* )
55186
 
-      break ;;
55187
 
-    * )
55188
 
-      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
55189
 
-  esac
55190
 
-done
55191
 
-echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
55192
 
-$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
55193
 
-        X"$_am_arg" : 'X\(//\)[^/]' \| \
55194
 
-        X"$_am_arg" : 'X\(//\)$' \| \
55195
 
-        X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
55196
 
-$as_echo X"$_am_arg" |
55197
 
-    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
55198
 
-           s//\1/
55199
 
-           q
55200
 
-         }
55201
 
-         /^X\(\/\/\)[^/].*/{
55202
 
-           s//\1/
55203
 
-           q
55204
 
-         }
55205
 
-         /^X\(\/\/\)$/{
55206
 
-           s//\1/
55207
 
-           q
55208
 
-         }
55209
 
-         /^X\(\/\).*/{
55210
 
-           s//\1/
55211
 
-           q
55212
 
-         }
55213
 
-         s/.*/./; q'`/stamp-h$_am_stamp_count
55214
 
- ;;
55215
 
+# Dependencies to place before and after the objects being linked to
55216
 
+# create a shared library.
55217
 
+predep_objects=$lt_predep_objects_CXX
55218
 
+postdep_objects=$lt_postdep_objects_CXX
55219
 
+predeps=$lt_predeps_CXX
55220
 
+postdeps=$lt_postdeps_CXX
55221
 
 
55222
 
-  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
55223
 
-$as_echo "$as_me: executing $ac_file commands" >&6;}
55224
 
- ;;
55225
 
-  esac
55226
 
+# The library search path used internally by the compiler when linking
55227
 
+# a shared library.
55228
 
+compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
55229
 
 
55230
 
+# ### END LIBTOOL TAG CONFIG: CXX
55231
 
+_LT_EOF
55232
 
 
55233
 
-  case $ac_file$ac_mode in
55234
 
-    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
55235
 
-  # Strip MF so we end up with the name of the file.
55236
 
-  mf=`echo "$mf" | sed -e 's/:.*$//'`
55237
 
-  # Check whether this is an Automake generated Makefile or not.
55238
 
-  # We used to match only the files named `Makefile.in', but
55239
 
-  # some people rename them; so instead we look at the file content.
55240
 
-  # Grep'ing the first line is not enough: some people post-process
55241
 
-  # each Makefile.in and add a new line on top of each file to say so.
55242
 
-  # Grep'ing the whole file is not good either: AIX grep has a line
55243
 
-  # limit of 2048, but all sed's we know have understand at least 4000.
55244
 
-  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
55245
 
-    dirpart=`$as_dirname -- "$mf" ||
55246
 
-$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
55247
 
-        X"$mf" : 'X\(//\)[^/]' \| \
55248
 
-        X"$mf" : 'X\(//\)$' \| \
55249
 
-        X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
55250
 
-$as_echo X"$mf" |
55251
 
-    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
55252
 
-           s//\1/
55253
 
-           q
55254
 
-         }
55255
 
-         /^X\(\/\/\)[^/].*/{
55256
 
-           s//\1/
55257
 
-           q
55258
 
-         }
55259
 
-         /^X\(\/\/\)$/{
55260
 
-           s//\1/
55261
 
-           q
55262
 
-         }
55263
 
-         /^X\(\/\).*/{
55264
 
-           s//\1/
55265
 
-           q
55266
 
-         }
55267
 
-         s/.*/./; q'`
55268
 
-  else
55269
 
-    continue
55270
 
-  fi
55271
 
-  # Extract the definition of DEPDIR, am__include, and am__quote
55272
 
-  # from the Makefile without running `make'.
55273
 
-  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
55274
 
-  test -z "$DEPDIR" && continue
55275
 
-  am__include=`sed -n 's/^am__include = //p' < "$mf"`
55276
 
-  test -z "am__include" && continue
55277
 
-  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
55278
 
-  # When using ansi2knr, U may be empty or an underscore; expand it
55279
 
-  U=`sed -n 's/^U = //p' < "$mf"`
55280
 
-  # Find all dependency output files, they are included files with
55281
 
-  # $(DEPDIR) in their names.  We invoke sed twice because it is the
55282
 
-  # simplest approach to changing $(DEPDIR) to its actual value in the
55283
 
-  # expansion.
55284
 
-  for file in `sed -n "
55285
 
-    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
55286
 
-       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
55287
 
-    # Make sure the directory exists.
55288
 
-    test -f "$dirpart/$file" && continue
55289
 
-    fdir=`$as_dirname -- "$file" ||
55290
 
-$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
55291
 
-        X"$file" : 'X\(//\)[^/]' \| \
55292
 
-        X"$file" : 'X\(//\)$' \| \
55293
 
-        X"$file" : 'X\(/\)' \| . 2>/dev/null ||
55294
 
-$as_echo X"$file" |
55295
 
-    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
55296
 
-           s//\1/
55297
 
-           q
55298
 
-         }
55299
 
-         /^X\(\/\/\)[^/].*/{
55300
 
-           s//\1/
55301
 
-           q
55302
 
-         }
55303
 
-         /^X\(\/\/\)$/{
55304
 
-           s//\1/
55305
 
-           q
55306
 
-         }
55307
 
-         /^X\(\/\).*/{
55308
 
-           s//\1/
55309
 
-           q
55310
 
-         }
55311
 
-         s/.*/./; q'`
55312
 
-    { as_dir=$dirpart/$fdir
55313
 
-  case $as_dir in #(
55314
 
-  -*) as_dir=./$as_dir;;
55315
 
-  esac
55316
 
-  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
55317
 
-    as_dirs=
55318
 
-    while :; do
55319
 
-      case $as_dir in #(
55320
 
-      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
55321
 
-      *) as_qdir=$as_dir;;
55322
 
-      esac
55323
 
-      as_dirs="'$as_qdir' $as_dirs"
55324
 
-      as_dir=`$as_dirname -- "$as_dir" ||
55325
 
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
55326
 
-        X"$as_dir" : 'X\(//\)[^/]' \| \
55327
 
-        X"$as_dir" : 'X\(//\)$' \| \
55328
 
-        X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
55329
 
-$as_echo X"$as_dir" |
55330
 
-    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
55331
 
-           s//\1/
55332
 
-           q
55333
 
-         }
55334
 
-         /^X\(\/\/\)[^/].*/{
55335
 
-           s//\1/
55336
 
-           q
55337
 
-         }
55338
 
-         /^X\(\/\/\)$/{
55339
 
-           s//\1/
55340
 
-           q
55341
 
-         }
55342
 
-         /^X\(\/\).*/{
55343
 
-           s//\1/
55344
 
-           q
55345
 
-         }
55346
 
-         s/.*/./; q'`
55347
 
-      test -d "$as_dir" && break
55348
 
-    done
55349
 
-    test -z "$as_dirs" || eval "mkdir $as_dirs"
55350
 
-  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
55351
 
-$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
55352
 
-   { (exit 1); exit 1; }; }; }
55353
 
-    # echo "creating $dirpart/$file"
55354
 
-    echo '# dummy' > "$dirpart/$file"
55355
 
-  done
55356
 
-done
55357
 
  ;;
55358
 
 
55359
 
   esac
55360
 
 done # for ac_tag
55361
 
 
55362
 
 
55363
 
-{ (exit 0); exit 0; }
55364
 
+as_fn_exit 0
55365
 
 _ACEOF
55366
 
-chmod +x $CONFIG_STATUS
55367
 
 ac_clean_files=$ac_clean_files_save
55368
 
 
55369
 
 test $ac_write_fail = 0 ||
55370
 
-  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
55371
 
-$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
55372
 
-   { (exit 1); exit 1; }; }
55373
 
+  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
55374
 
 
55375
 
 
55376
 
 # configure is writing to config.log, and then calls config.status.
55377
 
@@ -25295,11 +21184,11 @@ if test "$no_create" != yes; then
55378
 
   exec 5>>config.log
55379
 
   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
55380
 
   # would make configure fail if this is the last instruction.
55381
 
-  $ac_cs_success || { (exit 1); exit 1; }
55382
 
+  $ac_cs_success || as_fn_exit $?
55383
 
 fi
55384
 
 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
55385
 
-  { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
55386
 
-$as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}
55387
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
55388
 
+$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
55389
 
 fi
55390
 
 
55391
 
 
55392
 
diff -Nurp gnome-python-extras-2.25.3.orig/docs/gtkmozembed/Makefile.in gnome-python-extras-2.25.3/docs/gtkmozembed/Makefile.in
55393
 
--- gnome-python-extras-2.25.3.orig/docs/gtkmozembed/Makefile.in        2009-02-15 22:21:01.000000000 +0000
55394
 
+++ gnome-python-extras-2.25.3/docs/gtkmozembed/Makefile.in     2009-12-15 01:42:16.520346074 +0000
55395
 
@@ -1,8 +1,9 @@
55396
 
-# Makefile.in generated by automake 1.10.1 from Makefile.am.
55397
 
+# Makefile.in generated by automake 1.11 from Makefile.am.
55398
 
 # @configure_input@
55399
 
 
55400
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
55401
 
-# 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
55402
 
+# 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
55403
 
+# Inc.
55404
 
 # This Makefile.in is free software; the Free Software Foundation
55405
 
 # gives unlimited permission to copy and/or distribute it,
55406
 
 # with or without modifications, as long as this notice is preserved.
55407
 
@@ -16,8 +17,9 @@
55408
 
 
55409
 
 VPATH = @srcdir@
55410
 
 pkgdatadir = $(datadir)/@PACKAGE@
55411
 
-pkglibdir = $(libdir)/@PACKAGE@
55412
 
 pkgincludedir = $(includedir)/@PACKAGE@
55413
 
+pkglibdir = $(libdir)/@PACKAGE@
55414
 
+pkglibexecdir = $(libexecdir)/@PACKAGE@
55415
 
 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
55416
 
 install_sh_DATA = $(install_sh) -c -m 644
55417
 
 install_sh_PROGRAM = $(install_sh) -c
55418
 
@@ -43,6 +45,7 @@ am__configure_deps = $(am__aclocal_m4_de
55419
 
 mkinstalldirs = $(install_sh) -d
55420
 
 CONFIG_HEADER = $(top_builddir)/config.h
55421
 
 CONFIG_CLEAN_FILES = entities.docbook
55422
 
+CONFIG_CLEAN_VPATH_FILES =
55423
 
 SOURCES =
55424
 
 DIST_SOURCES =
55425
 
 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
55426
 
@@ -50,10 +53,23 @@ am__vpath_adj = case $$p in \
55427
 
     $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
55428
 
     *) f=$$p;; \
55429
 
   esac;
55430
 
-am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
55431
 
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
55432
 
+am__install_max = 40
55433
 
+am__nobase_strip_setup = \
55434
 
+  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
55435
 
+am__nobase_strip = \
55436
 
+  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
55437
 
+am__nobase_list = $(am__nobase_strip_setup); \
55438
 
+  for p in $$list; do echo "$$p $$p"; done | \
55439
 
+  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
55440
 
+  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
55441
 
+    if (++n[$$2] == $(am__install_max)) \
55442
 
+      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
55443
 
+    END { for (dir in files) print dir, files[dir] }'
55444
 
+am__base_list = \
55445
 
+  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
55446
 
+  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
55447
 
 am__installdirs = "$(DESTDIR)$(CSSdir)" "$(DESTDIR)$(HTMLdir)"
55448
 
-CSSDATA_INSTALL = $(INSTALL_DATA)
55449
 
-HTMLDATA_INSTALL = $(INSTALL_DATA)
55450
 
 DATA = $(CSS_DATA) $(HTML_DATA)
55451
 
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
55452
 
 ACLOCAL = @ACLOCAL@
55453
 
@@ -79,7 +95,7 @@ DEFS = @DEFS@
55454
 
 DEPDIR = @DEPDIR@
55455
 
 DLLTOOL = @DLLTOOL@
55456
 
 DSYMUTIL = @DSYMUTIL@
55457
 
-ECHO = @ECHO@
55458
 
+DUMPBIN = @DUMPBIN@
55459
 
 ECHO_C = @ECHO_C@
55460
 
 ECHO_N = @ECHO_N@
55461
 
 ECHO_T = @ECHO_T@
55462
 
@@ -89,8 +105,7 @@ EGG_RECENT_CFLAGS = @EGG_RECENT_CFLAGS@
55463
 
 EGG_RECENT_LIBS = @EGG_RECENT_LIBS@
55464
 
 EGREP = @EGREP@
55465
 
 EXEEXT = @EXEEXT@
55466
 
-F77 = @F77@
55467
 
-FFLAGS = @FFLAGS@
55468
 
+FGREP = @FGREP@
55469
 
 GDA_CFLAGS = @GDA_CFLAGS@
55470
 
 GDA_LIBS = @GDA_LIBS@
55471
 
 GDL_CFLAGS = @GDL_CFLAGS@
55472
 
@@ -123,23 +138,30 @@ INSTALL_DATA = @INSTALL_DATA@
55473
 
 INSTALL_PROGRAM = @INSTALL_PROGRAM@
55474
 
 INSTALL_SCRIPT = @INSTALL_SCRIPT@
55475
 
 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
55476
 
+LD = @LD@
55477
 
 LDFLAGS = @LDFLAGS@
55478
 
 LIBOBJS = @LIBOBJS@
55479
 
 LIBS = @LIBS@
55480
 
 LIBTOOL = @LIBTOOL@
55481
 
+LIPO = @LIPO@
55482
 
 LN_S = @LN_S@
55483
 
 LTLIBOBJS = @LTLIBOBJS@
55484
 
+MAINT = @MAINT@
55485
 
 MAKEINFO = @MAKEINFO@
55486
 
 MKDIR_P = @MKDIR_P@
55487
 
 MOZILLA_HOME = @MOZILLA_HOME@
55488
 
+NM = @NM@
55489
 
 NMEDIT = @NMEDIT@
55490
 
 OBJDUMP = @OBJDUMP@
55491
 
 OBJEXT = @OBJEXT@
55492
 
+OTOOL = @OTOOL@
55493
 
+OTOOL64 = @OTOOL64@
55494
 
 PACKAGE = @PACKAGE@
55495
 
 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
55496
 
 PACKAGE_NAME = @PACKAGE_NAME@
55497
 
 PACKAGE_STRING = @PACKAGE_STRING@
55498
 
 PACKAGE_TARNAME = @PACKAGE_TARNAME@
55499
 
+PACKAGE_URL = @PACKAGE_URL@
55500
 
 PACKAGE_VERSION = @PACKAGE_VERSION@
55501
 
 PATH_SEPARATOR = @PATH_SEPARATOR@
55502
 
 PKG_CONFIG = @PKG_CONFIG@
55503
 
@@ -166,15 +188,13 @@ SHELL = @SHELL@
55504
 
 STRIP = @STRIP@
55505
 
 VERSION = @VERSION@
55506
 
 XSLTPROC = @XSLTPROC@
55507
 
-XUL19_CFLAGS = @XUL19_CFLAGS@
55508
 
-XUL19_LIBS = @XUL19_LIBS@
55509
 
 abs_builddir = @abs_builddir@
55510
 
 abs_srcdir = @abs_srcdir@
55511
 
 abs_top_builddir = @abs_top_builddir@
55512
 
 abs_top_srcdir = @abs_top_srcdir@
55513
 
 ac_ct_CC = @ac_ct_CC@
55514
 
 ac_ct_CXX = @ac_ct_CXX@
55515
 
-ac_ct_F77 = @ac_ct_F77@
55516
 
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
55517
 
 am__include = @am__include@
55518
 
 am__leading_dot = @am__leading_dot@
55519
 
 am__quote = @am__quote@
55520
 
@@ -205,6 +225,7 @@ libdir = @libdir@
55521
 
 libexecdir = @libexecdir@
55522
 
 localedir = @localedir@
55523
 
 localstatedir = @localstatedir@
55524
 
+lt_ECHO = @lt_ECHO@
55525
 
 mandir = @mandir@
55526
 
 mkdir_p = @mkdir_p@
55527
 
 oldincludedir = @oldincludedir@
55528
 
@@ -267,18 +288,18 @@ all: $(BUILT_SOURCES)
55529
 
        $(MAKE) $(AM_MAKEFLAGS) all-am
55530
 
 
55531
 
 .SUFFIXES:
55532
 
-$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
55533
 
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
55534
 
        @for dep in $?; do \
55535
 
          case '$(am__configure_deps)' in \
55536
 
            *$$dep*) \
55537
 
-             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
55538
 
-               && exit 0; \
55539
 
+             ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
55540
 
+               && { if test -f $@; then exit 0; else break; fi; }; \
55541
 
              exit 1;; \
55542
 
          esac; \
55543
 
        done; \
55544
 
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  docs/gtkmozembed/Makefile'; \
55545
 
-       cd $(top_srcdir) && \
55546
 
-         $(AUTOMAKE) --gnu  docs/gtkmozembed/Makefile
55547
 
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu docs/gtkmozembed/Makefile'; \
55548
 
+       $(am__cd) $(top_srcdir) && \
55549
 
+         $(AUTOMAKE) --gnu docs/gtkmozembed/Makefile
55550
 
 .PRECIOUS: Makefile
55551
 
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
55552
 
        @case '$?' in \
55553
 
@@ -292,10 +313,11 @@ Makefile: $(srcdir)/Makefile.in $(top_bu
55554
 
 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
55555
 
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
55556
 
 
55557
 
-$(top_srcdir)/configure:  $(am__configure_deps)
55558
 
+$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
55559
 
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
55560
 
-$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
55561
 
+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
55562
 
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
55563
 
+$(am__aclocal_m4_deps):
55564
 
 entities.docbook: $(top_builddir)/config.status $(srcdir)/entities.docbook.in
55565
 
        cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
55566
 
 
55567
 
@@ -307,37 +329,43 @@ clean-libtool:
55568
 
 install-CSSDATA: $(CSS_DATA)
55569
 
        @$(NORMAL_INSTALL)
55570
 
        test -z "$(CSSdir)" || $(MKDIR_P) "$(DESTDIR)$(CSSdir)"
55571
 
-       @list='$(CSS_DATA)'; for p in $$list; do \
55572
 
+       @list='$(CSS_DATA)'; test -n "$(CSSdir)" || list=; \
55573
 
+       for p in $$list; do \
55574
 
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
55575
 
-         f=$(am__strip_dir) \
55576
 
-         echo " $(CSSDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(CSSdir)/$$f'"; \
55577
 
-         $(CSSDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(CSSdir)/$$f"; \
55578
 
+         echo "$$d$$p"; \
55579
 
+       done | $(am__base_list) | \
55580
 
+       while read files; do \
55581
 
+         echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(CSSdir)'"; \
55582
 
+         $(INSTALL_DATA) $$files "$(DESTDIR)$(CSSdir)" || exit $$?; \
55583
 
        done
55584
 
 
55585
 
 uninstall-CSSDATA:
55586
 
        @$(NORMAL_UNINSTALL)
55587
 
-       @list='$(CSS_DATA)'; for p in $$list; do \
55588
 
-         f=$(am__strip_dir) \
55589
 
-         echo " rm -f '$(DESTDIR)$(CSSdir)/$$f'"; \
55590
 
-         rm -f "$(DESTDIR)$(CSSdir)/$$f"; \
55591
 
-       done
55592
 
+       @list='$(CSS_DATA)'; test -n "$(CSSdir)" || list=; \
55593
 
+       files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
55594
 
+       test -n "$$files" || exit 0; \
55595
 
+       echo " ( cd '$(DESTDIR)$(CSSdir)' && rm -f" $$files ")"; \
55596
 
+       cd "$(DESTDIR)$(CSSdir)" && rm -f $$files
55597
 
 install-HTMLDATA: $(HTML_DATA)
55598
 
        @$(NORMAL_INSTALL)
55599
 
        test -z "$(HTMLdir)" || $(MKDIR_P) "$(DESTDIR)$(HTMLdir)"
55600
 
-       @list='$(HTML_DATA)'; for p in $$list; do \
55601
 
+       @list='$(HTML_DATA)'; test -n "$(HTMLdir)" || list=; \
55602
 
+       for p in $$list; do \
55603
 
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
55604
 
-         f=$(am__strip_dir) \
55605
 
-         echo " $(HTMLDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(HTMLdir)/$$f'"; \
55606
 
-         $(HTMLDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(HTMLdir)/$$f"; \
55607
 
+         echo "$$d$$p"; \
55608
 
+       done | $(am__base_list) | \
55609
 
+       while read files; do \
55610
 
+         echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(HTMLdir)'"; \
55611
 
+         $(INSTALL_DATA) $$files "$(DESTDIR)$(HTMLdir)" || exit $$?; \
55612
 
        done
55613
 
 
55614
 
 uninstall-HTMLDATA:
55615
 
        @$(NORMAL_UNINSTALL)
55616
 
-       @list='$(HTML_DATA)'; for p in $$list; do \
55617
 
-         f=$(am__strip_dir) \
55618
 
-         echo " rm -f '$(DESTDIR)$(HTMLdir)/$$f'"; \
55619
 
-         rm -f "$(DESTDIR)$(HTMLdir)/$$f"; \
55620
 
-       done
55621
 
+       @list='$(HTML_DATA)'; test -n "$(HTMLdir)" || list=; \
55622
 
+       files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
55623
 
+       test -n "$$files" || exit 0; \
55624
 
+       echo " ( cd '$(DESTDIR)$(HTMLdir)' && rm -f" $$files ")"; \
55625
 
+       cd "$(DESTDIR)$(HTMLdir)" && rm -f $$files
55626
 
 tags: TAGS
55627
 
 TAGS:
55628
 
 
55629
 
@@ -361,13 +389,17 @@ distdir: $(DISTFILES)
55630
 
          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
55631
 
          if test -d $$d/$$file; then \
55632
 
            dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
55633
 
+           if test -d "$(distdir)/$$file"; then \
55634
 
+             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
55635
 
+           fi; \
55636
 
            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
55637
 
-             cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
55638
 
+             cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
55639
 
+             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
55640
 
            fi; \
55641
 
-           cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
55642
 
+           cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
55643
 
          else \
55644
 
-           test -f $(distdir)/$$file \
55645
 
-           || cp -p $$d/$$file $(distdir)/$$file \
55646
 
+           test -f "$(distdir)/$$file" \
55647
 
+           || cp -p $$d/$$file "$(distdir)/$$file" \
55648
 
            || exit 1; \
55649
 
          fi; \
55650
 
        done
55651
 
@@ -401,6 +433,7 @@ clean-generic:
55652
 
 
55653
 
 distclean-generic:
55654
 
        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
55655
 
+       -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
55656
 
 
55657
 
 maintainer-clean-generic:
55658
 
        @echo "This command is intended for maintainers to use"
55659
 
@@ -420,6 +453,8 @@ dvi-am:
55660
 
 
55661
 
 html: html-am
55662
 
 
55663
 
+html-am:
55664
 
+
55665
 
 info: info-am
55666
 
 
55667
 
 info-am:
55668
 
@@ -428,18 +463,28 @@ install-data-am: install-CSSDATA install
55669
 
 
55670
 
 install-dvi: install-dvi-am
55671
 
 
55672
 
+install-dvi-am:
55673
 
+
55674
 
 install-exec-am:
55675
 
 
55676
 
 install-html: install-html-am
55677
 
 
55678
 
+install-html-am:
55679
 
+
55680
 
 install-info: install-info-am
55681
 
 
55682
 
+install-info-am:
55683
 
+
55684
 
 install-man:
55685
 
 
55686
 
 install-pdf: install-pdf-am
55687
 
 
55688
 
+install-pdf-am:
55689
 
+
55690
 
 install-ps: install-ps-am
55691
 
 
55692
 
+install-ps-am:
55693
 
+
55694
 
 installcheck-am:
55695
 
 
55696
 
 maintainer-clean: maintainer-clean-am
55697
 
@@ -460,7 +505,7 @@ ps-am:
55698
 
 
55699
 
 uninstall-am: uninstall-CSSDATA uninstall-HTMLDATA
55700
 
 
55701
 
-.MAKE: install-am install-strip
55702
 
+.MAKE: all check install install-am install-strip
55703
 
 
55704
 
 .PHONY: all all-am check check-am clean clean-generic clean-libtool \
55705
 
        distclean distclean-generic distclean-libtool distdir dvi \
55706
 
@@ -483,12 +528,13 @@ $(HTML_DATA): build_stamp
55707
 
 
55708
 
 @ENABLE_DOCS_TRUE@build_stamp: $(REFERENCE_DEPS)builddate.xml
55709
 
 @ENABLE_DOCS_TRUE@     xsltproc --nonet --xinclude -o $(BUILDDIR)/html/ \
55710
 
-@ENABLE_DOCS_TRUE@              --path $(BUILDDIR):$(srcdir)/gtkmozembed \
55711
 
+@ENABLE_DOCS_TRUE@              --path $(BUILDDIR):$(srcdir) \
55712
 
 @ENABLE_DOCS_TRUE@                 --stringparam gtkdoc.bookname "pygtkmozembed" \
55713
 
 @ENABLE_DOCS_TRUE@                 --stringparam gtkdoc.version ${REF_VERSION} \
55714
 
-@ENABLE_DOCS_TRUE@                 $(HTML_STYLE) $(srcdir)/gtkmozembed/gtkmozembed-classes.xml
55715
 
+@ENABLE_DOCS_TRUE@                 $(HTML_STYLE) $(srcdir)/gtkmozembed-classes.xml
55716
 
 @ENABLE_DOCS_TRUE@     $(PYGOBJECT_FIXXREF) -i /usr/share/gtk-doc/html/pygtk/ $(BUILDDIR)/html/
55717
 
 @ENABLE_DOCS_TRUE@     touch $@
55718
 
+
55719
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
55720
 
 # Otherwise a system limit (for SysV at least) may be exceeded.
55721
 
 .NOEXPORT:
55722
 
diff -Nurp gnome-python-extras-2.25.3.orig/docs/gtkspell/Makefile.in gnome-python-extras-2.25.3/docs/gtkspell/Makefile.in
55723
 
--- gnome-python-extras-2.25.3.orig/docs/gtkspell/Makefile.in   2009-02-15 22:21:01.000000000 +0000
55724
 
+++ gnome-python-extras-2.25.3/docs/gtkspell/Makefile.in        2009-12-15 01:42:16.620346062 +0000
55725
 
@@ -1,8 +1,9 @@
55726
 
-# Makefile.in generated by automake 1.10.1 from Makefile.am.
55727
 
+# Makefile.in generated by automake 1.11 from Makefile.am.
55728
 
 # @configure_input@
55729
 
 
55730
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
55731
 
-# 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
55732
 
+# 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
55733
 
+# Inc.
55734
 
 # This Makefile.in is free software; the Free Software Foundation
55735
 
 # gives unlimited permission to copy and/or distribute it,
55736
 
 # with or without modifications, as long as this notice is preserved.
55737
 
@@ -16,8 +17,9 @@
55738
 
 
55739
 
 VPATH = @srcdir@
55740
 
 pkgdatadir = $(datadir)/@PACKAGE@
55741
 
-pkglibdir = $(libdir)/@PACKAGE@
55742
 
 pkgincludedir = $(includedir)/@PACKAGE@
55743
 
+pkglibdir = $(libdir)/@PACKAGE@
55744
 
+pkglibexecdir = $(libexecdir)/@PACKAGE@
55745
 
 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
55746
 
 install_sh_DATA = $(install_sh) -c -m 644
55747
 
 install_sh_PROGRAM = $(install_sh) -c
55748
 
@@ -43,6 +45,7 @@ am__configure_deps = $(am__aclocal_m4_de
55749
 
 mkinstalldirs = $(install_sh) -d
55750
 
 CONFIG_HEADER = $(top_builddir)/config.h
55751
 
 CONFIG_CLEAN_FILES = entities.docbook
55752
 
+CONFIG_CLEAN_VPATH_FILES =
55753
 
 SOURCES =
55754
 
 DIST_SOURCES =
55755
 
 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
55756
 
@@ -50,10 +53,23 @@ am__vpath_adj = case $$p in \
55757
 
     $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
55758
 
     *) f=$$p;; \
55759
 
   esac;
55760
 
-am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
55761
 
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
55762
 
+am__install_max = 40
55763
 
+am__nobase_strip_setup = \
55764
 
+  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
55765
 
+am__nobase_strip = \
55766
 
+  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
55767
 
+am__nobase_list = $(am__nobase_strip_setup); \
55768
 
+  for p in $$list; do echo "$$p $$p"; done | \
55769
 
+  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
55770
 
+  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
55771
 
+    if (++n[$$2] == $(am__install_max)) \
55772
 
+      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
55773
 
+    END { for (dir in files) print dir, files[dir] }'
55774
 
+am__base_list = \
55775
 
+  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
55776
 
+  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
55777
 
 am__installdirs = "$(DESTDIR)$(CSSdir)" "$(DESTDIR)$(HTMLdir)"
55778
 
-CSSDATA_INSTALL = $(INSTALL_DATA)
55779
 
-HTMLDATA_INSTALL = $(INSTALL_DATA)
55780
 
 DATA = $(CSS_DATA) $(HTML_DATA)
55781
 
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
55782
 
 ACLOCAL = @ACLOCAL@
55783
 
@@ -79,7 +95,7 @@ DEFS = @DEFS@
55784
 
 DEPDIR = @DEPDIR@
55785
 
 DLLTOOL = @DLLTOOL@
55786
 
 DSYMUTIL = @DSYMUTIL@
55787
 
-ECHO = @ECHO@
55788
 
+DUMPBIN = @DUMPBIN@
55789
 
 ECHO_C = @ECHO_C@
55790
 
 ECHO_N = @ECHO_N@
55791
 
 ECHO_T = @ECHO_T@
55792
 
@@ -89,8 +105,7 @@ EGG_RECENT_CFLAGS = @EGG_RECENT_CFLAGS@
55793
 
 EGG_RECENT_LIBS = @EGG_RECENT_LIBS@
55794
 
 EGREP = @EGREP@
55795
 
 EXEEXT = @EXEEXT@
55796
 
-F77 = @F77@
55797
 
-FFLAGS = @FFLAGS@
55798
 
+FGREP = @FGREP@
55799
 
 GDA_CFLAGS = @GDA_CFLAGS@
55800
 
 GDA_LIBS = @GDA_LIBS@
55801
 
 GDL_CFLAGS = @GDL_CFLAGS@
55802
 
@@ -123,23 +138,30 @@ INSTALL_DATA = @INSTALL_DATA@
55803
 
 INSTALL_PROGRAM = @INSTALL_PROGRAM@
55804
 
 INSTALL_SCRIPT = @INSTALL_SCRIPT@
55805
 
 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
55806
 
+LD = @LD@
55807
 
 LDFLAGS = @LDFLAGS@
55808
 
 LIBOBJS = @LIBOBJS@
55809
 
 LIBS = @LIBS@
55810
 
 LIBTOOL = @LIBTOOL@
55811
 
+LIPO = @LIPO@
55812
 
 LN_S = @LN_S@
55813
 
 LTLIBOBJS = @LTLIBOBJS@
55814
 
+MAINT = @MAINT@
55815
 
 MAKEINFO = @MAKEINFO@
55816
 
 MKDIR_P = @MKDIR_P@
55817
 
 MOZILLA_HOME = @MOZILLA_HOME@
55818
 
+NM = @NM@
55819
 
 NMEDIT = @NMEDIT@
55820
 
 OBJDUMP = @OBJDUMP@
55821
 
 OBJEXT = @OBJEXT@
55822
 
+OTOOL = @OTOOL@
55823
 
+OTOOL64 = @OTOOL64@
55824
 
 PACKAGE = @PACKAGE@
55825
 
 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
55826
 
 PACKAGE_NAME = @PACKAGE_NAME@
55827
 
 PACKAGE_STRING = @PACKAGE_STRING@
55828
 
 PACKAGE_TARNAME = @PACKAGE_TARNAME@
55829
 
+PACKAGE_URL = @PACKAGE_URL@
55830
 
 PACKAGE_VERSION = @PACKAGE_VERSION@
55831
 
 PATH_SEPARATOR = @PATH_SEPARATOR@
55832
 
 PKG_CONFIG = @PKG_CONFIG@
55833
 
@@ -166,15 +188,13 @@ SHELL = @SHELL@
55834
 
 STRIP = @STRIP@
55835
 
 VERSION = @VERSION@
55836
 
 XSLTPROC = @XSLTPROC@
55837
 
-XUL19_CFLAGS = @XUL19_CFLAGS@
55838
 
-XUL19_LIBS = @XUL19_LIBS@
55839
 
 abs_builddir = @abs_builddir@
55840
 
 abs_srcdir = @abs_srcdir@
55841
 
 abs_top_builddir = @abs_top_builddir@
55842
 
 abs_top_srcdir = @abs_top_srcdir@
55843
 
 ac_ct_CC = @ac_ct_CC@
55844
 
 ac_ct_CXX = @ac_ct_CXX@
55845
 
-ac_ct_F77 = @ac_ct_F77@
55846
 
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
55847
 
 am__include = @am__include@
55848
 
 am__leading_dot = @am__leading_dot@
55849
 
 am__quote = @am__quote@
55850
 
@@ -205,6 +225,7 @@ libdir = @libdir@
55851
 
 libexecdir = @libexecdir@
55852
 
 localedir = @localedir@
55853
 
 localstatedir = @localstatedir@
55854
 
+lt_ECHO = @lt_ECHO@
55855
 
 mandir = @mandir@
55856
 
 mkdir_p = @mkdir_p@
55857
 
 oldincludedir = @oldincludedir@
55858
 
@@ -267,18 +288,18 @@ all: $(BUILT_SOURCES)
55859
 
        $(MAKE) $(AM_MAKEFLAGS) all-am
55860
 
 
55861
 
 .SUFFIXES:
55862
 
-$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
55863
 
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
55864
 
        @for dep in $?; do \
55865
 
          case '$(am__configure_deps)' in \
55866
 
            *$$dep*) \
55867
 
-             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
55868
 
-               && exit 0; \
55869
 
+             ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
55870
 
+               && { if test -f $@; then exit 0; else break; fi; }; \
55871
 
              exit 1;; \
55872
 
          esac; \
55873
 
        done; \
55874
 
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  docs/gtkspell/Makefile'; \
55875
 
-       cd $(top_srcdir) && \
55876
 
-         $(AUTOMAKE) --gnu  docs/gtkspell/Makefile
55877
 
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu docs/gtkspell/Makefile'; \
55878
 
+       $(am__cd) $(top_srcdir) && \
55879
 
+         $(AUTOMAKE) --gnu docs/gtkspell/Makefile
55880
 
 .PRECIOUS: Makefile
55881
 
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
55882
 
        @case '$?' in \
55883
 
@@ -292,10 +313,11 @@ Makefile: $(srcdir)/Makefile.in $(top_bu
55884
 
 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
55885
 
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
55886
 
 
55887
 
-$(top_srcdir)/configure:  $(am__configure_deps)
55888
 
+$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
55889
 
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
55890
 
-$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
55891
 
+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
55892
 
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
55893
 
+$(am__aclocal_m4_deps):
55894
 
 entities.docbook: $(top_builddir)/config.status $(srcdir)/entities.docbook.in
55895
 
        cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
55896
 
 
55897
 
@@ -307,37 +329,43 @@ clean-libtool:
55898
 
 install-CSSDATA: $(CSS_DATA)
55899
 
        @$(NORMAL_INSTALL)
55900
 
        test -z "$(CSSdir)" || $(MKDIR_P) "$(DESTDIR)$(CSSdir)"
55901
 
-       @list='$(CSS_DATA)'; for p in $$list; do \
55902
 
+       @list='$(CSS_DATA)'; test -n "$(CSSdir)" || list=; \
55903
 
+       for p in $$list; do \
55904
 
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
55905
 
-         f=$(am__strip_dir) \
55906
 
-         echo " $(CSSDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(CSSdir)/$$f'"; \
55907
 
-         $(CSSDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(CSSdir)/$$f"; \
55908
 
+         echo "$$d$$p"; \
55909
 
+       done | $(am__base_list) | \
55910
 
+       while read files; do \
55911
 
+         echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(CSSdir)'"; \
55912
 
+         $(INSTALL_DATA) $$files "$(DESTDIR)$(CSSdir)" || exit $$?; \
55913
 
        done
55914
 
 
55915
 
 uninstall-CSSDATA:
55916
 
        @$(NORMAL_UNINSTALL)
55917
 
-       @list='$(CSS_DATA)'; for p in $$list; do \
55918
 
-         f=$(am__strip_dir) \
55919
 
-         echo " rm -f '$(DESTDIR)$(CSSdir)/$$f'"; \
55920
 
-         rm -f "$(DESTDIR)$(CSSdir)/$$f"; \
55921
 
-       done
55922
 
+       @list='$(CSS_DATA)'; test -n "$(CSSdir)" || list=; \
55923
 
+       files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
55924
 
+       test -n "$$files" || exit 0; \
55925
 
+       echo " ( cd '$(DESTDIR)$(CSSdir)' && rm -f" $$files ")"; \
55926
 
+       cd "$(DESTDIR)$(CSSdir)" && rm -f $$files
55927
 
 install-HTMLDATA: $(HTML_DATA)
55928
 
        @$(NORMAL_INSTALL)
55929
 
        test -z "$(HTMLdir)" || $(MKDIR_P) "$(DESTDIR)$(HTMLdir)"
55930
 
-       @list='$(HTML_DATA)'; for p in $$list; do \
55931
 
+       @list='$(HTML_DATA)'; test -n "$(HTMLdir)" || list=; \
55932
 
+       for p in $$list; do \
55933
 
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
55934
 
-         f=$(am__strip_dir) \
55935
 
-         echo " $(HTMLDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(HTMLdir)/$$f'"; \
55936
 
-         $(HTMLDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(HTMLdir)/$$f"; \
55937
 
+         echo "$$d$$p"; \
55938
 
+       done | $(am__base_list) | \
55939
 
+       while read files; do \
55940
 
+         echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(HTMLdir)'"; \
55941
 
+         $(INSTALL_DATA) $$files "$(DESTDIR)$(HTMLdir)" || exit $$?; \
55942
 
        done
55943
 
 
55944
 
 uninstall-HTMLDATA:
55945
 
        @$(NORMAL_UNINSTALL)
55946
 
-       @list='$(HTML_DATA)'; for p in $$list; do \
55947
 
-         f=$(am__strip_dir) \
55948
 
-         echo " rm -f '$(DESTDIR)$(HTMLdir)/$$f'"; \
55949
 
-         rm -f "$(DESTDIR)$(HTMLdir)/$$f"; \
55950
 
-       done
55951
 
+       @list='$(HTML_DATA)'; test -n "$(HTMLdir)" || list=; \
55952
 
+       files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
55953
 
+       test -n "$$files" || exit 0; \
55954
 
+       echo " ( cd '$(DESTDIR)$(HTMLdir)' && rm -f" $$files ")"; \
55955
 
+       cd "$(DESTDIR)$(HTMLdir)" && rm -f $$files
55956
 
 tags: TAGS
55957
 
 TAGS:
55958
 
 
55959
 
@@ -361,13 +389,17 @@ distdir: $(DISTFILES)
55960
 
          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
55961
 
          if test -d $$d/$$file; then \
55962
 
            dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
55963
 
+           if test -d "$(distdir)/$$file"; then \
55964
 
+             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
55965
 
+           fi; \
55966
 
            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
55967
 
-             cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
55968
 
+             cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
55969
 
+             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
55970
 
            fi; \
55971
 
-           cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
55972
 
+           cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
55973
 
          else \
55974
 
-           test -f $(distdir)/$$file \
55975
 
-           || cp -p $$d/$$file $(distdir)/$$file \
55976
 
+           test -f "$(distdir)/$$file" \
55977
 
+           || cp -p $$d/$$file "$(distdir)/$$file" \
55978
 
            || exit 1; \
55979
 
          fi; \
55980
 
        done
55981
 
@@ -401,6 +433,7 @@ clean-generic:
55982
 
 
55983
 
 distclean-generic:
55984
 
        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
55985
 
+       -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
55986
 
 
55987
 
 maintainer-clean-generic:
55988
 
        @echo "This command is intended for maintainers to use"
55989
 
@@ -420,6 +453,8 @@ dvi-am:
55990
 
 
55991
 
 html: html-am
55992
 
 
55993
 
+html-am:
55994
 
+
55995
 
 info: info-am
55996
 
 
55997
 
 info-am:
55998
 
@@ -428,18 +463,28 @@ install-data-am: install-CSSDATA install
55999
 
 
56000
 
 install-dvi: install-dvi-am
56001
 
 
56002
 
+install-dvi-am:
56003
 
+
56004
 
 install-exec-am:
56005
 
 
56006
 
 install-html: install-html-am
56007
 
 
56008
 
+install-html-am:
56009
 
+
56010
 
 install-info: install-info-am
56011
 
 
56012
 
+install-info-am:
56013
 
+
56014
 
 install-man:
56015
 
 
56016
 
 install-pdf: install-pdf-am
56017
 
 
56018
 
+install-pdf-am:
56019
 
+
56020
 
 install-ps: install-ps-am
56021
 
 
56022
 
+install-ps-am:
56023
 
+
56024
 
 installcheck-am:
56025
 
 
56026
 
 maintainer-clean: maintainer-clean-am
56027
 
@@ -460,7 +505,7 @@ ps-am:
56028
 
 
56029
 
 uninstall-am: uninstall-CSSDATA uninstall-HTMLDATA
56030
 
 
56031
 
-.MAKE: install-am install-strip
56032
 
+.MAKE: all check install install-am install-strip
56033
 
 
56034
 
 .PHONY: all all-am check check-am clean clean-generic clean-libtool \
56035
 
        distclean distclean-generic distclean-libtool distdir dvi \
56036
 
@@ -483,12 +528,13 @@ $(HTML_DATA): build_stamp
56037
 
 
56038
 
 @ENABLE_DOCS_TRUE@build_stamp: $(REFERENCE_DEPS)builddate.xml
56039
 
 @ENABLE_DOCS_TRUE@     xsltproc --nonet --xinclude -o $(BUILDDIR)/html/ \
56040
 
-@ENABLE_DOCS_TRUE@              --path $(BUILDDIR):$(srcdir)/gtkspell \
56041
 
+@ENABLE_DOCS_TRUE@              --path $(BUILDDIR):$(srcdir) \
56042
 
 @ENABLE_DOCS_TRUE@                 --stringparam gtkdoc.bookname "pygtkspell" \
56043
 
 @ENABLE_DOCS_TRUE@                 --stringparam gtkdoc.version ${REF_VERSION} \
56044
 
-@ENABLE_DOCS_TRUE@                 $(HTML_STYLE) $(srcdir)/gtkspell/gtkspell-classes.xml
56045
 
+@ENABLE_DOCS_TRUE@                 $(HTML_STYLE) $(srcdir)/gtkspell-classes.xml
56046
 
 @ENABLE_DOCS_TRUE@     $(PYGOBJECT_FIXXREF) -i /usr/share/gtk-doc/html/pygtk/ $(BUILDDIR)/html/
56047
 
 @ENABLE_DOCS_TRUE@     touch $@
56048
 
+
56049
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
56050
 
 # Otherwise a system limit (for SysV at least) may be exceeded.
56051
 
 .NOEXPORT:
56052
 
diff -Nurp gnome-python-extras-2.25.3.orig/egg/Makefile.in gnome-python-extras-2.25.3/egg/Makefile.in
56053
 
--- gnome-python-extras-2.25.3.orig/egg/Makefile.in     2009-02-15 22:21:01.000000000 +0000
56054
 
+++ gnome-python-extras-2.25.3/egg/Makefile.in  2009-12-15 01:42:16.700347448 +0000
56055
 
@@ -1,8 +1,9 @@
56056
 
-# Makefile.in generated by automake 1.10.1 from Makefile.am.
56057
 
+# Makefile.in generated by automake 1.11 from Makefile.am.
56058
 
 # @configure_input@
56059
 
 
56060
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
56061
 
-# 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
56062
 
+# 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
56063
 
+# Inc.
56064
 
 # This Makefile.in is free software; the Free Software Foundation
56065
 
 # gives unlimited permission to copy and/or distribute it,
56066
 
 # with or without modifications, as long as this notice is preserved.
56067
 
@@ -15,8 +16,9 @@
56068
 
 @SET_MAKE@
56069
 
 VPATH = @srcdir@
56070
 
 pkgdatadir = $(datadir)/@PACKAGE@
56071
 
-pkglibdir = $(libdir)/@PACKAGE@
56072
 
 pkgincludedir = $(includedir)/@PACKAGE@
56073
 
+pkglibdir = $(libdir)/@PACKAGE@
56074
 
+pkglibexecdir = $(libexecdir)/@PACKAGE@
56075
 
 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
56076
 
 install_sh_DATA = $(install_sh) -c -m 644
56077
 
 install_sh_PROGRAM = $(install_sh) -c
56078
 
@@ -44,6 +46,7 @@ am__configure_deps = $(am__aclocal_m4_de
56079
 
 mkinstalldirs = $(install_sh) -d
56080
 
 CONFIG_HEADER = $(top_builddir)/config.h
56081
 
 CONFIG_CLEAN_FILES =
56082
 
+CONFIG_CLEAN_VPATH_FILES =
56083
 
 SOURCES =
56084
 
 DIST_SOURCES =
56085
 
 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
56086
 
@@ -58,16 +61,58 @@ am__vpath_adj = case $$p in \
56087
 
     $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
56088
 
     *) f=$$p;; \
56089
 
   esac;
56090
 
-am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
56091
 
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
56092
 
+am__install_max = 40
56093
 
+am__nobase_strip_setup = \
56094
 
+  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
56095
 
+am__nobase_strip = \
56096
 
+  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
56097
 
+am__nobase_list = $(am__nobase_strip_setup); \
56098
 
+  for p in $$list; do echo "$$p $$p"; done | \
56099
 
+  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
56100
 
+  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
56101
 
+    if (++n[$$2] == $(am__install_max)) \
56102
 
+      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
56103
 
+    END { for (dir in files) print dir, files[dir] }'
56104
 
+am__base_list = \
56105
 
+  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
56106
 
+  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
56107
 
 am__installdirs = "$(DESTDIR)$(pyeggdir)"
56108
 
-pyeggPYTHON_INSTALL = $(INSTALL_DATA)
56109
 
 py_compile = $(top_srcdir)/py-compile
56110
 
 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive        \
56111
 
   distclean-recursive maintainer-clean-recursive
56112
 
+AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
56113
 
+       $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
56114
 
+       distdir
56115
 
 ETAGS = etags
56116
 
 CTAGS = ctags
56117
 
 DIST_SUBDIRS = tray recent
56118
 
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
56119
 
+am__relativize = \
56120
 
+  dir0=`pwd`; \
56121
 
+  sed_first='s,^\([^/]*\)/.*$$,\1,'; \
56122
 
+  sed_rest='s,^[^/]*/*,,'; \
56123
 
+  sed_last='s,^.*/\([^/]*\)$$,\1,'; \
56124
 
+  sed_butlast='s,/*[^/]*$$,,'; \
56125
 
+  while test -n "$$dir1"; do \
56126
 
+    first=`echo "$$dir1" | sed -e "$$sed_first"`; \
56127
 
+    if test "$$first" != "."; then \
56128
 
+      if test "$$first" = ".."; then \
56129
 
+        dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
56130
 
+        dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
56131
 
+      else \
56132
 
+        first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
56133
 
+        if test "$$first2" = "$$first"; then \
56134
 
+          dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
56135
 
+        else \
56136
 
+          dir2="../$$dir2"; \
56137
 
+        fi; \
56138
 
+        dir0="$$dir0"/"$$first"; \
56139
 
+      fi; \
56140
 
+    fi; \
56141
 
+    dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
56142
 
+  done; \
56143
 
+  reldir="$$dir2"
56144
 
 ACLOCAL = @ACLOCAL@
56145
 
 ACLOCAL_AMFLAGS = @ACLOCAL_AMFLAGS@
56146
 
 AMTAR = @AMTAR@
56147
 
@@ -91,7 +136,7 @@ DEFS = @DEFS@
56148
 
 DEPDIR = @DEPDIR@
56149
 
 DLLTOOL = @DLLTOOL@
56150
 
 DSYMUTIL = @DSYMUTIL@
56151
 
-ECHO = @ECHO@
56152
 
+DUMPBIN = @DUMPBIN@
56153
 
 ECHO_C = @ECHO_C@
56154
 
 ECHO_N = @ECHO_N@
56155
 
 ECHO_T = @ECHO_T@
56156
 
@@ -101,8 +146,7 @@ EGG_RECENT_CFLAGS = @EGG_RECENT_CFLAGS@
56157
 
 EGG_RECENT_LIBS = @EGG_RECENT_LIBS@
56158
 
 EGREP = @EGREP@
56159
 
 EXEEXT = @EXEEXT@
56160
 
-F77 = @F77@
56161
 
-FFLAGS = @FFLAGS@
56162
 
+FGREP = @FGREP@
56163
 
 GDA_CFLAGS = @GDA_CFLAGS@
56164
 
 GDA_LIBS = @GDA_LIBS@
56165
 
 GDL_CFLAGS = @GDL_CFLAGS@
56166
 
@@ -135,23 +179,30 @@ INSTALL_DATA = @INSTALL_DATA@
56167
 
 INSTALL_PROGRAM = @INSTALL_PROGRAM@
56168
 
 INSTALL_SCRIPT = @INSTALL_SCRIPT@
56169
 
 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
56170
 
+LD = @LD@
56171
 
 LDFLAGS = @LDFLAGS@
56172
 
 LIBOBJS = @LIBOBJS@
56173
 
 LIBS = @LIBS@
56174
 
 LIBTOOL = @LIBTOOL@
56175
 
+LIPO = @LIPO@
56176
 
 LN_S = @LN_S@
56177
 
 LTLIBOBJS = @LTLIBOBJS@
56178
 
+MAINT = @MAINT@
56179
 
 MAKEINFO = @MAKEINFO@
56180
 
 MKDIR_P = @MKDIR_P@
56181
 
 MOZILLA_HOME = @MOZILLA_HOME@
56182
 
+NM = @NM@
56183
 
 NMEDIT = @NMEDIT@
56184
 
 OBJDUMP = @OBJDUMP@
56185
 
 OBJEXT = @OBJEXT@
56186
 
+OTOOL = @OTOOL@
56187
 
+OTOOL64 = @OTOOL64@
56188
 
 PACKAGE = @PACKAGE@
56189
 
 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
56190
 
 PACKAGE_NAME = @PACKAGE_NAME@
56191
 
 PACKAGE_STRING = @PACKAGE_STRING@
56192
 
 PACKAGE_TARNAME = @PACKAGE_TARNAME@
56193
 
+PACKAGE_URL = @PACKAGE_URL@
56194
 
 PACKAGE_VERSION = @PACKAGE_VERSION@
56195
 
 PATH_SEPARATOR = @PATH_SEPARATOR@
56196
 
 PKG_CONFIG = @PKG_CONFIG@
56197
 
@@ -178,15 +229,13 @@ SHELL = @SHELL@
56198
 
 STRIP = @STRIP@
56199
 
 VERSION = @VERSION@
56200
 
 XSLTPROC = @XSLTPROC@
56201
 
-XUL19_CFLAGS = @XUL19_CFLAGS@
56202
 
-XUL19_LIBS = @XUL19_LIBS@
56203
 
 abs_builddir = @abs_builddir@
56204
 
 abs_srcdir = @abs_srcdir@
56205
 
 abs_top_builddir = @abs_top_builddir@
56206
 
 abs_top_srcdir = @abs_top_srcdir@
56207
 
 ac_ct_CC = @ac_ct_CC@
56208
 
 ac_ct_CXX = @ac_ct_CXX@
56209
 
-ac_ct_F77 = @ac_ct_F77@
56210
 
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
56211
 
 am__include = @am__include@
56212
 
 am__leading_dot = @am__leading_dot@
56213
 
 am__quote = @am__quote@
56214
 
@@ -217,6 +266,7 @@ libdir = @libdir@
56215
 
 libexecdir = @libexecdir@
56216
 
 localedir = @localedir@
56217
 
 localstatedir = @localstatedir@
56218
 
+lt_ECHO = @lt_ECHO@
56219
 
 mandir = @mandir@
56220
 
 mkdir_p = @mkdir_p@
56221
 
 oldincludedir = @oldincludedir@
56222
 
@@ -242,18 +292,18 @@ pyegg_PYTHON = __init__.py
56223
 
 all: all-recursive
56224
 
 
56225
 
 .SUFFIXES:
56226
 
-$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
56227
 
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
56228
 
        @for dep in $?; do \
56229
 
          case '$(am__configure_deps)' in \
56230
 
            *$$dep*) \
56231
 
-             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
56232
 
-               && exit 0; \
56233
 
+             ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
56234
 
+               && { if test -f $@; then exit 0; else break; fi; }; \
56235
 
              exit 1;; \
56236
 
          esac; \
56237
 
        done; \
56238
 
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  egg/Makefile'; \
56239
 
-       cd $(top_srcdir) && \
56240
 
-         $(AUTOMAKE) --gnu  egg/Makefile
56241
 
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu egg/Makefile'; \
56242
 
+       $(am__cd) $(top_srcdir) && \
56243
 
+         $(AUTOMAKE) --gnu egg/Makefile
56244
 
 .PRECIOUS: Makefile
56245
 
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
56246
 
        @case '$?' in \
56247
 
@@ -267,10 +317,11 @@ Makefile: $(srcdir)/Makefile.in $(top_bu
56248
 
 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
56249
 
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
56250
 
 
56251
 
-$(top_srcdir)/configure:  $(am__configure_deps)
56252
 
+$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
56253
 
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
56254
 
-$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
56255
 
+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
56256
 
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
56257
 
+$(am__aclocal_m4_deps):
56258
 
 
56259
 
 mostlyclean-libtool:
56260
 
        -rm -f *.lo
56261
 
@@ -280,15 +331,20 @@ clean-libtool:
56262
 
 install-pyeggPYTHON: $(pyegg_PYTHON)
56263
 
        @$(NORMAL_INSTALL)
56264
 
        test -z "$(pyeggdir)" || $(MKDIR_P) "$(DESTDIR)$(pyeggdir)"
56265
 
-       @list='$(pyegg_PYTHON)'; dlist=''; for p in $$list; do\
56266
 
+       @list='$(pyegg_PYTHON)'; dlist=; list2=; test -n "$(pyeggdir)" || list=; \
56267
 
+       for p in $$list; do \
56268
 
          if test -f "$$p"; then b=; else b="$(srcdir)/"; fi; \
56269
 
          if test -f $$b$$p; then \
56270
 
-           f=$(am__strip_dir) \
56271
 
+           $(am__strip_dir) \
56272
 
            dlist="$$dlist $$f"; \
56273
 
-           echo " $(pyeggPYTHON_INSTALL) '$$b$$p' '$(DESTDIR)$(pyeggdir)/$$f'"; \
56274
 
-           $(pyeggPYTHON_INSTALL) "$$b$$p" "$(DESTDIR)$(pyeggdir)/$$f"; \
56275
 
+           list2="$$list2 $$b$$p"; \
56276
 
          else :; fi; \
56277
 
        done; \
56278
 
+       for file in $$list2; do echo $$file; done | $(am__base_list) | \
56279
 
+       while read files; do \
56280
 
+         echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pyeggdir)'"; \
56281
 
+         $(INSTALL_DATA) $$files "$(DESTDIR)$(pyeggdir)" || exit $$?; \
56282
 
+       done || exit $$?; \
56283
 
        if test -n "$$dlist"; then \
56284
 
          if test -z "$(DESTDIR)"; then \
56285
 
            PYTHON=$(PYTHON) $(py_compile) --basedir "$(pyeggdir)" $$dlist; \
56286
 
@@ -299,12 +355,17 @@ install-pyeggPYTHON: $(pyegg_PYTHON)
56287
 
 
56288
 
 uninstall-pyeggPYTHON:
56289
 
        @$(NORMAL_UNINSTALL)
56290
 
-       @list='$(pyegg_PYTHON)'; dlist=''; for p in $$list; do\
56291
 
-         f=$(am__strip_dir) \
56292
 
-         rm -f "$(DESTDIR)$(pyeggdir)/$$f"; \
56293
 
-         rm -f "$(DESTDIR)$(pyeggdir)/$${f}c"; \
56294
 
-         rm -f "$(DESTDIR)$(pyeggdir)/$${f}o"; \
56295
 
-       done
56296
 
+       @list='$(pyegg_PYTHON)'; test -n "$(pyeggdir)" || list=; \
56297
 
+       files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
56298
 
+       test -n "$$files" || exit 0; \
56299
 
+       filesc=`echo "$$files" | sed 's|$$|c|'`; \
56300
 
+       fileso=`echo "$$files" | sed 's|$$|o|'`; \
56301
 
+       echo " ( cd '$(DESTDIR)$(pyeggdir)' && rm -f" $$files ")"; \
56302
 
+       cd "$(DESTDIR)$(pyeggdir)" && rm -f $$files || exit $$?; \
56303
 
+       echo " ( cd '$(DESTDIR)$(pyeggdir)' && rm -f" $$filesc ")"; \
56304
 
+       cd "$(DESTDIR)$(pyeggdir)" && rm -f $$filesc || exit $$?; \
56305
 
+       echo " ( cd '$(DESTDIR)$(pyeggdir)' && rm -f" $$fileso ")"; \
56306
 
+       cd "$(DESTDIR)$(pyeggdir)" && rm -f $$fileso
56307
 
 
56308
 
 # This directory's subdirectories are mostly independent; you can cd
56309
 
 # into them and run `make' without going through this Makefile.
56310
 
@@ -330,7 +391,7 @@ $(RECURSIVE_TARGETS):
56311
 
          else \
56312
 
            local_target="$$target"; \
56313
 
          fi; \
56314
 
-         (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
56315
 
+         ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
56316
 
          || eval $$failcom; \
56317
 
        done; \
56318
 
        if test "$$dot_seen" = "no"; then \
56319
 
@@ -364,16 +425,16 @@ $(RECURSIVE_CLEAN_TARGETS):
56320
 
          else \
56321
 
            local_target="$$target"; \
56322
 
          fi; \
56323
 
-         (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
56324
 
+         ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
56325
 
          || eval $$failcom; \
56326
 
        done && test -z "$$fail"
56327
 
 tags-recursive:
56328
 
        list='$(SUBDIRS)'; for subdir in $$list; do \
56329
 
-         test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
56330
 
+         test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
56331
 
        done
56332
 
 ctags-recursive:
56333
 
        list='$(SUBDIRS)'; for subdir in $$list; do \
56334
 
-         test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
56335
 
+         test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
56336
 
        done
56337
 
 
56338
 
 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
56339
 
@@ -381,14 +442,14 @@ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS
56340
 
        unique=`for i in $$list; do \
56341
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
56342
 
          done | \
56343
 
-         $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
56344
 
+         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
56345
 
              END { if (nonempty) { for (i in files) print i; }; }'`; \
56346
 
        mkid -fID $$unique
56347
 
 tags: TAGS
56348
 
 
56349
 
 TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
56350
 
                $(TAGS_FILES) $(LISP)
56351
 
-       tags=; \
56352
 
+       set x; \
56353
 
        here=`pwd`; \
56354
 
        if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
56355
 
          include_option=--etags-include; \
56356
 
@@ -400,7 +461,7 @@ TAGS: tags-recursive $(HEADERS) $(SOURCE
56357
 
        list='$(SUBDIRS)'; for subdir in $$list; do \
56358
 
          if test "$$subdir" = .; then :; else \
56359
 
            test ! -f $$subdir/TAGS || \
56360
 
-             tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
56361
 
+             set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
56362
 
          fi; \
56363
 
        done; \
56364
 
        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
56365
 
@@ -409,29 +470,34 @@ TAGS: tags-recursive $(HEADERS) $(SOURCE
56366
 
          done | \
56367
 
          $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
56368
 
              END { if (nonempty) { for (i in files) print i; }; }'`; \
56369
 
-       if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
56370
 
+       shift; \
56371
 
+       if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
56372
 
          test -n "$$unique" || unique=$$empty_fix; \
56373
 
-         $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
56374
 
-           $$tags $$unique; \
56375
 
+         if test $$# -gt 0; then \
56376
 
+           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
56377
 
+             "$$@" $$unique; \
56378
 
+         else \
56379
 
+           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
56380
 
+             $$unique; \
56381
 
+         fi; \
56382
 
        fi
56383
 
 ctags: CTAGS
56384
 
 CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
56385
 
                $(TAGS_FILES) $(LISP)
56386
 
-       tags=; \
56387
 
        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
56388
 
        unique=`for i in $$list; do \
56389
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
56390
 
          done | \
56391
 
          $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
56392
 
              END { if (nonempty) { for (i in files) print i; }; }'`; \
56393
 
-       test -z "$(CTAGS_ARGS)$$tags$$unique" \
56394
 
+       test -z "$(CTAGS_ARGS)$$unique" \
56395
 
          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
56396
 
-            $$tags $$unique
56397
 
+            $$unique
56398
 
 
56399
 
 GTAGS:
56400
 
        here=`$(am__cd) $(top_builddir) && pwd` \
56401
 
-         && cd $(top_srcdir) \
56402
 
-         && gtags -i $(GTAGS_ARGS) $$here
56403
 
+         && $(am__cd) $(top_srcdir) \
56404
 
+         && gtags -i $(GTAGS_ARGS) "$$here"
56405
 
 
56406
 
 distclean-tags:
56407
 
        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
56408
 
@@ -452,29 +518,44 @@ distdir: $(DISTFILES)
56409
 
          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
56410
 
          if test -d $$d/$$file; then \
56411
 
            dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
56412
 
+           if test -d "$(distdir)/$$file"; then \
56413
 
+             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
56414
 
+           fi; \
56415
 
            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
56416
 
-             cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
56417
 
+             cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
56418
 
+             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
56419
 
            fi; \
56420
 
-           cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
56421
 
+           cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
56422
 
          else \
56423
 
-           test -f $(distdir)/$$file \
56424
 
-           || cp -p $$d/$$file $(distdir)/$$file \
56425
 
+           test -f "$(distdir)/$$file" \
56426
 
+           || cp -p $$d/$$file "$(distdir)/$$file" \
56427
 
            || exit 1; \
56428
 
          fi; \
56429
 
        done
56430
 
-       list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
56431
 
+       @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
56432
 
          if test "$$subdir" = .; then :; else \
56433
 
            test -d "$(distdir)/$$subdir" \
56434
 
            || $(MKDIR_P) "$(distdir)/$$subdir" \
56435
 
            || exit 1; \
56436
 
-           distdir=`$(am__cd) $(distdir) && pwd`; \
56437
 
-           top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
56438
 
-           (cd $$subdir && \
56439
 
+         fi; \
56440
 
+       done
56441
 
+       @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
56442
 
+         if test "$$subdir" = .; then :; else \
56443
 
+           dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
56444
 
+           $(am__relativize); \
56445
 
+           new_distdir=$$reldir; \
56446
 
+           dir1=$$subdir; dir2="$(top_distdir)"; \
56447
 
+           $(am__relativize); \
56448
 
+           new_top_distdir=$$reldir; \
56449
 
+           echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
56450
 
+           echo "     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
56451
 
+           ($(am__cd) $$subdir && \
56452
 
              $(MAKE) $(AM_MAKEFLAGS) \
56453
 
-               top_distdir="$$top_distdir" \
56454
 
-               distdir="$$distdir/$$subdir" \
56455
 
+               top_distdir="$$new_top_distdir" \
56456
 
+               distdir="$$new_distdir" \
56457
 
                am__remove_distdir=: \
56458
 
                am__skip_length_check=: \
56459
 
+               am__skip_mode_fix=: \
56460
 
                distdir) \
56461
 
              || exit 1; \
56462
 
          fi; \
56463
 
@@ -507,6 +588,7 @@ clean-generic:
56464
 
 
56465
 
 distclean-generic:
56466
 
        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
56467
 
+       -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
56468
 
 
56469
 
 maintainer-clean-generic:
56470
 
        @echo "This command is intended for maintainers to use"
56471
 
@@ -525,6 +607,8 @@ dvi-am:
56472
 
 
56473
 
 html: html-recursive
56474
 
 
56475
 
+html-am:
56476
 
+
56477
 
 info: info-recursive
56478
 
 
56479
 
 info-am:
56480
 
@@ -533,18 +617,28 @@ install-data-am: install-pyeggPYTHON
56481
 
 
56482
 
 install-dvi: install-dvi-recursive
56483
 
 
56484
 
+install-dvi-am:
56485
 
+
56486
 
 install-exec-am:
56487
 
 
56488
 
 install-html: install-html-recursive
56489
 
 
56490
 
+install-html-am:
56491
 
+
56492
 
 install-info: install-info-recursive
56493
 
 
56494
 
+install-info-am:
56495
 
+
56496
 
 install-man:
56497
 
 
56498
 
 install-pdf: install-pdf-recursive
56499
 
 
56500
 
+install-pdf-am:
56501
 
+
56502
 
 install-ps: install-ps-recursive
56503
 
 
56504
 
+install-ps-am:
56505
 
+
56506
 
 installcheck-am:
56507
 
 
56508
 
 maintainer-clean: maintainer-clean-recursive
56509
 
@@ -565,8 +659,8 @@ ps-am:
56510
 
 
56511
 
 uninstall-am: uninstall-pyeggPYTHON
56512
 
 
56513
 
-.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
56514
 
-       install-strip
56515
 
+.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
56516
 
+       install-am install-strip tags-recursive
56517
 
 
56518
 
 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
56519
 
        all all-am check check-am clean clean-generic clean-libtool \
56520
 
@@ -583,6 +677,7 @@ uninstall-am: uninstall-pyeggPYTHON
56521
 
        tags tags-recursive uninstall uninstall-am \
56522
 
        uninstall-pyeggPYTHON
56523
 
 
56524
 
+
56525
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
56526
 
 # Otherwise a system limit (for SysV at least) may be exceeded.
56527
 
 .NOEXPORT:
56528
 
diff -Nurp gnome-python-extras-2.25.3.orig/egg/recent/Makefile.in gnome-python-extras-2.25.3/egg/recent/Makefile.in
56529
 
--- gnome-python-extras-2.25.3.orig/egg/recent/Makefile.in      2009-02-15 22:21:01.000000000 +0000
56530
 
+++ gnome-python-extras-2.25.3/egg/recent/Makefile.in   2009-12-15 01:42:16.860346585 +0000
56531
 
@@ -1,8 +1,9 @@
56532
 
-# Makefile.in generated by automake 1.10.1 from Makefile.am.
56533
 
+# Makefile.in generated by automake 1.11 from Makefile.am.
56534
 
 # @configure_input@
56535
 
 
56536
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
56537
 
-# 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
56538
 
+# 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
56539
 
+# Inc.
56540
 
 # This Makefile.in is free software; the Free Software Foundation
56541
 
 # gives unlimited permission to copy and/or distribute it,
56542
 
 # with or without modifications, as long as this notice is preserved.
56543
 
@@ -16,8 +17,9 @@
56544
 
 
56545
 
 VPATH = @srcdir@
56546
 
 pkgdatadir = $(datadir)/@PACKAGE@
56547
 
-pkglibdir = $(libdir)/@PACKAGE@
56548
 
 pkgincludedir = $(includedir)/@PACKAGE@
56549
 
+pkglibdir = $(libdir)/@PACKAGE@
56550
 
+pkglibexecdir = $(libexecdir)/@PACKAGE@
56551
 
 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
56552
 
 install_sh_DATA = $(install_sh) -c -m 644
56553
 
 install_sh_PROGRAM = $(install_sh) -c
56554
 
@@ -42,14 +44,29 @@ am__configure_deps = $(am__aclocal_m4_de
56555
 
 mkinstalldirs = $(install_sh) -d
56556
 
 CONFIG_HEADER = $(top_builddir)/config.h
56557
 
 CONFIG_CLEAN_FILES =
56558
 
+CONFIG_CLEAN_VPATH_FILES =
56559
 
 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
56560
 
 am__vpath_adj = case $$p in \
56561
 
     $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
56562
 
     *) f=$$p;; \
56563
 
   esac;
56564
 
-am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
56565
 
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
56566
 
+am__install_max = 40
56567
 
+am__nobase_strip_setup = \
56568
 
+  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
56569
 
+am__nobase_strip = \
56570
 
+  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
56571
 
+am__nobase_list = $(am__nobase_strip_setup); \
56572
 
+  for p in $$list; do echo "$$p $$p"; done | \
56573
 
+  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
56574
 
+  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
56575
 
+    if (++n[$$2] == $(am__install_max)) \
56576
 
+      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
56577
 
+    END { for (dir in files) print dir, files[dir] }'
56578
 
+am__base_list = \
56579
 
+  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
56580
 
+  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
56581
 
 am__installdirs = "$(DESTDIR)$(pyeggexecdir)"
56582
 
-pyeggexecLTLIBRARIES_INSTALL = $(INSTALL)
56583
 
 LTLIBRARIES = $(noinst_LTLIBRARIES) $(pyeggexec_LTLIBRARIES)
56584
 
 am__DEPENDENCIES_1 =
56585
 
 libeggrecent_la_DEPENDENCIES = $(am__DEPENDENCIES_1)
56586
 
@@ -76,6 +93,7 @@ recent_la_LINK = $(LIBTOOL) --tag=CC $(A
56587
 
 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
56588
 
 depcomp = $(SHELL) $(top_srcdir)/depcomp
56589
 
 am__depfiles_maybe = depfiles
56590
 
+am__mv = mv -f
56591
 
 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
56592
 
        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
56593
 
 LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
56594
 
@@ -114,7 +132,7 @@ DEFS = @DEFS@
56595
 
 DEPDIR = @DEPDIR@
56596
 
 DLLTOOL = @DLLTOOL@
56597
 
 DSYMUTIL = @DSYMUTIL@
56598
 
-ECHO = @ECHO@
56599
 
+DUMPBIN = @DUMPBIN@
56600
 
 ECHO_C = @ECHO_C@
56601
 
 ECHO_N = @ECHO_N@
56602
 
 ECHO_T = @ECHO_T@
56603
 
@@ -124,8 +142,7 @@ EGG_RECENT_CFLAGS = @EGG_RECENT_CFLAGS@
56604
 
 EGG_RECENT_LIBS = @EGG_RECENT_LIBS@
56605
 
 EGREP = @EGREP@
56606
 
 EXEEXT = @EXEEXT@
56607
 
-F77 = @F77@
56608
 
-FFLAGS = @FFLAGS@
56609
 
+FGREP = @FGREP@
56610
 
 GDA_CFLAGS = @GDA_CFLAGS@
56611
 
 GDA_LIBS = @GDA_LIBS@
56612
 
 GDL_CFLAGS = @GDL_CFLAGS@
56613
 
@@ -158,23 +175,30 @@ INSTALL_DATA = @INSTALL_DATA@
56614
 
 INSTALL_PROGRAM = @INSTALL_PROGRAM@
56615
 
 INSTALL_SCRIPT = @INSTALL_SCRIPT@
56616
 
 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
56617
 
+LD = @LD@
56618
 
 LDFLAGS = @LDFLAGS@
56619
 
 LIBOBJS = @LIBOBJS@
56620
 
 LIBS = @LIBS@
56621
 
 LIBTOOL = @LIBTOOL@
56622
 
+LIPO = @LIPO@
56623
 
 LN_S = @LN_S@
56624
 
 LTLIBOBJS = @LTLIBOBJS@
56625
 
+MAINT = @MAINT@
56626
 
 MAKEINFO = @MAKEINFO@
56627
 
 MKDIR_P = @MKDIR_P@
56628
 
 MOZILLA_HOME = @MOZILLA_HOME@
56629
 
+NM = @NM@
56630
 
 NMEDIT = @NMEDIT@
56631
 
 OBJDUMP = @OBJDUMP@
56632
 
 OBJEXT = @OBJEXT@
56633
 
+OTOOL = @OTOOL@
56634
 
+OTOOL64 = @OTOOL64@
56635
 
 PACKAGE = @PACKAGE@
56636
 
 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
56637
 
 PACKAGE_NAME = @PACKAGE_NAME@
56638
 
 PACKAGE_STRING = @PACKAGE_STRING@
56639
 
 PACKAGE_TARNAME = @PACKAGE_TARNAME@
56640
 
+PACKAGE_URL = @PACKAGE_URL@
56641
 
 PACKAGE_VERSION = @PACKAGE_VERSION@
56642
 
 PATH_SEPARATOR = @PATH_SEPARATOR@
56643
 
 PKG_CONFIG = @PKG_CONFIG@
56644
 
@@ -201,15 +225,13 @@ SHELL = @SHELL@
56645
 
 STRIP = @STRIP@
56646
 
 VERSION = @VERSION@
56647
 
 XSLTPROC = @XSLTPROC@
56648
 
-XUL19_CFLAGS = @XUL19_CFLAGS@
56649
 
-XUL19_LIBS = @XUL19_LIBS@
56650
 
 abs_builddir = @abs_builddir@
56651
 
 abs_srcdir = @abs_srcdir@
56652
 
 abs_top_builddir = @abs_top_builddir@
56653
 
 abs_top_srcdir = @abs_top_srcdir@
56654
 
 ac_ct_CC = @ac_ct_CC@
56655
 
 ac_ct_CXX = @ac_ct_CXX@
56656
 
-ac_ct_F77 = @ac_ct_F77@
56657
 
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
56658
 
 am__include = @am__include@
56659
 
 am__leading_dot = @am__leading_dot@
56660
 
 am__quote = @am__quote@
56661
 
@@ -240,6 +262,7 @@ libdir = @libdir@
56662
 
 libexecdir = @libexecdir@
56663
 
 localedir = @localedir@
56664
 
 localstatedir = @localstatedir@
56665
 
+lt_ECHO = @lt_ECHO@
56666
 
 mandir = @mandir@
56667
 
 mkdir_p = @mkdir_p@
56668
 
 oldincludedir = @oldincludedir@
56669
 
@@ -301,18 +324,18 @@ all: $(BUILT_SOURCES)
56670
 
 
56671
 
 .SUFFIXES:
56672
 
 .SUFFIXES: .c .defs .lo .o .obj
56673
 
-$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
56674
 
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
56675
 
        @for dep in $?; do \
56676
 
          case '$(am__configure_deps)' in \
56677
 
            *$$dep*) \
56678
 
-             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
56679
 
-               && exit 0; \
56680
 
+             ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
56681
 
+               && { if test -f $@; then exit 0; else break; fi; }; \
56682
 
              exit 1;; \
56683
 
          esac; \
56684
 
        done; \
56685
 
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  egg/recent/Makefile'; \
56686
 
-       cd $(top_srcdir) && \
56687
 
-         $(AUTOMAKE) --gnu  egg/recent/Makefile
56688
 
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu egg/recent/Makefile'; \
56689
 
+       $(am__cd) $(top_srcdir) && \
56690
 
+         $(AUTOMAKE) --gnu egg/recent/Makefile
56691
 
 .PRECIOUS: Makefile
56692
 
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
56693
 
        @case '$?' in \
56694
 
@@ -326,10 +349,11 @@ Makefile: $(srcdir)/Makefile.in $(top_bu
56695
 
 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
56696
 
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
56697
 
 
56698
 
-$(top_srcdir)/configure:  $(am__configure_deps)
56699
 
+$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
56700
 
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
56701
 
-$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
56702
 
+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
56703
 
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
56704
 
+$(am__aclocal_m4_deps):
56705
 
 
56706
 
 clean-noinstLTLIBRARIES:
56707
 
        -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
56708
 
@@ -342,20 +366,24 @@ clean-noinstLTLIBRARIES:
56709
 
 install-pyeggexecLTLIBRARIES: $(pyeggexec_LTLIBRARIES)
56710
 
        @$(NORMAL_INSTALL)
56711
 
        test -z "$(pyeggexecdir)" || $(MKDIR_P) "$(DESTDIR)$(pyeggexecdir)"
56712
 
-       @list='$(pyeggexec_LTLIBRARIES)'; for p in $$list; do \
56713
 
+       @list='$(pyeggexec_LTLIBRARIES)'; test -n "$(pyeggexecdir)" || list=; \
56714
 
+       list2=; for p in $$list; do \
56715
 
          if test -f $$p; then \
56716
 
-           f=$(am__strip_dir) \
56717
 
-           echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(pyeggexecLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(pyeggexecdir)/$$f'"; \
56718
 
-           $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(pyeggexecLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(pyeggexecdir)/$$f"; \
56719
 
+           list2="$$list2 $$p"; \
56720
 
          else :; fi; \
56721
 
-       done
56722
 
+       done; \
56723
 
+       test -z "$$list2" || { \
56724
 
+         echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pyeggexecdir)'"; \
56725
 
+         $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pyeggexecdir)"; \
56726
 
+       }
56727
 
 
56728
 
 uninstall-pyeggexecLTLIBRARIES:
56729
 
        @$(NORMAL_UNINSTALL)
56730
 
-       @list='$(pyeggexec_LTLIBRARIES)'; for p in $$list; do \
56731
 
-         p=$(am__strip_dir) \
56732
 
-         echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pyeggexecdir)/$$p'"; \
56733
 
-         $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pyeggexecdir)/$$p"; \
56734
 
+       @list='$(pyeggexec_LTLIBRARIES)'; test -n "$(pyeggexecdir)" || list=; \
56735
 
+       for p in $$list; do \
56736
 
+         $(am__strip_dir) \
56737
 
+         echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pyeggexecdir)/$$f'"; \
56738
 
+         $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pyeggexecdir)/$$f"; \
56739
 
        done
56740
 
 
56741
 
 clean-pyeggexecLTLIBRARIES:
56742
 
@@ -390,94 +418,94 @@ distclean-compile:
56743
 
 
56744
 
 .c.o:
56745
 
 @am__fastdepCC_TRUE@   $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
56746
 
-@am__fastdepCC_TRUE@   mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
56747
 
+@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
56748
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
56749
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
56750
 
 @am__fastdepCC_FALSE@  $(COMPILE) -c $<
56751
 
 
56752
 
 .c.obj:
56753
 
 @am__fastdepCC_TRUE@   $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
56754
 
-@am__fastdepCC_TRUE@   mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
56755
 
+@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
56756
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
56757
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
56758
 
 @am__fastdepCC_FALSE@  $(COMPILE) -c `$(CYGPATH_W) '$<'`
56759
 
 
56760
 
 .c.lo:
56761
 
 @am__fastdepCC_TRUE@   $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
56762
 
-@am__fastdepCC_TRUE@   mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
56763
 
+@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
56764
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
56765
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
56766
 
 @am__fastdepCC_FALSE@  $(LTCOMPILE) -c -o $@ $<
56767
 
 
56768
 
 libeggrecent_la-egg-recent-item.lo: egg-recent-item.c
56769
 
-@am__fastdepCC_TRUE@   $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libeggrecent_la_CFLAGS) $(CFLAGS) -MT libeggrecent_la-egg-recent-item.lo -MD -MP -MF $(DEPDIR)/libeggrecent_la-egg-recent-item.Tpo -c -o libeggrecent_la-egg-recent-item.lo `test -f 'egg-recent-item.c' || echo '$(srcdir)/'`egg-recent-item.c
56770
 
-@am__fastdepCC_TRUE@   mv -f $(DEPDIR)/libeggrecent_la-egg-recent-item.Tpo $(DEPDIR)/libeggrecent_la-egg-recent-item.Plo
56771
 
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libeggrecent_la_CFLAGS) $(CFLAGS) -MT libeggrecent_la-egg-recent-item.lo -MD -MP -MF $(DEPDIR)/libeggrecent_la-egg-recent-item.Tpo -c -o libeggrecent_la-egg-recent-item.lo `test -f 'egg-recent-item.c' || echo '$(srcdir)/'`egg-recent-item.c
56772
 
+@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libeggrecent_la-egg-recent-item.Tpo $(DEPDIR)/libeggrecent_la-egg-recent-item.Plo
56773
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='egg-recent-item.c' object='libeggrecent_la-egg-recent-item.lo' libtool=yes @AMDEPBACKSLASH@
56774
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
56775
 
-@am__fastdepCC_FALSE@  $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libeggrecent_la_CFLAGS) $(CFLAGS) -c -o libeggrecent_la-egg-recent-item.lo `test -f 'egg-recent-item.c' || echo '$(srcdir)/'`egg-recent-item.c
56776
 
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libeggrecent_la_CFLAGS) $(CFLAGS) -c -o libeggrecent_la-egg-recent-item.lo `test -f 'egg-recent-item.c' || echo '$(srcdir)/'`egg-recent-item.c
56777
 
 
56778
 
 libeggrecent_la-egg-recent-model.lo: egg-recent-model.c
56779
 
-@am__fastdepCC_TRUE@   $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libeggrecent_la_CFLAGS) $(CFLAGS) -MT libeggrecent_la-egg-recent-model.lo -MD -MP -MF $(DEPDIR)/libeggrecent_la-egg-recent-model.Tpo -c -o libeggrecent_la-egg-recent-model.lo `test -f 'egg-recent-model.c' || echo '$(srcdir)/'`egg-recent-model.c
56780
 
-@am__fastdepCC_TRUE@   mv -f $(DEPDIR)/libeggrecent_la-egg-recent-model.Tpo $(DEPDIR)/libeggrecent_la-egg-recent-model.Plo
56781
 
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libeggrecent_la_CFLAGS) $(CFLAGS) -MT libeggrecent_la-egg-recent-model.lo -MD -MP -MF $(DEPDIR)/libeggrecent_la-egg-recent-model.Tpo -c -o libeggrecent_la-egg-recent-model.lo `test -f 'egg-recent-model.c' || echo '$(srcdir)/'`egg-recent-model.c
56782
 
+@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libeggrecent_la-egg-recent-model.Tpo $(DEPDIR)/libeggrecent_la-egg-recent-model.Plo
56783
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='egg-recent-model.c' object='libeggrecent_la-egg-recent-model.lo' libtool=yes @AMDEPBACKSLASH@
56784
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
56785
 
-@am__fastdepCC_FALSE@  $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libeggrecent_la_CFLAGS) $(CFLAGS) -c -o libeggrecent_la-egg-recent-model.lo `test -f 'egg-recent-model.c' || echo '$(srcdir)/'`egg-recent-model.c
56786
 
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libeggrecent_la_CFLAGS) $(CFLAGS) -c -o libeggrecent_la-egg-recent-model.lo `test -f 'egg-recent-model.c' || echo '$(srcdir)/'`egg-recent-model.c
56787
 
 
56788
 
 libeggrecent_la-egg-recent-view.lo: egg-recent-view.c
56789
 
-@am__fastdepCC_TRUE@   $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libeggrecent_la_CFLAGS) $(CFLAGS) -MT libeggrecent_la-egg-recent-view.lo -MD -MP -MF $(DEPDIR)/libeggrecent_la-egg-recent-view.Tpo -c -o libeggrecent_la-egg-recent-view.lo `test -f 'egg-recent-view.c' || echo '$(srcdir)/'`egg-recent-view.c
56790
 
-@am__fastdepCC_TRUE@   mv -f $(DEPDIR)/libeggrecent_la-egg-recent-view.Tpo $(DEPDIR)/libeggrecent_la-egg-recent-view.Plo
56791
 
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libeggrecent_la_CFLAGS) $(CFLAGS) -MT libeggrecent_la-egg-recent-view.lo -MD -MP -MF $(DEPDIR)/libeggrecent_la-egg-recent-view.Tpo -c -o libeggrecent_la-egg-recent-view.lo `test -f 'egg-recent-view.c' || echo '$(srcdir)/'`egg-recent-view.c
56792
 
+@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libeggrecent_la-egg-recent-view.Tpo $(DEPDIR)/libeggrecent_la-egg-recent-view.Plo
56793
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='egg-recent-view.c' object='libeggrecent_la-egg-recent-view.lo' libtool=yes @AMDEPBACKSLASH@
56794
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
56795
 
-@am__fastdepCC_FALSE@  $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libeggrecent_la_CFLAGS) $(CFLAGS) -c -o libeggrecent_la-egg-recent-view.lo `test -f 'egg-recent-view.c' || echo '$(srcdir)/'`egg-recent-view.c
56796
 
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libeggrecent_la_CFLAGS) $(CFLAGS) -c -o libeggrecent_la-egg-recent-view.lo `test -f 'egg-recent-view.c' || echo '$(srcdir)/'`egg-recent-view.c
56797
 
 
56798
 
 libeggrecent_la-egg-recent-view-gtk.lo: egg-recent-view-gtk.c
56799
 
-@am__fastdepCC_TRUE@   $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libeggrecent_la_CFLAGS) $(CFLAGS) -MT libeggrecent_la-egg-recent-view-gtk.lo -MD -MP -MF $(DEPDIR)/libeggrecent_la-egg-recent-view-gtk.Tpo -c -o libeggrecent_la-egg-recent-view-gtk.lo `test -f 'egg-recent-view-gtk.c' || echo '$(srcdir)/'`egg-recent-view-gtk.c
56800
 
-@am__fastdepCC_TRUE@   mv -f $(DEPDIR)/libeggrecent_la-egg-recent-view-gtk.Tpo $(DEPDIR)/libeggrecent_la-egg-recent-view-gtk.Plo
56801
 
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libeggrecent_la_CFLAGS) $(CFLAGS) -MT libeggrecent_la-egg-recent-view-gtk.lo -MD -MP -MF $(DEPDIR)/libeggrecent_la-egg-recent-view-gtk.Tpo -c -o libeggrecent_la-egg-recent-view-gtk.lo `test -f 'egg-recent-view-gtk.c' || echo '$(srcdir)/'`egg-recent-view-gtk.c
56802
 
+@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libeggrecent_la-egg-recent-view-gtk.Tpo $(DEPDIR)/libeggrecent_la-egg-recent-view-gtk.Plo
56803
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='egg-recent-view-gtk.c' object='libeggrecent_la-egg-recent-view-gtk.lo' libtool=yes @AMDEPBACKSLASH@
56804
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
56805
 
-@am__fastdepCC_FALSE@  $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libeggrecent_la_CFLAGS) $(CFLAGS) -c -o libeggrecent_la-egg-recent-view-gtk.lo `test -f 'egg-recent-view-gtk.c' || echo '$(srcdir)/'`egg-recent-view-gtk.c
56806
 
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libeggrecent_la_CFLAGS) $(CFLAGS) -c -o libeggrecent_la-egg-recent-view-gtk.lo `test -f 'egg-recent-view-gtk.c' || echo '$(srcdir)/'`egg-recent-view-gtk.c
56807
 
 
56808
 
 libeggrecent_la-egg-recent-view-bonobo.lo: egg-recent-view-bonobo.c
56809
 
-@am__fastdepCC_TRUE@   $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libeggrecent_la_CFLAGS) $(CFLAGS) -MT libeggrecent_la-egg-recent-view-bonobo.lo -MD -MP -MF $(DEPDIR)/libeggrecent_la-egg-recent-view-bonobo.Tpo -c -o libeggrecent_la-egg-recent-view-bonobo.lo `test -f 'egg-recent-view-bonobo.c' || echo '$(srcdir)/'`egg-recent-view-bonobo.c
56810
 
-@am__fastdepCC_TRUE@   mv -f $(DEPDIR)/libeggrecent_la-egg-recent-view-bonobo.Tpo $(DEPDIR)/libeggrecent_la-egg-recent-view-bonobo.Plo
56811
 
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libeggrecent_la_CFLAGS) $(CFLAGS) -MT libeggrecent_la-egg-recent-view-bonobo.lo -MD -MP -MF $(DEPDIR)/libeggrecent_la-egg-recent-view-bonobo.Tpo -c -o libeggrecent_la-egg-recent-view-bonobo.lo `test -f 'egg-recent-view-bonobo.c' || echo '$(srcdir)/'`egg-recent-view-bonobo.c
56812
 
+@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libeggrecent_la-egg-recent-view-bonobo.Tpo $(DEPDIR)/libeggrecent_la-egg-recent-view-bonobo.Plo
56813
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='egg-recent-view-bonobo.c' object='libeggrecent_la-egg-recent-view-bonobo.lo' libtool=yes @AMDEPBACKSLASH@
56814
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
56815
 
-@am__fastdepCC_FALSE@  $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libeggrecent_la_CFLAGS) $(CFLAGS) -c -o libeggrecent_la-egg-recent-view-bonobo.lo `test -f 'egg-recent-view-bonobo.c' || echo '$(srcdir)/'`egg-recent-view-bonobo.c
56816
 
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libeggrecent_la_CFLAGS) $(CFLAGS) -c -o libeggrecent_la-egg-recent-view-bonobo.lo `test -f 'egg-recent-view-bonobo.c' || echo '$(srcdir)/'`egg-recent-view-bonobo.c
56817
 
 
56818
 
 libeggrecent_la-egg-recent-view-uimanager.lo: egg-recent-view-uimanager.c
56819
 
-@am__fastdepCC_TRUE@   $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libeggrecent_la_CFLAGS) $(CFLAGS) -MT libeggrecent_la-egg-recent-view-uimanager.lo -MD -MP -MF $(DEPDIR)/libeggrecent_la-egg-recent-view-uimanager.Tpo -c -o libeggrecent_la-egg-recent-view-uimanager.lo `test -f 'egg-recent-view-uimanager.c' || echo '$(srcdir)/'`egg-recent-view-uimanager.c
56820
 
-@am__fastdepCC_TRUE@   mv -f $(DEPDIR)/libeggrecent_la-egg-recent-view-uimanager.Tpo $(DEPDIR)/libeggrecent_la-egg-recent-view-uimanager.Plo
56821
 
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libeggrecent_la_CFLAGS) $(CFLAGS) -MT libeggrecent_la-egg-recent-view-uimanager.lo -MD -MP -MF $(DEPDIR)/libeggrecent_la-egg-recent-view-uimanager.Tpo -c -o libeggrecent_la-egg-recent-view-uimanager.lo `test -f 'egg-recent-view-uimanager.c' || echo '$(srcdir)/'`egg-recent-view-uimanager.c
56822
 
+@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libeggrecent_la-egg-recent-view-uimanager.Tpo $(DEPDIR)/libeggrecent_la-egg-recent-view-uimanager.Plo
56823
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='egg-recent-view-uimanager.c' object='libeggrecent_la-egg-recent-view-uimanager.lo' libtool=yes @AMDEPBACKSLASH@
56824
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
56825
 
-@am__fastdepCC_FALSE@  $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libeggrecent_la_CFLAGS) $(CFLAGS) -c -o libeggrecent_la-egg-recent-view-uimanager.lo `test -f 'egg-recent-view-uimanager.c' || echo '$(srcdir)/'`egg-recent-view-uimanager.c
56826
 
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libeggrecent_la_CFLAGS) $(CFLAGS) -c -o libeggrecent_la-egg-recent-view-uimanager.lo `test -f 'egg-recent-view-uimanager.c' || echo '$(srcdir)/'`egg-recent-view-uimanager.c
56827
 
 
56828
 
 libeggrecent_la-egg-recent-util.lo: egg-recent-util.c
56829
 
-@am__fastdepCC_TRUE@   $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libeggrecent_la_CFLAGS) $(CFLAGS) -MT libeggrecent_la-egg-recent-util.lo -MD -MP -MF $(DEPDIR)/libeggrecent_la-egg-recent-util.Tpo -c -o libeggrecent_la-egg-recent-util.lo `test -f 'egg-recent-util.c' || echo '$(srcdir)/'`egg-recent-util.c
56830
 
-@am__fastdepCC_TRUE@   mv -f $(DEPDIR)/libeggrecent_la-egg-recent-util.Tpo $(DEPDIR)/libeggrecent_la-egg-recent-util.Plo
56831
 
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libeggrecent_la_CFLAGS) $(CFLAGS) -MT libeggrecent_la-egg-recent-util.lo -MD -MP -MF $(DEPDIR)/libeggrecent_la-egg-recent-util.Tpo -c -o libeggrecent_la-egg-recent-util.lo `test -f 'egg-recent-util.c' || echo '$(srcdir)/'`egg-recent-util.c
56832
 
+@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libeggrecent_la-egg-recent-util.Tpo $(DEPDIR)/libeggrecent_la-egg-recent-util.Plo
56833
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='egg-recent-util.c' object='libeggrecent_la-egg-recent-util.lo' libtool=yes @AMDEPBACKSLASH@
56834
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
56835
 
-@am__fastdepCC_FALSE@  $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libeggrecent_la_CFLAGS) $(CFLAGS) -c -o libeggrecent_la-egg-recent-util.lo `test -f 'egg-recent-util.c' || echo '$(srcdir)/'`egg-recent-util.c
56836
 
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libeggrecent_la_CFLAGS) $(CFLAGS) -c -o libeggrecent_la-egg-recent-util.lo `test -f 'egg-recent-util.c' || echo '$(srcdir)/'`egg-recent-util.c
56837
 
 
56838
 
 libeggrecent_la-eggtypebuiltins.lo: eggtypebuiltins.c
56839
 
-@am__fastdepCC_TRUE@   $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libeggrecent_la_CFLAGS) $(CFLAGS) -MT libeggrecent_la-eggtypebuiltins.lo -MD -MP -MF $(DEPDIR)/libeggrecent_la-eggtypebuiltins.Tpo -c -o libeggrecent_la-eggtypebuiltins.lo `test -f 'eggtypebuiltins.c' || echo '$(srcdir)/'`eggtypebuiltins.c
56840
 
-@am__fastdepCC_TRUE@   mv -f $(DEPDIR)/libeggrecent_la-eggtypebuiltins.Tpo $(DEPDIR)/libeggrecent_la-eggtypebuiltins.Plo
56841
 
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libeggrecent_la_CFLAGS) $(CFLAGS) -MT libeggrecent_la-eggtypebuiltins.lo -MD -MP -MF $(DEPDIR)/libeggrecent_la-eggtypebuiltins.Tpo -c -o libeggrecent_la-eggtypebuiltins.lo `test -f 'eggtypebuiltins.c' || echo '$(srcdir)/'`eggtypebuiltins.c
56842
 
+@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libeggrecent_la-eggtypebuiltins.Tpo $(DEPDIR)/libeggrecent_la-eggtypebuiltins.Plo
56843
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='eggtypebuiltins.c' object='libeggrecent_la-eggtypebuiltins.lo' libtool=yes @AMDEPBACKSLASH@
56844
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
56845
 
-@am__fastdepCC_FALSE@  $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libeggrecent_la_CFLAGS) $(CFLAGS) -c -o libeggrecent_la-eggtypebuiltins.lo `test -f 'eggtypebuiltins.c' || echo '$(srcdir)/'`eggtypebuiltins.c
56846
 
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libeggrecent_la_CFLAGS) $(CFLAGS) -c -o libeggrecent_la-eggtypebuiltins.lo `test -f 'eggtypebuiltins.c' || echo '$(srcdir)/'`eggtypebuiltins.c
56847
 
 
56848
 
 recent_la-eggrecentmodule.lo: eggrecentmodule.c
56849
 
-@am__fastdepCC_TRUE@   $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(recent_la_CFLAGS) $(CFLAGS) -MT recent_la-eggrecentmodule.lo -MD -MP -MF $(DEPDIR)/recent_la-eggrecentmodule.Tpo -c -o recent_la-eggrecentmodule.lo `test -f 'eggrecentmodule.c' || echo '$(srcdir)/'`eggrecentmodule.c
56850
 
-@am__fastdepCC_TRUE@   mv -f $(DEPDIR)/recent_la-eggrecentmodule.Tpo $(DEPDIR)/recent_la-eggrecentmodule.Plo
56851
 
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(recent_la_CFLAGS) $(CFLAGS) -MT recent_la-eggrecentmodule.lo -MD -MP -MF $(DEPDIR)/recent_la-eggrecentmodule.Tpo -c -o recent_la-eggrecentmodule.lo `test -f 'eggrecentmodule.c' || echo '$(srcdir)/'`eggrecentmodule.c
56852
 
+@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/recent_la-eggrecentmodule.Tpo $(DEPDIR)/recent_la-eggrecentmodule.Plo
56853
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='eggrecentmodule.c' object='recent_la-eggrecentmodule.lo' libtool=yes @AMDEPBACKSLASH@
56854
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
56855
 
-@am__fastdepCC_FALSE@  $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(recent_la_CFLAGS) $(CFLAGS) -c -o recent_la-eggrecentmodule.lo `test -f 'eggrecentmodule.c' || echo '$(srcdir)/'`eggrecentmodule.c
56856
 
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(recent_la_CFLAGS) $(CFLAGS) -c -o recent_la-eggrecentmodule.lo `test -f 'eggrecentmodule.c' || echo '$(srcdir)/'`eggrecentmodule.c
56857
 
 
56858
 
 recent_la-eggrecent.lo: eggrecent.c
56859
 
-@am__fastdepCC_TRUE@   $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(recent_la_CFLAGS) $(CFLAGS) -MT recent_la-eggrecent.lo -MD -MP -MF $(DEPDIR)/recent_la-eggrecent.Tpo -c -o recent_la-eggrecent.lo `test -f 'eggrecent.c' || echo '$(srcdir)/'`eggrecent.c
56860
 
-@am__fastdepCC_TRUE@   mv -f $(DEPDIR)/recent_la-eggrecent.Tpo $(DEPDIR)/recent_la-eggrecent.Plo
56861
 
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(recent_la_CFLAGS) $(CFLAGS) -MT recent_la-eggrecent.lo -MD -MP -MF $(DEPDIR)/recent_la-eggrecent.Tpo -c -o recent_la-eggrecent.lo `test -f 'eggrecent.c' || echo '$(srcdir)/'`eggrecent.c
56862
 
+@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/recent_la-eggrecent.Tpo $(DEPDIR)/recent_la-eggrecent.Plo
56863
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='eggrecent.c' object='recent_la-eggrecent.lo' libtool=yes @AMDEPBACKSLASH@
56864
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
56865
 
-@am__fastdepCC_FALSE@  $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(recent_la_CFLAGS) $(CFLAGS) -c -o recent_la-eggrecent.lo `test -f 'eggrecent.c' || echo '$(srcdir)/'`eggrecent.c
56866
 
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(recent_la_CFLAGS) $(CFLAGS) -c -o recent_la-eggrecent.lo `test -f 'eggrecent.c' || echo '$(srcdir)/'`eggrecent.c
56867
 
 
56868
 
 mostlyclean-libtool:
56869
 
        -rm -f *.lo
56870
 
@@ -490,14 +518,14 @@ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS
56871
 
        unique=`for i in $$list; do \
56872
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
56873
 
          done | \
56874
 
-         $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
56875
 
+         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
56876
 
              END { if (nonempty) { for (i in files) print i; }; }'`; \
56877
 
        mkid -fID $$unique
56878
 
 tags: TAGS
56879
 
 
56880
 
 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
56881
 
                $(TAGS_FILES) $(LISP)
56882
 
-       tags=; \
56883
 
+       set x; \
56884
 
        here=`pwd`; \
56885
 
        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
56886
 
        unique=`for i in $$list; do \
56887
 
@@ -505,29 +533,34 @@ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEP
56888
 
          done | \
56889
 
          $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
56890
 
              END { if (nonempty) { for (i in files) print i; }; }'`; \
56891
 
-       if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
56892
 
+       shift; \
56893
 
+       if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
56894
 
          test -n "$$unique" || unique=$$empty_fix; \
56895
 
-         $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
56896
 
-           $$tags $$unique; \
56897
 
+         if test $$# -gt 0; then \
56898
 
+           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
56899
 
+             "$$@" $$unique; \
56900
 
+         else \
56901
 
+           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
56902
 
+             $$unique; \
56903
 
+         fi; \
56904
 
        fi
56905
 
 ctags: CTAGS
56906
 
 CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
56907
 
                $(TAGS_FILES) $(LISP)
56908
 
-       tags=; \
56909
 
        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
56910
 
        unique=`for i in $$list; do \
56911
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
56912
 
          done | \
56913
 
          $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
56914
 
              END { if (nonempty) { for (i in files) print i; }; }'`; \
56915
 
-       test -z "$(CTAGS_ARGS)$$tags$$unique" \
56916
 
+       test -z "$(CTAGS_ARGS)$$unique" \
56917
 
          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
56918
 
-            $$tags $$unique
56919
 
+            $$unique
56920
 
 
56921
 
 GTAGS:
56922
 
        here=`$(am__cd) $(top_builddir) && pwd` \
56923
 
-         && cd $(top_srcdir) \
56924
 
-         && gtags -i $(GTAGS_ARGS) $$here
56925
 
+         && $(am__cd) $(top_srcdir) \
56926
 
+         && gtags -i $(GTAGS_ARGS) "$$here"
56927
 
 
56928
 
 distclean-tags:
56929
 
        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
56930
 
@@ -548,13 +581,17 @@ distdir: $(DISTFILES)
56931
 
          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
56932
 
          if test -d $$d/$$file; then \
56933
 
            dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
56934
 
+           if test -d "$(distdir)/$$file"; then \
56935
 
+             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
56936
 
+           fi; \
56937
 
            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
56938
 
-             cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
56939
 
+             cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
56940
 
+             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
56941
 
            fi; \
56942
 
-           cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
56943
 
+           cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
56944
 
          else \
56945
 
-           test -f $(distdir)/$$file \
56946
 
-           || cp -p $$d/$$file $(distdir)/$$file \
56947
 
+           test -f "$(distdir)/$$file" \
56948
 
+           || cp -p $$d/$$file "$(distdir)/$$file" \
56949
 
            || exit 1; \
56950
 
          fi; \
56951
 
        done
56952
 
@@ -588,6 +625,7 @@ clean-generic:
56953
 
 
56954
 
 distclean-generic:
56955
 
        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
56956
 
+       -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
56957
 
        -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
56958
 
 
56959
 
 maintainer-clean-generic:
56960
 
@@ -611,6 +649,8 @@ dvi-am:
56961
 
 
56962
 
 html: html-am
56963
 
 
56964
 
+html-am:
56965
 
+
56966
 
 info: info-am
56967
 
 
56968
 
 info-am:
56969
 
@@ -619,18 +659,28 @@ install-data-am:
56970
 
 
56971
 
 install-dvi: install-dvi-am
56972
 
 
56973
 
+install-dvi-am:
56974
 
+
56975
 
 install-exec-am: install-pyeggexecLTLIBRARIES
56976
 
 
56977
 
 install-html: install-html-am
56978
 
 
56979
 
+install-html-am:
56980
 
+
56981
 
 install-info: install-info-am
56982
 
 
56983
 
+install-info-am:
56984
 
+
56985
 
 install-man:
56986
 
 
56987
 
 install-pdf: install-pdf-am
56988
 
 
56989
 
+install-pdf-am:
56990
 
+
56991
 
 install-ps: install-ps-am
56992
 
 
56993
 
+install-ps-am:
56994
 
+
56995
 
 installcheck-am:
56996
 
 
56997
 
 maintainer-clean: maintainer-clean-am
56998
 
@@ -653,7 +703,7 @@ ps-am:
56999
 
 
57000
 
 uninstall-am: uninstall-pyeggexecLTLIBRARIES
57001
 
 
57002
 
-.MAKE: install-am install-strip
57003
 
+.MAKE: all check install install-am install-strip
57004
 
 
57005
 
 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
57006
 
        clean-libtool clean-noinstLTLIBRARIES \
57007
 
@@ -709,6 +759,7 @@ eggtypebuiltins.c: $(egg_public_h_source
57008
 
                $(egg_public_h_sources) ) > xgen-gtbc \
57009
 
        && cp xgen-gtbc eggtypebuiltins.c  \
57010
 
        && rm -f xgen-gtbc
57011
 
+
57012
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
57013
 
 # Otherwise a system limit (for SysV at least) may be exceeded.
57014
 
 .NOEXPORT:
57015
 
diff -Nurp gnome-python-extras-2.25.3.orig/egg/tray/Makefile.in gnome-python-extras-2.25.3/egg/tray/Makefile.in
57016
 
--- gnome-python-extras-2.25.3.orig/egg/tray/Makefile.in        2009-02-15 22:21:01.000000000 +0000
57017
 
+++ gnome-python-extras-2.25.3/egg/tray/Makefile.in     2009-12-15 01:42:16.970345177 +0000
57018
 
@@ -1,8 +1,9 @@
57019
 
-# Makefile.in generated by automake 1.10.1 from Makefile.am.
57020
 
+# Makefile.in generated by automake 1.11 from Makefile.am.
57021
 
 # @configure_input@
57022
 
 
57023
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
57024
 
-# 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
57025
 
+# 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
57026
 
+# Inc.
57027
 
 # This Makefile.in is free software; the Free Software Foundation
57028
 
 # gives unlimited permission to copy and/or distribute it,
57029
 
 # with or without modifications, as long as this notice is preserved.
57030
 
@@ -17,8 +18,9 @@
57031
 
 
57032
 
 VPATH = @srcdir@
57033
 
 pkgdatadir = $(datadir)/@PACKAGE@
57034
 
-pkglibdir = $(libdir)/@PACKAGE@
57035
 
 pkgincludedir = $(includedir)/@PACKAGE@
57036
 
+pkglibdir = $(libdir)/@PACKAGE@
57037
 
+pkglibexecdir = $(libexecdir)/@PACKAGE@
57038
 
 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
57039
 
 install_sh_DATA = $(install_sh) -c -m 644
57040
 
 install_sh_PROGRAM = $(install_sh) -c
57041
 
@@ -43,14 +45,29 @@ am__configure_deps = $(am__aclocal_m4_de
57042
 
 mkinstalldirs = $(install_sh) -d
57043
 
 CONFIG_HEADER = $(top_builddir)/config.h
57044
 
 CONFIG_CLEAN_FILES =
57045
 
+CONFIG_CLEAN_VPATH_FILES =
57046
 
 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
57047
 
 am__vpath_adj = case $$p in \
57048
 
     $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
57049
 
     *) f=$$p;; \
57050
 
   esac;
57051
 
-am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
57052
 
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
57053
 
+am__install_max = 40
57054
 
+am__nobase_strip_setup = \
57055
 
+  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
57056
 
+am__nobase_strip = \
57057
 
+  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
57058
 
+am__nobase_list = $(am__nobase_strip_setup); \
57059
 
+  for p in $$list; do echo "$$p $$p"; done | \
57060
 
+  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
57061
 
+  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
57062
 
+    if (++n[$$2] == $(am__install_max)) \
57063
 
+      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
57064
 
+    END { for (dir in files) print dir, files[dir] }'
57065
 
+am__base_list = \
57066
 
+  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
57067
 
+  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
57068
 
 am__installdirs = "$(DESTDIR)$(pyeggexecdir)" "$(DESTDIR)$(defsdir)"
57069
 
-pyeggexecLTLIBRARIES_INSTALL = $(INSTALL)
57070
 
 LTLIBRARIES = $(pyeggexec_LTLIBRARIES)
57071
 
 am__DEPENDENCIES_1 =
57072
 
 trayicon_la_DEPENDENCIES = $(am__DEPENDENCIES_1)
57073
 
@@ -65,6 +82,7 @@ trayicon_la_LINK = $(LIBTOOL) --tag=CC $
57074
 
 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
57075
 
 depcomp = $(SHELL) $(top_srcdir)/depcomp
57076
 
 am__depfiles_maybe = depfiles
57077
 
+am__mv = mv -f
57078
 
 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
57079
 
        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
57080
 
 LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
57081
 
@@ -76,7 +94,6 @@ LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLF
57082
 
        $(LDFLAGS) -o $@
57083
 
 SOURCES = $(trayicon_la_SOURCES) $(nodist_trayicon_la_SOURCES)
57084
 
 DIST_SOURCES = $(trayicon_la_SOURCES)
57085
 
-defsDATA_INSTALL = $(INSTALL_DATA)
57086
 
 DATA = $(defs_DATA)
57087
 
 ETAGS = etags
57088
 
 CTAGS = ctags
57089
 
@@ -104,7 +121,7 @@ DEFS = @DEFS@
57090
 
 DEPDIR = @DEPDIR@
57091
 
 DLLTOOL = @DLLTOOL@
57092
 
 DSYMUTIL = @DSYMUTIL@
57093
 
-ECHO = @ECHO@
57094
 
+DUMPBIN = @DUMPBIN@
57095
 
 ECHO_C = @ECHO_C@
57096
 
 ECHO_N = @ECHO_N@
57097
 
 ECHO_T = @ECHO_T@
57098
 
@@ -114,8 +131,7 @@ EGG_RECENT_CFLAGS = @EGG_RECENT_CFLAGS@
57099
 
 EGG_RECENT_LIBS = @EGG_RECENT_LIBS@
57100
 
 EGREP = @EGREP@
57101
 
 EXEEXT = @EXEEXT@
57102
 
-F77 = @F77@
57103
 
-FFLAGS = @FFLAGS@
57104
 
+FGREP = @FGREP@
57105
 
 GDA_CFLAGS = @GDA_CFLAGS@
57106
 
 GDA_LIBS = @GDA_LIBS@
57107
 
 GDL_CFLAGS = @GDL_CFLAGS@
57108
 
@@ -148,23 +164,30 @@ INSTALL_DATA = @INSTALL_DATA@
57109
 
 INSTALL_PROGRAM = @INSTALL_PROGRAM@
57110
 
 INSTALL_SCRIPT = @INSTALL_SCRIPT@
57111
 
 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
57112
 
+LD = @LD@
57113
 
 LDFLAGS = @LDFLAGS@
57114
 
 LIBOBJS = @LIBOBJS@
57115
 
 LIBS = @LIBS@
57116
 
 LIBTOOL = @LIBTOOL@
57117
 
+LIPO = @LIPO@
57118
 
 LN_S = @LN_S@
57119
 
 LTLIBOBJS = @LTLIBOBJS@
57120
 
+MAINT = @MAINT@
57121
 
 MAKEINFO = @MAKEINFO@
57122
 
 MKDIR_P = @MKDIR_P@
57123
 
 MOZILLA_HOME = @MOZILLA_HOME@
57124
 
+NM = @NM@
57125
 
 NMEDIT = @NMEDIT@
57126
 
 OBJDUMP = @OBJDUMP@
57127
 
 OBJEXT = @OBJEXT@
57128
 
+OTOOL = @OTOOL@
57129
 
+OTOOL64 = @OTOOL64@
57130
 
 PACKAGE = @PACKAGE@
57131
 
 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
57132
 
 PACKAGE_NAME = @PACKAGE_NAME@
57133
 
 PACKAGE_STRING = @PACKAGE_STRING@
57134
 
 PACKAGE_TARNAME = @PACKAGE_TARNAME@
57135
 
+PACKAGE_URL = @PACKAGE_URL@
57136
 
 PACKAGE_VERSION = @PACKAGE_VERSION@
57137
 
 PATH_SEPARATOR = @PATH_SEPARATOR@
57138
 
 PKG_CONFIG = @PKG_CONFIG@
57139
 
@@ -191,15 +214,13 @@ SHELL = @SHELL@
57140
 
 STRIP = @STRIP@
57141
 
 VERSION = @VERSION@
57142
 
 XSLTPROC = @XSLTPROC@
57143
 
-XUL19_CFLAGS = @XUL19_CFLAGS@
57144
 
-XUL19_LIBS = @XUL19_LIBS@
57145
 
 abs_builddir = @abs_builddir@
57146
 
 abs_srcdir = @abs_srcdir@
57147
 
 abs_top_builddir = @abs_top_builddir@
57148
 
 abs_top_srcdir = @abs_top_srcdir@
57149
 
 ac_ct_CC = @ac_ct_CC@
57150
 
 ac_ct_CXX = @ac_ct_CXX@
57151
 
-ac_ct_F77 = @ac_ct_F77@
57152
 
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
57153
 
 am__include = @am__include@
57154
 
 am__leading_dot = @am__leading_dot@
57155
 
 am__quote = @am__quote@
57156
 
@@ -230,6 +251,7 @@ libdir = @libdir@
57157
 
 libexecdir = @libexecdir@
57158
 
 localedir = @localedir@
57159
 
 localstatedir = @localstatedir@
57160
 
+lt_ECHO = @lt_ECHO@
57161
 
 mandir = @mandir@
57162
 
 mkdir_p = @mkdir_p@
57163
 
 oldincludedir = @oldincludedir@
57164
 
@@ -267,18 +289,18 @@ all: all-am
57165
 
 
57166
 
 .SUFFIXES:
57167
 
 .SUFFIXES: .c .defs .lo .o .obj
57168
 
-$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
57169
 
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
57170
 
        @for dep in $?; do \
57171
 
          case '$(am__configure_deps)' in \
57172
 
            *$$dep*) \
57173
 
-             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
57174
 
-               && exit 0; \
57175
 
+             ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
57176
 
+               && { if test -f $@; then exit 0; else break; fi; }; \
57177
 
              exit 1;; \
57178
 
          esac; \
57179
 
        done; \
57180
 
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  egg/tray/Makefile'; \
57181
 
-       cd $(top_srcdir) && \
57182
 
-         $(AUTOMAKE) --gnu  egg/tray/Makefile
57183
 
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu egg/tray/Makefile'; \
57184
 
+       $(am__cd) $(top_srcdir) && \
57185
 
+         $(AUTOMAKE) --gnu egg/tray/Makefile
57186
 
 .PRECIOUS: Makefile
57187
 
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
57188
 
        @case '$?' in \
57189
 
@@ -292,27 +314,32 @@ Makefile: $(srcdir)/Makefile.in $(top_bu
57190
 
 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
57191
 
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
57192
 
 
57193
 
-$(top_srcdir)/configure:  $(am__configure_deps)
57194
 
+$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
57195
 
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
57196
 
-$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
57197
 
+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
57198
 
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
57199
 
+$(am__aclocal_m4_deps):
57200
 
 install-pyeggexecLTLIBRARIES: $(pyeggexec_LTLIBRARIES)
57201
 
        @$(NORMAL_INSTALL)
57202
 
        test -z "$(pyeggexecdir)" || $(MKDIR_P) "$(DESTDIR)$(pyeggexecdir)"
57203
 
-       @list='$(pyeggexec_LTLIBRARIES)'; for p in $$list; do \
57204
 
+       @list='$(pyeggexec_LTLIBRARIES)'; test -n "$(pyeggexecdir)" || list=; \
57205
 
+       list2=; for p in $$list; do \
57206
 
          if test -f $$p; then \
57207
 
-           f=$(am__strip_dir) \
57208
 
-           echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(pyeggexecLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(pyeggexecdir)/$$f'"; \
57209
 
-           $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(pyeggexecLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(pyeggexecdir)/$$f"; \
57210
 
+           list2="$$list2 $$p"; \
57211
 
          else :; fi; \
57212
 
-       done
57213
 
+       done; \
57214
 
+       test -z "$$list2" || { \
57215
 
+         echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pyeggexecdir)'"; \
57216
 
+         $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pyeggexecdir)"; \
57217
 
+       }
57218
 
 
57219
 
 uninstall-pyeggexecLTLIBRARIES:
57220
 
        @$(NORMAL_UNINSTALL)
57221
 
-       @list='$(pyeggexec_LTLIBRARIES)'; for p in $$list; do \
57222
 
-         p=$(am__strip_dir) \
57223
 
-         echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pyeggexecdir)/$$p'"; \
57224
 
-         $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pyeggexecdir)/$$p"; \
57225
 
+       @list='$(pyeggexec_LTLIBRARIES)'; test -n "$(pyeggexecdir)" || list=; \
57226
 
+       for p in $$list; do \
57227
 
+         $(am__strip_dir) \
57228
 
+         echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pyeggexecdir)/$$f'"; \
57229
 
+         $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pyeggexecdir)/$$f"; \
57230
 
        done
57231
 
 
57232
 
 clean-pyeggexecLTLIBRARIES:
57233
 
@@ -338,45 +365,45 @@ distclean-compile:
57234
 
 
57235
 
 .c.o:
57236
 
 @am__fastdepCC_TRUE@   $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
57237
 
-@am__fastdepCC_TRUE@   mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
57238
 
+@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
57239
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
57240
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
57241
 
 @am__fastdepCC_FALSE@  $(COMPILE) -c $<
57242
 
 
57243
 
 .c.obj:
57244
 
 @am__fastdepCC_TRUE@   $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
57245
 
-@am__fastdepCC_TRUE@   mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
57246
 
+@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
57247
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
57248
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
57249
 
 @am__fastdepCC_FALSE@  $(COMPILE) -c `$(CYGPATH_W) '$<'`
57250
 
 
57251
 
 .c.lo:
57252
 
 @am__fastdepCC_TRUE@   $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
57253
 
-@am__fastdepCC_TRUE@   mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
57254
 
+@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
57255
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
57256
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
57257
 
 @am__fastdepCC_FALSE@  $(LTCOMPILE) -c -o $@ $<
57258
 
 
57259
 
 trayicon_la-trayiconmodule.lo: trayiconmodule.c
57260
 
-@am__fastdepCC_TRUE@   $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(trayicon_la_CFLAGS) $(CFLAGS) -MT trayicon_la-trayiconmodule.lo -MD -MP -MF $(DEPDIR)/trayicon_la-trayiconmodule.Tpo -c -o trayicon_la-trayiconmodule.lo `test -f 'trayiconmodule.c' || echo '$(srcdir)/'`trayiconmodule.c
57261
 
-@am__fastdepCC_TRUE@   mv -f $(DEPDIR)/trayicon_la-trayiconmodule.Tpo $(DEPDIR)/trayicon_la-trayiconmodule.Plo
57262
 
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(trayicon_la_CFLAGS) $(CFLAGS) -MT trayicon_la-trayiconmodule.lo -MD -MP -MF $(DEPDIR)/trayicon_la-trayiconmodule.Tpo -c -o trayicon_la-trayiconmodule.lo `test -f 'trayiconmodule.c' || echo '$(srcdir)/'`trayiconmodule.c
57263
 
+@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/trayicon_la-trayiconmodule.Tpo $(DEPDIR)/trayicon_la-trayiconmodule.Plo
57264
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='trayiconmodule.c' object='trayicon_la-trayiconmodule.lo' libtool=yes @AMDEPBACKSLASH@
57265
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
57266
 
-@am__fastdepCC_FALSE@  $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(trayicon_la_CFLAGS) $(CFLAGS) -c -o trayicon_la-trayiconmodule.lo `test -f 'trayiconmodule.c' || echo '$(srcdir)/'`trayiconmodule.c
57267
 
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(trayicon_la_CFLAGS) $(CFLAGS) -c -o trayicon_la-trayiconmodule.lo `test -f 'trayiconmodule.c' || echo '$(srcdir)/'`trayiconmodule.c
57268
 
 
57269
 
 trayicon_la-eggtrayicon.lo: eggtrayicon.c
57270
 
-@am__fastdepCC_TRUE@   $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(trayicon_la_CFLAGS) $(CFLAGS) -MT trayicon_la-eggtrayicon.lo -MD -MP -MF $(DEPDIR)/trayicon_la-eggtrayicon.Tpo -c -o trayicon_la-eggtrayicon.lo `test -f 'eggtrayicon.c' || echo '$(srcdir)/'`eggtrayicon.c
57271
 
-@am__fastdepCC_TRUE@   mv -f $(DEPDIR)/trayicon_la-eggtrayicon.Tpo $(DEPDIR)/trayicon_la-eggtrayicon.Plo
57272
 
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(trayicon_la_CFLAGS) $(CFLAGS) -MT trayicon_la-eggtrayicon.lo -MD -MP -MF $(DEPDIR)/trayicon_la-eggtrayicon.Tpo -c -o trayicon_la-eggtrayicon.lo `test -f 'eggtrayicon.c' || echo '$(srcdir)/'`eggtrayicon.c
57273
 
+@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/trayicon_la-eggtrayicon.Tpo $(DEPDIR)/trayicon_la-eggtrayicon.Plo
57274
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='eggtrayicon.c' object='trayicon_la-eggtrayicon.lo' libtool=yes @AMDEPBACKSLASH@
57275
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
57276
 
-@am__fastdepCC_FALSE@  $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(trayicon_la_CFLAGS) $(CFLAGS) -c -o trayicon_la-eggtrayicon.lo `test -f 'eggtrayicon.c' || echo '$(srcdir)/'`eggtrayicon.c
57277
 
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(trayicon_la_CFLAGS) $(CFLAGS) -c -o trayicon_la-eggtrayicon.lo `test -f 'eggtrayicon.c' || echo '$(srcdir)/'`eggtrayicon.c
57278
 
 
57279
 
 trayicon_la-trayicon.lo: trayicon.c
57280
 
-@am__fastdepCC_TRUE@   $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(trayicon_la_CFLAGS) $(CFLAGS) -MT trayicon_la-trayicon.lo -MD -MP -MF $(DEPDIR)/trayicon_la-trayicon.Tpo -c -o trayicon_la-trayicon.lo `test -f 'trayicon.c' || echo '$(srcdir)/'`trayicon.c
57281
 
-@am__fastdepCC_TRUE@   mv -f $(DEPDIR)/trayicon_la-trayicon.Tpo $(DEPDIR)/trayicon_la-trayicon.Plo
57282
 
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(trayicon_la_CFLAGS) $(CFLAGS) -MT trayicon_la-trayicon.lo -MD -MP -MF $(DEPDIR)/trayicon_la-trayicon.Tpo -c -o trayicon_la-trayicon.lo `test -f 'trayicon.c' || echo '$(srcdir)/'`trayicon.c
57283
 
+@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/trayicon_la-trayicon.Tpo $(DEPDIR)/trayicon_la-trayicon.Plo
57284
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='trayicon.c' object='trayicon_la-trayicon.lo' libtool=yes @AMDEPBACKSLASH@
57285
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
57286
 
-@am__fastdepCC_FALSE@  $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(trayicon_la_CFLAGS) $(CFLAGS) -c -o trayicon_la-trayicon.lo `test -f 'trayicon.c' || echo '$(srcdir)/'`trayicon.c
57287
 
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(trayicon_la_CFLAGS) $(CFLAGS) -c -o trayicon_la-trayicon.lo `test -f 'trayicon.c' || echo '$(srcdir)/'`trayicon.c
57288
 
 
57289
 
 mostlyclean-libtool:
57290
 
        -rm -f *.lo
57291
 
@@ -386,34 +413,37 @@ clean-libtool:
57292
 
 install-defsDATA: $(defs_DATA)
57293
 
        @$(NORMAL_INSTALL)
57294
 
        test -z "$(defsdir)" || $(MKDIR_P) "$(DESTDIR)$(defsdir)"
57295
 
-       @list='$(defs_DATA)'; for p in $$list; do \
57296
 
+       @list='$(defs_DATA)'; test -n "$(defsdir)" || list=; \
57297
 
+       for p in $$list; do \
57298
 
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
57299
 
-         f=$(am__strip_dir) \
57300
 
-         echo " $(defsDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(defsdir)/$$f'"; \
57301
 
-         $(defsDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(defsdir)/$$f"; \
57302
 
+         echo "$$d$$p"; \
57303
 
+       done | $(am__base_list) | \
57304
 
+       while read files; do \
57305
 
+         echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(defsdir)'"; \
57306
 
+         $(INSTALL_DATA) $$files "$(DESTDIR)$(defsdir)" || exit $$?; \
57307
 
        done
57308
 
 
57309
 
 uninstall-defsDATA:
57310
 
        @$(NORMAL_UNINSTALL)
57311
 
-       @list='$(defs_DATA)'; for p in $$list; do \
57312
 
-         f=$(am__strip_dir) \
57313
 
-         echo " rm -f '$(DESTDIR)$(defsdir)/$$f'"; \
57314
 
-         rm -f "$(DESTDIR)$(defsdir)/$$f"; \
57315
 
-       done
57316
 
+       @list='$(defs_DATA)'; test -n "$(defsdir)" || list=; \
57317
 
+       files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
57318
 
+       test -n "$$files" || exit 0; \
57319
 
+       echo " ( cd '$(DESTDIR)$(defsdir)' && rm -f" $$files ")"; \
57320
 
+       cd "$(DESTDIR)$(defsdir)" && rm -f $$files
57321
 
 
57322
 
 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
57323
 
        list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
57324
 
        unique=`for i in $$list; do \
57325
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
57326
 
          done | \
57327
 
-         $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
57328
 
+         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
57329
 
              END { if (nonempty) { for (i in files) print i; }; }'`; \
57330
 
        mkid -fID $$unique
57331
 
 tags: TAGS
57332
 
 
57333
 
 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
57334
 
                $(TAGS_FILES) $(LISP)
57335
 
-       tags=; \
57336
 
+       set x; \
57337
 
        here=`pwd`; \
57338
 
        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
57339
 
        unique=`for i in $$list; do \
57340
 
@@ -421,29 +451,34 @@ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEP
57341
 
          done | \
57342
 
          $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
57343
 
              END { if (nonempty) { for (i in files) print i; }; }'`; \
57344
 
-       if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
57345
 
+       shift; \
57346
 
+       if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
57347
 
          test -n "$$unique" || unique=$$empty_fix; \
57348
 
-         $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
57349
 
-           $$tags $$unique; \
57350
 
+         if test $$# -gt 0; then \
57351
 
+           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
57352
 
+             "$$@" $$unique; \
57353
 
+         else \
57354
 
+           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
57355
 
+             $$unique; \
57356
 
+         fi; \
57357
 
        fi
57358
 
 ctags: CTAGS
57359
 
 CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
57360
 
                $(TAGS_FILES) $(LISP)
57361
 
-       tags=; \
57362
 
        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
57363
 
        unique=`for i in $$list; do \
57364
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
57365
 
          done | \
57366
 
          $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
57367
 
              END { if (nonempty) { for (i in files) print i; }; }'`; \
57368
 
-       test -z "$(CTAGS_ARGS)$$tags$$unique" \
57369
 
+       test -z "$(CTAGS_ARGS)$$unique" \
57370
 
          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
57371
 
-            $$tags $$unique
57372
 
+            $$unique
57373
 
 
57374
 
 GTAGS:
57375
 
        here=`$(am__cd) $(top_builddir) && pwd` \
57376
 
-         && cd $(top_srcdir) \
57377
 
-         && gtags -i $(GTAGS_ARGS) $$here
57378
 
+         && $(am__cd) $(top_srcdir) \
57379
 
+         && gtags -i $(GTAGS_ARGS) "$$here"
57380
 
 
57381
 
 distclean-tags:
57382
 
        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
57383
 
@@ -464,13 +499,17 @@ distdir: $(DISTFILES)
57384
 
          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
57385
 
          if test -d $$d/$$file; then \
57386
 
            dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
57387
 
+           if test -d "$(distdir)/$$file"; then \
57388
 
+             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
57389
 
+           fi; \
57390
 
            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
57391
 
-             cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
57392
 
+             cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
57393
 
+             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
57394
 
            fi; \
57395
 
-           cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
57396
 
+           cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
57397
 
          else \
57398
 
-           test -f $(distdir)/$$file \
57399
 
-           || cp -p $$d/$$file $(distdir)/$$file \
57400
 
+           test -f "$(distdir)/$$file" \
57401
 
+           || cp -p $$d/$$file "$(distdir)/$$file" \
57402
 
            || exit 1; \
57403
 
          fi; \
57404
 
        done
57405
 
@@ -502,6 +541,7 @@ clean-generic:
57406
 
 
57407
 
 distclean-generic:
57408
 
        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
57409
 
+       -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
57410
 
 
57411
 
 maintainer-clean-generic:
57412
 
        @echo "This command is intended for maintainers to use"
57413
 
@@ -523,6 +563,8 @@ dvi-am:
57414
 
 
57415
 
 html: html-am
57416
 
 
57417
 
+html-am:
57418
 
+
57419
 
 info: info-am
57420
 
 
57421
 
 info-am:
57422
 
@@ -531,18 +573,28 @@ install-data-am: install-defsDATA
57423
 
 
57424
 
 install-dvi: install-dvi-am
57425
 
 
57426
 
+install-dvi-am:
57427
 
+
57428
 
 install-exec-am: install-pyeggexecLTLIBRARIES
57429
 
 
57430
 
 install-html: install-html-am
57431
 
 
57432
 
+install-html-am:
57433
 
+
57434
 
 install-info: install-info-am
57435
 
 
57436
 
+install-info-am:
57437
 
+
57438
 
 install-man:
57439
 
 
57440
 
 install-pdf: install-pdf-am
57441
 
 
57442
 
+install-pdf-am:
57443
 
+
57444
 
 install-ps: install-ps-am
57445
 
 
57446
 
+install-ps-am:
57447
 
+
57448
 
 installcheck-am:
57449
 
 
57450
 
 maintainer-clean: maintainer-clean-am
57451
 
@@ -593,6 +645,7 @@ trayicon.c: trayicon.defs trayicon.overr
57452
 
            --prefix py$* $*.defs) > gen-$*.c \
57453
 
        && cp gen-$*.c $*.c \
57454
 
        && rm -f gen-$*.c
57455
 
+
57456
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
57457
 
 # Otherwise a system limit (for SysV at least) may be exceeded.
57458
 
 .NOEXPORT:
57459
 
diff -Nurp gnome-python-extras-2.25.3.orig/gda/Makefile.in gnome-python-extras-2.25.3/gda/Makefile.in
57460
 
--- gnome-python-extras-2.25.3.orig/gda/Makefile.in     2009-02-15 22:21:02.000000000 +0000
57461
 
+++ gnome-python-extras-2.25.3/gda/Makefile.in  2009-12-15 01:42:17.090346281 +0000
57462
 
@@ -1,8 +1,9 @@
57463
 
-# Makefile.in generated by automake 1.10.1 from Makefile.am.
57464
 
+# Makefile.in generated by automake 1.11 from Makefile.am.
57465
 
 # @configure_input@
57466
 
 
57467
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
57468
 
-# 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
57469
 
+# 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
57470
 
+# Inc.
57471
 
 # This Makefile.in is free software; the Free Software Foundation
57472
 
 # gives unlimited permission to copy and/or distribute it,
57473
 
 # with or without modifications, as long as this notice is preserved.
57474
 
@@ -19,6 +20,7 @@
57475
 
 VPATH = @srcdir@
57476
 
 pkgdatadir = $(datadir)/@PACKAGE@
57477
 
 pkglibdir = $(libdir)/@PACKAGE@
57478
 
+pkglibexecdir = $(libexecdir)/@PACKAGE@
57479
 
 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
57480
 
 install_sh_DATA = $(install_sh) -c -m 644
57481
 
 install_sh_PROGRAM = $(install_sh) -c
57482
 
@@ -45,16 +47,31 @@ am__configure_deps = $(am__aclocal_m4_de
57483
 
 mkinstalldirs = $(install_sh) -d
57484
 
 CONFIG_HEADER = $(top_builddir)/config.h
57485
 
 CONFIG_CLEAN_FILES = pygda-4.0.pc
57486
 
+CONFIG_CLEAN_VPATH_FILES =
57487
 
 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
57488
 
 am__vpath_adj = case $$p in \
57489
 
     $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
57490
 
     *) f=$$p;; \
57491
 
   esac;
57492
 
-am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
57493
 
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
57494
 
+am__install_max = 40
57495
 
+am__nobase_strip_setup = \
57496
 
+  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
57497
 
+am__nobase_strip = \
57498
 
+  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
57499
 
+am__nobase_list = $(am__nobase_strip_setup); \
57500
 
+  for p in $$list; do echo "$$p $$p"; done | \
57501
 
+  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
57502
 
+  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
57503
 
+    if (++n[$$2] == $(am__install_max)) \
57504
 
+      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
57505
 
+    END { for (dir in files) print dir, files[dir] }'
57506
 
+am__base_list = \
57507
 
+  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
57508
 
+  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
57509
 
 am__installdirs = "$(DESTDIR)$(pkgpyexecdir)" \
57510
 
        "$(DESTDIR)$(argtypesdir)" "$(DESTDIR)$(defsdir)" \
57511
 
        "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(pkgincludedir)"
57512
 
-pkgpyexecLTLIBRARIES_INSTALL = $(INSTALL)
57513
 
 LTLIBRARIES = $(pkgpyexec_LTLIBRARIES)
57514
 
 am__DEPENDENCIES_1 =
57515
 
 gda_la_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
57516
 
@@ -69,6 +86,7 @@ gda_la_LINK = $(LIBTOOL) --tag=CC $(AM_L
57517
 
 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
57518
 
 depcomp = $(SHELL) $(top_srcdir)/depcomp
57519
 
 am__depfiles_maybe = depfiles
57520
 
+am__mv = mv -f
57521
 
 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
57522
 
        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
57523
 
 LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
57524
 
@@ -80,12 +98,8 @@ LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLF
57525
 
        $(LDFLAGS) -o $@
57526
 
 SOURCES = $(gda_la_SOURCES) $(nodist_gda_la_SOURCES)
57527
 
 DIST_SOURCES = $(gda_la_SOURCES)
57528
 
-argtypesPYTHON_INSTALL = $(INSTALL_DATA)
57529
 
 py_compile = $(top_srcdir)/py-compile
57530
 
-defsDATA_INSTALL = $(INSTALL_DATA)
57531
 
-pkgconfigDATA_INSTALL = $(INSTALL_DATA)
57532
 
 DATA = $(defs_DATA) $(pkgconfig_DATA)
57533
 
-pkgincludeHEADERS_INSTALL = $(INSTALL_HEADER)
57534
 
 HEADERS = $(pkginclude_HEADERS)
57535
 
 ETAGS = etags
57536
 
 CTAGS = ctags
57537
 
@@ -116,7 +130,7 @@ DEFS = @DEFS@
57538
 
 DEPDIR = @DEPDIR@
57539
 
 DLLTOOL = @DLLTOOL@
57540
 
 DSYMUTIL = @DSYMUTIL@
57541
 
-ECHO = @ECHO@
57542
 
+DUMPBIN = @DUMPBIN@
57543
 
 ECHO_C = @ECHO_C@
57544
 
 ECHO_N = @ECHO_N@
57545
 
 ECHO_T = @ECHO_T@
57546
 
@@ -126,8 +140,7 @@ EGG_RECENT_CFLAGS = @EGG_RECENT_CFLAGS@
57547
 
 EGG_RECENT_LIBS = @EGG_RECENT_LIBS@
57548
 
 EGREP = @EGREP@
57549
 
 EXEEXT = @EXEEXT@
57550
 
-F77 = @F77@
57551
 
-FFLAGS = @FFLAGS@
57552
 
+FGREP = @FGREP@
57553
 
 GDA_CFLAGS = @GDA_CFLAGS@
57554
 
 GDA_LIBS = @GDA_LIBS@
57555
 
 GDL_CFLAGS = @GDL_CFLAGS@
57556
 
@@ -160,23 +173,30 @@ INSTALL_DATA = @INSTALL_DATA@
57557
 
 INSTALL_PROGRAM = @INSTALL_PROGRAM@
57558
 
 INSTALL_SCRIPT = @INSTALL_SCRIPT@
57559
 
 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
57560
 
+LD = @LD@
57561
 
 LDFLAGS = @LDFLAGS@
57562
 
 LIBOBJS = @LIBOBJS@
57563
 
 LIBS = @LIBS@
57564
 
 LIBTOOL = @LIBTOOL@
57565
 
+LIPO = @LIPO@
57566
 
 LN_S = @LN_S@
57567
 
 LTLIBOBJS = @LTLIBOBJS@
57568
 
+MAINT = @MAINT@
57569
 
 MAKEINFO = @MAKEINFO@
57570
 
 MKDIR_P = @MKDIR_P@
57571
 
 MOZILLA_HOME = @MOZILLA_HOME@
57572
 
+NM = @NM@
57573
 
 NMEDIT = @NMEDIT@
57574
 
 OBJDUMP = @OBJDUMP@
57575
 
 OBJEXT = @OBJEXT@
57576
 
+OTOOL = @OTOOL@
57577
 
+OTOOL64 = @OTOOL64@
57578
 
 PACKAGE = @PACKAGE@
57579
 
 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
57580
 
 PACKAGE_NAME = @PACKAGE_NAME@
57581
 
 PACKAGE_STRING = @PACKAGE_STRING@
57582
 
 PACKAGE_TARNAME = @PACKAGE_TARNAME@
57583
 
+PACKAGE_URL = @PACKAGE_URL@
57584
 
 PACKAGE_VERSION = @PACKAGE_VERSION@
57585
 
 PATH_SEPARATOR = @PATH_SEPARATOR@
57586
 
 PKG_CONFIG = @PKG_CONFIG@
57587
 
@@ -203,15 +223,13 @@ SHELL = @SHELL@
57588
 
 STRIP = @STRIP@
57589
 
 VERSION = @VERSION@
57590
 
 XSLTPROC = @XSLTPROC@
57591
 
-XUL19_CFLAGS = @XUL19_CFLAGS@
57592
 
-XUL19_LIBS = @XUL19_LIBS@
57593
 
 abs_builddir = @abs_builddir@
57594
 
 abs_srcdir = @abs_srcdir@
57595
 
 abs_top_builddir = @abs_top_builddir@
57596
 
 abs_top_srcdir = @abs_top_srcdir@
57597
 
 ac_ct_CC = @ac_ct_CC@
57598
 
 ac_ct_CXX = @ac_ct_CXX@
57599
 
-ac_ct_F77 = @ac_ct_F77@
57600
 
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
57601
 
 am__include = @am__include@
57602
 
 am__leading_dot = @am__leading_dot@
57603
 
 am__quote = @am__quote@
57604
 
@@ -242,6 +260,7 @@ libdir = @libdir@
57605
 
 libexecdir = @libexecdir@
57606
 
 localedir = @localedir@
57607
 
 localstatedir = @localstatedir@
57608
 
+lt_ECHO = @lt_ECHO@
57609
 
 mandir = @mandir@
57610
 
 mkdir_p = @mkdir_p@
57611
 
 oldincludedir = @oldincludedir@
57612
 
@@ -293,18 +312,18 @@ all: all-am
57613
 
 
57614
 
 .SUFFIXES:
57615
 
 .SUFFIXES: .c .defs .lo .o .obj
57616
 
-$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
57617
 
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
57618
 
        @for dep in $?; do \
57619
 
          case '$(am__configure_deps)' in \
57620
 
            *$$dep*) \
57621
 
-             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
57622
 
-               && exit 0; \
57623
 
+             ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
57624
 
+               && { if test -f $@; then exit 0; else break; fi; }; \
57625
 
              exit 1;; \
57626
 
          esac; \
57627
 
        done; \
57628
 
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  gda/Makefile'; \
57629
 
-       cd $(top_srcdir) && \
57630
 
-         $(AUTOMAKE) --gnu  gda/Makefile
57631
 
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu gda/Makefile'; \
57632
 
+       $(am__cd) $(top_srcdir) && \
57633
 
+         $(AUTOMAKE) --gnu gda/Makefile
57634
 
 .PRECIOUS: Makefile
57635
 
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
57636
 
        @case '$?' in \
57637
 
@@ -318,29 +337,34 @@ Makefile: $(srcdir)/Makefile.in $(top_bu
57638
 
 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
57639
 
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
57640
 
 
57641
 
-$(top_srcdir)/configure:  $(am__configure_deps)
57642
 
+$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
57643
 
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
57644
 
-$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
57645
 
+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
57646
 
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
57647
 
+$(am__aclocal_m4_deps):
57648
 
 pygda-4.0.pc: $(top_builddir)/config.status $(srcdir)/pygda-4.0.pc.in
57649
 
        cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
57650
 
 install-pkgpyexecLTLIBRARIES: $(pkgpyexec_LTLIBRARIES)
57651
 
        @$(NORMAL_INSTALL)
57652
 
        test -z "$(pkgpyexecdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgpyexecdir)"
57653
 
-       @list='$(pkgpyexec_LTLIBRARIES)'; for p in $$list; do \
57654
 
+       @list='$(pkgpyexec_LTLIBRARIES)'; test -n "$(pkgpyexecdir)" || list=; \
57655
 
+       list2=; for p in $$list; do \
57656
 
          if test -f $$p; then \
57657
 
-           f=$(am__strip_dir) \
57658
 
-           echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(pkgpyexecLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(pkgpyexecdir)/$$f'"; \
57659
 
-           $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(pkgpyexecLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(pkgpyexecdir)/$$f"; \
57660
 
+           list2="$$list2 $$p"; \
57661
 
          else :; fi; \
57662
 
-       done
57663
 
+       done; \
57664
 
+       test -z "$$list2" || { \
57665
 
+         echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pkgpyexecdir)'"; \
57666
 
+         $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pkgpyexecdir)"; \
57667
 
+       }
57668
 
 
57669
 
 uninstall-pkgpyexecLTLIBRARIES:
57670
 
        @$(NORMAL_UNINSTALL)
57671
 
-       @list='$(pkgpyexec_LTLIBRARIES)'; for p in $$list; do \
57672
 
-         p=$(am__strip_dir) \
57673
 
-         echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pkgpyexecdir)/$$p'"; \
57674
 
-         $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pkgpyexecdir)/$$p"; \
57675
 
+       @list='$(pkgpyexec_LTLIBRARIES)'; test -n "$(pkgpyexecdir)" || list=; \
57676
 
+       for p in $$list; do \
57677
 
+         $(am__strip_dir) \
57678
 
+         echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pkgpyexecdir)/$$f'"; \
57679
 
+         $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pkgpyexecdir)/$$f"; \
57680
 
        done
57681
 
 
57682
 
 clean-pkgpyexecLTLIBRARIES:
57683
 
@@ -366,45 +390,45 @@ distclean-compile:
57684
 
 
57685
 
 .c.o:
57686
 
 @am__fastdepCC_TRUE@   $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
57687
 
-@am__fastdepCC_TRUE@   mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
57688
 
+@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
57689
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
57690
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
57691
 
 @am__fastdepCC_FALSE@  $(COMPILE) -c $<
57692
 
 
57693
 
 .c.obj:
57694
 
 @am__fastdepCC_TRUE@   $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
57695
 
-@am__fastdepCC_TRUE@   mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
57696
 
+@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
57697
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
57698
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
57699
 
 @am__fastdepCC_FALSE@  $(COMPILE) -c `$(CYGPATH_W) '$<'`
57700
 
 
57701
 
 .c.lo:
57702
 
 @am__fastdepCC_TRUE@   $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
57703
 
-@am__fastdepCC_TRUE@   mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
57704
 
+@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
57705
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
57706
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
57707
 
 @am__fastdepCC_FALSE@  $(LTCOMPILE) -c -o $@ $<
57708
 
 
57709
 
 gda_la-gdamodule.lo: gdamodule.c
57710
 
-@am__fastdepCC_TRUE@   $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gda_la_CFLAGS) $(CFLAGS) -MT gda_la-gdamodule.lo -MD -MP -MF $(DEPDIR)/gda_la-gdamodule.Tpo -c -o gda_la-gdamodule.lo `test -f 'gdamodule.c' || echo '$(srcdir)/'`gdamodule.c
57711
 
-@am__fastdepCC_TRUE@   mv -f $(DEPDIR)/gda_la-gdamodule.Tpo $(DEPDIR)/gda_la-gdamodule.Plo
57712
 
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gda_la_CFLAGS) $(CFLAGS) -MT gda_la-gdamodule.lo -MD -MP -MF $(DEPDIR)/gda_la-gdamodule.Tpo -c -o gda_la-gdamodule.lo `test -f 'gdamodule.c' || echo '$(srcdir)/'`gdamodule.c
57713
 
+@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/gda_la-gdamodule.Tpo $(DEPDIR)/gda_la-gdamodule.Plo
57714
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='gdamodule.c' object='gda_la-gdamodule.lo' libtool=yes @AMDEPBACKSLASH@
57715
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
57716
 
-@am__fastdepCC_FALSE@  $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gda_la_CFLAGS) $(CFLAGS) -c -o gda_la-gdamodule.lo `test -f 'gdamodule.c' || echo '$(srcdir)/'`gdamodule.c
57717
 
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gda_la_CFLAGS) $(CFLAGS) -c -o gda_la-gdamodule.lo `test -f 'gdamodule.c' || echo '$(srcdir)/'`gdamodule.c
57718
 
 
57719
 
 gda_la-pygdavalue_conversions.lo: pygdavalue_conversions.c
57720
 
-@am__fastdepCC_TRUE@   $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gda_la_CFLAGS) $(CFLAGS) -MT gda_la-pygdavalue_conversions.lo -MD -MP -MF $(DEPDIR)/gda_la-pygdavalue_conversions.Tpo -c -o gda_la-pygdavalue_conversions.lo `test -f 'pygdavalue_conversions.c' || echo '$(srcdir)/'`pygdavalue_conversions.c
57721
 
-@am__fastdepCC_TRUE@   mv -f $(DEPDIR)/gda_la-pygdavalue_conversions.Tpo $(DEPDIR)/gda_la-pygdavalue_conversions.Plo
57722
 
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gda_la_CFLAGS) $(CFLAGS) -MT gda_la-pygdavalue_conversions.lo -MD -MP -MF $(DEPDIR)/gda_la-pygdavalue_conversions.Tpo -c -o gda_la-pygdavalue_conversions.lo `test -f 'pygdavalue_conversions.c' || echo '$(srcdir)/'`pygdavalue_conversions.c
57723
 
+@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/gda_la-pygdavalue_conversions.Tpo $(DEPDIR)/gda_la-pygdavalue_conversions.Plo
57724
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='pygdavalue_conversions.c' object='gda_la-pygdavalue_conversions.lo' libtool=yes @AMDEPBACKSLASH@
57725
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
57726
 
-@am__fastdepCC_FALSE@  $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gda_la_CFLAGS) $(CFLAGS) -c -o gda_la-pygdavalue_conversions.lo `test -f 'pygdavalue_conversions.c' || echo '$(srcdir)/'`pygdavalue_conversions.c
57727
 
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gda_la_CFLAGS) $(CFLAGS) -c -o gda_la-pygdavalue_conversions.lo `test -f 'pygdavalue_conversions.c' || echo '$(srcdir)/'`pygdavalue_conversions.c
57728
 
 
57729
 
 gda_la-gda.lo: gda.c
57730
 
-@am__fastdepCC_TRUE@   $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gda_la_CFLAGS) $(CFLAGS) -MT gda_la-gda.lo -MD -MP -MF $(DEPDIR)/gda_la-gda.Tpo -c -o gda_la-gda.lo `test -f 'gda.c' || echo '$(srcdir)/'`gda.c
57731
 
-@am__fastdepCC_TRUE@   mv -f $(DEPDIR)/gda_la-gda.Tpo $(DEPDIR)/gda_la-gda.Plo
57732
 
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gda_la_CFLAGS) $(CFLAGS) -MT gda_la-gda.lo -MD -MP -MF $(DEPDIR)/gda_la-gda.Tpo -c -o gda_la-gda.lo `test -f 'gda.c' || echo '$(srcdir)/'`gda.c
57733
 
+@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/gda_la-gda.Tpo $(DEPDIR)/gda_la-gda.Plo
57734
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='gda.c' object='gda_la-gda.lo' libtool=yes @AMDEPBACKSLASH@
57735
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
57736
 
-@am__fastdepCC_FALSE@  $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gda_la_CFLAGS) $(CFLAGS) -c -o gda_la-gda.lo `test -f 'gda.c' || echo '$(srcdir)/'`gda.c
57737
 
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gda_la_CFLAGS) $(CFLAGS) -c -o gda_la-gda.lo `test -f 'gda.c' || echo '$(srcdir)/'`gda.c
57738
 
 
57739
 
 mostlyclean-libtool:
57740
 
        -rm -f *.lo
57741
 
@@ -414,15 +438,20 @@ clean-libtool:
57742
 
 install-argtypesPYTHON: $(argtypes_PYTHON)
57743
 
        @$(NORMAL_INSTALL)
57744
 
        test -z "$(argtypesdir)" || $(MKDIR_P) "$(DESTDIR)$(argtypesdir)"
57745
 
-       @list='$(argtypes_PYTHON)'; dlist=''; for p in $$list; do\
57746
 
+       @list='$(argtypes_PYTHON)'; dlist=; list2=; test -n "$(argtypesdir)" || list=; \
57747
 
+       for p in $$list; do \
57748
 
          if test -f "$$p"; then b=; else b="$(srcdir)/"; fi; \
57749
 
          if test -f $$b$$p; then \
57750
 
-           f=$(am__strip_dir) \
57751
 
+           $(am__strip_dir) \
57752
 
            dlist="$$dlist $$f"; \
57753
 
-           echo " $(argtypesPYTHON_INSTALL) '$$b$$p' '$(DESTDIR)$(argtypesdir)/$$f'"; \
57754
 
-           $(argtypesPYTHON_INSTALL) "$$b$$p" "$(DESTDIR)$(argtypesdir)/$$f"; \
57755
 
+           list2="$$list2 $$b$$p"; \
57756
 
          else :; fi; \
57757
 
        done; \
57758
 
+       for file in $$list2; do echo $$file; done | $(am__base_list) | \
57759
 
+       while read files; do \
57760
 
+         echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(argtypesdir)'"; \
57761
 
+         $(INSTALL_DATA) $$files "$(DESTDIR)$(argtypesdir)" || exit $$?; \
57762
 
+       done || exit $$?; \
57763
 
        if test -n "$$dlist"; then \
57764
 
          if test -z "$(DESTDIR)"; then \
57765
 
            PYTHON=$(PYTHON) $(py_compile) --basedir "$(argtypesdir)" $$dlist; \
57766
 
@@ -433,77 +462,91 @@ install-argtypesPYTHON: $(argtypes_PYTHO
57767
 
 
57768
 
 uninstall-argtypesPYTHON:
57769
 
        @$(NORMAL_UNINSTALL)
57770
 
-       @list='$(argtypes_PYTHON)'; dlist=''; for p in $$list; do\
57771
 
-         f=$(am__strip_dir) \
57772
 
-         rm -f "$(DESTDIR)$(argtypesdir)/$$f"; \
57773
 
-         rm -f "$(DESTDIR)$(argtypesdir)/$${f}c"; \
57774
 
-         rm -f "$(DESTDIR)$(argtypesdir)/$${f}o"; \
57775
 
-       done
57776
 
+       @list='$(argtypes_PYTHON)'; test -n "$(argtypesdir)" || list=; \
57777
 
+       files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
57778
 
+       test -n "$$files" || exit 0; \
57779
 
+       filesc=`echo "$$files" | sed 's|$$|c|'`; \
57780
 
+       fileso=`echo "$$files" | sed 's|$$|o|'`; \
57781
 
+       echo " ( cd '$(DESTDIR)$(argtypesdir)' && rm -f" $$files ")"; \
57782
 
+       cd "$(DESTDIR)$(argtypesdir)" && rm -f $$files || exit $$?; \
57783
 
+       echo " ( cd '$(DESTDIR)$(argtypesdir)' && rm -f" $$filesc ")"; \
57784
 
+       cd "$(DESTDIR)$(argtypesdir)" && rm -f $$filesc || exit $$?; \
57785
 
+       echo " ( cd '$(DESTDIR)$(argtypesdir)' && rm -f" $$fileso ")"; \
57786
 
+       cd "$(DESTDIR)$(argtypesdir)" && rm -f $$fileso
57787
 
 install-defsDATA: $(defs_DATA)
57788
 
        @$(NORMAL_INSTALL)
57789
 
        test -z "$(defsdir)" || $(MKDIR_P) "$(DESTDIR)$(defsdir)"
57790
 
-       @list='$(defs_DATA)'; for p in $$list; do \
57791
 
+       @list='$(defs_DATA)'; test -n "$(defsdir)" || list=; \
57792
 
+       for p in $$list; do \
57793
 
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
57794
 
-         f=$(am__strip_dir) \
57795
 
-         echo " $(defsDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(defsdir)/$$f'"; \
57796
 
-         $(defsDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(defsdir)/$$f"; \
57797
 
+         echo "$$d$$p"; \
57798
 
+       done | $(am__base_list) | \
57799
 
+       while read files; do \
57800
 
+         echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(defsdir)'"; \
57801
 
+         $(INSTALL_DATA) $$files "$(DESTDIR)$(defsdir)" || exit $$?; \
57802
 
        done
57803
 
 
57804
 
 uninstall-defsDATA:
57805
 
        @$(NORMAL_UNINSTALL)
57806
 
-       @list='$(defs_DATA)'; for p in $$list; do \
57807
 
-         f=$(am__strip_dir) \
57808
 
-         echo " rm -f '$(DESTDIR)$(defsdir)/$$f'"; \
57809
 
-         rm -f "$(DESTDIR)$(defsdir)/$$f"; \
57810
 
-       done
57811
 
+       @list='$(defs_DATA)'; test -n "$(defsdir)" || list=; \
57812
 
+       files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
57813
 
+       test -n "$$files" || exit 0; \
57814
 
+       echo " ( cd '$(DESTDIR)$(defsdir)' && rm -f" $$files ")"; \
57815
 
+       cd "$(DESTDIR)$(defsdir)" && rm -f $$files
57816
 
 install-pkgconfigDATA: $(pkgconfig_DATA)
57817
 
        @$(NORMAL_INSTALL)
57818
 
        test -z "$(pkgconfigdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)"
57819
 
-       @list='$(pkgconfig_DATA)'; for p in $$list; do \
57820
 
+       @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
57821
 
+       for p in $$list; do \
57822
 
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
57823
 
-         f=$(am__strip_dir) \
57824
 
-         echo " $(pkgconfigDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgconfigdir)/$$f'"; \
57825
 
-         $(pkgconfigDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgconfigdir)/$$f"; \
57826
 
+         echo "$$d$$p"; \
57827
 
+       done | $(am__base_list) | \
57828
 
+       while read files; do \
57829
 
+         echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \
57830
 
+         $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \
57831
 
        done
57832
 
 
57833
 
 uninstall-pkgconfigDATA:
57834
 
        @$(NORMAL_UNINSTALL)
57835
 
-       @list='$(pkgconfig_DATA)'; for p in $$list; do \
57836
 
-         f=$(am__strip_dir) \
57837
 
-         echo " rm -f '$(DESTDIR)$(pkgconfigdir)/$$f'"; \
57838
 
-         rm -f "$(DESTDIR)$(pkgconfigdir)/$$f"; \
57839
 
-       done
57840
 
+       @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
57841
 
+       files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
57842
 
+       test -n "$$files" || exit 0; \
57843
 
+       echo " ( cd '$(DESTDIR)$(pkgconfigdir)' && rm -f" $$files ")"; \
57844
 
+       cd "$(DESTDIR)$(pkgconfigdir)" && rm -f $$files
57845
 
 install-pkgincludeHEADERS: $(pkginclude_HEADERS)
57846
 
        @$(NORMAL_INSTALL)
57847
 
        test -z "$(pkgincludedir)" || $(MKDIR_P) "$(DESTDIR)$(pkgincludedir)"
57848
 
-       @list='$(pkginclude_HEADERS)'; for p in $$list; do \
57849
 
+       @list='$(pkginclude_HEADERS)'; test -n "$(pkgincludedir)" || list=; \
57850
 
+       for p in $$list; do \
57851
 
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
57852
 
-         f=$(am__strip_dir) \
57853
 
-         echo " $(pkgincludeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgincludedir)/$$f'"; \
57854
 
-         $(pkgincludeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgincludedir)/$$f"; \
57855
 
+         echo "$$d$$p"; \
57856
 
+       done | $(am__base_list) | \
57857
 
+       while read files; do \
57858
 
+         echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(pkgincludedir)'"; \
57859
 
+         $(INSTALL_HEADER) $$files "$(DESTDIR)$(pkgincludedir)" || exit $$?; \
57860
 
        done
57861
 
 
57862
 
 uninstall-pkgincludeHEADERS:
57863
 
        @$(NORMAL_UNINSTALL)
57864
 
-       @list='$(pkginclude_HEADERS)'; for p in $$list; do \
57865
 
-         f=$(am__strip_dir) \
57866
 
-         echo " rm -f '$(DESTDIR)$(pkgincludedir)/$$f'"; \
57867
 
-         rm -f "$(DESTDIR)$(pkgincludedir)/$$f"; \
57868
 
-       done
57869
 
+       @list='$(pkginclude_HEADERS)'; test -n "$(pkgincludedir)" || list=; \
57870
 
+       files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
57871
 
+       test -n "$$files" || exit 0; \
57872
 
+       echo " ( cd '$(DESTDIR)$(pkgincludedir)' && rm -f" $$files ")"; \
57873
 
+       cd "$(DESTDIR)$(pkgincludedir)" && rm -f $$files
57874
 
 
57875
 
 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
57876
 
        list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
57877
 
        unique=`for i in $$list; do \
57878
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
57879
 
          done | \
57880
 
-         $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
57881
 
+         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
57882
 
              END { if (nonempty) { for (i in files) print i; }; }'`; \
57883
 
        mkid -fID $$unique
57884
 
 tags: TAGS
57885
 
 
57886
 
 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
57887
 
                $(TAGS_FILES) $(LISP)
57888
 
-       tags=; \
57889
 
+       set x; \
57890
 
        here=`pwd`; \
57891
 
        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
57892
 
        unique=`for i in $$list; do \
57893
 
@@ -511,29 +554,34 @@ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEP
57894
 
          done | \
57895
 
          $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
57896
 
              END { if (nonempty) { for (i in files) print i; }; }'`; \
57897
 
-       if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
57898
 
+       shift; \
57899
 
+       if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
57900
 
          test -n "$$unique" || unique=$$empty_fix; \
57901
 
-         $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
57902
 
-           $$tags $$unique; \
57903
 
+         if test $$# -gt 0; then \
57904
 
+           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
57905
 
+             "$$@" $$unique; \
57906
 
+         else \
57907
 
+           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
57908
 
+             $$unique; \
57909
 
+         fi; \
57910
 
        fi
57911
 
 ctags: CTAGS
57912
 
 CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
57913
 
                $(TAGS_FILES) $(LISP)
57914
 
-       tags=; \
57915
 
        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
57916
 
        unique=`for i in $$list; do \
57917
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
57918
 
          done | \
57919
 
          $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
57920
 
              END { if (nonempty) { for (i in files) print i; }; }'`; \
57921
 
-       test -z "$(CTAGS_ARGS)$$tags$$unique" \
57922
 
+       test -z "$(CTAGS_ARGS)$$unique" \
57923
 
          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
57924
 
-            $$tags $$unique
57925
 
+            $$unique
57926
 
 
57927
 
 GTAGS:
57928
 
        here=`$(am__cd) $(top_builddir) && pwd` \
57929
 
-         && cd $(top_srcdir) \
57930
 
-         && gtags -i $(GTAGS_ARGS) $$here
57931
 
+         && $(am__cd) $(top_srcdir) \
57932
 
+         && gtags -i $(GTAGS_ARGS) "$$here"
57933
 
 
57934
 
 distclean-tags:
57935
 
        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
57936
 
@@ -554,13 +602,17 @@ distdir: $(DISTFILES)
57937
 
          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
57938
 
          if test -d $$d/$$file; then \
57939
 
            dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
57940
 
+           if test -d "$(distdir)/$$file"; then \
57941
 
+             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
57942
 
+           fi; \
57943
 
            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
57944
 
-             cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
57945
 
+             cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
57946
 
+             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
57947
 
            fi; \
57948
 
-           cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
57949
 
+           cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
57950
 
          else \
57951
 
-           test -f $(distdir)/$$file \
57952
 
-           || cp -p $$d/$$file $(distdir)/$$file \
57953
 
+           test -f "$(distdir)/$$file" \
57954
 
+           || cp -p $$d/$$file "$(distdir)/$$file" \
57955
 
            || exit 1; \
57956
 
          fi; \
57957
 
        done
57958
 
@@ -592,6 +644,7 @@ clean-generic:
57959
 
 
57960
 
 distclean-generic:
57961
 
        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
57962
 
+       -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
57963
 
 
57964
 
 maintainer-clean-generic:
57965
 
        @echo "This command is intended for maintainers to use"
57966
 
@@ -614,6 +667,8 @@ dvi-am:
57967
 
 
57968
 
 html: html-am
57969
 
 
57970
 
+html-am:
57971
 
+
57972
 
 info: info-am
57973
 
 
57974
 
 info-am:
57975
 
@@ -623,20 +678,29 @@ install-data-am: install-argtypesPYTHON 
57976
 
 
57977
 
 install-dvi: install-dvi-am
57978
 
 
57979
 
+install-dvi-am:
57980
 
+
57981
 
 install-exec-am: install-pkgpyexecLTLIBRARIES
57982
 
        @$(NORMAL_INSTALL)
57983
 
        $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
57984
 
-
57985
 
 install-html: install-html-am
57986
 
 
57987
 
+install-html-am:
57988
 
+
57989
 
 install-info: install-info-am
57990
 
 
57991
 
+install-info-am:
57992
 
+
57993
 
 install-man:
57994
 
 
57995
 
 install-pdf: install-pdf-am
57996
 
 
57997
 
+install-pdf-am:
57998
 
+
57999
 
 install-ps: install-ps-am
58000
 
 
58001
 
+install-ps-am:
58002
 
+
58003
 
 installcheck-am:
58004
 
 
58005
 
 maintainer-clean: maintainer-clean-am
58006
 
@@ -699,6 +763,7 @@ gda.c: gda.defs gda.override $(argtypes_
58007
 
 # python to find them, and libtool only creates .dll.
58008
 
 @PLATFORM_WIN32_TRUE@install-exec-hook:
58009
 
 @PLATFORM_WIN32_TRUE@  mv $(pkgpyexecdir)/gda.dll $(pkgpyexecdir)/gda.pyd
58010
 
+
58011
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
58012
 
 # Otherwise a system limit (for SysV at least) may be exceeded.
58013
 
 .NOEXPORT:
58014
 
diff -Nurp gnome-python-extras-2.25.3.orig/gdl/Makefile.in gnome-python-extras-2.25.3/gdl/Makefile.in
58015
 
--- gnome-python-extras-2.25.3.orig/gdl/Makefile.in     2009-02-15 22:21:02.000000000 +0000
58016
 
+++ gnome-python-extras-2.25.3/gdl/Makefile.in  2009-12-15 01:42:17.190347943 +0000
58017
 
@@ -1,8 +1,9 @@
58018
 
-# Makefile.in generated by automake 1.10.1 from Makefile.am.
58019
 
+# Makefile.in generated by automake 1.11 from Makefile.am.
58020
 
 # @configure_input@
58021
 
 
58022
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
58023
 
-# 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
58024
 
+# 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
58025
 
+# Inc.
58026
 
 # This Makefile.in is free software; the Free Software Foundation
58027
 
 # gives unlimited permission to copy and/or distribute it,
58028
 
 # with or without modifications, as long as this notice is preserved.
58029
 
@@ -16,8 +17,9 @@
58030
 
 
58031
 
 VPATH = @srcdir@
58032
 
 pkgdatadir = $(datadir)/@PACKAGE@
58033
 
-pkglibdir = $(libdir)/@PACKAGE@
58034
 
 pkgincludedir = $(includedir)/@PACKAGE@
58035
 
+pkglibdir = $(libdir)/@PACKAGE@
58036
 
+pkglibexecdir = $(libexecdir)/@PACKAGE@
58037
 
 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
58038
 
 install_sh_DATA = $(install_sh) -c -m 644
58039
 
 install_sh_PROGRAM = $(install_sh) -c
58040
 
@@ -42,14 +44,29 @@ am__configure_deps = $(am__aclocal_m4_de
58041
 
 mkinstalldirs = $(install_sh) -d
58042
 
 CONFIG_HEADER = $(top_builddir)/config.h
58043
 
 CONFIG_CLEAN_FILES =
58044
 
+CONFIG_CLEAN_VPATH_FILES =
58045
 
 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
58046
 
 am__vpath_adj = case $$p in \
58047
 
     $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
58048
 
     *) f=$$p;; \
58049
 
   esac;
58050
 
-am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
58051
 
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
58052
 
+am__install_max = 40
58053
 
+am__nobase_strip_setup = \
58054
 
+  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
58055
 
+am__nobase_strip = \
58056
 
+  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
58057
 
+am__nobase_list = $(am__nobase_strip_setup); \
58058
 
+  for p in $$list; do echo "$$p $$p"; done | \
58059
 
+  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
58060
 
+  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
58061
 
+    if (++n[$$2] == $(am__install_max)) \
58062
 
+      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
58063
 
+    END { for (dir in files) print dir, files[dir] }'
58064
 
+am__base_list = \
58065
 
+  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
58066
 
+  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
58067
 
 am__installdirs = "$(DESTDIR)$(pkgpyexecdir)"
58068
 
-pkgpyexecLTLIBRARIES_INSTALL = $(INSTALL)
58069
 
 LTLIBRARIES = $(pkgpyexec_LTLIBRARIES)
58070
 
 am__DEPENDENCIES_1 =
58071
 
 gdl_la_DEPENDENCIES = $(am__DEPENDENCIES_1)
58072
 
@@ -62,6 +79,7 @@ gdl_la_LINK = $(LIBTOOL) --tag=CC $(AM_L
58073
 
 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
58074
 
 depcomp = $(SHELL) $(top_srcdir)/depcomp
58075
 
 am__depfiles_maybe = depfiles
58076
 
+am__mv = mv -f
58077
 
 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
58078
 
        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
58079
 
 LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
58080
 
@@ -99,7 +117,7 @@ DEFS = @DEFS@
58081
 
 DEPDIR = @DEPDIR@
58082
 
 DLLTOOL = @DLLTOOL@
58083
 
 DSYMUTIL = @DSYMUTIL@
58084
 
-ECHO = @ECHO@
58085
 
+DUMPBIN = @DUMPBIN@
58086
 
 ECHO_C = @ECHO_C@
58087
 
 ECHO_N = @ECHO_N@
58088
 
 ECHO_T = @ECHO_T@
58089
 
@@ -109,8 +127,7 @@ EGG_RECENT_CFLAGS = @EGG_RECENT_CFLAGS@
58090
 
 EGG_RECENT_LIBS = @EGG_RECENT_LIBS@
58091
 
 EGREP = @EGREP@
58092
 
 EXEEXT = @EXEEXT@
58093
 
-F77 = @F77@
58094
 
-FFLAGS = @FFLAGS@
58095
 
+FGREP = @FGREP@
58096
 
 GDA_CFLAGS = @GDA_CFLAGS@
58097
 
 GDA_LIBS = @GDA_LIBS@
58098
 
 GDL_CFLAGS = @GDL_CFLAGS@
58099
 
@@ -143,23 +160,30 @@ INSTALL_DATA = @INSTALL_DATA@
58100
 
 INSTALL_PROGRAM = @INSTALL_PROGRAM@
58101
 
 INSTALL_SCRIPT = @INSTALL_SCRIPT@
58102
 
 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
58103
 
+LD = @LD@
58104
 
 LDFLAGS = @LDFLAGS@
58105
 
 LIBOBJS = @LIBOBJS@
58106
 
 LIBS = @LIBS@
58107
 
 LIBTOOL = @LIBTOOL@
58108
 
+LIPO = @LIPO@
58109
 
 LN_S = @LN_S@
58110
 
 LTLIBOBJS = @LTLIBOBJS@
58111
 
+MAINT = @MAINT@
58112
 
 MAKEINFO = @MAKEINFO@
58113
 
 MKDIR_P = @MKDIR_P@
58114
 
 MOZILLA_HOME = @MOZILLA_HOME@
58115
 
+NM = @NM@
58116
 
 NMEDIT = @NMEDIT@
58117
 
 OBJDUMP = @OBJDUMP@
58118
 
 OBJEXT = @OBJEXT@
58119
 
+OTOOL = @OTOOL@
58120
 
+OTOOL64 = @OTOOL64@
58121
 
 PACKAGE = @PACKAGE@
58122
 
 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
58123
 
 PACKAGE_NAME = @PACKAGE_NAME@
58124
 
 PACKAGE_STRING = @PACKAGE_STRING@
58125
 
 PACKAGE_TARNAME = @PACKAGE_TARNAME@
58126
 
+PACKAGE_URL = @PACKAGE_URL@
58127
 
 PACKAGE_VERSION = @PACKAGE_VERSION@
58128
 
 PATH_SEPARATOR = @PATH_SEPARATOR@
58129
 
 PKG_CONFIG = @PKG_CONFIG@
58130
 
@@ -186,15 +210,13 @@ SHELL = @SHELL@
58131
 
 STRIP = @STRIP@
58132
 
 VERSION = @VERSION@
58133
 
 XSLTPROC = @XSLTPROC@
58134
 
-XUL19_CFLAGS = @XUL19_CFLAGS@
58135
 
-XUL19_LIBS = @XUL19_LIBS@
58136
 
 abs_builddir = @abs_builddir@
58137
 
 abs_srcdir = @abs_srcdir@
58138
 
 abs_top_builddir = @abs_top_builddir@
58139
 
 abs_top_srcdir = @abs_top_srcdir@
58140
 
 ac_ct_CC = @ac_ct_CC@
58141
 
 ac_ct_CXX = @ac_ct_CXX@
58142
 
-ac_ct_F77 = @ac_ct_F77@
58143
 
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
58144
 
 am__include = @am__include@
58145
 
 am__leading_dot = @am__leading_dot@
58146
 
 am__quote = @am__quote@
58147
 
@@ -225,6 +247,7 @@ libdir = @libdir@
58148
 
 libexecdir = @libexecdir@
58149
 
 localedir = @localedir@
58150
 
 localstatedir = @localstatedir@
58151
 
+lt_ECHO = @lt_ECHO@
58152
 
 mandir = @mandir@
58153
 
 mkdir_p = @mkdir_p@
58154
 
 oldincludedir = @oldincludedir@
58155
 
@@ -259,18 +282,18 @@ all: all-am
58156
 
 
58157
 
 .SUFFIXES:
58158
 
 .SUFFIXES: .c .defs .lo .o .obj
58159
 
-$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
58160
 
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
58161
 
        @for dep in $?; do \
58162
 
          case '$(am__configure_deps)' in \
58163
 
            *$$dep*) \
58164
 
-             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
58165
 
-               && exit 0; \
58166
 
+             ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
58167
 
+               && { if test -f $@; then exit 0; else break; fi; }; \
58168
 
              exit 1;; \
58169
 
          esac; \
58170
 
        done; \
58171
 
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  gdl/Makefile'; \
58172
 
-       cd $(top_srcdir) && \
58173
 
-         $(AUTOMAKE) --gnu  gdl/Makefile
58174
 
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu gdl/Makefile'; \
58175
 
+       $(am__cd) $(top_srcdir) && \
58176
 
+         $(AUTOMAKE) --gnu gdl/Makefile
58177
 
 .PRECIOUS: Makefile
58178
 
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
58179
 
        @case '$?' in \
58180
 
@@ -284,27 +307,32 @@ Makefile: $(srcdir)/Makefile.in $(top_bu
58181
 
 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
58182
 
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
58183
 
 
58184
 
-$(top_srcdir)/configure:  $(am__configure_deps)
58185
 
+$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
58186
 
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
58187
 
-$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
58188
 
+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
58189
 
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
58190
 
+$(am__aclocal_m4_deps):
58191
 
 install-pkgpyexecLTLIBRARIES: $(pkgpyexec_LTLIBRARIES)
58192
 
        @$(NORMAL_INSTALL)
58193
 
        test -z "$(pkgpyexecdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgpyexecdir)"
58194
 
-       @list='$(pkgpyexec_LTLIBRARIES)'; for p in $$list; do \
58195
 
+       @list='$(pkgpyexec_LTLIBRARIES)'; test -n "$(pkgpyexecdir)" || list=; \
58196
 
+       list2=; for p in $$list; do \
58197
 
          if test -f $$p; then \
58198
 
-           f=$(am__strip_dir) \
58199
 
-           echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(pkgpyexecLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(pkgpyexecdir)/$$f'"; \
58200
 
-           $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(pkgpyexecLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(pkgpyexecdir)/$$f"; \
58201
 
+           list2="$$list2 $$p"; \
58202
 
          else :; fi; \
58203
 
-       done
58204
 
+       done; \
58205
 
+       test -z "$$list2" || { \
58206
 
+         echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pkgpyexecdir)'"; \
58207
 
+         $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pkgpyexecdir)"; \
58208
 
+       }
58209
 
 
58210
 
 uninstall-pkgpyexecLTLIBRARIES:
58211
 
        @$(NORMAL_UNINSTALL)
58212
 
-       @list='$(pkgpyexec_LTLIBRARIES)'; for p in $$list; do \
58213
 
-         p=$(am__strip_dir) \
58214
 
-         echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pkgpyexecdir)/$$p'"; \
58215
 
-         $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pkgpyexecdir)/$$p"; \
58216
 
+       @list='$(pkgpyexec_LTLIBRARIES)'; test -n "$(pkgpyexecdir)" || list=; \
58217
 
+       for p in $$list; do \
58218
 
+         $(am__strip_dir) \
58219
 
+         echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pkgpyexecdir)/$$f'"; \
58220
 
+         $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pkgpyexecdir)/$$f"; \
58221
 
        done
58222
 
 
58223
 
 clean-pkgpyexecLTLIBRARIES:
58224
 
@@ -329,21 +357,21 @@ distclean-compile:
58225
 
 
58226
 
 .c.o:
58227
 
 @am__fastdepCC_TRUE@   $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
58228
 
-@am__fastdepCC_TRUE@   mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
58229
 
+@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
58230
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
58231
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
58232
 
 @am__fastdepCC_FALSE@  $(COMPILE) -c $<
58233
 
 
58234
 
 .c.obj:
58235
 
 @am__fastdepCC_TRUE@   $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
58236
 
-@am__fastdepCC_TRUE@   mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
58237
 
+@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
58238
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
58239
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
58240
 
 @am__fastdepCC_FALSE@  $(COMPILE) -c `$(CYGPATH_W) '$<'`
58241
 
 
58242
 
 .c.lo:
58243
 
 @am__fastdepCC_TRUE@   $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
58244
 
-@am__fastdepCC_TRUE@   mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
58245
 
+@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
58246
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
58247
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
58248
 
 @am__fastdepCC_FALSE@  $(LTCOMPILE) -c -o $@ $<
58249
 
@@ -359,14 +387,14 @@ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS
58250
 
        unique=`for i in $$list; do \
58251
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
58252
 
          done | \
58253
 
-         $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
58254
 
+         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
58255
 
              END { if (nonempty) { for (i in files) print i; }; }'`; \
58256
 
        mkid -fID $$unique
58257
 
 tags: TAGS
58258
 
 
58259
 
 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
58260
 
                $(TAGS_FILES) $(LISP)
58261
 
-       tags=; \
58262
 
+       set x; \
58263
 
        here=`pwd`; \
58264
 
        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
58265
 
        unique=`for i in $$list; do \
58266
 
@@ -374,29 +402,34 @@ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEP
58267
 
          done | \
58268
 
          $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
58269
 
              END { if (nonempty) { for (i in files) print i; }; }'`; \
58270
 
-       if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
58271
 
+       shift; \
58272
 
+       if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
58273
 
          test -n "$$unique" || unique=$$empty_fix; \
58274
 
-         $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
58275
 
-           $$tags $$unique; \
58276
 
+         if test $$# -gt 0; then \
58277
 
+           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
58278
 
+             "$$@" $$unique; \
58279
 
+         else \
58280
 
+           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
58281
 
+             $$unique; \
58282
 
+         fi; \
58283
 
        fi
58284
 
 ctags: CTAGS
58285
 
 CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
58286
 
                $(TAGS_FILES) $(LISP)
58287
 
-       tags=; \
58288
 
        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
58289
 
        unique=`for i in $$list; do \
58290
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
58291
 
          done | \
58292
 
          $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
58293
 
              END { if (nonempty) { for (i in files) print i; }; }'`; \
58294
 
-       test -z "$(CTAGS_ARGS)$$tags$$unique" \
58295
 
+       test -z "$(CTAGS_ARGS)$$unique" \
58296
 
          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
58297
 
-            $$tags $$unique
58298
 
+            $$unique
58299
 
 
58300
 
 GTAGS:
58301
 
        here=`$(am__cd) $(top_builddir) && pwd` \
58302
 
-         && cd $(top_srcdir) \
58303
 
-         && gtags -i $(GTAGS_ARGS) $$here
58304
 
+         && $(am__cd) $(top_srcdir) \
58305
 
+         && gtags -i $(GTAGS_ARGS) "$$here"
58306
 
 
58307
 
 distclean-tags:
58308
 
        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
58309
 
@@ -417,13 +450,17 @@ distdir: $(DISTFILES)
58310
 
          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
58311
 
          if test -d $$d/$$file; then \
58312
 
            dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
58313
 
+           if test -d "$(distdir)/$$file"; then \
58314
 
+             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
58315
 
+           fi; \
58316
 
            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
58317
 
-             cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
58318
 
+             cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
58319
 
+             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
58320
 
            fi; \
58321
 
-           cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
58322
 
+           cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
58323
 
          else \
58324
 
-           test -f $(distdir)/$$file \
58325
 
-           || cp -p $$d/$$file $(distdir)/$$file \
58326
 
+           test -f "$(distdir)/$$file" \
58327
 
+           || cp -p $$d/$$file "$(distdir)/$$file" \
58328
 
            || exit 1; \
58329
 
          fi; \
58330
 
        done
58331
 
@@ -455,6 +492,7 @@ clean-generic:
58332
 
 
58333
 
 distclean-generic:
58334
 
        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
58335
 
+       -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
58336
 
 
58337
 
 maintainer-clean-generic:
58338
 
        @echo "This command is intended for maintainers to use"
58339
 
@@ -476,6 +514,8 @@ dvi-am:
58340
 
 
58341
 
 html: html-am
58342
 
 
58343
 
+html-am:
58344
 
+
58345
 
 info: info-am
58346
 
 
58347
 
 info-am:
58348
 
@@ -484,18 +524,28 @@ install-data-am:
58349
 
 
58350
 
 install-dvi: install-dvi-am
58351
 
 
58352
 
+install-dvi-am:
58353
 
+
58354
 
 install-exec-am: install-pkgpyexecLTLIBRARIES
58355
 
 
58356
 
 install-html: install-html-am
58357
 
 
58358
 
+install-html-am:
58359
 
+
58360
 
 install-info: install-info-am
58361
 
 
58362
 
+install-info-am:
58363
 
+
58364
 
 install-man:
58365
 
 
58366
 
 install-pdf: install-pdf-am
58367
 
 
58368
 
+install-pdf-am:
58369
 
+
58370
 
 install-ps: install-ps-am
58371
 
 
58372
 
+install-ps-am:
58373
 
+
58374
 
 installcheck-am:
58375
 
 
58376
 
 maintainer-clean: maintainer-clean-am
58377
 
@@ -547,6 +597,7 @@ gdl.c: gdl.defs gdl.override
58378
 
                --prefix py$* $*.defs) > gen-$*.c \
58379
 
            && cp gen-$*.c $*.c \
58380
 
            && rm -f gen-$*.c
58381
 
+
58382
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
58383
 
 # Otherwise a system limit (for SysV at least) may be exceeded.
58384
 
 .NOEXPORT:
58385
 
diff -Nurp gnome-python-extras-2.25.3.orig/gksu/Makefile.in gnome-python-extras-2.25.3/gksu/Makefile.in
58386
 
--- gnome-python-extras-2.25.3.orig/gksu/Makefile.in    2009-02-15 22:21:02.000000000 +0000
58387
 
+++ gnome-python-extras-2.25.3/gksu/Makefile.in 2009-12-15 01:42:17.310346528 +0000
58388
 
@@ -1,8 +1,9 @@
58389
 
-# Makefile.in generated by automake 1.10.1 from Makefile.am.
58390
 
+# Makefile.in generated by automake 1.11 from Makefile.am.
58391
 
 # @configure_input@
58392
 
 
58393
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
58394
 
-# 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
58395
 
+# 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
58396
 
+# Inc.
58397
 
 # This Makefile.in is free software; the Free Software Foundation
58398
 
 # gives unlimited permission to copy and/or distribute it,
58399
 
 # with or without modifications, as long as this notice is preserved.
58400
 
@@ -16,8 +17,9 @@
58401
 
 
58402
 
 VPATH = @srcdir@
58403
 
 pkgdatadir = $(datadir)/@PACKAGE@
58404
 
-pkglibdir = $(libdir)/@PACKAGE@
58405
 
 pkgincludedir = $(includedir)/@PACKAGE@
58406
 
+pkglibdir = $(libdir)/@PACKAGE@
58407
 
+pkglibexecdir = $(libexecdir)/@PACKAGE@
58408
 
 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
58409
 
 install_sh_DATA = $(install_sh) -c -m 644
58410
 
 install_sh_PROGRAM = $(install_sh) -c
58411
 
@@ -45,14 +47,29 @@ am__configure_deps = $(am__aclocal_m4_de
58412
 
 mkinstalldirs = $(install_sh) -d
58413
 
 CONFIG_HEADER = $(top_builddir)/config.h
58414
 
 CONFIG_CLEAN_FILES =
58415
 
+CONFIG_CLEAN_VPATH_FILES =
58416
 
 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
58417
 
 am__vpath_adj = case $$p in \
58418
 
     $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
58419
 
     *) f=$$p;; \
58420
 
   esac;
58421
 
-am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
58422
 
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
58423
 
+am__install_max = 40
58424
 
+am__nobase_strip_setup = \
58425
 
+  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
58426
 
+am__nobase_strip = \
58427
 
+  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
58428
 
+am__nobase_list = $(am__nobase_strip_setup); \
58429
 
+  for p in $$list; do echo "$$p $$p"; done | \
58430
 
+  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
58431
 
+  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
58432
 
+    if (++n[$$2] == $(am__install_max)) \
58433
 
+      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
58434
 
+    END { for (dir in files) print dir, files[dir] }'
58435
 
+am__base_list = \
58436
 
+  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
58437
 
+  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
58438
 
 am__installdirs = "$(DESTDIR)$(gksudir)" "$(DESTDIR)$(gksudir)"
58439
 
-gksuLTLIBRARIES_INSTALL = $(INSTALL)
58440
 
 LTLIBRARIES = $(gksu_LTLIBRARIES)
58441
 
 am__DEPENDENCIES_1 =
58442
 
 _gksu_la_DEPENDENCIES = $(am__DEPENDENCIES_1)
58443
 
@@ -74,6 +91,7 @@ ui_la_LINK = $(LIBTOOL) --tag=CC $(AM_LI
58444
 
 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
58445
 
 depcomp = $(SHELL) $(top_srcdir)/depcomp
58446
 
 am__depfiles_maybe = depfiles
58447
 
+am__mv = mv -f
58448
 
 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
58449
 
        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
58450
 
 LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
58451
 
@@ -86,7 +104,6 @@ LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLF
58452
 
 SOURCES = $(_gksu_la_SOURCES) $(nodist__gksu_la_SOURCES) \
58453
 
        $(ui_la_SOURCES) $(nodist_ui_la_SOURCES)
58454
 
 DIST_SOURCES = $(_gksu_la_SOURCES) $(ui_la_SOURCES)
58455
 
-gksuPYTHON_INSTALL = $(INSTALL_DATA)
58456
 
 py_compile = $(top_srcdir)/py-compile
58457
 
 ETAGS = etags
58458
 
 CTAGS = ctags
58459
 
@@ -114,7 +131,7 @@ DEFS = @DEFS@
58460
 
 DEPDIR = @DEPDIR@
58461
 
 DLLTOOL = @DLLTOOL@
58462
 
 DSYMUTIL = @DSYMUTIL@
58463
 
-ECHO = @ECHO@
58464
 
+DUMPBIN = @DUMPBIN@
58465
 
 ECHO_C = @ECHO_C@
58466
 
 ECHO_N = @ECHO_N@
58467
 
 ECHO_T = @ECHO_T@
58468
 
@@ -124,8 +141,7 @@ EGG_RECENT_CFLAGS = @EGG_RECENT_CFLAGS@
58469
 
 EGG_RECENT_LIBS = @EGG_RECENT_LIBS@
58470
 
 EGREP = @EGREP@
58471
 
 EXEEXT = @EXEEXT@
58472
 
-F77 = @F77@
58473
 
-FFLAGS = @FFLAGS@
58474
 
+FGREP = @FGREP@
58475
 
 GDA_CFLAGS = @GDA_CFLAGS@
58476
 
 GDA_LIBS = @GDA_LIBS@
58477
 
 GDL_CFLAGS = @GDL_CFLAGS@
58478
 
@@ -158,23 +174,30 @@ INSTALL_DATA = @INSTALL_DATA@
58479
 
 INSTALL_PROGRAM = @INSTALL_PROGRAM@
58480
 
 INSTALL_SCRIPT = @INSTALL_SCRIPT@
58481
 
 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
58482
 
+LD = @LD@
58483
 
 LDFLAGS = @LDFLAGS@
58484
 
 LIBOBJS = @LIBOBJS@
58485
 
 LIBS = @LIBS@
58486
 
 LIBTOOL = @LIBTOOL@
58487
 
+LIPO = @LIPO@
58488
 
 LN_S = @LN_S@
58489
 
 LTLIBOBJS = @LTLIBOBJS@
58490
 
+MAINT = @MAINT@
58491
 
 MAKEINFO = @MAKEINFO@
58492
 
 MKDIR_P = @MKDIR_P@
58493
 
 MOZILLA_HOME = @MOZILLA_HOME@
58494
 
+NM = @NM@
58495
 
 NMEDIT = @NMEDIT@
58496
 
 OBJDUMP = @OBJDUMP@
58497
 
 OBJEXT = @OBJEXT@
58498
 
+OTOOL = @OTOOL@
58499
 
+OTOOL64 = @OTOOL64@
58500
 
 PACKAGE = @PACKAGE@
58501
 
 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
58502
 
 PACKAGE_NAME = @PACKAGE_NAME@
58503
 
 PACKAGE_STRING = @PACKAGE_STRING@
58504
 
 PACKAGE_TARNAME = @PACKAGE_TARNAME@
58505
 
+PACKAGE_URL = @PACKAGE_URL@
58506
 
 PACKAGE_VERSION = @PACKAGE_VERSION@
58507
 
 PATH_SEPARATOR = @PATH_SEPARATOR@
58508
 
 PKG_CONFIG = @PKG_CONFIG@
58509
 
@@ -201,15 +224,13 @@ SHELL = @SHELL@
58510
 
 STRIP = @STRIP@
58511
 
 VERSION = @VERSION@
58512
 
 XSLTPROC = @XSLTPROC@
58513
 
-XUL19_CFLAGS = @XUL19_CFLAGS@
58514
 
-XUL19_LIBS = @XUL19_LIBS@
58515
 
 abs_builddir = @abs_builddir@
58516
 
 abs_srcdir = @abs_srcdir@
58517
 
 abs_top_builddir = @abs_top_builddir@
58518
 
 abs_top_srcdir = @abs_top_srcdir@
58519
 
 ac_ct_CC = @ac_ct_CC@
58520
 
 ac_ct_CXX = @ac_ct_CXX@
58521
 
-ac_ct_F77 = @ac_ct_F77@
58522
 
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
58523
 
 am__include = @am__include@
58524
 
 am__leading_dot = @am__leading_dot@
58525
 
 am__quote = @am__quote@
58526
 
@@ -240,6 +261,7 @@ libdir = @libdir@
58527
 
 libexecdir = @libexecdir@
58528
 
 localedir = @localedir@
58529
 
 localstatedir = @localstatedir@
58530
 
+lt_ECHO = @lt_ECHO@
58531
 
 mandir = @mandir@
58532
 
 mkdir_p = @mkdir_p@
58533
 
 oldincludedir = @oldincludedir@
58534
 
@@ -286,18 +308,18 @@ all: all-am
58535
 
 
58536
 
 .SUFFIXES:
58537
 
 .SUFFIXES: .c .defs .lo .o .obj
58538
 
-$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
58539
 
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
58540
 
        @for dep in $?; do \
58541
 
          case '$(am__configure_deps)' in \
58542
 
            *$$dep*) \
58543
 
-             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
58544
 
-               && exit 0; \
58545
 
+             ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
58546
 
+               && { if test -f $@; then exit 0; else break; fi; }; \
58547
 
              exit 1;; \
58548
 
          esac; \
58549
 
        done; \
58550
 
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  gksu/Makefile'; \
58551
 
-       cd $(top_srcdir) && \
58552
 
-         $(AUTOMAKE) --gnu  gksu/Makefile
58553
 
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu gksu/Makefile'; \
58554
 
+       $(am__cd) $(top_srcdir) && \
58555
 
+         $(AUTOMAKE) --gnu gksu/Makefile
58556
 
 .PRECIOUS: Makefile
58557
 
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
58558
 
        @case '$?' in \
58559
 
@@ -311,27 +333,32 @@ Makefile: $(srcdir)/Makefile.in $(top_bu
58560
 
 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
58561
 
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
58562
 
 
58563
 
-$(top_srcdir)/configure:  $(am__configure_deps)
58564
 
+$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
58565
 
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
58566
 
-$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
58567
 
+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
58568
 
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
58569
 
+$(am__aclocal_m4_deps):
58570
 
 install-gksuLTLIBRARIES: $(gksu_LTLIBRARIES)
58571
 
        @$(NORMAL_INSTALL)
58572
 
        test -z "$(gksudir)" || $(MKDIR_P) "$(DESTDIR)$(gksudir)"
58573
 
-       @list='$(gksu_LTLIBRARIES)'; for p in $$list; do \
58574
 
+       @list='$(gksu_LTLIBRARIES)'; test -n "$(gksudir)" || list=; \
58575
 
+       list2=; for p in $$list; do \
58576
 
          if test -f $$p; then \
58577
 
-           f=$(am__strip_dir) \
58578
 
-           echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(gksuLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(gksudir)/$$f'"; \
58579
 
-           $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(gksuLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(gksudir)/$$f"; \
58580
 
+           list2="$$list2 $$p"; \
58581
 
          else :; fi; \
58582
 
-       done
58583
 
+       done; \
58584
 
+       test -z "$$list2" || { \
58585
 
+         echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(gksudir)'"; \
58586
 
+         $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(gksudir)"; \
58587
 
+       }
58588
 
 
58589
 
 uninstall-gksuLTLIBRARIES:
58590
 
        @$(NORMAL_UNINSTALL)
58591
 
-       @list='$(gksu_LTLIBRARIES)'; for p in $$list; do \
58592
 
-         p=$(am__strip_dir) \
58593
 
-         echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(gksudir)/$$p'"; \
58594
 
-         $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(gksudir)/$$p"; \
58595
 
+       @list='$(gksu_LTLIBRARIES)'; test -n "$(gksudir)" || list=; \
58596
 
+       for p in $$list; do \
58597
 
+         $(am__strip_dir) \
58598
 
+         echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(gksudir)/$$f'"; \
58599
 
+         $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(gksudir)/$$f"; \
58600
 
        done
58601
 
 
58602
 
 clean-gksuLTLIBRARIES:
58603
 
@@ -360,52 +387,52 @@ distclean-compile:
58604
 
 
58605
 
 .c.o:
58606
 
 @am__fastdepCC_TRUE@   $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
58607
 
-@am__fastdepCC_TRUE@   mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
58608
 
+@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
58609
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
58610
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
58611
 
 @am__fastdepCC_FALSE@  $(COMPILE) -c $<
58612
 
 
58613
 
 .c.obj:
58614
 
 @am__fastdepCC_TRUE@   $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
58615
 
-@am__fastdepCC_TRUE@   mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
58616
 
+@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
58617
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
58618
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
58619
 
 @am__fastdepCC_FALSE@  $(COMPILE) -c `$(CYGPATH_W) '$<'`
58620
 
 
58621
 
 .c.lo:
58622
 
 @am__fastdepCC_TRUE@   $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
58623
 
-@am__fastdepCC_TRUE@   mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
58624
 
+@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
58625
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
58626
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
58627
 
 @am__fastdepCC_FALSE@  $(LTCOMPILE) -c -o $@ $<
58628
 
 
58629
 
 _gksu_la-gksumodule.lo: gksumodule.c
58630
 
-@am__fastdepCC_TRUE@   $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(_gksu_la_CFLAGS) $(CFLAGS) -MT _gksu_la-gksumodule.lo -MD -MP -MF $(DEPDIR)/_gksu_la-gksumodule.Tpo -c -o _gksu_la-gksumodule.lo `test -f 'gksumodule.c' || echo '$(srcdir)/'`gksumodule.c
58631
 
-@am__fastdepCC_TRUE@   mv -f $(DEPDIR)/_gksu_la-gksumodule.Tpo $(DEPDIR)/_gksu_la-gksumodule.Plo
58632
 
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(_gksu_la_CFLAGS) $(CFLAGS) -MT _gksu_la-gksumodule.lo -MD -MP -MF $(DEPDIR)/_gksu_la-gksumodule.Tpo -c -o _gksu_la-gksumodule.lo `test -f 'gksumodule.c' || echo '$(srcdir)/'`gksumodule.c
58633
 
+@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/_gksu_la-gksumodule.Tpo $(DEPDIR)/_gksu_la-gksumodule.Plo
58634
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='gksumodule.c' object='_gksu_la-gksumodule.lo' libtool=yes @AMDEPBACKSLASH@
58635
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
58636
 
-@am__fastdepCC_FALSE@  $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(_gksu_la_CFLAGS) $(CFLAGS) -c -o _gksu_la-gksumodule.lo `test -f 'gksumodule.c' || echo '$(srcdir)/'`gksumodule.c
58637
 
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(_gksu_la_CFLAGS) $(CFLAGS) -c -o _gksu_la-gksumodule.lo `test -f 'gksumodule.c' || echo '$(srcdir)/'`gksumodule.c
58638
 
 
58639
 
 _gksu_la-gksu.lo: gksu.c
58640
 
-@am__fastdepCC_TRUE@   $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(_gksu_la_CFLAGS) $(CFLAGS) -MT _gksu_la-gksu.lo -MD -MP -MF $(DEPDIR)/_gksu_la-gksu.Tpo -c -o _gksu_la-gksu.lo `test -f 'gksu.c' || echo '$(srcdir)/'`gksu.c
58641
 
-@am__fastdepCC_TRUE@   mv -f $(DEPDIR)/_gksu_la-gksu.Tpo $(DEPDIR)/_gksu_la-gksu.Plo
58642
 
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(_gksu_la_CFLAGS) $(CFLAGS) -MT _gksu_la-gksu.lo -MD -MP -MF $(DEPDIR)/_gksu_la-gksu.Tpo -c -o _gksu_la-gksu.lo `test -f 'gksu.c' || echo '$(srcdir)/'`gksu.c
58643
 
+@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/_gksu_la-gksu.Tpo $(DEPDIR)/_gksu_la-gksu.Plo
58644
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='gksu.c' object='_gksu_la-gksu.lo' libtool=yes @AMDEPBACKSLASH@
58645
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
58646
 
-@am__fastdepCC_FALSE@  $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(_gksu_la_CFLAGS) $(CFLAGS) -c -o _gksu_la-gksu.lo `test -f 'gksu.c' || echo '$(srcdir)/'`gksu.c
58647
 
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(_gksu_la_CFLAGS) $(CFLAGS) -c -o _gksu_la-gksu.lo `test -f 'gksu.c' || echo '$(srcdir)/'`gksu.c
58648
 
 
58649
 
 ui_la-gksuuimodule.lo: gksuuimodule.c
58650
 
-@am__fastdepCC_TRUE@   $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ui_la_CFLAGS) $(CFLAGS) -MT ui_la-gksuuimodule.lo -MD -MP -MF $(DEPDIR)/ui_la-gksuuimodule.Tpo -c -o ui_la-gksuuimodule.lo `test -f 'gksuuimodule.c' || echo '$(srcdir)/'`gksuuimodule.c
58651
 
-@am__fastdepCC_TRUE@   mv -f $(DEPDIR)/ui_la-gksuuimodule.Tpo $(DEPDIR)/ui_la-gksuuimodule.Plo
58652
 
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ui_la_CFLAGS) $(CFLAGS) -MT ui_la-gksuuimodule.lo -MD -MP -MF $(DEPDIR)/ui_la-gksuuimodule.Tpo -c -o ui_la-gksuuimodule.lo `test -f 'gksuuimodule.c' || echo '$(srcdir)/'`gksuuimodule.c
58653
 
+@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/ui_la-gksuuimodule.Tpo $(DEPDIR)/ui_la-gksuuimodule.Plo
58654
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='gksuuimodule.c' object='ui_la-gksuuimodule.lo' libtool=yes @AMDEPBACKSLASH@
58655
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
58656
 
-@am__fastdepCC_FALSE@  $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ui_la_CFLAGS) $(CFLAGS) -c -o ui_la-gksuuimodule.lo `test -f 'gksuuimodule.c' || echo '$(srcdir)/'`gksuuimodule.c
58657
 
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ui_la_CFLAGS) $(CFLAGS) -c -o ui_la-gksuuimodule.lo `test -f 'gksuuimodule.c' || echo '$(srcdir)/'`gksuuimodule.c
58658
 
 
58659
 
 ui_la-gksuui.lo: gksuui.c
58660
 
-@am__fastdepCC_TRUE@   $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ui_la_CFLAGS) $(CFLAGS) -MT ui_la-gksuui.lo -MD -MP -MF $(DEPDIR)/ui_la-gksuui.Tpo -c -o ui_la-gksuui.lo `test -f 'gksuui.c' || echo '$(srcdir)/'`gksuui.c
58661
 
-@am__fastdepCC_TRUE@   mv -f $(DEPDIR)/ui_la-gksuui.Tpo $(DEPDIR)/ui_la-gksuui.Plo
58662
 
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ui_la_CFLAGS) $(CFLAGS) -MT ui_la-gksuui.lo -MD -MP -MF $(DEPDIR)/ui_la-gksuui.Tpo -c -o ui_la-gksuui.lo `test -f 'gksuui.c' || echo '$(srcdir)/'`gksuui.c
58663
 
+@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/ui_la-gksuui.Tpo $(DEPDIR)/ui_la-gksuui.Plo
58664
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='gksuui.c' object='ui_la-gksuui.lo' libtool=yes @AMDEPBACKSLASH@
58665
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
58666
 
-@am__fastdepCC_FALSE@  $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ui_la_CFLAGS) $(CFLAGS) -c -o ui_la-gksuui.lo `test -f 'gksuui.c' || echo '$(srcdir)/'`gksuui.c
58667
 
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ui_la_CFLAGS) $(CFLAGS) -c -o ui_la-gksuui.lo `test -f 'gksuui.c' || echo '$(srcdir)/'`gksuui.c
58668
 
 
58669
 
 mostlyclean-libtool:
58670
 
        -rm -f *.lo
58671
 
@@ -415,15 +442,20 @@ clean-libtool:
58672
 
 install-gksuPYTHON: $(gksu_PYTHON)
58673
 
        @$(NORMAL_INSTALL)
58674
 
        test -z "$(gksudir)" || $(MKDIR_P) "$(DESTDIR)$(gksudir)"
58675
 
-       @list='$(gksu_PYTHON)'; dlist=''; for p in $$list; do\
58676
 
+       @list='$(gksu_PYTHON)'; dlist=; list2=; test -n "$(gksudir)" || list=; \
58677
 
+       for p in $$list; do \
58678
 
          if test -f "$$p"; then b=; else b="$(srcdir)/"; fi; \
58679
 
          if test -f $$b$$p; then \
58680
 
-           f=$(am__strip_dir) \
58681
 
+           $(am__strip_dir) \
58682
 
            dlist="$$dlist $$f"; \
58683
 
-           echo " $(gksuPYTHON_INSTALL) '$$b$$p' '$(DESTDIR)$(gksudir)/$$f'"; \
58684
 
-           $(gksuPYTHON_INSTALL) "$$b$$p" "$(DESTDIR)$(gksudir)/$$f"; \
58685
 
+           list2="$$list2 $$b$$p"; \
58686
 
          else :; fi; \
58687
 
        done; \
58688
 
+       for file in $$list2; do echo $$file; done | $(am__base_list) | \
58689
 
+       while read files; do \
58690
 
+         echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(gksudir)'"; \
58691
 
+         $(INSTALL_DATA) $$files "$(DESTDIR)$(gksudir)" || exit $$?; \
58692
 
+       done || exit $$?; \
58693
 
        if test -n "$$dlist"; then \
58694
 
          if test -z "$(DESTDIR)"; then \
58695
 
            PYTHON=$(PYTHON) $(py_compile) --basedir "$(gksudir)" $$dlist; \
58696
 
@@ -434,26 +466,31 @@ install-gksuPYTHON: $(gksu_PYTHON)
58697
 
 
58698
 
 uninstall-gksuPYTHON:
58699
 
        @$(NORMAL_UNINSTALL)
58700
 
-       @list='$(gksu_PYTHON)'; dlist=''; for p in $$list; do\
58701
 
-         f=$(am__strip_dir) \
58702
 
-         rm -f "$(DESTDIR)$(gksudir)/$$f"; \
58703
 
-         rm -f "$(DESTDIR)$(gksudir)/$${f}c"; \
58704
 
-         rm -f "$(DESTDIR)$(gksudir)/$${f}o"; \
58705
 
-       done
58706
 
+       @list='$(gksu_PYTHON)'; test -n "$(gksudir)" || list=; \
58707
 
+       files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
58708
 
+       test -n "$$files" || exit 0; \
58709
 
+       filesc=`echo "$$files" | sed 's|$$|c|'`; \
58710
 
+       fileso=`echo "$$files" | sed 's|$$|o|'`; \
58711
 
+       echo " ( cd '$(DESTDIR)$(gksudir)' && rm -f" $$files ")"; \
58712
 
+       cd "$(DESTDIR)$(gksudir)" && rm -f $$files || exit $$?; \
58713
 
+       echo " ( cd '$(DESTDIR)$(gksudir)' && rm -f" $$filesc ")"; \
58714
 
+       cd "$(DESTDIR)$(gksudir)" && rm -f $$filesc || exit $$?; \
58715
 
+       echo " ( cd '$(DESTDIR)$(gksudir)' && rm -f" $$fileso ")"; \
58716
 
+       cd "$(DESTDIR)$(gksudir)" && rm -f $$fileso
58717
 
 
58718
 
 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
58719
 
        list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
58720
 
        unique=`for i in $$list; do \
58721
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
58722
 
          done | \
58723
 
-         $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
58724
 
+         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
58725
 
              END { if (nonempty) { for (i in files) print i; }; }'`; \
58726
 
        mkid -fID $$unique
58727
 
 tags: TAGS
58728
 
 
58729
 
 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
58730
 
                $(TAGS_FILES) $(LISP)
58731
 
-       tags=; \
58732
 
+       set x; \
58733
 
        here=`pwd`; \
58734
 
        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
58735
 
        unique=`for i in $$list; do \
58736
 
@@ -461,29 +498,34 @@ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEP
58737
 
          done | \
58738
 
          $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
58739
 
              END { if (nonempty) { for (i in files) print i; }; }'`; \
58740
 
-       if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
58741
 
+       shift; \
58742
 
+       if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
58743
 
          test -n "$$unique" || unique=$$empty_fix; \
58744
 
-         $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
58745
 
-           $$tags $$unique; \
58746
 
+         if test $$# -gt 0; then \
58747
 
+           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
58748
 
+             "$$@" $$unique; \
58749
 
+         else \
58750
 
+           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
58751
 
+             $$unique; \
58752
 
+         fi; \
58753
 
        fi
58754
 
 ctags: CTAGS
58755
 
 CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
58756
 
                $(TAGS_FILES) $(LISP)
58757
 
-       tags=; \
58758
 
        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
58759
 
        unique=`for i in $$list; do \
58760
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
58761
 
          done | \
58762
 
          $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
58763
 
              END { if (nonempty) { for (i in files) print i; }; }'`; \
58764
 
-       test -z "$(CTAGS_ARGS)$$tags$$unique" \
58765
 
+       test -z "$(CTAGS_ARGS)$$unique" \
58766
 
          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
58767
 
-            $$tags $$unique
58768
 
+            $$unique
58769
 
 
58770
 
 GTAGS:
58771
 
        here=`$(am__cd) $(top_builddir) && pwd` \
58772
 
-         && cd $(top_srcdir) \
58773
 
-         && gtags -i $(GTAGS_ARGS) $$here
58774
 
+         && $(am__cd) $(top_srcdir) \
58775
 
+         && gtags -i $(GTAGS_ARGS) "$$here"
58776
 
 
58777
 
 distclean-tags:
58778
 
        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
58779
 
@@ -504,13 +546,17 @@ distdir: $(DISTFILES)
58780
 
          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
58781
 
          if test -d $$d/$$file; then \
58782
 
            dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
58783
 
+           if test -d "$(distdir)/$$file"; then \
58784
 
+             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
58785
 
+           fi; \
58786
 
            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
58787
 
-             cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
58788
 
+             cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
58789
 
+             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
58790
 
            fi; \
58791
 
-           cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
58792
 
+           cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
58793
 
          else \
58794
 
-           test -f $(distdir)/$$file \
58795
 
-           || cp -p $$d/$$file $(distdir)/$$file \
58796
 
+           test -f "$(distdir)/$$file" \
58797
 
+           || cp -p $$d/$$file "$(distdir)/$$file" \
58798
 
            || exit 1; \
58799
 
          fi; \
58800
 
        done
58801
 
@@ -542,6 +588,7 @@ clean-generic:
58802
 
 
58803
 
 distclean-generic:
58804
 
        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
58805
 
+       -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
58806
 
 
58807
 
 maintainer-clean-generic:
58808
 
        @echo "This command is intended for maintainers to use"
58809
 
@@ -563,6 +610,8 @@ dvi-am:
58810
 
 
58811
 
 html: html-am
58812
 
 
58813
 
+html-am:
58814
 
+
58815
 
 info: info-am
58816
 
 
58817
 
 info-am:
58818
 
@@ -571,18 +620,28 @@ install-data-am: install-gksuLTLIBRARIES
58819
 
 
58820
 
 install-dvi: install-dvi-am
58821
 
 
58822
 
+install-dvi-am:
58823
 
+
58824
 
 install-exec-am:
58825
 
 
58826
 
 install-html: install-html-am
58827
 
 
58828
 
+install-html-am:
58829
 
+
58830
 
 install-info: install-info-am
58831
 
 
58832
 
+install-info-am:
58833
 
+
58834
 
 install-man:
58835
 
 
58836
 
 install-pdf: install-pdf-am
58837
 
 
58838
 
+install-pdf-am:
58839
 
+
58840
 
 install-ps: install-ps-am
58841
 
 
58842
 
+install-ps-am:
58843
 
+
58844
 
 installcheck-am:
58845
 
 
58846
 
 maintainer-clean: maintainer-clean-am
58847
 
@@ -635,6 +694,7 @@ gksuui.c: gksuui.defs gksuui.override
58848
 
                --prefix py$* $*.defs) > gen-$*.c \
58849
 
            && cp gen-$*.c $*.c \
58850
 
            && rm -f gen-$*.c
58851
 
+
58852
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
58853
 
 # Otherwise a system limit (for SysV at least) may be exceeded.
58854
 
 .NOEXPORT:
58855
 
diff -Nurp gnome-python-extras-2.25.3.orig/gksu2/Makefile.in gnome-python-extras-2.25.3/gksu2/Makefile.in
58856
 
--- gnome-python-extras-2.25.3.orig/gksu2/Makefile.in   2009-02-15 22:21:02.000000000 +0000
58857
 
+++ gnome-python-extras-2.25.3/gksu2/Makefile.in        2009-12-15 01:42:17.410346793 +0000
58858
 
@@ -1,8 +1,9 @@
58859
 
-# Makefile.in generated by automake 1.10.1 from Makefile.am.
58860
 
+# Makefile.in generated by automake 1.11 from Makefile.am.
58861
 
 # @configure_input@
58862
 
 
58863
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
58864
 
-# 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
58865
 
+# 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
58866
 
+# Inc.
58867
 
 # This Makefile.in is free software; the Free Software Foundation
58868
 
 # gives unlimited permission to copy and/or distribute it,
58869
 
 # with or without modifications, as long as this notice is preserved.
58870
 
@@ -16,8 +17,9 @@
58871
 
 
58872
 
 VPATH = @srcdir@
58873
 
 pkgdatadir = $(datadir)/@PACKAGE@
58874
 
-pkglibdir = $(libdir)/@PACKAGE@
58875
 
 pkgincludedir = $(includedir)/@PACKAGE@
58876
 
+pkglibdir = $(libdir)/@PACKAGE@
58877
 
+pkglibexecdir = $(libexecdir)/@PACKAGE@
58878
 
 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
58879
 
 install_sh_DATA = $(install_sh) -c -m 644
58880
 
 install_sh_PROGRAM = $(install_sh) -c
58881
 
@@ -44,14 +46,29 @@ am__configure_deps = $(am__aclocal_m4_de
58882
 
 mkinstalldirs = $(install_sh) -d
58883
 
 CONFIG_HEADER = $(top_builddir)/config.h
58884
 
 CONFIG_CLEAN_FILES =
58885
 
+CONFIG_CLEAN_VPATH_FILES =
58886
 
 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
58887
 
 am__vpath_adj = case $$p in \
58888
 
     $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
58889
 
     *) f=$$p;; \
58890
 
   esac;
58891
 
-am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
58892
 
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
58893
 
+am__install_max = 40
58894
 
+am__nobase_strip_setup = \
58895
 
+  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
58896
 
+am__nobase_strip = \
58897
 
+  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
58898
 
+am__nobase_list = $(am__nobase_strip_setup); \
58899
 
+  for p in $$list; do echo "$$p $$p"; done | \
58900
 
+  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
58901
 
+  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
58902
 
+    if (++n[$$2] == $(am__install_max)) \
58903
 
+      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
58904
 
+    END { for (dir in files) print dir, files[dir] }'
58905
 
+am__base_list = \
58906
 
+  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
58907
 
+  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
58908
 
 am__installdirs = "$(DESTDIR)$(gksu2dir)" "$(DESTDIR)$(gksu2dir)"
58909
 
-gksu2LTLIBRARIES_INSTALL = $(INSTALL)
58910
 
 LTLIBRARIES = $(gksu2_LTLIBRARIES)
58911
 
 am__DEPENDENCIES_1 =
58912
 
 _gksu2_la_DEPENDENCIES = $(am__DEPENDENCIES_1)
58913
 
@@ -66,6 +83,7 @@ _gksu2_la_LINK = $(LIBTOOL) --tag=CC $(A
58914
 
 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
58915
 
 depcomp = $(SHELL) $(top_srcdir)/depcomp
58916
 
 am__depfiles_maybe = depfiles
58917
 
+am__mv = mv -f
58918
 
 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
58919
 
        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
58920
 
 LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
58921
 
@@ -77,7 +95,6 @@ LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLF
58922
 
        $(LDFLAGS) -o $@
58923
 
 SOURCES = $(_gksu2_la_SOURCES) $(nodist__gksu2_la_SOURCES)
58924
 
 DIST_SOURCES = $(_gksu2_la_SOURCES)
58925
 
-gksu2PYTHON_INSTALL = $(INSTALL_DATA)
58926
 
 py_compile = $(top_srcdir)/py-compile
58927
 
 ETAGS = etags
58928
 
 CTAGS = ctags
58929
 
@@ -105,7 +122,7 @@ DEFS = @DEFS@
58930
 
 DEPDIR = @DEPDIR@
58931
 
 DLLTOOL = @DLLTOOL@
58932
 
 DSYMUTIL = @DSYMUTIL@
58933
 
-ECHO = @ECHO@
58934
 
+DUMPBIN = @DUMPBIN@
58935
 
 ECHO_C = @ECHO_C@
58936
 
 ECHO_N = @ECHO_N@
58937
 
 ECHO_T = @ECHO_T@
58938
 
@@ -115,8 +132,7 @@ EGG_RECENT_CFLAGS = @EGG_RECENT_CFLAGS@
58939
 
 EGG_RECENT_LIBS = @EGG_RECENT_LIBS@
58940
 
 EGREP = @EGREP@
58941
 
 EXEEXT = @EXEEXT@
58942
 
-F77 = @F77@
58943
 
-FFLAGS = @FFLAGS@
58944
 
+FGREP = @FGREP@
58945
 
 GDA_CFLAGS = @GDA_CFLAGS@
58946
 
 GDA_LIBS = @GDA_LIBS@
58947
 
 GDL_CFLAGS = @GDL_CFLAGS@
58948
 
@@ -149,23 +165,30 @@ INSTALL_DATA = @INSTALL_DATA@
58949
 
 INSTALL_PROGRAM = @INSTALL_PROGRAM@
58950
 
 INSTALL_SCRIPT = @INSTALL_SCRIPT@
58951
 
 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
58952
 
+LD = @LD@
58953
 
 LDFLAGS = @LDFLAGS@
58954
 
 LIBOBJS = @LIBOBJS@
58955
 
 LIBS = @LIBS@
58956
 
 LIBTOOL = @LIBTOOL@
58957
 
+LIPO = @LIPO@
58958
 
 LN_S = @LN_S@
58959
 
 LTLIBOBJS = @LTLIBOBJS@
58960
 
+MAINT = @MAINT@
58961
 
 MAKEINFO = @MAKEINFO@
58962
 
 MKDIR_P = @MKDIR_P@
58963
 
 MOZILLA_HOME = @MOZILLA_HOME@
58964
 
+NM = @NM@
58965
 
 NMEDIT = @NMEDIT@
58966
 
 OBJDUMP = @OBJDUMP@
58967
 
 OBJEXT = @OBJEXT@
58968
 
+OTOOL = @OTOOL@
58969
 
+OTOOL64 = @OTOOL64@
58970
 
 PACKAGE = @PACKAGE@
58971
 
 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
58972
 
 PACKAGE_NAME = @PACKAGE_NAME@
58973
 
 PACKAGE_STRING = @PACKAGE_STRING@
58974
 
 PACKAGE_TARNAME = @PACKAGE_TARNAME@
58975
 
+PACKAGE_URL = @PACKAGE_URL@
58976
 
 PACKAGE_VERSION = @PACKAGE_VERSION@
58977
 
 PATH_SEPARATOR = @PATH_SEPARATOR@
58978
 
 PKG_CONFIG = @PKG_CONFIG@
58979
 
@@ -192,15 +215,13 @@ SHELL = @SHELL@
58980
 
 STRIP = @STRIP@
58981
 
 VERSION = @VERSION@
58982
 
 XSLTPROC = @XSLTPROC@
58983
 
-XUL19_CFLAGS = @XUL19_CFLAGS@
58984
 
-XUL19_LIBS = @XUL19_LIBS@
58985
 
 abs_builddir = @abs_builddir@
58986
 
 abs_srcdir = @abs_srcdir@
58987
 
 abs_top_builddir = @abs_top_builddir@
58988
 
 abs_top_srcdir = @abs_top_srcdir@
58989
 
 ac_ct_CC = @ac_ct_CC@
58990
 
 ac_ct_CXX = @ac_ct_CXX@
58991
 
-ac_ct_F77 = @ac_ct_F77@
58992
 
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
58993
 
 am__include = @am__include@
58994
 
 am__leading_dot = @am__leading_dot@
58995
 
 am__quote = @am__quote@
58996
 
@@ -231,6 +252,7 @@ libdir = @libdir@
58997
 
 libexecdir = @libexecdir@
58998
 
 localedir = @localedir@
58999
 
 localstatedir = @localstatedir@
59000
 
+lt_ECHO = @lt_ECHO@
59001
 
 mandir = @mandir@
59002
 
 mkdir_p = @mkdir_p@
59003
 
 oldincludedir = @oldincludedir@
59004
 
@@ -270,18 +292,18 @@ all: all-am
59005
 
 
59006
 
 .SUFFIXES:
59007
 
 .SUFFIXES: .c .defs .lo .o .obj
59008
 
-$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
59009
 
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
59010
 
        @for dep in $?; do \
59011
 
          case '$(am__configure_deps)' in \
59012
 
            *$$dep*) \
59013
 
-             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
59014
 
-               && exit 0; \
59015
 
+             ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
59016
 
+               && { if test -f $@; then exit 0; else break; fi; }; \
59017
 
              exit 1;; \
59018
 
          esac; \
59019
 
        done; \
59020
 
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  gksu2/Makefile'; \
59021
 
-       cd $(top_srcdir) && \
59022
 
-         $(AUTOMAKE) --gnu  gksu2/Makefile
59023
 
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu gksu2/Makefile'; \
59024
 
+       $(am__cd) $(top_srcdir) && \
59025
 
+         $(AUTOMAKE) --gnu gksu2/Makefile
59026
 
 .PRECIOUS: Makefile
59027
 
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
59028
 
        @case '$?' in \
59029
 
@@ -295,27 +317,32 @@ Makefile: $(srcdir)/Makefile.in $(top_bu
59030
 
 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
59031
 
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
59032
 
 
59033
 
-$(top_srcdir)/configure:  $(am__configure_deps)
59034
 
+$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
59035
 
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
59036
 
-$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
59037
 
+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
59038
 
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
59039
 
+$(am__aclocal_m4_deps):
59040
 
 install-gksu2LTLIBRARIES: $(gksu2_LTLIBRARIES)
59041
 
        @$(NORMAL_INSTALL)
59042
 
        test -z "$(gksu2dir)" || $(MKDIR_P) "$(DESTDIR)$(gksu2dir)"
59043
 
-       @list='$(gksu2_LTLIBRARIES)'; for p in $$list; do \
59044
 
+       @list='$(gksu2_LTLIBRARIES)'; test -n "$(gksu2dir)" || list=; \
59045
 
+       list2=; for p in $$list; do \
59046
 
          if test -f $$p; then \
59047
 
-           f=$(am__strip_dir) \
59048
 
-           echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(gksu2LTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(gksu2dir)/$$f'"; \
59049
 
-           $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(gksu2LTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(gksu2dir)/$$f"; \
59050
 
+           list2="$$list2 $$p"; \
59051
 
          else :; fi; \
59052
 
-       done
59053
 
+       done; \
59054
 
+       test -z "$$list2" || { \
59055
 
+         echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(gksu2dir)'"; \
59056
 
+         $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(gksu2dir)"; \
59057
 
+       }
59058
 
 
59059
 
 uninstall-gksu2LTLIBRARIES:
59060
 
        @$(NORMAL_UNINSTALL)
59061
 
-       @list='$(gksu2_LTLIBRARIES)'; for p in $$list; do \
59062
 
-         p=$(am__strip_dir) \
59063
 
-         echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(gksu2dir)/$$p'"; \
59064
 
-         $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(gksu2dir)/$$p"; \
59065
 
+       @list='$(gksu2_LTLIBRARIES)'; test -n "$(gksu2dir)" || list=; \
59066
 
+       for p in $$list; do \
59067
 
+         $(am__strip_dir) \
59068
 
+         echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(gksu2dir)/$$f'"; \
59069
 
+         $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(gksu2dir)/$$f"; \
59070
 
        done
59071
 
 
59072
 
 clean-gksu2LTLIBRARIES:
59073
 
@@ -340,38 +367,38 @@ distclean-compile:
59074
 
 
59075
 
 .c.o:
59076
 
 @am__fastdepCC_TRUE@   $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
59077
 
-@am__fastdepCC_TRUE@   mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
59078
 
+@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
59079
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
59080
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
59081
 
 @am__fastdepCC_FALSE@  $(COMPILE) -c $<
59082
 
 
59083
 
 .c.obj:
59084
 
 @am__fastdepCC_TRUE@   $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
59085
 
-@am__fastdepCC_TRUE@   mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
59086
 
+@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
59087
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
59088
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
59089
 
 @am__fastdepCC_FALSE@  $(COMPILE) -c `$(CYGPATH_W) '$<'`
59090
 
 
59091
 
 .c.lo:
59092
 
 @am__fastdepCC_TRUE@   $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
59093
 
-@am__fastdepCC_TRUE@   mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
59094
 
+@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
59095
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
59096
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
59097
 
 @am__fastdepCC_FALSE@  $(LTCOMPILE) -c -o $@ $<
59098
 
 
59099
 
 _gksu2_la-gksu2module.lo: gksu2module.c
59100
 
-@am__fastdepCC_TRUE@   $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(_gksu2_la_CFLAGS) $(CFLAGS) -MT _gksu2_la-gksu2module.lo -MD -MP -MF $(DEPDIR)/_gksu2_la-gksu2module.Tpo -c -o _gksu2_la-gksu2module.lo `test -f 'gksu2module.c' || echo '$(srcdir)/'`gksu2module.c
59101
 
-@am__fastdepCC_TRUE@   mv -f $(DEPDIR)/_gksu2_la-gksu2module.Tpo $(DEPDIR)/_gksu2_la-gksu2module.Plo
59102
 
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(_gksu2_la_CFLAGS) $(CFLAGS) -MT _gksu2_la-gksu2module.lo -MD -MP -MF $(DEPDIR)/_gksu2_la-gksu2module.Tpo -c -o _gksu2_la-gksu2module.lo `test -f 'gksu2module.c' || echo '$(srcdir)/'`gksu2module.c
59103
 
+@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/_gksu2_la-gksu2module.Tpo $(DEPDIR)/_gksu2_la-gksu2module.Plo
59104
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='gksu2module.c' object='_gksu2_la-gksu2module.lo' libtool=yes @AMDEPBACKSLASH@
59105
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
59106
 
-@am__fastdepCC_FALSE@  $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(_gksu2_la_CFLAGS) $(CFLAGS) -c -o _gksu2_la-gksu2module.lo `test -f 'gksu2module.c' || echo '$(srcdir)/'`gksu2module.c
59107
 
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(_gksu2_la_CFLAGS) $(CFLAGS) -c -o _gksu2_la-gksu2module.lo `test -f 'gksu2module.c' || echo '$(srcdir)/'`gksu2module.c
59108
 
 
59109
 
 _gksu2_la-gksu2.lo: gksu2.c
59110
 
-@am__fastdepCC_TRUE@   $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(_gksu2_la_CFLAGS) $(CFLAGS) -MT _gksu2_la-gksu2.lo -MD -MP -MF $(DEPDIR)/_gksu2_la-gksu2.Tpo -c -o _gksu2_la-gksu2.lo `test -f 'gksu2.c' || echo '$(srcdir)/'`gksu2.c
59111
 
-@am__fastdepCC_TRUE@   mv -f $(DEPDIR)/_gksu2_la-gksu2.Tpo $(DEPDIR)/_gksu2_la-gksu2.Plo
59112
 
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(_gksu2_la_CFLAGS) $(CFLAGS) -MT _gksu2_la-gksu2.lo -MD -MP -MF $(DEPDIR)/_gksu2_la-gksu2.Tpo -c -o _gksu2_la-gksu2.lo `test -f 'gksu2.c' || echo '$(srcdir)/'`gksu2.c
59113
 
+@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/_gksu2_la-gksu2.Tpo $(DEPDIR)/_gksu2_la-gksu2.Plo
59114
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='gksu2.c' object='_gksu2_la-gksu2.lo' libtool=yes @AMDEPBACKSLASH@
59115
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
59116
 
-@am__fastdepCC_FALSE@  $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(_gksu2_la_CFLAGS) $(CFLAGS) -c -o _gksu2_la-gksu2.lo `test -f 'gksu2.c' || echo '$(srcdir)/'`gksu2.c
59117
 
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(_gksu2_la_CFLAGS) $(CFLAGS) -c -o _gksu2_la-gksu2.lo `test -f 'gksu2.c' || echo '$(srcdir)/'`gksu2.c
59118
 
 
59119
 
 mostlyclean-libtool:
59120
 
        -rm -f *.lo
59121
 
@@ -381,15 +408,20 @@ clean-libtool:
59122
 
 install-gksu2PYTHON: $(gksu2_PYTHON)
59123
 
        @$(NORMAL_INSTALL)
59124
 
        test -z "$(gksu2dir)" || $(MKDIR_P) "$(DESTDIR)$(gksu2dir)"
59125
 
-       @list='$(gksu2_PYTHON)'; dlist=''; for p in $$list; do\
59126
 
+       @list='$(gksu2_PYTHON)'; dlist=; list2=; test -n "$(gksu2dir)" || list=; \
59127
 
+       for p in $$list; do \
59128
 
          if test -f "$$p"; then b=; else b="$(srcdir)/"; fi; \
59129
 
          if test -f $$b$$p; then \
59130
 
-           f=$(am__strip_dir) \
59131
 
+           $(am__strip_dir) \
59132
 
            dlist="$$dlist $$f"; \
59133
 
-           echo " $(gksu2PYTHON_INSTALL) '$$b$$p' '$(DESTDIR)$(gksu2dir)/$$f'"; \
59134
 
-           $(gksu2PYTHON_INSTALL) "$$b$$p" "$(DESTDIR)$(gksu2dir)/$$f"; \
59135
 
+           list2="$$list2 $$b$$p"; \
59136
 
          else :; fi; \
59137
 
        done; \
59138
 
+       for file in $$list2; do echo $$file; done | $(am__base_list) | \
59139
 
+       while read files; do \
59140
 
+         echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(gksu2dir)'"; \
59141
 
+         $(INSTALL_DATA) $$files "$(DESTDIR)$(gksu2dir)" || exit $$?; \
59142
 
+       done || exit $$?; \
59143
 
        if test -n "$$dlist"; then \
59144
 
          if test -z "$(DESTDIR)"; then \
59145
 
            PYTHON=$(PYTHON) $(py_compile) --basedir "$(gksu2dir)" $$dlist; \
59146
 
@@ -400,26 +432,31 @@ install-gksu2PYTHON: $(gksu2_PYTHON)
59147
 
 
59148
 
 uninstall-gksu2PYTHON:
59149
 
        @$(NORMAL_UNINSTALL)
59150
 
-       @list='$(gksu2_PYTHON)'; dlist=''; for p in $$list; do\
59151
 
-         f=$(am__strip_dir) \
59152
 
-         rm -f "$(DESTDIR)$(gksu2dir)/$$f"; \
59153
 
-         rm -f "$(DESTDIR)$(gksu2dir)/$${f}c"; \
59154
 
-         rm -f "$(DESTDIR)$(gksu2dir)/$${f}o"; \
59155
 
-       done
59156
 
+       @list='$(gksu2_PYTHON)'; test -n "$(gksu2dir)" || list=; \
59157
 
+       files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
59158
 
+       test -n "$$files" || exit 0; \
59159
 
+       filesc=`echo "$$files" | sed 's|$$|c|'`; \
59160
 
+       fileso=`echo "$$files" | sed 's|$$|o|'`; \
59161
 
+       echo " ( cd '$(DESTDIR)$(gksu2dir)' && rm -f" $$files ")"; \
59162
 
+       cd "$(DESTDIR)$(gksu2dir)" && rm -f $$files || exit $$?; \
59163
 
+       echo " ( cd '$(DESTDIR)$(gksu2dir)' && rm -f" $$filesc ")"; \
59164
 
+       cd "$(DESTDIR)$(gksu2dir)" && rm -f $$filesc || exit $$?; \
59165
 
+       echo " ( cd '$(DESTDIR)$(gksu2dir)' && rm -f" $$fileso ")"; \
59166
 
+       cd "$(DESTDIR)$(gksu2dir)" && rm -f $$fileso
59167
 
 
59168
 
 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
59169
 
        list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
59170
 
        unique=`for i in $$list; do \
59171
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
59172
 
          done | \
59173
 
-         $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
59174
 
+         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
59175
 
              END { if (nonempty) { for (i in files) print i; }; }'`; \
59176
 
        mkid -fID $$unique
59177
 
 tags: TAGS
59178
 
 
59179
 
 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
59180
 
                $(TAGS_FILES) $(LISP)
59181
 
-       tags=; \
59182
 
+       set x; \
59183
 
        here=`pwd`; \
59184
 
        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
59185
 
        unique=`for i in $$list; do \
59186
 
@@ -427,29 +464,34 @@ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEP
59187
 
          done | \
59188
 
          $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
59189
 
              END { if (nonempty) { for (i in files) print i; }; }'`; \
59190
 
-       if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
59191
 
+       shift; \
59192
 
+       if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
59193
 
          test -n "$$unique" || unique=$$empty_fix; \
59194
 
-         $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
59195
 
-           $$tags $$unique; \
59196
 
+         if test $$# -gt 0; then \
59197
 
+           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
59198
 
+             "$$@" $$unique; \
59199
 
+         else \
59200
 
+           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
59201
 
+             $$unique; \
59202
 
+         fi; \
59203
 
        fi
59204
 
 ctags: CTAGS
59205
 
 CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
59206
 
                $(TAGS_FILES) $(LISP)
59207
 
-       tags=; \
59208
 
        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
59209
 
        unique=`for i in $$list; do \
59210
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
59211
 
          done | \
59212
 
          $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
59213
 
              END { if (nonempty) { for (i in files) print i; }; }'`; \
59214
 
-       test -z "$(CTAGS_ARGS)$$tags$$unique" \
59215
 
+       test -z "$(CTAGS_ARGS)$$unique" \
59216
 
          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
59217
 
-            $$tags $$unique
59218
 
+            $$unique
59219
 
 
59220
 
 GTAGS:
59221
 
        here=`$(am__cd) $(top_builddir) && pwd` \
59222
 
-         && cd $(top_srcdir) \
59223
 
-         && gtags -i $(GTAGS_ARGS) $$here
59224
 
+         && $(am__cd) $(top_srcdir) \
59225
 
+         && gtags -i $(GTAGS_ARGS) "$$here"
59226
 
 
59227
 
 distclean-tags:
59228
 
        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
59229
 
@@ -470,13 +512,17 @@ distdir: $(DISTFILES)
59230
 
          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
59231
 
          if test -d $$d/$$file; then \
59232
 
            dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
59233
 
+           if test -d "$(distdir)/$$file"; then \
59234
 
+             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
59235
 
+           fi; \
59236
 
            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
59237
 
-             cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
59238
 
+             cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
59239
 
+             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
59240
 
            fi; \
59241
 
-           cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
59242
 
+           cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
59243
 
          else \
59244
 
-           test -f $(distdir)/$$file \
59245
 
-           || cp -p $$d/$$file $(distdir)/$$file \
59246
 
+           test -f "$(distdir)/$$file" \
59247
 
+           || cp -p $$d/$$file "$(distdir)/$$file" \
59248
 
            || exit 1; \
59249
 
          fi; \
59250
 
        done
59251
 
@@ -508,6 +554,7 @@ clean-generic:
59252
 
 
59253
 
 distclean-generic:
59254
 
        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
59255
 
+       -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
59256
 
 
59257
 
 maintainer-clean-generic:
59258
 
        @echo "This command is intended for maintainers to use"
59259
 
@@ -529,6 +576,8 @@ dvi-am:
59260
 
 
59261
 
 html: html-am
59262
 
 
59263
 
+html-am:
59264
 
+
59265
 
 info: info-am
59266
 
 
59267
 
 info-am:
59268
 
@@ -537,18 +586,28 @@ install-data-am: install-gksu2LTLIBRARIE
59269
 
 
59270
 
 install-dvi: install-dvi-am
59271
 
 
59272
 
+install-dvi-am:
59273
 
+
59274
 
 install-exec-am:
59275
 
 
59276
 
 install-html: install-html-am
59277
 
 
59278
 
+install-html-am:
59279
 
+
59280
 
 install-info: install-info-am
59281
 
 
59282
 
+install-info-am:
59283
 
+
59284
 
 install-man:
59285
 
 
59286
 
 install-pdf: install-pdf-am
59287
 
 
59288
 
+install-pdf-am:
59289
 
+
59290
 
 install-ps: install-ps-am
59291
 
 
59292
 
+install-ps-am:
59293
 
+
59294
 
 installcheck-am:
59295
 
 
59296
 
 maintainer-clean: maintainer-clean-am
59297
 
@@ -600,6 +659,7 @@ gksu2.c: gksu2.defs gksu2.override
59298
 
                --prefix py$* $*.defs) > gen-$*.c \
59299
 
            && cp gen-$*.c $*.c \
59300
 
            && rm -f gen-$*.c
59301
 
+
59302
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
59303
 
 # Otherwise a system limit (for SysV at least) may be exceeded.
59304
 
 .NOEXPORT:
59305
 
diff -Nurp gnome-python-extras-2.25.3.orig/gtkhtml2/Makefile.in gnome-python-extras-2.25.3/gtkhtml2/Makefile.in
59306
 
--- gnome-python-extras-2.25.3.orig/gtkhtml2/Makefile.in        2009-02-15 22:21:02.000000000 +0000
59307
 
+++ gnome-python-extras-2.25.3/gtkhtml2/Makefile.in     2009-12-15 01:42:17.520349575 +0000
59308
 
@@ -1,8 +1,9 @@
59309
 
-# Makefile.in generated by automake 1.10.1 from Makefile.am.
59310
 
+# Makefile.in generated by automake 1.11 from Makefile.am.
59311
 
 # @configure_input@
59312
 
 
59313
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
59314
 
-# 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
59315
 
+# 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
59316
 
+# Inc.
59317
 
 # This Makefile.in is free software; the Free Software Foundation
59318
 
 # gives unlimited permission to copy and/or distribute it,
59319
 
 # with or without modifications, as long as this notice is preserved.
59320
 
@@ -17,8 +18,9 @@
59321
 
 
59322
 
 VPATH = @srcdir@
59323
 
 pkgdatadir = $(datadir)/@PACKAGE@
59324
 
-pkglibdir = $(libdir)/@PACKAGE@
59325
 
 pkgincludedir = $(includedir)/@PACKAGE@
59326
 
+pkglibdir = $(libdir)/@PACKAGE@
59327
 
+pkglibexecdir = $(libexecdir)/@PACKAGE@
59328
 
 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
59329
 
 install_sh_DATA = $(install_sh) -c -m 644
59330
 
 install_sh_PROGRAM = $(install_sh) -c
59331
 
@@ -43,14 +45,29 @@ am__configure_deps = $(am__aclocal_m4_de
59332
 
 mkinstalldirs = $(install_sh) -d
59333
 
 CONFIG_HEADER = $(top_builddir)/config.h
59334
 
 CONFIG_CLEAN_FILES =
59335
 
+CONFIG_CLEAN_VPATH_FILES =
59336
 
 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
59337
 
 am__vpath_adj = case $$p in \
59338
 
     $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
59339
 
     *) f=$$p;; \
59340
 
   esac;
59341
 
-am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
59342
 
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
59343
 
+am__install_max = 40
59344
 
+am__nobase_strip_setup = \
59345
 
+  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
59346
 
+am__nobase_strip = \
59347
 
+  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
59348
 
+am__nobase_list = $(am__nobase_strip_setup); \
59349
 
+  for p in $$list; do echo "$$p $$p"; done | \
59350
 
+  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
59351
 
+  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
59352
 
+    if (++n[$$2] == $(am__install_max)) \
59353
 
+      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
59354
 
+    END { for (dir in files) print dir, files[dir] }'
59355
 
+am__base_list = \
59356
 
+  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
59357
 
+  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
59358
 
 am__installdirs = "$(DESTDIR)$(pkgpyexecdir)" "$(DESTDIR)$(defsdir)"
59359
 
-pkgpyexecLTLIBRARIES_INSTALL = $(INSTALL)
59360
 
 LTLIBRARIES = $(pkgpyexec_LTLIBRARIES)
59361
 
 am__DEPENDENCIES_1 =
59362
 
 gtkhtml2_la_DEPENDENCIES = $(am__DEPENDENCIES_1)
59363
 
@@ -65,6 +82,7 @@ gtkhtml2_la_LINK = $(LIBTOOL) --tag=CC $
59364
 
 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
59365
 
 depcomp = $(SHELL) $(top_srcdir)/depcomp
59366
 
 am__depfiles_maybe = depfiles
59367
 
+am__mv = mv -f
59368
 
 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
59369
 
        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
59370
 
 LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
59371
 
@@ -76,7 +94,6 @@ LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLF
59372
 
        $(LDFLAGS) -o $@
59373
 
 SOURCES = $(gtkhtml2_la_SOURCES) $(nodist_gtkhtml2_la_SOURCES)
59374
 
 DIST_SOURCES = $(gtkhtml2_la_SOURCES)
59375
 
-defsDATA_INSTALL = $(INSTALL_DATA)
59376
 
 DATA = $(defs_DATA)
59377
 
 ETAGS = etags
59378
 
 CTAGS = ctags
59379
 
@@ -104,7 +121,7 @@ DEFS = @DEFS@
59380
 
 DEPDIR = @DEPDIR@
59381
 
 DLLTOOL = @DLLTOOL@
59382
 
 DSYMUTIL = @DSYMUTIL@
59383
 
-ECHO = @ECHO@
59384
 
+DUMPBIN = @DUMPBIN@
59385
 
 ECHO_C = @ECHO_C@
59386
 
 ECHO_N = @ECHO_N@
59387
 
 ECHO_T = @ECHO_T@
59388
 
@@ -114,8 +131,7 @@ EGG_RECENT_CFLAGS = @EGG_RECENT_CFLAGS@
59389
 
 EGG_RECENT_LIBS = @EGG_RECENT_LIBS@
59390
 
 EGREP = @EGREP@
59391
 
 EXEEXT = @EXEEXT@
59392
 
-F77 = @F77@
59393
 
-FFLAGS = @FFLAGS@
59394
 
+FGREP = @FGREP@
59395
 
 GDA_CFLAGS = @GDA_CFLAGS@
59396
 
 GDA_LIBS = @GDA_LIBS@
59397
 
 GDL_CFLAGS = @GDL_CFLAGS@
59398
 
@@ -148,23 +164,30 @@ INSTALL_DATA = @INSTALL_DATA@
59399
 
 INSTALL_PROGRAM = @INSTALL_PROGRAM@
59400
 
 INSTALL_SCRIPT = @INSTALL_SCRIPT@
59401
 
 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
59402
 
+LD = @LD@
59403
 
 LDFLAGS = @LDFLAGS@
59404
 
 LIBOBJS = @LIBOBJS@
59405
 
 LIBS = @LIBS@
59406
 
 LIBTOOL = @LIBTOOL@
59407
 
+LIPO = @LIPO@
59408
 
 LN_S = @LN_S@
59409
 
 LTLIBOBJS = @LTLIBOBJS@
59410
 
+MAINT = @MAINT@
59411
 
 MAKEINFO = @MAKEINFO@
59412
 
 MKDIR_P = @MKDIR_P@
59413
 
 MOZILLA_HOME = @MOZILLA_HOME@
59414
 
+NM = @NM@
59415
 
 NMEDIT = @NMEDIT@
59416
 
 OBJDUMP = @OBJDUMP@
59417
 
 OBJEXT = @OBJEXT@
59418
 
+OTOOL = @OTOOL@
59419
 
+OTOOL64 = @OTOOL64@
59420
 
 PACKAGE = @PACKAGE@
59421
 
 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
59422
 
 PACKAGE_NAME = @PACKAGE_NAME@
59423
 
 PACKAGE_STRING = @PACKAGE_STRING@
59424
 
 PACKAGE_TARNAME = @PACKAGE_TARNAME@
59425
 
+PACKAGE_URL = @PACKAGE_URL@
59426
 
 PACKAGE_VERSION = @PACKAGE_VERSION@
59427
 
 PATH_SEPARATOR = @PATH_SEPARATOR@
59428
 
 PKG_CONFIG = @PKG_CONFIG@
59429
 
@@ -191,15 +214,13 @@ SHELL = @SHELL@
59430
 
 STRIP = @STRIP@
59431
 
 VERSION = @VERSION@
59432
 
 XSLTPROC = @XSLTPROC@
59433
 
-XUL19_CFLAGS = @XUL19_CFLAGS@
59434
 
-XUL19_LIBS = @XUL19_LIBS@
59435
 
 abs_builddir = @abs_builddir@
59436
 
 abs_srcdir = @abs_srcdir@
59437
 
 abs_top_builddir = @abs_top_builddir@
59438
 
 abs_top_srcdir = @abs_top_srcdir@
59439
 
 ac_ct_CC = @ac_ct_CC@
59440
 
 ac_ct_CXX = @ac_ct_CXX@
59441
 
-ac_ct_F77 = @ac_ct_F77@
59442
 
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
59443
 
 am__include = @am__include@
59444
 
 am__leading_dot = @am__leading_dot@
59445
 
 am__quote = @am__quote@
59446
 
@@ -230,6 +251,7 @@ libdir = @libdir@
59447
 
 libexecdir = @libexecdir@
59448
 
 localedir = @localedir@
59449
 
 localstatedir = @localstatedir@
59450
 
+lt_ECHO = @lt_ECHO@
59451
 
 mandir = @mandir@
59452
 
 mkdir_p = @mkdir_p@
59453
 
 oldincludedir = @oldincludedir@
59454
 
@@ -267,18 +289,18 @@ all: all-am
59455
 
 
59456
 
 .SUFFIXES:
59457
 
 .SUFFIXES: .c .defs .lo .o .obj
59458
 
-$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
59459
 
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
59460
 
        @for dep in $?; do \
59461
 
          case '$(am__configure_deps)' in \
59462
 
            *$$dep*) \
59463
 
-             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
59464
 
-               && exit 0; \
59465
 
+             ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
59466
 
+               && { if test -f $@; then exit 0; else break; fi; }; \
59467
 
              exit 1;; \
59468
 
          esac; \
59469
 
        done; \
59470
 
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  gtkhtml2/Makefile'; \
59471
 
-       cd $(top_srcdir) && \
59472
 
-         $(AUTOMAKE) --gnu  gtkhtml2/Makefile
59473
 
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu gtkhtml2/Makefile'; \
59474
 
+       $(am__cd) $(top_srcdir) && \
59475
 
+         $(AUTOMAKE) --gnu gtkhtml2/Makefile
59476
 
 .PRECIOUS: Makefile
59477
 
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
59478
 
        @case '$?' in \
59479
 
@@ -292,27 +314,32 @@ Makefile: $(srcdir)/Makefile.in $(top_bu
59480
 
 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
59481
 
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
59482
 
 
59483
 
-$(top_srcdir)/configure:  $(am__configure_deps)
59484
 
+$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
59485
 
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
59486
 
-$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
59487
 
+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
59488
 
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
59489
 
+$(am__aclocal_m4_deps):
59490
 
 install-pkgpyexecLTLIBRARIES: $(pkgpyexec_LTLIBRARIES)
59491
 
        @$(NORMAL_INSTALL)
59492
 
        test -z "$(pkgpyexecdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgpyexecdir)"
59493
 
-       @list='$(pkgpyexec_LTLIBRARIES)'; for p in $$list; do \
59494
 
+       @list='$(pkgpyexec_LTLIBRARIES)'; test -n "$(pkgpyexecdir)" || list=; \
59495
 
+       list2=; for p in $$list; do \
59496
 
          if test -f $$p; then \
59497
 
-           f=$(am__strip_dir) \
59498
 
-           echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(pkgpyexecLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(pkgpyexecdir)/$$f'"; \
59499
 
-           $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(pkgpyexecLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(pkgpyexecdir)/$$f"; \
59500
 
+           list2="$$list2 $$p"; \
59501
 
          else :; fi; \
59502
 
-       done
59503
 
+       done; \
59504
 
+       test -z "$$list2" || { \
59505
 
+         echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pkgpyexecdir)'"; \
59506
 
+         $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pkgpyexecdir)"; \
59507
 
+       }
59508
 
 
59509
 
 uninstall-pkgpyexecLTLIBRARIES:
59510
 
        @$(NORMAL_UNINSTALL)
59511
 
-       @list='$(pkgpyexec_LTLIBRARIES)'; for p in $$list; do \
59512
 
-         p=$(am__strip_dir) \
59513
 
-         echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pkgpyexecdir)/$$p'"; \
59514
 
-         $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pkgpyexecdir)/$$p"; \
59515
 
+       @list='$(pkgpyexec_LTLIBRARIES)'; test -n "$(pkgpyexecdir)" || list=; \
59516
 
+       for p in $$list; do \
59517
 
+         $(am__strip_dir) \
59518
 
+         echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pkgpyexecdir)/$$f'"; \
59519
 
+         $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pkgpyexecdir)/$$f"; \
59520
 
        done
59521
 
 
59522
 
 clean-pkgpyexecLTLIBRARIES:
59523
 
@@ -337,38 +364,38 @@ distclean-compile:
59524
 
 
59525
 
 .c.o:
59526
 
 @am__fastdepCC_TRUE@   $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
59527
 
-@am__fastdepCC_TRUE@   mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
59528
 
+@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
59529
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
59530
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
59531
 
 @am__fastdepCC_FALSE@  $(COMPILE) -c $<
59532
 
 
59533
 
 .c.obj:
59534
 
 @am__fastdepCC_TRUE@   $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
59535
 
-@am__fastdepCC_TRUE@   mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
59536
 
+@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
59537
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
59538
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
59539
 
 @am__fastdepCC_FALSE@  $(COMPILE) -c `$(CYGPATH_W) '$<'`
59540
 
 
59541
 
 .c.lo:
59542
 
 @am__fastdepCC_TRUE@   $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
59543
 
-@am__fastdepCC_TRUE@   mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
59544
 
+@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
59545
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
59546
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
59547
 
 @am__fastdepCC_FALSE@  $(LTCOMPILE) -c -o $@ $<
59548
 
 
59549
 
 gtkhtml2_la-gtkhtml2module.lo: gtkhtml2module.c
59550
 
-@am__fastdepCC_TRUE@   $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gtkhtml2_la_CFLAGS) $(CFLAGS) -MT gtkhtml2_la-gtkhtml2module.lo -MD -MP -MF $(DEPDIR)/gtkhtml2_la-gtkhtml2module.Tpo -c -o gtkhtml2_la-gtkhtml2module.lo `test -f 'gtkhtml2module.c' || echo '$(srcdir)/'`gtkhtml2module.c
59551
 
-@am__fastdepCC_TRUE@   mv -f $(DEPDIR)/gtkhtml2_la-gtkhtml2module.Tpo $(DEPDIR)/gtkhtml2_la-gtkhtml2module.Plo
59552
 
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gtkhtml2_la_CFLAGS) $(CFLAGS) -MT gtkhtml2_la-gtkhtml2module.lo -MD -MP -MF $(DEPDIR)/gtkhtml2_la-gtkhtml2module.Tpo -c -o gtkhtml2_la-gtkhtml2module.lo `test -f 'gtkhtml2module.c' || echo '$(srcdir)/'`gtkhtml2module.c
59553
 
+@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/gtkhtml2_la-gtkhtml2module.Tpo $(DEPDIR)/gtkhtml2_la-gtkhtml2module.Plo
59554
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='gtkhtml2module.c' object='gtkhtml2_la-gtkhtml2module.lo' libtool=yes @AMDEPBACKSLASH@
59555
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
59556
 
-@am__fastdepCC_FALSE@  $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gtkhtml2_la_CFLAGS) $(CFLAGS) -c -o gtkhtml2_la-gtkhtml2module.lo `test -f 'gtkhtml2module.c' || echo '$(srcdir)/'`gtkhtml2module.c
59557
 
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gtkhtml2_la_CFLAGS) $(CFLAGS) -c -o gtkhtml2_la-gtkhtml2module.lo `test -f 'gtkhtml2module.c' || echo '$(srcdir)/'`gtkhtml2module.c
59558
 
 
59559
 
 gtkhtml2_la-gtkhtml2.lo: gtkhtml2.c
59560
 
-@am__fastdepCC_TRUE@   $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gtkhtml2_la_CFLAGS) $(CFLAGS) -MT gtkhtml2_la-gtkhtml2.lo -MD -MP -MF $(DEPDIR)/gtkhtml2_la-gtkhtml2.Tpo -c -o gtkhtml2_la-gtkhtml2.lo `test -f 'gtkhtml2.c' || echo '$(srcdir)/'`gtkhtml2.c
59561
 
-@am__fastdepCC_TRUE@   mv -f $(DEPDIR)/gtkhtml2_la-gtkhtml2.Tpo $(DEPDIR)/gtkhtml2_la-gtkhtml2.Plo
59562
 
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gtkhtml2_la_CFLAGS) $(CFLAGS) -MT gtkhtml2_la-gtkhtml2.lo -MD -MP -MF $(DEPDIR)/gtkhtml2_la-gtkhtml2.Tpo -c -o gtkhtml2_la-gtkhtml2.lo `test -f 'gtkhtml2.c' || echo '$(srcdir)/'`gtkhtml2.c
59563
 
+@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/gtkhtml2_la-gtkhtml2.Tpo $(DEPDIR)/gtkhtml2_la-gtkhtml2.Plo
59564
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='gtkhtml2.c' object='gtkhtml2_la-gtkhtml2.lo' libtool=yes @AMDEPBACKSLASH@
59565
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
59566
 
-@am__fastdepCC_FALSE@  $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gtkhtml2_la_CFLAGS) $(CFLAGS) -c -o gtkhtml2_la-gtkhtml2.lo `test -f 'gtkhtml2.c' || echo '$(srcdir)/'`gtkhtml2.c
59567
 
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gtkhtml2_la_CFLAGS) $(CFLAGS) -c -o gtkhtml2_la-gtkhtml2.lo `test -f 'gtkhtml2.c' || echo '$(srcdir)/'`gtkhtml2.c
59568
 
 
59569
 
 mostlyclean-libtool:
59570
 
        -rm -f *.lo
59571
 
@@ -378,34 +405,37 @@ clean-libtool:
59572
 
 install-defsDATA: $(defs_DATA)
59573
 
        @$(NORMAL_INSTALL)
59574
 
        test -z "$(defsdir)" || $(MKDIR_P) "$(DESTDIR)$(defsdir)"
59575
 
-       @list='$(defs_DATA)'; for p in $$list; do \
59576
 
+       @list='$(defs_DATA)'; test -n "$(defsdir)" || list=; \
59577
 
+       for p in $$list; do \
59578
 
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
59579
 
-         f=$(am__strip_dir) \
59580
 
-         echo " $(defsDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(defsdir)/$$f'"; \
59581
 
-         $(defsDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(defsdir)/$$f"; \
59582
 
+         echo "$$d$$p"; \
59583
 
+       done | $(am__base_list) | \
59584
 
+       while read files; do \
59585
 
+         echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(defsdir)'"; \
59586
 
+         $(INSTALL_DATA) $$files "$(DESTDIR)$(defsdir)" || exit $$?; \
59587
 
        done
59588
 
 
59589
 
 uninstall-defsDATA:
59590
 
        @$(NORMAL_UNINSTALL)
59591
 
-       @list='$(defs_DATA)'; for p in $$list; do \
59592
 
-         f=$(am__strip_dir) \
59593
 
-         echo " rm -f '$(DESTDIR)$(defsdir)/$$f'"; \
59594
 
-         rm -f "$(DESTDIR)$(defsdir)/$$f"; \
59595
 
-       done
59596
 
+       @list='$(defs_DATA)'; test -n "$(defsdir)" || list=; \
59597
 
+       files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
59598
 
+       test -n "$$files" || exit 0; \
59599
 
+       echo " ( cd '$(DESTDIR)$(defsdir)' && rm -f" $$files ")"; \
59600
 
+       cd "$(DESTDIR)$(defsdir)" && rm -f $$files
59601
 
 
59602
 
 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
59603
 
        list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
59604
 
        unique=`for i in $$list; do \
59605
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
59606
 
          done | \
59607
 
-         $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
59608
 
+         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
59609
 
              END { if (nonempty) { for (i in files) print i; }; }'`; \
59610
 
        mkid -fID $$unique
59611
 
 tags: TAGS
59612
 
 
59613
 
 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
59614
 
                $(TAGS_FILES) $(LISP)
59615
 
-       tags=; \
59616
 
+       set x; \
59617
 
        here=`pwd`; \
59618
 
        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
59619
 
        unique=`for i in $$list; do \
59620
 
@@ -413,29 +443,34 @@ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEP
59621
 
          done | \
59622
 
          $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
59623
 
              END { if (nonempty) { for (i in files) print i; }; }'`; \
59624
 
-       if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
59625
 
+       shift; \
59626
 
+       if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
59627
 
          test -n "$$unique" || unique=$$empty_fix; \
59628
 
-         $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
59629
 
-           $$tags $$unique; \
59630
 
+         if test $$# -gt 0; then \
59631
 
+           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
59632
 
+             "$$@" $$unique; \
59633
 
+         else \
59634
 
+           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
59635
 
+             $$unique; \
59636
 
+         fi; \
59637
 
        fi
59638
 
 ctags: CTAGS
59639
 
 CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
59640
 
                $(TAGS_FILES) $(LISP)
59641
 
-       tags=; \
59642
 
        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
59643
 
        unique=`for i in $$list; do \
59644
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
59645
 
          done | \
59646
 
          $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
59647
 
              END { if (nonempty) { for (i in files) print i; }; }'`; \
59648
 
-       test -z "$(CTAGS_ARGS)$$tags$$unique" \
59649
 
+       test -z "$(CTAGS_ARGS)$$unique" \
59650
 
          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
59651
 
-            $$tags $$unique
59652
 
+            $$unique
59653
 
 
59654
 
 GTAGS:
59655
 
        here=`$(am__cd) $(top_builddir) && pwd` \
59656
 
-         && cd $(top_srcdir) \
59657
 
-         && gtags -i $(GTAGS_ARGS) $$here
59658
 
+         && $(am__cd) $(top_srcdir) \
59659
 
+         && gtags -i $(GTAGS_ARGS) "$$here"
59660
 
 
59661
 
 distclean-tags:
59662
 
        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
59663
 
@@ -456,13 +491,17 @@ distdir: $(DISTFILES)
59664
 
          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
59665
 
          if test -d $$d/$$file; then \
59666
 
            dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
59667
 
+           if test -d "$(distdir)/$$file"; then \
59668
 
+             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
59669
 
+           fi; \
59670
 
            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
59671
 
-             cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
59672
 
+             cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
59673
 
+             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
59674
 
            fi; \
59675
 
-           cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
59676
 
+           cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
59677
 
          else \
59678
 
-           test -f $(distdir)/$$file \
59679
 
-           || cp -p $$d/$$file $(distdir)/$$file \
59680
 
+           test -f "$(distdir)/$$file" \
59681
 
+           || cp -p $$d/$$file "$(distdir)/$$file" \
59682
 
            || exit 1; \
59683
 
          fi; \
59684
 
        done
59685
 
@@ -494,6 +533,7 @@ clean-generic:
59686
 
 
59687
 
 distclean-generic:
59688
 
        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
59689
 
+       -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
59690
 
 
59691
 
 maintainer-clean-generic:
59692
 
        @echo "This command is intended for maintainers to use"
59693
 
@@ -515,6 +555,8 @@ dvi-am:
59694
 
 
59695
 
 html: html-am
59696
 
 
59697
 
+html-am:
59698
 
+
59699
 
 info: info-am
59700
 
 
59701
 
 info-am:
59702
 
@@ -523,18 +565,28 @@ install-data-am: install-defsDATA
59703
 
 
59704
 
 install-dvi: install-dvi-am
59705
 
 
59706
 
+install-dvi-am:
59707
 
+
59708
 
 install-exec-am: install-pkgpyexecLTLIBRARIES
59709
 
 
59710
 
 install-html: install-html-am
59711
 
 
59712
 
+install-html-am:
59713
 
+
59714
 
 install-info: install-info-am
59715
 
 
59716
 
+install-info-am:
59717
 
+
59718
 
 install-man:
59719
 
 
59720
 
 install-pdf: install-pdf-am
59721
 
 
59722
 
+install-pdf-am:
59723
 
+
59724
 
 install-ps: install-ps-am
59725
 
 
59726
 
+install-ps-am:
59727
 
+
59728
 
 installcheck-am:
59729
 
 
59730
 
 maintainer-clean: maintainer-clean-am
59731
 
@@ -585,6 +637,7 @@ gtkhtml2.c: gtkhtml2.defs gtkhtml2.overr
59732
 
            --prefix py$* $*.defs) > gen-$*.c \
59733
 
        && cp gen-$*.c $*.c \
59734
 
        && rm -f gen-$*.c
59735
 
+
59736
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
59737
 
 # Otherwise a system limit (for SysV at least) may be exceeded.
59738
 
 .NOEXPORT:
59739
 
diff -Nurp gnome-python-extras-2.25.3.orig/gtkmozembed/Makefile.in gnome-python-extras-2.25.3/gtkmozembed/Makefile.in
59740
 
--- gnome-python-extras-2.25.3.orig/gtkmozembed/Makefile.in     2009-02-15 22:21:02.000000000 +0000
59741
 
+++ gnome-python-extras-2.25.3/gtkmozembed/Makefile.in  2009-12-15 01:42:17.620346491 +0000
59742
 
@@ -1,8 +1,9 @@
59743
 
-# Makefile.in generated by automake 1.10.1 from Makefile.am.
59744
 
+# Makefile.in generated by automake 1.11 from Makefile.am.
59745
 
 # @configure_input@
59746
 
 
59747
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
59748
 
-# 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
59749
 
+# 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
59750
 
+# Inc.
59751
 
 # This Makefile.in is free software; the Free Software Foundation
59752
 
 # gives unlimited permission to copy and/or distribute it,
59753
 
 # with or without modifications, as long as this notice is preserved.
59754
 
@@ -17,8 +18,9 @@
59755
 
 
59756
 
 VPATH = @srcdir@
59757
 
 pkgdatadir = $(datadir)/@PACKAGE@
59758
 
-pkglibdir = $(libdir)/@PACKAGE@
59759
 
 pkgincludedir = $(includedir)/@PACKAGE@
59760
 
+pkglibdir = $(libdir)/@PACKAGE@
59761
 
+pkglibexecdir = $(libexecdir)/@PACKAGE@
59762
 
 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
59763
 
 install_sh_DATA = $(install_sh) -c -m 644
59764
 
 install_sh_PROGRAM = $(install_sh) -c
59765
 
@@ -43,14 +45,29 @@ am__configure_deps = $(am__aclocal_m4_de
59766
 
 mkinstalldirs = $(install_sh) -d
59767
 
 CONFIG_HEADER = $(top_builddir)/config.h
59768
 
 CONFIG_CLEAN_FILES =
59769
 
+CONFIG_CLEAN_VPATH_FILES =
59770
 
 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
59771
 
 am__vpath_adj = case $$p in \
59772
 
     $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
59773
 
     *) f=$$p;; \
59774
 
   esac;
59775
 
-am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
59776
 
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
59777
 
+am__install_max = 40
59778
 
+am__nobase_strip_setup = \
59779
 
+  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
59780
 
+am__nobase_strip = \
59781
 
+  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
59782
 
+am__nobase_list = $(am__nobase_strip_setup); \
59783
 
+  for p in $$list; do echo "$$p $$p"; done | \
59784
 
+  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
59785
 
+  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
59786
 
+    if (++n[$$2] == $(am__install_max)) \
59787
 
+      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
59788
 
+    END { for (dir in files) print dir, files[dir] }'
59789
 
+am__base_list = \
59790
 
+  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
59791
 
+  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
59792
 
 am__installdirs = "$(DESTDIR)$(pkgpyexecdir)" "$(DESTDIR)$(defsdir)"
59793
 
-pkgpyexecLTLIBRARIES_INSTALL = $(INSTALL)
59794
 
 LTLIBRARIES = $(pkgpyexec_LTLIBRARIES)
59795
 
 am__DEPENDENCIES_1 =
59796
 
 gtkmozembed_la_DEPENDENCIES = $(am__DEPENDENCIES_1)
59797
 
@@ -58,12 +75,13 @@ am_gtkmozembed_la_OBJECTS = gtkmozembedm
59798
 
 nodist_gtkmozembed_la_OBJECTS = gtkmozembed.lo
59799
 
 gtkmozembed_la_OBJECTS = $(am_gtkmozembed_la_OBJECTS) \
59800
 
        $(nodist_gtkmozembed_la_OBJECTS)
59801
 
-gtkmozembed_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
59802
 
-       $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
59803
 
-       $(gtkmozembed_la_LDFLAGS) $(LDFLAGS) -o $@
59804
 
+gtkmozembed_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \
59805
 
+       $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
59806
 
+       $(CXXFLAGS) $(gtkmozembed_la_LDFLAGS) $(LDFLAGS) -o $@
59807
 
 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
59808
 
 depcomp = $(SHELL) $(top_srcdir)/depcomp
59809
 
 am__depfiles_maybe = depfiles
59810
 
+am__mv = mv -f
59811
 
 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
59812
 
        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
59813
 
 LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
59814
 
@@ -73,9 +91,17 @@ CCLD = $(CC)
59815
 
 LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
59816
 
        --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
59817
 
        $(LDFLAGS) -o $@
59818
 
+CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
59819
 
+       $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
59820
 
+LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
59821
 
+       --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
59822
 
+       $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
59823
 
+CXXLD = $(CXX)
59824
 
+CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
59825
 
+       --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \
59826
 
+       $(LDFLAGS) -o $@
59827
 
 SOURCES = $(gtkmozembed_la_SOURCES) $(nodist_gtkmozembed_la_SOURCES)
59828
 
 DIST_SOURCES = $(gtkmozembed_la_SOURCES)
59829
 
-defsDATA_INSTALL = $(INSTALL_DATA)
59830
 
 DATA = $(defs_DATA)
59831
 
 ETAGS = etags
59832
 
 CTAGS = ctags
59833
 
@@ -103,7 +129,7 @@ DEFS = @DEFS@
59834
 
 DEPDIR = @DEPDIR@
59835
 
 DLLTOOL = @DLLTOOL@
59836
 
 DSYMUTIL = @DSYMUTIL@
59837
 
-ECHO = @ECHO@
59838
 
+DUMPBIN = @DUMPBIN@
59839
 
 ECHO_C = @ECHO_C@
59840
 
 ECHO_N = @ECHO_N@
59841
 
 ECHO_T = @ECHO_T@
59842
 
@@ -113,8 +139,7 @@ EGG_RECENT_CFLAGS = @EGG_RECENT_CFLAGS@
59843
 
 EGG_RECENT_LIBS = @EGG_RECENT_LIBS@
59844
 
 EGREP = @EGREP@
59845
 
 EXEEXT = @EXEEXT@
59846
 
-F77 = @F77@
59847
 
-FFLAGS = @FFLAGS@
59848
 
+FGREP = @FGREP@
59849
 
 GDA_CFLAGS = @GDA_CFLAGS@
59850
 
 GDA_LIBS = @GDA_LIBS@
59851
 
 GDL_CFLAGS = @GDL_CFLAGS@
59852
 
@@ -147,23 +172,30 @@ INSTALL_DATA = @INSTALL_DATA@
59853
 
 INSTALL_PROGRAM = @INSTALL_PROGRAM@
59854
 
 INSTALL_SCRIPT = @INSTALL_SCRIPT@
59855
 
 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
59856
 
+LD = @LD@
59857
 
 LDFLAGS = @LDFLAGS@
59858
 
 LIBOBJS = @LIBOBJS@
59859
 
 LIBS = @LIBS@
59860
 
 LIBTOOL = @LIBTOOL@
59861
 
+LIPO = @LIPO@
59862
 
 LN_S = @LN_S@
59863
 
 LTLIBOBJS = @LTLIBOBJS@
59864
 
+MAINT = @MAINT@
59865
 
 MAKEINFO = @MAKEINFO@
59866
 
 MKDIR_P = @MKDIR_P@
59867
 
 MOZILLA_HOME = @MOZILLA_HOME@
59868
 
+NM = @NM@
59869
 
 NMEDIT = @NMEDIT@
59870
 
 OBJDUMP = @OBJDUMP@
59871
 
 OBJEXT = @OBJEXT@
59872
 
+OTOOL = @OTOOL@
59873
 
+OTOOL64 = @OTOOL64@
59874
 
 PACKAGE = @PACKAGE@
59875
 
 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
59876
 
 PACKAGE_NAME = @PACKAGE_NAME@
59877
 
 PACKAGE_STRING = @PACKAGE_STRING@
59878
 
 PACKAGE_TARNAME = @PACKAGE_TARNAME@
59879
 
+PACKAGE_URL = @PACKAGE_URL@
59880
 
 PACKAGE_VERSION = @PACKAGE_VERSION@
59881
 
 PATH_SEPARATOR = @PATH_SEPARATOR@
59882
 
 PKG_CONFIG = @PKG_CONFIG@
59883
 
@@ -190,15 +222,13 @@ SHELL = @SHELL@
59884
 
 STRIP = @STRIP@
59885
 
 VERSION = @VERSION@
59886
 
 XSLTPROC = @XSLTPROC@
59887
 
-XUL19_CFLAGS = @XUL19_CFLAGS@
59888
 
-XUL19_LIBS = @XUL19_LIBS@
59889
 
 abs_builddir = @abs_builddir@
59890
 
 abs_srcdir = @abs_srcdir@
59891
 
 abs_top_builddir = @abs_top_builddir@
59892
 
 abs_top_srcdir = @abs_top_srcdir@
59893
 
 ac_ct_CC = @ac_ct_CC@
59894
 
 ac_ct_CXX = @ac_ct_CXX@
59895
 
-ac_ct_F77 = @ac_ct_F77@
59896
 
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
59897
 
 am__include = @am__include@
59898
 
 am__leading_dot = @am__leading_dot@
59899
 
 am__quote = @am__quote@
59900
 
@@ -229,6 +259,7 @@ libdir = @libdir@
59901
 
 libexecdir = @libexecdir@
59902
 
 localedir = @localedir@
59903
 
 localstatedir = @localstatedir@
59904
 
+lt_ECHO = @lt_ECHO@
59905
 
 mandir = @mandir@
59906
 
 mkdir_p = @mkdir_p@
59907
 
 oldincludedir = @oldincludedir@
59908
 
@@ -259,29 +290,29 @@ defs_DATA = gtkmozembed.defs
59909
 
 pkgpyexec_LTLIBRARIES = gtkmozembed.la
59910
 
 gtkmozembed_la_LDFLAGS = -module -avoid-version        \
59911
 
        -export-symbols-regex initgtkmozembed   \
59912
 
-       -R$(MOZILLA_HOME) -L$(MOZILLA_HOME)
59913
 
+       $(NULL)
59914
 
 
59915
 
 gtkmozembed_la_LIBADD = $(GTKMOZEMBED_LIBS)
59916
 
-gtkmozembed_la_SOURCES = gtkmozembedmodule.c
59917
 
+gtkmozembed_la_SOURCES = gtkmozembedmodule.cpp
59918
 
 nodist_gtkmozembed_la_SOURCES = gtkmozembed.c
59919
 
 CLEANFILES = gtkmozembed.c
59920
 
 EXTRA_DIST = gtkmozembed.override gtkmozembed.defs
59921
 
 all: all-am
59922
 
 
59923
 
 .SUFFIXES:
59924
 
-.SUFFIXES: .c .defs .lo .o .obj
59925
 
-$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
59926
 
+.SUFFIXES: .c .cpp .defs .lo .o .obj
59927
 
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
59928
 
        @for dep in $?; do \
59929
 
          case '$(am__configure_deps)' in \
59930
 
            *$$dep*) \
59931
 
-             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
59932
 
-               && exit 0; \
59933
 
+             ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
59934
 
+               && { if test -f $@; then exit 0; else break; fi; }; \
59935
 
              exit 1;; \
59936
 
          esac; \
59937
 
        done; \
59938
 
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  gtkmozembed/Makefile'; \
59939
 
-       cd $(top_srcdir) && \
59940
 
-         $(AUTOMAKE) --gnu  gtkmozembed/Makefile
59941
 
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu gtkmozembed/Makefile'; \
59942
 
+       $(am__cd) $(top_srcdir) && \
59943
 
+         $(AUTOMAKE) --gnu gtkmozembed/Makefile
59944
 
 .PRECIOUS: Makefile
59945
 
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
59946
 
        @case '$?' in \
59947
 
@@ -295,27 +326,32 @@ Makefile: $(srcdir)/Makefile.in $(top_bu
59948
 
 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
59949
 
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
59950
 
 
59951
 
-$(top_srcdir)/configure:  $(am__configure_deps)
59952
 
+$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
59953
 
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
59954
 
-$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
59955
 
+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
59956
 
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
59957
 
+$(am__aclocal_m4_deps):
59958
 
 install-pkgpyexecLTLIBRARIES: $(pkgpyexec_LTLIBRARIES)
59959
 
        @$(NORMAL_INSTALL)
59960
 
        test -z "$(pkgpyexecdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgpyexecdir)"
59961
 
-       @list='$(pkgpyexec_LTLIBRARIES)'; for p in $$list; do \
59962
 
+       @list='$(pkgpyexec_LTLIBRARIES)'; test -n "$(pkgpyexecdir)" || list=; \
59963
 
+       list2=; for p in $$list; do \
59964
 
          if test -f $$p; then \
59965
 
-           f=$(am__strip_dir) \
59966
 
-           echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(pkgpyexecLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(pkgpyexecdir)/$$f'"; \
59967
 
-           $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(pkgpyexecLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(pkgpyexecdir)/$$f"; \
59968
 
+           list2="$$list2 $$p"; \
59969
 
          else :; fi; \
59970
 
-       done
59971
 
+       done; \
59972
 
+       test -z "$$list2" || { \
59973
 
+         echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pkgpyexecdir)'"; \
59974
 
+         $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pkgpyexecdir)"; \
59975
 
+       }
59976
 
 
59977
 
 uninstall-pkgpyexecLTLIBRARIES:
59978
 
        @$(NORMAL_UNINSTALL)
59979
 
-       @list='$(pkgpyexec_LTLIBRARIES)'; for p in $$list; do \
59980
 
-         p=$(am__strip_dir) \
59981
 
-         echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pkgpyexecdir)/$$p'"; \
59982
 
-         $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pkgpyexecdir)/$$p"; \
59983
 
+       @list='$(pkgpyexec_LTLIBRARIES)'; test -n "$(pkgpyexecdir)" || list=; \
59984
 
+       for p in $$list; do \
59985
 
+         $(am__strip_dir) \
59986
 
+         echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pkgpyexecdir)/$$f'"; \
59987
 
+         $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pkgpyexecdir)/$$f"; \
59988
 
        done
59989
 
 
59990
 
 clean-pkgpyexecLTLIBRARIES:
59991
 
@@ -340,25 +376,46 @@ distclean-compile:
59992
 
 
59993
 
 .c.o:
59994
 
 @am__fastdepCC_TRUE@   $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
59995
 
-@am__fastdepCC_TRUE@   mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
59996
 
+@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
59997
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
59998
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
59999
 
 @am__fastdepCC_FALSE@  $(COMPILE) -c $<
60000
 
 
60001
 
 .c.obj:
60002
 
 @am__fastdepCC_TRUE@   $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
60003
 
-@am__fastdepCC_TRUE@   mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
60004
 
+@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
60005
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
60006
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
60007
 
 @am__fastdepCC_FALSE@  $(COMPILE) -c `$(CYGPATH_W) '$<'`
60008
 
 
60009
 
 .c.lo:
60010
 
 @am__fastdepCC_TRUE@   $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
60011
 
-@am__fastdepCC_TRUE@   mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
60012
 
+@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
60013
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
60014
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
60015
 
 @am__fastdepCC_FALSE@  $(LTCOMPILE) -c -o $@ $<
60016
 
 
60017
 
+.cpp.o:
60018
 
+@am__fastdepCXX_TRUE@  $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
60019
 
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
60020
 
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
60021
 
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
60022
 
+@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $<
60023
 
+
60024
 
+.cpp.obj:
60025
 
+@am__fastdepCXX_TRUE@  $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
60026
 
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
60027
 
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
60028
 
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
60029
 
+@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
60030
 
+
60031
 
+.cpp.lo:
60032
 
+@am__fastdepCXX_TRUE@  $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
60033
 
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
60034
 
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
60035
 
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
60036
 
+@am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $<
60037
 
+
60038
 
 mostlyclean-libtool:
60039
 
        -rm -f *.lo
60040
 
 
60041
 
@@ -367,34 +424,37 @@ clean-libtool:
60042
 
 install-defsDATA: $(defs_DATA)
60043
 
        @$(NORMAL_INSTALL)
60044
 
        test -z "$(defsdir)" || $(MKDIR_P) "$(DESTDIR)$(defsdir)"
60045
 
-       @list='$(defs_DATA)'; for p in $$list; do \
60046
 
+       @list='$(defs_DATA)'; test -n "$(defsdir)" || list=; \
60047
 
+       for p in $$list; do \
60048
 
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
60049
 
-         f=$(am__strip_dir) \
60050
 
-         echo " $(defsDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(defsdir)/$$f'"; \
60051
 
-         $(defsDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(defsdir)/$$f"; \
60052
 
+         echo "$$d$$p"; \
60053
 
+       done | $(am__base_list) | \
60054
 
+       while read files; do \
60055
 
+         echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(defsdir)'"; \
60056
 
+         $(INSTALL_DATA) $$files "$(DESTDIR)$(defsdir)" || exit $$?; \
60057
 
        done
60058
 
 
60059
 
 uninstall-defsDATA:
60060
 
        @$(NORMAL_UNINSTALL)
60061
 
-       @list='$(defs_DATA)'; for p in $$list; do \
60062
 
-         f=$(am__strip_dir) \
60063
 
-         echo " rm -f '$(DESTDIR)$(defsdir)/$$f'"; \
60064
 
-         rm -f "$(DESTDIR)$(defsdir)/$$f"; \
60065
 
-       done
60066
 
+       @list='$(defs_DATA)'; test -n "$(defsdir)" || list=; \
60067
 
+       files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
60068
 
+       test -n "$$files" || exit 0; \
60069
 
+       echo " ( cd '$(DESTDIR)$(defsdir)' && rm -f" $$files ")"; \
60070
 
+       cd "$(DESTDIR)$(defsdir)" && rm -f $$files
60071
 
 
60072
 
 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
60073
 
        list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
60074
 
        unique=`for i in $$list; do \
60075
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
60076
 
          done | \
60077
 
-         $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
60078
 
+         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
60079
 
              END { if (nonempty) { for (i in files) print i; }; }'`; \
60080
 
        mkid -fID $$unique
60081
 
 tags: TAGS
60082
 
 
60083
 
 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
60084
 
                $(TAGS_FILES) $(LISP)
60085
 
-       tags=; \
60086
 
+       set x; \
60087
 
        here=`pwd`; \
60088
 
        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
60089
 
        unique=`for i in $$list; do \
60090
 
@@ -402,29 +462,34 @@ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEP
60091
 
          done | \
60092
 
          $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
60093
 
              END { if (nonempty) { for (i in files) print i; }; }'`; \
60094
 
-       if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
60095
 
+       shift; \
60096
 
+       if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
60097
 
          test -n "$$unique" || unique=$$empty_fix; \
60098
 
-         $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
60099
 
-           $$tags $$unique; \
60100
 
+         if test $$# -gt 0; then \
60101
 
+           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
60102
 
+             "$$@" $$unique; \
60103
 
+         else \
60104
 
+           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
60105
 
+             $$unique; \
60106
 
+         fi; \
60107
 
        fi
60108
 
 ctags: CTAGS
60109
 
 CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
60110
 
                $(TAGS_FILES) $(LISP)
60111
 
-       tags=; \
60112
 
        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
60113
 
        unique=`for i in $$list; do \
60114
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
60115
 
          done | \
60116
 
          $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
60117
 
              END { if (nonempty) { for (i in files) print i; }; }'`; \
60118
 
-       test -z "$(CTAGS_ARGS)$$tags$$unique" \
60119
 
+       test -z "$(CTAGS_ARGS)$$unique" \
60120
 
          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
60121
 
-            $$tags $$unique
60122
 
+            $$unique
60123
 
 
60124
 
 GTAGS:
60125
 
        here=`$(am__cd) $(top_builddir) && pwd` \
60126
 
-         && cd $(top_srcdir) \
60127
 
-         && gtags -i $(GTAGS_ARGS) $$here
60128
 
+         && $(am__cd) $(top_srcdir) \
60129
 
+         && gtags -i $(GTAGS_ARGS) "$$here"
60130
 
 
60131
 
 distclean-tags:
60132
 
        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
60133
 
@@ -445,13 +510,17 @@ distdir: $(DISTFILES)
60134
 
          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
60135
 
          if test -d $$d/$$file; then \
60136
 
            dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
60137
 
+           if test -d "$(distdir)/$$file"; then \
60138
 
+             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
60139
 
+           fi; \
60140
 
            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
60141
 
-             cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
60142
 
+             cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
60143
 
+             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
60144
 
            fi; \
60145
 
-           cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
60146
 
+           cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
60147
 
          else \
60148
 
-           test -f $(distdir)/$$file \
60149
 
-           || cp -p $$d/$$file $(distdir)/$$file \
60150
 
+           test -f "$(distdir)/$$file" \
60151
 
+           || cp -p $$d/$$file "$(distdir)/$$file" \
60152
 
            || exit 1; \
60153
 
          fi; \
60154
 
        done
60155
 
@@ -483,6 +552,7 @@ clean-generic:
60156
 
 
60157
 
 distclean-generic:
60158
 
        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
60159
 
+       -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
60160
 
 
60161
 
 maintainer-clean-generic:
60162
 
        @echo "This command is intended for maintainers to use"
60163
 
@@ -504,6 +574,8 @@ dvi-am:
60164
 
 
60165
 
 html: html-am
60166
 
 
60167
 
+html-am:
60168
 
+
60169
 
 info: info-am
60170
 
 
60171
 
 info-am:
60172
 
@@ -512,18 +584,28 @@ install-data-am: install-defsDATA
60173
 
 
60174
 
 install-dvi: install-dvi-am
60175
 
 
60176
 
+install-dvi-am:
60177
 
+
60178
 
 install-exec-am: install-pkgpyexecLTLIBRARIES
60179
 
 
60180
 
 install-html: install-html-am
60181
 
 
60182
 
+install-html-am:
60183
 
+
60184
 
 install-info: install-info-am
60185
 
 
60186
 
+install-info-am:
60187
 
+
60188
 
 install-man:
60189
 
 
60190
 
 install-pdf: install-pdf-am
60191
 
 
60192
 
+install-pdf-am:
60193
 
+
60194
 
 install-ps: install-ps-am
60195
 
 
60196
 
+install-ps-am:
60197
 
+
60198
 
 installcheck-am:
60199
 
 
60200
 
 maintainer-clean: maintainer-clean-am
60201
 
@@ -563,6 +645,9 @@ uninstall-am: uninstall-defsDATA uninsta
60202
 
        pdf pdf-am ps ps-am tags uninstall uninstall-am \
60203
 
        uninstall-defsDATA uninstall-pkgpyexecLTLIBRARIES
60204
 
 
60205
 
+
60206
 
+# only use rpath for non-glue builds
60207
 
+@HAVE_XPCOM_GLUE_FALSE@       gtkmozembed_la_LDFLAGS + = -R$(MOZILLA_HOME) -L$(MOZILLA_HOME)
60208
 
 gtkmozembed.c: gtkmozembed.defs gtkmozembed.override
60209
 
 
60210
 
 .defs.c:
60211
 
@@ -573,6 +658,7 @@ gtkmozembed.c: gtkmozembed.defs gtkmozem
60212
 
            --prefix py$* $*.defs) > gen-$*.c \
60213
 
        && cp gen-$*.c $*.c \
60214
 
        && rm -f gen-$*.c
60215
 
+
60216
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
60217
 
 # Otherwise a system limit (for SysV at least) may be exceeded.
60218
 
 .NOEXPORT:
60219
 
diff -Nurp gnome-python-extras-2.25.3.orig/gtkspell/Makefile.in gnome-python-extras-2.25.3/gtkspell/Makefile.in
60220
 
--- gnome-python-extras-2.25.3.orig/gtkspell/Makefile.in        2009-02-15 22:21:02.000000000 +0000
60221
 
+++ gnome-python-extras-2.25.3/gtkspell/Makefile.in     2009-12-15 01:42:17.710348154 +0000
60222
 
@@ -1,8 +1,9 @@
60223
 
-# Makefile.in generated by automake 1.10.1 from Makefile.am.
60224
 
+# Makefile.in generated by automake 1.11 from Makefile.am.
60225
 
 # @configure_input@
60226
 
 
60227
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
60228
 
-# 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
60229
 
+# 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
60230
 
+# Inc.
60231
 
 # This Makefile.in is free software; the Free Software Foundation
60232
 
 # gives unlimited permission to copy and/or distribute it,
60233
 
 # with or without modifications, as long as this notice is preserved.
60234
 
@@ -16,8 +17,9 @@
60235
 
 
60236
 
 VPATH = @srcdir@
60237
 
 pkgdatadir = $(datadir)/@PACKAGE@
60238
 
-pkglibdir = $(libdir)/@PACKAGE@
60239
 
 pkgincludedir = $(includedir)/@PACKAGE@
60240
 
+pkglibdir = $(libdir)/@PACKAGE@
60241
 
+pkglibexecdir = $(libexecdir)/@PACKAGE@
60242
 
 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
60243
 
 install_sh_DATA = $(install_sh) -c -m 644
60244
 
 install_sh_PROGRAM = $(install_sh) -c
60245
 
@@ -42,14 +44,29 @@ am__configure_deps = $(am__aclocal_m4_de
60246
 
 mkinstalldirs = $(install_sh) -d
60247
 
 CONFIG_HEADER = $(top_builddir)/config.h
60248
 
 CONFIG_CLEAN_FILES =
60249
 
+CONFIG_CLEAN_VPATH_FILES =
60250
 
 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
60251
 
 am__vpath_adj = case $$p in \
60252
 
     $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
60253
 
     *) f=$$p;; \
60254
 
   esac;
60255
 
-am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
60256
 
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
60257
 
+am__install_max = 40
60258
 
+am__nobase_strip_setup = \
60259
 
+  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
60260
 
+am__nobase_strip = \
60261
 
+  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
60262
 
+am__nobase_list = $(am__nobase_strip_setup); \
60263
 
+  for p in $$list; do echo "$$p $$p"; done | \
60264
 
+  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
60265
 
+  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
60266
 
+    if (++n[$$2] == $(am__install_max)) \
60267
 
+      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
60268
 
+    END { for (dir in files) print dir, files[dir] }'
60269
 
+am__base_list = \
60270
 
+  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
60271
 
+  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
60272
 
 am__installdirs = "$(DESTDIR)$(pkgpyexecdir)"
60273
 
-pkgpyexecLTLIBRARIES_INSTALL = $(INSTALL)
60274
 
 LTLIBRARIES = $(pkgpyexec_LTLIBRARIES)
60275
 
 gtkspell_la_LIBADD =
60276
 
 am_gtkspell_la_OBJECTS = gtkspellmodule.lo
60277
 
@@ -60,6 +77,7 @@ gtkspell_la_LINK = $(LIBTOOL) --tag=CC $
60278
 
 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
60279
 
 depcomp = $(SHELL) $(top_srcdir)/depcomp
60280
 
 am__depfiles_maybe = depfiles
60281
 
+am__mv = mv -f
60282
 
 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
60283
 
        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
60284
 
 LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
60285
 
@@ -97,7 +115,7 @@ DEFS = @DEFS@
60286
 
 DEPDIR = @DEPDIR@
60287
 
 DLLTOOL = @DLLTOOL@
60288
 
 DSYMUTIL = @DSYMUTIL@
60289
 
-ECHO = @ECHO@
60290
 
+DUMPBIN = @DUMPBIN@
60291
 
 ECHO_C = @ECHO_C@
60292
 
 ECHO_N = @ECHO_N@
60293
 
 ECHO_T = @ECHO_T@
60294
 
@@ -107,8 +125,7 @@ EGG_RECENT_CFLAGS = @EGG_RECENT_CFLAGS@
60295
 
 EGG_RECENT_LIBS = @EGG_RECENT_LIBS@
60296
 
 EGREP = @EGREP@
60297
 
 EXEEXT = @EXEEXT@
60298
 
-F77 = @F77@
60299
 
-FFLAGS = @FFLAGS@
60300
 
+FGREP = @FGREP@
60301
 
 GDA_CFLAGS = @GDA_CFLAGS@
60302
 
 GDA_LIBS = @GDA_LIBS@
60303
 
 GDL_CFLAGS = @GDL_CFLAGS@
60304
 
@@ -141,23 +158,30 @@ INSTALL_DATA = @INSTALL_DATA@
60305
 
 INSTALL_PROGRAM = @INSTALL_PROGRAM@
60306
 
 INSTALL_SCRIPT = @INSTALL_SCRIPT@
60307
 
 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
60308
 
+LD = @LD@
60309
 
 LDFLAGS = @LDFLAGS@
60310
 
 LIBOBJS = @LIBOBJS@
60311
 
 LIBS = @LIBS@
60312
 
 LIBTOOL = @LIBTOOL@
60313
 
+LIPO = @LIPO@
60314
 
 LN_S = @LN_S@
60315
 
 LTLIBOBJS = @LTLIBOBJS@
60316
 
+MAINT = @MAINT@
60317
 
 MAKEINFO = @MAKEINFO@
60318
 
 MKDIR_P = @MKDIR_P@
60319
 
 MOZILLA_HOME = @MOZILLA_HOME@
60320
 
+NM = @NM@
60321
 
 NMEDIT = @NMEDIT@
60322
 
 OBJDUMP = @OBJDUMP@
60323
 
 OBJEXT = @OBJEXT@
60324
 
+OTOOL = @OTOOL@
60325
 
+OTOOL64 = @OTOOL64@
60326
 
 PACKAGE = @PACKAGE@
60327
 
 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
60328
 
 PACKAGE_NAME = @PACKAGE_NAME@
60329
 
 PACKAGE_STRING = @PACKAGE_STRING@
60330
 
 PACKAGE_TARNAME = @PACKAGE_TARNAME@
60331
 
+PACKAGE_URL = @PACKAGE_URL@
60332
 
 PACKAGE_VERSION = @PACKAGE_VERSION@
60333
 
 PATH_SEPARATOR = @PATH_SEPARATOR@
60334
 
 PKG_CONFIG = @PKG_CONFIG@
60335
 
@@ -184,15 +208,13 @@ SHELL = @SHELL@
60336
 
 STRIP = @STRIP@
60337
 
 VERSION = @VERSION@
60338
 
 XSLTPROC = @XSLTPROC@
60339
 
-XUL19_CFLAGS = @XUL19_CFLAGS@
60340
 
-XUL19_LIBS = @XUL19_LIBS@
60341
 
 abs_builddir = @abs_builddir@
60342
 
 abs_srcdir = @abs_srcdir@
60343
 
 abs_top_builddir = @abs_top_builddir@
60344
 
 abs_top_srcdir = @abs_top_srcdir@
60345
 
 ac_ct_CC = @ac_ct_CC@
60346
 
 ac_ct_CXX = @ac_ct_CXX@
60347
 
-ac_ct_F77 = @ac_ct_F77@
60348
 
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
60349
 
 am__include = @am__include@
60350
 
 am__leading_dot = @am__leading_dot@
60351
 
 am__quote = @am__quote@
60352
 
@@ -223,6 +245,7 @@ libdir = @libdir@
60353
 
 libexecdir = @libexecdir@
60354
 
 localedir = @localedir@
60355
 
 localstatedir = @localstatedir@
60356
 
+lt_ECHO = @lt_ECHO@
60357
 
 mandir = @mandir@
60358
 
 mkdir_p = @mkdir_p@
60359
 
 oldincludedir = @oldincludedir@
60360
 
@@ -251,18 +274,18 @@ all: all-am
60361
 
 
60362
 
 .SUFFIXES:
60363
 
 .SUFFIXES: .c .lo .o .obj
60364
 
-$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
60365
 
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
60366
 
        @for dep in $?; do \
60367
 
          case '$(am__configure_deps)' in \
60368
 
            *$$dep*) \
60369
 
-             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
60370
 
-               && exit 0; \
60371
 
+             ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
60372
 
+               && { if test -f $@; then exit 0; else break; fi; }; \
60373
 
              exit 1;; \
60374
 
          esac; \
60375
 
        done; \
60376
 
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  gtkspell/Makefile'; \
60377
 
-       cd $(top_srcdir) && \
60378
 
-         $(AUTOMAKE) --gnu  gtkspell/Makefile
60379
 
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu gtkspell/Makefile'; \
60380
 
+       $(am__cd) $(top_srcdir) && \
60381
 
+         $(AUTOMAKE) --gnu gtkspell/Makefile
60382
 
 .PRECIOUS: Makefile
60383
 
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
60384
 
        @case '$?' in \
60385
 
@@ -276,27 +299,32 @@ Makefile: $(srcdir)/Makefile.in $(top_bu
60386
 
 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
60387
 
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
60388
 
 
60389
 
-$(top_srcdir)/configure:  $(am__configure_deps)
60390
 
+$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
60391
 
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
60392
 
-$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
60393
 
+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
60394
 
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
60395
 
+$(am__aclocal_m4_deps):
60396
 
 install-pkgpyexecLTLIBRARIES: $(pkgpyexec_LTLIBRARIES)
60397
 
        @$(NORMAL_INSTALL)
60398
 
        test -z "$(pkgpyexecdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgpyexecdir)"
60399
 
-       @list='$(pkgpyexec_LTLIBRARIES)'; for p in $$list; do \
60400
 
+       @list='$(pkgpyexec_LTLIBRARIES)'; test -n "$(pkgpyexecdir)" || list=; \
60401
 
+       list2=; for p in $$list; do \
60402
 
          if test -f $$p; then \
60403
 
-           f=$(am__strip_dir) \
60404
 
-           echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(pkgpyexecLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(pkgpyexecdir)/$$f'"; \
60405
 
-           $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(pkgpyexecLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(pkgpyexecdir)/$$f"; \
60406
 
+           list2="$$list2 $$p"; \
60407
 
          else :; fi; \
60408
 
-       done
60409
 
+       done; \
60410
 
+       test -z "$$list2" || { \
60411
 
+         echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pkgpyexecdir)'"; \
60412
 
+         $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pkgpyexecdir)"; \
60413
 
+       }
60414
 
 
60415
 
 uninstall-pkgpyexecLTLIBRARIES:
60416
 
        @$(NORMAL_UNINSTALL)
60417
 
-       @list='$(pkgpyexec_LTLIBRARIES)'; for p in $$list; do \
60418
 
-         p=$(am__strip_dir) \
60419
 
-         echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pkgpyexecdir)/$$p'"; \
60420
 
-         $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pkgpyexecdir)/$$p"; \
60421
 
+       @list='$(pkgpyexec_LTLIBRARIES)'; test -n "$(pkgpyexecdir)" || list=; \
60422
 
+       for p in $$list; do \
60423
 
+         $(am__strip_dir) \
60424
 
+         echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pkgpyexecdir)/$$f'"; \
60425
 
+         $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pkgpyexecdir)/$$f"; \
60426
 
        done
60427
 
 
60428
 
 clean-pkgpyexecLTLIBRARIES:
60429
 
@@ -320,21 +348,21 @@ distclean-compile:
60430
 
 
60431
 
 .c.o:
60432
 
 @am__fastdepCC_TRUE@   $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
60433
 
-@am__fastdepCC_TRUE@   mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
60434
 
+@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
60435
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
60436
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
60437
 
 @am__fastdepCC_FALSE@  $(COMPILE) -c $<
60438
 
 
60439
 
 .c.obj:
60440
 
 @am__fastdepCC_TRUE@   $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
60441
 
-@am__fastdepCC_TRUE@   mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
60442
 
+@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
60443
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
60444
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
60445
 
 @am__fastdepCC_FALSE@  $(COMPILE) -c `$(CYGPATH_W) '$<'`
60446
 
 
60447
 
 .c.lo:
60448
 
 @am__fastdepCC_TRUE@   $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
60449
 
-@am__fastdepCC_TRUE@   mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
60450
 
+@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
60451
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
60452
 
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
60453
 
 @am__fastdepCC_FALSE@  $(LTCOMPILE) -c -o $@ $<
60454
 
@@ -350,14 +378,14 @@ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS
60455
 
        unique=`for i in $$list; do \
60456
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
60457
 
          done | \
60458
 
-         $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
60459
 
+         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
60460
 
              END { if (nonempty) { for (i in files) print i; }; }'`; \
60461
 
        mkid -fID $$unique
60462
 
 tags: TAGS
60463
 
 
60464
 
 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
60465
 
                $(TAGS_FILES) $(LISP)
60466
 
-       tags=; \
60467
 
+       set x; \
60468
 
        here=`pwd`; \
60469
 
        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
60470
 
        unique=`for i in $$list; do \
60471
 
@@ -365,29 +393,34 @@ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEP
60472
 
          done | \
60473
 
          $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
60474
 
              END { if (nonempty) { for (i in files) print i; }; }'`; \
60475
 
-       if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
60476
 
+       shift; \
60477
 
+       if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
60478
 
          test -n "$$unique" || unique=$$empty_fix; \
60479
 
-         $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
60480
 
-           $$tags $$unique; \
60481
 
+         if test $$# -gt 0; then \
60482
 
+           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
60483
 
+             "$$@" $$unique; \
60484
 
+         else \
60485
 
+           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
60486
 
+             $$unique; \
60487
 
+         fi; \
60488
 
        fi
60489
 
 ctags: CTAGS
60490
 
 CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
60491
 
                $(TAGS_FILES) $(LISP)
60492
 
-       tags=; \
60493
 
        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
60494
 
        unique=`for i in $$list; do \
60495
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
60496
 
          done | \
60497
 
          $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
60498
 
              END { if (nonempty) { for (i in files) print i; }; }'`; \
60499
 
-       test -z "$(CTAGS_ARGS)$$tags$$unique" \
60500
 
+       test -z "$(CTAGS_ARGS)$$unique" \
60501
 
          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
60502
 
-            $$tags $$unique
60503
 
+            $$unique
60504
 
 
60505
 
 GTAGS:
60506
 
        here=`$(am__cd) $(top_builddir) && pwd` \
60507
 
-         && cd $(top_srcdir) \
60508
 
-         && gtags -i $(GTAGS_ARGS) $$here
60509
 
+         && $(am__cd) $(top_srcdir) \
60510
 
+         && gtags -i $(GTAGS_ARGS) "$$here"
60511
 
 
60512
 
 distclean-tags:
60513
 
        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
60514
 
@@ -408,13 +441,17 @@ distdir: $(DISTFILES)
60515
 
          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
60516
 
          if test -d $$d/$$file; then \
60517
 
            dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
60518
 
+           if test -d "$(distdir)/$$file"; then \
60519
 
+             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
60520
 
+           fi; \
60521
 
            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
60522
 
-             cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
60523
 
+             cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
60524
 
+             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
60525
 
            fi; \
60526
 
-           cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
60527
 
+           cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
60528
 
          else \
60529
 
-           test -f $(distdir)/$$file \
60530
 
-           || cp -p $$d/$$file $(distdir)/$$file \
60531
 
+           test -f "$(distdir)/$$file" \
60532
 
+           || cp -p $$d/$$file "$(distdir)/$$file" \
60533
 
            || exit 1; \
60534
 
          fi; \
60535
 
        done
60536
 
@@ -445,6 +482,7 @@ clean-generic:
60537
 
 
60538
 
 distclean-generic:
60539
 
        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
60540
 
+       -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
60541
 
 
60542
 
 maintainer-clean-generic:
60543
 
        @echo "This command is intended for maintainers to use"
60544
 
@@ -466,6 +504,8 @@ dvi-am:
60545
 
 
60546
 
 html: html-am
60547
 
 
60548
 
+html-am:
60549
 
+
60550
 
 info: info-am
60551
 
 
60552
 
 info-am:
60553
 
@@ -474,18 +514,28 @@ install-data-am:
60554
 
 
60555
 
 install-dvi: install-dvi-am
60556
 
 
60557
 
+install-dvi-am:
60558
 
+
60559
 
 install-exec-am: install-pkgpyexecLTLIBRARIES
60560
 
 
60561
 
 install-html: install-html-am
60562
 
 
60563
 
+install-html-am:
60564
 
+
60565
 
 install-info: install-info-am
60566
 
 
60567
 
+install-info-am:
60568
 
+
60569
 
 install-man:
60570
 
 
60571
 
 install-pdf: install-pdf-am
60572
 
 
60573
 
+install-pdf-am:
60574
 
+
60575
 
 install-ps: install-ps-am
60576
 
 
60577
 
+install-ps-am:
60578
 
+
60579
 
 installcheck-am:
60580
 
 
60581
 
 maintainer-clean: maintainer-clean-am
60582
 
@@ -524,6 +574,7 @@ uninstall-am: uninstall-pkgpyexecLTLIBRA
60583
 
        mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
60584
 
        tags uninstall uninstall-am uninstall-pkgpyexecLTLIBRARIES
60585
 
 
60586
 
+
60587
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
60588
 
 # Otherwise a system limit (for SysV at least) may be exceeded.
60589
 
 .NOEXPORT:
60590
 
diff -Nurp gnome-python-extras-2.25.3.orig/ltmain.sh gnome-python-extras-2.25.3/ltmain.sh
60591
 
--- gnome-python-extras-2.25.3.orig/ltmain.sh   2009-01-04 12:24:33.000000000 +0000
60592
 
+++ gnome-python-extras-2.25.3/ltmain.sh        2009-12-15 01:42:11.470348972 +0000
60593
 
@@ -1,52 +1,83 @@
60594
 
-# ltmain.sh - Provide generalized library-building support services.
60595
 
-# NOTE: Changing this file will not affect anything until you rerun configure.
60596
 
-#
60597
 
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006,
60598
 
-# 2007, 2008  Free Software Foundation, Inc.
60599
 
-# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
60600
 
-#
60601
 
-# This program is free software; you can redistribute it and/or modify
60602
 
+# Generated from ltmain.m4sh.
60603
 
+
60604
 
+# ltmain.sh (GNU libtool) 2.2.6
60605
 
+# Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
60606
 
+
60607
 
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 2008 Free Software Foundation, Inc.
60608
 
+# This is free software; see the source for copying conditions.  There is NO
60609
 
+# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
60610
 
+
60611
 
+# GNU Libtool is free software; you can redistribute it and/or modify
60612
 
 # it under the terms of the GNU General Public License as published by
60613
 
 # the Free Software Foundation; either version 2 of the License, or
60614
 
 # (at your option) any later version.
60615
 
 #
60616
 
-# This program is distributed in the hope that it will be useful, but
60617
 
+# As a special exception to the GNU General Public License,
60618
 
+# if you distribute this file as part of a program or library that
60619
 
+# is built using GNU Libtool, you may include this file under the
60620
 
+# same distribution terms that you use for the rest of that program.
60621
 
+#
60622
 
+# GNU Libtool is distributed in the hope that it will be useful, but
60623
 
 # WITHOUT ANY WARRANTY; without even the implied warranty of
60624
 
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
60625
 
 # General Public License for more details.
60626
 
 #
60627
 
 # You should have received a copy of the GNU General Public License
60628
 
-# along with this program; if not, write to the Free Software
60629
 
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
60630
 
-#
60631
 
-# As a special exception to the GNU General Public License, if you
60632
 
-# distribute this file as part of a program that contains a
60633
 
-# configuration script generated by Autoconf, you may include it under
60634
 
-# the same distribution terms that you use for the rest of that program.
60635
 
-
60636
 
-basename="s,^.*/,,g"
60637
 
-
60638
 
-# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh
60639
 
-# is ksh but when the shell is invoked as "sh" and the current value of
60640
 
-# the _XPG environment variable is not equal to 1 (one), the special
60641
 
-# positional parameter $0, within a function call, is the name of the
60642
 
-# function.
60643
 
-progpath="$0"
60644
 
-
60645
 
-# The name of this program:
60646
 
-progname=`echo "$progpath" | $SED $basename`
60647
 
-modename="$progname"
60648
 
+# along with GNU Libtool; see the file COPYING.  If not, a copy
60649
 
+# can be downloaded from http://www.gnu.org/licenses/gpl.html,
60650
 
+# or obtained by writing to the Free Software Foundation, Inc.,
60651
 
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
60652
 
 
60653
 
-# Global variables:
60654
 
-EXIT_SUCCESS=0
60655
 
-EXIT_FAILURE=1
60656
 
+# Usage: $progname [OPTION]... [MODE-ARG]...
60657
 
+#
60658
 
+# Provide generalized library-building support services.
60659
 
+#
60660
 
+#     --config             show all configuration variables
60661
 
+#     --debug              enable verbose shell tracing
60662
 
+# -n, --dry-run            display commands without modifying any files
60663
 
+#     --features           display basic configuration information and exit
60664
 
+#     --mode=MODE          use operation mode MODE
60665
 
+#     --preserve-dup-deps  don't remove duplicate dependency libraries
60666
 
+#     --quiet, --silent    don't print informational messages
60667
 
+#     --tag=TAG            use configuration variables from tag TAG
60668
 
+# -v, --verbose            print informational messages (default)
60669
 
+#     --version            print version information
60670
 
+# -h, --help               print short or long help message
60671
 
+#
60672
 
+# MODE must be one of the following:
60673
 
+#
60674
 
+#       clean              remove files from the build directory
60675
 
+#       compile            compile a source file into a libtool object
60676
 
+#       execute            automatically set library path, then run a program
60677
 
+#       finish             complete the installation of libtool libraries
60678
 
+#       install            install libraries or executables
60679
 
+#       link               create a library or an executable
60680
 
+#       uninstall          remove libraries from an installed directory
60681
 
+#
60682
 
+# MODE-ARGS vary depending on the MODE.
60683
 
+# Try `$progname --help --mode=MODE' for a more detailed description of MODE.
60684
 
+#
60685
 
+# When reporting a bug, please describe a test case to reproduce it and
60686
 
+# include the following information:
60687
 
+#
60688
 
+#       host-triplet:  $host
60689
 
+#       shell:         $SHELL
60690
 
+#       compiler:              $LTCC
60691
 
+#       compiler flags:                $LTCFLAGS
60692
 
+#       linker:                $LD (gnu? $with_gnu_ld)
60693
 
+#       $progname:             (GNU libtool) 2.2.6 Debian-2.2.6a-4
60694
 
+#       automake:              $automake_version
60695
 
+#       autoconf:              $autoconf_version
60696
 
+#
60697
 
+# Report bugs to <bug-libtool@gnu.org>.
60698
 
 
60699
 
 PROGRAM=ltmain.sh
60700
 
 PACKAGE=libtool
60701
 
-VERSION=1.5.26
60702
 
-TIMESTAMP=" (1.1220.2.492 2008/01/30 06:40:56)"
60703
 
+VERSION="2.2.6 Debian-2.2.6a-4"
60704
 
+TIMESTAMP=""
60705
 
+package_revision=1.3012
60706
 
 
60707
 
-# Be Bourne compatible (taken from Autoconf:_AS_BOURNE_COMPATIBLE).
60708
 
+# Be Bourne compatible
60709
 
 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
60710
 
   emulate sh
60711
 
   NULLCMD=:
60712
 
@@ -60,104 +91,261 @@ fi
60713
 
 BIN_SH=xpg4; export BIN_SH # for Tru64
60714
 
 DUALCASE=1; export DUALCASE # for MKS sh
60715
 
 
60716
 
-# Check that we have a working $echo.
60717
 
-if test "X$1" = X--no-reexec; then
60718
 
-  # Discard the --no-reexec flag, and continue.
60719
 
-  shift
60720
 
-elif test "X$1" = X--fallback-echo; then
60721
 
-  # Avoid inline document here, it may be left over
60722
 
-  :
60723
 
-elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
60724
 
-  # Yippee, $echo works!
60725
 
-  :
60726
 
-else
60727
 
-  # Restart under the correct shell, and then maybe $echo will work.
60728
 
-  exec $SHELL "$progpath" --no-reexec ${1+"$@"}
60729
 
-fi
60730
 
-
60731
 
-if test "X$1" = X--fallback-echo; then
60732
 
-  # used as fallback echo
60733
 
-  shift
60734
 
-  cat <<EOF
60735
 
-$*
60736
 
-EOF
60737
 
-  exit $EXIT_SUCCESS
60738
 
-fi
60739
 
-
60740
 
-default_mode=
60741
 
-help="Try \`$progname --help' for more information."
60742
 
-magic="%%%MAGIC variable%%%"
60743
 
-mkdir="mkdir"
60744
 
-mv="mv -f"
60745
 
-rm="rm -f"
60746
 
-
60747
 
-# Sed substitution that helps us do robust quoting.  It backslashifies
60748
 
-# metacharacters that are still active within double-quoted strings.
60749
 
-Xsed="${SED}"' -e 1s/^X//'
60750
 
-sed_quote_subst='s/\([\\`\\"$\\\\]\)/\\\1/g'
60751
 
-# test EBCDIC or ASCII
60752
 
-case `echo X|tr X '\101'` in
60753
 
- A) # ASCII based system
60754
 
-    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
60755
 
-  SP2NL='tr \040 \012'
60756
 
-  NL2SP='tr \015\012 \040\040'
60757
 
-  ;;
60758
 
- *) # EBCDIC based system
60759
 
-  SP2NL='tr \100 \n'
60760
 
-  NL2SP='tr \r\n \100\100'
60761
 
-  ;;
60762
 
-esac
60763
 
-
60764
 
-# NLS nuisances.
60765
 
+# NLS nuisances: We save the old values to restore during execute mode.
60766
 
 # Only set LANG and LC_ALL to C if already set.
60767
 
 # These must not be set unconditionally because not all systems understand
60768
 
 # e.g. LANG=C (notably SCO).
60769
 
-# We save the old values to restore during execute mode.
60770
 
-lt_env=
60771
 
+lt_user_locale=
60772
 
+lt_safe_locale=
60773
 
 for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
60774
 
 do
60775
 
   eval "if test \"\${$lt_var+set}\" = set; then
60776
 
-         save_$lt_var=\$$lt_var
60777
 
-         lt_env=\"$lt_var=\$$lt_var \$lt_env\"
60778
 
-         $lt_var=C
60779
 
+          save_$lt_var=\$$lt_var
60780
 
+          $lt_var=C
60781
 
          export $lt_var
60782
 
+         lt_user_locale=\"$lt_var=\\\$save_\$lt_var; \$lt_user_locale\"
60783
 
+         lt_safe_locale=\"$lt_var=C; \$lt_safe_locale\"
60784
 
        fi"
60785
 
 done
60786
 
 
60787
 
-if test -n "$lt_env"; then
60788
 
-  lt_env="env $lt_env"
60789
 
-fi
60790
 
+$lt_unset CDPATH
60791
 
+
60792
 
+
60793
 
+
60794
 
+
60795
 
+
60796
 
+: ${CP="cp -f"}
60797
 
+: ${ECHO="echo"}
60798
 
+: ${EGREP="/bin/grep -E"}
60799
 
+: ${FGREP="/bin/grep -F"}
60800
 
+: ${GREP="/bin/grep"}
60801
 
+: ${LN_S="ln -s"}
60802
 
+: ${MAKE="make"}
60803
 
+: ${MKDIR="mkdir"}
60804
 
+: ${MV="mv -f"}
60805
 
+: ${RM="rm -f"}
60806
 
+: ${SED="/bin/sed"}
60807
 
+: ${SHELL="${CONFIG_SHELL-/bin/sh}"}
60808
 
+: ${Xsed="$SED -e 1s/^X//"}
60809
 
+
60810
 
+# Global variables:
60811
 
+EXIT_SUCCESS=0
60812
 
+EXIT_FAILURE=1
60813
 
+EXIT_MISMATCH=63  # $? = 63 is used to indicate version mismatch to missing.
60814
 
+EXIT_SKIP=77     # $? = 77 is used to indicate a skipped test to automake.
60815
 
+
60816
 
+exit_status=$EXIT_SUCCESS
60817
 
 
60818
 
 # Make sure IFS has a sensible default
60819
 
 lt_nl='
60820
 
 '
60821
 
 IFS="  $lt_nl"
60822
 
 
60823
 
-if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then
60824
 
-  $echo "$modename: not configured to build any kind of library" 1>&2
60825
 
-  $echo "Fatal configuration error.  See the $PACKAGE docs for more information." 1>&2
60826
 
-  exit $EXIT_FAILURE
60827
 
-fi
60828
 
+dirname="s,/[^/]*$,,"
60829
 
+basename="s,^.*/,,"
60830
 
 
60831
 
-# Global variables.
60832
 
-mode=$default_mode
60833
 
-nonopt=
60834
 
-prev=
60835
 
-prevopt=
60836
 
-run=
60837
 
-show="$echo"
60838
 
-show_help=
60839
 
-execute_dlfiles=
60840
 
-duplicate_deps=no
60841
 
-preserve_args=
60842
 
-lo2o="s/\\.lo\$/.${objext}/"
60843
 
-o2lo="s/\\.${objext}\$/.lo/"
60844
 
-extracted_archives=
60845
 
-extracted_serial=0
60846
 
+# func_dirname_and_basename file append nondir_replacement
60847
 
+# perform func_basename and func_dirname in a single function
60848
 
+# call:
60849
 
+#   dirname:  Compute the dirname of FILE.  If nonempty,
60850
 
+#             add APPEND to the result, otherwise set result
60851
 
+#             to NONDIR_REPLACEMENT.
60852
 
+#             value returned in "$func_dirname_result"
60853
 
+#   basename: Compute filename of FILE.
60854
 
+#             value retuned in "$func_basename_result"
60855
 
+# Implementation must be kept synchronized with func_dirname
60856
 
+# and func_basename. For efficiency, we do not delegate to
60857
 
+# those functions but instead duplicate the functionality here.
60858
 
+func_dirname_and_basename ()
60859
 
+{
60860
 
+  # Extract subdirectory from the argument.
60861
 
+  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
60862
 
+  if test "X$func_dirname_result" = "X${1}"; then
60863
 
+    func_dirname_result="${3}"
60864
 
+  else
60865
 
+    func_dirname_result="$func_dirname_result${2}"
60866
 
+  fi
60867
 
+  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
60868
 
+}
60869
 
+
60870
 
+# Generated shell functions inserted here.
60871
 
+
60872
 
+# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh
60873
 
+# is ksh but when the shell is invoked as "sh" and the current value of
60874
 
+# the _XPG environment variable is not equal to 1 (one), the special
60875
 
+# positional parameter $0, within a function call, is the name of the
60876
 
+# function.
60877
 
+progpath="$0"
60878
 
+
60879
 
+# The name of this program:
60880
 
+# In the unlikely event $progname began with a '-', it would play havoc with
60881
 
+# func_echo (imagine progname=-n), so we prepend ./ in that case:
60882
 
+func_dirname_and_basename "$progpath"
60883
 
+progname=$func_basename_result
60884
 
+case $progname in
60885
 
+  -*) progname=./$progname ;;
60886
 
+esac
60887
 
+
60888
 
+# Make sure we have an absolute path for reexecution:
60889
 
+case $progpath in
60890
 
+  [\\/]*|[A-Za-z]:\\*) ;;
60891
 
+  *[\\/]*)
60892
 
+     progdir=$func_dirname_result
60893
 
+     progdir=`cd "$progdir" && pwd`
60894
 
+     progpath="$progdir/$progname"
60895
 
+     ;;
60896
 
+  *)
60897
 
+     save_IFS="$IFS"
60898
 
+     IFS=:
60899
 
+     for progdir in $PATH; do
60900
 
+       IFS="$save_IFS"
60901
 
+       test -x "$progdir/$progname" && break
60902
 
+     done
60903
 
+     IFS="$save_IFS"
60904
 
+     test -n "$progdir" || progdir=`pwd`
60905
 
+     progpath="$progdir/$progname"
60906
 
+     ;;
60907
 
+esac
60908
 
+
60909
 
+# Sed substitution that helps us do robust quoting.  It backslashifies
60910
 
+# metacharacters that are still active within double-quoted strings.
60911
 
+Xsed="${SED}"' -e 1s/^X//'
60912
 
+sed_quote_subst='s/\([`"$\\]\)/\\\1/g'
60913
 
+
60914
 
+# Same as above, but do not quote variable references.
60915
 
+double_quote_subst='s/\(["`\\]\)/\\\1/g'
60916
 
+
60917
 
+# Re-`\' parameter expansions in output of double_quote_subst that were
60918
 
+# `\'-ed in input to the same.  If an odd number of `\' preceded a '$'
60919
 
+# in input to double_quote_subst, that '$' was protected from expansion.
60920
 
+# Since each input `\' is now two `\'s, look for any number of runs of
60921
 
+# four `\'s followed by two `\'s and then a '$'.  `\' that '$'.
60922
 
+bs='\\'
60923
 
+bs2='\\\\'
60924
 
+bs4='\\\\\\\\'
60925
 
+dollar='\$'
60926
 
+sed_double_backslash="\
60927
 
+  s/$bs4/&\\
60928
 
+/g
60929
 
+  s/^$bs2$dollar/$bs&/
60930
 
+  s/\\([^$bs]\\)$bs2$dollar/\\1$bs2$bs$dollar/g
60931
 
+  s/\n//g"
60932
 
+
60933
 
+# Standard options:
60934
 
+opt_dry_run=false
60935
 
+opt_help=false
60936
 
+opt_quiet=false
60937
 
+opt_verbose=false
60938
 
+opt_warning=:
60939
 
+
60940
 
+# func_echo arg...
60941
 
+# Echo program name prefixed message, along with the current mode
60942
 
+# name if it has been set yet.
60943
 
+func_echo ()
60944
 
+{
60945
 
+    $ECHO "$progname${mode+: }$mode: $*"
60946
 
+}
60947
 
+
60948
 
+# func_verbose arg...
60949
 
+# Echo program name prefixed message in verbose mode only.
60950
 
+func_verbose ()
60951
 
+{
60952
 
+    $opt_verbose && func_echo ${1+"$@"}
60953
 
+
60954
 
+    # A bug in bash halts the script if the last line of a function
60955
 
+    # fails when set -e is in force, so we need another command to
60956
 
+    # work around that:
60957
 
+    :
60958
 
+}
60959
 
+
60960
 
+# func_error arg...
60961
 
+# Echo program name prefixed message to standard error.
60962
 
+func_error ()
60963
 
+{
60964
 
+    $ECHO "$progname${mode+: }$mode: "${1+"$@"} 1>&2
60965
 
+}
60966
 
+
60967
 
+# func_warning arg...
60968
 
+# Echo program name prefixed warning message to standard error.
60969
 
+func_warning ()
60970
 
+{
60971
 
+    $opt_warning && $ECHO "$progname${mode+: }$mode: warning: "${1+"$@"} 1>&2
60972
 
+
60973
 
+    # bash bug again:
60974
 
+    :
60975
 
+}
60976
 
+
60977
 
+# func_fatal_error arg...
60978
 
+# Echo program name prefixed message to standard error, and exit.
60979
 
+func_fatal_error ()
60980
 
+{
60981
 
+    func_error ${1+"$@"}
60982
 
+    exit $EXIT_FAILURE
60983
 
+}
60984
 
+
60985
 
+# func_fatal_help arg...
60986
 
+# Echo program name prefixed message to standard error, followed by
60987
 
+# a help hint, and exit.
60988
 
+func_fatal_help ()
60989
 
+{
60990
 
+    func_error ${1+"$@"}
60991
 
+    func_fatal_error "$help"
60992
 
+}
60993
 
+help="Try \`$progname --help' for more information."  ## default
60994
 
+
60995
 
+
60996
 
+# func_grep expression filename
60997
 
+# Check whether EXPRESSION matches any line of FILENAME, without output.
60998
 
+func_grep ()
60999
 
+{
61000
 
+    $GREP "$1" "$2" >/dev/null 2>&1
61001
 
+}
61002
 
+
61003
 
+
61004
 
+# func_mkdir_p directory-path
61005
 
+# Make sure the entire path to DIRECTORY-PATH is available.
61006
 
+func_mkdir_p ()
61007
 
+{
61008
 
+    my_directory_path="$1"
61009
 
+    my_dir_list=
61010
 
+
61011
 
+    if test -n "$my_directory_path" && test "$opt_dry_run" != ":"; then
61012
 
+
61013
 
+      # Protect directory names starting with `-'
61014
 
+      case $my_directory_path in
61015
 
+        -*) my_directory_path="./$my_directory_path" ;;
61016
 
+      esac
61017
 
+
61018
 
+      # While some portion of DIR does not yet exist...
61019
 
+      while test ! -d "$my_directory_path"; do
61020
 
+        # ...make a list in topmost first order.  Use a colon delimited
61021
 
+       # list incase some portion of path contains whitespace.
61022
 
+        my_dir_list="$my_directory_path:$my_dir_list"
61023
 
+
61024
 
+        # If the last portion added has no slash in it, the list is done
61025
 
+        case $my_directory_path in */*) ;; *) break ;; esac
61026
 
+
61027
 
+        # ...otherwise throw away the child directory and loop
61028
 
+        my_directory_path=`$ECHO "X$my_directory_path" | $Xsed -e "$dirname"`
61029
 
+      done
61030
 
+      my_dir_list=`$ECHO "X$my_dir_list" | $Xsed -e 's,:*$,,'`
61031
 
+
61032
 
+      save_mkdir_p_IFS="$IFS"; IFS=':'
61033
 
+      for my_dir in $my_dir_list; do
61034
 
+       IFS="$save_mkdir_p_IFS"
61035
 
+        # mkdir can fail with a `File exist' error if two processes
61036
 
+        # try to create one of the directories concurrently.  Don't
61037
 
+        # stop in that case!
61038
 
+        $MKDIR "$my_dir" 2>/dev/null || :
61039
 
+      done
61040
 
+      IFS="$save_mkdir_p_IFS"
61041
 
+
61042
 
+      # Bail out if we (or some other process) failed to create a directory.
61043
 
+      test -d "$my_directory_path" || \
61044
 
+        func_fatal_error "Failed to create \`$1'"
61045
 
+    fi
61046
 
+}
61047
 
 
61048
 
-#####################################
61049
 
-# Shell function definitions:
61050
 
-# This seems to be the best place for them
61051
 
 
61052
 
 # func_mktempdir [string]
61053
 
 # Make a temporary directory that won't clash with other running
61054
 
@@ -167,7 +355,7 @@ func_mktempdir ()
61055
 
 {
61056
 
     my_template="${TMPDIR-/tmp}/${1-$progname}"
61057
 
 
61058
 
-    if test "$run" = ":"; then
61059
 
+    if test "$opt_dry_run" = ":"; then
61060
 
       # Return a directory name, but don't create it in dry-run mode
61061
 
       my_tmpdir="${my_template}-$$"
61062
 
     else
61063
 
@@ -176,526 +364,787 @@ func_mktempdir ()
61064
 
       my_tmpdir=`mktemp -d "${my_template}-XXXXXXXX" 2>/dev/null`
61065
 
 
61066
 
       if test ! -d "$my_tmpdir"; then
61067
 
-       # Failing that, at least try and use $RANDOM to avoid a race
61068
 
-       my_tmpdir="${my_template}-${RANDOM-0}$$"
61069
 
+        # Failing that, at least try and use $RANDOM to avoid a race
61070
 
+        my_tmpdir="${my_template}-${RANDOM-0}$$"
61071
 
 
61072
 
-       save_mktempdir_umask=`umask`
61073
 
-       umask 0077
61074
 
-       $mkdir "$my_tmpdir"
61075
 
-       umask $save_mktempdir_umask
61076
 
+        save_mktempdir_umask=`umask`
61077
 
+        umask 0077
61078
 
+        $MKDIR "$my_tmpdir"
61079
 
+        umask $save_mktempdir_umask
61080
 
       fi
61081
 
 
61082
 
       # If we're not in dry-run mode, bomb out on failure
61083
 
-      test -d "$my_tmpdir" || {
61084
 
-        $echo "cannot create temporary directory \`$my_tmpdir'" 1>&2
61085
 
-       exit $EXIT_FAILURE
61086
 
-      }
61087
 
+      test -d "$my_tmpdir" || \
61088
 
+        func_fatal_error "cannot create temporary directory \`$my_tmpdir'"
61089
 
     fi
61090
 
 
61091
 
-    $echo "X$my_tmpdir" | $Xsed
61092
 
+    $ECHO "X$my_tmpdir" | $Xsed
61093
 
 }
61094
 
 
61095
 
 
61096
 
-# func_win32_libid arg
61097
 
-# return the library type of file 'arg'
61098
 
-#
61099
 
-# Need a lot of goo to handle *both* DLLs and import libs
61100
 
-# Has to be a shell function in order to 'eat' the argument
61101
 
-# that is supplied when $file_magic_command is called.
61102
 
-func_win32_libid ()
61103
 
+# func_quote_for_eval arg
61104
 
+# Aesthetically quote ARG to be evaled later.
61105
 
+# This function returns two values: FUNC_QUOTE_FOR_EVAL_RESULT
61106
 
+# is double-quoted, suitable for a subsequent eval, whereas
61107
 
+# FUNC_QUOTE_FOR_EVAL_UNQUOTED_RESULT has merely all characters
61108
 
+# which are still active within double quotes backslashified.
61109
 
+func_quote_for_eval ()
61110
 
 {
61111
 
-  win32_libid_type="unknown"
61112
 
-  win32_fileres=`file -L $1 2>/dev/null`
61113
 
-  case $win32_fileres in
61114
 
-  *ar\ archive\ import\ library*) # definitely import
61115
 
-    win32_libid_type="x86 archive import"
61116
 
-    ;;
61117
 
-  *ar\ archive*) # could be an import, or static
61118
 
-    if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | \
61119
 
-      $EGREP -e 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then
61120
 
-      win32_nmres=`eval $NM -f posix -A $1 | \
61121
 
-       $SED -n -e '1,100{
61122
 
-               / I /{
61123
 
-                       s,.*,import,
61124
 
-                       p
61125
 
-                       q
61126
 
-                       }
61127
 
-               }'`
61128
 
-      case $win32_nmres in
61129
 
-      import*)  win32_libid_type="x86 archive import";;
61130
 
-      *)        win32_libid_type="x86 archive static";;
61131
 
-      esac
61132
 
-    fi
61133
 
-    ;;
61134
 
-  *DLL*)
61135
 
-    win32_libid_type="x86 DLL"
61136
 
-    ;;
61137
 
-  *executable*) # but shell scripts are "executable" too...
61138
 
-    case $win32_fileres in
61139
 
-    *MS\ Windows\ PE\ Intel*)
61140
 
-      win32_libid_type="x86 DLL"
61141
 
-      ;;
61142
 
+    case $1 in
61143
 
+      *[\\\`\"\$]*)
61144
 
+       func_quote_for_eval_unquoted_result=`$ECHO "X$1" | $Xsed -e "$sed_quote_subst"` ;;
61145
 
+      *)
61146
 
+        func_quote_for_eval_unquoted_result="$1" ;;
61147
 
+    esac
61148
 
+
61149
 
+    case $func_quote_for_eval_unquoted_result in
61150
 
+      # Double-quote args containing shell metacharacters to delay
61151
 
+      # word splitting, command substitution and and variable
61152
 
+      # expansion for a subsequent eval.
61153
 
+      # Many Bourne shells cannot handle close brackets correctly
61154
 
+      # in scan sets, so we specify it separately.
61155
 
+      *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \    ]*|*]*|"")
61156
 
+        func_quote_for_eval_result="\"$func_quote_for_eval_unquoted_result\""
61157
 
+        ;;
61158
 
+      *)
61159
 
+        func_quote_for_eval_result="$func_quote_for_eval_unquoted_result"
61160
 
     esac
61161
 
-    ;;
61162
 
-  esac
61163
 
-  $echo $win32_libid_type
61164
 
 }
61165
 
 
61166
 
 
61167
 
-# func_infer_tag arg
61168
 
-# Infer tagged configuration to use if any are available and
61169
 
-# if one wasn't chosen via the "--tag" command line option.
61170
 
-# Only attempt this if the compiler in the base compile
61171
 
-# command doesn't match the default compiler.
61172
 
-# arg is usually of the form 'gcc ...'
61173
 
-func_infer_tag ()
61174
 
+# func_quote_for_expand arg
61175
 
+# Aesthetically quote ARG to be evaled later; same as above,
61176
 
+# but do not quote variable references.
61177
 
+func_quote_for_expand ()
61178
 
 {
61179
 
-    if test -n "$available_tags" && test -z "$tagname"; then
61180
 
-      CC_quoted=
61181
 
-      for arg in $CC; do
61182
 
-       case $arg in
61183
 
-         *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
61184
 
-         arg="\"$arg\""
61185
 
-         ;;
61186
 
-       esac
61187
 
-       CC_quoted="$CC_quoted $arg"
61188
 
-      done
61189
 
-      case $@ in
61190
 
-      # Blanks in the command may have been stripped by the calling shell,
61191
 
-      # but not from the CC environment variable when configure was run.
61192
 
-      " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*) ;;
61193
 
-      # Blanks at the start of $base_compile will cause this to fail
61194
 
-      # if we don't check for them as well.
61195
 
+    case $1 in
61196
 
+      *[\\\`\"]*)
61197
 
+       my_arg=`$ECHO "X$1" | $Xsed \
61198
 
+           -e "$double_quote_subst" -e "$sed_double_backslash"` ;;
61199
 
       *)
61200
 
-       for z in $available_tags; do
61201
 
-         if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then
61202
 
-           # Evaluate the configuration.
61203
 
-           eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`"
61204
 
-           CC_quoted=
61205
 
-           for arg in $CC; do
61206
 
-           # Double-quote args containing other shell metacharacters.
61207
 
-           case $arg in
61208
 
-             *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \     ]*|*]*|"")
61209
 
-             arg="\"$arg\""
61210
 
-             ;;
61211
 
-           esac
61212
 
-           CC_quoted="$CC_quoted $arg"
61213
 
-         done
61214
 
-           case "$@ " in
61215
 
-             " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*)
61216
 
-             # The compiler in the base compile command matches
61217
 
-             # the one in the tagged configuration.
61218
 
-             # Assume this is the tagged configuration we want.
61219
 
-             tagname=$z
61220
 
-             break
61221
 
-             ;;
61222
 
-           esac
61223
 
-         fi
61224
 
-       done
61225
 
-       # If $tagname still isn't set, then no tagged configuration
61226
 
-       # was found and let the user know that the "--tag" command
61227
 
-       # line option must be used.
61228
 
-       if test -z "$tagname"; then
61229
 
-         $echo "$modename: unable to infer tagged configuration"
61230
 
-         $echo "$modename: specify a tag with \`--tag'" 1>&2
61231
 
-         exit $EXIT_FAILURE
61232
 
-#        else
61233
 
-#          $echo "$modename: using $tagname tagged configuration"
61234
 
-       fi
61235
 
-       ;;
61236
 
-      esac
61237
 
-    fi
61238
 
+        my_arg="$1" ;;
61239
 
+    esac
61240
 
+
61241
 
+    case $my_arg in
61242
 
+      # Double-quote args containing shell metacharacters to delay
61243
 
+      # word splitting and command substitution for a subsequent eval.
61244
 
+      # Many Bourne shells cannot handle close brackets correctly
61245
 
+      # in scan sets, so we specify it separately.
61246
 
+      *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \    ]*|*]*|"")
61247
 
+        my_arg="\"$my_arg\""
61248
 
+        ;;
61249
 
+    esac
61250
 
+
61251
 
+    func_quote_for_expand_result="$my_arg"
61252
 
 }
61253
 
 
61254
 
 
61255
 
-# func_extract_an_archive dir oldlib
61256
 
-func_extract_an_archive ()
61257
 
+# func_show_eval cmd [fail_exp]
61258
 
+# Unless opt_silent is true, then output CMD.  Then, if opt_dryrun is
61259
 
+# not true, evaluate CMD.  If the evaluation of CMD fails, and FAIL_EXP
61260
 
+# is given, then evaluate it.
61261
 
+func_show_eval ()
61262
 
 {
61263
 
-    f_ex_an_ar_dir="$1"; shift
61264
 
-    f_ex_an_ar_oldlib="$1"
61265
 
+    my_cmd="$1"
61266
 
+    my_fail_exp="${2-:}"
61267
 
 
61268
 
-    $show "(cd $f_ex_an_ar_dir && $AR x $f_ex_an_ar_oldlib)"
61269
 
-    $run eval "(cd \$f_ex_an_ar_dir && $AR x \$f_ex_an_ar_oldlib)" || exit $?
61270
 
-    if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then
61271
 
-     :
61272
 
-    else
61273
 
-      $echo "$modename: ERROR: object name conflicts: $f_ex_an_ar_dir/$f_ex_an_ar_oldlib" 1>&2
61274
 
-      exit $EXIT_FAILURE
61275
 
+    ${opt_silent-false} || {
61276
 
+      func_quote_for_expand "$my_cmd"
61277
 
+      eval "func_echo $func_quote_for_expand_result"
61278
 
+    }
61279
 
+
61280
 
+    if ${opt_dry_run-false}; then :; else
61281
 
+      eval "$my_cmd"
61282
 
+      my_status=$?
61283
 
+      if test "$my_status" -eq 0; then :; else
61284
 
+       eval "(exit $my_status); $my_fail_exp"
61285
 
+      fi
61286
 
     fi
61287
 
 }
61288
 
 
61289
 
-# func_extract_archives gentop oldlib ...
61290
 
-func_extract_archives ()
61291
 
+
61292
 
+# func_show_eval_locale cmd [fail_exp]
61293
 
+# Unless opt_silent is true, then output CMD.  Then, if opt_dryrun is
61294
 
+# not true, evaluate CMD.  If the evaluation of CMD fails, and FAIL_EXP
61295
 
+# is given, then evaluate it.  Use the saved locale for evaluation.
61296
 
+func_show_eval_locale ()
61297
 
 {
61298
 
-    my_gentop="$1"; shift
61299
 
-    my_oldlibs=${1+"$@"}
61300
 
-    my_oldobjs=""
61301
 
-    my_xlib=""
61302
 
-    my_xabs=""
61303
 
-    my_xdir=""
61304
 
-    my_status=""
61305
 
+    my_cmd="$1"
61306
 
+    my_fail_exp="${2-:}"
61307
 
+
61308
 
+    ${opt_silent-false} || {
61309
 
+      func_quote_for_expand "$my_cmd"
61310
 
+      eval "func_echo $func_quote_for_expand_result"
61311
 
+    }
61312
 
 
61313
 
-    $show "${rm}r $my_gentop"
61314
 
-    $run ${rm}r "$my_gentop"
61315
 
-    $show "$mkdir $my_gentop"
61316
 
-    $run $mkdir "$my_gentop"
61317
 
-    my_status=$?
61318
 
-    if test "$my_status" -ne 0 && test ! -d "$my_gentop"; then
61319
 
-      exit $my_status
61320
 
+    if ${opt_dry_run-false}; then :; else
61321
 
+      eval "$lt_user_locale
61322
 
+           $my_cmd"
61323
 
+      my_status=$?
61324
 
+      eval "$lt_safe_locale"
61325
 
+      if test "$my_status" -eq 0; then :; else
61326
 
+       eval "(exit $my_status); $my_fail_exp"
61327
 
+      fi
61328
 
     fi
61329
 
+}
61330
 
 
61331
 
-    for my_xlib in $my_oldlibs; do
61332
 
-      # Extract the objects.
61333
 
-      case $my_xlib in
61334
 
-       [\\/]* | [A-Za-z]:[\\/]*) my_xabs="$my_xlib" ;;
61335
 
-       *) my_xabs=`pwd`"/$my_xlib" ;;
61336
 
-      esac
61337
 
-      my_xlib=`$echo "X$my_xlib" | $Xsed -e 's%^.*/%%'`
61338
 
-      my_xlib_u=$my_xlib
61339
 
-      while :; do
61340
 
-        case " $extracted_archives " in
61341
 
-       *" $my_xlib_u "*)
61342
 
-         extracted_serial=`expr $extracted_serial + 1`
61343
 
-         my_xlib_u=lt$extracted_serial-$my_xlib ;;
61344
 
-       *) break ;;
61345
 
-       esac
61346
 
-      done
61347
 
-      extracted_archives="$extracted_archives $my_xlib_u"
61348
 
-      my_xdir="$my_gentop/$my_xlib_u"
61349
 
 
61350
 
-      $show "${rm}r $my_xdir"
61351
 
-      $run ${rm}r "$my_xdir"
61352
 
-      $show "$mkdir $my_xdir"
61353
 
-      $run $mkdir "$my_xdir"
61354
 
-      exit_status=$?
61355
 
-      if test "$exit_status" -ne 0 && test ! -d "$my_xdir"; then
61356
 
-       exit $exit_status
61357
 
-      fi
61358
 
-      case $host in
61359
 
-      *-darwin*)
61360
 
-       $show "Extracting $my_xabs"
61361
 
-       # Do not bother doing anything if just a dry run
61362
 
-       if test -z "$run"; then
61363
 
-         darwin_orig_dir=`pwd`
61364
 
-         cd $my_xdir || exit $?
61365
 
-         darwin_archive=$my_xabs
61366
 
-         darwin_curdir=`pwd`
61367
 
-         darwin_base_archive=`$echo "X$darwin_archive" | $Xsed -e 's%^.*/%%'`
61368
 
-         darwin_arches=`lipo -info "$darwin_archive" 2>/dev/null | $EGREP Architectures 2>/dev/null`
61369
 
-         if test -n "$darwin_arches"; then 
61370
 
-           darwin_arches=`echo "$darwin_arches" | $SED -e 's/.*are://'`
61371
 
-           darwin_arch=
61372
 
-           $show "$darwin_base_archive has multiple architectures $darwin_arches"
61373
 
-           for darwin_arch in  $darwin_arches ; do
61374
 
-             mkdir -p "unfat-$$/${darwin_base_archive}-${darwin_arch}"
61375
 
-             lipo -thin $darwin_arch -output "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" "${darwin_archive}"
61376
 
-             cd "unfat-$$/${darwin_base_archive}-${darwin_arch}"
61377
 
-             func_extract_an_archive "`pwd`" "${darwin_base_archive}"
61378
 
-             cd "$darwin_curdir"
61379
 
-             $rm "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}"
61380
 
-           done # $darwin_arches
61381
 
-      ## Okay now we have a bunch of thin objects, gotta fatten them up :)
61382
 
-           darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print| xargs basename | sort -u | $NL2SP`
61383
 
-           darwin_file=
61384
 
-           darwin_files=
61385
 
-           for darwin_file in $darwin_filelist; do
61386
 
-             darwin_files=`find unfat-$$ -name $darwin_file -print | $NL2SP`
61387
 
-             lipo -create -output "$darwin_file" $darwin_files
61388
 
-           done # $darwin_filelist
61389
 
-           ${rm}r unfat-$$
61390
 
-           cd "$darwin_orig_dir"
61391
 
-         else
61392
 
-           cd "$darwin_orig_dir"
61393
 
-           func_extract_an_archive "$my_xdir" "$my_xabs"
61394
 
-         fi # $darwin_arches
61395
 
-       fi # $run
61396
 
-       ;;
61397
 
-      *)
61398
 
-        func_extract_an_archive "$my_xdir" "$my_xabs"
61399
 
-        ;;
61400
 
-      esac
61401
 
-      my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP`
61402
 
-    done
61403
 
-    func_extract_archives_result="$my_oldobjs"
61404
 
+
61405
 
+
61406
 
+
61407
 
+# func_version
61408
 
+# Echo version message to standard output and exit.
61409
 
+func_version ()
61410
 
+{
61411
 
+    $SED -n '/^# '$PROGRAM' (GNU /,/# warranty; / {
61412
 
+        s/^# //
61413
 
+       s/^# *$//
61414
 
+        s/\((C)\)[ 0-9,-]*\( [1-9][0-9]*\)/\1\2/
61415
 
+        p
61416
 
+     }' < "$progpath"
61417
 
+     exit $?
61418
 
+}
61419
 
+
61420
 
+# func_usage
61421
 
+# Echo short help message to standard output and exit.
61422
 
+func_usage ()
61423
 
+{
61424
 
+    $SED -n '/^# Usage:/,/# -h/ {
61425
 
+        s/^# //
61426
 
+       s/^# *$//
61427
 
+       s/\$progname/'$progname'/
61428
 
+       p
61429
 
+    }' < "$progpath"
61430
 
+    $ECHO
61431
 
+    $ECHO "run \`$progname --help | more' for full usage"
61432
 
+    exit $?
61433
 
+}
61434
 
+
61435
 
+# func_help
61436
 
+# Echo long help message to standard output and exit.
61437
 
+func_help ()
61438
 
+{
61439
 
+    $SED -n '/^# Usage:/,/# Report bugs to/ {
61440
 
+        s/^# //
61441
 
+       s/^# *$//
61442
 
+       s*\$progname*'$progname'*
61443
 
+       s*\$host*'"$host"'*
61444
 
+       s*\$SHELL*'"$SHELL"'*
61445
 
+       s*\$LTCC*'"$LTCC"'*
61446
 
+       s*\$LTCFLAGS*'"$LTCFLAGS"'*
61447
 
+       s*\$LD*'"$LD"'*
61448
 
+       s/\$with_gnu_ld/'"$with_gnu_ld"'/
61449
 
+       s/\$automake_version/'"`(automake --version) 2>/dev/null |$SED 1q`"'/
61450
 
+       s/\$autoconf_version/'"`(autoconf --version) 2>/dev/null |$SED 1q`"'/
61451
 
+       p
61452
 
+     }' < "$progpath"
61453
 
+    exit $?
61454
 
+}
61455
 
+
61456
 
+# func_missing_arg argname
61457
 
+# Echo program name prefixed message to standard error and set global
61458
 
+# exit_cmd.
61459
 
+func_missing_arg ()
61460
 
+{
61461
 
+    func_error "missing argument for $1"
61462
 
+    exit_cmd=exit
61463
 
 }
61464
 
-# End of Shell function definitions
61465
 
-#####################################
61466
 
 
61467
 
-# Darwin sucks
61468
 
-eval std_shrext=\"$shrext_cmds\"
61469
 
+exit_cmd=:
61470
 
 
61471
 
-disable_libs=no
61472
 
 
61473
 
-# Parse our command line options once, thoroughly.
61474
 
-while test "$#" -gt 0
61475
 
-do
61476
 
-  arg="$1"
61477
 
+
61478
 
+
61479
 
+
61480
 
+# Check that we have a working $ECHO.
61481
 
+if test "X$1" = X--no-reexec; then
61482
 
+  # Discard the --no-reexec flag, and continue.
61483
 
   shift
61484
 
+elif test "X$1" = X--fallback-echo; then
61485
 
+  # Avoid inline document here, it may be left over
61486
 
+  :
61487
 
+elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t'; then
61488
 
+  # Yippee, $ECHO works!
61489
 
+  :
61490
 
+else
61491
 
+  # Restart under the correct shell, and then maybe $ECHO will work.
61492
 
+  exec $SHELL "$progpath" --no-reexec ${1+"$@"}
61493
 
+fi
61494
 
 
61495
 
-  case $arg in
61496
 
-  -*=*) optarg=`$echo "X$arg" | $Xsed -e 's/[-_a-zA-Z0-9]*=//'` ;;
61497
 
-  *) optarg= ;;
61498
 
-  esac
61499
 
+if test "X$1" = X--fallback-echo; then
61500
 
+  # used as fallback echo
61501
 
+  shift
61502
 
+  cat <<EOF
61503
 
+$*
61504
 
+EOF
61505
 
+  exit $EXIT_SUCCESS
61506
 
+fi
61507
 
 
61508
 
-  # If the previous option needs an argument, assign it.
61509
 
-  if test -n "$prev"; then
61510
 
-    case $prev in
61511
 
-    execute_dlfiles)
61512
 
-      execute_dlfiles="$execute_dlfiles $arg"
61513
 
-      ;;
61514
 
-    tag)
61515
 
-      tagname="$arg"
61516
 
-      preserve_args="${preserve_args}=$arg"
61517
 
-
61518
 
-      # Check whether tagname contains only valid characters
61519
 
-      case $tagname in
61520
 
-      *[!-_A-Za-z0-9,/]*)
61521
 
-       $echo "$progname: invalid tag name: $tagname" 1>&2
61522
 
-       exit $EXIT_FAILURE
61523
 
-       ;;
61524
 
-      esac
61525
 
+magic="%%%MAGIC variable%%%"
61526
 
+magic_exe="%%%MAGIC EXE variable%%%"
61527
 
 
61528
 
-      case $tagname in
61529
 
-      CC)
61530
 
-       # Don't test for the "default" C tag, as we know, it's there, but
61531
 
-       # not specially marked.
61532
 
-       ;;
61533
 
-      *)
61534
 
-       if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "$progpath" > /dev/null; then
61535
 
-         taglist="$taglist $tagname"
61536
 
-         # Evaluate the configuration.
61537
 
-         eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$tagname'$/,/^# ### END LIBTOOL TAG CONFIG: '$tagname'$/p' < $progpath`"
61538
 
-       else
61539
 
-         $echo "$progname: ignoring unknown tag $tagname" 1>&2
61540
 
-       fi
61541
 
-       ;;
61542
 
-      esac
61543
 
-      ;;
61544
 
-    *)
61545
 
-      eval "$prev=\$arg"
61546
 
-      ;;
61547
 
-    esac
61548
 
+# Global variables.
61549
 
+# $mode is unset
61550
 
+nonopt=
61551
 
+execute_dlfiles=
61552
 
+preserve_args=
61553
 
+lo2o="s/\\.lo\$/.${objext}/"
61554
 
+o2lo="s/\\.${objext}\$/.lo/"
61555
 
+extracted_archives=
61556
 
+extracted_serial=0
61557
 
 
61558
 
-    prev=
61559
 
-    prevopt=
61560
 
-    continue
61561
 
-  fi
61562
 
+opt_dry_run=false
61563
 
+opt_duplicate_deps=false
61564
 
+opt_silent=false
61565
 
+opt_debug=:
61566
 
 
61567
 
-  # Have we seen a non-optional argument yet?
61568
 
-  case $arg in
61569
 
-  --help)
61570
 
-    show_help=yes
61571
 
-    ;;
61572
 
+# If this variable is set in any of the actions, the command in it
61573
 
+# will be execed at the end.  This prevents here-documents from being
61574
 
+# left over by shells.
61575
 
+exec_cmd=
61576
 
 
61577
 
-  --version)
61578
 
-    echo "\
61579
 
-$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP
61580
 
-
61581
 
-Copyright (C) 2008  Free Software Foundation, Inc.
61582
 
-This is free software; see the source for copying conditions.  There is NO
61583
 
-warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
61584
 
-    exit $?
61585
 
-    ;;
61586
 
+# func_fatal_configuration arg...
61587
 
+# Echo program name prefixed message to standard error, followed by
61588
 
+# a configuration failure hint, and exit.
61589
 
+func_fatal_configuration ()
61590
 
+{
61591
 
+    func_error ${1+"$@"}
61592
 
+    func_error "See the $PACKAGE documentation for more information."
61593
 
+    func_fatal_error "Fatal configuration error."
61594
 
+}
61595
 
+
61596
 
+
61597
 
+# func_config
61598
 
+# Display the configuration for all the tags in this script.
61599
 
+func_config ()
61600
 
+{
61601
 
+    re_begincf='^# ### BEGIN LIBTOOL'
61602
 
+    re_endcf='^# ### END LIBTOOL'
61603
 
+
61604
 
+    # Default configuration.
61605
 
+    $SED "1,/$re_begincf CONFIG/d;/$re_endcf CONFIG/,\$d" < "$progpath"
61606
 
 
61607
 
-  --config)
61608
 
-    ${SED} -e '1,/^# ### BEGIN LIBTOOL CONFIG/d' -e '/^# ### END LIBTOOL CONFIG/,$d' $progpath
61609
 
     # Now print the configurations for the tags.
61610
 
     for tagname in $taglist; do
61611
 
-      ${SED} -n -e "/^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$/,/^# ### END LIBTOOL TAG CONFIG: $tagname$/p" < "$progpath"
61612
 
+      $SED -n "/$re_begincf TAG CONFIG: $tagname\$/,/$re_endcf TAG CONFIG: $tagname\$/p" < "$progpath"
61613
 
     done
61614
 
-    exit $?
61615
 
-    ;;
61616
 
-
61617
 
-  --debug)
61618
 
-    $echo "$progname: enabling shell trace mode"
61619
 
-    set -x
61620
 
-    preserve_args="$preserve_args $arg"
61621
 
-    ;;
61622
 
 
61623
 
-  --dry-run | -n)
61624
 
-    run=:
61625
 
-    ;;
61626
 
+    exit $?
61627
 
+}
61628
 
 
61629
 
-  --features)
61630
 
-    $echo "host: $host"
61631
 
+# func_features
61632
 
+# Display the features supported by this script.
61633
 
+func_features ()
61634
 
+{
61635
 
+    $ECHO "host: $host"
61636
 
     if test "$build_libtool_libs" = yes; then
61637
 
-      $echo "enable shared libraries"
61638
 
+      $ECHO "enable shared libraries"
61639
 
     else
61640
 
-      $echo "disable shared libraries"
61641
 
+      $ECHO "disable shared libraries"
61642
 
     fi
61643
 
     if test "$build_old_libs" = yes; then
61644
 
-      $echo "enable static libraries"
61645
 
+      $ECHO "enable static libraries"
61646
 
     else
61647
 
-      $echo "disable static libraries"
61648
 
+      $ECHO "disable static libraries"
61649
 
     fi
61650
 
+
61651
 
     exit $?
61652
 
-    ;;
61653
 
+}
61654
 
 
61655
 
-  --finish) mode="finish" ;;
61656
 
+# func_enable_tag tagname
61657
 
+# Verify that TAGNAME is valid, and either flag an error and exit, or
61658
 
+# enable the TAGNAME tag.  We also add TAGNAME to the global $taglist
61659
 
+# variable here.
61660
 
+func_enable_tag ()
61661
 
+{
61662
 
+  # Global variable:
61663
 
+  tagname="$1"
61664
 
+
61665
 
+  re_begincf="^# ### BEGIN LIBTOOL TAG CONFIG: $tagname\$"
61666
 
+  re_endcf="^# ### END LIBTOOL TAG CONFIG: $tagname\$"
61667
 
+  sed_extractcf="/$re_begincf/,/$re_endcf/p"
61668
 
+
61669
 
+  # Validate tagname.
61670
 
+  case $tagname in
61671
 
+    *[!-_A-Za-z0-9,/]*)
61672
 
+      func_fatal_error "invalid tag name: $tagname"
61673
 
+      ;;
61674
 
+  esac
61675
 
 
61676
 
-  --mode) prevopt="--mode" prev=mode ;;
61677
 
-  --mode=*) mode="$optarg" ;;
61678
 
+  # Don't test for the "default" C tag, as we know it's
61679
 
+  # there but not specially marked.
61680
 
+  case $tagname in
61681
 
+    CC) ;;
61682
 
+    *)
61683
 
+      if $GREP "$re_begincf" "$progpath" >/dev/null 2>&1; then
61684
 
+       taglist="$taglist $tagname"
61685
 
 
61686
 
-  --preserve-dup-deps) duplicate_deps="yes" ;;
61687
 
+       # Evaluate the configuration.  Be careful to quote the path
61688
 
+       # and the sed script, to avoid splitting on whitespace, but
61689
 
+       # also don't use non-portable quotes within backquotes within
61690
 
+       # quotes we have to do it in 2 steps:
61691
 
+       extractedcf=`$SED -n -e "$sed_extractcf" < "$progpath"`
61692
 
+       eval "$extractedcf"
61693
 
+      else
61694
 
+       func_error "ignoring unknown tag $tagname"
61695
 
+      fi
61696
 
+      ;;
61697
 
+  esac
61698
 
+}
61699
 
 
61700
 
-  --quiet | --silent)
61701
 
-    show=:
61702
 
-    preserve_args="$preserve_args $arg"
61703
 
-    ;;
61704
 
+# Parse options once, thoroughly.  This comes as soon as possible in
61705
 
+# the script to make things like `libtool --version' happen quickly.
61706
 
+{
61707
 
 
61708
 
-  --tag)
61709
 
-    prevopt="--tag"
61710
 
-    prev=tag
61711
 
-    preserve_args="$preserve_args --tag"
61712
 
+  # Shorthand for --mode=foo, only valid as the first argument
61713
 
+  case $1 in
61714
 
+  clean|clea|cle|cl)
61715
 
+    shift; set dummy --mode clean ${1+"$@"}; shift
61716
 
     ;;
61717
 
-  --tag=*)
61718
 
-    set tag "$optarg" ${1+"$@"}
61719
 
-    shift
61720
 
-    prev=tag
61721
 
-    preserve_args="$preserve_args --tag"
61722
 
+  compile|compil|compi|comp|com|co|c)
61723
 
+    shift; set dummy --mode compile ${1+"$@"}; shift
61724
 
     ;;
61725
 
-
61726
 
-  -dlopen)
61727
 
-    prevopt="-dlopen"
61728
 
-    prev=execute_dlfiles
61729
 
+  execute|execut|execu|exec|exe|ex|e)
61730
 
+    shift; set dummy --mode execute ${1+"$@"}; shift
61731
 
     ;;
61732
 
-
61733
 
-  -*)
61734
 
-    $echo "$modename: unrecognized option \`$arg'" 1>&2
61735
 
-    $echo "$help" 1>&2
61736
 
-    exit $EXIT_FAILURE
61737
 
+  finish|finis|fini|fin|fi|f)
61738
 
+    shift; set dummy --mode finish ${1+"$@"}; shift
61739
 
     ;;
61740
 
-
61741
 
-  *)
61742
 
-    nonopt="$arg"
61743
 
-    break
61744
 
+  install|instal|insta|inst|ins|in|i)
61745
 
+    shift; set dummy --mode install ${1+"$@"}; shift
61746
 
+    ;;
61747
 
+  link|lin|li|l)
61748
 
+    shift; set dummy --mode link ${1+"$@"}; shift
61749
 
+    ;;
61750
 
+  uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u)
61751
 
+    shift; set dummy --mode uninstall ${1+"$@"}; shift
61752
 
     ;;
61753
 
   esac
61754
 
-done
61755
 
 
61756
 
-if test -n "$prevopt"; then
61757
 
-  $echo "$modename: option \`$prevopt' requires an argument" 1>&2
61758
 
-  $echo "$help" 1>&2
61759
 
-  exit $EXIT_FAILURE
61760
 
-fi
61761
 
+  # Parse non-mode specific arguments:
61762
 
+  while test "$#" -gt 0; do
61763
 
+    opt="$1"
61764
 
+    shift
61765
 
 
61766
 
-case $disable_libs in
61767
 
-no) 
61768
 
-  ;;
61769
 
-shared)
61770
 
-  build_libtool_libs=no
61771
 
-  build_old_libs=yes
61772
 
-  ;;
61773
 
-static)
61774
 
-  build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac`
61775
 
-  ;;
61776
 
-esac
61777
 
+    case $opt in
61778
 
+      --config)                func_config                                     ;;
61779
 
 
61780
 
-# If this variable is set in any of the actions, the command in it
61781
 
-# will be execed at the end.  This prevents here-documents from being
61782
 
-# left over by shells.
61783
 
-exec_cmd=
61784
 
+      --debug)         preserve_args="$preserve_args $opt"
61785
 
+                       func_echo "enabling shell trace mode"
61786
 
+                       opt_debug='set -x'
61787
 
+                       $opt_debug
61788
 
+                       ;;
61789
 
 
61790
 
-if test -z "$show_help"; then
61791
 
+      -dlopen)         test "$#" -eq 0 && func_missing_arg "$opt" && break
61792
 
+                       execute_dlfiles="$execute_dlfiles $1"
61793
 
+                       shift
61794
 
+                       ;;
61795
 
 
61796
 
-  # Infer the operation mode.
61797
 
-  if test -z "$mode"; then
61798
 
-    $echo "*** Warning: inferring the mode of operation is deprecated." 1>&2
61799
 
-    $echo "*** Future versions of Libtool will require --mode=MODE be specified." 1>&2
61800
 
-    case $nonopt in
61801
 
-    *cc | cc* | *++ | gcc* | *-gcc* | g++* | xlc*)
61802
 
-      mode=link
61803
 
-      for arg
61804
 
-      do
61805
 
-       case $arg in
61806
 
-       -c)
61807
 
-          mode=compile
61808
 
-          break
61809
 
-          ;;
61810
 
-       esac
61811
 
-      done
61812
 
-      ;;
61813
 
-    *db | *dbx | *strace | *truss)
61814
 
-      mode=execute
61815
 
-      ;;
61816
 
-    *install*|cp|mv)
61817
 
-      mode=install
61818
 
-      ;;
61819
 
-    *rm)
61820
 
-      mode=uninstall
61821
 
+      --dry-run | -n)  opt_dry_run=:                                   ;;
61822
 
+      --features)       func_features                                  ;;
61823
 
+      --finish)                mode="finish"                                   ;;
61824
 
+
61825
 
+      --mode)          test "$#" -eq 0 && func_missing_arg "$opt" && break
61826
 
+                       case $1 in
61827
 
+                         # Valid mode arguments:
61828
 
+                         clean)        ;;
61829
 
+                         compile)      ;;
61830
 
+                         execute)      ;;
61831
 
+                         finish)       ;;
61832
 
+                         install)      ;;
61833
 
+                         link)         ;;
61834
 
+                         relink)       ;;
61835
 
+                         uninstall)    ;;
61836
 
+
61837
 
+                         # Catch anything else as an error
61838
 
+                         *) func_error "invalid argument for $opt"
61839
 
+                            exit_cmd=exit
61840
 
+                            break
61841
 
+                            ;;
61842
 
+                       esac
61843
 
+
61844
 
+                       mode="$1"
61845
 
+                       shift
61846
 
+                       ;;
61847
 
+
61848
 
+      --preserve-dup-deps)
61849
 
+                       opt_duplicate_deps=:                            ;;
61850
 
+
61851
 
+      --quiet|--silent)        preserve_args="$preserve_args $opt"
61852
 
+                       opt_silent=:
61853
 
+                       ;;
61854
 
+
61855
 
+      --verbose| -v)   preserve_args="$preserve_args $opt"
61856
 
+                       opt_silent=false
61857
 
+                       ;;
61858
 
+
61859
 
+      --tag)           test "$#" -eq 0 && func_missing_arg "$opt" && break
61860
 
+                       preserve_args="$preserve_args $opt $1"
61861
 
+                       func_enable_tag "$1"    # tagname is set here
61862
 
+                       shift
61863
 
+                       ;;
61864
 
+
61865
 
+      # Separate optargs to long options:
61866
 
+      -dlopen=*|--mode=*|--tag=*)
61867
 
+                       func_opt_split "$opt"
61868
 
+                       set dummy "$func_opt_split_opt" "$func_opt_split_arg" ${1+"$@"}
61869
 
+                       shift
61870
 
+                       ;;
61871
 
+
61872
 
+      -\?|-h)          func_usage                                      ;;
61873
 
+      --help)          opt_help=:                                      ;;
61874
 
+      --version)       func_version                                    ;;
61875
 
+
61876
 
+      -*)              func_fatal_help "unrecognized option \`$opt'"   ;;
61877
 
+
61878
 
+      *)               nonopt="$opt"
61879
 
+                       break
61880
 
+                       ;;
61881
 
+    esac
61882
 
+  done
61883
 
+
61884
 
+
61885
 
+  case $host in
61886
 
+    *cygwin* | *mingw* | *pw32* | *cegcc*)
61887
 
+      # don't eliminate duplications in $postdeps and $predeps
61888
 
+      opt_duplicate_compiler_generated_deps=:
61889
 
       ;;
61890
 
     *)
61891
 
-      # If we have no mode, but dlfiles were specified, then do execute mode.
61892
 
-      test -n "$execute_dlfiles" && mode=execute
61893
 
+      opt_duplicate_compiler_generated_deps=$opt_duplicate_deps
61894
 
+      ;;
61895
 
+  esac
61896
 
 
61897
 
-      # Just use the default operation mode.
61898
 
-      if test -z "$mode"; then
61899
 
-       if test -n "$nonopt"; then
61900
 
-         $echo "$modename: warning: cannot infer operation mode from \`$nonopt'" 1>&2
61901
 
-       else
61902
 
-         $echo "$modename: warning: cannot infer operation mode without MODE-ARGS" 1>&2
61903
 
-       fi
61904
 
+  # Having warned about all mis-specified options, bail out if
61905
 
+  # anything was wrong.
61906
 
+  $exit_cmd $EXIT_FAILURE
61907
 
+}
61908
 
+
61909
 
+# func_check_version_match
61910
 
+# Ensure that we are using m4 macros, and libtool script from the same
61911
 
+# release of libtool.
61912
 
+func_check_version_match ()
61913
 
+{
61914
 
+  if test "$package_revision" != "$macro_revision"; then
61915
 
+    if test "$VERSION" != "$macro_version"; then
61916
 
+      if test -z "$macro_version"; then
61917
 
+        cat >&2 <<_LT_EOF
61918
 
+$progname: Version mismatch error.  This is $PACKAGE $VERSION, but the
61919
 
+$progname: definition of this LT_INIT comes from an older release.
61920
 
+$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION
61921
 
+$progname: and run autoconf again.
61922
 
+_LT_EOF
61923
 
+      else
61924
 
+        cat >&2 <<_LT_EOF
61925
 
+$progname: Version mismatch error.  This is $PACKAGE $VERSION, but the
61926
 
+$progname: definition of this LT_INIT comes from $PACKAGE $macro_version.
61927
 
+$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION
61928
 
+$progname: and run autoconf again.
61929
 
+_LT_EOF
61930
 
       fi
61931
 
-      ;;
61932
 
-    esac
61933
 
+    else
61934
 
+      cat >&2 <<_LT_EOF
61935
 
+$progname: Version mismatch error.  This is $PACKAGE $VERSION, revision $package_revision,
61936
 
+$progname: but the definition of this LT_INIT comes from revision $macro_revision.
61937
 
+$progname: You should recreate aclocal.m4 with macros from revision $package_revision
61938
 
+$progname: of $PACKAGE $VERSION and run autoconf again.
61939
 
+_LT_EOF
61940
 
+    fi
61941
 
+
61942
 
+    exit $EXIT_MISMATCH
61943
 
+  fi
61944
 
+}
61945
 
+
61946
 
+
61947
 
+## ----------- ##
61948
 
+##    Main.    ##
61949
 
+## ----------- ##
61950
 
+
61951
 
+$opt_help || {
61952
 
+  # Sanity checks first:
61953
 
+  func_check_version_match
61954
 
+
61955
 
+  if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then
61956
 
+    func_fatal_configuration "not configured to build any kind of library"
61957
 
   fi
61958
 
 
61959
 
+  test -z "$mode" && func_fatal_error "error: you must specify a MODE."
61960
 
+
61961
 
+
61962
 
+  # Darwin sucks
61963
 
+  eval std_shrext=\"$shrext_cmds\"
61964
 
+
61965
 
+
61966
 
   # Only execute mode is allowed to have -dlopen flags.
61967
 
   if test -n "$execute_dlfiles" && test "$mode" != execute; then
61968
 
-    $echo "$modename: unrecognized option \`-dlopen'" 1>&2
61969
 
-    $echo "$help" 1>&2
61970
 
+    func_error "unrecognized option \`-dlopen'"
61971
 
+    $ECHO "$help" 1>&2
61972
 
     exit $EXIT_FAILURE
61973
 
   fi
61974
 
 
61975
 
   # Change the help message to a mode-specific one.
61976
 
   generic_help="$help"
61977
 
-  help="Try \`$modename --help --mode=$mode' for more information."
61978
 
+  help="Try \`$progname --help --mode=$mode' for more information."
61979
 
+}
61980
 
 
61981
 
-  # These modes are in order of execution frequency so that they run quickly.
61982
 
-  case $mode in
61983
 
-  # libtool compile mode
61984
 
-  compile)
61985
 
-    modename="$modename: compile"
61986
 
-    # Get the compilation command and the source file.
61987
 
-    base_compile=
61988
 
-    srcfile="$nonopt"  #  always keep a non-empty value in "srcfile"
61989
 
-    suppress_opt=yes
61990
 
-    suppress_output=
61991
 
-    arg_mode=normal
61992
 
-    libobj=
61993
 
-    later=
61994
 
 
61995
 
-    for arg
61996
 
-    do
61997
 
-      case $arg_mode in
61998
 
-      arg  )
61999
 
-       # do not "continue".  Instead, add this to base_compile
62000
 
-       lastarg="$arg"
62001
 
-       arg_mode=normal
62002
 
-       ;;
62003
 
+# func_lalib_p file
62004
 
+# True iff FILE is a libtool `.la' library or `.lo' object file.
62005
 
+# This function is only a basic sanity check; it will hardly flush out
62006
 
+# determined imposters.
62007
 
+func_lalib_p ()
62008
 
+{
62009
 
+    test -f "$1" &&
62010
 
+      $SED -e 4q "$1" 2>/dev/null \
62011
 
+        | $GREP "^# Generated by .*$PACKAGE" > /dev/null 2>&1
62012
 
+}
62013
 
 
62014
 
-      target )
62015
 
-       libobj="$arg"
62016
 
-       arg_mode=normal
62017
 
-       continue
62018
 
-       ;;
62019
 
+# func_lalib_unsafe_p file
62020
 
+# True iff FILE is a libtool `.la' library or `.lo' object file.
62021
 
+# This function implements the same check as func_lalib_p without
62022
 
+# resorting to external programs.  To this end, it redirects stdin and
62023
 
+# closes it afterwards, without saving the original file descriptor.
62024
 
+# As a safety measure, use it only where a negative result would be
62025
 
+# fatal anyway.  Works if `file' does not exist.
62026
 
+func_lalib_unsafe_p ()
62027
 
+{
62028
 
+    lalib_p=no
62029
 
+    if test -f "$1" && test -r "$1" && exec 5<&0 <"$1"; then
62030
 
+       for lalib_p_l in 1 2 3 4
62031
 
+       do
62032
 
+           read lalib_p_line
62033
 
+           case "$lalib_p_line" in
62034
 
+               \#\ Generated\ by\ *$PACKAGE* ) lalib_p=yes; break;;
62035
 
+           esac
62036
 
+       done
62037
 
+       exec 0<&5 5<&-
62038
 
+    fi
62039
 
+    test "$lalib_p" = yes
62040
 
+}
62041
 
 
62042
 
-      normal )
62043
 
-       # Accept any command-line options.
62044
 
-       case $arg in
62045
 
-       -o)
62046
 
-         if test -n "$libobj" ; then
62047
 
-           $echo "$modename: you cannot specify \`-o' more than once" 1>&2
62048
 
-           exit $EXIT_FAILURE
62049
 
-         fi
62050
 
-         arg_mode=target
62051
 
-         continue
62052
 
-         ;;
62053
 
+# func_ltwrapper_script_p file
62054
 
+# True iff FILE is a libtool wrapper script
62055
 
+# This function is only a basic sanity check; it will hardly flush out
62056
 
+# determined imposters.
62057
 
+func_ltwrapper_script_p ()
62058
 
+{
62059
 
+    func_lalib_p "$1"
62060
 
+}
62061
 
 
62062
 
-       -static | -prefer-pic | -prefer-non-pic)
62063
 
-         later="$later $arg"
62064
 
-         continue
62065
 
-         ;;
62066
 
+# func_ltwrapper_executable_p file
62067
 
+# True iff FILE is a libtool wrapper executable
62068
 
+# This function is only a basic sanity check; it will hardly flush out
62069
 
+# determined imposters.
62070
 
+func_ltwrapper_executable_p ()
62071
 
+{
62072
 
+    func_ltwrapper_exec_suffix=
62073
 
+    case $1 in
62074
 
+    *.exe) ;;
62075
 
+    *) func_ltwrapper_exec_suffix=.exe ;;
62076
 
+    esac
62077
 
+    $GREP "$magic_exe" "$1$func_ltwrapper_exec_suffix" >/dev/null 2>&1
62078
 
+}
62079
 
+
62080
 
+# func_ltwrapper_scriptname file
62081
 
+# Assumes file is an ltwrapper_executable
62082
 
+# uses $file to determine the appropriate filename for a
62083
 
+# temporary ltwrapper_script.
62084
 
+func_ltwrapper_scriptname ()
62085
 
+{
62086
 
+    func_ltwrapper_scriptname_result=""
62087
 
+    if func_ltwrapper_executable_p "$1"; then
62088
 
+       func_dirname_and_basename "$1" "" "."
62089
 
+       func_stripname '' '.exe' "$func_basename_result"
62090
 
+       func_ltwrapper_scriptname_result="$func_dirname_result/$objdir/${func_stripname_result}_ltshwrapper"
62091
 
+    fi
62092
 
+}
62093
 
+
62094
 
+# func_ltwrapper_p file
62095
 
+# True iff FILE is a libtool wrapper script or wrapper executable
62096
 
+# This function is only a basic sanity check; it will hardly flush out
62097
 
+# determined imposters.
62098
 
+func_ltwrapper_p ()
62099
 
+{
62100
 
+    func_ltwrapper_script_p "$1" || func_ltwrapper_executable_p "$1"
62101
 
+}
62102
 
+
62103
 
+
62104
 
+# func_execute_cmds commands fail_cmd
62105
 
+# Execute tilde-delimited COMMANDS.
62106
 
+# If FAIL_CMD is given, eval that upon failure.
62107
 
+# FAIL_CMD may read-access the current command in variable CMD!
62108
 
+func_execute_cmds ()
62109
 
+{
62110
 
+    $opt_debug
62111
 
+    save_ifs=$IFS; IFS='~'
62112
 
+    for cmd in $1; do
62113
 
+      IFS=$save_ifs
62114
 
+      eval cmd=\"$cmd\"
62115
 
+      func_show_eval "$cmd" "${2-:}"
62116
 
+    done
62117
 
+    IFS=$save_ifs
62118
 
+}
62119
 
+
62120
 
+
62121
 
+# func_source file
62122
 
+# Source FILE, adding directory component if necessary.
62123
 
+# Note that it is not necessary on cygwin/mingw to append a dot to
62124
 
+# FILE even if both FILE and FILE.exe exist: automatic-append-.exe
62125
 
+# behavior happens only for exec(3), not for open(2)!  Also, sourcing
62126
 
+# `FILE.' does not work on cygwin managed mounts.
62127
 
+func_source ()
62128
 
+{
62129
 
+    $opt_debug
62130
 
+    case $1 in
62131
 
+    */* | *\\*)        . "$1" ;;
62132
 
+    *)         . "./$1" ;;
62133
 
+    esac
62134
 
+}
62135
 
+
62136
 
+
62137
 
+# func_infer_tag arg
62138
 
+# Infer tagged configuration to use if any are available and
62139
 
+# if one wasn't chosen via the "--tag" command line option.
62140
 
+# Only attempt this if the compiler in the base compile
62141
 
+# command doesn't match the default compiler.
62142
 
+# arg is usually of the form 'gcc ...'
62143
 
+func_infer_tag ()
62144
 
+{
62145
 
+    $opt_debug
62146
 
+    if test -n "$available_tags" && test -z "$tagname"; then
62147
 
+      CC_quoted=
62148
 
+      for arg in $CC; do
62149
 
+        func_quote_for_eval "$arg"
62150
 
+       CC_quoted="$CC_quoted $func_quote_for_eval_result"
62151
 
+      done
62152
 
+      case $@ in
62153
 
+      # Blanks in the command may have been stripped by the calling shell,
62154
 
+      # but not from the CC environment variable when configure was run.
62155
 
+      " $CC "* | "$CC "* | " `$ECHO $CC` "* | "`$ECHO $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$ECHO $CC_quoted` "* | "`$ECHO $CC_quoted` "*) ;;
62156
 
+      # Blanks at the start of $base_compile will cause this to fail
62157
 
+      # if we don't check for them as well.
62158
 
+      *)
62159
 
+       for z in $available_tags; do
62160
 
+         if $GREP "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then
62161
 
+           # Evaluate the configuration.
62162
 
+           eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`"
62163
 
+           CC_quoted=
62164
 
+           for arg in $CC; do
62165
 
+             # Double-quote args containing other shell metacharacters.
62166
 
+             func_quote_for_eval "$arg"
62167
 
+             CC_quoted="$CC_quoted $func_quote_for_eval_result"
62168
 
+           done
62169
 
+           case "$@ " in
62170
 
+             " $CC "* | "$CC "* | " `$ECHO $CC` "* | "`$ECHO $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$ECHO $CC_quoted` "* | "`$ECHO $CC_quoted` "*)
62171
 
+             # The compiler in the base compile command matches
62172
 
+             # the one in the tagged configuration.
62173
 
+             # Assume this is the tagged configuration we want.
62174
 
+             tagname=$z
62175
 
+             break
62176
 
+             ;;
62177
 
+           esac
62178
 
+         fi
62179
 
+       done
62180
 
+       # If $tagname still isn't set, then no tagged configuration
62181
 
+       # was found and let the user know that the "--tag" command
62182
 
+       # line option must be used.
62183
 
+       if test -z "$tagname"; then
62184
 
+         func_echo "unable to infer tagged configuration"
62185
 
+         func_fatal_error "specify a tag with \`--tag'"
62186
 
+#      else
62187
 
+#        func_verbose "using $tagname tagged configuration"
62188
 
+       fi
62189
 
+       ;;
62190
 
+      esac
62191
 
+    fi
62192
 
+}
62193
 
+
62194
 
+
62195
 
+
62196
 
+# func_write_libtool_object output_name pic_name nonpic_name
62197
 
+# Create a libtool object file (analogous to a ".la" file),
62198
 
+# but don't create it if we're doing a dry run.
62199
 
+func_write_libtool_object ()
62200
 
+{
62201
 
+    write_libobj=${1}
62202
 
+    if test "$build_libtool_libs" = yes; then
62203
 
+      write_lobj=\'${2}\'
62204
 
+    else
62205
 
+      write_lobj=none
62206
 
+    fi
62207
 
+
62208
 
+    if test "$build_old_libs" = yes; then
62209
 
+      write_oldobj=\'${3}\'
62210
 
+    else
62211
 
+      write_oldobj=none
62212
 
+    fi
62213
 
+
62214
 
+    $opt_dry_run || {
62215
 
+      cat >${write_libobj}T <<EOF
62216
 
+# $write_libobj - a libtool object file
62217
 
+# Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION
62218
 
+#
62219
 
+# Please DO NOT delete this file!
62220
 
+# It is necessary for linking the library.
62221
 
+
62222
 
+# Name of the PIC object.
62223
 
+pic_object=$write_lobj
62224
 
+
62225
 
+# Name of the non-PIC object
62226
 
+non_pic_object=$write_oldobj
62227
 
+
62228
 
+EOF
62229
 
+      $MV "${write_libobj}T" "${write_libobj}"
62230
 
+    }
62231
 
+}
62232
 
+
62233
 
+# func_mode_compile arg...
62234
 
+func_mode_compile ()
62235
 
+{
62236
 
+    $opt_debug
62237
 
+    # Get the compilation command and the source file.
62238
 
+    base_compile=
62239
 
+    srcfile="$nonopt"  #  always keep a non-empty value in "srcfile"
62240
 
+    suppress_opt=yes
62241
 
+    suppress_output=
62242
 
+    arg_mode=normal
62243
 
+    libobj=
62244
 
+    later=
62245
 
+    pie_flag=
62246
 
+
62247
 
+    for arg
62248
 
+    do
62249
 
+      case $arg_mode in
62250
 
+      arg  )
62251
 
+       # do not "continue".  Instead, add this to base_compile
62252
 
+       lastarg="$arg"
62253
 
+       arg_mode=normal
62254
 
+       ;;
62255
 
+
62256
 
+      target )
62257
 
+       libobj="$arg"
62258
 
+       arg_mode=normal
62259
 
+       continue
62260
 
+       ;;
62261
 
+
62262
 
+      normal )
62263
 
+       # Accept any command-line options.
62264
 
+       case $arg in
62265
 
+       -o)
62266
 
+         test -n "$libobj" && \
62267
 
+           func_fatal_error "you cannot specify \`-o' more than once"
62268
 
+         arg_mode=target
62269
 
+         continue
62270
 
+         ;;
62271
 
+
62272
 
+       -pie | -fpie | -fPIE)
62273
 
+          pie_flag="$pie_flag $arg"
62274
 
+         continue
62275
 
+         ;;
62276
 
+
62277
 
+       -shared | -static | -prefer-pic | -prefer-non-pic)
62278
 
+         later="$later $arg"
62279
 
+         continue
62280
 
+         ;;
62281
 
 
62282
 
        -no-suppress)
62283
 
          suppress_opt=no
62284
 
@@ -708,31 +1157,25 @@ if test -z "$show_help"; then
62285
 
          ;;            #  replaced later.  I would guess that would be a bug.
62286
 
 
62287
 
        -Wc,*)
62288
 
-         args=`$echo "X$arg" | $Xsed -e "s/^-Wc,//"`
62289
 
+         func_stripname '-Wc,' '' "$arg"
62290
 
+         args=$func_stripname_result
62291
 
          lastarg=
62292
 
          save_ifs="$IFS"; IFS=','
62293
 
-         for arg in $args; do
62294
 
+         for arg in $args; do
62295
 
            IFS="$save_ifs"
62296
 
-
62297
 
-           # Double-quote args containing other shell metacharacters.
62298
 
-           # Many Bourne shells cannot handle close brackets correctly
62299
 
-           # in scan sets, so we specify it separately.
62300
 
-           case $arg in
62301
 
-             *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \     ]*|*]*|"")
62302
 
-             arg="\"$arg\""
62303
 
-             ;;
62304
 
-           esac
62305
 
-           lastarg="$lastarg $arg"
62306
 
+           func_quote_for_eval "$arg"
62307
 
+           lastarg="$lastarg $func_quote_for_eval_result"
62308
 
          done
62309
 
          IFS="$save_ifs"
62310
 
-         lastarg=`$echo "X$lastarg" | $Xsed -e "s/^ //"`
62311
 
+         func_stripname ' ' '' "$lastarg"
62312
 
+         lastarg=$func_stripname_result
62313
 
 
62314
 
          # Add the arguments to base_compile.
62315
 
          base_compile="$base_compile $lastarg"
62316
 
          continue
62317
 
          ;;
62318
 
 
62319
 
-       * )
62320
 
+       *)
62321
 
          # Accept the current argument as the source file.
62322
 
          # The previous "srcfile" becomes the current argument.
62323
 
          #
62324
 
@@ -744,66 +1187,42 @@ if test -z "$show_help"; then
62325
 
       esac    #  case $arg_mode
62326
 
 
62327
 
       # Aesthetically quote the previous argument.
62328
 
-      lastarg=`$echo "X$lastarg" | $Xsed -e "$sed_quote_subst"`
62329
 
-
62330
 
-      case $lastarg in
62331
 
-      # Double-quote args containing other shell metacharacters.
62332
 
-      # Many Bourne shells cannot handle close brackets correctly
62333
 
-      # in scan sets, and some SunOS ksh mistreat backslash-escaping
62334
 
-      # in scan sets (worked around with variable expansion),
62335
 
-      # and furthermore cannot handle '|' '&' '(' ')' in scan sets 
62336
 
-      # at all, so we specify them separately.
62337
 
-      *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \    ]*|*]*|"")
62338
 
-       lastarg="\"$lastarg\""
62339
 
-       ;;
62340
 
-      esac
62341
 
-
62342
 
-      base_compile="$base_compile $lastarg"
62343
 
+      func_quote_for_eval "$lastarg"
62344
 
+      base_compile="$base_compile $func_quote_for_eval_result"
62345
 
     done # for arg
62346
 
 
62347
 
     case $arg_mode in
62348
 
     arg)
62349
 
-      $echo "$modename: you must specify an argument for -Xcompile"
62350
 
-      exit $EXIT_FAILURE
62351
 
+      func_fatal_error "you must specify an argument for -Xcompile"
62352
 
       ;;
62353
 
     target)
62354
 
-      $echo "$modename: you must specify a target with \`-o'" 1>&2
62355
 
-      exit $EXIT_FAILURE
62356
 
+      func_fatal_error "you must specify a target with \`-o'"
62357
 
       ;;
62358
 
     *)
62359
 
       # Get the name of the library object.
62360
 
-      [ -z "$libobj" ] && libobj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%'`
62361
 
+      test -z "$libobj" && {
62362
 
+       func_basename "$srcfile"
62363
 
+       libobj="$func_basename_result"
62364
 
+      }
62365
 
       ;;
62366
 
     esac
62367
 
 
62368
 
     # Recognize several different file suffixes.
62369
 
     # If the user specifies -o file.o, it is replaced with file.lo
62370
 
-    xform='[cCFSifmso]'
62371
 
     case $libobj in
62372
 
-    *.ada) xform=ada ;;
62373
 
-    *.adb) xform=adb ;;
62374
 
-    *.ads) xform=ads ;;
62375
 
-    *.asm) xform=asm ;;
62376
 
-    *.c++) xform=c++ ;;
62377
 
-    *.cc) xform=cc ;;
62378
 
-    *.ii) xform=ii ;;
62379
 
-    *.class) xform=class ;;
62380
 
-    *.cpp) xform=cpp ;;
62381
 
-    *.cxx) xform=cxx ;;
62382
 
-    *.[fF][09]?) xform=[fF][09]. ;;
62383
 
-    *.for) xform=for ;;
62384
 
-    *.java) xform=java ;;
62385
 
-    *.obj) xform=obj ;;
62386
 
-    *.sx) xform=sx ;;
62387
 
+    *.[cCFSifmso] | \
62388
 
+    *.ada | *.adb | *.ads | *.asm | \
62389
 
+    *.c++ | *.cc | *.ii | *.class | *.cpp | *.cxx | \
62390
 
+    *.[fF][09]? | *.for | *.java | *.obj | *.sx)
62391
 
+      func_xform "$libobj"
62392
 
+      libobj=$func_xform_result
62393
 
+      ;;
62394
 
     esac
62395
 
 
62396
 
-    libobj=`$echo "X$libobj" | $Xsed -e "s/\.$xform$/.lo/"`
62397
 
-
62398
 
     case $libobj in
62399
 
-    *.lo) obj=`$echo "X$libobj" | $Xsed -e "$lo2o"` ;;
62400
 
+    *.lo) func_lo2o "$libobj"; obj=$func_lo2o_result ;;
62401
 
     *)
62402
 
-      $echo "$modename: cannot determine name of library object from \`$libobj'" 1>&2
62403
 
-      exit $EXIT_FAILURE
62404
 
+      func_fatal_error "cannot determine name of library object from \`$libobj'"
62405
 
       ;;
62406
 
     esac
62407
 
 
62408
 
@@ -811,7 +1230,15 @@ if test -z "$show_help"; then
62409
 
 
62410
 
     for arg in $later; do
62411
 
       case $arg in
62412
 
+      -shared)
62413
 
+       test "$build_libtool_libs" != yes && \
62414
 
+         func_fatal_configuration "can not build a shared library"
62415
 
+       build_old_libs=no
62416
 
+       continue
62417
 
+       ;;
62418
 
+
62419
 
       -static)
62420
 
+       build_libtool_libs=no
62421
 
        build_old_libs=yes
62422
 
        continue
62423
 
        ;;
62424
 
@@ -828,28 +1255,17 @@ if test -z "$show_help"; then
62425
 
       esac
62426
 
     done
62427
 
 
62428
 
-    qlibobj=`$echo "X$libobj" | $Xsed -e "$sed_quote_subst"`
62429
 
-    case $qlibobj in
62430
 
-      *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \    ]*|*]*|"")
62431
 
-       qlibobj="\"$qlibobj\"" ;;
62432
 
-    esac
62433
 
-    test "X$libobj" != "X$qlibobj" \
62434
 
-       && $echo "X$libobj" | grep '[]~#^*{};<>?"'"'"'  &()|`$[]' \
62435
 
-       && $echo "$modename: libobj name \`$libobj' may not contain shell special characters."
62436
 
-    objname=`$echo "X$obj" | $Xsed -e 's%^.*/%%'`
62437
 
-    xdir=`$echo "X$obj" | $Xsed -e 's%/[^/]*$%%'`
62438
 
-    if test "X$xdir" = "X$obj"; then
62439
 
-      xdir=
62440
 
-    else
62441
 
-      xdir=$xdir/
62442
 
-    fi
62443
 
+    func_quote_for_eval "$libobj"
62444
 
+    test "X$libobj" != "X$func_quote_for_eval_result" \
62445
 
+      && $ECHO "X$libobj" | $GREP '[]~#^*{};<>?"'"'"'   &()|`$[]' \
62446
 
+      && func_warning "libobj name \`$libobj' may not contain shell special characters."
62447
 
+    func_dirname_and_basename "$obj" "/" ""
62448
 
+    objname="$func_basename_result"
62449
 
+    xdir="$func_dirname_result"
62450
 
     lobj=${xdir}$objdir/$objname
62451
 
 
62452
 
-    if test -z "$base_compile"; then
62453
 
-      $echo "$modename: you must specify a compilation command" 1>&2
62454
 
-      $echo "$help" 1>&2
62455
 
-      exit $EXIT_FAILURE
62456
 
-    fi
62457
 
+    test -z "$base_compile" && \
62458
 
+      func_fatal_help "you must specify a compilation command"
62459
 
 
62460
 
     # Delete any leftover library objects.
62461
 
     if test "$build_old_libs" = yes; then
62462
 
@@ -858,12 +1274,9 @@ if test -z "$show_help"; then
62463
 
       removelist="$lobj $libobj ${libobj}T"
62464
 
     fi
62465
 
 
62466
 
-    $run $rm $removelist
62467
 
-    trap "$run $rm $removelist; exit $EXIT_FAILURE" 1 2 15
62468
 
-
62469
 
     # On Cygwin there's no "real" PIC flag so we must build both object types
62470
 
     case $host_os in
62471
 
-    cygwin* | mingw* | pw32* | os2*)
62472
 
+    cygwin* | mingw* | pw32* | os2* | cegcc*)
62473
 
       pic_mode=default
62474
 
       ;;
62475
 
     esac
62476
 
@@ -875,10 +1288,8 @@ if test -z "$show_help"; then
62477
 
     # Calculate the filename of the output object if compiler does
62478
 
     # not support -o with -c
62479
 
     if test "$compiler_c_o" = no; then
62480
 
-      output_obj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext}
62481
 
+      output_obj=`$ECHO "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext}
62482
 
       lockfile="$output_obj.lock"
62483
 
-      removelist="$removelist $output_obj $lockfile"
62484
 
-      trap "$run $rm $removelist; exit $EXIT_FAILURE" 1 2 15
62485
 
     else
62486
 
       output_obj=
62487
 
       need_locks=no
62488
 
@@ -888,13 +1299,13 @@ if test -z "$show_help"; then
62489
 
     # Lock this critical section if it is needed
62490
 
     # We use this script file to make the link, it avoids creating a new file
62491
 
     if test "$need_locks" = yes; then
62492
 
-      until $run ln "$progpath" "$lockfile" 2>/dev/null; do
62493
 
-       $show "Waiting for $lockfile to be removed"
62494
 
+      until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do
62495
 
+       func_echo "Waiting for $lockfile to be removed"
62496
 
        sleep 2
62497
 
       done
62498
 
     elif test "$need_locks" = warn; then
62499
 
       if test -f "$lockfile"; then
62500
 
-       $echo "\
62501
 
+       $ECHO "\
62502
 
 *** ERROR, $lockfile exists and contains:
62503
 
 `cat $lockfile 2>/dev/null`
62504
 
 
62505
 
@@ -905,34 +1316,22 @@ repeat this compilation, it may succeed,
62506
 
 avoid parallel builds (make -j) in this platform, or get a better
62507
 
 compiler."
62508
 
 
62509
 
-       $run $rm $removelist
62510
 
+       $opt_dry_run || $RM $removelist
62511
 
        exit $EXIT_FAILURE
62512
 
       fi
62513
 
-      $echo "$srcfile" > "$lockfile"
62514
 
+      removelist="$removelist $output_obj"
62515
 
+      $ECHO "$srcfile" > "$lockfile"
62516
 
     fi
62517
 
 
62518
 
+    $opt_dry_run || $RM $removelist
62519
 
+    removelist="$removelist $lockfile"
62520
 
+    trap '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' 1 2 15
62521
 
+
62522
 
     if test -n "$fix_srcfile_path"; then
62523
 
       eval srcfile=\"$fix_srcfile_path\"
62524
 
     fi
62525
 
-    qsrcfile=`$echo "X$srcfile" | $Xsed -e "$sed_quote_subst"`
62526
 
-    case $qsrcfile in
62527
 
-      *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \    ]*|*]*|"")
62528
 
-      qsrcfile="\"$qsrcfile\"" ;;
62529
 
-    esac
62530
 
-
62531
 
-    $run $rm "$libobj" "${libobj}T"
62532
 
-
62533
 
-    # Create a libtool object file (analogous to a ".la" file),
62534
 
-    # but don't create it if we're doing a dry run.
62535
 
-    test -z "$run" && cat > ${libobj}T <<EOF
62536
 
-# $libobj - a libtool object file
62537
 
-# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
62538
 
-#
62539
 
-# Please DO NOT delete this file!
62540
 
-# It is necessary for linking the library.
62541
 
-
62542
 
-# Name of the PIC object.
62543
 
-EOF
62544
 
+    func_quote_for_eval "$srcfile"
62545
 
+    qsrcfile=$func_quote_for_eval_result
62546
 
 
62547
 
     # Only build a PIC object if we are building libtool libraries.
62548
 
     if test "$build_libtool_libs" = yes; then
62549
 
@@ -946,32 +1345,19 @@ EOF
62550
 
        command="$base_compile $qsrcfile"
62551
 
       fi
62552
 
 
62553
 
-      if test ! -d "${xdir}$objdir"; then
62554
 
-       $show "$mkdir ${xdir}$objdir"
62555
 
-       $run $mkdir ${xdir}$objdir
62556
 
-       exit_status=$?
62557
 
-       if test "$exit_status" -ne 0 && test ! -d "${xdir}$objdir"; then
62558
 
-         exit $exit_status
62559
 
-       fi
62560
 
-      fi
62561
 
+      func_mkdir_p "$xdir$objdir"
62562
 
 
62563
 
       if test -z "$output_obj"; then
62564
 
        # Place PIC objects in $objdir
62565
 
        command="$command -o $lobj"
62566
 
       fi
62567
 
 
62568
 
-      $run $rm "$lobj" "$output_obj"
62569
 
-
62570
 
-      $show "$command"
62571
 
-      if $run eval $lt_env "$command"; then :
62572
 
-      else
62573
 
-       test -n "$output_obj" && $run $rm $removelist
62574
 
-       exit $EXIT_FAILURE
62575
 
-      fi
62576
 
+      func_show_eval_locale "$command" \
62577
 
+          'test -n "$output_obj" && $RM $removelist; exit $EXIT_FAILURE'
62578
 
 
62579
 
       if test "$need_locks" = warn &&
62580
 
         test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then
62581
 
-       $echo "\
62582
 
+       $ECHO "\
62583
 
 *** ERROR, $lockfile contains:
62584
 
 `cat $lockfile 2>/dev/null`
62585
 
 
62586
 
@@ -985,45 +1371,27 @@ repeat this compilation, it may succeed,
62587
 
 avoid parallel builds (make -j) in this platform, or get a better
62588
 
 compiler."
62589
 
 
62590
 
-       $run $rm $removelist
62591
 
+       $opt_dry_run || $RM $removelist
62592
 
        exit $EXIT_FAILURE
62593
 
       fi
62594
 
 
62595
 
       # Just move the object if needed, then go on to compile the next one
62596
 
       if test -n "$output_obj" && test "X$output_obj" != "X$lobj"; then
62597
 
-       $show "$mv $output_obj $lobj"
62598
 
-       if $run $mv $output_obj $lobj; then :
62599
 
-       else
62600
 
-         error=$?
62601
 
-         $run $rm $removelist
62602
 
-         exit $error
62603
 
-       fi
62604
 
+       func_show_eval '$MV "$output_obj" "$lobj"' \
62605
 
+         'error=$?; $opt_dry_run || $RM $removelist; exit $error'
62606
 
       fi
62607
 
 
62608
 
-      # Append the name of the PIC object to the libtool object file.
62609
 
-      test -z "$run" && cat >> ${libobj}T <<EOF
62610
 
-pic_object='$objdir/$objname'
62611
 
-
62612
 
-EOF
62613
 
-
62614
 
       # Allow error messages only from the first compilation.
62615
 
       if test "$suppress_opt" = yes; then
62616
 
-        suppress_output=' >/dev/null 2>&1'
62617
 
+       suppress_output=' >/dev/null 2>&1'
62618
 
       fi
62619
 
-    else
62620
 
-      # No PIC object so indicate it doesn't exist in the libtool
62621
 
-      # object file.
62622
 
-      test -z "$run" && cat >> ${libobj}T <<EOF
62623
 
-pic_object=none
62624
 
-
62625
 
-EOF
62626
 
     fi
62627
 
 
62628
 
     # Only build a position-dependent object if we build old libraries.
62629
 
     if test "$build_old_libs" = yes; then
62630
 
       if test "$pic_mode" != yes; then
62631
 
        # Don't build PIC code
62632
 
-       command="$base_compile $qsrcfile"
62633
 
+       command="$base_compile $qsrcfile$pie_flag"
62634
 
       else
62635
 
        command="$base_compile $qsrcfile $pic_flag"
62636
 
       fi
62637
 
@@ -1033,17 +1401,12 @@ EOF
62638
 
 
62639
 
       # Suppress compiler output if we already did a PIC compilation.
62640
 
       command="$command$suppress_output"
62641
 
-      $run $rm "$obj" "$output_obj"
62642
 
-      $show "$command"
62643
 
-      if $run eval $lt_env "$command"; then :
62644
 
-      else
62645
 
-       $run $rm $removelist
62646
 
-       exit $EXIT_FAILURE
62647
 
-      fi
62648
 
+      func_show_eval_locale "$command" \
62649
 
+        '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE'
62650
 
 
62651
 
       if test "$need_locks" = warn &&
62652
 
         test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then
62653
 
-       $echo "\
62654
 
+       $ECHO "\
62655
 
 *** ERROR, $lockfile contains:
62656
 
 `cat $lockfile 2>/dev/null`
62657
 
 
62658
 
@@ -1057,5477 +1420,6784 @@ repeat this compilation, it may succeed,
62659
 
 avoid parallel builds (make -j) in this platform, or get a better
62660
 
 compiler."
62661
 
 
62662
 
-       $run $rm $removelist
62663
 
+       $opt_dry_run || $RM $removelist
62664
 
        exit $EXIT_FAILURE
62665
 
       fi
62666
 
 
62667
 
       # Just move the object if needed
62668
 
       if test -n "$output_obj" && test "X$output_obj" != "X$obj"; then
62669
 
-       $show "$mv $output_obj $obj"
62670
 
-       if $run $mv $output_obj $obj; then :
62671
 
-       else
62672
 
-         error=$?
62673
 
-         $run $rm $removelist
62674
 
-         exit $error
62675
 
-       fi
62676
 
+       func_show_eval '$MV "$output_obj" "$obj"' \
62677
 
+         'error=$?; $opt_dry_run || $RM $removelist; exit $error'
62678
 
       fi
62679
 
-
62680
 
-      # Append the name of the non-PIC object the libtool object file.
62681
 
-      # Only append if the libtool object file exists.
62682
 
-      test -z "$run" && cat >> ${libobj}T <<EOF
62683
 
-# Name of the non-PIC object.
62684
 
-non_pic_object='$objname'
62685
 
-
62686
 
-EOF
62687
 
-    else
62688
 
-      # Append the name of the non-PIC object the libtool object file.
62689
 
-      # Only append if the libtool object file exists.
62690
 
-      test -z "$run" && cat >> ${libobj}T <<EOF
62691
 
-# Name of the non-PIC object.
62692
 
-non_pic_object=none
62693
 
-
62694
 
-EOF
62695
 
     fi
62696
 
 
62697
 
-    $run $mv "${libobj}T" "${libobj}"
62698
 
+    $opt_dry_run || {
62699
 
+      func_write_libtool_object "$libobj" "$objdir/$objname" "$objname"
62700
 
 
62701
 
-    # Unlock the critical section if it was locked
62702
 
-    if test "$need_locks" != no; then
62703
 
-      $run $rm "$lockfile"
62704
 
-    fi
62705
 
+      # Unlock the critical section if it was locked
62706
 
+      if test "$need_locks" != no; then
62707
 
+       removelist=$lockfile
62708
 
+        $RM "$lockfile"
62709
 
+      fi
62710
 
+    }
62711
 
 
62712
 
     exit $EXIT_SUCCESS
62713
 
-    ;;
62714
 
+}
62715
 
 
62716
 
-  # libtool link mode
62717
 
-  link | relink)
62718
 
-    modename="$modename: link"
62719
 
-    case $host in
62720
 
-    *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
62721
 
-      # It is impossible to link a dll without this setting, and
62722
 
-      # we shouldn't force the makefile maintainer to figure out
62723
 
-      # which system we are compiling for in order to pass an extra
62724
 
-      # flag for every libtool invocation.
62725
 
-      # allow_undefined=no
62726
 
+$opt_help || {
62727
 
+test "$mode" = compile && func_mode_compile ${1+"$@"}
62728
 
+}
62729
 
 
62730
 
-      # FIXME: Unfortunately, there are problems with the above when trying
62731
 
-      # to make a dll which has undefined symbols, in which case not
62732
 
-      # even a static library is built.  For now, we need to specify
62733
 
-      # -no-undefined on the libtool link line when we can be certain
62734
 
-      # that all symbols are satisfied, otherwise we get a static library.
62735
 
-      allow_undefined=yes
62736
 
-      ;;
62737
 
-    *)
62738
 
-      allow_undefined=yes
62739
 
-      ;;
62740
 
-    esac
62741
 
-    libtool_args="$nonopt"
62742
 
-    base_compile="$nonopt $@"
62743
 
-    compile_command="$nonopt"
62744
 
-    finalize_command="$nonopt"
62745
 
+func_mode_help ()
62746
 
+{
62747
 
+    # We need to display help for each of the modes.
62748
 
+    case $mode in
62749
 
+      "")
62750
 
+        # Generic help is extracted from the usage comments
62751
 
+        # at the start of this file.
62752
 
+        func_help
62753
 
+        ;;
62754
 
 
62755
 
-    compile_rpath=
62756
 
-    finalize_rpath=
62757
 
-    compile_shlibpath=
62758
 
-    finalize_shlibpath=
62759
 
-    convenience=
62760
 
-    old_convenience=
62761
 
-    deplibs=
62762
 
-    old_deplibs=
62763
 
-    compiler_flags=
62764
 
-    linker_flags=
62765
 
-    dllsearchpath=
62766
 
-    lib_search_path=`pwd`
62767
 
-    inst_prefix_dir=
62768
 
+      clean)
62769
 
+        $ECHO \
62770
 
+"Usage: $progname [OPTION]... --mode=clean RM [RM-OPTION]... FILE...
62771
 
 
62772
 
-    avoid_version=no
62773
 
-    dlfiles=
62774
 
-    dlprefiles=
62775
 
-    dlself=no
62776
 
-    export_dynamic=no
62777
 
-    export_symbols=
62778
 
-    export_symbols_regex=
62779
 
-    generated=
62780
 
-    libobjs=
62781
 
-    ltlibs=
62782
 
-    module=no
62783
 
-    no_install=no
62784
 
-    objs=
62785
 
-    non_pic_objects=
62786
 
-    notinst_path= # paths that contain not-installed libtool libraries
62787
 
-    precious_files_regex=
62788
 
-    prefer_static_libs=no
62789
 
-    preload=no
62790
 
-    prev=
62791
 
-    prevarg=
62792
 
-    release=
62793
 
-    rpath=
62794
 
-    xrpath=
62795
 
-    perm_rpath=
62796
 
-    temp_rpath=
62797
 
-    thread_safe=no
62798
 
-    vinfo=
62799
 
-    vinfo_number=no
62800
 
-    single_module="${wl}-single_module"
62801
 
+Remove files from the build directory.
62802
 
 
62803
 
-    func_infer_tag $base_compile
62804
 
+RM is the name of the program to use to delete files associated with each FILE
62805
 
+(typically \`/bin/rm').  RM-OPTIONS are options (such as \`-f') to be passed
62806
 
+to RM.
62807
 
 
62808
 
-    # We need to know -static, to get the right output filenames.
62809
 
-    for arg
62810
 
-    do
62811
 
-      case $arg in
62812
 
-      -all-static | -static | -static-libtool-libs)
62813
 
-       case $arg in
62814
 
-       -all-static)
62815
 
-         if test "$build_libtool_libs" = yes && test -z "$link_static_flag"; then
62816
 
-           $echo "$modename: warning: complete static linking is impossible in this configuration" 1>&2
62817
 
-         fi
62818
 
-         if test -n "$link_static_flag"; then
62819
 
-           dlopen_self=$dlopen_self_static
62820
 
-         fi
62821
 
-         prefer_static_libs=yes
62822
 
-         ;;
62823
 
-       -static)
62824
 
-         if test -z "$pic_flag" && test -n "$link_static_flag"; then
62825
 
-           dlopen_self=$dlopen_self_static
62826
 
-         fi
62827
 
-         prefer_static_libs=built
62828
 
-         ;;
62829
 
-       -static-libtool-libs)
62830
 
-         if test -z "$pic_flag" && test -n "$link_static_flag"; then
62831
 
-           dlopen_self=$dlopen_self_static
62832
 
-         fi
62833
 
-         prefer_static_libs=yes
62834
 
-         ;;
62835
 
-       esac
62836
 
-       build_libtool_libs=no
62837
 
-       build_old_libs=yes
62838
 
-       break
62839
 
-       ;;
62840
 
-      esac
62841
 
-    done
62842
 
+If FILE is a libtool library, object or program, all the files associated
62843
 
+with it are deleted. Otherwise, only FILE itself is deleted using RM."
62844
 
+        ;;
62845
 
 
62846
 
-    # See if our shared archives depend on static archives.
62847
 
-    test -n "$old_archive_from_new_cmds" && build_old_libs=yes
62848
 
+      compile)
62849
 
+      $ECHO \
62850
 
+"Usage: $progname [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE
62851
 
 
62852
 
-    # Go through the arguments, transforming them on the way.
62853
 
-    while test "$#" -gt 0; do
62854
 
-      arg="$1"
62855
 
-      shift
62856
 
-      case $arg in
62857
 
-      *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \    ]*|*]*|"")
62858
 
-       qarg=\"`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`\" ### testsuite: skip nested quoting test
62859
 
-       ;;
62860
 
-      *) qarg=$arg ;;
62861
 
-      esac
62862
 
-      libtool_args="$libtool_args $qarg"
62863
 
+Compile a source file into a libtool library object.
62864
 
 
62865
 
-      # If the previous option needs an argument, assign it.
62866
 
-      if test -n "$prev"; then
62867
 
-       case $prev in
62868
 
-       output)
62869
 
-         compile_command="$compile_command @OUTPUT@"
62870
 
-         finalize_command="$finalize_command @OUTPUT@"
62871
 
-         ;;
62872
 
-       esac
62873
 
+This mode accepts the following additional options:
62874
 
 
62875
 
-       case $prev in
62876
 
-       dlfiles|dlprefiles)
62877
 
-         if test "$preload" = no; then
62878
 
-           # Add the symbol object into the linking commands.
62879
 
-           compile_command="$compile_command @SYMFILE@"
62880
 
-           finalize_command="$finalize_command @SYMFILE@"
62881
 
-           preload=yes
62882
 
-         fi
62883
 
-         case $arg in
62884
 
-         *.la | *.lo) ;;  # We handle these cases below.
62885
 
-         force)
62886
 
-           if test "$dlself" = no; then
62887
 
-             dlself=needless
62888
 
-             export_dynamic=yes
62889
 
-           fi
62890
 
-           prev=
62891
 
-           continue
62892
 
-           ;;
62893
 
-         self)
62894
 
-           if test "$prev" = dlprefiles; then
62895
 
-             dlself=yes
62896
 
-           elif test "$prev" = dlfiles && test "$dlopen_self" != yes; then
62897
 
-             dlself=yes
62898
 
-           else
62899
 
-             dlself=needless
62900
 
-             export_dynamic=yes
62901
 
-           fi
62902
 
-           prev=
62903
 
-           continue
62904
 
-           ;;
62905
 
-         *)
62906
 
-           if test "$prev" = dlfiles; then
62907
 
-             dlfiles="$dlfiles $arg"
62908
 
-           else
62909
 
-             dlprefiles="$dlprefiles $arg"
62910
 
-           fi
62911
 
-           prev=
62912
 
-           continue
62913
 
-           ;;
62914
 
-         esac
62915
 
-         ;;
62916
 
-       expsyms)
62917
 
-         export_symbols="$arg"
62918
 
-         if test ! -f "$arg"; then
62919
 
-           $echo "$modename: symbol file \`$arg' does not exist"
62920
 
-           exit $EXIT_FAILURE
62921
 
-         fi
62922
 
-         prev=
62923
 
-         continue
62924
 
-         ;;
62925
 
-       expsyms_regex)
62926
 
-         export_symbols_regex="$arg"
62927
 
-         prev=
62928
 
-         continue
62929
 
-         ;;
62930
 
-       inst_prefix)
62931
 
-         inst_prefix_dir="$arg"
62932
 
-         prev=
62933
 
-         continue
62934
 
-         ;;
62935
 
-       precious_regex)
62936
 
-         precious_files_regex="$arg"
62937
 
-         prev=
62938
 
-         continue
62939
 
-         ;;
62940
 
-       release)
62941
 
-         release="-$arg"
62942
 
-         prev=
62943
 
-         continue
62944
 
-         ;;
62945
 
-       objectlist)
62946
 
-         if test -f "$arg"; then
62947
 
-           save_arg=$arg
62948
 
-           moreargs=
62949
 
-           for fil in `cat $save_arg`
62950
 
-           do
62951
 
-#            moreargs="$moreargs $fil"
62952
 
-             arg=$fil
62953
 
-             # A libtool-controlled object.
62954
 
+  -o OUTPUT-FILE    set the output file name to OUTPUT-FILE
62955
 
+  -no-suppress      do not suppress compiler output for multiple passes
62956
 
+  -prefer-pic       try to building PIC objects only
62957
 
+  -prefer-non-pic   try to building non-PIC objects only
62958
 
+  -shared           do not build a \`.o' file suitable for static linking
62959
 
+  -static           only build a \`.o' file suitable for static linking
62960
 
 
62961
 
-             # Check to see that this really is a libtool object.
62962
 
-             if (${SED} -e '2q' $arg | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
62963
 
-               pic_object=
62964
 
-               non_pic_object=
62965
 
+COMPILE-COMMAND is a command to be used in creating a \`standard' object file
62966
 
+from the given SOURCEFILE.
62967
 
 
62968
 
-               # Read the .lo file
62969
 
-               # If there is no directory component, then add one.
62970
 
-               case $arg in
62971
 
-               */* | *\\*) . $arg ;;
62972
 
-               *) . ./$arg ;;
62973
 
-               esac
62974
 
+The output file name is determined by removing the directory component from
62975
 
+SOURCEFILE, then substituting the C source code suffix \`.c' with the
62976
 
+library object suffix, \`.lo'."
62977
 
+        ;;
62978
 
 
62979
 
-               if test -z "$pic_object" || \
62980
 
-                  test -z "$non_pic_object" ||
62981
 
-                  test "$pic_object" = none && \
62982
 
-                  test "$non_pic_object" = none; then
62983
 
-                 $echo "$modename: cannot find name of object for \`$arg'" 1>&2
62984
 
-                 exit $EXIT_FAILURE
62985
 
-               fi
62986
 
+      execute)
62987
 
+        $ECHO \
62988
 
+"Usage: $progname [OPTION]... --mode=execute COMMAND [ARGS]...
62989
 
 
62990
 
-               # Extract subdirectory from the argument.
62991
 
-               xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
62992
 
-               if test "X$xdir" = "X$arg"; then
62993
 
-                 xdir=
62994
 
-               else
62995
 
-                 xdir="$xdir/"
62996
 
-               fi
62997
 
+Automatically set library path, then run a program.
62998
 
 
62999
 
-               if test "$pic_object" != none; then
63000
 
-                 # Prepend the subdirectory the object is found in.
63001
 
-                 pic_object="$xdir$pic_object"
63002
 
+This mode accepts the following additional options:
63003
 
 
63004
 
-                 if test "$prev" = dlfiles; then
63005
 
-                   if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
63006
 
-                     dlfiles="$dlfiles $pic_object"
63007
 
-                     prev=
63008
 
-                     continue
63009
 
-                   else
63010
 
-                     # If libtool objects are unsupported, then we need to preload.
63011
 
-                     prev=dlprefiles
63012
 
-                   fi
63013
 
-                 fi
63014
 
+  -dlopen FILE      add the directory containing FILE to the library path
63015
 
 
63016
 
-                 # CHECK ME:  I think I busted this.  -Ossama
63017
 
-                 if test "$prev" = dlprefiles; then
63018
 
-                   # Preload the old-style object.
63019
 
-                   dlprefiles="$dlprefiles $pic_object"
63020
 
-                   prev=
63021
 
-                 fi
63022
 
+This mode sets the library path environment variable according to \`-dlopen'
63023
 
+flags.
63024
 
 
63025
 
-                 # A PIC object.
63026
 
-                 libobjs="$libobjs $pic_object"
63027
 
-                 arg="$pic_object"
63028
 
-               fi
63029
 
+If any of the ARGS are libtool executable wrappers, then they are translated
63030
 
+into their corresponding uninstalled binary, and any of their required library
63031
 
+directories are added to the library path.
63032
 
 
63033
 
-               # Non-PIC object.
63034
 
-               if test "$non_pic_object" != none; then
63035
 
-                 # Prepend the subdirectory the object is found in.
63036
 
-                 non_pic_object="$xdir$non_pic_object"
63037
 
+Then, COMMAND is executed, with ARGS as arguments."
63038
 
+        ;;
63039
 
 
63040
 
-                 # A standard non-PIC object
63041
 
-                 non_pic_objects="$non_pic_objects $non_pic_object"
63042
 
-                 if test -z "$pic_object" || test "$pic_object" = none ; then
63043
 
-                   arg="$non_pic_object"
63044
 
-                 fi
63045
 
-               else
63046
 
-                 # If the PIC object exists, use it instead.
63047
 
-                 # $xdir was prepended to $pic_object above.
63048
 
-                 non_pic_object="$pic_object"
63049
 
-                 non_pic_objects="$non_pic_objects $non_pic_object"
63050
 
-               fi
63051
 
-             else
63052
 
-               # Only an error if not doing a dry-run.
63053
 
-               if test -z "$run"; then
63054
 
-                 $echo "$modename: \`$arg' is not a valid libtool object" 1>&2
63055
 
-                 exit $EXIT_FAILURE
63056
 
-               else
63057
 
-                 # Dry-run case.
63058
 
+      finish)
63059
 
+        $ECHO \
63060
 
+"Usage: $progname [OPTION]... --mode=finish [LIBDIR]...
63061
 
 
63062
 
-                 # Extract subdirectory from the argument.
63063
 
-                 xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
63064
 
-                 if test "X$xdir" = "X$arg"; then
63065
 
-                   xdir=
63066
 
-                 else
63067
 
-                   xdir="$xdir/"
63068
 
-                 fi
63069
 
+Complete the installation of libtool libraries.
63070
 
 
63071
 
-                 pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"`
63072
 
-                 non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"`
63073
 
-                 libobjs="$libobjs $pic_object"
63074
 
-                 non_pic_objects="$non_pic_objects $non_pic_object"
63075
 
-               fi
63076
 
-             fi
63077
 
-           done
63078
 
-         else
63079
 
-           $echo "$modename: link input file \`$save_arg' does not exist"
63080
 
-           exit $EXIT_FAILURE
63081
 
-         fi
63082
 
-         arg=$save_arg
63083
 
-         prev=
63084
 
-         continue
63085
 
-         ;;
63086
 
-       rpath | xrpath)
63087
 
-         # We need an absolute path.
63088
 
-         case $arg in
63089
 
-         [\\/]* | [A-Za-z]:[\\/]*) ;;
63090
 
-         *)
63091
 
-           $echo "$modename: only absolute run-paths are allowed" 1>&2
63092
 
-           exit $EXIT_FAILURE
63093
 
-           ;;
63094
 
-         esac
63095
 
-         if test "$prev" = rpath; then
63096
 
-           case "$rpath " in
63097
 
-           *" $arg "*) ;;
63098
 
-           *) rpath="$rpath $arg" ;;
63099
 
-           esac
63100
 
-         else
63101
 
-           case "$xrpath " in
63102
 
-           *" $arg "*) ;;
63103
 
-           *) xrpath="$xrpath $arg" ;;
63104
 
-           esac
63105
 
-         fi
63106
 
-         prev=
63107
 
-         continue
63108
 
-         ;;
63109
 
-       xcompiler)
63110
 
-         compiler_flags="$compiler_flags $qarg"
63111
 
-         prev=
63112
 
-         compile_command="$compile_command $qarg"
63113
 
-         finalize_command="$finalize_command $qarg"
63114
 
-         continue
63115
 
-         ;;
63116
 
-       xlinker)
63117
 
-         linker_flags="$linker_flags $qarg"
63118
 
-         compiler_flags="$compiler_flags $wl$qarg"
63119
 
-         prev=
63120
 
-         compile_command="$compile_command $wl$qarg"
63121
 
-         finalize_command="$finalize_command $wl$qarg"
63122
 
-         continue
63123
 
-         ;;
63124
 
-       xcclinker)
63125
 
-         linker_flags="$linker_flags $qarg"
63126
 
-         compiler_flags="$compiler_flags $qarg"
63127
 
-         prev=
63128
 
-         compile_command="$compile_command $qarg"
63129
 
-         finalize_command="$finalize_command $qarg"
63130
 
-         continue
63131
 
-         ;;
63132
 
-       shrext)
63133
 
-         shrext_cmds="$arg"
63134
 
-         prev=
63135
 
-         continue
63136
 
-         ;;
63137
 
-       darwin_framework|darwin_framework_skip)
63138
 
-         test "$prev" = "darwin_framework" && compiler_flags="$compiler_flags $arg"
63139
 
-         compile_command="$compile_command $arg"
63140
 
-         finalize_command="$finalize_command $arg"
63141
 
-         prev=
63142
 
-         continue
63143
 
-         ;;
63144
 
-       *)
63145
 
-         eval "$prev=\"\$arg\""
63146
 
-         prev=
63147
 
-         continue
63148
 
-         ;;
63149
 
-       esac
63150
 
-      fi # test -n "$prev"
63151
 
+Each LIBDIR is a directory that contains libtool libraries.
63152
 
 
63153
 
-      prevarg="$arg"
63154
 
+The commands that this mode executes may require superuser privileges.  Use
63155
 
+the \`--dry-run' option if you just want to see what would be executed."
63156
 
+        ;;
63157
 
 
63158
 
-      case $arg in
63159
 
-      -all-static)
63160
 
-       if test -n "$link_static_flag"; then
63161
 
-         compile_command="$compile_command $link_static_flag"
63162
 
-         finalize_command="$finalize_command $link_static_flag"
63163
 
-       fi
63164
 
-       continue
63165
 
-       ;;
63166
 
+      install)
63167
 
+        $ECHO \
63168
 
+"Usage: $progname [OPTION]... --mode=install INSTALL-COMMAND...
63169
 
 
63170
 
-      -allow-undefined)
63171
 
-       # FIXME: remove this flag sometime in the future.
63172
 
-       $echo "$modename: \`-allow-undefined' is deprecated because it is the default" 1>&2
63173
 
-       continue
63174
 
-       ;;
63175
 
+Install executables or libraries.
63176
 
 
63177
 
-      -avoid-version)
63178
 
-       avoid_version=yes
63179
 
-       continue
63180
 
-       ;;
63181
 
+INSTALL-COMMAND is the installation command.  The first component should be
63182
 
+either the \`install' or \`cp' program.
63183
 
 
63184
 
-      -dlopen)
63185
 
-       prev=dlfiles
63186
 
-       continue
63187
 
-       ;;
63188
 
+The following components of INSTALL-COMMAND are treated specially:
63189
 
 
63190
 
-      -dlpreopen)
63191
 
-       prev=dlprefiles
63192
 
-       continue
63193
 
-       ;;
63194
 
+  -inst-prefix PREFIX-DIR  Use PREFIX-DIR as a staging area for installation
63195
 
 
63196
 
-      -export-dynamic)
63197
 
-       export_dynamic=yes
63198
 
-       continue
63199
 
-       ;;
63200
 
+The rest of the components are interpreted as arguments to that command (only
63201
 
+BSD-compatible install options are recognized)."
63202
 
+        ;;
63203
 
 
63204
 
-      -export-symbols | -export-symbols-regex)
63205
 
-       if test -n "$export_symbols" || test -n "$export_symbols_regex"; then
63206
 
-         $echo "$modename: more than one -exported-symbols argument is not allowed"
63207
 
-         exit $EXIT_FAILURE
63208
 
-       fi
63209
 
-       if test "X$arg" = "X-export-symbols"; then
63210
 
-         prev=expsyms
63211
 
-       else
63212
 
-         prev=expsyms_regex
63213
 
-       fi
63214
 
-       continue
63215
 
-       ;;
63216
 
+      link)
63217
 
+        $ECHO \
63218
 
+"Usage: $progname [OPTION]... --mode=link LINK-COMMAND...
63219
 
 
63220
 
-      -framework|-arch|-isysroot)
63221
 
-       case " $CC " in
63222
 
-         *" ${arg} ${1} "* | *" ${arg} ${1} "*) 
63223
 
-               prev=darwin_framework_skip ;;
63224
 
-         *) compiler_flags="$compiler_flags $arg"
63225
 
-            prev=darwin_framework ;;
63226
 
-       esac
63227
 
-       compile_command="$compile_command $arg"
63228
 
-       finalize_command="$finalize_command $arg"
63229
 
-       continue
63230
 
-       ;;
63231
 
+Link object files or libraries together to form another library, or to
63232
 
+create an executable program.
63233
 
 
63234
 
-      -inst-prefix-dir)
63235
 
-       prev=inst_prefix
63236
 
-       continue
63237
 
-       ;;
63238
 
+LINK-COMMAND is a command using the C compiler that you would use to create
63239
 
+a program from several object files.
63240
 
 
63241
 
-      # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:*
63242
 
-      # so, if we see these flags be careful not to treat them like -L
63243
 
-      -L[A-Z][A-Z]*:*)
63244
 
-       case $with_gcc/$host in
63245
 
-       no/*-*-irix* | /*-*-irix*)
63246
 
-         compile_command="$compile_command $arg"
63247
 
-         finalize_command="$finalize_command $arg"
63248
 
-         ;;
63249
 
-       esac
63250
 
-       continue
63251
 
-       ;;
63252
 
+The following components of LINK-COMMAND are treated specially:
63253
 
 
63254
 
-      -L*)
63255
 
-       dir=`$echo "X$arg" | $Xsed -e 's/^-L//'`
63256
 
-       # We need an absolute path.
63257
 
-       case $dir in
63258
 
-       [\\/]* | [A-Za-z]:[\\/]*) ;;
63259
 
-       *)
63260
 
-         absdir=`cd "$dir" && pwd`
63261
 
-         if test -z "$absdir"; then
63262
 
-           $echo "$modename: cannot determine absolute directory name of \`$dir'" 1>&2
63263
 
-           absdir="$dir"
63264
 
-           notinst_path="$notinst_path $dir"
63265
 
-         fi
63266
 
-         dir="$absdir"
63267
 
-         ;;
63268
 
-       esac
63269
 
-       case "$deplibs " in
63270
 
-       *" -L$dir "*) ;;
63271
 
-       *)
63272
 
-         deplibs="$deplibs -L$dir"
63273
 
-         lib_search_path="$lib_search_path $dir"
63274
 
-         ;;
63275
 
-       esac
63276
 
-       case $host in
63277
 
-       *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
63278
 
-         testbindir=`$echo "X$dir" | $Xsed -e 's*/lib$*/bin*'`
63279
 
-         case :$dllsearchpath: in
63280
 
-         *":$dir:"*) ;;
63281
 
-         *) dllsearchpath="$dllsearchpath:$dir";;
63282
 
-         esac
63283
 
-         case :$dllsearchpath: in
63284
 
-         *":$testbindir:"*) ;;
63285
 
-         *) dllsearchpath="$dllsearchpath:$testbindir";;
63286
 
-         esac
63287
 
-         ;;
63288
 
-       esac
63289
 
-       continue
63290
 
-       ;;
63291
 
+  -all-static       do not do any dynamic linking at all
63292
 
+  -avoid-version    do not add a version suffix if possible
63293
 
+  -dlopen FILE      \`-dlpreopen' FILE if it cannot be dlopened at runtime
63294
 
+  -dlpreopen FILE   link in FILE and add its symbols to lt_preloaded_symbols
63295
 
+  -export-dynamic   allow symbols from OUTPUT-FILE to be resolved with dlsym(3)
63296
 
+  -export-symbols SYMFILE
63297
 
+                    try to export only the symbols listed in SYMFILE
63298
 
+  -export-symbols-regex REGEX
63299
 
+                    try to export only the symbols matching REGEX
63300
 
+  -LLIBDIR          search LIBDIR for required installed libraries
63301
 
+  -lNAME            OUTPUT-FILE requires the installed library libNAME
63302
 
+  -module           build a library that can dlopened
63303
 
+  -no-fast-install  disable the fast-install mode
63304
 
+  -no-install       link a not-installable executable
63305
 
+  -no-undefined     declare that a library does not refer to external symbols
63306
 
+  -o OUTPUT-FILE    create OUTPUT-FILE from the specified objects
63307
 
+  -objectlist FILE  Use a list of object files found in FILE to specify objects
63308
 
+  -precious-files-regex REGEX
63309
 
+                    don't remove output files matching REGEX
63310
 
+  -release RELEASE  specify package release information
63311
 
+  -rpath LIBDIR     the created library will eventually be installed in LIBDIR
63312
 
+  -R[ ]LIBDIR       add LIBDIR to the runtime path of programs and libraries
63313
 
+  -shared           only do dynamic linking of libtool libraries
63314
 
+  -shrext SUFFIX    override the standard shared library file extension
63315
 
+  -static           do not do any dynamic linking of uninstalled libtool libraries
63316
 
+  -static-libtool-libs
63317
 
+                    do not do any dynamic linking of libtool libraries
63318
 
+  -version-info CURRENT[:REVISION[:AGE]]
63319
 
+                    specify library version info [each variable defaults to 0]
63320
 
+  -weak LIBNAME     declare that the target provides the LIBNAME interface
63321
 
 
63322
 
-      -l*)
63323
 
-       if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then
63324
 
-         case $host in
63325
 
-         *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos*)
63326
 
-           # These systems don't actually have a C or math library (as such)
63327
 
-           continue
63328
 
-           ;;
63329
 
-         *-*-os2*)
63330
 
-           # These systems don't actually have a C library (as such)
63331
 
-           test "X$arg" = "X-lc" && continue
63332
 
-           ;;
63333
 
-         *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
63334
 
-           # Do not include libc due to us having libc/libc_r.
63335
 
-           test "X$arg" = "X-lc" && continue
63336
 
-           ;;
63337
 
-         *-*-rhapsody* | *-*-darwin1.[012])
63338
 
-           # Rhapsody C and math libraries are in the System framework
63339
 
-           deplibs="$deplibs -framework System"
63340
 
-           continue
63341
 
-           ;;
63342
 
-         *-*-sco3.2v5* | *-*-sco5v6*)
63343
 
-           # Causes problems with __ctype
63344
 
-           test "X$arg" = "X-lc" && continue
63345
 
-           ;;
63346
 
-         *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
63347
 
-           # Compiler inserts libc in the correct place for threads to work
63348
 
-           test "X$arg" = "X-lc" && continue
63349
 
-           ;;
63350
 
-         esac
63351
 
-       elif test "X$arg" = "X-lc_r"; then
63352
 
-        case $host in
63353
 
-        *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
63354
 
-          # Do not include libc_r directly, use -pthread flag.
63355
 
-          continue
63356
 
-          ;;
63357
 
-        esac
63358
 
-       fi
63359
 
-       deplibs="$deplibs $arg"
63360
 
-       continue
63361
 
-       ;;
63362
 
+All other options (arguments beginning with \`-') are ignored.
63363
 
 
63364
 
-      # Tru64 UNIX uses -model [arg] to determine the layout of C++
63365
 
-      # classes, name mangling, and exception handling.
63366
 
-      -model)
63367
 
-       compile_command="$compile_command $arg"
63368
 
-       compiler_flags="$compiler_flags $arg"
63369
 
-       finalize_command="$finalize_command $arg"
63370
 
-       prev=xcompiler
63371
 
-       continue
63372
 
-       ;;
63373
 
+Every other argument is treated as a filename.  Files ending in \`.la' are
63374
 
+treated as uninstalled libtool libraries, other files are standard or library
63375
 
+object files.
63376
 
 
63377
 
-     -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
63378
 
-       compiler_flags="$compiler_flags $arg"
63379
 
-       compile_command="$compile_command $arg"
63380
 
-       finalize_command="$finalize_command $arg"
63381
 
-       continue
63382
 
-       ;;
63383
 
+If the OUTPUT-FILE ends in \`.la', then a libtool library is created,
63384
 
+only library objects (\`.lo' files) may be specified, and \`-rpath' is
63385
 
+required, except when creating a convenience library.
63386
 
 
63387
 
-      -multi_module)
63388
 
-       single_module="${wl}-multi_module"
63389
 
-       continue
63390
 
-       ;;
63391
 
+If OUTPUT-FILE ends in \`.a' or \`.lib', then a standard library is created
63392
 
+using \`ar' and \`ranlib', or on Windows using \`lib'.
63393
 
 
63394
 
-      -module)
63395
 
-       module=yes
63396
 
-       continue
63397
 
-       ;;
63398
 
+If OUTPUT-FILE ends in \`.lo' or \`.${objext}', then a reloadable object file
63399
 
+is created, otherwise an executable program is created."
63400
 
+        ;;
63401
 
 
63402
 
-      # -64, -mips[0-9] enable 64-bit mode on the SGI compiler
63403
 
-      # -r[0-9][0-9]* specifies the processor on the SGI compiler
63404
 
-      # -xarch=*, -xtarget=* enable 64-bit mode on the Sun compiler
63405
 
-      # +DA*, +DD* enable 64-bit mode on the HP compiler
63406
 
-      # -q* pass through compiler args for the IBM compiler
63407
 
-      # -m* pass through architecture-specific compiler args for GCC
63408
 
-      # -m*, -t[45]*, -txscale* pass through architecture-specific
63409
 
-      # compiler args for GCC
63410
 
-      # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC
63411
 
-      # -F/path gives path to uninstalled frameworks, gcc on darwin
63412
 
-      # @file GCC response files
63413
 
-      -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
63414
 
-      -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*)
63415
 
+      uninstall)
63416
 
+        $ECHO \
63417
 
+"Usage: $progname [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE...
63418
 
 
63419
 
-       # Unknown arguments in both finalize_command and compile_command need
63420
 
-       # to be aesthetically quoted because they are evaled later.
63421
 
-       arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
63422
 
-       case $arg in
63423
 
-       *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \   ]*|*]*|"")
63424
 
-         arg="\"$arg\""
63425
 
-         ;;
63426
 
-       esac
63427
 
-        compile_command="$compile_command $arg"
63428
 
-        finalize_command="$finalize_command $arg"
63429
 
-        compiler_flags="$compiler_flags $arg"
63430
 
-        continue
63431
 
+Remove libraries from an installation directory.
63432
 
+
63433
 
+RM is the name of the program to use to delete files associated with each FILE
63434
 
+(typically \`/bin/rm').  RM-OPTIONS are options (such as \`-f') to be passed
63435
 
+to RM.
63436
 
+
63437
 
+If FILE is a libtool library, all the files associated with it are deleted.
63438
 
+Otherwise, only FILE itself is deleted using RM."
63439
 
         ;;
63440
 
 
63441
 
-      -shrext)
63442
 
-       prev=shrext
63443
 
-       continue
63444
 
-       ;;
63445
 
+      *)
63446
 
+        func_fatal_help "invalid operation mode \`$mode'"
63447
 
+        ;;
63448
 
+    esac
63449
 
 
63450
 
-      -no-fast-install)
63451
 
-       fast_install=no
63452
 
-       continue
63453
 
-       ;;
63454
 
+    $ECHO
63455
 
+    $ECHO "Try \`$progname --help' for more information about other modes."
63456
 
 
63457
 
-      -no-install)
63458
 
-       case $host in
63459
 
-       *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin*)
63460
 
-         # The PATH hackery in wrapper scripts is required on Windows
63461
 
-         # and Darwin in order for the loader to find any dlls it needs.
63462
 
-         $echo "$modename: warning: \`-no-install' is ignored for $host" 1>&2
63463
 
-         $echo "$modename: warning: assuming \`-no-fast-install' instead" 1>&2
63464
 
-         fast_install=no
63465
 
-         ;;
63466
 
-       *) no_install=yes ;;
63467
 
-       esac
63468
 
-       continue
63469
 
-       ;;
63470
 
+    exit $?
63471
 
+}
63472
 
 
63473
 
-      -no-undefined)
63474
 
-       allow_undefined=no
63475
 
-       continue
63476
 
-       ;;
63477
 
+  # Now that we've collected a possible --mode arg, show help if necessary
63478
 
+  $opt_help && func_mode_help
63479
 
 
63480
 
-      -objectlist)
63481
 
-       prev=objectlist
63482
 
-       continue
63483
 
-       ;;
63484
 
 
63485
 
-      -o) prev=output ;;
63486
 
+# func_mode_execute arg...
63487
 
+func_mode_execute ()
63488
 
+{
63489
 
+    $opt_debug
63490
 
+    # The first argument is the command name.
63491
 
+    cmd="$nonopt"
63492
 
+    test -z "$cmd" && \
63493
 
+      func_fatal_help "you must specify a COMMAND"
63494
 
 
63495
 
-      -precious-files-regex)
63496
 
-       prev=precious_regex
63497
 
-       continue
63498
 
-       ;;
63499
 
+    # Handle -dlopen flags immediately.
63500
 
+    for file in $execute_dlfiles; do
63501
 
+      test -f "$file" \
63502
 
+       || func_fatal_help "\`$file' is not a file"
63503
 
 
63504
 
-      -release)
63505
 
-       prev=release
63506
 
-       continue
63507
 
-       ;;
63508
 
+      dir=
63509
 
+      case $file in
63510
 
+      *.la)
63511
 
+       # Check to see that this really is a libtool archive.
63512
 
+       func_lalib_unsafe_p "$file" \
63513
 
+         || func_fatal_help "\`$lib' is not a valid libtool archive"
63514
 
 
63515
 
-      -rpath)
63516
 
-       prev=rpath
63517
 
-       continue
63518
 
-       ;;
63519
 
+       # Read the libtool library.
63520
 
+       dlname=
63521
 
+       library_names=
63522
 
+       func_source "$file"
63523
 
 
63524
 
-      -R)
63525
 
-       prev=xrpath
63526
 
-       continue
63527
 
-       ;;
63528
 
+       # Skip this library if it cannot be dlopened.
63529
 
+       if test -z "$dlname"; then
63530
 
+         # Warn if it was a shared library.
63531
 
+         test -n "$library_names" && \
63532
 
+           func_warning "\`$file' was not linked with \`-export-dynamic'"
63533
 
+         continue
63534
 
+       fi
63535
 
 
63536
 
-      -R*)
63537
 
-       dir=`$echo "X$arg" | $Xsed -e 's/^-R//'`
63538
 
-       # We need an absolute path.
63539
 
-       case $dir in
63540
 
-       [\\/]* | [A-Za-z]:[\\/]*) ;;
63541
 
-       *)
63542
 
-         $echo "$modename: only absolute run-paths are allowed" 1>&2
63543
 
-         exit $EXIT_FAILURE
63544
 
-         ;;
63545
 
-       esac
63546
 
-       case "$xrpath " in
63547
 
-       *" $dir "*) ;;
63548
 
-       *) xrpath="$xrpath $dir" ;;
63549
 
-       esac
63550
 
-       continue
63551
 
-       ;;
63552
 
+       func_dirname "$file" "" "."
63553
 
+       dir="$func_dirname_result"
63554
 
 
63555
 
-      -static | -static-libtool-libs)
63556
 
-       # The effects of -static are defined in a previous loop.
63557
 
-       # We used to do the same as -all-static on platforms that
63558
 
-       # didn't have a PIC flag, but the assumption that the effects
63559
 
-       # would be equivalent was wrong.  It would break on at least
63560
 
-       # Digital Unix and AIX.
63561
 
-       continue
63562
 
+       if test -f "$dir/$objdir/$dlname"; then
63563
 
+         dir="$dir/$objdir"
63564
 
+       else
63565
 
+         if test ! -f "$dir/$dlname"; then
63566
 
+           func_fatal_error "cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'"
63567
 
+         fi
63568
 
+       fi
63569
 
        ;;
63570
 
 
63571
 
-      -thread-safe)
63572
 
-       thread_safe=yes
63573
 
-       continue
63574
 
+      *.lo)
63575
 
+       # Just add the directory containing the .lo file.
63576
 
+       func_dirname "$file" "" "."
63577
 
+       dir="$func_dirname_result"
63578
 
        ;;
63579
 
 
63580
 
-      -version-info)
63581
 
-       prev=vinfo
63582
 
-       continue
63583
 
-       ;;
63584
 
-      -version-number)
63585
 
-       prev=vinfo
63586
 
-       vinfo_number=yes
63587
 
+      *)
63588
 
+       func_warning "\`-dlopen' is ignored for non-libtool libraries and objects"
63589
 
        continue
63590
 
        ;;
63591
 
+      esac
63592
 
 
63593
 
-      -Wc,*)
63594
 
-       args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wc,//'`
63595
 
-       arg=
63596
 
-       save_ifs="$IFS"; IFS=','
63597
 
-       for flag in $args; do
63598
 
-         IFS="$save_ifs"
63599
 
-         case $flag in
63600
 
-           *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \       ]*|*]*|"")
63601
 
-           flag="\"$flag\""
63602
 
-           ;;
63603
 
-         esac
63604
 
-         arg="$arg $wl$flag"
63605
 
-         compiler_flags="$compiler_flags $flag"
63606
 
-       done
63607
 
-       IFS="$save_ifs"
63608
 
-       arg=`$echo "X$arg" | $Xsed -e "s/^ //"`
63609
 
-       ;;
63610
 
+      # Get the absolute pathname.
63611
 
+      absdir=`cd "$dir" && pwd`
63612
 
+      test -n "$absdir" && dir="$absdir"
63613
 
 
63614
 
-      -Wl,*)
63615
 
-       args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wl,//'`
63616
 
-       arg=
63617
 
-       save_ifs="$IFS"; IFS=','
63618
 
-       for flag in $args; do
63619
 
-         IFS="$save_ifs"
63620
 
-         case $flag in
63621
 
-           *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \       ]*|*]*|"")
63622
 
-           flag="\"$flag\""
63623
 
-           ;;
63624
 
-         esac
63625
 
-         arg="$arg $wl$flag"
63626
 
-         compiler_flags="$compiler_flags $wl$flag"
63627
 
-         linker_flags="$linker_flags $flag"
63628
 
-       done
63629
 
-       IFS="$save_ifs"
63630
 
-       arg=`$echo "X$arg" | $Xsed -e "s/^ //"`
63631
 
-       ;;
63632
 
+      # Now add the directory to shlibpath_var.
63633
 
+      if eval "test -z \"\$$shlibpath_var\""; then
63634
 
+       eval "$shlibpath_var=\"\$dir\""
63635
 
+      else
63636
 
+       eval "$shlibpath_var=\"\$dir:\$$shlibpath_var\""
63637
 
+      fi
63638
 
+    done
63639
 
 
63640
 
-      -Xcompiler)
63641
 
-       prev=xcompiler
63642
 
-       continue
63643
 
-       ;;
63644
 
+    # This variable tells wrapper scripts just to set shlibpath_var
63645
 
+    # rather than running their programs.
63646
 
+    libtool_execute_magic="$magic"
63647
 
 
63648
 
-      -Xlinker)
63649
 
-       prev=xlinker
63650
 
-       continue
63651
 
+    # Check if any of the arguments is a wrapper script.
63652
 
+    args=
63653
 
+    for file
63654
 
+    do
63655
 
+      case $file in
63656
 
+      -*) ;;
63657
 
+      *)
63658
 
+       # Do a test to see if this is really a libtool program.
63659
 
+       if func_ltwrapper_script_p "$file"; then
63660
 
+         func_source "$file"
63661
 
+         # Transform arg to wrapped name.
63662
 
+         file="$progdir/$program"
63663
 
+       elif func_ltwrapper_executable_p "$file"; then
63664
 
+         func_ltwrapper_scriptname "$file"
63665
 
+         func_source "$func_ltwrapper_scriptname_result"
63666
 
+         # Transform arg to wrapped name.
63667
 
+         file="$progdir/$program"
63668
 
+       fi
63669
 
        ;;
63670
 
+      esac
63671
 
+      # Quote arguments (to preserve shell metacharacters).
63672
 
+      func_quote_for_eval "$file"
63673
 
+      args="$args $func_quote_for_eval_result"
63674
 
+    done
63675
 
 
63676
 
-      -XCClinker)
63677
 
-       prev=xcclinker
63678
 
-       continue
63679
 
-       ;;
63680
 
+    if test "X$opt_dry_run" = Xfalse; then
63681
 
+      if test -n "$shlibpath_var"; then
63682
 
+       # Export the shlibpath_var.
63683
 
+       eval "export $shlibpath_var"
63684
 
+      fi
63685
 
 
63686
 
-      # Some other compiler flag.
63687
 
-      -* | +*)
63688
 
-       # Unknown arguments in both finalize_command and compile_command need
63689
 
-       # to be aesthetically quoted because they are evaled later.
63690
 
-       arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
63691
 
-       case $arg in
63692
 
-       *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \   ]*|*]*|"")
63693
 
-         arg="\"$arg\""
63694
 
-         ;;
63695
 
-       esac
63696
 
-       ;;
63697
 
+      # Restore saved environment variables
63698
 
+      for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
63699
 
+      do
63700
 
+       eval "if test \"\${save_$lt_var+set}\" = set; then
63701
 
+                $lt_var=\$save_$lt_var; export $lt_var
63702
 
+             else
63703
 
+               $lt_unset $lt_var
63704
 
+             fi"
63705
 
+      done
63706
 
 
63707
 
-      *.$objext)
63708
 
-       # A standard object.
63709
 
-       objs="$objs $arg"
63710
 
-       ;;
63711
 
+      # Now prepare to actually exec the command.
63712
 
+      exec_cmd="\$cmd$args"
63713
 
+    else
63714
 
+      # Display what would be done.
63715
 
+      if test -n "$shlibpath_var"; then
63716
 
+       eval "\$ECHO \"\$shlibpath_var=\$$shlibpath_var\""
63717
 
+       $ECHO "export $shlibpath_var"
63718
 
+      fi
63719
 
+      $ECHO "$cmd$args"
63720
 
+      exit $EXIT_SUCCESS
63721
 
+    fi
63722
 
+}
63723
 
 
63724
 
-      *.lo)
63725
 
-       # A libtool-controlled object.
63726
 
+test "$mode" = execute && func_mode_execute ${1+"$@"}
63727
 
 
63728
 
-       # Check to see that this really is a libtool object.
63729
 
-       if (${SED} -e '2q' $arg | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
63730
 
-         pic_object=
63731
 
-         non_pic_object=
63732
 
 
63733
 
-         # Read the .lo file
63734
 
-         # If there is no directory component, then add one.
63735
 
-         case $arg in
63736
 
-         */* | *\\*) . $arg ;;
63737
 
-         *) . ./$arg ;;
63738
 
-         esac
63739
 
+# func_mode_finish arg...
63740
 
+func_mode_finish ()
63741
 
+{
63742
 
+    $opt_debug
63743
 
+    libdirs="$nonopt"
63744
 
+    admincmds=
63745
 
 
63746
 
-         if test -z "$pic_object" || \
63747
 
-            test -z "$non_pic_object" ||
63748
 
-            test "$pic_object" = none && \
63749
 
-            test "$non_pic_object" = none; then
63750
 
-           $echo "$modename: cannot find name of object for \`$arg'" 1>&2
63751
 
-           exit $EXIT_FAILURE
63752
 
-         fi
63753
 
+    if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then
63754
 
+      for dir
63755
 
+      do
63756
 
+       libdirs="$libdirs $dir"
63757
 
+      done
63758
 
 
63759
 
-         # Extract subdirectory from the argument.
63760
 
-         xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
63761
 
-         if test "X$xdir" = "X$arg"; then
63762
 
-           xdir=
63763
 
-         else
63764
 
-           xdir="$xdir/"
63765
 
-         fi
63766
 
+      for libdir in $libdirs; do
63767
 
+       if test -n "$finish_cmds"; then
63768
 
+         # Do each command in the finish commands.
63769
 
+         func_execute_cmds "$finish_cmds" 'admincmds="$admincmds
63770
 
+'"$cmd"'"'
63771
 
+       fi
63772
 
+       if test -n "$finish_eval"; then
63773
 
+         # Do the single finish_eval.
63774
 
+         eval cmds=\"$finish_eval\"
63775
 
+         $opt_dry_run || eval "$cmds" || admincmds="$admincmds
63776
 
+       $cmds"
63777
 
+       fi
63778
 
+      done
63779
 
+    fi
63780
 
 
63781
 
-         if test "$pic_object" != none; then
63782
 
-           # Prepend the subdirectory the object is found in.
63783
 
-           pic_object="$xdir$pic_object"
63784
 
+    # Exit here if they wanted silent mode.
63785
 
+    $opt_silent && exit $EXIT_SUCCESS
63786
 
 
63787
 
-           if test "$prev" = dlfiles; then
63788
 
-             if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
63789
 
-               dlfiles="$dlfiles $pic_object"
63790
 
-               prev=
63791
 
-               continue
63792
 
-             else
63793
 
-               # If libtool objects are unsupported, then we need to preload.
63794
 
-               prev=dlprefiles
63795
 
-             fi
63796
 
-           fi
63797
 
+    $ECHO "X----------------------------------------------------------------------" | $Xsed
63798
 
+    $ECHO "Libraries have been installed in:"
63799
 
+    for libdir in $libdirs; do
63800
 
+      $ECHO "   $libdir"
63801
 
+    done
63802
 
+    $ECHO
63803
 
+    $ECHO "If you ever happen to want to link against installed libraries"
63804
 
+    $ECHO "in a given directory, LIBDIR, you must either use libtool, and"
63805
 
+    $ECHO "specify the full pathname of the library, or use the \`-LLIBDIR'"
63806
 
+    $ECHO "flag during linking and do at least one of the following:"
63807
 
+    if test -n "$shlibpath_var"; then
63808
 
+      $ECHO "   - add LIBDIR to the \`$shlibpath_var' environment variable"
63809
 
+      $ECHO "     during execution"
63810
 
+    fi
63811
 
+    if test -n "$runpath_var"; then
63812
 
+      $ECHO "   - add LIBDIR to the \`$runpath_var' environment variable"
63813
 
+      $ECHO "     during linking"
63814
 
+    fi
63815
 
+    if test -n "$hardcode_libdir_flag_spec"; then
63816
 
+      libdir=LIBDIR
63817
 
+      eval flag=\"$hardcode_libdir_flag_spec\"
63818
 
 
63819
 
-           # CHECK ME:  I think I busted this.  -Ossama
63820
 
-           if test "$prev" = dlprefiles; then
63821
 
-             # Preload the old-style object.
63822
 
-             dlprefiles="$dlprefiles $pic_object"
63823
 
-             prev=
63824
 
-           fi
63825
 
+      $ECHO "   - use the \`$flag' linker flag"
63826
 
+    fi
63827
 
+    if test -n "$admincmds"; then
63828
 
+      $ECHO "   - have your system administrator run these commands:$admincmds"
63829
 
+    fi
63830
 
+    if test -f /etc/ld.so.conf; then
63831
 
+      $ECHO "   - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
63832
 
+    fi
63833
 
+    $ECHO
63834
 
 
63835
 
-           # A PIC object.
63836
 
-           libobjs="$libobjs $pic_object"
63837
 
-           arg="$pic_object"
63838
 
-         fi
63839
 
+    $ECHO "See any operating system documentation about shared libraries for"
63840
 
+    case $host in
63841
 
+      solaris2.[6789]|solaris2.1[0-9])
63842
 
+        $ECHO "more information, such as the ld(1), crle(1) and ld.so(8) manual"
63843
 
+       $ECHO "pages."
63844
 
+       ;;
63845
 
+      *)
63846
 
+        $ECHO "more information, such as the ld(1) and ld.so(8) manual pages."
63847
 
+        ;;
63848
 
+    esac
63849
 
+    $ECHO "X----------------------------------------------------------------------" | $Xsed
63850
 
+    exit $EXIT_SUCCESS
63851
 
+}
63852
 
 
63853
 
-         # Non-PIC object.
63854
 
-         if test "$non_pic_object" != none; then
63855
 
-           # Prepend the subdirectory the object is found in.
63856
 
-           non_pic_object="$xdir$non_pic_object"
63857
 
+test "$mode" = finish && func_mode_finish ${1+"$@"}
63858
 
 
63859
 
-           # A standard non-PIC object
63860
 
-           non_pic_objects="$non_pic_objects $non_pic_object"
63861
 
-           if test -z "$pic_object" || test "$pic_object" = none ; then
63862
 
-             arg="$non_pic_object"
63863
 
-           fi
63864
 
-         else
63865
 
-           # If the PIC object exists, use it instead.
63866
 
-           # $xdir was prepended to $pic_object above.
63867
 
-           non_pic_object="$pic_object"
63868
 
-           non_pic_objects="$non_pic_objects $non_pic_object"
63869
 
-         fi
63870
 
-       else
63871
 
-         # Only an error if not doing a dry-run.
63872
 
-         if test -z "$run"; then
63873
 
-           $echo "$modename: \`$arg' is not a valid libtool object" 1>&2
63874
 
-           exit $EXIT_FAILURE
63875
 
-         else
63876
 
-           # Dry-run case.
63877
 
 
63878
 
-           # Extract subdirectory from the argument.
63879
 
-           xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
63880
 
-           if test "X$xdir" = "X$arg"; then
63881
 
-             xdir=
63882
 
-           else
63883
 
-             xdir="$xdir/"
63884
 
-           fi
63885
 
+# func_mode_install arg...
63886
 
+func_mode_install ()
63887
 
+{
63888
 
+    $opt_debug
63889
 
+    # There may be an optional sh(1) argument at the beginning of
63890
 
+    # install_prog (especially on Windows NT).
63891
 
+    if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh ||
63892
 
+       # Allow the use of GNU shtool's install command.
63893
 
+       $ECHO "X$nonopt" | $GREP shtool >/dev/null; then
63894
 
+      # Aesthetically quote it.
63895
 
+      func_quote_for_eval "$nonopt"
63896
 
+      install_prog="$func_quote_for_eval_result "
63897
 
+      arg=$1
63898
 
+      shift
63899
 
+    else
63900
 
+      install_prog=
63901
 
+      arg=$nonopt
63902
 
+    fi
63903
 
 
63904
 
-           pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"`
63905
 
-           non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"`
63906
 
-           libobjs="$libobjs $pic_object"
63907
 
-           non_pic_objects="$non_pic_objects $non_pic_object"
63908
 
-         fi
63909
 
-       fi
63910
 
-       ;;
63911
 
+    # The real first argument should be the name of the installation program.
63912
 
+    # Aesthetically quote it.
63913
 
+    func_quote_for_eval "$arg"
63914
 
+    install_prog="$install_prog$func_quote_for_eval_result"
63915
 
 
63916
 
-      *.$libext)
63917
 
-       # An archive.
63918
 
-       deplibs="$deplibs $arg"
63919
 
-       old_deplibs="$old_deplibs $arg"
63920
 
+    # We need to accept at least all the BSD install flags.
63921
 
+    dest=
63922
 
+    files=
63923
 
+    opts=
63924
 
+    prev=
63925
 
+    install_type=
63926
 
+    isdir=no
63927
 
+    stripme=
63928
 
+    for arg
63929
 
+    do
63930
 
+      if test -n "$dest"; then
63931
 
+       files="$files $dest"
63932
 
+       dest=$arg
63933
 
        continue
63934
 
-       ;;
63935
 
-
63936
 
-      *.la)
63937
 
-       # A libtool-controlled library.
63938
 
+      fi
63939
 
 
63940
 
-       if test "$prev" = dlfiles; then
63941
 
-         # This library was specified with -dlopen.
63942
 
-         dlfiles="$dlfiles $arg"
63943
 
-         prev=
63944
 
-       elif test "$prev" = dlprefiles; then
63945
 
-         # The library was specified with -dlpreopen.
63946
 
-         dlprefiles="$dlprefiles $arg"
63947
 
+      case $arg in
63948
 
+      -d) isdir=yes ;;
63949
 
+      -f)
63950
 
+       case " $install_prog " in
63951
 
+       *[\\\ /]cp\ *) ;;
63952
 
+       *) prev=$arg ;;
63953
 
+       esac
63954
 
+       ;;
63955
 
+      -g | -m | -o)
63956
 
+       prev=$arg
63957
 
+       ;;
63958
 
+      -s)
63959
 
+       stripme=" -s"
63960
 
+       continue
63961
 
+       ;;
63962
 
+      -*)
63963
 
+       ;;
63964
 
+      *)
63965
 
+       # If the previous option needed an argument, then skip it.
63966
 
+       if test -n "$prev"; then
63967
 
          prev=
63968
 
        else
63969
 
-         deplibs="$deplibs $arg"
63970
 
+         dest=$arg
63971
 
+         continue
63972
 
        fi
63973
 
-       continue
63974
 
        ;;
63975
 
+      esac
63976
 
 
63977
 
-      # Some other compiler argument.
63978
 
-      *)
63979
 
-       # Unknown arguments in both finalize_command and compile_command need
63980
 
-       # to be aesthetically quoted because they are evaled later.
63981
 
-       arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
63982
 
-       case $arg in
63983
 
-       *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \   ]*|*]*|"")
63984
 
-         arg="\"$arg\""
63985
 
-         ;;
63986
 
-       esac
63987
 
-       ;;
63988
 
-      esac # arg
63989
 
+      # Aesthetically quote the argument.
63990
 
+      func_quote_for_eval "$arg"
63991
 
+      install_prog="$install_prog $func_quote_for_eval_result"
63992
 
+    done
63993
 
 
63994
 
-      # Now actually substitute the argument into the commands.
63995
 
-      if test -n "$arg"; then
63996
 
-       compile_command="$compile_command $arg"
63997
 
-       finalize_command="$finalize_command $arg"
63998
 
-      fi
63999
 
-    done # argument parsing loop
64000
 
+    test -z "$install_prog" && \
64001
 
+      func_fatal_help "you must specify an install program"
64002
 
 
64003
 
-    if test -n "$prev"; then
64004
 
-      $echo "$modename: the \`$prevarg' option requires an argument" 1>&2
64005
 
-      $echo "$help" 1>&2
64006
 
-      exit $EXIT_FAILURE
64007
 
-    fi
64008
 
+    test -n "$prev" && \
64009
 
+      func_fatal_help "the \`$prev' option requires an argument"
64010
 
 
64011
 
-    if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then
64012
 
-      eval arg=\"$export_dynamic_flag_spec\"
64013
 
-      compile_command="$compile_command $arg"
64014
 
-      finalize_command="$finalize_command $arg"
64015
 
+    if test -z "$files"; then
64016
 
+      if test -z "$dest"; then
64017
 
+       func_fatal_help "no file or destination specified"
64018
 
+      else
64019
 
+       func_fatal_help "you must specify a destination"
64020
 
+      fi
64021
 
     fi
64022
 
 
64023
 
-    oldlibs=
64024
 
-    # calculate the name of the file, without its directory
64025
 
-    outputname=`$echo "X$output" | $Xsed -e 's%^.*/%%'`
64026
 
-    libobjs_save="$libobjs"
64027
 
+    # Strip any trailing slash from the destination.
64028
 
+    func_stripname '' '/' "$dest"
64029
 
+    dest=$func_stripname_result
64030
 
 
64031
 
-    if test -n "$shlibpath_var"; then
64032
 
-      # get the directories listed in $shlibpath_var
64033
 
-      eval shlib_search_path=\`\$echo \"X\${$shlibpath_var}\" \| \$Xsed -e \'s/:/ /g\'\`
64034
 
+    # Check to see that the destination is a directory.
64035
 
+    test -d "$dest" && isdir=yes
64036
 
+    if test "$isdir" = yes; then
64037
 
+      destdir="$dest"
64038
 
+      destname=
64039
 
     else
64040
 
-      shlib_search_path=
64041
 
-    fi
64042
 
-    eval sys_lib_search_path=\"$sys_lib_search_path_spec\"
64043
 
-    eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\"
64044
 
+      func_dirname_and_basename "$dest" "" "."
64045
 
+      destdir="$func_dirname_result"
64046
 
+      destname="$func_basename_result"
64047
 
 
64048
 
-    output_objdir=`$echo "X$output" | $Xsed -e 's%/[^/]*$%%'`
64049
 
-    if test "X$output_objdir" = "X$output"; then
64050
 
-      output_objdir="$objdir"
64051
 
-    else
64052
 
-      output_objdir="$output_objdir/$objdir"
64053
 
-    fi
64054
 
-    # Create the object directory.
64055
 
-    if test ! -d "$output_objdir"; then
64056
 
-      $show "$mkdir $output_objdir"
64057
 
-      $run $mkdir $output_objdir
64058
 
-      exit_status=$?
64059
 
-      if test "$exit_status" -ne 0 && test ! -d "$output_objdir"; then
64060
 
-       exit $exit_status
64061
 
-      fi
64062
 
+      # Not a directory, so check to see that there is only one file specified.
64063
 
+      set dummy $files; shift
64064
 
+      test "$#" -gt 1 && \
64065
 
+       func_fatal_help "\`$dest' is not a directory"
64066
 
     fi
64067
 
-
64068
 
-    # Determine the type of output
64069
 
-    case $output in
64070
 
-    "")
64071
 
-      $echo "$modename: you must specify an output file" 1>&2
64072
 
-      $echo "$help" 1>&2
64073
 
-      exit $EXIT_FAILURE
64074
 
-      ;;
64075
 
-    *.$libext) linkmode=oldlib ;;
64076
 
-    *.lo | *.$objext) linkmode=obj ;;
64077
 
-    *.la) linkmode=lib ;;
64078
 
-    *) linkmode=prog ;; # Anything else should be a program.
64079
 
-    esac
64080
 
-
64081
 
-    case $host in
64082
 
-    *cygwin* | *mingw* | *pw32*)
64083
 
-      # don't eliminate duplications in $postdeps and $predeps
64084
 
-      duplicate_compiler_generated_deps=yes
64085
 
-      ;;
64086
 
+    case $destdir in
64087
 
+    [\\/]* | [A-Za-z]:[\\/]*) ;;
64088
 
     *)
64089
 
-      duplicate_compiler_generated_deps=$duplicate_deps
64090
 
+      for file in $files; do
64091
 
+       case $file in
64092
 
+       *.lo) ;;
64093
 
+       *)
64094
 
+         func_fatal_help "\`$destdir' must be an absolute directory name"
64095
 
+         ;;
64096
 
+       esac
64097
 
+      done
64098
 
       ;;
64099
 
     esac
64100
 
-    specialdeplibs=
64101
 
 
64102
 
-    libs=
64103
 
-    # Find all interdependent deplibs by searching for libraries
64104
 
-    # that are linked more than once (e.g. -la -lb -la)
64105
 
-    for deplib in $deplibs; do
64106
 
-      if test "X$duplicate_deps" = "Xyes" ; then
64107
 
-       case "$libs " in
64108
 
-       *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
64109
 
-       esac
64110
 
-      fi
64111
 
-      libs="$libs $deplib"
64112
 
-    done
64113
 
+    # This variable tells wrapper scripts just to set variables rather
64114
 
+    # than running their programs.
64115
 
+    libtool_install_magic="$magic"
64116
 
 
64117
 
-    if test "$linkmode" = lib; then
64118
 
-      libs="$predeps $libs $compiler_lib_search_path $postdeps"
64119
 
+    staticlibs=
64120
 
+    future_libdirs=
64121
 
+    current_libdirs=
64122
 
+    for file in $files; do
64123
 
 
64124
 
-      # Compute libraries that are listed more than once in $predeps
64125
 
-      # $postdeps and mark them as special (i.e., whose duplicates are
64126
 
-      # not to be eliminated).
64127
 
-      pre_post_deps=
64128
 
-      if test "X$duplicate_compiler_generated_deps" = "Xyes" ; then
64129
 
-       for pre_post_dep in $predeps $postdeps; do
64130
 
-         case "$pre_post_deps " in
64131
 
-         *" $pre_post_dep "*) specialdeplibs="$specialdeplibs $pre_post_deps" ;;
64132
 
+      # Do each installation.
64133
 
+      case $file in
64134
 
+      *.$libext)
64135
 
+       # Do the static libraries later.
64136
 
+       staticlibs="$staticlibs $file"
64137
 
+       ;;
64138
 
+
64139
 
+      *.la)
64140
 
+       # Check to see that this really is a libtool archive.
64141
 
+       func_lalib_unsafe_p "$file" \
64142
 
+         || func_fatal_help "\`$file' is not a valid libtool archive"
64143
 
+
64144
 
+       library_names=
64145
 
+       old_library=
64146
 
+       relink_command=
64147
 
+       func_source "$file"
64148
 
+
64149
 
+       # Add the libdir to current_libdirs if it is the destination.
64150
 
+       if test "X$destdir" = "X$libdir"; then
64151
 
+         case "$current_libdirs " in
64152
 
+         *" $libdir "*) ;;
64153
 
+         *) current_libdirs="$current_libdirs $libdir" ;;
64154
 
          esac
64155
 
-         pre_post_deps="$pre_post_deps $pre_post_dep"
64156
 
-       done
64157
 
-      fi
64158
 
-      pre_post_deps=
64159
 
-    fi
64160
 
+       else
64161
 
+         # Note the libdir as a future libdir.
64162
 
+         case "$future_libdirs " in
64163
 
+         *" $libdir "*) ;;
64164
 
+         *) future_libdirs="$future_libdirs $libdir" ;;
64165
 
+         esac
64166
 
+       fi
64167
 
 
64168
 
-    deplibs=
64169
 
-    newdependency_libs=
64170
 
-    newlib_search_path=
64171
 
-    need_relink=no # whether we're linking any uninstalled libtool libraries
64172
 
-    notinst_deplibs= # not-installed libtool libraries
64173
 
-    case $linkmode in
64174
 
-    lib)
64175
 
-       passes="conv link"
64176
 
-       for file in $dlfiles $dlprefiles; do
64177
 
-         case $file in
64178
 
-         *.la) ;;
64179
 
-         *)
64180
 
-           $echo "$modename: libraries can \`-dlopen' only libtool libraries: $file" 1>&2
64181
 
-           exit $EXIT_FAILURE
64182
 
+       func_dirname "$file" "/" ""
64183
 
+       dir="$func_dirname_result"
64184
 
+       dir="$dir$objdir"
64185
 
+
64186
 
+       if test -n "$relink_command"; then
64187
 
+         # Determine the prefix the user has applied to our future dir.
64188
 
+         inst_prefix_dir=`$ECHO "X$destdir" | $Xsed -e "s%$libdir\$%%"`
64189
 
+
64190
 
+         # Don't allow the user to place us outside of our expected
64191
 
+         # location b/c this prevents finding dependent libraries that
64192
 
+         # are installed to the same prefix.
64193
 
+         # At present, this check doesn't affect windows .dll's that
64194
 
+         # are installed into $libdir/../bin (currently, that works fine)
64195
 
+         # but it's something to keep an eye on.
64196
 
+         test "$inst_prefix_dir" = "$destdir" && \
64197
 
+           func_fatal_error "error: cannot install \`$file' to a directory not ending in $libdir"
64198
 
+
64199
 
+         if test -n "$inst_prefix_dir"; then
64200
 
+           # Stick the inst_prefix_dir data into the link command.
64201
 
+           relink_command=`$ECHO "X$relink_command" | $Xsed -e "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"`
64202
 
+         else
64203
 
+           relink_command=`$ECHO "X$relink_command" | $Xsed -e "s%@inst_prefix_dir@%%"`
64204
 
+         fi
64205
 
+
64206
 
+         func_warning "relinking \`$file'"
64207
 
+         func_show_eval "$relink_command" \
64208
 
+           'func_fatal_error "error: relink \`$file'\'' with the above command before installing it"'
64209
 
+       fi
64210
 
+
64211
 
+       # See the names of the shared library.
64212
 
+       set dummy $library_names; shift
64213
 
+       if test -n "$1"; then
64214
 
+         realname="$1"
64215
 
+         shift
64216
 
+
64217
 
+         srcname="$realname"
64218
 
+         test -n "$relink_command" && srcname="$realname"T
64219
 
+
64220
 
+         # Install the shared library and build the symlinks.
64221
 
+         func_show_eval "$install_prog $dir/$srcname $destdir/$realname" \
64222
 
+             'exit $?'
64223
 
+         tstripme="$stripme"
64224
 
+         case $host_os in
64225
 
+         cygwin* | mingw* | pw32* | cegcc*)
64226
 
+           case $realname in
64227
 
+           *.dll.a)
64228
 
+             tstripme=""
64229
 
+             ;;
64230
 
+           esac
64231
 
            ;;
64232
 
          esac
64233
 
-       done
64234
 
-       ;;
64235
 
-    prog)
64236
 
-       compile_deplibs=
64237
 
-       finalize_deplibs=
64238
 
-       alldeplibs=no
64239
 
-       newdlfiles=
64240
 
-       newdlprefiles=
64241
 
-       passes="conv scan dlopen dlpreopen link"
64242
 
-       ;;
64243
 
-    *)  passes="conv"
64244
 
-       ;;
64245
 
-    esac
64246
 
-    for pass in $passes; do
64247
 
-      if test "$linkmode,$pass" = "lib,link" ||
64248
 
-        test "$linkmode,$pass" = "prog,scan"; then
64249
 
-       libs="$deplibs"
64250
 
-       deplibs=
64251
 
-      fi
64252
 
-      if test "$linkmode" = prog; then
64253
 
-       case $pass in
64254
 
-       dlopen) libs="$dlfiles" ;;
64255
 
-       dlpreopen) libs="$dlprefiles" ;;
64256
 
-       link) libs="$deplibs %DEPLIBS% $dependency_libs" ;;
64257
 
-       esac
64258
 
-      fi
64259
 
-      if test "$pass" = dlopen; then
64260
 
-       # Collect dlpreopened libraries
64261
 
-       save_deplibs="$deplibs"
64262
 
-       deplibs=
64263
 
-      fi
64264
 
-      for deplib in $libs; do
64265
 
-       lib=
64266
 
-       found=no
64267
 
-       case $deplib in
64268
 
-       -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
64269
 
-         if test "$linkmode,$pass" = "prog,link"; then
64270
 
-           compile_deplibs="$deplib $compile_deplibs"
64271
 
-           finalize_deplibs="$deplib $finalize_deplibs"
64272
 
-         else
64273
 
-           compiler_flags="$compiler_flags $deplib"
64274
 
-         fi
64275
 
-         continue
64276
 
-         ;;
64277
 
-       -l*)
64278
 
-         if test "$linkmode" != lib && test "$linkmode" != prog; then
64279
 
-           $echo "$modename: warning: \`-l' is ignored for archives/objects" 1>&2
64280
 
-           continue
64281
 
-         fi
64282
 
-         name=`$echo "X$deplib" | $Xsed -e 's/^-l//'`
64283
 
-         if test "$linkmode" = lib; then
64284
 
-           searchdirs="$newlib_search_path $lib_search_path $compiler_lib_search_dirs $sys_lib_search_path $shlib_search_path"
64285
 
-         else
64286
 
-           searchdirs="$newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path"
64287
 
+         if test -n "$tstripme" && test -n "$striplib"; then
64288
 
+           func_show_eval "$striplib $destdir/$realname" 'exit $?'
64289
 
          fi
64290
 
-         for searchdir in $searchdirs; do
64291
 
-           for search_ext in .la $std_shrext .so .a; do
64292
 
-             # Search the libtool library
64293
 
-             lib="$searchdir/lib${name}${search_ext}"
64294
 
-             if test -f "$lib"; then
64295
 
-               if test "$search_ext" = ".la"; then
64296
 
-                 found=yes
64297
 
-               else
64298
 
-                 found=no
64299
 
-               fi
64300
 
-               break 2
64301
 
-             fi
64302
 
+
64303
 
+         if test "$#" -gt 0; then
64304
 
+           # Delete the old symlinks, and create new ones.
64305
 
+           # Try `ln -sf' first, because the `ln' binary might depend on
64306
 
+           # the symlink we replace!  Solaris /bin/ln does not understand -f,
64307
 
+           # so we also need to try rm && ln -s.
64308
 
+           for linkname
64309
 
+           do
64310
 
+             test "$linkname" != "$realname" \
64311
 
+               && func_show_eval "(cd $destdir && { $LN_S -f $realname $linkname || { $RM $linkname && $LN_S $realname $linkname; }; })"
64312
 
            done
64313
 
-         done
64314
 
-         if test "$found" != yes; then
64315
 
-           # deplib doesn't seem to be a libtool library
64316
 
-           if test "$linkmode,$pass" = "prog,link"; then
64317
 
-             compile_deplibs="$deplib $compile_deplibs"
64318
 
-             finalize_deplibs="$deplib $finalize_deplibs"
64319
 
-           else
64320
 
-             deplibs="$deplib $deplibs"
64321
 
-             test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
64322
 
-           fi
64323
 
-           continue
64324
 
-         else # deplib is a libtool library
64325
 
-           # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib,
64326
 
-           # We need to do some special things here, and not later.
64327
 
-           if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
64328
 
-             case " $predeps $postdeps " in
64329
 
-             *" $deplib "*)
64330
 
-               if (${SED} -e '2q' $lib |
64331
 
-                    grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
64332
 
-                 library_names=
64333
 
-                 old_library=
64334
 
-                 case $lib in
64335
 
-                 */* | *\\*) . $lib ;;
64336
 
-                 *) . ./$lib ;;
64337
 
-                 esac
64338
 
-                 for l in $old_library $library_names; do
64339
 
-                   ll="$l"
64340
 
-                 done
64341
 
-                 if test "X$ll" = "X$old_library" ; then # only static version available
64342
 
-                   found=no
64343
 
-                   ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'`
64344
 
-                   test "X$ladir" = "X$lib" && ladir="."
64345
 
-                   lib=$ladir/$old_library
64346
 
-                   if test "$linkmode,$pass" = "prog,link"; then
64347
 
-                     compile_deplibs="$deplib $compile_deplibs"
64348
 
-                     finalize_deplibs="$deplib $finalize_deplibs"
64349
 
-                   else
64350
 
-                     deplibs="$deplib $deplibs"
64351
 
-                     test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
64352
 
-                   fi
64353
 
-                   continue
64354
 
-                 fi
64355
 
-               fi
64356
 
-               ;;
64357
 
-             *) ;;
64358
 
-             esac
64359
 
-           fi
64360
 
-         fi
64361
 
-         ;; # -l
64362
 
-       -L*)
64363
 
-         case $linkmode in
64364
 
-         lib)
64365
 
-           deplibs="$deplib $deplibs"
64366
 
-           test "$pass" = conv && continue
64367
 
-           newdependency_libs="$deplib $newdependency_libs"
64368
 
-           newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`
64369
 
-           ;;
64370
 
-         prog)
64371
 
-           if test "$pass" = conv; then
64372
 
-             deplibs="$deplib $deplibs"
64373
 
-             continue
64374
 
-           fi
64375
 
-           if test "$pass" = scan; then
64376
 
-             deplibs="$deplib $deplibs"
64377
 
-           else
64378
 
-             compile_deplibs="$deplib $compile_deplibs"
64379
 
-             finalize_deplibs="$deplib $finalize_deplibs"
64380
 
-           fi
64381
 
-           newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`
64382
 
-           ;;
64383
 
-         *)
64384
 
-           $echo "$modename: warning: \`-L' is ignored for archives/objects" 1>&2
64385
 
-           ;;
64386
 
-         esac # linkmode
64387
 
-         continue
64388
 
-         ;; # -L
64389
 
-       -R*)
64390
 
-         if test "$pass" = link; then
64391
 
-           dir=`$echo "X$deplib" | $Xsed -e 's/^-R//'`
64392
 
-           # Make sure the xrpath contains only unique directories.
64393
 
-           case "$xrpath " in
64394
 
-           *" $dir "*) ;;
64395
 
-           *) xrpath="$xrpath $dir" ;;
64396
 
-           esac
64397
 
-         fi
64398
 
-         deplibs="$deplib $deplibs"
64399
 
-         continue
64400
 
-         ;;
64401
 
-       *.la) lib="$deplib" ;;
64402
 
-       *.$libext)
64403
 
-         if test "$pass" = conv; then
64404
 
-           deplibs="$deplib $deplibs"
64405
 
-           continue
64406
 
-         fi
64407
 
-         case $linkmode in
64408
 
-         lib)
64409
 
-           valid_a_lib=no
64410
 
-           case $deplibs_check_method in
64411
 
-             match_pattern*)
64412
 
-               set dummy $deplibs_check_method
64413
 
-               match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
64414
 
-               if eval $echo \"$deplib\" 2>/dev/null \
64415
 
-                   | $SED 10q \
64416
 
-                   | $EGREP "$match_pattern_regex" > /dev/null; then
64417
 
-                 valid_a_lib=yes
64418
 
-               fi
64419
 
-               ;;
64420
 
-             pass_all)
64421
 
-               valid_a_lib=yes
64422
 
-               ;;
64423
 
-            esac
64424
 
-           if test "$valid_a_lib" != yes; then
64425
 
-             $echo
64426
 
-             $echo "*** Warning: Trying to link with static lib archive $deplib."
64427
 
-             $echo "*** I have the capability to make that library automatically link in when"
64428
 
-             $echo "*** you link to this library.  But I can only do this if you have a"
64429
 
-             $echo "*** shared version of the library, which you do not appear to have"
64430
 
-             $echo "*** because the file extensions .$libext of this argument makes me believe"
64431
 
-             $echo "*** that it is just a static archive that I should not used here."
64432
 
-           else
64433
 
-             $echo
64434
 
-             $echo "*** Warning: Linking the shared library $output against the"
64435
 
-             $echo "*** static library $deplib is not portable!"
64436
 
-             deplibs="$deplib $deplibs"
64437
 
-           fi
64438
 
-           continue
64439
 
-           ;;
64440
 
-         prog)
64441
 
-           if test "$pass" != link; then
64442
 
-             deplibs="$deplib $deplibs"
64443
 
-           else
64444
 
-             compile_deplibs="$deplib $compile_deplibs"
64445
 
-             finalize_deplibs="$deplib $finalize_deplibs"
64446
 
-           fi
64447
 
-           continue
64448
 
-           ;;
64449
 
-         esac # linkmode
64450
 
-         ;; # *.$libext
64451
 
-       *.lo | *.$objext)
64452
 
-         if test "$pass" = conv; then
64453
 
-           deplibs="$deplib $deplibs"
64454
 
-         elif test "$linkmode" = prog; then
64455
 
-           if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
64456
 
-             # If there is no dlopen support or we're linking statically,
64457
 
-             # we need to preload.
64458
 
-             newdlprefiles="$newdlprefiles $deplib"
64459
 
-             compile_deplibs="$deplib $compile_deplibs"
64460
 
-             finalize_deplibs="$deplib $finalize_deplibs"
64461
 
-           else
64462
 
-             newdlfiles="$newdlfiles $deplib"
64463
 
-           fi
64464
 
          fi
64465
 
-         continue
64466
 
-         ;;
64467
 
-       %DEPLIBS%)
64468
 
-         alldeplibs=yes
64469
 
-         continue
64470
 
-         ;;
64471
 
-       esac # case $deplib
64472
 
-       if test "$found" = yes || test -f "$lib"; then :
64473
 
-       else
64474
 
-         $echo "$modename: cannot find the library \`$lib' or unhandled argument \`$deplib'" 1>&2
64475
 
-         exit $EXIT_FAILURE
64476
 
-       fi
64477
 
 
64478
 
-       # Check to see that this really is a libtool archive.
64479
 
-       if (${SED} -e '2q' $lib | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
64480
 
-       else
64481
 
-         $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
64482
 
-         exit $EXIT_FAILURE
64483
 
+         # Do each command in the postinstall commands.
64484
 
+         lib="$destdir/$realname"
64485
 
+         func_execute_cmds "$postinstall_cmds" 'exit $?'
64486
 
        fi
64487
 
 
64488
 
-       ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'`
64489
 
-       test "X$ladir" = "X$lib" && ladir="."
64490
 
-
64491
 
-       dlname=
64492
 
-       dlopen=
64493
 
-       dlpreopen=
64494
 
-       libdir=
64495
 
-       library_names=
64496
 
-       old_library=
64497
 
-       # If the library was installed with an old release of libtool,
64498
 
-       # it will not redefine variables installed, or shouldnotlink
64499
 
-       installed=yes
64500
 
-       shouldnotlink=no
64501
 
-       avoidtemprpath=
64502
 
+       # Install the pseudo-library for information purposes.
64503
 
+       func_basename "$file"
64504
 
+       name="$func_basename_result"
64505
 
+       instname="$dir/$name"i
64506
 
+       func_show_eval "$install_prog $instname $destdir/$name" 'exit $?'
64507
 
 
64508
 
+       # Maybe install the static library, too.
64509
 
+       test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
64510
 
+       ;;
64511
 
 
64512
 
-       # Read the .la file
64513
 
-       case $lib in
64514
 
-       */* | *\\*) . $lib ;;
64515
 
-       *) . ./$lib ;;
64516
 
-       esac
64517
 
+      *.lo)
64518
 
+       # Install (i.e. copy) a libtool object.
64519
 
 
64520
 
-       if test "$linkmode,$pass" = "lib,link" ||
64521
 
-          test "$linkmode,$pass" = "prog,scan" ||
64522
 
-          { test "$linkmode" != prog && test "$linkmode" != lib; }; then
64523
 
-         test -n "$dlopen" && dlfiles="$dlfiles $dlopen"
64524
 
-         test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen"
64525
 
+       # Figure out destination file name, if it wasn't already specified.
64526
 
+       if test -n "$destname"; then
64527
 
+         destfile="$destdir/$destname"
64528
 
+       else
64529
 
+         func_basename "$file"
64530
 
+         destfile="$func_basename_result"
64531
 
+         destfile="$destdir/$destfile"
64532
 
        fi
64533
 
 
64534
 
-       if test "$pass" = conv; then
64535
 
-         # Only check for convenience libraries
64536
 
-         deplibs="$lib $deplibs"
64537
 
-         if test -z "$libdir"; then
64538
 
-           if test -z "$old_library"; then
64539
 
-             $echo "$modename: cannot find name of link library for \`$lib'" 1>&2
64540
 
-             exit $EXIT_FAILURE
64541
 
-           fi
64542
 
-           # It is a libtool convenience library, so add in its objects.
64543
 
-           convenience="$convenience $ladir/$objdir/$old_library"
64544
 
-           old_convenience="$old_convenience $ladir/$objdir/$old_library"
64545
 
-           tmp_libs=
64546
 
-           for deplib in $dependency_libs; do
64547
 
-             deplibs="$deplib $deplibs"
64548
 
-              if test "X$duplicate_deps" = "Xyes" ; then
64549
 
-               case "$tmp_libs " in
64550
 
-               *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
64551
 
-               esac
64552
 
-              fi
64553
 
-             tmp_libs="$tmp_libs $deplib"
64554
 
-           done
64555
 
-         elif test "$linkmode" != prog && test "$linkmode" != lib; then
64556
 
-           $echo "$modename: \`$lib' is not a convenience library" 1>&2
64557
 
-           exit $EXIT_FAILURE
64558
 
-         fi
64559
 
-         continue
64560
 
-       fi # $pass = conv
64561
 
+       # Deduce the name of the destination old-style object file.
64562
 
+       case $destfile in
64563
 
+       *.lo)
64564
 
+         func_lo2o "$destfile"
64565
 
+         staticdest=$func_lo2o_result
64566
 
+         ;;
64567
 
+       *.$objext)
64568
 
+         staticdest="$destfile"
64569
 
+         destfile=
64570
 
+         ;;
64571
 
+       *)
64572
 
+         func_fatal_help "cannot copy a libtool object to \`$destfile'"
64573
 
+         ;;
64574
 
+       esac
64575
 
 
64576
 
+       # Install the libtool object if requested.
64577
 
+       test -n "$destfile" && \
64578
 
+         func_show_eval "$install_prog $file $destfile" 'exit $?'
64579
 
 
64580
 
-       # Get the name of the library we link against.
64581
 
-       linklib=
64582
 
-       for l in $old_library $library_names; do
64583
 
-         linklib="$l"
64584
 
-       done
64585
 
-       if test -z "$linklib"; then
64586
 
-         $echo "$modename: cannot find name of link library for \`$lib'" 1>&2
64587
 
-         exit $EXIT_FAILURE
64588
 
+       # Install the old object if enabled.
64589
 
+       if test "$build_old_libs" = yes; then
64590
 
+         # Deduce the name of the old-style object file.
64591
 
+         func_lo2o "$file"
64592
 
+         staticobj=$func_lo2o_result
64593
 
+         func_show_eval "$install_prog \$staticobj \$staticdest" 'exit $?'
64594
 
        fi
64595
 
+       exit $EXIT_SUCCESS
64596
 
+       ;;
64597
 
 
64598
 
-       # This library was specified with -dlopen.
64599
 
-       if test "$pass" = dlopen; then
64600
 
-         if test -z "$libdir"; then
64601
 
-           $echo "$modename: cannot -dlopen a convenience library: \`$lib'" 1>&2
64602
 
-           exit $EXIT_FAILURE
64603
 
-         fi
64604
 
-         if test -z "$dlname" ||
64605
 
-            test "$dlopen_support" != yes ||
64606
 
-            test "$build_libtool_libs" = no; then
64607
 
-           # If there is no dlname, no dlopen support or we're linking
64608
 
-           # statically, we need to preload.  We also need to preload any
64609
 
-           # dependent libraries so libltdl's deplib preloader doesn't
64610
 
-           # bomb out in the load deplibs phase.
64611
 
-           dlprefiles="$dlprefiles $lib $dependency_libs"
64612
 
-         else
64613
 
-           newdlfiles="$newdlfiles $lib"
64614
 
-         fi
64615
 
-         continue
64616
 
-       fi # $pass = dlopen
64617
 
+      *)
64618
 
+       # Figure out destination file name, if it wasn't already specified.
64619
 
+       if test -n "$destname"; then
64620
 
+         destfile="$destdir/$destname"
64621
 
+       else
64622
 
+         func_basename "$file"
64623
 
+         destfile="$func_basename_result"
64624
 
+         destfile="$destdir/$destfile"
64625
 
+       fi
64626
 
 
64627
 
-       # We need an absolute path.
64628
 
-       case $ladir in
64629
 
-       [\\/]* | [A-Za-z]:[\\/]*) abs_ladir="$ladir" ;;
64630
 
+       # If the file is missing, and there is a .exe on the end, strip it
64631
 
+       # because it is most likely a libtool script we actually want to
64632
 
+       # install
64633
 
+       stripped_ext=""
64634
 
+       case $file in
64635
 
+         *.exe)
64636
 
+           if test ! -f "$file"; then
64637
 
+             func_stripname '' '.exe' "$file"
64638
 
+             file=$func_stripname_result
64639
 
+             stripped_ext=".exe"
64640
 
+           fi
64641
 
+           ;;
64642
 
+       esac
64643
 
+
64644
 
+       # Do a test to see if this is really a libtool program.
64645
 
+       case $host in
64646
 
+       *cygwin* | *mingw*)
64647
 
+           if func_ltwrapper_executable_p "$file"; then
64648
 
+             func_ltwrapper_scriptname "$file"
64649
 
+             wrapper=$func_ltwrapper_scriptname_result
64650
 
+           else
64651
 
+             func_stripname '' '.exe' "$file"
64652
 
+             wrapper=$func_stripname_result
64653
 
+           fi
64654
 
+           ;;
64655
 
        *)
64656
 
-         abs_ladir=`cd "$ladir" && pwd`
64657
 
-         if test -z "$abs_ladir"; then
64658
 
-           $echo "$modename: warning: cannot determine absolute directory name of \`$ladir'" 1>&2
64659
 
-           $echo "$modename: passing it literally to the linker, although it might fail" 1>&2
64660
 
-           abs_ladir="$ladir"
64661
 
+           wrapper=$file
64662
 
+           ;;
64663
 
+       esac
64664
 
+       if func_ltwrapper_script_p "$wrapper"; then
64665
 
+         notinst_deplibs=
64666
 
+         relink_command=
64667
 
+
64668
 
+         func_source "$wrapper"
64669
 
+
64670
 
+         # Check the variables that should have been set.
64671
 
+         test -z "$generated_by_libtool_version" && \
64672
 
+           func_fatal_error "invalid libtool wrapper script \`$wrapper'"
64673
 
+
64674
 
+         finalize=yes
64675
 
+         for lib in $notinst_deplibs; do
64676
 
+           # Check to see that each library is installed.
64677
 
+           libdir=
64678
 
+           if test -f "$lib"; then
64679
 
+             func_source "$lib"
64680
 
+           fi
64681
 
+           libfile="$libdir/"`$ECHO "X$lib" | $Xsed -e 's%^.*/%%g'` ### testsuite: skip nested quoting test
64682
 
+           if test -n "$libdir" && test ! -f "$libfile"; then
64683
 
+             func_warning "\`$lib' has not been installed in \`$libdir'"
64684
 
+             finalize=no
64685
 
+           fi
64686
 
+         done
64687
 
+
64688
 
+         relink_command=
64689
 
+         func_source "$wrapper"
64690
 
+
64691
 
+         outputname=
64692
 
+         if test "$fast_install" = no && test -n "$relink_command"; then
64693
 
+           $opt_dry_run || {
64694
 
+             if test "$finalize" = yes; then
64695
 
+               tmpdir=`func_mktempdir`
64696
 
+               func_basename "$file$stripped_ext"
64697
 
+               file="$func_basename_result"
64698
 
+               outputname="$tmpdir/$file"
64699
 
+               # Replace the output file specification.
64700
 
+               relink_command=`$ECHO "X$relink_command" | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g'`
64701
 
+
64702
 
+               $opt_silent || {
64703
 
+                 func_quote_for_expand "$relink_command"
64704
 
+                 eval "func_echo $func_quote_for_expand_result"
64705
 
+               }
64706
 
+               if eval "$relink_command"; then :
64707
 
+                 else
64708
 
+                 func_error "error: relink \`$file' with the above command before installing it"
64709
 
+                 $opt_dry_run || ${RM}r "$tmpdir"
64710
 
+                 continue
64711
 
+               fi
64712
 
+               file="$outputname"
64713
 
+             else
64714
 
+               func_warning "cannot relink \`$file'"
64715
 
+             fi
64716
 
+           }
64717
 
+         else
64718
 
+           # Install the binary that we compiled earlier.
64719
 
+           file=`$ECHO "X$file$stripped_ext" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"`
64720
 
          fi
64721
 
+       fi
64722
 
+
64723
 
+       # remove .exe since cygwin /usr/bin/install will append another
64724
 
+       # one anyway
64725
 
+       case $install_prog,$host in
64726
 
+       */usr/bin/install*,*cygwin*)
64727
 
+         case $file:$destfile in
64728
 
+         *.exe:*.exe)
64729
 
+           # this is ok
64730
 
+           ;;
64731
 
+         *.exe:*)
64732
 
+           destfile=$destfile.exe
64733
 
+           ;;
64734
 
+         *:*.exe)
64735
 
+           func_stripname '' '.exe' "$destfile"
64736
 
+           destfile=$func_stripname_result
64737
 
+           ;;
64738
 
+         esac
64739
 
          ;;
64740
 
        esac
64741
 
-       laname=`$echo "X$lib" | $Xsed -e 's%^.*/%%'`
64742
 
+       func_show_eval "$install_prog\$stripme \$file \$destfile" 'exit $?'
64743
 
+       $opt_dry_run || if test -n "$outputname"; then
64744
 
+         ${RM}r "$tmpdir"
64745
 
+       fi
64746
 
+       ;;
64747
 
+      esac
64748
 
+    done
64749
 
 
64750
 
-       # Find the relevant object directory and library name.
64751
 
-       if test "X$installed" = Xyes; then
64752
 
-         if test ! -f "$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then
64753
 
-           $echo "$modename: warning: library \`$lib' was moved." 1>&2
64754
 
-           dir="$ladir"
64755
 
-           absdir="$abs_ladir"
64756
 
-           libdir="$abs_ladir"
64757
 
-         else
64758
 
-           dir="$libdir"
64759
 
-           absdir="$libdir"
64760
 
+    for file in $staticlibs; do
64761
 
+      func_basename "$file"
64762
 
+      name="$func_basename_result"
64763
 
+
64764
 
+      # Set up the ranlib parameters.
64765
 
+      oldlib="$destdir/$name"
64766
 
+
64767
 
+      func_show_eval "$install_prog \$file \$oldlib" 'exit $?'
64768
 
+
64769
 
+      if test -n "$stripme" && test -n "$old_striplib"; then
64770
 
+       func_show_eval "$old_striplib $oldlib" 'exit $?'
64771
 
+      fi
64772
 
+
64773
 
+      # Do each command in the postinstall commands.
64774
 
+      func_execute_cmds "$old_postinstall_cmds" 'exit $?'
64775
 
+    done
64776
 
+
64777
 
+    test -n "$future_libdirs" && \
64778
 
+      func_warning "remember to run \`$progname --finish$future_libdirs'"
64779
 
+
64780
 
+    if test -n "$current_libdirs"; then
64781
 
+      # Maybe just do a dry run.
64782
 
+      $opt_dry_run && current_libdirs=" -n$current_libdirs"
64783
 
+      exec_cmd='$SHELL $progpath $preserve_args --finish$current_libdirs'
64784
 
+    else
64785
 
+      exit $EXIT_SUCCESS
64786
 
+    fi
64787
 
+}
64788
 
+
64789
 
+test "$mode" = install && func_mode_install ${1+"$@"}
64790
 
+
64791
 
+
64792
 
+# func_generate_dlsyms outputname originator pic_p
64793
 
+# Extract symbols from dlprefiles and create ${outputname}S.o with
64794
 
+# a dlpreopen symbol table.
64795
 
+func_generate_dlsyms ()
64796
 
+{
64797
 
+    $opt_debug
64798
 
+    my_outputname="$1"
64799
 
+    my_originator="$2"
64800
 
+    my_pic_p="${3-no}"
64801
 
+    my_prefix=`$ECHO "$my_originator" | sed 's%[^a-zA-Z0-9]%_%g'`
64802
 
+    my_dlsyms=
64803
 
+
64804
 
+    if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
64805
 
+      if test -n "$NM" && test -n "$global_symbol_pipe"; then
64806
 
+       my_dlsyms="${my_outputname}S.c"
64807
 
+      else
64808
 
+       func_error "not configured to extract global symbols from dlpreopened files"
64809
 
+      fi
64810
 
+    fi
64811
 
+
64812
 
+    if test -n "$my_dlsyms"; then
64813
 
+      case $my_dlsyms in
64814
 
+      "") ;;
64815
 
+      *.c)
64816
 
+       # Discover the nlist of each of the dlfiles.
64817
 
+       nlist="$output_objdir/${my_outputname}.nm"
64818
 
+
64819
 
+       func_show_eval "$RM $nlist ${nlist}S ${nlist}T"
64820
 
+
64821
 
+       # Parse the name list into a source file.
64822
 
+       func_verbose "creating $output_objdir/$my_dlsyms"
64823
 
+
64824
 
+       $opt_dry_run || $ECHO > "$output_objdir/$my_dlsyms" "\
64825
 
+/* $my_dlsyms - symbol resolution table for \`$my_outputname' dlsym emulation. */
64826
 
+/* Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION */
64827
 
+
64828
 
+#ifdef __cplusplus
64829
 
+extern \"C\" {
64830
 
+#endif
64831
 
+
64832
 
+/* External symbol declarations for the compiler. */\
64833
 
+"
64834
 
+
64835
 
+       if test "$dlself" = yes; then
64836
 
+         func_verbose "generating symbol list for \`$output'"
64837
 
+
64838
 
+         $opt_dry_run || echo ': @PROGRAM@ ' > "$nlist"
64839
 
+
64840
 
+         # Add our own program objects to the symbol list.
64841
 
+         progfiles=`$ECHO "X$objs$old_deplibs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
64842
 
+         for progfile in $progfiles; do
64843
 
+           func_verbose "extracting global C symbols from \`$progfile'"
64844
 
+           $opt_dry_run || eval "$NM $progfile | $global_symbol_pipe >> '$nlist'"
64845
 
+         done
64846
 
+
64847
 
+         if test -n "$exclude_expsyms"; then
64848
 
+           $opt_dry_run || {
64849
 
+             eval '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T'
64850
 
+             eval '$MV "$nlist"T "$nlist"'
64851
 
+           }
64852
 
          fi
64853
 
-         test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes
64854
 
-       else
64855
 
-         if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then
64856
 
-           dir="$ladir"
64857
 
-           absdir="$abs_ladir"
64858
 
-           # Remove this search path later
64859
 
-           notinst_path="$notinst_path $abs_ladir"
64860
 
+
64861
 
+         if test -n "$export_symbols_regex"; then
64862
 
+           $opt_dry_run || {
64863
 
+             eval '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T'
64864
 
+             eval '$MV "$nlist"T "$nlist"'
64865
 
+           }
64866
 
+         fi
64867
 
+
64868
 
+         # Prepare the list of exported symbols
64869
 
+         if test -z "$export_symbols"; then
64870
 
+           export_symbols="$output_objdir/$outputname.exp"
64871
 
+           $opt_dry_run || {
64872
 
+             $RM $export_symbols
64873
 
+             eval "${SED} -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
64874
 
+             case $host in
64875
 
+             *cygwin* | *mingw* | *cegcc* )
64876
 
+                eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
64877
 
+                eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"'
64878
 
+               ;;
64879
 
+             esac
64880
 
+           }
64881
 
          else
64882
 
-           dir="$ladir/$objdir"
64883
 
-           absdir="$abs_ladir/$objdir"
64884
 
-           # Remove this search path later
64885
 
-           notinst_path="$notinst_path $abs_ladir"
64886
 
+           $opt_dry_run || {
64887
 
+             eval "${SED} -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"'
64888
 
+             eval '$GREP -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T'
64889
 
+             eval '$MV "$nlist"T "$nlist"'
64890
 
+             case $host in
64891
 
+               *cygwin | *mingw* | *cegcc* )
64892
 
+                 eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
64893
 
+                 eval 'cat "$nlist" >> "$output_objdir/$outputname.def"'
64894
 
+                 ;;
64895
 
+             esac
64896
 
+           }
64897
 
          fi
64898
 
-       fi # $installed = yes
64899
 
-       name=`$echo "X$laname" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
64900
 
+       fi
64901
 
 
64902
 
-       # This library was specified with -dlpreopen.
64903
 
-       if test "$pass" = dlpreopen; then
64904
 
-         if test -z "$libdir"; then
64905
 
-           $echo "$modename: cannot -dlpreopen a convenience library: \`$lib'" 1>&2
64906
 
-           exit $EXIT_FAILURE
64907
 
+       for dlprefile in $dlprefiles; do
64908
 
+         func_verbose "extracting global C symbols from \`$dlprefile'"
64909
 
+         func_basename "$dlprefile"
64910
 
+         name="$func_basename_result"
64911
 
+         $opt_dry_run || {
64912
 
+           eval '$ECHO ": $name " >> "$nlist"'
64913
 
+           eval "$NM $dlprefile 2>/dev/null | $global_symbol_pipe >> '$nlist'"
64914
 
+         }
64915
 
+       done
64916
 
+
64917
 
+       $opt_dry_run || {
64918
 
+         # Make sure we have at least an empty file.
64919
 
+         test -f "$nlist" || : > "$nlist"
64920
 
+
64921
 
+         if test -n "$exclude_expsyms"; then
64922
 
+           $EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T
64923
 
+           $MV "$nlist"T "$nlist"
64924
 
          fi
64925
 
-         # Prefer using a static library (so that no silly _DYNAMIC symbols
64926
 
-         # are required to link).
64927
 
-         if test -n "$old_library"; then
64928
 
-           newdlprefiles="$newdlprefiles $dir/$old_library"
64929
 
-         # Otherwise, use the dlname, so that lt_dlopen finds it.
64930
 
-         elif test -n "$dlname"; then
64931
 
-           newdlprefiles="$newdlprefiles $dir/$dlname"
64932
 
+
64933
 
+         # Try sorting and uniquifying the output.
64934
 
+         if $GREP -v "^: " < "$nlist" |
64935
 
+             if sort -k 3 </dev/null >/dev/null 2>&1; then
64936
 
+               sort -k 3
64937
 
+             else
64938
 
+               sort +2
64939
 
+             fi |
64940
 
+             uniq > "$nlist"S; then
64941
 
+           :
64942
 
          else
64943
 
-           newdlprefiles="$newdlprefiles $dir/$linklib"
64944
 
+           $GREP -v "^: " < "$nlist" > "$nlist"S
64945
 
          fi
64946
 
-       fi # $pass = dlpreopen
64947
 
 
64948
 
-       if test -z "$libdir"; then
64949
 
-         # Link the convenience library
64950
 
-         if test "$linkmode" = lib; then
64951
 
-           deplibs="$dir/$old_library $deplibs"
64952
 
-         elif test "$linkmode,$pass" = "prog,link"; then
64953
 
-           compile_deplibs="$dir/$old_library $compile_deplibs"
64954
 
-           finalize_deplibs="$dir/$old_library $finalize_deplibs"
64955
 
+         if test -f "$nlist"S; then
64956
 
+           eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$my_dlsyms"'
64957
 
          else
64958
 
-           deplibs="$lib $deplibs" # used for prog,scan pass
64959
 
+           $ECHO '/* NONE */' >> "$output_objdir/$my_dlsyms"
64960
 
          fi
64961
 
-         continue
64962
 
-       fi
64963
 
 
64964
 
+         $ECHO >> "$output_objdir/$my_dlsyms" "\
64965
 
 
64966
 
-       if test "$linkmode" = prog && test "$pass" != link; then
64967
 
-         newlib_search_path="$newlib_search_path $ladir"
64968
 
-         deplibs="$lib $deplibs"
64969
 
-
64970
 
-         linkalldeplibs=no
64971
 
-         if test "$link_all_deplibs" != no || test -z "$library_names" ||
64972
 
-            test "$build_libtool_libs" = no; then
64973
 
-           linkalldeplibs=yes
64974
 
-         fi
64975
 
+/* The mapping between symbol names and symbols.  */
64976
 
+typedef struct {
64977
 
+  const char *name;
64978
 
+  void *address;
64979
 
+} lt_dlsymlist;
64980
 
+"
64981
 
+         case $host in
64982
 
+         *cygwin* | *mingw* | *cegcc* )
64983
 
+           $ECHO >> "$output_objdir/$my_dlsyms" "\
64984
 
+/* DATA imports from DLLs on WIN32 con't be const, because
64985
 
+   runtime relocations are performed -- see ld's documentation
64986
 
+   on pseudo-relocs.  */"
64987
 
+           lt_dlsym_const= ;;
64988
 
+         *osf5*)
64989
 
+           echo >> "$output_objdir/$my_dlsyms" "\
64990
 
+/* This system does not cope well with relocations in const data */"
64991
 
+           lt_dlsym_const= ;;
64992
 
+         *)
64993
 
+           lt_dlsym_const=const ;;
64994
 
+         esac
64995
 
 
64996
 
-         tmp_libs=
64997
 
-         for deplib in $dependency_libs; do
64998
 
-           case $deplib in
64999
 
-           -L*) newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`;; ### testsuite: skip nested quoting test
65000
 
-           esac
65001
 
-           # Need to link against all dependency_libs?
65002
 
-           if test "$linkalldeplibs" = yes; then
65003
 
-             deplibs="$deplib $deplibs"
65004
 
-           else
65005
 
-             # Need to hardcode shared library paths
65006
 
-             # or/and link against static libraries
65007
 
-             newdependency_libs="$deplib $newdependency_libs"
65008
 
-           fi
65009
 
-           if test "X$duplicate_deps" = "Xyes" ; then
65010
 
-             case "$tmp_libs " in
65011
 
-             *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
65012
 
-             esac
65013
 
-           fi
65014
 
-           tmp_libs="$tmp_libs $deplib"
65015
 
-         done # for deplib
65016
 
-         continue
65017
 
-       fi # $linkmode = prog...
65018
 
+         $ECHO >> "$output_objdir/$my_dlsyms" "\
65019
 
+extern $lt_dlsym_const lt_dlsymlist
65020
 
+lt_${my_prefix}_LTX_preloaded_symbols[];
65021
 
+$lt_dlsym_const lt_dlsymlist
65022
 
+lt_${my_prefix}_LTX_preloaded_symbols[] =
65023
 
+{\
65024
 
+  { \"$my_originator\", (void *) 0 },"
65025
 
 
65026
 
-       if test "$linkmode,$pass" = "prog,link"; then
65027
 
-         if test -n "$library_names" &&
65028
 
-            { { test "$prefer_static_libs" = no ||
65029
 
-                test "$prefer_static_libs,$installed" = "built,yes"; } ||
65030
 
-              test -z "$old_library"; }; then
65031
 
-           # We need to hardcode the library path
65032
 
-           if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then
65033
 
-             # Make sure the rpath contains only unique directories.
65034
 
-             case "$temp_rpath " in
65035
 
-             *" $dir "*) ;;
65036
 
-             *" $absdir "*) ;;
65037
 
-             *) temp_rpath="$temp_rpath $absdir" ;;
65038
 
-             esac
65039
 
-           fi
65040
 
+         case $need_lib_prefix in
65041
 
+         no)
65042
 
+           eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$my_dlsyms"
65043
 
+           ;;
65044
 
+         *)
65045
 
+           eval "$global_symbol_to_c_name_address_lib_prefix" < "$nlist" >> "$output_objdir/$my_dlsyms"
65046
 
+           ;;
65047
 
+         esac
65048
 
+         $ECHO >> "$output_objdir/$my_dlsyms" "\
65049
 
+  {0, (void *) 0}
65050
 
+};
65051
 
 
65052
 
-           # Hardcode the library path.
65053
 
-           # Skip directories that are in the system default run-time
65054
 
-           # search path.
65055
 
-           case " $sys_lib_dlsearch_path " in
65056
 
-           *" $absdir "*) ;;
65057
 
-           *)
65058
 
-             case "$compile_rpath " in
65059
 
-             *" $absdir "*) ;;
65060
 
-             *) compile_rpath="$compile_rpath $absdir"
65061
 
-             esac
65062
 
-             ;;
65063
 
-           esac
65064
 
-           case " $sys_lib_dlsearch_path " in
65065
 
-           *" $libdir "*) ;;
65066
 
-           *)
65067
 
-             case "$finalize_rpath " in
65068
 
-             *" $libdir "*) ;;
65069
 
-             *) finalize_rpath="$finalize_rpath $libdir"
65070
 
-             esac
65071
 
-             ;;
65072
 
-           esac
65073
 
-         fi # $linkmode,$pass = prog,link...
65074
 
-
65075
 
-         if test "$alldeplibs" = yes &&
65076
 
-            { test "$deplibs_check_method" = pass_all ||
65077
 
-              { test "$build_libtool_libs" = yes &&
65078
 
-                test -n "$library_names"; }; }; then
65079
 
-           # We only need to search for static libraries
65080
 
-           continue
65081
 
-         fi
65082
 
-       fi
65083
 
+/* This works around a problem in FreeBSD linker */
65084
 
+#ifdef FREEBSD_WORKAROUND
65085
 
+static const void *lt_preloaded_setup() {
65086
 
+  return lt_${my_prefix}_LTX_preloaded_symbols;
65087
 
+}
65088
 
+#endif
65089
 
 
65090
 
-       link_static=no # Whether the deplib will be linked statically
65091
 
-       use_static_libs=$prefer_static_libs
65092
 
-       if test "$use_static_libs" = built && test "$installed" = yes ; then
65093
 
-         use_static_libs=no
65094
 
-       fi
65095
 
-       if test -n "$library_names" &&
65096
 
-          { test "$use_static_libs" = no || test -z "$old_library"; }; then
65097
 
-         if test "$installed" = no; then
65098
 
-           notinst_deplibs="$notinst_deplibs $lib"
65099
 
-           need_relink=yes
65100
 
-         fi
65101
 
-         # This is a shared library
65102
 
+#ifdef __cplusplus
65103
 
+}
65104
 
+#endif\
65105
 
+"
65106
 
+       } # !$opt_dry_run
65107
 
 
65108
 
-         # Warn about portability, can't link against -module's on
65109
 
-         # some systems (darwin)
65110
 
-         if test "$shouldnotlink" = yes && test "$pass" = link ; then
65111
 
-           $echo
65112
 
-           if test "$linkmode" = prog; then
65113
 
-             $echo "*** Warning: Linking the executable $output against the loadable module"
65114
 
-           else
65115
 
-             $echo "*** Warning: Linking the shared library $output against the loadable module"
65116
 
+       pic_flag_for_symtable=
65117
 
+       case "$compile_command " in
65118
 
+       *" -static "*) ;;
65119
 
+       *)
65120
 
+         case $host in
65121
 
+         # compiling the symbol table file with pic_flag works around
65122
 
+         # a FreeBSD bug that causes programs to crash when -lm is
65123
 
+         # linked before any other PIC object.  But we must not use
65124
 
+         # pic_flag when linking with -static.  The problem exists in
65125
 
+         # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1.
65126
 
+         *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
65127
 
+           pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND" ;;
65128
 
+         *-*-hpux*)
65129
 
+           pic_flag_for_symtable=" $pic_flag"  ;;
65130
 
+         *)
65131
 
+           if test "X$my_pic_p" != Xno; then
65132
 
+             pic_flag_for_symtable=" $pic_flag"
65133
 
            fi
65134
 
-           $echo "*** $linklib is not portable!"
65135
 
-         fi
65136
 
-         if test "$linkmode" = lib &&
65137
 
-            test "$hardcode_into_libs" = yes; then
65138
 
-           # Hardcode the library path.
65139
 
-           # Skip directories that are in the system default run-time
65140
 
-           # search path.
65141
 
-           case " $sys_lib_dlsearch_path " in
65142
 
-           *" $absdir "*) ;;
65143
 
-           *)
65144
 
-             case "$compile_rpath " in
65145
 
-             *" $absdir "*) ;;
65146
 
-             *) compile_rpath="$compile_rpath $absdir"
65147
 
-             esac
65148
 
-             ;;
65149
 
-           esac
65150
 
-           case " $sys_lib_dlsearch_path " in
65151
 
-           *" $libdir "*) ;;
65152
 
-           *)
65153
 
-             case "$finalize_rpath " in
65154
 
-             *" $libdir "*) ;;
65155
 
-             *) finalize_rpath="$finalize_rpath $libdir"
65156
 
-             esac
65157
 
-             ;;
65158
 
-           esac
65159
 
-         fi
65160
 
+           ;;
65161
 
+         esac
65162
 
+         ;;
65163
 
+       esac
65164
 
+       symtab_cflags=
65165
 
+       for arg in $LTCFLAGS; do
65166
 
+         case $arg in
65167
 
+         -pie | -fpie | -fPIE) ;;
65168
 
+         *) symtab_cflags="$symtab_cflags $arg" ;;
65169
 
+         esac
65170
 
+       done
65171
 
 
65172
 
-         if test -n "$old_archive_from_expsyms_cmds"; then
65173
 
-           # figure out the soname
65174
 
-           set dummy $library_names
65175
 
-           realname="$2"
65176
 
-           shift; shift
65177
 
-           libname=`eval \\$echo \"$libname_spec\"`
65178
 
-           # use dlname if we got it. it's perfectly good, no?
65179
 
-           if test -n "$dlname"; then
65180
 
-             soname="$dlname"
65181
 
-           elif test -n "$soname_spec"; then
65182
 
-             # bleh windows
65183
 
-             case $host in
65184
 
-             *cygwin* | mingw*)
65185
 
-               major=`expr $current - $age`
65186
 
-               versuffix="-$major"
65187
 
-               ;;
65188
 
-             esac
65189
 
-             eval soname=\"$soname_spec\"
65190
 
-           else
65191
 
-             soname="$realname"
65192
 
-           fi
65193
 
+       # Now compile the dynamic symbol file.
65194
 
+       func_show_eval '(cd $output_objdir && $LTCC$symtab_cflags -c$no_builtin_flag$pic_flag_for_symtable "$my_dlsyms")' 'exit $?'
65195
 
 
65196
 
-           # Make a new name for the extract_expsyms_cmds to use
65197
 
-           soroot="$soname"
65198
 
-           soname=`$echo $soroot | ${SED} -e 's/^.*\///'`
65199
 
-           newlib="libimp-`$echo $soname | ${SED} 's/^lib//;s/\.dll$//'`.a"
65200
 
+       # Clean up the generated files.
65201
 
+       func_show_eval '$RM "$output_objdir/$my_dlsyms" "$nlist" "${nlist}S" "${nlist}T"'
65202
 
 
65203
 
-           # If the library has no export list, then create one now
65204
 
-           if test -f "$output_objdir/$soname-def"; then :
65205
 
-           else
65206
 
-             $show "extracting exported symbol list from \`$soname'"
65207
 
-             save_ifs="$IFS"; IFS='~'
65208
 
-             cmds=$extract_expsyms_cmds
65209
 
-             for cmd in $cmds; do
65210
 
-               IFS="$save_ifs"
65211
 
-               eval cmd=\"$cmd\"
65212
 
-               $show "$cmd"
65213
 
-               $run eval "$cmd" || exit $?
65214
 
-             done
65215
 
-             IFS="$save_ifs"
65216
 
-           fi
65217
 
+       # Transform the symbol file into the correct name.
65218
 
+       symfileobj="$output_objdir/${my_outputname}S.$objext"
65219
 
+       case $host in
65220
 
+       *cygwin* | *mingw* | *cegcc* )
65221
 
+         if test -f "$output_objdir/$my_outputname.def"; then
65222
 
+           compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
65223
 
+           finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
65224
 
+         else
65225
 
+           compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
65226
 
+           finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
65227
 
+         fi
65228
 
+         ;;
65229
 
+       *)
65230
 
+         compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
65231
 
+         finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
65232
 
+         ;;
65233
 
+       esac
65234
 
+       ;;
65235
 
+      *)
65236
 
+       func_fatal_error "unknown suffix for \`$my_dlsyms'"
65237
 
+       ;;
65238
 
+      esac
65239
 
+    else
65240
 
+      # We keep going just in case the user didn't refer to
65241
 
+      # lt_preloaded_symbols.  The linker will fail if global_symbol_pipe
65242
 
+      # really was required.
65243
 
+
65244
 
+      # Nullify the symbol file.
65245
 
+      compile_command=`$ECHO "X$compile_command" | $Xsed -e "s% @SYMFILE@%%"`
65246
 
+      finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"`
65247
 
+    fi
65248
 
+}
65249
 
 
65250
 
-           # Create $newlib
65251
 
-           if test -f "$output_objdir/$newlib"; then :; else
65252
 
-             $show "generating import library for \`$soname'"
65253
 
-             save_ifs="$IFS"; IFS='~'
65254
 
-             cmds=$old_archive_from_expsyms_cmds
65255
 
-             for cmd in $cmds; do
65256
 
-               IFS="$save_ifs"
65257
 
-               eval cmd=\"$cmd\"
65258
 
-               $show "$cmd"
65259
 
-               $run eval "$cmd" || exit $?
65260
 
-             done
65261
 
-             IFS="$save_ifs"
65262
 
-           fi
65263
 
-           # make sure the library variables are pointing to the new library
65264
 
-           dir=$output_objdir
65265
 
-           linklib=$newlib
65266
 
-         fi # test -n "$old_archive_from_expsyms_cmds"
65267
 
+# func_win32_libid arg
65268
 
+# return the library type of file 'arg'
65269
 
+#
65270
 
+# Need a lot of goo to handle *both* DLLs and import libs
65271
 
+# Has to be a shell function in order to 'eat' the argument
65272
 
+# that is supplied when $file_magic_command is called.
65273
 
+func_win32_libid ()
65274
 
+{
65275
 
+  $opt_debug
65276
 
+  win32_libid_type="unknown"
65277
 
+  win32_fileres=`file -L $1 2>/dev/null`
65278
 
+  case $win32_fileres in
65279
 
+  *ar\ archive\ import\ library*) # definitely import
65280
 
+    win32_libid_type="x86 archive import"
65281
 
+    ;;
65282
 
+  *ar\ archive*) # could be an import, or static
65283
 
+    if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null |
65284
 
+       $EGREP 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then
65285
 
+      win32_nmres=`eval $NM -f posix -A $1 |
65286
 
+       $SED -n -e '
65287
 
+           1,100{
65288
 
+               / I /{
65289
 
+                   s,.*,import,
65290
 
+                   p
65291
 
+                   q
65292
 
+               }
65293
 
+           }'`
65294
 
+      case $win32_nmres in
65295
 
+      import*)  win32_libid_type="x86 archive import";;
65296
 
+      *)        win32_libid_type="x86 archive static";;
65297
 
+      esac
65298
 
+    fi
65299
 
+    ;;
65300
 
+  *DLL*)
65301
 
+    win32_libid_type="x86 DLL"
65302
 
+    ;;
65303
 
+  *executable*) # but shell scripts are "executable" too...
65304
 
+    case $win32_fileres in
65305
 
+    *MS\ Windows\ PE\ Intel*)
65306
 
+      win32_libid_type="x86 DLL"
65307
 
+      ;;
65308
 
+    esac
65309
 
+    ;;
65310
 
+  esac
65311
 
+  $ECHO "$win32_libid_type"
65312
 
+}
65313
 
 
65314
 
-         if test "$linkmode" = prog || test "$mode" != relink; then
65315
 
-           add_shlibpath=
65316
 
-           add_dir=
65317
 
-           add=
65318
 
-           lib_linked=yes
65319
 
-           case $hardcode_action in
65320
 
-           immediate | unsupported)
65321
 
-             if test "$hardcode_direct" = no; then
65322
 
-               add="$dir/$linklib"
65323
 
-               case $host in
65324
 
-                 *-*-sco3.2v5.0.[024]*) add_dir="-L$dir" ;;
65325
 
-                 *-*-sysv4*uw2*) add_dir="-L$dir" ;;
65326
 
-                 *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \
65327
 
-                   *-*-unixware7*) add_dir="-L$dir" ;;
65328
 
-                 *-*-darwin* )
65329
 
-                   # if the lib is a module then we can not link against
65330
 
-                   # it, someone is ignoring the new warnings I added
65331
 
-                   if /usr/bin/file -L $add 2> /dev/null |
65332
 
-                      $EGREP ": [^:]* bundle" >/dev/null ; then
65333
 
-                     $echo "** Warning, lib $linklib is a module, not a shared library"
65334
 
-                     if test -z "$old_library" ; then
65335
 
-                       $echo
65336
 
-                       $echo "** And there doesn't seem to be a static archive available"
65337
 
-                       $echo "** The link will probably fail, sorry"
65338
 
-                     else
65339
 
-                       add="$dir/$old_library"
65340
 
-                     fi
65341
 
-                   fi
65342
 
-               esac
65343
 
-             elif test "$hardcode_minus_L" = no; then
65344
 
-               case $host in
65345
 
-               *-*-sunos*) add_shlibpath="$dir" ;;
65346
 
-               esac
65347
 
-               add_dir="-L$dir"
65348
 
-               add="-l$name"
65349
 
-             elif test "$hardcode_shlibpath_var" = no; then
65350
 
-               add_shlibpath="$dir"
65351
 
-               add="-l$name"
65352
 
-             else
65353
 
-               lib_linked=no
65354
 
-             fi
65355
 
-             ;;
65356
 
-           relink)
65357
 
-             if test "$hardcode_direct" = yes; then
65358
 
-               add="$dir/$linklib"
65359
 
-             elif test "$hardcode_minus_L" = yes; then
65360
 
-               add_dir="-L$dir"
65361
 
-               # Try looking first in the location we're being installed to.
65362
 
-               if test -n "$inst_prefix_dir"; then
65363
 
-                 case $libdir in
65364
 
-                   [\\/]*)
65365
 
-                     add_dir="$add_dir -L$inst_prefix_dir$libdir"
65366
 
-                     ;;
65367
 
-                 esac
65368
 
-               fi
65369
 
-               add="-l$name"
65370
 
-             elif test "$hardcode_shlibpath_var" = yes; then
65371
 
-               add_shlibpath="$dir"
65372
 
-               add="-l$name"
65373
 
-             else
65374
 
-               lib_linked=no
65375
 
-             fi
65376
 
-             ;;
65377
 
-           *) lib_linked=no ;;
65378
 
-           esac
65379
 
 
65380
 
-           if test "$lib_linked" != yes; then
65381
 
-             $echo "$modename: configuration error: unsupported hardcode properties"
65382
 
-             exit $EXIT_FAILURE
65383
 
-           fi
65384
 
 
65385
 
-           if test -n "$add_shlibpath"; then
65386
 
-             case :$compile_shlibpath: in
65387
 
-             *":$add_shlibpath:"*) ;;
65388
 
-             *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;;
65389
 
-             esac
65390
 
-           fi
65391
 
-           if test "$linkmode" = prog; then
65392
 
-             test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs"
65393
 
-             test -n "$add" && compile_deplibs="$add $compile_deplibs"
65394
 
-           else
65395
 
-             test -n "$add_dir" && deplibs="$add_dir $deplibs"
65396
 
-             test -n "$add" && deplibs="$add $deplibs"
65397
 
-             if test "$hardcode_direct" != yes && \
65398
 
-                test "$hardcode_minus_L" != yes && \
65399
 
-                test "$hardcode_shlibpath_var" = yes; then
65400
 
-               case :$finalize_shlibpath: in
65401
 
-               *":$libdir:"*) ;;
65402
 
-               *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
65403
 
-               esac
65404
 
-             fi
65405
 
-           fi
65406
 
-         fi
65407
 
+# func_extract_an_archive dir oldlib
65408
 
+func_extract_an_archive ()
65409
 
+{
65410
 
+    $opt_debug
65411
 
+    f_ex_an_ar_dir="$1"; shift
65412
 
+    f_ex_an_ar_oldlib="$1"
65413
 
+    func_show_eval "(cd \$f_ex_an_ar_dir && $AR x \"\$f_ex_an_ar_oldlib\")" 'exit $?'
65414
 
+    if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then
65415
 
+     :
65416
 
+    else
65417
 
+      func_fatal_error "object name conflicts in archive: $f_ex_an_ar_dir/$f_ex_an_ar_oldlib"
65418
 
+    fi
65419
 
+}
65420
 
 
65421
 
-         if test "$linkmode" = prog || test "$mode" = relink; then
65422
 
-           add_shlibpath=
65423
 
-           add_dir=
65424
 
-           add=
65425
 
-           # Finalize command for both is simple: just hardcode it.
65426
 
-           if test "$hardcode_direct" = yes; then
65427
 
-             add="$libdir/$linklib"
65428
 
-           elif test "$hardcode_minus_L" = yes; then
65429
 
-             add_dir="-L$libdir"
65430
 
-             add="-l$name"
65431
 
-           elif test "$hardcode_shlibpath_var" = yes; then
65432
 
-             case :$finalize_shlibpath: in
65433
 
-             *":$libdir:"*) ;;
65434
 
-             *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
65435
 
-             esac
65436
 
-             add="-l$name"
65437
 
-           elif test "$hardcode_automatic" = yes; then
65438
 
-             if test -n "$inst_prefix_dir" &&
65439
 
-                test -f "$inst_prefix_dir$libdir/$linklib" ; then
65440
 
-               add="$inst_prefix_dir$libdir/$linklib"
65441
 
-             else
65442
 
-               add="$libdir/$linklib"
65443
 
-             fi
65444
 
-           else
65445
 
-             # We cannot seem to hardcode it, guess we'll fake it.
65446
 
-             add_dir="-L$libdir"
65447
 
-             # Try looking first in the location we're being installed to.
65448
 
-             if test -n "$inst_prefix_dir"; then
65449
 
-               case $libdir in
65450
 
-                 [\\/]*)
65451
 
-                   add_dir="$add_dir -L$inst_prefix_dir$libdir"
65452
 
-                   ;;
65453
 
-               esac
65454
 
-             fi
65455
 
-             add="-l$name"
65456
 
-           fi
65457
 
 
65458
 
-           if test "$linkmode" = prog; then
65459
 
-             test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs"
65460
 
-             test -n "$add" && finalize_deplibs="$add $finalize_deplibs"
65461
 
-           else
65462
 
-             test -n "$add_dir" && deplibs="$add_dir $deplibs"
65463
 
-             test -n "$add" && deplibs="$add $deplibs"
65464
 
-           fi
65465
 
-         fi
65466
 
-       elif test "$linkmode" = prog; then
65467
 
-         # Here we assume that one of hardcode_direct or hardcode_minus_L
65468
 
-         # is not unsupported.  This is valid on all known static and
65469
 
-         # shared platforms.
65470
 
-         if test "$hardcode_direct" != unsupported; then
65471
 
-           test -n "$old_library" && linklib="$old_library"
65472
 
-           compile_deplibs="$dir/$linklib $compile_deplibs"
65473
 
-           finalize_deplibs="$dir/$linklib $finalize_deplibs"
65474
 
-         else
65475
 
-           compile_deplibs="-l$name -L$dir $compile_deplibs"
65476
 
-           finalize_deplibs="-l$name -L$dir $finalize_deplibs"
65477
 
-         fi
65478
 
-       elif test "$build_libtool_libs" = yes; then
65479
 
-         # Not a shared library
65480
 
-         if test "$deplibs_check_method" != pass_all; then
65481
 
-           # We're trying link a shared library against a static one
65482
 
-           # but the system doesn't support it.
65483
 
+# func_extract_archives gentop oldlib ...
65484
 
+func_extract_archives ()
65485
 
+{
65486
 
+    $opt_debug
65487
 
+    my_gentop="$1"; shift
65488
 
+    my_oldlibs=${1+"$@"}
65489
 
+    my_oldobjs=""
65490
 
+    my_xlib=""
65491
 
+    my_xabs=""
65492
 
+    my_xdir=""
65493
 
 
65494
 
-           # Just print a warning and add the library to dependency_libs so
65495
 
-           # that the program can be linked against the static library.
65496
 
-           $echo
65497
 
-           $echo "*** Warning: This system can not link to static lib archive $lib."
65498
 
-           $echo "*** I have the capability to make that library automatically link in when"
65499
 
-           $echo "*** you link to this library.  But I can only do this if you have a"
65500
 
-           $echo "*** shared version of the library, which you do not appear to have."
65501
 
-           if test "$module" = yes; then
65502
 
-             $echo "*** But as you try to build a module library, libtool will still create "
65503
 
-             $echo "*** a static module, that should work as long as the dlopening application"
65504
 
-             $echo "*** is linked with the -dlopen flag to resolve symbols at runtime."
65505
 
-             if test -z "$global_symbol_pipe"; then
65506
 
-               $echo
65507
 
-               $echo "*** However, this would only work if libtool was able to extract symbol"
65508
 
-               $echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
65509
 
-               $echo "*** not find such a program.  So, this module is probably useless."
65510
 
-               $echo "*** \`nm' from GNU binutils and a full rebuild may help."
65511
 
-             fi
65512
 
-             if test "$build_old_libs" = no; then
65513
 
-               build_libtool_libs=module
65514
 
-               build_old_libs=yes
65515
 
-             else
65516
 
-               build_libtool_libs=no
65517
 
-             fi
65518
 
-           fi
65519
 
+    for my_xlib in $my_oldlibs; do
65520
 
+      # Extract the objects.
65521
 
+      case $my_xlib in
65522
 
+       [\\/]* | [A-Za-z]:[\\/]*) my_xabs="$my_xlib" ;;
65523
 
+       *) my_xabs=`pwd`"/$my_xlib" ;;
65524
 
+      esac
65525
 
+      func_basename "$my_xlib"
65526
 
+      my_xlib="$func_basename_result"
65527
 
+      my_xlib_u=$my_xlib
65528
 
+      while :; do
65529
 
+        case " $extracted_archives " in
65530
 
+       *" $my_xlib_u "*)
65531
 
+         func_arith $extracted_serial + 1
65532
 
+         extracted_serial=$func_arith_result
65533
 
+         my_xlib_u=lt$extracted_serial-$my_xlib ;;
65534
 
+       *) break ;;
65535
 
+       esac
65536
 
+      done
65537
 
+      extracted_archives="$extracted_archives $my_xlib_u"
65538
 
+      my_xdir="$my_gentop/$my_xlib_u"
65539
 
+
65540
 
+      func_mkdir_p "$my_xdir"
65541
 
+
65542
 
+      case $host in
65543
 
+      *-darwin*)
65544
 
+       func_verbose "Extracting $my_xabs"
65545
 
+       # Do not bother doing anything if just a dry run
65546
 
+       $opt_dry_run || {
65547
 
+         darwin_orig_dir=`pwd`
65548
 
+         cd $my_xdir || exit $?
65549
 
+         darwin_archive=$my_xabs
65550
 
+         darwin_curdir=`pwd`
65551
 
+         darwin_base_archive=`basename "$darwin_archive"`
65552
 
+         darwin_arches=`$LIPO -info "$darwin_archive" 2>/dev/null | $GREP Architectures 2>/dev/null || true`
65553
 
+         if test -n "$darwin_arches"; then
65554
 
+           darwin_arches=`$ECHO "$darwin_arches" | $SED -e 's/.*are://'`
65555
 
+           darwin_arch=
65556
 
+           func_verbose "$darwin_base_archive has multiple architectures $darwin_arches"
65557
 
+           for darwin_arch in  $darwin_arches ; do
65558
 
+             func_mkdir_p "unfat-$$/${darwin_base_archive}-${darwin_arch}"
65559
 
+             $LIPO -thin $darwin_arch -output "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" "${darwin_archive}"
65560
 
+             cd "unfat-$$/${darwin_base_archive}-${darwin_arch}"
65561
 
+             func_extract_an_archive "`pwd`" "${darwin_base_archive}"
65562
 
+             cd "$darwin_curdir"
65563
 
+             $RM "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}"
65564
 
+           done # $darwin_arches
65565
 
+            ## Okay now we've a bunch of thin objects, gotta fatten them up :)
65566
 
+           darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print | $SED -e "$basename" | sort -u`
65567
 
+           darwin_file=
65568
 
+           darwin_files=
65569
 
+           for darwin_file in $darwin_filelist; do
65570
 
+             darwin_files=`find unfat-$$ -name $darwin_file -print | $NL2SP`
65571
 
+             $LIPO -create -output "$darwin_file" $darwin_files
65572
 
+           done # $darwin_filelist
65573
 
+           $RM -rf unfat-$$
65574
 
+           cd "$darwin_orig_dir"
65575
 
          else
65576
 
-           deplibs="$dir/$old_library $deplibs"
65577
 
-           link_static=yes
65578
 
-         fi
65579
 
-       fi # link shared/static library?
65580
 
+           cd $darwin_orig_dir
65581
 
+           func_extract_an_archive "$my_xdir" "$my_xabs"
65582
 
+         fi # $darwin_arches
65583
 
+       } # !$opt_dry_run
65584
 
+       ;;
65585
 
+      *)
65586
 
+        func_extract_an_archive "$my_xdir" "$my_xabs"
65587
 
+       ;;
65588
 
+      esac
65589
 
+      my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP`
65590
 
+    done
65591
 
 
65592
 
-       if test "$linkmode" = lib; then
65593
 
-         if test -n "$dependency_libs" &&
65594
 
-            { test "$hardcode_into_libs" != yes ||
65595
 
-              test "$build_old_libs" = yes ||
65596
 
-              test "$link_static" = yes; }; then
65597
 
-           # Extract -R from dependency_libs
65598
 
-           temp_deplibs=
65599
 
-           for libdir in $dependency_libs; do
65600
 
-             case $libdir in
65601
 
-             -R*) temp_xrpath=`$echo "X$libdir" | $Xsed -e 's/^-R//'`
65602
 
-                  case " $xrpath " in
65603
 
-                  *" $temp_xrpath "*) ;;
65604
 
-                  *) xrpath="$xrpath $temp_xrpath";;
65605
 
-                  esac;;
65606
 
-             *) temp_deplibs="$temp_deplibs $libdir";;
65607
 
-             esac
65608
 
-           done
65609
 
-           dependency_libs="$temp_deplibs"
65610
 
-         fi
65611
 
+    func_extract_archives_result="$my_oldobjs"
65612
 
+}
65613
 
 
65614
 
-         newlib_search_path="$newlib_search_path $absdir"
65615
 
-         # Link against this library
65616
 
-         test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs"
65617
 
-         # ... and its dependency_libs
65618
 
-         tmp_libs=
65619
 
-         for deplib in $dependency_libs; do
65620
 
-           newdependency_libs="$deplib $newdependency_libs"
65621
 
-           if test "X$duplicate_deps" = "Xyes" ; then
65622
 
-             case "$tmp_libs " in
65623
 
-             *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
65624
 
-             esac
65625
 
-           fi
65626
 
-           tmp_libs="$tmp_libs $deplib"
65627
 
-         done
65628
 
 
65629
 
-         if test "$link_all_deplibs" != no; then
65630
 
-           # Add the search paths of all dependency libraries
65631
 
-           for deplib in $dependency_libs; do
65632
 
-             case $deplib in
65633
 
-             -L*) path="$deplib" ;;
65634
 
-             *.la)
65635
 
-               dir=`$echo "X$deplib" | $Xsed -e 's%/[^/]*$%%'`
65636
 
-               test "X$dir" = "X$deplib" && dir="."
65637
 
-               # We need an absolute path.
65638
 
-               case $dir in
65639
 
-               [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;;
65640
 
-               *)
65641
 
-                 absdir=`cd "$dir" && pwd`
65642
 
-                 if test -z "$absdir"; then
65643
 
-                   $echo "$modename: warning: cannot determine absolute directory name of \`$dir'" 1>&2
65644
 
-                   absdir="$dir"
65645
 
-                 fi
65646
 
-                 ;;
65647
 
-               esac
65648
 
-               if grep "^installed=no" $deplib > /dev/null; then
65649
 
-                 path="$absdir/$objdir"
65650
 
-               else
65651
 
-                 eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
65652
 
-                 if test -z "$libdir"; then
65653
 
-                   $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
65654
 
-                   exit $EXIT_FAILURE
65655
 
-                 fi
65656
 
-                 if test "$absdir" != "$libdir"; then
65657
 
-                   $echo "$modename: warning: \`$deplib' seems to be moved" 1>&2
65658
 
-                 fi
65659
 
-                 path="$absdir"
65660
 
-               fi
65661
 
-               depdepl=
65662
 
-               case $host in
65663
 
-               *-*-darwin*)
65664
 
-                 # we do not want to link against static libs,
65665
 
-                 # but need to link against shared
65666
 
-                 eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib`
65667
 
-                 eval deplibdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
65668
 
-                 if test -n "$deplibrary_names" ; then
65669
 
-                   for tmp in $deplibrary_names ; do
65670
 
-                     depdepl=$tmp
65671
 
-                   done
65672
 
-                   if test -f "$deplibdir/$depdepl" ; then
65673
 
-                     depdepl="$deplibdir/$depdepl"
65674
 
-                   elif test -f "$path/$depdepl" ; then
65675
 
-                     depdepl="$path/$depdepl"
65676
 
-                   else
65677
 
-                     # Can't find it, oh well...
65678
 
-                     depdepl=
65679
 
-                   fi
65680
 
-                   # do not add paths which are already there
65681
 
-                   case " $newlib_search_path " in
65682
 
-                   *" $path "*) ;;
65683
 
-                   *) newlib_search_path="$newlib_search_path $path";;
65684
 
-                   esac
65685
 
-                 fi
65686
 
-                 path=""
65687
 
-                 ;;
65688
 
-               *)
65689
 
-                 path="-L$path"
65690
 
-                 ;;
65691
 
-               esac
65692
 
-               ;;
65693
 
-             -l*)
65694
 
-               case $host in
65695
 
-               *-*-darwin*)
65696
 
-                 # Again, we only want to link against shared libraries
65697
 
-                 eval tmp_libs=`$echo "X$deplib" | $Xsed -e "s,^\-l,,"`
65698
 
-                 for tmp in $newlib_search_path ; do
65699
 
-                   if test -f "$tmp/lib$tmp_libs.dylib" ; then
65700
 
-                     eval depdepl="$tmp/lib$tmp_libs.dylib"
65701
 
-                     break
65702
 
-                   fi
65703
 
-                 done
65704
 
-                 path=""
65705
 
-                 ;;
65706
 
-               *) continue ;;
65707
 
-               esac
65708
 
-               ;;
65709
 
-             *) continue ;;
65710
 
-             esac
65711
 
-             case " $deplibs " in
65712
 
-             *" $path "*) ;;
65713
 
-             *) deplibs="$path $deplibs" ;;
65714
 
-             esac
65715
 
-             case " $deplibs " in
65716
 
-             *" $depdepl "*) ;;
65717
 
-             *) deplibs="$depdepl $deplibs" ;;
65718
 
-             esac
65719
 
-           done
65720
 
-         fi # link_all_deplibs != no
65721
 
-       fi # linkmode = lib
65722
 
-      done # for deplib in $libs
65723
 
-      dependency_libs="$newdependency_libs"
65724
 
-      if test "$pass" = dlpreopen; then
65725
 
-       # Link the dlpreopened libraries before other libraries
65726
 
-       for deplib in $save_deplibs; do
65727
 
-         deplibs="$deplib $deplibs"
65728
 
-       done
65729
 
-      fi
65730
 
-      if test "$pass" != dlopen; then
65731
 
-       if test "$pass" != conv; then
65732
 
-         # Make sure lib_search_path contains only unique directories.
65733
 
-         lib_search_path=
65734
 
-         for dir in $newlib_search_path; do
65735
 
-           case "$lib_search_path " in
65736
 
-           *" $dir "*) ;;
65737
 
-           *) lib_search_path="$lib_search_path $dir" ;;
65738
 
-           esac
65739
 
-         done
65740
 
-         newlib_search_path=
65741
 
-       fi
65742
 
 
65743
 
-       if test "$linkmode,$pass" != "prog,link"; then
65744
 
-         vars="deplibs"
65745
 
-       else
65746
 
-         vars="compile_deplibs finalize_deplibs"
65747
 
+# func_emit_wrapper_part1 [arg=no]
65748
 
+#
65749
 
+# Emit the first part of a libtool wrapper script on stdout.
65750
 
+# For more information, see the description associated with
65751
 
+# func_emit_wrapper(), below.
65752
 
+func_emit_wrapper_part1 ()
65753
 
+{
65754
 
+       func_emit_wrapper_part1_arg1=no
65755
 
+       if test -n "$1" ; then
65756
 
+         func_emit_wrapper_part1_arg1=$1
65757
 
        fi
65758
 
-       for var in $vars dependency_libs; do
65759
 
-         # Add libraries to $var in reverse order
65760
 
-         eval tmp_libs=\"\$$var\"
65761
 
-         new_libs=
65762
 
-         for deplib in $tmp_libs; do
65763
 
-           # FIXME: Pedantically, this is the right thing to do, so
65764
 
-           #        that some nasty dependency loop isn't accidentally
65765
 
-           #        broken:
65766
 
-           #new_libs="$deplib $new_libs"
65767
 
-           # Pragmatically, this seems to cause very few problems in
65768
 
-           # practice:
65769
 
-           case $deplib in
65770
 
-           -L*) new_libs="$deplib $new_libs" ;;
65771
 
-           -R*) ;;
65772
 
-           *)
65773
 
-             # And here is the reason: when a library appears more
65774
 
-             # than once as an explicit dependence of a library, or
65775
 
-             # is implicitly linked in more than once by the
65776
 
-             # compiler, it is considered special, and multiple
65777
 
-             # occurrences thereof are not removed.  Compare this
65778
 
-             # with having the same library being listed as a
65779
 
-             # dependency of multiple other libraries: in this case,
65780
 
-             # we know (pedantically, we assume) the library does not
65781
 
-             # need to be listed more than once, so we keep only the
65782
 
-             # last copy.  This is not always right, but it is rare
65783
 
-             # enough that we require users that really mean to play
65784
 
-             # such unportable linking tricks to link the library
65785
 
-             # using -Wl,-lname, so that libtool does not consider it
65786
 
-             # for duplicate removal.
65787
 
-             case " $specialdeplibs " in
65788
 
-             *" $deplib "*) new_libs="$deplib $new_libs" ;;
65789
 
-             *)
65790
 
-               case " $new_libs " in
65791
 
-               *" $deplib "*) ;;
65792
 
-               *) new_libs="$deplib $new_libs" ;;
65793
 
-               esac
65794
 
-               ;;
65795
 
-             esac
65796
 
-             ;;
65797
 
-           esac
65798
 
-         done
65799
 
-         tmp_libs=
65800
 
-         for deplib in $new_libs; do
65801
 
-           case $deplib in
65802
 
-           -L*)
65803
 
-             case " $tmp_libs " in
65804
 
-             *" $deplib "*) ;;
65805
 
-             *) tmp_libs="$tmp_libs $deplib" ;;
65806
 
-             esac
65807
 
-             ;;
65808
 
-           *) tmp_libs="$tmp_libs $deplib" ;;
65809
 
-           esac
65810
 
-         done
65811
 
-         eval $var=\"$tmp_libs\"
65812
 
-       done # for var
65813
 
-      fi
65814
 
-      # Last step: remove runtime libs from dependency_libs
65815
 
-      # (they stay in deplibs)
65816
 
-      tmp_libs=
65817
 
-      for i in $dependency_libs ; do
65818
 
-       case " $predeps $postdeps $compiler_lib_search_path " in
65819
 
-       *" $i "*)
65820
 
-         i=""
65821
 
-         ;;
65822
 
-       esac
65823
 
-       if test -n "$i" ; then
65824
 
-         tmp_libs="$tmp_libs $i"
65825
 
-       fi
65826
 
-      done
65827
 
-      dependency_libs=$tmp_libs
65828
 
-    done # for pass
65829
 
-    if test "$linkmode" = prog; then
65830
 
-      dlfiles="$newdlfiles"
65831
 
-      dlprefiles="$newdlprefiles"
65832
 
+
65833
 
+       $ECHO "\
65834
 
+#! $SHELL
65835
 
+
65836
 
+# $output - temporary wrapper script for $objdir/$outputname
65837
 
+# Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION
65838
 
+#
65839
 
+# The $output program cannot be directly executed until all the libtool
65840
 
+# libraries that it depends on are installed.
65841
 
+#
65842
 
+# This wrapper script should never be moved out of the build directory.
65843
 
+# If it is, it will not operate correctly.
65844
 
+
65845
 
+# Sed substitution that helps us do robust quoting.  It backslashifies
65846
 
+# metacharacters that are still active within double-quoted strings.
65847
 
+Xsed='${SED} -e 1s/^X//'
65848
 
+sed_quote_subst='$sed_quote_subst'
65849
 
+
65850
 
+# Be Bourne compatible
65851
 
+if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then
65852
 
+  emulate sh
65853
 
+  NULLCMD=:
65854
 
+  # Zsh 3.x and 4.x performs word splitting on \${1+\"\$@\"}, which
65855
 
+  # is contrary to our usage.  Disable this feature.
65856
 
+  alias -g '\${1+\"\$@\"}'='\"\$@\"'
65857
 
+  setopt NO_GLOB_SUBST
65858
 
+else
65859
 
+  case \`(set -o) 2>/dev/null\` in *posix*) set -o posix;; esac
65860
 
+fi
65861
 
+BIN_SH=xpg4; export BIN_SH # for Tru64
65862
 
+DUALCASE=1; export DUALCASE # for MKS sh
65863
 
+
65864
 
+# The HP-UX ksh and POSIX shell print the target directory to stdout
65865
 
+# if CDPATH is set.
65866
 
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
65867
 
+
65868
 
+relink_command=\"$relink_command\"
65869
 
+
65870
 
+# This environment variable determines our operation mode.
65871
 
+if test \"\$libtool_install_magic\" = \"$magic\"; then
65872
 
+  # install mode needs the following variables:
65873
 
+  generated_by_libtool_version='$macro_version'
65874
 
+  notinst_deplibs='$notinst_deplibs'
65875
 
+else
65876
 
+  # When we are sourced in execute mode, \$file and \$ECHO are already set.
65877
 
+  if test \"\$libtool_execute_magic\" != \"$magic\"; then
65878
 
+    ECHO=\"$qecho\"
65879
 
+    file=\"\$0\"
65880
 
+    # Make sure echo works.
65881
 
+    if test \"X\$1\" = X--no-reexec; then
65882
 
+      # Discard the --no-reexec flag, and continue.
65883
 
+      shift
65884
 
+    elif test \"X\`{ \$ECHO '\t'; } 2>/dev/null\`\" = 'X\t'; then
65885
 
+      # Yippee, \$ECHO works!
65886
 
+      :
65887
 
+    else
65888
 
+      # Restart under the correct shell, and then maybe \$ECHO will work.
65889
 
+      exec $SHELL \"\$0\" --no-reexec \${1+\"\$@\"}
65890
 
     fi
65891
 
+  fi\
65892
 
+"
65893
 
+       $ECHO "\
65894
 
 
65895
 
-    case $linkmode in
65896
 
-    oldlib)
65897
 
-      case " $deplibs" in
65898
 
-      *\ -l* | *\ -L*)
65899
 
-       $echo "$modename: warning: \`-l' and \`-L' are ignored for archives" 1>&2 ;;
65900
 
+  # Find the directory that this script lives in.
65901
 
+  thisdir=\`\$ECHO \"X\$file\" | \$Xsed -e 's%/[^/]*$%%'\`
65902
 
+  test \"x\$thisdir\" = \"x\$file\" && thisdir=.
65903
 
+
65904
 
+  # Follow symbolic links until we get to the real thisdir.
65905
 
+  file=\`ls -ld \"\$file\" | ${SED} -n 's/.*-> //p'\`
65906
 
+  while test -n \"\$file\"; do
65907
 
+    destdir=\`\$ECHO \"X\$file\" | \$Xsed -e 's%/[^/]*\$%%'\`
65908
 
+
65909
 
+    # If there was a directory component, then change thisdir.
65910
 
+    if test \"x\$destdir\" != \"x\$file\"; then
65911
 
+      case \"\$destdir\" in
65912
 
+      [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;;
65913
 
+      *) thisdir=\"\$thisdir/\$destdir\" ;;
65914
 
       esac
65915
 
+    fi
65916
 
 
65917
 
-      if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
65918
 
-       $echo "$modename: warning: \`-dlopen' is ignored for archives" 1>&2
65919
 
-      fi
65920
 
+    file=\`\$ECHO \"X\$file\" | \$Xsed -e 's%^.*/%%'\`
65921
 
+    file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\`
65922
 
+  done
65923
 
+"
65924
 
+}
65925
 
+# end: func_emit_wrapper_part1
65926
 
 
65927
 
-      if test -n "$rpath"; then
65928
 
-       $echo "$modename: warning: \`-rpath' is ignored for archives" 1>&2
65929
 
-      fi
65930
 
+# func_emit_wrapper_part2 [arg=no]
65931
 
+#
65932
 
+# Emit the second part of a libtool wrapper script on stdout.
65933
 
+# For more information, see the description associated with
65934
 
+# func_emit_wrapper(), below.
65935
 
+func_emit_wrapper_part2 ()
65936
 
+{
65937
 
+       func_emit_wrapper_part2_arg1=no
65938
 
+       if test -n "$1" ; then
65939
 
+         func_emit_wrapper_part2_arg1=$1
65940
 
+       fi
65941
 
+
65942
 
+       $ECHO "\
65943
 
+
65944
 
+  # Usually 'no', except on cygwin/mingw when embedded into
65945
 
+  # the cwrapper.
65946
 
+  WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_part2_arg1
65947
 
+  if test \"\$WRAPPER_SCRIPT_BELONGS_IN_OBJDIR\" = \"yes\"; then
65948
 
+    # special case for '.'
65949
 
+    if test \"\$thisdir\" = \".\"; then
65950
 
+      thisdir=\`pwd\`
65951
 
+    fi
65952
 
+    # remove .libs from thisdir
65953
 
+    case \"\$thisdir\" in
65954
 
+    *[\\\\/]$objdir ) thisdir=\`\$ECHO \"X\$thisdir\" | \$Xsed -e 's%[\\\\/][^\\\\/]*$%%'\` ;;
65955
 
+    $objdir )   thisdir=. ;;
65956
 
+    esac
65957
 
+  fi
65958
 
 
65959
 
-      if test -n "$xrpath"; then
65960
 
-       $echo "$modename: warning: \`-R' is ignored for archives" 1>&2
65961
 
-      fi
65962
 
+  # Try to get the absolute directory name.
65963
 
+  absdir=\`cd \"\$thisdir\" && pwd\`
65964
 
+  test -n \"\$absdir\" && thisdir=\"\$absdir\"
65965
 
+"
65966
 
 
65967
 
-      if test -n "$vinfo"; then
65968
 
-       $echo "$modename: warning: \`-version-info/-version-number' is ignored for archives" 1>&2
65969
 
-      fi
65970
 
+       if test "$fast_install" = yes; then
65971
 
+         $ECHO "\
65972
 
+  program=lt-'$outputname'$exeext
65973
 
+  progdir=\"\$thisdir/$objdir\"
65974
 
 
65975
 
-      if test -n "$release"; then
65976
 
-       $echo "$modename: warning: \`-release' is ignored for archives" 1>&2
65977
 
-      fi
65978
 
+  if test ! -f \"\$progdir/\$program\" ||
65979
 
+     { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\
65980
 
+       test \"X\$file\" != \"X\$progdir/\$program\"; }; then
65981
 
 
65982
 
-      if test -n "$export_symbols" || test -n "$export_symbols_regex"; then
65983
 
-       $echo "$modename: warning: \`-export-symbols' is ignored for archives" 1>&2
65984
 
-      fi
65985
 
+    file=\"\$\$-\$program\"
65986
 
 
65987
 
-      # Now set the variables for building old libraries.
65988
 
-      build_libtool_libs=no
65989
 
-      oldlibs="$output"
65990
 
-      objs="$objs$old_deplibs"
65991
 
-      ;;
65992
 
+    if test ! -d \"\$progdir\"; then
65993
 
+      $MKDIR \"\$progdir\"
65994
 
+    else
65995
 
+      $RM \"\$progdir/\$file\"
65996
 
+    fi"
65997
 
 
65998
 
-    lib)
65999
 
-      # Make sure we only generate libraries of the form `libNAME.la'.
66000
 
-      case $outputname in
66001
 
-      lib*)
66002
 
-       name=`$echo "X$outputname" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
66003
 
-       eval shared_ext=\"$shrext_cmds\"
66004
 
-       eval libname=\"$libname_spec\"
66005
 
-       ;;
66006
 
-      *)
66007
 
-       if test "$module" = no; then
66008
 
-         $echo "$modename: libtool library \`$output' must begin with \`lib'" 1>&2
66009
 
-         $echo "$help" 1>&2
66010
 
-         exit $EXIT_FAILURE
66011
 
-       fi
66012
 
-       if test "$need_lib_prefix" != no; then
66013
 
-         # Add the "lib" prefix for modules if required
66014
 
-         name=`$echo "X$outputname" | $Xsed -e 's/\.la$//'`
66015
 
-         eval shared_ext=\"$shrext_cmds\"
66016
 
-         eval libname=\"$libname_spec\"
66017
 
-       else
66018
 
-         libname=`$echo "X$outputname" | $Xsed -e 's/\.la$//'`
66019
 
-       fi
66020
 
-       ;;
66021
 
-      esac
66022
 
+         $ECHO "\
66023
 
 
66024
 
-      if test -n "$objs"; then
66025
 
-       if test "$deplibs_check_method" != pass_all; then
66026
 
-         $echo "$modename: cannot build libtool library \`$output' from non-libtool objects on this host:$objs" 2>&1
66027
 
-         exit $EXIT_FAILURE
66028
 
+    # relink executable if necessary
66029
 
+    if test -n \"\$relink_command\"; then
66030
 
+      if relink_command_output=\`eval \$relink_command 2>&1\`; then :
66031
 
+      else
66032
 
+       $ECHO \"\$relink_command_output\" >&2
66033
 
+       $RM \"\$progdir/\$file\"
66034
 
+       exit 1
66035
 
+      fi
66036
 
+    fi
66037
 
+
66038
 
+    $MV \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null ||
66039
 
+    { $RM \"\$progdir/\$program\";
66040
 
+      $MV \"\$progdir/\$file\" \"\$progdir/\$program\"; }
66041
 
+    $RM \"\$progdir/\$file\"
66042
 
+  fi"
66043
 
        else
66044
 
-         $echo
66045
 
-         $echo "*** Warning: Linking the shared library $output against the non-libtool"
66046
 
-         $echo "*** objects $objs is not portable!"
66047
 
-         libobjs="$libobjs $objs"
66048
 
+         $ECHO "\
66049
 
+  program='$outputname'
66050
 
+  progdir=\"\$thisdir/$objdir\"
66051
 
+"
66052
 
        fi
66053
 
-      fi
66054
 
 
66055
 
-      if test "$dlself" != no; then
66056
 
-       $echo "$modename: warning: \`-dlopen self' is ignored for libtool libraries" 1>&2
66057
 
-      fi
66058
 
+       $ECHO "\
66059
 
 
66060
 
-      set dummy $rpath
66061
 
-      if test "$#" -gt 2; then
66062
 
-       $echo "$modename: warning: ignoring multiple \`-rpath's for a libtool library" 1>&2
66063
 
-      fi
66064
 
-      install_libdir="$2"
66065
 
+  if test -f \"\$progdir/\$program\"; then"
66066
 
 
66067
 
-      oldlibs=
66068
 
-      if test -z "$rpath"; then
66069
 
-       if test "$build_libtool_libs" = yes; then
66070
 
-         # Building a libtool convenience library.
66071
 
-         # Some compilers have problems with a `.al' extension so
66072
 
-         # convenience libraries should have the same extension an
66073
 
-         # archive normally would.
66074
 
-         oldlibs="$output_objdir/$libname.$libext $oldlibs"
66075
 
-         build_libtool_libs=convenience
66076
 
-         build_old_libs=yes
66077
 
-       fi
66078
 
+       # Export our shlibpath_var if we have one.
66079
 
+       if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
66080
 
+         $ECHO "\
66081
 
+    # Add our own library path to $shlibpath_var
66082
 
+    $shlibpath_var=\"$temp_rpath\$$shlibpath_var\"
66083
 
 
66084
 
-       if test -n "$vinfo"; then
66085
 
-         $echo "$modename: warning: \`-version-info/-version-number' is ignored for convenience libraries" 1>&2
66086
 
+    # Some systems cannot cope with colon-terminated $shlibpath_var
66087
 
+    # The second colon is a workaround for a bug in BeOS R4 sed
66088
 
+    $shlibpath_var=\`\$ECHO \"X\$$shlibpath_var\" | \$Xsed -e 's/::*\$//'\`
66089
 
+
66090
 
+    export $shlibpath_var
66091
 
+"
66092
 
        fi
66093
 
 
66094
 
-       if test -n "$release"; then
66095
 
-         $echo "$modename: warning: \`-release' is ignored for convenience libraries" 1>&2
66096
 
+       # fixup the dll searchpath if we need to.
66097
 
+       if test -n "$dllsearchpath"; then
66098
 
+         $ECHO "\
66099
 
+    # Add the dll search path components to the executable PATH
66100
 
+    PATH=$dllsearchpath:\$PATH
66101
 
+"
66102
 
        fi
66103
 
-      else
66104
 
 
66105
 
-       # Parse the version information argument.
66106
 
-       save_ifs="$IFS"; IFS=':'
66107
 
-       set dummy $vinfo 0 0 0
66108
 
-       IFS="$save_ifs"
66109
 
+       $ECHO "\
66110
 
+    if test \"\$libtool_execute_magic\" != \"$magic\"; then
66111
 
+      # Run the actual program with our arguments.
66112
 
+"
66113
 
+       case $host in
66114
 
+       # Backslashes separate directories on plain windows
66115
 
+       *-*-mingw | *-*-os2* | *-cegcc*)
66116
 
+         $ECHO "\
66117
 
+      exec \"\$progdir\\\\\$program\" \${1+\"\$@\"}
66118
 
+"
66119
 
+         ;;
66120
 
+
66121
 
+       *)
66122
 
+         $ECHO "\
66123
 
+      exec \"\$progdir/\$program\" \${1+\"\$@\"}
66124
 
+"
66125
 
+         ;;
66126
 
+       esac
66127
 
+       $ECHO "\
66128
 
+      \$ECHO \"\$0: cannot exec \$program \$*\" 1>&2
66129
 
+      exit 1
66130
 
+    fi
66131
 
+  else
66132
 
+    # The program doesn't exist.
66133
 
+    \$ECHO \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2
66134
 
+    \$ECHO \"This script is just a wrapper for \$program.\" 1>&2
66135
 
+    $ECHO \"See the $PACKAGE documentation for more information.\" 1>&2
66136
 
+    exit 1
66137
 
+  fi
66138
 
+fi\
66139
 
+"
66140
 
+}
66141
 
+# end: func_emit_wrapper_part2
66142
 
 
66143
 
-       if test -n "$8"; then
66144
 
-         $echo "$modename: too many parameters to \`-version-info'" 1>&2
66145
 
-         $echo "$help" 1>&2
66146
 
-         exit $EXIT_FAILURE
66147
 
+
66148
 
+# func_emit_wrapper [arg=no]
66149
 
+#
66150
 
+# Emit a libtool wrapper script on stdout.
66151
 
+# Don't directly open a file because we may want to
66152
 
+# incorporate the script contents within a cygwin/mingw
66153
 
+# wrapper executable.  Must ONLY be called from within
66154
 
+# func_mode_link because it depends on a number of variables
66155
 
+# set therein.
66156
 
+#
66157
 
+# ARG is the value that the WRAPPER_SCRIPT_BELONGS_IN_OBJDIR
66158
 
+# variable will take.  If 'yes', then the emitted script
66159
 
+# will assume that the directory in which it is stored is
66160
 
+# the $objdir directory.  This is a cygwin/mingw-specific
66161
 
+# behavior.
66162
 
+func_emit_wrapper ()
66163
 
+{
66164
 
+       func_emit_wrapper_arg1=no
66165
 
+       if test -n "$1" ; then
66166
 
+         func_emit_wrapper_arg1=$1
66167
 
        fi
66168
 
 
66169
 
-       # convert absolute version numbers to libtool ages
66170
 
-       # this retains compatibility with .la files and attempts
66171
 
-       # to make the code below a bit more comprehensible
66172
 
+       # split this up so that func_emit_cwrapperexe_src
66173
 
+       # can call each part independently.
66174
 
+       func_emit_wrapper_part1 "${func_emit_wrapper_arg1}"
66175
 
+       func_emit_wrapper_part2 "${func_emit_wrapper_arg1}"
66176
 
+}
66177
 
 
66178
 
-       case $vinfo_number in
66179
 
-       yes)
66180
 
-         number_major="$2"
66181
 
-         number_minor="$3"
66182
 
-         number_revision="$4"
66183
 
-         #
66184
 
-         # There are really only two kinds -- those that
66185
 
-         # use the current revision as the major version
66186
 
-         # and those that subtract age and use age as
66187
 
-         # a minor version.  But, then there is irix
66188
 
-         # which has an extra 1 added just for fun
66189
 
-         #
66190
 
-         case $version_type in
66191
 
-         darwin|linux|osf|windows|none)
66192
 
-           current=`expr $number_major + $number_minor`
66193
 
-           age="$number_minor"
66194
 
-           revision="$number_revision"
66195
 
-           ;;
66196
 
-         freebsd-aout|freebsd-elf|sunos)
66197
 
-           current="$number_major"
66198
 
-           revision="$number_minor"
66199
 
-           age="0"
66200
 
-           ;;
66201
 
-         irix|nonstopux)
66202
 
-           current=`expr $number_major + $number_minor`
66203
 
-           age="$number_minor"
66204
 
-           revision="$number_minor"
66205
 
-           lt_irix_increment=no
66206
 
-           ;;
66207
 
-         esac
66208
 
-         ;;
66209
 
-       no)
66210
 
-         current="$2"
66211
 
-         revision="$3"
66212
 
-         age="$4"
66213
 
-         ;;
66214
 
-       esac
66215
 
 
66216
 
-       # Check that each of the things are valid numbers.
66217
 
-       case $current in
66218
 
-       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]) ;;
66219
 
-       *)
66220
 
-         $echo "$modename: CURRENT \`$current' must be a nonnegative integer" 1>&2
66221
 
-         $echo "$modename: \`$vinfo' is not valid version information" 1>&2
66222
 
-         exit $EXIT_FAILURE
66223
 
-         ;;
66224
 
-       esac
66225
 
+# func_to_host_path arg
66226
 
+#
66227
 
+# Convert paths to host format when used with build tools.
66228
 
+# Intended for use with "native" mingw (where libtool itself
66229
 
+# is running under the msys shell), or in the following cross-
66230
 
+# build environments:
66231
 
+#    $build          $host
66232
 
+#    mingw (msys)    mingw  [e.g. native]
66233
 
+#    cygwin          mingw
66234
 
+#    *nix + wine     mingw
66235
 
+# where wine is equipped with the `winepath' executable.
66236
 
+# In the native mingw case, the (msys) shell automatically
66237
 
+# converts paths for any non-msys applications it launches,
66238
 
+# but that facility isn't available from inside the cwrapper.
66239
 
+# Similar accommodations are necessary for $host mingw and
66240
 
+# $build cygwin.  Calling this function does no harm for other
66241
 
+# $host/$build combinations not listed above.
66242
 
+#
66243
 
+# ARG is the path (on $build) that should be converted to
66244
 
+# the proper representation for $host. The result is stored
66245
 
+# in $func_to_host_path_result.
66246
 
+func_to_host_path ()
66247
 
+{
66248
 
+  func_to_host_path_result="$1"
66249
 
+  if test -n "$1" ; then
66250
 
+    case $host in
66251
 
+      *mingw* )
66252
 
+        lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g'
66253
 
+        case $build in
66254
 
+          *mingw* ) # actually, msys
66255
 
+            # awkward: cmd appends spaces to result
66256
 
+            lt_sed_strip_trailing_spaces="s/[ ]*\$//"
66257
 
+            func_to_host_path_tmp1=`( cmd //c echo "$1" |\
66258
 
+              $SED -e "$lt_sed_strip_trailing_spaces" ) 2>/dev/null || echo ""`
66259
 
+            func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\
66260
 
+              $SED -e "$lt_sed_naive_backslashify"`
66261
 
+            ;;
66262
 
+          *cygwin* )
66263
 
+            func_to_host_path_tmp1=`cygpath -w "$1"`
66264
 
+            func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\
66265
 
+              $SED -e "$lt_sed_naive_backslashify"`
66266
 
+            ;;
66267
 
+          * )
66268
 
+            # Unfortunately, winepath does not exit with a non-zero
66269
 
+            # error code, so we are forced to check the contents of
66270
 
+            # stdout. On the other hand, if the command is not
66271
 
+            # found, the shell will set an exit code of 127 and print
66272
 
+            # *an error message* to stdout. So we must check for both
66273
 
+            # error code of zero AND non-empty stdout, which explains
66274
 
+            # the odd construction:
66275
 
+            func_to_host_path_tmp1=`winepath -w "$1" 2>/dev/null`
66276
 
+            if test "$?" -eq 0 && test -n "${func_to_host_path_tmp1}"; then
66277
 
+              func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\
66278
 
+                $SED -e "$lt_sed_naive_backslashify"`
66279
 
+            else
66280
 
+              # Allow warning below.
66281
 
+              func_to_host_path_result=""
66282
 
+            fi
66283
 
+            ;;
66284
 
+        esac
66285
 
+        if test -z "$func_to_host_path_result" ; then
66286
 
+          func_error "Could not determine host path corresponding to"
66287
 
+          func_error "  '$1'"
66288
 
+          func_error "Continuing, but uninstalled executables may not work."
66289
 
+          # Fallback:
66290
 
+          func_to_host_path_result="$1"
66291
 
+        fi
66292
 
+        ;;
66293
 
+    esac
66294
 
+  fi
66295
 
+}
66296
 
+# end: func_to_host_path
66297
 
 
66298
 
-       case $revision in
66299
 
-       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]) ;;
66300
 
-       *)
66301
 
-         $echo "$modename: REVISION \`$revision' must be a nonnegative integer" 1>&2
66302
 
-         $echo "$modename: \`$vinfo' is not valid version information" 1>&2
66303
 
-         exit $EXIT_FAILURE
66304
 
-         ;;
66305
 
-       esac
66306
 
+# func_to_host_pathlist arg
66307
 
+#
66308
 
+# Convert pathlists to host format when used with build tools.
66309
 
+# See func_to_host_path(), above. This function supports the
66310
 
+# following $build/$host combinations (but does no harm for
66311
 
+# combinations not listed here):
66312
 
+#    $build          $host
66313
 
+#    mingw (msys)    mingw  [e.g. native]
66314
 
+#    cygwin          mingw
66315
 
+#    *nix + wine     mingw
66316
 
+#
66317
 
+# Path separators are also converted from $build format to
66318
 
+# $host format. If ARG begins or ends with a path separator
66319
 
+# character, it is preserved (but converted to $host format)
66320
 
+# on output.
66321
 
+#
66322
 
+# ARG is a pathlist (on $build) that should be converted to
66323
 
+# the proper representation on $host. The result is stored
66324
 
+# in $func_to_host_pathlist_result.
66325
 
+func_to_host_pathlist ()
66326
 
+{
66327
 
+  func_to_host_pathlist_result="$1"
66328
 
+  if test -n "$1" ; then
66329
 
+    case $host in
66330
 
+      *mingw* )
66331
 
+        lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g'
66332
 
+        # Remove leading and trailing path separator characters from
66333
 
+        # ARG. msys behavior is inconsistent here, cygpath turns them
66334
 
+        # into '.;' and ';.', and winepath ignores them completely.
66335
 
+        func_to_host_pathlist_tmp2="$1"
66336
 
+        # Once set for this call, this variable should not be
66337
 
+        # reassigned. It is used in tha fallback case.
66338
 
+        func_to_host_pathlist_tmp1=`echo "$func_to_host_pathlist_tmp2" |\
66339
 
+          $SED -e 's|^:*||' -e 's|:*$||'`
66340
 
+        case $build in
66341
 
+          *mingw* ) # Actually, msys.
66342
 
+            # Awkward: cmd appends spaces to result.
66343
 
+            lt_sed_strip_trailing_spaces="s/[ ]*\$//"
66344
 
+            func_to_host_pathlist_tmp2=`( cmd //c echo "$func_to_host_pathlist_tmp1" |\
66345
 
+              $SED -e "$lt_sed_strip_trailing_spaces" ) 2>/dev/null || echo ""`
66346
 
+            func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp2" |\
66347
 
+              $SED -e "$lt_sed_naive_backslashify"`
66348
 
+            ;;
66349
 
+          *cygwin* )
66350
 
+            func_to_host_pathlist_tmp2=`cygpath -w -p "$func_to_host_pathlist_tmp1"`
66351
 
+            func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp2" |\
66352
 
+              $SED -e "$lt_sed_naive_backslashify"`
66353
 
+            ;;
66354
 
+          * )
66355
 
+            # unfortunately, winepath doesn't convert pathlists
66356
 
+            func_to_host_pathlist_result=""
66357
 
+            func_to_host_pathlist_oldIFS=$IFS
66358
 
+            IFS=:
66359
 
+            for func_to_host_pathlist_f in $func_to_host_pathlist_tmp1 ; do
66360
 
+              IFS=$func_to_host_pathlist_oldIFS
66361
 
+              if test -n "$func_to_host_pathlist_f" ; then
66362
 
+                func_to_host_path "$func_to_host_pathlist_f"
66363
 
+                if test -n "$func_to_host_path_result" ; then
66364
 
+                  if test -z "$func_to_host_pathlist_result" ; then
66365
 
+                    func_to_host_pathlist_result="$func_to_host_path_result"
66366
 
+                  else
66367
 
+                    func_to_host_pathlist_result="$func_to_host_pathlist_result;$func_to_host_path_result"
66368
 
+                  fi
66369
 
+                fi
66370
 
+              fi
66371
 
+              IFS=:
66372
 
+            done
66373
 
+            IFS=$func_to_host_pathlist_oldIFS
66374
 
+            ;;
66375
 
+        esac
66376
 
+        if test -z "$func_to_host_pathlist_result" ; then
66377
 
+          func_error "Could not determine the host path(s) corresponding to"
66378
 
+          func_error "  '$1'"
66379
 
+          func_error "Continuing, but uninstalled executables may not work."
66380
 
+          # Fallback. This may break if $1 contains DOS-style drive
66381
 
+          # specifications. The fix is not to complicate the expression
66382
 
+          # below, but for the user to provide a working wine installation
66383
 
+          # with winepath so that path translation in the cross-to-mingw
66384
 
+          # case works properly.
66385
 
+          lt_replace_pathsep_nix_to_dos="s|:|;|g"
66386
 
+          func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp1" |\
66387
 
+            $SED -e "$lt_replace_pathsep_nix_to_dos"`
66388
 
+        fi
66389
 
+        # Now, add the leading and trailing path separators back
66390
 
+        case "$1" in
66391
 
+          :* ) func_to_host_pathlist_result=";$func_to_host_pathlist_result"
66392
 
+            ;;
66393
 
+        esac
66394
 
+        case "$1" in
66395
 
+          *: ) func_to_host_pathlist_result="$func_to_host_pathlist_result;"
66396
 
+            ;;
66397
 
+        esac
66398
 
+        ;;
66399
 
+    esac
66400
 
+  fi
66401
 
+}
66402
 
+# end: func_to_host_pathlist
66403
 
 
66404
 
-       case $age in
66405
 
-       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]) ;;
66406
 
-       *)
66407
 
-         $echo "$modename: AGE \`$age' must be a nonnegative integer" 1>&2
66408
 
-         $echo "$modename: \`$vinfo' is not valid version information" 1>&2
66409
 
-         exit $EXIT_FAILURE
66410
 
-         ;;
66411
 
-       esac
66412
 
+# func_emit_cwrapperexe_src
66413
 
+# emit the source code for a wrapper executable on stdout
66414
 
+# Must ONLY be called from within func_mode_link because
66415
 
+# it depends on a number of variable set therein.
66416
 
+func_emit_cwrapperexe_src ()
66417
 
+{
66418
 
+       cat <<EOF
66419
 
 
66420
 
-       if test "$age" -gt "$current"; then
66421
 
-         $echo "$modename: AGE \`$age' is greater than the current interface number \`$current'" 1>&2
66422
 
-         $echo "$modename: \`$vinfo' is not valid version information" 1>&2
66423
 
-         exit $EXIT_FAILURE
66424
 
-       fi
66425
 
+/* $cwrappersource - temporary wrapper executable for $objdir/$outputname
66426
 
+   Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION
66427
 
 
66428
 
-       # Calculate the version variables.
66429
 
-       major=
66430
 
-       versuffix=
66431
 
-       verstring=
66432
 
-       case $version_type in
66433
 
-       none) ;;
66434
 
+   The $output program cannot be directly executed until all the libtool
66435
 
+   libraries that it depends on are installed.
66436
 
 
66437
 
-       darwin)
66438
 
-         # Like Linux, but with the current version available in
66439
 
-         # verstring for coding it into the library header
66440
 
-         major=.`expr $current - $age`
66441
 
-         versuffix="$major.$age.$revision"
66442
 
-         # Darwin ld doesn't like 0 for these options...
66443
 
-         minor_current=`expr $current + 1`
66444
 
-         xlcverstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision"
66445
 
-         verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"
66446
 
-         ;;
66447
 
+   This wrapper executable should never be moved out of the build directory.
66448
 
+   If it is, it will not operate correctly.
66449
 
 
66450
 
-       freebsd-aout)
66451
 
-         major=".$current"
66452
 
-         versuffix=".$current.$revision";
66453
 
-         ;;
66454
 
+   Currently, it simply execs the wrapper *script* "$SHELL $output",
66455
 
+   but could eventually absorb all of the scripts functionality and
66456
 
+   exec $objdir/$outputname directly.
66457
 
+*/
66458
 
+EOF
66459
 
+           cat <<"EOF"
66460
 
+#include <stdio.h>
66461
 
+#include <stdlib.h>
66462
 
+#ifdef _MSC_VER
66463
 
+# include <direct.h>
66464
 
+# include <process.h>
66465
 
+# include <io.h>
66466
 
+# define setmode _setmode
66467
 
+#else
66468
 
+# include <unistd.h>
66469
 
+# include <stdint.h>
66470
 
+# ifdef __CYGWIN__
66471
 
+#  include <io.h>
66472
 
+#  define HAVE_SETENV
66473
 
+#  ifdef __STRICT_ANSI__
66474
 
+char *realpath (const char *, char *);
66475
 
+int putenv (char *);
66476
 
+int setenv (const char *, const char *, int);
66477
 
+#  endif
66478
 
+# endif
66479
 
+#endif
66480
 
+#include <malloc.h>
66481
 
+#include <stdarg.h>
66482
 
+#include <assert.h>
66483
 
+#include <string.h>
66484
 
+#include <ctype.h>
66485
 
+#include <errno.h>
66486
 
+#include <fcntl.h>
66487
 
+#include <sys/stat.h>
66488
 
 
66489
 
-       freebsd-elf)
66490
 
-         major=".$current"
66491
 
-         versuffix=".$current";
66492
 
-         ;;
66493
 
+#if defined(PATH_MAX)
66494
 
+# define LT_PATHMAX PATH_MAX
66495
 
+#elif defined(MAXPATHLEN)
66496
 
+# define LT_PATHMAX MAXPATHLEN
66497
 
+#else
66498
 
+# define LT_PATHMAX 1024
66499
 
+#endif
66500
 
 
66501
 
-       irix | nonstopux)
66502
 
-         if test "X$lt_irix_increment" = "Xno"; then
66503
 
-           major=`expr $current - $age`
66504
 
-         else
66505
 
-           major=`expr $current - $age + 1`
66506
 
-         fi
66507
 
-         case $version_type in
66508
 
-           nonstopux) verstring_prefix=nonstopux ;;
66509
 
-           *)         verstring_prefix=sgi ;;
66510
 
-         esac
66511
 
-         verstring="$verstring_prefix$major.$revision"
66512
 
+#ifndef S_IXOTH
66513
 
+# define S_IXOTH 0
66514
 
+#endif
66515
 
+#ifndef S_IXGRP
66516
 
+# define S_IXGRP 0
66517
 
+#endif
66518
 
 
66519
 
-         # Add in all the interfaces that we are compatible with.
66520
 
-         loop=$revision
66521
 
-         while test "$loop" -ne 0; do
66522
 
-           iface=`expr $revision - $loop`
66523
 
-           loop=`expr $loop - 1`
66524
 
-           verstring="$verstring_prefix$major.$iface:$verstring"
66525
 
-         done
66526
 
+#ifdef _MSC_VER
66527
 
+# define S_IXUSR _S_IEXEC
66528
 
+# define stat _stat
66529
 
+# ifndef _INTPTR_T_DEFINED
66530
 
+#  define intptr_t int
66531
 
+# endif
66532
 
+#endif
66533
 
 
66534
 
-         # Before this point, $major must not contain `.'.
66535
 
-         major=.$major
66536
 
-         versuffix="$major.$revision"
66537
 
-         ;;
66538
 
+#ifndef DIR_SEPARATOR
66539
 
+# define DIR_SEPARATOR '/'
66540
 
+# define PATH_SEPARATOR ':'
66541
 
+#endif
66542
 
 
66543
 
-       linux)
66544
 
-         major=.`expr $current - $age`
66545
 
-         versuffix="$major.$age.$revision"
66546
 
-         ;;
66547
 
+#if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \
66548
 
+  defined (__OS2__)
66549
 
+# define HAVE_DOS_BASED_FILE_SYSTEM
66550
 
+# define FOPEN_WB "wb"
66551
 
+# ifndef DIR_SEPARATOR_2
66552
 
+#  define DIR_SEPARATOR_2 '\\'
66553
 
+# endif
66554
 
+# ifndef PATH_SEPARATOR_2
66555
 
+#  define PATH_SEPARATOR_2 ';'
66556
 
+# endif
66557
 
+#endif
66558
 
 
66559
 
-       osf)
66560
 
-         major=.`expr $current - $age`
66561
 
-         versuffix=".$current.$age.$revision"
66562
 
-         verstring="$current.$age.$revision"
66563
 
+#ifndef DIR_SEPARATOR_2
66564
 
+# define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR)
66565
 
+#else /* DIR_SEPARATOR_2 */
66566
 
+# define IS_DIR_SEPARATOR(ch) \
66567
 
+       (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2))
66568
 
+#endif /* DIR_SEPARATOR_2 */
66569
 
 
66570
 
-         # Add in all the interfaces that we are compatible with.
66571
 
-         loop=$age
66572
 
-         while test "$loop" -ne 0; do
66573
 
-           iface=`expr $current - $loop`
66574
 
-           loop=`expr $loop - 1`
66575
 
-           verstring="$verstring:${iface}.0"
66576
 
-         done
66577
 
+#ifndef PATH_SEPARATOR_2
66578
 
+# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR)
66579
 
+#else /* PATH_SEPARATOR_2 */
66580
 
+# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2)
66581
 
+#endif /* PATH_SEPARATOR_2 */
66582
 
 
66583
 
-         # Make executables depend on our current version.
66584
 
-         verstring="$verstring:${current}.0"
66585
 
-         ;;
66586
 
+#ifdef __CYGWIN__
66587
 
+# define FOPEN_WB "wb"
66588
 
+#endif
66589
 
 
66590
 
-       sunos)
66591
 
-         major=".$current"
66592
 
-         versuffix=".$current.$revision"
66593
 
-         ;;
66594
 
+#ifndef FOPEN_WB
66595
 
+# define FOPEN_WB "w"
66596
 
+#endif
66597
 
+#ifndef _O_BINARY
66598
 
+# define _O_BINARY 0
66599
 
+#endif
66600
 
 
66601
 
-       windows)
66602
 
-         # Use '-' rather than '.', since we only want one
66603
 
-         # extension on DOS 8.3 filesystems.
66604
 
-         major=`expr $current - $age`
66605
 
-         versuffix="-$major"
66606
 
-         ;;
66607
 
+#define XMALLOC(type, num)      ((type *) xmalloc ((num) * sizeof(type)))
66608
 
+#define XFREE(stale) do { \
66609
 
+  if (stale) { free ((void *) stale); stale = 0; } \
66610
 
+} while (0)
66611
 
 
66612
 
-       *)
66613
 
-         $echo "$modename: unknown library version type \`$version_type'" 1>&2
66614
 
-         $echo "Fatal configuration error.  See the $PACKAGE docs for more information." 1>&2
66615
 
-         exit $EXIT_FAILURE
66616
 
-         ;;
66617
 
-       esac
66618
 
+#undef LTWRAPPER_DEBUGPRINTF
66619
 
+#if defined DEBUGWRAPPER
66620
 
+# define LTWRAPPER_DEBUGPRINTF(args) ltwrapper_debugprintf args
66621
 
+static void
66622
 
+ltwrapper_debugprintf (const char *fmt, ...)
66623
 
+{
66624
 
+    va_list args;
66625
 
+    va_start (args, fmt);
66626
 
+    (void) vfprintf (stderr, fmt, args);
66627
 
+    va_end (args);
66628
 
+}
66629
 
+#else
66630
 
+# define LTWRAPPER_DEBUGPRINTF(args)
66631
 
+#endif
66632
 
 
66633
 
-       # Clear the version info if we defaulted, and they specified a release.
66634
 
-       if test -z "$vinfo" && test -n "$release"; then
66635
 
-         major=
66636
 
-         case $version_type in
66637
 
-         darwin)
66638
 
-           # we can't check for "0.0" in archive_cmds due to quoting
66639
 
-           # problems, so we reset it completely
66640
 
-           verstring=
66641
 
-           ;;
66642
 
-         *)
66643
 
-           verstring="0.0"
66644
 
-           ;;
66645
 
-         esac
66646
 
-         if test "$need_version" = no; then
66647
 
-           versuffix=
66648
 
-         else
66649
 
-           versuffix=".0.0"
66650
 
-         fi
66651
 
-       fi
66652
 
+const char *program_name = NULL;
66653
 
 
66654
 
-       # Remove version info from name if versioning should be avoided
66655
 
-       if test "$avoid_version" = yes && test "$need_version" = no; then
66656
 
-         major=
66657
 
-         versuffix=
66658
 
-         verstring=""
66659
 
-       fi
66660
 
+void *xmalloc (size_t num);
66661
 
+char *xstrdup (const char *string);
66662
 
+const char *base_name (const char *name);
66663
 
+char *find_executable (const char *wrapper);
66664
 
+char *chase_symlinks (const char *pathspec);
66665
 
+int make_executable (const char *path);
66666
 
+int check_executable (const char *path);
66667
 
+char *strendzap (char *str, const char *pat);
66668
 
+void lt_fatal (const char *message, ...);
66669
 
+void lt_setenv (const char *name, const char *value);
66670
 
+char *lt_extend_str (const char *orig_value, const char *add, int to_end);
66671
 
+void lt_opt_process_env_set (const char *arg);
66672
 
+void lt_opt_process_env_prepend (const char *arg);
66673
 
+void lt_opt_process_env_append (const char *arg);
66674
 
+int lt_split_name_value (const char *arg, char** name, char** value);
66675
 
+void lt_update_exe_path (const char *name, const char *value);
66676
 
+void lt_update_lib_path (const char *name, const char *value);
66677
 
 
66678
 
-       # Check to see if the archive will have undefined symbols.
66679
 
-       if test "$allow_undefined" = yes; then
66680
 
-         if test "$allow_undefined_flag" = unsupported; then
66681
 
-           $echo "$modename: warning: undefined symbols not allowed in $host shared libraries" 1>&2
66682
 
-           build_libtool_libs=no
66683
 
-           build_old_libs=yes
66684
 
-         fi
66685
 
-       else
66686
 
-         # Don't allow undefined symbols.
66687
 
-         allow_undefined_flag="$no_undefined_flag"
66688
 
-       fi
66689
 
-      fi
66690
 
+static const char *script_text_part1 =
66691
 
+EOF
66692
 
 
66693
 
-      if test "$mode" != relink; then
66694
 
-       # Remove our outputs, but don't remove object files since they
66695
 
-       # may have been created when compiling PIC objects.
66696
 
-       removelist=
66697
 
-       tempremovelist=`$echo "$output_objdir/*"`
66698
 
-       for p in $tempremovelist; do
66699
 
-         case $p in
66700
 
-           *.$objext)
66701
 
-              ;;
66702
 
-           $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*)
66703
 
-              if test "X$precious_files_regex" != "X"; then
66704
 
-                if echo $p | $EGREP -e "$precious_files_regex" >/dev/null 2>&1
66705
 
-                then
66706
 
-                  continue
66707
 
-                fi
66708
 
-              fi
66709
 
-              removelist="$removelist $p"
66710
 
-              ;;
66711
 
-           *) ;;
66712
 
-         esac
66713
 
-       done
66714
 
-       if test -n "$removelist"; then
66715
 
-         $show "${rm}r $removelist"
66716
 
-         $run ${rm}r $removelist
66717
 
-       fi
66718
 
-      fi
66719
 
+           func_emit_wrapper_part1 yes |
66720
 
+               $SED -e 's/\([\\"]\)/\\\1/g' \
66721
 
+                    -e 's/^/  "/' -e 's/$/\\n"/'
66722
 
+           echo ";"
66723
 
+           cat <<EOF
66724
 
 
66725
 
-      # Now set the variables for building old libraries.
66726
 
-      if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then
66727
 
-       oldlibs="$oldlibs $output_objdir/$libname.$libext"
66728
 
+static const char *script_text_part2 =
66729
 
+EOF
66730
 
+           func_emit_wrapper_part2 yes |
66731
 
+               $SED -e 's/\([\\"]\)/\\\1/g' \
66732
 
+                    -e 's/^/  "/' -e 's/$/\\n"/'
66733
 
+           echo ";"
66734
 
+
66735
 
+           cat <<EOF
66736
 
+const char * MAGIC_EXE = "$magic_exe";
66737
 
+const char * LIB_PATH_VARNAME = "$shlibpath_var";
66738
 
+EOF
66739
 
 
66740
 
-       # Transform .lo files to .o files.
66741
 
-       oldobjs="$objs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e "$lo2o" | $NL2SP`
66742
 
-      fi
66743
 
+           if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
66744
 
+              func_to_host_pathlist "$temp_rpath"
66745
 
+             cat <<EOF
66746
 
+const char * LIB_PATH_VALUE   = "$func_to_host_pathlist_result";
66747
 
+EOF
66748
 
+           else
66749
 
+             cat <<"EOF"
66750
 
+const char * LIB_PATH_VALUE   = "";
66751
 
+EOF
66752
 
+           fi
66753
 
 
66754
 
-      # Eliminate all temporary directories.
66755
 
-      #for path in $notinst_path; do
66756
 
-      #        lib_search_path=`$echo "$lib_search_path " | ${SED} -e "s% $path % %g"`
66757
 
-      #        deplibs=`$echo "$deplibs " | ${SED} -e "s% -L$path % %g"`
66758
 
-      #        dependency_libs=`$echo "$dependency_libs " | ${SED} -e "s% -L$path % %g"`
66759
 
-      #done
66760
 
+           if test -n "$dllsearchpath"; then
66761
 
+              func_to_host_pathlist "$dllsearchpath:"
66762
 
+             cat <<EOF
66763
 
+const char * EXE_PATH_VARNAME = "PATH";
66764
 
+const char * EXE_PATH_VALUE   = "$func_to_host_pathlist_result";
66765
 
+EOF
66766
 
+           else
66767
 
+             cat <<"EOF"
66768
 
+const char * EXE_PATH_VARNAME = "";
66769
 
+const char * EXE_PATH_VALUE   = "";
66770
 
+EOF
66771
 
+           fi
66772
 
 
66773
 
-      if test -n "$xrpath"; then
66774
 
-       # If the user specified any rpath flags, then add them.
66775
 
-       temp_xrpath=
66776
 
-       for libdir in $xrpath; do
66777
 
-         temp_xrpath="$temp_xrpath -R$libdir"
66778
 
-         case "$finalize_rpath " in
66779
 
-         *" $libdir "*) ;;
66780
 
-         *) finalize_rpath="$finalize_rpath $libdir" ;;
66781
 
-         esac
66782
 
-       done
66783
 
-       if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then
66784
 
-         dependency_libs="$temp_xrpath $dependency_libs"
66785
 
-       fi
66786
 
-      fi
66787
 
+           if test "$fast_install" = yes; then
66788
 
+             cat <<EOF
66789
 
+const char * TARGET_PROGRAM_NAME = "lt-$outputname"; /* hopefully, no .exe */
66790
 
+EOF
66791
 
+           else
66792
 
+             cat <<EOF
66793
 
+const char * TARGET_PROGRAM_NAME = "$outputname"; /* hopefully, no .exe */
66794
 
+EOF
66795
 
+           fi
66796
 
 
66797
 
-      # Make sure dlfiles contains only unique files that won't be dlpreopened
66798
 
-      old_dlfiles="$dlfiles"
66799
 
-      dlfiles=
66800
 
-      for lib in $old_dlfiles; do
66801
 
-       case " $dlprefiles $dlfiles " in
66802
 
-       *" $lib "*) ;;
66803
 
-       *) dlfiles="$dlfiles $lib" ;;
66804
 
-       esac
66805
 
-      done
66806
 
 
66807
 
-      # Make sure dlprefiles contains only unique files
66808
 
-      old_dlprefiles="$dlprefiles"
66809
 
-      dlprefiles=
66810
 
-      for lib in $old_dlprefiles; do
66811
 
-       case "$dlprefiles " in
66812
 
-       *" $lib "*) ;;
66813
 
-       *) dlprefiles="$dlprefiles $lib" ;;
66814
 
-       esac
66815
 
-      done
66816
 
+           cat <<"EOF"
66817
 
 
66818
 
-      if test "$build_libtool_libs" = yes; then
66819
 
-       if test -n "$rpath"; then
66820
 
-         case $host in
66821
 
-         *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos*)
66822
 
-           # these systems don't actually have a c library (as such)!
66823
 
-           ;;
66824
 
-         *-*-rhapsody* | *-*-darwin1.[012])
66825
 
-           # Rhapsody C library is in the System framework
66826
 
-           deplibs="$deplibs -framework System"
66827
 
-           ;;
66828
 
-         *-*-netbsd*)
66829
 
-           # Don't link with libc until the a.out ld.so is fixed.
66830
 
-           ;;
66831
 
-         *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
66832
 
-           # Do not include libc due to us having libc/libc_r.
66833
 
-           ;;
66834
 
-         *-*-sco3.2v5* | *-*-sco5v6*)
66835
 
-           # Causes problems with __ctype
66836
 
-           ;;
66837
 
-         *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
66838
 
-           # Compiler inserts libc in the correct place for threads to work
66839
 
-           ;;
66840
 
-         *)
66841
 
-           # Add libc to deplibs on all other systems if necessary.
66842
 
-           if test "$build_libtool_need_lc" = "yes"; then
66843
 
-             deplibs="$deplibs -lc"
66844
 
-           fi
66845
 
+#define LTWRAPPER_OPTION_PREFIX         "--lt-"
66846
 
+#define LTWRAPPER_OPTION_PREFIX_LENGTH  5
66847
 
+
66848
 
+static const size_t opt_prefix_len         = LTWRAPPER_OPTION_PREFIX_LENGTH;
66849
 
+static const char *ltwrapper_option_prefix = LTWRAPPER_OPTION_PREFIX;
66850
 
+
66851
 
+static const char *dumpscript_opt       = LTWRAPPER_OPTION_PREFIX "dump-script";
66852
 
+
66853
 
+static const size_t env_set_opt_len     = LTWRAPPER_OPTION_PREFIX_LENGTH + 7;
66854
 
+static const char *env_set_opt          = LTWRAPPER_OPTION_PREFIX "env-set";
66855
 
+  /* argument is putenv-style "foo=bar", value of foo is set to bar */
66856
 
+
66857
 
+static const size_t env_prepend_opt_len = LTWRAPPER_OPTION_PREFIX_LENGTH + 11;
66858
 
+static const char *env_prepend_opt      = LTWRAPPER_OPTION_PREFIX "env-prepend";
66859
 
+  /* argument is putenv-style "foo=bar", new value of foo is bar${foo} */
66860
 
+
66861
 
+static const size_t env_append_opt_len  = LTWRAPPER_OPTION_PREFIX_LENGTH + 10;
66862
 
+static const char *env_append_opt       = LTWRAPPER_OPTION_PREFIX "env-append";
66863
 
+  /* argument is putenv-style "foo=bar", new value of foo is ${foo}bar */
66864
 
+
66865
 
+int
66866
 
+main (int argc, char *argv[])
66867
 
+{
66868
 
+  char **newargz;
66869
 
+  int  newargc;
66870
 
+  char *tmp_pathspec;
66871
 
+  char *actual_cwrapper_path;
66872
 
+  char *actual_cwrapper_name;
66873
 
+  char *target_name;
66874
 
+  char *lt_argv_zero;
66875
 
+  intptr_t rval = 127;
66876
 
+
66877
 
+  int i;
66878
 
+
66879
 
+  program_name = (char *) xstrdup (base_name (argv[0]));
66880
 
+  LTWRAPPER_DEBUGPRINTF (("(main) argv[0]      : %s\n", argv[0]));
66881
 
+  LTWRAPPER_DEBUGPRINTF (("(main) program_name : %s\n", program_name));
66882
 
+
66883
 
+  /* very simple arg parsing; don't want to rely on getopt */
66884
 
+  for (i = 1; i < argc; i++)
66885
 
+    {
66886
 
+      if (strcmp (argv[i], dumpscript_opt) == 0)
66887
 
+       {
66888
 
+EOF
66889
 
+           case "$host" in
66890
 
+             *mingw* | *cygwin* )
66891
 
+               # make stdout use "unix" line endings
66892
 
+               echo "          setmode(1,_O_BINARY);"
66893
 
+               ;;
66894
 
+             esac
66895
 
+
66896
 
+           cat <<"EOF"
66897
 
+         printf ("%s", script_text_part1);
66898
 
+         printf ("%s", script_text_part2);
66899
 
+         return 0;
66900
 
+       }
66901
 
+    }
66902
 
+
66903
 
+  newargz = XMALLOC (char *, argc + 1);
66904
 
+  tmp_pathspec = find_executable (argv[0]);
66905
 
+  if (tmp_pathspec == NULL)
66906
 
+    lt_fatal ("Couldn't find %s", argv[0]);
66907
 
+  LTWRAPPER_DEBUGPRINTF (("(main) found exe (before symlink chase) at : %s\n",
66908
 
+                         tmp_pathspec));
66909
 
+
66910
 
+  actual_cwrapper_path = chase_symlinks (tmp_pathspec);
66911
 
+  LTWRAPPER_DEBUGPRINTF (("(main) found exe (after symlink chase) at : %s\n",
66912
 
+                         actual_cwrapper_path));
66913
 
+  XFREE (tmp_pathspec);
66914
 
+
66915
 
+  actual_cwrapper_name = xstrdup( base_name (actual_cwrapper_path));
66916
 
+  strendzap (actual_cwrapper_path, actual_cwrapper_name);
66917
 
+
66918
 
+  /* wrapper name transforms */
66919
 
+  strendzap (actual_cwrapper_name, ".exe");
66920
 
+  tmp_pathspec = lt_extend_str (actual_cwrapper_name, ".exe", 1);
66921
 
+  XFREE (actual_cwrapper_name);
66922
 
+  actual_cwrapper_name = tmp_pathspec;
66923
 
+  tmp_pathspec = 0;
66924
 
+
66925
 
+  /* target_name transforms -- use actual target program name; might have lt- prefix */
66926
 
+  target_name = xstrdup (base_name (TARGET_PROGRAM_NAME));
66927
 
+  strendzap (target_name, ".exe");
66928
 
+  tmp_pathspec = lt_extend_str (target_name, ".exe", 1);
66929
 
+  XFREE (target_name);
66930
 
+  target_name = tmp_pathspec;
66931
 
+  tmp_pathspec = 0;
66932
 
+
66933
 
+  LTWRAPPER_DEBUGPRINTF (("(main) libtool target name: %s\n",
66934
 
+                         target_name));
66935
 
+EOF
66936
 
+
66937
 
+           cat <<EOF
66938
 
+  newargz[0] =
66939
 
+    XMALLOC (char, (strlen (actual_cwrapper_path) +
66940
 
+                   strlen ("$objdir") + 1 + strlen (actual_cwrapper_name) + 1));
66941
 
+  strcpy (newargz[0], actual_cwrapper_path);
66942
 
+  strcat (newargz[0], "$objdir");
66943
 
+  strcat (newargz[0], "/");
66944
 
+EOF
66945
 
+
66946
 
+           cat <<"EOF"
66947
 
+  /* stop here, and copy so we don't have to do this twice */
66948
 
+  tmp_pathspec = xstrdup (newargz[0]);
66949
 
+
66950
 
+  /* do NOT want the lt- prefix here, so use actual_cwrapper_name */
66951
 
+  strcat (newargz[0], actual_cwrapper_name);
66952
 
+
66953
 
+  /* DO want the lt- prefix here if it exists, so use target_name */
66954
 
+  lt_argv_zero = lt_extend_str (tmp_pathspec, target_name, 1);
66955
 
+  XFREE (tmp_pathspec);
66956
 
+  tmp_pathspec = NULL;
66957
 
+EOF
66958
 
+
66959
 
+           case $host_os in
66960
 
+             mingw*)
66961
 
+           cat <<"EOF"
66962
 
+  {
66963
 
+    char* p;
66964
 
+    while ((p = strchr (newargz[0], '\\')) != NULL)
66965
 
+      {
66966
 
+       *p = '/';
66967
 
+      }
66968
 
+    while ((p = strchr (lt_argv_zero, '\\')) != NULL)
66969
 
+      {
66970
 
+       *p = '/';
66971
 
+      }
66972
 
+  }
66973
 
+EOF
66974
 
            ;;
66975
 
-         esac
66976
 
-       fi
66977
 
+           esac
66978
 
+
66979
 
+           cat <<"EOF"
66980
 
+  XFREE (target_name);
66981
 
+  XFREE (actual_cwrapper_path);
66982
 
+  XFREE (actual_cwrapper_name);
66983
 
+
66984
 
+  lt_setenv ("BIN_SH", "xpg4"); /* for Tru64 */
66985
 
+  lt_setenv ("DUALCASE", "1");  /* for MSK sh */
66986
 
+  lt_update_lib_path (LIB_PATH_VARNAME, LIB_PATH_VALUE);
66987
 
+  lt_update_exe_path (EXE_PATH_VARNAME, EXE_PATH_VALUE);
66988
 
+
66989
 
+  newargc=0;
66990
 
+  for (i = 1; i < argc; i++)
66991
 
+    {
66992
 
+      if (strncmp (argv[i], env_set_opt, env_set_opt_len) == 0)
66993
 
+        {
66994
 
+          if (argv[i][env_set_opt_len] == '=')
66995
 
+            {
66996
 
+              const char *p = argv[i] + env_set_opt_len + 1;
66997
 
+              lt_opt_process_env_set (p);
66998
 
+            }
66999
 
+          else if (argv[i][env_set_opt_len] == '\0' && i + 1 < argc)
67000
 
+            {
67001
 
+              lt_opt_process_env_set (argv[++i]); /* don't copy */
67002
 
+            }
67003
 
+          else
67004
 
+            lt_fatal ("%s missing required argument", env_set_opt);
67005
 
+          continue;
67006
 
+        }
67007
 
+      if (strncmp (argv[i], env_prepend_opt, env_prepend_opt_len) == 0)
67008
 
+        {
67009
 
+          if (argv[i][env_prepend_opt_len] == '=')
67010
 
+            {
67011
 
+              const char *p = argv[i] + env_prepend_opt_len + 1;
67012
 
+              lt_opt_process_env_prepend (p);
67013
 
+            }
67014
 
+          else if (argv[i][env_prepend_opt_len] == '\0' && i + 1 < argc)
67015
 
+            {
67016
 
+              lt_opt_process_env_prepend (argv[++i]); /* don't copy */
67017
 
+            }
67018
 
+          else
67019
 
+            lt_fatal ("%s missing required argument", env_prepend_opt);
67020
 
+          continue;
67021
 
+        }
67022
 
+      if (strncmp (argv[i], env_append_opt, env_append_opt_len) == 0)
67023
 
+        {
67024
 
+          if (argv[i][env_append_opt_len] == '=')
67025
 
+            {
67026
 
+              const char *p = argv[i] + env_append_opt_len + 1;
67027
 
+              lt_opt_process_env_append (p);
67028
 
+            }
67029
 
+          else if (argv[i][env_append_opt_len] == '\0' && i + 1 < argc)
67030
 
+            {
67031
 
+              lt_opt_process_env_append (argv[++i]); /* don't copy */
67032
 
+            }
67033
 
+          else
67034
 
+            lt_fatal ("%s missing required argument", env_append_opt);
67035
 
+          continue;
67036
 
+        }
67037
 
+      if (strncmp (argv[i], ltwrapper_option_prefix, opt_prefix_len) == 0)
67038
 
+        {
67039
 
+          /* however, if there is an option in the LTWRAPPER_OPTION_PREFIX
67040
 
+             namespace, but it is not one of the ones we know about and
67041
 
+             have already dealt with, above (inluding dump-script), then
67042
 
+             report an error. Otherwise, targets might begin to believe
67043
 
+             they are allowed to use options in the LTWRAPPER_OPTION_PREFIX
67044
 
+             namespace. The first time any user complains about this, we'll
67045
 
+             need to make LTWRAPPER_OPTION_PREFIX a configure-time option
67046
 
+             or a configure.ac-settable value.
67047
 
+           */
67048
 
+          lt_fatal ("Unrecognized option in %s namespace: '%s'",
67049
 
+                    ltwrapper_option_prefix, argv[i]);
67050
 
+        }
67051
 
+      /* otherwise ... */
67052
 
+      newargz[++newargc] = xstrdup (argv[i]);
67053
 
+    }
67054
 
+  newargz[++newargc] = NULL;
67055
 
+
67056
 
+  LTWRAPPER_DEBUGPRINTF     (("(main) lt_argv_zero : %s\n", (lt_argv_zero ? lt_argv_zero : "<NULL>")));
67057
 
+  for (i = 0; i < newargc; i++)
67058
 
+    {
67059
 
+      LTWRAPPER_DEBUGPRINTF (("(main) newargz[%d]   : %s\n", i, (newargz[i] ? newargz[i] : "<NULL>")));
67060
 
+    }
67061
 
 
67062
 
-       # Transform deplibs into only deplibs that can be linked in shared.
67063
 
-       name_save=$name
67064
 
-       libname_save=$libname
67065
 
-       release_save=$release
67066
 
-       versuffix_save=$versuffix
67067
 
-       major_save=$major
67068
 
-       # I'm not sure if I'm treating the release correctly.  I think
67069
 
-       # release should show up in the -l (ie -lgmp5) so we don't want to
67070
 
-       # add it in twice.  Is that correct?
67071
 
-       release=""
67072
 
-       versuffix=""
67073
 
-       major=""
67074
 
-       newdeplibs=
67075
 
-       droppeddeps=no
67076
 
-       case $deplibs_check_method in
67077
 
-       pass_all)
67078
 
-         # Don't check for shared/static.  Everything works.
67079
 
-         # This might be a little naive.  We might want to check
67080
 
-         # whether the library exists or not.  But this is on
67081
 
-         # osf3 & osf4 and I'm not really sure... Just
67082
 
-         # implementing what was already the behavior.
67083
 
-         newdeplibs=$deplibs
67084
 
-         ;;
67085
 
-       test_compile)
67086
 
-         # This code stresses the "libraries are programs" paradigm to its
67087
 
-         # limits. Maybe even breaks it.  We compile a program, linking it
67088
 
-         # against the deplibs as a proxy for the library.  Then we can check
67089
 
-         # whether they linked in statically or dynamically with ldd.
67090
 
-         $rm conftest.c
67091
 
-         cat > conftest.c <<EOF
67092
 
-         int main() { return 0; }
67093
 
 EOF
67094
 
-         $rm conftest
67095
 
-         if $LTCC $LTCFLAGS -o conftest conftest.c $deplibs; then
67096
 
-           ldd_output=`ldd conftest`
67097
 
-           for i in $deplibs; do
67098
 
-             name=`expr $i : '-l\(.*\)'`
67099
 
-             # If $name is empty we are operating on a -L argument.
67100
 
-              if test "$name" != "" && test "$name" != "0"; then
67101
 
-               if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
67102
 
-                 case " $predeps $postdeps " in
67103
 
-                 *" $i "*)
67104
 
-                   newdeplibs="$newdeplibs $i"
67105
 
-                   i=""
67106
 
-                   ;;
67107
 
-                 esac
67108
 
-               fi
67109
 
-               if test -n "$i" ; then
67110
 
-                 libname=`eval \\$echo \"$libname_spec\"`
67111
 
-                 deplib_matches=`eval \\$echo \"$library_names_spec\"`
67112
 
-                 set dummy $deplib_matches
67113
 
-                 deplib_match=$2
67114
 
-                 if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
67115
 
-                   newdeplibs="$newdeplibs $i"
67116
 
-                 else
67117
 
-                   droppeddeps=yes
67118
 
-                   $echo
67119
 
-                   $echo "*** Warning: dynamic linker does not accept needed library $i."
67120
 
-                   $echo "*** I have the capability to make that library automatically link in when"
67121
 
-                   $echo "*** you link to this library.  But I can only do this if you have a"
67122
 
-                   $echo "*** shared version of the library, which I believe you do not have"
67123
 
-                   $echo "*** because a test_compile did reveal that the linker did not use it for"
67124
 
-                   $echo "*** its dynamic dependency list that programs get resolved with at runtime."
67125
 
-                 fi
67126
 
-               fi
67127
 
-             else
67128
 
-               newdeplibs="$newdeplibs $i"
67129
 
-             fi
67130
 
-           done
67131
 
-         else
67132
 
-           # Error occurred in the first compile.  Let's try to salvage
67133
 
-           # the situation: Compile a separate program for each library.
67134
 
-           for i in $deplibs; do
67135
 
-             name=`expr $i : '-l\(.*\)'`
67136
 
-             # If $name is empty we are operating on a -L argument.
67137
 
-              if test "$name" != "" && test "$name" != "0"; then
67138
 
-               $rm conftest
67139
 
-               if $LTCC $LTCFLAGS -o conftest conftest.c $i; then
67140
 
-                 ldd_output=`ldd conftest`
67141
 
-                 if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
67142
 
-                   case " $predeps $postdeps " in
67143
 
-                   *" $i "*)
67144
 
-                     newdeplibs="$newdeplibs $i"
67145
 
-                     i=""
67146
 
-                     ;;
67147
 
-                   esac
67148
 
-                 fi
67149
 
-                 if test -n "$i" ; then
67150
 
-                   libname=`eval \\$echo \"$libname_spec\"`
67151
 
-                   deplib_matches=`eval \\$echo \"$library_names_spec\"`
67152
 
-                   set dummy $deplib_matches
67153
 
-                   deplib_match=$2
67154
 
-                   if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
67155
 
-                     newdeplibs="$newdeplibs $i"
67156
 
-                   else
67157
 
-                     droppeddeps=yes
67158
 
-                     $echo
67159
 
-                     $echo "*** Warning: dynamic linker does not accept needed library $i."
67160
 
-                     $echo "*** I have the capability to make that library automatically link in when"
67161
 
-                     $echo "*** you link to this library.  But I can only do this if you have a"
67162
 
-                     $echo "*** shared version of the library, which you do not appear to have"
67163
 
-                     $echo "*** because a test_compile did reveal that the linker did not use this one"
67164
 
-                     $echo "*** as a dynamic dependency that programs can get resolved with at runtime."
67165
 
-                   fi
67166
 
-                 fi
67167
 
-               else
67168
 
-                 droppeddeps=yes
67169
 
-                 $echo
67170
 
-                 $echo "*** Warning!  Library $i is needed by this library but I was not able to"
67171
 
-                 $echo "*** make it link in!  You will probably need to install it or some"
67172
 
-                 $echo "*** library that it depends on before this library will be fully"
67173
 
-                 $echo "*** functional.  Installing it before continuing would be even better."
67174
 
-               fi
67175
 
-             else
67176
 
-               newdeplibs="$newdeplibs $i"
67177
 
-             fi
67178
 
-           done
67179
 
-         fi
67180
 
-         ;;
67181
 
-       file_magic*)
67182
 
-         set dummy $deplibs_check_method
67183
 
-         file_magic_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
67184
 
-         for a_deplib in $deplibs; do
67185
 
-           name=`expr $a_deplib : '-l\(.*\)'`
67186
 
-           # If $name is empty we are operating on a -L argument.
67187
 
-            if test "$name" != "" && test  "$name" != "0"; then
67188
 
-             if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
67189
 
-               case " $predeps $postdeps " in
67190
 
-               *" $a_deplib "*)
67191
 
-                 newdeplibs="$newdeplibs $a_deplib"
67192
 
-                 a_deplib=""
67193
 
-                 ;;
67194
 
-               esac
67195
 
-             fi
67196
 
-             if test -n "$a_deplib" ; then
67197
 
-               libname=`eval \\$echo \"$libname_spec\"`
67198
 
-               for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
67199
 
-                 potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
67200
 
-                 for potent_lib in $potential_libs; do
67201
 
-                     # Follow soft links.
67202
 
-                     if ls -lLd "$potent_lib" 2>/dev/null \
67203
 
-                        | grep " -> " >/dev/null; then
67204
 
-                       continue
67205
 
-                     fi
67206
 
-                     # The statement above tries to avoid entering an
67207
 
-                     # endless loop below, in case of cyclic links.
67208
 
-                     # We might still enter an endless loop, since a link
67209
 
-                     # loop can be closed while we follow links,
67210
 
-                     # but so what?
67211
 
-                     potlib="$potent_lib"
67212
 
-                     while test -h "$potlib" 2>/dev/null; do
67213
 
-                       potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'`
67214
 
-                       case $potliblink in
67215
 
-                       [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";;
67216
 
-                       *) potlib=`$echo "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";;
67217
 
-                       esac
67218
 
-                     done
67219
 
-                     if eval $file_magic_cmd \"\$potlib\" 2>/dev/null \
67220
 
-                        | ${SED} 10q \
67221
 
-                        | $EGREP "$file_magic_regex" > /dev/null; then
67222
 
-                       newdeplibs="$newdeplibs $a_deplib"
67223
 
-                       a_deplib=""
67224
 
-                       break 2
67225
 
-                     fi
67226
 
-                 done
67227
 
-               done
67228
 
-             fi
67229
 
-             if test -n "$a_deplib" ; then
67230
 
-               droppeddeps=yes
67231
 
-               $echo
67232
 
-               $echo "*** Warning: linker path does not have real file for library $a_deplib."
67233
 
-               $echo "*** I have the capability to make that library automatically link in when"
67234
 
-               $echo "*** you link to this library.  But I can only do this if you have a"
67235
 
-               $echo "*** shared version of the library, which you do not appear to have"
67236
 
-               $echo "*** because I did check the linker path looking for a file starting"
67237
 
-               if test -z "$potlib" ; then
67238
 
-                 $echo "*** with $libname but no candidates were found. (...for file magic test)"
67239
 
-               else
67240
 
-                 $echo "*** with $libname and none of the candidates passed a file format test"
67241
 
-                 $echo "*** using a file magic. Last file checked: $potlib"
67242
 
-               fi
67243
 
-             fi
67244
 
-           else
67245
 
-             # Add a -L argument.
67246
 
-             newdeplibs="$newdeplibs $a_deplib"
67247
 
-           fi
67248
 
-         done # Gone through all deplibs.
67249
 
-         ;;
67250
 
-       match_pattern*)
67251
 
-         set dummy $deplibs_check_method
67252
 
-         match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
67253
 
-         for a_deplib in $deplibs; do
67254
 
-           name=`expr $a_deplib : '-l\(.*\)'`
67255
 
-           # If $name is empty we are operating on a -L argument.
67256
 
-           if test -n "$name" && test "$name" != "0"; then
67257
 
-             if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
67258
 
-               case " $predeps $postdeps " in
67259
 
-               *" $a_deplib "*)
67260
 
-                 newdeplibs="$newdeplibs $a_deplib"
67261
 
-                 a_deplib=""
67262
 
-                 ;;
67263
 
-               esac
67264
 
-             fi
67265
 
-             if test -n "$a_deplib" ; then
67266
 
-               libname=`eval \\$echo \"$libname_spec\"`
67267
 
-               for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
67268
 
-                 potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
67269
 
-                 for potent_lib in $potential_libs; do
67270
 
-                   potlib="$potent_lib" # see symlink-check above in file_magic test
67271
 
-                   if eval $echo \"$potent_lib\" 2>/dev/null \
67272
 
-                       | ${SED} 10q \
67273
 
-                       | $EGREP "$match_pattern_regex" > /dev/null; then
67274
 
-                     newdeplibs="$newdeplibs $a_deplib"
67275
 
-                     a_deplib=""
67276
 
-                     break 2
67277
 
-                   fi
67278
 
-                 done
67279
 
-               done
67280
 
-             fi
67281
 
-             if test -n "$a_deplib" ; then
67282
 
-               droppeddeps=yes
67283
 
-               $echo
67284
 
-               $echo "*** Warning: linker path does not have real file for library $a_deplib."
67285
 
-               $echo "*** I have the capability to make that library automatically link in when"
67286
 
-               $echo "*** you link to this library.  But I can only do this if you have a"
67287
 
-               $echo "*** shared version of the library, which you do not appear to have"
67288
 
-               $echo "*** because I did check the linker path looking for a file starting"
67289
 
-               if test -z "$potlib" ; then
67290
 
-                 $echo "*** with $libname but no candidates were found. (...for regex pattern test)"
67291
 
-               else
67292
 
-                 $echo "*** with $libname and none of the candidates passed a file format test"
67293
 
-                 $echo "*** using a regex pattern. Last file checked: $potlib"
67294
 
-               fi
67295
 
-             fi
67296
 
-           else
67297
 
-             # Add a -L argument.
67298
 
-             newdeplibs="$newdeplibs $a_deplib"
67299
 
-           fi
67300
 
-         done # Gone through all deplibs.
67301
 
-         ;;
67302
 
-       none | unknown | *)
67303
 
-         newdeplibs=""
67304
 
-         tmp_deplibs=`$echo "X $deplibs" | $Xsed -e 's/ -lc$//' \
67305
 
-           -e 's/ -[LR][^ ]*//g'`
67306
 
-         if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
67307
 
-           for i in $predeps $postdeps ; do
67308
 
-             # can't use Xsed below, because $i might contain '/'
67309
 
-             tmp_deplibs=`$echo "X $tmp_deplibs" | ${SED} -e "1s,^X,," -e "s,$i,,"`
67310
 
-           done
67311
 
-         fi
67312
 
-         if $echo "X $tmp_deplibs" | $Xsed -e 's/[     ]//g' \
67313
 
-           | grep . >/dev/null; then
67314
 
-           $echo
67315
 
-           if test "X$deplibs_check_method" = "Xnone"; then
67316
 
-             $echo "*** Warning: inter-library dependencies are not supported in this platform."
67317
 
-           else
67318
 
-             $echo "*** Warning: inter-library dependencies are not known to be supported."
67319
 
-           fi
67320
 
-           $echo "*** All declared inter-library dependencies are being dropped."
67321
 
-           droppeddeps=yes
67322
 
-         fi
67323
 
-         ;;
67324
 
-       esac
67325
 
-       versuffix=$versuffix_save
67326
 
-       major=$major_save
67327
 
-       release=$release_save
67328
 
-       libname=$libname_save
67329
 
-       name=$name_save
67330
 
 
67331
 
-       case $host in
67332
 
-       *-*-rhapsody* | *-*-darwin1.[012])
67333
 
-         # On Rhapsody replace the C library is the System framework
67334
 
-         newdeplibs=`$echo "X $newdeplibs" | $Xsed -e 's/ -lc / -framework System /'`
67335
 
-         ;;
67336
 
-       esac
67337
 
+           case $host_os in
67338
 
+             mingw*)
67339
 
+               cat <<"EOF"
67340
 
+  /* execv doesn't actually work on mingw as expected on unix */
67341
 
+  rval = _spawnv (_P_WAIT, lt_argv_zero, (const char * const *) newargz);
67342
 
+  if (rval == -1)
67343
 
+    {
67344
 
+      /* failed to start process */
67345
 
+      LTWRAPPER_DEBUGPRINTF (("(main) failed to launch target \"%s\": errno = %d\n", lt_argv_zero, errno));
67346
 
+      return 127;
67347
 
+    }
67348
 
+  return rval;
67349
 
+EOF
67350
 
+               ;;
67351
 
+             *)
67352
 
+               cat <<"EOF"
67353
 
+  execv (lt_argv_zero, newargz);
67354
 
+  return rval; /* =127, but avoids unused variable warning */
67355
 
+EOF
67356
 
+               ;;
67357
 
+           esac
67358
 
 
67359
 
-       if test "$droppeddeps" = yes; then
67360
 
-         if test "$module" = yes; then
67361
 
-           $echo
67362
 
-           $echo "*** Warning: libtool could not satisfy all declared inter-library"
67363
 
-           $echo "*** dependencies of module $libname.  Therefore, libtool will create"
67364
 
-           $echo "*** a static module, that should work as long as the dlopening"
67365
 
-           $echo "*** application is linked with the -dlopen flag."
67366
 
-           if test -z "$global_symbol_pipe"; then
67367
 
-             $echo
67368
 
-             $echo "*** However, this would only work if libtool was able to extract symbol"
67369
 
-             $echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
67370
 
-             $echo "*** not find such a program.  So, this module is probably useless."
67371
 
-             $echo "*** \`nm' from GNU binutils and a full rebuild may help."
67372
 
-           fi
67373
 
-           if test "$build_old_libs" = no; then
67374
 
-             oldlibs="$output_objdir/$libname.$libext"
67375
 
-             build_libtool_libs=module
67376
 
-             build_old_libs=yes
67377
 
-           else
67378
 
-             build_libtool_libs=no
67379
 
-           fi
67380
 
-         else
67381
 
-           $echo "*** The inter-library dependencies that have been dropped here will be"
67382
 
-           $echo "*** automatically added whenever a program is linked with this library"
67383
 
-           $echo "*** or is declared to -dlopen it."
67384
 
+           cat <<"EOF"
67385
 
+}
67386
 
 
67387
 
-           if test "$allow_undefined" = no; then
67388
 
-             $echo
67389
 
-             $echo "*** Since this library must not contain undefined symbols,"
67390
 
-             $echo "*** because either the platform does not support them or"
67391
 
-             $echo "*** it was explicitly requested with -no-undefined,"
67392
 
-             $echo "*** libtool will only create a static version of it."
67393
 
-             if test "$build_old_libs" = no; then
67394
 
-               oldlibs="$output_objdir/$libname.$libext"
67395
 
-               build_libtool_libs=module
67396
 
-               build_old_libs=yes
67397
 
-             else
67398
 
-               build_libtool_libs=no
67399
 
-             fi
67400
 
-           fi
67401
 
-         fi
67402
 
-       fi
67403
 
-       # Done checking deplibs!
67404
 
-       deplibs=$newdeplibs
67405
 
-      fi
67406
 
+void *
67407
 
+xmalloc (size_t num)
67408
 
+{
67409
 
+  void *p = (void *) malloc (num);
67410
 
+  if (!p)
67411
 
+    lt_fatal ("Memory exhausted");
67412
 
 
67413
 
+  return p;
67414
 
+}
67415
 
 
67416
 
-      # move library search paths that coincide with paths to not yet
67417
 
-      # installed libraries to the beginning of the library search list
67418
 
-      new_libs=
67419
 
-      for path in $notinst_path; do
67420
 
-       case " $new_libs " in
67421
 
-       *" -L$path/$objdir "*) ;;
67422
 
-       *)
67423
 
-         case " $deplibs " in
67424
 
-         *" -L$path/$objdir "*)
67425
 
-           new_libs="$new_libs -L$path/$objdir" ;;
67426
 
-         esac
67427
 
-         ;;
67428
 
-       esac
67429
 
-      done
67430
 
-      for deplib in $deplibs; do
67431
 
-       case $deplib in
67432
 
-       -L*)
67433
 
-         case " $new_libs " in
67434
 
-         *" $deplib "*) ;;
67435
 
-         *) new_libs="$new_libs $deplib" ;;
67436
 
-         esac
67437
 
-         ;;
67438
 
-       *) new_libs="$new_libs $deplib" ;;
67439
 
-       esac
67440
 
-      done
67441
 
-      deplibs="$new_libs"
67442
 
+char *
67443
 
+xstrdup (const char *string)
67444
 
+{
67445
 
+  return string ? strcpy ((char *) xmalloc (strlen (string) + 1),
67446
 
+                         string) : NULL;
67447
 
+}
67448
 
 
67449
 
+const char *
67450
 
+base_name (const char *name)
67451
 
+{
67452
 
+  const char *base;
67453
 
 
67454
 
-      # All the library-specific variables (install_libdir is set above).
67455
 
-      library_names=
67456
 
-      old_library=
67457
 
-      dlname=
67458
 
+#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
67459
 
+  /* Skip over the disk name in MSDOS pathnames. */
67460
 
+  if (isalpha ((unsigned char) name[0]) && name[1] == ':')
67461
 
+    name += 2;
67462
 
+#endif
67463
 
 
67464
 
-      # Test again, we may have decided not to build it any more
67465
 
-      if test "$build_libtool_libs" = yes; then
67466
 
-       if test "$hardcode_into_libs" = yes; then
67467
 
-         # Hardcode the library paths
67468
 
-         hardcode_libdirs=
67469
 
-         dep_rpath=
67470
 
-         rpath="$finalize_rpath"
67471
 
-         test "$mode" != relink && rpath="$compile_rpath$rpath"
67472
 
-         for libdir in $rpath; do
67473
 
-           if test -n "$hardcode_libdir_flag_spec"; then
67474
 
-             if test -n "$hardcode_libdir_separator"; then
67475
 
-               if test -z "$hardcode_libdirs"; then
67476
 
-                 hardcode_libdirs="$libdir"
67477
 
-               else
67478
 
-                 # Just accumulate the unique libdirs.
67479
 
-                 case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
67480
 
-                 *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
67481
 
-                   ;;
67482
 
-                 *)
67483
 
-                   hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
67484
 
-                   ;;
67485
 
-                 esac
67486
 
-               fi
67487
 
-             else
67488
 
-               eval flag=\"$hardcode_libdir_flag_spec\"
67489
 
-               dep_rpath="$dep_rpath $flag"
67490
 
-             fi
67491
 
-           elif test -n "$runpath_var"; then
67492
 
-             case "$perm_rpath " in
67493
 
-             *" $libdir "*) ;;
67494
 
-             *) perm_rpath="$perm_rpath $libdir" ;;
67495
 
-             esac
67496
 
-           fi
67497
 
-         done
67498
 
-         # Substitute the hardcoded libdirs into the rpath.
67499
 
-         if test -n "$hardcode_libdir_separator" &&
67500
 
-            test -n "$hardcode_libdirs"; then
67501
 
-           libdir="$hardcode_libdirs"
67502
 
-           if test -n "$hardcode_libdir_flag_spec_ld"; then
67503
 
-             case $archive_cmds in
67504
 
-             *\$LD*) eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\" ;;
67505
 
-             *)      eval dep_rpath=\"$hardcode_libdir_flag_spec\" ;;
67506
 
-             esac
67507
 
-           else
67508
 
-             eval dep_rpath=\"$hardcode_libdir_flag_spec\"
67509
 
-           fi
67510
 
-         fi
67511
 
-         if test -n "$runpath_var" && test -n "$perm_rpath"; then
67512
 
-           # We should set the runpath_var.
67513
 
-           rpath=
67514
 
-           for dir in $perm_rpath; do
67515
 
-             rpath="$rpath$dir:"
67516
 
-           done
67517
 
-           eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var"
67518
 
-         fi
67519
 
-         test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs"
67520
 
-       fi
67521
 
+  for (base = name; *name; name++)
67522
 
+    if (IS_DIR_SEPARATOR (*name))
67523
 
+      base = name + 1;
67524
 
+  return base;
67525
 
+}
67526
 
 
67527
 
-       shlibpath="$finalize_shlibpath"
67528
 
-       test "$mode" != relink && shlibpath="$compile_shlibpath$shlibpath"
67529
 
-       if test -n "$shlibpath"; then
67530
 
-         eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var"
67531
 
-       fi
67532
 
+int
67533
 
+check_executable (const char *path)
67534
 
+{
67535
 
+  struct stat st;
67536
 
 
67537
 
-       # Get the real and link names of the library.
67538
 
-       eval shared_ext=\"$shrext_cmds\"
67539
 
-       eval library_names=\"$library_names_spec\"
67540
 
-       set dummy $library_names
67541
 
-       realname="$2"
67542
 
-       shift; shift
67543
 
+  LTWRAPPER_DEBUGPRINTF (("(check_executable)  : %s\n",
67544
 
+                         path ? (*path ? path : "EMPTY!") : "NULL!"));
67545
 
+  if ((!path) || (!*path))
67546
 
+    return 0;
67547
 
 
67548
 
-       if test -n "$soname_spec"; then
67549
 
-         eval soname=\"$soname_spec\"
67550
 
-       else
67551
 
-         soname="$realname"
67552
 
-       fi
67553
 
-       if test -z "$dlname"; then
67554
 
-         dlname=$soname
67555
 
-       fi
67556
 
+  if ((stat (path, &st) >= 0)
67557
 
+      && (st.st_mode & (S_IXUSR | S_IXGRP | S_IXOTH)))
67558
 
+    return 1;
67559
 
+  else
67560
 
+    return 0;
67561
 
+}
67562
 
 
67563
 
-       lib="$output_objdir/$realname"
67564
 
-       linknames=
67565
 
-       for link
67566
 
-       do
67567
 
-         linknames="$linknames $link"
67568
 
-       done
67569
 
-
67570
 
-       # Use standard objects if they are pic
67571
 
-       test -z "$pic_flag" && libobjs=`$echo "X$libobjs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
67572
 
+int
67573
 
+make_executable (const char *path)
67574
 
+{
67575
 
+  int rval = 0;
67576
 
+  struct stat st;
67577
 
 
67578
 
-       # Prepare the list of exported symbols
67579
 
-       if test -z "$export_symbols"; then
67580
 
-         if test "$always_export_symbols" = yes || test -n "$export_symbols_regex"; then
67581
 
-           $show "generating symbol list for \`$libname.la'"
67582
 
-           export_symbols="$output_objdir/$libname.exp"
67583
 
-           $run $rm $export_symbols
67584
 
-           cmds=$export_symbols_cmds
67585
 
-           save_ifs="$IFS"; IFS='~'
67586
 
-           for cmd in $cmds; do
67587
 
-             IFS="$save_ifs"
67588
 
-             eval cmd=\"$cmd\"
67589
 
-             if len=`expr "X$cmd" : ".*"` &&
67590
 
-              test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
67591
 
-               $show "$cmd"
67592
 
-               $run eval "$cmd" || exit $?
67593
 
-               skipped_export=false
67594
 
-             else
67595
 
-               # The command line is too long to execute in one step.
67596
 
-               $show "using reloadable object file for export list..."
67597
 
-               skipped_export=:
67598
 
-               # Break out early, otherwise skipped_export may be
67599
 
-               # set to false by a later but shorter cmd.
67600
 
-               break
67601
 
-             fi
67602
 
-           done
67603
 
-           IFS="$save_ifs"
67604
 
-           if test -n "$export_symbols_regex"; then
67605
 
-             $show "$EGREP -e \"$export_symbols_regex\" \"$export_symbols\" > \"${export_symbols}T\""
67606
 
-             $run eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"'
67607
 
-             $show "$mv \"${export_symbols}T\" \"$export_symbols\""
67608
 
-             $run eval '$mv "${export_symbols}T" "$export_symbols"'
67609
 
-           fi
67610
 
-         fi
67611
 
-       fi
67612
 
+  LTWRAPPER_DEBUGPRINTF (("(make_executable)   : %s\n",
67613
 
+                         path ? (*path ? path : "EMPTY!") : "NULL!"));
67614
 
+  if ((!path) || (!*path))
67615
 
+    return 0;
67616
 
 
67617
 
-       if test -n "$export_symbols" && test -n "$include_expsyms"; then
67618
 
-         $run eval '$echo "X$include_expsyms" | $SP2NL >> "$export_symbols"'
67619
 
-       fi
67620
 
+  if (stat (path, &st) >= 0)
67621
 
+    {
67622
 
+      rval = chmod (path, st.st_mode | S_IXOTH | S_IXGRP | S_IXUSR);
67623
 
+    }
67624
 
+  return rval;
67625
 
+}
67626
 
 
67627
 
-       tmp_deplibs=
67628
 
-       for test_deplib in $deplibs; do
67629
 
-               case " $convenience " in
67630
 
-               *" $test_deplib "*) ;;
67631
 
-               *)
67632
 
-                       tmp_deplibs="$tmp_deplibs $test_deplib"
67633
 
-                       ;;
67634
 
-               esac
67635
 
-       done
67636
 
-       deplibs="$tmp_deplibs"
67637
 
+/* Searches for the full path of the wrapper.  Returns
67638
 
+   newly allocated full path name if found, NULL otherwise
67639
 
+   Does not chase symlinks, even on platforms that support them.
67640
 
+*/
67641
 
+char *
67642
 
+find_executable (const char *wrapper)
67643
 
+{
67644
 
+  int has_slash = 0;
67645
 
+  const char *p;
67646
 
+  const char *p_next;
67647
 
+  /* static buffer for getcwd */
67648
 
+  char tmp[LT_PATHMAX + 1];
67649
 
+  int tmp_len;
67650
 
+  char *concat_name;
67651
 
 
67652
 
-       if test -n "$convenience"; then
67653
 
-         if test -n "$whole_archive_flag_spec"; then
67654
 
-           save_libobjs=$libobjs
67655
 
-           eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
67656
 
-         else
67657
 
-           gentop="$output_objdir/${outputname}x"
67658
 
-           generated="$generated $gentop"
67659
 
+  LTWRAPPER_DEBUGPRINTF (("(find_executable)   : %s\n",
67660
 
+                         wrapper ? (*wrapper ? wrapper : "EMPTY!") : "NULL!"));
67661
 
 
67662
 
-           func_extract_archives $gentop $convenience
67663
 
-           libobjs="$libobjs $func_extract_archives_result"
67664
 
-         fi
67665
 
-       fi
67666
 
-       
67667
 
-       if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then
67668
 
-         eval flag=\"$thread_safe_flag_spec\"
67669
 
-         linker_flags="$linker_flags $flag"
67670
 
-       fi
67671
 
+  if ((wrapper == NULL) || (*wrapper == '\0'))
67672
 
+    return NULL;
67673
 
 
67674
 
-       # Make a backup of the uninstalled library when relinking
67675
 
-       if test "$mode" = relink; then
67676
 
-         $run eval '(cd $output_objdir && $rm ${realname}U && $mv $realname ${realname}U)' || exit $?
67677
 
-       fi
67678
 
+  /* Absolute path? */
67679
 
+#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
67680
 
+  if (isalpha ((unsigned char) wrapper[0]) && wrapper[1] == ':')
67681
 
+    {
67682
 
+      concat_name = xstrdup (wrapper);
67683
 
+      if (check_executable (concat_name))
67684
 
+       return concat_name;
67685
 
+      XFREE (concat_name);
67686
 
+    }
67687
 
+  else
67688
 
+    {
67689
 
+#endif
67690
 
+      if (IS_DIR_SEPARATOR (wrapper[0]))
67691
 
+       {
67692
 
+         concat_name = xstrdup (wrapper);
67693
 
+         if (check_executable (concat_name))
67694
 
+           return concat_name;
67695
 
+         XFREE (concat_name);
67696
 
+       }
67697
 
+#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
67698
 
+    }
67699
 
+#endif
67700
 
 
67701
 
-       # Do each of the archive commands.
67702
 
-       if test "$module" = yes && test -n "$module_cmds" ; then
67703
 
-         if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
67704
 
-           eval test_cmds=\"$module_expsym_cmds\"
67705
 
-           cmds=$module_expsym_cmds
67706
 
-         else
67707
 
-           eval test_cmds=\"$module_cmds\"
67708
 
-           cmds=$module_cmds
67709
 
-         fi
67710
 
-       else
67711
 
-       if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
67712
 
-         eval test_cmds=\"$archive_expsym_cmds\"
67713
 
-         cmds=$archive_expsym_cmds
67714
 
-       else
67715
 
-         eval test_cmds=\"$archive_cmds\"
67716
 
-         cmds=$archive_cmds
67717
 
-         fi
67718
 
-       fi
67719
 
+  for (p = wrapper; *p; p++)
67720
 
+    if (*p == '/')
67721
 
+      {
67722
 
+       has_slash = 1;
67723
 
+       break;
67724
 
+      }
67725
 
+  if (!has_slash)
67726
 
+    {
67727
 
+      /* no slashes; search PATH */
67728
 
+      const char *path = getenv ("PATH");
67729
 
+      if (path != NULL)
67730
 
+       {
67731
 
+         for (p = path; *p; p = p_next)
67732
 
+           {
67733
 
+             const char *q;
67734
 
+             size_t p_len;
67735
 
+             for (q = p; *q; q++)
67736
 
+               if (IS_PATH_SEPARATOR (*q))
67737
 
+                 break;
67738
 
+             p_len = q - p;
67739
 
+             p_next = (*q == '\0' ? q : q + 1);
67740
 
+             if (p_len == 0)
67741
 
+               {
67742
 
+                 /* empty path: current directory */
67743
 
+                 if (getcwd (tmp, LT_PATHMAX) == NULL)
67744
 
+                   lt_fatal ("getcwd failed");
67745
 
+                 tmp_len = strlen (tmp);
67746
 
+                 concat_name =
67747
 
+                   XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
67748
 
+                 memcpy (concat_name, tmp, tmp_len);
67749
 
+                 concat_name[tmp_len] = '/';
67750
 
+                 strcpy (concat_name + tmp_len + 1, wrapper);
67751
 
+               }
67752
 
+             else
67753
 
+               {
67754
 
+                 concat_name =
67755
 
+                   XMALLOC (char, p_len + 1 + strlen (wrapper) + 1);
67756
 
+                 memcpy (concat_name, p, p_len);
67757
 
+                 concat_name[p_len] = '/';
67758
 
+                 strcpy (concat_name + p_len + 1, wrapper);
67759
 
+               }
67760
 
+             if (check_executable (concat_name))
67761
 
+               return concat_name;
67762
 
+             XFREE (concat_name);
67763
 
+           }
67764
 
+       }
67765
 
+      /* not found in PATH; assume curdir */
67766
 
+    }
67767
 
+  /* Relative path | not found in path: prepend cwd */
67768
 
+  if (getcwd (tmp, LT_PATHMAX) == NULL)
67769
 
+    lt_fatal ("getcwd failed");
67770
 
+  tmp_len = strlen (tmp);
67771
 
+  concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
67772
 
+  memcpy (concat_name, tmp, tmp_len);
67773
 
+  concat_name[tmp_len] = '/';
67774
 
+  strcpy (concat_name + tmp_len + 1, wrapper);
67775
 
 
67776
 
-       if test "X$skipped_export" != "X:" &&
67777
 
-          len=`expr "X$test_cmds" : ".*" 2>/dev/null` &&
67778
 
-          test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
67779
 
-         :
67780
 
-       else
67781
 
-         # The command line is too long to link in one step, link piecewise.
67782
 
-         $echo "creating reloadable object files..."
67783
 
+  if (check_executable (concat_name))
67784
 
+    return concat_name;
67785
 
+  XFREE (concat_name);
67786
 
+  return NULL;
67787
 
+}
67788
 
 
67789
 
-         # Save the value of $output and $libobjs because we want to
67790
 
-         # use them later.  If we have whole_archive_flag_spec, we
67791
 
-         # want to use save_libobjs as it was before
67792
 
-         # whole_archive_flag_spec was expanded, because we can't
67793
 
-         # assume the linker understands whole_archive_flag_spec.
67794
 
-         # This may have to be revisited, in case too many
67795
 
-         # convenience libraries get linked in and end up exceeding
67796
 
-         # the spec.
67797
 
-         if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then
67798
 
-           save_libobjs=$libobjs
67799
 
-         fi
67800
 
-         save_output=$output
67801
 
-         output_la=`$echo "X$output" | $Xsed -e "$basename"`
67802
 
+char *
67803
 
+chase_symlinks (const char *pathspec)
67804
 
+{
67805
 
+#ifndef S_ISLNK
67806
 
+  return xstrdup (pathspec);
67807
 
+#else
67808
 
+  char buf[LT_PATHMAX];
67809
 
+  struct stat s;
67810
 
+  char *tmp_pathspec = xstrdup (pathspec);
67811
 
+  char *p;
67812
 
+  int has_symlinks = 0;
67813
 
+  while (strlen (tmp_pathspec) && !has_symlinks)
67814
 
+    {
67815
 
+      LTWRAPPER_DEBUGPRINTF (("checking path component for symlinks: %s\n",
67816
 
+                             tmp_pathspec));
67817
 
+      if (lstat (tmp_pathspec, &s) == 0)
67818
 
+       {
67819
 
+         if (S_ISLNK (s.st_mode) != 0)
67820
 
+           {
67821
 
+             has_symlinks = 1;
67822
 
+             break;
67823
 
+           }
67824
 
 
67825
 
-         # Clear the reloadable object creation command queue and
67826
 
-         # initialize k to one.
67827
 
-         test_cmds=
67828
 
-         concat_cmds=
67829
 
-         objlist=
67830
 
-         delfiles=
67831
 
-         last_robj=
67832
 
-         k=1
67833
 
-         output=$output_objdir/$output_la-${k}.$objext
67834
 
-         # Loop over the list of objects to be linked.
67835
 
-         for obj in $save_libobjs
67836
 
-         do
67837
 
-           eval test_cmds=\"$reload_cmds $objlist $last_robj\"
67838
 
-           if test "X$objlist" = X ||
67839
 
-              { len=`expr "X$test_cmds" : ".*" 2>/dev/null` &&
67840
 
-                test "$len" -le "$max_cmd_len"; }; then
67841
 
-             objlist="$objlist $obj"
67842
 
-           else
67843
 
-             # The command $test_cmds is almost too long, add a
67844
 
-             # command to the queue.
67845
 
-             if test "$k" -eq 1 ; then
67846
 
-               # The first file doesn't have a previous command to add.
67847
 
-               eval concat_cmds=\"$reload_cmds $objlist $last_robj\"
67848
 
-             else
67849
 
-               # All subsequent reloadable object files will link in
67850
 
-               # the last one created.
67851
 
-               eval concat_cmds=\"\$concat_cmds~$reload_cmds $objlist $last_robj\"
67852
 
-             fi
67853
 
-             last_robj=$output_objdir/$output_la-${k}.$objext
67854
 
-             k=`expr $k + 1`
67855
 
-             output=$output_objdir/$output_la-${k}.$objext
67856
 
-             objlist=$obj
67857
 
-             len=1
67858
 
-           fi
67859
 
-         done
67860
 
-         # Handle the remaining objects by creating one last
67861
 
-         # reloadable object file.  All subsequent reloadable object
67862
 
-         # files will link in the last one created.
67863
 
-         test -z "$concat_cmds" || concat_cmds=$concat_cmds~
67864
 
-         eval concat_cmds=\"\${concat_cmds}$reload_cmds $objlist $last_robj\"
67865
 
+         /* search backwards for last DIR_SEPARATOR */
67866
 
+         p = tmp_pathspec + strlen (tmp_pathspec) - 1;
67867
 
+         while ((p > tmp_pathspec) && (!IS_DIR_SEPARATOR (*p)))
67868
 
+           p--;
67869
 
+         if ((p == tmp_pathspec) && (!IS_DIR_SEPARATOR (*p)))
67870
 
+           {
67871
 
+             /* no more DIR_SEPARATORS left */
67872
 
+             break;
67873
 
+           }
67874
 
+         *p = '\0';
67875
 
+       }
67876
 
+      else
67877
 
+       {
67878
 
+         char *errstr = strerror (errno);
67879
 
+         lt_fatal ("Error accessing file %s (%s)", tmp_pathspec, errstr);
67880
 
+       }
67881
 
+    }
67882
 
+  XFREE (tmp_pathspec);
67883
 
 
67884
 
-         if ${skipped_export-false}; then
67885
 
-           $show "generating symbol list for \`$libname.la'"
67886
 
-           export_symbols="$output_objdir/$libname.exp"
67887
 
-           $run $rm $export_symbols
67888
 
-           libobjs=$output
67889
 
-           # Append the command to create the export file.
67890
 
-           eval concat_cmds=\"\$concat_cmds~$export_symbols_cmds\"
67891
 
-          fi
67892
 
-
67893
 
-         # Set up a command to remove the reloadable object files
67894
 
-         # after they are used.
67895
 
-         i=0
67896
 
-         while test "$i" -lt "$k"
67897
 
-         do
67898
 
-           i=`expr $i + 1`
67899
 
-           delfiles="$delfiles $output_objdir/$output_la-${i}.$objext"
67900
 
-         done
67901
 
+  if (!has_symlinks)
67902
 
+    {
67903
 
+      return xstrdup (pathspec);
67904
 
+    }
67905
 
 
67906
 
-         $echo "creating a temporary reloadable object file: $output"
67907
 
+  tmp_pathspec = realpath (pathspec, buf);
67908
 
+  if (tmp_pathspec == 0)
67909
 
+    {
67910
 
+      lt_fatal ("Could not follow symlinks for %s", pathspec);
67911
 
+    }
67912
 
+  return xstrdup (tmp_pathspec);
67913
 
+#endif
67914
 
+}
67915
 
 
67916
 
-         # Loop through the commands generated above and execute them.
67917
 
-         save_ifs="$IFS"; IFS='~'
67918
 
-         for cmd in $concat_cmds; do
67919
 
-           IFS="$save_ifs"
67920
 
-           $show "$cmd"
67921
 
-           $run eval "$cmd" || exit $?
67922
 
-         done
67923
 
-         IFS="$save_ifs"
67924
 
+char *
67925
 
+strendzap (char *str, const char *pat)
67926
 
+{
67927
 
+  size_t len, patlen;
67928
 
 
67929
 
-         libobjs=$output
67930
 
-         # Restore the value of output.
67931
 
-         output=$save_output
67932
 
+  assert (str != NULL);
67933
 
+  assert (pat != NULL);
67934
 
 
67935
 
-         if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then
67936
 
-           eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
67937
 
-         fi
67938
 
-         # Expand the library linking commands again to reset the
67939
 
-         # value of $libobjs for piecewise linking.
67940
 
+  len = strlen (str);
67941
 
+  patlen = strlen (pat);
67942
 
 
67943
 
-         # Do each of the archive commands.
67944
 
-         if test "$module" = yes && test -n "$module_cmds" ; then
67945
 
-           if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
67946
 
-             cmds=$module_expsym_cmds
67947
 
-           else
67948
 
-             cmds=$module_cmds
67949
 
-           fi
67950
 
-         else
67951
 
-         if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
67952
 
-           cmds=$archive_expsym_cmds
67953
 
-         else
67954
 
-           cmds=$archive_cmds
67955
 
-           fi
67956
 
-         fi
67957
 
+  if (patlen <= len)
67958
 
+    {
67959
 
+      str += len - patlen;
67960
 
+      if (strcmp (str, pat) == 0)
67961
 
+       *str = '\0';
67962
 
+    }
67963
 
+  return str;
67964
 
+}
67965
 
 
67966
 
-         # Append the command to remove the reloadable object files
67967
 
-         # to the just-reset $cmds.
67968
 
-         eval cmds=\"\$cmds~\$rm $delfiles\"
67969
 
-       fi
67970
 
-       save_ifs="$IFS"; IFS='~'
67971
 
-       for cmd in $cmds; do
67972
 
-         IFS="$save_ifs"
67973
 
-         eval cmd=\"$cmd\"
67974
 
-         $show "$cmd"
67975
 
-         $run eval "$cmd" || {
67976
 
-           lt_exit=$?
67977
 
+static void
67978
 
+lt_error_core (int exit_status, const char *mode,
67979
 
+              const char *message, va_list ap)
67980
 
+{
67981
 
+  fprintf (stderr, "%s: %s: ", program_name, mode);
67982
 
+  vfprintf (stderr, message, ap);
67983
 
+  fprintf (stderr, ".\n");
67984
 
 
67985
 
-           # Restore the uninstalled library and exit
67986
 
-           if test "$mode" = relink; then
67987
 
-             $run eval '(cd $output_objdir && $rm ${realname}T && $mv ${realname}U $realname)'
67988
 
-           fi
67989
 
+  if (exit_status >= 0)
67990
 
+    exit (exit_status);
67991
 
+}
67992
 
 
67993
 
-           exit $lt_exit
67994
 
-         }
67995
 
-       done
67996
 
-       IFS="$save_ifs"
67997
 
+void
67998
 
+lt_fatal (const char *message, ...)
67999
 
+{
68000
 
+  va_list ap;
68001
 
+  va_start (ap, message);
68002
 
+  lt_error_core (EXIT_FAILURE, "FATAL", message, ap);
68003
 
+  va_end (ap);
68004
 
+}
68005
 
 
68006
 
-       # Restore the uninstalled library and exit
68007
 
-       if test "$mode" = relink; then
68008
 
-         $run eval '(cd $output_objdir && $rm ${realname}T && $mv $realname ${realname}T && $mv "$realname"U $realname)' || exit $?
68009
 
+void
68010
 
+lt_setenv (const char *name, const char *value)
68011
 
+{
68012
 
+  LTWRAPPER_DEBUGPRINTF (("(lt_setenv) setting '%s' to '%s'\n",
68013
 
+                          (name ? name : "<NULL>"),
68014
 
+                          (value ? value : "<NULL>")));
68015
 
+  {
68016
 
+#ifdef HAVE_SETENV
68017
 
+    /* always make a copy, for consistency with !HAVE_SETENV */
68018
 
+    char *str = xstrdup (value);
68019
 
+    setenv (name, str, 1);
68020
 
+#else
68021
 
+    int len = strlen (name) + 1 + strlen (value) + 1;
68022
 
+    char *str = XMALLOC (char, len);
68023
 
+    sprintf (str, "%s=%s", name, value);
68024
 
+    if (putenv (str) != EXIT_SUCCESS)
68025
 
+      {
68026
 
+        XFREE (str);
68027
 
+      }
68028
 
+#endif
68029
 
+  }
68030
 
+}
68031
 
 
68032
 
-         if test -n "$convenience"; then
68033
 
-           if test -z "$whole_archive_flag_spec"; then
68034
 
-             $show "${rm}r $gentop"
68035
 
-             $run ${rm}r "$gentop"
68036
 
-           fi
68037
 
-         fi
68038
 
+char *
68039
 
+lt_extend_str (const char *orig_value, const char *add, int to_end)
68040
 
+{
68041
 
+  char *new_value;
68042
 
+  if (orig_value && *orig_value)
68043
 
+    {
68044
 
+      int orig_value_len = strlen (orig_value);
68045
 
+      int add_len = strlen (add);
68046
 
+      new_value = XMALLOC (char, add_len + orig_value_len + 1);
68047
 
+      if (to_end)
68048
 
+        {
68049
 
+          strcpy (new_value, orig_value);
68050
 
+          strcpy (new_value + orig_value_len, add);
68051
 
+        }
68052
 
+      else
68053
 
+        {
68054
 
+          strcpy (new_value, add);
68055
 
+          strcpy (new_value + add_len, orig_value);
68056
 
+        }
68057
 
+    }
68058
 
+  else
68059
 
+    {
68060
 
+      new_value = xstrdup (add);
68061
 
+    }
68062
 
+  return new_value;
68063
 
+}
68064
 
 
68065
 
-         exit $EXIT_SUCCESS
68066
 
-       fi
68067
 
+int
68068
 
+lt_split_name_value (const char *arg, char** name, char** value)
68069
 
+{
68070
 
+  const char *p;
68071
 
+  int len;
68072
 
+  if (!arg || !*arg)
68073
 
+    return 1;
68074
 
 
68075
 
-       # Create links to the real library.
68076
 
-       for linkname in $linknames; do
68077
 
-         if test "$realname" != "$linkname"; then
68078
 
-           $show "(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)"
68079
 
-           $run eval '(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)' || exit $?
68080
 
-         fi
68081
 
-       done
68082
 
+  p = strchr (arg, (int)'=');
68083
 
 
68084
 
-       # If -module or -export-dynamic was specified, set the dlname.
68085
 
-       if test "$module" = yes || test "$export_dynamic" = yes; then
68086
 
-         # On all known operating systems, these are identical.
68087
 
-         dlname="$soname"
68088
 
-       fi
68089
 
-      fi
68090
 
-      ;;
68091
 
+  if (!p)
68092
 
+    return 1;
68093
 
 
68094
 
-    obj)
68095
 
-      case " $deplibs" in
68096
 
-      *\ -l* | *\ -L*)
68097
 
-       $echo "$modename: warning: \`-l' and \`-L' are ignored for objects" 1>&2 ;;
68098
 
-      esac
68099
 
+  *value = xstrdup (++p);
68100
 
 
68101
 
-      if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
68102
 
-       $echo "$modename: warning: \`-dlopen' is ignored for objects" 1>&2
68103
 
-      fi
68104
 
+  len = strlen (arg) - strlen (*value);
68105
 
+  *name = XMALLOC (char, len);
68106
 
+  strncpy (*name, arg, len-1);
68107
 
+  (*name)[len - 1] = '\0';
68108
 
 
68109
 
-      if test -n "$rpath"; then
68110
 
-       $echo "$modename: warning: \`-rpath' is ignored for objects" 1>&2
68111
 
-      fi
68112
 
+  return 0;
68113
 
+}
68114
 
 
68115
 
-      if test -n "$xrpath"; then
68116
 
-       $echo "$modename: warning: \`-R' is ignored for objects" 1>&2
68117
 
-      fi
68118
 
+void
68119
 
+lt_opt_process_env_set (const char *arg)
68120
 
+{
68121
 
+  char *name = NULL;
68122
 
+  char *value = NULL;
68123
 
 
68124
 
-      if test -n "$vinfo"; then
68125
 
-       $echo "$modename: warning: \`-version-info' is ignored for objects" 1>&2
68126
 
-      fi
68127
 
+  if (lt_split_name_value (arg, &name, &value) != 0)
68128
 
+    {
68129
 
+      XFREE (name);
68130
 
+      XFREE (value);
68131
 
+      lt_fatal ("bad argument for %s: '%s'", env_set_opt, arg);
68132
 
+    }
68133
 
 
68134
 
-      if test -n "$release"; then
68135
 
-       $echo "$modename: warning: \`-release' is ignored for objects" 1>&2
68136
 
-      fi
68137
 
+  lt_setenv (name, value);
68138
 
+  XFREE (name);
68139
 
+  XFREE (value);
68140
 
+}
68141
 
 
68142
 
-      case $output in
68143
 
-      *.lo)
68144
 
-       if test -n "$objs$old_deplibs"; then
68145
 
-         $echo "$modename: cannot build library object \`$output' from non-libtool objects" 1>&2
68146
 
-         exit $EXIT_FAILURE
68147
 
-       fi
68148
 
-       libobj="$output"
68149
 
-       obj=`$echo "X$output" | $Xsed -e "$lo2o"`
68150
 
-       ;;
68151
 
-      *)
68152
 
-       libobj=
68153
 
-       obj="$output"
68154
 
-       ;;
68155
 
-      esac
68156
 
+void
68157
 
+lt_opt_process_env_prepend (const char *arg)
68158
 
+{
68159
 
+  char *name = NULL;
68160
 
+  char *value = NULL;
68161
 
+  char *new_value = NULL;
68162
 
 
68163
 
-      # Delete the old objects.
68164
 
-      $run $rm $obj $libobj
68165
 
+  if (lt_split_name_value (arg, &name, &value) != 0)
68166
 
+    {
68167
 
+      XFREE (name);
68168
 
+      XFREE (value);
68169
 
+      lt_fatal ("bad argument for %s: '%s'", env_prepend_opt, arg);
68170
 
+    }
68171
 
 
68172
 
-      # Objects from convenience libraries.  This assumes
68173
 
-      # single-version convenience libraries.  Whenever we create
68174
 
-      # different ones for PIC/non-PIC, this we'll have to duplicate
68175
 
-      # the extraction.
68176
 
-      reload_conv_objs=
68177
 
-      gentop=
68178
 
-      # reload_cmds runs $LD directly, so let us get rid of
68179
 
-      # -Wl from whole_archive_flag_spec and hope we can get by with
68180
 
-      # turning comma into space..
68181
 
-      wl=
68182
 
+  new_value = lt_extend_str (getenv (name), value, 0);
68183
 
+  lt_setenv (name, new_value);
68184
 
+  XFREE (new_value);
68185
 
+  XFREE (name);
68186
 
+  XFREE (value);
68187
 
+}
68188
 
 
68189
 
-      if test -n "$convenience"; then
68190
 
-       if test -n "$whole_archive_flag_spec"; then
68191
 
-         eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\"
68192
 
-         reload_conv_objs=$reload_objs\ `$echo "X$tmp_whole_archive_flags" | $Xsed -e 's|,| |g'`
68193
 
-       else
68194
 
-         gentop="$output_objdir/${obj}x"
68195
 
-         generated="$generated $gentop"
68196
 
+void
68197
 
+lt_opt_process_env_append (const char *arg)
68198
 
+{
68199
 
+  char *name = NULL;
68200
 
+  char *value = NULL;
68201
 
+  char *new_value = NULL;
68202
 
 
68203
 
-         func_extract_archives $gentop $convenience
68204
 
-         reload_conv_objs="$reload_objs $func_extract_archives_result"
68205
 
-       fi
68206
 
-      fi
68207
 
+  if (lt_split_name_value (arg, &name, &value) != 0)
68208
 
+    {
68209
 
+      XFREE (name);
68210
 
+      XFREE (value);
68211
 
+      lt_fatal ("bad argument for %s: '%s'", env_append_opt, arg);
68212
 
+    }
68213
 
 
68214
 
-      # Create the old-style object.
68215
 
-      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
68216
 
+  new_value = lt_extend_str (getenv (name), value, 1);
68217
 
+  lt_setenv (name, new_value);
68218
 
+  XFREE (new_value);
68219
 
+  XFREE (name);
68220
 
+  XFREE (value);
68221
 
+}
68222
 
 
68223
 
-      output="$obj"
68224
 
-      cmds=$reload_cmds
68225
 
-      save_ifs="$IFS"; IFS='~'
68226
 
-      for cmd in $cmds; do
68227
 
-       IFS="$save_ifs"
68228
 
-       eval cmd=\"$cmd\"
68229
 
-       $show "$cmd"
68230
 
-       $run eval "$cmd" || exit $?
68231
 
-      done
68232
 
-      IFS="$save_ifs"
68233
 
+void
68234
 
+lt_update_exe_path (const char *name, const char *value)
68235
 
+{
68236
 
+  LTWRAPPER_DEBUGPRINTF (("(lt_update_exe_path) modifying '%s' by prepending '%s'\n",
68237
 
+                          (name ? name : "<NULL>"),
68238
 
+                          (value ? value : "<NULL>")));
68239
 
 
68240
 
-      # Exit if we aren't doing a library object file.
68241
 
-      if test -z "$libobj"; then
68242
 
-       if test -n "$gentop"; then
68243
 
-         $show "${rm}r $gentop"
68244
 
-         $run ${rm}r $gentop
68245
 
-       fi
68246
 
+  if (name && *name && value && *value)
68247
 
+    {
68248
 
+      char *new_value = lt_extend_str (getenv (name), value, 0);
68249
 
+      /* some systems can't cope with a ':'-terminated path #' */
68250
 
+      int len = strlen (new_value);
68251
 
+      while (((len = strlen (new_value)) > 0) && IS_PATH_SEPARATOR (new_value[len-1]))
68252
 
+        {
68253
 
+          new_value[len-1] = '\0';
68254
 
+        }
68255
 
+      lt_setenv (name, new_value);
68256
 
+      XFREE (new_value);
68257
 
+    }
68258
 
+}
68259
 
 
68260
 
-       exit $EXIT_SUCCESS
68261
 
-      fi
68262
 
+void
68263
 
+lt_update_lib_path (const char *name, const char *value)
68264
 
+{
68265
 
+  LTWRAPPER_DEBUGPRINTF (("(lt_update_lib_path) modifying '%s' by prepending '%s'\n",
68266
 
+                          (name ? name : "<NULL>"),
68267
 
+                          (value ? value : "<NULL>")));
68268
 
 
68269
 
-      if test "$build_libtool_libs" != yes; then
68270
 
-       if test -n "$gentop"; then
68271
 
-         $show "${rm}r $gentop"
68272
 
-         $run ${rm}r $gentop
68273
 
-       fi
68274
 
+  if (name && *name && value && *value)
68275
 
+    {
68276
 
+      char *new_value = lt_extend_str (getenv (name), value, 0);
68277
 
+      lt_setenv (name, new_value);
68278
 
+      XFREE (new_value);
68279
 
+    }
68280
 
+}
68281
 
 
68282
 
-       # Create an invalid libtool object if no PIC, so that we don't
68283
 
-       # accidentally link it into a program.
68284
 
-       # $show "echo timestamp > $libobj"
68285
 
-       # $run eval "echo timestamp > $libobj" || exit $?
68286
 
-       exit $EXIT_SUCCESS
68287
 
-      fi
68288
 
 
68289
 
-      if test -n "$pic_flag" || test "$pic_mode" != default; then
68290
 
-       # Only do commands if we really have different PIC objects.
68291
 
-       reload_objs="$libobjs $reload_conv_objs"
68292
 
-       output="$libobj"
68293
 
-       cmds=$reload_cmds
68294
 
-       save_ifs="$IFS"; IFS='~'
68295
 
-       for cmd in $cmds; do
68296
 
-         IFS="$save_ifs"
68297
 
-         eval cmd=\"$cmd\"
68298
 
-         $show "$cmd"
68299
 
-         $run eval "$cmd" || exit $?
68300
 
-       done
68301
 
-       IFS="$save_ifs"
68302
 
-      fi
68303
 
+EOF
68304
 
+}
68305
 
+# end: func_emit_cwrapperexe_src
68306
 
 
68307
 
-      if test -n "$gentop"; then
68308
 
-       $show "${rm}r $gentop"
68309
 
-       $run ${rm}r $gentop
68310
 
-      fi
68311
 
+# func_mode_link arg...
68312
 
+func_mode_link ()
68313
 
+{
68314
 
+    $opt_debug
68315
 
+    case $host in
68316
 
+    *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
68317
 
+      # It is impossible to link a dll without this setting, and
68318
 
+      # we shouldn't force the makefile maintainer to figure out
68319
 
+      # which system we are compiling for in order to pass an extra
68320
 
+      # flag for every libtool invocation.
68321
 
+      # allow_undefined=no
68322
 
 
68323
 
-      exit $EXIT_SUCCESS
68324
 
+      # FIXME: Unfortunately, there are problems with the above when trying
68325
 
+      # to make a dll which has undefined symbols, in which case not
68326
 
+      # even a static library is built.  For now, we need to specify
68327
 
+      # -no-undefined on the libtool link line when we can be certain
68328
 
+      # that all symbols are satisfied, otherwise we get a static library.
68329
 
+      allow_undefined=yes
68330
 
       ;;
68331
 
+    *)
68332
 
+      allow_undefined=yes
68333
 
+      ;;
68334
 
+    esac
68335
 
+    libtool_args=$nonopt
68336
 
+    base_compile="$nonopt $@"
68337
 
+    compile_command=$nonopt
68338
 
+    finalize_command=$nonopt
68339
 
 
68340
 
-    prog)
68341
 
-      case $host in
68342
 
-       *cygwin*) output=`$echo $output | ${SED} -e 's,.exe$,,;s,$,.exe,'` ;;
68343
 
-      esac
68344
 
-      if test -n "$vinfo"; then
68345
 
-       $echo "$modename: warning: \`-version-info' is ignored for programs" 1>&2
68346
 
-      fi
68347
 
-
68348
 
-      if test -n "$release"; then
68349
 
-       $echo "$modename: warning: \`-release' is ignored for programs" 1>&2
68350
 
-      fi
68351
 
+    compile_rpath=
68352
 
+    finalize_rpath=
68353
 
+    compile_shlibpath=
68354
 
+    finalize_shlibpath=
68355
 
+    convenience=
68356
 
+    old_convenience=
68357
 
+    deplibs=
68358
 
+    old_deplibs=
68359
 
+    compiler_flags=
68360
 
+    linker_flags=
68361
 
+    dllsearchpath=
68362
 
+    lib_search_path=`pwd`
68363
 
+    inst_prefix_dir=
68364
 
+    new_inherited_linker_flags=
68365
 
 
68366
 
-      if test "$preload" = yes; then
68367
 
-       if test "$dlopen_support" = unknown && test "$dlopen_self" = unknown &&
68368
 
-          test "$dlopen_self_static" = unknown; then
68369
 
-         $echo "$modename: warning: \`AC_LIBTOOL_DLOPEN' not used. Assuming no dlopen support."
68370
 
-       fi
68371
 
-      fi
68372
 
+    avoid_version=no
68373
 
+    dlfiles=
68374
 
+    dlprefiles=
68375
 
+    dlself=no
68376
 
+    export_dynamic=no
68377
 
+    export_symbols=
68378
 
+    export_symbols_regex=
68379
 
+    generated=
68380
 
+    libobjs=
68381
 
+    ltlibs=
68382
 
+    module=no
68383
 
+    no_install=no
68384
 
+    objs=
68385
 
+    non_pic_objects=
68386
 
+    precious_files_regex=
68387
 
+    prefer_static_libs=no
68388
 
+    preload=no
68389
 
+    prev=
68390
 
+    prevarg=
68391
 
+    release=
68392
 
+    rpath=
68393
 
+    xrpath=
68394
 
+    perm_rpath=
68395
 
+    temp_rpath=
68396
 
+    thread_safe=no
68397
 
+    vinfo=
68398
 
+    vinfo_number=no
68399
 
+    weak_libs=
68400
 
+    single_module="${wl}-single_module"
68401
 
+    func_infer_tag $base_compile
68402
 
 
68403
 
-      case $host in
68404
 
-      *-*-rhapsody* | *-*-darwin1.[012])
68405
 
-       # On Rhapsody replace the C library is the System framework
68406
 
-       compile_deplibs=`$echo "X $compile_deplibs" | $Xsed -e 's/ -lc / -framework System /'`
68407
 
-       finalize_deplibs=`$echo "X $finalize_deplibs" | $Xsed -e 's/ -lc / -framework System /'`
68408
 
+    # We need to know -static, to get the right output filenames.
68409
 
+    for arg
68410
 
+    do
68411
 
+      case $arg in
68412
 
+      -shared)
68413
 
+       test "$build_libtool_libs" != yes && \
68414
 
+         func_fatal_configuration "can not build a shared library"
68415
 
+       build_old_libs=no
68416
 
+       break
68417
 
+       ;;
68418
 
+      -all-static | -static | -static-libtool-libs)
68419
 
+       case $arg in
68420
 
+       -all-static)
68421
 
+         if test "$build_libtool_libs" = yes && test -z "$link_static_flag"; then
68422
 
+           func_warning "complete static linking is impossible in this configuration"
68423
 
+         fi
68424
 
+         if test -n "$link_static_flag"; then
68425
 
+           dlopen_self=$dlopen_self_static
68426
 
+         fi
68427
 
+         prefer_static_libs=yes
68428
 
+         ;;
68429
 
+       -static)
68430
 
+         if test -z "$pic_flag" && test -n "$link_static_flag"; then
68431
 
+           dlopen_self=$dlopen_self_static
68432
 
+         fi
68433
 
+         prefer_static_libs=built
68434
 
+         ;;
68435
 
+       -static-libtool-libs)
68436
 
+         if test -z "$pic_flag" && test -n "$link_static_flag"; then
68437
 
+           dlopen_self=$dlopen_self_static
68438
 
+         fi
68439
 
+         prefer_static_libs=yes
68440
 
+         ;;
68441
 
+       esac
68442
 
+       build_libtool_libs=no
68443
 
+       build_old_libs=yes
68444
 
+       break
68445
 
        ;;
68446
 
       esac
68447
 
+    done
68448
 
 
68449
 
-      case $host in
68450
 
-      *darwin*)
68451
 
-        # Don't allow lazy linking, it breaks C++ global constructors
68452
 
-        if test "$tagname" = CXX ; then
68453
 
-        compile_command="$compile_command ${wl}-bind_at_load"
68454
 
-        finalize_command="$finalize_command ${wl}-bind_at_load"
68455
 
-        fi
68456
 
-        ;;
68457
 
-      esac
68458
 
+    # See if our shared archives depend on static archives.
68459
 
+    test -n "$old_archive_from_new_cmds" && build_old_libs=yes
68460
 
 
68461
 
+    # Go through the arguments, transforming them on the way.
68462
 
+    while test "$#" -gt 0; do
68463
 
+      arg="$1"
68464
 
+      shift
68465
 
+      func_quote_for_eval "$arg"
68466
 
+      qarg=$func_quote_for_eval_unquoted_result
68467
 
+      func_append libtool_args " $func_quote_for_eval_result"
68468
 
 
68469
 
-      # move library search paths that coincide with paths to not yet
68470
 
-      # installed libraries to the beginning of the library search list
68471
 
-      new_libs=
68472
 
-      for path in $notinst_path; do
68473
 
-       case " $new_libs " in
68474
 
-       *" -L$path/$objdir "*) ;;
68475
 
-       *)
68476
 
-         case " $compile_deplibs " in
68477
 
-         *" -L$path/$objdir "*)
68478
 
-           new_libs="$new_libs -L$path/$objdir" ;;
68479
 
-         esac
68480
 
-         ;;
68481
 
-       esac
68482
 
-      done
68483
 
-      for deplib in $compile_deplibs; do
68484
 
-       case $deplib in
68485
 
-       -L*)
68486
 
-         case " $new_libs " in
68487
 
-         *" $deplib "*) ;;
68488
 
-         *) new_libs="$new_libs $deplib" ;;
68489
 
-         esac
68490
 
+      # If the previous option needs an argument, assign it.
68491
 
+      if test -n "$prev"; then
68492
 
+       case $prev in
68493
 
+       output)
68494
 
+         func_append compile_command " @OUTPUT@"
68495
 
+         func_append finalize_command " @OUTPUT@"
68496
 
          ;;
68497
 
-       *) new_libs="$new_libs $deplib" ;;
68498
 
        esac
68499
 
-      done
68500
 
-      compile_deplibs="$new_libs"
68501
 
 
68502
 
-
68503
 
-      compile_command="$compile_command $compile_deplibs"
68504
 
-      finalize_command="$finalize_command $finalize_deplibs"
68505
 
-
68506
 
-      if test -n "$rpath$xrpath"; then
68507
 
-       # If the user specified any rpath flags, then add them.
68508
 
-       for libdir in $rpath $xrpath; do
68509
 
-         # This is the magic to use -rpath.
68510
 
-         case "$finalize_rpath " in
68511
 
-         *" $libdir "*) ;;
68512
 
-         *) finalize_rpath="$finalize_rpath $libdir" ;;
68513
 
-         esac
68514
 
-       done
68515
 
-      fi
68516
 
-
68517
 
-      # Now hardcode the library paths
68518
 
-      rpath=
68519
 
-      hardcode_libdirs=
68520
 
-      for libdir in $compile_rpath $finalize_rpath; do
68521
 
-       if test -n "$hardcode_libdir_flag_spec"; then
68522
 
-         if test -n "$hardcode_libdir_separator"; then
68523
 
-           if test -z "$hardcode_libdirs"; then
68524
 
-             hardcode_libdirs="$libdir"
68525
 
+       case $prev in
68526
 
+       dlfiles|dlprefiles)
68527
 
+         if test "$preload" = no; then
68528
 
+           # Add the symbol object into the linking commands.
68529
 
+           func_append compile_command " @SYMFILE@"
68530
 
+           func_append finalize_command " @SYMFILE@"
68531
 
+           preload=yes
68532
 
+         fi
68533
 
+         case $arg in
68534
 
+         *.la | *.lo) ;;  # We handle these cases below.
68535
 
+         force)
68536
 
+           if test "$dlself" = no; then
68537
 
+             dlself=needless
68538
 
+             export_dynamic=yes
68539
 
+           fi
68540
 
+           prev=
68541
 
+           continue
68542
 
+           ;;
68543
 
+         self)
68544
 
+           if test "$prev" = dlprefiles; then
68545
 
+             dlself=yes
68546
 
+           elif test "$prev" = dlfiles && test "$dlopen_self" != yes; then
68547
 
+             dlself=yes
68548
 
            else
68549
 
-             # Just accumulate the unique libdirs.
68550
 
-             case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
68551
 
-             *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
68552
 
-               ;;
68553
 
-             *)
68554
 
-               hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
68555
 
-               ;;
68556
 
-             esac
68557
 
+             dlself=needless
68558
 
+             export_dynamic=yes
68559
 
            fi
68560
 
-         else
68561
 
-           eval flag=\"$hardcode_libdir_flag_spec\"
68562
 
-           rpath="$rpath $flag"
68563
 
-         fi
68564
 
-       elif test -n "$runpath_var"; then
68565
 
-         case "$perm_rpath " in
68566
 
-         *" $libdir "*) ;;
68567
 
-         *) perm_rpath="$perm_rpath $libdir" ;;
68568
 
-         esac
68569
 
-       fi
68570
 
-       case $host in
68571
 
-       *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
68572
 
-         testbindir=`$echo "X$libdir" | $Xsed -e 's*/lib$*/bin*'`
68573
 
-         case :$dllsearchpath: in
68574
 
-         *":$libdir:"*) ;;
68575
 
-         *) dllsearchpath="$dllsearchpath:$libdir";;
68576
 
-         esac
68577
 
-         case :$dllsearchpath: in
68578
 
-         *":$testbindir:"*) ;;
68579
 
-         *) dllsearchpath="$dllsearchpath:$testbindir";;
68580
 
+           prev=
68581
 
+           continue
68582
 
+           ;;
68583
 
+         *)
68584
 
+           if test "$prev" = dlfiles; then
68585
 
+             dlfiles="$dlfiles $arg"
68586
 
+           else
68587
 
+             dlprefiles="$dlprefiles $arg"
68588
 
+           fi
68589
 
+           prev=
68590
 
+           continue
68591
 
+           ;;
68592
 
          esac
68593
 
          ;;
68594
 
-       esac
68595
 
-      done
68596
 
-      # Substitute the hardcoded libdirs into the rpath.
68597
 
-      if test -n "$hardcode_libdir_separator" &&
68598
 
-        test -n "$hardcode_libdirs"; then
68599
 
-       libdir="$hardcode_libdirs"
68600
 
-       eval rpath=\" $hardcode_libdir_flag_spec\"
68601
 
-      fi
68602
 
-      compile_rpath="$rpath"
68603
 
-
68604
 
-      rpath=
68605
 
-      hardcode_libdirs=
68606
 
-      for libdir in $finalize_rpath; do
68607
 
-       if test -n "$hardcode_libdir_flag_spec"; then
68608
 
-         if test -n "$hardcode_libdir_separator"; then
68609
 
-           if test -z "$hardcode_libdirs"; then
68610
 
-             hardcode_libdirs="$libdir"
68611
 
-           else
68612
 
-             # Just accumulate the unique libdirs.
68613
 
-             case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
68614
 
-             *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
68615
 
-               ;;
68616
 
-             *)
68617
 
-               hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
68618
 
-               ;;
68619
 
+       expsyms)
68620
 
+         export_symbols="$arg"
68621
 
+         test -f "$arg" \
68622
 
+           || func_fatal_error "symbol file \`$arg' does not exist"
68623
 
+         prev=
68624
 
+         continue
68625
 
+         ;;
68626
 
+       expsyms_regex)
68627
 
+         export_symbols_regex="$arg"
68628
 
+         prev=
68629
 
+         continue
68630
 
+         ;;
68631
 
+       framework)
68632
 
+         case $host in
68633
 
+           *-*-darwin*)
68634
 
+             case "$deplibs " in
68635
 
+               *" $qarg.ltframework "*) ;;
68636
 
+               *) deplibs="$deplibs $qarg.ltframework" # this is fixed later
68637
 
+                  ;;
68638
 
              esac
68639
 
-           fi
68640
 
-         else
68641
 
-           eval flag=\"$hardcode_libdir_flag_spec\"
68642
 
-           rpath="$rpath $flag"
68643
 
-         fi
68644
 
-       elif test -n "$runpath_var"; then
68645
 
-         case "$finalize_perm_rpath " in
68646
 
-         *" $libdir "*) ;;
68647
 
-         *) finalize_perm_rpath="$finalize_perm_rpath $libdir" ;;
68648
 
+             ;;
68649
 
          esac
68650
 
-       fi
68651
 
-      done
68652
 
-      # Substitute the hardcoded libdirs into the rpath.
68653
 
-      if test -n "$hardcode_libdir_separator" &&
68654
 
-        test -n "$hardcode_libdirs"; then
68655
 
-       libdir="$hardcode_libdirs"
68656
 
-       eval rpath=\" $hardcode_libdir_flag_spec\"
68657
 
-      fi
68658
 
-      finalize_rpath="$rpath"
68659
 
-
68660
 
-      if test -n "$libobjs" && test "$build_old_libs" = yes; then
68661
 
-       # Transform all the library objects into standard objects.
68662
 
-       compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
68663
 
-       finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
68664
 
-      fi
68665
 
+         prev=
68666
 
+         continue
68667
 
+         ;;
68668
 
+       inst_prefix)
68669
 
+         inst_prefix_dir="$arg"
68670
 
+         prev=
68671
 
+         continue
68672
 
+         ;;
68673
 
+       objectlist)
68674
 
+         if test -f "$arg"; then
68675
 
+           save_arg=$arg
68676
 
+           moreargs=
68677
 
+           for fil in `cat "$save_arg"`
68678
 
+           do
68679
 
+#            moreargs="$moreargs $fil"
68680
 
+             arg=$fil
68681
 
+             # A libtool-controlled object.
68682
 
 
68683
 
-      dlsyms=
68684
 
-      if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
68685
 
-       if test -n "$NM" && test -n "$global_symbol_pipe"; then
68686
 
-         dlsyms="${outputname}S.c"
68687
 
-       else
68688
 
-         $echo "$modename: not configured to extract global symbols from dlpreopened files" 1>&2
68689
 
-       fi
68690
 
-      fi
68691
 
+             # Check to see that this really is a libtool object.
68692
 
+             if func_lalib_unsafe_p "$arg"; then
68693
 
+               pic_object=
68694
 
+               non_pic_object=
68695
 
 
68696
 
-      if test -n "$dlsyms"; then
68697
 
-       case $dlsyms in
68698
 
-       "") ;;
68699
 
-       *.c)
68700
 
-         # Discover the nlist of each of the dlfiles.
68701
 
-         nlist="$output_objdir/${outputname}.nm"
68702
 
+               # Read the .lo file
68703
 
+               func_source "$arg"
68704
 
 
68705
 
-         $show "$rm $nlist ${nlist}S ${nlist}T"
68706
 
-         $run $rm "$nlist" "${nlist}S" "${nlist}T"
68707
 
+               if test -z "$pic_object" ||
68708
 
+                  test -z "$non_pic_object" ||
68709
 
+                  test "$pic_object" = none &&
68710
 
+                  test "$non_pic_object" = none; then
68711
 
+                 func_fatal_error "cannot find name of object for \`$arg'"
68712
 
+               fi
68713
 
 
68714
 
-         # Parse the name list into a source file.
68715
 
-         $show "creating $output_objdir/$dlsyms"
68716
 
+               # Extract subdirectory from the argument.
68717
 
+               func_dirname "$arg" "/" ""
68718
 
+               xdir="$func_dirname_result"
68719
 
 
68720
 
-         test -z "$run" && $echo > "$output_objdir/$dlsyms" "\
68721
 
-/* $dlsyms - symbol resolution table for \`$outputname' dlsym emulation. */
68722
 
-/* Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP */
68723
 
+               if test "$pic_object" != none; then
68724
 
+                 # Prepend the subdirectory the object is found in.
68725
 
+                 pic_object="$xdir$pic_object"
68726
 
 
68727
 
-#ifdef __cplusplus
68728
 
-extern \"C\" {
68729
 
-#endif
68730
 
+                 if test "$prev" = dlfiles; then
68731
 
+                   if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
68732
 
+                     dlfiles="$dlfiles $pic_object"
68733
 
+                     prev=
68734
 
+                     continue
68735
 
+                   else
68736
 
+                     # If libtool objects are unsupported, then we need to preload.
68737
 
+                     prev=dlprefiles
68738
 
+                   fi
68739
 
+                 fi
68740
 
 
68741
 
-/* Prevent the only kind of declaration conflicts we can make. */
68742
 
-#define lt_preloaded_symbols some_other_symbol
68743
 
+                 # CHECK ME:  I think I busted this.  -Ossama
68744
 
+                 if test "$prev" = dlprefiles; then
68745
 
+                   # Preload the old-style object.
68746
 
+                   dlprefiles="$dlprefiles $pic_object"
68747
 
+                   prev=
68748
 
+                 fi
68749
 
 
68750
 
-/* External symbol declarations for the compiler. */\
68751
 
-"
68752
 
+                 # A PIC object.
68753
 
+                 func_append libobjs " $pic_object"
68754
 
+                 arg="$pic_object"
68755
 
+               fi
68756
 
 
68757
 
-         if test "$dlself" = yes; then
68758
 
-           $show "generating symbol list for \`$output'"
68759
 
+               # Non-PIC object.
68760
 
+               if test "$non_pic_object" != none; then
68761
 
+                 # Prepend the subdirectory the object is found in.
68762
 
+                 non_pic_object="$xdir$non_pic_object"
68763
 
 
68764
 
-           test -z "$run" && $echo ': @PROGRAM@ ' > "$nlist"
68765
 
+                 # A standard non-PIC object
68766
 
+                 func_append non_pic_objects " $non_pic_object"
68767
 
+                 if test -z "$pic_object" || test "$pic_object" = none ; then
68768
 
+                   arg="$non_pic_object"
68769
 
+                 fi
68770
 
+               else
68771
 
+                 # If the PIC object exists, use it instead.
68772
 
+                 # $xdir was prepended to $pic_object above.
68773
 
+                 non_pic_object="$pic_object"
68774
 
+                 func_append non_pic_objects " $non_pic_object"
68775
 
+               fi
68776
 
+             else
68777
 
+               # Only an error if not doing a dry-run.
68778
 
+               if $opt_dry_run; then
68779
 
+                 # Extract subdirectory from the argument.
68780
 
+                 func_dirname "$arg" "/" ""
68781
 
+                 xdir="$func_dirname_result"
68782
 
 
68783
 
-           # Add our own program objects to the symbol list.
68784
 
-           progfiles=`$echo "X$objs$old_deplibs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
68785
 
-           for arg in $progfiles; do
68786
 
-             $show "extracting global C symbols from \`$arg'"
68787
 
-             $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'"
68788
 
+                 func_lo2o "$arg"
68789
 
+                 pic_object=$xdir$objdir/$func_lo2o_result
68790
 
+                 non_pic_object=$xdir$func_lo2o_result
68791
 
+                 func_append libobjs " $pic_object"
68792
 
+                 func_append non_pic_objects " $non_pic_object"
68793
 
+               else
68794
 
+                 func_fatal_error "\`$arg' is not a valid libtool object"
68795
 
+               fi
68796
 
+             fi
68797
 
            done
68798
 
-
68799
 
-           if test -n "$exclude_expsyms"; then
68800
 
-             $run eval '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T'
68801
 
-             $run eval '$mv "$nlist"T "$nlist"'
68802
 
-           fi
68803
 
-
68804
 
-           if test -n "$export_symbols_regex"; then
68805
 
-             $run eval '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T'
68806
 
-             $run eval '$mv "$nlist"T "$nlist"'
68807
 
-           fi
68808
 
-
68809
 
-           # Prepare the list of exported symbols
68810
 
-           if test -z "$export_symbols"; then
68811
 
-             export_symbols="$output_objdir/$outputname.exp"
68812
 
-             $run $rm $export_symbols
68813
 
-             $run eval "${SED} -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
68814
 
-              case $host in
68815
 
-              *cygwin* | *mingw* )
68816
 
-               $run eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
68817
 
-               $run eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"'
68818
 
-                ;;
68819
 
-              esac
68820
 
-           else
68821
 
-             $run eval "${SED} -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"'
68822
 
-             $run eval 'grep -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T'
68823
 
-             $run eval 'mv "$nlist"T "$nlist"'
68824
 
-              case $host in
68825
 
-              *cygwin* | *mingw* )
68826
 
-               $run eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
68827
 
-               $run eval 'cat "$nlist" >> "$output_objdir/$outputname.def"'
68828
 
-                ;;
68829
 
-              esac
68830
 
-           fi
68831
 
+         else
68832
 
+           func_fatal_error "link input file \`$arg' does not exist"
68833
 
          fi
68834
 
-
68835
 
-         for arg in $dlprefiles; do
68836
 
-           $show "extracting global C symbols from \`$arg'"
68837
 
-           name=`$echo "$arg" | ${SED} -e 's%^.*/%%'`
68838
 
-           $run eval '$echo ": $name " >> "$nlist"'
68839
 
-           $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'"
68840
 
-         done
68841
 
-
68842
 
-         if test -z "$run"; then
68843
 
-           # Make sure we have at least an empty file.
68844
 
-           test -f "$nlist" || : > "$nlist"
68845
 
-
68846
 
-           if test -n "$exclude_expsyms"; then
68847
 
-             $EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T
68848
 
-             $mv "$nlist"T "$nlist"
68849
 
-           fi
68850
 
-
68851
 
-           # Try sorting and uniquifying the output.
68852
 
-           if grep -v "^: " < "$nlist" |
68853
 
-               if sort -k 3 </dev/null >/dev/null 2>&1; then
68854
 
-                 sort -k 3
68855
 
-               else
68856
 
-                 sort +2
68857
 
-               fi |
68858
 
-               uniq > "$nlist"S; then
68859
 
-             :
68860
 
-           else
68861
 
-             grep -v "^: " < "$nlist" > "$nlist"S
68862
 
-           fi
68863
 
-
68864
 
-           if test -f "$nlist"S; then
68865
 
-             eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$dlsyms"'
68866
 
-           else
68867
 
-             $echo '/* NONE */' >> "$output_objdir/$dlsyms"
68868
 
-           fi
68869
 
-
68870
 
-           $echo >> "$output_objdir/$dlsyms" "\
68871
 
-
68872
 
-#undef lt_preloaded_symbols
68873
 
-
68874
 
-#if defined (__STDC__) && __STDC__
68875
 
-# define lt_ptr void *
68876
 
-#else
68877
 
-# define lt_ptr char *
68878
 
-# define const
68879
 
-#endif
68880
 
-
68881
 
-/* The mapping between symbol names and symbols. */
68882
 
-"
68883
 
-
68884
 
-           case $host in
68885
 
-           *cygwin* | *mingw* )
68886
 
-         $echo >> "$output_objdir/$dlsyms" "\
68887
 
-/* DATA imports from DLLs on WIN32 can't be const, because
68888
 
-   runtime relocations are performed -- see ld's documentation
68889
 
-   on pseudo-relocs */
68890
 
-struct {
68891
 
-"
68892
 
-             ;;
68893
 
-           * )
68894
 
-         $echo >> "$output_objdir/$dlsyms" "\
68895
 
-const struct {
68896
 
-"
68897
 
-             ;;
68898
 
-           esac
68899
 
-
68900
 
-
68901
 
-         $echo >> "$output_objdir/$dlsyms" "\
68902
 
-  const char *name;
68903
 
-  lt_ptr address;
68904
 
-}
68905
 
-lt_preloaded_symbols[] =
68906
 
-{\
68907
 
-"
68908
 
-
68909
 
-           eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$dlsyms"
68910
 
-
68911
 
-           $echo >> "$output_objdir/$dlsyms" "\
68912
 
-  {0, (lt_ptr) 0}
68913
 
-};
68914
 
-
68915
 
-/* This works around a problem in FreeBSD linker */
68916
 
-#ifdef FREEBSD_WORKAROUND
68917
 
-static const void *lt_preloaded_setup() {
68918
 
-  return lt_preloaded_symbols;
68919
 
-}
68920
 
-#endif
68921
 
-
68922
 
-#ifdef __cplusplus
68923
 
-}
68924
 
-#endif\
68925
 
-"
68926
 
-         fi
68927
 
-
68928
 
-         pic_flag_for_symtable=
68929
 
-         case $host in
68930
 
-         # compiling the symbol table file with pic_flag works around
68931
 
-         # a FreeBSD bug that causes programs to crash when -lm is
68932
 
-         # linked before any other PIC object.  But we must not use
68933
 
-         # pic_flag when linking with -static.  The problem exists in
68934
 
-         # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1.
68935
 
-         *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
68936
 
-           case "$compile_command " in
68937
 
-           *" -static "*) ;;
68938
 
-           *) pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND";;
68939
 
-           esac;;
68940
 
-         *-*-hpux*)
68941
 
-           case "$compile_command " in
68942
 
-           *" -static "*) ;;
68943
 
-           *) pic_flag_for_symtable=" $pic_flag";;
68944
 
-           esac
68945
 
+         arg=$save_arg
68946
 
+         prev=
68947
 
+         continue
68948
 
+         ;;
68949
 
+       precious_regex)
68950
 
+         precious_files_regex="$arg"
68951
 
+         prev=
68952
 
+         continue
68953
 
+         ;;
68954
 
+       release)
68955
 
+         release="-$arg"
68956
 
+         prev=
68957
 
+         continue
68958
 
+         ;;
68959
 
+       rpath | xrpath)
68960
 
+         # We need an absolute path.
68961
 
+         case $arg in
68962
 
+         [\\/]* | [A-Za-z]:[\\/]*) ;;
68963
 
+         *)
68964
 
+           func_fatal_error "only absolute run-paths are allowed"
68965
 
+           ;;
68966
 
          esac
68967
 
-
68968
 
-         # Now compile the dynamic symbol file.
68969
 
-         $show "(cd $output_objdir && $LTCC  $LTCFLAGS -c$no_builtin_flag$pic_flag_for_symtable \"$dlsyms\")"
68970
 
-         $run eval '(cd $output_objdir && $LTCC  $LTCFLAGS -c$no_builtin_flag$pic_flag_for_symtable "$dlsyms")' || exit $?
68971
 
-
68972
 
-         # Clean up the generated files.
68973
 
-         $show "$rm $output_objdir/$dlsyms $nlist ${nlist}S ${nlist}T"
68974
 
-         $run $rm "$output_objdir/$dlsyms" "$nlist" "${nlist}S" "${nlist}T"
68975
 
-
68976
 
-         # Transform the symbol file into the correct name.
68977
 
-          case $host in
68978
 
-          *cygwin* | *mingw* )
68979
 
-            if test -f "$output_objdir/${outputname}.def" ; then
68980
 
-              compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%" | $NL2SP`
68981
 
-              finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%" | $NL2SP`
68982
 
-            else
68983
 
-              compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP`
68984
 
-              finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP`
68985
 
-             fi
68986
 
-            ;;
68987
 
-          * )
68988
 
-            compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP`
68989
 
-            finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP`
68990
 
-            ;;
68991
 
-          esac
68992
 
+         if test "$prev" = rpath; then
68993
 
+           case "$rpath " in
68994
 
+           *" $arg "*) ;;
68995
 
+           *) rpath="$rpath $arg" ;;
68996
 
+           esac
68997
 
+         else
68998
 
+           case "$xrpath " in
68999
 
+           *" $arg "*) ;;
69000
 
+           *) xrpath="$xrpath $arg" ;;
69001
 
+           esac
69002
 
+         fi
69003
 
+         prev=
69004
 
+         continue
69005
 
+         ;;
69006
 
+       shrext)
69007
 
+         shrext_cmds="$arg"
69008
 
+         prev=
69009
 
+         continue
69010
 
+         ;;
69011
 
+       weak)
69012
 
+         weak_libs="$weak_libs $arg"
69013
 
+         prev=
69014
 
+         continue
69015
 
+         ;;
69016
 
+       xcclinker)
69017
 
+         linker_flags="$linker_flags $qarg"
69018
 
+         compiler_flags="$compiler_flags $qarg"
69019
 
+         prev=
69020
 
+         func_append compile_command " $qarg"
69021
 
+         func_append finalize_command " $qarg"
69022
 
+         continue
69023
 
+         ;;
69024
 
+       xcompiler)
69025
 
+         compiler_flags="$compiler_flags $qarg"
69026
 
+         prev=
69027
 
+         func_append compile_command " $qarg"
69028
 
+         func_append finalize_command " $qarg"
69029
 
+         continue
69030
 
+         ;;
69031
 
+       xlinker)
69032
 
+         linker_flags="$linker_flags $qarg"
69033
 
+         compiler_flags="$compiler_flags $wl$qarg"
69034
 
+         prev=
69035
 
+         func_append compile_command " $wl$qarg"
69036
 
+         func_append finalize_command " $wl$qarg"
69037
 
+         continue
69038
 
          ;;
69039
 
        *)
69040
 
-         $echo "$modename: unknown suffix for \`$dlsyms'" 1>&2
69041
 
-         exit $EXIT_FAILURE
69042
 
+         eval "$prev=\"\$arg\""
69043
 
+         prev=
69044
 
+         continue
69045
 
          ;;
69046
 
        esac
69047
 
-      else
69048
 
-       # We keep going just in case the user didn't refer to
69049
 
-       # lt_preloaded_symbols.  The linker will fail if global_symbol_pipe
69050
 
-       # really was required.
69051
 
-
69052
 
-       # Nullify the symbol file.
69053
 
-       compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s% @SYMFILE@%%" | $NL2SP`
69054
 
-       finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s% @SYMFILE@%%" | $NL2SP`
69055
 
-      fi
69056
 
-
69057
 
-      if test "$need_relink" = no || test "$build_libtool_libs" != yes; then
69058
 
-       # Replace the output file specification.
69059
 
-       compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e 's%@OUTPUT@%'"$output"'%g' | $NL2SP`
69060
 
-       link_command="$compile_command$compile_rpath"
69061
 
+      fi # test -n "$prev"
69062
 
 
69063
 
-       # We have no uninstalled library dependencies, so finalize right now.
69064
 
-       $show "$link_command"
69065
 
-       $run eval "$link_command"
69066
 
-       exit_status=$?
69067
 
+      prevarg="$arg"
69068
 
 
69069
 
-       # Delete the generated files.
69070
 
-       if test -n "$dlsyms"; then
69071
 
-         $show "$rm $output_objdir/${outputname}S.${objext}"
69072
 
-         $run $rm "$output_objdir/${outputname}S.${objext}"
69073
 
+      case $arg in
69074
 
+      -all-static)
69075
 
+       if test -n "$link_static_flag"; then
69076
 
+         # See comment for -static flag below, for more details.
69077
 
+         func_append compile_command " $link_static_flag"
69078
 
+         func_append finalize_command " $link_static_flag"
69079
 
        fi
69080
 
+       continue
69081
 
+       ;;
69082
 
 
69083
 
-       exit $exit_status
69084
 
-      fi
69085
 
-
69086
 
-      if test -n "$shlibpath_var"; then
69087
 
-       # We should set the shlibpath_var
69088
 
-       rpath=
69089
 
-       for dir in $temp_rpath; do
69090
 
-         case $dir in
69091
 
-         [\\/]* | [A-Za-z]:[\\/]*)
69092
 
-           # Absolute path.
69093
 
-           rpath="$rpath$dir:"
69094
 
-           ;;
69095
 
-         *)
69096
 
-           # Relative path: add a thisdir entry.
69097
 
-           rpath="$rpath\$thisdir/$dir:"
69098
 
-           ;;
69099
 
-         esac
69100
 
-       done
69101
 
-       temp_rpath="$rpath"
69102
 
-      fi
69103
 
+      -allow-undefined)
69104
 
+       # FIXME: remove this flag sometime in the future.
69105
 
+       func_fatal_error "\`-allow-undefined' must not be used because it is the default"
69106
 
+       ;;
69107
 
 
69108
 
-      if test -n "$compile_shlibpath$finalize_shlibpath"; then
69109
 
-       compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command"
69110
 
-      fi
69111
 
-      if test -n "$finalize_shlibpath"; then
69112
 
-       finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command"
69113
 
-      fi
69114
 
+      -avoid-version)
69115
 
+       avoid_version=yes
69116
 
+       continue
69117
 
+       ;;
69118
 
 
69119
 
-      compile_var=
69120
 
-      finalize_var=
69121
 
-      if test -n "$runpath_var"; then
69122
 
-       if test -n "$perm_rpath"; then
69123
 
-         # We should set the runpath_var.
69124
 
-         rpath=
69125
 
-         for dir in $perm_rpath; do
69126
 
-           rpath="$rpath$dir:"
69127
 
-         done
69128
 
-         compile_var="$runpath_var=\"$rpath\$$runpath_var\" "
69129
 
-       fi
69130
 
-       if test -n "$finalize_perm_rpath"; then
69131
 
-         # We should set the runpath_var.
69132
 
-         rpath=
69133
 
-         for dir in $finalize_perm_rpath; do
69134
 
-           rpath="$rpath$dir:"
69135
 
-         done
69136
 
-         finalize_var="$runpath_var=\"$rpath\$$runpath_var\" "
69137
 
-       fi
69138
 
-      fi
69139
 
+      -dlopen)
69140
 
+       prev=dlfiles
69141
 
+       continue
69142
 
+       ;;
69143
 
 
69144
 
-      if test "$no_install" = yes; then
69145
 
-       # We don't need to create a wrapper script.
69146
 
-       link_command="$compile_var$compile_command$compile_rpath"
69147
 
-       # Replace the output file specification.
69148
 
-       link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
69149
 
-       # Delete the old output file.
69150
 
-       $run $rm $output
69151
 
-       # Link the executable and exit
69152
 
-       $show "$link_command"
69153
 
-       $run eval "$link_command" || exit $?
69154
 
-       exit $EXIT_SUCCESS
69155
 
-      fi
69156
 
+      -dlpreopen)
69157
 
+       prev=dlprefiles
69158
 
+       continue
69159
 
+       ;;
69160
 
 
69161
 
-      if test "$hardcode_action" = relink; then
69162
 
-       # Fast installation is not supported
69163
 
-       link_command="$compile_var$compile_command$compile_rpath"
69164
 
-       relink_command="$finalize_var$finalize_command$finalize_rpath"
69165
 
+      -export-dynamic)
69166
 
+       export_dynamic=yes
69167
 
+       continue
69168
 
+       ;;
69169
 
 
69170
 
-       $echo "$modename: warning: this platform does not like uninstalled shared libraries" 1>&2
69171
 
-       $echo "$modename: \`$output' will be relinked during installation" 1>&2
69172
 
-      else
69173
 
-       if test "$fast_install" != no; then
69174
 
-         link_command="$finalize_var$compile_command$finalize_rpath"
69175
 
-         if test "$fast_install" = yes; then
69176
 
-           relink_command=`$echo "X$compile_var$compile_command$compile_rpath" | $SP2NL | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g' | $NL2SP`
69177
 
-         else
69178
 
-           # fast_install is set to needless
69179
 
-           relink_command=
69180
 
-         fi
69181
 
+      -export-symbols | -export-symbols-regex)
69182
 
+       if test -n "$export_symbols" || test -n "$export_symbols_regex"; then
69183
 
+         func_fatal_error "more than one -exported-symbols argument is not allowed"
69184
 
+       fi
69185
 
+       if test "X$arg" = "X-export-symbols"; then
69186
 
+         prev=expsyms
69187
 
        else
69188
 
-         link_command="$compile_var$compile_command$compile_rpath"
69189
 
-         relink_command="$finalize_var$finalize_command$finalize_rpath"
69190
 
+         prev=expsyms_regex
69191
 
        fi
69192
 
-      fi
69193
 
-
69194
 
-      # Replace the output file specification.
69195
 
-      link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'`
69196
 
+       continue
69197
 
+       ;;
69198
 
 
69199
 
-      # Delete the old output files.
69200
 
-      $run $rm $output $output_objdir/$outputname $output_objdir/lt-$outputname
69201
 
+      -framework)
69202
 
+       prev=framework
69203
 
+       continue
69204
 
+       ;;
69205
 
 
69206
 
-      $show "$link_command"
69207
 
-      $run eval "$link_command" || exit $?
69208
 
+      -inst-prefix-dir)
69209
 
+       prev=inst_prefix
69210
 
+       continue
69211
 
+       ;;
69212
 
 
69213
 
-      # Now create the wrapper script.
69214
 
-      $show "creating $output"
69215
 
+      # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:*
69216
 
+      # so, if we see these flags be careful not to treat them like -L
69217
 
+      -L[A-Z][A-Z]*:*)
69218
 
+       case $with_gcc/$host in
69219
 
+       no/*-*-irix* | /*-*-irix*)
69220
 
+         func_append compile_command " $arg"
69221
 
+         func_append finalize_command " $arg"
69222
 
+         ;;
69223
 
+       esac
69224
 
+       continue
69225
 
+       ;;
69226
 
 
69227
 
-      # Quote the relink command for shipping.
69228
 
-      if test -n "$relink_command"; then
69229
 
-       # Preserve any variables that may affect compiler behavior
69230
 
-       for var in $variables_saved_for_relink; do
69231
 
-         if eval test -z \"\${$var+set}\"; then
69232
 
-           relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command"
69233
 
-         elif eval var_value=\$$var; test -z "$var_value"; then
69234
 
-           relink_command="$var=; export $var; $relink_command"
69235
 
+      -L*)
69236
 
+       func_stripname '-L' '' "$arg"
69237
 
+       dir=$func_stripname_result
69238
 
+       if test -z "$dir"; then
69239
 
+         if test "$#" -gt 0; then
69240
 
+           func_fatal_error "require no space between \`-L' and \`$1'"
69241
 
          else
69242
 
-           var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"`
69243
 
-           relink_command="$var=\"$var_value\"; export $var; $relink_command"
69244
 
+           func_fatal_error "need path for \`-L' option"
69245
 
          fi
69246
 
-       done
69247
 
-       relink_command="(cd `pwd`; $relink_command)"
69248
 
-       relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e "$sed_quote_subst" | $NL2SP`
69249
 
-      fi
69250
 
-
69251
 
-      # Quote $echo for shipping.
69252
 
-      if test "X$echo" = "X$SHELL $progpath --fallback-echo"; then
69253
 
-       case $progpath in
69254
 
-       [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $progpath --fallback-echo";;
69255
 
-       *) qecho="$SHELL `pwd`/$progpath --fallback-echo";;
69256
 
+       fi
69257
 
+       # We need an absolute path.
69258
 
+       case $dir in
69259
 
+       [\\/]* | [A-Za-z]:[\\/]*) ;;
69260
 
+       *)
69261
 
+         absdir=`cd "$dir" && pwd`
69262
 
+         test -z "$absdir" && \
69263
 
+           func_fatal_error "cannot determine absolute directory name of \`$dir'"
69264
 
+         dir="$absdir"
69265
 
+         ;;
69266
 
        esac
69267
 
-       qecho=`$echo "X$qecho" | $Xsed -e "$sed_quote_subst"`
69268
 
-      else
69269
 
-       qecho=`$echo "X$echo" | $Xsed -e "$sed_quote_subst"`
69270
 
-      fi
69271
 
-
69272
 
-      # Only actually do things if our run command is non-null.
69273
 
-      if test -z "$run"; then
69274
 
-       # win32 will think the script is a binary if it has
69275
 
-       # a .exe suffix, so we strip it off here.
69276
 
-       case $output in
69277
 
-         *.exe) output=`$echo $output|${SED} 's,.exe$,,'` ;;
69278
 
+       case "$deplibs " in
69279
 
+       *" -L$dir "*) ;;
69280
 
+       *)
69281
 
+         deplibs="$deplibs -L$dir"
69282
 
+         lib_search_path="$lib_search_path $dir"
69283
 
+         ;;
69284
 
        esac
69285
 
-       # test for cygwin because mv fails w/o .exe extensions
69286
 
        case $host in
69287
 
-         *cygwin*)
69288
 
-           exeext=.exe
69289
 
-           outputname=`$echo $outputname|${SED} 's,.exe$,,'` ;;
69290
 
-         *) exeext= ;;
69291
 
+       *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
69292
 
+         testbindir=`$ECHO "X$dir" | $Xsed -e 's*/lib$*/bin*'`
69293
 
+         case :$dllsearchpath: in
69294
 
+         *":$dir:"*) ;;
69295
 
+         ::) dllsearchpath=$dir;;
69296
 
+         *) dllsearchpath="$dllsearchpath:$dir";;
69297
 
+         esac
69298
 
+         case :$dllsearchpath: in
69299
 
+         *":$testbindir:"*) ;;
69300
 
+         ::) dllsearchpath=$testbindir;;
69301
 
+         *) dllsearchpath="$dllsearchpath:$testbindir";;
69302
 
+         esac
69303
 
+         ;;
69304
 
        esac
69305
 
-       case $host in
69306
 
-         *cygwin* | *mingw* )
69307
 
-            output_name=`basename $output`
69308
 
-            output_path=`dirname $output`
69309
 
-            cwrappersource="$output_path/$objdir/lt-$output_name.c"
69310
 
-            cwrapper="$output_path/$output_name.exe"
69311
 
-            $rm $cwrappersource $cwrapper
69312
 
-            trap "$rm $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15
69313
 
-
69314
 
-           cat > $cwrappersource <<EOF
69315
 
+       continue
69316
 
+       ;;
69317
 
 
69318
 
-/* $cwrappersource - temporary wrapper executable for $objdir/$outputname
69319
 
-   Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
69320
 
+      -l*)
69321
 
+       if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then
69322
 
+         case $host in
69323
 
+         *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc*)
69324
 
+           # These systems don't actually have a C or math library (as such)
69325
 
+           continue
69326
 
+           ;;
69327
 
+         *-*-os2*)
69328
 
+           # These systems don't actually have a C library (as such)
69329
 
+           test "X$arg" = "X-lc" && continue
69330
 
+           ;;
69331
 
+         *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
69332
 
+           # Do not include libc due to us having libc/libc_r.
69333
 
+           test "X$arg" = "X-lc" && continue
69334
 
+           ;;
69335
 
+         *-*-rhapsody* | *-*-darwin1.[012])
69336
 
+           # Rhapsody C and math libraries are in the System framework
69337
 
+           deplibs="$deplibs System.ltframework"
69338
 
+           continue
69339
 
+           ;;
69340
 
+         *-*-sco3.2v5* | *-*-sco5v6*)
69341
 
+           # Causes problems with __ctype
69342
 
+           test "X$arg" = "X-lc" && continue
69343
 
+           ;;
69344
 
+         *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
69345
 
+           # Compiler inserts libc in the correct place for threads to work
69346
 
+           test "X$arg" = "X-lc" && continue
69347
 
+           ;;
69348
 
+         esac
69349
 
+       elif test "X$arg" = "X-lc_r"; then
69350
 
+        case $host in
69351
 
+        *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
69352
 
+          # Do not include libc_r directly, use -pthread flag.
69353
 
+          continue
69354
 
+          ;;
69355
 
+        esac
69356
 
+       fi
69357
 
+       deplibs="$deplibs $arg"
69358
 
+       continue
69359
 
+       ;;
69360
 
 
69361
 
-   The $output program cannot be directly executed until all the libtool
69362
 
-   libraries that it depends on are installed.
69363
 
+      -module)
69364
 
+       module=yes
69365
 
+       continue
69366
 
+       ;;
69367
 
 
69368
 
-   This wrapper executable should never be moved out of the build directory.
69369
 
-   If it is, it will not operate correctly.
69370
 
+      # Tru64 UNIX uses -model [arg] to determine the layout of C++
69371
 
+      # classes, name mangling, and exception handling.
69372
 
+      # Darwin uses the -arch flag to determine output architecture.
69373
 
+      -model|-arch|-isysroot)
69374
 
+       compiler_flags="$compiler_flags $arg"
69375
 
+       func_append compile_command " $arg"
69376
 
+       func_append finalize_command " $arg"
69377
 
+       prev=xcompiler
69378
 
+       continue
69379
 
+       ;;
69380
 
 
69381
 
-   Currently, it simply execs the wrapper *script* "/bin/sh $output",
69382
 
-   but could eventually absorb all of the scripts functionality and
69383
 
-   exec $objdir/$outputname directly.
69384
 
-*/
69385
 
-EOF
69386
 
-           cat >> $cwrappersource<<"EOF"
69387
 
-#include <stdio.h>
69388
 
-#include <stdlib.h>
69389
 
-#include <unistd.h>
69390
 
-#include <malloc.h>
69391
 
-#include <stdarg.h>
69392
 
-#include <assert.h>
69393
 
-#include <string.h>
69394
 
-#include <ctype.h>
69395
 
-#include <sys/stat.h>
69396
 
+      -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
69397
 
+       compiler_flags="$compiler_flags $arg"
69398
 
+       func_append compile_command " $arg"
69399
 
+       func_append finalize_command " $arg"
69400
 
+       case "$new_inherited_linker_flags " in
69401
 
+           *" $arg "*) ;;
69402
 
+           * ) new_inherited_linker_flags="$new_inherited_linker_flags $arg" ;;
69403
 
+       esac
69404
 
+       continue
69405
 
+       ;;
69406
 
 
69407
 
-#if defined(PATH_MAX)
69408
 
-# define LT_PATHMAX PATH_MAX
69409
 
-#elif defined(MAXPATHLEN)
69410
 
-# define LT_PATHMAX MAXPATHLEN
69411
 
-#else
69412
 
-# define LT_PATHMAX 1024
69413
 
-#endif
69414
 
+      -multi_module)
69415
 
+       single_module="${wl}-multi_module"
69416
 
+       continue
69417
 
+       ;;
69418
 
 
69419
 
-#ifndef DIR_SEPARATOR
69420
 
-# define DIR_SEPARATOR '/'
69421
 
-# define PATH_SEPARATOR ':'
69422
 
-#endif
69423
 
+      -no-fast-install)
69424
 
+       fast_install=no
69425
 
+       continue
69426
 
+       ;;
69427
 
 
69428
 
-#if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \
69429
 
-  defined (__OS2__)
69430
 
-# define HAVE_DOS_BASED_FILE_SYSTEM
69431
 
-# ifndef DIR_SEPARATOR_2
69432
 
-#  define DIR_SEPARATOR_2 '\\'
69433
 
-# endif
69434
 
-# ifndef PATH_SEPARATOR_2
69435
 
-#  define PATH_SEPARATOR_2 ';'
69436
 
-# endif
69437
 
-#endif
69438
 
+      -no-install)
69439
 
+       case $host in
69440
 
+       *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin* | *-cegcc*)
69441
 
+         # The PATH hackery in wrapper scripts is required on Windows
69442
 
+         # and Darwin in order for the loader to find any dlls it needs.
69443
 
+         func_warning "\`-no-install' is ignored for $host"
69444
 
+         func_warning "assuming \`-no-fast-install' instead"
69445
 
+         fast_install=no
69446
 
+         ;;
69447
 
+       *) no_install=yes ;;
69448
 
+       esac
69449
 
+       continue
69450
 
+       ;;
69451
 
 
69452
 
-#ifndef DIR_SEPARATOR_2
69453
 
-# define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR)
69454
 
-#else /* DIR_SEPARATOR_2 */
69455
 
-# define IS_DIR_SEPARATOR(ch) \
69456
 
-        (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2))
69457
 
-#endif /* DIR_SEPARATOR_2 */
69458
 
+      -no-undefined)
69459
 
+       allow_undefined=no
69460
 
+       continue
69461
 
+       ;;
69462
 
 
69463
 
-#ifndef PATH_SEPARATOR_2
69464
 
-# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR)
69465
 
-#else /* PATH_SEPARATOR_2 */
69466
 
-# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2)
69467
 
-#endif /* PATH_SEPARATOR_2 */
69468
 
+      -objectlist)
69469
 
+       prev=objectlist
69470
 
+       continue
69471
 
+       ;;
69472
 
 
69473
 
-#define XMALLOC(type, num)      ((type *) xmalloc ((num) * sizeof(type)))
69474
 
-#define XFREE(stale) do { \
69475
 
-  if (stale) { free ((void *) stale); stale = 0; } \
69476
 
-} while (0)
69477
 
+      -o) prev=output ;;
69478
 
 
69479
 
-/* -DDEBUG is fairly common in CFLAGS.  */
69480
 
-#undef DEBUG
69481
 
-#if defined DEBUGWRAPPER
69482
 
-# define DEBUG(format, ...) fprintf(stderr, format, __VA_ARGS__)
69483
 
-#else
69484
 
-# define DEBUG(format, ...)
69485
 
-#endif
69486
 
+      -precious-files-regex)
69487
 
+       prev=precious_regex
69488
 
+       continue
69489
 
+       ;;
69490
 
 
69491
 
-const char *program_name = NULL;
69492
 
+      -release)
69493
 
+       prev=release
69494
 
+       continue
69495
 
+       ;;
69496
 
 
69497
 
-void * xmalloc (size_t num);
69498
 
-char * xstrdup (const char *string);
69499
 
-const char * base_name (const char *name);
69500
 
-char * find_executable(const char *wrapper);
69501
 
-int    check_executable(const char *path);
69502
 
-char * strendzap(char *str, const char *pat);
69503
 
-void lt_fatal (const char *message, ...);
69504
 
+      -rpath)
69505
 
+       prev=rpath
69506
 
+       continue
69507
 
+       ;;
69508
 
 
69509
 
-int
69510
 
-main (int argc, char *argv[])
69511
 
-{
69512
 
-  char **newargz;
69513
 
-  int i;
69514
 
+      -R)
69515
 
+       prev=xrpath
69516
 
+       continue
69517
 
+       ;;
69518
 
 
69519
 
-  program_name = (char *) xstrdup (base_name (argv[0]));
69520
 
-  DEBUG("(main) argv[0]      : %s\n",argv[0]);
69521
 
-  DEBUG("(main) program_name : %s\n",program_name);
69522
 
-  newargz = XMALLOC(char *, argc+2);
69523
 
-EOF
69524
 
+      -R*)
69525
 
+       func_stripname '-R' '' "$arg"
69526
 
+       dir=$func_stripname_result
69527
 
+       # We need an absolute path.
69528
 
+       case $dir in
69529
 
+       [\\/]* | [A-Za-z]:[\\/]*) ;;
69530
 
+       *)
69531
 
+         func_fatal_error "only absolute run-paths are allowed"
69532
 
+         ;;
69533
 
+       esac
69534
 
+       case "$xrpath " in
69535
 
+       *" $dir "*) ;;
69536
 
+       *) xrpath="$xrpath $dir" ;;
69537
 
+       esac
69538
 
+       continue
69539
 
+       ;;
69540
 
 
69541
 
-            cat >> $cwrappersource <<EOF
69542
 
-  newargz[0] = (char *) xstrdup("$SHELL");
69543
 
-EOF
69544
 
+      -shared)
69545
 
+       # The effects of -shared are defined in a previous loop.
69546
 
+       continue
69547
 
+       ;;
69548
 
 
69549
 
-            cat >> $cwrappersource <<"EOF"
69550
 
-  newargz[1] = find_executable(argv[0]);
69551
 
-  if (newargz[1] == NULL)
69552
 
-    lt_fatal("Couldn't find %s", argv[0]);
69553
 
-  DEBUG("(main) found exe at : %s\n",newargz[1]);
69554
 
-  /* we know the script has the same name, without the .exe */
69555
 
-  /* so make sure newargz[1] doesn't end in .exe */
69556
 
-  strendzap(newargz[1],".exe");
69557
 
-  for (i = 1; i < argc; i++)
69558
 
-    newargz[i+1] = xstrdup(argv[i]);
69559
 
-  newargz[argc+1] = NULL;
69560
 
+      -shrext)
69561
 
+       prev=shrext
69562
 
+       continue
69563
 
+       ;;
69564
 
 
69565
 
-  for (i=0; i<argc+1; i++)
69566
 
-  {
69567
 
-    DEBUG("(main) newargz[%d]   : %s\n",i,newargz[i]);
69568
 
-    ;
69569
 
-  }
69570
 
+      -static | -static-libtool-libs)
69571
 
+       # The effects of -static are defined in a previous loop.
69572
 
+       # We used to do the same as -all-static on platforms that
69573
 
+       # didn't have a PIC flag, but the assumption that the effects
69574
 
+       # would be equivalent was wrong.  It would break on at least
69575
 
+       # Digital Unix and AIX.
69576
 
+       continue
69577
 
+       ;;
69578
 
 
69579
 
-EOF
69580
 
+      -thread-safe)
69581
 
+       thread_safe=yes
69582
 
+       continue
69583
 
+       ;;
69584
 
 
69585
 
-            case $host_os in
69586
 
-              mingw*)
69587
 
-                cat >> $cwrappersource <<EOF
69588
 
-  execv("$SHELL",(char const **)newargz);
69589
 
-EOF
69590
 
-              ;;
69591
 
-              *)
69592
 
-                cat >> $cwrappersource <<EOF
69593
 
-  execv("$SHELL",newargz);
69594
 
-EOF
69595
 
-              ;;
69596
 
-            esac
69597
 
+      -version-info)
69598
 
+       prev=vinfo
69599
 
+       continue
69600
 
+       ;;
69601
 
 
69602
 
-            cat >> $cwrappersource <<"EOF"
69603
 
-  return 127;
69604
 
-}
69605
 
+      -version-number)
69606
 
+       prev=vinfo
69607
 
+       vinfo_number=yes
69608
 
+       continue
69609
 
+       ;;
69610
 
 
69611
 
-void *
69612
 
-xmalloc (size_t num)
69613
 
-{
69614
 
-  void * p = (void *) malloc (num);
69615
 
-  if (!p)
69616
 
-    lt_fatal ("Memory exhausted");
69617
 
+      -weak)
69618
 
+        prev=weak
69619
 
+       continue
69620
 
+       ;;
69621
 
 
69622
 
-  return p;
69623
 
-}
69624
 
+      -Wc,*)
69625
 
+       func_stripname '-Wc,' '' "$arg"
69626
 
+       args=$func_stripname_result
69627
 
+       arg=
69628
 
+       save_ifs="$IFS"; IFS=','
69629
 
+       for flag in $args; do
69630
 
+         IFS="$save_ifs"
69631
 
+          func_quote_for_eval "$flag"
69632
 
+         arg="$arg $wl$func_quote_for_eval_result"
69633
 
+         compiler_flags="$compiler_flags $func_quote_for_eval_result"
69634
 
+       done
69635
 
+       IFS="$save_ifs"
69636
 
+       func_stripname ' ' '' "$arg"
69637
 
+       arg=$func_stripname_result
69638
 
+       ;;
69639
 
 
69640
 
-char *
69641
 
-xstrdup (const char *string)
69642
 
-{
69643
 
-  return string ? strcpy ((char *) xmalloc (strlen (string) + 1), string) : NULL
69644
 
-;
69645
 
-}
69646
 
+      -Wl,*)
69647
 
+       func_stripname '-Wl,' '' "$arg"
69648
 
+       args=$func_stripname_result
69649
 
+       arg=
69650
 
+       save_ifs="$IFS"; IFS=','
69651
 
+       for flag in $args; do
69652
 
+         IFS="$save_ifs"
69653
 
+          func_quote_for_eval "$flag"
69654
 
+         arg="$arg $wl$func_quote_for_eval_result"
69655
 
+         compiler_flags="$compiler_flags $wl$func_quote_for_eval_result"
69656
 
+         linker_flags="$linker_flags $func_quote_for_eval_result"
69657
 
+       done
69658
 
+       IFS="$save_ifs"
69659
 
+       func_stripname ' ' '' "$arg"
69660
 
+       arg=$func_stripname_result
69661
 
+       ;;
69662
 
 
69663
 
-const char *
69664
 
-base_name (const char *name)
69665
 
-{
69666
 
-  const char *base;
69667
 
+      -Xcompiler)
69668
 
+       prev=xcompiler
69669
 
+       continue
69670
 
+       ;;
69671
 
 
69672
 
-#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
69673
 
-  /* Skip over the disk name in MSDOS pathnames. */
69674
 
-  if (isalpha ((unsigned char)name[0]) && name[1] == ':')
69675
 
-    name += 2;
69676
 
-#endif
69677
 
+      -Xlinker)
69678
 
+       prev=xlinker
69679
 
+       continue
69680
 
+       ;;
69681
 
 
69682
 
-  for (base = name; *name; name++)
69683
 
-    if (IS_DIR_SEPARATOR (*name))
69684
 
-      base = name + 1;
69685
 
-  return base;
69686
 
-}
69687
 
+      -XCClinker)
69688
 
+       prev=xcclinker
69689
 
+       continue
69690
 
+       ;;
69691
 
 
69692
 
-int
69693
 
-check_executable(const char * path)
69694
 
-{
69695
 
-  struct stat st;
69696
 
+      # -msg_* for osf cc
69697
 
+      -msg_*)
69698
 
+       func_quote_for_eval "$arg"
69699
 
+       arg="$func_quote_for_eval_result"
69700
 
+       ;;
69701
 
 
69702
 
-  DEBUG("(check_executable)  : %s\n", path ? (*path ? path : "EMPTY!") : "NULL!");
69703
 
-  if ((!path) || (!*path))
69704
 
-    return 0;
69705
 
+      # -64, -mips[0-9] enable 64-bit mode on the SGI compiler
69706
 
+      # -r[0-9][0-9]* specifies the processor on the SGI compiler
69707
 
+      # -xarch=*, -xtarget=* enable 64-bit mode on the Sun compiler
69708
 
+      # +DA*, +DD* enable 64-bit mode on the HP compiler
69709
 
+      # -q* pass through compiler args for the IBM compiler
69710
 
+      # -m*, -t[45]*, -txscale* pass through architecture-specific
69711
 
+      # compiler args for GCC
69712
 
+      # -F/path gives path to uninstalled frameworks, gcc on darwin
69713
 
+      # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC
69714
 
+      # @file GCC response files
69715
 
+      -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
69716
 
+      -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*)
69717
 
+        func_quote_for_eval "$arg"
69718
 
+       arg="$func_quote_for_eval_result"
69719
 
+        func_append compile_command " $arg"
69720
 
+        func_append finalize_command " $arg"
69721
 
+        compiler_flags="$compiler_flags $arg"
69722
 
+        continue
69723
 
+        ;;
69724
 
 
69725
 
-  if ((stat (path, &st) >= 0) &&
69726
 
-      (
69727
 
-        /* MinGW & native WIN32 do not support S_IXOTH or S_IXGRP */
69728
 
-#if defined (S_IXOTH)
69729
 
-       ((st.st_mode & S_IXOTH) == S_IXOTH) ||
69730
 
-#endif
69731
 
-#if defined (S_IXGRP)
69732
 
-       ((st.st_mode & S_IXGRP) == S_IXGRP) ||
69733
 
-#endif
69734
 
-       ((st.st_mode & S_IXUSR) == S_IXUSR))
69735
 
-      )
69736
 
-    return 1;
69737
 
-  else
69738
 
-    return 0;
69739
 
-}
69740
 
+      # Some other compiler flag.
69741
 
+      -* | +*)
69742
 
+        func_quote_for_eval "$arg"
69743
 
+       arg="$func_quote_for_eval_result"
69744
 
+       ;;
69745
 
 
69746
 
-/* Searches for the full path of the wrapper.  Returns
69747
 
-   newly allocated full path name if found, NULL otherwise */
69748
 
-char *
69749
 
-find_executable (const char* wrapper)
69750
 
-{
69751
 
-  int has_slash = 0;
69752
 
-  const char* p;
69753
 
-  const char* p_next;
69754
 
-  /* static buffer for getcwd */
69755
 
-  char tmp[LT_PATHMAX + 1];
69756
 
-  int tmp_len;
69757
 
-  char* concat_name;
69758
 
+      *.$objext)
69759
 
+       # A standard object.
69760
 
+       objs="$objs $arg"
69761
 
+       ;;
69762
 
 
69763
 
-  DEBUG("(find_executable)  : %s\n", wrapper ? (*wrapper ? wrapper : "EMPTY!") : "NULL!");
69764
 
+      *.lo)
69765
 
+       # A libtool-controlled object.
69766
 
 
69767
 
-  if ((wrapper == NULL) || (*wrapper == '\0'))
69768
 
-    return NULL;
69769
 
+       # Check to see that this really is a libtool object.
69770
 
+       if func_lalib_unsafe_p "$arg"; then
69771
 
+         pic_object=
69772
 
+         non_pic_object=
69773
 
 
69774
 
-  /* Absolute path? */
69775
 
-#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
69776
 
-  if (isalpha ((unsigned char)wrapper[0]) && wrapper[1] == ':')
69777
 
-  {
69778
 
-    concat_name = xstrdup (wrapper);
69779
 
-    if (check_executable(concat_name))
69780
 
-      return concat_name;
69781
 
-    XFREE(concat_name);
69782
 
-  }
69783
 
-  else
69784
 
-  {
69785
 
-#endif
69786
 
-    if (IS_DIR_SEPARATOR (wrapper[0]))
69787
 
-    {
69788
 
-      concat_name = xstrdup (wrapper);
69789
 
-      if (check_executable(concat_name))
69790
 
-        return concat_name;
69791
 
-      XFREE(concat_name);
69792
 
-    }
69793
 
-#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
69794
 
-  }
69795
 
-#endif
69796
 
+         # Read the .lo file
69797
 
+         func_source "$arg"
69798
 
 
69799
 
-  for (p = wrapper; *p; p++)
69800
 
-    if (*p == '/')
69801
 
-    {
69802
 
-      has_slash = 1;
69803
 
-      break;
69804
 
-    }
69805
 
-  if (!has_slash)
69806
 
-  {
69807
 
-    /* no slashes; search PATH */
69808
 
-    const char* path = getenv ("PATH");
69809
 
-    if (path != NULL)
69810
 
-    {
69811
 
-      for (p = path; *p; p = p_next)
69812
 
-      {
69813
 
-        const char* q;
69814
 
-        size_t p_len;
69815
 
-        for (q = p; *q; q++)
69816
 
-          if (IS_PATH_SEPARATOR(*q))
69817
 
-            break;
69818
 
-        p_len = q - p;
69819
 
-        p_next = (*q == '\0' ? q : q + 1);
69820
 
-        if (p_len == 0)
69821
 
-        {
69822
 
-          /* empty path: current directory */
69823
 
-          if (getcwd (tmp, LT_PATHMAX) == NULL)
69824
 
-            lt_fatal ("getcwd failed");
69825
 
-          tmp_len = strlen(tmp);
69826
 
-          concat_name = XMALLOC(char, tmp_len + 1 + strlen(wrapper) + 1);
69827
 
-          memcpy (concat_name, tmp, tmp_len);
69828
 
-          concat_name[tmp_len] = '/';
69829
 
-          strcpy (concat_name + tmp_len + 1, wrapper);
69830
 
-        }
69831
 
-        else
69832
 
-        {
69833
 
-          concat_name = XMALLOC(char, p_len + 1 + strlen(wrapper) + 1);
69834
 
-          memcpy (concat_name, p, p_len);
69835
 
-          concat_name[p_len] = '/';
69836
 
-          strcpy (concat_name + p_len + 1, wrapper);
69837
 
-        }
69838
 
-        if (check_executable(concat_name))
69839
 
-          return concat_name;
69840
 
-        XFREE(concat_name);
69841
 
-      }
69842
 
-    }
69843
 
-    /* not found in PATH; assume curdir */
69844
 
-  }
69845
 
-  /* Relative path | not found in path: prepend cwd */
69846
 
-  if (getcwd (tmp, LT_PATHMAX) == NULL)
69847
 
-    lt_fatal ("getcwd failed");
69848
 
-  tmp_len = strlen(tmp);
69849
 
-  concat_name = XMALLOC(char, tmp_len + 1 + strlen(wrapper) + 1);
69850
 
-  memcpy (concat_name, tmp, tmp_len);
69851
 
-  concat_name[tmp_len] = '/';
69852
 
-  strcpy (concat_name + tmp_len + 1, wrapper);
69853
 
+         if test -z "$pic_object" ||
69854
 
+            test -z "$non_pic_object" ||
69855
 
+            test "$pic_object" = none &&
69856
 
+            test "$non_pic_object" = none; then
69857
 
+           func_fatal_error "cannot find name of object for \`$arg'"
69858
 
+         fi
69859
 
 
69860
 
-  if (check_executable(concat_name))
69861
 
-    return concat_name;
69862
 
-  XFREE(concat_name);
69863
 
-  return NULL;
69864
 
-}
69865
 
+         # Extract subdirectory from the argument.
69866
 
+         func_dirname "$arg" "/" ""
69867
 
+         xdir="$func_dirname_result"
69868
 
 
69869
 
-char *
69870
 
-strendzap(char *str, const char *pat)
69871
 
-{
69872
 
-  size_t len, patlen;
69873
 
+         if test "$pic_object" != none; then
69874
 
+           # Prepend the subdirectory the object is found in.
69875
 
+           pic_object="$xdir$pic_object"
69876
 
 
69877
 
-  assert(str != NULL);
69878
 
-  assert(pat != NULL);
69879
 
+           if test "$prev" = dlfiles; then
69880
 
+             if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
69881
 
+               dlfiles="$dlfiles $pic_object"
69882
 
+               prev=
69883
 
+               continue
69884
 
+             else
69885
 
+               # If libtool objects are unsupported, then we need to preload.
69886
 
+               prev=dlprefiles
69887
 
+             fi
69888
 
+           fi
69889
 
 
69890
 
-  len = strlen(str);
69891
 
-  patlen = strlen(pat);
69892
 
+           # CHECK ME:  I think I busted this.  -Ossama
69893
 
+           if test "$prev" = dlprefiles; then
69894
 
+             # Preload the old-style object.
69895
 
+             dlprefiles="$dlprefiles $pic_object"
69896
 
+             prev=
69897
 
+           fi
69898
 
 
69899
 
-  if (patlen <= len)
69900
 
-  {
69901
 
-    str += len - patlen;
69902
 
-    if (strcmp(str, pat) == 0)
69903
 
-      *str = '\0';
69904
 
-  }
69905
 
-  return str;
69906
 
-}
69907
 
+           # A PIC object.
69908
 
+           func_append libobjs " $pic_object"
69909
 
+           arg="$pic_object"
69910
 
+         fi
69911
 
 
69912
 
-static void
69913
 
-lt_error_core (int exit_status, const char * mode,
69914
 
-          const char * message, va_list ap)
69915
 
-{
69916
 
-  fprintf (stderr, "%s: %s: ", program_name, mode);
69917
 
-  vfprintf (stderr, message, ap);
69918
 
-  fprintf (stderr, ".\n");
69919
 
+         # Non-PIC object.
69920
 
+         if test "$non_pic_object" != none; then
69921
 
+           # Prepend the subdirectory the object is found in.
69922
 
+           non_pic_object="$xdir$non_pic_object"
69923
 
 
69924
 
-  if (exit_status >= 0)
69925
 
-    exit (exit_status);
69926
 
-}
69927
 
+           # A standard non-PIC object
69928
 
+           func_append non_pic_objects " $non_pic_object"
69929
 
+           if test -z "$pic_object" || test "$pic_object" = none ; then
69930
 
+             arg="$non_pic_object"
69931
 
+           fi
69932
 
+         else
69933
 
+           # If the PIC object exists, use it instead.
69934
 
+           # $xdir was prepended to $pic_object above.
69935
 
+           non_pic_object="$pic_object"
69936
 
+           func_append non_pic_objects " $non_pic_object"
69937
 
+         fi
69938
 
+       else
69939
 
+         # Only an error if not doing a dry-run.
69940
 
+         if $opt_dry_run; then
69941
 
+           # Extract subdirectory from the argument.
69942
 
+           func_dirname "$arg" "/" ""
69943
 
+           xdir="$func_dirname_result"
69944
 
 
69945
 
-void
69946
 
-lt_fatal (const char *message, ...)
69947
 
-{
69948
 
-  va_list ap;
69949
 
-  va_start (ap, message);
69950
 
-  lt_error_core (EXIT_FAILURE, "FATAL", message, ap);
69951
 
-  va_end (ap);
69952
 
-}
69953
 
-EOF
69954
 
-          # we should really use a build-platform specific compiler
69955
 
-          # here, but OTOH, the wrappers (shell script and this C one)
69956
 
-          # are only useful if you want to execute the "real" binary.
69957
 
-          # Since the "real" binary is built for $host, then this
69958
 
-          # wrapper might as well be built for $host, too.
69959
 
-          $run $LTCC $LTCFLAGS -s -o $cwrapper $cwrappersource
69960
 
-          ;;
69961
 
-        esac
69962
 
-        $rm $output
69963
 
-        trap "$rm $output; exit $EXIT_FAILURE" 1 2 15
69964
 
+           func_lo2o "$arg"
69965
 
+           pic_object=$xdir$objdir/$func_lo2o_result
69966
 
+           non_pic_object=$xdir$func_lo2o_result
69967
 
+           func_append libobjs " $pic_object"
69968
 
+           func_append non_pic_objects " $non_pic_object"
69969
 
+         else
69970
 
+           func_fatal_error "\`$arg' is not a valid libtool object"
69971
 
+         fi
69972
 
+       fi
69973
 
+       ;;
69974
 
 
69975
 
-       $echo > $output "\
69976
 
-#! $SHELL
69977
 
+      *.$libext)
69978
 
+       # An archive.
69979
 
+       deplibs="$deplibs $arg"
69980
 
+       old_deplibs="$old_deplibs $arg"
69981
 
+       continue
69982
 
+       ;;
69983
 
 
69984
 
-# $output - temporary wrapper script for $objdir/$outputname
69985
 
-# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
69986
 
-#
69987
 
-# The $output program cannot be directly executed until all the libtool
69988
 
-# libraries that it depends on are installed.
69989
 
-#
69990
 
-# This wrapper script should never be moved out of the build directory.
69991
 
-# If it is, it will not operate correctly.
69992
 
+      *.la)
69993
 
+       # A libtool-controlled library.
69994
 
 
69995
 
-# Sed substitution that helps us do robust quoting.  It backslashifies
69996
 
-# metacharacters that are still active within double-quoted strings.
69997
 
-Xsed='${SED} -e 1s/^X//'
69998
 
-sed_quote_subst='$sed_quote_subst'
69999
 
+       if test "$prev" = dlfiles; then
70000
 
+         # This library was specified with -dlopen.
70001
 
+         dlfiles="$dlfiles $arg"
70002
 
+         prev=
70003
 
+       elif test "$prev" = dlprefiles; then
70004
 
+         # The library was specified with -dlpreopen.
70005
 
+         dlprefiles="$dlprefiles $arg"
70006
 
+         prev=
70007
 
+       else
70008
 
+         deplibs="$deplibs $arg"
70009
 
+       fi
70010
 
+       continue
70011
 
+       ;;
70012
 
 
70013
 
-# Be Bourne compatible (taken from Autoconf:_AS_BOURNE_COMPATIBLE).
70014
 
-if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then
70015
 
-  emulate sh
70016
 
-  NULLCMD=:
70017
 
-  # Zsh 3.x and 4.x performs word splitting on \${1+\"\$@\"}, which
70018
 
-  # is contrary to our usage.  Disable this feature.
70019
 
-  alias -g '\${1+\"\$@\"}'='\"\$@\"'
70020
 
-  setopt NO_GLOB_SUBST
70021
 
-else
70022
 
-  case \`(set -o) 2>/dev/null\` in *posix*) set -o posix;; esac
70023
 
-fi
70024
 
-BIN_SH=xpg4; export BIN_SH # for Tru64
70025
 
-DUALCASE=1; export DUALCASE # for MKS sh
70026
 
+      # Some other compiler argument.
70027
 
+      *)
70028
 
+       # Unknown arguments in both finalize_command and compile_command need
70029
 
+       # to be aesthetically quoted because they are evaled later.
70030
 
+       func_quote_for_eval "$arg"
70031
 
+       arg="$func_quote_for_eval_result"
70032
 
+       ;;
70033
 
+      esac # arg
70034
 
 
70035
 
-# The HP-UX ksh and POSIX shell print the target directory to stdout
70036
 
-# if CDPATH is set.
70037
 
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
70038
 
+      # Now actually substitute the argument into the commands.
70039
 
+      if test -n "$arg"; then
70040
 
+       func_append compile_command " $arg"
70041
 
+       func_append finalize_command " $arg"
70042
 
+      fi
70043
 
+    done # argument parsing loop
70044
 
 
70045
 
-relink_command=\"$relink_command\"
70046
 
+    test -n "$prev" && \
70047
 
+      func_fatal_help "the \`$prevarg' option requires an argument"
70048
 
 
70049
 
-# This environment variable determines our operation mode.
70050
 
-if test \"\$libtool_install_magic\" = \"$magic\"; then
70051
 
-  # install mode needs the following variable:
70052
 
-  notinst_deplibs='$notinst_deplibs'
70053
 
-else
70054
 
-  # When we are sourced in execute mode, \$file and \$echo are already set.
70055
 
-  if test \"\$libtool_execute_magic\" != \"$magic\"; then
70056
 
-    echo=\"$qecho\"
70057
 
-    file=\"\$0\"
70058
 
-    # Make sure echo works.
70059
 
-    if test \"X\$1\" = X--no-reexec; then
70060
 
-      # Discard the --no-reexec flag, and continue.
70061
 
-      shift
70062
 
-    elif test \"X\`(\$echo '\t') 2>/dev/null\`\" = 'X\t'; then
70063
 
-      # Yippee, \$echo works!
70064
 
-      :
70065
 
+    if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then
70066
 
+      eval arg=\"$export_dynamic_flag_spec\"
70067
 
+      func_append compile_command " $arg"
70068
 
+      func_append finalize_command " $arg"
70069
 
+    fi
70070
 
+
70071
 
+    oldlibs=
70072
 
+    # calculate the name of the file, without its directory
70073
 
+    func_basename "$output"
70074
 
+    outputname="$func_basename_result"
70075
 
+    libobjs_save="$libobjs"
70076
 
+
70077
 
+    if test -n "$shlibpath_var"; then
70078
 
+      # get the directories listed in $shlibpath_var
70079
 
+      eval shlib_search_path=\`\$ECHO \"X\${$shlibpath_var}\" \| \$Xsed -e \'s/:/ /g\'\`
70080
 
     else
70081
 
-      # Restart under the correct shell, and then maybe \$echo will work.
70082
 
-      exec $SHELL \"\$0\" --no-reexec \${1+\"\$@\"}
70083
 
+      shlib_search_path=
70084
 
     fi
70085
 
-  fi\
70086
 
-"
70087
 
-       $echo >> $output "\
70088
 
+    eval sys_lib_search_path=\"$sys_lib_search_path_spec\"
70089
 
+    eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\"
70090
 
 
70091
 
-  # Find the directory that this script lives in.
70092
 
-  thisdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*$%%'\`
70093
 
-  test \"x\$thisdir\" = \"x\$file\" && thisdir=.
70094
 
+    func_dirname "$output" "/" ""
70095
 
+    output_objdir="$func_dirname_result$objdir"
70096
 
+    # Create the object directory.
70097
 
+    func_mkdir_p "$output_objdir"
70098
 
 
70099
 
-  # Follow symbolic links until we get to the real thisdir.
70100
 
-  file=\`ls -ld \"\$file\" | ${SED} -n 's/.*-> //p'\`
70101
 
-  while test -n \"\$file\"; do
70102
 
-    destdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*\$%%'\`
70103
 
+    # Determine the type of output
70104
 
+    case $output in
70105
 
+    "")
70106
 
+      func_fatal_help "you must specify an output file"
70107
 
+      ;;
70108
 
+    *.$libext) linkmode=oldlib ;;
70109
 
+    *.lo | *.$objext) linkmode=obj ;;
70110
 
+    *.la) linkmode=lib ;;
70111
 
+    *) linkmode=prog ;; # Anything else should be a program.
70112
 
+    esac
70113
 
+
70114
 
+    specialdeplibs=
70115
 
+
70116
 
+    libs=
70117
 
+    # Find all interdependent deplibs by searching for libraries
70118
 
+    # that are linked more than once (e.g. -la -lb -la)
70119
 
+    for deplib in $deplibs; do
70120
 
+      if $opt_duplicate_deps ; then
70121
 
+       case "$libs " in
70122
 
+       *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
70123
 
+       esac
70124
 
+      fi
70125
 
+      libs="$libs $deplib"
70126
 
+    done
70127
 
+
70128
 
+    if test "$linkmode" = lib; then
70129
 
+      libs="$predeps $libs $compiler_lib_search_path $postdeps"
70130
 
+
70131
 
+      # Compute libraries that are listed more than once in $predeps
70132
 
+      # $postdeps and mark them as special (i.e., whose duplicates are
70133
 
+      # not to be eliminated).
70134
 
+      pre_post_deps=
70135
 
+      if $opt_duplicate_compiler_generated_deps; then
70136
 
+       for pre_post_dep in $predeps $postdeps; do
70137
 
+         case "$pre_post_deps " in
70138
 
+         *" $pre_post_dep "*) specialdeplibs="$specialdeplibs $pre_post_deps" ;;
70139
 
+         esac
70140
 
+         pre_post_deps="$pre_post_deps $pre_post_dep"
70141
 
+       done
70142
 
+      fi
70143
 
+      pre_post_deps=
70144
 
+    fi
70145
 
+
70146
 
+    deplibs=
70147
 
+    newdependency_libs=
70148
 
+    newlib_search_path=
70149
 
+    need_relink=no # whether we're linking any uninstalled libtool libraries
70150
 
+    notinst_deplibs= # not-installed libtool libraries
70151
 
+    notinst_path= # paths that contain not-installed libtool libraries
70152
 
+
70153
 
+    case $linkmode in
70154
 
+    lib)
70155
 
+       passes="conv dlpreopen link"
70156
 
+       for file in $dlfiles $dlprefiles; do
70157
 
+         case $file in
70158
 
+         *.la) ;;
70159
 
+         *)
70160
 
+           func_fatal_help "libraries can \`-dlopen' only libtool libraries: $file"
70161
 
+           ;;
70162
 
+         esac
70163
 
+       done
70164
 
+       ;;
70165
 
+    prog)
70166
 
+       compile_deplibs=
70167
 
+       finalize_deplibs=
70168
 
+       alldeplibs=no
70169
 
+       newdlfiles=
70170
 
+       newdlprefiles=
70171
 
+       passes="conv scan dlopen dlpreopen link"
70172
 
+       ;;
70173
 
+    *)  passes="conv"
70174
 
+       ;;
70175
 
+    esac
70176
 
+
70177
 
+    for pass in $passes; do
70178
 
+      # The preopen pass in lib mode reverses $deplibs; put it back here
70179
 
+      # so that -L comes before libs that need it for instance...
70180
 
+      if test "$linkmode,$pass" = "lib,link"; then
70181
 
+       ## FIXME: Find the place where the list is rebuilt in the wrong
70182
 
+       ##        order, and fix it there properly
70183
 
+        tmp_deplibs=
70184
 
+       for deplib in $deplibs; do
70185
 
+         tmp_deplibs="$deplib $tmp_deplibs"
70186
 
+       done
70187
 
+       deplibs="$tmp_deplibs"
70188
 
+      fi
70189
 
+
70190
 
+      if test "$linkmode,$pass" = "lib,link" ||
70191
 
+        test "$linkmode,$pass" = "prog,scan"; then
70192
 
+       libs="$deplibs"
70193
 
+       deplibs=
70194
 
+      fi
70195
 
+      if test "$linkmode" = prog; then
70196
 
+       case $pass in
70197
 
+       dlopen) libs="$dlfiles" ;;
70198
 
+       dlpreopen) libs="$dlprefiles" ;;
70199
 
+       link)
70200
 
+         libs="$deplibs %DEPLIBS%"
70201
 
+         test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs"
70202
 
+         ;;
70203
 
+       esac
70204
 
+      fi
70205
 
+      if test "$linkmode,$pass" = "lib,dlpreopen"; then
70206
 
+       # Collect and forward deplibs of preopened libtool libs
70207
 
+       for lib in $dlprefiles; do
70208
 
+         # Ignore non-libtool-libs
70209
 
+         dependency_libs=
70210
 
+         case $lib in
70211
 
+         *.la) func_source "$lib" ;;
70212
 
+         esac
70213
 
+
70214
 
+         # Collect preopened libtool deplibs, except any this library
70215
 
+         # has declared as weak libs
70216
 
+         for deplib in $dependency_libs; do
70217
 
+            deplib_base=`$ECHO "X$deplib" | $Xsed -e "$basename"`
70218
 
+           case " $weak_libs " in
70219
 
+           *" $deplib_base "*) ;;
70220
 
+           *) deplibs="$deplibs $deplib" ;;
70221
 
+           esac
70222
 
+         done
70223
 
+       done
70224
 
+       libs="$dlprefiles"
70225
 
+      fi
70226
 
+      if test "$pass" = dlopen; then
70227
 
+       # Collect dlpreopened libraries
70228
 
+       save_deplibs="$deplibs"
70229
 
+       deplibs=
70230
 
+      fi
70231
 
+
70232
 
+      for deplib in $libs; do
70233
 
+       lib=
70234
 
+       found=no
70235
 
+       case $deplib in
70236
 
+       -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
70237
 
+         if test "$linkmode,$pass" = "prog,link"; then
70238
 
+           compile_deplibs="$deplib $compile_deplibs"
70239
 
+           finalize_deplibs="$deplib $finalize_deplibs"
70240
 
+         else
70241
 
+           compiler_flags="$compiler_flags $deplib"
70242
 
+           if test "$linkmode" = lib ; then
70243
 
+               case "$new_inherited_linker_flags " in
70244
 
+                   *" $deplib "*) ;;
70245
 
+                   * ) new_inherited_linker_flags="$new_inherited_linker_flags $deplib" ;;
70246
 
+               esac
70247
 
+           fi
70248
 
+         fi
70249
 
+         continue
70250
 
+         ;;
70251
 
+       -l*)
70252
 
+         if test "$linkmode" != lib && test "$linkmode" != prog; then
70253
 
+           func_warning "\`-l' is ignored for archives/objects"
70254
 
+           continue
70255
 
+         fi
70256
 
+         func_stripname '-l' '' "$deplib"
70257
 
+         name=$func_stripname_result
70258
 
+         if test "$linkmode" = lib; then
70259
 
+           searchdirs="$newlib_search_path $lib_search_path $compiler_lib_search_dirs $sys_lib_search_path $shlib_search_path"
70260
 
+         else
70261
 
+           searchdirs="$newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path"
70262
 
+         fi
70263
 
+         for searchdir in $searchdirs; do
70264
 
+           for search_ext in .la $std_shrext .so .a; do
70265
 
+             # Search the libtool library
70266
 
+             lib="$searchdir/lib${name}${search_ext}"
70267
 
+             if test -f "$lib"; then
70268
 
+               if test "$search_ext" = ".la"; then
70269
 
+                 found=yes
70270
 
+               else
70271
 
+                 found=no
70272
 
+               fi
70273
 
+               break 2
70274
 
+             fi
70275
 
+           done
70276
 
+         done
70277
 
+         if test "$found" != yes; then
70278
 
+           # deplib doesn't seem to be a libtool library
70279
 
+           if test "$linkmode,$pass" = "prog,link"; then
70280
 
+             compile_deplibs="$deplib $compile_deplibs"
70281
 
+             finalize_deplibs="$deplib $finalize_deplibs"
70282
 
+           else
70283
 
+             deplibs="$deplib $deplibs"
70284
 
+             test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
70285
 
+           fi
70286
 
+           continue
70287
 
+         else # deplib is a libtool library
70288
 
+           # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib,
70289
 
+           # We need to do some special things here, and not later.
70290
 
+           if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
70291
 
+             case " $predeps $postdeps " in
70292
 
+             *" $deplib "*)
70293
 
+               if func_lalib_p "$lib"; then
70294
 
+                 library_names=
70295
 
+                 old_library=
70296
 
+                 func_source "$lib"
70297
 
+                 for l in $old_library $library_names; do
70298
 
+                   ll="$l"
70299
 
+                 done
70300
 
+                 if test "X$ll" = "X$old_library" ; then # only static version available
70301
 
+                   found=no
70302
 
+                   func_dirname "$lib" "" "."
70303
 
+                   ladir="$func_dirname_result"
70304
 
+                   lib=$ladir/$old_library
70305
 
+                   if test "$linkmode,$pass" = "prog,link"; then
70306
 
+                     compile_deplibs="$deplib $compile_deplibs"
70307
 
+                     finalize_deplibs="$deplib $finalize_deplibs"
70308
 
+                   else
70309
 
+                     deplibs="$deplib $deplibs"
70310
 
+                     test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
70311
 
+                   fi
70312
 
+                   continue
70313
 
+                 fi
70314
 
+               fi
70315
 
+               ;;
70316
 
+             *) ;;
70317
 
+             esac
70318
 
+           fi
70319
 
+         fi
70320
 
+         ;; # -l
70321
 
+       *.ltframework)
70322
 
+         if test "$linkmode,$pass" = "prog,link"; then
70323
 
+           compile_deplibs="$deplib $compile_deplibs"
70324
 
+           finalize_deplibs="$deplib $finalize_deplibs"
70325
 
+         else
70326
 
+           deplibs="$deplib $deplibs"
70327
 
+           if test "$linkmode" = lib ; then
70328
 
+               case "$new_inherited_linker_flags " in
70329
 
+                   *" $deplib "*) ;;
70330
 
+                   * ) new_inherited_linker_flags="$new_inherited_linker_flags $deplib" ;;
70331
 
+               esac
70332
 
+           fi
70333
 
+         fi
70334
 
+         continue
70335
 
+         ;;
70336
 
+       -L*)
70337
 
+         case $linkmode in
70338
 
+         lib)
70339
 
+           deplibs="$deplib $deplibs"
70340
 
+           test "$pass" = conv && continue
70341
 
+           newdependency_libs="$deplib $newdependency_libs"
70342
 
+           func_stripname '-L' '' "$deplib"
70343
 
+           newlib_search_path="$newlib_search_path $func_stripname_result"
70344
 
+           ;;
70345
 
+         prog)
70346
 
+           if test "$pass" = conv; then
70347
 
+             deplibs="$deplib $deplibs"
70348
 
+             continue
70349
 
+           fi
70350
 
+           if test "$pass" = scan; then
70351
 
+             deplibs="$deplib $deplibs"
70352
 
+           else
70353
 
+             compile_deplibs="$deplib $compile_deplibs"
70354
 
+             finalize_deplibs="$deplib $finalize_deplibs"
70355
 
+           fi
70356
 
+           func_stripname '-L' '' "$deplib"
70357
 
+           newlib_search_path="$newlib_search_path $func_stripname_result"
70358
 
+           ;;
70359
 
+         *)
70360
 
+           func_warning "\`-L' is ignored for archives/objects"
70361
 
+           ;;
70362
 
+         esac # linkmode
70363
 
+         continue
70364
 
+         ;; # -L
70365
 
+       -R*)
70366
 
+         if test "$pass" = link; then
70367
 
+           func_stripname '-R' '' "$deplib"
70368
 
+           dir=$func_stripname_result
70369
 
+           # Make sure the xrpath contains only unique directories.
70370
 
+           case "$xrpath " in
70371
 
+           *" $dir "*) ;;
70372
 
+           *) xrpath="$xrpath $dir" ;;
70373
 
+           esac
70374
 
+         fi
70375
 
+         deplibs="$deplib $deplibs"
70376
 
+         continue
70377
 
+         ;;
70378
 
+       *.la) lib="$deplib" ;;
70379
 
+       *.$libext)
70380
 
+         if test "$pass" = conv; then
70381
 
+           deplibs="$deplib $deplibs"
70382
 
+           continue
70383
 
+         fi
70384
 
+         case $linkmode in
70385
 
+         lib)
70386
 
+           # Linking convenience modules into shared libraries is allowed,
70387
 
+           # but linking other static libraries is non-portable.
70388
 
+           case " $dlpreconveniencelibs " in
70389
 
+           *" $deplib "*) ;;
70390
 
+           *)
70391
 
+             valid_a_lib=no
70392
 
+             case $deplibs_check_method in
70393
 
+               match_pattern*)
70394
 
+                 set dummy $deplibs_check_method; shift
70395
 
+                 match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"`
70396
 
+                 if eval "\$ECHO \"X$deplib\"" 2>/dev/null | $Xsed -e 10q \
70397
 
+                   | $EGREP "$match_pattern_regex" > /dev/null; then
70398
 
+                   valid_a_lib=yes
70399
 
+                 fi
70400
 
+               ;;
70401
 
+               pass_all)
70402
 
+                 valid_a_lib=yes
70403
 
+               ;;
70404
 
+             esac
70405
 
+             if test "$valid_a_lib" != yes; then
70406
 
+               $ECHO
70407
 
+               $ECHO "*** Warning: Trying to link with static lib archive $deplib."
70408
 
+               $ECHO "*** I have the capability to make that library automatically link in when"
70409
 
+               $ECHO "*** you link to this library.  But I can only do this if you have a"
70410
 
+               $ECHO "*** shared version of the library, which you do not appear to have"
70411
 
+               $ECHO "*** because the file extensions .$libext of this argument makes me believe"
70412
 
+               $ECHO "*** that it is just a static archive that I should not use here."
70413
 
+             else
70414
 
+               $ECHO
70415
 
+               $ECHO "*** Warning: Linking the shared library $output against the"
70416
 
+               $ECHO "*** static library $deplib is not portable!"
70417
 
+               deplibs="$deplib $deplibs"
70418
 
+             fi
70419
 
+             ;;
70420
 
+           esac
70421
 
+           continue
70422
 
+           ;;
70423
 
+         prog)
70424
 
+           if test "$pass" != link; then
70425
 
+             deplibs="$deplib $deplibs"
70426
 
+           else
70427
 
+             compile_deplibs="$deplib $compile_deplibs"
70428
 
+             finalize_deplibs="$deplib $finalize_deplibs"
70429
 
+           fi
70430
 
+           continue
70431
 
+           ;;
70432
 
+         esac # linkmode
70433
 
+         ;; # *.$libext
70434
 
+       *.lo | *.$objext)
70435
 
+         if test "$pass" = conv; then
70436
 
+           deplibs="$deplib $deplibs"
70437
 
+         elif test "$linkmode" = prog; then
70438
 
+           if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
70439
 
+             # If there is no dlopen support or we're linking statically,
70440
 
+             # we need to preload.
70441
 
+             newdlprefiles="$newdlprefiles $deplib"
70442
 
+             compile_deplibs="$deplib $compile_deplibs"
70443
 
+             finalize_deplibs="$deplib $finalize_deplibs"
70444
 
+           else
70445
 
+             newdlfiles="$newdlfiles $deplib"
70446
 
+           fi
70447
 
+         fi
70448
 
+         continue
70449
 
+         ;;
70450
 
+       %DEPLIBS%)
70451
 
+         alldeplibs=yes
70452
 
+         continue
70453
 
+         ;;
70454
 
+       esac # case $deplib
70455
 
+
70456
 
+       if test "$found" = yes || test -f "$lib"; then :
70457
 
+       else
70458
 
+         func_fatal_error "cannot find the library \`$lib' or unhandled argument \`$deplib'"
70459
 
+       fi
70460
 
+
70461
 
+       # Check to see that this really is a libtool archive.
70462
 
+       func_lalib_unsafe_p "$lib" \
70463
 
+         || func_fatal_error "\`$lib' is not a valid libtool archive"
70464
 
+
70465
 
+       func_dirname "$lib" "" "."
70466
 
+       ladir="$func_dirname_result"
70467
 
+
70468
 
+       dlname=
70469
 
+       dlopen=
70470
 
+       dlpreopen=
70471
 
+       libdir=
70472
 
+       library_names=
70473
 
+       old_library=
70474
 
+       inherited_linker_flags=
70475
 
+       # If the library was installed with an old release of libtool,
70476
 
+       # it will not redefine variables installed, or shouldnotlink
70477
 
+       installed=yes
70478
 
+       shouldnotlink=no
70479
 
+       avoidtemprpath=
70480
 
+
70481
 
+
70482
 
+       # Read the .la file
70483
 
+       func_source "$lib"
70484
 
+
70485
 
+       # Convert "-framework foo" to "foo.ltframework"
70486
 
+       if test -n "$inherited_linker_flags"; then
70487
 
+         tmp_inherited_linker_flags=`$ECHO "X$inherited_linker_flags" | $Xsed -e 's/-framework \([^ $]*\)/\1.ltframework/g'`
70488
 
+         for tmp_inherited_linker_flag in $tmp_inherited_linker_flags; do
70489
 
+           case " $new_inherited_linker_flags " in
70490
 
+             *" $tmp_inherited_linker_flag "*) ;;
70491
 
+             *) new_inherited_linker_flags="$new_inherited_linker_flags $tmp_inherited_linker_flag";;
70492
 
+           esac
70493
 
+         done
70494
 
+       fi
70495
 
+       dependency_libs=`$ECHO "X $dependency_libs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
70496
 
+       if test "$linkmode,$pass" = "lib,link" ||
70497
 
+          test "$linkmode,$pass" = "prog,scan" ||
70498
 
+          { test "$linkmode" != prog && test "$linkmode" != lib; }; then
70499
 
+         test -n "$dlopen" && dlfiles="$dlfiles $dlopen"
70500
 
+         test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen"
70501
 
+       fi
70502
 
+
70503
 
+       if test "$pass" = conv; then
70504
 
+         # Only check for convenience libraries
70505
 
+         deplibs="$lib $deplibs"
70506
 
+         if test -z "$libdir"; then
70507
 
+           if test -z "$old_library"; then
70508
 
+             func_fatal_error "cannot find name of link library for \`$lib'"
70509
 
+           fi
70510
 
+           # It is a libtool convenience library, so add in its objects.
70511
 
+           convenience="$convenience $ladir/$objdir/$old_library"
70512
 
+           old_convenience="$old_convenience $ladir/$objdir/$old_library"
70513
 
+           tmp_libs=
70514
 
+           for deplib in $dependency_libs; do
70515
 
+             deplibs="$deplib $deplibs"
70516
 
+             if $opt_duplicate_deps ; then
70517
 
+               case "$tmp_libs " in
70518
 
+               *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
70519
 
+               esac
70520
 
+             fi
70521
 
+             tmp_libs="$tmp_libs $deplib"
70522
 
+           done
70523
 
+         elif test "$linkmode" != prog && test "$linkmode" != lib; then
70524
 
+           func_fatal_error "\`$lib' is not a convenience library"
70525
 
+         fi
70526
 
+         continue
70527
 
+       fi # $pass = conv
70528
 
+
70529
 
+
70530
 
+       # Get the name of the library we link against.
70531
 
+       linklib=
70532
 
+       for l in $old_library $library_names; do
70533
 
+         linklib="$l"
70534
 
+       done
70535
 
+       if test -z "$linklib"; then
70536
 
+         func_fatal_error "cannot find name of link library for \`$lib'"
70537
 
+       fi
70538
 
+
70539
 
+       # This library was specified with -dlopen.
70540
 
+       if test "$pass" = dlopen; then
70541
 
+         if test -z "$libdir"; then
70542
 
+           func_fatal_error "cannot -dlopen a convenience library: \`$lib'"
70543
 
+         fi
70544
 
+         if test -z "$dlname" ||
70545
 
+            test "$dlopen_support" != yes ||
70546
 
+            test "$build_libtool_libs" = no; then
70547
 
+           # If there is no dlname, no dlopen support or we're linking
70548
 
+           # statically, we need to preload.  We also need to preload any
70549
 
+           # dependent libraries so libltdl's deplib preloader doesn't
70550
 
+           # bomb out in the load deplibs phase.
70551
 
+           dlprefiles="$dlprefiles $lib $dependency_libs"
70552
 
+         else
70553
 
+           newdlfiles="$newdlfiles $lib"
70554
 
+         fi
70555
 
+         continue
70556
 
+       fi # $pass = dlopen
70557
 
+
70558
 
+       # We need an absolute path.
70559
 
+       case $ladir in
70560
 
+       [\\/]* | [A-Za-z]:[\\/]*) abs_ladir="$ladir" ;;
70561
 
+       *)
70562
 
+         abs_ladir=`cd "$ladir" && pwd`
70563
 
+         if test -z "$abs_ladir"; then
70564
 
+           func_warning "cannot determine absolute directory name of \`$ladir'"
70565
 
+           func_warning "passing it literally to the linker, although it might fail"
70566
 
+           abs_ladir="$ladir"
70567
 
+         fi
70568
 
+         ;;
70569
 
+       esac
70570
 
+       func_basename "$lib"
70571
 
+       laname="$func_basename_result"
70572
 
+
70573
 
+       # Find the relevant object directory and library name.
70574
 
+       if test "X$installed" = Xyes; then
70575
 
+         if test ! -f "$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then
70576
 
+           func_warning "library \`$lib' was moved."
70577
 
+           dir="$ladir"
70578
 
+           absdir="$abs_ladir"
70579
 
+           libdir="$abs_ladir"
70580
 
+         else
70581
 
+           dir="$libdir"
70582
 
+           absdir="$libdir"
70583
 
+         fi
70584
 
+         test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes
70585
 
+       else
70586
 
+         if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then
70587
 
+           dir="$ladir"
70588
 
+           absdir="$abs_ladir"
70589
 
+           # Remove this search path later
70590
 
+           notinst_path="$notinst_path $abs_ladir"
70591
 
+         else
70592
 
+           dir="$ladir/$objdir"
70593
 
+           absdir="$abs_ladir/$objdir"
70594
 
+           # Remove this search path later
70595
 
+           notinst_path="$notinst_path $abs_ladir"
70596
 
+         fi
70597
 
+       fi # $installed = yes
70598
 
+       func_stripname 'lib' '.la' "$laname"
70599
 
+       name=$func_stripname_result
70600
 
+
70601
 
+       # This library was specified with -dlpreopen.
70602
 
+       if test "$pass" = dlpreopen; then
70603
 
+         if test -z "$libdir" && test "$linkmode" = prog; then
70604
 
+           func_fatal_error "only libraries may -dlpreopen a convenience library: \`$lib'"
70605
 
+         fi
70606
 
+         # Prefer using a static library (so that no silly _DYNAMIC symbols
70607
 
+         # are required to link).
70608
 
+         if test -n "$old_library"; then
70609
 
+           newdlprefiles="$newdlprefiles $dir/$old_library"
70610
 
+           # Keep a list of preopened convenience libraries to check
70611
 
+           # that they are being used correctly in the link pass.
70612
 
+           test -z "$libdir" && \
70613
 
+               dlpreconveniencelibs="$dlpreconveniencelibs $dir/$old_library"
70614
 
+         # Otherwise, use the dlname, so that lt_dlopen finds it.
70615
 
+         elif test -n "$dlname"; then
70616
 
+           newdlprefiles="$newdlprefiles $dir/$dlname"
70617
 
+         else
70618
 
+           newdlprefiles="$newdlprefiles $dir/$linklib"
70619
 
+         fi
70620
 
+       fi # $pass = dlpreopen
70621
 
+
70622
 
+       if test -z "$libdir"; then
70623
 
+         # Link the convenience library
70624
 
+         if test "$linkmode" = lib; then
70625
 
+           deplibs="$dir/$old_library $deplibs"
70626
 
+         elif test "$linkmode,$pass" = "prog,link"; then
70627
 
+           compile_deplibs="$dir/$old_library $compile_deplibs"
70628
 
+           finalize_deplibs="$dir/$old_library $finalize_deplibs"
70629
 
+         else
70630
 
+           deplibs="$lib $deplibs" # used for prog,scan pass
70631
 
+         fi
70632
 
+         continue
70633
 
+       fi
70634
 
+
70635
 
+
70636
 
+       if test "$linkmode" = prog && test "$pass" != link; then
70637
 
+         newlib_search_path="$newlib_search_path $ladir"
70638
 
+         deplibs="$lib $deplibs"
70639
 
+
70640
 
+         linkalldeplibs=no
70641
 
+         if test "$link_all_deplibs" != no || test -z "$library_names" ||
70642
 
+            test "$build_libtool_libs" = no; then
70643
 
+           linkalldeplibs=yes
70644
 
+         fi
70645
 
+
70646
 
+         tmp_libs=
70647
 
+         for deplib in $dependency_libs; do
70648
 
+           case $deplib in
70649
 
+           -L*) func_stripname '-L' '' "$deplib"
70650
 
+                newlib_search_path="$newlib_search_path $func_stripname_result"
70651
 
+                ;;
70652
 
+           esac
70653
 
+           # Need to link against all dependency_libs?
70654
 
+           if test "$linkalldeplibs" = yes; then
70655
 
+             deplibs="$deplib $deplibs"
70656
 
+           else
70657
 
+             # Need to hardcode shared library paths
70658
 
+             # or/and link against static libraries
70659
 
+             newdependency_libs="$deplib $newdependency_libs"
70660
 
+           fi
70661
 
+           if $opt_duplicate_deps ; then
70662
 
+             case "$tmp_libs " in
70663
 
+             *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
70664
 
+             esac
70665
 
+           fi
70666
 
+           tmp_libs="$tmp_libs $deplib"
70667
 
+         done # for deplib
70668
 
+         continue
70669
 
+       fi # $linkmode = prog...
70670
 
+
70671
 
+       if test "$linkmode,$pass" = "prog,link"; then
70672
 
+         if test -n "$library_names" &&
70673
 
+            { { test "$prefer_static_libs" = no ||
70674
 
+                test "$prefer_static_libs,$installed" = "built,yes"; } ||
70675
 
+              test -z "$old_library"; }; then
70676
 
+           # We need to hardcode the library path
70677
 
+           if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then
70678
 
+             # Make sure the rpath contains only unique directories.
70679
 
+             case "$temp_rpath:" in
70680
 
+             *"$absdir:"*) ;;
70681
 
+             *) temp_rpath="$temp_rpath$absdir:" ;;
70682
 
+             esac
70683
 
+           fi
70684
 
+
70685
 
+           # Hardcode the library path.
70686
 
+           # Skip directories that are in the system default run-time
70687
 
+           # search path.
70688
 
+           case " $sys_lib_dlsearch_path " in
70689
 
+           *" $absdir "*) ;;
70690
 
+           *)
70691
 
+             case "$compile_rpath " in
70692
 
+             *" $absdir "*) ;;
70693
 
+             *) compile_rpath="$compile_rpath $absdir"
70694
 
+             esac
70695
 
+             ;;
70696
 
+           esac
70697
 
+           case " $sys_lib_dlsearch_path " in
70698
 
+           *" $libdir "*) ;;
70699
 
+           *)
70700
 
+             case "$finalize_rpath " in
70701
 
+             *" $libdir "*) ;;
70702
 
+             *) finalize_rpath="$finalize_rpath $libdir"
70703
 
+             esac
70704
 
+             ;;
70705
 
+           esac
70706
 
+         fi # $linkmode,$pass = prog,link...
70707
 
+
70708
 
+         if test "$alldeplibs" = yes &&
70709
 
+            { test "$deplibs_check_method" = pass_all ||
70710
 
+              { test "$build_libtool_libs" = yes &&
70711
 
+                test -n "$library_names"; }; }; then
70712
 
+           # We only need to search for static libraries
70713
 
+           continue
70714
 
+         fi
70715
 
+       fi
70716
 
+
70717
 
+       link_static=no # Whether the deplib will be linked statically
70718
 
+       use_static_libs=$prefer_static_libs
70719
 
+       if test "$use_static_libs" = built && test "$installed" = yes; then
70720
 
+         use_static_libs=no
70721
 
+       fi
70722
 
+       if test -n "$library_names" &&
70723
 
+          { test "$use_static_libs" = no || test -z "$old_library"; }; then
70724
 
+         case $host in
70725
 
+         *cygwin* | *mingw* | *cegcc*)
70726
 
+             # No point in relinking DLLs because paths are not encoded
70727
 
+             notinst_deplibs="$notinst_deplibs $lib"
70728
 
+             need_relink=no
70729
 
+           ;;
70730
 
+         *)
70731
 
+           if test "$installed" = no; then
70732
 
+             notinst_deplibs="$notinst_deplibs $lib"
70733
 
+             need_relink=yes
70734
 
+           fi
70735
 
+           ;;
70736
 
+         esac
70737
 
+         # This is a shared library
70738
 
+
70739
 
+         # Warn about portability, can't link against -module's on some
70740
 
+         # systems (darwin).  Don't bleat about dlopened modules though!
70741
 
+         dlopenmodule=""
70742
 
+         for dlpremoduletest in $dlprefiles; do
70743
 
+           if test "X$dlpremoduletest" = "X$lib"; then
70744
 
+             dlopenmodule="$dlpremoduletest"
70745
 
+             break
70746
 
+           fi
70747
 
+         done
70748
 
+         if test -z "$dlopenmodule" && test "$shouldnotlink" = yes && test "$pass" = link; then
70749
 
+           $ECHO
70750
 
+           if test "$linkmode" = prog; then
70751
 
+             $ECHO "*** Warning: Linking the executable $output against the loadable module"
70752
 
+           else
70753
 
+             $ECHO "*** Warning: Linking the shared library $output against the loadable module"
70754
 
+           fi
70755
 
+           $ECHO "*** $linklib is not portable!"
70756
 
+         fi
70757
 
+         if test "$linkmode" = lib &&
70758
 
+            test "$hardcode_into_libs" = yes; then
70759
 
+           # Hardcode the library path.
70760
 
+           # Skip directories that are in the system default run-time
70761
 
+           # search path.
70762
 
+           case " $sys_lib_dlsearch_path " in
70763
 
+           *" $absdir "*) ;;
70764
 
+           *)
70765
 
+             case "$compile_rpath " in
70766
 
+             *" $absdir "*) ;;
70767
 
+             *) compile_rpath="$compile_rpath $absdir"
70768
 
+             esac
70769
 
+             ;;
70770
 
+           esac
70771
 
+           case " $sys_lib_dlsearch_path " in
70772
 
+           *" $libdir "*) ;;
70773
 
+           *)
70774
 
+             case "$finalize_rpath " in
70775
 
+             *" $libdir "*) ;;
70776
 
+             *) finalize_rpath="$finalize_rpath $libdir"
70777
 
+             esac
70778
 
+             ;;
70779
 
+           esac
70780
 
+         fi
70781
 
+
70782
 
+         if test -n "$old_archive_from_expsyms_cmds"; then
70783
 
+           # figure out the soname
70784
 
+           set dummy $library_names
70785
 
+           shift
70786
 
+           realname="$1"
70787
 
+           shift
70788
 
+           libname=`eval "\\$ECHO \"$libname_spec\""`
70789
 
+           # use dlname if we got it. it's perfectly good, no?
70790
 
+           if test -n "$dlname"; then
70791
 
+             soname="$dlname"
70792
 
+           elif test -n "$soname_spec"; then
70793
 
+             # bleh windows
70794
 
+             case $host in
70795
 
+             *cygwin* | mingw* | *cegcc*)
70796
 
+               func_arith $current - $age
70797
 
+               major=$func_arith_result
70798
 
+               versuffix="-$major"
70799
 
+               ;;
70800
 
+             esac
70801
 
+             eval soname=\"$soname_spec\"
70802
 
+           else
70803
 
+             soname="$realname"
70804
 
+           fi
70805
 
+
70806
 
+           # Make a new name for the extract_expsyms_cmds to use
70807
 
+           soroot="$soname"
70808
 
+           func_basename "$soroot"
70809
 
+           soname="$func_basename_result"
70810
 
+           func_stripname 'lib' '.dll' "$soname"
70811
 
+           newlib=libimp-$func_stripname_result.a
70812
 
+
70813
 
+           # If the library has no export list, then create one now
70814
 
+           if test -f "$output_objdir/$soname-def"; then :
70815
 
+           else
70816
 
+             func_verbose "extracting exported symbol list from \`$soname'"
70817
 
+             func_execute_cmds "$extract_expsyms_cmds" 'exit $?'
70818
 
+           fi
70819
 
+
70820
 
+           # Create $newlib
70821
 
+           if test -f "$output_objdir/$newlib"; then :; else
70822
 
+             func_verbose "generating import library for \`$soname'"
70823
 
+             func_execute_cmds "$old_archive_from_expsyms_cmds" 'exit $?'
70824
 
+           fi
70825
 
+           # make sure the library variables are pointing to the new library
70826
 
+           dir=$output_objdir
70827
 
+           linklib=$newlib
70828
 
+         fi # test -n "$old_archive_from_expsyms_cmds"
70829
 
+
70830
 
+         if test "$linkmode" = prog || test "$mode" != relink; then
70831
 
+           add_shlibpath=
70832
 
+           add_dir=
70833
 
+           add=
70834
 
+           lib_linked=yes
70835
 
+           case $hardcode_action in
70836
 
+           immediate | unsupported)
70837
 
+             if test "$hardcode_direct" = no; then
70838
 
+               add="$dir/$linklib"
70839
 
+               case $host in
70840
 
+                 *-*-sco3.2v5.0.[024]*) add_dir="-L$dir" ;;
70841
 
+                 *-*-sysv4*uw2*) add_dir="-L$dir" ;;
70842
 
+                 *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \
70843
 
+                   *-*-unixware7*) add_dir="-L$dir" ;;
70844
 
+                 *-*-darwin* )
70845
 
+                   # if the lib is a (non-dlopened) module then we can not
70846
 
+                   # link against it, someone is ignoring the earlier warnings
70847
 
+                   if /usr/bin/file -L $add 2> /dev/null |
70848
 
+                        $GREP ": [^:]* bundle" >/dev/null ; then
70849
 
+                     if test "X$dlopenmodule" != "X$lib"; then
70850
 
+                       $ECHO "*** Warning: lib $linklib is a module, not a shared library"
70851
 
+                       if test -z "$old_library" ; then
70852
 
+                         $ECHO
70853
 
+                         $ECHO "*** And there doesn't seem to be a static archive available"
70854
 
+                         $ECHO "*** The link will probably fail, sorry"
70855
 
+                       else
70856
 
+                         add="$dir/$old_library"
70857
 
+                       fi
70858
 
+                     elif test -n "$old_library"; then
70859
 
+                       add="$dir/$old_library"
70860
 
+                     fi
70861
 
+                   fi
70862
 
+               esac
70863
 
+             elif test "$hardcode_minus_L" = no; then
70864
 
+               case $host in
70865
 
+               *-*-sunos*) add_shlibpath="$dir" ;;
70866
 
+               esac
70867
 
+               add_dir="-L$dir"
70868
 
+               add="-l$name"
70869
 
+             elif test "$hardcode_shlibpath_var" = no; then
70870
 
+               add_shlibpath="$dir"
70871
 
+               add="-l$name"
70872
 
+             else
70873
 
+               lib_linked=no
70874
 
+             fi
70875
 
+             ;;
70876
 
+           relink)
70877
 
+             if test "$hardcode_direct" = yes &&
70878
 
+                test "$hardcode_direct_absolute" = no; then
70879
 
+               add="$dir/$linklib"
70880
 
+             elif test "$hardcode_minus_L" = yes; then
70881
 
+               add_dir="-L$dir"
70882
 
+               # Try looking first in the location we're being installed to.
70883
 
+               if test -n "$inst_prefix_dir"; then
70884
 
+                 case $libdir in
70885
 
+                   [\\/]*)
70886
 
+                     add_dir="$add_dir -L$inst_prefix_dir$libdir"
70887
 
+                     ;;
70888
 
+                 esac
70889
 
+               fi
70890
 
+               add="-l$name"
70891
 
+             elif test "$hardcode_shlibpath_var" = yes; then
70892
 
+               add_shlibpath="$dir"
70893
 
+               add="-l$name"
70894
 
+             else
70895
 
+               lib_linked=no
70896
 
+             fi
70897
 
+             ;;
70898
 
+           *) lib_linked=no ;;
70899
 
+           esac
70900
 
+
70901
 
+           if test "$lib_linked" != yes; then
70902
 
+             func_fatal_configuration "unsupported hardcode properties"
70903
 
+           fi
70904
 
+
70905
 
+           if test -n "$add_shlibpath"; then
70906
 
+             case :$compile_shlibpath: in
70907
 
+             *":$add_shlibpath:"*) ;;
70908
 
+             *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;;
70909
 
+             esac
70910
 
+           fi
70911
 
+           if test "$linkmode" = prog; then
70912
 
+             test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs"
70913
 
+             test -n "$add" && compile_deplibs="$add $compile_deplibs"
70914
 
+           else
70915
 
+             test -n "$add_dir" && deplibs="$add_dir $deplibs"
70916
 
+             test -n "$add" && deplibs="$add $deplibs"
70917
 
+             if test "$hardcode_direct" != yes &&
70918
 
+                test "$hardcode_minus_L" != yes &&
70919
 
+                test "$hardcode_shlibpath_var" = yes; then
70920
 
+               case :$finalize_shlibpath: in
70921
 
+               *":$libdir:"*) ;;
70922
 
+               *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
70923
 
+               esac
70924
 
+             fi
70925
 
+           fi
70926
 
+         fi
70927
 
+
70928
 
+         if test "$linkmode" = prog || test "$mode" = relink; then
70929
 
+           add_shlibpath=
70930
 
+           add_dir=
70931
 
+           add=
70932
 
+           # Finalize command for both is simple: just hardcode it.
70933
 
+           if test "$hardcode_direct" = yes &&
70934
 
+              test "$hardcode_direct_absolute" = no; then
70935
 
+             add="$libdir/$linklib"
70936
 
+           elif test "$hardcode_minus_L" = yes; then
70937
 
+             add_dir="-L$libdir"
70938
 
+             add="-l$name"
70939
 
+           elif test "$hardcode_shlibpath_var" = yes; then
70940
 
+             case :$finalize_shlibpath: in
70941
 
+             *":$libdir:"*) ;;
70942
 
+             *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
70943
 
+             esac
70944
 
+             add="-l$name"
70945
 
+           elif test "$hardcode_automatic" = yes; then
70946
 
+             if test -n "$inst_prefix_dir" &&
70947
 
+                test -f "$inst_prefix_dir$libdir/$linklib" ; then
70948
 
+               add="$inst_prefix_dir$libdir/$linklib"
70949
 
+             else
70950
 
+               add="$libdir/$linklib"
70951
 
+             fi
70952
 
+           else
70953
 
+             # We cannot seem to hardcode it, guess we'll fake it.
70954
 
+             add_dir="-L$libdir"
70955
 
+             # Try looking first in the location we're being installed to.
70956
 
+             if test -n "$inst_prefix_dir"; then
70957
 
+               case $libdir in
70958
 
+                 [\\/]*)
70959
 
+                   add_dir="$add_dir -L$inst_prefix_dir$libdir"
70960
 
+                   ;;
70961
 
+               esac
70962
 
+             fi
70963
 
+             add="-l$name"
70964
 
+           fi
70965
 
+
70966
 
+           if test "$linkmode" = prog; then
70967
 
+             test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs"
70968
 
+             test -n "$add" && finalize_deplibs="$add $finalize_deplibs"
70969
 
+           else
70970
 
+             test -n "$add_dir" && deplibs="$add_dir $deplibs"
70971
 
+             test -n "$add" && deplibs="$add $deplibs"
70972
 
+           fi
70973
 
+         fi
70974
 
+       elif test "$linkmode" = prog; then
70975
 
+         # Here we assume that one of hardcode_direct or hardcode_minus_L
70976
 
+         # is not unsupported.  This is valid on all known static and
70977
 
+         # shared platforms.
70978
 
+         if test "$hardcode_direct" != unsupported; then
70979
 
+           test -n "$old_library" && linklib="$old_library"
70980
 
+           compile_deplibs="$dir/$linklib $compile_deplibs"
70981
 
+           finalize_deplibs="$dir/$linklib $finalize_deplibs"
70982
 
+         else
70983
 
+           compile_deplibs="-l$name -L$dir $compile_deplibs"
70984
 
+           finalize_deplibs="-l$name -L$dir $finalize_deplibs"
70985
 
+         fi
70986
 
+       elif test "$build_libtool_libs" = yes; then
70987
 
+         # Not a shared library
70988
 
+         if test "$deplibs_check_method" != pass_all; then
70989
 
+           # We're trying link a shared library against a static one
70990
 
+           # but the system doesn't support it.
70991
 
+
70992
 
+           # Just print a warning and add the library to dependency_libs so
70993
 
+           # that the program can be linked against the static library.
70994
 
+           $ECHO
70995
 
+           $ECHO "*** Warning: This system can not link to static lib archive $lib."
70996
 
+           $ECHO "*** I have the capability to make that library automatically link in when"
70997
 
+           $ECHO "*** you link to this library.  But I can only do this if you have a"
70998
 
+           $ECHO "*** shared version of the library, which you do not appear to have."
70999
 
+           if test "$module" = yes; then
71000
 
+             $ECHO "*** But as you try to build a module library, libtool will still create "
71001
 
+             $ECHO "*** a static module, that should work as long as the dlopening application"
71002
 
+             $ECHO "*** is linked with the -dlopen flag to resolve symbols at runtime."
71003
 
+             if test -z "$global_symbol_pipe"; then
71004
 
+               $ECHO
71005
 
+               $ECHO "*** However, this would only work if libtool was able to extract symbol"
71006
 
+               $ECHO "*** lists from a program, using \`nm' or equivalent, but libtool could"
71007
 
+               $ECHO "*** not find such a program.  So, this module is probably useless."
71008
 
+               $ECHO "*** \`nm' from GNU binutils and a full rebuild may help."
71009
 
+             fi
71010
 
+             if test "$build_old_libs" = no; then
71011
 
+               build_libtool_libs=module
71012
 
+               build_old_libs=yes
71013
 
+             else
71014
 
+               build_libtool_libs=no
71015
 
+             fi
71016
 
+           fi
71017
 
+         else
71018
 
+           deplibs="$dir/$old_library $deplibs"
71019
 
+           link_static=yes
71020
 
+         fi
71021
 
+       fi # link shared/static library?
71022
 
+
71023
 
+       if test "$linkmode" = lib; then
71024
 
+         if test -n "$dependency_libs" &&
71025
 
+            { test "$hardcode_into_libs" != yes ||
71026
 
+              test "$build_old_libs" = yes ||
71027
 
+              test "$link_static" = yes; }; then
71028
 
+           # Extract -R from dependency_libs
71029
 
+           temp_deplibs=
71030
 
+           for libdir in $dependency_libs; do
71031
 
+             case $libdir in
71032
 
+             -R*) func_stripname '-R' '' "$libdir"
71033
 
+                  temp_xrpath=$func_stripname_result
71034
 
+                  case " $xrpath " in
71035
 
+                  *" $temp_xrpath "*) ;;
71036
 
+                  *) xrpath="$xrpath $temp_xrpath";;
71037
 
+                  esac;;
71038
 
+             *) temp_deplibs="$temp_deplibs $libdir";;
71039
 
+             esac
71040
 
+           done
71041
 
+           dependency_libs="$temp_deplibs"
71042
 
+         fi
71043
 
+
71044
 
+         newlib_search_path="$newlib_search_path $absdir"
71045
 
+         # Link against this library
71046
 
+         test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs"
71047
 
+         # ... and its dependency_libs
71048
 
+         tmp_libs=
71049
 
+         for deplib in $dependency_libs; do
71050
 
+           newdependency_libs="$deplib $newdependency_libs"
71051
 
+           if $opt_duplicate_deps ; then
71052
 
+             case "$tmp_libs " in
71053
 
+             *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
71054
 
+             esac
71055
 
+           fi
71056
 
+           tmp_libs="$tmp_libs $deplib"
71057
 
+         done
71058
 
+
71059
 
+         if test "$link_all_deplibs" != no; then
71060
 
+           # Add the search paths of all dependency libraries
71061
 
+           for deplib in $dependency_libs; do
71062
 
+             path=
71063
 
+             case $deplib in
71064
 
+             -L*) path="$deplib" ;;
71065
 
+             *.la)
71066
 
+               func_dirname "$deplib" "" "."
71067
 
+               dir="$func_dirname_result"
71068
 
+               # We need an absolute path.
71069
 
+               case $dir in
71070
 
+               [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;;
71071
 
+               *)
71072
 
+                 absdir=`cd "$dir" && pwd`
71073
 
+                 if test -z "$absdir"; then
71074
 
+                   func_warning "cannot determine absolute directory name of \`$dir'"
71075
 
+                   absdir="$dir"
71076
 
+                 fi
71077
 
+                 ;;
71078
 
+               esac
71079
 
+               if $GREP "^installed=no" $deplib > /dev/null; then
71080
 
+               case $host in
71081
 
+               *-*-darwin*)
71082
 
+                 depdepl=
71083
 
+                 eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib`
71084
 
+                 if test -n "$deplibrary_names" ; then
71085
 
+                   for tmp in $deplibrary_names ; do
71086
 
+                     depdepl=$tmp
71087
 
+                   done
71088
 
+                   if test -f "$absdir/$objdir/$depdepl" ; then
71089
 
+                     depdepl="$absdir/$objdir/$depdepl"
71090
 
+                     darwin_install_name=`${OTOOL} -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'`
71091
 
+                      if test -z "$darwin_install_name"; then
71092
 
+                          darwin_install_name=`${OTOOL64} -L $depdepl  | awk '{if (NR == 2) {print $1;exit}}'`
71093
 
+                      fi
71094
 
+                     compiler_flags="$compiler_flags ${wl}-dylib_file ${wl}${darwin_install_name}:${depdepl}"
71095
 
+                     linker_flags="$linker_flags -dylib_file ${darwin_install_name}:${depdepl}"
71096
 
+                     path=
71097
 
+                   fi
71098
 
+                 fi
71099
 
+                 ;;
71100
 
+               *)
71101
 
+                 path="-L$absdir/$objdir"
71102
 
+                 ;;
71103
 
+               esac
71104
 
+               else
71105
 
+                 eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
71106
 
+                 test -z "$libdir" && \
71107
 
+                   func_fatal_error "\`$deplib' is not a valid libtool archive"
71108
 
+                 test "$absdir" != "$libdir" && \
71109
 
+                   func_warning "\`$deplib' seems to be moved"
71110
 
+
71111
 
+                 path="-L$absdir"
71112
 
+               fi
71113
 
+               ;;
71114
 
+             esac
71115
 
+             case " $deplibs " in
71116
 
+             *" $path "*) ;;
71117
 
+             *) deplibs="$path $deplibs" ;;
71118
 
+             esac
71119
 
+           done
71120
 
+         fi # link_all_deplibs != no
71121
 
+       fi # linkmode = lib
71122
 
+      done # for deplib in $libs
71123
 
+      if test "$pass" = link; then
71124
 
+       if test "$linkmode" = "prog"; then
71125
 
+         compile_deplibs="$new_inherited_linker_flags $compile_deplibs"
71126
 
+         finalize_deplibs="$new_inherited_linker_flags $finalize_deplibs"
71127
 
+       else
71128
 
+         compiler_flags="$compiler_flags "`$ECHO "X $new_inherited_linker_flags" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
71129
 
+       fi
71130
 
+      fi
71131
 
+      dependency_libs="$newdependency_libs"
71132
 
+      if test "$pass" = dlpreopen; then
71133
 
+       # Link the dlpreopened libraries before other libraries
71134
 
+       for deplib in $save_deplibs; do
71135
 
+         deplibs="$deplib $deplibs"
71136
 
+       done
71137
 
+      fi
71138
 
+      if test "$pass" != dlopen; then
71139
 
+       if test "$pass" != conv; then
71140
 
+         # Make sure lib_search_path contains only unique directories.
71141
 
+         lib_search_path=
71142
 
+         for dir in $newlib_search_path; do
71143
 
+           case "$lib_search_path " in
71144
 
+           *" $dir "*) ;;
71145
 
+           *) lib_search_path="$lib_search_path $dir" ;;
71146
 
+           esac
71147
 
+         done
71148
 
+         newlib_search_path=
71149
 
+       fi
71150
 
+
71151
 
+       if test "$linkmode,$pass" != "prog,link"; then
71152
 
+         vars="deplibs"
71153
 
+       else
71154
 
+         vars="compile_deplibs finalize_deplibs"
71155
 
+       fi
71156
 
+       for var in $vars dependency_libs; do
71157
 
+         # Add libraries to $var in reverse order
71158
 
+         eval tmp_libs=\"\$$var\"
71159
 
+         new_libs=
71160
 
+         for deplib in $tmp_libs; do
71161
 
+           # FIXME: Pedantically, this is the right thing to do, so
71162
 
+           #        that some nasty dependency loop isn't accidentally
71163
 
+           #        broken:
71164
 
+           #new_libs="$deplib $new_libs"
71165
 
+           # Pragmatically, this seems to cause very few problems in
71166
 
+           # practice:
71167
 
+           case $deplib in
71168
 
+           -L*) new_libs="$deplib $new_libs" ;;
71169
 
+           -R*) ;;
71170
 
+           *)
71171
 
+             # And here is the reason: when a library appears more
71172
 
+             # than once as an explicit dependence of a library, or
71173
 
+             # is implicitly linked in more than once by the
71174
 
+             # compiler, it is considered special, and multiple
71175
 
+             # occurrences thereof are not removed.  Compare this
71176
 
+             # with having the same library being listed as a
71177
 
+             # dependency of multiple other libraries: in this case,
71178
 
+             # we know (pedantically, we assume) the library does not
71179
 
+             # need to be listed more than once, so we keep only the
71180
 
+             # last copy.  This is not always right, but it is rare
71181
 
+             # enough that we require users that really mean to play
71182
 
+             # such unportable linking tricks to link the library
71183
 
+             # using -Wl,-lname, so that libtool does not consider it
71184
 
+             # for duplicate removal.
71185
 
+             case " $specialdeplibs " in
71186
 
+             *" $deplib "*) new_libs="$deplib $new_libs" ;;
71187
 
+             *)
71188
 
+               case " $new_libs " in
71189
 
+               *" $deplib "*) ;;
71190
 
+               *) new_libs="$deplib $new_libs" ;;
71191
 
+               esac
71192
 
+               ;;
71193
 
+             esac
71194
 
+             ;;
71195
 
+           esac
71196
 
+         done
71197
 
+         tmp_libs=
71198
 
+         for deplib in $new_libs; do
71199
 
+           case $deplib in
71200
 
+           -L*)
71201
 
+             case " $tmp_libs " in
71202
 
+             *" $deplib "*) ;;
71203
 
+             *) tmp_libs="$tmp_libs $deplib" ;;
71204
 
+             esac
71205
 
+             ;;
71206
 
+           *) tmp_libs="$tmp_libs $deplib" ;;
71207
 
+           esac
71208
 
+         done
71209
 
+         eval $var=\"$tmp_libs\"
71210
 
+       done # for var
71211
 
+      fi
71212
 
+      # Last step: remove runtime libs from dependency_libs
71213
 
+      # (they stay in deplibs)
71214
 
+      tmp_libs=
71215
 
+      for i in $dependency_libs ; do
71216
 
+       case " $predeps $postdeps $compiler_lib_search_path " in
71217
 
+       *" $i "*)
71218
 
+         i=""
71219
 
+         ;;
71220
 
+       esac
71221
 
+       if test -n "$i" ; then
71222
 
+         tmp_libs="$tmp_libs $i"
71223
 
+       fi
71224
 
+      done
71225
 
+      dependency_libs=$tmp_libs
71226
 
+    done # for pass
71227
 
+    if test "$linkmode" = prog; then
71228
 
+      dlfiles="$newdlfiles"
71229
 
+    fi
71230
 
+    if test "$linkmode" = prog || test "$linkmode" = lib; then
71231
 
+      dlprefiles="$newdlprefiles"
71232
 
+    fi
71233
 
+
71234
 
+    case $linkmode in
71235
 
+    oldlib)
71236
 
+      if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
71237
 
+       func_warning "\`-dlopen' is ignored for archives"
71238
 
+      fi
71239
 
+
71240
 
+      case " $deplibs" in
71241
 
+      *\ -l* | *\ -L*)
71242
 
+       func_warning "\`-l' and \`-L' are ignored for archives" ;;
71243
 
+      esac
71244
 
+
71245
 
+      test -n "$rpath" && \
71246
 
+       func_warning "\`-rpath' is ignored for archives"
71247
 
+
71248
 
+      test -n "$xrpath" && \
71249
 
+       func_warning "\`-R' is ignored for archives"
71250
 
+
71251
 
+      test -n "$vinfo" && \
71252
 
+       func_warning "\`-version-info/-version-number' is ignored for archives"
71253
 
+
71254
 
+      test -n "$release" && \
71255
 
+       func_warning "\`-release' is ignored for archives"
71256
 
+
71257
 
+      test -n "$export_symbols$export_symbols_regex" && \
71258
 
+       func_warning "\`-export-symbols' is ignored for archives"
71259
 
+
71260
 
+      # Now set the variables for building old libraries.
71261
 
+      build_libtool_libs=no
71262
 
+      oldlibs="$output"
71263
 
+      objs="$objs$old_deplibs"
71264
 
+      ;;
71265
 
+
71266
 
+    lib)
71267
 
+      # Make sure we only generate libraries of the form `libNAME.la'.
71268
 
+      case $outputname in
71269
 
+      lib*)
71270
 
+       func_stripname 'lib' '.la' "$outputname"
71271
 
+       name=$func_stripname_result
71272
 
+       eval shared_ext=\"$shrext_cmds\"
71273
 
+       eval libname=\"$libname_spec\"
71274
 
+       ;;
71275
 
+      *)
71276
 
+       test "$module" = no && \
71277
 
+         func_fatal_help "libtool library \`$output' must begin with \`lib'"
71278
 
+
71279
 
+       if test "$need_lib_prefix" != no; then
71280
 
+         # Add the "lib" prefix for modules if required
71281
 
+         func_stripname '' '.la' "$outputname"
71282
 
+         name=$func_stripname_result
71283
 
+         eval shared_ext=\"$shrext_cmds\"
71284
 
+         eval libname=\"$libname_spec\"
71285
 
+       else
71286
 
+         func_stripname '' '.la' "$outputname"
71287
 
+         libname=$func_stripname_result
71288
 
+       fi
71289
 
+       ;;
71290
 
+      esac
71291
 
+
71292
 
+      if test -n "$objs"; then
71293
 
+       if test "$deplibs_check_method" != pass_all; then
71294
 
+         func_fatal_error "cannot build libtool library \`$output' from non-libtool objects on this host:$objs"
71295
 
+       else
71296
 
+         $ECHO
71297
 
+         $ECHO "*** Warning: Linking the shared library $output against the non-libtool"
71298
 
+         $ECHO "*** objects $objs is not portable!"
71299
 
+         libobjs="$libobjs $objs"
71300
 
+       fi
71301
 
+      fi
71302
 
+
71303
 
+      test "$dlself" != no && \
71304
 
+       func_warning "\`-dlopen self' is ignored for libtool libraries"
71305
 
+
71306
 
+      set dummy $rpath
71307
 
+      shift
71308
 
+      test "$#" -gt 1 && \
71309
 
+       func_warning "ignoring multiple \`-rpath's for a libtool library"
71310
 
+
71311
 
+      install_libdir="$1"
71312
 
+
71313
 
+      oldlibs=
71314
 
+      if test -z "$rpath"; then
71315
 
+       if test "$build_libtool_libs" = yes; then
71316
 
+         # Building a libtool convenience library.
71317
 
+         # Some compilers have problems with a `.al' extension so
71318
 
+         # convenience libraries should have the same extension an
71319
 
+         # archive normally would.
71320
 
+         oldlibs="$output_objdir/$libname.$libext $oldlibs"
71321
 
+         build_libtool_libs=convenience
71322
 
+         build_old_libs=yes
71323
 
+       fi
71324
 
+
71325
 
+       test -n "$vinfo" && \
71326
 
+         func_warning "\`-version-info/-version-number' is ignored for convenience libraries"
71327
 
+
71328
 
+       test -n "$release" && \
71329
 
+         func_warning "\`-release' is ignored for convenience libraries"
71330
 
+      else
71331
 
+
71332
 
+       # Parse the version information argument.
71333
 
+       save_ifs="$IFS"; IFS=':'
71334
 
+       set dummy $vinfo 0 0 0
71335
 
+       shift
71336
 
+       IFS="$save_ifs"
71337
 
+
71338
 
+       test -n "$7" && \
71339
 
+         func_fatal_help "too many parameters to \`-version-info'"
71340
 
+
71341
 
+       # convert absolute version numbers to libtool ages
71342
 
+       # this retains compatibility with .la files and attempts
71343
 
+       # to make the code below a bit more comprehensible
71344
 
+
71345
 
+       case $vinfo_number in
71346
 
+       yes)
71347
 
+         number_major="$1"
71348
 
+         number_minor="$2"
71349
 
+         number_revision="$3"
71350
 
+         #
71351
 
+         # There are really only two kinds -- those that
71352
 
+         # use the current revision as the major version
71353
 
+         # and those that subtract age and use age as
71354
 
+         # a minor version.  But, then there is irix
71355
 
+         # which has an extra 1 added just for fun
71356
 
+         #
71357
 
+         case $version_type in
71358
 
+         darwin|linux|osf|windows|none)
71359
 
+           func_arith $number_major + $number_minor
71360
 
+           current=$func_arith_result
71361
 
+           age="$number_minor"
71362
 
+           revision="$number_revision"
71363
 
+           ;;
71364
 
+         freebsd-aout|freebsd-elf|sunos)
71365
 
+           current="$number_major"
71366
 
+           revision="$number_minor"
71367
 
+           age="0"
71368
 
+           ;;
71369
 
+         irix|nonstopux)
71370
 
+           func_arith $number_major + $number_minor
71371
 
+           current=$func_arith_result
71372
 
+           age="$number_minor"
71373
 
+           revision="$number_minor"
71374
 
+           lt_irix_increment=no
71375
 
+           ;;
71376
 
+         *)
71377
 
+           func_fatal_configuration "$modename: unknown library version type \`$version_type'"
71378
 
+           ;;
71379
 
+         esac
71380
 
+         ;;
71381
 
+       no)
71382
 
+         current="$1"
71383
 
+         revision="$2"
71384
 
+         age="$3"
71385
 
+         ;;
71386
 
+       esac
71387
 
+
71388
 
+       # Check that each of the things are valid numbers.
71389
 
+       case $current in
71390
 
+       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]) ;;
71391
 
+       *)
71392
 
+         func_error "CURRENT \`$current' must be a nonnegative integer"
71393
 
+         func_fatal_error "\`$vinfo' is not valid version information"
71394
 
+         ;;
71395
 
+       esac
71396
 
+
71397
 
+       case $revision in
71398
 
+       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]) ;;
71399
 
+       *)
71400
 
+         func_error "REVISION \`$revision' must be a nonnegative integer"
71401
 
+         func_fatal_error "\`$vinfo' is not valid version information"
71402
 
+         ;;
71403
 
+       esac
71404
 
+
71405
 
+       case $age in
71406
 
+       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]) ;;
71407
 
+       *)
71408
 
+         func_error "AGE \`$age' must be a nonnegative integer"
71409
 
+         func_fatal_error "\`$vinfo' is not valid version information"
71410
 
+         ;;
71411
 
+       esac
71412
 
+
71413
 
+       if test "$age" -gt "$current"; then
71414
 
+         func_error "AGE \`$age' is greater than the current interface number \`$current'"
71415
 
+         func_fatal_error "\`$vinfo' is not valid version information"
71416
 
+       fi
71417
 
+
71418
 
+       # Calculate the version variables.
71419
 
+       major=
71420
 
+       versuffix=
71421
 
+       verstring=
71422
 
+       case $version_type in
71423
 
+       none) ;;
71424
 
+
71425
 
+       darwin)
71426
 
+         # Like Linux, but with the current version available in
71427
 
+         # verstring for coding it into the library header
71428
 
+         func_arith $current - $age
71429
 
+         major=.$func_arith_result
71430
 
+         versuffix="$major.$age.$revision"
71431
 
+         # Darwin ld doesn't like 0 for these options...
71432
 
+         func_arith $current + 1
71433
 
+         minor_current=$func_arith_result
71434
 
+         xlcverstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision"
71435
 
+         verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"
71436
 
+         ;;
71437
 
+
71438
 
+       freebsd-aout)
71439
 
+         major=".$current"
71440
 
+         versuffix=".$current.$revision";
71441
 
+         ;;
71442
 
+
71443
 
+       freebsd-elf)
71444
 
+         major=".$current"
71445
 
+         versuffix=".$current"
71446
 
+         ;;
71447
 
+
71448
 
+       irix | nonstopux)
71449
 
+         if test "X$lt_irix_increment" = "Xno"; then
71450
 
+           func_arith $current - $age
71451
 
+         else
71452
 
+           func_arith $current - $age + 1
71453
 
+         fi
71454
 
+         major=$func_arith_result
71455
 
+
71456
 
+         case $version_type in
71457
 
+           nonstopux) verstring_prefix=nonstopux ;;
71458
 
+           *)         verstring_prefix=sgi ;;
71459
 
+         esac
71460
 
+         verstring="$verstring_prefix$major.$revision"
71461
 
+
71462
 
+         # Add in all the interfaces that we are compatible with.
71463
 
+         loop=$revision
71464
 
+         while test "$loop" -ne 0; do
71465
 
+           func_arith $revision - $loop
71466
 
+           iface=$func_arith_result
71467
 
+           func_arith $loop - 1
71468
 
+           loop=$func_arith_result
71469
 
+           verstring="$verstring_prefix$major.$iface:$verstring"
71470
 
+         done
71471
 
+
71472
 
+         # Before this point, $major must not contain `.'.
71473
 
+         major=.$major
71474
 
+         versuffix="$major.$revision"
71475
 
+         ;;
71476
 
+
71477
 
+       linux)
71478
 
+         func_arith $current - $age
71479
 
+         major=.$func_arith_result
71480
 
+         versuffix="$major.$age.$revision"
71481
 
+         ;;
71482
 
+
71483
 
+       osf)
71484
 
+         func_arith $current - $age
71485
 
+         major=.$func_arith_result
71486
 
+         versuffix=".$current.$age.$revision"
71487
 
+         verstring="$current.$age.$revision"
71488
 
+
71489
 
+         # Add in all the interfaces that we are compatible with.
71490
 
+         loop=$age
71491
 
+         while test "$loop" -ne 0; do
71492
 
+           func_arith $current - $loop
71493
 
+           iface=$func_arith_result
71494
 
+           func_arith $loop - 1
71495
 
+           loop=$func_arith_result
71496
 
+           verstring="$verstring:${iface}.0"
71497
 
+         done
71498
 
+
71499
 
+         # Make executables depend on our current version.
71500
 
+         verstring="$verstring:${current}.0"
71501
 
+         ;;
71502
 
+
71503
 
+       qnx)
71504
 
+         major=".$current"
71505
 
+         versuffix=".$current"
71506
 
+         ;;
71507
 
+
71508
 
+       sunos)
71509
 
+         major=".$current"
71510
 
+         versuffix=".$current.$revision"
71511
 
+         ;;
71512
 
+
71513
 
+       windows)
71514
 
+         # Use '-' rather than '.', since we only want one
71515
 
+         # extension on DOS 8.3 filesystems.
71516
 
+         func_arith $current - $age
71517
 
+         major=$func_arith_result
71518
 
+         versuffix="-$major"
71519
 
+         ;;
71520
 
+
71521
 
+       *)
71522
 
+         func_fatal_configuration "unknown library version type \`$version_type'"
71523
 
+         ;;
71524
 
+       esac
71525
 
+
71526
 
+       # Clear the version info if we defaulted, and they specified a release.
71527
 
+       if test -z "$vinfo" && test -n "$release"; then
71528
 
+         major=
71529
 
+         case $version_type in
71530
 
+         darwin)
71531
 
+           # we can't check for "0.0" in archive_cmds due to quoting
71532
 
+           # problems, so we reset it completely
71533
 
+           verstring=
71534
 
+           ;;
71535
 
+         *)
71536
 
+           verstring="0.0"
71537
 
+           ;;
71538
 
+         esac
71539
 
+         if test "$need_version" = no; then
71540
 
+           versuffix=
71541
 
+         else
71542
 
+           versuffix=".0.0"
71543
 
+         fi
71544
 
+       fi
71545
 
+
71546
 
+       # Remove version info from name if versioning should be avoided
71547
 
+       if test "$avoid_version" = yes && test "$need_version" = no; then
71548
 
+         major=
71549
 
+         versuffix=
71550
 
+         verstring=""
71551
 
+       fi
71552
 
+
71553
 
+       # Check to see if the archive will have undefined symbols.
71554
 
+       if test "$allow_undefined" = yes; then
71555
 
+         if test "$allow_undefined_flag" = unsupported; then
71556
 
+           func_warning "undefined symbols not allowed in $host shared libraries"
71557
 
+           build_libtool_libs=no
71558
 
+           build_old_libs=yes
71559
 
+         fi
71560
 
+       else
71561
 
+         # Don't allow undefined symbols.
71562
 
+         allow_undefined_flag="$no_undefined_flag"
71563
 
+       fi
71564
 
+
71565
 
+      fi
71566
 
+
71567
 
+      func_generate_dlsyms "$libname" "$libname" "yes"
71568
 
+      libobjs="$libobjs $symfileobj"
71569
 
+      test "X$libobjs" = "X " && libobjs=
71570
 
+
71571
 
+      if test "$mode" != relink; then
71572
 
+       # Remove our outputs, but don't remove object files since they
71573
 
+       # may have been created when compiling PIC objects.
71574
 
+       removelist=
71575
 
+       tempremovelist=`$ECHO "$output_objdir/*"`
71576
 
+       for p in $tempremovelist; do
71577
 
+         case $p in
71578
 
+           *.$objext | *.gcno)
71579
 
+              ;;
71580
 
+           $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*)
71581
 
+              if test "X$precious_files_regex" != "X"; then
71582
 
+                if $ECHO "$p" | $EGREP -e "$precious_files_regex" >/dev/null 2>&1
71583
 
+                then
71584
 
+                  continue
71585
 
+                fi
71586
 
+              fi
71587
 
+              removelist="$removelist $p"
71588
 
+              ;;
71589
 
+           *) ;;
71590
 
+         esac
71591
 
+       done
71592
 
+       test -n "$removelist" && \
71593
 
+         func_show_eval "${RM}r \$removelist"
71594
 
+      fi
71595
 
+
71596
 
+      # Now set the variables for building old libraries.
71597
 
+      if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then
71598
 
+       oldlibs="$oldlibs $output_objdir/$libname.$libext"
71599
 
+
71600
 
+       # Transform .lo files to .o files.
71601
 
+       oldobjs="$objs "`$ECHO "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e "$lo2o" | $NL2SP`
71602
 
+      fi
71603
 
+
71604
 
+      # Eliminate all temporary directories.
71605
 
+      #for path in $notinst_path; do
71606
 
+      #        lib_search_path=`$ECHO "X$lib_search_path " | $Xsed -e "s% $path % %g"`
71607
 
+      #        deplibs=`$ECHO "X$deplibs " | $Xsed -e "s% -L$path % %g"`
71608
 
+      #        dependency_libs=`$ECHO "X$dependency_libs " | $Xsed -e "s% -L$path % %g"`
71609
 
+      #done
71610
 
+
71611
 
+      if test -n "$xrpath"; then
71612
 
+       # If the user specified any rpath flags, then add them.
71613
 
+       temp_xrpath=
71614
 
+       for libdir in $xrpath; do
71615
 
+         temp_xrpath="$temp_xrpath -R$libdir"
71616
 
+         case "$finalize_rpath " in
71617
 
+         *" $libdir "*) ;;
71618
 
+         *) finalize_rpath="$finalize_rpath $libdir" ;;
71619
 
+         esac
71620
 
+       done
71621
 
+       if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then
71622
 
+         dependency_libs="$temp_xrpath $dependency_libs"
71623
 
+       fi
71624
 
+      fi
71625
 
+
71626
 
+      # Make sure dlfiles contains only unique files that won't be dlpreopened
71627
 
+      old_dlfiles="$dlfiles"
71628
 
+      dlfiles=
71629
 
+      for lib in $old_dlfiles; do
71630
 
+       case " $dlprefiles $dlfiles " in
71631
 
+       *" $lib "*) ;;
71632
 
+       *) dlfiles="$dlfiles $lib" ;;
71633
 
+       esac
71634
 
+      done
71635
 
+
71636
 
+      # Make sure dlprefiles contains only unique files
71637
 
+      old_dlprefiles="$dlprefiles"
71638
 
+      dlprefiles=
71639
 
+      for lib in $old_dlprefiles; do
71640
 
+       case "$dlprefiles " in
71641
 
+       *" $lib "*) ;;
71642
 
+       *) dlprefiles="$dlprefiles $lib" ;;
71643
 
+       esac
71644
 
+      done
71645
 
+
71646
 
+      if test "$build_libtool_libs" = yes; then
71647
 
+       if test -n "$rpath"; then
71648
 
+         case $host in
71649
 
+         *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc*)
71650
 
+           # these systems don't actually have a c library (as such)!
71651
 
+           ;;
71652
 
+         *-*-rhapsody* | *-*-darwin1.[012])
71653
 
+           # Rhapsody C library is in the System framework
71654
 
+           deplibs="$deplibs System.ltframework"
71655
 
+           ;;
71656
 
+         *-*-netbsd*)
71657
 
+           # Don't link with libc until the a.out ld.so is fixed.
71658
 
+           ;;
71659
 
+         *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
71660
 
+           # Do not include libc due to us having libc/libc_r.
71661
 
+           ;;
71662
 
+         *-*-sco3.2v5* | *-*-sco5v6*)
71663
 
+           # Causes problems with __ctype
71664
 
+           ;;
71665
 
+         *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
71666
 
+           # Compiler inserts libc in the correct place for threads to work
71667
 
+           ;;
71668
 
+         *)
71669
 
+           # Add libc to deplibs on all other systems if necessary.
71670
 
+           if test "$build_libtool_need_lc" = "yes"; then
71671
 
+             deplibs="$deplibs -lc"
71672
 
+           fi
71673
 
+           ;;
71674
 
+         esac
71675
 
+       fi
71676
 
+
71677
 
+       # Transform deplibs into only deplibs that can be linked in shared.
71678
 
+       name_save=$name
71679
 
+       libname_save=$libname
71680
 
+       release_save=$release
71681
 
+       versuffix_save=$versuffix
71682
 
+       major_save=$major
71683
 
+       # I'm not sure if I'm treating the release correctly.  I think
71684
 
+       # release should show up in the -l (ie -lgmp5) so we don't want to
71685
 
+       # add it in twice.  Is that correct?
71686
 
+       release=""
71687
 
+       versuffix=""
71688
 
+       major=""
71689
 
+       newdeplibs=
71690
 
+       droppeddeps=no
71691
 
+       case $deplibs_check_method in
71692
 
+       pass_all)
71693
 
+         # Don't check for shared/static.  Everything works.
71694
 
+         # This might be a little naive.  We might want to check
71695
 
+         # whether the library exists or not.  But this is on
71696
 
+         # osf3 & osf4 and I'm not really sure... Just
71697
 
+         # implementing what was already the behavior.
71698
 
+         newdeplibs=$deplibs
71699
 
+         ;;
71700
 
+       test_compile)
71701
 
+         # This code stresses the "libraries are programs" paradigm to its
71702
 
+         # limits. Maybe even breaks it.  We compile a program, linking it
71703
 
+         # against the deplibs as a proxy for the library.  Then we can check
71704
 
+         # whether they linked in statically or dynamically with ldd.
71705
 
+         $opt_dry_run || $RM conftest.c
71706
 
+         cat > conftest.c <<EOF
71707
 
+         int main() { return 0; }
71708
 
+EOF
71709
 
+         $opt_dry_run || $RM conftest
71710
 
+         if $LTCC $LTCFLAGS -o conftest conftest.c $deplibs; then
71711
 
+           ldd_output=`ldd conftest`
71712
 
+           for i in $deplibs; do
71713
 
+             case $i in
71714
 
+             -l*)
71715
 
+               func_stripname -l '' "$i"
71716
 
+               name=$func_stripname_result
71717
 
+               if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
71718
 
+                 case " $predeps $postdeps " in
71719
 
+                 *" $i "*)
71720
 
+                   newdeplibs="$newdeplibs $i"
71721
 
+                   i=""
71722
 
+                   ;;
71723
 
+                 esac
71724
 
+               fi
71725
 
+               if test -n "$i" ; then
71726
 
+                 libname=`eval "\\$ECHO \"$libname_spec\""`
71727
 
+                 deplib_matches=`eval "\\$ECHO \"$library_names_spec\""`
71728
 
+                 set dummy $deplib_matches; shift
71729
 
+                 deplib_match=$1
71730
 
+                 if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
71731
 
+                   newdeplibs="$newdeplibs $i"
71732
 
+                 else
71733
 
+                   droppeddeps=yes
71734
 
+                   $ECHO
71735
 
+                   $ECHO "*** Warning: dynamic linker does not accept needed library $i."
71736
 
+                   $ECHO "*** I have the capability to make that library automatically link in when"
71737
 
+                   $ECHO "*** you link to this library.  But I can only do this if you have a"
71738
 
+                   $ECHO "*** shared version of the library, which I believe you do not have"
71739
 
+                   $ECHO "*** because a test_compile did reveal that the linker did not use it for"
71740
 
+                   $ECHO "*** its dynamic dependency list that programs get resolved with at runtime."
71741
 
+                 fi
71742
 
+               fi
71743
 
+               ;;
71744
 
+             *)
71745
 
+               newdeplibs="$newdeplibs $i"
71746
 
+               ;;
71747
 
+             esac
71748
 
+           done
71749
 
+         else
71750
 
+           # Error occurred in the first compile.  Let's try to salvage
71751
 
+           # the situation: Compile a separate program for each library.
71752
 
+           for i in $deplibs; do
71753
 
+             case $i in
71754
 
+             -l*)
71755
 
+               func_stripname -l '' "$i"
71756
 
+               name=$func_stripname_result
71757
 
+               $opt_dry_run || $RM conftest
71758
 
+               if $LTCC $LTCFLAGS -o conftest conftest.c $i; then
71759
 
+                 ldd_output=`ldd conftest`
71760
 
+                 if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
71761
 
+                   case " $predeps $postdeps " in
71762
 
+                   *" $i "*)
71763
 
+                     newdeplibs="$newdeplibs $i"
71764
 
+                     i=""
71765
 
+                     ;;
71766
 
+                   esac
71767
 
+                 fi
71768
 
+                 if test -n "$i" ; then
71769
 
+                   libname=`eval "\\$ECHO \"$libname_spec\""`
71770
 
+                   deplib_matches=`eval "\\$ECHO \"$library_names_spec\""`
71771
 
+                   set dummy $deplib_matches; shift
71772
 
+                   deplib_match=$1
71773
 
+                   if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
71774
 
+                     newdeplibs="$newdeplibs $i"
71775
 
+                   else
71776
 
+                     droppeddeps=yes
71777
 
+                     $ECHO
71778
 
+                     $ECHO "*** Warning: dynamic linker does not accept needed library $i."
71779
 
+                     $ECHO "*** I have the capability to make that library automatically link in when"
71780
 
+                     $ECHO "*** you link to this library.  But I can only do this if you have a"
71781
 
+                     $ECHO "*** shared version of the library, which you do not appear to have"
71782
 
+                     $ECHO "*** because a test_compile did reveal that the linker did not use this one"
71783
 
+                     $ECHO "*** as a dynamic dependency that programs can get resolved with at runtime."
71784
 
+                   fi
71785
 
+                 fi
71786
 
+               else
71787
 
+                 droppeddeps=yes
71788
 
+                 $ECHO
71789
 
+                 $ECHO "*** Warning!  Library $i is needed by this library but I was not able to"
71790
 
+                 $ECHO "*** make it link in!  You will probably need to install it or some"
71791
 
+                 $ECHO "*** library that it depends on before this library will be fully"
71792
 
+                 $ECHO "*** functional.  Installing it before continuing would be even better."
71793
 
+               fi
71794
 
+               ;;
71795
 
+             *)
71796
 
+               newdeplibs="$newdeplibs $i"
71797
 
+               ;;
71798
 
+             esac
71799
 
+           done
71800
 
+         fi
71801
 
+         ;;
71802
 
+       file_magic*)
71803
 
+         set dummy $deplibs_check_method; shift
71804
 
+         file_magic_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"`
71805
 
+         for a_deplib in $deplibs; do
71806
 
+           case $a_deplib in
71807
 
+           -l*)
71808
 
+             func_stripname -l '' "$a_deplib"
71809
 
+             name=$func_stripname_result
71810
 
+             if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
71811
 
+               case " $predeps $postdeps " in
71812
 
+               *" $a_deplib "*)
71813
 
+                 newdeplibs="$newdeplibs $a_deplib"
71814
 
+                 a_deplib=""
71815
 
+                 ;;
71816
 
+               esac
71817
 
+             fi
71818
 
+             if test -n "$a_deplib" ; then
71819
 
+               libname=`eval "\\$ECHO \"$libname_spec\""`
71820
 
+               for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
71821
 
+                 potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
71822
 
+                 for potent_lib in $potential_libs; do
71823
 
+                     # Follow soft links.
71824
 
+                     if ls -lLd "$potent_lib" 2>/dev/null |
71825
 
+                        $GREP " -> " >/dev/null; then
71826
 
+                       continue
71827
 
+                     fi
71828
 
+                     # The statement above tries to avoid entering an
71829
 
+                     # endless loop below, in case of cyclic links.
71830
 
+                     # We might still enter an endless loop, since a link
71831
 
+                     # loop can be closed while we follow links,
71832
 
+                     # but so what?
71833
 
+                     potlib="$potent_lib"
71834
 
+                     while test -h "$potlib" 2>/dev/null; do
71835
 
+                       potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'`
71836
 
+                       case $potliblink in
71837
 
+                       [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";;
71838
 
+                       *) potlib=`$ECHO "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";;
71839
 
+                       esac
71840
 
+                     done
71841
 
+                     if eval $file_magic_cmd \"\$potlib\" 2>/dev/null |
71842
 
+                        $SED -e 10q |
71843
 
+                        $EGREP "$file_magic_regex" > /dev/null; then
71844
 
+                       newdeplibs="$newdeplibs $a_deplib"
71845
 
+                       a_deplib=""
71846
 
+                       break 2
71847
 
+                     fi
71848
 
+                 done
71849
 
+               done
71850
 
+             fi
71851
 
+             if test -n "$a_deplib" ; then
71852
 
+               droppeddeps=yes
71853
 
+               $ECHO
71854
 
+               $ECHO "*** Warning: linker path does not have real file for library $a_deplib."
71855
 
+               $ECHO "*** I have the capability to make that library automatically link in when"
71856
 
+               $ECHO "*** you link to this library.  But I can only do this if you have a"
71857
 
+               $ECHO "*** shared version of the library, which you do not appear to have"
71858
 
+               $ECHO "*** because I did check the linker path looking for a file starting"
71859
 
+               if test -z "$potlib" ; then
71860
 
+                 $ECHO "*** with $libname but no candidates were found. (...for file magic test)"
71861
 
+               else
71862
 
+                 $ECHO "*** with $libname and none of the candidates passed a file format test"
71863
 
+                 $ECHO "*** using a file magic. Last file checked: $potlib"
71864
 
+               fi
71865
 
+             fi
71866
 
+             ;;
71867
 
+           *)
71868
 
+             # Add a -L argument.
71869
 
+             newdeplibs="$newdeplibs $a_deplib"
71870
 
+             ;;
71871
 
+           esac
71872
 
+         done # Gone through all deplibs.
71873
 
+         ;;
71874
 
+       match_pattern*)
71875
 
+         set dummy $deplibs_check_method; shift
71876
 
+         match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"`
71877
 
+         for a_deplib in $deplibs; do
71878
 
+           case $a_deplib in
71879
 
+           -l*)
71880
 
+             func_stripname -l '' "$a_deplib"
71881
 
+             name=$func_stripname_result
71882
 
+             if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
71883
 
+               case " $predeps $postdeps " in
71884
 
+               *" $a_deplib "*)
71885
 
+                 newdeplibs="$newdeplibs $a_deplib"
71886
 
+                 a_deplib=""
71887
 
+                 ;;
71888
 
+               esac
71889
 
+             fi
71890
 
+             if test -n "$a_deplib" ; then
71891
 
+               libname=`eval "\\$ECHO \"$libname_spec\""`
71892
 
+               for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
71893
 
+                 potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
71894
 
+                 for potent_lib in $potential_libs; do
71895
 
+                   potlib="$potent_lib" # see symlink-check above in file_magic test
71896
 
+                   if eval "\$ECHO \"X$potent_lib\"" 2>/dev/null | $Xsed -e 10q | \
71897
 
+                      $EGREP "$match_pattern_regex" > /dev/null; then
71898
 
+                     newdeplibs="$newdeplibs $a_deplib"
71899
 
+                     a_deplib=""
71900
 
+                     break 2
71901
 
+                   fi
71902
 
+                 done
71903
 
+               done
71904
 
+             fi
71905
 
+             if test -n "$a_deplib" ; then
71906
 
+               droppeddeps=yes
71907
 
+               $ECHO
71908
 
+               $ECHO "*** Warning: linker path does not have real file for library $a_deplib."
71909
 
+               $ECHO "*** I have the capability to make that library automatically link in when"
71910
 
+               $ECHO "*** you link to this library.  But I can only do this if you have a"
71911
 
+               $ECHO "*** shared version of the library, which you do not appear to have"
71912
 
+               $ECHO "*** because I did check the linker path looking for a file starting"
71913
 
+               if test -z "$potlib" ; then
71914
 
+                 $ECHO "*** with $libname but no candidates were found. (...for regex pattern test)"
71915
 
+               else
71916
 
+                 $ECHO "*** with $libname and none of the candidates passed a file format test"
71917
 
+                 $ECHO "*** using a regex pattern. Last file checked: $potlib"
71918
 
+               fi
71919
 
+             fi
71920
 
+             ;;
71921
 
+           *)
71922
 
+             # Add a -L argument.
71923
 
+             newdeplibs="$newdeplibs $a_deplib"
71924
 
+             ;;
71925
 
+           esac
71926
 
+         done # Gone through all deplibs.
71927
 
+         ;;
71928
 
+       none | unknown | *)
71929
 
+         newdeplibs=""
71930
 
+         tmp_deplibs=`$ECHO "X $deplibs" | $Xsed \
71931
 
+             -e 's/ -lc$//' -e 's/ -[LR][^ ]*//g'`
71932
 
+         if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
71933
 
+           for i in $predeps $postdeps ; do
71934
 
+             # can't use Xsed below, because $i might contain '/'
71935
 
+             tmp_deplibs=`$ECHO "X $tmp_deplibs" | $Xsed -e "s,$i,,"`
71936
 
+           done
71937
 
+         fi
71938
 
+         if $ECHO "X $tmp_deplibs" | $Xsed -e 's/[      ]//g' |
71939
 
+            $GREP . >/dev/null; then
71940
 
+           $ECHO
71941
 
+           if test "X$deplibs_check_method" = "Xnone"; then
71942
 
+             $ECHO "*** Warning: inter-library dependencies are not supported in this platform."
71943
 
+           else
71944
 
+             $ECHO "*** Warning: inter-library dependencies are not known to be supported."
71945
 
+           fi
71946
 
+           $ECHO "*** All declared inter-library dependencies are being dropped."
71947
 
+           droppeddeps=yes
71948
 
+         fi
71949
 
+         ;;
71950
 
+       esac
71951
 
+       versuffix=$versuffix_save
71952
 
+       major=$major_save
71953
 
+       release=$release_save
71954
 
+       libname=$libname_save
71955
 
+       name=$name_save
71956
 
 
71957
 
-    # If there was a directory component, then change thisdir.
71958
 
-    if test \"x\$destdir\" != \"x\$file\"; then
71959
 
-      case \"\$destdir\" in
71960
 
-      [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;;
71961
 
-      *) thisdir=\"\$thisdir/\$destdir\" ;;
71962
 
+       case $host in
71963
 
+       *-*-rhapsody* | *-*-darwin1.[012])
71964
 
+         # On Rhapsody replace the C library with the System framework
71965
 
+         newdeplibs=`$ECHO "X $newdeplibs" | $Xsed -e 's/ -lc / System.ltframework /'`
71966
 
+         ;;
71967
 
+       esac
71968
 
+
71969
 
+       if test "$droppeddeps" = yes; then
71970
 
+         if test "$module" = yes; then
71971
 
+           $ECHO
71972
 
+           $ECHO "*** Warning: libtool could not satisfy all declared inter-library"
71973
 
+           $ECHO "*** dependencies of module $libname.  Therefore, libtool will create"
71974
 
+           $ECHO "*** a static module, that should work as long as the dlopening"
71975
 
+           $ECHO "*** application is linked with the -dlopen flag."
71976
 
+           if test -z "$global_symbol_pipe"; then
71977
 
+             $ECHO
71978
 
+             $ECHO "*** However, this would only work if libtool was able to extract symbol"
71979
 
+             $ECHO "*** lists from a program, using \`nm' or equivalent, but libtool could"
71980
 
+             $ECHO "*** not find such a program.  So, this module is probably useless."
71981
 
+             $ECHO "*** \`nm' from GNU binutils and a full rebuild may help."
71982
 
+           fi
71983
 
+           if test "$build_old_libs" = no; then
71984
 
+             oldlibs="$output_objdir/$libname.$libext"
71985
 
+             build_libtool_libs=module
71986
 
+             build_old_libs=yes
71987
 
+           else
71988
 
+             build_libtool_libs=no
71989
 
+           fi
71990
 
+         else
71991
 
+           $ECHO "*** The inter-library dependencies that have been dropped here will be"
71992
 
+           $ECHO "*** automatically added whenever a program is linked with this library"
71993
 
+           $ECHO "*** or is declared to -dlopen it."
71994
 
+
71995
 
+           if test "$allow_undefined" = no; then
71996
 
+             $ECHO
71997
 
+             $ECHO "*** Since this library must not contain undefined symbols,"
71998
 
+             $ECHO "*** because either the platform does not support them or"
71999
 
+             $ECHO "*** it was explicitly requested with -no-undefined,"
72000
 
+             $ECHO "*** libtool will only create a static version of it."
72001
 
+             if test "$build_old_libs" = no; then
72002
 
+               oldlibs="$output_objdir/$libname.$libext"
72003
 
+               build_libtool_libs=module
72004
 
+               build_old_libs=yes
72005
 
+             else
72006
 
+               build_libtool_libs=no
72007
 
+             fi
72008
 
+           fi
72009
 
+         fi
72010
 
+       fi
72011
 
+       # Done checking deplibs!
72012
 
+       deplibs=$newdeplibs
72013
 
+      fi
72014
 
+      # Time to change all our "foo.ltframework" stuff back to "-framework foo"
72015
 
+      case $host in
72016
 
+       *-*-darwin*)
72017
 
+         newdeplibs=`$ECHO "X $newdeplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
72018
 
+         new_inherited_linker_flags=`$ECHO "X $new_inherited_linker_flags" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
72019
 
+         deplibs=`$ECHO "X $deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
72020
 
+         ;;
72021
 
       esac
72022
 
-    fi
72023
 
 
72024
 
-    file=\`\$echo \"X\$file\" | \$Xsed -e 's%^.*/%%'\`
72025
 
-    file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\`
72026
 
-  done
72027
 
+      # move library search paths that coincide with paths to not yet
72028
 
+      # installed libraries to the beginning of the library search list
72029
 
+      new_libs=
72030
 
+      for path in $notinst_path; do
72031
 
+       case " $new_libs " in
72032
 
+       *" -L$path/$objdir "*) ;;
72033
 
+       *)
72034
 
+         case " $deplibs " in
72035
 
+         *" -L$path/$objdir "*)
72036
 
+           new_libs="$new_libs -L$path/$objdir" ;;
72037
 
+         esac
72038
 
+         ;;
72039
 
+       esac
72040
 
+      done
72041
 
+      for deplib in $deplibs; do
72042
 
+       case $deplib in
72043
 
+       -L*)
72044
 
+         case " $new_libs " in
72045
 
+         *" $deplib "*) ;;
72046
 
+         *) new_libs="$new_libs $deplib" ;;
72047
 
+         esac
72048
 
+         ;;
72049
 
+       *) new_libs="$new_libs $deplib" ;;
72050
 
+       esac
72051
 
+      done
72052
 
+      deplibs="$new_libs"
72053
 
 
72054
 
-  # Try to get the absolute directory name.
72055
 
-  absdir=\`cd \"\$thisdir\" && pwd\`
72056
 
-  test -n \"\$absdir\" && thisdir=\"\$absdir\"
72057
 
-"
72058
 
+      # All the library-specific variables (install_libdir is set above).
72059
 
+      library_names=
72060
 
+      old_library=
72061
 
+      dlname=
72062
 
+
72063
 
+      # Test again, we may have decided not to build it any more
72064
 
+      if test "$build_libtool_libs" = yes; then
72065
 
+       if test "$hardcode_into_libs" = yes; then
72066
 
+         # Hardcode the library paths
72067
 
+         hardcode_libdirs=
72068
 
+         dep_rpath=
72069
 
+         rpath="$finalize_rpath"
72070
 
+         test "$mode" != relink && rpath="$compile_rpath$rpath"
72071
 
+         for libdir in $rpath; do
72072
 
+           if test -n "$hardcode_libdir_flag_spec"; then
72073
 
+             if test -n "$hardcode_libdir_separator"; then
72074
 
+               if test -z "$hardcode_libdirs"; then
72075
 
+                 hardcode_libdirs="$libdir"
72076
 
+               else
72077
 
+                 # Just accumulate the unique libdirs.
72078
 
+                 case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
72079
 
+                 *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
72080
 
+                   ;;
72081
 
+                 *)
72082
 
+                   hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
72083
 
+                   ;;
72084
 
+                 esac
72085
 
+               fi
72086
 
+             else
72087
 
+               eval flag=\"$hardcode_libdir_flag_spec\"
72088
 
+               dep_rpath="$dep_rpath $flag"
72089
 
+             fi
72090
 
+           elif test -n "$runpath_var"; then
72091
 
+             case "$perm_rpath " in
72092
 
+             *" $libdir "*) ;;
72093
 
+             *) perm_rpath="$perm_rpath $libdir" ;;
72094
 
+             esac
72095
 
+           fi
72096
 
+         done
72097
 
+         # Substitute the hardcoded libdirs into the rpath.
72098
 
+         if test -n "$hardcode_libdir_separator" &&
72099
 
+            test -n "$hardcode_libdirs"; then
72100
 
+           libdir="$hardcode_libdirs"
72101
 
+           if test -n "$hardcode_libdir_flag_spec_ld"; then
72102
 
+             eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\"
72103
 
+           else
72104
 
+             eval dep_rpath=\"$hardcode_libdir_flag_spec\"
72105
 
+           fi
72106
 
+         fi
72107
 
+         if test -n "$runpath_var" && test -n "$perm_rpath"; then
72108
 
+           # We should set the runpath_var.
72109
 
+           rpath=
72110
 
+           for dir in $perm_rpath; do
72111
 
+             rpath="$rpath$dir:"
72112
 
+           done
72113
 
+           eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var"
72114
 
+         fi
72115
 
+         test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs"
72116
 
+       fi
72117
 
 
72118
 
-       if test "$fast_install" = yes; then
72119
 
-         $echo >> $output "\
72120
 
-  program=lt-'$outputname'$exeext
72121
 
-  progdir=\"\$thisdir/$objdir\"
72122
 
+       shlibpath="$finalize_shlibpath"
72123
 
+       test "$mode" != relink && shlibpath="$compile_shlibpath$shlibpath"
72124
 
+       if test -n "$shlibpath"; then
72125
 
+         eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var"
72126
 
+       fi
72127
 
 
72128
 
-  if test ! -f \"\$progdir/\$program\" || \\
72129
 
-     { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\
72130
 
-       test \"X\$file\" != \"X\$progdir/\$program\"; }; then
72131
 
+       # Get the real and link names of the library.
72132
 
+       eval shared_ext=\"$shrext_cmds\"
72133
 
+       eval library_names=\"$library_names_spec\"
72134
 
+       set dummy $library_names
72135
 
+       shift
72136
 
+       realname="$1"
72137
 
+       shift
72138
 
 
72139
 
-    file=\"\$\$-\$program\"
72140
 
+       if test -n "$soname_spec"; then
72141
 
+         eval soname=\"$soname_spec\"
72142
 
+       else
72143
 
+         soname="$realname"
72144
 
+       fi
72145
 
+       if test -z "$dlname"; then
72146
 
+         dlname=$soname
72147
 
+       fi
72148
 
 
72149
 
-    if test ! -d \"\$progdir\"; then
72150
 
-      $mkdir \"\$progdir\"
72151
 
-    else
72152
 
-      $rm \"\$progdir/\$file\"
72153
 
-    fi"
72154
 
+       lib="$output_objdir/$realname"
72155
 
+       linknames=
72156
 
+       for link
72157
 
+       do
72158
 
+         linknames="$linknames $link"
72159
 
+       done
72160
 
 
72161
 
-         $echo >> $output "\
72162
 
+       # Use standard objects if they are pic
72163
 
+       test -z "$pic_flag" && libobjs=`$ECHO "X$libobjs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
72164
 
+       test "X$libobjs" = "X " && libobjs=
72165
 
 
72166
 
-    # relink executable if necessary
72167
 
-    if test -n \"\$relink_command\"; then
72168
 
-      if relink_command_output=\`eval \$relink_command 2>&1\`; then :
72169
 
-      else
72170
 
-       $echo \"\$relink_command_output\" >&2
72171
 
-       $rm \"\$progdir/\$file\"
72172
 
-       exit $EXIT_FAILURE
72173
 
-      fi
72174
 
-    fi
72175
 
+       delfiles=
72176
 
+       if test -n "$export_symbols" && test -n "$include_expsyms"; then
72177
 
+         $opt_dry_run || cp "$export_symbols" "$output_objdir/$libname.uexp"
72178
 
+         export_symbols="$output_objdir/$libname.uexp"
72179
 
+         delfiles="$delfiles $export_symbols"
72180
 
+       fi
72181
 
+
72182
 
+       orig_export_symbols=
72183
 
+       case $host_os in
72184
 
+       cygwin* | mingw* | cegcc*)
72185
 
+         if test -n "$export_symbols" && test -z "$export_symbols_regex"; then
72186
 
+           # exporting using user supplied symfile
72187
 
+           if test "x`$SED 1q $export_symbols`" != xEXPORTS; then
72188
 
+             # and it's NOT already a .def file. Must figure out
72189
 
+             # which of the given symbols are data symbols and tag
72190
 
+             # them as such. So, trigger use of export_symbols_cmds.
72191
 
+             # export_symbols gets reassigned inside the "prepare
72192
 
+             # the list of exported symbols" if statement, so the
72193
 
+             # include_expsyms logic still works.
72194
 
+             orig_export_symbols="$export_symbols"
72195
 
+             export_symbols=
72196
 
+             always_export_symbols=yes
72197
 
+           fi
72198
 
+         fi
72199
 
+         ;;
72200
 
+       esac
72201
 
 
72202
 
-    $mv \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null ||
72203
 
-    { $rm \"\$progdir/\$program\";
72204
 
-      $mv \"\$progdir/\$file\" \"\$progdir/\$program\"; }
72205
 
-    $rm \"\$progdir/\$file\"
72206
 
-  fi"
72207
 
-       else
72208
 
-         $echo >> $output "\
72209
 
-  program='$outputname'
72210
 
-  progdir=\"\$thisdir/$objdir\"
72211
 
-"
72212
 
+       # Prepare the list of exported symbols
72213
 
+       if test -z "$export_symbols"; then
72214
 
+         if test "$always_export_symbols" = yes || test -n "$export_symbols_regex"; then
72215
 
+           func_verbose "generating symbol list for \`$libname.la'"
72216
 
+           export_symbols="$output_objdir/$libname.exp"
72217
 
+           $opt_dry_run || $RM $export_symbols
72218
 
+           cmds=$export_symbols_cmds
72219
 
+           save_ifs="$IFS"; IFS='~'
72220
 
+           for cmd in $cmds; do
72221
 
+             IFS="$save_ifs"
72222
 
+             eval cmd=\"$cmd\"
72223
 
+             func_len " $cmd"
72224
 
+             len=$func_len_result
72225
 
+             if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then
72226
 
+               func_show_eval "$cmd" 'exit $?'
72227
 
+               skipped_export=false
72228
 
+             else
72229
 
+               # The command line is too long to execute in one step.
72230
 
+               func_verbose "using reloadable object file for export list..."
72231
 
+               skipped_export=:
72232
 
+               # Break out early, otherwise skipped_export may be
72233
 
+               # set to false by a later but shorter cmd.
72234
 
+               break
72235
 
+             fi
72236
 
+           done
72237
 
+           IFS="$save_ifs"
72238
 
+           if test -n "$export_symbols_regex" && test "X$skipped_export" != "X:"; then
72239
 
+             func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"'
72240
 
+             func_show_eval '$MV "${export_symbols}T" "$export_symbols"'
72241
 
+           fi
72242
 
+         fi
72243
 
        fi
72244
 
 
72245
 
-       $echo >> $output "\
72246
 
-
72247
 
-  if test -f \"\$progdir/\$program\"; then"
72248
 
+       if test -n "$export_symbols" && test -n "$include_expsyms"; then
72249
 
+         tmp_export_symbols="$export_symbols"
72250
 
+         test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols"
72251
 
+         $opt_dry_run || eval '$ECHO "X$include_expsyms" | $Xsed | $SP2NL >> "$tmp_export_symbols"'
72252
 
+       fi
72253
 
+
72254
 
+       if test "X$skipped_export" != "X:" && test -n "$orig_export_symbols"; then
72255
 
+         # The given exports_symbols file has to be filtered, so filter it.
72256
 
+         func_verbose "filter symbol list for \`$libname.la' to tag DATA exports"
72257
 
+         # FIXME: $output_objdir/$libname.filter potentially contains lots of
72258
 
+         # 's' commands which not all seds can handle. GNU sed should be fine
72259
 
+         # though. Also, the filter scales superlinearly with the number of
72260
 
+         # global variables. join(1) would be nice here, but unfortunately
72261
 
+         # isn't a blessed tool.
72262
 
+         $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter
72263
 
+         delfiles="$delfiles $export_symbols $output_objdir/$libname.filter"
72264
 
+         export_symbols=$output_objdir/$libname.def
72265
 
+         $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols
72266
 
+       fi
72267
 
 
72268
 
-       # Export our shlibpath_var if we have one.
72269
 
-       if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
72270
 
-         $echo >> $output "\
72271
 
-    # Add our own library path to $shlibpath_var
72272
 
-    $shlibpath_var=\"$temp_rpath\$$shlibpath_var\"
72273
 
+       tmp_deplibs=
72274
 
+       for test_deplib in $deplibs; do
72275
 
+         case " $convenience " in
72276
 
+         *" $test_deplib "*) ;;
72277
 
+         *)
72278
 
+           tmp_deplibs="$tmp_deplibs $test_deplib"
72279
 
+           ;;
72280
 
+         esac
72281
 
+       done
72282
 
+       deplibs="$tmp_deplibs"
72283
 
 
72284
 
-    # Some systems cannot cope with colon-terminated $shlibpath_var
72285
 
-    # The second colon is a workaround for a bug in BeOS R4 sed
72286
 
-    $shlibpath_var=\`\$echo \"X\$$shlibpath_var\" | \$Xsed -e 's/::*\$//'\`
72287
 
+       if test -n "$convenience"; then
72288
 
+         if test -n "$whole_archive_flag_spec" &&
72289
 
+           test "$compiler_needs_object" = yes &&
72290
 
+           test -z "$libobjs"; then
72291
 
+           # extract the archives, so we have objects to list.
72292
 
+           # TODO: could optimize this to just extract one archive.
72293
 
+           whole_archive_flag_spec=
72294
 
+         fi
72295
 
+         if test -n "$whole_archive_flag_spec"; then
72296
 
+           save_libobjs=$libobjs
72297
 
+           eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
72298
 
+           test "X$libobjs" = "X " && libobjs=
72299
 
+         else
72300
 
+           gentop="$output_objdir/${outputname}x"
72301
 
+           generated="$generated $gentop"
72302
 
 
72303
 
-    export $shlibpath_var
72304
 
-"
72305
 
+           func_extract_archives $gentop $convenience
72306
 
+           libobjs="$libobjs $func_extract_archives_result"
72307
 
+           test "X$libobjs" = "X " && libobjs=
72308
 
+         fi
72309
 
        fi
72310
 
 
72311
 
-       # fixup the dll searchpath if we need to.
72312
 
-       if test -n "$dllsearchpath"; then
72313
 
-         $echo >> $output "\
72314
 
-    # Add the dll search path components to the executable PATH
72315
 
-    PATH=$dllsearchpath:\$PATH
72316
 
-"
72317
 
+       if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then
72318
 
+         eval flag=\"$thread_safe_flag_spec\"
72319
 
+         linker_flags="$linker_flags $flag"
72320
 
        fi
72321
 
 
72322
 
-       $echo >> $output "\
72323
 
-    if test \"\$libtool_execute_magic\" != \"$magic\"; then
72324
 
-      # Run the actual program with our arguments.
72325
 
-"
72326
 
-       case $host in
72327
 
-       # Backslashes separate directories on plain windows
72328
 
-       *-*-mingw | *-*-os2*)
72329
 
-         $echo >> $output "\
72330
 
-      exec \"\$progdir\\\\\$program\" \${1+\"\$@\"}
72331
 
-"
72332
 
-         ;;
72333
 
-
72334
 
-       *)
72335
 
-         $echo >> $output "\
72336
 
-      exec \"\$progdir/\$program\" \${1+\"\$@\"}
72337
 
-"
72338
 
-         ;;
72339
 
-       esac
72340
 
-       $echo >> $output "\
72341
 
-      \$echo \"\$0: cannot exec \$program \$*\"
72342
 
-      exit $EXIT_FAILURE
72343
 
-    fi
72344
 
-  else
72345
 
-    # The program doesn't exist.
72346
 
-    \$echo \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2
72347
 
-    \$echo \"This script is just a wrapper for \$program.\" 1>&2
72348
 
-    $echo \"See the $PACKAGE documentation for more information.\" 1>&2
72349
 
-    exit $EXIT_FAILURE
72350
 
-  fi
72351
 
-fi\
72352
 
-"
72353
 
-       chmod +x $output
72354
 
-      fi
72355
 
-      exit $EXIT_SUCCESS
72356
 
-      ;;
72357
 
-    esac
72358
 
-
72359
 
-    # See if we need to build an old-fashioned archive.
72360
 
-    for oldlib in $oldlibs; do
72361
 
+       # Make a backup of the uninstalled library when relinking
72362
 
+       if test "$mode" = relink; then
72363
 
+         $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}U && $MV $realname ${realname}U)' || exit $?
72364
 
+       fi
72365
 
 
72366
 
-      if test "$build_libtool_libs" = convenience; then
72367
 
-       oldobjs="$libobjs_save"
72368
 
-       addlibs="$convenience"
72369
 
-       build_libtool_libs=no
72370
 
-      else
72371
 
-       if test "$build_libtool_libs" = module; then
72372
 
-         oldobjs="$libobjs_save"
72373
 
-         build_libtool_libs=no
72374
 
+       # Do each of the archive commands.
72375
 
+       if test "$module" = yes && test -n "$module_cmds" ; then
72376
 
+         if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
72377
 
+           eval test_cmds=\"$module_expsym_cmds\"
72378
 
+           cmds=$module_expsym_cmds
72379
 
+         else
72380
 
+           eval test_cmds=\"$module_cmds\"
72381
 
+           cmds=$module_cmds
72382
 
+         fi
72383
 
        else
72384
 
-         oldobjs="$old_deplibs $non_pic_objects"
72385
 
+         if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
72386
 
+           eval test_cmds=\"$archive_expsym_cmds\"
72387
 
+           cmds=$archive_expsym_cmds
72388
 
+         else
72389
 
+           eval test_cmds=\"$archive_cmds\"
72390
 
+           cmds=$archive_cmds
72391
 
+         fi
72392
 
        fi
72393
 
-       addlibs="$old_convenience"
72394
 
-      fi
72395
 
 
72396
 
-      if test -n "$addlibs"; then
72397
 
-       gentop="$output_objdir/${outputname}x"
72398
 
-       generated="$generated $gentop"
72399
 
+       if test "X$skipped_export" != "X:" &&
72400
 
+          func_len " $test_cmds" &&
72401
 
+          len=$func_len_result &&
72402
 
+          test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then
72403
 
+         :
72404
 
+       else
72405
 
+         # The command line is too long to link in one step, link piecewise
72406
 
+         # or, if using GNU ld and skipped_export is not :, use a linker
72407
 
+         # script.
72408
 
 
72409
 
-       func_extract_archives $gentop $addlibs
72410
 
-       oldobjs="$oldobjs $func_extract_archives_result"
72411
 
-      fi
72412
 
+         # Save the value of $output and $libobjs because we want to
72413
 
+         # use them later.  If we have whole_archive_flag_spec, we
72414
 
+         # want to use save_libobjs as it was before
72415
 
+         # whole_archive_flag_spec was expanded, because we can't
72416
 
+         # assume the linker understands whole_archive_flag_spec.
72417
 
+         # This may have to be revisited, in case too many
72418
 
+         # convenience libraries get linked in and end up exceeding
72419
 
+         # the spec.
72420
 
+         if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then
72421
 
+           save_libobjs=$libobjs
72422
 
+         fi
72423
 
+         save_output=$output
72424
 
+         output_la=`$ECHO "X$output" | $Xsed -e "$basename"`
72425
 
 
72426
 
-      # Do each command in the archive commands.
72427
 
-      if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then
72428
 
-       cmds=$old_archive_from_new_cmds
72429
 
-      else
72430
 
-       # POSIX demands no paths to be encoded in archives.  We have
72431
 
-       # to avoid creating archives with duplicate basenames if we
72432
 
-       # might have to extract them afterwards, e.g., when creating a
72433
 
-       # static archive out of a convenience library, or when linking
72434
 
-       # the entirety of a libtool archive into another (currently
72435
 
-       # not supported by libtool).
72436
 
-       if (for obj in $oldobjs
72437
 
+         # Clear the reloadable object creation command queue and
72438
 
+         # initialize k to one.
72439
 
+         test_cmds=
72440
 
+         concat_cmds=
72441
 
+         objlist=
72442
 
+         last_robj=
72443
 
+         k=1
72444
 
+
72445
 
+         if test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "$with_gnu_ld" = yes; then
72446
 
+           output=${output_objdir}/${output_la}.lnkscript
72447
 
+           func_verbose "creating GNU ld script: $output"
72448
 
+           $ECHO 'INPUT (' > $output
72449
 
+           for obj in $save_libobjs
72450
 
            do
72451
 
-             $echo "X$obj" | $Xsed -e 's%^.*/%%'
72452
 
-           done | sort | sort -uc >/dev/null 2>&1); then
72453
 
-         :
72454
 
-       else
72455
 
-         $echo "copying selected object files to avoid basename conflicts..."
72456
 
+             $ECHO "$obj" >> $output
72457
 
+           done
72458
 
+           $ECHO ')' >> $output
72459
 
+           delfiles="$delfiles $output"
72460
 
+         elif test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "X$file_list_spec" != X; then
72461
 
+           output=${output_objdir}/${output_la}.lnk
72462
 
+           func_verbose "creating linker input file list: $output"
72463
 
+           : > $output
72464
 
+           set x $save_libobjs
72465
 
+           shift
72466
 
+           firstobj=
72467
 
+           if test "$compiler_needs_object" = yes; then
72468
 
+             firstobj="$1 "
72469
 
+             shift
72470
 
+           fi
72471
 
+           for obj
72472
 
+           do
72473
 
+             $ECHO "$obj" >> $output
72474
 
+           done
72475
 
+           delfiles="$delfiles $output"
72476
 
+           output=$firstobj\"$file_list_spec$output\"
72477
 
+         else
72478
 
+           if test -n "$save_libobjs"; then
72479
 
+             func_verbose "creating reloadable object files..."
72480
 
+             output=$output_objdir/$output_la-${k}.$objext
72481
 
+             eval test_cmds=\"$reload_cmds\"
72482
 
+             func_len " $test_cmds"
72483
 
+             len0=$func_len_result
72484
 
+             len=$len0
72485
 
+
72486
 
+             # Loop over the list of objects to be linked.
72487
 
+             for obj in $save_libobjs
72488
 
+             do
72489
 
+               func_len " $obj"
72490
 
+               func_arith $len + $func_len_result
72491
 
+               len=$func_arith_result
72492
 
+               if test "X$objlist" = X ||
72493
 
+                  test "$len" -lt "$max_cmd_len"; then
72494
 
+                 func_append objlist " $obj"
72495
 
+               else
72496
 
+                 # The command $test_cmds is almost too long, add a
72497
 
+                 # command to the queue.
72498
 
+                 if test "$k" -eq 1 ; then
72499
 
+                   # The first file doesn't have a previous command to add.
72500
 
+                   eval concat_cmds=\"$reload_cmds $objlist $last_robj\"
72501
 
+                 else
72502
 
+                   # All subsequent reloadable object files will link in
72503
 
+                   # the last one created.
72504
 
+                   eval concat_cmds=\"\$concat_cmds~$reload_cmds $objlist $last_robj~\$RM $last_robj\"
72505
 
+                 fi
72506
 
+                 last_robj=$output_objdir/$output_la-${k}.$objext
72507
 
+                 func_arith $k + 1
72508
 
+                 k=$func_arith_result
72509
 
+                 output=$output_objdir/$output_la-${k}.$objext
72510
 
+                 objlist=$obj
72511
 
+                 func_len " $last_robj"
72512
 
+                 func_arith $len0 + $func_len_result
72513
 
+                 len=$func_arith_result
72514
 
+               fi
72515
 
+             done
72516
 
+             # Handle the remaining objects by creating one last
72517
 
+             # reloadable object file.  All subsequent reloadable object
72518
 
+             # files will link in the last one created.
72519
 
+             test -z "$concat_cmds" || concat_cmds=$concat_cmds~
72520
 
+             eval concat_cmds=\"\${concat_cmds}$reload_cmds $objlist $last_robj\"
72521
 
+             if test -n "$last_robj"; then
72522
 
+               eval concat_cmds=\"\${concat_cmds}~\$RM $last_robj\"
72523
 
+             fi
72524
 
+             delfiles="$delfiles $output"
72525
 
 
72526
 
-         if test -z "$gentop"; then
72527
 
-           gentop="$output_objdir/${outputname}x"
72528
 
-           generated="$generated $gentop"
72529
 
+           else
72530
 
+             output=
72531
 
+           fi
72532
 
+
72533
 
+           if ${skipped_export-false}; then
72534
 
+             func_verbose "generating symbol list for \`$libname.la'"
72535
 
+             export_symbols="$output_objdir/$libname.exp"
72536
 
+             $opt_dry_run || $RM $export_symbols
72537
 
+             libobjs=$output
72538
 
+             # Append the command to create the export file.
72539
 
+             test -z "$concat_cmds" || concat_cmds=$concat_cmds~
72540
 
+             eval concat_cmds=\"\$concat_cmds$export_symbols_cmds\"
72541
 
+             if test -n "$last_robj"; then
72542
 
+               eval concat_cmds=\"\$concat_cmds~\$RM $last_robj\"
72543
 
+             fi
72544
 
+           fi
72545
 
+
72546
 
+           test -n "$save_libobjs" &&
72547
 
+             func_verbose "creating a temporary reloadable object file: $output"
72548
 
+
72549
 
+           # Loop through the commands generated above and execute them.
72550
 
+           save_ifs="$IFS"; IFS='~'
72551
 
+           for cmd in $concat_cmds; do
72552
 
+             IFS="$save_ifs"
72553
 
+             $opt_silent || {
72554
 
+                 func_quote_for_expand "$cmd"
72555
 
+                 eval "func_echo $func_quote_for_expand_result"
72556
 
+             }
72557
 
+             $opt_dry_run || eval "$cmd" || {
72558
 
+               lt_exit=$?
72559
 
+
72560
 
+               # Restore the uninstalled library and exit
72561
 
+               if test "$mode" = relink; then
72562
 
+                 ( cd "$output_objdir" && \
72563
 
+                   $RM "${realname}T" && \
72564
 
+                   $MV "${realname}U" "$realname" )
72565
 
+               fi
72566
 
+
72567
 
+               exit $lt_exit
72568
 
+             }
72569
 
+           done
72570
 
+           IFS="$save_ifs"
72571
 
 
72572
 
-           $show "${rm}r $gentop"
72573
 
-           $run ${rm}r "$gentop"
72574
 
-           $show "$mkdir $gentop"
72575
 
-           $run $mkdir "$gentop"
72576
 
-           exit_status=$?
72577
 
-           if test "$exit_status" -ne 0 && test ! -d "$gentop"; then
72578
 
-             exit $exit_status
72579
 
+           if test -n "$export_symbols_regex" && ${skipped_export-false}; then
72580
 
+             func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"'
72581
 
+             func_show_eval '$MV "${export_symbols}T" "$export_symbols"'
72582
 
            fi
72583
 
          fi
72584
 
 
72585
 
-         save_oldobjs=$oldobjs
72586
 
-         oldobjs=
72587
 
-         counter=1
72588
 
-         for obj in $save_oldobjs
72589
 
-         do
72590
 
-           objbase=`$echo "X$obj" | $Xsed -e 's%^.*/%%'`
72591
 
-           case " $oldobjs " in
72592
 
-           " ") oldobjs=$obj ;;
72593
 
-           *[\ /]"$objbase "*)
72594
 
-             while :; do
72595
 
-               # Make sure we don't pick an alternate name that also
72596
 
-               # overlaps.
72597
 
-               newobj=lt$counter-$objbase
72598
 
-               counter=`expr $counter + 1`
72599
 
-               case " $oldobjs " in
72600
 
-               *[\ /]"$newobj "*) ;;
72601
 
-               *) if test ! -f "$gentop/$newobj"; then break; fi ;;
72602
 
-               esac
72603
 
-             done
72604
 
-             $show "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj"
72605
 
-             $run ln "$obj" "$gentop/$newobj" ||
72606
 
-             $run cp "$obj" "$gentop/$newobj"
72607
 
-             oldobjs="$oldobjs $gentop/$newobj"
72608
 
-             ;;
72609
 
-           *) oldobjs="$oldobjs $obj" ;;
72610
 
-           esac
72611
 
-         done
72612
 
-       fi
72613
 
+          if ${skipped_export-false}; then
72614
 
+           if test -n "$export_symbols" && test -n "$include_expsyms"; then
72615
 
+             tmp_export_symbols="$export_symbols"
72616
 
+             test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols"
72617
 
+             $opt_dry_run || eval '$ECHO "X$include_expsyms" | $Xsed | $SP2NL >> "$tmp_export_symbols"'
72618
 
+           fi
72619
 
+
72620
 
+           if test -n "$orig_export_symbols"; then
72621
 
+             # The given exports_symbols file has to be filtered, so filter it.
72622
 
+             func_verbose "filter symbol list for \`$libname.la' to tag DATA exports"
72623
 
+             # FIXME: $output_objdir/$libname.filter potentially contains lots of
72624
 
+             # 's' commands which not all seds can handle. GNU sed should be fine
72625
 
+             # though. Also, the filter scales superlinearly with the number of
72626
 
+             # global variables. join(1) would be nice here, but unfortunately
72627
 
+             # isn't a blessed tool.
72628
 
+             $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter
72629
 
+             delfiles="$delfiles $export_symbols $output_objdir/$libname.filter"
72630
 
+             export_symbols=$output_objdir/$libname.def
72631
 
+             $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols
72632
 
+           fi
72633
 
+         fi
72634
 
 
72635
 
-       eval cmds=\"$old_archive_cmds\"
72636
 
+         libobjs=$output
72637
 
+         # Restore the value of output.
72638
 
+         output=$save_output
72639
 
 
72640
 
-       if len=`expr "X$cmds" : ".*"` &&
72641
 
-            test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
72642
 
-         cmds=$old_archive_cmds
72643
 
-       else
72644
 
-         # the command line is too long to link in one step, link in parts
72645
 
-         $echo "using piecewise archive linking..."
72646
 
-         save_RANLIB=$RANLIB
72647
 
-         RANLIB=:
72648
 
-         objlist=
72649
 
-         concat_cmds=
72650
 
-         save_oldobjs=$oldobjs
72651
 
+         if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then
72652
 
+           eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
72653
 
+           test "X$libobjs" = "X " && libobjs=
72654
 
+         fi
72655
 
+         # Expand the library linking commands again to reset the
72656
 
+         # value of $libobjs for piecewise linking.
72657
 
 
72658
 
-         # Is there a better way of finding the last object in the list?
72659
 
-         for obj in $save_oldobjs
72660
 
-         do
72661
 
-           last_oldobj=$obj
72662
 
-         done
72663
 
-         for obj in $save_oldobjs
72664
 
-         do
72665
 
-           oldobjs="$objlist $obj"
72666
 
-           objlist="$objlist $obj"
72667
 
-           eval test_cmds=\"$old_archive_cmds\"
72668
 
-           if len=`expr "X$test_cmds" : ".*" 2>/dev/null` &&
72669
 
-              test "$len" -le "$max_cmd_len"; then
72670
 
-             :
72671
 
+         # Do each of the archive commands.
72672
 
+         if test "$module" = yes && test -n "$module_cmds" ; then
72673
 
+           if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
72674
 
+             cmds=$module_expsym_cmds
72675
 
            else
72676
 
-             # the above command should be used before it gets too long
72677
 
-             oldobjs=$objlist
72678
 
-             if test "$obj" = "$last_oldobj" ; then
72679
 
-               RANLIB=$save_RANLIB
72680
 
-             fi
72681
 
-             test -z "$concat_cmds" || concat_cmds=$concat_cmds~
72682
 
-             eval concat_cmds=\"\${concat_cmds}$old_archive_cmds\"
72683
 
-             objlist=
72684
 
+             cmds=$module_cmds
72685
 
            fi
72686
 
-         done
72687
 
-         RANLIB=$save_RANLIB
72688
 
-         oldobjs=$objlist
72689
 
-         if test "X$oldobjs" = "X" ; then
72690
 
-           eval cmds=\"\$concat_cmds\"
72691
 
          else
72692
 
-           eval cmds=\"\$concat_cmds~\$old_archive_cmds\"
72693
 
+           if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
72694
 
+             cmds=$archive_expsym_cmds
72695
 
+           else
72696
 
+             cmds=$archive_cmds
72697
 
+           fi
72698
 
          fi
72699
 
        fi
72700
 
-      fi
72701
 
-      save_ifs="$IFS"; IFS='~'
72702
 
-      for cmd in $cmds; do
72703
 
-        eval cmd=\"$cmd\"
72704
 
-       IFS="$save_ifs"
72705
 
-       $show "$cmd"
72706
 
-       $run eval "$cmd" || exit $?
72707
 
-      done
72708
 
-      IFS="$save_ifs"
72709
 
-    done
72710
 
 
72711
 
-    if test -n "$generated"; then
72712
 
-      $show "${rm}r$generated"
72713
 
-      $run ${rm}r$generated
72714
 
-    fi
72715
 
+       if test -n "$delfiles"; then
72716
 
+         # Append the command to remove temporary files to $cmds.
72717
 
+         eval cmds=\"\$cmds~\$RM $delfiles\"
72718
 
+       fi
72719
 
 
72720
 
-    # Now create the libtool archive.
72721
 
-    case $output in
72722
 
-    *.la)
72723
 
-      old_library=
72724
 
-      test "$build_old_libs" = yes && old_library="$libname.$libext"
72725
 
-      $show "creating $output"
72726
 
+       # Add any objects from preloaded convenience libraries
72727
 
+       if test -n "$dlprefiles"; then
72728
 
+         gentop="$output_objdir/${outputname}x"
72729
 
+         generated="$generated $gentop"
72730
 
 
72731
 
-      # Preserve any variables that may affect compiler behavior
72732
 
-      for var in $variables_saved_for_relink; do
72733
 
-       if eval test -z \"\${$var+set}\"; then
72734
 
-         relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command"
72735
 
-       elif eval var_value=\$$var; test -z "$var_value"; then
72736
 
-         relink_command="$var=; export $var; $relink_command"
72737
 
-       else
72738
 
-         var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"`
72739
 
-         relink_command="$var=\"$var_value\"; export $var; $relink_command"
72740
 
+         func_extract_archives $gentop $dlprefiles
72741
 
+         libobjs="$libobjs $func_extract_archives_result"
72742
 
+         test "X$libobjs" = "X " && libobjs=
72743
 
        fi
72744
 
-      done
72745
 
-      # Quote the link command for shipping.
72746
 
-      relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
72747
 
-      relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e "$sed_quote_subst" | $NL2SP`
72748
 
-      if test "$hardcode_automatic" = yes ; then
72749
 
-       relink_command=
72750
 
-      fi
72751
 
 
72752
 
+       save_ifs="$IFS"; IFS='~'
72753
 
+       for cmd in $cmds; do
72754
 
+         IFS="$save_ifs"
72755
 
+         eval cmd=\"$cmd\"
72756
 
+         $opt_silent || {
72757
 
+           func_quote_for_expand "$cmd"
72758
 
+           eval "func_echo $func_quote_for_expand_result"
72759
 
+         }
72760
 
+         $opt_dry_run || eval "$cmd" || {
72761
 
+           lt_exit=$?
72762
 
 
72763
 
-      # Only create the output if not a dry run.
72764
 
-      if test -z "$run"; then
72765
 
-       for installed in no yes; do
72766
 
-         if test "$installed" = yes; then
72767
 
-           if test -z "$install_libdir"; then
72768
 
-             break
72769
 
+           # Restore the uninstalled library and exit
72770
 
+           if test "$mode" = relink; then
72771
 
+             ( cd "$output_objdir" && \
72772
 
+               $RM "${realname}T" && \
72773
 
+               $MV "${realname}U" "$realname" )
72774
 
            fi
72775
 
-           output="$output_objdir/$outputname"i
72776
 
-           # Replace all uninstalled libtool libraries with the installed ones
72777
 
-           newdependency_libs=
72778
 
-           for deplib in $dependency_libs; do
72779
 
-             case $deplib in
72780
 
-             *.la)
72781
 
-               name=`$echo "X$deplib" | $Xsed -e 's%^.*/%%'`
72782
 
-               eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
72783
 
-               if test -z "$libdir"; then
72784
 
-                 $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
72785
 
-                 exit $EXIT_FAILURE
72786
 
-               fi
72787
 
-               newdependency_libs="$newdependency_libs $libdir/$name"
72788
 
-               ;;
72789
 
-             *) newdependency_libs="$newdependency_libs $deplib" ;;
72790
 
-             esac
72791
 
-           done
72792
 
-           dependency_libs="$newdependency_libs"
72793
 
-           newdlfiles=
72794
 
-           for lib in $dlfiles; do
72795
 
-             name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'`
72796
 
-             eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
72797
 
-             if test -z "$libdir"; then
72798
 
-               $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
72799
 
-               exit $EXIT_FAILURE
72800
 
-             fi
72801
 
-             newdlfiles="$newdlfiles $libdir/$name"
72802
 
-           done
72803
 
-           dlfiles="$newdlfiles"
72804
 
-           newdlprefiles=
72805
 
-           for lib in $dlprefiles; do
72806
 
-             name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'`
72807
 
-             eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
72808
 
-             if test -z "$libdir"; then
72809
 
-               $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
72810
 
-               exit $EXIT_FAILURE
72811
 
-             fi
72812
 
-             newdlprefiles="$newdlprefiles $libdir/$name"
72813
 
-           done
72814
 
-           dlprefiles="$newdlprefiles"
72815
 
-         else
72816
 
-           newdlfiles=
72817
 
-           for lib in $dlfiles; do
72818
 
-             case $lib in
72819
 
-               [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
72820
 
-               *) abs=`pwd`"/$lib" ;;
72821
 
-             esac
72822
 
-             newdlfiles="$newdlfiles $abs"
72823
 
-           done
72824
 
-           dlfiles="$newdlfiles"
72825
 
-           newdlprefiles=
72826
 
-           for lib in $dlprefiles; do
72827
 
-             case $lib in
72828
 
-               [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
72829
 
-               *) abs=`pwd`"/$lib" ;;
72830
 
-             esac
72831
 
-             newdlprefiles="$newdlprefiles $abs"
72832
 
-           done
72833
 
-           dlprefiles="$newdlprefiles"
72834
 
-         fi
72835
 
-         $rm $output
72836
 
-         # place dlname in correct position for cygwin
72837
 
-         tdlname=$dlname
72838
 
-         case $host,$output,$installed,$module,$dlname in
72839
 
-           *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;;
72840
 
-         esac
72841
 
-         $echo > $output "\
72842
 
-# $outputname - a libtool library file
72843
 
-# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
72844
 
-#
72845
 
-# Please DO NOT delete this file!
72846
 
-# It is necessary for linking the library.
72847
 
 
72848
 
-# The name that we can dlopen(3).
72849
 
-dlname='$tdlname'
72850
 
+           exit $lt_exit
72851
 
+         }
72852
 
+       done
72853
 
+       IFS="$save_ifs"
72854
 
 
72855
 
-# Names of this library.
72856
 
-library_names='$library_names'
72857
 
+       # Restore the uninstalled library and exit
72858
 
+       if test "$mode" = relink; then
72859
 
+         $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}T && $MV $realname ${realname}T && $MV ${realname}U $realname)' || exit $?
72860
 
 
72861
 
-# The name of the static archive.
72862
 
-old_library='$old_library'
72863
 
+         if test -n "$convenience"; then
72864
 
+           if test -z "$whole_archive_flag_spec"; then
72865
 
+             func_show_eval '${RM}r "$gentop"'
72866
 
+           fi
72867
 
+         fi
72868
 
 
72869
 
-# Libraries that this one depends upon.
72870
 
-dependency_libs='$dependency_libs'
72871
 
+         exit $EXIT_SUCCESS
72872
 
+       fi
72873
 
 
72874
 
-# Version information for $libname.
72875
 
-current=$current
72876
 
-age=$age
72877
 
-revision=$revision
72878
 
+       # Create links to the real library.
72879
 
+       for linkname in $linknames; do
72880
 
+         if test "$realname" != "$linkname"; then
72881
 
+           func_show_eval '(cd "$output_objdir" && $RM "$linkname" && $LN_S "$realname" "$linkname")' 'exit $?'
72882
 
+         fi
72883
 
+       done
72884
 
 
72885
 
-# Is this an already installed library?
72886
 
-installed=$installed
72887
 
+       # If -module or -export-dynamic was specified, set the dlname.
72888
 
+       if test "$module" = yes || test "$export_dynamic" = yes; then
72889
 
+         # On all known operating systems, these are identical.
72890
 
+         dlname="$soname"
72891
 
+       fi
72892
 
+      fi
72893
 
+      ;;
72894
 
 
72895
 
-# Should we warn about portability when linking against -modules?
72896
 
-shouldnotlink=$module
72897
 
+    obj)
72898
 
+      if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
72899
 
+       func_warning "\`-dlopen' is ignored for objects"
72900
 
+      fi
72901
 
 
72902
 
-# Files to dlopen/dlpreopen
72903
 
-dlopen='$dlfiles'
72904
 
-dlpreopen='$dlprefiles'
72905
 
+      case " $deplibs" in
72906
 
+      *\ -l* | *\ -L*)
72907
 
+       func_warning "\`-l' and \`-L' are ignored for objects" ;;
72908
 
+      esac
72909
 
 
72910
 
-# Directory that this library needs to be installed in:
72911
 
-libdir='$install_libdir'"
72912
 
-         if test "$installed" = no && test "$need_relink" = yes; then
72913
 
-           $echo >> $output "\
72914
 
-relink_command=\"$relink_command\""
72915
 
-         fi
72916
 
-       done
72917
 
-      fi
72918
 
+      test -n "$rpath" && \
72919
 
+       func_warning "\`-rpath' is ignored for objects"
72920
 
 
72921
 
-      # Do a symbolic link so that the libtool archive can be found in
72922
 
-      # LD_LIBRARY_PATH before the program is installed.
72923
 
-      $show "(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)"
72924
 
-      $run eval '(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)' || exit $?
72925
 
-      ;;
72926
 
-    esac
72927
 
-    exit $EXIT_SUCCESS
72928
 
-    ;;
72929
 
+      test -n "$xrpath" && \
72930
 
+       func_warning "\`-R' is ignored for objects"
72931
 
 
72932
 
-  # libtool install mode
72933
 
-  install)
72934
 
-    modename="$modename: install"
72935
 
+      test -n "$vinfo" && \
72936
 
+       func_warning "\`-version-info' is ignored for objects"
72937
 
 
72938
 
-    # There may be an optional sh(1) argument at the beginning of
72939
 
-    # install_prog (especially on Windows NT).
72940
 
-    if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh ||
72941
 
-       # Allow the use of GNU shtool's install command.
72942
 
-       $echo "X$nonopt" | grep shtool > /dev/null; then
72943
 
-      # Aesthetically quote it.
72944
 
-      arg=`$echo "X$nonopt" | $Xsed -e "$sed_quote_subst"`
72945
 
-      case $arg in
72946
 
-      *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \    ]*|*]*|"")
72947
 
-       arg="\"$arg\""
72948
 
+      test -n "$release" && \
72949
 
+       func_warning "\`-release' is ignored for objects"
72950
 
+
72951
 
+      case $output in
72952
 
+      *.lo)
72953
 
+       test -n "$objs$old_deplibs" && \
72954
 
+         func_fatal_error "cannot build library object \`$output' from non-libtool objects"
72955
 
+
72956
 
+       libobj=$output
72957
 
+       func_lo2o "$libobj"
72958
 
+       obj=$func_lo2o_result
72959
 
+       ;;
72960
 
+      *)
72961
 
+       libobj=
72962
 
+       obj="$output"
72963
 
        ;;
72964
 
       esac
72965
 
-      install_prog="$arg "
72966
 
-      arg="$1"
72967
 
-      shift
72968
 
-    else
72969
 
-      install_prog=
72970
 
-      arg=$nonopt
72971
 
-    fi
72972
 
 
72973
 
-    # The real first argument should be the name of the installation program.
72974
 
-    # Aesthetically quote it.
72975
 
-    arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
72976
 
-    case $arg in
72977
 
-    *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \      ]*|*]*|"")
72978
 
-      arg="\"$arg\""
72979
 
-      ;;
72980
 
-    esac
72981
 
-    install_prog="$install_prog$arg"
72982
 
+      # Delete the old objects.
72983
 
+      $opt_dry_run || $RM $obj $libobj
72984
 
 
72985
 
-    # We need to accept at least all the BSD install flags.
72986
 
-    dest=
72987
 
-    files=
72988
 
-    opts=
72989
 
-    prev=
72990
 
-    install_type=
72991
 
-    isdir=no
72992
 
-    stripme=
72993
 
-    for arg
72994
 
-    do
72995
 
-      if test -n "$dest"; then
72996
 
-       files="$files $dest"
72997
 
-       dest=$arg
72998
 
-       continue
72999
 
-      fi
73000
 
+      # Objects from convenience libraries.  This assumes
73001
 
+      # single-version convenience libraries.  Whenever we create
73002
 
+      # different ones for PIC/non-PIC, this we'll have to duplicate
73003
 
+      # the extraction.
73004
 
+      reload_conv_objs=
73005
 
+      gentop=
73006
 
+      # reload_cmds runs $LD directly, so let us get rid of
73007
 
+      # -Wl from whole_archive_flag_spec and hope we can get by with
73008
 
+      # turning comma into space..
73009
 
+      wl=
73010
 
 
73011
 
-      case $arg in
73012
 
-      -d) isdir=yes ;;
73013
 
-      -f) 
73014
 
-       case " $install_prog " in
73015
 
-       *[\\\ /]cp\ *) ;;
73016
 
-       *) prev=$arg ;;
73017
 
-       esac
73018
 
-       ;;
73019
 
-      -g | -m | -o) prev=$arg ;;
73020
 
-      -s)
73021
 
-       stripme=" -s"
73022
 
-       continue
73023
 
-       ;;
73024
 
-      -*)
73025
 
-       ;;
73026
 
-      *)
73027
 
-       # If the previous option needed an argument, then skip it.
73028
 
-       if test -n "$prev"; then
73029
 
-         prev=
73030
 
+      if test -n "$convenience"; then
73031
 
+       if test -n "$whole_archive_flag_spec"; then
73032
 
+         eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\"
73033
 
+         reload_conv_objs=$reload_objs\ `$ECHO "X$tmp_whole_archive_flags" | $Xsed -e 's|,| |g'`
73034
 
        else
73035
 
-         dest=$arg
73036
 
-         continue
73037
 
+         gentop="$output_objdir/${obj}x"
73038
 
+         generated="$generated $gentop"
73039
 
+
73040
 
+         func_extract_archives $gentop $convenience
73041
 
+         reload_conv_objs="$reload_objs $func_extract_archives_result"
73042
 
        fi
73043
 
-       ;;
73044
 
-      esac
73045
 
+      fi
73046
 
 
73047
 
-      # Aesthetically quote the argument.
73048
 
-      arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
73049
 
-      case $arg in
73050
 
-      *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \    ]*|*]*|"")
73051
 
-       arg="\"$arg\""
73052
 
-       ;;
73053
 
-      esac
73054
 
-      install_prog="$install_prog $arg"
73055
 
-    done
73056
 
+      # Create the old-style object.
73057
 
+      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
73058
 
 
73059
 
-    if test -z "$install_prog"; then
73060
 
-      $echo "$modename: you must specify an install program" 1>&2
73061
 
-      $echo "$help" 1>&2
73062
 
-      exit $EXIT_FAILURE
73063
 
-    fi
73064
 
+      output="$obj"
73065
 
+      func_execute_cmds "$reload_cmds" 'exit $?'
73066
 
 
73067
 
-    if test -n "$prev"; then
73068
 
-      $echo "$modename: the \`$prev' option requires an argument" 1>&2
73069
 
-      $echo "$help" 1>&2
73070
 
-      exit $EXIT_FAILURE
73071
 
-    fi
73072
 
+      # Exit if we aren't doing a library object file.
73073
 
+      if test -z "$libobj"; then
73074
 
+       if test -n "$gentop"; then
73075
 
+         func_show_eval '${RM}r "$gentop"'
73076
 
+       fi
73077
 
 
73078
 
-    if test -z "$files"; then
73079
 
-      if test -z "$dest"; then
73080
 
-       $echo "$modename: no file or destination specified" 1>&2
73081
 
-      else
73082
 
-       $echo "$modename: you must specify a destination" 1>&2
73083
 
+       exit $EXIT_SUCCESS
73084
 
       fi
73085
 
-      $echo "$help" 1>&2
73086
 
-      exit $EXIT_FAILURE
73087
 
-    fi
73088
 
 
73089
 
-    # Strip any trailing slash from the destination.
73090
 
-    dest=`$echo "X$dest" | $Xsed -e 's%/$%%'`
73091
 
+      if test "$build_libtool_libs" != yes; then
73092
 
+       if test -n "$gentop"; then
73093
 
+         func_show_eval '${RM}r "$gentop"'
73094
 
+       fi
73095
 
 
73096
 
-    # Check to see that the destination is a directory.
73097
 
-    test -d "$dest" && isdir=yes
73098
 
-    if test "$isdir" = yes; then
73099
 
-      destdir="$dest"
73100
 
-      destname=
73101
 
-    else
73102
 
-      destdir=`$echo "X$dest" | $Xsed -e 's%/[^/]*$%%'`
73103
 
-      test "X$destdir" = "X$dest" && destdir=.
73104
 
-      destname=`$echo "X$dest" | $Xsed -e 's%^.*/%%'`
73105
 
+       # Create an invalid libtool object if no PIC, so that we don't
73106
 
+       # accidentally link it into a program.
73107
 
+       # $show "echo timestamp > $libobj"
73108
 
+       # $opt_dry_run || eval "echo timestamp > $libobj" || exit $?
73109
 
+       exit $EXIT_SUCCESS
73110
 
+      fi
73111
 
 
73112
 
-      # Not a directory, so check to see that there is only one file specified.
73113
 
-      set dummy $files
73114
 
-      if test "$#" -gt 2; then
73115
 
-       $echo "$modename: \`$dest' is not a directory" 1>&2
73116
 
-       $echo "$help" 1>&2
73117
 
-       exit $EXIT_FAILURE
73118
 
+      if test -n "$pic_flag" || test "$pic_mode" != default; then
73119
 
+       # Only do commands if we really have different PIC objects.
73120
 
+       reload_objs="$libobjs $reload_conv_objs"
73121
 
+       output="$libobj"
73122
 
+       func_execute_cmds "$reload_cmds" 'exit $?'
73123
 
       fi
73124
 
-    fi
73125
 
-    case $destdir in
73126
 
-    [\\/]* | [A-Za-z]:[\\/]*) ;;
73127
 
-    *)
73128
 
-      for file in $files; do
73129
 
-       case $file in
73130
 
-       *.lo) ;;
73131
 
-       *)
73132
 
-         $echo "$modename: \`$destdir' must be an absolute directory name" 1>&2
73133
 
-         $echo "$help" 1>&2
73134
 
-         exit $EXIT_FAILURE
73135
 
-         ;;
73136
 
-       esac
73137
 
-      done
73138
 
+
73139
 
+      if test -n "$gentop"; then
73140
 
+       func_show_eval '${RM}r "$gentop"'
73141
 
+      fi
73142
 
+
73143
 
+      exit $EXIT_SUCCESS
73144
 
       ;;
73145
 
-    esac
73146
 
 
73147
 
-    # This variable tells wrapper scripts just to set variables rather
73148
 
-    # than running their programs.
73149
 
-    libtool_install_magic="$magic"
73150
 
+    prog)
73151
 
+      case $host in
73152
 
+       *cygwin*) func_stripname '' '.exe' "$output"
73153
 
+                 output=$func_stripname_result.exe;;
73154
 
+      esac
73155
 
+      test -n "$vinfo" && \
73156
 
+       func_warning "\`-version-info' is ignored for programs"
73157
 
 
73158
 
-    staticlibs=
73159
 
-    future_libdirs=
73160
 
-    current_libdirs=
73161
 
-    for file in $files; do
73162
 
+      test -n "$release" && \
73163
 
+       func_warning "\`-release' is ignored for programs"
73164
 
 
73165
 
-      # Do each installation.
73166
 
-      case $file in
73167
 
-      *.$libext)
73168
 
-       # Do the static libraries later.
73169
 
-       staticlibs="$staticlibs $file"
73170
 
+      test "$preload" = yes \
73171
 
+        && test "$dlopen_support" = unknown \
73172
 
+       && test "$dlopen_self" = unknown \
73173
 
+       && test "$dlopen_self_static" = unknown && \
73174
 
+         func_warning "\`LT_INIT([dlopen])' not used. Assuming no dlopen support."
73175
 
+
73176
 
+      case $host in
73177
 
+      *-*-rhapsody* | *-*-darwin1.[012])
73178
 
+       # On Rhapsody replace the C library is the System framework
73179
 
+       compile_deplibs=`$ECHO "X $compile_deplibs" | $Xsed -e 's/ -lc / System.ltframework /'`
73180
 
+       finalize_deplibs=`$ECHO "X $finalize_deplibs" | $Xsed -e 's/ -lc / System.ltframework /'`
73181
 
        ;;
73182
 
+      esac
73183
 
 
73184
 
-      *.la)
73185
 
-       # Check to see that this really is a libtool archive.
73186
 
-       if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
73187
 
-       else
73188
 
-         $echo "$modename: \`$file' is not a valid libtool archive" 1>&2
73189
 
-         $echo "$help" 1>&2
73190
 
-         exit $EXIT_FAILURE
73191
 
+      case $host in
73192
 
+      *-*-darwin*)
73193
 
+       # Don't allow lazy linking, it breaks C++ global constructors
73194
 
+       # But is supposedly fixed on 10.4 or later (yay!).
73195
 
+       if test "$tagname" = CXX ; then
73196
 
+         case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
73197
 
+           10.[0123])
73198
 
+             compile_command="$compile_command ${wl}-bind_at_load"
73199
 
+             finalize_command="$finalize_command ${wl}-bind_at_load"
73200
 
+           ;;
73201
 
+         esac
73202
 
        fi
73203
 
+       # Time to change all our "foo.ltframework" stuff back to "-framework foo"
73204
 
+       compile_deplibs=`$ECHO "X $compile_deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
73205
 
+       finalize_deplibs=`$ECHO "X $finalize_deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
73206
 
+       ;;
73207
 
+      esac
73208
 
 
73209
 
-       library_names=
73210
 
-       old_library=
73211
 
-       relink_command=
73212
 
-       # If there is no directory component, then add one.
73213
 
-       case $file in
73214
 
-       */* | *\\*) . $file ;;
73215
 
-       *) . ./$file ;;
73216
 
-       esac
73217
 
 
73218
 
-       # Add the libdir to current_libdirs if it is the destination.
73219
 
-       if test "X$destdir" = "X$libdir"; then
73220
 
-         case "$current_libdirs " in
73221
 
-         *" $libdir "*) ;;
73222
 
-         *) current_libdirs="$current_libdirs $libdir" ;;
73223
 
+      # move library search paths that coincide with paths to not yet
73224
 
+      # installed libraries to the beginning of the library search list
73225
 
+      new_libs=
73226
 
+      for path in $notinst_path; do
73227
 
+       case " $new_libs " in
73228
 
+       *" -L$path/$objdir "*) ;;
73229
 
+       *)
73230
 
+         case " $compile_deplibs " in
73231
 
+         *" -L$path/$objdir "*)
73232
 
+           new_libs="$new_libs -L$path/$objdir" ;;
73233
 
          esac
73234
 
-       else
73235
 
-         # Note the libdir as a future libdir.
73236
 
-         case "$future_libdirs " in
73237
 
-         *" $libdir "*) ;;
73238
 
-         *) future_libdirs="$future_libdirs $libdir" ;;
73239
 
+         ;;
73240
 
+       esac
73241
 
+      done
73242
 
+      for deplib in $compile_deplibs; do
73243
 
+       case $deplib in
73244
 
+       -L*)
73245
 
+         case " $new_libs " in
73246
 
+         *" $deplib "*) ;;
73247
 
+         *) new_libs="$new_libs $deplib" ;;
73248
 
          esac
73249
 
-       fi
73250
 
+         ;;
73251
 
+       *) new_libs="$new_libs $deplib" ;;
73252
 
+       esac
73253
 
+      done
73254
 
+      compile_deplibs="$new_libs"
73255
 
 
73256
 
-       dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`/
73257
 
-       test "X$dir" = "X$file/" && dir=
73258
 
-       dir="$dir$objdir"
73259
 
 
73260
 
-       if test -n "$relink_command"; then
73261
 
-         # Determine the prefix the user has applied to our future dir.
73262
 
-         inst_prefix_dir=`$echo "$destdir" | $SED "s%$libdir\$%%"`
73263
 
+      compile_command="$compile_command $compile_deplibs"
73264
 
+      finalize_command="$finalize_command $finalize_deplibs"
73265
 
 
73266
 
-         # Don't allow the user to place us outside of our expected
73267
 
-         # location b/c this prevents finding dependent libraries that
73268
 
-         # are installed to the same prefix.
73269
 
-         # At present, this check doesn't affect windows .dll's that
73270
 
-         # are installed into $libdir/../bin (currently, that works fine)
73271
 
-         # but it's something to keep an eye on.
73272
 
-         if test "$inst_prefix_dir" = "$destdir"; then
73273
 
-           $echo "$modename: error: cannot install \`$file' to a directory not ending in $libdir" 1>&2
73274
 
-           exit $EXIT_FAILURE
73275
 
-         fi
73276
 
+      if test -n "$rpath$xrpath"; then
73277
 
+       # If the user specified any rpath flags, then add them.
73278
 
+       for libdir in $rpath $xrpath; do
73279
 
+         # This is the magic to use -rpath.
73280
 
+         case "$finalize_rpath " in
73281
 
+         *" $libdir "*) ;;
73282
 
+         *) finalize_rpath="$finalize_rpath $libdir" ;;
73283
 
+         esac
73284
 
+       done
73285
 
+      fi
73286
 
 
73287
 
-         if test -n "$inst_prefix_dir"; then
73288
 
-           # Stick the inst_prefix_dir data into the link command.
73289
 
-           relink_command=`$echo "$relink_command" | $SP2NL | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%" | $NL2SP`
73290
 
+      # Now hardcode the library paths
73291
 
+      rpath=
73292
 
+      hardcode_libdirs=
73293
 
+      for libdir in $compile_rpath $finalize_rpath; do
73294
 
+       if test -n "$hardcode_libdir_flag_spec"; then
73295
 
+         if test -n "$hardcode_libdir_separator"; then
73296
 
+           if test -z "$hardcode_libdirs"; then
73297
 
+             hardcode_libdirs="$libdir"
73298
 
+           else
73299
 
+             # Just accumulate the unique libdirs.
73300
 
+             case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
73301
 
+             *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
73302
 
+               ;;
73303
 
+             *)
73304
 
+               hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
73305
 
+               ;;
73306
 
+             esac
73307
 
+           fi
73308
 
          else
73309
 
-           relink_command=`$echo "$relink_command" | $SP2NL | $SED "s%@inst_prefix_dir@%%" | $NL2SP`
73310
 
+           eval flag=\"$hardcode_libdir_flag_spec\"
73311
 
+           rpath="$rpath $flag"
73312
 
          fi
73313
 
+       elif test -n "$runpath_var"; then
73314
 
+         case "$perm_rpath " in
73315
 
+         *" $libdir "*) ;;
73316
 
+         *) perm_rpath="$perm_rpath $libdir" ;;
73317
 
+         esac
73318
 
+       fi
73319
 
+       case $host in
73320
 
+       *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
73321
 
+         testbindir=`${ECHO} "$libdir" | ${SED} -e 's*/lib$*/bin*'`
73322
 
+         case :$dllsearchpath: in
73323
 
+         *":$libdir:"*) ;;
73324
 
+         ::) dllsearchpath=$libdir;;
73325
 
+         *) dllsearchpath="$dllsearchpath:$libdir";;
73326
 
+         esac
73327
 
+         case :$dllsearchpath: in
73328
 
+         *":$testbindir:"*) ;;
73329
 
+         ::) dllsearchpath=$testbindir;;
73330
 
+         *) dllsearchpath="$dllsearchpath:$testbindir";;
73331
 
+         esac
73332
 
+         ;;
73333
 
+       esac
73334
 
+      done
73335
 
+      # Substitute the hardcoded libdirs into the rpath.
73336
 
+      if test -n "$hardcode_libdir_separator" &&
73337
 
+        test -n "$hardcode_libdirs"; then
73338
 
+       libdir="$hardcode_libdirs"
73339
 
+       eval rpath=\" $hardcode_libdir_flag_spec\"
73340
 
+      fi
73341
 
+      compile_rpath="$rpath"
73342
 
 
73343
 
-         $echo "$modename: warning: relinking \`$file'" 1>&2
73344
 
-         $show "$relink_command"
73345
 
-         if $run eval "$relink_command"; then :
73346
 
+      rpath=
73347
 
+      hardcode_libdirs=
73348
 
+      for libdir in $finalize_rpath; do
73349
 
+       if test -n "$hardcode_libdir_flag_spec"; then
73350
 
+         if test -n "$hardcode_libdir_separator"; then
73351
 
+           if test -z "$hardcode_libdirs"; then
73352
 
+             hardcode_libdirs="$libdir"
73353
 
+           else
73354
 
+             # Just accumulate the unique libdirs.
73355
 
+             case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
73356
 
+             *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
73357
 
+               ;;
73358
 
+             *)
73359
 
+               hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
73360
 
+               ;;
73361
 
+             esac
73362
 
+           fi
73363
 
          else
73364
 
-           $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2
73365
 
-           exit $EXIT_FAILURE
73366
 
+           eval flag=\"$hardcode_libdir_flag_spec\"
73367
 
+           rpath="$rpath $flag"
73368
 
          fi
73369
 
+       elif test -n "$runpath_var"; then
73370
 
+         case "$finalize_perm_rpath " in
73371
 
+         *" $libdir "*) ;;
73372
 
+         *) finalize_perm_rpath="$finalize_perm_rpath $libdir" ;;
73373
 
+         esac
73374
 
        fi
73375
 
+      done
73376
 
+      # Substitute the hardcoded libdirs into the rpath.
73377
 
+      if test -n "$hardcode_libdir_separator" &&
73378
 
+        test -n "$hardcode_libdirs"; then
73379
 
+       libdir="$hardcode_libdirs"
73380
 
+       eval rpath=\" $hardcode_libdir_flag_spec\"
73381
 
+      fi
73382
 
+      finalize_rpath="$rpath"
73383
 
 
73384
 
-       # See the names of the shared library.
73385
 
-       set dummy $library_names
73386
 
-       if test -n "$2"; then
73387
 
-         realname="$2"
73388
 
-         shift
73389
 
-         shift
73390
 
+      if test -n "$libobjs" && test "$build_old_libs" = yes; then
73391
 
+       # Transform all the library objects into standard objects.
73392
 
+       compile_command=`$ECHO "X$compile_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
73393
 
+       finalize_command=`$ECHO "X$finalize_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
73394
 
+      fi
73395
 
 
73396
 
-         srcname="$realname"
73397
 
-         test -n "$relink_command" && srcname="$realname"T
73398
 
+      func_generate_dlsyms "$outputname" "@PROGRAM@" "no"
73399
 
 
73400
 
-         # Install the shared library and build the symlinks.
73401
 
-         $show "$install_prog $dir/$srcname $destdir/$realname"
73402
 
-         $run eval "$install_prog $dir/$srcname $destdir/$realname" || exit $?
73403
 
-         if test -n "$stripme" && test -n "$striplib"; then
73404
 
-           $show "$striplib $destdir/$realname"
73405
 
-           $run eval "$striplib $destdir/$realname" || exit $?
73406
 
-         fi
73407
 
+      # template prelinking step
73408
 
+      if test -n "$prelink_cmds"; then
73409
 
+       func_execute_cmds "$prelink_cmds" 'exit $?'
73410
 
+      fi
73411
 
 
73412
 
-         if test "$#" -gt 0; then
73413
 
-           # Delete the old symlinks, and create new ones.
73414
 
-           # Try `ln -sf' first, because the `ln' binary might depend on
73415
 
-           # the symlink we replace!  Solaris /bin/ln does not understand -f,
73416
 
-           # so we also need to try rm && ln -s.
73417
 
-           for linkname
73418
 
-           do
73419
 
-             if test "$linkname" != "$realname"; then
73420
 
-                $show "(cd $destdir && { $LN_S -f $realname $linkname || { $rm $linkname && $LN_S $realname $linkname; }; })"
73421
 
-                $run eval "(cd $destdir && { $LN_S -f $realname $linkname || { $rm $linkname && $LN_S $realname $linkname; }; })"
73422
 
-             fi
73423
 
-           done
73424
 
-         fi
73425
 
+      wrappers_required=yes
73426
 
+      case $host in
73427
 
+      *cygwin* | *mingw* )
73428
 
+        if test "$build_libtool_libs" != yes; then
73429
 
+          wrappers_required=no
73430
 
+        fi
73431
 
+        ;;
73432
 
+      *cegcc)
73433
 
+        # Disable wrappers for cegcc, we are cross compiling anyway.
73434
 
+        wrappers_required=no
73435
 
+        ;;
73436
 
+      *)
73437
 
+        if test "$need_relink" = no || test "$build_libtool_libs" != yes; then
73438
 
+          wrappers_required=no
73439
 
+        fi
73440
 
+        ;;
73441
 
+      esac
73442
 
+      if test "$wrappers_required" = no; then
73443
 
+       # Replace the output file specification.
73444
 
+       compile_command=`$ECHO "X$compile_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
73445
 
+       link_command="$compile_command$compile_rpath"
73446
 
 
73447
 
-         # Do each command in the postinstall commands.
73448
 
-         lib="$destdir/$realname"
73449
 
-         cmds=$postinstall_cmds
73450
 
-         save_ifs="$IFS"; IFS='~'
73451
 
-         for cmd in $cmds; do
73452
 
-           IFS="$save_ifs"
73453
 
-           eval cmd=\"$cmd\"
73454
 
-           $show "$cmd"
73455
 
-           $run eval "$cmd" || {
73456
 
-             lt_exit=$?
73457
 
-
73458
 
-             # Restore the uninstalled library and exit
73459
 
-             if test "$mode" = relink; then
73460
 
-               $run eval '(cd $output_objdir && $rm ${realname}T && $mv ${realname}U $realname)'
73461
 
-             fi
73462
 
+       # We have no uninstalled library dependencies, so finalize right now.
73463
 
+       exit_status=0
73464
 
+       func_show_eval "$link_command" 'exit_status=$?'
73465
 
 
73466
 
-             exit $lt_exit
73467
 
-           }
73468
 
-         done
73469
 
-         IFS="$save_ifs"
73470
 
+       # Delete the generated files.
73471
 
+       if test -f "$output_objdir/${outputname}S.${objext}"; then
73472
 
+         func_show_eval '$RM "$output_objdir/${outputname}S.${objext}"'
73473
 
        fi
73474
 
 
73475
 
-       # Install the pseudo-library for information purposes.
73476
 
-       name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
73477
 
-       instname="$dir/$name"i
73478
 
-       $show "$install_prog $instname $destdir/$name"
73479
 
-       $run eval "$install_prog $instname $destdir/$name" || exit $?
73480
 
-
73481
 
-       # Maybe install the static library, too.
73482
 
-       test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
73483
 
-       ;;
73484
 
+       exit $exit_status
73485
 
+      fi
73486
 
 
73487
 
-      *.lo)
73488
 
-       # Install (i.e. copy) a libtool object.
73489
 
+      if test -n "$compile_shlibpath$finalize_shlibpath"; then
73490
 
+       compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command"
73491
 
+      fi
73492
 
+      if test -n "$finalize_shlibpath"; then
73493
 
+       finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command"
73494
 
+      fi
73495
 
 
73496
 
-       # Figure out destination file name, if it wasn't already specified.
73497
 
-       if test -n "$destname"; then
73498
 
-         destfile="$destdir/$destname"
73499
 
-       else
73500
 
-         destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
73501
 
-         destfile="$destdir/$destfile"
73502
 
+      compile_var=
73503
 
+      finalize_var=
73504
 
+      if test -n "$runpath_var"; then
73505
 
+       if test -n "$perm_rpath"; then
73506
 
+         # We should set the runpath_var.
73507
 
+         rpath=
73508
 
+         for dir in $perm_rpath; do
73509
 
+           rpath="$rpath$dir:"
73510
 
+         done
73511
 
+         compile_var="$runpath_var=\"$rpath\$$runpath_var\" "
73512
 
        fi
73513
 
-
73514
 
-       # Deduce the name of the destination old-style object file.
73515
 
-       case $destfile in
73516
 
-       *.lo)
73517
 
-         staticdest=`$echo "X$destfile" | $Xsed -e "$lo2o"`
73518
 
-         ;;
73519
 
-       *.$objext)
73520
 
-         staticdest="$destfile"
73521
 
-         destfile=
73522
 
-         ;;
73523
 
-       *)
73524
 
-         $echo "$modename: cannot copy a libtool object to \`$destfile'" 1>&2
73525
 
-         $echo "$help" 1>&2
73526
 
-         exit $EXIT_FAILURE
73527
 
-         ;;
73528
 
-       esac
73529
 
-
73530
 
-       # Install the libtool object if requested.
73531
 
-       if test -n "$destfile"; then
73532
 
-         $show "$install_prog $file $destfile"
73533
 
-         $run eval "$install_prog $file $destfile" || exit $?
73534
 
+       if test -n "$finalize_perm_rpath"; then
73535
 
+         # We should set the runpath_var.
73536
 
+         rpath=
73537
 
+         for dir in $finalize_perm_rpath; do
73538
 
+           rpath="$rpath$dir:"
73539
 
+         done
73540
 
+         finalize_var="$runpath_var=\"$rpath\$$runpath_var\" "
73541
 
        fi
73542
 
+      fi
73543
 
 
73544
 
-       # Install the old object if enabled.
73545
 
-       if test "$build_old_libs" = yes; then
73546
 
-         # Deduce the name of the old-style object file.
73547
 
-         staticobj=`$echo "X$file" | $Xsed -e "$lo2o"`
73548
 
-
73549
 
-         $show "$install_prog $staticobj $staticdest"
73550
 
-         $run eval "$install_prog \$staticobj \$staticdest" || exit $?
73551
 
-       fi
73552
 
+      if test "$no_install" = yes; then
73553
 
+       # We don't need to create a wrapper script.
73554
 
+       link_command="$compile_var$compile_command$compile_rpath"
73555
 
+       # Replace the output file specification.
73556
 
+       link_command=`$ECHO "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
73557
 
+       # Delete the old output file.
73558
 
+       $opt_dry_run || $RM $output
73559
 
+       # Link the executable and exit
73560
 
+       func_show_eval "$link_command" 'exit $?'
73561
 
        exit $EXIT_SUCCESS
73562
 
-       ;;
73563
 
+      fi
73564
 
 
73565
 
-      *)
73566
 
-       # Figure out destination file name, if it wasn't already specified.
73567
 
-       if test -n "$destname"; then
73568
 
-         destfile="$destdir/$destname"
73569
 
+      if test "$hardcode_action" = relink; then
73570
 
+       # Fast installation is not supported
73571
 
+       link_command="$compile_var$compile_command$compile_rpath"
73572
 
+       relink_command="$finalize_var$finalize_command$finalize_rpath"
73573
 
+
73574
 
+       func_warning "this platform does not like uninstalled shared libraries"
73575
 
+       func_warning "\`$output' will be relinked during installation"
73576
 
+      else
73577
 
+       if test "$fast_install" != no; then
73578
 
+         link_command="$finalize_var$compile_command$finalize_rpath"
73579
 
+         if test "$fast_install" = yes; then
73580
 
+           relink_command=`$ECHO "X$compile_var$compile_command$compile_rpath" | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g'`
73581
 
+         else
73582
 
+           # fast_install is set to needless
73583
 
+           relink_command=
73584
 
+         fi
73585
 
        else
73586
 
-         destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
73587
 
-         destfile="$destdir/$destfile"
73588
 
+         link_command="$compile_var$compile_command$compile_rpath"
73589
 
+         relink_command="$finalize_var$finalize_command$finalize_rpath"
73590
 
        fi
73591
 
+      fi
73592
 
 
73593
 
-       # If the file is missing, and there is a .exe on the end, strip it
73594
 
-       # because it is most likely a libtool script we actually want to
73595
 
-       # install
73596
 
-       stripped_ext=""
73597
 
-       case $file in
73598
 
-         *.exe)
73599
 
-           if test ! -f "$file"; then
73600
 
-             file=`$echo $file|${SED} 's,.exe$,,'`
73601
 
-             stripped_ext=".exe"
73602
 
-           fi
73603
 
-           ;;
73604
 
-       esac
73605
 
-
73606
 
-       # Do a test to see if this is really a libtool program.
73607
 
-       case $host in
73608
 
-       *cygwin*|*mingw*)
73609
 
-           wrapper=`$echo $file | ${SED} -e 's,.exe$,,'`
73610
 
-           ;;
73611
 
-       *)
73612
 
-           wrapper=$file
73613
 
-           ;;
73614
 
-       esac
73615
 
-       if (${SED} -e '4q' $wrapper | grep "^# Generated by .*$PACKAGE")>/dev/null 2>&1; then
73616
 
-         notinst_deplibs=
73617
 
-         relink_command=
73618
 
-
73619
 
-         # Note that it is not necessary on cygwin/mingw to append a dot to
73620
 
-         # foo even if both foo and FILE.exe exist: automatic-append-.exe
73621
 
-         # behavior happens only for exec(3), not for open(2)!  Also, sourcing
73622
 
-         # `FILE.' does not work on cygwin managed mounts.
73623
 
-         #
73624
 
-         # If there is no directory component, then add one.
73625
 
-         case $wrapper in
73626
 
-         */* | *\\*) . ${wrapper} ;;
73627
 
-         *) . ./${wrapper} ;;
73628
 
-         esac
73629
 
-
73630
 
-         # Check the variables that should have been set.
73631
 
-         if test -z "$notinst_deplibs"; then
73632
 
-           $echo "$modename: invalid libtool wrapper script \`$wrapper'" 1>&2
73633
 
-           exit $EXIT_FAILURE
73634
 
-         fi
73635
 
+      # Replace the output file specification.
73636
 
+      link_command=`$ECHO "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'`
73637
 
 
73638
 
-         finalize=yes
73639
 
-         for lib in $notinst_deplibs; do
73640
 
-           # Check to see that each library is installed.
73641
 
-           libdir=
73642
 
-           if test -f "$lib"; then
73643
 
-             # If there is no directory component, then add one.
73644
 
-             case $lib in
73645
 
-             */* | *\\*) . $lib ;;
73646
 
-             *) . ./$lib ;;
73647
 
-             esac
73648
 
-           fi
73649
 
-           libfile="$libdir/"`$echo "X$lib" | $Xsed -e 's%^.*/%%g'` ### testsuite: skip nested quoting test
73650
 
-           if test -n "$libdir" && test ! -f "$libfile"; then
73651
 
-             $echo "$modename: warning: \`$lib' has not been installed in \`$libdir'" 1>&2
73652
 
-             finalize=no
73653
 
-           fi
73654
 
-         done
73655
 
+      # Delete the old output files.
73656
 
+      $opt_dry_run || $RM $output $output_objdir/$outputname $output_objdir/lt-$outputname
73657
 
 
73658
 
-         relink_command=
73659
 
-         # Note that it is not necessary on cygwin/mingw to append a dot to
73660
 
-         # foo even if both foo and FILE.exe exist: automatic-append-.exe
73661
 
-         # behavior happens only for exec(3), not for open(2)!  Also, sourcing
73662
 
-         # `FILE.' does not work on cygwin managed mounts.
73663
 
-         #
73664
 
-         # If there is no directory component, then add one.
73665
 
-         case $wrapper in
73666
 
-         */* | *\\*) . ${wrapper} ;;
73667
 
-         *) . ./${wrapper} ;;
73668
 
-         esac
73669
 
+      func_show_eval "$link_command" 'exit $?'
73670
 
 
73671
 
-         outputname=
73672
 
-         if test "$fast_install" = no && test -n "$relink_command"; then
73673
 
-           if test "$finalize" = yes && test -z "$run"; then
73674
 
-             tmpdir=`func_mktempdir`
73675
 
-             file=`$echo "X$file$stripped_ext" | $Xsed -e 's%^.*/%%'`
73676
 
-             outputname="$tmpdir/$file"
73677
 
-             # Replace the output file specification.
73678
 
-             relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g' | $NL2SP`
73679
 
+      # Now create the wrapper script.
73680
 
+      func_verbose "creating $output"
73681
 
 
73682
 
-             $show "$relink_command"
73683
 
-             if $run eval "$relink_command"; then :
73684
 
-             else
73685
 
-               $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2
73686
 
-               ${rm}r "$tmpdir"
73687
 
-               continue
73688
 
-             fi
73689
 
-             file="$outputname"
73690
 
-           else
73691
 
-             $echo "$modename: warning: cannot relink \`$file'" 1>&2
73692
 
-           fi
73693
 
+      # Quote the relink command for shipping.
73694
 
+      if test -n "$relink_command"; then
73695
 
+       # Preserve any variables that may affect compiler behavior
73696
 
+       for var in $variables_saved_for_relink; do
73697
 
+         if eval test -z \"\${$var+set}\"; then
73698
 
+           relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command"
73699
 
+         elif eval var_value=\$$var; test -z "$var_value"; then
73700
 
+           relink_command="$var=; export $var; $relink_command"
73701
 
          else
73702
 
-           # Install the binary that we compiled earlier.
73703
 
-           file=`$echo "X$file$stripped_ext" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"`
73704
 
+           func_quote_for_eval "$var_value"
73705
 
+           relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command"
73706
 
          fi
73707
 
-       fi
73708
 
+       done
73709
 
+       relink_command="(cd `pwd`; $relink_command)"
73710
 
+       relink_command=`$ECHO "X$relink_command" | $Xsed -e "$sed_quote_subst"`
73711
 
+      fi
73712
 
 
73713
 
-       # remove .exe since cygwin /usr/bin/install will append another
73714
 
-       # one anyway 
73715
 
-       case $install_prog,$host in
73716
 
-       */usr/bin/install*,*cygwin*)
73717
 
-         case $file:$destfile in
73718
 
-         *.exe:*.exe)
73719
 
-           # this is ok
73720
 
-           ;;
73721
 
-         *.exe:*)
73722
 
-           destfile=$destfile.exe
73723
 
-           ;;
73724
 
-         *:*.exe)
73725
 
-           destfile=`$echo $destfile | ${SED} -e 's,.exe$,,'`
73726
 
-           ;;
73727
 
-         esac
73728
 
-         ;;
73729
 
+      # Quote $ECHO for shipping.
73730
 
+      if test "X$ECHO" = "X$SHELL $progpath --fallback-echo"; then
73731
 
+       case $progpath in
73732
 
+       [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $progpath --fallback-echo";;
73733
 
+       *) qecho="$SHELL `pwd`/$progpath --fallback-echo";;
73734
 
+       esac
73735
 
+       qecho=`$ECHO "X$qecho" | $Xsed -e "$sed_quote_subst"`
73736
 
+      else
73737
 
+       qecho=`$ECHO "X$ECHO" | $Xsed -e "$sed_quote_subst"`
73738
 
+      fi
73739
 
+
73740
 
+      # Only actually do things if not in dry run mode.
73741
 
+      $opt_dry_run || {
73742
 
+       # win32 will think the script is a binary if it has
73743
 
+       # a .exe suffix, so we strip it off here.
73744
 
+       case $output in
73745
 
+         *.exe) func_stripname '' '.exe' "$output"
73746
 
+                output=$func_stripname_result ;;
73747
 
+       esac
73748
 
+       # test for cygwin because mv fails w/o .exe extensions
73749
 
+       case $host in
73750
 
+         *cygwin*)
73751
 
+           exeext=.exe
73752
 
+           func_stripname '' '.exe' "$outputname"
73753
 
+           outputname=$func_stripname_result ;;
73754
 
+         *) exeext= ;;
73755
 
        esac
73756
 
-       $show "$install_prog$stripme $file $destfile"
73757
 
-       $run eval "$install_prog\$stripme \$file \$destfile" || exit $?
73758
 
-       test -n "$outputname" && ${rm}r "$tmpdir"
73759
 
-       ;;
73760
 
-      esac
73761
 
-    done
73762
 
+       case $host in
73763
 
+         *cygwin* | *mingw* )
73764
 
+           func_dirname_and_basename "$output" "" "."
73765
 
+           output_name=$func_basename_result
73766
 
+           output_path=$func_dirname_result
73767
 
+           cwrappersource="$output_path/$objdir/lt-$output_name.c"
73768
 
+           cwrapper="$output_path/$output_name.exe"
73769
 
+           $RM $cwrappersource $cwrapper
73770
 
+           trap "$RM $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15
73771
 
+
73772
 
+           func_emit_cwrapperexe_src > $cwrappersource
73773
 
+
73774
 
+           # The wrapper executable is built using the $host compiler,
73775
 
+           # because it contains $host paths and files. If cross-
73776
 
+           # compiling, it, like the target executable, must be
73777
 
+           # executed on the $host or under an emulation environment.
73778
 
+           $opt_dry_run || {
73779
 
+             $LTCC $LTCFLAGS -o $cwrapper $cwrappersource
73780
 
+             $STRIP $cwrapper
73781
 
+           }
73782
 
 
73783
 
-    for file in $staticlibs; do
73784
 
-      name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
73785
 
+           # Now, create the wrapper script for func_source use:
73786
 
+           func_ltwrapper_scriptname $cwrapper
73787
 
+           $RM $func_ltwrapper_scriptname_result
73788
 
+           trap "$RM $func_ltwrapper_scriptname_result; exit $EXIT_FAILURE" 1 2 15
73789
 
+           $opt_dry_run || {
73790
 
+             # note: this script will not be executed, so do not chmod.
73791
 
+             if test "x$build" = "x$host" ; then
73792
 
+               $cwrapper --lt-dump-script > $func_ltwrapper_scriptname_result
73793
 
+             else
73794
 
+               func_emit_wrapper no > $func_ltwrapper_scriptname_result
73795
 
+             fi
73796
 
+           }
73797
 
+         ;;
73798
 
+         * )
73799
 
+           $RM $output
73800
 
+           trap "$RM $output; exit $EXIT_FAILURE" 1 2 15
73801
 
 
73802
 
-      # Set up the ranlib parameters.
73803
 
-      oldlib="$destdir/$name"
73804
 
+           func_emit_wrapper no > $output
73805
 
+           chmod +x $output
73806
 
+         ;;
73807
 
+       esac
73808
 
+      }
73809
 
+      exit $EXIT_SUCCESS
73810
 
+      ;;
73811
 
+    esac
73812
 
 
73813
 
-      $show "$install_prog $file $oldlib"
73814
 
-      $run eval "$install_prog \$file \$oldlib" || exit $?
73815
 
+    # See if we need to build an old-fashioned archive.
73816
 
+    for oldlib in $oldlibs; do
73817
 
 
73818
 
-      if test -n "$stripme" && test -n "$old_striplib"; then
73819
 
-       $show "$old_striplib $oldlib"
73820
 
-       $run eval "$old_striplib $oldlib" || exit $?
73821
 
+      if test "$build_libtool_libs" = convenience; then
73822
 
+       oldobjs="$libobjs_save $symfileobj"
73823
 
+       addlibs="$convenience"
73824
 
+       build_libtool_libs=no
73825
 
+      else
73826
 
+       if test "$build_libtool_libs" = module; then
73827
 
+         oldobjs="$libobjs_save"
73828
 
+         build_libtool_libs=no
73829
 
+       else
73830
 
+         oldobjs="$old_deplibs $non_pic_objects"
73831
 
+         if test "$preload" = yes && test -f "$symfileobj"; then
73832
 
+           oldobjs="$oldobjs $symfileobj"
73833
 
+         fi
73834
 
+       fi
73835
 
+       addlibs="$old_convenience"
73836
 
       fi
73837
 
 
73838
 
-      # Do each command in the postinstall commands.
73839
 
-      cmds=$old_postinstall_cmds
73840
 
-      save_ifs="$IFS"; IFS='~'
73841
 
-      for cmd in $cmds; do
73842
 
-       IFS="$save_ifs"
73843
 
-       eval cmd=\"$cmd\"
73844
 
-       $show "$cmd"
73845
 
-       $run eval "$cmd" || exit $?
73846
 
-      done
73847
 
-      IFS="$save_ifs"
73848
 
-    done
73849
 
+      if test -n "$addlibs"; then
73850
 
+       gentop="$output_objdir/${outputname}x"
73851
 
+       generated="$generated $gentop"
73852
 
 
73853
 
-    if test -n "$future_libdirs"; then
73854
 
-      $echo "$modename: warning: remember to run \`$progname --finish$future_libdirs'" 1>&2
73855
 
-    fi
73856
 
+       func_extract_archives $gentop $addlibs
73857
 
+       oldobjs="$oldobjs $func_extract_archives_result"
73858
 
+      fi
73859
 
 
73860
 
-    if test -n "$current_libdirs"; then
73861
 
-      # Maybe just do a dry run.
73862
 
-      test -n "$run" && current_libdirs=" -n$current_libdirs"
73863
 
-      exec_cmd='$SHELL $progpath $preserve_args --finish$current_libdirs'
73864
 
-    else
73865
 
-      exit $EXIT_SUCCESS
73866
 
-    fi
73867
 
-    ;;
73868
 
+      # Do each command in the archive commands.
73869
 
+      if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then
73870
 
+       cmds=$old_archive_from_new_cmds
73871
 
+      else
73872
 
 
73873
 
-  # libtool finish mode
73874
 
-  finish)
73875
 
-    modename="$modename: finish"
73876
 
-    libdirs="$nonopt"
73877
 
-    admincmds=
73878
 
+       # Add any objects from preloaded convenience libraries
73879
 
+       if test -n "$dlprefiles"; then
73880
 
+         gentop="$output_objdir/${outputname}x"
73881
 
+         generated="$generated $gentop"
73882
 
 
73883
 
-    if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then
73884
 
-      for dir
73885
 
-      do
73886
 
-       libdirs="$libdirs $dir"
73887
 
-      done
73888
 
+         func_extract_archives $gentop $dlprefiles
73889
 
+         oldobjs="$oldobjs $func_extract_archives_result"
73890
 
+       fi
73891
 
 
73892
 
-      for libdir in $libdirs; do
73893
 
-       if test -n "$finish_cmds"; then
73894
 
-         # Do each command in the finish commands.
73895
 
-         cmds=$finish_cmds
73896
 
-         save_ifs="$IFS"; IFS='~'
73897
 
-         for cmd in $cmds; do
73898
 
-           IFS="$save_ifs"
73899
 
-           eval cmd=\"$cmd\"
73900
 
-           $show "$cmd"
73901
 
-           $run eval "$cmd" || admincmds="$admincmds
73902
 
-       $cmd"
73903
 
+       # POSIX demands no paths to be encoded in archives.  We have
73904
 
+       # to avoid creating archives with duplicate basenames if we
73905
 
+       # might have to extract them afterwards, e.g., when creating a
73906
 
+       # static archive out of a convenience library, or when linking
73907
 
+       # the entirety of a libtool archive into another (currently
73908
 
+       # not supported by libtool).
73909
 
+       if (for obj in $oldobjs
73910
 
+           do
73911
 
+             func_basename "$obj"
73912
 
+             $ECHO "$func_basename_result"
73913
 
+           done | sort | sort -uc >/dev/null 2>&1); then
73914
 
+         :
73915
 
+       else
73916
 
+         $ECHO "copying selected object files to avoid basename conflicts..."
73917
 
+         gentop="$output_objdir/${outputname}x"
73918
 
+         generated="$generated $gentop"
73919
 
+         func_mkdir_p "$gentop"
73920
 
+         save_oldobjs=$oldobjs
73921
 
+         oldobjs=
73922
 
+         counter=1
73923
 
+         for obj in $save_oldobjs
73924
 
+         do
73925
 
+           func_basename "$obj"
73926
 
+           objbase="$func_basename_result"
73927
 
+           case " $oldobjs " in
73928
 
+           " ") oldobjs=$obj ;;
73929
 
+           *[\ /]"$objbase "*)
73930
 
+             while :; do
73931
 
+               # Make sure we don't pick an alternate name that also
73932
 
+               # overlaps.
73933
 
+               newobj=lt$counter-$objbase
73934
 
+               func_arith $counter + 1
73935
 
+               counter=$func_arith_result
73936
 
+               case " $oldobjs " in
73937
 
+               *[\ /]"$newobj "*) ;;
73938
 
+               *) if test ! -f "$gentop/$newobj"; then break; fi ;;
73939
 
+               esac
73940
 
+             done
73941
 
+             func_show_eval "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj"
73942
 
+             oldobjs="$oldobjs $gentop/$newobj"
73943
 
+             ;;
73944
 
+           *) oldobjs="$oldobjs $obj" ;;
73945
 
+           esac
73946
 
          done
73947
 
-         IFS="$save_ifs"
73948
 
-       fi
73949
 
-       if test -n "$finish_eval"; then
73950
 
-         # Do the single finish_eval.
73951
 
-         eval cmds=\"$finish_eval\"
73952
 
-         $run eval "$cmds" || admincmds="$admincmds
73953
 
-       $cmds"
73954
 
        fi
73955
 
-      done
73956
 
-    fi
73957
 
-
73958
 
-    # Exit here if they wanted silent mode.
73959
 
-    test "$show" = : && exit $EXIT_SUCCESS
73960
 
+       eval cmds=\"$old_archive_cmds\"
73961
 
 
73962
 
-    $echo "X----------------------------------------------------------------------" | $Xsed
73963
 
-    $echo "Libraries have been installed in:"
73964
 
-    for libdir in $libdirs; do
73965
 
-      $echo "   $libdir"
73966
 
+       func_len " $cmds"
73967
 
+       len=$func_len_result
73968
 
+       if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then
73969
 
+         cmds=$old_archive_cmds
73970
 
+       else
73971
 
+         # the command line is too long to link in one step, link in parts
73972
 
+         func_verbose "using piecewise archive linking..."
73973
 
+         save_RANLIB=$RANLIB
73974
 
+         RANLIB=:
73975
 
+         objlist=
73976
 
+         concat_cmds=
73977
 
+         save_oldobjs=$oldobjs
73978
 
+         oldobjs=
73979
 
+         # Is there a better way of finding the last object in the list?
73980
 
+         for obj in $save_oldobjs
73981
 
+         do
73982
 
+           last_oldobj=$obj
73983
 
+         done
73984
 
+         eval test_cmds=\"$old_archive_cmds\"
73985
 
+         func_len " $test_cmds"
73986
 
+         len0=$func_len_result
73987
 
+         len=$len0
73988
 
+         for obj in $save_oldobjs
73989
 
+         do
73990
 
+           func_len " $obj"
73991
 
+           func_arith $len + $func_len_result
73992
 
+           len=$func_arith_result
73993
 
+           func_append objlist " $obj"
73994
 
+           if test "$len" -lt "$max_cmd_len"; then
73995
 
+             :
73996
 
+           else
73997
 
+             # the above command should be used before it gets too long
73998
 
+             oldobjs=$objlist
73999
 
+             if test "$obj" = "$last_oldobj" ; then
74000
 
+               RANLIB=$save_RANLIB
74001
 
+             fi
74002
 
+             test -z "$concat_cmds" || concat_cmds=$concat_cmds~
74003
 
+             eval concat_cmds=\"\${concat_cmds}$old_archive_cmds\"
74004
 
+             objlist=
74005
 
+             len=$len0
74006
 
+           fi
74007
 
+         done
74008
 
+         RANLIB=$save_RANLIB
74009
 
+         oldobjs=$objlist
74010
 
+         if test "X$oldobjs" = "X" ; then
74011
 
+           eval cmds=\"\$concat_cmds\"
74012
 
+         else
74013
 
+           eval cmds=\"\$concat_cmds~\$old_archive_cmds\"
74014
 
+         fi
74015
 
+       fi
74016
 
+      fi
74017
 
+      func_execute_cmds "$cmds" 'exit $?'
74018
 
     done
74019
 
-    $echo
74020
 
-    $echo "If you ever happen to want to link against installed libraries"
74021
 
-    $echo "in a given directory, LIBDIR, you must either use libtool, and"
74022
 
-    $echo "specify the full pathname of the library, or use the \`-LLIBDIR'"
74023
 
-    $echo "flag during linking and do at least one of the following:"
74024
 
-    if test -n "$shlibpath_var"; then
74025
 
-      $echo "   - add LIBDIR to the \`$shlibpath_var' environment variable"
74026
 
-      $echo "     during execution"
74027
 
-    fi
74028
 
-    if test -n "$runpath_var"; then
74029
 
-      $echo "   - add LIBDIR to the \`$runpath_var' environment variable"
74030
 
-      $echo "     during linking"
74031
 
-    fi
74032
 
-    if test -n "$hardcode_libdir_flag_spec"; then
74033
 
-      libdir=LIBDIR
74034
 
-      eval flag=\"$hardcode_libdir_flag_spec\"
74035
 
-
74036
 
-      $echo "   - use the \`$flag' linker flag"
74037
 
-    fi
74038
 
-    if test -n "$admincmds"; then
74039
 
-      $echo "   - have your system administrator run these commands:$admincmds"
74040
 
-    fi
74041
 
-    if test -f /etc/ld.so.conf; then
74042
 
-      $echo "   - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
74043
 
-    fi
74044
 
-    $echo
74045
 
-    $echo "See any operating system documentation about shared libraries for"
74046
 
-    $echo "more information, such as the ld(1) and ld.so(8) manual pages."
74047
 
-    $echo "X----------------------------------------------------------------------" | $Xsed
74048
 
-    exit $EXIT_SUCCESS
74049
 
-    ;;
74050
 
-
74051
 
-  # libtool execute mode
74052
 
-  execute)
74053
 
-    modename="$modename: execute"
74054
 
 
74055
 
-    # The first argument is the command name.
74056
 
-    cmd="$nonopt"
74057
 
-    if test -z "$cmd"; then
74058
 
-      $echo "$modename: you must specify a COMMAND" 1>&2
74059
 
-      $echo "$help"
74060
 
-      exit $EXIT_FAILURE
74061
 
-    fi
74062
 
+    test -n "$generated" && \
74063
 
+      func_show_eval "${RM}r$generated"
74064
 
 
74065
 
-    # Handle -dlopen flags immediately.
74066
 
-    for file in $execute_dlfiles; do
74067
 
-      if test ! -f "$file"; then
74068
 
-       $echo "$modename: \`$file' is not a file" 1>&2
74069
 
-       $echo "$help" 1>&2
74070
 
-       exit $EXIT_FAILURE
74071
 
-      fi
74072
 
+    # Now create the libtool archive.
74073
 
+    case $output in
74074
 
+    *.la)
74075
 
+      old_library=
74076
 
+      test "$build_old_libs" = yes && old_library="$libname.$libext"
74077
 
+      func_verbose "creating $output"
74078
 
 
74079
 
-      dir=
74080
 
-      case $file in
74081
 
-      *.la)
74082
 
-       # Check to see that this really is a libtool archive.
74083
 
-       if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
74084
 
+      # Preserve any variables that may affect compiler behavior
74085
 
+      for var in $variables_saved_for_relink; do
74086
 
+       if eval test -z \"\${$var+set}\"; then
74087
 
+         relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command"
74088
 
+       elif eval var_value=\$$var; test -z "$var_value"; then
74089
 
+         relink_command="$var=; export $var; $relink_command"
74090
 
        else
74091
 
-         $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
74092
 
-         $echo "$help" 1>&2
74093
 
-         exit $EXIT_FAILURE
74094
 
+         func_quote_for_eval "$var_value"
74095
 
+         relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command"
74096
 
        fi
74097
 
+      done
74098
 
+      # Quote the link command for shipping.
74099
 
+      relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
74100
 
+      relink_command=`$ECHO "X$relink_command" | $Xsed -e "$sed_quote_subst"`
74101
 
+      if test "$hardcode_automatic" = yes ; then
74102
 
+       relink_command=
74103
 
+      fi
74104
 
 
74105
 
-       # Read the libtool library.
74106
 
-       dlname=
74107
 
-       library_names=
74108
 
+      # Only create the output if not a dry run.
74109
 
+      $opt_dry_run || {
74110
 
+       for installed in no yes; do
74111
 
+         if test "$installed" = yes; then
74112
 
+           if test -z "$install_libdir"; then
74113
 
+             break
74114
 
+           fi
74115
 
+           output="$output_objdir/$outputname"i
74116
 
+           # Replace all uninstalled libtool libraries with the installed ones
74117
 
+           newdependency_libs=
74118
 
+           for deplib in $dependency_libs; do
74119
 
+             case $deplib in
74120
 
+             *.la)
74121
 
+               func_basename "$deplib"
74122
 
+               name="$func_basename_result"
74123
 
+               eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
74124
 
+               test -z "$libdir" && \
74125
 
+                 func_fatal_error "\`$deplib' is not a valid libtool archive"
74126
 
+               newdependency_libs="$newdependency_libs $libdir/$name"
74127
 
+               ;;
74128
 
+             *) newdependency_libs="$newdependency_libs $deplib" ;;
74129
 
+             esac
74130
 
+           done
74131
 
+           dependency_libs="$newdependency_libs"
74132
 
+           newdlfiles=
74133
 
+
74134
 
+           for lib in $dlfiles; do
74135
 
+             case $lib in
74136
 
+             *.la)
74137
 
+               func_basename "$lib"
74138
 
+               name="$func_basename_result"
74139
 
+               eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
74140
 
+               test -z "$libdir" && \
74141
 
+                 func_fatal_error "\`$lib' is not a valid libtool archive"
74142
 
+               newdlfiles="$newdlfiles $libdir/$name"
74143
 
+               ;;
74144
 
+             *) newdlfiles="$newdlfiles $lib" ;;
74145
 
+             esac
74146
 
+           done
74147
 
+           dlfiles="$newdlfiles"
74148
 
+           newdlprefiles=
74149
 
+           for lib in $dlprefiles; do
74150
 
+             case $lib in
74151
 
+             *.la)
74152
 
+               # Only pass preopened files to the pseudo-archive (for
74153
 
+               # eventual linking with the app. that links it) if we
74154
 
+               # didn't already link the preopened objects directly into
74155
 
+               # the library:
74156
 
+               func_basename "$lib"
74157
 
+               name="$func_basename_result"
74158
 
+               eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
74159
 
+               test -z "$libdir" && \
74160
 
+                 func_fatal_error "\`$lib' is not a valid libtool archive"
74161
 
+               newdlprefiles="$newdlprefiles $libdir/$name"
74162
 
+               ;;
74163
 
+             esac
74164
 
+           done
74165
 
+           dlprefiles="$newdlprefiles"
74166
 
+         else
74167
 
+           newdlfiles=
74168
 
+           for lib in $dlfiles; do
74169
 
+             case $lib in
74170
 
+               [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
74171
 
+               *) abs=`pwd`"/$lib" ;;
74172
 
+             esac
74173
 
+             newdlfiles="$newdlfiles $abs"
74174
 
+           done
74175
 
+           dlfiles="$newdlfiles"
74176
 
+           newdlprefiles=
74177
 
+           for lib in $dlprefiles; do
74178
 
+             case $lib in
74179
 
+               [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
74180
 
+               *) abs=`pwd`"/$lib" ;;
74181
 
+             esac
74182
 
+             newdlprefiles="$newdlprefiles $abs"
74183
 
+           done
74184
 
+           dlprefiles="$newdlprefiles"
74185
 
+         fi
74186
 
+         $RM $output
74187
 
+         # place dlname in correct position for cygwin
74188
 
+         tdlname=$dlname
74189
 
+         case $host,$output,$installed,$module,$dlname in
74190
 
+           *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;;
74191
 
+         esac
74192
 
+         $ECHO > $output "\
74193
 
+# $outputname - a libtool library file
74194
 
+# Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION
74195
 
+#
74196
 
+# Please DO NOT delete this file!
74197
 
+# It is necessary for linking the library.
74198
 
 
74199
 
-       # If there is no directory component, then add one.
74200
 
-       case $file in
74201
 
-       */* | *\\*) . $file ;;
74202
 
-       *) . ./$file ;;
74203
 
-       esac
74204
 
+# The name that we can dlopen(3).
74205
 
+dlname='$tdlname'
74206
 
 
74207
 
-       # Skip this library if it cannot be dlopened.
74208
 
-       if test -z "$dlname"; then
74209
 
-         # Warn if it was a shared library.
74210
 
-         test -n "$library_names" && $echo "$modename: warning: \`$file' was not linked with \`-export-dynamic'"
74211
 
-         continue
74212
 
-       fi
74213
 
+# Names of this library.
74214
 
+library_names='$library_names'
74215
 
 
74216
 
-       dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
74217
 
-       test "X$dir" = "X$file" && dir=.
74218
 
+# The name of the static archive.
74219
 
+old_library='$old_library'
74220
 
 
74221
 
-       if test -f "$dir/$objdir/$dlname"; then
74222
 
-         dir="$dir/$objdir"
74223
 
-       else
74224
 
-         if test ! -f "$dir/$dlname"; then
74225
 
-           $echo "$modename: cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" 1>&2
74226
 
-           exit $EXIT_FAILURE
74227
 
-         fi
74228
 
-       fi
74229
 
-       ;;
74230
 
+# Linker flags that can not go in dependency_libs.
74231
 
+inherited_linker_flags='$new_inherited_linker_flags'
74232
 
 
74233
 
-      *.lo)
74234
 
-       # Just add the directory containing the .lo file.
74235
 
-       dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
74236
 
-       test "X$dir" = "X$file" && dir=.
74237
 
-       ;;
74238
 
+# Libraries that this one depends upon.
74239
 
+dependency_libs='$dependency_libs'
74240
 
 
74241
 
-      *)
74242
 
-       $echo "$modename: warning \`-dlopen' is ignored for non-libtool libraries and objects" 1>&2
74243
 
-       continue
74244
 
-       ;;
74245
 
-      esac
74246
 
+# Names of additional weak libraries provided by this library
74247
 
+weak_library_names='$weak_libs'
74248
 
 
74249
 
-      # Get the absolute pathname.
74250
 
-      absdir=`cd "$dir" && pwd`
74251
 
-      test -n "$absdir" && dir="$absdir"
74252
 
+# Version information for $libname.
74253
 
+current=$current
74254
 
+age=$age
74255
 
+revision=$revision
74256
 
 
74257
 
-      # Now add the directory to shlibpath_var.
74258
 
-      if eval "test -z \"\$$shlibpath_var\""; then
74259
 
-       eval "$shlibpath_var=\"\$dir\""
74260
 
-      else
74261
 
-       eval "$shlibpath_var=\"\$dir:\$$shlibpath_var\""
74262
 
-      fi
74263
 
-    done
74264
 
+# Is this an already installed library?
74265
 
+installed=$installed
74266
 
 
74267
 
-    # This variable tells wrapper scripts just to set shlibpath_var
74268
 
-    # rather than running their programs.
74269
 
-    libtool_execute_magic="$magic"
74270
 
+# Should we warn about portability when linking against -modules?
74271
 
+shouldnotlink=$module
74272
 
 
74273
 
-    # Check if any of the arguments is a wrapper script.
74274
 
-    args=
74275
 
-    for file
74276
 
-    do
74277
 
-      case $file in
74278
 
-      -*) ;;
74279
 
-      *)
74280
 
-       # Do a test to see if this is really a libtool program.
74281
 
-       if (${SED} -e '4q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
74282
 
-         # If there is no directory component, then add one.
74283
 
-         case $file in
74284
 
-         */* | *\\*) . $file ;;
74285
 
-         *) . ./$file ;;
74286
 
-         esac
74287
 
+# Files to dlopen/dlpreopen
74288
 
+dlopen='$dlfiles'
74289
 
+dlpreopen='$dlprefiles'
74290
 
 
74291
 
-         # Transform arg to wrapped name.
74292
 
-         file="$progdir/$program"
74293
 
-       fi
74294
 
-       ;;
74295
 
-      esac
74296
 
-      # Quote arguments (to preserve shell metacharacters).
74297
 
-      file=`$echo "X$file" | $Xsed -e "$sed_quote_subst"`
74298
 
-      args="$args \"$file\""
74299
 
-    done
74300
 
+# Directory that this library needs to be installed in:
74301
 
+libdir='$install_libdir'"
74302
 
+         if test "$installed" = no && test "$need_relink" = yes; then
74303
 
+           $ECHO >> $output "\
74304
 
+relink_command=\"$relink_command\""
74305
 
+         fi
74306
 
+       done
74307
 
+      }
74308
 
 
74309
 
-    if test -z "$run"; then
74310
 
-      if test -n "$shlibpath_var"; then
74311
 
-       # Export the shlibpath_var.
74312
 
-       eval "export $shlibpath_var"
74313
 
-      fi
74314
 
+      # Do a symbolic link so that the libtool archive can be found in
74315
 
+      # LD_LIBRARY_PATH before the program is installed.
74316
 
+      func_show_eval '( cd "$output_objdir" && $RM "$outputname" && $LN_S "../$outputname" "$outputname" )' 'exit $?'
74317
 
+      ;;
74318
 
+    esac
74319
 
+    exit $EXIT_SUCCESS
74320
 
+}
74321
 
 
74322
 
-      # Restore saved environment variables
74323
 
-      for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
74324
 
-      do
74325
 
-       eval "if test \"\${save_$lt_var+set}\" = set; then
74326
 
-               $lt_var=\$save_$lt_var; export $lt_var
74327
 
-             fi"
74328
 
-      done
74329
 
+{ test "$mode" = link || test "$mode" = relink; } &&
74330
 
+    func_mode_link ${1+"$@"}
74331
 
 
74332
 
-      # Now prepare to actually exec the command.
74333
 
-      exec_cmd="\$cmd$args"
74334
 
-    else
74335
 
-      # Display what would be done.
74336
 
-      if test -n "$shlibpath_var"; then
74337
 
-       eval "\$echo \"\$shlibpath_var=\$$shlibpath_var\""
74338
 
-       $echo "export $shlibpath_var"
74339
 
-      fi
74340
 
-      $echo "$cmd$args"
74341
 
-      exit $EXIT_SUCCESS
74342
 
-    fi
74343
 
-    ;;
74344
 
 
74345
 
-  # libtool clean and uninstall mode
74346
 
-  clean | uninstall)
74347
 
-    modename="$modename: $mode"
74348
 
-    rm="$nonopt"
74349
 
+# func_mode_uninstall arg...
74350
 
+func_mode_uninstall ()
74351
 
+{
74352
 
+    $opt_debug
74353
 
+    RM="$nonopt"
74354
 
     files=
74355
 
     rmforce=
74356
 
     exit_status=0
74357
 
@@ -6539,30 +8209,28 @@ relink_command=\"$relink_command\""
74358
 
     for arg
74359
 
     do
74360
 
       case $arg in
74361
 
-      -f) rm="$rm $arg"; rmforce=yes ;;
74362
 
-      -*) rm="$rm $arg" ;;
74363
 
+      -f) RM="$RM $arg"; rmforce=yes ;;
74364
 
+      -*) RM="$RM $arg" ;;
74365
 
       *) files="$files $arg" ;;
74366
 
       esac
74367
 
     done
74368
 
 
74369
 
-    if test -z "$rm"; then
74370
 
-      $echo "$modename: you must specify an RM program" 1>&2
74371
 
-      $echo "$help" 1>&2
74372
 
-      exit $EXIT_FAILURE
74373
 
-    fi
74374
 
+    test -z "$RM" && \
74375
 
+      func_fatal_help "you must specify an RM program"
74376
 
 
74377
 
     rmdirs=
74378
 
 
74379
 
     origobjdir="$objdir"
74380
 
     for file in $files; do
74381
 
-      dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
74382
 
-      if test "X$dir" = "X$file"; then
74383
 
-       dir=.
74384
 
+      func_dirname "$file" "" "."
74385
 
+      dir="$func_dirname_result"
74386
 
+      if test "X$dir" = X.; then
74387
 
        objdir="$origobjdir"
74388
 
       else
74389
 
        objdir="$dir/$origobjdir"
74390
 
       fi
74391
 
-      name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
74392
 
+      func_basename "$file"
74393
 
+      name="$func_basename_result"
74394
 
       test "$mode" = uninstall && objdir="$dir"
74395
 
 
74396
 
       # Remember objdir for removal later, being careful to avoid duplicates
74397
 
@@ -6574,9 +8242,9 @@ relink_command=\"$relink_command\""
74398
 
       fi
74399
 
 
74400
 
       # Don't error if the file doesn't exist and rm -f was used.
74401
 
-      if (test -L "$file") >/dev/null 2>&1 \
74402
 
-       || (test -h "$file") >/dev/null 2>&1 \
74403
 
-       || test -f "$file"; then
74404
 
+      if { test -L "$file"; } >/dev/null 2>&1 ||
74405
 
+        { test -h "$file"; } >/dev/null 2>&1 ||
74406
 
+        test -f "$file"; then
74407
 
        :
74408
 
       elif test -d "$file"; then
74409
 
        exit_status=1
74410
 
@@ -6590,8 +8258,8 @@ relink_command=\"$relink_command\""
74411
 
       case $name in
74412
 
       *.la)
74413
 
        # Possibly a libtool archive, so verify it.
74414
 
-       if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
74415
 
-         . $dir/$name
74416
 
+       if func_lalib_p "$file"; then
74417
 
+         func_source $dir/$name
74418
 
 
74419
 
          # Delete the libtool libraries and symlinks.
74420
 
          for n in $library_names; do
74421
 
@@ -6606,39 +8274,17 @@ relink_command=\"$relink_command\""
74422
 
            *" $dlname "*) ;;
74423
 
            *) rmfiles="$rmfiles $objdir/$dlname" ;;
74424
 
            esac
74425
 
-            test -n "$libdir" && rmfiles="$rmfiles $objdir/$name $objdir/${name}i"
74426
 
+           test -n "$libdir" && rmfiles="$rmfiles $objdir/$name $objdir/${name}i"
74427
 
            ;;
74428
 
          uninstall)
74429
 
            if test -n "$library_names"; then
74430
 
              # Do each command in the postuninstall commands.
74431
 
-             cmds=$postuninstall_cmds
74432
 
-             save_ifs="$IFS"; IFS='~'
74433
 
-             for cmd in $cmds; do
74434
 
-               IFS="$save_ifs"
74435
 
-               eval cmd=\"$cmd\"
74436
 
-               $show "$cmd"
74437
 
-               $run eval "$cmd"
74438
 
-               if test "$?" -ne 0 && test "$rmforce" != yes; then
74439
 
-                 exit_status=1
74440
 
-               fi
74441
 
-             done
74442
 
-             IFS="$save_ifs"
74443
 
+             func_execute_cmds "$postuninstall_cmds" 'test "$rmforce" = yes || exit_status=1'
74444
 
            fi
74445
 
 
74446
 
            if test -n "$old_library"; then
74447
 
              # Do each command in the old_postuninstall commands.
74448
 
-             cmds=$old_postuninstall_cmds
74449
 
-             save_ifs="$IFS"; IFS='~'
74450
 
-             for cmd in $cmds; do
74451
 
-               IFS="$save_ifs"
74452
 
-               eval cmd=\"$cmd\"
74453
 
-               $show "$cmd"
74454
 
-               $run eval "$cmd"
74455
 
-               if test "$?" -ne 0 && test "$rmforce" != yes; then
74456
 
-                 exit_status=1
74457
 
-               fi
74458
 
-             done
74459
 
-             IFS="$save_ifs"
74460
 
+             func_execute_cmds "$old_postuninstall_cmds" 'test "$rmforce" = yes || exit_status=1'
74461
 
            fi
74462
 
            # FIXME: should reinstall the best remaining shared library.
74463
 
            ;;
74464
 
@@ -6648,20 +8294,20 @@ relink_command=\"$relink_command\""
74465
 
 
74466
 
       *.lo)
74467
 
        # Possibly a libtool object, so verify it.
74468
 
-       if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
74469
 
+       if func_lalib_p "$file"; then
74470
 
 
74471
 
          # Read the .lo file
74472
 
-         . $dir/$name
74473
 
+         func_source $dir/$name
74474
 
 
74475
 
          # Add PIC object to the list of files to remove.
74476
 
-         if test -n "$pic_object" \
74477
 
-            && test "$pic_object" != none; then
74478
 
+         if test -n "$pic_object" &&
74479
 
+            test "$pic_object" != none; then
74480
 
            rmfiles="$rmfiles $dir/$pic_object"
74481
 
          fi
74482
 
 
74483
 
          # Add non-PIC object to the list of files to remove.
74484
 
-         if test -n "$non_pic_object" \
74485
 
-            && test "$non_pic_object" != none; then
74486
 
+         if test -n "$non_pic_object" &&
74487
 
+            test "$non_pic_object" != none; then
74488
 
            rmfiles="$rmfiles $dir/$non_pic_object"
74489
 
          fi
74490
 
        fi
74491
 
@@ -6672,17 +8318,26 @@ relink_command=\"$relink_command\""
74492
 
          noexename=$name
74493
 
          case $file in
74494
 
          *.exe)
74495
 
-           file=`$echo $file|${SED} 's,.exe$,,'`
74496
 
-           noexename=`$echo $name|${SED} 's,.exe$,,'`
74497
 
+           func_stripname '' '.exe' "$file"
74498
 
+           file=$func_stripname_result
74499
 
+           func_stripname '' '.exe' "$name"
74500
 
+           noexename=$func_stripname_result
74501
 
            # $file with .exe has already been added to rmfiles,
74502
 
            # add $file without .exe
74503
 
            rmfiles="$rmfiles $file"
74504
 
            ;;
74505
 
          esac
74506
 
          # Do a test to see if this is a libtool program.
74507
 
-         if (${SED} -e '4q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
74508
 
-           relink_command=
74509
 
-           . $dir/$noexename
74510
 
+         if func_ltwrapper_p "$file"; then
74511
 
+           if func_ltwrapper_executable_p "$file"; then
74512
 
+             func_ltwrapper_scriptname "$file"
74513
 
+             relink_command=
74514
 
+             func_source $func_ltwrapper_scriptname_result
74515
 
+             rmfiles="$rmfiles $func_ltwrapper_scriptname_result"
74516
 
+           else
74517
 
+             relink_command=
74518
 
+             func_source $dir/$noexename
74519
 
+           fi
74520
 
 
74521
 
            # note $name still contains .exe if it was in $file originally
74522
 
            # as does the version of $file that was added into $rmfiles
74523
 
@@ -6697,239 +8352,38 @@ relink_command=\"$relink_command\""
74524
 
        fi
74525
 
        ;;
74526
 
       esac
74527
 
-      $show "$rm $rmfiles"
74528
 
-      $run $rm $rmfiles || exit_status=1
74529
 
+      func_show_eval "$RM $rmfiles" 'exit_status=1'
74530
 
     done
74531
 
     objdir="$origobjdir"
74532
 
 
74533
 
     # Try to remove the ${objdir}s in the directories where we deleted files
74534
 
     for dir in $rmdirs; do
74535
 
       if test -d "$dir"; then
74536
 
-       $show "rmdir $dir"
74537
 
-       $run rmdir $dir >/dev/null 2>&1
74538
 
+       func_show_eval "rmdir $dir >/dev/null 2>&1"
74539
 
       fi
74540
 
     done
74541
 
 
74542
 
     exit $exit_status
74543
 
-    ;;
74544
 
+}
74545
 
 
74546
 
-  "")
74547
 
-    $echo "$modename: you must specify a MODE" 1>&2
74548
 
-    $echo "$generic_help" 1>&2
74549
 
-    exit $EXIT_FAILURE
74550
 
-    ;;
74551
 
-  esac
74552
 
+{ test "$mode" = uninstall || test "$mode" = clean; } &&
74553
 
+    func_mode_uninstall ${1+"$@"}
74554
 
 
74555
 
-  if test -z "$exec_cmd"; then
74556
 
-    $echo "$modename: invalid operation mode \`$mode'" 1>&2
74557
 
-    $echo "$generic_help" 1>&2
74558
 
-    exit $EXIT_FAILURE
74559
 
-  fi
74560
 
-fi # test -z "$show_help"
74561
 
+test -z "$mode" && {
74562
 
+  help="$generic_help"
74563
 
+  func_fatal_help "you must specify a MODE"
74564
 
+}
74565
 
+
74566
 
+test -z "$exec_cmd" && \
74567
 
+  func_fatal_help "invalid operation mode \`$mode'"
74568
 
 
74569
 
 if test -n "$exec_cmd"; then
74570
 
-  eval exec $exec_cmd
74571
 
+  eval exec "$exec_cmd"
74572
 
   exit $EXIT_FAILURE
74573
 
 fi
74574
 
 
74575
 
-# We need to display help for each of the modes.
74576
 
-case $mode in
74577
 
-"") $echo \
74578
 
-"Usage: $modename [OPTION]... [MODE-ARG]...
74579
 
-
74580
 
-Provide generalized library-building support services.
74581
 
-
74582
 
-    --config          show all configuration variables
74583
 
-    --debug           enable verbose shell tracing
74584
 
--n, --dry-run         display commands without modifying any files
74585
 
-    --features        display basic configuration information and exit
74586
 
-    --finish          same as \`--mode=finish'
74587
 
-    --help            display this help message and exit
74588
 
-    --mode=MODE       use operation mode MODE [default=inferred from MODE-ARGS]
74589
 
-    --quiet           same as \`--silent'
74590
 
-    --silent          don't print informational messages
74591
 
-    --tag=TAG         use configuration variables from tag TAG
74592
 
-    --version         print version information
74593
 
-
74594
 
-MODE must be one of the following:
74595
 
-
74596
 
-      clean           remove files from the build directory
74597
 
-      compile         compile a source file into a libtool object
74598
 
-      execute         automatically set library path, then run a program
74599
 
-      finish          complete the installation of libtool libraries
74600
 
-      install         install libraries or executables
74601
 
-      link            create a library or an executable
74602
 
-      uninstall       remove libraries from an installed directory
74603
 
-
74604
 
-MODE-ARGS vary depending on the MODE.  Try \`$modename --help --mode=MODE' for
74605
 
-a more detailed description of MODE.
74606
 
-
74607
 
-Report bugs to <bug-libtool@gnu.org>."
74608
 
-  exit $EXIT_SUCCESS
74609
 
-  ;;
74610
 
-
74611
 
-clean)
74612
 
-  $echo \
74613
 
-"Usage: $modename [OPTION]... --mode=clean RM [RM-OPTION]... FILE...
74614
 
-
74615
 
-Remove files from the build directory.
74616
 
-
74617
 
-RM is the name of the program to use to delete files associated with each FILE
74618
 
-(typically \`/bin/rm').  RM-OPTIONS are options (such as \`-f') to be passed
74619
 
-to RM.
74620
 
-
74621
 
-If FILE is a libtool library, object or program, all the files associated
74622
 
-with it are deleted. Otherwise, only FILE itself is deleted using RM."
74623
 
-  ;;
74624
 
-
74625
 
-compile)
74626
 
-  $echo \
74627
 
-"Usage: $modename [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE
74628
 
-
74629
 
-Compile a source file into a libtool library object.
74630
 
-
74631
 
-This mode accepts the following additional options:
74632
 
-
74633
 
-  -o OUTPUT-FILE    set the output file name to OUTPUT-FILE
74634
 
-  -prefer-pic       try to building PIC objects only
74635
 
-  -prefer-non-pic   try to building non-PIC objects only
74636
 
-  -static           always build a \`.o' file suitable for static linking
74637
 
-
74638
 
-COMPILE-COMMAND is a command to be used in creating a \`standard' object file
74639
 
-from the given SOURCEFILE.
74640
 
-
74641
 
-The output file name is determined by removing the directory component from
74642
 
-SOURCEFILE, then substituting the C source code suffix \`.c' with the
74643
 
-library object suffix, \`.lo'."
74644
 
-  ;;
74645
 
-
74646
 
-execute)
74647
 
-  $echo \
74648
 
-"Usage: $modename [OPTION]... --mode=execute COMMAND [ARGS]...
74649
 
-
74650
 
-Automatically set library path, then run a program.
74651
 
-
74652
 
-This mode accepts the following additional options:
74653
 
-
74654
 
-  -dlopen FILE      add the directory containing FILE to the library path
74655
 
-
74656
 
-This mode sets the library path environment variable according to \`-dlopen'
74657
 
-flags.
74658
 
-
74659
 
-If any of the ARGS are libtool executable wrappers, then they are translated
74660
 
-into their corresponding uninstalled binary, and any of their required library
74661
 
-directories are added to the library path.
74662
 
-
74663
 
-Then, COMMAND is executed, with ARGS as arguments."
74664
 
-  ;;
74665
 
-
74666
 
-finish)
74667
 
-  $echo \
74668
 
-"Usage: $modename [OPTION]... --mode=finish [LIBDIR]...
74669
 
-
74670
 
-Complete the installation of libtool libraries.
74671
 
-
74672
 
-Each LIBDIR is a directory that contains libtool libraries.
74673
 
-
74674
 
-The commands that this mode executes may require superuser privileges.  Use
74675
 
-the \`--dry-run' option if you just want to see what would be executed."
74676
 
-  ;;
74677
 
-
74678
 
-install)
74679
 
-  $echo \
74680
 
-"Usage: $modename [OPTION]... --mode=install INSTALL-COMMAND...
74681
 
-
74682
 
-Install executables or libraries.
74683
 
-
74684
 
-INSTALL-COMMAND is the installation command.  The first component should be
74685
 
-either the \`install' or \`cp' program.
74686
 
-
74687
 
-The rest of the components are interpreted as arguments to that command (only
74688
 
-BSD-compatible install options are recognized)."
74689
 
-  ;;
74690
 
-
74691
 
-link)
74692
 
-  $echo \
74693
 
-"Usage: $modename [OPTION]... --mode=link LINK-COMMAND...
74694
 
-
74695
 
-Link object files or libraries together to form another library, or to
74696
 
-create an executable program.
74697
 
+exit $exit_status
74698
 
 
74699
 
-LINK-COMMAND is a command using the C compiler that you would use to create
74700
 
-a program from several object files.
74701
 
-
74702
 
-The following components of LINK-COMMAND are treated specially:
74703
 
-
74704
 
-  -all-static       do not do any dynamic linking at all
74705
 
-  -avoid-version    do not add a version suffix if possible
74706
 
-  -dlopen FILE      \`-dlpreopen' FILE if it cannot be dlopened at runtime
74707
 
-  -dlpreopen FILE   link in FILE and add its symbols to lt_preloaded_symbols
74708
 
-  -export-dynamic   allow symbols from OUTPUT-FILE to be resolved with dlsym(3)
74709
 
-  -export-symbols SYMFILE
74710
 
-                    try to export only the symbols listed in SYMFILE
74711
 
-  -export-symbols-regex REGEX
74712
 
-                    try to export only the symbols matching REGEX
74713
 
-  -LLIBDIR          search LIBDIR for required installed libraries
74714
 
-  -lNAME            OUTPUT-FILE requires the installed library libNAME
74715
 
-  -module           build a library that can dlopened
74716
 
-  -no-fast-install  disable the fast-install mode
74717
 
-  -no-install       link a not-installable executable
74718
 
-  -no-undefined     declare that a library does not refer to external symbols
74719
 
-  -o OUTPUT-FILE    create OUTPUT-FILE from the specified objects
74720
 
-  -objectlist FILE  Use a list of object files found in FILE to specify objects
74721
 
-  -precious-files-regex REGEX
74722
 
-                    don't remove output files matching REGEX
74723
 
-  -release RELEASE  specify package release information
74724
 
-  -rpath LIBDIR     the created library will eventually be installed in LIBDIR
74725
 
-  -R[ ]LIBDIR       add LIBDIR to the runtime path of programs and libraries
74726
 
-  -static           do not do any dynamic linking of uninstalled libtool libraries
74727
 
-  -static-libtool-libs
74728
 
-                    do not do any dynamic linking of libtool libraries
74729
 
-  -version-info CURRENT[:REVISION[:AGE]]
74730
 
-                    specify library version info [each variable defaults to 0]
74731
 
-
74732
 
-All other options (arguments beginning with \`-') are ignored.
74733
 
-
74734
 
-Every other argument is treated as a filename.  Files ending in \`.la' are
74735
 
-treated as uninstalled libtool libraries, other files are standard or library
74736
 
-object files.
74737
 
-
74738
 
-If the OUTPUT-FILE ends in \`.la', then a libtool library is created,
74739
 
-only library objects (\`.lo' files) may be specified, and \`-rpath' is
74740
 
-required, except when creating a convenience library.
74741
 
-
74742
 
-If OUTPUT-FILE ends in \`.a' or \`.lib', then a standard library is created
74743
 
-using \`ar' and \`ranlib', or on Windows using \`lib'.
74744
 
-
74745
 
-If OUTPUT-FILE ends in \`.lo' or \`.${objext}', then a reloadable object file
74746
 
-is created, otherwise an executable program is created."
74747
 
-  ;;
74748
 
-
74749
 
-uninstall)
74750
 
-  $echo \
74751
 
-"Usage: $modename [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE...
74752
 
-
74753
 
-Remove libraries from an installation directory.
74754
 
-
74755
 
-RM is the name of the program to use to delete files associated with each FILE
74756
 
-(typically \`/bin/rm').  RM-OPTIONS are options (such as \`-f') to be passed
74757
 
-to RM.
74758
 
-
74759
 
-If FILE is a libtool library, all the files associated with it are deleted.
74760
 
-Otherwise, only FILE itself is deleted using RM."
74761
 
-  ;;
74762
 
-
74763
 
-*)
74764
 
-  $echo "$modename: invalid operation mode \`$mode'" 1>&2
74765
 
-  $echo "$help" 1>&2
74766
 
-  exit $EXIT_FAILURE
74767
 
-  ;;
74768
 
-esac
74769
 
-
74770
 
-$echo
74771
 
-$echo "Try \`$modename --help' for more information about other modes."
74772
 
-
74773
 
-exit $?
74774
 
 
74775
 
 # The TAGs below are defined such that we never get into a situation
74776
 
 # in which we disable both kinds of libraries.  Given conflicting
74777
 
@@ -6943,14 +8397,17 @@ exit $?
74778
 
 # configuration.  But we'll never go from static-only to shared-only.
74779
 
 
74780
 
 # ### BEGIN LIBTOOL TAG CONFIG: disable-shared
74781
 
-disable_libs=shared
74782
 
+build_libtool_libs=no
74783
 
+build_old_libs=yes
74784
 
 # ### END LIBTOOL TAG CONFIG: disable-shared
74785
 
 
74786
 
 # ### BEGIN LIBTOOL TAG CONFIG: disable-static
74787
 
-disable_libs=static
74788
 
+build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac`
74789
 
 # ### END LIBTOOL TAG CONFIG: disable-static
74790
 
 
74791
 
 # Local Variables:
74792
 
 # mode:shell-script
74793
 
 # sh-indentation:2
74794
 
 # End:
74795
 
+# vi:sw=2
74796
 
+
74797
 
diff -Nurp gnome-python-extras-2.25.3.orig/Makefile.in gnome-python-extras-2.25.3/Makefile.in
74798
 
--- gnome-python-extras-2.25.3.orig/Makefile.in 2009-02-15 22:21:03.000000000 +0000
74799
 
+++ gnome-python-extras-2.25.3/Makefile.in      2009-12-15 01:42:17.880346171 +0000
74800
 
@@ -1,8 +1,9 @@
74801
 
-# Makefile.in generated by automake 1.10.1 from Makefile.am.
74802
 
+# Makefile.in generated by automake 1.11 from Makefile.am.
74803
 
 # @configure_input@
74804
 
 
74805
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
74806
 
-# 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
74807
 
+# 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
74808
 
+# Inc.
74809
 
 # This Makefile.in is free software; the Free Software Foundation
74810
 
 # gives unlimited permission to copy and/or distribute it,
74811
 
 # with or without modifications, as long as this notice is preserved.
74812
 
@@ -16,8 +17,9 @@
74813
 
 
74814
 
 VPATH = @srcdir@
74815
 
 pkgdatadir = $(datadir)/@PACKAGE@
74816
 
-pkglibdir = $(libdir)/@PACKAGE@
74817
 
 pkgincludedir = $(includedir)/@PACKAGE@
74818
 
+pkglibdir = $(libdir)/@PACKAGE@
74819
 
+pkglibexecdir = $(libexecdir)/@PACKAGE@
74820
 
 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
74821
 
 install_sh_DATA = $(install_sh) -c -m 644
74822
 
 install_sh_PROGRAM = $(install_sh) -c
74823
 
@@ -59,6 +61,7 @@ am__CONFIG_DISTCLEAN_FILES = config.stat
74824
 
 mkinstalldirs = $(install_sh) -d
74825
 
 CONFIG_HEADER = config.h
74826
 
 CONFIG_CLEAN_FILES = gnome-python-extras-2.0.pc
74827
 
+CONFIG_CLEAN_VPATH_FILES =
74828
 
 SOURCES =
74829
 
 DIST_SOURCES =
74830
 
 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
74831
 
@@ -73,12 +76,29 @@ am__vpath_adj = case $$p in \
74832
 
     $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
74833
 
     *) f=$$p;; \
74834
 
   esac;
74835
 
-am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
74836
 
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
74837
 
+am__install_max = 40
74838
 
+am__nobase_strip_setup = \
74839
 
+  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
74840
 
+am__nobase_strip = \
74841
 
+  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
74842
 
+am__nobase_list = $(am__nobase_strip_setup); \
74843
 
+  for p in $$list; do echo "$$p $$p"; done | \
74844
 
+  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
74845
 
+  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
74846
 
+    if (++n[$$2] == $(am__install_max)) \
74847
 
+      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
74848
 
+    END { for (dir in files) print dir, files[dir] }'
74849
 
+am__base_list = \
74850
 
+  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
74851
 
+  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
74852
 
 am__installdirs = "$(DESTDIR)$(pkgconfigdir)"
74853
 
-pkgconfigDATA_INSTALL = $(INSTALL_DATA)
74854
 
 DATA = $(pkgconfig_DATA)
74855
 
 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive        \
74856
 
   distclean-recursive maintainer-clean-recursive
74857
 
+AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
74858
 
+       $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
74859
 
+       distdir dist dist-all distcheck
74860
 
 ETAGS = etags
74861
 
 CTAGS = ctags
74862
 
 DIST_SUBDIRS = tests egg gksu gksu2 gtkhtml2 gtkmozembed \
74863
 
@@ -87,9 +107,34 @@ DISTFILES = $(DIST_COMMON) $(DIST_SOURCE
74864
 
 distdir = $(PACKAGE)-$(VERSION)
74865
 
 top_distdir = $(distdir)
74866
 
 am__remove_distdir = \
74867
 
-  { test ! -d $(distdir) \
74868
 
-    || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
74869
 
-         && rm -fr $(distdir); }; }
74870
 
+  { test ! -d "$(distdir)" \
74871
 
+    || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
74872
 
+         && rm -fr "$(distdir)"; }; }
74873
 
+am__relativize = \
74874
 
+  dir0=`pwd`; \
74875
 
+  sed_first='s,^\([^/]*\)/.*$$,\1,'; \
74876
 
+  sed_rest='s,^[^/]*/*,,'; \
74877
 
+  sed_last='s,^.*/\([^/]*\)$$,\1,'; \
74878
 
+  sed_butlast='s,/*[^/]*$$,,'; \
74879
 
+  while test -n "$$dir1"; do \
74880
 
+    first=`echo "$$dir1" | sed -e "$$sed_first"`; \
74881
 
+    if test "$$first" != "."; then \
74882
 
+      if test "$$first" = ".."; then \
74883
 
+        dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
74884
 
+        dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
74885
 
+      else \
74886
 
+        first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
74887
 
+        if test "$$first2" = "$$first"; then \
74888
 
+          dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
74889
 
+        else \
74890
 
+          dir2="../$$dir2"; \
74891
 
+        fi; \
74892
 
+        dir0="$$dir0"/"$$first"; \
74893
 
+      fi; \
74894
 
+    fi; \
74895
 
+    dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
74896
 
+  done; \
74897
 
+  reldir="$$dir2"
74898
 
 DIST_ARCHIVES = $(distdir).tar.gz
74899
 
 GZIP_ENV = --best
74900
 
 distuninstallcheck_listfiles = find . -type f -print
74901
 
@@ -117,7 +162,7 @@ DEFS = @DEFS@
74902
 
 DEPDIR = @DEPDIR@
74903
 
 DLLTOOL = @DLLTOOL@
74904
 
 DSYMUTIL = @DSYMUTIL@
74905
 
-ECHO = @ECHO@
74906
 
+DUMPBIN = @DUMPBIN@
74907
 
 ECHO_C = @ECHO_C@
74908
 
 ECHO_N = @ECHO_N@
74909
 
 ECHO_T = @ECHO_T@
74910
 
@@ -127,8 +172,7 @@ EGG_RECENT_CFLAGS = @EGG_RECENT_CFLAGS@
74911
 
 EGG_RECENT_LIBS = @EGG_RECENT_LIBS@
74912
 
 EGREP = @EGREP@
74913
 
 EXEEXT = @EXEEXT@
74914
 
-F77 = @F77@
74915
 
-FFLAGS = @FFLAGS@
74916
 
+FGREP = @FGREP@
74917
 
 GDA_CFLAGS = @GDA_CFLAGS@
74918
 
 GDA_LIBS = @GDA_LIBS@
74919
 
 GDL_CFLAGS = @GDL_CFLAGS@
74920
 
@@ -161,23 +205,30 @@ INSTALL_DATA = @INSTALL_DATA@
74921
 
 INSTALL_PROGRAM = @INSTALL_PROGRAM@
74922
 
 INSTALL_SCRIPT = @INSTALL_SCRIPT@
74923
 
 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
74924
 
+LD = @LD@
74925
 
 LDFLAGS = @LDFLAGS@
74926
 
 LIBOBJS = @LIBOBJS@
74927
 
 LIBS = @LIBS@
74928
 
 LIBTOOL = @LIBTOOL@
74929
 
+LIPO = @LIPO@
74930
 
 LN_S = @LN_S@
74931
 
 LTLIBOBJS = @LTLIBOBJS@
74932
 
+MAINT = @MAINT@
74933
 
 MAKEINFO = @MAKEINFO@
74934
 
 MKDIR_P = @MKDIR_P@
74935
 
 MOZILLA_HOME = @MOZILLA_HOME@
74936
 
+NM = @NM@
74937
 
 NMEDIT = @NMEDIT@
74938
 
 OBJDUMP = @OBJDUMP@
74939
 
 OBJEXT = @OBJEXT@
74940
 
+OTOOL = @OTOOL@
74941
 
+OTOOL64 = @OTOOL64@
74942
 
 PACKAGE = @PACKAGE@
74943
 
 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
74944
 
 PACKAGE_NAME = @PACKAGE_NAME@
74945
 
 PACKAGE_STRING = @PACKAGE_STRING@
74946
 
 PACKAGE_TARNAME = @PACKAGE_TARNAME@
74947
 
+PACKAGE_URL = @PACKAGE_URL@
74948
 
 PACKAGE_VERSION = @PACKAGE_VERSION@
74949
 
 PATH_SEPARATOR = @PATH_SEPARATOR@
74950
 
 PKG_CONFIG = @PKG_CONFIG@
74951
 
@@ -204,15 +255,13 @@ SHELL = @SHELL@
74952
 
 STRIP = @STRIP@
74953
 
 VERSION = @VERSION@
74954
 
 XSLTPROC = @XSLTPROC@
74955
 
-XUL19_CFLAGS = @XUL19_CFLAGS@
74956
 
-XUL19_LIBS = @XUL19_LIBS@
74957
 
 abs_builddir = @abs_builddir@
74958
 
 abs_srcdir = @abs_srcdir@
74959
 
 abs_top_builddir = @abs_top_builddir@
74960
 
 abs_top_srcdir = @abs_top_srcdir@
74961
 
 ac_ct_CC = @ac_ct_CC@
74962
 
 ac_ct_CXX = @ac_ct_CXX@
74963
 
-ac_ct_F77 = @ac_ct_F77@
74964
 
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
74965
 
 am__include = @am__include@
74966
 
 am__leading_dot = @am__leading_dot@
74967
 
 am__quote = @am__quote@
74968
 
@@ -243,6 +292,7 @@ libdir = @libdir@
74969
 
 libexecdir = @libexecdir@
74970
 
 localedir = @localedir@
74971
 
 localstatedir = @localstatedir@
74972
 
+lt_ECHO = @lt_ECHO@
74973
 
 mandir = @mandir@
74974
 
 mkdir_p = @mkdir_p@
74975
 
 oldincludedir = @oldincludedir@
74976
 
@@ -292,19 +342,19 @@ all: config.h
74977
 
 .SUFFIXES:
74978
 
 am--refresh:
74979
 
        @:
74980
 
-$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
74981
 
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
74982
 
        @for dep in $?; do \
74983
 
          case '$(am__configure_deps)' in \
74984
 
            *$$dep*) \
74985
 
-             echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
74986
 
-             cd $(srcdir) && $(AUTOMAKE) --gnu  \
74987
 
+             echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
74988
 
+             $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
74989
 
                && exit 0; \
74990
 
              exit 1;; \
74991
 
          esac; \
74992
 
        done; \
74993
 
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  Makefile'; \
74994
 
-       cd $(top_srcdir) && \
74995
 
-         $(AUTOMAKE) --gnu  Makefile
74996
 
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
74997
 
+       $(am__cd) $(top_srcdir) && \
74998
 
+         $(AUTOMAKE) --gnu Makefile
74999
 
 .PRECIOUS: Makefile
75000
 
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
75001
 
        @case '$?' in \
75002
 
@@ -319,10 +369,11 @@ Makefile: $(srcdir)/Makefile.in $(top_bu
75003
 
 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
75004
 
        $(SHELL) ./config.status --recheck
75005
 
 
75006
 
-$(top_srcdir)/configure:  $(am__configure_deps)
75007
 
-       cd $(srcdir) && $(AUTOCONF)
75008
 
-$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
75009
 
-       cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
75010
 
+$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
75011
 
+       $(am__cd) $(srcdir) && $(AUTOCONF)
75012
 
+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
75013
 
+       $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
75014
 
+$(am__aclocal_m4_deps):
75015
 
 
75016
 
 config.h: stamp-h1
75017
 
        @if test ! -f $@; then \
75018
 
@@ -333,8 +384,8 @@ config.h: stamp-h1
75019
 
 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
75020
 
        @rm -f stamp-h1
75021
 
        cd $(top_builddir) && $(SHELL) ./config.status config.h
75022
 
-$(srcdir)/config.h.in:  $(am__configure_deps) 
75023
 
-       cd $(top_srcdir) && $(AUTOHEADER)
75024
 
+$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) 
75025
 
+       ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
75026
 
        rm -f stamp-h1
75027
 
        touch $@
75028
 
 
75029
 
@@ -350,24 +401,27 @@ clean-libtool:
75030
 
        -rm -rf .libs _libs
75031
 
 
75032
 
 distclean-libtool:
75033
 
-       -rm -f libtool
75034
 
+       -rm -f libtool config.lt
75035
 
 install-pkgconfigDATA: $(pkgconfig_DATA)
75036
 
        @$(NORMAL_INSTALL)
75037
 
        test -z "$(pkgconfigdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)"
75038
 
-       @list='$(pkgconfig_DATA)'; for p in $$list; do \
75039
 
+       @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
75040
 
+       for p in $$list; do \
75041
 
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
75042
 
-         f=$(am__strip_dir) \
75043
 
-         echo " $(pkgconfigDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgconfigdir)/$$f'"; \
75044
 
-         $(pkgconfigDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgconfigdir)/$$f"; \
75045
 
+         echo "$$d$$p"; \
75046
 
+       done | $(am__base_list) | \
75047
 
+       while read files; do \
75048
 
+         echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \
75049
 
+         $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \
75050
 
        done
75051
 
 
75052
 
 uninstall-pkgconfigDATA:
75053
 
        @$(NORMAL_UNINSTALL)
75054
 
-       @list='$(pkgconfig_DATA)'; for p in $$list; do \
75055
 
-         f=$(am__strip_dir) \
75056
 
-         echo " rm -f '$(DESTDIR)$(pkgconfigdir)/$$f'"; \
75057
 
-         rm -f "$(DESTDIR)$(pkgconfigdir)/$$f"; \
75058
 
-       done
75059
 
+       @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
75060
 
+       files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
75061
 
+       test -n "$$files" || exit 0; \
75062
 
+       echo " ( cd '$(DESTDIR)$(pkgconfigdir)' && rm -f" $$files ")"; \
75063
 
+       cd "$(DESTDIR)$(pkgconfigdir)" && rm -f $$files
75064
 
 
75065
 
 # This directory's subdirectories are mostly independent; you can cd
75066
 
 # into them and run `make' without going through this Makefile.
75067
 
@@ -393,7 +447,7 @@ $(RECURSIVE_TARGETS):
75068
 
          else \
75069
 
            local_target="$$target"; \
75070
 
          fi; \
75071
 
-         (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
75072
 
+         ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
75073
 
          || eval $$failcom; \
75074
 
        done; \
75075
 
        if test "$$dot_seen" = "no"; then \
75076
 
@@ -427,16 +481,16 @@ $(RECURSIVE_CLEAN_TARGETS):
75077
 
          else \
75078
 
            local_target="$$target"; \
75079
 
          fi; \
75080
 
-         (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
75081
 
+         ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
75082
 
          || eval $$failcom; \
75083
 
        done && test -z "$$fail"
75084
 
 tags-recursive:
75085
 
        list='$(SUBDIRS)'; for subdir in $$list; do \
75086
 
-         test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
75087
 
+         test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
75088
 
        done
75089
 
 ctags-recursive:
75090
 
        list='$(SUBDIRS)'; for subdir in $$list; do \
75091
 
-         test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
75092
 
+         test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
75093
 
        done
75094
 
 
75095
 
 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
75096
 
@@ -444,14 +498,14 @@ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS
75097
 
        unique=`for i in $$list; do \
75098
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
75099
 
          done | \
75100
 
-         $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
75101
 
+         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
75102
 
              END { if (nonempty) { for (i in files) print i; }; }'`; \
75103
 
        mkid -fID $$unique
75104
 
 tags: TAGS
75105
 
 
75106
 
 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
75107
 
                $(TAGS_FILES) $(LISP)
75108
 
-       tags=; \
75109
 
+       set x; \
75110
 
        here=`pwd`; \
75111
 
        if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
75112
 
          include_option=--etags-include; \
75113
 
@@ -463,7 +517,7 @@ TAGS: tags-recursive $(HEADERS) $(SOURCE
75114
 
        list='$(SUBDIRS)'; for subdir in $$list; do \
75115
 
          if test "$$subdir" = .; then :; else \
75116
 
            test ! -f $$subdir/TAGS || \
75117
 
-             tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
75118
 
+             set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
75119
 
          fi; \
75120
 
        done; \
75121
 
        list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
75122
 
@@ -472,36 +526,41 @@ TAGS: tags-recursive $(HEADERS) $(SOURCE
75123
 
          done | \
75124
 
          $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
75125
 
              END { if (nonempty) { for (i in files) print i; }; }'`; \
75126
 
-       if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
75127
 
+       shift; \
75128
 
+       if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
75129
 
          test -n "$$unique" || unique=$$empty_fix; \
75130
 
-         $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
75131
 
-           $$tags $$unique; \
75132
 
+         if test $$# -gt 0; then \
75133
 
+           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
75134
 
+             "$$@" $$unique; \
75135
 
+         else \
75136
 
+           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
75137
 
+             $$unique; \
75138
 
+         fi; \
75139
 
        fi
75140
 
 ctags: CTAGS
75141
 
 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
75142
 
                $(TAGS_FILES) $(LISP)
75143
 
-       tags=; \
75144
 
        list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
75145
 
        unique=`for i in $$list; do \
75146
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
75147
 
          done | \
75148
 
          $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
75149
 
              END { if (nonempty) { for (i in files) print i; }; }'`; \
75150
 
-       test -z "$(CTAGS_ARGS)$$tags$$unique" \
75151
 
+       test -z "$(CTAGS_ARGS)$$unique" \
75152
 
          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
75153
 
-            $$tags $$unique
75154
 
+            $$unique
75155
 
 
75156
 
 GTAGS:
75157
 
        here=`$(am__cd) $(top_builddir) && pwd` \
75158
 
-         && cd $(top_srcdir) \
75159
 
-         && gtags -i $(GTAGS_ARGS) $$here
75160
 
+         && $(am__cd) $(top_srcdir) \
75161
 
+         && gtags -i $(GTAGS_ARGS) "$$here"
75162
 
 
75163
 
 distclean-tags:
75164
 
        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
75165
 
 
75166
 
 distdir: $(DISTFILES)
75167
 
        $(am__remove_distdir)
75168
 
-       test -d $(distdir) || mkdir $(distdir)
75169
 
+       test -d "$(distdir)" || mkdir "$(distdir)"
75170
 
        @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
75171
 
        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
75172
 
        list='$(DISTFILES)'; \
75173
 
@@ -517,38 +576,54 @@ distdir: $(DISTFILES)
75174
 
          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
75175
 
          if test -d $$d/$$file; then \
75176
 
            dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
75177
 
+           if test -d "$(distdir)/$$file"; then \
75178
 
+             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
75179
 
+           fi; \
75180
 
            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
75181
 
-             cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
75182
 
+             cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
75183
 
+             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
75184
 
            fi; \
75185
 
-           cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
75186
 
+           cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
75187
 
          else \
75188
 
-           test -f $(distdir)/$$file \
75189
 
-           || cp -p $$d/$$file $(distdir)/$$file \
75190
 
+           test -f "$(distdir)/$$file" \
75191
 
+           || cp -p $$d/$$file "$(distdir)/$$file" \
75192
 
            || exit 1; \
75193
 
          fi; \
75194
 
        done
75195
 
-       list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
75196
 
+       @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
75197
 
          if test "$$subdir" = .; then :; else \
75198
 
            test -d "$(distdir)/$$subdir" \
75199
 
            || $(MKDIR_P) "$(distdir)/$$subdir" \
75200
 
            || exit 1; \
75201
 
-           distdir=`$(am__cd) $(distdir) && pwd`; \
75202
 
-           top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
75203
 
-           (cd $$subdir && \
75204
 
+         fi; \
75205
 
+       done
75206
 
+       @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
75207
 
+         if test "$$subdir" = .; then :; else \
75208
 
+           dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
75209
 
+           $(am__relativize); \
75210
 
+           new_distdir=$$reldir; \
75211
 
+           dir1=$$subdir; dir2="$(top_distdir)"; \
75212
 
+           $(am__relativize); \
75213
 
+           new_top_distdir=$$reldir; \
75214
 
+           echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
75215
 
+           echo "     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
75216
 
+           ($(am__cd) $$subdir && \
75217
 
              $(MAKE) $(AM_MAKEFLAGS) \
75218
 
-               top_distdir="$$top_distdir" \
75219
 
-               distdir="$$distdir/$$subdir" \
75220
 
+               top_distdir="$$new_top_distdir" \
75221
 
+               distdir="$$new_distdir" \
75222
 
                am__remove_distdir=: \
75223
 
                am__skip_length_check=: \
75224
 
+               am__skip_mode_fix=: \
75225
 
                distdir) \
75226
 
              || exit 1; \
75227
 
          fi; \
75228
 
        done
75229
 
-       -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
75230
 
+       -test -n "$(am__skip_mode_fix)" \
75231
 
+       || find "$(distdir)" -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
75232
 
          ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
75233
 
          ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
75234
 
          ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
75235
 
-       || chmod -R a+r $(distdir)
75236
 
+       || chmod -R a+r "$(distdir)"
75237
 
 dist-gzip: distdir
75238
 
        tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
75239
 
        $(am__remove_distdir)
75240
 
@@ -561,6 +636,10 @@ dist-lzma: distdir
75241
 
        tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
75242
 
        $(am__remove_distdir)
75243
 
 
75244
 
+dist-xz: distdir
75245
 
+       tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
75246
 
+       $(am__remove_distdir)
75247
 
+
75248
 
 dist-tarZ: distdir
75249
 
        tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
75250
 
        $(am__remove_distdir)
75251
 
@@ -589,6 +668,8 @@ distcheck: dist
75252
 
          bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
75253
 
        *.tar.lzma*) \
75254
 
          unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
75255
 
+       *.tar.xz*) \
75256
 
+         xz -dc $(distdir).tar.xz | $(am__untar) ;;\
75257
 
        *.tar.Z*) \
75258
 
          uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
75259
 
        *.shar.gz*) \
75260
 
@@ -600,9 +681,11 @@ distcheck: dist
75261
 
        mkdir $(distdir)/_build
75262
 
        mkdir $(distdir)/_inst
75263
 
        chmod a-w $(distdir)
75264
 
+       test -d $(distdir)/_build || exit 0; \
75265
 
        dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
75266
 
          && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
75267
 
-         && cd $(distdir)/_build \
75268
 
+         && am__cwd=`pwd` \
75269
 
+         && $(am__cd) $(distdir)/_build \
75270
 
          && ../configure --srcdir=.. --prefix="$$dc_install_base" \
75271
 
            $(DISTCHECK_CONFIGURE_FLAGS) \
75272
 
          && $(MAKE) $(AM_MAKEFLAGS) \
75273
 
@@ -624,13 +707,15 @@ distcheck: dist
75274
 
          && rm -rf "$$dc_destdir" \
75275
 
          && $(MAKE) $(AM_MAKEFLAGS) dist \
75276
 
          && rm -rf $(DIST_ARCHIVES) \
75277
 
-         && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
75278
 
+         && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
75279
 
+         && cd "$$am__cwd" \
75280
 
+         || exit 1
75281
 
        $(am__remove_distdir)
75282
 
        @(echo "$(distdir) archives ready for distribution: "; \
75283
 
          list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
75284
 
          sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
75285
 
 distuninstallcheck:
75286
 
-       @cd $(distuninstallcheck_dir) \
75287
 
+       @$(am__cd) '$(distuninstallcheck_dir)' \
75288
 
        && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
75289
 
           || { echo "ERROR: files left after uninstall:" ; \
75290
 
                if test -n "$(DESTDIR)"; then \
75291
 
@@ -675,6 +760,7 @@ clean-generic:
75292
 
 
75293
 
 distclean-generic:
75294
 
        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
75295
 
+       -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
75296
 
 
75297
 
 maintainer-clean-generic:
75298
 
        @echo "This command is intended for maintainers to use"
75299
 
@@ -695,6 +781,8 @@ dvi-am:
75300
 
 
75301
 
 html: html-recursive
75302
 
 
75303
 
+html-am:
75304
 
+
75305
 
 info: info-recursive
75306
 
 
75307
 
 info-am:
75308
 
@@ -703,18 +791,28 @@ install-data-am: install-pkgconfigDATA
75309
 
 
75310
 
 install-dvi: install-dvi-recursive
75311
 
 
75312
 
+install-dvi-am:
75313
 
+
75314
 
 install-exec-am:
75315
 
 
75316
 
 install-html: install-html-recursive
75317
 
 
75318
 
+install-html-am:
75319
 
+
75320
 
 install-info: install-info-recursive
75321
 
 
75322
 
+install-info-am:
75323
 
+
75324
 
 install-man:
75325
 
 
75326
 
 install-pdf: install-pdf-recursive
75327
 
 
75328
 
+install-pdf-am:
75329
 
+
75330
 
 install-ps: install-ps-recursive
75331
 
 
75332
 
+install-ps-am:
75333
 
+
75334
 
 installcheck-am:
75335
 
 
75336
 
 maintainer-clean: maintainer-clean-recursive
75337
 
@@ -737,25 +835,26 @@ ps-am:
75338
 
 
75339
 
 uninstall-am: uninstall-pkgconfigDATA
75340
 
 
75341
 
-.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
75342
 
-       install-strip
75343
 
+.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
75344
 
+       ctags-recursive install-am install-strip tags-recursive
75345
 
 
75346
 
 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
75347
 
        all all-am am--refresh check check-am clean clean-generic \
75348
 
        clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \
75349
 
-       dist-gzip dist-lzma dist-shar dist-tarZ dist-zip distcheck \
75350
 
-       distclean distclean-generic distclean-hdr distclean-libtool \
75351
 
-       distclean-tags distcleancheck distdir distuninstallcheck dvi \
75352
 
-       dvi-am html html-am info info-am install install-am \
75353
 
-       install-data install-data-am install-dvi install-dvi-am \
75354
 
-       install-exec install-exec-am install-html install-html-am \
75355
 
-       install-info install-info-am install-man install-pdf \
75356
 
-       install-pdf-am install-pkgconfigDATA install-ps install-ps-am \
75357
 
-       install-strip installcheck installcheck-am installdirs \
75358
 
-       installdirs-am maintainer-clean maintainer-clean-generic \
75359
 
-       mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
75360
 
-       ps ps-am tags tags-recursive uninstall uninstall-am \
75361
 
-       uninstall-pkgconfigDATA
75362
 
+       dist-gzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \
75363
 
+       distcheck distclean distclean-generic distclean-hdr \
75364
 
+       distclean-libtool distclean-tags distcleancheck distdir \
75365
 
+       distuninstallcheck dvi dvi-am html html-am info info-am \
75366
 
+       install install-am install-data install-data-am install-dvi \
75367
 
+       install-dvi-am install-exec install-exec-am install-html \
75368
 
+       install-html-am install-info install-info-am install-man \
75369
 
+       install-pdf install-pdf-am install-pkgconfigDATA install-ps \
75370
 
+       install-ps-am install-strip installcheck installcheck-am \
75371
 
+       installdirs installdirs-am maintainer-clean \
75372
 
+       maintainer-clean-generic mostlyclean mostlyclean-generic \
75373
 
+       mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
75374
 
+       uninstall uninstall-am uninstall-pkgconfigDATA
75375
 
+
75376
 
 
75377
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
75378
 
 # Otherwise a system limit (for SysV at least) may be exceeded.
75379
 
diff -Nurp gnome-python-extras-2.25.3.orig/tests/Makefile.in gnome-python-extras-2.25.3/tests/Makefile.in
75380
 
--- gnome-python-extras-2.25.3.orig/tests/Makefile.in   2009-02-15 22:21:02.000000000 +0000
75381
 
+++ gnome-python-extras-2.25.3/tests/Makefile.in        2009-12-15 01:42:17.790346186 +0000
75382
 
@@ -1,8 +1,9 @@
75383
 
-# Makefile.in generated by automake 1.10.1 from Makefile.am.
75384
 
+# Makefile.in generated by automake 1.11 from Makefile.am.
75385
 
 # @configure_input@
75386
 
 
75387
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
75388
 
-# 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
75389
 
+# 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
75390
 
+# Inc.
75391
 
 # This Makefile.in is free software; the Free Software Foundation
75392
 
 # gives unlimited permission to copy and/or distribute it,
75393
 
 # with or without modifications, as long as this notice is preserved.
75394
 
@@ -15,8 +16,9 @@
75395
 
 @SET_MAKE@
75396
 
 VPATH = @srcdir@
75397
 
 pkgdatadir = $(datadir)/@PACKAGE@
75398
 
-pkglibdir = $(libdir)/@PACKAGE@
75399
 
 pkgincludedir = $(includedir)/@PACKAGE@
75400
 
+pkglibdir = $(libdir)/@PACKAGE@
75401
 
+pkglibexecdir = $(libexecdir)/@PACKAGE@
75402
 
 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
75403
 
 install_sh_DATA = $(install_sh) -c -m 644
75404
 
 install_sh_PROGRAM = $(install_sh) -c
75405
 
@@ -41,6 +43,7 @@ am__configure_deps = $(am__aclocal_m4_de
75406
 
 mkinstalldirs = $(install_sh) -d
75407
 
 CONFIG_HEADER = $(top_builddir)/config.h
75408
 
 CONFIG_CLEAN_FILES =
75409
 
+CONFIG_CLEAN_VPATH_FILES =
75410
 
 SOURCES =
75411
 
 DIST_SOURCES =
75412
 
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
75413
 
@@ -67,7 +70,7 @@ DEFS = @DEFS@
75414
 
 DEPDIR = @DEPDIR@
75415
 
 DLLTOOL = @DLLTOOL@
75416
 
 DSYMUTIL = @DSYMUTIL@
75417
 
-ECHO = @ECHO@
75418
 
+DUMPBIN = @DUMPBIN@
75419
 
 ECHO_C = @ECHO_C@
75420
 
 ECHO_N = @ECHO_N@
75421
 
 ECHO_T = @ECHO_T@
75422
 
@@ -77,8 +80,7 @@ EGG_RECENT_CFLAGS = @EGG_RECENT_CFLAGS@
75423
 
 EGG_RECENT_LIBS = @EGG_RECENT_LIBS@
75424
 
 EGREP = @EGREP@
75425
 
 EXEEXT = @EXEEXT@
75426
 
-F77 = @F77@
75427
 
-FFLAGS = @FFLAGS@
75428
 
+FGREP = @FGREP@
75429
 
 GDA_CFLAGS = @GDA_CFLAGS@
75430
 
 GDA_LIBS = @GDA_LIBS@
75431
 
 GDL_CFLAGS = @GDL_CFLAGS@
75432
 
@@ -111,23 +113,30 @@ INSTALL_DATA = @INSTALL_DATA@
75433
 
 INSTALL_PROGRAM = @INSTALL_PROGRAM@
75434
 
 INSTALL_SCRIPT = @INSTALL_SCRIPT@
75435
 
 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
75436
 
+LD = @LD@
75437
 
 LDFLAGS = @LDFLAGS@
75438
 
 LIBOBJS = @LIBOBJS@
75439
 
 LIBS = @LIBS@
75440
 
 LIBTOOL = @LIBTOOL@
75441
 
+LIPO = @LIPO@
75442
 
 LN_S = @LN_S@
75443
 
 LTLIBOBJS = @LTLIBOBJS@
75444
 
+MAINT = @MAINT@
75445
 
 MAKEINFO = @MAKEINFO@
75446
 
 MKDIR_P = @MKDIR_P@
75447
 
 MOZILLA_HOME = @MOZILLA_HOME@
75448
 
+NM = @NM@
75449
 
 NMEDIT = @NMEDIT@
75450
 
 OBJDUMP = @OBJDUMP@
75451
 
 OBJEXT = @OBJEXT@
75452
 
+OTOOL = @OTOOL@
75453
 
+OTOOL64 = @OTOOL64@
75454
 
 PACKAGE = @PACKAGE@
75455
 
 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
75456
 
 PACKAGE_NAME = @PACKAGE_NAME@
75457
 
 PACKAGE_STRING = @PACKAGE_STRING@
75458
 
 PACKAGE_TARNAME = @PACKAGE_TARNAME@
75459
 
+PACKAGE_URL = @PACKAGE_URL@
75460
 
 PACKAGE_VERSION = @PACKAGE_VERSION@
75461
 
 PATH_SEPARATOR = @PATH_SEPARATOR@
75462
 
 PKG_CONFIG = @PKG_CONFIG@
75463
 
@@ -154,15 +163,13 @@ SHELL = @SHELL@
75464
 
 STRIP = @STRIP@
75465
 
 VERSION = @VERSION@
75466
 
 XSLTPROC = @XSLTPROC@
75467
 
-XUL19_CFLAGS = @XUL19_CFLAGS@
75468
 
-XUL19_LIBS = @XUL19_LIBS@
75469
 
 abs_builddir = @abs_builddir@
75470
 
 abs_srcdir = @abs_srcdir@
75471
 
 abs_top_builddir = @abs_top_builddir@
75472
 
 abs_top_srcdir = @abs_top_srcdir@
75473
 
 ac_ct_CC = @ac_ct_CC@
75474
 
 ac_ct_CXX = @ac_ct_CXX@
75475
 
-ac_ct_F77 = @ac_ct_F77@
75476
 
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
75477
 
 am__include = @am__include@
75478
 
 am__leading_dot = @am__leading_dot@
75479
 
 am__quote = @am__quote@
75480
 
@@ -193,6 +200,7 @@ libdir = @libdir@
75481
 
 libexecdir = @libexecdir@
75482
 
 localedir = @localedir@
75483
 
 localstatedir = @localstatedir@
75484
 
+lt_ECHO = @lt_ECHO@
75485
 
 mandir = @mandir@
75486
 
 mkdir_p = @mkdir_p@
75487
 
 oldincludedir = @oldincludedir@
75488
 
@@ -218,18 +226,18 @@ EXTRA_DIST = $(tests) common.py runtests
75489
 
 all: all-am
75490
 
 
75491
 
 .SUFFIXES:
75492
 
-$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
75493
 
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
75494
 
        @for dep in $?; do \
75495
 
          case '$(am__configure_deps)' in \
75496
 
            *$$dep*) \
75497
 
-             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
75498
 
-               && exit 0; \
75499
 
+             ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
75500
 
+               && { if test -f $@; then exit 0; else break; fi; }; \
75501
 
              exit 1;; \
75502
 
          esac; \
75503
 
        done; \
75504
 
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  tests/Makefile'; \
75505
 
-       cd $(top_srcdir) && \
75506
 
-         $(AUTOMAKE) --gnu  tests/Makefile
75507
 
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu tests/Makefile'; \
75508
 
+       $(am__cd) $(top_srcdir) && \
75509
 
+         $(AUTOMAKE) --gnu tests/Makefile
75510
 
 .PRECIOUS: Makefile
75511
 
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
75512
 
        @case '$?' in \
75513
 
@@ -243,10 +251,11 @@ Makefile: $(srcdir)/Makefile.in $(top_bu
75514
 
 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
75515
 
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
75516
 
 
75517
 
-$(top_srcdir)/configure:  $(am__configure_deps)
75518
 
+$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
75519
 
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
75520
 
-$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
75521
 
+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
75522
 
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
75523
 
+$(am__aclocal_m4_deps):
75524
 
 
75525
 
 mostlyclean-libtool:
75526
 
        -rm -f *.lo
75527
 
@@ -276,13 +285,17 @@ distdir: $(DISTFILES)
75528
 
          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
75529
 
          if test -d $$d/$$file; then \
75530
 
            dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
75531
 
+           if test -d "$(distdir)/$$file"; then \
75532
 
+             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
75533
 
+           fi; \
75534
 
            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
75535
 
-             cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
75536
 
+             cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
75537
 
+             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
75538
 
            fi; \
75539
 
-           cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
75540
 
+           cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
75541
 
          else \
75542
 
-           test -f $(distdir)/$$file \
75543
 
-           || cp -p $$d/$$file $(distdir)/$$file \
75544
 
+           test -f "$(distdir)/$$file" \
75545
 
+           || cp -p $$d/$$file "$(distdir)/$$file" \
75546
 
            || exit 1; \
75547
 
          fi; \
75548
 
        done
75549
 
@@ -311,6 +324,7 @@ clean-generic:
75550
 
 
75551
 
 distclean-generic:
75552
 
        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
75553
 
+       -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
75554
 
 
75555
 
 maintainer-clean-generic:
75556
 
        @echo "This command is intended for maintainers to use"
75557
 
@@ -329,6 +343,8 @@ dvi-am:
75558
 
 
75559
 
 html: html-am
75560
 
 
75561
 
+html-am:
75562
 
+
75563
 
 info: info-am
75564
 
 
75565
 
 info-am:
75566
 
@@ -337,18 +353,28 @@ install-data-am:
75567
 
 
75568
 
 install-dvi: install-dvi-am
75569
 
 
75570
 
+install-dvi-am:
75571
 
+
75572
 
 install-exec-am:
75573
 
 
75574
 
 install-html: install-html-am
75575
 
 
75576
 
+install-html-am:
75577
 
+
75578
 
 install-info: install-info-am
75579
 
 
75580
 
+install-info-am:
75581
 
+
75582
 
 install-man:
75583
 
 
75584
 
 install-pdf: install-pdf-am
75585
 
 
75586
 
+install-pdf-am:
75587
 
+
75588
 
 install-ps: install-ps-am
75589
 
 
75590
 
+install-ps-am:
75591
 
+
75592
 
 installcheck-am:
75593
 
 
75594
 
 maintainer-clean: maintainer-clean-am
75595
 
@@ -369,7 +395,7 @@ ps-am:
75596
 
 
75597
 
 uninstall-am:
75598
 
 
75599
 
-.MAKE: install-am install-strip
75600
 
+.MAKE: check-am install-am install-strip
75601
 
 
75602
 
 .PHONY: all all-am check check-am check-local clean clean-generic \
75603
 
        clean-libtool distclean distclean-generic distclean-libtool \
75604
 
@@ -386,6 +412,7 @@ uninstall-am:
75605
 
 
75606
 
 check-local:
75607
 
        @PYTHONPATH=$(PYTHONPATH) $(PYTHON) -W error $(srcdir)/runtests.py
75608
 
+
75609
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
75610
 
 # Otherwise a system limit (for SysV at least) may be exceeded.
75611
 
 .NOEXPORT: