1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for ttfdump (TeX Live) 0.5.5.
4#
5# Report bugs to <tex-k@tug.org>.
6#
7#
8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9#
10#
11# This configure script is free software; the Free Software Foundation
12# gives unlimited permission to copy, distribute and modify it.
13## -------------------- ##
14## M4sh Initialization. ##
15## -------------------- ##
16
17# Be more Bourne compatible
18DUALCASE=1; export DUALCASE # for MKS sh
19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20  emulate sh
21  NULLCMD=:
22  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23  # is contrary to our usage.  Disable this feature.
24  alias -g '${1+"$@"}'='"$@"'
25  setopt NO_GLOB_SUBST
26else
27  case `(set -o) 2>/dev/null` in #(
28  *posix*) :
29    set -o posix ;; #(
30  *) :
31     ;;
32esac
33fi
34
35
36as_nl='
37'
38export as_nl
39# Printing a long string crashes Solaris 7 /usr/bin/printf.
40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43# Prefer a ksh shell builtin over an external printf program on Solaris,
44# but without wasting forks for bash or zsh.
45if test -z "$BASH_VERSION$ZSH_VERSION" \
46    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47  as_echo='print -r --'
48  as_echo_n='print -rn --'
49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50  as_echo='printf %s\n'
51  as_echo_n='printf %s'
52else
53  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55    as_echo_n='/usr/ucb/echo -n'
56  else
57    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58    as_echo_n_body='eval
59      arg=$1;
60      case $arg in #(
61      *"$as_nl"*)
62	expr "X$arg" : "X\\(.*\\)$as_nl";
63	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64      esac;
65      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66    '
67    export as_echo_n_body
68    as_echo_n='sh -c $as_echo_n_body as_echo'
69  fi
70  export as_echo_body
71  as_echo='sh -c $as_echo_body as_echo'
72fi
73
74# The user is always right.
75if test "${PATH_SEPARATOR+set}" != set; then
76  PATH_SEPARATOR=:
77  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79      PATH_SEPARATOR=';'
80  }
81fi
82
83
84# IFS
85# We need space, tab and new line, in precisely that order.  Quoting is
86# there to prevent editors from complaining about space-tab.
87# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88# splitting by setting IFS to empty value.)
89IFS=" ""	$as_nl"
90
91# Find who we are.  Look in the path if we contain no directory separator.
92as_myself=
93case $0 in #((
94  *[\\/]* ) as_myself=$0 ;;
95  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96for as_dir in $PATH
97do
98  IFS=$as_save_IFS
99  test -z "$as_dir" && as_dir=.
100    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101  done
102IFS=$as_save_IFS
103
104     ;;
105esac
106# We did not find ourselves, most probably we were run as `sh COMMAND'
107# in which case we are not to be found in the path.
108if test "x$as_myself" = x; then
109  as_myself=$0
110fi
111if test ! -f "$as_myself"; then
112  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113  exit 1
114fi
115
116# Unset variables that we do not need and which cause bugs (e.g. in
117# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118# suppresses any "Segmentation fault" message there.  '((' could
119# trigger a bug in pdksh 5.2.14.
120for as_var in BASH_ENV ENV MAIL MAILPATH
121do eval test x\${$as_var+set} = xset \
122  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123done
124PS1='$ '
125PS2='> '
126PS4='+ '
127
128# NLS nuisances.
129LC_ALL=C
130export LC_ALL
131LANGUAGE=C
132export LANGUAGE
133
134# CDPATH.
135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137# Use a proper internal environment variable to ensure we don't fall
138  # into an infinite loop, continuously re-executing ourselves.
139  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140    _as_can_reexec=no; export _as_can_reexec;
141    # We cannot yet assume a decent shell, so we have to provide a
142# neutralization value for shells without unset; and this also
143# works around shells that cannot unset nonexistent variables.
144# Preserve -v and -x to the replacement shell.
145BASH_ENV=/dev/null
146ENV=/dev/null
147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148case $- in # ((((
149  *v*x* | *x*v* ) as_opts=-vx ;;
150  *v* ) as_opts=-v ;;
151  *x* ) as_opts=-x ;;
152  * ) as_opts= ;;
153esac
154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155# Admittedly, this is quite paranoid, since all the known shells bail
156# out after a failed `exec'.
157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158as_fn_exit 255
159  fi
160  # We don't want this to propagate to other subprocesses.
161          { _as_can_reexec=; unset _as_can_reexec;}
162if test "x$CONFIG_SHELL" = x; then
163  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164  emulate sh
165  NULLCMD=:
166  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167  # is contrary to our usage.  Disable this feature.
168  alias -g '\${1+\"\$@\"}'='\"\$@\"'
169  setopt NO_GLOB_SUBST
170else
171  case \`(set -o) 2>/dev/null\` in #(
172  *posix*) :
173    set -o posix ;; #(
174  *) :
175     ;;
176esac
177fi
178"
179  as_required="as_fn_return () { (exit \$1); }
180as_fn_success () { as_fn_return 0; }
181as_fn_failure () { as_fn_return 1; }
182as_fn_ret_success () { return 0; }
183as_fn_ret_failure () { return 1; }
184
185exitcode=0
186as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192else
193  exitcode=1; echo positional parameters were not saved.
194fi
195test x\$exitcode = x0 || exit 1
196test -x / || exit 1"
197  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201
202  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206    PATH=/empty FPATH=/empty; export PATH FPATH
207    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209test \$(( 1 + 1 )) = 2 || exit 1"
210  if (eval "$as_required") 2>/dev/null; then :
211  as_have_required=yes
212else
213  as_have_required=no
214fi
215  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216
217else
218  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
219as_found=false
220for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221do
222  IFS=$as_save_IFS
223  test -z "$as_dir" && as_dir=.
224  as_found=:
225  case $as_dir in #(
226	 /*)
227	   for as_base in sh bash ksh sh5; do
228	     # Try only shells that exist, to save several forks.
229	     as_shell=$as_dir/$as_base
230	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232  CONFIG_SHELL=$as_shell as_have_required=yes
233		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
234  break 2
235fi
236fi
237	   done;;
238       esac
239  as_found=false
240done
241$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243  CONFIG_SHELL=$SHELL as_have_required=yes
244fi; }
245IFS=$as_save_IFS
246
247
248      if test "x$CONFIG_SHELL" != x; then :
249  export CONFIG_SHELL
250             # We cannot yet assume a decent shell, so we have to provide a
251# neutralization value for shells without unset; and this also
252# works around shells that cannot unset nonexistent variables.
253# Preserve -v and -x to the replacement shell.
254BASH_ENV=/dev/null
255ENV=/dev/null
256(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257case $- in # ((((
258  *v*x* | *x*v* ) as_opts=-vx ;;
259  *v* ) as_opts=-v ;;
260  *x* ) as_opts=-x ;;
261  * ) as_opts= ;;
262esac
263exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264# Admittedly, this is quite paranoid, since all the known shells bail
265# out after a failed `exec'.
266$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
267exit 255
268fi
269
270    if test x$as_have_required = xno; then :
271  $as_echo "$0: This script requires a shell more modern than all"
272  $as_echo "$0: the shells that I found on your system."
273  if test x${ZSH_VERSION+set} = xset ; then
274    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
276  else
277    $as_echo "$0: Please tell bug-autoconf@gnu.org and tex-k@tug.org
278$0: about your system, including any error possibly output
279$0: before this message. Then install a modern shell, or
280$0: manually run the script under such a shell if you do
281$0: have one."
282  fi
283  exit 1
284fi
285fi
286fi
287SHELL=${CONFIG_SHELL-/bin/sh}
288export SHELL
289# Unset more variables known to interfere with behavior of common tools.
290CLICOLOR_FORCE= GREP_OPTIONS=
291unset CLICOLOR_FORCE GREP_OPTIONS
292
293## --------------------- ##
294## M4sh Shell Functions. ##
295## --------------------- ##
296# as_fn_unset VAR
297# ---------------
298# Portably unset VAR.
299as_fn_unset ()
300{
301  { eval $1=; unset $1;}
302}
303as_unset=as_fn_unset
304
305# as_fn_set_status STATUS
306# -----------------------
307# Set $? to STATUS, without forking.
308as_fn_set_status ()
309{
310  return $1
311} # as_fn_set_status
312
313# as_fn_exit STATUS
314# -----------------
315# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
316as_fn_exit ()
317{
318  set +e
319  as_fn_set_status $1
320  exit $1
321} # as_fn_exit
322
323# as_fn_mkdir_p
324# -------------
325# Create "$as_dir" as a directory, including parents if necessary.
326as_fn_mkdir_p ()
327{
328
329  case $as_dir in #(
330  -*) as_dir=./$as_dir;;
331  esac
332  test -d "$as_dir" || eval $as_mkdir_p || {
333    as_dirs=
334    while :; do
335      case $as_dir in #(
336      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
337      *) as_qdir=$as_dir;;
338      esac
339      as_dirs="'$as_qdir' $as_dirs"
340      as_dir=`$as_dirname -- "$as_dir" ||
341$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342	 X"$as_dir" : 'X\(//\)[^/]' \| \
343	 X"$as_dir" : 'X\(//\)$' \| \
344	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345$as_echo X"$as_dir" |
346    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
347	    s//\1/
348	    q
349	  }
350	  /^X\(\/\/\)[^/].*/{
351	    s//\1/
352	    q
353	  }
354	  /^X\(\/\/\)$/{
355	    s//\1/
356	    q
357	  }
358	  /^X\(\/\).*/{
359	    s//\1/
360	    q
361	  }
362	  s/.*/./; q'`
363      test -d "$as_dir" && break
364    done
365    test -z "$as_dirs" || eval "mkdir $as_dirs"
366  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
367
368
369} # as_fn_mkdir_p
370
371# as_fn_executable_p FILE
372# -----------------------
373# Test if FILE is an executable regular file.
374as_fn_executable_p ()
375{
376  test -f "$1" && test -x "$1"
377} # as_fn_executable_p
378# as_fn_append VAR VALUE
379# ----------------------
380# Append the text in VALUE to the end of the definition contained in VAR. Take
381# advantage of any shell optimizations that allow amortized linear growth over
382# repeated appends, instead of the typical quadratic growth present in naive
383# implementations.
384if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385  eval 'as_fn_append ()
386  {
387    eval $1+=\$2
388  }'
389else
390  as_fn_append ()
391  {
392    eval $1=\$$1\$2
393  }
394fi # as_fn_append
395
396# as_fn_arith ARG...
397# ------------------
398# Perform arithmetic evaluation on the ARGs, and store the result in the
399# global $as_val. Take advantage of shells that can avoid forks. The arguments
400# must be portable across $(()) and expr.
401if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
402  eval 'as_fn_arith ()
403  {
404    as_val=$(( $* ))
405  }'
406else
407  as_fn_arith ()
408  {
409    as_val=`expr "$@" || test $? -eq 1`
410  }
411fi # as_fn_arith
412
413
414# as_fn_error STATUS ERROR [LINENO LOG_FD]
415# ----------------------------------------
416# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418# script with STATUS, using 1 if that was 0.
419as_fn_error ()
420{
421  as_status=$1; test $as_status -eq 0 && as_status=1
422  if test "$4"; then
423    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
425  fi
426  $as_echo "$as_me: error: $2" >&2
427  as_fn_exit $as_status
428} # as_fn_error
429
430if expr a : '\(a\)' >/dev/null 2>&1 &&
431   test "X`expr 00001 : '.*\(...\)'`" = X001; then
432  as_expr=expr
433else
434  as_expr=false
435fi
436
437if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
438  as_basename=basename
439else
440  as_basename=false
441fi
442
443if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
444  as_dirname=dirname
445else
446  as_dirname=false
447fi
448
449as_me=`$as_basename -- "$0" ||
450$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451	 X"$0" : 'X\(//\)$' \| \
452	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
453$as_echo X/"$0" |
454    sed '/^.*\/\([^/][^/]*\)\/*$/{
455	    s//\1/
456	    q
457	  }
458	  /^X\/\(\/\/\)$/{
459	    s//\1/
460	    q
461	  }
462	  /^X\/\(\/\).*/{
463	    s//\1/
464	    q
465	  }
466	  s/.*/./; q'`
467
468# Avoid depending upon Character Ranges.
469as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472as_cr_digits='0123456789'
473as_cr_alnum=$as_cr_Letters$as_cr_digits
474
475
476  as_lineno_1=$LINENO as_lineno_1a=$LINENO
477  as_lineno_2=$LINENO as_lineno_2a=$LINENO
478  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
481  sed -n '
482    p
483    /[$]LINENO/=
484  ' <$as_myself |
485    sed '
486      s/[$]LINENO.*/&-/
487      t lineno
488      b
489      :lineno
490      N
491      :loop
492      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493      t loop
494      s/-\n.*//
495    ' >$as_me.lineno &&
496  chmod +x "$as_me.lineno" ||
497    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
498
499  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500  # already done that, so ensure we don't try to do so again and fall
501  # in an infinite loop.  This has already happened in practice.
502  _as_can_reexec=no; export _as_can_reexec
503  # Don't try to exec as it changes $[0], causing all sort of problems
504  # (the dirname of $[0] is not the place where we might find the
505  # original and so on.  Autoconf is especially sensitive to this).
506  . "./$as_me.lineno"
507  # Exit status is that of the last command.
508  exit
509}
510
511ECHO_C= ECHO_N= ECHO_T=
512case `echo -n x` in #(((((
513-n*)
514  case `echo 'xy\c'` in
515  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
516  xy)  ECHO_C='\c';;
517  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
518       ECHO_T='	';;
519  esac;;
520*)
521  ECHO_N='-n';;
522esac
523
524rm -f conf$$ conf$$.exe conf$$.file
525if test -d conf$$.dir; then
526  rm -f conf$$.dir/conf$$.file
527else
528  rm -f conf$$.dir
529  mkdir conf$$.dir 2>/dev/null
530fi
531if (echo >conf$$.file) 2>/dev/null; then
532  if ln -s conf$$.file conf$$ 2>/dev/null; then
533    as_ln_s='ln -s'
534    # ... but there are two gotchas:
535    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537    # In both cases, we have to default to `cp -pR'.
538    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
539      as_ln_s='cp -pR'
540  elif ln conf$$.file conf$$ 2>/dev/null; then
541    as_ln_s=ln
542  else
543    as_ln_s='cp -pR'
544  fi
545else
546  as_ln_s='cp -pR'
547fi
548rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549rmdir conf$$.dir 2>/dev/null
550
551if mkdir -p . 2>/dev/null; then
552  as_mkdir_p='mkdir -p "$as_dir"'
553else
554  test -d ./-p && rmdir ./-p
555  as_mkdir_p=false
556fi
557
558as_test_x='test -x'
559as_executable_p=as_fn_executable_p
560
561# Sed expression to map a string onto a valid CPP name.
562as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
563
564# Sed expression to map a string onto a valid variable name.
565as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
566
567SHELL=${CONFIG_SHELL-/bin/sh}
568
569
570test -n "$DJDIR" || exec 7<&0 </dev/null
571exec 6>&1
572
573# Name of the host.
574# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575# so uname gets run too.
576ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
577
578#
579# Initializations.
580#
581ac_default_prefix=/usr/local
582ac_clean_files=
583ac_config_libobj_dir=.
584LIBOBJS=
585cross_compiling=no
586subdirs=
587MFLAGS=
588MAKEFLAGS=
589
590# Identity of this package.
591PACKAGE_NAME='ttfdump (TeX Live)'
592PACKAGE_TARNAME='ttfdump--tex-live-'
593PACKAGE_VERSION='0.5.5'
594PACKAGE_STRING='ttfdump (TeX Live) 0.5.5'
595PACKAGE_BUGREPORT='tex-k@tug.org'
596PACKAGE_URL=''
597
598ac_unique_file="include/ttf.h"
599# Factoring default headers for most tests.
600ac_includes_default="\
601#include <stdio.h>
602#ifdef HAVE_SYS_TYPES_H
603# include <sys/types.h>
604#endif
605#ifdef HAVE_SYS_STAT_H
606# include <sys/stat.h>
607#endif
608#ifdef STDC_HEADERS
609# include <stdlib.h>
610# include <stddef.h>
611#else
612# ifdef HAVE_STDLIB_H
613#  include <stdlib.h>
614# endif
615#endif
616#ifdef HAVE_STRING_H
617# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
618#  include <memory.h>
619# endif
620# include <string.h>
621#endif
622#ifdef HAVE_STRINGS_H
623# include <strings.h>
624#endif
625#ifdef HAVE_INTTYPES_H
626# include <inttypes.h>
627#endif
628#ifdef HAVE_STDINT_H
629# include <stdint.h>
630#endif
631#ifdef HAVE_UNISTD_H
632# include <unistd.h>
633#endif"
634
635ac_subst_vars='am__EXEEXT_FALSE
636am__EXEEXT_TRUE
637LTLIBOBJS
638LIBOBJS
639KPATHSEA_RULE
640KPATHSEA_DEPEND
641KPATHSEA_LIBS
642KPATHSEA_INCLUDES
643PKG_CONFIG
644CPP
645LT_SYS_LIBRARY_PATH
646OTOOL64
647OTOOL
648LIPO
649NMEDIT
650DSYMUTIL
651MANIFEST_TOOL
652RANLIB
653ac_ct_AR
654AR
655LN_S
656NM
657ac_ct_DUMPBIN
658DUMPBIN
659LD
660FGREP
661EGREP
662GREP
663SED
664host_os
665host_vendor
666host_cpu
667host
668build_os
669build_vendor
670build_cpu
671build
672LIBTOOL
673OBJDUMP
674DLLTOOL
675AS
676WARNING_CFLAGS
677am__fastdepCC_FALSE
678am__fastdepCC_TRUE
679CCDEPMODE
680am__nodep
681AMDEPBACKSLASH
682AMDEP_FALSE
683AMDEP_TRUE
684am__quote
685am__include
686DEPDIR
687OBJEXT
688EXEEXT
689ac_ct_CC
690CPPFLAGS
691LDFLAGS
692CFLAGS
693CC
694MAINT
695MAINTAINER_MODE_FALSE
696MAINTAINER_MODE_TRUE
697AM_BACKSLASH
698AM_DEFAULT_VERBOSITY
699AM_DEFAULT_V
700AM_V
701am__untar
702am__tar
703AMTAR
704am__leading_dot
705SET_MAKE
706AWK
707mkdir_p
708MKDIR_P
709INSTALL_STRIP_PROGRAM
710STRIP
711install_sh
712MAKEINFO
713AUTOHEADER
714AUTOMAKE
715AUTOCONF
716ACLOCAL
717VERSION
718PACKAGE
719CYGPATH_W
720am__isrc
721INSTALL_DATA
722INSTALL_SCRIPT
723INSTALL_PROGRAM
724target_alias
725host_alias
726build_alias
727LIBS
728ECHO_T
729ECHO_N
730ECHO_C
731DEFS
732mandir
733localedir
734libdir
735psdir
736pdfdir
737dvidir
738htmldir
739infodir
740docdir
741oldincludedir
742includedir
743localstatedir
744sharedstatedir
745sysconfdir
746datadir
747datarootdir
748libexecdir
749sbindir
750bindir
751program_transform_name
752prefix
753exec_prefix
754PACKAGE_URL
755PACKAGE_BUGREPORT
756PACKAGE_STRING
757PACKAGE_VERSION
758PACKAGE_TARNAME
759PACKAGE_NAME
760PATH_SEPARATOR
761SHELL'
762ac_subst_files=''
763ac_user_opts='
764enable_option_checking
765enable_silent_rules
766enable_maintainer_mode
767enable_dependency_tracking
768enable_compiler_warnings
769enable_shared
770enable_static
771with_pic
772enable_fast_install
773with_aix_soname
774with_gnu_ld
775with_sysroot
776enable_libtool_lock
777enable_largefile
778with_system_kpathsea
779'
780      ac_precious_vars='build_alias
781host_alias
782target_alias
783CC
784CFLAGS
785LDFLAGS
786LIBS
787CPPFLAGS
788LT_SYS_LIBRARY_PATH
789CPP'
790
791
792# Initialize some variables set by options.
793ac_init_help=
794ac_init_version=false
795ac_unrecognized_opts=
796ac_unrecognized_sep=
797# The variables have the same names as the options, with
798# dashes changed to underlines.
799cache_file=/dev/null
800exec_prefix=NONE
801no_create=
802no_recursion=
803prefix=NONE
804program_prefix=NONE
805program_suffix=NONE
806program_transform_name=s,x,x,
807silent=
808site=
809srcdir=
810verbose=
811x_includes=NONE
812x_libraries=NONE
813
814# Installation directory options.
815# These are left unexpanded so users can "make install exec_prefix=/foo"
816# and all the variables that are supposed to be based on exec_prefix
817# by default will actually change.
818# Use braces instead of parens because sh, perl, etc. also accept them.
819# (The list follows the same order as the GNU Coding Standards.)
820bindir='${exec_prefix}/bin'
821sbindir='${exec_prefix}/sbin'
822libexecdir='${exec_prefix}/libexec'
823datarootdir='${prefix}/share'
824datadir='${datarootdir}'
825sysconfdir='${prefix}/etc'
826sharedstatedir='${prefix}/com'
827localstatedir='${prefix}/var'
828includedir='${prefix}/include'
829oldincludedir='/usr/include'
830docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
831infodir='${datarootdir}/info'
832htmldir='${docdir}'
833dvidir='${docdir}'
834pdfdir='${docdir}'
835psdir='${docdir}'
836libdir='${exec_prefix}/lib'
837localedir='${datarootdir}/locale'
838mandir='${datarootdir}/man'
839
840ac_prev=
841ac_dashdash=
842for ac_option
843do
844  # If the previous option needs an argument, assign it.
845  if test -n "$ac_prev"; then
846    eval $ac_prev=\$ac_option
847    ac_prev=
848    continue
849  fi
850
851  case $ac_option in
852  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
853  *=)   ac_optarg= ;;
854  *)    ac_optarg=yes ;;
855  esac
856
857  # Accept the important Cygnus configure options, so we can diagnose typos.
858
859  case $ac_dashdash$ac_option in
860  --)
861    ac_dashdash=yes ;;
862
863  -bindir | --bindir | --bindi | --bind | --bin | --bi)
864    ac_prev=bindir ;;
865  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
866    bindir=$ac_optarg ;;
867
868  -build | --build | --buil | --bui | --bu)
869    ac_prev=build_alias ;;
870  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
871    build_alias=$ac_optarg ;;
872
873  -cache-file | --cache-file | --cache-fil | --cache-fi \
874  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
875    ac_prev=cache_file ;;
876  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
877  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
878    cache_file=$ac_optarg ;;
879
880  --config-cache | -C)
881    cache_file=config.cache ;;
882
883  -datadir | --datadir | --datadi | --datad)
884    ac_prev=datadir ;;
885  -datadir=* | --datadir=* | --datadi=* | --datad=*)
886    datadir=$ac_optarg ;;
887
888  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
889  | --dataroo | --dataro | --datar)
890    ac_prev=datarootdir ;;
891  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
892  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
893    datarootdir=$ac_optarg ;;
894
895  -disable-* | --disable-*)
896    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
897    # Reject names that are not valid shell variable names.
898    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
899      as_fn_error $? "invalid feature name: $ac_useropt"
900    ac_useropt_orig=$ac_useropt
901    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
902    case $ac_user_opts in
903      *"
904"enable_$ac_useropt"
905"*) ;;
906      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
907	 ac_unrecognized_sep=', ';;
908    esac
909    eval enable_$ac_useropt=no ;;
910
911  -docdir | --docdir | --docdi | --doc | --do)
912    ac_prev=docdir ;;
913  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
914    docdir=$ac_optarg ;;
915
916  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
917    ac_prev=dvidir ;;
918  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
919    dvidir=$ac_optarg ;;
920
921  -enable-* | --enable-*)
922    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
923    # Reject names that are not valid shell variable names.
924    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
925      as_fn_error $? "invalid feature name: $ac_useropt"
926    ac_useropt_orig=$ac_useropt
927    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
928    case $ac_user_opts in
929      *"
930"enable_$ac_useropt"
931"*) ;;
932      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
933	 ac_unrecognized_sep=', ';;
934    esac
935    eval enable_$ac_useropt=\$ac_optarg ;;
936
937  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
938  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
939  | --exec | --exe | --ex)
940    ac_prev=exec_prefix ;;
941  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
942  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
943  | --exec=* | --exe=* | --ex=*)
944    exec_prefix=$ac_optarg ;;
945
946  -gas | --gas | --ga | --g)
947    # Obsolete; use --with-gas.
948    with_gas=yes ;;
949
950  -help | --help | --hel | --he | -h)
951    ac_init_help=long ;;
952  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
953    ac_init_help=recursive ;;
954  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
955    ac_init_help=short ;;
956
957  -host | --host | --hos | --ho)
958    ac_prev=host_alias ;;
959  -host=* | --host=* | --hos=* | --ho=*)
960    host_alias=$ac_optarg ;;
961
962  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
963    ac_prev=htmldir ;;
964  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
965  | --ht=*)
966    htmldir=$ac_optarg ;;
967
968  -includedir | --includedir | --includedi | --included | --include \
969  | --includ | --inclu | --incl | --inc)
970    ac_prev=includedir ;;
971  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
972  | --includ=* | --inclu=* | --incl=* | --inc=*)
973    includedir=$ac_optarg ;;
974
975  -infodir | --infodir | --infodi | --infod | --info | --inf)
976    ac_prev=infodir ;;
977  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
978    infodir=$ac_optarg ;;
979
980  -libdir | --libdir | --libdi | --libd)
981    ac_prev=libdir ;;
982  -libdir=* | --libdir=* | --libdi=* | --libd=*)
983    libdir=$ac_optarg ;;
984
985  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
986  | --libexe | --libex | --libe)
987    ac_prev=libexecdir ;;
988  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
989  | --libexe=* | --libex=* | --libe=*)
990    libexecdir=$ac_optarg ;;
991
992  -localedir | --localedir | --localedi | --localed | --locale)
993    ac_prev=localedir ;;
994  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
995    localedir=$ac_optarg ;;
996
997  -localstatedir | --localstatedir | --localstatedi | --localstated \
998  | --localstate | --localstat | --localsta | --localst | --locals)
999    ac_prev=localstatedir ;;
1000  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1001  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1002    localstatedir=$ac_optarg ;;
1003
1004  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1005    ac_prev=mandir ;;
1006  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1007    mandir=$ac_optarg ;;
1008
1009  -nfp | --nfp | --nf)
1010    # Obsolete; use --without-fp.
1011    with_fp=no ;;
1012
1013  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1014  | --no-cr | --no-c | -n)
1015    no_create=yes ;;
1016
1017  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1018  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1019    no_recursion=yes ;;
1020
1021  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1022  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1023  | --oldin | --oldi | --old | --ol | --o)
1024    ac_prev=oldincludedir ;;
1025  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1026  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1027  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1028    oldincludedir=$ac_optarg ;;
1029
1030  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1031    ac_prev=prefix ;;
1032  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1033    prefix=$ac_optarg ;;
1034
1035  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1036  | --program-pre | --program-pr | --program-p)
1037    ac_prev=program_prefix ;;
1038  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1039  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1040    program_prefix=$ac_optarg ;;
1041
1042  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1043  | --program-suf | --program-su | --program-s)
1044    ac_prev=program_suffix ;;
1045  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1046  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1047    program_suffix=$ac_optarg ;;
1048
1049  -program-transform-name | --program-transform-name \
1050  | --program-transform-nam | --program-transform-na \
1051  | --program-transform-n | --program-transform- \
1052  | --program-transform | --program-transfor \
1053  | --program-transfo | --program-transf \
1054  | --program-trans | --program-tran \
1055  | --progr-tra | --program-tr | --program-t)
1056    ac_prev=program_transform_name ;;
1057  -program-transform-name=* | --program-transform-name=* \
1058  | --program-transform-nam=* | --program-transform-na=* \
1059  | --program-transform-n=* | --program-transform-=* \
1060  | --program-transform=* | --program-transfor=* \
1061  | --program-transfo=* | --program-transf=* \
1062  | --program-trans=* | --program-tran=* \
1063  | --progr-tra=* | --program-tr=* | --program-t=*)
1064    program_transform_name=$ac_optarg ;;
1065
1066  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1067    ac_prev=pdfdir ;;
1068  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1069    pdfdir=$ac_optarg ;;
1070
1071  -psdir | --psdir | --psdi | --psd | --ps)
1072    ac_prev=psdir ;;
1073  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1074    psdir=$ac_optarg ;;
1075
1076  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1077  | -silent | --silent | --silen | --sile | --sil)
1078    silent=yes ;;
1079
1080  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1081    ac_prev=sbindir ;;
1082  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1083  | --sbi=* | --sb=*)
1084    sbindir=$ac_optarg ;;
1085
1086  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1087  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1088  | --sharedst | --shareds | --shared | --share | --shar \
1089  | --sha | --sh)
1090    ac_prev=sharedstatedir ;;
1091  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1092  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1093  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1094  | --sha=* | --sh=*)
1095    sharedstatedir=$ac_optarg ;;
1096
1097  -site | --site | --sit)
1098    ac_prev=site ;;
1099  -site=* | --site=* | --sit=*)
1100    site=$ac_optarg ;;
1101
1102  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1103    ac_prev=srcdir ;;
1104  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1105    srcdir=$ac_optarg ;;
1106
1107  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1108  | --syscon | --sysco | --sysc | --sys | --sy)
1109    ac_prev=sysconfdir ;;
1110  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1111  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1112    sysconfdir=$ac_optarg ;;
1113
1114  -target | --target | --targe | --targ | --tar | --ta | --t)
1115    ac_prev=target_alias ;;
1116  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1117    target_alias=$ac_optarg ;;
1118
1119  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1120    verbose=yes ;;
1121
1122  -version | --version | --versio | --versi | --vers | -V)
1123    ac_init_version=: ;;
1124
1125  -with-* | --with-*)
1126    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1127    # Reject names that are not valid shell variable names.
1128    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1129      as_fn_error $? "invalid package name: $ac_useropt"
1130    ac_useropt_orig=$ac_useropt
1131    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1132    case $ac_user_opts in
1133      *"
1134"with_$ac_useropt"
1135"*) ;;
1136      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1137	 ac_unrecognized_sep=', ';;
1138    esac
1139    eval with_$ac_useropt=\$ac_optarg ;;
1140
1141  -without-* | --without-*)
1142    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1143    # Reject names that are not valid shell variable names.
1144    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1145      as_fn_error $? "invalid package name: $ac_useropt"
1146    ac_useropt_orig=$ac_useropt
1147    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1148    case $ac_user_opts in
1149      *"
1150"with_$ac_useropt"
1151"*) ;;
1152      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1153	 ac_unrecognized_sep=', ';;
1154    esac
1155    eval with_$ac_useropt=no ;;
1156
1157  --x)
1158    # Obsolete; use --with-x.
1159    with_x=yes ;;
1160
1161  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1162  | --x-incl | --x-inc | --x-in | --x-i)
1163    ac_prev=x_includes ;;
1164  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1165  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1166    x_includes=$ac_optarg ;;
1167
1168  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1169  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1170    ac_prev=x_libraries ;;
1171  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1172  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1173    x_libraries=$ac_optarg ;;
1174
1175  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1176Try \`$0 --help' for more information"
1177    ;;
1178
1179  *=*)
1180    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1181    # Reject names that are not valid shell variable names.
1182    case $ac_envvar in #(
1183      '' | [0-9]* | *[!_$as_cr_alnum]* )
1184      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1185    esac
1186    eval $ac_envvar=\$ac_optarg
1187    export $ac_envvar ;;
1188
1189  *)
1190    # FIXME: should be removed in autoconf 3.0.
1191    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1192    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1193      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1194    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1195    ;;
1196
1197  esac
1198done
1199
1200if test -n "$ac_prev"; then
1201  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1202  as_fn_error $? "missing argument to $ac_option"
1203fi
1204
1205if test -n "$ac_unrecognized_opts"; then
1206  case $enable_option_checking in
1207    no) ;;
1208    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1209    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1210  esac
1211fi
1212
1213# Check all directory arguments for consistency.
1214for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1215		datadir sysconfdir sharedstatedir localstatedir includedir \
1216		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1217		libdir localedir mandir
1218do
1219  eval ac_val=\$$ac_var
1220  # Remove trailing slashes.
1221  case $ac_val in
1222    */ )
1223      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1224      eval $ac_var=\$ac_val;;
1225  esac
1226  # Be sure to have absolute directory names.
1227  case $ac_val in
1228    [\\/$]* | ?:[\\/]* )  continue;;
1229    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1230  esac
1231  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1232done
1233
1234# There might be people who depend on the old broken behavior: `$host'
1235# used to hold the argument of --host etc.
1236# FIXME: To remove some day.
1237build=$build_alias
1238host=$host_alias
1239target=$target_alias
1240
1241# FIXME: To remove some day.
1242if test "x$host_alias" != x; then
1243  if test "x$build_alias" = x; then
1244    cross_compiling=maybe
1245  elif test "x$build_alias" != "x$host_alias"; then
1246    cross_compiling=yes
1247  fi
1248fi
1249
1250ac_tool_prefix=
1251test -n "$host_alias" && ac_tool_prefix=$host_alias-
1252
1253test "$silent" = yes && exec 6>/dev/null
1254
1255
1256ac_pwd=`pwd` && test -n "$ac_pwd" &&
1257ac_ls_di=`ls -di .` &&
1258ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1259  as_fn_error $? "working directory cannot be determined"
1260test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1261  as_fn_error $? "pwd does not report name of working directory"
1262
1263
1264# Find the source files, if location was not specified.
1265if test -z "$srcdir"; then
1266  ac_srcdir_defaulted=yes
1267  # Try the directory containing this script, then the parent directory.
1268  ac_confdir=`$as_dirname -- "$as_myself" ||
1269$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1270	 X"$as_myself" : 'X\(//\)[^/]' \| \
1271	 X"$as_myself" : 'X\(//\)$' \| \
1272	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1273$as_echo X"$as_myself" |
1274    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1275	    s//\1/
1276	    q
1277	  }
1278	  /^X\(\/\/\)[^/].*/{
1279	    s//\1/
1280	    q
1281	  }
1282	  /^X\(\/\/\)$/{
1283	    s//\1/
1284	    q
1285	  }
1286	  /^X\(\/\).*/{
1287	    s//\1/
1288	    q
1289	  }
1290	  s/.*/./; q'`
1291  srcdir=$ac_confdir
1292  if test ! -r "$srcdir/$ac_unique_file"; then
1293    srcdir=..
1294  fi
1295else
1296  ac_srcdir_defaulted=no
1297fi
1298if test ! -r "$srcdir/$ac_unique_file"; then
1299  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1300  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1301fi
1302ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1303ac_abs_confdir=`(
1304	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1305	pwd)`
1306# When building in place, set srcdir=.
1307if test "$ac_abs_confdir" = "$ac_pwd"; then
1308  srcdir=.
1309fi
1310# Remove unnecessary trailing slashes from srcdir.
1311# Double slashes in file names in object file debugging info
1312# mess up M-x gdb in Emacs.
1313case $srcdir in
1314*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1315esac
1316for ac_var in $ac_precious_vars; do
1317  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1318  eval ac_env_${ac_var}_value=\$${ac_var}
1319  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1320  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1321done
1322
1323#
1324# Report the --help message.
1325#
1326if test "$ac_init_help" = "long"; then
1327  # Omit some internal or obsolete options to make the list less imposing.
1328  # This message is too long to be a string in the A/UX 3.1 sh.
1329  cat <<_ACEOF
1330\`configure' configures ttfdump (TeX Live) 0.5.5 to adapt to many kinds of systems.
1331
1332Usage: $0 [OPTION]... [VAR=VALUE]...
1333
1334To assign environment variables (e.g., CC, CFLAGS...), specify them as
1335VAR=VALUE.  See below for descriptions of some of the useful variables.
1336
1337Defaults for the options are specified in brackets.
1338
1339Configuration:
1340  -h, --help              display this help and exit
1341      --help=short        display options specific to this package
1342      --help=recursive    display the short help of all the included packages
1343  -V, --version           display version information and exit
1344  -q, --quiet, --silent   do not print \`checking ...' messages
1345      --cache-file=FILE   cache test results in FILE [disabled]
1346  -C, --config-cache      alias for \`--cache-file=config.cache'
1347  -n, --no-create         do not create output files
1348      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1349
1350Installation directories:
1351  --prefix=PREFIX         install architecture-independent files in PREFIX
1352                          [$ac_default_prefix]
1353  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1354                          [PREFIX]
1355
1356By default, \`make install' will install all the files in
1357\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1358an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1359for instance \`--prefix=\$HOME'.
1360
1361For better control, use the options below.
1362
1363Fine tuning of the installation directories:
1364  --bindir=DIR            user executables [EPREFIX/bin]
1365  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1366  --libexecdir=DIR        program executables [EPREFIX/libexec]
1367  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1368  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1369  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1370  --libdir=DIR            object code libraries [EPREFIX/lib]
1371  --includedir=DIR        C header files [PREFIX/include]
1372  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1373  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1374  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1375  --infodir=DIR           info documentation [DATAROOTDIR/info]
1376  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1377  --mandir=DIR            man documentation [DATAROOTDIR/man]
1378  --docdir=DIR            documentation root
1379                          [DATAROOTDIR/doc/ttfdump--tex-live-]
1380  --htmldir=DIR           html documentation [DOCDIR]
1381  --dvidir=DIR            dvi documentation [DOCDIR]
1382  --pdfdir=DIR            pdf documentation [DOCDIR]
1383  --psdir=DIR             ps documentation [DOCDIR]
1384_ACEOF
1385
1386  cat <<\_ACEOF
1387
1388Program names:
1389  --program-prefix=PREFIX            prepend PREFIX to installed program names
1390  --program-suffix=SUFFIX            append SUFFIX to installed program names
1391  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1392
1393System types:
1394  --build=BUILD     configure for building on BUILD [guessed]
1395  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1396_ACEOF
1397fi
1398
1399if test -n "$ac_init_help"; then
1400  case $ac_init_help in
1401     short | recursive ) echo "Configuration of ttfdump (TeX Live) 0.5.5:";;
1402   esac
1403  cat <<\_ACEOF
1404
1405Optional Features:
1406  --disable-option-checking  ignore unrecognized --enable/--with options
1407  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1408  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1409  --enable-silent-rules   less verbose build output (undo: "make V=1")
1410  --disable-silent-rules  verbose build output (undo: "make V=0")
1411  --enable-maintainer-mode
1412                          enable make rules and dependencies not useful (and
1413                          sometimes confusing) to the casual installer
1414  --enable-dependency-tracking
1415                          do not reject slow dependency extractors
1416  --disable-dependency-tracking
1417                          speeds up one-time build
1418  --enable-compiler-warnings=[no|min|yes|max|all]
1419                          Turn on compiler warnings [default: yes if
1420                          maintainer-mode, min otherwise]
1421  --enable-shared[=PKGS]  build shared libraries [default=yes]
1422  --enable-static[=PKGS]  build static libraries [default=yes]
1423  --enable-fast-install[=PKGS]
1424                          optimize for fast installation [default=yes]
1425  --disable-libtool-lock  avoid locking (might break parallel builds)
1426  --disable-largefile     omit support for large files
1427
1428Optional Packages:
1429  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1430  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1431  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1432                          both]
1433  --with-aix-soname=aix|svr4|both
1434                          shared library versioning (aka "SONAME") variant to
1435                          provide on AIX, [default=aix].
1436  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1437  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1438                          compiler's sysroot if not specified).
1439  --with-system-kpathsea  use installed kpathsea headers and library (requires
1440                          pkg-config)
1441
1442Some influential environment variables:
1443  CC          C compiler command
1444  CFLAGS      C compiler flags
1445  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1446              nonstandard directory <lib dir>
1447  LIBS        libraries to pass to the linker, e.g. -l<library>
1448  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1449              you have headers in a nonstandard directory <include dir>
1450  LT_SYS_LIBRARY_PATH
1451              User-defined run-time library search path.
1452  CPP         C preprocessor
1453
1454Use these variables to override the choices made by `configure' or to help
1455it to find libraries and programs with nonstandard names/locations.
1456
1457Report bugs to <tex-k@tug.org>.
1458_ACEOF
1459ac_status=$?
1460fi
1461
1462if test "$ac_init_help" = "recursive"; then
1463  # If there are subdirs, report their specific --help.
1464  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1465    test -d "$ac_dir" ||
1466      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1467      continue
1468    ac_builddir=.
1469
1470case "$ac_dir" in
1471.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1472*)
1473  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1474  # A ".." for each directory in $ac_dir_suffix.
1475  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1476  case $ac_top_builddir_sub in
1477  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1478  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1479  esac ;;
1480esac
1481ac_abs_top_builddir=$ac_pwd
1482ac_abs_builddir=$ac_pwd$ac_dir_suffix
1483# for backward compatibility:
1484ac_top_builddir=$ac_top_build_prefix
1485
1486case $srcdir in
1487  .)  # We are building in place.
1488    ac_srcdir=.
1489    ac_top_srcdir=$ac_top_builddir_sub
1490    ac_abs_top_srcdir=$ac_pwd ;;
1491  [\\/]* | ?:[\\/]* )  # Absolute name.
1492    ac_srcdir=$srcdir$ac_dir_suffix;
1493    ac_top_srcdir=$srcdir
1494    ac_abs_top_srcdir=$srcdir ;;
1495  *) # Relative name.
1496    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1497    ac_top_srcdir=$ac_top_build_prefix$srcdir
1498    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1499esac
1500ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1501
1502    cd "$ac_dir" || { ac_status=$?; continue; }
1503    # Check for guested configure.
1504    if test -f "$ac_srcdir/configure.gnu"; then
1505      echo &&
1506      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1507    elif test -f "$ac_srcdir/configure"; then
1508      echo &&
1509      $SHELL "$ac_srcdir/configure" --help=recursive
1510    else
1511      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1512    fi || ac_status=$?
1513    cd "$ac_pwd" || { ac_status=$?; break; }
1514  done
1515fi
1516
1517test -n "$ac_init_help" && exit $ac_status
1518if $ac_init_version; then
1519  cat <<\_ACEOF
1520ttfdump (TeX Live) configure 0.5.5
1521generated by GNU Autoconf 2.69
1522
1523Copyright (C) 2012 Free Software Foundation, Inc.
1524This configure script is free software; the Free Software Foundation
1525gives unlimited permission to copy, distribute and modify it.
1526_ACEOF
1527  exit
1528fi
1529
1530## ------------------------ ##
1531## Autoconf initialization. ##
1532## ------------------------ ##
1533
1534# ac_fn_c_try_compile LINENO
1535# --------------------------
1536# Try to compile conftest.$ac_ext, and return whether this succeeded.
1537ac_fn_c_try_compile ()
1538{
1539  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1540  rm -f conftest.$ac_objext
1541  if { { ac_try="$ac_compile"
1542case "(($ac_try" in
1543  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1544  *) ac_try_echo=$ac_try;;
1545esac
1546eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1547$as_echo "$ac_try_echo"; } >&5
1548  (eval "$ac_compile") 2>conftest.err
1549  ac_status=$?
1550  if test -s conftest.err; then
1551    grep -v '^ *+' conftest.err >conftest.er1
1552    cat conftest.er1 >&5
1553    mv -f conftest.er1 conftest.err
1554  fi
1555  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1556  test $ac_status = 0; } && {
1557	 test -z "$ac_c_werror_flag" ||
1558	 test ! -s conftest.err
1559       } && test -s conftest.$ac_objext; then :
1560  ac_retval=0
1561else
1562  $as_echo "$as_me: failed program was:" >&5
1563sed 's/^/| /' conftest.$ac_ext >&5
1564
1565	ac_retval=1
1566fi
1567  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1568  as_fn_set_status $ac_retval
1569
1570} # ac_fn_c_try_compile
1571
1572# ac_fn_c_try_link LINENO
1573# -----------------------
1574# Try to link conftest.$ac_ext, and return whether this succeeded.
1575ac_fn_c_try_link ()
1576{
1577  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1578  rm -f conftest.$ac_objext conftest$ac_exeext
1579  if { { ac_try="$ac_link"
1580case "(($ac_try" in
1581  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1582  *) ac_try_echo=$ac_try;;
1583esac
1584eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1585$as_echo "$ac_try_echo"; } >&5
1586  (eval "$ac_link") 2>conftest.err
1587  ac_status=$?
1588  if test -s conftest.err; then
1589    grep -v '^ *+' conftest.err >conftest.er1
1590    cat conftest.er1 >&5
1591    mv -f conftest.er1 conftest.err
1592  fi
1593  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1594  test $ac_status = 0; } && {
1595	 test -z "$ac_c_werror_flag" ||
1596	 test ! -s conftest.err
1597       } && test -s conftest$ac_exeext && {
1598	 test "$cross_compiling" = yes ||
1599	 test -x conftest$ac_exeext
1600       }; then :
1601  ac_retval=0
1602else
1603  $as_echo "$as_me: failed program was:" >&5
1604sed 's/^/| /' conftest.$ac_ext >&5
1605
1606	ac_retval=1
1607fi
1608  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1609  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1610  # interfere with the next link command; also delete a directory that is
1611  # left behind by Apple's compiler.  We do this before executing the actions.
1612  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1613  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1614  as_fn_set_status $ac_retval
1615
1616} # ac_fn_c_try_link
1617
1618# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1619# -------------------------------------------------------
1620# Tests whether HEADER exists and can be compiled using the include files in
1621# INCLUDES, setting the cache variable VAR accordingly.
1622ac_fn_c_check_header_compile ()
1623{
1624  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1625  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1626$as_echo_n "checking for $2... " >&6; }
1627if eval \${$3+:} false; then :
1628  $as_echo_n "(cached) " >&6
1629else
1630  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1631/* end confdefs.h.  */
1632$4
1633#include <$2>
1634_ACEOF
1635if ac_fn_c_try_compile "$LINENO"; then :
1636  eval "$3=yes"
1637else
1638  eval "$3=no"
1639fi
1640rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1641fi
1642eval ac_res=\$$3
1643	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1644$as_echo "$ac_res" >&6; }
1645  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1646
1647} # ac_fn_c_check_header_compile
1648
1649# ac_fn_c_try_cpp LINENO
1650# ----------------------
1651# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1652ac_fn_c_try_cpp ()
1653{
1654  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1655  if { { ac_try="$ac_cpp conftest.$ac_ext"
1656case "(($ac_try" in
1657  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1658  *) ac_try_echo=$ac_try;;
1659esac
1660eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1661$as_echo "$ac_try_echo"; } >&5
1662  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1663  ac_status=$?
1664  if test -s conftest.err; then
1665    grep -v '^ *+' conftest.err >conftest.er1
1666    cat conftest.er1 >&5
1667    mv -f conftest.er1 conftest.err
1668  fi
1669  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1670  test $ac_status = 0; } > conftest.i && {
1671	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1672	 test ! -s conftest.err
1673       }; then :
1674  ac_retval=0
1675else
1676  $as_echo "$as_me: failed program was:" >&5
1677sed 's/^/| /' conftest.$ac_ext >&5
1678
1679    ac_retval=1
1680fi
1681  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1682  as_fn_set_status $ac_retval
1683
1684} # ac_fn_c_try_cpp
1685
1686# ac_fn_c_try_run LINENO
1687# ----------------------
1688# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1689# that executables *can* be run.
1690ac_fn_c_try_run ()
1691{
1692  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1693  if { { ac_try="$ac_link"
1694case "(($ac_try" in
1695  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1696  *) ac_try_echo=$ac_try;;
1697esac
1698eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1699$as_echo "$ac_try_echo"; } >&5
1700  (eval "$ac_link") 2>&5
1701  ac_status=$?
1702  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1703  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1704  { { case "(($ac_try" in
1705  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1706  *) ac_try_echo=$ac_try;;
1707esac
1708eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1709$as_echo "$ac_try_echo"; } >&5
1710  (eval "$ac_try") 2>&5
1711  ac_status=$?
1712  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1713  test $ac_status = 0; }; }; then :
1714  ac_retval=0
1715else
1716  $as_echo "$as_me: program exited with status $ac_status" >&5
1717       $as_echo "$as_me: failed program was:" >&5
1718sed 's/^/| /' conftest.$ac_ext >&5
1719
1720       ac_retval=$ac_status
1721fi
1722  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1723  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1724  as_fn_set_status $ac_retval
1725
1726} # ac_fn_c_try_run
1727
1728# ac_fn_c_check_func LINENO FUNC VAR
1729# ----------------------------------
1730# Tests whether FUNC exists, setting the cache variable VAR accordingly
1731ac_fn_c_check_func ()
1732{
1733  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1734  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1735$as_echo_n "checking for $2... " >&6; }
1736if eval \${$3+:} false; then :
1737  $as_echo_n "(cached) " >&6
1738else
1739  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1740/* end confdefs.h.  */
1741/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1742   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1743#define $2 innocuous_$2
1744
1745/* System header to define __stub macros and hopefully few prototypes,
1746    which can conflict with char $2 (); below.
1747    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1748    <limits.h> exists even on freestanding compilers.  */
1749
1750#ifdef __STDC__
1751# include <limits.h>
1752#else
1753# include <assert.h>
1754#endif
1755
1756#undef $2
1757
1758/* Override any GCC internal prototype to avoid an error.
1759   Use char because int might match the return type of a GCC
1760   builtin and then its argument prototype would still apply.  */
1761#ifdef __cplusplus
1762extern "C"
1763#endif
1764char $2 ();
1765/* The GNU C library defines this for functions which it implements
1766    to always fail with ENOSYS.  Some functions are actually named
1767    something starting with __ and the normal name is an alias.  */
1768#if defined __stub_$2 || defined __stub___$2
1769choke me
1770#endif
1771
1772int
1773main ()
1774{
1775return $2 ();
1776  ;
1777  return 0;
1778}
1779_ACEOF
1780if ac_fn_c_try_link "$LINENO"; then :
1781  eval "$3=yes"
1782else
1783  eval "$3=no"
1784fi
1785rm -f core conftest.err conftest.$ac_objext \
1786    conftest$ac_exeext conftest.$ac_ext
1787fi
1788eval ac_res=\$$3
1789	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1790$as_echo "$ac_res" >&6; }
1791  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1792
1793} # ac_fn_c_check_func
1794
1795# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1796# -------------------------------------------------------
1797# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1798# the include files in INCLUDES and setting the cache variable VAR
1799# accordingly.
1800ac_fn_c_check_header_mongrel ()
1801{
1802  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1803  if eval \${$3+:} false; then :
1804  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1805$as_echo_n "checking for $2... " >&6; }
1806if eval \${$3+:} false; then :
1807  $as_echo_n "(cached) " >&6
1808fi
1809eval ac_res=\$$3
1810	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1811$as_echo "$ac_res" >&6; }
1812else
1813  # Is the header compilable?
1814{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1815$as_echo_n "checking $2 usability... " >&6; }
1816cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1817/* end confdefs.h.  */
1818$4
1819#include <$2>
1820_ACEOF
1821if ac_fn_c_try_compile "$LINENO"; then :
1822  ac_header_compiler=yes
1823else
1824  ac_header_compiler=no
1825fi
1826rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1827{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1828$as_echo "$ac_header_compiler" >&6; }
1829
1830# Is the header present?
1831{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1832$as_echo_n "checking $2 presence... " >&6; }
1833cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1834/* end confdefs.h.  */
1835#include <$2>
1836_ACEOF
1837if ac_fn_c_try_cpp "$LINENO"; then :
1838  ac_header_preproc=yes
1839else
1840  ac_header_preproc=no
1841fi
1842rm -f conftest.err conftest.i conftest.$ac_ext
1843{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1844$as_echo "$ac_header_preproc" >&6; }
1845
1846# So?  What about this header?
1847case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1848  yes:no: )
1849    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1850$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1851    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1852$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1853    ;;
1854  no:yes:* )
1855    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1856$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1857    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1858$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1859    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1860$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1861    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1862$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1863    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1864$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1865( $as_echo "## ---------------------------- ##
1866## Report this to tex-k@tug.org ##
1867## ---------------------------- ##"
1868     ) | sed "s/^/$as_me: WARNING:     /" >&2
1869    ;;
1870esac
1871  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1872$as_echo_n "checking for $2... " >&6; }
1873if eval \${$3+:} false; then :
1874  $as_echo_n "(cached) " >&6
1875else
1876  eval "$3=\$ac_header_compiler"
1877fi
1878eval ac_res=\$$3
1879	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1880$as_echo "$ac_res" >&6; }
1881fi
1882  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1883
1884} # ac_fn_c_check_header_mongrel
1885
1886# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1887# -------------------------------------------
1888# Tests whether TYPE exists after having included INCLUDES, setting cache
1889# variable VAR accordingly.
1890ac_fn_c_check_type ()
1891{
1892  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1893  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1894$as_echo_n "checking for $2... " >&6; }
1895if eval \${$3+:} false; then :
1896  $as_echo_n "(cached) " >&6
1897else
1898  eval "$3=no"
1899  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1900/* end confdefs.h.  */
1901$4
1902int
1903main ()
1904{
1905if (sizeof ($2))
1906	 return 0;
1907  ;
1908  return 0;
1909}
1910_ACEOF
1911if ac_fn_c_try_compile "$LINENO"; then :
1912  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1913/* end confdefs.h.  */
1914$4
1915int
1916main ()
1917{
1918if (sizeof (($2)))
1919	    return 0;
1920  ;
1921  return 0;
1922}
1923_ACEOF
1924if ac_fn_c_try_compile "$LINENO"; then :
1925
1926else
1927  eval "$3=yes"
1928fi
1929rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1930fi
1931rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1932fi
1933eval ac_res=\$$3
1934	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1935$as_echo "$ac_res" >&6; }
1936  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1937
1938} # ac_fn_c_check_type
1939
1940# ac_fn_c_find_intX_t LINENO BITS VAR
1941# -----------------------------------
1942# Finds a signed integer type with width BITS, setting cache variable VAR
1943# accordingly.
1944ac_fn_c_find_intX_t ()
1945{
1946  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1947  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
1948$as_echo_n "checking for int$2_t... " >&6; }
1949if eval \${$3+:} false; then :
1950  $as_echo_n "(cached) " >&6
1951else
1952  eval "$3=no"
1953     # Order is important - never check a type that is potentially smaller
1954     # than half of the expected target width.
1955     for ac_type in int$2_t 'int' 'long int' \
1956	 'long long int' 'short int' 'signed char'; do
1957       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1958/* end confdefs.h.  */
1959$ac_includes_default
1960	     enum { N = $2 / 2 - 1 };
1961int
1962main ()
1963{
1964static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
1965test_array [0] = 0;
1966return test_array [0];
1967
1968  ;
1969  return 0;
1970}
1971_ACEOF
1972if ac_fn_c_try_compile "$LINENO"; then :
1973  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1974/* end confdefs.h.  */
1975$ac_includes_default
1976	        enum { N = $2 / 2 - 1 };
1977int
1978main ()
1979{
1980static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
1981		 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
1982test_array [0] = 0;
1983return test_array [0];
1984
1985  ;
1986  return 0;
1987}
1988_ACEOF
1989if ac_fn_c_try_compile "$LINENO"; then :
1990
1991else
1992  case $ac_type in #(
1993  int$2_t) :
1994    eval "$3=yes" ;; #(
1995  *) :
1996    eval "$3=\$ac_type" ;;
1997esac
1998fi
1999rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2000fi
2001rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2002       if eval test \"x\$"$3"\" = x"no"; then :
2003
2004else
2005  break
2006fi
2007     done
2008fi
2009eval ac_res=\$$3
2010	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2011$as_echo "$ac_res" >&6; }
2012  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2013
2014} # ac_fn_c_find_intX_t
2015
2016# ac_fn_c_find_uintX_t LINENO BITS VAR
2017# ------------------------------------
2018# Finds an unsigned integer type with width BITS, setting cache variable VAR
2019# accordingly.
2020ac_fn_c_find_uintX_t ()
2021{
2022  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2023  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
2024$as_echo_n "checking for uint$2_t... " >&6; }
2025if eval \${$3+:} false; then :
2026  $as_echo_n "(cached) " >&6
2027else
2028  eval "$3=no"
2029     # Order is important - never check a type that is potentially smaller
2030     # than half of the expected target width.
2031     for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
2032	 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
2033       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2034/* end confdefs.h.  */
2035$ac_includes_default
2036int
2037main ()
2038{
2039static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
2040test_array [0] = 0;
2041return test_array [0];
2042
2043  ;
2044  return 0;
2045}
2046_ACEOF
2047if ac_fn_c_try_compile "$LINENO"; then :
2048  case $ac_type in #(
2049  uint$2_t) :
2050    eval "$3=yes" ;; #(
2051  *) :
2052    eval "$3=\$ac_type" ;;
2053esac
2054fi
2055rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2056       if eval test \"x\$"$3"\" = x"no"; then :
2057
2058else
2059  break
2060fi
2061     done
2062fi
2063eval ac_res=\$$3
2064	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2065$as_echo "$ac_res" >&6; }
2066  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2067
2068} # ac_fn_c_find_uintX_t
2069
2070# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2071# ----------------------------------------------------
2072# Tries to find if the field MEMBER exists in type AGGR, after including
2073# INCLUDES, setting cache variable VAR accordingly.
2074ac_fn_c_check_member ()
2075{
2076  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2077  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2078$as_echo_n "checking for $2.$3... " >&6; }
2079if eval \${$4+:} false; then :
2080  $as_echo_n "(cached) " >&6
2081else
2082  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2083/* end confdefs.h.  */
2084$5
2085int
2086main ()
2087{
2088static $2 ac_aggr;
2089if (ac_aggr.$3)
2090return 0;
2091  ;
2092  return 0;
2093}
2094_ACEOF
2095if ac_fn_c_try_compile "$LINENO"; then :
2096  eval "$4=yes"
2097else
2098  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2099/* end confdefs.h.  */
2100$5
2101int
2102main ()
2103{
2104static $2 ac_aggr;
2105if (sizeof ac_aggr.$3)
2106return 0;
2107  ;
2108  return 0;
2109}
2110_ACEOF
2111if ac_fn_c_try_compile "$LINENO"; then :
2112  eval "$4=yes"
2113else
2114  eval "$4=no"
2115fi
2116rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2117fi
2118rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2119fi
2120eval ac_res=\$$4
2121	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2122$as_echo "$ac_res" >&6; }
2123  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2124
2125} # ac_fn_c_check_member
2126
2127# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2128# --------------------------------------------
2129# Tries to find the compile-time value of EXPR in a program that includes
2130# INCLUDES, setting VAR accordingly. Returns whether the value could be
2131# computed
2132ac_fn_c_compute_int ()
2133{
2134  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2135  if test "$cross_compiling" = yes; then
2136    # Depending upon the size, compute the lo and hi bounds.
2137cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2138/* end confdefs.h.  */
2139$4
2140int
2141main ()
2142{
2143static int test_array [1 - 2 * !(($2) >= 0)];
2144test_array [0] = 0;
2145return test_array [0];
2146
2147  ;
2148  return 0;
2149}
2150_ACEOF
2151if ac_fn_c_try_compile "$LINENO"; then :
2152  ac_lo=0 ac_mid=0
2153  while :; do
2154    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2155/* end confdefs.h.  */
2156$4
2157int
2158main ()
2159{
2160static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2161test_array [0] = 0;
2162return test_array [0];
2163
2164  ;
2165  return 0;
2166}
2167_ACEOF
2168if ac_fn_c_try_compile "$LINENO"; then :
2169  ac_hi=$ac_mid; break
2170else
2171  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2172			if test $ac_lo -le $ac_mid; then
2173			  ac_lo= ac_hi=
2174			  break
2175			fi
2176			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2177fi
2178rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2179  done
2180else
2181  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2182/* end confdefs.h.  */
2183$4
2184int
2185main ()
2186{
2187static int test_array [1 - 2 * !(($2) < 0)];
2188test_array [0] = 0;
2189return test_array [0];
2190
2191  ;
2192  return 0;
2193}
2194_ACEOF
2195if ac_fn_c_try_compile "$LINENO"; then :
2196  ac_hi=-1 ac_mid=-1
2197  while :; do
2198    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2199/* end confdefs.h.  */
2200$4
2201int
2202main ()
2203{
2204static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2205test_array [0] = 0;
2206return test_array [0];
2207
2208  ;
2209  return 0;
2210}
2211_ACEOF
2212if ac_fn_c_try_compile "$LINENO"; then :
2213  ac_lo=$ac_mid; break
2214else
2215  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2216			if test $ac_mid -le $ac_hi; then
2217			  ac_lo= ac_hi=
2218			  break
2219			fi
2220			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2221fi
2222rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2223  done
2224else
2225  ac_lo= ac_hi=
2226fi
2227rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2228fi
2229rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2230# Binary search between lo and hi bounds.
2231while test "x$ac_lo" != "x$ac_hi"; do
2232  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2233  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2234/* end confdefs.h.  */
2235$4
2236int
2237main ()
2238{
2239static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2240test_array [0] = 0;
2241return test_array [0];
2242
2243  ;
2244  return 0;
2245}
2246_ACEOF
2247if ac_fn_c_try_compile "$LINENO"; then :
2248  ac_hi=$ac_mid
2249else
2250  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2251fi
2252rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2253done
2254case $ac_lo in #((
2255?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2256'') ac_retval=1 ;;
2257esac
2258  else
2259    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2260/* end confdefs.h.  */
2261$4
2262static long int longval () { return $2; }
2263static unsigned long int ulongval () { return $2; }
2264#include <stdio.h>
2265#include <stdlib.h>
2266int
2267main ()
2268{
2269
2270  FILE *f = fopen ("conftest.val", "w");
2271  if (! f)
2272    return 1;
2273  if (($2) < 0)
2274    {
2275      long int i = longval ();
2276      if (i != ($2))
2277	return 1;
2278      fprintf (f, "%ld", i);
2279    }
2280  else
2281    {
2282      unsigned long int i = ulongval ();
2283      if (i != ($2))
2284	return 1;
2285      fprintf (f, "%lu", i);
2286    }
2287  /* Do not output a trailing newline, as this causes \r\n confusion
2288     on some platforms.  */
2289  return ferror (f) || fclose (f) != 0;
2290
2291  ;
2292  return 0;
2293}
2294_ACEOF
2295if ac_fn_c_try_run "$LINENO"; then :
2296  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2297else
2298  ac_retval=1
2299fi
2300rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2301  conftest.$ac_objext conftest.beam conftest.$ac_ext
2302rm -f conftest.val
2303
2304  fi
2305  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2306  as_fn_set_status $ac_retval
2307
2308} # ac_fn_c_compute_int
2309cat >config.log <<_ACEOF
2310This file contains any messages produced by compilers while
2311running configure, to aid debugging if configure makes a mistake.
2312
2313It was created by ttfdump (TeX Live) $as_me 0.5.5, which was
2314generated by GNU Autoconf 2.69.  Invocation command line was
2315
2316  $ $0 $@
2317
2318_ACEOF
2319exec 5>>config.log
2320{
2321cat <<_ASUNAME
2322## --------- ##
2323## Platform. ##
2324## --------- ##
2325
2326hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2327uname -m = `(uname -m) 2>/dev/null || echo unknown`
2328uname -r = `(uname -r) 2>/dev/null || echo unknown`
2329uname -s = `(uname -s) 2>/dev/null || echo unknown`
2330uname -v = `(uname -v) 2>/dev/null || echo unknown`
2331
2332/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2333/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2334
2335/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2336/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2337/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2338/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2339/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2340/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2341/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2342
2343_ASUNAME
2344
2345as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2346for as_dir in $PATH
2347do
2348  IFS=$as_save_IFS
2349  test -z "$as_dir" && as_dir=.
2350    $as_echo "PATH: $as_dir"
2351  done
2352IFS=$as_save_IFS
2353
2354} >&5
2355
2356cat >&5 <<_ACEOF
2357
2358
2359## ----------- ##
2360## Core tests. ##
2361## ----------- ##
2362
2363_ACEOF
2364
2365
2366# Keep a trace of the command line.
2367# Strip out --no-create and --no-recursion so they do not pile up.
2368# Strip out --silent because we don't want to record it for future runs.
2369# Also quote any args containing shell meta-characters.
2370# Make two passes to allow for proper duplicate-argument suppression.
2371ac_configure_args=
2372ac_configure_args0=
2373ac_configure_args1=
2374ac_must_keep_next=false
2375for ac_pass in 1 2
2376do
2377  for ac_arg
2378  do
2379    case $ac_arg in
2380    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2381    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2382    | -silent | --silent | --silen | --sile | --sil)
2383      continue ;;
2384    *\'*)
2385      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2386    esac
2387    case $ac_pass in
2388    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2389    2)
2390      as_fn_append ac_configure_args1 " '$ac_arg'"
2391      if test $ac_must_keep_next = true; then
2392	ac_must_keep_next=false # Got value, back to normal.
2393      else
2394	case $ac_arg in
2395	  *=* | --config-cache | -C | -disable-* | --disable-* \
2396	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2397	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2398	  | -with-* | --with-* | -without-* | --without-* | --x)
2399	    case "$ac_configure_args0 " in
2400	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2401	    esac
2402	    ;;
2403	  -* ) ac_must_keep_next=true ;;
2404	esac
2405      fi
2406      as_fn_append ac_configure_args " '$ac_arg'"
2407      ;;
2408    esac
2409  done
2410done
2411{ ac_configure_args0=; unset ac_configure_args0;}
2412{ ac_configure_args1=; unset ac_configure_args1;}
2413
2414# When interrupted or exit'd, cleanup temporary files, and complete
2415# config.log.  We remove comments because anyway the quotes in there
2416# would cause problems or look ugly.
2417# WARNING: Use '\'' to represent an apostrophe within the trap.
2418# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2419trap 'exit_status=$?
2420  # Save into config.log some information that might help in debugging.
2421  {
2422    echo
2423
2424    $as_echo "## ---------------- ##
2425## Cache variables. ##
2426## ---------------- ##"
2427    echo
2428    # The following way of writing the cache mishandles newlines in values,
2429(
2430  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2431    eval ac_val=\$$ac_var
2432    case $ac_val in #(
2433    *${as_nl}*)
2434      case $ac_var in #(
2435      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2436$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2437      esac
2438      case $ac_var in #(
2439      _ | IFS | as_nl) ;; #(
2440      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2441      *) { eval $ac_var=; unset $ac_var;} ;;
2442      esac ;;
2443    esac
2444  done
2445  (set) 2>&1 |
2446    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2447    *${as_nl}ac_space=\ *)
2448      sed -n \
2449	"s/'\''/'\''\\\\'\'''\''/g;
2450	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2451      ;; #(
2452    *)
2453      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2454      ;;
2455    esac |
2456    sort
2457)
2458    echo
2459
2460    $as_echo "## ----------------- ##
2461## Output variables. ##
2462## ----------------- ##"
2463    echo
2464    for ac_var in $ac_subst_vars
2465    do
2466      eval ac_val=\$$ac_var
2467      case $ac_val in
2468      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2469      esac
2470      $as_echo "$ac_var='\''$ac_val'\''"
2471    done | sort
2472    echo
2473
2474    if test -n "$ac_subst_files"; then
2475      $as_echo "## ------------------- ##
2476## File substitutions. ##
2477## ------------------- ##"
2478      echo
2479      for ac_var in $ac_subst_files
2480      do
2481	eval ac_val=\$$ac_var
2482	case $ac_val in
2483	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2484	esac
2485	$as_echo "$ac_var='\''$ac_val'\''"
2486      done | sort
2487      echo
2488    fi
2489
2490    if test -s confdefs.h; then
2491      $as_echo "## ----------- ##
2492## confdefs.h. ##
2493## ----------- ##"
2494      echo
2495      cat confdefs.h
2496      echo
2497    fi
2498    test "$ac_signal" != 0 &&
2499      $as_echo "$as_me: caught signal $ac_signal"
2500    $as_echo "$as_me: exit $exit_status"
2501  } >&5
2502  rm -f core *.core core.conftest.* &&
2503    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2504    exit $exit_status
2505' 0
2506for ac_signal in 1 2 13 15; do
2507  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2508done
2509ac_signal=0
2510
2511# confdefs.h avoids OS command line length limits that DEFS can exceed.
2512rm -f -r conftest* confdefs.h
2513
2514$as_echo "/* confdefs.h */" > confdefs.h
2515
2516# Predefined preprocessor variables.
2517
2518cat >>confdefs.h <<_ACEOF
2519#define PACKAGE_NAME "$PACKAGE_NAME"
2520_ACEOF
2521
2522cat >>confdefs.h <<_ACEOF
2523#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2524_ACEOF
2525
2526cat >>confdefs.h <<_ACEOF
2527#define PACKAGE_VERSION "$PACKAGE_VERSION"
2528_ACEOF
2529
2530cat >>confdefs.h <<_ACEOF
2531#define PACKAGE_STRING "$PACKAGE_STRING"
2532_ACEOF
2533
2534cat >>confdefs.h <<_ACEOF
2535#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2536_ACEOF
2537
2538cat >>confdefs.h <<_ACEOF
2539#define PACKAGE_URL "$PACKAGE_URL"
2540_ACEOF
2541
2542
2543# Let the site file select an alternate cache file if it wants to.
2544# Prefer an explicitly selected file to automatically selected ones.
2545ac_site_file1=NONE
2546ac_site_file2=NONE
2547if test -n "$CONFIG_SITE"; then
2548  # We do not want a PATH search for config.site.
2549  case $CONFIG_SITE in #((
2550    -*)  ac_site_file1=./$CONFIG_SITE;;
2551    */*) ac_site_file1=$CONFIG_SITE;;
2552    *)   ac_site_file1=./$CONFIG_SITE;;
2553  esac
2554elif test "x$prefix" != xNONE; then
2555  ac_site_file1=$prefix/share/config.site
2556  ac_site_file2=$prefix/etc/config.site
2557else
2558  ac_site_file1=$ac_default_prefix/share/config.site
2559  ac_site_file2=$ac_default_prefix/etc/config.site
2560fi
2561for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2562do
2563  test "x$ac_site_file" = xNONE && continue
2564  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2565    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2566$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2567    sed 's/^/| /' "$ac_site_file" >&5
2568    . "$ac_site_file" \
2569      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2570$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2571as_fn_error $? "failed to load site script $ac_site_file
2572See \`config.log' for more details" "$LINENO" 5; }
2573  fi
2574done
2575
2576if test -r "$cache_file"; then
2577  # Some versions of bash will fail to source /dev/null (special files
2578  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2579  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2580    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2581$as_echo "$as_me: loading cache $cache_file" >&6;}
2582    case $cache_file in
2583      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2584      *)                      . "./$cache_file";;
2585    esac
2586  fi
2587else
2588  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2589$as_echo "$as_me: creating cache $cache_file" >&6;}
2590  >$cache_file
2591fi
2592
2593# Check that the precious variables saved in the cache have kept the same
2594# value.
2595ac_cache_corrupted=false
2596for ac_var in $ac_precious_vars; do
2597  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2598  eval ac_new_set=\$ac_env_${ac_var}_set
2599  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2600  eval ac_new_val=\$ac_env_${ac_var}_value
2601  case $ac_old_set,$ac_new_set in
2602    set,)
2603      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2604$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2605      ac_cache_corrupted=: ;;
2606    ,set)
2607      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2608$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2609      ac_cache_corrupted=: ;;
2610    ,);;
2611    *)
2612      if test "x$ac_old_val" != "x$ac_new_val"; then
2613	# differences in whitespace do not lead to failure.
2614	ac_old_val_w=`echo x $ac_old_val`
2615	ac_new_val_w=`echo x $ac_new_val`
2616	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2617	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2618$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2619	  ac_cache_corrupted=:
2620	else
2621	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2622$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2623	  eval $ac_var=\$ac_old_val
2624	fi
2625	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2626$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2627	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2628$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2629      fi;;
2630  esac
2631  # Pass precious variables to config.status.
2632  if test "$ac_new_set" = set; then
2633    case $ac_new_val in
2634    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2635    *) ac_arg=$ac_var=$ac_new_val ;;
2636    esac
2637    case " $ac_configure_args " in
2638      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2639      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2640    esac
2641  fi
2642done
2643if $ac_cache_corrupted; then
2644  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2645$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2646  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2647$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2648  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2649fi
2650## -------------------- ##
2651## Main body of script. ##
2652## -------------------- ##
2653
2654ac_ext=c
2655ac_cpp='$CPP $CPPFLAGS'
2656ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2657ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2658ac_compiler_gnu=$ac_cv_c_compiler_gnu
2659
2660
2661
2662
2663ac_aux_dir=
2664for ac_dir in ../../build-aux "$srcdir"/../../build-aux; do
2665  if test -f "$ac_dir/install-sh"; then
2666    ac_aux_dir=$ac_dir
2667    ac_install_sh="$ac_aux_dir/install-sh -c"
2668    break
2669  elif test -f "$ac_dir/install.sh"; then
2670    ac_aux_dir=$ac_dir
2671    ac_install_sh="$ac_aux_dir/install.sh -c"
2672    break
2673  elif test -f "$ac_dir/shtool"; then
2674    ac_aux_dir=$ac_dir
2675    ac_install_sh="$ac_aux_dir/shtool install -c"
2676    break
2677  fi
2678done
2679if test -z "$ac_aux_dir"; then
2680  as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../../build-aux \"$srcdir\"/../../build-aux" "$LINENO" 5
2681fi
2682
2683# These three variables are undocumented and unsupported,
2684# and are intended to be withdrawn in a future Autoconf release.
2685# They can cause serious problems if a builder's source tree is in a directory
2686# whose full name contains unusual characters.
2687ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2688ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2689ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2690
2691
2692
2693
2694am__api_version='1.15'
2695
2696# Find a good install program.  We prefer a C program (faster),
2697# so one script is as good as another.  But avoid the broken or
2698# incompatible versions:
2699# SysV /etc/install, /usr/sbin/install
2700# SunOS /usr/etc/install
2701# IRIX /sbin/install
2702# AIX /bin/install
2703# AmigaOS /C/install, which installs bootblocks on floppy discs
2704# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2705# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2706# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2707# OS/2's system install, which has a completely different semantic
2708# ./install, which can be erroneously created by make from ./install.sh.
2709# Reject install programs that cannot install multiple files.
2710{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2711$as_echo_n "checking for a BSD-compatible install... " >&6; }
2712if test -z "$INSTALL"; then
2713if ${ac_cv_path_install+:} false; then :
2714  $as_echo_n "(cached) " >&6
2715else
2716  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2717for as_dir in $PATH
2718do
2719  IFS=$as_save_IFS
2720  test -z "$as_dir" && as_dir=.
2721    # Account for people who put trailing slashes in PATH elements.
2722case $as_dir/ in #((
2723  ./ | .// | /[cC]/* | \
2724  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2725  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2726  /usr/ucb/* ) ;;
2727  *)
2728    # OSF1 and SCO ODT 3.0 have their own names for install.
2729    # Don't use installbsd from OSF since it installs stuff as root
2730    # by default.
2731    for ac_prog in ginstall scoinst install; do
2732      for ac_exec_ext in '' $ac_executable_extensions; do
2733	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2734	  if test $ac_prog = install &&
2735	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2736	    # AIX install.  It has an incompatible calling convention.
2737	    :
2738	  elif test $ac_prog = install &&
2739	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2740	    # program-specific install script used by HP pwplus--don't use.
2741	    :
2742	  else
2743	    rm -rf conftest.one conftest.two conftest.dir
2744	    echo one > conftest.one
2745	    echo two > conftest.two
2746	    mkdir conftest.dir
2747	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2748	      test -s conftest.one && test -s conftest.two &&
2749	      test -s conftest.dir/conftest.one &&
2750	      test -s conftest.dir/conftest.two
2751	    then
2752	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2753	      break 3
2754	    fi
2755	  fi
2756	fi
2757      done
2758    done
2759    ;;
2760esac
2761
2762  done
2763IFS=$as_save_IFS
2764
2765rm -rf conftest.one conftest.two conftest.dir
2766
2767fi
2768  if test "${ac_cv_path_install+set}" = set; then
2769    INSTALL=$ac_cv_path_install
2770  else
2771    # As a last resort, use the slow shell script.  Don't cache a
2772    # value for INSTALL within a source directory, because that will
2773    # break other packages using the cache if that directory is
2774    # removed, or if the value is a relative name.
2775    INSTALL=$ac_install_sh
2776  fi
2777fi
2778{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2779$as_echo "$INSTALL" >&6; }
2780
2781# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2782# It thinks the first close brace ends the variable substitution.
2783test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2784
2785test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2786
2787test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2788
2789{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2790$as_echo_n "checking whether build environment is sane... " >&6; }
2791# Reject unsafe characters in $srcdir or the absolute working directory
2792# name.  Accept space and tab only in the latter.
2793am_lf='
2794'
2795case `pwd` in
2796  *[\\\"\#\$\&\'\`$am_lf]*)
2797    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2798esac
2799case $srcdir in
2800  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2801    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2802esac
2803
2804# Do 'set' in a subshell so we don't clobber the current shell's
2805# arguments.  Must try -L first in case configure is actually a
2806# symlink; some systems play weird games with the mod time of symlinks
2807# (eg FreeBSD returns the mod time of the symlink's containing
2808# directory).
2809if (
2810   am_has_slept=no
2811   for am_try in 1 2; do
2812     echo "timestamp, slept: $am_has_slept" > conftest.file
2813     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2814     if test "$*" = "X"; then
2815	# -L didn't work.
2816	set X `ls -t "$srcdir/configure" conftest.file`
2817     fi
2818     if test "$*" != "X $srcdir/configure conftest.file" \
2819	&& test "$*" != "X conftest.file $srcdir/configure"; then
2820
2821	# If neither matched, then we have a broken ls.  This can happen
2822	# if, for instance, CONFIG_SHELL is bash and it inherits a
2823	# broken ls alias from the environment.  This has actually
2824	# happened.  Such a system could not be considered "sane".
2825	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2826  alias in your environment" "$LINENO" 5
2827     fi
2828     if test "$2" = conftest.file || test $am_try -eq 2; then
2829       break
2830     fi
2831     # Just in case.
2832     sleep 1
2833     am_has_slept=yes
2834   done
2835   test "$2" = conftest.file
2836   )
2837then
2838   # Ok.
2839   :
2840else
2841   as_fn_error $? "newly created file is older than distributed files!
2842Check your system clock" "$LINENO" 5
2843fi
2844{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2845$as_echo "yes" >&6; }
2846# If we didn't sleep, we still need to ensure time stamps of config.status and
2847# generated files are strictly newer.
2848am_sleep_pid=
2849if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2850  ( sleep 1 ) &
2851  am_sleep_pid=$!
2852fi
2853
2854rm -f conftest.file
2855
2856test "$program_prefix" != NONE &&
2857  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2858# Use a double $ so make ignores it.
2859test "$program_suffix" != NONE &&
2860  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2861# Double any \ or $.
2862# By default was `s,x,x', remove it if useless.
2863ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2864program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2865
2866# Expand $ac_aux_dir to an absolute path.
2867am_aux_dir=`cd "$ac_aux_dir" && pwd`
2868
2869if test x"${MISSING+set}" != xset; then
2870  case $am_aux_dir in
2871  *\ * | *\	*)
2872    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2873  *)
2874    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2875  esac
2876fi
2877# Use eval to expand $SHELL
2878if eval "$MISSING --is-lightweight"; then
2879  am_missing_run="$MISSING "
2880else
2881  am_missing_run=
2882  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2883$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2884fi
2885
2886if test x"${install_sh+set}" != xset; then
2887  case $am_aux_dir in
2888  *\ * | *\	*)
2889    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2890  *)
2891    install_sh="\${SHELL} $am_aux_dir/install-sh"
2892  esac
2893fi
2894
2895# Installed binaries are usually stripped using 'strip' when the user
2896# run "make install-strip".  However 'strip' might not be the right
2897# tool to use in cross-compilation environments, therefore Automake
2898# will honor the 'STRIP' environment variable to overrule this program.
2899if test "$cross_compiling" != no; then
2900  if test -n "$ac_tool_prefix"; then
2901  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2902set dummy ${ac_tool_prefix}strip; ac_word=$2
2903{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2904$as_echo_n "checking for $ac_word... " >&6; }
2905if ${ac_cv_prog_STRIP+:} false; then :
2906  $as_echo_n "(cached) " >&6
2907else
2908  if test -n "$STRIP"; then
2909  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2910else
2911as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2912for as_dir in $PATH
2913do
2914  IFS=$as_save_IFS
2915  test -z "$as_dir" && as_dir=.
2916    for ac_exec_ext in '' $ac_executable_extensions; do
2917  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2918    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2919    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2920    break 2
2921  fi
2922done
2923  done
2924IFS=$as_save_IFS
2925
2926fi
2927fi
2928STRIP=$ac_cv_prog_STRIP
2929if test -n "$STRIP"; then
2930  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2931$as_echo "$STRIP" >&6; }
2932else
2933  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2934$as_echo "no" >&6; }
2935fi
2936
2937
2938fi
2939if test -z "$ac_cv_prog_STRIP"; then
2940  ac_ct_STRIP=$STRIP
2941  # Extract the first word of "strip", so it can be a program name with args.
2942set dummy strip; ac_word=$2
2943{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2944$as_echo_n "checking for $ac_word... " >&6; }
2945if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2946  $as_echo_n "(cached) " >&6
2947else
2948  if test -n "$ac_ct_STRIP"; then
2949  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2950else
2951as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2952for as_dir in $PATH
2953do
2954  IFS=$as_save_IFS
2955  test -z "$as_dir" && as_dir=.
2956    for ac_exec_ext in '' $ac_executable_extensions; do
2957  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2958    ac_cv_prog_ac_ct_STRIP="strip"
2959    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2960    break 2
2961  fi
2962done
2963  done
2964IFS=$as_save_IFS
2965
2966fi
2967fi
2968ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2969if test -n "$ac_ct_STRIP"; then
2970  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2971$as_echo "$ac_ct_STRIP" >&6; }
2972else
2973  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2974$as_echo "no" >&6; }
2975fi
2976
2977  if test "x$ac_ct_STRIP" = x; then
2978    STRIP=":"
2979  else
2980    case $cross_compiling:$ac_tool_warned in
2981yes:)
2982{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2983$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2984ac_tool_warned=yes ;;
2985esac
2986    STRIP=$ac_ct_STRIP
2987  fi
2988else
2989  STRIP="$ac_cv_prog_STRIP"
2990fi
2991
2992fi
2993INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2994
2995{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2996$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2997if test -z "$MKDIR_P"; then
2998  if ${ac_cv_path_mkdir+:} false; then :
2999  $as_echo_n "(cached) " >&6
3000else
3001  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3002for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3003do
3004  IFS=$as_save_IFS
3005  test -z "$as_dir" && as_dir=.
3006    for ac_prog in mkdir gmkdir; do
3007	 for ac_exec_ext in '' $ac_executable_extensions; do
3008	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3009	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3010	     'mkdir (GNU coreutils) '* | \
3011	     'mkdir (coreutils) '* | \
3012	     'mkdir (fileutils) '4.1*)
3013	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3014	       break 3;;
3015	   esac
3016	 done
3017       done
3018  done
3019IFS=$as_save_IFS
3020
3021fi
3022
3023  test -d ./--version && rmdir ./--version
3024  if test "${ac_cv_path_mkdir+set}" = set; then
3025    MKDIR_P="$ac_cv_path_mkdir -p"
3026  else
3027    # As a last resort, use the slow shell script.  Don't cache a
3028    # value for MKDIR_P within a source directory, because that will
3029    # break other packages using the cache if that directory is
3030    # removed, or if the value is a relative name.
3031    MKDIR_P="$ac_install_sh -d"
3032  fi
3033fi
3034{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3035$as_echo "$MKDIR_P" >&6; }
3036
3037for ac_prog in gawk mawk nawk awk
3038do
3039  # Extract the first word of "$ac_prog", so it can be a program name with args.
3040set dummy $ac_prog; ac_word=$2
3041{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3042$as_echo_n "checking for $ac_word... " >&6; }
3043if ${ac_cv_prog_AWK+:} false; then :
3044  $as_echo_n "(cached) " >&6
3045else
3046  if test -n "$AWK"; then
3047  ac_cv_prog_AWK="$AWK" # Let the user override the test.
3048else
3049as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3050for as_dir in $PATH
3051do
3052  IFS=$as_save_IFS
3053  test -z "$as_dir" && as_dir=.
3054    for ac_exec_ext in '' $ac_executable_extensions; do
3055  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3056    ac_cv_prog_AWK="$ac_prog"
3057    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3058    break 2
3059  fi
3060done
3061  done
3062IFS=$as_save_IFS
3063
3064fi
3065fi
3066AWK=$ac_cv_prog_AWK
3067if test -n "$AWK"; then
3068  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3069$as_echo "$AWK" >&6; }
3070else
3071  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3072$as_echo "no" >&6; }
3073fi
3074
3075
3076  test -n "$AWK" && break
3077done
3078
3079{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3080$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3081set x ${MAKE-make}
3082ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3083if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3084  $as_echo_n "(cached) " >&6
3085else
3086  cat >conftest.make <<\_ACEOF
3087SHELL = /bin/sh
3088all:
3089	@echo '@@@%%%=$(MAKE)=@@@%%%'
3090_ACEOF
3091# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3092case `${MAKE-make} -f conftest.make 2>/dev/null` in
3093  *@@@%%%=?*=@@@%%%*)
3094    eval ac_cv_prog_make_${ac_make}_set=yes;;
3095  *)
3096    eval ac_cv_prog_make_${ac_make}_set=no;;
3097esac
3098rm -f conftest.make
3099fi
3100if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3101  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3102$as_echo "yes" >&6; }
3103  SET_MAKE=
3104else
3105  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3106$as_echo "no" >&6; }
3107  SET_MAKE="MAKE=${MAKE-make}"
3108fi
3109
3110rm -rf .tst 2>/dev/null
3111mkdir .tst 2>/dev/null
3112if test -d .tst; then
3113  am__leading_dot=.
3114else
3115  am__leading_dot=_
3116fi
3117rmdir .tst 2>/dev/null
3118
3119# Check whether --enable-silent-rules was given.
3120if test "${enable_silent_rules+set}" = set; then :
3121  enableval=$enable_silent_rules;
3122fi
3123
3124case $enable_silent_rules in # (((
3125  yes) AM_DEFAULT_VERBOSITY=0;;
3126   no) AM_DEFAULT_VERBOSITY=1;;
3127    *) AM_DEFAULT_VERBOSITY=1;;
3128esac
3129am_make=${MAKE-make}
3130{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3131$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3132if ${am_cv_make_support_nested_variables+:} false; then :
3133  $as_echo_n "(cached) " >&6
3134else
3135  if $as_echo 'TRUE=$(BAR$(V))
3136BAR0=false
3137BAR1=true
3138V=1
3139am__doit:
3140	@$(TRUE)
3141.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3142  am_cv_make_support_nested_variables=yes
3143else
3144  am_cv_make_support_nested_variables=no
3145fi
3146fi
3147{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3148$as_echo "$am_cv_make_support_nested_variables" >&6; }
3149if test $am_cv_make_support_nested_variables = yes; then
3150    AM_V='$(V)'
3151  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3152else
3153  AM_V=$AM_DEFAULT_VERBOSITY
3154  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3155fi
3156AM_BACKSLASH='\'
3157
3158DEPDIR="${am__leading_dot}deps"
3159
3160ac_config_commands="$ac_config_commands depfiles"
3161
3162
3163am_make=${MAKE-make}
3164cat > confinc << 'END'
3165am__doit:
3166	@echo this is the am__doit target
3167.PHONY: am__doit
3168END
3169# If we don't find an include directive, just comment out the code.
3170{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3171$as_echo_n "checking for style of include used by $am_make... " >&6; }
3172am__include="#"
3173am__quote=
3174_am_result=none
3175# First try GNU make style include.
3176echo "include confinc" > confmf
3177# Ignore all kinds of additional output from 'make'.
3178case `$am_make -s -f confmf 2> /dev/null` in #(
3179*the\ am__doit\ target*)
3180  am__include=include
3181  am__quote=
3182  _am_result=GNU
3183  ;;
3184esac
3185# Now try BSD make style include.
3186if test "$am__include" = "#"; then
3187   echo '.include "confinc"' > confmf
3188   case `$am_make -s -f confmf 2> /dev/null` in #(
3189   *the\ am__doit\ target*)
3190     am__include=.include
3191     am__quote="\""
3192     _am_result=BSD
3193     ;;
3194   esac
3195fi
3196
3197
3198{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3199$as_echo "$_am_result" >&6; }
3200rm -f confinc confmf
3201
3202# Check whether --enable-dependency-tracking was given.
3203if test "${enable_dependency_tracking+set}" = set; then :
3204  enableval=$enable_dependency_tracking;
3205fi
3206
3207if test "x$enable_dependency_tracking" != xno; then
3208  am_depcomp="$ac_aux_dir/depcomp"
3209  AMDEPBACKSLASH='\'
3210  am__nodep='_no'
3211fi
3212 if test "x$enable_dependency_tracking" != xno; then
3213  AMDEP_TRUE=
3214  AMDEP_FALSE='#'
3215else
3216  AMDEP_TRUE='#'
3217  AMDEP_FALSE=
3218fi
3219
3220
3221ac_ext=c
3222ac_cpp='$CPP $CPPFLAGS'
3223ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3224ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3225ac_compiler_gnu=$ac_cv_c_compiler_gnu
3226if test -n "$ac_tool_prefix"; then
3227  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3228set dummy ${ac_tool_prefix}gcc; ac_word=$2
3229{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3230$as_echo_n "checking for $ac_word... " >&6; }
3231if ${ac_cv_prog_CC+:} false; then :
3232  $as_echo_n "(cached) " >&6
3233else
3234  if test -n "$CC"; then
3235  ac_cv_prog_CC="$CC" # Let the user override the test.
3236else
3237as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3238for as_dir in $PATH
3239do
3240  IFS=$as_save_IFS
3241  test -z "$as_dir" && as_dir=.
3242    for ac_exec_ext in '' $ac_executable_extensions; do
3243  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3244    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3245    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3246    break 2
3247  fi
3248done
3249  done
3250IFS=$as_save_IFS
3251
3252fi
3253fi
3254CC=$ac_cv_prog_CC
3255if test -n "$CC"; then
3256  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3257$as_echo "$CC" >&6; }
3258else
3259  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3260$as_echo "no" >&6; }
3261fi
3262
3263
3264fi
3265if test -z "$ac_cv_prog_CC"; then
3266  ac_ct_CC=$CC
3267  # Extract the first word of "gcc", so it can be a program name with args.
3268set dummy gcc; ac_word=$2
3269{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3270$as_echo_n "checking for $ac_word... " >&6; }
3271if ${ac_cv_prog_ac_ct_CC+:} false; then :
3272  $as_echo_n "(cached) " >&6
3273else
3274  if test -n "$ac_ct_CC"; then
3275  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3276else
3277as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3278for as_dir in $PATH
3279do
3280  IFS=$as_save_IFS
3281  test -z "$as_dir" && as_dir=.
3282    for ac_exec_ext in '' $ac_executable_extensions; do
3283  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3284    ac_cv_prog_ac_ct_CC="gcc"
3285    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3286    break 2
3287  fi
3288done
3289  done
3290IFS=$as_save_IFS
3291
3292fi
3293fi
3294ac_ct_CC=$ac_cv_prog_ac_ct_CC
3295if test -n "$ac_ct_CC"; then
3296  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3297$as_echo "$ac_ct_CC" >&6; }
3298else
3299  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3300$as_echo "no" >&6; }
3301fi
3302
3303  if test "x$ac_ct_CC" = x; then
3304    CC=""
3305  else
3306    case $cross_compiling:$ac_tool_warned in
3307yes:)
3308{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3309$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3310ac_tool_warned=yes ;;
3311esac
3312    CC=$ac_ct_CC
3313  fi
3314else
3315  CC="$ac_cv_prog_CC"
3316fi
3317
3318if test -z "$CC"; then
3319          if test -n "$ac_tool_prefix"; then
3320    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3321set dummy ${ac_tool_prefix}cc; ac_word=$2
3322{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3323$as_echo_n "checking for $ac_word... " >&6; }
3324if ${ac_cv_prog_CC+:} false; then :
3325  $as_echo_n "(cached) " >&6
3326else
3327  if test -n "$CC"; then
3328  ac_cv_prog_CC="$CC" # Let the user override the test.
3329else
3330as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3331for as_dir in $PATH
3332do
3333  IFS=$as_save_IFS
3334  test -z "$as_dir" && as_dir=.
3335    for ac_exec_ext in '' $ac_executable_extensions; do
3336  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3337    ac_cv_prog_CC="${ac_tool_prefix}cc"
3338    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3339    break 2
3340  fi
3341done
3342  done
3343IFS=$as_save_IFS
3344
3345fi
3346fi
3347CC=$ac_cv_prog_CC
3348if test -n "$CC"; then
3349  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3350$as_echo "$CC" >&6; }
3351else
3352  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3353$as_echo "no" >&6; }
3354fi
3355
3356
3357  fi
3358fi
3359if test -z "$CC"; then
3360  # Extract the first word of "cc", so it can be a program name with args.
3361set dummy cc; ac_word=$2
3362{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3363$as_echo_n "checking for $ac_word... " >&6; }
3364if ${ac_cv_prog_CC+:} false; then :
3365  $as_echo_n "(cached) " >&6
3366else
3367  if test -n "$CC"; then
3368  ac_cv_prog_CC="$CC" # Let the user override the test.
3369else
3370  ac_prog_rejected=no
3371as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3372for as_dir in $PATH
3373do
3374  IFS=$as_save_IFS
3375  test -z "$as_dir" && as_dir=.
3376    for ac_exec_ext in '' $ac_executable_extensions; do
3377  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3378    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3379       ac_prog_rejected=yes
3380       continue
3381     fi
3382    ac_cv_prog_CC="cc"
3383    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3384    break 2
3385  fi
3386done
3387  done
3388IFS=$as_save_IFS
3389
3390if test $ac_prog_rejected = yes; then
3391  # We found a bogon in the path, so make sure we never use it.
3392  set dummy $ac_cv_prog_CC
3393  shift
3394  if test $# != 0; then
3395    # We chose a different compiler from the bogus one.
3396    # However, it has the same basename, so the bogon will be chosen
3397    # first if we set CC to just the basename; use the full file name.
3398    shift
3399    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3400  fi
3401fi
3402fi
3403fi
3404CC=$ac_cv_prog_CC
3405if test -n "$CC"; then
3406  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3407$as_echo "$CC" >&6; }
3408else
3409  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3410$as_echo "no" >&6; }
3411fi
3412
3413
3414fi
3415if test -z "$CC"; then
3416  if test -n "$ac_tool_prefix"; then
3417  for ac_prog in cl.exe
3418  do
3419    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3420set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3421{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3422$as_echo_n "checking for $ac_word... " >&6; }
3423if ${ac_cv_prog_CC+:} false; then :
3424  $as_echo_n "(cached) " >&6
3425else
3426  if test -n "$CC"; then
3427  ac_cv_prog_CC="$CC" # Let the user override the test.
3428else
3429as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3430for as_dir in $PATH
3431do
3432  IFS=$as_save_IFS
3433  test -z "$as_dir" && as_dir=.
3434    for ac_exec_ext in '' $ac_executable_extensions; do
3435  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3436    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3437    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3438    break 2
3439  fi
3440done
3441  done
3442IFS=$as_save_IFS
3443
3444fi
3445fi
3446CC=$ac_cv_prog_CC
3447if test -n "$CC"; then
3448  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3449$as_echo "$CC" >&6; }
3450else
3451  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3452$as_echo "no" >&6; }
3453fi
3454
3455
3456    test -n "$CC" && break
3457  done
3458fi
3459if test -z "$CC"; then
3460  ac_ct_CC=$CC
3461  for ac_prog in cl.exe
3462do
3463  # Extract the first word of "$ac_prog", so it can be a program name with args.
3464set dummy $ac_prog; ac_word=$2
3465{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3466$as_echo_n "checking for $ac_word... " >&6; }
3467if ${ac_cv_prog_ac_ct_CC+:} false; then :
3468  $as_echo_n "(cached) " >&6
3469else
3470  if test -n "$ac_ct_CC"; then
3471  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3472else
3473as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3474for as_dir in $PATH
3475do
3476  IFS=$as_save_IFS
3477  test -z "$as_dir" && as_dir=.
3478    for ac_exec_ext in '' $ac_executable_extensions; do
3479  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3480    ac_cv_prog_ac_ct_CC="$ac_prog"
3481    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3482    break 2
3483  fi
3484done
3485  done
3486IFS=$as_save_IFS
3487
3488fi
3489fi
3490ac_ct_CC=$ac_cv_prog_ac_ct_CC
3491if test -n "$ac_ct_CC"; then
3492  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3493$as_echo "$ac_ct_CC" >&6; }
3494else
3495  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3496$as_echo "no" >&6; }
3497fi
3498
3499
3500  test -n "$ac_ct_CC" && break
3501done
3502
3503  if test "x$ac_ct_CC" = x; then
3504    CC=""
3505  else
3506    case $cross_compiling:$ac_tool_warned in
3507yes:)
3508{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3509$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3510ac_tool_warned=yes ;;
3511esac
3512    CC=$ac_ct_CC
3513  fi
3514fi
3515
3516fi
3517
3518
3519test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3520$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3521as_fn_error $? "no acceptable C compiler found in \$PATH
3522See \`config.log' for more details" "$LINENO" 5; }
3523
3524# Provide some information about the compiler.
3525$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3526set X $ac_compile
3527ac_compiler=$2
3528for ac_option in --version -v -V -qversion; do
3529  { { ac_try="$ac_compiler $ac_option >&5"
3530case "(($ac_try" in
3531  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3532  *) ac_try_echo=$ac_try;;
3533esac
3534eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3535$as_echo "$ac_try_echo"; } >&5
3536  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3537  ac_status=$?
3538  if test -s conftest.err; then
3539    sed '10a\
3540... rest of stderr output deleted ...
3541         10q' conftest.err >conftest.er1
3542    cat conftest.er1 >&5
3543  fi
3544  rm -f conftest.er1 conftest.err
3545  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3546  test $ac_status = 0; }
3547done
3548
3549cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3550/* end confdefs.h.  */
3551
3552int
3553main ()
3554{
3555
3556  ;
3557  return 0;
3558}
3559_ACEOF
3560ac_clean_files_save=$ac_clean_files
3561ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3562# Try to create an executable without -o first, disregard a.out.
3563# It will help us diagnose broken compilers, and finding out an intuition
3564# of exeext.
3565{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3566$as_echo_n "checking whether the C compiler works... " >&6; }
3567ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3568
3569# The possible output files:
3570ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3571
3572ac_rmfiles=
3573for ac_file in $ac_files
3574do
3575  case $ac_file in
3576    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3577    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3578  esac
3579done
3580rm -f $ac_rmfiles
3581
3582if { { ac_try="$ac_link_default"
3583case "(($ac_try" in
3584  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3585  *) ac_try_echo=$ac_try;;
3586esac
3587eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3588$as_echo "$ac_try_echo"; } >&5
3589  (eval "$ac_link_default") 2>&5
3590  ac_status=$?
3591  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3592  test $ac_status = 0; }; then :
3593  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3594# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3595# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3596# so that the user can short-circuit this test for compilers unknown to
3597# Autoconf.
3598for ac_file in $ac_files ''
3599do
3600  test -f "$ac_file" || continue
3601  case $ac_file in
3602    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3603	;;
3604    [ab].out )
3605	# We found the default executable, but exeext='' is most
3606	# certainly right.
3607	break;;
3608    *.* )
3609	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3610	then :; else
3611	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3612	fi
3613	# We set ac_cv_exeext here because the later test for it is not
3614	# safe: cross compilers may not add the suffix if given an `-o'
3615	# argument, so we may need to know it at that point already.
3616	# Even if this section looks crufty: it has the advantage of
3617	# actually working.
3618	break;;
3619    * )
3620	break;;
3621  esac
3622done
3623test "$ac_cv_exeext" = no && ac_cv_exeext=
3624
3625else
3626  ac_file=''
3627fi
3628if test -z "$ac_file"; then :
3629  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3630$as_echo "no" >&6; }
3631$as_echo "$as_me: failed program was:" >&5
3632sed 's/^/| /' conftest.$ac_ext >&5
3633
3634{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3635$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3636as_fn_error 77 "C compiler cannot create executables
3637See \`config.log' for more details" "$LINENO" 5; }
3638else
3639  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3640$as_echo "yes" >&6; }
3641fi
3642{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3643$as_echo_n "checking for C compiler default output file name... " >&6; }
3644{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3645$as_echo "$ac_file" >&6; }
3646ac_exeext=$ac_cv_exeext
3647
3648rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3649ac_clean_files=$ac_clean_files_save
3650{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3651$as_echo_n "checking for suffix of executables... " >&6; }
3652if { { ac_try="$ac_link"
3653case "(($ac_try" in
3654  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3655  *) ac_try_echo=$ac_try;;
3656esac
3657eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3658$as_echo "$ac_try_echo"; } >&5
3659  (eval "$ac_link") 2>&5
3660  ac_status=$?
3661  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3662  test $ac_status = 0; }; then :
3663  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3664# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3665# work properly (i.e., refer to `conftest.exe'), while it won't with
3666# `rm'.
3667for ac_file in conftest.exe conftest conftest.*; do
3668  test -f "$ac_file" || continue
3669  case $ac_file in
3670    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3671    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3672	  break;;
3673    * ) break;;
3674  esac
3675done
3676else
3677  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3678$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3679as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3680See \`config.log' for more details" "$LINENO" 5; }
3681fi
3682rm -f conftest conftest$ac_cv_exeext
3683{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3684$as_echo "$ac_cv_exeext" >&6; }
3685
3686rm -f conftest.$ac_ext
3687EXEEXT=$ac_cv_exeext
3688ac_exeext=$EXEEXT
3689cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3690/* end confdefs.h.  */
3691#include <stdio.h>
3692int
3693main ()
3694{
3695FILE *f = fopen ("conftest.out", "w");
3696 return ferror (f) || fclose (f) != 0;
3697
3698  ;
3699  return 0;
3700}
3701_ACEOF
3702ac_clean_files="$ac_clean_files conftest.out"
3703# Check that the compiler produces executables we can run.  If not, either
3704# the compiler is broken, or we cross compile.
3705{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3706$as_echo_n "checking whether we are cross compiling... " >&6; }
3707if test "$cross_compiling" != yes; then
3708  { { ac_try="$ac_link"
3709case "(($ac_try" in
3710  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3711  *) ac_try_echo=$ac_try;;
3712esac
3713eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3714$as_echo "$ac_try_echo"; } >&5
3715  (eval "$ac_link") 2>&5
3716  ac_status=$?
3717  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3718  test $ac_status = 0; }
3719  if { ac_try='./conftest$ac_cv_exeext'
3720  { { case "(($ac_try" in
3721  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3722  *) ac_try_echo=$ac_try;;
3723esac
3724eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3725$as_echo "$ac_try_echo"; } >&5
3726  (eval "$ac_try") 2>&5
3727  ac_status=$?
3728  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3729  test $ac_status = 0; }; }; then
3730    cross_compiling=no
3731  else
3732    if test "$cross_compiling" = maybe; then
3733	cross_compiling=yes
3734    else
3735	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3736$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3737as_fn_error $? "cannot run C compiled programs.
3738If you meant to cross compile, use \`--host'.
3739See \`config.log' for more details" "$LINENO" 5; }
3740    fi
3741  fi
3742fi
3743{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3744$as_echo "$cross_compiling" >&6; }
3745
3746rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3747ac_clean_files=$ac_clean_files_save
3748{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3749$as_echo_n "checking for suffix of object files... " >&6; }
3750if ${ac_cv_objext+:} false; then :
3751  $as_echo_n "(cached) " >&6
3752else
3753  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3754/* end confdefs.h.  */
3755
3756int
3757main ()
3758{
3759
3760  ;
3761  return 0;
3762}
3763_ACEOF
3764rm -f conftest.o conftest.obj
3765if { { ac_try="$ac_compile"
3766case "(($ac_try" in
3767  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3768  *) ac_try_echo=$ac_try;;
3769esac
3770eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3771$as_echo "$ac_try_echo"; } >&5
3772  (eval "$ac_compile") 2>&5
3773  ac_status=$?
3774  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3775  test $ac_status = 0; }; then :
3776  for ac_file in conftest.o conftest.obj conftest.*; do
3777  test -f "$ac_file" || continue;
3778  case $ac_file in
3779    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3780    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3781       break;;
3782  esac
3783done
3784else
3785  $as_echo "$as_me: failed program was:" >&5
3786sed 's/^/| /' conftest.$ac_ext >&5
3787
3788{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3789$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3790as_fn_error $? "cannot compute suffix of object files: cannot compile
3791See \`config.log' for more details" "$LINENO" 5; }
3792fi
3793rm -f conftest.$ac_cv_objext conftest.$ac_ext
3794fi
3795{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3796$as_echo "$ac_cv_objext" >&6; }
3797OBJEXT=$ac_cv_objext
3798ac_objext=$OBJEXT
3799{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3800$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3801if ${ac_cv_c_compiler_gnu+:} false; then :
3802  $as_echo_n "(cached) " >&6
3803else
3804  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3805/* end confdefs.h.  */
3806
3807int
3808main ()
3809{
3810#ifndef __GNUC__
3811       choke me
3812#endif
3813
3814  ;
3815  return 0;
3816}
3817_ACEOF
3818if ac_fn_c_try_compile "$LINENO"; then :
3819  ac_compiler_gnu=yes
3820else
3821  ac_compiler_gnu=no
3822fi
3823rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3824ac_cv_c_compiler_gnu=$ac_compiler_gnu
3825
3826fi
3827{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3828$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3829if test $ac_compiler_gnu = yes; then
3830  GCC=yes
3831else
3832  GCC=
3833fi
3834ac_test_CFLAGS=${CFLAGS+set}
3835ac_save_CFLAGS=$CFLAGS
3836{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3837$as_echo_n "checking whether $CC accepts -g... " >&6; }
3838if ${ac_cv_prog_cc_g+:} false; then :
3839  $as_echo_n "(cached) " >&6
3840else
3841  ac_save_c_werror_flag=$ac_c_werror_flag
3842   ac_c_werror_flag=yes
3843   ac_cv_prog_cc_g=no
3844   CFLAGS="-g"
3845   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3846/* end confdefs.h.  */
3847
3848int
3849main ()
3850{
3851
3852  ;
3853  return 0;
3854}
3855_ACEOF
3856if ac_fn_c_try_compile "$LINENO"; then :
3857  ac_cv_prog_cc_g=yes
3858else
3859  CFLAGS=""
3860      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3861/* end confdefs.h.  */
3862
3863int
3864main ()
3865{
3866
3867  ;
3868  return 0;
3869}
3870_ACEOF
3871if ac_fn_c_try_compile "$LINENO"; then :
3872
3873else
3874  ac_c_werror_flag=$ac_save_c_werror_flag
3875	 CFLAGS="-g"
3876	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3877/* end confdefs.h.  */
3878
3879int
3880main ()
3881{
3882
3883  ;
3884  return 0;
3885}
3886_ACEOF
3887if ac_fn_c_try_compile "$LINENO"; then :
3888  ac_cv_prog_cc_g=yes
3889fi
3890rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3891fi
3892rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3893fi
3894rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3895   ac_c_werror_flag=$ac_save_c_werror_flag
3896fi
3897{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3898$as_echo "$ac_cv_prog_cc_g" >&6; }
3899if test "$ac_test_CFLAGS" = set; then
3900  CFLAGS=$ac_save_CFLAGS
3901elif test $ac_cv_prog_cc_g = yes; then
3902  if test "$GCC" = yes; then
3903    CFLAGS="-g -O2"
3904  else
3905    CFLAGS="-g"
3906  fi
3907else
3908  if test "$GCC" = yes; then
3909    CFLAGS="-O2"
3910  else
3911    CFLAGS=
3912  fi
3913fi
3914{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3915$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3916if ${ac_cv_prog_cc_c89+:} false; then :
3917  $as_echo_n "(cached) " >&6
3918else
3919  ac_cv_prog_cc_c89=no
3920ac_save_CC=$CC
3921cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3922/* end confdefs.h.  */
3923#include <stdarg.h>
3924#include <stdio.h>
3925struct stat;
3926/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3927struct buf { int x; };
3928FILE * (*rcsopen) (struct buf *, struct stat *, int);
3929static char *e (p, i)
3930     char **p;
3931     int i;
3932{
3933  return p[i];
3934}
3935static char *f (char * (*g) (char **, int), char **p, ...)
3936{
3937  char *s;
3938  va_list v;
3939  va_start (v,p);
3940  s = g (p, va_arg (v,int));
3941  va_end (v);
3942  return s;
3943}
3944
3945/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3946   function prototypes and stuff, but not '\xHH' hex character constants.
3947   These don't provoke an error unfortunately, instead are silently treated
3948   as 'x'.  The following induces an error, until -std is added to get
3949   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3950   array size at least.  It's necessary to write '\x00'==0 to get something
3951   that's true only with -std.  */
3952int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3953
3954/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3955   inside strings and character constants.  */
3956#define FOO(x) 'x'
3957int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3958
3959int test (int i, double x);
3960struct s1 {int (*f) (int a);};
3961struct s2 {int (*f) (double a);};
3962int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3963int argc;
3964char **argv;
3965int
3966main ()
3967{
3968return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3969  ;
3970  return 0;
3971}
3972_ACEOF
3973for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3974	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3975do
3976  CC="$ac_save_CC $ac_arg"
3977  if ac_fn_c_try_compile "$LINENO"; then :
3978  ac_cv_prog_cc_c89=$ac_arg
3979fi
3980rm -f core conftest.err conftest.$ac_objext
3981  test "x$ac_cv_prog_cc_c89" != "xno" && break
3982done
3983rm -f conftest.$ac_ext
3984CC=$ac_save_CC
3985
3986fi
3987# AC_CACHE_VAL
3988case "x$ac_cv_prog_cc_c89" in
3989  x)
3990    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3991$as_echo "none needed" >&6; } ;;
3992  xno)
3993    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3994$as_echo "unsupported" >&6; } ;;
3995  *)
3996    CC="$CC $ac_cv_prog_cc_c89"
3997    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3998$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3999esac
4000if test "x$ac_cv_prog_cc_c89" != xno; then :
4001
4002fi
4003
4004ac_ext=c
4005ac_cpp='$CPP $CPPFLAGS'
4006ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4007ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4008ac_compiler_gnu=$ac_cv_c_compiler_gnu
4009
4010ac_ext=c
4011ac_cpp='$CPP $CPPFLAGS'
4012ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4013ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4014ac_compiler_gnu=$ac_cv_c_compiler_gnu
4015{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4016$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4017if ${am_cv_prog_cc_c_o+:} false; then :
4018  $as_echo_n "(cached) " >&6
4019else
4020  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4021/* end confdefs.h.  */
4022
4023int
4024main ()
4025{
4026
4027  ;
4028  return 0;
4029}
4030_ACEOF
4031  # Make sure it works both with $CC and with simple cc.
4032  # Following AC_PROG_CC_C_O, we do the test twice because some
4033  # compilers refuse to overwrite an existing .o file with -o,
4034  # though they will create one.
4035  am_cv_prog_cc_c_o=yes
4036  for am_i in 1 2; do
4037    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4038   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4039   ac_status=$?
4040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4041   (exit $ac_status); } \
4042         && test -f conftest2.$ac_objext; then
4043      : OK
4044    else
4045      am_cv_prog_cc_c_o=no
4046      break
4047    fi
4048  done
4049  rm -f core conftest*
4050  unset am_i
4051fi
4052{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4053$as_echo "$am_cv_prog_cc_c_o" >&6; }
4054if test "$am_cv_prog_cc_c_o" != yes; then
4055   # Losing compiler, so override with the script.
4056   # FIXME: It is wrong to rewrite CC.
4057   # But if we don't then we get into trouble of one sort or another.
4058   # A longer-term fix would be to have automake use am__CC in this case,
4059   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4060   CC="$am_aux_dir/compile $CC"
4061fi
4062ac_ext=c
4063ac_cpp='$CPP $CPPFLAGS'
4064ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4065ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4066ac_compiler_gnu=$ac_cv_c_compiler_gnu
4067
4068
4069depcc="$CC"   am_compiler_list=
4070
4071{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4072$as_echo_n "checking dependency style of $depcc... " >&6; }
4073if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4074  $as_echo_n "(cached) " >&6
4075else
4076  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4077  # We make a subdir and do the tests there.  Otherwise we can end up
4078  # making bogus files that we don't know about and never remove.  For
4079  # instance it was reported that on HP-UX the gcc test will end up
4080  # making a dummy file named 'D' -- because '-MD' means "put the output
4081  # in D".
4082  rm -rf conftest.dir
4083  mkdir conftest.dir
4084  # Copy depcomp to subdir because otherwise we won't find it if we're
4085  # using a relative directory.
4086  cp "$am_depcomp" conftest.dir
4087  cd conftest.dir
4088  # We will build objects and dependencies in a subdirectory because
4089  # it helps to detect inapplicable dependency modes.  For instance
4090  # both Tru64's cc and ICC support -MD to output dependencies as a
4091  # side effect of compilation, but ICC will put the dependencies in
4092  # the current directory while Tru64 will put them in the object
4093  # directory.
4094  mkdir sub
4095
4096  am_cv_CC_dependencies_compiler_type=none
4097  if test "$am_compiler_list" = ""; then
4098     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4099  fi
4100  am__universal=false
4101  case " $depcc " in #(
4102     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4103     esac
4104
4105  for depmode in $am_compiler_list; do
4106    # Setup a source with many dependencies, because some compilers
4107    # like to wrap large dependency lists on column 80 (with \), and
4108    # we should not choose a depcomp mode which is confused by this.
4109    #
4110    # We need to recreate these files for each test, as the compiler may
4111    # overwrite some of them when testing with obscure command lines.
4112    # This happens at least with the AIX C compiler.
4113    : > sub/conftest.c
4114    for i in 1 2 3 4 5 6; do
4115      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4116      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4117      # Solaris 10 /bin/sh.
4118      echo '/* dummy */' > sub/conftst$i.h
4119    done
4120    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4121
4122    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4123    # mode.  It turns out that the SunPro C++ compiler does not properly
4124    # handle '-M -o', and we need to detect this.  Also, some Intel
4125    # versions had trouble with output in subdirs.
4126    am__obj=sub/conftest.${OBJEXT-o}
4127    am__minus_obj="-o $am__obj"
4128    case $depmode in
4129    gcc)
4130      # This depmode causes a compiler race in universal mode.
4131      test "$am__universal" = false || continue
4132      ;;
4133    nosideeffect)
4134      # After this tag, mechanisms are not by side-effect, so they'll
4135      # only be used when explicitly requested.
4136      if test "x$enable_dependency_tracking" = xyes; then
4137	continue
4138      else
4139	break
4140      fi
4141      ;;
4142    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4143      # This compiler won't grok '-c -o', but also, the minuso test has
4144      # not run yet.  These depmodes are late enough in the game, and
4145      # so weak that their functioning should not be impacted.
4146      am__obj=conftest.${OBJEXT-o}
4147      am__minus_obj=
4148      ;;
4149    none) break ;;
4150    esac
4151    if depmode=$depmode \
4152       source=sub/conftest.c object=$am__obj \
4153       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4154       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4155         >/dev/null 2>conftest.err &&
4156       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4157       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4158       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4159       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4160      # icc doesn't choke on unknown options, it will just issue warnings
4161      # or remarks (even with -Werror).  So we grep stderr for any message
4162      # that says an option was ignored or not supported.
4163      # When given -MP, icc 7.0 and 7.1 complain thusly:
4164      #   icc: Command line warning: ignoring option '-M'; no argument required
4165      # The diagnosis changed in icc 8.0:
4166      #   icc: Command line remark: option '-MP' not supported
4167      if (grep 'ignoring option' conftest.err ||
4168          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4169        am_cv_CC_dependencies_compiler_type=$depmode
4170        break
4171      fi
4172    fi
4173  done
4174
4175  cd ..
4176  rm -rf conftest.dir
4177else
4178  am_cv_CC_dependencies_compiler_type=none
4179fi
4180
4181fi
4182{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4183$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4184CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4185
4186 if
4187  test "x$enable_dependency_tracking" != xno \
4188  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4189  am__fastdepCC_TRUE=
4190  am__fastdepCC_FALSE='#'
4191else
4192  am__fastdepCC_TRUE='#'
4193  am__fastdepCC_FALSE=
4194fi
4195
4196
4197
4198# Check whether --enable-compiler-warnings was given.
4199if test "${enable_compiler_warnings+set}" = set; then :
4200  enableval=$enable_compiler_warnings;
4201fi
4202case $enable_compiler_warnings in #(
4203  no | min | yes | max | all) :
4204     ;; #(
4205  *) :
4206    if test "x$enable_maintainer_mode" = xyes; then :
4207  enable_compiler_warnings=yes
4208else
4209  enable_compiler_warnings=min
4210fi ;;
4211esac
4212
4213case `pwd` in
4214  *\ * | *\	*)
4215    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4216$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4217esac
4218
4219
4220
4221macro_version='2.4.6'
4222macro_revision='2.4.6'
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236ltmain=$ac_aux_dir/ltmain.sh
4237
4238# Make sure we can run config.sub.
4239$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4240  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4241
4242{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4243$as_echo_n "checking build system type... " >&6; }
4244if ${ac_cv_build+:} false; then :
4245  $as_echo_n "(cached) " >&6
4246else
4247  ac_build_alias=$build_alias
4248test "x$ac_build_alias" = x &&
4249  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4250test "x$ac_build_alias" = x &&
4251  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4252ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4253  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4254
4255fi
4256{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4257$as_echo "$ac_cv_build" >&6; }
4258case $ac_cv_build in
4259*-*-*) ;;
4260*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4261esac
4262build=$ac_cv_build
4263ac_save_IFS=$IFS; IFS='-'
4264set x $ac_cv_build
4265shift
4266build_cpu=$1
4267build_vendor=$2
4268shift; shift
4269# Remember, the first character of IFS is used to create $*,
4270# except with old shells:
4271build_os=$*
4272IFS=$ac_save_IFS
4273case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4274
4275
4276{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4277$as_echo_n "checking host system type... " >&6; }
4278if ${ac_cv_host+:} false; then :
4279  $as_echo_n "(cached) " >&6
4280else
4281  if test "x$host_alias" = x; then
4282  ac_cv_host=$ac_cv_build
4283else
4284  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4285    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4286fi
4287
4288fi
4289{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4290$as_echo "$ac_cv_host" >&6; }
4291case $ac_cv_host in
4292*-*-*) ;;
4293*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4294esac
4295host=$ac_cv_host
4296ac_save_IFS=$IFS; IFS='-'
4297set x $ac_cv_host
4298shift
4299host_cpu=$1
4300host_vendor=$2
4301shift; shift
4302# Remember, the first character of IFS is used to create $*,
4303# except with old shells:
4304host_os=$*
4305IFS=$ac_save_IFS
4306case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4307
4308
4309# Backslashify metacharacters that are still active within
4310# double-quoted strings.
4311sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4312
4313# Same as above, but do not quote variable references.
4314double_quote_subst='s/\(["`\\]\)/\\\1/g'
4315
4316# Sed substitution to delay expansion of an escaped shell variable in a
4317# double_quote_subst'ed string.
4318delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4319
4320# Sed substitution to delay expansion of an escaped single quote.
4321delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4322
4323# Sed substitution to avoid accidental globbing in evaled expressions
4324no_glob_subst='s/\*/\\\*/g'
4325
4326ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4327ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4328ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4329
4330{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4331$as_echo_n "checking how to print strings... " >&6; }
4332# Test print first, because it will be a builtin if present.
4333if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4334   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4335  ECHO='print -r --'
4336elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4337  ECHO='printf %s\n'
4338else
4339  # Use this function as a fallback that always works.
4340  func_fallback_echo ()
4341  {
4342    eval 'cat <<_LTECHO_EOF
4343$1
4344_LTECHO_EOF'
4345  }
4346  ECHO='func_fallback_echo'
4347fi
4348
4349# func_echo_all arg...
4350# Invoke $ECHO with all args, space-separated.
4351func_echo_all ()
4352{
4353    $ECHO ""
4354}
4355
4356case $ECHO in
4357  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4358$as_echo "printf" >&6; } ;;
4359  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4360$as_echo "print -r" >&6; } ;;
4361  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4362$as_echo "cat" >&6; } ;;
4363esac
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4379$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4380if ${ac_cv_path_SED+:} false; then :
4381  $as_echo_n "(cached) " >&6
4382else
4383            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4384     for ac_i in 1 2 3 4 5 6 7; do
4385       ac_script="$ac_script$as_nl$ac_script"
4386     done
4387     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4388     { ac_script=; unset ac_script;}
4389     if test -z "$SED"; then
4390  ac_path_SED_found=false
4391  # Loop through the user's path and test for each of PROGNAME-LIST
4392  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4393for as_dir in $PATH
4394do
4395  IFS=$as_save_IFS
4396  test -z "$as_dir" && as_dir=.
4397    for ac_prog in sed gsed; do
4398    for ac_exec_ext in '' $ac_executable_extensions; do
4399      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4400      as_fn_executable_p "$ac_path_SED" || continue
4401# Check for GNU ac_path_SED and select it if it is found.
4402  # Check for GNU $ac_path_SED
4403case `"$ac_path_SED" --version 2>&1` in
4404*GNU*)
4405  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4406*)
4407  ac_count=0
4408  $as_echo_n 0123456789 >"conftest.in"
4409  while :
4410  do
4411    cat "conftest.in" "conftest.in" >"conftest.tmp"
4412    mv "conftest.tmp" "conftest.in"
4413    cp "conftest.in" "conftest.nl"
4414    $as_echo '' >> "conftest.nl"
4415    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4416    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4417    as_fn_arith $ac_count + 1 && ac_count=$as_val
4418    if test $ac_count -gt ${ac_path_SED_max-0}; then
4419      # Best one so far, save it but keep looking for a better one
4420      ac_cv_path_SED="$ac_path_SED"
4421      ac_path_SED_max=$ac_count
4422    fi
4423    # 10*(2^10) chars as input seems more than enough
4424    test $ac_count -gt 10 && break
4425  done
4426  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4427esac
4428
4429      $ac_path_SED_found && break 3
4430    done
4431  done
4432  done
4433IFS=$as_save_IFS
4434  if test -z "$ac_cv_path_SED"; then
4435    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4436  fi
4437else
4438  ac_cv_path_SED=$SED
4439fi
4440
4441fi
4442{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4443$as_echo "$ac_cv_path_SED" >&6; }
4444 SED="$ac_cv_path_SED"
4445  rm -f conftest.sed
4446
4447test -z "$SED" && SED=sed
4448Xsed="$SED -e 1s/^X//"
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4461$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4462if ${ac_cv_path_GREP+:} false; then :
4463  $as_echo_n "(cached) " >&6
4464else
4465  if test -z "$GREP"; then
4466  ac_path_GREP_found=false
4467  # Loop through the user's path and test for each of PROGNAME-LIST
4468  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4469for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4470do
4471  IFS=$as_save_IFS
4472  test -z "$as_dir" && as_dir=.
4473    for ac_prog in grep ggrep; do
4474    for ac_exec_ext in '' $ac_executable_extensions; do
4475      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4476      as_fn_executable_p "$ac_path_GREP" || continue
4477# Check for GNU ac_path_GREP and select it if it is found.
4478  # Check for GNU $ac_path_GREP
4479case `"$ac_path_GREP" --version 2>&1` in
4480*GNU*)
4481  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4482*)
4483  ac_count=0
4484  $as_echo_n 0123456789 >"conftest.in"
4485  while :
4486  do
4487    cat "conftest.in" "conftest.in" >"conftest.tmp"
4488    mv "conftest.tmp" "conftest.in"
4489    cp "conftest.in" "conftest.nl"
4490    $as_echo 'GREP' >> "conftest.nl"
4491    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4492    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4493    as_fn_arith $ac_count + 1 && ac_count=$as_val
4494    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4495      # Best one so far, save it but keep looking for a better one
4496      ac_cv_path_GREP="$ac_path_GREP"
4497      ac_path_GREP_max=$ac_count
4498    fi
4499    # 10*(2^10) chars as input seems more than enough
4500    test $ac_count -gt 10 && break
4501  done
4502  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4503esac
4504
4505      $ac_path_GREP_found && break 3
4506    done
4507  done
4508  done
4509IFS=$as_save_IFS
4510  if test -z "$ac_cv_path_GREP"; then
4511    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4512  fi
4513else
4514  ac_cv_path_GREP=$GREP
4515fi
4516
4517fi
4518{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4519$as_echo "$ac_cv_path_GREP" >&6; }
4520 GREP="$ac_cv_path_GREP"
4521
4522
4523{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4524$as_echo_n "checking for egrep... " >&6; }
4525if ${ac_cv_path_EGREP+:} false; then :
4526  $as_echo_n "(cached) " >&6
4527else
4528  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4529   then ac_cv_path_EGREP="$GREP -E"
4530   else
4531     if test -z "$EGREP"; then
4532  ac_path_EGREP_found=false
4533  # Loop through the user's path and test for each of PROGNAME-LIST
4534  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4535for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4536do
4537  IFS=$as_save_IFS
4538  test -z "$as_dir" && as_dir=.
4539    for ac_prog in egrep; do
4540    for ac_exec_ext in '' $ac_executable_extensions; do
4541      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4542      as_fn_executable_p "$ac_path_EGREP" || continue
4543# Check for GNU ac_path_EGREP and select it if it is found.
4544  # Check for GNU $ac_path_EGREP
4545case `"$ac_path_EGREP" --version 2>&1` in
4546*GNU*)
4547  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4548*)
4549  ac_count=0
4550  $as_echo_n 0123456789 >"conftest.in"
4551  while :
4552  do
4553    cat "conftest.in" "conftest.in" >"conftest.tmp"
4554    mv "conftest.tmp" "conftest.in"
4555    cp "conftest.in" "conftest.nl"
4556    $as_echo 'EGREP' >> "conftest.nl"
4557    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4558    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4559    as_fn_arith $ac_count + 1 && ac_count=$as_val
4560    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4561      # Best one so far, save it but keep looking for a better one
4562      ac_cv_path_EGREP="$ac_path_EGREP"
4563      ac_path_EGREP_max=$ac_count
4564    fi
4565    # 10*(2^10) chars as input seems more than enough
4566    test $ac_count -gt 10 && break
4567  done
4568  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4569esac
4570
4571      $ac_path_EGREP_found && break 3
4572    done
4573  done
4574  done
4575IFS=$as_save_IFS
4576  if test -z "$ac_cv_path_EGREP"; then
4577    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4578  fi
4579else
4580  ac_cv_path_EGREP=$EGREP
4581fi
4582
4583   fi
4584fi
4585{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4586$as_echo "$ac_cv_path_EGREP" >&6; }
4587 EGREP="$ac_cv_path_EGREP"
4588
4589
4590{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4591$as_echo_n "checking for fgrep... " >&6; }
4592if ${ac_cv_path_FGREP+:} false; then :
4593  $as_echo_n "(cached) " >&6
4594else
4595  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4596   then ac_cv_path_FGREP="$GREP -F"
4597   else
4598     if test -z "$FGREP"; then
4599  ac_path_FGREP_found=false
4600  # Loop through the user's path and test for each of PROGNAME-LIST
4601  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4602for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4603do
4604  IFS=$as_save_IFS
4605  test -z "$as_dir" && as_dir=.
4606    for ac_prog in fgrep; do
4607    for ac_exec_ext in '' $ac_executable_extensions; do
4608      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4609      as_fn_executable_p "$ac_path_FGREP" || continue
4610# Check for GNU ac_path_FGREP and select it if it is found.
4611  # Check for GNU $ac_path_FGREP
4612case `"$ac_path_FGREP" --version 2>&1` in
4613*GNU*)
4614  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4615*)
4616  ac_count=0
4617  $as_echo_n 0123456789 >"conftest.in"
4618  while :
4619  do
4620    cat "conftest.in" "conftest.in" >"conftest.tmp"
4621    mv "conftest.tmp" "conftest.in"
4622    cp "conftest.in" "conftest.nl"
4623    $as_echo 'FGREP' >> "conftest.nl"
4624    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4625    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4626    as_fn_arith $ac_count + 1 && ac_count=$as_val
4627    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4628      # Best one so far, save it but keep looking for a better one
4629      ac_cv_path_FGREP="$ac_path_FGREP"
4630      ac_path_FGREP_max=$ac_count
4631    fi
4632    # 10*(2^10) chars as input seems more than enough
4633    test $ac_count -gt 10 && break
4634  done
4635  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4636esac
4637
4638      $ac_path_FGREP_found && break 3
4639    done
4640  done
4641  done
4642IFS=$as_save_IFS
4643  if test -z "$ac_cv_path_FGREP"; then
4644    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4645  fi
4646else
4647  ac_cv_path_FGREP=$FGREP
4648fi
4649
4650   fi
4651fi
4652{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4653$as_echo "$ac_cv_path_FGREP" >&6; }
4654 FGREP="$ac_cv_path_FGREP"
4655
4656
4657test -z "$GREP" && GREP=grep
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677# Check whether --with-gnu-ld was given.
4678if test "${with_gnu_ld+set}" = set; then :
4679  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
4680else
4681  with_gnu_ld=no
4682fi
4683
4684ac_prog=ld
4685if test yes = "$GCC"; then
4686  # Check if gcc -print-prog-name=ld gives a path.
4687  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4688$as_echo_n "checking for ld used by $CC... " >&6; }
4689  case $host in
4690  *-*-mingw*)
4691    # gcc leaves a trailing carriage return, which upsets mingw
4692    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4693  *)
4694    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4695  esac
4696  case $ac_prog in
4697    # Accept absolute paths.
4698    [\\/]* | ?:[\\/]*)
4699      re_direlt='/[^/][^/]*/\.\./'
4700      # Canonicalize the pathname of ld
4701      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4702      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4703	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4704      done
4705      test -z "$LD" && LD=$ac_prog
4706      ;;
4707  "")
4708    # If it fails, then pretend we aren't using GCC.
4709    ac_prog=ld
4710    ;;
4711  *)
4712    # If it is relative, then search for the first ld in PATH.
4713    with_gnu_ld=unknown
4714    ;;
4715  esac
4716elif test yes = "$with_gnu_ld"; then
4717  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4718$as_echo_n "checking for GNU ld... " >&6; }
4719else
4720  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4721$as_echo_n "checking for non-GNU ld... " >&6; }
4722fi
4723if ${lt_cv_path_LD+:} false; then :
4724  $as_echo_n "(cached) " >&6
4725else
4726  if test -z "$LD"; then
4727  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4728  for ac_dir in $PATH; do
4729    IFS=$lt_save_ifs
4730    test -z "$ac_dir" && ac_dir=.
4731    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4732      lt_cv_path_LD=$ac_dir/$ac_prog
4733      # Check to see if the program is GNU ld.  I'd rather use --version,
4734      # but apparently some variants of GNU ld only accept -v.
4735      # Break only if it was the GNU/non-GNU ld that we prefer.
4736      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4737      *GNU* | *'with BFD'*)
4738	test no != "$with_gnu_ld" && break
4739	;;
4740      *)
4741	test yes != "$with_gnu_ld" && break
4742	;;
4743      esac
4744    fi
4745  done
4746  IFS=$lt_save_ifs
4747else
4748  lt_cv_path_LD=$LD # Let the user override the test with a path.
4749fi
4750fi
4751
4752LD=$lt_cv_path_LD
4753if test -n "$LD"; then
4754  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4755$as_echo "$LD" >&6; }
4756else
4757  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4758$as_echo "no" >&6; }
4759fi
4760test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4761{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4762$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4763if ${lt_cv_prog_gnu_ld+:} false; then :
4764  $as_echo_n "(cached) " >&6
4765else
4766  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4767case `$LD -v 2>&1 </dev/null` in
4768*GNU* | *'with BFD'*)
4769  lt_cv_prog_gnu_ld=yes
4770  ;;
4771*)
4772  lt_cv_prog_gnu_ld=no
4773  ;;
4774esac
4775fi
4776{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4777$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4778with_gnu_ld=$lt_cv_prog_gnu_ld
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4789$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4790if ${lt_cv_path_NM+:} false; then :
4791  $as_echo_n "(cached) " >&6
4792else
4793  if test -n "$NM"; then
4794  # Let the user override the test.
4795  lt_cv_path_NM=$NM
4796else
4797  lt_nm_to_check=${ac_tool_prefix}nm
4798  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4799    lt_nm_to_check="$lt_nm_to_check nm"
4800  fi
4801  for lt_tmp_nm in $lt_nm_to_check; do
4802    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4803    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4804      IFS=$lt_save_ifs
4805      test -z "$ac_dir" && ac_dir=.
4806      tmp_nm=$ac_dir/$lt_tmp_nm
4807      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
4808	# Check to see if the nm accepts a BSD-compat flag.
4809	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
4810	#   nm: unknown option "B" ignored
4811	# Tru64's nm complains that /dev/null is an invalid object file
4812	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
4813	case $build_os in
4814	mingw*) lt_bad_file=conftest.nm/nofile ;;
4815	*) lt_bad_file=/dev/null ;;
4816	esac
4817	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
4818	*$lt_bad_file* | *'Invalid file or object type'*)
4819	  lt_cv_path_NM="$tmp_nm -B"
4820	  break 2
4821	  ;;
4822	*)
4823	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4824	  */dev/null*)
4825	    lt_cv_path_NM="$tmp_nm -p"
4826	    break 2
4827	    ;;
4828	  *)
4829	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4830	    continue # so that we can try to find one that supports BSD flags
4831	    ;;
4832	  esac
4833	  ;;
4834	esac
4835      fi
4836    done
4837    IFS=$lt_save_ifs
4838  done
4839  : ${lt_cv_path_NM=no}
4840fi
4841fi
4842{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4843$as_echo "$lt_cv_path_NM" >&6; }
4844if test no != "$lt_cv_path_NM"; then
4845  NM=$lt_cv_path_NM
4846else
4847  # Didn't find any BSD compatible name lister, look for dumpbin.
4848  if test -n "$DUMPBIN"; then :
4849    # Let the user override the test.
4850  else
4851    if test -n "$ac_tool_prefix"; then
4852  for ac_prog in dumpbin "link -dump"
4853  do
4854    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4855set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4856{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4857$as_echo_n "checking for $ac_word... " >&6; }
4858if ${ac_cv_prog_DUMPBIN+:} false; then :
4859  $as_echo_n "(cached) " >&6
4860else
4861  if test -n "$DUMPBIN"; then
4862  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4863else
4864as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4865for as_dir in $PATH
4866do
4867  IFS=$as_save_IFS
4868  test -z "$as_dir" && as_dir=.
4869    for ac_exec_ext in '' $ac_executable_extensions; do
4870  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4871    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4872    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4873    break 2
4874  fi
4875done
4876  done
4877IFS=$as_save_IFS
4878
4879fi
4880fi
4881DUMPBIN=$ac_cv_prog_DUMPBIN
4882if test -n "$DUMPBIN"; then
4883  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4884$as_echo "$DUMPBIN" >&6; }
4885else
4886  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4887$as_echo "no" >&6; }
4888fi
4889
4890
4891    test -n "$DUMPBIN" && break
4892  done
4893fi
4894if test -z "$DUMPBIN"; then
4895  ac_ct_DUMPBIN=$DUMPBIN
4896  for ac_prog in dumpbin "link -dump"
4897do
4898  # Extract the first word of "$ac_prog", so it can be a program name with args.
4899set dummy $ac_prog; ac_word=$2
4900{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4901$as_echo_n "checking for $ac_word... " >&6; }
4902if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4903  $as_echo_n "(cached) " >&6
4904else
4905  if test -n "$ac_ct_DUMPBIN"; then
4906  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4907else
4908as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4909for as_dir in $PATH
4910do
4911  IFS=$as_save_IFS
4912  test -z "$as_dir" && as_dir=.
4913    for ac_exec_ext in '' $ac_executable_extensions; do
4914  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4915    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4916    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4917    break 2
4918  fi
4919done
4920  done
4921IFS=$as_save_IFS
4922
4923fi
4924fi
4925ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4926if test -n "$ac_ct_DUMPBIN"; then
4927  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4928$as_echo "$ac_ct_DUMPBIN" >&6; }
4929else
4930  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4931$as_echo "no" >&6; }
4932fi
4933
4934
4935  test -n "$ac_ct_DUMPBIN" && break
4936done
4937
4938  if test "x$ac_ct_DUMPBIN" = x; then
4939    DUMPBIN=":"
4940  else
4941    case $cross_compiling:$ac_tool_warned in
4942yes:)
4943{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4944$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4945ac_tool_warned=yes ;;
4946esac
4947    DUMPBIN=$ac_ct_DUMPBIN
4948  fi
4949fi
4950
4951    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
4952    *COFF*)
4953      DUMPBIN="$DUMPBIN -symbols -headers"
4954      ;;
4955    *)
4956      DUMPBIN=:
4957      ;;
4958    esac
4959  fi
4960
4961  if test : != "$DUMPBIN"; then
4962    NM=$DUMPBIN
4963  fi
4964fi
4965test -z "$NM" && NM=nm
4966
4967
4968
4969
4970
4971
4972{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4973$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4974if ${lt_cv_nm_interface+:} false; then :
4975  $as_echo_n "(cached) " >&6
4976else
4977  lt_cv_nm_interface="BSD nm"
4978  echo "int some_variable = 0;" > conftest.$ac_ext
4979  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4980  (eval "$ac_compile" 2>conftest.err)
4981  cat conftest.err >&5
4982  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4983  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4984  cat conftest.err >&5
4985  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4986  cat conftest.out >&5
4987  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4988    lt_cv_nm_interface="MS dumpbin"
4989  fi
4990  rm -f conftest*
4991fi
4992{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4993$as_echo "$lt_cv_nm_interface" >&6; }
4994
4995{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4996$as_echo_n "checking whether ln -s works... " >&6; }
4997LN_S=$as_ln_s
4998if test "$LN_S" = "ln -s"; then
4999  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5000$as_echo "yes" >&6; }
5001else
5002  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5003$as_echo "no, using $LN_S" >&6; }
5004fi
5005
5006# find the maximum length of command line arguments
5007{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5008$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5009if ${lt_cv_sys_max_cmd_len+:} false; then :
5010  $as_echo_n "(cached) " >&6
5011else
5012    i=0
5013  teststring=ABCD
5014
5015  case $build_os in
5016  msdosdjgpp*)
5017    # On DJGPP, this test can blow up pretty badly due to problems in libc
5018    # (any single argument exceeding 2000 bytes causes a buffer overrun
5019    # during glob expansion).  Even if it were fixed, the result of this
5020    # check would be larger than it should be.
5021    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5022    ;;
5023
5024  gnu*)
5025    # Under GNU Hurd, this test is not required because there is
5026    # no limit to the length of command line arguments.
5027    # Libtool will interpret -1 as no limit whatsoever
5028    lt_cv_sys_max_cmd_len=-1;
5029    ;;
5030
5031  cygwin* | mingw* | cegcc*)
5032    # On Win9x/ME, this test blows up -- it succeeds, but takes
5033    # about 5 minutes as the teststring grows exponentially.
5034    # Worse, since 9x/ME are not pre-emptively multitasking,
5035    # you end up with a "frozen" computer, even though with patience
5036    # the test eventually succeeds (with a max line length of 256k).
5037    # Instead, let's just punt: use the minimum linelength reported by
5038    # all of the supported platforms: 8192 (on NT/2K/XP).
5039    lt_cv_sys_max_cmd_len=8192;
5040    ;;
5041
5042  mint*)
5043    # On MiNT this can take a long time and run out of memory.
5044    lt_cv_sys_max_cmd_len=8192;
5045    ;;
5046
5047  amigaos*)
5048    # On AmigaOS with pdksh, this test takes hours, literally.
5049    # So we just punt and use a minimum line length of 8192.
5050    lt_cv_sys_max_cmd_len=8192;
5051    ;;
5052
5053  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
5054    # This has been around since 386BSD, at least.  Likely further.
5055    if test -x /sbin/sysctl; then
5056      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5057    elif test -x /usr/sbin/sysctl; then
5058      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5059    else
5060      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
5061    fi
5062    # And add a safety zone
5063    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5064    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5065    ;;
5066
5067  interix*)
5068    # We know the value 262144 and hardcode it with a safety zone (like BSD)
5069    lt_cv_sys_max_cmd_len=196608
5070    ;;
5071
5072  os2*)
5073    # The test takes a long time on OS/2.
5074    lt_cv_sys_max_cmd_len=8192
5075    ;;
5076
5077  osf*)
5078    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5079    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5080    # nice to cause kernel panics so lets avoid the loop below.
5081    # First set a reasonable default.
5082    lt_cv_sys_max_cmd_len=16384
5083    #
5084    if test -x /sbin/sysconfig; then
5085      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5086        *1*) lt_cv_sys_max_cmd_len=-1 ;;
5087      esac
5088    fi
5089    ;;
5090  sco3.2v5*)
5091    lt_cv_sys_max_cmd_len=102400
5092    ;;
5093  sysv5* | sco5v6* | sysv4.2uw2*)
5094    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5095    if test -n "$kargmax"; then
5096      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
5097    else
5098      lt_cv_sys_max_cmd_len=32768
5099    fi
5100    ;;
5101  *)
5102    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5103    if test -n "$lt_cv_sys_max_cmd_len" && \
5104       test undefined != "$lt_cv_sys_max_cmd_len"; then
5105      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5106      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5107    else
5108      # Make teststring a little bigger before we do anything with it.
5109      # a 1K string should be a reasonable start.
5110      for i in 1 2 3 4 5 6 7 8; do
5111        teststring=$teststring$teststring
5112      done
5113      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5114      # If test is not a shell built-in, we'll probably end up computing a
5115      # maximum length that is only half of the actual maximum length, but
5116      # we can't tell.
5117      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
5118	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5119	      test 17 != "$i" # 1/2 MB should be enough
5120      do
5121        i=`expr $i + 1`
5122        teststring=$teststring$teststring
5123      done
5124      # Only check the string length outside the loop.
5125      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5126      teststring=
5127      # Add a significant safety factor because C++ compilers can tack on
5128      # massive amounts of additional arguments before passing them to the
5129      # linker.  It appears as though 1/2 is a usable value.
5130      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5131    fi
5132    ;;
5133  esac
5134
5135fi
5136
5137if test -n "$lt_cv_sys_max_cmd_len"; then
5138  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5139$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5140else
5141  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5142$as_echo "none" >&6; }
5143fi
5144max_cmd_len=$lt_cv_sys_max_cmd_len
5145
5146
5147
5148
5149
5150
5151: ${CP="cp -f"}
5152: ${MV="mv -f"}
5153: ${RM="rm -f"}
5154
5155if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5156  lt_unset=unset
5157else
5158  lt_unset=false
5159fi
5160
5161
5162
5163
5164
5165# test EBCDIC or ASCII
5166case `echo X|tr X '\101'` in
5167 A) # ASCII based system
5168    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5169  lt_SP2NL='tr \040 \012'
5170  lt_NL2SP='tr \015\012 \040\040'
5171  ;;
5172 *) # EBCDIC based system
5173  lt_SP2NL='tr \100 \n'
5174  lt_NL2SP='tr \r\n \100\100'
5175  ;;
5176esac
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5187$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5188if ${lt_cv_to_host_file_cmd+:} false; then :
5189  $as_echo_n "(cached) " >&6
5190else
5191  case $host in
5192  *-*-mingw* )
5193    case $build in
5194      *-*-mingw* ) # actually msys
5195        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5196        ;;
5197      *-*-cygwin* )
5198        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5199        ;;
5200      * ) # otherwise, assume *nix
5201        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5202        ;;
5203    esac
5204    ;;
5205  *-*-cygwin* )
5206    case $build in
5207      *-*-mingw* ) # actually msys
5208        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5209        ;;
5210      *-*-cygwin* )
5211        lt_cv_to_host_file_cmd=func_convert_file_noop
5212        ;;
5213      * ) # otherwise, assume *nix
5214        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5215        ;;
5216    esac
5217    ;;
5218  * ) # unhandled hosts (and "normal" native builds)
5219    lt_cv_to_host_file_cmd=func_convert_file_noop
5220    ;;
5221esac
5222
5223fi
5224
5225to_host_file_cmd=$lt_cv_to_host_file_cmd
5226{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5227$as_echo "$lt_cv_to_host_file_cmd" >&6; }
5228
5229
5230
5231
5232
5233{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5234$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5235if ${lt_cv_to_tool_file_cmd+:} false; then :
5236  $as_echo_n "(cached) " >&6
5237else
5238  #assume ordinary cross tools, or native build.
5239lt_cv_to_tool_file_cmd=func_convert_file_noop
5240case $host in
5241  *-*-mingw* )
5242    case $build in
5243      *-*-mingw* ) # actually msys
5244        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5245        ;;
5246    esac
5247    ;;
5248esac
5249
5250fi
5251
5252to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5253{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5254$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5255
5256
5257
5258
5259
5260{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5261$as_echo_n "checking for $LD option to reload object files... " >&6; }
5262if ${lt_cv_ld_reload_flag+:} false; then :
5263  $as_echo_n "(cached) " >&6
5264else
5265  lt_cv_ld_reload_flag='-r'
5266fi
5267{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5268$as_echo "$lt_cv_ld_reload_flag" >&6; }
5269reload_flag=$lt_cv_ld_reload_flag
5270case $reload_flag in
5271"" | " "*) ;;
5272*) reload_flag=" $reload_flag" ;;
5273esac
5274reload_cmds='$LD$reload_flag -o $output$reload_objs'
5275case $host_os in
5276  cygwin* | mingw* | pw32* | cegcc*)
5277    if test yes != "$GCC"; then
5278      reload_cmds=false
5279    fi
5280    ;;
5281  darwin*)
5282    if test yes = "$GCC"; then
5283      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5284    else
5285      reload_cmds='$LD$reload_flag -o $output$reload_objs'
5286    fi
5287    ;;
5288esac
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298if test -n "$ac_tool_prefix"; then
5299  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5300set dummy ${ac_tool_prefix}objdump; ac_word=$2
5301{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5302$as_echo_n "checking for $ac_word... " >&6; }
5303if ${ac_cv_prog_OBJDUMP+:} false; then :
5304  $as_echo_n "(cached) " >&6
5305else
5306  if test -n "$OBJDUMP"; then
5307  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5308else
5309as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5310for as_dir in $PATH
5311do
5312  IFS=$as_save_IFS
5313  test -z "$as_dir" && as_dir=.
5314    for ac_exec_ext in '' $ac_executable_extensions; do
5315  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5316    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5317    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5318    break 2
5319  fi
5320done
5321  done
5322IFS=$as_save_IFS
5323
5324fi
5325fi
5326OBJDUMP=$ac_cv_prog_OBJDUMP
5327if test -n "$OBJDUMP"; then
5328  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5329$as_echo "$OBJDUMP" >&6; }
5330else
5331  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5332$as_echo "no" >&6; }
5333fi
5334
5335
5336fi
5337if test -z "$ac_cv_prog_OBJDUMP"; then
5338  ac_ct_OBJDUMP=$OBJDUMP
5339  # Extract the first word of "objdump", so it can be a program name with args.
5340set dummy objdump; ac_word=$2
5341{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5342$as_echo_n "checking for $ac_word... " >&6; }
5343if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5344  $as_echo_n "(cached) " >&6
5345else
5346  if test -n "$ac_ct_OBJDUMP"; then
5347  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5348else
5349as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5350for as_dir in $PATH
5351do
5352  IFS=$as_save_IFS
5353  test -z "$as_dir" && as_dir=.
5354    for ac_exec_ext in '' $ac_executable_extensions; do
5355  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5356    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5357    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5358    break 2
5359  fi
5360done
5361  done
5362IFS=$as_save_IFS
5363
5364fi
5365fi
5366ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5367if test -n "$ac_ct_OBJDUMP"; then
5368  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5369$as_echo "$ac_ct_OBJDUMP" >&6; }
5370else
5371  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5372$as_echo "no" >&6; }
5373fi
5374
5375  if test "x$ac_ct_OBJDUMP" = x; then
5376    OBJDUMP="false"
5377  else
5378    case $cross_compiling:$ac_tool_warned in
5379yes:)
5380{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5381$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5382ac_tool_warned=yes ;;
5383esac
5384    OBJDUMP=$ac_ct_OBJDUMP
5385  fi
5386else
5387  OBJDUMP="$ac_cv_prog_OBJDUMP"
5388fi
5389
5390test -z "$OBJDUMP" && OBJDUMP=objdump
5391
5392
5393
5394
5395
5396
5397{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5398$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5399if ${lt_cv_deplibs_check_method+:} false; then :
5400  $as_echo_n "(cached) " >&6
5401else
5402  lt_cv_file_magic_cmd='$MAGIC_CMD'
5403lt_cv_file_magic_test_file=
5404lt_cv_deplibs_check_method='unknown'
5405# Need to set the preceding variable on all platforms that support
5406# interlibrary dependencies.
5407# 'none' -- dependencies not supported.
5408# 'unknown' -- same as none, but documents that we really don't know.
5409# 'pass_all' -- all dependencies passed with no checks.
5410# 'test_compile' -- check by making test program.
5411# 'file_magic [[regex]]' -- check by looking for files in library path
5412# that responds to the $file_magic_cmd with a given extended regex.
5413# If you have 'file' or equivalent on your system and you're not sure
5414# whether 'pass_all' will *always* work, you probably want this one.
5415
5416case $host_os in
5417aix[4-9]*)
5418  lt_cv_deplibs_check_method=pass_all
5419  ;;
5420
5421beos*)
5422  lt_cv_deplibs_check_method=pass_all
5423  ;;
5424
5425bsdi[45]*)
5426  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5427  lt_cv_file_magic_cmd='/usr/bin/file -L'
5428  lt_cv_file_magic_test_file=/shlib/libc.so
5429  ;;
5430
5431cygwin*)
5432  # func_win32_libid is a shell function defined in ltmain.sh
5433  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5434  lt_cv_file_magic_cmd='func_win32_libid'
5435  ;;
5436
5437mingw* | pw32*)
5438  # Base MSYS/MinGW do not provide the 'file' command needed by
5439  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5440  # unless we find 'file', for example because we are cross-compiling.
5441  if ( file / ) >/dev/null 2>&1; then
5442    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5443    lt_cv_file_magic_cmd='func_win32_libid'
5444  else
5445    # Keep this pattern in sync with the one in func_win32_libid.
5446    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5447    lt_cv_file_magic_cmd='$OBJDUMP -f'
5448  fi
5449  ;;
5450
5451cegcc*)
5452  # use the weaker test based on 'objdump'. See mingw*.
5453  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5454  lt_cv_file_magic_cmd='$OBJDUMP -f'
5455  ;;
5456
5457darwin* | rhapsody*)
5458  lt_cv_deplibs_check_method=pass_all
5459  ;;
5460
5461freebsd* | dragonfly*)
5462  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5463    case $host_cpu in
5464    i*86 )
5465      # Not sure whether the presence of OpenBSD here was a mistake.
5466      # Let's accept both of them until this is cleared up.
5467      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5468      lt_cv_file_magic_cmd=/usr/bin/file
5469      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5470      ;;
5471    esac
5472  else
5473    lt_cv_deplibs_check_method=pass_all
5474  fi
5475  ;;
5476
5477haiku*)
5478  lt_cv_deplibs_check_method=pass_all
5479  ;;
5480
5481hpux10.20* | hpux11*)
5482  lt_cv_file_magic_cmd=/usr/bin/file
5483  case $host_cpu in
5484  ia64*)
5485    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5486    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5487    ;;
5488  hppa*64*)
5489    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
5490    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5491    ;;
5492  *)
5493    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5494    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5495    ;;
5496  esac
5497  ;;
5498
5499interix[3-9]*)
5500  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5501  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5502  ;;
5503
5504irix5* | irix6* | nonstopux*)
5505  case $LD in
5506  *-32|*"-32 ") libmagic=32-bit;;
5507  *-n32|*"-n32 ") libmagic=N32;;
5508  *-64|*"-64 ") libmagic=64-bit;;
5509  *) libmagic=never-match;;
5510  esac
5511  lt_cv_deplibs_check_method=pass_all
5512  ;;
5513
5514# This must be glibc/ELF.
5515linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5516  lt_cv_deplibs_check_method=pass_all
5517  ;;
5518
5519netbsd*)
5520  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5521    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5522  else
5523    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5524  fi
5525  ;;
5526
5527newos6*)
5528  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5529  lt_cv_file_magic_cmd=/usr/bin/file
5530  lt_cv_file_magic_test_file=/usr/lib/libnls.so
5531  ;;
5532
5533*nto* | *qnx*)
5534  lt_cv_deplibs_check_method=pass_all
5535  ;;
5536
5537openbsd* | bitrig*)
5538  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5539    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5540  else
5541    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5542  fi
5543  ;;
5544
5545osf3* | osf4* | osf5*)
5546  lt_cv_deplibs_check_method=pass_all
5547  ;;
5548
5549rdos*)
5550  lt_cv_deplibs_check_method=pass_all
5551  ;;
5552
5553solaris*)
5554  lt_cv_deplibs_check_method=pass_all
5555  ;;
5556
5557sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5558  lt_cv_deplibs_check_method=pass_all
5559  ;;
5560
5561sysv4 | sysv4.3*)
5562  case $host_vendor in
5563  motorola)
5564    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]'
5565    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5566    ;;
5567  ncr)
5568    lt_cv_deplibs_check_method=pass_all
5569    ;;
5570  sequent)
5571    lt_cv_file_magic_cmd='/bin/file'
5572    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5573    ;;
5574  sni)
5575    lt_cv_file_magic_cmd='/bin/file'
5576    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5577    lt_cv_file_magic_test_file=/lib/libc.so
5578    ;;
5579  siemens)
5580    lt_cv_deplibs_check_method=pass_all
5581    ;;
5582  pc)
5583    lt_cv_deplibs_check_method=pass_all
5584    ;;
5585  esac
5586  ;;
5587
5588tpf*)
5589  lt_cv_deplibs_check_method=pass_all
5590  ;;
5591os2*)
5592  lt_cv_deplibs_check_method=pass_all
5593  ;;
5594esac
5595
5596fi
5597{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5598$as_echo "$lt_cv_deplibs_check_method" >&6; }
5599
5600file_magic_glob=
5601want_nocaseglob=no
5602if test "$build" = "$host"; then
5603  case $host_os in
5604  mingw* | pw32*)
5605    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5606      want_nocaseglob=yes
5607    else
5608      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5609    fi
5610    ;;
5611  esac
5612fi
5613
5614file_magic_cmd=$lt_cv_file_magic_cmd
5615deplibs_check_method=$lt_cv_deplibs_check_method
5616test -z "$deplibs_check_method" && deplibs_check_method=unknown
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639if test -n "$ac_tool_prefix"; then
5640  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5641set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5642{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5643$as_echo_n "checking for $ac_word... " >&6; }
5644if ${ac_cv_prog_DLLTOOL+:} false; then :
5645  $as_echo_n "(cached) " >&6
5646else
5647  if test -n "$DLLTOOL"; then
5648  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5649else
5650as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5651for as_dir in $PATH
5652do
5653  IFS=$as_save_IFS
5654  test -z "$as_dir" && as_dir=.
5655    for ac_exec_ext in '' $ac_executable_extensions; do
5656  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5657    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5658    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5659    break 2
5660  fi
5661done
5662  done
5663IFS=$as_save_IFS
5664
5665fi
5666fi
5667DLLTOOL=$ac_cv_prog_DLLTOOL
5668if test -n "$DLLTOOL"; then
5669  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5670$as_echo "$DLLTOOL" >&6; }
5671else
5672  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5673$as_echo "no" >&6; }
5674fi
5675
5676
5677fi
5678if test -z "$ac_cv_prog_DLLTOOL"; then
5679  ac_ct_DLLTOOL=$DLLTOOL
5680  # Extract the first word of "dlltool", so it can be a program name with args.
5681set dummy dlltool; ac_word=$2
5682{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5683$as_echo_n "checking for $ac_word... " >&6; }
5684if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5685  $as_echo_n "(cached) " >&6
5686else
5687  if test -n "$ac_ct_DLLTOOL"; then
5688  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5689else
5690as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5691for as_dir in $PATH
5692do
5693  IFS=$as_save_IFS
5694  test -z "$as_dir" && as_dir=.
5695    for ac_exec_ext in '' $ac_executable_extensions; do
5696  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5697    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5698    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5699    break 2
5700  fi
5701done
5702  done
5703IFS=$as_save_IFS
5704
5705fi
5706fi
5707ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5708if test -n "$ac_ct_DLLTOOL"; then
5709  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5710$as_echo "$ac_ct_DLLTOOL" >&6; }
5711else
5712  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5713$as_echo "no" >&6; }
5714fi
5715
5716  if test "x$ac_ct_DLLTOOL" = x; then
5717    DLLTOOL="false"
5718  else
5719    case $cross_compiling:$ac_tool_warned in
5720yes:)
5721{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5722$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5723ac_tool_warned=yes ;;
5724esac
5725    DLLTOOL=$ac_ct_DLLTOOL
5726  fi
5727else
5728  DLLTOOL="$ac_cv_prog_DLLTOOL"
5729fi
5730
5731test -z "$DLLTOOL" && DLLTOOL=dlltool
5732
5733
5734
5735
5736
5737
5738
5739{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5740$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5741if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5742  $as_echo_n "(cached) " >&6
5743else
5744  lt_cv_sharedlib_from_linklib_cmd='unknown'
5745
5746case $host_os in
5747cygwin* | mingw* | pw32* | cegcc*)
5748  # two different shell functions defined in ltmain.sh;
5749  # decide which one to use based on capabilities of $DLLTOOL
5750  case `$DLLTOOL --help 2>&1` in
5751  *--identify-strict*)
5752    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5753    ;;
5754  *)
5755    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5756    ;;
5757  esac
5758  ;;
5759*)
5760  # fallback: assume linklib IS sharedlib
5761  lt_cv_sharedlib_from_linklib_cmd=$ECHO
5762  ;;
5763esac
5764
5765fi
5766{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5767$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5768sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5769test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5770
5771
5772
5773
5774
5775
5776
5777if test -n "$ac_tool_prefix"; then
5778  for ac_prog in ar
5779  do
5780    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5781set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5782{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5783$as_echo_n "checking for $ac_word... " >&6; }
5784if ${ac_cv_prog_AR+:} false; then :
5785  $as_echo_n "(cached) " >&6
5786else
5787  if test -n "$AR"; then
5788  ac_cv_prog_AR="$AR" # Let the user override the test.
5789else
5790as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5791for as_dir in $PATH
5792do
5793  IFS=$as_save_IFS
5794  test -z "$as_dir" && as_dir=.
5795    for ac_exec_ext in '' $ac_executable_extensions; do
5796  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5797    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5798    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5799    break 2
5800  fi
5801done
5802  done
5803IFS=$as_save_IFS
5804
5805fi
5806fi
5807AR=$ac_cv_prog_AR
5808if test -n "$AR"; then
5809  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5810$as_echo "$AR" >&6; }
5811else
5812  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5813$as_echo "no" >&6; }
5814fi
5815
5816
5817    test -n "$AR" && break
5818  done
5819fi
5820if test -z "$AR"; then
5821  ac_ct_AR=$AR
5822  for ac_prog in ar
5823do
5824  # Extract the first word of "$ac_prog", so it can be a program name with args.
5825set dummy $ac_prog; ac_word=$2
5826{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5827$as_echo_n "checking for $ac_word... " >&6; }
5828if ${ac_cv_prog_ac_ct_AR+:} false; then :
5829  $as_echo_n "(cached) " >&6
5830else
5831  if test -n "$ac_ct_AR"; then
5832  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5833else
5834as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5835for as_dir in $PATH
5836do
5837  IFS=$as_save_IFS
5838  test -z "$as_dir" && as_dir=.
5839    for ac_exec_ext in '' $ac_executable_extensions; do
5840  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5841    ac_cv_prog_ac_ct_AR="$ac_prog"
5842    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5843    break 2
5844  fi
5845done
5846  done
5847IFS=$as_save_IFS
5848
5849fi
5850fi
5851ac_ct_AR=$ac_cv_prog_ac_ct_AR
5852if test -n "$ac_ct_AR"; then
5853  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5854$as_echo "$ac_ct_AR" >&6; }
5855else
5856  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5857$as_echo "no" >&6; }
5858fi
5859
5860
5861  test -n "$ac_ct_AR" && break
5862done
5863
5864  if test "x$ac_ct_AR" = x; then
5865    AR="false"
5866  else
5867    case $cross_compiling:$ac_tool_warned in
5868yes:)
5869{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5870$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5871ac_tool_warned=yes ;;
5872esac
5873    AR=$ac_ct_AR
5874  fi
5875fi
5876
5877: ${AR=ar}
5878: ${AR_FLAGS=cru}
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5891$as_echo_n "checking for archiver @FILE support... " >&6; }
5892if ${lt_cv_ar_at_file+:} false; then :
5893  $as_echo_n "(cached) " >&6
5894else
5895  lt_cv_ar_at_file=no
5896   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5897/* end confdefs.h.  */
5898
5899int
5900main ()
5901{
5902
5903  ;
5904  return 0;
5905}
5906_ACEOF
5907if ac_fn_c_try_compile "$LINENO"; then :
5908  echo conftest.$ac_objext > conftest.lst
5909      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5910      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5911  (eval $lt_ar_try) 2>&5
5912  ac_status=$?
5913  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5914  test $ac_status = 0; }
5915      if test 0 -eq "$ac_status"; then
5916	# Ensure the archiver fails upon bogus file names.
5917	rm -f conftest.$ac_objext libconftest.a
5918	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5919  (eval $lt_ar_try) 2>&5
5920  ac_status=$?
5921  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5922  test $ac_status = 0; }
5923	if test 0 -ne "$ac_status"; then
5924          lt_cv_ar_at_file=@
5925        fi
5926      fi
5927      rm -f conftest.* libconftest.a
5928
5929fi
5930rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5931
5932fi
5933{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5934$as_echo "$lt_cv_ar_at_file" >&6; }
5935
5936if test no = "$lt_cv_ar_at_file"; then
5937  archiver_list_spec=
5938else
5939  archiver_list_spec=$lt_cv_ar_at_file
5940fi
5941
5942
5943
5944
5945
5946
5947
5948if test -n "$ac_tool_prefix"; then
5949  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5950set dummy ${ac_tool_prefix}strip; ac_word=$2
5951{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5952$as_echo_n "checking for $ac_word... " >&6; }
5953if ${ac_cv_prog_STRIP+:} false; then :
5954  $as_echo_n "(cached) " >&6
5955else
5956  if test -n "$STRIP"; then
5957  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5958else
5959as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5960for as_dir in $PATH
5961do
5962  IFS=$as_save_IFS
5963  test -z "$as_dir" && as_dir=.
5964    for ac_exec_ext in '' $ac_executable_extensions; do
5965  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5966    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5967    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5968    break 2
5969  fi
5970done
5971  done
5972IFS=$as_save_IFS
5973
5974fi
5975fi
5976STRIP=$ac_cv_prog_STRIP
5977if test -n "$STRIP"; then
5978  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5979$as_echo "$STRIP" >&6; }
5980else
5981  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5982$as_echo "no" >&6; }
5983fi
5984
5985
5986fi
5987if test -z "$ac_cv_prog_STRIP"; then
5988  ac_ct_STRIP=$STRIP
5989  # Extract the first word of "strip", so it can be a program name with args.
5990set dummy strip; ac_word=$2
5991{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5992$as_echo_n "checking for $ac_word... " >&6; }
5993if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5994  $as_echo_n "(cached) " >&6
5995else
5996  if test -n "$ac_ct_STRIP"; then
5997  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5998else
5999as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6000for as_dir in $PATH
6001do
6002  IFS=$as_save_IFS
6003  test -z "$as_dir" && as_dir=.
6004    for ac_exec_ext in '' $ac_executable_extensions; do
6005  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6006    ac_cv_prog_ac_ct_STRIP="strip"
6007    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6008    break 2
6009  fi
6010done
6011  done
6012IFS=$as_save_IFS
6013
6014fi
6015fi
6016ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6017if test -n "$ac_ct_STRIP"; then
6018  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6019$as_echo "$ac_ct_STRIP" >&6; }
6020else
6021  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6022$as_echo "no" >&6; }
6023fi
6024
6025  if test "x$ac_ct_STRIP" = x; then
6026    STRIP=":"
6027  else
6028    case $cross_compiling:$ac_tool_warned in
6029yes:)
6030{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6031$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6032ac_tool_warned=yes ;;
6033esac
6034    STRIP=$ac_ct_STRIP
6035  fi
6036else
6037  STRIP="$ac_cv_prog_STRIP"
6038fi
6039
6040test -z "$STRIP" && STRIP=:
6041
6042
6043
6044
6045
6046
6047if test -n "$ac_tool_prefix"; then
6048  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6049set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6050{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6051$as_echo_n "checking for $ac_word... " >&6; }
6052if ${ac_cv_prog_RANLIB+:} false; then :
6053  $as_echo_n "(cached) " >&6
6054else
6055  if test -n "$RANLIB"; then
6056  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6057else
6058as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6059for as_dir in $PATH
6060do
6061  IFS=$as_save_IFS
6062  test -z "$as_dir" && as_dir=.
6063    for ac_exec_ext in '' $ac_executable_extensions; do
6064  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6065    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6066    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6067    break 2
6068  fi
6069done
6070  done
6071IFS=$as_save_IFS
6072
6073fi
6074fi
6075RANLIB=$ac_cv_prog_RANLIB
6076if test -n "$RANLIB"; then
6077  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6078$as_echo "$RANLIB" >&6; }
6079else
6080  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6081$as_echo "no" >&6; }
6082fi
6083
6084
6085fi
6086if test -z "$ac_cv_prog_RANLIB"; then
6087  ac_ct_RANLIB=$RANLIB
6088  # Extract the first word of "ranlib", so it can be a program name with args.
6089set dummy ranlib; ac_word=$2
6090{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6091$as_echo_n "checking for $ac_word... " >&6; }
6092if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6093  $as_echo_n "(cached) " >&6
6094else
6095  if test -n "$ac_ct_RANLIB"; then
6096  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6097else
6098as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6099for as_dir in $PATH
6100do
6101  IFS=$as_save_IFS
6102  test -z "$as_dir" && as_dir=.
6103    for ac_exec_ext in '' $ac_executable_extensions; do
6104  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6105    ac_cv_prog_ac_ct_RANLIB="ranlib"
6106    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6107    break 2
6108  fi
6109done
6110  done
6111IFS=$as_save_IFS
6112
6113fi
6114fi
6115ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6116if test -n "$ac_ct_RANLIB"; then
6117  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6118$as_echo "$ac_ct_RANLIB" >&6; }
6119else
6120  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6121$as_echo "no" >&6; }
6122fi
6123
6124  if test "x$ac_ct_RANLIB" = x; then
6125    RANLIB=":"
6126  else
6127    case $cross_compiling:$ac_tool_warned in
6128yes:)
6129{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6130$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6131ac_tool_warned=yes ;;
6132esac
6133    RANLIB=$ac_ct_RANLIB
6134  fi
6135else
6136  RANLIB="$ac_cv_prog_RANLIB"
6137fi
6138
6139test -z "$RANLIB" && RANLIB=:
6140
6141
6142
6143
6144
6145
6146# Determine commands to create old-style static archives.
6147old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6148old_postinstall_cmds='chmod 644 $oldlib'
6149old_postuninstall_cmds=
6150
6151if test -n "$RANLIB"; then
6152  case $host_os in
6153  bitrig* | openbsd*)
6154    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6155    ;;
6156  *)
6157    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6158    ;;
6159  esac
6160  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6161fi
6162
6163case $host_os in
6164  darwin*)
6165    lock_old_archive_extraction=yes ;;
6166  *)
6167    lock_old_archive_extraction=no ;;
6168esac
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208# If no C compiler was specified, use CC.
6209LTCC=${LTCC-"$CC"}
6210
6211# If no C compiler flags were specified, use CFLAGS.
6212LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6213
6214# Allow CC to be a program name with arguments.
6215compiler=$CC
6216
6217
6218# Check for command to grab the raw symbol name followed by C symbol from nm.
6219{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6220$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6221if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6222  $as_echo_n "(cached) " >&6
6223else
6224
6225# These are sane defaults that work on at least a few old systems.
6226# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6227
6228# Character class describing NM global symbol codes.
6229symcode='[BCDEGRST]'
6230
6231# Regexp to match symbols that can be accessed directly from C.
6232sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6233
6234# Define system-specific variables.
6235case $host_os in
6236aix*)
6237  symcode='[BCDT]'
6238  ;;
6239cygwin* | mingw* | pw32* | cegcc*)
6240  symcode='[ABCDGISTW]'
6241  ;;
6242hpux*)
6243  if test ia64 = "$host_cpu"; then
6244    symcode='[ABCDEGRST]'
6245  fi
6246  ;;
6247irix* | nonstopux*)
6248  symcode='[BCDEGRST]'
6249  ;;
6250osf*)
6251  symcode='[BCDEGQRST]'
6252  ;;
6253solaris*)
6254  symcode='[BDRT]'
6255  ;;
6256sco3.2v5*)
6257  symcode='[DT]'
6258  ;;
6259sysv4.2uw2*)
6260  symcode='[DT]'
6261  ;;
6262sysv5* | sco5v6* | unixware* | OpenUNIX*)
6263  symcode='[ABDT]'
6264  ;;
6265sysv4)
6266  symcode='[DFNSTU]'
6267  ;;
6268esac
6269
6270# If we're using GNU nm, then use its standard symbol codes.
6271case `$NM -V 2>&1` in
6272*GNU* | *'with BFD'*)
6273  symcode='[ABCDGIRSTW]' ;;
6274esac
6275
6276if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6277  # Gets list of data symbols to import.
6278  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6279  # Adjust the below global symbol transforms to fixup imported variables.
6280  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6281  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
6282  lt_c_name_lib_hook="\
6283  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
6284  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
6285else
6286  # Disable hooks by default.
6287  lt_cv_sys_global_symbol_to_import=
6288  lt_cdecl_hook=
6289  lt_c_name_hook=
6290  lt_c_name_lib_hook=
6291fi
6292
6293# Transform an extracted symbol line into a proper C declaration.
6294# Some systems (esp. on ia64) link data and code symbols differently,
6295# so use this general approach.
6296lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6297$lt_cdecl_hook\
6298" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6299" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6300
6301# Transform an extracted symbol line into symbol name and symbol address
6302lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6303$lt_c_name_hook\
6304" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
6305" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
6306
6307# Transform an extracted symbol line into symbol name with lib prefix and
6308# symbol address.
6309lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6310$lt_c_name_lib_hook\
6311" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
6312" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
6313" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
6314
6315# Handle CRLF in mingw tool chain
6316opt_cr=
6317case $build_os in
6318mingw*)
6319  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6320  ;;
6321esac
6322
6323# Try without a prefix underscore, then with it.
6324for ac_symprfx in "" "_"; do
6325
6326  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6327  symxfrm="\\1 $ac_symprfx\\2 \\2"
6328
6329  # Write the raw and C identifiers.
6330  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6331    # Fake it for dumpbin and say T for any non-static function,
6332    # D for any global variable and I for any imported variable.
6333    # Also find C++ and __fastcall symbols from MSVC++,
6334    # which start with @ or ?.
6335    lt_cv_sys_global_symbol_pipe="$AWK '"\
6336"     {last_section=section; section=\$ 3};"\
6337"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6338"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6339"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
6340"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
6341"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
6342"     \$ 0!~/External *\|/{next};"\
6343"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6344"     {if(hide[section]) next};"\
6345"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
6346"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
6347"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
6348"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
6349"     ' prfx=^$ac_symprfx"
6350  else
6351    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6352  fi
6353  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6354
6355  # Check to see that the pipe works correctly.
6356  pipe_works=no
6357
6358  rm -f conftest*
6359  cat > conftest.$ac_ext <<_LT_EOF
6360#ifdef __cplusplus
6361extern "C" {
6362#endif
6363char nm_test_var;
6364void nm_test_func(void);
6365void nm_test_func(void){}
6366#ifdef __cplusplus
6367}
6368#endif
6369int main(){nm_test_var='a';nm_test_func();return(0);}
6370_LT_EOF
6371
6372  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6373  (eval $ac_compile) 2>&5
6374  ac_status=$?
6375  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6376  test $ac_status = 0; }; then
6377    # Now try to grab the symbols.
6378    nlist=conftest.nm
6379    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6380  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6381  ac_status=$?
6382  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6383  test $ac_status = 0; } && test -s "$nlist"; then
6384      # Try sorting and uniquifying the output.
6385      if sort "$nlist" | uniq > "$nlist"T; then
6386	mv -f "$nlist"T "$nlist"
6387      else
6388	rm -f "$nlist"T
6389      fi
6390
6391      # Make sure that we snagged all the symbols we need.
6392      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6393	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6394	  cat <<_LT_EOF > conftest.$ac_ext
6395/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6396#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
6397/* DATA imports from DLLs on WIN32 can't be const, because runtime
6398   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6399# define LT_DLSYM_CONST
6400#elif defined __osf__
6401/* This system does not cope well with relocations in const data.  */
6402# define LT_DLSYM_CONST
6403#else
6404# define LT_DLSYM_CONST const
6405#endif
6406
6407#ifdef __cplusplus
6408extern "C" {
6409#endif
6410
6411_LT_EOF
6412	  # Now generate the symbol file.
6413	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6414
6415	  cat <<_LT_EOF >> conftest.$ac_ext
6416
6417/* The mapping between symbol names and symbols.  */
6418LT_DLSYM_CONST struct {
6419  const char *name;
6420  void       *address;
6421}
6422lt__PROGRAM__LTX_preloaded_symbols[] =
6423{
6424  { "@PROGRAM@", (void *) 0 },
6425_LT_EOF
6426	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6427	  cat <<\_LT_EOF >> conftest.$ac_ext
6428  {0, (void *) 0}
6429};
6430
6431/* This works around a problem in FreeBSD linker */
6432#ifdef FREEBSD_WORKAROUND
6433static const void *lt_preloaded_setup() {
6434  return lt__PROGRAM__LTX_preloaded_symbols;
6435}
6436#endif
6437
6438#ifdef __cplusplus
6439}
6440#endif
6441_LT_EOF
6442	  # Now try linking the two files.
6443	  mv conftest.$ac_objext conftstm.$ac_objext
6444	  lt_globsym_save_LIBS=$LIBS
6445	  lt_globsym_save_CFLAGS=$CFLAGS
6446	  LIBS=conftstm.$ac_objext
6447	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6448	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6449  (eval $ac_link) 2>&5
6450  ac_status=$?
6451  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6452  test $ac_status = 0; } && test -s conftest$ac_exeext; then
6453	    pipe_works=yes
6454	  fi
6455	  LIBS=$lt_globsym_save_LIBS
6456	  CFLAGS=$lt_globsym_save_CFLAGS
6457	else
6458	  echo "cannot find nm_test_func in $nlist" >&5
6459	fi
6460      else
6461	echo "cannot find nm_test_var in $nlist" >&5
6462      fi
6463    else
6464      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6465    fi
6466  else
6467    echo "$progname: failed program was:" >&5
6468    cat conftest.$ac_ext >&5
6469  fi
6470  rm -rf conftest* conftst*
6471
6472  # Do not use the global_symbol_pipe unless it works.
6473  if test yes = "$pipe_works"; then
6474    break
6475  else
6476    lt_cv_sys_global_symbol_pipe=
6477  fi
6478done
6479
6480fi
6481
6482if test -z "$lt_cv_sys_global_symbol_pipe"; then
6483  lt_cv_sys_global_symbol_to_cdecl=
6484fi
6485if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6486  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6487$as_echo "failed" >&6; }
6488else
6489  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6490$as_echo "ok" >&6; }
6491fi
6492
6493# Response file support.
6494if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6495  nm_file_list_spec='@'
6496elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6497  nm_file_list_spec='@'
6498fi
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6537$as_echo_n "checking for sysroot... " >&6; }
6538
6539# Check whether --with-sysroot was given.
6540if test "${with_sysroot+set}" = set; then :
6541  withval=$with_sysroot;
6542else
6543  with_sysroot=no
6544fi
6545
6546
6547lt_sysroot=
6548case $with_sysroot in #(
6549 yes)
6550   if test yes = "$GCC"; then
6551     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6552   fi
6553   ;; #(
6554 /*)
6555   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6556   ;; #(
6557 no|'')
6558   ;; #(
6559 *)
6560   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
6561$as_echo "$with_sysroot" >&6; }
6562   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6563   ;;
6564esac
6565
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6567$as_echo "${lt_sysroot:-no}" >&6; }
6568
6569
6570
6571
6572
6573{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
6574$as_echo_n "checking for a working dd... " >&6; }
6575if ${ac_cv_path_lt_DD+:} false; then :
6576  $as_echo_n "(cached) " >&6
6577else
6578  printf 0123456789abcdef0123456789abcdef >conftest.i
6579cat conftest.i conftest.i >conftest2.i
6580: ${lt_DD:=$DD}
6581if test -z "$lt_DD"; then
6582  ac_path_lt_DD_found=false
6583  # Loop through the user's path and test for each of PROGNAME-LIST
6584  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6585for as_dir in $PATH
6586do
6587  IFS=$as_save_IFS
6588  test -z "$as_dir" && as_dir=.
6589    for ac_prog in dd; do
6590    for ac_exec_ext in '' $ac_executable_extensions; do
6591      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
6592      as_fn_executable_p "$ac_path_lt_DD" || continue
6593if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6594  cmp -s conftest.i conftest.out \
6595  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
6596fi
6597      $ac_path_lt_DD_found && break 3
6598    done
6599  done
6600  done
6601IFS=$as_save_IFS
6602  if test -z "$ac_cv_path_lt_DD"; then
6603    :
6604  fi
6605else
6606  ac_cv_path_lt_DD=$lt_DD
6607fi
6608
6609rm -f conftest.i conftest2.i conftest.out
6610fi
6611{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
6612$as_echo "$ac_cv_path_lt_DD" >&6; }
6613
6614
6615{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
6616$as_echo_n "checking how to truncate binary pipes... " >&6; }
6617if ${lt_cv_truncate_bin+:} false; then :
6618  $as_echo_n "(cached) " >&6
6619else
6620  printf 0123456789abcdef0123456789abcdef >conftest.i
6621cat conftest.i conftest.i >conftest2.i
6622lt_cv_truncate_bin=
6623if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6624  cmp -s conftest.i conftest.out \
6625  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
6626fi
6627rm -f conftest.i conftest2.i conftest.out
6628test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
6629fi
6630{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
6631$as_echo "$lt_cv_truncate_bin" >&6; }
6632
6633
6634
6635
6636
6637
6638
6639# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
6640func_cc_basename ()
6641{
6642    for cc_temp in $*""; do
6643      case $cc_temp in
6644        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6645        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6646        \-*) ;;
6647        *) break;;
6648      esac
6649    done
6650    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
6651}
6652
6653# Check whether --enable-libtool-lock was given.
6654if test "${enable_libtool_lock+set}" = set; then :
6655  enableval=$enable_libtool_lock;
6656fi
6657
6658test no = "$enable_libtool_lock" || enable_libtool_lock=yes
6659
6660# Some flags need to be propagated to the compiler or linker for good
6661# libtool support.
6662case $host in
6663ia64-*-hpux*)
6664  # Find out what ABI is being produced by ac_compile, and set mode
6665  # options accordingly.
6666  echo 'int i;' > conftest.$ac_ext
6667  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6668  (eval $ac_compile) 2>&5
6669  ac_status=$?
6670  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6671  test $ac_status = 0; }; then
6672    case `/usr/bin/file conftest.$ac_objext` in
6673      *ELF-32*)
6674	HPUX_IA64_MODE=32
6675	;;
6676      *ELF-64*)
6677	HPUX_IA64_MODE=64
6678	;;
6679    esac
6680  fi
6681  rm -rf conftest*
6682  ;;
6683*-*-irix6*)
6684  # Find out what ABI is being produced by ac_compile, and set linker
6685  # options accordingly.
6686  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6687  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6688  (eval $ac_compile) 2>&5
6689  ac_status=$?
6690  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6691  test $ac_status = 0; }; then
6692    if test yes = "$lt_cv_prog_gnu_ld"; then
6693      case `/usr/bin/file conftest.$ac_objext` in
6694	*32-bit*)
6695	  LD="${LD-ld} -melf32bsmip"
6696	  ;;
6697	*N32*)
6698	  LD="${LD-ld} -melf32bmipn32"
6699	  ;;
6700	*64-bit*)
6701	  LD="${LD-ld} -melf64bmip"
6702	;;
6703      esac
6704    else
6705      case `/usr/bin/file conftest.$ac_objext` in
6706	*32-bit*)
6707	  LD="${LD-ld} -32"
6708	  ;;
6709	*N32*)
6710	  LD="${LD-ld} -n32"
6711	  ;;
6712	*64-bit*)
6713	  LD="${LD-ld} -64"
6714	  ;;
6715      esac
6716    fi
6717  fi
6718  rm -rf conftest*
6719  ;;
6720
6721mips64*-*linux*)
6722  # Find out what ABI is being produced by ac_compile, and set linker
6723  # options accordingly.
6724  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6725  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6726  (eval $ac_compile) 2>&5
6727  ac_status=$?
6728  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6729  test $ac_status = 0; }; then
6730    emul=elf
6731    case `/usr/bin/file conftest.$ac_objext` in
6732      *32-bit*)
6733	emul="${emul}32"
6734	;;
6735      *64-bit*)
6736	emul="${emul}64"
6737	;;
6738    esac
6739    case `/usr/bin/file conftest.$ac_objext` in
6740      *MSB*)
6741	emul="${emul}btsmip"
6742	;;
6743      *LSB*)
6744	emul="${emul}ltsmip"
6745	;;
6746    esac
6747    case `/usr/bin/file conftest.$ac_objext` in
6748      *N32*)
6749	emul="${emul}n32"
6750	;;
6751    esac
6752    LD="${LD-ld} -m $emul"
6753  fi
6754  rm -rf conftest*
6755  ;;
6756
6757x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6758s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6759  # Find out what ABI is being produced by ac_compile, and set linker
6760  # options accordingly.  Note that the listed cases only cover the
6761  # situations where additional linker options are needed (such as when
6762  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
6763  # vice versa); the common cases where no linker options are needed do
6764  # not appear in the list.
6765  echo 'int i;' > conftest.$ac_ext
6766  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6767  (eval $ac_compile) 2>&5
6768  ac_status=$?
6769  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6770  test $ac_status = 0; }; then
6771    case `/usr/bin/file conftest.o` in
6772      *32-bit*)
6773	case $host in
6774	  x86_64-*kfreebsd*-gnu)
6775	    LD="${LD-ld} -m elf_i386_fbsd"
6776	    ;;
6777	  x86_64-*linux*)
6778	    case `/usr/bin/file conftest.o` in
6779	      *x86-64*)
6780		LD="${LD-ld} -m elf32_x86_64"
6781		;;
6782	      *)
6783		LD="${LD-ld} -m elf_i386"
6784		;;
6785	    esac
6786	    ;;
6787	  powerpc64le-*linux*)
6788	    LD="${LD-ld} -m elf32lppclinux"
6789	    ;;
6790	  powerpc64-*linux*)
6791	    LD="${LD-ld} -m elf32ppclinux"
6792	    ;;
6793	  s390x-*linux*)
6794	    LD="${LD-ld} -m elf_s390"
6795	    ;;
6796	  sparc64-*linux*)
6797	    LD="${LD-ld} -m elf32_sparc"
6798	    ;;
6799	esac
6800	;;
6801      *64-bit*)
6802	case $host in
6803	  x86_64-*kfreebsd*-gnu)
6804	    LD="${LD-ld} -m elf_x86_64_fbsd"
6805	    ;;
6806	  x86_64-*linux*)
6807	    LD="${LD-ld} -m elf_x86_64"
6808	    ;;
6809	  powerpcle-*linux*)
6810	    LD="${LD-ld} -m elf64lppc"
6811	    ;;
6812	  powerpc-*linux*)
6813	    LD="${LD-ld} -m elf64ppc"
6814	    ;;
6815	  s390*-*linux*|s390*-*tpf*)
6816	    LD="${LD-ld} -m elf64_s390"
6817	    ;;
6818	  sparc*-*linux*)
6819	    LD="${LD-ld} -m elf64_sparc"
6820	    ;;
6821	esac
6822	;;
6823    esac
6824  fi
6825  rm -rf conftest*
6826  ;;
6827
6828*-*-sco3.2v5*)
6829  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6830  SAVE_CFLAGS=$CFLAGS
6831  CFLAGS="$CFLAGS -belf"
6832  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6833$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6834if ${lt_cv_cc_needs_belf+:} false; then :
6835  $as_echo_n "(cached) " >&6
6836else
6837  ac_ext=c
6838ac_cpp='$CPP $CPPFLAGS'
6839ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6840ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6841ac_compiler_gnu=$ac_cv_c_compiler_gnu
6842
6843     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6844/* end confdefs.h.  */
6845
6846int
6847main ()
6848{
6849
6850  ;
6851  return 0;
6852}
6853_ACEOF
6854if ac_fn_c_try_link "$LINENO"; then :
6855  lt_cv_cc_needs_belf=yes
6856else
6857  lt_cv_cc_needs_belf=no
6858fi
6859rm -f core conftest.err conftest.$ac_objext \
6860    conftest$ac_exeext conftest.$ac_ext
6861     ac_ext=c
6862ac_cpp='$CPP $CPPFLAGS'
6863ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6864ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6865ac_compiler_gnu=$ac_cv_c_compiler_gnu
6866
6867fi
6868{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6869$as_echo "$lt_cv_cc_needs_belf" >&6; }
6870  if test yes != "$lt_cv_cc_needs_belf"; then
6871    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6872    CFLAGS=$SAVE_CFLAGS
6873  fi
6874  ;;
6875*-*solaris*)
6876  # Find out what ABI is being produced by ac_compile, and set linker
6877  # options accordingly.
6878  echo 'int i;' > conftest.$ac_ext
6879  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6880  (eval $ac_compile) 2>&5
6881  ac_status=$?
6882  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6883  test $ac_status = 0; }; then
6884    case `/usr/bin/file conftest.o` in
6885    *64-bit*)
6886      case $lt_cv_prog_gnu_ld in
6887      yes*)
6888        case $host in
6889        i?86-*-solaris*|x86_64-*-solaris*)
6890          LD="${LD-ld} -m elf_x86_64"
6891          ;;
6892        sparc*-*-solaris*)
6893          LD="${LD-ld} -m elf64_sparc"
6894          ;;
6895        esac
6896        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6897        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6898          LD=${LD-ld}_sol2
6899        fi
6900        ;;
6901      *)
6902	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6903	  LD="${LD-ld} -64"
6904	fi
6905	;;
6906      esac
6907      ;;
6908    esac
6909  fi
6910  rm -rf conftest*
6911  ;;
6912esac
6913
6914need_locks=$enable_libtool_lock
6915
6916if test -n "$ac_tool_prefix"; then
6917  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6918set dummy ${ac_tool_prefix}mt; ac_word=$2
6919{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6920$as_echo_n "checking for $ac_word... " >&6; }
6921if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6922  $as_echo_n "(cached) " >&6
6923else
6924  if test -n "$MANIFEST_TOOL"; then
6925  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6926else
6927as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6928for as_dir in $PATH
6929do
6930  IFS=$as_save_IFS
6931  test -z "$as_dir" && as_dir=.
6932    for ac_exec_ext in '' $ac_executable_extensions; do
6933  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6934    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6935    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6936    break 2
6937  fi
6938done
6939  done
6940IFS=$as_save_IFS
6941
6942fi
6943fi
6944MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6945if test -n "$MANIFEST_TOOL"; then
6946  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6947$as_echo "$MANIFEST_TOOL" >&6; }
6948else
6949  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6950$as_echo "no" >&6; }
6951fi
6952
6953
6954fi
6955if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6956  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6957  # Extract the first word of "mt", so it can be a program name with args.
6958set dummy mt; ac_word=$2
6959{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6960$as_echo_n "checking for $ac_word... " >&6; }
6961if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6962  $as_echo_n "(cached) " >&6
6963else
6964  if test -n "$ac_ct_MANIFEST_TOOL"; then
6965  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6966else
6967as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6968for as_dir in $PATH
6969do
6970  IFS=$as_save_IFS
6971  test -z "$as_dir" && as_dir=.
6972    for ac_exec_ext in '' $ac_executable_extensions; do
6973  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6974    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6975    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6976    break 2
6977  fi
6978done
6979  done
6980IFS=$as_save_IFS
6981
6982fi
6983fi
6984ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6985if test -n "$ac_ct_MANIFEST_TOOL"; then
6986  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6987$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6988else
6989  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6990$as_echo "no" >&6; }
6991fi
6992
6993  if test "x$ac_ct_MANIFEST_TOOL" = x; then
6994    MANIFEST_TOOL=":"
6995  else
6996    case $cross_compiling:$ac_tool_warned in
6997yes:)
6998{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6999$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7000ac_tool_warned=yes ;;
7001esac
7002    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7003  fi
7004else
7005  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7006fi
7007
7008test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7009{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7010$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7011if ${lt_cv_path_mainfest_tool+:} false; then :
7012  $as_echo_n "(cached) " >&6
7013else
7014  lt_cv_path_mainfest_tool=no
7015  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7016  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7017  cat conftest.err >&5
7018  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7019    lt_cv_path_mainfest_tool=yes
7020  fi
7021  rm -f conftest*
7022fi
7023{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7024$as_echo "$lt_cv_path_mainfest_tool" >&6; }
7025if test yes != "$lt_cv_path_mainfest_tool"; then
7026  MANIFEST_TOOL=:
7027fi
7028
7029
7030
7031
7032
7033
7034  case $host_os in
7035    rhapsody* | darwin*)
7036    if test -n "$ac_tool_prefix"; then
7037  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7038set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7039{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7040$as_echo_n "checking for $ac_word... " >&6; }
7041if ${ac_cv_prog_DSYMUTIL+:} false; then :
7042  $as_echo_n "(cached) " >&6
7043else
7044  if test -n "$DSYMUTIL"; then
7045  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7046else
7047as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7048for as_dir in $PATH
7049do
7050  IFS=$as_save_IFS
7051  test -z "$as_dir" && as_dir=.
7052    for ac_exec_ext in '' $ac_executable_extensions; do
7053  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7054    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7055    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7056    break 2
7057  fi
7058done
7059  done
7060IFS=$as_save_IFS
7061
7062fi
7063fi
7064DSYMUTIL=$ac_cv_prog_DSYMUTIL
7065if test -n "$DSYMUTIL"; then
7066  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7067$as_echo "$DSYMUTIL" >&6; }
7068else
7069  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7070$as_echo "no" >&6; }
7071fi
7072
7073
7074fi
7075if test -z "$ac_cv_prog_DSYMUTIL"; then
7076  ac_ct_DSYMUTIL=$DSYMUTIL
7077  # Extract the first word of "dsymutil", so it can be a program name with args.
7078set dummy dsymutil; ac_word=$2
7079{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7080$as_echo_n "checking for $ac_word... " >&6; }
7081if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7082  $as_echo_n "(cached) " >&6
7083else
7084  if test -n "$ac_ct_DSYMUTIL"; then
7085  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7086else
7087as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7088for as_dir in $PATH
7089do
7090  IFS=$as_save_IFS
7091  test -z "$as_dir" && as_dir=.
7092    for ac_exec_ext in '' $ac_executable_extensions; do
7093  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7094    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7095    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7096    break 2
7097  fi
7098done
7099  done
7100IFS=$as_save_IFS
7101
7102fi
7103fi
7104ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7105if test -n "$ac_ct_DSYMUTIL"; then
7106  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7107$as_echo "$ac_ct_DSYMUTIL" >&6; }
7108else
7109  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7110$as_echo "no" >&6; }
7111fi
7112
7113  if test "x$ac_ct_DSYMUTIL" = x; then
7114    DSYMUTIL=":"
7115  else
7116    case $cross_compiling:$ac_tool_warned in
7117yes:)
7118{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7119$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7120ac_tool_warned=yes ;;
7121esac
7122    DSYMUTIL=$ac_ct_DSYMUTIL
7123  fi
7124else
7125  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7126fi
7127
7128    if test -n "$ac_tool_prefix"; then
7129  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7130set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7131{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7132$as_echo_n "checking for $ac_word... " >&6; }
7133if ${ac_cv_prog_NMEDIT+:} false; then :
7134  $as_echo_n "(cached) " >&6
7135else
7136  if test -n "$NMEDIT"; then
7137  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7138else
7139as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7140for as_dir in $PATH
7141do
7142  IFS=$as_save_IFS
7143  test -z "$as_dir" && as_dir=.
7144    for ac_exec_ext in '' $ac_executable_extensions; do
7145  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7146    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7147    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7148    break 2
7149  fi
7150done
7151  done
7152IFS=$as_save_IFS
7153
7154fi
7155fi
7156NMEDIT=$ac_cv_prog_NMEDIT
7157if test -n "$NMEDIT"; then
7158  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7159$as_echo "$NMEDIT" >&6; }
7160else
7161  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7162$as_echo "no" >&6; }
7163fi
7164
7165
7166fi
7167if test -z "$ac_cv_prog_NMEDIT"; then
7168  ac_ct_NMEDIT=$NMEDIT
7169  # Extract the first word of "nmedit", so it can be a program name with args.
7170set dummy nmedit; ac_word=$2
7171{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7172$as_echo_n "checking for $ac_word... " >&6; }
7173if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7174  $as_echo_n "(cached) " >&6
7175else
7176  if test -n "$ac_ct_NMEDIT"; then
7177  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7178else
7179as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7180for as_dir in $PATH
7181do
7182  IFS=$as_save_IFS
7183  test -z "$as_dir" && as_dir=.
7184    for ac_exec_ext in '' $ac_executable_extensions; do
7185  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7186    ac_cv_prog_ac_ct_NMEDIT="nmedit"
7187    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7188    break 2
7189  fi
7190done
7191  done
7192IFS=$as_save_IFS
7193
7194fi
7195fi
7196ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7197if test -n "$ac_ct_NMEDIT"; then
7198  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7199$as_echo "$ac_ct_NMEDIT" >&6; }
7200else
7201  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7202$as_echo "no" >&6; }
7203fi
7204
7205  if test "x$ac_ct_NMEDIT" = x; then
7206    NMEDIT=":"
7207  else
7208    case $cross_compiling:$ac_tool_warned in
7209yes:)
7210{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7211$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7212ac_tool_warned=yes ;;
7213esac
7214    NMEDIT=$ac_ct_NMEDIT
7215  fi
7216else
7217  NMEDIT="$ac_cv_prog_NMEDIT"
7218fi
7219
7220    if test -n "$ac_tool_prefix"; then
7221  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7222set dummy ${ac_tool_prefix}lipo; ac_word=$2
7223{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7224$as_echo_n "checking for $ac_word... " >&6; }
7225if ${ac_cv_prog_LIPO+:} false; then :
7226  $as_echo_n "(cached) " >&6
7227else
7228  if test -n "$LIPO"; then
7229  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7230else
7231as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7232for as_dir in $PATH
7233do
7234  IFS=$as_save_IFS
7235  test -z "$as_dir" && as_dir=.
7236    for ac_exec_ext in '' $ac_executable_extensions; do
7237  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7238    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7239    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7240    break 2
7241  fi
7242done
7243  done
7244IFS=$as_save_IFS
7245
7246fi
7247fi
7248LIPO=$ac_cv_prog_LIPO
7249if test -n "$LIPO"; then
7250  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7251$as_echo "$LIPO" >&6; }
7252else
7253  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7254$as_echo "no" >&6; }
7255fi
7256
7257
7258fi
7259if test -z "$ac_cv_prog_LIPO"; then
7260  ac_ct_LIPO=$LIPO
7261  # Extract the first word of "lipo", so it can be a program name with args.
7262set dummy lipo; ac_word=$2
7263{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7264$as_echo_n "checking for $ac_word... " >&6; }
7265if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7266  $as_echo_n "(cached) " >&6
7267else
7268  if test -n "$ac_ct_LIPO"; then
7269  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7270else
7271as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7272for as_dir in $PATH
7273do
7274  IFS=$as_save_IFS
7275  test -z "$as_dir" && as_dir=.
7276    for ac_exec_ext in '' $ac_executable_extensions; do
7277  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7278    ac_cv_prog_ac_ct_LIPO="lipo"
7279    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7280    break 2
7281  fi
7282done
7283  done
7284IFS=$as_save_IFS
7285
7286fi
7287fi
7288ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7289if test -n "$ac_ct_LIPO"; then
7290  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7291$as_echo "$ac_ct_LIPO" >&6; }
7292else
7293  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7294$as_echo "no" >&6; }
7295fi
7296
7297  if test "x$ac_ct_LIPO" = x; then
7298    LIPO=":"
7299  else
7300    case $cross_compiling:$ac_tool_warned in
7301yes:)
7302{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7303$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7304ac_tool_warned=yes ;;
7305esac
7306    LIPO=$ac_ct_LIPO
7307  fi
7308else
7309  LIPO="$ac_cv_prog_LIPO"
7310fi
7311
7312    if test -n "$ac_tool_prefix"; then
7313  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7314set dummy ${ac_tool_prefix}otool; ac_word=$2
7315{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7316$as_echo_n "checking for $ac_word... " >&6; }
7317if ${ac_cv_prog_OTOOL+:} false; then :
7318  $as_echo_n "(cached) " >&6
7319else
7320  if test -n "$OTOOL"; then
7321  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7322else
7323as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7324for as_dir in $PATH
7325do
7326  IFS=$as_save_IFS
7327  test -z "$as_dir" && as_dir=.
7328    for ac_exec_ext in '' $ac_executable_extensions; do
7329  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7330    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7331    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7332    break 2
7333  fi
7334done
7335  done
7336IFS=$as_save_IFS
7337
7338fi
7339fi
7340OTOOL=$ac_cv_prog_OTOOL
7341if test -n "$OTOOL"; then
7342  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7343$as_echo "$OTOOL" >&6; }
7344else
7345  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7346$as_echo "no" >&6; }
7347fi
7348
7349
7350fi
7351if test -z "$ac_cv_prog_OTOOL"; then
7352  ac_ct_OTOOL=$OTOOL
7353  # Extract the first word of "otool", so it can be a program name with args.
7354set dummy otool; ac_word=$2
7355{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7356$as_echo_n "checking for $ac_word... " >&6; }
7357if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7358  $as_echo_n "(cached) " >&6
7359else
7360  if test -n "$ac_ct_OTOOL"; then
7361  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7362else
7363as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7364for as_dir in $PATH
7365do
7366  IFS=$as_save_IFS
7367  test -z "$as_dir" && as_dir=.
7368    for ac_exec_ext in '' $ac_executable_extensions; do
7369  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7370    ac_cv_prog_ac_ct_OTOOL="otool"
7371    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7372    break 2
7373  fi
7374done
7375  done
7376IFS=$as_save_IFS
7377
7378fi
7379fi
7380ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7381if test -n "$ac_ct_OTOOL"; then
7382  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7383$as_echo "$ac_ct_OTOOL" >&6; }
7384else
7385  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7386$as_echo "no" >&6; }
7387fi
7388
7389  if test "x$ac_ct_OTOOL" = x; then
7390    OTOOL=":"
7391  else
7392    case $cross_compiling:$ac_tool_warned in
7393yes:)
7394{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7395$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7396ac_tool_warned=yes ;;
7397esac
7398    OTOOL=$ac_ct_OTOOL
7399  fi
7400else
7401  OTOOL="$ac_cv_prog_OTOOL"
7402fi
7403
7404    if test -n "$ac_tool_prefix"; then
7405  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7406set dummy ${ac_tool_prefix}otool64; ac_word=$2
7407{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7408$as_echo_n "checking for $ac_word... " >&6; }
7409if ${ac_cv_prog_OTOOL64+:} false; then :
7410  $as_echo_n "(cached) " >&6
7411else
7412  if test -n "$OTOOL64"; then
7413  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7414else
7415as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7416for as_dir in $PATH
7417do
7418  IFS=$as_save_IFS
7419  test -z "$as_dir" && as_dir=.
7420    for ac_exec_ext in '' $ac_executable_extensions; do
7421  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7422    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7423    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7424    break 2
7425  fi
7426done
7427  done
7428IFS=$as_save_IFS
7429
7430fi
7431fi
7432OTOOL64=$ac_cv_prog_OTOOL64
7433if test -n "$OTOOL64"; then
7434  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7435$as_echo "$OTOOL64" >&6; }
7436else
7437  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7438$as_echo "no" >&6; }
7439fi
7440
7441
7442fi
7443if test -z "$ac_cv_prog_OTOOL64"; then
7444  ac_ct_OTOOL64=$OTOOL64
7445  # Extract the first word of "otool64", so it can be a program name with args.
7446set dummy otool64; ac_word=$2
7447{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7448$as_echo_n "checking for $ac_word... " >&6; }
7449if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7450  $as_echo_n "(cached) " >&6
7451else
7452  if test -n "$ac_ct_OTOOL64"; then
7453  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7454else
7455as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7456for as_dir in $PATH
7457do
7458  IFS=$as_save_IFS
7459  test -z "$as_dir" && as_dir=.
7460    for ac_exec_ext in '' $ac_executable_extensions; do
7461  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7462    ac_cv_prog_ac_ct_OTOOL64="otool64"
7463    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7464    break 2
7465  fi
7466done
7467  done
7468IFS=$as_save_IFS
7469
7470fi
7471fi
7472ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7473if test -n "$ac_ct_OTOOL64"; then
7474  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7475$as_echo "$ac_ct_OTOOL64" >&6; }
7476else
7477  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7478$as_echo "no" >&6; }
7479fi
7480
7481  if test "x$ac_ct_OTOOL64" = x; then
7482    OTOOL64=":"
7483  else
7484    case $cross_compiling:$ac_tool_warned in
7485yes:)
7486{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7487$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7488ac_tool_warned=yes ;;
7489esac
7490    OTOOL64=$ac_ct_OTOOL64
7491  fi
7492else
7493  OTOOL64="$ac_cv_prog_OTOOL64"
7494fi
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7523$as_echo_n "checking for -single_module linker flag... " >&6; }
7524if ${lt_cv_apple_cc_single_mod+:} false; then :
7525  $as_echo_n "(cached) " >&6
7526else
7527  lt_cv_apple_cc_single_mod=no
7528      if test -z "$LT_MULTI_MODULE"; then
7529	# By default we will add the -single_module flag. You can override
7530	# by either setting the environment variable LT_MULTI_MODULE
7531	# non-empty at configure time, or by adding -multi_module to the
7532	# link flags.
7533	rm -rf libconftest.dylib*
7534	echo "int foo(void){return 1;}" > conftest.c
7535	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7536-dynamiclib -Wl,-single_module conftest.c" >&5
7537	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7538	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7539        _lt_result=$?
7540	# If there is a non-empty error log, and "single_module"
7541	# appears in it, assume the flag caused a linker warning
7542        if test -s conftest.err && $GREP single_module conftest.err; then
7543	  cat conftest.err >&5
7544	# Otherwise, if the output was created with a 0 exit code from
7545	# the compiler, it worked.
7546	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
7547	  lt_cv_apple_cc_single_mod=yes
7548	else
7549	  cat conftest.err >&5
7550	fi
7551	rm -rf libconftest.dylib*
7552	rm -f conftest.*
7553      fi
7554fi
7555{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7556$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7557
7558    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7559$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7560if ${lt_cv_ld_exported_symbols_list+:} false; then :
7561  $as_echo_n "(cached) " >&6
7562else
7563  lt_cv_ld_exported_symbols_list=no
7564      save_LDFLAGS=$LDFLAGS
7565      echo "_main" > conftest.sym
7566      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7567      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7568/* end confdefs.h.  */
7569
7570int
7571main ()
7572{
7573
7574  ;
7575  return 0;
7576}
7577_ACEOF
7578if ac_fn_c_try_link "$LINENO"; then :
7579  lt_cv_ld_exported_symbols_list=yes
7580else
7581  lt_cv_ld_exported_symbols_list=no
7582fi
7583rm -f core conftest.err conftest.$ac_objext \
7584    conftest$ac_exeext conftest.$ac_ext
7585	LDFLAGS=$save_LDFLAGS
7586
7587fi
7588{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7589$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7590
7591    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7592$as_echo_n "checking for -force_load linker flag... " >&6; }
7593if ${lt_cv_ld_force_load+:} false; then :
7594  $as_echo_n "(cached) " >&6
7595else
7596  lt_cv_ld_force_load=no
7597      cat > conftest.c << _LT_EOF
7598int forced_loaded() { return 2;}
7599_LT_EOF
7600      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7601      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7602      echo "$AR cru libconftest.a conftest.o" >&5
7603      $AR cru libconftest.a conftest.o 2>&5
7604      echo "$RANLIB libconftest.a" >&5
7605      $RANLIB libconftest.a 2>&5
7606      cat > conftest.c << _LT_EOF
7607int main() { return 0;}
7608_LT_EOF
7609      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7610      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7611      _lt_result=$?
7612      if test -s conftest.err && $GREP force_load conftest.err; then
7613	cat conftest.err >&5
7614      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
7615	lt_cv_ld_force_load=yes
7616      else
7617	cat conftest.err >&5
7618      fi
7619        rm -f conftest.err libconftest.a conftest conftest.c
7620        rm -rf conftest.dSYM
7621
7622fi
7623{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7624$as_echo "$lt_cv_ld_force_load" >&6; }
7625    case $host_os in
7626    rhapsody* | darwin1.[012])
7627      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
7628    darwin1.*)
7629      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7630    darwin*) # darwin 5.x on
7631      # if running on 10.5 or later, the deployment target defaults
7632      # to the OS version, if on x86, and 10.4, the deployment
7633      # target defaults to 10.4. Don't you love it?
7634      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7635	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7636	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7637	10.[012][,.]*)
7638	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7639	10.*)
7640	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7641      esac
7642    ;;
7643  esac
7644    if test yes = "$lt_cv_apple_cc_single_mod"; then
7645      _lt_dar_single_mod='$single_module'
7646    fi
7647    if test yes = "$lt_cv_ld_exported_symbols_list"; then
7648      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
7649    else
7650      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
7651    fi
7652    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
7653      _lt_dsymutil='~$DSYMUTIL $lib || :'
7654    else
7655      _lt_dsymutil=
7656    fi
7657    ;;
7658  esac
7659
7660# func_munge_path_list VARIABLE PATH
7661# -----------------------------------
7662# VARIABLE is name of variable containing _space_ separated list of
7663# directories to be munged by the contents of PATH, which is string
7664# having a format:
7665# "DIR[:DIR]:"
7666#       string "DIR[ DIR]" will be prepended to VARIABLE
7667# ":DIR[:DIR]"
7668#       string "DIR[ DIR]" will be appended to VARIABLE
7669# "DIRP[:DIRP]::[DIRA:]DIRA"
7670#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
7671#       "DIRA[ DIRA]" will be appended to VARIABLE
7672# "DIR[:DIR]"
7673#       VARIABLE will be replaced by "DIR[ DIR]"
7674func_munge_path_list ()
7675{
7676    case x$2 in
7677    x)
7678        ;;
7679    *:)
7680        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
7681        ;;
7682    x:*)
7683        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
7684        ;;
7685    *::*)
7686        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
7687        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
7688        ;;
7689    *)
7690        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
7691        ;;
7692    esac
7693}
7694
7695ac_ext=c
7696ac_cpp='$CPP $CPPFLAGS'
7697ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7698ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7699ac_compiler_gnu=$ac_cv_c_compiler_gnu
7700{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7701$as_echo_n "checking how to run the C preprocessor... " >&6; }
7702# On Suns, sometimes $CPP names a directory.
7703if test -n "$CPP" && test -d "$CPP"; then
7704  CPP=
7705fi
7706if test -z "$CPP"; then
7707  if ${ac_cv_prog_CPP+:} false; then :
7708  $as_echo_n "(cached) " >&6
7709else
7710      # Double quotes because CPP needs to be expanded
7711    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7712    do
7713      ac_preproc_ok=false
7714for ac_c_preproc_warn_flag in '' yes
7715do
7716  # Use a header file that comes with gcc, so configuring glibc
7717  # with a fresh cross-compiler works.
7718  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7719  # <limits.h> exists even on freestanding compilers.
7720  # On the NeXT, cc -E runs the code through the compiler's parser,
7721  # not just through cpp. "Syntax error" is here to catch this case.
7722  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7723/* end confdefs.h.  */
7724#ifdef __STDC__
7725# include <limits.h>
7726#else
7727# include <assert.h>
7728#endif
7729		     Syntax error
7730_ACEOF
7731if ac_fn_c_try_cpp "$LINENO"; then :
7732
7733else
7734  # Broken: fails on valid input.
7735continue
7736fi
7737rm -f conftest.err conftest.i conftest.$ac_ext
7738
7739  # OK, works on sane cases.  Now check whether nonexistent headers
7740  # can be detected and how.
7741  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7742/* end confdefs.h.  */
7743#include <ac_nonexistent.h>
7744_ACEOF
7745if ac_fn_c_try_cpp "$LINENO"; then :
7746  # Broken: success on invalid input.
7747continue
7748else
7749  # Passes both tests.
7750ac_preproc_ok=:
7751break
7752fi
7753rm -f conftest.err conftest.i conftest.$ac_ext
7754
7755done
7756# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7757rm -f conftest.i conftest.err conftest.$ac_ext
7758if $ac_preproc_ok; then :
7759  break
7760fi
7761
7762    done
7763    ac_cv_prog_CPP=$CPP
7764
7765fi
7766  CPP=$ac_cv_prog_CPP
7767else
7768  ac_cv_prog_CPP=$CPP
7769fi
7770{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7771$as_echo "$CPP" >&6; }
7772ac_preproc_ok=false
7773for ac_c_preproc_warn_flag in '' yes
7774do
7775  # Use a header file that comes with gcc, so configuring glibc
7776  # with a fresh cross-compiler works.
7777  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7778  # <limits.h> exists even on freestanding compilers.
7779  # On the NeXT, cc -E runs the code through the compiler's parser,
7780  # not just through cpp. "Syntax error" is here to catch this case.
7781  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7782/* end confdefs.h.  */
7783#ifdef __STDC__
7784# include <limits.h>
7785#else
7786# include <assert.h>
7787#endif
7788		     Syntax error
7789_ACEOF
7790if ac_fn_c_try_cpp "$LINENO"; then :
7791
7792else
7793  # Broken: fails on valid input.
7794continue
7795fi
7796rm -f conftest.err conftest.i conftest.$ac_ext
7797
7798  # OK, works on sane cases.  Now check whether nonexistent headers
7799  # can be detected and how.
7800  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7801/* end confdefs.h.  */
7802#include <ac_nonexistent.h>
7803_ACEOF
7804if ac_fn_c_try_cpp "$LINENO"; then :
7805  # Broken: success on invalid input.
7806continue
7807else
7808  # Passes both tests.
7809ac_preproc_ok=:
7810break
7811fi
7812rm -f conftest.err conftest.i conftest.$ac_ext
7813
7814done
7815# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7816rm -f conftest.i conftest.err conftest.$ac_ext
7817if $ac_preproc_ok; then :
7818
7819else
7820  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7821$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7822as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7823See \`config.log' for more details" "$LINENO" 5; }
7824fi
7825
7826ac_ext=c
7827ac_cpp='$CPP $CPPFLAGS'
7828ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7829ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7830ac_compiler_gnu=$ac_cv_c_compiler_gnu
7831
7832
7833{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7834$as_echo_n "checking for ANSI C header files... " >&6; }
7835if ${ac_cv_header_stdc+:} false; then :
7836  $as_echo_n "(cached) " >&6
7837else
7838  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7839/* end confdefs.h.  */
7840#include <stdlib.h>
7841#include <stdarg.h>
7842#include <string.h>
7843#include <float.h>
7844
7845int
7846main ()
7847{
7848
7849  ;
7850  return 0;
7851}
7852_ACEOF
7853if ac_fn_c_try_compile "$LINENO"; then :
7854  ac_cv_header_stdc=yes
7855else
7856  ac_cv_header_stdc=no
7857fi
7858rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7859
7860if test $ac_cv_header_stdc = yes; then
7861  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7862  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7863/* end confdefs.h.  */
7864#include <string.h>
7865
7866_ACEOF
7867if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7868  $EGREP "memchr" >/dev/null 2>&1; then :
7869
7870else
7871  ac_cv_header_stdc=no
7872fi
7873rm -f conftest*
7874
7875fi
7876
7877if test $ac_cv_header_stdc = yes; then
7878  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7879  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7880/* end confdefs.h.  */
7881#include <stdlib.h>
7882
7883_ACEOF
7884if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7885  $EGREP "free" >/dev/null 2>&1; then :
7886
7887else
7888  ac_cv_header_stdc=no
7889fi
7890rm -f conftest*
7891
7892fi
7893
7894if test $ac_cv_header_stdc = yes; then
7895  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7896  if test "$cross_compiling" = yes; then :
7897  :
7898else
7899  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7900/* end confdefs.h.  */
7901#include <ctype.h>
7902#include <stdlib.h>
7903#if ((' ' & 0x0FF) == 0x020)
7904# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7905# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7906#else
7907# define ISLOWER(c) \
7908		   (('a' <= (c) && (c) <= 'i') \
7909		     || ('j' <= (c) && (c) <= 'r') \
7910		     || ('s' <= (c) && (c) <= 'z'))
7911# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7912#endif
7913
7914#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7915int
7916main ()
7917{
7918  int i;
7919  for (i = 0; i < 256; i++)
7920    if (XOR (islower (i), ISLOWER (i))
7921	|| toupper (i) != TOUPPER (i))
7922      return 2;
7923  return 0;
7924}
7925_ACEOF
7926if ac_fn_c_try_run "$LINENO"; then :
7927
7928else
7929  ac_cv_header_stdc=no
7930fi
7931rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7932  conftest.$ac_objext conftest.beam conftest.$ac_ext
7933fi
7934
7935fi
7936fi
7937{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7938$as_echo "$ac_cv_header_stdc" >&6; }
7939if test $ac_cv_header_stdc = yes; then
7940
7941$as_echo "#define STDC_HEADERS 1" >>confdefs.h
7942
7943fi
7944
7945# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7946for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7947		  inttypes.h stdint.h unistd.h
7948do :
7949  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7950ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7951"
7952if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7953  cat >>confdefs.h <<_ACEOF
7954#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7955_ACEOF
7956
7957fi
7958
7959done
7960
7961
7962for ac_header in dlfcn.h
7963do :
7964  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7965"
7966if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7967  cat >>confdefs.h <<_ACEOF
7968#define HAVE_DLFCN_H 1
7969_ACEOF
7970
7971fi
7972
7973done
7974
7975
7976if test "`cd $srcdir && pwd`" != "`pwd`"; then
7977  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
7978  # is not polluted with repeated "-I."
7979  am__isrc=' -I$(srcdir)'
7980  # test to see if srcdir already configured
7981  if test -f $srcdir/config.status; then
7982    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
7983  fi
7984fi
7985
7986# test whether we have cygpath
7987if test -z "$CYGPATH_W"; then
7988  if (cygpath --version) >/dev/null 2>/dev/null; then
7989    CYGPATH_W='cygpath -w'
7990  else
7991    CYGPATH_W=echo
7992  fi
7993fi
7994
7995
7996# Define the identity of the package.
7997 PACKAGE='ttfdump--tex-live-'
7998 VERSION='0.5.5'
7999
8000
8001cat >>confdefs.h <<_ACEOF
8002#define PACKAGE "$PACKAGE"
8003_ACEOF
8004
8005
8006cat >>confdefs.h <<_ACEOF
8007#define VERSION "$VERSION"
8008_ACEOF
8009
8010# Some tools Automake needs.
8011
8012ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
8013
8014
8015AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
8016
8017
8018AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
8019
8020
8021AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
8022
8023
8024MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
8025
8026# For better backward compatibility.  To be removed once Automake 1.9.x
8027# dies out for good.  For more background, see:
8028# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
8029# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
8030mkdir_p='$(MKDIR_P)'
8031
8032# We need awk for the "check" target (and possibly the TAP driver).  The
8033# system "awk" is bad on some platforms.
8034# Always define AMTAR for backward compatibility.  Yes, it's still used
8035# in the wild :-(  We should find a proper way to deprecate it ...
8036AMTAR='$${TAR-tar}'
8037
8038
8039# We'll loop over all known methods to create a tar archive until one works.
8040_am_tools='gnutar  pax cpio none'
8041
8042am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
8043
8044
8045
8046
8047
8048
8049# POSIX will say in a future version that running "rm -f" with no argument
8050# is OK; and we want to be able to make that assumption in our Makefile
8051# recipes.  So use an aggressive probe to check that the usage we want is
8052# actually supported "in the wild" to an acceptable degree.
8053# See automake bug#10828.
8054# To make any issue more visible, cause the running configure to be aborted
8055# by default if the 'rm' program in use doesn't match our expectations; the
8056# user can still override this though.
8057if rm -f && rm -fr && rm -rf; then : OK; else
8058  cat >&2 <<'END'
8059Oops!
8060
8061Your 'rm' program seems unable to run without file operands specified
8062on the command line, even when the '-f' option is present.  This is contrary
8063to the behaviour of most rm programs out there, and not conforming with
8064the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
8065
8066Please tell bug-automake@gnu.org about your system, including the value
8067of your $PATH and any error possibly output before this message.  This
8068can help us improve future automake versions.
8069
8070END
8071  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
8072    echo 'Configuration will proceed anyway, since you have set the' >&2
8073    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
8074    echo >&2
8075  else
8076    cat >&2 <<'END'
8077Aborting the configuration process, to ensure you take notice of the issue.
8078
8079You can download and install GNU coreutils to get an 'rm' implementation
8080that behaves properly: <http://www.gnu.org/software/coreutils/>.
8081
8082If you want to complete the configuration process using your problematic
8083'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
8084to "yes", and re-run configure.
8085
8086END
8087    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
8088  fi
8089fi
8090
8091
8092{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
8093$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
8094    # Check whether --enable-maintainer-mode was given.
8095if test "${enable_maintainer_mode+set}" = set; then :
8096  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
8097else
8098  USE_MAINTAINER_MODE=no
8099fi
8100
8101  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
8102$as_echo "$USE_MAINTAINER_MODE" >&6; }
8103   if test $USE_MAINTAINER_MODE = yes; then
8104  MAINTAINER_MODE_TRUE=
8105  MAINTAINER_MODE_FALSE='#'
8106else
8107  MAINTAINER_MODE_TRUE='#'
8108  MAINTAINER_MODE_FALSE=
8109fi
8110
8111  MAINT=$MAINTAINER_MODE_TRUE
8112
8113
8114{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5
8115$as_echo_n "checking whether the compiler accepts prototypes... " >&6; }
8116if ${kb_cv_c_prototypes+:} false; then :
8117  $as_echo_n "(cached) " >&6
8118else
8119  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8120/* end confdefs.h.  */
8121#include <stdarg.h>
8122int
8123main ()
8124{
8125extern void foo(int i,...);
8126  ;
8127  return 0;
8128}
8129_ACEOF
8130if ac_fn_c_try_link "$LINENO"; then :
8131  kb_cv_c_prototypes=yes
8132else
8133  kb_cv_c_prototypes=no
8134fi
8135rm -f core conftest.err conftest.$ac_objext \
8136    conftest$ac_exeext conftest.$ac_ext
8137fi
8138{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kb_cv_c_prototypes" >&5
8139$as_echo "$kb_cv_c_prototypes" >&6; }
8140if test "x$kb_cv_c_prototypes" = xno; then
8141  as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5
8142fi
8143{ $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
8144$as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
8145if ${kpse_cv_warning_cflags+:} false; then :
8146  $as_echo_n "(cached) " >&6
8147else
8148  if test "x$GCC" = xyes; then
8149  kpse_cv_warning_cflags=
8150if test "x$enable_compiler_warnings" != xno; then
8151  kpse_cv_warning_cflags="-Wimplicit -Wreturn-type"
8152  case `$CC -dumpversion` in #(
8153  3.4.* | 4.*) :
8154    kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wdeclaration-after-statement" ;; #(
8155  *) :
8156     ;;
8157esac
8158  case `$CC -dumpversion` in #(
8159  3.[234].* | 4.*) :
8160    kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wno-unknown-pragmas" ;; #(
8161  *) :
8162     ;;
8163esac
8164  if test "x$enable_compiler_warnings" != xmin; then
8165    kpse_cv_warning_cflags="-Wall -Wunused $kpse_cv_warning_cflags"
8166    kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wmissing-prototypes -Wmissing-declarations"
8167    if test "x$enable_compiler_warnings" != xyes; then
8168      kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith"
8169      kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wcast-qual -Wcast-align -Wwrite-strings"
8170      case `$CC -dumpversion` in #(
8171  3.4.* | 4.*) :
8172    kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wold-style-definition" ;; #(
8173  *) :
8174     ;;
8175esac
8176      if test "x$enable_compiler_warnings" != xmax; then
8177        kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wshadow"
8178      fi
8179    fi
8180  fi
8181fi
8182elif test "x$enable_compiler_warnings" = xno; then
8183  kpse_cv_warning_cflags=
8184else
8185  kpse_cv_warning_cflags= # FIXME: warning flags for non-GNU C compilers
8186fi
8187fi
8188{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_cflags" >&5
8189$as_echo "$kpse_cv_warning_cflags" >&6; }
8190WARNING_CFLAGS=$kpse_cv_warning_cflags
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203# Set options
8204enable_win32_dll=yes
8205
8206case $host in
8207*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
8208  if test -n "$ac_tool_prefix"; then
8209  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
8210set dummy ${ac_tool_prefix}as; ac_word=$2
8211{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8212$as_echo_n "checking for $ac_word... " >&6; }
8213if ${ac_cv_prog_AS+:} false; then :
8214  $as_echo_n "(cached) " >&6
8215else
8216  if test -n "$AS"; then
8217  ac_cv_prog_AS="$AS" # Let the user override the test.
8218else
8219as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8220for as_dir in $PATH
8221do
8222  IFS=$as_save_IFS
8223  test -z "$as_dir" && as_dir=.
8224    for ac_exec_ext in '' $ac_executable_extensions; do
8225  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8226    ac_cv_prog_AS="${ac_tool_prefix}as"
8227    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8228    break 2
8229  fi
8230done
8231  done
8232IFS=$as_save_IFS
8233
8234fi
8235fi
8236AS=$ac_cv_prog_AS
8237if test -n "$AS"; then
8238  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
8239$as_echo "$AS" >&6; }
8240else
8241  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8242$as_echo "no" >&6; }
8243fi
8244
8245
8246fi
8247if test -z "$ac_cv_prog_AS"; then
8248  ac_ct_AS=$AS
8249  # Extract the first word of "as", so it can be a program name with args.
8250set dummy as; ac_word=$2
8251{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8252$as_echo_n "checking for $ac_word... " >&6; }
8253if ${ac_cv_prog_ac_ct_AS+:} false; then :
8254  $as_echo_n "(cached) " >&6
8255else
8256  if test -n "$ac_ct_AS"; then
8257  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
8258else
8259as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8260for as_dir in $PATH
8261do
8262  IFS=$as_save_IFS
8263  test -z "$as_dir" && as_dir=.
8264    for ac_exec_ext in '' $ac_executable_extensions; do
8265  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8266    ac_cv_prog_ac_ct_AS="as"
8267    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8268    break 2
8269  fi
8270done
8271  done
8272IFS=$as_save_IFS
8273
8274fi
8275fi
8276ac_ct_AS=$ac_cv_prog_ac_ct_AS
8277if test -n "$ac_ct_AS"; then
8278  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
8279$as_echo "$ac_ct_AS" >&6; }
8280else
8281  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8282$as_echo "no" >&6; }
8283fi
8284
8285  if test "x$ac_ct_AS" = x; then
8286    AS="false"
8287  else
8288    case $cross_compiling:$ac_tool_warned in
8289yes:)
8290{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8291$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8292ac_tool_warned=yes ;;
8293esac
8294    AS=$ac_ct_AS
8295  fi
8296else
8297  AS="$ac_cv_prog_AS"
8298fi
8299
8300  if test -n "$ac_tool_prefix"; then
8301  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8302set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8303{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8304$as_echo_n "checking for $ac_word... " >&6; }
8305if ${ac_cv_prog_DLLTOOL+:} false; then :
8306  $as_echo_n "(cached) " >&6
8307else
8308  if test -n "$DLLTOOL"; then
8309  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8310else
8311as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8312for as_dir in $PATH
8313do
8314  IFS=$as_save_IFS
8315  test -z "$as_dir" && as_dir=.
8316    for ac_exec_ext in '' $ac_executable_extensions; do
8317  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8318    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8319    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8320    break 2
8321  fi
8322done
8323  done
8324IFS=$as_save_IFS
8325
8326fi
8327fi
8328DLLTOOL=$ac_cv_prog_DLLTOOL
8329if test -n "$DLLTOOL"; then
8330  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8331$as_echo "$DLLTOOL" >&6; }
8332else
8333  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8334$as_echo "no" >&6; }
8335fi
8336
8337
8338fi
8339if test -z "$ac_cv_prog_DLLTOOL"; then
8340  ac_ct_DLLTOOL=$DLLTOOL
8341  # Extract the first word of "dlltool", so it can be a program name with args.
8342set dummy dlltool; ac_word=$2
8343{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8344$as_echo_n "checking for $ac_word... " >&6; }
8345if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8346  $as_echo_n "(cached) " >&6
8347else
8348  if test -n "$ac_ct_DLLTOOL"; then
8349  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8350else
8351as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8352for as_dir in $PATH
8353do
8354  IFS=$as_save_IFS
8355  test -z "$as_dir" && as_dir=.
8356    for ac_exec_ext in '' $ac_executable_extensions; do
8357  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8358    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8359    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8360    break 2
8361  fi
8362done
8363  done
8364IFS=$as_save_IFS
8365
8366fi
8367fi
8368ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8369if test -n "$ac_ct_DLLTOOL"; then
8370  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8371$as_echo "$ac_ct_DLLTOOL" >&6; }
8372else
8373  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8374$as_echo "no" >&6; }
8375fi
8376
8377  if test "x$ac_ct_DLLTOOL" = x; then
8378    DLLTOOL="false"
8379  else
8380    case $cross_compiling:$ac_tool_warned in
8381yes:)
8382{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8383$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8384ac_tool_warned=yes ;;
8385esac
8386    DLLTOOL=$ac_ct_DLLTOOL
8387  fi
8388else
8389  DLLTOOL="$ac_cv_prog_DLLTOOL"
8390fi
8391
8392  if test -n "$ac_tool_prefix"; then
8393  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
8394set dummy ${ac_tool_prefix}objdump; ac_word=$2
8395{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8396$as_echo_n "checking for $ac_word... " >&6; }
8397if ${ac_cv_prog_OBJDUMP+:} false; then :
8398  $as_echo_n "(cached) " >&6
8399else
8400  if test -n "$OBJDUMP"; then
8401  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8402else
8403as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8404for as_dir in $PATH
8405do
8406  IFS=$as_save_IFS
8407  test -z "$as_dir" && as_dir=.
8408    for ac_exec_ext in '' $ac_executable_extensions; do
8409  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8410    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
8411    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8412    break 2
8413  fi
8414done
8415  done
8416IFS=$as_save_IFS
8417
8418fi
8419fi
8420OBJDUMP=$ac_cv_prog_OBJDUMP
8421if test -n "$OBJDUMP"; then
8422  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
8423$as_echo "$OBJDUMP" >&6; }
8424else
8425  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8426$as_echo "no" >&6; }
8427fi
8428
8429
8430fi
8431if test -z "$ac_cv_prog_OBJDUMP"; then
8432  ac_ct_OBJDUMP=$OBJDUMP
8433  # Extract the first word of "objdump", so it can be a program name with args.
8434set dummy objdump; ac_word=$2
8435{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8436$as_echo_n "checking for $ac_word... " >&6; }
8437if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
8438  $as_echo_n "(cached) " >&6
8439else
8440  if test -n "$ac_ct_OBJDUMP"; then
8441  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
8442else
8443as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8444for as_dir in $PATH
8445do
8446  IFS=$as_save_IFS
8447  test -z "$as_dir" && as_dir=.
8448    for ac_exec_ext in '' $ac_executable_extensions; do
8449  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8450    ac_cv_prog_ac_ct_OBJDUMP="objdump"
8451    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8452    break 2
8453  fi
8454done
8455  done
8456IFS=$as_save_IFS
8457
8458fi
8459fi
8460ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
8461if test -n "$ac_ct_OBJDUMP"; then
8462  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8463$as_echo "$ac_ct_OBJDUMP" >&6; }
8464else
8465  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8466$as_echo "no" >&6; }
8467fi
8468
8469  if test "x$ac_ct_OBJDUMP" = x; then
8470    OBJDUMP="false"
8471  else
8472    case $cross_compiling:$ac_tool_warned in
8473yes:)
8474{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8475$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8476ac_tool_warned=yes ;;
8477esac
8478    OBJDUMP=$ac_ct_OBJDUMP
8479  fi
8480else
8481  OBJDUMP="$ac_cv_prog_OBJDUMP"
8482fi
8483
8484  ;;
8485esac
8486
8487test -z "$AS" && AS=as
8488
8489
8490
8491
8492
8493test -z "$DLLTOOL" && DLLTOOL=dlltool
8494
8495
8496
8497
8498
8499test -z "$OBJDUMP" && OBJDUMP=objdump
8500
8501
8502
8503
8504
8505
8506
8507        enable_dlopen=no
8508
8509
8510
8511            # Check whether --enable-shared was given.
8512if test "${enable_shared+set}" = set; then :
8513  enableval=$enable_shared; p=${PACKAGE-default}
8514    case $enableval in
8515    yes) enable_shared=yes ;;
8516    no) enable_shared=no ;;
8517    *)
8518      enable_shared=no
8519      # Look at the argument we got.  We use all the common list separators.
8520      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8521      for pkg in $enableval; do
8522	IFS=$lt_save_ifs
8523	if test "X$pkg" = "X$p"; then
8524	  enable_shared=yes
8525	fi
8526      done
8527      IFS=$lt_save_ifs
8528      ;;
8529    esac
8530else
8531  enable_shared=yes
8532fi
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542  # Check whether --enable-static was given.
8543if test "${enable_static+set}" = set; then :
8544  enableval=$enable_static; p=${PACKAGE-default}
8545    case $enableval in
8546    yes) enable_static=yes ;;
8547    no) enable_static=no ;;
8548    *)
8549     enable_static=no
8550      # Look at the argument we got.  We use all the common list separators.
8551      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8552      for pkg in $enableval; do
8553	IFS=$lt_save_ifs
8554	if test "X$pkg" = "X$p"; then
8555	  enable_static=yes
8556	fi
8557      done
8558      IFS=$lt_save_ifs
8559      ;;
8560    esac
8561else
8562  enable_static=yes
8563fi
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574# Check whether --with-pic was given.
8575if test "${with_pic+set}" = set; then :
8576  withval=$with_pic; lt_p=${PACKAGE-default}
8577    case $withval in
8578    yes|no) pic_mode=$withval ;;
8579    *)
8580      pic_mode=default
8581      # Look at the argument we got.  We use all the common list separators.
8582      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8583      for lt_pkg in $withval; do
8584	IFS=$lt_save_ifs
8585	if test "X$lt_pkg" = "X$lt_p"; then
8586	  pic_mode=yes
8587	fi
8588      done
8589      IFS=$lt_save_ifs
8590      ;;
8591    esac
8592else
8593  pic_mode=default
8594fi
8595
8596
8597
8598
8599
8600
8601
8602
8603  # Check whether --enable-fast-install was given.
8604if test "${enable_fast_install+set}" = set; then :
8605  enableval=$enable_fast_install; p=${PACKAGE-default}
8606    case $enableval in
8607    yes) enable_fast_install=yes ;;
8608    no) enable_fast_install=no ;;
8609    *)
8610      enable_fast_install=no
8611      # Look at the argument we got.  We use all the common list separators.
8612      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8613      for pkg in $enableval; do
8614	IFS=$lt_save_ifs
8615	if test "X$pkg" = "X$p"; then
8616	  enable_fast_install=yes
8617	fi
8618      done
8619      IFS=$lt_save_ifs
8620      ;;
8621    esac
8622else
8623  enable_fast_install=yes
8624fi
8625
8626
8627
8628
8629
8630
8631
8632
8633  shared_archive_member_spec=
8634case $host,$enable_shared in
8635power*-*-aix[5-9]*,yes)
8636  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
8637$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
8638
8639# Check whether --with-aix-soname was given.
8640if test "${with_aix_soname+set}" = set; then :
8641  withval=$with_aix_soname; case $withval in
8642    aix|svr4|both)
8643      ;;
8644    *)
8645      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
8646      ;;
8647    esac
8648    lt_cv_with_aix_soname=$with_aix_soname
8649else
8650  if ${lt_cv_with_aix_soname+:} false; then :
8651  $as_echo_n "(cached) " >&6
8652else
8653  lt_cv_with_aix_soname=aix
8654fi
8655
8656    with_aix_soname=$lt_cv_with_aix_soname
8657fi
8658
8659  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
8660$as_echo "$with_aix_soname" >&6; }
8661  if test aix != "$with_aix_soname"; then
8662    # For the AIX way of multilib, we name the shared archive member
8663    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
8664    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
8665    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
8666    # the AIX toolchain works better with OBJECT_MODE set (default 32).
8667    if test 64 = "${OBJECT_MODE-32}"; then
8668      shared_archive_member_spec=shr_64
8669    else
8670      shared_archive_member_spec=shr
8671    fi
8672  fi
8673  ;;
8674*)
8675  with_aix_soname=aix
8676  ;;
8677esac
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688# This can be used to rebuild libtool when needed
8689LIBTOOL_DEPS=$ltmain
8690
8691# Always use our own libtool.
8692LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723test -z "$LN_S" && LN_S="ln -s"
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738if test -n "${ZSH_VERSION+set}"; then
8739   setopt NO_GLOB_SUBST
8740fi
8741
8742{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8743$as_echo_n "checking for objdir... " >&6; }
8744if ${lt_cv_objdir+:} false; then :
8745  $as_echo_n "(cached) " >&6
8746else
8747  rm -f .libs 2>/dev/null
8748mkdir .libs 2>/dev/null
8749if test -d .libs; then
8750  lt_cv_objdir=.libs
8751else
8752  # MS-DOS does not allow filenames that begin with a dot.
8753  lt_cv_objdir=_libs
8754fi
8755rmdir .libs 2>/dev/null
8756fi
8757{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8758$as_echo "$lt_cv_objdir" >&6; }
8759objdir=$lt_cv_objdir
8760
8761
8762
8763
8764
8765cat >>confdefs.h <<_ACEOF
8766#define LT_OBJDIR "$lt_cv_objdir/"
8767_ACEOF
8768
8769
8770
8771
8772case $host_os in
8773aix3*)
8774  # AIX sometimes has problems with the GCC collect2 program.  For some
8775  # reason, if we set the COLLECT_NAMES environment variable, the problems
8776  # vanish in a puff of smoke.
8777  if test set != "${COLLECT_NAMES+set}"; then
8778    COLLECT_NAMES=
8779    export COLLECT_NAMES
8780  fi
8781  ;;
8782esac
8783
8784# Global variables:
8785ofile=libtool
8786can_build_shared=yes
8787
8788# All known linkers require a '.a' archive for static linking (except MSVC,
8789# which needs '.lib').
8790libext=a
8791
8792with_gnu_ld=$lt_cv_prog_gnu_ld
8793
8794old_CC=$CC
8795old_CFLAGS=$CFLAGS
8796
8797# Set sane defaults for various variables
8798test -z "$CC" && CC=cc
8799test -z "$LTCC" && LTCC=$CC
8800test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8801test -z "$LD" && LD=ld
8802test -z "$ac_objext" && ac_objext=o
8803
8804func_cc_basename $compiler
8805cc_basename=$func_cc_basename_result
8806
8807
8808# Only perform the check for file, if the check method requires it
8809test -z "$MAGIC_CMD" && MAGIC_CMD=file
8810case $deplibs_check_method in
8811file_magic*)
8812  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8813    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8814$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8815if ${lt_cv_path_MAGIC_CMD+:} false; then :
8816  $as_echo_n "(cached) " >&6
8817else
8818  case $MAGIC_CMD in
8819[\\/*] |  ?:[\\/]*)
8820  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8821  ;;
8822*)
8823  lt_save_MAGIC_CMD=$MAGIC_CMD
8824  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8825  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8826  for ac_dir in $ac_dummy; do
8827    IFS=$lt_save_ifs
8828    test -z "$ac_dir" && ac_dir=.
8829    if test -f "$ac_dir/${ac_tool_prefix}file"; then
8830      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
8831      if test -n "$file_magic_test_file"; then
8832	case $deplibs_check_method in
8833	"file_magic "*)
8834	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8835	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8836	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8837	    $EGREP "$file_magic_regex" > /dev/null; then
8838	    :
8839	  else
8840	    cat <<_LT_EOF 1>&2
8841
8842*** Warning: the command libtool uses to detect shared libraries,
8843*** $file_magic_cmd, produces output that libtool cannot recognize.
8844*** The result is that libtool may fail to recognize shared libraries
8845*** as such.  This will affect the creation of libtool libraries that
8846*** depend on shared libraries, but programs linked with such libtool
8847*** libraries will work regardless of this problem.  Nevertheless, you
8848*** may want to report the problem to your system manager and/or to
8849*** bug-libtool@gnu.org
8850
8851_LT_EOF
8852	  fi ;;
8853	esac
8854      fi
8855      break
8856    fi
8857  done
8858  IFS=$lt_save_ifs
8859  MAGIC_CMD=$lt_save_MAGIC_CMD
8860  ;;
8861esac
8862fi
8863
8864MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8865if test -n "$MAGIC_CMD"; then
8866  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8867$as_echo "$MAGIC_CMD" >&6; }
8868else
8869  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8870$as_echo "no" >&6; }
8871fi
8872
8873
8874
8875
8876
8877if test -z "$lt_cv_path_MAGIC_CMD"; then
8878  if test -n "$ac_tool_prefix"; then
8879    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8880$as_echo_n "checking for file... " >&6; }
8881if ${lt_cv_path_MAGIC_CMD+:} false; then :
8882  $as_echo_n "(cached) " >&6
8883else
8884  case $MAGIC_CMD in
8885[\\/*] |  ?:[\\/]*)
8886  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8887  ;;
8888*)
8889  lt_save_MAGIC_CMD=$MAGIC_CMD
8890  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8891  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8892  for ac_dir in $ac_dummy; do
8893    IFS=$lt_save_ifs
8894    test -z "$ac_dir" && ac_dir=.
8895    if test -f "$ac_dir/file"; then
8896      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
8897      if test -n "$file_magic_test_file"; then
8898	case $deplibs_check_method in
8899	"file_magic "*)
8900	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8901	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8902	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8903	    $EGREP "$file_magic_regex" > /dev/null; then
8904	    :
8905	  else
8906	    cat <<_LT_EOF 1>&2
8907
8908*** Warning: the command libtool uses to detect shared libraries,
8909*** $file_magic_cmd, produces output that libtool cannot recognize.
8910*** The result is that libtool may fail to recognize shared libraries
8911*** as such.  This will affect the creation of libtool libraries that
8912*** depend on shared libraries, but programs linked with such libtool
8913*** libraries will work regardless of this problem.  Nevertheless, you
8914*** may want to report the problem to your system manager and/or to
8915*** bug-libtool@gnu.org
8916
8917_LT_EOF
8918	  fi ;;
8919	esac
8920      fi
8921      break
8922    fi
8923  done
8924  IFS=$lt_save_ifs
8925  MAGIC_CMD=$lt_save_MAGIC_CMD
8926  ;;
8927esac
8928fi
8929
8930MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8931if test -n "$MAGIC_CMD"; then
8932  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8933$as_echo "$MAGIC_CMD" >&6; }
8934else
8935  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8936$as_echo "no" >&6; }
8937fi
8938
8939
8940  else
8941    MAGIC_CMD=:
8942  fi
8943fi
8944
8945  fi
8946  ;;
8947esac
8948
8949# Use C for the default configuration in the libtool script
8950
8951lt_save_CC=$CC
8952ac_ext=c
8953ac_cpp='$CPP $CPPFLAGS'
8954ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8955ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8956ac_compiler_gnu=$ac_cv_c_compiler_gnu
8957
8958
8959# Source file extension for C test sources.
8960ac_ext=c
8961
8962# Object file extension for compiled C test sources.
8963objext=o
8964objext=$objext
8965
8966# Code to be used in simple compile tests
8967lt_simple_compile_test_code="int some_variable = 0;"
8968
8969# Code to be used in simple link tests
8970lt_simple_link_test_code='int main(){return(0);}'
8971
8972
8973
8974
8975
8976
8977
8978# If no C compiler was specified, use CC.
8979LTCC=${LTCC-"$CC"}
8980
8981# If no C compiler flags were specified, use CFLAGS.
8982LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8983
8984# Allow CC to be a program name with arguments.
8985compiler=$CC
8986
8987# Save the default compiler, since it gets overwritten when the other
8988# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8989compiler_DEFAULT=$CC
8990
8991# save warnings/boilerplate of simple test code
8992ac_outfile=conftest.$ac_objext
8993echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8994eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8995_lt_compiler_boilerplate=`cat conftest.err`
8996$RM conftest*
8997
8998ac_outfile=conftest.$ac_objext
8999echo "$lt_simple_link_test_code" >conftest.$ac_ext
9000eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9001_lt_linker_boilerplate=`cat conftest.err`
9002$RM -r conftest*
9003
9004
9005## CAVEAT EMPTOR:
9006## There is no encapsulation within the following macros, do not change
9007## the running order or otherwise move them around unless you know exactly
9008## what you are doing...
9009if test -n "$compiler"; then
9010
9011lt_prog_compiler_no_builtin_flag=
9012
9013if test yes = "$GCC"; then
9014  case $cc_basename in
9015  nvcc*)
9016    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9017  *)
9018    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9019  esac
9020
9021  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9022$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9023if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9024  $as_echo_n "(cached) " >&6
9025else
9026  lt_cv_prog_compiler_rtti_exceptions=no
9027   ac_outfile=conftest.$ac_objext
9028   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9029   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
9030   # Insert the option either (1) after the last *FLAGS variable, or
9031   # (2) before a word containing "conftest.", or (3) at the end.
9032   # Note that $ac_compile itself does not contain backslashes and begins
9033   # with a dollar sign (not a hyphen), so the echo should work correctly.
9034   # The option is referenced via a variable to avoid confusing sed.
9035   lt_compile=`echo "$ac_compile" | $SED \
9036   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9037   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9038   -e 's:$: $lt_compiler_flag:'`
9039   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9040   (eval "$lt_compile" 2>conftest.err)
9041   ac_status=$?
9042   cat conftest.err >&5
9043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9044   if (exit $ac_status) && test -s "$ac_outfile"; then
9045     # The compiler can only warn and ignore the option if not recognized
9046     # So say no if there are warnings other than the usual output.
9047     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9048     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9049     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9050       lt_cv_prog_compiler_rtti_exceptions=yes
9051     fi
9052   fi
9053   $RM conftest*
9054
9055fi
9056{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9057$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9058
9059if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9060    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9061else
9062    :
9063fi
9064
9065fi
9066
9067
9068
9069
9070
9071
9072  lt_prog_compiler_wl=
9073lt_prog_compiler_pic=
9074lt_prog_compiler_static=
9075
9076
9077  if test yes = "$GCC"; then
9078    lt_prog_compiler_wl='-Wl,'
9079    lt_prog_compiler_static='-static'
9080
9081    case $host_os in
9082      aix*)
9083      # All AIX code is PIC.
9084      if test ia64 = "$host_cpu"; then
9085	# AIX 5 now supports IA64 processor
9086	lt_prog_compiler_static='-Bstatic'
9087      fi
9088      lt_prog_compiler_pic='-fPIC'
9089      ;;
9090
9091    amigaos*)
9092      case $host_cpu in
9093      powerpc)
9094            # see comment about AmigaOS4 .so support
9095            lt_prog_compiler_pic='-fPIC'
9096        ;;
9097      m68k)
9098            # FIXME: we need at least 68020 code to build shared libraries, but
9099            # adding the '-m68020' flag to GCC prevents building anything better,
9100            # like '-m68040'.
9101            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9102        ;;
9103      esac
9104      ;;
9105
9106    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9107      # PIC is the default for these OSes.
9108      ;;
9109
9110    mingw* | cygwin* | pw32* | os2* | cegcc*)
9111      # This hack is so that the source file can tell whether it is being
9112      # built for inclusion in a dll (and should export symbols for example).
9113      # Although the cygwin gcc ignores -fPIC, still need this for old-style
9114      # (--disable-auto-import) libraries
9115      lt_prog_compiler_pic='-DDLL_EXPORT'
9116      case $host_os in
9117      os2*)
9118	lt_prog_compiler_static='$wl-static'
9119	;;
9120      esac
9121      ;;
9122
9123    darwin* | rhapsody*)
9124      # PIC is the default on this platform
9125      # Common symbols not allowed in MH_DYLIB files
9126      lt_prog_compiler_pic='-fno-common'
9127      ;;
9128
9129    haiku*)
9130      # PIC is the default for Haiku.
9131      # The "-static" flag exists, but is broken.
9132      lt_prog_compiler_static=
9133      ;;
9134
9135    hpux*)
9136      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9137      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9138      # sets the default TLS model and affects inlining.
9139      case $host_cpu in
9140      hppa*64*)
9141	# +Z the default
9142	;;
9143      *)
9144	lt_prog_compiler_pic='-fPIC'
9145	;;
9146      esac
9147      ;;
9148
9149    interix[3-9]*)
9150      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9151      # Instead, we relocate shared libraries at runtime.
9152      ;;
9153
9154    msdosdjgpp*)
9155      # Just because we use GCC doesn't mean we suddenly get shared libraries
9156      # on systems that don't support them.
9157      lt_prog_compiler_can_build_shared=no
9158      enable_shared=no
9159      ;;
9160
9161    *nto* | *qnx*)
9162      # QNX uses GNU C++, but need to define -shared option too, otherwise
9163      # it will coredump.
9164      lt_prog_compiler_pic='-fPIC -shared'
9165      ;;
9166
9167    sysv4*MP*)
9168      if test -d /usr/nec; then
9169	lt_prog_compiler_pic=-Kconform_pic
9170      fi
9171      ;;
9172
9173    *)
9174      lt_prog_compiler_pic='-fPIC'
9175      ;;
9176    esac
9177
9178    case $cc_basename in
9179    nvcc*) # Cuda Compiler Driver 2.2
9180      lt_prog_compiler_wl='-Xlinker '
9181      if test -n "$lt_prog_compiler_pic"; then
9182        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9183      fi
9184      ;;
9185    esac
9186  else
9187    # PORTME Check for flag to pass linker flags through the system compiler.
9188    case $host_os in
9189    aix*)
9190      lt_prog_compiler_wl='-Wl,'
9191      if test ia64 = "$host_cpu"; then
9192	# AIX 5 now supports IA64 processor
9193	lt_prog_compiler_static='-Bstatic'
9194      else
9195	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9196      fi
9197      ;;
9198
9199    darwin* | rhapsody*)
9200      # PIC is the default on this platform
9201      # Common symbols not allowed in MH_DYLIB files
9202      lt_prog_compiler_pic='-fno-common'
9203      case $cc_basename in
9204      nagfor*)
9205        # NAG Fortran compiler
9206        lt_prog_compiler_wl='-Wl,-Wl,,'
9207        lt_prog_compiler_pic='-PIC'
9208        lt_prog_compiler_static='-Bstatic'
9209        ;;
9210      esac
9211      ;;
9212
9213    mingw* | cygwin* | pw32* | os2* | cegcc*)
9214      # This hack is so that the source file can tell whether it is being
9215      # built for inclusion in a dll (and should export symbols for example).
9216      lt_prog_compiler_pic='-DDLL_EXPORT'
9217      case $host_os in
9218      os2*)
9219	lt_prog_compiler_static='$wl-static'
9220	;;
9221      esac
9222      ;;
9223
9224    hpux9* | hpux10* | hpux11*)
9225      lt_prog_compiler_wl='-Wl,'
9226      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9227      # not for PA HP-UX.
9228      case $host_cpu in
9229      hppa*64*|ia64*)
9230	# +Z the default
9231	;;
9232      *)
9233	lt_prog_compiler_pic='+Z'
9234	;;
9235      esac
9236      # Is there a better lt_prog_compiler_static that works with the bundled CC?
9237      lt_prog_compiler_static='$wl-a ${wl}archive'
9238      ;;
9239
9240    irix5* | irix6* | nonstopux*)
9241      lt_prog_compiler_wl='-Wl,'
9242      # PIC (with -KPIC) is the default.
9243      lt_prog_compiler_static='-non_shared'
9244      ;;
9245
9246    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9247      case $cc_basename in
9248      # old Intel for x86_64, which still supported -KPIC.
9249      ecc*)
9250	lt_prog_compiler_wl='-Wl,'
9251	lt_prog_compiler_pic='-KPIC'
9252	lt_prog_compiler_static='-static'
9253        ;;
9254      # icc used to be incompatible with GCC.
9255      # ICC 10 doesn't accept -KPIC any more.
9256      icc* | ifort*)
9257	lt_prog_compiler_wl='-Wl,'
9258	lt_prog_compiler_pic='-fPIC'
9259	lt_prog_compiler_static='-static'
9260        ;;
9261      # Lahey Fortran 8.1.
9262      lf95*)
9263	lt_prog_compiler_wl='-Wl,'
9264	lt_prog_compiler_pic='--shared'
9265	lt_prog_compiler_static='--static'
9266	;;
9267      nagfor*)
9268	# NAG Fortran compiler
9269	lt_prog_compiler_wl='-Wl,-Wl,,'
9270	lt_prog_compiler_pic='-PIC'
9271	lt_prog_compiler_static='-Bstatic'
9272	;;
9273      tcc*)
9274	# Fabrice Bellard et al's Tiny C Compiler
9275	lt_prog_compiler_wl='-Wl,'
9276	lt_prog_compiler_pic='-fPIC'
9277	lt_prog_compiler_static='-static'
9278	;;
9279      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9280        # Portland Group compilers (*not* the Pentium gcc compiler,
9281	# which looks to be a dead project)
9282	lt_prog_compiler_wl='-Wl,'
9283	lt_prog_compiler_pic='-fpic'
9284	lt_prog_compiler_static='-Bstatic'
9285        ;;
9286      ccc*)
9287        lt_prog_compiler_wl='-Wl,'
9288        # All Alpha code is PIC.
9289        lt_prog_compiler_static='-non_shared'
9290        ;;
9291      xl* | bgxl* | bgf* | mpixl*)
9292	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9293	lt_prog_compiler_wl='-Wl,'
9294	lt_prog_compiler_pic='-qpic'
9295	lt_prog_compiler_static='-qstaticlink'
9296	;;
9297      *)
9298	case `$CC -V 2>&1 | sed 5q` in
9299	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9300	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
9301	  lt_prog_compiler_pic='-KPIC'
9302	  lt_prog_compiler_static='-Bstatic'
9303	  lt_prog_compiler_wl=''
9304	  ;;
9305	*Sun\ F* | *Sun*Fortran*)
9306	  lt_prog_compiler_pic='-KPIC'
9307	  lt_prog_compiler_static='-Bstatic'
9308	  lt_prog_compiler_wl='-Qoption ld '
9309	  ;;
9310	*Sun\ C*)
9311	  # Sun C 5.9
9312	  lt_prog_compiler_pic='-KPIC'
9313	  lt_prog_compiler_static='-Bstatic'
9314	  lt_prog_compiler_wl='-Wl,'
9315	  ;;
9316        *Intel*\ [CF]*Compiler*)
9317	  lt_prog_compiler_wl='-Wl,'
9318	  lt_prog_compiler_pic='-fPIC'
9319	  lt_prog_compiler_static='-static'
9320	  ;;
9321	*Portland\ Group*)
9322	  lt_prog_compiler_wl='-Wl,'
9323	  lt_prog_compiler_pic='-fpic'
9324	  lt_prog_compiler_static='-Bstatic'
9325	  ;;
9326	esac
9327	;;
9328      esac
9329      ;;
9330
9331    newsos6)
9332      lt_prog_compiler_pic='-KPIC'
9333      lt_prog_compiler_static='-Bstatic'
9334      ;;
9335
9336    *nto* | *qnx*)
9337      # QNX uses GNU C++, but need to define -shared option too, otherwise
9338      # it will coredump.
9339      lt_prog_compiler_pic='-fPIC -shared'
9340      ;;
9341
9342    osf3* | osf4* | osf5*)
9343      lt_prog_compiler_wl='-Wl,'
9344      # All OSF/1 code is PIC.
9345      lt_prog_compiler_static='-non_shared'
9346      ;;
9347
9348    rdos*)
9349      lt_prog_compiler_static='-non_shared'
9350      ;;
9351
9352    solaris*)
9353      lt_prog_compiler_pic='-KPIC'
9354      lt_prog_compiler_static='-Bstatic'
9355      case $cc_basename in
9356      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9357	lt_prog_compiler_wl='-Qoption ld ';;
9358      *)
9359	lt_prog_compiler_wl='-Wl,';;
9360      esac
9361      ;;
9362
9363    sunos4*)
9364      lt_prog_compiler_wl='-Qoption ld '
9365      lt_prog_compiler_pic='-PIC'
9366      lt_prog_compiler_static='-Bstatic'
9367      ;;
9368
9369    sysv4 | sysv4.2uw2* | sysv4.3*)
9370      lt_prog_compiler_wl='-Wl,'
9371      lt_prog_compiler_pic='-KPIC'
9372      lt_prog_compiler_static='-Bstatic'
9373      ;;
9374
9375    sysv4*MP*)
9376      if test -d /usr/nec; then
9377	lt_prog_compiler_pic='-Kconform_pic'
9378	lt_prog_compiler_static='-Bstatic'
9379      fi
9380      ;;
9381
9382    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9383      lt_prog_compiler_wl='-Wl,'
9384      lt_prog_compiler_pic='-KPIC'
9385      lt_prog_compiler_static='-Bstatic'
9386      ;;
9387
9388    unicos*)
9389      lt_prog_compiler_wl='-Wl,'
9390      lt_prog_compiler_can_build_shared=no
9391      ;;
9392
9393    uts4*)
9394      lt_prog_compiler_pic='-pic'
9395      lt_prog_compiler_static='-Bstatic'
9396      ;;
9397
9398    *)
9399      lt_prog_compiler_can_build_shared=no
9400      ;;
9401    esac
9402  fi
9403
9404case $host_os in
9405  # For platforms that do not support PIC, -DPIC is meaningless:
9406  *djgpp*)
9407    lt_prog_compiler_pic=
9408    ;;
9409  *)
9410    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9411    ;;
9412esac
9413
9414{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9415$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9416if ${lt_cv_prog_compiler_pic+:} false; then :
9417  $as_echo_n "(cached) " >&6
9418else
9419  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9420fi
9421{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9422$as_echo "$lt_cv_prog_compiler_pic" >&6; }
9423lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9424
9425#
9426# Check to make sure the PIC flag actually works.
9427#
9428if test -n "$lt_prog_compiler_pic"; then
9429  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9430$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9431if ${lt_cv_prog_compiler_pic_works+:} false; then :
9432  $as_echo_n "(cached) " >&6
9433else
9434  lt_cv_prog_compiler_pic_works=no
9435   ac_outfile=conftest.$ac_objext
9436   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9437   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
9438   # Insert the option either (1) after the last *FLAGS variable, or
9439   # (2) before a word containing "conftest.", or (3) at the end.
9440   # Note that $ac_compile itself does not contain backslashes and begins
9441   # with a dollar sign (not a hyphen), so the echo should work correctly.
9442   # The option is referenced via a variable to avoid confusing sed.
9443   lt_compile=`echo "$ac_compile" | $SED \
9444   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9445   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9446   -e 's:$: $lt_compiler_flag:'`
9447   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9448   (eval "$lt_compile" 2>conftest.err)
9449   ac_status=$?
9450   cat conftest.err >&5
9451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9452   if (exit $ac_status) && test -s "$ac_outfile"; then
9453     # The compiler can only warn and ignore the option if not recognized
9454     # So say no if there are warnings other than the usual output.
9455     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9456     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9457     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9458       lt_cv_prog_compiler_pic_works=yes
9459     fi
9460   fi
9461   $RM conftest*
9462
9463fi
9464{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9465$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9466
9467if test yes = "$lt_cv_prog_compiler_pic_works"; then
9468    case $lt_prog_compiler_pic in
9469     "" | " "*) ;;
9470     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9471     esac
9472else
9473    lt_prog_compiler_pic=
9474     lt_prog_compiler_can_build_shared=no
9475fi
9476
9477fi
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489#
9490# Check to make sure the static flag actually works.
9491#
9492wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9493{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9494$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9495if ${lt_cv_prog_compiler_static_works+:} false; then :
9496  $as_echo_n "(cached) " >&6
9497else
9498  lt_cv_prog_compiler_static_works=no
9499   save_LDFLAGS=$LDFLAGS
9500   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9501   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9502   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9503     # The linker can only warn and ignore the option if not recognized
9504     # So say no if there are warnings
9505     if test -s conftest.err; then
9506       # Append any errors to the config.log.
9507       cat conftest.err 1>&5
9508       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9509       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9510       if diff conftest.exp conftest.er2 >/dev/null; then
9511         lt_cv_prog_compiler_static_works=yes
9512       fi
9513     else
9514       lt_cv_prog_compiler_static_works=yes
9515     fi
9516   fi
9517   $RM -r conftest*
9518   LDFLAGS=$save_LDFLAGS
9519
9520fi
9521{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9522$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9523
9524if test yes = "$lt_cv_prog_compiler_static_works"; then
9525    :
9526else
9527    lt_prog_compiler_static=
9528fi
9529
9530
9531
9532
9533
9534
9535
9536  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9537$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9538if ${lt_cv_prog_compiler_c_o+:} false; then :
9539  $as_echo_n "(cached) " >&6
9540else
9541  lt_cv_prog_compiler_c_o=no
9542   $RM -r conftest 2>/dev/null
9543   mkdir conftest
9544   cd conftest
9545   mkdir out
9546   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9547
9548   lt_compiler_flag="-o out/conftest2.$ac_objext"
9549   # Insert the option either (1) after the last *FLAGS variable, or
9550   # (2) before a word containing "conftest.", or (3) at the end.
9551   # Note that $ac_compile itself does not contain backslashes and begins
9552   # with a dollar sign (not a hyphen), so the echo should work correctly.
9553   lt_compile=`echo "$ac_compile" | $SED \
9554   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9555   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9556   -e 's:$: $lt_compiler_flag:'`
9557   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9558   (eval "$lt_compile" 2>out/conftest.err)
9559   ac_status=$?
9560   cat out/conftest.err >&5
9561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9562   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9563   then
9564     # The compiler can only warn and ignore the option if not recognized
9565     # So say no if there are warnings
9566     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9567     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9568     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9569       lt_cv_prog_compiler_c_o=yes
9570     fi
9571   fi
9572   chmod u+w . 2>&5
9573   $RM conftest*
9574   # SGI C++ compiler will create directory out/ii_files/ for
9575   # template instantiation
9576   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9577   $RM out/* && rmdir out
9578   cd ..
9579   $RM -r conftest
9580   $RM conftest*
9581
9582fi
9583{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9584$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9585
9586
9587
9588
9589
9590
9591  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9592$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9593if ${lt_cv_prog_compiler_c_o+:} false; then :
9594  $as_echo_n "(cached) " >&6
9595else
9596  lt_cv_prog_compiler_c_o=no
9597   $RM -r conftest 2>/dev/null
9598   mkdir conftest
9599   cd conftest
9600   mkdir out
9601   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9602
9603   lt_compiler_flag="-o out/conftest2.$ac_objext"
9604   # Insert the option either (1) after the last *FLAGS variable, or
9605   # (2) before a word containing "conftest.", or (3) at the end.
9606   # Note that $ac_compile itself does not contain backslashes and begins
9607   # with a dollar sign (not a hyphen), so the echo should work correctly.
9608   lt_compile=`echo "$ac_compile" | $SED \
9609   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9610   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9611   -e 's:$: $lt_compiler_flag:'`
9612   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9613   (eval "$lt_compile" 2>out/conftest.err)
9614   ac_status=$?
9615   cat out/conftest.err >&5
9616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9617   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9618   then
9619     # The compiler can only warn and ignore the option if not recognized
9620     # So say no if there are warnings
9621     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9622     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9623     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9624       lt_cv_prog_compiler_c_o=yes
9625     fi
9626   fi
9627   chmod u+w . 2>&5
9628   $RM conftest*
9629   # SGI C++ compiler will create directory out/ii_files/ for
9630   # template instantiation
9631   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9632   $RM out/* && rmdir out
9633   cd ..
9634   $RM -r conftest
9635   $RM conftest*
9636
9637fi
9638{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9639$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9640
9641
9642
9643
9644hard_links=nottested
9645if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
9646  # do not overwrite the value of need_locks provided by the user
9647  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9648$as_echo_n "checking if we can lock with hard links... " >&6; }
9649  hard_links=yes
9650  $RM conftest*
9651  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9652  touch conftest.a
9653  ln conftest.a conftest.b 2>&5 || hard_links=no
9654  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9655  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9656$as_echo "$hard_links" >&6; }
9657  if test no = "$hard_links"; then
9658    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
9659$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
9660    need_locks=warn
9661  fi
9662else
9663  need_locks=no
9664fi
9665
9666
9667
9668
9669
9670
9671  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9672$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9673
9674  runpath_var=
9675  allow_undefined_flag=
9676  always_export_symbols=no
9677  archive_cmds=
9678  archive_expsym_cmds=
9679  compiler_needs_object=no
9680  enable_shared_with_static_runtimes=no
9681  export_dynamic_flag_spec=
9682  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9683  hardcode_automatic=no
9684  hardcode_direct=no
9685  hardcode_direct_absolute=no
9686  hardcode_libdir_flag_spec=
9687  hardcode_libdir_separator=
9688  hardcode_minus_L=no
9689  hardcode_shlibpath_var=unsupported
9690  inherit_rpath=no
9691  link_all_deplibs=unknown
9692  module_cmds=
9693  module_expsym_cmds=
9694  old_archive_from_new_cmds=
9695  old_archive_from_expsyms_cmds=
9696  thread_safe_flag_spec=
9697  whole_archive_flag_spec=
9698  # include_expsyms should be a list of space-separated symbols to be *always*
9699  # included in the symbol list
9700  include_expsyms=
9701  # exclude_expsyms can be an extended regexp of symbols to exclude
9702  # it will be wrapped by ' (' and ')$', so one must not match beginning or
9703  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9704  # as well as any symbol that contains 'd'.
9705  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9706  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9707  # platforms (ab)use it in PIC code, but their linkers get confused if
9708  # the symbol is explicitly referenced.  Since portable code cannot
9709  # rely on this symbol name, it's probably fine to never include it in
9710  # preloaded symbol tables.
9711  # Exclude shared library initialization/finalization symbols.
9712  extract_expsyms_cmds=
9713
9714  case $host_os in
9715  cygwin* | mingw* | pw32* | cegcc*)
9716    # FIXME: the MSVC++ port hasn't been tested in a loooong time
9717    # When not using gcc, we currently assume that we are using
9718    # Microsoft Visual C++.
9719    if test yes != "$GCC"; then
9720      with_gnu_ld=no
9721    fi
9722    ;;
9723  interix*)
9724    # we just hope/assume this is gcc and not c89 (= MSVC++)
9725    with_gnu_ld=yes
9726    ;;
9727  openbsd* | bitrig*)
9728    with_gnu_ld=no
9729    ;;
9730  esac
9731
9732  ld_shlibs=yes
9733
9734  # On some targets, GNU ld is compatible enough with the native linker
9735  # that we're better off using the native interface for both.
9736  lt_use_gnu_ld_interface=no
9737  if test yes = "$with_gnu_ld"; then
9738    case $host_os in
9739      aix*)
9740	# The AIX port of GNU ld has always aspired to compatibility
9741	# with the native linker.  However, as the warning in the GNU ld
9742	# block says, versions before 2.19.5* couldn't really create working
9743	# shared libraries, regardless of the interface used.
9744	case `$LD -v 2>&1` in
9745	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9746	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9747	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9748	  *)
9749	    lt_use_gnu_ld_interface=yes
9750	    ;;
9751	esac
9752	;;
9753      *)
9754	lt_use_gnu_ld_interface=yes
9755	;;
9756    esac
9757  fi
9758
9759  if test yes = "$lt_use_gnu_ld_interface"; then
9760    # If archive_cmds runs LD, not CC, wlarc should be empty
9761    wlarc='$wl'
9762
9763    # Set some defaults for GNU ld with shared library support. These
9764    # are reset later if shared libraries are not supported. Putting them
9765    # here allows them to be overridden if necessary.
9766    runpath_var=LD_RUN_PATH
9767    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9768    export_dynamic_flag_spec='$wl--export-dynamic'
9769    # ancient GNU ld didn't support --whole-archive et. al.
9770    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9771      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9772    else
9773      whole_archive_flag_spec=
9774    fi
9775    supports_anon_versioning=no
9776    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9777      *GNU\ gold*) supports_anon_versioning=yes ;;
9778      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9779      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9780      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9781      *\ 2.11.*) ;; # other 2.11 versions
9782      *) supports_anon_versioning=yes ;;
9783    esac
9784
9785    # See if GNU ld supports shared libraries.
9786    case $host_os in
9787    aix[3-9]*)
9788      # On AIX/PPC, the GNU linker is very broken
9789      if test ia64 != "$host_cpu"; then
9790	ld_shlibs=no
9791	cat <<_LT_EOF 1>&2
9792
9793*** Warning: the GNU linker, at least up to release 2.19, is reported
9794*** to be unable to reliably create shared libraries on AIX.
9795*** Therefore, libtool is disabling shared libraries support.  If you
9796*** really care for shared libraries, you may want to install binutils
9797*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9798*** You will then need to restart the configuration process.
9799
9800_LT_EOF
9801      fi
9802      ;;
9803
9804    amigaos*)
9805      case $host_cpu in
9806      powerpc)
9807            # see comment about AmigaOS4 .so support
9808            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9809            archive_expsym_cmds=''
9810        ;;
9811      m68k)
9812            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)'
9813            hardcode_libdir_flag_spec='-L$libdir'
9814            hardcode_minus_L=yes
9815        ;;
9816      esac
9817      ;;
9818
9819    beos*)
9820      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9821	allow_undefined_flag=unsupported
9822	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9823	# support --undefined.  This deserves some investigation.  FIXME
9824	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9825      else
9826	ld_shlibs=no
9827      fi
9828      ;;
9829
9830    cygwin* | mingw* | pw32* | cegcc*)
9831      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9832      # as there is no search path for DLLs.
9833      hardcode_libdir_flag_spec='-L$libdir'
9834      export_dynamic_flag_spec='$wl--export-all-symbols'
9835      allow_undefined_flag=unsupported
9836      always_export_symbols=no
9837      enable_shared_with_static_runtimes=yes
9838      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
9839      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9840
9841      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9842        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9843	# If the export-symbols file already is a .def file, use it as
9844	# is; otherwise, prepend EXPORTS...
9845	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
9846          cp $export_symbols $output_objdir/$soname.def;
9847        else
9848          echo EXPORTS > $output_objdir/$soname.def;
9849          cat $export_symbols >> $output_objdir/$soname.def;
9850        fi~
9851        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9852      else
9853	ld_shlibs=no
9854      fi
9855      ;;
9856
9857    haiku*)
9858      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9859      link_all_deplibs=yes
9860      ;;
9861
9862    os2*)
9863      hardcode_libdir_flag_spec='-L$libdir'
9864      hardcode_minus_L=yes
9865      allow_undefined_flag=unsupported
9866      shrext_cmds=.dll
9867      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9868	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9869	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9870	$ECHO EXPORTS >> $output_objdir/$libname.def~
9871	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9872	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9873	emximp -o $lib $output_objdir/$libname.def'
9874      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9875	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9876	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9877	$ECHO EXPORTS >> $output_objdir/$libname.def~
9878	prefix_cmds="$SED"~
9879	if test EXPORTS = "`$SED 1q $export_symbols`"; then
9880	  prefix_cmds="$prefix_cmds -e 1d";
9881	fi~
9882	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9883	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9884	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9885	emximp -o $lib $output_objdir/$libname.def'
9886      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9887      enable_shared_with_static_runtimes=yes
9888      ;;
9889
9890    interix[3-9]*)
9891      hardcode_direct=no
9892      hardcode_shlibpath_var=no
9893      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9894      export_dynamic_flag_spec='$wl-E'
9895      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9896      # Instead, shared libraries are loaded at an image base (0x10000000 by
9897      # default) and relocated if they conflict, which is a slow very memory
9898      # consuming and fragmenting process.  To avoid this, we pick a random,
9899      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9900      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9901      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9902      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'
9903      ;;
9904
9905    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9906      tmp_diet=no
9907      if test linux-dietlibc = "$host_os"; then
9908	case $cc_basename in
9909	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
9910	esac
9911      fi
9912      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9913	 && test no = "$tmp_diet"
9914      then
9915	tmp_addflag=' $pic_flag'
9916	tmp_sharedflag='-shared'
9917	case $cc_basename,$host_cpu in
9918        pgcc*)				# Portland Group C compiler
9919	  whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
9920	  tmp_addflag=' $pic_flag'
9921	  ;;
9922	pgf77* | pgf90* | pgf95* | pgfortran*)
9923					# Portland Group f77 and f90 compilers
9924	  whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
9925	  tmp_addflag=' $pic_flag -Mnomain' ;;
9926	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
9927	  tmp_addflag=' -i_dynamic' ;;
9928	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
9929	  tmp_addflag=' -i_dynamic -nofor_main' ;;
9930	ifc* | ifort*)			# Intel Fortran compiler
9931	  tmp_addflag=' -nofor_main' ;;
9932	lf95*)				# Lahey Fortran 8.1
9933	  whole_archive_flag_spec=
9934	  tmp_sharedflag='--shared' ;;
9935        nagfor*)                        # NAGFOR 5.3
9936          tmp_sharedflag='-Wl,-shared' ;;
9937	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9938	  tmp_sharedflag='-qmkshrobj'
9939	  tmp_addflag= ;;
9940	nvcc*)	# Cuda Compiler Driver 2.2
9941	  whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
9942	  compiler_needs_object=yes
9943	  ;;
9944	esac
9945	case `$CC -V 2>&1 | sed 5q` in
9946	*Sun\ C*)			# Sun C 5.9
9947	  whole_archive_flag_spec='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
9948	  compiler_needs_object=yes
9949	  tmp_sharedflag='-G' ;;
9950	*Sun\ F*)			# Sun Fortran 8.3
9951	  tmp_sharedflag='-G' ;;
9952	esac
9953	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9954
9955        if test yes = "$supports_anon_versioning"; then
9956          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9957            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9958            echo "local: *; };" >> $output_objdir/$libname.ver~
9959            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
9960        fi
9961
9962	case $cc_basename in
9963	tcc*)
9964	  export_dynamic_flag_spec='-rdynamic'
9965	  ;;
9966	xlf* | bgf* | bgxlf* | mpixlf*)
9967	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9968	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9969	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9970	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9971	  if test yes = "$supports_anon_versioning"; then
9972	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9973              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9974              echo "local: *; };" >> $output_objdir/$libname.ver~
9975              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9976	  fi
9977	  ;;
9978	esac
9979      else
9980        ld_shlibs=no
9981      fi
9982      ;;
9983
9984    netbsd*)
9985      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9986	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9987	wlarc=
9988      else
9989	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9990	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9991      fi
9992      ;;
9993
9994    solaris*)
9995      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9996	ld_shlibs=no
9997	cat <<_LT_EOF 1>&2
9998
9999*** Warning: The releases 2.8.* of the GNU linker cannot reliably
10000*** create shared libraries on Solaris systems.  Therefore, libtool
10001*** is disabling shared libraries support.  We urge you to upgrade GNU
10002*** binutils to release 2.9.1 or newer.  Another option is to modify
10003*** your PATH or compiler configuration so that the native linker is
10004*** used, and then restart.
10005
10006_LT_EOF
10007      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10008	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10009	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10010      else
10011	ld_shlibs=no
10012      fi
10013      ;;
10014
10015    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10016      case `$LD -v 2>&1` in
10017        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10018	ld_shlibs=no
10019	cat <<_LT_EOF 1>&2
10020
10021*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10022*** reliably create shared libraries on SCO systems.  Therefore, libtool
10023*** is disabling shared libraries support.  We urge you to upgrade GNU
10024*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10025*** your PATH or compiler configuration so that the native linker is
10026*** used, and then restart.
10027
10028_LT_EOF
10029	;;
10030	*)
10031	  # For security reasons, it is highly recommended that you always
10032	  # use absolute paths for naming shared libraries, and exclude the
10033	  # DT_RUNPATH tag from executables and libraries.  But doing so
10034	  # requires that you compile everything twice, which is a pain.
10035	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10036	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10037	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10038	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10039	  else
10040	    ld_shlibs=no
10041	  fi
10042	;;
10043      esac
10044      ;;
10045
10046    sunos4*)
10047      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10048      wlarc=
10049      hardcode_direct=yes
10050      hardcode_shlibpath_var=no
10051      ;;
10052
10053    *)
10054      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10055	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10056	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10057      else
10058	ld_shlibs=no
10059      fi
10060      ;;
10061    esac
10062
10063    if test no = "$ld_shlibs"; then
10064      runpath_var=
10065      hardcode_libdir_flag_spec=
10066      export_dynamic_flag_spec=
10067      whole_archive_flag_spec=
10068    fi
10069  else
10070    # PORTME fill in a description of your system's linker (not GNU ld)
10071    case $host_os in
10072    aix3*)
10073      allow_undefined_flag=unsupported
10074      always_export_symbols=yes
10075      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'
10076      # Note: this linker hardcodes the directories in LIBPATH if there
10077      # are no directories specified by -L.
10078      hardcode_minus_L=yes
10079      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10080	# Neither direct hardcoding nor static linking is supported with a
10081	# broken collect2.
10082	hardcode_direct=unsupported
10083      fi
10084      ;;
10085
10086    aix[4-9]*)
10087      if test ia64 = "$host_cpu"; then
10088	# On IA64, the linker does run time linking by default, so we don't
10089	# have to do anything special.
10090	aix_use_runtimelinking=no
10091	exp_sym_flag='-Bexport'
10092	no_entry_flag=
10093      else
10094	# If we're using GNU nm, then we don't want the "-C" option.
10095	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
10096	# Without the "-l" option, or with the "-B" option, AIX nm treats
10097	# weak defined symbols like other global defined symbols, whereas
10098	# GNU nm marks them as "W".
10099	# While the 'weak' keyword is ignored in the Export File, we need
10100	# it in the Import File for the 'aix-soname' feature, so we have
10101	# to replace the "-B" option with "-P" for AIX nm.
10102	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10103	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
10104	else
10105	  export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
10106	fi
10107	aix_use_runtimelinking=no
10108
10109	# Test if we are trying to use run time linking or normal
10110	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
10111	# have runtime linking enabled, and use it for executables.
10112	# For shared libraries, we enable/disable runtime linking
10113	# depending on the kind of the shared library created -
10114	# when "with_aix_soname,aix_use_runtimelinking" is:
10115	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
10116	# "aix,yes"  lib.so          shared, rtl:yes, for executables
10117	#            lib.a           static archive
10118	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
10119	#            lib.a(lib.so.V) shared, rtl:no,  for executables
10120	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10121	#            lib.a(lib.so.V) shared, rtl:no
10122	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
10123	#            lib.a           static archive
10124	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10125	  for ld_flag in $LDFLAGS; do
10126	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
10127	    aix_use_runtimelinking=yes
10128	    break
10129	  fi
10130	  done
10131	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
10132	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
10133	    # so we don't have lib.a shared libs to link our executables.
10134	    # We have to force runtime linking in this case.
10135	    aix_use_runtimelinking=yes
10136	    LDFLAGS="$LDFLAGS -Wl,-brtl"
10137	  fi
10138	  ;;
10139	esac
10140
10141	exp_sym_flag='-bexport'
10142	no_entry_flag='-bnoentry'
10143      fi
10144
10145      # When large executables or shared objects are built, AIX ld can
10146      # have problems creating the table of contents.  If linking a library
10147      # or program results in "error TOC overflow" add -mminimal-toc to
10148      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10149      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10150
10151      archive_cmds=''
10152      hardcode_direct=yes
10153      hardcode_direct_absolute=yes
10154      hardcode_libdir_separator=':'
10155      link_all_deplibs=yes
10156      file_list_spec='$wl-f,'
10157      case $with_aix_soname,$aix_use_runtimelinking in
10158      aix,*) ;; # traditional, no import file
10159      svr4,* | *,yes) # use import file
10160	# The Import File defines what to hardcode.
10161	hardcode_direct=no
10162	hardcode_direct_absolute=no
10163	;;
10164      esac
10165
10166      if test yes = "$GCC"; then
10167	case $host_os in aix4.[012]|aix4.[012].*)
10168	# We only want to do this on AIX 4.2 and lower, the check
10169	# below for broken collect2 doesn't work under 4.3+
10170	  collect2name=`$CC -print-prog-name=collect2`
10171	  if test -f "$collect2name" &&
10172	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10173	  then
10174	  # We have reworked collect2
10175	  :
10176	  else
10177	  # We have old collect2
10178	  hardcode_direct=unsupported
10179	  # It fails to find uninstalled libraries when the uninstalled
10180	  # path is not listed in the libpath.  Setting hardcode_minus_L
10181	  # to unsupported forces relinking
10182	  hardcode_minus_L=yes
10183	  hardcode_libdir_flag_spec='-L$libdir'
10184	  hardcode_libdir_separator=
10185	  fi
10186	  ;;
10187	esac
10188	shared_flag='-shared'
10189	if test yes = "$aix_use_runtimelinking"; then
10190	  shared_flag="$shared_flag "'$wl-G'
10191	fi
10192	# Need to ensure runtime linking is disabled for the traditional
10193	# shared library, or the linker may eventually find shared libraries
10194	# /with/ Import File - we do not want to mix them.
10195	shared_flag_aix='-shared'
10196	shared_flag_svr4='-shared $wl-G'
10197      else
10198	# not using gcc
10199	if test ia64 = "$host_cpu"; then
10200	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10201	# chokes on -Wl,-G. The following line is correct:
10202	  shared_flag='-G'
10203	else
10204	  if test yes = "$aix_use_runtimelinking"; then
10205	    shared_flag='$wl-G'
10206	  else
10207	    shared_flag='$wl-bM:SRE'
10208	  fi
10209	  shared_flag_aix='$wl-bM:SRE'
10210	  shared_flag_svr4='$wl-G'
10211	fi
10212      fi
10213
10214      export_dynamic_flag_spec='$wl-bexpall'
10215      # It seems that -bexpall does not export symbols beginning with
10216      # underscore (_), so it is better to generate a list of symbols to export.
10217      always_export_symbols=yes
10218      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
10219	# Warning - without using the other runtime loading flags (-brtl),
10220	# -berok will link without error, but may produce a broken library.
10221	allow_undefined_flag='-berok'
10222        # Determine the default libpath from the value encoded in an
10223        # empty executable.
10224        if test set = "${lt_cv_aix_libpath+set}"; then
10225  aix_libpath=$lt_cv_aix_libpath
10226else
10227  if ${lt_cv_aix_libpath_+:} false; then :
10228  $as_echo_n "(cached) " >&6
10229else
10230  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10231/* end confdefs.h.  */
10232
10233int
10234main ()
10235{
10236
10237  ;
10238  return 0;
10239}
10240_ACEOF
10241if ac_fn_c_try_link "$LINENO"; then :
10242
10243  lt_aix_libpath_sed='
10244      /Import File Strings/,/^$/ {
10245	  /^0/ {
10246	      s/^0  *\([^ ]*\) *$/\1/
10247	      p
10248	  }
10249      }'
10250  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10251  # Check for a 64-bit object if we didn't find anything.
10252  if test -z "$lt_cv_aix_libpath_"; then
10253    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10254  fi
10255fi
10256rm -f core conftest.err conftest.$ac_objext \
10257    conftest$ac_exeext conftest.$ac_ext
10258  if test -z "$lt_cv_aix_libpath_"; then
10259    lt_cv_aix_libpath_=/usr/lib:/lib
10260  fi
10261
10262fi
10263
10264  aix_libpath=$lt_cv_aix_libpath_
10265fi
10266
10267        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10268        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
10269      else
10270	if test ia64 = "$host_cpu"; then
10271	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
10272	  allow_undefined_flag="-z nodefs"
10273	  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"
10274	else
10275	 # Determine the default libpath from the value encoded in an
10276	 # empty executable.
10277	 if test set = "${lt_cv_aix_libpath+set}"; then
10278  aix_libpath=$lt_cv_aix_libpath
10279else
10280  if ${lt_cv_aix_libpath_+:} false; then :
10281  $as_echo_n "(cached) " >&6
10282else
10283  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10284/* end confdefs.h.  */
10285
10286int
10287main ()
10288{
10289
10290  ;
10291  return 0;
10292}
10293_ACEOF
10294if ac_fn_c_try_link "$LINENO"; then :
10295
10296  lt_aix_libpath_sed='
10297      /Import File Strings/,/^$/ {
10298	  /^0/ {
10299	      s/^0  *\([^ ]*\) *$/\1/
10300	      p
10301	  }
10302      }'
10303  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10304  # Check for a 64-bit object if we didn't find anything.
10305  if test -z "$lt_cv_aix_libpath_"; then
10306    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10307  fi
10308fi
10309rm -f core conftest.err conftest.$ac_objext \
10310    conftest$ac_exeext conftest.$ac_ext
10311  if test -z "$lt_cv_aix_libpath_"; then
10312    lt_cv_aix_libpath_=/usr/lib:/lib
10313  fi
10314
10315fi
10316
10317  aix_libpath=$lt_cv_aix_libpath_
10318fi
10319
10320	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10321	  # Warning - without using the other run time loading flags,
10322	  # -berok will link without error, but may produce a broken library.
10323	  no_undefined_flag=' $wl-bernotok'
10324	  allow_undefined_flag=' $wl-berok'
10325	  if test yes = "$with_gnu_ld"; then
10326	    # We only use this code for GNU lds that support --whole-archive.
10327	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
10328	  else
10329	    # Exported symbols can be pulled into shared objects from archives
10330	    whole_archive_flag_spec='$convenience'
10331	  fi
10332	  archive_cmds_need_lc=yes
10333	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
10334	  # -brtl affects multiple linker settings, -berok does not and is overridden later
10335	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
10336	  if test svr4 != "$with_aix_soname"; then
10337	    # This is similar to how AIX traditionally builds its shared libraries.
10338	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
10339	  fi
10340	  if test aix != "$with_aix_soname"; then
10341	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
10342	  else
10343	    # used by -dlpreopen to get the symbols
10344	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
10345	  fi
10346	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
10347	fi
10348      fi
10349      ;;
10350
10351    amigaos*)
10352      case $host_cpu in
10353      powerpc)
10354            # see comment about AmigaOS4 .so support
10355            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10356            archive_expsym_cmds=''
10357        ;;
10358      m68k)
10359            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)'
10360            hardcode_libdir_flag_spec='-L$libdir'
10361            hardcode_minus_L=yes
10362        ;;
10363      esac
10364      ;;
10365
10366    bsdi[45]*)
10367      export_dynamic_flag_spec=-rdynamic
10368      ;;
10369
10370    cygwin* | mingw* | pw32* | cegcc*)
10371      # When not using gcc, we currently assume that we are using
10372      # Microsoft Visual C++.
10373      # hardcode_libdir_flag_spec is actually meaningless, as there is
10374      # no search path for DLLs.
10375      case $cc_basename in
10376      cl*)
10377	# Native MSVC
10378	hardcode_libdir_flag_spec=' '
10379	allow_undefined_flag=unsupported
10380	always_export_symbols=yes
10381	file_list_spec='@'
10382	# Tell ltmain to make .lib files, not .a files.
10383	libext=lib
10384	# Tell ltmain to make .dll files, not .so files.
10385	shrext_cmds=.dll
10386	# FIXME: Setting linknames here is a bad hack.
10387	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10388	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
10389            cp "$export_symbols" "$output_objdir/$soname.def";
10390            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10391          else
10392            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10393          fi~
10394          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10395          linknames='
10396	# The linker will not automatically build a static lib if we build a DLL.
10397	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10398	enable_shared_with_static_runtimes=yes
10399	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10400	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10401	# Don't use ranlib
10402	old_postinstall_cmds='chmod 644 $oldlib'
10403	postlink_cmds='lt_outputfile="@OUTPUT@"~
10404          lt_tool_outputfile="@TOOL_OUTPUT@"~
10405          case $lt_outputfile in
10406            *.exe|*.EXE) ;;
10407            *)
10408              lt_outputfile=$lt_outputfile.exe
10409              lt_tool_outputfile=$lt_tool_outputfile.exe
10410              ;;
10411          esac~
10412          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10413            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10414            $RM "$lt_outputfile.manifest";
10415          fi'
10416	;;
10417      *)
10418	# Assume MSVC wrapper
10419	hardcode_libdir_flag_spec=' '
10420	allow_undefined_flag=unsupported
10421	# Tell ltmain to make .lib files, not .a files.
10422	libext=lib
10423	# Tell ltmain to make .dll files, not .so files.
10424	shrext_cmds=.dll
10425	# FIXME: Setting linknames here is a bad hack.
10426	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10427	# The linker will automatically build a .lib file if we build a DLL.
10428	old_archive_from_new_cmds='true'
10429	# FIXME: Should let the user specify the lib program.
10430	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10431	enable_shared_with_static_runtimes=yes
10432	;;
10433      esac
10434      ;;
10435
10436    darwin* | rhapsody*)
10437
10438
10439  archive_cmds_need_lc=no
10440  hardcode_direct=no
10441  hardcode_automatic=yes
10442  hardcode_shlibpath_var=unsupported
10443  if test yes = "$lt_cv_ld_force_load"; then
10444    whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
10445
10446  else
10447    whole_archive_flag_spec=''
10448  fi
10449  link_all_deplibs=yes
10450  allow_undefined_flag=$_lt_dar_allow_undefined
10451  case $cc_basename in
10452     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
10453     *) _lt_dar_can_shared=$GCC ;;
10454  esac
10455  if test yes = "$_lt_dar_can_shared"; then
10456    output_verbose_link_cmd=func_echo_all
10457    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10458    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10459    archive_expsym_cmds="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
10460    module_expsym_cmds="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
10461
10462  else
10463  ld_shlibs=no
10464  fi
10465
10466      ;;
10467
10468    dgux*)
10469      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10470      hardcode_libdir_flag_spec='-L$libdir'
10471      hardcode_shlibpath_var=no
10472      ;;
10473
10474    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10475    # support.  Future versions do this automatically, but an explicit c++rt0.o
10476    # does not break anything, and helps significantly (at the cost of a little
10477    # extra space).
10478    freebsd2.2*)
10479      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10480      hardcode_libdir_flag_spec='-R$libdir'
10481      hardcode_direct=yes
10482      hardcode_shlibpath_var=no
10483      ;;
10484
10485    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10486    freebsd2.*)
10487      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10488      hardcode_direct=yes
10489      hardcode_minus_L=yes
10490      hardcode_shlibpath_var=no
10491      ;;
10492
10493    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10494    freebsd* | dragonfly*)
10495      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10496      hardcode_libdir_flag_spec='-R$libdir'
10497      hardcode_direct=yes
10498      hardcode_shlibpath_var=no
10499      ;;
10500
10501    hpux9*)
10502      if test yes = "$GCC"; then
10503	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
10504      else
10505	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
10506      fi
10507      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10508      hardcode_libdir_separator=:
10509      hardcode_direct=yes
10510
10511      # hardcode_minus_L: Not really in the search PATH,
10512      # but as the default location of the library.
10513      hardcode_minus_L=yes
10514      export_dynamic_flag_spec='$wl-E'
10515      ;;
10516
10517    hpux10*)
10518      if test yes,no = "$GCC,$with_gnu_ld"; then
10519	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10520      else
10521	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10522      fi
10523      if test no = "$with_gnu_ld"; then
10524	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10525	hardcode_libdir_separator=:
10526	hardcode_direct=yes
10527	hardcode_direct_absolute=yes
10528	export_dynamic_flag_spec='$wl-E'
10529	# hardcode_minus_L: Not really in the search PATH,
10530	# but as the default location of the library.
10531	hardcode_minus_L=yes
10532      fi
10533      ;;
10534
10535    hpux11*)
10536      if test yes,no = "$GCC,$with_gnu_ld"; then
10537	case $host_cpu in
10538	hppa*64*)
10539	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10540	  ;;
10541	ia64*)
10542	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10543	  ;;
10544	*)
10545	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10546	  ;;
10547	esac
10548      else
10549	case $host_cpu in
10550	hppa*64*)
10551	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10552	  ;;
10553	ia64*)
10554	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10555	  ;;
10556	*)
10557
10558	  # Older versions of the 11.00 compiler do not understand -b yet
10559	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10560	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10561$as_echo_n "checking if $CC understands -b... " >&6; }
10562if ${lt_cv_prog_compiler__b+:} false; then :
10563  $as_echo_n "(cached) " >&6
10564else
10565  lt_cv_prog_compiler__b=no
10566   save_LDFLAGS=$LDFLAGS
10567   LDFLAGS="$LDFLAGS -b"
10568   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10569   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10570     # The linker can only warn and ignore the option if not recognized
10571     # So say no if there are warnings
10572     if test -s conftest.err; then
10573       # Append any errors to the config.log.
10574       cat conftest.err 1>&5
10575       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10576       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10577       if diff conftest.exp conftest.er2 >/dev/null; then
10578         lt_cv_prog_compiler__b=yes
10579       fi
10580     else
10581       lt_cv_prog_compiler__b=yes
10582     fi
10583   fi
10584   $RM -r conftest*
10585   LDFLAGS=$save_LDFLAGS
10586
10587fi
10588{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10589$as_echo "$lt_cv_prog_compiler__b" >&6; }
10590
10591if test yes = "$lt_cv_prog_compiler__b"; then
10592    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10593else
10594    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10595fi
10596
10597	  ;;
10598	esac
10599      fi
10600      if test no = "$with_gnu_ld"; then
10601	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10602	hardcode_libdir_separator=:
10603
10604	case $host_cpu in
10605	hppa*64*|ia64*)
10606	  hardcode_direct=no
10607	  hardcode_shlibpath_var=no
10608	  ;;
10609	*)
10610	  hardcode_direct=yes
10611	  hardcode_direct_absolute=yes
10612	  export_dynamic_flag_spec='$wl-E'
10613
10614	  # hardcode_minus_L: Not really in the search PATH,
10615	  # but as the default location of the library.
10616	  hardcode_minus_L=yes
10617	  ;;
10618	esac
10619      fi
10620      ;;
10621
10622    irix5* | irix6* | nonstopux*)
10623      if test yes = "$GCC"; then
10624	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
10625	# Try to use the -exported_symbol ld option, if it does not
10626	# work, assume that -exports_file does not work either and
10627	# implicitly export all symbols.
10628	# This should be the same for all languages, so no per-tag cache variable.
10629	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10630$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10631if ${lt_cv_irix_exported_symbol+:} false; then :
10632  $as_echo_n "(cached) " >&6
10633else
10634  save_LDFLAGS=$LDFLAGS
10635	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
10636	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10637/* end confdefs.h.  */
10638int foo (void) { return 0; }
10639_ACEOF
10640if ac_fn_c_try_link "$LINENO"; then :
10641  lt_cv_irix_exported_symbol=yes
10642else
10643  lt_cv_irix_exported_symbol=no
10644fi
10645rm -f core conftest.err conftest.$ac_objext \
10646    conftest$ac_exeext conftest.$ac_ext
10647           LDFLAGS=$save_LDFLAGS
10648fi
10649{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10650$as_echo "$lt_cv_irix_exported_symbol" >&6; }
10651	if test yes = "$lt_cv_irix_exported_symbol"; then
10652          archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib'
10653	fi
10654      else
10655	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
10656	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib'
10657      fi
10658      archive_cmds_need_lc='no'
10659      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10660      hardcode_libdir_separator=:
10661      inherit_rpath=yes
10662      link_all_deplibs=yes
10663      ;;
10664
10665    linux*)
10666      case $cc_basename in
10667      tcc*)
10668	# Fabrice Bellard et al's Tiny C Compiler
10669	ld_shlibs=yes
10670	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10671	;;
10672      esac
10673      ;;
10674
10675    netbsd*)
10676      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10677	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10678      else
10679	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10680      fi
10681      hardcode_libdir_flag_spec='-R$libdir'
10682      hardcode_direct=yes
10683      hardcode_shlibpath_var=no
10684      ;;
10685
10686    newsos6)
10687      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10688      hardcode_direct=yes
10689      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10690      hardcode_libdir_separator=:
10691      hardcode_shlibpath_var=no
10692      ;;
10693
10694    *nto* | *qnx*)
10695      ;;
10696
10697    openbsd* | bitrig*)
10698      if test -f /usr/libexec/ld.so; then
10699	hardcode_direct=yes
10700	hardcode_shlibpath_var=no
10701	hardcode_direct_absolute=yes
10702	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10703	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10704	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10705	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10706	  export_dynamic_flag_spec='$wl-E'
10707	else
10708	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10709	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10710	fi
10711      else
10712	ld_shlibs=no
10713      fi
10714      ;;
10715
10716    os2*)
10717      hardcode_libdir_flag_spec='-L$libdir'
10718      hardcode_minus_L=yes
10719      allow_undefined_flag=unsupported
10720      shrext_cmds=.dll
10721      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10722	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10723	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10724	$ECHO EXPORTS >> $output_objdir/$libname.def~
10725	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10726	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10727	emximp -o $lib $output_objdir/$libname.def'
10728      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10729	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10730	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10731	$ECHO EXPORTS >> $output_objdir/$libname.def~
10732	prefix_cmds="$SED"~
10733	if test EXPORTS = "`$SED 1q $export_symbols`"; then
10734	  prefix_cmds="$prefix_cmds -e 1d";
10735	fi~
10736	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10737	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10738	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10739	emximp -o $lib $output_objdir/$libname.def'
10740      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10741      enable_shared_with_static_runtimes=yes
10742      ;;
10743
10744    osf3*)
10745      if test yes = "$GCC"; then
10746	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10747	archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
10748      else
10749	allow_undefined_flag=' -expect_unresolved \*'
10750	archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
10751      fi
10752      archive_cmds_need_lc='no'
10753      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10754      hardcode_libdir_separator=:
10755      ;;
10756
10757    osf4* | osf5*)	# as osf3* with the addition of -msym flag
10758      if test yes = "$GCC"; then
10759	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10760	archive_cmds='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
10761	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10762      else
10763	allow_undefined_flag=' -expect_unresolved \*'
10764	archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
10765	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
10766          $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp'
10767
10768	# Both c and cxx compiler support -rpath directly
10769	hardcode_libdir_flag_spec='-rpath $libdir'
10770      fi
10771      archive_cmds_need_lc='no'
10772      hardcode_libdir_separator=:
10773      ;;
10774
10775    solaris*)
10776      no_undefined_flag=' -z defs'
10777      if test yes = "$GCC"; then
10778	wlarc='$wl'
10779	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10780	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10781          $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10782      else
10783	case `$CC -V 2>&1` in
10784	*"Compilers 5.0"*)
10785	  wlarc=''
10786	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10787	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10788            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10789	  ;;
10790	*)
10791	  wlarc='$wl'
10792	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10793	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10794            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10795	  ;;
10796	esac
10797      fi
10798      hardcode_libdir_flag_spec='-R$libdir'
10799      hardcode_shlibpath_var=no
10800      case $host_os in
10801      solaris2.[0-5] | solaris2.[0-5].*) ;;
10802      *)
10803	# The compiler driver will combine and reorder linker options,
10804	# but understands '-z linker_flag'.  GCC discards it without '$wl',
10805	# but is careful enough not to reorder.
10806	# Supported since Solaris 2.6 (maybe 2.5.1?)
10807	if test yes = "$GCC"; then
10808	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10809	else
10810	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10811	fi
10812	;;
10813      esac
10814      link_all_deplibs=yes
10815      ;;
10816
10817    sunos4*)
10818      if test sequent = "$host_vendor"; then
10819	# Use $CC to link under sequent, because it throws in some extra .o
10820	# files that make .init and .fini sections work.
10821	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10822      else
10823	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10824      fi
10825      hardcode_libdir_flag_spec='-L$libdir'
10826      hardcode_direct=yes
10827      hardcode_minus_L=yes
10828      hardcode_shlibpath_var=no
10829      ;;
10830
10831    sysv4)
10832      case $host_vendor in
10833	sni)
10834	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10835	  hardcode_direct=yes # is this really true???
10836	;;
10837	siemens)
10838	  ## LD is ld it makes a PLAMLIB
10839	  ## CC just makes a GrossModule.
10840	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10841	  reload_cmds='$CC -r -o $output$reload_objs'
10842	  hardcode_direct=no
10843        ;;
10844	motorola)
10845	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10846	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10847	;;
10848      esac
10849      runpath_var='LD_RUN_PATH'
10850      hardcode_shlibpath_var=no
10851      ;;
10852
10853    sysv4.3*)
10854      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10855      hardcode_shlibpath_var=no
10856      export_dynamic_flag_spec='-Bexport'
10857      ;;
10858
10859    sysv4*MP*)
10860      if test -d /usr/nec; then
10861	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10862	hardcode_shlibpath_var=no
10863	runpath_var=LD_RUN_PATH
10864	hardcode_runpath_var=yes
10865	ld_shlibs=yes
10866      fi
10867      ;;
10868
10869    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10870      no_undefined_flag='$wl-z,text'
10871      archive_cmds_need_lc=no
10872      hardcode_shlibpath_var=no
10873      runpath_var='LD_RUN_PATH'
10874
10875      if test yes = "$GCC"; then
10876	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10877	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10878      else
10879	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10880	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10881      fi
10882      ;;
10883
10884    sysv5* | sco3.2v5* | sco5v6*)
10885      # Note: We CANNOT use -z defs as we might desire, because we do not
10886      # link with -lc, and that would cause any symbols used from libc to
10887      # always be unresolved, which means just about no library would
10888      # ever link correctly.  If we're not using GNU ld we use -z text
10889      # though, which does catch some bad symbols but isn't as heavy-handed
10890      # as -z defs.
10891      no_undefined_flag='$wl-z,text'
10892      allow_undefined_flag='$wl-z,nodefs'
10893      archive_cmds_need_lc=no
10894      hardcode_shlibpath_var=no
10895      hardcode_libdir_flag_spec='$wl-R,$libdir'
10896      hardcode_libdir_separator=':'
10897      link_all_deplibs=yes
10898      export_dynamic_flag_spec='$wl-Bexport'
10899      runpath_var='LD_RUN_PATH'
10900
10901      if test yes = "$GCC"; then
10902	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10903	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10904      else
10905	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10906	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10907      fi
10908      ;;
10909
10910    uts4*)
10911      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10912      hardcode_libdir_flag_spec='-L$libdir'
10913      hardcode_shlibpath_var=no
10914      ;;
10915
10916    *)
10917      ld_shlibs=no
10918      ;;
10919    esac
10920
10921    if test sni = "$host_vendor"; then
10922      case $host in
10923      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10924	export_dynamic_flag_spec='$wl-Blargedynsym'
10925	;;
10926      esac
10927    fi
10928  fi
10929
10930{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10931$as_echo "$ld_shlibs" >&6; }
10932test no = "$ld_shlibs" && can_build_shared=no
10933
10934with_gnu_ld=$with_gnu_ld
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950#
10951# Do we need to explicitly link libc?
10952#
10953case "x$archive_cmds_need_lc" in
10954x|xyes)
10955  # Assume -lc should be added
10956  archive_cmds_need_lc=yes
10957
10958  if test yes,yes = "$GCC,$enable_shared"; then
10959    case $archive_cmds in
10960    *'~'*)
10961      # FIXME: we may have to deal with multi-command sequences.
10962      ;;
10963    '$CC '*)
10964      # Test whether the compiler implicitly links with -lc since on some
10965      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10966      # to ld, don't add -lc before -lgcc.
10967      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10968$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10969if ${lt_cv_archive_cmds_need_lc+:} false; then :
10970  $as_echo_n "(cached) " >&6
10971else
10972  $RM conftest*
10973	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10974
10975	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10976  (eval $ac_compile) 2>&5
10977  ac_status=$?
10978  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10979  test $ac_status = 0; } 2>conftest.err; then
10980	  soname=conftest
10981	  lib=conftest
10982	  libobjs=conftest.$ac_objext
10983	  deplibs=
10984	  wl=$lt_prog_compiler_wl
10985	  pic_flag=$lt_prog_compiler_pic
10986	  compiler_flags=-v
10987	  linker_flags=-v
10988	  verstring=
10989	  output_objdir=.
10990	  libname=conftest
10991	  lt_save_allow_undefined_flag=$allow_undefined_flag
10992	  allow_undefined_flag=
10993	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10994  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10995  ac_status=$?
10996  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10997  test $ac_status = 0; }
10998	  then
10999	    lt_cv_archive_cmds_need_lc=no
11000	  else
11001	    lt_cv_archive_cmds_need_lc=yes
11002	  fi
11003	  allow_undefined_flag=$lt_save_allow_undefined_flag
11004	else
11005	  cat conftest.err 1>&5
11006	fi
11007	$RM conftest*
11008
11009fi
11010{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11011$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11012      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11013      ;;
11014    esac
11015  fi
11016  ;;
11017esac
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11171$as_echo_n "checking dynamic linker characteristics... " >&6; }
11172
11173if test yes = "$GCC"; then
11174  case $host_os in
11175    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
11176    *) lt_awk_arg='/^libraries:/' ;;
11177  esac
11178  case $host_os in
11179    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
11180    *) lt_sed_strip_eq='s|=/|/|g' ;;
11181  esac
11182  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11183  case $lt_search_path_spec in
11184  *\;*)
11185    # if the path contains ";" then we assume it to be the separator
11186    # otherwise default to the standard path separator (i.e. ":") - it is
11187    # assumed that no part of a normal pathname contains ";" but that should
11188    # okay in the real world where ";" in dirpaths is itself problematic.
11189    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11190    ;;
11191  *)
11192    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11193    ;;
11194  esac
11195  # Ok, now we have the path, separated by spaces, we can step through it
11196  # and add multilib dir if necessary...
11197  lt_tmp_lt_search_path_spec=
11198  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11199  # ...but if some path component already ends with the multilib dir we assume
11200  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11201  case "$lt_multi_os_dir; $lt_search_path_spec " in
11202  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
11203    lt_multi_os_dir=
11204    ;;
11205  esac
11206  for lt_sys_path in $lt_search_path_spec; do
11207    if test -d "$lt_sys_path$lt_multi_os_dir"; then
11208      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11209    elif test -n "$lt_multi_os_dir"; then
11210      test -d "$lt_sys_path" && \
11211	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11212    fi
11213  done
11214  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11215BEGIN {RS = " "; FS = "/|\n";} {
11216  lt_foo = "";
11217  lt_count = 0;
11218  for (lt_i = NF; lt_i > 0; lt_i--) {
11219    if ($lt_i != "" && $lt_i != ".") {
11220      if ($lt_i == "..") {
11221        lt_count++;
11222      } else {
11223        if (lt_count == 0) {
11224          lt_foo = "/" $lt_i lt_foo;
11225        } else {
11226          lt_count--;
11227        }
11228      }
11229    }
11230  }
11231  if (lt_foo != "") { lt_freq[lt_foo]++; }
11232  if (lt_freq[lt_foo] == 1) { print lt_foo; }
11233}'`
11234  # AWK program above erroneously prepends '/' to C:/dos/paths
11235  # for these hosts.
11236  case $host_os in
11237    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11238      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11239  esac
11240  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11241else
11242  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11243fi
11244library_names_spec=
11245libname_spec='lib$name'
11246soname_spec=
11247shrext_cmds=.so
11248postinstall_cmds=
11249postuninstall_cmds=
11250finish_cmds=
11251finish_eval=
11252shlibpath_var=
11253shlibpath_overrides_runpath=unknown
11254version_type=none
11255dynamic_linker="$host_os ld.so"
11256sys_lib_dlsearch_path_spec="/lib /usr/lib"
11257need_lib_prefix=unknown
11258hardcode_into_libs=no
11259
11260# when you set need_version to no, make sure it does not cause -set_version
11261# flags to be left without arguments
11262need_version=unknown
11263
11264
11265
11266case $host_os in
11267aix3*)
11268  version_type=linux # correct to gnu/linux during the next big refactor
11269  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
11270  shlibpath_var=LIBPATH
11271
11272  # AIX 3 has no versioning support, so we append a major version to the name.
11273  soname_spec='$libname$release$shared_ext$major'
11274  ;;
11275
11276aix[4-9]*)
11277  version_type=linux # correct to gnu/linux during the next big refactor
11278  need_lib_prefix=no
11279  need_version=no
11280  hardcode_into_libs=yes
11281  if test ia64 = "$host_cpu"; then
11282    # AIX 5 supports IA64
11283    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11284    shlibpath_var=LD_LIBRARY_PATH
11285  else
11286    # With GCC up to 2.95.x, collect2 would create an import file
11287    # for dependence libraries.  The import file would start with
11288    # the line '#! .'.  This would cause the generated library to
11289    # depend on '.', always an invalid library.  This was fixed in
11290    # development snapshots of GCC prior to 3.0.
11291    case $host_os in
11292      aix4 | aix4.[01] | aix4.[01].*)
11293      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11294	   echo ' yes '
11295	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
11296	:
11297      else
11298	can_build_shared=no
11299      fi
11300      ;;
11301    esac
11302    # Using Import Files as archive members, it is possible to support
11303    # filename-based versioning of shared library archives on AIX. While
11304    # this would work for both with and without runtime linking, it will
11305    # prevent static linking of such archives. So we do filename-based
11306    # shared library versioning with .so extension only, which is used
11307    # when both runtime linking and shared linking is enabled.
11308    # Unfortunately, runtime linking may impact performance, so we do
11309    # not want this to be the default eventually. Also, we use the
11310    # versioned .so libs for executables only if there is the -brtl
11311    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11312    # To allow for filename-based versioning support, we need to create
11313    # libNAME.so.V as an archive file, containing:
11314    # *) an Import File, referring to the versioned filename of the
11315    #    archive as well as the shared archive member, telling the
11316    #    bitwidth (32 or 64) of that shared object, and providing the
11317    #    list of exported symbols of that shared object, eventually
11318    #    decorated with the 'weak' keyword
11319    # *) the shared object with the F_LOADONLY flag set, to really avoid
11320    #    it being seen by the linker.
11321    # At run time we better use the real file rather than another symlink,
11322    # but for link time we create the symlink libNAME.so -> libNAME.so.V
11323
11324    case $with_aix_soname,$aix_use_runtimelinking in
11325    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11326    # soname into executable. Probably we can add versioning support to
11327    # collect2, so additional links can be useful in future.
11328    aix,yes) # traditional libtool
11329      dynamic_linker='AIX unversionable lib.so'
11330      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11331      # instead of lib<name>.a to let people know that these are not
11332      # typical AIX shared libraries.
11333      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11334      ;;
11335    aix,no) # traditional AIX only
11336      dynamic_linker='AIX lib.a(lib.so.V)'
11337      # We preserve .a as extension for shared libraries through AIX4.2
11338      # and later when we are not doing run time linking.
11339      library_names_spec='$libname$release.a $libname.a'
11340      soname_spec='$libname$release$shared_ext$major'
11341      ;;
11342    svr4,*) # full svr4 only
11343      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
11344      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11345      # We do not specify a path in Import Files, so LIBPATH fires.
11346      shlibpath_overrides_runpath=yes
11347      ;;
11348    *,yes) # both, prefer svr4
11349      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
11350      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11351      # unpreferred sharedlib libNAME.a needs extra handling
11352      postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
11353      postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
11354      # We do not specify a path in Import Files, so LIBPATH fires.
11355      shlibpath_overrides_runpath=yes
11356      ;;
11357    *,no) # both, prefer aix
11358      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
11359      library_names_spec='$libname$release.a $libname.a'
11360      soname_spec='$libname$release$shared_ext$major'
11361      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
11362      postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
11363      postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
11364      ;;
11365    esac
11366    shlibpath_var=LIBPATH
11367  fi
11368  ;;
11369
11370amigaos*)
11371  case $host_cpu in
11372  powerpc)
11373    # Since July 2007 AmigaOS4 officially supports .so libraries.
11374    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11375    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11376    ;;
11377  m68k)
11378    library_names_spec='$libname.ixlibrary $libname.a'
11379    # Create ${libname}_ixlibrary.a entries in /sys/libs.
11380    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
11381    ;;
11382  esac
11383  ;;
11384
11385beos*)
11386  library_names_spec='$libname$shared_ext'
11387  dynamic_linker="$host_os ld.so"
11388  shlibpath_var=LIBRARY_PATH
11389  ;;
11390
11391bsdi[45]*)
11392  version_type=linux # correct to gnu/linux during the next big refactor
11393  need_version=no
11394  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11395  soname_spec='$libname$release$shared_ext$major'
11396  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11397  shlibpath_var=LD_LIBRARY_PATH
11398  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11399  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11400  # the default ld.so.conf also contains /usr/contrib/lib and
11401  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11402  # libtool to hard-code these into programs
11403  ;;
11404
11405cygwin* | mingw* | pw32* | cegcc*)
11406  version_type=windows
11407  shrext_cmds=.dll
11408  need_version=no
11409  need_lib_prefix=no
11410
11411  case $GCC,$cc_basename in
11412  yes,*)
11413    # gcc
11414    library_names_spec='$libname.dll.a'
11415    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11416    postinstall_cmds='base_file=`basename \$file`~
11417      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11418      dldir=$destdir/`dirname \$dlpath`~
11419      test -d \$dldir || mkdir -p \$dldir~
11420      $install_prog $dir/$dlname \$dldir/$dlname~
11421      chmod a+x \$dldir/$dlname~
11422      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11423        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11424      fi'
11425    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11426      dlpath=$dir/\$dldll~
11427       $RM \$dlpath'
11428    shlibpath_overrides_runpath=yes
11429
11430    case $host_os in
11431    cygwin*)
11432      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11433      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11434
11435      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11436      ;;
11437    mingw* | cegcc*)
11438      # MinGW DLLs use traditional 'lib' prefix
11439      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11440      ;;
11441    pw32*)
11442      # pw32 DLLs use 'pw' prefix rather than 'lib'
11443      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11444      ;;
11445    esac
11446    dynamic_linker='Win32 ld.exe'
11447    ;;
11448
11449  *,cl*)
11450    # Native MSVC
11451    libname_spec='$name'
11452    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11453    library_names_spec='$libname.dll.lib'
11454
11455    case $build_os in
11456    mingw*)
11457      sys_lib_search_path_spec=
11458      lt_save_ifs=$IFS
11459      IFS=';'
11460      for lt_path in $LIB
11461      do
11462        IFS=$lt_save_ifs
11463        # Let DOS variable expansion print the short 8.3 style file name.
11464        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11465        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11466      done
11467      IFS=$lt_save_ifs
11468      # Convert to MSYS style.
11469      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11470      ;;
11471    cygwin*)
11472      # Convert to unix form, then to dos form, then back to unix form
11473      # but this time dos style (no spaces!) so that the unix form looks
11474      # like /cygdrive/c/PROGRA~1:/cygdr...
11475      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11476      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11477      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11478      ;;
11479    *)
11480      sys_lib_search_path_spec=$LIB
11481      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11482        # It is most probably a Windows format PATH.
11483        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11484      else
11485        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11486      fi
11487      # FIXME: find the short name or the path components, as spaces are
11488      # common. (e.g. "Program Files" -> "PROGRA~1")
11489      ;;
11490    esac
11491
11492    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11493    postinstall_cmds='base_file=`basename \$file`~
11494      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11495      dldir=$destdir/`dirname \$dlpath`~
11496      test -d \$dldir || mkdir -p \$dldir~
11497      $install_prog $dir/$dlname \$dldir/$dlname'
11498    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11499      dlpath=$dir/\$dldll~
11500       $RM \$dlpath'
11501    shlibpath_overrides_runpath=yes
11502    dynamic_linker='Win32 link.exe'
11503    ;;
11504
11505  *)
11506    # Assume MSVC wrapper
11507    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
11508    dynamic_linker='Win32 ld.exe'
11509    ;;
11510  esac
11511  # FIXME: first we should search . and the directory the executable is in
11512  shlibpath_var=PATH
11513  ;;
11514
11515darwin* | rhapsody*)
11516  dynamic_linker="$host_os dyld"
11517  version_type=darwin
11518  need_lib_prefix=no
11519  need_version=no
11520  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
11521  soname_spec='$libname$release$major$shared_ext'
11522  shlibpath_overrides_runpath=yes
11523  shlibpath_var=DYLD_LIBRARY_PATH
11524  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11525
11526  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11527  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11528  ;;
11529
11530dgux*)
11531  version_type=linux # correct to gnu/linux during the next big refactor
11532  need_lib_prefix=no
11533  need_version=no
11534  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11535  soname_spec='$libname$release$shared_ext$major'
11536  shlibpath_var=LD_LIBRARY_PATH
11537  ;;
11538
11539freebsd* | dragonfly*)
11540  # DragonFly does not have aout.  When/if they implement a new
11541  # versioning mechanism, adjust this.
11542  if test -x /usr/bin/objformat; then
11543    objformat=`/usr/bin/objformat`
11544  else
11545    case $host_os in
11546    freebsd[23].*) objformat=aout ;;
11547    *) objformat=elf ;;
11548    esac
11549  fi
11550  version_type=freebsd-$objformat
11551  case $version_type in
11552    freebsd-elf*)
11553      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11554      soname_spec='$libname$release$shared_ext$major'
11555      need_version=no
11556      need_lib_prefix=no
11557      ;;
11558    freebsd-*)
11559      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11560      need_version=yes
11561      ;;
11562  esac
11563  shlibpath_var=LD_LIBRARY_PATH
11564  case $host_os in
11565  freebsd2.*)
11566    shlibpath_overrides_runpath=yes
11567    ;;
11568  freebsd3.[01]* | freebsdelf3.[01]*)
11569    shlibpath_overrides_runpath=yes
11570    hardcode_into_libs=yes
11571    ;;
11572  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11573  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11574    shlibpath_overrides_runpath=no
11575    hardcode_into_libs=yes
11576    ;;
11577  *) # from 4.6 on, and DragonFly
11578    shlibpath_overrides_runpath=yes
11579    hardcode_into_libs=yes
11580    ;;
11581  esac
11582  ;;
11583
11584haiku*)
11585  version_type=linux # correct to gnu/linux during the next big refactor
11586  need_lib_prefix=no
11587  need_version=no
11588  dynamic_linker="$host_os runtime_loader"
11589  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11590  soname_spec='$libname$release$shared_ext$major'
11591  shlibpath_var=LIBRARY_PATH
11592  shlibpath_overrides_runpath=no
11593  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11594  hardcode_into_libs=yes
11595  ;;
11596
11597hpux9* | hpux10* | hpux11*)
11598  # Give a soname corresponding to the major version so that dld.sl refuses to
11599  # link against other versions.
11600  version_type=sunos
11601  need_lib_prefix=no
11602  need_version=no
11603  case $host_cpu in
11604  ia64*)
11605    shrext_cmds='.so'
11606    hardcode_into_libs=yes
11607    dynamic_linker="$host_os dld.so"
11608    shlibpath_var=LD_LIBRARY_PATH
11609    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11610    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11611    soname_spec='$libname$release$shared_ext$major'
11612    if test 32 = "$HPUX_IA64_MODE"; then
11613      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11614      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
11615    else
11616      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11617      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
11618    fi
11619    ;;
11620  hppa*64*)
11621    shrext_cmds='.sl'
11622    hardcode_into_libs=yes
11623    dynamic_linker="$host_os dld.sl"
11624    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11625    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11626    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11627    soname_spec='$libname$release$shared_ext$major'
11628    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11629    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11630    ;;
11631  *)
11632    shrext_cmds='.sl'
11633    dynamic_linker="$host_os dld.sl"
11634    shlibpath_var=SHLIB_PATH
11635    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11636    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11637    soname_spec='$libname$release$shared_ext$major'
11638    ;;
11639  esac
11640  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11641  postinstall_cmds='chmod 555 $lib'
11642  # or fails outright, so override atomically:
11643  install_override_mode=555
11644  ;;
11645
11646interix[3-9]*)
11647  version_type=linux # correct to gnu/linux during the next big refactor
11648  need_lib_prefix=no
11649  need_version=no
11650  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11651  soname_spec='$libname$release$shared_ext$major'
11652  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11653  shlibpath_var=LD_LIBRARY_PATH
11654  shlibpath_overrides_runpath=no
11655  hardcode_into_libs=yes
11656  ;;
11657
11658irix5* | irix6* | nonstopux*)
11659  case $host_os in
11660    nonstopux*) version_type=nonstopux ;;
11661    *)
11662	if test yes = "$lt_cv_prog_gnu_ld"; then
11663		version_type=linux # correct to gnu/linux during the next big refactor
11664	else
11665		version_type=irix
11666	fi ;;
11667  esac
11668  need_lib_prefix=no
11669  need_version=no
11670  soname_spec='$libname$release$shared_ext$major'
11671  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11672  case $host_os in
11673  irix5* | nonstopux*)
11674    libsuff= shlibsuff=
11675    ;;
11676  *)
11677    case $LD in # libtool.m4 will add one of these switches to LD
11678    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11679      libsuff= shlibsuff= libmagic=32-bit;;
11680    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11681      libsuff=32 shlibsuff=N32 libmagic=N32;;
11682    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11683      libsuff=64 shlibsuff=64 libmagic=64-bit;;
11684    *) libsuff= shlibsuff= libmagic=never-match;;
11685    esac
11686    ;;
11687  esac
11688  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11689  shlibpath_overrides_runpath=no
11690  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11691  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
11692  hardcode_into_libs=yes
11693  ;;
11694
11695# No shared lib support for Linux oldld, aout, or coff.
11696linux*oldld* | linux*aout* | linux*coff*)
11697  dynamic_linker=no
11698  ;;
11699
11700linux*android*)
11701  version_type=none # Android doesn't support versioned libraries.
11702  need_lib_prefix=no
11703  need_version=no
11704  library_names_spec='$libname$release$shared_ext'
11705  soname_spec='$libname$release$shared_ext'
11706  finish_cmds=
11707  shlibpath_var=LD_LIBRARY_PATH
11708  shlibpath_overrides_runpath=yes
11709
11710  # This implies no fast_install, which is unacceptable.
11711  # Some rework will be needed to allow for fast_install
11712  # before this can be enabled.
11713  hardcode_into_libs=yes
11714
11715  dynamic_linker='Android linker'
11716  # Don't embed -rpath directories since the linker doesn't support them.
11717  hardcode_libdir_flag_spec='-L$libdir'
11718  ;;
11719
11720# This must be glibc/ELF.
11721linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11722  version_type=linux # correct to gnu/linux during the next big refactor
11723  need_lib_prefix=no
11724  need_version=no
11725  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11726  soname_spec='$libname$release$shared_ext$major'
11727  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11728  shlibpath_var=LD_LIBRARY_PATH
11729  shlibpath_overrides_runpath=no
11730
11731  # Some binutils ld are patched to set DT_RUNPATH
11732  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11733  $as_echo_n "(cached) " >&6
11734else
11735  lt_cv_shlibpath_overrides_runpath=no
11736    save_LDFLAGS=$LDFLAGS
11737    save_libdir=$libdir
11738    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11739	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11740    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11741/* end confdefs.h.  */
11742
11743int
11744main ()
11745{
11746
11747  ;
11748  return 0;
11749}
11750_ACEOF
11751if ac_fn_c_try_link "$LINENO"; then :
11752  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11753  lt_cv_shlibpath_overrides_runpath=yes
11754fi
11755fi
11756rm -f core conftest.err conftest.$ac_objext \
11757    conftest$ac_exeext conftest.$ac_ext
11758    LDFLAGS=$save_LDFLAGS
11759    libdir=$save_libdir
11760
11761fi
11762
11763  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11764
11765  # This implies no fast_install, which is unacceptable.
11766  # Some rework will be needed to allow for fast_install
11767  # before this can be enabled.
11768  hardcode_into_libs=yes
11769
11770  # Ideally, we could use ldconfig to report *all* directores which are
11771  # searched for libraries, however this is still not possible.  Aside from not
11772  # being certain /sbin/ldconfig is available, command
11773  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11774  # even though it is searched at run-time.  Try to do the best guess by
11775  # appending ld.so.conf contents (and includes) to the search path.
11776  if test -f /etc/ld.so.conf; then
11777    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[	 ]*hwcap[	 ]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
11778    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11779  fi
11780
11781  # We used to test for /lib/ld.so.1 and disable shared libraries on
11782  # powerpc, because MkLinux only supported shared libraries with the
11783  # GNU dynamic linker.  Since this was broken with cross compilers,
11784  # most powerpc-linux boxes support dynamic linking these days and
11785  # people can always --disable-shared, the test was removed, and we
11786  # assume the GNU/Linux dynamic linker is in use.
11787  dynamic_linker='GNU/Linux ld.so'
11788  ;;
11789
11790netbsd*)
11791  version_type=sunos
11792  need_lib_prefix=no
11793  need_version=no
11794  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11795    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11796    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11797    dynamic_linker='NetBSD (a.out) ld.so'
11798  else
11799    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11800    soname_spec='$libname$release$shared_ext$major'
11801    dynamic_linker='NetBSD ld.elf_so'
11802  fi
11803  shlibpath_var=LD_LIBRARY_PATH
11804  shlibpath_overrides_runpath=yes
11805  hardcode_into_libs=yes
11806  ;;
11807
11808newsos6)
11809  version_type=linux # correct to gnu/linux during the next big refactor
11810  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11811  shlibpath_var=LD_LIBRARY_PATH
11812  shlibpath_overrides_runpath=yes
11813  ;;
11814
11815*nto* | *qnx*)
11816  version_type=qnx
11817  need_lib_prefix=no
11818  need_version=no
11819  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11820  soname_spec='$libname$release$shared_ext$major'
11821  shlibpath_var=LD_LIBRARY_PATH
11822  shlibpath_overrides_runpath=no
11823  hardcode_into_libs=yes
11824  dynamic_linker='ldqnx.so'
11825  ;;
11826
11827openbsd* | bitrig*)
11828  version_type=sunos
11829  sys_lib_dlsearch_path_spec=/usr/lib
11830  need_lib_prefix=no
11831  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11832    need_version=no
11833  else
11834    need_version=yes
11835  fi
11836  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11837  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11838  shlibpath_var=LD_LIBRARY_PATH
11839  shlibpath_overrides_runpath=yes
11840  ;;
11841
11842os2*)
11843  libname_spec='$name'
11844  version_type=windows
11845  shrext_cmds=.dll
11846  need_version=no
11847  need_lib_prefix=no
11848  # OS/2 can only load a DLL with a base name of 8 characters or less.
11849  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
11850    v=$($ECHO $release$versuffix | tr -d .-);
11851    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11852    $ECHO $n$v`$shared_ext'
11853  library_names_spec='${libname}_dll.$libext'
11854  dynamic_linker='OS/2 ld.exe'
11855  shlibpath_var=BEGINLIBPATH
11856  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11857  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11858  postinstall_cmds='base_file=`basename \$file`~
11859    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11860    dldir=$destdir/`dirname \$dlpath`~
11861    test -d \$dldir || mkdir -p \$dldir~
11862    $install_prog $dir/$dlname \$dldir/$dlname~
11863    chmod a+x \$dldir/$dlname~
11864    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11865      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11866    fi'
11867  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11868    dlpath=$dir/\$dldll~
11869    $RM \$dlpath'
11870  ;;
11871
11872osf3* | osf4* | osf5*)
11873  version_type=osf
11874  need_lib_prefix=no
11875  need_version=no
11876  soname_spec='$libname$release$shared_ext$major'
11877  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11878  shlibpath_var=LD_LIBRARY_PATH
11879  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11880  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11881  ;;
11882
11883rdos*)
11884  dynamic_linker=no
11885  ;;
11886
11887solaris*)
11888  version_type=linux # correct to gnu/linux during the next big refactor
11889  need_lib_prefix=no
11890  need_version=no
11891  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11892  soname_spec='$libname$release$shared_ext$major'
11893  shlibpath_var=LD_LIBRARY_PATH
11894  shlibpath_overrides_runpath=yes
11895  hardcode_into_libs=yes
11896  # ldd complains unless libraries are executable
11897  postinstall_cmds='chmod +x $lib'
11898  ;;
11899
11900sunos4*)
11901  version_type=sunos
11902  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11903  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11904  shlibpath_var=LD_LIBRARY_PATH
11905  shlibpath_overrides_runpath=yes
11906  if test yes = "$with_gnu_ld"; then
11907    need_lib_prefix=no
11908  fi
11909  need_version=yes
11910  ;;
11911
11912sysv4 | sysv4.3*)
11913  version_type=linux # correct to gnu/linux during the next big refactor
11914  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11915  soname_spec='$libname$release$shared_ext$major'
11916  shlibpath_var=LD_LIBRARY_PATH
11917  case $host_vendor in
11918    sni)
11919      shlibpath_overrides_runpath=no
11920      need_lib_prefix=no
11921      runpath_var=LD_RUN_PATH
11922      ;;
11923    siemens)
11924      need_lib_prefix=no
11925      ;;
11926    motorola)
11927      need_lib_prefix=no
11928      need_version=no
11929      shlibpath_overrides_runpath=no
11930      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11931      ;;
11932  esac
11933  ;;
11934
11935sysv4*MP*)
11936  if test -d /usr/nec; then
11937    version_type=linux # correct to gnu/linux during the next big refactor
11938    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11939    soname_spec='$libname$shared_ext.$major'
11940    shlibpath_var=LD_LIBRARY_PATH
11941  fi
11942  ;;
11943
11944sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11945  version_type=sco
11946  need_lib_prefix=no
11947  need_version=no
11948  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11949  soname_spec='$libname$release$shared_ext$major'
11950  shlibpath_var=LD_LIBRARY_PATH
11951  shlibpath_overrides_runpath=yes
11952  hardcode_into_libs=yes
11953  if test yes = "$with_gnu_ld"; then
11954    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11955  else
11956    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11957    case $host_os in
11958      sco3.2v5*)
11959        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11960	;;
11961    esac
11962  fi
11963  sys_lib_dlsearch_path_spec='/usr/lib'
11964  ;;
11965
11966tpf*)
11967  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11968  version_type=linux # correct to gnu/linux during the next big refactor
11969  need_lib_prefix=no
11970  need_version=no
11971  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11972  shlibpath_var=LD_LIBRARY_PATH
11973  shlibpath_overrides_runpath=no
11974  hardcode_into_libs=yes
11975  ;;
11976
11977uts4*)
11978  version_type=linux # correct to gnu/linux during the next big refactor
11979  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11980  soname_spec='$libname$release$shared_ext$major'
11981  shlibpath_var=LD_LIBRARY_PATH
11982  ;;
11983
11984*)
11985  dynamic_linker=no
11986  ;;
11987esac
11988{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11989$as_echo "$dynamic_linker" >&6; }
11990test no = "$dynamic_linker" && can_build_shared=no
11991
11992variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11993if test yes = "$GCC"; then
11994  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11995fi
11996
11997if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11998  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
11999fi
12000
12001if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
12002  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
12003fi
12004
12005# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
12006configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
12007
12008# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
12009func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
12010
12011# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
12012configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
12013
12014
12015
12016
12017
12018
12019
12020
12021
12022
12023
12024
12025
12026
12027
12028
12029
12030
12031
12032
12033
12034
12035
12036
12037
12038
12039
12040
12041
12042
12043
12044
12045
12046
12047
12048
12049
12050
12051
12052
12053
12054
12055
12056
12057
12058
12059
12060
12061
12062
12063
12064
12065
12066
12067
12068
12069
12070
12071
12072
12073
12074
12075
12076
12077
12078
12079
12080
12081
12082
12083
12084
12085
12086
12087
12088
12089
12090
12091
12092
12093
12094
12095
12096
12097
12098
12099
12100
12101
12102
12103
12104
12105
12106
12107
12108
12109
12110  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12111$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12112hardcode_action=
12113if test -n "$hardcode_libdir_flag_spec" ||
12114   test -n "$runpath_var" ||
12115   test yes = "$hardcode_automatic"; then
12116
12117  # We can hardcode non-existent directories.
12118  if test no != "$hardcode_direct" &&
12119     # If the only mechanism to avoid hardcoding is shlibpath_var, we
12120     # have to relink, otherwise we might link with an installed library
12121     # when we should be linking with a yet-to-be-installed one
12122     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12123     test no != "$hardcode_minus_L"; then
12124    # Linking always hardcodes the temporary library directory.
12125    hardcode_action=relink
12126  else
12127    # We can link without hardcoding, and we can hardcode nonexisting dirs.
12128    hardcode_action=immediate
12129  fi
12130else
12131  # We cannot hardcode anything, or else we can only hardcode existing
12132  # directories.
12133  hardcode_action=unsupported
12134fi
12135{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12136$as_echo "$hardcode_action" >&6; }
12137
12138if test relink = "$hardcode_action" ||
12139   test yes = "$inherit_rpath"; then
12140  # Fast installation is not supported
12141  enable_fast_install=no
12142elif test yes = "$shlibpath_overrides_runpath" ||
12143     test no = "$enable_shared"; then
12144  # Fast installation is not necessary
12145  enable_fast_install=needless
12146fi
12147
12148
12149
12150
12151
12152
12153  if test yes != "$enable_dlopen"; then
12154  enable_dlopen=unknown
12155  enable_dlopen_self=unknown
12156  enable_dlopen_self_static=unknown
12157else
12158  lt_cv_dlopen=no
12159  lt_cv_dlopen_libs=
12160
12161  case $host_os in
12162  beos*)
12163    lt_cv_dlopen=load_add_on
12164    lt_cv_dlopen_libs=
12165    lt_cv_dlopen_self=yes
12166    ;;
12167
12168  mingw* | pw32* | cegcc*)
12169    lt_cv_dlopen=LoadLibrary
12170    lt_cv_dlopen_libs=
12171    ;;
12172
12173  cygwin*)
12174    lt_cv_dlopen=dlopen
12175    lt_cv_dlopen_libs=
12176    ;;
12177
12178  darwin*)
12179    # if libdl is installed we need to link against it
12180    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12181$as_echo_n "checking for dlopen in -ldl... " >&6; }
12182if ${ac_cv_lib_dl_dlopen+:} false; then :
12183  $as_echo_n "(cached) " >&6
12184else
12185  ac_check_lib_save_LIBS=$LIBS
12186LIBS="-ldl  $LIBS"
12187cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12188/* end confdefs.h.  */
12189
12190/* Override any GCC internal prototype to avoid an error.
12191   Use char because int might match the return type of a GCC
12192   builtin and then its argument prototype would still apply.  */
12193#ifdef __cplusplus
12194extern "C"
12195#endif
12196char dlopen ();
12197int
12198main ()
12199{
12200return dlopen ();
12201  ;
12202  return 0;
12203}
12204_ACEOF
12205if ac_fn_c_try_link "$LINENO"; then :
12206  ac_cv_lib_dl_dlopen=yes
12207else
12208  ac_cv_lib_dl_dlopen=no
12209fi
12210rm -f core conftest.err conftest.$ac_objext \
12211    conftest$ac_exeext conftest.$ac_ext
12212LIBS=$ac_check_lib_save_LIBS
12213fi
12214{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12215$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12216if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12217  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12218else
12219
12220    lt_cv_dlopen=dyld
12221    lt_cv_dlopen_libs=
12222    lt_cv_dlopen_self=yes
12223
12224fi
12225
12226    ;;
12227
12228  tpf*)
12229    # Don't try to run any link tests for TPF.  We know it's impossible
12230    # because TPF is a cross-compiler, and we know how we open DSOs.
12231    lt_cv_dlopen=dlopen
12232    lt_cv_dlopen_libs=
12233    lt_cv_dlopen_self=no
12234    ;;
12235
12236  *)
12237    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12238if test "x$ac_cv_func_shl_load" = xyes; then :
12239  lt_cv_dlopen=shl_load
12240else
12241  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12242$as_echo_n "checking for shl_load in -ldld... " >&6; }
12243if ${ac_cv_lib_dld_shl_load+:} false; then :
12244  $as_echo_n "(cached) " >&6
12245else
12246  ac_check_lib_save_LIBS=$LIBS
12247LIBS="-ldld  $LIBS"
12248cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12249/* end confdefs.h.  */
12250
12251/* Override any GCC internal prototype to avoid an error.
12252   Use char because int might match the return type of a GCC
12253   builtin and then its argument prototype would still apply.  */
12254#ifdef __cplusplus
12255extern "C"
12256#endif
12257char shl_load ();
12258int
12259main ()
12260{
12261return shl_load ();
12262  ;
12263  return 0;
12264}
12265_ACEOF
12266if ac_fn_c_try_link "$LINENO"; then :
12267  ac_cv_lib_dld_shl_load=yes
12268else
12269  ac_cv_lib_dld_shl_load=no
12270fi
12271rm -f core conftest.err conftest.$ac_objext \
12272    conftest$ac_exeext conftest.$ac_ext
12273LIBS=$ac_check_lib_save_LIBS
12274fi
12275{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12276$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12277if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12278  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
12279else
12280  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12281if test "x$ac_cv_func_dlopen" = xyes; then :
12282  lt_cv_dlopen=dlopen
12283else
12284  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12285$as_echo_n "checking for dlopen in -ldl... " >&6; }
12286if ${ac_cv_lib_dl_dlopen+:} false; then :
12287  $as_echo_n "(cached) " >&6
12288else
12289  ac_check_lib_save_LIBS=$LIBS
12290LIBS="-ldl  $LIBS"
12291cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12292/* end confdefs.h.  */
12293
12294/* Override any GCC internal prototype to avoid an error.
12295   Use char because int might match the return type of a GCC
12296   builtin and then its argument prototype would still apply.  */
12297#ifdef __cplusplus
12298extern "C"
12299#endif
12300char dlopen ();
12301int
12302main ()
12303{
12304return dlopen ();
12305  ;
12306  return 0;
12307}
12308_ACEOF
12309if ac_fn_c_try_link "$LINENO"; then :
12310  ac_cv_lib_dl_dlopen=yes
12311else
12312  ac_cv_lib_dl_dlopen=no
12313fi
12314rm -f core conftest.err conftest.$ac_objext \
12315    conftest$ac_exeext conftest.$ac_ext
12316LIBS=$ac_check_lib_save_LIBS
12317fi
12318{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12319$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12320if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12321  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12322else
12323  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12324$as_echo_n "checking for dlopen in -lsvld... " >&6; }
12325if ${ac_cv_lib_svld_dlopen+:} false; then :
12326  $as_echo_n "(cached) " >&6
12327else
12328  ac_check_lib_save_LIBS=$LIBS
12329LIBS="-lsvld  $LIBS"
12330cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12331/* end confdefs.h.  */
12332
12333/* Override any GCC internal prototype to avoid an error.
12334   Use char because int might match the return type of a GCC
12335   builtin and then its argument prototype would still apply.  */
12336#ifdef __cplusplus
12337extern "C"
12338#endif
12339char dlopen ();
12340int
12341main ()
12342{
12343return dlopen ();
12344  ;
12345  return 0;
12346}
12347_ACEOF
12348if ac_fn_c_try_link "$LINENO"; then :
12349  ac_cv_lib_svld_dlopen=yes
12350else
12351  ac_cv_lib_svld_dlopen=no
12352fi
12353rm -f core conftest.err conftest.$ac_objext \
12354    conftest$ac_exeext conftest.$ac_ext
12355LIBS=$ac_check_lib_save_LIBS
12356fi
12357{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12358$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12359if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12360  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
12361else
12362  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12363$as_echo_n "checking for dld_link in -ldld... " >&6; }
12364if ${ac_cv_lib_dld_dld_link+:} false; then :
12365  $as_echo_n "(cached) " >&6
12366else
12367  ac_check_lib_save_LIBS=$LIBS
12368LIBS="-ldld  $LIBS"
12369cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12370/* end confdefs.h.  */
12371
12372/* Override any GCC internal prototype to avoid an error.
12373   Use char because int might match the return type of a GCC
12374   builtin and then its argument prototype would still apply.  */
12375#ifdef __cplusplus
12376extern "C"
12377#endif
12378char dld_link ();
12379int
12380main ()
12381{
12382return dld_link ();
12383  ;
12384  return 0;
12385}
12386_ACEOF
12387if ac_fn_c_try_link "$LINENO"; then :
12388  ac_cv_lib_dld_dld_link=yes
12389else
12390  ac_cv_lib_dld_dld_link=no
12391fi
12392rm -f core conftest.err conftest.$ac_objext \
12393    conftest$ac_exeext conftest.$ac_ext
12394LIBS=$ac_check_lib_save_LIBS
12395fi
12396{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12397$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12398if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12399  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
12400fi
12401
12402
12403fi
12404
12405
12406fi
12407
12408
12409fi
12410
12411
12412fi
12413
12414
12415fi
12416
12417    ;;
12418  esac
12419
12420  if test no = "$lt_cv_dlopen"; then
12421    enable_dlopen=no
12422  else
12423    enable_dlopen=yes
12424  fi
12425
12426  case $lt_cv_dlopen in
12427  dlopen)
12428    save_CPPFLAGS=$CPPFLAGS
12429    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12430
12431    save_LDFLAGS=$LDFLAGS
12432    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12433
12434    save_LIBS=$LIBS
12435    LIBS="$lt_cv_dlopen_libs $LIBS"
12436
12437    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12438$as_echo_n "checking whether a program can dlopen itself... " >&6; }
12439if ${lt_cv_dlopen_self+:} false; then :
12440  $as_echo_n "(cached) " >&6
12441else
12442  	  if test yes = "$cross_compiling"; then :
12443  lt_cv_dlopen_self=cross
12444else
12445  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12446  lt_status=$lt_dlunknown
12447  cat > conftest.$ac_ext <<_LT_EOF
12448#line $LINENO "configure"
12449#include "confdefs.h"
12450
12451#if HAVE_DLFCN_H
12452#include <dlfcn.h>
12453#endif
12454
12455#include <stdio.h>
12456
12457#ifdef RTLD_GLOBAL
12458#  define LT_DLGLOBAL		RTLD_GLOBAL
12459#else
12460#  ifdef DL_GLOBAL
12461#    define LT_DLGLOBAL		DL_GLOBAL
12462#  else
12463#    define LT_DLGLOBAL		0
12464#  endif
12465#endif
12466
12467/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12468   find out it does not work in some platform. */
12469#ifndef LT_DLLAZY_OR_NOW
12470#  ifdef RTLD_LAZY
12471#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12472#  else
12473#    ifdef DL_LAZY
12474#      define LT_DLLAZY_OR_NOW		DL_LAZY
12475#    else
12476#      ifdef RTLD_NOW
12477#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12478#      else
12479#        ifdef DL_NOW
12480#          define LT_DLLAZY_OR_NOW	DL_NOW
12481#        else
12482#          define LT_DLLAZY_OR_NOW	0
12483#        endif
12484#      endif
12485#    endif
12486#  endif
12487#endif
12488
12489/* When -fvisibility=hidden is used, assume the code has been annotated
12490   correspondingly for the symbols needed.  */
12491#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12492int fnord () __attribute__((visibility("default")));
12493#endif
12494
12495int fnord () { return 42; }
12496int main ()
12497{
12498  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12499  int status = $lt_dlunknown;
12500
12501  if (self)
12502    {
12503      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12504      else
12505        {
12506	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12507          else puts (dlerror ());
12508	}
12509      /* dlclose (self); */
12510    }
12511  else
12512    puts (dlerror ());
12513
12514  return status;
12515}
12516_LT_EOF
12517  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12518  (eval $ac_link) 2>&5
12519  ac_status=$?
12520  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12521  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12522    (./conftest; exit; ) >&5 2>/dev/null
12523    lt_status=$?
12524    case x$lt_status in
12525      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12526      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12527      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12528    esac
12529  else :
12530    # compilation failed
12531    lt_cv_dlopen_self=no
12532  fi
12533fi
12534rm -fr conftest*
12535
12536
12537fi
12538{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12539$as_echo "$lt_cv_dlopen_self" >&6; }
12540
12541    if test yes = "$lt_cv_dlopen_self"; then
12542      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12543      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12544$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12545if ${lt_cv_dlopen_self_static+:} false; then :
12546  $as_echo_n "(cached) " >&6
12547else
12548  	  if test yes = "$cross_compiling"; then :
12549  lt_cv_dlopen_self_static=cross
12550else
12551  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12552  lt_status=$lt_dlunknown
12553  cat > conftest.$ac_ext <<_LT_EOF
12554#line $LINENO "configure"
12555#include "confdefs.h"
12556
12557#if HAVE_DLFCN_H
12558#include <dlfcn.h>
12559#endif
12560
12561#include <stdio.h>
12562
12563#ifdef RTLD_GLOBAL
12564#  define LT_DLGLOBAL		RTLD_GLOBAL
12565#else
12566#  ifdef DL_GLOBAL
12567#    define LT_DLGLOBAL		DL_GLOBAL
12568#  else
12569#    define LT_DLGLOBAL		0
12570#  endif
12571#endif
12572
12573/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12574   find out it does not work in some platform. */
12575#ifndef LT_DLLAZY_OR_NOW
12576#  ifdef RTLD_LAZY
12577#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12578#  else
12579#    ifdef DL_LAZY
12580#      define LT_DLLAZY_OR_NOW		DL_LAZY
12581#    else
12582#      ifdef RTLD_NOW
12583#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12584#      else
12585#        ifdef DL_NOW
12586#          define LT_DLLAZY_OR_NOW	DL_NOW
12587#        else
12588#          define LT_DLLAZY_OR_NOW	0
12589#        endif
12590#      endif
12591#    endif
12592#  endif
12593#endif
12594
12595/* When -fvisibility=hidden is used, assume the code has been annotated
12596   correspondingly for the symbols needed.  */
12597#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12598int fnord () __attribute__((visibility("default")));
12599#endif
12600
12601int fnord () { return 42; }
12602int main ()
12603{
12604  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12605  int status = $lt_dlunknown;
12606
12607  if (self)
12608    {
12609      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12610      else
12611        {
12612	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12613          else puts (dlerror ());
12614	}
12615      /* dlclose (self); */
12616    }
12617  else
12618    puts (dlerror ());
12619
12620  return status;
12621}
12622_LT_EOF
12623  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12624  (eval $ac_link) 2>&5
12625  ac_status=$?
12626  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12627  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12628    (./conftest; exit; ) >&5 2>/dev/null
12629    lt_status=$?
12630    case x$lt_status in
12631      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12632      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12633      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12634    esac
12635  else :
12636    # compilation failed
12637    lt_cv_dlopen_self_static=no
12638  fi
12639fi
12640rm -fr conftest*
12641
12642
12643fi
12644{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12645$as_echo "$lt_cv_dlopen_self_static" >&6; }
12646    fi
12647
12648    CPPFLAGS=$save_CPPFLAGS
12649    LDFLAGS=$save_LDFLAGS
12650    LIBS=$save_LIBS
12651    ;;
12652  esac
12653
12654  case $lt_cv_dlopen_self in
12655  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12656  *) enable_dlopen_self=unknown ;;
12657  esac
12658
12659  case $lt_cv_dlopen_self_static in
12660  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12661  *) enable_dlopen_self_static=unknown ;;
12662  esac
12663fi
12664
12665
12666
12667
12668
12669
12670
12671
12672
12673
12674
12675
12676
12677
12678
12679
12680
12681striplib=
12682old_striplib=
12683{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12684$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12685if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12686  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12687  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12688  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12689$as_echo "yes" >&6; }
12690else
12691# FIXME - insert some real tests, host_os isn't really good enough
12692  case $host_os in
12693  darwin*)
12694    if test -n "$STRIP"; then
12695      striplib="$STRIP -x"
12696      old_striplib="$STRIP -S"
12697      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12698$as_echo "yes" >&6; }
12699    else
12700      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12701$as_echo "no" >&6; }
12702    fi
12703    ;;
12704  *)
12705    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12706$as_echo "no" >&6; }
12707    ;;
12708  esac
12709fi
12710
12711
12712
12713
12714
12715
12716
12717
12718
12719
12720
12721
12722  # Report what library types will actually be built
12723  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12724$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12725  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12726$as_echo "$can_build_shared" >&6; }
12727
12728  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12729$as_echo_n "checking whether to build shared libraries... " >&6; }
12730  test no = "$can_build_shared" && enable_shared=no
12731
12732  # On AIX, shared libraries and static libraries use the same namespace, and
12733  # are all built from PIC.
12734  case $host_os in
12735  aix3*)
12736    test yes = "$enable_shared" && enable_static=no
12737    if test -n "$RANLIB"; then
12738      archive_cmds="$archive_cmds~\$RANLIB \$lib"
12739      postinstall_cmds='$RANLIB $lib'
12740    fi
12741    ;;
12742
12743  aix[4-9]*)
12744    if test ia64 != "$host_cpu"; then
12745      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12746      yes,aix,yes) ;;			# shared object as lib.so file only
12747      yes,svr4,*) ;;			# shared object as lib.so archive member only
12748      yes,*) enable_static=no ;;	# shared object in lib.a archive as well
12749      esac
12750    fi
12751    ;;
12752  esac
12753  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12754$as_echo "$enable_shared" >&6; }
12755
12756  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12757$as_echo_n "checking whether to build static libraries... " >&6; }
12758  # Make sure either enable_shared or enable_static is yes.
12759  test yes = "$enable_shared" || enable_static=yes
12760  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12761$as_echo "$enable_static" >&6; }
12762
12763
12764
12765
12766fi
12767ac_ext=c
12768ac_cpp='$CPP $CPPFLAGS'
12769ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12770ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12771ac_compiler_gnu=$ac_cv_c_compiler_gnu
12772
12773CC=$lt_save_CC
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
12785
12786
12787
12788
12789        ac_config_commands="$ac_config_commands libtool"
12790
12791
12792
12793
12794# Only expand once:
12795
12796
12797# Check whether --enable-largefile was given.
12798if test "${enable_largefile+set}" = set; then :
12799  enableval=$enable_largefile;
12800fi
12801
12802if test "$enable_largefile" != no; then
12803
12804  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
12805$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
12806if ${ac_cv_sys_largefile_CC+:} false; then :
12807  $as_echo_n "(cached) " >&6
12808else
12809  ac_cv_sys_largefile_CC=no
12810     if test "$GCC" != yes; then
12811       ac_save_CC=$CC
12812       while :; do
12813	 # IRIX 6.2 and later do not support large files by default,
12814	 # so use the C compiler's -n32 option if that helps.
12815	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12816/* end confdefs.h.  */
12817#include <sys/types.h>
12818 /* Check that off_t can represent 2**63 - 1 correctly.
12819    We can't simply define LARGE_OFF_T to be 9223372036854775807,
12820    since some C++ compilers masquerading as C compilers
12821    incorrectly reject 9223372036854775807.  */
12822#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12823  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12824		       && LARGE_OFF_T % 2147483647 == 1)
12825		      ? 1 : -1];
12826int
12827main ()
12828{
12829
12830  ;
12831  return 0;
12832}
12833_ACEOF
12834	 if ac_fn_c_try_compile "$LINENO"; then :
12835  break
12836fi
12837rm -f core conftest.err conftest.$ac_objext
12838	 CC="$CC -n32"
12839	 if ac_fn_c_try_compile "$LINENO"; then :
12840  ac_cv_sys_largefile_CC=' -n32'; break
12841fi
12842rm -f core conftest.err conftest.$ac_objext
12843	 break
12844       done
12845       CC=$ac_save_CC
12846       rm -f conftest.$ac_ext
12847    fi
12848fi
12849{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
12850$as_echo "$ac_cv_sys_largefile_CC" >&6; }
12851  if test "$ac_cv_sys_largefile_CC" != no; then
12852    CC=$CC$ac_cv_sys_largefile_CC
12853  fi
12854
12855  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
12856$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
12857if ${ac_cv_sys_file_offset_bits+:} false; then :
12858  $as_echo_n "(cached) " >&6
12859else
12860  while :; do
12861  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12862/* end confdefs.h.  */
12863#include <sys/types.h>
12864 /* Check that off_t can represent 2**63 - 1 correctly.
12865    We can't simply define LARGE_OFF_T to be 9223372036854775807,
12866    since some C++ compilers masquerading as C compilers
12867    incorrectly reject 9223372036854775807.  */
12868#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12869  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12870		       && LARGE_OFF_T % 2147483647 == 1)
12871		      ? 1 : -1];
12872int
12873main ()
12874{
12875
12876  ;
12877  return 0;
12878}
12879_ACEOF
12880if ac_fn_c_try_compile "$LINENO"; then :
12881  ac_cv_sys_file_offset_bits=no; break
12882fi
12883rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12884  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12885/* end confdefs.h.  */
12886#define _FILE_OFFSET_BITS 64
12887#include <sys/types.h>
12888 /* Check that off_t can represent 2**63 - 1 correctly.
12889    We can't simply define LARGE_OFF_T to be 9223372036854775807,
12890    since some C++ compilers masquerading as C compilers
12891    incorrectly reject 9223372036854775807.  */
12892#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12893  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12894		       && LARGE_OFF_T % 2147483647 == 1)
12895		      ? 1 : -1];
12896int
12897main ()
12898{
12899
12900  ;
12901  return 0;
12902}
12903_ACEOF
12904if ac_fn_c_try_compile "$LINENO"; then :
12905  ac_cv_sys_file_offset_bits=64; break
12906fi
12907rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12908  ac_cv_sys_file_offset_bits=unknown
12909  break
12910done
12911fi
12912{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
12913$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
12914case $ac_cv_sys_file_offset_bits in #(
12915  no | unknown) ;;
12916  *)
12917cat >>confdefs.h <<_ACEOF
12918#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
12919_ACEOF
12920;;
12921esac
12922rm -rf conftest*
12923  if test $ac_cv_sys_file_offset_bits = unknown; then
12924    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
12925$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
12926if ${ac_cv_sys_large_files+:} false; then :
12927  $as_echo_n "(cached) " >&6
12928else
12929  while :; do
12930  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12931/* end confdefs.h.  */
12932#include <sys/types.h>
12933 /* Check that off_t can represent 2**63 - 1 correctly.
12934    We can't simply define LARGE_OFF_T to be 9223372036854775807,
12935    since some C++ compilers masquerading as C compilers
12936    incorrectly reject 9223372036854775807.  */
12937#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12938  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12939		       && LARGE_OFF_T % 2147483647 == 1)
12940		      ? 1 : -1];
12941int
12942main ()
12943{
12944
12945  ;
12946  return 0;
12947}
12948_ACEOF
12949if ac_fn_c_try_compile "$LINENO"; then :
12950  ac_cv_sys_large_files=no; break
12951fi
12952rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12953  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12954/* end confdefs.h.  */
12955#define _LARGE_FILES 1
12956#include <sys/types.h>
12957 /* Check that off_t can represent 2**63 - 1 correctly.
12958    We can't simply define LARGE_OFF_T to be 9223372036854775807,
12959    since some C++ compilers masquerading as C compilers
12960    incorrectly reject 9223372036854775807.  */
12961#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12962  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12963		       && LARGE_OFF_T % 2147483647 == 1)
12964		      ? 1 : -1];
12965int
12966main ()
12967{
12968
12969  ;
12970  return 0;
12971}
12972_ACEOF
12973if ac_fn_c_try_compile "$LINENO"; then :
12974  ac_cv_sys_large_files=1; break
12975fi
12976rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12977  ac_cv_sys_large_files=unknown
12978  break
12979done
12980fi
12981{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
12982$as_echo "$ac_cv_sys_large_files" >&6; }
12983case $ac_cv_sys_large_files in #(
12984  no | unknown) ;;
12985  *)
12986cat >>confdefs.h <<_ACEOF
12987#define _LARGE_FILES $ac_cv_sys_large_files
12988_ACEOF
12989;;
12990esac
12991rm -rf conftest*
12992  fi
12993
12994
12995fi
12996
12997{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
12998$as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
12999if ${ac_cv_sys_largefile_source+:} false; then :
13000  $as_echo_n "(cached) " >&6
13001else
13002  while :; do
13003  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13004/* end confdefs.h.  */
13005#include <sys/types.h> /* for off_t */
13006     #include <stdio.h>
13007int
13008main ()
13009{
13010int (*fp) (FILE *, off_t, int) = fseeko;
13011     return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
13012  ;
13013  return 0;
13014}
13015_ACEOF
13016if ac_fn_c_try_link "$LINENO"; then :
13017  ac_cv_sys_largefile_source=no; break
13018fi
13019rm -f core conftest.err conftest.$ac_objext \
13020    conftest$ac_exeext conftest.$ac_ext
13021  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13022/* end confdefs.h.  */
13023#define _LARGEFILE_SOURCE 1
13024#include <sys/types.h> /* for off_t */
13025     #include <stdio.h>
13026int
13027main ()
13028{
13029int (*fp) (FILE *, off_t, int) = fseeko;
13030     return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
13031  ;
13032  return 0;
13033}
13034_ACEOF
13035if ac_fn_c_try_link "$LINENO"; then :
13036  ac_cv_sys_largefile_source=1; break
13037fi
13038rm -f core conftest.err conftest.$ac_objext \
13039    conftest$ac_exeext conftest.$ac_ext
13040  ac_cv_sys_largefile_source=unknown
13041  break
13042done
13043fi
13044{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
13045$as_echo "$ac_cv_sys_largefile_source" >&6; }
13046case $ac_cv_sys_largefile_source in #(
13047  no | unknown) ;;
13048  *)
13049cat >>confdefs.h <<_ACEOF
13050#define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
13051_ACEOF
13052;;
13053esac
13054rm -rf conftest*
13055
13056# We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
13057# in glibc 2.1.3, but that breaks too many other things.
13058# If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
13059if test $ac_cv_sys_largefile_source != unknown; then
13060
13061$as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
13062
13063fi
13064
13065ac_header_dirent=no
13066for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
13067  as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
13068{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
13069$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
13070if eval \${$as_ac_Header+:} false; then :
13071  $as_echo_n "(cached) " >&6
13072else
13073  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13074/* end confdefs.h.  */
13075#include <sys/types.h>
13076#include <$ac_hdr>
13077
13078int
13079main ()
13080{
13081if ((DIR *) 0)
13082return 0;
13083  ;
13084  return 0;
13085}
13086_ACEOF
13087if ac_fn_c_try_compile "$LINENO"; then :
13088  eval "$as_ac_Header=yes"
13089else
13090  eval "$as_ac_Header=no"
13091fi
13092rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13093fi
13094eval ac_res=\$$as_ac_Header
13095	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13096$as_echo "$ac_res" >&6; }
13097if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13098  cat >>confdefs.h <<_ACEOF
13099#define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
13100_ACEOF
13101
13102ac_header_dirent=$ac_hdr; break
13103fi
13104
13105done
13106# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
13107if test $ac_header_dirent = dirent.h; then
13108  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
13109$as_echo_n "checking for library containing opendir... " >&6; }
13110if ${ac_cv_search_opendir+:} false; then :
13111  $as_echo_n "(cached) " >&6
13112else
13113  ac_func_search_save_LIBS=$LIBS
13114cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13115/* end confdefs.h.  */
13116
13117/* Override any GCC internal prototype to avoid an error.
13118   Use char because int might match the return type of a GCC
13119   builtin and then its argument prototype would still apply.  */
13120#ifdef __cplusplus
13121extern "C"
13122#endif
13123char opendir ();
13124int
13125main ()
13126{
13127return opendir ();
13128  ;
13129  return 0;
13130}
13131_ACEOF
13132for ac_lib in '' dir; do
13133  if test -z "$ac_lib"; then
13134    ac_res="none required"
13135  else
13136    ac_res=-l$ac_lib
13137    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13138  fi
13139  if ac_fn_c_try_link "$LINENO"; then :
13140  ac_cv_search_opendir=$ac_res
13141fi
13142rm -f core conftest.err conftest.$ac_objext \
13143    conftest$ac_exeext
13144  if ${ac_cv_search_opendir+:} false; then :
13145  break
13146fi
13147done
13148if ${ac_cv_search_opendir+:} false; then :
13149
13150else
13151  ac_cv_search_opendir=no
13152fi
13153rm conftest.$ac_ext
13154LIBS=$ac_func_search_save_LIBS
13155fi
13156{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
13157$as_echo "$ac_cv_search_opendir" >&6; }
13158ac_res=$ac_cv_search_opendir
13159if test "$ac_res" != no; then :
13160  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13161
13162fi
13163
13164else
13165  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
13166$as_echo_n "checking for library containing opendir... " >&6; }
13167if ${ac_cv_search_opendir+:} false; then :
13168  $as_echo_n "(cached) " >&6
13169else
13170  ac_func_search_save_LIBS=$LIBS
13171cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13172/* end confdefs.h.  */
13173
13174/* Override any GCC internal prototype to avoid an error.
13175   Use char because int might match the return type of a GCC
13176   builtin and then its argument prototype would still apply.  */
13177#ifdef __cplusplus
13178extern "C"
13179#endif
13180char opendir ();
13181int
13182main ()
13183{
13184return opendir ();
13185  ;
13186  return 0;
13187}
13188_ACEOF
13189for ac_lib in '' x; do
13190  if test -z "$ac_lib"; then
13191    ac_res="none required"
13192  else
13193    ac_res=-l$ac_lib
13194    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13195  fi
13196  if ac_fn_c_try_link "$LINENO"; then :
13197  ac_cv_search_opendir=$ac_res
13198fi
13199rm -f core conftest.err conftest.$ac_objext \
13200    conftest$ac_exeext
13201  if ${ac_cv_search_opendir+:} false; then :
13202  break
13203fi
13204done
13205if ${ac_cv_search_opendir+:} false; then :
13206
13207else
13208  ac_cv_search_opendir=no
13209fi
13210rm conftest.$ac_ext
13211LIBS=$ac_func_search_save_LIBS
13212fi
13213{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
13214$as_echo "$ac_cv_search_opendir" >&6; }
13215ac_res=$ac_cv_search_opendir
13216if test "$ac_res" != no; then :
13217  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13218
13219fi
13220
13221fi
13222
13223{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
13224$as_echo_n "checking for ANSI C header files... " >&6; }
13225if ${ac_cv_header_stdc+:} false; then :
13226  $as_echo_n "(cached) " >&6
13227else
13228  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13229/* end confdefs.h.  */
13230#include <stdlib.h>
13231#include <stdarg.h>
13232#include <string.h>
13233#include <float.h>
13234
13235int
13236main ()
13237{
13238
13239  ;
13240  return 0;
13241}
13242_ACEOF
13243if ac_fn_c_try_compile "$LINENO"; then :
13244  ac_cv_header_stdc=yes
13245else
13246  ac_cv_header_stdc=no
13247fi
13248rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13249
13250if test $ac_cv_header_stdc = yes; then
13251  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13252  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13253/* end confdefs.h.  */
13254#include <string.h>
13255
13256_ACEOF
13257if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13258  $EGREP "memchr" >/dev/null 2>&1; then :
13259
13260else
13261  ac_cv_header_stdc=no
13262fi
13263rm -f conftest*
13264
13265fi
13266
13267if test $ac_cv_header_stdc = yes; then
13268  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13269  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13270/* end confdefs.h.  */
13271#include <stdlib.h>
13272
13273_ACEOF
13274if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13275  $EGREP "free" >/dev/null 2>&1; then :
13276
13277else
13278  ac_cv_header_stdc=no
13279fi
13280rm -f conftest*
13281
13282fi
13283
13284if test $ac_cv_header_stdc = yes; then
13285  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13286  if test "$cross_compiling" = yes; then :
13287  :
13288else
13289  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13290/* end confdefs.h.  */
13291#include <ctype.h>
13292#include <stdlib.h>
13293#if ((' ' & 0x0FF) == 0x020)
13294# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13295# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13296#else
13297# define ISLOWER(c) \
13298		   (('a' <= (c) && (c) <= 'i') \
13299		     || ('j' <= (c) && (c) <= 'r') \
13300		     || ('s' <= (c) && (c) <= 'z'))
13301# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13302#endif
13303
13304#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13305int
13306main ()
13307{
13308  int i;
13309  for (i = 0; i < 256; i++)
13310    if (XOR (islower (i), ISLOWER (i))
13311	|| toupper (i) != TOUPPER (i))
13312      return 2;
13313  return 0;
13314}
13315_ACEOF
13316if ac_fn_c_try_run "$LINENO"; then :
13317
13318else
13319  ac_cv_header_stdc=no
13320fi
13321rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13322  conftest.$ac_objext conftest.beam conftest.$ac_ext
13323fi
13324
13325fi
13326fi
13327{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
13328$as_echo "$ac_cv_header_stdc" >&6; }
13329if test $ac_cv_header_stdc = yes; then
13330
13331$as_echo "#define STDC_HEADERS 1" >>confdefs.h
13332
13333fi
13334
13335{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether closedir returns void" >&5
13336$as_echo_n "checking whether closedir returns void... " >&6; }
13337if ${ac_cv_func_closedir_void+:} false; then :
13338  $as_echo_n "(cached) " >&6
13339else
13340  if test "$cross_compiling" = yes; then :
13341  ac_cv_func_closedir_void=yes
13342else
13343  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13344/* end confdefs.h.  */
13345$ac_includes_default
13346#include <$ac_header_dirent>
13347#ifndef __cplusplus
13348int closedir ();
13349#endif
13350
13351int
13352main ()
13353{
13354return closedir (opendir (".")) != 0;
13355  ;
13356  return 0;
13357}
13358_ACEOF
13359if ac_fn_c_try_run "$LINENO"; then :
13360  ac_cv_func_closedir_void=no
13361else
13362  ac_cv_func_closedir_void=yes
13363fi
13364rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13365  conftest.$ac_objext conftest.beam conftest.$ac_ext
13366fi
13367
13368fi
13369{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_closedir_void" >&5
13370$as_echo "$ac_cv_func_closedir_void" >&6; }
13371if test $ac_cv_func_closedir_void = yes; then
13372
13373$as_echo "#define CLOSEDIR_VOID 1" >>confdefs.h
13374
13375fi
13376
13377for ac_header in assert.h float.h limits.h pwd.h stdlib.h sys/param.h
13378do :
13379  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13380ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13381if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13382  cat >>confdefs.h <<_ACEOF
13383#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13384_ACEOF
13385
13386fi
13387
13388done
13389
13390for ac_func in putenv
13391do :
13392  ac_fn_c_check_func "$LINENO" "putenv" "ac_cv_func_putenv"
13393if test "x$ac_cv_func_putenv" = xyes; then :
13394  cat >>confdefs.h <<_ACEOF
13395#define HAVE_PUTENV 1
13396_ACEOF
13397
13398fi
13399done
13400
13401for ac_func in getcwd getwd memcmp memcpy mkstemp mktemp strchr strrchr
13402do :
13403  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13404ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13405if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13406  cat >>confdefs.h <<_ACEOF
13407#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13408_ACEOF
13409
13410fi
13411done
13412
13413{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
13414$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
13415if ${ac_cv_c_const+:} false; then :
13416  $as_echo_n "(cached) " >&6
13417else
13418  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13419/* end confdefs.h.  */
13420
13421int
13422main ()
13423{
13424
13425#ifndef __cplusplus
13426  /* Ultrix mips cc rejects this sort of thing.  */
13427  typedef int charset[2];
13428  const charset cs = { 0, 0 };
13429  /* SunOS 4.1.1 cc rejects this.  */
13430  char const *const *pcpcc;
13431  char **ppc;
13432  /* NEC SVR4.0.2 mips cc rejects this.  */
13433  struct point {int x, y;};
13434  static struct point const zero = {0,0};
13435  /* AIX XL C 1.02.0.0 rejects this.
13436     It does not let you subtract one const X* pointer from another in
13437     an arm of an if-expression whose if-part is not a constant
13438     expression */
13439  const char *g = "string";
13440  pcpcc = &g + (g ? g-g : 0);
13441  /* HPUX 7.0 cc rejects these. */
13442  ++pcpcc;
13443  ppc = (char**) pcpcc;
13444  pcpcc = (char const *const *) ppc;
13445  { /* SCO 3.2v4 cc rejects this sort of thing.  */
13446    char tx;
13447    char *t = &tx;
13448    char const *s = 0 ? (char *) 0 : (char const *) 0;
13449
13450    *t++ = 0;
13451    if (s) return 0;
13452  }
13453  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
13454    int x[] = {25, 17};
13455    const int *foo = &x[0];
13456    ++foo;
13457  }
13458  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13459    typedef const int *iptr;
13460    iptr p = 0;
13461    ++p;
13462  }
13463  { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
13464       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13465    struct s { int j; const int *ap[3]; } bx;
13466    struct s *b = &bx; b->j = 5;
13467  }
13468  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13469    const int foo = 10;
13470    if (!foo) return 0;
13471  }
13472  return !cs[0] && !zero.x;
13473#endif
13474
13475  ;
13476  return 0;
13477}
13478_ACEOF
13479if ac_fn_c_try_compile "$LINENO"; then :
13480  ac_cv_c_const=yes
13481else
13482  ac_cv_c_const=no
13483fi
13484rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13485fi
13486{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
13487$as_echo "$ac_cv_c_const" >&6; }
13488if test $ac_cv_c_const = no; then
13489
13490$as_echo "#define const /**/" >>confdefs.h
13491
13492fi
13493
13494{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
13495$as_echo_n "checking for inline... " >&6; }
13496if ${ac_cv_c_inline+:} false; then :
13497  $as_echo_n "(cached) " >&6
13498else
13499  ac_cv_c_inline=no
13500for ac_kw in inline __inline__ __inline; do
13501  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13502/* end confdefs.h.  */
13503#ifndef __cplusplus
13504typedef int foo_t;
13505static $ac_kw foo_t static_foo () {return 0; }
13506$ac_kw foo_t foo () {return 0; }
13507#endif
13508
13509_ACEOF
13510if ac_fn_c_try_compile "$LINENO"; then :
13511  ac_cv_c_inline=$ac_kw
13512fi
13513rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13514  test "$ac_cv_c_inline" != no && break
13515done
13516
13517fi
13518{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
13519$as_echo "$ac_cv_c_inline" >&6; }
13520
13521case $ac_cv_c_inline in
13522  inline | yes) ;;
13523  *)
13524    case $ac_cv_c_inline in
13525      no) ac_val=;;
13526      *) ac_val=$ac_cv_c_inline;;
13527    esac
13528    cat >>confdefs.h <<_ACEOF
13529#ifndef __cplusplus
13530#define inline $ac_val
13531#endif
13532_ACEOF
13533    ;;
13534esac
13535
13536ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
13537if test "x$ac_cv_type_size_t" = xyes; then :
13538
13539else
13540
13541cat >>confdefs.h <<_ACEOF
13542#define size_t unsigned int
13543_ACEOF
13544
13545fi
13546
13547ac_fn_c_find_intX_t "$LINENO" "64" "ac_cv_c_int64_t"
13548case $ac_cv_c_int64_t in #(
13549  no|yes) ;; #(
13550  *)
13551
13552cat >>confdefs.h <<_ACEOF
13553#define int64_t $ac_cv_c_int64_t
13554_ACEOF
13555;;
13556esac
13557
13558ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t"
13559case $ac_cv_c_uint64_t in #(
13560  no|yes) ;; #(
13561  *)
13562
13563$as_echo "#define _UINT64_T 1" >>confdefs.h
13564
13565
13566cat >>confdefs.h <<_ACEOF
13567#define uint64_t $ac_cv_c_uint64_t
13568_ACEOF
13569;;
13570  esac
13571
13572case :$ac_cv_c_int64_t:$ac_cv_c_int64_t: in #(
13573  *':no:'*) :
13574    as_fn_error $? "Sorry, your compiler does not support 64-bit integer types." "$LINENO" 5 ;; #(
13575  *) :
13576     ;;
13577esac
13578ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
13579if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
13580
13581cat >>confdefs.h <<_ACEOF
13582#define HAVE_STRUCT_STAT_ST_MTIM 1
13583_ACEOF
13584
13585
13586fi
13587
13588
13589
13590# The cast to long int works around a bug in the HP C Compiler
13591# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13592# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13593# This bug is HP SR number 8606223364.
13594{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
13595$as_echo_n "checking size of int... " >&6; }
13596if ${ac_cv_sizeof_int+:} false; then :
13597  $as_echo_n "(cached) " >&6
13598else
13599  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
13600
13601else
13602  if test "$ac_cv_type_int" = yes; then
13603     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13604$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13605as_fn_error 77 "cannot compute sizeof (int)
13606See \`config.log' for more details" "$LINENO" 5; }
13607   else
13608     ac_cv_sizeof_int=0
13609   fi
13610fi
13611
13612fi
13613{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
13614$as_echo "$ac_cv_sizeof_int" >&6; }
13615
13616
13617
13618cat >>confdefs.h <<_ACEOF
13619#define SIZEOF_INT $ac_cv_sizeof_int
13620_ACEOF
13621
13622
13623
13624ac_config_headers="$ac_config_headers config.h"
13625
13626
13627kpse_save_CPPFLAGS=$CPPFLAGS
13628kpse_save_LIBS=$LIBS
13629
13630## _KPSE_INIT: Initialize TL infrastructure
13631kpse_BLD=`(cd "./../../." && pwd)`
13632kpse_SRC=`(cd "$srcdir/../../." && pwd)`
13633
13634## _KPSE_USE_LIBTOOL: Generate a libtool script for use in configure tests
13635: ${CONFIG_LT=./config.lt}
13636{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_LT" >&5
13637$as_echo "$as_me: creating $CONFIG_LT" >&6;}
13638as_write_fail=0
13639cat >"$CONFIG_LT" <<_ASEOF || as_write_fail=1
13640#! $SHELL
13641# Generated by $as_me.
13642# Run this file to recreate a libtool stub with the current configuration.
13643SHELL=\${CONFIG_SHELL-$SHELL}
13644export SHELL
13645_ASEOF
13646cat >>"$CONFIG_LT" <<\_ASEOF || as_write_fail=1
13647## -------------------- ##
13648## M4sh Initialization. ##
13649## -------------------- ##
13650
13651# Be more Bourne compatible
13652DUALCASE=1; export DUALCASE # for MKS sh
13653if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13654  emulate sh
13655  NULLCMD=:
13656  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13657  # is contrary to our usage.  Disable this feature.
13658  alias -g '${1+"$@"}'='"$@"'
13659  setopt NO_GLOB_SUBST
13660else
13661  case `(set -o) 2>/dev/null` in #(
13662  *posix*) :
13663    set -o posix ;; #(
13664  *) :
13665     ;;
13666esac
13667fi
13668
13669
13670as_nl='
13671'
13672export as_nl
13673# Printing a long string crashes Solaris 7 /usr/bin/printf.
13674as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13675as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13676as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13677# Prefer a ksh shell builtin over an external printf program on Solaris,
13678# but without wasting forks for bash or zsh.
13679if test -z "$BASH_VERSION$ZSH_VERSION" \
13680    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13681  as_echo='print -r --'
13682  as_echo_n='print -rn --'
13683elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13684  as_echo='printf %s\n'
13685  as_echo_n='printf %s'
13686else
13687  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13688    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13689    as_echo_n='/usr/ucb/echo -n'
13690  else
13691    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13692    as_echo_n_body='eval
13693      arg=$1;
13694      case $arg in #(
13695      *"$as_nl"*)
13696	expr "X$arg" : "X\\(.*\\)$as_nl";
13697	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13698      esac;
13699      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13700    '
13701    export as_echo_n_body
13702    as_echo_n='sh -c $as_echo_n_body as_echo'
13703  fi
13704  export as_echo_body
13705  as_echo='sh -c $as_echo_body as_echo'
13706fi
13707
13708# The user is always right.
13709if test "${PATH_SEPARATOR+set}" != set; then
13710  PATH_SEPARATOR=:
13711  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13712    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13713      PATH_SEPARATOR=';'
13714  }
13715fi
13716
13717
13718# IFS
13719# We need space, tab and new line, in precisely that order.  Quoting is
13720# there to prevent editors from complaining about space-tab.
13721# (If _AS_PATH_WALK were called with IFS unset, it would disable word
13722# splitting by setting IFS to empty value.)
13723IFS=" ""	$as_nl"
13724
13725# Find who we are.  Look in the path if we contain no directory separator.
13726as_myself=
13727case $0 in #((
13728  *[\\/]* ) as_myself=$0 ;;
13729  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13730for as_dir in $PATH
13731do
13732  IFS=$as_save_IFS
13733  test -z "$as_dir" && as_dir=.
13734    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13735  done
13736IFS=$as_save_IFS
13737
13738     ;;
13739esac
13740# We did not find ourselves, most probably we were run as `sh COMMAND'
13741# in which case we are not to be found in the path.
13742if test "x$as_myself" = x; then
13743  as_myself=$0
13744fi
13745if test ! -f "$as_myself"; then
13746  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13747  exit 1
13748fi
13749
13750# Unset variables that we do not need and which cause bugs (e.g. in
13751# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
13752# suppresses any "Segmentation fault" message there.  '((' could
13753# trigger a bug in pdksh 5.2.14.
13754for as_var in BASH_ENV ENV MAIL MAILPATH
13755do eval test x\${$as_var+set} = xset \
13756  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13757done
13758PS1='$ '
13759PS2='> '
13760PS4='+ '
13761
13762# NLS nuisances.
13763LC_ALL=C
13764export LC_ALL
13765LANGUAGE=C
13766export LANGUAGE
13767
13768# CDPATH.
13769(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13770
13771
13772# as_fn_error STATUS ERROR [LINENO LOG_FD]
13773# ----------------------------------------
13774# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13775# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13776# script with STATUS, using 1 if that was 0.
13777as_fn_error ()
13778{
13779  as_status=$1; test $as_status -eq 0 && as_status=1
13780  if test "$4"; then
13781    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13782    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13783  fi
13784  $as_echo "$as_me: error: $2" >&2
13785  as_fn_exit $as_status
13786} # as_fn_error
13787
13788
13789# as_fn_set_status STATUS
13790# -----------------------
13791# Set $? to STATUS, without forking.
13792as_fn_set_status ()
13793{
13794  return $1
13795} # as_fn_set_status
13796
13797# as_fn_exit STATUS
13798# -----------------
13799# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13800as_fn_exit ()
13801{
13802  set +e
13803  as_fn_set_status $1
13804  exit $1
13805} # as_fn_exit
13806
13807# as_fn_unset VAR
13808# ---------------
13809# Portably unset VAR.
13810as_fn_unset ()
13811{
13812  { eval $1=; unset $1;}
13813}
13814as_unset=as_fn_unset
13815# as_fn_append VAR VALUE
13816# ----------------------
13817# Append the text in VALUE to the end of the definition contained in VAR. Take
13818# advantage of any shell optimizations that allow amortized linear growth over
13819# repeated appends, instead of the typical quadratic growth present in naive
13820# implementations.
13821if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13822  eval 'as_fn_append ()
13823  {
13824    eval $1+=\$2
13825  }'
13826else
13827  as_fn_append ()
13828  {
13829    eval $1=\$$1\$2
13830  }
13831fi # as_fn_append
13832
13833# as_fn_arith ARG...
13834# ------------------
13835# Perform arithmetic evaluation on the ARGs, and store the result in the
13836# global $as_val. Take advantage of shells that can avoid forks. The arguments
13837# must be portable across $(()) and expr.
13838if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13839  eval 'as_fn_arith ()
13840  {
13841    as_val=$(( $* ))
13842  }'
13843else
13844  as_fn_arith ()
13845  {
13846    as_val=`expr "$@" || test $? -eq 1`
13847  }
13848fi # as_fn_arith
13849
13850
13851if expr a : '\(a\)' >/dev/null 2>&1 &&
13852   test "X`expr 00001 : '.*\(...\)'`" = X001; then
13853  as_expr=expr
13854else
13855  as_expr=false
13856fi
13857
13858if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13859  as_basename=basename
13860else
13861  as_basename=false
13862fi
13863
13864if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13865  as_dirname=dirname
13866else
13867  as_dirname=false
13868fi
13869
13870as_me=`$as_basename -- "$0" ||
13871$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13872	 X"$0" : 'X\(//\)$' \| \
13873	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13874$as_echo X/"$0" |
13875    sed '/^.*\/\([^/][^/]*\)\/*$/{
13876	    s//\1/
13877	    q
13878	  }
13879	  /^X\/\(\/\/\)$/{
13880	    s//\1/
13881	    q
13882	  }
13883	  /^X\/\(\/\).*/{
13884	    s//\1/
13885	    q
13886	  }
13887	  s/.*/./; q'`
13888
13889# Avoid depending upon Character Ranges.
13890as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13891as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13892as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13893as_cr_digits='0123456789'
13894as_cr_alnum=$as_cr_Letters$as_cr_digits
13895
13896ECHO_C= ECHO_N= ECHO_T=
13897case `echo -n x` in #(((((
13898-n*)
13899  case `echo 'xy\c'` in
13900  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
13901  xy)  ECHO_C='\c';;
13902  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
13903       ECHO_T='	';;
13904  esac;;
13905*)
13906  ECHO_N='-n';;
13907esac
13908
13909rm -f conf$$ conf$$.exe conf$$.file
13910if test -d conf$$.dir; then
13911  rm -f conf$$.dir/conf$$.file
13912else
13913  rm -f conf$$.dir
13914  mkdir conf$$.dir 2>/dev/null
13915fi
13916if (echo >conf$$.file) 2>/dev/null; then
13917  if ln -s conf$$.file conf$$ 2>/dev/null; then
13918    as_ln_s='ln -s'
13919    # ... but there are two gotchas:
13920    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13921    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13922    # In both cases, we have to default to `cp -pR'.
13923    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13924      as_ln_s='cp -pR'
13925  elif ln conf$$.file conf$$ 2>/dev/null; then
13926    as_ln_s=ln
13927  else
13928    as_ln_s='cp -pR'
13929  fi
13930else
13931  as_ln_s='cp -pR'
13932fi
13933rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13934rmdir conf$$.dir 2>/dev/null
13935
13936
13937# as_fn_mkdir_p
13938# -------------
13939# Create "$as_dir" as a directory, including parents if necessary.
13940as_fn_mkdir_p ()
13941{
13942
13943  case $as_dir in #(
13944  -*) as_dir=./$as_dir;;
13945  esac
13946  test -d "$as_dir" || eval $as_mkdir_p || {
13947    as_dirs=
13948    while :; do
13949      case $as_dir in #(
13950      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13951      *) as_qdir=$as_dir;;
13952      esac
13953      as_dirs="'$as_qdir' $as_dirs"
13954      as_dir=`$as_dirname -- "$as_dir" ||
13955$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13956	 X"$as_dir" : 'X\(//\)[^/]' \| \
13957	 X"$as_dir" : 'X\(//\)$' \| \
13958	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13959$as_echo X"$as_dir" |
13960    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13961	    s//\1/
13962	    q
13963	  }
13964	  /^X\(\/\/\)[^/].*/{
13965	    s//\1/
13966	    q
13967	  }
13968	  /^X\(\/\/\)$/{
13969	    s//\1/
13970	    q
13971	  }
13972	  /^X\(\/\).*/{
13973	    s//\1/
13974	    q
13975	  }
13976	  s/.*/./; q'`
13977      test -d "$as_dir" && break
13978    done
13979    test -z "$as_dirs" || eval "mkdir $as_dirs"
13980  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13981
13982
13983} # as_fn_mkdir_p
13984if mkdir -p . 2>/dev/null; then
13985  as_mkdir_p='mkdir -p "$as_dir"'
13986else
13987  test -d ./-p && rmdir ./-p
13988  as_mkdir_p=false
13989fi
13990
13991
13992# as_fn_executable_p FILE
13993# -----------------------
13994# Test if FILE is an executable regular file.
13995as_fn_executable_p ()
13996{
13997  test -f "$1" && test -x "$1"
13998} # as_fn_executable_p
13999as_test_x='test -x'
14000as_executable_p=as_fn_executable_p
14001
14002# Sed expression to map a string onto a valid CPP name.
14003as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14004
14005# Sed expression to map a string onto a valid variable name.
14006as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14007
14008
14009exec 6>&1
14010## --------------------------------- ##
14011## Main body of "$CONFIG_LT" script. ##
14012## --------------------------------- ##
14013_ASEOF
14014test $as_write_fail = 0 && chmod +x "$CONFIG_LT"
14015
14016cat >>"$CONFIG_LT" <<\_LTEOF
14017lt_cl_silent=false
14018exec 5>>config.log
14019{
14020  echo
14021  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14022## Running $as_me. ##
14023_ASBOX
14024} >&5
14025
14026lt_cl_help="\
14027'$as_me' creates a local libtool stub from the current configuration,
14028for use in further configure time tests before the real libtool is
14029generated.
14030
14031Usage: $0 [OPTIONS]
14032
14033  -h, --help      print this help, then exit
14034  -V, --version   print version number, then exit
14035  -q, --quiet     do not print progress messages
14036  -d, --debug     don't remove temporary files
14037
14038Report bugs to <bug-libtool@gnu.org>."
14039
14040lt_cl_version="\
14041ttfdump (TeX Live) config.lt 0.5.5
14042configured by $0, generated by GNU Autoconf 2.69.
14043
14044Copyright (C) 2011 Free Software Foundation, Inc.
14045This config.lt script is free software; the Free Software Foundation
14046gives unlimited permision to copy, distribute and modify it."
14047
14048while test 0 != $#
14049do
14050  case $1 in
14051    --version | --v* | -V )
14052      echo "$lt_cl_version"; exit 0 ;;
14053    --help | --h* | -h )
14054      echo "$lt_cl_help"; exit 0 ;;
14055    --debug | --d* | -d )
14056      debug=: ;;
14057    --quiet | --q* | --silent | --s* | -q )
14058      lt_cl_silent=: ;;
14059
14060    -*) as_fn_error $? "unrecognized option: $1
14061Try '$0 --help' for more information." "$LINENO" 5 ;;
14062
14063    *) as_fn_error $? "unrecognized argument: $1
14064Try '$0 --help' for more information." "$LINENO" 5 ;;
14065  esac
14066  shift
14067done
14068
14069if $lt_cl_silent; then
14070  exec 6>/dev/null
14071fi
14072_LTEOF
14073
14074cat >>"$CONFIG_LT" <<_LTEOF
14075
14076
14077# The HP-UX ksh and POSIX shell print the target directory to stdout
14078# if CDPATH is set.
14079(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14080
14081sed_quote_subst='$sed_quote_subst'
14082double_quote_subst='$double_quote_subst'
14083delay_variable_subst='$delay_variable_subst'
14084macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14085macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14086AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
14087DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14088OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14089enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14090enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14091pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14092enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14093shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
14094SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14095ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14096PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
14097host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14098host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14099host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14100build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14101build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14102build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14103SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14104Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14105GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14106EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14107FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14108LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14109NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14110LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14111max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14112ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14113exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14114lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14115lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14116lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14117lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14118lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14119reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14120reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14121deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14122file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14123file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14124want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14125sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14126AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14127AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14128archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14129STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14130RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14131old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14132old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14133old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14134lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14135CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14136CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14137compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14138GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14139lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14140lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14141lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
14142lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14143lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
14144lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
14145nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14146lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14147lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
14148objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14149MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14150lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14151lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14152lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14153lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14154lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14155need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14156MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14157DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14158NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14159LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14160OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14161OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14162libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14163shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14164extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14165archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14166enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14167export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14168whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14169compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14170old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14171old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14172archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14173archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14174module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14175module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14176with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14177allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14178no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14179hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14180hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14181hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14182hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14183hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14184hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14185hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14186inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14187link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14188always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14189export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14190exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14191include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14192prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14193postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14194file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14195variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14196need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14197need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14198version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14199runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14200shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14201shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14202libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14203library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14204soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14205install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14206postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14207postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14208finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14209finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14210hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14211sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14212configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
14213configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
14214hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14215enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14216enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14217enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14218old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14219striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14220
14221LTCC='$LTCC'
14222LTCFLAGS='$LTCFLAGS'
14223compiler='$compiler_DEFAULT'
14224
14225# A function that is used when there is no print builtin or printf.
14226func_fallback_echo ()
14227{
14228  eval 'cat <<_LTECHO_EOF
14229\$1
14230_LTECHO_EOF'
14231}
14232
14233# Quote evaled strings.
14234for var in AS \
14235DLLTOOL \
14236OBJDUMP \
14237SHELL \
14238ECHO \
14239PATH_SEPARATOR \
14240SED \
14241GREP \
14242EGREP \
14243FGREP \
14244LD \
14245NM \
14246LN_S \
14247lt_SP2NL \
14248lt_NL2SP \
14249reload_flag \
14250deplibs_check_method \
14251file_magic_cmd \
14252file_magic_glob \
14253want_nocaseglob \
14254sharedlib_from_linklib_cmd \
14255AR \
14256AR_FLAGS \
14257archiver_list_spec \
14258STRIP \
14259RANLIB \
14260CC \
14261CFLAGS \
14262compiler \
14263lt_cv_sys_global_symbol_pipe \
14264lt_cv_sys_global_symbol_to_cdecl \
14265lt_cv_sys_global_symbol_to_import \
14266lt_cv_sys_global_symbol_to_c_name_address \
14267lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14268lt_cv_nm_interface \
14269nm_file_list_spec \
14270lt_cv_truncate_bin \
14271lt_prog_compiler_no_builtin_flag \
14272lt_prog_compiler_pic \
14273lt_prog_compiler_wl \
14274lt_prog_compiler_static \
14275lt_cv_prog_compiler_c_o \
14276need_locks \
14277MANIFEST_TOOL \
14278DSYMUTIL \
14279NMEDIT \
14280LIPO \
14281OTOOL \
14282OTOOL64 \
14283shrext_cmds \
14284export_dynamic_flag_spec \
14285whole_archive_flag_spec \
14286compiler_needs_object \
14287with_gnu_ld \
14288allow_undefined_flag \
14289no_undefined_flag \
14290hardcode_libdir_flag_spec \
14291hardcode_libdir_separator \
14292exclude_expsyms \
14293include_expsyms \
14294file_list_spec \
14295variables_saved_for_relink \
14296libname_spec \
14297library_names_spec \
14298soname_spec \
14299install_override_mode \
14300finish_eval \
14301old_striplib \
14302striplib; do
14303    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14304    *[\\\\\\\`\\"\\\$]*)
14305      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
14306      ;;
14307    *)
14308      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14309      ;;
14310    esac
14311done
14312
14313# Double-quote double-evaled strings.
14314for var in reload_cmds \
14315old_postinstall_cmds \
14316old_postuninstall_cmds \
14317old_archive_cmds \
14318extract_expsyms_cmds \
14319old_archive_from_new_cmds \
14320old_archive_from_expsyms_cmds \
14321archive_cmds \
14322archive_expsym_cmds \
14323module_cmds \
14324module_expsym_cmds \
14325export_symbols_cmds \
14326prelink_cmds \
14327postlink_cmds \
14328postinstall_cmds \
14329postuninstall_cmds \
14330finish_cmds \
14331sys_lib_search_path_spec \
14332configure_time_dlsearch_path \
14333configure_time_lt_sys_library_path; do
14334    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14335    *[\\\\\\\`\\"\\\$]*)
14336      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
14337      ;;
14338    *)
14339      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14340      ;;
14341    esac
14342done
14343
14344ac_aux_dir='$ac_aux_dir'
14345
14346# See if we are running on zsh, and set the options that allow our
14347# commands through without removal of \ escapes INIT.
14348if test -n "\${ZSH_VERSION+set}"; then
14349   setopt NO_GLOB_SUBST
14350fi
14351
14352
14353    PACKAGE='$PACKAGE'
14354    VERSION='$VERSION'
14355    RM='$RM'
14356    ofile='$ofile'
14357
14358
14359
14360_LTEOF
14361
14362cat >>"$CONFIG_LT" <<\_LTEOF
14363{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ofile" >&5
14364$as_echo "$as_me: creating $ofile" >&6;}
14365
14366
14367    # See if we are running on zsh, and set the options that allow our
14368    # commands through without removal of \ escapes.
14369    if test -n "${ZSH_VERSION+set}"; then
14370      setopt NO_GLOB_SUBST
14371    fi
14372
14373    cfgfile=${ofile}T
14374    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14375    $RM "$cfgfile"
14376
14377    cat <<_LT_EOF >> "$cfgfile"
14378#! $SHELL
14379# Generated automatically by $as_me ($PACKAGE) $VERSION
14380# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14381# NOTE: Changes made to this file will be lost: look at ltmain.sh.
14382
14383# Provide generalized library-building support services.
14384# Written by Gordon Matzigkeit, 1996
14385
14386# Copyright (C) 2014 Free Software Foundation, Inc.
14387# This is free software; see the source for copying conditions.  There is NO
14388# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14389
14390# GNU Libtool is free software; you can redistribute it and/or modify
14391# it under the terms of the GNU General Public License as published by
14392# the Free Software Foundation; either version 2 of of the License, or
14393# (at your option) any later version.
14394#
14395# As a special exception to the GNU General Public License, if you
14396# distribute this file as part of a program or library that is built
14397# using GNU Libtool, you may include this file under the  same
14398# distribution terms that you use for the rest of that program.
14399#
14400# GNU Libtool is distributed in the hope that it will be useful, but
14401# WITHOUT ANY WARRANTY; without even the implied warranty of
14402# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14403# GNU General Public License for more details.
14404#
14405# You should have received a copy of the GNU General Public License
14406# along with this program.  If not, see <http://www.gnu.org/licenses/>.
14407
14408
14409# The names of the tagged configurations supported by this script.
14410available_tags=''
14411
14412# Configured defaults for sys_lib_dlsearch_path munging.
14413: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
14414
14415# ### BEGIN LIBTOOL CONFIG
14416
14417# Which release of libtool.m4 was used?
14418macro_version=$macro_version
14419macro_revision=$macro_revision
14420
14421# Assembler program.
14422AS=$lt_AS
14423
14424# DLL creation program.
14425DLLTOOL=$lt_DLLTOOL
14426
14427# Object dumper program.
14428OBJDUMP=$lt_OBJDUMP
14429
14430# Whether or not to build shared libraries.
14431build_libtool_libs=$enable_shared
14432
14433# Whether or not to build static libraries.
14434build_old_libs=$enable_static
14435
14436# What type of objects to build.
14437pic_mode=$pic_mode
14438
14439# Whether or not to optimize for fast installation.
14440fast_install=$enable_fast_install
14441
14442# Shared archive member basename,for filename based shared library versioning on AIX.
14443shared_archive_member_spec=$shared_archive_member_spec
14444
14445# Shell to use when invoking shell scripts.
14446SHELL=$lt_SHELL
14447
14448# An echo program that protects backslashes.
14449ECHO=$lt_ECHO
14450
14451# The PATH separator for the build system.
14452PATH_SEPARATOR=$lt_PATH_SEPARATOR
14453
14454# The host system.
14455host_alias=$host_alias
14456host=$host
14457host_os=$host_os
14458
14459# The build system.
14460build_alias=$build_alias
14461build=$build
14462build_os=$build_os
14463
14464# A sed program that does not truncate output.
14465SED=$lt_SED
14466
14467# Sed that helps us avoid accidentally triggering echo(1) options like -n.
14468Xsed="\$SED -e 1s/^X//"
14469
14470# A grep program that handles long lines.
14471GREP=$lt_GREP
14472
14473# An ERE matcher.
14474EGREP=$lt_EGREP
14475
14476# A literal string matcher.
14477FGREP=$lt_FGREP
14478
14479# A BSD- or MS-compatible name lister.
14480NM=$lt_NM
14481
14482# Whether we need soft or hard links.
14483LN_S=$lt_LN_S
14484
14485# What is the maximum length of a command?
14486max_cmd_len=$max_cmd_len
14487
14488# Object file suffix (normally "o").
14489objext=$ac_objext
14490
14491# Executable file suffix (normally "").
14492exeext=$exeext
14493
14494# whether the shell understands "unset".
14495lt_unset=$lt_unset
14496
14497# turn spaces into newlines.
14498SP2NL=$lt_lt_SP2NL
14499
14500# turn newlines into spaces.
14501NL2SP=$lt_lt_NL2SP
14502
14503# convert \$build file names to \$host format.
14504to_host_file_cmd=$lt_cv_to_host_file_cmd
14505
14506# convert \$build files to toolchain format.
14507to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14508
14509# Method to check whether dependent libraries are shared objects.
14510deplibs_check_method=$lt_deplibs_check_method
14511
14512# Command to use when deplibs_check_method = "file_magic".
14513file_magic_cmd=$lt_file_magic_cmd
14514
14515# How to find potential files when deplibs_check_method = "file_magic".
14516file_magic_glob=$lt_file_magic_glob
14517
14518# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14519want_nocaseglob=$lt_want_nocaseglob
14520
14521# Command to associate shared and link libraries.
14522sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14523
14524# The archiver.
14525AR=$lt_AR
14526
14527# Flags to create an archive.
14528AR_FLAGS=$lt_AR_FLAGS
14529
14530# How to feed a file listing to the archiver.
14531archiver_list_spec=$lt_archiver_list_spec
14532
14533# A symbol stripping program.
14534STRIP=$lt_STRIP
14535
14536# Commands used to install an old-style archive.
14537RANLIB=$lt_RANLIB
14538old_postinstall_cmds=$lt_old_postinstall_cmds
14539old_postuninstall_cmds=$lt_old_postuninstall_cmds
14540
14541# Whether to use a lock for old archive extraction.
14542lock_old_archive_extraction=$lock_old_archive_extraction
14543
14544# A C compiler.
14545LTCC=$lt_CC
14546
14547# LTCC compiler flags.
14548LTCFLAGS=$lt_CFLAGS
14549
14550# Take the output of nm and produce a listing of raw symbols and C names.
14551global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14552
14553# Transform the output of nm in a proper C declaration.
14554global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14555
14556# Transform the output of nm into a list of symbols to manually relocate.
14557global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
14558
14559# Transform the output of nm in a C name address pair.
14560global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14561
14562# Transform the output of nm in a C name address pair when lib prefix is needed.
14563global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14564
14565# The name lister interface.
14566nm_interface=$lt_lt_cv_nm_interface
14567
14568# Specify filename containing input files for \$NM.
14569nm_file_list_spec=$lt_nm_file_list_spec
14570
14571# The root where to search for dependent libraries,and where our libraries should be installed.
14572lt_sysroot=$lt_sysroot
14573
14574# Command to truncate a binary pipe.
14575lt_truncate_bin=$lt_lt_cv_truncate_bin
14576
14577# The name of the directory that contains temporary libtool files.
14578objdir=$objdir
14579
14580# Used to examine libraries when file_magic_cmd begins with "file".
14581MAGIC_CMD=$MAGIC_CMD
14582
14583# Must we lock files when doing compilation?
14584need_locks=$lt_need_locks
14585
14586# Manifest tool.
14587MANIFEST_TOOL=$lt_MANIFEST_TOOL
14588
14589# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14590DSYMUTIL=$lt_DSYMUTIL
14591
14592# Tool to change global to local symbols on Mac OS X.
14593NMEDIT=$lt_NMEDIT
14594
14595# Tool to manipulate fat objects and archives on Mac OS X.
14596LIPO=$lt_LIPO
14597
14598# ldd/readelf like tool for Mach-O binaries on Mac OS X.
14599OTOOL=$lt_OTOOL
14600
14601# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14602OTOOL64=$lt_OTOOL64
14603
14604# Old archive suffix (normally "a").
14605libext=$libext
14606
14607# Shared library suffix (normally ".so").
14608shrext_cmds=$lt_shrext_cmds
14609
14610# The commands to extract the exported symbol list from a shared archive.
14611extract_expsyms_cmds=$lt_extract_expsyms_cmds
14612
14613# Variables whose values should be saved in libtool wrapper scripts and
14614# restored at link time.
14615variables_saved_for_relink=$lt_variables_saved_for_relink
14616
14617# Do we need the "lib" prefix for modules?
14618need_lib_prefix=$need_lib_prefix
14619
14620# Do we need a version for libraries?
14621need_version=$need_version
14622
14623# Library versioning type.
14624version_type=$version_type
14625
14626# Shared library runtime path variable.
14627runpath_var=$runpath_var
14628
14629# Shared library path variable.
14630shlibpath_var=$shlibpath_var
14631
14632# Is shlibpath searched before the hard-coded library search path?
14633shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14634
14635# Format of library name prefix.
14636libname_spec=$lt_libname_spec
14637
14638# List of archive names.  First name is the real one, the rest are links.
14639# The last name is the one that the linker finds with -lNAME
14640library_names_spec=$lt_library_names_spec
14641
14642# The coded name of the library, if different from the real name.
14643soname_spec=$lt_soname_spec
14644
14645# Permission mode override for installation of shared libraries.
14646install_override_mode=$lt_install_override_mode
14647
14648# Command to use after installation of a shared archive.
14649postinstall_cmds=$lt_postinstall_cmds
14650
14651# Command to use after uninstallation of a shared archive.
14652postuninstall_cmds=$lt_postuninstall_cmds
14653
14654# Commands used to finish a libtool library installation in a directory.
14655finish_cmds=$lt_finish_cmds
14656
14657# As "finish_cmds", except a single script fragment to be evaled but
14658# not shown.
14659finish_eval=$lt_finish_eval
14660
14661# Whether we should hardcode library paths into libraries.
14662hardcode_into_libs=$hardcode_into_libs
14663
14664# Compile-time system search path for libraries.
14665sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14666
14667# Detected run-time system search path for libraries.
14668sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
14669
14670# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
14671configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
14672
14673# Whether dlopen is supported.
14674dlopen_support=$enable_dlopen
14675
14676# Whether dlopen of programs is supported.
14677dlopen_self=$enable_dlopen_self
14678
14679# Whether dlopen of statically linked programs is supported.
14680dlopen_self_static=$enable_dlopen_self_static
14681
14682# Commands to strip libraries.
14683old_striplib=$lt_old_striplib
14684striplib=$lt_striplib
14685
14686
14687# The linker used to build libraries.
14688LD=$lt_LD
14689
14690# How to create reloadable object files.
14691reload_flag=$lt_reload_flag
14692reload_cmds=$lt_reload_cmds
14693
14694# Commands used to build an old-style archive.
14695old_archive_cmds=$lt_old_archive_cmds
14696
14697# A language specific compiler.
14698CC=$lt_compiler
14699
14700# Is the compiler the GNU compiler?
14701with_gcc=$GCC
14702
14703# Compiler flag to turn off builtin functions.
14704no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14705
14706# Additional compiler flags for building library objects.
14707pic_flag=$lt_lt_prog_compiler_pic
14708
14709# How to pass a linker flag through the compiler.
14710wl=$lt_lt_prog_compiler_wl
14711
14712# Compiler flag to prevent dynamic linking.
14713link_static_flag=$lt_lt_prog_compiler_static
14714
14715# Does compiler simultaneously support -c and -o options?
14716compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14717
14718# Whether or not to add -lc for building shared libraries.
14719build_libtool_need_lc=$archive_cmds_need_lc
14720
14721# Whether or not to disallow shared libs when runtime libs are static.
14722allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14723
14724# Compiler flag to allow reflexive dlopens.
14725export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14726
14727# Compiler flag to generate shared objects directly from archives.
14728whole_archive_flag_spec=$lt_whole_archive_flag_spec
14729
14730# Whether the compiler copes with passing no objects directly.
14731compiler_needs_object=$lt_compiler_needs_object
14732
14733# Create an old-style archive from a shared archive.
14734old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14735
14736# Create a temporary old-style archive to link instead of a shared archive.
14737old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14738
14739# Commands used to build a shared archive.
14740archive_cmds=$lt_archive_cmds
14741archive_expsym_cmds=$lt_archive_expsym_cmds
14742
14743# Commands used to build a loadable module if different from building
14744# a shared archive.
14745module_cmds=$lt_module_cmds
14746module_expsym_cmds=$lt_module_expsym_cmds
14747
14748# Whether we are building with GNU ld or not.
14749with_gnu_ld=$lt_with_gnu_ld
14750
14751# Flag that allows shared libraries with undefined symbols to be built.
14752allow_undefined_flag=$lt_allow_undefined_flag
14753
14754# Flag that enforces no undefined symbols.
14755no_undefined_flag=$lt_no_undefined_flag
14756
14757# Flag to hardcode \$libdir into a binary during linking.
14758# This must work even if \$libdir does not exist
14759hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14760
14761# Whether we need a single "-rpath" flag with a separated argument.
14762hardcode_libdir_separator=$lt_hardcode_libdir_separator
14763
14764# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
14765# DIR into the resulting binary.
14766hardcode_direct=$hardcode_direct
14767
14768# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
14769# DIR into the resulting binary and the resulting library dependency is
14770# "absolute",i.e impossible to change by setting \$shlibpath_var if the
14771# library is relocated.
14772hardcode_direct_absolute=$hardcode_direct_absolute
14773
14774# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14775# into the resulting binary.
14776hardcode_minus_L=$hardcode_minus_L
14777
14778# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14779# into the resulting binary.
14780hardcode_shlibpath_var=$hardcode_shlibpath_var
14781
14782# Set to "yes" if building a shared library automatically hardcodes DIR
14783# into the library and all subsequent libraries and executables linked
14784# against it.
14785hardcode_automatic=$hardcode_automatic
14786
14787# Set to yes if linker adds runtime paths of dependent libraries
14788# to runtime path list.
14789inherit_rpath=$inherit_rpath
14790
14791# Whether libtool must link a program against all its dependency libraries.
14792link_all_deplibs=$link_all_deplibs
14793
14794# Set to "yes" if exported symbols are required.
14795always_export_symbols=$always_export_symbols
14796
14797# The commands to list exported symbols.
14798export_symbols_cmds=$lt_export_symbols_cmds
14799
14800# Symbols that should not be listed in the preloaded symbols.
14801exclude_expsyms=$lt_exclude_expsyms
14802
14803# Symbols that must always be exported.
14804include_expsyms=$lt_include_expsyms
14805
14806# Commands necessary for linking programs (against libraries) with templates.
14807prelink_cmds=$lt_prelink_cmds
14808
14809# Commands necessary for finishing linking programs.
14810postlink_cmds=$lt_postlink_cmds
14811
14812# Specify filename containing input files.
14813file_list_spec=$lt_file_list_spec
14814
14815# How to hardcode a shared library path into an executable.
14816hardcode_action=$hardcode_action
14817
14818# ### END LIBTOOL CONFIG
14819
14820_LT_EOF
14821
14822    cat <<'_LT_EOF' >> "$cfgfile"
14823
14824# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
14825
14826# func_munge_path_list VARIABLE PATH
14827# -----------------------------------
14828# VARIABLE is name of variable containing _space_ separated list of
14829# directories to be munged by the contents of PATH, which is string
14830# having a format:
14831# "DIR[:DIR]:"
14832#       string "DIR[ DIR]" will be prepended to VARIABLE
14833# ":DIR[:DIR]"
14834#       string "DIR[ DIR]" will be appended to VARIABLE
14835# "DIRP[:DIRP]::[DIRA:]DIRA"
14836#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
14837#       "DIRA[ DIRA]" will be appended to VARIABLE
14838# "DIR[:DIR]"
14839#       VARIABLE will be replaced by "DIR[ DIR]"
14840func_munge_path_list ()
14841{
14842    case x$2 in
14843    x)
14844        ;;
14845    *:)
14846        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
14847        ;;
14848    x:*)
14849        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
14850        ;;
14851    *::*)
14852        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
14853        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
14854        ;;
14855    *)
14856        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
14857        ;;
14858    esac
14859}
14860
14861
14862# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
14863func_cc_basename ()
14864{
14865    for cc_temp in $*""; do
14866      case $cc_temp in
14867        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14868        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14869        \-*) ;;
14870        *) break;;
14871      esac
14872    done
14873    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
14874}
14875
14876
14877# ### END FUNCTIONS SHARED WITH CONFIGURE
14878
14879_LT_EOF
14880
14881  case $host_os in
14882  aix3*)
14883    cat <<\_LT_EOF >> "$cfgfile"
14884# AIX sometimes has problems with the GCC collect2 program.  For some
14885# reason, if we set the COLLECT_NAMES environment variable, the problems
14886# vanish in a puff of smoke.
14887if test set != "${COLLECT_NAMES+set}"; then
14888  COLLECT_NAMES=
14889  export COLLECT_NAMES
14890fi
14891_LT_EOF
14892    ;;
14893  esac
14894
14895
14896ltmain=$ac_aux_dir/ltmain.sh
14897
14898
14899  # We use sed instead of cat because bash on DJGPP gets confused if
14900  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
14901  # text mode, it properly converts lines to CR/LF.  This bash problem
14902  # is reportedly fixed, but why not run on old versions too?
14903  sed '$q' "$ltmain" >> "$cfgfile" \
14904     || (rm -f "$cfgfile"; exit 1)
14905
14906   mv -f "$cfgfile" "$ofile" ||
14907    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14908  chmod +x "$ofile"
14909
14910
14911as_fn_exit 0
14912_LTEOF
14913chmod +x "$CONFIG_LT"
14914
14915# configure is writing to config.log, but config.lt does its own redirection,
14916# appending to config.log, which fails on DOS, as config.log is still kept
14917# open by configure.  Here we exec the FD to /dev/null, effectively closing
14918# config.log, so it can be properly (re)opened and appended to by config.lt.
14919lt_cl_success=:
14920test yes = "$silent" &&
14921  lt_config_lt_args="$lt_config_lt_args --quiet"
14922exec 5>/dev/null
14923$SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
14924exec 5>>config.log
14925$lt_cl_success || as_fn_exit 1
14926
14927ac_ext=c
14928ac_cpp='$CPP $CPPFLAGS'
14929ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14930ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14931ac_compiler_gnu=$ac_cv_c_compiler_gnu
14932ac_link="./libtool --mode=link --tag=CC $ac_link"
14933
14934if test -n "$ac_tool_prefix"; then
14935  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
14936set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
14937{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14938$as_echo_n "checking for $ac_word... " >&6; }
14939if ${ac_cv_prog_PKG_CONFIG+:} false; then :
14940  $as_echo_n "(cached) " >&6
14941else
14942  if test -n "$PKG_CONFIG"; then
14943  ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
14944else
14945as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14946for as_dir in $PATH
14947do
14948  IFS=$as_save_IFS
14949  test -z "$as_dir" && as_dir=.
14950    for ac_exec_ext in '' $ac_executable_extensions; do
14951  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14952    ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
14953    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14954    break 2
14955  fi
14956done
14957  done
14958IFS=$as_save_IFS
14959
14960fi
14961fi
14962PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
14963if test -n "$PKG_CONFIG"; then
14964  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14965$as_echo "$PKG_CONFIG" >&6; }
14966else
14967  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14968$as_echo "no" >&6; }
14969fi
14970
14971
14972fi
14973if test -z "$ac_cv_prog_PKG_CONFIG"; then
14974  ac_ct_PKG_CONFIG=$PKG_CONFIG
14975  # Extract the first word of "pkg-config", so it can be a program name with args.
14976set dummy pkg-config; ac_word=$2
14977{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14978$as_echo_n "checking for $ac_word... " >&6; }
14979if ${ac_cv_prog_ac_ct_PKG_CONFIG+:} false; then :
14980  $as_echo_n "(cached) " >&6
14981else
14982  if test -n "$ac_ct_PKG_CONFIG"; then
14983  ac_cv_prog_ac_ct_PKG_CONFIG="$ac_ct_PKG_CONFIG" # Let the user override the test.
14984else
14985as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14986for as_dir in $PATH
14987do
14988  IFS=$as_save_IFS
14989  test -z "$as_dir" && as_dir=.
14990    for ac_exec_ext in '' $ac_executable_extensions; do
14991  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14992    ac_cv_prog_ac_ct_PKG_CONFIG="pkg-config"
14993    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14994    break 2
14995  fi
14996done
14997  done
14998IFS=$as_save_IFS
14999
15000fi
15001fi
15002ac_ct_PKG_CONFIG=$ac_cv_prog_ac_ct_PKG_CONFIG
15003if test -n "$ac_ct_PKG_CONFIG"; then
15004  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_PKG_CONFIG" >&5
15005$as_echo "$ac_ct_PKG_CONFIG" >&6; }
15006else
15007  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15008$as_echo "no" >&6; }
15009fi
15010
15011  if test "x$ac_ct_PKG_CONFIG" = x; then
15012    PKG_CONFIG="false"
15013  else
15014    case $cross_compiling:$ac_tool_warned in
15015yes:)
15016{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15017$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15018ac_tool_warned=yes ;;
15019esac
15020    PKG_CONFIG=$ac_ct_PKG_CONFIG
15021  fi
15022else
15023  PKG_CONFIG="$ac_cv_prog_PKG_CONFIG"
15024fi
15025
15026## _KPSE_LIB_FLAGS: Setup kpathsea (-lkpathsea) flags
15027
15028# Check whether --with-system-kpathsea was given.
15029if test "${with_system_kpathsea+set}" = set; then :
15030  withval=$with_system_kpathsea;
15031fi
15032if test "x$with_system_kpathsea" = xyes; then
15033  if $PKG_CONFIG kpathsea; then
15034  KPATHSEA_INCLUDES=`$PKG_CONFIG kpathsea --cflags`
15035  KPATHSEA_LIBS=`$PKG_CONFIG kpathsea --libs`
15036elif test "x$need_kpathsea:$with_system_kpathsea" = xyes:yes; then
15037  as_fn_error $? "did not find kpathsea" "$LINENO" 5
15038fi
15039else
15040  KPATHSEA_INCLUDES="-I$kpse_BLD/texk -I$kpse_SRC/texk"
15041  KPATHSEA_LIBS="$kpse_BLD/texk/kpathsea/libkpathsea.la"
15042  KPATHSEA_DEPEND='${top_builddir}/../kpathsea/libkpathsea.la'
15043  KPATHSEA_RULE='# Rebuild libkpathsea
15044$(KPATHSEA_DEPEND): ${top_srcdir}/../kpathsea/*.[ch] ${top_builddir}/../kpathsea/paths.h
15045	cd ${top_builddir}/../kpathsea && $(MAKE) $(AM_MAKEFLAGS) rebuild
15046${top_builddir}/../kpathsea/paths.h:
15047	cd ${top_builddir}/../kpathsea && $(MAKE) $(AM_MAKEFLAGS) rebuild'
15048fi
15049
15050{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libkpathsea supports debugging" >&5
15051$as_echo_n "checking if libkpathsea supports debugging... " >&6; }
15052if ${kpse_cv_kpse_debug+:} false; then :
15053  $as_echo_n "(cached) " >&6
15054else
15055  eval CPPFLAGS=\"$KPATHSEA_INCLUDES \$CPPFLAGS\"
15056eval LIBS=\"$KPATHSEA_LIBS \$LIBS\"
15057
15058                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15059/* end confdefs.h.  */
15060#include <kpathsea/kpathsea.h>
15061int
15062main ()
15063{
15064FILE *f = fopen("f", "r")
15065  ;
15066  return 0;
15067}
15068_ACEOF
15069if ac_fn_c_try_link "$LINENO"; then :
15070  kpse_cv_kpse_debug=yes
15071else
15072  kpse_cv_kpse_debug=no
15073fi
15074rm -f core conftest.err conftest.$ac_objext \
15075    conftest$ac_exeext conftest.$ac_ext
15076                CPPFLAGS=$kpse_save_CPPFLAGS
15077LIBS=$kpse_save_LIBS
15078
15079fi
15080{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_kpse_debug" >&5
15081$as_echo "$kpse_cv_kpse_debug" >&6; }
15082if test "x$kpse_cv_kpse_debug" != xyes; then :
15083  KPATHSEA_INCLUDES="$KPATHSEA_INCLUDES -DNO_DEBUG"
15084fi
15085
15086
15087ac_config_files="$ac_config_files Makefile"
15088
15089
15090cat >confcache <<\_ACEOF
15091# This file is a shell script that caches the results of configure
15092# tests run on this system so they can be shared between configure
15093# scripts and configure runs, see configure's option --config-cache.
15094# It is not useful on other systems.  If it contains results you don't
15095# want to keep, you may remove or edit it.
15096#
15097# config.status only pays attention to the cache file if you give it
15098# the --recheck option to rerun configure.
15099#
15100# `ac_cv_env_foo' variables (set or unset) will be overridden when
15101# loading this file, other *unset* `ac_cv_foo' will be assigned the
15102# following values.
15103
15104_ACEOF
15105
15106# The following way of writing the cache mishandles newlines in values,
15107# but we know of no workaround that is simple, portable, and efficient.
15108# So, we kill variables containing newlines.
15109# Ultrix sh set writes to stderr and can't be redirected directly,
15110# and sets the high bit in the cache file unless we assign to the vars.
15111(
15112  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15113    eval ac_val=\$$ac_var
15114    case $ac_val in #(
15115    *${as_nl}*)
15116      case $ac_var in #(
15117      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15118$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15119      esac
15120      case $ac_var in #(
15121      _ | IFS | as_nl) ;; #(
15122      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15123      *) { eval $ac_var=; unset $ac_var;} ;;
15124      esac ;;
15125    esac
15126  done
15127
15128  (set) 2>&1 |
15129    case $as_nl`(ac_space=' '; set) 2>&1` in #(
15130    *${as_nl}ac_space=\ *)
15131      # `set' does not quote correctly, so add quotes: double-quote
15132      # substitution turns \\\\ into \\, and sed turns \\ into \.
15133      sed -n \
15134	"s/'/'\\\\''/g;
15135	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15136      ;; #(
15137    *)
15138      # `set' quotes correctly as required by POSIX, so do not add quotes.
15139      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15140      ;;
15141    esac |
15142    sort
15143) |
15144  sed '
15145     /^ac_cv_env_/b end
15146     t clear
15147     :clear
15148     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15149     t end
15150     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15151     :end' >>confcache
15152if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15153  if test -w "$cache_file"; then
15154    if test "x$cache_file" != "x/dev/null"; then
15155      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15156$as_echo "$as_me: updating cache $cache_file" >&6;}
15157      if test ! -f "$cache_file" || test -h "$cache_file"; then
15158	cat confcache >"$cache_file"
15159      else
15160        case $cache_file in #(
15161        */* | ?:*)
15162	  mv -f confcache "$cache_file"$$ &&
15163	  mv -f "$cache_file"$$ "$cache_file" ;; #(
15164        *)
15165	  mv -f confcache "$cache_file" ;;
15166	esac
15167      fi
15168    fi
15169  else
15170    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15171$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15172  fi
15173fi
15174rm -f confcache
15175
15176test "x$prefix" = xNONE && prefix=$ac_default_prefix
15177# Let make expand exec_prefix.
15178test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15179
15180DEFS=-DHAVE_CONFIG_H
15181
15182ac_libobjs=
15183ac_ltlibobjs=
15184U=
15185for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15186  # 1. Remove the extension, and $U if already installed.
15187  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15188  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15189  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
15190  #    will be set to the directory where LIBOBJS objects are built.
15191  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15192  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15193done
15194LIBOBJS=$ac_libobjs
15195
15196LTLIBOBJS=$ac_ltlibobjs
15197
15198
15199{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15200$as_echo_n "checking that generated files are newer than configure... " >&6; }
15201   if test -n "$am_sleep_pid"; then
15202     # Hide warnings about reused PIDs.
15203     wait $am_sleep_pid 2>/dev/null
15204   fi
15205   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15206$as_echo "done" >&6; }
15207 if test -n "$EXEEXT"; then
15208  am__EXEEXT_TRUE=
15209  am__EXEEXT_FALSE='#'
15210else
15211  am__EXEEXT_TRUE='#'
15212  am__EXEEXT_FALSE=
15213fi
15214
15215if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15216  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
15217Usually this means the macro was only invoked conditionally." "$LINENO" 5
15218fi
15219if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15220  as_fn_error $? "conditional \"AMDEP\" was never defined.
15221Usually this means the macro was only invoked conditionally." "$LINENO" 5
15222fi
15223if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15224  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15225Usually this means the macro was only invoked conditionally." "$LINENO" 5
15226fi
15227
15228: "${CONFIG_STATUS=./config.status}"
15229ac_write_fail=0
15230ac_clean_files_save=$ac_clean_files
15231ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15232{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15233$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15234as_write_fail=0
15235cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15236#! $SHELL
15237# Generated by $as_me.
15238# Run this file to recreate the current configuration.
15239# Compiler output produced by configure, useful for debugging
15240# configure, is in config.log if it exists.
15241
15242debug=false
15243ac_cs_recheck=false
15244ac_cs_silent=false
15245
15246SHELL=\${CONFIG_SHELL-$SHELL}
15247export SHELL
15248_ASEOF
15249cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15250## -------------------- ##
15251## M4sh Initialization. ##
15252## -------------------- ##
15253
15254# Be more Bourne compatible
15255DUALCASE=1; export DUALCASE # for MKS sh
15256if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15257  emulate sh
15258  NULLCMD=:
15259  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15260  # is contrary to our usage.  Disable this feature.
15261  alias -g '${1+"$@"}'='"$@"'
15262  setopt NO_GLOB_SUBST
15263else
15264  case `(set -o) 2>/dev/null` in #(
15265  *posix*) :
15266    set -o posix ;; #(
15267  *) :
15268     ;;
15269esac
15270fi
15271
15272
15273as_nl='
15274'
15275export as_nl
15276# Printing a long string crashes Solaris 7 /usr/bin/printf.
15277as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15278as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15279as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15280# Prefer a ksh shell builtin over an external printf program on Solaris,
15281# but without wasting forks for bash or zsh.
15282if test -z "$BASH_VERSION$ZSH_VERSION" \
15283    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15284  as_echo='print -r --'
15285  as_echo_n='print -rn --'
15286elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15287  as_echo='printf %s\n'
15288  as_echo_n='printf %s'
15289else
15290  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15291    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15292    as_echo_n='/usr/ucb/echo -n'
15293  else
15294    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15295    as_echo_n_body='eval
15296      arg=$1;
15297      case $arg in #(
15298      *"$as_nl"*)
15299	expr "X$arg" : "X\\(.*\\)$as_nl";
15300	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15301      esac;
15302      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15303    '
15304    export as_echo_n_body
15305    as_echo_n='sh -c $as_echo_n_body as_echo'
15306  fi
15307  export as_echo_body
15308  as_echo='sh -c $as_echo_body as_echo'
15309fi
15310
15311# The user is always right.
15312if test "${PATH_SEPARATOR+set}" != set; then
15313  PATH_SEPARATOR=:
15314  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15315    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15316      PATH_SEPARATOR=';'
15317  }
15318fi
15319
15320
15321# IFS
15322# We need space, tab and new line, in precisely that order.  Quoting is
15323# there to prevent editors from complaining about space-tab.
15324# (If _AS_PATH_WALK were called with IFS unset, it would disable word
15325# splitting by setting IFS to empty value.)
15326IFS=" ""	$as_nl"
15327
15328# Find who we are.  Look in the path if we contain no directory separator.
15329as_myself=
15330case $0 in #((
15331  *[\\/]* ) as_myself=$0 ;;
15332  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15333for as_dir in $PATH
15334do
15335  IFS=$as_save_IFS
15336  test -z "$as_dir" && as_dir=.
15337    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15338  done
15339IFS=$as_save_IFS
15340
15341     ;;
15342esac
15343# We did not find ourselves, most probably we were run as `sh COMMAND'
15344# in which case we are not to be found in the path.
15345if test "x$as_myself" = x; then
15346  as_myself=$0
15347fi
15348if test ! -f "$as_myself"; then
15349  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15350  exit 1
15351fi
15352
15353# Unset variables that we do not need and which cause bugs (e.g. in
15354# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
15355# suppresses any "Segmentation fault" message there.  '((' could
15356# trigger a bug in pdksh 5.2.14.
15357for as_var in BASH_ENV ENV MAIL MAILPATH
15358do eval test x\${$as_var+set} = xset \
15359  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15360done
15361PS1='$ '
15362PS2='> '
15363PS4='+ '
15364
15365# NLS nuisances.
15366LC_ALL=C
15367export LC_ALL
15368LANGUAGE=C
15369export LANGUAGE
15370
15371# CDPATH.
15372(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15373
15374
15375# as_fn_error STATUS ERROR [LINENO LOG_FD]
15376# ----------------------------------------
15377# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15378# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15379# script with STATUS, using 1 if that was 0.
15380as_fn_error ()
15381{
15382  as_status=$1; test $as_status -eq 0 && as_status=1
15383  if test "$4"; then
15384    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15385    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15386  fi
15387  $as_echo "$as_me: error: $2" >&2
15388  as_fn_exit $as_status
15389} # as_fn_error
15390
15391
15392# as_fn_set_status STATUS
15393# -----------------------
15394# Set $? to STATUS, without forking.
15395as_fn_set_status ()
15396{
15397  return $1
15398} # as_fn_set_status
15399
15400# as_fn_exit STATUS
15401# -----------------
15402# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15403as_fn_exit ()
15404{
15405  set +e
15406  as_fn_set_status $1
15407  exit $1
15408} # as_fn_exit
15409
15410# as_fn_unset VAR
15411# ---------------
15412# Portably unset VAR.
15413as_fn_unset ()
15414{
15415  { eval $1=; unset $1;}
15416}
15417as_unset=as_fn_unset
15418# as_fn_append VAR VALUE
15419# ----------------------
15420# Append the text in VALUE to the end of the definition contained in VAR. Take
15421# advantage of any shell optimizations that allow amortized linear growth over
15422# repeated appends, instead of the typical quadratic growth present in naive
15423# implementations.
15424if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15425  eval 'as_fn_append ()
15426  {
15427    eval $1+=\$2
15428  }'
15429else
15430  as_fn_append ()
15431  {
15432    eval $1=\$$1\$2
15433  }
15434fi # as_fn_append
15435
15436# as_fn_arith ARG...
15437# ------------------
15438# Perform arithmetic evaluation on the ARGs, and store the result in the
15439# global $as_val. Take advantage of shells that can avoid forks. The arguments
15440# must be portable across $(()) and expr.
15441if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15442  eval 'as_fn_arith ()
15443  {
15444    as_val=$(( $* ))
15445  }'
15446else
15447  as_fn_arith ()
15448  {
15449    as_val=`expr "$@" || test $? -eq 1`
15450  }
15451fi # as_fn_arith
15452
15453
15454if expr a : '\(a\)' >/dev/null 2>&1 &&
15455   test "X`expr 00001 : '.*\(...\)'`" = X001; then
15456  as_expr=expr
15457else
15458  as_expr=false
15459fi
15460
15461if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15462  as_basename=basename
15463else
15464  as_basename=false
15465fi
15466
15467if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15468  as_dirname=dirname
15469else
15470  as_dirname=false
15471fi
15472
15473as_me=`$as_basename -- "$0" ||
15474$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15475	 X"$0" : 'X\(//\)$' \| \
15476	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15477$as_echo X/"$0" |
15478    sed '/^.*\/\([^/][^/]*\)\/*$/{
15479	    s//\1/
15480	    q
15481	  }
15482	  /^X\/\(\/\/\)$/{
15483	    s//\1/
15484	    q
15485	  }
15486	  /^X\/\(\/\).*/{
15487	    s//\1/
15488	    q
15489	  }
15490	  s/.*/./; q'`
15491
15492# Avoid depending upon Character Ranges.
15493as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15494as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15495as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15496as_cr_digits='0123456789'
15497as_cr_alnum=$as_cr_Letters$as_cr_digits
15498
15499ECHO_C= ECHO_N= ECHO_T=
15500case `echo -n x` in #(((((
15501-n*)
15502  case `echo 'xy\c'` in
15503  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
15504  xy)  ECHO_C='\c';;
15505  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
15506       ECHO_T='	';;
15507  esac;;
15508*)
15509  ECHO_N='-n';;
15510esac
15511
15512rm -f conf$$ conf$$.exe conf$$.file
15513if test -d conf$$.dir; then
15514  rm -f conf$$.dir/conf$$.file
15515else
15516  rm -f conf$$.dir
15517  mkdir conf$$.dir 2>/dev/null
15518fi
15519if (echo >conf$$.file) 2>/dev/null; then
15520  if ln -s conf$$.file conf$$ 2>/dev/null; then
15521    as_ln_s='ln -s'
15522    # ... but there are two gotchas:
15523    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15524    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15525    # In both cases, we have to default to `cp -pR'.
15526    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15527      as_ln_s='cp -pR'
15528  elif ln conf$$.file conf$$ 2>/dev/null; then
15529    as_ln_s=ln
15530  else
15531    as_ln_s='cp -pR'
15532  fi
15533else
15534  as_ln_s='cp -pR'
15535fi
15536rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15537rmdir conf$$.dir 2>/dev/null
15538
15539
15540# as_fn_mkdir_p
15541# -------------
15542# Create "$as_dir" as a directory, including parents if necessary.
15543as_fn_mkdir_p ()
15544{
15545
15546  case $as_dir in #(
15547  -*) as_dir=./$as_dir;;
15548  esac
15549  test -d "$as_dir" || eval $as_mkdir_p || {
15550    as_dirs=
15551    while :; do
15552      case $as_dir in #(
15553      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15554      *) as_qdir=$as_dir;;
15555      esac
15556      as_dirs="'$as_qdir' $as_dirs"
15557      as_dir=`$as_dirname -- "$as_dir" ||
15558$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15559	 X"$as_dir" : 'X\(//\)[^/]' \| \
15560	 X"$as_dir" : 'X\(//\)$' \| \
15561	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15562$as_echo X"$as_dir" |
15563    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15564	    s//\1/
15565	    q
15566	  }
15567	  /^X\(\/\/\)[^/].*/{
15568	    s//\1/
15569	    q
15570	  }
15571	  /^X\(\/\/\)$/{
15572	    s//\1/
15573	    q
15574	  }
15575	  /^X\(\/\).*/{
15576	    s//\1/
15577	    q
15578	  }
15579	  s/.*/./; q'`
15580      test -d "$as_dir" && break
15581    done
15582    test -z "$as_dirs" || eval "mkdir $as_dirs"
15583  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15584
15585
15586} # as_fn_mkdir_p
15587if mkdir -p . 2>/dev/null; then
15588  as_mkdir_p='mkdir -p "$as_dir"'
15589else
15590  test -d ./-p && rmdir ./-p
15591  as_mkdir_p=false
15592fi
15593
15594
15595# as_fn_executable_p FILE
15596# -----------------------
15597# Test if FILE is an executable regular file.
15598as_fn_executable_p ()
15599{
15600  test -f "$1" && test -x "$1"
15601} # as_fn_executable_p
15602as_test_x='test -x'
15603as_executable_p=as_fn_executable_p
15604
15605# Sed expression to map a string onto a valid CPP name.
15606as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15607
15608# Sed expression to map a string onto a valid variable name.
15609as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15610
15611
15612exec 6>&1
15613## ----------------------------------- ##
15614## Main body of $CONFIG_STATUS script. ##
15615## ----------------------------------- ##
15616_ASEOF
15617test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15618
15619cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15620# Save the log message, to keep $0 and so on meaningful, and to
15621# report actual input values of CONFIG_FILES etc. instead of their
15622# values after options handling.
15623ac_log="
15624This file was extended by ttfdump (TeX Live) $as_me 0.5.5, which was
15625generated by GNU Autoconf 2.69.  Invocation command line was
15626
15627  CONFIG_FILES    = $CONFIG_FILES
15628  CONFIG_HEADERS  = $CONFIG_HEADERS
15629  CONFIG_LINKS    = $CONFIG_LINKS
15630  CONFIG_COMMANDS = $CONFIG_COMMANDS
15631  $ $0 $@
15632
15633on `(hostname || uname -n) 2>/dev/null | sed 1q`
15634"
15635
15636_ACEOF
15637
15638case $ac_config_files in *"
15639"*) set x $ac_config_files; shift; ac_config_files=$*;;
15640esac
15641
15642case $ac_config_headers in *"
15643"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15644esac
15645
15646
15647cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15648# Files that config.status was made for.
15649config_files="$ac_config_files"
15650config_headers="$ac_config_headers"
15651config_commands="$ac_config_commands"
15652
15653_ACEOF
15654
15655cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15656ac_cs_usage="\
15657\`$as_me' instantiates files and other configuration actions
15658from templates according to the current configuration.  Unless the files
15659and actions are specified as TAGs, all are instantiated by default.
15660
15661Usage: $0 [OPTION]... [TAG]...
15662
15663  -h, --help       print this help, then exit
15664  -V, --version    print version number and configuration settings, then exit
15665      --config     print configuration, then exit
15666  -q, --quiet, --silent
15667                   do not print progress messages
15668  -d, --debug      don't remove temporary files
15669      --recheck    update $as_me by reconfiguring in the same conditions
15670      --file=FILE[:TEMPLATE]
15671                   instantiate the configuration file FILE
15672      --header=FILE[:TEMPLATE]
15673                   instantiate the configuration header FILE
15674
15675Configuration files:
15676$config_files
15677
15678Configuration headers:
15679$config_headers
15680
15681Configuration commands:
15682$config_commands
15683
15684Report bugs to <tex-k@tug.org>."
15685
15686_ACEOF
15687cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15688ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15689ac_cs_version="\\
15690ttfdump (TeX Live) config.status 0.5.5
15691configured by $0, generated by GNU Autoconf 2.69,
15692  with options \\"\$ac_cs_config\\"
15693
15694Copyright (C) 2012 Free Software Foundation, Inc.
15695This config.status script is free software; the Free Software Foundation
15696gives unlimited permission to copy, distribute and modify it."
15697
15698ac_pwd='$ac_pwd'
15699srcdir='$srcdir'
15700INSTALL='$INSTALL'
15701MKDIR_P='$MKDIR_P'
15702AWK='$AWK'
15703test -n "\$AWK" || AWK=awk
15704_ACEOF
15705
15706cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15707# The default lists apply if the user does not specify any file.
15708ac_need_defaults=:
15709while test $# != 0
15710do
15711  case $1 in
15712  --*=?*)
15713    ac_option=`expr "X$1" : 'X\([^=]*\)='`
15714    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15715    ac_shift=:
15716    ;;
15717  --*=)
15718    ac_option=`expr "X$1" : 'X\([^=]*\)='`
15719    ac_optarg=
15720    ac_shift=:
15721    ;;
15722  *)
15723    ac_option=$1
15724    ac_optarg=$2
15725    ac_shift=shift
15726    ;;
15727  esac
15728
15729  case $ac_option in
15730  # Handling of the options.
15731  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15732    ac_cs_recheck=: ;;
15733  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15734    $as_echo "$ac_cs_version"; exit ;;
15735  --config | --confi | --conf | --con | --co | --c )
15736    $as_echo "$ac_cs_config"; exit ;;
15737  --debug | --debu | --deb | --de | --d | -d )
15738    debug=: ;;
15739  --file | --fil | --fi | --f )
15740    $ac_shift
15741    case $ac_optarg in
15742    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15743    '') as_fn_error $? "missing file argument" ;;
15744    esac
15745    as_fn_append CONFIG_FILES " '$ac_optarg'"
15746    ac_need_defaults=false;;
15747  --header | --heade | --head | --hea )
15748    $ac_shift
15749    case $ac_optarg in
15750    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15751    esac
15752    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15753    ac_need_defaults=false;;
15754  --he | --h)
15755    # Conflict between --help and --header
15756    as_fn_error $? "ambiguous option: \`$1'
15757Try \`$0 --help' for more information.";;
15758  --help | --hel | -h )
15759    $as_echo "$ac_cs_usage"; exit ;;
15760  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15761  | -silent | --silent | --silen | --sile | --sil | --si | --s)
15762    ac_cs_silent=: ;;
15763
15764  # This is an error.
15765  -*) as_fn_error $? "unrecognized option: \`$1'
15766Try \`$0 --help' for more information." ;;
15767
15768  *) as_fn_append ac_config_targets " $1"
15769     ac_need_defaults=false ;;
15770
15771  esac
15772  shift
15773done
15774
15775ac_configure_extra_args=
15776
15777if $ac_cs_silent; then
15778  exec 6>/dev/null
15779  ac_configure_extra_args="$ac_configure_extra_args --silent"
15780fi
15781
15782_ACEOF
15783cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15784if \$ac_cs_recheck; then
15785  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15786  shift
15787  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15788  CONFIG_SHELL='$SHELL'
15789  export CONFIG_SHELL
15790  exec "\$@"
15791fi
15792
15793_ACEOF
15794cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15795exec 5>>config.log
15796{
15797  echo
15798  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15799## Running $as_me. ##
15800_ASBOX
15801  $as_echo "$ac_log"
15802} >&5
15803
15804_ACEOF
15805cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15806#
15807# INIT-COMMANDS
15808#
15809AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15810
15811
15812# The HP-UX ksh and POSIX shell print the target directory to stdout
15813# if CDPATH is set.
15814(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15815
15816sed_quote_subst='$sed_quote_subst'
15817double_quote_subst='$double_quote_subst'
15818delay_variable_subst='$delay_variable_subst'
15819macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15820macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15821AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
15822DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15823OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15824enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15825enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15826pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15827enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15828shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
15829SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15830ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15831PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15832host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15833host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15834host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15835build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15836build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15837build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15838SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15839Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15840GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15841EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15842FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15843LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15844NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15845LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15846max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15847ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15848exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15849lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15850lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15851lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15852lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15853lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15854reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15855reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15856deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15857file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15858file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15859want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15860sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15861AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15862AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15863archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15864STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15865RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15866old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15867old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15868old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15869lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15870CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15871CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15872compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15873GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15874lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15875lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15876lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
15877lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15878lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
15879lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
15880nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15881lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15882lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
15883objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15884MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15885lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15886lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15887lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15888lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15889lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15890need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15891MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15892DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15893NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15894LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15895OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15896OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15897libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15898shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15899extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15900archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15901enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15902export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15903whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15904compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15905old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15906old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15907archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15908archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15909module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15910module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15911with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15912allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15913no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15914hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15915hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15916hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15917hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15918hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15919hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15920hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15921inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15922link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15923always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15924export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15925exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15926include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15927prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15928postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15929file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15930variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15931need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15932need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15933version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15934runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15935shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15936shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15937libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15938library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15939soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15940install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15941postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15942postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15943finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15944finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15945hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15946sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15947configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
15948configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
15949hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15950enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15951enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15952enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15953old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15954striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15955
15956LTCC='$LTCC'
15957LTCFLAGS='$LTCFLAGS'
15958compiler='$compiler_DEFAULT'
15959
15960# A function that is used when there is no print builtin or printf.
15961func_fallback_echo ()
15962{
15963  eval 'cat <<_LTECHO_EOF
15964\$1
15965_LTECHO_EOF'
15966}
15967
15968# Quote evaled strings.
15969for var in AS \
15970DLLTOOL \
15971OBJDUMP \
15972SHELL \
15973ECHO \
15974PATH_SEPARATOR \
15975SED \
15976GREP \
15977EGREP \
15978FGREP \
15979LD \
15980NM \
15981LN_S \
15982lt_SP2NL \
15983lt_NL2SP \
15984reload_flag \
15985deplibs_check_method \
15986file_magic_cmd \
15987file_magic_glob \
15988want_nocaseglob \
15989sharedlib_from_linklib_cmd \
15990AR \
15991AR_FLAGS \
15992archiver_list_spec \
15993STRIP \
15994RANLIB \
15995CC \
15996CFLAGS \
15997compiler \
15998lt_cv_sys_global_symbol_pipe \
15999lt_cv_sys_global_symbol_to_cdecl \
16000lt_cv_sys_global_symbol_to_import \
16001lt_cv_sys_global_symbol_to_c_name_address \
16002lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16003lt_cv_nm_interface \
16004nm_file_list_spec \
16005lt_cv_truncate_bin \
16006lt_prog_compiler_no_builtin_flag \
16007lt_prog_compiler_pic \
16008lt_prog_compiler_wl \
16009lt_prog_compiler_static \
16010lt_cv_prog_compiler_c_o \
16011need_locks \
16012MANIFEST_TOOL \
16013DSYMUTIL \
16014NMEDIT \
16015LIPO \
16016OTOOL \
16017OTOOL64 \
16018shrext_cmds \
16019export_dynamic_flag_spec \
16020whole_archive_flag_spec \
16021compiler_needs_object \
16022with_gnu_ld \
16023allow_undefined_flag \
16024no_undefined_flag \
16025hardcode_libdir_flag_spec \
16026hardcode_libdir_separator \
16027exclude_expsyms \
16028include_expsyms \
16029file_list_spec \
16030variables_saved_for_relink \
16031libname_spec \
16032library_names_spec \
16033soname_spec \
16034install_override_mode \
16035finish_eval \
16036old_striplib \
16037striplib; do
16038    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16039    *[\\\\\\\`\\"\\\$]*)
16040      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
16041      ;;
16042    *)
16043      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16044      ;;
16045    esac
16046done
16047
16048# Double-quote double-evaled strings.
16049for var in reload_cmds \
16050old_postinstall_cmds \
16051old_postuninstall_cmds \
16052old_archive_cmds \
16053extract_expsyms_cmds \
16054old_archive_from_new_cmds \
16055old_archive_from_expsyms_cmds \
16056archive_cmds \
16057archive_expsym_cmds \
16058module_cmds \
16059module_expsym_cmds \
16060export_symbols_cmds \
16061prelink_cmds \
16062postlink_cmds \
16063postinstall_cmds \
16064postuninstall_cmds \
16065finish_cmds \
16066sys_lib_search_path_spec \
16067configure_time_dlsearch_path \
16068configure_time_lt_sys_library_path; do
16069    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16070    *[\\\\\\\`\\"\\\$]*)
16071      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
16072      ;;
16073    *)
16074      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16075      ;;
16076    esac
16077done
16078
16079ac_aux_dir='$ac_aux_dir'
16080
16081# See if we are running on zsh, and set the options that allow our
16082# commands through without removal of \ escapes INIT.
16083if test -n "\${ZSH_VERSION+set}"; then
16084   setopt NO_GLOB_SUBST
16085fi
16086
16087
16088    PACKAGE='$PACKAGE'
16089    VERSION='$VERSION'
16090    RM='$RM'
16091    ofile='$ofile'
16092
16093ac_aux_dir='$ac_aux_dir'
16094
16095
16096
16097_ACEOF
16098
16099cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16100
16101# Handling of arguments.
16102for ac_config_target in $ac_config_targets
16103do
16104  case $ac_config_target in
16105    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16106    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16107    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16108    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16109
16110  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16111  esac
16112done
16113
16114
16115# If the user did not use the arguments to specify the items to instantiate,
16116# then the envvar interface is used.  Set only those that are not.
16117# We use the long form for the default assignment because of an extremely
16118# bizarre bug on SunOS 4.1.3.
16119if $ac_need_defaults; then
16120  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16121  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16122  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16123fi
16124
16125# Have a temporary directory for convenience.  Make it in the build tree
16126# simply because there is no reason against having it here, and in addition,
16127# creating and moving files from /tmp can sometimes cause problems.
16128# Hook for its removal unless debugging.
16129# Note that there is a small window in which the directory will not be cleaned:
16130# after its creation but before its name has been assigned to `$tmp'.
16131$debug ||
16132{
16133  tmp= ac_tmp=
16134  trap 'exit_status=$?
16135  : "${ac_tmp:=$tmp}"
16136  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16137' 0
16138  trap 'as_fn_exit 1' 1 2 13 15
16139}
16140# Create a (secure) tmp directory for tmp files.
16141
16142{
16143  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16144  test -d "$tmp"
16145}  ||
16146{
16147  tmp=./conf$$-$RANDOM
16148  (umask 077 && mkdir "$tmp")
16149} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16150ac_tmp=$tmp
16151
16152# Set up the scripts for CONFIG_FILES section.
16153# No need to generate them if there are no CONFIG_FILES.
16154# This happens for instance with `./config.status config.h'.
16155if test -n "$CONFIG_FILES"; then
16156
16157
16158ac_cr=`echo X | tr X '\015'`
16159# On cygwin, bash can eat \r inside `` if the user requested igncr.
16160# But we know of no other shell where ac_cr would be empty at this
16161# point, so we can use a bashism as a fallback.
16162if test "x$ac_cr" = x; then
16163  eval ac_cr=\$\'\\r\'
16164fi
16165ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16166if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16167  ac_cs_awk_cr='\\r'
16168else
16169  ac_cs_awk_cr=$ac_cr
16170fi
16171
16172echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16173_ACEOF
16174
16175
16176{
16177  echo "cat >conf$$subs.awk <<_ACEOF" &&
16178  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16179  echo "_ACEOF"
16180} >conf$$subs.sh ||
16181  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16182ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16183ac_delim='%!_!# '
16184for ac_last_try in false false false false false :; do
16185  . ./conf$$subs.sh ||
16186    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16187
16188  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16189  if test $ac_delim_n = $ac_delim_num; then
16190    break
16191  elif $ac_last_try; then
16192    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16193  else
16194    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16195  fi
16196done
16197rm -f conf$$subs.sh
16198
16199cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16200cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16201_ACEOF
16202sed -n '
16203h
16204s/^/S["/; s/!.*/"]=/
16205p
16206g
16207s/^[^!]*!//
16208:repl
16209t repl
16210s/'"$ac_delim"'$//
16211t delim
16212:nl
16213h
16214s/\(.\{148\}\)..*/\1/
16215t more1
16216s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16217p
16218n
16219b repl
16220:more1
16221s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16222p
16223g
16224s/.\{148\}//
16225t nl
16226:delim
16227h
16228s/\(.\{148\}\)..*/\1/
16229t more2
16230s/["\\]/\\&/g; s/^/"/; s/$/"/
16231p
16232b
16233:more2
16234s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16235p
16236g
16237s/.\{148\}//
16238t delim
16239' <conf$$subs.awk | sed '
16240/^[^""]/{
16241  N
16242  s/\n//
16243}
16244' >>$CONFIG_STATUS || ac_write_fail=1
16245rm -f conf$$subs.awk
16246cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16247_ACAWK
16248cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16249  for (key in S) S_is_set[key] = 1
16250  FS = ""
16251
16252}
16253{
16254  line = $ 0
16255  nfields = split(line, field, "@")
16256  substed = 0
16257  len = length(field[1])
16258  for (i = 2; i < nfields; i++) {
16259    key = field[i]
16260    keylen = length(key)
16261    if (S_is_set[key]) {
16262      value = S[key]
16263      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16264      len += length(value) + length(field[++i])
16265      substed = 1
16266    } else
16267      len += 1 + keylen
16268  }
16269
16270  print line
16271}
16272
16273_ACAWK
16274_ACEOF
16275cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16276if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16277  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16278else
16279  cat
16280fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16281  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16282_ACEOF
16283
16284# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16285# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16286# trailing colons and then remove the whole line if VPATH becomes empty
16287# (actually we leave an empty line to preserve line numbers).
16288if test "x$srcdir" = x.; then
16289  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
16290h
16291s///
16292s/^/:/
16293s/[	 ]*$/:/
16294s/:\$(srcdir):/:/g
16295s/:\${srcdir}:/:/g
16296s/:@srcdir@:/:/g
16297s/^:*//
16298s/:*$//
16299x
16300s/\(=[	 ]*\).*/\1/
16301G
16302s/\n//
16303s/^[^=]*=[	 ]*$//
16304}'
16305fi
16306
16307cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16308fi # test -n "$CONFIG_FILES"
16309
16310# Set up the scripts for CONFIG_HEADERS section.
16311# No need to generate them if there are no CONFIG_HEADERS.
16312# This happens for instance with `./config.status Makefile'.
16313if test -n "$CONFIG_HEADERS"; then
16314cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16315BEGIN {
16316_ACEOF
16317
16318# Transform confdefs.h into an awk script `defines.awk', embedded as
16319# here-document in config.status, that substitutes the proper values into
16320# config.h.in to produce config.h.
16321
16322# Create a delimiter string that does not exist in confdefs.h, to ease
16323# handling of long lines.
16324ac_delim='%!_!# '
16325for ac_last_try in false false :; do
16326  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16327  if test -z "$ac_tt"; then
16328    break
16329  elif $ac_last_try; then
16330    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16331  else
16332    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16333  fi
16334done
16335
16336# For the awk script, D is an array of macro values keyed by name,
16337# likewise P contains macro parameters if any.  Preserve backslash
16338# newline sequences.
16339
16340ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16341sed -n '
16342s/.\{148\}/&'"$ac_delim"'/g
16343t rset
16344:rset
16345s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
16346t def
16347d
16348:def
16349s/\\$//
16350t bsnl
16351s/["\\]/\\&/g
16352s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
16353D["\1"]=" \3"/p
16354s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
16355d
16356:bsnl
16357s/["\\]/\\&/g
16358s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
16359D["\1"]=" \3\\\\\\n"\\/p
16360t cont
16361s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16362t cont
16363d
16364:cont
16365n
16366s/.\{148\}/&'"$ac_delim"'/g
16367t clear
16368:clear
16369s/\\$//
16370t bsnlc
16371s/["\\]/\\&/g; s/^/"/; s/$/"/p
16372d
16373:bsnlc
16374s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16375b cont
16376' <confdefs.h | sed '
16377s/'"$ac_delim"'/"\\\
16378"/g' >>$CONFIG_STATUS || ac_write_fail=1
16379
16380cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16381  for (key in D) D_is_set[key] = 1
16382  FS = ""
16383}
16384/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16385  line = \$ 0
16386  split(line, arg, " ")
16387  if (arg[1] == "#") {
16388    defundef = arg[2]
16389    mac1 = arg[3]
16390  } else {
16391    defundef = substr(arg[1], 2)
16392    mac1 = arg[2]
16393  }
16394  split(mac1, mac2, "(") #)
16395  macro = mac2[1]
16396  prefix = substr(line, 1, index(line, defundef) - 1)
16397  if (D_is_set[macro]) {
16398    # Preserve the white space surrounding the "#".
16399    print prefix "define", macro P[macro] D[macro]
16400    next
16401  } else {
16402    # Replace #undef with comments.  This is necessary, for example,
16403    # in the case of _POSIX_SOURCE, which is predefined and required
16404    # on some systems where configure will not decide to define it.
16405    if (defundef == "undef") {
16406      print "/*", prefix defundef, macro, "*/"
16407      next
16408    }
16409  }
16410}
16411{ print }
16412_ACAWK
16413_ACEOF
16414cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16415  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16416fi # test -n "$CONFIG_HEADERS"
16417
16418
16419eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
16420shift
16421for ac_tag
16422do
16423  case $ac_tag in
16424  :[FHLC]) ac_mode=$ac_tag; continue;;
16425  esac
16426  case $ac_mode$ac_tag in
16427  :[FHL]*:*);;
16428  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16429  :[FH]-) ac_tag=-:-;;
16430  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16431  esac
16432  ac_save_IFS=$IFS
16433  IFS=:
16434  set x $ac_tag
16435  IFS=$ac_save_IFS
16436  shift
16437  ac_file=$1
16438  shift
16439
16440  case $ac_mode in
16441  :L) ac_source=$1;;
16442  :[FH])
16443    ac_file_inputs=
16444    for ac_f
16445    do
16446      case $ac_f in
16447      -) ac_f="$ac_tmp/stdin";;
16448      *) # Look for the file first in the build tree, then in the source tree
16449	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
16450	 # because $ac_f cannot contain `:'.
16451	 test -f "$ac_f" ||
16452	   case $ac_f in
16453	   [\\/$]*) false;;
16454	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16455	   esac ||
16456	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16457      esac
16458      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16459      as_fn_append ac_file_inputs " '$ac_f'"
16460    done
16461
16462    # Let's still pretend it is `configure' which instantiates (i.e., don't
16463    # use $as_me), people would be surprised to read:
16464    #    /* config.h.  Generated by config.status.  */
16465    configure_input='Generated from '`
16466	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16467	`' by configure.'
16468    if test x"$ac_file" != x-; then
16469      configure_input="$ac_file.  $configure_input"
16470      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16471$as_echo "$as_me: creating $ac_file" >&6;}
16472    fi
16473    # Neutralize special characters interpreted by sed in replacement strings.
16474    case $configure_input in #(
16475    *\&* | *\|* | *\\* )
16476       ac_sed_conf_input=`$as_echo "$configure_input" |
16477       sed 's/[\\\\&|]/\\\\&/g'`;; #(
16478    *) ac_sed_conf_input=$configure_input;;
16479    esac
16480
16481    case $ac_tag in
16482    *:-:* | *:-) cat >"$ac_tmp/stdin" \
16483      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16484    esac
16485    ;;
16486  esac
16487
16488  ac_dir=`$as_dirname -- "$ac_file" ||
16489$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16490	 X"$ac_file" : 'X\(//\)[^/]' \| \
16491	 X"$ac_file" : 'X\(//\)$' \| \
16492	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16493$as_echo X"$ac_file" |
16494    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16495	    s//\1/
16496	    q
16497	  }
16498	  /^X\(\/\/\)[^/].*/{
16499	    s//\1/
16500	    q
16501	  }
16502	  /^X\(\/\/\)$/{
16503	    s//\1/
16504	    q
16505	  }
16506	  /^X\(\/\).*/{
16507	    s//\1/
16508	    q
16509	  }
16510	  s/.*/./; q'`
16511  as_dir="$ac_dir"; as_fn_mkdir_p
16512  ac_builddir=.
16513
16514case "$ac_dir" in
16515.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16516*)
16517  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16518  # A ".." for each directory in $ac_dir_suffix.
16519  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16520  case $ac_top_builddir_sub in
16521  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16522  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16523  esac ;;
16524esac
16525ac_abs_top_builddir=$ac_pwd
16526ac_abs_builddir=$ac_pwd$ac_dir_suffix
16527# for backward compatibility:
16528ac_top_builddir=$ac_top_build_prefix
16529
16530case $srcdir in
16531  .)  # We are building in place.
16532    ac_srcdir=.
16533    ac_top_srcdir=$ac_top_builddir_sub
16534    ac_abs_top_srcdir=$ac_pwd ;;
16535  [\\/]* | ?:[\\/]* )  # Absolute name.
16536    ac_srcdir=$srcdir$ac_dir_suffix;
16537    ac_top_srcdir=$srcdir
16538    ac_abs_top_srcdir=$srcdir ;;
16539  *) # Relative name.
16540    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16541    ac_top_srcdir=$ac_top_build_prefix$srcdir
16542    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16543esac
16544ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16545
16546
16547  case $ac_mode in
16548  :F)
16549  #
16550  # CONFIG_FILE
16551  #
16552
16553  case $INSTALL in
16554  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16555  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16556  esac
16557  ac_MKDIR_P=$MKDIR_P
16558  case $MKDIR_P in
16559  [\\/$]* | ?:[\\/]* ) ;;
16560  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16561  esac
16562_ACEOF
16563
16564cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16565# If the template does not know about datarootdir, expand it.
16566# FIXME: This hack should be removed a few years after 2.60.
16567ac_datarootdir_hack=; ac_datarootdir_seen=
16568ac_sed_dataroot='
16569/datarootdir/ {
16570  p
16571  q
16572}
16573/@datadir@/p
16574/@docdir@/p
16575/@infodir@/p
16576/@localedir@/p
16577/@mandir@/p'
16578case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16579*datarootdir*) ac_datarootdir_seen=yes;;
16580*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16581  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16582$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16583_ACEOF
16584cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16585  ac_datarootdir_hack='
16586  s&@datadir@&$datadir&g
16587  s&@docdir@&$docdir&g
16588  s&@infodir@&$infodir&g
16589  s&@localedir@&$localedir&g
16590  s&@mandir@&$mandir&g
16591  s&\\\${datarootdir}&$datarootdir&g' ;;
16592esac
16593_ACEOF
16594
16595# Neutralize VPATH when `$srcdir' = `.'.
16596# Shell code in configure.ac might set extrasub.
16597# FIXME: do we really want to maintain this feature?
16598cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16599ac_sed_extra="$ac_vpsub
16600$extrasub
16601_ACEOF
16602cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16603:t
16604/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16605s|@configure_input@|$ac_sed_conf_input|;t t
16606s&@top_builddir@&$ac_top_builddir_sub&;t t
16607s&@top_build_prefix@&$ac_top_build_prefix&;t t
16608s&@srcdir@&$ac_srcdir&;t t
16609s&@abs_srcdir@&$ac_abs_srcdir&;t t
16610s&@top_srcdir@&$ac_top_srcdir&;t t
16611s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16612s&@builddir@&$ac_builddir&;t t
16613s&@abs_builddir@&$ac_abs_builddir&;t t
16614s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16615s&@INSTALL@&$ac_INSTALL&;t t
16616s&@MKDIR_P@&$ac_MKDIR_P&;t t
16617$ac_datarootdir_hack
16618"
16619eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16620  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16621
16622test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16623  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16624  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
16625      "$ac_tmp/out"`; test -z "$ac_out"; } &&
16626  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16627which seems to be undefined.  Please make sure it is defined" >&5
16628$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16629which seems to be undefined.  Please make sure it is defined" >&2;}
16630
16631  rm -f "$ac_tmp/stdin"
16632  case $ac_file in
16633  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16634  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16635  esac \
16636  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16637 ;;
16638  :H)
16639  #
16640  # CONFIG_HEADER
16641  #
16642  if test x"$ac_file" != x-; then
16643    {
16644      $as_echo "/* $configure_input  */" \
16645      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16646    } >"$ac_tmp/config.h" \
16647      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16648    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16649      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16650$as_echo "$as_me: $ac_file is unchanged" >&6;}
16651    else
16652      rm -f "$ac_file"
16653      mv "$ac_tmp/config.h" "$ac_file" \
16654	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
16655    fi
16656  else
16657    $as_echo "/* $configure_input  */" \
16658      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16659      || as_fn_error $? "could not create -" "$LINENO" 5
16660  fi
16661# Compute "$ac_file"'s index in $config_headers.
16662_am_arg="$ac_file"
16663_am_stamp_count=1
16664for _am_header in $config_headers :; do
16665  case $_am_header in
16666    $_am_arg | $_am_arg:* )
16667      break ;;
16668    * )
16669      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16670  esac
16671done
16672echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16673$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16674	 X"$_am_arg" : 'X\(//\)[^/]' \| \
16675	 X"$_am_arg" : 'X\(//\)$' \| \
16676	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16677$as_echo X"$_am_arg" |
16678    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16679	    s//\1/
16680	    q
16681	  }
16682	  /^X\(\/\/\)[^/].*/{
16683	    s//\1/
16684	    q
16685	  }
16686	  /^X\(\/\/\)$/{
16687	    s//\1/
16688	    q
16689	  }
16690	  /^X\(\/\).*/{
16691	    s//\1/
16692	    q
16693	  }
16694	  s/.*/./; q'`/stamp-h$_am_stamp_count
16695 ;;
16696
16697  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16698$as_echo "$as_me: executing $ac_file commands" >&6;}
16699 ;;
16700  esac
16701
16702
16703  case $ac_file$ac_mode in
16704    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16705  # Older Autoconf quotes --file arguments for eval, but not when files
16706  # are listed without --file.  Let's play safe and only enable the eval
16707  # if we detect the quoting.
16708  case $CONFIG_FILES in
16709  *\'*) eval set x "$CONFIG_FILES" ;;
16710  *)   set x $CONFIG_FILES ;;
16711  esac
16712  shift
16713  for mf
16714  do
16715    # Strip MF so we end up with the name of the file.
16716    mf=`echo "$mf" | sed -e 's/:.*$//'`
16717    # Check whether this is an Automake generated Makefile or not.
16718    # We used to match only the files named 'Makefile.in', but
16719    # some people rename them; so instead we look at the file content.
16720    # Grep'ing the first line is not enough: some people post-process
16721    # each Makefile.in and add a new line on top of each file to say so.
16722    # Grep'ing the whole file is not good either: AIX grep has a line
16723    # limit of 2048, but all sed's we know have understand at least 4000.
16724    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16725      dirpart=`$as_dirname -- "$mf" ||
16726$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16727	 X"$mf" : 'X\(//\)[^/]' \| \
16728	 X"$mf" : 'X\(//\)$' \| \
16729	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16730$as_echo X"$mf" |
16731    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16732	    s//\1/
16733	    q
16734	  }
16735	  /^X\(\/\/\)[^/].*/{
16736	    s//\1/
16737	    q
16738	  }
16739	  /^X\(\/\/\)$/{
16740	    s//\1/
16741	    q
16742	  }
16743	  /^X\(\/\).*/{
16744	    s//\1/
16745	    q
16746	  }
16747	  s/.*/./; q'`
16748    else
16749      continue
16750    fi
16751    # Extract the definition of DEPDIR, am__include, and am__quote
16752    # from the Makefile without running 'make'.
16753    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16754    test -z "$DEPDIR" && continue
16755    am__include=`sed -n 's/^am__include = //p' < "$mf"`
16756    test -z "$am__include" && continue
16757    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16758    # Find all dependency output files, they are included files with
16759    # $(DEPDIR) in their names.  We invoke sed twice because it is the
16760    # simplest approach to changing $(DEPDIR) to its actual value in the
16761    # expansion.
16762    for file in `sed -n "
16763      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16764	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
16765      # Make sure the directory exists.
16766      test -f "$dirpart/$file" && continue
16767      fdir=`$as_dirname -- "$file" ||
16768$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16769	 X"$file" : 'X\(//\)[^/]' \| \
16770	 X"$file" : 'X\(//\)$' \| \
16771	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16772$as_echo X"$file" |
16773    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16774	    s//\1/
16775	    q
16776	  }
16777	  /^X\(\/\/\)[^/].*/{
16778	    s//\1/
16779	    q
16780	  }
16781	  /^X\(\/\/\)$/{
16782	    s//\1/
16783	    q
16784	  }
16785	  /^X\(\/\).*/{
16786	    s//\1/
16787	    q
16788	  }
16789	  s/.*/./; q'`
16790      as_dir=$dirpart/$fdir; as_fn_mkdir_p
16791      # echo "creating $dirpart/$file"
16792      echo '# dummy' > "$dirpart/$file"
16793    done
16794  done
16795}
16796 ;;
16797    "libtool":C)
16798
16799    # See if we are running on zsh, and set the options that allow our
16800    # commands through without removal of \ escapes.
16801    if test -n "${ZSH_VERSION+set}"; then
16802      setopt NO_GLOB_SUBST
16803    fi
16804
16805    cfgfile=${ofile}T
16806    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16807    $RM "$cfgfile"
16808
16809    cat <<_LT_EOF >> "$cfgfile"
16810#! $SHELL
16811# Generated automatically by $as_me ($PACKAGE) $VERSION
16812# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16813# NOTE: Changes made to this file will be lost: look at ltmain.sh.
16814
16815# Provide generalized library-building support services.
16816# Written by Gordon Matzigkeit, 1996
16817
16818# Copyright (C) 2014 Free Software Foundation, Inc.
16819# This is free software; see the source for copying conditions.  There is NO
16820# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16821
16822# GNU Libtool is free software; you can redistribute it and/or modify
16823# it under the terms of the GNU General Public License as published by
16824# the Free Software Foundation; either version 2 of of the License, or
16825# (at your option) any later version.
16826#
16827# As a special exception to the GNU General Public License, if you
16828# distribute this file as part of a program or library that is built
16829# using GNU Libtool, you may include this file under the  same
16830# distribution terms that you use for the rest of that program.
16831#
16832# GNU Libtool is distributed in the hope that it will be useful, but
16833# WITHOUT ANY WARRANTY; without even the implied warranty of
16834# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16835# GNU General Public License for more details.
16836#
16837# You should have received a copy of the GNU General Public License
16838# along with this program.  If not, see <http://www.gnu.org/licenses/>.
16839
16840
16841# The names of the tagged configurations supported by this script.
16842available_tags=''
16843
16844# Configured defaults for sys_lib_dlsearch_path munging.
16845: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
16846
16847# ### BEGIN LIBTOOL CONFIG
16848
16849# Which release of libtool.m4 was used?
16850macro_version=$macro_version
16851macro_revision=$macro_revision
16852
16853# Assembler program.
16854AS=$lt_AS
16855
16856# DLL creation program.
16857DLLTOOL=$lt_DLLTOOL
16858
16859# Object dumper program.
16860OBJDUMP=$lt_OBJDUMP
16861
16862# Whether or not to build shared libraries.
16863build_libtool_libs=$enable_shared
16864
16865# Whether or not to build static libraries.
16866build_old_libs=$enable_static
16867
16868# What type of objects to build.
16869pic_mode=$pic_mode
16870
16871# Whether or not to optimize for fast installation.
16872fast_install=$enable_fast_install
16873
16874# Shared archive member basename,for filename based shared library versioning on AIX.
16875shared_archive_member_spec=$shared_archive_member_spec
16876
16877# Shell to use when invoking shell scripts.
16878SHELL=$lt_SHELL
16879
16880# An echo program that protects backslashes.
16881ECHO=$lt_ECHO
16882
16883# The PATH separator for the build system.
16884PATH_SEPARATOR=$lt_PATH_SEPARATOR
16885
16886# The host system.
16887host_alias=$host_alias
16888host=$host
16889host_os=$host_os
16890
16891# The build system.
16892build_alias=$build_alias
16893build=$build
16894build_os=$build_os
16895
16896# A sed program that does not truncate output.
16897SED=$lt_SED
16898
16899# Sed that helps us avoid accidentally triggering echo(1) options like -n.
16900Xsed="\$SED -e 1s/^X//"
16901
16902# A grep program that handles long lines.
16903GREP=$lt_GREP
16904
16905# An ERE matcher.
16906EGREP=$lt_EGREP
16907
16908# A literal string matcher.
16909FGREP=$lt_FGREP
16910
16911# A BSD- or MS-compatible name lister.
16912NM=$lt_NM
16913
16914# Whether we need soft or hard links.
16915LN_S=$lt_LN_S
16916
16917# What is the maximum length of a command?
16918max_cmd_len=$max_cmd_len
16919
16920# Object file suffix (normally "o").
16921objext=$ac_objext
16922
16923# Executable file suffix (normally "").
16924exeext=$exeext
16925
16926# whether the shell understands "unset".
16927lt_unset=$lt_unset
16928
16929# turn spaces into newlines.
16930SP2NL=$lt_lt_SP2NL
16931
16932# turn newlines into spaces.
16933NL2SP=$lt_lt_NL2SP
16934
16935# convert \$build file names to \$host format.
16936to_host_file_cmd=$lt_cv_to_host_file_cmd
16937
16938# convert \$build files to toolchain format.
16939to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16940
16941# Method to check whether dependent libraries are shared objects.
16942deplibs_check_method=$lt_deplibs_check_method
16943
16944# Command to use when deplibs_check_method = "file_magic".
16945file_magic_cmd=$lt_file_magic_cmd
16946
16947# How to find potential files when deplibs_check_method = "file_magic".
16948file_magic_glob=$lt_file_magic_glob
16949
16950# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16951want_nocaseglob=$lt_want_nocaseglob
16952
16953# Command to associate shared and link libraries.
16954sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16955
16956# The archiver.
16957AR=$lt_AR
16958
16959# Flags to create an archive.
16960AR_FLAGS=$lt_AR_FLAGS
16961
16962# How to feed a file listing to the archiver.
16963archiver_list_spec=$lt_archiver_list_spec
16964
16965# A symbol stripping program.
16966STRIP=$lt_STRIP
16967
16968# Commands used to install an old-style archive.
16969RANLIB=$lt_RANLIB
16970old_postinstall_cmds=$lt_old_postinstall_cmds
16971old_postuninstall_cmds=$lt_old_postuninstall_cmds
16972
16973# Whether to use a lock for old archive extraction.
16974lock_old_archive_extraction=$lock_old_archive_extraction
16975
16976# A C compiler.
16977LTCC=$lt_CC
16978
16979# LTCC compiler flags.
16980LTCFLAGS=$lt_CFLAGS
16981
16982# Take the output of nm and produce a listing of raw symbols and C names.
16983global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16984
16985# Transform the output of nm in a proper C declaration.
16986global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16987
16988# Transform the output of nm into a list of symbols to manually relocate.
16989global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
16990
16991# Transform the output of nm in a C name address pair.
16992global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16993
16994# Transform the output of nm in a C name address pair when lib prefix is needed.
16995global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16996
16997# The name lister interface.
16998nm_interface=$lt_lt_cv_nm_interface
16999
17000# Specify filename containing input files for \$NM.
17001nm_file_list_spec=$lt_nm_file_list_spec
17002
17003# The root where to search for dependent libraries,and where our libraries should be installed.
17004lt_sysroot=$lt_sysroot
17005
17006# Command to truncate a binary pipe.
17007lt_truncate_bin=$lt_lt_cv_truncate_bin
17008
17009# The name of the directory that contains temporary libtool files.
17010objdir=$objdir
17011
17012# Used to examine libraries when file_magic_cmd begins with "file".
17013MAGIC_CMD=$MAGIC_CMD
17014
17015# Must we lock files when doing compilation?
17016need_locks=$lt_need_locks
17017
17018# Manifest tool.
17019MANIFEST_TOOL=$lt_MANIFEST_TOOL
17020
17021# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17022DSYMUTIL=$lt_DSYMUTIL
17023
17024# Tool to change global to local symbols on Mac OS X.
17025NMEDIT=$lt_NMEDIT
17026
17027# Tool to manipulate fat objects and archives on Mac OS X.
17028LIPO=$lt_LIPO
17029
17030# ldd/readelf like tool for Mach-O binaries on Mac OS X.
17031OTOOL=$lt_OTOOL
17032
17033# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17034OTOOL64=$lt_OTOOL64
17035
17036# Old archive suffix (normally "a").
17037libext=$libext
17038
17039# Shared library suffix (normally ".so").
17040shrext_cmds=$lt_shrext_cmds
17041
17042# The commands to extract the exported symbol list from a shared archive.
17043extract_expsyms_cmds=$lt_extract_expsyms_cmds
17044
17045# Variables whose values should be saved in libtool wrapper scripts and
17046# restored at link time.
17047variables_saved_for_relink=$lt_variables_saved_for_relink
17048
17049# Do we need the "lib" prefix for modules?
17050need_lib_prefix=$need_lib_prefix
17051
17052# Do we need a version for libraries?
17053need_version=$need_version
17054
17055# Library versioning type.
17056version_type=$version_type
17057
17058# Shared library runtime path variable.
17059runpath_var=$runpath_var
17060
17061# Shared library path variable.
17062shlibpath_var=$shlibpath_var
17063
17064# Is shlibpath searched before the hard-coded library search path?
17065shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17066
17067# Format of library name prefix.
17068libname_spec=$lt_libname_spec
17069
17070# List of archive names.  First name is the real one, the rest are links.
17071# The last name is the one that the linker finds with -lNAME
17072library_names_spec=$lt_library_names_spec
17073
17074# The coded name of the library, if different from the real name.
17075soname_spec=$lt_soname_spec
17076
17077# Permission mode override for installation of shared libraries.
17078install_override_mode=$lt_install_override_mode
17079
17080# Command to use after installation of a shared archive.
17081postinstall_cmds=$lt_postinstall_cmds
17082
17083# Command to use after uninstallation of a shared archive.
17084postuninstall_cmds=$lt_postuninstall_cmds
17085
17086# Commands used to finish a libtool library installation in a directory.
17087finish_cmds=$lt_finish_cmds
17088
17089# As "finish_cmds", except a single script fragment to be evaled but
17090# not shown.
17091finish_eval=$lt_finish_eval
17092
17093# Whether we should hardcode library paths into libraries.
17094hardcode_into_libs=$hardcode_into_libs
17095
17096# Compile-time system search path for libraries.
17097sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17098
17099# Detected run-time system search path for libraries.
17100sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
17101
17102# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
17103configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
17104
17105# Whether dlopen is supported.
17106dlopen_support=$enable_dlopen
17107
17108# Whether dlopen of programs is supported.
17109dlopen_self=$enable_dlopen_self
17110
17111# Whether dlopen of statically linked programs is supported.
17112dlopen_self_static=$enable_dlopen_self_static
17113
17114# Commands to strip libraries.
17115old_striplib=$lt_old_striplib
17116striplib=$lt_striplib
17117
17118
17119# The linker used to build libraries.
17120LD=$lt_LD
17121
17122# How to create reloadable object files.
17123reload_flag=$lt_reload_flag
17124reload_cmds=$lt_reload_cmds
17125
17126# Commands used to build an old-style archive.
17127old_archive_cmds=$lt_old_archive_cmds
17128
17129# A language specific compiler.
17130CC=$lt_compiler
17131
17132# Is the compiler the GNU compiler?
17133with_gcc=$GCC
17134
17135# Compiler flag to turn off builtin functions.
17136no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17137
17138# Additional compiler flags for building library objects.
17139pic_flag=$lt_lt_prog_compiler_pic
17140
17141# How to pass a linker flag through the compiler.
17142wl=$lt_lt_prog_compiler_wl
17143
17144# Compiler flag to prevent dynamic linking.
17145link_static_flag=$lt_lt_prog_compiler_static
17146
17147# Does compiler simultaneously support -c and -o options?
17148compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17149
17150# Whether or not to add -lc for building shared libraries.
17151build_libtool_need_lc=$archive_cmds_need_lc
17152
17153# Whether or not to disallow shared libs when runtime libs are static.
17154allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17155
17156# Compiler flag to allow reflexive dlopens.
17157export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17158
17159# Compiler flag to generate shared objects directly from archives.
17160whole_archive_flag_spec=$lt_whole_archive_flag_spec
17161
17162# Whether the compiler copes with passing no objects directly.
17163compiler_needs_object=$lt_compiler_needs_object
17164
17165# Create an old-style archive from a shared archive.
17166old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17167
17168# Create a temporary old-style archive to link instead of a shared archive.
17169old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17170
17171# Commands used to build a shared archive.
17172archive_cmds=$lt_archive_cmds
17173archive_expsym_cmds=$lt_archive_expsym_cmds
17174
17175# Commands used to build a loadable module if different from building
17176# a shared archive.
17177module_cmds=$lt_module_cmds
17178module_expsym_cmds=$lt_module_expsym_cmds
17179
17180# Whether we are building with GNU ld or not.
17181with_gnu_ld=$lt_with_gnu_ld
17182
17183# Flag that allows shared libraries with undefined symbols to be built.
17184allow_undefined_flag=$lt_allow_undefined_flag
17185
17186# Flag that enforces no undefined symbols.
17187no_undefined_flag=$lt_no_undefined_flag
17188
17189# Flag to hardcode \$libdir into a binary during linking.
17190# This must work even if \$libdir does not exist
17191hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17192
17193# Whether we need a single "-rpath" flag with a separated argument.
17194hardcode_libdir_separator=$lt_hardcode_libdir_separator
17195
17196# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
17197# DIR into the resulting binary.
17198hardcode_direct=$hardcode_direct
17199
17200# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
17201# DIR into the resulting binary and the resulting library dependency is
17202# "absolute",i.e impossible to change by setting \$shlibpath_var if the
17203# library is relocated.
17204hardcode_direct_absolute=$hardcode_direct_absolute
17205
17206# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17207# into the resulting binary.
17208hardcode_minus_L=$hardcode_minus_L
17209
17210# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17211# into the resulting binary.
17212hardcode_shlibpath_var=$hardcode_shlibpath_var
17213
17214# Set to "yes" if building a shared library automatically hardcodes DIR
17215# into the library and all subsequent libraries and executables linked
17216# against it.
17217hardcode_automatic=$hardcode_automatic
17218
17219# Set to yes if linker adds runtime paths of dependent libraries
17220# to runtime path list.
17221inherit_rpath=$inherit_rpath
17222
17223# Whether libtool must link a program against all its dependency libraries.
17224link_all_deplibs=$link_all_deplibs
17225
17226# Set to "yes" if exported symbols are required.
17227always_export_symbols=$always_export_symbols
17228
17229# The commands to list exported symbols.
17230export_symbols_cmds=$lt_export_symbols_cmds
17231
17232# Symbols that should not be listed in the preloaded symbols.
17233exclude_expsyms=$lt_exclude_expsyms
17234
17235# Symbols that must always be exported.
17236include_expsyms=$lt_include_expsyms
17237
17238# Commands necessary for linking programs (against libraries) with templates.
17239prelink_cmds=$lt_prelink_cmds
17240
17241# Commands necessary for finishing linking programs.
17242postlink_cmds=$lt_postlink_cmds
17243
17244# Specify filename containing input files.
17245file_list_spec=$lt_file_list_spec
17246
17247# How to hardcode a shared library path into an executable.
17248hardcode_action=$hardcode_action
17249
17250# ### END LIBTOOL CONFIG
17251
17252_LT_EOF
17253
17254    cat <<'_LT_EOF' >> "$cfgfile"
17255
17256# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
17257
17258# func_munge_path_list VARIABLE PATH
17259# -----------------------------------
17260# VARIABLE is name of variable containing _space_ separated list of
17261# directories to be munged by the contents of PATH, which is string
17262# having a format:
17263# "DIR[:DIR]:"
17264#       string "DIR[ DIR]" will be prepended to VARIABLE
17265# ":DIR[:DIR]"
17266#       string "DIR[ DIR]" will be appended to VARIABLE
17267# "DIRP[:DIRP]::[DIRA:]DIRA"
17268#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
17269#       "DIRA[ DIRA]" will be appended to VARIABLE
17270# "DIR[:DIR]"
17271#       VARIABLE will be replaced by "DIR[ DIR]"
17272func_munge_path_list ()
17273{
17274    case x$2 in
17275    x)
17276        ;;
17277    *:)
17278        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
17279        ;;
17280    x:*)
17281        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
17282        ;;
17283    *::*)
17284        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
17285        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
17286        ;;
17287    *)
17288        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
17289        ;;
17290    esac
17291}
17292
17293
17294# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
17295func_cc_basename ()
17296{
17297    for cc_temp in $*""; do
17298      case $cc_temp in
17299        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17300        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17301        \-*) ;;
17302        *) break;;
17303      esac
17304    done
17305    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
17306}
17307
17308
17309# ### END FUNCTIONS SHARED WITH CONFIGURE
17310
17311_LT_EOF
17312
17313  case $host_os in
17314  aix3*)
17315    cat <<\_LT_EOF >> "$cfgfile"
17316# AIX sometimes has problems with the GCC collect2 program.  For some
17317# reason, if we set the COLLECT_NAMES environment variable, the problems
17318# vanish in a puff of smoke.
17319if test set != "${COLLECT_NAMES+set}"; then
17320  COLLECT_NAMES=
17321  export COLLECT_NAMES
17322fi
17323_LT_EOF
17324    ;;
17325  esac
17326
17327
17328ltmain=$ac_aux_dir/ltmain.sh
17329
17330
17331  # We use sed instead of cat because bash on DJGPP gets confused if
17332  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
17333  # text mode, it properly converts lines to CR/LF.  This bash problem
17334  # is reportedly fixed, but why not run on old versions too?
17335  sed '$q' "$ltmain" >> "$cfgfile" \
17336     || (rm -f "$cfgfile"; exit 1)
17337
17338   mv -f "$cfgfile" "$ofile" ||
17339    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17340  chmod +x "$ofile"
17341
17342 ;;
17343
17344  esac
17345done # for ac_tag
17346
17347
17348as_fn_exit 0
17349_ACEOF
17350ac_clean_files=$ac_clean_files_save
17351
17352test $ac_write_fail = 0 ||
17353  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17354
17355
17356# configure is writing to config.log, and then calls config.status.
17357# config.status does its own redirection, appending to config.log.
17358# Unfortunately, on DOS this fails, as config.log is still kept open
17359# by configure, so config.status won't be able to write to it; its
17360# output is simply discarded.  So we exec the FD to /dev/null,
17361# effectively closing config.log, so it can be properly (re)opened and
17362# appended to by config.status.  When coming back to configure, we
17363# need to make the FD available again.
17364if test "$no_create" != yes; then
17365  ac_cs_success=:
17366  ac_config_status_args=
17367  test "$silent" = yes &&
17368    ac_config_status_args="$ac_config_status_args --quiet"
17369  exec 5>/dev/null
17370  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17371  exec 5>>config.log
17372  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17373  # would make configure fail if this is the last instruction.
17374  $ac_cs_success || as_fn_exit 1
17375fi
17376if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17377  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17378$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17379fi
17380
17381