1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for cone 1.1.
4#
5# Report bugs to <courier-cone@lists.sourceforge.net>.
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
201test \$(( 1 + 1 )) = 2 || exit 1
202
203  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207    PATH=/empty FPATH=/empty; export PATH FPATH
208    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || 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
278$0: courier-cone@lists.sourceforge.net about your system,
279$0: including any error possibly output before this
280$0: message. Then install a modern shell, or manually run
281$0: the script under such a shell if you do 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='cone'
592PACKAGE_TARNAME='cone'
593PACKAGE_VERSION='1.1'
594PACKAGE_STRING='cone 1.1'
595PACKAGE_BUGREPORT='courier-cone@lists.sourceforge.net'
596PACKAGE_URL=''
597
598ac_unique_file="cone.spec.in"
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
635enable_option_checking=no
636ac_subst_vars='am__EXEEXT_FALSE
637am__EXEEXT_TRUE
638LTLIBOBJS
639LIBOBJS
640subdirs
641COURIERCONFIG
642HAVE_SGML_FALSE
643HAVE_SGML_TRUE
644LIBIDN_LIBS
645LIBIDN_CFLAGS
646PKG_CONFIG_LIBDIR
647PKG_CONFIG_PATH
648PKG_CONFIG
649PERL
650LT_SYS_LIBRARY_PATH
651OTOOL64
652OTOOL
653LIPO
654NMEDIT
655DSYMUTIL
656MANIFEST_TOOL
657RANLIB
658ac_ct_AR
659AR
660DLLTOOL
661OBJDUMP
662NM
663ac_ct_DUMPBIN
664DUMPBIN
665LD
666FGREP
667SED
668host_os
669host_vendor
670host_cpu
671host
672build_os
673build_vendor
674build_cpu
675build
676LIBTOOL
677EGREP
678GREP
679CPP
680am__fastdepCC_FALSE
681am__fastdepCC_TRUE
682CCDEPMODE
683am__nodep
684AMDEPBACKSLASH
685AMDEP_FALSE
686AMDEP_TRUE
687am__include
688DEPDIR
689OBJEXT
690EXEEXT
691ac_ct_CC
692CPPFLAGS
693LDFLAGS
694CFLAGS
695CC
696SYSCONFTOOL
697SYSCONFTOOL_PERL
698LN_S
699AM_BACKSLASH
700AM_DEFAULT_VERBOSITY
701AM_DEFAULT_V
702AM_V
703am__untar
704am__tar
705AMTAR
706am__leading_dot
707SET_MAKE
708AWK
709mkdir_p
710MKDIR_P
711INSTALL_STRIP_PROGRAM
712STRIP
713install_sh
714MAKEINFO
715AUTOHEADER
716AUTOMAKE
717AUTOCONF
718ACLOCAL
719VERSION
720PACKAGE
721CYGPATH_W
722am__isrc
723INSTALL_DATA
724INSTALL_SCRIPT
725INSTALL_PROGRAM
726target_alias
727host_alias
728build_alias
729LIBS
730ECHO_T
731ECHO_N
732ECHO_C
733DEFS
734mandir
735localedir
736libdir
737psdir
738pdfdir
739dvidir
740htmldir
741infodir
742docdir
743oldincludedir
744includedir
745localstatedir
746sharedstatedir
747sysconfdir
748datadir
749datarootdir
750libexecdir
751sbindir
752bindir
753program_transform_name
754prefix
755exec_prefix
756PACKAGE_URL
757PACKAGE_BUGREPORT
758PACKAGE_STRING
759PACKAGE_VERSION
760PACKAGE_TARNAME
761PACKAGE_NAME
762PATH_SEPARATOR
763SHELL
764am__quote'
765ac_subst_files=''
766ac_user_opts='
767enable_option_checking
768enable_silent_rules
769enable_dependency_tracking
770enable_shared
771enable_static
772with_pic
773enable_fast_install
774with_aix_soname
775with_gnu_ld
776with_sysroot
777enable_libtool_lock
778with_notice
779'
780      ac_precious_vars='build_alias
781host_alias
782target_alias
783CC
784CFLAGS
785LDFLAGS
786LIBS
787CPPFLAGS
788CPP
789LT_SYS_LIBRARY_PATH
790PKG_CONFIG
791PKG_CONFIG_PATH
792PKG_CONFIG_LIBDIR
793LIBIDN_CFLAGS
794LIBIDN_LIBS'
795ac_subdirs_all='libs/unicode libs/numlib libs/liblock libs/soxwrap libs/md5 libs/sha1 libs/libhmac libs/random128 libs/rfc1035 libs/rfc822 libs/rfc2045 libs/gpglib libs/maildir libs/tcpd curses libs/ldapaddressbook libmail libs/rootcerts cone'
796
797# Initialize some variables set by options.
798ac_init_help=
799ac_init_version=false
800ac_unrecognized_opts=
801ac_unrecognized_sep=
802# The variables have the same names as the options, with
803# dashes changed to underlines.
804cache_file=/dev/null
805exec_prefix=NONE
806no_create=
807no_recursion=
808prefix=NONE
809program_prefix=NONE
810program_suffix=NONE
811program_transform_name=s,x,x,
812silent=
813site=
814srcdir=
815verbose=
816x_includes=NONE
817x_libraries=NONE
818
819# Installation directory options.
820# These are left unexpanded so users can "make install exec_prefix=/foo"
821# and all the variables that are supposed to be based on exec_prefix
822# by default will actually change.
823# Use braces instead of parens because sh, perl, etc. also accept them.
824# (The list follows the same order as the GNU Coding Standards.)
825bindir='${exec_prefix}/bin'
826sbindir='${exec_prefix}/sbin'
827libexecdir='${exec_prefix}/libexec'
828datarootdir='${prefix}/share'
829datadir='${datarootdir}'
830sysconfdir='${prefix}/etc'
831sharedstatedir='${prefix}/com'
832localstatedir='${prefix}/var'
833includedir='${prefix}/include'
834oldincludedir='/usr/include'
835docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
836infodir='${datarootdir}/info'
837htmldir='${docdir}'
838dvidir='${docdir}'
839pdfdir='${docdir}'
840psdir='${docdir}'
841libdir='${exec_prefix}/lib'
842localedir='${datarootdir}/locale'
843mandir='${datarootdir}/man'
844
845ac_prev=
846ac_dashdash=
847for ac_option
848do
849  # If the previous option needs an argument, assign it.
850  if test -n "$ac_prev"; then
851    eval $ac_prev=\$ac_option
852    ac_prev=
853    continue
854  fi
855
856  case $ac_option in
857  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
858  *=)   ac_optarg= ;;
859  *)    ac_optarg=yes ;;
860  esac
861
862  # Accept the important Cygnus configure options, so we can diagnose typos.
863
864  case $ac_dashdash$ac_option in
865  --)
866    ac_dashdash=yes ;;
867
868  -bindir | --bindir | --bindi | --bind | --bin | --bi)
869    ac_prev=bindir ;;
870  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
871    bindir=$ac_optarg ;;
872
873  -build | --build | --buil | --bui | --bu)
874    ac_prev=build_alias ;;
875  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
876    build_alias=$ac_optarg ;;
877
878  -cache-file | --cache-file | --cache-fil | --cache-fi \
879  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
880    ac_prev=cache_file ;;
881  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
882  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
883    cache_file=$ac_optarg ;;
884
885  --config-cache | -C)
886    cache_file=config.cache ;;
887
888  -datadir | --datadir | --datadi | --datad)
889    ac_prev=datadir ;;
890  -datadir=* | --datadir=* | --datadi=* | --datad=*)
891    datadir=$ac_optarg ;;
892
893  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
894  | --dataroo | --dataro | --datar)
895    ac_prev=datarootdir ;;
896  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
897  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
898    datarootdir=$ac_optarg ;;
899
900  -disable-* | --disable-*)
901    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
902    # Reject names that are not valid shell variable names.
903    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
904      as_fn_error $? "invalid feature name: $ac_useropt"
905    ac_useropt_orig=$ac_useropt
906    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
907    case $ac_user_opts in
908      *"
909"enable_$ac_useropt"
910"*) ;;
911      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
912	 ac_unrecognized_sep=', ';;
913    esac
914    eval enable_$ac_useropt=no ;;
915
916  -docdir | --docdir | --docdi | --doc | --do)
917    ac_prev=docdir ;;
918  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
919    docdir=$ac_optarg ;;
920
921  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
922    ac_prev=dvidir ;;
923  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
924    dvidir=$ac_optarg ;;
925
926  -enable-* | --enable-*)
927    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
928    # Reject names that are not valid shell variable names.
929    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
930      as_fn_error $? "invalid feature name: $ac_useropt"
931    ac_useropt_orig=$ac_useropt
932    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
933    case $ac_user_opts in
934      *"
935"enable_$ac_useropt"
936"*) ;;
937      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
938	 ac_unrecognized_sep=', ';;
939    esac
940    eval enable_$ac_useropt=\$ac_optarg ;;
941
942  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
943  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
944  | --exec | --exe | --ex)
945    ac_prev=exec_prefix ;;
946  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
947  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
948  | --exec=* | --exe=* | --ex=*)
949    exec_prefix=$ac_optarg ;;
950
951  -gas | --gas | --ga | --g)
952    # Obsolete; use --with-gas.
953    with_gas=yes ;;
954
955  -help | --help | --hel | --he | -h)
956    ac_init_help=long ;;
957  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
958    ac_init_help=recursive ;;
959  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
960    ac_init_help=short ;;
961
962  -host | --host | --hos | --ho)
963    ac_prev=host_alias ;;
964  -host=* | --host=* | --hos=* | --ho=*)
965    host_alias=$ac_optarg ;;
966
967  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
968    ac_prev=htmldir ;;
969  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
970  | --ht=*)
971    htmldir=$ac_optarg ;;
972
973  -includedir | --includedir | --includedi | --included | --include \
974  | --includ | --inclu | --incl | --inc)
975    ac_prev=includedir ;;
976  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
977  | --includ=* | --inclu=* | --incl=* | --inc=*)
978    includedir=$ac_optarg ;;
979
980  -infodir | --infodir | --infodi | --infod | --info | --inf)
981    ac_prev=infodir ;;
982  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
983    infodir=$ac_optarg ;;
984
985  -libdir | --libdir | --libdi | --libd)
986    ac_prev=libdir ;;
987  -libdir=* | --libdir=* | --libdi=* | --libd=*)
988    libdir=$ac_optarg ;;
989
990  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
991  | --libexe | --libex | --libe)
992    ac_prev=libexecdir ;;
993  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
994  | --libexe=* | --libex=* | --libe=*)
995    libexecdir=$ac_optarg ;;
996
997  -localedir | --localedir | --localedi | --localed | --locale)
998    ac_prev=localedir ;;
999  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1000    localedir=$ac_optarg ;;
1001
1002  -localstatedir | --localstatedir | --localstatedi | --localstated \
1003  | --localstate | --localstat | --localsta | --localst | --locals)
1004    ac_prev=localstatedir ;;
1005  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1006  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1007    localstatedir=$ac_optarg ;;
1008
1009  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1010    ac_prev=mandir ;;
1011  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1012    mandir=$ac_optarg ;;
1013
1014  -nfp | --nfp | --nf)
1015    # Obsolete; use --without-fp.
1016    with_fp=no ;;
1017
1018  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1019  | --no-cr | --no-c | -n)
1020    no_create=yes ;;
1021
1022  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1023  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1024    no_recursion=yes ;;
1025
1026  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1027  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1028  | --oldin | --oldi | --old | --ol | --o)
1029    ac_prev=oldincludedir ;;
1030  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1031  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1032  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1033    oldincludedir=$ac_optarg ;;
1034
1035  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1036    ac_prev=prefix ;;
1037  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1038    prefix=$ac_optarg ;;
1039
1040  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1041  | --program-pre | --program-pr | --program-p)
1042    ac_prev=program_prefix ;;
1043  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1044  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1045    program_prefix=$ac_optarg ;;
1046
1047  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1048  | --program-suf | --program-su | --program-s)
1049    ac_prev=program_suffix ;;
1050  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1051  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1052    program_suffix=$ac_optarg ;;
1053
1054  -program-transform-name | --program-transform-name \
1055  | --program-transform-nam | --program-transform-na \
1056  | --program-transform-n | --program-transform- \
1057  | --program-transform | --program-transfor \
1058  | --program-transfo | --program-transf \
1059  | --program-trans | --program-tran \
1060  | --progr-tra | --program-tr | --program-t)
1061    ac_prev=program_transform_name ;;
1062  -program-transform-name=* | --program-transform-name=* \
1063  | --program-transform-nam=* | --program-transform-na=* \
1064  | --program-transform-n=* | --program-transform-=* \
1065  | --program-transform=* | --program-transfor=* \
1066  | --program-transfo=* | --program-transf=* \
1067  | --program-trans=* | --program-tran=* \
1068  | --progr-tra=* | --program-tr=* | --program-t=*)
1069    program_transform_name=$ac_optarg ;;
1070
1071  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1072    ac_prev=pdfdir ;;
1073  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1074    pdfdir=$ac_optarg ;;
1075
1076  -psdir | --psdir | --psdi | --psd | --ps)
1077    ac_prev=psdir ;;
1078  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1079    psdir=$ac_optarg ;;
1080
1081  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1082  | -silent | --silent | --silen | --sile | --sil)
1083    silent=yes ;;
1084
1085  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1086    ac_prev=sbindir ;;
1087  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1088  | --sbi=* | --sb=*)
1089    sbindir=$ac_optarg ;;
1090
1091  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1092  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1093  | --sharedst | --shareds | --shared | --share | --shar \
1094  | --sha | --sh)
1095    ac_prev=sharedstatedir ;;
1096  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1097  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1098  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1099  | --sha=* | --sh=*)
1100    sharedstatedir=$ac_optarg ;;
1101
1102  -site | --site | --sit)
1103    ac_prev=site ;;
1104  -site=* | --site=* | --sit=*)
1105    site=$ac_optarg ;;
1106
1107  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1108    ac_prev=srcdir ;;
1109  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1110    srcdir=$ac_optarg ;;
1111
1112  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1113  | --syscon | --sysco | --sysc | --sys | --sy)
1114    ac_prev=sysconfdir ;;
1115  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1116  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1117    sysconfdir=$ac_optarg ;;
1118
1119  -target | --target | --targe | --targ | --tar | --ta | --t)
1120    ac_prev=target_alias ;;
1121  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1122    target_alias=$ac_optarg ;;
1123
1124  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1125    verbose=yes ;;
1126
1127  -version | --version | --versio | --versi | --vers | -V)
1128    ac_init_version=: ;;
1129
1130  -with-* | --with-*)
1131    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1132    # Reject names that are not valid shell variable names.
1133    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1134      as_fn_error $? "invalid package name: $ac_useropt"
1135    ac_useropt_orig=$ac_useropt
1136    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1137    case $ac_user_opts in
1138      *"
1139"with_$ac_useropt"
1140"*) ;;
1141      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1142	 ac_unrecognized_sep=', ';;
1143    esac
1144    eval with_$ac_useropt=\$ac_optarg ;;
1145
1146  -without-* | --without-*)
1147    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1148    # Reject names that are not valid shell variable names.
1149    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1150      as_fn_error $? "invalid package name: $ac_useropt"
1151    ac_useropt_orig=$ac_useropt
1152    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1153    case $ac_user_opts in
1154      *"
1155"with_$ac_useropt"
1156"*) ;;
1157      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1158	 ac_unrecognized_sep=', ';;
1159    esac
1160    eval with_$ac_useropt=no ;;
1161
1162  --x)
1163    # Obsolete; use --with-x.
1164    with_x=yes ;;
1165
1166  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1167  | --x-incl | --x-inc | --x-in | --x-i)
1168    ac_prev=x_includes ;;
1169  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1170  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1171    x_includes=$ac_optarg ;;
1172
1173  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1174  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1175    ac_prev=x_libraries ;;
1176  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1177  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1178    x_libraries=$ac_optarg ;;
1179
1180  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1181Try \`$0 --help' for more information"
1182    ;;
1183
1184  *=*)
1185    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1186    # Reject names that are not valid shell variable names.
1187    case $ac_envvar in #(
1188      '' | [0-9]* | *[!_$as_cr_alnum]* )
1189      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1190    esac
1191    eval $ac_envvar=\$ac_optarg
1192    export $ac_envvar ;;
1193
1194  *)
1195    # FIXME: should be removed in autoconf 3.0.
1196    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1197    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1198      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1199    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1200    ;;
1201
1202  esac
1203done
1204
1205if test -n "$ac_prev"; then
1206  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1207  as_fn_error $? "missing argument to $ac_option"
1208fi
1209
1210if test -n "$ac_unrecognized_opts"; then
1211  case $enable_option_checking in
1212    no) ;;
1213    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1214    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1215  esac
1216fi
1217
1218# Check all directory arguments for consistency.
1219for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1220		datadir sysconfdir sharedstatedir localstatedir includedir \
1221		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1222		libdir localedir mandir
1223do
1224  eval ac_val=\$$ac_var
1225  # Remove trailing slashes.
1226  case $ac_val in
1227    */ )
1228      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1229      eval $ac_var=\$ac_val;;
1230  esac
1231  # Be sure to have absolute directory names.
1232  case $ac_val in
1233    [\\/$]* | ?:[\\/]* )  continue;;
1234    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1235  esac
1236  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1237done
1238
1239# There might be people who depend on the old broken behavior: `$host'
1240# used to hold the argument of --host etc.
1241# FIXME: To remove some day.
1242build=$build_alias
1243host=$host_alias
1244target=$target_alias
1245
1246# FIXME: To remove some day.
1247if test "x$host_alias" != x; then
1248  if test "x$build_alias" = x; then
1249    cross_compiling=maybe
1250  elif test "x$build_alias" != "x$host_alias"; then
1251    cross_compiling=yes
1252  fi
1253fi
1254
1255ac_tool_prefix=
1256test -n "$host_alias" && ac_tool_prefix=$host_alias-
1257
1258test "$silent" = yes && exec 6>/dev/null
1259
1260
1261ac_pwd=`pwd` && test -n "$ac_pwd" &&
1262ac_ls_di=`ls -di .` &&
1263ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1264  as_fn_error $? "working directory cannot be determined"
1265test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1266  as_fn_error $? "pwd does not report name of working directory"
1267
1268
1269# Find the source files, if location was not specified.
1270if test -z "$srcdir"; then
1271  ac_srcdir_defaulted=yes
1272  # Try the directory containing this script, then the parent directory.
1273  ac_confdir=`$as_dirname -- "$as_myself" ||
1274$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1275	 X"$as_myself" : 'X\(//\)[^/]' \| \
1276	 X"$as_myself" : 'X\(//\)$' \| \
1277	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1278$as_echo X"$as_myself" |
1279    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1280	    s//\1/
1281	    q
1282	  }
1283	  /^X\(\/\/\)[^/].*/{
1284	    s//\1/
1285	    q
1286	  }
1287	  /^X\(\/\/\)$/{
1288	    s//\1/
1289	    q
1290	  }
1291	  /^X\(\/\).*/{
1292	    s//\1/
1293	    q
1294	  }
1295	  s/.*/./; q'`
1296  srcdir=$ac_confdir
1297  if test ! -r "$srcdir/$ac_unique_file"; then
1298    srcdir=..
1299  fi
1300else
1301  ac_srcdir_defaulted=no
1302fi
1303if test ! -r "$srcdir/$ac_unique_file"; then
1304  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1305  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1306fi
1307ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1308ac_abs_confdir=`(
1309	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1310	pwd)`
1311# When building in place, set srcdir=.
1312if test "$ac_abs_confdir" = "$ac_pwd"; then
1313  srcdir=.
1314fi
1315# Remove unnecessary trailing slashes from srcdir.
1316# Double slashes in file names in object file debugging info
1317# mess up M-x gdb in Emacs.
1318case $srcdir in
1319*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1320esac
1321for ac_var in $ac_precious_vars; do
1322  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1323  eval ac_env_${ac_var}_value=\$${ac_var}
1324  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1325  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1326done
1327
1328#
1329# Report the --help message.
1330#
1331if test "$ac_init_help" = "long"; then
1332  # Omit some internal or obsolete options to make the list less imposing.
1333  # This message is too long to be a string in the A/UX 3.1 sh.
1334  cat <<_ACEOF
1335\`configure' configures cone 1.1 to adapt to many kinds of systems.
1336
1337Usage: $0 [OPTION]... [VAR=VALUE]...
1338
1339To assign environment variables (e.g., CC, CFLAGS...), specify them as
1340VAR=VALUE.  See below for descriptions of some of the useful variables.
1341
1342Defaults for the options are specified in brackets.
1343
1344Configuration:
1345  -h, --help              display this help and exit
1346      --help=short        display options specific to this package
1347      --help=recursive    display the short help of all the included packages
1348  -V, --version           display version information and exit
1349  -q, --quiet, --silent   do not print \`checking ...' messages
1350      --cache-file=FILE   cache test results in FILE [disabled]
1351  -C, --config-cache      alias for \`--cache-file=config.cache'
1352  -n, --no-create         do not create output files
1353      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1354
1355Installation directories:
1356  --prefix=PREFIX         install architecture-independent files in PREFIX
1357                          [$ac_default_prefix]
1358  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1359                          [PREFIX]
1360
1361By default, \`make install' will install all the files in
1362\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1363an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1364for instance \`--prefix=\$HOME'.
1365
1366For better control, use the options below.
1367
1368Fine tuning of the installation directories:
1369  --bindir=DIR            user executables [EPREFIX/bin]
1370  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1371  --libexecdir=DIR        program executables [EPREFIX/libexec]
1372  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1373  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1374  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1375  --libdir=DIR            object code libraries [EPREFIX/lib]
1376  --includedir=DIR        C header files [PREFIX/include]
1377  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1378  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1379  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1380  --infodir=DIR           info documentation [DATAROOTDIR/info]
1381  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1382  --mandir=DIR            man documentation [DATAROOTDIR/man]
1383  --docdir=DIR            documentation root [DATAROOTDIR/doc/cone]
1384  --htmldir=DIR           html documentation [DOCDIR]
1385  --dvidir=DIR            dvi documentation [DOCDIR]
1386  --pdfdir=DIR            pdf documentation [DOCDIR]
1387  --psdir=DIR             ps documentation [DOCDIR]
1388_ACEOF
1389
1390  cat <<\_ACEOF
1391
1392Program names:
1393  --program-prefix=PREFIX            prepend PREFIX to installed program names
1394  --program-suffix=SUFFIX            append SUFFIX to installed program names
1395  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1396
1397System types:
1398  --build=BUILD     configure for building on BUILD [guessed]
1399  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1400_ACEOF
1401fi
1402
1403if test -n "$ac_init_help"; then
1404  case $ac_init_help in
1405     short | recursive ) echo "Configuration of cone 1.1:";;
1406   esac
1407  cat <<\_ACEOF
1408
1409Optional Features:
1410  --disable-option-checking  ignore unrecognized --enable/--with options
1411  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1412  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1413  --enable-silent-rules   less verbose build output (undo: "make V=1")
1414  --disable-silent-rules  verbose build output (undo: "make V=0")
1415  --enable-dependency-tracking
1416                          do not reject slow dependency extractors
1417  --disable-dependency-tracking
1418                          speeds up one-time build
1419  --enable-shared[=PKGS]  build shared libraries [default=yes]
1420  --enable-static[=PKGS]  build static libraries [default=yes]
1421  --enable-fast-install[=PKGS]
1422                          optimize for fast installation [default=yes]
1423  --disable-libtool-lock  avoid locking (might break parallel builds)
1424
1425Optional Packages:
1426  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1427  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1428  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1429                          both]
1430  --with-aix-soname=aix|svr4|both
1431                          shared library versioning (aka "SONAME") variant to
1432                          provide on AIX, [default=aix].
1433  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1434  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1435                          compiler's sysroot if not specified).
1436  --with-notice=unicode   The --with-notice=unicode option is required, and
1437                          indicates that you are aware of the instructions in
1438                          INSTALL for upgrading to this version
1439
1440Some influential environment variables:
1441  CC          C compiler command
1442  CFLAGS      C compiler flags
1443  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1444              nonstandard directory <lib dir>
1445  LIBS        libraries to pass to the linker, e.g. -l<library>
1446  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1447              you have headers in a nonstandard directory <include dir>
1448  CPP         C preprocessor
1449  LT_SYS_LIBRARY_PATH
1450              User-defined run-time library search path.
1451  PKG_CONFIG  path to pkg-config utility
1452  PKG_CONFIG_PATH
1453              directories to add to pkg-config's search path
1454  PKG_CONFIG_LIBDIR
1455              path overriding pkg-config's built-in search path
1456  LIBIDN_CFLAGS
1457              C compiler flags for LIBIDN, overriding pkg-config
1458  LIBIDN_LIBS linker flags for LIBIDN, overriding pkg-config
1459
1460Use these variables to override the choices made by `configure' or to help
1461it to find libraries and programs with nonstandard names/locations.
1462
1463Report bugs to <courier-cone@lists.sourceforge.net>.
1464_ACEOF
1465ac_status=$?
1466fi
1467
1468if test "$ac_init_help" = "recursive"; then
1469  # If there are subdirs, report their specific --help.
1470  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1471    test -d "$ac_dir" ||
1472      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1473      continue
1474    ac_builddir=.
1475
1476case "$ac_dir" in
1477.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1478*)
1479  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1480  # A ".." for each directory in $ac_dir_suffix.
1481  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1482  case $ac_top_builddir_sub in
1483  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1484  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1485  esac ;;
1486esac
1487ac_abs_top_builddir=$ac_pwd
1488ac_abs_builddir=$ac_pwd$ac_dir_suffix
1489# for backward compatibility:
1490ac_top_builddir=$ac_top_build_prefix
1491
1492case $srcdir in
1493  .)  # We are building in place.
1494    ac_srcdir=.
1495    ac_top_srcdir=$ac_top_builddir_sub
1496    ac_abs_top_srcdir=$ac_pwd ;;
1497  [\\/]* | ?:[\\/]* )  # Absolute name.
1498    ac_srcdir=$srcdir$ac_dir_suffix;
1499    ac_top_srcdir=$srcdir
1500    ac_abs_top_srcdir=$srcdir ;;
1501  *) # Relative name.
1502    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1503    ac_top_srcdir=$ac_top_build_prefix$srcdir
1504    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1505esac
1506ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1507
1508    cd "$ac_dir" || { ac_status=$?; continue; }
1509    # Check for guested configure.
1510    if test -f "$ac_srcdir/configure.gnu"; then
1511      echo &&
1512      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1513    elif test -f "$ac_srcdir/configure"; then
1514      echo &&
1515      $SHELL "$ac_srcdir/configure" --help=recursive
1516    else
1517      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1518    fi || ac_status=$?
1519    cd "$ac_pwd" || { ac_status=$?; break; }
1520  done
1521fi
1522
1523test -n "$ac_init_help" && exit $ac_status
1524if $ac_init_version; then
1525  cat <<\_ACEOF
1526cone configure 1.1
1527generated by GNU Autoconf 2.69
1528
1529Copyright (C) 2012 Free Software Foundation, Inc.
1530This configure script is free software; the Free Software Foundation
1531gives unlimited permission to copy, distribute and modify it.
1532_ACEOF
1533  exit
1534fi
1535
1536## ------------------------ ##
1537## Autoconf initialization. ##
1538## ------------------------ ##
1539
1540# ac_fn_c_try_compile LINENO
1541# --------------------------
1542# Try to compile conftest.$ac_ext, and return whether this succeeded.
1543ac_fn_c_try_compile ()
1544{
1545  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1546  rm -f conftest.$ac_objext
1547  if { { ac_try="$ac_compile"
1548case "(($ac_try" in
1549  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1550  *) ac_try_echo=$ac_try;;
1551esac
1552eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1553$as_echo "$ac_try_echo"; } >&5
1554  (eval "$ac_compile") 2>conftest.err
1555  ac_status=$?
1556  if test -s conftest.err; then
1557    grep -v '^ *+' conftest.err >conftest.er1
1558    cat conftest.er1 >&5
1559    mv -f conftest.er1 conftest.err
1560  fi
1561  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1562  test $ac_status = 0; } && {
1563	 test -z "$ac_c_werror_flag" ||
1564	 test ! -s conftest.err
1565       } && test -s conftest.$ac_objext; then :
1566  ac_retval=0
1567else
1568  $as_echo "$as_me: failed program was:" >&5
1569sed 's/^/| /' conftest.$ac_ext >&5
1570
1571	ac_retval=1
1572fi
1573  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1574  as_fn_set_status $ac_retval
1575
1576} # ac_fn_c_try_compile
1577
1578# ac_fn_c_try_cpp LINENO
1579# ----------------------
1580# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1581ac_fn_c_try_cpp ()
1582{
1583  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1584  if { { ac_try="$ac_cpp conftest.$ac_ext"
1585case "(($ac_try" in
1586  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1587  *) ac_try_echo=$ac_try;;
1588esac
1589eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1590$as_echo "$ac_try_echo"; } >&5
1591  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1592  ac_status=$?
1593  if test -s conftest.err; then
1594    grep -v '^ *+' conftest.err >conftest.er1
1595    cat conftest.er1 >&5
1596    mv -f conftest.er1 conftest.err
1597  fi
1598  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1599  test $ac_status = 0; } > conftest.i && {
1600	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1601	 test ! -s conftest.err
1602       }; then :
1603  ac_retval=0
1604else
1605  $as_echo "$as_me: failed program was:" >&5
1606sed 's/^/| /' conftest.$ac_ext >&5
1607
1608    ac_retval=1
1609fi
1610  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1611  as_fn_set_status $ac_retval
1612
1613} # ac_fn_c_try_cpp
1614
1615# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1616# -------------------------------------------------------
1617# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1618# the include files in INCLUDES and setting the cache variable VAR
1619# accordingly.
1620ac_fn_c_check_header_mongrel ()
1621{
1622  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1623  if eval \${$3+:} false; then :
1624  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1625$as_echo_n "checking for $2... " >&6; }
1626if eval \${$3+:} false; then :
1627  $as_echo_n "(cached) " >&6
1628fi
1629eval ac_res=\$$3
1630	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1631$as_echo "$ac_res" >&6; }
1632else
1633  # Is the header compilable?
1634{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1635$as_echo_n "checking $2 usability... " >&6; }
1636cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1637/* end confdefs.h.  */
1638$4
1639#include <$2>
1640_ACEOF
1641if ac_fn_c_try_compile "$LINENO"; then :
1642  ac_header_compiler=yes
1643else
1644  ac_header_compiler=no
1645fi
1646rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1647{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1648$as_echo "$ac_header_compiler" >&6; }
1649
1650# Is the header present?
1651{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1652$as_echo_n "checking $2 presence... " >&6; }
1653cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1654/* end confdefs.h.  */
1655#include <$2>
1656_ACEOF
1657if ac_fn_c_try_cpp "$LINENO"; then :
1658  ac_header_preproc=yes
1659else
1660  ac_header_preproc=no
1661fi
1662rm -f conftest.err conftest.i conftest.$ac_ext
1663{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1664$as_echo "$ac_header_preproc" >&6; }
1665
1666# So?  What about this header?
1667case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1668  yes:no: )
1669    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1670$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1671    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1672$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1673    ;;
1674  no:yes:* )
1675    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1676$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1677    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1678$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1679    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1680$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1681    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1682$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1683    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1684$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1685( $as_echo "## ------------------------------------------------- ##
1686## Report this to courier-cone@lists.sourceforge.net ##
1687## ------------------------------------------------- ##"
1688     ) | sed "s/^/$as_me: WARNING:     /" >&2
1689    ;;
1690esac
1691  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1692$as_echo_n "checking for $2... " >&6; }
1693if eval \${$3+:} false; then :
1694  $as_echo_n "(cached) " >&6
1695else
1696  eval "$3=\$ac_header_compiler"
1697fi
1698eval ac_res=\$$3
1699	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1700$as_echo "$ac_res" >&6; }
1701fi
1702  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1703
1704} # ac_fn_c_check_header_mongrel
1705
1706# ac_fn_c_try_run LINENO
1707# ----------------------
1708# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1709# that executables *can* be run.
1710ac_fn_c_try_run ()
1711{
1712  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1713  if { { ac_try="$ac_link"
1714case "(($ac_try" in
1715  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1716  *) ac_try_echo=$ac_try;;
1717esac
1718eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1719$as_echo "$ac_try_echo"; } >&5
1720  (eval "$ac_link") 2>&5
1721  ac_status=$?
1722  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1723  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1724  { { case "(($ac_try" in
1725  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1726  *) ac_try_echo=$ac_try;;
1727esac
1728eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1729$as_echo "$ac_try_echo"; } >&5
1730  (eval "$ac_try") 2>&5
1731  ac_status=$?
1732  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1733  test $ac_status = 0; }; }; then :
1734  ac_retval=0
1735else
1736  $as_echo "$as_me: program exited with status $ac_status" >&5
1737       $as_echo "$as_me: failed program was:" >&5
1738sed 's/^/| /' conftest.$ac_ext >&5
1739
1740       ac_retval=$ac_status
1741fi
1742  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1743  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1744  as_fn_set_status $ac_retval
1745
1746} # ac_fn_c_try_run
1747
1748# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1749# -------------------------------------------------------
1750# Tests whether HEADER exists and can be compiled using the include files in
1751# INCLUDES, setting the cache variable VAR accordingly.
1752ac_fn_c_check_header_compile ()
1753{
1754  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1755  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1756$as_echo_n "checking for $2... " >&6; }
1757if eval \${$3+:} false; then :
1758  $as_echo_n "(cached) " >&6
1759else
1760  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1761/* end confdefs.h.  */
1762$4
1763#include <$2>
1764_ACEOF
1765if ac_fn_c_try_compile "$LINENO"; then :
1766  eval "$3=yes"
1767else
1768  eval "$3=no"
1769fi
1770rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1771fi
1772eval ac_res=\$$3
1773	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1774$as_echo "$ac_res" >&6; }
1775  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1776
1777} # ac_fn_c_check_header_compile
1778
1779# ac_fn_c_try_link LINENO
1780# -----------------------
1781# Try to link conftest.$ac_ext, and return whether this succeeded.
1782ac_fn_c_try_link ()
1783{
1784  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1785  rm -f conftest.$ac_objext conftest$ac_exeext
1786  if { { ac_try="$ac_link"
1787case "(($ac_try" in
1788  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1789  *) ac_try_echo=$ac_try;;
1790esac
1791eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1792$as_echo "$ac_try_echo"; } >&5
1793  (eval "$ac_link") 2>conftest.err
1794  ac_status=$?
1795  if test -s conftest.err; then
1796    grep -v '^ *+' conftest.err >conftest.er1
1797    cat conftest.er1 >&5
1798    mv -f conftest.er1 conftest.err
1799  fi
1800  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1801  test $ac_status = 0; } && {
1802	 test -z "$ac_c_werror_flag" ||
1803	 test ! -s conftest.err
1804       } && test -s conftest$ac_exeext && {
1805	 test "$cross_compiling" = yes ||
1806	 test -x conftest$ac_exeext
1807       }; then :
1808  ac_retval=0
1809else
1810  $as_echo "$as_me: failed program was:" >&5
1811sed 's/^/| /' conftest.$ac_ext >&5
1812
1813	ac_retval=1
1814fi
1815  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1816  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1817  # interfere with the next link command; also delete a directory that is
1818  # left behind by Apple's compiler.  We do this before executing the actions.
1819  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1820  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1821  as_fn_set_status $ac_retval
1822
1823} # ac_fn_c_try_link
1824
1825# ac_fn_c_check_func LINENO FUNC VAR
1826# ----------------------------------
1827# Tests whether FUNC exists, setting the cache variable VAR accordingly
1828ac_fn_c_check_func ()
1829{
1830  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1831  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1832$as_echo_n "checking for $2... " >&6; }
1833if eval \${$3+:} false; then :
1834  $as_echo_n "(cached) " >&6
1835else
1836  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1837/* end confdefs.h.  */
1838/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1839   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1840#define $2 innocuous_$2
1841
1842/* System header to define __stub macros and hopefully few prototypes,
1843    which can conflict with char $2 (); below.
1844    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1845    <limits.h> exists even on freestanding compilers.  */
1846
1847#ifdef __STDC__
1848# include <limits.h>
1849#else
1850# include <assert.h>
1851#endif
1852
1853#undef $2
1854
1855/* Override any GCC internal prototype to avoid an error.
1856   Use char because int might match the return type of a GCC
1857   builtin and then its argument prototype would still apply.  */
1858#ifdef __cplusplus
1859extern "C"
1860#endif
1861char $2 ();
1862/* The GNU C library defines this for functions which it implements
1863    to always fail with ENOSYS.  Some functions are actually named
1864    something starting with __ and the normal name is an alias.  */
1865#if defined __stub_$2 || defined __stub___$2
1866choke me
1867#endif
1868
1869int
1870main ()
1871{
1872return $2 ();
1873  ;
1874  return 0;
1875}
1876_ACEOF
1877if ac_fn_c_try_link "$LINENO"; then :
1878  eval "$3=yes"
1879else
1880  eval "$3=no"
1881fi
1882rm -f core conftest.err conftest.$ac_objext \
1883    conftest$ac_exeext conftest.$ac_ext
1884fi
1885eval ac_res=\$$3
1886	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1887$as_echo "$ac_res" >&6; }
1888  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1889
1890} # ac_fn_c_check_func
1891cat >config.log <<_ACEOF
1892This file contains any messages produced by compilers while
1893running configure, to aid debugging if configure makes a mistake.
1894
1895It was created by cone $as_me 1.1, which was
1896generated by GNU Autoconf 2.69.  Invocation command line was
1897
1898  $ $0 $@
1899
1900_ACEOF
1901exec 5>>config.log
1902{
1903cat <<_ASUNAME
1904## --------- ##
1905## Platform. ##
1906## --------- ##
1907
1908hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1909uname -m = `(uname -m) 2>/dev/null || echo unknown`
1910uname -r = `(uname -r) 2>/dev/null || echo unknown`
1911uname -s = `(uname -s) 2>/dev/null || echo unknown`
1912uname -v = `(uname -v) 2>/dev/null || echo unknown`
1913
1914/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1915/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1916
1917/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1918/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1919/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1920/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1921/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1922/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1923/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1924
1925_ASUNAME
1926
1927as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1928for as_dir in $PATH
1929do
1930  IFS=$as_save_IFS
1931  test -z "$as_dir" && as_dir=.
1932    $as_echo "PATH: $as_dir"
1933  done
1934IFS=$as_save_IFS
1935
1936} >&5
1937
1938cat >&5 <<_ACEOF
1939
1940
1941## ----------- ##
1942## Core tests. ##
1943## ----------- ##
1944
1945_ACEOF
1946
1947
1948# Keep a trace of the command line.
1949# Strip out --no-create and --no-recursion so they do not pile up.
1950# Strip out --silent because we don't want to record it for future runs.
1951# Also quote any args containing shell meta-characters.
1952# Make two passes to allow for proper duplicate-argument suppression.
1953ac_configure_args=
1954ac_configure_args0=
1955ac_configure_args1=
1956ac_must_keep_next=false
1957for ac_pass in 1 2
1958do
1959  for ac_arg
1960  do
1961    case $ac_arg in
1962    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1963    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1964    | -silent | --silent | --silen | --sile | --sil)
1965      continue ;;
1966    *\'*)
1967      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1968    esac
1969    case $ac_pass in
1970    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1971    2)
1972      as_fn_append ac_configure_args1 " '$ac_arg'"
1973      if test $ac_must_keep_next = true; then
1974	ac_must_keep_next=false # Got value, back to normal.
1975      else
1976	case $ac_arg in
1977	  *=* | --config-cache | -C | -disable-* | --disable-* \
1978	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1979	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1980	  | -with-* | --with-* | -without-* | --without-* | --x)
1981	    case "$ac_configure_args0 " in
1982	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1983	    esac
1984	    ;;
1985	  -* ) ac_must_keep_next=true ;;
1986	esac
1987      fi
1988      as_fn_append ac_configure_args " '$ac_arg'"
1989      ;;
1990    esac
1991  done
1992done
1993{ ac_configure_args0=; unset ac_configure_args0;}
1994{ ac_configure_args1=; unset ac_configure_args1;}
1995
1996# When interrupted or exit'd, cleanup temporary files, and complete
1997# config.log.  We remove comments because anyway the quotes in there
1998# would cause problems or look ugly.
1999# WARNING: Use '\'' to represent an apostrophe within the trap.
2000# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2001trap 'exit_status=$?
2002  # Save into config.log some information that might help in debugging.
2003  {
2004    echo
2005
2006    $as_echo "## ---------------- ##
2007## Cache variables. ##
2008## ---------------- ##"
2009    echo
2010    # The following way of writing the cache mishandles newlines in values,
2011(
2012  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2013    eval ac_val=\$$ac_var
2014    case $ac_val in #(
2015    *${as_nl}*)
2016      case $ac_var in #(
2017      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2018$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2019      esac
2020      case $ac_var in #(
2021      _ | IFS | as_nl) ;; #(
2022      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2023      *) { eval $ac_var=; unset $ac_var;} ;;
2024      esac ;;
2025    esac
2026  done
2027  (set) 2>&1 |
2028    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2029    *${as_nl}ac_space=\ *)
2030      sed -n \
2031	"s/'\''/'\''\\\\'\'''\''/g;
2032	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2033      ;; #(
2034    *)
2035      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2036      ;;
2037    esac |
2038    sort
2039)
2040    echo
2041
2042    $as_echo "## ----------------- ##
2043## Output variables. ##
2044## ----------------- ##"
2045    echo
2046    for ac_var in $ac_subst_vars
2047    do
2048      eval ac_val=\$$ac_var
2049      case $ac_val in
2050      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2051      esac
2052      $as_echo "$ac_var='\''$ac_val'\''"
2053    done | sort
2054    echo
2055
2056    if test -n "$ac_subst_files"; then
2057      $as_echo "## ------------------- ##
2058## File substitutions. ##
2059## ------------------- ##"
2060      echo
2061      for ac_var in $ac_subst_files
2062      do
2063	eval ac_val=\$$ac_var
2064	case $ac_val in
2065	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2066	esac
2067	$as_echo "$ac_var='\''$ac_val'\''"
2068      done | sort
2069      echo
2070    fi
2071
2072    if test -s confdefs.h; then
2073      $as_echo "## ----------- ##
2074## confdefs.h. ##
2075## ----------- ##"
2076      echo
2077      cat confdefs.h
2078      echo
2079    fi
2080    test "$ac_signal" != 0 &&
2081      $as_echo "$as_me: caught signal $ac_signal"
2082    $as_echo "$as_me: exit $exit_status"
2083  } >&5
2084  rm -f core *.core core.conftest.* &&
2085    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2086    exit $exit_status
2087' 0
2088for ac_signal in 1 2 13 15; do
2089  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2090done
2091ac_signal=0
2092
2093# confdefs.h avoids OS command line length limits that DEFS can exceed.
2094rm -f -r conftest* confdefs.h
2095
2096$as_echo "/* confdefs.h */" > confdefs.h
2097
2098# Predefined preprocessor variables.
2099
2100cat >>confdefs.h <<_ACEOF
2101#define PACKAGE_NAME "$PACKAGE_NAME"
2102_ACEOF
2103
2104cat >>confdefs.h <<_ACEOF
2105#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2106_ACEOF
2107
2108cat >>confdefs.h <<_ACEOF
2109#define PACKAGE_VERSION "$PACKAGE_VERSION"
2110_ACEOF
2111
2112cat >>confdefs.h <<_ACEOF
2113#define PACKAGE_STRING "$PACKAGE_STRING"
2114_ACEOF
2115
2116cat >>confdefs.h <<_ACEOF
2117#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2118_ACEOF
2119
2120cat >>confdefs.h <<_ACEOF
2121#define PACKAGE_URL "$PACKAGE_URL"
2122_ACEOF
2123
2124
2125# Let the site file select an alternate cache file if it wants to.
2126# Prefer an explicitly selected file to automatically selected ones.
2127ac_site_file1=NONE
2128ac_site_file2=NONE
2129if test -n "$CONFIG_SITE"; then
2130  # We do not want a PATH search for config.site.
2131  case $CONFIG_SITE in #((
2132    -*)  ac_site_file1=./$CONFIG_SITE;;
2133    */*) ac_site_file1=$CONFIG_SITE;;
2134    *)   ac_site_file1=./$CONFIG_SITE;;
2135  esac
2136elif test "x$prefix" != xNONE; then
2137  ac_site_file1=$prefix/share/config.site
2138  ac_site_file2=$prefix/etc/config.site
2139else
2140  ac_site_file1=$ac_default_prefix/share/config.site
2141  ac_site_file2=$ac_default_prefix/etc/config.site
2142fi
2143for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2144do
2145  test "x$ac_site_file" = xNONE && continue
2146  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2147    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2148$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2149    sed 's/^/| /' "$ac_site_file" >&5
2150    . "$ac_site_file" \
2151      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2152$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2153as_fn_error $? "failed to load site script $ac_site_file
2154See \`config.log' for more details" "$LINENO" 5; }
2155  fi
2156done
2157
2158if test -r "$cache_file"; then
2159  # Some versions of bash will fail to source /dev/null (special files
2160  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2161  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2162    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2163$as_echo "$as_me: loading cache $cache_file" >&6;}
2164    case $cache_file in
2165      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2166      *)                      . "./$cache_file";;
2167    esac
2168  fi
2169else
2170  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2171$as_echo "$as_me: creating cache $cache_file" >&6;}
2172  >$cache_file
2173fi
2174
2175# Check that the precious variables saved in the cache have kept the same
2176# value.
2177ac_cache_corrupted=false
2178for ac_var in $ac_precious_vars; do
2179  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2180  eval ac_new_set=\$ac_env_${ac_var}_set
2181  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2182  eval ac_new_val=\$ac_env_${ac_var}_value
2183  case $ac_old_set,$ac_new_set in
2184    set,)
2185      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2186$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2187      ac_cache_corrupted=: ;;
2188    ,set)
2189      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2190$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2191      ac_cache_corrupted=: ;;
2192    ,);;
2193    *)
2194      if test "x$ac_old_val" != "x$ac_new_val"; then
2195	# differences in whitespace do not lead to failure.
2196	ac_old_val_w=`echo x $ac_old_val`
2197	ac_new_val_w=`echo x $ac_new_val`
2198	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2199	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2200$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2201	  ac_cache_corrupted=:
2202	else
2203	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2204$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2205	  eval $ac_var=\$ac_old_val
2206	fi
2207	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2208$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2209	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2210$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2211      fi;;
2212  esac
2213  # Pass precious variables to config.status.
2214  if test "$ac_new_set" = set; then
2215    case $ac_new_val in
2216    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2217    *) ac_arg=$ac_var=$ac_new_val ;;
2218    esac
2219    case " $ac_configure_args " in
2220      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2221      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2222    esac
2223  fi
2224done
2225if $ac_cache_corrupted; then
2226  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2227$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2228  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2229$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2230  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2231fi
2232## -------------------- ##
2233## Main body of script. ##
2234## -------------------- ##
2235
2236ac_ext=c
2237ac_cpp='$CPP $CPPFLAGS'
2238ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2239ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2240ac_compiler_gnu=$ac_cv_c_compiler_gnu
2241
2242
2243>confdefs.h  # Kill PACKAGE_ macros
2244
2245ac_config_headers="$ac_config_headers config.h"
2246
2247am__api_version='1.16'
2248
2249ac_aux_dir=
2250for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2251  if test -f "$ac_dir/install-sh"; then
2252    ac_aux_dir=$ac_dir
2253    ac_install_sh="$ac_aux_dir/install-sh -c"
2254    break
2255  elif test -f "$ac_dir/install.sh"; then
2256    ac_aux_dir=$ac_dir
2257    ac_install_sh="$ac_aux_dir/install.sh -c"
2258    break
2259  elif test -f "$ac_dir/shtool"; then
2260    ac_aux_dir=$ac_dir
2261    ac_install_sh="$ac_aux_dir/shtool install -c"
2262    break
2263  fi
2264done
2265if test -z "$ac_aux_dir"; then
2266  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2267fi
2268
2269# These three variables are undocumented and unsupported,
2270# and are intended to be withdrawn in a future Autoconf release.
2271# They can cause serious problems if a builder's source tree is in a directory
2272# whose full name contains unusual characters.
2273ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2274ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2275ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2276
2277
2278# Find a good install program.  We prefer a C program (faster),
2279# so one script is as good as another.  But avoid the broken or
2280# incompatible versions:
2281# SysV /etc/install, /usr/sbin/install
2282# SunOS /usr/etc/install
2283# IRIX /sbin/install
2284# AIX /bin/install
2285# AmigaOS /C/install, which installs bootblocks on floppy discs
2286# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2287# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2288# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2289# OS/2's system install, which has a completely different semantic
2290# ./install, which can be erroneously created by make from ./install.sh.
2291# Reject install programs that cannot install multiple files.
2292{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2293$as_echo_n "checking for a BSD-compatible install... " >&6; }
2294if test -z "$INSTALL"; then
2295if ${ac_cv_path_install+:} false; then :
2296  $as_echo_n "(cached) " >&6
2297else
2298  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2299for as_dir in $PATH
2300do
2301  IFS=$as_save_IFS
2302  test -z "$as_dir" && as_dir=.
2303    # Account for people who put trailing slashes in PATH elements.
2304case $as_dir/ in #((
2305  ./ | .// | /[cC]/* | \
2306  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2307  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2308  /usr/ucb/* ) ;;
2309  *)
2310    # OSF1 and SCO ODT 3.0 have their own names for install.
2311    # Don't use installbsd from OSF since it installs stuff as root
2312    # by default.
2313    for ac_prog in ginstall scoinst install; do
2314      for ac_exec_ext in '' $ac_executable_extensions; do
2315	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2316	  if test $ac_prog = install &&
2317	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2318	    # AIX install.  It has an incompatible calling convention.
2319	    :
2320	  elif test $ac_prog = install &&
2321	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2322	    # program-specific install script used by HP pwplus--don't use.
2323	    :
2324	  else
2325	    rm -rf conftest.one conftest.two conftest.dir
2326	    echo one > conftest.one
2327	    echo two > conftest.two
2328	    mkdir conftest.dir
2329	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2330	      test -s conftest.one && test -s conftest.two &&
2331	      test -s conftest.dir/conftest.one &&
2332	      test -s conftest.dir/conftest.two
2333	    then
2334	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2335	      break 3
2336	    fi
2337	  fi
2338	fi
2339      done
2340    done
2341    ;;
2342esac
2343
2344  done
2345IFS=$as_save_IFS
2346
2347rm -rf conftest.one conftest.two conftest.dir
2348
2349fi
2350  if test "${ac_cv_path_install+set}" = set; then
2351    INSTALL=$ac_cv_path_install
2352  else
2353    # As a last resort, use the slow shell script.  Don't cache a
2354    # value for INSTALL within a source directory, because that will
2355    # break other packages using the cache if that directory is
2356    # removed, or if the value is a relative name.
2357    INSTALL=$ac_install_sh
2358  fi
2359fi
2360{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2361$as_echo "$INSTALL" >&6; }
2362
2363# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2364# It thinks the first close brace ends the variable substitution.
2365test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2366
2367test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2368
2369test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2370
2371{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2372$as_echo_n "checking whether build environment is sane... " >&6; }
2373# Reject unsafe characters in $srcdir or the absolute working directory
2374# name.  Accept space and tab only in the latter.
2375am_lf='
2376'
2377case `pwd` in
2378  *[\\\"\#\$\&\'\`$am_lf]*)
2379    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2380esac
2381case $srcdir in
2382  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2383    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2384esac
2385
2386# Do 'set' in a subshell so we don't clobber the current shell's
2387# arguments.  Must try -L first in case configure is actually a
2388# symlink; some systems play weird games with the mod time of symlinks
2389# (eg FreeBSD returns the mod time of the symlink's containing
2390# directory).
2391if (
2392   am_has_slept=no
2393   for am_try in 1 2; do
2394     echo "timestamp, slept: $am_has_slept" > conftest.file
2395     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2396     if test "$*" = "X"; then
2397	# -L didn't work.
2398	set X `ls -t "$srcdir/configure" conftest.file`
2399     fi
2400     if test "$*" != "X $srcdir/configure conftest.file" \
2401	&& test "$*" != "X conftest.file $srcdir/configure"; then
2402
2403	# If neither matched, then we have a broken ls.  This can happen
2404	# if, for instance, CONFIG_SHELL is bash and it inherits a
2405	# broken ls alias from the environment.  This has actually
2406	# happened.  Such a system could not be considered "sane".
2407	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2408  alias in your environment" "$LINENO" 5
2409     fi
2410     if test "$2" = conftest.file || test $am_try -eq 2; then
2411       break
2412     fi
2413     # Just in case.
2414     sleep 1
2415     am_has_slept=yes
2416   done
2417   test "$2" = conftest.file
2418   )
2419then
2420   # Ok.
2421   :
2422else
2423   as_fn_error $? "newly created file is older than distributed files!
2424Check your system clock" "$LINENO" 5
2425fi
2426{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2427$as_echo "yes" >&6; }
2428# If we didn't sleep, we still need to ensure time stamps of config.status and
2429# generated files are strictly newer.
2430am_sleep_pid=
2431if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2432  ( sleep 1 ) &
2433  am_sleep_pid=$!
2434fi
2435
2436rm -f conftest.file
2437
2438test "$program_prefix" != NONE &&
2439  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2440# Use a double $ so make ignores it.
2441test "$program_suffix" != NONE &&
2442  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2443# Double any \ or $.
2444# By default was `s,x,x', remove it if useless.
2445ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2446program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2447
2448# Expand $ac_aux_dir to an absolute path.
2449am_aux_dir=`cd "$ac_aux_dir" && pwd`
2450
2451if test x"${MISSING+set}" != xset; then
2452  case $am_aux_dir in
2453  *\ * | *\	*)
2454    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2455  *)
2456    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2457  esac
2458fi
2459# Use eval to expand $SHELL
2460if eval "$MISSING --is-lightweight"; then
2461  am_missing_run="$MISSING "
2462else
2463  am_missing_run=
2464  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2465$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2466fi
2467
2468if test x"${install_sh+set}" != xset; then
2469  case $am_aux_dir in
2470  *\ * | *\	*)
2471    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2472  *)
2473    install_sh="\${SHELL} $am_aux_dir/install-sh"
2474  esac
2475fi
2476
2477# Installed binaries are usually stripped using 'strip' when the user
2478# run "make install-strip".  However 'strip' might not be the right
2479# tool to use in cross-compilation environments, therefore Automake
2480# will honor the 'STRIP' environment variable to overrule this program.
2481if test "$cross_compiling" != no; then
2482  if test -n "$ac_tool_prefix"; then
2483  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2484set dummy ${ac_tool_prefix}strip; ac_word=$2
2485{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2486$as_echo_n "checking for $ac_word... " >&6; }
2487if ${ac_cv_prog_STRIP+:} false; then :
2488  $as_echo_n "(cached) " >&6
2489else
2490  if test -n "$STRIP"; then
2491  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2492else
2493as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2494for as_dir in $PATH
2495do
2496  IFS=$as_save_IFS
2497  test -z "$as_dir" && as_dir=.
2498    for ac_exec_ext in '' $ac_executable_extensions; do
2499  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2500    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2501    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2502    break 2
2503  fi
2504done
2505  done
2506IFS=$as_save_IFS
2507
2508fi
2509fi
2510STRIP=$ac_cv_prog_STRIP
2511if test -n "$STRIP"; then
2512  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2513$as_echo "$STRIP" >&6; }
2514else
2515  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2516$as_echo "no" >&6; }
2517fi
2518
2519
2520fi
2521if test -z "$ac_cv_prog_STRIP"; then
2522  ac_ct_STRIP=$STRIP
2523  # Extract the first word of "strip", so it can be a program name with args.
2524set dummy strip; ac_word=$2
2525{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2526$as_echo_n "checking for $ac_word... " >&6; }
2527if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2528  $as_echo_n "(cached) " >&6
2529else
2530  if test -n "$ac_ct_STRIP"; then
2531  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2532else
2533as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2534for as_dir in $PATH
2535do
2536  IFS=$as_save_IFS
2537  test -z "$as_dir" && as_dir=.
2538    for ac_exec_ext in '' $ac_executable_extensions; do
2539  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2540    ac_cv_prog_ac_ct_STRIP="strip"
2541    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2542    break 2
2543  fi
2544done
2545  done
2546IFS=$as_save_IFS
2547
2548fi
2549fi
2550ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2551if test -n "$ac_ct_STRIP"; then
2552  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2553$as_echo "$ac_ct_STRIP" >&6; }
2554else
2555  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2556$as_echo "no" >&6; }
2557fi
2558
2559  if test "x$ac_ct_STRIP" = x; then
2560    STRIP=":"
2561  else
2562    case $cross_compiling:$ac_tool_warned in
2563yes:)
2564{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2565$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2566ac_tool_warned=yes ;;
2567esac
2568    STRIP=$ac_ct_STRIP
2569  fi
2570else
2571  STRIP="$ac_cv_prog_STRIP"
2572fi
2573
2574fi
2575INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2576
2577{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2578$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2579if test -z "$MKDIR_P"; then
2580  if ${ac_cv_path_mkdir+:} false; then :
2581  $as_echo_n "(cached) " >&6
2582else
2583  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2584for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2585do
2586  IFS=$as_save_IFS
2587  test -z "$as_dir" && as_dir=.
2588    for ac_prog in mkdir gmkdir; do
2589	 for ac_exec_ext in '' $ac_executable_extensions; do
2590	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2591	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2592	     'mkdir (GNU coreutils) '* | \
2593	     'mkdir (coreutils) '* | \
2594	     'mkdir (fileutils) '4.1*)
2595	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2596	       break 3;;
2597	   esac
2598	 done
2599       done
2600  done
2601IFS=$as_save_IFS
2602
2603fi
2604
2605  test -d ./--version && rmdir ./--version
2606  if test "${ac_cv_path_mkdir+set}" = set; then
2607    MKDIR_P="$ac_cv_path_mkdir -p"
2608  else
2609    # As a last resort, use the slow shell script.  Don't cache a
2610    # value for MKDIR_P within a source directory, because that will
2611    # break other packages using the cache if that directory is
2612    # removed, or if the value is a relative name.
2613    MKDIR_P="$ac_install_sh -d"
2614  fi
2615fi
2616{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2617$as_echo "$MKDIR_P" >&6; }
2618
2619for ac_prog in gawk mawk nawk awk
2620do
2621  # Extract the first word of "$ac_prog", so it can be a program name with args.
2622set dummy $ac_prog; ac_word=$2
2623{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2624$as_echo_n "checking for $ac_word... " >&6; }
2625if ${ac_cv_prog_AWK+:} false; then :
2626  $as_echo_n "(cached) " >&6
2627else
2628  if test -n "$AWK"; then
2629  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2630else
2631as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2632for as_dir in $PATH
2633do
2634  IFS=$as_save_IFS
2635  test -z "$as_dir" && as_dir=.
2636    for ac_exec_ext in '' $ac_executable_extensions; do
2637  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2638    ac_cv_prog_AWK="$ac_prog"
2639    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2640    break 2
2641  fi
2642done
2643  done
2644IFS=$as_save_IFS
2645
2646fi
2647fi
2648AWK=$ac_cv_prog_AWK
2649if test -n "$AWK"; then
2650  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2651$as_echo "$AWK" >&6; }
2652else
2653  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2654$as_echo "no" >&6; }
2655fi
2656
2657
2658  test -n "$AWK" && break
2659done
2660
2661{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2662$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2663set x ${MAKE-make}
2664ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2665if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2666  $as_echo_n "(cached) " >&6
2667else
2668  cat >conftest.make <<\_ACEOF
2669SHELL = /bin/sh
2670all:
2671	@echo '@@@%%%=$(MAKE)=@@@%%%'
2672_ACEOF
2673# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2674case `${MAKE-make} -f conftest.make 2>/dev/null` in
2675  *@@@%%%=?*=@@@%%%*)
2676    eval ac_cv_prog_make_${ac_make}_set=yes;;
2677  *)
2678    eval ac_cv_prog_make_${ac_make}_set=no;;
2679esac
2680rm -f conftest.make
2681fi
2682if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2683  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2684$as_echo "yes" >&6; }
2685  SET_MAKE=
2686else
2687  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2688$as_echo "no" >&6; }
2689  SET_MAKE="MAKE=${MAKE-make}"
2690fi
2691
2692rm -rf .tst 2>/dev/null
2693mkdir .tst 2>/dev/null
2694if test -d .tst; then
2695  am__leading_dot=.
2696else
2697  am__leading_dot=_
2698fi
2699rmdir .tst 2>/dev/null
2700
2701# Check whether --enable-silent-rules was given.
2702if test "${enable_silent_rules+set}" = set; then :
2703  enableval=$enable_silent_rules;
2704fi
2705
2706case $enable_silent_rules in # (((
2707  yes) AM_DEFAULT_VERBOSITY=0;;
2708   no) AM_DEFAULT_VERBOSITY=1;;
2709    *) AM_DEFAULT_VERBOSITY=1;;
2710esac
2711am_make=${MAKE-make}
2712{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2713$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2714if ${am_cv_make_support_nested_variables+:} false; then :
2715  $as_echo_n "(cached) " >&6
2716else
2717  if $as_echo 'TRUE=$(BAR$(V))
2718BAR0=false
2719BAR1=true
2720V=1
2721am__doit:
2722	@$(TRUE)
2723.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2724  am_cv_make_support_nested_variables=yes
2725else
2726  am_cv_make_support_nested_variables=no
2727fi
2728fi
2729{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2730$as_echo "$am_cv_make_support_nested_variables" >&6; }
2731if test $am_cv_make_support_nested_variables = yes; then
2732    AM_V='$(V)'
2733  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2734else
2735  AM_V=$AM_DEFAULT_VERBOSITY
2736  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2737fi
2738AM_BACKSLASH='\'
2739
2740if test "`cd $srcdir && pwd`" != "`pwd`"; then
2741  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2742  # is not polluted with repeated "-I."
2743  am__isrc=' -I$(srcdir)'
2744  # test to see if srcdir already configured
2745  if test -f $srcdir/config.status; then
2746    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2747  fi
2748fi
2749
2750# test whether we have cygpath
2751if test -z "$CYGPATH_W"; then
2752  if (cygpath --version) >/dev/null 2>/dev/null; then
2753    CYGPATH_W='cygpath -w'
2754  else
2755    CYGPATH_W=echo
2756  fi
2757fi
2758
2759
2760# Define the identity of the package.
2761 PACKAGE='cone'
2762 VERSION='1.1'
2763
2764
2765cat >>confdefs.h <<_ACEOF
2766#define PACKAGE "$PACKAGE"
2767_ACEOF
2768
2769
2770cat >>confdefs.h <<_ACEOF
2771#define VERSION "$VERSION"
2772_ACEOF
2773
2774# Some tools Automake needs.
2775
2776ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2777
2778
2779AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2780
2781
2782AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2783
2784
2785AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2786
2787
2788MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2789
2790# For better backward compatibility.  To be removed once Automake 1.9.x
2791# dies out for good.  For more background, see:
2792# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2793# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2794mkdir_p='$(MKDIR_P)'
2795
2796# We need awk for the "check" target (and possibly the TAP driver).  The
2797# system "awk" is bad on some platforms.
2798# Always define AMTAR for backward compatibility.  Yes, it's still used
2799# in the wild :-(  We should find a proper way to deprecate it ...
2800AMTAR='$${TAR-tar}'
2801
2802
2803# We'll loop over all known methods to create a tar archive until one works.
2804_am_tools='gnutar  pax cpio none'
2805
2806am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2807
2808
2809
2810
2811
2812
2813# POSIX will say in a future version that running "rm -f" with no argument
2814# is OK; and we want to be able to make that assumption in our Makefile
2815# recipes.  So use an aggressive probe to check that the usage we want is
2816# actually supported "in the wild" to an acceptable degree.
2817# See automake bug#10828.
2818# To make any issue more visible, cause the running configure to be aborted
2819# by default if the 'rm' program in use doesn't match our expectations; the
2820# user can still override this though.
2821if rm -f && rm -fr && rm -rf; then : OK; else
2822  cat >&2 <<'END'
2823Oops!
2824
2825Your 'rm' program seems unable to run without file operands specified
2826on the command line, even when the '-f' option is present.  This is contrary
2827to the behaviour of most rm programs out there, and not conforming with
2828the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2829
2830Please tell bug-automake@gnu.org about your system, including the value
2831of your $PATH and any error possibly output before this message.  This
2832can help us improve future automake versions.
2833
2834END
2835  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2836    echo 'Configuration will proceed anyway, since you have set the' >&2
2837    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2838    echo >&2
2839  else
2840    cat >&2 <<'END'
2841Aborting the configuration process, to ensure you take notice of the issue.
2842
2843You can download and install GNU coreutils to get an 'rm' implementation
2844that behaves properly: <https://www.gnu.org/software/coreutils/>.
2845
2846If you want to complete the configuration process using your problematic
2847'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2848to "yes", and re-run configure.
2849
2850END
2851    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2852  fi
2853fi
2854
2855
2856ALL_LINGUAS=
2857LPATH="$PATH:/usr/local/bin"
2858
2859test "x$prefix" = xNONE && prefix=$ac_default_prefix
2860test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2861
2862eval "exec_prefix=$exec_prefix"
2863eval "bindir=$bindir"
2864eval "sysconfdir=$sysconfdir"
2865eval "datarootdir=$datarootdir"
2866eval "datadir=$datadir"
2867
2868for ac_prog in gawk mawk nawk awk
2869do
2870  # Extract the first word of "$ac_prog", so it can be a program name with args.
2871set dummy $ac_prog; ac_word=$2
2872{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2873$as_echo_n "checking for $ac_word... " >&6; }
2874if ${ac_cv_prog_AWK+:} false; then :
2875  $as_echo_n "(cached) " >&6
2876else
2877  if test -n "$AWK"; then
2878  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2879else
2880as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2881for as_dir in $PATH
2882do
2883  IFS=$as_save_IFS
2884  test -z "$as_dir" && as_dir=.
2885    for ac_exec_ext in '' $ac_executable_extensions; do
2886  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2887    ac_cv_prog_AWK="$ac_prog"
2888    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2889    break 2
2890  fi
2891done
2892  done
2893IFS=$as_save_IFS
2894
2895fi
2896fi
2897AWK=$ac_cv_prog_AWK
2898if test -n "$AWK"; then
2899  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2900$as_echo "$AWK" >&6; }
2901else
2902  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2903$as_echo "no" >&6; }
2904fi
2905
2906
2907  test -n "$AWK" && break
2908done
2909
2910
2911{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2912$as_echo_n "checking whether ln -s works... " >&6; }
2913LN_S=$as_ln_s
2914if test "$LN_S" = "ln -s"; then
2915  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2916$as_echo "yes" >&6; }
2917else
2918  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2919$as_echo "no, using $LN_S" >&6; }
2920fi
2921
2922
2923
2924	for ac_prog in perl5 perl
2925do
2926  # Extract the first word of "$ac_prog", so it can be a program name with args.
2927set dummy $ac_prog; ac_word=$2
2928{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2929$as_echo_n "checking for $ac_word... " >&6; }
2930if ${ac_cv_path_SYSCONFTOOL_PERL+:} false; then :
2931  $as_echo_n "(cached) " >&6
2932else
2933  case $SYSCONFTOOL_PERL in
2934  [\\/]* | ?:[\\/]*)
2935  ac_cv_path_SYSCONFTOOL_PERL="$SYSCONFTOOL_PERL" # Let the user override the test with a path.
2936  ;;
2937  *)
2938  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2939for as_dir in $PATH
2940do
2941  IFS=$as_save_IFS
2942  test -z "$as_dir" && as_dir=.
2943    for ac_exec_ext in '' $ac_executable_extensions; do
2944  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2945    ac_cv_path_SYSCONFTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
2946    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2947    break 2
2948  fi
2949done
2950  done
2951IFS=$as_save_IFS
2952
2953  ;;
2954esac
2955fi
2956SYSCONFTOOL_PERL=$ac_cv_path_SYSCONFTOOL_PERL
2957if test -n "$SYSCONFTOOL_PERL"; then
2958  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SYSCONFTOOL_PERL" >&5
2959$as_echo "$SYSCONFTOOL_PERL" >&6; }
2960else
2961  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2962$as_echo "no" >&6; }
2963fi
2964
2965
2966  test -n "$SYSCONFTOOL_PERL" && break
2967done
2968test -n "$SYSCONFTOOL_PERL" || SYSCONFTOOL_PERL="perl"
2969
2970
2971	if test "$SYSCONFTOOL_PERL" = "perl"
2972	then
2973		as_fn_error $? "perl not found - please install perl" "$LINENO" 5
2974	fi
2975
2976	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysconftool..." >&5
2977$as_echo_n "checking for sysconftool...... " >&6; }
2978	SYSCONFTOOL=""
2979	for sysconf_dir in $ac_aux_dir . .. ../..
2980	do
2981		if test -f $srcdir/$sysconf_dir/sysconftool
2982		then
2983			SYSCONFTOOL=$srcdir/$sysconf_dir/sysconftool
2984			break
2985		fi
2986	done
2987
2988	if test "$SYSCONFTOOL" = ""
2989	then
2990		as_fn_error $? "sysconftool missing - not in the package" "$LINENO" 5
2991	fi
2992
2993	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $SYSCONFTOOL" >&5
2994$as_echo "$SYSCONFTOOL" >&6; }
2995	SYSCONFTOOL="$SYSCONFTOOL_PERL $SYSCONFTOOL"
2996
2997
2998
2999DEPDIR="${am__leading_dot}deps"
3000
3001ac_config_commands="$ac_config_commands depfiles"
3002
3003{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3004$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
3005cat > confinc.mk << 'END'
3006am__doit:
3007	@echo this is the am__doit target >confinc.out
3008.PHONY: am__doit
3009END
3010am__include="#"
3011am__quote=
3012# BSD make does it like this.
3013echo '.include "confinc.mk" # ignored' > confmf.BSD
3014# Other make implementations (GNU, Solaris 10, AIX) do it like this.
3015echo 'include confinc.mk # ignored' > confmf.GNU
3016_am_result=no
3017for s in GNU BSD; do
3018  { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3019   (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3020   ac_status=$?
3021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3022   (exit $ac_status); }
3023  case $?:`cat confinc.out 2>/dev/null` in #(
3024  '0:this is the am__doit target') :
3025    case $s in #(
3026  BSD) :
3027    am__include='.include' am__quote='"' ;; #(
3028  *) :
3029    am__include='include' am__quote='' ;;
3030esac ;; #(
3031  *) :
3032     ;;
3033esac
3034  if test "$am__include" != "#"; then
3035    _am_result="yes ($s style)"
3036    break
3037  fi
3038done
3039rm -f confinc.* confmf.*
3040{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3041$as_echo "${_am_result}" >&6; }
3042
3043# Check whether --enable-dependency-tracking was given.
3044if test "${enable_dependency_tracking+set}" = set; then :
3045  enableval=$enable_dependency_tracking;
3046fi
3047
3048if test "x$enable_dependency_tracking" != xno; then
3049  am_depcomp="$ac_aux_dir/depcomp"
3050  AMDEPBACKSLASH='\'
3051  am__nodep='_no'
3052fi
3053 if test "x$enable_dependency_tracking" != xno; then
3054  AMDEP_TRUE=
3055  AMDEP_FALSE='#'
3056else
3057  AMDEP_TRUE='#'
3058  AMDEP_FALSE=
3059fi
3060
3061
3062ac_ext=c
3063ac_cpp='$CPP $CPPFLAGS'
3064ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3065ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3066ac_compiler_gnu=$ac_cv_c_compiler_gnu
3067if test -n "$ac_tool_prefix"; then
3068  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3069set dummy ${ac_tool_prefix}gcc; ac_word=$2
3070{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3071$as_echo_n "checking for $ac_word... " >&6; }
3072if ${ac_cv_prog_CC+:} false; then :
3073  $as_echo_n "(cached) " >&6
3074else
3075  if test -n "$CC"; then
3076  ac_cv_prog_CC="$CC" # Let the user override the test.
3077else
3078as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3079for as_dir in $PATH
3080do
3081  IFS=$as_save_IFS
3082  test -z "$as_dir" && as_dir=.
3083    for ac_exec_ext in '' $ac_executable_extensions; do
3084  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3085    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3086    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3087    break 2
3088  fi
3089done
3090  done
3091IFS=$as_save_IFS
3092
3093fi
3094fi
3095CC=$ac_cv_prog_CC
3096if test -n "$CC"; then
3097  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3098$as_echo "$CC" >&6; }
3099else
3100  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3101$as_echo "no" >&6; }
3102fi
3103
3104
3105fi
3106if test -z "$ac_cv_prog_CC"; then
3107  ac_ct_CC=$CC
3108  # Extract the first word of "gcc", so it can be a program name with args.
3109set dummy gcc; ac_word=$2
3110{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3111$as_echo_n "checking for $ac_word... " >&6; }
3112if ${ac_cv_prog_ac_ct_CC+:} false; then :
3113  $as_echo_n "(cached) " >&6
3114else
3115  if test -n "$ac_ct_CC"; then
3116  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3117else
3118as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3119for as_dir in $PATH
3120do
3121  IFS=$as_save_IFS
3122  test -z "$as_dir" && as_dir=.
3123    for ac_exec_ext in '' $ac_executable_extensions; do
3124  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3125    ac_cv_prog_ac_ct_CC="gcc"
3126    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3127    break 2
3128  fi
3129done
3130  done
3131IFS=$as_save_IFS
3132
3133fi
3134fi
3135ac_ct_CC=$ac_cv_prog_ac_ct_CC
3136if test -n "$ac_ct_CC"; then
3137  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3138$as_echo "$ac_ct_CC" >&6; }
3139else
3140  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3141$as_echo "no" >&6; }
3142fi
3143
3144  if test "x$ac_ct_CC" = x; then
3145    CC=""
3146  else
3147    case $cross_compiling:$ac_tool_warned in
3148yes:)
3149{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3150$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3151ac_tool_warned=yes ;;
3152esac
3153    CC=$ac_ct_CC
3154  fi
3155else
3156  CC="$ac_cv_prog_CC"
3157fi
3158
3159if test -z "$CC"; then
3160          if test -n "$ac_tool_prefix"; then
3161    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3162set dummy ${ac_tool_prefix}cc; ac_word=$2
3163{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3164$as_echo_n "checking for $ac_word... " >&6; }
3165if ${ac_cv_prog_CC+:} false; then :
3166  $as_echo_n "(cached) " >&6
3167else
3168  if test -n "$CC"; then
3169  ac_cv_prog_CC="$CC" # Let the user override the test.
3170else
3171as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3172for as_dir in $PATH
3173do
3174  IFS=$as_save_IFS
3175  test -z "$as_dir" && as_dir=.
3176    for ac_exec_ext in '' $ac_executable_extensions; do
3177  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3178    ac_cv_prog_CC="${ac_tool_prefix}cc"
3179    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3180    break 2
3181  fi
3182done
3183  done
3184IFS=$as_save_IFS
3185
3186fi
3187fi
3188CC=$ac_cv_prog_CC
3189if test -n "$CC"; then
3190  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3191$as_echo "$CC" >&6; }
3192else
3193  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3194$as_echo "no" >&6; }
3195fi
3196
3197
3198  fi
3199fi
3200if test -z "$CC"; then
3201  # Extract the first word of "cc", so it can be a program name with args.
3202set dummy cc; ac_word=$2
3203{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3204$as_echo_n "checking for $ac_word... " >&6; }
3205if ${ac_cv_prog_CC+:} false; then :
3206  $as_echo_n "(cached) " >&6
3207else
3208  if test -n "$CC"; then
3209  ac_cv_prog_CC="$CC" # Let the user override the test.
3210else
3211  ac_prog_rejected=no
3212as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3213for as_dir in $PATH
3214do
3215  IFS=$as_save_IFS
3216  test -z "$as_dir" && as_dir=.
3217    for ac_exec_ext in '' $ac_executable_extensions; do
3218  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3219    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3220       ac_prog_rejected=yes
3221       continue
3222     fi
3223    ac_cv_prog_CC="cc"
3224    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3225    break 2
3226  fi
3227done
3228  done
3229IFS=$as_save_IFS
3230
3231if test $ac_prog_rejected = yes; then
3232  # We found a bogon in the path, so make sure we never use it.
3233  set dummy $ac_cv_prog_CC
3234  shift
3235  if test $# != 0; then
3236    # We chose a different compiler from the bogus one.
3237    # However, it has the same basename, so the bogon will be chosen
3238    # first if we set CC to just the basename; use the full file name.
3239    shift
3240    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3241  fi
3242fi
3243fi
3244fi
3245CC=$ac_cv_prog_CC
3246if test -n "$CC"; then
3247  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3248$as_echo "$CC" >&6; }
3249else
3250  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3251$as_echo "no" >&6; }
3252fi
3253
3254
3255fi
3256if test -z "$CC"; then
3257  if test -n "$ac_tool_prefix"; then
3258  for ac_prog in cl.exe
3259  do
3260    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3261set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3262{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3263$as_echo_n "checking for $ac_word... " >&6; }
3264if ${ac_cv_prog_CC+:} false; then :
3265  $as_echo_n "(cached) " >&6
3266else
3267  if test -n "$CC"; then
3268  ac_cv_prog_CC="$CC" # Let the user override the test.
3269else
3270as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3271for as_dir in $PATH
3272do
3273  IFS=$as_save_IFS
3274  test -z "$as_dir" && as_dir=.
3275    for ac_exec_ext in '' $ac_executable_extensions; do
3276  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3277    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3278    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3279    break 2
3280  fi
3281done
3282  done
3283IFS=$as_save_IFS
3284
3285fi
3286fi
3287CC=$ac_cv_prog_CC
3288if test -n "$CC"; then
3289  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3290$as_echo "$CC" >&6; }
3291else
3292  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3293$as_echo "no" >&6; }
3294fi
3295
3296
3297    test -n "$CC" && break
3298  done
3299fi
3300if test -z "$CC"; then
3301  ac_ct_CC=$CC
3302  for ac_prog in cl.exe
3303do
3304  # Extract the first word of "$ac_prog", so it can be a program name with args.
3305set dummy $ac_prog; ac_word=$2
3306{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3307$as_echo_n "checking for $ac_word... " >&6; }
3308if ${ac_cv_prog_ac_ct_CC+:} false; then :
3309  $as_echo_n "(cached) " >&6
3310else
3311  if test -n "$ac_ct_CC"; then
3312  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3313else
3314as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3315for as_dir in $PATH
3316do
3317  IFS=$as_save_IFS
3318  test -z "$as_dir" && as_dir=.
3319    for ac_exec_ext in '' $ac_executable_extensions; do
3320  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3321    ac_cv_prog_ac_ct_CC="$ac_prog"
3322    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3323    break 2
3324  fi
3325done
3326  done
3327IFS=$as_save_IFS
3328
3329fi
3330fi
3331ac_ct_CC=$ac_cv_prog_ac_ct_CC
3332if test -n "$ac_ct_CC"; then
3333  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3334$as_echo "$ac_ct_CC" >&6; }
3335else
3336  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3337$as_echo "no" >&6; }
3338fi
3339
3340
3341  test -n "$ac_ct_CC" && break
3342done
3343
3344  if test "x$ac_ct_CC" = x; then
3345    CC=""
3346  else
3347    case $cross_compiling:$ac_tool_warned in
3348yes:)
3349{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3350$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3351ac_tool_warned=yes ;;
3352esac
3353    CC=$ac_ct_CC
3354  fi
3355fi
3356
3357fi
3358
3359
3360test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3361$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3362as_fn_error $? "no acceptable C compiler found in \$PATH
3363See \`config.log' for more details" "$LINENO" 5; }
3364
3365# Provide some information about the compiler.
3366$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3367set X $ac_compile
3368ac_compiler=$2
3369for ac_option in --version -v -V -qversion; do
3370  { { ac_try="$ac_compiler $ac_option >&5"
3371case "(($ac_try" in
3372  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3373  *) ac_try_echo=$ac_try;;
3374esac
3375eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3376$as_echo "$ac_try_echo"; } >&5
3377  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3378  ac_status=$?
3379  if test -s conftest.err; then
3380    sed '10a\
3381... rest of stderr output deleted ...
3382         10q' conftest.err >conftest.er1
3383    cat conftest.er1 >&5
3384  fi
3385  rm -f conftest.er1 conftest.err
3386  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3387  test $ac_status = 0; }
3388done
3389
3390cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3391/* end confdefs.h.  */
3392
3393int
3394main ()
3395{
3396
3397  ;
3398  return 0;
3399}
3400_ACEOF
3401ac_clean_files_save=$ac_clean_files
3402ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3403# Try to create an executable without -o first, disregard a.out.
3404# It will help us diagnose broken compilers, and finding out an intuition
3405# of exeext.
3406{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3407$as_echo_n "checking whether the C compiler works... " >&6; }
3408ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3409
3410# The possible output files:
3411ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3412
3413ac_rmfiles=
3414for ac_file in $ac_files
3415do
3416  case $ac_file in
3417    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3418    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3419  esac
3420done
3421rm -f $ac_rmfiles
3422
3423if { { ac_try="$ac_link_default"
3424case "(($ac_try" in
3425  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3426  *) ac_try_echo=$ac_try;;
3427esac
3428eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3429$as_echo "$ac_try_echo"; } >&5
3430  (eval "$ac_link_default") 2>&5
3431  ac_status=$?
3432  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3433  test $ac_status = 0; }; then :
3434  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3435# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3436# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3437# so that the user can short-circuit this test for compilers unknown to
3438# Autoconf.
3439for ac_file in $ac_files ''
3440do
3441  test -f "$ac_file" || continue
3442  case $ac_file in
3443    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3444	;;
3445    [ab].out )
3446	# We found the default executable, but exeext='' is most
3447	# certainly right.
3448	break;;
3449    *.* )
3450	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3451	then :; else
3452	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3453	fi
3454	# We set ac_cv_exeext here because the later test for it is not
3455	# safe: cross compilers may not add the suffix if given an `-o'
3456	# argument, so we may need to know it at that point already.
3457	# Even if this section looks crufty: it has the advantage of
3458	# actually working.
3459	break;;
3460    * )
3461	break;;
3462  esac
3463done
3464test "$ac_cv_exeext" = no && ac_cv_exeext=
3465
3466else
3467  ac_file=''
3468fi
3469if test -z "$ac_file"; then :
3470  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3471$as_echo "no" >&6; }
3472$as_echo "$as_me: failed program was:" >&5
3473sed 's/^/| /' conftest.$ac_ext >&5
3474
3475{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3476$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3477as_fn_error 77 "C compiler cannot create executables
3478See \`config.log' for more details" "$LINENO" 5; }
3479else
3480  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3481$as_echo "yes" >&6; }
3482fi
3483{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3484$as_echo_n "checking for C compiler default output file name... " >&6; }
3485{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3486$as_echo "$ac_file" >&6; }
3487ac_exeext=$ac_cv_exeext
3488
3489rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3490ac_clean_files=$ac_clean_files_save
3491{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3492$as_echo_n "checking for suffix of executables... " >&6; }
3493if { { ac_try="$ac_link"
3494case "(($ac_try" in
3495  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3496  *) ac_try_echo=$ac_try;;
3497esac
3498eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3499$as_echo "$ac_try_echo"; } >&5
3500  (eval "$ac_link") 2>&5
3501  ac_status=$?
3502  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3503  test $ac_status = 0; }; then :
3504  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3505# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3506# work properly (i.e., refer to `conftest.exe'), while it won't with
3507# `rm'.
3508for ac_file in conftest.exe conftest conftest.*; do
3509  test -f "$ac_file" || continue
3510  case $ac_file in
3511    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3512    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3513	  break;;
3514    * ) break;;
3515  esac
3516done
3517else
3518  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3519$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3520as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3521See \`config.log' for more details" "$LINENO" 5; }
3522fi
3523rm -f conftest conftest$ac_cv_exeext
3524{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3525$as_echo "$ac_cv_exeext" >&6; }
3526
3527rm -f conftest.$ac_ext
3528EXEEXT=$ac_cv_exeext
3529ac_exeext=$EXEEXT
3530cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3531/* end confdefs.h.  */
3532#include <stdio.h>
3533int
3534main ()
3535{
3536FILE *f = fopen ("conftest.out", "w");
3537 return ferror (f) || fclose (f) != 0;
3538
3539  ;
3540  return 0;
3541}
3542_ACEOF
3543ac_clean_files="$ac_clean_files conftest.out"
3544# Check that the compiler produces executables we can run.  If not, either
3545# the compiler is broken, or we cross compile.
3546{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3547$as_echo_n "checking whether we are cross compiling... " >&6; }
3548if test "$cross_compiling" != yes; then
3549  { { ac_try="$ac_link"
3550case "(($ac_try" in
3551  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3552  *) ac_try_echo=$ac_try;;
3553esac
3554eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3555$as_echo "$ac_try_echo"; } >&5
3556  (eval "$ac_link") 2>&5
3557  ac_status=$?
3558  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3559  test $ac_status = 0; }
3560  if { ac_try='./conftest$ac_cv_exeext'
3561  { { case "(($ac_try" in
3562  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3563  *) ac_try_echo=$ac_try;;
3564esac
3565eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3566$as_echo "$ac_try_echo"; } >&5
3567  (eval "$ac_try") 2>&5
3568  ac_status=$?
3569  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3570  test $ac_status = 0; }; }; then
3571    cross_compiling=no
3572  else
3573    if test "$cross_compiling" = maybe; then
3574	cross_compiling=yes
3575    else
3576	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3577$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3578as_fn_error $? "cannot run C compiled programs.
3579If you meant to cross compile, use \`--host'.
3580See \`config.log' for more details" "$LINENO" 5; }
3581    fi
3582  fi
3583fi
3584{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3585$as_echo "$cross_compiling" >&6; }
3586
3587rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3588ac_clean_files=$ac_clean_files_save
3589{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3590$as_echo_n "checking for suffix of object files... " >&6; }
3591if ${ac_cv_objext+:} false; then :
3592  $as_echo_n "(cached) " >&6
3593else
3594  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3595/* end confdefs.h.  */
3596
3597int
3598main ()
3599{
3600
3601  ;
3602  return 0;
3603}
3604_ACEOF
3605rm -f conftest.o conftest.obj
3606if { { ac_try="$ac_compile"
3607case "(($ac_try" in
3608  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3609  *) ac_try_echo=$ac_try;;
3610esac
3611eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3612$as_echo "$ac_try_echo"; } >&5
3613  (eval "$ac_compile") 2>&5
3614  ac_status=$?
3615  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3616  test $ac_status = 0; }; then :
3617  for ac_file in conftest.o conftest.obj conftest.*; do
3618  test -f "$ac_file" || continue;
3619  case $ac_file in
3620    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3621    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3622       break;;
3623  esac
3624done
3625else
3626  $as_echo "$as_me: failed program was:" >&5
3627sed 's/^/| /' conftest.$ac_ext >&5
3628
3629{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3630$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3631as_fn_error $? "cannot compute suffix of object files: cannot compile
3632See \`config.log' for more details" "$LINENO" 5; }
3633fi
3634rm -f conftest.$ac_cv_objext conftest.$ac_ext
3635fi
3636{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3637$as_echo "$ac_cv_objext" >&6; }
3638OBJEXT=$ac_cv_objext
3639ac_objext=$OBJEXT
3640{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3641$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3642if ${ac_cv_c_compiler_gnu+:} false; then :
3643  $as_echo_n "(cached) " >&6
3644else
3645  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3646/* end confdefs.h.  */
3647
3648int
3649main ()
3650{
3651#ifndef __GNUC__
3652       choke me
3653#endif
3654
3655  ;
3656  return 0;
3657}
3658_ACEOF
3659if ac_fn_c_try_compile "$LINENO"; then :
3660  ac_compiler_gnu=yes
3661else
3662  ac_compiler_gnu=no
3663fi
3664rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3665ac_cv_c_compiler_gnu=$ac_compiler_gnu
3666
3667fi
3668{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3669$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3670if test $ac_compiler_gnu = yes; then
3671  GCC=yes
3672else
3673  GCC=
3674fi
3675ac_test_CFLAGS=${CFLAGS+set}
3676ac_save_CFLAGS=$CFLAGS
3677{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3678$as_echo_n "checking whether $CC accepts -g... " >&6; }
3679if ${ac_cv_prog_cc_g+:} false; then :
3680  $as_echo_n "(cached) " >&6
3681else
3682  ac_save_c_werror_flag=$ac_c_werror_flag
3683   ac_c_werror_flag=yes
3684   ac_cv_prog_cc_g=no
3685   CFLAGS="-g"
3686   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3687/* end confdefs.h.  */
3688
3689int
3690main ()
3691{
3692
3693  ;
3694  return 0;
3695}
3696_ACEOF
3697if ac_fn_c_try_compile "$LINENO"; then :
3698  ac_cv_prog_cc_g=yes
3699else
3700  CFLAGS=""
3701      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3702/* end confdefs.h.  */
3703
3704int
3705main ()
3706{
3707
3708  ;
3709  return 0;
3710}
3711_ACEOF
3712if ac_fn_c_try_compile "$LINENO"; then :
3713
3714else
3715  ac_c_werror_flag=$ac_save_c_werror_flag
3716	 CFLAGS="-g"
3717	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3718/* end confdefs.h.  */
3719
3720int
3721main ()
3722{
3723
3724  ;
3725  return 0;
3726}
3727_ACEOF
3728if ac_fn_c_try_compile "$LINENO"; then :
3729  ac_cv_prog_cc_g=yes
3730fi
3731rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3732fi
3733rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3734fi
3735rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3736   ac_c_werror_flag=$ac_save_c_werror_flag
3737fi
3738{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3739$as_echo "$ac_cv_prog_cc_g" >&6; }
3740if test "$ac_test_CFLAGS" = set; then
3741  CFLAGS=$ac_save_CFLAGS
3742elif test $ac_cv_prog_cc_g = yes; then
3743  if test "$GCC" = yes; then
3744    CFLAGS="-g -O2"
3745  else
3746    CFLAGS="-g"
3747  fi
3748else
3749  if test "$GCC" = yes; then
3750    CFLAGS="-O2"
3751  else
3752    CFLAGS=
3753  fi
3754fi
3755{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3756$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3757if ${ac_cv_prog_cc_c89+:} false; then :
3758  $as_echo_n "(cached) " >&6
3759else
3760  ac_cv_prog_cc_c89=no
3761ac_save_CC=$CC
3762cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3763/* end confdefs.h.  */
3764#include <stdarg.h>
3765#include <stdio.h>
3766struct stat;
3767/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3768struct buf { int x; };
3769FILE * (*rcsopen) (struct buf *, struct stat *, int);
3770static char *e (p, i)
3771     char **p;
3772     int i;
3773{
3774  return p[i];
3775}
3776static char *f (char * (*g) (char **, int), char **p, ...)
3777{
3778  char *s;
3779  va_list v;
3780  va_start (v,p);
3781  s = g (p, va_arg (v,int));
3782  va_end (v);
3783  return s;
3784}
3785
3786/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3787   function prototypes and stuff, but not '\xHH' hex character constants.
3788   These don't provoke an error unfortunately, instead are silently treated
3789   as 'x'.  The following induces an error, until -std is added to get
3790   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3791   array size at least.  It's necessary to write '\x00'==0 to get something
3792   that's true only with -std.  */
3793int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3794
3795/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3796   inside strings and character constants.  */
3797#define FOO(x) 'x'
3798int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3799
3800int test (int i, double x);
3801struct s1 {int (*f) (int a);};
3802struct s2 {int (*f) (double a);};
3803int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3804int argc;
3805char **argv;
3806int
3807main ()
3808{
3809return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3810  ;
3811  return 0;
3812}
3813_ACEOF
3814for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3815	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3816do
3817  CC="$ac_save_CC $ac_arg"
3818  if ac_fn_c_try_compile "$LINENO"; then :
3819  ac_cv_prog_cc_c89=$ac_arg
3820fi
3821rm -f core conftest.err conftest.$ac_objext
3822  test "x$ac_cv_prog_cc_c89" != "xno" && break
3823done
3824rm -f conftest.$ac_ext
3825CC=$ac_save_CC
3826
3827fi
3828# AC_CACHE_VAL
3829case "x$ac_cv_prog_cc_c89" in
3830  x)
3831    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3832$as_echo "none needed" >&6; } ;;
3833  xno)
3834    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3835$as_echo "unsupported" >&6; } ;;
3836  *)
3837    CC="$CC $ac_cv_prog_cc_c89"
3838    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3839$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3840esac
3841if test "x$ac_cv_prog_cc_c89" != xno; then :
3842
3843fi
3844
3845ac_ext=c
3846ac_cpp='$CPP $CPPFLAGS'
3847ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3848ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3849ac_compiler_gnu=$ac_cv_c_compiler_gnu
3850
3851ac_ext=c
3852ac_cpp='$CPP $CPPFLAGS'
3853ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3854ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3855ac_compiler_gnu=$ac_cv_c_compiler_gnu
3856{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3857$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3858if ${am_cv_prog_cc_c_o+:} false; then :
3859  $as_echo_n "(cached) " >&6
3860else
3861  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3862/* end confdefs.h.  */
3863
3864int
3865main ()
3866{
3867
3868  ;
3869  return 0;
3870}
3871_ACEOF
3872  # Make sure it works both with $CC and with simple cc.
3873  # Following AC_PROG_CC_C_O, we do the test twice because some
3874  # compilers refuse to overwrite an existing .o file with -o,
3875  # though they will create one.
3876  am_cv_prog_cc_c_o=yes
3877  for am_i in 1 2; do
3878    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3879   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3880   ac_status=$?
3881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3882   (exit $ac_status); } \
3883         && test -f conftest2.$ac_objext; then
3884      : OK
3885    else
3886      am_cv_prog_cc_c_o=no
3887      break
3888    fi
3889  done
3890  rm -f core conftest*
3891  unset am_i
3892fi
3893{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3894$as_echo "$am_cv_prog_cc_c_o" >&6; }
3895if test "$am_cv_prog_cc_c_o" != yes; then
3896   # Losing compiler, so override with the script.
3897   # FIXME: It is wrong to rewrite CC.
3898   # But if we don't then we get into trouble of one sort or another.
3899   # A longer-term fix would be to have automake use am__CC in this case,
3900   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3901   CC="$am_aux_dir/compile $CC"
3902fi
3903ac_ext=c
3904ac_cpp='$CPP $CPPFLAGS'
3905ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3906ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3907ac_compiler_gnu=$ac_cv_c_compiler_gnu
3908
3909
3910depcc="$CC"   am_compiler_list=
3911
3912{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3913$as_echo_n "checking dependency style of $depcc... " >&6; }
3914if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3915  $as_echo_n "(cached) " >&6
3916else
3917  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3918  # We make a subdir and do the tests there.  Otherwise we can end up
3919  # making bogus files that we don't know about and never remove.  For
3920  # instance it was reported that on HP-UX the gcc test will end up
3921  # making a dummy file named 'D' -- because '-MD' means "put the output
3922  # in D".
3923  rm -rf conftest.dir
3924  mkdir conftest.dir
3925  # Copy depcomp to subdir because otherwise we won't find it if we're
3926  # using a relative directory.
3927  cp "$am_depcomp" conftest.dir
3928  cd conftest.dir
3929  # We will build objects and dependencies in a subdirectory because
3930  # it helps to detect inapplicable dependency modes.  For instance
3931  # both Tru64's cc and ICC support -MD to output dependencies as a
3932  # side effect of compilation, but ICC will put the dependencies in
3933  # the current directory while Tru64 will put them in the object
3934  # directory.
3935  mkdir sub
3936
3937  am_cv_CC_dependencies_compiler_type=none
3938  if test "$am_compiler_list" = ""; then
3939     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3940  fi
3941  am__universal=false
3942  case " $depcc " in #(
3943     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3944     esac
3945
3946  for depmode in $am_compiler_list; do
3947    # Setup a source with many dependencies, because some compilers
3948    # like to wrap large dependency lists on column 80 (with \), and
3949    # we should not choose a depcomp mode which is confused by this.
3950    #
3951    # We need to recreate these files for each test, as the compiler may
3952    # overwrite some of them when testing with obscure command lines.
3953    # This happens at least with the AIX C compiler.
3954    : > sub/conftest.c
3955    for i in 1 2 3 4 5 6; do
3956      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3957      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3958      # Solaris 10 /bin/sh.
3959      echo '/* dummy */' > sub/conftst$i.h
3960    done
3961    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3962
3963    # We check with '-c' and '-o' for the sake of the "dashmstdout"
3964    # mode.  It turns out that the SunPro C++ compiler does not properly
3965    # handle '-M -o', and we need to detect this.  Also, some Intel
3966    # versions had trouble with output in subdirs.
3967    am__obj=sub/conftest.${OBJEXT-o}
3968    am__minus_obj="-o $am__obj"
3969    case $depmode in
3970    gcc)
3971      # This depmode causes a compiler race in universal mode.
3972      test "$am__universal" = false || continue
3973      ;;
3974    nosideeffect)
3975      # After this tag, mechanisms are not by side-effect, so they'll
3976      # only be used when explicitly requested.
3977      if test "x$enable_dependency_tracking" = xyes; then
3978	continue
3979      else
3980	break
3981      fi
3982      ;;
3983    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3984      # This compiler won't grok '-c -o', but also, the minuso test has
3985      # not run yet.  These depmodes are late enough in the game, and
3986      # so weak that their functioning should not be impacted.
3987      am__obj=conftest.${OBJEXT-o}
3988      am__minus_obj=
3989      ;;
3990    none) break ;;
3991    esac
3992    if depmode=$depmode \
3993       source=sub/conftest.c object=$am__obj \
3994       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3995       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3996         >/dev/null 2>conftest.err &&
3997       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3998       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3999       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4000       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4001      # icc doesn't choke on unknown options, it will just issue warnings
4002      # or remarks (even with -Werror).  So we grep stderr for any message
4003      # that says an option was ignored or not supported.
4004      # When given -MP, icc 7.0 and 7.1 complain thusly:
4005      #   icc: Command line warning: ignoring option '-M'; no argument required
4006      # The diagnosis changed in icc 8.0:
4007      #   icc: Command line remark: option '-MP' not supported
4008      if (grep 'ignoring option' conftest.err ||
4009          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4010        am_cv_CC_dependencies_compiler_type=$depmode
4011        break
4012      fi
4013    fi
4014  done
4015
4016  cd ..
4017  rm -rf conftest.dir
4018else
4019  am_cv_CC_dependencies_compiler_type=none
4020fi
4021
4022fi
4023{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4024$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4025CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4026
4027 if
4028  test "x$enable_dependency_tracking" != xno \
4029  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4030  am__fastdepCC_TRUE=
4031  am__fastdepCC_FALSE='#'
4032else
4033  am__fastdepCC_TRUE='#'
4034  am__fastdepCC_FALSE=
4035fi
4036
4037
4038
4039ac_ext=c
4040ac_cpp='$CPP $CPPFLAGS'
4041ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4042ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4043ac_compiler_gnu=$ac_cv_c_compiler_gnu
4044{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4045$as_echo_n "checking how to run the C preprocessor... " >&6; }
4046# On Suns, sometimes $CPP names a directory.
4047if test -n "$CPP" && test -d "$CPP"; then
4048  CPP=
4049fi
4050if test -z "$CPP"; then
4051  if ${ac_cv_prog_CPP+:} false; then :
4052  $as_echo_n "(cached) " >&6
4053else
4054      # Double quotes because CPP needs to be expanded
4055    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4056    do
4057      ac_preproc_ok=false
4058for ac_c_preproc_warn_flag in '' yes
4059do
4060  # Use a header file that comes with gcc, so configuring glibc
4061  # with a fresh cross-compiler works.
4062  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4063  # <limits.h> exists even on freestanding compilers.
4064  # On the NeXT, cc -E runs the code through the compiler's parser,
4065  # not just through cpp. "Syntax error" is here to catch this case.
4066  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4067/* end confdefs.h.  */
4068#ifdef __STDC__
4069# include <limits.h>
4070#else
4071# include <assert.h>
4072#endif
4073		     Syntax error
4074_ACEOF
4075if ac_fn_c_try_cpp "$LINENO"; then :
4076
4077else
4078  # Broken: fails on valid input.
4079continue
4080fi
4081rm -f conftest.err conftest.i conftest.$ac_ext
4082
4083  # OK, works on sane cases.  Now check whether nonexistent headers
4084  # can be detected and how.
4085  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4086/* end confdefs.h.  */
4087#include <ac_nonexistent.h>
4088_ACEOF
4089if ac_fn_c_try_cpp "$LINENO"; then :
4090  # Broken: success on invalid input.
4091continue
4092else
4093  # Passes both tests.
4094ac_preproc_ok=:
4095break
4096fi
4097rm -f conftest.err conftest.i conftest.$ac_ext
4098
4099done
4100# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4101rm -f conftest.i conftest.err conftest.$ac_ext
4102if $ac_preproc_ok; then :
4103  break
4104fi
4105
4106    done
4107    ac_cv_prog_CPP=$CPP
4108
4109fi
4110  CPP=$ac_cv_prog_CPP
4111else
4112  ac_cv_prog_CPP=$CPP
4113fi
4114{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4115$as_echo "$CPP" >&6; }
4116ac_preproc_ok=false
4117for ac_c_preproc_warn_flag in '' yes
4118do
4119  # Use a header file that comes with gcc, so configuring glibc
4120  # with a fresh cross-compiler works.
4121  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4122  # <limits.h> exists even on freestanding compilers.
4123  # On the NeXT, cc -E runs the code through the compiler's parser,
4124  # not just through cpp. "Syntax error" is here to catch this case.
4125  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4126/* end confdefs.h.  */
4127#ifdef __STDC__
4128# include <limits.h>
4129#else
4130# include <assert.h>
4131#endif
4132		     Syntax error
4133_ACEOF
4134if ac_fn_c_try_cpp "$LINENO"; then :
4135
4136else
4137  # Broken: fails on valid input.
4138continue
4139fi
4140rm -f conftest.err conftest.i conftest.$ac_ext
4141
4142  # OK, works on sane cases.  Now check whether nonexistent headers
4143  # can be detected and how.
4144  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4145/* end confdefs.h.  */
4146#include <ac_nonexistent.h>
4147_ACEOF
4148if ac_fn_c_try_cpp "$LINENO"; then :
4149  # Broken: success on invalid input.
4150continue
4151else
4152  # Passes both tests.
4153ac_preproc_ok=:
4154break
4155fi
4156rm -f conftest.err conftest.i conftest.$ac_ext
4157
4158done
4159# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4160rm -f conftest.i conftest.err conftest.$ac_ext
4161if $ac_preproc_ok; then :
4162
4163else
4164  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4165$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4166as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4167See \`config.log' for more details" "$LINENO" 5; }
4168fi
4169
4170ac_ext=c
4171ac_cpp='$CPP $CPPFLAGS'
4172ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4173ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4174ac_compiler_gnu=$ac_cv_c_compiler_gnu
4175
4176
4177{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4178$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4179if ${ac_cv_path_GREP+:} false; then :
4180  $as_echo_n "(cached) " >&6
4181else
4182  if test -z "$GREP"; then
4183  ac_path_GREP_found=false
4184  # Loop through the user's path and test for each of PROGNAME-LIST
4185  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4186for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4187do
4188  IFS=$as_save_IFS
4189  test -z "$as_dir" && as_dir=.
4190    for ac_prog in grep ggrep; do
4191    for ac_exec_ext in '' $ac_executable_extensions; do
4192      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4193      as_fn_executable_p "$ac_path_GREP" || continue
4194# Check for GNU ac_path_GREP and select it if it is found.
4195  # Check for GNU $ac_path_GREP
4196case `"$ac_path_GREP" --version 2>&1` in
4197*GNU*)
4198  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4199*)
4200  ac_count=0
4201  $as_echo_n 0123456789 >"conftest.in"
4202  while :
4203  do
4204    cat "conftest.in" "conftest.in" >"conftest.tmp"
4205    mv "conftest.tmp" "conftest.in"
4206    cp "conftest.in" "conftest.nl"
4207    $as_echo 'GREP' >> "conftest.nl"
4208    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4209    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4210    as_fn_arith $ac_count + 1 && ac_count=$as_val
4211    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4212      # Best one so far, save it but keep looking for a better one
4213      ac_cv_path_GREP="$ac_path_GREP"
4214      ac_path_GREP_max=$ac_count
4215    fi
4216    # 10*(2^10) chars as input seems more than enough
4217    test $ac_count -gt 10 && break
4218  done
4219  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4220esac
4221
4222      $ac_path_GREP_found && break 3
4223    done
4224  done
4225  done
4226IFS=$as_save_IFS
4227  if test -z "$ac_cv_path_GREP"; then
4228    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4229  fi
4230else
4231  ac_cv_path_GREP=$GREP
4232fi
4233
4234fi
4235{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4236$as_echo "$ac_cv_path_GREP" >&6; }
4237 GREP="$ac_cv_path_GREP"
4238
4239
4240{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4241$as_echo_n "checking for egrep... " >&6; }
4242if ${ac_cv_path_EGREP+:} false; then :
4243  $as_echo_n "(cached) " >&6
4244else
4245  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4246   then ac_cv_path_EGREP="$GREP -E"
4247   else
4248     if test -z "$EGREP"; then
4249  ac_path_EGREP_found=false
4250  # Loop through the user's path and test for each of PROGNAME-LIST
4251  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4252for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4253do
4254  IFS=$as_save_IFS
4255  test -z "$as_dir" && as_dir=.
4256    for ac_prog in egrep; do
4257    for ac_exec_ext in '' $ac_executable_extensions; do
4258      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4259      as_fn_executable_p "$ac_path_EGREP" || continue
4260# Check for GNU ac_path_EGREP and select it if it is found.
4261  # Check for GNU $ac_path_EGREP
4262case `"$ac_path_EGREP" --version 2>&1` in
4263*GNU*)
4264  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4265*)
4266  ac_count=0
4267  $as_echo_n 0123456789 >"conftest.in"
4268  while :
4269  do
4270    cat "conftest.in" "conftest.in" >"conftest.tmp"
4271    mv "conftest.tmp" "conftest.in"
4272    cp "conftest.in" "conftest.nl"
4273    $as_echo 'EGREP' >> "conftest.nl"
4274    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4275    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4276    as_fn_arith $ac_count + 1 && ac_count=$as_val
4277    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4278      # Best one so far, save it but keep looking for a better one
4279      ac_cv_path_EGREP="$ac_path_EGREP"
4280      ac_path_EGREP_max=$ac_count
4281    fi
4282    # 10*(2^10) chars as input seems more than enough
4283    test $ac_count -gt 10 && break
4284  done
4285  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4286esac
4287
4288      $ac_path_EGREP_found && break 3
4289    done
4290  done
4291  done
4292IFS=$as_save_IFS
4293  if test -z "$ac_cv_path_EGREP"; then
4294    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4295  fi
4296else
4297  ac_cv_path_EGREP=$EGREP
4298fi
4299
4300   fi
4301fi
4302{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4303$as_echo "$ac_cv_path_EGREP" >&6; }
4304 EGREP="$ac_cv_path_EGREP"
4305
4306
4307{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4308$as_echo_n "checking for ANSI C header files... " >&6; }
4309if ${ac_cv_header_stdc+:} false; then :
4310  $as_echo_n "(cached) " >&6
4311else
4312  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4313/* end confdefs.h.  */
4314#include <stdlib.h>
4315#include <stdarg.h>
4316#include <string.h>
4317#include <float.h>
4318
4319int
4320main ()
4321{
4322
4323  ;
4324  return 0;
4325}
4326_ACEOF
4327if ac_fn_c_try_compile "$LINENO"; then :
4328  ac_cv_header_stdc=yes
4329else
4330  ac_cv_header_stdc=no
4331fi
4332rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4333
4334if test $ac_cv_header_stdc = yes; then
4335  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4336  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4337/* end confdefs.h.  */
4338#include <string.h>
4339
4340_ACEOF
4341if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4342  $EGREP "memchr" >/dev/null 2>&1; then :
4343
4344else
4345  ac_cv_header_stdc=no
4346fi
4347rm -f conftest*
4348
4349fi
4350
4351if test $ac_cv_header_stdc = yes; then
4352  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4353  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4354/* end confdefs.h.  */
4355#include <stdlib.h>
4356
4357_ACEOF
4358if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4359  $EGREP "free" >/dev/null 2>&1; then :
4360
4361else
4362  ac_cv_header_stdc=no
4363fi
4364rm -f conftest*
4365
4366fi
4367
4368if test $ac_cv_header_stdc = yes; then
4369  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4370  if test "$cross_compiling" = yes; then :
4371  :
4372else
4373  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4374/* end confdefs.h.  */
4375#include <ctype.h>
4376#include <stdlib.h>
4377#if ((' ' & 0x0FF) == 0x020)
4378# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4379# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4380#else
4381# define ISLOWER(c) \
4382		   (('a' <= (c) && (c) <= 'i') \
4383		     || ('j' <= (c) && (c) <= 'r') \
4384		     || ('s' <= (c) && (c) <= 'z'))
4385# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4386#endif
4387
4388#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4389int
4390main ()
4391{
4392  int i;
4393  for (i = 0; i < 256; i++)
4394    if (XOR (islower (i), ISLOWER (i))
4395	|| toupper (i) != TOUPPER (i))
4396      return 2;
4397  return 0;
4398}
4399_ACEOF
4400if ac_fn_c_try_run "$LINENO"; then :
4401
4402else
4403  ac_cv_header_stdc=no
4404fi
4405rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4406  conftest.$ac_objext conftest.beam conftest.$ac_ext
4407fi
4408
4409fi
4410fi
4411{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4412$as_echo "$ac_cv_header_stdc" >&6; }
4413if test $ac_cv_header_stdc = yes; then
4414
4415$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4416
4417fi
4418
4419# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4420for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4421		  inttypes.h stdint.h unistd.h
4422do :
4423  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4424ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4425"
4426if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4427  cat >>confdefs.h <<_ACEOF
4428#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4429_ACEOF
4430
4431fi
4432
4433done
4434
4435
4436
4437  ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4438if test "x$ac_cv_header_minix_config_h" = xyes; then :
4439  MINIX=yes
4440else
4441  MINIX=
4442fi
4443
4444
4445  if test "$MINIX" = yes; then
4446
4447$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4448
4449
4450$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4451
4452
4453$as_echo "#define _MINIX 1" >>confdefs.h
4454
4455  fi
4456
4457
4458  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4459$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4460if ${ac_cv_safe_to_define___extensions__+:} false; then :
4461  $as_echo_n "(cached) " >&6
4462else
4463  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4464/* end confdefs.h.  */
4465
4466#         define __EXTENSIONS__ 1
4467          $ac_includes_default
4468int
4469main ()
4470{
4471
4472  ;
4473  return 0;
4474}
4475_ACEOF
4476if ac_fn_c_try_compile "$LINENO"; then :
4477  ac_cv_safe_to_define___extensions__=yes
4478else
4479  ac_cv_safe_to_define___extensions__=no
4480fi
4481rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4482fi
4483{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4484$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4485  test $ac_cv_safe_to_define___extensions__ = yes &&
4486    $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4487
4488  $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4489
4490  $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4491
4492  $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4493
4494  $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4495
4496
4497case `pwd` in
4498  *\ * | *\	*)
4499    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4500$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4501esac
4502
4503
4504
4505macro_version='2.4.6'
4506macro_revision='2.4.6'
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520ltmain=$ac_aux_dir/ltmain.sh
4521
4522# Make sure we can run config.sub.
4523$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4524  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4525
4526{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4527$as_echo_n "checking build system type... " >&6; }
4528if ${ac_cv_build+:} false; then :
4529  $as_echo_n "(cached) " >&6
4530else
4531  ac_build_alias=$build_alias
4532test "x$ac_build_alias" = x &&
4533  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4534test "x$ac_build_alias" = x &&
4535  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4536ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4537  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4538
4539fi
4540{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4541$as_echo "$ac_cv_build" >&6; }
4542case $ac_cv_build in
4543*-*-*) ;;
4544*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4545esac
4546build=$ac_cv_build
4547ac_save_IFS=$IFS; IFS='-'
4548set x $ac_cv_build
4549shift
4550build_cpu=$1
4551build_vendor=$2
4552shift; shift
4553# Remember, the first character of IFS is used to create $*,
4554# except with old shells:
4555build_os=$*
4556IFS=$ac_save_IFS
4557case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4558
4559
4560{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4561$as_echo_n "checking host system type... " >&6; }
4562if ${ac_cv_host+:} false; then :
4563  $as_echo_n "(cached) " >&6
4564else
4565  if test "x$host_alias" = x; then
4566  ac_cv_host=$ac_cv_build
4567else
4568  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4569    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4570fi
4571
4572fi
4573{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4574$as_echo "$ac_cv_host" >&6; }
4575case $ac_cv_host in
4576*-*-*) ;;
4577*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4578esac
4579host=$ac_cv_host
4580ac_save_IFS=$IFS; IFS='-'
4581set x $ac_cv_host
4582shift
4583host_cpu=$1
4584host_vendor=$2
4585shift; shift
4586# Remember, the first character of IFS is used to create $*,
4587# except with old shells:
4588host_os=$*
4589IFS=$ac_save_IFS
4590case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4591
4592
4593# Backslashify metacharacters that are still active within
4594# double-quoted strings.
4595sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4596
4597# Same as above, but do not quote variable references.
4598double_quote_subst='s/\(["`\\]\)/\\\1/g'
4599
4600# Sed substitution to delay expansion of an escaped shell variable in a
4601# double_quote_subst'ed string.
4602delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4603
4604# Sed substitution to delay expansion of an escaped single quote.
4605delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4606
4607# Sed substitution to avoid accidental globbing in evaled expressions
4608no_glob_subst='s/\*/\\\*/g'
4609
4610ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4611ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4612ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4613
4614{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4615$as_echo_n "checking how to print strings... " >&6; }
4616# Test print first, because it will be a builtin if present.
4617if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4618   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4619  ECHO='print -r --'
4620elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4621  ECHO='printf %s\n'
4622else
4623  # Use this function as a fallback that always works.
4624  func_fallback_echo ()
4625  {
4626    eval 'cat <<_LTECHO_EOF
4627$1
4628_LTECHO_EOF'
4629  }
4630  ECHO='func_fallback_echo'
4631fi
4632
4633# func_echo_all arg...
4634# Invoke $ECHO with all args, space-separated.
4635func_echo_all ()
4636{
4637    $ECHO ""
4638}
4639
4640case $ECHO in
4641  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4642$as_echo "printf" >&6; } ;;
4643  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4644$as_echo "print -r" >&6; } ;;
4645  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4646$as_echo "cat" >&6; } ;;
4647esac
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4663$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4664if ${ac_cv_path_SED+:} false; then :
4665  $as_echo_n "(cached) " >&6
4666else
4667            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4668     for ac_i in 1 2 3 4 5 6 7; do
4669       ac_script="$ac_script$as_nl$ac_script"
4670     done
4671     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4672     { ac_script=; unset ac_script;}
4673     if test -z "$SED"; then
4674  ac_path_SED_found=false
4675  # Loop through the user's path and test for each of PROGNAME-LIST
4676  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4677for as_dir in $PATH
4678do
4679  IFS=$as_save_IFS
4680  test -z "$as_dir" && as_dir=.
4681    for ac_prog in sed gsed; do
4682    for ac_exec_ext in '' $ac_executable_extensions; do
4683      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4684      as_fn_executable_p "$ac_path_SED" || continue
4685# Check for GNU ac_path_SED and select it if it is found.
4686  # Check for GNU $ac_path_SED
4687case `"$ac_path_SED" --version 2>&1` in
4688*GNU*)
4689  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4690*)
4691  ac_count=0
4692  $as_echo_n 0123456789 >"conftest.in"
4693  while :
4694  do
4695    cat "conftest.in" "conftest.in" >"conftest.tmp"
4696    mv "conftest.tmp" "conftest.in"
4697    cp "conftest.in" "conftest.nl"
4698    $as_echo '' >> "conftest.nl"
4699    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4700    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4701    as_fn_arith $ac_count + 1 && ac_count=$as_val
4702    if test $ac_count -gt ${ac_path_SED_max-0}; then
4703      # Best one so far, save it but keep looking for a better one
4704      ac_cv_path_SED="$ac_path_SED"
4705      ac_path_SED_max=$ac_count
4706    fi
4707    # 10*(2^10) chars as input seems more than enough
4708    test $ac_count -gt 10 && break
4709  done
4710  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4711esac
4712
4713      $ac_path_SED_found && break 3
4714    done
4715  done
4716  done
4717IFS=$as_save_IFS
4718  if test -z "$ac_cv_path_SED"; then
4719    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4720  fi
4721else
4722  ac_cv_path_SED=$SED
4723fi
4724
4725fi
4726{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4727$as_echo "$ac_cv_path_SED" >&6; }
4728 SED="$ac_cv_path_SED"
4729  rm -f conftest.sed
4730
4731test -z "$SED" && SED=sed
4732Xsed="$SED -e 1s/^X//"
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4745$as_echo_n "checking for fgrep... " >&6; }
4746if ${ac_cv_path_FGREP+:} false; then :
4747  $as_echo_n "(cached) " >&6
4748else
4749  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4750   then ac_cv_path_FGREP="$GREP -F"
4751   else
4752     if test -z "$FGREP"; then
4753  ac_path_FGREP_found=false
4754  # Loop through the user's path and test for each of PROGNAME-LIST
4755  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4756for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4757do
4758  IFS=$as_save_IFS
4759  test -z "$as_dir" && as_dir=.
4760    for ac_prog in fgrep; do
4761    for ac_exec_ext in '' $ac_executable_extensions; do
4762      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4763      as_fn_executable_p "$ac_path_FGREP" || continue
4764# Check for GNU ac_path_FGREP and select it if it is found.
4765  # Check for GNU $ac_path_FGREP
4766case `"$ac_path_FGREP" --version 2>&1` in
4767*GNU*)
4768  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4769*)
4770  ac_count=0
4771  $as_echo_n 0123456789 >"conftest.in"
4772  while :
4773  do
4774    cat "conftest.in" "conftest.in" >"conftest.tmp"
4775    mv "conftest.tmp" "conftest.in"
4776    cp "conftest.in" "conftest.nl"
4777    $as_echo 'FGREP' >> "conftest.nl"
4778    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4779    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4780    as_fn_arith $ac_count + 1 && ac_count=$as_val
4781    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4782      # Best one so far, save it but keep looking for a better one
4783      ac_cv_path_FGREP="$ac_path_FGREP"
4784      ac_path_FGREP_max=$ac_count
4785    fi
4786    # 10*(2^10) chars as input seems more than enough
4787    test $ac_count -gt 10 && break
4788  done
4789  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4790esac
4791
4792      $ac_path_FGREP_found && break 3
4793    done
4794  done
4795  done
4796IFS=$as_save_IFS
4797  if test -z "$ac_cv_path_FGREP"; then
4798    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4799  fi
4800else
4801  ac_cv_path_FGREP=$FGREP
4802fi
4803
4804   fi
4805fi
4806{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4807$as_echo "$ac_cv_path_FGREP" >&6; }
4808 FGREP="$ac_cv_path_FGREP"
4809
4810
4811test -z "$GREP" && GREP=grep
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831# Check whether --with-gnu-ld was given.
4832if test "${with_gnu_ld+set}" = set; then :
4833  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
4834else
4835  with_gnu_ld=no
4836fi
4837
4838ac_prog=ld
4839if test yes = "$GCC"; then
4840  # Check if gcc -print-prog-name=ld gives a path.
4841  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4842$as_echo_n "checking for ld used by $CC... " >&6; }
4843  case $host in
4844  *-*-mingw*)
4845    # gcc leaves a trailing carriage return, which upsets mingw
4846    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4847  *)
4848    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4849  esac
4850  case $ac_prog in
4851    # Accept absolute paths.
4852    [\\/]* | ?:[\\/]*)
4853      re_direlt='/[^/][^/]*/\.\./'
4854      # Canonicalize the pathname of ld
4855      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4856      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4857	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4858      done
4859      test -z "$LD" && LD=$ac_prog
4860      ;;
4861  "")
4862    # If it fails, then pretend we aren't using GCC.
4863    ac_prog=ld
4864    ;;
4865  *)
4866    # If it is relative, then search for the first ld in PATH.
4867    with_gnu_ld=unknown
4868    ;;
4869  esac
4870elif test yes = "$with_gnu_ld"; then
4871  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4872$as_echo_n "checking for GNU ld... " >&6; }
4873else
4874  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4875$as_echo_n "checking for non-GNU ld... " >&6; }
4876fi
4877if ${lt_cv_path_LD+:} false; then :
4878  $as_echo_n "(cached) " >&6
4879else
4880  if test -z "$LD"; then
4881  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4882  for ac_dir in $PATH; do
4883    IFS=$lt_save_ifs
4884    test -z "$ac_dir" && ac_dir=.
4885    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4886      lt_cv_path_LD=$ac_dir/$ac_prog
4887      # Check to see if the program is GNU ld.  I'd rather use --version,
4888      # but apparently some variants of GNU ld only accept -v.
4889      # Break only if it was the GNU/non-GNU ld that we prefer.
4890      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4891      *GNU* | *'with BFD'*)
4892	test no != "$with_gnu_ld" && break
4893	;;
4894      *)
4895	test yes != "$with_gnu_ld" && break
4896	;;
4897      esac
4898    fi
4899  done
4900  IFS=$lt_save_ifs
4901else
4902  lt_cv_path_LD=$LD # Let the user override the test with a path.
4903fi
4904fi
4905
4906LD=$lt_cv_path_LD
4907if test -n "$LD"; then
4908  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4909$as_echo "$LD" >&6; }
4910else
4911  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4912$as_echo "no" >&6; }
4913fi
4914test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4915{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4916$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4917if ${lt_cv_prog_gnu_ld+:} false; then :
4918  $as_echo_n "(cached) " >&6
4919else
4920  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4921case `$LD -v 2>&1 </dev/null` in
4922*GNU* | *'with BFD'*)
4923  lt_cv_prog_gnu_ld=yes
4924  ;;
4925*)
4926  lt_cv_prog_gnu_ld=no
4927  ;;
4928esac
4929fi
4930{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4931$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4932with_gnu_ld=$lt_cv_prog_gnu_ld
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4943$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4944if ${lt_cv_path_NM+:} false; then :
4945  $as_echo_n "(cached) " >&6
4946else
4947  if test -n "$NM"; then
4948  # Let the user override the test.
4949  lt_cv_path_NM=$NM
4950else
4951  lt_nm_to_check=${ac_tool_prefix}nm
4952  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4953    lt_nm_to_check="$lt_nm_to_check nm"
4954  fi
4955  for lt_tmp_nm in $lt_nm_to_check; do
4956    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4957    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4958      IFS=$lt_save_ifs
4959      test -z "$ac_dir" && ac_dir=.
4960      tmp_nm=$ac_dir/$lt_tmp_nm
4961      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
4962	# Check to see if the nm accepts a BSD-compat flag.
4963	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
4964	#   nm: unknown option "B" ignored
4965	# Tru64's nm complains that /dev/null is an invalid object file
4966	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
4967	case $build_os in
4968	mingw*) lt_bad_file=conftest.nm/nofile ;;
4969	*) lt_bad_file=/dev/null ;;
4970	esac
4971	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
4972	*$lt_bad_file* | *'Invalid file or object type'*)
4973	  lt_cv_path_NM="$tmp_nm -B"
4974	  break 2
4975	  ;;
4976	*)
4977	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4978	  */dev/null*)
4979	    lt_cv_path_NM="$tmp_nm -p"
4980	    break 2
4981	    ;;
4982	  *)
4983	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4984	    continue # so that we can try to find one that supports BSD flags
4985	    ;;
4986	  esac
4987	  ;;
4988	esac
4989      fi
4990    done
4991    IFS=$lt_save_ifs
4992  done
4993  : ${lt_cv_path_NM=no}
4994fi
4995fi
4996{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4997$as_echo "$lt_cv_path_NM" >&6; }
4998if test no != "$lt_cv_path_NM"; then
4999  NM=$lt_cv_path_NM
5000else
5001  # Didn't find any BSD compatible name lister, look for dumpbin.
5002  if test -n "$DUMPBIN"; then :
5003    # Let the user override the test.
5004  else
5005    if test -n "$ac_tool_prefix"; then
5006  for ac_prog in dumpbin "link -dump"
5007  do
5008    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5009set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5010{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5011$as_echo_n "checking for $ac_word... " >&6; }
5012if ${ac_cv_prog_DUMPBIN+:} false; then :
5013  $as_echo_n "(cached) " >&6
5014else
5015  if test -n "$DUMPBIN"; then
5016  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5017else
5018as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5019for as_dir in $PATH
5020do
5021  IFS=$as_save_IFS
5022  test -z "$as_dir" && as_dir=.
5023    for ac_exec_ext in '' $ac_executable_extensions; do
5024  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5025    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5026    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5027    break 2
5028  fi
5029done
5030  done
5031IFS=$as_save_IFS
5032
5033fi
5034fi
5035DUMPBIN=$ac_cv_prog_DUMPBIN
5036if test -n "$DUMPBIN"; then
5037  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5038$as_echo "$DUMPBIN" >&6; }
5039else
5040  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5041$as_echo "no" >&6; }
5042fi
5043
5044
5045    test -n "$DUMPBIN" && break
5046  done
5047fi
5048if test -z "$DUMPBIN"; then
5049  ac_ct_DUMPBIN=$DUMPBIN
5050  for ac_prog in dumpbin "link -dump"
5051do
5052  # Extract the first word of "$ac_prog", so it can be a program name with args.
5053set dummy $ac_prog; ac_word=$2
5054{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5055$as_echo_n "checking for $ac_word... " >&6; }
5056if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5057  $as_echo_n "(cached) " >&6
5058else
5059  if test -n "$ac_ct_DUMPBIN"; then
5060  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5061else
5062as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5063for as_dir in $PATH
5064do
5065  IFS=$as_save_IFS
5066  test -z "$as_dir" && as_dir=.
5067    for ac_exec_ext in '' $ac_executable_extensions; do
5068  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5069    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5070    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5071    break 2
5072  fi
5073done
5074  done
5075IFS=$as_save_IFS
5076
5077fi
5078fi
5079ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5080if test -n "$ac_ct_DUMPBIN"; then
5081  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5082$as_echo "$ac_ct_DUMPBIN" >&6; }
5083else
5084  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5085$as_echo "no" >&6; }
5086fi
5087
5088
5089  test -n "$ac_ct_DUMPBIN" && break
5090done
5091
5092  if test "x$ac_ct_DUMPBIN" = x; then
5093    DUMPBIN=":"
5094  else
5095    case $cross_compiling:$ac_tool_warned in
5096yes:)
5097{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5098$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5099ac_tool_warned=yes ;;
5100esac
5101    DUMPBIN=$ac_ct_DUMPBIN
5102  fi
5103fi
5104
5105    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5106    *COFF*)
5107      DUMPBIN="$DUMPBIN -symbols -headers"
5108      ;;
5109    *)
5110      DUMPBIN=:
5111      ;;
5112    esac
5113  fi
5114
5115  if test : != "$DUMPBIN"; then
5116    NM=$DUMPBIN
5117  fi
5118fi
5119test -z "$NM" && NM=nm
5120
5121
5122
5123
5124
5125
5126{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5127$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5128if ${lt_cv_nm_interface+:} false; then :
5129  $as_echo_n "(cached) " >&6
5130else
5131  lt_cv_nm_interface="BSD nm"
5132  echo "int some_variable = 0;" > conftest.$ac_ext
5133  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5134  (eval "$ac_compile" 2>conftest.err)
5135  cat conftest.err >&5
5136  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5137  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5138  cat conftest.err >&5
5139  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5140  cat conftest.out >&5
5141  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5142    lt_cv_nm_interface="MS dumpbin"
5143  fi
5144  rm -f conftest*
5145fi
5146{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5147$as_echo "$lt_cv_nm_interface" >&6; }
5148
5149# find the maximum length of command line arguments
5150{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5151$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5152if ${lt_cv_sys_max_cmd_len+:} false; then :
5153  $as_echo_n "(cached) " >&6
5154else
5155    i=0
5156  teststring=ABCD
5157
5158  case $build_os in
5159  msdosdjgpp*)
5160    # On DJGPP, this test can blow up pretty badly due to problems in libc
5161    # (any single argument exceeding 2000 bytes causes a buffer overrun
5162    # during glob expansion).  Even if it were fixed, the result of this
5163    # check would be larger than it should be.
5164    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5165    ;;
5166
5167  gnu*)
5168    # Under GNU Hurd, this test is not required because there is
5169    # no limit to the length of command line arguments.
5170    # Libtool will interpret -1 as no limit whatsoever
5171    lt_cv_sys_max_cmd_len=-1;
5172    ;;
5173
5174  cygwin* | mingw* | cegcc*)
5175    # On Win9x/ME, this test blows up -- it succeeds, but takes
5176    # about 5 minutes as the teststring grows exponentially.
5177    # Worse, since 9x/ME are not pre-emptively multitasking,
5178    # you end up with a "frozen" computer, even though with patience
5179    # the test eventually succeeds (with a max line length of 256k).
5180    # Instead, let's just punt: use the minimum linelength reported by
5181    # all of the supported platforms: 8192 (on NT/2K/XP).
5182    lt_cv_sys_max_cmd_len=8192;
5183    ;;
5184
5185  mint*)
5186    # On MiNT this can take a long time and run out of memory.
5187    lt_cv_sys_max_cmd_len=8192;
5188    ;;
5189
5190  amigaos*)
5191    # On AmigaOS with pdksh, this test takes hours, literally.
5192    # So we just punt and use a minimum line length of 8192.
5193    lt_cv_sys_max_cmd_len=8192;
5194    ;;
5195
5196  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
5197    # This has been around since 386BSD, at least.  Likely further.
5198    if test -x /sbin/sysctl; then
5199      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5200    elif test -x /usr/sbin/sysctl; then
5201      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5202    else
5203      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
5204    fi
5205    # And add a safety zone
5206    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5207    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5208    ;;
5209
5210  interix*)
5211    # We know the value 262144 and hardcode it with a safety zone (like BSD)
5212    lt_cv_sys_max_cmd_len=196608
5213    ;;
5214
5215  os2*)
5216    # The test takes a long time on OS/2.
5217    lt_cv_sys_max_cmd_len=8192
5218    ;;
5219
5220  osf*)
5221    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5222    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5223    # nice to cause kernel panics so lets avoid the loop below.
5224    # First set a reasonable default.
5225    lt_cv_sys_max_cmd_len=16384
5226    #
5227    if test -x /sbin/sysconfig; then
5228      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5229        *1*) lt_cv_sys_max_cmd_len=-1 ;;
5230      esac
5231    fi
5232    ;;
5233  sco3.2v5*)
5234    lt_cv_sys_max_cmd_len=102400
5235    ;;
5236  sysv5* | sco5v6* | sysv4.2uw2*)
5237    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5238    if test -n "$kargmax"; then
5239      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
5240    else
5241      lt_cv_sys_max_cmd_len=32768
5242    fi
5243    ;;
5244  *)
5245    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5246    if test -n "$lt_cv_sys_max_cmd_len" && \
5247       test undefined != "$lt_cv_sys_max_cmd_len"; then
5248      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5249      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5250    else
5251      # Make teststring a little bigger before we do anything with it.
5252      # a 1K string should be a reasonable start.
5253      for i in 1 2 3 4 5 6 7 8; do
5254        teststring=$teststring$teststring
5255      done
5256      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5257      # If test is not a shell built-in, we'll probably end up computing a
5258      # maximum length that is only half of the actual maximum length, but
5259      # we can't tell.
5260      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
5261	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5262	      test 17 != "$i" # 1/2 MB should be enough
5263      do
5264        i=`expr $i + 1`
5265        teststring=$teststring$teststring
5266      done
5267      # Only check the string length outside the loop.
5268      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5269      teststring=
5270      # Add a significant safety factor because C++ compilers can tack on
5271      # massive amounts of additional arguments before passing them to the
5272      # linker.  It appears as though 1/2 is a usable value.
5273      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5274    fi
5275    ;;
5276  esac
5277
5278fi
5279
5280if test -n "$lt_cv_sys_max_cmd_len"; then
5281  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5282$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5283else
5284  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5285$as_echo "none" >&6; }
5286fi
5287max_cmd_len=$lt_cv_sys_max_cmd_len
5288
5289
5290
5291
5292
5293
5294: ${CP="cp -f"}
5295: ${MV="mv -f"}
5296: ${RM="rm -f"}
5297
5298if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5299  lt_unset=unset
5300else
5301  lt_unset=false
5302fi
5303
5304
5305
5306
5307
5308# test EBCDIC or ASCII
5309case `echo X|tr X '\101'` in
5310 A) # ASCII based system
5311    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5312  lt_SP2NL='tr \040 \012'
5313  lt_NL2SP='tr \015\012 \040\040'
5314  ;;
5315 *) # EBCDIC based system
5316  lt_SP2NL='tr \100 \n'
5317  lt_NL2SP='tr \r\n \100\100'
5318  ;;
5319esac
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5330$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5331if ${lt_cv_to_host_file_cmd+:} false; then :
5332  $as_echo_n "(cached) " >&6
5333else
5334  case $host in
5335  *-*-mingw* )
5336    case $build in
5337      *-*-mingw* ) # actually msys
5338        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5339        ;;
5340      *-*-cygwin* )
5341        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5342        ;;
5343      * ) # otherwise, assume *nix
5344        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5345        ;;
5346    esac
5347    ;;
5348  *-*-cygwin* )
5349    case $build in
5350      *-*-mingw* ) # actually msys
5351        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5352        ;;
5353      *-*-cygwin* )
5354        lt_cv_to_host_file_cmd=func_convert_file_noop
5355        ;;
5356      * ) # otherwise, assume *nix
5357        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5358        ;;
5359    esac
5360    ;;
5361  * ) # unhandled hosts (and "normal" native builds)
5362    lt_cv_to_host_file_cmd=func_convert_file_noop
5363    ;;
5364esac
5365
5366fi
5367
5368to_host_file_cmd=$lt_cv_to_host_file_cmd
5369{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5370$as_echo "$lt_cv_to_host_file_cmd" >&6; }
5371
5372
5373
5374
5375
5376{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5377$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5378if ${lt_cv_to_tool_file_cmd+:} false; then :
5379  $as_echo_n "(cached) " >&6
5380else
5381  #assume ordinary cross tools, or native build.
5382lt_cv_to_tool_file_cmd=func_convert_file_noop
5383case $host in
5384  *-*-mingw* )
5385    case $build in
5386      *-*-mingw* ) # actually msys
5387        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5388        ;;
5389    esac
5390    ;;
5391esac
5392
5393fi
5394
5395to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5396{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5397$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5398
5399
5400
5401
5402
5403{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5404$as_echo_n "checking for $LD option to reload object files... " >&6; }
5405if ${lt_cv_ld_reload_flag+:} false; then :
5406  $as_echo_n "(cached) " >&6
5407else
5408  lt_cv_ld_reload_flag='-r'
5409fi
5410{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5411$as_echo "$lt_cv_ld_reload_flag" >&6; }
5412reload_flag=$lt_cv_ld_reload_flag
5413case $reload_flag in
5414"" | " "*) ;;
5415*) reload_flag=" $reload_flag" ;;
5416esac
5417reload_cmds='$LD$reload_flag -o $output$reload_objs'
5418case $host_os in
5419  cygwin* | mingw* | pw32* | cegcc*)
5420    if test yes != "$GCC"; then
5421      reload_cmds=false
5422    fi
5423    ;;
5424  darwin*)
5425    if test yes = "$GCC"; then
5426      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5427    else
5428      reload_cmds='$LD$reload_flag -o $output$reload_objs'
5429    fi
5430    ;;
5431esac
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441if test -n "$ac_tool_prefix"; then
5442  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5443set dummy ${ac_tool_prefix}objdump; ac_word=$2
5444{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5445$as_echo_n "checking for $ac_word... " >&6; }
5446if ${ac_cv_prog_OBJDUMP+:} false; then :
5447  $as_echo_n "(cached) " >&6
5448else
5449  if test -n "$OBJDUMP"; then
5450  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5451else
5452as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5453for as_dir in $PATH
5454do
5455  IFS=$as_save_IFS
5456  test -z "$as_dir" && as_dir=.
5457    for ac_exec_ext in '' $ac_executable_extensions; do
5458  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5459    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5460    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5461    break 2
5462  fi
5463done
5464  done
5465IFS=$as_save_IFS
5466
5467fi
5468fi
5469OBJDUMP=$ac_cv_prog_OBJDUMP
5470if test -n "$OBJDUMP"; then
5471  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5472$as_echo "$OBJDUMP" >&6; }
5473else
5474  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5475$as_echo "no" >&6; }
5476fi
5477
5478
5479fi
5480if test -z "$ac_cv_prog_OBJDUMP"; then
5481  ac_ct_OBJDUMP=$OBJDUMP
5482  # Extract the first word of "objdump", so it can be a program name with args.
5483set dummy objdump; ac_word=$2
5484{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5485$as_echo_n "checking for $ac_word... " >&6; }
5486if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5487  $as_echo_n "(cached) " >&6
5488else
5489  if test -n "$ac_ct_OBJDUMP"; then
5490  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5491else
5492as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5493for as_dir in $PATH
5494do
5495  IFS=$as_save_IFS
5496  test -z "$as_dir" && as_dir=.
5497    for ac_exec_ext in '' $ac_executable_extensions; do
5498  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5499    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5500    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5501    break 2
5502  fi
5503done
5504  done
5505IFS=$as_save_IFS
5506
5507fi
5508fi
5509ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5510if test -n "$ac_ct_OBJDUMP"; then
5511  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5512$as_echo "$ac_ct_OBJDUMP" >&6; }
5513else
5514  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5515$as_echo "no" >&6; }
5516fi
5517
5518  if test "x$ac_ct_OBJDUMP" = x; then
5519    OBJDUMP="false"
5520  else
5521    case $cross_compiling:$ac_tool_warned in
5522yes:)
5523{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5524$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5525ac_tool_warned=yes ;;
5526esac
5527    OBJDUMP=$ac_ct_OBJDUMP
5528  fi
5529else
5530  OBJDUMP="$ac_cv_prog_OBJDUMP"
5531fi
5532
5533test -z "$OBJDUMP" && OBJDUMP=objdump
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5544$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5545if ${lt_cv_deplibs_check_method+:} false; then :
5546  $as_echo_n "(cached) " >&6
5547else
5548  lt_cv_file_magic_cmd='$MAGIC_CMD'
5549lt_cv_file_magic_test_file=
5550lt_cv_deplibs_check_method='unknown'
5551# Need to set the preceding variable on all platforms that support
5552# interlibrary dependencies.
5553# 'none' -- dependencies not supported.
5554# 'unknown' -- same as none, but documents that we really don't know.
5555# 'pass_all' -- all dependencies passed with no checks.
5556# 'test_compile' -- check by making test program.
5557# 'file_magic [[regex]]' -- check by looking for files in library path
5558# that responds to the $file_magic_cmd with a given extended regex.
5559# If you have 'file' or equivalent on your system and you're not sure
5560# whether 'pass_all' will *always* work, you probably want this one.
5561
5562case $host_os in
5563aix[4-9]*)
5564  lt_cv_deplibs_check_method=pass_all
5565  ;;
5566
5567beos*)
5568  lt_cv_deplibs_check_method=pass_all
5569  ;;
5570
5571bsdi[45]*)
5572  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5573  lt_cv_file_magic_cmd='/usr/bin/file -L'
5574  lt_cv_file_magic_test_file=/shlib/libc.so
5575  ;;
5576
5577cygwin*)
5578  # func_win32_libid is a shell function defined in ltmain.sh
5579  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5580  lt_cv_file_magic_cmd='func_win32_libid'
5581  ;;
5582
5583mingw* | pw32*)
5584  # Base MSYS/MinGW do not provide the 'file' command needed by
5585  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5586  # unless we find 'file', for example because we are cross-compiling.
5587  if ( file / ) >/dev/null 2>&1; then
5588    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5589    lt_cv_file_magic_cmd='func_win32_libid'
5590  else
5591    # Keep this pattern in sync with the one in func_win32_libid.
5592    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5593    lt_cv_file_magic_cmd='$OBJDUMP -f'
5594  fi
5595  ;;
5596
5597cegcc*)
5598  # use the weaker test based on 'objdump'. See mingw*.
5599  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5600  lt_cv_file_magic_cmd='$OBJDUMP -f'
5601  ;;
5602
5603darwin* | rhapsody*)
5604  lt_cv_deplibs_check_method=pass_all
5605  ;;
5606
5607freebsd* | dragonfly*)
5608  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5609    case $host_cpu in
5610    i*86 )
5611      # Not sure whether the presence of OpenBSD here was a mistake.
5612      # Let's accept both of them until this is cleared up.
5613      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5614      lt_cv_file_magic_cmd=/usr/bin/file
5615      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5616      ;;
5617    esac
5618  else
5619    lt_cv_deplibs_check_method=pass_all
5620  fi
5621  ;;
5622
5623haiku*)
5624  lt_cv_deplibs_check_method=pass_all
5625  ;;
5626
5627hpux10.20* | hpux11*)
5628  lt_cv_file_magic_cmd=/usr/bin/file
5629  case $host_cpu in
5630  ia64*)
5631    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5632    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5633    ;;
5634  hppa*64*)
5635    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]'
5636    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5637    ;;
5638  *)
5639    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5640    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5641    ;;
5642  esac
5643  ;;
5644
5645interix[3-9]*)
5646  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5647  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5648  ;;
5649
5650irix5* | irix6* | nonstopux*)
5651  case $LD in
5652  *-32|*"-32 ") libmagic=32-bit;;
5653  *-n32|*"-n32 ") libmagic=N32;;
5654  *-64|*"-64 ") libmagic=64-bit;;
5655  *) libmagic=never-match;;
5656  esac
5657  lt_cv_deplibs_check_method=pass_all
5658  ;;
5659
5660# This must be glibc/ELF.
5661linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5662  lt_cv_deplibs_check_method=pass_all
5663  ;;
5664
5665netbsd*)
5666  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5667    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5668  else
5669    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5670  fi
5671  ;;
5672
5673newos6*)
5674  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5675  lt_cv_file_magic_cmd=/usr/bin/file
5676  lt_cv_file_magic_test_file=/usr/lib/libnls.so
5677  ;;
5678
5679*nto* | *qnx*)
5680  lt_cv_deplibs_check_method=pass_all
5681  ;;
5682
5683openbsd* | bitrig*)
5684  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5685    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5686  else
5687    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5688  fi
5689  ;;
5690
5691osf3* | osf4* | osf5*)
5692  lt_cv_deplibs_check_method=pass_all
5693  ;;
5694
5695rdos*)
5696  lt_cv_deplibs_check_method=pass_all
5697  ;;
5698
5699solaris*)
5700  lt_cv_deplibs_check_method=pass_all
5701  ;;
5702
5703sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5704  lt_cv_deplibs_check_method=pass_all
5705  ;;
5706
5707sysv4 | sysv4.3*)
5708  case $host_vendor in
5709  motorola)
5710    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]'
5711    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5712    ;;
5713  ncr)
5714    lt_cv_deplibs_check_method=pass_all
5715    ;;
5716  sequent)
5717    lt_cv_file_magic_cmd='/bin/file'
5718    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5719    ;;
5720  sni)
5721    lt_cv_file_magic_cmd='/bin/file'
5722    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5723    lt_cv_file_magic_test_file=/lib/libc.so
5724    ;;
5725  siemens)
5726    lt_cv_deplibs_check_method=pass_all
5727    ;;
5728  pc)
5729    lt_cv_deplibs_check_method=pass_all
5730    ;;
5731  esac
5732  ;;
5733
5734tpf*)
5735  lt_cv_deplibs_check_method=pass_all
5736  ;;
5737os2*)
5738  lt_cv_deplibs_check_method=pass_all
5739  ;;
5740esac
5741
5742fi
5743{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5744$as_echo "$lt_cv_deplibs_check_method" >&6; }
5745
5746file_magic_glob=
5747want_nocaseglob=no
5748if test "$build" = "$host"; then
5749  case $host_os in
5750  mingw* | pw32*)
5751    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5752      want_nocaseglob=yes
5753    else
5754      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5755    fi
5756    ;;
5757  esac
5758fi
5759
5760file_magic_cmd=$lt_cv_file_magic_cmd
5761deplibs_check_method=$lt_cv_deplibs_check_method
5762test -z "$deplibs_check_method" && deplibs_check_method=unknown
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785if test -n "$ac_tool_prefix"; then
5786  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5787set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5788{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5789$as_echo_n "checking for $ac_word... " >&6; }
5790if ${ac_cv_prog_DLLTOOL+:} false; then :
5791  $as_echo_n "(cached) " >&6
5792else
5793  if test -n "$DLLTOOL"; then
5794  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5795else
5796as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5797for as_dir in $PATH
5798do
5799  IFS=$as_save_IFS
5800  test -z "$as_dir" && as_dir=.
5801    for ac_exec_ext in '' $ac_executable_extensions; do
5802  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5803    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5804    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5805    break 2
5806  fi
5807done
5808  done
5809IFS=$as_save_IFS
5810
5811fi
5812fi
5813DLLTOOL=$ac_cv_prog_DLLTOOL
5814if test -n "$DLLTOOL"; then
5815  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5816$as_echo "$DLLTOOL" >&6; }
5817else
5818  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5819$as_echo "no" >&6; }
5820fi
5821
5822
5823fi
5824if test -z "$ac_cv_prog_DLLTOOL"; then
5825  ac_ct_DLLTOOL=$DLLTOOL
5826  # Extract the first word of "dlltool", so it can be a program name with args.
5827set dummy dlltool; ac_word=$2
5828{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5829$as_echo_n "checking for $ac_word... " >&6; }
5830if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5831  $as_echo_n "(cached) " >&6
5832else
5833  if test -n "$ac_ct_DLLTOOL"; then
5834  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5835else
5836as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5837for as_dir in $PATH
5838do
5839  IFS=$as_save_IFS
5840  test -z "$as_dir" && as_dir=.
5841    for ac_exec_ext in '' $ac_executable_extensions; do
5842  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5843    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5844    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5845    break 2
5846  fi
5847done
5848  done
5849IFS=$as_save_IFS
5850
5851fi
5852fi
5853ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5854if test -n "$ac_ct_DLLTOOL"; then
5855  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5856$as_echo "$ac_ct_DLLTOOL" >&6; }
5857else
5858  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5859$as_echo "no" >&6; }
5860fi
5861
5862  if test "x$ac_ct_DLLTOOL" = x; then
5863    DLLTOOL="false"
5864  else
5865    case $cross_compiling:$ac_tool_warned in
5866yes:)
5867{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5868$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5869ac_tool_warned=yes ;;
5870esac
5871    DLLTOOL=$ac_ct_DLLTOOL
5872  fi
5873else
5874  DLLTOOL="$ac_cv_prog_DLLTOOL"
5875fi
5876
5877test -z "$DLLTOOL" && DLLTOOL=dlltool
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5889$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5890if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5891  $as_echo_n "(cached) " >&6
5892else
5893  lt_cv_sharedlib_from_linklib_cmd='unknown'
5894
5895case $host_os in
5896cygwin* | mingw* | pw32* | cegcc*)
5897  # two different shell functions defined in ltmain.sh;
5898  # decide which one to use based on capabilities of $DLLTOOL
5899  case `$DLLTOOL --help 2>&1` in
5900  *--identify-strict*)
5901    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5902    ;;
5903  *)
5904    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5905    ;;
5906  esac
5907  ;;
5908*)
5909  # fallback: assume linklib IS sharedlib
5910  lt_cv_sharedlib_from_linklib_cmd=$ECHO
5911  ;;
5912esac
5913
5914fi
5915{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5916$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5917sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5918test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5919
5920
5921
5922
5923
5924
5925
5926if test -n "$ac_tool_prefix"; then
5927  for ac_prog in ar
5928  do
5929    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5930set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5931{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5932$as_echo_n "checking for $ac_word... " >&6; }
5933if ${ac_cv_prog_AR+:} false; then :
5934  $as_echo_n "(cached) " >&6
5935else
5936  if test -n "$AR"; then
5937  ac_cv_prog_AR="$AR" # Let the user override the test.
5938else
5939as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5940for as_dir in $PATH
5941do
5942  IFS=$as_save_IFS
5943  test -z "$as_dir" && as_dir=.
5944    for ac_exec_ext in '' $ac_executable_extensions; do
5945  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5946    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5947    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5948    break 2
5949  fi
5950done
5951  done
5952IFS=$as_save_IFS
5953
5954fi
5955fi
5956AR=$ac_cv_prog_AR
5957if test -n "$AR"; then
5958  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5959$as_echo "$AR" >&6; }
5960else
5961  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5962$as_echo "no" >&6; }
5963fi
5964
5965
5966    test -n "$AR" && break
5967  done
5968fi
5969if test -z "$AR"; then
5970  ac_ct_AR=$AR
5971  for ac_prog in ar
5972do
5973  # Extract the first word of "$ac_prog", so it can be a program name with args.
5974set dummy $ac_prog; ac_word=$2
5975{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5976$as_echo_n "checking for $ac_word... " >&6; }
5977if ${ac_cv_prog_ac_ct_AR+:} false; then :
5978  $as_echo_n "(cached) " >&6
5979else
5980  if test -n "$ac_ct_AR"; then
5981  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5982else
5983as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5984for as_dir in $PATH
5985do
5986  IFS=$as_save_IFS
5987  test -z "$as_dir" && as_dir=.
5988    for ac_exec_ext in '' $ac_executable_extensions; do
5989  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5990    ac_cv_prog_ac_ct_AR="$ac_prog"
5991    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5992    break 2
5993  fi
5994done
5995  done
5996IFS=$as_save_IFS
5997
5998fi
5999fi
6000ac_ct_AR=$ac_cv_prog_ac_ct_AR
6001if test -n "$ac_ct_AR"; then
6002  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6003$as_echo "$ac_ct_AR" >&6; }
6004else
6005  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6006$as_echo "no" >&6; }
6007fi
6008
6009
6010  test -n "$ac_ct_AR" && break
6011done
6012
6013  if test "x$ac_ct_AR" = x; then
6014    AR="false"
6015  else
6016    case $cross_compiling:$ac_tool_warned in
6017yes:)
6018{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6019$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6020ac_tool_warned=yes ;;
6021esac
6022    AR=$ac_ct_AR
6023  fi
6024fi
6025
6026: ${AR=ar}
6027: ${AR_FLAGS=cru}
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6040$as_echo_n "checking for archiver @FILE support... " >&6; }
6041if ${lt_cv_ar_at_file+:} false; then :
6042  $as_echo_n "(cached) " >&6
6043else
6044  lt_cv_ar_at_file=no
6045   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6046/* end confdefs.h.  */
6047
6048int
6049main ()
6050{
6051
6052  ;
6053  return 0;
6054}
6055_ACEOF
6056if ac_fn_c_try_compile "$LINENO"; then :
6057  echo conftest.$ac_objext > conftest.lst
6058      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6059      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6060  (eval $lt_ar_try) 2>&5
6061  ac_status=$?
6062  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6063  test $ac_status = 0; }
6064      if test 0 -eq "$ac_status"; then
6065	# Ensure the archiver fails upon bogus file names.
6066	rm -f conftest.$ac_objext libconftest.a
6067	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6068  (eval $lt_ar_try) 2>&5
6069  ac_status=$?
6070  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6071  test $ac_status = 0; }
6072	if test 0 -ne "$ac_status"; then
6073          lt_cv_ar_at_file=@
6074        fi
6075      fi
6076      rm -f conftest.* libconftest.a
6077
6078fi
6079rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6080
6081fi
6082{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6083$as_echo "$lt_cv_ar_at_file" >&6; }
6084
6085if test no = "$lt_cv_ar_at_file"; then
6086  archiver_list_spec=
6087else
6088  archiver_list_spec=$lt_cv_ar_at_file
6089fi
6090
6091
6092
6093
6094
6095
6096
6097if test -n "$ac_tool_prefix"; then
6098  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6099set dummy ${ac_tool_prefix}strip; ac_word=$2
6100{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6101$as_echo_n "checking for $ac_word... " >&6; }
6102if ${ac_cv_prog_STRIP+:} false; then :
6103  $as_echo_n "(cached) " >&6
6104else
6105  if test -n "$STRIP"; then
6106  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6107else
6108as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6109for as_dir in $PATH
6110do
6111  IFS=$as_save_IFS
6112  test -z "$as_dir" && as_dir=.
6113    for ac_exec_ext in '' $ac_executable_extensions; do
6114  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6115    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6116    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6117    break 2
6118  fi
6119done
6120  done
6121IFS=$as_save_IFS
6122
6123fi
6124fi
6125STRIP=$ac_cv_prog_STRIP
6126if test -n "$STRIP"; then
6127  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6128$as_echo "$STRIP" >&6; }
6129else
6130  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6131$as_echo "no" >&6; }
6132fi
6133
6134
6135fi
6136if test -z "$ac_cv_prog_STRIP"; then
6137  ac_ct_STRIP=$STRIP
6138  # Extract the first word of "strip", so it can be a program name with args.
6139set dummy strip; ac_word=$2
6140{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6141$as_echo_n "checking for $ac_word... " >&6; }
6142if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6143  $as_echo_n "(cached) " >&6
6144else
6145  if test -n "$ac_ct_STRIP"; then
6146  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6147else
6148as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6149for as_dir in $PATH
6150do
6151  IFS=$as_save_IFS
6152  test -z "$as_dir" && as_dir=.
6153    for ac_exec_ext in '' $ac_executable_extensions; do
6154  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6155    ac_cv_prog_ac_ct_STRIP="strip"
6156    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6157    break 2
6158  fi
6159done
6160  done
6161IFS=$as_save_IFS
6162
6163fi
6164fi
6165ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6166if test -n "$ac_ct_STRIP"; then
6167  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6168$as_echo "$ac_ct_STRIP" >&6; }
6169else
6170  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6171$as_echo "no" >&6; }
6172fi
6173
6174  if test "x$ac_ct_STRIP" = x; then
6175    STRIP=":"
6176  else
6177    case $cross_compiling:$ac_tool_warned in
6178yes:)
6179{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6180$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6181ac_tool_warned=yes ;;
6182esac
6183    STRIP=$ac_ct_STRIP
6184  fi
6185else
6186  STRIP="$ac_cv_prog_STRIP"
6187fi
6188
6189test -z "$STRIP" && STRIP=:
6190
6191
6192
6193
6194
6195
6196if test -n "$ac_tool_prefix"; then
6197  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6198set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6199{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6200$as_echo_n "checking for $ac_word... " >&6; }
6201if ${ac_cv_prog_RANLIB+:} false; then :
6202  $as_echo_n "(cached) " >&6
6203else
6204  if test -n "$RANLIB"; then
6205  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6206else
6207as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6208for as_dir in $PATH
6209do
6210  IFS=$as_save_IFS
6211  test -z "$as_dir" && as_dir=.
6212    for ac_exec_ext in '' $ac_executable_extensions; do
6213  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6214    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6215    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6216    break 2
6217  fi
6218done
6219  done
6220IFS=$as_save_IFS
6221
6222fi
6223fi
6224RANLIB=$ac_cv_prog_RANLIB
6225if test -n "$RANLIB"; then
6226  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6227$as_echo "$RANLIB" >&6; }
6228else
6229  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6230$as_echo "no" >&6; }
6231fi
6232
6233
6234fi
6235if test -z "$ac_cv_prog_RANLIB"; then
6236  ac_ct_RANLIB=$RANLIB
6237  # Extract the first word of "ranlib", so it can be a program name with args.
6238set dummy ranlib; ac_word=$2
6239{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6240$as_echo_n "checking for $ac_word... " >&6; }
6241if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6242  $as_echo_n "(cached) " >&6
6243else
6244  if test -n "$ac_ct_RANLIB"; then
6245  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6246else
6247as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6248for as_dir in $PATH
6249do
6250  IFS=$as_save_IFS
6251  test -z "$as_dir" && as_dir=.
6252    for ac_exec_ext in '' $ac_executable_extensions; do
6253  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6254    ac_cv_prog_ac_ct_RANLIB="ranlib"
6255    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6256    break 2
6257  fi
6258done
6259  done
6260IFS=$as_save_IFS
6261
6262fi
6263fi
6264ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6265if test -n "$ac_ct_RANLIB"; then
6266  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6267$as_echo "$ac_ct_RANLIB" >&6; }
6268else
6269  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6270$as_echo "no" >&6; }
6271fi
6272
6273  if test "x$ac_ct_RANLIB" = x; then
6274    RANLIB=":"
6275  else
6276    case $cross_compiling:$ac_tool_warned in
6277yes:)
6278{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6279$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6280ac_tool_warned=yes ;;
6281esac
6282    RANLIB=$ac_ct_RANLIB
6283  fi
6284else
6285  RANLIB="$ac_cv_prog_RANLIB"
6286fi
6287
6288test -z "$RANLIB" && RANLIB=:
6289
6290
6291
6292
6293
6294
6295# Determine commands to create old-style static archives.
6296old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6297old_postinstall_cmds='chmod 644 $oldlib'
6298old_postuninstall_cmds=
6299
6300if test -n "$RANLIB"; then
6301  case $host_os in
6302  bitrig* | openbsd*)
6303    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6304    ;;
6305  *)
6306    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6307    ;;
6308  esac
6309  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6310fi
6311
6312case $host_os in
6313  darwin*)
6314    lock_old_archive_extraction=yes ;;
6315  *)
6316    lock_old_archive_extraction=no ;;
6317esac
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357# If no C compiler was specified, use CC.
6358LTCC=${LTCC-"$CC"}
6359
6360# If no C compiler flags were specified, use CFLAGS.
6361LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6362
6363# Allow CC to be a program name with arguments.
6364compiler=$CC
6365
6366
6367# Check for command to grab the raw symbol name followed by C symbol from nm.
6368{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6369$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6370if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6371  $as_echo_n "(cached) " >&6
6372else
6373
6374# These are sane defaults that work on at least a few old systems.
6375# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6376
6377# Character class describing NM global symbol codes.
6378symcode='[BCDEGRST]'
6379
6380# Regexp to match symbols that can be accessed directly from C.
6381sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6382
6383# Define system-specific variables.
6384case $host_os in
6385aix*)
6386  symcode='[BCDT]'
6387  ;;
6388cygwin* | mingw* | pw32* | cegcc*)
6389  symcode='[ABCDGISTW]'
6390  ;;
6391hpux*)
6392  if test ia64 = "$host_cpu"; then
6393    symcode='[ABCDEGRST]'
6394  fi
6395  ;;
6396irix* | nonstopux*)
6397  symcode='[BCDEGRST]'
6398  ;;
6399osf*)
6400  symcode='[BCDEGQRST]'
6401  ;;
6402solaris*)
6403  symcode='[BDRT]'
6404  ;;
6405sco3.2v5*)
6406  symcode='[DT]'
6407  ;;
6408sysv4.2uw2*)
6409  symcode='[DT]'
6410  ;;
6411sysv5* | sco5v6* | unixware* | OpenUNIX*)
6412  symcode='[ABDT]'
6413  ;;
6414sysv4)
6415  symcode='[DFNSTU]'
6416  ;;
6417esac
6418
6419# If we're using GNU nm, then use its standard symbol codes.
6420case `$NM -V 2>&1` in
6421*GNU* | *'with BFD'*)
6422  symcode='[ABCDGIRSTW]' ;;
6423esac
6424
6425if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6426  # Gets list of data symbols to import.
6427  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6428  # Adjust the below global symbol transforms to fixup imported variables.
6429  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6430  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
6431  lt_c_name_lib_hook="\
6432  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
6433  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
6434else
6435  # Disable hooks by default.
6436  lt_cv_sys_global_symbol_to_import=
6437  lt_cdecl_hook=
6438  lt_c_name_hook=
6439  lt_c_name_lib_hook=
6440fi
6441
6442# Transform an extracted symbol line into a proper C declaration.
6443# Some systems (esp. on ia64) link data and code symbols differently,
6444# so use this general approach.
6445lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6446$lt_cdecl_hook\
6447" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6448" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6449
6450# Transform an extracted symbol line into symbol name and symbol address
6451lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6452$lt_c_name_hook\
6453" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
6454" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
6455
6456# Transform an extracted symbol line into symbol name with lib prefix and
6457# symbol address.
6458lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6459$lt_c_name_lib_hook\
6460" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
6461" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
6462" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
6463
6464# Handle CRLF in mingw tool chain
6465opt_cr=
6466case $build_os in
6467mingw*)
6468  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6469  ;;
6470esac
6471
6472# Try without a prefix underscore, then with it.
6473for ac_symprfx in "" "_"; do
6474
6475  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6476  symxfrm="\\1 $ac_symprfx\\2 \\2"
6477
6478  # Write the raw and C identifiers.
6479  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6480    # Fake it for dumpbin and say T for any non-static function,
6481    # D for any global variable and I for any imported variable.
6482    # Also find C++ and __fastcall symbols from MSVC++,
6483    # which start with @ or ?.
6484    lt_cv_sys_global_symbol_pipe="$AWK '"\
6485"     {last_section=section; section=\$ 3};"\
6486"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6487"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6488"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
6489"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
6490"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
6491"     \$ 0!~/External *\|/{next};"\
6492"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6493"     {if(hide[section]) next};"\
6494"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
6495"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
6496"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
6497"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
6498"     ' prfx=^$ac_symprfx"
6499  else
6500    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6501  fi
6502  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6503
6504  # Check to see that the pipe works correctly.
6505  pipe_works=no
6506
6507  rm -f conftest*
6508  cat > conftest.$ac_ext <<_LT_EOF
6509#ifdef __cplusplus
6510extern "C" {
6511#endif
6512char nm_test_var;
6513void nm_test_func(void);
6514void nm_test_func(void){}
6515#ifdef __cplusplus
6516}
6517#endif
6518int main(){nm_test_var='a';nm_test_func();return(0);}
6519_LT_EOF
6520
6521  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6522  (eval $ac_compile) 2>&5
6523  ac_status=$?
6524  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6525  test $ac_status = 0; }; then
6526    # Now try to grab the symbols.
6527    nlist=conftest.nm
6528    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6529  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6530  ac_status=$?
6531  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6532  test $ac_status = 0; } && test -s "$nlist"; then
6533      # Try sorting and uniquifying the output.
6534      if sort "$nlist" | uniq > "$nlist"T; then
6535	mv -f "$nlist"T "$nlist"
6536      else
6537	rm -f "$nlist"T
6538      fi
6539
6540      # Make sure that we snagged all the symbols we need.
6541      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6542	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6543	  cat <<_LT_EOF > conftest.$ac_ext
6544/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6545#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
6546/* DATA imports from DLLs on WIN32 can't be const, because runtime
6547   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6548# define LT_DLSYM_CONST
6549#elif defined __osf__
6550/* This system does not cope well with relocations in const data.  */
6551# define LT_DLSYM_CONST
6552#else
6553# define LT_DLSYM_CONST const
6554#endif
6555
6556#ifdef __cplusplus
6557extern "C" {
6558#endif
6559
6560_LT_EOF
6561	  # Now generate the symbol file.
6562	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6563
6564	  cat <<_LT_EOF >> conftest.$ac_ext
6565
6566/* The mapping between symbol names and symbols.  */
6567LT_DLSYM_CONST struct {
6568  const char *name;
6569  void       *address;
6570}
6571lt__PROGRAM__LTX_preloaded_symbols[] =
6572{
6573  { "@PROGRAM@", (void *) 0 },
6574_LT_EOF
6575	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6576	  cat <<\_LT_EOF >> conftest.$ac_ext
6577  {0, (void *) 0}
6578};
6579
6580/* This works around a problem in FreeBSD linker */
6581#ifdef FREEBSD_WORKAROUND
6582static const void *lt_preloaded_setup() {
6583  return lt__PROGRAM__LTX_preloaded_symbols;
6584}
6585#endif
6586
6587#ifdef __cplusplus
6588}
6589#endif
6590_LT_EOF
6591	  # Now try linking the two files.
6592	  mv conftest.$ac_objext conftstm.$ac_objext
6593	  lt_globsym_save_LIBS=$LIBS
6594	  lt_globsym_save_CFLAGS=$CFLAGS
6595	  LIBS=conftstm.$ac_objext
6596	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6597	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6598  (eval $ac_link) 2>&5
6599  ac_status=$?
6600  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6601  test $ac_status = 0; } && test -s conftest$ac_exeext; then
6602	    pipe_works=yes
6603	  fi
6604	  LIBS=$lt_globsym_save_LIBS
6605	  CFLAGS=$lt_globsym_save_CFLAGS
6606	else
6607	  echo "cannot find nm_test_func in $nlist" >&5
6608	fi
6609      else
6610	echo "cannot find nm_test_var in $nlist" >&5
6611      fi
6612    else
6613      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6614    fi
6615  else
6616    echo "$progname: failed program was:" >&5
6617    cat conftest.$ac_ext >&5
6618  fi
6619  rm -rf conftest* conftst*
6620
6621  # Do not use the global_symbol_pipe unless it works.
6622  if test yes = "$pipe_works"; then
6623    break
6624  else
6625    lt_cv_sys_global_symbol_pipe=
6626  fi
6627done
6628
6629fi
6630
6631if test -z "$lt_cv_sys_global_symbol_pipe"; then
6632  lt_cv_sys_global_symbol_to_cdecl=
6633fi
6634if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6635  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6636$as_echo "failed" >&6; }
6637else
6638  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6639$as_echo "ok" >&6; }
6640fi
6641
6642# Response file support.
6643if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6644  nm_file_list_spec='@'
6645elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6646  nm_file_list_spec='@'
6647fi
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6686$as_echo_n "checking for sysroot... " >&6; }
6687
6688# Check whether --with-sysroot was given.
6689if test "${with_sysroot+set}" = set; then :
6690  withval=$with_sysroot;
6691else
6692  with_sysroot=no
6693fi
6694
6695
6696lt_sysroot=
6697case $with_sysroot in #(
6698 yes)
6699   if test yes = "$GCC"; then
6700     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6701   fi
6702   ;; #(
6703 /*)
6704   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6705   ;; #(
6706 no|'')
6707   ;; #(
6708 *)
6709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
6710$as_echo "$with_sysroot" >&6; }
6711   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6712   ;;
6713esac
6714
6715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6716$as_echo "${lt_sysroot:-no}" >&6; }
6717
6718
6719
6720
6721
6722{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
6723$as_echo_n "checking for a working dd... " >&6; }
6724if ${ac_cv_path_lt_DD+:} false; then :
6725  $as_echo_n "(cached) " >&6
6726else
6727  printf 0123456789abcdef0123456789abcdef >conftest.i
6728cat conftest.i conftest.i >conftest2.i
6729: ${lt_DD:=$DD}
6730if test -z "$lt_DD"; then
6731  ac_path_lt_DD_found=false
6732  # Loop through the user's path and test for each of PROGNAME-LIST
6733  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6734for as_dir in $PATH
6735do
6736  IFS=$as_save_IFS
6737  test -z "$as_dir" && as_dir=.
6738    for ac_prog in dd; do
6739    for ac_exec_ext in '' $ac_executable_extensions; do
6740      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
6741      as_fn_executable_p "$ac_path_lt_DD" || continue
6742if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6743  cmp -s conftest.i conftest.out \
6744  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
6745fi
6746      $ac_path_lt_DD_found && break 3
6747    done
6748  done
6749  done
6750IFS=$as_save_IFS
6751  if test -z "$ac_cv_path_lt_DD"; then
6752    :
6753  fi
6754else
6755  ac_cv_path_lt_DD=$lt_DD
6756fi
6757
6758rm -f conftest.i conftest2.i conftest.out
6759fi
6760{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
6761$as_echo "$ac_cv_path_lt_DD" >&6; }
6762
6763
6764{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
6765$as_echo_n "checking how to truncate binary pipes... " >&6; }
6766if ${lt_cv_truncate_bin+:} false; then :
6767  $as_echo_n "(cached) " >&6
6768else
6769  printf 0123456789abcdef0123456789abcdef >conftest.i
6770cat conftest.i conftest.i >conftest2.i
6771lt_cv_truncate_bin=
6772if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6773  cmp -s conftest.i conftest.out \
6774  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
6775fi
6776rm -f conftest.i conftest2.i conftest.out
6777test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
6778fi
6779{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
6780$as_echo "$lt_cv_truncate_bin" >&6; }
6781
6782
6783
6784
6785
6786
6787
6788# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
6789func_cc_basename ()
6790{
6791    for cc_temp in $*""; do
6792      case $cc_temp in
6793        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6794        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6795        \-*) ;;
6796        *) break;;
6797      esac
6798    done
6799    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
6800}
6801
6802# Check whether --enable-libtool-lock was given.
6803if test "${enable_libtool_lock+set}" = set; then :
6804  enableval=$enable_libtool_lock;
6805fi
6806
6807test no = "$enable_libtool_lock" || enable_libtool_lock=yes
6808
6809# Some flags need to be propagated to the compiler or linker for good
6810# libtool support.
6811case $host in
6812ia64-*-hpux*)
6813  # Find out what ABI is being produced by ac_compile, and set mode
6814  # options accordingly.
6815  echo 'int i;' > conftest.$ac_ext
6816  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6817  (eval $ac_compile) 2>&5
6818  ac_status=$?
6819  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6820  test $ac_status = 0; }; then
6821    case `/usr/bin/file conftest.$ac_objext` in
6822      *ELF-32*)
6823	HPUX_IA64_MODE=32
6824	;;
6825      *ELF-64*)
6826	HPUX_IA64_MODE=64
6827	;;
6828    esac
6829  fi
6830  rm -rf conftest*
6831  ;;
6832*-*-irix6*)
6833  # Find out what ABI is being produced by ac_compile, and set linker
6834  # options accordingly.
6835  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6836  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6837  (eval $ac_compile) 2>&5
6838  ac_status=$?
6839  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6840  test $ac_status = 0; }; then
6841    if test yes = "$lt_cv_prog_gnu_ld"; then
6842      case `/usr/bin/file conftest.$ac_objext` in
6843	*32-bit*)
6844	  LD="${LD-ld} -melf32bsmip"
6845	  ;;
6846	*N32*)
6847	  LD="${LD-ld} -melf32bmipn32"
6848	  ;;
6849	*64-bit*)
6850	  LD="${LD-ld} -melf64bmip"
6851	;;
6852      esac
6853    else
6854      case `/usr/bin/file conftest.$ac_objext` in
6855	*32-bit*)
6856	  LD="${LD-ld} -32"
6857	  ;;
6858	*N32*)
6859	  LD="${LD-ld} -n32"
6860	  ;;
6861	*64-bit*)
6862	  LD="${LD-ld} -64"
6863	  ;;
6864      esac
6865    fi
6866  fi
6867  rm -rf conftest*
6868  ;;
6869
6870mips64*-*linux*)
6871  # Find out what ABI is being produced by ac_compile, and set linker
6872  # options accordingly.
6873  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6874  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6875  (eval $ac_compile) 2>&5
6876  ac_status=$?
6877  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6878  test $ac_status = 0; }; then
6879    emul=elf
6880    case `/usr/bin/file conftest.$ac_objext` in
6881      *32-bit*)
6882	emul="${emul}32"
6883	;;
6884      *64-bit*)
6885	emul="${emul}64"
6886	;;
6887    esac
6888    case `/usr/bin/file conftest.$ac_objext` in
6889      *MSB*)
6890	emul="${emul}btsmip"
6891	;;
6892      *LSB*)
6893	emul="${emul}ltsmip"
6894	;;
6895    esac
6896    case `/usr/bin/file conftest.$ac_objext` in
6897      *N32*)
6898	emul="${emul}n32"
6899	;;
6900    esac
6901    LD="${LD-ld} -m $emul"
6902  fi
6903  rm -rf conftest*
6904  ;;
6905
6906x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6907s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6908  # Find out what ABI is being produced by ac_compile, and set linker
6909  # options accordingly.  Note that the listed cases only cover the
6910  # situations where additional linker options are needed (such as when
6911  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
6912  # vice versa); the common cases where no linker options are needed do
6913  # not appear in the list.
6914  echo 'int i;' > conftest.$ac_ext
6915  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6916  (eval $ac_compile) 2>&5
6917  ac_status=$?
6918  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6919  test $ac_status = 0; }; then
6920    case `/usr/bin/file conftest.o` in
6921      *32-bit*)
6922	case $host in
6923	  x86_64-*kfreebsd*-gnu)
6924	    LD="${LD-ld} -m elf_i386_fbsd"
6925	    ;;
6926	  x86_64-*linux*)
6927	    case `/usr/bin/file conftest.o` in
6928	      *x86-64*)
6929		LD="${LD-ld} -m elf32_x86_64"
6930		;;
6931	      *)
6932		LD="${LD-ld} -m elf_i386"
6933		;;
6934	    esac
6935	    ;;
6936	  powerpc64le-*linux*)
6937	    LD="${LD-ld} -m elf32lppclinux"
6938	    ;;
6939	  powerpc64-*linux*)
6940	    LD="${LD-ld} -m elf32ppclinux"
6941	    ;;
6942	  s390x-*linux*)
6943	    LD="${LD-ld} -m elf_s390"
6944	    ;;
6945	  sparc64-*linux*)
6946	    LD="${LD-ld} -m elf32_sparc"
6947	    ;;
6948	esac
6949	;;
6950      *64-bit*)
6951	case $host in
6952	  x86_64-*kfreebsd*-gnu)
6953	    LD="${LD-ld} -m elf_x86_64_fbsd"
6954	    ;;
6955	  x86_64-*linux*)
6956	    LD="${LD-ld} -m elf_x86_64"
6957	    ;;
6958	  powerpcle-*linux*)
6959	    LD="${LD-ld} -m elf64lppc"
6960	    ;;
6961	  powerpc-*linux*)
6962	    LD="${LD-ld} -m elf64ppc"
6963	    ;;
6964	  s390*-*linux*|s390*-*tpf*)
6965	    LD="${LD-ld} -m elf64_s390"
6966	    ;;
6967	  sparc*-*linux*)
6968	    LD="${LD-ld} -m elf64_sparc"
6969	    ;;
6970	esac
6971	;;
6972    esac
6973  fi
6974  rm -rf conftest*
6975  ;;
6976
6977*-*-sco3.2v5*)
6978  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6979  SAVE_CFLAGS=$CFLAGS
6980  CFLAGS="$CFLAGS -belf"
6981  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6982$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6983if ${lt_cv_cc_needs_belf+:} false; then :
6984  $as_echo_n "(cached) " >&6
6985else
6986  ac_ext=c
6987ac_cpp='$CPP $CPPFLAGS'
6988ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6989ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6990ac_compiler_gnu=$ac_cv_c_compiler_gnu
6991
6992     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6993/* end confdefs.h.  */
6994
6995int
6996main ()
6997{
6998
6999  ;
7000  return 0;
7001}
7002_ACEOF
7003if ac_fn_c_try_link "$LINENO"; then :
7004  lt_cv_cc_needs_belf=yes
7005else
7006  lt_cv_cc_needs_belf=no
7007fi
7008rm -f core conftest.err conftest.$ac_objext \
7009    conftest$ac_exeext conftest.$ac_ext
7010     ac_ext=c
7011ac_cpp='$CPP $CPPFLAGS'
7012ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7013ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7014ac_compiler_gnu=$ac_cv_c_compiler_gnu
7015
7016fi
7017{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7018$as_echo "$lt_cv_cc_needs_belf" >&6; }
7019  if test yes != "$lt_cv_cc_needs_belf"; then
7020    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7021    CFLAGS=$SAVE_CFLAGS
7022  fi
7023  ;;
7024*-*solaris*)
7025  # Find out what ABI is being produced by ac_compile, and set linker
7026  # options accordingly.
7027  echo 'int i;' > conftest.$ac_ext
7028  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7029  (eval $ac_compile) 2>&5
7030  ac_status=$?
7031  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7032  test $ac_status = 0; }; then
7033    case `/usr/bin/file conftest.o` in
7034    *64-bit*)
7035      case $lt_cv_prog_gnu_ld in
7036      yes*)
7037        case $host in
7038        i?86-*-solaris*|x86_64-*-solaris*)
7039          LD="${LD-ld} -m elf_x86_64"
7040          ;;
7041        sparc*-*-solaris*)
7042          LD="${LD-ld} -m elf64_sparc"
7043          ;;
7044        esac
7045        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
7046        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7047          LD=${LD-ld}_sol2
7048        fi
7049        ;;
7050      *)
7051	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7052	  LD="${LD-ld} -64"
7053	fi
7054	;;
7055      esac
7056      ;;
7057    esac
7058  fi
7059  rm -rf conftest*
7060  ;;
7061esac
7062
7063need_locks=$enable_libtool_lock
7064
7065if test -n "$ac_tool_prefix"; then
7066  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7067set dummy ${ac_tool_prefix}mt; ac_word=$2
7068{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7069$as_echo_n "checking for $ac_word... " >&6; }
7070if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7071  $as_echo_n "(cached) " >&6
7072else
7073  if test -n "$MANIFEST_TOOL"; then
7074  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7075else
7076as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7077for as_dir in $PATH
7078do
7079  IFS=$as_save_IFS
7080  test -z "$as_dir" && as_dir=.
7081    for ac_exec_ext in '' $ac_executable_extensions; do
7082  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7083    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7084    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7085    break 2
7086  fi
7087done
7088  done
7089IFS=$as_save_IFS
7090
7091fi
7092fi
7093MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7094if test -n "$MANIFEST_TOOL"; then
7095  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7096$as_echo "$MANIFEST_TOOL" >&6; }
7097else
7098  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7099$as_echo "no" >&6; }
7100fi
7101
7102
7103fi
7104if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7105  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7106  # Extract the first word of "mt", so it can be a program name with args.
7107set dummy mt; ac_word=$2
7108{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7109$as_echo_n "checking for $ac_word... " >&6; }
7110if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7111  $as_echo_n "(cached) " >&6
7112else
7113  if test -n "$ac_ct_MANIFEST_TOOL"; then
7114  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7115else
7116as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7117for as_dir in $PATH
7118do
7119  IFS=$as_save_IFS
7120  test -z "$as_dir" && as_dir=.
7121    for ac_exec_ext in '' $ac_executable_extensions; do
7122  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7123    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7124    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7125    break 2
7126  fi
7127done
7128  done
7129IFS=$as_save_IFS
7130
7131fi
7132fi
7133ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7134if test -n "$ac_ct_MANIFEST_TOOL"; then
7135  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7136$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7137else
7138  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7139$as_echo "no" >&6; }
7140fi
7141
7142  if test "x$ac_ct_MANIFEST_TOOL" = x; then
7143    MANIFEST_TOOL=":"
7144  else
7145    case $cross_compiling:$ac_tool_warned in
7146yes:)
7147{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7148$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7149ac_tool_warned=yes ;;
7150esac
7151    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7152  fi
7153else
7154  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7155fi
7156
7157test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7158{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7159$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7160if ${lt_cv_path_mainfest_tool+:} false; then :
7161  $as_echo_n "(cached) " >&6
7162else
7163  lt_cv_path_mainfest_tool=no
7164  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7165  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7166  cat conftest.err >&5
7167  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7168    lt_cv_path_mainfest_tool=yes
7169  fi
7170  rm -f conftest*
7171fi
7172{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7173$as_echo "$lt_cv_path_mainfest_tool" >&6; }
7174if test yes != "$lt_cv_path_mainfest_tool"; then
7175  MANIFEST_TOOL=:
7176fi
7177
7178
7179
7180
7181
7182
7183  case $host_os in
7184    rhapsody* | darwin*)
7185    if test -n "$ac_tool_prefix"; then
7186  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7187set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7188{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7189$as_echo_n "checking for $ac_word... " >&6; }
7190if ${ac_cv_prog_DSYMUTIL+:} false; then :
7191  $as_echo_n "(cached) " >&6
7192else
7193  if test -n "$DSYMUTIL"; then
7194  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7195else
7196as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7197for as_dir in $PATH
7198do
7199  IFS=$as_save_IFS
7200  test -z "$as_dir" && as_dir=.
7201    for ac_exec_ext in '' $ac_executable_extensions; do
7202  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7203    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7204    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7205    break 2
7206  fi
7207done
7208  done
7209IFS=$as_save_IFS
7210
7211fi
7212fi
7213DSYMUTIL=$ac_cv_prog_DSYMUTIL
7214if test -n "$DSYMUTIL"; then
7215  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7216$as_echo "$DSYMUTIL" >&6; }
7217else
7218  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7219$as_echo "no" >&6; }
7220fi
7221
7222
7223fi
7224if test -z "$ac_cv_prog_DSYMUTIL"; then
7225  ac_ct_DSYMUTIL=$DSYMUTIL
7226  # Extract the first word of "dsymutil", so it can be a program name with args.
7227set dummy dsymutil; ac_word=$2
7228{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7229$as_echo_n "checking for $ac_word... " >&6; }
7230if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7231  $as_echo_n "(cached) " >&6
7232else
7233  if test -n "$ac_ct_DSYMUTIL"; then
7234  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7235else
7236as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7237for as_dir in $PATH
7238do
7239  IFS=$as_save_IFS
7240  test -z "$as_dir" && as_dir=.
7241    for ac_exec_ext in '' $ac_executable_extensions; do
7242  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7243    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7244    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7245    break 2
7246  fi
7247done
7248  done
7249IFS=$as_save_IFS
7250
7251fi
7252fi
7253ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7254if test -n "$ac_ct_DSYMUTIL"; then
7255  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7256$as_echo "$ac_ct_DSYMUTIL" >&6; }
7257else
7258  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7259$as_echo "no" >&6; }
7260fi
7261
7262  if test "x$ac_ct_DSYMUTIL" = x; then
7263    DSYMUTIL=":"
7264  else
7265    case $cross_compiling:$ac_tool_warned in
7266yes:)
7267{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7268$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7269ac_tool_warned=yes ;;
7270esac
7271    DSYMUTIL=$ac_ct_DSYMUTIL
7272  fi
7273else
7274  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7275fi
7276
7277    if test -n "$ac_tool_prefix"; then
7278  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7279set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7280{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7281$as_echo_n "checking for $ac_word... " >&6; }
7282if ${ac_cv_prog_NMEDIT+:} false; then :
7283  $as_echo_n "(cached) " >&6
7284else
7285  if test -n "$NMEDIT"; then
7286  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7287else
7288as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7289for as_dir in $PATH
7290do
7291  IFS=$as_save_IFS
7292  test -z "$as_dir" && as_dir=.
7293    for ac_exec_ext in '' $ac_executable_extensions; do
7294  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7295    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7296    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7297    break 2
7298  fi
7299done
7300  done
7301IFS=$as_save_IFS
7302
7303fi
7304fi
7305NMEDIT=$ac_cv_prog_NMEDIT
7306if test -n "$NMEDIT"; then
7307  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7308$as_echo "$NMEDIT" >&6; }
7309else
7310  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7311$as_echo "no" >&6; }
7312fi
7313
7314
7315fi
7316if test -z "$ac_cv_prog_NMEDIT"; then
7317  ac_ct_NMEDIT=$NMEDIT
7318  # Extract the first word of "nmedit", so it can be a program name with args.
7319set dummy nmedit; ac_word=$2
7320{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7321$as_echo_n "checking for $ac_word... " >&6; }
7322if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7323  $as_echo_n "(cached) " >&6
7324else
7325  if test -n "$ac_ct_NMEDIT"; then
7326  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7327else
7328as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7329for as_dir in $PATH
7330do
7331  IFS=$as_save_IFS
7332  test -z "$as_dir" && as_dir=.
7333    for ac_exec_ext in '' $ac_executable_extensions; do
7334  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7335    ac_cv_prog_ac_ct_NMEDIT="nmedit"
7336    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7337    break 2
7338  fi
7339done
7340  done
7341IFS=$as_save_IFS
7342
7343fi
7344fi
7345ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7346if test -n "$ac_ct_NMEDIT"; then
7347  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7348$as_echo "$ac_ct_NMEDIT" >&6; }
7349else
7350  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7351$as_echo "no" >&6; }
7352fi
7353
7354  if test "x$ac_ct_NMEDIT" = x; then
7355    NMEDIT=":"
7356  else
7357    case $cross_compiling:$ac_tool_warned in
7358yes:)
7359{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7360$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7361ac_tool_warned=yes ;;
7362esac
7363    NMEDIT=$ac_ct_NMEDIT
7364  fi
7365else
7366  NMEDIT="$ac_cv_prog_NMEDIT"
7367fi
7368
7369    if test -n "$ac_tool_prefix"; then
7370  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7371set dummy ${ac_tool_prefix}lipo; ac_word=$2
7372{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7373$as_echo_n "checking for $ac_word... " >&6; }
7374if ${ac_cv_prog_LIPO+:} false; then :
7375  $as_echo_n "(cached) " >&6
7376else
7377  if test -n "$LIPO"; then
7378  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7379else
7380as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7381for as_dir in $PATH
7382do
7383  IFS=$as_save_IFS
7384  test -z "$as_dir" && as_dir=.
7385    for ac_exec_ext in '' $ac_executable_extensions; do
7386  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7387    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7388    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7389    break 2
7390  fi
7391done
7392  done
7393IFS=$as_save_IFS
7394
7395fi
7396fi
7397LIPO=$ac_cv_prog_LIPO
7398if test -n "$LIPO"; then
7399  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7400$as_echo "$LIPO" >&6; }
7401else
7402  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7403$as_echo "no" >&6; }
7404fi
7405
7406
7407fi
7408if test -z "$ac_cv_prog_LIPO"; then
7409  ac_ct_LIPO=$LIPO
7410  # Extract the first word of "lipo", so it can be a program name with args.
7411set dummy lipo; ac_word=$2
7412{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7413$as_echo_n "checking for $ac_word... " >&6; }
7414if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7415  $as_echo_n "(cached) " >&6
7416else
7417  if test -n "$ac_ct_LIPO"; then
7418  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7419else
7420as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7421for as_dir in $PATH
7422do
7423  IFS=$as_save_IFS
7424  test -z "$as_dir" && as_dir=.
7425    for ac_exec_ext in '' $ac_executable_extensions; do
7426  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7427    ac_cv_prog_ac_ct_LIPO="lipo"
7428    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7429    break 2
7430  fi
7431done
7432  done
7433IFS=$as_save_IFS
7434
7435fi
7436fi
7437ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7438if test -n "$ac_ct_LIPO"; then
7439  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7440$as_echo "$ac_ct_LIPO" >&6; }
7441else
7442  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7443$as_echo "no" >&6; }
7444fi
7445
7446  if test "x$ac_ct_LIPO" = x; then
7447    LIPO=":"
7448  else
7449    case $cross_compiling:$ac_tool_warned in
7450yes:)
7451{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7452$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7453ac_tool_warned=yes ;;
7454esac
7455    LIPO=$ac_ct_LIPO
7456  fi
7457else
7458  LIPO="$ac_cv_prog_LIPO"
7459fi
7460
7461    if test -n "$ac_tool_prefix"; then
7462  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7463set dummy ${ac_tool_prefix}otool; ac_word=$2
7464{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7465$as_echo_n "checking for $ac_word... " >&6; }
7466if ${ac_cv_prog_OTOOL+:} false; then :
7467  $as_echo_n "(cached) " >&6
7468else
7469  if test -n "$OTOOL"; then
7470  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7471else
7472as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7473for as_dir in $PATH
7474do
7475  IFS=$as_save_IFS
7476  test -z "$as_dir" && as_dir=.
7477    for ac_exec_ext in '' $ac_executable_extensions; do
7478  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7479    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7480    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7481    break 2
7482  fi
7483done
7484  done
7485IFS=$as_save_IFS
7486
7487fi
7488fi
7489OTOOL=$ac_cv_prog_OTOOL
7490if test -n "$OTOOL"; then
7491  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7492$as_echo "$OTOOL" >&6; }
7493else
7494  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7495$as_echo "no" >&6; }
7496fi
7497
7498
7499fi
7500if test -z "$ac_cv_prog_OTOOL"; then
7501  ac_ct_OTOOL=$OTOOL
7502  # Extract the first word of "otool", so it can be a program name with args.
7503set dummy otool; ac_word=$2
7504{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7505$as_echo_n "checking for $ac_word... " >&6; }
7506if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7507  $as_echo_n "(cached) " >&6
7508else
7509  if test -n "$ac_ct_OTOOL"; then
7510  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7511else
7512as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7513for as_dir in $PATH
7514do
7515  IFS=$as_save_IFS
7516  test -z "$as_dir" && as_dir=.
7517    for ac_exec_ext in '' $ac_executable_extensions; do
7518  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7519    ac_cv_prog_ac_ct_OTOOL="otool"
7520    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7521    break 2
7522  fi
7523done
7524  done
7525IFS=$as_save_IFS
7526
7527fi
7528fi
7529ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7530if test -n "$ac_ct_OTOOL"; then
7531  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7532$as_echo "$ac_ct_OTOOL" >&6; }
7533else
7534  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7535$as_echo "no" >&6; }
7536fi
7537
7538  if test "x$ac_ct_OTOOL" = x; then
7539    OTOOL=":"
7540  else
7541    case $cross_compiling:$ac_tool_warned in
7542yes:)
7543{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7544$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7545ac_tool_warned=yes ;;
7546esac
7547    OTOOL=$ac_ct_OTOOL
7548  fi
7549else
7550  OTOOL="$ac_cv_prog_OTOOL"
7551fi
7552
7553    if test -n "$ac_tool_prefix"; then
7554  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7555set dummy ${ac_tool_prefix}otool64; ac_word=$2
7556{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7557$as_echo_n "checking for $ac_word... " >&6; }
7558if ${ac_cv_prog_OTOOL64+:} false; then :
7559  $as_echo_n "(cached) " >&6
7560else
7561  if test -n "$OTOOL64"; then
7562  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7563else
7564as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7565for as_dir in $PATH
7566do
7567  IFS=$as_save_IFS
7568  test -z "$as_dir" && as_dir=.
7569    for ac_exec_ext in '' $ac_executable_extensions; do
7570  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7571    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7572    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7573    break 2
7574  fi
7575done
7576  done
7577IFS=$as_save_IFS
7578
7579fi
7580fi
7581OTOOL64=$ac_cv_prog_OTOOL64
7582if test -n "$OTOOL64"; then
7583  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7584$as_echo "$OTOOL64" >&6; }
7585else
7586  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7587$as_echo "no" >&6; }
7588fi
7589
7590
7591fi
7592if test -z "$ac_cv_prog_OTOOL64"; then
7593  ac_ct_OTOOL64=$OTOOL64
7594  # Extract the first word of "otool64", so it can be a program name with args.
7595set dummy otool64; ac_word=$2
7596{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7597$as_echo_n "checking for $ac_word... " >&6; }
7598if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7599  $as_echo_n "(cached) " >&6
7600else
7601  if test -n "$ac_ct_OTOOL64"; then
7602  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7603else
7604as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7605for as_dir in $PATH
7606do
7607  IFS=$as_save_IFS
7608  test -z "$as_dir" && as_dir=.
7609    for ac_exec_ext in '' $ac_executable_extensions; do
7610  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7611    ac_cv_prog_ac_ct_OTOOL64="otool64"
7612    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7613    break 2
7614  fi
7615done
7616  done
7617IFS=$as_save_IFS
7618
7619fi
7620fi
7621ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7622if test -n "$ac_ct_OTOOL64"; then
7623  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7624$as_echo "$ac_ct_OTOOL64" >&6; }
7625else
7626  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7627$as_echo "no" >&6; }
7628fi
7629
7630  if test "x$ac_ct_OTOOL64" = x; then
7631    OTOOL64=":"
7632  else
7633    case $cross_compiling:$ac_tool_warned in
7634yes:)
7635{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7636$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7637ac_tool_warned=yes ;;
7638esac
7639    OTOOL64=$ac_ct_OTOOL64
7640  fi
7641else
7642  OTOOL64="$ac_cv_prog_OTOOL64"
7643fi
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7672$as_echo_n "checking for -single_module linker flag... " >&6; }
7673if ${lt_cv_apple_cc_single_mod+:} false; then :
7674  $as_echo_n "(cached) " >&6
7675else
7676  lt_cv_apple_cc_single_mod=no
7677      if test -z "$LT_MULTI_MODULE"; then
7678	# By default we will add the -single_module flag. You can override
7679	# by either setting the environment variable LT_MULTI_MODULE
7680	# non-empty at configure time, or by adding -multi_module to the
7681	# link flags.
7682	rm -rf libconftest.dylib*
7683	echo "int foo(void){return 1;}" > conftest.c
7684	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7685-dynamiclib -Wl,-single_module conftest.c" >&5
7686	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7687	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7688        _lt_result=$?
7689	# If there is a non-empty error log, and "single_module"
7690	# appears in it, assume the flag caused a linker warning
7691        if test -s conftest.err && $GREP single_module conftest.err; then
7692	  cat conftest.err >&5
7693	# Otherwise, if the output was created with a 0 exit code from
7694	# the compiler, it worked.
7695	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
7696	  lt_cv_apple_cc_single_mod=yes
7697	else
7698	  cat conftest.err >&5
7699	fi
7700	rm -rf libconftest.dylib*
7701	rm -f conftest.*
7702      fi
7703fi
7704{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7705$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7706
7707    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7708$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7709if ${lt_cv_ld_exported_symbols_list+:} false; then :
7710  $as_echo_n "(cached) " >&6
7711else
7712  lt_cv_ld_exported_symbols_list=no
7713      save_LDFLAGS=$LDFLAGS
7714      echo "_main" > conftest.sym
7715      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7716      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7717/* end confdefs.h.  */
7718
7719int
7720main ()
7721{
7722
7723  ;
7724  return 0;
7725}
7726_ACEOF
7727if ac_fn_c_try_link "$LINENO"; then :
7728  lt_cv_ld_exported_symbols_list=yes
7729else
7730  lt_cv_ld_exported_symbols_list=no
7731fi
7732rm -f core conftest.err conftest.$ac_objext \
7733    conftest$ac_exeext conftest.$ac_ext
7734	LDFLAGS=$save_LDFLAGS
7735
7736fi
7737{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7738$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7739
7740    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7741$as_echo_n "checking for -force_load linker flag... " >&6; }
7742if ${lt_cv_ld_force_load+:} false; then :
7743  $as_echo_n "(cached) " >&6
7744else
7745  lt_cv_ld_force_load=no
7746      cat > conftest.c << _LT_EOF
7747int forced_loaded() { return 2;}
7748_LT_EOF
7749      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7750      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7751      echo "$AR cru libconftest.a conftest.o" >&5
7752      $AR cru libconftest.a conftest.o 2>&5
7753      echo "$RANLIB libconftest.a" >&5
7754      $RANLIB libconftest.a 2>&5
7755      cat > conftest.c << _LT_EOF
7756int main() { return 0;}
7757_LT_EOF
7758      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7759      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7760      _lt_result=$?
7761      if test -s conftest.err && $GREP force_load conftest.err; then
7762	cat conftest.err >&5
7763      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
7764	lt_cv_ld_force_load=yes
7765      else
7766	cat conftest.err >&5
7767      fi
7768        rm -f conftest.err libconftest.a conftest conftest.c
7769        rm -rf conftest.dSYM
7770
7771fi
7772{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7773$as_echo "$lt_cv_ld_force_load" >&6; }
7774    case $host_os in
7775    rhapsody* | darwin1.[012])
7776      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
7777    darwin1.*)
7778      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7779    darwin*) # darwin 5.x on
7780      # if running on 10.5 or later, the deployment target defaults
7781      # to the OS version, if on x86, and 10.4, the deployment
7782      # target defaults to 10.4. Don't you love it?
7783      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7784	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7785	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7786	10.[012][,.]*)
7787	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7788	10.*)
7789	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7790      esac
7791    ;;
7792  esac
7793    if test yes = "$lt_cv_apple_cc_single_mod"; then
7794      _lt_dar_single_mod='$single_module'
7795    fi
7796    if test yes = "$lt_cv_ld_exported_symbols_list"; then
7797      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
7798    else
7799      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
7800    fi
7801    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
7802      _lt_dsymutil='~$DSYMUTIL $lib || :'
7803    else
7804      _lt_dsymutil=
7805    fi
7806    ;;
7807  esac
7808
7809# func_munge_path_list VARIABLE PATH
7810# -----------------------------------
7811# VARIABLE is name of variable containing _space_ separated list of
7812# directories to be munged by the contents of PATH, which is string
7813# having a format:
7814# "DIR[:DIR]:"
7815#       string "DIR[ DIR]" will be prepended to VARIABLE
7816# ":DIR[:DIR]"
7817#       string "DIR[ DIR]" will be appended to VARIABLE
7818# "DIRP[:DIRP]::[DIRA:]DIRA"
7819#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
7820#       "DIRA[ DIRA]" will be appended to VARIABLE
7821# "DIR[:DIR]"
7822#       VARIABLE will be replaced by "DIR[ DIR]"
7823func_munge_path_list ()
7824{
7825    case x$2 in
7826    x)
7827        ;;
7828    *:)
7829        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
7830        ;;
7831    x:*)
7832        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
7833        ;;
7834    *::*)
7835        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
7836        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
7837        ;;
7838    *)
7839        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
7840        ;;
7841    esac
7842}
7843
7844for ac_header in dlfcn.h
7845do :
7846  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7847"
7848if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7849  cat >>confdefs.h <<_ACEOF
7850#define HAVE_DLFCN_H 1
7851_ACEOF
7852
7853fi
7854
7855done
7856
7857
7858
7859
7860
7861# Set options
7862
7863
7864
7865        enable_dlopen=no
7866
7867
7868  enable_win32_dll=no
7869
7870
7871            # Check whether --enable-shared was given.
7872if test "${enable_shared+set}" = set; then :
7873  enableval=$enable_shared; p=${PACKAGE-default}
7874    case $enableval in
7875    yes) enable_shared=yes ;;
7876    no) enable_shared=no ;;
7877    *)
7878      enable_shared=no
7879      # Look at the argument we got.  We use all the common list separators.
7880      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7881      for pkg in $enableval; do
7882	IFS=$lt_save_ifs
7883	if test "X$pkg" = "X$p"; then
7884	  enable_shared=yes
7885	fi
7886      done
7887      IFS=$lt_save_ifs
7888      ;;
7889    esac
7890else
7891  enable_shared=yes
7892fi
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902  # Check whether --enable-static was given.
7903if test "${enable_static+set}" = set; then :
7904  enableval=$enable_static; p=${PACKAGE-default}
7905    case $enableval in
7906    yes) enable_static=yes ;;
7907    no) enable_static=no ;;
7908    *)
7909     enable_static=no
7910      # Look at the argument we got.  We use all the common list separators.
7911      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7912      for pkg in $enableval; do
7913	IFS=$lt_save_ifs
7914	if test "X$pkg" = "X$p"; then
7915	  enable_static=yes
7916	fi
7917      done
7918      IFS=$lt_save_ifs
7919      ;;
7920    esac
7921else
7922  enable_static=yes
7923fi
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934# Check whether --with-pic was given.
7935if test "${with_pic+set}" = set; then :
7936  withval=$with_pic; lt_p=${PACKAGE-default}
7937    case $withval in
7938    yes|no) pic_mode=$withval ;;
7939    *)
7940      pic_mode=default
7941      # Look at the argument we got.  We use all the common list separators.
7942      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7943      for lt_pkg in $withval; do
7944	IFS=$lt_save_ifs
7945	if test "X$lt_pkg" = "X$lt_p"; then
7946	  pic_mode=yes
7947	fi
7948      done
7949      IFS=$lt_save_ifs
7950      ;;
7951    esac
7952else
7953  pic_mode=default
7954fi
7955
7956
7957
7958
7959
7960
7961
7962
7963  # Check whether --enable-fast-install was given.
7964if test "${enable_fast_install+set}" = set; then :
7965  enableval=$enable_fast_install; p=${PACKAGE-default}
7966    case $enableval in
7967    yes) enable_fast_install=yes ;;
7968    no) enable_fast_install=no ;;
7969    *)
7970      enable_fast_install=no
7971      # Look at the argument we got.  We use all the common list separators.
7972      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7973      for pkg in $enableval; do
7974	IFS=$lt_save_ifs
7975	if test "X$pkg" = "X$p"; then
7976	  enable_fast_install=yes
7977	fi
7978      done
7979      IFS=$lt_save_ifs
7980      ;;
7981    esac
7982else
7983  enable_fast_install=yes
7984fi
7985
7986
7987
7988
7989
7990
7991
7992
7993  shared_archive_member_spec=
7994case $host,$enable_shared in
7995power*-*-aix[5-9]*,yes)
7996  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
7997$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
7998
7999# Check whether --with-aix-soname was given.
8000if test "${with_aix_soname+set}" = set; then :
8001  withval=$with_aix_soname; case $withval in
8002    aix|svr4|both)
8003      ;;
8004    *)
8005      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
8006      ;;
8007    esac
8008    lt_cv_with_aix_soname=$with_aix_soname
8009else
8010  if ${lt_cv_with_aix_soname+:} false; then :
8011  $as_echo_n "(cached) " >&6
8012else
8013  lt_cv_with_aix_soname=aix
8014fi
8015
8016    with_aix_soname=$lt_cv_with_aix_soname
8017fi
8018
8019  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
8020$as_echo "$with_aix_soname" >&6; }
8021  if test aix != "$with_aix_soname"; then
8022    # For the AIX way of multilib, we name the shared archive member
8023    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
8024    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
8025    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
8026    # the AIX toolchain works better with OBJECT_MODE set (default 32).
8027    if test 64 = "${OBJECT_MODE-32}"; then
8028      shared_archive_member_spec=shr_64
8029    else
8030      shared_archive_member_spec=shr
8031    fi
8032  fi
8033  ;;
8034*)
8035  with_aix_soname=aix
8036  ;;
8037esac
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048# This can be used to rebuild libtool when needed
8049LIBTOOL_DEPS=$ltmain
8050
8051# Always use our own libtool.
8052LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083test -z "$LN_S" && LN_S="ln -s"
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098if test -n "${ZSH_VERSION+set}"; then
8099   setopt NO_GLOB_SUBST
8100fi
8101
8102{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8103$as_echo_n "checking for objdir... " >&6; }
8104if ${lt_cv_objdir+:} false; then :
8105  $as_echo_n "(cached) " >&6
8106else
8107  rm -f .libs 2>/dev/null
8108mkdir .libs 2>/dev/null
8109if test -d .libs; then
8110  lt_cv_objdir=.libs
8111else
8112  # MS-DOS does not allow filenames that begin with a dot.
8113  lt_cv_objdir=_libs
8114fi
8115rmdir .libs 2>/dev/null
8116fi
8117{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8118$as_echo "$lt_cv_objdir" >&6; }
8119objdir=$lt_cv_objdir
8120
8121
8122
8123
8124
8125cat >>confdefs.h <<_ACEOF
8126#define LT_OBJDIR "$lt_cv_objdir/"
8127_ACEOF
8128
8129
8130
8131
8132case $host_os in
8133aix3*)
8134  # AIX sometimes has problems with the GCC collect2 program.  For some
8135  # reason, if we set the COLLECT_NAMES environment variable, the problems
8136  # vanish in a puff of smoke.
8137  if test set != "${COLLECT_NAMES+set}"; then
8138    COLLECT_NAMES=
8139    export COLLECT_NAMES
8140  fi
8141  ;;
8142esac
8143
8144# Global variables:
8145ofile=libtool
8146can_build_shared=yes
8147
8148# All known linkers require a '.a' archive for static linking (except MSVC,
8149# which needs '.lib').
8150libext=a
8151
8152with_gnu_ld=$lt_cv_prog_gnu_ld
8153
8154old_CC=$CC
8155old_CFLAGS=$CFLAGS
8156
8157# Set sane defaults for various variables
8158test -z "$CC" && CC=cc
8159test -z "$LTCC" && LTCC=$CC
8160test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8161test -z "$LD" && LD=ld
8162test -z "$ac_objext" && ac_objext=o
8163
8164func_cc_basename $compiler
8165cc_basename=$func_cc_basename_result
8166
8167
8168# Only perform the check for file, if the check method requires it
8169test -z "$MAGIC_CMD" && MAGIC_CMD=file
8170case $deplibs_check_method in
8171file_magic*)
8172  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8173    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8174$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8175if ${lt_cv_path_MAGIC_CMD+:} false; then :
8176  $as_echo_n "(cached) " >&6
8177else
8178  case $MAGIC_CMD in
8179[\\/*] |  ?:[\\/]*)
8180  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8181  ;;
8182*)
8183  lt_save_MAGIC_CMD=$MAGIC_CMD
8184  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8185  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8186  for ac_dir in $ac_dummy; do
8187    IFS=$lt_save_ifs
8188    test -z "$ac_dir" && ac_dir=.
8189    if test -f "$ac_dir/${ac_tool_prefix}file"; then
8190      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
8191      if test -n "$file_magic_test_file"; then
8192	case $deplibs_check_method in
8193	"file_magic "*)
8194	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8195	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8196	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8197	    $EGREP "$file_magic_regex" > /dev/null; then
8198	    :
8199	  else
8200	    cat <<_LT_EOF 1>&2
8201
8202*** Warning: the command libtool uses to detect shared libraries,
8203*** $file_magic_cmd, produces output that libtool cannot recognize.
8204*** The result is that libtool may fail to recognize shared libraries
8205*** as such.  This will affect the creation of libtool libraries that
8206*** depend on shared libraries, but programs linked with such libtool
8207*** libraries will work regardless of this problem.  Nevertheless, you
8208*** may want to report the problem to your system manager and/or to
8209*** bug-libtool@gnu.org
8210
8211_LT_EOF
8212	  fi ;;
8213	esac
8214      fi
8215      break
8216    fi
8217  done
8218  IFS=$lt_save_ifs
8219  MAGIC_CMD=$lt_save_MAGIC_CMD
8220  ;;
8221esac
8222fi
8223
8224MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8225if test -n "$MAGIC_CMD"; then
8226  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8227$as_echo "$MAGIC_CMD" >&6; }
8228else
8229  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8230$as_echo "no" >&6; }
8231fi
8232
8233
8234
8235
8236
8237if test -z "$lt_cv_path_MAGIC_CMD"; then
8238  if test -n "$ac_tool_prefix"; then
8239    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8240$as_echo_n "checking for file... " >&6; }
8241if ${lt_cv_path_MAGIC_CMD+:} false; then :
8242  $as_echo_n "(cached) " >&6
8243else
8244  case $MAGIC_CMD in
8245[\\/*] |  ?:[\\/]*)
8246  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8247  ;;
8248*)
8249  lt_save_MAGIC_CMD=$MAGIC_CMD
8250  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8251  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8252  for ac_dir in $ac_dummy; do
8253    IFS=$lt_save_ifs
8254    test -z "$ac_dir" && ac_dir=.
8255    if test -f "$ac_dir/file"; then
8256      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
8257      if test -n "$file_magic_test_file"; then
8258	case $deplibs_check_method in
8259	"file_magic "*)
8260	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8261	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8262	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8263	    $EGREP "$file_magic_regex" > /dev/null; then
8264	    :
8265	  else
8266	    cat <<_LT_EOF 1>&2
8267
8268*** Warning: the command libtool uses to detect shared libraries,
8269*** $file_magic_cmd, produces output that libtool cannot recognize.
8270*** The result is that libtool may fail to recognize shared libraries
8271*** as such.  This will affect the creation of libtool libraries that
8272*** depend on shared libraries, but programs linked with such libtool
8273*** libraries will work regardless of this problem.  Nevertheless, you
8274*** may want to report the problem to your system manager and/or to
8275*** bug-libtool@gnu.org
8276
8277_LT_EOF
8278	  fi ;;
8279	esac
8280      fi
8281      break
8282    fi
8283  done
8284  IFS=$lt_save_ifs
8285  MAGIC_CMD=$lt_save_MAGIC_CMD
8286  ;;
8287esac
8288fi
8289
8290MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8291if test -n "$MAGIC_CMD"; then
8292  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8293$as_echo "$MAGIC_CMD" >&6; }
8294else
8295  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8296$as_echo "no" >&6; }
8297fi
8298
8299
8300  else
8301    MAGIC_CMD=:
8302  fi
8303fi
8304
8305  fi
8306  ;;
8307esac
8308
8309# Use C for the default configuration in the libtool script
8310
8311lt_save_CC=$CC
8312ac_ext=c
8313ac_cpp='$CPP $CPPFLAGS'
8314ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8315ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8316ac_compiler_gnu=$ac_cv_c_compiler_gnu
8317
8318
8319# Source file extension for C test sources.
8320ac_ext=c
8321
8322# Object file extension for compiled C test sources.
8323objext=o
8324objext=$objext
8325
8326# Code to be used in simple compile tests
8327lt_simple_compile_test_code="int some_variable = 0;"
8328
8329# Code to be used in simple link tests
8330lt_simple_link_test_code='int main(){return(0);}'
8331
8332
8333
8334
8335
8336
8337
8338# If no C compiler was specified, use CC.
8339LTCC=${LTCC-"$CC"}
8340
8341# If no C compiler flags were specified, use CFLAGS.
8342LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8343
8344# Allow CC to be a program name with arguments.
8345compiler=$CC
8346
8347# Save the default compiler, since it gets overwritten when the other
8348# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8349compiler_DEFAULT=$CC
8350
8351# save warnings/boilerplate of simple test code
8352ac_outfile=conftest.$ac_objext
8353echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8354eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8355_lt_compiler_boilerplate=`cat conftest.err`
8356$RM conftest*
8357
8358ac_outfile=conftest.$ac_objext
8359echo "$lt_simple_link_test_code" >conftest.$ac_ext
8360eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8361_lt_linker_boilerplate=`cat conftest.err`
8362$RM -r conftest*
8363
8364
8365if test -n "$compiler"; then
8366
8367lt_prog_compiler_no_builtin_flag=
8368
8369if test yes = "$GCC"; then
8370  case $cc_basename in
8371  nvcc*)
8372    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8373  *)
8374    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8375  esac
8376
8377  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8378$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8379if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8380  $as_echo_n "(cached) " >&6
8381else
8382  lt_cv_prog_compiler_rtti_exceptions=no
8383   ac_outfile=conftest.$ac_objext
8384   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8385   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
8386   # Insert the option either (1) after the last *FLAGS variable, or
8387   # (2) before a word containing "conftest.", or (3) at the end.
8388   # Note that $ac_compile itself does not contain backslashes and begins
8389   # with a dollar sign (not a hyphen), so the echo should work correctly.
8390   # The option is referenced via a variable to avoid confusing sed.
8391   lt_compile=`echo "$ac_compile" | $SED \
8392   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8393   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8394   -e 's:$: $lt_compiler_flag:'`
8395   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8396   (eval "$lt_compile" 2>conftest.err)
8397   ac_status=$?
8398   cat conftest.err >&5
8399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8400   if (exit $ac_status) && test -s "$ac_outfile"; then
8401     # The compiler can only warn and ignore the option if not recognized
8402     # So say no if there are warnings other than the usual output.
8403     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8404     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8405     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8406       lt_cv_prog_compiler_rtti_exceptions=yes
8407     fi
8408   fi
8409   $RM conftest*
8410
8411fi
8412{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8413$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8414
8415if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
8416    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8417else
8418    :
8419fi
8420
8421fi
8422
8423
8424
8425
8426
8427
8428  lt_prog_compiler_wl=
8429lt_prog_compiler_pic=
8430lt_prog_compiler_static=
8431
8432
8433  if test yes = "$GCC"; then
8434    lt_prog_compiler_wl='-Wl,'
8435    lt_prog_compiler_static='-static'
8436
8437    case $host_os in
8438      aix*)
8439      # All AIX code is PIC.
8440      if test ia64 = "$host_cpu"; then
8441	# AIX 5 now supports IA64 processor
8442	lt_prog_compiler_static='-Bstatic'
8443      fi
8444      lt_prog_compiler_pic='-fPIC'
8445      ;;
8446
8447    amigaos*)
8448      case $host_cpu in
8449      powerpc)
8450            # see comment about AmigaOS4 .so support
8451            lt_prog_compiler_pic='-fPIC'
8452        ;;
8453      m68k)
8454            # FIXME: we need at least 68020 code to build shared libraries, but
8455            # adding the '-m68020' flag to GCC prevents building anything better,
8456            # like '-m68040'.
8457            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8458        ;;
8459      esac
8460      ;;
8461
8462    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8463      # PIC is the default for these OSes.
8464      ;;
8465
8466    mingw* | cygwin* | pw32* | os2* | cegcc*)
8467      # This hack is so that the source file can tell whether it is being
8468      # built for inclusion in a dll (and should export symbols for example).
8469      # Although the cygwin gcc ignores -fPIC, still need this for old-style
8470      # (--disable-auto-import) libraries
8471      lt_prog_compiler_pic='-DDLL_EXPORT'
8472      case $host_os in
8473      os2*)
8474	lt_prog_compiler_static='$wl-static'
8475	;;
8476      esac
8477      ;;
8478
8479    darwin* | rhapsody*)
8480      # PIC is the default on this platform
8481      # Common symbols not allowed in MH_DYLIB files
8482      lt_prog_compiler_pic='-fno-common'
8483      ;;
8484
8485    haiku*)
8486      # PIC is the default for Haiku.
8487      # The "-static" flag exists, but is broken.
8488      lt_prog_compiler_static=
8489      ;;
8490
8491    hpux*)
8492      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8493      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8494      # sets the default TLS model and affects inlining.
8495      case $host_cpu in
8496      hppa*64*)
8497	# +Z the default
8498	;;
8499      *)
8500	lt_prog_compiler_pic='-fPIC'
8501	;;
8502      esac
8503      ;;
8504
8505    interix[3-9]*)
8506      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8507      # Instead, we relocate shared libraries at runtime.
8508      ;;
8509
8510    msdosdjgpp*)
8511      # Just because we use GCC doesn't mean we suddenly get shared libraries
8512      # on systems that don't support them.
8513      lt_prog_compiler_can_build_shared=no
8514      enable_shared=no
8515      ;;
8516
8517    *nto* | *qnx*)
8518      # QNX uses GNU C++, but need to define -shared option too, otherwise
8519      # it will coredump.
8520      lt_prog_compiler_pic='-fPIC -shared'
8521      ;;
8522
8523    sysv4*MP*)
8524      if test -d /usr/nec; then
8525	lt_prog_compiler_pic=-Kconform_pic
8526      fi
8527      ;;
8528
8529    *)
8530      lt_prog_compiler_pic='-fPIC'
8531      ;;
8532    esac
8533
8534    case $cc_basename in
8535    nvcc*) # Cuda Compiler Driver 2.2
8536      lt_prog_compiler_wl='-Xlinker '
8537      if test -n "$lt_prog_compiler_pic"; then
8538        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8539      fi
8540      ;;
8541    esac
8542  else
8543    # PORTME Check for flag to pass linker flags through the system compiler.
8544    case $host_os in
8545    aix*)
8546      lt_prog_compiler_wl='-Wl,'
8547      if test ia64 = "$host_cpu"; then
8548	# AIX 5 now supports IA64 processor
8549	lt_prog_compiler_static='-Bstatic'
8550      else
8551	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8552      fi
8553      ;;
8554
8555    darwin* | rhapsody*)
8556      # PIC is the default on this platform
8557      # Common symbols not allowed in MH_DYLIB files
8558      lt_prog_compiler_pic='-fno-common'
8559      case $cc_basename in
8560      nagfor*)
8561        # NAG Fortran compiler
8562        lt_prog_compiler_wl='-Wl,-Wl,,'
8563        lt_prog_compiler_pic='-PIC'
8564        lt_prog_compiler_static='-Bstatic'
8565        ;;
8566      esac
8567      ;;
8568
8569    mingw* | cygwin* | pw32* | os2* | cegcc*)
8570      # This hack is so that the source file can tell whether it is being
8571      # built for inclusion in a dll (and should export symbols for example).
8572      lt_prog_compiler_pic='-DDLL_EXPORT'
8573      case $host_os in
8574      os2*)
8575	lt_prog_compiler_static='$wl-static'
8576	;;
8577      esac
8578      ;;
8579
8580    hpux9* | hpux10* | hpux11*)
8581      lt_prog_compiler_wl='-Wl,'
8582      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8583      # not for PA HP-UX.
8584      case $host_cpu in
8585      hppa*64*|ia64*)
8586	# +Z the default
8587	;;
8588      *)
8589	lt_prog_compiler_pic='+Z'
8590	;;
8591      esac
8592      # Is there a better lt_prog_compiler_static that works with the bundled CC?
8593      lt_prog_compiler_static='$wl-a ${wl}archive'
8594      ;;
8595
8596    irix5* | irix6* | nonstopux*)
8597      lt_prog_compiler_wl='-Wl,'
8598      # PIC (with -KPIC) is the default.
8599      lt_prog_compiler_static='-non_shared'
8600      ;;
8601
8602    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8603      case $cc_basename in
8604      # old Intel for x86_64, which still supported -KPIC.
8605      ecc*)
8606	lt_prog_compiler_wl='-Wl,'
8607	lt_prog_compiler_pic='-KPIC'
8608	lt_prog_compiler_static='-static'
8609        ;;
8610      # icc used to be incompatible with GCC.
8611      # ICC 10 doesn't accept -KPIC any more.
8612      icc* | ifort*)
8613	lt_prog_compiler_wl='-Wl,'
8614	lt_prog_compiler_pic='-fPIC'
8615	lt_prog_compiler_static='-static'
8616        ;;
8617      # Lahey Fortran 8.1.
8618      lf95*)
8619	lt_prog_compiler_wl='-Wl,'
8620	lt_prog_compiler_pic='--shared'
8621	lt_prog_compiler_static='--static'
8622	;;
8623      nagfor*)
8624	# NAG Fortran compiler
8625	lt_prog_compiler_wl='-Wl,-Wl,,'
8626	lt_prog_compiler_pic='-PIC'
8627	lt_prog_compiler_static='-Bstatic'
8628	;;
8629      tcc*)
8630	# Fabrice Bellard et al's Tiny C Compiler
8631	lt_prog_compiler_wl='-Wl,'
8632	lt_prog_compiler_pic='-fPIC'
8633	lt_prog_compiler_static='-static'
8634	;;
8635      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8636        # Portland Group compilers (*not* the Pentium gcc compiler,
8637	# which looks to be a dead project)
8638	lt_prog_compiler_wl='-Wl,'
8639	lt_prog_compiler_pic='-fpic'
8640	lt_prog_compiler_static='-Bstatic'
8641        ;;
8642      ccc*)
8643        lt_prog_compiler_wl='-Wl,'
8644        # All Alpha code is PIC.
8645        lt_prog_compiler_static='-non_shared'
8646        ;;
8647      xl* | bgxl* | bgf* | mpixl*)
8648	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8649	lt_prog_compiler_wl='-Wl,'
8650	lt_prog_compiler_pic='-qpic'
8651	lt_prog_compiler_static='-qstaticlink'
8652	;;
8653      *)
8654	case `$CC -V 2>&1 | sed 5q` in
8655	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8656	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
8657	  lt_prog_compiler_pic='-KPIC'
8658	  lt_prog_compiler_static='-Bstatic'
8659	  lt_prog_compiler_wl=''
8660	  ;;
8661	*Sun\ F* | *Sun*Fortran*)
8662	  lt_prog_compiler_pic='-KPIC'
8663	  lt_prog_compiler_static='-Bstatic'
8664	  lt_prog_compiler_wl='-Qoption ld '
8665	  ;;
8666	*Sun\ C*)
8667	  # Sun C 5.9
8668	  lt_prog_compiler_pic='-KPIC'
8669	  lt_prog_compiler_static='-Bstatic'
8670	  lt_prog_compiler_wl='-Wl,'
8671	  ;;
8672        *Intel*\ [CF]*Compiler*)
8673	  lt_prog_compiler_wl='-Wl,'
8674	  lt_prog_compiler_pic='-fPIC'
8675	  lt_prog_compiler_static='-static'
8676	  ;;
8677	*Portland\ Group*)
8678	  lt_prog_compiler_wl='-Wl,'
8679	  lt_prog_compiler_pic='-fpic'
8680	  lt_prog_compiler_static='-Bstatic'
8681	  ;;
8682	esac
8683	;;
8684      esac
8685      ;;
8686
8687    newsos6)
8688      lt_prog_compiler_pic='-KPIC'
8689      lt_prog_compiler_static='-Bstatic'
8690      ;;
8691
8692    *nto* | *qnx*)
8693      # QNX uses GNU C++, but need to define -shared option too, otherwise
8694      # it will coredump.
8695      lt_prog_compiler_pic='-fPIC -shared'
8696      ;;
8697
8698    osf3* | osf4* | osf5*)
8699      lt_prog_compiler_wl='-Wl,'
8700      # All OSF/1 code is PIC.
8701      lt_prog_compiler_static='-non_shared'
8702      ;;
8703
8704    rdos*)
8705      lt_prog_compiler_static='-non_shared'
8706      ;;
8707
8708    solaris*)
8709      lt_prog_compiler_pic='-KPIC'
8710      lt_prog_compiler_static='-Bstatic'
8711      case $cc_basename in
8712      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8713	lt_prog_compiler_wl='-Qoption ld ';;
8714      *)
8715	lt_prog_compiler_wl='-Wl,';;
8716      esac
8717      ;;
8718
8719    sunos4*)
8720      lt_prog_compiler_wl='-Qoption ld '
8721      lt_prog_compiler_pic='-PIC'
8722      lt_prog_compiler_static='-Bstatic'
8723      ;;
8724
8725    sysv4 | sysv4.2uw2* | sysv4.3*)
8726      lt_prog_compiler_wl='-Wl,'
8727      lt_prog_compiler_pic='-KPIC'
8728      lt_prog_compiler_static='-Bstatic'
8729      ;;
8730
8731    sysv4*MP*)
8732      if test -d /usr/nec; then
8733	lt_prog_compiler_pic='-Kconform_pic'
8734	lt_prog_compiler_static='-Bstatic'
8735      fi
8736      ;;
8737
8738    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8739      lt_prog_compiler_wl='-Wl,'
8740      lt_prog_compiler_pic='-KPIC'
8741      lt_prog_compiler_static='-Bstatic'
8742      ;;
8743
8744    unicos*)
8745      lt_prog_compiler_wl='-Wl,'
8746      lt_prog_compiler_can_build_shared=no
8747      ;;
8748
8749    uts4*)
8750      lt_prog_compiler_pic='-pic'
8751      lt_prog_compiler_static='-Bstatic'
8752      ;;
8753
8754    *)
8755      lt_prog_compiler_can_build_shared=no
8756      ;;
8757    esac
8758  fi
8759
8760case $host_os in
8761  # For platforms that do not support PIC, -DPIC is meaningless:
8762  *djgpp*)
8763    lt_prog_compiler_pic=
8764    ;;
8765  *)
8766    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8767    ;;
8768esac
8769
8770{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8771$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8772if ${lt_cv_prog_compiler_pic+:} false; then :
8773  $as_echo_n "(cached) " >&6
8774else
8775  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8776fi
8777{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8778$as_echo "$lt_cv_prog_compiler_pic" >&6; }
8779lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8780
8781#
8782# Check to make sure the PIC flag actually works.
8783#
8784if test -n "$lt_prog_compiler_pic"; then
8785  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8786$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8787if ${lt_cv_prog_compiler_pic_works+:} false; then :
8788  $as_echo_n "(cached) " >&6
8789else
8790  lt_cv_prog_compiler_pic_works=no
8791   ac_outfile=conftest.$ac_objext
8792   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8793   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
8794   # Insert the option either (1) after the last *FLAGS variable, or
8795   # (2) before a word containing "conftest.", or (3) at the end.
8796   # Note that $ac_compile itself does not contain backslashes and begins
8797   # with a dollar sign (not a hyphen), so the echo should work correctly.
8798   # The option is referenced via a variable to avoid confusing sed.
8799   lt_compile=`echo "$ac_compile" | $SED \
8800   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8801   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8802   -e 's:$: $lt_compiler_flag:'`
8803   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8804   (eval "$lt_compile" 2>conftest.err)
8805   ac_status=$?
8806   cat conftest.err >&5
8807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8808   if (exit $ac_status) && test -s "$ac_outfile"; then
8809     # The compiler can only warn and ignore the option if not recognized
8810     # So say no if there are warnings other than the usual output.
8811     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8812     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8813     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8814       lt_cv_prog_compiler_pic_works=yes
8815     fi
8816   fi
8817   $RM conftest*
8818
8819fi
8820{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8821$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8822
8823if test yes = "$lt_cv_prog_compiler_pic_works"; then
8824    case $lt_prog_compiler_pic in
8825     "" | " "*) ;;
8826     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8827     esac
8828else
8829    lt_prog_compiler_pic=
8830     lt_prog_compiler_can_build_shared=no
8831fi
8832
8833fi
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845#
8846# Check to make sure the static flag actually works.
8847#
8848wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8849{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8850$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8851if ${lt_cv_prog_compiler_static_works+:} false; then :
8852  $as_echo_n "(cached) " >&6
8853else
8854  lt_cv_prog_compiler_static_works=no
8855   save_LDFLAGS=$LDFLAGS
8856   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8857   echo "$lt_simple_link_test_code" > conftest.$ac_ext
8858   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8859     # The linker can only warn and ignore the option if not recognized
8860     # So say no if there are warnings
8861     if test -s conftest.err; then
8862       # Append any errors to the config.log.
8863       cat conftest.err 1>&5
8864       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8865       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8866       if diff conftest.exp conftest.er2 >/dev/null; then
8867         lt_cv_prog_compiler_static_works=yes
8868       fi
8869     else
8870       lt_cv_prog_compiler_static_works=yes
8871     fi
8872   fi
8873   $RM -r conftest*
8874   LDFLAGS=$save_LDFLAGS
8875
8876fi
8877{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8878$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8879
8880if test yes = "$lt_cv_prog_compiler_static_works"; then
8881    :
8882else
8883    lt_prog_compiler_static=
8884fi
8885
8886
8887
8888
8889
8890
8891
8892  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8893$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8894if ${lt_cv_prog_compiler_c_o+:} false; then :
8895  $as_echo_n "(cached) " >&6
8896else
8897  lt_cv_prog_compiler_c_o=no
8898   $RM -r conftest 2>/dev/null
8899   mkdir conftest
8900   cd conftest
8901   mkdir out
8902   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8903
8904   lt_compiler_flag="-o out/conftest2.$ac_objext"
8905   # Insert the option either (1) after the last *FLAGS variable, or
8906   # (2) before a word containing "conftest.", or (3) at the end.
8907   # Note that $ac_compile itself does not contain backslashes and begins
8908   # with a dollar sign (not a hyphen), so the echo should work correctly.
8909   lt_compile=`echo "$ac_compile" | $SED \
8910   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8911   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8912   -e 's:$: $lt_compiler_flag:'`
8913   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8914   (eval "$lt_compile" 2>out/conftest.err)
8915   ac_status=$?
8916   cat out/conftest.err >&5
8917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8918   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8919   then
8920     # The compiler can only warn and ignore the option if not recognized
8921     # So say no if there are warnings
8922     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8923     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8924     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8925       lt_cv_prog_compiler_c_o=yes
8926     fi
8927   fi
8928   chmod u+w . 2>&5
8929   $RM conftest*
8930   # SGI C++ compiler will create directory out/ii_files/ for
8931   # template instantiation
8932   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8933   $RM out/* && rmdir out
8934   cd ..
8935   $RM -r conftest
8936   $RM conftest*
8937
8938fi
8939{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8940$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8941
8942
8943
8944
8945
8946
8947  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8948$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8949if ${lt_cv_prog_compiler_c_o+:} false; then :
8950  $as_echo_n "(cached) " >&6
8951else
8952  lt_cv_prog_compiler_c_o=no
8953   $RM -r conftest 2>/dev/null
8954   mkdir conftest
8955   cd conftest
8956   mkdir out
8957   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8958
8959   lt_compiler_flag="-o out/conftest2.$ac_objext"
8960   # Insert the option either (1) after the last *FLAGS variable, or
8961   # (2) before a word containing "conftest.", or (3) at the end.
8962   # Note that $ac_compile itself does not contain backslashes and begins
8963   # with a dollar sign (not a hyphen), so the echo should work correctly.
8964   lt_compile=`echo "$ac_compile" | $SED \
8965   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8966   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8967   -e 's:$: $lt_compiler_flag:'`
8968   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8969   (eval "$lt_compile" 2>out/conftest.err)
8970   ac_status=$?
8971   cat out/conftest.err >&5
8972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8973   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8974   then
8975     # The compiler can only warn and ignore the option if not recognized
8976     # So say no if there are warnings
8977     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8978     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8979     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8980       lt_cv_prog_compiler_c_o=yes
8981     fi
8982   fi
8983   chmod u+w . 2>&5
8984   $RM conftest*
8985   # SGI C++ compiler will create directory out/ii_files/ for
8986   # template instantiation
8987   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8988   $RM out/* && rmdir out
8989   cd ..
8990   $RM -r conftest
8991   $RM conftest*
8992
8993fi
8994{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8995$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8996
8997
8998
8999
9000hard_links=nottested
9001if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
9002  # do not overwrite the value of need_locks provided by the user
9003  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9004$as_echo_n "checking if we can lock with hard links... " >&6; }
9005  hard_links=yes
9006  $RM conftest*
9007  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9008  touch conftest.a
9009  ln conftest.a conftest.b 2>&5 || hard_links=no
9010  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9011  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9012$as_echo "$hard_links" >&6; }
9013  if test no = "$hard_links"; then
9014    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
9015$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
9016    need_locks=warn
9017  fi
9018else
9019  need_locks=no
9020fi
9021
9022
9023
9024
9025
9026
9027  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9028$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9029
9030  runpath_var=
9031  allow_undefined_flag=
9032  always_export_symbols=no
9033  archive_cmds=
9034  archive_expsym_cmds=
9035  compiler_needs_object=no
9036  enable_shared_with_static_runtimes=no
9037  export_dynamic_flag_spec=
9038  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9039  hardcode_automatic=no
9040  hardcode_direct=no
9041  hardcode_direct_absolute=no
9042  hardcode_libdir_flag_spec=
9043  hardcode_libdir_separator=
9044  hardcode_minus_L=no
9045  hardcode_shlibpath_var=unsupported
9046  inherit_rpath=no
9047  link_all_deplibs=unknown
9048  module_cmds=
9049  module_expsym_cmds=
9050  old_archive_from_new_cmds=
9051  old_archive_from_expsyms_cmds=
9052  thread_safe_flag_spec=
9053  whole_archive_flag_spec=
9054  # include_expsyms should be a list of space-separated symbols to be *always*
9055  # included in the symbol list
9056  include_expsyms=
9057  # exclude_expsyms can be an extended regexp of symbols to exclude
9058  # it will be wrapped by ' (' and ')$', so one must not match beginning or
9059  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9060  # as well as any symbol that contains 'd'.
9061  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9062  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9063  # platforms (ab)use it in PIC code, but their linkers get confused if
9064  # the symbol is explicitly referenced.  Since portable code cannot
9065  # rely on this symbol name, it's probably fine to never include it in
9066  # preloaded symbol tables.
9067  # Exclude shared library initialization/finalization symbols.
9068  extract_expsyms_cmds=
9069
9070  case $host_os in
9071  cygwin* | mingw* | pw32* | cegcc*)
9072    # FIXME: the MSVC++ port hasn't been tested in a loooong time
9073    # When not using gcc, we currently assume that we are using
9074    # Microsoft Visual C++.
9075    if test yes != "$GCC"; then
9076      with_gnu_ld=no
9077    fi
9078    ;;
9079  interix*)
9080    # we just hope/assume this is gcc and not c89 (= MSVC++)
9081    with_gnu_ld=yes
9082    ;;
9083  openbsd* | bitrig*)
9084    with_gnu_ld=no
9085    ;;
9086  esac
9087
9088  ld_shlibs=yes
9089
9090  # On some targets, GNU ld is compatible enough with the native linker
9091  # that we're better off using the native interface for both.
9092  lt_use_gnu_ld_interface=no
9093  if test yes = "$with_gnu_ld"; then
9094    case $host_os in
9095      aix*)
9096	# The AIX port of GNU ld has always aspired to compatibility
9097	# with the native linker.  However, as the warning in the GNU ld
9098	# block says, versions before 2.19.5* couldn't really create working
9099	# shared libraries, regardless of the interface used.
9100	case `$LD -v 2>&1` in
9101	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9102	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9103	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9104	  *)
9105	    lt_use_gnu_ld_interface=yes
9106	    ;;
9107	esac
9108	;;
9109      *)
9110	lt_use_gnu_ld_interface=yes
9111	;;
9112    esac
9113  fi
9114
9115  if test yes = "$lt_use_gnu_ld_interface"; then
9116    # If archive_cmds runs LD, not CC, wlarc should be empty
9117    wlarc='$wl'
9118
9119    # Set some defaults for GNU ld with shared library support. These
9120    # are reset later if shared libraries are not supported. Putting them
9121    # here allows them to be overridden if necessary.
9122    runpath_var=LD_RUN_PATH
9123    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9124    export_dynamic_flag_spec='$wl--export-dynamic'
9125    # ancient GNU ld didn't support --whole-archive et. al.
9126    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9127      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9128    else
9129      whole_archive_flag_spec=
9130    fi
9131    supports_anon_versioning=no
9132    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9133      *GNU\ gold*) supports_anon_versioning=yes ;;
9134      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9135      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9136      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9137      *\ 2.11.*) ;; # other 2.11 versions
9138      *) supports_anon_versioning=yes ;;
9139    esac
9140
9141    # See if GNU ld supports shared libraries.
9142    case $host_os in
9143    aix[3-9]*)
9144      # On AIX/PPC, the GNU linker is very broken
9145      if test ia64 != "$host_cpu"; then
9146	ld_shlibs=no
9147	cat <<_LT_EOF 1>&2
9148
9149*** Warning: the GNU linker, at least up to release 2.19, is reported
9150*** to be unable to reliably create shared libraries on AIX.
9151*** Therefore, libtool is disabling shared libraries support.  If you
9152*** really care for shared libraries, you may want to install binutils
9153*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9154*** You will then need to restart the configuration process.
9155
9156_LT_EOF
9157      fi
9158      ;;
9159
9160    amigaos*)
9161      case $host_cpu in
9162      powerpc)
9163            # see comment about AmigaOS4 .so support
9164            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9165            archive_expsym_cmds=''
9166        ;;
9167      m68k)
9168            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)'
9169            hardcode_libdir_flag_spec='-L$libdir'
9170            hardcode_minus_L=yes
9171        ;;
9172      esac
9173      ;;
9174
9175    beos*)
9176      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9177	allow_undefined_flag=unsupported
9178	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9179	# support --undefined.  This deserves some investigation.  FIXME
9180	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9181      else
9182	ld_shlibs=no
9183      fi
9184      ;;
9185
9186    cygwin* | mingw* | pw32* | cegcc*)
9187      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9188      # as there is no search path for DLLs.
9189      hardcode_libdir_flag_spec='-L$libdir'
9190      export_dynamic_flag_spec='$wl--export-all-symbols'
9191      allow_undefined_flag=unsupported
9192      always_export_symbols=no
9193      enable_shared_with_static_runtimes=yes
9194      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'
9195      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9196
9197      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9198        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9199	# If the export-symbols file already is a .def file, use it as
9200	# is; otherwise, prepend EXPORTS...
9201	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
9202          cp $export_symbols $output_objdir/$soname.def;
9203        else
9204          echo EXPORTS > $output_objdir/$soname.def;
9205          cat $export_symbols >> $output_objdir/$soname.def;
9206        fi~
9207        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9208      else
9209	ld_shlibs=no
9210      fi
9211      ;;
9212
9213    haiku*)
9214      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9215      link_all_deplibs=yes
9216      ;;
9217
9218    os2*)
9219      hardcode_libdir_flag_spec='-L$libdir'
9220      hardcode_minus_L=yes
9221      allow_undefined_flag=unsupported
9222      shrext_cmds=.dll
9223      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9224	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9225	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9226	$ECHO EXPORTS >> $output_objdir/$libname.def~
9227	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9228	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9229	emximp -o $lib $output_objdir/$libname.def'
9230      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9231	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9232	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9233	$ECHO EXPORTS >> $output_objdir/$libname.def~
9234	prefix_cmds="$SED"~
9235	if test EXPORTS = "`$SED 1q $export_symbols`"; then
9236	  prefix_cmds="$prefix_cmds -e 1d";
9237	fi~
9238	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9239	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9240	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9241	emximp -o $lib $output_objdir/$libname.def'
9242      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9243      enable_shared_with_static_runtimes=yes
9244      ;;
9245
9246    interix[3-9]*)
9247      hardcode_direct=no
9248      hardcode_shlibpath_var=no
9249      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9250      export_dynamic_flag_spec='$wl-E'
9251      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9252      # Instead, shared libraries are loaded at an image base (0x10000000 by
9253      # default) and relocated if they conflict, which is a slow very memory
9254      # consuming and fragmenting process.  To avoid this, we pick a random,
9255      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9256      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9257      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9258      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'
9259      ;;
9260
9261    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9262      tmp_diet=no
9263      if test linux-dietlibc = "$host_os"; then
9264	case $cc_basename in
9265	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
9266	esac
9267      fi
9268      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9269	 && test no = "$tmp_diet"
9270      then
9271	tmp_addflag=' $pic_flag'
9272	tmp_sharedflag='-shared'
9273	case $cc_basename,$host_cpu in
9274        pgcc*)				# Portland Group C compiler
9275	  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'
9276	  tmp_addflag=' $pic_flag'
9277	  ;;
9278	pgf77* | pgf90* | pgf95* | pgfortran*)
9279					# Portland Group f77 and f90 compilers
9280	  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'
9281	  tmp_addflag=' $pic_flag -Mnomain' ;;
9282	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
9283	  tmp_addflag=' -i_dynamic' ;;
9284	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
9285	  tmp_addflag=' -i_dynamic -nofor_main' ;;
9286	ifc* | ifort*)			# Intel Fortran compiler
9287	  tmp_addflag=' -nofor_main' ;;
9288	lf95*)				# Lahey Fortran 8.1
9289	  whole_archive_flag_spec=
9290	  tmp_sharedflag='--shared' ;;
9291        nagfor*)                        # NAGFOR 5.3
9292          tmp_sharedflag='-Wl,-shared' ;;
9293	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9294	  tmp_sharedflag='-qmkshrobj'
9295	  tmp_addflag= ;;
9296	nvcc*)	# Cuda Compiler Driver 2.2
9297	  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'
9298	  compiler_needs_object=yes
9299	  ;;
9300	esac
9301	case `$CC -V 2>&1 | sed 5q` in
9302	*Sun\ C*)			# Sun C 5.9
9303	  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'
9304	  compiler_needs_object=yes
9305	  tmp_sharedflag='-G' ;;
9306	*Sun\ F*)			# Sun Fortran 8.3
9307	  tmp_sharedflag='-G' ;;
9308	esac
9309	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9310
9311        if test yes = "$supports_anon_versioning"; then
9312          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9313            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9314            echo "local: *; };" >> $output_objdir/$libname.ver~
9315            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
9316        fi
9317
9318	case $cc_basename in
9319	tcc*)
9320	  export_dynamic_flag_spec='-rdynamic'
9321	  ;;
9322	xlf* | bgf* | bgxlf* | mpixlf*)
9323	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9324	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9325	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9326	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9327	  if test yes = "$supports_anon_versioning"; then
9328	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9329              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9330              echo "local: *; };" >> $output_objdir/$libname.ver~
9331              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9332	  fi
9333	  ;;
9334	esac
9335      else
9336        ld_shlibs=no
9337      fi
9338      ;;
9339
9340    netbsd*)
9341      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9342	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9343	wlarc=
9344      else
9345	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9346	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9347      fi
9348      ;;
9349
9350    solaris*)
9351      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9352	ld_shlibs=no
9353	cat <<_LT_EOF 1>&2
9354
9355*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9356*** create shared libraries on Solaris systems.  Therefore, libtool
9357*** is disabling shared libraries support.  We urge you to upgrade GNU
9358*** binutils to release 2.9.1 or newer.  Another option is to modify
9359*** your PATH or compiler configuration so that the native linker is
9360*** used, and then restart.
9361
9362_LT_EOF
9363      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9364	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9365	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9366      else
9367	ld_shlibs=no
9368      fi
9369      ;;
9370
9371    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9372      case `$LD -v 2>&1` in
9373        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9374	ld_shlibs=no
9375	cat <<_LT_EOF 1>&2
9376
9377*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
9378*** reliably create shared libraries on SCO systems.  Therefore, libtool
9379*** is disabling shared libraries support.  We urge you to upgrade GNU
9380*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9381*** your PATH or compiler configuration so that the native linker is
9382*** used, and then restart.
9383
9384_LT_EOF
9385	;;
9386	*)
9387	  # For security reasons, it is highly recommended that you always
9388	  # use absolute paths for naming shared libraries, and exclude the
9389	  # DT_RUNPATH tag from executables and libraries.  But doing so
9390	  # requires that you compile everything twice, which is a pain.
9391	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9392	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9393	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9394	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9395	  else
9396	    ld_shlibs=no
9397	  fi
9398	;;
9399      esac
9400      ;;
9401
9402    sunos4*)
9403      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9404      wlarc=
9405      hardcode_direct=yes
9406      hardcode_shlibpath_var=no
9407      ;;
9408
9409    *)
9410      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9411	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9412	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9413      else
9414	ld_shlibs=no
9415      fi
9416      ;;
9417    esac
9418
9419    if test no = "$ld_shlibs"; then
9420      runpath_var=
9421      hardcode_libdir_flag_spec=
9422      export_dynamic_flag_spec=
9423      whole_archive_flag_spec=
9424    fi
9425  else
9426    # PORTME fill in a description of your system's linker (not GNU ld)
9427    case $host_os in
9428    aix3*)
9429      allow_undefined_flag=unsupported
9430      always_export_symbols=yes
9431      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'
9432      # Note: this linker hardcodes the directories in LIBPATH if there
9433      # are no directories specified by -L.
9434      hardcode_minus_L=yes
9435      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
9436	# Neither direct hardcoding nor static linking is supported with a
9437	# broken collect2.
9438	hardcode_direct=unsupported
9439      fi
9440      ;;
9441
9442    aix[4-9]*)
9443      if test ia64 = "$host_cpu"; then
9444	# On IA64, the linker does run time linking by default, so we don't
9445	# have to do anything special.
9446	aix_use_runtimelinking=no
9447	exp_sym_flag='-Bexport'
9448	no_entry_flag=
9449      else
9450	# If we're using GNU nm, then we don't want the "-C" option.
9451	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
9452	# Without the "-l" option, or with the "-B" option, AIX nm treats
9453	# weak defined symbols like other global defined symbols, whereas
9454	# GNU nm marks them as "W".
9455	# While the 'weak' keyword is ignored in the Export File, we need
9456	# it in the Import File for the 'aix-soname' feature, so we have
9457	# to replace the "-B" option with "-P" for AIX nm.
9458	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9459	  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'
9460	else
9461	  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'
9462	fi
9463	aix_use_runtimelinking=no
9464
9465	# Test if we are trying to use run time linking or normal
9466	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
9467	# have runtime linking enabled, and use it for executables.
9468	# For shared libraries, we enable/disable runtime linking
9469	# depending on the kind of the shared library created -
9470	# when "with_aix_soname,aix_use_runtimelinking" is:
9471	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
9472	# "aix,yes"  lib.so          shared, rtl:yes, for executables
9473	#            lib.a           static archive
9474	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
9475	#            lib.a(lib.so.V) shared, rtl:no,  for executables
9476	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
9477	#            lib.a(lib.so.V) shared, rtl:no
9478	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
9479	#            lib.a           static archive
9480	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9481	  for ld_flag in $LDFLAGS; do
9482	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
9483	    aix_use_runtimelinking=yes
9484	    break
9485	  fi
9486	  done
9487	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
9488	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
9489	    # so we don't have lib.a shared libs to link our executables.
9490	    # We have to force runtime linking in this case.
9491	    aix_use_runtimelinking=yes
9492	    LDFLAGS="$LDFLAGS -Wl,-brtl"
9493	  fi
9494	  ;;
9495	esac
9496
9497	exp_sym_flag='-bexport'
9498	no_entry_flag='-bnoentry'
9499      fi
9500
9501      # When large executables or shared objects are built, AIX ld can
9502      # have problems creating the table of contents.  If linking a library
9503      # or program results in "error TOC overflow" add -mminimal-toc to
9504      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9505      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9506
9507      archive_cmds=''
9508      hardcode_direct=yes
9509      hardcode_direct_absolute=yes
9510      hardcode_libdir_separator=':'
9511      link_all_deplibs=yes
9512      file_list_spec='$wl-f,'
9513      case $with_aix_soname,$aix_use_runtimelinking in
9514      aix,*) ;; # traditional, no import file
9515      svr4,* | *,yes) # use import file
9516	# The Import File defines what to hardcode.
9517	hardcode_direct=no
9518	hardcode_direct_absolute=no
9519	;;
9520      esac
9521
9522      if test yes = "$GCC"; then
9523	case $host_os in aix4.[012]|aix4.[012].*)
9524	# We only want to do this on AIX 4.2 and lower, the check
9525	# below for broken collect2 doesn't work under 4.3+
9526	  collect2name=`$CC -print-prog-name=collect2`
9527	  if test -f "$collect2name" &&
9528	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9529	  then
9530	  # We have reworked collect2
9531	  :
9532	  else
9533	  # We have old collect2
9534	  hardcode_direct=unsupported
9535	  # It fails to find uninstalled libraries when the uninstalled
9536	  # path is not listed in the libpath.  Setting hardcode_minus_L
9537	  # to unsupported forces relinking
9538	  hardcode_minus_L=yes
9539	  hardcode_libdir_flag_spec='-L$libdir'
9540	  hardcode_libdir_separator=
9541	  fi
9542	  ;;
9543	esac
9544	shared_flag='-shared'
9545	if test yes = "$aix_use_runtimelinking"; then
9546	  shared_flag="$shared_flag "'$wl-G'
9547	fi
9548	# Need to ensure runtime linking is disabled for the traditional
9549	# shared library, or the linker may eventually find shared libraries
9550	# /with/ Import File - we do not want to mix them.
9551	shared_flag_aix='-shared'
9552	shared_flag_svr4='-shared $wl-G'
9553      else
9554	# not using gcc
9555	if test ia64 = "$host_cpu"; then
9556	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9557	# chokes on -Wl,-G. The following line is correct:
9558	  shared_flag='-G'
9559	else
9560	  if test yes = "$aix_use_runtimelinking"; then
9561	    shared_flag='$wl-G'
9562	  else
9563	    shared_flag='$wl-bM:SRE'
9564	  fi
9565	  shared_flag_aix='$wl-bM:SRE'
9566	  shared_flag_svr4='$wl-G'
9567	fi
9568      fi
9569
9570      export_dynamic_flag_spec='$wl-bexpall'
9571      # It seems that -bexpall does not export symbols beginning with
9572      # underscore (_), so it is better to generate a list of symbols to export.
9573      always_export_symbols=yes
9574      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
9575	# Warning - without using the other runtime loading flags (-brtl),
9576	# -berok will link without error, but may produce a broken library.
9577	allow_undefined_flag='-berok'
9578        # Determine the default libpath from the value encoded in an
9579        # empty executable.
9580        if test set = "${lt_cv_aix_libpath+set}"; then
9581  aix_libpath=$lt_cv_aix_libpath
9582else
9583  if ${lt_cv_aix_libpath_+:} false; then :
9584  $as_echo_n "(cached) " >&6
9585else
9586  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9587/* end confdefs.h.  */
9588
9589int
9590main ()
9591{
9592
9593  ;
9594  return 0;
9595}
9596_ACEOF
9597if ac_fn_c_try_link "$LINENO"; then :
9598
9599  lt_aix_libpath_sed='
9600      /Import File Strings/,/^$/ {
9601	  /^0/ {
9602	      s/^0  *\([^ ]*\) *$/\1/
9603	      p
9604	  }
9605      }'
9606  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9607  # Check for a 64-bit object if we didn't find anything.
9608  if test -z "$lt_cv_aix_libpath_"; then
9609    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9610  fi
9611fi
9612rm -f core conftest.err conftest.$ac_objext \
9613    conftest$ac_exeext conftest.$ac_ext
9614  if test -z "$lt_cv_aix_libpath_"; then
9615    lt_cv_aix_libpath_=/usr/lib:/lib
9616  fi
9617
9618fi
9619
9620  aix_libpath=$lt_cv_aix_libpath_
9621fi
9622
9623        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9624        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
9625      else
9626	if test ia64 = "$host_cpu"; then
9627	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
9628	  allow_undefined_flag="-z nodefs"
9629	  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"
9630	else
9631	 # Determine the default libpath from the value encoded in an
9632	 # empty executable.
9633	 if test set = "${lt_cv_aix_libpath+set}"; then
9634  aix_libpath=$lt_cv_aix_libpath
9635else
9636  if ${lt_cv_aix_libpath_+:} false; then :
9637  $as_echo_n "(cached) " >&6
9638else
9639  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9640/* end confdefs.h.  */
9641
9642int
9643main ()
9644{
9645
9646  ;
9647  return 0;
9648}
9649_ACEOF
9650if ac_fn_c_try_link "$LINENO"; then :
9651
9652  lt_aix_libpath_sed='
9653      /Import File Strings/,/^$/ {
9654	  /^0/ {
9655	      s/^0  *\([^ ]*\) *$/\1/
9656	      p
9657	  }
9658      }'
9659  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9660  # Check for a 64-bit object if we didn't find anything.
9661  if test -z "$lt_cv_aix_libpath_"; then
9662    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9663  fi
9664fi
9665rm -f core conftest.err conftest.$ac_objext \
9666    conftest$ac_exeext conftest.$ac_ext
9667  if test -z "$lt_cv_aix_libpath_"; then
9668    lt_cv_aix_libpath_=/usr/lib:/lib
9669  fi
9670
9671fi
9672
9673  aix_libpath=$lt_cv_aix_libpath_
9674fi
9675
9676	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9677	  # Warning - without using the other run time loading flags,
9678	  # -berok will link without error, but may produce a broken library.
9679	  no_undefined_flag=' $wl-bernotok'
9680	  allow_undefined_flag=' $wl-berok'
9681	  if test yes = "$with_gnu_ld"; then
9682	    # We only use this code for GNU lds that support --whole-archive.
9683	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
9684	  else
9685	    # Exported symbols can be pulled into shared objects from archives
9686	    whole_archive_flag_spec='$convenience'
9687	  fi
9688	  archive_cmds_need_lc=yes
9689	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
9690	  # -brtl affects multiple linker settings, -berok does not and is overridden later
9691	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
9692	  if test svr4 != "$with_aix_soname"; then
9693	    # This is similar to how AIX traditionally builds its shared libraries.
9694	    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'
9695	  fi
9696	  if test aix != "$with_aix_soname"; then
9697	    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'
9698	  else
9699	    # used by -dlpreopen to get the symbols
9700	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
9701	  fi
9702	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
9703	fi
9704      fi
9705      ;;
9706
9707    amigaos*)
9708      case $host_cpu in
9709      powerpc)
9710            # see comment about AmigaOS4 .so support
9711            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9712            archive_expsym_cmds=''
9713        ;;
9714      m68k)
9715            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)'
9716            hardcode_libdir_flag_spec='-L$libdir'
9717            hardcode_minus_L=yes
9718        ;;
9719      esac
9720      ;;
9721
9722    bsdi[45]*)
9723      export_dynamic_flag_spec=-rdynamic
9724      ;;
9725
9726    cygwin* | mingw* | pw32* | cegcc*)
9727      # When not using gcc, we currently assume that we are using
9728      # Microsoft Visual C++.
9729      # hardcode_libdir_flag_spec is actually meaningless, as there is
9730      # no search path for DLLs.
9731      case $cc_basename in
9732      cl*)
9733	# Native MSVC
9734	hardcode_libdir_flag_spec=' '
9735	allow_undefined_flag=unsupported
9736	always_export_symbols=yes
9737	file_list_spec='@'
9738	# Tell ltmain to make .lib files, not .a files.
9739	libext=lib
9740	# Tell ltmain to make .dll files, not .so files.
9741	shrext_cmds=.dll
9742	# FIXME: Setting linknames here is a bad hack.
9743	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
9744	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
9745            cp "$export_symbols" "$output_objdir/$soname.def";
9746            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
9747          else
9748            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
9749          fi~
9750          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9751          linknames='
9752	# The linker will not automatically build a static lib if we build a DLL.
9753	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9754	enable_shared_with_static_runtimes=yes
9755	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9756	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9757	# Don't use ranlib
9758	old_postinstall_cmds='chmod 644 $oldlib'
9759	postlink_cmds='lt_outputfile="@OUTPUT@"~
9760          lt_tool_outputfile="@TOOL_OUTPUT@"~
9761          case $lt_outputfile in
9762            *.exe|*.EXE) ;;
9763            *)
9764              lt_outputfile=$lt_outputfile.exe
9765              lt_tool_outputfile=$lt_tool_outputfile.exe
9766              ;;
9767          esac~
9768          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
9769            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9770            $RM "$lt_outputfile.manifest";
9771          fi'
9772	;;
9773      *)
9774	# Assume MSVC wrapper
9775	hardcode_libdir_flag_spec=' '
9776	allow_undefined_flag=unsupported
9777	# Tell ltmain to make .lib files, not .a files.
9778	libext=lib
9779	# Tell ltmain to make .dll files, not .so files.
9780	shrext_cmds=.dll
9781	# FIXME: Setting linknames here is a bad hack.
9782	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9783	# The linker will automatically build a .lib file if we build a DLL.
9784	old_archive_from_new_cmds='true'
9785	# FIXME: Should let the user specify the lib program.
9786	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9787	enable_shared_with_static_runtimes=yes
9788	;;
9789      esac
9790      ;;
9791
9792    darwin* | rhapsody*)
9793
9794
9795  archive_cmds_need_lc=no
9796  hardcode_direct=no
9797  hardcode_automatic=yes
9798  hardcode_shlibpath_var=unsupported
9799  if test yes = "$lt_cv_ld_force_load"; then
9800    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\"`'
9801
9802  else
9803    whole_archive_flag_spec=''
9804  fi
9805  link_all_deplibs=yes
9806  allow_undefined_flag=$_lt_dar_allow_undefined
9807  case $cc_basename in
9808     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
9809     *) _lt_dar_can_shared=$GCC ;;
9810  esac
9811  if test yes = "$_lt_dar_can_shared"; then
9812    output_verbose_link_cmd=func_echo_all
9813    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
9814    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
9815    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"
9816    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"
9817
9818  else
9819  ld_shlibs=no
9820  fi
9821
9822      ;;
9823
9824    dgux*)
9825      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9826      hardcode_libdir_flag_spec='-L$libdir'
9827      hardcode_shlibpath_var=no
9828      ;;
9829
9830    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9831    # support.  Future versions do this automatically, but an explicit c++rt0.o
9832    # does not break anything, and helps significantly (at the cost of a little
9833    # extra space).
9834    freebsd2.2*)
9835      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9836      hardcode_libdir_flag_spec='-R$libdir'
9837      hardcode_direct=yes
9838      hardcode_shlibpath_var=no
9839      ;;
9840
9841    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9842    freebsd2.*)
9843      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9844      hardcode_direct=yes
9845      hardcode_minus_L=yes
9846      hardcode_shlibpath_var=no
9847      ;;
9848
9849    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9850    freebsd* | dragonfly*)
9851      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9852      hardcode_libdir_flag_spec='-R$libdir'
9853      hardcode_direct=yes
9854      hardcode_shlibpath_var=no
9855      ;;
9856
9857    hpux9*)
9858      if test yes = "$GCC"; then
9859	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'
9860      else
9861	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'
9862      fi
9863      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
9864      hardcode_libdir_separator=:
9865      hardcode_direct=yes
9866
9867      # hardcode_minus_L: Not really in the search PATH,
9868      # but as the default location of the library.
9869      hardcode_minus_L=yes
9870      export_dynamic_flag_spec='$wl-E'
9871      ;;
9872
9873    hpux10*)
9874      if test yes,no = "$GCC,$with_gnu_ld"; then
9875	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9876      else
9877	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9878      fi
9879      if test no = "$with_gnu_ld"; then
9880	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
9881	hardcode_libdir_separator=:
9882	hardcode_direct=yes
9883	hardcode_direct_absolute=yes
9884	export_dynamic_flag_spec='$wl-E'
9885	# hardcode_minus_L: Not really in the search PATH,
9886	# but as the default location of the library.
9887	hardcode_minus_L=yes
9888      fi
9889      ;;
9890
9891    hpux11*)
9892      if test yes,no = "$GCC,$with_gnu_ld"; then
9893	case $host_cpu in
9894	hppa*64*)
9895	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9896	  ;;
9897	ia64*)
9898	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9899	  ;;
9900	*)
9901	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9902	  ;;
9903	esac
9904      else
9905	case $host_cpu in
9906	hppa*64*)
9907	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9908	  ;;
9909	ia64*)
9910	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9911	  ;;
9912	*)
9913
9914	  # Older versions of the 11.00 compiler do not understand -b yet
9915	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9916	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9917$as_echo_n "checking if $CC understands -b... " >&6; }
9918if ${lt_cv_prog_compiler__b+:} false; then :
9919  $as_echo_n "(cached) " >&6
9920else
9921  lt_cv_prog_compiler__b=no
9922   save_LDFLAGS=$LDFLAGS
9923   LDFLAGS="$LDFLAGS -b"
9924   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9925   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9926     # The linker can only warn and ignore the option if not recognized
9927     # So say no if there are warnings
9928     if test -s conftest.err; then
9929       # Append any errors to the config.log.
9930       cat conftest.err 1>&5
9931       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9932       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9933       if diff conftest.exp conftest.er2 >/dev/null; then
9934         lt_cv_prog_compiler__b=yes
9935       fi
9936     else
9937       lt_cv_prog_compiler__b=yes
9938     fi
9939   fi
9940   $RM -r conftest*
9941   LDFLAGS=$save_LDFLAGS
9942
9943fi
9944{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9945$as_echo "$lt_cv_prog_compiler__b" >&6; }
9946
9947if test yes = "$lt_cv_prog_compiler__b"; then
9948    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9949else
9950    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9951fi
9952
9953	  ;;
9954	esac
9955      fi
9956      if test no = "$with_gnu_ld"; then
9957	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
9958	hardcode_libdir_separator=:
9959
9960	case $host_cpu in
9961	hppa*64*|ia64*)
9962	  hardcode_direct=no
9963	  hardcode_shlibpath_var=no
9964	  ;;
9965	*)
9966	  hardcode_direct=yes
9967	  hardcode_direct_absolute=yes
9968	  export_dynamic_flag_spec='$wl-E'
9969
9970	  # hardcode_minus_L: Not really in the search PATH,
9971	  # but as the default location of the library.
9972	  hardcode_minus_L=yes
9973	  ;;
9974	esac
9975      fi
9976      ;;
9977
9978    irix5* | irix6* | nonstopux*)
9979      if test yes = "$GCC"; then
9980	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'
9981	# Try to use the -exported_symbol ld option, if it does not
9982	# work, assume that -exports_file does not work either and
9983	# implicitly export all symbols.
9984	# This should be the same for all languages, so no per-tag cache variable.
9985	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9986$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9987if ${lt_cv_irix_exported_symbol+:} false; then :
9988  $as_echo_n "(cached) " >&6
9989else
9990  save_LDFLAGS=$LDFLAGS
9991	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
9992	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9993/* end confdefs.h.  */
9994int foo (void) { return 0; }
9995_ACEOF
9996if ac_fn_c_try_link "$LINENO"; then :
9997  lt_cv_irix_exported_symbol=yes
9998else
9999  lt_cv_irix_exported_symbol=no
10000fi
10001rm -f core conftest.err conftest.$ac_objext \
10002    conftest$ac_exeext conftest.$ac_ext
10003           LDFLAGS=$save_LDFLAGS
10004fi
10005{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10006$as_echo "$lt_cv_irix_exported_symbol" >&6; }
10007	if test yes = "$lt_cv_irix_exported_symbol"; then
10008          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'
10009	fi
10010      else
10011	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'
10012	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'
10013      fi
10014      archive_cmds_need_lc='no'
10015      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10016      hardcode_libdir_separator=:
10017      inherit_rpath=yes
10018      link_all_deplibs=yes
10019      ;;
10020
10021    linux*)
10022      case $cc_basename in
10023      tcc*)
10024	# Fabrice Bellard et al's Tiny C Compiler
10025	ld_shlibs=yes
10026	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10027	;;
10028      esac
10029      ;;
10030
10031    netbsd*)
10032      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10033	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10034      else
10035	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10036      fi
10037      hardcode_libdir_flag_spec='-R$libdir'
10038      hardcode_direct=yes
10039      hardcode_shlibpath_var=no
10040      ;;
10041
10042    newsos6)
10043      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10044      hardcode_direct=yes
10045      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10046      hardcode_libdir_separator=:
10047      hardcode_shlibpath_var=no
10048      ;;
10049
10050    *nto* | *qnx*)
10051      ;;
10052
10053    openbsd* | bitrig*)
10054      if test -f /usr/libexec/ld.so; then
10055	hardcode_direct=yes
10056	hardcode_shlibpath_var=no
10057	hardcode_direct_absolute=yes
10058	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10059	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10060	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10061	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10062	  export_dynamic_flag_spec='$wl-E'
10063	else
10064	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10065	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10066	fi
10067      else
10068	ld_shlibs=no
10069      fi
10070      ;;
10071
10072    os2*)
10073      hardcode_libdir_flag_spec='-L$libdir'
10074      hardcode_minus_L=yes
10075      allow_undefined_flag=unsupported
10076      shrext_cmds=.dll
10077      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10078	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10079	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10080	$ECHO EXPORTS >> $output_objdir/$libname.def~
10081	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10082	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10083	emximp -o $lib $output_objdir/$libname.def'
10084      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10085	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10086	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10087	$ECHO EXPORTS >> $output_objdir/$libname.def~
10088	prefix_cmds="$SED"~
10089	if test EXPORTS = "`$SED 1q $export_symbols`"; then
10090	  prefix_cmds="$prefix_cmds -e 1d";
10091	fi~
10092	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10093	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10094	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10095	emximp -o $lib $output_objdir/$libname.def'
10096      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10097      enable_shared_with_static_runtimes=yes
10098      ;;
10099
10100    osf3*)
10101      if test yes = "$GCC"; then
10102	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10103	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'
10104      else
10105	allow_undefined_flag=' -expect_unresolved \*'
10106	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'
10107      fi
10108      archive_cmds_need_lc='no'
10109      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10110      hardcode_libdir_separator=:
10111      ;;
10112
10113    osf4* | osf5*)	# as osf3* with the addition of -msym flag
10114      if test yes = "$GCC"; then
10115	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10116	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'
10117	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10118      else
10119	allow_undefined_flag=' -expect_unresolved \*'
10120	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'
10121	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~
10122          $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'
10123
10124	# Both c and cxx compiler support -rpath directly
10125	hardcode_libdir_flag_spec='-rpath $libdir'
10126      fi
10127      archive_cmds_need_lc='no'
10128      hardcode_libdir_separator=:
10129      ;;
10130
10131    solaris*)
10132      no_undefined_flag=' -z defs'
10133      if test yes = "$GCC"; then
10134	wlarc='$wl'
10135	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10136	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10137          $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'
10138      else
10139	case `$CC -V 2>&1` in
10140	*"Compilers 5.0"*)
10141	  wlarc=''
10142	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10143	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10144            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10145	  ;;
10146	*)
10147	  wlarc='$wl'
10148	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10149	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10150            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10151	  ;;
10152	esac
10153      fi
10154      hardcode_libdir_flag_spec='-R$libdir'
10155      hardcode_shlibpath_var=no
10156      case $host_os in
10157      solaris2.[0-5] | solaris2.[0-5].*) ;;
10158      *)
10159	# The compiler driver will combine and reorder linker options,
10160	# but understands '-z linker_flag'.  GCC discards it without '$wl',
10161	# but is careful enough not to reorder.
10162	# Supported since Solaris 2.6 (maybe 2.5.1?)
10163	if test yes = "$GCC"; then
10164	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10165	else
10166	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10167	fi
10168	;;
10169      esac
10170      link_all_deplibs=yes
10171      ;;
10172
10173    sunos4*)
10174      if test sequent = "$host_vendor"; then
10175	# Use $CC to link under sequent, because it throws in some extra .o
10176	# files that make .init and .fini sections work.
10177	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10178      else
10179	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10180      fi
10181      hardcode_libdir_flag_spec='-L$libdir'
10182      hardcode_direct=yes
10183      hardcode_minus_L=yes
10184      hardcode_shlibpath_var=no
10185      ;;
10186
10187    sysv4)
10188      case $host_vendor in
10189	sni)
10190	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10191	  hardcode_direct=yes # is this really true???
10192	;;
10193	siemens)
10194	  ## LD is ld it makes a PLAMLIB
10195	  ## CC just makes a GrossModule.
10196	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10197	  reload_cmds='$CC -r -o $output$reload_objs'
10198	  hardcode_direct=no
10199        ;;
10200	motorola)
10201	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10202	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10203	;;
10204      esac
10205      runpath_var='LD_RUN_PATH'
10206      hardcode_shlibpath_var=no
10207      ;;
10208
10209    sysv4.3*)
10210      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10211      hardcode_shlibpath_var=no
10212      export_dynamic_flag_spec='-Bexport'
10213      ;;
10214
10215    sysv4*MP*)
10216      if test -d /usr/nec; then
10217	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10218	hardcode_shlibpath_var=no
10219	runpath_var=LD_RUN_PATH
10220	hardcode_runpath_var=yes
10221	ld_shlibs=yes
10222      fi
10223      ;;
10224
10225    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10226      no_undefined_flag='$wl-z,text'
10227      archive_cmds_need_lc=no
10228      hardcode_shlibpath_var=no
10229      runpath_var='LD_RUN_PATH'
10230
10231      if test yes = "$GCC"; then
10232	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10233	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10234      else
10235	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10236	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10237      fi
10238      ;;
10239
10240    sysv5* | sco3.2v5* | sco5v6*)
10241      # Note: We CANNOT use -z defs as we might desire, because we do not
10242      # link with -lc, and that would cause any symbols used from libc to
10243      # always be unresolved, which means just about no library would
10244      # ever link correctly.  If we're not using GNU ld we use -z text
10245      # though, which does catch some bad symbols but isn't as heavy-handed
10246      # as -z defs.
10247      no_undefined_flag='$wl-z,text'
10248      allow_undefined_flag='$wl-z,nodefs'
10249      archive_cmds_need_lc=no
10250      hardcode_shlibpath_var=no
10251      hardcode_libdir_flag_spec='$wl-R,$libdir'
10252      hardcode_libdir_separator=':'
10253      link_all_deplibs=yes
10254      export_dynamic_flag_spec='$wl-Bexport'
10255      runpath_var='LD_RUN_PATH'
10256
10257      if test yes = "$GCC"; then
10258	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10259	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10260      else
10261	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10262	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10263      fi
10264      ;;
10265
10266    uts4*)
10267      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10268      hardcode_libdir_flag_spec='-L$libdir'
10269      hardcode_shlibpath_var=no
10270      ;;
10271
10272    *)
10273      ld_shlibs=no
10274      ;;
10275    esac
10276
10277    if test sni = "$host_vendor"; then
10278      case $host in
10279      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10280	export_dynamic_flag_spec='$wl-Blargedynsym'
10281	;;
10282      esac
10283    fi
10284  fi
10285
10286{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10287$as_echo "$ld_shlibs" >&6; }
10288test no = "$ld_shlibs" && can_build_shared=no
10289
10290with_gnu_ld=$with_gnu_ld
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306#
10307# Do we need to explicitly link libc?
10308#
10309case "x$archive_cmds_need_lc" in
10310x|xyes)
10311  # Assume -lc should be added
10312  archive_cmds_need_lc=yes
10313
10314  if test yes,yes = "$GCC,$enable_shared"; then
10315    case $archive_cmds in
10316    *'~'*)
10317      # FIXME: we may have to deal with multi-command sequences.
10318      ;;
10319    '$CC '*)
10320      # Test whether the compiler implicitly links with -lc since on some
10321      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10322      # to ld, don't add -lc before -lgcc.
10323      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10324$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10325if ${lt_cv_archive_cmds_need_lc+:} false; then :
10326  $as_echo_n "(cached) " >&6
10327else
10328  $RM conftest*
10329	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10330
10331	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10332  (eval $ac_compile) 2>&5
10333  ac_status=$?
10334  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10335  test $ac_status = 0; } 2>conftest.err; then
10336	  soname=conftest
10337	  lib=conftest
10338	  libobjs=conftest.$ac_objext
10339	  deplibs=
10340	  wl=$lt_prog_compiler_wl
10341	  pic_flag=$lt_prog_compiler_pic
10342	  compiler_flags=-v
10343	  linker_flags=-v
10344	  verstring=
10345	  output_objdir=.
10346	  libname=conftest
10347	  lt_save_allow_undefined_flag=$allow_undefined_flag
10348	  allow_undefined_flag=
10349	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10350  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10351  ac_status=$?
10352  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10353  test $ac_status = 0; }
10354	  then
10355	    lt_cv_archive_cmds_need_lc=no
10356	  else
10357	    lt_cv_archive_cmds_need_lc=yes
10358	  fi
10359	  allow_undefined_flag=$lt_save_allow_undefined_flag
10360	else
10361	  cat conftest.err 1>&5
10362	fi
10363	$RM conftest*
10364
10365fi
10366{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10367$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10368      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10369      ;;
10370    esac
10371  fi
10372  ;;
10373esac
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10527$as_echo_n "checking dynamic linker characteristics... " >&6; }
10528
10529if test yes = "$GCC"; then
10530  case $host_os in
10531    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
10532    *) lt_awk_arg='/^libraries:/' ;;
10533  esac
10534  case $host_os in
10535    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
10536    *) lt_sed_strip_eq='s|=/|/|g' ;;
10537  esac
10538  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10539  case $lt_search_path_spec in
10540  *\;*)
10541    # if the path contains ";" then we assume it to be the separator
10542    # otherwise default to the standard path separator (i.e. ":") - it is
10543    # assumed that no part of a normal pathname contains ";" but that should
10544    # okay in the real world where ";" in dirpaths is itself problematic.
10545    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10546    ;;
10547  *)
10548    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10549    ;;
10550  esac
10551  # Ok, now we have the path, separated by spaces, we can step through it
10552  # and add multilib dir if necessary...
10553  lt_tmp_lt_search_path_spec=
10554  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10555  # ...but if some path component already ends with the multilib dir we assume
10556  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
10557  case "$lt_multi_os_dir; $lt_search_path_spec " in
10558  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
10559    lt_multi_os_dir=
10560    ;;
10561  esac
10562  for lt_sys_path in $lt_search_path_spec; do
10563    if test -d "$lt_sys_path$lt_multi_os_dir"; then
10564      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
10565    elif test -n "$lt_multi_os_dir"; then
10566      test -d "$lt_sys_path" && \
10567	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10568    fi
10569  done
10570  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10571BEGIN {RS = " "; FS = "/|\n";} {
10572  lt_foo = "";
10573  lt_count = 0;
10574  for (lt_i = NF; lt_i > 0; lt_i--) {
10575    if ($lt_i != "" && $lt_i != ".") {
10576      if ($lt_i == "..") {
10577        lt_count++;
10578      } else {
10579        if (lt_count == 0) {
10580          lt_foo = "/" $lt_i lt_foo;
10581        } else {
10582          lt_count--;
10583        }
10584      }
10585    }
10586  }
10587  if (lt_foo != "") { lt_freq[lt_foo]++; }
10588  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10589}'`
10590  # AWK program above erroneously prepends '/' to C:/dos/paths
10591  # for these hosts.
10592  case $host_os in
10593    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10594      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
10595  esac
10596  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10597else
10598  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10599fi
10600library_names_spec=
10601libname_spec='lib$name'
10602soname_spec=
10603shrext_cmds=.so
10604postinstall_cmds=
10605postuninstall_cmds=
10606finish_cmds=
10607finish_eval=
10608shlibpath_var=
10609shlibpath_overrides_runpath=unknown
10610version_type=none
10611dynamic_linker="$host_os ld.so"
10612sys_lib_dlsearch_path_spec="/lib /usr/lib"
10613need_lib_prefix=unknown
10614hardcode_into_libs=no
10615
10616# when you set need_version to no, make sure it does not cause -set_version
10617# flags to be left without arguments
10618need_version=unknown
10619
10620
10621
10622case $host_os in
10623aix3*)
10624  version_type=linux # correct to gnu/linux during the next big refactor
10625  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
10626  shlibpath_var=LIBPATH
10627
10628  # AIX 3 has no versioning support, so we append a major version to the name.
10629  soname_spec='$libname$release$shared_ext$major'
10630  ;;
10631
10632aix[4-9]*)
10633  version_type=linux # correct to gnu/linux during the next big refactor
10634  need_lib_prefix=no
10635  need_version=no
10636  hardcode_into_libs=yes
10637  if test ia64 = "$host_cpu"; then
10638    # AIX 5 supports IA64
10639    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
10640    shlibpath_var=LD_LIBRARY_PATH
10641  else
10642    # With GCC up to 2.95.x, collect2 would create an import file
10643    # for dependence libraries.  The import file would start with
10644    # the line '#! .'.  This would cause the generated library to
10645    # depend on '.', always an invalid library.  This was fixed in
10646    # development snapshots of GCC prior to 3.0.
10647    case $host_os in
10648      aix4 | aix4.[01] | aix4.[01].*)
10649      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10650	   echo ' yes '
10651	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
10652	:
10653      else
10654	can_build_shared=no
10655      fi
10656      ;;
10657    esac
10658    # Using Import Files as archive members, it is possible to support
10659    # filename-based versioning of shared library archives on AIX. While
10660    # this would work for both with and without runtime linking, it will
10661    # prevent static linking of such archives. So we do filename-based
10662    # shared library versioning with .so extension only, which is used
10663    # when both runtime linking and shared linking is enabled.
10664    # Unfortunately, runtime linking may impact performance, so we do
10665    # not want this to be the default eventually. Also, we use the
10666    # versioned .so libs for executables only if there is the -brtl
10667    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
10668    # To allow for filename-based versioning support, we need to create
10669    # libNAME.so.V as an archive file, containing:
10670    # *) an Import File, referring to the versioned filename of the
10671    #    archive as well as the shared archive member, telling the
10672    #    bitwidth (32 or 64) of that shared object, and providing the
10673    #    list of exported symbols of that shared object, eventually
10674    #    decorated with the 'weak' keyword
10675    # *) the shared object with the F_LOADONLY flag set, to really avoid
10676    #    it being seen by the linker.
10677    # At run time we better use the real file rather than another symlink,
10678    # but for link time we create the symlink libNAME.so -> libNAME.so.V
10679
10680    case $with_aix_soname,$aix_use_runtimelinking in
10681    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
10682    # soname into executable. Probably we can add versioning support to
10683    # collect2, so additional links can be useful in future.
10684    aix,yes) # traditional libtool
10685      dynamic_linker='AIX unversionable lib.so'
10686      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10687      # instead of lib<name>.a to let people know that these are not
10688      # typical AIX shared libraries.
10689      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10690      ;;
10691    aix,no) # traditional AIX only
10692      dynamic_linker='AIX lib.a(lib.so.V)'
10693      # We preserve .a as extension for shared libraries through AIX4.2
10694      # and later when we are not doing run time linking.
10695      library_names_spec='$libname$release.a $libname.a'
10696      soname_spec='$libname$release$shared_ext$major'
10697      ;;
10698    svr4,*) # full svr4 only
10699      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
10700      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
10701      # We do not specify a path in Import Files, so LIBPATH fires.
10702      shlibpath_overrides_runpath=yes
10703      ;;
10704    *,yes) # both, prefer svr4
10705      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
10706      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
10707      # unpreferred sharedlib libNAME.a needs extra handling
10708      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"'
10709      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"'
10710      # We do not specify a path in Import Files, so LIBPATH fires.
10711      shlibpath_overrides_runpath=yes
10712      ;;
10713    *,no) # both, prefer aix
10714      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
10715      library_names_spec='$libname$release.a $libname.a'
10716      soname_spec='$libname$release$shared_ext$major'
10717      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
10718      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)'
10719      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"'
10720      ;;
10721    esac
10722    shlibpath_var=LIBPATH
10723  fi
10724  ;;
10725
10726amigaos*)
10727  case $host_cpu in
10728  powerpc)
10729    # Since July 2007 AmigaOS4 officially supports .so libraries.
10730    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10731    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10732    ;;
10733  m68k)
10734    library_names_spec='$libname.ixlibrary $libname.a'
10735    # Create ${libname}_ixlibrary.a entries in /sys/libs.
10736    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'
10737    ;;
10738  esac
10739  ;;
10740
10741beos*)
10742  library_names_spec='$libname$shared_ext'
10743  dynamic_linker="$host_os ld.so"
10744  shlibpath_var=LIBRARY_PATH
10745  ;;
10746
10747bsdi[45]*)
10748  version_type=linux # correct to gnu/linux during the next big refactor
10749  need_version=no
10750  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10751  soname_spec='$libname$release$shared_ext$major'
10752  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10753  shlibpath_var=LD_LIBRARY_PATH
10754  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10755  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10756  # the default ld.so.conf also contains /usr/contrib/lib and
10757  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10758  # libtool to hard-code these into programs
10759  ;;
10760
10761cygwin* | mingw* | pw32* | cegcc*)
10762  version_type=windows
10763  shrext_cmds=.dll
10764  need_version=no
10765  need_lib_prefix=no
10766
10767  case $GCC,$cc_basename in
10768  yes,*)
10769    # gcc
10770    library_names_spec='$libname.dll.a'
10771    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10772    postinstall_cmds='base_file=`basename \$file`~
10773      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10774      dldir=$destdir/`dirname \$dlpath`~
10775      test -d \$dldir || mkdir -p \$dldir~
10776      $install_prog $dir/$dlname \$dldir/$dlname~
10777      chmod a+x \$dldir/$dlname~
10778      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10779        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10780      fi'
10781    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10782      dlpath=$dir/\$dldll~
10783       $RM \$dlpath'
10784    shlibpath_overrides_runpath=yes
10785
10786    case $host_os in
10787    cygwin*)
10788      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10789      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10790
10791      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10792      ;;
10793    mingw* | cegcc*)
10794      # MinGW DLLs use traditional 'lib' prefix
10795      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10796      ;;
10797    pw32*)
10798      # pw32 DLLs use 'pw' prefix rather than 'lib'
10799      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10800      ;;
10801    esac
10802    dynamic_linker='Win32 ld.exe'
10803    ;;
10804
10805  *,cl*)
10806    # Native MSVC
10807    libname_spec='$name'
10808    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10809    library_names_spec='$libname.dll.lib'
10810
10811    case $build_os in
10812    mingw*)
10813      sys_lib_search_path_spec=
10814      lt_save_ifs=$IFS
10815      IFS=';'
10816      for lt_path in $LIB
10817      do
10818        IFS=$lt_save_ifs
10819        # Let DOS variable expansion print the short 8.3 style file name.
10820        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10821        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10822      done
10823      IFS=$lt_save_ifs
10824      # Convert to MSYS style.
10825      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10826      ;;
10827    cygwin*)
10828      # Convert to unix form, then to dos form, then back to unix form
10829      # but this time dos style (no spaces!) so that the unix form looks
10830      # like /cygdrive/c/PROGRA~1:/cygdr...
10831      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10832      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10833      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10834      ;;
10835    *)
10836      sys_lib_search_path_spec=$LIB
10837      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10838        # It is most probably a Windows format PATH.
10839        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10840      else
10841        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10842      fi
10843      # FIXME: find the short name or the path components, as spaces are
10844      # common. (e.g. "Program Files" -> "PROGRA~1")
10845      ;;
10846    esac
10847
10848    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10849    postinstall_cmds='base_file=`basename \$file`~
10850      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10851      dldir=$destdir/`dirname \$dlpath`~
10852      test -d \$dldir || mkdir -p \$dldir~
10853      $install_prog $dir/$dlname \$dldir/$dlname'
10854    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10855      dlpath=$dir/\$dldll~
10856       $RM \$dlpath'
10857    shlibpath_overrides_runpath=yes
10858    dynamic_linker='Win32 link.exe'
10859    ;;
10860
10861  *)
10862    # Assume MSVC wrapper
10863    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
10864    dynamic_linker='Win32 ld.exe'
10865    ;;
10866  esac
10867  # FIXME: first we should search . and the directory the executable is in
10868  shlibpath_var=PATH
10869  ;;
10870
10871darwin* | rhapsody*)
10872  dynamic_linker="$host_os dyld"
10873  version_type=darwin
10874  need_lib_prefix=no
10875  need_version=no
10876  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
10877  soname_spec='$libname$release$major$shared_ext'
10878  shlibpath_overrides_runpath=yes
10879  shlibpath_var=DYLD_LIBRARY_PATH
10880  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10881
10882  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10883  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10884  ;;
10885
10886dgux*)
10887  version_type=linux # correct to gnu/linux during the next big refactor
10888  need_lib_prefix=no
10889  need_version=no
10890  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10891  soname_spec='$libname$release$shared_ext$major'
10892  shlibpath_var=LD_LIBRARY_PATH
10893  ;;
10894
10895freebsd* | dragonfly*)
10896  # DragonFly does not have aout.  When/if they implement a new
10897  # versioning mechanism, adjust this.
10898  if test -x /usr/bin/objformat; then
10899    objformat=`/usr/bin/objformat`
10900  else
10901    case $host_os in
10902    freebsd[23].*) objformat=aout ;;
10903    *) objformat=elf ;;
10904    esac
10905  fi
10906  version_type=freebsd-$objformat
10907  case $version_type in
10908    freebsd-elf*)
10909      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10910      soname_spec='$libname$release$shared_ext$major'
10911      need_version=no
10912      need_lib_prefix=no
10913      ;;
10914    freebsd-*)
10915      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
10916      need_version=yes
10917      ;;
10918  esac
10919  shlibpath_var=LD_LIBRARY_PATH
10920  case $host_os in
10921  freebsd2.*)
10922    shlibpath_overrides_runpath=yes
10923    ;;
10924  freebsd3.[01]* | freebsdelf3.[01]*)
10925    shlibpath_overrides_runpath=yes
10926    hardcode_into_libs=yes
10927    ;;
10928  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10929  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10930    shlibpath_overrides_runpath=no
10931    hardcode_into_libs=yes
10932    ;;
10933  *) # from 4.6 on, and DragonFly
10934    shlibpath_overrides_runpath=yes
10935    hardcode_into_libs=yes
10936    ;;
10937  esac
10938  ;;
10939
10940haiku*)
10941  version_type=linux # correct to gnu/linux during the next big refactor
10942  need_lib_prefix=no
10943  need_version=no
10944  dynamic_linker="$host_os runtime_loader"
10945  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10946  soname_spec='$libname$release$shared_ext$major'
10947  shlibpath_var=LIBRARY_PATH
10948  shlibpath_overrides_runpath=no
10949  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10950  hardcode_into_libs=yes
10951  ;;
10952
10953hpux9* | hpux10* | hpux11*)
10954  # Give a soname corresponding to the major version so that dld.sl refuses to
10955  # link against other versions.
10956  version_type=sunos
10957  need_lib_prefix=no
10958  need_version=no
10959  case $host_cpu in
10960  ia64*)
10961    shrext_cmds='.so'
10962    hardcode_into_libs=yes
10963    dynamic_linker="$host_os dld.so"
10964    shlibpath_var=LD_LIBRARY_PATH
10965    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10966    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10967    soname_spec='$libname$release$shared_ext$major'
10968    if test 32 = "$HPUX_IA64_MODE"; then
10969      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10970      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
10971    else
10972      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10973      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
10974    fi
10975    ;;
10976  hppa*64*)
10977    shrext_cmds='.sl'
10978    hardcode_into_libs=yes
10979    dynamic_linker="$host_os dld.sl"
10980    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10981    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10982    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10983    soname_spec='$libname$release$shared_ext$major'
10984    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10985    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10986    ;;
10987  *)
10988    shrext_cmds='.sl'
10989    dynamic_linker="$host_os dld.sl"
10990    shlibpath_var=SHLIB_PATH
10991    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10992    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10993    soname_spec='$libname$release$shared_ext$major'
10994    ;;
10995  esac
10996  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10997  postinstall_cmds='chmod 555 $lib'
10998  # or fails outright, so override atomically:
10999  install_override_mode=555
11000  ;;
11001
11002interix[3-9]*)
11003  version_type=linux # correct to gnu/linux during the next big refactor
11004  need_lib_prefix=no
11005  need_version=no
11006  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11007  soname_spec='$libname$release$shared_ext$major'
11008  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11009  shlibpath_var=LD_LIBRARY_PATH
11010  shlibpath_overrides_runpath=no
11011  hardcode_into_libs=yes
11012  ;;
11013
11014irix5* | irix6* | nonstopux*)
11015  case $host_os in
11016    nonstopux*) version_type=nonstopux ;;
11017    *)
11018	if test yes = "$lt_cv_prog_gnu_ld"; then
11019		version_type=linux # correct to gnu/linux during the next big refactor
11020	else
11021		version_type=irix
11022	fi ;;
11023  esac
11024  need_lib_prefix=no
11025  need_version=no
11026  soname_spec='$libname$release$shared_ext$major'
11027  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11028  case $host_os in
11029  irix5* | nonstopux*)
11030    libsuff= shlibsuff=
11031    ;;
11032  *)
11033    case $LD in # libtool.m4 will add one of these switches to LD
11034    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11035      libsuff= shlibsuff= libmagic=32-bit;;
11036    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11037      libsuff=32 shlibsuff=N32 libmagic=N32;;
11038    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11039      libsuff=64 shlibsuff=64 libmagic=64-bit;;
11040    *) libsuff= shlibsuff= libmagic=never-match;;
11041    esac
11042    ;;
11043  esac
11044  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11045  shlibpath_overrides_runpath=no
11046  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11047  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
11048  hardcode_into_libs=yes
11049  ;;
11050
11051# No shared lib support for Linux oldld, aout, or coff.
11052linux*oldld* | linux*aout* | linux*coff*)
11053  dynamic_linker=no
11054  ;;
11055
11056linux*android*)
11057  version_type=none # Android doesn't support versioned libraries.
11058  need_lib_prefix=no
11059  need_version=no
11060  library_names_spec='$libname$release$shared_ext'
11061  soname_spec='$libname$release$shared_ext'
11062  finish_cmds=
11063  shlibpath_var=LD_LIBRARY_PATH
11064  shlibpath_overrides_runpath=yes
11065
11066  # This implies no fast_install, which is unacceptable.
11067  # Some rework will be needed to allow for fast_install
11068  # before this can be enabled.
11069  hardcode_into_libs=yes
11070
11071  dynamic_linker='Android linker'
11072  # Don't embed -rpath directories since the linker doesn't support them.
11073  hardcode_libdir_flag_spec='-L$libdir'
11074  ;;
11075
11076# This must be glibc/ELF.
11077linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11078  version_type=linux # correct to gnu/linux during the next big refactor
11079  need_lib_prefix=no
11080  need_version=no
11081  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11082  soname_spec='$libname$release$shared_ext$major'
11083  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11084  shlibpath_var=LD_LIBRARY_PATH
11085  shlibpath_overrides_runpath=no
11086
11087  # Some binutils ld are patched to set DT_RUNPATH
11088  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11089  $as_echo_n "(cached) " >&6
11090else
11091  lt_cv_shlibpath_overrides_runpath=no
11092    save_LDFLAGS=$LDFLAGS
11093    save_libdir=$libdir
11094    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11095	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11096    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11097/* end confdefs.h.  */
11098
11099int
11100main ()
11101{
11102
11103  ;
11104  return 0;
11105}
11106_ACEOF
11107if ac_fn_c_try_link "$LINENO"; then :
11108  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11109  lt_cv_shlibpath_overrides_runpath=yes
11110fi
11111fi
11112rm -f core conftest.err conftest.$ac_objext \
11113    conftest$ac_exeext conftest.$ac_ext
11114    LDFLAGS=$save_LDFLAGS
11115    libdir=$save_libdir
11116
11117fi
11118
11119  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11120
11121  # This implies no fast_install, which is unacceptable.
11122  # Some rework will be needed to allow for fast_install
11123  # before this can be enabled.
11124  hardcode_into_libs=yes
11125
11126  # Add ABI-specific directories to the system library path.
11127  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
11128
11129  # Ideally, we could use ldconfig to report *all* directores which are
11130  # searched for libraries, however this is still not possible.  Aside from not
11131  # being certain /sbin/ldconfig is available, command
11132  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11133  # even though it is searched at run-time.  Try to do the best guess by
11134  # appending ld.so.conf contents (and includes) to the search path.
11135  if test -f /etc/ld.so.conf; then
11136    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' ' '`
11137    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11138  fi
11139
11140  # We used to test for /lib/ld.so.1 and disable shared libraries on
11141  # powerpc, because MkLinux only supported shared libraries with the
11142  # GNU dynamic linker.  Since this was broken with cross compilers,
11143  # most powerpc-linux boxes support dynamic linking these days and
11144  # people can always --disable-shared, the test was removed, and we
11145  # assume the GNU/Linux dynamic linker is in use.
11146  dynamic_linker='GNU/Linux ld.so'
11147  ;;
11148
11149netbsd*)
11150  version_type=sunos
11151  need_lib_prefix=no
11152  need_version=no
11153  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11154    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11155    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11156    dynamic_linker='NetBSD (a.out) ld.so'
11157  else
11158    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11159    soname_spec='$libname$release$shared_ext$major'
11160    dynamic_linker='NetBSD ld.elf_so'
11161  fi
11162  shlibpath_var=LD_LIBRARY_PATH
11163  shlibpath_overrides_runpath=yes
11164  hardcode_into_libs=yes
11165  ;;
11166
11167newsos6)
11168  version_type=linux # correct to gnu/linux during the next big refactor
11169  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11170  shlibpath_var=LD_LIBRARY_PATH
11171  shlibpath_overrides_runpath=yes
11172  ;;
11173
11174*nto* | *qnx*)
11175  version_type=qnx
11176  need_lib_prefix=no
11177  need_version=no
11178  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11179  soname_spec='$libname$release$shared_ext$major'
11180  shlibpath_var=LD_LIBRARY_PATH
11181  shlibpath_overrides_runpath=no
11182  hardcode_into_libs=yes
11183  dynamic_linker='ldqnx.so'
11184  ;;
11185
11186openbsd* | bitrig*)
11187  version_type=sunos
11188  sys_lib_dlsearch_path_spec=/usr/lib
11189  need_lib_prefix=no
11190  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11191    need_version=no
11192  else
11193    need_version=yes
11194  fi
11195  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11196  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11197  shlibpath_var=LD_LIBRARY_PATH
11198  shlibpath_overrides_runpath=yes
11199  ;;
11200
11201os2*)
11202  libname_spec='$name'
11203  version_type=windows
11204  shrext_cmds=.dll
11205  need_version=no
11206  need_lib_prefix=no
11207  # OS/2 can only load a DLL with a base name of 8 characters or less.
11208  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
11209    v=$($ECHO $release$versuffix | tr -d .-);
11210    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11211    $ECHO $n$v`$shared_ext'
11212  library_names_spec='${libname}_dll.$libext'
11213  dynamic_linker='OS/2 ld.exe'
11214  shlibpath_var=BEGINLIBPATH
11215  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11216  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11217  postinstall_cmds='base_file=`basename \$file`~
11218    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11219    dldir=$destdir/`dirname \$dlpath`~
11220    test -d \$dldir || mkdir -p \$dldir~
11221    $install_prog $dir/$dlname \$dldir/$dlname~
11222    chmod a+x \$dldir/$dlname~
11223    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11224      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11225    fi'
11226  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11227    dlpath=$dir/\$dldll~
11228    $RM \$dlpath'
11229  ;;
11230
11231osf3* | osf4* | osf5*)
11232  version_type=osf
11233  need_lib_prefix=no
11234  need_version=no
11235  soname_spec='$libname$release$shared_ext$major'
11236  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11237  shlibpath_var=LD_LIBRARY_PATH
11238  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11239  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11240  ;;
11241
11242rdos*)
11243  dynamic_linker=no
11244  ;;
11245
11246solaris*)
11247  version_type=linux # correct to gnu/linux during the next big refactor
11248  need_lib_prefix=no
11249  need_version=no
11250  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11251  soname_spec='$libname$release$shared_ext$major'
11252  shlibpath_var=LD_LIBRARY_PATH
11253  shlibpath_overrides_runpath=yes
11254  hardcode_into_libs=yes
11255  # ldd complains unless libraries are executable
11256  postinstall_cmds='chmod +x $lib'
11257  ;;
11258
11259sunos4*)
11260  version_type=sunos
11261  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11262  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11263  shlibpath_var=LD_LIBRARY_PATH
11264  shlibpath_overrides_runpath=yes
11265  if test yes = "$with_gnu_ld"; then
11266    need_lib_prefix=no
11267  fi
11268  need_version=yes
11269  ;;
11270
11271sysv4 | sysv4.3*)
11272  version_type=linux # correct to gnu/linux during the next big refactor
11273  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11274  soname_spec='$libname$release$shared_ext$major'
11275  shlibpath_var=LD_LIBRARY_PATH
11276  case $host_vendor in
11277    sni)
11278      shlibpath_overrides_runpath=no
11279      need_lib_prefix=no
11280      runpath_var=LD_RUN_PATH
11281      ;;
11282    siemens)
11283      need_lib_prefix=no
11284      ;;
11285    motorola)
11286      need_lib_prefix=no
11287      need_version=no
11288      shlibpath_overrides_runpath=no
11289      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11290      ;;
11291  esac
11292  ;;
11293
11294sysv4*MP*)
11295  if test -d /usr/nec; then
11296    version_type=linux # correct to gnu/linux during the next big refactor
11297    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11298    soname_spec='$libname$shared_ext.$major'
11299    shlibpath_var=LD_LIBRARY_PATH
11300  fi
11301  ;;
11302
11303sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11304  version_type=sco
11305  need_lib_prefix=no
11306  need_version=no
11307  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11308  soname_spec='$libname$release$shared_ext$major'
11309  shlibpath_var=LD_LIBRARY_PATH
11310  shlibpath_overrides_runpath=yes
11311  hardcode_into_libs=yes
11312  if test yes = "$with_gnu_ld"; then
11313    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11314  else
11315    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11316    case $host_os in
11317      sco3.2v5*)
11318        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11319	;;
11320    esac
11321  fi
11322  sys_lib_dlsearch_path_spec='/usr/lib'
11323  ;;
11324
11325tpf*)
11326  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11327  version_type=linux # correct to gnu/linux during the next big refactor
11328  need_lib_prefix=no
11329  need_version=no
11330  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11331  shlibpath_var=LD_LIBRARY_PATH
11332  shlibpath_overrides_runpath=no
11333  hardcode_into_libs=yes
11334  ;;
11335
11336uts4*)
11337  version_type=linux # correct to gnu/linux during the next big refactor
11338  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11339  soname_spec='$libname$release$shared_ext$major'
11340  shlibpath_var=LD_LIBRARY_PATH
11341  ;;
11342
11343*)
11344  dynamic_linker=no
11345  ;;
11346esac
11347{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11348$as_echo "$dynamic_linker" >&6; }
11349test no = "$dynamic_linker" && can_build_shared=no
11350
11351variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11352if test yes = "$GCC"; then
11353  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11354fi
11355
11356if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11357  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
11358fi
11359
11360if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11361  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
11362fi
11363
11364# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
11365configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
11366
11367# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
11368func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
11369
11370# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
11371configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11470$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11471hardcode_action=
11472if test -n "$hardcode_libdir_flag_spec" ||
11473   test -n "$runpath_var" ||
11474   test yes = "$hardcode_automatic"; then
11475
11476  # We can hardcode non-existent directories.
11477  if test no != "$hardcode_direct" &&
11478     # If the only mechanism to avoid hardcoding is shlibpath_var, we
11479     # have to relink, otherwise we might link with an installed library
11480     # when we should be linking with a yet-to-be-installed one
11481     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
11482     test no != "$hardcode_minus_L"; then
11483    # Linking always hardcodes the temporary library directory.
11484    hardcode_action=relink
11485  else
11486    # We can link without hardcoding, and we can hardcode nonexisting dirs.
11487    hardcode_action=immediate
11488  fi
11489else
11490  # We cannot hardcode anything, or else we can only hardcode existing
11491  # directories.
11492  hardcode_action=unsupported
11493fi
11494{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11495$as_echo "$hardcode_action" >&6; }
11496
11497if test relink = "$hardcode_action" ||
11498   test yes = "$inherit_rpath"; then
11499  # Fast installation is not supported
11500  enable_fast_install=no
11501elif test yes = "$shlibpath_overrides_runpath" ||
11502     test no = "$enable_shared"; then
11503  # Fast installation is not necessary
11504  enable_fast_install=needless
11505fi
11506
11507
11508
11509
11510
11511
11512  if test yes != "$enable_dlopen"; then
11513  enable_dlopen=unknown
11514  enable_dlopen_self=unknown
11515  enable_dlopen_self_static=unknown
11516else
11517  lt_cv_dlopen=no
11518  lt_cv_dlopen_libs=
11519
11520  case $host_os in
11521  beos*)
11522    lt_cv_dlopen=load_add_on
11523    lt_cv_dlopen_libs=
11524    lt_cv_dlopen_self=yes
11525    ;;
11526
11527  mingw* | pw32* | cegcc*)
11528    lt_cv_dlopen=LoadLibrary
11529    lt_cv_dlopen_libs=
11530    ;;
11531
11532  cygwin*)
11533    lt_cv_dlopen=dlopen
11534    lt_cv_dlopen_libs=
11535    ;;
11536
11537  darwin*)
11538    # if libdl is installed we need to link against it
11539    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11540$as_echo_n "checking for dlopen in -ldl... " >&6; }
11541if ${ac_cv_lib_dl_dlopen+:} false; then :
11542  $as_echo_n "(cached) " >&6
11543else
11544  ac_check_lib_save_LIBS=$LIBS
11545LIBS="-ldl  $LIBS"
11546cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11547/* end confdefs.h.  */
11548
11549/* Override any GCC internal prototype to avoid an error.
11550   Use char because int might match the return type of a GCC
11551   builtin and then its argument prototype would still apply.  */
11552#ifdef __cplusplus
11553extern "C"
11554#endif
11555char dlopen ();
11556int
11557main ()
11558{
11559return dlopen ();
11560  ;
11561  return 0;
11562}
11563_ACEOF
11564if ac_fn_c_try_link "$LINENO"; then :
11565  ac_cv_lib_dl_dlopen=yes
11566else
11567  ac_cv_lib_dl_dlopen=no
11568fi
11569rm -f core conftest.err conftest.$ac_objext \
11570    conftest$ac_exeext conftest.$ac_ext
11571LIBS=$ac_check_lib_save_LIBS
11572fi
11573{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11574$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11575if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11576  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11577else
11578
11579    lt_cv_dlopen=dyld
11580    lt_cv_dlopen_libs=
11581    lt_cv_dlopen_self=yes
11582
11583fi
11584
11585    ;;
11586
11587  tpf*)
11588    # Don't try to run any link tests for TPF.  We know it's impossible
11589    # because TPF is a cross-compiler, and we know how we open DSOs.
11590    lt_cv_dlopen=dlopen
11591    lt_cv_dlopen_libs=
11592    lt_cv_dlopen_self=no
11593    ;;
11594
11595  *)
11596    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11597if test "x$ac_cv_func_shl_load" = xyes; then :
11598  lt_cv_dlopen=shl_load
11599else
11600  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11601$as_echo_n "checking for shl_load in -ldld... " >&6; }
11602if ${ac_cv_lib_dld_shl_load+:} false; then :
11603  $as_echo_n "(cached) " >&6
11604else
11605  ac_check_lib_save_LIBS=$LIBS
11606LIBS="-ldld  $LIBS"
11607cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11608/* end confdefs.h.  */
11609
11610/* Override any GCC internal prototype to avoid an error.
11611   Use char because int might match the return type of a GCC
11612   builtin and then its argument prototype would still apply.  */
11613#ifdef __cplusplus
11614extern "C"
11615#endif
11616char shl_load ();
11617int
11618main ()
11619{
11620return shl_load ();
11621  ;
11622  return 0;
11623}
11624_ACEOF
11625if ac_fn_c_try_link "$LINENO"; then :
11626  ac_cv_lib_dld_shl_load=yes
11627else
11628  ac_cv_lib_dld_shl_load=no
11629fi
11630rm -f core conftest.err conftest.$ac_objext \
11631    conftest$ac_exeext conftest.$ac_ext
11632LIBS=$ac_check_lib_save_LIBS
11633fi
11634{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11635$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11636if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11637  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
11638else
11639  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11640if test "x$ac_cv_func_dlopen" = xyes; then :
11641  lt_cv_dlopen=dlopen
11642else
11643  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11644$as_echo_n "checking for dlopen in -ldl... " >&6; }
11645if ${ac_cv_lib_dl_dlopen+:} false; then :
11646  $as_echo_n "(cached) " >&6
11647else
11648  ac_check_lib_save_LIBS=$LIBS
11649LIBS="-ldl  $LIBS"
11650cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11651/* end confdefs.h.  */
11652
11653/* Override any GCC internal prototype to avoid an error.
11654   Use char because int might match the return type of a GCC
11655   builtin and then its argument prototype would still apply.  */
11656#ifdef __cplusplus
11657extern "C"
11658#endif
11659char dlopen ();
11660int
11661main ()
11662{
11663return dlopen ();
11664  ;
11665  return 0;
11666}
11667_ACEOF
11668if ac_fn_c_try_link "$LINENO"; then :
11669  ac_cv_lib_dl_dlopen=yes
11670else
11671  ac_cv_lib_dl_dlopen=no
11672fi
11673rm -f core conftest.err conftest.$ac_objext \
11674    conftest$ac_exeext conftest.$ac_ext
11675LIBS=$ac_check_lib_save_LIBS
11676fi
11677{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11678$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11679if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11680  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11681else
11682  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11683$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11684if ${ac_cv_lib_svld_dlopen+:} false; then :
11685  $as_echo_n "(cached) " >&6
11686else
11687  ac_check_lib_save_LIBS=$LIBS
11688LIBS="-lsvld  $LIBS"
11689cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11690/* end confdefs.h.  */
11691
11692/* Override any GCC internal prototype to avoid an error.
11693   Use char because int might match the return type of a GCC
11694   builtin and then its argument prototype would still apply.  */
11695#ifdef __cplusplus
11696extern "C"
11697#endif
11698char dlopen ();
11699int
11700main ()
11701{
11702return dlopen ();
11703  ;
11704  return 0;
11705}
11706_ACEOF
11707if ac_fn_c_try_link "$LINENO"; then :
11708  ac_cv_lib_svld_dlopen=yes
11709else
11710  ac_cv_lib_svld_dlopen=no
11711fi
11712rm -f core conftest.err conftest.$ac_objext \
11713    conftest$ac_exeext conftest.$ac_ext
11714LIBS=$ac_check_lib_save_LIBS
11715fi
11716{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11717$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11718if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11719  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
11720else
11721  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11722$as_echo_n "checking for dld_link in -ldld... " >&6; }
11723if ${ac_cv_lib_dld_dld_link+:} false; then :
11724  $as_echo_n "(cached) " >&6
11725else
11726  ac_check_lib_save_LIBS=$LIBS
11727LIBS="-ldld  $LIBS"
11728cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11729/* end confdefs.h.  */
11730
11731/* Override any GCC internal prototype to avoid an error.
11732   Use char because int might match the return type of a GCC
11733   builtin and then its argument prototype would still apply.  */
11734#ifdef __cplusplus
11735extern "C"
11736#endif
11737char dld_link ();
11738int
11739main ()
11740{
11741return dld_link ();
11742  ;
11743  return 0;
11744}
11745_ACEOF
11746if ac_fn_c_try_link "$LINENO"; then :
11747  ac_cv_lib_dld_dld_link=yes
11748else
11749  ac_cv_lib_dld_dld_link=no
11750fi
11751rm -f core conftest.err conftest.$ac_objext \
11752    conftest$ac_exeext conftest.$ac_ext
11753LIBS=$ac_check_lib_save_LIBS
11754fi
11755{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11756$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11757if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11758  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
11759fi
11760
11761
11762fi
11763
11764
11765fi
11766
11767
11768fi
11769
11770
11771fi
11772
11773
11774fi
11775
11776    ;;
11777  esac
11778
11779  if test no = "$lt_cv_dlopen"; then
11780    enable_dlopen=no
11781  else
11782    enable_dlopen=yes
11783  fi
11784
11785  case $lt_cv_dlopen in
11786  dlopen)
11787    save_CPPFLAGS=$CPPFLAGS
11788    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11789
11790    save_LDFLAGS=$LDFLAGS
11791    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11792
11793    save_LIBS=$LIBS
11794    LIBS="$lt_cv_dlopen_libs $LIBS"
11795
11796    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11797$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11798if ${lt_cv_dlopen_self+:} false; then :
11799  $as_echo_n "(cached) " >&6
11800else
11801  	  if test yes = "$cross_compiling"; then :
11802  lt_cv_dlopen_self=cross
11803else
11804  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11805  lt_status=$lt_dlunknown
11806  cat > conftest.$ac_ext <<_LT_EOF
11807#line $LINENO "configure"
11808#include "confdefs.h"
11809
11810#if HAVE_DLFCN_H
11811#include <dlfcn.h>
11812#endif
11813
11814#include <stdio.h>
11815
11816#ifdef RTLD_GLOBAL
11817#  define LT_DLGLOBAL		RTLD_GLOBAL
11818#else
11819#  ifdef DL_GLOBAL
11820#    define LT_DLGLOBAL		DL_GLOBAL
11821#  else
11822#    define LT_DLGLOBAL		0
11823#  endif
11824#endif
11825
11826/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11827   find out it does not work in some platform. */
11828#ifndef LT_DLLAZY_OR_NOW
11829#  ifdef RTLD_LAZY
11830#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
11831#  else
11832#    ifdef DL_LAZY
11833#      define LT_DLLAZY_OR_NOW		DL_LAZY
11834#    else
11835#      ifdef RTLD_NOW
11836#        define LT_DLLAZY_OR_NOW	RTLD_NOW
11837#      else
11838#        ifdef DL_NOW
11839#          define LT_DLLAZY_OR_NOW	DL_NOW
11840#        else
11841#          define LT_DLLAZY_OR_NOW	0
11842#        endif
11843#      endif
11844#    endif
11845#  endif
11846#endif
11847
11848/* When -fvisibility=hidden is used, assume the code has been annotated
11849   correspondingly for the symbols needed.  */
11850#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11851int fnord () __attribute__((visibility("default")));
11852#endif
11853
11854int fnord () { return 42; }
11855int main ()
11856{
11857  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11858  int status = $lt_dlunknown;
11859
11860  if (self)
11861    {
11862      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11863      else
11864        {
11865	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11866          else puts (dlerror ());
11867	}
11868      /* dlclose (self); */
11869    }
11870  else
11871    puts (dlerror ());
11872
11873  return status;
11874}
11875_LT_EOF
11876  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11877  (eval $ac_link) 2>&5
11878  ac_status=$?
11879  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11880  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
11881    (./conftest; exit; ) >&5 2>/dev/null
11882    lt_status=$?
11883    case x$lt_status in
11884      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11885      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11886      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11887    esac
11888  else :
11889    # compilation failed
11890    lt_cv_dlopen_self=no
11891  fi
11892fi
11893rm -fr conftest*
11894
11895
11896fi
11897{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11898$as_echo "$lt_cv_dlopen_self" >&6; }
11899
11900    if test yes = "$lt_cv_dlopen_self"; then
11901      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11902      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11903$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11904if ${lt_cv_dlopen_self_static+:} false; then :
11905  $as_echo_n "(cached) " >&6
11906else
11907  	  if test yes = "$cross_compiling"; then :
11908  lt_cv_dlopen_self_static=cross
11909else
11910  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11911  lt_status=$lt_dlunknown
11912  cat > conftest.$ac_ext <<_LT_EOF
11913#line $LINENO "configure"
11914#include "confdefs.h"
11915
11916#if HAVE_DLFCN_H
11917#include <dlfcn.h>
11918#endif
11919
11920#include <stdio.h>
11921
11922#ifdef RTLD_GLOBAL
11923#  define LT_DLGLOBAL		RTLD_GLOBAL
11924#else
11925#  ifdef DL_GLOBAL
11926#    define LT_DLGLOBAL		DL_GLOBAL
11927#  else
11928#    define LT_DLGLOBAL		0
11929#  endif
11930#endif
11931
11932/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11933   find out it does not work in some platform. */
11934#ifndef LT_DLLAZY_OR_NOW
11935#  ifdef RTLD_LAZY
11936#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
11937#  else
11938#    ifdef DL_LAZY
11939#      define LT_DLLAZY_OR_NOW		DL_LAZY
11940#    else
11941#      ifdef RTLD_NOW
11942#        define LT_DLLAZY_OR_NOW	RTLD_NOW
11943#      else
11944#        ifdef DL_NOW
11945#          define LT_DLLAZY_OR_NOW	DL_NOW
11946#        else
11947#          define LT_DLLAZY_OR_NOW	0
11948#        endif
11949#      endif
11950#    endif
11951#  endif
11952#endif
11953
11954/* When -fvisibility=hidden is used, assume the code has been annotated
11955   correspondingly for the symbols needed.  */
11956#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11957int fnord () __attribute__((visibility("default")));
11958#endif
11959
11960int fnord () { return 42; }
11961int main ()
11962{
11963  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11964  int status = $lt_dlunknown;
11965
11966  if (self)
11967    {
11968      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11969      else
11970        {
11971	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11972          else puts (dlerror ());
11973	}
11974      /* dlclose (self); */
11975    }
11976  else
11977    puts (dlerror ());
11978
11979  return status;
11980}
11981_LT_EOF
11982  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11983  (eval $ac_link) 2>&5
11984  ac_status=$?
11985  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11986  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
11987    (./conftest; exit; ) >&5 2>/dev/null
11988    lt_status=$?
11989    case x$lt_status in
11990      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11991      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11992      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11993    esac
11994  else :
11995    # compilation failed
11996    lt_cv_dlopen_self_static=no
11997  fi
11998fi
11999rm -fr conftest*
12000
12001
12002fi
12003{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12004$as_echo "$lt_cv_dlopen_self_static" >&6; }
12005    fi
12006
12007    CPPFLAGS=$save_CPPFLAGS
12008    LDFLAGS=$save_LDFLAGS
12009    LIBS=$save_LIBS
12010    ;;
12011  esac
12012
12013  case $lt_cv_dlopen_self in
12014  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12015  *) enable_dlopen_self=unknown ;;
12016  esac
12017
12018  case $lt_cv_dlopen_self_static in
12019  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12020  *) enable_dlopen_self_static=unknown ;;
12021  esac
12022fi
12023
12024
12025
12026
12027
12028
12029
12030
12031
12032
12033
12034
12035
12036
12037
12038
12039
12040striplib=
12041old_striplib=
12042{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12043$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12044if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12045  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12046  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12047  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12048$as_echo "yes" >&6; }
12049else
12050# FIXME - insert some real tests, host_os isn't really good enough
12051  case $host_os in
12052  darwin*)
12053    if test -n "$STRIP"; then
12054      striplib="$STRIP -x"
12055      old_striplib="$STRIP -S"
12056      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12057$as_echo "yes" >&6; }
12058    else
12059      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12060$as_echo "no" >&6; }
12061    fi
12062    ;;
12063  *)
12064    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12065$as_echo "no" >&6; }
12066    ;;
12067  esac
12068fi
12069
12070
12071
12072
12073
12074
12075
12076
12077
12078
12079
12080
12081  # Report what library types will actually be built
12082  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12083$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12084  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12085$as_echo "$can_build_shared" >&6; }
12086
12087  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12088$as_echo_n "checking whether to build shared libraries... " >&6; }
12089  test no = "$can_build_shared" && enable_shared=no
12090
12091  # On AIX, shared libraries and static libraries use the same namespace, and
12092  # are all built from PIC.
12093  case $host_os in
12094  aix3*)
12095    test yes = "$enable_shared" && enable_static=no
12096    if test -n "$RANLIB"; then
12097      archive_cmds="$archive_cmds~\$RANLIB \$lib"
12098      postinstall_cmds='$RANLIB $lib'
12099    fi
12100    ;;
12101
12102  aix[4-9]*)
12103    if test ia64 != "$host_cpu"; then
12104      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12105      yes,aix,yes) ;;			# shared object as lib.so file only
12106      yes,svr4,*) ;;			# shared object as lib.so archive member only
12107      yes,*) enable_static=no ;;	# shared object in lib.a archive as well
12108      esac
12109    fi
12110    ;;
12111  esac
12112  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12113$as_echo "$enable_shared" >&6; }
12114
12115  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12116$as_echo_n "checking whether to build static libraries... " >&6; }
12117  # Make sure either enable_shared or enable_static is yes.
12118  test yes = "$enable_shared" || enable_static=yes
12119  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12120$as_echo "$enable_static" >&6; }
12121
12122
12123
12124
12125fi
12126ac_ext=c
12127ac_cpp='$CPP $CPPFLAGS'
12128ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12129ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12130ac_compiler_gnu=$ac_cv_c_compiler_gnu
12131
12132CC=$lt_save_CC
12133
12134
12135
12136
12137
12138
12139
12140
12141
12142
12143
12144
12145
12146
12147
12148        ac_config_commands="$ac_config_commands libtool"
12149
12150
12151
12152
12153# Only expand once:
12154
12155
12156for ac_prog in perl5 perl
12157do
12158  # Extract the first word of "$ac_prog", so it can be a program name with args.
12159set dummy $ac_prog; ac_word=$2
12160{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12161$as_echo_n "checking for $ac_word... " >&6; }
12162if ${ac_cv_path_PERL+:} false; then :
12163  $as_echo_n "(cached) " >&6
12164else
12165  case $PERL in
12166  [\\/]* | ?:[\\/]*)
12167  ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
12168  ;;
12169  *)
12170  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12171for as_dir in $LPATH
12172do
12173  IFS=$as_save_IFS
12174  test -z "$as_dir" && as_dir=.
12175    for ac_exec_ext in '' $ac_executable_extensions; do
12176  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12177    ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
12178    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12179    break 2
12180  fi
12181done
12182  done
12183IFS=$as_save_IFS
12184
12185  ;;
12186esac
12187fi
12188PERL=$ac_cv_path_PERL
12189if test -n "$PERL"; then
12190  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
12191$as_echo "$PERL" >&6; }
12192else
12193  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12194$as_echo "no" >&6; }
12195fi
12196
12197
12198  test -n "$PERL" && break
12199done
12200test -n "$PERL" || PERL="perl"
12201
12202
12203
12204# Check whether --with-notice was given.
12205if test "${with_notice+set}" = set; then :
12206  withval=$with_notice; notice="$withval"
12207fi
12208
12209
12210case "$notice" in
12211unicode)
12212	;;
12213*)
12214	as_fn_error $? "
12215************************************************************************
12216Please rerun configure and add the
12217
12218      --with-notice=unicode
12219
12220option.
12221
12222This indicates that you've read the instructions in INSTALL about
12223updating from earlier versions; specifically the need to convert any
12224existing maildirs to a Unicode naming scheme, and the need to update
12225any other Courier packages together with updating this one.
12226
12227If you are building RPMs directly using the spec file from the source
12228tarball, add a
12229
12230      --define 'notice_option --with-notice=unicode'
12231
12232option to the rpmbuild command:
12233
12234$ rpmbuild -ta --define 'notice_option --with-notice=unicode'
12235
12236This message is only meant to make sure you are aware of the contents
12237of INSTALL about updating from earlier versions, and the need for
12238manual steps to update any existing maildirs.
12239
12240If you are installing for the first time, you can simply rerun configure
12241with this option.
12242************************************************************************" "$LINENO" 5
12243	;;
12244esac
12245
12246
12247
12248{ $as_echo "$as_me:${as_lineno-$LINENO}: checking courier-unicode library and version" >&5
12249$as_echo_n "checking courier-unicode library and version... " >&6; }
12250
12251v="2.1"
12252
12253if test "$v" = ""
12254then
12255	v=2.2
12256fi
12257
12258set -- `echo "$v" | tr '.' ' '`
12259
12260v=$1
12261r=$2
12262p=$3
12263
12264if test "$p" = ""
12265   then p="0"
12266fi
12267
12268cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12269/* end confdefs.h.  */
12270
12271#include <courier-unicode.h>
12272#ifndef COURIER_UNICODE_VERSION
12273#define COURIER_UNICODE_VERSION 0
12274#endif
12275
12276#if COURIER_UNICODE_VERSION < $v$r$p
12277#error "courier-unicode 2.1 library is required"
12278#endif
12279
12280
12281int
12282main ()
12283{
12284
12285  ;
12286  return 0;
12287}
12288_ACEOF
12289if ac_fn_c_try_compile "$LINENO"; then :
12290
12291else
12292  as_fn_error $? "
12293ERROR: The Courier Unicode Library 2.1 header files appear not to be installed.
12294You may need to upgrade the library or install a separate development
12295subpackage in addition to the main package." "$LINENO" 5
12296
12297fi
12298rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12299
12300{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
12301$as_echo "ok" >&6; }
12302
12303
12304
12305
12306
12307
12308
12309
12310
12311
12312if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12313	if test -n "$ac_tool_prefix"; then
12314  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12315set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12316{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12317$as_echo_n "checking for $ac_word... " >&6; }
12318if ${ac_cv_path_PKG_CONFIG+:} false; then :
12319  $as_echo_n "(cached) " >&6
12320else
12321  case $PKG_CONFIG in
12322  [\\/]* | ?:[\\/]*)
12323  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12324  ;;
12325  *)
12326  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12327for as_dir in $PATH
12328do
12329  IFS=$as_save_IFS
12330  test -z "$as_dir" && as_dir=.
12331    for ac_exec_ext in '' $ac_executable_extensions; do
12332  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12333    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12334    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12335    break 2
12336  fi
12337done
12338  done
12339IFS=$as_save_IFS
12340
12341  ;;
12342esac
12343fi
12344PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12345if test -n "$PKG_CONFIG"; then
12346  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12347$as_echo "$PKG_CONFIG" >&6; }
12348else
12349  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12350$as_echo "no" >&6; }
12351fi
12352
12353
12354fi
12355if test -z "$ac_cv_path_PKG_CONFIG"; then
12356  ac_pt_PKG_CONFIG=$PKG_CONFIG
12357  # Extract the first word of "pkg-config", so it can be a program name with args.
12358set dummy pkg-config; ac_word=$2
12359{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12360$as_echo_n "checking for $ac_word... " >&6; }
12361if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12362  $as_echo_n "(cached) " >&6
12363else
12364  case $ac_pt_PKG_CONFIG in
12365  [\\/]* | ?:[\\/]*)
12366  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12367  ;;
12368  *)
12369  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12370for as_dir in $PATH
12371do
12372  IFS=$as_save_IFS
12373  test -z "$as_dir" && as_dir=.
12374    for ac_exec_ext in '' $ac_executable_extensions; do
12375  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12376    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12377    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12378    break 2
12379  fi
12380done
12381  done
12382IFS=$as_save_IFS
12383
12384  ;;
12385esac
12386fi
12387ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12388if test -n "$ac_pt_PKG_CONFIG"; then
12389  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12390$as_echo "$ac_pt_PKG_CONFIG" >&6; }
12391else
12392  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12393$as_echo "no" >&6; }
12394fi
12395
12396  if test "x$ac_pt_PKG_CONFIG" = x; then
12397    PKG_CONFIG=""
12398  else
12399    case $cross_compiling:$ac_tool_warned in
12400yes:)
12401{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12402$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12403ac_tool_warned=yes ;;
12404esac
12405    PKG_CONFIG=$ac_pt_PKG_CONFIG
12406  fi
12407else
12408  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12409fi
12410
12411fi
12412if test -n "$PKG_CONFIG"; then
12413	_pkg_min_version=0.9.0
12414	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12415$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12416	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12417		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12418$as_echo "yes" >&6; }
12419	else
12420		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12421$as_echo "no" >&6; }
12422		PKG_CONFIG=""
12423	fi
12424fi
12425
12426pkg_failed=no
12427{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBIDN" >&5
12428$as_echo_n "checking for LIBIDN... " >&6; }
12429
12430if test -n "$LIBIDN_CFLAGS"; then
12431    pkg_cv_LIBIDN_CFLAGS="$LIBIDN_CFLAGS"
12432 elif test -n "$PKG_CONFIG"; then
12433    if test -n "$PKG_CONFIG" && \
12434    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libidn >= 0.0.0\""; } >&5
12435  ($PKG_CONFIG --exists --print-errors "libidn >= 0.0.0") 2>&5
12436  ac_status=$?
12437  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12438  test $ac_status = 0; }; then
12439  pkg_cv_LIBIDN_CFLAGS=`$PKG_CONFIG --cflags "libidn >= 0.0.0" 2>/dev/null`
12440		      test "x$?" != "x0" && pkg_failed=yes
12441else
12442  pkg_failed=yes
12443fi
12444 else
12445    pkg_failed=untried
12446fi
12447if test -n "$LIBIDN_LIBS"; then
12448    pkg_cv_LIBIDN_LIBS="$LIBIDN_LIBS"
12449 elif test -n "$PKG_CONFIG"; then
12450    if test -n "$PKG_CONFIG" && \
12451    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libidn >= 0.0.0\""; } >&5
12452  ($PKG_CONFIG --exists --print-errors "libidn >= 0.0.0") 2>&5
12453  ac_status=$?
12454  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12455  test $ac_status = 0; }; then
12456  pkg_cv_LIBIDN_LIBS=`$PKG_CONFIG --libs "libidn >= 0.0.0" 2>/dev/null`
12457		      test "x$?" != "x0" && pkg_failed=yes
12458else
12459  pkg_failed=yes
12460fi
12461 else
12462    pkg_failed=untried
12463fi
12464
12465
12466
12467if test $pkg_failed = yes; then
12468   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12469$as_echo "no" >&6; }
12470
12471if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12472        _pkg_short_errors_supported=yes
12473else
12474        _pkg_short_errors_supported=no
12475fi
12476        if test $_pkg_short_errors_supported = yes; then
12477	        LIBIDN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libidn >= 0.0.0" 2>&1`
12478        else
12479	        LIBIDN_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libidn >= 0.0.0" 2>&1`
12480        fi
12481	# Put the nasty error message in config.log where it belongs
12482	echo "$LIBIDN_PKG_ERRORS" >&5
12483
12484	libidn=no
12485elif test $pkg_failed = untried; then
12486     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12487$as_echo "no" >&6; }
12488	libidn=no
12489else
12490	LIBIDN_CFLAGS=$pkg_cv_LIBIDN_CFLAGS
12491	LIBIDN_LIBS=$pkg_cv_LIBIDN_LIBS
12492        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12493$as_echo "yes" >&6; }
12494	libidn=yes
12495fi
12496if test "$libidn" != "yes"
12497then
12498	as_fn_error $? "libidn not found" "$LINENO" 5
12499fi
12500
12501
12502 if test -d "$srcdir/docbook"; then
12503  HAVE_SGML_TRUE=
12504  HAVE_SGML_FALSE='#'
12505else
12506  HAVE_SGML_TRUE='#'
12507  HAVE_SGML_FALSE=
12508fi
12509
12510
12511for ac_prog in courier-config
12512do
12513  # Extract the first word of "$ac_prog", so it can be a program name with args.
12514set dummy $ac_prog; ac_word=$2
12515{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12516$as_echo_n "checking for $ac_word... " >&6; }
12517if ${ac_cv_path_COURIERCONFIG+:} false; then :
12518  $as_echo_n "(cached) " >&6
12519else
12520  case $COURIERCONFIG in
12521  [\\/]* | ?:[\\/]*)
12522  ac_cv_path_COURIERCONFIG="$COURIERCONFIG" # Let the user override the test with a path.
12523  ;;
12524  *)
12525  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12526for as_dir in $LPATH
12527do
12528  IFS=$as_save_IFS
12529  test -z "$as_dir" && as_dir=.
12530    for ac_exec_ext in '' $ac_executable_extensions; do
12531  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12532    ac_cv_path_COURIERCONFIG="$as_dir/$ac_word$ac_exec_ext"
12533    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12534    break 2
12535  fi
12536done
12537  done
12538IFS=$as_save_IFS
12539
12540  ;;
12541esac
12542fi
12543COURIERCONFIG=$ac_cv_path_COURIERCONFIG
12544if test -n "$COURIERCONFIG"; then
12545  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $COURIERCONFIG" >&5
12546$as_echo "$COURIERCONFIG" >&6; }
12547else
12548  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12549$as_echo "no" >&6; }
12550fi
12551
12552
12553  test -n "$COURIERCONFIG" && break
12554done
12555test -n "$COURIERCONFIG" || COURIERCONFIG="none"
12556
12557
12558echo "$VERSION" >coneversion
12559
12560
12561subdirs="$subdirs libs/unicode libs/numlib libs/liblock libs/soxwrap libs/md5 libs/sha1 libs/libhmac libs/random128 libs/rfc1035 libs/rfc822 libs/rfc2045 libs/gpglib libs/maildir libs/tcpd curses libs/ldapaddressbook libmail libs/rootcerts cone"
12562
12563ac_config_files="$ac_config_files Makefile cone.spec dbobj.config"
12564
12565cat >confcache <<\_ACEOF
12566# This file is a shell script that caches the results of configure
12567# tests run on this system so they can be shared between configure
12568# scripts and configure runs, see configure's option --config-cache.
12569# It is not useful on other systems.  If it contains results you don't
12570# want to keep, you may remove or edit it.
12571#
12572# config.status only pays attention to the cache file if you give it
12573# the --recheck option to rerun configure.
12574#
12575# `ac_cv_env_foo' variables (set or unset) will be overridden when
12576# loading this file, other *unset* `ac_cv_foo' will be assigned the
12577# following values.
12578
12579_ACEOF
12580
12581# The following way of writing the cache mishandles newlines in values,
12582# but we know of no workaround that is simple, portable, and efficient.
12583# So, we kill variables containing newlines.
12584# Ultrix sh set writes to stderr and can't be redirected directly,
12585# and sets the high bit in the cache file unless we assign to the vars.
12586(
12587  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12588    eval ac_val=\$$ac_var
12589    case $ac_val in #(
12590    *${as_nl}*)
12591      case $ac_var in #(
12592      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12593$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12594      esac
12595      case $ac_var in #(
12596      _ | IFS | as_nl) ;; #(
12597      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12598      *) { eval $ac_var=; unset $ac_var;} ;;
12599      esac ;;
12600    esac
12601  done
12602
12603  (set) 2>&1 |
12604    case $as_nl`(ac_space=' '; set) 2>&1` in #(
12605    *${as_nl}ac_space=\ *)
12606      # `set' does not quote correctly, so add quotes: double-quote
12607      # substitution turns \\\\ into \\, and sed turns \\ into \.
12608      sed -n \
12609	"s/'/'\\\\''/g;
12610	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12611      ;; #(
12612    *)
12613      # `set' quotes correctly as required by POSIX, so do not add quotes.
12614      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12615      ;;
12616    esac |
12617    sort
12618) |
12619  sed '
12620     /^ac_cv_env_/b end
12621     t clear
12622     :clear
12623     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12624     t end
12625     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12626     :end' >>confcache
12627if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12628  if test -w "$cache_file"; then
12629    if test "x$cache_file" != "x/dev/null"; then
12630      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12631$as_echo "$as_me: updating cache $cache_file" >&6;}
12632      if test ! -f "$cache_file" || test -h "$cache_file"; then
12633	cat confcache >"$cache_file"
12634      else
12635        case $cache_file in #(
12636        */* | ?:*)
12637	  mv -f confcache "$cache_file"$$ &&
12638	  mv -f "$cache_file"$$ "$cache_file" ;; #(
12639        *)
12640	  mv -f confcache "$cache_file" ;;
12641	esac
12642      fi
12643    fi
12644  else
12645    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12646$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12647  fi
12648fi
12649rm -f confcache
12650
12651test "x$prefix" = xNONE && prefix=$ac_default_prefix
12652# Let make expand exec_prefix.
12653test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12654
12655DEFS=-DHAVE_CONFIG_H
12656
12657ac_libobjs=
12658ac_ltlibobjs=
12659U=
12660for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12661  # 1. Remove the extension, and $U if already installed.
12662  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12663  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12664  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
12665  #    will be set to the directory where LIBOBJS objects are built.
12666  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12667  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12668done
12669LIBOBJS=$ac_libobjs
12670
12671LTLIBOBJS=$ac_ltlibobjs
12672
12673
12674{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
12675$as_echo_n "checking that generated files are newer than configure... " >&6; }
12676   if test -n "$am_sleep_pid"; then
12677     # Hide warnings about reused PIDs.
12678     wait $am_sleep_pid 2>/dev/null
12679   fi
12680   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
12681$as_echo "done" >&6; }
12682 if test -n "$EXEEXT"; then
12683  am__EXEEXT_TRUE=
12684  am__EXEEXT_FALSE='#'
12685else
12686  am__EXEEXT_TRUE='#'
12687  am__EXEEXT_FALSE=
12688fi
12689
12690if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12691  as_fn_error $? "conditional \"AMDEP\" was never defined.
12692Usually this means the macro was only invoked conditionally." "$LINENO" 5
12693fi
12694if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12695  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12696Usually this means the macro was only invoked conditionally." "$LINENO" 5
12697fi
12698if test -z "${HAVE_SGML_TRUE}" && test -z "${HAVE_SGML_FALSE}"; then
12699  as_fn_error $? "conditional \"HAVE_SGML\" was never defined.
12700Usually this means the macro was only invoked conditionally." "$LINENO" 5
12701fi
12702
12703: "${CONFIG_STATUS=./config.status}"
12704ac_write_fail=0
12705ac_clean_files_save=$ac_clean_files
12706ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12707{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12708$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12709as_write_fail=0
12710cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12711#! $SHELL
12712# Generated by $as_me.
12713# Run this file to recreate the current configuration.
12714# Compiler output produced by configure, useful for debugging
12715# configure, is in config.log if it exists.
12716
12717debug=false
12718ac_cs_recheck=false
12719ac_cs_silent=false
12720
12721SHELL=\${CONFIG_SHELL-$SHELL}
12722export SHELL
12723_ASEOF
12724cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12725## -------------------- ##
12726## M4sh Initialization. ##
12727## -------------------- ##
12728
12729# Be more Bourne compatible
12730DUALCASE=1; export DUALCASE # for MKS sh
12731if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12732  emulate sh
12733  NULLCMD=:
12734  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12735  # is contrary to our usage.  Disable this feature.
12736  alias -g '${1+"$@"}'='"$@"'
12737  setopt NO_GLOB_SUBST
12738else
12739  case `(set -o) 2>/dev/null` in #(
12740  *posix*) :
12741    set -o posix ;; #(
12742  *) :
12743     ;;
12744esac
12745fi
12746
12747
12748as_nl='
12749'
12750export as_nl
12751# Printing a long string crashes Solaris 7 /usr/bin/printf.
12752as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12753as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12754as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12755# Prefer a ksh shell builtin over an external printf program on Solaris,
12756# but without wasting forks for bash or zsh.
12757if test -z "$BASH_VERSION$ZSH_VERSION" \
12758    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12759  as_echo='print -r --'
12760  as_echo_n='print -rn --'
12761elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12762  as_echo='printf %s\n'
12763  as_echo_n='printf %s'
12764else
12765  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12766    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12767    as_echo_n='/usr/ucb/echo -n'
12768  else
12769    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12770    as_echo_n_body='eval
12771      arg=$1;
12772      case $arg in #(
12773      *"$as_nl"*)
12774	expr "X$arg" : "X\\(.*\\)$as_nl";
12775	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12776      esac;
12777      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12778    '
12779    export as_echo_n_body
12780    as_echo_n='sh -c $as_echo_n_body as_echo'
12781  fi
12782  export as_echo_body
12783  as_echo='sh -c $as_echo_body as_echo'
12784fi
12785
12786# The user is always right.
12787if test "${PATH_SEPARATOR+set}" != set; then
12788  PATH_SEPARATOR=:
12789  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12790    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12791      PATH_SEPARATOR=';'
12792  }
12793fi
12794
12795
12796# IFS
12797# We need space, tab and new line, in precisely that order.  Quoting is
12798# there to prevent editors from complaining about space-tab.
12799# (If _AS_PATH_WALK were called with IFS unset, it would disable word
12800# splitting by setting IFS to empty value.)
12801IFS=" ""	$as_nl"
12802
12803# Find who we are.  Look in the path if we contain no directory separator.
12804as_myself=
12805case $0 in #((
12806  *[\\/]* ) as_myself=$0 ;;
12807  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12808for as_dir in $PATH
12809do
12810  IFS=$as_save_IFS
12811  test -z "$as_dir" && as_dir=.
12812    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12813  done
12814IFS=$as_save_IFS
12815
12816     ;;
12817esac
12818# We did not find ourselves, most probably we were run as `sh COMMAND'
12819# in which case we are not to be found in the path.
12820if test "x$as_myself" = x; then
12821  as_myself=$0
12822fi
12823if test ! -f "$as_myself"; then
12824  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12825  exit 1
12826fi
12827
12828# Unset variables that we do not need and which cause bugs (e.g. in
12829# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
12830# suppresses any "Segmentation fault" message there.  '((' could
12831# trigger a bug in pdksh 5.2.14.
12832for as_var in BASH_ENV ENV MAIL MAILPATH
12833do eval test x\${$as_var+set} = xset \
12834  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
12835done
12836PS1='$ '
12837PS2='> '
12838PS4='+ '
12839
12840# NLS nuisances.
12841LC_ALL=C
12842export LC_ALL
12843LANGUAGE=C
12844export LANGUAGE
12845
12846# CDPATH.
12847(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12848
12849
12850# as_fn_error STATUS ERROR [LINENO LOG_FD]
12851# ----------------------------------------
12852# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12853# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12854# script with STATUS, using 1 if that was 0.
12855as_fn_error ()
12856{
12857  as_status=$1; test $as_status -eq 0 && as_status=1
12858  if test "$4"; then
12859    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12860    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12861  fi
12862  $as_echo "$as_me: error: $2" >&2
12863  as_fn_exit $as_status
12864} # as_fn_error
12865
12866
12867# as_fn_set_status STATUS
12868# -----------------------
12869# Set $? to STATUS, without forking.
12870as_fn_set_status ()
12871{
12872  return $1
12873} # as_fn_set_status
12874
12875# as_fn_exit STATUS
12876# -----------------
12877# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12878as_fn_exit ()
12879{
12880  set +e
12881  as_fn_set_status $1
12882  exit $1
12883} # as_fn_exit
12884
12885# as_fn_unset VAR
12886# ---------------
12887# Portably unset VAR.
12888as_fn_unset ()
12889{
12890  { eval $1=; unset $1;}
12891}
12892as_unset=as_fn_unset
12893# as_fn_append VAR VALUE
12894# ----------------------
12895# Append the text in VALUE to the end of the definition contained in VAR. Take
12896# advantage of any shell optimizations that allow amortized linear growth over
12897# repeated appends, instead of the typical quadratic growth present in naive
12898# implementations.
12899if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
12900  eval 'as_fn_append ()
12901  {
12902    eval $1+=\$2
12903  }'
12904else
12905  as_fn_append ()
12906  {
12907    eval $1=\$$1\$2
12908  }
12909fi # as_fn_append
12910
12911# as_fn_arith ARG...
12912# ------------------
12913# Perform arithmetic evaluation on the ARGs, and store the result in the
12914# global $as_val. Take advantage of shells that can avoid forks. The arguments
12915# must be portable across $(()) and expr.
12916if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
12917  eval 'as_fn_arith ()
12918  {
12919    as_val=$(( $* ))
12920  }'
12921else
12922  as_fn_arith ()
12923  {
12924    as_val=`expr "$@" || test $? -eq 1`
12925  }
12926fi # as_fn_arith
12927
12928
12929if expr a : '\(a\)' >/dev/null 2>&1 &&
12930   test "X`expr 00001 : '.*\(...\)'`" = X001; then
12931  as_expr=expr
12932else
12933  as_expr=false
12934fi
12935
12936if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12937  as_basename=basename
12938else
12939  as_basename=false
12940fi
12941
12942if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12943  as_dirname=dirname
12944else
12945  as_dirname=false
12946fi
12947
12948as_me=`$as_basename -- "$0" ||
12949$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12950	 X"$0" : 'X\(//\)$' \| \
12951	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12952$as_echo X/"$0" |
12953    sed '/^.*\/\([^/][^/]*\)\/*$/{
12954	    s//\1/
12955	    q
12956	  }
12957	  /^X\/\(\/\/\)$/{
12958	    s//\1/
12959	    q
12960	  }
12961	  /^X\/\(\/\).*/{
12962	    s//\1/
12963	    q
12964	  }
12965	  s/.*/./; q'`
12966
12967# Avoid depending upon Character Ranges.
12968as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12969as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12970as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12971as_cr_digits='0123456789'
12972as_cr_alnum=$as_cr_Letters$as_cr_digits
12973
12974ECHO_C= ECHO_N= ECHO_T=
12975case `echo -n x` in #(((((
12976-n*)
12977  case `echo 'xy\c'` in
12978  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
12979  xy)  ECHO_C='\c';;
12980  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
12981       ECHO_T='	';;
12982  esac;;
12983*)
12984  ECHO_N='-n';;
12985esac
12986
12987rm -f conf$$ conf$$.exe conf$$.file
12988if test -d conf$$.dir; then
12989  rm -f conf$$.dir/conf$$.file
12990else
12991  rm -f conf$$.dir
12992  mkdir conf$$.dir 2>/dev/null
12993fi
12994if (echo >conf$$.file) 2>/dev/null; then
12995  if ln -s conf$$.file conf$$ 2>/dev/null; then
12996    as_ln_s='ln -s'
12997    # ... but there are two gotchas:
12998    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12999    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13000    # In both cases, we have to default to `cp -pR'.
13001    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13002      as_ln_s='cp -pR'
13003  elif ln conf$$.file conf$$ 2>/dev/null; then
13004    as_ln_s=ln
13005  else
13006    as_ln_s='cp -pR'
13007  fi
13008else
13009  as_ln_s='cp -pR'
13010fi
13011rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13012rmdir conf$$.dir 2>/dev/null
13013
13014
13015# as_fn_mkdir_p
13016# -------------
13017# Create "$as_dir" as a directory, including parents if necessary.
13018as_fn_mkdir_p ()
13019{
13020
13021  case $as_dir in #(
13022  -*) as_dir=./$as_dir;;
13023  esac
13024  test -d "$as_dir" || eval $as_mkdir_p || {
13025    as_dirs=
13026    while :; do
13027      case $as_dir in #(
13028      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13029      *) as_qdir=$as_dir;;
13030      esac
13031      as_dirs="'$as_qdir' $as_dirs"
13032      as_dir=`$as_dirname -- "$as_dir" ||
13033$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13034	 X"$as_dir" : 'X\(//\)[^/]' \| \
13035	 X"$as_dir" : 'X\(//\)$' \| \
13036	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13037$as_echo X"$as_dir" |
13038    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13039	    s//\1/
13040	    q
13041	  }
13042	  /^X\(\/\/\)[^/].*/{
13043	    s//\1/
13044	    q
13045	  }
13046	  /^X\(\/\/\)$/{
13047	    s//\1/
13048	    q
13049	  }
13050	  /^X\(\/\).*/{
13051	    s//\1/
13052	    q
13053	  }
13054	  s/.*/./; q'`
13055      test -d "$as_dir" && break
13056    done
13057    test -z "$as_dirs" || eval "mkdir $as_dirs"
13058  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13059
13060
13061} # as_fn_mkdir_p
13062if mkdir -p . 2>/dev/null; then
13063  as_mkdir_p='mkdir -p "$as_dir"'
13064else
13065  test -d ./-p && rmdir ./-p
13066  as_mkdir_p=false
13067fi
13068
13069
13070# as_fn_executable_p FILE
13071# -----------------------
13072# Test if FILE is an executable regular file.
13073as_fn_executable_p ()
13074{
13075  test -f "$1" && test -x "$1"
13076} # as_fn_executable_p
13077as_test_x='test -x'
13078as_executable_p=as_fn_executable_p
13079
13080# Sed expression to map a string onto a valid CPP name.
13081as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13082
13083# Sed expression to map a string onto a valid variable name.
13084as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13085
13086
13087exec 6>&1
13088## ----------------------------------- ##
13089## Main body of $CONFIG_STATUS script. ##
13090## ----------------------------------- ##
13091_ASEOF
13092test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13093
13094cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13095# Save the log message, to keep $0 and so on meaningful, and to
13096# report actual input values of CONFIG_FILES etc. instead of their
13097# values after options handling.
13098ac_log="
13099This file was extended by cone $as_me 1.1, which was
13100generated by GNU Autoconf 2.69.  Invocation command line was
13101
13102  CONFIG_FILES    = $CONFIG_FILES
13103  CONFIG_HEADERS  = $CONFIG_HEADERS
13104  CONFIG_LINKS    = $CONFIG_LINKS
13105  CONFIG_COMMANDS = $CONFIG_COMMANDS
13106  $ $0 $@
13107
13108on `(hostname || uname -n) 2>/dev/null | sed 1q`
13109"
13110
13111_ACEOF
13112
13113case $ac_config_files in *"
13114"*) set x $ac_config_files; shift; ac_config_files=$*;;
13115esac
13116
13117case $ac_config_headers in *"
13118"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13119esac
13120
13121
13122cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13123# Files that config.status was made for.
13124config_files="$ac_config_files"
13125config_headers="$ac_config_headers"
13126config_commands="$ac_config_commands"
13127
13128_ACEOF
13129
13130cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13131ac_cs_usage="\
13132\`$as_me' instantiates files and other configuration actions
13133from templates according to the current configuration.  Unless the files
13134and actions are specified as TAGs, all are instantiated by default.
13135
13136Usage: $0 [OPTION]... [TAG]...
13137
13138  -h, --help       print this help, then exit
13139  -V, --version    print version number and configuration settings, then exit
13140      --config     print configuration, then exit
13141  -q, --quiet, --silent
13142                   do not print progress messages
13143  -d, --debug      don't remove temporary files
13144      --recheck    update $as_me by reconfiguring in the same conditions
13145      --file=FILE[:TEMPLATE]
13146                   instantiate the configuration file FILE
13147      --header=FILE[:TEMPLATE]
13148                   instantiate the configuration header FILE
13149
13150Configuration files:
13151$config_files
13152
13153Configuration headers:
13154$config_headers
13155
13156Configuration commands:
13157$config_commands
13158
13159Report bugs to <courier-cone@lists.sourceforge.net>."
13160
13161_ACEOF
13162cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13163ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13164ac_cs_version="\\
13165cone config.status 1.1
13166configured by $0, generated by GNU Autoconf 2.69,
13167  with options \\"\$ac_cs_config\\"
13168
13169Copyright (C) 2012 Free Software Foundation, Inc.
13170This config.status script is free software; the Free Software Foundation
13171gives unlimited permission to copy, distribute and modify it."
13172
13173ac_pwd='$ac_pwd'
13174srcdir='$srcdir'
13175INSTALL='$INSTALL'
13176MKDIR_P='$MKDIR_P'
13177AWK='$AWK'
13178test -n "\$AWK" || AWK=awk
13179_ACEOF
13180
13181cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13182# The default lists apply if the user does not specify any file.
13183ac_need_defaults=:
13184while test $# != 0
13185do
13186  case $1 in
13187  --*=?*)
13188    ac_option=`expr "X$1" : 'X\([^=]*\)='`
13189    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13190    ac_shift=:
13191    ;;
13192  --*=)
13193    ac_option=`expr "X$1" : 'X\([^=]*\)='`
13194    ac_optarg=
13195    ac_shift=:
13196    ;;
13197  *)
13198    ac_option=$1
13199    ac_optarg=$2
13200    ac_shift=shift
13201    ;;
13202  esac
13203
13204  case $ac_option in
13205  # Handling of the options.
13206  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13207    ac_cs_recheck=: ;;
13208  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13209    $as_echo "$ac_cs_version"; exit ;;
13210  --config | --confi | --conf | --con | --co | --c )
13211    $as_echo "$ac_cs_config"; exit ;;
13212  --debug | --debu | --deb | --de | --d | -d )
13213    debug=: ;;
13214  --file | --fil | --fi | --f )
13215    $ac_shift
13216    case $ac_optarg in
13217    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13218    '') as_fn_error $? "missing file argument" ;;
13219    esac
13220    as_fn_append CONFIG_FILES " '$ac_optarg'"
13221    ac_need_defaults=false;;
13222  --header | --heade | --head | --hea )
13223    $ac_shift
13224    case $ac_optarg in
13225    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13226    esac
13227    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13228    ac_need_defaults=false;;
13229  --he | --h)
13230    # Conflict between --help and --header
13231    as_fn_error $? "ambiguous option: \`$1'
13232Try \`$0 --help' for more information.";;
13233  --help | --hel | -h )
13234    $as_echo "$ac_cs_usage"; exit ;;
13235  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13236  | -silent | --silent | --silen | --sile | --sil | --si | --s)
13237    ac_cs_silent=: ;;
13238
13239  # This is an error.
13240  -*) as_fn_error $? "unrecognized option: \`$1'
13241Try \`$0 --help' for more information." ;;
13242
13243  *) as_fn_append ac_config_targets " $1"
13244     ac_need_defaults=false ;;
13245
13246  esac
13247  shift
13248done
13249
13250ac_configure_extra_args=
13251
13252if $ac_cs_silent; then
13253  exec 6>/dev/null
13254  ac_configure_extra_args="$ac_configure_extra_args --silent"
13255fi
13256
13257_ACEOF
13258cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13259if \$ac_cs_recheck; then
13260  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13261  shift
13262  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13263  CONFIG_SHELL='$SHELL'
13264  export CONFIG_SHELL
13265  exec "\$@"
13266fi
13267
13268_ACEOF
13269cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13270exec 5>>config.log
13271{
13272  echo
13273  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13274## Running $as_me. ##
13275_ASBOX
13276  $as_echo "$ac_log"
13277} >&5
13278
13279_ACEOF
13280cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13281#
13282# INIT-COMMANDS
13283#
13284AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
13285
13286
13287# The HP-UX ksh and POSIX shell print the target directory to stdout
13288# if CDPATH is set.
13289(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13290
13291sed_quote_subst='$sed_quote_subst'
13292double_quote_subst='$double_quote_subst'
13293delay_variable_subst='$delay_variable_subst'
13294macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13295macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13296enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13297enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13298pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13299enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13300shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
13301SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13302ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13303PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13304host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13305host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13306host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13307build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13308build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13309build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13310SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13311Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13312GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13313EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13314FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13315LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13316NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13317LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13318max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13319ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13320exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13321lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13322lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13323lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13324lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13325lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13326reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13327reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13328OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13329deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13330file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13331file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13332want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13333DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13334sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13335AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13336AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13337archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13338STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13339RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13340old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13341old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13342old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13343lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13344CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13345CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13346compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13347GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13348lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13349lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13350lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
13351lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13352lt_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"`'
13353lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
13354nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13355lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13356lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
13357objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13358MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13359lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13360lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13361lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13362lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13363lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13364need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13365MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13366DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13367NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13368LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13369OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13370OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13371libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13372shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13373extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13374archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13375enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13376export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13377whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13378compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13379old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13380old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13381archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13382archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13383module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13384module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13385with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13386allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13387no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13388hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13389hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13390hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13391hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13392hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13393hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13394hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13395inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13396link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13397always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13398export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13399exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13400include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13401prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13402postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13403file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13404variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13405need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13406need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13407version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13408runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13409shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13410shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13411libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13412library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13413soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13414install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13415postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13416postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13417finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13418finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13419hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13420sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13421configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
13422configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
13423hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13424enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13425enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13426enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13427old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13428striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13429
13430LTCC='$LTCC'
13431LTCFLAGS='$LTCFLAGS'
13432compiler='$compiler_DEFAULT'
13433
13434# A function that is used when there is no print builtin or printf.
13435func_fallback_echo ()
13436{
13437  eval 'cat <<_LTECHO_EOF
13438\$1
13439_LTECHO_EOF'
13440}
13441
13442# Quote evaled strings.
13443for var in SHELL \
13444ECHO \
13445PATH_SEPARATOR \
13446SED \
13447GREP \
13448EGREP \
13449FGREP \
13450LD \
13451NM \
13452LN_S \
13453lt_SP2NL \
13454lt_NL2SP \
13455reload_flag \
13456OBJDUMP \
13457deplibs_check_method \
13458file_magic_cmd \
13459file_magic_glob \
13460want_nocaseglob \
13461DLLTOOL \
13462sharedlib_from_linklib_cmd \
13463AR \
13464AR_FLAGS \
13465archiver_list_spec \
13466STRIP \
13467RANLIB \
13468CC \
13469CFLAGS \
13470compiler \
13471lt_cv_sys_global_symbol_pipe \
13472lt_cv_sys_global_symbol_to_cdecl \
13473lt_cv_sys_global_symbol_to_import \
13474lt_cv_sys_global_symbol_to_c_name_address \
13475lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13476lt_cv_nm_interface \
13477nm_file_list_spec \
13478lt_cv_truncate_bin \
13479lt_prog_compiler_no_builtin_flag \
13480lt_prog_compiler_pic \
13481lt_prog_compiler_wl \
13482lt_prog_compiler_static \
13483lt_cv_prog_compiler_c_o \
13484need_locks \
13485MANIFEST_TOOL \
13486DSYMUTIL \
13487NMEDIT \
13488LIPO \
13489OTOOL \
13490OTOOL64 \
13491shrext_cmds \
13492export_dynamic_flag_spec \
13493whole_archive_flag_spec \
13494compiler_needs_object \
13495with_gnu_ld \
13496allow_undefined_flag \
13497no_undefined_flag \
13498hardcode_libdir_flag_spec \
13499hardcode_libdir_separator \
13500exclude_expsyms \
13501include_expsyms \
13502file_list_spec \
13503variables_saved_for_relink \
13504libname_spec \
13505library_names_spec \
13506soname_spec \
13507install_override_mode \
13508finish_eval \
13509old_striplib \
13510striplib; do
13511    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13512    *[\\\\\\\`\\"\\\$]*)
13513      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
13514      ;;
13515    *)
13516      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13517      ;;
13518    esac
13519done
13520
13521# Double-quote double-evaled strings.
13522for var in reload_cmds \
13523old_postinstall_cmds \
13524old_postuninstall_cmds \
13525old_archive_cmds \
13526extract_expsyms_cmds \
13527old_archive_from_new_cmds \
13528old_archive_from_expsyms_cmds \
13529archive_cmds \
13530archive_expsym_cmds \
13531module_cmds \
13532module_expsym_cmds \
13533export_symbols_cmds \
13534prelink_cmds \
13535postlink_cmds \
13536postinstall_cmds \
13537postuninstall_cmds \
13538finish_cmds \
13539sys_lib_search_path_spec \
13540configure_time_dlsearch_path \
13541configure_time_lt_sys_library_path; do
13542    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13543    *[\\\\\\\`\\"\\\$]*)
13544      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
13545      ;;
13546    *)
13547      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13548      ;;
13549    esac
13550done
13551
13552ac_aux_dir='$ac_aux_dir'
13553
13554# See if we are running on zsh, and set the options that allow our
13555# commands through without removal of \ escapes INIT.
13556if test -n "\${ZSH_VERSION+set}"; then
13557   setopt NO_GLOB_SUBST
13558fi
13559
13560
13561    PACKAGE='$PACKAGE'
13562    VERSION='$VERSION'
13563    RM='$RM'
13564    ofile='$ofile'
13565
13566
13567
13568
13569_ACEOF
13570
13571cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13572
13573# Handling of arguments.
13574for ac_config_target in $ac_config_targets
13575do
13576  case $ac_config_target in
13577    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13578    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13579    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13580    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13581    "cone.spec") CONFIG_FILES="$CONFIG_FILES cone.spec" ;;
13582    "dbobj.config") CONFIG_FILES="$CONFIG_FILES dbobj.config" ;;
13583
13584  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13585  esac
13586done
13587
13588
13589# If the user did not use the arguments to specify the items to instantiate,
13590# then the envvar interface is used.  Set only those that are not.
13591# We use the long form for the default assignment because of an extremely
13592# bizarre bug on SunOS 4.1.3.
13593if $ac_need_defaults; then
13594  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13595  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13596  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13597fi
13598
13599# Have a temporary directory for convenience.  Make it in the build tree
13600# simply because there is no reason against having it here, and in addition,
13601# creating and moving files from /tmp can sometimes cause problems.
13602# Hook for its removal unless debugging.
13603# Note that there is a small window in which the directory will not be cleaned:
13604# after its creation but before its name has been assigned to `$tmp'.
13605$debug ||
13606{
13607  tmp= ac_tmp=
13608  trap 'exit_status=$?
13609  : "${ac_tmp:=$tmp}"
13610  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13611' 0
13612  trap 'as_fn_exit 1' 1 2 13 15
13613}
13614# Create a (secure) tmp directory for tmp files.
13615
13616{
13617  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13618  test -d "$tmp"
13619}  ||
13620{
13621  tmp=./conf$$-$RANDOM
13622  (umask 077 && mkdir "$tmp")
13623} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13624ac_tmp=$tmp
13625
13626# Set up the scripts for CONFIG_FILES section.
13627# No need to generate them if there are no CONFIG_FILES.
13628# This happens for instance with `./config.status config.h'.
13629if test -n "$CONFIG_FILES"; then
13630
13631
13632ac_cr=`echo X | tr X '\015'`
13633# On cygwin, bash can eat \r inside `` if the user requested igncr.
13634# But we know of no other shell where ac_cr would be empty at this
13635# point, so we can use a bashism as a fallback.
13636if test "x$ac_cr" = x; then
13637  eval ac_cr=\$\'\\r\'
13638fi
13639ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13640if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13641  ac_cs_awk_cr='\\r'
13642else
13643  ac_cs_awk_cr=$ac_cr
13644fi
13645
13646echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13647_ACEOF
13648
13649
13650{
13651  echo "cat >conf$$subs.awk <<_ACEOF" &&
13652  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13653  echo "_ACEOF"
13654} >conf$$subs.sh ||
13655  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13656ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13657ac_delim='%!_!# '
13658for ac_last_try in false false false false false :; do
13659  . ./conf$$subs.sh ||
13660    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13661
13662  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13663  if test $ac_delim_n = $ac_delim_num; then
13664    break
13665  elif $ac_last_try; then
13666    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13667  else
13668    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13669  fi
13670done
13671rm -f conf$$subs.sh
13672
13673cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13674cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
13675_ACEOF
13676sed -n '
13677h
13678s/^/S["/; s/!.*/"]=/
13679p
13680g
13681s/^[^!]*!//
13682:repl
13683t repl
13684s/'"$ac_delim"'$//
13685t delim
13686:nl
13687h
13688s/\(.\{148\}\)..*/\1/
13689t more1
13690s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13691p
13692n
13693b repl
13694:more1
13695s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13696p
13697g
13698s/.\{148\}//
13699t nl
13700:delim
13701h
13702s/\(.\{148\}\)..*/\1/
13703t more2
13704s/["\\]/\\&/g; s/^/"/; s/$/"/
13705p
13706b
13707:more2
13708s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13709p
13710g
13711s/.\{148\}//
13712t delim
13713' <conf$$subs.awk | sed '
13714/^[^""]/{
13715  N
13716  s/\n//
13717}
13718' >>$CONFIG_STATUS || ac_write_fail=1
13719rm -f conf$$subs.awk
13720cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13721_ACAWK
13722cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
13723  for (key in S) S_is_set[key] = 1
13724  FS = ""
13725
13726}
13727{
13728  line = $ 0
13729  nfields = split(line, field, "@")
13730  substed = 0
13731  len = length(field[1])
13732  for (i = 2; i < nfields; i++) {
13733    key = field[i]
13734    keylen = length(key)
13735    if (S_is_set[key]) {
13736      value = S[key]
13737      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13738      len += length(value) + length(field[++i])
13739      substed = 1
13740    } else
13741      len += 1 + keylen
13742  }
13743
13744  print line
13745}
13746
13747_ACAWK
13748_ACEOF
13749cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13750if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13751  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13752else
13753  cat
13754fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
13755  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
13756_ACEOF
13757
13758# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13759# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
13760# trailing colons and then remove the whole line if VPATH becomes empty
13761# (actually we leave an empty line to preserve line numbers).
13762if test "x$srcdir" = x.; then
13763  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
13764h
13765s///
13766s/^/:/
13767s/[	 ]*$/:/
13768s/:\$(srcdir):/:/g
13769s/:\${srcdir}:/:/g
13770s/:@srcdir@:/:/g
13771s/^:*//
13772s/:*$//
13773x
13774s/\(=[	 ]*\).*/\1/
13775G
13776s/\n//
13777s/^[^=]*=[	 ]*$//
13778}'
13779fi
13780
13781cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13782fi # test -n "$CONFIG_FILES"
13783
13784# Set up the scripts for CONFIG_HEADERS section.
13785# No need to generate them if there are no CONFIG_HEADERS.
13786# This happens for instance with `./config.status Makefile'.
13787if test -n "$CONFIG_HEADERS"; then
13788cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
13789BEGIN {
13790_ACEOF
13791
13792# Transform confdefs.h into an awk script `defines.awk', embedded as
13793# here-document in config.status, that substitutes the proper values into
13794# config.h.in to produce config.h.
13795
13796# Create a delimiter string that does not exist in confdefs.h, to ease
13797# handling of long lines.
13798ac_delim='%!_!# '
13799for ac_last_try in false false :; do
13800  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
13801  if test -z "$ac_tt"; then
13802    break
13803  elif $ac_last_try; then
13804    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
13805  else
13806    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13807  fi
13808done
13809
13810# For the awk script, D is an array of macro values keyed by name,
13811# likewise P contains macro parameters if any.  Preserve backslash
13812# newline sequences.
13813
13814ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13815sed -n '
13816s/.\{148\}/&'"$ac_delim"'/g
13817t rset
13818:rset
13819s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
13820t def
13821d
13822:def
13823s/\\$//
13824t bsnl
13825s/["\\]/\\&/g
13826s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
13827D["\1"]=" \3"/p
13828s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
13829d
13830:bsnl
13831s/["\\]/\\&/g
13832s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
13833D["\1"]=" \3\\\\\\n"\\/p
13834t cont
13835s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
13836t cont
13837d
13838:cont
13839n
13840s/.\{148\}/&'"$ac_delim"'/g
13841t clear
13842:clear
13843s/\\$//
13844t bsnlc
13845s/["\\]/\\&/g; s/^/"/; s/$/"/p
13846d
13847:bsnlc
13848s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
13849b cont
13850' <confdefs.h | sed '
13851s/'"$ac_delim"'/"\\\
13852"/g' >>$CONFIG_STATUS || ac_write_fail=1
13853
13854cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13855  for (key in D) D_is_set[key] = 1
13856  FS = ""
13857}
13858/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13859  line = \$ 0
13860  split(line, arg, " ")
13861  if (arg[1] == "#") {
13862    defundef = arg[2]
13863    mac1 = arg[3]
13864  } else {
13865    defundef = substr(arg[1], 2)
13866    mac1 = arg[2]
13867  }
13868  split(mac1, mac2, "(") #)
13869  macro = mac2[1]
13870  prefix = substr(line, 1, index(line, defundef) - 1)
13871  if (D_is_set[macro]) {
13872    # Preserve the white space surrounding the "#".
13873    print prefix "define", macro P[macro] D[macro]
13874    next
13875  } else {
13876    # Replace #undef with comments.  This is necessary, for example,
13877    # in the case of _POSIX_SOURCE, which is predefined and required
13878    # on some systems where configure will not decide to define it.
13879    if (defundef == "undef") {
13880      print "/*", prefix defundef, macro, "*/"
13881      next
13882    }
13883  }
13884}
13885{ print }
13886_ACAWK
13887_ACEOF
13888cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13889  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
13890fi # test -n "$CONFIG_HEADERS"
13891
13892
13893eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
13894shift
13895for ac_tag
13896do
13897  case $ac_tag in
13898  :[FHLC]) ac_mode=$ac_tag; continue;;
13899  esac
13900  case $ac_mode$ac_tag in
13901  :[FHL]*:*);;
13902  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
13903  :[FH]-) ac_tag=-:-;;
13904  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13905  esac
13906  ac_save_IFS=$IFS
13907  IFS=:
13908  set x $ac_tag
13909  IFS=$ac_save_IFS
13910  shift
13911  ac_file=$1
13912  shift
13913
13914  case $ac_mode in
13915  :L) ac_source=$1;;
13916  :[FH])
13917    ac_file_inputs=
13918    for ac_f
13919    do
13920      case $ac_f in
13921      -) ac_f="$ac_tmp/stdin";;
13922      *) # Look for the file first in the build tree, then in the source tree
13923	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
13924	 # because $ac_f cannot contain `:'.
13925	 test -f "$ac_f" ||
13926	   case $ac_f in
13927	   [\\/$]*) false;;
13928	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13929	   esac ||
13930	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13931      esac
13932      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13933      as_fn_append ac_file_inputs " '$ac_f'"
13934    done
13935
13936    # Let's still pretend it is `configure' which instantiates (i.e., don't
13937    # use $as_me), people would be surprised to read:
13938    #    /* config.h.  Generated by config.status.  */
13939    configure_input='Generated from '`
13940	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13941	`' by configure.'
13942    if test x"$ac_file" != x-; then
13943      configure_input="$ac_file.  $configure_input"
13944      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13945$as_echo "$as_me: creating $ac_file" >&6;}
13946    fi
13947    # Neutralize special characters interpreted by sed in replacement strings.
13948    case $configure_input in #(
13949    *\&* | *\|* | *\\* )
13950       ac_sed_conf_input=`$as_echo "$configure_input" |
13951       sed 's/[\\\\&|]/\\\\&/g'`;; #(
13952    *) ac_sed_conf_input=$configure_input;;
13953    esac
13954
13955    case $ac_tag in
13956    *:-:* | *:-) cat >"$ac_tmp/stdin" \
13957      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
13958    esac
13959    ;;
13960  esac
13961
13962  ac_dir=`$as_dirname -- "$ac_file" ||
13963$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13964	 X"$ac_file" : 'X\(//\)[^/]' \| \
13965	 X"$ac_file" : 'X\(//\)$' \| \
13966	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13967$as_echo X"$ac_file" |
13968    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13969	    s//\1/
13970	    q
13971	  }
13972	  /^X\(\/\/\)[^/].*/{
13973	    s//\1/
13974	    q
13975	  }
13976	  /^X\(\/\/\)$/{
13977	    s//\1/
13978	    q
13979	  }
13980	  /^X\(\/\).*/{
13981	    s//\1/
13982	    q
13983	  }
13984	  s/.*/./; q'`
13985  as_dir="$ac_dir"; as_fn_mkdir_p
13986  ac_builddir=.
13987
13988case "$ac_dir" in
13989.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13990*)
13991  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13992  # A ".." for each directory in $ac_dir_suffix.
13993  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13994  case $ac_top_builddir_sub in
13995  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13996  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13997  esac ;;
13998esac
13999ac_abs_top_builddir=$ac_pwd
14000ac_abs_builddir=$ac_pwd$ac_dir_suffix
14001# for backward compatibility:
14002ac_top_builddir=$ac_top_build_prefix
14003
14004case $srcdir in
14005  .)  # We are building in place.
14006    ac_srcdir=.
14007    ac_top_srcdir=$ac_top_builddir_sub
14008    ac_abs_top_srcdir=$ac_pwd ;;
14009  [\\/]* | ?:[\\/]* )  # Absolute name.
14010    ac_srcdir=$srcdir$ac_dir_suffix;
14011    ac_top_srcdir=$srcdir
14012    ac_abs_top_srcdir=$srcdir ;;
14013  *) # Relative name.
14014    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14015    ac_top_srcdir=$ac_top_build_prefix$srcdir
14016    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14017esac
14018ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14019
14020
14021  case $ac_mode in
14022  :F)
14023  #
14024  # CONFIG_FILE
14025  #
14026
14027  case $INSTALL in
14028  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14029  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14030  esac
14031  ac_MKDIR_P=$MKDIR_P
14032  case $MKDIR_P in
14033  [\\/$]* | ?:[\\/]* ) ;;
14034  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14035  esac
14036_ACEOF
14037
14038cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14039# If the template does not know about datarootdir, expand it.
14040# FIXME: This hack should be removed a few years after 2.60.
14041ac_datarootdir_hack=; ac_datarootdir_seen=
14042ac_sed_dataroot='
14043/datarootdir/ {
14044  p
14045  q
14046}
14047/@datadir@/p
14048/@docdir@/p
14049/@infodir@/p
14050/@localedir@/p
14051/@mandir@/p'
14052case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14053*datarootdir*) ac_datarootdir_seen=yes;;
14054*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14055  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14056$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14057_ACEOF
14058cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14059  ac_datarootdir_hack='
14060  s&@datadir@&$datadir&g
14061  s&@docdir@&$docdir&g
14062  s&@infodir@&$infodir&g
14063  s&@localedir@&$localedir&g
14064  s&@mandir@&$mandir&g
14065  s&\\\${datarootdir}&$datarootdir&g' ;;
14066esac
14067_ACEOF
14068
14069# Neutralize VPATH when `$srcdir' = `.'.
14070# Shell code in configure.ac might set extrasub.
14071# FIXME: do we really want to maintain this feature?
14072cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14073ac_sed_extra="$ac_vpsub
14074$extrasub
14075_ACEOF
14076cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14077:t
14078/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14079s|@configure_input@|$ac_sed_conf_input|;t t
14080s&@top_builddir@&$ac_top_builddir_sub&;t t
14081s&@top_build_prefix@&$ac_top_build_prefix&;t t
14082s&@srcdir@&$ac_srcdir&;t t
14083s&@abs_srcdir@&$ac_abs_srcdir&;t t
14084s&@top_srcdir@&$ac_top_srcdir&;t t
14085s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14086s&@builddir@&$ac_builddir&;t t
14087s&@abs_builddir@&$ac_abs_builddir&;t t
14088s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14089s&@INSTALL@&$ac_INSTALL&;t t
14090s&@MKDIR_P@&$ac_MKDIR_P&;t t
14091$ac_datarootdir_hack
14092"
14093eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14094  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14095
14096test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14097  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14098  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
14099      "$ac_tmp/out"`; test -z "$ac_out"; } &&
14100  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14101which seems to be undefined.  Please make sure it is defined" >&5
14102$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14103which seems to be undefined.  Please make sure it is defined" >&2;}
14104
14105  rm -f "$ac_tmp/stdin"
14106  case $ac_file in
14107  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14108  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14109  esac \
14110  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14111 ;;
14112  :H)
14113  #
14114  # CONFIG_HEADER
14115  #
14116  if test x"$ac_file" != x-; then
14117    {
14118      $as_echo "/* $configure_input  */" \
14119      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14120    } >"$ac_tmp/config.h" \
14121      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14122    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14123      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14124$as_echo "$as_me: $ac_file is unchanged" >&6;}
14125    else
14126      rm -f "$ac_file"
14127      mv "$ac_tmp/config.h" "$ac_file" \
14128	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
14129    fi
14130  else
14131    $as_echo "/* $configure_input  */" \
14132      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14133      || as_fn_error $? "could not create -" "$LINENO" 5
14134  fi
14135# Compute "$ac_file"'s index in $config_headers.
14136_am_arg="$ac_file"
14137_am_stamp_count=1
14138for _am_header in $config_headers :; do
14139  case $_am_header in
14140    $_am_arg | $_am_arg:* )
14141      break ;;
14142    * )
14143      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14144  esac
14145done
14146echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14147$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14148	 X"$_am_arg" : 'X\(//\)[^/]' \| \
14149	 X"$_am_arg" : 'X\(//\)$' \| \
14150	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14151$as_echo X"$_am_arg" |
14152    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14153	    s//\1/
14154	    q
14155	  }
14156	  /^X\(\/\/\)[^/].*/{
14157	    s//\1/
14158	    q
14159	  }
14160	  /^X\(\/\/\)$/{
14161	    s//\1/
14162	    q
14163	  }
14164	  /^X\(\/\).*/{
14165	    s//\1/
14166	    q
14167	  }
14168	  s/.*/./; q'`/stamp-h$_am_stamp_count
14169 ;;
14170
14171  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14172$as_echo "$as_me: executing $ac_file commands" >&6;}
14173 ;;
14174  esac
14175
14176
14177  case $ac_file$ac_mode in
14178    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14179  # Older Autoconf quotes --file arguments for eval, but not when files
14180  # are listed without --file.  Let's play safe and only enable the eval
14181  # if we detect the quoting.
14182  # TODO: see whether this extra hack can be removed once we start
14183  # requiring Autoconf 2.70 or later.
14184  case $CONFIG_FILES in #(
14185  *\'*) :
14186    eval set x "$CONFIG_FILES" ;; #(
14187  *) :
14188    set x $CONFIG_FILES ;; #(
14189  *) :
14190     ;;
14191esac
14192  shift
14193  # Used to flag and report bootstrapping failures.
14194  am_rc=0
14195  for am_mf
14196  do
14197    # Strip MF so we end up with the name of the file.
14198    am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
14199    # Check whether this is an Automake generated Makefile which includes
14200    # dependency-tracking related rules and includes.
14201    # Grep'ing the whole file directly is not great: AIX grep has a line
14202    # limit of 2048, but all sed's we know have understand at least 4000.
14203    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
14204      || continue
14205    am_dirpart=`$as_dirname -- "$am_mf" ||
14206$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14207	 X"$am_mf" : 'X\(//\)[^/]' \| \
14208	 X"$am_mf" : 'X\(//\)$' \| \
14209	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
14210$as_echo X"$am_mf" |
14211    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14212	    s//\1/
14213	    q
14214	  }
14215	  /^X\(\/\/\)[^/].*/{
14216	    s//\1/
14217	    q
14218	  }
14219	  /^X\(\/\/\)$/{
14220	    s//\1/
14221	    q
14222	  }
14223	  /^X\(\/\).*/{
14224	    s//\1/
14225	    q
14226	  }
14227	  s/.*/./; q'`
14228    am_filepart=`$as_basename -- "$am_mf" ||
14229$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
14230	 X"$am_mf" : 'X\(//\)$' \| \
14231	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
14232$as_echo X/"$am_mf" |
14233    sed '/^.*\/\([^/][^/]*\)\/*$/{
14234	    s//\1/
14235	    q
14236	  }
14237	  /^X\/\(\/\/\)$/{
14238	    s//\1/
14239	    q
14240	  }
14241	  /^X\/\(\/\).*/{
14242	    s//\1/
14243	    q
14244	  }
14245	  s/.*/./; q'`
14246    { echo "$as_me:$LINENO: cd "$am_dirpart" \
14247      && sed -e '/# am--include-marker/d' "$am_filepart" \
14248        | $MAKE -f - am--depfiles" >&5
14249   (cd "$am_dirpart" \
14250      && sed -e '/# am--include-marker/d' "$am_filepart" \
14251        | $MAKE -f - am--depfiles) >&5 2>&5
14252   ac_status=$?
14253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14254   (exit $ac_status); } || am_rc=$?
14255  done
14256  if test $am_rc -ne 0; then
14257    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14258$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14259as_fn_error $? "Something went wrong bootstrapping makefile fragments
14260    for automatic dependency tracking.  Try re-running configure with the
14261    '--disable-dependency-tracking' option to at least be able to build
14262    the package (albeit without support for automatic dependency tracking).
14263See \`config.log' for more details" "$LINENO" 5; }
14264  fi
14265  { am_dirpart=; unset am_dirpart;}
14266  { am_filepart=; unset am_filepart;}
14267  { am_mf=; unset am_mf;}
14268  { am_rc=; unset am_rc;}
14269  rm -f conftest-deps.mk
14270}
14271 ;;
14272    "libtool":C)
14273
14274    # See if we are running on zsh, and set the options that allow our
14275    # commands through without removal of \ escapes.
14276    if test -n "${ZSH_VERSION+set}"; then
14277      setopt NO_GLOB_SUBST
14278    fi
14279
14280    cfgfile=${ofile}T
14281    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14282    $RM "$cfgfile"
14283
14284    cat <<_LT_EOF >> "$cfgfile"
14285#! $SHELL
14286# Generated automatically by $as_me ($PACKAGE) $VERSION
14287# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14288# NOTE: Changes made to this file will be lost: look at ltmain.sh.
14289
14290# Provide generalized library-building support services.
14291# Written by Gordon Matzigkeit, 1996
14292
14293# Copyright (C) 2014 Free Software Foundation, Inc.
14294# This is free software; see the source for copying conditions.  There is NO
14295# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14296
14297# GNU Libtool is free software; you can redistribute it and/or modify
14298# it under the terms of the GNU General Public License as published by
14299# the Free Software Foundation; either version 2 of of the License, or
14300# (at your option) any later version.
14301#
14302# As a special exception to the GNU General Public License, if you
14303# distribute this file as part of a program or library that is built
14304# using GNU Libtool, you may include this file under the  same
14305# distribution terms that you use for the rest of that program.
14306#
14307# GNU Libtool is distributed in the hope that it will be useful, but
14308# WITHOUT ANY WARRANTY; without even the implied warranty of
14309# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14310# GNU General Public License for more details.
14311#
14312# You should have received a copy of the GNU General Public License
14313# along with this program.  If not, see <http://www.gnu.org/licenses/>.
14314
14315
14316# The names of the tagged configurations supported by this script.
14317available_tags=''
14318
14319# Configured defaults for sys_lib_dlsearch_path munging.
14320: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
14321
14322# ### BEGIN LIBTOOL CONFIG
14323
14324# Which release of libtool.m4 was used?
14325macro_version=$macro_version
14326macro_revision=$macro_revision
14327
14328# Whether or not to build shared libraries.
14329build_libtool_libs=$enable_shared
14330
14331# Whether or not to build static libraries.
14332build_old_libs=$enable_static
14333
14334# What type of objects to build.
14335pic_mode=$pic_mode
14336
14337# Whether or not to optimize for fast installation.
14338fast_install=$enable_fast_install
14339
14340# Shared archive member basename,for filename based shared library versioning on AIX.
14341shared_archive_member_spec=$shared_archive_member_spec
14342
14343# Shell to use when invoking shell scripts.
14344SHELL=$lt_SHELL
14345
14346# An echo program that protects backslashes.
14347ECHO=$lt_ECHO
14348
14349# The PATH separator for the build system.
14350PATH_SEPARATOR=$lt_PATH_SEPARATOR
14351
14352# The host system.
14353host_alias=$host_alias
14354host=$host
14355host_os=$host_os
14356
14357# The build system.
14358build_alias=$build_alias
14359build=$build
14360build_os=$build_os
14361
14362# A sed program that does not truncate output.
14363SED=$lt_SED
14364
14365# Sed that helps us avoid accidentally triggering echo(1) options like -n.
14366Xsed="\$SED -e 1s/^X//"
14367
14368# A grep program that handles long lines.
14369GREP=$lt_GREP
14370
14371# An ERE matcher.
14372EGREP=$lt_EGREP
14373
14374# A literal string matcher.
14375FGREP=$lt_FGREP
14376
14377# A BSD- or MS-compatible name lister.
14378NM=$lt_NM
14379
14380# Whether we need soft or hard links.
14381LN_S=$lt_LN_S
14382
14383# What is the maximum length of a command?
14384max_cmd_len=$max_cmd_len
14385
14386# Object file suffix (normally "o").
14387objext=$ac_objext
14388
14389# Executable file suffix (normally "").
14390exeext=$exeext
14391
14392# whether the shell understands "unset".
14393lt_unset=$lt_unset
14394
14395# turn spaces into newlines.
14396SP2NL=$lt_lt_SP2NL
14397
14398# turn newlines into spaces.
14399NL2SP=$lt_lt_NL2SP
14400
14401# convert \$build file names to \$host format.
14402to_host_file_cmd=$lt_cv_to_host_file_cmd
14403
14404# convert \$build files to toolchain format.
14405to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14406
14407# An object symbol dumper.
14408OBJDUMP=$lt_OBJDUMP
14409
14410# Method to check whether dependent libraries are shared objects.
14411deplibs_check_method=$lt_deplibs_check_method
14412
14413# Command to use when deplibs_check_method = "file_magic".
14414file_magic_cmd=$lt_file_magic_cmd
14415
14416# How to find potential files when deplibs_check_method = "file_magic".
14417file_magic_glob=$lt_file_magic_glob
14418
14419# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14420want_nocaseglob=$lt_want_nocaseglob
14421
14422# DLL creation program.
14423DLLTOOL=$lt_DLLTOOL
14424
14425# Command to associate shared and link libraries.
14426sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14427
14428# The archiver.
14429AR=$lt_AR
14430
14431# Flags to create an archive.
14432AR_FLAGS=$lt_AR_FLAGS
14433
14434# How to feed a file listing to the archiver.
14435archiver_list_spec=$lt_archiver_list_spec
14436
14437# A symbol stripping program.
14438STRIP=$lt_STRIP
14439
14440# Commands used to install an old-style archive.
14441RANLIB=$lt_RANLIB
14442old_postinstall_cmds=$lt_old_postinstall_cmds
14443old_postuninstall_cmds=$lt_old_postuninstall_cmds
14444
14445# Whether to use a lock for old archive extraction.
14446lock_old_archive_extraction=$lock_old_archive_extraction
14447
14448# A C compiler.
14449LTCC=$lt_CC
14450
14451# LTCC compiler flags.
14452LTCFLAGS=$lt_CFLAGS
14453
14454# Take the output of nm and produce a listing of raw symbols and C names.
14455global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14456
14457# Transform the output of nm in a proper C declaration.
14458global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14459
14460# Transform the output of nm into a list of symbols to manually relocate.
14461global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
14462
14463# Transform the output of nm in a C name address pair.
14464global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14465
14466# Transform the output of nm in a C name address pair when lib prefix is needed.
14467global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14468
14469# The name lister interface.
14470nm_interface=$lt_lt_cv_nm_interface
14471
14472# Specify filename containing input files for \$NM.
14473nm_file_list_spec=$lt_nm_file_list_spec
14474
14475# The root where to search for dependent libraries,and where our libraries should be installed.
14476lt_sysroot=$lt_sysroot
14477
14478# Command to truncate a binary pipe.
14479lt_truncate_bin=$lt_lt_cv_truncate_bin
14480
14481# The name of the directory that contains temporary libtool files.
14482objdir=$objdir
14483
14484# Used to examine libraries when file_magic_cmd begins with "file".
14485MAGIC_CMD=$MAGIC_CMD
14486
14487# Must we lock files when doing compilation?
14488need_locks=$lt_need_locks
14489
14490# Manifest tool.
14491MANIFEST_TOOL=$lt_MANIFEST_TOOL
14492
14493# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14494DSYMUTIL=$lt_DSYMUTIL
14495
14496# Tool to change global to local symbols on Mac OS X.
14497NMEDIT=$lt_NMEDIT
14498
14499# Tool to manipulate fat objects and archives on Mac OS X.
14500LIPO=$lt_LIPO
14501
14502# ldd/readelf like tool for Mach-O binaries on Mac OS X.
14503OTOOL=$lt_OTOOL
14504
14505# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14506OTOOL64=$lt_OTOOL64
14507
14508# Old archive suffix (normally "a").
14509libext=$libext
14510
14511# Shared library suffix (normally ".so").
14512shrext_cmds=$lt_shrext_cmds
14513
14514# The commands to extract the exported symbol list from a shared archive.
14515extract_expsyms_cmds=$lt_extract_expsyms_cmds
14516
14517# Variables whose values should be saved in libtool wrapper scripts and
14518# restored at link time.
14519variables_saved_for_relink=$lt_variables_saved_for_relink
14520
14521# Do we need the "lib" prefix for modules?
14522need_lib_prefix=$need_lib_prefix
14523
14524# Do we need a version for libraries?
14525need_version=$need_version
14526
14527# Library versioning type.
14528version_type=$version_type
14529
14530# Shared library runtime path variable.
14531runpath_var=$runpath_var
14532
14533# Shared library path variable.
14534shlibpath_var=$shlibpath_var
14535
14536# Is shlibpath searched before the hard-coded library search path?
14537shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14538
14539# Format of library name prefix.
14540libname_spec=$lt_libname_spec
14541
14542# List of archive names.  First name is the real one, the rest are links.
14543# The last name is the one that the linker finds with -lNAME
14544library_names_spec=$lt_library_names_spec
14545
14546# The coded name of the library, if different from the real name.
14547soname_spec=$lt_soname_spec
14548
14549# Permission mode override for installation of shared libraries.
14550install_override_mode=$lt_install_override_mode
14551
14552# Command to use after installation of a shared archive.
14553postinstall_cmds=$lt_postinstall_cmds
14554
14555# Command to use after uninstallation of a shared archive.
14556postuninstall_cmds=$lt_postuninstall_cmds
14557
14558# Commands used to finish a libtool library installation in a directory.
14559finish_cmds=$lt_finish_cmds
14560
14561# As "finish_cmds", except a single script fragment to be evaled but
14562# not shown.
14563finish_eval=$lt_finish_eval
14564
14565# Whether we should hardcode library paths into libraries.
14566hardcode_into_libs=$hardcode_into_libs
14567
14568# Compile-time system search path for libraries.
14569sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14570
14571# Detected run-time system search path for libraries.
14572sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
14573
14574# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
14575configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
14576
14577# Whether dlopen is supported.
14578dlopen_support=$enable_dlopen
14579
14580# Whether dlopen of programs is supported.
14581dlopen_self=$enable_dlopen_self
14582
14583# Whether dlopen of statically linked programs is supported.
14584dlopen_self_static=$enable_dlopen_self_static
14585
14586# Commands to strip libraries.
14587old_striplib=$lt_old_striplib
14588striplib=$lt_striplib
14589
14590
14591# The linker used to build libraries.
14592LD=$lt_LD
14593
14594# How to create reloadable object files.
14595reload_flag=$lt_reload_flag
14596reload_cmds=$lt_reload_cmds
14597
14598# Commands used to build an old-style archive.
14599old_archive_cmds=$lt_old_archive_cmds
14600
14601# A language specific compiler.
14602CC=$lt_compiler
14603
14604# Is the compiler the GNU compiler?
14605with_gcc=$GCC
14606
14607# Compiler flag to turn off builtin functions.
14608no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14609
14610# Additional compiler flags for building library objects.
14611pic_flag=$lt_lt_prog_compiler_pic
14612
14613# How to pass a linker flag through the compiler.
14614wl=$lt_lt_prog_compiler_wl
14615
14616# Compiler flag to prevent dynamic linking.
14617link_static_flag=$lt_lt_prog_compiler_static
14618
14619# Does compiler simultaneously support -c and -o options?
14620compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14621
14622# Whether or not to add -lc for building shared libraries.
14623build_libtool_need_lc=$archive_cmds_need_lc
14624
14625# Whether or not to disallow shared libs when runtime libs are static.
14626allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14627
14628# Compiler flag to allow reflexive dlopens.
14629export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14630
14631# Compiler flag to generate shared objects directly from archives.
14632whole_archive_flag_spec=$lt_whole_archive_flag_spec
14633
14634# Whether the compiler copes with passing no objects directly.
14635compiler_needs_object=$lt_compiler_needs_object
14636
14637# Create an old-style archive from a shared archive.
14638old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14639
14640# Create a temporary old-style archive to link instead of a shared archive.
14641old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14642
14643# Commands used to build a shared archive.
14644archive_cmds=$lt_archive_cmds
14645archive_expsym_cmds=$lt_archive_expsym_cmds
14646
14647# Commands used to build a loadable module if different from building
14648# a shared archive.
14649module_cmds=$lt_module_cmds
14650module_expsym_cmds=$lt_module_expsym_cmds
14651
14652# Whether we are building with GNU ld or not.
14653with_gnu_ld=$lt_with_gnu_ld
14654
14655# Flag that allows shared libraries with undefined symbols to be built.
14656allow_undefined_flag=$lt_allow_undefined_flag
14657
14658# Flag that enforces no undefined symbols.
14659no_undefined_flag=$lt_no_undefined_flag
14660
14661# Flag to hardcode \$libdir into a binary during linking.
14662# This must work even if \$libdir does not exist
14663hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14664
14665# Whether we need a single "-rpath" flag with a separated argument.
14666hardcode_libdir_separator=$lt_hardcode_libdir_separator
14667
14668# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
14669# DIR into the resulting binary.
14670hardcode_direct=$hardcode_direct
14671
14672# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
14673# DIR into the resulting binary and the resulting library dependency is
14674# "absolute",i.e impossible to change by setting \$shlibpath_var if the
14675# library is relocated.
14676hardcode_direct_absolute=$hardcode_direct_absolute
14677
14678# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14679# into the resulting binary.
14680hardcode_minus_L=$hardcode_minus_L
14681
14682# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14683# into the resulting binary.
14684hardcode_shlibpath_var=$hardcode_shlibpath_var
14685
14686# Set to "yes" if building a shared library automatically hardcodes DIR
14687# into the library and all subsequent libraries and executables linked
14688# against it.
14689hardcode_automatic=$hardcode_automatic
14690
14691# Set to yes if linker adds runtime paths of dependent libraries
14692# to runtime path list.
14693inherit_rpath=$inherit_rpath
14694
14695# Whether libtool must link a program against all its dependency libraries.
14696link_all_deplibs=$link_all_deplibs
14697
14698# Set to "yes" if exported symbols are required.
14699always_export_symbols=$always_export_symbols
14700
14701# The commands to list exported symbols.
14702export_symbols_cmds=$lt_export_symbols_cmds
14703
14704# Symbols that should not be listed in the preloaded symbols.
14705exclude_expsyms=$lt_exclude_expsyms
14706
14707# Symbols that must always be exported.
14708include_expsyms=$lt_include_expsyms
14709
14710# Commands necessary for linking programs (against libraries) with templates.
14711prelink_cmds=$lt_prelink_cmds
14712
14713# Commands necessary for finishing linking programs.
14714postlink_cmds=$lt_postlink_cmds
14715
14716# Specify filename containing input files.
14717file_list_spec=$lt_file_list_spec
14718
14719# How to hardcode a shared library path into an executable.
14720hardcode_action=$hardcode_action
14721
14722# ### END LIBTOOL CONFIG
14723
14724_LT_EOF
14725
14726    cat <<'_LT_EOF' >> "$cfgfile"
14727
14728# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
14729
14730# func_munge_path_list VARIABLE PATH
14731# -----------------------------------
14732# VARIABLE is name of variable containing _space_ separated list of
14733# directories to be munged by the contents of PATH, which is string
14734# having a format:
14735# "DIR[:DIR]:"
14736#       string "DIR[ DIR]" will be prepended to VARIABLE
14737# ":DIR[:DIR]"
14738#       string "DIR[ DIR]" will be appended to VARIABLE
14739# "DIRP[:DIRP]::[DIRA:]DIRA"
14740#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
14741#       "DIRA[ DIRA]" will be appended to VARIABLE
14742# "DIR[:DIR]"
14743#       VARIABLE will be replaced by "DIR[ DIR]"
14744func_munge_path_list ()
14745{
14746    case x$2 in
14747    x)
14748        ;;
14749    *:)
14750        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
14751        ;;
14752    x:*)
14753        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
14754        ;;
14755    *::*)
14756        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
14757        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
14758        ;;
14759    *)
14760        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
14761        ;;
14762    esac
14763}
14764
14765
14766# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
14767func_cc_basename ()
14768{
14769    for cc_temp in $*""; do
14770      case $cc_temp in
14771        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14772        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14773        \-*) ;;
14774        *) break;;
14775      esac
14776    done
14777    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
14778}
14779
14780
14781# ### END FUNCTIONS SHARED WITH CONFIGURE
14782
14783_LT_EOF
14784
14785  case $host_os in
14786  aix3*)
14787    cat <<\_LT_EOF >> "$cfgfile"
14788# AIX sometimes has problems with the GCC collect2 program.  For some
14789# reason, if we set the COLLECT_NAMES environment variable, the problems
14790# vanish in a puff of smoke.
14791if test set != "${COLLECT_NAMES+set}"; then
14792  COLLECT_NAMES=
14793  export COLLECT_NAMES
14794fi
14795_LT_EOF
14796    ;;
14797  esac
14798
14799
14800ltmain=$ac_aux_dir/ltmain.sh
14801
14802
14803  # We use sed instead of cat because bash on DJGPP gets confused if
14804  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
14805  # text mode, it properly converts lines to CR/LF.  This bash problem
14806  # is reportedly fixed, but why not run on old versions too?
14807  sed '$q' "$ltmain" >> "$cfgfile" \
14808     || (rm -f "$cfgfile"; exit 1)
14809
14810   mv -f "$cfgfile" "$ofile" ||
14811    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14812  chmod +x "$ofile"
14813
14814 ;;
14815
14816  esac
14817done # for ac_tag
14818
14819
14820as_fn_exit 0
14821_ACEOF
14822ac_clean_files=$ac_clean_files_save
14823
14824test $ac_write_fail = 0 ||
14825  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
14826
14827
14828# configure is writing to config.log, and then calls config.status.
14829# config.status does its own redirection, appending to config.log.
14830# Unfortunately, on DOS this fails, as config.log is still kept open
14831# by configure, so config.status won't be able to write to it; its
14832# output is simply discarded.  So we exec the FD to /dev/null,
14833# effectively closing config.log, so it can be properly (re)opened and
14834# appended to by config.status.  When coming back to configure, we
14835# need to make the FD available again.
14836if test "$no_create" != yes; then
14837  ac_cs_success=:
14838  ac_config_status_args=
14839  test "$silent" = yes &&
14840    ac_config_status_args="$ac_config_status_args --quiet"
14841  exec 5>/dev/null
14842  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14843  exec 5>>config.log
14844  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14845  # would make configure fail if this is the last instruction.
14846  $ac_cs_success || as_fn_exit 1
14847fi
14848
14849#
14850# CONFIG_SUBDIRS section.
14851#
14852if test "$no_recursion" != yes; then
14853
14854  # Remove --cache-file, --srcdir, and --disable-option-checking arguments
14855  # so they do not pile up.
14856  ac_sub_configure_args=
14857  ac_prev=
14858  eval "set x $ac_configure_args"
14859  shift
14860  for ac_arg
14861  do
14862    if test -n "$ac_prev"; then
14863      ac_prev=
14864      continue
14865    fi
14866    case $ac_arg in
14867    -cache-file | --cache-file | --cache-fil | --cache-fi \
14868    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
14869      ac_prev=cache_file ;;
14870    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
14871    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
14872    | --c=*)
14873      ;;
14874    --config-cache | -C)
14875      ;;
14876    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
14877      ac_prev=srcdir ;;
14878    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
14879      ;;
14880    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
14881      ac_prev=prefix ;;
14882    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
14883      ;;
14884    --disable-option-checking)
14885      ;;
14886    *)
14887      case $ac_arg in
14888      *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
14889      esac
14890      as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
14891    esac
14892  done
14893
14894  # Always prepend --prefix to ensure using the same prefix
14895  # in subdir configurations.
14896  ac_arg="--prefix=$prefix"
14897  case $ac_arg in
14898  *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
14899  esac
14900  ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
14901
14902  # Pass --silent
14903  if test "$silent" = yes; then
14904    ac_sub_configure_args="--silent $ac_sub_configure_args"
14905  fi
14906
14907  # Always prepend --disable-option-checking to silence warnings, since
14908  # different subdirs can have different --enable and --with options.
14909  ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
14910
14911  ac_popdir=`pwd`
14912  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
14913
14914    # Do not complain, so a configure script can configure whichever
14915    # parts of a large source tree are present.
14916    test -d "$srcdir/$ac_dir" || continue
14917
14918    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
14919    $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
14920    $as_echo "$ac_msg" >&6
14921    as_dir="$ac_dir"; as_fn_mkdir_p
14922    ac_builddir=.
14923
14924case "$ac_dir" in
14925.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14926*)
14927  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14928  # A ".." for each directory in $ac_dir_suffix.
14929  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14930  case $ac_top_builddir_sub in
14931  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14932  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14933  esac ;;
14934esac
14935ac_abs_top_builddir=$ac_pwd
14936ac_abs_builddir=$ac_pwd$ac_dir_suffix
14937# for backward compatibility:
14938ac_top_builddir=$ac_top_build_prefix
14939
14940case $srcdir in
14941  .)  # We are building in place.
14942    ac_srcdir=.
14943    ac_top_srcdir=$ac_top_builddir_sub
14944    ac_abs_top_srcdir=$ac_pwd ;;
14945  [\\/]* | ?:[\\/]* )  # Absolute name.
14946    ac_srcdir=$srcdir$ac_dir_suffix;
14947    ac_top_srcdir=$srcdir
14948    ac_abs_top_srcdir=$srcdir ;;
14949  *) # Relative name.
14950    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14951    ac_top_srcdir=$ac_top_build_prefix$srcdir
14952    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14953esac
14954ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14955
14956
14957    cd "$ac_dir"
14958
14959    # Check for guested configure; otherwise get Cygnus style configure.
14960    if test -f "$ac_srcdir/configure.gnu"; then
14961      ac_sub_configure=$ac_srcdir/configure.gnu
14962    elif test -f "$ac_srcdir/configure"; then
14963      ac_sub_configure=$ac_srcdir/configure
14964    elif test -f "$ac_srcdir/configure.in"; then
14965      # This should be Cygnus configure.
14966      ac_sub_configure=$ac_aux_dir/configure
14967    else
14968      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
14969$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
14970      ac_sub_configure=
14971    fi
14972
14973    # The recursion is here.
14974    if test -n "$ac_sub_configure"; then
14975      # Make the cache file name correct relative to the subdirectory.
14976      case $cache_file in
14977      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
14978      *) # Relative name.
14979	ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
14980      esac
14981
14982      { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
14983$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
14984      # The eval makes quoting arguments work.
14985      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
14986	   --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
14987	as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
14988    fi
14989
14990    cd "$ac_popdir"
14991  done
14992fi
14993if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14994  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14995$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
14996fi
14997
14998