~linaro-maintainers/compiz-plugins-main/overlay-gl

« back to all changes in this revision

Viewing changes to debian/patches/99_autoreconf.patch

  • Committer: Michael Vogt
  • Date: 2007-06-12 08:52:21 UTC
  • Revision ID: michael.vogt@ubuntu.com-20070612085221-3ygmei8zlxsaef5g
* initial import

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
diff -Nur plugins-main/aclocal.m4 plugins-main.new/aclocal.m4
 
2
--- plugins-main/aclocal.m4     1970-01-01 01:00:00.000000000 +0100
 
3
+++ plugins-main.new/aclocal.m4 2007-06-08 18:39:01.000000000 +0200
 
4
@@ -0,0 +1,7446 @@
 
5
+# generated automatically by aclocal 1.9.6 -*- Autoconf -*-
 
6
+
 
7
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
 
8
+# 2005  Free Software Foundation, Inc.
 
9
+# This file is free software; the Free Software Foundation
 
10
+# gives unlimited permission to copy and/or distribute it,
 
11
+# with or without modifications, as long as this notice is preserved.
 
12
+
 
13
+# This program is distributed in the hope that it will be useful,
 
14
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
 
15
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
 
16
+# PARTICULAR PURPOSE.
 
17
+
 
18
+dnl AM_GCONF_SOURCE_2
 
19
+dnl Defines GCONF_SCHEMA_CONFIG_SOURCE which is where you should install schemas
 
20
+dnl  (i.e. pass to gconftool-2
 
21
+dnl Defines GCONF_SCHEMA_FILE_DIR which is a filesystem directory where
 
22
+dnl  you should install foo.schemas files
 
23
+dnl
 
24
+
 
25
+AC_DEFUN([AM_GCONF_SOURCE_2],
 
26
+[
 
27
+  if test "x$GCONF_SCHEMA_INSTALL_SOURCE" = "x"; then
 
28
+    GCONF_SCHEMA_CONFIG_SOURCE=`gconftool-2 --get-default-source`
 
29
+  else
 
30
+    GCONF_SCHEMA_CONFIG_SOURCE=$GCONF_SCHEMA_INSTALL_SOURCE
 
31
+  fi
 
32
+
 
33
+  AC_ARG_WITH(gconf-source, 
 
34
+  [  --with-gconf-source=sourceaddress      Config database for installing schema files.],GCONF_SCHEMA_CONFIG_SOURCE="$withval",)
 
35
+
 
36
+  AC_SUBST(GCONF_SCHEMA_CONFIG_SOURCE)
 
37
+  AC_MSG_RESULT([Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation])
 
38
+
 
39
+  if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then
 
40
+    GCONF_SCHEMA_FILE_DIR='$(sysconfdir)/gconf/schemas'
 
41
+  fi
 
42
+
 
43
+  AC_ARG_WITH(gconf-schema-file-dir, 
 
44
+  [  --with-gconf-schema-file-dir=dir        Directory for installing schema files.],GCONF_SCHEMA_FILE_DIR="$withval",)
 
45
+
 
46
+  AC_SUBST(GCONF_SCHEMA_FILE_DIR)
 
47
+  AC_MSG_RESULT([Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files])
 
48
+
 
49
+  AC_ARG_ENABLE(schemas-install,
 
50
+     [  --disable-schemas-install      Disable the schemas installation],
 
51
+     [case ${enableval} in
 
52
+       yes|no) ;;
 
53
+       *) AC_MSG_ERROR(bad value ${enableval} for --enable-schemas-install) ;;
 
54
+      esac])
 
55
+  AM_CONDITIONAL([GCONF_SCHEMAS_INSTALL], [test "$enable_schemas_install" != no])
 
56
+])
 
57
+
 
58
+# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
 
59
+
 
60
+# serial 48 Debian 1.5.22-4 AC_PROG_LIBTOOL
 
61
+
 
62
+
 
63
+# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
 
64
+# -----------------------------------------------------------
 
65
+# If this macro is not defined by Autoconf, define it here.
 
66
+m4_ifdef([AC_PROVIDE_IFELSE],
 
67
+         [],
 
68
+         [m4_define([AC_PROVIDE_IFELSE],
 
69
+                [m4_ifdef([AC_PROVIDE_$1],
 
70
+                          [$2], [$3])])])
 
71
+
 
72
+
 
73
+# AC_PROG_LIBTOOL
 
74
+# ---------------
 
75
+AC_DEFUN([AC_PROG_LIBTOOL],
 
76
+[AC_REQUIRE([_AC_PROG_LIBTOOL])dnl
 
77
+dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX
 
78
+dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX.
 
79
+  AC_PROVIDE_IFELSE([AC_PROG_CXX],
 
80
+    [AC_LIBTOOL_CXX],
 
81
+    [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX
 
82
+  ])])
 
83
+dnl And a similar setup for Fortran 77 support
 
84
+  AC_PROVIDE_IFELSE([AC_PROG_F77],
 
85
+    [AC_LIBTOOL_F77],
 
86
+    [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77
 
87
+])])
 
88
+
 
89
+dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly.
 
90
+dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run
 
91
+dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both.
 
92
+  AC_PROVIDE_IFELSE([AC_PROG_GCJ],
 
93
+    [AC_LIBTOOL_GCJ],
 
94
+    [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
 
95
+      [AC_LIBTOOL_GCJ],
 
96
+      [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],
 
97
+       [AC_LIBTOOL_GCJ],
 
98
+      [ifdef([AC_PROG_GCJ],
 
99
+            [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])
 
100
+       ifdef([A][M_PROG_GCJ],
 
101
+            [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])])
 
102
+       ifdef([LT_AC_PROG_GCJ],
 
103
+            [define([LT_AC_PROG_GCJ],
 
104
+               defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])])
 
105
+])])# AC_PROG_LIBTOOL
 
106
+
 
107
+
 
108
+# _AC_PROG_LIBTOOL
 
109
+# ----------------
 
110
+AC_DEFUN([_AC_PROG_LIBTOOL],
 
111
+[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
 
112
+AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl
 
113
+AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl
 
114
+AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl
 
115
+
 
116
+# This can be used to rebuild libtool when needed
 
117
+LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
 
118
+
 
119
+# Always use our own libtool.
 
120
+LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 
121
+AC_SUBST(LIBTOOL)dnl
 
122
+
 
123
+# Prevent multiple expansion
 
124
+define([AC_PROG_LIBTOOL], [])
 
125
+])# _AC_PROG_LIBTOOL
 
126
+
 
127
+
 
128
+# AC_LIBTOOL_SETUP
 
129
+# ----------------
 
130
+AC_DEFUN([AC_LIBTOOL_SETUP],
 
131
+[AC_PREREQ(2.50)dnl
 
132
+AC_REQUIRE([AC_ENABLE_SHARED])dnl
 
133
+AC_REQUIRE([AC_ENABLE_STATIC])dnl
 
134
+AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl
 
135
+AC_REQUIRE([AC_CANONICAL_HOST])dnl
 
136
+AC_REQUIRE([AC_CANONICAL_BUILD])dnl
 
137
+AC_REQUIRE([AC_PROG_CC])dnl
 
138
+AC_REQUIRE([AC_PROG_LD])dnl
 
139
+AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl
 
140
+AC_REQUIRE([AC_PROG_NM])dnl
 
141
+
 
142
+AC_REQUIRE([AC_PROG_LN_S])dnl
 
143
+AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl
 
144
+# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
 
145
+AC_REQUIRE([AC_OBJEXT])dnl
 
146
+AC_REQUIRE([AC_EXEEXT])dnl
 
147
+dnl
 
148
+
 
149
+AC_LIBTOOL_SYS_MAX_CMD_LEN
 
150
+AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
 
151
+AC_LIBTOOL_OBJDIR
 
152
+
 
153
+AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
 
154
+_LT_AC_PROG_ECHO_BACKSLASH
 
155
+
 
156
+case $host_os in
 
157
+aix3*)
 
158
+  # AIX sometimes has problems with the GCC collect2 program.  For some
 
159
+  # reason, if we set the COLLECT_NAMES environment variable, the problems
 
160
+  # vanish in a puff of smoke.
 
161
+  if test "X${COLLECT_NAMES+set}" != Xset; then
 
162
+    COLLECT_NAMES=
 
163
+    export COLLECT_NAMES
 
164
+  fi
 
165
+  ;;
 
166
+esac
 
167
+
 
168
+# Sed substitution that helps us do robust quoting.  It backslashifies
 
169
+# metacharacters that are still active within double-quoted strings.
 
170
+Xsed='sed -e 1s/^X//'
 
171
+[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g']
 
172
+
 
173
+# Same as above, but do not quote variable references.
 
174
+[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g']
 
175
+
 
176
+# Sed substitution to delay expansion of an escaped shell variable in a
 
177
+# double_quote_subst'ed string.
 
178
+delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
179
+
 
180
+# Sed substitution to avoid accidental globbing in evaled expressions
 
181
+no_glob_subst='s/\*/\\\*/g'
 
182
+
 
183
+# Constants:
 
184
+rm="rm -f"
 
185
+
 
186
+# Global variables:
 
187
+default_ofile=libtool
 
188
+can_build_shared=yes
 
189
+
 
190
+# All known linkers require a `.a' archive for static linking (except MSVC,
 
191
+# which needs '.lib').
 
192
+libext=a
 
193
+ltmain="$ac_aux_dir/ltmain.sh"
 
194
+ofile="$default_ofile"
 
195
+with_gnu_ld="$lt_cv_prog_gnu_ld"
 
196
+
 
197
+AC_CHECK_TOOL(AR, ar, false)
 
198
+AC_CHECK_TOOL(RANLIB, ranlib, :)
 
199
+AC_CHECK_TOOL(STRIP, strip, :)
 
200
+
 
201
+old_CC="$CC"
 
202
+old_CFLAGS="$CFLAGS"
 
203
+
 
204
+# Set sane defaults for various variables
 
205
+test -z "$AR" && AR=ar
 
206
+test -z "$AR_FLAGS" && AR_FLAGS=cru
 
207
+test -z "$AS" && AS=as
 
208
+test -z "$CC" && CC=cc
 
209
+test -z "$LTCC" && LTCC=$CC
 
210
+test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
 
211
+test -z "$DLLTOOL" && DLLTOOL=dlltool
 
212
+test -z "$LD" && LD=ld
 
213
+test -z "$LN_S" && LN_S="ln -s"
 
214
+test -z "$MAGIC_CMD" && MAGIC_CMD=file
 
215
+test -z "$NM" && NM=nm
 
216
+test -z "$SED" && SED=sed
 
217
+test -z "$OBJDUMP" && OBJDUMP=objdump
 
218
+test -z "$RANLIB" && RANLIB=:
 
219
+test -z "$STRIP" && STRIP=:
 
220
+test -z "$ac_objext" && ac_objext=o
 
221
+
 
222
+# Determine commands to create old-style static archives.
 
223
+old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
 
224
+old_postinstall_cmds='chmod 644 $oldlib'
 
225
+old_postuninstall_cmds=
 
226
+
 
227
+if test -n "$RANLIB"; then
 
228
+  case $host_os in
 
229
+  openbsd*)
 
230
+    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 
231
+    ;;
 
232
+  *)
 
233
+    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 
234
+    ;;
 
235
+  esac
 
236
+  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 
237
+fi
 
238
+
 
239
+_LT_CC_BASENAME([$compiler])
 
240
+
 
241
+# Only perform the check for file, if the check method requires it
 
242
+case $deplibs_check_method in
 
243
+file_magic*)
 
244
+  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 
245
+    AC_PATH_MAGIC
 
246
+  fi
 
247
+  ;;
 
248
+esac
 
249
+
 
250
+AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
 
251
+AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
 
252
+enable_win32_dll=yes, enable_win32_dll=no)
 
253
+
 
254
+AC_ARG_ENABLE([libtool-lock],
 
255
+    [AC_HELP_STRING([--disable-libtool-lock],
 
256
+       [avoid locking (might break parallel builds)])])
 
257
+test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
258
+
 
259
+AC_ARG_WITH([pic],
 
260
+    [AC_HELP_STRING([--with-pic],
 
261
+       [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
 
262
+    [pic_mode="$withval"],
 
263
+    [pic_mode=default])
 
264
+test -z "$pic_mode" && pic_mode=default
 
265
+
 
266
+# Use C for the default configuration in the libtool script
 
267
+tagname=
 
268
+AC_LIBTOOL_LANG_C_CONFIG
 
269
+_LT_AC_TAGCONFIG
 
270
+])# AC_LIBTOOL_SETUP
 
271
+
 
272
+
 
273
+# _LT_AC_SYS_COMPILER
 
274
+# -------------------
 
275
+AC_DEFUN([_LT_AC_SYS_COMPILER],
 
276
+[AC_REQUIRE([AC_PROG_CC])dnl
 
277
+
 
278
+# If no C compiler was specified, use CC.
 
279
+LTCC=${LTCC-"$CC"}
 
280
+
 
281
+# If no C compiler flags were specified, use CFLAGS.
 
282
+LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
283
+
 
284
+# Allow CC to be a program name with arguments.
 
285
+compiler=$CC
 
286
+])# _LT_AC_SYS_COMPILER
 
287
+
 
288
+
 
289
+# _LT_CC_BASENAME(CC)
 
290
+# -------------------
 
291
+# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
 
292
+AC_DEFUN([_LT_CC_BASENAME],
 
293
+[for cc_temp in $1""; do
 
294
+  case $cc_temp in
 
295
+    compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
 
296
+    distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
 
297
+    \-*) ;;
 
298
+    *) break;;
 
299
+  esac
 
300
+done
 
301
+cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
302
+])
 
303
+
 
304
+
 
305
+# _LT_COMPILER_BOILERPLATE
 
306
+# ------------------------
 
307
+# Check for compiler boilerplate output or warnings with
 
308
+# the simple compiler test code.
 
309
+AC_DEFUN([_LT_COMPILER_BOILERPLATE],
 
310
+[ac_outfile=conftest.$ac_objext
 
311
+printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
312
+eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
313
+_lt_compiler_boilerplate=`cat conftest.err`
 
314
+$rm conftest*
 
315
+])# _LT_COMPILER_BOILERPLATE
 
316
+
 
317
+
 
318
+# _LT_LINKER_BOILERPLATE
 
319
+# ----------------------
 
320
+# Check for linker boilerplate output or warnings with
 
321
+# the simple link test code.
 
322
+AC_DEFUN([_LT_LINKER_BOILERPLATE],
 
323
+[ac_outfile=conftest.$ac_objext
 
324
+printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
325
+eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
326
+_lt_linker_boilerplate=`cat conftest.err`
 
327
+$rm conftest*
 
328
+])# _LT_LINKER_BOILERPLATE
 
329
+
 
330
+
 
331
+# _LT_AC_SYS_LIBPATH_AIX
 
332
+# ----------------------
 
333
+# Links a minimal program and checks the executable
 
334
+# for the system default hardcoded library path. In most cases,
 
335
+# this is /usr/lib:/lib, but when the MPI compilers are used
 
336
+# the location of the communication and MPI libs are included too.
 
337
+# If we don't find anything, use the default library path according
 
338
+# to the aix ld manual.
 
339
+AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX],
 
340
+[AC_LINK_IFELSE(AC_LANG_PROGRAM,[
 
341
+aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 
342
+}'`
 
343
+# Check for a 64-bit object if we didn't find anything.
 
344
+if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 
345
+}'`; fi],[])
 
346
+if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
347
+])# _LT_AC_SYS_LIBPATH_AIX
 
348
+
 
349
+
 
350
+# _LT_AC_SHELL_INIT(ARG)
 
351
+# ----------------------
 
352
+AC_DEFUN([_LT_AC_SHELL_INIT],
 
353
+[ifdef([AC_DIVERSION_NOTICE],
 
354
+            [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
 
355
+        [AC_DIVERT_PUSH(NOTICE)])
 
356
+$1
 
357
+AC_DIVERT_POP
 
358
+])# _LT_AC_SHELL_INIT
 
359
+
 
360
+
 
361
+# _LT_AC_PROG_ECHO_BACKSLASH
 
362
+# --------------------------
 
363
+# Add some code to the start of the generated configure script which
 
364
+# will find an echo command which doesn't interpret backslashes.
 
365
+AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH],
 
366
+[_LT_AC_SHELL_INIT([
 
367
+# Check that we are running under the correct shell.
 
368
+SHELL=${CONFIG_SHELL-/bin/sh}
 
369
+
 
370
+case X$ECHO in
 
371
+X*--fallback-echo)
 
372
+  # Remove one level of quotation (which was required for Make).
 
373
+  ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
 
374
+  ;;
 
375
+esac
 
376
+
 
377
+echo=${ECHO-echo}
 
378
+if test "X[$]1" = X--no-reexec; then
 
379
+  # Discard the --no-reexec flag, and continue.
 
380
+  shift
 
381
+elif test "X[$]1" = X--fallback-echo; then
 
382
+  # Avoid inline document here, it may be left over
 
383
+  :
 
384
+elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
 
385
+  # Yippee, $echo works!
 
386
+  :
 
387
+else
 
388
+  # Restart under the correct shell.
 
389
+  exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
 
390
+fi
 
391
+
 
392
+if test "X[$]1" = X--fallback-echo; then
 
393
+  # used as fallback echo
 
394
+  shift
 
395
+  cat <<EOF
 
396
+[$]*
 
397
+EOF
 
398
+  exit 0
 
399
+fi
 
400
+
 
401
+# The HP-UX ksh and POSIX shell print the target directory to stdout
 
402
+# if CDPATH is set.
 
403
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
404
+
 
405
+if test -z "$ECHO"; then
 
406
+if test "X${echo_test_string+set}" != Xset; then
 
407
+# find a string as large as possible, as long as the shell can cope with it
 
408
+  for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
 
409
+    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
 
410
+    if (echo_test_string=`eval $cmd`) 2>/dev/null &&
 
411
+       echo_test_string=`eval $cmd` &&
 
412
+       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
 
413
+    then
 
414
+      break
 
415
+    fi
 
416
+  done
 
417
+fi
 
418
+
 
419
+if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
 
420
+   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
 
421
+   test "X$echo_testing_string" = "X$echo_test_string"; then
 
422
+  :
 
423
+else
 
424
+  # The Solaris, AIX, and Digital Unix default echo programs unquote
 
425
+  # backslashes.  This makes it impossible to quote backslashes using
 
426
+  #   echo "$something" | sed 's/\\/\\\\/g'
 
427
+  #
 
428
+  # So, first we look for a working echo in the user's PATH.
 
429
+
 
430
+  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
431
+  for dir in $PATH /usr/ucb; do
 
432
+    IFS="$lt_save_ifs"
 
433
+    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
 
434
+       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
 
435
+       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
 
436
+       test "X$echo_testing_string" = "X$echo_test_string"; then
 
437
+      echo="$dir/echo"
 
438
+      break
 
439
+    fi
 
440
+  done
 
441
+  IFS="$lt_save_ifs"
 
442
+
 
443
+  if test "X$echo" = Xecho; then
 
444
+    # We didn't find a better echo, so look for alternatives.
 
445
+    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
 
446
+       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
 
447
+       test "X$echo_testing_string" = "X$echo_test_string"; then
 
448
+      # This shell has a builtin print -r that does the trick.
 
449
+      echo='print -r'
 
450
+    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
 
451
+        test "X$CONFIG_SHELL" != X/bin/ksh; then
 
452
+      # If we have ksh, try running configure again with it.
 
453
+      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
 
454
+      export ORIGINAL_CONFIG_SHELL
 
455
+      CONFIG_SHELL=/bin/ksh
 
456
+      export CONFIG_SHELL
 
457
+      exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
 
458
+    else
 
459
+      # Try using printf.
 
460
+      echo='printf %s\n'
 
461
+      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
 
462
+        echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
 
463
+        test "X$echo_testing_string" = "X$echo_test_string"; then
 
464
+       # Cool, printf works
 
465
+       :
 
466
+      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
 
467
+          test "X$echo_testing_string" = 'X\t' &&
 
468
+          echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
469
+          test "X$echo_testing_string" = "X$echo_test_string"; then
 
470
+       CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
 
471
+       export CONFIG_SHELL
 
472
+       SHELL="$CONFIG_SHELL"
 
473
+       export SHELL
 
474
+       echo="$CONFIG_SHELL [$]0 --fallback-echo"
 
475
+      elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
 
476
+          test "X$echo_testing_string" = 'X\t' &&
 
477
+          echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
478
+          test "X$echo_testing_string" = "X$echo_test_string"; then
 
479
+       echo="$CONFIG_SHELL [$]0 --fallback-echo"
 
480
+      else
 
481
+       # maybe with a smaller string...
 
482
+       prev=:
 
483
+
 
484
+       for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
 
485
+         if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
 
486
+         then
 
487
+           break
 
488
+         fi
 
489
+         prev="$cmd"
 
490
+       done
 
491
+
 
492
+       if test "$prev" != 'sed 50q "[$]0"'; then
 
493
+         echo_test_string=`eval $prev`
 
494
+         export echo_test_string
 
495
+         exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
 
496
+       else
 
497
+         # Oops.  We lost completely, so just stick with echo.
 
498
+         echo=echo
 
499
+       fi
 
500
+      fi
 
501
+    fi
 
502
+  fi
 
503
+fi
 
504
+fi
 
505
+
 
506
+# Copy echo and quote the copy suitably for passing to libtool from
 
507
+# the Makefile, instead of quoting the original, which is used later.
 
508
+ECHO=$echo
 
509
+if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
 
510
+   ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
 
511
+fi
 
512
+
 
513
+AC_SUBST(ECHO)
 
514
+])])# _LT_AC_PROG_ECHO_BACKSLASH
 
515
+
 
516
+
 
517
+# _LT_AC_LOCK
 
518
+# -----------
 
519
+AC_DEFUN([_LT_AC_LOCK],
 
520
+[AC_ARG_ENABLE([libtool-lock],
 
521
+    [AC_HELP_STRING([--disable-libtool-lock],
 
522
+       [avoid locking (might break parallel builds)])])
 
523
+test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
524
+
 
525
+# Some flags need to be propagated to the compiler or linker for good
 
526
+# libtool support.
 
527
+case $host in
 
528
+ia64-*-hpux*)
 
529
+  # Find out which ABI we are using.
 
530
+  echo 'int i;' > conftest.$ac_ext
 
531
+  if AC_TRY_EVAL(ac_compile); then
 
532
+    case `/usr/bin/file conftest.$ac_objext` in
 
533
+    *ELF-32*)
 
534
+      HPUX_IA64_MODE="32"
 
535
+      ;;
 
536
+    *ELF-64*)
 
537
+      HPUX_IA64_MODE="64"
 
538
+      ;;
 
539
+    esac
 
540
+  fi
 
541
+  rm -rf conftest*
 
542
+  ;;
 
543
+*-*-irix6*)
 
544
+  # Find out which ABI we are using.
 
545
+  echo '[#]line __oline__ "configure"' > conftest.$ac_ext
 
546
+  if AC_TRY_EVAL(ac_compile); then
 
547
+   if test "$lt_cv_prog_gnu_ld" = yes; then
 
548
+    case `/usr/bin/file conftest.$ac_objext` in
 
549
+    *32-bit*)
 
550
+      LD="${LD-ld} -melf32bsmip"
 
551
+      ;;
 
552
+    *N32*)
 
553
+      LD="${LD-ld} -melf32bmipn32"
 
554
+      ;;
 
555
+    *64-bit*)
 
556
+      LD="${LD-ld} -melf64bmip"
 
557
+      ;;
 
558
+    esac
 
559
+   else
 
560
+    case `/usr/bin/file conftest.$ac_objext` in
 
561
+    *32-bit*)
 
562
+      LD="${LD-ld} -32"
 
563
+      ;;
 
564
+    *N32*)
 
565
+      LD="${LD-ld} -n32"
 
566
+      ;;
 
567
+    *64-bit*)
 
568
+      LD="${LD-ld} -64"
 
569
+      ;;
 
570
+    esac
 
571
+   fi
 
572
+  fi
 
573
+  rm -rf conftest*
 
574
+  ;;
 
575
+
 
576
+x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
 
577
+  # Find out which ABI we are using.
 
578
+  echo 'int i;' > conftest.$ac_ext
 
579
+  if AC_TRY_EVAL(ac_compile); then
 
580
+    case `/usr/bin/file conftest.o` in
 
581
+    *32-bit*)
 
582
+      case $host in
 
583
+        x86_64-*linux*)
 
584
+          LD="${LD-ld} -m elf_i386"
 
585
+          ;;
 
586
+        ppc64-*linux*|powerpc64-*linux*)
 
587
+          LD="${LD-ld} -m elf32ppclinux"
 
588
+          ;;
 
589
+        s390x-*linux*)
 
590
+          LD="${LD-ld} -m elf_s390"
 
591
+          ;;
 
592
+        sparc64-*linux*)
 
593
+          LD="${LD-ld} -m elf32_sparc"
 
594
+          ;;
 
595
+      esac
 
596
+      ;;
 
597
+    *64-bit*)
 
598
+      case $host in
 
599
+        x86_64-*linux*)
 
600
+          LD="${LD-ld} -m elf_x86_64"
 
601
+          ;;
 
602
+        ppc*-*linux*|powerpc*-*linux*)
 
603
+          LD="${LD-ld} -m elf64ppc"
 
604
+          ;;
 
605
+        s390*-*linux*)
 
606
+          LD="${LD-ld} -m elf64_s390"
 
607
+          ;;
 
608
+        sparc*-*linux*)
 
609
+          LD="${LD-ld} -m elf64_sparc"
 
610
+          ;;
 
611
+      esac
 
612
+      ;;
 
613
+    esac
 
614
+  fi
 
615
+  rm -rf conftest*
 
616
+  ;;
 
617
+
 
618
+*-*-sco3.2v5*)
 
619
+  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 
620
+  SAVE_CFLAGS="$CFLAGS"
 
621
+  CFLAGS="$CFLAGS -belf"
 
622
+  AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
 
623
+    [AC_LANG_PUSH(C)
 
624
+     AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
 
625
+     AC_LANG_POP])
 
626
+  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 
627
+    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 
628
+    CFLAGS="$SAVE_CFLAGS"
 
629
+  fi
 
630
+  ;;
 
631
+sparc*-*solaris*)
 
632
+  # Find out which ABI we are using.
 
633
+  echo 'int i;' > conftest.$ac_ext
 
634
+  if AC_TRY_EVAL(ac_compile); then
 
635
+    case `/usr/bin/file conftest.o` in
 
636
+    *64-bit*)
 
637
+      case $lt_cv_prog_gnu_ld in
 
638
+      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
639
+      *)    LD="${LD-ld} -64" ;;
 
640
+      esac
 
641
+      ;;
 
642
+    esac
 
643
+  fi
 
644
+  rm -rf conftest*
 
645
+  ;;
 
646
+
 
647
+AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
 
648
+[*-*-cygwin* | *-*-mingw* | *-*-pw32*)
 
649
+  AC_CHECK_TOOL(DLLTOOL, dlltool, false)
 
650
+  AC_CHECK_TOOL(AS, as, false)
 
651
+  AC_CHECK_TOOL(OBJDUMP, objdump, false)
 
652
+  ;;
 
653
+  ])
 
654
+esac
 
655
+
 
656
+need_locks="$enable_libtool_lock"
 
657
+
 
658
+])# _LT_AC_LOCK
 
659
+
 
660
+
 
661
+# AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
 
662
+#              [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
 
663
+# ----------------------------------------------------------------
 
664
+# Check whether the given compiler option works
 
665
+AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION],
 
666
+[AC_REQUIRE([LT_AC_PROG_SED])
 
667
+AC_CACHE_CHECK([$1], [$2],
 
668
+  [$2=no
 
669
+  ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
 
670
+   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
671
+   lt_compiler_flag="$3"
 
672
+   # Insert the option either (1) after the last *FLAGS variable, or
 
673
+   # (2) before a word containing "conftest.", or (3) at the end.
 
674
+   # Note that $ac_compile itself does not contain backslashes and begins
 
675
+   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
676
+   # The option is referenced via a variable to avoid confusing sed.
 
677
+   lt_compile=`echo "$ac_compile" | $SED \
 
678
+   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
679
+   -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
 
680
+   -e 's:$: $lt_compiler_flag:'`
 
681
+   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
 
682
+   (eval "$lt_compile" 2>conftest.err)
 
683
+   ac_status=$?
 
684
+   cat conftest.err >&AS_MESSAGE_LOG_FD
 
685
+   echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
 
686
+   if (exit $ac_status) && test -s "$ac_outfile"; then
 
687
+     # The compiler can only warn and ignore the option if not recognized
 
688
+     # So say no if there are warnings other than the usual output.
 
689
+     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
690
+     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
691
+     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
692
+       $2=yes
 
693
+     fi
 
694
+   fi
 
695
+   $rm conftest*
 
696
+])
 
697
+
 
698
+if test x"[$]$2" = xyes; then
 
699
+    ifelse([$5], , :, [$5])
 
700
+else
 
701
+    ifelse([$6], , :, [$6])
 
702
+fi
 
703
+])# AC_LIBTOOL_COMPILER_OPTION
 
704
+
 
705
+
 
706
+# AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
 
707
+#                          [ACTION-SUCCESS], [ACTION-FAILURE])
 
708
+# ------------------------------------------------------------
 
709
+# Check whether the given compiler option works
 
710
+AC_DEFUN([AC_LIBTOOL_LINKER_OPTION],
 
711
+[AC_CACHE_CHECK([$1], [$2],
 
712
+  [$2=no
 
713
+   save_LDFLAGS="$LDFLAGS"
 
714
+   LDFLAGS="$LDFLAGS $3"
 
715
+   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
716
+   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
717
+     # The linker can only warn and ignore the option if not recognized
 
718
+     # So say no if there are warnings
 
719
+     if test -s conftest.err; then
 
720
+       # Append any errors to the config.log.
 
721
+       cat conftest.err 1>&AS_MESSAGE_LOG_FD
 
722
+       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
723
+       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
724
+       if diff conftest.exp conftest.er2 >/dev/null; then
 
725
+         $2=yes
 
726
+       fi
 
727
+     else
 
728
+       $2=yes
 
729
+     fi
 
730
+   fi
 
731
+   $rm conftest*
 
732
+   LDFLAGS="$save_LDFLAGS"
 
733
+])
 
734
+
 
735
+if test x"[$]$2" = xyes; then
 
736
+    ifelse([$4], , :, [$4])
 
737
+else
 
738
+    ifelse([$5], , :, [$5])
 
739
+fi
 
740
+])# AC_LIBTOOL_LINKER_OPTION
 
741
+
 
742
+
 
743
+# AC_LIBTOOL_SYS_MAX_CMD_LEN
 
744
+# --------------------------
 
745
+AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN],
 
746
+[# find the maximum length of command line arguments
 
747
+AC_MSG_CHECKING([the maximum length of command line arguments])
 
748
+AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
 
749
+  i=0
 
750
+  teststring="ABCD"
 
751
+
 
752
+  case $build_os in
 
753
+  msdosdjgpp*)
 
754
+    # On DJGPP, this test can blow up pretty badly due to problems in libc
 
755
+    # (any single argument exceeding 2000 bytes causes a buffer overrun
 
756
+    # during glob expansion).  Even if it were fixed, the result of this
 
757
+    # check would be larger than it should be.
 
758
+    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 
759
+    ;;
 
760
+
 
761
+  gnu*)
 
762
+    # Under GNU Hurd, this test is not required because there is
 
763
+    # no limit to the length of command line arguments.
 
764
+    # Libtool will interpret -1 as no limit whatsoever
 
765
+    lt_cv_sys_max_cmd_len=-1;
 
766
+    ;;
 
767
+
 
768
+  cygwin* | mingw*)
 
769
+    # On Win9x/ME, this test blows up -- it succeeds, but takes
 
770
+    # about 5 minutes as the teststring grows exponentially.
 
771
+    # Worse, since 9x/ME are not pre-emptively multitasking,
 
772
+    # you end up with a "frozen" computer, even though with patience
 
773
+    # the test eventually succeeds (with a max line length of 256k).
 
774
+    # Instead, let's just punt: use the minimum linelength reported by
 
775
+    # all of the supported platforms: 8192 (on NT/2K/XP).
 
776
+    lt_cv_sys_max_cmd_len=8192;
 
777
+    ;;
 
778
+
 
779
+  amigaos*)
 
780
+    # On AmigaOS with pdksh, this test takes hours, literally.
 
781
+    # So we just punt and use a minimum line length of 8192.
 
782
+    lt_cv_sys_max_cmd_len=8192;
 
783
+    ;;
 
784
+
 
785
+  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 
786
+    # This has been around since 386BSD, at least.  Likely further.
 
787
+    if test -x /sbin/sysctl; then
 
788
+      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 
789
+    elif test -x /usr/sbin/sysctl; then
 
790
+      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 
791
+    else
 
792
+      lt_cv_sys_max_cmd_len=65536      # usable default for all BSDs
 
793
+    fi
 
794
+    # And add a safety zone
 
795
+    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
796
+    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
797
+    ;;
 
798
+
 
799
+  interix*)
 
800
+    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 
801
+    lt_cv_sys_max_cmd_len=196608
 
802
+    ;;
 
803
+
 
804
+  osf*)
 
805
+    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 
806
+    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 
807
+    # nice to cause kernel panics so lets avoid the loop below.
 
808
+    # First set a reasonable default.
 
809
+    lt_cv_sys_max_cmd_len=16384
 
810
+    #
 
811
+    if test -x /sbin/sysconfig; then
 
812
+      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 
813
+        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 
814
+      esac
 
815
+    fi
 
816
+    ;;
 
817
+  sco3.2v5*)
 
818
+    lt_cv_sys_max_cmd_len=102400
 
819
+    ;;
 
820
+  sysv5* | sco5v6* | sysv4.2uw2*)
 
821
+    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 
822
+    if test -n "$kargmax"; then
 
823
+      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[       ]]//'`
 
824
+    else
 
825
+      lt_cv_sys_max_cmd_len=32768
 
826
+    fi
 
827
+    ;;
 
828
+  *)
 
829
+    # If test is not a shell built-in, we'll probably end up computing a
 
830
+    # maximum length that is only half of the actual maximum length, but
 
831
+    # we can't tell.
 
832
+    SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
833
+    while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \
 
834
+              = "XX$teststring") >/dev/null 2>&1 &&
 
835
+           new_result=`expr "X$teststring" : ".*" 2>&1` &&
 
836
+           lt_cv_sys_max_cmd_len=$new_result &&
 
837
+           test $i != 17 # 1/2 MB should be enough
 
838
+    do
 
839
+      i=`expr $i + 1`
 
840
+      teststring=$teststring$teststring
 
841
+    done
 
842
+    teststring=
 
843
+    # Add a significant safety factor because C++ compilers can tack on massive
 
844
+    # amounts of additional arguments before passing them to the linker.
 
845
+    # It appears as though 1/2 is a usable value.
 
846
+    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
847
+    ;;
 
848
+  esac
 
849
+])
 
850
+if test -n $lt_cv_sys_max_cmd_len ; then
 
851
+  AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
 
852
+else
 
853
+  AC_MSG_RESULT(none)
 
854
+fi
 
855
+])# AC_LIBTOOL_SYS_MAX_CMD_LEN
 
856
+
 
857
+
 
858
+# _LT_AC_CHECK_DLFCN
 
859
+# ------------------
 
860
+AC_DEFUN([_LT_AC_CHECK_DLFCN],
 
861
+[AC_CHECK_HEADERS(dlfcn.h)dnl
 
862
+])# _LT_AC_CHECK_DLFCN
 
863
+
 
864
+
 
865
+# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
 
866
+#                           ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
 
867
+# ---------------------------------------------------------------------
 
868
+AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF],
 
869
+[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
 
870
+if test "$cross_compiling" = yes; then :
 
871
+  [$4]
 
872
+else
 
873
+  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 
874
+  lt_status=$lt_dlunknown
 
875
+  cat > conftest.$ac_ext <<EOF
 
876
+[#line __oline__ "configure"
 
877
+#include "confdefs.h"
 
878
+
 
879
+#if HAVE_DLFCN_H
 
880
+#include <dlfcn.h>
 
881
+#endif
 
882
+
 
883
+#include <stdio.h>
 
884
+
 
885
+#ifdef RTLD_GLOBAL
 
886
+#  define LT_DLGLOBAL          RTLD_GLOBAL
 
887
+#else
 
888
+#  ifdef DL_GLOBAL
 
889
+#    define LT_DLGLOBAL                DL_GLOBAL
 
890
+#  else
 
891
+#    define LT_DLGLOBAL                0
 
892
+#  endif
 
893
+#endif
 
894
+
 
895
+/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 
896
+   find out it does not work in some platform. */
 
897
+#ifndef LT_DLLAZY_OR_NOW
 
898
+#  ifdef RTLD_LAZY
 
899
+#    define LT_DLLAZY_OR_NOW           RTLD_LAZY
 
900
+#  else
 
901
+#    ifdef DL_LAZY
 
902
+#      define LT_DLLAZY_OR_NOW         DL_LAZY
 
903
+#    else
 
904
+#      ifdef RTLD_NOW
 
905
+#        define LT_DLLAZY_OR_NOW       RTLD_NOW
 
906
+#      else
 
907
+#        ifdef DL_NOW
 
908
+#          define LT_DLLAZY_OR_NOW     DL_NOW
 
909
+#        else
 
910
+#          define LT_DLLAZY_OR_NOW     0
 
911
+#        endif
 
912
+#      endif
 
913
+#    endif
 
914
+#  endif
 
915
+#endif
 
916
+
 
917
+#ifdef __cplusplus
 
918
+extern "C" void exit (int);
 
919
+#endif
 
920
+
 
921
+void fnord() { int i=42;}
 
922
+int main ()
 
923
+{
 
924
+  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 
925
+  int status = $lt_dlunknown;
 
926
+
 
927
+  if (self)
 
928
+    {
 
929
+      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 
930
+      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
931
+      /* dlclose (self); */
 
932
+    }
 
933
+  else
 
934
+    puts (dlerror ());
 
935
+
 
936
+    exit (status);
 
937
+}]
 
938
+EOF
 
939
+  if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
 
940
+    (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
 
941
+    lt_status=$?
 
942
+    case x$lt_status in
 
943
+      x$lt_dlno_uscore) $1 ;;
 
944
+      x$lt_dlneed_uscore) $2 ;;
 
945
+      x$lt_dlunknown|x*) $3 ;;
 
946
+    esac
 
947
+  else :
 
948
+    # compilation failed
 
949
+    $3
 
950
+  fi
 
951
+fi
 
952
+rm -fr conftest*
 
953
+])# _LT_AC_TRY_DLOPEN_SELF
 
954
+
 
955
+
 
956
+# AC_LIBTOOL_DLOPEN_SELF
 
957
+# ----------------------
 
958
+AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF],
 
959
+[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
 
960
+if test "x$enable_dlopen" != xyes; then
 
961
+  enable_dlopen=unknown
 
962
+  enable_dlopen_self=unknown
 
963
+  enable_dlopen_self_static=unknown
 
964
+else
 
965
+  lt_cv_dlopen=no
 
966
+  lt_cv_dlopen_libs=
 
967
+
 
968
+  case $host_os in
 
969
+  beos*)
 
970
+    lt_cv_dlopen="load_add_on"
 
971
+    lt_cv_dlopen_libs=
 
972
+    lt_cv_dlopen_self=yes
 
973
+    ;;
 
974
+
 
975
+  mingw* | pw32*)
 
976
+    lt_cv_dlopen="LoadLibrary"
 
977
+    lt_cv_dlopen_libs=
 
978
+   ;;
 
979
+
 
980
+  cygwin*)
 
981
+    lt_cv_dlopen="dlopen"
 
982
+    lt_cv_dlopen_libs=
 
983
+   ;;
 
984
+
 
985
+  darwin*)
 
986
+  # if libdl is installed we need to link against it
 
987
+    AC_CHECK_LIB([dl], [dlopen],
 
988
+               [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
 
989
+    lt_cv_dlopen="dyld"
 
990
+    lt_cv_dlopen_libs=
 
991
+    lt_cv_dlopen_self=yes
 
992
+    ])
 
993
+   ;;
 
994
+
 
995
+  *)
 
996
+    AC_CHECK_FUNC([shl_load],
 
997
+         [lt_cv_dlopen="shl_load"],
 
998
+      [AC_CHECK_LIB([dld], [shl_load],
 
999
+           [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"],
 
1000
+       [AC_CHECK_FUNC([dlopen],
 
1001
+             [lt_cv_dlopen="dlopen"],
 
1002
+         [AC_CHECK_LIB([dl], [dlopen],
 
1003
+               [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
 
1004
+           [AC_CHECK_LIB([svld], [dlopen],
 
1005
+                 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
 
1006
+             [AC_CHECK_LIB([dld], [dld_link],
 
1007
+                   [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
 
1008
+             ])
 
1009
+           ])
 
1010
+         ])
 
1011
+       ])
 
1012
+      ])
 
1013
+    ;;
 
1014
+  esac
 
1015
+
 
1016
+  if test "x$lt_cv_dlopen" != xno; then
 
1017
+    enable_dlopen=yes
 
1018
+  else
 
1019
+    enable_dlopen=no
 
1020
+  fi
 
1021
+
 
1022
+  case $lt_cv_dlopen in
 
1023
+  dlopen)
 
1024
+    save_CPPFLAGS="$CPPFLAGS"
 
1025
+    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
 
1026
+
 
1027
+    save_LDFLAGS="$LDFLAGS"
 
1028
+    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
 
1029
+
 
1030
+    save_LIBS="$LIBS"
 
1031
+    LIBS="$lt_cv_dlopen_libs $LIBS"
 
1032
+
 
1033
+    AC_CACHE_CHECK([whether a program can dlopen itself],
 
1034
+         lt_cv_dlopen_self, [dnl
 
1035
+         _LT_AC_TRY_DLOPEN_SELF(
 
1036
+           lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
 
1037
+           lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
 
1038
+    ])
 
1039
+
 
1040
+    if test "x$lt_cv_dlopen_self" = xyes; then
 
1041
+      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
 
1042
+      AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
 
1043
+         lt_cv_dlopen_self_static, [dnl
 
1044
+         _LT_AC_TRY_DLOPEN_SELF(
 
1045
+           lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
 
1046
+           lt_cv_dlopen_self_static=no,  lt_cv_dlopen_self_static=cross)
 
1047
+      ])
 
1048
+    fi
 
1049
+
 
1050
+    CPPFLAGS="$save_CPPFLAGS"
 
1051
+    LDFLAGS="$save_LDFLAGS"
 
1052
+    LIBS="$save_LIBS"
 
1053
+    ;;
 
1054
+  esac
 
1055
+
 
1056
+  case $lt_cv_dlopen_self in
 
1057
+  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
 
1058
+  *) enable_dlopen_self=unknown ;;
 
1059
+  esac
 
1060
+
 
1061
+  case $lt_cv_dlopen_self_static in
 
1062
+  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
 
1063
+  *) enable_dlopen_self_static=unknown ;;
 
1064
+  esac
 
1065
+fi
 
1066
+])# AC_LIBTOOL_DLOPEN_SELF
 
1067
+
 
1068
+
 
1069
+# AC_LIBTOOL_PROG_CC_C_O([TAGNAME])
 
1070
+# ---------------------------------
 
1071
+# Check to see if options -c and -o are simultaneously supported by compiler
 
1072
+AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O],
 
1073
+[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
 
1074
+AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
 
1075
+  [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
 
1076
+  [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
 
1077
+   $rm -r conftest 2>/dev/null
 
1078
+   mkdir conftest
 
1079
+   cd conftest
 
1080
+   mkdir out
 
1081
+   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
1082
+
 
1083
+   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
1084
+   # Insert the option either (1) after the last *FLAGS variable, or
 
1085
+   # (2) before a word containing "conftest.", or (3) at the end.
 
1086
+   # Note that $ac_compile itself does not contain backslashes and begins
 
1087
+   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
1088
+   lt_compile=`echo "$ac_compile" | $SED \
 
1089
+   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
1090
+   -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
 
1091
+   -e 's:$: $lt_compiler_flag:'`
 
1092
+   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
 
1093
+   (eval "$lt_compile" 2>out/conftest.err)
 
1094
+   ac_status=$?
 
1095
+   cat out/conftest.err >&AS_MESSAGE_LOG_FD
 
1096
+   echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
 
1097
+   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
1098
+   then
 
1099
+     # The compiler can only warn and ignore the option if not recognized
 
1100
+     # So say no if there are warnings
 
1101
+     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
1102
+     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
1103
+     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
1104
+       _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
 
1105
+     fi
 
1106
+   fi
 
1107
+   chmod u+w . 2>&AS_MESSAGE_LOG_FD
 
1108
+   $rm conftest*
 
1109
+   # SGI C++ compiler will create directory out/ii_files/ for
 
1110
+   # template instantiation
 
1111
+   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
 
1112
+   $rm out/* && rmdir out
 
1113
+   cd ..
 
1114
+   rmdir conftest
 
1115
+   $rm conftest*
 
1116
+])
 
1117
+])# AC_LIBTOOL_PROG_CC_C_O
 
1118
+
 
1119
+
 
1120
+# AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME])
 
1121
+# -----------------------------------------
 
1122
+# Check to see if we can do hard links to lock some files if needed
 
1123
+AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS],
 
1124
+[AC_REQUIRE([_LT_AC_LOCK])dnl
 
1125
+
 
1126
+hard_links="nottested"
 
1127
+if test "$_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
 
1128
+  # do not overwrite the value of need_locks provided by the user
 
1129
+  AC_MSG_CHECKING([if we can lock with hard links])
 
1130
+  hard_links=yes
 
1131
+  $rm conftest*
 
1132
+  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
1133
+  touch conftest.a
 
1134
+  ln conftest.a conftest.b 2>&5 || hard_links=no
 
1135
+  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
1136
+  AC_MSG_RESULT([$hard_links])
 
1137
+  if test "$hard_links" = no; then
 
1138
+    AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe])
 
1139
+    need_locks=warn
 
1140
+  fi
 
1141
+else
 
1142
+  need_locks=no
 
1143
+fi
 
1144
+])# AC_LIBTOOL_SYS_HARD_LINK_LOCKS
 
1145
+
 
1146
+
 
1147
+# AC_LIBTOOL_OBJDIR
 
1148
+# -----------------
 
1149
+AC_DEFUN([AC_LIBTOOL_OBJDIR],
 
1150
+[AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
 
1151
+[rm -f .libs 2>/dev/null
 
1152
+mkdir .libs 2>/dev/null
 
1153
+if test -d .libs; then
 
1154
+  lt_cv_objdir=.libs
 
1155
+else
 
1156
+  # MS-DOS does not allow filenames that begin with a dot.
 
1157
+  lt_cv_objdir=_libs
 
1158
+fi
 
1159
+rmdir .libs 2>/dev/null])
 
1160
+objdir=$lt_cv_objdir
 
1161
+])# AC_LIBTOOL_OBJDIR
 
1162
+
 
1163
+
 
1164
+# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME])
 
1165
+# ----------------------------------------------
 
1166
+# Check hardcoding attributes.
 
1167
+AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH],
 
1168
+[AC_MSG_CHECKING([how to hardcode library paths into programs])
 
1169
+_LT_AC_TAGVAR(hardcode_action, $1)=
 
1170
+if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \
 
1171
+   test -n "$_LT_AC_TAGVAR(runpath_var, $1)" || \
 
1172
+   test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then
 
1173
+
 
1174
+  # We can hardcode non-existant directories.
 
1175
+  if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no &&
 
1176
+     # If the only mechanism to avoid hardcoding is shlibpath_var, we
 
1177
+     # have to relink, otherwise we might link with an installed library
 
1178
+     # when we should be linking with a yet-to-be-installed one
 
1179
+     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
 
1180
+     test "$_LT_AC_TAGVAR(hardcode_minus_L, $1)" != no; then
 
1181
+    # Linking always hardcodes the temporary library directory.
 
1182
+    _LT_AC_TAGVAR(hardcode_action, $1)=relink
 
1183
+  else
 
1184
+    # We can link without hardcoding, and we can hardcode nonexisting dirs.
 
1185
+    _LT_AC_TAGVAR(hardcode_action, $1)=immediate
 
1186
+  fi
 
1187
+else
 
1188
+  # We cannot hardcode anything, or else we can only hardcode existing
 
1189
+  # directories.
 
1190
+  _LT_AC_TAGVAR(hardcode_action, $1)=unsupported
 
1191
+fi
 
1192
+AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)])
 
1193
+
 
1194
+if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then
 
1195
+  # Fast installation is not supported
 
1196
+  enable_fast_install=no
 
1197
+elif test "$shlibpath_overrides_runpath" = yes ||
 
1198
+     test "$enable_shared" = no; then
 
1199
+  # Fast installation is not necessary
 
1200
+  enable_fast_install=needless
 
1201
+fi
 
1202
+])# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH
 
1203
+
 
1204
+
 
1205
+# AC_LIBTOOL_SYS_LIB_STRIP
 
1206
+# ------------------------
 
1207
+AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP],
 
1208
+[striplib=
 
1209
+old_striplib=
 
1210
+AC_MSG_CHECKING([whether stripping libraries is possible])
 
1211
+if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
 
1212
+  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 
1213
+  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 
1214
+  AC_MSG_RESULT([yes])
 
1215
+else
 
1216
+# FIXME - insert some real tests, host_os isn't really good enough
 
1217
+  case $host_os in
 
1218
+   darwin*)
 
1219
+       if test -n "$STRIP" ; then
 
1220
+         striplib="$STRIP -x"
 
1221
+         AC_MSG_RESULT([yes])
 
1222
+       else
 
1223
+  AC_MSG_RESULT([no])
 
1224
+fi
 
1225
+       ;;
 
1226
+   *)
 
1227
+  AC_MSG_RESULT([no])
 
1228
+    ;;
 
1229
+  esac
 
1230
+fi
 
1231
+])# AC_LIBTOOL_SYS_LIB_STRIP
 
1232
+
 
1233
+
 
1234
+# AC_LIBTOOL_SYS_DYNAMIC_LINKER
 
1235
+# -----------------------------
 
1236
+# PORTME Fill in your ld.so characteristics
 
1237
+AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER],
 
1238
+[AC_MSG_CHECKING([dynamic linker characteristics])
 
1239
+library_names_spec=
 
1240
+libname_spec='lib$name'
 
1241
+soname_spec=
 
1242
+shrext_cmds=".so"
 
1243
+postinstall_cmds=
 
1244
+postuninstall_cmds=
 
1245
+finish_cmds=
 
1246
+finish_eval=
 
1247
+shlibpath_var=
 
1248
+shlibpath_overrides_runpath=unknown
 
1249
+version_type=none
 
1250
+dynamic_linker="$host_os ld.so"
 
1251
+sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
1252
+if test "$GCC" = yes; then
 
1253
+  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
1254
+  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
 
1255
+    # if the path contains ";" then we assume it to be the separator
 
1256
+    # otherwise default to the standard path separator (i.e. ":") - it is
 
1257
+    # assumed that no part of a normal pathname contains ";" but that should
 
1258
+    # okay in the real world where ";" in dirpaths is itself problematic.
 
1259
+    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
1260
+  else
 
1261
+    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
1262
+  fi
 
1263
+else
 
1264
+  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 
1265
+fi
 
1266
+need_lib_prefix=unknown
 
1267
+hardcode_into_libs=no
 
1268
+
 
1269
+# when you set need_version to no, make sure it does not cause -set_version
 
1270
+# flags to be left without arguments
 
1271
+need_version=unknown
 
1272
+
 
1273
+case $host_os in
 
1274
+aix3*)
 
1275
+  version_type=linux
 
1276
+  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
 
1277
+  shlibpath_var=LIBPATH
 
1278
+
 
1279
+  # AIX 3 has no versioning support, so we append a major version to the name.
 
1280
+  soname_spec='${libname}${release}${shared_ext}$major'
 
1281
+  ;;
 
1282
+
 
1283
+aix4* | aix5*)
 
1284
+  version_type=linux
 
1285
+  need_lib_prefix=no
 
1286
+  need_version=no
 
1287
+  hardcode_into_libs=yes
 
1288
+  if test "$host_cpu" = ia64; then
 
1289
+    # AIX 5 supports IA64
 
1290
+    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
 
1291
+    shlibpath_var=LD_LIBRARY_PATH
 
1292
+  else
 
1293
+    # With GCC up to 2.95.x, collect2 would create an import file
 
1294
+    # for dependence libraries.  The import file would start with
 
1295
+    # the line `#! .'.  This would cause the generated library to
 
1296
+    # depend on `.', always an invalid library.  This was fixed in
 
1297
+    # development snapshots of GCC prior to 3.0.
 
1298
+    case $host_os in
 
1299
+      aix4 | aix4.[[01]] | aix4.[[01]].*)
 
1300
+      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 
1301
+          echo ' yes '
 
1302
+          echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
 
1303
+       :
 
1304
+      else
 
1305
+       can_build_shared=no
 
1306
+      fi
 
1307
+      ;;
 
1308
+    esac
 
1309
+    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
 
1310
+    # soname into executable. Probably we can add versioning support to
 
1311
+    # collect2, so additional links can be useful in future.
 
1312
+    if test "$aix_use_runtimelinking" = yes; then
 
1313
+      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 
1314
+      # instead of lib<name>.a to let people know that these are not
 
1315
+      # typical AIX shared libraries.
 
1316
+      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
1317
+    else
 
1318
+      # We preserve .a as extension for shared libraries through AIX4.2
 
1319
+      # and later when we are not doing run time linking.
 
1320
+      library_names_spec='${libname}${release}.a $libname.a'
 
1321
+      soname_spec='${libname}${release}${shared_ext}$major'
 
1322
+    fi
 
1323
+    shlibpath_var=LIBPATH
 
1324
+  fi
 
1325
+  ;;
 
1326
+
 
1327
+amigaos*)
 
1328
+  library_names_spec='$libname.ixlibrary $libname.a'
 
1329
+  # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
1330
+  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'
 
1331
+  ;;
 
1332
+
 
1333
+beos*)
 
1334
+  library_names_spec='${libname}${shared_ext}'
 
1335
+  dynamic_linker="$host_os ld.so"
 
1336
+  shlibpath_var=LIBRARY_PATH
 
1337
+  ;;
 
1338
+
 
1339
+bsdi[[45]]*)
 
1340
+  version_type=linux
 
1341
+  need_version=no
 
1342
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
1343
+  soname_spec='${libname}${release}${shared_ext}$major'
 
1344
+  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 
1345
+  shlibpath_var=LD_LIBRARY_PATH
 
1346
+  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 
1347
+  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 
1348
+  # the default ld.so.conf also contains /usr/contrib/lib and
 
1349
+  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 
1350
+  # libtool to hard-code these into programs
 
1351
+  ;;
 
1352
+
 
1353
+cygwin* | mingw* | pw32*)
 
1354
+  version_type=windows
 
1355
+  shrext_cmds=".dll"
 
1356
+  need_version=no
 
1357
+  need_lib_prefix=no
 
1358
+
 
1359
+  case $GCC,$host_os in
 
1360
+  yes,cygwin* | yes,mingw* | yes,pw32*)
 
1361
+    library_names_spec='$libname.dll.a'
 
1362
+    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
1363
+    postinstall_cmds='base_file=`basename \${file}`~
 
1364
+      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
 
1365
+      dldir=$destdir/`dirname \$dlpath`~
 
1366
+      test -d \$dldir || mkdir -p \$dldir~
 
1367
+      $install_prog $dir/$dlname \$dldir/$dlname~
 
1368
+      chmod a+x \$dldir/$dlname'
 
1369
+    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
1370
+      dlpath=$dir/\$dldll~
 
1371
+       $rm \$dlpath'
 
1372
+    shlibpath_overrides_runpath=yes
 
1373
+
 
1374
+    case $host_os in
 
1375
+    cygwin*)
 
1376
+      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 
1377
+      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
 
1378
+      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
1379
+      ;;
 
1380
+    mingw*)
 
1381
+      # MinGW DLLs use traditional 'lib' prefix
 
1382
+      soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
 
1383
+      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
1384
+      if echo "$sys_lib_search_path_spec" | [grep ';[c-zC-Z]:/' >/dev/null]; then
 
1385
+        # It is most probably a Windows format PATH printed by
 
1386
+        # mingw gcc, but we are running on Cygwin. Gcc prints its search
 
1387
+        # path with ; separators, and with drive letters. We can handle the
 
1388
+        # drive letters (cygwin fileutils understands them), so leave them,
 
1389
+        # especially as we might pass files found there to a mingw objdump,
 
1390
+        # which wouldn't understand a cygwinified path. Ahh.
 
1391
+        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
1392
+      else
 
1393
+        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
1394
+      fi
 
1395
+      ;;
 
1396
+    pw32*)
 
1397
+      # pw32 DLLs use 'pw' prefix rather than 'lib'
 
1398
+      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
 
1399
+      ;;
 
1400
+    esac
 
1401
+    ;;
 
1402
+
 
1403
+  *)
 
1404
+    library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
1405
+    ;;
 
1406
+  esac
 
1407
+  dynamic_linker='Win32 ld.exe'
 
1408
+  # FIXME: first we should search . and the directory the executable is in
 
1409
+  shlibpath_var=PATH
 
1410
+  ;;
 
1411
+
 
1412
+darwin* | rhapsody*)
 
1413
+  dynamic_linker="$host_os dyld"
 
1414
+  version_type=darwin
 
1415
+  need_lib_prefix=no
 
1416
+  need_version=no
 
1417
+  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
1418
+  soname_spec='${libname}${release}${major}$shared_ext'
 
1419
+  shlibpath_overrides_runpath=yes
 
1420
+  shlibpath_var=DYLD_LIBRARY_PATH
 
1421
+  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 
1422
+  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
 
1423
+  if test "$GCC" = yes; then
 
1424
+    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
 
1425
+  else
 
1426
+    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
 
1427
+  fi
 
1428
+  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 
1429
+  ;;
 
1430
+
 
1431
+dgux*)
 
1432
+  version_type=linux
 
1433
+  need_lib_prefix=no
 
1434
+  need_version=no
 
1435
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
 
1436
+  soname_spec='${libname}${release}${shared_ext}$major'
 
1437
+  shlibpath_var=LD_LIBRARY_PATH
 
1438
+  ;;
 
1439
+
 
1440
+freebsd1*)
 
1441
+  dynamic_linker=no
 
1442
+  ;;
 
1443
+
 
1444
+freebsd* | dragonfly*)
 
1445
+  # DragonFly does not have aout.  When/if they implement a new
 
1446
+  # versioning mechanism, adjust this.
 
1447
+  if test -x /usr/bin/objformat; then
 
1448
+    objformat=`/usr/bin/objformat`
 
1449
+  else
 
1450
+    case $host_os in
 
1451
+    freebsd[[123]]*) objformat=aout ;;
 
1452
+    *) objformat=elf ;;
 
1453
+    esac
 
1454
+  fi
 
1455
+  version_type=freebsd-$objformat
 
1456
+  case $version_type in
 
1457
+    freebsd-elf*)
 
1458
+      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
1459
+      need_version=no
 
1460
+      need_lib_prefix=no
 
1461
+      ;;
 
1462
+    freebsd-*)
 
1463
+      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
 
1464
+      need_version=yes
 
1465
+      ;;
 
1466
+  esac
 
1467
+  shlibpath_var=LD_LIBRARY_PATH
 
1468
+  case $host_os in
 
1469
+  freebsd2*)
 
1470
+    shlibpath_overrides_runpath=yes
 
1471
+    ;;
 
1472
+  freebsd3.[[01]]* | freebsdelf3.[[01]]*)
 
1473
+    shlibpath_overrides_runpath=yes
 
1474
+    hardcode_into_libs=yes
 
1475
+    ;;
 
1476
+  freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \
 
1477
+  freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1)
 
1478
+    shlibpath_overrides_runpath=no
 
1479
+    hardcode_into_libs=yes
 
1480
+    ;;
 
1481
+  freebsd*) # from 4.6 on
 
1482
+    shlibpath_overrides_runpath=yes
 
1483
+    hardcode_into_libs=yes
 
1484
+    ;;
 
1485
+  esac
 
1486
+  ;;
 
1487
+
 
1488
+gnu*)
 
1489
+  version_type=linux
 
1490
+  need_lib_prefix=no
 
1491
+  need_version=no
 
1492
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
1493
+  soname_spec='${libname}${release}${shared_ext}$major'
 
1494
+  shlibpath_var=LD_LIBRARY_PATH
 
1495
+  hardcode_into_libs=yes
 
1496
+  ;;
 
1497
+
 
1498
+hpux9* | hpux10* | hpux11*)
 
1499
+  # Give a soname corresponding to the major version so that dld.sl refuses to
 
1500
+  # link against other versions.
 
1501
+  version_type=sunos
 
1502
+  need_lib_prefix=no
 
1503
+  need_version=no
 
1504
+  case $host_cpu in
 
1505
+  ia64*)
 
1506
+    shrext_cmds='.so'
 
1507
+    hardcode_into_libs=yes
 
1508
+    dynamic_linker="$host_os dld.so"
 
1509
+    shlibpath_var=LD_LIBRARY_PATH
 
1510
+    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
1511
+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
1512
+    soname_spec='${libname}${release}${shared_ext}$major'
 
1513
+    if test "X$HPUX_IA64_MODE" = X32; then
 
1514
+      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 
1515
+    else
 
1516
+      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 
1517
+    fi
 
1518
+    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
1519
+    ;;
 
1520
+   hppa*64*)
 
1521
+     shrext_cmds='.sl'
 
1522
+     hardcode_into_libs=yes
 
1523
+     dynamic_linker="$host_os dld.sl"
 
1524
+     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
1525
+     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
1526
+     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
1527
+     soname_spec='${libname}${release}${shared_ext}$major'
 
1528
+     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
1529
+     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
1530
+     ;;
 
1531
+   *)
 
1532
+    shrext_cmds='.sl'
 
1533
+    dynamic_linker="$host_os dld.sl"
 
1534
+    shlibpath_var=SHLIB_PATH
 
1535
+    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 
1536
+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
1537
+    soname_spec='${libname}${release}${shared_ext}$major'
 
1538
+    ;;
 
1539
+  esac
 
1540
+  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
1541
+  postinstall_cmds='chmod 555 $lib'
 
1542
+  ;;
 
1543
+
 
1544
+interix3*)
 
1545
+  version_type=linux
 
1546
+  need_lib_prefix=no
 
1547
+  need_version=no
 
1548
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
1549
+  soname_spec='${libname}${release}${shared_ext}$major'
 
1550
+  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
1551
+  shlibpath_var=LD_LIBRARY_PATH
 
1552
+  shlibpath_overrides_runpath=no
 
1553
+  hardcode_into_libs=yes
 
1554
+  ;;
 
1555
+
 
1556
+irix5* | irix6* | nonstopux*)
 
1557
+  case $host_os in
 
1558
+    nonstopux*) version_type=nonstopux ;;
 
1559
+    *)
 
1560
+       if test "$lt_cv_prog_gnu_ld" = yes; then
 
1561
+               version_type=linux
 
1562
+       else
 
1563
+               version_type=irix
 
1564
+       fi ;;
 
1565
+  esac
 
1566
+  need_lib_prefix=no
 
1567
+  need_version=no
 
1568
+  soname_spec='${libname}${release}${shared_ext}$major'
 
1569
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
 
1570
+  case $host_os in
 
1571
+  irix5* | nonstopux*)
 
1572
+    libsuff= shlibsuff=
 
1573
+    ;;
 
1574
+  *)
 
1575
+    case $LD in # libtool.m4 will add one of these switches to LD
 
1576
+    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 
1577
+      libsuff= shlibsuff= libmagic=32-bit;;
 
1578
+    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 
1579
+      libsuff=32 shlibsuff=N32 libmagic=N32;;
 
1580
+    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 
1581
+      libsuff=64 shlibsuff=64 libmagic=64-bit;;
 
1582
+    *) libsuff= shlibsuff= libmagic=never-match;;
 
1583
+    esac
 
1584
+    ;;
 
1585
+  esac
 
1586
+  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 
1587
+  shlibpath_overrides_runpath=no
 
1588
+  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
1589
+  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 
1590
+  hardcode_into_libs=yes
 
1591
+  ;;
 
1592
+
 
1593
+# No shared lib support for Linux oldld, aout, or coff.
 
1594
+linux*oldld* | linux*aout* | linux*coff*)
 
1595
+  dynamic_linker=no
 
1596
+  ;;
 
1597
+
 
1598
+# This must be Linux ELF.
 
1599
+linux* | k*bsd*-gnu)
 
1600
+  version_type=linux
 
1601
+  need_lib_prefix=no
 
1602
+  need_version=no
 
1603
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
1604
+  soname_spec='${libname}${release}${shared_ext}$major'
 
1605
+  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 
1606
+  shlibpath_var=LD_LIBRARY_PATH
 
1607
+  shlibpath_overrides_runpath=no
 
1608
+  # This implies no fast_install, which is unacceptable.
 
1609
+  # Some rework will be needed to allow for fast_install
 
1610
+  # before this can be enabled.
 
1611
+  hardcode_into_libs=yes
 
1612
+
 
1613
+  # Append ld.so.conf contents to the search path
 
1614
+  if test -f /etc/ld.so.conf; then
 
1615
+    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,   ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
1616
+    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 
1617
+  fi
 
1618
+
 
1619
+  # We used to test for /lib/ld.so.1 and disable shared libraries on
 
1620
+  # powerpc, because MkLinux only supported shared libraries with the
 
1621
+  # GNU dynamic linker.  Since this was broken with cross compilers,
 
1622
+  # most powerpc-linux boxes support dynamic linking these days and
 
1623
+  # people can always --disable-shared, the test was removed, and we
 
1624
+  # assume the GNU/Linux dynamic linker is in use.
 
1625
+  dynamic_linker='GNU/Linux ld.so'
 
1626
+  ;;
 
1627
+
 
1628
+netbsdelf*-gnu)
 
1629
+  version_type=linux
 
1630
+  need_lib_prefix=no
 
1631
+  need_version=no
 
1632
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
1633
+  soname_spec='${libname}${release}${shared_ext}$major'
 
1634
+  shlibpath_var=LD_LIBRARY_PATH
 
1635
+  shlibpath_overrides_runpath=no
 
1636
+  hardcode_into_libs=yes
 
1637
+  dynamic_linker='NetBSD ld.elf_so'
 
1638
+  ;;
 
1639
+
 
1640
+netbsd*)
 
1641
+  version_type=sunos
 
1642
+  need_lib_prefix=no
 
1643
+  need_version=no
 
1644
+  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
1645
+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
1646
+    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
1647
+    dynamic_linker='NetBSD (a.out) ld.so'
 
1648
+  else
 
1649
+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
1650
+    soname_spec='${libname}${release}${shared_ext}$major'
 
1651
+    dynamic_linker='NetBSD ld.elf_so'
 
1652
+  fi
 
1653
+  shlibpath_var=LD_LIBRARY_PATH
 
1654
+  shlibpath_overrides_runpath=yes
 
1655
+  hardcode_into_libs=yes
 
1656
+  ;;
 
1657
+
 
1658
+newsos6)
 
1659
+  version_type=linux
 
1660
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
1661
+  shlibpath_var=LD_LIBRARY_PATH
 
1662
+  shlibpath_overrides_runpath=yes
 
1663
+  ;;
 
1664
+
 
1665
+nto-qnx*)
 
1666
+  version_type=linux
 
1667
+  need_lib_prefix=no
 
1668
+  need_version=no
 
1669
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
1670
+  soname_spec='${libname}${release}${shared_ext}$major'
 
1671
+  shlibpath_var=LD_LIBRARY_PATH
 
1672
+  shlibpath_overrides_runpath=yes
 
1673
+  ;;
 
1674
+
 
1675
+openbsd*)
 
1676
+  version_type=sunos
 
1677
+  sys_lib_dlsearch_path_spec="/usr/lib"
 
1678
+  need_lib_prefix=no
 
1679
+  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
1680
+  case $host_os in
 
1681
+    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
 
1682
+    *)                         need_version=no  ;;
 
1683
+  esac
 
1684
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
1685
+  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
1686
+  shlibpath_var=LD_LIBRARY_PATH
 
1687
+  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
1688
+    case $host_os in
 
1689
+      openbsd2.[[89]] | openbsd2.[[89]].*)
 
1690
+       shlibpath_overrides_runpath=no
 
1691
+       ;;
 
1692
+      *)
 
1693
+       shlibpath_overrides_runpath=yes
 
1694
+       ;;
 
1695
+      esac
 
1696
+  else
 
1697
+    shlibpath_overrides_runpath=yes
 
1698
+  fi
 
1699
+  ;;
 
1700
+
 
1701
+os2*)
 
1702
+  libname_spec='$name'
 
1703
+  shrext_cmds=".dll"
 
1704
+  need_lib_prefix=no
 
1705
+  library_names_spec='$libname${shared_ext} $libname.a'
 
1706
+  dynamic_linker='OS/2 ld.exe'
 
1707
+  shlibpath_var=LIBPATH
 
1708
+  ;;
 
1709
+
 
1710
+osf3* | osf4* | osf5*)
 
1711
+  version_type=osf
 
1712
+  need_lib_prefix=no
 
1713
+  need_version=no
 
1714
+  soname_spec='${libname}${release}${shared_ext}$major'
 
1715
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
1716
+  shlibpath_var=LD_LIBRARY_PATH
 
1717
+  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 
1718
+  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 
1719
+  ;;
 
1720
+
 
1721
+solaris*)
 
1722
+  version_type=linux
 
1723
+  need_lib_prefix=no
 
1724
+  need_version=no
 
1725
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
1726
+  soname_spec='${libname}${release}${shared_ext}$major'
 
1727
+  shlibpath_var=LD_LIBRARY_PATH
 
1728
+  shlibpath_overrides_runpath=yes
 
1729
+  hardcode_into_libs=yes
 
1730
+  # ldd complains unless libraries are executable
 
1731
+  postinstall_cmds='chmod +x $lib'
 
1732
+  ;;
 
1733
+
 
1734
+sunos4*)
 
1735
+  version_type=sunos
 
1736
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
1737
+  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 
1738
+  shlibpath_var=LD_LIBRARY_PATH
 
1739
+  shlibpath_overrides_runpath=yes
 
1740
+  if test "$with_gnu_ld" = yes; then
 
1741
+    need_lib_prefix=no
 
1742
+  fi
 
1743
+  need_version=yes
 
1744
+  ;;
 
1745
+
 
1746
+sysv4 | sysv4.3*)
 
1747
+  version_type=linux
 
1748
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
1749
+  soname_spec='${libname}${release}${shared_ext}$major'
 
1750
+  shlibpath_var=LD_LIBRARY_PATH
 
1751
+  case $host_vendor in
 
1752
+    sni)
 
1753
+      shlibpath_overrides_runpath=no
 
1754
+      need_lib_prefix=no
 
1755
+      export_dynamic_flag_spec='${wl}-Blargedynsym'
 
1756
+      runpath_var=LD_RUN_PATH
 
1757
+      ;;
 
1758
+    siemens)
 
1759
+      need_lib_prefix=no
 
1760
+      ;;
 
1761
+    motorola)
 
1762
+      need_lib_prefix=no
 
1763
+      need_version=no
 
1764
+      shlibpath_overrides_runpath=no
 
1765
+      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 
1766
+      ;;
 
1767
+  esac
 
1768
+  ;;
 
1769
+
 
1770
+sysv4*MP*)
 
1771
+  if test -d /usr/nec ;then
 
1772
+    version_type=linux
 
1773
+    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
 
1774
+    soname_spec='$libname${shared_ext}.$major'
 
1775
+    shlibpath_var=LD_LIBRARY_PATH
 
1776
+  fi
 
1777
+  ;;
 
1778
+
 
1779
+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
1780
+  version_type=freebsd-elf
 
1781
+  need_lib_prefix=no
 
1782
+  need_version=no
 
1783
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
1784
+  soname_spec='${libname}${release}${shared_ext}$major'
 
1785
+  shlibpath_var=LD_LIBRARY_PATH
 
1786
+  hardcode_into_libs=yes
 
1787
+  if test "$with_gnu_ld" = yes; then
 
1788
+    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
1789
+    shlibpath_overrides_runpath=no
 
1790
+  else
 
1791
+    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
1792
+    shlibpath_overrides_runpath=yes
 
1793
+    case $host_os in
 
1794
+      sco3.2v5*)
 
1795
+        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
1796
+       ;;
 
1797
+    esac
 
1798
+  fi
 
1799
+  sys_lib_dlsearch_path_spec='/usr/lib'
 
1800
+  ;;
 
1801
+
 
1802
+uts4*)
 
1803
+  version_type=linux
 
1804
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
1805
+  soname_spec='${libname}${release}${shared_ext}$major'
 
1806
+  shlibpath_var=LD_LIBRARY_PATH
 
1807
+  ;;
 
1808
+
 
1809
+*)
 
1810
+  dynamic_linker=no
 
1811
+  ;;
 
1812
+esac
 
1813
+AC_MSG_RESULT([$dynamic_linker])
 
1814
+test "$dynamic_linker" = no && can_build_shared=no
 
1815
+
 
1816
+variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
1817
+if test "$GCC" = yes; then
 
1818
+  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
1819
+fi
 
1820
+])# AC_LIBTOOL_SYS_DYNAMIC_LINKER
 
1821
+
 
1822
+
 
1823
+# _LT_AC_TAGCONFIG
 
1824
+# ----------------
 
1825
+AC_DEFUN([_LT_AC_TAGCONFIG],
 
1826
+[AC_ARG_WITH([tags],
 
1827
+    [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@],
 
1828
+        [include additional configurations @<:@automatic@:>@])],
 
1829
+    [tagnames="$withval"])
 
1830
+
 
1831
+if test -f "$ltmain" && test -n "$tagnames"; then
 
1832
+  if test ! -f "${ofile}"; then
 
1833
+    AC_MSG_WARN([output file `$ofile' does not exist])
 
1834
+  fi
 
1835
+
 
1836
+  if test -z "$LTCC"; then
 
1837
+    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
 
1838
+    if test -z "$LTCC"; then
 
1839
+      AC_MSG_WARN([output file `$ofile' does not look like a libtool script])
 
1840
+    else
 
1841
+      AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile'])
 
1842
+    fi
 
1843
+  fi
 
1844
+  if test -z "$LTCFLAGS"; then
 
1845
+    eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
 
1846
+  fi
 
1847
+
 
1848
+  # Extract list of available tagged configurations in $ofile.
 
1849
+  # Note that this assumes the entire list is on one line.
 
1850
+  available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
 
1851
+
 
1852
+  lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
1853
+  for tagname in $tagnames; do
 
1854
+    IFS="$lt_save_ifs"
 
1855
+    # Check whether tagname contains only valid characters
 
1856
+    case `$echo "X$tagname" | $Xsed -e 's:[[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]]::g'` in
 
1857
+    "") ;;
 
1858
+    *)  AC_MSG_ERROR([invalid tag name: $tagname])
 
1859
+       ;;
 
1860
+    esac
 
1861
+
 
1862
+    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
 
1863
+    then
 
1864
+      AC_MSG_ERROR([tag name \"$tagname\" already exists])
 
1865
+    fi
 
1866
+
 
1867
+    # Update the list of available tags.
 
1868
+    if test -n "$tagname"; then
 
1869
+      echo appending configuration tag \"$tagname\" to $ofile
 
1870
+
 
1871
+      case $tagname in
 
1872
+      CXX)
 
1873
+       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
 
1874
+           ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
 
1875
+           (test "X$CXX" != "Xg++"))) ; then
 
1876
+         AC_LIBTOOL_LANG_CXX_CONFIG
 
1877
+       else
 
1878
+         tagname=""
 
1879
+       fi
 
1880
+       ;;
 
1881
+
 
1882
+      F77)
 
1883
+       if test -n "$F77" && test "X$F77" != "Xno"; then
 
1884
+         AC_LIBTOOL_LANG_F77_CONFIG
 
1885
+       else
 
1886
+         tagname=""
 
1887
+       fi
 
1888
+       ;;
 
1889
+
 
1890
+      GCJ)
 
1891
+       if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
 
1892
+         AC_LIBTOOL_LANG_GCJ_CONFIG
 
1893
+       else
 
1894
+         tagname=""
 
1895
+       fi
 
1896
+       ;;
 
1897
+
 
1898
+      RC)
 
1899
+       AC_LIBTOOL_LANG_RC_CONFIG
 
1900
+       ;;
 
1901
+
 
1902
+      *)
 
1903
+       AC_MSG_ERROR([Unsupported tag name: $tagname])
 
1904
+       ;;
 
1905
+      esac
 
1906
+
 
1907
+      # Append the new tag name to the list of available tags.
 
1908
+      if test -n "$tagname" ; then
 
1909
+      available_tags="$available_tags $tagname"
 
1910
+    fi
 
1911
+    fi
 
1912
+  done
 
1913
+  IFS="$lt_save_ifs"
 
1914
+
 
1915
+  # Now substitute the updated list of available tags.
 
1916
+  if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
 
1917
+    mv "${ofile}T" "$ofile"
 
1918
+    chmod +x "$ofile"
 
1919
+  else
 
1920
+    rm -f "${ofile}T"
 
1921
+    AC_MSG_ERROR([unable to update list of available tagged configurations.])
 
1922
+  fi
 
1923
+fi
 
1924
+])# _LT_AC_TAGCONFIG
 
1925
+
 
1926
+
 
1927
+# AC_LIBTOOL_DLOPEN
 
1928
+# -----------------
 
1929
+# enable checks for dlopen support
 
1930
+AC_DEFUN([AC_LIBTOOL_DLOPEN],
 
1931
+ [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])
 
1932
+])# AC_LIBTOOL_DLOPEN
 
1933
+
 
1934
+
 
1935
+# AC_LIBTOOL_WIN32_DLL
 
1936
+# --------------------
 
1937
+# declare package support for building win32 DLLs
 
1938
+AC_DEFUN([AC_LIBTOOL_WIN32_DLL],
 
1939
+[AC_BEFORE([$0], [AC_LIBTOOL_SETUP])
 
1940
+])# AC_LIBTOOL_WIN32_DLL
 
1941
+
 
1942
+
 
1943
+# AC_ENABLE_SHARED([DEFAULT])
 
1944
+# ---------------------------
 
1945
+# implement the --enable-shared flag
 
1946
+# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
 
1947
+AC_DEFUN([AC_ENABLE_SHARED],
 
1948
+[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
 
1949
+AC_ARG_ENABLE([shared],
 
1950
+    [AC_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
 
1951
+       [build shared libraries @<:@default=]AC_ENABLE_SHARED_DEFAULT[@:>@])],
 
1952
+    [p=${PACKAGE-default}
 
1953
+    case $enableval in
 
1954
+    yes) enable_shared=yes ;;
 
1955
+    no) enable_shared=no ;;
 
1956
+    *)
 
1957
+      enable_shared=no
 
1958
+      # Look at the argument we got.  We use all the common list separators.
 
1959
+      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
1960
+      for pkg in $enableval; do
 
1961
+       IFS="$lt_save_ifs"
 
1962
+       if test "X$pkg" = "X$p"; then
 
1963
+         enable_shared=yes
 
1964
+       fi
 
1965
+      done
 
1966
+      IFS="$lt_save_ifs"
 
1967
+      ;;
 
1968
+    esac],
 
1969
+    [enable_shared=]AC_ENABLE_SHARED_DEFAULT)
 
1970
+])# AC_ENABLE_SHARED
 
1971
+
 
1972
+
 
1973
+# AC_DISABLE_SHARED
 
1974
+# -----------------
 
1975
+# set the default shared flag to --disable-shared
 
1976
+AC_DEFUN([AC_DISABLE_SHARED],
 
1977
+[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
 
1978
+AC_ENABLE_SHARED(no)
 
1979
+])# AC_DISABLE_SHARED
 
1980
+
 
1981
+
 
1982
+# AC_ENABLE_STATIC([DEFAULT])
 
1983
+# ---------------------------
 
1984
+# implement the --enable-static flag
 
1985
+# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
 
1986
+AC_DEFUN([AC_ENABLE_STATIC],
 
1987
+[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
 
1988
+AC_ARG_ENABLE([static],
 
1989
+    [AC_HELP_STRING([--enable-static@<:@=PKGS@:>@],
 
1990
+       [build static libraries @<:@default=]AC_ENABLE_STATIC_DEFAULT[@:>@])],
 
1991
+    [p=${PACKAGE-default}
 
1992
+    case $enableval in
 
1993
+    yes) enable_static=yes ;;
 
1994
+    no) enable_static=no ;;
 
1995
+    *)
 
1996
+     enable_static=no
 
1997
+      # Look at the argument we got.  We use all the common list separators.
 
1998
+      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
1999
+      for pkg in $enableval; do
 
2000
+       IFS="$lt_save_ifs"
 
2001
+       if test "X$pkg" = "X$p"; then
 
2002
+         enable_static=yes
 
2003
+       fi
 
2004
+      done
 
2005
+      IFS="$lt_save_ifs"
 
2006
+      ;;
 
2007
+    esac],
 
2008
+    [enable_static=]AC_ENABLE_STATIC_DEFAULT)
 
2009
+])# AC_ENABLE_STATIC
 
2010
+
 
2011
+
 
2012
+# AC_DISABLE_STATIC
 
2013
+# -----------------
 
2014
+# set the default static flag to --disable-static
 
2015
+AC_DEFUN([AC_DISABLE_STATIC],
 
2016
+[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
 
2017
+AC_ENABLE_STATIC(no)
 
2018
+])# AC_DISABLE_STATIC
 
2019
+
 
2020
+
 
2021
+# AC_ENABLE_FAST_INSTALL([DEFAULT])
 
2022
+# ---------------------------------
 
2023
+# implement the --enable-fast-install flag
 
2024
+# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
 
2025
+AC_DEFUN([AC_ENABLE_FAST_INSTALL],
 
2026
+[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
 
2027
+AC_ARG_ENABLE([fast-install],
 
2028
+    [AC_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
 
2029
+    [optimize for fast installation @<:@default=]AC_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
 
2030
+    [p=${PACKAGE-default}
 
2031
+    case $enableval in
 
2032
+    yes) enable_fast_install=yes ;;
 
2033
+    no) enable_fast_install=no ;;
 
2034
+    *)
 
2035
+      enable_fast_install=no
 
2036
+      # Look at the argument we got.  We use all the common list separators.
 
2037
+      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
2038
+      for pkg in $enableval; do
 
2039
+       IFS="$lt_save_ifs"
 
2040
+       if test "X$pkg" = "X$p"; then
 
2041
+         enable_fast_install=yes
 
2042
+       fi
 
2043
+      done
 
2044
+      IFS="$lt_save_ifs"
 
2045
+      ;;
 
2046
+    esac],
 
2047
+    [enable_fast_install=]AC_ENABLE_FAST_INSTALL_DEFAULT)
 
2048
+])# AC_ENABLE_FAST_INSTALL
 
2049
+
 
2050
+
 
2051
+# AC_DISABLE_FAST_INSTALL
 
2052
+# -----------------------
 
2053
+# set the default to --disable-fast-install
 
2054
+AC_DEFUN([AC_DISABLE_FAST_INSTALL],
 
2055
+[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
 
2056
+AC_ENABLE_FAST_INSTALL(no)
 
2057
+])# AC_DISABLE_FAST_INSTALL
 
2058
+
 
2059
+
 
2060
+# AC_LIBTOOL_PICMODE([MODE])
 
2061
+# --------------------------
 
2062
+# implement the --with-pic flag
 
2063
+# MODE is either `yes' or `no'.  If omitted, it defaults to `both'.
 
2064
+AC_DEFUN([AC_LIBTOOL_PICMODE],
 
2065
+[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
 
2066
+pic_mode=ifelse($#,1,$1,default)
 
2067
+])# AC_LIBTOOL_PICMODE
 
2068
+
 
2069
+
 
2070
+# AC_PROG_EGREP
 
2071
+# -------------
 
2072
+# This is predefined starting with Autoconf 2.54, so this conditional
 
2073
+# definition can be removed once we require Autoconf 2.54 or later.
 
2074
+m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP],
 
2075
+[AC_CACHE_CHECK([for egrep], [ac_cv_prog_egrep],
 
2076
+   [if echo a | (grep -E '(a|b)') >/dev/null 2>&1
 
2077
+    then ac_cv_prog_egrep='grep -E'
 
2078
+    else ac_cv_prog_egrep='egrep'
 
2079
+    fi])
 
2080
+ EGREP=$ac_cv_prog_egrep
 
2081
+ AC_SUBST([EGREP])
 
2082
+])])
 
2083
+
 
2084
+
 
2085
+# AC_PATH_TOOL_PREFIX
 
2086
+# -------------------
 
2087
+# find a file program which can recognise shared library
 
2088
+AC_DEFUN([AC_PATH_TOOL_PREFIX],
 
2089
+[AC_REQUIRE([AC_PROG_EGREP])dnl
 
2090
+AC_MSG_CHECKING([for $1])
 
2091
+AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
 
2092
+[case $MAGIC_CMD in
 
2093
+[[\\/*] |  ?:[\\/]*])
 
2094
+  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
2095
+  ;;
 
2096
+*)
 
2097
+  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
2098
+  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
2099
+dnl $ac_dummy forces splitting on constant user-supplied paths.
 
2100
+dnl POSIX.2 word splitting is done only on the output of word expansions,
 
2101
+dnl not every word.  This closes a longstanding sh security hole.
 
2102
+  ac_dummy="ifelse([$2], , $PATH, [$2])"
 
2103
+  for ac_dir in $ac_dummy; do
 
2104
+    IFS="$lt_save_ifs"
 
2105
+    test -z "$ac_dir" && ac_dir=.
 
2106
+    if test -f $ac_dir/$1; then
 
2107
+      lt_cv_path_MAGIC_CMD="$ac_dir/$1"
 
2108
+      if test -n "$file_magic_test_file"; then
 
2109
+       case $deplibs_check_method in
 
2110
+       "file_magic "*)
 
2111
+         file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
2112
+         MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
2113
+         if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
2114
+           $EGREP "$file_magic_regex" > /dev/null; then
 
2115
+           :
 
2116
+         else
 
2117
+           cat <<EOF 1>&2
 
2118
+
 
2119
+*** Warning: the command libtool uses to detect shared libraries,
 
2120
+*** $file_magic_cmd, produces output that libtool cannot recognize.
 
2121
+*** The result is that libtool may fail to recognize shared libraries
 
2122
+*** as such.  This will affect the creation of libtool libraries that
 
2123
+*** depend on shared libraries, but programs linked with such libtool
 
2124
+*** libraries will work regardless of this problem.  Nevertheless, you
 
2125
+*** may want to report the problem to your system manager and/or to
 
2126
+*** bug-libtool@gnu.org
 
2127
+
 
2128
+EOF
 
2129
+         fi ;;
 
2130
+       esac
 
2131
+      fi
 
2132
+      break
 
2133
+    fi
 
2134
+  done
 
2135
+  IFS="$lt_save_ifs"
 
2136
+  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
2137
+  ;;
 
2138
+esac])
 
2139
+MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
2140
+if test -n "$MAGIC_CMD"; then
 
2141
+  AC_MSG_RESULT($MAGIC_CMD)
 
2142
+else
 
2143
+  AC_MSG_RESULT(no)
 
2144
+fi
 
2145
+])# AC_PATH_TOOL_PREFIX
 
2146
+
 
2147
+
 
2148
+# AC_PATH_MAGIC
 
2149
+# -------------
 
2150
+# find a file program which can recognise a shared library
 
2151
+AC_DEFUN([AC_PATH_MAGIC],
 
2152
+[AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
 
2153
+if test -z "$lt_cv_path_MAGIC_CMD"; then
 
2154
+  if test -n "$ac_tool_prefix"; then
 
2155
+    AC_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
 
2156
+  else
 
2157
+    MAGIC_CMD=:
 
2158
+  fi
 
2159
+fi
 
2160
+])# AC_PATH_MAGIC
 
2161
+
 
2162
+
 
2163
+# AC_PROG_LD
 
2164
+# ----------
 
2165
+# find the pathname to the GNU or non-GNU linker
 
2166
+AC_DEFUN([AC_PROG_LD],
 
2167
+[AC_ARG_WITH([gnu-ld],
 
2168
+    [AC_HELP_STRING([--with-gnu-ld],
 
2169
+       [assume the C compiler uses GNU ld @<:@default=no@:>@])],
 
2170
+    [test "$withval" = no || with_gnu_ld=yes],
 
2171
+    [with_gnu_ld=no])
 
2172
+AC_REQUIRE([LT_AC_PROG_SED])dnl
 
2173
+AC_REQUIRE([AC_PROG_CC])dnl
 
2174
+AC_REQUIRE([AC_CANONICAL_HOST])dnl
 
2175
+AC_REQUIRE([AC_CANONICAL_BUILD])dnl
 
2176
+ac_prog=ld
 
2177
+if test "$GCC" = yes; then
 
2178
+  # Check if gcc -print-prog-name=ld gives a path.
 
2179
+  AC_MSG_CHECKING([for ld used by $CC])
 
2180
+  case $host in
 
2181
+  *-*-mingw*)
 
2182
+    # gcc leaves a trailing carriage return which upsets mingw
 
2183
+    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 
2184
+  *)
 
2185
+    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 
2186
+  esac
 
2187
+  case $ac_prog in
 
2188
+    # Accept absolute paths.
 
2189
+    [[\\/]]* | ?:[[\\/]]*)
 
2190
+      re_direlt='/[[^/]][[^/]]*/\.\./'
 
2191
+      # Canonicalize the pathname of ld
 
2192
+      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
 
2193
+      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
 
2194
+       ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
 
2195
+      done
 
2196
+      test -z "$LD" && LD="$ac_prog"
 
2197
+      ;;
 
2198
+  "")
 
2199
+    # If it fails, then pretend we aren't using GCC.
 
2200
+    ac_prog=ld
 
2201
+    ;;
 
2202
+  *)
 
2203
+    # If it is relative, then search for the first ld in PATH.
 
2204
+    with_gnu_ld=unknown
 
2205
+    ;;
 
2206
+  esac
 
2207
+elif test "$with_gnu_ld" = yes; then
 
2208
+  AC_MSG_CHECKING([for GNU ld])
 
2209
+else
 
2210
+  AC_MSG_CHECKING([for non-GNU ld])
 
2211
+fi
 
2212
+AC_CACHE_VAL(lt_cv_path_LD,
 
2213
+[if test -z "$LD"; then
 
2214
+  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
2215
+  for ac_dir in $PATH; do
 
2216
+    IFS="$lt_save_ifs"
 
2217
+    test -z "$ac_dir" && ac_dir=.
 
2218
+    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 
2219
+      lt_cv_path_LD="$ac_dir/$ac_prog"
 
2220
+      # Check to see if the program is GNU ld.  I'd rather use --version,
 
2221
+      # but apparently some variants of GNU ld only accept -v.
 
2222
+      # Break only if it was the GNU/non-GNU ld that we prefer.
 
2223
+      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
 
2224
+      *GNU* | *'with BFD'*)
 
2225
+       test "$with_gnu_ld" != no && break
 
2226
+       ;;
 
2227
+      *)
 
2228
+       test "$with_gnu_ld" != yes && break
 
2229
+       ;;
 
2230
+      esac
 
2231
+    fi
 
2232
+  done
 
2233
+  IFS="$lt_save_ifs"
 
2234
+else
 
2235
+  lt_cv_path_LD="$LD" # Let the user override the test with a path.
 
2236
+fi])
 
2237
+LD="$lt_cv_path_LD"
 
2238
+if test -n "$LD"; then
 
2239
+  AC_MSG_RESULT($LD)
 
2240
+else
 
2241
+  AC_MSG_RESULT(no)
 
2242
+fi
 
2243
+test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
 
2244
+AC_PROG_LD_GNU
 
2245
+])# AC_PROG_LD
 
2246
+
 
2247
+
 
2248
+# AC_PROG_LD_GNU
 
2249
+# --------------
 
2250
+AC_DEFUN([AC_PROG_LD_GNU],
 
2251
+[AC_REQUIRE([AC_PROG_EGREP])dnl
 
2252
+AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
 
2253
+[# I'd rather use --version here, but apparently some GNU lds only accept -v.
 
2254
+case `$LD -v 2>&1 </dev/null` in
 
2255
+*GNU* | *'with BFD'*)
 
2256
+  lt_cv_prog_gnu_ld=yes
 
2257
+  ;;
 
2258
+*)
 
2259
+  lt_cv_prog_gnu_ld=no
 
2260
+  ;;
 
2261
+esac])
 
2262
+with_gnu_ld=$lt_cv_prog_gnu_ld
 
2263
+])# AC_PROG_LD_GNU
 
2264
+
 
2265
+
 
2266
+# AC_PROG_LD_RELOAD_FLAG
 
2267
+# ----------------------
 
2268
+# find reload flag for linker
 
2269
+#   -- PORTME Some linkers may need a different reload flag.
 
2270
+AC_DEFUN([AC_PROG_LD_RELOAD_FLAG],
 
2271
+[AC_CACHE_CHECK([for $LD option to reload object files],
 
2272
+  lt_cv_ld_reload_flag,
 
2273
+  [lt_cv_ld_reload_flag='-r'])
 
2274
+reload_flag=$lt_cv_ld_reload_flag
 
2275
+case $reload_flag in
 
2276
+"" | " "*) ;;
 
2277
+*) reload_flag=" $reload_flag" ;;
 
2278
+esac
 
2279
+reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
2280
+case $host_os in
 
2281
+  darwin*)
 
2282
+    if test "$GCC" = yes; then
 
2283
+      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 
2284
+    else
 
2285
+      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
2286
+    fi
 
2287
+    ;;
 
2288
+esac
 
2289
+])# AC_PROG_LD_RELOAD_FLAG
 
2290
+
 
2291
+
 
2292
+# AC_DEPLIBS_CHECK_METHOD
 
2293
+# -----------------------
 
2294
+# how to check for library dependencies
 
2295
+#  -- PORTME fill in with the dynamic library characteristics
 
2296
+AC_DEFUN([AC_DEPLIBS_CHECK_METHOD],
 
2297
+[AC_CACHE_CHECK([how to recognise dependent libraries],
 
2298
+lt_cv_deplibs_check_method,
 
2299
+[lt_cv_file_magic_cmd='$MAGIC_CMD'
 
2300
+lt_cv_file_magic_test_file=
 
2301
+lt_cv_deplibs_check_method='unknown'
 
2302
+# Need to set the preceding variable on all platforms that support
 
2303
+# interlibrary dependencies.
 
2304
+# 'none' -- dependencies not supported.
 
2305
+# `unknown' -- same as none, but documents that we really don't know.
 
2306
+# 'pass_all' -- all dependencies passed with no checks.
 
2307
+# 'test_compile' -- check by making test program.
 
2308
+# 'file_magic [[regex]]' -- check by looking for files in library path
 
2309
+# which responds to the $file_magic_cmd with a given extended regex.
 
2310
+# If you have `file' or equivalent on your system and you're not sure
 
2311
+# whether `pass_all' will *always* work, you probably want this one.
 
2312
+
 
2313
+case $host_os in
 
2314
+aix4* | aix5*)
 
2315
+  lt_cv_deplibs_check_method=pass_all
 
2316
+  ;;
 
2317
+
 
2318
+beos*)
 
2319
+  lt_cv_deplibs_check_method=pass_all
 
2320
+  ;;
 
2321
+
 
2322
+bsdi[[45]]*)
 
2323
+  lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
 
2324
+  lt_cv_file_magic_cmd='/usr/bin/file -L'
 
2325
+  lt_cv_file_magic_test_file=/shlib/libc.so
 
2326
+  ;;
 
2327
+
 
2328
+cygwin*)
 
2329
+  # func_win32_libid is a shell function defined in ltmain.sh
 
2330
+  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
2331
+  lt_cv_file_magic_cmd='func_win32_libid'
 
2332
+  ;;
 
2333
+
 
2334
+mingw* | pw32*)
 
2335
+  # Base MSYS/MinGW do not provide the 'file' command needed by
 
2336
+  # func_win32_libid shell function, so use a weaker test based on 'objdump'.
 
2337
+  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
2338
+  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
2339
+  ;;
 
2340
+
 
2341
+darwin* | rhapsody*)
 
2342
+  lt_cv_deplibs_check_method=pass_all
 
2343
+  ;;
 
2344
+
 
2345
+freebsd* | dragonfly*)
 
2346
+  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 
2347
+    case $host_cpu in
 
2348
+    i*86 )
 
2349
+      # Not sure whether the presence of OpenBSD here was a mistake.
 
2350
+      # Let's accept both of them until this is cleared up.
 
2351
+      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library'
 
2352
+      lt_cv_file_magic_cmd=/usr/bin/file
 
2353
+      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
 
2354
+      ;;
 
2355
+    esac
 
2356
+  else
 
2357
+    lt_cv_deplibs_check_method=pass_all
 
2358
+  fi
 
2359
+  ;;
 
2360
+
 
2361
+gnu*)
 
2362
+  lt_cv_deplibs_check_method=pass_all
 
2363
+  ;;
 
2364
+
 
2365
+hpux10.20* | hpux11*)
 
2366
+  lt_cv_file_magic_cmd=/usr/bin/file
 
2367
+  case $host_cpu in
 
2368
+  ia64*)
 
2369
+    lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
 
2370
+    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
 
2371
+    ;;
 
2372
+  hppa*64*)
 
2373
+    [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]']
 
2374
+    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
 
2375
+    ;;
 
2376
+  *)
 
2377
+    lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
 
2378
+    lt_cv_file_magic_test_file=/usr/lib/libc.sl
 
2379
+    ;;
 
2380
+  esac
 
2381
+  ;;
 
2382
+
 
2383
+interix3*)
 
2384
+  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
 
2385
+  lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$'
 
2386
+  ;;
 
2387
+
 
2388
+irix5* | irix6* | nonstopux*)
 
2389
+  case $LD in
 
2390
+  *-32|*"-32 ") libmagic=32-bit;;
 
2391
+  *-n32|*"-n32 ") libmagic=N32;;
 
2392
+  *-64|*"-64 ") libmagic=64-bit;;
 
2393
+  *) libmagic=never-match;;
 
2394
+  esac
 
2395
+  lt_cv_deplibs_check_method=pass_all
 
2396
+  ;;
 
2397
+
 
2398
+# This must be Linux ELF.
 
2399
+linux* | k*bsd*-gnu)
 
2400
+  lt_cv_deplibs_check_method=pass_all
 
2401
+  ;;
 
2402
+
 
2403
+netbsd* | netbsdelf*-gnu)
 
2404
+  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 
2405
+    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
 
2406
+  else
 
2407
+    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
 
2408
+  fi
 
2409
+  ;;
 
2410
+
 
2411
+newos6*)
 
2412
+  lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
 
2413
+  lt_cv_file_magic_cmd=/usr/bin/file
 
2414
+  lt_cv_file_magic_test_file=/usr/lib/libnls.so
 
2415
+  ;;
 
2416
+
 
2417
+nto-qnx*)
 
2418
+  lt_cv_deplibs_check_method=unknown
 
2419
+  ;;
 
2420
+
 
2421
+openbsd*)
 
2422
+  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
2423
+    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
 
2424
+  else
 
2425
+    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
 
2426
+  fi
 
2427
+  ;;
 
2428
+
 
2429
+osf3* | osf4* | osf5*)
 
2430
+  lt_cv_deplibs_check_method=pass_all
 
2431
+  ;;
 
2432
+
 
2433
+solaris*)
 
2434
+  lt_cv_deplibs_check_method=pass_all
 
2435
+  ;;
 
2436
+
 
2437
+sysv4 | sysv4.3*)
 
2438
+  case $host_vendor in
 
2439
+  motorola)
 
2440
+    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]]'
 
2441
+    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
 
2442
+    ;;
 
2443
+  ncr)
 
2444
+    lt_cv_deplibs_check_method=pass_all
 
2445
+    ;;
 
2446
+  sequent)
 
2447
+    lt_cv_file_magic_cmd='/bin/file'
 
2448
+    lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
 
2449
+    ;;
 
2450
+  sni)
 
2451
+    lt_cv_file_magic_cmd='/bin/file'
 
2452
+    lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
 
2453
+    lt_cv_file_magic_test_file=/lib/libc.so
 
2454
+    ;;
 
2455
+  siemens)
 
2456
+    lt_cv_deplibs_check_method=pass_all
 
2457
+    ;;
 
2458
+  pc)
 
2459
+    lt_cv_deplibs_check_method=pass_all
 
2460
+    ;;
 
2461
+  esac
 
2462
+  ;;
 
2463
+
 
2464
+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
2465
+  lt_cv_deplibs_check_method=pass_all
 
2466
+  ;;
 
2467
+esac
 
2468
+])
 
2469
+file_magic_cmd=$lt_cv_file_magic_cmd
 
2470
+deplibs_check_method=$lt_cv_deplibs_check_method
 
2471
+test -z "$deplibs_check_method" && deplibs_check_method=unknown
 
2472
+])# AC_DEPLIBS_CHECK_METHOD
 
2473
+
 
2474
+
 
2475
+# AC_PROG_NM
 
2476
+# ----------
 
2477
+# find the pathname to a BSD-compatible name lister
 
2478
+AC_DEFUN([AC_PROG_NM],
 
2479
+[AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM,
 
2480
+[if test -n "$NM"; then
 
2481
+  # Let the user override the test.
 
2482
+  lt_cv_path_NM="$NM"
 
2483
+else
 
2484
+  lt_nm_to_check="${ac_tool_prefix}nm"
 
2485
+  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 
 
2486
+    lt_nm_to_check="$lt_nm_to_check nm"
 
2487
+  fi
 
2488
+  for lt_tmp_nm in $lt_nm_to_check; do
 
2489
+    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
2490
+    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
 
2491
+      IFS="$lt_save_ifs"
 
2492
+      test -z "$ac_dir" && ac_dir=.
 
2493
+      tmp_nm="$ac_dir/$lt_tmp_nm"
 
2494
+      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
 
2495
+       # Check to see if the nm accepts a BSD-compat flag.
 
2496
+       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
 
2497
+       #   nm: unknown option "B" ignored
 
2498
+       # Tru64's nm complains that /dev/null is an invalid object file
 
2499
+       case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
 
2500
+       */dev/null* | *'Invalid file or object type'*)
 
2501
+         lt_cv_path_NM="$tmp_nm -B"
 
2502
+         break
 
2503
+         ;;
 
2504
+       *)
 
2505
+         case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
 
2506
+         */dev/null*)
 
2507
+           lt_cv_path_NM="$tmp_nm -p"
 
2508
+           break
 
2509
+           ;;
 
2510
+         *)
 
2511
+           lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 
2512
+           continue # so that we can try to find one that supports BSD flags
 
2513
+           ;;
 
2514
+         esac
 
2515
+         ;;
 
2516
+       esac
 
2517
+      fi
 
2518
+    done
 
2519
+    IFS="$lt_save_ifs"
 
2520
+  done
 
2521
+  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
 
2522
+fi])
 
2523
+NM="$lt_cv_path_NM"
 
2524
+])# AC_PROG_NM
 
2525
+
 
2526
+
 
2527
+# AC_CHECK_LIBM
 
2528
+# -------------
 
2529
+# check for math library
 
2530
+AC_DEFUN([AC_CHECK_LIBM],
 
2531
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
 
2532
+LIBM=
 
2533
+case $host in
 
2534
+*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
 
2535
+  # These system don't have libm, or don't need it
 
2536
+  ;;
 
2537
+*-ncr-sysv4.3*)
 
2538
+  AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
 
2539
+  AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
 
2540
+  ;;
 
2541
+*)
 
2542
+  AC_CHECK_LIB(m, cos, LIBM="-lm")
 
2543
+  ;;
 
2544
+esac
 
2545
+])# AC_CHECK_LIBM
 
2546
+
 
2547
+
 
2548
+# AC_LIBLTDL_CONVENIENCE([DIRECTORY])
 
2549
+# -----------------------------------
 
2550
+# sets LIBLTDL to the link flags for the libltdl convenience library and
 
2551
+# LTDLINCL to the include flags for the libltdl header and adds
 
2552
+# --enable-ltdl-convenience to the configure arguments.  Note that
 
2553
+# AC_CONFIG_SUBDIRS is not called here.  If DIRECTORY is not provided,
 
2554
+# it is assumed to be `libltdl'.  LIBLTDL will be prefixed with
 
2555
+# '${top_builddir}/' and LTDLINCL will be prefixed with '${top_srcdir}/'
 
2556
+# (note the single quotes!).  If your package is not flat and you're not
 
2557
+# using automake, define top_builddir and top_srcdir appropriately in
 
2558
+# the Makefiles.
 
2559
+AC_DEFUN([AC_LIBLTDL_CONVENIENCE],
 
2560
+[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
 
2561
+  case $enable_ltdl_convenience in
 
2562
+  no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;;
 
2563
+  "") enable_ltdl_convenience=yes
 
2564
+      ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
 
2565
+  esac
 
2566
+  LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la
 
2567
+  LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
 
2568
+  # For backwards non-gettext consistent compatibility...
 
2569
+  INCLTDL="$LTDLINCL"
 
2570
+])# AC_LIBLTDL_CONVENIENCE
 
2571
+
 
2572
+
 
2573
+# AC_LIBLTDL_INSTALLABLE([DIRECTORY])
 
2574
+# -----------------------------------
 
2575
+# sets LIBLTDL to the link flags for the libltdl installable library and
 
2576
+# LTDLINCL to the include flags for the libltdl header and adds
 
2577
+# --enable-ltdl-install to the configure arguments.  Note that
 
2578
+# AC_CONFIG_SUBDIRS is not called here.  If DIRECTORY is not provided,
 
2579
+# and an installed libltdl is not found, it is assumed to be `libltdl'.
 
2580
+# LIBLTDL will be prefixed with '${top_builddir}/'# and LTDLINCL with
 
2581
+# '${top_srcdir}/' (note the single quotes!).  If your package is not
 
2582
+# flat and you're not using automake, define top_builddir and top_srcdir
 
2583
+# appropriately in the Makefiles.
 
2584
+# In the future, this macro may have to be called after AC_PROG_LIBTOOL.
 
2585
+AC_DEFUN([AC_LIBLTDL_INSTALLABLE],
 
2586
+[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
 
2587
+  AC_CHECK_LIB(ltdl, lt_dlinit,
 
2588
+  [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no],
 
2589
+  [if test x"$enable_ltdl_install" = xno; then
 
2590
+     AC_MSG_WARN([libltdl not installed, but installation disabled])
 
2591
+   else
 
2592
+     enable_ltdl_install=yes
 
2593
+   fi
 
2594
+  ])
 
2595
+  if test x"$enable_ltdl_install" = x"yes"; then
 
2596
+    ac_configure_args="$ac_configure_args --enable-ltdl-install"
 
2597
+    LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la
 
2598
+    LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
 
2599
+  else
 
2600
+    ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
 
2601
+    LIBLTDL="-lltdl"
 
2602
+    LTDLINCL=
 
2603
+  fi
 
2604
+  # For backwards non-gettext consistent compatibility...
 
2605
+  INCLTDL="$LTDLINCL"
 
2606
+])# AC_LIBLTDL_INSTALLABLE
 
2607
+
 
2608
+
 
2609
+# AC_LIBTOOL_CXX
 
2610
+# --------------
 
2611
+# enable support for C++ libraries
 
2612
+AC_DEFUN([AC_LIBTOOL_CXX],
 
2613
+[AC_REQUIRE([_LT_AC_LANG_CXX])
 
2614
+])# AC_LIBTOOL_CXX
 
2615
+
 
2616
+
 
2617
+# _LT_AC_LANG_CXX
 
2618
+# ---------------
 
2619
+AC_DEFUN([_LT_AC_LANG_CXX],
 
2620
+[AC_REQUIRE([AC_PROG_CXX])
 
2621
+AC_REQUIRE([_LT_AC_PROG_CXXCPP])
 
2622
+_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX])
 
2623
+])# _LT_AC_LANG_CXX
 
2624
+
 
2625
+# _LT_AC_PROG_CXXCPP
 
2626
+# ------------------
 
2627
+AC_DEFUN([_LT_AC_PROG_CXXCPP],
 
2628
+[
 
2629
+AC_REQUIRE([AC_PROG_CXX])
 
2630
+if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
 
2631
+    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
 
2632
+    (test "X$CXX" != "Xg++"))) ; then
 
2633
+  AC_PROG_CXXCPP
 
2634
+fi
 
2635
+])# _LT_AC_PROG_CXXCPP
 
2636
+
 
2637
+# AC_LIBTOOL_F77
 
2638
+# --------------
 
2639
+# enable support for Fortran 77 libraries
 
2640
+AC_DEFUN([AC_LIBTOOL_F77],
 
2641
+[AC_REQUIRE([_LT_AC_LANG_F77])
 
2642
+])# AC_LIBTOOL_F77
 
2643
+
 
2644
+
 
2645
+# _LT_AC_LANG_F77
 
2646
+# ---------------
 
2647
+AC_DEFUN([_LT_AC_LANG_F77],
 
2648
+[AC_REQUIRE([AC_PROG_F77])
 
2649
+_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}F77])
 
2650
+])# _LT_AC_LANG_F77
 
2651
+
 
2652
+
 
2653
+# AC_LIBTOOL_GCJ
 
2654
+# --------------
 
2655
+# enable support for GCJ libraries
 
2656
+AC_DEFUN([AC_LIBTOOL_GCJ],
 
2657
+[AC_REQUIRE([_LT_AC_LANG_GCJ])
 
2658
+])# AC_LIBTOOL_GCJ
 
2659
+
 
2660
+
 
2661
+# _LT_AC_LANG_GCJ
 
2662
+# ---------------
 
2663
+AC_DEFUN([_LT_AC_LANG_GCJ],
 
2664
+[AC_PROVIDE_IFELSE([AC_PROG_GCJ],[],
 
2665
+  [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],[],
 
2666
+    [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],[],
 
2667
+      [ifdef([AC_PROG_GCJ],[AC_REQUIRE([AC_PROG_GCJ])],
 
2668
+        [ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])],
 
2669
+          [AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])])
 
2670
+_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}GCJ])
 
2671
+])# _LT_AC_LANG_GCJ
 
2672
+
 
2673
+
 
2674
+# AC_LIBTOOL_RC
 
2675
+# -------------
 
2676
+# enable support for Windows resource files
 
2677
+AC_DEFUN([AC_LIBTOOL_RC],
 
2678
+[AC_REQUIRE([LT_AC_PROG_RC])
 
2679
+_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}RC])
 
2680
+])# AC_LIBTOOL_RC
 
2681
+
 
2682
+
 
2683
+# AC_LIBTOOL_LANG_C_CONFIG
 
2684
+# ------------------------
 
2685
+# Ensure that the configuration vars for the C compiler are
 
2686
+# suitably defined.  Those variables are subsequently used by
 
2687
+# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
 
2688
+AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG], [_LT_AC_LANG_C_CONFIG])
 
2689
+AC_DEFUN([_LT_AC_LANG_C_CONFIG],
 
2690
+[lt_save_CC="$CC"
 
2691
+AC_LANG_PUSH(C)
 
2692
+
 
2693
+# Source file extension for C test sources.
 
2694
+ac_ext=c
 
2695
+
 
2696
+# Object file extension for compiled C test sources.
 
2697
+objext=o
 
2698
+_LT_AC_TAGVAR(objext, $1)=$objext
 
2699
+
 
2700
+# Code to be used in simple compile tests
 
2701
+lt_simple_compile_test_code="int some_variable = 0;\n"
 
2702
+
 
2703
+# Code to be used in simple link tests
 
2704
+lt_simple_link_test_code='int main(){return(0);}\n'
 
2705
+
 
2706
+_LT_AC_SYS_COMPILER
 
2707
+
 
2708
+# save warnings/boilerplate of simple test code
 
2709
+_LT_COMPILER_BOILERPLATE
 
2710
+_LT_LINKER_BOILERPLATE
 
2711
+
 
2712
+AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
 
2713
+AC_LIBTOOL_PROG_COMPILER_PIC($1)
 
2714
+AC_LIBTOOL_PROG_CC_C_O($1)
 
2715
+AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
 
2716
+AC_LIBTOOL_PROG_LD_SHLIBS($1)
 
2717
+AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
 
2718
+AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
 
2719
+AC_LIBTOOL_SYS_LIB_STRIP
 
2720
+AC_LIBTOOL_DLOPEN_SELF
 
2721
+
 
2722
+# Report which library types will actually be built
 
2723
+AC_MSG_CHECKING([if libtool supports shared libraries])
 
2724
+AC_MSG_RESULT([$can_build_shared])
 
2725
+
 
2726
+AC_MSG_CHECKING([whether to build shared libraries])
 
2727
+test "$can_build_shared" = "no" && enable_shared=no
 
2728
+
 
2729
+# On AIX, shared libraries and static libraries use the same namespace, and
 
2730
+# are all built from PIC.
 
2731
+case $host_os in
 
2732
+aix3*)
 
2733
+  test "$enable_shared" = yes && enable_static=no
 
2734
+  if test -n "$RANLIB"; then
 
2735
+    archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
2736
+    postinstall_cmds='$RANLIB $lib'
 
2737
+  fi
 
2738
+  ;;
 
2739
+
 
2740
+aix4* | aix5*)
 
2741
+  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
2742
+    test "$enable_shared" = yes && enable_static=no
 
2743
+  fi
 
2744
+    ;;
 
2745
+esac
 
2746
+AC_MSG_RESULT([$enable_shared])
 
2747
+
 
2748
+AC_MSG_CHECKING([whether to build static libraries])
 
2749
+# Make sure either enable_shared or enable_static is yes.
 
2750
+test "$enable_shared" = yes || enable_static=yes
 
2751
+AC_MSG_RESULT([$enable_static])
 
2752
+
 
2753
+AC_LIBTOOL_CONFIG($1)
 
2754
+
 
2755
+AC_LANG_POP
 
2756
+CC="$lt_save_CC"
 
2757
+])# AC_LIBTOOL_LANG_C_CONFIG
 
2758
+
 
2759
+
 
2760
+# AC_LIBTOOL_LANG_CXX_CONFIG
 
2761
+# --------------------------
 
2762
+# Ensure that the configuration vars for the C compiler are
 
2763
+# suitably defined.  Those variables are subsequently used by
 
2764
+# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
 
2765
+AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG], [_LT_AC_LANG_CXX_CONFIG(CXX)])
 
2766
+AC_DEFUN([_LT_AC_LANG_CXX_CONFIG],
 
2767
+[AC_LANG_PUSH(C++)
 
2768
+AC_REQUIRE([AC_PROG_CXX])
 
2769
+AC_REQUIRE([_LT_AC_PROG_CXXCPP])
 
2770
+
 
2771
+_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
 
2772
+_LT_AC_TAGVAR(allow_undefined_flag, $1)=
 
2773
+_LT_AC_TAGVAR(always_export_symbols, $1)=no
 
2774
+_LT_AC_TAGVAR(archive_expsym_cmds, $1)=
 
2775
+_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
 
2776
+_LT_AC_TAGVAR(hardcode_direct, $1)=no
 
2777
+_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
 
2778
+_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
 
2779
+_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
 
2780
+_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
 
2781
+_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
 
2782
+_LT_AC_TAGVAR(hardcode_automatic, $1)=no
 
2783
+_LT_AC_TAGVAR(module_cmds, $1)=
 
2784
+_LT_AC_TAGVAR(module_expsym_cmds, $1)=
 
2785
+_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
 
2786
+_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
 
2787
+_LT_AC_TAGVAR(no_undefined_flag, $1)=
 
2788
+_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
 
2789
+_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
 
2790
+
 
2791
+# Dependencies to place before and after the object being linked:
 
2792
+_LT_AC_TAGVAR(predep_objects, $1)=
 
2793
+_LT_AC_TAGVAR(postdep_objects, $1)=
 
2794
+_LT_AC_TAGVAR(predeps, $1)=
 
2795
+_LT_AC_TAGVAR(postdeps, $1)=
 
2796
+_LT_AC_TAGVAR(compiler_lib_search_path, $1)=
 
2797
+
 
2798
+# Source file extension for C++ test sources.
 
2799
+ac_ext=cpp
 
2800
+
 
2801
+# Object file extension for compiled C++ test sources.
 
2802
+objext=o
 
2803
+_LT_AC_TAGVAR(objext, $1)=$objext
 
2804
+
 
2805
+# Code to be used in simple compile tests
 
2806
+lt_simple_compile_test_code="int some_variable = 0;\n"
 
2807
+
 
2808
+# Code to be used in simple link tests
 
2809
+lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }\n'
 
2810
+
 
2811
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
 
2812
+_LT_AC_SYS_COMPILER
 
2813
+
 
2814
+# save warnings/boilerplate of simple test code
 
2815
+_LT_COMPILER_BOILERPLATE
 
2816
+_LT_LINKER_BOILERPLATE
 
2817
+
 
2818
+# Allow CC to be a program name with arguments.
 
2819
+lt_save_CC=$CC
 
2820
+lt_save_LD=$LD
 
2821
+lt_save_GCC=$GCC
 
2822
+GCC=$GXX
 
2823
+lt_save_with_gnu_ld=$with_gnu_ld
 
2824
+lt_save_path_LD=$lt_cv_path_LD
 
2825
+if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
 
2826
+  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
 
2827
+else
 
2828
+  $as_unset lt_cv_prog_gnu_ld
 
2829
+fi
 
2830
+if test -n "${lt_cv_path_LDCXX+set}"; then
 
2831
+  lt_cv_path_LD=$lt_cv_path_LDCXX
 
2832
+else
 
2833
+  $as_unset lt_cv_path_LD
 
2834
+fi
 
2835
+test -z "${LDCXX+set}" || LD=$LDCXX
 
2836
+CC=${CXX-"c++"}
 
2837
+compiler=$CC
 
2838
+_LT_AC_TAGVAR(compiler, $1)=$CC
 
2839
+_LT_CC_BASENAME([$compiler])
 
2840
+
 
2841
+# We don't want -fno-exception wen compiling C++ code, so set the
 
2842
+# no_builtin_flag separately
 
2843
+if test "$GXX" = yes; then
 
2844
+  _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
 
2845
+else
 
2846
+  _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
 
2847
+fi
 
2848
+
 
2849
+if test "$GXX" = yes; then
 
2850
+  # Set up default GNU C++ configuration
 
2851
+
 
2852
+  AC_PROG_LD
 
2853
+
 
2854
+  # Check if GNU C++ uses GNU ld as the underlying linker, since the
 
2855
+  # archiving commands below assume that GNU ld is being used.
 
2856
+  if test "$with_gnu_ld" = yes; then
 
2857
+    _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
2858
+    _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'
 
2859
+
 
2860
+    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
 
2861
+    _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
 
2862
+
 
2863
+    # If archive_cmds runs LD, not CC, wlarc should be empty
 
2864
+    # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
 
2865
+    #     investigate it a little bit more. (MM)
 
2866
+    wlarc='${wl}'
 
2867
+
 
2868
+    # ancient GNU ld didn't support --whole-archive et. al.
 
2869
+    if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
 
2870
+       grep 'no-whole-archive' > /dev/null; then
 
2871
+      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
2872
+    else
 
2873
+      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
 
2874
+    fi
 
2875
+  else
 
2876
+    with_gnu_ld=no
 
2877
+    wlarc=
 
2878
+
 
2879
+    # A generic and very simple default shared library creation
 
2880
+    # command for GNU C++ for the case where it uses the native
 
2881
+    # linker, instead of GNU ld.  If possible, this setting should
 
2882
+    # overridden to take advantage of the native linker features on
 
2883
+    # the platform it is being used on.
 
2884
+    _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 
2885
+  fi
 
2886
+
 
2887
+  # Commands to make compiler produce verbose output that lists
 
2888
+  # what "hidden" libraries, object files and flags are used when
 
2889
+  # linking a shared library.
 
2890
+  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
 
2891
+
 
2892
+else
 
2893
+  GXX=no
 
2894
+  with_gnu_ld=no
 
2895
+  wlarc=
 
2896
+fi
 
2897
+
 
2898
+# PORTME: fill in a description of your system's C++ link characteristics
 
2899
+AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
 
2900
+_LT_AC_TAGVAR(ld_shlibs, $1)=yes
 
2901
+case $host_os in
 
2902
+  aix3*)
 
2903
+    # FIXME: insert proper C++ library support
 
2904
+    _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
2905
+    ;;
 
2906
+  aix4* | aix5*)
 
2907
+    if test "$host_cpu" = ia64; then
 
2908
+      # On IA64, the linker does run time linking by default, so we don't
 
2909
+      # have to do anything special.
 
2910
+      aix_use_runtimelinking=no
 
2911
+      exp_sym_flag='-Bexport'
 
2912
+      no_entry_flag=""
 
2913
+    else
 
2914
+      aix_use_runtimelinking=no
 
2915
+
 
2916
+      # Test if we are trying to use run time linking or normal
 
2917
+      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
 
2918
+      # need to do runtime linking.
 
2919
+      case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
 
2920
+       for ld_flag in $LDFLAGS; do
 
2921
+         case $ld_flag in
 
2922
+         *-brtl*)
 
2923
+           aix_use_runtimelinking=yes
 
2924
+           break
 
2925
+           ;;
 
2926
+         esac
 
2927
+       done
 
2928
+       ;;
 
2929
+      esac
 
2930
+
 
2931
+      exp_sym_flag='-bexport'
 
2932
+      no_entry_flag='-bnoentry'
 
2933
+    fi
 
2934
+
 
2935
+    # When large executables or shared objects are built, AIX ld can
 
2936
+    # have problems creating the table of contents.  If linking a library
 
2937
+    # or program results in "error TOC overflow" add -mminimal-toc to
 
2938
+    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 
2939
+    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 
2940
+
 
2941
+    _LT_AC_TAGVAR(archive_cmds, $1)=''
 
2942
+    _LT_AC_TAGVAR(hardcode_direct, $1)=yes
 
2943
+    _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
 
2944
+    _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
 
2945
+
 
2946
+    if test "$GXX" = yes; then
 
2947
+      case $host_os in aix4.[[012]]|aix4.[[012]].*)
 
2948
+      # We only want to do this on AIX 4.2 and lower, the check
 
2949
+      # below for broken collect2 doesn't work under 4.3+
 
2950
+       collect2name=`${CC} -print-prog-name=collect2`
 
2951
+       if test -f "$collect2name" && \
 
2952
+          strings "$collect2name" | grep resolve_lib_name >/dev/null
 
2953
+       then
 
2954
+         # We have reworked collect2
 
2955
+         _LT_AC_TAGVAR(hardcode_direct, $1)=yes
 
2956
+       else
 
2957
+         # We have old collect2
 
2958
+         _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
 
2959
+         # It fails to find uninstalled libraries when the uninstalled
 
2960
+         # path is not listed in the libpath.  Setting hardcode_minus_L
 
2961
+         # to unsupported forces relinking
 
2962
+         _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
 
2963
+         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
 
2964
+         _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
 
2965
+       fi
 
2966
+       ;;
 
2967
+      esac
 
2968
+      shared_flag='-shared'
 
2969
+      if test "$aix_use_runtimelinking" = yes; then
 
2970
+       shared_flag="$shared_flag "'${wl}-G'
 
2971
+      fi
 
2972
+    else
 
2973
+      # not using gcc
 
2974
+      if test "$host_cpu" = ia64; then
 
2975
+       # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
2976
+       # chokes on -Wl,-G. The following line is correct:
 
2977
+       shared_flag='-G'
 
2978
+      else
 
2979
+       if test "$aix_use_runtimelinking" = yes; then
 
2980
+         shared_flag='${wl}-G'
 
2981
+       else
 
2982
+         shared_flag='${wl}-bM:SRE'
 
2983
+       fi
 
2984
+      fi
 
2985
+    fi
 
2986
+
 
2987
+    # It seems that -bexpall does not export symbols beginning with
 
2988
+    # underscore (_), so it is better to generate a list of symbols to export.
 
2989
+    _LT_AC_TAGVAR(always_export_symbols, $1)=yes
 
2990
+    if test "$aix_use_runtimelinking" = yes; then
 
2991
+      # Warning - without using the other runtime loading flags (-brtl),
 
2992
+      # -berok will link without error, but may produce a broken library.
 
2993
+      _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
 
2994
+      # Determine the default libpath from the value encoded in an empty executable.
 
2995
+      _LT_AC_SYS_LIBPATH_AIX
 
2996
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
 
2997
+
 
2998
+      _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"
 
2999
+     else
 
3000
+      if test "$host_cpu" = ia64; then
 
3001
+       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
 
3002
+       _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
 
3003
+       _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"
 
3004
+      else
 
3005
+       # Determine the default libpath from the value encoded in an empty executable.
 
3006
+       _LT_AC_SYS_LIBPATH_AIX
 
3007
+       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
 
3008
+       # Warning - without using the other run time loading flags,
 
3009
+       # -berok will link without error, but may produce a broken library.
 
3010
+       _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
 
3011
+       _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
 
3012
+       # Exported symbols can be pulled into shared objects from archives
 
3013
+       _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
 
3014
+       _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
 
3015
+       # This is similar to how AIX traditionally builds its shared libraries.
 
3016
+       _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'
 
3017
+      fi
 
3018
+    fi
 
3019
+    ;;
 
3020
+
 
3021
+  beos*)
 
3022
+    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
3023
+      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
 
3024
+      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 
3025
+      # support --undefined.  This deserves some investigation.  FIXME
 
3026
+      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
3027
+    else
 
3028
+      _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
3029
+    fi
 
3030
+    ;;
 
3031
+
 
3032
+  chorus*)
 
3033
+    case $cc_basename in
 
3034
+      *)
 
3035
+       # FIXME: insert proper C++ library support
 
3036
+       _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
3037
+       ;;
 
3038
+    esac
 
3039
+    ;;
 
3040
+
 
3041
+  cygwin* | mingw* | pw32*)
 
3042
+    # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
 
3043
+    # as there is no search path for DLLs.
 
3044
+    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
 
3045
+    _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
 
3046
+    _LT_AC_TAGVAR(always_export_symbols, $1)=no
 
3047
+    _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
 
3048
+
 
3049
+    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
 
3050
+      _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'
 
3051
+      # If the export-symbols file already is a .def file (1st line
 
3052
+      # is EXPORTS), use it as is; otherwise, prepend...
 
3053
+      _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
3054
+       cp $export_symbols $output_objdir/$soname.def;
 
3055
+      else
 
3056
+       echo EXPORTS > $output_objdir/$soname.def;
 
3057
+       cat $export_symbols >> $output_objdir/$soname.def;
 
3058
+      fi~
 
3059
+      $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'
 
3060
+    else
 
3061
+      _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
3062
+    fi
 
3063
+  ;;
 
3064
+      darwin* | rhapsody*)
 
3065
+        case $host_os in
 
3066
+        rhapsody* | darwin1.[[012]])
 
3067
+         _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress'
 
3068
+         ;;
 
3069
+       *) # Darwin 1.3 on
 
3070
+         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
 
3071
+           _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
3072
+         else
 
3073
+           case ${MACOSX_DEPLOYMENT_TARGET} in
 
3074
+             10.[[012]])
 
3075
+               _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
3076
+               ;;
 
3077
+             10.*)
 
3078
+               _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup'
 
3079
+               ;;
 
3080
+           esac
 
3081
+         fi
 
3082
+         ;;
 
3083
+        esac
 
3084
+      _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
 
3085
+      _LT_AC_TAGVAR(hardcode_direct, $1)=no
 
3086
+      _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
 
3087
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
 
3088
+      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''
 
3089
+      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
 
3090
+
 
3091
+    if test "$GXX" = yes ; then
 
3092
+      lt_int_apple_cc_single_mod=no
 
3093
+      output_verbose_link_cmd='echo'
 
3094
+      if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
 
3095
+       lt_int_apple_cc_single_mod=yes
 
3096
+      fi
 
3097
+      if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
 
3098
+       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
 
3099
+      else
 
3100
+          _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'
 
3101
+        fi
 
3102
+        _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
3103
+        # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
3104
+          if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
 
3105
+            _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
3106
+          else
 
3107
+            _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
3108
+          fi
 
3109
+            _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}'
 
3110
+      else
 
3111
+      case $cc_basename in
 
3112
+        xlc*)
 
3113
+         output_verbose_link_cmd='echo'
 
3114
+          _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
3115
+          _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
3116
+          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
3117
+          _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
3118
+          _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}'
 
3119
+          ;;
 
3120
+       *)
 
3121
+         _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
3122
+          ;;
 
3123
+      esac
 
3124
+      fi
 
3125
+        ;;
 
3126
+
 
3127
+  dgux*)
 
3128
+    case $cc_basename in
 
3129
+      ec++*)
 
3130
+       # FIXME: insert proper C++ library support
 
3131
+       _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
3132
+       ;;
 
3133
+      ghcx*)
 
3134
+       # Green Hills C++ Compiler
 
3135
+       # FIXME: insert proper C++ library support
 
3136
+       _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
3137
+       ;;
 
3138
+      *)
 
3139
+       # FIXME: insert proper C++ library support
 
3140
+       _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
3141
+       ;;
 
3142
+    esac
 
3143
+    ;;
 
3144
+  freebsd[[12]]*)
 
3145
+    # C++ shared libraries reported to be fairly broken before switch to ELF
 
3146
+    _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
3147
+    ;;
 
3148
+  freebsd-elf*)
 
3149
+    _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
 
3150
+    ;;
 
3151
+  freebsd* | dragonfly*)
 
3152
+    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
 
3153
+    # conventions
 
3154
+    _LT_AC_TAGVAR(ld_shlibs, $1)=yes
 
3155
+    ;;
 
3156
+  gnu*)
 
3157
+    ;;
 
3158
+  hpux9*)
 
3159
+    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
 
3160
+    _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
 
3161
+    _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
 
3162
+    _LT_AC_TAGVAR(hardcode_direct, $1)=yes
 
3163
+    _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
 
3164
+                               # but as the default
 
3165
+                               # location of the library.
 
3166
+
 
3167
+    case $cc_basename in
 
3168
+    CC*)
 
3169
+      # FIXME: insert proper C++ library support
 
3170
+      _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
3171
+      ;;
 
3172
+    aCC*)
 
3173
+      _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'
 
3174
+      # Commands to make compiler produce verbose output that lists
 
3175
+      # what "hidden" libraries, object files and flags are used when
 
3176
+      # linking a shared library.
 
3177
+      #
 
3178
+      # There doesn't appear to be a way to prevent this compiler from
 
3179
+      # explicitly linking system object files so we need to strip them
 
3180
+      # from the output so that they don't get included in the library
 
3181
+      # dependencies.
 
3182
+      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'
 
3183
+      ;;
 
3184
+    *)
 
3185
+      if test "$GXX" = yes; then
 
3186
+        _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'
 
3187
+      else
 
3188
+        # FIXME: insert proper C++ library support
 
3189
+        _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
3190
+      fi
 
3191
+      ;;
 
3192
+    esac
 
3193
+    ;;
 
3194
+  hpux10*|hpux11*)
 
3195
+    if test $with_gnu_ld = no; then
 
3196
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
 
3197
+      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
 
3198
+
 
3199
+      case $host_cpu in
 
3200
+      hppa*64*|ia64*)
 
3201
+       _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
 
3202
+        ;;
 
3203
+      *)
 
3204
+       _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
 
3205
+        ;;
 
3206
+      esac
 
3207
+    fi
 
3208
+    case $host_cpu in
 
3209
+    hppa*64*|ia64*)
 
3210
+      _LT_AC_TAGVAR(hardcode_direct, $1)=no
 
3211
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
 
3212
+      ;;
 
3213
+    *)
 
3214
+      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
 
3215
+      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
 
3216
+                                             # but as the default
 
3217
+                                             # location of the library.
 
3218
+      ;;
 
3219
+    esac
 
3220
+
 
3221
+    case $cc_basename in
 
3222
+      CC*)
 
3223
+       # FIXME: insert proper C++ library support
 
3224
+       _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
3225
+       ;;
 
3226
+      aCC*)
 
3227
+       case $host_cpu in
 
3228
+       hppa*64*)
 
3229
+         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
3230
+         ;;
 
3231
+       ia64*)
 
3232
+         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
3233
+         ;;
 
3234
+       *)
 
3235
+         _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'
 
3236
+         ;;
 
3237
+       esac
 
3238
+       # Commands to make compiler produce verbose output that lists
 
3239
+       # what "hidden" libraries, object files and flags are used when
 
3240
+       # linking a shared library.
 
3241
+       #
 
3242
+       # There doesn't appear to be a way to prevent this compiler from
 
3243
+       # explicitly linking system object files so we need to strip them
 
3244
+       # from the output so that they don't get included in the library
 
3245
+       # dependencies.
 
3246
+       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'
 
3247
+       ;;
 
3248
+      *)
 
3249
+       if test "$GXX" = yes; then
 
3250
+         if test $with_gnu_ld = no; then
 
3251
+           case $host_cpu in
 
3252
+           hppa*64*)
 
3253
+             _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
3254
+             ;;
 
3255
+           ia64*)
 
3256
+             _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'
 
3257
+             ;;
 
3258
+           *)
 
3259
+             _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'
 
3260
+             ;;
 
3261
+           esac
 
3262
+         fi
 
3263
+       else
 
3264
+         # FIXME: insert proper C++ library support
 
3265
+         _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
3266
+       fi
 
3267
+       ;;
 
3268
+    esac
 
3269
+    ;;
 
3270
+  interix3*)
 
3271
+    _LT_AC_TAGVAR(hardcode_direct, $1)=no
 
3272
+    _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
 
3273
+    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
 
3274
+    _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
 
3275
+    # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
3276
+    # Instead, shared libraries are loaded at an image base (0x10000000 by
 
3277
+    # default) and relocated if they conflict, which is a slow very memory
 
3278
+    # consuming and fragmenting process.  To avoid this, we pick a random,
 
3279
+    # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
3280
+    # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
3281
+    _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'
 
3282
+    _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'
 
3283
+    ;;
 
3284
+  irix5* | irix6*)
 
3285
+    case $cc_basename in
 
3286
+      CC*)
 
3287
+       # SGI C++
 
3288
+       _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'
 
3289
+
 
3290
+       # Archives containing C++ object files must be created using
 
3291
+       # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
 
3292
+       # necessary to make sure instantiated templates are included
 
3293
+       # in the archive.
 
3294
+       _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
 
3295
+       ;;
 
3296
+      *)
 
3297
+       if test "$GXX" = yes; then
 
3298
+         if test "$with_gnu_ld" = no; then
 
3299
+           _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'
 
3300
+         else
 
3301
+           _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'
 
3302
+         fi
 
3303
+       fi
 
3304
+       _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
 
3305
+       ;;
 
3306
+    esac
 
3307
+    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
 
3308
+    _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
 
3309
+    ;;
 
3310
+  linux* | k*bsd*-gnu)
 
3311
+    case $cc_basename in
 
3312
+      KCC*)
 
3313
+       # Kuck and Associates, Inc. (KAI) C++ Compiler
 
3314
+
 
3315
+       # KCC will only create a shared library if the output file
 
3316
+       # ends with ".so" (or ".sl" for HP-UX), so rename the library
 
3317
+       # to its proper name (with version) after linking.
 
3318
+       _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'
 
3319
+       _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'
 
3320
+       # Commands to make compiler produce verbose output that lists
 
3321
+       # what "hidden" libraries, object files and flags are used when
 
3322
+       # linking a shared library.
 
3323
+       #
 
3324
+       # There doesn't appear to be a way to prevent this compiler from
 
3325
+       # explicitly linking system object files so we need to strip them
 
3326
+       # from the output so that they don't get included in the library
 
3327
+       # dependencies.
 
3328
+       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'
 
3329
+
 
3330
+       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath,$libdir'
 
3331
+       _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
 
3332
+
 
3333
+       # Archives containing C++ object files must be created using
 
3334
+       # "CC -Bstatic", where "CC" is the KAI C++ compiler.
 
3335
+       _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
 
3336
+       ;;
 
3337
+      icpc*)
 
3338
+       # Intel C++
 
3339
+       with_gnu_ld=yes
 
3340
+       # version 8.0 and above of icpc choke on multiply defined symbols
 
3341
+       # if we add $predep_objects and $postdep_objects, however 7.1 and
 
3342
+       # earlier do not add the objects themselves.
 
3343
+       case `$CC -V 2>&1` in
 
3344
+       *"Version 7."*)
 
3345
+         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
3346
+         _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'
 
3347
+         ;;
 
3348
+       *)  # Version 8.0 or newer
 
3349
+         tmp_idyn=
 
3350
+         case $host_cpu in
 
3351
+           ia64*) tmp_idyn=' -i_dynamic';;
 
3352
+         esac
 
3353
+         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
3354
+         _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'
 
3355
+         ;;
 
3356
+       esac
 
3357
+       _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
 
3358
+       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
 
3359
+       _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
 
3360
+       _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
3361
+       ;;
 
3362
+      pgCC*)
 
3363
+        # Portland Group C++ compiler
 
3364
+       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
 
3365
+       _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'
 
3366
+
 
3367
+       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
 
3368
+       _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
 
3369
+       _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'
 
3370
+        ;;
 
3371
+      cxx*)
 
3372
+       # Compaq C++
 
3373
+       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
3374
+       _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'
 
3375
+
 
3376
+       runpath_var=LD_RUN_PATH
 
3377
+       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
 
3378
+       _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
 
3379
+
 
3380
+       # Commands to make compiler produce verbose output that lists
 
3381
+       # what "hidden" libraries, object files and flags are used when
 
3382
+       # linking a shared library.
 
3383
+       #
 
3384
+       # There doesn't appear to be a way to prevent this compiler from
 
3385
+       # explicitly linking system object files so we need to strip them
 
3386
+       # from the output so that they don't get included in the library
 
3387
+       # dependencies.
 
3388
+       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'
 
3389
+       ;;
 
3390
+    esac
 
3391
+    ;;
 
3392
+  lynxos*)
 
3393
+    # FIXME: insert proper C++ library support
 
3394
+    _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
3395
+    ;;
 
3396
+  m88k*)
 
3397
+    # FIXME: insert proper C++ library support
 
3398
+    _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
3399
+    ;;
 
3400
+  mvs*)
 
3401
+    case $cc_basename in
 
3402
+      cxx*)
 
3403
+       # FIXME: insert proper C++ library support
 
3404
+       _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
3405
+       ;;
 
3406
+      *)
 
3407
+       # FIXME: insert proper C++ library support
 
3408
+       _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
3409
+       ;;
 
3410
+    esac
 
3411
+    ;;
 
3412
+  netbsd* | netbsdelf*-gnu)
 
3413
+    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
3414
+      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
 
3415
+      wlarc=
 
3416
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
 
3417
+      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
 
3418
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
 
3419
+    fi
 
3420
+    # Workaround some broken pre-1.5 toolchains
 
3421
+    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
 
3422
+    ;;
 
3423
+  openbsd2*)
 
3424
+    # C++ shared libraries are fairly broken
 
3425
+    _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
3426
+    ;;
 
3427
+  openbsd*)
 
3428
+    _LT_AC_TAGVAR(hardcode_direct, $1)=yes
 
3429
+    _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
 
3430
+    _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 
3431
+    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
 
3432
+    if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
3433
+      _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'
 
3434
+      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
 
3435
+      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
3436
+    fi
 
3437
+    output_verbose_link_cmd='echo'
 
3438
+    ;;
 
3439
+  osf3*)
 
3440
+    case $cc_basename in
 
3441
+      KCC*)
 
3442
+       # Kuck and Associates, Inc. (KAI) C++ Compiler
 
3443
+
 
3444
+       # KCC will only create a shared library if the output file
 
3445
+       # ends with ".so" (or ".sl" for HP-UX), so rename the library
 
3446
+       # to its proper name (with version) after linking.
 
3447
+       _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'
 
3448
+
 
3449
+       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
 
3450
+       _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
 
3451
+
 
3452
+       # Archives containing C++ object files must be created using
 
3453
+       # "CC -Bstatic", where "CC" is the KAI C++ compiler.
 
3454
+       _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
 
3455
+
 
3456
+       ;;
 
3457
+      RCC*)
 
3458
+       # Rational C++ 2.4.1
 
3459
+       # FIXME: insert proper C++ library support
 
3460
+       _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
3461
+       ;;
 
3462
+      cxx*)
 
3463
+       _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
 
3464
+       _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'
 
3465
+
 
3466
+       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
 
3467
+       _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
 
3468
+
 
3469
+       # Commands to make compiler produce verbose output that lists
 
3470
+       # what "hidden" libraries, object files and flags are used when
 
3471
+       # linking a shared library.
 
3472
+       #
 
3473
+       # There doesn't appear to be a way to prevent this compiler from
 
3474
+       # explicitly linking system object files so we need to strip them
 
3475
+       # from the output so that they don't get included in the library
 
3476
+       # dependencies.
 
3477
+       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'
 
3478
+       ;;
 
3479
+      *)
 
3480
+       if test "$GXX" = yes && test "$with_gnu_ld" = no; then
 
3481
+         _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
 
3482
+         _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'
 
3483
+
 
3484
+         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
 
3485
+         _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
 
3486
+
 
3487
+         # Commands to make compiler produce verbose output that lists
 
3488
+         # what "hidden" libraries, object files and flags are used when
 
3489
+         # linking a shared library.
 
3490
+         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
 
3491
+
 
3492
+       else
 
3493
+         # FIXME: insert proper C++ library support
 
3494
+         _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
3495
+       fi
 
3496
+       ;;
 
3497
+    esac
 
3498
+    ;;
 
3499
+  osf4* | osf5*)
 
3500
+    case $cc_basename in
 
3501
+      KCC*)
 
3502
+       # Kuck and Associates, Inc. (KAI) C++ Compiler
 
3503
+
 
3504
+       # KCC will only create a shared library if the output file
 
3505
+       # ends with ".so" (or ".sl" for HP-UX), so rename the library
 
3506
+       # to its proper name (with version) after linking.
 
3507
+       _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'
 
3508
+
 
3509
+       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
 
3510
+       _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
 
3511
+
 
3512
+       # Archives containing C++ object files must be created using
 
3513
+       # the KAI C++ compiler.
 
3514
+       _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs'
 
3515
+       ;;
 
3516
+      RCC*)
 
3517
+       # Rational C++ 2.4.1
 
3518
+       # FIXME: insert proper C++ library support
 
3519
+       _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
3520
+       ;;
 
3521
+      cxx*)
 
3522
+       _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
 
3523
+       _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'
 
3524
+       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
 
3525
+         echo "-hidden">> $lib.exp~
 
3526
+         $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~
 
3527
+         $rm $lib.exp'
 
3528
+
 
3529
+       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
 
3530
+       _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
 
3531
+
 
3532
+       # Commands to make compiler produce verbose output that lists
 
3533
+       # what "hidden" libraries, object files and flags are used when
 
3534
+       # linking a shared library.
 
3535
+       #
 
3536
+       # There doesn't appear to be a way to prevent this compiler from
 
3537
+       # explicitly linking system object files so we need to strip them
 
3538
+       # from the output so that they don't get included in the library
 
3539
+       # dependencies.
 
3540
+       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'
 
3541
+       ;;
 
3542
+      *)
 
3543
+       if test "$GXX" = yes && test "$with_gnu_ld" = no; then
 
3544
+         _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
 
3545
+        _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'
 
3546
+
 
3547
+         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
 
3548
+         _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
 
3549
+
 
3550
+         # Commands to make compiler produce verbose output that lists
 
3551
+         # what "hidden" libraries, object files and flags are used when
 
3552
+         # linking a shared library.
 
3553
+         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
 
3554
+
 
3555
+       else
 
3556
+         # FIXME: insert proper C++ library support
 
3557
+         _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
3558
+       fi
 
3559
+       ;;
 
3560
+    esac
 
3561
+    ;;
 
3562
+  psos*)
 
3563
+    # FIXME: insert proper C++ library support
 
3564
+    _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
3565
+    ;;
 
3566
+  sunos4*)
 
3567
+    case $cc_basename in
 
3568
+      CC*)
 
3569
+       # Sun C++ 4.x
 
3570
+       # FIXME: insert proper C++ library support
 
3571
+       _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
3572
+       ;;
 
3573
+      lcc*)
 
3574
+       # Lucid
 
3575
+       # FIXME: insert proper C++ library support
 
3576
+       _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
3577
+       ;;
 
3578
+      *)
 
3579
+       # FIXME: insert proper C++ library support
 
3580
+       _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
3581
+       ;;
 
3582
+    esac
 
3583
+    ;;
 
3584
+  solaris*)
 
3585
+    case $cc_basename in
 
3586
+      CC*)
 
3587
+       # Sun C++ 4.2, 5.x and Centerline C++
 
3588
+        _LT_AC_TAGVAR(archive_cmds_need_lc,$1)=yes
 
3589
+       _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'
 
3590
+       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
3591
+       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 
3592
+       $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'
 
3593
+
 
3594
+       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
 
3595
+       _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
 
3596
+       case $host_os in
 
3597
+         solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
 
3598
+         *)
 
3599
+           # The C++ compiler is used as linker so we must use $wl
 
3600
+           # flag to pass the commands to the underlying system
 
3601
+           # linker. We must also pass each convience library through
 
3602
+           # to the system linker between allextract/defaultextract.
 
3603
+           # The C++ compiler will combine linker options so we
 
3604
+           # cannot just pass the convience library names through
 
3605
+           # without $wl.
 
3606
+           # Supported since Solaris 2.6 (maybe 2.5.1?)
 
3607
+           _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
 
3608
+           ;;
 
3609
+       esac
 
3610
+       _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
 
3611
+
 
3612
+       output_verbose_link_cmd='echo'
 
3613
+
 
3614
+       # Archives containing C++ object files must be created using
 
3615
+       # "CC -xar", where "CC" is the Sun C++ compiler.  This is
 
3616
+       # necessary to make sure instantiated templates are included
 
3617
+       # in the archive.
 
3618
+       _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
 
3619
+       ;;
 
3620
+      gcx*)
 
3621
+       # Green Hills C++ Compiler
 
3622
+       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
3623
+
 
3624
+       # The C++ compiler must be used to create the archive.
 
3625
+       _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
 
3626
+       ;;
 
3627
+      *)
 
3628
+       # GNU C++ compiler with Solaris linker
 
3629
+       if test "$GXX" = yes && test "$with_gnu_ld" = no; then
 
3630
+         _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
 
3631
+         if $CC --version | grep -v '^2\.7' > /dev/null; then
 
3632
+           _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
3633
+           _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 
3634
+               $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
 
3635
+
 
3636
+           # Commands to make compiler produce verbose output that lists
 
3637
+           # what "hidden" libraries, object files and flags are used when
 
3638
+           # linking a shared library.
 
3639
+           output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
 
3640
+         else
 
3641
+           # g++ 2.7 appears to require `-G' NOT `-shared' on this
 
3642
+           # platform.
 
3643
+           _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
3644
+           _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 
3645
+               $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
 
3646
+
 
3647
+           # Commands to make compiler produce verbose output that lists
 
3648
+           # what "hidden" libraries, object files and flags are used when
 
3649
+           # linking a shared library.
 
3650
+           output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
 
3651
+         fi
 
3652
+
 
3653
+         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
 
3654
+       fi
 
3655
+       ;;
 
3656
+    esac
 
3657
+    ;;
 
3658
+  sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
 
3659
+    _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
 
3660
+    _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
 
3661
+    _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
 
3662
+    runpath_var='LD_RUN_PATH'
 
3663
+
 
3664
+    case $cc_basename in
 
3665
+      CC*)
 
3666
+       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
3667
+       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
3668
+       ;;
 
3669
+      *)
 
3670
+       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
3671
+       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
3672
+       ;;
 
3673
+    esac
 
3674
+    ;;
 
3675
+  sysv5* | sco3.2v5* | sco5v6*)
 
3676
+    # Note: We can NOT use -z defs as we might desire, because we do not
 
3677
+    # link with -lc, and that would cause any symbols used from libc to
 
3678
+    # always be unresolved, which means just about no library would
 
3679
+    # ever link correctly.  If we're not using GNU ld we use -z text
 
3680
+    # though, which does catch some bad symbols but isn't as heavy-handed
 
3681
+    # as -z defs.
 
3682
+    # For security reasons, it is highly recommended that you always
 
3683
+    # use absolute paths for naming shared libraries, and exclude the
 
3684
+    # DT_RUNPATH tag from executables and libraries.  But doing so
 
3685
+    # requires that you compile everything twice, which is a pain.
 
3686
+    # So that behaviour is only enabled if SCOABSPATH is set to a
 
3687
+    # non-empty value in the environment.  Most likely only useful for
 
3688
+    # creating official distributions of packages.
 
3689
+    # This is a hack until libtool officially supports absolute path
 
3690
+    # names for shared libraries.
 
3691
+    _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
 
3692
+    _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
 
3693
+    _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
 
3694
+    _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
 
3695
+    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
3696
+    _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
 
3697
+    _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
 
3698
+    _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
 
3699
+    runpath_var='LD_RUN_PATH'
 
3700
+
 
3701
+    case $cc_basename in
 
3702
+      CC*)
 
3703
+       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
3704
+       _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'
 
3705
+       ;;
 
3706
+      *)
 
3707
+       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
3708
+       _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'
 
3709
+       ;;
 
3710
+    esac
 
3711
+    ;;
 
3712
+  tandem*)
 
3713
+    case $cc_basename in
 
3714
+      NCC*)
 
3715
+       # NonStop-UX NCC 3.20
 
3716
+       # FIXME: insert proper C++ library support
 
3717
+       _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
3718
+       ;;
 
3719
+      *)
 
3720
+       # FIXME: insert proper C++ library support
 
3721
+       _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
3722
+       ;;
 
3723
+    esac
 
3724
+    ;;
 
3725
+  vxworks*)
 
3726
+    # FIXME: insert proper C++ library support
 
3727
+    _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
3728
+    ;;
 
3729
+  *)
 
3730
+    # FIXME: insert proper C++ library support
 
3731
+    _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
3732
+    ;;
 
3733
+esac
 
3734
+AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
 
3735
+test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
 
3736
+
 
3737
+_LT_AC_TAGVAR(GCC, $1)="$GXX"
 
3738
+_LT_AC_TAGVAR(LD, $1)="$LD"
 
3739
+
 
3740
+AC_LIBTOOL_POSTDEP_PREDEP($1)
 
3741
+AC_LIBTOOL_PROG_COMPILER_PIC($1)
 
3742
+AC_LIBTOOL_PROG_CC_C_O($1)
 
3743
+AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
 
3744
+AC_LIBTOOL_PROG_LD_SHLIBS($1)
 
3745
+AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
 
3746
+AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
 
3747
+
 
3748
+AC_LIBTOOL_CONFIG($1)
 
3749
+
 
3750
+AC_LANG_POP
 
3751
+CC=$lt_save_CC
 
3752
+LDCXX=$LD
 
3753
+LD=$lt_save_LD
 
3754
+GCC=$lt_save_GCC
 
3755
+with_gnu_ldcxx=$with_gnu_ld
 
3756
+with_gnu_ld=$lt_save_with_gnu_ld
 
3757
+lt_cv_path_LDCXX=$lt_cv_path_LD
 
3758
+lt_cv_path_LD=$lt_save_path_LD
 
3759
+lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
 
3760
+lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
 
3761
+])# AC_LIBTOOL_LANG_CXX_CONFIG
 
3762
+
 
3763
+# AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME])
 
3764
+# ------------------------------------
 
3765
+# Figure out "hidden" library dependencies from verbose
 
3766
+# compiler output when linking a shared library.
 
3767
+# Parse the compiler output and extract the necessary
 
3768
+# objects, libraries and library flags.
 
3769
+AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],[
 
3770
+dnl we can't use the lt_simple_compile_test_code here,
 
3771
+dnl because it contains code intended for an executable,
 
3772
+dnl not a library.  It's possible we should let each
 
3773
+dnl tag define a new lt_????_link_test_code variable,
 
3774
+dnl but it's only used here...
 
3775
+ifelse([$1],[],[cat > conftest.$ac_ext <<EOF
 
3776
+int a;
 
3777
+void foo (void) { a = 0; }
 
3778
+EOF
 
3779
+],[$1],[CXX],[cat > conftest.$ac_ext <<EOF
 
3780
+class Foo
 
3781
+{
 
3782
+public:
 
3783
+  Foo (void) { a = 0; }
 
3784
+private:
 
3785
+  int a;
 
3786
+};
 
3787
+EOF
 
3788
+],[$1],[F77],[cat > conftest.$ac_ext <<EOF
 
3789
+      subroutine foo
 
3790
+      implicit none
 
3791
+      integer*4 a
 
3792
+      a=0
 
3793
+      return
 
3794
+      end
 
3795
+EOF
 
3796
+],[$1],[GCJ],[cat > conftest.$ac_ext <<EOF
 
3797
+public class foo {
 
3798
+  private int a;
 
3799
+  public void bar (void) {
 
3800
+    a = 0;
 
3801
+  }
 
3802
+};
 
3803
+EOF
 
3804
+])
 
3805
+dnl Parse the compiler output and extract the necessary
 
3806
+dnl objects, libraries and library flags.
 
3807
+if AC_TRY_EVAL(ac_compile); then
 
3808
+  # Parse the compiler output and extract the necessary
 
3809
+  # objects, libraries and library flags.
 
3810
+
 
3811
+  # Sentinel used to keep track of whether or not we are before
 
3812
+  # the conftest object file.
 
3813
+  pre_test_object_deps_done=no
 
3814
+
 
3815
+  # The `*' in the case matches for architectures that use `case' in
 
3816
+  # $output_verbose_cmd can trigger glob expansion during the loop
 
3817
+  # eval without this substitution.
 
3818
+  output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
 
3819
+
 
3820
+  for p in `eval $output_verbose_link_cmd`; do
 
3821
+    case $p in
 
3822
+
 
3823
+    -L* | -R* | -l*)
 
3824
+       # Some compilers place space between "-{L,R}" and the path.
 
3825
+       # Remove the space.
 
3826
+       if test $p = "-L" \
 
3827
+         || test $p = "-R"; then
 
3828
+        prev=$p
 
3829
+        continue
 
3830
+       else
 
3831
+        prev=
 
3832
+       fi
 
3833
+
 
3834
+       if test "$pre_test_object_deps_done" = no; then
 
3835
+        case $p in
 
3836
+        -L* | -R*)
 
3837
+          # Internal compiler library paths should come after those
 
3838
+          # provided the user.  The postdeps already come after the
 
3839
+          # user supplied libs so there is no need to process them.
 
3840
+          if test -z "$_LT_AC_TAGVAR(compiler_lib_search_path, $1)"; then
 
3841
+            _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}"
 
3842
+          else
 
3843
+            _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${_LT_AC_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"
 
3844
+          fi
 
3845
+          ;;
 
3846
+        # The "-l" case would never come before the object being
 
3847
+        # linked, so don't bother handling this case.
 
3848
+        esac
 
3849
+       else
 
3850
+        if test -z "$_LT_AC_TAGVAR(postdeps, $1)"; then
 
3851
+          _LT_AC_TAGVAR(postdeps, $1)="${prev}${p}"
 
3852
+        else
 
3853
+          _LT_AC_TAGVAR(postdeps, $1)="${_LT_AC_TAGVAR(postdeps, $1)} ${prev}${p}"
 
3854
+        fi
 
3855
+       fi
 
3856
+       ;;
 
3857
+
 
3858
+    *.$objext)
 
3859
+       # This assumes that the test object file only shows up
 
3860
+       # once in the compiler output.
 
3861
+       if test "$p" = "conftest.$objext"; then
 
3862
+        pre_test_object_deps_done=yes
 
3863
+        continue
 
3864
+       fi
 
3865
+
 
3866
+       if test "$pre_test_object_deps_done" = no; then
 
3867
+        if test -z "$_LT_AC_TAGVAR(predep_objects, $1)"; then
 
3868
+          _LT_AC_TAGVAR(predep_objects, $1)="$p"
 
3869
+        else
 
3870
+          _LT_AC_TAGVAR(predep_objects, $1)="$_LT_AC_TAGVAR(predep_objects, $1) $p"
 
3871
+        fi
 
3872
+       else
 
3873
+        if test -z "$_LT_AC_TAGVAR(postdep_objects, $1)"; then
 
3874
+          _LT_AC_TAGVAR(postdep_objects, $1)="$p"
 
3875
+        else
 
3876
+          _LT_AC_TAGVAR(postdep_objects, $1)="$_LT_AC_TAGVAR(postdep_objects, $1) $p"
 
3877
+        fi
 
3878
+       fi
 
3879
+       ;;
 
3880
+
 
3881
+    *) ;; # Ignore the rest.
 
3882
+
 
3883
+    esac
 
3884
+  done
 
3885
+
 
3886
+  # Clean up.
 
3887
+  rm -f a.out a.exe
 
3888
+else
 
3889
+  echo "libtool.m4: error: problem compiling $1 test program"
 
3890
+fi
 
3891
+
 
3892
+$rm -f confest.$objext
 
3893
+
 
3894
+# PORTME: override above test on systems where it is broken
 
3895
+ifelse([$1],[CXX],
 
3896
+[case $host_os in
 
3897
+interix3*)
 
3898
+  # Interix 3.5 installs completely hosed .la files for C++, so rather than
 
3899
+  # hack all around it, let's just trust "g++" to DTRT.
 
3900
+  _LT_AC_TAGVAR(predep_objects,$1)=
 
3901
+  _LT_AC_TAGVAR(postdep_objects,$1)=
 
3902
+  _LT_AC_TAGVAR(postdeps,$1)=
 
3903
+  ;;
 
3904
+
 
3905
+solaris*)
 
3906
+  case $cc_basename in
 
3907
+  CC*)
 
3908
+    # Adding this requires a known-good setup of shared libraries for
 
3909
+    # Sun compiler versions before 5.6, else PIC objects from an old
 
3910
+    # archive will be linked into the output, leading to subtle bugs.
 
3911
+    _LT_AC_TAGVAR(postdeps,$1)='-lCstd -lCrun'
 
3912
+    ;;
 
3913
+  esac
 
3914
+  ;;
 
3915
+esac
 
3916
+])
 
3917
+
 
3918
+case " $_LT_AC_TAGVAR(postdeps, $1) " in
 
3919
+*" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;;
 
3920
+esac
 
3921
+])# AC_LIBTOOL_POSTDEP_PREDEP
 
3922
+
 
3923
+# AC_LIBTOOL_LANG_F77_CONFIG
 
3924
+# --------------------------
 
3925
+# Ensure that the configuration vars for the C compiler are
 
3926
+# suitably defined.  Those variables are subsequently used by
 
3927
+# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
 
3928
+AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG], [_LT_AC_LANG_F77_CONFIG(F77)])
 
3929
+AC_DEFUN([_LT_AC_LANG_F77_CONFIG],
 
3930
+[AC_REQUIRE([AC_PROG_F77])
 
3931
+AC_LANG_PUSH(Fortran 77)
 
3932
+
 
3933
+_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
 
3934
+_LT_AC_TAGVAR(allow_undefined_flag, $1)=
 
3935
+_LT_AC_TAGVAR(always_export_symbols, $1)=no
 
3936
+_LT_AC_TAGVAR(archive_expsym_cmds, $1)=
 
3937
+_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
 
3938
+_LT_AC_TAGVAR(hardcode_direct, $1)=no
 
3939
+_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
 
3940
+_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
 
3941
+_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
 
3942
+_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
 
3943
+_LT_AC_TAGVAR(hardcode_automatic, $1)=no
 
3944
+_LT_AC_TAGVAR(module_cmds, $1)=
 
3945
+_LT_AC_TAGVAR(module_expsym_cmds, $1)=
 
3946
+_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
 
3947
+_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
 
3948
+_LT_AC_TAGVAR(no_undefined_flag, $1)=
 
3949
+_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
 
3950
+_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
 
3951
+
 
3952
+# Source file extension for f77 test sources.
 
3953
+ac_ext=f
 
3954
+
 
3955
+# Object file extension for compiled f77 test sources.
 
3956
+objext=o
 
3957
+_LT_AC_TAGVAR(objext, $1)=$objext
 
3958
+
 
3959
+# Code to be used in simple compile tests
 
3960
+lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
 
3961
+
 
3962
+# Code to be used in simple link tests
 
3963
+lt_simple_link_test_code="      program t\n      end\n"
 
3964
+
 
3965
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
 
3966
+_LT_AC_SYS_COMPILER
 
3967
+
 
3968
+# save warnings/boilerplate of simple test code
 
3969
+_LT_COMPILER_BOILERPLATE
 
3970
+_LT_LINKER_BOILERPLATE
 
3971
+
 
3972
+# Allow CC to be a program name with arguments.
 
3973
+lt_save_CC="$CC"
 
3974
+CC=${F77-"f77"}
 
3975
+compiler=$CC
 
3976
+_LT_AC_TAGVAR(compiler, $1)=$CC
 
3977
+_LT_CC_BASENAME([$compiler])
 
3978
+
 
3979
+AC_MSG_CHECKING([if libtool supports shared libraries])
 
3980
+AC_MSG_RESULT([$can_build_shared])
 
3981
+
 
3982
+AC_MSG_CHECKING([whether to build shared libraries])
 
3983
+test "$can_build_shared" = "no" && enable_shared=no
 
3984
+
 
3985
+# On AIX, shared libraries and static libraries use the same namespace, and
 
3986
+# are all built from PIC.
 
3987
+case $host_os in
 
3988
+aix3*)
 
3989
+  test "$enable_shared" = yes && enable_static=no
 
3990
+  if test -n "$RANLIB"; then
 
3991
+    archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
3992
+    postinstall_cmds='$RANLIB $lib'
 
3993
+  fi
 
3994
+  ;;
 
3995
+aix4* | aix5*)
 
3996
+  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
3997
+    test "$enable_shared" = yes && enable_static=no
 
3998
+  fi
 
3999
+  ;;
 
4000
+esac
 
4001
+AC_MSG_RESULT([$enable_shared])
 
4002
+
 
4003
+AC_MSG_CHECKING([whether to build static libraries])
 
4004
+# Make sure either enable_shared or enable_static is yes.
 
4005
+test "$enable_shared" = yes || enable_static=yes
 
4006
+AC_MSG_RESULT([$enable_static])
 
4007
+
 
4008
+_LT_AC_TAGVAR(GCC, $1)="$G77"
 
4009
+_LT_AC_TAGVAR(LD, $1)="$LD"
 
4010
+
 
4011
+AC_LIBTOOL_PROG_COMPILER_PIC($1)
 
4012
+AC_LIBTOOL_PROG_CC_C_O($1)
 
4013
+AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
 
4014
+AC_LIBTOOL_PROG_LD_SHLIBS($1)
 
4015
+AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
 
4016
+AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
 
4017
+
 
4018
+AC_LIBTOOL_CONFIG($1)
 
4019
+
 
4020
+AC_LANG_POP
 
4021
+CC="$lt_save_CC"
 
4022
+])# AC_LIBTOOL_LANG_F77_CONFIG
 
4023
+
 
4024
+
 
4025
+# AC_LIBTOOL_LANG_GCJ_CONFIG
 
4026
+# --------------------------
 
4027
+# Ensure that the configuration vars for the C compiler are
 
4028
+# suitably defined.  Those variables are subsequently used by
 
4029
+# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
 
4030
+AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG], [_LT_AC_LANG_GCJ_CONFIG(GCJ)])
 
4031
+AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG],
 
4032
+[AC_LANG_SAVE
 
4033
+
 
4034
+# Source file extension for Java test sources.
 
4035
+ac_ext=java
 
4036
+
 
4037
+# Object file extension for compiled Java test sources.
 
4038
+objext=o
 
4039
+_LT_AC_TAGVAR(objext, $1)=$objext
 
4040
+
 
4041
+# Code to be used in simple compile tests
 
4042
+lt_simple_compile_test_code="class foo {}\n"
 
4043
+
 
4044
+# Code to be used in simple link tests
 
4045
+lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }\n'
 
4046
+
 
4047
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
 
4048
+_LT_AC_SYS_COMPILER
 
4049
+
 
4050
+# save warnings/boilerplate of simple test code
 
4051
+_LT_COMPILER_BOILERPLATE
 
4052
+_LT_LINKER_BOILERPLATE
 
4053
+
 
4054
+# Allow CC to be a program name with arguments.
 
4055
+lt_save_CC="$CC"
 
4056
+CC=${GCJ-"gcj"}
 
4057
+compiler=$CC
 
4058
+_LT_AC_TAGVAR(compiler, $1)=$CC
 
4059
+_LT_CC_BASENAME([$compiler])
 
4060
+
 
4061
+# GCJ did not exist at the time GCC didn't implicitly link libc in.
 
4062
+_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
 
4063
+
 
4064
+_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
 
4065
+
 
4066
+AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
 
4067
+AC_LIBTOOL_PROG_COMPILER_PIC($1)
 
4068
+AC_LIBTOOL_PROG_CC_C_O($1)
 
4069
+AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
 
4070
+AC_LIBTOOL_PROG_LD_SHLIBS($1)
 
4071
+AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
 
4072
+AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
 
4073
+
 
4074
+AC_LIBTOOL_CONFIG($1)
 
4075
+
 
4076
+AC_LANG_RESTORE
 
4077
+CC="$lt_save_CC"
 
4078
+])# AC_LIBTOOL_LANG_GCJ_CONFIG
 
4079
+
 
4080
+
 
4081
+# AC_LIBTOOL_LANG_RC_CONFIG
 
4082
+# -------------------------
 
4083
+# Ensure that the configuration vars for the Windows resource compiler are
 
4084
+# suitably defined.  Those variables are subsequently used by
 
4085
+# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
 
4086
+AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG], [_LT_AC_LANG_RC_CONFIG(RC)])
 
4087
+AC_DEFUN([_LT_AC_LANG_RC_CONFIG],
 
4088
+[AC_LANG_SAVE
 
4089
+
 
4090
+# Source file extension for RC test sources.
 
4091
+ac_ext=rc
 
4092
+
 
4093
+# Object file extension for compiled RC test sources.
 
4094
+objext=o
 
4095
+_LT_AC_TAGVAR(objext, $1)=$objext
 
4096
+
 
4097
+# Code to be used in simple compile tests
 
4098
+lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
 
4099
+
 
4100
+# Code to be used in simple link tests
 
4101
+lt_simple_link_test_code="$lt_simple_compile_test_code"
 
4102
+
 
4103
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
 
4104
+_LT_AC_SYS_COMPILER
 
4105
+
 
4106
+# save warnings/boilerplate of simple test code
 
4107
+_LT_COMPILER_BOILERPLATE
 
4108
+_LT_LINKER_BOILERPLATE
 
4109
+
 
4110
+# Allow CC to be a program name with arguments.
 
4111
+lt_save_CC="$CC"
 
4112
+CC=${RC-"windres"}
 
4113
+compiler=$CC
 
4114
+_LT_AC_TAGVAR(compiler, $1)=$CC
 
4115
+_LT_CC_BASENAME([$compiler])
 
4116
+_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
 
4117
+
 
4118
+AC_LIBTOOL_CONFIG($1)
 
4119
+
 
4120
+AC_LANG_RESTORE
 
4121
+CC="$lt_save_CC"
 
4122
+])# AC_LIBTOOL_LANG_RC_CONFIG
 
4123
+
 
4124
+
 
4125
+# AC_LIBTOOL_CONFIG([TAGNAME])
 
4126
+# ----------------------------
 
4127
+# If TAGNAME is not passed, then create an initial libtool script
 
4128
+# with a default configuration from the untagged config vars.  Otherwise
 
4129
+# add code to config.status for appending the configuration named by
 
4130
+# TAGNAME from the matching tagged config vars.
 
4131
+AC_DEFUN([AC_LIBTOOL_CONFIG],
 
4132
+[# The else clause should only fire when bootstrapping the
 
4133
+# libtool distribution, otherwise you forgot to ship ltmain.sh
 
4134
+# with your package, and you will get complaints that there are
 
4135
+# no rules to generate ltmain.sh.
 
4136
+if test -f "$ltmain"; then
 
4137
+  # See if we are running on zsh, and set the options which allow our commands through
 
4138
+  # without removal of \ escapes.
 
4139
+  if test -n "${ZSH_VERSION+set}" ; then
 
4140
+    setopt NO_GLOB_SUBST
 
4141
+  fi
 
4142
+  # Now quote all the things that may contain metacharacters while being
 
4143
+  # careful not to overquote the AC_SUBSTed values.  We take copies of the
 
4144
+  # variables and quote the copies for generation of the libtool script.
 
4145
+  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
 
4146
+    SED SHELL STRIP \
 
4147
+    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
 
4148
+    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
 
4149
+    deplibs_check_method reload_flag reload_cmds need_locks \
 
4150
+    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
 
4151
+    lt_cv_sys_global_symbol_to_c_name_address \
 
4152
+    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
 
4153
+    old_postinstall_cmds old_postuninstall_cmds \
 
4154
+    _LT_AC_TAGVAR(compiler, $1) \
 
4155
+    _LT_AC_TAGVAR(CC, $1) \
 
4156
+    _LT_AC_TAGVAR(LD, $1) \
 
4157
+    _LT_AC_TAGVAR(lt_prog_compiler_wl, $1) \
 
4158
+    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1) \
 
4159
+    _LT_AC_TAGVAR(lt_prog_compiler_static, $1) \
 
4160
+    _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) \
 
4161
+    _LT_AC_TAGVAR(export_dynamic_flag_spec, $1) \
 
4162
+    _LT_AC_TAGVAR(thread_safe_flag_spec, $1) \
 
4163
+    _LT_AC_TAGVAR(whole_archive_flag_spec, $1) \
 
4164
+    _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1) \
 
4165
+    _LT_AC_TAGVAR(old_archive_cmds, $1) \
 
4166
+    _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) \
 
4167
+    _LT_AC_TAGVAR(predep_objects, $1) \
 
4168
+    _LT_AC_TAGVAR(postdep_objects, $1) \
 
4169
+    _LT_AC_TAGVAR(predeps, $1) \
 
4170
+    _LT_AC_TAGVAR(postdeps, $1) \
 
4171
+    _LT_AC_TAGVAR(compiler_lib_search_path, $1) \
 
4172
+    _LT_AC_TAGVAR(archive_cmds, $1) \
 
4173
+    _LT_AC_TAGVAR(archive_expsym_cmds, $1) \
 
4174
+    _LT_AC_TAGVAR(postinstall_cmds, $1) \
 
4175
+    _LT_AC_TAGVAR(postuninstall_cmds, $1) \
 
4176
+    _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) \
 
4177
+    _LT_AC_TAGVAR(allow_undefined_flag, $1) \
 
4178
+    _LT_AC_TAGVAR(no_undefined_flag, $1) \
 
4179
+    _LT_AC_TAGVAR(export_symbols_cmds, $1) \
 
4180
+    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) \
 
4181
+    _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1) \
 
4182
+    _LT_AC_TAGVAR(hardcode_libdir_separator, $1) \
 
4183
+    _LT_AC_TAGVAR(hardcode_automatic, $1) \
 
4184
+    _LT_AC_TAGVAR(module_cmds, $1) \
 
4185
+    _LT_AC_TAGVAR(module_expsym_cmds, $1) \
 
4186
+    _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) \
 
4187
+    _LT_AC_TAGVAR(exclude_expsyms, $1) \
 
4188
+    _LT_AC_TAGVAR(include_expsyms, $1); do
 
4189
+
 
4190
+    case $var in
 
4191
+    _LT_AC_TAGVAR(old_archive_cmds, $1) | \
 
4192
+    _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) | \
 
4193
+    _LT_AC_TAGVAR(archive_cmds, $1) | \
 
4194
+    _LT_AC_TAGVAR(archive_expsym_cmds, $1) | \
 
4195
+    _LT_AC_TAGVAR(module_cmds, $1) | \
 
4196
+    _LT_AC_TAGVAR(module_expsym_cmds, $1) | \
 
4197
+    _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) | \
 
4198
+    _LT_AC_TAGVAR(export_symbols_cmds, $1) | \
 
4199
+    extract_expsyms_cmds | reload_cmds | finish_cmds | \
 
4200
+    postinstall_cmds | postuninstall_cmds | \
 
4201
+    old_postinstall_cmds | old_postuninstall_cmds | \
 
4202
+    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
 
4203
+      # Double-quote double-evaled strings.
 
4204
+      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
 
4205
+      ;;
 
4206
+    *)
 
4207
+      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
 
4208
+      ;;
 
4209
+    esac
 
4210
+  done
 
4211
+
 
4212
+  case $lt_echo in
 
4213
+  *'\[$]0 --fallback-echo"')
 
4214
+    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\[$]0 --fallback-echo"[$]/[$]0 --fallback-echo"/'`
 
4215
+    ;;
 
4216
+  esac
 
4217
+
 
4218
+ifelse([$1], [],
 
4219
+  [cfgfile="${ofile}T"
 
4220
+  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
 
4221
+  $rm -f "$cfgfile"
 
4222
+  AC_MSG_NOTICE([creating $ofile])],
 
4223
+  [cfgfile="$ofile"])
 
4224
+
 
4225
+  cat <<__EOF__ >> "$cfgfile"
 
4226
+ifelse([$1], [],
 
4227
+[#! $SHELL
 
4228
+
 
4229
+# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 
4230
+# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
 
4231
+# NOTE: Changes made to this file will be lost: look at ltmain.sh.
 
4232
+#
 
4233
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
 
4234
+# Free Software Foundation, Inc.
 
4235
+#
 
4236
+# This file is part of GNU Libtool:
 
4237
+# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
 
4238
+#
 
4239
+# This program is free software; you can redistribute it and/or modify
 
4240
+# it under the terms of the GNU General Public License as published by
 
4241
+# the Free Software Foundation; either version 2 of the License, or
 
4242
+# (at your option) any later version.
 
4243
+#
 
4244
+# This program is distributed in the hope that it will be useful, but
 
4245
+# WITHOUT ANY WARRANTY; without even the implied warranty of
 
4246
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
4247
+# General Public License for more details.
 
4248
+#
 
4249
+# You should have received a copy of the GNU General Public License
 
4250
+# along with this program; if not, write to the Free Software
 
4251
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
4252
+#
 
4253
+# As a special exception to the GNU General Public License, if you
 
4254
+# distribute this file as part of a program that contains a
 
4255
+# configuration script generated by Autoconf, you may include it under
 
4256
+# the same distribution terms that you use for the rest of that program.
 
4257
+
 
4258
+# A sed program that does not truncate output.
 
4259
+SED=$lt_SED
 
4260
+
 
4261
+# Sed that helps us avoid accidentally triggering echo(1) options like -n.
 
4262
+Xsed="$SED -e 1s/^X//"
 
4263
+
 
4264
+# The HP-UX ksh and POSIX shell print the target directory to stdout
 
4265
+# if CDPATH is set.
 
4266
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
4267
+
 
4268
+# The names of the tagged configurations supported by this script.
 
4269
+available_tags=
 
4270
+
 
4271
+# ### BEGIN LIBTOOL CONFIG],
 
4272
+[# ### BEGIN LIBTOOL TAG CONFIG: $tagname])
 
4273
+
 
4274
+# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
4275
+
 
4276
+# Shell to use when invoking shell scripts.
 
4277
+SHELL=$lt_SHELL
 
4278
+
 
4279
+# Whether or not to build shared libraries.
 
4280
+build_libtool_libs=$enable_shared
 
4281
+
 
4282
+# Whether or not to build static libraries.
 
4283
+build_old_libs=$enable_static
 
4284
+
 
4285
+# Whether or not to add -lc for building shared libraries.
 
4286
+build_libtool_need_lc=$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)
 
4287
+
 
4288
+# Whether or not to disallow shared libs when runtime libs are static
 
4289
+allow_libtool_libs_with_static_runtimes=$_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)
 
4290
+
 
4291
+# Whether or not to optimize for fast installation.
 
4292
+fast_install=$enable_fast_install
 
4293
+
 
4294
+# The host system.
 
4295
+host_alias=$host_alias
 
4296
+host=$host
 
4297
+host_os=$host_os
 
4298
+
 
4299
+# The build system.
 
4300
+build_alias=$build_alias
 
4301
+build=$build
 
4302
+build_os=$build_os
 
4303
+
 
4304
+# An echo program that does not interpret backslashes.
 
4305
+echo=$lt_echo
 
4306
+
 
4307
+# The archiver.
 
4308
+AR=$lt_AR
 
4309
+AR_FLAGS=$lt_AR_FLAGS
 
4310
+
 
4311
+# A C compiler.
 
4312
+LTCC=$lt_LTCC
 
4313
+
 
4314
+# LTCC compiler flags.
 
4315
+LTCFLAGS=$lt_LTCFLAGS
 
4316
+
 
4317
+# A language-specific compiler.
 
4318
+CC=$lt_[]_LT_AC_TAGVAR(compiler, $1)
 
4319
+
 
4320
+# Is the compiler the GNU C compiler?
 
4321
+with_gcc=$_LT_AC_TAGVAR(GCC, $1)
 
4322
+
 
4323
+# An ERE matcher.
 
4324
+EGREP=$lt_EGREP
 
4325
+
 
4326
+# The linker used to build libraries.
 
4327
+LD=$lt_[]_LT_AC_TAGVAR(LD, $1)
 
4328
+
 
4329
+# Whether we need hard or soft links.
 
4330
+LN_S=$lt_LN_S
 
4331
+
 
4332
+# A BSD-compatible nm program.
 
4333
+NM=$lt_NM
 
4334
+
 
4335
+# A symbol stripping program
 
4336
+STRIP=$lt_STRIP
 
4337
+
 
4338
+# Used to examine libraries when file_magic_cmd begins "file"
 
4339
+MAGIC_CMD=$MAGIC_CMD
 
4340
+
 
4341
+# Used on cygwin: DLL creation program.
 
4342
+DLLTOOL="$DLLTOOL"
 
4343
+
 
4344
+# Used on cygwin: object dumper.
 
4345
+OBJDUMP="$OBJDUMP"
 
4346
+
 
4347
+# Used on cygwin: assembler.
 
4348
+AS="$AS"
 
4349
+
 
4350
+# The name of the directory that contains temporary libtool files.
 
4351
+objdir=$objdir
 
4352
+
 
4353
+# How to create reloadable object files.
 
4354
+reload_flag=$lt_reload_flag
 
4355
+reload_cmds=$lt_reload_cmds
 
4356
+
 
4357
+# How to pass a linker flag through the compiler.
 
4358
+wl=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
 
4359
+
 
4360
+# Object file suffix (normally "o").
 
4361
+objext="$ac_objext"
 
4362
+
 
4363
+# Old archive suffix (normally "a").
 
4364
+libext="$libext"
 
4365
+
 
4366
+# Shared library suffix (normally ".so").
 
4367
+shrext_cmds='$shrext_cmds'
 
4368
+
 
4369
+# Executable file suffix (normally "").
 
4370
+exeext="$exeext"
 
4371
+
 
4372
+# Additional compiler flags for building library objects.
 
4373
+pic_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)
 
4374
+pic_mode=$pic_mode
 
4375
+
 
4376
+# What is the maximum length of a command?
 
4377
+max_cmd_len=$lt_cv_sys_max_cmd_len
 
4378
+
 
4379
+# Does compiler simultaneously support -c and -o options?
 
4380
+compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)
 
4381
+
 
4382
+# Must we lock files when doing compilation?
 
4383
+need_locks=$lt_need_locks
 
4384
+
 
4385
+# Do we need the lib prefix for modules?
 
4386
+need_lib_prefix=$need_lib_prefix
 
4387
+
 
4388
+# Do we need a version for libraries?
 
4389
+need_version=$need_version
 
4390
+
 
4391
+# Whether dlopen is supported.
 
4392
+dlopen_support=$enable_dlopen
 
4393
+
 
4394
+# Whether dlopen of programs is supported.
 
4395
+dlopen_self=$enable_dlopen_self
 
4396
+
 
4397
+# Whether dlopen of statically linked programs is supported.
 
4398
+dlopen_self_static=$enable_dlopen_self_static
 
4399
+
 
4400
+# Compiler flag to prevent dynamic linking.
 
4401
+link_static_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_static, $1)
 
4402
+
 
4403
+# Compiler flag to turn off builtin functions.
 
4404
+no_builtin_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)
 
4405
+
 
4406
+# Compiler flag to allow reflexive dlopens.
 
4407
+export_dynamic_flag_spec=$lt_[]_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)
 
4408
+
 
4409
+# Compiler flag to generate shared objects directly from archives.
 
4410
+whole_archive_flag_spec=$lt_[]_LT_AC_TAGVAR(whole_archive_flag_spec, $1)
 
4411
+
 
4412
+# Compiler flag to generate thread-safe objects.
 
4413
+thread_safe_flag_spec=$lt_[]_LT_AC_TAGVAR(thread_safe_flag_spec, $1)
 
4414
+
 
4415
+# Library versioning type.
 
4416
+version_type=$version_type
 
4417
+
 
4418
+# Format of library name prefix.
 
4419
+libname_spec=$lt_libname_spec
 
4420
+
 
4421
+# List of archive names.  First name is the real one, the rest are links.
 
4422
+# The last name is the one that the linker finds with -lNAME.
 
4423
+library_names_spec=$lt_library_names_spec
 
4424
+
 
4425
+# The coded name of the library, if different from the real name.
 
4426
+soname_spec=$lt_soname_spec
 
4427
+
 
4428
+# Commands used to build and install an old-style archive.
 
4429
+RANLIB=$lt_RANLIB
 
4430
+old_archive_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_cmds, $1)
 
4431
+old_postinstall_cmds=$lt_old_postinstall_cmds
 
4432
+old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
4433
+
 
4434
+# Create an old-style archive from a shared archive.
 
4435
+old_archive_from_new_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_new_cmds, $1)
 
4436
+
 
4437
+# Create a temporary old-style archive to link instead of a shared archive.
 
4438
+old_archive_from_expsyms_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)
 
4439
+
 
4440
+# Commands used to build and install a shared archive.
 
4441
+archive_cmds=$lt_[]_LT_AC_TAGVAR(archive_cmds, $1)
 
4442
+archive_expsym_cmds=$lt_[]_LT_AC_TAGVAR(archive_expsym_cmds, $1)
 
4443
+postinstall_cmds=$lt_postinstall_cmds
 
4444
+postuninstall_cmds=$lt_postuninstall_cmds
 
4445
+
 
4446
+# Commands used to build a loadable module (assumed same as above if empty)
 
4447
+module_cmds=$lt_[]_LT_AC_TAGVAR(module_cmds, $1)
 
4448
+module_expsym_cmds=$lt_[]_LT_AC_TAGVAR(module_expsym_cmds, $1)
 
4449
+
 
4450
+# Commands to strip libraries.
 
4451
+old_striplib=$lt_old_striplib
 
4452
+striplib=$lt_striplib
 
4453
+
 
4454
+# Dependencies to place before the objects being linked to create a
 
4455
+# shared library.
 
4456
+predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1)
 
4457
+
 
4458
+# Dependencies to place after the objects being linked to create a
 
4459
+# shared library.
 
4460
+postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1)
 
4461
+
 
4462
+# Dependencies to place before the objects being linked to create a
 
4463
+# shared library.
 
4464
+predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1)
 
4465
+
 
4466
+# Dependencies to place after the objects being linked to create a
 
4467
+# shared library.
 
4468
+postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1)
 
4469
+
 
4470
+# The library search path used internally by the compiler when linking
 
4471
+# a shared library.
 
4472
+compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1)
 
4473
+
 
4474
+# Method to check whether dependent libraries are shared objects.
 
4475
+deplibs_check_method=$lt_deplibs_check_method
 
4476
+
 
4477
+# Command to use when deplibs_check_method == file_magic.
 
4478
+file_magic_cmd=$lt_file_magic_cmd
 
4479
+
 
4480
+# Flag that allows shared libraries with undefined symbols to be built.
 
4481
+allow_undefined_flag=$lt_[]_LT_AC_TAGVAR(allow_undefined_flag, $1)
 
4482
+
 
4483
+# Flag that forces no undefined symbols.
 
4484
+no_undefined_flag=$lt_[]_LT_AC_TAGVAR(no_undefined_flag, $1)
 
4485
+
 
4486
+# Commands used to finish a libtool library installation in a directory.
 
4487
+finish_cmds=$lt_finish_cmds
 
4488
+
 
4489
+# Same as above, but a single script fragment to be evaled but not shown.
 
4490
+finish_eval=$lt_finish_eval
 
4491
+
 
4492
+# Take the output of nm and produce a listing of raw symbols and C names.
 
4493
+global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 
4494
+
 
4495
+# Transform the output of nm in a proper C declaration
 
4496
+global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 
4497
+
 
4498
+# Transform the output of nm in a C name address pair
 
4499
+global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 
4500
+
 
4501
+# This is the shared library runtime path variable.
 
4502
+runpath_var=$runpath_var
 
4503
+
 
4504
+# This is the shared library path variable.
 
4505
+shlibpath_var=$shlibpath_var
 
4506
+
 
4507
+# Is shlibpath searched before the hard-coded library search path?
 
4508
+shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
4509
+
 
4510
+# How to hardcode a shared library path into an executable.
 
4511
+hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1)
 
4512
+
 
4513
+# Whether we should hardcode library paths into libraries.
 
4514
+hardcode_into_libs=$hardcode_into_libs
 
4515
+
 
4516
+# Flag to hardcode \$libdir into a binary during linking.
 
4517
+# This must work even if \$libdir does not exist.
 
4518
+hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)
 
4519
+
 
4520
+# If ld is used when linking, flag to hardcode \$libdir into
 
4521
+# a binary during linking. This must work even if \$libdir does
 
4522
+# not exist.
 
4523
+hardcode_libdir_flag_spec_ld=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)
 
4524
+
 
4525
+# Whether we need a single -rpath flag with a separated argument.
 
4526
+hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1)
 
4527
+
 
4528
+# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
 
4529
+# resulting binary.
 
4530
+hardcode_direct=$_LT_AC_TAGVAR(hardcode_direct, $1)
 
4531
+
 
4532
+# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
 
4533
+# resulting binary.
 
4534
+hardcode_minus_L=$_LT_AC_TAGVAR(hardcode_minus_L, $1)
 
4535
+
 
4536
+# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
 
4537
+# the resulting binary.
 
4538
+hardcode_shlibpath_var=$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)
 
4539
+
 
4540
+# Set to yes if building a shared library automatically hardcodes DIR into the library
 
4541
+# and all subsequent libraries and executables linked against it.
 
4542
+hardcode_automatic=$_LT_AC_TAGVAR(hardcode_automatic, $1)
 
4543
+
 
4544
+# Variables whose values should be saved in libtool wrapper scripts and
 
4545
+# restored at relink time.
 
4546
+variables_saved_for_relink="$variables_saved_for_relink"
 
4547
+
 
4548
+# Whether libtool must link a program against all its dependency libraries.
 
4549
+link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1)
 
4550
+
 
4551
+# Compile-time system search path for libraries
 
4552
+sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
4553
+
 
4554
+# Run-time system search path for libraries
 
4555
+sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
4556
+
 
4557
+# Fix the shell variable \$srcfile for the compiler.
 
4558
+fix_srcfile_path="$_LT_AC_TAGVAR(fix_srcfile_path, $1)"
 
4559
+
 
4560
+# Set to yes if exported symbols are required.
 
4561
+always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1)
 
4562
+
 
4563
+# The commands to list exported symbols.
 
4564
+export_symbols_cmds=$lt_[]_LT_AC_TAGVAR(export_symbols_cmds, $1)
 
4565
+
 
4566
+# The commands to extract the exported symbol list from a shared archive.
 
4567
+extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
4568
+
 
4569
+# Symbols that should not be listed in the preloaded symbols.
 
4570
+exclude_expsyms=$lt_[]_LT_AC_TAGVAR(exclude_expsyms, $1)
 
4571
+
 
4572
+# Symbols that must always be exported.
 
4573
+include_expsyms=$lt_[]_LT_AC_TAGVAR(include_expsyms, $1)
 
4574
+
 
4575
+ifelse([$1],[],
 
4576
+[# ### END LIBTOOL CONFIG],
 
4577
+[# ### END LIBTOOL TAG CONFIG: $tagname])
 
4578
+
 
4579
+__EOF__
 
4580
+
 
4581
+ifelse([$1],[], [
 
4582
+  case $host_os in
 
4583
+  aix3*)
 
4584
+    cat <<\EOF >> "$cfgfile"
 
4585
+
 
4586
+# AIX sometimes has problems with the GCC collect2 program.  For some
 
4587
+# reason, if we set the COLLECT_NAMES environment variable, the problems
 
4588
+# vanish in a puff of smoke.
 
4589
+if test "X${COLLECT_NAMES+set}" != Xset; then
 
4590
+  COLLECT_NAMES=
 
4591
+  export COLLECT_NAMES
 
4592
+fi
 
4593
+EOF
 
4594
+    ;;
 
4595
+  esac
 
4596
+
 
4597
+  # We use sed instead of cat because bash on DJGPP gets confused if
 
4598
+  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 
4599
+  # text mode, it properly converts lines to CR/LF.  This bash problem
 
4600
+  # is reportedly fixed, but why not run on old versions too?
 
4601
+  sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
 
4602
+
 
4603
+  mv -f "$cfgfile" "$ofile" || \
 
4604
+    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 
4605
+  chmod +x "$ofile"
 
4606
+])
 
4607
+else
 
4608
+  # If there is no Makefile yet, we rely on a make rule to execute
 
4609
+  # `config.status --recheck' to rerun these tests and create the
 
4610
+  # libtool script then.
 
4611
+  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
 
4612
+  if test -f "$ltmain_in"; then
 
4613
+    test -f Makefile && make "$ltmain"
 
4614
+  fi
 
4615
+fi
 
4616
+])# AC_LIBTOOL_CONFIG
 
4617
+
 
4618
+
 
4619
+# AC_LIBTOOL_PROG_COMPILER_NO_RTTI([TAGNAME])
 
4620
+# -------------------------------------------
 
4621
+AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI],
 
4622
+[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
 
4623
+
 
4624
+_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
 
4625
+
 
4626
+if test "$GCC" = yes; then
 
4627
+  _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
 
4628
+
 
4629
+  AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
 
4630
+    lt_cv_prog_compiler_rtti_exceptions,
 
4631
+    [-fno-rtti -fno-exceptions], [],
 
4632
+    [_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
 
4633
+fi
 
4634
+])# AC_LIBTOOL_PROG_COMPILER_NO_RTTI
 
4635
+
 
4636
+
 
4637
+# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
 
4638
+# ---------------------------------
 
4639
+AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE],
 
4640
+[AC_REQUIRE([AC_CANONICAL_HOST])
 
4641
+AC_REQUIRE([AC_PROG_NM])
 
4642
+AC_REQUIRE([AC_OBJEXT])
 
4643
+# Check for command to grab the raw symbol name followed by C symbol from nm.
 
4644
+AC_MSG_CHECKING([command to parse $NM output from $compiler object])
 
4645
+AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe],
 
4646
+[
 
4647
+# These are sane defaults that work on at least a few old systems.
 
4648
+# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
 
4649
+
 
4650
+# Character class describing NM global symbol codes.
 
4651
+symcode='[[BCDEGRST]]'
 
4652
+
 
4653
+# Regexp to match symbols that can be accessed directly from C.
 
4654
+sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
 
4655
+
 
4656
+# Transform an extracted symbol line into a proper C declaration
 
4657
+lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
 
4658
+
 
4659
+# Transform an extracted symbol line into symbol name and symbol address
 
4660
+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'"
 
4661
+
 
4662
+# Define system-specific variables.
 
4663
+case $host_os in
 
4664
+aix*)
 
4665
+  symcode='[[BCDT]]'
 
4666
+  ;;
 
4667
+cygwin* | mingw* | pw32*)
 
4668
+  symcode='[[ABCDGISTW]]'
 
4669
+  ;;
 
4670
+hpux*) # Its linker distinguishes data from code symbols
 
4671
+  if test "$host_cpu" = ia64; then
 
4672
+    symcode='[[ABCDEGRST]]'
 
4673
+  fi
 
4674
+  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
4675
+  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'"
 
4676
+  ;;
 
4677
+linux* | k*bsd*-gnu)
 
4678
+  if test "$host_cpu" = ia64; then
 
4679
+    symcode='[[ABCDGIRSTW]]'
 
4680
+    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
4681
+    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'"
 
4682
+  fi
 
4683
+  ;;
 
4684
+irix* | nonstopux*)
 
4685
+  symcode='[[BCDEGRST]]'
 
4686
+  ;;
 
4687
+osf*)
 
4688
+  symcode='[[BCDEGQRST]]'
 
4689
+  ;;
 
4690
+solaris*)
 
4691
+  symcode='[[BDRT]]'
 
4692
+  ;;
 
4693
+sco3.2v5*)
 
4694
+  symcode='[[DT]]'
 
4695
+  ;;
 
4696
+sysv4.2uw2*)
 
4697
+  symcode='[[DT]]'
 
4698
+  ;;
 
4699
+sysv5* | sco5v6* | unixware* | OpenUNIX*)
 
4700
+  symcode='[[ABDT]]'
 
4701
+  ;;
 
4702
+sysv4)
 
4703
+  symcode='[[DFNSTU]]'
 
4704
+  ;;
 
4705
+esac
 
4706
+
 
4707
+# Handle CRLF in mingw tool chain
 
4708
+opt_cr=
 
4709
+case $build_os in
 
4710
+mingw*)
 
4711
+  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 
4712
+  ;;
 
4713
+esac
 
4714
+
 
4715
+# If we're using GNU nm, then use its standard symbol codes.
 
4716
+case `$NM -V 2>&1` in
 
4717
+*GNU* | *'with BFD'*)
 
4718
+  symcode='[[ABCDGIRSTW]]' ;;
 
4719
+esac
 
4720
+
 
4721
+# Try without a prefix undercore, then with it.
 
4722
+for ac_symprfx in "" "_"; do
 
4723
+
 
4724
+  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
 
4725
+  symxfrm="\\1 $ac_symprfx\\2 \\2"
 
4726
+
 
4727
+  # Write the raw and C identifiers.
 
4728
+  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[     ]]\($symcode$symcode*\)[[       ]][[    ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
4729
+
 
4730
+  # Check to see that the pipe works correctly.
 
4731
+  pipe_works=no
 
4732
+
 
4733
+  rm -f conftest*
 
4734
+  cat > conftest.$ac_ext <<EOF
 
4735
+#ifdef __cplusplus
 
4736
+extern "C" {
 
4737
+#endif
 
4738
+char nm_test_var;
 
4739
+void nm_test_func(){}
 
4740
+#ifdef __cplusplus
 
4741
+}
 
4742
+#endif
 
4743
+int main(){nm_test_var='a';nm_test_func();return(0);}
 
4744
+EOF
 
4745
+
 
4746
+  if AC_TRY_EVAL(ac_compile); then
 
4747
+    # Now try to grab the symbols.
 
4748
+    nlist=conftest.nm
 
4749
+    if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
 
4750
+      # Try sorting and uniquifying the output.
 
4751
+      if sort "$nlist" | uniq > "$nlist"T; then
 
4752
+       mv -f "$nlist"T "$nlist"
 
4753
+      else
 
4754
+       rm -f "$nlist"T
 
4755
+      fi
 
4756
+
 
4757
+      # Make sure that we snagged all the symbols we need.
 
4758
+      if grep ' nm_test_var$' "$nlist" >/dev/null; then
 
4759
+       if grep ' nm_test_func$' "$nlist" >/dev/null; then
 
4760
+         cat <<EOF > conftest.$ac_ext
 
4761
+#ifdef __cplusplus
 
4762
+extern "C" {
 
4763
+#endif
 
4764
+
 
4765
+EOF
 
4766
+         # Now generate the symbol file.
 
4767
+         eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
 
4768
+
 
4769
+         cat <<EOF >> conftest.$ac_ext
 
4770
+#if defined (__STDC__) && __STDC__
 
4771
+# define lt_ptr_t void *
 
4772
+#else
 
4773
+# define lt_ptr_t char *
 
4774
+# define const
 
4775
+#endif
 
4776
+
 
4777
+/* The mapping between symbol names and symbols. */
 
4778
+const struct {
 
4779
+  const char *name;
 
4780
+  lt_ptr_t address;
 
4781
+}
 
4782
+lt_preloaded_symbols[[]] =
 
4783
+{
 
4784
+EOF
 
4785
+         $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
 
4786
+         cat <<\EOF >> conftest.$ac_ext
 
4787
+  {0, (lt_ptr_t) 0}
 
4788
+};
 
4789
+
 
4790
+#ifdef __cplusplus
 
4791
+}
 
4792
+#endif
 
4793
+EOF
 
4794
+         # Now try linking the two files.
 
4795
+         mv conftest.$ac_objext conftstm.$ac_objext
 
4796
+         lt_save_LIBS="$LIBS"
 
4797
+         lt_save_CFLAGS="$CFLAGS"
 
4798
+         LIBS="conftstm.$ac_objext"
 
4799
+         CFLAGS="$CFLAGS$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
 
4800
+         if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
 
4801
+           pipe_works=yes
 
4802
+         fi
 
4803
+         LIBS="$lt_save_LIBS"
 
4804
+         CFLAGS="$lt_save_CFLAGS"
 
4805
+       else
 
4806
+         echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
 
4807
+       fi
 
4808
+      else
 
4809
+       echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD
 
4810
+      fi
 
4811
+    else
 
4812
+      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
 
4813
+    fi
 
4814
+  else
 
4815
+    echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
 
4816
+    cat conftest.$ac_ext >&5
 
4817
+  fi
 
4818
+  rm -f conftest* conftst*
 
4819
+
 
4820
+  # Do not use the global_symbol_pipe unless it works.
 
4821
+  if test "$pipe_works" = yes; then
 
4822
+    break
 
4823
+  else
 
4824
+    lt_cv_sys_global_symbol_pipe=
 
4825
+  fi
 
4826
+done
 
4827
+])
 
4828
+if test -z "$lt_cv_sys_global_symbol_pipe"; then
 
4829
+  lt_cv_sys_global_symbol_to_cdecl=
 
4830
+fi
 
4831
+if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
 
4832
+  AC_MSG_RESULT(failed)
 
4833
+else
 
4834
+  AC_MSG_RESULT(ok)
 
4835
+fi
 
4836
+]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
 
4837
+
 
4838
+
 
4839
+# AC_LIBTOOL_PROG_COMPILER_PIC([TAGNAME])
 
4840
+# ---------------------------------------
 
4841
+AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC],
 
4842
+[_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)=
 
4843
+_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
 
4844
+_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=
 
4845
+
 
4846
+AC_MSG_CHECKING([for $compiler option to produce PIC])
 
4847
+ ifelse([$1],[CXX],[
 
4848
+  # C++ specific cases for pic, static, wl, etc.
 
4849
+  if test "$GXX" = yes; then
 
4850
+    _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
4851
+    _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
 
4852
+
 
4853
+    case $host_os in
 
4854
+    aix*)
 
4855
+      # All AIX code is PIC.
 
4856
+      if test "$host_cpu" = ia64; then
 
4857
+       # AIX 5 now supports IA64 processor
 
4858
+       _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
4859
+      fi
 
4860
+      ;;
 
4861
+    amigaos*)
 
4862
+      # FIXME: we need at least 68020 code to build shared libraries, but
 
4863
+      # adding the `-m68020' flag to GCC prevents building anything better,
 
4864
+      # like `-m68040'.
 
4865
+      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
 
4866
+      ;;
 
4867
+    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
4868
+      # PIC is the default for these OSes.
 
4869
+      ;;
 
4870
+    mingw* | os2* | pw32*)
 
4871
+      # This hack is so that the source file can tell whether it is being
 
4872
+      # built for inclusion in a dll (and should export symbols for example).
 
4873
+      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
 
4874
+      ;;
 
4875
+    darwin* | rhapsody*)
 
4876
+      # PIC is the default on this platform
 
4877
+      # Common symbols not allowed in MH_DYLIB files
 
4878
+      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
 
4879
+      ;;
 
4880
+    *djgpp*)
 
4881
+      # DJGPP does not support shared libraries at all
 
4882
+      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
 
4883
+      ;;
 
4884
+    interix3*)
 
4885
+      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
4886
+      # Instead, we relocate shared libraries at runtime.
 
4887
+      ;;
 
4888
+    sysv4*MP*)
 
4889
+      if test -d /usr/nec; then
 
4890
+       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
 
4891
+      fi
 
4892
+      ;;
 
4893
+    hpux*)
 
4894
+      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 
4895
+      # not for PA HP-UX.
 
4896
+      case $host_cpu in
 
4897
+      hppa*64*|ia64*)
 
4898
+       ;;
 
4899
+      *)
 
4900
+       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
 
4901
+       ;;
 
4902
+      esac
 
4903
+      ;;
 
4904
+    *)
 
4905
+      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
 
4906
+      ;;
 
4907
+    esac
 
4908
+  else
 
4909
+    case $host_os in
 
4910
+      aix4* | aix5*)
 
4911
+       # All AIX code is PIC.
 
4912
+       if test "$host_cpu" = ia64; then
 
4913
+         # AIX 5 now supports IA64 processor
 
4914
+         _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
4915
+       else
 
4916
+         _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
 
4917
+       fi
 
4918
+       ;;
 
4919
+      chorus*)
 
4920
+       case $cc_basename in
 
4921
+       cxch68*)
 
4922
+         # Green Hills C++ Compiler
 
4923
+         # _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"
 
4924
+         ;;
 
4925
+       esac
 
4926
+       ;;
 
4927
+       darwin*)
 
4928
+         # PIC is the default on this platform
 
4929
+         # Common symbols not allowed in MH_DYLIB files
 
4930
+         case $cc_basename in
 
4931
+           xlc*)
 
4932
+           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon'
 
4933
+           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
4934
+           ;;
 
4935
+         esac
 
4936
+       ;;
 
4937
+      dgux*)
 
4938
+       case $cc_basename in
 
4939
+         ec++*)
 
4940
+           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 
4941
+           ;;
 
4942
+         ghcx*)
 
4943
+           # Green Hills C++ Compiler
 
4944
+           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
 
4945
+           ;;
 
4946
+         *)
 
4947
+           ;;
 
4948
+       esac
 
4949
+       ;;
 
4950
+      freebsd* | dragonfly*)
 
4951
+       # FreeBSD uses GNU C++
 
4952
+       ;;
 
4953
+      hpux9* | hpux10* | hpux11*)
 
4954
+       case $cc_basename in
 
4955
+         CC*)
 
4956
+           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
4957
+           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
 
4958
+           if test "$host_cpu" != ia64; then
 
4959
+             _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
 
4960
+           fi
 
4961
+           ;;
 
4962
+         aCC*)
 
4963
+           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
4964
+           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
 
4965
+           case $host_cpu in
 
4966
+           hppa*64*|ia64*)
 
4967
+             # +Z the default
 
4968
+             ;;
 
4969
+           *)
 
4970
+             _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
 
4971
+             ;;
 
4972
+           esac
 
4973
+           ;;
 
4974
+         *)
 
4975
+           ;;
 
4976
+       esac
 
4977
+       ;;
 
4978
+      interix*)
 
4979
+       # This is c89, which is MS Visual C++ (no shared libs)
 
4980
+       # Anyone wants to do a port?
 
4981
+       ;;
 
4982
+      irix5* | irix6* | nonstopux*)
 
4983
+       case $cc_basename in
 
4984
+         CC*)
 
4985
+           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
4986
+           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
 
4987
+           # CC pic flag -KPIC is the default.
 
4988
+           ;;
 
4989
+         *)
 
4990
+           ;;
 
4991
+       esac
 
4992
+       ;;
 
4993
+      linux* | k*bsd*-gnu)
 
4994
+       case $cc_basename in
 
4995
+         KCC*)
 
4996
+           # KAI C++ Compiler
 
4997
+           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
 
4998
+           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
 
4999
+           ;;
 
5000
+         icpc* | ecpc*)
 
5001
+           # Intel C++
 
5002
+           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
5003
+           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 
5004
+           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
 
5005
+           ;;
 
5006
+         pgCC*)
 
5007
+           # Portland Group C++ compiler.
 
5008
+           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
5009
+           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
 
5010
+           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
5011
+           ;;
 
5012
+         cxx*)
 
5013
+           # Compaq C++
 
5014
+           # Make sure the PIC flag is empty.  It appears that all Alpha
 
5015
+           # Linux and Compaq Tru64 Unix objects are PIC.
 
5016
+           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
 
5017
+           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
 
5018
+           ;;
 
5019
+         *)
 
5020
+           ;;
 
5021
+       esac
 
5022
+       ;;
 
5023
+      lynxos*)
 
5024
+       ;;
 
5025
+      m88k*)
 
5026
+       ;;
 
5027
+      mvs*)
 
5028
+       case $cc_basename in
 
5029
+         cxx*)
 
5030
+           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
 
5031
+           ;;
 
5032
+         *)
 
5033
+           ;;
 
5034
+       esac
 
5035
+       ;;
 
5036
+      netbsd* | netbsdelf*-gnu)
 
5037
+       ;;
 
5038
+      osf3* | osf4* | osf5*)
 
5039
+       case $cc_basename in
 
5040
+         KCC*)
 
5041
+           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
 
5042
+           ;;
 
5043
+         RCC*)
 
5044
+           # Rational C++ 2.4.1
 
5045
+           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
 
5046
+           ;;
 
5047
+         cxx*)
 
5048
+           # Digital/Compaq C++
 
5049
+           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
5050
+           # Make sure the PIC flag is empty.  It appears that all Alpha
 
5051
+           # Linux and Compaq Tru64 Unix objects are PIC.
 
5052
+           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
 
5053
+           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
 
5054
+           ;;
 
5055
+         *)
 
5056
+           ;;
 
5057
+       esac
 
5058
+       ;;
 
5059
+      psos*)
 
5060
+       ;;
 
5061
+      solaris*)
 
5062
+       case $cc_basename in
 
5063
+         CC*)
 
5064
+           # Sun C++ 4.2, 5.x and Centerline C++
 
5065
+           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 
5066
+           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
5067
+           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
 
5068
+           ;;
 
5069
+         gcx*)
 
5070
+           # Green Hills C++ Compiler
 
5071
+           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
 
5072
+           ;;
 
5073
+         *)
 
5074
+           ;;
 
5075
+       esac
 
5076
+       ;;
 
5077
+      sunos4*)
 
5078
+       case $cc_basename in
 
5079
+         CC*)
 
5080
+           # Sun C++ 4.x
 
5081
+           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
 
5082
+           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
5083
+           ;;
 
5084
+         lcc*)
 
5085
+           # Lucid
 
5086
+           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
 
5087
+           ;;
 
5088
+         *)
 
5089
+           ;;
 
5090
+       esac
 
5091
+       ;;
 
5092
+      tandem*)
 
5093
+       case $cc_basename in
 
5094
+         NCC*)
 
5095
+           # NonStop-UX NCC 3.20
 
5096
+           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 
5097
+           ;;
 
5098
+         *)
 
5099
+           ;;
 
5100
+       esac
 
5101
+       ;;
 
5102
+      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
5103
+       case $cc_basename in
 
5104
+         CC*)
 
5105
+           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
5106
+           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 
5107
+           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
5108
+           ;;
 
5109
+       esac
 
5110
+       ;;
 
5111
+      vxworks*)
 
5112
+       ;;
 
5113
+      *)
 
5114
+       _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
 
5115
+       ;;
 
5116
+    esac
 
5117
+  fi
 
5118
+],
 
5119
+[
 
5120
+  if test "$GCC" = yes; then
 
5121
+    _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
5122
+    _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
 
5123
+
 
5124
+    case $host_os in
 
5125
+      aix*)
 
5126
+      # All AIX code is PIC.
 
5127
+      if test "$host_cpu" = ia64; then
 
5128
+       # AIX 5 now supports IA64 processor
 
5129
+       _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
5130
+      fi
 
5131
+      ;;
 
5132
+
 
5133
+    amigaos*)
 
5134
+      # FIXME: we need at least 68020 code to build shared libraries, but
 
5135
+      # adding the `-m68020' flag to GCC prevents building anything better,
 
5136
+      # like `-m68040'.
 
5137
+      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
 
5138
+      ;;
 
5139
+
 
5140
+    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
5141
+      # PIC is the default for these OSes.
 
5142
+      ;;
 
5143
+
 
5144
+    mingw* | pw32* | os2*)
 
5145
+      # This hack is so that the source file can tell whether it is being
 
5146
+      # built for inclusion in a dll (and should export symbols for example).
 
5147
+      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
 
5148
+      ;;
 
5149
+
 
5150
+    darwin* | rhapsody*)
 
5151
+      # PIC is the default on this platform
 
5152
+      # Common symbols not allowed in MH_DYLIB files
 
5153
+      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
 
5154
+      ;;
 
5155
+
 
5156
+    interix3*)
 
5157
+      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
5158
+      # Instead, we relocate shared libraries at runtime.
 
5159
+      ;;
 
5160
+
 
5161
+    msdosdjgpp*)
 
5162
+      # Just because we use GCC doesn't mean we suddenly get shared libraries
 
5163
+      # on systems that don't support them.
 
5164
+      _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
 
5165
+      enable_shared=no
 
5166
+      ;;
 
5167
+
 
5168
+    sysv4*MP*)
 
5169
+      if test -d /usr/nec; then
 
5170
+       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
 
5171
+      fi
 
5172
+      ;;
 
5173
+
 
5174
+    hpux*)
 
5175
+      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 
5176
+      # not for PA HP-UX.
 
5177
+      case $host_cpu in
 
5178
+      hppa*64*|ia64*)
 
5179
+       # +Z the default
 
5180
+       ;;
 
5181
+      *)
 
5182
+       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
 
5183
+       ;;
 
5184
+      esac
 
5185
+      ;;
 
5186
+
 
5187
+    *)
 
5188
+      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
 
5189
+      ;;
 
5190
+    esac
 
5191
+  else
 
5192
+    # PORTME Check for flag to pass linker flags through the system compiler.
 
5193
+    case $host_os in
 
5194
+    aix*)
 
5195
+      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
5196
+      if test "$host_cpu" = ia64; then
 
5197
+       # AIX 5 now supports IA64 processor
 
5198
+       _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
5199
+      else
 
5200
+       _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
 
5201
+      fi
 
5202
+      ;;
 
5203
+      darwin*)
 
5204
+        # PIC is the default on this platform
 
5205
+        # Common symbols not allowed in MH_DYLIB files
 
5206
+       case $cc_basename in
 
5207
+         xlc*)
 
5208
+         _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon'
 
5209
+         _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
5210
+         ;;
 
5211
+       esac
 
5212
+       ;;
 
5213
+
 
5214
+    mingw* | pw32* | os2*)
 
5215
+      # This hack is so that the source file can tell whether it is being
 
5216
+      # built for inclusion in a dll (and should export symbols for example).
 
5217
+      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
 
5218
+      ;;
 
5219
+
 
5220
+    hpux9* | hpux10* | hpux11*)
 
5221
+      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
5222
+      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 
5223
+      # not for PA HP-UX.
 
5224
+      case $host_cpu in
 
5225
+      hppa*64*|ia64*)
 
5226
+       # +Z the default
 
5227
+       ;;
 
5228
+      *)
 
5229
+       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
 
5230
+       ;;
 
5231
+      esac
 
5232
+      # Is there a better lt_prog_compiler_static that works with the bundled CC?
 
5233
+      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
 
5234
+      ;;
 
5235
+
 
5236
+    irix5* | irix6* | nonstopux*)
 
5237
+      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
5238
+      # PIC (with -KPIC) is the default.
 
5239
+      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
 
5240
+      ;;
 
5241
+
 
5242
+    newsos6)
 
5243
+      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 
5244
+      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
5245
+      ;;
 
5246
+
 
5247
+    linux* | k*bsd*-gnu)
 
5248
+      case $cc_basename in
 
5249
+      icc* | ecc*)
 
5250
+       _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
5251
+       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 
5252
+       _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
 
5253
+        ;;
 
5254
+      pgcc* | pgf77* | pgf90* | pgf95*)
 
5255
+        # Portland Group compilers (*not* the Pentium gcc compiler,
 
5256
+       # which looks to be a dead project)
 
5257
+       _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
5258
+       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
 
5259
+       _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
5260
+        ;;
 
5261
+      ccc*)
 
5262
+        _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
5263
+        # All Alpha code is PIC.
 
5264
+        _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
 
5265
+        ;;
 
5266
+      esac
 
5267
+      ;;
 
5268
+
 
5269
+    osf3* | osf4* | osf5*)
 
5270
+      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
5271
+      # All OSF/1 code is PIC.
 
5272
+      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
 
5273
+      ;;
 
5274
+
 
5275
+    solaris*)
 
5276
+      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 
5277
+      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
5278
+      case $cc_basename in
 
5279
+      f77* | f90* | f95*)
 
5280
+       _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
 
5281
+      *)
 
5282
+       _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
 
5283
+      esac
 
5284
+      ;;
 
5285
+
 
5286
+    sunos4*)
 
5287
+      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
 
5288
+      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
 
5289
+      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
5290
+      ;;
 
5291
+
 
5292
+    sysv4 | sysv4.2uw2* | sysv4.3*)
 
5293
+      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
5294
+      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 
5295
+      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
5296
+      ;;
 
5297
+
 
5298
+    sysv4*MP*)
 
5299
+      if test -d /usr/nec ;then
 
5300
+       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
 
5301
+       _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
5302
+      fi
 
5303
+      ;;
 
5304
+
 
5305
+    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
5306
+      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
5307
+      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 
5308
+      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
5309
+      ;;
 
5310
+
 
5311
+    unicos*)
 
5312
+      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
5313
+      _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
 
5314
+      ;;
 
5315
+
 
5316
+    uts4*)
 
5317
+      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
 
5318
+      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
5319
+      ;;
 
5320
+
 
5321
+    *)
 
5322
+      _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
 
5323
+      ;;
 
5324
+    esac
 
5325
+  fi
 
5326
+])
 
5327
+AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)])
 
5328
+
 
5329
+#
 
5330
+# Check to make sure the PIC flag actually works.
 
5331
+#
 
5332
+if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then
 
5333
+  AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works],
 
5334
+    _LT_AC_TAGVAR(lt_prog_compiler_pic_works, $1),
 
5335
+    [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [],
 
5336
+    [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in
 
5337
+     "" | " "*) ;;
 
5338
+     *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)" ;;
 
5339
+     esac],
 
5340
+    [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
 
5341
+     _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
 
5342
+fi
 
5343
+case $host_os in
 
5344
+  # For platforms which do not support PIC, -DPIC is meaningless:
 
5345
+  *djgpp*)
 
5346
+    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
 
5347
+    ;;
 
5348
+  *)
 
5349
+    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])"
 
5350
+    ;;
 
5351
+esac
 
5352
+
 
5353
+#
 
5354
+# Check to make sure the static flag actually works.
 
5355
+#
 
5356
+wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_AC_TAGVAR(lt_prog_compiler_static, $1)\"
 
5357
+AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works],
 
5358
+  _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1),
 
5359
+  $lt_tmp_static_flag,
 
5360
+  [],
 
5361
+  [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
 
5362
+])
 
5363
+
 
5364
+
 
5365
+# AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME])
 
5366
+# ------------------------------------
 
5367
+# See if the linker supports building shared libraries.
 
5368
+AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS],
 
5369
+[AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
 
5370
+ifelse([$1],[CXX],[
 
5371
+  _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
5372
+  case $host_os in
 
5373
+  aix4* | aix5*)
 
5374
+    # If we're using GNU nm, then we don't want the "-C" option.
 
5375
+    # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
5376
+    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
 
5377
+      _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'
 
5378
+    else
 
5379
+      _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'
 
5380
+    fi
 
5381
+    ;;
 
5382
+  pw32*)
 
5383
+    _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
 
5384
+  ;;
 
5385
+  cygwin* | mingw*)
 
5386
+    _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'
 
5387
+  ;;
 
5388
+  linux* | k*bsd*-gnu)
 
5389
+    _LT_AC_TAGVAR(link_all_deplibs, $1)=no
 
5390
+  ;;
 
5391
+  *)
 
5392
+    _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
5393
+  ;;
 
5394
+  esac
 
5395
+],[
 
5396
+  runpath_var=
 
5397
+  _LT_AC_TAGVAR(allow_undefined_flag, $1)=
 
5398
+  _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
 
5399
+  _LT_AC_TAGVAR(archive_cmds, $1)=
 
5400
+  _LT_AC_TAGVAR(archive_expsym_cmds, $1)=
 
5401
+  _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)=
 
5402
+  _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)=
 
5403
+  _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
 
5404
+  _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
 
5405
+  _LT_AC_TAGVAR(thread_safe_flag_spec, $1)=
 
5406
+  _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
 
5407
+  _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
 
5408
+  _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
 
5409
+  _LT_AC_TAGVAR(hardcode_direct, $1)=no
 
5410
+  _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
 
5411
+  _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
 
5412
+  _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
 
5413
+  _LT_AC_TAGVAR(hardcode_automatic, $1)=no
 
5414
+  _LT_AC_TAGVAR(module_cmds, $1)=
 
5415
+  _LT_AC_TAGVAR(module_expsym_cmds, $1)=
 
5416
+  _LT_AC_TAGVAR(always_export_symbols, $1)=no
 
5417
+  _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
5418
+  # include_expsyms should be a list of space-separated symbols to be *always*
 
5419
+  # included in the symbol list
 
5420
+  _LT_AC_TAGVAR(include_expsyms, $1)=
 
5421
+  # exclude_expsyms can be an extended regexp of symbols to exclude
 
5422
+  # it will be wrapped by ` (' and `)$', so one must not match beginning or
 
5423
+  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
 
5424
+  # as well as any symbol that contains `d'.
 
5425
+  _LT_AC_TAGVAR(exclude_expsyms, $1)="_GLOBAL_OFFSET_TABLE_"
 
5426
+  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
 
5427
+  # platforms (ab)use it in PIC code, but their linkers get confused if
 
5428
+  # the symbol is explicitly referenced.  Since portable code cannot
 
5429
+  # rely on this symbol name, it's probably fine to never include it in
 
5430
+  # preloaded symbol tables.
 
5431
+  extract_expsyms_cmds=
 
5432
+  # Just being paranoid about ensuring that cc_basename is set.
 
5433
+  _LT_CC_BASENAME([$compiler])
 
5434
+  case $host_os in
 
5435
+  cygwin* | mingw* | pw32*)
 
5436
+    # FIXME: the MSVC++ port hasn't been tested in a loooong time
 
5437
+    # When not using gcc, we currently assume that we are using
 
5438
+    # Microsoft Visual C++.
 
5439
+    if test "$GCC" != yes; then
 
5440
+      with_gnu_ld=no
 
5441
+    fi
 
5442
+    ;;
 
5443
+  interix*)
 
5444
+    # we just hope/assume this is gcc and not c89 (= MSVC++)
 
5445
+    with_gnu_ld=yes
 
5446
+    ;;
 
5447
+  openbsd*)
 
5448
+    with_gnu_ld=no
 
5449
+    ;;
 
5450
+  esac
 
5451
+
 
5452
+  _LT_AC_TAGVAR(ld_shlibs, $1)=yes
 
5453
+  if test "$with_gnu_ld" = yes; then
 
5454
+    # If archive_cmds runs LD, not CC, wlarc should be empty
 
5455
+    wlarc='${wl}'
 
5456
+
 
5457
+    # Set some defaults for GNU ld with shared library support. These
 
5458
+    # are reset later if shared libraries are not supported. Putting them
 
5459
+    # here allows them to be overridden if necessary.
 
5460
+    runpath_var=LD_RUN_PATH
 
5461
+    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
 
5462
+    _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
 
5463
+    # ancient GNU ld didn't support --whole-archive et. al.
 
5464
+    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
 
5465
+       _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
5466
+      else
 
5467
+       _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
 
5468
+    fi
 
5469
+    supports_anon_versioning=no
 
5470
+    case `$LD -v 2>/dev/null` in
 
5471
+      *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
 
5472
+      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 
5473
+      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 
5474
+      *\ 2.11.*) ;; # other 2.11 versions
 
5475
+      *) supports_anon_versioning=yes ;;
 
5476
+    esac
 
5477
+
 
5478
+    # See if GNU ld supports shared libraries.
 
5479
+    case $host_os in
 
5480
+    aix3* | aix4* | aix5*)
 
5481
+      # On AIX/PPC, the GNU linker is very broken
 
5482
+      if test "$host_cpu" != ia64; then
 
5483
+       _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
5484
+       cat <<EOF 1>&2
 
5485
+
 
5486
+*** Warning: the GNU linker, at least up to release 2.9.1, is reported
 
5487
+*** to be unable to reliably create shared libraries on AIX.
 
5488
+*** Therefore, libtool is disabling shared libraries support.  If you
 
5489
+*** really care for shared libraries, you may want to modify your PATH
 
5490
+*** so that a non-GNU linker is found, and then restart.
 
5491
+
 
5492
+EOF
 
5493
+      fi
 
5494
+      ;;
 
5495
+
 
5496
+    amigaos*)
 
5497
+      _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)'
 
5498
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
 
5499
+      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
 
5500
+
 
5501
+      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
 
5502
+      # that the semantics of dynamic libraries on AmigaOS, at least up
 
5503
+      # to version 4, is to share data among multiple programs linked
 
5504
+      # with the same dynamic library.  Since this doesn't match the
 
5505
+      # behavior of shared libraries on other platforms, we can't use
 
5506
+      # them.
 
5507
+      _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
5508
+      ;;
 
5509
+
 
5510
+    beos*)
 
5511
+      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
5512
+       _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
 
5513
+       # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 
5514
+       # support --undefined.  This deserves some investigation.  FIXME
 
5515
+       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
5516
+      else
 
5517
+       _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
5518
+      fi
 
5519
+      ;;
 
5520
+
 
5521
+    cygwin* | mingw* | pw32*)
 
5522
+      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
 
5523
+      # as there is no search path for DLLs.
 
5524
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
 
5525
+      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
 
5526
+      _LT_AC_TAGVAR(always_export_symbols, $1)=no
 
5527
+      _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
 
5528
+      _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols'
 
5529
+
 
5530
+      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
 
5531
+        _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'
 
5532
+       # If the export-symbols file already is a .def file (1st line
 
5533
+       # is EXPORTS), use it as is; otherwise, prepend...
 
5534
+       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
5535
+         cp $export_symbols $output_objdir/$soname.def;
 
5536
+       else
 
5537
+         echo EXPORTS > $output_objdir/$soname.def;
 
5538
+         cat $export_symbols >> $output_objdir/$soname.def;
 
5539
+       fi~
 
5540
+       $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
5541
+      else
 
5542
+       _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
5543
+      fi
 
5544
+      ;;
 
5545
+
 
5546
+    interix3*)
 
5547
+      _LT_AC_TAGVAR(hardcode_direct, $1)=no
 
5548
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
 
5549
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
 
5550
+      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
 
5551
+      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
5552
+      # Instead, shared libraries are loaded at an image base (0x10000000 by
 
5553
+      # default) and relocated if they conflict, which is a slow very memory
 
5554
+      # consuming and fragmenting process.  To avoid this, we pick a random,
 
5555
+      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
5556
+      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
5557
+      _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'
 
5558
+      _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'
 
5559
+      ;;
 
5560
+
 
5561
+    linux* | k*bsd*-gnu)
 
5562
+      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
5563
+       tmp_addflag=
 
5564
+       case $cc_basename,$host_cpu in
 
5565
+       pgcc*)                          # Portland Group C compiler
 
5566
+         _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'
 
5567
+         tmp_addflag=' $pic_flag'
 
5568
+         ;;
 
5569
+       pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
 
5570
+         _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'
 
5571
+         tmp_addflag=' $pic_flag -Mnomain' ;;
 
5572
+       ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
 
5573
+         tmp_addflag=' -i_dynamic' ;;
 
5574
+       efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
 
5575
+         tmp_addflag=' -i_dynamic -nofor_main' ;;
 
5576
+       ifc* | ifort*)                  # Intel Fortran compiler
 
5577
+         tmp_addflag=' -nofor_main' ;;
 
5578
+       esac
 
5579
+       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
5580
+
 
5581
+       if test $supports_anon_versioning = yes; then
 
5582
+         _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~
 
5583
+  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
5584
+  $echo "local: *; };" >> $output_objdir/$libname.ver~
 
5585
+         $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
5586
+       fi
 
5587
+       _LT_AC_TAGVAR(link_all_deplibs, $1)=no
 
5588
+      else
 
5589
+       _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
5590
+      fi
 
5591
+      ;;
 
5592
+
 
5593
+    netbsd* | netbsdelf*-gnu)
 
5594
+      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
5595
+       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
 
5596
+       wlarc=
 
5597
+      else
 
5598
+       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
5599
+       _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'
 
5600
+      fi
 
5601
+      ;;
 
5602
+
 
5603
+    solaris*)
 
5604
+      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
 
5605
+       _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
5606
+       cat <<EOF 1>&2
 
5607
+
 
5608
+*** Warning: The releases 2.8.* of the GNU linker cannot reliably
 
5609
+*** create shared libraries on Solaris systems.  Therefore, libtool
 
5610
+*** is disabling shared libraries support.  We urge you to upgrade GNU
 
5611
+*** binutils to release 2.9.1 or newer.  Another option is to modify
 
5612
+*** your PATH or compiler configuration so that the native linker is
 
5613
+*** used, and then restart.
 
5614
+
 
5615
+EOF
 
5616
+      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
5617
+       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
5618
+       _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'
 
5619
+      else
 
5620
+       _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
5621
+      fi
 
5622
+      ;;
 
5623
+
 
5624
+    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 
5625
+      case `$LD -v 2>&1` in
 
5626
+        *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*) 
 
5627
+       _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
5628
+       cat <<_LT_EOF 1>&2
 
5629
+
 
5630
+*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 
5631
+*** reliably create shared libraries on SCO systems.  Therefore, libtool
 
5632
+*** is disabling shared libraries support.  We urge you to upgrade GNU
 
5633
+*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 
5634
+*** your PATH or compiler configuration so that the native linker is
 
5635
+*** used, and then restart.
 
5636
+
 
5637
+_LT_EOF
 
5638
+       ;;
 
5639
+       *)
 
5640
+         if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
5641
+           _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
 
5642
+           _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
 
5643
+           _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'
 
5644
+         else
 
5645
+           _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
5646
+         fi
 
5647
+       ;;
 
5648
+      esac
 
5649
+      ;;
 
5650
+
 
5651
+    sunos4*)
 
5652
+      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
5653
+      wlarc=
 
5654
+      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
 
5655
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
 
5656
+      ;;
 
5657
+
 
5658
+    *)
 
5659
+      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
5660
+       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
5661
+       _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'
 
5662
+      else
 
5663
+       _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
5664
+      fi
 
5665
+      ;;
 
5666
+    esac
 
5667
+
 
5668
+    if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no; then
 
5669
+      runpath_var=
 
5670
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
 
5671
+      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
 
5672
+      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
 
5673
+    fi
 
5674
+  else
 
5675
+    # PORTME fill in a description of your system's linker (not GNU ld)
 
5676
+    case $host_os in
 
5677
+    aix3*)
 
5678
+      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
 
5679
+      _LT_AC_TAGVAR(always_export_symbols, $1)=yes
 
5680
+      _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'
 
5681
+      # Note: this linker hardcodes the directories in LIBPATH if there
 
5682
+      # are no directories specified by -L.
 
5683
+      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
 
5684
+      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
 
5685
+       # Neither direct hardcoding nor static linking is supported with a
 
5686
+       # broken collect2.
 
5687
+       _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
 
5688
+      fi
 
5689
+      ;;
 
5690
+
 
5691
+    aix4* | aix5*)
 
5692
+      if test "$host_cpu" = ia64; then
 
5693
+       # On IA64, the linker does run time linking by default, so we don't
 
5694
+       # have to do anything special.
 
5695
+       aix_use_runtimelinking=no
 
5696
+       exp_sym_flag='-Bexport'
 
5697
+       no_entry_flag=""
 
5698
+      else
 
5699
+       # If we're using GNU nm, then we don't want the "-C" option.
 
5700
+       # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
5701
+       if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
 
5702
+         _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'
 
5703
+       else
 
5704
+         _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'
 
5705
+       fi
 
5706
+       aix_use_runtimelinking=no
 
5707
+
 
5708
+       # Test if we are trying to use run time linking or normal
 
5709
+       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
 
5710
+       # need to do runtime linking.
 
5711
+       case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
 
5712
+         for ld_flag in $LDFLAGS; do
 
5713
+         if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 
5714
+           aix_use_runtimelinking=yes
 
5715
+           break
 
5716
+         fi
 
5717
+         done
 
5718
+         ;;
 
5719
+       esac
 
5720
+
 
5721
+       exp_sym_flag='-bexport'
 
5722
+       no_entry_flag='-bnoentry'
 
5723
+      fi
 
5724
+
 
5725
+      # When large executables or shared objects are built, AIX ld can
 
5726
+      # have problems creating the table of contents.  If linking a library
 
5727
+      # or program results in "error TOC overflow" add -mminimal-toc to
 
5728
+      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 
5729
+      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 
5730
+
 
5731
+      _LT_AC_TAGVAR(archive_cmds, $1)=''
 
5732
+      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
 
5733
+      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
 
5734
+      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
 
5735
+
 
5736
+      if test "$GCC" = yes; then
 
5737
+       case $host_os in aix4.[[012]]|aix4.[[012]].*)
 
5738
+       # We only want to do this on AIX 4.2 and lower, the check
 
5739
+       # below for broken collect2 doesn't work under 4.3+
 
5740
+         collect2name=`${CC} -print-prog-name=collect2`
 
5741
+         if test -f "$collect2name" && \
 
5742
+          strings "$collect2name" | grep resolve_lib_name >/dev/null
 
5743
+         then
 
5744
+         # We have reworked collect2
 
5745
+         _LT_AC_TAGVAR(hardcode_direct, $1)=yes
 
5746
+         else
 
5747
+         # We have old collect2
 
5748
+         _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
 
5749
+         # It fails to find uninstalled libraries when the uninstalled
 
5750
+         # path is not listed in the libpath.  Setting hardcode_minus_L
 
5751
+         # to unsupported forces relinking
 
5752
+         _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
 
5753
+         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
 
5754
+         _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
 
5755
+         fi
 
5756
+         ;;
 
5757
+       esac
 
5758
+       shared_flag='-shared'
 
5759
+       if test "$aix_use_runtimelinking" = yes; then
 
5760
+         shared_flag="$shared_flag "'${wl}-G'
 
5761
+       fi
 
5762
+      else
 
5763
+       # not using gcc
 
5764
+       if test "$host_cpu" = ia64; then
 
5765
+       # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
5766
+       # chokes on -Wl,-G. The following line is correct:
 
5767
+         shared_flag='-G'
 
5768
+       else
 
5769
+         if test "$aix_use_runtimelinking" = yes; then
 
5770
+           shared_flag='${wl}-G'
 
5771
+         else
 
5772
+           shared_flag='${wl}-bM:SRE'
 
5773
+         fi
 
5774
+       fi
 
5775
+      fi
 
5776
+
 
5777
+      # It seems that -bexpall does not export symbols beginning with
 
5778
+      # underscore (_), so it is better to generate a list of symbols to export.
 
5779
+      _LT_AC_TAGVAR(always_export_symbols, $1)=yes
 
5780
+      if test "$aix_use_runtimelinking" = yes; then
 
5781
+       # Warning - without using the other runtime loading flags (-brtl),
 
5782
+       # -berok will link without error, but may produce a broken library.
 
5783
+       _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
 
5784
+       # Determine the default libpath from the value encoded in an empty executable.
 
5785
+       _LT_AC_SYS_LIBPATH_AIX
 
5786
+       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
 
5787
+       _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"
 
5788
+       else
 
5789
+       if test "$host_cpu" = ia64; then
 
5790
+         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
 
5791
+         _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
 
5792
+         _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"
 
5793
+       else
 
5794
+        # Determine the default libpath from the value encoded in an empty executable.
 
5795
+        _LT_AC_SYS_LIBPATH_AIX
 
5796
+        _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
 
5797
+         # Warning - without using the other run time loading flags,
 
5798
+         # -berok will link without error, but may produce a broken library.
 
5799
+         _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
 
5800
+         _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
 
5801
+         # Exported symbols can be pulled into shared objects from archives
 
5802
+         _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
 
5803
+         _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
 
5804
+         # This is similar to how AIX traditionally builds its shared libraries.
 
5805
+         _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'
 
5806
+       fi
 
5807
+      fi
 
5808
+      ;;
 
5809
+
 
5810
+    amigaos*)
 
5811
+      _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)'
 
5812
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
 
5813
+      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
 
5814
+      # see comment about different semantics on the GNU ld section
 
5815
+      _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
5816
+      ;;
 
5817
+
 
5818
+    bsdi[[45]]*)
 
5819
+      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
 
5820
+      ;;
 
5821
+
 
5822
+    cygwin* | mingw* | pw32*)
 
5823
+      # When not using gcc, we currently assume that we are using
 
5824
+      # Microsoft Visual C++.
 
5825
+      # hardcode_libdir_flag_spec is actually meaningless, as there is
 
5826
+      # no search path for DLLs.
 
5827
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
 
5828
+      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
 
5829
+      # Tell ltmain to make .lib files, not .a files.
 
5830
+      libext=lib
 
5831
+      # Tell ltmain to make .dll files, not .so files.
 
5832
+      shrext_cmds=".dll"
 
5833
+      # FIXME: Setting linknames here is a bad hack.
 
5834
+      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
 
5835
+      # The linker will automatically build a .lib file if we build a DLL.
 
5836
+      _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true'
 
5837
+      # FIXME: Should let the user specify the lib program.
 
5838
+      _LT_AC_TAGVAR(old_archive_cmds, $1)='lib /OUT:$oldlib$oldobjs$old_deplibs'
 
5839
+      _LT_AC_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'
 
5840
+      _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
 
5841
+      ;;
 
5842
+
 
5843
+    darwin* | rhapsody*)
 
5844
+      case $host_os in
 
5845
+        rhapsody* | darwin1.[[012]])
 
5846
+         _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress'
 
5847
+         ;;
 
5848
+       *) # Darwin 1.3 on
 
5849
+         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
 
5850
+           _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
5851
+         else
 
5852
+           case ${MACOSX_DEPLOYMENT_TARGET} in
 
5853
+             10.[[012]])
 
5854
+               _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
5855
+               ;;
 
5856
+             10.*)
 
5857
+               _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup'
 
5858
+               ;;
 
5859
+           esac
 
5860
+         fi
 
5861
+         ;;
 
5862
+      esac
 
5863
+      _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
 
5864
+      _LT_AC_TAGVAR(hardcode_direct, $1)=no
 
5865
+      _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
 
5866
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
 
5867
+      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''
 
5868
+      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
 
5869
+    if test "$GCC" = yes ; then
 
5870
+       output_verbose_link_cmd='echo'
 
5871
+        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
 
5872
+      _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
5873
+      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
5874
+      _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
5875
+      _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}'
 
5876
+    else
 
5877
+      case $cc_basename in
 
5878
+        xlc*)
 
5879
+         output_verbose_link_cmd='echo'
 
5880
+         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
5881
+         _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
5882
+          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
5883
+         _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
5884
+          _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}'
 
5885
+          ;;
 
5886
+       *)
 
5887
+         _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
5888
+          ;;
 
5889
+      esac
 
5890
+    fi
 
5891
+      ;;
 
5892
+
 
5893
+    dgux*)
 
5894
+      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
5895
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
 
5896
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
 
5897
+      ;;
 
5898
+
 
5899
+    freebsd1*)
 
5900
+      _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
5901
+      ;;
 
5902
+
 
5903
+    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
 
5904
+    # support.  Future versions do this automatically, but an explicit c++rt0.o
 
5905
+    # does not break anything, and helps significantly (at the cost of a little
 
5906
+    # extra space).
 
5907
+    freebsd2.2*)
 
5908
+      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
 
5909
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
 
5910
+      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
 
5911
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
 
5912
+      ;;
 
5913
+
 
5914
+    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
 
5915
+    freebsd2*)
 
5916
+      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
5917
+      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
 
5918
+      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
 
5919
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
 
5920
+      ;;
 
5921
+
 
5922
+    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
 
5923
+    freebsd* | dragonfly*)
 
5924
+      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 
5925
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
 
5926
+      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
 
5927
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
 
5928
+      ;;
 
5929
+
 
5930
+    hpux9*)
 
5931
+      if test "$GCC" = yes; then
 
5932
+       _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'
 
5933
+      else
 
5934
+       _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'
 
5935
+      fi
 
5936
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
 
5937
+      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
 
5938
+      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
 
5939
+
 
5940
+      # hardcode_minus_L: Not really in the search PATH,
 
5941
+      # but as the default location of the library.
 
5942
+      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
 
5943
+      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
 
5944
+      ;;
 
5945
+
 
5946
+    hpux10*)
 
5947
+      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
5948
+       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
5949
+      else
 
5950
+       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
5951
+      fi
 
5952
+      if test "$with_gnu_ld" = no; then
 
5953
+       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
 
5954
+       _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
 
5955
+
 
5956
+       _LT_AC_TAGVAR(hardcode_direct, $1)=yes
 
5957
+       _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
 
5958
+
 
5959
+       # hardcode_minus_L: Not really in the search PATH,
 
5960
+       # but as the default location of the library.
 
5961
+       _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
 
5962
+      fi
 
5963
+      ;;
 
5964
+
 
5965
+    hpux11*)
 
5966
+      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
5967
+       case $host_cpu in
 
5968
+       hppa*64*)
 
5969
+         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
5970
+         ;;
 
5971
+       ia64*)
 
5972
+         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
5973
+         ;;
 
5974
+       *)
 
5975
+         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
5976
+         ;;
 
5977
+       esac
 
5978
+      else
 
5979
+       case $host_cpu in
 
5980
+       hppa*64*)
 
5981
+         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
5982
+         ;;
 
5983
+       ia64*)
 
5984
+         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
5985
+         ;;
 
5986
+       *)
 
5987
+         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
5988
+         ;;
 
5989
+       esac
 
5990
+      fi
 
5991
+      if test "$with_gnu_ld" = no; then
 
5992
+       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
 
5993
+       _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
 
5994
+
 
5995
+       case $host_cpu in
 
5996
+       hppa*64*|ia64*)
 
5997
+         _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
 
5998
+         _LT_AC_TAGVAR(hardcode_direct, $1)=no
 
5999
+         _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
 
6000
+         ;;
 
6001
+       *)
 
6002
+         _LT_AC_TAGVAR(hardcode_direct, $1)=yes
 
6003
+         _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
 
6004
+
 
6005
+         # hardcode_minus_L: Not really in the search PATH,
 
6006
+         # but as the default location of the library.
 
6007
+         _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
 
6008
+         ;;
 
6009
+       esac
 
6010
+      fi
 
6011
+      ;;
 
6012
+
 
6013
+    irix5* | irix6* | nonstopux*)
 
6014
+      if test "$GCC" = yes; then
 
6015
+       _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'
 
6016
+      else
 
6017
+       _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'
 
6018
+       _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
 
6019
+      fi
 
6020
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
 
6021
+      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
 
6022
+      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
 
6023
+      ;;
 
6024
+
 
6025
+    netbsd* | netbsdelf*-gnu)
 
6026
+      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
6027
+       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
 
6028
+      else
 
6029
+       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
 
6030
+      fi
 
6031
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
 
6032
+      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
 
6033
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
 
6034
+      ;;
 
6035
+
 
6036
+    newsos6)
 
6037
+      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
6038
+      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
 
6039
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
 
6040
+      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
 
6041
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
 
6042
+      ;;
 
6043
+
 
6044
+    openbsd*)
 
6045
+      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
 
6046
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
 
6047
+      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
6048
+       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
6049
+       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
6050
+       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
 
6051
+       _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
 
6052
+      else
 
6053
+       case $host_os in
 
6054
+        openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
 
6055
+          _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
6056
+          _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
 
6057
+          ;;
 
6058
+        *)
 
6059
+          _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
6060
+          _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
 
6061
+          ;;
 
6062
+       esac
 
6063
+      fi
 
6064
+      ;;
 
6065
+
 
6066
+    os2*)
 
6067
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
 
6068
+      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
 
6069
+      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
 
6070
+      _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'
 
6071
+      _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 
6072
+      ;;
 
6073
+
 
6074
+    osf3*)
 
6075
+      if test "$GCC" = yes; then
 
6076
+       _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
 
6077
+       _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'
 
6078
+      else
 
6079
+       _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
 
6080
+       _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'
 
6081
+      fi
 
6082
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
 
6083
+      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
 
6084
+      ;;
 
6085
+
 
6086
+    osf4* | osf5*)     # as osf3* with the addition of -msym flag
 
6087
+      if test "$GCC" = yes; then
 
6088
+       _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
 
6089
+       _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'
 
6090
+       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
 
6091
+      else
 
6092
+       _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
 
6093
+       _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'
 
6094
+       _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~
 
6095
+       $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'
 
6096
+
 
6097
+       # Both c and cxx compiler support -rpath directly
 
6098
+       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
 
6099
+      fi
 
6100
+      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
 
6101
+      ;;
 
6102
+
 
6103
+    solaris*)
 
6104
+      _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
 
6105
+      if test "$GCC" = yes; then
 
6106
+       wlarc='${wl}'
 
6107
+       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
6108
+       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 
6109
+         $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
 
6110
+      else
 
6111
+       wlarc=''
 
6112
+       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
6113
+       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 
6114
+       $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
 
6115
+      fi
 
6116
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
 
6117
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
 
6118
+      case $host_os in
 
6119
+      solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
 
6120
+      *)
 
6121
+       # The compiler driver will combine linker options so we
 
6122
+       # cannot just pass the convience library names through
 
6123
+       # without $wl, iff we do not link with $LD.
 
6124
+       # Luckily, gcc supports the same syntax we need for Sun Studio.
 
6125
+       # Supported since Solaris 2.6 (maybe 2.5.1?)
 
6126
+       case $wlarc in
 
6127
+       '')
 
6128
+         _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;;
 
6129
+       *)
 
6130
+         _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
 
6131
+       esac ;;
 
6132
+      esac
 
6133
+      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
 
6134
+      ;;
 
6135
+
 
6136
+    sunos4*)
 
6137
+      if test "x$host_vendor" = xsequent; then
 
6138
+       # Use $CC to link under sequent, because it throws in some extra .o
 
6139
+       # files that make .init and .fini sections work.
 
6140
+       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
6141
+      else
 
6142
+       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
 
6143
+      fi
 
6144
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
 
6145
+      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
 
6146
+      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
 
6147
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
 
6148
+      ;;
 
6149
+
 
6150
+    sysv4)
 
6151
+      case $host_vendor in
 
6152
+       sni)
 
6153
+         _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
6154
+         _LT_AC_TAGVAR(hardcode_direct, $1)=yes # is this really true???
 
6155
+       ;;
 
6156
+       siemens)
 
6157
+         ## LD is ld it makes a PLAMLIB
 
6158
+         ## CC just makes a GrossModule.
 
6159
+         _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
 
6160
+         _LT_AC_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
 
6161
+         _LT_AC_TAGVAR(hardcode_direct, $1)=no
 
6162
+        ;;
 
6163
+       motorola)
 
6164
+         _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
6165
+         _LT_AC_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
 
6166
+       ;;
 
6167
+      esac
 
6168
+      runpath_var='LD_RUN_PATH'
 
6169
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
 
6170
+      ;;
 
6171
+
 
6172
+    sysv4.3*)
 
6173
+      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
6174
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
 
6175
+      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
 
6176
+      ;;
 
6177
+
 
6178
+    sysv4*MP*)
 
6179
+      if test -d /usr/nec; then
 
6180
+       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
6181
+       _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
 
6182
+       runpath_var=LD_RUN_PATH
 
6183
+       hardcode_runpath_var=yes
 
6184
+       _LT_AC_TAGVAR(ld_shlibs, $1)=yes
 
6185
+      fi
 
6186
+      ;;
 
6187
+
 
6188
+    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7*)
 
6189
+      _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
 
6190
+      _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
 
6191
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
 
6192
+      runpath_var='LD_RUN_PATH'
 
6193
+
 
6194
+      if test "$GCC" = yes; then
 
6195
+       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
6196
+       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
6197
+      else
 
6198
+       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
6199
+       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
6200
+      fi
 
6201
+      ;;
 
6202
+
 
6203
+    sysv5* | sco3.2v5* | sco5v6*)
 
6204
+      # Note: We can NOT use -z defs as we might desire, because we do not
 
6205
+      # link with -lc, and that would cause any symbols used from libc to
 
6206
+      # always be unresolved, which means just about no library would
 
6207
+      # ever link correctly.  If we're not using GNU ld we use -z text
 
6208
+      # though, which does catch some bad symbols but isn't as heavy-handed
 
6209
+      # as -z defs.
 
6210
+      _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
 
6211
+      _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
 
6212
+      _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
 
6213
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
 
6214
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
6215
+      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
 
6216
+      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
 
6217
+      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
 
6218
+      runpath_var='LD_RUN_PATH'
 
6219
+
 
6220
+      if test "$GCC" = yes; then
 
6221
+       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
6222
+       _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'
 
6223
+      else
 
6224
+       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
6225
+       _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'
 
6226
+      fi
 
6227
+      ;;
 
6228
+
 
6229
+    uts4*)
 
6230
+      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
6231
+      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
 
6232
+      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
 
6233
+      ;;
 
6234
+
 
6235
+    *)
 
6236
+      _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
6237
+      ;;
 
6238
+    esac
 
6239
+  fi
 
6240
+])
 
6241
+AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
 
6242
+test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
 
6243
+
 
6244
+#
 
6245
+# Do we need to explicitly link libc?
 
6246
+#
 
6247
+case "x$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)" in
 
6248
+x|xyes)
 
6249
+  # Assume -lc should be added
 
6250
+  _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
 
6251
+
 
6252
+  if test "$enable_shared" = yes && test "$GCC" = yes; then
 
6253
+    case $_LT_AC_TAGVAR(archive_cmds, $1) in
 
6254
+    *'~'*)
 
6255
+      # FIXME: we may have to deal with multi-command sequences.
 
6256
+      ;;
 
6257
+    '$CC '*)
 
6258
+      # Test whether the compiler implicitly links with -lc since on some
 
6259
+      # systems, -lgcc has to come before -lc. If gcc already passes -lc
 
6260
+      # to ld, don't add -lc before -lgcc.
 
6261
+      AC_MSG_CHECKING([whether -lc should be explicitly linked in])
 
6262
+      $rm conftest*
 
6263
+      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
6264
+
 
6265
+      if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
 
6266
+        soname=conftest
 
6267
+        lib=conftest
 
6268
+        libobjs=conftest.$ac_objext
 
6269
+        deplibs=
 
6270
+        wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
 
6271
+       pic_flag=$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)
 
6272
+        compiler_flags=-v
 
6273
+        linker_flags=-v
 
6274
+        verstring=
 
6275
+        output_objdir=.
 
6276
+        libname=conftest
 
6277
+        lt_save_allow_undefined_flag=$_LT_AC_TAGVAR(allow_undefined_flag, $1)
 
6278
+        _LT_AC_TAGVAR(allow_undefined_flag, $1)=
 
6279
+        if AC_TRY_EVAL(_LT_AC_TAGVAR(archive_cmds, $1) 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1)
 
6280
+        then
 
6281
+         _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
 
6282
+        else
 
6283
+         _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
 
6284
+        fi
 
6285
+        _LT_AC_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
 
6286
+      else
 
6287
+        cat conftest.err 1>&5
 
6288
+      fi
 
6289
+      $rm conftest*
 
6290
+      AC_MSG_RESULT([$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)])
 
6291
+      ;;
 
6292
+    esac
 
6293
+  fi
 
6294
+  ;;
 
6295
+esac
 
6296
+])# AC_LIBTOOL_PROG_LD_SHLIBS
 
6297
+
 
6298
+
 
6299
+# _LT_AC_FILE_LTDLL_C
 
6300
+# -------------------
 
6301
+# Be careful that the start marker always follows a newline.
 
6302
+AC_DEFUN([_LT_AC_FILE_LTDLL_C], [
 
6303
+# /* ltdll.c starts here */
 
6304
+# #define WIN32_LEAN_AND_MEAN
 
6305
+# #include <windows.h>
 
6306
+# #undef WIN32_LEAN_AND_MEAN
 
6307
+# #include <stdio.h>
 
6308
+#
 
6309
+# #ifndef __CYGWIN__
 
6310
+# #  ifdef __CYGWIN32__
 
6311
+# #    define __CYGWIN__ __CYGWIN32__
 
6312
+# #  endif
 
6313
+# #endif
 
6314
+#
 
6315
+# #ifdef __cplusplus
 
6316
+# extern "C" {
 
6317
+# #endif
 
6318
+# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
 
6319
+# #ifdef __cplusplus
 
6320
+# }
 
6321
+# #endif
 
6322
+#
 
6323
+# #ifdef __CYGWIN__
 
6324
+# #include <cygwin/cygwin_dll.h>
 
6325
+# DECLARE_CYGWIN_DLL( DllMain );
 
6326
+# #endif
 
6327
+# HINSTANCE __hDllInstance_base;
 
6328
+#
 
6329
+# BOOL APIENTRY
 
6330
+# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
 
6331
+# {
 
6332
+#   __hDllInstance_base = hInst;
 
6333
+#   return TRUE;
 
6334
+# }
 
6335
+# /* ltdll.c ends here */
 
6336
+])# _LT_AC_FILE_LTDLL_C
 
6337
+
 
6338
+
 
6339
+# _LT_AC_TAGVAR(VARNAME, [TAGNAME])
 
6340
+# ---------------------------------
 
6341
+AC_DEFUN([_LT_AC_TAGVAR], [ifelse([$2], [], [$1], [$1_$2])])
 
6342
+
 
6343
+
 
6344
+# old names
 
6345
+AC_DEFUN([AM_PROG_LIBTOOL],   [AC_PROG_LIBTOOL])
 
6346
+AC_DEFUN([AM_ENABLE_SHARED],  [AC_ENABLE_SHARED($@)])
 
6347
+AC_DEFUN([AM_ENABLE_STATIC],  [AC_ENABLE_STATIC($@)])
 
6348
+AC_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
 
6349
+AC_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
 
6350
+AC_DEFUN([AM_PROG_LD],        [AC_PROG_LD])
 
6351
+AC_DEFUN([AM_PROG_NM],        [AC_PROG_NM])
 
6352
+
 
6353
+# This is just to silence aclocal about the macro not being used
 
6354
+ifelse([AC_DISABLE_FAST_INSTALL])
 
6355
+
 
6356
+AC_DEFUN([LT_AC_PROG_GCJ],
 
6357
+[AC_CHECK_TOOL(GCJ, gcj, no)
 
6358
+  test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
 
6359
+  AC_SUBST(GCJFLAGS)
 
6360
+])
 
6361
+
 
6362
+AC_DEFUN([LT_AC_PROG_RC],
 
6363
+[AC_CHECK_TOOL(RC, windres, no)
 
6364
+])
 
6365
+
 
6366
+# NOTE: This macro has been submitted for inclusion into   #
 
6367
+#  GNU Autoconf as AC_PROG_SED.  When it is available in   #
 
6368
+#  a released version of Autoconf we should remove this    #
 
6369
+#  macro and use it instead.                               #
 
6370
+# LT_AC_PROG_SED
 
6371
+# --------------
 
6372
+# Check for a fully-functional sed program, that truncates
 
6373
+# as few characters as possible.  Prefer GNU sed if found.
 
6374
+AC_DEFUN([LT_AC_PROG_SED],
 
6375
+[AC_MSG_CHECKING([for a sed that does not truncate output])
 
6376
+AC_CACHE_VAL(lt_cv_path_SED,
 
6377
+[# Loop through the user's path and test for sed and gsed.
 
6378
+# Then use that list of sed's as ones to test for truncation.
 
6379
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6380
+for as_dir in $PATH
 
6381
+do
 
6382
+  IFS=$as_save_IFS
 
6383
+  test -z "$as_dir" && as_dir=.
 
6384
+  for lt_ac_prog in sed gsed; do
 
6385
+    for ac_exec_ext in '' $ac_executable_extensions; do
 
6386
+      if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
 
6387
+        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
 
6388
+      fi
 
6389
+    done
 
6390
+  done
 
6391
+done
 
6392
+lt_ac_max=0
 
6393
+lt_ac_count=0
 
6394
+# Add /usr/xpg4/bin/sed as it is typically found on Solaris
 
6395
+# along with /bin/sed that truncates output.
 
6396
+for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
 
6397
+  test ! -f $lt_ac_sed && continue
 
6398
+  cat /dev/null > conftest.in
 
6399
+  lt_ac_count=0
 
6400
+  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
 
6401
+  # Check for GNU sed and select it if it is found.
 
6402
+  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
 
6403
+    lt_cv_path_SED=$lt_ac_sed
 
6404
+    break
 
6405
+  fi
 
6406
+  while true; do
 
6407
+    cat conftest.in conftest.in >conftest.tmp
 
6408
+    mv conftest.tmp conftest.in
 
6409
+    cp conftest.in conftest.nl
 
6410
+    echo >>conftest.nl
 
6411
+    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
 
6412
+    cmp -s conftest.out conftest.nl || break
 
6413
+    # 10000 chars as input seems more than enough
 
6414
+    test $lt_ac_count -gt 10 && break
 
6415
+    lt_ac_count=`expr $lt_ac_count + 1`
 
6416
+    if test $lt_ac_count -gt $lt_ac_max; then
 
6417
+      lt_ac_max=$lt_ac_count
 
6418
+      lt_cv_path_SED=$lt_ac_sed
 
6419
+    fi
 
6420
+  done
 
6421
+done
 
6422
+])
 
6423
+SED=$lt_cv_path_SED
 
6424
+AC_MSG_RESULT([$SED])
 
6425
+])
 
6426
+
 
6427
+# pkg.m4 - Macros to locate and utilise pkg-config.            -*- Autoconf -*-
 
6428
+# 
 
6429
+# Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
 
6430
+#
 
6431
+# This program is free software; you can redistribute it and/or modify
 
6432
+# it under the terms of the GNU General Public License as published by
 
6433
+# the Free Software Foundation; either version 2 of the License, or
 
6434
+# (at your option) any later version.
 
6435
+#
 
6436
+# This program is distributed in the hope that it will be useful, but
 
6437
+# WITHOUT ANY WARRANTY; without even the implied warranty of
 
6438
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
6439
+# General Public License for more details.
 
6440
+#
 
6441
+# You should have received a copy of the GNU General Public License
 
6442
+# along with this program; if not, write to the Free Software
 
6443
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
6444
+#
 
6445
+# As a special exception to the GNU General Public License, if you
 
6446
+# distribute this file as part of a program that contains a
 
6447
+# configuration script generated by Autoconf, you may include it under
 
6448
+# the same distribution terms that you use for the rest of that program.
 
6449
+
 
6450
+# PKG_PROG_PKG_CONFIG([MIN-VERSION])
 
6451
+# ----------------------------------
 
6452
+AC_DEFUN([PKG_PROG_PKG_CONFIG],
 
6453
+[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
 
6454
+m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
 
6455
+AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl
 
6456
+if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
 
6457
+       AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
 
6458
+fi
 
6459
+if test -n "$PKG_CONFIG"; then
 
6460
+       _pkg_min_version=m4_default([$1], [0.9.0])
 
6461
+       AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
 
6462
+       if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
 
6463
+               AC_MSG_RESULT([yes])
 
6464
+       else
 
6465
+               AC_MSG_RESULT([no])
 
6466
+               PKG_CONFIG=""
 
6467
+       fi
 
6468
+               
 
6469
+fi[]dnl
 
6470
+])# PKG_PROG_PKG_CONFIG
 
6471
+
 
6472
+# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
 
6473
+#
 
6474
+# Check to see whether a particular set of modules exists.  Similar
 
6475
+# to PKG_CHECK_MODULES(), but does not set variables or print errors.
 
6476
+#
 
6477
+#
 
6478
+# Similar to PKG_CHECK_MODULES, make sure that the first instance of
 
6479
+# this or PKG_CHECK_MODULES is called, or make sure to call
 
6480
+# PKG_CHECK_EXISTS manually
 
6481
+# --------------------------------------------------------------
 
6482
+AC_DEFUN([PKG_CHECK_EXISTS],
 
6483
+[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
 
6484
+if test -n "$PKG_CONFIG" && \
 
6485
+    AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
 
6486
+  m4_ifval([$2], [$2], [:])
 
6487
+m4_ifvaln([$3], [else
 
6488
+  $3])dnl
 
6489
+fi])
 
6490
+
 
6491
+
 
6492
+# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
 
6493
+# ---------------------------------------------
 
6494
+m4_define([_PKG_CONFIG],
 
6495
+[if test -n "$PKG_CONFIG"; then
 
6496
+    if test -n "$$1"; then
 
6497
+        pkg_cv_[]$1="$$1"
 
6498
+    else
 
6499
+        PKG_CHECK_EXISTS([$3],
 
6500
+                         [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
 
6501
+                        [pkg_failed=yes])
 
6502
+    fi
 
6503
+else
 
6504
+       pkg_failed=untried
 
6505
+fi[]dnl
 
6506
+])# _PKG_CONFIG
 
6507
+
 
6508
+# _PKG_SHORT_ERRORS_SUPPORTED
 
6509
+# -----------------------------
 
6510
+AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],
 
6511
+[AC_REQUIRE([PKG_PROG_PKG_CONFIG])
 
6512
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
6513
+        _pkg_short_errors_supported=yes
 
6514
+else
 
6515
+        _pkg_short_errors_supported=no
 
6516
+fi[]dnl
 
6517
+])# _PKG_SHORT_ERRORS_SUPPORTED
 
6518
+
 
6519
+
 
6520
+# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
 
6521
+# [ACTION-IF-NOT-FOUND])
 
6522
+#
 
6523
+#
 
6524
+# Note that if there is a possibility the first call to
 
6525
+# PKG_CHECK_MODULES might not happen, you should be sure to include an
 
6526
+# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
 
6527
+#
 
6528
+#
 
6529
+# --------------------------------------------------------------
 
6530
+AC_DEFUN([PKG_CHECK_MODULES],
 
6531
+[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
 
6532
+AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
 
6533
+AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
 
6534
+
 
6535
+pkg_failed=no
 
6536
+AC_MSG_CHECKING([for $1])
 
6537
+
 
6538
+_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
 
6539
+_PKG_CONFIG([$1][_LIBS], [libs], [$2])
 
6540
+
 
6541
+m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
 
6542
+and $1[]_LIBS to avoid the need to call pkg-config.
 
6543
+See the pkg-config man page for more details.])
 
6544
+
 
6545
+if test $pkg_failed = yes; then
 
6546
+        _PKG_SHORT_ERRORS_SUPPORTED
 
6547
+        if test $_pkg_short_errors_supported = yes; then
 
6548
+               $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"`
 
6549
+        else 
 
6550
+               $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
 
6551
+        fi
 
6552
+       # Put the nasty error message in config.log where it belongs
 
6553
+       echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
 
6554
+
 
6555
+       ifelse([$4], , [AC_MSG_ERROR(dnl
 
6556
+[Package requirements ($2) were not met:
 
6557
+
 
6558
+$$1_PKG_ERRORS
 
6559
+
 
6560
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
6561
+installed software in a non-standard prefix.
 
6562
+
 
6563
+_PKG_TEXT
 
6564
+])],
 
6565
+               [AC_MSG_RESULT([no])
 
6566
+                $4])
 
6567
+elif test $pkg_failed = untried; then
 
6568
+       ifelse([$4], , [AC_MSG_FAILURE(dnl
 
6569
+[The pkg-config script could not be found or is too old.  Make sure it
 
6570
+is in your PATH or set the PKG_CONFIG environment variable to the full
 
6571
+path to pkg-config.
 
6572
+
 
6573
+_PKG_TEXT
 
6574
+
 
6575
+To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.])],
 
6576
+               [$4])
 
6577
+else
 
6578
+       $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
 
6579
+       $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
 
6580
+        AC_MSG_RESULT([yes])
 
6581
+       ifelse([$3], , :, [$3])
 
6582
+fi[]dnl
 
6583
+])# PKG_CHECK_MODULES
 
6584
+
 
6585
+# Copyright (C) 2002, 2003, 2005  Free Software Foundation, Inc.
 
6586
+#
 
6587
+# This file is free software; the Free Software Foundation
 
6588
+# gives unlimited permission to copy and/or distribute it,
 
6589
+# with or without modifications, as long as this notice is preserved.
 
6590
+
 
6591
+# AM_AUTOMAKE_VERSION(VERSION)
 
6592
+# ----------------------------
 
6593
+# Automake X.Y traces this macro to ensure aclocal.m4 has been
 
6594
+# generated from the m4 files accompanying Automake X.Y.
 
6595
+AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
 
6596
+
 
6597
+# AM_SET_CURRENT_AUTOMAKE_VERSION
 
6598
+# -------------------------------
 
6599
+# Call AM_AUTOMAKE_VERSION so it can be traced.
 
6600
+# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
 
6601
+AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
 
6602
+        [AM_AUTOMAKE_VERSION([1.9.6])])
 
6603
+
 
6604
+# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
 
6605
+
 
6606
+# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
 
6607
+#
 
6608
+# This file is free software; the Free Software Foundation
 
6609
+# gives unlimited permission to copy and/or distribute it,
 
6610
+# with or without modifications, as long as this notice is preserved.
 
6611
+
 
6612
+# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
 
6613
+# $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to
 
6614
+# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
 
6615
+#
 
6616
+# Of course, Automake must honor this variable whenever it calls a
 
6617
+# tool from the auxiliary directory.  The problem is that $srcdir (and
 
6618
+# therefore $ac_aux_dir as well) can be either absolute or relative,
 
6619
+# depending on how configure is run.  This is pretty annoying, since
 
6620
+# it makes $ac_aux_dir quite unusable in subdirectories: in the top
 
6621
+# source directory, any form will work fine, but in subdirectories a
 
6622
+# relative path needs to be adjusted first.
 
6623
+#
 
6624
+# $ac_aux_dir/missing
 
6625
+#    fails when called from a subdirectory if $ac_aux_dir is relative
 
6626
+# $top_srcdir/$ac_aux_dir/missing
 
6627
+#    fails if $ac_aux_dir is absolute,
 
6628
+#    fails when called from a subdirectory in a VPATH build with
 
6629
+#          a relative $ac_aux_dir
 
6630
+#
 
6631
+# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
 
6632
+# are both prefixed by $srcdir.  In an in-source build this is usually
 
6633
+# harmless because $srcdir is `.', but things will broke when you
 
6634
+# start a VPATH build or use an absolute $srcdir.
 
6635
+#
 
6636
+# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
 
6637
+# iff we strip the leading $srcdir from $ac_aux_dir.  That would be:
 
6638
+#   am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
 
6639
+# and then we would define $MISSING as
 
6640
+#   MISSING="\${SHELL} $am_aux_dir/missing"
 
6641
+# This will work as long as MISSING is not called from configure, because
 
6642
+# unfortunately $(top_srcdir) has no meaning in configure.
 
6643
+# However there are other variables, like CC, which are often used in
 
6644
+# configure, and could therefore not use this "fixed" $ac_aux_dir.
 
6645
+#
 
6646
+# Another solution, used here, is to always expand $ac_aux_dir to an
 
6647
+# absolute PATH.  The drawback is that using absolute paths prevent a
 
6648
+# configured tree to be moved without reconfiguration.
 
6649
+
 
6650
+AC_DEFUN([AM_AUX_DIR_EXPAND],
 
6651
+[dnl Rely on autoconf to set up CDPATH properly.
 
6652
+AC_PREREQ([2.50])dnl
 
6653
+# expand $ac_aux_dir to an absolute path
 
6654
+am_aux_dir=`cd $ac_aux_dir && pwd`
 
6655
+])
 
6656
+
 
6657
+# AM_CONDITIONAL                                            -*- Autoconf -*-
 
6658
+
 
6659
+# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
 
6660
+# Free Software Foundation, Inc.
 
6661
+#
 
6662
+# This file is free software; the Free Software Foundation
 
6663
+# gives unlimited permission to copy and/or distribute it,
 
6664
+# with or without modifications, as long as this notice is preserved.
 
6665
+
 
6666
+# serial 7
 
6667
+
 
6668
+# AM_CONDITIONAL(NAME, SHELL-CONDITION)
 
6669
+# -------------------------------------
 
6670
+# Define a conditional.
 
6671
+AC_DEFUN([AM_CONDITIONAL],
 
6672
+[AC_PREREQ(2.52)dnl
 
6673
+ ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
 
6674
+       [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
 
6675
+AC_SUBST([$1_TRUE])
 
6676
+AC_SUBST([$1_FALSE])
 
6677
+if $2; then
 
6678
+  $1_TRUE=
 
6679
+  $1_FALSE='#'
 
6680
+else
 
6681
+  $1_TRUE='#'
 
6682
+  $1_FALSE=
 
6683
+fi
 
6684
+AC_CONFIG_COMMANDS_PRE(
 
6685
+[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
 
6686
+  AC_MSG_ERROR([[conditional "$1" was never defined.
 
6687
+Usually this means the macro was only invoked conditionally.]])
 
6688
+fi])])
 
6689
+
 
6690
+
 
6691
+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
 
6692
+# Free Software Foundation, Inc.
 
6693
+#
 
6694
+# This file is free software; the Free Software Foundation
 
6695
+# gives unlimited permission to copy and/or distribute it,
 
6696
+# with or without modifications, as long as this notice is preserved.
 
6697
+
 
6698
+# serial 8
 
6699
+
 
6700
+# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
 
6701
+# written in clear, in which case automake, when reading aclocal.m4,
 
6702
+# will think it sees a *use*, and therefore will trigger all it's
 
6703
+# C support machinery.  Also note that it means that autoscan, seeing
 
6704
+# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
 
6705
+
 
6706
+
 
6707
+# _AM_DEPENDENCIES(NAME)
 
6708
+# ----------------------
 
6709
+# See how the compiler implements dependency checking.
 
6710
+# NAME is "CC", "CXX", "GCJ", or "OBJC".
 
6711
+# We try a few techniques and use that to set a single cache variable.
 
6712
+#
 
6713
+# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
 
6714
+# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
 
6715
+# dependency, and given that the user is not expected to run this macro,
 
6716
+# just rely on AC_PROG_CC.
 
6717
+AC_DEFUN([_AM_DEPENDENCIES],
 
6718
+[AC_REQUIRE([AM_SET_DEPDIR])dnl
 
6719
+AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
 
6720
+AC_REQUIRE([AM_MAKE_INCLUDE])dnl
 
6721
+AC_REQUIRE([AM_DEP_TRACK])dnl
 
6722
+
 
6723
+ifelse([$1], CC,   [depcc="$CC"   am_compiler_list=],
 
6724
+       [$1], CXX,  [depcc="$CXX"  am_compiler_list=],
 
6725
+       [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
 
6726
+       [$1], GCJ,  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
 
6727
+                   [depcc="$$1"   am_compiler_list=])
 
6728
+
 
6729
+AC_CACHE_CHECK([dependency style of $depcc],
 
6730
+               [am_cv_$1_dependencies_compiler_type],
 
6731
+[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
6732
+  # We make a subdir and do the tests there.  Otherwise we can end up
 
6733
+  # making bogus files that we don't know about and never remove.  For
 
6734
+  # instance it was reported that on HP-UX the gcc test will end up
 
6735
+  # making a dummy file named `D' -- because `-MD' means `put the output
 
6736
+  # in D'.
 
6737
+  mkdir conftest.dir
 
6738
+  # Copy depcomp to subdir because otherwise we won't find it if we're
 
6739
+  # using a relative directory.
 
6740
+  cp "$am_depcomp" conftest.dir
 
6741
+  cd conftest.dir
 
6742
+  # We will build objects and dependencies in a subdirectory because
 
6743
+  # it helps to detect inapplicable dependency modes.  For instance
 
6744
+  # both Tru64's cc and ICC support -MD to output dependencies as a
 
6745
+  # side effect of compilation, but ICC will put the dependencies in
 
6746
+  # the current directory while Tru64 will put them in the object
 
6747
+  # directory.
 
6748
+  mkdir sub
 
6749
+
 
6750
+  am_cv_$1_dependencies_compiler_type=none
 
6751
+  if test "$am_compiler_list" = ""; then
 
6752
+     am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
 
6753
+  fi
 
6754
+  for depmode in $am_compiler_list; do
 
6755
+    # Setup a source with many dependencies, because some compilers
 
6756
+    # like to wrap large dependency lists on column 80 (with \), and
 
6757
+    # we should not choose a depcomp mode which is confused by this.
 
6758
+    #
 
6759
+    # We need to recreate these files for each test, as the compiler may
 
6760
+    # overwrite some of them when testing with obscure command lines.
 
6761
+    # This happens at least with the AIX C compiler.
 
6762
+    : > sub/conftest.c
 
6763
+    for i in 1 2 3 4 5 6; do
 
6764
+      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
6765
+      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
6766
+      # Solaris 8's {/usr,}/bin/sh.
 
6767
+      touch sub/conftst$i.h
 
6768
+    done
 
6769
+    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
6770
+
 
6771
+    case $depmode in
 
6772
+    nosideeffect)
 
6773
+      # after this tag, mechanisms are not by side-effect, so they'll
 
6774
+      # only be used when explicitly requested
 
6775
+      if test "x$enable_dependency_tracking" = xyes; then
 
6776
+       continue
 
6777
+      else
 
6778
+       break
 
6779
+      fi
 
6780
+      ;;
 
6781
+    none) break ;;
 
6782
+    esac
 
6783
+    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
6784
+    # mode.  It turns out that the SunPro C++ compiler does not properly
 
6785
+    # handle `-M -o', and we need to detect this.
 
6786
+    if depmode=$depmode \
 
6787
+       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
6788
+       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
6789
+       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
6790
+         >/dev/null 2>conftest.err &&
 
6791
+       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
6792
+       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
6793
+       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
6794
+      # icc doesn't choke on unknown options, it will just issue warnings
 
6795
+      # or remarks (even with -Werror).  So we grep stderr for any message
 
6796
+      # that says an option was ignored or not supported.
 
6797
+      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
6798
+      #   icc: Command line warning: ignoring option '-M'; no argument required
 
6799
+      # The diagnosis changed in icc 8.0:
 
6800
+      #   icc: Command line remark: option '-MP' not supported
 
6801
+      if (grep 'ignoring option' conftest.err ||
 
6802
+          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
6803
+        am_cv_$1_dependencies_compiler_type=$depmode
 
6804
+        break
 
6805
+      fi
 
6806
+    fi
 
6807
+  done
 
6808
+
 
6809
+  cd ..
 
6810
+  rm -rf conftest.dir
 
6811
+else
 
6812
+  am_cv_$1_dependencies_compiler_type=none
 
6813
+fi
 
6814
+])
 
6815
+AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
 
6816
+AM_CONDITIONAL([am__fastdep$1], [
 
6817
+  test "x$enable_dependency_tracking" != xno \
 
6818
+  && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
 
6819
+])
 
6820
+
 
6821
+
 
6822
+# AM_SET_DEPDIR
 
6823
+# -------------
 
6824
+# Choose a directory name for dependency files.
 
6825
+# This macro is AC_REQUIREd in _AM_DEPENDENCIES
 
6826
+AC_DEFUN([AM_SET_DEPDIR],
 
6827
+[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
 
6828
+AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
 
6829
+])
 
6830
+
 
6831
+
 
6832
+# AM_DEP_TRACK
 
6833
+# ------------
 
6834
+AC_DEFUN([AM_DEP_TRACK],
 
6835
+[AC_ARG_ENABLE(dependency-tracking,
 
6836
+[  --disable-dependency-tracking  speeds up one-time build
 
6837
+  --enable-dependency-tracking   do not reject slow dependency extractors])
 
6838
+if test "x$enable_dependency_tracking" != xno; then
 
6839
+  am_depcomp="$ac_aux_dir/depcomp"
 
6840
+  AMDEPBACKSLASH='\'
 
6841
+fi
 
6842
+AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
 
6843
+AC_SUBST([AMDEPBACKSLASH])
 
6844
+])
 
6845
+
 
6846
+# Generate code to set up dependency tracking.              -*- Autoconf -*-
 
6847
+
 
6848
+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
 
6849
+# Free Software Foundation, Inc.
 
6850
+#
 
6851
+# This file is free software; the Free Software Foundation
 
6852
+# gives unlimited permission to copy and/or distribute it,
 
6853
+# with or without modifications, as long as this notice is preserved.
 
6854
+
 
6855
+#serial 3
 
6856
+
 
6857
+# _AM_OUTPUT_DEPENDENCY_COMMANDS
 
6858
+# ------------------------------
 
6859
+AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
 
6860
+[for mf in $CONFIG_FILES; do
 
6861
+  # Strip MF so we end up with the name of the file.
 
6862
+  mf=`echo "$mf" | sed -e 's/:.*$//'`
 
6863
+  # Check whether this is an Automake generated Makefile or not.
 
6864
+  # We used to match only the files named `Makefile.in', but
 
6865
+  # some people rename them; so instead we look at the file content.
 
6866
+  # Grep'ing the first line is not enough: some people post-process
 
6867
+  # each Makefile.in and add a new line on top of each file to say so.
 
6868
+  # So let's grep whole file.
 
6869
+  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
 
6870
+    dirpart=`AS_DIRNAME("$mf")`
 
6871
+  else
 
6872
+    continue
 
6873
+  fi
 
6874
+  # Extract the definition of DEPDIR, am__include, and am__quote
 
6875
+  # from the Makefile without running `make'.
 
6876
+  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
6877
+  test -z "$DEPDIR" && continue
 
6878
+  am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
6879
+  test -z "am__include" && continue
 
6880
+  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
6881
+  # When using ansi2knr, U may be empty or an underscore; expand it
 
6882
+  U=`sed -n 's/^U = //p' < "$mf"`
 
6883
+  # Find all dependency output files, they are included files with
 
6884
+  # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
6885
+  # simplest approach to changing $(DEPDIR) to its actual value in the
 
6886
+  # expansion.
 
6887
+  for file in `sed -n "
 
6888
+    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
6889
+       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
6890
+    # Make sure the directory exists.
 
6891
+    test -f "$dirpart/$file" && continue
 
6892
+    fdir=`AS_DIRNAME(["$file"])`
 
6893
+    AS_MKDIR_P([$dirpart/$fdir])
 
6894
+    # echo "creating $dirpart/$file"
 
6895
+    echo '# dummy' > "$dirpart/$file"
 
6896
+  done
 
6897
+done
 
6898
+])# _AM_OUTPUT_DEPENDENCY_COMMANDS
 
6899
+
 
6900
+
 
6901
+# AM_OUTPUT_DEPENDENCY_COMMANDS
 
6902
+# -----------------------------
 
6903
+# This macro should only be invoked once -- use via AC_REQUIRE.
 
6904
+#
 
6905
+# This code is only required when automatic dependency tracking
 
6906
+# is enabled.  FIXME.  This creates each `.P' file that we will
 
6907
+# need in order to bootstrap the dependency handling code.
 
6908
+AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
 
6909
+[AC_CONFIG_COMMANDS([depfiles],
 
6910
+     [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
 
6911
+     [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
 
6912
+])
 
6913
+
 
6914
+# Do all the work for Automake.                             -*- Autoconf -*-
 
6915
+
 
6916
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
 
6917
+# Free Software Foundation, Inc.
 
6918
+#
 
6919
+# This file is free software; the Free Software Foundation
 
6920
+# gives unlimited permission to copy and/or distribute it,
 
6921
+# with or without modifications, as long as this notice is preserved.
 
6922
+
 
6923
+# serial 12
 
6924
+
 
6925
+# This macro actually does too much.  Some checks are only needed if
 
6926
+# your package does certain things.  But this isn't really a big deal.
 
6927
+
 
6928
+# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
 
6929
+# AM_INIT_AUTOMAKE([OPTIONS])
 
6930
+# -----------------------------------------------
 
6931
+# The call with PACKAGE and VERSION arguments is the old style
 
6932
+# call (pre autoconf-2.50), which is being phased out.  PACKAGE
 
6933
+# and VERSION should now be passed to AC_INIT and removed from
 
6934
+# the call to AM_INIT_AUTOMAKE.
 
6935
+# We support both call styles for the transition.  After
 
6936
+# the next Automake release, Autoconf can make the AC_INIT
 
6937
+# arguments mandatory, and then we can depend on a new Autoconf
 
6938
+# release and drop the old call support.
 
6939
+AC_DEFUN([AM_INIT_AUTOMAKE],
 
6940
+[AC_PREREQ([2.58])dnl
 
6941
+dnl Autoconf wants to disallow AM_ names.  We explicitly allow
 
6942
+dnl the ones we care about.
 
6943
+m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
 
6944
+AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
 
6945
+AC_REQUIRE([AC_PROG_INSTALL])dnl
 
6946
+# test to see if srcdir already configured
 
6947
+if test "`cd $srcdir && pwd`" != "`pwd`" &&
 
6948
+   test -f $srcdir/config.status; then
 
6949
+  AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
 
6950
+fi
 
6951
+
 
6952
+# test whether we have cygpath
 
6953
+if test -z "$CYGPATH_W"; then
 
6954
+  if (cygpath --version) >/dev/null 2>/dev/null; then
 
6955
+    CYGPATH_W='cygpath -w'
 
6956
+  else
 
6957
+    CYGPATH_W=echo
 
6958
+  fi
 
6959
+fi
 
6960
+AC_SUBST([CYGPATH_W])
 
6961
+
 
6962
+# Define the identity of the package.
 
6963
+dnl Distinguish between old-style and new-style calls.
 
6964
+m4_ifval([$2],
 
6965
+[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
 
6966
+ AC_SUBST([PACKAGE], [$1])dnl
 
6967
+ AC_SUBST([VERSION], [$2])],
 
6968
+[_AM_SET_OPTIONS([$1])dnl
 
6969
+ AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
 
6970
+ AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
 
6971
+
 
6972
+_AM_IF_OPTION([no-define],,
 
6973
+[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
 
6974
+ AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
 
6975
+
 
6976
+# Some tools Automake needs.
 
6977
+AC_REQUIRE([AM_SANITY_CHECK])dnl
 
6978
+AC_REQUIRE([AC_ARG_PROGRAM])dnl
 
6979
+AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
 
6980
+AM_MISSING_PROG(AUTOCONF, autoconf)
 
6981
+AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
 
6982
+AM_MISSING_PROG(AUTOHEADER, autoheader)
 
6983
+AM_MISSING_PROG(MAKEINFO, makeinfo)
 
6984
+AM_PROG_INSTALL_SH
 
6985
+AM_PROG_INSTALL_STRIP
 
6986
+AC_REQUIRE([AM_PROG_MKDIR_P])dnl
 
6987
+# We need awk for the "check" target.  The system "awk" is bad on
 
6988
+# some platforms.
 
6989
+AC_REQUIRE([AC_PROG_AWK])dnl
 
6990
+AC_REQUIRE([AC_PROG_MAKE_SET])dnl
 
6991
+AC_REQUIRE([AM_SET_LEADING_DOT])dnl
 
6992
+_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
 
6993
+              [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
 
6994
+                            [_AM_PROG_TAR([v7])])])
 
6995
+_AM_IF_OPTION([no-dependencies],,
 
6996
+[AC_PROVIDE_IFELSE([AC_PROG_CC],
 
6997
+                  [_AM_DEPENDENCIES(CC)],
 
6998
+                  [define([AC_PROG_CC],
 
6999
+                          defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
 
7000
+AC_PROVIDE_IFELSE([AC_PROG_CXX],
 
7001
+                  [_AM_DEPENDENCIES(CXX)],
 
7002
+                  [define([AC_PROG_CXX],
 
7003
+                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
 
7004
+])
 
7005
+])
 
7006
+
 
7007
+
 
7008
+# When config.status generates a header, we must update the stamp-h file.
 
7009
+# This file resides in the same directory as the config header
 
7010
+# that is generated.  The stamp files are numbered to have different names.
 
7011
+
 
7012
+# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
 
7013
+# loop where config.status creates the headers, so we can generate
 
7014
+# our stamp files there.
 
7015
+AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
 
7016
+[# Compute $1's index in $config_headers.
 
7017
+_am_stamp_count=1
 
7018
+for _am_header in $config_headers :; do
 
7019
+  case $_am_header in
 
7020
+    $1 | $1:* )
 
7021
+      break ;;
 
7022
+    * )
 
7023
+      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
 
7024
+  esac
 
7025
+done
 
7026
+echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
 
7027
+
 
7028
+# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
 
7029
+#
 
7030
+# This file is free software; the Free Software Foundation
 
7031
+# gives unlimited permission to copy and/or distribute it,
 
7032
+# with or without modifications, as long as this notice is preserved.
 
7033
+
 
7034
+# AM_PROG_INSTALL_SH
 
7035
+# ------------------
 
7036
+# Define $install_sh.
 
7037
+AC_DEFUN([AM_PROG_INSTALL_SH],
 
7038
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
 
7039
+install_sh=${install_sh-"$am_aux_dir/install-sh"}
 
7040
+AC_SUBST(install_sh)])
 
7041
+
 
7042
+# Copyright (C) 2003, 2005  Free Software Foundation, Inc.
 
7043
+#
 
7044
+# This file is free software; the Free Software Foundation
 
7045
+# gives unlimited permission to copy and/or distribute it,
 
7046
+# with or without modifications, as long as this notice is preserved.
 
7047
+
 
7048
+# serial 2
 
7049
+
 
7050
+# Check whether the underlying file-system supports filenames
 
7051
+# with a leading dot.  For instance MS-DOS doesn't.
 
7052
+AC_DEFUN([AM_SET_LEADING_DOT],
 
7053
+[rm -rf .tst 2>/dev/null
 
7054
+mkdir .tst 2>/dev/null
 
7055
+if test -d .tst; then
 
7056
+  am__leading_dot=.
 
7057
+else
 
7058
+  am__leading_dot=_
 
7059
+fi
 
7060
+rmdir .tst 2>/dev/null
 
7061
+AC_SUBST([am__leading_dot])])
 
7062
+
 
7063
+# Add --enable-maintainer-mode option to configure.         -*- Autoconf -*-
 
7064
+# From Jim Meyering
 
7065
+
 
7066
+# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005
 
7067
+# Free Software Foundation, Inc.
 
7068
+#
 
7069
+# This file is free software; the Free Software Foundation
 
7070
+# gives unlimited permission to copy and/or distribute it,
 
7071
+# with or without modifications, as long as this notice is preserved.
 
7072
+
 
7073
+# serial 4
 
7074
+
 
7075
+AC_DEFUN([AM_MAINTAINER_MODE],
 
7076
+[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
 
7077
+  dnl maintainer-mode is disabled by default
 
7078
+  AC_ARG_ENABLE(maintainer-mode,
 
7079
+[  --enable-maintainer-mode  enable make rules and dependencies not useful
 
7080
+                         (and sometimes confusing) to the casual installer],
 
7081
+      USE_MAINTAINER_MODE=$enableval,
 
7082
+      USE_MAINTAINER_MODE=no)
 
7083
+  AC_MSG_RESULT([$USE_MAINTAINER_MODE])
 
7084
+  AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
 
7085
+  MAINT=$MAINTAINER_MODE_TRUE
 
7086
+  AC_SUBST(MAINT)dnl
 
7087
+]
 
7088
+)
 
7089
+
 
7090
+AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
 
7091
+
 
7092
+# Check to see how 'make' treats includes.                 -*- Autoconf -*-
 
7093
+
 
7094
+# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
 
7095
+#
 
7096
+# This file is free software; the Free Software Foundation
 
7097
+# gives unlimited permission to copy and/or distribute it,
 
7098
+# with or without modifications, as long as this notice is preserved.
 
7099
+
 
7100
+# serial 3
 
7101
+
 
7102
+# AM_MAKE_INCLUDE()
 
7103
+# -----------------
 
7104
+# Check to see how make treats includes.
 
7105
+AC_DEFUN([AM_MAKE_INCLUDE],
 
7106
+[am_make=${MAKE-make}
 
7107
+cat > confinc << 'END'
 
7108
+am__doit:
 
7109
+       @echo done
 
7110
+.PHONY: am__doit
 
7111
+END
 
7112
+# If we don't find an include directive, just comment out the code.
 
7113
+AC_MSG_CHECKING([for style of include used by $am_make])
 
7114
+am__include="#"
 
7115
+am__quote=
 
7116
+_am_result=none
 
7117
+# First try GNU make style include.
 
7118
+echo "include confinc" > confmf
 
7119
+# We grep out `Entering directory' and `Leaving directory'
 
7120
+# messages which can occur if `w' ends up in MAKEFLAGS.
 
7121
+# In particular we don't look at `^make:' because GNU make might
 
7122
+# be invoked under some other name (usually "gmake"), in which
 
7123
+# case it prints its new name instead of `make'.
 
7124
+if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
 
7125
+   am__include=include
 
7126
+   am__quote=
 
7127
+   _am_result=GNU
 
7128
+fi
 
7129
+# Now try BSD make style include.
 
7130
+if test "$am__include" = "#"; then
 
7131
+   echo '.include "confinc"' > confmf
 
7132
+   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
 
7133
+      am__include=.include
 
7134
+      am__quote="\""
 
7135
+      _am_result=BSD
 
7136
+   fi
 
7137
+fi
 
7138
+AC_SUBST([am__include])
 
7139
+AC_SUBST([am__quote])
 
7140
+AC_MSG_RESULT([$_am_result])
 
7141
+rm -f confinc confmf
 
7142
+])
 
7143
+
 
7144
+# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
 
7145
+
 
7146
+# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005
 
7147
+# Free Software Foundation, Inc.
 
7148
+#
 
7149
+# This file is free software; the Free Software Foundation
 
7150
+# gives unlimited permission to copy and/or distribute it,
 
7151
+# with or without modifications, as long as this notice is preserved.
 
7152
+
 
7153
+# serial 4
 
7154
+
 
7155
+# AM_MISSING_PROG(NAME, PROGRAM)
 
7156
+# ------------------------------
 
7157
+AC_DEFUN([AM_MISSING_PROG],
 
7158
+[AC_REQUIRE([AM_MISSING_HAS_RUN])
 
7159
+$1=${$1-"${am_missing_run}$2"}
 
7160
+AC_SUBST($1)])
 
7161
+
 
7162
+
 
7163
+# AM_MISSING_HAS_RUN
 
7164
+# ------------------
 
7165
+# Define MISSING if not defined so far and test if it supports --run.
 
7166
+# If it does, set am_missing_run to use it, otherwise, to nothing.
 
7167
+AC_DEFUN([AM_MISSING_HAS_RUN],
 
7168
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
 
7169
+test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
7170
+# Use eval to expand $SHELL
 
7171
+if eval "$MISSING --run true"; then
 
7172
+  am_missing_run="$MISSING --run "
 
7173
+else
 
7174
+  am_missing_run=
 
7175
+  AC_MSG_WARN([`missing' script is too old or missing])
 
7176
+fi
 
7177
+])
 
7178
+
 
7179
+# Copyright (C) 2003, 2004, 2005  Free Software Foundation, Inc.
 
7180
+#
 
7181
+# This file is free software; the Free Software Foundation
 
7182
+# gives unlimited permission to copy and/or distribute it,
 
7183
+# with or without modifications, as long as this notice is preserved.
 
7184
+
 
7185
+# AM_PROG_MKDIR_P
 
7186
+# ---------------
 
7187
+# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
 
7188
+#
 
7189
+# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
 
7190
+# created by `make install' are always world readable, even if the
 
7191
+# installer happens to have an overly restrictive umask (e.g. 077).
 
7192
+# This was a mistake.  There are at least two reasons why we must not
 
7193
+# use `-m 0755':
 
7194
+#   - it causes special bits like SGID to be ignored,
 
7195
+#   - it may be too restrictive (some setups expect 775 directories).
 
7196
+#
 
7197
+# Do not use -m 0755 and let people choose whatever they expect by
 
7198
+# setting umask.
 
7199
+#
 
7200
+# We cannot accept any implementation of `mkdir' that recognizes `-p'.
 
7201
+# Some implementations (such as Solaris 8's) are not thread-safe: if a
 
7202
+# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
 
7203
+# concurrently, both version can detect that a/ is missing, but only
 
7204
+# one can create it and the other will error out.  Consequently we
 
7205
+# restrict ourselves to GNU make (using the --version option ensures
 
7206
+# this.)
 
7207
+AC_DEFUN([AM_PROG_MKDIR_P],
 
7208
+[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
 
7209
+  # We used to keeping the `.' as first argument, in order to
 
7210
+  # allow $(mkdir_p) to be used without argument.  As in
 
7211
+  #   $(mkdir_p) $(somedir)
 
7212
+  # where $(somedir) is conditionally defined.  However this is wrong
 
7213
+  # for two reasons:
 
7214
+  #  1. if the package is installed by a user who cannot write `.'
 
7215
+  #     make install will fail,
 
7216
+  #  2. the above comment should most certainly read
 
7217
+  #     $(mkdir_p) $(DESTDIR)$(somedir)
 
7218
+  #     so it does not work when $(somedir) is undefined and
 
7219
+  #     $(DESTDIR) is not.
 
7220
+  #  To support the latter case, we have to write
 
7221
+  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
 
7222
+  #  so the `.' trick is pointless.
 
7223
+  mkdir_p='mkdir -p --'
 
7224
+else
 
7225
+  # On NextStep and OpenStep, the `mkdir' command does not
 
7226
+  # recognize any option.  It will interpret all options as
 
7227
+  # directories to create, and then abort because `.' already
 
7228
+  # exists.
 
7229
+  for d in ./-p ./--version;
 
7230
+  do
 
7231
+    test -d $d && rmdir $d
 
7232
+  done
 
7233
+  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
 
7234
+  if test -f "$ac_aux_dir/mkinstalldirs"; then
 
7235
+    mkdir_p='$(mkinstalldirs)'
 
7236
+  else
 
7237
+    mkdir_p='$(install_sh) -d'
 
7238
+  fi
 
7239
+fi
 
7240
+AC_SUBST([mkdir_p])])
 
7241
+
 
7242
+# Helper functions for option handling.                     -*- Autoconf -*-
 
7243
+
 
7244
+# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
 
7245
+#
 
7246
+# This file is free software; the Free Software Foundation
 
7247
+# gives unlimited permission to copy and/or distribute it,
 
7248
+# with or without modifications, as long as this notice is preserved.
 
7249
+
 
7250
+# serial 3
 
7251
+
 
7252
+# _AM_MANGLE_OPTION(NAME)
 
7253
+# -----------------------
 
7254
+AC_DEFUN([_AM_MANGLE_OPTION],
 
7255
+[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
 
7256
+
 
7257
+# _AM_SET_OPTION(NAME)
 
7258
+# ------------------------------
 
7259
+# Set option NAME.  Presently that only means defining a flag for this option.
 
7260
+AC_DEFUN([_AM_SET_OPTION],
 
7261
+[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
 
7262
+
 
7263
+# _AM_SET_OPTIONS(OPTIONS)
 
7264
+# ----------------------------------
 
7265
+# OPTIONS is a space-separated list of Automake options.
 
7266
+AC_DEFUN([_AM_SET_OPTIONS],
 
7267
+[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
 
7268
+
 
7269
+# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
 
7270
+# -------------------------------------------
 
7271
+# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
 
7272
+AC_DEFUN([_AM_IF_OPTION],
 
7273
+[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
 
7274
+
 
7275
+# Check to make sure that the build environment is sane.    -*- Autoconf -*-
 
7276
+
 
7277
+# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
 
7278
+# Free Software Foundation, Inc.
 
7279
+#
 
7280
+# This file is free software; the Free Software Foundation
 
7281
+# gives unlimited permission to copy and/or distribute it,
 
7282
+# with or without modifications, as long as this notice is preserved.
 
7283
+
 
7284
+# serial 4
 
7285
+
 
7286
+# AM_SANITY_CHECK
 
7287
+# ---------------
 
7288
+AC_DEFUN([AM_SANITY_CHECK],
 
7289
+[AC_MSG_CHECKING([whether build environment is sane])
 
7290
+# Just in case
 
7291
+sleep 1
 
7292
+echo timestamp > conftest.file
 
7293
+# Do `set' in a subshell so we don't clobber the current shell's
 
7294
+# arguments.  Must try -L first in case configure is actually a
 
7295
+# symlink; some systems play weird games with the mod time of symlinks
 
7296
+# (eg FreeBSD returns the mod time of the symlink's containing
 
7297
+# directory).
 
7298
+if (
 
7299
+   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
7300
+   if test "$[*]" = "X"; then
 
7301
+      # -L didn't work.
 
7302
+      set X `ls -t $srcdir/configure conftest.file`
 
7303
+   fi
 
7304
+   rm -f conftest.file
 
7305
+   if test "$[*]" != "X $srcdir/configure conftest.file" \
 
7306
+      && test "$[*]" != "X conftest.file $srcdir/configure"; then
 
7307
+
 
7308
+      # If neither matched, then we have a broken ls.  This can happen
 
7309
+      # if, for instance, CONFIG_SHELL is bash and it inherits a
 
7310
+      # broken ls alias from the environment.  This has actually
 
7311
+      # happened.  Such a system could not be considered "sane".
 
7312
+      AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
 
7313
+alias in your environment])
 
7314
+   fi
 
7315
+
 
7316
+   test "$[2]" = conftest.file
 
7317
+   )
 
7318
+then
 
7319
+   # Ok.
 
7320
+   :
 
7321
+else
 
7322
+   AC_MSG_ERROR([newly created file is older than distributed files!
 
7323
+Check your system clock])
 
7324
+fi
 
7325
+AC_MSG_RESULT(yes)])
 
7326
+
 
7327
+# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
 
7328
+#
 
7329
+# This file is free software; the Free Software Foundation
 
7330
+# gives unlimited permission to copy and/or distribute it,
 
7331
+# with or without modifications, as long as this notice is preserved.
 
7332
+
 
7333
+# AM_PROG_INSTALL_STRIP
 
7334
+# ---------------------
 
7335
+# One issue with vendor `install' (even GNU) is that you can't
 
7336
+# specify the program used to strip binaries.  This is especially
 
7337
+# annoying in cross-compiling environments, where the build's strip
 
7338
+# is unlikely to handle the host's binaries.
 
7339
+# Fortunately install-sh will honor a STRIPPROG variable, so we
 
7340
+# always use install-sh in `make install-strip', and initialize
 
7341
+# STRIPPROG with the value of the STRIP variable (set by the user).
 
7342
+AC_DEFUN([AM_PROG_INSTALL_STRIP],
 
7343
+[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
 
7344
+# Installed binaries are usually stripped using `strip' when the user
 
7345
+# run `make install-strip'.  However `strip' might not be the right
 
7346
+# tool to use in cross-compilation environments, therefore Automake
 
7347
+# will honor the `STRIP' environment variable to overrule this program.
 
7348
+dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
 
7349
+if test "$cross_compiling" != no; then
 
7350
+  AC_CHECK_TOOL([STRIP], [strip], :)
 
7351
+fi
 
7352
+INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
 
7353
+AC_SUBST([INSTALL_STRIP_PROGRAM])])
 
7354
+
 
7355
+# Check how to create a tarball.                            -*- Autoconf -*-
 
7356
+
 
7357
+# Copyright (C) 2004, 2005  Free Software Foundation, Inc.
 
7358
+#
 
7359
+# This file is free software; the Free Software Foundation
 
7360
+# gives unlimited permission to copy and/or distribute it,
 
7361
+# with or without modifications, as long as this notice is preserved.
 
7362
+
 
7363
+# serial 2
 
7364
+
 
7365
+# _AM_PROG_TAR(FORMAT)
 
7366
+# --------------------
 
7367
+# Check how to create a tarball in format FORMAT.
 
7368
+# FORMAT should be one of `v7', `ustar', or `pax'.
 
7369
+#
 
7370
+# Substitute a variable $(am__tar) that is a command
 
7371
+# writing to stdout a FORMAT-tarball containing the directory
 
7372
+# $tardir.
 
7373
+#     tardir=directory && $(am__tar) > result.tar
 
7374
+#
 
7375
+# Substitute a variable $(am__untar) that extract such
 
7376
+# a tarball read from stdin.
 
7377
+#     $(am__untar) < result.tar
 
7378
+AC_DEFUN([_AM_PROG_TAR],
 
7379
+[# Always define AMTAR for backward compatibility.
 
7380
+AM_MISSING_PROG([AMTAR], [tar])
 
7381
+m4_if([$1], [v7],
 
7382
+     [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
 
7383
+     [m4_case([$1], [ustar],, [pax],,
 
7384
+              [m4_fatal([Unknown tar format])])
 
7385
+AC_MSG_CHECKING([how to create a $1 tar archive])
 
7386
+# Loop over all known methods to create a tar archive until one works.
 
7387
+_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
 
7388
+_am_tools=${am_cv_prog_tar_$1-$_am_tools}
 
7389
+# Do not fold the above two line into one, because Tru64 sh and
 
7390
+# Solaris sh will not grok spaces in the rhs of `-'.
 
7391
+for _am_tool in $_am_tools
 
7392
+do
 
7393
+  case $_am_tool in
 
7394
+  gnutar)
 
7395
+    for _am_tar in tar gnutar gtar;
 
7396
+    do
 
7397
+      AM_RUN_LOG([$_am_tar --version]) && break
 
7398
+    done
 
7399
+    am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
 
7400
+    am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
 
7401
+    am__untar="$_am_tar -xf -"
 
7402
+    ;;
 
7403
+  plaintar)
 
7404
+    # Must skip GNU tar: if it does not support --format= it doesn't create
 
7405
+    # ustar tarball either.
 
7406
+    (tar --version) >/dev/null 2>&1 && continue
 
7407
+    am__tar='tar chf - "$$tardir"'
 
7408
+    am__tar_='tar chf - "$tardir"'
 
7409
+    am__untar='tar xf -'
 
7410
+    ;;
 
7411
+  pax)
 
7412
+    am__tar='pax -L -x $1 -w "$$tardir"'
 
7413
+    am__tar_='pax -L -x $1 -w "$tardir"'
 
7414
+    am__untar='pax -r'
 
7415
+    ;;
 
7416
+  cpio)
 
7417
+    am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
 
7418
+    am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
 
7419
+    am__untar='cpio -i -H $1 -d'
 
7420
+    ;;
 
7421
+  none)
 
7422
+    am__tar=false
 
7423
+    am__tar_=false
 
7424
+    am__untar=false
 
7425
+    ;;
 
7426
+  esac
 
7427
+
 
7428
+  # If the value was cached, stop now.  We just wanted to have am__tar
 
7429
+  # and am__untar set.
 
7430
+  test -n "${am_cv_prog_tar_$1}" && break
 
7431
+
 
7432
+  # tar/untar a dummy directory, and stop if the command works
 
7433
+  rm -rf conftest.dir
 
7434
+  mkdir conftest.dir
 
7435
+  echo GrepMe > conftest.dir/file
 
7436
+  AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
 
7437
+  rm -rf conftest.dir
 
7438
+  if test -s conftest.tar; then
 
7439
+    AM_RUN_LOG([$am__untar <conftest.tar])
 
7440
+    grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
 
7441
+  fi
 
7442
+done
 
7443
+rm -rf conftest.dir
 
7444
+
 
7445
+AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
 
7446
+AC_MSG_RESULT([$am_cv_prog_tar_$1])])
 
7447
+AC_SUBST([am__tar])
 
7448
+AC_SUBST([am__untar])
 
7449
+]) # _AM_PROG_TAR
 
7450
+
 
7451
diff -Nur plugins-main/config.guess plugins-main.new/config.guess
 
7452
--- plugins-main/config.guess   1970-01-01 01:00:00.000000000 +0100
 
7453
+++ plugins-main.new/config.guess       2007-06-08 18:39:01.000000000 +0200
 
7454
@@ -0,0 +1,1516 @@
 
7455
+#! /bin/sh
 
7456
+# Attempt to guess a canonical system name.
 
7457
+#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
 
7458
+#   2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
 
7459
+#   Inc.
 
7460
+
 
7461
+timestamp='2007-03-06'
 
7462
+
 
7463
+# This file is free software; you can redistribute it and/or modify it
 
7464
+# under the terms of the GNU General Public License as published by
 
7465
+# the Free Software Foundation; either version 2 of the License, or
 
7466
+# (at your option) any later version.
 
7467
+#
 
7468
+# This program is distributed in the hope that it will be useful, but
 
7469
+# WITHOUT ANY WARRANTY; without even the implied warranty of
 
7470
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
7471
+# General Public License for more details.
 
7472
+#
 
7473
+# You should have received a copy of the GNU General Public License
 
7474
+# along with this program; if not, write to the Free Software
 
7475
+# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
 
7476
+# 02110-1301, USA.
 
7477
+#
 
7478
+# As a special exception to the GNU General Public License, if you
 
7479
+# distribute this file as part of a program that contains a
 
7480
+# configuration script generated by Autoconf, you may include it under
 
7481
+# the same distribution terms that you use for the rest of that program.
 
7482
+
 
7483
+
 
7484
+# Originally written by Per Bothner <per@bothner.com>.
 
7485
+# Please send patches to <config-patches@gnu.org>.  Submit a context
 
7486
+# diff and a properly formatted ChangeLog entry.
 
7487
+#
 
7488
+# This script attempts to guess a canonical system name similar to
 
7489
+# config.sub.  If it succeeds, it prints the system name on stdout, and
 
7490
+# exits with 0.  Otherwise, it exits with 1.
 
7491
+#
 
7492
+# The plan is that this can be called by configure scripts if you
 
7493
+# don't specify an explicit build system type.
 
7494
+
 
7495
+me=`echo "$0" | sed -e 's,.*/,,'`
 
7496
+
 
7497
+usage="\
 
7498
+Usage: $0 [OPTION]
 
7499
+
 
7500
+Output the configuration name of the system \`$me' is run on.
 
7501
+
 
7502
+Operation modes:
 
7503
+  -h, --help         print this help, then exit
 
7504
+  -t, --time-stamp   print date of last modification, then exit
 
7505
+  -v, --version      print version number, then exit
 
7506
+
 
7507
+Report bugs and patches to <config-patches@gnu.org>."
 
7508
+
 
7509
+version="\
 
7510
+GNU config.guess ($timestamp)
 
7511
+
 
7512
+Originally written by Per Bothner.
 
7513
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
 
7514
+Free Software Foundation, Inc.
 
7515
+
 
7516
+This is free software; see the source for copying conditions.  There is NO
 
7517
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
 
7518
+
 
7519
+help="
 
7520
+Try \`$me --help' for more information."
 
7521
+
 
7522
+# Parse command line
 
7523
+while test $# -gt 0 ; do
 
7524
+  case $1 in
 
7525
+    --time-stamp | --time* | -t )
 
7526
+       echo "$timestamp" ; exit ;;
 
7527
+    --version | -v )
 
7528
+       echo "$version" ; exit ;;
 
7529
+    --help | --h* | -h )
 
7530
+       echo "$usage"; exit ;;
 
7531
+    -- )     # Stop option processing
 
7532
+       shift; break ;;
 
7533
+    - )        # Use stdin as input.
 
7534
+       break ;;
 
7535
+    -* )
 
7536
+       echo "$me: invalid option $1$help" >&2
 
7537
+       exit 1 ;;
 
7538
+    * )
 
7539
+       break ;;
 
7540
+  esac
 
7541
+done
 
7542
+
 
7543
+if test $# != 0; then
 
7544
+  echo "$me: too many arguments$help" >&2
 
7545
+  exit 1
 
7546
+fi
 
7547
+
 
7548
+trap 'exit 1' 1 2 15
 
7549
+
 
7550
+# CC_FOR_BUILD -- compiler used by this script. Note that the use of a
 
7551
+# compiler to aid in system detection is discouraged as it requires
 
7552
+# temporary files to be created and, as you can see below, it is a
 
7553
+# headache to deal with in a portable fashion.
 
7554
+
 
7555
+# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
 
7556
+# use `HOST_CC' if defined, but it is deprecated.
 
7557
+
 
7558
+# Portable tmp directory creation inspired by the Autoconf team.
 
7559
+
 
7560
+set_cc_for_build='
 
7561
+trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
 
7562
+trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
 
7563
+: ${TMPDIR=/tmp} ;
 
7564
+ { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
 
7565
+ { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
 
7566
+ { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
 
7567
+ { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
 
7568
+dummy=$tmp/dummy ;
 
7569
+tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
 
7570
+case $CC_FOR_BUILD,$HOST_CC,$CC in
 
7571
+ ,,)    echo "int x;" > $dummy.c ;
 
7572
+       for c in cc gcc c89 c99 ; do
 
7573
+         if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then
 
7574
+            CC_FOR_BUILD="$c"; break ;
 
7575
+         fi ;
 
7576
+       done ;
 
7577
+       if test x"$CC_FOR_BUILD" = x ; then
 
7578
+         CC_FOR_BUILD=no_compiler_found ;
 
7579
+       fi
 
7580
+       ;;
 
7581
+ ,,*)   CC_FOR_BUILD=$CC ;;
 
7582
+ ,*,*)  CC_FOR_BUILD=$HOST_CC ;;
 
7583
+esac ; set_cc_for_build= ;'
 
7584
+
 
7585
+# This is needed to find uname on a Pyramid OSx when run in the BSD universe.
 
7586
+# (ghazi@noc.rutgers.edu 1994-08-24)
 
7587
+if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
 
7588
+       PATH=$PATH:/.attbin ; export PATH
 
7589
+fi
 
7590
+
 
7591
+UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
 
7592
+UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
 
7593
+UNAME_SYSTEM=`(uname -s) 2>/dev/null`  || UNAME_SYSTEM=unknown
 
7594
+UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
 
7595
+
 
7596
+# Note: order is significant - the case branches are not exclusive.
 
7597
+
 
7598
+case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
 
7599
+    *:NetBSD:*:*)
 
7600
+       # NetBSD (nbsd) targets should (where applicable) match one or
 
7601
+       # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
 
7602
+       # *-*-netbsdecoff* and *-*-netbsd*.  For targets that recently
 
7603
+       # switched to ELF, *-*-netbsd* would select the old
 
7604
+       # object file format.  This provides both forward
 
7605
+       # compatibility and a consistent mechanism for selecting the
 
7606
+       # object file format.
 
7607
+       #
 
7608
+       # Note: NetBSD doesn't particularly care about the vendor
 
7609
+       # portion of the name.  We always set it to "unknown".
 
7610
+       sysctl="sysctl -n hw.machine_arch"
 
7611
+       UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
 
7612
+           /usr/sbin/$sysctl 2>/dev/null || echo unknown)`
 
7613
+       case "${UNAME_MACHINE_ARCH}" in
 
7614
+           armeb) machine=armeb-unknown ;;
 
7615
+           arm*) machine=arm-unknown ;;
 
7616
+           sh3el) machine=shl-unknown ;;
 
7617
+           sh3eb) machine=sh-unknown ;;
 
7618
+           sh5el) machine=sh5le-unknown ;;
 
7619
+           *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
 
7620
+       esac
 
7621
+       # The Operating System including object format, if it has switched
 
7622
+       # to ELF recently, or will in the future.
 
7623
+       case "${UNAME_MACHINE_ARCH}" in
 
7624
+           arm*|i386|m68k|ns32k|sh3*|sparc|vax)
 
7625
+               eval $set_cc_for_build
 
7626
+               if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
 
7627
+                       | grep __ELF__ >/dev/null
 
7628
+               then
 
7629
+                   # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
 
7630
+                   # Return netbsd for either.  FIX?
 
7631
+                   os=netbsd
 
7632
+               else
 
7633
+                   os=netbsdelf
 
7634
+               fi
 
7635
+               ;;
 
7636
+           *)
 
7637
+               os=netbsd
 
7638
+               ;;
 
7639
+       esac
 
7640
+       # The OS release
 
7641
+       # Debian GNU/NetBSD machines have a different userland, and
 
7642
+       # thus, need a distinct triplet. However, they do not need
 
7643
+       # kernel version information, so it can be replaced with a
 
7644
+       # suitable tag, in the style of linux-gnu.
 
7645
+       case "${UNAME_VERSION}" in
 
7646
+           Debian*)
 
7647
+               release='-gnu'
 
7648
+               ;;
 
7649
+           *)
 
7650
+               release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
 
7651
+               ;;
 
7652
+       esac
 
7653
+       # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
 
7654
+       # contains redundant information, the shorter form:
 
7655
+       # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
 
7656
+       echo "${machine}-${os}${release}"
 
7657
+       exit ;;
 
7658
+    *:OpenBSD:*:*)
 
7659
+       UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
 
7660
+       echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
 
7661
+       exit ;;
 
7662
+    *:ekkoBSD:*:*)
 
7663
+       echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
 
7664
+       exit ;;
 
7665
+    *:SolidBSD:*:*)
 
7666
+       echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
 
7667
+       exit ;;
 
7668
+    macppc:MirBSD:*:*)
 
7669
+       echo powerpc-unknown-mirbsd${UNAME_RELEASE}
 
7670
+       exit ;;
 
7671
+    *:MirBSD:*:*)
 
7672
+       echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
 
7673
+       exit ;;
 
7674
+    alpha:OSF1:*:*)
 
7675
+       case $UNAME_RELEASE in
 
7676
+       *4.0)
 
7677
+               UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
 
7678
+               ;;
 
7679
+       *5.*)
 
7680
+               UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
 
7681
+               ;;
 
7682
+       esac
 
7683
+       # According to Compaq, /usr/sbin/psrinfo has been available on
 
7684
+       # OSF/1 and Tru64 systems produced since 1995.  I hope that
 
7685
+       # covers most systems running today.  This code pipes the CPU
 
7686
+       # types through head -n 1, so we only detect the type of CPU 0.
 
7687
+       ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^  The alpha \(.*\) processor.*$/\1/p' | head -n 1`
 
7688
+       case "$ALPHA_CPU_TYPE" in
 
7689
+           "EV4 (21064)")
 
7690
+               UNAME_MACHINE="alpha" ;;
 
7691
+           "EV4.5 (21064)")
 
7692
+               UNAME_MACHINE="alpha" ;;
 
7693
+           "LCA4 (21066/21068)")
 
7694
+               UNAME_MACHINE="alpha" ;;
 
7695
+           "EV5 (21164)")
 
7696
+               UNAME_MACHINE="alphaev5" ;;
 
7697
+           "EV5.6 (21164A)")
 
7698
+               UNAME_MACHINE="alphaev56" ;;
 
7699
+           "EV5.6 (21164PC)")
 
7700
+               UNAME_MACHINE="alphapca56" ;;
 
7701
+           "EV5.7 (21164PC)")
 
7702
+               UNAME_MACHINE="alphapca57" ;;
 
7703
+           "EV6 (21264)")
 
7704
+               UNAME_MACHINE="alphaev6" ;;
 
7705
+           "EV6.7 (21264A)")
 
7706
+               UNAME_MACHINE="alphaev67" ;;
 
7707
+           "EV6.8CB (21264C)")
 
7708
+               UNAME_MACHINE="alphaev68" ;;
 
7709
+           "EV6.8AL (21264B)")
 
7710
+               UNAME_MACHINE="alphaev68" ;;
 
7711
+           "EV6.8CX (21264D)")
 
7712
+               UNAME_MACHINE="alphaev68" ;;
 
7713
+           "EV6.9A (21264/EV69A)")
 
7714
+               UNAME_MACHINE="alphaev69" ;;
 
7715
+           "EV7 (21364)")
 
7716
+               UNAME_MACHINE="alphaev7" ;;
 
7717
+           "EV7.9 (21364A)")
 
7718
+               UNAME_MACHINE="alphaev79" ;;
 
7719
+       esac
 
7720
+       # A Pn.n version is a patched version.
 
7721
+       # A Vn.n version is a released version.
 
7722
+       # A Tn.n version is a released field test version.
 
7723
+       # A Xn.n version is an unreleased experimental baselevel.
 
7724
+       # 1.2 uses "1.2" for uname -r.
 
7725
+       echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
 
7726
+       exit ;;
 
7727
+    Alpha\ *:Windows_NT*:*)
 
7728
+       # How do we know it's Interix rather than the generic POSIX subsystem?
 
7729
+       # Should we change UNAME_MACHINE based on the output of uname instead
 
7730
+       # of the specific Alpha model?
 
7731
+       echo alpha-pc-interix
 
7732
+       exit ;;
 
7733
+    21064:Windows_NT:50:3)
 
7734
+       echo alpha-dec-winnt3.5
 
7735
+       exit ;;
 
7736
+    Amiga*:UNIX_System_V:4.0:*)
 
7737
+       echo m68k-unknown-sysv4
 
7738
+       exit ;;
 
7739
+    *:[Aa]miga[Oo][Ss]:*:*)
 
7740
+       echo ${UNAME_MACHINE}-unknown-amigaos
 
7741
+       exit ;;
 
7742
+    *:[Mm]orph[Oo][Ss]:*:*)
 
7743
+       echo ${UNAME_MACHINE}-unknown-morphos
 
7744
+       exit ;;
 
7745
+    *:OS/390:*:*)
 
7746
+       echo i370-ibm-openedition
 
7747
+       exit ;;
 
7748
+    *:z/VM:*:*)
 
7749
+       echo s390-ibm-zvmoe
 
7750
+       exit ;;
 
7751
+    *:OS400:*:*)
 
7752
+        echo powerpc-ibm-os400
 
7753
+       exit ;;
 
7754
+    arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
 
7755
+       echo arm-acorn-riscix${UNAME_RELEASE}
 
7756
+       exit ;;
 
7757
+    arm:riscos:*:*|arm:RISCOS:*:*)
 
7758
+       echo arm-unknown-riscos
 
7759
+       exit ;;
 
7760
+    SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
 
7761
+       echo hppa1.1-hitachi-hiuxmpp
 
7762
+       exit ;;
 
7763
+    Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
 
7764
+       # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE.
 
7765
+       if test "`(/bin/universe) 2>/dev/null`" = att ; then
 
7766
+               echo pyramid-pyramid-sysv3
 
7767
+       else
 
7768
+               echo pyramid-pyramid-bsd
 
7769
+       fi
 
7770
+       exit ;;
 
7771
+    NILE*:*:*:dcosx)
 
7772
+       echo pyramid-pyramid-svr4
 
7773
+       exit ;;
 
7774
+    DRS?6000:unix:4.0:6*)
 
7775
+       echo sparc-icl-nx6
 
7776
+       exit ;;
 
7777
+    DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*)
 
7778
+       case `/usr/bin/uname -p` in
 
7779
+           sparc) echo sparc-icl-nx7; exit ;;
 
7780
+       esac ;;
 
7781
+    sun4H:SunOS:5.*:*)
 
7782
+       echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
 
7783
+       exit ;;
 
7784
+    sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
 
7785
+       echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
 
7786
+       exit ;;
 
7787
+    i86pc:SunOS:5.*:*)
 
7788
+       echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
 
7789
+       exit ;;
 
7790
+    sun4*:SunOS:6*:*)
 
7791
+       # According to config.sub, this is the proper way to canonicalize
 
7792
+       # SunOS6.  Hard to guess exactly what SunOS6 will be like, but
 
7793
+       # it's likely to be more like Solaris than SunOS4.
 
7794
+       echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
 
7795
+       exit ;;
 
7796
+    sun4*:SunOS:*:*)
 
7797
+       case "`/usr/bin/arch -k`" in
 
7798
+           Series*|S4*)
 
7799
+               UNAME_RELEASE=`uname -v`
 
7800
+               ;;
 
7801
+       esac
 
7802
+       # Japanese Language versions have a version number like `4.1.3-JL'.
 
7803
+       echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
 
7804
+       exit ;;
 
7805
+    sun3*:SunOS:*:*)
 
7806
+       echo m68k-sun-sunos${UNAME_RELEASE}
 
7807
+       exit ;;
 
7808
+    sun*:*:4.2BSD:*)
 
7809
+       UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
 
7810
+       test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
 
7811
+       case "`/bin/arch`" in
 
7812
+           sun3)
 
7813
+               echo m68k-sun-sunos${UNAME_RELEASE}
 
7814
+               ;;
 
7815
+           sun4)
 
7816
+               echo sparc-sun-sunos${UNAME_RELEASE}
 
7817
+               ;;
 
7818
+       esac
 
7819
+       exit ;;
 
7820
+    aushp:SunOS:*:*)
 
7821
+       echo sparc-auspex-sunos${UNAME_RELEASE}
 
7822
+       exit ;;
 
7823
+    # The situation for MiNT is a little confusing.  The machine name
 
7824
+    # can be virtually everything (everything which is not
 
7825
+    # "atarist" or "atariste" at least should have a processor
 
7826
+    # > m68000).  The system name ranges from "MiNT" over "FreeMiNT"
 
7827
+    # to the lowercase version "mint" (or "freemint").  Finally
 
7828
+    # the system name "TOS" denotes a system which is actually not
 
7829
+    # MiNT.  But MiNT is downward compatible to TOS, so this should
 
7830
+    # be no problem.
 
7831
+    atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
 
7832
+        echo m68k-atari-mint${UNAME_RELEASE}
 
7833
+       exit ;;
 
7834
+    atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
 
7835
+       echo m68k-atari-mint${UNAME_RELEASE}
 
7836
+        exit ;;
 
7837
+    *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
 
7838
+        echo m68k-atari-mint${UNAME_RELEASE}
 
7839
+       exit ;;
 
7840
+    milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
 
7841
+        echo m68k-milan-mint${UNAME_RELEASE}
 
7842
+        exit ;;
 
7843
+    hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
 
7844
+        echo m68k-hades-mint${UNAME_RELEASE}
 
7845
+        exit ;;
 
7846
+    *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
 
7847
+        echo m68k-unknown-mint${UNAME_RELEASE}
 
7848
+        exit ;;
 
7849
+    m68k:machten:*:*)
 
7850
+       echo m68k-apple-machten${UNAME_RELEASE}
 
7851
+       exit ;;
 
7852
+    powerpc:machten:*:*)
 
7853
+       echo powerpc-apple-machten${UNAME_RELEASE}
 
7854
+       exit ;;
 
7855
+    RISC*:Mach:*:*)
 
7856
+       echo mips-dec-mach_bsd4.3
 
7857
+       exit ;;
 
7858
+    RISC*:ULTRIX:*:*)
 
7859
+       echo mips-dec-ultrix${UNAME_RELEASE}
 
7860
+       exit ;;
 
7861
+    VAX*:ULTRIX*:*:*)
 
7862
+       echo vax-dec-ultrix${UNAME_RELEASE}
 
7863
+       exit ;;
 
7864
+    2020:CLIX:*:* | 2430:CLIX:*:*)
 
7865
+       echo clipper-intergraph-clix${UNAME_RELEASE}
 
7866
+       exit ;;
 
7867
+    mips:*:*:UMIPS | mips:*:*:RISCos)
 
7868
+       eval $set_cc_for_build
 
7869
+       sed 's/^        //' << EOF >$dummy.c
 
7870
+#ifdef __cplusplus
 
7871
+#include <stdio.h>  /* for printf() prototype */
 
7872
+       int main (int argc, char *argv[]) {
 
7873
+#else
 
7874
+       int main (argc, argv) int argc; char *argv[]; {
 
7875
+#endif
 
7876
+       #if defined (host_mips) && defined (MIPSEB)
 
7877
+       #if defined (SYSTYPE_SYSV)
 
7878
+         printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0);
 
7879
+       #endif
 
7880
+       #if defined (SYSTYPE_SVR4)
 
7881
+         printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0);
 
7882
+       #endif
 
7883
+       #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD)
 
7884
+         printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0);
 
7885
+       #endif
 
7886
+       #endif
 
7887
+         exit (-1);
 
7888
+       }
 
7889
+EOF
 
7890
+       $CC_FOR_BUILD -o $dummy $dummy.c &&
 
7891
+         dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` &&
 
7892
+         SYSTEM_NAME=`$dummy $dummyarg` &&
 
7893
+           { echo "$SYSTEM_NAME"; exit; }
 
7894
+       echo mips-mips-riscos${UNAME_RELEASE}
 
7895
+       exit ;;
 
7896
+    Motorola:PowerMAX_OS:*:*)
 
7897
+       echo powerpc-motorola-powermax
 
7898
+       exit ;;
 
7899
+    Motorola:*:4.3:PL8-*)
 
7900
+       echo powerpc-harris-powermax
 
7901
+       exit ;;
 
7902
+    Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
 
7903
+       echo powerpc-harris-powermax
 
7904
+       exit ;;
 
7905
+    Night_Hawk:Power_UNIX:*:*)
 
7906
+       echo powerpc-harris-powerunix
 
7907
+       exit ;;
 
7908
+    m88k:CX/UX:7*:*)
 
7909
+       echo m88k-harris-cxux7
 
7910
+       exit ;;
 
7911
+    m88k:*:4*:R4*)
 
7912
+       echo m88k-motorola-sysv4
 
7913
+       exit ;;
 
7914
+    m88k:*:3*:R3*)
 
7915
+       echo m88k-motorola-sysv3
 
7916
+       exit ;;
 
7917
+    AViiON:dgux:*:*)
 
7918
+        # DG/UX returns AViiON for all architectures
 
7919
+        UNAME_PROCESSOR=`/usr/bin/uname -p`
 
7920
+       if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
 
7921
+       then
 
7922
+           if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
 
7923
+              [ ${TARGET_BINARY_INTERFACE}x = x ]
 
7924
+           then
 
7925
+               echo m88k-dg-dgux${UNAME_RELEASE}
 
7926
+           else
 
7927
+               echo m88k-dg-dguxbcs${UNAME_RELEASE}
 
7928
+           fi
 
7929
+       else
 
7930
+           echo i586-dg-dgux${UNAME_RELEASE}
 
7931
+       fi
 
7932
+       exit ;;
 
7933
+    M88*:DolphinOS:*:*)        # DolphinOS (SVR3)
 
7934
+       echo m88k-dolphin-sysv3
 
7935
+       exit ;;
 
7936
+    M88*:*:R3*:*)
 
7937
+       # Delta 88k system running SVR3
 
7938
+       echo m88k-motorola-sysv3
 
7939
+       exit ;;
 
7940
+    XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3)
 
7941
+       echo m88k-tektronix-sysv3
 
7942
+       exit ;;
 
7943
+    Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD)
 
7944
+       echo m68k-tektronix-bsd
 
7945
+       exit ;;
 
7946
+    *:IRIX*:*:*)
 
7947
+       echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`
 
7948
+       exit ;;
 
7949
+    ????????:AIX?:[12].1:2)   # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
 
7950
+       echo romp-ibm-aix     # uname -m gives an 8 hex-code CPU id
 
7951
+       exit ;;               # Note that: echo "'`uname -s`'" gives 'AIX '
 
7952
+    i*86:AIX:*:*)
 
7953
+       echo i386-ibm-aix
 
7954
+       exit ;;
 
7955
+    ia64:AIX:*:*)
 
7956
+       if [ -x /usr/bin/oslevel ] ; then
 
7957
+               IBM_REV=`/usr/bin/oslevel`
 
7958
+       else
 
7959
+               IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
 
7960
+       fi
 
7961
+       echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}
 
7962
+       exit ;;
 
7963
+    *:AIX:2:3)
 
7964
+       if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
 
7965
+               eval $set_cc_for_build
 
7966
+               sed 's/^                //' << EOF >$dummy.c
 
7967
+               #include <sys/systemcfg.h>
 
7968
+
 
7969
+               main()
 
7970
+                       {
 
7971
+                       if (!__power_pc())
 
7972
+                               exit(1);
 
7973
+                       puts("powerpc-ibm-aix3.2.5");
 
7974
+                       exit(0);
 
7975
+                       }
 
7976
+EOF
 
7977
+               if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy`
 
7978
+               then
 
7979
+                       echo "$SYSTEM_NAME"
 
7980
+               else
 
7981
+                       echo rs6000-ibm-aix3.2.5
 
7982
+               fi
 
7983
+       elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
 
7984
+               echo rs6000-ibm-aix3.2.4
 
7985
+       else
 
7986
+               echo rs6000-ibm-aix3.2
 
7987
+       fi
 
7988
+       exit ;;
 
7989
+    *:AIX:*:[45])
 
7990
+       IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
 
7991
+       if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
 
7992
+               IBM_ARCH=rs6000
 
7993
+       else
 
7994
+               IBM_ARCH=powerpc
 
7995
+       fi
 
7996
+       if [ -x /usr/bin/oslevel ] ; then
 
7997
+               IBM_REV=`/usr/bin/oslevel`
 
7998
+       else
 
7999
+               IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
 
8000
+       fi
 
8001
+       echo ${IBM_ARCH}-ibm-aix${IBM_REV}
 
8002
+       exit ;;
 
8003
+    *:AIX:*:*)
 
8004
+       echo rs6000-ibm-aix
 
8005
+       exit ;;
 
8006
+    ibmrt:4.4BSD:*|romp-ibm:BSD:*)
 
8007
+       echo romp-ibm-bsd4.4
 
8008
+       exit ;;
 
8009
+    ibmrt:*BSD:*|romp-ibm:BSD:*)            # covers RT/PC BSD and
 
8010
+       echo romp-ibm-bsd${UNAME_RELEASE}   # 4.3 with uname added to
 
8011
+       exit ;;                             # report: romp-ibm BSD 4.3
 
8012
+    *:BOSX:*:*)
 
8013
+       echo rs6000-bull-bosx
 
8014
+       exit ;;
 
8015
+    DPX/2?00:B.O.S.:*:*)
 
8016
+       echo m68k-bull-sysv3
 
8017
+       exit ;;
 
8018
+    9000/[34]??:4.3bsd:1.*:*)
 
8019
+       echo m68k-hp-bsd
 
8020
+       exit ;;
 
8021
+    hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
 
8022
+       echo m68k-hp-bsd4.4
 
8023
+       exit ;;
 
8024
+    9000/[34678]??:HP-UX:*:*)
 
8025
+       HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
 
8026
+       case "${UNAME_MACHINE}" in
 
8027
+           9000/31? )            HP_ARCH=m68000 ;;
 
8028
+           9000/[34]?? )         HP_ARCH=m68k ;;
 
8029
+           9000/[678][0-9][0-9])
 
8030
+               if [ -x /usr/bin/getconf ]; then
 
8031
+                   sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
 
8032
+                    sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
 
8033
+                    case "${sc_cpu_version}" in
 
8034
+                      523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
 
8035
+                      528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
 
8036
+                      532)                      # CPU_PA_RISC2_0
 
8037
+                        case "${sc_kernel_bits}" in
 
8038
+                          32) HP_ARCH="hppa2.0n" ;;
 
8039
+                          64) HP_ARCH="hppa2.0w" ;;
 
8040
+                         '') HP_ARCH="hppa2.0" ;;   # HP-UX 10.20
 
8041
+                        esac ;;
 
8042
+                    esac
 
8043
+               fi
 
8044
+               if [ "${HP_ARCH}" = "" ]; then
 
8045
+                   eval $set_cc_for_build
 
8046
+                   sed 's/^              //' << EOF >$dummy.c
 
8047
+
 
8048
+              #define _HPUX_SOURCE
 
8049
+              #include <stdlib.h>
 
8050
+              #include <unistd.h>
 
8051
+
 
8052
+              int main ()
 
8053
+              {
 
8054
+              #if defined(_SC_KERNEL_BITS)
 
8055
+                  long bits = sysconf(_SC_KERNEL_BITS);
 
8056
+              #endif
 
8057
+                  long cpu  = sysconf (_SC_CPU_VERSION);
 
8058
+
 
8059
+                  switch (cpu)
 
8060
+               {
 
8061
+               case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
 
8062
+               case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
 
8063
+               case CPU_PA_RISC2_0:
 
8064
+              #if defined(_SC_KERNEL_BITS)
 
8065
+                   switch (bits)
 
8066
+                       {
 
8067
+                       case 64: puts ("hppa2.0w"); break;
 
8068
+                       case 32: puts ("hppa2.0n"); break;
 
8069
+                       default: puts ("hppa2.0"); break;
 
8070
+                       } break;
 
8071
+              #else  /* !defined(_SC_KERNEL_BITS) */
 
8072
+                   puts ("hppa2.0"); break;
 
8073
+              #endif
 
8074
+               default: puts ("hppa1.0"); break;
 
8075
+               }
 
8076
+                  exit (0);
 
8077
+              }
 
8078
+EOF
 
8079
+                   (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
 
8080
+                   test -z "$HP_ARCH" && HP_ARCH=hppa
 
8081
+               fi ;;
 
8082
+       esac
 
8083
+       if [ ${HP_ARCH} = "hppa2.0w" ]
 
8084
+       then
 
8085
+           eval $set_cc_for_build
 
8086
+
 
8087
+           # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
 
8088
+           # 32-bit code.  hppa64-hp-hpux* has the same kernel and a compiler
 
8089
+           # generating 64-bit code.  GNU and HP use different nomenclature:
 
8090
+           #
 
8091
+           # $ CC_FOR_BUILD=cc ./config.guess
 
8092
+           # => hppa2.0w-hp-hpux11.23
 
8093
+           # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess
 
8094
+           # => hppa64-hp-hpux11.23
 
8095
+
 
8096
+           if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
 
8097
+               grep __LP64__ >/dev/null
 
8098
+           then
 
8099
+               HP_ARCH="hppa2.0w"
 
8100
+           else
 
8101
+               HP_ARCH="hppa64"
 
8102
+           fi
 
8103
+       fi
 
8104
+       echo ${HP_ARCH}-hp-hpux${HPUX_REV}
 
8105
+       exit ;;
 
8106
+    ia64:HP-UX:*:*)
 
8107
+       HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
 
8108
+       echo ia64-hp-hpux${HPUX_REV}
 
8109
+       exit ;;
 
8110
+    3050*:HI-UX:*:*)
 
8111
+       eval $set_cc_for_build
 
8112
+       sed 's/^        //' << EOF >$dummy.c
 
8113
+       #include <unistd.h>
 
8114
+       int
 
8115
+       main ()
 
8116
+       {
 
8117
+         long cpu = sysconf (_SC_CPU_VERSION);
 
8118
+         /* The order matters, because CPU_IS_HP_MC68K erroneously returns
 
8119
+            true for CPU_PA_RISC1_0.  CPU_IS_PA_RISC returns correct
 
8120
+            results, however.  */
 
8121
+         if (CPU_IS_PA_RISC (cpu))
 
8122
+           {
 
8123
+             switch (cpu)
 
8124
+               {
 
8125
+                 case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break;
 
8126
+                 case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break;
 
8127
+                 case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break;
 
8128
+                 default: puts ("hppa-hitachi-hiuxwe2"); break;
 
8129
+               }
 
8130
+           }
 
8131
+         else if (CPU_IS_HP_MC68K (cpu))
 
8132
+           puts ("m68k-hitachi-hiuxwe2");
 
8133
+         else puts ("unknown-hitachi-hiuxwe2");
 
8134
+         exit (0);
 
8135
+       }
 
8136
+EOF
 
8137
+       $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` &&
 
8138
+               { echo "$SYSTEM_NAME"; exit; }
 
8139
+       echo unknown-hitachi-hiuxwe2
 
8140
+       exit ;;
 
8141
+    9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
 
8142
+       echo hppa1.1-hp-bsd
 
8143
+       exit ;;
 
8144
+    9000/8??:4.3bsd:*:*)
 
8145
+       echo hppa1.0-hp-bsd
 
8146
+       exit ;;
 
8147
+    *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
 
8148
+       echo hppa1.0-hp-mpeix
 
8149
+       exit ;;
 
8150
+    hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
 
8151
+       echo hppa1.1-hp-osf
 
8152
+       exit ;;
 
8153
+    hp8??:OSF1:*:*)
 
8154
+       echo hppa1.0-hp-osf
 
8155
+       exit ;;
 
8156
+    i*86:OSF1:*:*)
 
8157
+       if [ -x /usr/sbin/sysversion ] ; then
 
8158
+           echo ${UNAME_MACHINE}-unknown-osf1mk
 
8159
+       else
 
8160
+           echo ${UNAME_MACHINE}-unknown-osf1
 
8161
+       fi
 
8162
+       exit ;;
 
8163
+    parisc*:Lites*:*:*)
 
8164
+       echo hppa1.1-hp-lites
 
8165
+       exit ;;
 
8166
+    C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
 
8167
+       echo c1-convex-bsd
 
8168
+        exit ;;
 
8169
+    C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
 
8170
+       if getsysinfo -f scalar_acc
 
8171
+       then echo c32-convex-bsd
 
8172
+       else echo c2-convex-bsd
 
8173
+       fi
 
8174
+        exit ;;
 
8175
+    C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
 
8176
+       echo c34-convex-bsd
 
8177
+        exit ;;
 
8178
+    C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
 
8179
+       echo c38-convex-bsd
 
8180
+        exit ;;
 
8181
+    C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
 
8182
+       echo c4-convex-bsd
 
8183
+        exit ;;
 
8184
+    CRAY*Y-MP:*:*:*)
 
8185
+       echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
 
8186
+       exit ;;
 
8187
+    CRAY*[A-Z]90:*:*:*)
 
8188
+       echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
 
8189
+       | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
 
8190
+             -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
 
8191
+             -e 's/\.[^.]*$/.X/'
 
8192
+       exit ;;
 
8193
+    CRAY*TS:*:*:*)
 
8194
+       echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
 
8195
+       exit ;;
 
8196
+    CRAY*T3E:*:*:*)
 
8197
+       echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
 
8198
+       exit ;;
 
8199
+    CRAY*SV1:*:*:*)
 
8200
+       echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
 
8201
+       exit ;;
 
8202
+    *:UNICOS/mp:*:*)
 
8203
+       echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
 
8204
+       exit ;;
 
8205
+    F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
 
8206
+       FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
 
8207
+        FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
 
8208
+        FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
 
8209
+        echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
 
8210
+        exit ;;
 
8211
+    5000:UNIX_System_V:4.*:*)
 
8212
+        FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
 
8213
+        FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
 
8214
+        echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
 
8215
+       exit ;;
 
8216
+    i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
 
8217
+       echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
 
8218
+       exit ;;
 
8219
+    sparc*:BSD/OS:*:*)
 
8220
+       echo sparc-unknown-bsdi${UNAME_RELEASE}
 
8221
+       exit ;;
 
8222
+    *:BSD/OS:*:*)
 
8223
+       echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
 
8224
+       exit ;;
 
8225
+    *:FreeBSD:*:*)
 
8226
+       case ${UNAME_MACHINE} in
 
8227
+           pc98)
 
8228
+               echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
 
8229
+           amd64)
 
8230
+               echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
 
8231
+           *)
 
8232
+               echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
 
8233
+       esac
 
8234
+       exit ;;
 
8235
+    i*:CYGWIN*:*)
 
8236
+       echo ${UNAME_MACHINE}-pc-cygwin
 
8237
+       exit ;;
 
8238
+    *:MINGW*:*)
 
8239
+       echo ${UNAME_MACHINE}-pc-mingw32
 
8240
+       exit ;;
 
8241
+    i*:windows32*:*)
 
8242
+       # uname -m includes "-pc" on this system.
 
8243
+       echo ${UNAME_MACHINE}-mingw32
 
8244
+       exit ;;
 
8245
+    i*:PW*:*)
 
8246
+       echo ${UNAME_MACHINE}-pc-pw32
 
8247
+       exit ;;
 
8248
+    *:Interix*:[3456]*)
 
8249
+       case ${UNAME_MACHINE} in
 
8250
+           x86) 
 
8251
+               echo i586-pc-interix${UNAME_RELEASE}
 
8252
+               exit ;;
 
8253
+           EM64T | authenticamd)
 
8254
+               echo x86_64-unknown-interix${UNAME_RELEASE}
 
8255
+               exit ;;
 
8256
+       esac ;;
 
8257
+    [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
 
8258
+       echo i${UNAME_MACHINE}-pc-mks
 
8259
+       exit ;;
 
8260
+    i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
 
8261
+       # How do we know it's Interix rather than the generic POSIX subsystem?
 
8262
+       # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
 
8263
+       # UNAME_MACHINE based on the output of uname instead of i386?
 
8264
+       echo i586-pc-interix
 
8265
+       exit ;;
 
8266
+    i*:UWIN*:*)
 
8267
+       echo ${UNAME_MACHINE}-pc-uwin
 
8268
+       exit ;;
 
8269
+    amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
 
8270
+       echo x86_64-unknown-cygwin
 
8271
+       exit ;;
 
8272
+    p*:CYGWIN*:*)
 
8273
+       echo powerpcle-unknown-cygwin
 
8274
+       exit ;;
 
8275
+    prep*:SunOS:5.*:*)
 
8276
+       echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
 
8277
+       exit ;;
 
8278
+    *:GNU:*:*)
 
8279
+       # the GNU system
 
8280
+       echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
 
8281
+       exit ;;
 
8282
+    *:GNU/*:*:*)
 
8283
+       # other systems with GNU libc and userland
 
8284
+       echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
 
8285
+       exit ;;
 
8286
+    i*86:Minix:*:*)
 
8287
+       echo ${UNAME_MACHINE}-pc-minix
 
8288
+       exit ;;
 
8289
+    arm*:Linux:*:*)
 
8290
+       echo ${UNAME_MACHINE}-unknown-linux-gnu
 
8291
+       exit ;;
 
8292
+    avr32*:Linux:*:*)
 
8293
+       echo ${UNAME_MACHINE}-unknown-linux-gnu
 
8294
+       exit ;;
 
8295
+    cris:Linux:*:*)
 
8296
+       echo cris-axis-linux-gnu
 
8297
+       exit ;;
 
8298
+    crisv32:Linux:*:*)
 
8299
+       echo crisv32-axis-linux-gnu
 
8300
+       exit ;;
 
8301
+    frv:Linux:*:*)
 
8302
+       echo frv-unknown-linux-gnu
 
8303
+       exit ;;
 
8304
+    ia64:Linux:*:*)
 
8305
+       echo ${UNAME_MACHINE}-unknown-linux-gnu
 
8306
+       exit ;;
 
8307
+    m32r*:Linux:*:*)
 
8308
+       echo ${UNAME_MACHINE}-unknown-linux-gnu
 
8309
+       exit ;;
 
8310
+    m68*:Linux:*:*)
 
8311
+       echo ${UNAME_MACHINE}-unknown-linux-gnu
 
8312
+       exit ;;
 
8313
+    mips:Linux:*:*)
 
8314
+       eval $set_cc_for_build
 
8315
+       sed 's/^        //' << EOF >$dummy.c
 
8316
+       #undef CPU
 
8317
+       #undef mips
 
8318
+       #undef mipsel
 
8319
+       #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
 
8320
+       CPU=mipsel
 
8321
+       #else
 
8322
+       #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
 
8323
+       CPU=mips
 
8324
+       #else
 
8325
+       CPU=
 
8326
+       #endif
 
8327
+       #endif
 
8328
+EOF
 
8329
+       eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
 
8330
+           /^CPU/{
 
8331
+               s: ::g
 
8332
+               p
 
8333
+           }'`"
 
8334
+       test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
 
8335
+       ;;
 
8336
+    mips64:Linux:*:*)
 
8337
+       eval $set_cc_for_build
 
8338
+       sed 's/^        //' << EOF >$dummy.c
 
8339
+       #undef CPU
 
8340
+       #undef mips64
 
8341
+       #undef mips64el
 
8342
+       #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
 
8343
+       CPU=mips64el
 
8344
+       #else
 
8345
+       #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
 
8346
+       CPU=mips64
 
8347
+       #else
 
8348
+       CPU=
 
8349
+       #endif
 
8350
+       #endif
 
8351
+EOF
 
8352
+       eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
 
8353
+           /^CPU/{
 
8354
+               s: ::g
 
8355
+               p
 
8356
+           }'`"
 
8357
+       test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
 
8358
+       ;;
 
8359
+    or32:Linux:*:*)
 
8360
+       echo or32-unknown-linux-gnu
 
8361
+       exit ;;
 
8362
+    ppc:Linux:*:*)
 
8363
+       echo powerpc-unknown-linux-gnu
 
8364
+       exit ;;
 
8365
+    ppc64:Linux:*:*)
 
8366
+       echo powerpc64-unknown-linux-gnu
 
8367
+       exit ;;
 
8368
+    alpha:Linux:*:*)
 
8369
+       case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
 
8370
+         EV5)   UNAME_MACHINE=alphaev5 ;;
 
8371
+         EV56)  UNAME_MACHINE=alphaev56 ;;
 
8372
+         PCA56) UNAME_MACHINE=alphapca56 ;;
 
8373
+         PCA57) UNAME_MACHINE=alphapca56 ;;
 
8374
+         EV6)   UNAME_MACHINE=alphaev6 ;;
 
8375
+         EV67)  UNAME_MACHINE=alphaev67 ;;
 
8376
+         EV68*) UNAME_MACHINE=alphaev68 ;;
 
8377
+        esac
 
8378
+       objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
 
8379
+       if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
 
8380
+       echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
 
8381
+       exit ;;
 
8382
+    parisc:Linux:*:* | hppa:Linux:*:*)
 
8383
+       # Look for CPU level
 
8384
+       case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
 
8385
+         PA7*) echo hppa1.1-unknown-linux-gnu ;;
 
8386
+         PA8*) echo hppa2.0-unknown-linux-gnu ;;
 
8387
+         *)    echo hppa-unknown-linux-gnu ;;
 
8388
+       esac
 
8389
+       exit ;;
 
8390
+    parisc64:Linux:*:* | hppa64:Linux:*:*)
 
8391
+       echo hppa64-unknown-linux-gnu
 
8392
+       exit ;;
 
8393
+    s390:Linux:*:* | s390x:Linux:*:*)
 
8394
+       echo ${UNAME_MACHINE}-ibm-linux
 
8395
+       exit ;;
 
8396
+    sh64*:Linux:*:*)
 
8397
+       echo ${UNAME_MACHINE}-unknown-linux-gnu
 
8398
+       exit ;;
 
8399
+    sh*:Linux:*:*)
 
8400
+       echo ${UNAME_MACHINE}-unknown-linux-gnu
 
8401
+       exit ;;
 
8402
+    sparc:Linux:*:* | sparc64:Linux:*:*)
 
8403
+       echo ${UNAME_MACHINE}-unknown-linux-gnu
 
8404
+       exit ;;
 
8405
+    vax:Linux:*:*)
 
8406
+       echo ${UNAME_MACHINE}-dec-linux-gnu
 
8407
+       exit ;;
 
8408
+    x86_64:Linux:*:*)
 
8409
+       echo x86_64-unknown-linux-gnu
 
8410
+       exit ;;
 
8411
+    xtensa:Linux:*:*)
 
8412
+       echo xtensa-unknown-linux-gnu
 
8413
+       exit ;;
 
8414
+    i*86:Linux:*:*)
 
8415
+       # The BFD linker knows what the default object file format is, so
 
8416
+       # first see if it will tell us. cd to the root directory to prevent
 
8417
+       # problems with other programs or directories called `ld' in the path.
 
8418
+       # Set LC_ALL=C to ensure ld outputs messages in English.
 
8419
+       ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \
 
8420
+                        | sed -ne '/supported targets:/!d
 
8421
+                                   s/[         ][      ]*/ /g
 
8422
+                                   s/.*supported targets: *//
 
8423
+                                   s/ .*//
 
8424
+                                   p'`
 
8425
+        case "$ld_supported_targets" in
 
8426
+         elf32-i386)
 
8427
+               TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
 
8428
+               ;;
 
8429
+         a.out-i386-linux)
 
8430
+               echo "${UNAME_MACHINE}-pc-linux-gnuaout"
 
8431
+               exit ;;
 
8432
+         coff-i386)
 
8433
+               echo "${UNAME_MACHINE}-pc-linux-gnucoff"
 
8434
+               exit ;;
 
8435
+         "")
 
8436
+               # Either a pre-BFD a.out linker (linux-gnuoldld) or
 
8437
+               # one that does not give us useful --help.
 
8438
+               echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
 
8439
+               exit ;;
 
8440
+       esac
 
8441
+       # Determine whether the default compiler is a.out or elf
 
8442
+       eval $set_cc_for_build
 
8443
+       sed 's/^        //' << EOF >$dummy.c
 
8444
+       #include <features.h>
 
8445
+       #ifdef __ELF__
 
8446
+       # ifdef __GLIBC__
 
8447
+       #  if __GLIBC__ >= 2
 
8448
+       LIBC=gnu
 
8449
+       #  else
 
8450
+       LIBC=gnulibc1
 
8451
+       #  endif
 
8452
+       # else
 
8453
+       LIBC=gnulibc1
 
8454
+       # endif
 
8455
+       #else
 
8456
+       #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
 
8457
+       LIBC=gnu
 
8458
+       #else
 
8459
+       LIBC=gnuaout
 
8460
+       #endif
 
8461
+       #endif
 
8462
+       #ifdef __dietlibc__
 
8463
+       LIBC=dietlibc
 
8464
+       #endif
 
8465
+EOF
 
8466
+       eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
 
8467
+           /^LIBC/{
 
8468
+               s: ::g
 
8469
+               p
 
8470
+           }'`"
 
8471
+       test x"${LIBC}" != x && {
 
8472
+               echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
 
8473
+               exit
 
8474
+       }
 
8475
+       test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; }
 
8476
+       ;;
 
8477
+    i*86:DYNIX/ptx:4*:*)
 
8478
+       # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
 
8479
+       # earlier versions are messed up and put the nodename in both
 
8480
+       # sysname and nodename.
 
8481
+       echo i386-sequent-sysv4
 
8482
+       exit ;;
 
8483
+    i*86:UNIX_SV:4.2MP:2.*)
 
8484
+        # Unixware is an offshoot of SVR4, but it has its own version
 
8485
+        # number series starting with 2...
 
8486
+        # I am not positive that other SVR4 systems won't match this,
 
8487
+       # I just have to hope.  -- rms.
 
8488
+        # Use sysv4.2uw... so that sysv4* matches it.
 
8489
+       echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
 
8490
+       exit ;;
 
8491
+    i*86:OS/2:*:*)
 
8492
+       # If we were able to find `uname', then EMX Unix compatibility
 
8493
+       # is probably installed.
 
8494
+       echo ${UNAME_MACHINE}-pc-os2-emx
 
8495
+       exit ;;
 
8496
+    i*86:XTS-300:*:STOP)
 
8497
+       echo ${UNAME_MACHINE}-unknown-stop
 
8498
+       exit ;;
 
8499
+    i*86:atheos:*:*)
 
8500
+       echo ${UNAME_MACHINE}-unknown-atheos
 
8501
+       exit ;;
 
8502
+    i*86:syllable:*:*)
 
8503
+       echo ${UNAME_MACHINE}-pc-syllable
 
8504
+       exit ;;
 
8505
+    i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
 
8506
+       echo i386-unknown-lynxos${UNAME_RELEASE}
 
8507
+       exit ;;
 
8508
+    i*86:*DOS:*:*)
 
8509
+       echo ${UNAME_MACHINE}-pc-msdosdjgpp
 
8510
+       exit ;;
 
8511
+    i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
 
8512
+       UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
 
8513
+       if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
 
8514
+               echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL}
 
8515
+       else
 
8516
+               echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
 
8517
+       fi
 
8518
+       exit ;;
 
8519
+    i*86:*:5:[678]*)
 
8520
+       # UnixWare 7.x, OpenUNIX and OpenServer 6.
 
8521
+       case `/bin/uname -X | grep "^Machine"` in
 
8522
+           *486*)           UNAME_MACHINE=i486 ;;
 
8523
+           *Pentium)        UNAME_MACHINE=i586 ;;
 
8524
+           *Pent*|*Celeron) UNAME_MACHINE=i686 ;;
 
8525
+       esac
 
8526
+       echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
 
8527
+       exit ;;
 
8528
+    i*86:*:3.2:*)
 
8529
+       if test -f /usr/options/cb.name; then
 
8530
+               UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
 
8531
+               echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
 
8532
+       elif /bin/uname -X 2>/dev/null >/dev/null ; then
 
8533
+               UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`
 
8534
+               (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486
 
8535
+               (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \
 
8536
+                       && UNAME_MACHINE=i586
 
8537
+               (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \
 
8538
+                       && UNAME_MACHINE=i686
 
8539
+               (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \
 
8540
+                       && UNAME_MACHINE=i686
 
8541
+               echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
 
8542
+       else
 
8543
+               echo ${UNAME_MACHINE}-pc-sysv32
 
8544
+       fi
 
8545
+       exit ;;
 
8546
+    pc:*:*:*)
 
8547
+       # Left here for compatibility:
 
8548
+        # uname -m prints for DJGPP always 'pc', but it prints nothing about
 
8549
+        # the processor, so we play safe by assuming i386.
 
8550
+       echo i386-pc-msdosdjgpp
 
8551
+        exit ;;
 
8552
+    Intel:Mach:3*:*)
 
8553
+       echo i386-pc-mach3
 
8554
+       exit ;;
 
8555
+    paragon:*:*:*)
 
8556
+       echo i860-intel-osf1
 
8557
+       exit ;;
 
8558
+    i860:*:4.*:*) # i860-SVR4
 
8559
+       if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
 
8560
+         echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
 
8561
+       else # Add other i860-SVR4 vendors below as they are discovered.
 
8562
+         echo i860-unknown-sysv${UNAME_RELEASE}  # Unknown i860-SVR4
 
8563
+       fi
 
8564
+       exit ;;
 
8565
+    mini*:CTIX:SYS*5:*)
 
8566
+       # "miniframe"
 
8567
+       echo m68010-convergent-sysv
 
8568
+       exit ;;
 
8569
+    mc68k:UNIX:SYSTEM5:3.51m)
 
8570
+       echo m68k-convergent-sysv
 
8571
+       exit ;;
 
8572
+    M680?0:D-NIX:5.3:*)
 
8573
+       echo m68k-diab-dnix
 
8574
+       exit ;;
 
8575
+    M68*:*:R3V[5678]*:*)
 
8576
+       test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;;
 
8577
+    3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0)
 
8578
+       OS_REL=''
 
8579
+       test -r /etc/.relid \
 
8580
+       && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
 
8581
+       /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
 
8582
+         && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
 
8583
+       /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
 
8584
+         && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
 
8585
+    3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
 
8586
+        /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
 
8587
+          && { echo i486-ncr-sysv4; exit; } ;;
 
8588
+    m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
 
8589
+       echo m68k-unknown-lynxos${UNAME_RELEASE}
 
8590
+       exit ;;
 
8591
+    mc68030:UNIX_System_V:4.*:*)
 
8592
+       echo m68k-atari-sysv4
 
8593
+       exit ;;
 
8594
+    TSUNAMI:LynxOS:2.*:*)
 
8595
+       echo sparc-unknown-lynxos${UNAME_RELEASE}
 
8596
+       exit ;;
 
8597
+    rs6000:LynxOS:2.*:*)
 
8598
+       echo rs6000-unknown-lynxos${UNAME_RELEASE}
 
8599
+       exit ;;
 
8600
+    PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
 
8601
+       echo powerpc-unknown-lynxos${UNAME_RELEASE}
 
8602
+       exit ;;
 
8603
+    SM[BE]S:UNIX_SV:*:*)
 
8604
+       echo mips-dde-sysv${UNAME_RELEASE}
 
8605
+       exit ;;
 
8606
+    RM*:ReliantUNIX-*:*:*)
 
8607
+       echo mips-sni-sysv4
 
8608
+       exit ;;
 
8609
+    RM*:SINIX-*:*:*)
 
8610
+       echo mips-sni-sysv4
 
8611
+       exit ;;
 
8612
+    *:SINIX-*:*:*)
 
8613
+       if uname -p 2>/dev/null >/dev/null ; then
 
8614
+               UNAME_MACHINE=`(uname -p) 2>/dev/null`
 
8615
+               echo ${UNAME_MACHINE}-sni-sysv4
 
8616
+       else
 
8617
+               echo ns32k-sni-sysv
 
8618
+       fi
 
8619
+       exit ;;
 
8620
+    PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
 
8621
+                      # says <Richard.M.Bartel@ccMail.Census.GOV>
 
8622
+        echo i586-unisys-sysv4
 
8623
+        exit ;;
 
8624
+    *:UNIX_System_V:4*:FTX*)
 
8625
+       # From Gerald Hewes <hewes@openmarket.com>.
 
8626
+       # How about differentiating between stratus architectures? -djm
 
8627
+       echo hppa1.1-stratus-sysv4
 
8628
+       exit ;;
 
8629
+    *:*:*:FTX*)
 
8630
+       # From seanf@swdc.stratus.com.
 
8631
+       echo i860-stratus-sysv4
 
8632
+       exit ;;
 
8633
+    i*86:VOS:*:*)
 
8634
+       # From Paul.Green@stratus.com.
 
8635
+       echo ${UNAME_MACHINE}-stratus-vos
 
8636
+       exit ;;
 
8637
+    *:VOS:*:*)
 
8638
+       # From Paul.Green@stratus.com.
 
8639
+       echo hppa1.1-stratus-vos
 
8640
+       exit ;;
 
8641
+    mc68*:A/UX:*:*)
 
8642
+       echo m68k-apple-aux${UNAME_RELEASE}
 
8643
+       exit ;;
 
8644
+    news*:NEWS-OS:6*:*)
 
8645
+       echo mips-sony-newsos6
 
8646
+       exit ;;
 
8647
+    R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
 
8648
+       if [ -d /usr/nec ]; then
 
8649
+               echo mips-nec-sysv${UNAME_RELEASE}
 
8650
+       else
 
8651
+               echo mips-unknown-sysv${UNAME_RELEASE}
 
8652
+       fi
 
8653
+        exit ;;
 
8654
+    BeBox:BeOS:*:*)    # BeOS running on hardware made by Be, PPC only.
 
8655
+       echo powerpc-be-beos
 
8656
+       exit ;;
 
8657
+    BeMac:BeOS:*:*)    # BeOS running on Mac or Mac clone, PPC only.
 
8658
+       echo powerpc-apple-beos
 
8659
+       exit ;;
 
8660
+    BePC:BeOS:*:*)     # BeOS running on Intel PC compatible.
 
8661
+       echo i586-pc-beos
 
8662
+       exit ;;
 
8663
+    SX-4:SUPER-UX:*:*)
 
8664
+       echo sx4-nec-superux${UNAME_RELEASE}
 
8665
+       exit ;;
 
8666
+    SX-5:SUPER-UX:*:*)
 
8667
+       echo sx5-nec-superux${UNAME_RELEASE}
 
8668
+       exit ;;
 
8669
+    SX-6:SUPER-UX:*:*)
 
8670
+       echo sx6-nec-superux${UNAME_RELEASE}
 
8671
+       exit ;;
 
8672
+    SX-7:SUPER-UX:*:*)
 
8673
+       echo sx7-nec-superux${UNAME_RELEASE}
 
8674
+       exit ;;
 
8675
+    SX-8:SUPER-UX:*:*)
 
8676
+       echo sx8-nec-superux${UNAME_RELEASE}
 
8677
+       exit ;;
 
8678
+    SX-8R:SUPER-UX:*:*)
 
8679
+       echo sx8r-nec-superux${UNAME_RELEASE}
 
8680
+       exit ;;
 
8681
+    Power*:Rhapsody:*:*)
 
8682
+       echo powerpc-apple-rhapsody${UNAME_RELEASE}
 
8683
+       exit ;;
 
8684
+    *:Rhapsody:*:*)
 
8685
+       echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
 
8686
+       exit ;;
 
8687
+    *:Darwin:*:*)
 
8688
+       UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
 
8689
+       case $UNAME_PROCESSOR in
 
8690
+           unknown) UNAME_PROCESSOR=powerpc ;;
 
8691
+       esac
 
8692
+       echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
 
8693
+       exit ;;
 
8694
+    *:procnto*:*:* | *:QNX:[0123456789]*:*)
 
8695
+       UNAME_PROCESSOR=`uname -p`
 
8696
+       if test "$UNAME_PROCESSOR" = "x86"; then
 
8697
+               UNAME_PROCESSOR=i386
 
8698
+               UNAME_MACHINE=pc
 
8699
+       fi
 
8700
+       echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
 
8701
+       exit ;;
 
8702
+    *:QNX:*:4*)
 
8703
+       echo i386-pc-qnx
 
8704
+       exit ;;
 
8705
+    NSE-?:NONSTOP_KERNEL:*:*)
 
8706
+       echo nse-tandem-nsk${UNAME_RELEASE}
 
8707
+       exit ;;
 
8708
+    NSR-?:NONSTOP_KERNEL:*:*)
 
8709
+       echo nsr-tandem-nsk${UNAME_RELEASE}
 
8710
+       exit ;;
 
8711
+    *:NonStop-UX:*:*)
 
8712
+       echo mips-compaq-nonstopux
 
8713
+       exit ;;
 
8714
+    BS2000:POSIX*:*:*)
 
8715
+       echo bs2000-siemens-sysv
 
8716
+       exit ;;
 
8717
+    DS/*:UNIX_System_V:*:*)
 
8718
+       echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE}
 
8719
+       exit ;;
 
8720
+    *:Plan9:*:*)
 
8721
+       # "uname -m" is not consistent, so use $cputype instead. 386
 
8722
+       # is converted to i386 for consistency with other x86
 
8723
+       # operating systems.
 
8724
+       if test "$cputype" = "386"; then
 
8725
+           UNAME_MACHINE=i386
 
8726
+       else
 
8727
+           UNAME_MACHINE="$cputype"
 
8728
+       fi
 
8729
+       echo ${UNAME_MACHINE}-unknown-plan9
 
8730
+       exit ;;
 
8731
+    *:TOPS-10:*:*)
 
8732
+       echo pdp10-unknown-tops10
 
8733
+       exit ;;
 
8734
+    *:TENEX:*:*)
 
8735
+       echo pdp10-unknown-tenex
 
8736
+       exit ;;
 
8737
+    KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
 
8738
+       echo pdp10-dec-tops20
 
8739
+       exit ;;
 
8740
+    XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*)
 
8741
+       echo pdp10-xkl-tops20
 
8742
+       exit ;;
 
8743
+    *:TOPS-20:*:*)
 
8744
+       echo pdp10-unknown-tops20
 
8745
+       exit ;;
 
8746
+    *:ITS:*:*)
 
8747
+       echo pdp10-unknown-its
 
8748
+       exit ;;
 
8749
+    SEI:*:*:SEIUX)
 
8750
+        echo mips-sei-seiux${UNAME_RELEASE}
 
8751
+       exit ;;
 
8752
+    *:DragonFly:*:*)
 
8753
+       echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
 
8754
+       exit ;;
 
8755
+    *:*VMS:*:*)
 
8756
+       UNAME_MACHINE=`(uname -p) 2>/dev/null`
 
8757
+       case "${UNAME_MACHINE}" in
 
8758
+           A*) echo alpha-dec-vms ; exit ;;
 
8759
+           I*) echo ia64-dec-vms ; exit ;;
 
8760
+           V*) echo vax-dec-vms ; exit ;;
 
8761
+       esac ;;
 
8762
+    *:XENIX:*:SysV)
 
8763
+       echo i386-pc-xenix
 
8764
+       exit ;;
 
8765
+    i*86:skyos:*:*)
 
8766
+       echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//'
 
8767
+       exit ;;
 
8768
+    i*86:rdos:*:*)
 
8769
+       echo ${UNAME_MACHINE}-pc-rdos
 
8770
+       exit ;;
 
8771
+esac
 
8772
+
 
8773
+#echo '(No uname command or uname output not recognized.)' 1>&2
 
8774
+#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
 
8775
+
 
8776
+eval $set_cc_for_build
 
8777
+cat >$dummy.c <<EOF
 
8778
+#ifdef _SEQUENT_
 
8779
+# include <sys/types.h>
 
8780
+# include <sys/utsname.h>
 
8781
+#endif
 
8782
+main ()
 
8783
+{
 
8784
+#if defined (sony)
 
8785
+#if defined (MIPSEB)
 
8786
+  /* BFD wants "bsd" instead of "newsos".  Perhaps BFD should be changed,
 
8787
+     I don't know....  */
 
8788
+  printf ("mips-sony-bsd\n"); exit (0);
 
8789
+#else
 
8790
+#include <sys/param.h>
 
8791
+  printf ("m68k-sony-newsos%s\n",
 
8792
+#ifdef NEWSOS4
 
8793
+          "4"
 
8794
+#else
 
8795
+         ""
 
8796
+#endif
 
8797
+         ); exit (0);
 
8798
+#endif
 
8799
+#endif
 
8800
+
 
8801
+#if defined (__arm) && defined (__acorn) && defined (__unix)
 
8802
+  printf ("arm-acorn-riscix\n"); exit (0);
 
8803
+#endif
 
8804
+
 
8805
+#if defined (hp300) && !defined (hpux)
 
8806
+  printf ("m68k-hp-bsd\n"); exit (0);
 
8807
+#endif
 
8808
+
 
8809
+#if defined (NeXT)
 
8810
+#if !defined (__ARCHITECTURE__)
 
8811
+#define __ARCHITECTURE__ "m68k"
 
8812
+#endif
 
8813
+  int version;
 
8814
+  version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`;
 
8815
+  if (version < 4)
 
8816
+    printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version);
 
8817
+  else
 
8818
+    printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version);
 
8819
+  exit (0);
 
8820
+#endif
 
8821
+
 
8822
+#if defined (MULTIMAX) || defined (n16)
 
8823
+#if defined (UMAXV)
 
8824
+  printf ("ns32k-encore-sysv\n"); exit (0);
 
8825
+#else
 
8826
+#if defined (CMU)
 
8827
+  printf ("ns32k-encore-mach\n"); exit (0);
 
8828
+#else
 
8829
+  printf ("ns32k-encore-bsd\n"); exit (0);
 
8830
+#endif
 
8831
+#endif
 
8832
+#endif
 
8833
+
 
8834
+#if defined (__386BSD__)
 
8835
+  printf ("i386-pc-bsd\n"); exit (0);
 
8836
+#endif
 
8837
+
 
8838
+#if defined (sequent)
 
8839
+#if defined (i386)
 
8840
+  printf ("i386-sequent-dynix\n"); exit (0);
 
8841
+#endif
 
8842
+#if defined (ns32000)
 
8843
+  printf ("ns32k-sequent-dynix\n"); exit (0);
 
8844
+#endif
 
8845
+#endif
 
8846
+
 
8847
+#if defined (_SEQUENT_)
 
8848
+    struct utsname un;
 
8849
+
 
8850
+    uname(&un);
 
8851
+
 
8852
+    if (strncmp(un.version, "V2", 2) == 0) {
 
8853
+       printf ("i386-sequent-ptx2\n"); exit (0);
 
8854
+    }
 
8855
+    if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */
 
8856
+       printf ("i386-sequent-ptx1\n"); exit (0);
 
8857
+    }
 
8858
+    printf ("i386-sequent-ptx\n"); exit (0);
 
8859
+
 
8860
+#endif
 
8861
+
 
8862
+#if defined (vax)
 
8863
+# if !defined (ultrix)
 
8864
+#  include <sys/param.h>
 
8865
+#  if defined (BSD)
 
8866
+#   if BSD == 43
 
8867
+      printf ("vax-dec-bsd4.3\n"); exit (0);
 
8868
+#   else
 
8869
+#    if BSD == 199006
 
8870
+      printf ("vax-dec-bsd4.3reno\n"); exit (0);
 
8871
+#    else
 
8872
+      printf ("vax-dec-bsd\n"); exit (0);
 
8873
+#    endif
 
8874
+#   endif
 
8875
+#  else
 
8876
+    printf ("vax-dec-bsd\n"); exit (0);
 
8877
+#  endif
 
8878
+# else
 
8879
+    printf ("vax-dec-ultrix\n"); exit (0);
 
8880
+# endif
 
8881
+#endif
 
8882
+
 
8883
+#if defined (alliant) && defined (i860)
 
8884
+  printf ("i860-alliant-bsd\n"); exit (0);
 
8885
+#endif
 
8886
+
 
8887
+  exit (1);
 
8888
+}
 
8889
+EOF
 
8890
+
 
8891
+$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` &&
 
8892
+       { echo "$SYSTEM_NAME"; exit; }
 
8893
+
 
8894
+# Apollos put the system type in the environment.
 
8895
+
 
8896
+test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; }
 
8897
+
 
8898
+# Convex versions that predate uname can use getsysinfo(1)
 
8899
+
 
8900
+if [ -x /usr/convex/getsysinfo ]
 
8901
+then
 
8902
+    case `getsysinfo -f cpu_type` in
 
8903
+    c1*)
 
8904
+       echo c1-convex-bsd
 
8905
+       exit ;;
 
8906
+    c2*)
 
8907
+       if getsysinfo -f scalar_acc
 
8908
+       then echo c32-convex-bsd
 
8909
+       else echo c2-convex-bsd
 
8910
+       fi
 
8911
+       exit ;;
 
8912
+    c34*)
 
8913
+       echo c34-convex-bsd
 
8914
+       exit ;;
 
8915
+    c38*)
 
8916
+       echo c38-convex-bsd
 
8917
+       exit ;;
 
8918
+    c4*)
 
8919
+       echo c4-convex-bsd
 
8920
+       exit ;;
 
8921
+    esac
 
8922
+fi
 
8923
+
 
8924
+cat >&2 <<EOF
 
8925
+$0: unable to guess system type
 
8926
+
 
8927
+This script, last modified $timestamp, has failed to recognize
 
8928
+the operating system you are using. It is advised that you
 
8929
+download the most up to date version of the config scripts from
 
8930
+
 
8931
+  http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess
 
8932
+and
 
8933
+  http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub
 
8934
+
 
8935
+If the version you run ($0) is already up to date, please
 
8936
+send the following data and any information you think might be
 
8937
+pertinent to <config-patches@gnu.org> in order to provide the needed
 
8938
+information to handle your system.
 
8939
+
 
8940
+config.guess timestamp = $timestamp
 
8941
+
 
8942
+uname -m = `(uname -m) 2>/dev/null || echo unknown`
 
8943
+uname -r = `(uname -r) 2>/dev/null || echo unknown`
 
8944
+uname -s = `(uname -s) 2>/dev/null || echo unknown`
 
8945
+uname -v = `(uname -v) 2>/dev/null || echo unknown`
 
8946
+
 
8947
+/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null`
 
8948
+/bin/uname -X     = `(/bin/uname -X) 2>/dev/null`
 
8949
+
 
8950
+hostinfo               = `(hostinfo) 2>/dev/null`
 
8951
+/bin/universe          = `(/bin/universe) 2>/dev/null`
 
8952
+/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null`
 
8953
+/bin/arch              = `(/bin/arch) 2>/dev/null`
 
8954
+/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null`
 
8955
+/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null`
 
8956
+
 
8957
+UNAME_MACHINE = ${UNAME_MACHINE}
 
8958
+UNAME_RELEASE = ${UNAME_RELEASE}
 
8959
+UNAME_SYSTEM  = ${UNAME_SYSTEM}
 
8960
+UNAME_VERSION = ${UNAME_VERSION}
 
8961
+EOF
 
8962
+
 
8963
+exit 1
 
8964
+
 
8965
+# Local variables:
 
8966
+# eval: (add-hook 'write-file-hooks 'time-stamp)
 
8967
+# time-stamp-start: "timestamp='"
 
8968
+# time-stamp-format: "%:y-%02m-%02d"
 
8969
+# time-stamp-end: "'"
 
8970
+# End:
 
8971
diff -Nur plugins-main/config.h.in plugins-main.new/config.h.in
 
8972
--- plugins-main/config.h.in    1970-01-01 01:00:00.000000000 +0100
 
8973
+++ plugins-main.new/config.h.in        2007-06-08 18:39:01.000000000 +0200
 
8974
@@ -0,0 +1,77 @@
 
8975
+/* config.h.in.  Generated from configure.ac by autoheader.  */
 
8976
+
 
8977
+/* Define to 1 if you have the <dlfcn.h> header file. */
 
8978
+#undef HAVE_DLFCN_H
 
8979
+
 
8980
+/* Define to 1 if you have the <inttypes.h> header file. */
 
8981
+#undef HAVE_INTTYPES_H
 
8982
+
 
8983
+/* Define to 1 if you have the <memory.h> header file. */
 
8984
+#undef HAVE_MEMORY_H
 
8985
+
 
8986
+/* Define to 1 if you have the <stdint.h> header file. */
 
8987
+#undef HAVE_STDINT_H
 
8988
+
 
8989
+/* Define to 1 if you have the <stdlib.h> header file. */
 
8990
+#undef HAVE_STDLIB_H
 
8991
+
 
8992
+/* Define to 1 if you have the <strings.h> header file. */
 
8993
+#undef HAVE_STRINGS_H
 
8994
+
 
8995
+/* Define to 1 if you have the <string.h> header file. */
 
8996
+#undef HAVE_STRING_H
 
8997
+
 
8998
+/* Define to 1 if you have the <sys/stat.h> header file. */
 
8999
+#undef HAVE_SYS_STAT_H
 
9000
+
 
9001
+/* Define to 1 if you have the <sys/time.h> header file. */
 
9002
+#undef HAVE_SYS_TIME_H
 
9003
+
 
9004
+/* Define to 1 if you have the <sys/types.h> header file. */
 
9005
+#undef HAVE_SYS_TYPES_H
 
9006
+
 
9007
+/* Define to 1 if you have the <unistd.h> header file. */
 
9008
+#undef HAVE_UNISTD_H
 
9009
+
 
9010
+/* Name of package */
 
9011
+#undef PACKAGE
 
9012
+
 
9013
+/* Define to the address where bug reports for this package should be sent. */
 
9014
+#undef PACKAGE_BUGREPORT
 
9015
+
 
9016
+/* Define to the full name of this package. */
 
9017
+#undef PACKAGE_NAME
 
9018
+
 
9019
+/* Define to the full name and version of this package. */
 
9020
+#undef PACKAGE_STRING
 
9021
+
 
9022
+/* Define to the one symbol short name of this package. */
 
9023
+#undef PACKAGE_TARNAME
 
9024
+
 
9025
+/* Define to the version of this package. */
 
9026
+#undef PACKAGE_VERSION
 
9027
+
 
9028
+/* Define to 1 if you have the ANSI C header files. */
 
9029
+#undef STDC_HEADERS
 
9030
+
 
9031
+/* Build jpeg plugin */
 
9032
+#undef USE_JPEG
 
9033
+
 
9034
+/* Build resizeinfo plugin */
 
9035
+#undef USE_RESIZEINFO
 
9036
+
 
9037
+/* Build gconf schemas */
 
9038
+#undef USE_SCHEMAS
 
9039
+
 
9040
+/* Build text plugin */
 
9041
+#undef USE_TEXT
 
9042
+
 
9043
+/* Build wall plugin */
 
9044
+#undef USE_WALL
 
9045
+
 
9046
+/* Version number of package */
 
9047
+#undef VERSION
 
9048
+
 
9049
+/* Define to 1 if your processor stores words with the most significant byte
 
9050
+   first (like Motorola and SPARC, unlike Intel and VAX). */
 
9051
+#undef WORDS_BIGENDIAN
 
9052
diff -Nur plugins-main/config.sub plugins-main.new/config.sub
 
9053
--- plugins-main/config.sub     1970-01-01 01:00:00.000000000 +0100
 
9054
+++ plugins-main.new/config.sub 2007-06-08 18:39:01.000000000 +0200
 
9055
@@ -0,0 +1,1622 @@
 
9056
+#! /bin/sh
 
9057
+# Configuration validation subroutine script.
 
9058
+#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
 
9059
+#   2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
 
9060
+#   Inc.
 
9061
+
 
9062
+timestamp='2007-01-18'
 
9063
+
 
9064
+# This file is (in principle) common to ALL GNU software.
 
9065
+# The presence of a machine in this file suggests that SOME GNU software
 
9066
+# can handle that machine.  It does not imply ALL GNU software can.
 
9067
+#
 
9068
+# This file is free software; you can redistribute it and/or modify
 
9069
+# it under the terms of the GNU General Public License as published by
 
9070
+# the Free Software Foundation; either version 2 of the License, or
 
9071
+# (at your option) any later version.
 
9072
+#
 
9073
+# This program is distributed in the hope that it will be useful,
 
9074
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
9075
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
9076
+# GNU General Public License for more details.
 
9077
+#
 
9078
+# You should have received a copy of the GNU General Public License
 
9079
+# along with this program; if not, write to the Free Software
 
9080
+# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
 
9081
+# 02110-1301, USA.
 
9082
+#
 
9083
+# As a special exception to the GNU General Public License, if you
 
9084
+# distribute this file as part of a program that contains a
 
9085
+# configuration script generated by Autoconf, you may include it under
 
9086
+# the same distribution terms that you use for the rest of that program.
 
9087
+
 
9088
+
 
9089
+# Please send patches to <config-patches@gnu.org>.  Submit a context
 
9090
+# diff and a properly formatted ChangeLog entry.
 
9091
+#
 
9092
+# Configuration subroutine to validate and canonicalize a configuration type.
 
9093
+# Supply the specified configuration type as an argument.
 
9094
+# If it is invalid, we print an error message on stderr and exit with code 1.
 
9095
+# Otherwise, we print the canonical config type on stdout and succeed.
 
9096
+
 
9097
+# This file is supposed to be the same for all GNU packages
 
9098
+# and recognize all the CPU types, system types and aliases
 
9099
+# that are meaningful with *any* GNU software.
 
9100
+# Each package is responsible for reporting which valid configurations
 
9101
+# it does not support.  The user should be able to distinguish
 
9102
+# a failure to support a valid configuration from a meaningless
 
9103
+# configuration.
 
9104
+
 
9105
+# The goal of this file is to map all the various variations of a given
 
9106
+# machine specification into a single specification in the form:
 
9107
+#      CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
 
9108
+# or in some cases, the newer four-part form:
 
9109
+#      CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
 
9110
+# It is wrong to echo any other type of specification.
 
9111
+
 
9112
+me=`echo "$0" | sed -e 's,.*/,,'`
 
9113
+
 
9114
+usage="\
 
9115
+Usage: $0 [OPTION] CPU-MFR-OPSYS
 
9116
+       $0 [OPTION] ALIAS
 
9117
+
 
9118
+Canonicalize a configuration name.
 
9119
+
 
9120
+Operation modes:
 
9121
+  -h, --help         print this help, then exit
 
9122
+  -t, --time-stamp   print date of last modification, then exit
 
9123
+  -v, --version      print version number, then exit
 
9124
+
 
9125
+Report bugs and patches to <config-patches@gnu.org>."
 
9126
+
 
9127
+version="\
 
9128
+GNU config.sub ($timestamp)
 
9129
+
 
9130
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
 
9131
+Free Software Foundation, Inc.
 
9132
+
 
9133
+This is free software; see the source for copying conditions.  There is NO
 
9134
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
 
9135
+
 
9136
+help="
 
9137
+Try \`$me --help' for more information."
 
9138
+
 
9139
+# Parse command line
 
9140
+while test $# -gt 0 ; do
 
9141
+  case $1 in
 
9142
+    --time-stamp | --time* | -t )
 
9143
+       echo "$timestamp" ; exit ;;
 
9144
+    --version | -v )
 
9145
+       echo "$version" ; exit ;;
 
9146
+    --help | --h* | -h )
 
9147
+       echo "$usage"; exit ;;
 
9148
+    -- )     # Stop option processing
 
9149
+       shift; break ;;
 
9150
+    - )        # Use stdin as input.
 
9151
+       break ;;
 
9152
+    -* )
 
9153
+       echo "$me: invalid option $1$help"
 
9154
+       exit 1 ;;
 
9155
+
 
9156
+    *local*)
 
9157
+       # First pass through any local machine types.
 
9158
+       echo $1
 
9159
+       exit ;;
 
9160
+
 
9161
+    * )
 
9162
+       break ;;
 
9163
+  esac
 
9164
+done
 
9165
+
 
9166
+case $# in
 
9167
+ 0) echo "$me: missing argument$help" >&2
 
9168
+    exit 1;;
 
9169
+ 1) ;;
 
9170
+ *) echo "$me: too many arguments$help" >&2
 
9171
+    exit 1;;
 
9172
+esac
 
9173
+
 
9174
+# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
 
9175
+# Here we must recognize all the valid KERNEL-OS combinations.
 
9176
+maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
 
9177
+case $maybe_os in
 
9178
+  nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
 
9179
+  uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
 
9180
+  storm-chaos* | os2-emx* | rtmk-nova*)
 
9181
+    os=-$maybe_os
 
9182
+    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
 
9183
+    ;;
 
9184
+  *)
 
9185
+    basic_machine=`echo $1 | sed 's/-[^-]*$//'`
 
9186
+    if [ $basic_machine != $1 ]
 
9187
+    then os=`echo $1 | sed 's/.*-/-/'`
 
9188
+    else os=; fi
 
9189
+    ;;
 
9190
+esac
 
9191
+
 
9192
+### Let's recognize common machines as not being operating systems so
 
9193
+### that things like config.sub decstation-3100 work.  We also
 
9194
+### recognize some manufacturers as not being operating systems, so we
 
9195
+### can provide default operating systems below.
 
9196
+case $os in
 
9197
+       -sun*os*)
 
9198
+               # Prevent following clause from handling this invalid input.
 
9199
+               ;;
 
9200
+       -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \
 
9201
+       -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
 
9202
+       -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
 
9203
+       -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
 
9204
+       -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
 
9205
+       -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
 
9206
+       -apple | -axis | -knuth | -cray)
 
9207
+               os=
 
9208
+               basic_machine=$1
 
9209
+               ;;
 
9210
+       -sim | -cisco | -oki | -wec | -winbond)
 
9211
+               os=
 
9212
+               basic_machine=$1
 
9213
+               ;;
 
9214
+       -scout)
 
9215
+               ;;
 
9216
+       -wrs)
 
9217
+               os=-vxworks
 
9218
+               basic_machine=$1
 
9219
+               ;;
 
9220
+       -chorusos*)
 
9221
+               os=-chorusos
 
9222
+               basic_machine=$1
 
9223
+               ;;
 
9224
+       -chorusrdb)
 
9225
+               os=-chorusrdb
 
9226
+               basic_machine=$1
 
9227
+               ;;
 
9228
+       -hiux*)
 
9229
+               os=-hiuxwe2
 
9230
+               ;;
 
9231
+       -sco6)
 
9232
+               os=-sco5v6
 
9233
+               basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
 
9234
+               ;;
 
9235
+       -sco5)
 
9236
+               os=-sco3.2v5
 
9237
+               basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
 
9238
+               ;;
 
9239
+       -sco4)
 
9240
+               os=-sco3.2v4
 
9241
+               basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
 
9242
+               ;;
 
9243
+       -sco3.2.[4-9]*)
 
9244
+               os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
 
9245
+               basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
 
9246
+               ;;
 
9247
+       -sco3.2v[4-9]*)
 
9248
+               # Don't forget version if it is 3.2v4 or newer.
 
9249
+               basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
 
9250
+               ;;
 
9251
+       -sco5v6*)
 
9252
+               # Don't forget version if it is 3.2v4 or newer.
 
9253
+               basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
 
9254
+               ;;
 
9255
+       -sco*)
 
9256
+               os=-sco3.2v2
 
9257
+               basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
 
9258
+               ;;
 
9259
+       -udk*)
 
9260
+               basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
 
9261
+               ;;
 
9262
+       -isc)
 
9263
+               os=-isc2.2
 
9264
+               basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
 
9265
+               ;;
 
9266
+       -clix*)
 
9267
+               basic_machine=clipper-intergraph
 
9268
+               ;;
 
9269
+       -isc*)
 
9270
+               basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
 
9271
+               ;;
 
9272
+       -lynx*)
 
9273
+               os=-lynxos
 
9274
+               ;;
 
9275
+       -ptx*)
 
9276
+               basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'`
 
9277
+               ;;
 
9278
+       -windowsnt*)
 
9279
+               os=`echo $os | sed -e 's/windowsnt/winnt/'`
 
9280
+               ;;
 
9281
+       -psos*)
 
9282
+               os=-psos
 
9283
+               ;;
 
9284
+       -mint | -mint[0-9]*)
 
9285
+               basic_machine=m68k-atari
 
9286
+               os=-mint
 
9287
+               ;;
 
9288
+esac
 
9289
+
 
9290
+# Decode aliases for certain CPU-COMPANY combinations.
 
9291
+case $basic_machine in
 
9292
+       # Recognize the basic CPU types without company name.
 
9293
+       # Some are omitted here because they have special meanings below.
 
9294
+       1750a | 580 \
 
9295
+       | a29k \
 
9296
+       | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
 
9297
+       | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
 
9298
+       | am33_2.0 \
 
9299
+       | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
 
9300
+       | bfin \
 
9301
+       | c4x | clipper \
 
9302
+       | d10v | d30v | dlx | dsp16xx \
 
9303
+       | fido | fr30 | frv \
 
9304
+       | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
 
9305
+       | i370 | i860 | i960 | ia64 \
 
9306
+       | ip2k | iq2000 \
 
9307
+       | m32c | m32r | m32rle | m68000 | m68k | m88k \
 
9308
+       | maxq | mb | microblaze | mcore | mep \
 
9309
+       | mips | mipsbe | mipseb | mipsel | mipsle \
 
9310
+       | mips16 \
 
9311
+       | mips64 | mips64el \
 
9312
+       | mips64vr | mips64vrel \
 
9313
+       | mips64orion | mips64orionel \
 
9314
+       | mips64vr4100 | mips64vr4100el \
 
9315
+       | mips64vr4300 | mips64vr4300el \
 
9316
+       | mips64vr5000 | mips64vr5000el \
 
9317
+       | mips64vr5900 | mips64vr5900el \
 
9318
+       | mipsisa32 | mipsisa32el \
 
9319
+       | mipsisa32r2 | mipsisa32r2el \
 
9320
+       | mipsisa64 | mipsisa64el \
 
9321
+       | mipsisa64r2 | mipsisa64r2el \
 
9322
+       | mipsisa64sb1 | mipsisa64sb1el \
 
9323
+       | mipsisa64sr71k | mipsisa64sr71kel \
 
9324
+       | mipstx39 | mipstx39el \
 
9325
+       | mn10200 | mn10300 \
 
9326
+       | mt \
 
9327
+       | msp430 \
 
9328
+       | nios | nios2 \
 
9329
+       | ns16k | ns32k \
 
9330
+       | or32 \
 
9331
+       | pdp10 | pdp11 | pj | pjl \
 
9332
+       | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
 
9333
+       | pyramid \
 
9334
+       | score \
 
9335
+       | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
 
9336
+       | sh64 | sh64le \
 
9337
+       | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
 
9338
+       | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
 
9339
+       | spu | strongarm \
 
9340
+       | tahoe | thumb | tic4x | tic80 | tron \
 
9341
+       | v850 | v850e \
 
9342
+       | we32k \
 
9343
+       | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
 
9344
+       | z8k)
 
9345
+               basic_machine=$basic_machine-unknown
 
9346
+               ;;
 
9347
+       m6811 | m68hc11 | m6812 | m68hc12)
 
9348
+               # Motorola 68HC11/12.
 
9349
+               basic_machine=$basic_machine-unknown
 
9350
+               os=-none
 
9351
+               ;;
 
9352
+       m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
 
9353
+               ;;
 
9354
+       ms1)
 
9355
+               basic_machine=mt-unknown
 
9356
+               ;;
 
9357
+
 
9358
+       # We use `pc' rather than `unknown'
 
9359
+       # because (1) that's what they normally are, and
 
9360
+       # (2) the word "unknown" tends to confuse beginning users.
 
9361
+       i*86 | x86_64)
 
9362
+         basic_machine=$basic_machine-pc
 
9363
+         ;;
 
9364
+       # Object if more than one company name word.
 
9365
+       *-*-*)
 
9366
+               echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
 
9367
+               exit 1
 
9368
+               ;;
 
9369
+       # Recognize the basic CPU types with company name.
 
9370
+       580-* \
 
9371
+       | a29k-* \
 
9372
+       | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
 
9373
+       | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
 
9374
+       | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
 
9375
+       | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
 
9376
+       | avr-* | avr32-* \
 
9377
+       | bfin-* | bs2000-* \
 
9378
+       | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
 
9379
+       | clipper-* | craynv-* | cydra-* \
 
9380
+       | d10v-* | d30v-* | dlx-* \
 
9381
+       | elxsi-* \
 
9382
+       | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
 
9383
+       | h8300-* | h8500-* \
 
9384
+       | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
 
9385
+       | i*86-* | i860-* | i960-* | ia64-* \
 
9386
+       | ip2k-* | iq2000-* \
 
9387
+       | m32c-* | m32r-* | m32rle-* \
 
9388
+       | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
 
9389
+       | m88110-* | m88k-* | maxq-* | mcore-* \
 
9390
+       | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
 
9391
+       | mips16-* \
 
9392
+       | mips64-* | mips64el-* \
 
9393
+       | mips64vr-* | mips64vrel-* \
 
9394
+       | mips64orion-* | mips64orionel-* \
 
9395
+       | mips64vr4100-* | mips64vr4100el-* \
 
9396
+       | mips64vr4300-* | mips64vr4300el-* \
 
9397
+       | mips64vr5000-* | mips64vr5000el-* \
 
9398
+       | mips64vr5900-* | mips64vr5900el-* \
 
9399
+       | mipsisa32-* | mipsisa32el-* \
 
9400
+       | mipsisa32r2-* | mipsisa32r2el-* \
 
9401
+       | mipsisa64-* | mipsisa64el-* \
 
9402
+       | mipsisa64r2-* | mipsisa64r2el-* \
 
9403
+       | mipsisa64sb1-* | mipsisa64sb1el-* \
 
9404
+       | mipsisa64sr71k-* | mipsisa64sr71kel-* \
 
9405
+       | mipstx39-* | mipstx39el-* \
 
9406
+       | mmix-* \
 
9407
+       | mt-* \
 
9408
+       | msp430-* \
 
9409
+       | nios-* | nios2-* \
 
9410
+       | none-* | np1-* | ns16k-* | ns32k-* \
 
9411
+       | orion-* \
 
9412
+       | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
 
9413
+       | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
 
9414
+       | pyramid-* \
 
9415
+       | romp-* | rs6000-* \
 
9416
+       | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
 
9417
+       | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
 
9418
+       | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
 
9419
+       | sparclite-* \
 
9420
+       | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
 
9421
+       | tahoe-* | thumb-* \
 
9422
+       | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
 
9423
+       | tron-* \
 
9424
+       | v850-* | v850e-* | vax-* \
 
9425
+       | we32k-* \
 
9426
+       | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
 
9427
+       | xstormy16-* | xtensa-* \
 
9428
+       | ymp-* \
 
9429
+       | z8k-*)
 
9430
+               ;;
 
9431
+       # Recognize the various machine names and aliases which stand
 
9432
+       # for a CPU type and a company and sometimes even an OS.
 
9433
+       386bsd)
 
9434
+               basic_machine=i386-unknown
 
9435
+               os=-bsd
 
9436
+               ;;
 
9437
+       3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
 
9438
+               basic_machine=m68000-att
 
9439
+               ;;
 
9440
+       3b*)
 
9441
+               basic_machine=we32k-att
 
9442
+               ;;
 
9443
+       a29khif)
 
9444
+               basic_machine=a29k-amd
 
9445
+               os=-udi
 
9446
+               ;;
 
9447
+       abacus)
 
9448
+               basic_machine=abacus-unknown
 
9449
+               ;;
 
9450
+       adobe68k)
 
9451
+               basic_machine=m68010-adobe
 
9452
+               os=-scout
 
9453
+               ;;
 
9454
+       alliant | fx80)
 
9455
+               basic_machine=fx80-alliant
 
9456
+               ;;
 
9457
+       altos | altos3068)
 
9458
+               basic_machine=m68k-altos
 
9459
+               ;;
 
9460
+       am29k)
 
9461
+               basic_machine=a29k-none
 
9462
+               os=-bsd
 
9463
+               ;;
 
9464
+       amd64)
 
9465
+               basic_machine=x86_64-pc
 
9466
+               ;;
 
9467
+       amd64-*)
 
9468
+               basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
 
9469
+               ;;
 
9470
+       amdahl)
 
9471
+               basic_machine=580-amdahl
 
9472
+               os=-sysv
 
9473
+               ;;
 
9474
+       amiga | amiga-*)
 
9475
+               basic_machine=m68k-unknown
 
9476
+               ;;
 
9477
+       amigaos | amigados)
 
9478
+               basic_machine=m68k-unknown
 
9479
+               os=-amigaos
 
9480
+               ;;
 
9481
+       amigaunix | amix)
 
9482
+               basic_machine=m68k-unknown
 
9483
+               os=-sysv4
 
9484
+               ;;
 
9485
+       apollo68)
 
9486
+               basic_machine=m68k-apollo
 
9487
+               os=-sysv
 
9488
+               ;;
 
9489
+       apollo68bsd)
 
9490
+               basic_machine=m68k-apollo
 
9491
+               os=-bsd
 
9492
+               ;;
 
9493
+       aux)
 
9494
+               basic_machine=m68k-apple
 
9495
+               os=-aux
 
9496
+               ;;
 
9497
+       balance)
 
9498
+               basic_machine=ns32k-sequent
 
9499
+               os=-dynix
 
9500
+               ;;
 
9501
+       c90)
 
9502
+               basic_machine=c90-cray
 
9503
+               os=-unicos
 
9504
+               ;;
 
9505
+       convex-c1)
 
9506
+               basic_machine=c1-convex
 
9507
+               os=-bsd
 
9508
+               ;;
 
9509
+       convex-c2)
 
9510
+               basic_machine=c2-convex
 
9511
+               os=-bsd
 
9512
+               ;;
 
9513
+       convex-c32)
 
9514
+               basic_machine=c32-convex
 
9515
+               os=-bsd
 
9516
+               ;;
 
9517
+       convex-c34)
 
9518
+               basic_machine=c34-convex
 
9519
+               os=-bsd
 
9520
+               ;;
 
9521
+       convex-c38)
 
9522
+               basic_machine=c38-convex
 
9523
+               os=-bsd
 
9524
+               ;;
 
9525
+       cray | j90)
 
9526
+               basic_machine=j90-cray
 
9527
+               os=-unicos
 
9528
+               ;;
 
9529
+       craynv)
 
9530
+               basic_machine=craynv-cray
 
9531
+               os=-unicosmp
 
9532
+               ;;
 
9533
+       cr16c)
 
9534
+               basic_machine=cr16c-unknown
 
9535
+               os=-elf
 
9536
+               ;;
 
9537
+       crds | unos)
 
9538
+               basic_machine=m68k-crds
 
9539
+               ;;
 
9540
+       crisv32 | crisv32-* | etraxfs*)
 
9541
+               basic_machine=crisv32-axis
 
9542
+               ;;
 
9543
+       cris | cris-* | etrax*)
 
9544
+               basic_machine=cris-axis
 
9545
+               ;;
 
9546
+       crx)
 
9547
+               basic_machine=crx-unknown
 
9548
+               os=-elf
 
9549
+               ;;
 
9550
+       da30 | da30-*)
 
9551
+               basic_machine=m68k-da30
 
9552
+               ;;
 
9553
+       decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
 
9554
+               basic_machine=mips-dec
 
9555
+               ;;
 
9556
+       decsystem10* | dec10*)
 
9557
+               basic_machine=pdp10-dec
 
9558
+               os=-tops10
 
9559
+               ;;
 
9560
+       decsystem20* | dec20*)
 
9561
+               basic_machine=pdp10-dec
 
9562
+               os=-tops20
 
9563
+               ;;
 
9564
+       delta | 3300 | motorola-3300 | motorola-delta \
 
9565
+             | 3300-motorola | delta-motorola)
 
9566
+               basic_machine=m68k-motorola
 
9567
+               ;;
 
9568
+       delta88)
 
9569
+               basic_machine=m88k-motorola
 
9570
+               os=-sysv3
 
9571
+               ;;
 
9572
+       djgpp)
 
9573
+               basic_machine=i586-pc
 
9574
+               os=-msdosdjgpp
 
9575
+               ;;
 
9576
+       dpx20 | dpx20-*)
 
9577
+               basic_machine=rs6000-bull
 
9578
+               os=-bosx
 
9579
+               ;;
 
9580
+       dpx2* | dpx2*-bull)
 
9581
+               basic_machine=m68k-bull
 
9582
+               os=-sysv3
 
9583
+               ;;
 
9584
+       ebmon29k)
 
9585
+               basic_machine=a29k-amd
 
9586
+               os=-ebmon
 
9587
+               ;;
 
9588
+       elxsi)
 
9589
+               basic_machine=elxsi-elxsi
 
9590
+               os=-bsd
 
9591
+               ;;
 
9592
+       encore | umax | mmax)
 
9593
+               basic_machine=ns32k-encore
 
9594
+               ;;
 
9595
+       es1800 | OSE68k | ose68k | ose | OSE)
 
9596
+               basic_machine=m68k-ericsson
 
9597
+               os=-ose
 
9598
+               ;;
 
9599
+       fx2800)
 
9600
+               basic_machine=i860-alliant
 
9601
+               ;;
 
9602
+       genix)
 
9603
+               basic_machine=ns32k-ns
 
9604
+               ;;
 
9605
+       gmicro)
 
9606
+               basic_machine=tron-gmicro
 
9607
+               os=-sysv
 
9608
+               ;;
 
9609
+       go32)
 
9610
+               basic_machine=i386-pc
 
9611
+               os=-go32
 
9612
+               ;;
 
9613
+       h3050r* | hiux*)
 
9614
+               basic_machine=hppa1.1-hitachi
 
9615
+               os=-hiuxwe2
 
9616
+               ;;
 
9617
+       h8300hms)
 
9618
+               basic_machine=h8300-hitachi
 
9619
+               os=-hms
 
9620
+               ;;
 
9621
+       h8300xray)
 
9622
+               basic_machine=h8300-hitachi
 
9623
+               os=-xray
 
9624
+               ;;
 
9625
+       h8500hms)
 
9626
+               basic_machine=h8500-hitachi
 
9627
+               os=-hms
 
9628
+               ;;
 
9629
+       harris)
 
9630
+               basic_machine=m88k-harris
 
9631
+               os=-sysv3
 
9632
+               ;;
 
9633
+       hp300-*)
 
9634
+               basic_machine=m68k-hp
 
9635
+               ;;
 
9636
+       hp300bsd)
 
9637
+               basic_machine=m68k-hp
 
9638
+               os=-bsd
 
9639
+               ;;
 
9640
+       hp300hpux)
 
9641
+               basic_machine=m68k-hp
 
9642
+               os=-hpux
 
9643
+               ;;
 
9644
+       hp3k9[0-9][0-9] | hp9[0-9][0-9])
 
9645
+               basic_machine=hppa1.0-hp
 
9646
+               ;;
 
9647
+       hp9k2[0-9][0-9] | hp9k31[0-9])
 
9648
+               basic_machine=m68000-hp
 
9649
+               ;;
 
9650
+       hp9k3[2-9][0-9])
 
9651
+               basic_machine=m68k-hp
 
9652
+               ;;
 
9653
+       hp9k6[0-9][0-9] | hp6[0-9][0-9])
 
9654
+               basic_machine=hppa1.0-hp
 
9655
+               ;;
 
9656
+       hp9k7[0-79][0-9] | hp7[0-79][0-9])
 
9657
+               basic_machine=hppa1.1-hp
 
9658
+               ;;
 
9659
+       hp9k78[0-9] | hp78[0-9])
 
9660
+               # FIXME: really hppa2.0-hp
 
9661
+               basic_machine=hppa1.1-hp
 
9662
+               ;;
 
9663
+       hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893)
 
9664
+               # FIXME: really hppa2.0-hp
 
9665
+               basic_machine=hppa1.1-hp
 
9666
+               ;;
 
9667
+       hp9k8[0-9][13679] | hp8[0-9][13679])
 
9668
+               basic_machine=hppa1.1-hp
 
9669
+               ;;
 
9670
+       hp9k8[0-9][0-9] | hp8[0-9][0-9])
 
9671
+               basic_machine=hppa1.0-hp
 
9672
+               ;;
 
9673
+       hppa-next)
 
9674
+               os=-nextstep3
 
9675
+               ;;
 
9676
+       hppaosf)
 
9677
+               basic_machine=hppa1.1-hp
 
9678
+               os=-osf
 
9679
+               ;;
 
9680
+       hppro)
 
9681
+               basic_machine=hppa1.1-hp
 
9682
+               os=-proelf
 
9683
+               ;;
 
9684
+       i370-ibm* | ibm*)
 
9685
+               basic_machine=i370-ibm
 
9686
+               ;;
 
9687
+# I'm not sure what "Sysv32" means.  Should this be sysv3.2?
 
9688
+       i*86v32)
 
9689
+               basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
 
9690
+               os=-sysv32
 
9691
+               ;;
 
9692
+       i*86v4*)
 
9693
+               basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
 
9694
+               os=-sysv4
 
9695
+               ;;
 
9696
+       i*86v)
 
9697
+               basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
 
9698
+               os=-sysv
 
9699
+               ;;
 
9700
+       i*86sol2)
 
9701
+               basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
 
9702
+               os=-solaris2
 
9703
+               ;;
 
9704
+       i386mach)
 
9705
+               basic_machine=i386-mach
 
9706
+               os=-mach
 
9707
+               ;;
 
9708
+       i386-vsta | vsta)
 
9709
+               basic_machine=i386-unknown
 
9710
+               os=-vsta
 
9711
+               ;;
 
9712
+       iris | iris4d)
 
9713
+               basic_machine=mips-sgi
 
9714
+               case $os in
 
9715
+                   -irix*)
 
9716
+                       ;;
 
9717
+                   *)
 
9718
+                       os=-irix4
 
9719
+                       ;;
 
9720
+               esac
 
9721
+               ;;
 
9722
+       isi68 | isi)
 
9723
+               basic_machine=m68k-isi
 
9724
+               os=-sysv
 
9725
+               ;;
 
9726
+       m88k-omron*)
 
9727
+               basic_machine=m88k-omron
 
9728
+               ;;
 
9729
+       magnum | m3230)
 
9730
+               basic_machine=mips-mips
 
9731
+               os=-sysv
 
9732
+               ;;
 
9733
+       merlin)
 
9734
+               basic_machine=ns32k-utek
 
9735
+               os=-sysv
 
9736
+               ;;
 
9737
+       mingw32)
 
9738
+               basic_machine=i386-pc
 
9739
+               os=-mingw32
 
9740
+               ;;
 
9741
+       miniframe)
 
9742
+               basic_machine=m68000-convergent
 
9743
+               ;;
 
9744
+       *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*)
 
9745
+               basic_machine=m68k-atari
 
9746
+               os=-mint
 
9747
+               ;;
 
9748
+       mips3*-*)
 
9749
+               basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
 
9750
+               ;;
 
9751
+       mips3*)
 
9752
+               basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
 
9753
+               ;;
 
9754
+       monitor)
 
9755
+               basic_machine=m68k-rom68k
 
9756
+               os=-coff
 
9757
+               ;;
 
9758
+       morphos)
 
9759
+               basic_machine=powerpc-unknown
 
9760
+               os=-morphos
 
9761
+               ;;
 
9762
+       msdos)
 
9763
+               basic_machine=i386-pc
 
9764
+               os=-msdos
 
9765
+               ;;
 
9766
+       ms1-*)
 
9767
+               basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
 
9768
+               ;;
 
9769
+       mvs)
 
9770
+               basic_machine=i370-ibm
 
9771
+               os=-mvs
 
9772
+               ;;
 
9773
+       ncr3000)
 
9774
+               basic_machine=i486-ncr
 
9775
+               os=-sysv4
 
9776
+               ;;
 
9777
+       netbsd386)
 
9778
+               basic_machine=i386-unknown
 
9779
+               os=-netbsd
 
9780
+               ;;
 
9781
+       netwinder)
 
9782
+               basic_machine=armv4l-rebel
 
9783
+               os=-linux
 
9784
+               ;;
 
9785
+       news | news700 | news800 | news900)
 
9786
+               basic_machine=m68k-sony
 
9787
+               os=-newsos
 
9788
+               ;;
 
9789
+       news1000)
 
9790
+               basic_machine=m68030-sony
 
9791
+               os=-newsos
 
9792
+               ;;
 
9793
+       news-3600 | risc-news)
 
9794
+               basic_machine=mips-sony
 
9795
+               os=-newsos
 
9796
+               ;;
 
9797
+       necv70)
 
9798
+               basic_machine=v70-nec
 
9799
+               os=-sysv
 
9800
+               ;;
 
9801
+       next | m*-next )
 
9802
+               basic_machine=m68k-next
 
9803
+               case $os in
 
9804
+                   -nextstep* )
 
9805
+                       ;;
 
9806
+                   -ns2*)
 
9807
+                     os=-nextstep2
 
9808
+                       ;;
 
9809
+                   *)
 
9810
+                     os=-nextstep3
 
9811
+                       ;;
 
9812
+               esac
 
9813
+               ;;
 
9814
+       nh3000)
 
9815
+               basic_machine=m68k-harris
 
9816
+               os=-cxux
 
9817
+               ;;
 
9818
+       nh[45]000)
 
9819
+               basic_machine=m88k-harris
 
9820
+               os=-cxux
 
9821
+               ;;
 
9822
+       nindy960)
 
9823
+               basic_machine=i960-intel
 
9824
+               os=-nindy
 
9825
+               ;;
 
9826
+       mon960)
 
9827
+               basic_machine=i960-intel
 
9828
+               os=-mon960
 
9829
+               ;;
 
9830
+       nonstopux)
 
9831
+               basic_machine=mips-compaq
 
9832
+               os=-nonstopux
 
9833
+               ;;
 
9834
+       np1)
 
9835
+               basic_machine=np1-gould
 
9836
+               ;;
 
9837
+       nsr-tandem)
 
9838
+               basic_machine=nsr-tandem
 
9839
+               ;;
 
9840
+       op50n-* | op60c-*)
 
9841
+               basic_machine=hppa1.1-oki
 
9842
+               os=-proelf
 
9843
+               ;;
 
9844
+       openrisc | openrisc-*)
 
9845
+               basic_machine=or32-unknown
 
9846
+               ;;
 
9847
+       os400)
 
9848
+               basic_machine=powerpc-ibm
 
9849
+               os=-os400
 
9850
+               ;;
 
9851
+       OSE68000 | ose68000)
 
9852
+               basic_machine=m68000-ericsson
 
9853
+               os=-ose
 
9854
+               ;;
 
9855
+       os68k)
 
9856
+               basic_machine=m68k-none
 
9857
+               os=-os68k
 
9858
+               ;;
 
9859
+       pa-hitachi)
 
9860
+               basic_machine=hppa1.1-hitachi
 
9861
+               os=-hiuxwe2
 
9862
+               ;;
 
9863
+       paragon)
 
9864
+               basic_machine=i860-intel
 
9865
+               os=-osf
 
9866
+               ;;
 
9867
+       pbd)
 
9868
+               basic_machine=sparc-tti
 
9869
+               ;;
 
9870
+       pbb)
 
9871
+               basic_machine=m68k-tti
 
9872
+               ;;
 
9873
+       pc532 | pc532-*)
 
9874
+               basic_machine=ns32k-pc532
 
9875
+               ;;
 
9876
+       pc98)
 
9877
+               basic_machine=i386-pc
 
9878
+               ;;
 
9879
+       pc98-*)
 
9880
+               basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
 
9881
+               ;;
 
9882
+       pentium | p5 | k5 | k6 | nexgen | viac3)
 
9883
+               basic_machine=i586-pc
 
9884
+               ;;
 
9885
+       pentiumpro | p6 | 6x86 | athlon | athlon_*)
 
9886
+               basic_machine=i686-pc
 
9887
+               ;;
 
9888
+       pentiumii | pentium2 | pentiumiii | pentium3)
 
9889
+               basic_machine=i686-pc
 
9890
+               ;;
 
9891
+       pentium4)
 
9892
+               basic_machine=i786-pc
 
9893
+               ;;
 
9894
+       pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
 
9895
+               basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
 
9896
+               ;;
 
9897
+       pentiumpro-* | p6-* | 6x86-* | athlon-*)
 
9898
+               basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
 
9899
+               ;;
 
9900
+       pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
 
9901
+               basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
 
9902
+               ;;
 
9903
+       pentium4-*)
 
9904
+               basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
 
9905
+               ;;
 
9906
+       pn)
 
9907
+               basic_machine=pn-gould
 
9908
+               ;;
 
9909
+       power)  basic_machine=power-ibm
 
9910
+               ;;
 
9911
+       ppc)    basic_machine=powerpc-unknown
 
9912
+               ;;
 
9913
+       ppc-*)  basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
 
9914
+               ;;
 
9915
+       ppcle | powerpclittle | ppc-le | powerpc-little)
 
9916
+               basic_machine=powerpcle-unknown
 
9917
+               ;;
 
9918
+       ppcle-* | powerpclittle-*)
 
9919
+               basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
 
9920
+               ;;
 
9921
+       ppc64)  basic_machine=powerpc64-unknown
 
9922
+               ;;
 
9923
+       ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
 
9924
+               ;;
 
9925
+       ppc64le | powerpc64little | ppc64-le | powerpc64-little)
 
9926
+               basic_machine=powerpc64le-unknown
 
9927
+               ;;
 
9928
+       ppc64le-* | powerpc64little-*)
 
9929
+               basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
 
9930
+               ;;
 
9931
+       ps2)
 
9932
+               basic_machine=i386-ibm
 
9933
+               ;;
 
9934
+       pw32)
 
9935
+               basic_machine=i586-unknown
 
9936
+               os=-pw32
 
9937
+               ;;
 
9938
+       rdos)
 
9939
+               basic_machine=i386-pc
 
9940
+               os=-rdos
 
9941
+               ;;
 
9942
+       rom68k)
 
9943
+               basic_machine=m68k-rom68k
 
9944
+               os=-coff
 
9945
+               ;;
 
9946
+       rm[46]00)
 
9947
+               basic_machine=mips-siemens
 
9948
+               ;;
 
9949
+       rtpc | rtpc-*)
 
9950
+               basic_machine=romp-ibm
 
9951
+               ;;
 
9952
+       s390 | s390-*)
 
9953
+               basic_machine=s390-ibm
 
9954
+               ;;
 
9955
+       s390x | s390x-*)
 
9956
+               basic_machine=s390x-ibm
 
9957
+               ;;
 
9958
+       sa29200)
 
9959
+               basic_machine=a29k-amd
 
9960
+               os=-udi
 
9961
+               ;;
 
9962
+       sb1)
 
9963
+               basic_machine=mipsisa64sb1-unknown
 
9964
+               ;;
 
9965
+       sb1el)
 
9966
+               basic_machine=mipsisa64sb1el-unknown
 
9967
+               ;;
 
9968
+       sde)
 
9969
+               basic_machine=mipsisa32-sde
 
9970
+               os=-elf
 
9971
+               ;;
 
9972
+       sei)
 
9973
+               basic_machine=mips-sei
 
9974
+               os=-seiux
 
9975
+               ;;
 
9976
+       sequent)
 
9977
+               basic_machine=i386-sequent
 
9978
+               ;;
 
9979
+       sh)
 
9980
+               basic_machine=sh-hitachi
 
9981
+               os=-hms
 
9982
+               ;;
 
9983
+       sh5el)
 
9984
+               basic_machine=sh5le-unknown
 
9985
+               ;;
 
9986
+       sh64)
 
9987
+               basic_machine=sh64-unknown
 
9988
+               ;;
 
9989
+       sparclite-wrs | simso-wrs)
 
9990
+               basic_machine=sparclite-wrs
 
9991
+               os=-vxworks
 
9992
+               ;;
 
9993
+       sps7)
 
9994
+               basic_machine=m68k-bull
 
9995
+               os=-sysv2
 
9996
+               ;;
 
9997
+       spur)
 
9998
+               basic_machine=spur-unknown
 
9999
+               ;;
 
10000
+       st2000)
 
10001
+               basic_machine=m68k-tandem
 
10002
+               ;;
 
10003
+       stratus)
 
10004
+               basic_machine=i860-stratus
 
10005
+               os=-sysv4
 
10006
+               ;;
 
10007
+       sun2)
 
10008
+               basic_machine=m68000-sun
 
10009
+               ;;
 
10010
+       sun2os3)
 
10011
+               basic_machine=m68000-sun
 
10012
+               os=-sunos3
 
10013
+               ;;
 
10014
+       sun2os4)
 
10015
+               basic_machine=m68000-sun
 
10016
+               os=-sunos4
 
10017
+               ;;
 
10018
+       sun3os3)
 
10019
+               basic_machine=m68k-sun
 
10020
+               os=-sunos3
 
10021
+               ;;
 
10022
+       sun3os4)
 
10023
+               basic_machine=m68k-sun
 
10024
+               os=-sunos4
 
10025
+               ;;
 
10026
+       sun4os3)
 
10027
+               basic_machine=sparc-sun
 
10028
+               os=-sunos3
 
10029
+               ;;
 
10030
+       sun4os4)
 
10031
+               basic_machine=sparc-sun
 
10032
+               os=-sunos4
 
10033
+               ;;
 
10034
+       sun4sol2)
 
10035
+               basic_machine=sparc-sun
 
10036
+               os=-solaris2
 
10037
+               ;;
 
10038
+       sun3 | sun3-*)
 
10039
+               basic_machine=m68k-sun
 
10040
+               ;;
 
10041
+       sun4)
 
10042
+               basic_machine=sparc-sun
 
10043
+               ;;
 
10044
+       sun386 | sun386i | roadrunner)
 
10045
+               basic_machine=i386-sun
 
10046
+               ;;
 
10047
+       sv1)
 
10048
+               basic_machine=sv1-cray
 
10049
+               os=-unicos
 
10050
+               ;;
 
10051
+       symmetry)
 
10052
+               basic_machine=i386-sequent
 
10053
+               os=-dynix
 
10054
+               ;;
 
10055
+       t3e)
 
10056
+               basic_machine=alphaev5-cray
 
10057
+               os=-unicos
 
10058
+               ;;
 
10059
+       t90)
 
10060
+               basic_machine=t90-cray
 
10061
+               os=-unicos
 
10062
+               ;;
 
10063
+       tic54x | c54x*)
 
10064
+               basic_machine=tic54x-unknown
 
10065
+               os=-coff
 
10066
+               ;;
 
10067
+       tic55x | c55x*)
 
10068
+               basic_machine=tic55x-unknown
 
10069
+               os=-coff
 
10070
+               ;;
 
10071
+       tic6x | c6x*)
 
10072
+               basic_machine=tic6x-unknown
 
10073
+               os=-coff
 
10074
+               ;;
 
10075
+       tx39)
 
10076
+               basic_machine=mipstx39-unknown
 
10077
+               ;;
 
10078
+       tx39el)
 
10079
+               basic_machine=mipstx39el-unknown
 
10080
+               ;;
 
10081
+       toad1)
 
10082
+               basic_machine=pdp10-xkl
 
10083
+               os=-tops20
 
10084
+               ;;
 
10085
+       tower | tower-32)
 
10086
+               basic_machine=m68k-ncr
 
10087
+               ;;
 
10088
+       tpf)
 
10089
+               basic_machine=s390x-ibm
 
10090
+               os=-tpf
 
10091
+               ;;
 
10092
+       udi29k)
 
10093
+               basic_machine=a29k-amd
 
10094
+               os=-udi
 
10095
+               ;;
 
10096
+       ultra3)
 
10097
+               basic_machine=a29k-nyu
 
10098
+               os=-sym1
 
10099
+               ;;
 
10100
+       v810 | necv810)
 
10101
+               basic_machine=v810-nec
 
10102
+               os=-none
 
10103
+               ;;
 
10104
+       vaxv)
 
10105
+               basic_machine=vax-dec
 
10106
+               os=-sysv
 
10107
+               ;;
 
10108
+       vms)
 
10109
+               basic_machine=vax-dec
 
10110
+               os=-vms
 
10111
+               ;;
 
10112
+       vpp*|vx|vx-*)
 
10113
+               basic_machine=f301-fujitsu
 
10114
+               ;;
 
10115
+       vxworks960)
 
10116
+               basic_machine=i960-wrs
 
10117
+               os=-vxworks
 
10118
+               ;;
 
10119
+       vxworks68)
 
10120
+               basic_machine=m68k-wrs
 
10121
+               os=-vxworks
 
10122
+               ;;
 
10123
+       vxworks29k)
 
10124
+               basic_machine=a29k-wrs
 
10125
+               os=-vxworks
 
10126
+               ;;
 
10127
+       w65*)
 
10128
+               basic_machine=w65-wdc
 
10129
+               os=-none
 
10130
+               ;;
 
10131
+       w89k-*)
 
10132
+               basic_machine=hppa1.1-winbond
 
10133
+               os=-proelf
 
10134
+               ;;
 
10135
+       xbox)
 
10136
+               basic_machine=i686-pc
 
10137
+               os=-mingw32
 
10138
+               ;;
 
10139
+       xps | xps100)
 
10140
+               basic_machine=xps100-honeywell
 
10141
+               ;;
 
10142
+       ymp)
 
10143
+               basic_machine=ymp-cray
 
10144
+               os=-unicos
 
10145
+               ;;
 
10146
+       z8k-*-coff)
 
10147
+               basic_machine=z8k-unknown
 
10148
+               os=-sim
 
10149
+               ;;
 
10150
+       none)
 
10151
+               basic_machine=none-none
 
10152
+               os=-none
 
10153
+               ;;
 
10154
+
 
10155
+# Here we handle the default manufacturer of certain CPU types.  It is in
 
10156
+# some cases the only manufacturer, in others, it is the most popular.
 
10157
+       w89k)
 
10158
+               basic_machine=hppa1.1-winbond
 
10159
+               ;;
 
10160
+       op50n)
 
10161
+               basic_machine=hppa1.1-oki
 
10162
+               ;;
 
10163
+       op60c)
 
10164
+               basic_machine=hppa1.1-oki
 
10165
+               ;;
 
10166
+       romp)
 
10167
+               basic_machine=romp-ibm
 
10168
+               ;;
 
10169
+       mmix)
 
10170
+               basic_machine=mmix-knuth
 
10171
+               ;;
 
10172
+       rs6000)
 
10173
+               basic_machine=rs6000-ibm
 
10174
+               ;;
 
10175
+       vax)
 
10176
+               basic_machine=vax-dec
 
10177
+               ;;
 
10178
+       pdp10)
 
10179
+               # there are many clones, so DEC is not a safe bet
 
10180
+               basic_machine=pdp10-unknown
 
10181
+               ;;
 
10182
+       pdp11)
 
10183
+               basic_machine=pdp11-dec
 
10184
+               ;;
 
10185
+       we32k)
 
10186
+               basic_machine=we32k-att
 
10187
+               ;;
 
10188
+       sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
 
10189
+               basic_machine=sh-unknown
 
10190
+               ;;
 
10191
+       sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
 
10192
+               basic_machine=sparc-sun
 
10193
+               ;;
 
10194
+       cydra)
 
10195
+               basic_machine=cydra-cydrome
 
10196
+               ;;
 
10197
+       orion)
 
10198
+               basic_machine=orion-highlevel
 
10199
+               ;;
 
10200
+       orion105)
 
10201
+               basic_machine=clipper-highlevel
 
10202
+               ;;
 
10203
+       mac | mpw | mac-mpw)
 
10204
+               basic_machine=m68k-apple
 
10205
+               ;;
 
10206
+       pmac | pmac-mpw)
 
10207
+               basic_machine=powerpc-apple
 
10208
+               ;;
 
10209
+       *-unknown)
 
10210
+               # Make sure to match an already-canonicalized machine name.
 
10211
+               ;;
 
10212
+       *)
 
10213
+               echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
 
10214
+               exit 1
 
10215
+               ;;
 
10216
+esac
 
10217
+
 
10218
+# Here we canonicalize certain aliases for manufacturers.
 
10219
+case $basic_machine in
 
10220
+       *-digital*)
 
10221
+               basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'`
 
10222
+               ;;
 
10223
+       *-commodore*)
 
10224
+               basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'`
 
10225
+               ;;
 
10226
+       *)
 
10227
+               ;;
 
10228
+esac
 
10229
+
 
10230
+# Decode manufacturer-specific aliases for certain operating systems.
 
10231
+
 
10232
+if [ x"$os" != x"" ]
 
10233
+then
 
10234
+case $os in
 
10235
+        # First match some system type aliases
 
10236
+        # that might get confused with valid system types.
 
10237
+       # -solaris* is a basic system type, with this one exception.
 
10238
+       -solaris1 | -solaris1.*)
 
10239
+               os=`echo $os | sed -e 's|solaris1|sunos4|'`
 
10240
+               ;;
 
10241
+       -solaris)
 
10242
+               os=-solaris2
 
10243
+               ;;
 
10244
+       -svr4*)
 
10245
+               os=-sysv4
 
10246
+               ;;
 
10247
+       -unixware*)
 
10248
+               os=-sysv4.2uw
 
10249
+               ;;
 
10250
+       -gnu/linux*)
 
10251
+               os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
 
10252
+               ;;
 
10253
+       # First accept the basic system types.
 
10254
+       # The portable systems comes first.
 
10255
+       # Each alternative MUST END IN A *, to match a version number.
 
10256
+       # -sysv* is not here because it comes later, after sysvr4.
 
10257
+       -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
 
10258
+             | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
 
10259
+             | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
 
10260
+             | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
 
10261
+             | -aos* \
 
10262
+             | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
 
10263
+             | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
 
10264
+             | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
 
10265
+             | -openbsd* | -solidbsd* \
 
10266
+             | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
 
10267
+             | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
 
10268
+             | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
 
10269
+             | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
 
10270
+             | -chorusos* | -chorusrdb* \
 
10271
+             | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
 
10272
+             | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
 
10273
+             | -uxpv* | -beos* | -mpeix* | -udk* \
 
10274
+             | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
 
10275
+             | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
 
10276
+             | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
 
10277
+             | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
 
10278
+             | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
 
10279
+             | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
 
10280
+             | -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
 
10281
+       # Remember, each alternative MUST END IN *, to match a version number.
 
10282
+               ;;
 
10283
+       -qnx*)
 
10284
+               case $basic_machine in
 
10285
+                   x86-* | i*86-*)
 
10286
+                       ;;
 
10287
+                   *)
 
10288
+                       os=-nto$os
 
10289
+                       ;;
 
10290
+               esac
 
10291
+               ;;
 
10292
+       -nto-qnx*)
 
10293
+               ;;
 
10294
+       -nto*)
 
10295
+               os=`echo $os | sed -e 's|nto|nto-qnx|'`
 
10296
+               ;;
 
10297
+       -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
 
10298
+             | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
 
10299
+             | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
 
10300
+               ;;
 
10301
+       -mac*)
 
10302
+               os=`echo $os | sed -e 's|mac|macos|'`
 
10303
+               ;;
 
10304
+       -linux-dietlibc)
 
10305
+               os=-linux-dietlibc
 
10306
+               ;;
 
10307
+       -linux*)
 
10308
+               os=`echo $os | sed -e 's|linux|linux-gnu|'`
 
10309
+               ;;
 
10310
+       -sunos5*)
 
10311
+               os=`echo $os | sed -e 's|sunos5|solaris2|'`
 
10312
+               ;;
 
10313
+       -sunos6*)
 
10314
+               os=`echo $os | sed -e 's|sunos6|solaris3|'`
 
10315
+               ;;
 
10316
+       -opened*)
 
10317
+               os=-openedition
 
10318
+               ;;
 
10319
+        -os400*)
 
10320
+               os=-os400
 
10321
+               ;;
 
10322
+       -wince*)
 
10323
+               os=-wince
 
10324
+               ;;
 
10325
+       -osfrose*)
 
10326
+               os=-osfrose
 
10327
+               ;;
 
10328
+       -osf*)
 
10329
+               os=-osf
 
10330
+               ;;
 
10331
+       -utek*)
 
10332
+               os=-bsd
 
10333
+               ;;
 
10334
+       -dynix*)
 
10335
+               os=-bsd
 
10336
+               ;;
 
10337
+       -acis*)
 
10338
+               os=-aos
 
10339
+               ;;
 
10340
+       -atheos*)
 
10341
+               os=-atheos
 
10342
+               ;;
 
10343
+       -syllable*)
 
10344
+               os=-syllable
 
10345
+               ;;
 
10346
+       -386bsd)
 
10347
+               os=-bsd
 
10348
+               ;;
 
10349
+       -ctix* | -uts*)
 
10350
+               os=-sysv
 
10351
+               ;;
 
10352
+       -nova*)
 
10353
+               os=-rtmk-nova
 
10354
+               ;;
 
10355
+       -ns2 )
 
10356
+               os=-nextstep2
 
10357
+               ;;
 
10358
+       -nsk*)
 
10359
+               os=-nsk
 
10360
+               ;;
 
10361
+       # Preserve the version number of sinix5.
 
10362
+       -sinix5.*)
 
10363
+               os=`echo $os | sed -e 's|sinix|sysv|'`
 
10364
+               ;;
 
10365
+       -sinix*)
 
10366
+               os=-sysv4
 
10367
+               ;;
 
10368
+        -tpf*)
 
10369
+               os=-tpf
 
10370
+               ;;
 
10371
+       -triton*)
 
10372
+               os=-sysv3
 
10373
+               ;;
 
10374
+       -oss*)
 
10375
+               os=-sysv3
 
10376
+               ;;
 
10377
+       -svr4)
 
10378
+               os=-sysv4
 
10379
+               ;;
 
10380
+       -svr3)
 
10381
+               os=-sysv3
 
10382
+               ;;
 
10383
+       -sysvr4)
 
10384
+               os=-sysv4
 
10385
+               ;;
 
10386
+       # This must come after -sysvr4.
 
10387
+       -sysv*)
 
10388
+               ;;
 
10389
+       -ose*)
 
10390
+               os=-ose
 
10391
+               ;;
 
10392
+       -es1800*)
 
10393
+               os=-ose
 
10394
+               ;;
 
10395
+       -xenix)
 
10396
+               os=-xenix
 
10397
+               ;;
 
10398
+       -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
 
10399
+               os=-mint
 
10400
+               ;;
 
10401
+       -aros*)
 
10402
+               os=-aros
 
10403
+               ;;
 
10404
+       -kaos*)
 
10405
+               os=-kaos
 
10406
+               ;;
 
10407
+       -zvmoe)
 
10408
+               os=-zvmoe
 
10409
+               ;;
 
10410
+       -none)
 
10411
+               ;;
 
10412
+       *)
 
10413
+               # Get rid of the `-' at the beginning of $os.
 
10414
+               os=`echo $os | sed 's/[^-]*-//'`
 
10415
+               echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2
 
10416
+               exit 1
 
10417
+               ;;
 
10418
+esac
 
10419
+else
 
10420
+
 
10421
+# Here we handle the default operating systems that come with various machines.
 
10422
+# The value should be what the vendor currently ships out the door with their
 
10423
+# machine or put another way, the most popular os provided with the machine.
 
10424
+
 
10425
+# Note that if you're going to try to match "-MANUFACTURER" here (say,
 
10426
+# "-sun"), then you have to tell the case statement up towards the top
 
10427
+# that MANUFACTURER isn't an operating system.  Otherwise, code above
 
10428
+# will signal an error saying that MANUFACTURER isn't an operating
 
10429
+# system, and we'll never get to this point.
 
10430
+
 
10431
+case $basic_machine in
 
10432
+        score-*)
 
10433
+               os=-elf
 
10434
+               ;;
 
10435
+        spu-*)
 
10436
+               os=-elf
 
10437
+               ;;
 
10438
+       *-acorn)
 
10439
+               os=-riscix1.2
 
10440
+               ;;
 
10441
+       arm*-rebel)
 
10442
+               os=-linux
 
10443
+               ;;
 
10444
+       arm*-semi)
 
10445
+               os=-aout
 
10446
+               ;;
 
10447
+        c4x-* | tic4x-*)
 
10448
+               os=-coff
 
10449
+               ;;
 
10450
+       # This must come before the *-dec entry.
 
10451
+       pdp10-*)
 
10452
+               os=-tops20
 
10453
+               ;;
 
10454
+       pdp11-*)
 
10455
+               os=-none
 
10456
+               ;;
 
10457
+       *-dec | vax-*)
 
10458
+               os=-ultrix4.2
 
10459
+               ;;
 
10460
+       m68*-apollo)
 
10461
+               os=-domain
 
10462
+               ;;
 
10463
+       i386-sun)
 
10464
+               os=-sunos4.0.2
 
10465
+               ;;
 
10466
+       m68000-sun)
 
10467
+               os=-sunos3
 
10468
+               # This also exists in the configure program, but was not the
 
10469
+               # default.
 
10470
+               # os=-sunos4
 
10471
+               ;;
 
10472
+       m68*-cisco)
 
10473
+               os=-aout
 
10474
+               ;;
 
10475
+        mep-*)
 
10476
+               os=-elf
 
10477
+               ;;
 
10478
+       mips*-cisco)
 
10479
+               os=-elf
 
10480
+               ;;
 
10481
+       mips*-*)
 
10482
+               os=-elf
 
10483
+               ;;
 
10484
+       or32-*)
 
10485
+               os=-coff
 
10486
+               ;;
 
10487
+       *-tti)  # must be before sparc entry or we get the wrong os.
 
10488
+               os=-sysv3
 
10489
+               ;;
 
10490
+       sparc-* | *-sun)
 
10491
+               os=-sunos4.1.1
 
10492
+               ;;
 
10493
+       *-be)
 
10494
+               os=-beos
 
10495
+               ;;
 
10496
+       *-haiku)
 
10497
+               os=-haiku
 
10498
+               ;;
 
10499
+       *-ibm)
 
10500
+               os=-aix
 
10501
+               ;;
 
10502
+       *-knuth)
 
10503
+               os=-mmixware
 
10504
+               ;;
 
10505
+       *-wec)
 
10506
+               os=-proelf
 
10507
+               ;;
 
10508
+       *-winbond)
 
10509
+               os=-proelf
 
10510
+               ;;
 
10511
+       *-oki)
 
10512
+               os=-proelf
 
10513
+               ;;
 
10514
+       *-hp)
 
10515
+               os=-hpux
 
10516
+               ;;
 
10517
+       *-hitachi)
 
10518
+               os=-hiux
 
10519
+               ;;
 
10520
+       i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent)
 
10521
+               os=-sysv
 
10522
+               ;;
 
10523
+       *-cbm)
 
10524
+               os=-amigaos
 
10525
+               ;;
 
10526
+       *-dg)
 
10527
+               os=-dgux
 
10528
+               ;;
 
10529
+       *-dolphin)
 
10530
+               os=-sysv3
 
10531
+               ;;
 
10532
+       m68k-ccur)
 
10533
+               os=-rtu
 
10534
+               ;;
 
10535
+       m88k-omron*)
 
10536
+               os=-luna
 
10537
+               ;;
 
10538
+       *-next )
 
10539
+               os=-nextstep
 
10540
+               ;;
 
10541
+       *-sequent)
 
10542
+               os=-ptx
 
10543
+               ;;
 
10544
+       *-crds)
 
10545
+               os=-unos
 
10546
+               ;;
 
10547
+       *-ns)
 
10548
+               os=-genix
 
10549
+               ;;
 
10550
+       i370-*)
 
10551
+               os=-mvs
 
10552
+               ;;
 
10553
+       *-next)
 
10554
+               os=-nextstep3
 
10555
+               ;;
 
10556
+       *-gould)
 
10557
+               os=-sysv
 
10558
+               ;;
 
10559
+       *-highlevel)
 
10560
+               os=-bsd
 
10561
+               ;;
 
10562
+       *-encore)
 
10563
+               os=-bsd
 
10564
+               ;;
 
10565
+       *-sgi)
 
10566
+               os=-irix
 
10567
+               ;;
 
10568
+       *-siemens)
 
10569
+               os=-sysv4
 
10570
+               ;;
 
10571
+       *-masscomp)
 
10572
+               os=-rtu
 
10573
+               ;;
 
10574
+       f30[01]-fujitsu | f700-fujitsu)
 
10575
+               os=-uxpv
 
10576
+               ;;
 
10577
+       *-rom68k)
 
10578
+               os=-coff
 
10579
+               ;;
 
10580
+       *-*bug)
 
10581
+               os=-coff
 
10582
+               ;;
 
10583
+       *-apple)
 
10584
+               os=-macos
 
10585
+               ;;
 
10586
+       *-atari*)
 
10587
+               os=-mint
 
10588
+               ;;
 
10589
+       *)
 
10590
+               os=-none
 
10591
+               ;;
 
10592
+esac
 
10593
+fi
 
10594
+
 
10595
+# Here we handle the case where we know the os, and the CPU type, but not the
 
10596
+# manufacturer.  We pick the logical manufacturer.
 
10597
+vendor=unknown
 
10598
+case $basic_machine in
 
10599
+       *-unknown)
 
10600
+               case $os in
 
10601
+                       -riscix*)
 
10602
+                               vendor=acorn
 
10603
+                               ;;
 
10604
+                       -sunos*)
 
10605
+                               vendor=sun
 
10606
+                               ;;
 
10607
+                       -aix*)
 
10608
+                               vendor=ibm
 
10609
+                               ;;
 
10610
+                       -beos*)
 
10611
+                               vendor=be
 
10612
+                               ;;
 
10613
+                       -hpux*)
 
10614
+                               vendor=hp
 
10615
+                               ;;
 
10616
+                       -mpeix*)
 
10617
+                               vendor=hp
 
10618
+                               ;;
 
10619
+                       -hiux*)
 
10620
+                               vendor=hitachi
 
10621
+                               ;;
 
10622
+                       -unos*)
 
10623
+                               vendor=crds
 
10624
+                               ;;
 
10625
+                       -dgux*)
 
10626
+                               vendor=dg
 
10627
+                               ;;
 
10628
+                       -luna*)
 
10629
+                               vendor=omron
 
10630
+                               ;;
 
10631
+                       -genix*)
 
10632
+                               vendor=ns
 
10633
+                               ;;
 
10634
+                       -mvs* | -opened*)
 
10635
+                               vendor=ibm
 
10636
+                               ;;
 
10637
+                       -os400*)
 
10638
+                               vendor=ibm
 
10639
+                               ;;
 
10640
+                       -ptx*)
 
10641
+                               vendor=sequent
 
10642
+                               ;;
 
10643
+                       -tpf*)
 
10644
+                               vendor=ibm
 
10645
+                               ;;
 
10646
+                       -vxsim* | -vxworks* | -windiss*)
 
10647
+                               vendor=wrs
 
10648
+                               ;;
 
10649
+                       -aux*)
 
10650
+                               vendor=apple
 
10651
+                               ;;
 
10652
+                       -hms*)
 
10653
+                               vendor=hitachi
 
10654
+                               ;;
 
10655
+                       -mpw* | -macos*)
 
10656
+                               vendor=apple
 
10657
+                               ;;
 
10658
+                       -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
 
10659
+                               vendor=atari
 
10660
+                               ;;
 
10661
+                       -vos*)
 
10662
+                               vendor=stratus
 
10663
+                               ;;
 
10664
+               esac
 
10665
+               basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
 
10666
+               ;;
 
10667
+esac
 
10668
+
 
10669
+echo $basic_machine$os
 
10670
+exit
 
10671
+
 
10672
+# Local variables:
 
10673
+# eval: (add-hook 'write-file-hooks 'time-stamp)
 
10674
+# time-stamp-start: "timestamp='"
 
10675
+# time-stamp-format: "%:y-%02m-%02d"
 
10676
+# time-stamp-end: "'"
 
10677
+# End:
 
10678
diff -Nur plugins-main/configure plugins-main.new/configure
 
10679
--- plugins-main/configure      1970-01-01 01:00:00.000000000 +0100
 
10680
+++ plugins-main.new/configure  2007-06-08 18:39:01.000000000 +0200
 
10681
@@ -0,0 +1,23187 @@
 
10682
+#! /bin/sh
 
10683
+# Guess values for system-dependent variables and create Makefiles.
 
10684
+# Generated by GNU Autoconf 2.61 for compcomm-plugins-main 0.0.1.
 
10685
+#
 
10686
+# Report bugs to <maniac@opencompositing.org>.
 
10687
+#
 
10688
+# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
10689
+# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
10690
+# This configure script is free software; the Free Software Foundation
 
10691
+# gives unlimited permission to copy, distribute and modify it.
 
10692
+## --------------------- ##
 
10693
+## M4sh Initialization.  ##
 
10694
+## --------------------- ##
 
10695
+
 
10696
+# Be more Bourne compatible
 
10697
+DUALCASE=1; export DUALCASE # for MKS sh
 
10698
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
10699
+  emulate sh
 
10700
+  NULLCMD=:
 
10701
+  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
10702
+  # is contrary to our usage.  Disable this feature.
 
10703
+  alias -g '${1+"$@"}'='"$@"'
 
10704
+  setopt NO_GLOB_SUBST
 
10705
+else
 
10706
+  case `(set -o) 2>/dev/null` in
 
10707
+  *posix*) set -o posix ;;
 
10708
+esac
 
10709
+
 
10710
+fi
 
10711
+
 
10712
+
 
10713
+
 
10714
+
 
10715
+# PATH needs CR
 
10716
+# Avoid depending upon Character Ranges.
 
10717
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
10718
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
10719
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
10720
+as_cr_digits='0123456789'
 
10721
+as_cr_alnum=$as_cr_Letters$as_cr_digits
 
10722
+
 
10723
+# The user is always right.
 
10724
+if test "${PATH_SEPARATOR+set}" != set; then
 
10725
+  echo "#! /bin/sh" >conf$$.sh
 
10726
+  echo  "exit 0"   >>conf$$.sh
 
10727
+  chmod +x conf$$.sh
 
10728
+  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
10729
+    PATH_SEPARATOR=';'
 
10730
+  else
 
10731
+    PATH_SEPARATOR=:
 
10732
+  fi
 
10733
+  rm -f conf$$.sh
 
10734
+fi
 
10735
+
 
10736
+# Support unset when possible.
 
10737
+if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
10738
+  as_unset=unset
 
10739
+else
 
10740
+  as_unset=false
 
10741
+fi
 
10742
+
 
10743
+
 
10744
+# IFS
 
10745
+# We need space, tab and new line, in precisely that order.  Quoting is
 
10746
+# there to prevent editors from complaining about space-tab.
 
10747
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
10748
+# splitting by setting IFS to empty value.)
 
10749
+as_nl='
 
10750
+'
 
10751
+IFS=" ""       $as_nl"
 
10752
+
 
10753
+# Find who we are.  Look in the path if we contain no directory separator.
 
10754
+case $0 in
 
10755
+  *[\\/]* ) as_myself=$0 ;;
 
10756
+  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
10757
+for as_dir in $PATH
 
10758
+do
 
10759
+  IFS=$as_save_IFS
 
10760
+  test -z "$as_dir" && as_dir=.
 
10761
+  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
10762
+done
 
10763
+IFS=$as_save_IFS
 
10764
+
 
10765
+     ;;
 
10766
+esac
 
10767
+# We did not find ourselves, most probably we were run as `sh COMMAND'
 
10768
+# in which case we are not to be found in the path.
 
10769
+if test "x$as_myself" = x; then
 
10770
+  as_myself=$0
 
10771
+fi
 
10772
+if test ! -f "$as_myself"; then
 
10773
+  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
10774
+  { (exit 1); exit 1; }
 
10775
+fi
 
10776
+
 
10777
+# Work around bugs in pre-3.0 UWIN ksh.
 
10778
+for as_var in ENV MAIL MAILPATH
 
10779
+do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
10780
+done
 
10781
+PS1='$ '
 
10782
+PS2='> '
 
10783
+PS4='+ '
 
10784
+
 
10785
+# NLS nuisances.
 
10786
+for as_var in \
 
10787
+  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
 
10788
+  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
 
10789
+  LC_TELEPHONE LC_TIME
 
10790
+do
 
10791
+  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
 
10792
+    eval $as_var=C; export $as_var
 
10793
+  else
 
10794
+    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
10795
+  fi
 
10796
+done
 
10797
+
 
10798
+# Required to use basename.
 
10799
+if expr a : '\(a\)' >/dev/null 2>&1 &&
 
10800
+   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
10801
+  as_expr=expr
 
10802
+else
 
10803
+  as_expr=false
 
10804
+fi
 
10805
+
 
10806
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
10807
+  as_basename=basename
 
10808
+else
 
10809
+  as_basename=false
 
10810
+fi
 
10811
+
 
10812
+
 
10813
+# Name of the executable.
 
10814
+as_me=`$as_basename -- "$0" ||
 
10815
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
10816
+        X"$0" : 'X\(//\)$' \| \
 
10817
+        X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
10818
+echo X/"$0" |
 
10819
+    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
10820
+           s//\1/
 
10821
+           q
 
10822
+         }
 
10823
+         /^X\/\(\/\/\)$/{
 
10824
+           s//\1/
 
10825
+           q
 
10826
+         }
 
10827
+         /^X\/\(\/\).*/{
 
10828
+           s//\1/
 
10829
+           q
 
10830
+         }
 
10831
+         s/.*/./; q'`
 
10832
+
 
10833
+# CDPATH.
 
10834
+$as_unset CDPATH
 
10835
+
 
10836
+
 
10837
+if test "x$CONFIG_SHELL" = x; then
 
10838
+  if (eval ":") 2>/dev/null; then
 
10839
+  as_have_required=yes
 
10840
+else
 
10841
+  as_have_required=no
 
10842
+fi
 
10843
+
 
10844
+  if test $as_have_required = yes &&    (eval ":
 
10845
+(as_func_return () {
 
10846
+  (exit \$1)
 
10847
+}
 
10848
+as_func_success () {
 
10849
+  as_func_return 0
 
10850
+}
 
10851
+as_func_failure () {
 
10852
+  as_func_return 1
 
10853
+}
 
10854
+as_func_ret_success () {
 
10855
+  return 0
 
10856
+}
 
10857
+as_func_ret_failure () {
 
10858
+  return 1
 
10859
+}
 
10860
+
 
10861
+exitcode=0
 
10862
+if as_func_success; then
 
10863
+  :
 
10864
+else
 
10865
+  exitcode=1
 
10866
+  echo as_func_success failed.
 
10867
+fi
 
10868
+
 
10869
+if as_func_failure; then
 
10870
+  exitcode=1
 
10871
+  echo as_func_failure succeeded.
 
10872
+fi
 
10873
+
 
10874
+if as_func_ret_success; then
 
10875
+  :
 
10876
+else
 
10877
+  exitcode=1
 
10878
+  echo as_func_ret_success failed.
 
10879
+fi
 
10880
+
 
10881
+if as_func_ret_failure; then
 
10882
+  exitcode=1
 
10883
+  echo as_func_ret_failure succeeded.
 
10884
+fi
 
10885
+
 
10886
+if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
10887
+  :
 
10888
+else
 
10889
+  exitcode=1
 
10890
+  echo positional parameters were not saved.
 
10891
+fi
 
10892
+
 
10893
+test \$exitcode = 0) || { (exit 1); exit 1; }
 
10894
+
 
10895
+(
 
10896
+  as_lineno_1=\$LINENO
 
10897
+  as_lineno_2=\$LINENO
 
10898
+  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
 
10899
+  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
 
10900
+") 2> /dev/null; then
 
10901
+  :
 
10902
+else
 
10903
+  as_candidate_shells=
 
10904
+    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
10905
+for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
10906
+do
 
10907
+  IFS=$as_save_IFS
 
10908
+  test -z "$as_dir" && as_dir=.
 
10909
+  case $as_dir in
 
10910
+        /*)
 
10911
+          for as_base in sh bash ksh sh5; do
 
10912
+            as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
10913
+          done;;
 
10914
+       esac
 
10915
+done
 
10916
+IFS=$as_save_IFS
 
10917
+
 
10918
+
 
10919
+      for as_shell in $as_candidate_shells $SHELL; do
 
10920
+        # Try only shells that exist, to save several forks.
 
10921
+        if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
10922
+               { ("$as_shell") 2> /dev/null <<\_ASEOF
 
10923
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
10924
+  emulate sh
 
10925
+  NULLCMD=:
 
10926
+  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
10927
+  # is contrary to our usage.  Disable this feature.
 
10928
+  alias -g '${1+"$@"}'='"$@"'
 
10929
+  setopt NO_GLOB_SUBST
 
10930
+else
 
10931
+  case `(set -o) 2>/dev/null` in
 
10932
+  *posix*) set -o posix ;;
 
10933
+esac
 
10934
+
 
10935
+fi
 
10936
+
 
10937
+
 
10938
+:
 
10939
+_ASEOF
 
10940
+}; then
 
10941
+  CONFIG_SHELL=$as_shell
 
10942
+              as_have_required=yes
 
10943
+              if { "$as_shell" 2> /dev/null <<\_ASEOF
 
10944
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
10945
+  emulate sh
 
10946
+  NULLCMD=:
 
10947
+  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
10948
+  # is contrary to our usage.  Disable this feature.
 
10949
+  alias -g '${1+"$@"}'='"$@"'
 
10950
+  setopt NO_GLOB_SUBST
 
10951
+else
 
10952
+  case `(set -o) 2>/dev/null` in
 
10953
+  *posix*) set -o posix ;;
 
10954
+esac
 
10955
+
 
10956
+fi
 
10957
+
 
10958
+
 
10959
+:
 
10960
+(as_func_return () {
 
10961
+  (exit $1)
 
10962
+}
 
10963
+as_func_success () {
 
10964
+  as_func_return 0
 
10965
+}
 
10966
+as_func_failure () {
 
10967
+  as_func_return 1
 
10968
+}
 
10969
+as_func_ret_success () {
 
10970
+  return 0
 
10971
+}
 
10972
+as_func_ret_failure () {
 
10973
+  return 1
 
10974
+}
 
10975
+
 
10976
+exitcode=0
 
10977
+if as_func_success; then
 
10978
+  :
 
10979
+else
 
10980
+  exitcode=1
 
10981
+  echo as_func_success failed.
 
10982
+fi
 
10983
+
 
10984
+if as_func_failure; then
 
10985
+  exitcode=1
 
10986
+  echo as_func_failure succeeded.
 
10987
+fi
 
10988
+
 
10989
+if as_func_ret_success; then
 
10990
+  :
 
10991
+else
 
10992
+  exitcode=1
 
10993
+  echo as_func_ret_success failed.
 
10994
+fi
 
10995
+
 
10996
+if as_func_ret_failure; then
 
10997
+  exitcode=1
 
10998
+  echo as_func_ret_failure succeeded.
 
10999
+fi
 
11000
+
 
11001
+if ( set x; as_func_ret_success y && test x = "$1" ); then
 
11002
+  :
 
11003
+else
 
11004
+  exitcode=1
 
11005
+  echo positional parameters were not saved.
 
11006
+fi
 
11007
+
 
11008
+test $exitcode = 0) || { (exit 1); exit 1; }
 
11009
+
 
11010
+(
 
11011
+  as_lineno_1=$LINENO
 
11012
+  as_lineno_2=$LINENO
 
11013
+  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
11014
+  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
 
11015
+
 
11016
+_ASEOF
 
11017
+}; then
 
11018
+  break
 
11019
+fi
 
11020
+
 
11021
+fi
 
11022
+
 
11023
+      done
 
11024
+
 
11025
+      if test "x$CONFIG_SHELL" != x; then
 
11026
+  for as_var in BASH_ENV ENV
 
11027
+        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
11028
+        done
 
11029
+        export CONFIG_SHELL
 
11030
+        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
11031
+fi
 
11032
+
 
11033
+
 
11034
+    if test $as_have_required = no; then
 
11035
+  echo This script requires a shell more modern than all the
 
11036
+      echo shells that I found on your system.  Please install a
 
11037
+      echo modern shell, or manually run the script under such a
 
11038
+      echo shell if you do have one.
 
11039
+      { (exit 1); exit 1; }
 
11040
+fi
 
11041
+
 
11042
+
 
11043
+fi
 
11044
+
 
11045
+fi
 
11046
+
 
11047
+
 
11048
+
 
11049
+(eval "as_func_return () {
 
11050
+  (exit \$1)
 
11051
+}
 
11052
+as_func_success () {
 
11053
+  as_func_return 0
 
11054
+}
 
11055
+as_func_failure () {
 
11056
+  as_func_return 1
 
11057
+}
 
11058
+as_func_ret_success () {
 
11059
+  return 0
 
11060
+}
 
11061
+as_func_ret_failure () {
 
11062
+  return 1
 
11063
+}
 
11064
+
 
11065
+exitcode=0
 
11066
+if as_func_success; then
 
11067
+  :
 
11068
+else
 
11069
+  exitcode=1
 
11070
+  echo as_func_success failed.
 
11071
+fi
 
11072
+
 
11073
+if as_func_failure; then
 
11074
+  exitcode=1
 
11075
+  echo as_func_failure succeeded.
 
11076
+fi
 
11077
+
 
11078
+if as_func_ret_success; then
 
11079
+  :
 
11080
+else
 
11081
+  exitcode=1
 
11082
+  echo as_func_ret_success failed.
 
11083
+fi
 
11084
+
 
11085
+if as_func_ret_failure; then
 
11086
+  exitcode=1
 
11087
+  echo as_func_ret_failure succeeded.
 
11088
+fi
 
11089
+
 
11090
+if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
11091
+  :
 
11092
+else
 
11093
+  exitcode=1
 
11094
+  echo positional parameters were not saved.
 
11095
+fi
 
11096
+
 
11097
+test \$exitcode = 0") || {
 
11098
+  echo No shell found that supports shell functions.
 
11099
+  echo Please tell autoconf@gnu.org about your system,
 
11100
+  echo including any error possibly output before this
 
11101
+  echo message
 
11102
+}
 
11103
+
 
11104
+
 
11105
+
 
11106
+  as_lineno_1=$LINENO
 
11107
+  as_lineno_2=$LINENO
 
11108
+  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
11109
+  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
 
11110
+
 
11111
+  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
 
11112
+  # uniformly replaced by the line number.  The first 'sed' inserts a
 
11113
+  # line-number line after each line using $LINENO; the second 'sed'
 
11114
+  # does the real work.  The second script uses 'N' to pair each
 
11115
+  # line-number line with the line containing $LINENO, and appends
 
11116
+  # trailing '-' during substitution so that $LINENO is not a special
 
11117
+  # case at line end.
 
11118
+  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
 
11119
+  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
11120
+  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
11121
+  sed -n '
 
11122
+    p
 
11123
+    /[$]LINENO/=
 
11124
+  ' <$as_myself |
 
11125
+    sed '
 
11126
+      s/[$]LINENO.*/&-/
 
11127
+      t lineno
 
11128
+      b
 
11129
+      :lineno
 
11130
+      N
 
11131
+      :loop
 
11132
+      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
 
11133
+      t loop
 
11134
+      s/-\n.*//
 
11135
+    ' >$as_me.lineno &&
 
11136
+  chmod +x "$as_me.lineno" ||
 
11137
+    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 
11138
+   { (exit 1); exit 1; }; }
 
11139
+
 
11140
+  # Don't try to exec as it changes $[0], causing all sort of problems
 
11141
+  # (the dirname of $[0] is not the place where we might find the
 
11142
+  # original and so on.  Autoconf is especially sensitive to this).
 
11143
+  . "./$as_me.lineno"
 
11144
+  # Exit status is that of the last command.
 
11145
+  exit
 
11146
+}
 
11147
+
 
11148
+
 
11149
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
11150
+  as_dirname=dirname
 
11151
+else
 
11152
+  as_dirname=false
 
11153
+fi
 
11154
+
 
11155
+ECHO_C= ECHO_N= ECHO_T=
 
11156
+case `echo -n x` in
 
11157
+-n*)
 
11158
+  case `echo 'x\c'` in
 
11159
+  *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
 
11160
+  *)   ECHO_C='\c';;
 
11161
+  esac;;
 
11162
+*)
 
11163
+  ECHO_N='-n';;
 
11164
+esac
 
11165
+
 
11166
+if expr a : '\(a\)' >/dev/null 2>&1 &&
 
11167
+   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
11168
+  as_expr=expr
 
11169
+else
 
11170
+  as_expr=false
 
11171
+fi
 
11172
+
 
11173
+rm -f conf$$ conf$$.exe conf$$.file
 
11174
+if test -d conf$$.dir; then
 
11175
+  rm -f conf$$.dir/conf$$.file
 
11176
+else
 
11177
+  rm -f conf$$.dir
 
11178
+  mkdir conf$$.dir
 
11179
+fi
 
11180
+echo >conf$$.file
 
11181
+if ln -s conf$$.file conf$$ 2>/dev/null; then
 
11182
+  as_ln_s='ln -s'
 
11183
+  # ... but there are two gotchas:
 
11184
+  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
11185
+  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
11186
+  # In both cases, we have to default to `cp -p'.
 
11187
+  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
11188
+    as_ln_s='cp -p'
 
11189
+elif ln conf$$.file conf$$ 2>/dev/null; then
 
11190
+  as_ln_s=ln
 
11191
+else
 
11192
+  as_ln_s='cp -p'
 
11193
+fi
 
11194
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
11195
+rmdir conf$$.dir 2>/dev/null
 
11196
+
 
11197
+if mkdir -p . 2>/dev/null; then
 
11198
+  as_mkdir_p=:
 
11199
+else
 
11200
+  test -d ./-p && rmdir ./-p
 
11201
+  as_mkdir_p=false
 
11202
+fi
 
11203
+
 
11204
+if test -x / >/dev/null 2>&1; then
 
11205
+  as_test_x='test -x'
 
11206
+else
 
11207
+  if ls -dL / >/dev/null 2>&1; then
 
11208
+    as_ls_L_option=L
 
11209
+  else
 
11210
+    as_ls_L_option=
 
11211
+  fi
 
11212
+  as_test_x='
 
11213
+    eval sh -c '\''
 
11214
+      if test -d "$1"; then
 
11215
+        test -d "$1/.";
 
11216
+      else
 
11217
+       case $1 in
 
11218
+        -*)set "./$1";;
 
11219
+       esac;
 
11220
+       case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
11221
+       ???[sx]*):;;*)false;;esac;fi
 
11222
+    '\'' sh
 
11223
+  '
 
11224
+fi
 
11225
+as_executable_p=$as_test_x
 
11226
+
 
11227
+# Sed expression to map a string onto a valid CPP name.
 
11228
+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
11229
+
 
11230
+# Sed expression to map a string onto a valid variable name.
 
11231
+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
11232
+
 
11233
+
 
11234
+
 
11235
+
 
11236
+# Check that we are running under the correct shell.
 
11237
+SHELL=${CONFIG_SHELL-/bin/sh}
 
11238
+
 
11239
+case X$ECHO in
 
11240
+X*--fallback-echo)
 
11241
+  # Remove one level of quotation (which was required for Make).
 
11242
+  ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
 
11243
+  ;;
 
11244
+esac
 
11245
+
 
11246
+echo=${ECHO-echo}
 
11247
+if test "X$1" = X--no-reexec; then
 
11248
+  # Discard the --no-reexec flag, and continue.
 
11249
+  shift
 
11250
+elif test "X$1" = X--fallback-echo; then
 
11251
+  # Avoid inline document here, it may be left over
 
11252
+  :
 
11253
+elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
 
11254
+  # Yippee, $echo works!
 
11255
+  :
 
11256
+else
 
11257
+  # Restart under the correct shell.
 
11258
+  exec $SHELL "$0" --no-reexec ${1+"$@"}
 
11259
+fi
 
11260
+
 
11261
+if test "X$1" = X--fallback-echo; then
 
11262
+  # used as fallback echo
 
11263
+  shift
 
11264
+  cat <<EOF
 
11265
+$*
 
11266
+EOF
 
11267
+  exit 0
 
11268
+fi
 
11269
+
 
11270
+# The HP-UX ksh and POSIX shell print the target directory to stdout
 
11271
+# if CDPATH is set.
 
11272
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
11273
+
 
11274
+if test -z "$ECHO"; then
 
11275
+if test "X${echo_test_string+set}" != Xset; then
 
11276
+# find a string as large as possible, as long as the shell can cope with it
 
11277
+  for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
 
11278
+    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
 
11279
+    if (echo_test_string=`eval $cmd`) 2>/dev/null &&
 
11280
+       echo_test_string=`eval $cmd` &&
 
11281
+       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
 
11282
+    then
 
11283
+      break
 
11284
+    fi
 
11285
+  done
 
11286
+fi
 
11287
+
 
11288
+if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
 
11289
+   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
 
11290
+   test "X$echo_testing_string" = "X$echo_test_string"; then
 
11291
+  :
 
11292
+else
 
11293
+  # The Solaris, AIX, and Digital Unix default echo programs unquote
 
11294
+  # backslashes.  This makes it impossible to quote backslashes using
 
11295
+  #   echo "$something" | sed 's/\\/\\\\/g'
 
11296
+  #
 
11297
+  # So, first we look for a working echo in the user's PATH.
 
11298
+
 
11299
+  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
11300
+  for dir in $PATH /usr/ucb; do
 
11301
+    IFS="$lt_save_ifs"
 
11302
+    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
 
11303
+       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
 
11304
+       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
 
11305
+       test "X$echo_testing_string" = "X$echo_test_string"; then
 
11306
+      echo="$dir/echo"
 
11307
+      break
 
11308
+    fi
 
11309
+  done
 
11310
+  IFS="$lt_save_ifs"
 
11311
+
 
11312
+  if test "X$echo" = Xecho; then
 
11313
+    # We didn't find a better echo, so look for alternatives.
 
11314
+    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
 
11315
+       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
 
11316
+       test "X$echo_testing_string" = "X$echo_test_string"; then
 
11317
+      # This shell has a builtin print -r that does the trick.
 
11318
+      echo='print -r'
 
11319
+    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
 
11320
+        test "X$CONFIG_SHELL" != X/bin/ksh; then
 
11321
+      # If we have ksh, try running configure again with it.
 
11322
+      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
 
11323
+      export ORIGINAL_CONFIG_SHELL
 
11324
+      CONFIG_SHELL=/bin/ksh
 
11325
+      export CONFIG_SHELL
 
11326
+      exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
 
11327
+    else
 
11328
+      # Try using printf.
 
11329
+      echo='printf %s\n'
 
11330
+      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
 
11331
+        echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
 
11332
+        test "X$echo_testing_string" = "X$echo_test_string"; then
 
11333
+       # Cool, printf works
 
11334
+       :
 
11335
+      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
 
11336
+          test "X$echo_testing_string" = 'X\t' &&
 
11337
+          echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
11338
+          test "X$echo_testing_string" = "X$echo_test_string"; then
 
11339
+       CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
 
11340
+       export CONFIG_SHELL
 
11341
+       SHELL="$CONFIG_SHELL"
 
11342
+       export SHELL
 
11343
+       echo="$CONFIG_SHELL $0 --fallback-echo"
 
11344
+      elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
 
11345
+          test "X$echo_testing_string" = 'X\t' &&
 
11346
+          echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
11347
+          test "X$echo_testing_string" = "X$echo_test_string"; then
 
11348
+       echo="$CONFIG_SHELL $0 --fallback-echo"
 
11349
+      else
 
11350
+       # maybe with a smaller string...
 
11351
+       prev=:
 
11352
+
 
11353
+       for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
 
11354
+         if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
 
11355
+         then
 
11356
+           break
 
11357
+         fi
 
11358
+         prev="$cmd"
 
11359
+       done
 
11360
+
 
11361
+       if test "$prev" != 'sed 50q "$0"'; then
 
11362
+         echo_test_string=`eval $prev`
 
11363
+         export echo_test_string
 
11364
+         exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
 
11365
+       else
 
11366
+         # Oops.  We lost completely, so just stick with echo.
 
11367
+         echo=echo
 
11368
+       fi
 
11369
+      fi
 
11370
+    fi
 
11371
+  fi
 
11372
+fi
 
11373
+fi
 
11374
+
 
11375
+# Copy echo and quote the copy suitably for passing to libtool from
 
11376
+# the Makefile, instead of quoting the original, which is used later.
 
11377
+ECHO=$echo
 
11378
+if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
 
11379
+   ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
 
11380
+fi
 
11381
+
 
11382
+
 
11383
+
 
11384
+
 
11385
+tagnames=${tagnames+${tagnames},}CXX
 
11386
+
 
11387
+tagnames=${tagnames+${tagnames},}F77
 
11388
+
 
11389
+exec 7<&0 </dev/null 6>&1
 
11390
+
 
11391
+# Name of the host.
 
11392
+# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
 
11393
+# so uname gets run too.
 
11394
+ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
 
11395
+
 
11396
+#
 
11397
+# Initializations.
 
11398
+#
 
11399
+ac_default_prefix=/usr/local
 
11400
+ac_clean_files=
 
11401
+ac_config_libobj_dir=.
 
11402
+LIBOBJS=
 
11403
+cross_compiling=no
 
11404
+subdirs=
 
11405
+MFLAGS=
 
11406
+MAKEFLAGS=
 
11407
+SHELL=${CONFIG_SHELL-/bin/sh}
 
11408
+
 
11409
+# Identity of this package.
 
11410
+PACKAGE_NAME='compcomm-plugins-main'
 
11411
+PACKAGE_TARNAME='compcomm-plugins-main'
 
11412
+PACKAGE_VERSION='0.0.1'
 
11413
+PACKAGE_STRING='compcomm-plugins-main 0.0.1'
 
11414
+PACKAGE_BUGREPORT='maniac@opencompositing.org'
 
11415
+
 
11416
+# Factoring default headers for most tests.
 
11417
+ac_includes_default="\
 
11418
+#include <stdio.h>
 
11419
+#ifdef HAVE_SYS_TYPES_H
 
11420
+# include <sys/types.h>
 
11421
+#endif
 
11422
+#ifdef HAVE_SYS_STAT_H
 
11423
+# include <sys/stat.h>
 
11424
+#endif
 
11425
+#ifdef STDC_HEADERS
 
11426
+# include <stdlib.h>
 
11427
+# include <stddef.h>
 
11428
+#else
 
11429
+# ifdef HAVE_STDLIB_H
 
11430
+#  include <stdlib.h>
 
11431
+# endif
 
11432
+#endif
 
11433
+#ifdef HAVE_STRING_H
 
11434
+# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
 
11435
+#  include <memory.h>
 
11436
+# endif
 
11437
+# include <string.h>
 
11438
+#endif
 
11439
+#ifdef HAVE_STRINGS_H
 
11440
+# include <strings.h>
 
11441
+#endif
 
11442
+#ifdef HAVE_INTTYPES_H
 
11443
+# include <inttypes.h>
 
11444
+#endif
 
11445
+#ifdef HAVE_STDINT_H
 
11446
+# include <stdint.h>
 
11447
+#endif
 
11448
+#ifdef HAVE_UNISTD_H
 
11449
+# include <unistd.h>
 
11450
+#endif"
 
11451
+
 
11452
+ac_subst_vars='SHELL
 
11453
+PATH_SEPARATOR
 
11454
+PACKAGE_NAME
 
11455
+PACKAGE_TARNAME
 
11456
+PACKAGE_VERSION
 
11457
+PACKAGE_STRING
 
11458
+PACKAGE_BUGREPORT
 
11459
+exec_prefix
 
11460
+prefix
 
11461
+program_transform_name
 
11462
+bindir
 
11463
+sbindir
 
11464
+libexecdir
 
11465
+datarootdir
 
11466
+datadir
 
11467
+sysconfdir
 
11468
+sharedstatedir
 
11469
+localstatedir
 
11470
+includedir
 
11471
+oldincludedir
 
11472
+docdir
 
11473
+infodir
 
11474
+htmldir
 
11475
+dvidir
 
11476
+pdfdir
 
11477
+psdir
 
11478
+libdir
 
11479
+localedir
 
11480
+mandir
 
11481
+DEFS
 
11482
+ECHO_C
 
11483
+ECHO_N
 
11484
+ECHO_T
 
11485
+LIBS
 
11486
+build_alias
 
11487
+host_alias
 
11488
+target_alias
 
11489
+INSTALL_PROGRAM
 
11490
+INSTALL_SCRIPT
 
11491
+INSTALL_DATA
 
11492
+CYGPATH_W
 
11493
+PACKAGE
 
11494
+VERSION
 
11495
+ACLOCAL
 
11496
+AUTOCONF
 
11497
+AUTOMAKE
 
11498
+AUTOHEADER
 
11499
+MAKEINFO
 
11500
+install_sh
 
11501
+STRIP
 
11502
+INSTALL_STRIP_PROGRAM
 
11503
+mkdir_p
 
11504
+AWK
 
11505
+SET_MAKE
 
11506
+am__leading_dot
 
11507
+AMTAR
 
11508
+am__tar
 
11509
+am__untar
 
11510
+MAINTAINER_MODE_TRUE
 
11511
+MAINTAINER_MODE_FALSE
 
11512
+MAINT
 
11513
+CC
 
11514
+CFLAGS
 
11515
+LDFLAGS
 
11516
+CPPFLAGS
 
11517
+ac_ct_CC
 
11518
+EXEEXT
 
11519
+OBJEXT
 
11520
+DEPDIR
 
11521
+am__include
 
11522
+am__quote
 
11523
+AMDEP_TRUE
 
11524
+AMDEP_FALSE
 
11525
+AMDEPBACKSLASH
 
11526
+CCDEPMODE
 
11527
+am__fastdepCC_TRUE
 
11528
+am__fastdepCC_FALSE
 
11529
+CPP
 
11530
+build
 
11531
+build_cpu
 
11532
+build_vendor
 
11533
+build_os
 
11534
+host
 
11535
+host_cpu
 
11536
+host_vendor
 
11537
+host_os
 
11538
+GREP
 
11539
+EGREP
 
11540
+LN_S
 
11541
+ECHO
 
11542
+AR
 
11543
+RANLIB
 
11544
+CXX
 
11545
+CXXFLAGS
 
11546
+ac_ct_CXX
 
11547
+CXXDEPMODE
 
11548
+am__fastdepCXX_TRUE
 
11549
+am__fastdepCXX_FALSE
 
11550
+CXXCPP
 
11551
+F77
 
11552
+FFLAGS
 
11553
+ac_ct_F77
 
11554
+LIBTOOL
 
11555
+plugindir
 
11556
+imagedir
 
11557
+metadatadir
 
11558
+PKG_CONFIG_PATH
 
11559
+PKG_CONFIG
 
11560
+COMPIZ_CFLAGS
 
11561
+COMPIZ_LIBS
 
11562
+BCOP_CFLAGS
 
11563
+BCOP_LIBS
 
11564
+BCOP_BIN
 
11565
+GL_CFLAGS
 
11566
+GL_LIBS
 
11567
+TEXT_CFLAGS
 
11568
+TEXT_LIBS
 
11569
+TEXT_PLUGIN_TRUE
 
11570
+TEXT_PLUGIN_FALSE
 
11571
+RESIZEINFO_CFLAGS
 
11572
+RESIZEINFO_LIBS
 
11573
+RESIZEINFO_PLUGIN_TRUE
 
11574
+RESIZEINFO_PLUGIN_FALSE
 
11575
+WALL_CFLAGS
 
11576
+WALL_LIBS
 
11577
+WALL_PLUGIN_TRUE
 
11578
+WALL_PLUGIN_FALSE
 
11579
+JPEG_PLUGIN_TRUE
 
11580
+JPEG_PLUGIN_FALSE
 
11581
+GCONFTOOL
 
11582
+SCHEMAS_CFLAGS
 
11583
+SCHEMAS_LIBS
 
11584
+xsltdir
 
11585
+GCONF_SCHEMA_CONFIG_SOURCE
 
11586
+GCONF_SCHEMA_FILE_DIR
 
11587
+GCONF_SCHEMAS_INSTALL_TRUE
 
11588
+GCONF_SCHEMAS_INSTALL_FALSE
 
11589
+USE_SCHEMAS_TRUE
 
11590
+USE_SCHEMAS_FALSE
 
11591
+LIBOBJS
 
11592
+LTLIBOBJS'
 
11593
+ac_subst_files=''
 
11594
+      ac_precious_vars='build_alias
 
11595
+host_alias
 
11596
+target_alias
 
11597
+CC
 
11598
+CFLAGS
 
11599
+LDFLAGS
 
11600
+LIBS
 
11601
+CPPFLAGS
 
11602
+CPP
 
11603
+CXX
 
11604
+CXXFLAGS
 
11605
+CCC
 
11606
+CXXCPP
 
11607
+F77
 
11608
+FFLAGS
 
11609
+PKG_CONFIG
 
11610
+COMPIZ_CFLAGS
 
11611
+COMPIZ_LIBS
 
11612
+BCOP_CFLAGS
 
11613
+BCOP_LIBS
 
11614
+TEXT_CFLAGS
 
11615
+TEXT_LIBS
 
11616
+RESIZEINFO_CFLAGS
 
11617
+RESIZEINFO_LIBS
 
11618
+WALL_CFLAGS
 
11619
+WALL_LIBS
 
11620
+SCHEMAS_CFLAGS
 
11621
+SCHEMAS_LIBS'
 
11622
+
 
11623
+
 
11624
+# Initialize some variables set by options.
 
11625
+ac_init_help=
 
11626
+ac_init_version=false
 
11627
+# The variables have the same names as the options, with
 
11628
+# dashes changed to underlines.
 
11629
+cache_file=/dev/null
 
11630
+exec_prefix=NONE
 
11631
+no_create=
 
11632
+no_recursion=
 
11633
+prefix=NONE
 
11634
+program_prefix=NONE
 
11635
+program_suffix=NONE
 
11636
+program_transform_name=s,x,x,
 
11637
+silent=
 
11638
+site=
 
11639
+srcdir=
 
11640
+verbose=
 
11641
+x_includes=NONE
 
11642
+x_libraries=NONE
 
11643
+
 
11644
+# Installation directory options.
 
11645
+# These are left unexpanded so users can "make install exec_prefix=/foo"
 
11646
+# and all the variables that are supposed to be based on exec_prefix
 
11647
+# by default will actually change.
 
11648
+# Use braces instead of parens because sh, perl, etc. also accept them.
 
11649
+# (The list follows the same order as the GNU Coding Standards.)
 
11650
+bindir='${exec_prefix}/bin'
 
11651
+sbindir='${exec_prefix}/sbin'
 
11652
+libexecdir='${exec_prefix}/libexec'
 
11653
+datarootdir='${prefix}/share'
 
11654
+datadir='${datarootdir}'
 
11655
+sysconfdir='${prefix}/etc'
 
11656
+sharedstatedir='${prefix}/com'
 
11657
+localstatedir='${prefix}/var'
 
11658
+includedir='${prefix}/include'
 
11659
+oldincludedir='/usr/include'
 
11660
+docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
 
11661
+infodir='${datarootdir}/info'
 
11662
+htmldir='${docdir}'
 
11663
+dvidir='${docdir}'
 
11664
+pdfdir='${docdir}'
 
11665
+psdir='${docdir}'
 
11666
+libdir='${exec_prefix}/lib'
 
11667
+localedir='${datarootdir}/locale'
 
11668
+mandir='${datarootdir}/man'
 
11669
+
 
11670
+ac_prev=
 
11671
+ac_dashdash=
 
11672
+for ac_option
 
11673
+do
 
11674
+  # If the previous option needs an argument, assign it.
 
11675
+  if test -n "$ac_prev"; then
 
11676
+    eval $ac_prev=\$ac_option
 
11677
+    ac_prev=
 
11678
+    continue
 
11679
+  fi
 
11680
+
 
11681
+  case $ac_option in
 
11682
+  *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
11683
+  *)   ac_optarg=yes ;;
 
11684
+  esac
 
11685
+
 
11686
+  # Accept the important Cygnus configure options, so we can diagnose typos.
 
11687
+
 
11688
+  case $ac_dashdash$ac_option in
 
11689
+  --)
 
11690
+    ac_dashdash=yes ;;
 
11691
+
 
11692
+  -bindir | --bindir | --bindi | --bind | --bin | --bi)
 
11693
+    ac_prev=bindir ;;
 
11694
+  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
 
11695
+    bindir=$ac_optarg ;;
 
11696
+
 
11697
+  -build | --build | --buil | --bui | --bu)
 
11698
+    ac_prev=build_alias ;;
 
11699
+  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
 
11700
+    build_alias=$ac_optarg ;;
 
11701
+
 
11702
+  -cache-file | --cache-file | --cache-fil | --cache-fi \
 
11703
+  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
 
11704
+    ac_prev=cache_file ;;
 
11705
+  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
 
11706
+  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
 
11707
+    cache_file=$ac_optarg ;;
 
11708
+
 
11709
+  --config-cache | -C)
 
11710
+    cache_file=config.cache ;;
 
11711
+
 
11712
+  -datadir | --datadir | --datadi | --datad)
 
11713
+    ac_prev=datadir ;;
 
11714
+  -datadir=* | --datadir=* | --datadi=* | --datad=*)
 
11715
+    datadir=$ac_optarg ;;
 
11716
+
 
11717
+  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
11718
+  | --dataroo | --dataro | --datar)
 
11719
+    ac_prev=datarootdir ;;
 
11720
+  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
11721
+  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
11722
+    datarootdir=$ac_optarg ;;
 
11723
+
 
11724
+  -disable-* | --disable-*)
 
11725
+    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
11726
+    # Reject names that are not valid shell variable names.
 
11727
+    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
11728
+      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
11729
+   { (exit 1); exit 1; }; }
 
11730
+    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
 
11731
+    eval enable_$ac_feature=no ;;
 
11732
+
 
11733
+  -docdir | --docdir | --docdi | --doc | --do)
 
11734
+    ac_prev=docdir ;;
 
11735
+  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
11736
+    docdir=$ac_optarg ;;
 
11737
+
 
11738
+  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
11739
+    ac_prev=dvidir ;;
 
11740
+  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
11741
+    dvidir=$ac_optarg ;;
 
11742
+
 
11743
+  -enable-* | --enable-*)
 
11744
+    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
11745
+    # Reject names that are not valid shell variable names.
 
11746
+    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
11747
+      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
11748
+   { (exit 1); exit 1; }; }
 
11749
+    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
 
11750
+    eval enable_$ac_feature=\$ac_optarg ;;
 
11751
+
 
11752
+  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
 
11753
+  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
 
11754
+  | --exec | --exe | --ex)
 
11755
+    ac_prev=exec_prefix ;;
 
11756
+  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
 
11757
+  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
 
11758
+  | --exec=* | --exe=* | --ex=*)
 
11759
+    exec_prefix=$ac_optarg ;;
 
11760
+
 
11761
+  -gas | --gas | --ga | --g)
 
11762
+    # Obsolete; use --with-gas.
 
11763
+    with_gas=yes ;;
 
11764
+
 
11765
+  -help | --help | --hel | --he | -h)
 
11766
+    ac_init_help=long ;;
 
11767
+  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
 
11768
+    ac_init_help=recursive ;;
 
11769
+  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
 
11770
+    ac_init_help=short ;;
 
11771
+
 
11772
+  -host | --host | --hos | --ho)
 
11773
+    ac_prev=host_alias ;;
 
11774
+  -host=* | --host=* | --hos=* | --ho=*)
 
11775
+    host_alias=$ac_optarg ;;
 
11776
+
 
11777
+  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
11778
+    ac_prev=htmldir ;;
 
11779
+  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
11780
+  | --ht=*)
 
11781
+    htmldir=$ac_optarg ;;
 
11782
+
 
11783
+  -includedir | --includedir | --includedi | --included | --include \
 
11784
+  | --includ | --inclu | --incl | --inc)
 
11785
+    ac_prev=includedir ;;
 
11786
+  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
 
11787
+  | --includ=* | --inclu=* | --incl=* | --inc=*)
 
11788
+    includedir=$ac_optarg ;;
 
11789
+
 
11790
+  -infodir | --infodir | --infodi | --infod | --info | --inf)
 
11791
+    ac_prev=infodir ;;
 
11792
+  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
 
11793
+    infodir=$ac_optarg ;;
 
11794
+
 
11795
+  -libdir | --libdir | --libdi | --libd)
 
11796
+    ac_prev=libdir ;;
 
11797
+  -libdir=* | --libdir=* | --libdi=* | --libd=*)
 
11798
+    libdir=$ac_optarg ;;
 
11799
+
 
11800
+  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 
11801
+  | --libexe | --libex | --libe)
 
11802
+    ac_prev=libexecdir ;;
 
11803
+  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 
11804
+  | --libexe=* | --libex=* | --libe=*)
 
11805
+    libexecdir=$ac_optarg ;;
 
11806
+
 
11807
+  -localedir | --localedir | --localedi | --localed | --locale)
 
11808
+    ac_prev=localedir ;;
 
11809
+  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
11810
+    localedir=$ac_optarg ;;
 
11811
+
 
11812
+  -localstatedir | --localstatedir | --localstatedi | --localstated \
 
11813
+  | --localstate | --localstat | --localsta | --localst | --locals)
 
11814
+    ac_prev=localstatedir ;;
 
11815
+  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 
11816
+  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
 
11817
+    localstatedir=$ac_optarg ;;
 
11818
+
 
11819
+  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 
11820
+    ac_prev=mandir ;;
 
11821
+  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 
11822
+    mandir=$ac_optarg ;;
 
11823
+
 
11824
+  -nfp | --nfp | --nf)
 
11825
+    # Obsolete; use --without-fp.
 
11826
+    with_fp=no ;;
 
11827
+
 
11828
+  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 
11829
+  | --no-cr | --no-c | -n)
 
11830
+    no_create=yes ;;
 
11831
+
 
11832
+  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 
11833
+  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 
11834
+    no_recursion=yes ;;
 
11835
+
 
11836
+  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 
11837
+  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 
11838
+  | --oldin | --oldi | --old | --ol | --o)
 
11839
+    ac_prev=oldincludedir ;;
 
11840
+  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 
11841
+  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 
11842
+  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 
11843
+    oldincludedir=$ac_optarg ;;
 
11844
+
 
11845
+  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 
11846
+    ac_prev=prefix ;;
 
11847
+  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 
11848
+    prefix=$ac_optarg ;;
 
11849
+
 
11850
+  -program-prefix | --program-prefix | --program-prefi | --program-pref \
 
11851
+  | --program-pre | --program-pr | --program-p)
 
11852
+    ac_prev=program_prefix ;;
 
11853
+  -program-prefix=* | --program-prefix=* | --program-prefi=* \
 
11854
+  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 
11855
+    program_prefix=$ac_optarg ;;
 
11856
+
 
11857
+  -program-suffix | --program-suffix | --program-suffi | --program-suff \
 
11858
+  | --program-suf | --program-su | --program-s)
 
11859
+    ac_prev=program_suffix ;;
 
11860
+  -program-suffix=* | --program-suffix=* | --program-suffi=* \
 
11861
+  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 
11862
+    program_suffix=$ac_optarg ;;
 
11863
+
 
11864
+  -program-transform-name | --program-transform-name \
 
11865
+  | --program-transform-nam | --program-transform-na \
 
11866
+  | --program-transform-n | --program-transform- \
 
11867
+  | --program-transform | --program-transfor \
 
11868
+  | --program-transfo | --program-transf \
 
11869
+  | --program-trans | --program-tran \
 
11870
+  | --progr-tra | --program-tr | --program-t)
 
11871
+    ac_prev=program_transform_name ;;
 
11872
+  -program-transform-name=* | --program-transform-name=* \
 
11873
+  | --program-transform-nam=* | --program-transform-na=* \
 
11874
+  | --program-transform-n=* | --program-transform-=* \
 
11875
+  | --program-transform=* | --program-transfor=* \
 
11876
+  | --program-transfo=* | --program-transf=* \
 
11877
+  | --program-trans=* | --program-tran=* \
 
11878
+  | --progr-tra=* | --program-tr=* | --program-t=*)
 
11879
+    program_transform_name=$ac_optarg ;;
 
11880
+
 
11881
+  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
11882
+    ac_prev=pdfdir ;;
 
11883
+  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
11884
+    pdfdir=$ac_optarg ;;
 
11885
+
 
11886
+  -psdir | --psdir | --psdi | --psd | --ps)
 
11887
+    ac_prev=psdir ;;
 
11888
+  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
11889
+    psdir=$ac_optarg ;;
 
11890
+
 
11891
+  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
11892
+  | -silent | --silent | --silen | --sile | --sil)
 
11893
+    silent=yes ;;
 
11894
+
 
11895
+  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 
11896
+    ac_prev=sbindir ;;
 
11897
+  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 
11898
+  | --sbi=* | --sb=*)
 
11899
+    sbindir=$ac_optarg ;;
 
11900
+
 
11901
+  -sharedstatedir | --sharedstatedir | --sharedstatedi \
 
11902
+  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 
11903
+  | --sharedst | --shareds | --shared | --share | --shar \
 
11904
+  | --sha | --sh)
 
11905
+    ac_prev=sharedstatedir ;;
 
11906
+  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 
11907
+  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 
11908
+  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 
11909
+  | --sha=* | --sh=*)
 
11910
+    sharedstatedir=$ac_optarg ;;
 
11911
+
 
11912
+  -site | --site | --sit)
 
11913
+    ac_prev=site ;;
 
11914
+  -site=* | --site=* | --sit=*)
 
11915
+    site=$ac_optarg ;;
 
11916
+
 
11917
+  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 
11918
+    ac_prev=srcdir ;;
 
11919
+  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 
11920
+    srcdir=$ac_optarg ;;
 
11921
+
 
11922
+  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 
11923
+  | --syscon | --sysco | --sysc | --sys | --sy)
 
11924
+    ac_prev=sysconfdir ;;
 
11925
+  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 
11926
+  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 
11927
+    sysconfdir=$ac_optarg ;;
 
11928
+
 
11929
+  -target | --target | --targe | --targ | --tar | --ta | --t)
 
11930
+    ac_prev=target_alias ;;
 
11931
+  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 
11932
+    target_alias=$ac_optarg ;;
 
11933
+
 
11934
+  -v | -verbose | --verbose | --verbos | --verbo | --verb)
 
11935
+    verbose=yes ;;
 
11936
+
 
11937
+  -version | --version | --versio | --versi | --vers | -V)
 
11938
+    ac_init_version=: ;;
 
11939
+
 
11940
+  -with-* | --with-*)
 
11941
+    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
11942
+    # Reject names that are not valid shell variable names.
 
11943
+    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
11944
+      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
11945
+   { (exit 1); exit 1; }; }
 
11946
+    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
 
11947
+    eval with_$ac_package=\$ac_optarg ;;
 
11948
+
 
11949
+  -without-* | --without-*)
 
11950
+    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
11951
+    # Reject names that are not valid shell variable names.
 
11952
+    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
11953
+      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
11954
+   { (exit 1); exit 1; }; }
 
11955
+    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
 
11956
+    eval with_$ac_package=no ;;
 
11957
+
 
11958
+  --x)
 
11959
+    # Obsolete; use --with-x.
 
11960
+    with_x=yes ;;
 
11961
+
 
11962
+  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 
11963
+  | --x-incl | --x-inc | --x-in | --x-i)
 
11964
+    ac_prev=x_includes ;;
 
11965
+  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 
11966
+  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 
11967
+    x_includes=$ac_optarg ;;
 
11968
+
 
11969
+  -x-libraries | --x-libraries | --x-librarie | --x-librari \
 
11970
+  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 
11971
+    ac_prev=x_libraries ;;
 
11972
+  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 
11973
+  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 
11974
+    x_libraries=$ac_optarg ;;
 
11975
+
 
11976
+  -*) { echo "$as_me: error: unrecognized option: $ac_option
 
11977
+Try \`$0 --help' for more information." >&2
 
11978
+   { (exit 1); exit 1; }; }
 
11979
+    ;;
 
11980
+
 
11981
+  *=*)
 
11982
+    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 
11983
+    # Reject names that are not valid shell variable names.
 
11984
+    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
 
11985
+      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
 
11986
+   { (exit 1); exit 1; }; }
 
11987
+    eval $ac_envvar=\$ac_optarg
 
11988
+    export $ac_envvar ;;
 
11989
+
 
11990
+  *)
 
11991
+    # FIXME: should be removed in autoconf 3.0.
 
11992
+    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
11993
+    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
11994
+      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
11995
+    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
11996
+    ;;
 
11997
+
 
11998
+  esac
 
11999
+done
 
12000
+
 
12001
+if test -n "$ac_prev"; then
 
12002
+  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 
12003
+  { echo "$as_me: error: missing argument to $ac_option" >&2
 
12004
+   { (exit 1); exit 1; }; }
 
12005
+fi
 
12006
+
 
12007
+# Be sure to have absolute directory names.
 
12008
+for ac_var in  exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
12009
+               datadir sysconfdir sharedstatedir localstatedir includedir \
 
12010
+               oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
12011
+               libdir localedir mandir
 
12012
+do
 
12013
+  eval ac_val=\$$ac_var
 
12014
+  case $ac_val in
 
12015
+    [\\/$]* | ?:[\\/]* )  continue;;
 
12016
+    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
12017
+  esac
 
12018
+  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
12019
+   { (exit 1); exit 1; }; }
 
12020
+done
 
12021
+
 
12022
+# There might be people who depend on the old broken behavior: `$host'
 
12023
+# used to hold the argument of --host etc.
 
12024
+# FIXME: To remove some day.
 
12025
+build=$build_alias
 
12026
+host=$host_alias
 
12027
+target=$target_alias
 
12028
+
 
12029
+# FIXME: To remove some day.
 
12030
+if test "x$host_alias" != x; then
 
12031
+  if test "x$build_alias" = x; then
 
12032
+    cross_compiling=maybe
 
12033
+    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 
12034
+    If a cross compiler is detected then cross compile mode will be used." >&2
 
12035
+  elif test "x$build_alias" != "x$host_alias"; then
 
12036
+    cross_compiling=yes
 
12037
+  fi
 
12038
+fi
 
12039
+
 
12040
+ac_tool_prefix=
 
12041
+test -n "$host_alias" && ac_tool_prefix=$host_alias-
 
12042
+
 
12043
+test "$silent" = yes && exec 6>/dev/null
 
12044
+
 
12045
+
 
12046
+ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
12047
+ac_ls_di=`ls -di .` &&
 
12048
+ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
12049
+  { echo "$as_me: error: Working directory cannot be determined" >&2
 
12050
+   { (exit 1); exit 1; }; }
 
12051
+test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
12052
+  { echo "$as_me: error: pwd does not report name of working directory" >&2
 
12053
+   { (exit 1); exit 1; }; }
 
12054
+
 
12055
+
 
12056
+# Find the source files, if location was not specified.
 
12057
+if test -z "$srcdir"; then
 
12058
+  ac_srcdir_defaulted=yes
 
12059
+  # Try the directory containing this script, then the parent directory.
 
12060
+  ac_confdir=`$as_dirname -- "$0" ||
 
12061
+$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
12062
+        X"$0" : 'X\(//\)[^/]' \| \
 
12063
+        X"$0" : 'X\(//\)$' \| \
 
12064
+        X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
12065
+echo X"$0" |
 
12066
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
12067
+           s//\1/
 
12068
+           q
 
12069
+         }
 
12070
+         /^X\(\/\/\)[^/].*/{
 
12071
+           s//\1/
 
12072
+           q
 
12073
+         }
 
12074
+         /^X\(\/\/\)$/{
 
12075
+           s//\1/
 
12076
+           q
 
12077
+         }
 
12078
+         /^X\(\/\).*/{
 
12079
+           s//\1/
 
12080
+           q
 
12081
+         }
 
12082
+         s/.*/./; q'`
 
12083
+  srcdir=$ac_confdir
 
12084
+  if test ! -r "$srcdir/$ac_unique_file"; then
 
12085
+    srcdir=..
 
12086
+  fi
 
12087
+else
 
12088
+  ac_srcdir_defaulted=no
 
12089
+fi
 
12090
+if test ! -r "$srcdir/$ac_unique_file"; then
 
12091
+  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
12092
+  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
12093
+   { (exit 1); exit 1; }; }
 
12094
+fi
 
12095
+ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
12096
+ac_abs_confdir=`(
 
12097
+       cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
 
12098
+   { (exit 1); exit 1; }; }
 
12099
+       pwd)`
 
12100
+# When building in place, set srcdir=.
 
12101
+if test "$ac_abs_confdir" = "$ac_pwd"; then
 
12102
+  srcdir=.
 
12103
+fi
 
12104
+# Remove unnecessary trailing slashes from srcdir.
 
12105
+# Double slashes in file names in object file debugging info
 
12106
+# mess up M-x gdb in Emacs.
 
12107
+case $srcdir in
 
12108
+*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
12109
+esac
 
12110
+for ac_var in $ac_precious_vars; do
 
12111
+  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
12112
+  eval ac_env_${ac_var}_value=\$${ac_var}
 
12113
+  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
12114
+  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
12115
+done
 
12116
+
 
12117
+#
 
12118
+# Report the --help message.
 
12119
+#
 
12120
+if test "$ac_init_help" = "long"; then
 
12121
+  # Omit some internal or obsolete options to make the list less imposing.
 
12122
+  # This message is too long to be a string in the A/UX 3.1 sh.
 
12123
+  cat <<_ACEOF
 
12124
+\`configure' configures compcomm-plugins-main 0.0.1 to adapt to many kinds of systems.
 
12125
+
 
12126
+Usage: $0 [OPTION]... [VAR=VALUE]...
 
12127
+
 
12128
+To assign environment variables (e.g., CC, CFLAGS...), specify them as
 
12129
+VAR=VALUE.  See below for descriptions of some of the useful variables.
 
12130
+
 
12131
+Defaults for the options are specified in brackets.
 
12132
+
 
12133
+Configuration:
 
12134
+  -h, --help              display this help and exit
 
12135
+      --help=short        display options specific to this package
 
12136
+      --help=recursive    display the short help of all the included packages
 
12137
+  -V, --version           display version information and exit
 
12138
+  -q, --quiet, --silent   do not print \`checking...' messages
 
12139
+      --cache-file=FILE   cache test results in FILE [disabled]
 
12140
+  -C, --config-cache      alias for \`--cache-file=config.cache'
 
12141
+  -n, --no-create         do not create output files
 
12142
+      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 
12143
+
 
12144
+Installation directories:
 
12145
+  --prefix=PREFIX         install architecture-independent files in PREFIX
 
12146
+                         [$ac_default_prefix]
 
12147
+  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 
12148
+                         [PREFIX]
 
12149
+
 
12150
+By default, \`make install' will install all the files in
 
12151
+\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 
12152
+an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 
12153
+for instance \`--prefix=\$HOME'.
 
12154
+
 
12155
+For better control, use the options below.
 
12156
+
 
12157
+Fine tuning of the installation directories:
 
12158
+  --bindir=DIR           user executables [EPREFIX/bin]
 
12159
+  --sbindir=DIR          system admin executables [EPREFIX/sbin]
 
12160
+  --libexecdir=DIR       program executables [EPREFIX/libexec]
 
12161
+  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
 
12162
+  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
 
12163
+  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
 
12164
+  --libdir=DIR           object code libraries [EPREFIX/lib]
 
12165
+  --includedir=DIR       C header files [PREFIX/include]
 
12166
+  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
 
12167
+  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
 
12168
+  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
 
12169
+  --infodir=DIR          info documentation [DATAROOTDIR/info]
 
12170
+  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
 
12171
+  --mandir=DIR           man documentation [DATAROOTDIR/man]
 
12172
+  --docdir=DIR           documentation root [DATAROOTDIR/doc/compcomm-plugins-main]
 
12173
+  --htmldir=DIR          html documentation [DOCDIR]
 
12174
+  --dvidir=DIR           dvi documentation [DOCDIR]
 
12175
+  --pdfdir=DIR           pdf documentation [DOCDIR]
 
12176
+  --psdir=DIR            ps documentation [DOCDIR]
 
12177
+_ACEOF
 
12178
+
 
12179
+  cat <<\_ACEOF
 
12180
+
 
12181
+Program names:
 
12182
+  --program-prefix=PREFIX            prepend PREFIX to installed program names
 
12183
+  --program-suffix=SUFFIX            append SUFFIX to installed program names
 
12184
+  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 
12185
+
 
12186
+System types:
 
12187
+  --build=BUILD     configure for building on BUILD [guessed]
 
12188
+  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 
12189
+_ACEOF
 
12190
+fi
 
12191
+
 
12192
+if test -n "$ac_init_help"; then
 
12193
+  case $ac_init_help in
 
12194
+     short | recursive ) echo "Configuration of compcomm-plugins-main 0.0.1:";;
 
12195
+   esac
 
12196
+  cat <<\_ACEOF
 
12197
+
 
12198
+Optional Features:
 
12199
+  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 
12200
+  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 
12201
+  --enable-maintainer-mode  enable make rules and dependencies not useful
 
12202
+                         (and sometimes confusing) to the casual installer
 
12203
+  --disable-dependency-tracking  speeds up one-time build
 
12204
+  --enable-dependency-tracking   do not reject slow dependency extractors
 
12205
+  --enable-shared[=PKGS]  build shared libraries [default=yes]
 
12206
+  --enable-static[=PKGS]  build static libraries [default=yes]
 
12207
+  --enable-fast-install[=PKGS]
 
12208
+                          optimize for fast installation [default=yes]
 
12209
+  --disable-libtool-lock  avoid locking (might break parallel builds)
 
12210
+  --disable-text      Disable text plugin
 
12211
+  --disable-jpeg      Disable jpeg plugin
 
12212
+  --enable-schemas         Build gconf schemas
 
12213
+  --disable-schemas-install    Disable the schemas installation
 
12214
+
 
12215
+Optional Packages:
 
12216
+  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 
12217
+  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 
12218
+  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 
12219
+  --with-pic              try to use only PIC/non-PIC objects [default=use
 
12220
+                          both]
 
12221
+  --with-tags[=TAGS]      include additional configurations [automatic]
 
12222
+  --with-gl-cflags=CFLAGS
 
12223
+  --with-gl-libs=LIBS
 
12224
+  --with-gconf-source=sourceaddress      Config database for installing schema files.
 
12225
+  --with-gconf-schema-file-dir=dir        Directory for installing schema files.
 
12226
+
 
12227
+Some influential environment variables:
 
12228
+  CC          C compiler command
 
12229
+  CFLAGS      C compiler flags
 
12230
+  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 
12231
+              nonstandard directory <lib dir>
 
12232
+  LIBS        libraries to pass to the linker, e.g. -l<library>
 
12233
+  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
12234
+              you have headers in a nonstandard directory <include dir>
 
12235
+  CPP         C preprocessor
 
12236
+  CXX         C++ compiler command
 
12237
+  CXXFLAGS    C++ compiler flags
 
12238
+  CXXCPP      C++ preprocessor
 
12239
+  F77         Fortran 77 compiler command
 
12240
+  FFLAGS      Fortran 77 compiler flags
 
12241
+  PKG_CONFIG  path to pkg-config utility
 
12242
+  COMPIZ_CFLAGS
 
12243
+              C compiler flags for COMPIZ, overriding pkg-config
 
12244
+  COMPIZ_LIBS linker flags for COMPIZ, overriding pkg-config
 
12245
+  BCOP_CFLAGS C compiler flags for BCOP, overriding pkg-config
 
12246
+  BCOP_LIBS   linker flags for BCOP, overriding pkg-config
 
12247
+  TEXT_CFLAGS C compiler flags for TEXT, overriding pkg-config
 
12248
+  TEXT_LIBS   linker flags for TEXT, overriding pkg-config
 
12249
+  RESIZEINFO_CFLAGS
 
12250
+              C compiler flags for RESIZEINFO, overriding pkg-config
 
12251
+  RESIZEINFO_LIBS
 
12252
+              linker flags for RESIZEINFO, overriding pkg-config
 
12253
+  WALL_CFLAGS C compiler flags for WALL, overriding pkg-config
 
12254
+  WALL_LIBS   linker flags for WALL, overriding pkg-config
 
12255
+  SCHEMAS_CFLAGS
 
12256
+              C compiler flags for SCHEMAS, overriding pkg-config
 
12257
+  SCHEMAS_LIBS
 
12258
+              linker flags for SCHEMAS, overriding pkg-config
 
12259
+
 
12260
+Use these variables to override the choices made by `configure' or to help
 
12261
+it to find libraries and programs with nonstandard names/locations.
 
12262
+
 
12263
+Report bugs to <maniac@opencompositing.org>.
 
12264
+_ACEOF
 
12265
+ac_status=$?
 
12266
+fi
 
12267
+
 
12268
+if test "$ac_init_help" = "recursive"; then
 
12269
+  # If there are subdirs, report their specific --help.
 
12270
+  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 
12271
+    test -d "$ac_dir" || continue
 
12272
+    ac_builddir=.
 
12273
+
 
12274
+case "$ac_dir" in
 
12275
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
12276
+*)
 
12277
+  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
12278
+  # A ".." for each directory in $ac_dir_suffix.
 
12279
+  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
12280
+  case $ac_top_builddir_sub in
 
12281
+  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
12282
+  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
12283
+  esac ;;
 
12284
+esac
 
12285
+ac_abs_top_builddir=$ac_pwd
 
12286
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
12287
+# for backward compatibility:
 
12288
+ac_top_builddir=$ac_top_build_prefix
 
12289
+
 
12290
+case $srcdir in
 
12291
+  .)  # We are building in place.
 
12292
+    ac_srcdir=.
 
12293
+    ac_top_srcdir=$ac_top_builddir_sub
 
12294
+    ac_abs_top_srcdir=$ac_pwd ;;
 
12295
+  [\\/]* | ?:[\\/]* )  # Absolute name.
 
12296
+    ac_srcdir=$srcdir$ac_dir_suffix;
 
12297
+    ac_top_srcdir=$srcdir
 
12298
+    ac_abs_top_srcdir=$srcdir ;;
 
12299
+  *) # Relative name.
 
12300
+    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
12301
+    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
12302
+    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
12303
+esac
 
12304
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
12305
+
 
12306
+    cd "$ac_dir" || { ac_status=$?; continue; }
 
12307
+    # Check for guested configure.
 
12308
+    if test -f "$ac_srcdir/configure.gnu"; then
 
12309
+      echo &&
 
12310
+      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
12311
+    elif test -f "$ac_srcdir/configure"; then
 
12312
+      echo &&
 
12313
+      $SHELL "$ac_srcdir/configure" --help=recursive
 
12314
+    else
 
12315
+      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
12316
+    fi || ac_status=$?
 
12317
+    cd "$ac_pwd" || { ac_status=$?; break; }
 
12318
+  done
 
12319
+fi
 
12320
+
 
12321
+test -n "$ac_init_help" && exit $ac_status
 
12322
+if $ac_init_version; then
 
12323
+  cat <<\_ACEOF
 
12324
+compcomm-plugins-main configure 0.0.1
 
12325
+generated by GNU Autoconf 2.61
 
12326
+
 
12327
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
12328
+2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
12329
+This configure script is free software; the Free Software Foundation
 
12330
+gives unlimited permission to copy, distribute and modify it.
 
12331
+_ACEOF
 
12332
+  exit
 
12333
+fi
 
12334
+cat >config.log <<_ACEOF
 
12335
+This file contains any messages produced by compilers while
 
12336
+running configure, to aid debugging if configure makes a mistake.
 
12337
+
 
12338
+It was created by compcomm-plugins-main $as_me 0.0.1, which was
 
12339
+generated by GNU Autoconf 2.61.  Invocation command line was
 
12340
+
 
12341
+  $ $0 $@
 
12342
+
 
12343
+_ACEOF
 
12344
+exec 5>>config.log
 
12345
+{
 
12346
+cat <<_ASUNAME
 
12347
+## --------- ##
 
12348
+## Platform. ##
 
12349
+## --------- ##
 
12350
+
 
12351
+hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 
12352
+uname -m = `(uname -m) 2>/dev/null || echo unknown`
 
12353
+uname -r = `(uname -r) 2>/dev/null || echo unknown`
 
12354
+uname -s = `(uname -s) 2>/dev/null || echo unknown`
 
12355
+uname -v = `(uname -v) 2>/dev/null || echo unknown`
 
12356
+
 
12357
+/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 
12358
+/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 
12359
+
 
12360
+/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 
12361
+/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 
12362
+/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 
12363
+/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 
12364
+/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 
12365
+/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 
12366
+/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 
12367
+
 
12368
+_ASUNAME
 
12369
+
 
12370
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12371
+for as_dir in $PATH
 
12372
+do
 
12373
+  IFS=$as_save_IFS
 
12374
+  test -z "$as_dir" && as_dir=.
 
12375
+  echo "PATH: $as_dir"
 
12376
+done
 
12377
+IFS=$as_save_IFS
 
12378
+
 
12379
+} >&5
 
12380
+
 
12381
+cat >&5 <<_ACEOF
 
12382
+
 
12383
+
 
12384
+## ----------- ##
 
12385
+## Core tests. ##
 
12386
+## ----------- ##
 
12387
+
 
12388
+_ACEOF
 
12389
+
 
12390
+
 
12391
+# Keep a trace of the command line.
 
12392
+# Strip out --no-create and --no-recursion so they do not pile up.
 
12393
+# Strip out --silent because we don't want to record it for future runs.
 
12394
+# Also quote any args containing shell meta-characters.
 
12395
+# Make two passes to allow for proper duplicate-argument suppression.
 
12396
+ac_configure_args=
 
12397
+ac_configure_args0=
 
12398
+ac_configure_args1=
 
12399
+ac_must_keep_next=false
 
12400
+for ac_pass in 1 2
 
12401
+do
 
12402
+  for ac_arg
 
12403
+  do
 
12404
+    case $ac_arg in
 
12405
+    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 
12406
+    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
12407
+    | -silent | --silent | --silen | --sile | --sil)
 
12408
+      continue ;;
 
12409
+    *\'*)
 
12410
+      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
12411
+    esac
 
12412
+    case $ac_pass in
 
12413
+    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
12414
+    2)
 
12415
+      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
12416
+      if test $ac_must_keep_next = true; then
 
12417
+       ac_must_keep_next=false # Got value, back to normal.
 
12418
+      else
 
12419
+       case $ac_arg in
 
12420
+         *=* | --config-cache | -C | -disable-* | --disable-* \
 
12421
+         | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 
12422
+         | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 
12423
+         | -with-* | --with-* | -without-* | --without-* | --x)
 
12424
+           case "$ac_configure_args0 " in
 
12425
+             "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 
12426
+           esac
 
12427
+           ;;
 
12428
+         -* ) ac_must_keep_next=true ;;
 
12429
+       esac
 
12430
+      fi
 
12431
+      ac_configure_args="$ac_configure_args '$ac_arg'"
 
12432
+      ;;
 
12433
+    esac
 
12434
+  done
 
12435
+done
 
12436
+$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
 
12437
+$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 
12438
+
 
12439
+# When interrupted or exit'd, cleanup temporary files, and complete
 
12440
+# config.log.  We remove comments because anyway the quotes in there
 
12441
+# would cause problems or look ugly.
 
12442
+# WARNING: Use '\'' to represent an apostrophe within the trap.
 
12443
+# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 
12444
+trap 'exit_status=$?
 
12445
+  # Save into config.log some information that might help in debugging.
 
12446
+  {
 
12447
+    echo
 
12448
+
 
12449
+    cat <<\_ASBOX
 
12450
+## ---------------- ##
 
12451
+## Cache variables. ##
 
12452
+## ---------------- ##
 
12453
+_ASBOX
 
12454
+    echo
 
12455
+    # The following way of writing the cache mishandles newlines in values,
 
12456
+(
 
12457
+  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
12458
+    eval ac_val=\$$ac_var
 
12459
+    case $ac_val in #(
 
12460
+    *${as_nl}*)
 
12461
+      case $ac_var in #(
 
12462
+      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
12463
+echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
12464
+      esac
 
12465
+      case $ac_var in #(
 
12466
+      _ | IFS | as_nl) ;; #(
 
12467
+      *) $as_unset $ac_var ;;
 
12468
+      esac ;;
 
12469
+    esac
 
12470
+  done
 
12471
+  (set) 2>&1 |
 
12472
+    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
12473
+    *${as_nl}ac_space=\ *)
 
12474
+      sed -n \
 
12475
+       "s/'\''/'\''\\\\'\'''\''/g;
 
12476
+         s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
12477
+      ;; #(
 
12478
+    *)
 
12479
+      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
12480
+      ;;
 
12481
+    esac |
 
12482
+    sort
 
12483
+)
 
12484
+    echo
 
12485
+
 
12486
+    cat <<\_ASBOX
 
12487
+## ----------------- ##
 
12488
+## Output variables. ##
 
12489
+## ----------------- ##
 
12490
+_ASBOX
 
12491
+    echo
 
12492
+    for ac_var in $ac_subst_vars
 
12493
+    do
 
12494
+      eval ac_val=\$$ac_var
 
12495
+      case $ac_val in
 
12496
+      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
12497
+      esac
 
12498
+      echo "$ac_var='\''$ac_val'\''"
 
12499
+    done | sort
 
12500
+    echo
 
12501
+
 
12502
+    if test -n "$ac_subst_files"; then
 
12503
+      cat <<\_ASBOX
 
12504
+## ------------------- ##
 
12505
+## File substitutions. ##
 
12506
+## ------------------- ##
 
12507
+_ASBOX
 
12508
+      echo
 
12509
+      for ac_var in $ac_subst_files
 
12510
+      do
 
12511
+       eval ac_val=\$$ac_var
 
12512
+       case $ac_val in
 
12513
+       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
12514
+       esac
 
12515
+       echo "$ac_var='\''$ac_val'\''"
 
12516
+      done | sort
 
12517
+      echo
 
12518
+    fi
 
12519
+
 
12520
+    if test -s confdefs.h; then
 
12521
+      cat <<\_ASBOX
 
12522
+## ----------- ##
 
12523
+## confdefs.h. ##
 
12524
+## ----------- ##
 
12525
+_ASBOX
 
12526
+      echo
 
12527
+      cat confdefs.h
 
12528
+      echo
 
12529
+    fi
 
12530
+    test "$ac_signal" != 0 &&
 
12531
+      echo "$as_me: caught signal $ac_signal"
 
12532
+    echo "$as_me: exit $exit_status"
 
12533
+  } >&5
 
12534
+  rm -f core *.core core.conftest.* &&
 
12535
+    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 
12536
+    exit $exit_status
 
12537
+' 0
 
12538
+for ac_signal in 1 2 13 15; do
 
12539
+  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
12540
+done
 
12541
+ac_signal=0
 
12542
+
 
12543
+# confdefs.h avoids OS command line length limits that DEFS can exceed.
 
12544
+rm -f -r conftest* confdefs.h
 
12545
+
 
12546
+# Predefined preprocessor variables.
 
12547
+
 
12548
+cat >>confdefs.h <<_ACEOF
 
12549
+#define PACKAGE_NAME "$PACKAGE_NAME"
 
12550
+_ACEOF
 
12551
+
 
12552
+
 
12553
+cat >>confdefs.h <<_ACEOF
 
12554
+#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 
12555
+_ACEOF
 
12556
+
 
12557
+
 
12558
+cat >>confdefs.h <<_ACEOF
 
12559
+#define PACKAGE_VERSION "$PACKAGE_VERSION"
 
12560
+_ACEOF
 
12561
+
 
12562
+
 
12563
+cat >>confdefs.h <<_ACEOF
 
12564
+#define PACKAGE_STRING "$PACKAGE_STRING"
 
12565
+_ACEOF
 
12566
+
 
12567
+
 
12568
+cat >>confdefs.h <<_ACEOF
 
12569
+#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 
12570
+_ACEOF
 
12571
+
 
12572
+
 
12573
+# Let the site file select an alternate cache file if it wants to.
 
12574
+# Prefer explicitly selected file to automatically selected ones.
 
12575
+if test -n "$CONFIG_SITE"; then
 
12576
+  set x "$CONFIG_SITE"
 
12577
+elif test "x$prefix" != xNONE; then
 
12578
+  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
12579
+else
 
12580
+  set x "$ac_default_prefix/share/config.site" \
 
12581
+       "$ac_default_prefix/etc/config.site"
 
12582
+fi
 
12583
+shift
 
12584
+for ac_site_file
 
12585
+do
 
12586
+  if test -r "$ac_site_file"; then
 
12587
+    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
12588
+echo "$as_me: loading site script $ac_site_file" >&6;}
 
12589
+    sed 's/^/| /' "$ac_site_file" >&5
 
12590
+    . "$ac_site_file"
 
12591
+  fi
 
12592
+done
 
12593
+
 
12594
+if test -r "$cache_file"; then
 
12595
+  # Some versions of bash will fail to source /dev/null (special
 
12596
+  # files actually), so we avoid doing that.
 
12597
+  if test -f "$cache_file"; then
 
12598
+    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
12599
+echo "$as_me: loading cache $cache_file" >&6;}
 
12600
+    case $cache_file in
 
12601
+      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
12602
+      *)                      . "./$cache_file";;
 
12603
+    esac
 
12604
+  fi
 
12605
+else
 
12606
+  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
12607
+echo "$as_me: creating cache $cache_file" >&6;}
 
12608
+  >$cache_file
 
12609
+fi
 
12610
+
 
12611
+# Check that the precious variables saved in the cache have kept the same
 
12612
+# value.
 
12613
+ac_cache_corrupted=false
 
12614
+for ac_var in $ac_precious_vars; do
 
12615
+  eval ac_old_set=\$ac_cv_env_${ac_var}_set
 
12616
+  eval ac_new_set=\$ac_env_${ac_var}_set
 
12617
+  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
12618
+  eval ac_new_val=\$ac_env_${ac_var}_value
 
12619
+  case $ac_old_set,$ac_new_set in
 
12620
+    set,)
 
12621
+      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
12622
+echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
12623
+      ac_cache_corrupted=: ;;
 
12624
+    ,set)
 
12625
+      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
12626
+echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
12627
+      ac_cache_corrupted=: ;;
 
12628
+    ,);;
 
12629
+    *)
 
12630
+      if test "x$ac_old_val" != "x$ac_new_val"; then
 
12631
+       { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
12632
+echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
12633
+       { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
 
12634
+echo "$as_me:   former value:  $ac_old_val" >&2;}
 
12635
+       { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
 
12636
+echo "$as_me:   current value: $ac_new_val" >&2;}
 
12637
+       ac_cache_corrupted=:
 
12638
+      fi;;
 
12639
+  esac
 
12640
+  # Pass precious variables to config.status.
 
12641
+  if test "$ac_new_set" = set; then
 
12642
+    case $ac_new_val in
 
12643
+    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
12644
+    *) ac_arg=$ac_var=$ac_new_val ;;
 
12645
+    esac
 
12646
+    case " $ac_configure_args " in
 
12647
+      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 
12648
+      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
12649
+    esac
 
12650
+  fi
 
12651
+done
 
12652
+if $ac_cache_corrupted; then
 
12653
+  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
12654
+echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
12655
+  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
 
12656
+echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
 
12657
+   { (exit 1); exit 1; }; }
 
12658
+fi
 
12659
+
 
12660
+
 
12661
+
 
12662
+
 
12663
+
 
12664
+
 
12665
+
 
12666
+
 
12667
+
 
12668
+
 
12669
+
 
12670
+
 
12671
+
 
12672
+
 
12673
+
 
12674
+
 
12675
+
 
12676
+
 
12677
+
 
12678
+
 
12679
+
 
12680
+
 
12681
+
 
12682
+
 
12683
+
 
12684
+ac_ext=c
 
12685
+ac_cpp='$CPP $CPPFLAGS'
 
12686
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
12687
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
12688
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
12689
+
 
12690
+
 
12691
+
 
12692
+
 
12693
+cat >>confdefs.h <<_ACEOF
 
12694
+#define VERSION "$VERSION"
 
12695
+_ACEOF
 
12696
+
 
12697
+
 
12698
+#AC_CONFIG_AUX_DIR(config)
 
12699
+
 
12700
+am__api_version="1.9"
 
12701
+ac_aux_dir=
 
12702
+for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 
12703
+  if test -f "$ac_dir/install-sh"; then
 
12704
+    ac_aux_dir=$ac_dir
 
12705
+    ac_install_sh="$ac_aux_dir/install-sh -c"
 
12706
+    break
 
12707
+  elif test -f "$ac_dir/install.sh"; then
 
12708
+    ac_aux_dir=$ac_dir
 
12709
+    ac_install_sh="$ac_aux_dir/install.sh -c"
 
12710
+    break
 
12711
+  elif test -f "$ac_dir/shtool"; then
 
12712
+    ac_aux_dir=$ac_dir
 
12713
+    ac_install_sh="$ac_aux_dir/shtool install -c"
 
12714
+    break
 
12715
+  fi
 
12716
+done
 
12717
+if test -z "$ac_aux_dir"; then
 
12718
+  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
 
12719
+echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
 
12720
+   { (exit 1); exit 1; }; }
 
12721
+fi
 
12722
+
 
12723
+# These three variables are undocumented and unsupported,
 
12724
+# and are intended to be withdrawn in a future Autoconf release.
 
12725
+# They can cause serious problems if a builder's source tree is in a directory
 
12726
+# whose full name contains unusual characters.
 
12727
+ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
12728
+ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
12729
+ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
12730
+
 
12731
+
 
12732
+# Find a good install program.  We prefer a C program (faster),
 
12733
+# so one script is as good as another.  But avoid the broken or
 
12734
+# incompatible versions:
 
12735
+# SysV /etc/install, /usr/sbin/install
 
12736
+# SunOS /usr/etc/install
 
12737
+# IRIX /sbin/install
 
12738
+# AIX /bin/install
 
12739
+# AmigaOS /C/install, which installs bootblocks on floppy discs
 
12740
+# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 
12741
+# AFS /usr/afsws/bin/install, which mishandles nonexistent args
 
12742
+# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
12743
+# OS/2's system install, which has a completely different semantic
 
12744
+# ./install, which can be erroneously created by make from ./install.sh.
 
12745
+{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
12746
+echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
 
12747
+if test -z "$INSTALL"; then
 
12748
+if test "${ac_cv_path_install+set}" = set; then
 
12749
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12750
+else
 
12751
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12752
+for as_dir in $PATH
 
12753
+do
 
12754
+  IFS=$as_save_IFS
 
12755
+  test -z "$as_dir" && as_dir=.
 
12756
+  # Account for people who put trailing slashes in PATH elements.
 
12757
+case $as_dir/ in
 
12758
+  ./ | .// | /cC/* | \
 
12759
+  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
12760
+  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
12761
+  /usr/ucb/* ) ;;
 
12762
+  *)
 
12763
+    # OSF1 and SCO ODT 3.0 have their own names for install.
 
12764
+    # Don't use installbsd from OSF since it installs stuff as root
 
12765
+    # by default.
 
12766
+    for ac_prog in ginstall scoinst install; do
 
12767
+      for ac_exec_ext in '' $ac_executable_extensions; do
 
12768
+       if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
 
12769
+         if test $ac_prog = install &&
 
12770
+           grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
12771
+           # AIX install.  It has an incompatible calling convention.
 
12772
+           :
 
12773
+         elif test $ac_prog = install &&
 
12774
+           grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
12775
+           # program-specific install script used by HP pwplus--don't use.
 
12776
+           :
 
12777
+         else
 
12778
+           ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
12779
+           break 3
 
12780
+         fi
 
12781
+       fi
 
12782
+      done
 
12783
+    done
 
12784
+    ;;
 
12785
+esac
 
12786
+done
 
12787
+IFS=$as_save_IFS
 
12788
+
 
12789
+
 
12790
+fi
 
12791
+  if test "${ac_cv_path_install+set}" = set; then
 
12792
+    INSTALL=$ac_cv_path_install
 
12793
+  else
 
12794
+    # As a last resort, use the slow shell script.  Don't cache a
 
12795
+    # value for INSTALL within a source directory, because that will
 
12796
+    # break other packages using the cache if that directory is
 
12797
+    # removed, or if the value is a relative name.
 
12798
+    INSTALL=$ac_install_sh
 
12799
+  fi
 
12800
+fi
 
12801
+{ echo "$as_me:$LINENO: result: $INSTALL" >&5
 
12802
+echo "${ECHO_T}$INSTALL" >&6; }
 
12803
+
 
12804
+# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 
12805
+# It thinks the first close brace ends the variable substitution.
 
12806
+test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 
12807
+
 
12808
+test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 
12809
+
 
12810
+test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
12811
+
 
12812
+{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
12813
+echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
 
12814
+# Just in case
 
12815
+sleep 1
 
12816
+echo timestamp > conftest.file
 
12817
+# Do `set' in a subshell so we don't clobber the current shell's
 
12818
+# arguments.  Must try -L first in case configure is actually a
 
12819
+# symlink; some systems play weird games with the mod time of symlinks
 
12820
+# (eg FreeBSD returns the mod time of the symlink's containing
 
12821
+# directory).
 
12822
+if (
 
12823
+   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
12824
+   if test "$*" = "X"; then
 
12825
+      # -L didn't work.
 
12826
+      set X `ls -t $srcdir/configure conftest.file`
 
12827
+   fi
 
12828
+   rm -f conftest.file
 
12829
+   if test "$*" != "X $srcdir/configure conftest.file" \
 
12830
+      && test "$*" != "X conftest.file $srcdir/configure"; then
 
12831
+
 
12832
+      # If neither matched, then we have a broken ls.  This can happen
 
12833
+      # if, for instance, CONFIG_SHELL is bash and it inherits a
 
12834
+      # broken ls alias from the environment.  This has actually
 
12835
+      # happened.  Such a system could not be considered "sane".
 
12836
+      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
 
12837
+alias in your environment" >&5
 
12838
+echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
 
12839
+alias in your environment" >&2;}
 
12840
+   { (exit 1); exit 1; }; }
 
12841
+   fi
 
12842
+
 
12843
+   test "$2" = conftest.file
 
12844
+   )
 
12845
+then
 
12846
+   # Ok.
 
12847
+   :
 
12848
+else
 
12849
+   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
 
12850
+Check your system clock" >&5
 
12851
+echo "$as_me: error: newly created file is older than distributed files!
 
12852
+Check your system clock" >&2;}
 
12853
+   { (exit 1); exit 1; }; }
 
12854
+fi
 
12855
+{ echo "$as_me:$LINENO: result: yes" >&5
 
12856
+echo "${ECHO_T}yes" >&6; }
 
12857
+test "$program_prefix" != NONE &&
 
12858
+  program_transform_name="s&^&$program_prefix&;$program_transform_name"
 
12859
+# Use a double $ so make ignores it.
 
12860
+test "$program_suffix" != NONE &&
 
12861
+  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 
12862
+# Double any \ or $.  echo might interpret backslashes.
 
12863
+# By default was `s,x,x', remove it if useless.
 
12864
+cat <<\_ACEOF >conftest.sed
 
12865
+s/[\\$]/&&/g;s/;s,x,x,$//
 
12866
+_ACEOF
 
12867
+program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
 
12868
+rm -f conftest.sed
 
12869
+
 
12870
+# expand $ac_aux_dir to an absolute path
 
12871
+am_aux_dir=`cd $ac_aux_dir && pwd`
 
12872
+
 
12873
+test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
12874
+# Use eval to expand $SHELL
 
12875
+if eval "$MISSING --run true"; then
 
12876
+  am_missing_run="$MISSING --run "
 
12877
+else
 
12878
+  am_missing_run=
 
12879
+  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
12880
+echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
12881
+fi
 
12882
+
 
12883
+if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
 
12884
+  # We used to keeping the `.' as first argument, in order to
 
12885
+  # allow $(mkdir_p) to be used without argument.  As in
 
12886
+  #   $(mkdir_p) $(somedir)
 
12887
+  # where $(somedir) is conditionally defined.  However this is wrong
 
12888
+  # for two reasons:
 
12889
+  #  1. if the package is installed by a user who cannot write `.'
 
12890
+  #     make install will fail,
 
12891
+  #  2. the above comment should most certainly read
 
12892
+  #     $(mkdir_p) $(DESTDIR)$(somedir)
 
12893
+  #     so it does not work when $(somedir) is undefined and
 
12894
+  #     $(DESTDIR) is not.
 
12895
+  #  To support the latter case, we have to write
 
12896
+  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
 
12897
+  #  so the `.' trick is pointless.
 
12898
+  mkdir_p='mkdir -p --'
 
12899
+else
 
12900
+  # On NextStep and OpenStep, the `mkdir' command does not
 
12901
+  # recognize any option.  It will interpret all options as
 
12902
+  # directories to create, and then abort because `.' already
 
12903
+  # exists.
 
12904
+  for d in ./-p ./--version;
 
12905
+  do
 
12906
+    test -d $d && rmdir $d
 
12907
+  done
 
12908
+  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
 
12909
+  if test -f "$ac_aux_dir/mkinstalldirs"; then
 
12910
+    mkdir_p='$(mkinstalldirs)'
 
12911
+  else
 
12912
+    mkdir_p='$(install_sh) -d'
 
12913
+  fi
 
12914
+fi
 
12915
+
 
12916
+for ac_prog in gawk mawk nawk awk
 
12917
+do
 
12918
+  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
12919
+set dummy $ac_prog; ac_word=$2
 
12920
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12921
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
12922
+if test "${ac_cv_prog_AWK+set}" = set; then
 
12923
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12924
+else
 
12925
+  if test -n "$AWK"; then
 
12926
+  ac_cv_prog_AWK="$AWK" # Let the user override the test.
 
12927
+else
 
12928
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12929
+for as_dir in $PATH
 
12930
+do
 
12931
+  IFS=$as_save_IFS
 
12932
+  test -z "$as_dir" && as_dir=.
 
12933
+  for ac_exec_ext in '' $ac_executable_extensions; do
 
12934
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
12935
+    ac_cv_prog_AWK="$ac_prog"
 
12936
+    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12937
+    break 2
 
12938
+  fi
 
12939
+done
 
12940
+done
 
12941
+IFS=$as_save_IFS
 
12942
+
 
12943
+fi
 
12944
+fi
 
12945
+AWK=$ac_cv_prog_AWK
 
12946
+if test -n "$AWK"; then
 
12947
+  { echo "$as_me:$LINENO: result: $AWK" >&5
 
12948
+echo "${ECHO_T}$AWK" >&6; }
 
12949
+else
 
12950
+  { echo "$as_me:$LINENO: result: no" >&5
 
12951
+echo "${ECHO_T}no" >&6; }
 
12952
+fi
 
12953
+
 
12954
+
 
12955
+  test -n "$AWK" && break
 
12956
+done
 
12957
+
 
12958
+{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
12959
+echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
 
12960
+set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
12961
+if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
 
12962
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12963
+else
 
12964
+  cat >conftest.make <<\_ACEOF
 
12965
+SHELL = /bin/sh
 
12966
+all:
 
12967
+       @echo '@@@%%%=$(MAKE)=@@@%%%'
 
12968
+_ACEOF
 
12969
+# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
12970
+case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
12971
+  *@@@%%%=?*=@@@%%%*)
 
12972
+    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
12973
+  *)
 
12974
+    eval ac_cv_prog_make_${ac_make}_set=no;;
 
12975
+esac
 
12976
+rm -f conftest.make
 
12977
+fi
 
12978
+if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
12979
+  { echo "$as_me:$LINENO: result: yes" >&5
 
12980
+echo "${ECHO_T}yes" >&6; }
 
12981
+  SET_MAKE=
 
12982
+else
 
12983
+  { echo "$as_me:$LINENO: result: no" >&5
 
12984
+echo "${ECHO_T}no" >&6; }
 
12985
+  SET_MAKE="MAKE=${MAKE-make}"
 
12986
+fi
 
12987
+
 
12988
+rm -rf .tst 2>/dev/null
 
12989
+mkdir .tst 2>/dev/null
 
12990
+if test -d .tst; then
 
12991
+  am__leading_dot=.
 
12992
+else
 
12993
+  am__leading_dot=_
 
12994
+fi
 
12995
+rmdir .tst 2>/dev/null
 
12996
+
 
12997
+# test to see if srcdir already configured
 
12998
+if test "`cd $srcdir && pwd`" != "`pwd`" &&
 
12999
+   test -f $srcdir/config.status; then
 
13000
+  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
 
13001
+echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
 
13002
+   { (exit 1); exit 1; }; }
 
13003
+fi
 
13004
+
 
13005
+# test whether we have cygpath
 
13006
+if test -z "$CYGPATH_W"; then
 
13007
+  if (cygpath --version) >/dev/null 2>/dev/null; then
 
13008
+    CYGPATH_W='cygpath -w'
 
13009
+  else
 
13010
+    CYGPATH_W=echo
 
13011
+  fi
 
13012
+fi
 
13013
+
 
13014
+
 
13015
+# Define the identity of the package.
 
13016
+ PACKAGE='compcomm-plugins-main'
 
13017
+ VERSION='0.0.1'
 
13018
+
 
13019
+
 
13020
+cat >>confdefs.h <<_ACEOF
 
13021
+#define PACKAGE "$PACKAGE"
 
13022
+_ACEOF
 
13023
+
 
13024
+
 
13025
+cat >>confdefs.h <<_ACEOF
 
13026
+#define VERSION "$VERSION"
 
13027
+_ACEOF
 
13028
+
 
13029
+# Some tools Automake needs.
 
13030
+
 
13031
+ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 
13032
+
 
13033
+
 
13034
+AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 
13035
+
 
13036
+
 
13037
+AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 
13038
+
 
13039
+
 
13040
+AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 
13041
+
 
13042
+
 
13043
+MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 
13044
+
 
13045
+install_sh=${install_sh-"$am_aux_dir/install-sh"}
 
13046
+
 
13047
+# Installed binaries are usually stripped using `strip' when the user
 
13048
+# run `make install-strip'.  However `strip' might not be the right
 
13049
+# tool to use in cross-compilation environments, therefore Automake
 
13050
+# will honor the `STRIP' environment variable to overrule this program.
 
13051
+if test "$cross_compiling" != no; then
 
13052
+  if test -n "$ac_tool_prefix"; then
 
13053
+  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
13054
+set dummy ${ac_tool_prefix}strip; ac_word=$2
 
13055
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
13056
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
13057
+if test "${ac_cv_prog_STRIP+set}" = set; then
 
13058
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13059
+else
 
13060
+  if test -n "$STRIP"; then
 
13061
+  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
13062
+else
 
13063
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
13064
+for as_dir in $PATH
 
13065
+do
 
13066
+  IFS=$as_save_IFS
 
13067
+  test -z "$as_dir" && as_dir=.
 
13068
+  for ac_exec_ext in '' $ac_executable_extensions; do
 
13069
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
13070
+    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
13071
+    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13072
+    break 2
 
13073
+  fi
 
13074
+done
 
13075
+done
 
13076
+IFS=$as_save_IFS
 
13077
+
 
13078
+fi
 
13079
+fi
 
13080
+STRIP=$ac_cv_prog_STRIP
 
13081
+if test -n "$STRIP"; then
 
13082
+  { echo "$as_me:$LINENO: result: $STRIP" >&5
 
13083
+echo "${ECHO_T}$STRIP" >&6; }
 
13084
+else
 
13085
+  { echo "$as_me:$LINENO: result: no" >&5
 
13086
+echo "${ECHO_T}no" >&6; }
 
13087
+fi
 
13088
+
 
13089
+
 
13090
+fi
 
13091
+if test -z "$ac_cv_prog_STRIP"; then
 
13092
+  ac_ct_STRIP=$STRIP
 
13093
+  # Extract the first word of "strip", so it can be a program name with args.
 
13094
+set dummy strip; ac_word=$2
 
13095
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
13096
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
13097
+if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
13098
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13099
+else
 
13100
+  if test -n "$ac_ct_STRIP"; then
 
13101
+  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
13102
+else
 
13103
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
13104
+for as_dir in $PATH
 
13105
+do
 
13106
+  IFS=$as_save_IFS
 
13107
+  test -z "$as_dir" && as_dir=.
 
13108
+  for ac_exec_ext in '' $ac_executable_extensions; do
 
13109
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
13110
+    ac_cv_prog_ac_ct_STRIP="strip"
 
13111
+    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13112
+    break 2
 
13113
+  fi
 
13114
+done
 
13115
+done
 
13116
+IFS=$as_save_IFS
 
13117
+
 
13118
+fi
 
13119
+fi
 
13120
+ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
13121
+if test -n "$ac_ct_STRIP"; then
 
13122
+  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
13123
+echo "${ECHO_T}$ac_ct_STRIP" >&6; }
 
13124
+else
 
13125
+  { echo "$as_me:$LINENO: result: no" >&5
 
13126
+echo "${ECHO_T}no" >&6; }
 
13127
+fi
 
13128
+
 
13129
+  if test "x$ac_ct_STRIP" = x; then
 
13130
+    STRIP=":"
 
13131
+  else
 
13132
+    case $cross_compiling:$ac_tool_warned in
 
13133
+yes:)
 
13134
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
13135
+whose name does not start with the host triplet.  If you think this
 
13136
+configuration is useful to you, please write to autoconf@gnu.org." >&5
 
13137
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
13138
+whose name does not start with the host triplet.  If you think this
 
13139
+configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
13140
+ac_tool_warned=yes ;;
 
13141
+esac
 
13142
+    STRIP=$ac_ct_STRIP
 
13143
+  fi
 
13144
+else
 
13145
+  STRIP="$ac_cv_prog_STRIP"
 
13146
+fi
 
13147
+
 
13148
+fi
 
13149
+INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
 
13150
+
 
13151
+# We need awk for the "check" target.  The system "awk" is bad on
 
13152
+# some platforms.
 
13153
+# Always define AMTAR for backward compatibility.
 
13154
+
 
13155
+AMTAR=${AMTAR-"${am_missing_run}tar"}
 
13156
+
 
13157
+am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 
13158
+
 
13159
+
 
13160
+
 
13161
+
 
13162
+
 
13163
+ac_config_headers="$ac_config_headers config.h"
 
13164
+
 
13165
+{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
13166
+echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
 
13167
+    # Check whether --enable-maintainer-mode was given.
 
13168
+if test "${enable_maintainer_mode+set}" = set; then
 
13169
+  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
 
13170
+else
 
13171
+  USE_MAINTAINER_MODE=no
 
13172
+fi
 
13173
+
 
13174
+  { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
 
13175
+echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
 
13176
+
 
13177
+
 
13178
+if test $USE_MAINTAINER_MODE = yes; then
 
13179
+  MAINTAINER_MODE_TRUE=
 
13180
+  MAINTAINER_MODE_FALSE='#'
 
13181
+else
 
13182
+  MAINTAINER_MODE_TRUE='#'
 
13183
+  MAINTAINER_MODE_FALSE=
 
13184
+fi
 
13185
+
 
13186
+  MAINT=$MAINTAINER_MODE_TRUE
 
13187
+
 
13188
+
 
13189
+
 
13190
+DEPDIR="${am__leading_dot}deps"
 
13191
+
 
13192
+ac_config_commands="$ac_config_commands depfiles"
 
13193
+
 
13194
+
 
13195
+am_make=${MAKE-make}
 
13196
+cat > confinc << 'END'
 
13197
+am__doit:
 
13198
+       @echo done
 
13199
+.PHONY: am__doit
 
13200
+END
 
13201
+# If we don't find an include directive, just comment out the code.
 
13202
+{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
13203
+echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
 
13204
+am__include="#"
 
13205
+am__quote=
 
13206
+_am_result=none
 
13207
+# First try GNU make style include.
 
13208
+echo "include confinc" > confmf
 
13209
+# We grep out `Entering directory' and `Leaving directory'
 
13210
+# messages which can occur if `w' ends up in MAKEFLAGS.
 
13211
+# In particular we don't look at `^make:' because GNU make might
 
13212
+# be invoked under some other name (usually "gmake"), in which
 
13213
+# case it prints its new name instead of `make'.
 
13214
+if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
 
13215
+   am__include=include
 
13216
+   am__quote=
 
13217
+   _am_result=GNU
 
13218
+fi
 
13219
+# Now try BSD make style include.
 
13220
+if test "$am__include" = "#"; then
 
13221
+   echo '.include "confinc"' > confmf
 
13222
+   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
 
13223
+      am__include=.include
 
13224
+      am__quote="\""
 
13225
+      _am_result=BSD
 
13226
+   fi
 
13227
+fi
 
13228
+
 
13229
+
 
13230
+{ echo "$as_me:$LINENO: result: $_am_result" >&5
 
13231
+echo "${ECHO_T}$_am_result" >&6; }
 
13232
+rm -f confinc confmf
 
13233
+
 
13234
+# Check whether --enable-dependency-tracking was given.
 
13235
+if test "${enable_dependency_tracking+set}" = set; then
 
13236
+  enableval=$enable_dependency_tracking;
 
13237
+fi
 
13238
+
 
13239
+if test "x$enable_dependency_tracking" != xno; then
 
13240
+  am_depcomp="$ac_aux_dir/depcomp"
 
13241
+  AMDEPBACKSLASH='\'
 
13242
+fi
 
13243
+
 
13244
+
 
13245
+if test "x$enable_dependency_tracking" != xno; then
 
13246
+  AMDEP_TRUE=
 
13247
+  AMDEP_FALSE='#'
 
13248
+else
 
13249
+  AMDEP_TRUE='#'
 
13250
+  AMDEP_FALSE=
 
13251
+fi
 
13252
+
 
13253
+
 
13254
+
 
13255
+ac_ext=c
 
13256
+ac_cpp='$CPP $CPPFLAGS'
 
13257
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
13258
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
13259
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
13260
+if test -n "$ac_tool_prefix"; then
 
13261
+  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 
13262
+set dummy ${ac_tool_prefix}gcc; ac_word=$2
 
13263
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
13264
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
13265
+if test "${ac_cv_prog_CC+set}" = set; then
 
13266
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13267
+else
 
13268
+  if test -n "$CC"; then
 
13269
+  ac_cv_prog_CC="$CC" # Let the user override the test.
 
13270
+else
 
13271
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
13272
+for as_dir in $PATH
 
13273
+do
 
13274
+  IFS=$as_save_IFS
 
13275
+  test -z "$as_dir" && as_dir=.
 
13276
+  for ac_exec_ext in '' $ac_executable_extensions; do
 
13277
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
13278
+    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 
13279
+    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13280
+    break 2
 
13281
+  fi
 
13282
+done
 
13283
+done
 
13284
+IFS=$as_save_IFS
 
13285
+
 
13286
+fi
 
13287
+fi
 
13288
+CC=$ac_cv_prog_CC
 
13289
+if test -n "$CC"; then
 
13290
+  { echo "$as_me:$LINENO: result: $CC" >&5
 
13291
+echo "${ECHO_T}$CC" >&6; }
 
13292
+else
 
13293
+  { echo "$as_me:$LINENO: result: no" >&5
 
13294
+echo "${ECHO_T}no" >&6; }
 
13295
+fi
 
13296
+
 
13297
+
 
13298
+fi
 
13299
+if test -z "$ac_cv_prog_CC"; then
 
13300
+  ac_ct_CC=$CC
 
13301
+  # Extract the first word of "gcc", so it can be a program name with args.
 
13302
+set dummy gcc; ac_word=$2
 
13303
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
13304
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
13305
+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
13306
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13307
+else
 
13308
+  if test -n "$ac_ct_CC"; then
 
13309
+  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
13310
+else
 
13311
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
13312
+for as_dir in $PATH
 
13313
+do
 
13314
+  IFS=$as_save_IFS
 
13315
+  test -z "$as_dir" && as_dir=.
 
13316
+  for ac_exec_ext in '' $ac_executable_extensions; do
 
13317
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
13318
+    ac_cv_prog_ac_ct_CC="gcc"
 
13319
+    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13320
+    break 2
 
13321
+  fi
 
13322
+done
 
13323
+done
 
13324
+IFS=$as_save_IFS
 
13325
+
 
13326
+fi
 
13327
+fi
 
13328
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
13329
+if test -n "$ac_ct_CC"; then
 
13330
+  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
13331
+echo "${ECHO_T}$ac_ct_CC" >&6; }
 
13332
+else
 
13333
+  { echo "$as_me:$LINENO: result: no" >&5
 
13334
+echo "${ECHO_T}no" >&6; }
 
13335
+fi
 
13336
+
 
13337
+  if test "x$ac_ct_CC" = x; then
 
13338
+    CC=""
 
13339
+  else
 
13340
+    case $cross_compiling:$ac_tool_warned in
 
13341
+yes:)
 
13342
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
13343
+whose name does not start with the host triplet.  If you think this
 
13344
+configuration is useful to you, please write to autoconf@gnu.org." >&5
 
13345
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
13346
+whose name does not start with the host triplet.  If you think this
 
13347
+configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
13348
+ac_tool_warned=yes ;;
 
13349
+esac
 
13350
+    CC=$ac_ct_CC
 
13351
+  fi
 
13352
+else
 
13353
+  CC="$ac_cv_prog_CC"
 
13354
+fi
 
13355
+
 
13356
+if test -z "$CC"; then
 
13357
+          if test -n "$ac_tool_prefix"; then
 
13358
+    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
13359
+set dummy ${ac_tool_prefix}cc; ac_word=$2
 
13360
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
13361
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
13362
+if test "${ac_cv_prog_CC+set}" = set; then
 
13363
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13364
+else
 
13365
+  if test -n "$CC"; then
 
13366
+  ac_cv_prog_CC="$CC" # Let the user override the test.
 
13367
+else
 
13368
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
13369
+for as_dir in $PATH
 
13370
+do
 
13371
+  IFS=$as_save_IFS
 
13372
+  test -z "$as_dir" && as_dir=.
 
13373
+  for ac_exec_ext in '' $ac_executable_extensions; do
 
13374
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
13375
+    ac_cv_prog_CC="${ac_tool_prefix}cc"
 
13376
+    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13377
+    break 2
 
13378
+  fi
 
13379
+done
 
13380
+done
 
13381
+IFS=$as_save_IFS
 
13382
+
 
13383
+fi
 
13384
+fi
 
13385
+CC=$ac_cv_prog_CC
 
13386
+if test -n "$CC"; then
 
13387
+  { echo "$as_me:$LINENO: result: $CC" >&5
 
13388
+echo "${ECHO_T}$CC" >&6; }
 
13389
+else
 
13390
+  { echo "$as_me:$LINENO: result: no" >&5
 
13391
+echo "${ECHO_T}no" >&6; }
 
13392
+fi
 
13393
+
 
13394
+
 
13395
+  fi
 
13396
+fi
 
13397
+if test -z "$CC"; then
 
13398
+  # Extract the first word of "cc", so it can be a program name with args.
 
13399
+set dummy cc; ac_word=$2
 
13400
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
13401
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
13402
+if test "${ac_cv_prog_CC+set}" = set; then
 
13403
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13404
+else
 
13405
+  if test -n "$CC"; then
 
13406
+  ac_cv_prog_CC="$CC" # Let the user override the test.
 
13407
+else
 
13408
+  ac_prog_rejected=no
 
13409
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
13410
+for as_dir in $PATH
 
13411
+do
 
13412
+  IFS=$as_save_IFS
 
13413
+  test -z "$as_dir" && as_dir=.
 
13414
+  for ac_exec_ext in '' $ac_executable_extensions; do
 
13415
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
13416
+    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 
13417
+       ac_prog_rejected=yes
 
13418
+       continue
 
13419
+     fi
 
13420
+    ac_cv_prog_CC="cc"
 
13421
+    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13422
+    break 2
 
13423
+  fi
 
13424
+done
 
13425
+done
 
13426
+IFS=$as_save_IFS
 
13427
+
 
13428
+if test $ac_prog_rejected = yes; then
 
13429
+  # We found a bogon in the path, so make sure we never use it.
 
13430
+  set dummy $ac_cv_prog_CC
 
13431
+  shift
 
13432
+  if test $# != 0; then
 
13433
+    # We chose a different compiler from the bogus one.
 
13434
+    # However, it has the same basename, so the bogon will be chosen
 
13435
+    # first if we set CC to just the basename; use the full file name.
 
13436
+    shift
 
13437
+    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 
13438
+  fi
 
13439
+fi
 
13440
+fi
 
13441
+fi
 
13442
+CC=$ac_cv_prog_CC
 
13443
+if test -n "$CC"; then
 
13444
+  { echo "$as_me:$LINENO: result: $CC" >&5
 
13445
+echo "${ECHO_T}$CC" >&6; }
 
13446
+else
 
13447
+  { echo "$as_me:$LINENO: result: no" >&5
 
13448
+echo "${ECHO_T}no" >&6; }
 
13449
+fi
 
13450
+
 
13451
+
 
13452
+fi
 
13453
+if test -z "$CC"; then
 
13454
+  if test -n "$ac_tool_prefix"; then
 
13455
+  for ac_prog in cl.exe
 
13456
+  do
 
13457
+    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
13458
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
13459
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
13460
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
13461
+if test "${ac_cv_prog_CC+set}" = set; then
 
13462
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13463
+else
 
13464
+  if test -n "$CC"; then
 
13465
+  ac_cv_prog_CC="$CC" # Let the user override the test.
 
13466
+else
 
13467
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
13468
+for as_dir in $PATH
 
13469
+do
 
13470
+  IFS=$as_save_IFS
 
13471
+  test -z "$as_dir" && as_dir=.
 
13472
+  for ac_exec_ext in '' $ac_executable_extensions; do
 
13473
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
13474
+    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 
13475
+    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13476
+    break 2
 
13477
+  fi
 
13478
+done
 
13479
+done
 
13480
+IFS=$as_save_IFS
 
13481
+
 
13482
+fi
 
13483
+fi
 
13484
+CC=$ac_cv_prog_CC
 
13485
+if test -n "$CC"; then
 
13486
+  { echo "$as_me:$LINENO: result: $CC" >&5
 
13487
+echo "${ECHO_T}$CC" >&6; }
 
13488
+else
 
13489
+  { echo "$as_me:$LINENO: result: no" >&5
 
13490
+echo "${ECHO_T}no" >&6; }
 
13491
+fi
 
13492
+
 
13493
+
 
13494
+    test -n "$CC" && break
 
13495
+  done
 
13496
+fi
 
13497
+if test -z "$CC"; then
 
13498
+  ac_ct_CC=$CC
 
13499
+  for ac_prog in cl.exe
 
13500
+do
 
13501
+  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
13502
+set dummy $ac_prog; ac_word=$2
 
13503
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
13504
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
13505
+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
13506
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13507
+else
 
13508
+  if test -n "$ac_ct_CC"; then
 
13509
+  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
13510
+else
 
13511
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
13512
+for as_dir in $PATH
 
13513
+do
 
13514
+  IFS=$as_save_IFS
 
13515
+  test -z "$as_dir" && as_dir=.
 
13516
+  for ac_exec_ext in '' $ac_executable_extensions; do
 
13517
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
13518
+    ac_cv_prog_ac_ct_CC="$ac_prog"
 
13519
+    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13520
+    break 2
 
13521
+  fi
 
13522
+done
 
13523
+done
 
13524
+IFS=$as_save_IFS
 
13525
+
 
13526
+fi
 
13527
+fi
 
13528
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
13529
+if test -n "$ac_ct_CC"; then
 
13530
+  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
13531
+echo "${ECHO_T}$ac_ct_CC" >&6; }
 
13532
+else
 
13533
+  { echo "$as_me:$LINENO: result: no" >&5
 
13534
+echo "${ECHO_T}no" >&6; }
 
13535
+fi
 
13536
+
 
13537
+
 
13538
+  test -n "$ac_ct_CC" && break
 
13539
+done
 
13540
+
 
13541
+  if test "x$ac_ct_CC" = x; then
 
13542
+    CC=""
 
13543
+  else
 
13544
+    case $cross_compiling:$ac_tool_warned in
 
13545
+yes:)
 
13546
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
13547
+whose name does not start with the host triplet.  If you think this
 
13548
+configuration is useful to you, please write to autoconf@gnu.org." >&5
 
13549
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
13550
+whose name does not start with the host triplet.  If you think this
 
13551
+configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
13552
+ac_tool_warned=yes ;;
 
13553
+esac
 
13554
+    CC=$ac_ct_CC
 
13555
+  fi
 
13556
+fi
 
13557
+
 
13558
+fi
 
13559
+
 
13560
+
 
13561
+test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
13562
+See \`config.log' for more details." >&5
 
13563
+echo "$as_me: error: no acceptable C compiler found in \$PATH
 
13564
+See \`config.log' for more details." >&2;}
 
13565
+   { (exit 1); exit 1; }; }
 
13566
+
 
13567
+# Provide some information about the compiler.
 
13568
+echo "$as_me:$LINENO: checking for C compiler version" >&5
 
13569
+ac_compiler=`set X $ac_compile; echo $2`
 
13570
+{ (ac_try="$ac_compiler --version >&5"
 
13571
+case "(($ac_try" in
 
13572
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13573
+  *) ac_try_echo=$ac_try;;
 
13574
+esac
 
13575
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13576
+  (eval "$ac_compiler --version >&5") 2>&5
 
13577
+  ac_status=$?
 
13578
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13579
+  (exit $ac_status); }
 
13580
+{ (ac_try="$ac_compiler -v >&5"
 
13581
+case "(($ac_try" in
 
13582
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13583
+  *) ac_try_echo=$ac_try;;
 
13584
+esac
 
13585
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13586
+  (eval "$ac_compiler -v >&5") 2>&5
 
13587
+  ac_status=$?
 
13588
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13589
+  (exit $ac_status); }
 
13590
+{ (ac_try="$ac_compiler -V >&5"
 
13591
+case "(($ac_try" in
 
13592
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13593
+  *) ac_try_echo=$ac_try;;
 
13594
+esac
 
13595
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13596
+  (eval "$ac_compiler -V >&5") 2>&5
 
13597
+  ac_status=$?
 
13598
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13599
+  (exit $ac_status); }
 
13600
+
 
13601
+cat >conftest.$ac_ext <<_ACEOF
 
13602
+/* confdefs.h.  */
 
13603
+_ACEOF
 
13604
+cat confdefs.h >>conftest.$ac_ext
 
13605
+cat >>conftest.$ac_ext <<_ACEOF
 
13606
+/* end confdefs.h.  */
 
13607
+
 
13608
+int
 
13609
+main ()
 
13610
+{
 
13611
+
 
13612
+  ;
 
13613
+  return 0;
 
13614
+}
 
13615
+_ACEOF
 
13616
+ac_clean_files_save=$ac_clean_files
 
13617
+ac_clean_files="$ac_clean_files a.out a.exe b.out"
 
13618
+# Try to create an executable without -o first, disregard a.out.
 
13619
+# It will help us diagnose broken compilers, and finding out an intuition
 
13620
+# of exeext.
 
13621
+{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
13622
+echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
 
13623
+ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
13624
+#
 
13625
+# List of possible output files, starting from the most likely.
 
13626
+# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
 
13627
+# only as a last resort.  b.out is created by i960 compilers.
 
13628
+ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
 
13629
+#
 
13630
+# The IRIX 6 linker writes into existing files which may not be
 
13631
+# executable, retaining their permissions.  Remove them first so a
 
13632
+# subsequent execution test works.
 
13633
+ac_rmfiles=
 
13634
+for ac_file in $ac_files
 
13635
+do
 
13636
+  case $ac_file in
 
13637
+    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
13638
+    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
13639
+  esac
 
13640
+done
 
13641
+rm -f $ac_rmfiles
 
13642
+
 
13643
+if { (ac_try="$ac_link_default"
 
13644
+case "(($ac_try" in
 
13645
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13646
+  *) ac_try_echo=$ac_try;;
 
13647
+esac
 
13648
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13649
+  (eval "$ac_link_default") 2>&5
 
13650
+  ac_status=$?
 
13651
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13652
+  (exit $ac_status); }; then
 
13653
+  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
13654
+# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
13655
+# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
13656
+# so that the user can short-circuit this test for compilers unknown to
 
13657
+# Autoconf.
 
13658
+for ac_file in $ac_files ''
 
13659
+do
 
13660
+  test -f "$ac_file" || continue
 
13661
+  case $ac_file in
 
13662
+    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
 
13663
+       ;;
 
13664
+    [ab].out )
 
13665
+       # We found the default executable, but exeext='' is most
 
13666
+       # certainly right.
 
13667
+       break;;
 
13668
+    *.* )
 
13669
+        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
13670
+       then :; else
 
13671
+          ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
13672
+       fi
 
13673
+       # We set ac_cv_exeext here because the later test for it is not
 
13674
+       # safe: cross compilers may not add the suffix if given an `-o'
 
13675
+       # argument, so we may need to know it at that point already.
 
13676
+       # Even if this section looks crufty: it has the advantage of
 
13677
+       # actually working.
 
13678
+       break;;
 
13679
+    * )
 
13680
+       break;;
 
13681
+  esac
 
13682
+done
 
13683
+test "$ac_cv_exeext" = no && ac_cv_exeext=
 
13684
+
 
13685
+else
 
13686
+  ac_file=''
 
13687
+fi
 
13688
+
 
13689
+{ echo "$as_me:$LINENO: result: $ac_file" >&5
 
13690
+echo "${ECHO_T}$ac_file" >&6; }
 
13691
+if test -z "$ac_file"; then
 
13692
+  echo "$as_me: failed program was:" >&5
 
13693
+sed 's/^/| /' conftest.$ac_ext >&5
 
13694
+
 
13695
+{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
 
13696
+See \`config.log' for more details." >&5
 
13697
+echo "$as_me: error: C compiler cannot create executables
 
13698
+See \`config.log' for more details." >&2;}
 
13699
+   { (exit 77); exit 77; }; }
 
13700
+fi
 
13701
+
 
13702
+ac_exeext=$ac_cv_exeext
 
13703
+
 
13704
+# Check that the compiler produces executables we can run.  If not, either
 
13705
+# the compiler is broken, or we cross compile.
 
13706
+{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
13707
+echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
 
13708
+# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
 
13709
+# If not cross compiling, check that we can run a simple program.
 
13710
+if test "$cross_compiling" != yes; then
 
13711
+  if { ac_try='./$ac_file'
 
13712
+  { (case "(($ac_try" in
 
13713
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13714
+  *) ac_try_echo=$ac_try;;
 
13715
+esac
 
13716
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13717
+  (eval "$ac_try") 2>&5
 
13718
+  ac_status=$?
 
13719
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13720
+  (exit $ac_status); }; }; then
 
13721
+    cross_compiling=no
 
13722
+  else
 
13723
+    if test "$cross_compiling" = maybe; then
 
13724
+       cross_compiling=yes
 
13725
+    else
 
13726
+       { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
 
13727
+If you meant to cross compile, use \`--host'.
 
13728
+See \`config.log' for more details." >&5
 
13729
+echo "$as_me: error: cannot run C compiled programs.
 
13730
+If you meant to cross compile, use \`--host'.
 
13731
+See \`config.log' for more details." >&2;}
 
13732
+   { (exit 1); exit 1; }; }
 
13733
+    fi
 
13734
+  fi
 
13735
+fi
 
13736
+{ echo "$as_me:$LINENO: result: yes" >&5
 
13737
+echo "${ECHO_T}yes" >&6; }
 
13738
+
 
13739
+rm -f a.out a.exe conftest$ac_cv_exeext b.out
 
13740
+ac_clean_files=$ac_clean_files_save
 
13741
+# Check that the compiler produces executables we can run.  If not, either
 
13742
+# the compiler is broken, or we cross compile.
 
13743
+{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
13744
+echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
 
13745
+{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
13746
+echo "${ECHO_T}$cross_compiling" >&6; }
 
13747
+
 
13748
+{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
13749
+echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
 
13750
+if { (ac_try="$ac_link"
 
13751
+case "(($ac_try" in
 
13752
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13753
+  *) ac_try_echo=$ac_try;;
 
13754
+esac
 
13755
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13756
+  (eval "$ac_link") 2>&5
 
13757
+  ac_status=$?
 
13758
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13759
+  (exit $ac_status); }; then
 
13760
+  # If both `conftest.exe' and `conftest' are `present' (well, observable)
 
13761
+# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 
13762
+# work properly (i.e., refer to `conftest.exe'), while it won't with
 
13763
+# `rm'.
 
13764
+for ac_file in conftest.exe conftest conftest.*; do
 
13765
+  test -f "$ac_file" || continue
 
13766
+  case $ac_file in
 
13767
+    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
13768
+    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
13769
+         break;;
 
13770
+    * ) break;;
 
13771
+  esac
 
13772
+done
 
13773
+else
 
13774
+  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
 
13775
+See \`config.log' for more details." >&5
 
13776
+echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
 
13777
+See \`config.log' for more details." >&2;}
 
13778
+   { (exit 1); exit 1; }; }
 
13779
+fi
 
13780
+
 
13781
+rm -f conftest$ac_cv_exeext
 
13782
+{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
13783
+echo "${ECHO_T}$ac_cv_exeext" >&6; }
 
13784
+
 
13785
+rm -f conftest.$ac_ext
 
13786
+EXEEXT=$ac_cv_exeext
 
13787
+ac_exeext=$EXEEXT
 
13788
+{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
13789
+echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
 
13790
+if test "${ac_cv_objext+set}" = set; then
 
13791
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13792
+else
 
13793
+  cat >conftest.$ac_ext <<_ACEOF
 
13794
+/* confdefs.h.  */
 
13795
+_ACEOF
 
13796
+cat confdefs.h >>conftest.$ac_ext
 
13797
+cat >>conftest.$ac_ext <<_ACEOF
 
13798
+/* end confdefs.h.  */
 
13799
+
 
13800
+int
 
13801
+main ()
 
13802
+{
 
13803
+
 
13804
+  ;
 
13805
+  return 0;
 
13806
+}
 
13807
+_ACEOF
 
13808
+rm -f conftest.o conftest.obj
 
13809
+if { (ac_try="$ac_compile"
 
13810
+case "(($ac_try" in
 
13811
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13812
+  *) ac_try_echo=$ac_try;;
 
13813
+esac
 
13814
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13815
+  (eval "$ac_compile") 2>&5
 
13816
+  ac_status=$?
 
13817
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13818
+  (exit $ac_status); }; then
 
13819
+  for ac_file in conftest.o conftest.obj conftest.*; do
 
13820
+  test -f "$ac_file" || continue;
 
13821
+  case $ac_file in
 
13822
+    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
 
13823
+    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 
13824
+       break;;
 
13825
+  esac
 
13826
+done
 
13827
+else
 
13828
+  echo "$as_me: failed program was:" >&5
 
13829
+sed 's/^/| /' conftest.$ac_ext >&5
 
13830
+
 
13831
+{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
 
13832
+See \`config.log' for more details." >&5
 
13833
+echo "$as_me: error: cannot compute suffix of object files: cannot compile
 
13834
+See \`config.log' for more details." >&2;}
 
13835
+   { (exit 1); exit 1; }; }
 
13836
+fi
 
13837
+
 
13838
+rm -f conftest.$ac_cv_objext conftest.$ac_ext
 
13839
+fi
 
13840
+{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
13841
+echo "${ECHO_T}$ac_cv_objext" >&6; }
 
13842
+OBJEXT=$ac_cv_objext
 
13843
+ac_objext=$OBJEXT
 
13844
+{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
13845
+echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
 
13846
+if test "${ac_cv_c_compiler_gnu+set}" = set; then
 
13847
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13848
+else
 
13849
+  cat >conftest.$ac_ext <<_ACEOF
 
13850
+/* confdefs.h.  */
 
13851
+_ACEOF
 
13852
+cat confdefs.h >>conftest.$ac_ext
 
13853
+cat >>conftest.$ac_ext <<_ACEOF
 
13854
+/* end confdefs.h.  */
 
13855
+
 
13856
+int
 
13857
+main ()
 
13858
+{
 
13859
+#ifndef __GNUC__
 
13860
+       choke me
 
13861
+#endif
 
13862
+
 
13863
+  ;
 
13864
+  return 0;
 
13865
+}
 
13866
+_ACEOF
 
13867
+rm -f conftest.$ac_objext
 
13868
+if { (ac_try="$ac_compile"
 
13869
+case "(($ac_try" in
 
13870
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13871
+  *) ac_try_echo=$ac_try;;
 
13872
+esac
 
13873
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13874
+  (eval "$ac_compile") 2>conftest.er1
 
13875
+  ac_status=$?
 
13876
+  grep -v '^ *+' conftest.er1 >conftest.err
 
13877
+  rm -f conftest.er1
 
13878
+  cat conftest.err >&5
 
13879
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13880
+  (exit $ac_status); } && {
 
13881
+        test -z "$ac_c_werror_flag" ||
 
13882
+        test ! -s conftest.err
 
13883
+       } && test -s conftest.$ac_objext; then
 
13884
+  ac_compiler_gnu=yes
 
13885
+else
 
13886
+  echo "$as_me: failed program was:" >&5
 
13887
+sed 's/^/| /' conftest.$ac_ext >&5
 
13888
+
 
13889
+       ac_compiler_gnu=no
 
13890
+fi
 
13891
+
 
13892
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
13893
+ac_cv_c_compiler_gnu=$ac_compiler_gnu
 
13894
+
 
13895
+fi
 
13896
+{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
13897
+echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
 
13898
+GCC=`test $ac_compiler_gnu = yes && echo yes`
 
13899
+ac_test_CFLAGS=${CFLAGS+set}
 
13900
+ac_save_CFLAGS=$CFLAGS
 
13901
+{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
13902
+echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
 
13903
+if test "${ac_cv_prog_cc_g+set}" = set; then
 
13904
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13905
+else
 
13906
+  ac_save_c_werror_flag=$ac_c_werror_flag
 
13907
+   ac_c_werror_flag=yes
 
13908
+   ac_cv_prog_cc_g=no
 
13909
+   CFLAGS="-g"
 
13910
+   cat >conftest.$ac_ext <<_ACEOF
 
13911
+/* confdefs.h.  */
 
13912
+_ACEOF
 
13913
+cat confdefs.h >>conftest.$ac_ext
 
13914
+cat >>conftest.$ac_ext <<_ACEOF
 
13915
+/* end confdefs.h.  */
 
13916
+
 
13917
+int
 
13918
+main ()
 
13919
+{
 
13920
+
 
13921
+  ;
 
13922
+  return 0;
 
13923
+}
 
13924
+_ACEOF
 
13925
+rm -f conftest.$ac_objext
 
13926
+if { (ac_try="$ac_compile"
 
13927
+case "(($ac_try" in
 
13928
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13929
+  *) ac_try_echo=$ac_try;;
 
13930
+esac
 
13931
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13932
+  (eval "$ac_compile") 2>conftest.er1
 
13933
+  ac_status=$?
 
13934
+  grep -v '^ *+' conftest.er1 >conftest.err
 
13935
+  rm -f conftest.er1
 
13936
+  cat conftest.err >&5
 
13937
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13938
+  (exit $ac_status); } && {
 
13939
+        test -z "$ac_c_werror_flag" ||
 
13940
+        test ! -s conftest.err
 
13941
+       } && test -s conftest.$ac_objext; then
 
13942
+  ac_cv_prog_cc_g=yes
 
13943
+else
 
13944
+  echo "$as_me: failed program was:" >&5
 
13945
+sed 's/^/| /' conftest.$ac_ext >&5
 
13946
+
 
13947
+       CFLAGS=""
 
13948
+      cat >conftest.$ac_ext <<_ACEOF
 
13949
+/* confdefs.h.  */
 
13950
+_ACEOF
 
13951
+cat confdefs.h >>conftest.$ac_ext
 
13952
+cat >>conftest.$ac_ext <<_ACEOF
 
13953
+/* end confdefs.h.  */
 
13954
+
 
13955
+int
 
13956
+main ()
 
13957
+{
 
13958
+
 
13959
+  ;
 
13960
+  return 0;
 
13961
+}
 
13962
+_ACEOF
 
13963
+rm -f conftest.$ac_objext
 
13964
+if { (ac_try="$ac_compile"
 
13965
+case "(($ac_try" in
 
13966
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13967
+  *) ac_try_echo=$ac_try;;
 
13968
+esac
 
13969
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13970
+  (eval "$ac_compile") 2>conftest.er1
 
13971
+  ac_status=$?
 
13972
+  grep -v '^ *+' conftest.er1 >conftest.err
 
13973
+  rm -f conftest.er1
 
13974
+  cat conftest.err >&5
 
13975
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13976
+  (exit $ac_status); } && {
 
13977
+        test -z "$ac_c_werror_flag" ||
 
13978
+        test ! -s conftest.err
 
13979
+       } && test -s conftest.$ac_objext; then
 
13980
+  :
 
13981
+else
 
13982
+  echo "$as_me: failed program was:" >&5
 
13983
+sed 's/^/| /' conftest.$ac_ext >&5
 
13984
+
 
13985
+       ac_c_werror_flag=$ac_save_c_werror_flag
 
13986
+        CFLAGS="-g"
 
13987
+        cat >conftest.$ac_ext <<_ACEOF
 
13988
+/* confdefs.h.  */
 
13989
+_ACEOF
 
13990
+cat confdefs.h >>conftest.$ac_ext
 
13991
+cat >>conftest.$ac_ext <<_ACEOF
 
13992
+/* end confdefs.h.  */
 
13993
+
 
13994
+int
 
13995
+main ()
 
13996
+{
 
13997
+
 
13998
+  ;
 
13999
+  return 0;
 
14000
+}
 
14001
+_ACEOF
 
14002
+rm -f conftest.$ac_objext
 
14003
+if { (ac_try="$ac_compile"
 
14004
+case "(($ac_try" in
 
14005
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14006
+  *) ac_try_echo=$ac_try;;
 
14007
+esac
 
14008
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14009
+  (eval "$ac_compile") 2>conftest.er1
 
14010
+  ac_status=$?
 
14011
+  grep -v '^ *+' conftest.er1 >conftest.err
 
14012
+  rm -f conftest.er1
 
14013
+  cat conftest.err >&5
 
14014
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14015
+  (exit $ac_status); } && {
 
14016
+        test -z "$ac_c_werror_flag" ||
 
14017
+        test ! -s conftest.err
 
14018
+       } && test -s conftest.$ac_objext; then
 
14019
+  ac_cv_prog_cc_g=yes
 
14020
+else
 
14021
+  echo "$as_me: failed program was:" >&5
 
14022
+sed 's/^/| /' conftest.$ac_ext >&5
 
14023
+
 
14024
+
 
14025
+fi
 
14026
+
 
14027
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
14028
+fi
 
14029
+
 
14030
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
14031
+fi
 
14032
+
 
14033
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
14034
+   ac_c_werror_flag=$ac_save_c_werror_flag
 
14035
+fi
 
14036
+{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
14037
+echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
 
14038
+if test "$ac_test_CFLAGS" = set; then
 
14039
+  CFLAGS=$ac_save_CFLAGS
 
14040
+elif test $ac_cv_prog_cc_g = yes; then
 
14041
+  if test "$GCC" = yes; then
 
14042
+    CFLAGS="-g -O2"
 
14043
+  else
 
14044
+    CFLAGS="-g"
 
14045
+  fi
 
14046
+else
 
14047
+  if test "$GCC" = yes; then
 
14048
+    CFLAGS="-O2"
 
14049
+  else
 
14050
+    CFLAGS=
 
14051
+  fi
 
14052
+fi
 
14053
+{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
14054
+echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
14055
+if test "${ac_cv_prog_cc_c89+set}" = set; then
 
14056
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14057
+else
 
14058
+  ac_cv_prog_cc_c89=no
 
14059
+ac_save_CC=$CC
 
14060
+cat >conftest.$ac_ext <<_ACEOF
 
14061
+/* confdefs.h.  */
 
14062
+_ACEOF
 
14063
+cat confdefs.h >>conftest.$ac_ext
 
14064
+cat >>conftest.$ac_ext <<_ACEOF
 
14065
+/* end confdefs.h.  */
 
14066
+#include <stdarg.h>
 
14067
+#include <stdio.h>
 
14068
+#include <sys/types.h>
 
14069
+#include <sys/stat.h>
 
14070
+/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 
14071
+struct buf { int x; };
 
14072
+FILE * (*rcsopen) (struct buf *, struct stat *, int);
 
14073
+static char *e (p, i)
 
14074
+     char **p;
 
14075
+     int i;
 
14076
+{
 
14077
+  return p[i];
 
14078
+}
 
14079
+static char *f (char * (*g) (char **, int), char **p, ...)
 
14080
+{
 
14081
+  char *s;
 
14082
+  va_list v;
 
14083
+  va_start (v,p);
 
14084
+  s = g (p, va_arg (v,int));
 
14085
+  va_end (v);
 
14086
+  return s;
 
14087
+}
 
14088
+
 
14089
+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
14090
+   function prototypes and stuff, but not '\xHH' hex character constants.
 
14091
+   These don't provoke an error unfortunately, instead are silently treated
 
14092
+   as 'x'.  The following induces an error, until -std is added to get
 
14093
+   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
14094
+   array size at least.  It's necessary to write '\x00'==0 to get something
 
14095
+   that's true only with -std.  */
 
14096
+int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
14097
+
 
14098
+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
14099
+   inside strings and character constants.  */
 
14100
+#define FOO(x) 'x'
 
14101
+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
14102
+
 
14103
+int test (int i, double x);
 
14104
+struct s1 {int (*f) (int a);};
 
14105
+struct s2 {int (*f) (double a);};
 
14106
+int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 
14107
+int argc;
 
14108
+char **argv;
 
14109
+int
 
14110
+main ()
 
14111
+{
 
14112
+return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
14113
+  ;
 
14114
+  return 0;
 
14115
+}
 
14116
+_ACEOF
 
14117
+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
14118
+       -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
14119
+do
 
14120
+  CC="$ac_save_CC $ac_arg"
 
14121
+  rm -f conftest.$ac_objext
 
14122
+if { (ac_try="$ac_compile"
 
14123
+case "(($ac_try" in
 
14124
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14125
+  *) ac_try_echo=$ac_try;;
 
14126
+esac
 
14127
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14128
+  (eval "$ac_compile") 2>conftest.er1
 
14129
+  ac_status=$?
 
14130
+  grep -v '^ *+' conftest.er1 >conftest.err
 
14131
+  rm -f conftest.er1
 
14132
+  cat conftest.err >&5
 
14133
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14134
+  (exit $ac_status); } && {
 
14135
+        test -z "$ac_c_werror_flag" ||
 
14136
+        test ! -s conftest.err
 
14137
+       } && test -s conftest.$ac_objext; then
 
14138
+  ac_cv_prog_cc_c89=$ac_arg
 
14139
+else
 
14140
+  echo "$as_me: failed program was:" >&5
 
14141
+sed 's/^/| /' conftest.$ac_ext >&5
 
14142
+
 
14143
+
 
14144
+fi
 
14145
+
 
14146
+rm -f core conftest.err conftest.$ac_objext
 
14147
+  test "x$ac_cv_prog_cc_c89" != "xno" && break
 
14148
+done
 
14149
+rm -f conftest.$ac_ext
 
14150
+CC=$ac_save_CC
 
14151
+
 
14152
+fi
 
14153
+# AC_CACHE_VAL
 
14154
+case "x$ac_cv_prog_cc_c89" in
 
14155
+  x)
 
14156
+    { echo "$as_me:$LINENO: result: none needed" >&5
 
14157
+echo "${ECHO_T}none needed" >&6; } ;;
 
14158
+  xno)
 
14159
+    { echo "$as_me:$LINENO: result: unsupported" >&5
 
14160
+echo "${ECHO_T}unsupported" >&6; } ;;
 
14161
+  *)
 
14162
+    CC="$CC $ac_cv_prog_cc_c89"
 
14163
+    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
14164
+echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
 
14165
+esac
 
14166
+
 
14167
+
 
14168
+ac_ext=c
 
14169
+ac_cpp='$CPP $CPPFLAGS'
 
14170
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
14171
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
14172
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
14173
+
 
14174
+depcc="$CC"   am_compiler_list=
 
14175
+
 
14176
+{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
14177
+echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
 
14178
+if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 
14179
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14180
+else
 
14181
+  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
14182
+  # We make a subdir and do the tests there.  Otherwise we can end up
 
14183
+  # making bogus files that we don't know about and never remove.  For
 
14184
+  # instance it was reported that on HP-UX the gcc test will end up
 
14185
+  # making a dummy file named `D' -- because `-MD' means `put the output
 
14186
+  # in D'.
 
14187
+  mkdir conftest.dir
 
14188
+  # Copy depcomp to subdir because otherwise we won't find it if we're
 
14189
+  # using a relative directory.
 
14190
+  cp "$am_depcomp" conftest.dir
 
14191
+  cd conftest.dir
 
14192
+  # We will build objects and dependencies in a subdirectory because
 
14193
+  # it helps to detect inapplicable dependency modes.  For instance
 
14194
+  # both Tru64's cc and ICC support -MD to output dependencies as a
 
14195
+  # side effect of compilation, but ICC will put the dependencies in
 
14196
+  # the current directory while Tru64 will put them in the object
 
14197
+  # directory.
 
14198
+  mkdir sub
 
14199
+
 
14200
+  am_cv_CC_dependencies_compiler_type=none
 
14201
+  if test "$am_compiler_list" = ""; then
 
14202
+     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
14203
+  fi
 
14204
+  for depmode in $am_compiler_list; do
 
14205
+    # Setup a source with many dependencies, because some compilers
 
14206
+    # like to wrap large dependency lists on column 80 (with \), and
 
14207
+    # we should not choose a depcomp mode which is confused by this.
 
14208
+    #
 
14209
+    # We need to recreate these files for each test, as the compiler may
 
14210
+    # overwrite some of them when testing with obscure command lines.
 
14211
+    # This happens at least with the AIX C compiler.
 
14212
+    : > sub/conftest.c
 
14213
+    for i in 1 2 3 4 5 6; do
 
14214
+      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
14215
+      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
14216
+      # Solaris 8's {/usr,}/bin/sh.
 
14217
+      touch sub/conftst$i.h
 
14218
+    done
 
14219
+    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
14220
+
 
14221
+    case $depmode in
 
14222
+    nosideeffect)
 
14223
+      # after this tag, mechanisms are not by side-effect, so they'll
 
14224
+      # only be used when explicitly requested
 
14225
+      if test "x$enable_dependency_tracking" = xyes; then
 
14226
+       continue
 
14227
+      else
 
14228
+       break
 
14229
+      fi
 
14230
+      ;;
 
14231
+    none) break ;;
 
14232
+    esac
 
14233
+    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
14234
+    # mode.  It turns out that the SunPro C++ compiler does not properly
 
14235
+    # handle `-M -o', and we need to detect this.
 
14236
+    if depmode=$depmode \
 
14237
+       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
14238
+       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
14239
+       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
14240
+         >/dev/null 2>conftest.err &&
 
14241
+       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
14242
+       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
14243
+       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
14244
+      # icc doesn't choke on unknown options, it will just issue warnings
 
14245
+      # or remarks (even with -Werror).  So we grep stderr for any message
 
14246
+      # that says an option was ignored or not supported.
 
14247
+      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
14248
+      #   icc: Command line warning: ignoring option '-M'; no argument required
 
14249
+      # The diagnosis changed in icc 8.0:
 
14250
+      #   icc: Command line remark: option '-MP' not supported
 
14251
+      if (grep 'ignoring option' conftest.err ||
 
14252
+          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
14253
+        am_cv_CC_dependencies_compiler_type=$depmode
 
14254
+        break
 
14255
+      fi
 
14256
+    fi
 
14257
+  done
 
14258
+
 
14259
+  cd ..
 
14260
+  rm -rf conftest.dir
 
14261
+else
 
14262
+  am_cv_CC_dependencies_compiler_type=none
 
14263
+fi
 
14264
+
 
14265
+fi
 
14266
+{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
14267
+echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
 
14268
+CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 
14269
+
 
14270
+
 
14271
+
 
14272
+if
 
14273
+  test "x$enable_dependency_tracking" != xno \
 
14274
+  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 
14275
+  am__fastdepCC_TRUE=
 
14276
+  am__fastdepCC_FALSE='#'
 
14277
+else
 
14278
+  am__fastdepCC_TRUE='#'
 
14279
+  am__fastdepCC_FALSE=
 
14280
+fi
 
14281
+
 
14282
+
 
14283
+
 
14284
+{ echo "$as_me:$LINENO: checking for library containing strerror" >&5
 
14285
+echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
 
14286
+if test "${ac_cv_search_strerror+set}" = set; then
 
14287
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14288
+else
 
14289
+  ac_func_search_save_LIBS=$LIBS
 
14290
+cat >conftest.$ac_ext <<_ACEOF
 
14291
+/* confdefs.h.  */
 
14292
+_ACEOF
 
14293
+cat confdefs.h >>conftest.$ac_ext
 
14294
+cat >>conftest.$ac_ext <<_ACEOF
 
14295
+/* end confdefs.h.  */
 
14296
+
 
14297
+/* Override any GCC internal prototype to avoid an error.
 
14298
+   Use char because int might match the return type of a GCC
 
14299
+   builtin and then its argument prototype would still apply.  */
 
14300
+#ifdef __cplusplus
 
14301
+extern "C"
 
14302
+#endif
 
14303
+char strerror ();
 
14304
+int
 
14305
+main ()
 
14306
+{
 
14307
+return strerror ();
 
14308
+  ;
 
14309
+  return 0;
 
14310
+}
 
14311
+_ACEOF
 
14312
+for ac_lib in '' cposix; do
 
14313
+  if test -z "$ac_lib"; then
 
14314
+    ac_res="none required"
 
14315
+  else
 
14316
+    ac_res=-l$ac_lib
 
14317
+    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 
14318
+  fi
 
14319
+  rm -f conftest.$ac_objext conftest$ac_exeext
 
14320
+if { (ac_try="$ac_link"
 
14321
+case "(($ac_try" in
 
14322
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14323
+  *) ac_try_echo=$ac_try;;
 
14324
+esac
 
14325
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14326
+  (eval "$ac_link") 2>conftest.er1
 
14327
+  ac_status=$?
 
14328
+  grep -v '^ *+' conftest.er1 >conftest.err
 
14329
+  rm -f conftest.er1
 
14330
+  cat conftest.err >&5
 
14331
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14332
+  (exit $ac_status); } && {
 
14333
+        test -z "$ac_c_werror_flag" ||
 
14334
+        test ! -s conftest.err
 
14335
+       } && test -s conftest$ac_exeext &&
 
14336
+       $as_test_x conftest$ac_exeext; then
 
14337
+  ac_cv_search_strerror=$ac_res
 
14338
+else
 
14339
+  echo "$as_me: failed program was:" >&5
 
14340
+sed 's/^/| /' conftest.$ac_ext >&5
 
14341
+
 
14342
+
 
14343
+fi
 
14344
+
 
14345
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
14346
+      conftest$ac_exeext
 
14347
+  if test "${ac_cv_search_strerror+set}" = set; then
 
14348
+  break
 
14349
+fi
 
14350
+done
 
14351
+if test "${ac_cv_search_strerror+set}" = set; then
 
14352
+  :
 
14353
+else
 
14354
+  ac_cv_search_strerror=no
 
14355
+fi
 
14356
+rm conftest.$ac_ext
 
14357
+LIBS=$ac_func_search_save_LIBS
 
14358
+fi
 
14359
+{ echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
 
14360
+echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
 
14361
+ac_res=$ac_cv_search_strerror
 
14362
+if test "$ac_res" != no; then
 
14363
+  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
14364
+
 
14365
+fi
 
14366
+
 
14367
+ac_ext=c
 
14368
+ac_cpp='$CPP $CPPFLAGS'
 
14369
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
14370
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
14371
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
14372
+if test -n "$ac_tool_prefix"; then
 
14373
+  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 
14374
+set dummy ${ac_tool_prefix}gcc; ac_word=$2
 
14375
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
14376
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
14377
+if test "${ac_cv_prog_CC+set}" = set; then
 
14378
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14379
+else
 
14380
+  if test -n "$CC"; then
 
14381
+  ac_cv_prog_CC="$CC" # Let the user override the test.
 
14382
+else
 
14383
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
14384
+for as_dir in $PATH
 
14385
+do
 
14386
+  IFS=$as_save_IFS
 
14387
+  test -z "$as_dir" && as_dir=.
 
14388
+  for ac_exec_ext in '' $ac_executable_extensions; do
 
14389
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
14390
+    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 
14391
+    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14392
+    break 2
 
14393
+  fi
 
14394
+done
 
14395
+done
 
14396
+IFS=$as_save_IFS
 
14397
+
 
14398
+fi
 
14399
+fi
 
14400
+CC=$ac_cv_prog_CC
 
14401
+if test -n "$CC"; then
 
14402
+  { echo "$as_me:$LINENO: result: $CC" >&5
 
14403
+echo "${ECHO_T}$CC" >&6; }
 
14404
+else
 
14405
+  { echo "$as_me:$LINENO: result: no" >&5
 
14406
+echo "${ECHO_T}no" >&6; }
 
14407
+fi
 
14408
+
 
14409
+
 
14410
+fi
 
14411
+if test -z "$ac_cv_prog_CC"; then
 
14412
+  ac_ct_CC=$CC
 
14413
+  # Extract the first word of "gcc", so it can be a program name with args.
 
14414
+set dummy gcc; ac_word=$2
 
14415
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
14416
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
14417
+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
14418
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14419
+else
 
14420
+  if test -n "$ac_ct_CC"; then
 
14421
+  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
14422
+else
 
14423
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
14424
+for as_dir in $PATH
 
14425
+do
 
14426
+  IFS=$as_save_IFS
 
14427
+  test -z "$as_dir" && as_dir=.
 
14428
+  for ac_exec_ext in '' $ac_executable_extensions; do
 
14429
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
14430
+    ac_cv_prog_ac_ct_CC="gcc"
 
14431
+    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14432
+    break 2
 
14433
+  fi
 
14434
+done
 
14435
+done
 
14436
+IFS=$as_save_IFS
 
14437
+
 
14438
+fi
 
14439
+fi
 
14440
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
14441
+if test -n "$ac_ct_CC"; then
 
14442
+  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
14443
+echo "${ECHO_T}$ac_ct_CC" >&6; }
 
14444
+else
 
14445
+  { echo "$as_me:$LINENO: result: no" >&5
 
14446
+echo "${ECHO_T}no" >&6; }
 
14447
+fi
 
14448
+
 
14449
+  if test "x$ac_ct_CC" = x; then
 
14450
+    CC=""
 
14451
+  else
 
14452
+    case $cross_compiling:$ac_tool_warned in
 
14453
+yes:)
 
14454
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
14455
+whose name does not start with the host triplet.  If you think this
 
14456
+configuration is useful to you, please write to autoconf@gnu.org." >&5
 
14457
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
14458
+whose name does not start with the host triplet.  If you think this
 
14459
+configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
14460
+ac_tool_warned=yes ;;
 
14461
+esac
 
14462
+    CC=$ac_ct_CC
 
14463
+  fi
 
14464
+else
 
14465
+  CC="$ac_cv_prog_CC"
 
14466
+fi
 
14467
+
 
14468
+if test -z "$CC"; then
 
14469
+          if test -n "$ac_tool_prefix"; then
 
14470
+    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
14471
+set dummy ${ac_tool_prefix}cc; ac_word=$2
 
14472
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
14473
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
14474
+if test "${ac_cv_prog_CC+set}" = set; then
 
14475
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14476
+else
 
14477
+  if test -n "$CC"; then
 
14478
+  ac_cv_prog_CC="$CC" # Let the user override the test.
 
14479
+else
 
14480
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
14481
+for as_dir in $PATH
 
14482
+do
 
14483
+  IFS=$as_save_IFS
 
14484
+  test -z "$as_dir" && as_dir=.
 
14485
+  for ac_exec_ext in '' $ac_executable_extensions; do
 
14486
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
14487
+    ac_cv_prog_CC="${ac_tool_prefix}cc"
 
14488
+    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14489
+    break 2
 
14490
+  fi
 
14491
+done
 
14492
+done
 
14493
+IFS=$as_save_IFS
 
14494
+
 
14495
+fi
 
14496
+fi
 
14497
+CC=$ac_cv_prog_CC
 
14498
+if test -n "$CC"; then
 
14499
+  { echo "$as_me:$LINENO: result: $CC" >&5
 
14500
+echo "${ECHO_T}$CC" >&6; }
 
14501
+else
 
14502
+  { echo "$as_me:$LINENO: result: no" >&5
 
14503
+echo "${ECHO_T}no" >&6; }
 
14504
+fi
 
14505
+
 
14506
+
 
14507
+  fi
 
14508
+fi
 
14509
+if test -z "$CC"; then
 
14510
+  # Extract the first word of "cc", so it can be a program name with args.
 
14511
+set dummy cc; ac_word=$2
 
14512
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
14513
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
14514
+if test "${ac_cv_prog_CC+set}" = set; then
 
14515
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14516
+else
 
14517
+  if test -n "$CC"; then
 
14518
+  ac_cv_prog_CC="$CC" # Let the user override the test.
 
14519
+else
 
14520
+  ac_prog_rejected=no
 
14521
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
14522
+for as_dir in $PATH
 
14523
+do
 
14524
+  IFS=$as_save_IFS
 
14525
+  test -z "$as_dir" && as_dir=.
 
14526
+  for ac_exec_ext in '' $ac_executable_extensions; do
 
14527
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
14528
+    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 
14529
+       ac_prog_rejected=yes
 
14530
+       continue
 
14531
+     fi
 
14532
+    ac_cv_prog_CC="cc"
 
14533
+    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14534
+    break 2
 
14535
+  fi
 
14536
+done
 
14537
+done
 
14538
+IFS=$as_save_IFS
 
14539
+
 
14540
+if test $ac_prog_rejected = yes; then
 
14541
+  # We found a bogon in the path, so make sure we never use it.
 
14542
+  set dummy $ac_cv_prog_CC
 
14543
+  shift
 
14544
+  if test $# != 0; then
 
14545
+    # We chose a different compiler from the bogus one.
 
14546
+    # However, it has the same basename, so the bogon will be chosen
 
14547
+    # first if we set CC to just the basename; use the full file name.
 
14548
+    shift
 
14549
+    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 
14550
+  fi
 
14551
+fi
 
14552
+fi
 
14553
+fi
 
14554
+CC=$ac_cv_prog_CC
 
14555
+if test -n "$CC"; then
 
14556
+  { echo "$as_me:$LINENO: result: $CC" >&5
 
14557
+echo "${ECHO_T}$CC" >&6; }
 
14558
+else
 
14559
+  { echo "$as_me:$LINENO: result: no" >&5
 
14560
+echo "${ECHO_T}no" >&6; }
 
14561
+fi
 
14562
+
 
14563
+
 
14564
+fi
 
14565
+if test -z "$CC"; then
 
14566
+  if test -n "$ac_tool_prefix"; then
 
14567
+  for ac_prog in cl.exe
 
14568
+  do
 
14569
+    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
14570
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
14571
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
14572
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
14573
+if test "${ac_cv_prog_CC+set}" = set; then
 
14574
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14575
+else
 
14576
+  if test -n "$CC"; then
 
14577
+  ac_cv_prog_CC="$CC" # Let the user override the test.
 
14578
+else
 
14579
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
14580
+for as_dir in $PATH
 
14581
+do
 
14582
+  IFS=$as_save_IFS
 
14583
+  test -z "$as_dir" && as_dir=.
 
14584
+  for ac_exec_ext in '' $ac_executable_extensions; do
 
14585
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
14586
+    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 
14587
+    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14588
+    break 2
 
14589
+  fi
 
14590
+done
 
14591
+done
 
14592
+IFS=$as_save_IFS
 
14593
+
 
14594
+fi
 
14595
+fi
 
14596
+CC=$ac_cv_prog_CC
 
14597
+if test -n "$CC"; then
 
14598
+  { echo "$as_me:$LINENO: result: $CC" >&5
 
14599
+echo "${ECHO_T}$CC" >&6; }
 
14600
+else
 
14601
+  { echo "$as_me:$LINENO: result: no" >&5
 
14602
+echo "${ECHO_T}no" >&6; }
 
14603
+fi
 
14604
+
 
14605
+
 
14606
+    test -n "$CC" && break
 
14607
+  done
 
14608
+fi
 
14609
+if test -z "$CC"; then
 
14610
+  ac_ct_CC=$CC
 
14611
+  for ac_prog in cl.exe
 
14612
+do
 
14613
+  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
14614
+set dummy $ac_prog; ac_word=$2
 
14615
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
14616
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
14617
+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
14618
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14619
+else
 
14620
+  if test -n "$ac_ct_CC"; then
 
14621
+  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
14622
+else
 
14623
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
14624
+for as_dir in $PATH
 
14625
+do
 
14626
+  IFS=$as_save_IFS
 
14627
+  test -z "$as_dir" && as_dir=.
 
14628
+  for ac_exec_ext in '' $ac_executable_extensions; do
 
14629
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
14630
+    ac_cv_prog_ac_ct_CC="$ac_prog"
 
14631
+    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14632
+    break 2
 
14633
+  fi
 
14634
+done
 
14635
+done
 
14636
+IFS=$as_save_IFS
 
14637
+
 
14638
+fi
 
14639
+fi
 
14640
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
14641
+if test -n "$ac_ct_CC"; then
 
14642
+  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
14643
+echo "${ECHO_T}$ac_ct_CC" >&6; }
 
14644
+else
 
14645
+  { echo "$as_me:$LINENO: result: no" >&5
 
14646
+echo "${ECHO_T}no" >&6; }
 
14647
+fi
 
14648
+
 
14649
+
 
14650
+  test -n "$ac_ct_CC" && break
 
14651
+done
 
14652
+
 
14653
+  if test "x$ac_ct_CC" = x; then
 
14654
+    CC=""
 
14655
+  else
 
14656
+    case $cross_compiling:$ac_tool_warned in
 
14657
+yes:)
 
14658
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
14659
+whose name does not start with the host triplet.  If you think this
 
14660
+configuration is useful to you, please write to autoconf@gnu.org." >&5
 
14661
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
14662
+whose name does not start with the host triplet.  If you think this
 
14663
+configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
14664
+ac_tool_warned=yes ;;
 
14665
+esac
 
14666
+    CC=$ac_ct_CC
 
14667
+  fi
 
14668
+fi
 
14669
+
 
14670
+fi
 
14671
+
 
14672
+
 
14673
+test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
14674
+See \`config.log' for more details." >&5
 
14675
+echo "$as_me: error: no acceptable C compiler found in \$PATH
 
14676
+See \`config.log' for more details." >&2;}
 
14677
+   { (exit 1); exit 1; }; }
 
14678
+
 
14679
+# Provide some information about the compiler.
 
14680
+echo "$as_me:$LINENO: checking for C compiler version" >&5
 
14681
+ac_compiler=`set X $ac_compile; echo $2`
 
14682
+{ (ac_try="$ac_compiler --version >&5"
 
14683
+case "(($ac_try" in
 
14684
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14685
+  *) ac_try_echo=$ac_try;;
 
14686
+esac
 
14687
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14688
+  (eval "$ac_compiler --version >&5") 2>&5
 
14689
+  ac_status=$?
 
14690
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14691
+  (exit $ac_status); }
 
14692
+{ (ac_try="$ac_compiler -v >&5"
 
14693
+case "(($ac_try" in
 
14694
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14695
+  *) ac_try_echo=$ac_try;;
 
14696
+esac
 
14697
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14698
+  (eval "$ac_compiler -v >&5") 2>&5
 
14699
+  ac_status=$?
 
14700
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14701
+  (exit $ac_status); }
 
14702
+{ (ac_try="$ac_compiler -V >&5"
 
14703
+case "(($ac_try" in
 
14704
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14705
+  *) ac_try_echo=$ac_try;;
 
14706
+esac
 
14707
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14708
+  (eval "$ac_compiler -V >&5") 2>&5
 
14709
+  ac_status=$?
 
14710
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14711
+  (exit $ac_status); }
 
14712
+
 
14713
+{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
14714
+echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
 
14715
+if test "${ac_cv_c_compiler_gnu+set}" = set; then
 
14716
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14717
+else
 
14718
+  cat >conftest.$ac_ext <<_ACEOF
 
14719
+/* confdefs.h.  */
 
14720
+_ACEOF
 
14721
+cat confdefs.h >>conftest.$ac_ext
 
14722
+cat >>conftest.$ac_ext <<_ACEOF
 
14723
+/* end confdefs.h.  */
 
14724
+
 
14725
+int
 
14726
+main ()
 
14727
+{
 
14728
+#ifndef __GNUC__
 
14729
+       choke me
 
14730
+#endif
 
14731
+
 
14732
+  ;
 
14733
+  return 0;
 
14734
+}
 
14735
+_ACEOF
 
14736
+rm -f conftest.$ac_objext
 
14737
+if { (ac_try="$ac_compile"
 
14738
+case "(($ac_try" in
 
14739
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14740
+  *) ac_try_echo=$ac_try;;
 
14741
+esac
 
14742
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14743
+  (eval "$ac_compile") 2>conftest.er1
 
14744
+  ac_status=$?
 
14745
+  grep -v '^ *+' conftest.er1 >conftest.err
 
14746
+  rm -f conftest.er1
 
14747
+  cat conftest.err >&5
 
14748
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14749
+  (exit $ac_status); } && {
 
14750
+        test -z "$ac_c_werror_flag" ||
 
14751
+        test ! -s conftest.err
 
14752
+       } && test -s conftest.$ac_objext; then
 
14753
+  ac_compiler_gnu=yes
 
14754
+else
 
14755
+  echo "$as_me: failed program was:" >&5
 
14756
+sed 's/^/| /' conftest.$ac_ext >&5
 
14757
+
 
14758
+       ac_compiler_gnu=no
 
14759
+fi
 
14760
+
 
14761
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
14762
+ac_cv_c_compiler_gnu=$ac_compiler_gnu
 
14763
+
 
14764
+fi
 
14765
+{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
14766
+echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
 
14767
+GCC=`test $ac_compiler_gnu = yes && echo yes`
 
14768
+ac_test_CFLAGS=${CFLAGS+set}
 
14769
+ac_save_CFLAGS=$CFLAGS
 
14770
+{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
14771
+echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
 
14772
+if test "${ac_cv_prog_cc_g+set}" = set; then
 
14773
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14774
+else
 
14775
+  ac_save_c_werror_flag=$ac_c_werror_flag
 
14776
+   ac_c_werror_flag=yes
 
14777
+   ac_cv_prog_cc_g=no
 
14778
+   CFLAGS="-g"
 
14779
+   cat >conftest.$ac_ext <<_ACEOF
 
14780
+/* confdefs.h.  */
 
14781
+_ACEOF
 
14782
+cat confdefs.h >>conftest.$ac_ext
 
14783
+cat >>conftest.$ac_ext <<_ACEOF
 
14784
+/* end confdefs.h.  */
 
14785
+
 
14786
+int
 
14787
+main ()
 
14788
+{
 
14789
+
 
14790
+  ;
 
14791
+  return 0;
 
14792
+}
 
14793
+_ACEOF
 
14794
+rm -f conftest.$ac_objext
 
14795
+if { (ac_try="$ac_compile"
 
14796
+case "(($ac_try" in
 
14797
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14798
+  *) ac_try_echo=$ac_try;;
 
14799
+esac
 
14800
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14801
+  (eval "$ac_compile") 2>conftest.er1
 
14802
+  ac_status=$?
 
14803
+  grep -v '^ *+' conftest.er1 >conftest.err
 
14804
+  rm -f conftest.er1
 
14805
+  cat conftest.err >&5
 
14806
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14807
+  (exit $ac_status); } && {
 
14808
+        test -z "$ac_c_werror_flag" ||
 
14809
+        test ! -s conftest.err
 
14810
+       } && test -s conftest.$ac_objext; then
 
14811
+  ac_cv_prog_cc_g=yes
 
14812
+else
 
14813
+  echo "$as_me: failed program was:" >&5
 
14814
+sed 's/^/| /' conftest.$ac_ext >&5
 
14815
+
 
14816
+       CFLAGS=""
 
14817
+      cat >conftest.$ac_ext <<_ACEOF
 
14818
+/* confdefs.h.  */
 
14819
+_ACEOF
 
14820
+cat confdefs.h >>conftest.$ac_ext
 
14821
+cat >>conftest.$ac_ext <<_ACEOF
 
14822
+/* end confdefs.h.  */
 
14823
+
 
14824
+int
 
14825
+main ()
 
14826
+{
 
14827
+
 
14828
+  ;
 
14829
+  return 0;
 
14830
+}
 
14831
+_ACEOF
 
14832
+rm -f conftest.$ac_objext
 
14833
+if { (ac_try="$ac_compile"
 
14834
+case "(($ac_try" in
 
14835
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14836
+  *) ac_try_echo=$ac_try;;
 
14837
+esac
 
14838
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14839
+  (eval "$ac_compile") 2>conftest.er1
 
14840
+  ac_status=$?
 
14841
+  grep -v '^ *+' conftest.er1 >conftest.err
 
14842
+  rm -f conftest.er1
 
14843
+  cat conftest.err >&5
 
14844
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14845
+  (exit $ac_status); } && {
 
14846
+        test -z "$ac_c_werror_flag" ||
 
14847
+        test ! -s conftest.err
 
14848
+       } && test -s conftest.$ac_objext; then
 
14849
+  :
 
14850
+else
 
14851
+  echo "$as_me: failed program was:" >&5
 
14852
+sed 's/^/| /' conftest.$ac_ext >&5
 
14853
+
 
14854
+       ac_c_werror_flag=$ac_save_c_werror_flag
 
14855
+        CFLAGS="-g"
 
14856
+        cat >conftest.$ac_ext <<_ACEOF
 
14857
+/* confdefs.h.  */
 
14858
+_ACEOF
 
14859
+cat confdefs.h >>conftest.$ac_ext
 
14860
+cat >>conftest.$ac_ext <<_ACEOF
 
14861
+/* end confdefs.h.  */
 
14862
+
 
14863
+int
 
14864
+main ()
 
14865
+{
 
14866
+
 
14867
+  ;
 
14868
+  return 0;
 
14869
+}
 
14870
+_ACEOF
 
14871
+rm -f conftest.$ac_objext
 
14872
+if { (ac_try="$ac_compile"
 
14873
+case "(($ac_try" in
 
14874
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14875
+  *) ac_try_echo=$ac_try;;
 
14876
+esac
 
14877
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14878
+  (eval "$ac_compile") 2>conftest.er1
 
14879
+  ac_status=$?
 
14880
+  grep -v '^ *+' conftest.er1 >conftest.err
 
14881
+  rm -f conftest.er1
 
14882
+  cat conftest.err >&5
 
14883
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14884
+  (exit $ac_status); } && {
 
14885
+        test -z "$ac_c_werror_flag" ||
 
14886
+        test ! -s conftest.err
 
14887
+       } && test -s conftest.$ac_objext; then
 
14888
+  ac_cv_prog_cc_g=yes
 
14889
+else
 
14890
+  echo "$as_me: failed program was:" >&5
 
14891
+sed 's/^/| /' conftest.$ac_ext >&5
 
14892
+
 
14893
+
 
14894
+fi
 
14895
+
 
14896
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
14897
+fi
 
14898
+
 
14899
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
14900
+fi
 
14901
+
 
14902
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
14903
+   ac_c_werror_flag=$ac_save_c_werror_flag
 
14904
+fi
 
14905
+{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
14906
+echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
 
14907
+if test "$ac_test_CFLAGS" = set; then
 
14908
+  CFLAGS=$ac_save_CFLAGS
 
14909
+elif test $ac_cv_prog_cc_g = yes; then
 
14910
+  if test "$GCC" = yes; then
 
14911
+    CFLAGS="-g -O2"
 
14912
+  else
 
14913
+    CFLAGS="-g"
 
14914
+  fi
 
14915
+else
 
14916
+  if test "$GCC" = yes; then
 
14917
+    CFLAGS="-O2"
 
14918
+  else
 
14919
+    CFLAGS=
 
14920
+  fi
 
14921
+fi
 
14922
+{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
14923
+echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
14924
+if test "${ac_cv_prog_cc_c89+set}" = set; then
 
14925
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14926
+else
 
14927
+  ac_cv_prog_cc_c89=no
 
14928
+ac_save_CC=$CC
 
14929
+cat >conftest.$ac_ext <<_ACEOF
 
14930
+/* confdefs.h.  */
 
14931
+_ACEOF
 
14932
+cat confdefs.h >>conftest.$ac_ext
 
14933
+cat >>conftest.$ac_ext <<_ACEOF
 
14934
+/* end confdefs.h.  */
 
14935
+#include <stdarg.h>
 
14936
+#include <stdio.h>
 
14937
+#include <sys/types.h>
 
14938
+#include <sys/stat.h>
 
14939
+/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 
14940
+struct buf { int x; };
 
14941
+FILE * (*rcsopen) (struct buf *, struct stat *, int);
 
14942
+static char *e (p, i)
 
14943
+     char **p;
 
14944
+     int i;
 
14945
+{
 
14946
+  return p[i];
 
14947
+}
 
14948
+static char *f (char * (*g) (char **, int), char **p, ...)
 
14949
+{
 
14950
+  char *s;
 
14951
+  va_list v;
 
14952
+  va_start (v,p);
 
14953
+  s = g (p, va_arg (v,int));
 
14954
+  va_end (v);
 
14955
+  return s;
 
14956
+}
 
14957
+
 
14958
+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
14959
+   function prototypes and stuff, but not '\xHH' hex character constants.
 
14960
+   These don't provoke an error unfortunately, instead are silently treated
 
14961
+   as 'x'.  The following induces an error, until -std is added to get
 
14962
+   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
14963
+   array size at least.  It's necessary to write '\x00'==0 to get something
 
14964
+   that's true only with -std.  */
 
14965
+int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
14966
+
 
14967
+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
14968
+   inside strings and character constants.  */
 
14969
+#define FOO(x) 'x'
 
14970
+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
14971
+
 
14972
+int test (int i, double x);
 
14973
+struct s1 {int (*f) (int a);};
 
14974
+struct s2 {int (*f) (double a);};
 
14975
+int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 
14976
+int argc;
 
14977
+char **argv;
 
14978
+int
 
14979
+main ()
 
14980
+{
 
14981
+return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
14982
+  ;
 
14983
+  return 0;
 
14984
+}
 
14985
+_ACEOF
 
14986
+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
14987
+       -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
14988
+do
 
14989
+  CC="$ac_save_CC $ac_arg"
 
14990
+  rm -f conftest.$ac_objext
 
14991
+if { (ac_try="$ac_compile"
 
14992
+case "(($ac_try" in
 
14993
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14994
+  *) ac_try_echo=$ac_try;;
 
14995
+esac
 
14996
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14997
+  (eval "$ac_compile") 2>conftest.er1
 
14998
+  ac_status=$?
 
14999
+  grep -v '^ *+' conftest.er1 >conftest.err
 
15000
+  rm -f conftest.er1
 
15001
+  cat conftest.err >&5
 
15002
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15003
+  (exit $ac_status); } && {
 
15004
+        test -z "$ac_c_werror_flag" ||
 
15005
+        test ! -s conftest.err
 
15006
+       } && test -s conftest.$ac_objext; then
 
15007
+  ac_cv_prog_cc_c89=$ac_arg
 
15008
+else
 
15009
+  echo "$as_me: failed program was:" >&5
 
15010
+sed 's/^/| /' conftest.$ac_ext >&5
 
15011
+
 
15012
+
 
15013
+fi
 
15014
+
 
15015
+rm -f core conftest.err conftest.$ac_objext
 
15016
+  test "x$ac_cv_prog_cc_c89" != "xno" && break
 
15017
+done
 
15018
+rm -f conftest.$ac_ext
 
15019
+CC=$ac_save_CC
 
15020
+
 
15021
+fi
 
15022
+# AC_CACHE_VAL
 
15023
+case "x$ac_cv_prog_cc_c89" in
 
15024
+  x)
 
15025
+    { echo "$as_me:$LINENO: result: none needed" >&5
 
15026
+echo "${ECHO_T}none needed" >&6; } ;;
 
15027
+  xno)
 
15028
+    { echo "$as_me:$LINENO: result: unsupported" >&5
 
15029
+echo "${ECHO_T}unsupported" >&6; } ;;
 
15030
+  *)
 
15031
+    CC="$CC $ac_cv_prog_cc_c89"
 
15032
+    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
15033
+echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
 
15034
+esac
 
15035
+
 
15036
+
 
15037
+ac_ext=c
 
15038
+ac_cpp='$CPP $CPPFLAGS'
 
15039
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
15040
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
15041
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
15042
+
 
15043
+depcc="$CC"   am_compiler_list=
 
15044
+
 
15045
+{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
15046
+echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
 
15047
+if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 
15048
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15049
+else
 
15050
+  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
15051
+  # We make a subdir and do the tests there.  Otherwise we can end up
 
15052
+  # making bogus files that we don't know about and never remove.  For
 
15053
+  # instance it was reported that on HP-UX the gcc test will end up
 
15054
+  # making a dummy file named `D' -- because `-MD' means `put the output
 
15055
+  # in D'.
 
15056
+  mkdir conftest.dir
 
15057
+  # Copy depcomp to subdir because otherwise we won't find it if we're
 
15058
+  # using a relative directory.
 
15059
+  cp "$am_depcomp" conftest.dir
 
15060
+  cd conftest.dir
 
15061
+  # We will build objects and dependencies in a subdirectory because
 
15062
+  # it helps to detect inapplicable dependency modes.  For instance
 
15063
+  # both Tru64's cc and ICC support -MD to output dependencies as a
 
15064
+  # side effect of compilation, but ICC will put the dependencies in
 
15065
+  # the current directory while Tru64 will put them in the object
 
15066
+  # directory.
 
15067
+  mkdir sub
 
15068
+
 
15069
+  am_cv_CC_dependencies_compiler_type=none
 
15070
+  if test "$am_compiler_list" = ""; then
 
15071
+     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
15072
+  fi
 
15073
+  for depmode in $am_compiler_list; do
 
15074
+    # Setup a source with many dependencies, because some compilers
 
15075
+    # like to wrap large dependency lists on column 80 (with \), and
 
15076
+    # we should not choose a depcomp mode which is confused by this.
 
15077
+    #
 
15078
+    # We need to recreate these files for each test, as the compiler may
 
15079
+    # overwrite some of them when testing with obscure command lines.
 
15080
+    # This happens at least with the AIX C compiler.
 
15081
+    : > sub/conftest.c
 
15082
+    for i in 1 2 3 4 5 6; do
 
15083
+      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
15084
+      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
15085
+      # Solaris 8's {/usr,}/bin/sh.
 
15086
+      touch sub/conftst$i.h
 
15087
+    done
 
15088
+    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
15089
+
 
15090
+    case $depmode in
 
15091
+    nosideeffect)
 
15092
+      # after this tag, mechanisms are not by side-effect, so they'll
 
15093
+      # only be used when explicitly requested
 
15094
+      if test "x$enable_dependency_tracking" = xyes; then
 
15095
+       continue
 
15096
+      else
 
15097
+       break
 
15098
+      fi
 
15099
+      ;;
 
15100
+    none) break ;;
 
15101
+    esac
 
15102
+    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
15103
+    # mode.  It turns out that the SunPro C++ compiler does not properly
 
15104
+    # handle `-M -o', and we need to detect this.
 
15105
+    if depmode=$depmode \
 
15106
+       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
15107
+       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
15108
+       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
15109
+         >/dev/null 2>conftest.err &&
 
15110
+       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
15111
+       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
15112
+       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
15113
+      # icc doesn't choke on unknown options, it will just issue warnings
 
15114
+      # or remarks (even with -Werror).  So we grep stderr for any message
 
15115
+      # that says an option was ignored or not supported.
 
15116
+      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
15117
+      #   icc: Command line warning: ignoring option '-M'; no argument required
 
15118
+      # The diagnosis changed in icc 8.0:
 
15119
+      #   icc: Command line remark: option '-MP' not supported
 
15120
+      if (grep 'ignoring option' conftest.err ||
 
15121
+          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
15122
+        am_cv_CC_dependencies_compiler_type=$depmode
 
15123
+        break
 
15124
+      fi
 
15125
+    fi
 
15126
+  done
 
15127
+
 
15128
+  cd ..
 
15129
+  rm -rf conftest.dir
 
15130
+else
 
15131
+  am_cv_CC_dependencies_compiler_type=none
 
15132
+fi
 
15133
+
 
15134
+fi
 
15135
+{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
15136
+echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
 
15137
+CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 
15138
+
 
15139
+
 
15140
+
 
15141
+if
 
15142
+  test "x$enable_dependency_tracking" != xno \
 
15143
+  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 
15144
+  am__fastdepCC_TRUE=
 
15145
+  am__fastdepCC_FALSE='#'
 
15146
+else
 
15147
+  am__fastdepCC_TRUE='#'
 
15148
+  am__fastdepCC_FALSE=
 
15149
+fi
 
15150
+
 
15151
+
 
15152
+ac_ext=c
 
15153
+ac_cpp='$CPP $CPPFLAGS'
 
15154
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
15155
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
15156
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
15157
+{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
15158
+echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
 
15159
+# On Suns, sometimes $CPP names a directory.
 
15160
+if test -n "$CPP" && test -d "$CPP"; then
 
15161
+  CPP=
 
15162
+fi
 
15163
+if test -z "$CPP"; then
 
15164
+  if test "${ac_cv_prog_CPP+set}" = set; then
 
15165
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15166
+else
 
15167
+      # Double quotes because CPP needs to be expanded
 
15168
+    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 
15169
+    do
 
15170
+      ac_preproc_ok=false
 
15171
+for ac_c_preproc_warn_flag in '' yes
 
15172
+do
 
15173
+  # Use a header file that comes with gcc, so configuring glibc
 
15174
+  # with a fresh cross-compiler works.
 
15175
+  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
15176
+  # <limits.h> exists even on freestanding compilers.
 
15177
+  # On the NeXT, cc -E runs the code through the compiler's parser,
 
15178
+  # not just through cpp. "Syntax error" is here to catch this case.
 
15179
+  cat >conftest.$ac_ext <<_ACEOF
 
15180
+/* confdefs.h.  */
 
15181
+_ACEOF
 
15182
+cat confdefs.h >>conftest.$ac_ext
 
15183
+cat >>conftest.$ac_ext <<_ACEOF
 
15184
+/* end confdefs.h.  */
 
15185
+#ifdef __STDC__
 
15186
+# include <limits.h>
 
15187
+#else
 
15188
+# include <assert.h>
 
15189
+#endif
 
15190
+                    Syntax error
 
15191
+_ACEOF
 
15192
+if { (ac_try="$ac_cpp conftest.$ac_ext"
 
15193
+case "(($ac_try" in
 
15194
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15195
+  *) ac_try_echo=$ac_try;;
 
15196
+esac
 
15197
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15198
+  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
15199
+  ac_status=$?
 
15200
+  grep -v '^ *+' conftest.er1 >conftest.err
 
15201
+  rm -f conftest.er1
 
15202
+  cat conftest.err >&5
 
15203
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15204
+  (exit $ac_status); } >/dev/null && {
 
15205
+        test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
15206
+        test ! -s conftest.err
 
15207
+       }; then
 
15208
+  :
 
15209
+else
 
15210
+  echo "$as_me: failed program was:" >&5
 
15211
+sed 's/^/| /' conftest.$ac_ext >&5
 
15212
+
 
15213
+  # Broken: fails on valid input.
 
15214
+continue
 
15215
+fi
 
15216
+
 
15217
+rm -f conftest.err conftest.$ac_ext
 
15218
+
 
15219
+  # OK, works on sane cases.  Now check whether nonexistent headers
 
15220
+  # can be detected and how.
 
15221
+  cat >conftest.$ac_ext <<_ACEOF
 
15222
+/* confdefs.h.  */
 
15223
+_ACEOF
 
15224
+cat confdefs.h >>conftest.$ac_ext
 
15225
+cat >>conftest.$ac_ext <<_ACEOF
 
15226
+/* end confdefs.h.  */
 
15227
+#include <ac_nonexistent.h>
 
15228
+_ACEOF
 
15229
+if { (ac_try="$ac_cpp conftest.$ac_ext"
 
15230
+case "(($ac_try" in
 
15231
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15232
+  *) ac_try_echo=$ac_try;;
 
15233
+esac
 
15234
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15235
+  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
15236
+  ac_status=$?
 
15237
+  grep -v '^ *+' conftest.er1 >conftest.err
 
15238
+  rm -f conftest.er1
 
15239
+  cat conftest.err >&5
 
15240
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15241
+  (exit $ac_status); } >/dev/null && {
 
15242
+        test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
15243
+        test ! -s conftest.err
 
15244
+       }; then
 
15245
+  # Broken: success on invalid input.
 
15246
+continue
 
15247
+else
 
15248
+  echo "$as_me: failed program was:" >&5
 
15249
+sed 's/^/| /' conftest.$ac_ext >&5
 
15250
+
 
15251
+  # Passes both tests.
 
15252
+ac_preproc_ok=:
 
15253
+break
 
15254
+fi
 
15255
+
 
15256
+rm -f conftest.err conftest.$ac_ext
 
15257
+
 
15258
+done
 
15259
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
15260
+rm -f conftest.err conftest.$ac_ext
 
15261
+if $ac_preproc_ok; then
 
15262
+  break
 
15263
+fi
 
15264
+
 
15265
+    done
 
15266
+    ac_cv_prog_CPP=$CPP
 
15267
+
 
15268
+fi
 
15269
+  CPP=$ac_cv_prog_CPP
 
15270
+else
 
15271
+  ac_cv_prog_CPP=$CPP
 
15272
+fi
 
15273
+{ echo "$as_me:$LINENO: result: $CPP" >&5
 
15274
+echo "${ECHO_T}$CPP" >&6; }
 
15275
+ac_preproc_ok=false
 
15276
+for ac_c_preproc_warn_flag in '' yes
 
15277
+do
 
15278
+  # Use a header file that comes with gcc, so configuring glibc
 
15279
+  # with a fresh cross-compiler works.
 
15280
+  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
15281
+  # <limits.h> exists even on freestanding compilers.
 
15282
+  # On the NeXT, cc -E runs the code through the compiler's parser,
 
15283
+  # not just through cpp. "Syntax error" is here to catch this case.
 
15284
+  cat >conftest.$ac_ext <<_ACEOF
 
15285
+/* confdefs.h.  */
 
15286
+_ACEOF
 
15287
+cat confdefs.h >>conftest.$ac_ext
 
15288
+cat >>conftest.$ac_ext <<_ACEOF
 
15289
+/* end confdefs.h.  */
 
15290
+#ifdef __STDC__
 
15291
+# include <limits.h>
 
15292
+#else
 
15293
+# include <assert.h>
 
15294
+#endif
 
15295
+                    Syntax error
 
15296
+_ACEOF
 
15297
+if { (ac_try="$ac_cpp conftest.$ac_ext"
 
15298
+case "(($ac_try" in
 
15299
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15300
+  *) ac_try_echo=$ac_try;;
 
15301
+esac
 
15302
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15303
+  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
15304
+  ac_status=$?
 
15305
+  grep -v '^ *+' conftest.er1 >conftest.err
 
15306
+  rm -f conftest.er1
 
15307
+  cat conftest.err >&5
 
15308
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15309
+  (exit $ac_status); } >/dev/null && {
 
15310
+        test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
15311
+        test ! -s conftest.err
 
15312
+       }; then
 
15313
+  :
 
15314
+else
 
15315
+  echo "$as_me: failed program was:" >&5
 
15316
+sed 's/^/| /' conftest.$ac_ext >&5
 
15317
+
 
15318
+  # Broken: fails on valid input.
 
15319
+continue
 
15320
+fi
 
15321
+
 
15322
+rm -f conftest.err conftest.$ac_ext
 
15323
+
 
15324
+  # OK, works on sane cases.  Now check whether nonexistent headers
 
15325
+  # can be detected and how.
 
15326
+  cat >conftest.$ac_ext <<_ACEOF
 
15327
+/* confdefs.h.  */
 
15328
+_ACEOF
 
15329
+cat confdefs.h >>conftest.$ac_ext
 
15330
+cat >>conftest.$ac_ext <<_ACEOF
 
15331
+/* end confdefs.h.  */
 
15332
+#include <ac_nonexistent.h>
 
15333
+_ACEOF
 
15334
+if { (ac_try="$ac_cpp conftest.$ac_ext"
 
15335
+case "(($ac_try" in
 
15336
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15337
+  *) ac_try_echo=$ac_try;;
 
15338
+esac
 
15339
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15340
+  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
15341
+  ac_status=$?
 
15342
+  grep -v '^ *+' conftest.er1 >conftest.err
 
15343
+  rm -f conftest.er1
 
15344
+  cat conftest.err >&5
 
15345
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15346
+  (exit $ac_status); } >/dev/null && {
 
15347
+        test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
15348
+        test ! -s conftest.err
 
15349
+       }; then
 
15350
+  # Broken: success on invalid input.
 
15351
+continue
 
15352
+else
 
15353
+  echo "$as_me: failed program was:" >&5
 
15354
+sed 's/^/| /' conftest.$ac_ext >&5
 
15355
+
 
15356
+  # Passes both tests.
 
15357
+ac_preproc_ok=:
 
15358
+break
 
15359
+fi
 
15360
+
 
15361
+rm -f conftest.err conftest.$ac_ext
 
15362
+
 
15363
+done
 
15364
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
15365
+rm -f conftest.err conftest.$ac_ext
 
15366
+if $ac_preproc_ok; then
 
15367
+  :
 
15368
+else
 
15369
+  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
 
15370
+See \`config.log' for more details." >&5
 
15371
+echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
 
15372
+See \`config.log' for more details." >&2;}
 
15373
+   { (exit 1); exit 1; }; }
 
15374
+fi
 
15375
+
 
15376
+ac_ext=c
 
15377
+ac_cpp='$CPP $CPPFLAGS'
 
15378
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
15379
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
15380
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
15381
+
 
15382
+# Check whether --enable-shared was given.
 
15383
+if test "${enable_shared+set}" = set; then
 
15384
+  enableval=$enable_shared; p=${PACKAGE-default}
 
15385
+    case $enableval in
 
15386
+    yes) enable_shared=yes ;;
 
15387
+    no) enable_shared=no ;;
 
15388
+    *)
 
15389
+      enable_shared=no
 
15390
+      # Look at the argument we got.  We use all the common list separators.
 
15391
+      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
15392
+      for pkg in $enableval; do
 
15393
+       IFS="$lt_save_ifs"
 
15394
+       if test "X$pkg" = "X$p"; then
 
15395
+         enable_shared=yes
 
15396
+       fi
 
15397
+      done
 
15398
+      IFS="$lt_save_ifs"
 
15399
+      ;;
 
15400
+    esac
 
15401
+else
 
15402
+  enable_shared=yes
 
15403
+fi
 
15404
+
 
15405
+
 
15406
+# Check whether --enable-static was given.
 
15407
+if test "${enable_static+set}" = set; then
 
15408
+  enableval=$enable_static; p=${PACKAGE-default}
 
15409
+    case $enableval in
 
15410
+    yes) enable_static=yes ;;
 
15411
+    no) enable_static=no ;;
 
15412
+    *)
 
15413
+     enable_static=no
 
15414
+      # Look at the argument we got.  We use all the common list separators.
 
15415
+      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
15416
+      for pkg in $enableval; do
 
15417
+       IFS="$lt_save_ifs"
 
15418
+       if test "X$pkg" = "X$p"; then
 
15419
+         enable_static=yes
 
15420
+       fi
 
15421
+      done
 
15422
+      IFS="$lt_save_ifs"
 
15423
+      ;;
 
15424
+    esac
 
15425
+else
 
15426
+  enable_static=yes
 
15427
+fi
 
15428
+
 
15429
+
 
15430
+# Check whether --enable-fast-install was given.
 
15431
+if test "${enable_fast_install+set}" = set; then
 
15432
+  enableval=$enable_fast_install; p=${PACKAGE-default}
 
15433
+    case $enableval in
 
15434
+    yes) enable_fast_install=yes ;;
 
15435
+    no) enable_fast_install=no ;;
 
15436
+    *)
 
15437
+      enable_fast_install=no
 
15438
+      # Look at the argument we got.  We use all the common list separators.
 
15439
+      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
15440
+      for pkg in $enableval; do
 
15441
+       IFS="$lt_save_ifs"
 
15442
+       if test "X$pkg" = "X$p"; then
 
15443
+         enable_fast_install=yes
 
15444
+       fi
 
15445
+      done
 
15446
+      IFS="$lt_save_ifs"
 
15447
+      ;;
 
15448
+    esac
 
15449
+else
 
15450
+  enable_fast_install=yes
 
15451
+fi
 
15452
+
 
15453
+
 
15454
+# Make sure we can run config.sub.
 
15455
+$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
15456
+  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
 
15457
+echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
 
15458
+   { (exit 1); exit 1; }; }
 
15459
+
 
15460
+{ echo "$as_me:$LINENO: checking build system type" >&5
 
15461
+echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
 
15462
+if test "${ac_cv_build+set}" = set; then
 
15463
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15464
+else
 
15465
+  ac_build_alias=$build_alias
 
15466
+test "x$ac_build_alias" = x &&
 
15467
+  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
15468
+test "x$ac_build_alias" = x &&
 
15469
+  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
 
15470
+echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
 
15471
+   { (exit 1); exit 1; }; }
 
15472
+ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
15473
+  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
 
15474
+echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
 
15475
+   { (exit 1); exit 1; }; }
 
15476
+
 
15477
+fi
 
15478
+{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
15479
+echo "${ECHO_T}$ac_cv_build" >&6; }
 
15480
+case $ac_cv_build in
 
15481
+*-*-*) ;;
 
15482
+*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
 
15483
+echo "$as_me: error: invalid value of canonical build" >&2;}
 
15484
+   { (exit 1); exit 1; }; };;
 
15485
+esac
 
15486
+build=$ac_cv_build
 
15487
+ac_save_IFS=$IFS; IFS='-'
 
15488
+set x $ac_cv_build
 
15489
+shift
 
15490
+build_cpu=$1
 
15491
+build_vendor=$2
 
15492
+shift; shift
 
15493
+# Remember, the first character of IFS is used to create $*,
 
15494
+# except with old shells:
 
15495
+build_os=$*
 
15496
+IFS=$ac_save_IFS
 
15497
+case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
15498
+
 
15499
+
 
15500
+{ echo "$as_me:$LINENO: checking host system type" >&5
 
15501
+echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
 
15502
+if test "${ac_cv_host+set}" = set; then
 
15503
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15504
+else
 
15505
+  if test "x$host_alias" = x; then
 
15506
+  ac_cv_host=$ac_cv_build
 
15507
+else
 
15508
+  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
15509
+    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
 
15510
+echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
 
15511
+   { (exit 1); exit 1; }; }
 
15512
+fi
 
15513
+
 
15514
+fi
 
15515
+{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
15516
+echo "${ECHO_T}$ac_cv_host" >&6; }
 
15517
+case $ac_cv_host in
 
15518
+*-*-*) ;;
 
15519
+*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
 
15520
+echo "$as_me: error: invalid value of canonical host" >&2;}
 
15521
+   { (exit 1); exit 1; }; };;
 
15522
+esac
 
15523
+host=$ac_cv_host
 
15524
+ac_save_IFS=$IFS; IFS='-'
 
15525
+set x $ac_cv_host
 
15526
+shift
 
15527
+host_cpu=$1
 
15528
+host_vendor=$2
 
15529
+shift; shift
 
15530
+# Remember, the first character of IFS is used to create $*,
 
15531
+# except with old shells:
 
15532
+host_os=$*
 
15533
+IFS=$ac_save_IFS
 
15534
+case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
15535
+
 
15536
+
 
15537
+{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
15538
+echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
 
15539
+if test "${lt_cv_path_SED+set}" = set; then
 
15540
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15541
+else
 
15542
+  # Loop through the user's path and test for sed and gsed.
 
15543
+# Then use that list of sed's as ones to test for truncation.
 
15544
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
15545
+for as_dir in $PATH
 
15546
+do
 
15547
+  IFS=$as_save_IFS
 
15548
+  test -z "$as_dir" && as_dir=.
 
15549
+  for lt_ac_prog in sed gsed; do
 
15550
+    for ac_exec_ext in '' $ac_executable_extensions; do
 
15551
+      if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
 
15552
+        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
 
15553
+      fi
 
15554
+    done
 
15555
+  done
 
15556
+done
 
15557
+lt_ac_max=0
 
15558
+lt_ac_count=0
 
15559
+# Add /usr/xpg4/bin/sed as it is typically found on Solaris
 
15560
+# along with /bin/sed that truncates output.
 
15561
+for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
 
15562
+  test ! -f $lt_ac_sed && continue
 
15563
+  cat /dev/null > conftest.in
 
15564
+  lt_ac_count=0
 
15565
+  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
 
15566
+  # Check for GNU sed and select it if it is found.
 
15567
+  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
 
15568
+    lt_cv_path_SED=$lt_ac_sed
 
15569
+    break
 
15570
+  fi
 
15571
+  while true; do
 
15572
+    cat conftest.in conftest.in >conftest.tmp
 
15573
+    mv conftest.tmp conftest.in
 
15574
+    cp conftest.in conftest.nl
 
15575
+    echo >>conftest.nl
 
15576
+    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
 
15577
+    cmp -s conftest.out conftest.nl || break
 
15578
+    # 10000 chars as input seems more than enough
 
15579
+    test $lt_ac_count -gt 10 && break
 
15580
+    lt_ac_count=`expr $lt_ac_count + 1`
 
15581
+    if test $lt_ac_count -gt $lt_ac_max; then
 
15582
+      lt_ac_max=$lt_ac_count
 
15583
+      lt_cv_path_SED=$lt_ac_sed
 
15584
+    fi
 
15585
+  done
 
15586
+done
 
15587
+
 
15588
+fi
 
15589
+
 
15590
+SED=$lt_cv_path_SED
 
15591
+{ echo "$as_me:$LINENO: result: $SED" >&5
 
15592
+echo "${ECHO_T}$SED" >&6; }
 
15593
+
 
15594
+{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
15595
+echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
 
15596
+if test "${ac_cv_path_GREP+set}" = set; then
 
15597
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15598
+else
 
15599
+  # Extract the first word of "grep ggrep" to use in msg output
 
15600
+if test -z "$GREP"; then
 
15601
+set dummy grep ggrep; ac_prog_name=$2
 
15602
+if test "${ac_cv_path_GREP+set}" = set; then
 
15603
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15604
+else
 
15605
+  ac_path_GREP_found=false
 
15606
+# Loop through the user's path and test for each of PROGNAME-LIST
 
15607
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
15608
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
15609
+do
 
15610
+  IFS=$as_save_IFS
 
15611
+  test -z "$as_dir" && as_dir=.
 
15612
+  for ac_prog in grep ggrep; do
 
15613
+  for ac_exec_ext in '' $ac_executable_extensions; do
 
15614
+    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
15615
+    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
15616
+    # Check for GNU ac_path_GREP and select it if it is found.
 
15617
+  # Check for GNU $ac_path_GREP
 
15618
+case `"$ac_path_GREP" --version 2>&1` in
 
15619
+*GNU*)
 
15620
+  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
15621
+*)
 
15622
+  ac_count=0
 
15623
+  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
15624
+  while :
 
15625
+  do
 
15626
+    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
15627
+    mv "conftest.tmp" "conftest.in"
 
15628
+    cp "conftest.in" "conftest.nl"
 
15629
+    echo 'GREP' >> "conftest.nl"
 
15630
+    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
15631
+    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
15632
+    ac_count=`expr $ac_count + 1`
 
15633
+    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
15634
+      # Best one so far, save it but keep looking for a better one
 
15635
+      ac_cv_path_GREP="$ac_path_GREP"
 
15636
+      ac_path_GREP_max=$ac_count
 
15637
+    fi
 
15638
+    # 10*(2^10) chars as input seems more than enough
 
15639
+    test $ac_count -gt 10 && break
 
15640
+  done
 
15641
+  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
15642
+esac
 
15643
+
 
15644
+
 
15645
+    $ac_path_GREP_found && break 3
 
15646
+  done
 
15647
+done
 
15648
+
 
15649
+done
 
15650
+IFS=$as_save_IFS
 
15651
+
 
15652
+
 
15653
+fi
 
15654
+
 
15655
+GREP="$ac_cv_path_GREP"
 
15656
+if test -z "$GREP"; then
 
15657
+  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
15658
+echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
15659
+   { (exit 1); exit 1; }; }
 
15660
+fi
 
15661
+
 
15662
+else
 
15663
+  ac_cv_path_GREP=$GREP
 
15664
+fi
 
15665
+
 
15666
+
 
15667
+fi
 
15668
+{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
15669
+echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
 
15670
+ GREP="$ac_cv_path_GREP"
 
15671
+
 
15672
+
 
15673
+{ echo "$as_me:$LINENO: checking for egrep" >&5
 
15674
+echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
 
15675
+if test "${ac_cv_path_EGREP+set}" = set; then
 
15676
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15677
+else
 
15678
+  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
15679
+   then ac_cv_path_EGREP="$GREP -E"
 
15680
+   else
 
15681
+     # Extract the first word of "egrep" to use in msg output
 
15682
+if test -z "$EGREP"; then
 
15683
+set dummy egrep; ac_prog_name=$2
 
15684
+if test "${ac_cv_path_EGREP+set}" = set; then
 
15685
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15686
+else
 
15687
+  ac_path_EGREP_found=false
 
15688
+# Loop through the user's path and test for each of PROGNAME-LIST
 
15689
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
15690
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
15691
+do
 
15692
+  IFS=$as_save_IFS
 
15693
+  test -z "$as_dir" && as_dir=.
 
15694
+  for ac_prog in egrep; do
 
15695
+  for ac_exec_ext in '' $ac_executable_extensions; do
 
15696
+    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
15697
+    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
15698
+    # Check for GNU ac_path_EGREP and select it if it is found.
 
15699
+  # Check for GNU $ac_path_EGREP
 
15700
+case `"$ac_path_EGREP" --version 2>&1` in
 
15701
+*GNU*)
 
15702
+  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
15703
+*)
 
15704
+  ac_count=0
 
15705
+  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
15706
+  while :
 
15707
+  do
 
15708
+    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
15709
+    mv "conftest.tmp" "conftest.in"
 
15710
+    cp "conftest.in" "conftest.nl"
 
15711
+    echo 'EGREP' >> "conftest.nl"
 
15712
+    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
15713
+    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
15714
+    ac_count=`expr $ac_count + 1`
 
15715
+    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
15716
+      # Best one so far, save it but keep looking for a better one
 
15717
+      ac_cv_path_EGREP="$ac_path_EGREP"
 
15718
+      ac_path_EGREP_max=$ac_count
 
15719
+    fi
 
15720
+    # 10*(2^10) chars as input seems more than enough
 
15721
+    test $ac_count -gt 10 && break
 
15722
+  done
 
15723
+  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
15724
+esac
 
15725
+
 
15726
+
 
15727
+    $ac_path_EGREP_found && break 3
 
15728
+  done
 
15729
+done
 
15730
+
 
15731
+done
 
15732
+IFS=$as_save_IFS
 
15733
+
 
15734
+
 
15735
+fi
 
15736
+
 
15737
+EGREP="$ac_cv_path_EGREP"
 
15738
+if test -z "$EGREP"; then
 
15739
+  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
15740
+echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
15741
+   { (exit 1); exit 1; }; }
 
15742
+fi
 
15743
+
 
15744
+else
 
15745
+  ac_cv_path_EGREP=$EGREP
 
15746
+fi
 
15747
+
 
15748
+
 
15749
+   fi
 
15750
+fi
 
15751
+{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
15752
+echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
 
15753
+ EGREP="$ac_cv_path_EGREP"
 
15754
+
 
15755
+
 
15756
+
 
15757
+# Check whether --with-gnu-ld was given.
 
15758
+if test "${with_gnu_ld+set}" = set; then
 
15759
+  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
 
15760
+else
 
15761
+  with_gnu_ld=no
 
15762
+fi
 
15763
+
 
15764
+ac_prog=ld
 
15765
+if test "$GCC" = yes; then
 
15766
+  # Check if gcc -print-prog-name=ld gives a path.
 
15767
+  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
15768
+echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
 
15769
+  case $host in
 
15770
+  *-*-mingw*)
 
15771
+    # gcc leaves a trailing carriage return which upsets mingw
 
15772
+    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 
15773
+  *)
 
15774
+    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 
15775
+  esac
 
15776
+  case $ac_prog in
 
15777
+    # Accept absolute paths.
 
15778
+    [\\/]* | ?:[\\/]*)
 
15779
+      re_direlt='/[^/][^/]*/\.\./'
 
15780
+      # Canonicalize the pathname of ld
 
15781
+      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
 
15782
+      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
 
15783
+       ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
 
15784
+      done
 
15785
+      test -z "$LD" && LD="$ac_prog"
 
15786
+      ;;
 
15787
+  "")
 
15788
+    # If it fails, then pretend we aren't using GCC.
 
15789
+    ac_prog=ld
 
15790
+    ;;
 
15791
+  *)
 
15792
+    # If it is relative, then search for the first ld in PATH.
 
15793
+    with_gnu_ld=unknown
 
15794
+    ;;
 
15795
+  esac
 
15796
+elif test "$with_gnu_ld" = yes; then
 
15797
+  { echo "$as_me:$LINENO: checking for GNU ld" >&5
 
15798
+echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
 
15799
+else
 
15800
+  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
15801
+echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
 
15802
+fi
 
15803
+if test "${lt_cv_path_LD+set}" = set; then
 
15804
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15805
+else
 
15806
+  if test -z "$LD"; then
 
15807
+  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
15808
+  for ac_dir in $PATH; do
 
15809
+    IFS="$lt_save_ifs"
 
15810
+    test -z "$ac_dir" && ac_dir=.
 
15811
+    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 
15812
+      lt_cv_path_LD="$ac_dir/$ac_prog"
 
15813
+      # Check to see if the program is GNU ld.  I'd rather use --version,
 
15814
+      # but apparently some variants of GNU ld only accept -v.
 
15815
+      # Break only if it was the GNU/non-GNU ld that we prefer.
 
15816
+      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
 
15817
+      *GNU* | *'with BFD'*)
 
15818
+       test "$with_gnu_ld" != no && break
 
15819
+       ;;
 
15820
+      *)
 
15821
+       test "$with_gnu_ld" != yes && break
 
15822
+       ;;
 
15823
+      esac
 
15824
+    fi
 
15825
+  done
 
15826
+  IFS="$lt_save_ifs"
 
15827
+else
 
15828
+  lt_cv_path_LD="$LD" # Let the user override the test with a path.
 
15829
+fi
 
15830
+fi
 
15831
+
 
15832
+LD="$lt_cv_path_LD"
 
15833
+if test -n "$LD"; then
 
15834
+  { echo "$as_me:$LINENO: result: $LD" >&5
 
15835
+echo "${ECHO_T}$LD" >&6; }
 
15836
+else
 
15837
+  { echo "$as_me:$LINENO: result: no" >&5
 
15838
+echo "${ECHO_T}no" >&6; }
 
15839
+fi
 
15840
+test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
 
15841
+echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
 
15842
+   { (exit 1); exit 1; }; }
 
15843
+{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
15844
+echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
 
15845
+if test "${lt_cv_prog_gnu_ld+set}" = set; then
 
15846
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15847
+else
 
15848
+  # I'd rather use --version here, but apparently some GNU lds only accept -v.
 
15849
+case `$LD -v 2>&1 </dev/null` in
 
15850
+*GNU* | *'with BFD'*)
 
15851
+  lt_cv_prog_gnu_ld=yes
 
15852
+  ;;
 
15853
+*)
 
15854
+  lt_cv_prog_gnu_ld=no
 
15855
+  ;;
 
15856
+esac
 
15857
+fi
 
15858
+{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
15859
+echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
 
15860
+with_gnu_ld=$lt_cv_prog_gnu_ld
 
15861
+
 
15862
+
 
15863
+{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
15864
+echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
 
15865
+if test "${lt_cv_ld_reload_flag+set}" = set; then
 
15866
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15867
+else
 
15868
+  lt_cv_ld_reload_flag='-r'
 
15869
+fi
 
15870
+{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
15871
+echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
 
15872
+reload_flag=$lt_cv_ld_reload_flag
 
15873
+case $reload_flag in
 
15874
+"" | " "*) ;;
 
15875
+*) reload_flag=" $reload_flag" ;;
 
15876
+esac
 
15877
+reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
15878
+case $host_os in
 
15879
+  darwin*)
 
15880
+    if test "$GCC" = yes; then
 
15881
+      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 
15882
+    else
 
15883
+      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
15884
+    fi
 
15885
+    ;;
 
15886
+esac
 
15887
+
 
15888
+{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
 
15889
+echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
 
15890
+if test "${lt_cv_path_NM+set}" = set; then
 
15891
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15892
+else
 
15893
+  if test -n "$NM"; then
 
15894
+  # Let the user override the test.
 
15895
+  lt_cv_path_NM="$NM"
 
15896
+else
 
15897
+  lt_nm_to_check="${ac_tool_prefix}nm"
 
15898
+  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
 
15899
+    lt_nm_to_check="$lt_nm_to_check nm"
 
15900
+  fi
 
15901
+  for lt_tmp_nm in $lt_nm_to_check; do
 
15902
+    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
15903
+    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
 
15904
+      IFS="$lt_save_ifs"
 
15905
+      test -z "$ac_dir" && ac_dir=.
 
15906
+      tmp_nm="$ac_dir/$lt_tmp_nm"
 
15907
+      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
 
15908
+       # Check to see if the nm accepts a BSD-compat flag.
 
15909
+       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
 
15910
+       #   nm: unknown option "B" ignored
 
15911
+       # Tru64's nm complains that /dev/null is an invalid object file
 
15912
+       case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
 
15913
+       */dev/null* | *'Invalid file or object type'*)
 
15914
+         lt_cv_path_NM="$tmp_nm -B"
 
15915
+         break
 
15916
+         ;;
 
15917
+       *)
 
15918
+         case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
 
15919
+         */dev/null*)
 
15920
+           lt_cv_path_NM="$tmp_nm -p"
 
15921
+           break
 
15922
+           ;;
 
15923
+         *)
 
15924
+           lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 
15925
+           continue # so that we can try to find one that supports BSD flags
 
15926
+           ;;
 
15927
+         esac
 
15928
+         ;;
 
15929
+       esac
 
15930
+      fi
 
15931
+    done
 
15932
+    IFS="$lt_save_ifs"
 
15933
+  done
 
15934
+  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
 
15935
+fi
 
15936
+fi
 
15937
+{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 
15938
+echo "${ECHO_T}$lt_cv_path_NM" >&6; }
 
15939
+NM="$lt_cv_path_NM"
 
15940
+
 
15941
+{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
15942
+echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
 
15943
+LN_S=$as_ln_s
 
15944
+if test "$LN_S" = "ln -s"; then
 
15945
+  { echo "$as_me:$LINENO: result: yes" >&5
 
15946
+echo "${ECHO_T}yes" >&6; }
 
15947
+else
 
15948
+  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
15949
+echo "${ECHO_T}no, using $LN_S" >&6; }
 
15950
+fi
 
15951
+
 
15952
+{ echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
 
15953
+echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
 
15954
+if test "${lt_cv_deplibs_check_method+set}" = set; then
 
15955
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15956
+else
 
15957
+  lt_cv_file_magic_cmd='$MAGIC_CMD'
 
15958
+lt_cv_file_magic_test_file=
 
15959
+lt_cv_deplibs_check_method='unknown'
 
15960
+# Need to set the preceding variable on all platforms that support
 
15961
+# interlibrary dependencies.
 
15962
+# 'none' -- dependencies not supported.
 
15963
+# `unknown' -- same as none, but documents that we really don't know.
 
15964
+# 'pass_all' -- all dependencies passed with no checks.
 
15965
+# 'test_compile' -- check by making test program.
 
15966
+# 'file_magic [[regex]]' -- check by looking for files in library path
 
15967
+# which responds to the $file_magic_cmd with a given extended regex.
 
15968
+# If you have `file' or equivalent on your system and you're not sure
 
15969
+# whether `pass_all' will *always* work, you probably want this one.
 
15970
+
 
15971
+case $host_os in
 
15972
+aix4* | aix5*)
 
15973
+  lt_cv_deplibs_check_method=pass_all
 
15974
+  ;;
 
15975
+
 
15976
+beos*)
 
15977
+  lt_cv_deplibs_check_method=pass_all
 
15978
+  ;;
 
15979
+
 
15980
+bsdi[45]*)
 
15981
+  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
 
15982
+  lt_cv_file_magic_cmd='/usr/bin/file -L'
 
15983
+  lt_cv_file_magic_test_file=/shlib/libc.so
 
15984
+  ;;
 
15985
+
 
15986
+cygwin*)
 
15987
+  # func_win32_libid is a shell function defined in ltmain.sh
 
15988
+  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
15989
+  lt_cv_file_magic_cmd='func_win32_libid'
 
15990
+  ;;
 
15991
+
 
15992
+mingw* | pw32*)
 
15993
+  # Base MSYS/MinGW do not provide the 'file' command needed by
 
15994
+  # func_win32_libid shell function, so use a weaker test based on 'objdump'.
 
15995
+  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
15996
+  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
15997
+  ;;
 
15998
+
 
15999
+darwin* | rhapsody*)
 
16000
+  lt_cv_deplibs_check_method=pass_all
 
16001
+  ;;
 
16002
+
 
16003
+freebsd* | dragonfly*)
 
16004
+  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 
16005
+    case $host_cpu in
 
16006
+    i*86 )
 
16007
+      # Not sure whether the presence of OpenBSD here was a mistake.
 
16008
+      # Let's accept both of them until this is cleared up.
 
16009
+      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
 
16010
+      lt_cv_file_magic_cmd=/usr/bin/file
 
16011
+      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
 
16012
+      ;;
 
16013
+    esac
 
16014
+  else
 
16015
+    lt_cv_deplibs_check_method=pass_all
 
16016
+  fi
 
16017
+  ;;
 
16018
+
 
16019
+gnu*)
 
16020
+  lt_cv_deplibs_check_method=pass_all
 
16021
+  ;;
 
16022
+
 
16023
+hpux10.20* | hpux11*)
 
16024
+  lt_cv_file_magic_cmd=/usr/bin/file
 
16025
+  case $host_cpu in
 
16026
+  ia64*)
 
16027
+    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
 
16028
+    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
 
16029
+    ;;
 
16030
+  hppa*64*)
 
16031
+    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]'
 
16032
+    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
 
16033
+    ;;
 
16034
+  *)
 
16035
+    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
 
16036
+    lt_cv_file_magic_test_file=/usr/lib/libc.sl
 
16037
+    ;;
 
16038
+  esac
 
16039
+  ;;
 
16040
+
 
16041
+interix3*)
 
16042
+  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
 
16043
+  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
 
16044
+  ;;
 
16045
+
 
16046
+irix5* | irix6* | nonstopux*)
 
16047
+  case $LD in
 
16048
+  *-32|*"-32 ") libmagic=32-bit;;
 
16049
+  *-n32|*"-n32 ") libmagic=N32;;
 
16050
+  *-64|*"-64 ") libmagic=64-bit;;
 
16051
+  *) libmagic=never-match;;
 
16052
+  esac
 
16053
+  lt_cv_deplibs_check_method=pass_all
 
16054
+  ;;
 
16055
+
 
16056
+# This must be Linux ELF.
 
16057
+linux* | k*bsd*-gnu)
 
16058
+  lt_cv_deplibs_check_method=pass_all
 
16059
+  ;;
 
16060
+
 
16061
+netbsd* | netbsdelf*-gnu)
 
16062
+  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 
16063
+    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 
16064
+  else
 
16065
+    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
 
16066
+  fi
 
16067
+  ;;
 
16068
+
 
16069
+newos6*)
 
16070
+  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
 
16071
+  lt_cv_file_magic_cmd=/usr/bin/file
 
16072
+  lt_cv_file_magic_test_file=/usr/lib/libnls.so
 
16073
+  ;;
 
16074
+
 
16075
+nto-qnx*)
 
16076
+  lt_cv_deplibs_check_method=unknown
 
16077
+  ;;
 
16078
+
 
16079
+openbsd*)
 
16080
+  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
16081
+    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
 
16082
+  else
 
16083
+    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 
16084
+  fi
 
16085
+  ;;
 
16086
+
 
16087
+osf3* | osf4* | osf5*)
 
16088
+  lt_cv_deplibs_check_method=pass_all
 
16089
+  ;;
 
16090
+
 
16091
+solaris*)
 
16092
+  lt_cv_deplibs_check_method=pass_all
 
16093
+  ;;
 
16094
+
 
16095
+sysv4 | sysv4.3*)
 
16096
+  case $host_vendor in
 
16097
+  motorola)
 
16098
+    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]'
 
16099
+    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
 
16100
+    ;;
 
16101
+  ncr)
 
16102
+    lt_cv_deplibs_check_method=pass_all
 
16103
+    ;;
 
16104
+  sequent)
 
16105
+    lt_cv_file_magic_cmd='/bin/file'
 
16106
+    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
 
16107
+    ;;
 
16108
+  sni)
 
16109
+    lt_cv_file_magic_cmd='/bin/file'
 
16110
+    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
 
16111
+    lt_cv_file_magic_test_file=/lib/libc.so
 
16112
+    ;;
 
16113
+  siemens)
 
16114
+    lt_cv_deplibs_check_method=pass_all
 
16115
+    ;;
 
16116
+  pc)
 
16117
+    lt_cv_deplibs_check_method=pass_all
 
16118
+    ;;
 
16119
+  esac
 
16120
+  ;;
 
16121
+
 
16122
+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
16123
+  lt_cv_deplibs_check_method=pass_all
 
16124
+  ;;
 
16125
+esac
 
16126
+
 
16127
+fi
 
16128
+{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 
16129
+echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
 
16130
+file_magic_cmd=$lt_cv_file_magic_cmd
 
16131
+deplibs_check_method=$lt_cv_deplibs_check_method
 
16132
+test -z "$deplibs_check_method" && deplibs_check_method=unknown
 
16133
+
 
16134
+
 
16135
+
 
16136
+
 
16137
+# If no C compiler was specified, use CC.
 
16138
+LTCC=${LTCC-"$CC"}
 
16139
+
 
16140
+# If no C compiler flags were specified, use CFLAGS.
 
16141
+LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
16142
+
 
16143
+# Allow CC to be a program name with arguments.
 
16144
+compiler=$CC
 
16145
+
 
16146
+# Check whether --enable-libtool-lock was given.
 
16147
+if test "${enable_libtool_lock+set}" = set; then
 
16148
+  enableval=$enable_libtool_lock;
 
16149
+fi
 
16150
+
 
16151
+test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
16152
+
 
16153
+# Some flags need to be propagated to the compiler or linker for good
 
16154
+# libtool support.
 
16155
+case $host in
 
16156
+ia64-*-hpux*)
 
16157
+  # Find out which ABI we are using.
 
16158
+  echo 'int i;' > conftest.$ac_ext
 
16159
+  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
16160
+  (eval $ac_compile) 2>&5
 
16161
+  ac_status=$?
 
16162
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16163
+  (exit $ac_status); }; then
 
16164
+    case `/usr/bin/file conftest.$ac_objext` in
 
16165
+    *ELF-32*)
 
16166
+      HPUX_IA64_MODE="32"
 
16167
+      ;;
 
16168
+    *ELF-64*)
 
16169
+      HPUX_IA64_MODE="64"
 
16170
+      ;;
 
16171
+    esac
 
16172
+  fi
 
16173
+  rm -rf conftest*
 
16174
+  ;;
 
16175
+*-*-irix6*)
 
16176
+  # Find out which ABI we are using.
 
16177
+  echo '#line 5496 "configure"' > conftest.$ac_ext
 
16178
+  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
16179
+  (eval $ac_compile) 2>&5
 
16180
+  ac_status=$?
 
16181
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16182
+  (exit $ac_status); }; then
 
16183
+   if test "$lt_cv_prog_gnu_ld" = yes; then
 
16184
+    case `/usr/bin/file conftest.$ac_objext` in
 
16185
+    *32-bit*)
 
16186
+      LD="${LD-ld} -melf32bsmip"
 
16187
+      ;;
 
16188
+    *N32*)
 
16189
+      LD="${LD-ld} -melf32bmipn32"
 
16190
+      ;;
 
16191
+    *64-bit*)
 
16192
+      LD="${LD-ld} -melf64bmip"
 
16193
+      ;;
 
16194
+    esac
 
16195
+   else
 
16196
+    case `/usr/bin/file conftest.$ac_objext` in
 
16197
+    *32-bit*)
 
16198
+      LD="${LD-ld} -32"
 
16199
+      ;;
 
16200
+    *N32*)
 
16201
+      LD="${LD-ld} -n32"
 
16202
+      ;;
 
16203
+    *64-bit*)
 
16204
+      LD="${LD-ld} -64"
 
16205
+      ;;
 
16206
+    esac
 
16207
+   fi
 
16208
+  fi
 
16209
+  rm -rf conftest*
 
16210
+  ;;
 
16211
+
 
16212
+x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
 
16213
+  # Find out which ABI we are using.
 
16214
+  echo 'int i;' > conftest.$ac_ext
 
16215
+  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
16216
+  (eval $ac_compile) 2>&5
 
16217
+  ac_status=$?
 
16218
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16219
+  (exit $ac_status); }; then
 
16220
+    case `/usr/bin/file conftest.o` in
 
16221
+    *32-bit*)
 
16222
+      case $host in
 
16223
+        x86_64-*linux*)
 
16224
+          LD="${LD-ld} -m elf_i386"
 
16225
+          ;;
 
16226
+        ppc64-*linux*|powerpc64-*linux*)
 
16227
+          LD="${LD-ld} -m elf32ppclinux"
 
16228
+          ;;
 
16229
+        s390x-*linux*)
 
16230
+          LD="${LD-ld} -m elf_s390"
 
16231
+          ;;
 
16232
+        sparc64-*linux*)
 
16233
+          LD="${LD-ld} -m elf32_sparc"
 
16234
+          ;;
 
16235
+      esac
 
16236
+      ;;
 
16237
+    *64-bit*)
 
16238
+      case $host in
 
16239
+        x86_64-*linux*)
 
16240
+          LD="${LD-ld} -m elf_x86_64"
 
16241
+          ;;
 
16242
+        ppc*-*linux*|powerpc*-*linux*)
 
16243
+          LD="${LD-ld} -m elf64ppc"
 
16244
+          ;;
 
16245
+        s390*-*linux*)
 
16246
+          LD="${LD-ld} -m elf64_s390"
 
16247
+          ;;
 
16248
+        sparc*-*linux*)
 
16249
+          LD="${LD-ld} -m elf64_sparc"
 
16250
+          ;;
 
16251
+      esac
 
16252
+      ;;
 
16253
+    esac
 
16254
+  fi
 
16255
+  rm -rf conftest*
 
16256
+  ;;
 
16257
+
 
16258
+*-*-sco3.2v5*)
 
16259
+  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 
16260
+  SAVE_CFLAGS="$CFLAGS"
 
16261
+  CFLAGS="$CFLAGS -belf"
 
16262
+  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
16263
+echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
 
16264
+if test "${lt_cv_cc_needs_belf+set}" = set; then
 
16265
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16266
+else
 
16267
+  ac_ext=c
 
16268
+ac_cpp='$CPP $CPPFLAGS'
 
16269
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
16270
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
16271
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
16272
+
 
16273
+     cat >conftest.$ac_ext <<_ACEOF
 
16274
+/* confdefs.h.  */
 
16275
+_ACEOF
 
16276
+cat confdefs.h >>conftest.$ac_ext
 
16277
+cat >>conftest.$ac_ext <<_ACEOF
 
16278
+/* end confdefs.h.  */
 
16279
+
 
16280
+int
 
16281
+main ()
 
16282
+{
 
16283
+
 
16284
+  ;
 
16285
+  return 0;
 
16286
+}
 
16287
+_ACEOF
 
16288
+rm -f conftest.$ac_objext conftest$ac_exeext
 
16289
+if { (ac_try="$ac_link"
 
16290
+case "(($ac_try" in
 
16291
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16292
+  *) ac_try_echo=$ac_try;;
 
16293
+esac
 
16294
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16295
+  (eval "$ac_link") 2>conftest.er1
 
16296
+  ac_status=$?
 
16297
+  grep -v '^ *+' conftest.er1 >conftest.err
 
16298
+  rm -f conftest.er1
 
16299
+  cat conftest.err >&5
 
16300
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16301
+  (exit $ac_status); } && {
 
16302
+        test -z "$ac_c_werror_flag" ||
 
16303
+        test ! -s conftest.err
 
16304
+       } && test -s conftest$ac_exeext &&
 
16305
+       $as_test_x conftest$ac_exeext; then
 
16306
+  lt_cv_cc_needs_belf=yes
 
16307
+else
 
16308
+  echo "$as_me: failed program was:" >&5
 
16309
+sed 's/^/| /' conftest.$ac_ext >&5
 
16310
+
 
16311
+       lt_cv_cc_needs_belf=no
 
16312
+fi
 
16313
+
 
16314
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
16315
+      conftest$ac_exeext conftest.$ac_ext
 
16316
+     ac_ext=c
 
16317
+ac_cpp='$CPP $CPPFLAGS'
 
16318
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
16319
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
16320
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
16321
+
 
16322
+fi
 
16323
+{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
16324
+echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
 
16325
+  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 
16326
+    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 
16327
+    CFLAGS="$SAVE_CFLAGS"
 
16328
+  fi
 
16329
+  ;;
 
16330
+sparc*-*solaris*)
 
16331
+  # Find out which ABI we are using.
 
16332
+  echo 'int i;' > conftest.$ac_ext
 
16333
+  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
16334
+  (eval $ac_compile) 2>&5
 
16335
+  ac_status=$?
 
16336
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16337
+  (exit $ac_status); }; then
 
16338
+    case `/usr/bin/file conftest.o` in
 
16339
+    *64-bit*)
 
16340
+      case $lt_cv_prog_gnu_ld in
 
16341
+      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
16342
+      *)    LD="${LD-ld} -64" ;;
 
16343
+      esac
 
16344
+      ;;
 
16345
+    esac
 
16346
+  fi
 
16347
+  rm -rf conftest*
 
16348
+  ;;
 
16349
+
 
16350
+
 
16351
+esac
 
16352
+
 
16353
+need_locks="$enable_libtool_lock"
 
16354
+
 
16355
+
 
16356
+
 
16357
+{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
16358
+echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
 
16359
+if test "${ac_cv_header_stdc+set}" = set; then
 
16360
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16361
+else
 
16362
+  cat >conftest.$ac_ext <<_ACEOF
 
16363
+/* confdefs.h.  */
 
16364
+_ACEOF
 
16365
+cat confdefs.h >>conftest.$ac_ext
 
16366
+cat >>conftest.$ac_ext <<_ACEOF
 
16367
+/* end confdefs.h.  */
 
16368
+#include <stdlib.h>
 
16369
+#include <stdarg.h>
 
16370
+#include <string.h>
 
16371
+#include <float.h>
 
16372
+
 
16373
+int
 
16374
+main ()
 
16375
+{
 
16376
+
 
16377
+  ;
 
16378
+  return 0;
 
16379
+}
 
16380
+_ACEOF
 
16381
+rm -f conftest.$ac_objext
 
16382
+if { (ac_try="$ac_compile"
 
16383
+case "(($ac_try" in
 
16384
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16385
+  *) ac_try_echo=$ac_try;;
 
16386
+esac
 
16387
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16388
+  (eval "$ac_compile") 2>conftest.er1
 
16389
+  ac_status=$?
 
16390
+  grep -v '^ *+' conftest.er1 >conftest.err
 
16391
+  rm -f conftest.er1
 
16392
+  cat conftest.err >&5
 
16393
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16394
+  (exit $ac_status); } && {
 
16395
+        test -z "$ac_c_werror_flag" ||
 
16396
+        test ! -s conftest.err
 
16397
+       } && test -s conftest.$ac_objext; then
 
16398
+  ac_cv_header_stdc=yes
 
16399
+else
 
16400
+  echo "$as_me: failed program was:" >&5
 
16401
+sed 's/^/| /' conftest.$ac_ext >&5
 
16402
+
 
16403
+       ac_cv_header_stdc=no
 
16404
+fi
 
16405
+
 
16406
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
16407
+
 
16408
+if test $ac_cv_header_stdc = yes; then
 
16409
+  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
16410
+  cat >conftest.$ac_ext <<_ACEOF
 
16411
+/* confdefs.h.  */
 
16412
+_ACEOF
 
16413
+cat confdefs.h >>conftest.$ac_ext
 
16414
+cat >>conftest.$ac_ext <<_ACEOF
 
16415
+/* end confdefs.h.  */
 
16416
+#include <string.h>
 
16417
+
 
16418
+_ACEOF
 
16419
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
16420
+  $EGREP "memchr" >/dev/null 2>&1; then
 
16421
+  :
 
16422
+else
 
16423
+  ac_cv_header_stdc=no
 
16424
+fi
 
16425
+rm -f conftest*
 
16426
+
 
16427
+fi
 
16428
+
 
16429
+if test $ac_cv_header_stdc = yes; then
 
16430
+  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
16431
+  cat >conftest.$ac_ext <<_ACEOF
 
16432
+/* confdefs.h.  */
 
16433
+_ACEOF
 
16434
+cat confdefs.h >>conftest.$ac_ext
 
16435
+cat >>conftest.$ac_ext <<_ACEOF
 
16436
+/* end confdefs.h.  */
 
16437
+#include <stdlib.h>
 
16438
+
 
16439
+_ACEOF
 
16440
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
16441
+  $EGREP "free" >/dev/null 2>&1; then
 
16442
+  :
 
16443
+else
 
16444
+  ac_cv_header_stdc=no
 
16445
+fi
 
16446
+rm -f conftest*
 
16447
+
 
16448
+fi
 
16449
+
 
16450
+if test $ac_cv_header_stdc = yes; then
 
16451
+  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
16452
+  if test "$cross_compiling" = yes; then
 
16453
+  :
 
16454
+else
 
16455
+  cat >conftest.$ac_ext <<_ACEOF
 
16456
+/* confdefs.h.  */
 
16457
+_ACEOF
 
16458
+cat confdefs.h >>conftest.$ac_ext
 
16459
+cat >>conftest.$ac_ext <<_ACEOF
 
16460
+/* end confdefs.h.  */
 
16461
+#include <ctype.h>
 
16462
+#include <stdlib.h>
 
16463
+#if ((' ' & 0x0FF) == 0x020)
 
16464
+# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
16465
+# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
16466
+#else
 
16467
+# define ISLOWER(c) \
 
16468
+                  (('a' <= (c) && (c) <= 'i') \
 
16469
+                    || ('j' <= (c) && (c) <= 'r') \
 
16470
+                    || ('s' <= (c) && (c) <= 'z'))
 
16471
+# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
16472
+#endif
 
16473
+
 
16474
+#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
16475
+int
 
16476
+main ()
 
16477
+{
 
16478
+  int i;
 
16479
+  for (i = 0; i < 256; i++)
 
16480
+    if (XOR (islower (i), ISLOWER (i))
 
16481
+       || toupper (i) != TOUPPER (i))
 
16482
+      return 2;
 
16483
+  return 0;
 
16484
+}
 
16485
+_ACEOF
 
16486
+rm -f conftest$ac_exeext
 
16487
+if { (ac_try="$ac_link"
 
16488
+case "(($ac_try" in
 
16489
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16490
+  *) ac_try_echo=$ac_try;;
 
16491
+esac
 
16492
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16493
+  (eval "$ac_link") 2>&5
 
16494
+  ac_status=$?
 
16495
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16496
+  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
16497
+  { (case "(($ac_try" in
 
16498
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16499
+  *) ac_try_echo=$ac_try;;
 
16500
+esac
 
16501
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16502
+  (eval "$ac_try") 2>&5
 
16503
+  ac_status=$?
 
16504
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16505
+  (exit $ac_status); }; }; then
 
16506
+  :
 
16507
+else
 
16508
+  echo "$as_me: program exited with status $ac_status" >&5
 
16509
+echo "$as_me: failed program was:" >&5
 
16510
+sed 's/^/| /' conftest.$ac_ext >&5
 
16511
+
 
16512
+( exit $ac_status )
 
16513
+ac_cv_header_stdc=no
 
16514
+fi
 
16515
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
16516
+fi
 
16517
+
 
16518
+
 
16519
+fi
 
16520
+fi
 
16521
+{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
16522
+echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
 
16523
+if test $ac_cv_header_stdc = yes; then
 
16524
+
 
16525
+cat >>confdefs.h <<\_ACEOF
 
16526
+#define STDC_HEADERS 1
 
16527
+_ACEOF
 
16528
+
 
16529
+fi
 
16530
+
 
16531
+# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 
16532
+
 
16533
+
 
16534
+
 
16535
+
 
16536
+
 
16537
+
 
16538
+
 
16539
+
 
16540
+
 
16541
+for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 
16542
+                 inttypes.h stdint.h unistd.h
 
16543
+do
 
16544
+as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
16545
+{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
16546
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
16547
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
16548
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16549
+else
 
16550
+  cat >conftest.$ac_ext <<_ACEOF
 
16551
+/* confdefs.h.  */
 
16552
+_ACEOF
 
16553
+cat confdefs.h >>conftest.$ac_ext
 
16554
+cat >>conftest.$ac_ext <<_ACEOF
 
16555
+/* end confdefs.h.  */
 
16556
+$ac_includes_default
 
16557
+
 
16558
+#include <$ac_header>
 
16559
+_ACEOF
 
16560
+rm -f conftest.$ac_objext
 
16561
+if { (ac_try="$ac_compile"
 
16562
+case "(($ac_try" in
 
16563
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16564
+  *) ac_try_echo=$ac_try;;
 
16565
+esac
 
16566
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16567
+  (eval "$ac_compile") 2>conftest.er1
 
16568
+  ac_status=$?
 
16569
+  grep -v '^ *+' conftest.er1 >conftest.err
 
16570
+  rm -f conftest.er1
 
16571
+  cat conftest.err >&5
 
16572
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16573
+  (exit $ac_status); } && {
 
16574
+        test -z "$ac_c_werror_flag" ||
 
16575
+        test ! -s conftest.err
 
16576
+       } && test -s conftest.$ac_objext; then
 
16577
+  eval "$as_ac_Header=yes"
 
16578
+else
 
16579
+  echo "$as_me: failed program was:" >&5
 
16580
+sed 's/^/| /' conftest.$ac_ext >&5
 
16581
+
 
16582
+       eval "$as_ac_Header=no"
 
16583
+fi
 
16584
+
 
16585
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
16586
+fi
 
16587
+ac_res=`eval echo '${'$as_ac_Header'}'`
 
16588
+              { echo "$as_me:$LINENO: result: $ac_res" >&5
 
16589
+echo "${ECHO_T}$ac_res" >&6; }
 
16590
+if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
16591
+  cat >>confdefs.h <<_ACEOF
 
16592
+#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
16593
+_ACEOF
 
16594
+
 
16595
+fi
 
16596
+
 
16597
+done
 
16598
+
 
16599
+
 
16600
+
 
16601
+for ac_header in dlfcn.h
 
16602
+do
 
16603
+as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
16604
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
16605
+  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
16606
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
16607
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
16608
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16609
+fi
 
16610
+ac_res=`eval echo '${'$as_ac_Header'}'`
 
16611
+              { echo "$as_me:$LINENO: result: $ac_res" >&5
 
16612
+echo "${ECHO_T}$ac_res" >&6; }
 
16613
+else
 
16614
+  # Is the header compilable?
 
16615
+{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
16616
+echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 
16617
+cat >conftest.$ac_ext <<_ACEOF
 
16618
+/* confdefs.h.  */
 
16619
+_ACEOF
 
16620
+cat confdefs.h >>conftest.$ac_ext
 
16621
+cat >>conftest.$ac_ext <<_ACEOF
 
16622
+/* end confdefs.h.  */
 
16623
+$ac_includes_default
 
16624
+#include <$ac_header>
 
16625
+_ACEOF
 
16626
+rm -f conftest.$ac_objext
 
16627
+if { (ac_try="$ac_compile"
 
16628
+case "(($ac_try" in
 
16629
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16630
+  *) ac_try_echo=$ac_try;;
 
16631
+esac
 
16632
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16633
+  (eval "$ac_compile") 2>conftest.er1
 
16634
+  ac_status=$?
 
16635
+  grep -v '^ *+' conftest.er1 >conftest.err
 
16636
+  rm -f conftest.er1
 
16637
+  cat conftest.err >&5
 
16638
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16639
+  (exit $ac_status); } && {
 
16640
+        test -z "$ac_c_werror_flag" ||
 
16641
+        test ! -s conftest.err
 
16642
+       } && test -s conftest.$ac_objext; then
 
16643
+  ac_header_compiler=yes
 
16644
+else
 
16645
+  echo "$as_me: failed program was:" >&5
 
16646
+sed 's/^/| /' conftest.$ac_ext >&5
 
16647
+
 
16648
+       ac_header_compiler=no
 
16649
+fi
 
16650
+
 
16651
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
16652
+{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
16653
+echo "${ECHO_T}$ac_header_compiler" >&6; }
 
16654
+
 
16655
+# Is the header present?
 
16656
+{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
16657
+echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 
16658
+cat >conftest.$ac_ext <<_ACEOF
 
16659
+/* confdefs.h.  */
 
16660
+_ACEOF
 
16661
+cat confdefs.h >>conftest.$ac_ext
 
16662
+cat >>conftest.$ac_ext <<_ACEOF
 
16663
+/* end confdefs.h.  */
 
16664
+#include <$ac_header>
 
16665
+_ACEOF
 
16666
+if { (ac_try="$ac_cpp conftest.$ac_ext"
 
16667
+case "(($ac_try" in
 
16668
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16669
+  *) ac_try_echo=$ac_try;;
 
16670
+esac
 
16671
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16672
+  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
16673
+  ac_status=$?
 
16674
+  grep -v '^ *+' conftest.er1 >conftest.err
 
16675
+  rm -f conftest.er1
 
16676
+  cat conftest.err >&5
 
16677
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16678
+  (exit $ac_status); } >/dev/null && {
 
16679
+        test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
16680
+        test ! -s conftest.err
 
16681
+       }; then
 
16682
+  ac_header_preproc=yes
 
16683
+else
 
16684
+  echo "$as_me: failed program was:" >&5
 
16685
+sed 's/^/| /' conftest.$ac_ext >&5
 
16686
+
 
16687
+  ac_header_preproc=no
 
16688
+fi
 
16689
+
 
16690
+rm -f conftest.err conftest.$ac_ext
 
16691
+{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
16692
+echo "${ECHO_T}$ac_header_preproc" >&6; }
 
16693
+
 
16694
+# So?  What about this header?
 
16695
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
16696
+  yes:no: )
 
16697
+    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
16698
+echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
16699
+    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
16700
+echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
16701
+    ac_header_preproc=yes
 
16702
+    ;;
 
16703
+  no:yes:* )
 
16704
+    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
16705
+echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
16706
+    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
16707
+echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
16708
+    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
16709
+echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
16710
+    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
16711
+echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
16712
+    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
16713
+echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
16714
+    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
16715
+echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
16716
+    ( cat <<\_ASBOX
 
16717
+## ----------------------------------------- ##
 
16718
+## Report this to maniac@opencompositing.org ##
 
16719
+## ----------------------------------------- ##
 
16720
+_ASBOX
 
16721
+     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
16722
+    ;;
 
16723
+esac
 
16724
+{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
16725
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
16726
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
16727
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16728
+else
 
16729
+  eval "$as_ac_Header=\$ac_header_preproc"
 
16730
+fi
 
16731
+ac_res=`eval echo '${'$as_ac_Header'}'`
 
16732
+              { echo "$as_me:$LINENO: result: $ac_res" >&5
 
16733
+echo "${ECHO_T}$ac_res" >&6; }
 
16734
+
 
16735
+fi
 
16736
+if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
16737
+  cat >>confdefs.h <<_ACEOF
 
16738
+#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
16739
+_ACEOF
 
16740
+
 
16741
+fi
 
16742
+
 
16743
+done
 
16744
+
 
16745
+ac_ext=cpp
 
16746
+ac_cpp='$CXXCPP $CPPFLAGS'
 
16747
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
16748
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
16749
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
16750
+if test -z "$CXX"; then
 
16751
+  if test -n "$CCC"; then
 
16752
+    CXX=$CCC
 
16753
+  else
 
16754
+    if test -n "$ac_tool_prefix"; then
 
16755
+  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 
16756
+  do
 
16757
+    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
16758
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
16759
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
16760
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
16761
+if test "${ac_cv_prog_CXX+set}" = set; then
 
16762
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16763
+else
 
16764
+  if test -n "$CXX"; then
 
16765
+  ac_cv_prog_CXX="$CXX" # Let the user override the test.
 
16766
+else
 
16767
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
16768
+for as_dir in $PATH
 
16769
+do
 
16770
+  IFS=$as_save_IFS
 
16771
+  test -z "$as_dir" && as_dir=.
 
16772
+  for ac_exec_ext in '' $ac_executable_extensions; do
 
16773
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
16774
+    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
 
16775
+    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
16776
+    break 2
 
16777
+  fi
 
16778
+done
 
16779
+done
 
16780
+IFS=$as_save_IFS
 
16781
+
 
16782
+fi
 
16783
+fi
 
16784
+CXX=$ac_cv_prog_CXX
 
16785
+if test -n "$CXX"; then
 
16786
+  { echo "$as_me:$LINENO: result: $CXX" >&5
 
16787
+echo "${ECHO_T}$CXX" >&6; }
 
16788
+else
 
16789
+  { echo "$as_me:$LINENO: result: no" >&5
 
16790
+echo "${ECHO_T}no" >&6; }
 
16791
+fi
 
16792
+
 
16793
+
 
16794
+    test -n "$CXX" && break
 
16795
+  done
 
16796
+fi
 
16797
+if test -z "$CXX"; then
 
16798
+  ac_ct_CXX=$CXX
 
16799
+  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 
16800
+do
 
16801
+  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
16802
+set dummy $ac_prog; ac_word=$2
 
16803
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
16804
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
16805
+if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
 
16806
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16807
+else
 
16808
+  if test -n "$ac_ct_CXX"; then
 
16809
+  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
 
16810
+else
 
16811
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
16812
+for as_dir in $PATH
 
16813
+do
 
16814
+  IFS=$as_save_IFS
 
16815
+  test -z "$as_dir" && as_dir=.
 
16816
+  for ac_exec_ext in '' $ac_executable_extensions; do
 
16817
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
16818
+    ac_cv_prog_ac_ct_CXX="$ac_prog"
 
16819
+    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
16820
+    break 2
 
16821
+  fi
 
16822
+done
 
16823
+done
 
16824
+IFS=$as_save_IFS
 
16825
+
 
16826
+fi
 
16827
+fi
 
16828
+ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
 
16829
+if test -n "$ac_ct_CXX"; then
 
16830
+  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
 
16831
+echo "${ECHO_T}$ac_ct_CXX" >&6; }
 
16832
+else
 
16833
+  { echo "$as_me:$LINENO: result: no" >&5
 
16834
+echo "${ECHO_T}no" >&6; }
 
16835
+fi
 
16836
+
 
16837
+
 
16838
+  test -n "$ac_ct_CXX" && break
 
16839
+done
 
16840
+
 
16841
+  if test "x$ac_ct_CXX" = x; then
 
16842
+    CXX="g++"
 
16843
+  else
 
16844
+    case $cross_compiling:$ac_tool_warned in
 
16845
+yes:)
 
16846
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
16847
+whose name does not start with the host triplet.  If you think this
 
16848
+configuration is useful to you, please write to autoconf@gnu.org." >&5
 
16849
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
16850
+whose name does not start with the host triplet.  If you think this
 
16851
+configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
16852
+ac_tool_warned=yes ;;
 
16853
+esac
 
16854
+    CXX=$ac_ct_CXX
 
16855
+  fi
 
16856
+fi
 
16857
+
 
16858
+  fi
 
16859
+fi
 
16860
+# Provide some information about the compiler.
 
16861
+echo "$as_me:$LINENO: checking for C++ compiler version" >&5
 
16862
+ac_compiler=`set X $ac_compile; echo $2`
 
16863
+{ (ac_try="$ac_compiler --version >&5"
 
16864
+case "(($ac_try" in
 
16865
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16866
+  *) ac_try_echo=$ac_try;;
 
16867
+esac
 
16868
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16869
+  (eval "$ac_compiler --version >&5") 2>&5
 
16870
+  ac_status=$?
 
16871
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16872
+  (exit $ac_status); }
 
16873
+{ (ac_try="$ac_compiler -v >&5"
 
16874
+case "(($ac_try" in
 
16875
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16876
+  *) ac_try_echo=$ac_try;;
 
16877
+esac
 
16878
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16879
+  (eval "$ac_compiler -v >&5") 2>&5
 
16880
+  ac_status=$?
 
16881
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16882
+  (exit $ac_status); }
 
16883
+{ (ac_try="$ac_compiler -V >&5"
 
16884
+case "(($ac_try" in
 
16885
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16886
+  *) ac_try_echo=$ac_try;;
 
16887
+esac
 
16888
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16889
+  (eval "$ac_compiler -V >&5") 2>&5
 
16890
+  ac_status=$?
 
16891
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16892
+  (exit $ac_status); }
 
16893
+
 
16894
+{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
 
16895
+echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
 
16896
+if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
 
16897
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16898
+else
 
16899
+  cat >conftest.$ac_ext <<_ACEOF
 
16900
+/* confdefs.h.  */
 
16901
+_ACEOF
 
16902
+cat confdefs.h >>conftest.$ac_ext
 
16903
+cat >>conftest.$ac_ext <<_ACEOF
 
16904
+/* end confdefs.h.  */
 
16905
+
 
16906
+int
 
16907
+main ()
 
16908
+{
 
16909
+#ifndef __GNUC__
 
16910
+       choke me
 
16911
+#endif
 
16912
+
 
16913
+  ;
 
16914
+  return 0;
 
16915
+}
 
16916
+_ACEOF
 
16917
+rm -f conftest.$ac_objext
 
16918
+if { (ac_try="$ac_compile"
 
16919
+case "(($ac_try" in
 
16920
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16921
+  *) ac_try_echo=$ac_try;;
 
16922
+esac
 
16923
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16924
+  (eval "$ac_compile") 2>conftest.er1
 
16925
+  ac_status=$?
 
16926
+  grep -v '^ *+' conftest.er1 >conftest.err
 
16927
+  rm -f conftest.er1
 
16928
+  cat conftest.err >&5
 
16929
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16930
+  (exit $ac_status); } && {
 
16931
+        test -z "$ac_cxx_werror_flag" ||
 
16932
+        test ! -s conftest.err
 
16933
+       } && test -s conftest.$ac_objext; then
 
16934
+  ac_compiler_gnu=yes
 
16935
+else
 
16936
+  echo "$as_me: failed program was:" >&5
 
16937
+sed 's/^/| /' conftest.$ac_ext >&5
 
16938
+
 
16939
+       ac_compiler_gnu=no
 
16940
+fi
 
16941
+
 
16942
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
16943
+ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
 
16944
+
 
16945
+fi
 
16946
+{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
 
16947
+echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
 
16948
+GXX=`test $ac_compiler_gnu = yes && echo yes`
 
16949
+ac_test_CXXFLAGS=${CXXFLAGS+set}
 
16950
+ac_save_CXXFLAGS=$CXXFLAGS
 
16951
+{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
 
16952
+echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
 
16953
+if test "${ac_cv_prog_cxx_g+set}" = set; then
 
16954
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16955
+else
 
16956
+  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 
16957
+   ac_cxx_werror_flag=yes
 
16958
+   ac_cv_prog_cxx_g=no
 
16959
+   CXXFLAGS="-g"
 
16960
+   cat >conftest.$ac_ext <<_ACEOF
 
16961
+/* confdefs.h.  */
 
16962
+_ACEOF
 
16963
+cat confdefs.h >>conftest.$ac_ext
 
16964
+cat >>conftest.$ac_ext <<_ACEOF
 
16965
+/* end confdefs.h.  */
 
16966
+
 
16967
+int
 
16968
+main ()
 
16969
+{
 
16970
+
 
16971
+  ;
 
16972
+  return 0;
 
16973
+}
 
16974
+_ACEOF
 
16975
+rm -f conftest.$ac_objext
 
16976
+if { (ac_try="$ac_compile"
 
16977
+case "(($ac_try" in
 
16978
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16979
+  *) ac_try_echo=$ac_try;;
 
16980
+esac
 
16981
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16982
+  (eval "$ac_compile") 2>conftest.er1
 
16983
+  ac_status=$?
 
16984
+  grep -v '^ *+' conftest.er1 >conftest.err
 
16985
+  rm -f conftest.er1
 
16986
+  cat conftest.err >&5
 
16987
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16988
+  (exit $ac_status); } && {
 
16989
+        test -z "$ac_cxx_werror_flag" ||
 
16990
+        test ! -s conftest.err
 
16991
+       } && test -s conftest.$ac_objext; then
 
16992
+  ac_cv_prog_cxx_g=yes
 
16993
+else
 
16994
+  echo "$as_me: failed program was:" >&5
 
16995
+sed 's/^/| /' conftest.$ac_ext >&5
 
16996
+
 
16997
+       CXXFLAGS=""
 
16998
+      cat >conftest.$ac_ext <<_ACEOF
 
16999
+/* confdefs.h.  */
 
17000
+_ACEOF
 
17001
+cat confdefs.h >>conftest.$ac_ext
 
17002
+cat >>conftest.$ac_ext <<_ACEOF
 
17003
+/* end confdefs.h.  */
 
17004
+
 
17005
+int
 
17006
+main ()
 
17007
+{
 
17008
+
 
17009
+  ;
 
17010
+  return 0;
 
17011
+}
 
17012
+_ACEOF
 
17013
+rm -f conftest.$ac_objext
 
17014
+if { (ac_try="$ac_compile"
 
17015
+case "(($ac_try" in
 
17016
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17017
+  *) ac_try_echo=$ac_try;;
 
17018
+esac
 
17019
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17020
+  (eval "$ac_compile") 2>conftest.er1
 
17021
+  ac_status=$?
 
17022
+  grep -v '^ *+' conftest.er1 >conftest.err
 
17023
+  rm -f conftest.er1
 
17024
+  cat conftest.err >&5
 
17025
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17026
+  (exit $ac_status); } && {
 
17027
+        test -z "$ac_cxx_werror_flag" ||
 
17028
+        test ! -s conftest.err
 
17029
+       } && test -s conftest.$ac_objext; then
 
17030
+  :
 
17031
+else
 
17032
+  echo "$as_me: failed program was:" >&5
 
17033
+sed 's/^/| /' conftest.$ac_ext >&5
 
17034
+
 
17035
+       ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
17036
+        CXXFLAGS="-g"
 
17037
+        cat >conftest.$ac_ext <<_ACEOF
 
17038
+/* confdefs.h.  */
 
17039
+_ACEOF
 
17040
+cat confdefs.h >>conftest.$ac_ext
 
17041
+cat >>conftest.$ac_ext <<_ACEOF
 
17042
+/* end confdefs.h.  */
 
17043
+
 
17044
+int
 
17045
+main ()
 
17046
+{
 
17047
+
 
17048
+  ;
 
17049
+  return 0;
 
17050
+}
 
17051
+_ACEOF
 
17052
+rm -f conftest.$ac_objext
 
17053
+if { (ac_try="$ac_compile"
 
17054
+case "(($ac_try" in
 
17055
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17056
+  *) ac_try_echo=$ac_try;;
 
17057
+esac
 
17058
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17059
+  (eval "$ac_compile") 2>conftest.er1
 
17060
+  ac_status=$?
 
17061
+  grep -v '^ *+' conftest.er1 >conftest.err
 
17062
+  rm -f conftest.er1
 
17063
+  cat conftest.err >&5
 
17064
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17065
+  (exit $ac_status); } && {
 
17066
+        test -z "$ac_cxx_werror_flag" ||
 
17067
+        test ! -s conftest.err
 
17068
+       } && test -s conftest.$ac_objext; then
 
17069
+  ac_cv_prog_cxx_g=yes
 
17070
+else
 
17071
+  echo "$as_me: failed program was:" >&5
 
17072
+sed 's/^/| /' conftest.$ac_ext >&5
 
17073
+
 
17074
+
 
17075
+fi
 
17076
+
 
17077
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
17078
+fi
 
17079
+
 
17080
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
17081
+fi
 
17082
+
 
17083
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
17084
+   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
17085
+fi
 
17086
+{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
 
17087
+echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
 
17088
+if test "$ac_test_CXXFLAGS" = set; then
 
17089
+  CXXFLAGS=$ac_save_CXXFLAGS
 
17090
+elif test $ac_cv_prog_cxx_g = yes; then
 
17091
+  if test "$GXX" = yes; then
 
17092
+    CXXFLAGS="-g -O2"
 
17093
+  else
 
17094
+    CXXFLAGS="-g"
 
17095
+  fi
 
17096
+else
 
17097
+  if test "$GXX" = yes; then
 
17098
+    CXXFLAGS="-O2"
 
17099
+  else
 
17100
+    CXXFLAGS=
 
17101
+  fi
 
17102
+fi
 
17103
+ac_ext=cpp
 
17104
+ac_cpp='$CXXCPP $CPPFLAGS'
 
17105
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
17106
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
17107
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
17108
+
 
17109
+depcc="$CXX"  am_compiler_list=
 
17110
+
 
17111
+{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
17112
+echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
 
17113
+if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
 
17114
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17115
+else
 
17116
+  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
17117
+  # We make a subdir and do the tests there.  Otherwise we can end up
 
17118
+  # making bogus files that we don't know about and never remove.  For
 
17119
+  # instance it was reported that on HP-UX the gcc test will end up
 
17120
+  # making a dummy file named `D' -- because `-MD' means `put the output
 
17121
+  # in D'.
 
17122
+  mkdir conftest.dir
 
17123
+  # Copy depcomp to subdir because otherwise we won't find it if we're
 
17124
+  # using a relative directory.
 
17125
+  cp "$am_depcomp" conftest.dir
 
17126
+  cd conftest.dir
 
17127
+  # We will build objects and dependencies in a subdirectory because
 
17128
+  # it helps to detect inapplicable dependency modes.  For instance
 
17129
+  # both Tru64's cc and ICC support -MD to output dependencies as a
 
17130
+  # side effect of compilation, but ICC will put the dependencies in
 
17131
+  # the current directory while Tru64 will put them in the object
 
17132
+  # directory.
 
17133
+  mkdir sub
 
17134
+
 
17135
+  am_cv_CXX_dependencies_compiler_type=none
 
17136
+  if test "$am_compiler_list" = ""; then
 
17137
+     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
17138
+  fi
 
17139
+  for depmode in $am_compiler_list; do
 
17140
+    # Setup a source with many dependencies, because some compilers
 
17141
+    # like to wrap large dependency lists on column 80 (with \), and
 
17142
+    # we should not choose a depcomp mode which is confused by this.
 
17143
+    #
 
17144
+    # We need to recreate these files for each test, as the compiler may
 
17145
+    # overwrite some of them when testing with obscure command lines.
 
17146
+    # This happens at least with the AIX C compiler.
 
17147
+    : > sub/conftest.c
 
17148
+    for i in 1 2 3 4 5 6; do
 
17149
+      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
17150
+      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
17151
+      # Solaris 8's {/usr,}/bin/sh.
 
17152
+      touch sub/conftst$i.h
 
17153
+    done
 
17154
+    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
17155
+
 
17156
+    case $depmode in
 
17157
+    nosideeffect)
 
17158
+      # after this tag, mechanisms are not by side-effect, so they'll
 
17159
+      # only be used when explicitly requested
 
17160
+      if test "x$enable_dependency_tracking" = xyes; then
 
17161
+       continue
 
17162
+      else
 
17163
+       break
 
17164
+      fi
 
17165
+      ;;
 
17166
+    none) break ;;
 
17167
+    esac
 
17168
+    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
17169
+    # mode.  It turns out that the SunPro C++ compiler does not properly
 
17170
+    # handle `-M -o', and we need to detect this.
 
17171
+    if depmode=$depmode \
 
17172
+       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
17173
+       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
17174
+       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
17175
+         >/dev/null 2>conftest.err &&
 
17176
+       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
17177
+       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
17178
+       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
17179
+      # icc doesn't choke on unknown options, it will just issue warnings
 
17180
+      # or remarks (even with -Werror).  So we grep stderr for any message
 
17181
+      # that says an option was ignored or not supported.
 
17182
+      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
17183
+      #   icc: Command line warning: ignoring option '-M'; no argument required
 
17184
+      # The diagnosis changed in icc 8.0:
 
17185
+      #   icc: Command line remark: option '-MP' not supported
 
17186
+      if (grep 'ignoring option' conftest.err ||
 
17187
+          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
17188
+        am_cv_CXX_dependencies_compiler_type=$depmode
 
17189
+        break
 
17190
+      fi
 
17191
+    fi
 
17192
+  done
 
17193
+
 
17194
+  cd ..
 
17195
+  rm -rf conftest.dir
 
17196
+else
 
17197
+  am_cv_CXX_dependencies_compiler_type=none
 
17198
+fi
 
17199
+
 
17200
+fi
 
17201
+{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
17202
+echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
 
17203
+CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
 
17204
+
 
17205
+
 
17206
+
 
17207
+if
 
17208
+  test "x$enable_dependency_tracking" != xno \
 
17209
+  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
 
17210
+  am__fastdepCXX_TRUE=
 
17211
+  am__fastdepCXX_FALSE='#'
 
17212
+else
 
17213
+  am__fastdepCXX_TRUE='#'
 
17214
+  am__fastdepCXX_FALSE=
 
17215
+fi
 
17216
+
 
17217
+
 
17218
+
 
17219
+
 
17220
+if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
 
17221
+    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
 
17222
+    (test "X$CXX" != "Xg++"))) ; then
 
17223
+  ac_ext=cpp
 
17224
+ac_cpp='$CXXCPP $CPPFLAGS'
 
17225
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
17226
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
17227
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
17228
+{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
 
17229
+echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
 
17230
+if test -z "$CXXCPP"; then
 
17231
+  if test "${ac_cv_prog_CXXCPP+set}" = set; then
 
17232
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17233
+else
 
17234
+      # Double quotes because CXXCPP needs to be expanded
 
17235
+    for CXXCPP in "$CXX -E" "/lib/cpp"
 
17236
+    do
 
17237
+      ac_preproc_ok=false
 
17238
+for ac_cxx_preproc_warn_flag in '' yes
 
17239
+do
 
17240
+  # Use a header file that comes with gcc, so configuring glibc
 
17241
+  # with a fresh cross-compiler works.
 
17242
+  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
17243
+  # <limits.h> exists even on freestanding compilers.
 
17244
+  # On the NeXT, cc -E runs the code through the compiler's parser,
 
17245
+  # not just through cpp. "Syntax error" is here to catch this case.
 
17246
+  cat >conftest.$ac_ext <<_ACEOF
 
17247
+/* confdefs.h.  */
 
17248
+_ACEOF
 
17249
+cat confdefs.h >>conftest.$ac_ext
 
17250
+cat >>conftest.$ac_ext <<_ACEOF
 
17251
+/* end confdefs.h.  */
 
17252
+#ifdef __STDC__
 
17253
+# include <limits.h>
 
17254
+#else
 
17255
+# include <assert.h>
 
17256
+#endif
 
17257
+                    Syntax error
 
17258
+_ACEOF
 
17259
+if { (ac_try="$ac_cpp conftest.$ac_ext"
 
17260
+case "(($ac_try" in
 
17261
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17262
+  *) ac_try_echo=$ac_try;;
 
17263
+esac
 
17264
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17265
+  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
17266
+  ac_status=$?
 
17267
+  grep -v '^ *+' conftest.er1 >conftest.err
 
17268
+  rm -f conftest.er1
 
17269
+  cat conftest.err >&5
 
17270
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17271
+  (exit $ac_status); } >/dev/null && {
 
17272
+        test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
17273
+        test ! -s conftest.err
 
17274
+       }; then
 
17275
+  :
 
17276
+else
 
17277
+  echo "$as_me: failed program was:" >&5
 
17278
+sed 's/^/| /' conftest.$ac_ext >&5
 
17279
+
 
17280
+  # Broken: fails on valid input.
 
17281
+continue
 
17282
+fi
 
17283
+
 
17284
+rm -f conftest.err conftest.$ac_ext
 
17285
+
 
17286
+  # OK, works on sane cases.  Now check whether nonexistent headers
 
17287
+  # can be detected and how.
 
17288
+  cat >conftest.$ac_ext <<_ACEOF
 
17289
+/* confdefs.h.  */
 
17290
+_ACEOF
 
17291
+cat confdefs.h >>conftest.$ac_ext
 
17292
+cat >>conftest.$ac_ext <<_ACEOF
 
17293
+/* end confdefs.h.  */
 
17294
+#include <ac_nonexistent.h>
 
17295
+_ACEOF
 
17296
+if { (ac_try="$ac_cpp conftest.$ac_ext"
 
17297
+case "(($ac_try" in
 
17298
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17299
+  *) ac_try_echo=$ac_try;;
 
17300
+esac
 
17301
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17302
+  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
17303
+  ac_status=$?
 
17304
+  grep -v '^ *+' conftest.er1 >conftest.err
 
17305
+  rm -f conftest.er1
 
17306
+  cat conftest.err >&5
 
17307
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17308
+  (exit $ac_status); } >/dev/null && {
 
17309
+        test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
17310
+        test ! -s conftest.err
 
17311
+       }; then
 
17312
+  # Broken: success on invalid input.
 
17313
+continue
 
17314
+else
 
17315
+  echo "$as_me: failed program was:" >&5
 
17316
+sed 's/^/| /' conftest.$ac_ext >&5
 
17317
+
 
17318
+  # Passes both tests.
 
17319
+ac_preproc_ok=:
 
17320
+break
 
17321
+fi
 
17322
+
 
17323
+rm -f conftest.err conftest.$ac_ext
 
17324
+
 
17325
+done
 
17326
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
17327
+rm -f conftest.err conftest.$ac_ext
 
17328
+if $ac_preproc_ok; then
 
17329
+  break
 
17330
+fi
 
17331
+
 
17332
+    done
 
17333
+    ac_cv_prog_CXXCPP=$CXXCPP
 
17334
+
 
17335
+fi
 
17336
+  CXXCPP=$ac_cv_prog_CXXCPP
 
17337
+else
 
17338
+  ac_cv_prog_CXXCPP=$CXXCPP
 
17339
+fi
 
17340
+{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
 
17341
+echo "${ECHO_T}$CXXCPP" >&6; }
 
17342
+ac_preproc_ok=false
 
17343
+for ac_cxx_preproc_warn_flag in '' yes
 
17344
+do
 
17345
+  # Use a header file that comes with gcc, so configuring glibc
 
17346
+  # with a fresh cross-compiler works.
 
17347
+  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
17348
+  # <limits.h> exists even on freestanding compilers.
 
17349
+  # On the NeXT, cc -E runs the code through the compiler's parser,
 
17350
+  # not just through cpp. "Syntax error" is here to catch this case.
 
17351
+  cat >conftest.$ac_ext <<_ACEOF
 
17352
+/* confdefs.h.  */
 
17353
+_ACEOF
 
17354
+cat confdefs.h >>conftest.$ac_ext
 
17355
+cat >>conftest.$ac_ext <<_ACEOF
 
17356
+/* end confdefs.h.  */
 
17357
+#ifdef __STDC__
 
17358
+# include <limits.h>
 
17359
+#else
 
17360
+# include <assert.h>
 
17361
+#endif
 
17362
+                    Syntax error
 
17363
+_ACEOF
 
17364
+if { (ac_try="$ac_cpp conftest.$ac_ext"
 
17365
+case "(($ac_try" in
 
17366
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17367
+  *) ac_try_echo=$ac_try;;
 
17368
+esac
 
17369
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17370
+  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
17371
+  ac_status=$?
 
17372
+  grep -v '^ *+' conftest.er1 >conftest.err
 
17373
+  rm -f conftest.er1
 
17374
+  cat conftest.err >&5
 
17375
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17376
+  (exit $ac_status); } >/dev/null && {
 
17377
+        test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
17378
+        test ! -s conftest.err
 
17379
+       }; then
 
17380
+  :
 
17381
+else
 
17382
+  echo "$as_me: failed program was:" >&5
 
17383
+sed 's/^/| /' conftest.$ac_ext >&5
 
17384
+
 
17385
+  # Broken: fails on valid input.
 
17386
+continue
 
17387
+fi
 
17388
+
 
17389
+rm -f conftest.err conftest.$ac_ext
 
17390
+
 
17391
+  # OK, works on sane cases.  Now check whether nonexistent headers
 
17392
+  # can be detected and how.
 
17393
+  cat >conftest.$ac_ext <<_ACEOF
 
17394
+/* confdefs.h.  */
 
17395
+_ACEOF
 
17396
+cat confdefs.h >>conftest.$ac_ext
 
17397
+cat >>conftest.$ac_ext <<_ACEOF
 
17398
+/* end confdefs.h.  */
 
17399
+#include <ac_nonexistent.h>
 
17400
+_ACEOF
 
17401
+if { (ac_try="$ac_cpp conftest.$ac_ext"
 
17402
+case "(($ac_try" in
 
17403
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17404
+  *) ac_try_echo=$ac_try;;
 
17405
+esac
 
17406
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17407
+  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
17408
+  ac_status=$?
 
17409
+  grep -v '^ *+' conftest.er1 >conftest.err
 
17410
+  rm -f conftest.er1
 
17411
+  cat conftest.err >&5
 
17412
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17413
+  (exit $ac_status); } >/dev/null && {
 
17414
+        test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
17415
+        test ! -s conftest.err
 
17416
+       }; then
 
17417
+  # Broken: success on invalid input.
 
17418
+continue
 
17419
+else
 
17420
+  echo "$as_me: failed program was:" >&5
 
17421
+sed 's/^/| /' conftest.$ac_ext >&5
 
17422
+
 
17423
+  # Passes both tests.
 
17424
+ac_preproc_ok=:
 
17425
+break
 
17426
+fi
 
17427
+
 
17428
+rm -f conftest.err conftest.$ac_ext
 
17429
+
 
17430
+done
 
17431
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
17432
+rm -f conftest.err conftest.$ac_ext
 
17433
+if $ac_preproc_ok; then
 
17434
+  :
 
17435
+else
 
17436
+  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
 
17437
+See \`config.log' for more details." >&5
 
17438
+echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
 
17439
+See \`config.log' for more details." >&2;}
 
17440
+   { (exit 1); exit 1; }; }
 
17441
+fi
 
17442
+
 
17443
+ac_ext=cpp
 
17444
+ac_cpp='$CXXCPP $CPPFLAGS'
 
17445
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
17446
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
17447
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
17448
+
 
17449
+fi
 
17450
+
 
17451
+
 
17452
+ac_ext=f
 
17453
+ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
 
17454
+ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
17455
+ac_compiler_gnu=$ac_cv_f77_compiler_gnu
 
17456
+if test -n "$ac_tool_prefix"; then
 
17457
+  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
 
17458
+  do
 
17459
+    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
17460
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
17461
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
17462
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
17463
+if test "${ac_cv_prog_F77+set}" = set; then
 
17464
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17465
+else
 
17466
+  if test -n "$F77"; then
 
17467
+  ac_cv_prog_F77="$F77" # Let the user override the test.
 
17468
+else
 
17469
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
17470
+for as_dir in $PATH
 
17471
+do
 
17472
+  IFS=$as_save_IFS
 
17473
+  test -z "$as_dir" && as_dir=.
 
17474
+  for ac_exec_ext in '' $ac_executable_extensions; do
 
17475
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
17476
+    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
 
17477
+    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
17478
+    break 2
 
17479
+  fi
 
17480
+done
 
17481
+done
 
17482
+IFS=$as_save_IFS
 
17483
+
 
17484
+fi
 
17485
+fi
 
17486
+F77=$ac_cv_prog_F77
 
17487
+if test -n "$F77"; then
 
17488
+  { echo "$as_me:$LINENO: result: $F77" >&5
 
17489
+echo "${ECHO_T}$F77" >&6; }
 
17490
+else
 
17491
+  { echo "$as_me:$LINENO: result: no" >&5
 
17492
+echo "${ECHO_T}no" >&6; }
 
17493
+fi
 
17494
+
 
17495
+
 
17496
+    test -n "$F77" && break
 
17497
+  done
 
17498
+fi
 
17499
+if test -z "$F77"; then
 
17500
+  ac_ct_F77=$F77
 
17501
+  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
 
17502
+do
 
17503
+  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
17504
+set dummy $ac_prog; ac_word=$2
 
17505
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
17506
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
17507
+if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
 
17508
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17509
+else
 
17510
+  if test -n "$ac_ct_F77"; then
 
17511
+  ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
 
17512
+else
 
17513
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
17514
+for as_dir in $PATH
 
17515
+do
 
17516
+  IFS=$as_save_IFS
 
17517
+  test -z "$as_dir" && as_dir=.
 
17518
+  for ac_exec_ext in '' $ac_executable_extensions; do
 
17519
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
17520
+    ac_cv_prog_ac_ct_F77="$ac_prog"
 
17521
+    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
17522
+    break 2
 
17523
+  fi
 
17524
+done
 
17525
+done
 
17526
+IFS=$as_save_IFS
 
17527
+
 
17528
+fi
 
17529
+fi
 
17530
+ac_ct_F77=$ac_cv_prog_ac_ct_F77
 
17531
+if test -n "$ac_ct_F77"; then
 
17532
+  { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
 
17533
+echo "${ECHO_T}$ac_ct_F77" >&6; }
 
17534
+else
 
17535
+  { echo "$as_me:$LINENO: result: no" >&5
 
17536
+echo "${ECHO_T}no" >&6; }
 
17537
+fi
 
17538
+
 
17539
+
 
17540
+  test -n "$ac_ct_F77" && break
 
17541
+done
 
17542
+
 
17543
+  if test "x$ac_ct_F77" = x; then
 
17544
+    F77=""
 
17545
+  else
 
17546
+    case $cross_compiling:$ac_tool_warned in
 
17547
+yes:)
 
17548
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
17549
+whose name does not start with the host triplet.  If you think this
 
17550
+configuration is useful to you, please write to autoconf@gnu.org." >&5
 
17551
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
17552
+whose name does not start with the host triplet.  If you think this
 
17553
+configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
17554
+ac_tool_warned=yes ;;
 
17555
+esac
 
17556
+    F77=$ac_ct_F77
 
17557
+  fi
 
17558
+fi
 
17559
+
 
17560
+
 
17561
+# Provide some information about the compiler.
 
17562
+echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
 
17563
+ac_compiler=`set X $ac_compile; echo $2`
 
17564
+{ (ac_try="$ac_compiler --version >&5"
 
17565
+case "(($ac_try" in
 
17566
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17567
+  *) ac_try_echo=$ac_try;;
 
17568
+esac
 
17569
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17570
+  (eval "$ac_compiler --version >&5") 2>&5
 
17571
+  ac_status=$?
 
17572
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17573
+  (exit $ac_status); }
 
17574
+{ (ac_try="$ac_compiler -v >&5"
 
17575
+case "(($ac_try" in
 
17576
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17577
+  *) ac_try_echo=$ac_try;;
 
17578
+esac
 
17579
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17580
+  (eval "$ac_compiler -v >&5") 2>&5
 
17581
+  ac_status=$?
 
17582
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17583
+  (exit $ac_status); }
 
17584
+{ (ac_try="$ac_compiler -V >&5"
 
17585
+case "(($ac_try" in
 
17586
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17587
+  *) ac_try_echo=$ac_try;;
 
17588
+esac
 
17589
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17590
+  (eval "$ac_compiler -V >&5") 2>&5
 
17591
+  ac_status=$?
 
17592
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17593
+  (exit $ac_status); }
 
17594
+rm -f a.out
 
17595
+
 
17596
+# If we don't use `.F' as extension, the preprocessor is not run on the
 
17597
+# input file.  (Note that this only needs to work for GNU compilers.)
 
17598
+ac_save_ext=$ac_ext
 
17599
+ac_ext=F
 
17600
+{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
 
17601
+echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
 
17602
+if test "${ac_cv_f77_compiler_gnu+set}" = set; then
 
17603
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17604
+else
 
17605
+  cat >conftest.$ac_ext <<_ACEOF
 
17606
+      program main
 
17607
+#ifndef __GNUC__
 
17608
+       choke me
 
17609
+#endif
 
17610
+
 
17611
+      end
 
17612
+_ACEOF
 
17613
+rm -f conftest.$ac_objext
 
17614
+if { (ac_try="$ac_compile"
 
17615
+case "(($ac_try" in
 
17616
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17617
+  *) ac_try_echo=$ac_try;;
 
17618
+esac
 
17619
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17620
+  (eval "$ac_compile") 2>conftest.er1
 
17621
+  ac_status=$?
 
17622
+  grep -v '^ *+' conftest.er1 >conftest.err
 
17623
+  rm -f conftest.er1
 
17624
+  cat conftest.err >&5
 
17625
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17626
+  (exit $ac_status); } && {
 
17627
+        test -z "$ac_f77_werror_flag" ||
 
17628
+        test ! -s conftest.err
 
17629
+       } && test -s conftest.$ac_objext; then
 
17630
+  ac_compiler_gnu=yes
 
17631
+else
 
17632
+  echo "$as_me: failed program was:" >&5
 
17633
+sed 's/^/| /' conftest.$ac_ext >&5
 
17634
+
 
17635
+       ac_compiler_gnu=no
 
17636
+fi
 
17637
+
 
17638
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
17639
+ac_cv_f77_compiler_gnu=$ac_compiler_gnu
 
17640
+
 
17641
+fi
 
17642
+{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
 
17643
+echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
 
17644
+ac_ext=$ac_save_ext
 
17645
+ac_test_FFLAGS=${FFLAGS+set}
 
17646
+ac_save_FFLAGS=$FFLAGS
 
17647
+FFLAGS=
 
17648
+{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
 
17649
+echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
 
17650
+if test "${ac_cv_prog_f77_g+set}" = set; then
 
17651
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17652
+else
 
17653
+  FFLAGS=-g
 
17654
+cat >conftest.$ac_ext <<_ACEOF
 
17655
+      program main
 
17656
+
 
17657
+      end
 
17658
+_ACEOF
 
17659
+rm -f conftest.$ac_objext
 
17660
+if { (ac_try="$ac_compile"
 
17661
+case "(($ac_try" in
 
17662
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17663
+  *) ac_try_echo=$ac_try;;
 
17664
+esac
 
17665
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17666
+  (eval "$ac_compile") 2>conftest.er1
 
17667
+  ac_status=$?
 
17668
+  grep -v '^ *+' conftest.er1 >conftest.err
 
17669
+  rm -f conftest.er1
 
17670
+  cat conftest.err >&5
 
17671
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17672
+  (exit $ac_status); } && {
 
17673
+        test -z "$ac_f77_werror_flag" ||
 
17674
+        test ! -s conftest.err
 
17675
+       } && test -s conftest.$ac_objext; then
 
17676
+  ac_cv_prog_f77_g=yes
 
17677
+else
 
17678
+  echo "$as_me: failed program was:" >&5
 
17679
+sed 's/^/| /' conftest.$ac_ext >&5
 
17680
+
 
17681
+       ac_cv_prog_f77_g=no
 
17682
+fi
 
17683
+
 
17684
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
17685
+
 
17686
+fi
 
17687
+{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
 
17688
+echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
 
17689
+if test "$ac_test_FFLAGS" = set; then
 
17690
+  FFLAGS=$ac_save_FFLAGS
 
17691
+elif test $ac_cv_prog_f77_g = yes; then
 
17692
+  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
 
17693
+    FFLAGS="-g -O2"
 
17694
+  else
 
17695
+    FFLAGS="-g"
 
17696
+  fi
 
17697
+else
 
17698
+  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
 
17699
+    FFLAGS="-O2"
 
17700
+  else
 
17701
+    FFLAGS=
 
17702
+  fi
 
17703
+fi
 
17704
+
 
17705
+G77=`test $ac_compiler_gnu = yes && echo yes`
 
17706
+ac_ext=c
 
17707
+ac_cpp='$CPP $CPPFLAGS'
 
17708
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
17709
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
17710
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
17711
+
 
17712
+
 
17713
+
 
17714
+# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
 
17715
+
 
17716
+# find the maximum length of command line arguments
 
17717
+{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
17718
+echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
 
17719
+if test "${lt_cv_sys_max_cmd_len+set}" = set; then
 
17720
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17721
+else
 
17722
+    i=0
 
17723
+  teststring="ABCD"
 
17724
+
 
17725
+  case $build_os in
 
17726
+  msdosdjgpp*)
 
17727
+    # On DJGPP, this test can blow up pretty badly due to problems in libc
 
17728
+    # (any single argument exceeding 2000 bytes causes a buffer overrun
 
17729
+    # during glob expansion).  Even if it were fixed, the result of this
 
17730
+    # check would be larger than it should be.
 
17731
+    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 
17732
+    ;;
 
17733
+
 
17734
+  gnu*)
 
17735
+    # Under GNU Hurd, this test is not required because there is
 
17736
+    # no limit to the length of command line arguments.
 
17737
+    # Libtool will interpret -1 as no limit whatsoever
 
17738
+    lt_cv_sys_max_cmd_len=-1;
 
17739
+    ;;
 
17740
+
 
17741
+  cygwin* | mingw*)
 
17742
+    # On Win9x/ME, this test blows up -- it succeeds, but takes
 
17743
+    # about 5 minutes as the teststring grows exponentially.
 
17744
+    # Worse, since 9x/ME are not pre-emptively multitasking,
 
17745
+    # you end up with a "frozen" computer, even though with patience
 
17746
+    # the test eventually succeeds (with a max line length of 256k).
 
17747
+    # Instead, let's just punt: use the minimum linelength reported by
 
17748
+    # all of the supported platforms: 8192 (on NT/2K/XP).
 
17749
+    lt_cv_sys_max_cmd_len=8192;
 
17750
+    ;;
 
17751
+
 
17752
+  amigaos*)
 
17753
+    # On AmigaOS with pdksh, this test takes hours, literally.
 
17754
+    # So we just punt and use a minimum line length of 8192.
 
17755
+    lt_cv_sys_max_cmd_len=8192;
 
17756
+    ;;
 
17757
+
 
17758
+  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 
17759
+    # This has been around since 386BSD, at least.  Likely further.
 
17760
+    if test -x /sbin/sysctl; then
 
17761
+      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 
17762
+    elif test -x /usr/sbin/sysctl; then
 
17763
+      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 
17764
+    else
 
17765
+      lt_cv_sys_max_cmd_len=65536      # usable default for all BSDs
 
17766
+    fi
 
17767
+    # And add a safety zone
 
17768
+    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
17769
+    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
17770
+    ;;
 
17771
+
 
17772
+  interix*)
 
17773
+    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 
17774
+    lt_cv_sys_max_cmd_len=196608
 
17775
+    ;;
 
17776
+
 
17777
+  osf*)
 
17778
+    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 
17779
+    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 
17780
+    # nice to cause kernel panics so lets avoid the loop below.
 
17781
+    # First set a reasonable default.
 
17782
+    lt_cv_sys_max_cmd_len=16384
 
17783
+    #
 
17784
+    if test -x /sbin/sysconfig; then
 
17785
+      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 
17786
+        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 
17787
+      esac
 
17788
+    fi
 
17789
+    ;;
 
17790
+  sco3.2v5*)
 
17791
+    lt_cv_sys_max_cmd_len=102400
 
17792
+    ;;
 
17793
+  sysv5* | sco5v6* | sysv4.2uw2*)
 
17794
+    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 
17795
+    if test -n "$kargmax"; then
 
17796
+      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[        ]//'`
 
17797
+    else
 
17798
+      lt_cv_sys_max_cmd_len=32768
 
17799
+    fi
 
17800
+    ;;
 
17801
+  *)
 
17802
+    # If test is not a shell built-in, we'll probably end up computing a
 
17803
+    # maximum length that is only half of the actual maximum length, but
 
17804
+    # we can't tell.
 
17805
+    SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
17806
+    while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
 
17807
+              = "XX$teststring") >/dev/null 2>&1 &&
 
17808
+           new_result=`expr "X$teststring" : ".*" 2>&1` &&
 
17809
+           lt_cv_sys_max_cmd_len=$new_result &&
 
17810
+           test $i != 17 # 1/2 MB should be enough
 
17811
+    do
 
17812
+      i=`expr $i + 1`
 
17813
+      teststring=$teststring$teststring
 
17814
+    done
 
17815
+    teststring=
 
17816
+    # Add a significant safety factor because C++ compilers can tack on massive
 
17817
+    # amounts of additional arguments before passing them to the linker.
 
17818
+    # It appears as though 1/2 is a usable value.
 
17819
+    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
17820
+    ;;
 
17821
+  esac
 
17822
+
 
17823
+fi
 
17824
+
 
17825
+if test -n $lt_cv_sys_max_cmd_len ; then
 
17826
+  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
17827
+echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
 
17828
+else
 
17829
+  { echo "$as_me:$LINENO: result: none" >&5
 
17830
+echo "${ECHO_T}none" >&6; }
 
17831
+fi
 
17832
+
 
17833
+
 
17834
+
 
17835
+
 
17836
+# Check for command to grab the raw symbol name followed by C symbol from nm.
 
17837
+{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 
17838
+echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
 
17839
+if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
 
17840
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17841
+else
 
17842
+
 
17843
+# These are sane defaults that work on at least a few old systems.
 
17844
+# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
 
17845
+
 
17846
+# Character class describing NM global symbol codes.
 
17847
+symcode='[BCDEGRST]'
 
17848
+
 
17849
+# Regexp to match symbols that can be accessed directly from C.
 
17850
+sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
 
17851
+
 
17852
+# Transform an extracted symbol line into a proper C declaration
 
17853
+lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
 
17854
+
 
17855
+# Transform an extracted symbol line into symbol name and symbol address
 
17856
+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'"
 
17857
+
 
17858
+# Define system-specific variables.
 
17859
+case $host_os in
 
17860
+aix*)
 
17861
+  symcode='[BCDT]'
 
17862
+  ;;
 
17863
+cygwin* | mingw* | pw32*)
 
17864
+  symcode='[ABCDGISTW]'
 
17865
+  ;;
 
17866
+hpux*) # Its linker distinguishes data from code symbols
 
17867
+  if test "$host_cpu" = ia64; then
 
17868
+    symcode='[ABCDEGRST]'
 
17869
+  fi
 
17870
+  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
17871
+  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'"
 
17872
+  ;;
 
17873
+linux* | k*bsd*-gnu)
 
17874
+  if test "$host_cpu" = ia64; then
 
17875
+    symcode='[ABCDGIRSTW]'
 
17876
+    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
17877
+    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'"
 
17878
+  fi
 
17879
+  ;;
 
17880
+irix* | nonstopux*)
 
17881
+  symcode='[BCDEGRST]'
 
17882
+  ;;
 
17883
+osf*)
 
17884
+  symcode='[BCDEGQRST]'
 
17885
+  ;;
 
17886
+solaris*)
 
17887
+  symcode='[BDRT]'
 
17888
+  ;;
 
17889
+sco3.2v5*)
 
17890
+  symcode='[DT]'
 
17891
+  ;;
 
17892
+sysv4.2uw2*)
 
17893
+  symcode='[DT]'
 
17894
+  ;;
 
17895
+sysv5* | sco5v6* | unixware* | OpenUNIX*)
 
17896
+  symcode='[ABDT]'
 
17897
+  ;;
 
17898
+sysv4)
 
17899
+  symcode='[DFNSTU]'
 
17900
+  ;;
 
17901
+esac
 
17902
+
 
17903
+# Handle CRLF in mingw tool chain
 
17904
+opt_cr=
 
17905
+case $build_os in
 
17906
+mingw*)
 
17907
+  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 
17908
+  ;;
 
17909
+esac
 
17910
+
 
17911
+# If we're using GNU nm, then use its standard symbol codes.
 
17912
+case `$NM -V 2>&1` in
 
17913
+*GNU* | *'with BFD'*)
 
17914
+  symcode='[ABCDGIRSTW]' ;;
 
17915
+esac
 
17916
+
 
17917
+# Try without a prefix undercore, then with it.
 
17918
+for ac_symprfx in "" "_"; do
 
17919
+
 
17920
+  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
 
17921
+  symxfrm="\\1 $ac_symprfx\\2 \\2"
 
17922
+
 
17923
+  # Write the raw and C identifiers.
 
17924
+  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
17925
+
 
17926
+  # Check to see that the pipe works correctly.
 
17927
+  pipe_works=no
 
17928
+
 
17929
+  rm -f conftest*
 
17930
+  cat > conftest.$ac_ext <<EOF
 
17931
+#ifdef __cplusplus
 
17932
+extern "C" {
 
17933
+#endif
 
17934
+char nm_test_var;
 
17935
+void nm_test_func(){}
 
17936
+#ifdef __cplusplus
 
17937
+}
 
17938
+#endif
 
17939
+int main(){nm_test_var='a';nm_test_func();return(0);}
 
17940
+EOF
 
17941
+
 
17942
+  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
17943
+  (eval $ac_compile) 2>&5
 
17944
+  ac_status=$?
 
17945
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17946
+  (exit $ac_status); }; then
 
17947
+    # Now try to grab the symbols.
 
17948
+    nlist=conftest.nm
 
17949
+    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
 
17950
+  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
 
17951
+  ac_status=$?
 
17952
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17953
+  (exit $ac_status); } && test -s "$nlist"; then
 
17954
+      # Try sorting and uniquifying the output.
 
17955
+      if sort "$nlist" | uniq > "$nlist"T; then
 
17956
+       mv -f "$nlist"T "$nlist"
 
17957
+      else
 
17958
+       rm -f "$nlist"T
 
17959
+      fi
 
17960
+
 
17961
+      # Make sure that we snagged all the symbols we need.
 
17962
+      if grep ' nm_test_var$' "$nlist" >/dev/null; then
 
17963
+       if grep ' nm_test_func$' "$nlist" >/dev/null; then
 
17964
+         cat <<EOF > conftest.$ac_ext
 
17965
+#ifdef __cplusplus
 
17966
+extern "C" {
 
17967
+#endif
 
17968
+
 
17969
+EOF
 
17970
+         # Now generate the symbol file.
 
17971
+         eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
 
17972
+
 
17973
+         cat <<EOF >> conftest.$ac_ext
 
17974
+#if defined (__STDC__) && __STDC__
 
17975
+# define lt_ptr_t void *
 
17976
+#else
 
17977
+# define lt_ptr_t char *
 
17978
+# define const
 
17979
+#endif
 
17980
+
 
17981
+/* The mapping between symbol names and symbols. */
 
17982
+const struct {
 
17983
+  const char *name;
 
17984
+  lt_ptr_t address;
 
17985
+}
 
17986
+lt_preloaded_symbols[] =
 
17987
+{
 
17988
+EOF
 
17989
+         $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
 
17990
+         cat <<\EOF >> conftest.$ac_ext
 
17991
+  {0, (lt_ptr_t) 0}
 
17992
+};
 
17993
+
 
17994
+#ifdef __cplusplus
 
17995
+}
 
17996
+#endif
 
17997
+EOF
 
17998
+         # Now try linking the two files.
 
17999
+         mv conftest.$ac_objext conftstm.$ac_objext
 
18000
+         lt_save_LIBS="$LIBS"
 
18001
+         lt_save_CFLAGS="$CFLAGS"
 
18002
+         LIBS="conftstm.$ac_objext"
 
18003
+         CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
 
18004
+         if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
18005
+  (eval $ac_link) 2>&5
 
18006
+  ac_status=$?
 
18007
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18008
+  (exit $ac_status); } && test -s conftest${ac_exeext}; then
 
18009
+           pipe_works=yes
 
18010
+         fi
 
18011
+         LIBS="$lt_save_LIBS"
 
18012
+         CFLAGS="$lt_save_CFLAGS"
 
18013
+       else
 
18014
+         echo "cannot find nm_test_func in $nlist" >&5
 
18015
+       fi
 
18016
+      else
 
18017
+       echo "cannot find nm_test_var in $nlist" >&5
 
18018
+      fi
 
18019
+    else
 
18020
+      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
 
18021
+    fi
 
18022
+  else
 
18023
+    echo "$progname: failed program was:" >&5
 
18024
+    cat conftest.$ac_ext >&5
 
18025
+  fi
 
18026
+  rm -f conftest* conftst*
 
18027
+
 
18028
+  # Do not use the global_symbol_pipe unless it works.
 
18029
+  if test "$pipe_works" = yes; then
 
18030
+    break
 
18031
+  else
 
18032
+    lt_cv_sys_global_symbol_pipe=
 
18033
+  fi
 
18034
+done
 
18035
+
 
18036
+fi
 
18037
+
 
18038
+if test -z "$lt_cv_sys_global_symbol_pipe"; then
 
18039
+  lt_cv_sys_global_symbol_to_cdecl=
 
18040
+fi
 
18041
+if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
 
18042
+  { echo "$as_me:$LINENO: result: failed" >&5
 
18043
+echo "${ECHO_T}failed" >&6; }
 
18044
+else
 
18045
+  { echo "$as_me:$LINENO: result: ok" >&5
 
18046
+echo "${ECHO_T}ok" >&6; }
 
18047
+fi
 
18048
+
 
18049
+{ echo "$as_me:$LINENO: checking for objdir" >&5
 
18050
+echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
 
18051
+if test "${lt_cv_objdir+set}" = set; then
 
18052
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18053
+else
 
18054
+  rm -f .libs 2>/dev/null
 
18055
+mkdir .libs 2>/dev/null
 
18056
+if test -d .libs; then
 
18057
+  lt_cv_objdir=.libs
 
18058
+else
 
18059
+  # MS-DOS does not allow filenames that begin with a dot.
 
18060
+  lt_cv_objdir=_libs
 
18061
+fi
 
18062
+rmdir .libs 2>/dev/null
 
18063
+fi
 
18064
+{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
18065
+echo "${ECHO_T}$lt_cv_objdir" >&6; }
 
18066
+objdir=$lt_cv_objdir
 
18067
+
 
18068
+
 
18069
+
 
18070
+
 
18071
+
 
18072
+case $host_os in
 
18073
+aix3*)
 
18074
+  # AIX sometimes has problems with the GCC collect2 program.  For some
 
18075
+  # reason, if we set the COLLECT_NAMES environment variable, the problems
 
18076
+  # vanish in a puff of smoke.
 
18077
+  if test "X${COLLECT_NAMES+set}" != Xset; then
 
18078
+    COLLECT_NAMES=
 
18079
+    export COLLECT_NAMES
 
18080
+  fi
 
18081
+  ;;
 
18082
+esac
 
18083
+
 
18084
+# Sed substitution that helps us do robust quoting.  It backslashifies
 
18085
+# metacharacters that are still active within double-quoted strings.
 
18086
+Xsed='sed -e 1s/^X//'
 
18087
+sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
 
18088
+
 
18089
+# Same as above, but do not quote variable references.
 
18090
+double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
 
18091
+
 
18092
+# Sed substitution to delay expansion of an escaped shell variable in a
 
18093
+# double_quote_subst'ed string.
 
18094
+delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
18095
+
 
18096
+# Sed substitution to avoid accidental globbing in evaled expressions
 
18097
+no_glob_subst='s/\*/\\\*/g'
 
18098
+
 
18099
+# Constants:
 
18100
+rm="rm -f"
 
18101
+
 
18102
+# Global variables:
 
18103
+default_ofile=libtool
 
18104
+can_build_shared=yes
 
18105
+
 
18106
+# All known linkers require a `.a' archive for static linking (except MSVC,
 
18107
+# which needs '.lib').
 
18108
+libext=a
 
18109
+ltmain="$ac_aux_dir/ltmain.sh"
 
18110
+ofile="$default_ofile"
 
18111
+with_gnu_ld="$lt_cv_prog_gnu_ld"
 
18112
+
 
18113
+if test -n "$ac_tool_prefix"; then
 
18114
+  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
 
18115
+set dummy ${ac_tool_prefix}ar; ac_word=$2
 
18116
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
18117
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
18118
+if test "${ac_cv_prog_AR+set}" = set; then
 
18119
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18120
+else
 
18121
+  if test -n "$AR"; then
 
18122
+  ac_cv_prog_AR="$AR" # Let the user override the test.
 
18123
+else
 
18124
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
18125
+for as_dir in $PATH
 
18126
+do
 
18127
+  IFS=$as_save_IFS
 
18128
+  test -z "$as_dir" && as_dir=.
 
18129
+  for ac_exec_ext in '' $ac_executable_extensions; do
 
18130
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
18131
+    ac_cv_prog_AR="${ac_tool_prefix}ar"
 
18132
+    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
18133
+    break 2
 
18134
+  fi
 
18135
+done
 
18136
+done
 
18137
+IFS=$as_save_IFS
 
18138
+
 
18139
+fi
 
18140
+fi
 
18141
+AR=$ac_cv_prog_AR
 
18142
+if test -n "$AR"; then
 
18143
+  { echo "$as_me:$LINENO: result: $AR" >&5
 
18144
+echo "${ECHO_T}$AR" >&6; }
 
18145
+else
 
18146
+  { echo "$as_me:$LINENO: result: no" >&5
 
18147
+echo "${ECHO_T}no" >&6; }
 
18148
+fi
 
18149
+
 
18150
+
 
18151
+fi
 
18152
+if test -z "$ac_cv_prog_AR"; then
 
18153
+  ac_ct_AR=$AR
 
18154
+  # Extract the first word of "ar", so it can be a program name with args.
 
18155
+set dummy ar; ac_word=$2
 
18156
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
18157
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
18158
+if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
 
18159
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18160
+else
 
18161
+  if test -n "$ac_ct_AR"; then
 
18162
+  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 
18163
+else
 
18164
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
18165
+for as_dir in $PATH
 
18166
+do
 
18167
+  IFS=$as_save_IFS
 
18168
+  test -z "$as_dir" && as_dir=.
 
18169
+  for ac_exec_ext in '' $ac_executable_extensions; do
 
18170
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
18171
+    ac_cv_prog_ac_ct_AR="ar"
 
18172
+    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
18173
+    break 2
 
18174
+  fi
 
18175
+done
 
18176
+done
 
18177
+IFS=$as_save_IFS
 
18178
+
 
18179
+fi
 
18180
+fi
 
18181
+ac_ct_AR=$ac_cv_prog_ac_ct_AR
 
18182
+if test -n "$ac_ct_AR"; then
 
18183
+  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
18184
+echo "${ECHO_T}$ac_ct_AR" >&6; }
 
18185
+else
 
18186
+  { echo "$as_me:$LINENO: result: no" >&5
 
18187
+echo "${ECHO_T}no" >&6; }
 
18188
+fi
 
18189
+
 
18190
+  if test "x$ac_ct_AR" = x; then
 
18191
+    AR="false"
 
18192
+  else
 
18193
+    case $cross_compiling:$ac_tool_warned in
 
18194
+yes:)
 
18195
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
18196
+whose name does not start with the host triplet.  If you think this
 
18197
+configuration is useful to you, please write to autoconf@gnu.org." >&5
 
18198
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
18199
+whose name does not start with the host triplet.  If you think this
 
18200
+configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
18201
+ac_tool_warned=yes ;;
 
18202
+esac
 
18203
+    AR=$ac_ct_AR
 
18204
+  fi
 
18205
+else
 
18206
+  AR="$ac_cv_prog_AR"
 
18207
+fi
 
18208
+
 
18209
+if test -n "$ac_tool_prefix"; then
 
18210
+  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 
18211
+set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 
18212
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
18213
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
18214
+if test "${ac_cv_prog_RANLIB+set}" = set; then
 
18215
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18216
+else
 
18217
+  if test -n "$RANLIB"; then
 
18218
+  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 
18219
+else
 
18220
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
18221
+for as_dir in $PATH
 
18222
+do
 
18223
+  IFS=$as_save_IFS
 
18224
+  test -z "$as_dir" && as_dir=.
 
18225
+  for ac_exec_ext in '' $ac_executable_extensions; do
 
18226
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
18227
+    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 
18228
+    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
18229
+    break 2
 
18230
+  fi
 
18231
+done
 
18232
+done
 
18233
+IFS=$as_save_IFS
 
18234
+
 
18235
+fi
 
18236
+fi
 
18237
+RANLIB=$ac_cv_prog_RANLIB
 
18238
+if test -n "$RANLIB"; then
 
18239
+  { echo "$as_me:$LINENO: result: $RANLIB" >&5
 
18240
+echo "${ECHO_T}$RANLIB" >&6; }
 
18241
+else
 
18242
+  { echo "$as_me:$LINENO: result: no" >&5
 
18243
+echo "${ECHO_T}no" >&6; }
 
18244
+fi
 
18245
+
 
18246
+
 
18247
+fi
 
18248
+if test -z "$ac_cv_prog_RANLIB"; then
 
18249
+  ac_ct_RANLIB=$RANLIB
 
18250
+  # Extract the first word of "ranlib", so it can be a program name with args.
 
18251
+set dummy ranlib; ac_word=$2
 
18252
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
18253
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
18254
+if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 
18255
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18256
+else
 
18257
+  if test -n "$ac_ct_RANLIB"; then
 
18258
+  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 
18259
+else
 
18260
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
18261
+for as_dir in $PATH
 
18262
+do
 
18263
+  IFS=$as_save_IFS
 
18264
+  test -z "$as_dir" && as_dir=.
 
18265
+  for ac_exec_ext in '' $ac_executable_extensions; do
 
18266
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
18267
+    ac_cv_prog_ac_ct_RANLIB="ranlib"
 
18268
+    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
18269
+    break 2
 
18270
+  fi
 
18271
+done
 
18272
+done
 
18273
+IFS=$as_save_IFS
 
18274
+
 
18275
+fi
 
18276
+fi
 
18277
+ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 
18278
+if test -n "$ac_ct_RANLIB"; then
 
18279
+  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
18280
+echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
 
18281
+else
 
18282
+  { echo "$as_me:$LINENO: result: no" >&5
 
18283
+echo "${ECHO_T}no" >&6; }
 
18284
+fi
 
18285
+
 
18286
+  if test "x$ac_ct_RANLIB" = x; then
 
18287
+    RANLIB=":"
 
18288
+  else
 
18289
+    case $cross_compiling:$ac_tool_warned in
 
18290
+yes:)
 
18291
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
18292
+whose name does not start with the host triplet.  If you think this
 
18293
+configuration is useful to you, please write to autoconf@gnu.org." >&5
 
18294
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
18295
+whose name does not start with the host triplet.  If you think this
 
18296
+configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
18297
+ac_tool_warned=yes ;;
 
18298
+esac
 
18299
+    RANLIB=$ac_ct_RANLIB
 
18300
+  fi
 
18301
+else
 
18302
+  RANLIB="$ac_cv_prog_RANLIB"
 
18303
+fi
 
18304
+
 
18305
+if test -n "$ac_tool_prefix"; then
 
18306
+  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
18307
+set dummy ${ac_tool_prefix}strip; ac_word=$2
 
18308
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
18309
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
18310
+if test "${ac_cv_prog_STRIP+set}" = set; then
 
18311
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18312
+else
 
18313
+  if test -n "$STRIP"; then
 
18314
+  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
18315
+else
 
18316
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
18317
+for as_dir in $PATH
 
18318
+do
 
18319
+  IFS=$as_save_IFS
 
18320
+  test -z "$as_dir" && as_dir=.
 
18321
+  for ac_exec_ext in '' $ac_executable_extensions; do
 
18322
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
18323
+    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
18324
+    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
18325
+    break 2
 
18326
+  fi
 
18327
+done
 
18328
+done
 
18329
+IFS=$as_save_IFS
 
18330
+
 
18331
+fi
 
18332
+fi
 
18333
+STRIP=$ac_cv_prog_STRIP
 
18334
+if test -n "$STRIP"; then
 
18335
+  { echo "$as_me:$LINENO: result: $STRIP" >&5
 
18336
+echo "${ECHO_T}$STRIP" >&6; }
 
18337
+else
 
18338
+  { echo "$as_me:$LINENO: result: no" >&5
 
18339
+echo "${ECHO_T}no" >&6; }
 
18340
+fi
 
18341
+
 
18342
+
 
18343
+fi
 
18344
+if test -z "$ac_cv_prog_STRIP"; then
 
18345
+  ac_ct_STRIP=$STRIP
 
18346
+  # Extract the first word of "strip", so it can be a program name with args.
 
18347
+set dummy strip; ac_word=$2
 
18348
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
18349
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
18350
+if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
18351
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18352
+else
 
18353
+  if test -n "$ac_ct_STRIP"; then
 
18354
+  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
18355
+else
 
18356
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
18357
+for as_dir in $PATH
 
18358
+do
 
18359
+  IFS=$as_save_IFS
 
18360
+  test -z "$as_dir" && as_dir=.
 
18361
+  for ac_exec_ext in '' $ac_executable_extensions; do
 
18362
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
18363
+    ac_cv_prog_ac_ct_STRIP="strip"
 
18364
+    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
18365
+    break 2
 
18366
+  fi
 
18367
+done
 
18368
+done
 
18369
+IFS=$as_save_IFS
 
18370
+
 
18371
+fi
 
18372
+fi
 
18373
+ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
18374
+if test -n "$ac_ct_STRIP"; then
 
18375
+  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
18376
+echo "${ECHO_T}$ac_ct_STRIP" >&6; }
 
18377
+else
 
18378
+  { echo "$as_me:$LINENO: result: no" >&5
 
18379
+echo "${ECHO_T}no" >&6; }
 
18380
+fi
 
18381
+
 
18382
+  if test "x$ac_ct_STRIP" = x; then
 
18383
+    STRIP=":"
 
18384
+  else
 
18385
+    case $cross_compiling:$ac_tool_warned in
 
18386
+yes:)
 
18387
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
18388
+whose name does not start with the host triplet.  If you think this
 
18389
+configuration is useful to you, please write to autoconf@gnu.org." >&5
 
18390
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
18391
+whose name does not start with the host triplet.  If you think this
 
18392
+configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
18393
+ac_tool_warned=yes ;;
 
18394
+esac
 
18395
+    STRIP=$ac_ct_STRIP
 
18396
+  fi
 
18397
+else
 
18398
+  STRIP="$ac_cv_prog_STRIP"
 
18399
+fi
 
18400
+
 
18401
+
 
18402
+old_CC="$CC"
 
18403
+old_CFLAGS="$CFLAGS"
 
18404
+
 
18405
+# Set sane defaults for various variables
 
18406
+test -z "$AR" && AR=ar
 
18407
+test -z "$AR_FLAGS" && AR_FLAGS=cru
 
18408
+test -z "$AS" && AS=as
 
18409
+test -z "$CC" && CC=cc
 
18410
+test -z "$LTCC" && LTCC=$CC
 
18411
+test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
 
18412
+test -z "$DLLTOOL" && DLLTOOL=dlltool
 
18413
+test -z "$LD" && LD=ld
 
18414
+test -z "$LN_S" && LN_S="ln -s"
 
18415
+test -z "$MAGIC_CMD" && MAGIC_CMD=file
 
18416
+test -z "$NM" && NM=nm
 
18417
+test -z "$SED" && SED=sed
 
18418
+test -z "$OBJDUMP" && OBJDUMP=objdump
 
18419
+test -z "$RANLIB" && RANLIB=:
 
18420
+test -z "$STRIP" && STRIP=:
 
18421
+test -z "$ac_objext" && ac_objext=o
 
18422
+
 
18423
+# Determine commands to create old-style static archives.
 
18424
+old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
 
18425
+old_postinstall_cmds='chmod 644 $oldlib'
 
18426
+old_postuninstall_cmds=
 
18427
+
 
18428
+if test -n "$RANLIB"; then
 
18429
+  case $host_os in
 
18430
+  openbsd*)
 
18431
+    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 
18432
+    ;;
 
18433
+  *)
 
18434
+    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 
18435
+    ;;
 
18436
+  esac
 
18437
+  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 
18438
+fi
 
18439
+
 
18440
+for cc_temp in $compiler""; do
 
18441
+  case $cc_temp in
 
18442
+    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
18443
+    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
18444
+    \-*) ;;
 
18445
+    *) break;;
 
18446
+  esac
 
18447
+done
 
18448
+cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
18449
+
 
18450
+
 
18451
+# Only perform the check for file, if the check method requires it
 
18452
+case $deplibs_check_method in
 
18453
+file_magic*)
 
18454
+  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 
18455
+    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
18456
+echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
 
18457
+if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
18458
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18459
+else
 
18460
+  case $MAGIC_CMD in
 
18461
+[\\/*] |  ?:[\\/]*)
 
18462
+  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
18463
+  ;;
 
18464
+*)
 
18465
+  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
18466
+  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
18467
+  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
18468
+  for ac_dir in $ac_dummy; do
 
18469
+    IFS="$lt_save_ifs"
 
18470
+    test -z "$ac_dir" && ac_dir=.
 
18471
+    if test -f $ac_dir/${ac_tool_prefix}file; then
 
18472
+      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
 
18473
+      if test -n "$file_magic_test_file"; then
 
18474
+       case $deplibs_check_method in
 
18475
+       "file_magic "*)
 
18476
+         file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
18477
+         MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
18478
+         if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
18479
+           $EGREP "$file_magic_regex" > /dev/null; then
 
18480
+           :
 
18481
+         else
 
18482
+           cat <<EOF 1>&2
 
18483
+
 
18484
+*** Warning: the command libtool uses to detect shared libraries,
 
18485
+*** $file_magic_cmd, produces output that libtool cannot recognize.
 
18486
+*** The result is that libtool may fail to recognize shared libraries
 
18487
+*** as such.  This will affect the creation of libtool libraries that
 
18488
+*** depend on shared libraries, but programs linked with such libtool
 
18489
+*** libraries will work regardless of this problem.  Nevertheless, you
 
18490
+*** may want to report the problem to your system manager and/or to
 
18491
+*** bug-libtool@gnu.org
 
18492
+
 
18493
+EOF
 
18494
+         fi ;;
 
18495
+       esac
 
18496
+      fi
 
18497
+      break
 
18498
+    fi
 
18499
+  done
 
18500
+  IFS="$lt_save_ifs"
 
18501
+  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
18502
+  ;;
 
18503
+esac
 
18504
+fi
 
18505
+
 
18506
+MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
18507
+if test -n "$MAGIC_CMD"; then
 
18508
+  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
18509
+echo "${ECHO_T}$MAGIC_CMD" >&6; }
 
18510
+else
 
18511
+  { echo "$as_me:$LINENO: result: no" >&5
 
18512
+echo "${ECHO_T}no" >&6; }
 
18513
+fi
 
18514
+
 
18515
+if test -z "$lt_cv_path_MAGIC_CMD"; then
 
18516
+  if test -n "$ac_tool_prefix"; then
 
18517
+    { echo "$as_me:$LINENO: checking for file" >&5
 
18518
+echo $ECHO_N "checking for file... $ECHO_C" >&6; }
 
18519
+if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
18520
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18521
+else
 
18522
+  case $MAGIC_CMD in
 
18523
+[\\/*] |  ?:[\\/]*)
 
18524
+  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
18525
+  ;;
 
18526
+*)
 
18527
+  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
18528
+  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
18529
+  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
18530
+  for ac_dir in $ac_dummy; do
 
18531
+    IFS="$lt_save_ifs"
 
18532
+    test -z "$ac_dir" && ac_dir=.
 
18533
+    if test -f $ac_dir/file; then
 
18534
+      lt_cv_path_MAGIC_CMD="$ac_dir/file"
 
18535
+      if test -n "$file_magic_test_file"; then
 
18536
+       case $deplibs_check_method in
 
18537
+       "file_magic "*)
 
18538
+         file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
18539
+         MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
18540
+         if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
18541
+           $EGREP "$file_magic_regex" > /dev/null; then
 
18542
+           :
 
18543
+         else
 
18544
+           cat <<EOF 1>&2
 
18545
+
 
18546
+*** Warning: the command libtool uses to detect shared libraries,
 
18547
+*** $file_magic_cmd, produces output that libtool cannot recognize.
 
18548
+*** The result is that libtool may fail to recognize shared libraries
 
18549
+*** as such.  This will affect the creation of libtool libraries that
 
18550
+*** depend on shared libraries, but programs linked with such libtool
 
18551
+*** libraries will work regardless of this problem.  Nevertheless, you
 
18552
+*** may want to report the problem to your system manager and/or to
 
18553
+*** bug-libtool@gnu.org
 
18554
+
 
18555
+EOF
 
18556
+         fi ;;
 
18557
+       esac
 
18558
+      fi
 
18559
+      break
 
18560
+    fi
 
18561
+  done
 
18562
+  IFS="$lt_save_ifs"
 
18563
+  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
18564
+  ;;
 
18565
+esac
 
18566
+fi
 
18567
+
 
18568
+MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
18569
+if test -n "$MAGIC_CMD"; then
 
18570
+  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
18571
+echo "${ECHO_T}$MAGIC_CMD" >&6; }
 
18572
+else
 
18573
+  { echo "$as_me:$LINENO: result: no" >&5
 
18574
+echo "${ECHO_T}no" >&6; }
 
18575
+fi
 
18576
+
 
18577
+  else
 
18578
+    MAGIC_CMD=:
 
18579
+  fi
 
18580
+fi
 
18581
+
 
18582
+  fi
 
18583
+  ;;
 
18584
+esac
 
18585
+
 
18586
+enable_dlopen=no
 
18587
+enable_win32_dll=no
 
18588
+
 
18589
+# Check whether --enable-libtool-lock was given.
 
18590
+if test "${enable_libtool_lock+set}" = set; then
 
18591
+  enableval=$enable_libtool_lock;
 
18592
+fi
 
18593
+
 
18594
+test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
18595
+
 
18596
+
 
18597
+# Check whether --with-pic was given.
 
18598
+if test "${with_pic+set}" = set; then
 
18599
+  withval=$with_pic; pic_mode="$withval"
 
18600
+else
 
18601
+  pic_mode=default
 
18602
+fi
 
18603
+
 
18604
+test -z "$pic_mode" && pic_mode=default
 
18605
+
 
18606
+# Use C for the default configuration in the libtool script
 
18607
+tagname=
 
18608
+lt_save_CC="$CC"
 
18609
+ac_ext=c
 
18610
+ac_cpp='$CPP $CPPFLAGS'
 
18611
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
18612
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
18613
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
18614
+
 
18615
+
 
18616
+# Source file extension for C test sources.
 
18617
+ac_ext=c
 
18618
+
 
18619
+# Object file extension for compiled C test sources.
 
18620
+objext=o
 
18621
+objext=$objext
 
18622
+
 
18623
+# Code to be used in simple compile tests
 
18624
+lt_simple_compile_test_code="int some_variable = 0;\n"
 
18625
+
 
18626
+# Code to be used in simple link tests
 
18627
+lt_simple_link_test_code='int main(){return(0);}\n'
 
18628
+
 
18629
+
 
18630
+# If no C compiler was specified, use CC.
 
18631
+LTCC=${LTCC-"$CC"}
 
18632
+
 
18633
+# If no C compiler flags were specified, use CFLAGS.
 
18634
+LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
18635
+
 
18636
+# Allow CC to be a program name with arguments.
 
18637
+compiler=$CC
 
18638
+
 
18639
+
 
18640
+# save warnings/boilerplate of simple test code
 
18641
+ac_outfile=conftest.$ac_objext
 
18642
+printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
18643
+eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
18644
+_lt_compiler_boilerplate=`cat conftest.err`
 
18645
+$rm conftest*
 
18646
+
 
18647
+ac_outfile=conftest.$ac_objext
 
18648
+printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
18649
+eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
18650
+_lt_linker_boilerplate=`cat conftest.err`
 
18651
+$rm conftest*
 
18652
+
 
18653
+
 
18654
+
 
18655
+lt_prog_compiler_no_builtin_flag=
 
18656
+
 
18657
+if test "$GCC" = yes; then
 
18658
+  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
 
18659
+
 
18660
+
 
18661
+{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
18662
+echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
 
18663
+if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
 
18664
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18665
+else
 
18666
+  lt_cv_prog_compiler_rtti_exceptions=no
 
18667
+  ac_outfile=conftest.$ac_objext
 
18668
+   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
18669
+   lt_compiler_flag="-fno-rtti -fno-exceptions"
 
18670
+   # Insert the option either (1) after the last *FLAGS variable, or
 
18671
+   # (2) before a word containing "conftest.", or (3) at the end.
 
18672
+   # Note that $ac_compile itself does not contain backslashes and begins
 
18673
+   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
18674
+   # The option is referenced via a variable to avoid confusing sed.
 
18675
+   lt_compile=`echo "$ac_compile" | $SED \
 
18676
+   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
18677
+   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
18678
+   -e 's:$: $lt_compiler_flag:'`
 
18679
+   (eval echo "\"\$as_me:7998: $lt_compile\"" >&5)
 
18680
+   (eval "$lt_compile" 2>conftest.err)
 
18681
+   ac_status=$?
 
18682
+   cat conftest.err >&5
 
18683
+   echo "$as_me:8002: \$? = $ac_status" >&5
 
18684
+   if (exit $ac_status) && test -s "$ac_outfile"; then
 
18685
+     # The compiler can only warn and ignore the option if not recognized
 
18686
+     # So say no if there are warnings other than the usual output.
 
18687
+     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
18688
+     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
18689
+     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
18690
+       lt_cv_prog_compiler_rtti_exceptions=yes
 
18691
+     fi
 
18692
+   fi
 
18693
+   $rm conftest*
 
18694
+
 
18695
+fi
 
18696
+{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
18697
+echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
 
18698
+
 
18699
+if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
 
18700
+    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
 
18701
+else
 
18702
+    :
 
18703
+fi
 
18704
+
 
18705
+fi
 
18706
+
 
18707
+lt_prog_compiler_wl=
 
18708
+lt_prog_compiler_pic=
 
18709
+lt_prog_compiler_static=
 
18710
+
 
18711
+{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
18712
+echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
 
18713
+
 
18714
+  if test "$GCC" = yes; then
 
18715
+    lt_prog_compiler_wl='-Wl,'
 
18716
+    lt_prog_compiler_static='-static'
 
18717
+
 
18718
+    case $host_os in
 
18719
+      aix*)
 
18720
+      # All AIX code is PIC.
 
18721
+      if test "$host_cpu" = ia64; then
 
18722
+       # AIX 5 now supports IA64 processor
 
18723
+       lt_prog_compiler_static='-Bstatic'
 
18724
+      fi
 
18725
+      ;;
 
18726
+
 
18727
+    amigaos*)
 
18728
+      # FIXME: we need at least 68020 code to build shared libraries, but
 
18729
+      # adding the `-m68020' flag to GCC prevents building anything better,
 
18730
+      # like `-m68040'.
 
18731
+      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
18732
+      ;;
 
18733
+
 
18734
+    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
18735
+      # PIC is the default for these OSes.
 
18736
+      ;;
 
18737
+
 
18738
+    mingw* | pw32* | os2*)
 
18739
+      # This hack is so that the source file can tell whether it is being
 
18740
+      # built for inclusion in a dll (and should export symbols for example).
 
18741
+      lt_prog_compiler_pic='-DDLL_EXPORT'
 
18742
+      ;;
 
18743
+
 
18744
+    darwin* | rhapsody*)
 
18745
+      # PIC is the default on this platform
 
18746
+      # Common symbols not allowed in MH_DYLIB files
 
18747
+      lt_prog_compiler_pic='-fno-common'
 
18748
+      ;;
 
18749
+
 
18750
+    interix3*)
 
18751
+      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
18752
+      # Instead, we relocate shared libraries at runtime.
 
18753
+      ;;
 
18754
+
 
18755
+    msdosdjgpp*)
 
18756
+      # Just because we use GCC doesn't mean we suddenly get shared libraries
 
18757
+      # on systems that don't support them.
 
18758
+      lt_prog_compiler_can_build_shared=no
 
18759
+      enable_shared=no
 
18760
+      ;;
 
18761
+
 
18762
+    sysv4*MP*)
 
18763
+      if test -d /usr/nec; then
 
18764
+       lt_prog_compiler_pic=-Kconform_pic
 
18765
+      fi
 
18766
+      ;;
 
18767
+
 
18768
+    hpux*)
 
18769
+      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 
18770
+      # not for PA HP-UX.
 
18771
+      case $host_cpu in
 
18772
+      hppa*64*|ia64*)
 
18773
+       # +Z the default
 
18774
+       ;;
 
18775
+      *)
 
18776
+       lt_prog_compiler_pic='-fPIC'
 
18777
+       ;;
 
18778
+      esac
 
18779
+      ;;
 
18780
+
 
18781
+    *)
 
18782
+      lt_prog_compiler_pic='-fPIC'
 
18783
+      ;;
 
18784
+    esac
 
18785
+  else
 
18786
+    # PORTME Check for flag to pass linker flags through the system compiler.
 
18787
+    case $host_os in
 
18788
+    aix*)
 
18789
+      lt_prog_compiler_wl='-Wl,'
 
18790
+      if test "$host_cpu" = ia64; then
 
18791
+       # AIX 5 now supports IA64 processor
 
18792
+       lt_prog_compiler_static='-Bstatic'
 
18793
+      else
 
18794
+       lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
 
18795
+      fi
 
18796
+      ;;
 
18797
+      darwin*)
 
18798
+        # PIC is the default on this platform
 
18799
+        # Common symbols not allowed in MH_DYLIB files
 
18800
+       case $cc_basename in
 
18801
+         xlc*)
 
18802
+         lt_prog_compiler_pic='-qnocommon'
 
18803
+         lt_prog_compiler_wl='-Wl,'
 
18804
+         ;;
 
18805
+       esac
 
18806
+       ;;
 
18807
+
 
18808
+    mingw* | pw32* | os2*)
 
18809
+      # This hack is so that the source file can tell whether it is being
 
18810
+      # built for inclusion in a dll (and should export symbols for example).
 
18811
+      lt_prog_compiler_pic='-DDLL_EXPORT'
 
18812
+      ;;
 
18813
+
 
18814
+    hpux9* | hpux10* | hpux11*)
 
18815
+      lt_prog_compiler_wl='-Wl,'
 
18816
+      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 
18817
+      # not for PA HP-UX.
 
18818
+      case $host_cpu in
 
18819
+      hppa*64*|ia64*)
 
18820
+       # +Z the default
 
18821
+       ;;
 
18822
+      *)
 
18823
+       lt_prog_compiler_pic='+Z'
 
18824
+       ;;
 
18825
+      esac
 
18826
+      # Is there a better lt_prog_compiler_static that works with the bundled CC?
 
18827
+      lt_prog_compiler_static='${wl}-a ${wl}archive'
 
18828
+      ;;
 
18829
+
 
18830
+    irix5* | irix6* | nonstopux*)
 
18831
+      lt_prog_compiler_wl='-Wl,'
 
18832
+      # PIC (with -KPIC) is the default.
 
18833
+      lt_prog_compiler_static='-non_shared'
 
18834
+      ;;
 
18835
+
 
18836
+    newsos6)
 
18837
+      lt_prog_compiler_pic='-KPIC'
 
18838
+      lt_prog_compiler_static='-Bstatic'
 
18839
+      ;;
 
18840
+
 
18841
+    linux* | k*bsd*-gnu)
 
18842
+      case $cc_basename in
 
18843
+      icc* | ecc*)
 
18844
+       lt_prog_compiler_wl='-Wl,'
 
18845
+       lt_prog_compiler_pic='-KPIC'
 
18846
+       lt_prog_compiler_static='-static'
 
18847
+        ;;
 
18848
+      pgcc* | pgf77* | pgf90* | pgf95*)
 
18849
+        # Portland Group compilers (*not* the Pentium gcc compiler,
 
18850
+       # which looks to be a dead project)
 
18851
+       lt_prog_compiler_wl='-Wl,'
 
18852
+       lt_prog_compiler_pic='-fpic'
 
18853
+       lt_prog_compiler_static='-Bstatic'
 
18854
+        ;;
 
18855
+      ccc*)
 
18856
+        lt_prog_compiler_wl='-Wl,'
 
18857
+        # All Alpha code is PIC.
 
18858
+        lt_prog_compiler_static='-non_shared'
 
18859
+        ;;
 
18860
+      esac
 
18861
+      ;;
 
18862
+
 
18863
+    osf3* | osf4* | osf5*)
 
18864
+      lt_prog_compiler_wl='-Wl,'
 
18865
+      # All OSF/1 code is PIC.
 
18866
+      lt_prog_compiler_static='-non_shared'
 
18867
+      ;;
 
18868
+
 
18869
+    solaris*)
 
18870
+      lt_prog_compiler_pic='-KPIC'
 
18871
+      lt_prog_compiler_static='-Bstatic'
 
18872
+      case $cc_basename in
 
18873
+      f77* | f90* | f95*)
 
18874
+       lt_prog_compiler_wl='-Qoption ld ';;
 
18875
+      *)
 
18876
+       lt_prog_compiler_wl='-Wl,';;
 
18877
+      esac
 
18878
+      ;;
 
18879
+
 
18880
+    sunos4*)
 
18881
+      lt_prog_compiler_wl='-Qoption ld '
 
18882
+      lt_prog_compiler_pic='-PIC'
 
18883
+      lt_prog_compiler_static='-Bstatic'
 
18884
+      ;;
 
18885
+
 
18886
+    sysv4 | sysv4.2uw2* | sysv4.3*)
 
18887
+      lt_prog_compiler_wl='-Wl,'
 
18888
+      lt_prog_compiler_pic='-KPIC'
 
18889
+      lt_prog_compiler_static='-Bstatic'
 
18890
+      ;;
 
18891
+
 
18892
+    sysv4*MP*)
 
18893
+      if test -d /usr/nec ;then
 
18894
+       lt_prog_compiler_pic='-Kconform_pic'
 
18895
+       lt_prog_compiler_static='-Bstatic'
 
18896
+      fi
 
18897
+      ;;
 
18898
+
 
18899
+    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
18900
+      lt_prog_compiler_wl='-Wl,'
 
18901
+      lt_prog_compiler_pic='-KPIC'
 
18902
+      lt_prog_compiler_static='-Bstatic'
 
18903
+      ;;
 
18904
+
 
18905
+    unicos*)
 
18906
+      lt_prog_compiler_wl='-Wl,'
 
18907
+      lt_prog_compiler_can_build_shared=no
 
18908
+      ;;
 
18909
+
 
18910
+    uts4*)
 
18911
+      lt_prog_compiler_pic='-pic'
 
18912
+      lt_prog_compiler_static='-Bstatic'
 
18913
+      ;;
 
18914
+
 
18915
+    *)
 
18916
+      lt_prog_compiler_can_build_shared=no
 
18917
+      ;;
 
18918
+    esac
 
18919
+  fi
 
18920
+
 
18921
+{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 
18922
+echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
 
18923
+
 
18924
+#
 
18925
+# Check to make sure the PIC flag actually works.
 
18926
+#
 
18927
+if test -n "$lt_prog_compiler_pic"; then
 
18928
+
 
18929
+{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
18930
+echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
 
18931
+if test "${lt_prog_compiler_pic_works+set}" = set; then
 
18932
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18933
+else
 
18934
+  lt_prog_compiler_pic_works=no
 
18935
+  ac_outfile=conftest.$ac_objext
 
18936
+   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
18937
+   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
 
18938
+   # Insert the option either (1) after the last *FLAGS variable, or
 
18939
+   # (2) before a word containing "conftest.", or (3) at the end.
 
18940
+   # Note that $ac_compile itself does not contain backslashes and begins
 
18941
+   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
18942
+   # The option is referenced via a variable to avoid confusing sed.
 
18943
+   lt_compile=`echo "$ac_compile" | $SED \
 
18944
+   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
18945
+   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
18946
+   -e 's:$: $lt_compiler_flag:'`
 
18947
+   (eval echo "\"\$as_me:8266: $lt_compile\"" >&5)
 
18948
+   (eval "$lt_compile" 2>conftest.err)
 
18949
+   ac_status=$?
 
18950
+   cat conftest.err >&5
 
18951
+   echo "$as_me:8270: \$? = $ac_status" >&5
 
18952
+   if (exit $ac_status) && test -s "$ac_outfile"; then
 
18953
+     # The compiler can only warn and ignore the option if not recognized
 
18954
+     # So say no if there are warnings other than the usual output.
 
18955
+     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
18956
+     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
18957
+     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
18958
+       lt_prog_compiler_pic_works=yes
 
18959
+     fi
 
18960
+   fi
 
18961
+   $rm conftest*
 
18962
+
 
18963
+fi
 
18964
+{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
 
18965
+echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
 
18966
+
 
18967
+if test x"$lt_prog_compiler_pic_works" = xyes; then
 
18968
+    case $lt_prog_compiler_pic in
 
18969
+     "" | " "*) ;;
 
18970
+     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
 
18971
+     esac
 
18972
+else
 
18973
+    lt_prog_compiler_pic=
 
18974
+     lt_prog_compiler_can_build_shared=no
 
18975
+fi
 
18976
+
 
18977
+fi
 
18978
+case $host_os in
 
18979
+  # For platforms which do not support PIC, -DPIC is meaningless:
 
18980
+  *djgpp*)
 
18981
+    lt_prog_compiler_pic=
 
18982
+    ;;
 
18983
+  *)
 
18984
+    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
 
18985
+    ;;
 
18986
+esac
 
18987
+
 
18988
+#
 
18989
+# Check to make sure the static flag actually works.
 
18990
+#
 
18991
+wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
 
18992
+{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
18993
+echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 
18994
+if test "${lt_prog_compiler_static_works+set}" = set; then
 
18995
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18996
+else
 
18997
+  lt_prog_compiler_static_works=no
 
18998
+   save_LDFLAGS="$LDFLAGS"
 
18999
+   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
19000
+   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
19001
+   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
19002
+     # The linker can only warn and ignore the option if not recognized
 
19003
+     # So say no if there are warnings
 
19004
+     if test -s conftest.err; then
 
19005
+       # Append any errors to the config.log.
 
19006
+       cat conftest.err 1>&5
 
19007
+       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
19008
+       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
19009
+       if diff conftest.exp conftest.er2 >/dev/null; then
 
19010
+         lt_prog_compiler_static_works=yes
 
19011
+       fi
 
19012
+     else
 
19013
+       lt_prog_compiler_static_works=yes
 
19014
+     fi
 
19015
+   fi
 
19016
+   $rm conftest*
 
19017
+   LDFLAGS="$save_LDFLAGS"
 
19018
+
 
19019
+fi
 
19020
+{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
 
19021
+echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
 
19022
+
 
19023
+if test x"$lt_prog_compiler_static_works" = xyes; then
 
19024
+    :
 
19025
+else
 
19026
+    lt_prog_compiler_static=
 
19027
+fi
 
19028
+
 
19029
+
 
19030
+{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
19031
+echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
 
19032
+if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
19033
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19034
+else
 
19035
+  lt_cv_prog_compiler_c_o=no
 
19036
+   $rm -r conftest 2>/dev/null
 
19037
+   mkdir conftest
 
19038
+   cd conftest
 
19039
+   mkdir out
 
19040
+   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
19041
+
 
19042
+   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
19043
+   # Insert the option either (1) after the last *FLAGS variable, or
 
19044
+   # (2) before a word containing "conftest.", or (3) at the end.
 
19045
+   # Note that $ac_compile itself does not contain backslashes and begins
 
19046
+   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
19047
+   lt_compile=`echo "$ac_compile" | $SED \
 
19048
+   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
19049
+   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
19050
+   -e 's:$: $lt_compiler_flag:'`
 
19051
+   (eval echo "\"\$as_me:8370: $lt_compile\"" >&5)
 
19052
+   (eval "$lt_compile" 2>out/conftest.err)
 
19053
+   ac_status=$?
 
19054
+   cat out/conftest.err >&5
 
19055
+   echo "$as_me:8374: \$? = $ac_status" >&5
 
19056
+   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
19057
+   then
 
19058
+     # The compiler can only warn and ignore the option if not recognized
 
19059
+     # So say no if there are warnings
 
19060
+     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
19061
+     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
19062
+     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
19063
+       lt_cv_prog_compiler_c_o=yes
 
19064
+     fi
 
19065
+   fi
 
19066
+   chmod u+w . 2>&5
 
19067
+   $rm conftest*
 
19068
+   # SGI C++ compiler will create directory out/ii_files/ for
 
19069
+   # template instantiation
 
19070
+   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
 
19071
+   $rm out/* && rmdir out
 
19072
+   cd ..
 
19073
+   rmdir conftest
 
19074
+   $rm conftest*
 
19075
+
 
19076
+fi
 
19077
+{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
19078
+echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
 
19079
+
 
19080
+
 
19081
+hard_links="nottested"
 
19082
+if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
 
19083
+  # do not overwrite the value of need_locks provided by the user
 
19084
+  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
19085
+echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
 
19086
+  hard_links=yes
 
19087
+  $rm conftest*
 
19088
+  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
19089
+  touch conftest.a
 
19090
+  ln conftest.a conftest.b 2>&5 || hard_links=no
 
19091
+  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
19092
+  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
19093
+echo "${ECHO_T}$hard_links" >&6; }
 
19094
+  if test "$hard_links" = no; then
 
19095
+    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
19096
+echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
19097
+    need_locks=warn
 
19098
+  fi
 
19099
+else
 
19100
+  need_locks=no
 
19101
+fi
 
19102
+
 
19103
+{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
19104
+echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
 
19105
+
 
19106
+  runpath_var=
 
19107
+  allow_undefined_flag=
 
19108
+  enable_shared_with_static_runtimes=no
 
19109
+  archive_cmds=
 
19110
+  archive_expsym_cmds=
 
19111
+  old_archive_From_new_cmds=
 
19112
+  old_archive_from_expsyms_cmds=
 
19113
+  export_dynamic_flag_spec=
 
19114
+  whole_archive_flag_spec=
 
19115
+  thread_safe_flag_spec=
 
19116
+  hardcode_libdir_flag_spec=
 
19117
+  hardcode_libdir_flag_spec_ld=
 
19118
+  hardcode_libdir_separator=
 
19119
+  hardcode_direct=no
 
19120
+  hardcode_minus_L=no
 
19121
+  hardcode_shlibpath_var=unsupported
 
19122
+  link_all_deplibs=unknown
 
19123
+  hardcode_automatic=no
 
19124
+  module_cmds=
 
19125
+  module_expsym_cmds=
 
19126
+  always_export_symbols=no
 
19127
+  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
19128
+  # include_expsyms should be a list of space-separated symbols to be *always*
 
19129
+  # included in the symbol list
 
19130
+  include_expsyms=
 
19131
+  # exclude_expsyms can be an extended regexp of symbols to exclude
 
19132
+  # it will be wrapped by ` (' and `)$', so one must not match beginning or
 
19133
+  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
 
19134
+  # as well as any symbol that contains `d'.
 
19135
+  exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
 
19136
+  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
 
19137
+  # platforms (ab)use it in PIC code, but their linkers get confused if
 
19138
+  # the symbol is explicitly referenced.  Since portable code cannot
 
19139
+  # rely on this symbol name, it's probably fine to never include it in
 
19140
+  # preloaded symbol tables.
 
19141
+  extract_expsyms_cmds=
 
19142
+  # Just being paranoid about ensuring that cc_basename is set.
 
19143
+  for cc_temp in $compiler""; do
 
19144
+  case $cc_temp in
 
19145
+    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
19146
+    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
19147
+    \-*) ;;
 
19148
+    *) break;;
 
19149
+  esac
 
19150
+done
 
19151
+cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
19152
+
 
19153
+  case $host_os in
 
19154
+  cygwin* | mingw* | pw32*)
 
19155
+    # FIXME: the MSVC++ port hasn't been tested in a loooong time
 
19156
+    # When not using gcc, we currently assume that we are using
 
19157
+    # Microsoft Visual C++.
 
19158
+    if test "$GCC" != yes; then
 
19159
+      with_gnu_ld=no
 
19160
+    fi
 
19161
+    ;;
 
19162
+  interix*)
 
19163
+    # we just hope/assume this is gcc and not c89 (= MSVC++)
 
19164
+    with_gnu_ld=yes
 
19165
+    ;;
 
19166
+  openbsd*)
 
19167
+    with_gnu_ld=no
 
19168
+    ;;
 
19169
+  esac
 
19170
+
 
19171
+  ld_shlibs=yes
 
19172
+  if test "$with_gnu_ld" = yes; then
 
19173
+    # If archive_cmds runs LD, not CC, wlarc should be empty
 
19174
+    wlarc='${wl}'
 
19175
+
 
19176
+    # Set some defaults for GNU ld with shared library support. These
 
19177
+    # are reset later if shared libraries are not supported. Putting them
 
19178
+    # here allows them to be overridden if necessary.
 
19179
+    runpath_var=LD_RUN_PATH
 
19180
+    hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
 
19181
+    export_dynamic_flag_spec='${wl}--export-dynamic'
 
19182
+    # ancient GNU ld didn't support --whole-archive et. al.
 
19183
+    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
 
19184
+       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
19185
+      else
 
19186
+       whole_archive_flag_spec=
 
19187
+    fi
 
19188
+    supports_anon_versioning=no
 
19189
+    case `$LD -v 2>/dev/null` in
 
19190
+      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 
19191
+      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 
19192
+      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 
19193
+      *\ 2.11.*) ;; # other 2.11 versions
 
19194
+      *) supports_anon_versioning=yes ;;
 
19195
+    esac
 
19196
+
 
19197
+    # See if GNU ld supports shared libraries.
 
19198
+    case $host_os in
 
19199
+    aix3* | aix4* | aix5*)
 
19200
+      # On AIX/PPC, the GNU linker is very broken
 
19201
+      if test "$host_cpu" != ia64; then
 
19202
+       ld_shlibs=no
 
19203
+       cat <<EOF 1>&2
 
19204
+
 
19205
+*** Warning: the GNU linker, at least up to release 2.9.1, is reported
 
19206
+*** to be unable to reliably create shared libraries on AIX.
 
19207
+*** Therefore, libtool is disabling shared libraries support.  If you
 
19208
+*** really care for shared libraries, you may want to modify your PATH
 
19209
+*** so that a non-GNU linker is found, and then restart.
 
19210
+
 
19211
+EOF
 
19212
+      fi
 
19213
+      ;;
 
19214
+
 
19215
+    amigaos*)
 
19216
+      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)'
 
19217
+      hardcode_libdir_flag_spec='-L$libdir'
 
19218
+      hardcode_minus_L=yes
 
19219
+
 
19220
+      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
 
19221
+      # that the semantics of dynamic libraries on AmigaOS, at least up
 
19222
+      # to version 4, is to share data among multiple programs linked
 
19223
+      # with the same dynamic library.  Since this doesn't match the
 
19224
+      # behavior of shared libraries on other platforms, we can't use
 
19225
+      # them.
 
19226
+      ld_shlibs=no
 
19227
+      ;;
 
19228
+
 
19229
+    beos*)
 
19230
+      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
19231
+       allow_undefined_flag=unsupported
 
19232
+       # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 
19233
+       # support --undefined.  This deserves some investigation.  FIXME
 
19234
+       archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
19235
+      else
 
19236
+       ld_shlibs=no
 
19237
+      fi
 
19238
+      ;;
 
19239
+
 
19240
+    cygwin* | mingw* | pw32*)
 
19241
+      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
 
19242
+      # as there is no search path for DLLs.
 
19243
+      hardcode_libdir_flag_spec='-L$libdir'
 
19244
+      allow_undefined_flag=unsupported
 
19245
+      always_export_symbols=no
 
19246
+      enable_shared_with_static_runtimes=yes
 
19247
+      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
19248
+
 
19249
+      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
 
19250
+        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
19251
+       # If the export-symbols file already is a .def file (1st line
 
19252
+       # is EXPORTS), use it as is; otherwise, prepend...
 
19253
+       archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
19254
+         cp $export_symbols $output_objdir/$soname.def;
 
19255
+       else
 
19256
+         echo EXPORTS > $output_objdir/$soname.def;
 
19257
+         cat $export_symbols >> $output_objdir/$soname.def;
 
19258
+       fi~
 
19259
+       $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
19260
+      else
 
19261
+       ld_shlibs=no
 
19262
+      fi
 
19263
+      ;;
 
19264
+
 
19265
+    interix3*)
 
19266
+      hardcode_direct=no
 
19267
+      hardcode_shlibpath_var=no
 
19268
+      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
19269
+      export_dynamic_flag_spec='${wl}-E'
 
19270
+      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
19271
+      # Instead, shared libraries are loaded at an image base (0x10000000 by
 
19272
+      # default) and relocated if they conflict, which is a slow very memory
 
19273
+      # consuming and fragmenting process.  To avoid this, we pick a random,
 
19274
+      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
19275
+      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
19276
+      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
19277
+      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'
 
19278
+      ;;
 
19279
+
 
19280
+    linux* | k*bsd*-gnu)
 
19281
+      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
19282
+       tmp_addflag=
 
19283
+       case $cc_basename,$host_cpu in
 
19284
+       pgcc*)                          # Portland Group C compiler
 
19285
+         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'
 
19286
+         tmp_addflag=' $pic_flag'
 
19287
+         ;;
 
19288
+       pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
 
19289
+         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'
 
19290
+         tmp_addflag=' $pic_flag -Mnomain' ;;
 
19291
+       ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
 
19292
+         tmp_addflag=' -i_dynamic' ;;
 
19293
+       efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
 
19294
+         tmp_addflag=' -i_dynamic -nofor_main' ;;
 
19295
+       ifc* | ifort*)                  # Intel Fortran compiler
 
19296
+         tmp_addflag=' -nofor_main' ;;
 
19297
+       esac
 
19298
+       archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
19299
+
 
19300
+       if test $supports_anon_versioning = yes; then
 
19301
+         archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
 
19302
+  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
19303
+  $echo "local: *; };" >> $output_objdir/$libname.ver~
 
19304
+         $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
19305
+       fi
 
19306
+       link_all_deplibs=no
 
19307
+      else
 
19308
+       ld_shlibs=no
 
19309
+      fi
 
19310
+      ;;
 
19311
+
 
19312
+    netbsd* | netbsdelf*-gnu)
 
19313
+      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
19314
+       archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
 
19315
+       wlarc=
 
19316
+      else
 
19317
+       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
19318
+       archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
19319
+      fi
 
19320
+      ;;
 
19321
+
 
19322
+    solaris*)
 
19323
+      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
 
19324
+       ld_shlibs=no
 
19325
+       cat <<EOF 1>&2
 
19326
+
 
19327
+*** Warning: The releases 2.8.* of the GNU linker cannot reliably
 
19328
+*** create shared libraries on Solaris systems.  Therefore, libtool
 
19329
+*** is disabling shared libraries support.  We urge you to upgrade GNU
 
19330
+*** binutils to release 2.9.1 or newer.  Another option is to modify
 
19331
+*** your PATH or compiler configuration so that the native linker is
 
19332
+*** used, and then restart.
 
19333
+
 
19334
+EOF
 
19335
+      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
19336
+       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
19337
+       archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
19338
+      else
 
19339
+       ld_shlibs=no
 
19340
+      fi
 
19341
+      ;;
 
19342
+
 
19343
+    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 
19344
+      case `$LD -v 2>&1` in
 
19345
+        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 
19346
+       ld_shlibs=no
 
19347
+       cat <<_LT_EOF 1>&2
 
19348
+
 
19349
+*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 
19350
+*** reliably create shared libraries on SCO systems.  Therefore, libtool
 
19351
+*** is disabling shared libraries support.  We urge you to upgrade GNU
 
19352
+*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 
19353
+*** your PATH or compiler configuration so that the native linker is
 
19354
+*** used, and then restart.
 
19355
+
 
19356
+_LT_EOF
 
19357
+       ;;
 
19358
+       *)
 
19359
+         if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
19360
+           hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
 
19361
+           archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
 
19362
+           archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 
19363
+         else
 
19364
+           ld_shlibs=no
 
19365
+         fi
 
19366
+       ;;
 
19367
+      esac
 
19368
+      ;;
 
19369
+
 
19370
+    sunos4*)
 
19371
+      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
19372
+      wlarc=
 
19373
+      hardcode_direct=yes
 
19374
+      hardcode_shlibpath_var=no
 
19375
+      ;;
 
19376
+
 
19377
+    *)
 
19378
+      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
19379
+       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
19380
+       archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
19381
+      else
 
19382
+       ld_shlibs=no
 
19383
+      fi
 
19384
+      ;;
 
19385
+    esac
 
19386
+
 
19387
+    if test "$ld_shlibs" = no; then
 
19388
+      runpath_var=
 
19389
+      hardcode_libdir_flag_spec=
 
19390
+      export_dynamic_flag_spec=
 
19391
+      whole_archive_flag_spec=
 
19392
+    fi
 
19393
+  else
 
19394
+    # PORTME fill in a description of your system's linker (not GNU ld)
 
19395
+    case $host_os in
 
19396
+    aix3*)
 
19397
+      allow_undefined_flag=unsupported
 
19398
+      always_export_symbols=yes
 
19399
+      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'
 
19400
+      # Note: this linker hardcodes the directories in LIBPATH if there
 
19401
+      # are no directories specified by -L.
 
19402
+      hardcode_minus_L=yes
 
19403
+      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
 
19404
+       # Neither direct hardcoding nor static linking is supported with a
 
19405
+       # broken collect2.
 
19406
+       hardcode_direct=unsupported
 
19407
+      fi
 
19408
+      ;;
 
19409
+
 
19410
+    aix4* | aix5*)
 
19411
+      if test "$host_cpu" = ia64; then
 
19412
+       # On IA64, the linker does run time linking by default, so we don't
 
19413
+       # have to do anything special.
 
19414
+       aix_use_runtimelinking=no
 
19415
+       exp_sym_flag='-Bexport'
 
19416
+       no_entry_flag=""
 
19417
+      else
 
19418
+       # If we're using GNU nm, then we don't want the "-C" option.
 
19419
+       # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
19420
+       if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
 
19421
+         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'
 
19422
+       else
 
19423
+         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'
 
19424
+       fi
 
19425
+       aix_use_runtimelinking=no
 
19426
+
 
19427
+       # Test if we are trying to use run time linking or normal
 
19428
+       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
 
19429
+       # need to do runtime linking.
 
19430
+       case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
19431
+         for ld_flag in $LDFLAGS; do
 
19432
+         if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 
19433
+           aix_use_runtimelinking=yes
 
19434
+           break
 
19435
+         fi
 
19436
+         done
 
19437
+         ;;
 
19438
+       esac
 
19439
+
 
19440
+       exp_sym_flag='-bexport'
 
19441
+       no_entry_flag='-bnoentry'
 
19442
+      fi
 
19443
+
 
19444
+      # When large executables or shared objects are built, AIX ld can
 
19445
+      # have problems creating the table of contents.  If linking a library
 
19446
+      # or program results in "error TOC overflow" add -mminimal-toc to
 
19447
+      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 
19448
+      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 
19449
+
 
19450
+      archive_cmds=''
 
19451
+      hardcode_direct=yes
 
19452
+      hardcode_libdir_separator=':'
 
19453
+      link_all_deplibs=yes
 
19454
+
 
19455
+      if test "$GCC" = yes; then
 
19456
+       case $host_os in aix4.[012]|aix4.[012].*)
 
19457
+       # We only want to do this on AIX 4.2 and lower, the check
 
19458
+       # below for broken collect2 doesn't work under 4.3+
 
19459
+         collect2name=`${CC} -print-prog-name=collect2`
 
19460
+         if test -f "$collect2name" && \
 
19461
+          strings "$collect2name" | grep resolve_lib_name >/dev/null
 
19462
+         then
 
19463
+         # We have reworked collect2
 
19464
+         hardcode_direct=yes
 
19465
+         else
 
19466
+         # We have old collect2
 
19467
+         hardcode_direct=unsupported
 
19468
+         # It fails to find uninstalled libraries when the uninstalled
 
19469
+         # path is not listed in the libpath.  Setting hardcode_minus_L
 
19470
+         # to unsupported forces relinking
 
19471
+         hardcode_minus_L=yes
 
19472
+         hardcode_libdir_flag_spec='-L$libdir'
 
19473
+         hardcode_libdir_separator=
 
19474
+         fi
 
19475
+         ;;
 
19476
+       esac
 
19477
+       shared_flag='-shared'
 
19478
+       if test "$aix_use_runtimelinking" = yes; then
 
19479
+         shared_flag="$shared_flag "'${wl}-G'
 
19480
+       fi
 
19481
+      else
 
19482
+       # not using gcc
 
19483
+       if test "$host_cpu" = ia64; then
 
19484
+       # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
19485
+       # chokes on -Wl,-G. The following line is correct:
 
19486
+         shared_flag='-G'
 
19487
+       else
 
19488
+         if test "$aix_use_runtimelinking" = yes; then
 
19489
+           shared_flag='${wl}-G'
 
19490
+         else
 
19491
+           shared_flag='${wl}-bM:SRE'
 
19492
+         fi
 
19493
+       fi
 
19494
+      fi
 
19495
+
 
19496
+      # It seems that -bexpall does not export symbols beginning with
 
19497
+      # underscore (_), so it is better to generate a list of symbols to export.
 
19498
+      always_export_symbols=yes
 
19499
+      if test "$aix_use_runtimelinking" = yes; then
 
19500
+       # Warning - without using the other runtime loading flags (-brtl),
 
19501
+       # -berok will link without error, but may produce a broken library.
 
19502
+       allow_undefined_flag='-berok'
 
19503
+       # Determine the default libpath from the value encoded in an empty executable.
 
19504
+       cat >conftest.$ac_ext <<_ACEOF
 
19505
+/* confdefs.h.  */
 
19506
+_ACEOF
 
19507
+cat confdefs.h >>conftest.$ac_ext
 
19508
+cat >>conftest.$ac_ext <<_ACEOF
 
19509
+/* end confdefs.h.  */
 
19510
+
 
19511
+int
 
19512
+main ()
 
19513
+{
 
19514
+
 
19515
+  ;
 
19516
+  return 0;
 
19517
+}
 
19518
+_ACEOF
 
19519
+rm -f conftest.$ac_objext conftest$ac_exeext
 
19520
+if { (ac_try="$ac_link"
 
19521
+case "(($ac_try" in
 
19522
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19523
+  *) ac_try_echo=$ac_try;;
 
19524
+esac
 
19525
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19526
+  (eval "$ac_link") 2>conftest.er1
 
19527
+  ac_status=$?
 
19528
+  grep -v '^ *+' conftest.er1 >conftest.err
 
19529
+  rm -f conftest.er1
 
19530
+  cat conftest.err >&5
 
19531
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19532
+  (exit $ac_status); } && {
 
19533
+        test -z "$ac_c_werror_flag" ||
 
19534
+        test ! -s conftest.err
 
19535
+       } && test -s conftest$ac_exeext &&
 
19536
+       $as_test_x conftest$ac_exeext; then
 
19537
+
 
19538
+aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 
19539
+}'`
 
19540
+# Check for a 64-bit object if we didn't find anything.
 
19541
+if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 
19542
+}'`; fi
 
19543
+else
 
19544
+  echo "$as_me: failed program was:" >&5
 
19545
+sed 's/^/| /' conftest.$ac_ext >&5
 
19546
+
 
19547
+
 
19548
+fi
 
19549
+
 
19550
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
19551
+      conftest$ac_exeext conftest.$ac_ext
 
19552
+if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
19553
+
 
19554
+       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
19555
+       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"
 
19556
+       else
 
19557
+       if test "$host_cpu" = ia64; then
 
19558
+         hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
 
19559
+         allow_undefined_flag="-z nodefs"
 
19560
+         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"
 
19561
+       else
 
19562
+        # Determine the default libpath from the value encoded in an empty executable.
 
19563
+        cat >conftest.$ac_ext <<_ACEOF
 
19564
+/* confdefs.h.  */
 
19565
+_ACEOF
 
19566
+cat confdefs.h >>conftest.$ac_ext
 
19567
+cat >>conftest.$ac_ext <<_ACEOF
 
19568
+/* end confdefs.h.  */
 
19569
+
 
19570
+int
 
19571
+main ()
 
19572
+{
 
19573
+
 
19574
+  ;
 
19575
+  return 0;
 
19576
+}
 
19577
+_ACEOF
 
19578
+rm -f conftest.$ac_objext conftest$ac_exeext
 
19579
+if { (ac_try="$ac_link"
 
19580
+case "(($ac_try" in
 
19581
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19582
+  *) ac_try_echo=$ac_try;;
 
19583
+esac
 
19584
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19585
+  (eval "$ac_link") 2>conftest.er1
 
19586
+  ac_status=$?
 
19587
+  grep -v '^ *+' conftest.er1 >conftest.err
 
19588
+  rm -f conftest.er1
 
19589
+  cat conftest.err >&5
 
19590
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19591
+  (exit $ac_status); } && {
 
19592
+        test -z "$ac_c_werror_flag" ||
 
19593
+        test ! -s conftest.err
 
19594
+       } && test -s conftest$ac_exeext &&
 
19595
+       $as_test_x conftest$ac_exeext; then
 
19596
+
 
19597
+aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 
19598
+}'`
 
19599
+# Check for a 64-bit object if we didn't find anything.
 
19600
+if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 
19601
+}'`; fi
 
19602
+else
 
19603
+  echo "$as_me: failed program was:" >&5
 
19604
+sed 's/^/| /' conftest.$ac_ext >&5
 
19605
+
 
19606
+
 
19607
+fi
 
19608
+
 
19609
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
19610
+      conftest$ac_exeext conftest.$ac_ext
 
19611
+if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
19612
+
 
19613
+        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
19614
+         # Warning - without using the other run time loading flags,
 
19615
+         # -berok will link without error, but may produce a broken library.
 
19616
+         no_undefined_flag=' ${wl}-bernotok'
 
19617
+         allow_undefined_flag=' ${wl}-berok'
 
19618
+         # Exported symbols can be pulled into shared objects from archives
 
19619
+         whole_archive_flag_spec='$convenience'
 
19620
+         archive_cmds_need_lc=yes
 
19621
+         # This is similar to how AIX traditionally builds its shared libraries.
 
19622
+         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'
 
19623
+       fi
 
19624
+      fi
 
19625
+      ;;
 
19626
+
 
19627
+    amigaos*)
 
19628
+      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)'
 
19629
+      hardcode_libdir_flag_spec='-L$libdir'
 
19630
+      hardcode_minus_L=yes
 
19631
+      # see comment about different semantics on the GNU ld section
 
19632
+      ld_shlibs=no
 
19633
+      ;;
 
19634
+
 
19635
+    bsdi[45]*)
 
19636
+      export_dynamic_flag_spec=-rdynamic
 
19637
+      ;;
 
19638
+
 
19639
+    cygwin* | mingw* | pw32*)
 
19640
+      # When not using gcc, we currently assume that we are using
 
19641
+      # Microsoft Visual C++.
 
19642
+      # hardcode_libdir_flag_spec is actually meaningless, as there is
 
19643
+      # no search path for DLLs.
 
19644
+      hardcode_libdir_flag_spec=' '
 
19645
+      allow_undefined_flag=unsupported
 
19646
+      # Tell ltmain to make .lib files, not .a files.
 
19647
+      libext=lib
 
19648
+      # Tell ltmain to make .dll files, not .so files.
 
19649
+      shrext_cmds=".dll"
 
19650
+      # FIXME: Setting linknames here is a bad hack.
 
19651
+      archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
 
19652
+      # The linker will automatically build a .lib file if we build a DLL.
 
19653
+      old_archive_From_new_cmds='true'
 
19654
+      # FIXME: Should let the user specify the lib program.
 
19655
+      old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
 
19656
+      fix_srcfile_path='`cygpath -w "$srcfile"`'
 
19657
+      enable_shared_with_static_runtimes=yes
 
19658
+      ;;
 
19659
+
 
19660
+    darwin* | rhapsody*)
 
19661
+      case $host_os in
 
19662
+        rhapsody* | darwin1.[012])
 
19663
+         allow_undefined_flag='${wl}-undefined ${wl}suppress'
 
19664
+         ;;
 
19665
+       *) # Darwin 1.3 on
 
19666
+         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
 
19667
+           allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
19668
+         else
 
19669
+           case ${MACOSX_DEPLOYMENT_TARGET} in
 
19670
+             10.[012])
 
19671
+               allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
19672
+               ;;
 
19673
+             10.*)
 
19674
+               allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
 
19675
+               ;;
 
19676
+           esac
 
19677
+         fi
 
19678
+         ;;
 
19679
+      esac
 
19680
+      archive_cmds_need_lc=no
 
19681
+      hardcode_direct=no
 
19682
+      hardcode_automatic=yes
 
19683
+      hardcode_shlibpath_var=unsupported
 
19684
+      whole_archive_flag_spec=''
 
19685
+      link_all_deplibs=yes
 
19686
+    if test "$GCC" = yes ; then
 
19687
+       output_verbose_link_cmd='echo'
 
19688
+        archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
 
19689
+      module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
19690
+      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
19691
+      archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
19692
+      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}'
 
19693
+    else
 
19694
+      case $cc_basename in
 
19695
+        xlc*)
 
19696
+         output_verbose_link_cmd='echo'
 
19697
+         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
19698
+         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
19699
+          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
19700
+         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 $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
19701
+          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}'
 
19702
+          ;;
 
19703
+       *)
 
19704
+         ld_shlibs=no
 
19705
+          ;;
 
19706
+      esac
 
19707
+    fi
 
19708
+      ;;
 
19709
+
 
19710
+    dgux*)
 
19711
+      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
19712
+      hardcode_libdir_flag_spec='-L$libdir'
 
19713
+      hardcode_shlibpath_var=no
 
19714
+      ;;
 
19715
+
 
19716
+    freebsd1*)
 
19717
+      ld_shlibs=no
 
19718
+      ;;
 
19719
+
 
19720
+    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
 
19721
+    # support.  Future versions do this automatically, but an explicit c++rt0.o
 
19722
+    # does not break anything, and helps significantly (at the cost of a little
 
19723
+    # extra space).
 
19724
+    freebsd2.2*)
 
19725
+      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
 
19726
+      hardcode_libdir_flag_spec='-R$libdir'
 
19727
+      hardcode_direct=yes
 
19728
+      hardcode_shlibpath_var=no
 
19729
+      ;;
 
19730
+
 
19731
+    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
 
19732
+    freebsd2*)
 
19733
+      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
19734
+      hardcode_direct=yes
 
19735
+      hardcode_minus_L=yes
 
19736
+      hardcode_shlibpath_var=no
 
19737
+      ;;
 
19738
+
 
19739
+    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
 
19740
+    freebsd* | dragonfly*)
 
19741
+      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 
19742
+      hardcode_libdir_flag_spec='-R$libdir'
 
19743
+      hardcode_direct=yes
 
19744
+      hardcode_shlibpath_var=no
 
19745
+      ;;
 
19746
+
 
19747
+    hpux9*)
 
19748
+      if test "$GCC" = yes; then
 
19749
+       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'
 
19750
+      else
 
19751
+       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'
 
19752
+      fi
 
19753
+      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
19754
+      hardcode_libdir_separator=:
 
19755
+      hardcode_direct=yes
 
19756
+
 
19757
+      # hardcode_minus_L: Not really in the search PATH,
 
19758
+      # but as the default location of the library.
 
19759
+      hardcode_minus_L=yes
 
19760
+      export_dynamic_flag_spec='${wl}-E'
 
19761
+      ;;
 
19762
+
 
19763
+    hpux10*)
 
19764
+      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
19765
+       archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
19766
+      else
 
19767
+       archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
19768
+      fi
 
19769
+      if test "$with_gnu_ld" = no; then
 
19770
+       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
19771
+       hardcode_libdir_separator=:
 
19772
+
 
19773
+       hardcode_direct=yes
 
19774
+       export_dynamic_flag_spec='${wl}-E'
 
19775
+
 
19776
+       # hardcode_minus_L: Not really in the search PATH,
 
19777
+       # but as the default location of the library.
 
19778
+       hardcode_minus_L=yes
 
19779
+      fi
 
19780
+      ;;
 
19781
+
 
19782
+    hpux11*)
 
19783
+      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
19784
+       case $host_cpu in
 
19785
+       hppa*64*)
 
19786
+         archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
19787
+         ;;
 
19788
+       ia64*)
 
19789
+         archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
19790
+         ;;
 
19791
+       *)
 
19792
+         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
19793
+         ;;
 
19794
+       esac
 
19795
+      else
 
19796
+       case $host_cpu in
 
19797
+       hppa*64*)
 
19798
+         archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
19799
+         ;;
 
19800
+       ia64*)
 
19801
+         archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
19802
+         ;;
 
19803
+       *)
 
19804
+         archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
19805
+         ;;
 
19806
+       esac
 
19807
+      fi
 
19808
+      if test "$with_gnu_ld" = no; then
 
19809
+       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
19810
+       hardcode_libdir_separator=:
 
19811
+
 
19812
+       case $host_cpu in
 
19813
+       hppa*64*|ia64*)
 
19814
+         hardcode_libdir_flag_spec_ld='+b $libdir'
 
19815
+         hardcode_direct=no
 
19816
+         hardcode_shlibpath_var=no
 
19817
+         ;;
 
19818
+       *)
 
19819
+         hardcode_direct=yes
 
19820
+         export_dynamic_flag_spec='${wl}-E'
 
19821
+
 
19822
+         # hardcode_minus_L: Not really in the search PATH,
 
19823
+         # but as the default location of the library.
 
19824
+         hardcode_minus_L=yes
 
19825
+         ;;
 
19826
+       esac
 
19827
+      fi
 
19828
+      ;;
 
19829
+
 
19830
+    irix5* | irix6* | nonstopux*)
 
19831
+      if test "$GCC" = yes; then
 
19832
+       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'
 
19833
+      else
 
19834
+       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'
 
19835
+       hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
19836
+      fi
 
19837
+      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
19838
+      hardcode_libdir_separator=:
 
19839
+      link_all_deplibs=yes
 
19840
+      ;;
 
19841
+
 
19842
+    netbsd* | netbsdelf*-gnu)
 
19843
+      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
19844
+       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
 
19845
+      else
 
19846
+       archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
 
19847
+      fi
 
19848
+      hardcode_libdir_flag_spec='-R$libdir'
 
19849
+      hardcode_direct=yes
 
19850
+      hardcode_shlibpath_var=no
 
19851
+      ;;
 
19852
+
 
19853
+    newsos6)
 
19854
+      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
19855
+      hardcode_direct=yes
 
19856
+      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
19857
+      hardcode_libdir_separator=:
 
19858
+      hardcode_shlibpath_var=no
 
19859
+      ;;
 
19860
+
 
19861
+    openbsd*)
 
19862
+      hardcode_direct=yes
 
19863
+      hardcode_shlibpath_var=no
 
19864
+      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
19865
+       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
19866
+       archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
19867
+       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
19868
+       export_dynamic_flag_spec='${wl}-E'
 
19869
+      else
 
19870
+       case $host_os in
 
19871
+        openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
19872
+          archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
19873
+          hardcode_libdir_flag_spec='-R$libdir'
 
19874
+          ;;
 
19875
+        *)
 
19876
+          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
19877
+          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
19878
+          ;;
 
19879
+       esac
 
19880
+      fi
 
19881
+      ;;
 
19882
+
 
19883
+    os2*)
 
19884
+      hardcode_libdir_flag_spec='-L$libdir'
 
19885
+      hardcode_minus_L=yes
 
19886
+      allow_undefined_flag=unsupported
 
19887
+      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'
 
19888
+      old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 
19889
+      ;;
 
19890
+
 
19891
+    osf3*)
 
19892
+      if test "$GCC" = yes; then
 
19893
+       allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 
19894
+       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'
 
19895
+      else
 
19896
+       allow_undefined_flag=' -expect_unresolved \*'
 
19897
+       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'
 
19898
+      fi
 
19899
+      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
19900
+      hardcode_libdir_separator=:
 
19901
+      ;;
 
19902
+
 
19903
+    osf4* | osf5*)     # as osf3* with the addition of -msym flag
 
19904
+      if test "$GCC" = yes; then
 
19905
+       allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 
19906
+       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'
 
19907
+       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
19908
+      else
 
19909
+       allow_undefined_flag=' -expect_unresolved \*'
 
19910
+       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'
 
19911
+       archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
 
19912
+       $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'
 
19913
+
 
19914
+       # Both c and cxx compiler support -rpath directly
 
19915
+       hardcode_libdir_flag_spec='-rpath $libdir'
 
19916
+      fi
 
19917
+      hardcode_libdir_separator=:
 
19918
+      ;;
 
19919
+
 
19920
+    solaris*)
 
19921
+      no_undefined_flag=' -z text'
 
19922
+      if test "$GCC" = yes; then
 
19923
+       wlarc='${wl}'
 
19924
+       archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
19925
+       archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 
19926
+         $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
 
19927
+      else
 
19928
+       wlarc=''
 
19929
+       archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
19930
+       archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 
19931
+       $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
 
19932
+      fi
 
19933
+      hardcode_libdir_flag_spec='-R$libdir'
 
19934
+      hardcode_shlibpath_var=no
 
19935
+      case $host_os in
 
19936
+      solaris2.[0-5] | solaris2.[0-5].*) ;;
 
19937
+      *)
 
19938
+       # The compiler driver will combine linker options so we
 
19939
+       # cannot just pass the convience library names through
 
19940
+       # without $wl, iff we do not link with $LD.
 
19941
+       # Luckily, gcc supports the same syntax we need for Sun Studio.
 
19942
+       # Supported since Solaris 2.6 (maybe 2.5.1?)
 
19943
+       case $wlarc in
 
19944
+       '')
 
19945
+         whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
 
19946
+       *)
 
19947
+         whole_archive_flag_spec='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
 
19948
+       esac ;;
 
19949
+      esac
 
19950
+      link_all_deplibs=yes
 
19951
+      ;;
 
19952
+
 
19953
+    sunos4*)
 
19954
+      if test "x$host_vendor" = xsequent; then
 
19955
+       # Use $CC to link under sequent, because it throws in some extra .o
 
19956
+       # files that make .init and .fini sections work.
 
19957
+       archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
19958
+      else
 
19959
+       archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
 
19960
+      fi