1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for libxslt 1.1.34.
4#
5#
6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7#
8#
9# This configure script is free software; the Free Software Foundation
10# gives unlimited permission to copy, distribute and modify it.
11## -------------------- ##
12## M4sh Initialization. ##
13## -------------------- ##
14
15# Be more Bourne compatible
16DUALCASE=1; export DUALCASE # for MKS sh
17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18  emulate sh
19  NULLCMD=:
20  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21  # is contrary to our usage.  Disable this feature.
22  alias -g '${1+"$@"}'='"$@"'
23  setopt NO_GLOB_SUBST
24else
25  case `(set -o) 2>/dev/null` in #(
26  *posix*) :
27    set -o posix ;; #(
28  *) :
29     ;;
30esac
31fi
32
33
34as_nl='
35'
36export as_nl
37# Printing a long string crashes Solaris 7 /usr/bin/printf.
38as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41# Prefer a ksh shell builtin over an external printf program on Solaris,
42# but without wasting forks for bash or zsh.
43if test -z "$BASH_VERSION$ZSH_VERSION" \
44    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45  as_echo='print -r --'
46  as_echo_n='print -rn --'
47elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48  as_echo='printf %s\n'
49  as_echo_n='printf %s'
50else
51  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53    as_echo_n='/usr/ucb/echo -n'
54  else
55    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56    as_echo_n_body='eval
57      arg=$1;
58      case $arg in #(
59      *"$as_nl"*)
60	expr "X$arg" : "X\\(.*\\)$as_nl";
61	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62      esac;
63      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64    '
65    export as_echo_n_body
66    as_echo_n='sh -c $as_echo_n_body as_echo'
67  fi
68  export as_echo_body
69  as_echo='sh -c $as_echo_body as_echo'
70fi
71
72# The user is always right.
73if test "${PATH_SEPARATOR+set}" != set; then
74  PATH_SEPARATOR=:
75  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77      PATH_SEPARATOR=';'
78  }
79fi
80
81
82# IFS
83# We need space, tab and new line, in precisely that order.  Quoting is
84# there to prevent editors from complaining about space-tab.
85# (If _AS_PATH_WALK were called with IFS unset, it would disable word
86# splitting by setting IFS to empty value.)
87IFS=" ""	$as_nl"
88
89# Find who we are.  Look in the path if we contain no directory separator.
90as_myself=
91case $0 in #((
92  *[\\/]* ) as_myself=$0 ;;
93  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94for as_dir in $PATH
95do
96  IFS=$as_save_IFS
97  test -z "$as_dir" && as_dir=.
98    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99  done
100IFS=$as_save_IFS
101
102     ;;
103esac
104# We did not find ourselves, most probably we were run as `sh COMMAND'
105# in which case we are not to be found in the path.
106if test "x$as_myself" = x; then
107  as_myself=$0
108fi
109if test ! -f "$as_myself"; then
110  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111  exit 1
112fi
113
114# Unset variables that we do not need and which cause bugs (e.g. in
115# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
116# suppresses any "Segmentation fault" message there.  '((' could
117# trigger a bug in pdksh 5.2.14.
118for as_var in BASH_ENV ENV MAIL MAILPATH
119do eval test x\${$as_var+set} = xset \
120  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121done
122PS1='$ '
123PS2='> '
124PS4='+ '
125
126# NLS nuisances.
127LC_ALL=C
128export LC_ALL
129LANGUAGE=C
130export LANGUAGE
131
132# CDPATH.
133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
135# Use a proper internal environment variable to ensure we don't fall
136  # into an infinite loop, continuously re-executing ourselves.
137  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138    _as_can_reexec=no; export _as_can_reexec;
139    # We cannot yet assume a decent shell, so we have to provide a
140# neutralization value for shells without unset; and this also
141# works around shells that cannot unset nonexistent variables.
142# Preserve -v and -x to the replacement shell.
143BASH_ENV=/dev/null
144ENV=/dev/null
145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146case $- in # ((((
147  *v*x* | *x*v* ) as_opts=-vx ;;
148  *v* ) as_opts=-v ;;
149  *x* ) as_opts=-x ;;
150  * ) as_opts= ;;
151esac
152exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153# Admittedly, this is quite paranoid, since all the known shells bail
154# out after a failed `exec'.
155$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156as_fn_exit 255
157  fi
158  # We don't want this to propagate to other subprocesses.
159          { _as_can_reexec=; unset _as_can_reexec;}
160if test "x$CONFIG_SHELL" = x; then
161  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162  emulate sh
163  NULLCMD=:
164  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165  # is contrary to our usage.  Disable this feature.
166  alias -g '\${1+\"\$@\"}'='\"\$@\"'
167  setopt NO_GLOB_SUBST
168else
169  case \`(set -o) 2>/dev/null\` in #(
170  *posix*) :
171    set -o posix ;; #(
172  *) :
173     ;;
174esac
175fi
176"
177  as_required="as_fn_return () { (exit \$1); }
178as_fn_success () { as_fn_return 0; }
179as_fn_failure () { as_fn_return 1; }
180as_fn_ret_success () { return 0; }
181as_fn_ret_failure () { return 1; }
182
183exitcode=0
184as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
189
190else
191  exitcode=1; echo positional parameters were not saved.
192fi
193test x\$exitcode = x0 || exit 1
194test -x / || exit 1"
195  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199test \$(( 1 + 1 )) = 2 || exit 1
200
201  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
202    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
203    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205    PATH=/empty FPATH=/empty; export PATH FPATH
206    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
207      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
208  if (eval "$as_required") 2>/dev/null; then :
209  as_have_required=yes
210else
211  as_have_required=no
212fi
213  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
214
215else
216  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
217as_found=false
218for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
219do
220  IFS=$as_save_IFS
221  test -z "$as_dir" && as_dir=.
222  as_found=:
223  case $as_dir in #(
224	 /*)
225	   for as_base in sh bash ksh sh5; do
226	     # Try only shells that exist, to save several forks.
227	     as_shell=$as_dir/$as_base
228	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
229		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
230  CONFIG_SHELL=$as_shell as_have_required=yes
231		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
232  break 2
233fi
234fi
235	   done;;
236       esac
237  as_found=false
238done
239$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
241  CONFIG_SHELL=$SHELL as_have_required=yes
242fi; }
243IFS=$as_save_IFS
244
245
246      if test "x$CONFIG_SHELL" != x; then :
247  export CONFIG_SHELL
248             # We cannot yet assume a decent shell, so we have to provide a
249# neutralization value for shells without unset; and this also
250# works around shells that cannot unset nonexistent variables.
251# Preserve -v and -x to the replacement shell.
252BASH_ENV=/dev/null
253ENV=/dev/null
254(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
255case $- in # ((((
256  *v*x* | *x*v* ) as_opts=-vx ;;
257  *v* ) as_opts=-v ;;
258  *x* ) as_opts=-x ;;
259  * ) as_opts= ;;
260esac
261exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262# Admittedly, this is quite paranoid, since all the known shells bail
263# out after a failed `exec'.
264$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
265exit 255
266fi
267
268    if test x$as_have_required = xno; then :
269  $as_echo "$0: This script requires a shell more modern than all"
270  $as_echo "$0: the shells that I found on your system."
271  if test x${ZSH_VERSION+set} = xset ; then
272    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
274  else
275    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276$0: including any error possibly output before this
277$0: message. Then install a modern shell, or manually run
278$0: the script under such a shell if you do have one."
279  fi
280  exit 1
281fi
282fi
283fi
284SHELL=${CONFIG_SHELL-/bin/sh}
285export SHELL
286# Unset more variables known to interfere with behavior of common tools.
287CLICOLOR_FORCE= GREP_OPTIONS=
288unset CLICOLOR_FORCE GREP_OPTIONS
289
290## --------------------- ##
291## M4sh Shell Functions. ##
292## --------------------- ##
293# as_fn_unset VAR
294# ---------------
295# Portably unset VAR.
296as_fn_unset ()
297{
298  { eval $1=; unset $1;}
299}
300as_unset=as_fn_unset
301
302# as_fn_set_status STATUS
303# -----------------------
304# Set $? to STATUS, without forking.
305as_fn_set_status ()
306{
307  return $1
308} # as_fn_set_status
309
310# as_fn_exit STATUS
311# -----------------
312# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
313as_fn_exit ()
314{
315  set +e
316  as_fn_set_status $1
317  exit $1
318} # as_fn_exit
319
320# as_fn_mkdir_p
321# -------------
322# Create "$as_dir" as a directory, including parents if necessary.
323as_fn_mkdir_p ()
324{
325
326  case $as_dir in #(
327  -*) as_dir=./$as_dir;;
328  esac
329  test -d "$as_dir" || eval $as_mkdir_p || {
330    as_dirs=
331    while :; do
332      case $as_dir in #(
333      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
334      *) as_qdir=$as_dir;;
335      esac
336      as_dirs="'$as_qdir' $as_dirs"
337      as_dir=`$as_dirname -- "$as_dir" ||
338$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339	 X"$as_dir" : 'X\(//\)[^/]' \| \
340	 X"$as_dir" : 'X\(//\)$' \| \
341	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342$as_echo X"$as_dir" |
343    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
344	    s//\1/
345	    q
346	  }
347	  /^X\(\/\/\)[^/].*/{
348	    s//\1/
349	    q
350	  }
351	  /^X\(\/\/\)$/{
352	    s//\1/
353	    q
354	  }
355	  /^X\(\/\).*/{
356	    s//\1/
357	    q
358	  }
359	  s/.*/./; q'`
360      test -d "$as_dir" && break
361    done
362    test -z "$as_dirs" || eval "mkdir $as_dirs"
363  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
364
365
366} # as_fn_mkdir_p
367
368# as_fn_executable_p FILE
369# -----------------------
370# Test if FILE is an executable regular file.
371as_fn_executable_p ()
372{
373  test -f "$1" && test -x "$1"
374} # as_fn_executable_p
375# as_fn_append VAR VALUE
376# ----------------------
377# Append the text in VALUE to the end of the definition contained in VAR. Take
378# advantage of any shell optimizations that allow amortized linear growth over
379# repeated appends, instead of the typical quadratic growth present in naive
380# implementations.
381if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
382  eval 'as_fn_append ()
383  {
384    eval $1+=\$2
385  }'
386else
387  as_fn_append ()
388  {
389    eval $1=\$$1\$2
390  }
391fi # as_fn_append
392
393# as_fn_arith ARG...
394# ------------------
395# Perform arithmetic evaluation on the ARGs, and store the result in the
396# global $as_val. Take advantage of shells that can avoid forks. The arguments
397# must be portable across $(()) and expr.
398if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
399  eval 'as_fn_arith ()
400  {
401    as_val=$(( $* ))
402  }'
403else
404  as_fn_arith ()
405  {
406    as_val=`expr "$@" || test $? -eq 1`
407  }
408fi # as_fn_arith
409
410
411# as_fn_error STATUS ERROR [LINENO LOG_FD]
412# ----------------------------------------
413# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415# script with STATUS, using 1 if that was 0.
416as_fn_error ()
417{
418  as_status=$1; test $as_status -eq 0 && as_status=1
419  if test "$4"; then
420    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
421    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
422  fi
423  $as_echo "$as_me: error: $2" >&2
424  as_fn_exit $as_status
425} # as_fn_error
426
427if expr a : '\(a\)' >/dev/null 2>&1 &&
428   test "X`expr 00001 : '.*\(...\)'`" = X001; then
429  as_expr=expr
430else
431  as_expr=false
432fi
433
434if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435  as_basename=basename
436else
437  as_basename=false
438fi
439
440if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441  as_dirname=dirname
442else
443  as_dirname=false
444fi
445
446as_me=`$as_basename -- "$0" ||
447$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448	 X"$0" : 'X\(//\)$' \| \
449	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
450$as_echo X/"$0" |
451    sed '/^.*\/\([^/][^/]*\)\/*$/{
452	    s//\1/
453	    q
454	  }
455	  /^X\/\(\/\/\)$/{
456	    s//\1/
457	    q
458	  }
459	  /^X\/\(\/\).*/{
460	    s//\1/
461	    q
462	  }
463	  s/.*/./; q'`
464
465# Avoid depending upon Character Ranges.
466as_cr_letters='abcdefghijklmnopqrstuvwxyz'
467as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468as_cr_Letters=$as_cr_letters$as_cr_LETTERS
469as_cr_digits='0123456789'
470as_cr_alnum=$as_cr_Letters$as_cr_digits
471
472
473  as_lineno_1=$LINENO as_lineno_1a=$LINENO
474  as_lineno_2=$LINENO as_lineno_2a=$LINENO
475  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
477  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
478  sed -n '
479    p
480    /[$]LINENO/=
481  ' <$as_myself |
482    sed '
483      s/[$]LINENO.*/&-/
484      t lineno
485      b
486      :lineno
487      N
488      :loop
489      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
490      t loop
491      s/-\n.*//
492    ' >$as_me.lineno &&
493  chmod +x "$as_me.lineno" ||
494    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
495
496  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497  # already done that, so ensure we don't try to do so again and fall
498  # in an infinite loop.  This has already happened in practice.
499  _as_can_reexec=no; export _as_can_reexec
500  # Don't try to exec as it changes $[0], causing all sort of problems
501  # (the dirname of $[0] is not the place where we might find the
502  # original and so on.  Autoconf is especially sensitive to this).
503  . "./$as_me.lineno"
504  # Exit status is that of the last command.
505  exit
506}
507
508ECHO_C= ECHO_N= ECHO_T=
509case `echo -n x` in #(((((
510-n*)
511  case `echo 'xy\c'` in
512  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
513  xy)  ECHO_C='\c';;
514  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
515       ECHO_T='	';;
516  esac;;
517*)
518  ECHO_N='-n';;
519esac
520
521rm -f conf$$ conf$$.exe conf$$.file
522if test -d conf$$.dir; then
523  rm -f conf$$.dir/conf$$.file
524else
525  rm -f conf$$.dir
526  mkdir conf$$.dir 2>/dev/null
527fi
528if (echo >conf$$.file) 2>/dev/null; then
529  if ln -s conf$$.file conf$$ 2>/dev/null; then
530    as_ln_s='ln -s'
531    # ... but there are two gotchas:
532    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534    # In both cases, we have to default to `cp -pR'.
535    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
536      as_ln_s='cp -pR'
537  elif ln conf$$.file conf$$ 2>/dev/null; then
538    as_ln_s=ln
539  else
540    as_ln_s='cp -pR'
541  fi
542else
543  as_ln_s='cp -pR'
544fi
545rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
546rmdir conf$$.dir 2>/dev/null
547
548if mkdir -p . 2>/dev/null; then
549  as_mkdir_p='mkdir -p "$as_dir"'
550else
551  test -d ./-p && rmdir ./-p
552  as_mkdir_p=false
553fi
554
555as_test_x='test -x'
556as_executable_p=as_fn_executable_p
557
558# Sed expression to map a string onto a valid CPP name.
559as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
560
561# Sed expression to map a string onto a valid variable name.
562as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
563
564SHELL=${CONFIG_SHELL-/bin/sh}
565
566
567test -n "$DJDIR" || exec 7<&0 </dev/null
568exec 6>&1
569
570# Name of the host.
571# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572# so uname gets run too.
573ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
574
575#
576# Initializations.
577#
578ac_default_prefix=/usr/local
579ac_clean_files=
580ac_config_libobj_dir=.
581LIBOBJS=
582cross_compiling=no
583subdirs=
584MFLAGS=
585MAKEFLAGS=
586
587# Identity of this package.
588PACKAGE_NAME='libxslt'
589PACKAGE_TARNAME='libxslt'
590PACKAGE_VERSION='1.1.34'
591PACKAGE_STRING='libxslt 1.1.34'
592PACKAGE_BUGREPORT=''
593PACKAGE_URL=''
594
595ac_unique_file="libxslt/xslt.c"
596# Factoring default headers for most tests.
597ac_includes_default="\
598#include <stdio.h>
599#ifdef HAVE_SYS_TYPES_H
600# include <sys/types.h>
601#endif
602#ifdef HAVE_SYS_STAT_H
603# include <sys/stat.h>
604#endif
605#ifdef STDC_HEADERS
606# include <stdlib.h>
607# include <stddef.h>
608#else
609# ifdef HAVE_STDLIB_H
610#  include <stdlib.h>
611# endif
612#endif
613#ifdef HAVE_STRING_H
614# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
615#  include <memory.h>
616# endif
617# include <string.h>
618#endif
619#ifdef HAVE_STRINGS_H
620# include <strings.h>
621#endif
622#ifdef HAVE_INTTYPES_H
623# include <inttypes.h>
624#endif
625#ifdef HAVE_STDINT_H
626# include <stdint.h>
627#endif
628#ifdef HAVE_UNISTD_H
629# include <unistd.h>
630#endif"
631
632ac_subst_vars='am__EXEEXT_FALSE
633am__EXEEXT_TRUE
634LTLIBOBJS
635LIBOBJS
636RELDATE
637M_LIBS
638EXTRA_LIBS
639EXSLT_PRIVATE_LIBS
640EXSLT_LIBS
641EXSLT_INCLUDEDIR
642EXSLT_LIBDIR
643XSLT_PRIVATE_LIBS
644XSLT_LIBS
645XSLT_INCLUDEDIR
646XSLT_LIBDIR
647PYTHON_SITE_PACKAGES
648PYTHON_INCLUDES
649PYTHON_VERSION
650PYTHONSODV
651XSLTPROCDV
652LIBXSLT_DEFAULT_PLUGINS_PATH
653WITH_MODULES_FALSE
654WITH_MODULES_TRUE
655WITH_MODULES
656LIBXML_LIBS
657LIBXML_CFLAGS
658XML_CONFIG
659LIBXML_REQUIRED_VERSION
660LIBXML_SRC
661WITH_PROFILER
662WITH_DEBUGGER
663WITH_MEM_DEBUG
664WITH_XSLT_DEBUG
665LIBGCRYPT_LIBS
666LIBGCRYPT_CFLAGS
667CRYPTO_TESTDIR
668WITH_CRYPTO
669LIBGCRYPT_CONFIG
670PYTHON_LIBS
671PYTHON_SUBDIR
672pythondir
673WITH_PYTHON_FALSE
674WITH_PYTHON_TRUE
675PYTHON
676WITH_PERL_FALSE
677WITH_PERL_TRUE
678PERL
679WITH_TRIO
680THREAD_LIBS
681USE_VERSION_SCRIPT_FALSE
682USE_VERSION_SCRIPT_TRUE
683VERSION_SCRIPT_FLAGS
684LT_SYS_LIBRARY_PATH
685OTOOL64
686OTOOL
687LIPO
688NMEDIT
689DSYMUTIL
690MANIFEST_TOOL
691RANLIB
692ac_ct_AR
693AR
694LN_S
695NM
696ac_ct_DUMPBIN
697DUMPBIN
698LD
699FGREP
700SED
701LIBTOOL
702OBJDUMP
703DLLTOOL
704AS
705PKG_CONFIG_LIBDIR
706PKG_CONFIG_PATH
707PKG_CONFIG
708XSLTPROC
709XMLLINT
710HTML_DIR
711AM_BACKSLASH
712AM_DEFAULT_VERBOSITY
713AM_DEFAULT_V
714AM_V
715am__fastdepCC_FALSE
716am__fastdepCC_TRUE
717CCDEPMODE
718am__nodep
719AMDEPBACKSLASH
720AMDEP_FALSE
721AMDEP_TRUE
722am__include
723DEPDIR
724am__untar
725am__tar
726AMTAR
727am__leading_dot
728SET_MAKE
729AWK
730mkdir_p
731MKDIR_P
732INSTALL_STRIP_PROGRAM
733STRIP
734install_sh
735MAKEINFO
736AUTOHEADER
737AUTOMAKE
738AUTOCONF
739ACLOCAL
740VERSION
741PACKAGE
742CYGPATH_W
743am__isrc
744INSTALL_DATA
745INSTALL_SCRIPT
746INSTALL_PROGRAM
747LIBEXSLT_VERSION_EXTRA
748LIBEXSLT_VERSION_NUMBER
749LIBEXSLT_VERSION_INFO
750LIBEXSLT_VERSION
751LIBEXSLT_MICRO_VERSION
752LIBEXSLT_MINOR_VERSION
753LIBEXSLT_MAJOR_VERSION
754LIBXSLT_MAJOR_MINOR_VERSION
755LIBXSLT_VERSION_EXTRA
756LIBXSLT_VERSION_NUMBER
757LIBXSLT_VERSION_INFO
758LIBXSLT_VERSION
759LIBXSLT_MICRO_VERSION
760LIBXSLT_MINOR_VERSION
761LIBXSLT_MAJOR_VERSION
762EGREP
763GREP
764CPP
765OBJEXT
766EXEEXT
767ac_ct_CC
768CPPFLAGS
769LDFLAGS
770CFLAGS
771CC
772host_os
773host_vendor
774host_cpu
775host
776build_os
777build_vendor
778build_cpu
779build
780target_alias
781host_alias
782build_alias
783LIBS
784ECHO_T
785ECHO_N
786ECHO_C
787DEFS
788mandir
789localedir
790libdir
791psdir
792pdfdir
793dvidir
794htmldir
795infodir
796docdir
797oldincludedir
798includedir
799localstatedir
800sharedstatedir
801sysconfdir
802datadir
803datarootdir
804libexecdir
805sbindir
806bindir
807program_transform_name
808prefix
809exec_prefix
810PACKAGE_URL
811PACKAGE_BUGREPORT
812PACKAGE_STRING
813PACKAGE_VERSION
814PACKAGE_TARNAME
815PACKAGE_NAME
816PATH_SEPARATOR
817SHELL
818am__quote'
819ac_subst_files=''
820ac_user_opts='
821enable_option_checking
822enable_dependency_tracking
823enable_silent_rules
824with_html_dir
825with_html_subdir
826enable_shared
827enable_static
828with_pic
829enable_fast_install
830with_aix_soname
831with_gnu_ld
832with_sysroot
833enable_libtool_lock
834with_python
835with_crypto
836with_debug
837with_mem_debug
838with_debugger
839with_profiler
840with_libxml_prefix
841with_libxml_include_prefix
842with_libxml_libs_prefix
843with_libxml_src
844with_plugins
845'
846      ac_precious_vars='build_alias
847host_alias
848target_alias
849CC
850CFLAGS
851LDFLAGS
852LIBS
853CPPFLAGS
854CPP
855PKG_CONFIG
856PKG_CONFIG_PATH
857PKG_CONFIG_LIBDIR
858LT_SYS_LIBRARY_PATH
859LIBXML_CFLAGS
860LIBXML_LIBS'
861
862
863# Initialize some variables set by options.
864ac_init_help=
865ac_init_version=false
866ac_unrecognized_opts=
867ac_unrecognized_sep=
868# The variables have the same names as the options, with
869# dashes changed to underlines.
870cache_file=/dev/null
871exec_prefix=NONE
872no_create=
873no_recursion=
874prefix=NONE
875program_prefix=NONE
876program_suffix=NONE
877program_transform_name=s,x,x,
878silent=
879site=
880srcdir=
881verbose=
882x_includes=NONE
883x_libraries=NONE
884
885# Installation directory options.
886# These are left unexpanded so users can "make install exec_prefix=/foo"
887# and all the variables that are supposed to be based on exec_prefix
888# by default will actually change.
889# Use braces instead of parens because sh, perl, etc. also accept them.
890# (The list follows the same order as the GNU Coding Standards.)
891bindir='${exec_prefix}/bin'
892sbindir='${exec_prefix}/sbin'
893libexecdir='${exec_prefix}/libexec'
894datarootdir='${prefix}/share'
895datadir='${datarootdir}'
896sysconfdir='${prefix}/etc'
897sharedstatedir='${prefix}/com'
898localstatedir='${prefix}/var'
899includedir='${prefix}/include'
900oldincludedir='/usr/include'
901docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
902infodir='${datarootdir}/info'
903htmldir='${docdir}'
904dvidir='${docdir}'
905pdfdir='${docdir}'
906psdir='${docdir}'
907libdir='${exec_prefix}/lib'
908localedir='${datarootdir}/locale'
909mandir='${datarootdir}/man'
910
911ac_prev=
912ac_dashdash=
913for ac_option
914do
915  # If the previous option needs an argument, assign it.
916  if test -n "$ac_prev"; then
917    eval $ac_prev=\$ac_option
918    ac_prev=
919    continue
920  fi
921
922  case $ac_option in
923  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
924  *=)   ac_optarg= ;;
925  *)    ac_optarg=yes ;;
926  esac
927
928  # Accept the important Cygnus configure options, so we can diagnose typos.
929
930  case $ac_dashdash$ac_option in
931  --)
932    ac_dashdash=yes ;;
933
934  -bindir | --bindir | --bindi | --bind | --bin | --bi)
935    ac_prev=bindir ;;
936  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
937    bindir=$ac_optarg ;;
938
939  -build | --build | --buil | --bui | --bu)
940    ac_prev=build_alias ;;
941  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
942    build_alias=$ac_optarg ;;
943
944  -cache-file | --cache-file | --cache-fil | --cache-fi \
945  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
946    ac_prev=cache_file ;;
947  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
948  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
949    cache_file=$ac_optarg ;;
950
951  --config-cache | -C)
952    cache_file=config.cache ;;
953
954  -datadir | --datadir | --datadi | --datad)
955    ac_prev=datadir ;;
956  -datadir=* | --datadir=* | --datadi=* | --datad=*)
957    datadir=$ac_optarg ;;
958
959  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
960  | --dataroo | --dataro | --datar)
961    ac_prev=datarootdir ;;
962  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
963  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
964    datarootdir=$ac_optarg ;;
965
966  -disable-* | --disable-*)
967    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
968    # Reject names that are not valid shell variable names.
969    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
970      as_fn_error $? "invalid feature name: $ac_useropt"
971    ac_useropt_orig=$ac_useropt
972    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
973    case $ac_user_opts in
974      *"
975"enable_$ac_useropt"
976"*) ;;
977      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
978	 ac_unrecognized_sep=', ';;
979    esac
980    eval enable_$ac_useropt=no ;;
981
982  -docdir | --docdir | --docdi | --doc | --do)
983    ac_prev=docdir ;;
984  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
985    docdir=$ac_optarg ;;
986
987  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
988    ac_prev=dvidir ;;
989  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
990    dvidir=$ac_optarg ;;
991
992  -enable-* | --enable-*)
993    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
994    # Reject names that are not valid shell variable names.
995    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
996      as_fn_error $? "invalid feature name: $ac_useropt"
997    ac_useropt_orig=$ac_useropt
998    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
999    case $ac_user_opts in
1000      *"
1001"enable_$ac_useropt"
1002"*) ;;
1003      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1004	 ac_unrecognized_sep=', ';;
1005    esac
1006    eval enable_$ac_useropt=\$ac_optarg ;;
1007
1008  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1009  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1010  | --exec | --exe | --ex)
1011    ac_prev=exec_prefix ;;
1012  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1013  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1014  | --exec=* | --exe=* | --ex=*)
1015    exec_prefix=$ac_optarg ;;
1016
1017  -gas | --gas | --ga | --g)
1018    # Obsolete; use --with-gas.
1019    with_gas=yes ;;
1020
1021  -help | --help | --hel | --he | -h)
1022    ac_init_help=long ;;
1023  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1024    ac_init_help=recursive ;;
1025  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1026    ac_init_help=short ;;
1027
1028  -host | --host | --hos | --ho)
1029    ac_prev=host_alias ;;
1030  -host=* | --host=* | --hos=* | --ho=*)
1031    host_alias=$ac_optarg ;;
1032
1033  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1034    ac_prev=htmldir ;;
1035  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1036  | --ht=*)
1037    htmldir=$ac_optarg ;;
1038
1039  -includedir | --includedir | --includedi | --included | --include \
1040  | --includ | --inclu | --incl | --inc)
1041    ac_prev=includedir ;;
1042  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1043  | --includ=* | --inclu=* | --incl=* | --inc=*)
1044    includedir=$ac_optarg ;;
1045
1046  -infodir | --infodir | --infodi | --infod | --info | --inf)
1047    ac_prev=infodir ;;
1048  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1049    infodir=$ac_optarg ;;
1050
1051  -libdir | --libdir | --libdi | --libd)
1052    ac_prev=libdir ;;
1053  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1054    libdir=$ac_optarg ;;
1055
1056  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1057  | --libexe | --libex | --libe)
1058    ac_prev=libexecdir ;;
1059  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1060  | --libexe=* | --libex=* | --libe=*)
1061    libexecdir=$ac_optarg ;;
1062
1063  -localedir | --localedir | --localedi | --localed | --locale)
1064    ac_prev=localedir ;;
1065  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1066    localedir=$ac_optarg ;;
1067
1068  -localstatedir | --localstatedir | --localstatedi | --localstated \
1069  | --localstate | --localstat | --localsta | --localst | --locals)
1070    ac_prev=localstatedir ;;
1071  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1072  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1073    localstatedir=$ac_optarg ;;
1074
1075  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1076    ac_prev=mandir ;;
1077  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1078    mandir=$ac_optarg ;;
1079
1080  -nfp | --nfp | --nf)
1081    # Obsolete; use --without-fp.
1082    with_fp=no ;;
1083
1084  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1085  | --no-cr | --no-c | -n)
1086    no_create=yes ;;
1087
1088  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1089  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1090    no_recursion=yes ;;
1091
1092  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1093  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1094  | --oldin | --oldi | --old | --ol | --o)
1095    ac_prev=oldincludedir ;;
1096  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1097  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1098  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1099    oldincludedir=$ac_optarg ;;
1100
1101  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1102    ac_prev=prefix ;;
1103  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1104    prefix=$ac_optarg ;;
1105
1106  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1107  | --program-pre | --program-pr | --program-p)
1108    ac_prev=program_prefix ;;
1109  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1110  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1111    program_prefix=$ac_optarg ;;
1112
1113  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1114  | --program-suf | --program-su | --program-s)
1115    ac_prev=program_suffix ;;
1116  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1117  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1118    program_suffix=$ac_optarg ;;
1119
1120  -program-transform-name | --program-transform-name \
1121  | --program-transform-nam | --program-transform-na \
1122  | --program-transform-n | --program-transform- \
1123  | --program-transform | --program-transfor \
1124  | --program-transfo | --program-transf \
1125  | --program-trans | --program-tran \
1126  | --progr-tra | --program-tr | --program-t)
1127    ac_prev=program_transform_name ;;
1128  -program-transform-name=* | --program-transform-name=* \
1129  | --program-transform-nam=* | --program-transform-na=* \
1130  | --program-transform-n=* | --program-transform-=* \
1131  | --program-transform=* | --program-transfor=* \
1132  | --program-transfo=* | --program-transf=* \
1133  | --program-trans=* | --program-tran=* \
1134  | --progr-tra=* | --program-tr=* | --program-t=*)
1135    program_transform_name=$ac_optarg ;;
1136
1137  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1138    ac_prev=pdfdir ;;
1139  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1140    pdfdir=$ac_optarg ;;
1141
1142  -psdir | --psdir | --psdi | --psd | --ps)
1143    ac_prev=psdir ;;
1144  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1145    psdir=$ac_optarg ;;
1146
1147  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1148  | -silent | --silent | --silen | --sile | --sil)
1149    silent=yes ;;
1150
1151  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1152    ac_prev=sbindir ;;
1153  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1154  | --sbi=* | --sb=*)
1155    sbindir=$ac_optarg ;;
1156
1157  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1158  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1159  | --sharedst | --shareds | --shared | --share | --shar \
1160  | --sha | --sh)
1161    ac_prev=sharedstatedir ;;
1162  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1163  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1164  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1165  | --sha=* | --sh=*)
1166    sharedstatedir=$ac_optarg ;;
1167
1168  -site | --site | --sit)
1169    ac_prev=site ;;
1170  -site=* | --site=* | --sit=*)
1171    site=$ac_optarg ;;
1172
1173  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1174    ac_prev=srcdir ;;
1175  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1176    srcdir=$ac_optarg ;;
1177
1178  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1179  | --syscon | --sysco | --sysc | --sys | --sy)
1180    ac_prev=sysconfdir ;;
1181  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1182  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1183    sysconfdir=$ac_optarg ;;
1184
1185  -target | --target | --targe | --targ | --tar | --ta | --t)
1186    ac_prev=target_alias ;;
1187  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1188    target_alias=$ac_optarg ;;
1189
1190  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1191    verbose=yes ;;
1192
1193  -version | --version | --versio | --versi | --vers | -V)
1194    ac_init_version=: ;;
1195
1196  -with-* | --with-*)
1197    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1198    # Reject names that are not valid shell variable names.
1199    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1200      as_fn_error $? "invalid package name: $ac_useropt"
1201    ac_useropt_orig=$ac_useropt
1202    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1203    case $ac_user_opts in
1204      *"
1205"with_$ac_useropt"
1206"*) ;;
1207      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1208	 ac_unrecognized_sep=', ';;
1209    esac
1210    eval with_$ac_useropt=\$ac_optarg ;;
1211
1212  -without-* | --without-*)
1213    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1214    # Reject names that are not valid shell variable names.
1215    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1216      as_fn_error $? "invalid package name: $ac_useropt"
1217    ac_useropt_orig=$ac_useropt
1218    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1219    case $ac_user_opts in
1220      *"
1221"with_$ac_useropt"
1222"*) ;;
1223      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1224	 ac_unrecognized_sep=', ';;
1225    esac
1226    eval with_$ac_useropt=no ;;
1227
1228  --x)
1229    # Obsolete; use --with-x.
1230    with_x=yes ;;
1231
1232  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1233  | --x-incl | --x-inc | --x-in | --x-i)
1234    ac_prev=x_includes ;;
1235  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1236  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1237    x_includes=$ac_optarg ;;
1238
1239  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1240  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1241    ac_prev=x_libraries ;;
1242  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1243  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1244    x_libraries=$ac_optarg ;;
1245
1246  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1247Try \`$0 --help' for more information"
1248    ;;
1249
1250  *=*)
1251    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1252    # Reject names that are not valid shell variable names.
1253    case $ac_envvar in #(
1254      '' | [0-9]* | *[!_$as_cr_alnum]* )
1255      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1256    esac
1257    eval $ac_envvar=\$ac_optarg
1258    export $ac_envvar ;;
1259
1260  *)
1261    # FIXME: should be removed in autoconf 3.0.
1262    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1263    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1264      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1265    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1266    ;;
1267
1268  esac
1269done
1270
1271if test -n "$ac_prev"; then
1272  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1273  as_fn_error $? "missing argument to $ac_option"
1274fi
1275
1276if test -n "$ac_unrecognized_opts"; then
1277  case $enable_option_checking in
1278    no) ;;
1279    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1280    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1281  esac
1282fi
1283
1284# Check all directory arguments for consistency.
1285for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1286		datadir sysconfdir sharedstatedir localstatedir includedir \
1287		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1288		libdir localedir mandir
1289do
1290  eval ac_val=\$$ac_var
1291  # Remove trailing slashes.
1292  case $ac_val in
1293    */ )
1294      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1295      eval $ac_var=\$ac_val;;
1296  esac
1297  # Be sure to have absolute directory names.
1298  case $ac_val in
1299    [\\/$]* | ?:[\\/]* )  continue;;
1300    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1301  esac
1302  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1303done
1304
1305# There might be people who depend on the old broken behavior: `$host'
1306# used to hold the argument of --host etc.
1307# FIXME: To remove some day.
1308build=$build_alias
1309host=$host_alias
1310target=$target_alias
1311
1312# FIXME: To remove some day.
1313if test "x$host_alias" != x; then
1314  if test "x$build_alias" = x; then
1315    cross_compiling=maybe
1316  elif test "x$build_alias" != "x$host_alias"; then
1317    cross_compiling=yes
1318  fi
1319fi
1320
1321ac_tool_prefix=
1322test -n "$host_alias" && ac_tool_prefix=$host_alias-
1323
1324test "$silent" = yes && exec 6>/dev/null
1325
1326
1327ac_pwd=`pwd` && test -n "$ac_pwd" &&
1328ac_ls_di=`ls -di .` &&
1329ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1330  as_fn_error $? "working directory cannot be determined"
1331test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1332  as_fn_error $? "pwd does not report name of working directory"
1333
1334
1335# Find the source files, if location was not specified.
1336if test -z "$srcdir"; then
1337  ac_srcdir_defaulted=yes
1338  # Try the directory containing this script, then the parent directory.
1339  ac_confdir=`$as_dirname -- "$as_myself" ||
1340$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1341	 X"$as_myself" : 'X\(//\)[^/]' \| \
1342	 X"$as_myself" : 'X\(//\)$' \| \
1343	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1344$as_echo X"$as_myself" |
1345    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1346	    s//\1/
1347	    q
1348	  }
1349	  /^X\(\/\/\)[^/].*/{
1350	    s//\1/
1351	    q
1352	  }
1353	  /^X\(\/\/\)$/{
1354	    s//\1/
1355	    q
1356	  }
1357	  /^X\(\/\).*/{
1358	    s//\1/
1359	    q
1360	  }
1361	  s/.*/./; q'`
1362  srcdir=$ac_confdir
1363  if test ! -r "$srcdir/$ac_unique_file"; then
1364    srcdir=..
1365  fi
1366else
1367  ac_srcdir_defaulted=no
1368fi
1369if test ! -r "$srcdir/$ac_unique_file"; then
1370  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1371  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1372fi
1373ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1374ac_abs_confdir=`(
1375	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1376	pwd)`
1377# When building in place, set srcdir=.
1378if test "$ac_abs_confdir" = "$ac_pwd"; then
1379  srcdir=.
1380fi
1381# Remove unnecessary trailing slashes from srcdir.
1382# Double slashes in file names in object file debugging info
1383# mess up M-x gdb in Emacs.
1384case $srcdir in
1385*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1386esac
1387for ac_var in $ac_precious_vars; do
1388  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1389  eval ac_env_${ac_var}_value=\$${ac_var}
1390  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1391  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1392done
1393
1394#
1395# Report the --help message.
1396#
1397if test "$ac_init_help" = "long"; then
1398  # Omit some internal or obsolete options to make the list less imposing.
1399  # This message is too long to be a string in the A/UX 3.1 sh.
1400  cat <<_ACEOF
1401\`configure' configures libxslt 1.1.34 to adapt to many kinds of systems.
1402
1403Usage: $0 [OPTION]... [VAR=VALUE]...
1404
1405To assign environment variables (e.g., CC, CFLAGS...), specify them as
1406VAR=VALUE.  See below for descriptions of some of the useful variables.
1407
1408Defaults for the options are specified in brackets.
1409
1410Configuration:
1411  -h, --help              display this help and exit
1412      --help=short        display options specific to this package
1413      --help=recursive    display the short help of all the included packages
1414  -V, --version           display version information and exit
1415  -q, --quiet, --silent   do not print \`checking ...' messages
1416      --cache-file=FILE   cache test results in FILE [disabled]
1417  -C, --config-cache      alias for \`--cache-file=config.cache'
1418  -n, --no-create         do not create output files
1419      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1420
1421Installation directories:
1422  --prefix=PREFIX         install architecture-independent files in PREFIX
1423                          [$ac_default_prefix]
1424  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1425                          [PREFIX]
1426
1427By default, \`make install' will install all the files in
1428\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1429an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1430for instance \`--prefix=\$HOME'.
1431
1432For better control, use the options below.
1433
1434Fine tuning of the installation directories:
1435  --bindir=DIR            user executables [EPREFIX/bin]
1436  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1437  --libexecdir=DIR        program executables [EPREFIX/libexec]
1438  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1439  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1440  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1441  --libdir=DIR            object code libraries [EPREFIX/lib]
1442  --includedir=DIR        C header files [PREFIX/include]
1443  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1444  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1445  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1446  --infodir=DIR           info documentation [DATAROOTDIR/info]
1447  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1448  --mandir=DIR            man documentation [DATAROOTDIR/man]
1449  --docdir=DIR            documentation root [DATAROOTDIR/doc/libxslt]
1450  --htmldir=DIR           html documentation [DOCDIR]
1451  --dvidir=DIR            dvi documentation [DOCDIR]
1452  --pdfdir=DIR            pdf documentation [DOCDIR]
1453  --psdir=DIR             ps documentation [DOCDIR]
1454_ACEOF
1455
1456  cat <<\_ACEOF
1457
1458Program names:
1459  --program-prefix=PREFIX            prepend PREFIX to installed program names
1460  --program-suffix=SUFFIX            append SUFFIX to installed program names
1461  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1462
1463System types:
1464  --build=BUILD     configure for building on BUILD [guessed]
1465  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1466_ACEOF
1467fi
1468
1469if test -n "$ac_init_help"; then
1470  case $ac_init_help in
1471     short | recursive ) echo "Configuration of libxslt 1.1.34:";;
1472   esac
1473  cat <<\_ACEOF
1474
1475Optional Features:
1476  --disable-option-checking  ignore unrecognized --enable/--with options
1477  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1478  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1479  --enable-dependency-tracking
1480                          do not reject slow dependency extractors
1481  --disable-dependency-tracking
1482                          speeds up one-time build
1483  --enable-silent-rules   less verbose build output (undo: "make V=1")
1484  --disable-silent-rules  verbose build output (undo: "make V=0")
1485  --enable-shared[=PKGS]  build shared libraries [default=yes]
1486  --enable-static[=PKGS]  build static libraries [default=yes]
1487  --enable-fast-install[=PKGS]
1488                          optimize for fast installation [default=yes]
1489  --disable-libtool-lock  avoid locking (might break parallel builds)
1490
1491Optional Packages:
1492  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1493  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1494  --with-html-dir=path    path to base html directory, default
1495                          $datadir/doc/html
1496  --with-html-subdir=path directory used under html-dir, default
1497                          $PACKAGE-$VERSION/html
1498  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1499                          both]
1500  --with-aix-soname=aix|svr4|both
1501                          shared library versioning (aka "SONAME") variant to
1502                          provide on AIX, [default=aix].
1503  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1504  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1505                          compiler's sysroot if not specified).
1506  --with-python=DIR    Build Python bindings if found
1507  --with-crypto           Add crypto support to exslt (on)
1508  --with-debug            Add the debugging code (on)
1509  --with-mem-debug        Add the memory debugging module (off)
1510  --with-debugger        Add the debugging support (on)
1511  --with-profiler        Add the profiling support (on)
1512  --with-libxml-prefix=PFX		Specify location of libxml config
1513  --with-libxml-include-prefix=PFX	Specify location of libxml headers
1514  --with-libxml-libs-prefix=PFX	Specify location of libxml libs
1515  --with-libxml-src=DIR              For libxml thats not installed yet (sets all three above)
1516  --with-plugins          Add plugin extension support (on)
1517
1518Some influential environment variables:
1519  CC          C compiler command
1520  CFLAGS      C compiler flags
1521  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1522              nonstandard directory <lib dir>
1523  LIBS        libraries to pass to the linker, e.g. -l<library>
1524  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1525              you have headers in a nonstandard directory <include dir>
1526  CPP         C preprocessor
1527  PKG_CONFIG  path to pkg-config utility
1528  PKG_CONFIG_PATH
1529              directories to add to pkg-config's search path
1530  PKG_CONFIG_LIBDIR
1531              path overriding pkg-config's built-in search path
1532  LT_SYS_LIBRARY_PATH
1533              User-defined run-time library search path.
1534  LIBXML_CFLAGS
1535              C compiler flags for LIBXML, overriding pkg-config
1536  LIBXML_LIBS linker flags for LIBXML, overriding pkg-config
1537
1538Use these variables to override the choices made by `configure' or to help
1539it to find libraries and programs with nonstandard names/locations.
1540
1541Report bugs to the package provider.
1542_ACEOF
1543ac_status=$?
1544fi
1545
1546if test "$ac_init_help" = "recursive"; then
1547  # If there are subdirs, report their specific --help.
1548  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1549    test -d "$ac_dir" ||
1550      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1551      continue
1552    ac_builddir=.
1553
1554case "$ac_dir" in
1555.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1556*)
1557  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1558  # A ".." for each directory in $ac_dir_suffix.
1559  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1560  case $ac_top_builddir_sub in
1561  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1562  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1563  esac ;;
1564esac
1565ac_abs_top_builddir=$ac_pwd
1566ac_abs_builddir=$ac_pwd$ac_dir_suffix
1567# for backward compatibility:
1568ac_top_builddir=$ac_top_build_prefix
1569
1570case $srcdir in
1571  .)  # We are building in place.
1572    ac_srcdir=.
1573    ac_top_srcdir=$ac_top_builddir_sub
1574    ac_abs_top_srcdir=$ac_pwd ;;
1575  [\\/]* | ?:[\\/]* )  # Absolute name.
1576    ac_srcdir=$srcdir$ac_dir_suffix;
1577    ac_top_srcdir=$srcdir
1578    ac_abs_top_srcdir=$srcdir ;;
1579  *) # Relative name.
1580    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1581    ac_top_srcdir=$ac_top_build_prefix$srcdir
1582    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1583esac
1584ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1585
1586    cd "$ac_dir" || { ac_status=$?; continue; }
1587    # Check for guested configure.
1588    if test -f "$ac_srcdir/configure.gnu"; then
1589      echo &&
1590      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1591    elif test -f "$ac_srcdir/configure"; then
1592      echo &&
1593      $SHELL "$ac_srcdir/configure" --help=recursive
1594    else
1595      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1596    fi || ac_status=$?
1597    cd "$ac_pwd" || { ac_status=$?; break; }
1598  done
1599fi
1600
1601test -n "$ac_init_help" && exit $ac_status
1602if $ac_init_version; then
1603  cat <<\_ACEOF
1604libxslt configure 1.1.34
1605generated by GNU Autoconf 2.69
1606
1607Copyright (C) 2012 Free Software Foundation, Inc.
1608This configure script is free software; the Free Software Foundation
1609gives unlimited permission to copy, distribute and modify it.
1610_ACEOF
1611  exit
1612fi
1613
1614## ------------------------ ##
1615## Autoconf initialization. ##
1616## ------------------------ ##
1617
1618# ac_fn_c_try_compile LINENO
1619# --------------------------
1620# Try to compile conftest.$ac_ext, and return whether this succeeded.
1621ac_fn_c_try_compile ()
1622{
1623  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1624  rm -f conftest.$ac_objext
1625  if { { ac_try="$ac_compile"
1626case "(($ac_try" in
1627  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1628  *) ac_try_echo=$ac_try;;
1629esac
1630eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1631$as_echo "$ac_try_echo"; } >&5
1632  (eval "$ac_compile") 2>conftest.err
1633  ac_status=$?
1634  if test -s conftest.err; then
1635    grep -v '^ *+' conftest.err >conftest.er1
1636    cat conftest.er1 >&5
1637    mv -f conftest.er1 conftest.err
1638  fi
1639  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1640  test $ac_status = 0; } && {
1641	 test -z "$ac_c_werror_flag" ||
1642	 test ! -s conftest.err
1643       } && test -s conftest.$ac_objext; then :
1644  ac_retval=0
1645else
1646  $as_echo "$as_me: failed program was:" >&5
1647sed 's/^/| /' conftest.$ac_ext >&5
1648
1649	ac_retval=1
1650fi
1651  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1652  as_fn_set_status $ac_retval
1653
1654} # ac_fn_c_try_compile
1655
1656# ac_fn_c_try_cpp LINENO
1657# ----------------------
1658# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1659ac_fn_c_try_cpp ()
1660{
1661  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1662  if { { ac_try="$ac_cpp conftest.$ac_ext"
1663case "(($ac_try" in
1664  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1665  *) ac_try_echo=$ac_try;;
1666esac
1667eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1668$as_echo "$ac_try_echo"; } >&5
1669  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1670  ac_status=$?
1671  if test -s conftest.err; then
1672    grep -v '^ *+' conftest.err >conftest.er1
1673    cat conftest.er1 >&5
1674    mv -f conftest.er1 conftest.err
1675  fi
1676  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1677  test $ac_status = 0; } > conftest.i && {
1678	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1679	 test ! -s conftest.err
1680       }; then :
1681  ac_retval=0
1682else
1683  $as_echo "$as_me: failed program was:" >&5
1684sed 's/^/| /' conftest.$ac_ext >&5
1685
1686    ac_retval=1
1687fi
1688  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1689  as_fn_set_status $ac_retval
1690
1691} # ac_fn_c_try_cpp
1692
1693# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1694# -------------------------------------------------------
1695# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1696# the include files in INCLUDES and setting the cache variable VAR
1697# accordingly.
1698ac_fn_c_check_header_mongrel ()
1699{
1700  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1701  if eval \${$3+:} false; then :
1702  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1703$as_echo_n "checking for $2... " >&6; }
1704if eval \${$3+:} false; then :
1705  $as_echo_n "(cached) " >&6
1706fi
1707eval ac_res=\$$3
1708	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1709$as_echo "$ac_res" >&6; }
1710else
1711  # Is the header compilable?
1712{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1713$as_echo_n "checking $2 usability... " >&6; }
1714cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1715/* end confdefs.h.  */
1716$4
1717#include <$2>
1718_ACEOF
1719if ac_fn_c_try_compile "$LINENO"; then :
1720  ac_header_compiler=yes
1721else
1722  ac_header_compiler=no
1723fi
1724rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1725{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1726$as_echo "$ac_header_compiler" >&6; }
1727
1728# Is the header present?
1729{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1730$as_echo_n "checking $2 presence... " >&6; }
1731cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1732/* end confdefs.h.  */
1733#include <$2>
1734_ACEOF
1735if ac_fn_c_try_cpp "$LINENO"; then :
1736  ac_header_preproc=yes
1737else
1738  ac_header_preproc=no
1739fi
1740rm -f conftest.err conftest.i conftest.$ac_ext
1741{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1742$as_echo "$ac_header_preproc" >&6; }
1743
1744# So?  What about this header?
1745case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1746  yes:no: )
1747    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1748$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1749    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1750$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1751    ;;
1752  no:yes:* )
1753    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1754$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1755    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1756$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1757    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1758$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1759    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1760$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1761    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1762$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1763    ;;
1764esac
1765  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1766$as_echo_n "checking for $2... " >&6; }
1767if eval \${$3+:} false; then :
1768  $as_echo_n "(cached) " >&6
1769else
1770  eval "$3=\$ac_header_compiler"
1771fi
1772eval ac_res=\$$3
1773	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1774$as_echo "$ac_res" >&6; }
1775fi
1776  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1777
1778} # ac_fn_c_check_header_mongrel
1779
1780# ac_fn_c_try_run LINENO
1781# ----------------------
1782# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1783# that executables *can* be run.
1784ac_fn_c_try_run ()
1785{
1786  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1787  if { { ac_try="$ac_link"
1788case "(($ac_try" in
1789  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1790  *) ac_try_echo=$ac_try;;
1791esac
1792eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1793$as_echo "$ac_try_echo"; } >&5
1794  (eval "$ac_link") 2>&5
1795  ac_status=$?
1796  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1797  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1798  { { case "(($ac_try" in
1799  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1800  *) ac_try_echo=$ac_try;;
1801esac
1802eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1803$as_echo "$ac_try_echo"; } >&5
1804  (eval "$ac_try") 2>&5
1805  ac_status=$?
1806  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1807  test $ac_status = 0; }; }; then :
1808  ac_retval=0
1809else
1810  $as_echo "$as_me: program exited with status $ac_status" >&5
1811       $as_echo "$as_me: failed program was:" >&5
1812sed 's/^/| /' conftest.$ac_ext >&5
1813
1814       ac_retval=$ac_status
1815fi
1816  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1817  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1818  as_fn_set_status $ac_retval
1819
1820} # ac_fn_c_try_run
1821
1822# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1823# -------------------------------------------------------
1824# Tests whether HEADER exists and can be compiled using the include files in
1825# INCLUDES, setting the cache variable VAR accordingly.
1826ac_fn_c_check_header_compile ()
1827{
1828  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1829  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1830$as_echo_n "checking for $2... " >&6; }
1831if eval \${$3+:} false; then :
1832  $as_echo_n "(cached) " >&6
1833else
1834  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1835/* end confdefs.h.  */
1836$4
1837#include <$2>
1838_ACEOF
1839if ac_fn_c_try_compile "$LINENO"; then :
1840  eval "$3=yes"
1841else
1842  eval "$3=no"
1843fi
1844rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1845fi
1846eval ac_res=\$$3
1847	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1848$as_echo "$ac_res" >&6; }
1849  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1850
1851} # ac_fn_c_check_header_compile
1852
1853# ac_fn_c_try_link LINENO
1854# -----------------------
1855# Try to link conftest.$ac_ext, and return whether this succeeded.
1856ac_fn_c_try_link ()
1857{
1858  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1859  rm -f conftest.$ac_objext conftest$ac_exeext
1860  if { { ac_try="$ac_link"
1861case "(($ac_try" in
1862  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1863  *) ac_try_echo=$ac_try;;
1864esac
1865eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1866$as_echo "$ac_try_echo"; } >&5
1867  (eval "$ac_link") 2>conftest.err
1868  ac_status=$?
1869  if test -s conftest.err; then
1870    grep -v '^ *+' conftest.err >conftest.er1
1871    cat conftest.er1 >&5
1872    mv -f conftest.er1 conftest.err
1873  fi
1874  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1875  test $ac_status = 0; } && {
1876	 test -z "$ac_c_werror_flag" ||
1877	 test ! -s conftest.err
1878       } && test -s conftest$ac_exeext && {
1879	 test "$cross_compiling" = yes ||
1880	 test -x conftest$ac_exeext
1881       }; then :
1882  ac_retval=0
1883else
1884  $as_echo "$as_me: failed program was:" >&5
1885sed 's/^/| /' conftest.$ac_ext >&5
1886
1887	ac_retval=1
1888fi
1889  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1890  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1891  # interfere with the next link command; also delete a directory that is
1892  # left behind by Apple's compiler.  We do this before executing the actions.
1893  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1894  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1895  as_fn_set_status $ac_retval
1896
1897} # ac_fn_c_try_link
1898
1899# ac_fn_c_check_func LINENO FUNC VAR
1900# ----------------------------------
1901# Tests whether FUNC exists, setting the cache variable VAR accordingly
1902ac_fn_c_check_func ()
1903{
1904  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1905  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1906$as_echo_n "checking for $2... " >&6; }
1907if eval \${$3+:} false; then :
1908  $as_echo_n "(cached) " >&6
1909else
1910  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1911/* end confdefs.h.  */
1912/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1913   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1914#define $2 innocuous_$2
1915
1916/* System header to define __stub macros and hopefully few prototypes,
1917    which can conflict with char $2 (); below.
1918    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1919    <limits.h> exists even on freestanding compilers.  */
1920
1921#ifdef __STDC__
1922# include <limits.h>
1923#else
1924# include <assert.h>
1925#endif
1926
1927#undef $2
1928
1929/* Override any GCC internal prototype to avoid an error.
1930   Use char because int might match the return type of a GCC
1931   builtin and then its argument prototype would still apply.  */
1932#ifdef __cplusplus
1933extern "C"
1934#endif
1935char $2 ();
1936/* The GNU C library defines this for functions which it implements
1937    to always fail with ENOSYS.  Some functions are actually named
1938    something starting with __ and the normal name is an alias.  */
1939#if defined __stub_$2 || defined __stub___$2
1940choke me
1941#endif
1942
1943int
1944main ()
1945{
1946return $2 ();
1947  ;
1948  return 0;
1949}
1950_ACEOF
1951if ac_fn_c_try_link "$LINENO"; then :
1952  eval "$3=yes"
1953else
1954  eval "$3=no"
1955fi
1956rm -f core conftest.err conftest.$ac_objext \
1957    conftest$ac_exeext conftest.$ac_ext
1958fi
1959eval ac_res=\$$3
1960	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1961$as_echo "$ac_res" >&6; }
1962  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1963
1964} # ac_fn_c_check_func
1965cat >config.log <<_ACEOF
1966This file contains any messages produced by compilers while
1967running configure, to aid debugging if configure makes a mistake.
1968
1969It was created by libxslt $as_me 1.1.34, which was
1970generated by GNU Autoconf 2.69.  Invocation command line was
1971
1972  $ $0 $@
1973
1974_ACEOF
1975exec 5>>config.log
1976{
1977cat <<_ASUNAME
1978## --------- ##
1979## Platform. ##
1980## --------- ##
1981
1982hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1983uname -m = `(uname -m) 2>/dev/null || echo unknown`
1984uname -r = `(uname -r) 2>/dev/null || echo unknown`
1985uname -s = `(uname -s) 2>/dev/null || echo unknown`
1986uname -v = `(uname -v) 2>/dev/null || echo unknown`
1987
1988/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1989/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1990
1991/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1992/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1993/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1994/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1995/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1996/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1997/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1998
1999_ASUNAME
2000
2001as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2002for as_dir in $PATH
2003do
2004  IFS=$as_save_IFS
2005  test -z "$as_dir" && as_dir=.
2006    $as_echo "PATH: $as_dir"
2007  done
2008IFS=$as_save_IFS
2009
2010} >&5
2011
2012cat >&5 <<_ACEOF
2013
2014
2015## ----------- ##
2016## Core tests. ##
2017## ----------- ##
2018
2019_ACEOF
2020
2021
2022# Keep a trace of the command line.
2023# Strip out --no-create and --no-recursion so they do not pile up.
2024# Strip out --silent because we don't want to record it for future runs.
2025# Also quote any args containing shell meta-characters.
2026# Make two passes to allow for proper duplicate-argument suppression.
2027ac_configure_args=
2028ac_configure_args0=
2029ac_configure_args1=
2030ac_must_keep_next=false
2031for ac_pass in 1 2
2032do
2033  for ac_arg
2034  do
2035    case $ac_arg in
2036    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2037    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2038    | -silent | --silent | --silen | --sile | --sil)
2039      continue ;;
2040    *\'*)
2041      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2042    esac
2043    case $ac_pass in
2044    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2045    2)
2046      as_fn_append ac_configure_args1 " '$ac_arg'"
2047      if test $ac_must_keep_next = true; then
2048	ac_must_keep_next=false # Got value, back to normal.
2049      else
2050	case $ac_arg in
2051	  *=* | --config-cache | -C | -disable-* | --disable-* \
2052	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2053	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2054	  | -with-* | --with-* | -without-* | --without-* | --x)
2055	    case "$ac_configure_args0 " in
2056	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2057	    esac
2058	    ;;
2059	  -* ) ac_must_keep_next=true ;;
2060	esac
2061      fi
2062      as_fn_append ac_configure_args " '$ac_arg'"
2063      ;;
2064    esac
2065  done
2066done
2067{ ac_configure_args0=; unset ac_configure_args0;}
2068{ ac_configure_args1=; unset ac_configure_args1;}
2069
2070# When interrupted or exit'd, cleanup temporary files, and complete
2071# config.log.  We remove comments because anyway the quotes in there
2072# would cause problems or look ugly.
2073# WARNING: Use '\'' to represent an apostrophe within the trap.
2074# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2075trap 'exit_status=$?
2076  # Save into config.log some information that might help in debugging.
2077  {
2078    echo
2079
2080    $as_echo "## ---------------- ##
2081## Cache variables. ##
2082## ---------------- ##"
2083    echo
2084    # The following way of writing the cache mishandles newlines in values,
2085(
2086  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2087    eval ac_val=\$$ac_var
2088    case $ac_val in #(
2089    *${as_nl}*)
2090      case $ac_var in #(
2091      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2092$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2093      esac
2094      case $ac_var in #(
2095      _ | IFS | as_nl) ;; #(
2096      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2097      *) { eval $ac_var=; unset $ac_var;} ;;
2098      esac ;;
2099    esac
2100  done
2101  (set) 2>&1 |
2102    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2103    *${as_nl}ac_space=\ *)
2104      sed -n \
2105	"s/'\''/'\''\\\\'\'''\''/g;
2106	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2107      ;; #(
2108    *)
2109      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2110      ;;
2111    esac |
2112    sort
2113)
2114    echo
2115
2116    $as_echo "## ----------------- ##
2117## Output variables. ##
2118## ----------------- ##"
2119    echo
2120    for ac_var in $ac_subst_vars
2121    do
2122      eval ac_val=\$$ac_var
2123      case $ac_val in
2124      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2125      esac
2126      $as_echo "$ac_var='\''$ac_val'\''"
2127    done | sort
2128    echo
2129
2130    if test -n "$ac_subst_files"; then
2131      $as_echo "## ------------------- ##
2132## File substitutions. ##
2133## ------------------- ##"
2134      echo
2135      for ac_var in $ac_subst_files
2136      do
2137	eval ac_val=\$$ac_var
2138	case $ac_val in
2139	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2140	esac
2141	$as_echo "$ac_var='\''$ac_val'\''"
2142      done | sort
2143      echo
2144    fi
2145
2146    if test -s confdefs.h; then
2147      $as_echo "## ----------- ##
2148## confdefs.h. ##
2149## ----------- ##"
2150      echo
2151      cat confdefs.h
2152      echo
2153    fi
2154    test "$ac_signal" != 0 &&
2155      $as_echo "$as_me: caught signal $ac_signal"
2156    $as_echo "$as_me: exit $exit_status"
2157  } >&5
2158  rm -f core *.core core.conftest.* &&
2159    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2160    exit $exit_status
2161' 0
2162for ac_signal in 1 2 13 15; do
2163  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2164done
2165ac_signal=0
2166
2167# confdefs.h avoids OS command line length limits that DEFS can exceed.
2168rm -f -r conftest* confdefs.h
2169
2170$as_echo "/* confdefs.h */" > confdefs.h
2171
2172# Predefined preprocessor variables.
2173
2174cat >>confdefs.h <<_ACEOF
2175#define PACKAGE_NAME "$PACKAGE_NAME"
2176_ACEOF
2177
2178cat >>confdefs.h <<_ACEOF
2179#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2180_ACEOF
2181
2182cat >>confdefs.h <<_ACEOF
2183#define PACKAGE_VERSION "$PACKAGE_VERSION"
2184_ACEOF
2185
2186cat >>confdefs.h <<_ACEOF
2187#define PACKAGE_STRING "$PACKAGE_STRING"
2188_ACEOF
2189
2190cat >>confdefs.h <<_ACEOF
2191#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2192_ACEOF
2193
2194cat >>confdefs.h <<_ACEOF
2195#define PACKAGE_URL "$PACKAGE_URL"
2196_ACEOF
2197
2198
2199# Let the site file select an alternate cache file if it wants to.
2200# Prefer an explicitly selected file to automatically selected ones.
2201ac_site_file1=NONE
2202ac_site_file2=NONE
2203if test -n "$CONFIG_SITE"; then
2204  # We do not want a PATH search for config.site.
2205  case $CONFIG_SITE in #((
2206    -*)  ac_site_file1=./$CONFIG_SITE;;
2207    */*) ac_site_file1=$CONFIG_SITE;;
2208    *)   ac_site_file1=./$CONFIG_SITE;;
2209  esac
2210elif test "x$prefix" != xNONE; then
2211  ac_site_file1=$prefix/share/config.site
2212  ac_site_file2=$prefix/etc/config.site
2213else
2214  ac_site_file1=$ac_default_prefix/share/config.site
2215  ac_site_file2=$ac_default_prefix/etc/config.site
2216fi
2217for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2218do
2219  test "x$ac_site_file" = xNONE && continue
2220  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2221    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2222$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2223    sed 's/^/| /' "$ac_site_file" >&5
2224    . "$ac_site_file" \
2225      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2226$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2227as_fn_error $? "failed to load site script $ac_site_file
2228See \`config.log' for more details" "$LINENO" 5; }
2229  fi
2230done
2231
2232if test -r "$cache_file"; then
2233  # Some versions of bash will fail to source /dev/null (special files
2234  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2235  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2236    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2237$as_echo "$as_me: loading cache $cache_file" >&6;}
2238    case $cache_file in
2239      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2240      *)                      . "./$cache_file";;
2241    esac
2242  fi
2243else
2244  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2245$as_echo "$as_me: creating cache $cache_file" >&6;}
2246  >$cache_file
2247fi
2248
2249# Check that the precious variables saved in the cache have kept the same
2250# value.
2251ac_cache_corrupted=false
2252for ac_var in $ac_precious_vars; do
2253  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2254  eval ac_new_set=\$ac_env_${ac_var}_set
2255  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2256  eval ac_new_val=\$ac_env_${ac_var}_value
2257  case $ac_old_set,$ac_new_set in
2258    set,)
2259      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2260$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2261      ac_cache_corrupted=: ;;
2262    ,set)
2263      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2264$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2265      ac_cache_corrupted=: ;;
2266    ,);;
2267    *)
2268      if test "x$ac_old_val" != "x$ac_new_val"; then
2269	# differences in whitespace do not lead to failure.
2270	ac_old_val_w=`echo x $ac_old_val`
2271	ac_new_val_w=`echo x $ac_new_val`
2272	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2273	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2274$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2275	  ac_cache_corrupted=:
2276	else
2277	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2278$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2279	  eval $ac_var=\$ac_old_val
2280	fi
2281	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2282$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2283	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2284$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2285      fi;;
2286  esac
2287  # Pass precious variables to config.status.
2288  if test "$ac_new_set" = set; then
2289    case $ac_new_val in
2290    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2291    *) ac_arg=$ac_var=$ac_new_val ;;
2292    esac
2293    case " $ac_configure_args " in
2294      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2295      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2296    esac
2297  fi
2298done
2299if $ac_cache_corrupted; then
2300  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2301$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2302  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2303$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2304  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2305fi
2306## -------------------- ##
2307## Main body of script. ##
2308## -------------------- ##
2309
2310ac_ext=c
2311ac_cpp='$CPP $CPPFLAGS'
2312ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2313ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2314ac_compiler_gnu=$ac_cv_c_compiler_gnu
2315
2316
2317
2318ac_config_headers="$ac_config_headers config.h"
2319
2320ac_aux_dir=
2321for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2322  if test -f "$ac_dir/install-sh"; then
2323    ac_aux_dir=$ac_dir
2324    ac_install_sh="$ac_aux_dir/install-sh -c"
2325    break
2326  elif test -f "$ac_dir/install.sh"; then
2327    ac_aux_dir=$ac_dir
2328    ac_install_sh="$ac_aux_dir/install.sh -c"
2329    break
2330  elif test -f "$ac_dir/shtool"; then
2331    ac_aux_dir=$ac_dir
2332    ac_install_sh="$ac_aux_dir/shtool install -c"
2333    break
2334  fi
2335done
2336if test -z "$ac_aux_dir"; then
2337  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2338fi
2339
2340# These three variables are undocumented and unsupported,
2341# and are intended to be withdrawn in a future Autoconf release.
2342# They can cause serious problems if a builder's source tree is in a directory
2343# whose full name contains unusual characters.
2344ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2345ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2346ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2347
2348
2349# Make sure we can run config.sub.
2350$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2351  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2352
2353{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2354$as_echo_n "checking build system type... " >&6; }
2355if ${ac_cv_build+:} false; then :
2356  $as_echo_n "(cached) " >&6
2357else
2358  ac_build_alias=$build_alias
2359test "x$ac_build_alias" = x &&
2360  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2361test "x$ac_build_alias" = x &&
2362  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2363ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2364  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2365
2366fi
2367{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2368$as_echo "$ac_cv_build" >&6; }
2369case $ac_cv_build in
2370*-*-*) ;;
2371*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2372esac
2373build=$ac_cv_build
2374ac_save_IFS=$IFS; IFS='-'
2375set x $ac_cv_build
2376shift
2377build_cpu=$1
2378build_vendor=$2
2379shift; shift
2380# Remember, the first character of IFS is used to create $*,
2381# except with old shells:
2382build_os=$*
2383IFS=$ac_save_IFS
2384case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2385
2386
2387{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2388$as_echo_n "checking host system type... " >&6; }
2389if ${ac_cv_host+:} false; then :
2390  $as_echo_n "(cached) " >&6
2391else
2392  if test "x$host_alias" = x; then
2393  ac_cv_host=$ac_cv_build
2394else
2395  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2396    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2397fi
2398
2399fi
2400{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2401$as_echo "$ac_cv_host" >&6; }
2402case $ac_cv_host in
2403*-*-*) ;;
2404*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2405esac
2406host=$ac_cv_host
2407ac_save_IFS=$IFS; IFS='-'
2408set x $ac_cv_host
2409shift
2410host_cpu=$1
2411host_vendor=$2
2412shift; shift
2413# Remember, the first character of IFS is used to create $*,
2414# except with old shells:
2415host_os=$*
2416IFS=$ac_save_IFS
2417case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2418
2419
2420# Expand $ac_aux_dir to an absolute path.
2421am_aux_dir=`cd "$ac_aux_dir" && pwd`
2422
2423ac_ext=c
2424ac_cpp='$CPP $CPPFLAGS'
2425ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2426ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2427ac_compiler_gnu=$ac_cv_c_compiler_gnu
2428if test -n "$ac_tool_prefix"; then
2429  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2430set dummy ${ac_tool_prefix}gcc; ac_word=$2
2431{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2432$as_echo_n "checking for $ac_word... " >&6; }
2433if ${ac_cv_prog_CC+:} false; then :
2434  $as_echo_n "(cached) " >&6
2435else
2436  if test -n "$CC"; then
2437  ac_cv_prog_CC="$CC" # Let the user override the test.
2438else
2439as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2440for as_dir in $PATH
2441do
2442  IFS=$as_save_IFS
2443  test -z "$as_dir" && as_dir=.
2444    for ac_exec_ext in '' $ac_executable_extensions; do
2445  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2446    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2447    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2448    break 2
2449  fi
2450done
2451  done
2452IFS=$as_save_IFS
2453
2454fi
2455fi
2456CC=$ac_cv_prog_CC
2457if test -n "$CC"; then
2458  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2459$as_echo "$CC" >&6; }
2460else
2461  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2462$as_echo "no" >&6; }
2463fi
2464
2465
2466fi
2467if test -z "$ac_cv_prog_CC"; then
2468  ac_ct_CC=$CC
2469  # Extract the first word of "gcc", so it can be a program name with args.
2470set dummy gcc; ac_word=$2
2471{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2472$as_echo_n "checking for $ac_word... " >&6; }
2473if ${ac_cv_prog_ac_ct_CC+:} false; then :
2474  $as_echo_n "(cached) " >&6
2475else
2476  if test -n "$ac_ct_CC"; then
2477  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2478else
2479as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2480for as_dir in $PATH
2481do
2482  IFS=$as_save_IFS
2483  test -z "$as_dir" && as_dir=.
2484    for ac_exec_ext in '' $ac_executable_extensions; do
2485  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2486    ac_cv_prog_ac_ct_CC="gcc"
2487    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2488    break 2
2489  fi
2490done
2491  done
2492IFS=$as_save_IFS
2493
2494fi
2495fi
2496ac_ct_CC=$ac_cv_prog_ac_ct_CC
2497if test -n "$ac_ct_CC"; then
2498  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2499$as_echo "$ac_ct_CC" >&6; }
2500else
2501  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2502$as_echo "no" >&6; }
2503fi
2504
2505  if test "x$ac_ct_CC" = x; then
2506    CC=""
2507  else
2508    case $cross_compiling:$ac_tool_warned in
2509yes:)
2510{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2511$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2512ac_tool_warned=yes ;;
2513esac
2514    CC=$ac_ct_CC
2515  fi
2516else
2517  CC="$ac_cv_prog_CC"
2518fi
2519
2520if test -z "$CC"; then
2521          if test -n "$ac_tool_prefix"; then
2522    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2523set dummy ${ac_tool_prefix}cc; ac_word=$2
2524{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2525$as_echo_n "checking for $ac_word... " >&6; }
2526if ${ac_cv_prog_CC+:} false; then :
2527  $as_echo_n "(cached) " >&6
2528else
2529  if test -n "$CC"; then
2530  ac_cv_prog_CC="$CC" # Let the user override the test.
2531else
2532as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2533for as_dir in $PATH
2534do
2535  IFS=$as_save_IFS
2536  test -z "$as_dir" && as_dir=.
2537    for ac_exec_ext in '' $ac_executable_extensions; do
2538  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2539    ac_cv_prog_CC="${ac_tool_prefix}cc"
2540    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2541    break 2
2542  fi
2543done
2544  done
2545IFS=$as_save_IFS
2546
2547fi
2548fi
2549CC=$ac_cv_prog_CC
2550if test -n "$CC"; then
2551  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2552$as_echo "$CC" >&6; }
2553else
2554  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2555$as_echo "no" >&6; }
2556fi
2557
2558
2559  fi
2560fi
2561if test -z "$CC"; then
2562  # Extract the first word of "cc", so it can be a program name with args.
2563set dummy cc; ac_word=$2
2564{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2565$as_echo_n "checking for $ac_word... " >&6; }
2566if ${ac_cv_prog_CC+:} false; then :
2567  $as_echo_n "(cached) " >&6
2568else
2569  if test -n "$CC"; then
2570  ac_cv_prog_CC="$CC" # Let the user override the test.
2571else
2572  ac_prog_rejected=no
2573as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2574for as_dir in $PATH
2575do
2576  IFS=$as_save_IFS
2577  test -z "$as_dir" && as_dir=.
2578    for ac_exec_ext in '' $ac_executable_extensions; do
2579  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2580    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2581       ac_prog_rejected=yes
2582       continue
2583     fi
2584    ac_cv_prog_CC="cc"
2585    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2586    break 2
2587  fi
2588done
2589  done
2590IFS=$as_save_IFS
2591
2592if test $ac_prog_rejected = yes; then
2593  # We found a bogon in the path, so make sure we never use it.
2594  set dummy $ac_cv_prog_CC
2595  shift
2596  if test $# != 0; then
2597    # We chose a different compiler from the bogus one.
2598    # However, it has the same basename, so the bogon will be chosen
2599    # first if we set CC to just the basename; use the full file name.
2600    shift
2601    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2602  fi
2603fi
2604fi
2605fi
2606CC=$ac_cv_prog_CC
2607if test -n "$CC"; then
2608  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2609$as_echo "$CC" >&6; }
2610else
2611  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2612$as_echo "no" >&6; }
2613fi
2614
2615
2616fi
2617if test -z "$CC"; then
2618  if test -n "$ac_tool_prefix"; then
2619  for ac_prog in cl.exe
2620  do
2621    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2622set dummy $ac_tool_prefix$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_CC+:} false; then :
2626  $as_echo_n "(cached) " >&6
2627else
2628  if test -n "$CC"; then
2629  ac_cv_prog_CC="$CC" # 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_CC="$ac_tool_prefix$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
2648CC=$ac_cv_prog_CC
2649if test -n "$CC"; then
2650  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2651$as_echo "$CC" >&6; }
2652else
2653  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2654$as_echo "no" >&6; }
2655fi
2656
2657
2658    test -n "$CC" && break
2659  done
2660fi
2661if test -z "$CC"; then
2662  ac_ct_CC=$CC
2663  for ac_prog in cl.exe
2664do
2665  # Extract the first word of "$ac_prog", so it can be a program name with args.
2666set dummy $ac_prog; ac_word=$2
2667{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2668$as_echo_n "checking for $ac_word... " >&6; }
2669if ${ac_cv_prog_ac_ct_CC+:} false; then :
2670  $as_echo_n "(cached) " >&6
2671else
2672  if test -n "$ac_ct_CC"; then
2673  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2674else
2675as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2676for as_dir in $PATH
2677do
2678  IFS=$as_save_IFS
2679  test -z "$as_dir" && as_dir=.
2680    for ac_exec_ext in '' $ac_executable_extensions; do
2681  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2682    ac_cv_prog_ac_ct_CC="$ac_prog"
2683    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2684    break 2
2685  fi
2686done
2687  done
2688IFS=$as_save_IFS
2689
2690fi
2691fi
2692ac_ct_CC=$ac_cv_prog_ac_ct_CC
2693if test -n "$ac_ct_CC"; then
2694  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2695$as_echo "$ac_ct_CC" >&6; }
2696else
2697  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2698$as_echo "no" >&6; }
2699fi
2700
2701
2702  test -n "$ac_ct_CC" && break
2703done
2704
2705  if test "x$ac_ct_CC" = x; then
2706    CC=""
2707  else
2708    case $cross_compiling:$ac_tool_warned in
2709yes:)
2710{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2711$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2712ac_tool_warned=yes ;;
2713esac
2714    CC=$ac_ct_CC
2715  fi
2716fi
2717
2718fi
2719
2720
2721test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2722$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2723as_fn_error $? "no acceptable C compiler found in \$PATH
2724See \`config.log' for more details" "$LINENO" 5; }
2725
2726# Provide some information about the compiler.
2727$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2728set X $ac_compile
2729ac_compiler=$2
2730for ac_option in --version -v -V -qversion; do
2731  { { ac_try="$ac_compiler $ac_option >&5"
2732case "(($ac_try" in
2733  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2734  *) ac_try_echo=$ac_try;;
2735esac
2736eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2737$as_echo "$ac_try_echo"; } >&5
2738  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2739  ac_status=$?
2740  if test -s conftest.err; then
2741    sed '10a\
2742... rest of stderr output deleted ...
2743         10q' conftest.err >conftest.er1
2744    cat conftest.er1 >&5
2745  fi
2746  rm -f conftest.er1 conftest.err
2747  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2748  test $ac_status = 0; }
2749done
2750
2751cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2752/* end confdefs.h.  */
2753
2754int
2755main ()
2756{
2757
2758  ;
2759  return 0;
2760}
2761_ACEOF
2762ac_clean_files_save=$ac_clean_files
2763ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2764# Try to create an executable without -o first, disregard a.out.
2765# It will help us diagnose broken compilers, and finding out an intuition
2766# of exeext.
2767{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2768$as_echo_n "checking whether the C compiler works... " >&6; }
2769ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2770
2771# The possible output files:
2772ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2773
2774ac_rmfiles=
2775for ac_file in $ac_files
2776do
2777  case $ac_file in
2778    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2779    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2780  esac
2781done
2782rm -f $ac_rmfiles
2783
2784if { { ac_try="$ac_link_default"
2785case "(($ac_try" in
2786  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2787  *) ac_try_echo=$ac_try;;
2788esac
2789eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2790$as_echo "$ac_try_echo"; } >&5
2791  (eval "$ac_link_default") 2>&5
2792  ac_status=$?
2793  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2794  test $ac_status = 0; }; then :
2795  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2796# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2797# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2798# so that the user can short-circuit this test for compilers unknown to
2799# Autoconf.
2800for ac_file in $ac_files ''
2801do
2802  test -f "$ac_file" || continue
2803  case $ac_file in
2804    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2805	;;
2806    [ab].out )
2807	# We found the default executable, but exeext='' is most
2808	# certainly right.
2809	break;;
2810    *.* )
2811	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2812	then :; else
2813	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2814	fi
2815	# We set ac_cv_exeext here because the later test for it is not
2816	# safe: cross compilers may not add the suffix if given an `-o'
2817	# argument, so we may need to know it at that point already.
2818	# Even if this section looks crufty: it has the advantage of
2819	# actually working.
2820	break;;
2821    * )
2822	break;;
2823  esac
2824done
2825test "$ac_cv_exeext" = no && ac_cv_exeext=
2826
2827else
2828  ac_file=''
2829fi
2830if test -z "$ac_file"; then :
2831  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2832$as_echo "no" >&6; }
2833$as_echo "$as_me: failed program was:" >&5
2834sed 's/^/| /' conftest.$ac_ext >&5
2835
2836{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2837$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2838as_fn_error 77 "C compiler cannot create executables
2839See \`config.log' for more details" "$LINENO" 5; }
2840else
2841  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2842$as_echo "yes" >&6; }
2843fi
2844{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2845$as_echo_n "checking for C compiler default output file name... " >&6; }
2846{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2847$as_echo "$ac_file" >&6; }
2848ac_exeext=$ac_cv_exeext
2849
2850rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2851ac_clean_files=$ac_clean_files_save
2852{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2853$as_echo_n "checking for suffix of executables... " >&6; }
2854if { { ac_try="$ac_link"
2855case "(($ac_try" in
2856  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2857  *) ac_try_echo=$ac_try;;
2858esac
2859eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2860$as_echo "$ac_try_echo"; } >&5
2861  (eval "$ac_link") 2>&5
2862  ac_status=$?
2863  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2864  test $ac_status = 0; }; then :
2865  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2866# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2867# work properly (i.e., refer to `conftest.exe'), while it won't with
2868# `rm'.
2869for ac_file in conftest.exe conftest conftest.*; do
2870  test -f "$ac_file" || continue
2871  case $ac_file in
2872    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2873    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2874	  break;;
2875    * ) break;;
2876  esac
2877done
2878else
2879  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2880$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2881as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2882See \`config.log' for more details" "$LINENO" 5; }
2883fi
2884rm -f conftest conftest$ac_cv_exeext
2885{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2886$as_echo "$ac_cv_exeext" >&6; }
2887
2888rm -f conftest.$ac_ext
2889EXEEXT=$ac_cv_exeext
2890ac_exeext=$EXEEXT
2891cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2892/* end confdefs.h.  */
2893#include <stdio.h>
2894int
2895main ()
2896{
2897FILE *f = fopen ("conftest.out", "w");
2898 return ferror (f) || fclose (f) != 0;
2899
2900  ;
2901  return 0;
2902}
2903_ACEOF
2904ac_clean_files="$ac_clean_files conftest.out"
2905# Check that the compiler produces executables we can run.  If not, either
2906# the compiler is broken, or we cross compile.
2907{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2908$as_echo_n "checking whether we are cross compiling... " >&6; }
2909if test "$cross_compiling" != yes; then
2910  { { ac_try="$ac_link"
2911case "(($ac_try" in
2912  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2913  *) ac_try_echo=$ac_try;;
2914esac
2915eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2916$as_echo "$ac_try_echo"; } >&5
2917  (eval "$ac_link") 2>&5
2918  ac_status=$?
2919  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2920  test $ac_status = 0; }
2921  if { ac_try='./conftest$ac_cv_exeext'
2922  { { case "(($ac_try" in
2923  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2924  *) ac_try_echo=$ac_try;;
2925esac
2926eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2927$as_echo "$ac_try_echo"; } >&5
2928  (eval "$ac_try") 2>&5
2929  ac_status=$?
2930  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2931  test $ac_status = 0; }; }; then
2932    cross_compiling=no
2933  else
2934    if test "$cross_compiling" = maybe; then
2935	cross_compiling=yes
2936    else
2937	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2938$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2939as_fn_error $? "cannot run C compiled programs.
2940If you meant to cross compile, use \`--host'.
2941See \`config.log' for more details" "$LINENO" 5; }
2942    fi
2943  fi
2944fi
2945{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2946$as_echo "$cross_compiling" >&6; }
2947
2948rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2949ac_clean_files=$ac_clean_files_save
2950{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2951$as_echo_n "checking for suffix of object files... " >&6; }
2952if ${ac_cv_objext+:} false; then :
2953  $as_echo_n "(cached) " >&6
2954else
2955  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2956/* end confdefs.h.  */
2957
2958int
2959main ()
2960{
2961
2962  ;
2963  return 0;
2964}
2965_ACEOF
2966rm -f conftest.o conftest.obj
2967if { { ac_try="$ac_compile"
2968case "(($ac_try" in
2969  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2970  *) ac_try_echo=$ac_try;;
2971esac
2972eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2973$as_echo "$ac_try_echo"; } >&5
2974  (eval "$ac_compile") 2>&5
2975  ac_status=$?
2976  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2977  test $ac_status = 0; }; then :
2978  for ac_file in conftest.o conftest.obj conftest.*; do
2979  test -f "$ac_file" || continue;
2980  case $ac_file in
2981    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2982    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2983       break;;
2984  esac
2985done
2986else
2987  $as_echo "$as_me: failed program was:" >&5
2988sed 's/^/| /' conftest.$ac_ext >&5
2989
2990{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2991$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2992as_fn_error $? "cannot compute suffix of object files: cannot compile
2993See \`config.log' for more details" "$LINENO" 5; }
2994fi
2995rm -f conftest.$ac_cv_objext conftest.$ac_ext
2996fi
2997{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2998$as_echo "$ac_cv_objext" >&6; }
2999OBJEXT=$ac_cv_objext
3000ac_objext=$OBJEXT
3001{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3002$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3003if ${ac_cv_c_compiler_gnu+:} false; then :
3004  $as_echo_n "(cached) " >&6
3005else
3006  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3007/* end confdefs.h.  */
3008
3009int
3010main ()
3011{
3012#ifndef __GNUC__
3013       choke me
3014#endif
3015
3016  ;
3017  return 0;
3018}
3019_ACEOF
3020if ac_fn_c_try_compile "$LINENO"; then :
3021  ac_compiler_gnu=yes
3022else
3023  ac_compiler_gnu=no
3024fi
3025rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3026ac_cv_c_compiler_gnu=$ac_compiler_gnu
3027
3028fi
3029{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3030$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3031if test $ac_compiler_gnu = yes; then
3032  GCC=yes
3033else
3034  GCC=
3035fi
3036ac_test_CFLAGS=${CFLAGS+set}
3037ac_save_CFLAGS=$CFLAGS
3038{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3039$as_echo_n "checking whether $CC accepts -g... " >&6; }
3040if ${ac_cv_prog_cc_g+:} false; then :
3041  $as_echo_n "(cached) " >&6
3042else
3043  ac_save_c_werror_flag=$ac_c_werror_flag
3044   ac_c_werror_flag=yes
3045   ac_cv_prog_cc_g=no
3046   CFLAGS="-g"
3047   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3048/* end confdefs.h.  */
3049
3050int
3051main ()
3052{
3053
3054  ;
3055  return 0;
3056}
3057_ACEOF
3058if ac_fn_c_try_compile "$LINENO"; then :
3059  ac_cv_prog_cc_g=yes
3060else
3061  CFLAGS=""
3062      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3063/* end confdefs.h.  */
3064
3065int
3066main ()
3067{
3068
3069  ;
3070  return 0;
3071}
3072_ACEOF
3073if ac_fn_c_try_compile "$LINENO"; then :
3074
3075else
3076  ac_c_werror_flag=$ac_save_c_werror_flag
3077	 CFLAGS="-g"
3078	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3079/* end confdefs.h.  */
3080
3081int
3082main ()
3083{
3084
3085  ;
3086  return 0;
3087}
3088_ACEOF
3089if ac_fn_c_try_compile "$LINENO"; then :
3090  ac_cv_prog_cc_g=yes
3091fi
3092rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3093fi
3094rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3095fi
3096rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3097   ac_c_werror_flag=$ac_save_c_werror_flag
3098fi
3099{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3100$as_echo "$ac_cv_prog_cc_g" >&6; }
3101if test "$ac_test_CFLAGS" = set; then
3102  CFLAGS=$ac_save_CFLAGS
3103elif test $ac_cv_prog_cc_g = yes; then
3104  if test "$GCC" = yes; then
3105    CFLAGS="-g -O2"
3106  else
3107    CFLAGS="-g"
3108  fi
3109else
3110  if test "$GCC" = yes; then
3111    CFLAGS="-O2"
3112  else
3113    CFLAGS=
3114  fi
3115fi
3116{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3117$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3118if ${ac_cv_prog_cc_c89+:} false; then :
3119  $as_echo_n "(cached) " >&6
3120else
3121  ac_cv_prog_cc_c89=no
3122ac_save_CC=$CC
3123cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3124/* end confdefs.h.  */
3125#include <stdarg.h>
3126#include <stdio.h>
3127struct stat;
3128/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3129struct buf { int x; };
3130FILE * (*rcsopen) (struct buf *, struct stat *, int);
3131static char *e (p, i)
3132     char **p;
3133     int i;
3134{
3135  return p[i];
3136}
3137static char *f (char * (*g) (char **, int), char **p, ...)
3138{
3139  char *s;
3140  va_list v;
3141  va_start (v,p);
3142  s = g (p, va_arg (v,int));
3143  va_end (v);
3144  return s;
3145}
3146
3147/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3148   function prototypes and stuff, but not '\xHH' hex character constants.
3149   These don't provoke an error unfortunately, instead are silently treated
3150   as 'x'.  The following induces an error, until -std is added to get
3151   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3152   array size at least.  It's necessary to write '\x00'==0 to get something
3153   that's true only with -std.  */
3154int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3155
3156/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3157   inside strings and character constants.  */
3158#define FOO(x) 'x'
3159int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3160
3161int test (int i, double x);
3162struct s1 {int (*f) (int a);};
3163struct s2 {int (*f) (double a);};
3164int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3165int argc;
3166char **argv;
3167int
3168main ()
3169{
3170return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3171  ;
3172  return 0;
3173}
3174_ACEOF
3175for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3176	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3177do
3178  CC="$ac_save_CC $ac_arg"
3179  if ac_fn_c_try_compile "$LINENO"; then :
3180  ac_cv_prog_cc_c89=$ac_arg
3181fi
3182rm -f core conftest.err conftest.$ac_objext
3183  test "x$ac_cv_prog_cc_c89" != "xno" && break
3184done
3185rm -f conftest.$ac_ext
3186CC=$ac_save_CC
3187
3188fi
3189# AC_CACHE_VAL
3190case "x$ac_cv_prog_cc_c89" in
3191  x)
3192    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3193$as_echo "none needed" >&6; } ;;
3194  xno)
3195    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3196$as_echo "unsupported" >&6; } ;;
3197  *)
3198    CC="$CC $ac_cv_prog_cc_c89"
3199    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3200$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3201esac
3202if test "x$ac_cv_prog_cc_c89" != xno; then :
3203
3204fi
3205
3206ac_ext=c
3207ac_cpp='$CPP $CPPFLAGS'
3208ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3209ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3210ac_compiler_gnu=$ac_cv_c_compiler_gnu
3211
3212ac_ext=c
3213ac_cpp='$CPP $CPPFLAGS'
3214ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3215ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3216ac_compiler_gnu=$ac_cv_c_compiler_gnu
3217{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3218$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3219if ${am_cv_prog_cc_c_o+:} false; then :
3220  $as_echo_n "(cached) " >&6
3221else
3222  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3223/* end confdefs.h.  */
3224
3225int
3226main ()
3227{
3228
3229  ;
3230  return 0;
3231}
3232_ACEOF
3233  # Make sure it works both with $CC and with simple cc.
3234  # Following AC_PROG_CC_C_O, we do the test twice because some
3235  # compilers refuse to overwrite an existing .o file with -o,
3236  # though they will create one.
3237  am_cv_prog_cc_c_o=yes
3238  for am_i in 1 2; do
3239    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3240   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3241   ac_status=$?
3242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3243   (exit $ac_status); } \
3244         && test -f conftest2.$ac_objext; then
3245      : OK
3246    else
3247      am_cv_prog_cc_c_o=no
3248      break
3249    fi
3250  done
3251  rm -f core conftest*
3252  unset am_i
3253fi
3254{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3255$as_echo "$am_cv_prog_cc_c_o" >&6; }
3256if test "$am_cv_prog_cc_c_o" != yes; then
3257   # Losing compiler, so override with the script.
3258   # FIXME: It is wrong to rewrite CC.
3259   # But if we don't then we get into trouble of one sort or another.
3260   # A longer-term fix would be to have automake use am__CC in this case,
3261   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3262   CC="$am_aux_dir/compile $CC"
3263fi
3264ac_ext=c
3265ac_cpp='$CPP $CPPFLAGS'
3266ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3267ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3268ac_compiler_gnu=$ac_cv_c_compiler_gnu
3269
3270
3271
3272ac_ext=c
3273ac_cpp='$CPP $CPPFLAGS'
3274ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3275ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3276ac_compiler_gnu=$ac_cv_c_compiler_gnu
3277{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3278$as_echo_n "checking how to run the C preprocessor... " >&6; }
3279# On Suns, sometimes $CPP names a directory.
3280if test -n "$CPP" && test -d "$CPP"; then
3281  CPP=
3282fi
3283if test -z "$CPP"; then
3284  if ${ac_cv_prog_CPP+:} false; then :
3285  $as_echo_n "(cached) " >&6
3286else
3287      # Double quotes because CPP needs to be expanded
3288    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3289    do
3290      ac_preproc_ok=false
3291for ac_c_preproc_warn_flag in '' yes
3292do
3293  # Use a header file that comes with gcc, so configuring glibc
3294  # with a fresh cross-compiler works.
3295  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3296  # <limits.h> exists even on freestanding compilers.
3297  # On the NeXT, cc -E runs the code through the compiler's parser,
3298  # not just through cpp. "Syntax error" is here to catch this case.
3299  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3300/* end confdefs.h.  */
3301#ifdef __STDC__
3302# include <limits.h>
3303#else
3304# include <assert.h>
3305#endif
3306		     Syntax error
3307_ACEOF
3308if ac_fn_c_try_cpp "$LINENO"; then :
3309
3310else
3311  # Broken: fails on valid input.
3312continue
3313fi
3314rm -f conftest.err conftest.i conftest.$ac_ext
3315
3316  # OK, works on sane cases.  Now check whether nonexistent headers
3317  # can be detected and how.
3318  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3319/* end confdefs.h.  */
3320#include <ac_nonexistent.h>
3321_ACEOF
3322if ac_fn_c_try_cpp "$LINENO"; then :
3323  # Broken: success on invalid input.
3324continue
3325else
3326  # Passes both tests.
3327ac_preproc_ok=:
3328break
3329fi
3330rm -f conftest.err conftest.i conftest.$ac_ext
3331
3332done
3333# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3334rm -f conftest.i conftest.err conftest.$ac_ext
3335if $ac_preproc_ok; then :
3336  break
3337fi
3338
3339    done
3340    ac_cv_prog_CPP=$CPP
3341
3342fi
3343  CPP=$ac_cv_prog_CPP
3344else
3345  ac_cv_prog_CPP=$CPP
3346fi
3347{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3348$as_echo "$CPP" >&6; }
3349ac_preproc_ok=false
3350for ac_c_preproc_warn_flag in '' yes
3351do
3352  # Use a header file that comes with gcc, so configuring glibc
3353  # with a fresh cross-compiler works.
3354  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3355  # <limits.h> exists even on freestanding compilers.
3356  # On the NeXT, cc -E runs the code through the compiler's parser,
3357  # not just through cpp. "Syntax error" is here to catch this case.
3358  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3359/* end confdefs.h.  */
3360#ifdef __STDC__
3361# include <limits.h>
3362#else
3363# include <assert.h>
3364#endif
3365		     Syntax error
3366_ACEOF
3367if ac_fn_c_try_cpp "$LINENO"; then :
3368
3369else
3370  # Broken: fails on valid input.
3371continue
3372fi
3373rm -f conftest.err conftest.i conftest.$ac_ext
3374
3375  # OK, works on sane cases.  Now check whether nonexistent headers
3376  # can be detected and how.
3377  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3378/* end confdefs.h.  */
3379#include <ac_nonexistent.h>
3380_ACEOF
3381if ac_fn_c_try_cpp "$LINENO"; then :
3382  # Broken: success on invalid input.
3383continue
3384else
3385  # Passes both tests.
3386ac_preproc_ok=:
3387break
3388fi
3389rm -f conftest.err conftest.i conftest.$ac_ext
3390
3391done
3392# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3393rm -f conftest.i conftest.err conftest.$ac_ext
3394if $ac_preproc_ok; then :
3395
3396else
3397  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3398$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3399as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3400See \`config.log' for more details" "$LINENO" 5; }
3401fi
3402
3403ac_ext=c
3404ac_cpp='$CPP $CPPFLAGS'
3405ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3406ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3407ac_compiler_gnu=$ac_cv_c_compiler_gnu
3408
3409
3410{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3411$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3412if ${ac_cv_path_GREP+:} false; then :
3413  $as_echo_n "(cached) " >&6
3414else
3415  if test -z "$GREP"; then
3416  ac_path_GREP_found=false
3417  # Loop through the user's path and test for each of PROGNAME-LIST
3418  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3419for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3420do
3421  IFS=$as_save_IFS
3422  test -z "$as_dir" && as_dir=.
3423    for ac_prog in grep ggrep; do
3424    for ac_exec_ext in '' $ac_executable_extensions; do
3425      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3426      as_fn_executable_p "$ac_path_GREP" || continue
3427# Check for GNU ac_path_GREP and select it if it is found.
3428  # Check for GNU $ac_path_GREP
3429case `"$ac_path_GREP" --version 2>&1` in
3430*GNU*)
3431  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3432*)
3433  ac_count=0
3434  $as_echo_n 0123456789 >"conftest.in"
3435  while :
3436  do
3437    cat "conftest.in" "conftest.in" >"conftest.tmp"
3438    mv "conftest.tmp" "conftest.in"
3439    cp "conftest.in" "conftest.nl"
3440    $as_echo 'GREP' >> "conftest.nl"
3441    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3442    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3443    as_fn_arith $ac_count + 1 && ac_count=$as_val
3444    if test $ac_count -gt ${ac_path_GREP_max-0}; then
3445      # Best one so far, save it but keep looking for a better one
3446      ac_cv_path_GREP="$ac_path_GREP"
3447      ac_path_GREP_max=$ac_count
3448    fi
3449    # 10*(2^10) chars as input seems more than enough
3450    test $ac_count -gt 10 && break
3451  done
3452  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3453esac
3454
3455      $ac_path_GREP_found && break 3
3456    done
3457  done
3458  done
3459IFS=$as_save_IFS
3460  if test -z "$ac_cv_path_GREP"; then
3461    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3462  fi
3463else
3464  ac_cv_path_GREP=$GREP
3465fi
3466
3467fi
3468{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3469$as_echo "$ac_cv_path_GREP" >&6; }
3470 GREP="$ac_cv_path_GREP"
3471
3472
3473{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3474$as_echo_n "checking for egrep... " >&6; }
3475if ${ac_cv_path_EGREP+:} false; then :
3476  $as_echo_n "(cached) " >&6
3477else
3478  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3479   then ac_cv_path_EGREP="$GREP -E"
3480   else
3481     if test -z "$EGREP"; then
3482  ac_path_EGREP_found=false
3483  # Loop through the user's path and test for each of PROGNAME-LIST
3484  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3485for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3486do
3487  IFS=$as_save_IFS
3488  test -z "$as_dir" && as_dir=.
3489    for ac_prog in egrep; do
3490    for ac_exec_ext in '' $ac_executable_extensions; do
3491      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3492      as_fn_executable_p "$ac_path_EGREP" || continue
3493# Check for GNU ac_path_EGREP and select it if it is found.
3494  # Check for GNU $ac_path_EGREP
3495case `"$ac_path_EGREP" --version 2>&1` in
3496*GNU*)
3497  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3498*)
3499  ac_count=0
3500  $as_echo_n 0123456789 >"conftest.in"
3501  while :
3502  do
3503    cat "conftest.in" "conftest.in" >"conftest.tmp"
3504    mv "conftest.tmp" "conftest.in"
3505    cp "conftest.in" "conftest.nl"
3506    $as_echo 'EGREP' >> "conftest.nl"
3507    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3508    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3509    as_fn_arith $ac_count + 1 && ac_count=$as_val
3510    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3511      # Best one so far, save it but keep looking for a better one
3512      ac_cv_path_EGREP="$ac_path_EGREP"
3513      ac_path_EGREP_max=$ac_count
3514    fi
3515    # 10*(2^10) chars as input seems more than enough
3516    test $ac_count -gt 10 && break
3517  done
3518  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3519esac
3520
3521      $ac_path_EGREP_found && break 3
3522    done
3523  done
3524  done
3525IFS=$as_save_IFS
3526  if test -z "$ac_cv_path_EGREP"; then
3527    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3528  fi
3529else
3530  ac_cv_path_EGREP=$EGREP
3531fi
3532
3533   fi
3534fi
3535{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3536$as_echo "$ac_cv_path_EGREP" >&6; }
3537 EGREP="$ac_cv_path_EGREP"
3538
3539
3540{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3541$as_echo_n "checking for ANSI C header files... " >&6; }
3542if ${ac_cv_header_stdc+:} false; then :
3543  $as_echo_n "(cached) " >&6
3544else
3545  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3546/* end confdefs.h.  */
3547#include <stdlib.h>
3548#include <stdarg.h>
3549#include <string.h>
3550#include <float.h>
3551
3552int
3553main ()
3554{
3555
3556  ;
3557  return 0;
3558}
3559_ACEOF
3560if ac_fn_c_try_compile "$LINENO"; then :
3561  ac_cv_header_stdc=yes
3562else
3563  ac_cv_header_stdc=no
3564fi
3565rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3566
3567if test $ac_cv_header_stdc = yes; then
3568  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3569  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3570/* end confdefs.h.  */
3571#include <string.h>
3572
3573_ACEOF
3574if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3575  $EGREP "memchr" >/dev/null 2>&1; then :
3576
3577else
3578  ac_cv_header_stdc=no
3579fi
3580rm -f conftest*
3581
3582fi
3583
3584if test $ac_cv_header_stdc = yes; then
3585  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3586  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3587/* end confdefs.h.  */
3588#include <stdlib.h>
3589
3590_ACEOF
3591if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3592  $EGREP "free" >/dev/null 2>&1; then :
3593
3594else
3595  ac_cv_header_stdc=no
3596fi
3597rm -f conftest*
3598
3599fi
3600
3601if test $ac_cv_header_stdc = yes; then
3602  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3603  if test "$cross_compiling" = yes; then :
3604  :
3605else
3606  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3607/* end confdefs.h.  */
3608#include <ctype.h>
3609#include <stdlib.h>
3610#if ((' ' & 0x0FF) == 0x020)
3611# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3612# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3613#else
3614# define ISLOWER(c) \
3615		   (('a' <= (c) && (c) <= 'i') \
3616		     || ('j' <= (c) && (c) <= 'r') \
3617		     || ('s' <= (c) && (c) <= 'z'))
3618# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3619#endif
3620
3621#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3622int
3623main ()
3624{
3625  int i;
3626  for (i = 0; i < 256; i++)
3627    if (XOR (islower (i), ISLOWER (i))
3628	|| toupper (i) != TOUPPER (i))
3629      return 2;
3630  return 0;
3631}
3632_ACEOF
3633if ac_fn_c_try_run "$LINENO"; then :
3634
3635else
3636  ac_cv_header_stdc=no
3637fi
3638rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3639  conftest.$ac_objext conftest.beam conftest.$ac_ext
3640fi
3641
3642fi
3643fi
3644{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3645$as_echo "$ac_cv_header_stdc" >&6; }
3646if test $ac_cv_header_stdc = yes; then
3647
3648$as_echo "#define STDC_HEADERS 1" >>confdefs.h
3649
3650fi
3651
3652# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3653for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3654		  inttypes.h stdint.h unistd.h
3655do :
3656  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3657ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3658"
3659if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3660  cat >>confdefs.h <<_ACEOF
3661#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3662_ACEOF
3663
3664fi
3665
3666done
3667
3668
3669
3670  ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3671if test "x$ac_cv_header_minix_config_h" = xyes; then :
3672  MINIX=yes
3673else
3674  MINIX=
3675fi
3676
3677
3678  if test "$MINIX" = yes; then
3679
3680$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3681
3682
3683$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3684
3685
3686$as_echo "#define _MINIX 1" >>confdefs.h
3687
3688  fi
3689
3690
3691  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3692$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3693if ${ac_cv_safe_to_define___extensions__+:} false; then :
3694  $as_echo_n "(cached) " >&6
3695else
3696  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3697/* end confdefs.h.  */
3698
3699#         define __EXTENSIONS__ 1
3700          $ac_includes_default
3701int
3702main ()
3703{
3704
3705  ;
3706  return 0;
3707}
3708_ACEOF
3709if ac_fn_c_try_compile "$LINENO"; then :
3710  ac_cv_safe_to_define___extensions__=yes
3711else
3712  ac_cv_safe_to_define___extensions__=no
3713fi
3714rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3715fi
3716{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3717$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3718  test $ac_cv_safe_to_define___extensions__ = yes &&
3719    $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3720
3721  $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3722
3723  $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3724
3725  $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3726
3727  $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3728
3729
3730
3731LIBXSLT_MAJOR_VERSION=1
3732LIBXSLT_MINOR_VERSION=1
3733LIBXSLT_MICRO_VERSION=34
3734LIBEXSLT_MAJOR_VERSION=0
3735LIBEXSLT_MINOR_VERSION=8
3736LIBEXSLT_MICRO_VERSION=20
3737LIBXML_REQUIRED_VERSION=2.6.27
3738
3739
3740LIBXSLT_VERSION=$LIBXSLT_MAJOR_VERSION.$LIBXSLT_MINOR_VERSION.$LIBXSLT_MICRO_VERSION
3741LIBXSLT_VERSION_INFO=`expr $LIBXSLT_MAJOR_VERSION + $LIBXSLT_MINOR_VERSION`:$LIBXSLT_MICRO_VERSION:$LIBXSLT_MINOR_VERSION
3742
3743LIBXSLT_VERSION_NUMBER=`expr $LIBXSLT_MAJOR_VERSION \* 10000 + $LIBXSLT_MINOR_VERSION \* 100 + $LIBXSLT_MICRO_VERSION`
3744LIBXSLT_MAJOR_MINOR_VERSION=$LIBXSLT_MAJOR_VERSION.$LIBXSLT_MINOR_VERSION
3745
3746if test -f CVS/Entries; then
3747  extra=`grep ChangeLog CVS/Entries | grep -v LIBXSLT | sed -e s\%/ChangeLog/1\.%% -e s\%/.*$%%`
3748  echo extra=$extra
3749  if test "$extra" != ""
3750  then
3751      LIBXSLT_VERSION_EXTRA="-CVS$extra"
3752  fi
3753else if test -d .svn ; then
3754  extra=`svn info | grep Revision | sed 's+Revision: ++'`
3755  echo extra=$extra
3756  if test "$extra" != ""
3757  then
3758      LIBXSLT_VERSION_EXTRA="-SVN$extra"
3759  fi
3760else if test -d .git ; then
3761  extra=`git describe | sed 's+LIBXSLT[0-9.]*-++'`
3762  echo extra=$extra
3763  if test "$extra" != ""
3764  then
3765      LIBXSLT_VERSION_EXTRA="-GIT$extra"
3766  fi
3767fi
3768fi
3769fi
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781LIBEXSLT_VERSION=$LIBEXSLT_MAJOR_VERSION.$LIBEXSLT_MINOR_VERSION.$LIBEXSLT_MICRO_VERSION
3782LIBEXSLT_VERSION_INFO=`expr $LIBEXSLT_MAJOR_VERSION + $LIBEXSLT_MINOR_VERSION`:$LIBEXSLT_MICRO_VERSION:$LIBEXSLT_MINOR_VERSION
3783
3784LIBEXSLT_VERSION_NUMBER=`expr $LIBEXSLT_MAJOR_VERSION \* 10000 + $LIBEXSLT_MINOR_VERSION \* 100 + $LIBEXSLT_MICRO_VERSION`
3785
3786if test -f CVS/Entries; then
3787  LIBEXSLT_VERSION_EXTRA=-CVS`grep ChangeLog CVS/Entries | sed -e s\%/ChangeLog/1\.%% -e s\%/.*$%%`
3788fi
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798am__api_version='1.16'
3799
3800# Find a good install program.  We prefer a C program (faster),
3801# so one script is as good as another.  But avoid the broken or
3802# incompatible versions:
3803# SysV /etc/install, /usr/sbin/install
3804# SunOS /usr/etc/install
3805# IRIX /sbin/install
3806# AIX /bin/install
3807# AmigaOS /C/install, which installs bootblocks on floppy discs
3808# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3809# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3810# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3811# OS/2's system install, which has a completely different semantic
3812# ./install, which can be erroneously created by make from ./install.sh.
3813# Reject install programs that cannot install multiple files.
3814{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3815$as_echo_n "checking for a BSD-compatible install... " >&6; }
3816if test -z "$INSTALL"; then
3817if ${ac_cv_path_install+:} false; then :
3818  $as_echo_n "(cached) " >&6
3819else
3820  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3821for as_dir in $PATH
3822do
3823  IFS=$as_save_IFS
3824  test -z "$as_dir" && as_dir=.
3825    # Account for people who put trailing slashes in PATH elements.
3826case $as_dir/ in #((
3827  ./ | .// | /[cC]/* | \
3828  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3829  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3830  /usr/ucb/* ) ;;
3831  *)
3832    # OSF1 and SCO ODT 3.0 have their own names for install.
3833    # Don't use installbsd from OSF since it installs stuff as root
3834    # by default.
3835    for ac_prog in ginstall scoinst install; do
3836      for ac_exec_ext in '' $ac_executable_extensions; do
3837	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3838	  if test $ac_prog = install &&
3839	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3840	    # AIX install.  It has an incompatible calling convention.
3841	    :
3842	  elif test $ac_prog = install &&
3843	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3844	    # program-specific install script used by HP pwplus--don't use.
3845	    :
3846	  else
3847	    rm -rf conftest.one conftest.two conftest.dir
3848	    echo one > conftest.one
3849	    echo two > conftest.two
3850	    mkdir conftest.dir
3851	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3852	      test -s conftest.one && test -s conftest.two &&
3853	      test -s conftest.dir/conftest.one &&
3854	      test -s conftest.dir/conftest.two
3855	    then
3856	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3857	      break 3
3858	    fi
3859	  fi
3860	fi
3861      done
3862    done
3863    ;;
3864esac
3865
3866  done
3867IFS=$as_save_IFS
3868
3869rm -rf conftest.one conftest.two conftest.dir
3870
3871fi
3872  if test "${ac_cv_path_install+set}" = set; then
3873    INSTALL=$ac_cv_path_install
3874  else
3875    # As a last resort, use the slow shell script.  Don't cache a
3876    # value for INSTALL within a source directory, because that will
3877    # break other packages using the cache if that directory is
3878    # removed, or if the value is a relative name.
3879    INSTALL=$ac_install_sh
3880  fi
3881fi
3882{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3883$as_echo "$INSTALL" >&6; }
3884
3885# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3886# It thinks the first close brace ends the variable substitution.
3887test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3888
3889test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3890
3891test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3892
3893{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3894$as_echo_n "checking whether build environment is sane... " >&6; }
3895# Reject unsafe characters in $srcdir or the absolute working directory
3896# name.  Accept space and tab only in the latter.
3897am_lf='
3898'
3899case `pwd` in
3900  *[\\\"\#\$\&\'\`$am_lf]*)
3901    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3902esac
3903case $srcdir in
3904  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
3905    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3906esac
3907
3908# Do 'set' in a subshell so we don't clobber the current shell's
3909# arguments.  Must try -L first in case configure is actually a
3910# symlink; some systems play weird games with the mod time of symlinks
3911# (eg FreeBSD returns the mod time of the symlink's containing
3912# directory).
3913if (
3914   am_has_slept=no
3915   for am_try in 1 2; do
3916     echo "timestamp, slept: $am_has_slept" > conftest.file
3917     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3918     if test "$*" = "X"; then
3919	# -L didn't work.
3920	set X `ls -t "$srcdir/configure" conftest.file`
3921     fi
3922     if test "$*" != "X $srcdir/configure conftest.file" \
3923	&& test "$*" != "X conftest.file $srcdir/configure"; then
3924
3925	# If neither matched, then we have a broken ls.  This can happen
3926	# if, for instance, CONFIG_SHELL is bash and it inherits a
3927	# broken ls alias from the environment.  This has actually
3928	# happened.  Such a system could not be considered "sane".
3929	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
3930  alias in your environment" "$LINENO" 5
3931     fi
3932     if test "$2" = conftest.file || test $am_try -eq 2; then
3933       break
3934     fi
3935     # Just in case.
3936     sleep 1
3937     am_has_slept=yes
3938   done
3939   test "$2" = conftest.file
3940   )
3941then
3942   # Ok.
3943   :
3944else
3945   as_fn_error $? "newly created file is older than distributed files!
3946Check your system clock" "$LINENO" 5
3947fi
3948{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3949$as_echo "yes" >&6; }
3950# If we didn't sleep, we still need to ensure time stamps of config.status and
3951# generated files are strictly newer.
3952am_sleep_pid=
3953if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3954  ( sleep 1 ) &
3955  am_sleep_pid=$!
3956fi
3957
3958rm -f conftest.file
3959
3960test "$program_prefix" != NONE &&
3961  program_transform_name="s&^&$program_prefix&;$program_transform_name"
3962# Use a double $ so make ignores it.
3963test "$program_suffix" != NONE &&
3964  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3965# Double any \ or $.
3966# By default was `s,x,x', remove it if useless.
3967ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3968program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3969
3970if test x"${MISSING+set}" != xset; then
3971  case $am_aux_dir in
3972  *\ * | *\	*)
3973    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3974  *)
3975    MISSING="\${SHELL} $am_aux_dir/missing" ;;
3976  esac
3977fi
3978# Use eval to expand $SHELL
3979if eval "$MISSING --is-lightweight"; then
3980  am_missing_run="$MISSING "
3981else
3982  am_missing_run=
3983  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3984$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3985fi
3986
3987if test x"${install_sh+set}" != xset; then
3988  case $am_aux_dir in
3989  *\ * | *\	*)
3990    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3991  *)
3992    install_sh="\${SHELL} $am_aux_dir/install-sh"
3993  esac
3994fi
3995
3996# Installed binaries are usually stripped using 'strip' when the user
3997# run "make install-strip".  However 'strip' might not be the right
3998# tool to use in cross-compilation environments, therefore Automake
3999# will honor the 'STRIP' environment variable to overrule this program.
4000if test "$cross_compiling" != no; then
4001  if test -n "$ac_tool_prefix"; then
4002  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4003set dummy ${ac_tool_prefix}strip; ac_word=$2
4004{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4005$as_echo_n "checking for $ac_word... " >&6; }
4006if ${ac_cv_prog_STRIP+:} false; then :
4007  $as_echo_n "(cached) " >&6
4008else
4009  if test -n "$STRIP"; then
4010  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4011else
4012as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4013for as_dir in $PATH
4014do
4015  IFS=$as_save_IFS
4016  test -z "$as_dir" && as_dir=.
4017    for ac_exec_ext in '' $ac_executable_extensions; do
4018  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4019    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4020    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4021    break 2
4022  fi
4023done
4024  done
4025IFS=$as_save_IFS
4026
4027fi
4028fi
4029STRIP=$ac_cv_prog_STRIP
4030if test -n "$STRIP"; then
4031  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4032$as_echo "$STRIP" >&6; }
4033else
4034  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4035$as_echo "no" >&6; }
4036fi
4037
4038
4039fi
4040if test -z "$ac_cv_prog_STRIP"; then
4041  ac_ct_STRIP=$STRIP
4042  # Extract the first word of "strip", so it can be a program name with args.
4043set dummy strip; ac_word=$2
4044{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4045$as_echo_n "checking for $ac_word... " >&6; }
4046if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
4047  $as_echo_n "(cached) " >&6
4048else
4049  if test -n "$ac_ct_STRIP"; then
4050  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4051else
4052as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4053for as_dir in $PATH
4054do
4055  IFS=$as_save_IFS
4056  test -z "$as_dir" && as_dir=.
4057    for ac_exec_ext in '' $ac_executable_extensions; do
4058  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4059    ac_cv_prog_ac_ct_STRIP="strip"
4060    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4061    break 2
4062  fi
4063done
4064  done
4065IFS=$as_save_IFS
4066
4067fi
4068fi
4069ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4070if test -n "$ac_ct_STRIP"; then
4071  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4072$as_echo "$ac_ct_STRIP" >&6; }
4073else
4074  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4075$as_echo "no" >&6; }
4076fi
4077
4078  if test "x$ac_ct_STRIP" = x; then
4079    STRIP=":"
4080  else
4081    case $cross_compiling:$ac_tool_warned in
4082yes:)
4083{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4084$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4085ac_tool_warned=yes ;;
4086esac
4087    STRIP=$ac_ct_STRIP
4088  fi
4089else
4090  STRIP="$ac_cv_prog_STRIP"
4091fi
4092
4093fi
4094INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
4095
4096{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4097$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4098if test -z "$MKDIR_P"; then
4099  if ${ac_cv_path_mkdir+:} false; then :
4100  $as_echo_n "(cached) " >&6
4101else
4102  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4103for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
4104do
4105  IFS=$as_save_IFS
4106  test -z "$as_dir" && as_dir=.
4107    for ac_prog in mkdir gmkdir; do
4108	 for ac_exec_ext in '' $ac_executable_extensions; do
4109	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
4110	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4111	     'mkdir (GNU coreutils) '* | \
4112	     'mkdir (coreutils) '* | \
4113	     'mkdir (fileutils) '4.1*)
4114	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
4115	       break 3;;
4116	   esac
4117	 done
4118       done
4119  done
4120IFS=$as_save_IFS
4121
4122fi
4123
4124  test -d ./--version && rmdir ./--version
4125  if test "${ac_cv_path_mkdir+set}" = set; then
4126    MKDIR_P="$ac_cv_path_mkdir -p"
4127  else
4128    # As a last resort, use the slow shell script.  Don't cache a
4129    # value for MKDIR_P within a source directory, because that will
4130    # break other packages using the cache if that directory is
4131    # removed, or if the value is a relative name.
4132    MKDIR_P="$ac_install_sh -d"
4133  fi
4134fi
4135{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4136$as_echo "$MKDIR_P" >&6; }
4137
4138for ac_prog in gawk mawk nawk awk
4139do
4140  # Extract the first word of "$ac_prog", so it can be a program name with args.
4141set dummy $ac_prog; ac_word=$2
4142{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4143$as_echo_n "checking for $ac_word... " >&6; }
4144if ${ac_cv_prog_AWK+:} false; then :
4145  $as_echo_n "(cached) " >&6
4146else
4147  if test -n "$AWK"; then
4148  ac_cv_prog_AWK="$AWK" # Let the user override the test.
4149else
4150as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4151for as_dir in $PATH
4152do
4153  IFS=$as_save_IFS
4154  test -z "$as_dir" && as_dir=.
4155    for ac_exec_ext in '' $ac_executable_extensions; do
4156  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4157    ac_cv_prog_AWK="$ac_prog"
4158    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4159    break 2
4160  fi
4161done
4162  done
4163IFS=$as_save_IFS
4164
4165fi
4166fi
4167AWK=$ac_cv_prog_AWK
4168if test -n "$AWK"; then
4169  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4170$as_echo "$AWK" >&6; }
4171else
4172  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4173$as_echo "no" >&6; }
4174fi
4175
4176
4177  test -n "$AWK" && break
4178done
4179
4180{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4181$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4182set x ${MAKE-make}
4183ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4184if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4185  $as_echo_n "(cached) " >&6
4186else
4187  cat >conftest.make <<\_ACEOF
4188SHELL = /bin/sh
4189all:
4190	@echo '@@@%%%=$(MAKE)=@@@%%%'
4191_ACEOF
4192# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4193case `${MAKE-make} -f conftest.make 2>/dev/null` in
4194  *@@@%%%=?*=@@@%%%*)
4195    eval ac_cv_prog_make_${ac_make}_set=yes;;
4196  *)
4197    eval ac_cv_prog_make_${ac_make}_set=no;;
4198esac
4199rm -f conftest.make
4200fi
4201if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4202  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4203$as_echo "yes" >&6; }
4204  SET_MAKE=
4205else
4206  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4207$as_echo "no" >&6; }
4208  SET_MAKE="MAKE=${MAKE-make}"
4209fi
4210
4211rm -rf .tst 2>/dev/null
4212mkdir .tst 2>/dev/null
4213if test -d .tst; then
4214  am__leading_dot=.
4215else
4216  am__leading_dot=_
4217fi
4218rmdir .tst 2>/dev/null
4219
4220DEPDIR="${am__leading_dot}deps"
4221
4222ac_config_commands="$ac_config_commands depfiles"
4223
4224{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
4225$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
4226cat > confinc.mk << 'END'
4227am__doit:
4228	@echo this is the am__doit target >confinc.out
4229.PHONY: am__doit
4230END
4231am__include="#"
4232am__quote=
4233# BSD make does it like this.
4234echo '.include "confinc.mk" # ignored' > confmf.BSD
4235# Other make implementations (GNU, Solaris 10, AIX) do it like this.
4236echo 'include confinc.mk # ignored' > confmf.GNU
4237_am_result=no
4238for s in GNU BSD; do
4239  { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
4240   (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
4241   ac_status=$?
4242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4243   (exit $ac_status); }
4244  case $?:`cat confinc.out 2>/dev/null` in #(
4245  '0:this is the am__doit target') :
4246    case $s in #(
4247  BSD) :
4248    am__include='.include' am__quote='"' ;; #(
4249  *) :
4250    am__include='include' am__quote='' ;;
4251esac ;; #(
4252  *) :
4253     ;;
4254esac
4255  if test "$am__include" != "#"; then
4256    _am_result="yes ($s style)"
4257    break
4258  fi
4259done
4260rm -f confinc.* confmf.*
4261{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
4262$as_echo "${_am_result}" >&6; }
4263
4264# Check whether --enable-dependency-tracking was given.
4265if test "${enable_dependency_tracking+set}" = set; then :
4266  enableval=$enable_dependency_tracking;
4267fi
4268
4269if test "x$enable_dependency_tracking" != xno; then
4270  am_depcomp="$ac_aux_dir/depcomp"
4271  AMDEPBACKSLASH='\'
4272  am__nodep='_no'
4273fi
4274 if test "x$enable_dependency_tracking" != xno; then
4275  AMDEP_TRUE=
4276  AMDEP_FALSE='#'
4277else
4278  AMDEP_TRUE='#'
4279  AMDEP_FALSE=
4280fi
4281
4282
4283# Check whether --enable-silent-rules was given.
4284if test "${enable_silent_rules+set}" = set; then :
4285  enableval=$enable_silent_rules;
4286fi
4287
4288case $enable_silent_rules in # (((
4289  yes) AM_DEFAULT_VERBOSITY=0;;
4290   no) AM_DEFAULT_VERBOSITY=1;;
4291    *) AM_DEFAULT_VERBOSITY=1;;
4292esac
4293am_make=${MAKE-make}
4294{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4295$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4296if ${am_cv_make_support_nested_variables+:} false; then :
4297  $as_echo_n "(cached) " >&6
4298else
4299  if $as_echo 'TRUE=$(BAR$(V))
4300BAR0=false
4301BAR1=true
4302V=1
4303am__doit:
4304	@$(TRUE)
4305.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
4306  am_cv_make_support_nested_variables=yes
4307else
4308  am_cv_make_support_nested_variables=no
4309fi
4310fi
4311{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4312$as_echo "$am_cv_make_support_nested_variables" >&6; }
4313if test $am_cv_make_support_nested_variables = yes; then
4314    AM_V='$(V)'
4315  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
4316else
4317  AM_V=$AM_DEFAULT_VERBOSITY
4318  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
4319fi
4320AM_BACKSLASH='\'
4321
4322if test "`cd $srcdir && pwd`" != "`pwd`"; then
4323  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4324  # is not polluted with repeated "-I."
4325  am__isrc=' -I$(srcdir)'
4326  # test to see if srcdir already configured
4327  if test -f $srcdir/config.status; then
4328    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4329  fi
4330fi
4331
4332# test whether we have cygpath
4333if test -z "$CYGPATH_W"; then
4334  if (cygpath --version) >/dev/null 2>/dev/null; then
4335    CYGPATH_W='cygpath -w'
4336  else
4337    CYGPATH_W=echo
4338  fi
4339fi
4340
4341
4342# Define the identity of the package.
4343 PACKAGE='libxslt'
4344 VERSION='1.1.34'
4345
4346
4347cat >>confdefs.h <<_ACEOF
4348#define PACKAGE "$PACKAGE"
4349_ACEOF
4350
4351
4352cat >>confdefs.h <<_ACEOF
4353#define VERSION "$VERSION"
4354_ACEOF
4355
4356# Some tools Automake needs.
4357
4358ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4359
4360
4361AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4362
4363
4364AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4365
4366
4367AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4368
4369
4370MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4371
4372# For better backward compatibility.  To be removed once Automake 1.9.x
4373# dies out for good.  For more background, see:
4374# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4375# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4376mkdir_p='$(MKDIR_P)'
4377
4378# We need awk for the "check" target (and possibly the TAP driver).  The
4379# system "awk" is bad on some platforms.
4380# Always define AMTAR for backward compatibility.  Yes, it's still used
4381# in the wild :-(  We should find a proper way to deprecate it ...
4382AMTAR='$${TAR-tar}'
4383
4384
4385# We'll loop over all known methods to create a tar archive until one works.
4386_am_tools='gnutar  pax cpio none'
4387
4388am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
4389
4390
4391
4392
4393
4394depcc="$CC"   am_compiler_list=
4395
4396{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4397$as_echo_n "checking dependency style of $depcc... " >&6; }
4398if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4399  $as_echo_n "(cached) " >&6
4400else
4401  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4402  # We make a subdir and do the tests there.  Otherwise we can end up
4403  # making bogus files that we don't know about and never remove.  For
4404  # instance it was reported that on HP-UX the gcc test will end up
4405  # making a dummy file named 'D' -- because '-MD' means "put the output
4406  # in D".
4407  rm -rf conftest.dir
4408  mkdir conftest.dir
4409  # Copy depcomp to subdir because otherwise we won't find it if we're
4410  # using a relative directory.
4411  cp "$am_depcomp" conftest.dir
4412  cd conftest.dir
4413  # We will build objects and dependencies in a subdirectory because
4414  # it helps to detect inapplicable dependency modes.  For instance
4415  # both Tru64's cc and ICC support -MD to output dependencies as a
4416  # side effect of compilation, but ICC will put the dependencies in
4417  # the current directory while Tru64 will put them in the object
4418  # directory.
4419  mkdir sub
4420
4421  am_cv_CC_dependencies_compiler_type=none
4422  if test "$am_compiler_list" = ""; then
4423     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4424  fi
4425  am__universal=false
4426  case " $depcc " in #(
4427     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4428     esac
4429
4430  for depmode in $am_compiler_list; do
4431    # Setup a source with many dependencies, because some compilers
4432    # like to wrap large dependency lists on column 80 (with \), and
4433    # we should not choose a depcomp mode which is confused by this.
4434    #
4435    # We need to recreate these files for each test, as the compiler may
4436    # overwrite some of them when testing with obscure command lines.
4437    # This happens at least with the AIX C compiler.
4438    : > sub/conftest.c
4439    for i in 1 2 3 4 5 6; do
4440      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4441      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4442      # Solaris 10 /bin/sh.
4443      echo '/* dummy */' > sub/conftst$i.h
4444    done
4445    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4446
4447    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4448    # mode.  It turns out that the SunPro C++ compiler does not properly
4449    # handle '-M -o', and we need to detect this.  Also, some Intel
4450    # versions had trouble with output in subdirs.
4451    am__obj=sub/conftest.${OBJEXT-o}
4452    am__minus_obj="-o $am__obj"
4453    case $depmode in
4454    gcc)
4455      # This depmode causes a compiler race in universal mode.
4456      test "$am__universal" = false || continue
4457      ;;
4458    nosideeffect)
4459      # After this tag, mechanisms are not by side-effect, so they'll
4460      # only be used when explicitly requested.
4461      if test "x$enable_dependency_tracking" = xyes; then
4462	continue
4463      else
4464	break
4465      fi
4466      ;;
4467    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4468      # This compiler won't grok '-c -o', but also, the minuso test has
4469      # not run yet.  These depmodes are late enough in the game, and
4470      # so weak that their functioning should not be impacted.
4471      am__obj=conftest.${OBJEXT-o}
4472      am__minus_obj=
4473      ;;
4474    none) break ;;
4475    esac
4476    if depmode=$depmode \
4477       source=sub/conftest.c object=$am__obj \
4478       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4479       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4480         >/dev/null 2>conftest.err &&
4481       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4482       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4483       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4484       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4485      # icc doesn't choke on unknown options, it will just issue warnings
4486      # or remarks (even with -Werror).  So we grep stderr for any message
4487      # that says an option was ignored or not supported.
4488      # When given -MP, icc 7.0 and 7.1 complain thusly:
4489      #   icc: Command line warning: ignoring option '-M'; no argument required
4490      # The diagnosis changed in icc 8.0:
4491      #   icc: Command line remark: option '-MP' not supported
4492      if (grep 'ignoring option' conftest.err ||
4493          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4494        am_cv_CC_dependencies_compiler_type=$depmode
4495        break
4496      fi
4497    fi
4498  done
4499
4500  cd ..
4501  rm -rf conftest.dir
4502else
4503  am_cv_CC_dependencies_compiler_type=none
4504fi
4505
4506fi
4507{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4508$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4509CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4510
4511 if
4512  test "x$enable_dependency_tracking" != xno \
4513  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4514  am__fastdepCC_TRUE=
4515  am__fastdepCC_FALSE='#'
4516else
4517  am__fastdepCC_TRUE='#'
4518  am__fastdepCC_FALSE=
4519fi
4520
4521
4522
4523# POSIX will say in a future version that running "rm -f" with no argument
4524# is OK; and we want to be able to make that assumption in our Makefile
4525# recipes.  So use an aggressive probe to check that the usage we want is
4526# actually supported "in the wild" to an acceptable degree.
4527# See automake bug#10828.
4528# To make any issue more visible, cause the running configure to be aborted
4529# by default if the 'rm' program in use doesn't match our expectations; the
4530# user can still override this though.
4531if rm -f && rm -fr && rm -rf; then : OK; else
4532  cat >&2 <<'END'
4533Oops!
4534
4535Your 'rm' program seems unable to run without file operands specified
4536on the command line, even when the '-f' option is present.  This is contrary
4537to the behaviour of most rm programs out there, and not conforming with
4538the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
4539
4540Please tell bug-automake@gnu.org about your system, including the value
4541of your $PATH and any error possibly output before this message.  This
4542can help us improve future automake versions.
4543
4544END
4545  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
4546    echo 'Configuration will proceed anyway, since you have set the' >&2
4547    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
4548    echo >&2
4549  else
4550    cat >&2 <<'END'
4551Aborting the configuration process, to ensure you take notice of the issue.
4552
4553You can download and install GNU coreutils to get an 'rm' implementation
4554that behaves properly: <https://www.gnu.org/software/coreutils/>.
4555
4556If you want to complete the configuration process using your problematic
4557'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
4558to "yes", and re-run configure.
4559
4560END
4561    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
4562  fi
4563fi
4564
4565
4566# AM_MAINTAINER_MODE
4567
4568# Support silent build rules, requires at least automake-1.11. Disable
4569# by either passing --disable-silent-rules to configure or passing V=1
4570# to make
4571# Check whether --enable-silent-rules was given.
4572if test "${enable_silent_rules+set}" = set; then :
4573  enableval=$enable_silent_rules;
4574fi
4575
4576case $enable_silent_rules in # (((
4577  yes) AM_DEFAULT_VERBOSITY=0;;
4578   no) AM_DEFAULT_VERBOSITY=1;;
4579    *) AM_DEFAULT_VERBOSITY=0;;
4580esac
4581am_make=${MAKE-make}
4582{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4583$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4584if ${am_cv_make_support_nested_variables+:} false; then :
4585  $as_echo_n "(cached) " >&6
4586else
4587  if $as_echo 'TRUE=$(BAR$(V))
4588BAR0=false
4589BAR1=true
4590V=1
4591am__doit:
4592	@$(TRUE)
4593.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
4594  am_cv_make_support_nested_variables=yes
4595else
4596  am_cv_make_support_nested_variables=no
4597fi
4598fi
4599{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4600$as_echo "$am_cv_make_support_nested_variables" >&6; }
4601if test $am_cv_make_support_nested_variables = yes; then
4602    AM_V='$(V)'
4603  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
4604else
4605  AM_V=$AM_DEFAULT_VERBOSITY
4606  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
4607fi
4608AM_BACKSLASH='\'
4609
4610
4611
4612
4613# Check whether --with-html-dir was given.
4614if test "${with_html_dir+set}" = set; then :
4615  withval=$with_html_dir; HTML_DIR=$withval
4616else
4617  HTML_DIR='$(datadir)/doc'
4618fi
4619
4620
4621
4622# Check whether --with-html-subdir was given.
4623if test "${with_html_subdir+set}" = set; then :
4624  withval=$with_html_subdir; test "x$withval" != "x" && HTML_DIR="$HTML_DIR/$withval"
4625else
4626  HTML_DIR="$HTML_DIR/\$(PACKAGE)-\$(VERSION)/html"
4627fi
4628
4629
4630
4631
4632
4633ac_ext=c
4634ac_cpp='$CPP $CPPFLAGS'
4635ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4636ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4637ac_compiler_gnu=$ac_cv_c_compiler_gnu
4638if test -n "$ac_tool_prefix"; then
4639  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4640set dummy ${ac_tool_prefix}gcc; ac_word=$2
4641{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4642$as_echo_n "checking for $ac_word... " >&6; }
4643if ${ac_cv_prog_CC+:} false; then :
4644  $as_echo_n "(cached) " >&6
4645else
4646  if test -n "$CC"; then
4647  ac_cv_prog_CC="$CC" # Let the user override the test.
4648else
4649as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4650for as_dir in $PATH
4651do
4652  IFS=$as_save_IFS
4653  test -z "$as_dir" && as_dir=.
4654    for ac_exec_ext in '' $ac_executable_extensions; do
4655  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4656    ac_cv_prog_CC="${ac_tool_prefix}gcc"
4657    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4658    break 2
4659  fi
4660done
4661  done
4662IFS=$as_save_IFS
4663
4664fi
4665fi
4666CC=$ac_cv_prog_CC
4667if test -n "$CC"; then
4668  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4669$as_echo "$CC" >&6; }
4670else
4671  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4672$as_echo "no" >&6; }
4673fi
4674
4675
4676fi
4677if test -z "$ac_cv_prog_CC"; then
4678  ac_ct_CC=$CC
4679  # Extract the first word of "gcc", so it can be a program name with args.
4680set dummy gcc; ac_word=$2
4681{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4682$as_echo_n "checking for $ac_word... " >&6; }
4683if ${ac_cv_prog_ac_ct_CC+:} false; then :
4684  $as_echo_n "(cached) " >&6
4685else
4686  if test -n "$ac_ct_CC"; then
4687  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4688else
4689as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4690for as_dir in $PATH
4691do
4692  IFS=$as_save_IFS
4693  test -z "$as_dir" && as_dir=.
4694    for ac_exec_ext in '' $ac_executable_extensions; do
4695  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4696    ac_cv_prog_ac_ct_CC="gcc"
4697    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4698    break 2
4699  fi
4700done
4701  done
4702IFS=$as_save_IFS
4703
4704fi
4705fi
4706ac_ct_CC=$ac_cv_prog_ac_ct_CC
4707if test -n "$ac_ct_CC"; then
4708  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4709$as_echo "$ac_ct_CC" >&6; }
4710else
4711  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4712$as_echo "no" >&6; }
4713fi
4714
4715  if test "x$ac_ct_CC" = x; then
4716    CC=""
4717  else
4718    case $cross_compiling:$ac_tool_warned in
4719yes:)
4720{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4721$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4722ac_tool_warned=yes ;;
4723esac
4724    CC=$ac_ct_CC
4725  fi
4726else
4727  CC="$ac_cv_prog_CC"
4728fi
4729
4730if test -z "$CC"; then
4731          if test -n "$ac_tool_prefix"; then
4732    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4733set dummy ${ac_tool_prefix}cc; ac_word=$2
4734{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4735$as_echo_n "checking for $ac_word... " >&6; }
4736if ${ac_cv_prog_CC+:} false; then :
4737  $as_echo_n "(cached) " >&6
4738else
4739  if test -n "$CC"; then
4740  ac_cv_prog_CC="$CC" # Let the user override the test.
4741else
4742as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4743for as_dir in $PATH
4744do
4745  IFS=$as_save_IFS
4746  test -z "$as_dir" && as_dir=.
4747    for ac_exec_ext in '' $ac_executable_extensions; do
4748  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4749    ac_cv_prog_CC="${ac_tool_prefix}cc"
4750    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4751    break 2
4752  fi
4753done
4754  done
4755IFS=$as_save_IFS
4756
4757fi
4758fi
4759CC=$ac_cv_prog_CC
4760if test -n "$CC"; then
4761  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4762$as_echo "$CC" >&6; }
4763else
4764  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4765$as_echo "no" >&6; }
4766fi
4767
4768
4769  fi
4770fi
4771if test -z "$CC"; then
4772  # Extract the first word of "cc", so it can be a program name with args.
4773set dummy cc; ac_word=$2
4774{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4775$as_echo_n "checking for $ac_word... " >&6; }
4776if ${ac_cv_prog_CC+:} false; then :
4777  $as_echo_n "(cached) " >&6
4778else
4779  if test -n "$CC"; then
4780  ac_cv_prog_CC="$CC" # Let the user override the test.
4781else
4782  ac_prog_rejected=no
4783as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4784for as_dir in $PATH
4785do
4786  IFS=$as_save_IFS
4787  test -z "$as_dir" && as_dir=.
4788    for ac_exec_ext in '' $ac_executable_extensions; do
4789  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4790    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4791       ac_prog_rejected=yes
4792       continue
4793     fi
4794    ac_cv_prog_CC="cc"
4795    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4796    break 2
4797  fi
4798done
4799  done
4800IFS=$as_save_IFS
4801
4802if test $ac_prog_rejected = yes; then
4803  # We found a bogon in the path, so make sure we never use it.
4804  set dummy $ac_cv_prog_CC
4805  shift
4806  if test $# != 0; then
4807    # We chose a different compiler from the bogus one.
4808    # However, it has the same basename, so the bogon will be chosen
4809    # first if we set CC to just the basename; use the full file name.
4810    shift
4811    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4812  fi
4813fi
4814fi
4815fi
4816CC=$ac_cv_prog_CC
4817if test -n "$CC"; then
4818  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4819$as_echo "$CC" >&6; }
4820else
4821  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4822$as_echo "no" >&6; }
4823fi
4824
4825
4826fi
4827if test -z "$CC"; then
4828  if test -n "$ac_tool_prefix"; then
4829  for ac_prog in cl.exe
4830  do
4831    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4832set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4833{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4834$as_echo_n "checking for $ac_word... " >&6; }
4835if ${ac_cv_prog_CC+:} false; then :
4836  $as_echo_n "(cached) " >&6
4837else
4838  if test -n "$CC"; then
4839  ac_cv_prog_CC="$CC" # Let the user override the test.
4840else
4841as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4842for as_dir in $PATH
4843do
4844  IFS=$as_save_IFS
4845  test -z "$as_dir" && as_dir=.
4846    for ac_exec_ext in '' $ac_executable_extensions; do
4847  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4848    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4849    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4850    break 2
4851  fi
4852done
4853  done
4854IFS=$as_save_IFS
4855
4856fi
4857fi
4858CC=$ac_cv_prog_CC
4859if test -n "$CC"; then
4860  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4861$as_echo "$CC" >&6; }
4862else
4863  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4864$as_echo "no" >&6; }
4865fi
4866
4867
4868    test -n "$CC" && break
4869  done
4870fi
4871if test -z "$CC"; then
4872  ac_ct_CC=$CC
4873  for ac_prog in cl.exe
4874do
4875  # Extract the first word of "$ac_prog", so it can be a program name with args.
4876set dummy $ac_prog; ac_word=$2
4877{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4878$as_echo_n "checking for $ac_word... " >&6; }
4879if ${ac_cv_prog_ac_ct_CC+:} false; then :
4880  $as_echo_n "(cached) " >&6
4881else
4882  if test -n "$ac_ct_CC"; then
4883  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4884else
4885as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4886for as_dir in $PATH
4887do
4888  IFS=$as_save_IFS
4889  test -z "$as_dir" && as_dir=.
4890    for ac_exec_ext in '' $ac_executable_extensions; do
4891  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4892    ac_cv_prog_ac_ct_CC="$ac_prog"
4893    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4894    break 2
4895  fi
4896done
4897  done
4898IFS=$as_save_IFS
4899
4900fi
4901fi
4902ac_ct_CC=$ac_cv_prog_ac_ct_CC
4903if test -n "$ac_ct_CC"; then
4904  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4905$as_echo "$ac_ct_CC" >&6; }
4906else
4907  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4908$as_echo "no" >&6; }
4909fi
4910
4911
4912  test -n "$ac_ct_CC" && break
4913done
4914
4915  if test "x$ac_ct_CC" = x; then
4916    CC=""
4917  else
4918    case $cross_compiling:$ac_tool_warned in
4919yes:)
4920{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4921$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4922ac_tool_warned=yes ;;
4923esac
4924    CC=$ac_ct_CC
4925  fi
4926fi
4927
4928fi
4929
4930
4931test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4932$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4933as_fn_error $? "no acceptable C compiler found in \$PATH
4934See \`config.log' for more details" "$LINENO" 5; }
4935
4936# Provide some information about the compiler.
4937$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4938set X $ac_compile
4939ac_compiler=$2
4940for ac_option in --version -v -V -qversion; do
4941  { { ac_try="$ac_compiler $ac_option >&5"
4942case "(($ac_try" in
4943  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4944  *) ac_try_echo=$ac_try;;
4945esac
4946eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4947$as_echo "$ac_try_echo"; } >&5
4948  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4949  ac_status=$?
4950  if test -s conftest.err; then
4951    sed '10a\
4952... rest of stderr output deleted ...
4953         10q' conftest.err >conftest.er1
4954    cat conftest.er1 >&5
4955  fi
4956  rm -f conftest.er1 conftest.err
4957  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4958  test $ac_status = 0; }
4959done
4960
4961{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4962$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4963if ${ac_cv_c_compiler_gnu+:} false; then :
4964  $as_echo_n "(cached) " >&6
4965else
4966  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4967/* end confdefs.h.  */
4968
4969int
4970main ()
4971{
4972#ifndef __GNUC__
4973       choke me
4974#endif
4975
4976  ;
4977  return 0;
4978}
4979_ACEOF
4980if ac_fn_c_try_compile "$LINENO"; then :
4981  ac_compiler_gnu=yes
4982else
4983  ac_compiler_gnu=no
4984fi
4985rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4986ac_cv_c_compiler_gnu=$ac_compiler_gnu
4987
4988fi
4989{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4990$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4991if test $ac_compiler_gnu = yes; then
4992  GCC=yes
4993else
4994  GCC=
4995fi
4996ac_test_CFLAGS=${CFLAGS+set}
4997ac_save_CFLAGS=$CFLAGS
4998{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4999$as_echo_n "checking whether $CC accepts -g... " >&6; }
5000if ${ac_cv_prog_cc_g+:} false; then :
5001  $as_echo_n "(cached) " >&6
5002else
5003  ac_save_c_werror_flag=$ac_c_werror_flag
5004   ac_c_werror_flag=yes
5005   ac_cv_prog_cc_g=no
5006   CFLAGS="-g"
5007   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5008/* end confdefs.h.  */
5009
5010int
5011main ()
5012{
5013
5014  ;
5015  return 0;
5016}
5017_ACEOF
5018if ac_fn_c_try_compile "$LINENO"; then :
5019  ac_cv_prog_cc_g=yes
5020else
5021  CFLAGS=""
5022      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5023/* end confdefs.h.  */
5024
5025int
5026main ()
5027{
5028
5029  ;
5030  return 0;
5031}
5032_ACEOF
5033if ac_fn_c_try_compile "$LINENO"; then :
5034
5035else
5036  ac_c_werror_flag=$ac_save_c_werror_flag
5037	 CFLAGS="-g"
5038	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5039/* end confdefs.h.  */
5040
5041int
5042main ()
5043{
5044
5045  ;
5046  return 0;
5047}
5048_ACEOF
5049if ac_fn_c_try_compile "$LINENO"; then :
5050  ac_cv_prog_cc_g=yes
5051fi
5052rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5053fi
5054rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5055fi
5056rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5057   ac_c_werror_flag=$ac_save_c_werror_flag
5058fi
5059{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5060$as_echo "$ac_cv_prog_cc_g" >&6; }
5061if test "$ac_test_CFLAGS" = set; then
5062  CFLAGS=$ac_save_CFLAGS
5063elif test $ac_cv_prog_cc_g = yes; then
5064  if test "$GCC" = yes; then
5065    CFLAGS="-g -O2"
5066  else
5067    CFLAGS="-g"
5068  fi
5069else
5070  if test "$GCC" = yes; then
5071    CFLAGS="-O2"
5072  else
5073    CFLAGS=
5074  fi
5075fi
5076{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5077$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5078if ${ac_cv_prog_cc_c89+:} false; then :
5079  $as_echo_n "(cached) " >&6
5080else
5081  ac_cv_prog_cc_c89=no
5082ac_save_CC=$CC
5083cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5084/* end confdefs.h.  */
5085#include <stdarg.h>
5086#include <stdio.h>
5087struct stat;
5088/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
5089struct buf { int x; };
5090FILE * (*rcsopen) (struct buf *, struct stat *, int);
5091static char *e (p, i)
5092     char **p;
5093     int i;
5094{
5095  return p[i];
5096}
5097static char *f (char * (*g) (char **, int), char **p, ...)
5098{
5099  char *s;
5100  va_list v;
5101  va_start (v,p);
5102  s = g (p, va_arg (v,int));
5103  va_end (v);
5104  return s;
5105}
5106
5107/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
5108   function prototypes and stuff, but not '\xHH' hex character constants.
5109   These don't provoke an error unfortunately, instead are silently treated
5110   as 'x'.  The following induces an error, until -std is added to get
5111   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
5112   array size at least.  It's necessary to write '\x00'==0 to get something
5113   that's true only with -std.  */
5114int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5115
5116/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5117   inside strings and character constants.  */
5118#define FOO(x) 'x'
5119int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5120
5121int test (int i, double x);
5122struct s1 {int (*f) (int a);};
5123struct s2 {int (*f) (double a);};
5124int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5125int argc;
5126char **argv;
5127int
5128main ()
5129{
5130return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
5131  ;
5132  return 0;
5133}
5134_ACEOF
5135for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5136	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5137do
5138  CC="$ac_save_CC $ac_arg"
5139  if ac_fn_c_try_compile "$LINENO"; then :
5140  ac_cv_prog_cc_c89=$ac_arg
5141fi
5142rm -f core conftest.err conftest.$ac_objext
5143  test "x$ac_cv_prog_cc_c89" != "xno" && break
5144done
5145rm -f conftest.$ac_ext
5146CC=$ac_save_CC
5147
5148fi
5149# AC_CACHE_VAL
5150case "x$ac_cv_prog_cc_c89" in
5151  x)
5152    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5153$as_echo "none needed" >&6; } ;;
5154  xno)
5155    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5156$as_echo "unsupported" >&6; } ;;
5157  *)
5158    CC="$CC $ac_cv_prog_cc_c89"
5159    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5160$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5161esac
5162if test "x$ac_cv_prog_cc_c89" != xno; then :
5163
5164fi
5165
5166ac_ext=c
5167ac_cpp='$CPP $CPPFLAGS'
5168ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5169ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5170ac_compiler_gnu=$ac_cv_c_compiler_gnu
5171
5172ac_ext=c
5173ac_cpp='$CPP $CPPFLAGS'
5174ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5175ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5176ac_compiler_gnu=$ac_cv_c_compiler_gnu
5177{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5178$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5179if ${am_cv_prog_cc_c_o+:} false; then :
5180  $as_echo_n "(cached) " >&6
5181else
5182  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5183/* end confdefs.h.  */
5184
5185int
5186main ()
5187{
5188
5189  ;
5190  return 0;
5191}
5192_ACEOF
5193  # Make sure it works both with $CC and with simple cc.
5194  # Following AC_PROG_CC_C_O, we do the test twice because some
5195  # compilers refuse to overwrite an existing .o file with -o,
5196  # though they will create one.
5197  am_cv_prog_cc_c_o=yes
5198  for am_i in 1 2; do
5199    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5200   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5201   ac_status=$?
5202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5203   (exit $ac_status); } \
5204         && test -f conftest2.$ac_objext; then
5205      : OK
5206    else
5207      am_cv_prog_cc_c_o=no
5208      break
5209    fi
5210  done
5211  rm -f core conftest*
5212  unset am_i
5213fi
5214{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5215$as_echo "$am_cv_prog_cc_c_o" >&6; }
5216if test "$am_cv_prog_cc_c_o" != yes; then
5217   # Losing compiler, so override with the script.
5218   # FIXME: It is wrong to rewrite CC.
5219   # But if we don't then we get into trouble of one sort or another.
5220   # A longer-term fix would be to have automake use am__CC in this case,
5221   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5222   CC="$am_aux_dir/compile $CC"
5223fi
5224ac_ext=c
5225ac_cpp='$CPP $CPPFLAGS'
5226ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5227ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5228ac_compiler_gnu=$ac_cv_c_compiler_gnu
5229
5230
5231
5232ac_ext=c
5233ac_cpp='$CPP $CPPFLAGS'
5234ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5235ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5236ac_compiler_gnu=$ac_cv_c_compiler_gnu
5237{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5238$as_echo_n "checking how to run the C preprocessor... " >&6; }
5239# On Suns, sometimes $CPP names a directory.
5240if test -n "$CPP" && test -d "$CPP"; then
5241  CPP=
5242fi
5243if test -z "$CPP"; then
5244  if ${ac_cv_prog_CPP+:} false; then :
5245  $as_echo_n "(cached) " >&6
5246else
5247      # Double quotes because CPP needs to be expanded
5248    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5249    do
5250      ac_preproc_ok=false
5251for ac_c_preproc_warn_flag in '' yes
5252do
5253  # Use a header file that comes with gcc, so configuring glibc
5254  # with a fresh cross-compiler works.
5255  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5256  # <limits.h> exists even on freestanding compilers.
5257  # On the NeXT, cc -E runs the code through the compiler's parser,
5258  # not just through cpp. "Syntax error" is here to catch this case.
5259  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5260/* end confdefs.h.  */
5261#ifdef __STDC__
5262# include <limits.h>
5263#else
5264# include <assert.h>
5265#endif
5266		     Syntax error
5267_ACEOF
5268if ac_fn_c_try_cpp "$LINENO"; then :
5269
5270else
5271  # Broken: fails on valid input.
5272continue
5273fi
5274rm -f conftest.err conftest.i conftest.$ac_ext
5275
5276  # OK, works on sane cases.  Now check whether nonexistent headers
5277  # can be detected and how.
5278  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5279/* end confdefs.h.  */
5280#include <ac_nonexistent.h>
5281_ACEOF
5282if ac_fn_c_try_cpp "$LINENO"; then :
5283  # Broken: success on invalid input.
5284continue
5285else
5286  # Passes both tests.
5287ac_preproc_ok=:
5288break
5289fi
5290rm -f conftest.err conftest.i conftest.$ac_ext
5291
5292done
5293# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5294rm -f conftest.i conftest.err conftest.$ac_ext
5295if $ac_preproc_ok; then :
5296  break
5297fi
5298
5299    done
5300    ac_cv_prog_CPP=$CPP
5301
5302fi
5303  CPP=$ac_cv_prog_CPP
5304else
5305  ac_cv_prog_CPP=$CPP
5306fi
5307{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5308$as_echo "$CPP" >&6; }
5309ac_preproc_ok=false
5310for ac_c_preproc_warn_flag in '' yes
5311do
5312  # Use a header file that comes with gcc, so configuring glibc
5313  # with a fresh cross-compiler works.
5314  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5315  # <limits.h> exists even on freestanding compilers.
5316  # On the NeXT, cc -E runs the code through the compiler's parser,
5317  # not just through cpp. "Syntax error" is here to catch this case.
5318  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5319/* end confdefs.h.  */
5320#ifdef __STDC__
5321# include <limits.h>
5322#else
5323# include <assert.h>
5324#endif
5325		     Syntax error
5326_ACEOF
5327if ac_fn_c_try_cpp "$LINENO"; then :
5328
5329else
5330  # Broken: fails on valid input.
5331continue
5332fi
5333rm -f conftest.err conftest.i conftest.$ac_ext
5334
5335  # OK, works on sane cases.  Now check whether nonexistent headers
5336  # can be detected and how.
5337  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5338/* end confdefs.h.  */
5339#include <ac_nonexistent.h>
5340_ACEOF
5341if ac_fn_c_try_cpp "$LINENO"; then :
5342  # Broken: success on invalid input.
5343continue
5344else
5345  # Passes both tests.
5346ac_preproc_ok=:
5347break
5348fi
5349rm -f conftest.err conftest.i conftest.$ac_ext
5350
5351done
5352# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5353rm -f conftest.i conftest.err conftest.$ac_ext
5354if $ac_preproc_ok; then :
5355
5356else
5357  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5358$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5359as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5360See \`config.log' for more details" "$LINENO" 5; }
5361fi
5362
5363ac_ext=c
5364ac_cpp='$CPP $CPPFLAGS'
5365ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5366ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5367ac_compiler_gnu=$ac_cv_c_compiler_gnu
5368
5369# Extract the first word of "xmllint", so it can be a program name with args.
5370set dummy xmllint; ac_word=$2
5371{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5372$as_echo_n "checking for $ac_word... " >&6; }
5373if ${ac_cv_path_XMLLINT+:} false; then :
5374  $as_echo_n "(cached) " >&6
5375else
5376  case $XMLLINT in
5377  [\\/]* | ?:[\\/]*)
5378  ac_cv_path_XMLLINT="$XMLLINT" # Let the user override the test with a path.
5379  ;;
5380  *)
5381  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5382for as_dir in $PATH
5383do
5384  IFS=$as_save_IFS
5385  test -z "$as_dir" && as_dir=.
5386    for ac_exec_ext in '' $ac_executable_extensions; do
5387  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5388    ac_cv_path_XMLLINT="$as_dir/$ac_word$ac_exec_ext"
5389    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5390    break 2
5391  fi
5392done
5393  done
5394IFS=$as_save_IFS
5395
5396  test -z "$ac_cv_path_XMLLINT" && ac_cv_path_XMLLINT="/usr/bin/xmllint"
5397  ;;
5398esac
5399fi
5400XMLLINT=$ac_cv_path_XMLLINT
5401if test -n "$XMLLINT"; then
5402  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
5403$as_echo "$XMLLINT" >&6; }
5404else
5405  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5406$as_echo "no" >&6; }
5407fi
5408
5409
5410# Extract the first word of "xsltproc", so it can be a program name with args.
5411set dummy xsltproc; ac_word=$2
5412{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5413$as_echo_n "checking for $ac_word... " >&6; }
5414if ${ac_cv_path_XSLTPROC+:} false; then :
5415  $as_echo_n "(cached) " >&6
5416else
5417  case $XSLTPROC in
5418  [\\/]* | ?:[\\/]*)
5419  ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
5420  ;;
5421  *)
5422  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5423for as_dir in $PATH
5424do
5425  IFS=$as_save_IFS
5426  test -z "$as_dir" && as_dir=.
5427    for ac_exec_ext in '' $ac_executable_extensions; do
5428  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5429    ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
5430    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5431    break 2
5432  fi
5433done
5434  done
5435IFS=$as_save_IFS
5436
5437  test -z "$ac_cv_path_XSLTPROC" && ac_cv_path_XSLTPROC="/usr/bin/xsltproc"
5438  ;;
5439esac
5440fi
5441XSLTPROC=$ac_cv_path_XSLTPROC
5442if test -n "$XSLTPROC"; then
5443  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
5444$as_echo "$XSLTPROC" >&6; }
5445else
5446  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5447$as_echo "no" >&6; }
5448fi
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
5459	if test -n "$ac_tool_prefix"; then
5460  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5461set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5462{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5463$as_echo_n "checking for $ac_word... " >&6; }
5464if ${ac_cv_path_PKG_CONFIG+:} false; then :
5465  $as_echo_n "(cached) " >&6
5466else
5467  case $PKG_CONFIG in
5468  [\\/]* | ?:[\\/]*)
5469  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
5470  ;;
5471  *)
5472  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5473for as_dir in $PATH
5474do
5475  IFS=$as_save_IFS
5476  test -z "$as_dir" && as_dir=.
5477    for ac_exec_ext in '' $ac_executable_extensions; do
5478  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5479    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5480    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5481    break 2
5482  fi
5483done
5484  done
5485IFS=$as_save_IFS
5486
5487  ;;
5488esac
5489fi
5490PKG_CONFIG=$ac_cv_path_PKG_CONFIG
5491if test -n "$PKG_CONFIG"; then
5492  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5493$as_echo "$PKG_CONFIG" >&6; }
5494else
5495  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5496$as_echo "no" >&6; }
5497fi
5498
5499
5500fi
5501if test -z "$ac_cv_path_PKG_CONFIG"; then
5502  ac_pt_PKG_CONFIG=$PKG_CONFIG
5503  # Extract the first word of "pkg-config", so it can be a program name with args.
5504set dummy pkg-config; ac_word=$2
5505{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5506$as_echo_n "checking for $ac_word... " >&6; }
5507if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
5508  $as_echo_n "(cached) " >&6
5509else
5510  case $ac_pt_PKG_CONFIG in
5511  [\\/]* | ?:[\\/]*)
5512  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
5513  ;;
5514  *)
5515  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5516for as_dir in $PATH
5517do
5518  IFS=$as_save_IFS
5519  test -z "$as_dir" && as_dir=.
5520    for ac_exec_ext in '' $ac_executable_extensions; do
5521  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5522    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5523    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5524    break 2
5525  fi
5526done
5527  done
5528IFS=$as_save_IFS
5529
5530  ;;
5531esac
5532fi
5533ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
5534if test -n "$ac_pt_PKG_CONFIG"; then
5535  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
5536$as_echo "$ac_pt_PKG_CONFIG" >&6; }
5537else
5538  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5539$as_echo "no" >&6; }
5540fi
5541
5542  if test "x$ac_pt_PKG_CONFIG" = x; then
5543    PKG_CONFIG=""
5544  else
5545    case $cross_compiling:$ac_tool_warned in
5546yes:)
5547{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5548$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5549ac_tool_warned=yes ;;
5550esac
5551    PKG_CONFIG=$ac_pt_PKG_CONFIG
5552  fi
5553else
5554  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
5555fi
5556
5557fi
5558if test -n "$PKG_CONFIG"; then
5559	_pkg_min_version=0.9.0
5560	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
5561$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
5562	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5563		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5564$as_echo "yes" >&6; }
5565	else
5566		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5567$as_echo "no" >&6; }
5568		PKG_CONFIG=""
5569	fi
5570fi
5571
5572{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5573$as_echo_n "checking for ANSI C header files... " >&6; }
5574if ${ac_cv_header_stdc+:} false; then :
5575  $as_echo_n "(cached) " >&6
5576else
5577  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5578/* end confdefs.h.  */
5579#include <stdlib.h>
5580#include <stdarg.h>
5581#include <string.h>
5582#include <float.h>
5583
5584int
5585main ()
5586{
5587
5588  ;
5589  return 0;
5590}
5591_ACEOF
5592if ac_fn_c_try_compile "$LINENO"; then :
5593  ac_cv_header_stdc=yes
5594else
5595  ac_cv_header_stdc=no
5596fi
5597rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5598
5599if test $ac_cv_header_stdc = yes; then
5600  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5601  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5602/* end confdefs.h.  */
5603#include <string.h>
5604
5605_ACEOF
5606if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5607  $EGREP "memchr" >/dev/null 2>&1; then :
5608
5609else
5610  ac_cv_header_stdc=no
5611fi
5612rm -f conftest*
5613
5614fi
5615
5616if test $ac_cv_header_stdc = yes; then
5617  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5618  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5619/* end confdefs.h.  */
5620#include <stdlib.h>
5621
5622_ACEOF
5623if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5624  $EGREP "free" >/dev/null 2>&1; then :
5625
5626else
5627  ac_cv_header_stdc=no
5628fi
5629rm -f conftest*
5630
5631fi
5632
5633if test $ac_cv_header_stdc = yes; then
5634  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5635  if test "$cross_compiling" = yes; then :
5636  :
5637else
5638  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5639/* end confdefs.h.  */
5640#include <ctype.h>
5641#include <stdlib.h>
5642#if ((' ' & 0x0FF) == 0x020)
5643# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5644# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5645#else
5646# define ISLOWER(c) \
5647		   (('a' <= (c) && (c) <= 'i') \
5648		     || ('j' <= (c) && (c) <= 'r') \
5649		     || ('s' <= (c) && (c) <= 'z'))
5650# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5651#endif
5652
5653#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5654int
5655main ()
5656{
5657  int i;
5658  for (i = 0; i < 256; i++)
5659    if (XOR (islower (i), ISLOWER (i))
5660	|| toupper (i) != TOUPPER (i))
5661      return 2;
5662  return 0;
5663}
5664_ACEOF
5665if ac_fn_c_try_run "$LINENO"; then :
5666
5667else
5668  ac_cv_header_stdc=no
5669fi
5670rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5671  conftest.$ac_objext conftest.beam conftest.$ac_ext
5672fi
5673
5674fi
5675fi
5676{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5677$as_echo "$ac_cv_header_stdc" >&6; }
5678if test $ac_cv_header_stdc = yes; then
5679
5680$as_echo "#define STDC_HEADERS 1" >>confdefs.h
5681
5682fi
5683
5684
5685case `pwd` in
5686  *\ * | *\	*)
5687    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5688$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5689esac
5690
5691
5692
5693macro_version='2.4.6'
5694macro_revision='2.4.6'
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708ltmain=$ac_aux_dir/ltmain.sh
5709
5710# Backslashify metacharacters that are still active within
5711# double-quoted strings.
5712sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5713
5714# Same as above, but do not quote variable references.
5715double_quote_subst='s/\(["`\\]\)/\\\1/g'
5716
5717# Sed substitution to delay expansion of an escaped shell variable in a
5718# double_quote_subst'ed string.
5719delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5720
5721# Sed substitution to delay expansion of an escaped single quote.
5722delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5723
5724# Sed substitution to avoid accidental globbing in evaled expressions
5725no_glob_subst='s/\*/\\\*/g'
5726
5727ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5728ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5729ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5730
5731{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5732$as_echo_n "checking how to print strings... " >&6; }
5733# Test print first, because it will be a builtin if present.
5734if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5735   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5736  ECHO='print -r --'
5737elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5738  ECHO='printf %s\n'
5739else
5740  # Use this function as a fallback that always works.
5741  func_fallback_echo ()
5742  {
5743    eval 'cat <<_LTECHO_EOF
5744$1
5745_LTECHO_EOF'
5746  }
5747  ECHO='func_fallback_echo'
5748fi
5749
5750# func_echo_all arg...
5751# Invoke $ECHO with all args, space-separated.
5752func_echo_all ()
5753{
5754    $ECHO ""
5755}
5756
5757case $ECHO in
5758  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5759$as_echo "printf" >&6; } ;;
5760  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5761$as_echo "print -r" >&6; } ;;
5762  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5763$as_echo "cat" >&6; } ;;
5764esac
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5780$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5781if ${ac_cv_path_SED+:} false; then :
5782  $as_echo_n "(cached) " >&6
5783else
5784            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5785     for ac_i in 1 2 3 4 5 6 7; do
5786       ac_script="$ac_script$as_nl$ac_script"
5787     done
5788     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5789     { ac_script=; unset ac_script;}
5790     if test -z "$SED"; then
5791  ac_path_SED_found=false
5792  # Loop through the user's path and test for each of PROGNAME-LIST
5793  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5794for as_dir in $PATH
5795do
5796  IFS=$as_save_IFS
5797  test -z "$as_dir" && as_dir=.
5798    for ac_prog in sed gsed; do
5799    for ac_exec_ext in '' $ac_executable_extensions; do
5800      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5801      as_fn_executable_p "$ac_path_SED" || continue
5802# Check for GNU ac_path_SED and select it if it is found.
5803  # Check for GNU $ac_path_SED
5804case `"$ac_path_SED" --version 2>&1` in
5805*GNU*)
5806  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5807*)
5808  ac_count=0
5809  $as_echo_n 0123456789 >"conftest.in"
5810  while :
5811  do
5812    cat "conftest.in" "conftest.in" >"conftest.tmp"
5813    mv "conftest.tmp" "conftest.in"
5814    cp "conftest.in" "conftest.nl"
5815    $as_echo '' >> "conftest.nl"
5816    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5817    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5818    as_fn_arith $ac_count + 1 && ac_count=$as_val
5819    if test $ac_count -gt ${ac_path_SED_max-0}; then
5820      # Best one so far, save it but keep looking for a better one
5821      ac_cv_path_SED="$ac_path_SED"
5822      ac_path_SED_max=$ac_count
5823    fi
5824    # 10*(2^10) chars as input seems more than enough
5825    test $ac_count -gt 10 && break
5826  done
5827  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5828esac
5829
5830      $ac_path_SED_found && break 3
5831    done
5832  done
5833  done
5834IFS=$as_save_IFS
5835  if test -z "$ac_cv_path_SED"; then
5836    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5837  fi
5838else
5839  ac_cv_path_SED=$SED
5840fi
5841
5842fi
5843{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5844$as_echo "$ac_cv_path_SED" >&6; }
5845 SED="$ac_cv_path_SED"
5846  rm -f conftest.sed
5847
5848test -z "$SED" && SED=sed
5849Xsed="$SED -e 1s/^X//"
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5862$as_echo_n "checking for fgrep... " >&6; }
5863if ${ac_cv_path_FGREP+:} false; then :
5864  $as_echo_n "(cached) " >&6
5865else
5866  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5867   then ac_cv_path_FGREP="$GREP -F"
5868   else
5869     if test -z "$FGREP"; then
5870  ac_path_FGREP_found=false
5871  # Loop through the user's path and test for each of PROGNAME-LIST
5872  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5873for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5874do
5875  IFS=$as_save_IFS
5876  test -z "$as_dir" && as_dir=.
5877    for ac_prog in fgrep; do
5878    for ac_exec_ext in '' $ac_executable_extensions; do
5879      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5880      as_fn_executable_p "$ac_path_FGREP" || continue
5881# Check for GNU ac_path_FGREP and select it if it is found.
5882  # Check for GNU $ac_path_FGREP
5883case `"$ac_path_FGREP" --version 2>&1` in
5884*GNU*)
5885  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5886*)
5887  ac_count=0
5888  $as_echo_n 0123456789 >"conftest.in"
5889  while :
5890  do
5891    cat "conftest.in" "conftest.in" >"conftest.tmp"
5892    mv "conftest.tmp" "conftest.in"
5893    cp "conftest.in" "conftest.nl"
5894    $as_echo 'FGREP' >> "conftest.nl"
5895    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5896    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5897    as_fn_arith $ac_count + 1 && ac_count=$as_val
5898    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5899      # Best one so far, save it but keep looking for a better one
5900      ac_cv_path_FGREP="$ac_path_FGREP"
5901      ac_path_FGREP_max=$ac_count
5902    fi
5903    # 10*(2^10) chars as input seems more than enough
5904    test $ac_count -gt 10 && break
5905  done
5906  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5907esac
5908
5909      $ac_path_FGREP_found && break 3
5910    done
5911  done
5912  done
5913IFS=$as_save_IFS
5914  if test -z "$ac_cv_path_FGREP"; then
5915    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5916  fi
5917else
5918  ac_cv_path_FGREP=$FGREP
5919fi
5920
5921   fi
5922fi
5923{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5924$as_echo "$ac_cv_path_FGREP" >&6; }
5925 FGREP="$ac_cv_path_FGREP"
5926
5927
5928test -z "$GREP" && GREP=grep
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948# Check whether --with-gnu-ld was given.
5949if test "${with_gnu_ld+set}" = set; then :
5950  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5951else
5952  with_gnu_ld=no
5953fi
5954
5955ac_prog=ld
5956if test yes = "$GCC"; then
5957  # Check if gcc -print-prog-name=ld gives a path.
5958  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5959$as_echo_n "checking for ld used by $CC... " >&6; }
5960  case $host in
5961  *-*-mingw*)
5962    # gcc leaves a trailing carriage return, which upsets mingw
5963    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5964  *)
5965    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5966  esac
5967  case $ac_prog in
5968    # Accept absolute paths.
5969    [\\/]* | ?:[\\/]*)
5970      re_direlt='/[^/][^/]*/\.\./'
5971      # Canonicalize the pathname of ld
5972      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5973      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5974	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5975      done
5976      test -z "$LD" && LD=$ac_prog
5977      ;;
5978  "")
5979    # If it fails, then pretend we aren't using GCC.
5980    ac_prog=ld
5981    ;;
5982  *)
5983    # If it is relative, then search for the first ld in PATH.
5984    with_gnu_ld=unknown
5985    ;;
5986  esac
5987elif test yes = "$with_gnu_ld"; then
5988  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5989$as_echo_n "checking for GNU ld... " >&6; }
5990else
5991  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5992$as_echo_n "checking for non-GNU ld... " >&6; }
5993fi
5994if ${lt_cv_path_LD+:} false; then :
5995  $as_echo_n "(cached) " >&6
5996else
5997  if test -z "$LD"; then
5998  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5999  for ac_dir in $PATH; do
6000    IFS=$lt_save_ifs
6001    test -z "$ac_dir" && ac_dir=.
6002    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6003      lt_cv_path_LD=$ac_dir/$ac_prog
6004      # Check to see if the program is GNU ld.  I'd rather use --version,
6005      # but apparently some variants of GNU ld only accept -v.
6006      # Break only if it was the GNU/non-GNU ld that we prefer.
6007      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6008      *GNU* | *'with BFD'*)
6009	test no != "$with_gnu_ld" && break
6010	;;
6011      *)
6012	test yes != "$with_gnu_ld" && break
6013	;;
6014      esac
6015    fi
6016  done
6017  IFS=$lt_save_ifs
6018else
6019  lt_cv_path_LD=$LD # Let the user override the test with a path.
6020fi
6021fi
6022
6023LD=$lt_cv_path_LD
6024if test -n "$LD"; then
6025  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6026$as_echo "$LD" >&6; }
6027else
6028  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6029$as_echo "no" >&6; }
6030fi
6031test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6032{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6033$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6034if ${lt_cv_prog_gnu_ld+:} false; then :
6035  $as_echo_n "(cached) " >&6
6036else
6037  # I'd rather use --version here, but apparently some GNU lds only accept -v.
6038case `$LD -v 2>&1 </dev/null` in
6039*GNU* | *'with BFD'*)
6040  lt_cv_prog_gnu_ld=yes
6041  ;;
6042*)
6043  lt_cv_prog_gnu_ld=no
6044  ;;
6045esac
6046fi
6047{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6048$as_echo "$lt_cv_prog_gnu_ld" >&6; }
6049with_gnu_ld=$lt_cv_prog_gnu_ld
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6060$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6061if ${lt_cv_path_NM+:} false; then :
6062  $as_echo_n "(cached) " >&6
6063else
6064  if test -n "$NM"; then
6065  # Let the user override the test.
6066  lt_cv_path_NM=$NM
6067else
6068  lt_nm_to_check=${ac_tool_prefix}nm
6069  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6070    lt_nm_to_check="$lt_nm_to_check nm"
6071  fi
6072  for lt_tmp_nm in $lt_nm_to_check; do
6073    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
6074    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6075      IFS=$lt_save_ifs
6076      test -z "$ac_dir" && ac_dir=.
6077      tmp_nm=$ac_dir/$lt_tmp_nm
6078      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
6079	# Check to see if the nm accepts a BSD-compat flag.
6080	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
6081	#   nm: unknown option "B" ignored
6082	# Tru64's nm complains that /dev/null is an invalid object file
6083	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
6084	case $build_os in
6085	mingw*) lt_bad_file=conftest.nm/nofile ;;
6086	*) lt_bad_file=/dev/null ;;
6087	esac
6088	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
6089	*$lt_bad_file* | *'Invalid file or object type'*)
6090	  lt_cv_path_NM="$tmp_nm -B"
6091	  break 2
6092	  ;;
6093	*)
6094	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6095	  */dev/null*)
6096	    lt_cv_path_NM="$tmp_nm -p"
6097	    break 2
6098	    ;;
6099	  *)
6100	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6101	    continue # so that we can try to find one that supports BSD flags
6102	    ;;
6103	  esac
6104	  ;;
6105	esac
6106      fi
6107    done
6108    IFS=$lt_save_ifs
6109  done
6110  : ${lt_cv_path_NM=no}
6111fi
6112fi
6113{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6114$as_echo "$lt_cv_path_NM" >&6; }
6115if test no != "$lt_cv_path_NM"; then
6116  NM=$lt_cv_path_NM
6117else
6118  # Didn't find any BSD compatible name lister, look for dumpbin.
6119  if test -n "$DUMPBIN"; then :
6120    # Let the user override the test.
6121  else
6122    if test -n "$ac_tool_prefix"; then
6123  for ac_prog in dumpbin "link -dump"
6124  do
6125    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6126set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6127{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6128$as_echo_n "checking for $ac_word... " >&6; }
6129if ${ac_cv_prog_DUMPBIN+:} false; then :
6130  $as_echo_n "(cached) " >&6
6131else
6132  if test -n "$DUMPBIN"; then
6133  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6134else
6135as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6136for as_dir in $PATH
6137do
6138  IFS=$as_save_IFS
6139  test -z "$as_dir" && as_dir=.
6140    for ac_exec_ext in '' $ac_executable_extensions; do
6141  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6142    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6143    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6144    break 2
6145  fi
6146done
6147  done
6148IFS=$as_save_IFS
6149
6150fi
6151fi
6152DUMPBIN=$ac_cv_prog_DUMPBIN
6153if test -n "$DUMPBIN"; then
6154  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6155$as_echo "$DUMPBIN" >&6; }
6156else
6157  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6158$as_echo "no" >&6; }
6159fi
6160
6161
6162    test -n "$DUMPBIN" && break
6163  done
6164fi
6165if test -z "$DUMPBIN"; then
6166  ac_ct_DUMPBIN=$DUMPBIN
6167  for ac_prog in dumpbin "link -dump"
6168do
6169  # Extract the first word of "$ac_prog", so it can be a program name with args.
6170set dummy $ac_prog; ac_word=$2
6171{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6172$as_echo_n "checking for $ac_word... " >&6; }
6173if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6174  $as_echo_n "(cached) " >&6
6175else
6176  if test -n "$ac_ct_DUMPBIN"; then
6177  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6178else
6179as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6180for as_dir in $PATH
6181do
6182  IFS=$as_save_IFS
6183  test -z "$as_dir" && as_dir=.
6184    for ac_exec_ext in '' $ac_executable_extensions; do
6185  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6186    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6187    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6188    break 2
6189  fi
6190done
6191  done
6192IFS=$as_save_IFS
6193
6194fi
6195fi
6196ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6197if test -n "$ac_ct_DUMPBIN"; then
6198  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6199$as_echo "$ac_ct_DUMPBIN" >&6; }
6200else
6201  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6202$as_echo "no" >&6; }
6203fi
6204
6205
6206  test -n "$ac_ct_DUMPBIN" && break
6207done
6208
6209  if test "x$ac_ct_DUMPBIN" = x; then
6210    DUMPBIN=":"
6211  else
6212    case $cross_compiling:$ac_tool_warned in
6213yes:)
6214{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6215$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6216ac_tool_warned=yes ;;
6217esac
6218    DUMPBIN=$ac_ct_DUMPBIN
6219  fi
6220fi
6221
6222    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
6223    *COFF*)
6224      DUMPBIN="$DUMPBIN -symbols -headers"
6225      ;;
6226    *)
6227      DUMPBIN=:
6228      ;;
6229    esac
6230  fi
6231
6232  if test : != "$DUMPBIN"; then
6233    NM=$DUMPBIN
6234  fi
6235fi
6236test -z "$NM" && NM=nm
6237
6238
6239
6240
6241
6242
6243{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6244$as_echo_n "checking the name lister ($NM) interface... " >&6; }
6245if ${lt_cv_nm_interface+:} false; then :
6246  $as_echo_n "(cached) " >&6
6247else
6248  lt_cv_nm_interface="BSD nm"
6249  echo "int some_variable = 0;" > conftest.$ac_ext
6250  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6251  (eval "$ac_compile" 2>conftest.err)
6252  cat conftest.err >&5
6253  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6254  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6255  cat conftest.err >&5
6256  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6257  cat conftest.out >&5
6258  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6259    lt_cv_nm_interface="MS dumpbin"
6260  fi
6261  rm -f conftest*
6262fi
6263{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6264$as_echo "$lt_cv_nm_interface" >&6; }
6265
6266{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6267$as_echo_n "checking whether ln -s works... " >&6; }
6268LN_S=$as_ln_s
6269if test "$LN_S" = "ln -s"; then
6270  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6271$as_echo "yes" >&6; }
6272else
6273  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6274$as_echo "no, using $LN_S" >&6; }
6275fi
6276
6277# find the maximum length of command line arguments
6278{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6279$as_echo_n "checking the maximum length of command line arguments... " >&6; }
6280if ${lt_cv_sys_max_cmd_len+:} false; then :
6281  $as_echo_n "(cached) " >&6
6282else
6283    i=0
6284  teststring=ABCD
6285
6286  case $build_os in
6287  msdosdjgpp*)
6288    # On DJGPP, this test can blow up pretty badly due to problems in libc
6289    # (any single argument exceeding 2000 bytes causes a buffer overrun
6290    # during glob expansion).  Even if it were fixed, the result of this
6291    # check would be larger than it should be.
6292    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6293    ;;
6294
6295  gnu*)
6296    # Under GNU Hurd, this test is not required because there is
6297    # no limit to the length of command line arguments.
6298    # Libtool will interpret -1 as no limit whatsoever
6299    lt_cv_sys_max_cmd_len=-1;
6300    ;;
6301
6302  cygwin* | mingw* | cegcc*)
6303    # On Win9x/ME, this test blows up -- it succeeds, but takes
6304    # about 5 minutes as the teststring grows exponentially.
6305    # Worse, since 9x/ME are not pre-emptively multitasking,
6306    # you end up with a "frozen" computer, even though with patience
6307    # the test eventually succeeds (with a max line length of 256k).
6308    # Instead, let's just punt: use the minimum linelength reported by
6309    # all of the supported platforms: 8192 (on NT/2K/XP).
6310    lt_cv_sys_max_cmd_len=8192;
6311    ;;
6312
6313  mint*)
6314    # On MiNT this can take a long time and run out of memory.
6315    lt_cv_sys_max_cmd_len=8192;
6316    ;;
6317
6318  amigaos*)
6319    # On AmigaOS with pdksh, this test takes hours, literally.
6320    # So we just punt and use a minimum line length of 8192.
6321    lt_cv_sys_max_cmd_len=8192;
6322    ;;
6323
6324  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
6325    # This has been around since 386BSD, at least.  Likely further.
6326    if test -x /sbin/sysctl; then
6327      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6328    elif test -x /usr/sbin/sysctl; then
6329      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6330    else
6331      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
6332    fi
6333    # And add a safety zone
6334    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6335    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6336    ;;
6337
6338  interix*)
6339    # We know the value 262144 and hardcode it with a safety zone (like BSD)
6340    lt_cv_sys_max_cmd_len=196608
6341    ;;
6342
6343  os2*)
6344    # The test takes a long time on OS/2.
6345    lt_cv_sys_max_cmd_len=8192
6346    ;;
6347
6348  osf*)
6349    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6350    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6351    # nice to cause kernel panics so lets avoid the loop below.
6352    # First set a reasonable default.
6353    lt_cv_sys_max_cmd_len=16384
6354    #
6355    if test -x /sbin/sysconfig; then
6356      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6357        *1*) lt_cv_sys_max_cmd_len=-1 ;;
6358      esac
6359    fi
6360    ;;
6361  sco3.2v5*)
6362    lt_cv_sys_max_cmd_len=102400
6363    ;;
6364  sysv5* | sco5v6* | sysv4.2uw2*)
6365    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6366    if test -n "$kargmax"; then
6367      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
6368    else
6369      lt_cv_sys_max_cmd_len=32768
6370    fi
6371    ;;
6372  *)
6373    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6374    if test -n "$lt_cv_sys_max_cmd_len" && \
6375       test undefined != "$lt_cv_sys_max_cmd_len"; then
6376      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6377      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6378    else
6379      # Make teststring a little bigger before we do anything with it.
6380      # a 1K string should be a reasonable start.
6381      for i in 1 2 3 4 5 6 7 8; do
6382        teststring=$teststring$teststring
6383      done
6384      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6385      # If test is not a shell built-in, we'll probably end up computing a
6386      # maximum length that is only half of the actual maximum length, but
6387      # we can't tell.
6388      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
6389	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6390	      test 17 != "$i" # 1/2 MB should be enough
6391      do
6392        i=`expr $i + 1`
6393        teststring=$teststring$teststring
6394      done
6395      # Only check the string length outside the loop.
6396      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6397      teststring=
6398      # Add a significant safety factor because C++ compilers can tack on
6399      # massive amounts of additional arguments before passing them to the
6400      # linker.  It appears as though 1/2 is a usable value.
6401      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6402    fi
6403    ;;
6404  esac
6405
6406fi
6407
6408if test -n "$lt_cv_sys_max_cmd_len"; then
6409  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6410$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6411else
6412  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6413$as_echo "none" >&6; }
6414fi
6415max_cmd_len=$lt_cv_sys_max_cmd_len
6416
6417
6418
6419
6420
6421
6422: ${CP="cp -f"}
6423: ${MV="mv -f"}
6424: ${RM="rm -f"}
6425
6426if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6427  lt_unset=unset
6428else
6429  lt_unset=false
6430fi
6431
6432
6433
6434
6435
6436# test EBCDIC or ASCII
6437case `echo X|tr X '\101'` in
6438 A) # ASCII based system
6439    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6440  lt_SP2NL='tr \040 \012'
6441  lt_NL2SP='tr \015\012 \040\040'
6442  ;;
6443 *) # EBCDIC based system
6444  lt_SP2NL='tr \100 \n'
6445  lt_NL2SP='tr \r\n \100\100'
6446  ;;
6447esac
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6458$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6459if ${lt_cv_to_host_file_cmd+:} false; then :
6460  $as_echo_n "(cached) " >&6
6461else
6462  case $host in
6463  *-*-mingw* )
6464    case $build in
6465      *-*-mingw* ) # actually msys
6466        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6467        ;;
6468      *-*-cygwin* )
6469        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6470        ;;
6471      * ) # otherwise, assume *nix
6472        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6473        ;;
6474    esac
6475    ;;
6476  *-*-cygwin* )
6477    case $build in
6478      *-*-mingw* ) # actually msys
6479        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6480        ;;
6481      *-*-cygwin* )
6482        lt_cv_to_host_file_cmd=func_convert_file_noop
6483        ;;
6484      * ) # otherwise, assume *nix
6485        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6486        ;;
6487    esac
6488    ;;
6489  * ) # unhandled hosts (and "normal" native builds)
6490    lt_cv_to_host_file_cmd=func_convert_file_noop
6491    ;;
6492esac
6493
6494fi
6495
6496to_host_file_cmd=$lt_cv_to_host_file_cmd
6497{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6498$as_echo "$lt_cv_to_host_file_cmd" >&6; }
6499
6500
6501
6502
6503
6504{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6505$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6506if ${lt_cv_to_tool_file_cmd+:} false; then :
6507  $as_echo_n "(cached) " >&6
6508else
6509  #assume ordinary cross tools, or native build.
6510lt_cv_to_tool_file_cmd=func_convert_file_noop
6511case $host in
6512  *-*-mingw* )
6513    case $build in
6514      *-*-mingw* ) # actually msys
6515        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6516        ;;
6517    esac
6518    ;;
6519esac
6520
6521fi
6522
6523to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6524{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6525$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6526
6527
6528
6529
6530
6531{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6532$as_echo_n "checking for $LD option to reload object files... " >&6; }
6533if ${lt_cv_ld_reload_flag+:} false; then :
6534  $as_echo_n "(cached) " >&6
6535else
6536  lt_cv_ld_reload_flag='-r'
6537fi
6538{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6539$as_echo "$lt_cv_ld_reload_flag" >&6; }
6540reload_flag=$lt_cv_ld_reload_flag
6541case $reload_flag in
6542"" | " "*) ;;
6543*) reload_flag=" $reload_flag" ;;
6544esac
6545reload_cmds='$LD$reload_flag -o $output$reload_objs'
6546case $host_os in
6547  cygwin* | mingw* | pw32* | cegcc*)
6548    if test yes != "$GCC"; then
6549      reload_cmds=false
6550    fi
6551    ;;
6552  darwin*)
6553    if test yes = "$GCC"; then
6554      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6555    else
6556      reload_cmds='$LD$reload_flag -o $output$reload_objs'
6557    fi
6558    ;;
6559esac
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569if test -n "$ac_tool_prefix"; then
6570  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6571set dummy ${ac_tool_prefix}objdump; ac_word=$2
6572{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6573$as_echo_n "checking for $ac_word... " >&6; }
6574if ${ac_cv_prog_OBJDUMP+:} false; then :
6575  $as_echo_n "(cached) " >&6
6576else
6577  if test -n "$OBJDUMP"; then
6578  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6579else
6580as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6581for as_dir in $PATH
6582do
6583  IFS=$as_save_IFS
6584  test -z "$as_dir" && as_dir=.
6585    for ac_exec_ext in '' $ac_executable_extensions; do
6586  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6587    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6588    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6589    break 2
6590  fi
6591done
6592  done
6593IFS=$as_save_IFS
6594
6595fi
6596fi
6597OBJDUMP=$ac_cv_prog_OBJDUMP
6598if test -n "$OBJDUMP"; then
6599  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6600$as_echo "$OBJDUMP" >&6; }
6601else
6602  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6603$as_echo "no" >&6; }
6604fi
6605
6606
6607fi
6608if test -z "$ac_cv_prog_OBJDUMP"; then
6609  ac_ct_OBJDUMP=$OBJDUMP
6610  # Extract the first word of "objdump", so it can be a program name with args.
6611set dummy objdump; ac_word=$2
6612{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6613$as_echo_n "checking for $ac_word... " >&6; }
6614if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6615  $as_echo_n "(cached) " >&6
6616else
6617  if test -n "$ac_ct_OBJDUMP"; then
6618  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6619else
6620as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6621for as_dir in $PATH
6622do
6623  IFS=$as_save_IFS
6624  test -z "$as_dir" && as_dir=.
6625    for ac_exec_ext in '' $ac_executable_extensions; do
6626  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6627    ac_cv_prog_ac_ct_OBJDUMP="objdump"
6628    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6629    break 2
6630  fi
6631done
6632  done
6633IFS=$as_save_IFS
6634
6635fi
6636fi
6637ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6638if test -n "$ac_ct_OBJDUMP"; then
6639  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6640$as_echo "$ac_ct_OBJDUMP" >&6; }
6641else
6642  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6643$as_echo "no" >&6; }
6644fi
6645
6646  if test "x$ac_ct_OBJDUMP" = x; then
6647    OBJDUMP="false"
6648  else
6649    case $cross_compiling:$ac_tool_warned in
6650yes:)
6651{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6652$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6653ac_tool_warned=yes ;;
6654esac
6655    OBJDUMP=$ac_ct_OBJDUMP
6656  fi
6657else
6658  OBJDUMP="$ac_cv_prog_OBJDUMP"
6659fi
6660
6661test -z "$OBJDUMP" && OBJDUMP=objdump
6662
6663
6664
6665
6666
6667
6668{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6669$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6670if ${lt_cv_deplibs_check_method+:} false; then :
6671  $as_echo_n "(cached) " >&6
6672else
6673  lt_cv_file_magic_cmd='$MAGIC_CMD'
6674lt_cv_file_magic_test_file=
6675lt_cv_deplibs_check_method='unknown'
6676# Need to set the preceding variable on all platforms that support
6677# interlibrary dependencies.
6678# 'none' -- dependencies not supported.
6679# 'unknown' -- same as none, but documents that we really don't know.
6680# 'pass_all' -- all dependencies passed with no checks.
6681# 'test_compile' -- check by making test program.
6682# 'file_magic [[regex]]' -- check by looking for files in library path
6683# that responds to the $file_magic_cmd with a given extended regex.
6684# If you have 'file' or equivalent on your system and you're not sure
6685# whether 'pass_all' will *always* work, you probably want this one.
6686
6687case $host_os in
6688aix[4-9]*)
6689  lt_cv_deplibs_check_method=pass_all
6690  ;;
6691
6692beos*)
6693  lt_cv_deplibs_check_method=pass_all
6694  ;;
6695
6696bsdi[45]*)
6697  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6698  lt_cv_file_magic_cmd='/usr/bin/file -L'
6699  lt_cv_file_magic_test_file=/shlib/libc.so
6700  ;;
6701
6702cygwin*)
6703  # func_win32_libid is a shell function defined in ltmain.sh
6704  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6705  lt_cv_file_magic_cmd='func_win32_libid'
6706  ;;
6707
6708mingw* | pw32*)
6709  # Base MSYS/MinGW do not provide the 'file' command needed by
6710  # func_win32_libid shell function, so use a weaker test based on 'objdump',
6711  # unless we find 'file', for example because we are cross-compiling.
6712  if ( file / ) >/dev/null 2>&1; then
6713    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6714    lt_cv_file_magic_cmd='func_win32_libid'
6715  else
6716    # Keep this pattern in sync with the one in func_win32_libid.
6717    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6718    lt_cv_file_magic_cmd='$OBJDUMP -f'
6719  fi
6720  ;;
6721
6722cegcc*)
6723  # use the weaker test based on 'objdump'. See mingw*.
6724  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6725  lt_cv_file_magic_cmd='$OBJDUMP -f'
6726  ;;
6727
6728darwin* | rhapsody*)
6729  lt_cv_deplibs_check_method=pass_all
6730  ;;
6731
6732freebsd* | dragonfly*)
6733  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6734    case $host_cpu in
6735    i*86 )
6736      # Not sure whether the presence of OpenBSD here was a mistake.
6737      # Let's accept both of them until this is cleared up.
6738      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6739      lt_cv_file_magic_cmd=/usr/bin/file
6740      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6741      ;;
6742    esac
6743  else
6744    lt_cv_deplibs_check_method=pass_all
6745  fi
6746  ;;
6747
6748haiku*)
6749  lt_cv_deplibs_check_method=pass_all
6750  ;;
6751
6752hpux10.20* | hpux11*)
6753  lt_cv_file_magic_cmd=/usr/bin/file
6754  case $host_cpu in
6755  ia64*)
6756    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6757    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6758    ;;
6759  hppa*64*)
6760    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]'
6761    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6762    ;;
6763  *)
6764    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6765    lt_cv_file_magic_test_file=/usr/lib/libc.sl
6766    ;;
6767  esac
6768  ;;
6769
6770interix[3-9]*)
6771  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6772  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6773  ;;
6774
6775irix5* | irix6* | nonstopux*)
6776  case $LD in
6777  *-32|*"-32 ") libmagic=32-bit;;
6778  *-n32|*"-n32 ") libmagic=N32;;
6779  *-64|*"-64 ") libmagic=64-bit;;
6780  *) libmagic=never-match;;
6781  esac
6782  lt_cv_deplibs_check_method=pass_all
6783  ;;
6784
6785# This must be glibc/ELF.
6786linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6787  lt_cv_deplibs_check_method=pass_all
6788  ;;
6789
6790netbsd*)
6791  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6792    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6793  else
6794    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6795  fi
6796  ;;
6797
6798newos6*)
6799  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6800  lt_cv_file_magic_cmd=/usr/bin/file
6801  lt_cv_file_magic_test_file=/usr/lib/libnls.so
6802  ;;
6803
6804*nto* | *qnx*)
6805  lt_cv_deplibs_check_method=pass_all
6806  ;;
6807
6808openbsd* | bitrig*)
6809  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6810    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6811  else
6812    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6813  fi
6814  ;;
6815
6816osf3* | osf4* | osf5*)
6817  lt_cv_deplibs_check_method=pass_all
6818  ;;
6819
6820rdos*)
6821  lt_cv_deplibs_check_method=pass_all
6822  ;;
6823
6824solaris*)
6825  lt_cv_deplibs_check_method=pass_all
6826  ;;
6827
6828sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6829  lt_cv_deplibs_check_method=pass_all
6830  ;;
6831
6832sysv4 | sysv4.3*)
6833  case $host_vendor in
6834  motorola)
6835    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]'
6836    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6837    ;;
6838  ncr)
6839    lt_cv_deplibs_check_method=pass_all
6840    ;;
6841  sequent)
6842    lt_cv_file_magic_cmd='/bin/file'
6843    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6844    ;;
6845  sni)
6846    lt_cv_file_magic_cmd='/bin/file'
6847    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6848    lt_cv_file_magic_test_file=/lib/libc.so
6849    ;;
6850  siemens)
6851    lt_cv_deplibs_check_method=pass_all
6852    ;;
6853  pc)
6854    lt_cv_deplibs_check_method=pass_all
6855    ;;
6856  esac
6857  ;;
6858
6859tpf*)
6860  lt_cv_deplibs_check_method=pass_all
6861  ;;
6862os2*)
6863  lt_cv_deplibs_check_method=pass_all
6864  ;;
6865esac
6866
6867fi
6868{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6869$as_echo "$lt_cv_deplibs_check_method" >&6; }
6870
6871file_magic_glob=
6872want_nocaseglob=no
6873if test "$build" = "$host"; then
6874  case $host_os in
6875  mingw* | pw32*)
6876    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6877      want_nocaseglob=yes
6878    else
6879      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6880    fi
6881    ;;
6882  esac
6883fi
6884
6885file_magic_cmd=$lt_cv_file_magic_cmd
6886deplibs_check_method=$lt_cv_deplibs_check_method
6887test -z "$deplibs_check_method" && deplibs_check_method=unknown
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910if test -n "$ac_tool_prefix"; then
6911  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6912set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6913{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6914$as_echo_n "checking for $ac_word... " >&6; }
6915if ${ac_cv_prog_DLLTOOL+:} false; then :
6916  $as_echo_n "(cached) " >&6
6917else
6918  if test -n "$DLLTOOL"; then
6919  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6920else
6921as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6922for as_dir in $PATH
6923do
6924  IFS=$as_save_IFS
6925  test -z "$as_dir" && as_dir=.
6926    for ac_exec_ext in '' $ac_executable_extensions; do
6927  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6928    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6929    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6930    break 2
6931  fi
6932done
6933  done
6934IFS=$as_save_IFS
6935
6936fi
6937fi
6938DLLTOOL=$ac_cv_prog_DLLTOOL
6939if test -n "$DLLTOOL"; then
6940  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6941$as_echo "$DLLTOOL" >&6; }
6942else
6943  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6944$as_echo "no" >&6; }
6945fi
6946
6947
6948fi
6949if test -z "$ac_cv_prog_DLLTOOL"; then
6950  ac_ct_DLLTOOL=$DLLTOOL
6951  # Extract the first word of "dlltool", so it can be a program name with args.
6952set dummy dlltool; ac_word=$2
6953{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6954$as_echo_n "checking for $ac_word... " >&6; }
6955if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6956  $as_echo_n "(cached) " >&6
6957else
6958  if test -n "$ac_ct_DLLTOOL"; then
6959  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6960else
6961as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6962for as_dir in $PATH
6963do
6964  IFS=$as_save_IFS
6965  test -z "$as_dir" && as_dir=.
6966    for ac_exec_ext in '' $ac_executable_extensions; do
6967  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6968    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6969    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6970    break 2
6971  fi
6972done
6973  done
6974IFS=$as_save_IFS
6975
6976fi
6977fi
6978ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6979if test -n "$ac_ct_DLLTOOL"; then
6980  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6981$as_echo "$ac_ct_DLLTOOL" >&6; }
6982else
6983  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6984$as_echo "no" >&6; }
6985fi
6986
6987  if test "x$ac_ct_DLLTOOL" = x; then
6988    DLLTOOL="false"
6989  else
6990    case $cross_compiling:$ac_tool_warned in
6991yes:)
6992{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6993$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6994ac_tool_warned=yes ;;
6995esac
6996    DLLTOOL=$ac_ct_DLLTOOL
6997  fi
6998else
6999  DLLTOOL="$ac_cv_prog_DLLTOOL"
7000fi
7001
7002test -z "$DLLTOOL" && DLLTOOL=dlltool
7003
7004
7005
7006
7007
7008
7009
7010{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
7011$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
7012if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
7013  $as_echo_n "(cached) " >&6
7014else
7015  lt_cv_sharedlib_from_linklib_cmd='unknown'
7016
7017case $host_os in
7018cygwin* | mingw* | pw32* | cegcc*)
7019  # two different shell functions defined in ltmain.sh;
7020  # decide which one to use based on capabilities of $DLLTOOL
7021  case `$DLLTOOL --help 2>&1` in
7022  *--identify-strict*)
7023    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
7024    ;;
7025  *)
7026    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
7027    ;;
7028  esac
7029  ;;
7030*)
7031  # fallback: assume linklib IS sharedlib
7032  lt_cv_sharedlib_from_linklib_cmd=$ECHO
7033  ;;
7034esac
7035
7036fi
7037{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
7038$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7039sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
7040test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
7041
7042
7043
7044
7045
7046
7047
7048if test -n "$ac_tool_prefix"; then
7049  for ac_prog in ar
7050  do
7051    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7052set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7053{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7054$as_echo_n "checking for $ac_word... " >&6; }
7055if ${ac_cv_prog_AR+:} false; then :
7056  $as_echo_n "(cached) " >&6
7057else
7058  if test -n "$AR"; then
7059  ac_cv_prog_AR="$AR" # Let the user override the test.
7060else
7061as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7062for as_dir in $PATH
7063do
7064  IFS=$as_save_IFS
7065  test -z "$as_dir" && as_dir=.
7066    for ac_exec_ext in '' $ac_executable_extensions; do
7067  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7068    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7069    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7070    break 2
7071  fi
7072done
7073  done
7074IFS=$as_save_IFS
7075
7076fi
7077fi
7078AR=$ac_cv_prog_AR
7079if test -n "$AR"; then
7080  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7081$as_echo "$AR" >&6; }
7082else
7083  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7084$as_echo "no" >&6; }
7085fi
7086
7087
7088    test -n "$AR" && break
7089  done
7090fi
7091if test -z "$AR"; then
7092  ac_ct_AR=$AR
7093  for ac_prog in ar
7094do
7095  # Extract the first word of "$ac_prog", so it can be a program name with args.
7096set dummy $ac_prog; ac_word=$2
7097{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7098$as_echo_n "checking for $ac_word... " >&6; }
7099if ${ac_cv_prog_ac_ct_AR+:} false; then :
7100  $as_echo_n "(cached) " >&6
7101else
7102  if test -n "$ac_ct_AR"; then
7103  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7104else
7105as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7106for as_dir in $PATH
7107do
7108  IFS=$as_save_IFS
7109  test -z "$as_dir" && as_dir=.
7110    for ac_exec_ext in '' $ac_executable_extensions; do
7111  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7112    ac_cv_prog_ac_ct_AR="$ac_prog"
7113    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7114    break 2
7115  fi
7116done
7117  done
7118IFS=$as_save_IFS
7119
7120fi
7121fi
7122ac_ct_AR=$ac_cv_prog_ac_ct_AR
7123if test -n "$ac_ct_AR"; then
7124  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7125$as_echo "$ac_ct_AR" >&6; }
7126else
7127  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7128$as_echo "no" >&6; }
7129fi
7130
7131
7132  test -n "$ac_ct_AR" && break
7133done
7134
7135  if test "x$ac_ct_AR" = x; then
7136    AR="false"
7137  else
7138    case $cross_compiling:$ac_tool_warned in
7139yes:)
7140{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7141$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7142ac_tool_warned=yes ;;
7143esac
7144    AR=$ac_ct_AR
7145  fi
7146fi
7147
7148: ${AR=ar}
7149: ${AR_FLAGS=cru}
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7162$as_echo_n "checking for archiver @FILE support... " >&6; }
7163if ${lt_cv_ar_at_file+:} false; then :
7164  $as_echo_n "(cached) " >&6
7165else
7166  lt_cv_ar_at_file=no
7167   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7168/* end confdefs.h.  */
7169
7170int
7171main ()
7172{
7173
7174  ;
7175  return 0;
7176}
7177_ACEOF
7178if ac_fn_c_try_compile "$LINENO"; then :
7179  echo conftest.$ac_objext > conftest.lst
7180      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7181      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7182  (eval $lt_ar_try) 2>&5
7183  ac_status=$?
7184  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7185  test $ac_status = 0; }
7186      if test 0 -eq "$ac_status"; then
7187	# Ensure the archiver fails upon bogus file names.
7188	rm -f conftest.$ac_objext libconftest.a
7189	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7190  (eval $lt_ar_try) 2>&5
7191  ac_status=$?
7192  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7193  test $ac_status = 0; }
7194	if test 0 -ne "$ac_status"; then
7195          lt_cv_ar_at_file=@
7196        fi
7197      fi
7198      rm -f conftest.* libconftest.a
7199
7200fi
7201rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7202
7203fi
7204{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7205$as_echo "$lt_cv_ar_at_file" >&6; }
7206
7207if test no = "$lt_cv_ar_at_file"; then
7208  archiver_list_spec=
7209else
7210  archiver_list_spec=$lt_cv_ar_at_file
7211fi
7212
7213
7214
7215
7216
7217
7218
7219if test -n "$ac_tool_prefix"; then
7220  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7221set dummy ${ac_tool_prefix}strip; ac_word=$2
7222{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7223$as_echo_n "checking for $ac_word... " >&6; }
7224if ${ac_cv_prog_STRIP+:} false; then :
7225  $as_echo_n "(cached) " >&6
7226else
7227  if test -n "$STRIP"; then
7228  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7229else
7230as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7231for as_dir in $PATH
7232do
7233  IFS=$as_save_IFS
7234  test -z "$as_dir" && as_dir=.
7235    for ac_exec_ext in '' $ac_executable_extensions; do
7236  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7237    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7238    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7239    break 2
7240  fi
7241done
7242  done
7243IFS=$as_save_IFS
7244
7245fi
7246fi
7247STRIP=$ac_cv_prog_STRIP
7248if test -n "$STRIP"; then
7249  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7250$as_echo "$STRIP" >&6; }
7251else
7252  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7253$as_echo "no" >&6; }
7254fi
7255
7256
7257fi
7258if test -z "$ac_cv_prog_STRIP"; then
7259  ac_ct_STRIP=$STRIP
7260  # Extract the first word of "strip", so it can be a program name with args.
7261set dummy strip; ac_word=$2
7262{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7263$as_echo_n "checking for $ac_word... " >&6; }
7264if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7265  $as_echo_n "(cached) " >&6
7266else
7267  if test -n "$ac_ct_STRIP"; then
7268  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7269else
7270as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7271for as_dir in $PATH
7272do
7273  IFS=$as_save_IFS
7274  test -z "$as_dir" && as_dir=.
7275    for ac_exec_ext in '' $ac_executable_extensions; do
7276  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7277    ac_cv_prog_ac_ct_STRIP="strip"
7278    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7279    break 2
7280  fi
7281done
7282  done
7283IFS=$as_save_IFS
7284
7285fi
7286fi
7287ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7288if test -n "$ac_ct_STRIP"; then
7289  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7290$as_echo "$ac_ct_STRIP" >&6; }
7291else
7292  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7293$as_echo "no" >&6; }
7294fi
7295
7296  if test "x$ac_ct_STRIP" = x; then
7297    STRIP=":"
7298  else
7299    case $cross_compiling:$ac_tool_warned in
7300yes:)
7301{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7302$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7303ac_tool_warned=yes ;;
7304esac
7305    STRIP=$ac_ct_STRIP
7306  fi
7307else
7308  STRIP="$ac_cv_prog_STRIP"
7309fi
7310
7311test -z "$STRIP" && STRIP=:
7312
7313
7314
7315
7316
7317
7318if test -n "$ac_tool_prefix"; then
7319  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7320set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7321{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7322$as_echo_n "checking for $ac_word... " >&6; }
7323if ${ac_cv_prog_RANLIB+:} false; then :
7324  $as_echo_n "(cached) " >&6
7325else
7326  if test -n "$RANLIB"; then
7327  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7328else
7329as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7330for as_dir in $PATH
7331do
7332  IFS=$as_save_IFS
7333  test -z "$as_dir" && as_dir=.
7334    for ac_exec_ext in '' $ac_executable_extensions; do
7335  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7336    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7337    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7338    break 2
7339  fi
7340done
7341  done
7342IFS=$as_save_IFS
7343
7344fi
7345fi
7346RANLIB=$ac_cv_prog_RANLIB
7347if test -n "$RANLIB"; then
7348  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7349$as_echo "$RANLIB" >&6; }
7350else
7351  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7352$as_echo "no" >&6; }
7353fi
7354
7355
7356fi
7357if test -z "$ac_cv_prog_RANLIB"; then
7358  ac_ct_RANLIB=$RANLIB
7359  # Extract the first word of "ranlib", so it can be a program name with args.
7360set dummy ranlib; ac_word=$2
7361{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7362$as_echo_n "checking for $ac_word... " >&6; }
7363if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7364  $as_echo_n "(cached) " >&6
7365else
7366  if test -n "$ac_ct_RANLIB"; then
7367  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7368else
7369as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7370for as_dir in $PATH
7371do
7372  IFS=$as_save_IFS
7373  test -z "$as_dir" && as_dir=.
7374    for ac_exec_ext in '' $ac_executable_extensions; do
7375  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7376    ac_cv_prog_ac_ct_RANLIB="ranlib"
7377    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7378    break 2
7379  fi
7380done
7381  done
7382IFS=$as_save_IFS
7383
7384fi
7385fi
7386ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7387if test -n "$ac_ct_RANLIB"; then
7388  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7389$as_echo "$ac_ct_RANLIB" >&6; }
7390else
7391  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7392$as_echo "no" >&6; }
7393fi
7394
7395  if test "x$ac_ct_RANLIB" = x; then
7396    RANLIB=":"
7397  else
7398    case $cross_compiling:$ac_tool_warned in
7399yes:)
7400{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7401$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7402ac_tool_warned=yes ;;
7403esac
7404    RANLIB=$ac_ct_RANLIB
7405  fi
7406else
7407  RANLIB="$ac_cv_prog_RANLIB"
7408fi
7409
7410test -z "$RANLIB" && RANLIB=:
7411
7412
7413
7414
7415
7416
7417# Determine commands to create old-style static archives.
7418old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7419old_postinstall_cmds='chmod 644 $oldlib'
7420old_postuninstall_cmds=
7421
7422if test -n "$RANLIB"; then
7423  case $host_os in
7424  bitrig* | openbsd*)
7425    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7426    ;;
7427  *)
7428    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7429    ;;
7430  esac
7431  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7432fi
7433
7434case $host_os in
7435  darwin*)
7436    lock_old_archive_extraction=yes ;;
7437  *)
7438    lock_old_archive_extraction=no ;;
7439esac
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479# If no C compiler was specified, use CC.
7480LTCC=${LTCC-"$CC"}
7481
7482# If no C compiler flags were specified, use CFLAGS.
7483LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7484
7485# Allow CC to be a program name with arguments.
7486compiler=$CC
7487
7488
7489# Check for command to grab the raw symbol name followed by C symbol from nm.
7490{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7491$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7492if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7493  $as_echo_n "(cached) " >&6
7494else
7495
7496# These are sane defaults that work on at least a few old systems.
7497# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7498
7499# Character class describing NM global symbol codes.
7500symcode='[BCDEGRST]'
7501
7502# Regexp to match symbols that can be accessed directly from C.
7503sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7504
7505# Define system-specific variables.
7506case $host_os in
7507aix*)
7508  symcode='[BCDT]'
7509  ;;
7510cygwin* | mingw* | pw32* | cegcc*)
7511  symcode='[ABCDGISTW]'
7512  ;;
7513hpux*)
7514  if test ia64 = "$host_cpu"; then
7515    symcode='[ABCDEGRST]'
7516  fi
7517  ;;
7518irix* | nonstopux*)
7519  symcode='[BCDEGRST]'
7520  ;;
7521osf*)
7522  symcode='[BCDEGQRST]'
7523  ;;
7524solaris*)
7525  symcode='[BDRT]'
7526  ;;
7527sco3.2v5*)
7528  symcode='[DT]'
7529  ;;
7530sysv4.2uw2*)
7531  symcode='[DT]'
7532  ;;
7533sysv5* | sco5v6* | unixware* | OpenUNIX*)
7534  symcode='[ABDT]'
7535  ;;
7536sysv4)
7537  symcode='[DFNSTU]'
7538  ;;
7539esac
7540
7541# If we're using GNU nm, then use its standard symbol codes.
7542case `$NM -V 2>&1` in
7543*GNU* | *'with BFD'*)
7544  symcode='[ABCDGIRSTW]' ;;
7545esac
7546
7547if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7548  # Gets list of data symbols to import.
7549  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
7550  # Adjust the below global symbol transforms to fixup imported variables.
7551  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7552  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
7553  lt_c_name_lib_hook="\
7554  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
7555  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
7556else
7557  # Disable hooks by default.
7558  lt_cv_sys_global_symbol_to_import=
7559  lt_cdecl_hook=
7560  lt_c_name_hook=
7561  lt_c_name_lib_hook=
7562fi
7563
7564# Transform an extracted symbol line into a proper C declaration.
7565# Some systems (esp. on ia64) link data and code symbols differently,
7566# so use this general approach.
7567lt_cv_sys_global_symbol_to_cdecl="sed -n"\
7568$lt_cdecl_hook\
7569" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7570" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7571
7572# Transform an extracted symbol line into symbol name and symbol address
7573lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
7574$lt_c_name_hook\
7575" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
7576" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
7577
7578# Transform an extracted symbol line into symbol name with lib prefix and
7579# symbol address.
7580lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
7581$lt_c_name_lib_hook\
7582" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
7583" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
7584" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
7585
7586# Handle CRLF in mingw tool chain
7587opt_cr=
7588case $build_os in
7589mingw*)
7590  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7591  ;;
7592esac
7593
7594# Try without a prefix underscore, then with it.
7595for ac_symprfx in "" "_"; do
7596
7597  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7598  symxfrm="\\1 $ac_symprfx\\2 \\2"
7599
7600  # Write the raw and C identifiers.
7601  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7602    # Fake it for dumpbin and say T for any non-static function,
7603    # D for any global variable and I for any imported variable.
7604    # Also find C++ and __fastcall symbols from MSVC++,
7605    # which start with @ or ?.
7606    lt_cv_sys_global_symbol_pipe="$AWK '"\
7607"     {last_section=section; section=\$ 3};"\
7608"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7609"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7610"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7611"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7612"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7613"     \$ 0!~/External *\|/{next};"\
7614"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7615"     {if(hide[section]) next};"\
7616"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7617"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7618"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7619"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7620"     ' prfx=^$ac_symprfx"
7621  else
7622    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7623  fi
7624  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7625
7626  # Check to see that the pipe works correctly.
7627  pipe_works=no
7628
7629  rm -f conftest*
7630  cat > conftest.$ac_ext <<_LT_EOF
7631#ifdef __cplusplus
7632extern "C" {
7633#endif
7634char nm_test_var;
7635void nm_test_func(void);
7636void nm_test_func(void){}
7637#ifdef __cplusplus
7638}
7639#endif
7640int main(){nm_test_var='a';nm_test_func();return(0);}
7641_LT_EOF
7642
7643  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7644  (eval $ac_compile) 2>&5
7645  ac_status=$?
7646  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7647  test $ac_status = 0; }; then
7648    # Now try to grab the symbols.
7649    nlist=conftest.nm
7650    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7651  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7652  ac_status=$?
7653  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7654  test $ac_status = 0; } && test -s "$nlist"; then
7655      # Try sorting and uniquifying the output.
7656      if sort "$nlist" | uniq > "$nlist"T; then
7657	mv -f "$nlist"T "$nlist"
7658      else
7659	rm -f "$nlist"T
7660      fi
7661
7662      # Make sure that we snagged all the symbols we need.
7663      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7664	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7665	  cat <<_LT_EOF > conftest.$ac_ext
7666/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
7667#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7668/* DATA imports from DLLs on WIN32 can't be const, because runtime
7669   relocations are performed -- see ld's documentation on pseudo-relocs.  */
7670# define LT_DLSYM_CONST
7671#elif defined __osf__
7672/* This system does not cope well with relocations in const data.  */
7673# define LT_DLSYM_CONST
7674#else
7675# define LT_DLSYM_CONST const
7676#endif
7677
7678#ifdef __cplusplus
7679extern "C" {
7680#endif
7681
7682_LT_EOF
7683	  # Now generate the symbol file.
7684	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7685
7686	  cat <<_LT_EOF >> conftest.$ac_ext
7687
7688/* The mapping between symbol names and symbols.  */
7689LT_DLSYM_CONST struct {
7690  const char *name;
7691  void       *address;
7692}
7693lt__PROGRAM__LTX_preloaded_symbols[] =
7694{
7695  { "@PROGRAM@", (void *) 0 },
7696_LT_EOF
7697	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7698	  cat <<\_LT_EOF >> conftest.$ac_ext
7699  {0, (void *) 0}
7700};
7701
7702/* This works around a problem in FreeBSD linker */
7703#ifdef FREEBSD_WORKAROUND
7704static const void *lt_preloaded_setup() {
7705  return lt__PROGRAM__LTX_preloaded_symbols;
7706}
7707#endif
7708
7709#ifdef __cplusplus
7710}
7711#endif
7712_LT_EOF
7713	  # Now try linking the two files.
7714	  mv conftest.$ac_objext conftstm.$ac_objext
7715	  lt_globsym_save_LIBS=$LIBS
7716	  lt_globsym_save_CFLAGS=$CFLAGS
7717	  LIBS=conftstm.$ac_objext
7718	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7719	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7720  (eval $ac_link) 2>&5
7721  ac_status=$?
7722  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7723  test $ac_status = 0; } && test -s conftest$ac_exeext; then
7724	    pipe_works=yes
7725	  fi
7726	  LIBS=$lt_globsym_save_LIBS
7727	  CFLAGS=$lt_globsym_save_CFLAGS
7728	else
7729	  echo "cannot find nm_test_func in $nlist" >&5
7730	fi
7731      else
7732	echo "cannot find nm_test_var in $nlist" >&5
7733      fi
7734    else
7735      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7736    fi
7737  else
7738    echo "$progname: failed program was:" >&5
7739    cat conftest.$ac_ext >&5
7740  fi
7741  rm -rf conftest* conftst*
7742
7743  # Do not use the global_symbol_pipe unless it works.
7744  if test yes = "$pipe_works"; then
7745    break
7746  else
7747    lt_cv_sys_global_symbol_pipe=
7748  fi
7749done
7750
7751fi
7752
7753if test -z "$lt_cv_sys_global_symbol_pipe"; then
7754  lt_cv_sys_global_symbol_to_cdecl=
7755fi
7756if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7757  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7758$as_echo "failed" >&6; }
7759else
7760  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7761$as_echo "ok" >&6; }
7762fi
7763
7764# Response file support.
7765if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7766  nm_file_list_spec='@'
7767elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7768  nm_file_list_spec='@'
7769fi
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7808$as_echo_n "checking for sysroot... " >&6; }
7809
7810# Check whether --with-sysroot was given.
7811if test "${with_sysroot+set}" = set; then :
7812  withval=$with_sysroot;
7813else
7814  with_sysroot=no
7815fi
7816
7817
7818lt_sysroot=
7819case $with_sysroot in #(
7820 yes)
7821   if test yes = "$GCC"; then
7822     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7823   fi
7824   ;; #(
7825 /*)
7826   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7827   ;; #(
7828 no|'')
7829   ;; #(
7830 *)
7831   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7832$as_echo "$with_sysroot" >&6; }
7833   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7834   ;;
7835esac
7836
7837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7838$as_echo "${lt_sysroot:-no}" >&6; }
7839
7840
7841
7842
7843
7844{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
7845$as_echo_n "checking for a working dd... " >&6; }
7846if ${ac_cv_path_lt_DD+:} false; then :
7847  $as_echo_n "(cached) " >&6
7848else
7849  printf 0123456789abcdef0123456789abcdef >conftest.i
7850cat conftest.i conftest.i >conftest2.i
7851: ${lt_DD:=$DD}
7852if test -z "$lt_DD"; then
7853  ac_path_lt_DD_found=false
7854  # Loop through the user's path and test for each of PROGNAME-LIST
7855  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7856for as_dir in $PATH
7857do
7858  IFS=$as_save_IFS
7859  test -z "$as_dir" && as_dir=.
7860    for ac_prog in dd; do
7861    for ac_exec_ext in '' $ac_executable_extensions; do
7862      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
7863      as_fn_executable_p "$ac_path_lt_DD" || continue
7864if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7865  cmp -s conftest.i conftest.out \
7866  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
7867fi
7868      $ac_path_lt_DD_found && break 3
7869    done
7870  done
7871  done
7872IFS=$as_save_IFS
7873  if test -z "$ac_cv_path_lt_DD"; then
7874    :
7875  fi
7876else
7877  ac_cv_path_lt_DD=$lt_DD
7878fi
7879
7880rm -f conftest.i conftest2.i conftest.out
7881fi
7882{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
7883$as_echo "$ac_cv_path_lt_DD" >&6; }
7884
7885
7886{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
7887$as_echo_n "checking how to truncate binary pipes... " >&6; }
7888if ${lt_cv_truncate_bin+:} false; then :
7889  $as_echo_n "(cached) " >&6
7890else
7891  printf 0123456789abcdef0123456789abcdef >conftest.i
7892cat conftest.i conftest.i >conftest2.i
7893lt_cv_truncate_bin=
7894if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7895  cmp -s conftest.i conftest.out \
7896  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
7897fi
7898rm -f conftest.i conftest2.i conftest.out
7899test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
7900fi
7901{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
7902$as_echo "$lt_cv_truncate_bin" >&6; }
7903
7904
7905
7906
7907
7908
7909
7910# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
7911func_cc_basename ()
7912{
7913    for cc_temp in $*""; do
7914      case $cc_temp in
7915        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7916        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7917        \-*) ;;
7918        *) break;;
7919      esac
7920    done
7921    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7922}
7923
7924# Check whether --enable-libtool-lock was given.
7925if test "${enable_libtool_lock+set}" = set; then :
7926  enableval=$enable_libtool_lock;
7927fi
7928
7929test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7930
7931# Some flags need to be propagated to the compiler or linker for good
7932# libtool support.
7933case $host in
7934ia64-*-hpux*)
7935  # Find out what ABI is being produced by ac_compile, and set mode
7936  # options accordingly.
7937  echo 'int i;' > conftest.$ac_ext
7938  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7939  (eval $ac_compile) 2>&5
7940  ac_status=$?
7941  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7942  test $ac_status = 0; }; then
7943    case `/usr/bin/file conftest.$ac_objext` in
7944      *ELF-32*)
7945	HPUX_IA64_MODE=32
7946	;;
7947      *ELF-64*)
7948	HPUX_IA64_MODE=64
7949	;;
7950    esac
7951  fi
7952  rm -rf conftest*
7953  ;;
7954*-*-irix6*)
7955  # Find out what ABI is being produced by ac_compile, and set linker
7956  # options accordingly.
7957  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7958  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7959  (eval $ac_compile) 2>&5
7960  ac_status=$?
7961  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7962  test $ac_status = 0; }; then
7963    if test yes = "$lt_cv_prog_gnu_ld"; then
7964      case `/usr/bin/file conftest.$ac_objext` in
7965	*32-bit*)
7966	  LD="${LD-ld} -melf32bsmip"
7967	  ;;
7968	*N32*)
7969	  LD="${LD-ld} -melf32bmipn32"
7970	  ;;
7971	*64-bit*)
7972	  LD="${LD-ld} -melf64bmip"
7973	;;
7974      esac
7975    else
7976      case `/usr/bin/file conftest.$ac_objext` in
7977	*32-bit*)
7978	  LD="${LD-ld} -32"
7979	  ;;
7980	*N32*)
7981	  LD="${LD-ld} -n32"
7982	  ;;
7983	*64-bit*)
7984	  LD="${LD-ld} -64"
7985	  ;;
7986      esac
7987    fi
7988  fi
7989  rm -rf conftest*
7990  ;;
7991
7992mips64*-*linux*)
7993  # Find out what ABI is being produced by ac_compile, and set linker
7994  # options accordingly.
7995  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7996  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7997  (eval $ac_compile) 2>&5
7998  ac_status=$?
7999  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8000  test $ac_status = 0; }; then
8001    emul=elf
8002    case `/usr/bin/file conftest.$ac_objext` in
8003      *32-bit*)
8004	emul="${emul}32"
8005	;;
8006      *64-bit*)
8007	emul="${emul}64"
8008	;;
8009    esac
8010    case `/usr/bin/file conftest.$ac_objext` in
8011      *MSB*)
8012	emul="${emul}btsmip"
8013	;;
8014      *LSB*)
8015	emul="${emul}ltsmip"
8016	;;
8017    esac
8018    case `/usr/bin/file conftest.$ac_objext` in
8019      *N32*)
8020	emul="${emul}n32"
8021	;;
8022    esac
8023    LD="${LD-ld} -m $emul"
8024  fi
8025  rm -rf conftest*
8026  ;;
8027
8028x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
8029s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8030  # Find out what ABI is being produced by ac_compile, and set linker
8031  # options accordingly.  Note that the listed cases only cover the
8032  # situations where additional linker options are needed (such as when
8033  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
8034  # vice versa); the common cases where no linker options are needed do
8035  # not appear in the list.
8036  echo 'int i;' > conftest.$ac_ext
8037  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8038  (eval $ac_compile) 2>&5
8039  ac_status=$?
8040  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8041  test $ac_status = 0; }; then
8042    case `/usr/bin/file conftest.o` in
8043      *32-bit*)
8044	case $host in
8045	  x86_64-*kfreebsd*-gnu)
8046	    LD="${LD-ld} -m elf_i386_fbsd"
8047	    ;;
8048	  x86_64-*linux*)
8049	    case `/usr/bin/file conftest.o` in
8050	      *x86-64*)
8051		LD="${LD-ld} -m elf32_x86_64"
8052		;;
8053	      *)
8054		LD="${LD-ld} -m elf_i386"
8055		;;
8056	    esac
8057	    ;;
8058	  powerpc64le-*linux*)
8059	    LD="${LD-ld} -m elf32lppclinux"
8060	    ;;
8061	  powerpc64-*linux*)
8062	    LD="${LD-ld} -m elf32ppclinux"
8063	    ;;
8064	  s390x-*linux*)
8065	    LD="${LD-ld} -m elf_s390"
8066	    ;;
8067	  sparc64-*linux*)
8068	    LD="${LD-ld} -m elf32_sparc"
8069	    ;;
8070	esac
8071	;;
8072      *64-bit*)
8073	case $host in
8074	  x86_64-*kfreebsd*-gnu)
8075	    LD="${LD-ld} -m elf_x86_64_fbsd"
8076	    ;;
8077	  x86_64-*linux*)
8078	    LD="${LD-ld} -m elf_x86_64"
8079	    ;;
8080	  powerpcle-*linux*)
8081	    LD="${LD-ld} -m elf64lppc"
8082	    ;;
8083	  powerpc-*linux*)
8084	    LD="${LD-ld} -m elf64ppc"
8085	    ;;
8086	  s390*-*linux*|s390*-*tpf*)
8087	    LD="${LD-ld} -m elf64_s390"
8088	    ;;
8089	  sparc*-*linux*)
8090	    LD="${LD-ld} -m elf64_sparc"
8091	    ;;
8092	esac
8093	;;
8094    esac
8095  fi
8096  rm -rf conftest*
8097  ;;
8098
8099*-*-sco3.2v5*)
8100  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8101  SAVE_CFLAGS=$CFLAGS
8102  CFLAGS="$CFLAGS -belf"
8103  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8104$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8105if ${lt_cv_cc_needs_belf+:} false; then :
8106  $as_echo_n "(cached) " >&6
8107else
8108  ac_ext=c
8109ac_cpp='$CPP $CPPFLAGS'
8110ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8111ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8112ac_compiler_gnu=$ac_cv_c_compiler_gnu
8113
8114     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8115/* end confdefs.h.  */
8116
8117int
8118main ()
8119{
8120
8121  ;
8122  return 0;
8123}
8124_ACEOF
8125if ac_fn_c_try_link "$LINENO"; then :
8126  lt_cv_cc_needs_belf=yes
8127else
8128  lt_cv_cc_needs_belf=no
8129fi
8130rm -f core conftest.err conftest.$ac_objext \
8131    conftest$ac_exeext conftest.$ac_ext
8132     ac_ext=c
8133ac_cpp='$CPP $CPPFLAGS'
8134ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8135ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8136ac_compiler_gnu=$ac_cv_c_compiler_gnu
8137
8138fi
8139{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8140$as_echo "$lt_cv_cc_needs_belf" >&6; }
8141  if test yes != "$lt_cv_cc_needs_belf"; then
8142    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8143    CFLAGS=$SAVE_CFLAGS
8144  fi
8145  ;;
8146*-*solaris*)
8147  # Find out what ABI is being produced by ac_compile, and set linker
8148  # options accordingly.
8149  echo 'int i;' > conftest.$ac_ext
8150  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8151  (eval $ac_compile) 2>&5
8152  ac_status=$?
8153  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8154  test $ac_status = 0; }; then
8155    case `/usr/bin/file conftest.o` in
8156    *64-bit*)
8157      case $lt_cv_prog_gnu_ld in
8158      yes*)
8159        case $host in
8160        i?86-*-solaris*|x86_64-*-solaris*)
8161          LD="${LD-ld} -m elf_x86_64"
8162          ;;
8163        sparc*-*-solaris*)
8164          LD="${LD-ld} -m elf64_sparc"
8165          ;;
8166        esac
8167        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
8168        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
8169          LD=${LD-ld}_sol2
8170        fi
8171        ;;
8172      *)
8173	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8174	  LD="${LD-ld} -64"
8175	fi
8176	;;
8177      esac
8178      ;;
8179    esac
8180  fi
8181  rm -rf conftest*
8182  ;;
8183esac
8184
8185need_locks=$enable_libtool_lock
8186
8187if test -n "$ac_tool_prefix"; then
8188  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8189set dummy ${ac_tool_prefix}mt; ac_word=$2
8190{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8191$as_echo_n "checking for $ac_word... " >&6; }
8192if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
8193  $as_echo_n "(cached) " >&6
8194else
8195  if test -n "$MANIFEST_TOOL"; then
8196  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8197else
8198as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8199for as_dir in $PATH
8200do
8201  IFS=$as_save_IFS
8202  test -z "$as_dir" && as_dir=.
8203    for ac_exec_ext in '' $ac_executable_extensions; do
8204  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8205    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
8206    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8207    break 2
8208  fi
8209done
8210  done
8211IFS=$as_save_IFS
8212
8213fi
8214fi
8215MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8216if test -n "$MANIFEST_TOOL"; then
8217  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8218$as_echo "$MANIFEST_TOOL" >&6; }
8219else
8220  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8221$as_echo "no" >&6; }
8222fi
8223
8224
8225fi
8226if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8227  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8228  # Extract the first word of "mt", so it can be a program name with args.
8229set dummy mt; ac_word=$2
8230{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8231$as_echo_n "checking for $ac_word... " >&6; }
8232if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8233  $as_echo_n "(cached) " >&6
8234else
8235  if test -n "$ac_ct_MANIFEST_TOOL"; then
8236  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8237else
8238as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8239for as_dir in $PATH
8240do
8241  IFS=$as_save_IFS
8242  test -z "$as_dir" && as_dir=.
8243    for ac_exec_ext in '' $ac_executable_extensions; do
8244  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8245    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8246    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8247    break 2
8248  fi
8249done
8250  done
8251IFS=$as_save_IFS
8252
8253fi
8254fi
8255ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8256if test -n "$ac_ct_MANIFEST_TOOL"; then
8257  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8258$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8259else
8260  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8261$as_echo "no" >&6; }
8262fi
8263
8264  if test "x$ac_ct_MANIFEST_TOOL" = x; then
8265    MANIFEST_TOOL=":"
8266  else
8267    case $cross_compiling:$ac_tool_warned in
8268yes:)
8269{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8270$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8271ac_tool_warned=yes ;;
8272esac
8273    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8274  fi
8275else
8276  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8277fi
8278
8279test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8280{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8281$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8282if ${lt_cv_path_mainfest_tool+:} false; then :
8283  $as_echo_n "(cached) " >&6
8284else
8285  lt_cv_path_mainfest_tool=no
8286  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8287  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8288  cat conftest.err >&5
8289  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8290    lt_cv_path_mainfest_tool=yes
8291  fi
8292  rm -f conftest*
8293fi
8294{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8295$as_echo "$lt_cv_path_mainfest_tool" >&6; }
8296if test yes != "$lt_cv_path_mainfest_tool"; then
8297  MANIFEST_TOOL=:
8298fi
8299
8300
8301
8302
8303
8304
8305  case $host_os in
8306    rhapsody* | darwin*)
8307    if test -n "$ac_tool_prefix"; then
8308  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8309set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8310{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8311$as_echo_n "checking for $ac_word... " >&6; }
8312if ${ac_cv_prog_DSYMUTIL+:} false; then :
8313  $as_echo_n "(cached) " >&6
8314else
8315  if test -n "$DSYMUTIL"; then
8316  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8317else
8318as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8319for as_dir in $PATH
8320do
8321  IFS=$as_save_IFS
8322  test -z "$as_dir" && as_dir=.
8323    for ac_exec_ext in '' $ac_executable_extensions; do
8324  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8325    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8326    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8327    break 2
8328  fi
8329done
8330  done
8331IFS=$as_save_IFS
8332
8333fi
8334fi
8335DSYMUTIL=$ac_cv_prog_DSYMUTIL
8336if test -n "$DSYMUTIL"; then
8337  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8338$as_echo "$DSYMUTIL" >&6; }
8339else
8340  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8341$as_echo "no" >&6; }
8342fi
8343
8344
8345fi
8346if test -z "$ac_cv_prog_DSYMUTIL"; then
8347  ac_ct_DSYMUTIL=$DSYMUTIL
8348  # Extract the first word of "dsymutil", so it can be a program name with args.
8349set dummy dsymutil; ac_word=$2
8350{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8351$as_echo_n "checking for $ac_word... " >&6; }
8352if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8353  $as_echo_n "(cached) " >&6
8354else
8355  if test -n "$ac_ct_DSYMUTIL"; then
8356  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8357else
8358as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8359for as_dir in $PATH
8360do
8361  IFS=$as_save_IFS
8362  test -z "$as_dir" && as_dir=.
8363    for ac_exec_ext in '' $ac_executable_extensions; do
8364  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8365    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8366    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8367    break 2
8368  fi
8369done
8370  done
8371IFS=$as_save_IFS
8372
8373fi
8374fi
8375ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8376if test -n "$ac_ct_DSYMUTIL"; then
8377  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8378$as_echo "$ac_ct_DSYMUTIL" >&6; }
8379else
8380  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8381$as_echo "no" >&6; }
8382fi
8383
8384  if test "x$ac_ct_DSYMUTIL" = x; then
8385    DSYMUTIL=":"
8386  else
8387    case $cross_compiling:$ac_tool_warned in
8388yes:)
8389{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8390$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8391ac_tool_warned=yes ;;
8392esac
8393    DSYMUTIL=$ac_ct_DSYMUTIL
8394  fi
8395else
8396  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8397fi
8398
8399    if test -n "$ac_tool_prefix"; then
8400  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8401set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8402{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8403$as_echo_n "checking for $ac_word... " >&6; }
8404if ${ac_cv_prog_NMEDIT+:} false; then :
8405  $as_echo_n "(cached) " >&6
8406else
8407  if test -n "$NMEDIT"; then
8408  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8409else
8410as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8411for as_dir in $PATH
8412do
8413  IFS=$as_save_IFS
8414  test -z "$as_dir" && as_dir=.
8415    for ac_exec_ext in '' $ac_executable_extensions; do
8416  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8417    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8418    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8419    break 2
8420  fi
8421done
8422  done
8423IFS=$as_save_IFS
8424
8425fi
8426fi
8427NMEDIT=$ac_cv_prog_NMEDIT
8428if test -n "$NMEDIT"; then
8429  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8430$as_echo "$NMEDIT" >&6; }
8431else
8432  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8433$as_echo "no" >&6; }
8434fi
8435
8436
8437fi
8438if test -z "$ac_cv_prog_NMEDIT"; then
8439  ac_ct_NMEDIT=$NMEDIT
8440  # Extract the first word of "nmedit", so it can be a program name with args.
8441set dummy nmedit; ac_word=$2
8442{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8443$as_echo_n "checking for $ac_word... " >&6; }
8444if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8445  $as_echo_n "(cached) " >&6
8446else
8447  if test -n "$ac_ct_NMEDIT"; then
8448  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8449else
8450as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8451for as_dir in $PATH
8452do
8453  IFS=$as_save_IFS
8454  test -z "$as_dir" && as_dir=.
8455    for ac_exec_ext in '' $ac_executable_extensions; do
8456  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8457    ac_cv_prog_ac_ct_NMEDIT="nmedit"
8458    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8459    break 2
8460  fi
8461done
8462  done
8463IFS=$as_save_IFS
8464
8465fi
8466fi
8467ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8468if test -n "$ac_ct_NMEDIT"; then
8469  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8470$as_echo "$ac_ct_NMEDIT" >&6; }
8471else
8472  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8473$as_echo "no" >&6; }
8474fi
8475
8476  if test "x$ac_ct_NMEDIT" = x; then
8477    NMEDIT=":"
8478  else
8479    case $cross_compiling:$ac_tool_warned in
8480yes:)
8481{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8482$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8483ac_tool_warned=yes ;;
8484esac
8485    NMEDIT=$ac_ct_NMEDIT
8486  fi
8487else
8488  NMEDIT="$ac_cv_prog_NMEDIT"
8489fi
8490
8491    if test -n "$ac_tool_prefix"; then
8492  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8493set dummy ${ac_tool_prefix}lipo; ac_word=$2
8494{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8495$as_echo_n "checking for $ac_word... " >&6; }
8496if ${ac_cv_prog_LIPO+:} false; then :
8497  $as_echo_n "(cached) " >&6
8498else
8499  if test -n "$LIPO"; then
8500  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8501else
8502as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8503for as_dir in $PATH
8504do
8505  IFS=$as_save_IFS
8506  test -z "$as_dir" && as_dir=.
8507    for ac_exec_ext in '' $ac_executable_extensions; do
8508  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8509    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8510    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8511    break 2
8512  fi
8513done
8514  done
8515IFS=$as_save_IFS
8516
8517fi
8518fi
8519LIPO=$ac_cv_prog_LIPO
8520if test -n "$LIPO"; then
8521  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8522$as_echo "$LIPO" >&6; }
8523else
8524  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8525$as_echo "no" >&6; }
8526fi
8527
8528
8529fi
8530if test -z "$ac_cv_prog_LIPO"; then
8531  ac_ct_LIPO=$LIPO
8532  # Extract the first word of "lipo", so it can be a program name with args.
8533set dummy lipo; ac_word=$2
8534{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8535$as_echo_n "checking for $ac_word... " >&6; }
8536if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8537  $as_echo_n "(cached) " >&6
8538else
8539  if test -n "$ac_ct_LIPO"; then
8540  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8541else
8542as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8543for as_dir in $PATH
8544do
8545  IFS=$as_save_IFS
8546  test -z "$as_dir" && as_dir=.
8547    for ac_exec_ext in '' $ac_executable_extensions; do
8548  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8549    ac_cv_prog_ac_ct_LIPO="lipo"
8550    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8551    break 2
8552  fi
8553done
8554  done
8555IFS=$as_save_IFS
8556
8557fi
8558fi
8559ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8560if test -n "$ac_ct_LIPO"; then
8561  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8562$as_echo "$ac_ct_LIPO" >&6; }
8563else
8564  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8565$as_echo "no" >&6; }
8566fi
8567
8568  if test "x$ac_ct_LIPO" = x; then
8569    LIPO=":"
8570  else
8571    case $cross_compiling:$ac_tool_warned in
8572yes:)
8573{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8574$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8575ac_tool_warned=yes ;;
8576esac
8577    LIPO=$ac_ct_LIPO
8578  fi
8579else
8580  LIPO="$ac_cv_prog_LIPO"
8581fi
8582
8583    if test -n "$ac_tool_prefix"; then
8584  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8585set dummy ${ac_tool_prefix}otool; ac_word=$2
8586{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8587$as_echo_n "checking for $ac_word... " >&6; }
8588if ${ac_cv_prog_OTOOL+:} false; then :
8589  $as_echo_n "(cached) " >&6
8590else
8591  if test -n "$OTOOL"; then
8592  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8593else
8594as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8595for as_dir in $PATH
8596do
8597  IFS=$as_save_IFS
8598  test -z "$as_dir" && as_dir=.
8599    for ac_exec_ext in '' $ac_executable_extensions; do
8600  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8601    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8602    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8603    break 2
8604  fi
8605done
8606  done
8607IFS=$as_save_IFS
8608
8609fi
8610fi
8611OTOOL=$ac_cv_prog_OTOOL
8612if test -n "$OTOOL"; then
8613  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8614$as_echo "$OTOOL" >&6; }
8615else
8616  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8617$as_echo "no" >&6; }
8618fi
8619
8620
8621fi
8622if test -z "$ac_cv_prog_OTOOL"; then
8623  ac_ct_OTOOL=$OTOOL
8624  # Extract the first word of "otool", so it can be a program name with args.
8625set dummy otool; ac_word=$2
8626{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8627$as_echo_n "checking for $ac_word... " >&6; }
8628if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8629  $as_echo_n "(cached) " >&6
8630else
8631  if test -n "$ac_ct_OTOOL"; then
8632  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8633else
8634as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8635for as_dir in $PATH
8636do
8637  IFS=$as_save_IFS
8638  test -z "$as_dir" && as_dir=.
8639    for ac_exec_ext in '' $ac_executable_extensions; do
8640  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8641    ac_cv_prog_ac_ct_OTOOL="otool"
8642    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8643    break 2
8644  fi
8645done
8646  done
8647IFS=$as_save_IFS
8648
8649fi
8650fi
8651ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8652if test -n "$ac_ct_OTOOL"; then
8653  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8654$as_echo "$ac_ct_OTOOL" >&6; }
8655else
8656  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8657$as_echo "no" >&6; }
8658fi
8659
8660  if test "x$ac_ct_OTOOL" = x; then
8661    OTOOL=":"
8662  else
8663    case $cross_compiling:$ac_tool_warned in
8664yes:)
8665{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8666$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8667ac_tool_warned=yes ;;
8668esac
8669    OTOOL=$ac_ct_OTOOL
8670  fi
8671else
8672  OTOOL="$ac_cv_prog_OTOOL"
8673fi
8674
8675    if test -n "$ac_tool_prefix"; then
8676  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8677set dummy ${ac_tool_prefix}otool64; ac_word=$2
8678{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8679$as_echo_n "checking for $ac_word... " >&6; }
8680if ${ac_cv_prog_OTOOL64+:} false; then :
8681  $as_echo_n "(cached) " >&6
8682else
8683  if test -n "$OTOOL64"; then
8684  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8685else
8686as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8687for as_dir in $PATH
8688do
8689  IFS=$as_save_IFS
8690  test -z "$as_dir" && as_dir=.
8691    for ac_exec_ext in '' $ac_executable_extensions; do
8692  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8693    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8694    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8695    break 2
8696  fi
8697done
8698  done
8699IFS=$as_save_IFS
8700
8701fi
8702fi
8703OTOOL64=$ac_cv_prog_OTOOL64
8704if test -n "$OTOOL64"; then
8705  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8706$as_echo "$OTOOL64" >&6; }
8707else
8708  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8709$as_echo "no" >&6; }
8710fi
8711
8712
8713fi
8714if test -z "$ac_cv_prog_OTOOL64"; then
8715  ac_ct_OTOOL64=$OTOOL64
8716  # Extract the first word of "otool64", so it can be a program name with args.
8717set dummy otool64; ac_word=$2
8718{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8719$as_echo_n "checking for $ac_word... " >&6; }
8720if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8721  $as_echo_n "(cached) " >&6
8722else
8723  if test -n "$ac_ct_OTOOL64"; then
8724  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8725else
8726as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8727for as_dir in $PATH
8728do
8729  IFS=$as_save_IFS
8730  test -z "$as_dir" && as_dir=.
8731    for ac_exec_ext in '' $ac_executable_extensions; do
8732  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8733    ac_cv_prog_ac_ct_OTOOL64="otool64"
8734    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8735    break 2
8736  fi
8737done
8738  done
8739IFS=$as_save_IFS
8740
8741fi
8742fi
8743ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8744if test -n "$ac_ct_OTOOL64"; then
8745  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8746$as_echo "$ac_ct_OTOOL64" >&6; }
8747else
8748  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8749$as_echo "no" >&6; }
8750fi
8751
8752  if test "x$ac_ct_OTOOL64" = x; then
8753    OTOOL64=":"
8754  else
8755    case $cross_compiling:$ac_tool_warned in
8756yes:)
8757{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8758$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8759ac_tool_warned=yes ;;
8760esac
8761    OTOOL64=$ac_ct_OTOOL64
8762  fi
8763else
8764  OTOOL64="$ac_cv_prog_OTOOL64"
8765fi
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787
8788
8789
8790
8791
8792
8793    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8794$as_echo_n "checking for -single_module linker flag... " >&6; }
8795if ${lt_cv_apple_cc_single_mod+:} false; then :
8796  $as_echo_n "(cached) " >&6
8797else
8798  lt_cv_apple_cc_single_mod=no
8799      if test -z "$LT_MULTI_MODULE"; then
8800	# By default we will add the -single_module flag. You can override
8801	# by either setting the environment variable LT_MULTI_MODULE
8802	# non-empty at configure time, or by adding -multi_module to the
8803	# link flags.
8804	rm -rf libconftest.dylib*
8805	echo "int foo(void){return 1;}" > conftest.c
8806	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8807-dynamiclib -Wl,-single_module conftest.c" >&5
8808	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8809	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8810        _lt_result=$?
8811	# If there is a non-empty error log, and "single_module"
8812	# appears in it, assume the flag caused a linker warning
8813        if test -s conftest.err && $GREP single_module conftest.err; then
8814	  cat conftest.err >&5
8815	# Otherwise, if the output was created with a 0 exit code from
8816	# the compiler, it worked.
8817	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8818	  lt_cv_apple_cc_single_mod=yes
8819	else
8820	  cat conftest.err >&5
8821	fi
8822	rm -rf libconftest.dylib*
8823	rm -f conftest.*
8824      fi
8825fi
8826{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8827$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8828
8829    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8830$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8831if ${lt_cv_ld_exported_symbols_list+:} false; then :
8832  $as_echo_n "(cached) " >&6
8833else
8834  lt_cv_ld_exported_symbols_list=no
8835      save_LDFLAGS=$LDFLAGS
8836      echo "_main" > conftest.sym
8837      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8838      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8839/* end confdefs.h.  */
8840
8841int
8842main ()
8843{
8844
8845  ;
8846  return 0;
8847}
8848_ACEOF
8849if ac_fn_c_try_link "$LINENO"; then :
8850  lt_cv_ld_exported_symbols_list=yes
8851else
8852  lt_cv_ld_exported_symbols_list=no
8853fi
8854rm -f core conftest.err conftest.$ac_objext \
8855    conftest$ac_exeext conftest.$ac_ext
8856	LDFLAGS=$save_LDFLAGS
8857
8858fi
8859{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8860$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8861
8862    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8863$as_echo_n "checking for -force_load linker flag... " >&6; }
8864if ${lt_cv_ld_force_load+:} false; then :
8865  $as_echo_n "(cached) " >&6
8866else
8867  lt_cv_ld_force_load=no
8868      cat > conftest.c << _LT_EOF
8869int forced_loaded() { return 2;}
8870_LT_EOF
8871      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8872      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8873      echo "$AR cru libconftest.a conftest.o" >&5
8874      $AR cru libconftest.a conftest.o 2>&5
8875      echo "$RANLIB libconftest.a" >&5
8876      $RANLIB libconftest.a 2>&5
8877      cat > conftest.c << _LT_EOF
8878int main() { return 0;}
8879_LT_EOF
8880      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8881      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8882      _lt_result=$?
8883      if test -s conftest.err && $GREP force_load conftest.err; then
8884	cat conftest.err >&5
8885      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8886	lt_cv_ld_force_load=yes
8887      else
8888	cat conftest.err >&5
8889      fi
8890        rm -f conftest.err libconftest.a conftest conftest.c
8891        rm -rf conftest.dSYM
8892
8893fi
8894{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8895$as_echo "$lt_cv_ld_force_load" >&6; }
8896    case $host_os in
8897    rhapsody* | darwin1.[012])
8898      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8899    darwin1.*)
8900      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8901    darwin*) # darwin 5.x on
8902      # if running on 10.5 or later, the deployment target defaults
8903      # to the OS version, if on x86, and 10.4, the deployment
8904      # target defaults to 10.4. Don't you love it?
8905      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8906	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8907	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8908	10.[012][,.]*)
8909	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8910	10.*)
8911	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8912      esac
8913    ;;
8914  esac
8915    if test yes = "$lt_cv_apple_cc_single_mod"; then
8916      _lt_dar_single_mod='$single_module'
8917    fi
8918    if test yes = "$lt_cv_ld_exported_symbols_list"; then
8919      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8920    else
8921      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8922    fi
8923    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8924      _lt_dsymutil='~$DSYMUTIL $lib || :'
8925    else
8926      _lt_dsymutil=
8927    fi
8928    ;;
8929  esac
8930
8931# func_munge_path_list VARIABLE PATH
8932# -----------------------------------
8933# VARIABLE is name of variable containing _space_ separated list of
8934# directories to be munged by the contents of PATH, which is string
8935# having a format:
8936# "DIR[:DIR]:"
8937#       string "DIR[ DIR]" will be prepended to VARIABLE
8938# ":DIR[:DIR]"
8939#       string "DIR[ DIR]" will be appended to VARIABLE
8940# "DIRP[:DIRP]::[DIRA:]DIRA"
8941#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
8942#       "DIRA[ DIRA]" will be appended to VARIABLE
8943# "DIR[:DIR]"
8944#       VARIABLE will be replaced by "DIR[ DIR]"
8945func_munge_path_list ()
8946{
8947    case x$2 in
8948    x)
8949        ;;
8950    *:)
8951        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
8952        ;;
8953    x:*)
8954        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
8955        ;;
8956    *::*)
8957        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8958        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
8959        ;;
8960    *)
8961        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
8962        ;;
8963    esac
8964}
8965
8966for ac_header in dlfcn.h
8967do :
8968  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8969"
8970if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8971  cat >>confdefs.h <<_ACEOF
8972#define HAVE_DLFCN_H 1
8973_ACEOF
8974
8975fi
8976
8977done
8978
8979
8980
8981
8982
8983# Set options
8984enable_win32_dll=yes
8985
8986case $host in
8987*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
8988  if test -n "$ac_tool_prefix"; then
8989  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
8990set dummy ${ac_tool_prefix}as; ac_word=$2
8991{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8992$as_echo_n "checking for $ac_word... " >&6; }
8993if ${ac_cv_prog_AS+:} false; then :
8994  $as_echo_n "(cached) " >&6
8995else
8996  if test -n "$AS"; then
8997  ac_cv_prog_AS="$AS" # Let the user override the test.
8998else
8999as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9000for as_dir in $PATH
9001do
9002  IFS=$as_save_IFS
9003  test -z "$as_dir" && as_dir=.
9004    for ac_exec_ext in '' $ac_executable_extensions; do
9005  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9006    ac_cv_prog_AS="${ac_tool_prefix}as"
9007    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9008    break 2
9009  fi
9010done
9011  done
9012IFS=$as_save_IFS
9013
9014fi
9015fi
9016AS=$ac_cv_prog_AS
9017if test -n "$AS"; then
9018  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
9019$as_echo "$AS" >&6; }
9020else
9021  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9022$as_echo "no" >&6; }
9023fi
9024
9025
9026fi
9027if test -z "$ac_cv_prog_AS"; then
9028  ac_ct_AS=$AS
9029  # Extract the first word of "as", so it can be a program name with args.
9030set dummy as; ac_word=$2
9031{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9032$as_echo_n "checking for $ac_word... " >&6; }
9033if ${ac_cv_prog_ac_ct_AS+:} false; then :
9034  $as_echo_n "(cached) " >&6
9035else
9036  if test -n "$ac_ct_AS"; then
9037  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
9038else
9039as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9040for as_dir in $PATH
9041do
9042  IFS=$as_save_IFS
9043  test -z "$as_dir" && as_dir=.
9044    for ac_exec_ext in '' $ac_executable_extensions; do
9045  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9046    ac_cv_prog_ac_ct_AS="as"
9047    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9048    break 2
9049  fi
9050done
9051  done
9052IFS=$as_save_IFS
9053
9054fi
9055fi
9056ac_ct_AS=$ac_cv_prog_ac_ct_AS
9057if test -n "$ac_ct_AS"; then
9058  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
9059$as_echo "$ac_ct_AS" >&6; }
9060else
9061  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9062$as_echo "no" >&6; }
9063fi
9064
9065  if test "x$ac_ct_AS" = x; then
9066    AS="false"
9067  else
9068    case $cross_compiling:$ac_tool_warned in
9069yes:)
9070{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9071$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9072ac_tool_warned=yes ;;
9073esac
9074    AS=$ac_ct_AS
9075  fi
9076else
9077  AS="$ac_cv_prog_AS"
9078fi
9079
9080  if test -n "$ac_tool_prefix"; then
9081  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
9082set dummy ${ac_tool_prefix}dlltool; ac_word=$2
9083{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9084$as_echo_n "checking for $ac_word... " >&6; }
9085if ${ac_cv_prog_DLLTOOL+:} false; then :
9086  $as_echo_n "(cached) " >&6
9087else
9088  if test -n "$DLLTOOL"; then
9089  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9090else
9091as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9092for as_dir in $PATH
9093do
9094  IFS=$as_save_IFS
9095  test -z "$as_dir" && as_dir=.
9096    for ac_exec_ext in '' $ac_executable_extensions; do
9097  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9098    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
9099    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9100    break 2
9101  fi
9102done
9103  done
9104IFS=$as_save_IFS
9105
9106fi
9107fi
9108DLLTOOL=$ac_cv_prog_DLLTOOL
9109if test -n "$DLLTOOL"; then
9110  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
9111$as_echo "$DLLTOOL" >&6; }
9112else
9113  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9114$as_echo "no" >&6; }
9115fi
9116
9117
9118fi
9119if test -z "$ac_cv_prog_DLLTOOL"; then
9120  ac_ct_DLLTOOL=$DLLTOOL
9121  # Extract the first word of "dlltool", so it can be a program name with args.
9122set dummy dlltool; ac_word=$2
9123{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9124$as_echo_n "checking for $ac_word... " >&6; }
9125if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
9126  $as_echo_n "(cached) " >&6
9127else
9128  if test -n "$ac_ct_DLLTOOL"; then
9129  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
9130else
9131as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9132for as_dir in $PATH
9133do
9134  IFS=$as_save_IFS
9135  test -z "$as_dir" && as_dir=.
9136    for ac_exec_ext in '' $ac_executable_extensions; do
9137  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9138    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
9139    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9140    break 2
9141  fi
9142done
9143  done
9144IFS=$as_save_IFS
9145
9146fi
9147fi
9148ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
9149if test -n "$ac_ct_DLLTOOL"; then
9150  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
9151$as_echo "$ac_ct_DLLTOOL" >&6; }
9152else
9153  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9154$as_echo "no" >&6; }
9155fi
9156
9157  if test "x$ac_ct_DLLTOOL" = x; then
9158    DLLTOOL="false"
9159  else
9160    case $cross_compiling:$ac_tool_warned in
9161yes:)
9162{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9163$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9164ac_tool_warned=yes ;;
9165esac
9166    DLLTOOL=$ac_ct_DLLTOOL
9167  fi
9168else
9169  DLLTOOL="$ac_cv_prog_DLLTOOL"
9170fi
9171
9172  if test -n "$ac_tool_prefix"; then
9173  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
9174set dummy ${ac_tool_prefix}objdump; ac_word=$2
9175{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9176$as_echo_n "checking for $ac_word... " >&6; }
9177if ${ac_cv_prog_OBJDUMP+:} false; then :
9178  $as_echo_n "(cached) " >&6
9179else
9180  if test -n "$OBJDUMP"; then
9181  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9182else
9183as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9184for as_dir in $PATH
9185do
9186  IFS=$as_save_IFS
9187  test -z "$as_dir" && as_dir=.
9188    for ac_exec_ext in '' $ac_executable_extensions; do
9189  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9190    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
9191    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9192    break 2
9193  fi
9194done
9195  done
9196IFS=$as_save_IFS
9197
9198fi
9199fi
9200OBJDUMP=$ac_cv_prog_OBJDUMP
9201if test -n "$OBJDUMP"; then
9202  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
9203$as_echo "$OBJDUMP" >&6; }
9204else
9205  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9206$as_echo "no" >&6; }
9207fi
9208
9209
9210fi
9211if test -z "$ac_cv_prog_OBJDUMP"; then
9212  ac_ct_OBJDUMP=$OBJDUMP
9213  # Extract the first word of "objdump", so it can be a program name with args.
9214set dummy objdump; ac_word=$2
9215{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9216$as_echo_n "checking for $ac_word... " >&6; }
9217if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
9218  $as_echo_n "(cached) " >&6
9219else
9220  if test -n "$ac_ct_OBJDUMP"; then
9221  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
9222else
9223as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9224for as_dir in $PATH
9225do
9226  IFS=$as_save_IFS
9227  test -z "$as_dir" && as_dir=.
9228    for ac_exec_ext in '' $ac_executable_extensions; do
9229  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9230    ac_cv_prog_ac_ct_OBJDUMP="objdump"
9231    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9232    break 2
9233  fi
9234done
9235  done
9236IFS=$as_save_IFS
9237
9238fi
9239fi
9240ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
9241if test -n "$ac_ct_OBJDUMP"; then
9242  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
9243$as_echo "$ac_ct_OBJDUMP" >&6; }
9244else
9245  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9246$as_echo "no" >&6; }
9247fi
9248
9249  if test "x$ac_ct_OBJDUMP" = x; then
9250    OBJDUMP="false"
9251  else
9252    case $cross_compiling:$ac_tool_warned in
9253yes:)
9254{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9255$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9256ac_tool_warned=yes ;;
9257esac
9258    OBJDUMP=$ac_ct_OBJDUMP
9259  fi
9260else
9261  OBJDUMP="$ac_cv_prog_OBJDUMP"
9262fi
9263
9264  ;;
9265esac
9266
9267test -z "$AS" && AS=as
9268
9269
9270
9271
9272
9273test -z "$DLLTOOL" && DLLTOOL=dlltool
9274
9275
9276
9277
9278
9279test -z "$OBJDUMP" && OBJDUMP=objdump
9280
9281
9282
9283
9284
9285
9286
9287        enable_dlopen=no
9288
9289
9290
9291            # Check whether --enable-shared was given.
9292if test "${enable_shared+set}" = set; then :
9293  enableval=$enable_shared; p=${PACKAGE-default}
9294    case $enableval in
9295    yes) enable_shared=yes ;;
9296    no) enable_shared=no ;;
9297    *)
9298      enable_shared=no
9299      # Look at the argument we got.  We use all the common list separators.
9300      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9301      for pkg in $enableval; do
9302	IFS=$lt_save_ifs
9303	if test "X$pkg" = "X$p"; then
9304	  enable_shared=yes
9305	fi
9306      done
9307      IFS=$lt_save_ifs
9308      ;;
9309    esac
9310else
9311  enable_shared=yes
9312fi
9313
9314
9315
9316
9317
9318
9319
9320
9321
9322  # Check whether --enable-static was given.
9323if test "${enable_static+set}" = set; then :
9324  enableval=$enable_static; p=${PACKAGE-default}
9325    case $enableval in
9326    yes) enable_static=yes ;;
9327    no) enable_static=no ;;
9328    *)
9329     enable_static=no
9330      # Look at the argument we got.  We use all the common list separators.
9331      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9332      for pkg in $enableval; do
9333	IFS=$lt_save_ifs
9334	if test "X$pkg" = "X$p"; then
9335	  enable_static=yes
9336	fi
9337      done
9338      IFS=$lt_save_ifs
9339      ;;
9340    esac
9341else
9342  enable_static=yes
9343fi
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354# Check whether --with-pic was given.
9355if test "${with_pic+set}" = set; then :
9356  withval=$with_pic; lt_p=${PACKAGE-default}
9357    case $withval in
9358    yes|no) pic_mode=$withval ;;
9359    *)
9360      pic_mode=default
9361      # Look at the argument we got.  We use all the common list separators.
9362      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9363      for lt_pkg in $withval; do
9364	IFS=$lt_save_ifs
9365	if test "X$lt_pkg" = "X$lt_p"; then
9366	  pic_mode=yes
9367	fi
9368      done
9369      IFS=$lt_save_ifs
9370      ;;
9371    esac
9372else
9373  pic_mode=default
9374fi
9375
9376
9377
9378
9379
9380
9381
9382
9383  # Check whether --enable-fast-install was given.
9384if test "${enable_fast_install+set}" = set; then :
9385  enableval=$enable_fast_install; p=${PACKAGE-default}
9386    case $enableval in
9387    yes) enable_fast_install=yes ;;
9388    no) enable_fast_install=no ;;
9389    *)
9390      enable_fast_install=no
9391      # Look at the argument we got.  We use all the common list separators.
9392      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9393      for pkg in $enableval; do
9394	IFS=$lt_save_ifs
9395	if test "X$pkg" = "X$p"; then
9396	  enable_fast_install=yes
9397	fi
9398      done
9399      IFS=$lt_save_ifs
9400      ;;
9401    esac
9402else
9403  enable_fast_install=yes
9404fi
9405
9406
9407
9408
9409
9410
9411
9412
9413  shared_archive_member_spec=
9414case $host,$enable_shared in
9415power*-*-aix[5-9]*,yes)
9416  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
9417$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
9418
9419# Check whether --with-aix-soname was given.
9420if test "${with_aix_soname+set}" = set; then :
9421  withval=$with_aix_soname; case $withval in
9422    aix|svr4|both)
9423      ;;
9424    *)
9425      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
9426      ;;
9427    esac
9428    lt_cv_with_aix_soname=$with_aix_soname
9429else
9430  if ${lt_cv_with_aix_soname+:} false; then :
9431  $as_echo_n "(cached) " >&6
9432else
9433  lt_cv_with_aix_soname=aix
9434fi
9435
9436    with_aix_soname=$lt_cv_with_aix_soname
9437fi
9438
9439  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
9440$as_echo "$with_aix_soname" >&6; }
9441  if test aix != "$with_aix_soname"; then
9442    # For the AIX way of multilib, we name the shared archive member
9443    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
9444    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
9445    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
9446    # the AIX toolchain works better with OBJECT_MODE set (default 32).
9447    if test 64 = "${OBJECT_MODE-32}"; then
9448      shared_archive_member_spec=shr_64
9449    else
9450      shared_archive_member_spec=shr
9451    fi
9452  fi
9453  ;;
9454*)
9455  with_aix_soname=aix
9456  ;;
9457esac
9458
9459
9460
9461
9462
9463
9464
9465
9466
9467
9468# This can be used to rebuild libtool when needed
9469LIBTOOL_DEPS=$ltmain
9470
9471# Always use our own libtool.
9472LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503test -z "$LN_S" && LN_S="ln -s"
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518if test -n "${ZSH_VERSION+set}"; then
9519   setopt NO_GLOB_SUBST
9520fi
9521
9522{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9523$as_echo_n "checking for objdir... " >&6; }
9524if ${lt_cv_objdir+:} false; then :
9525  $as_echo_n "(cached) " >&6
9526else
9527  rm -f .libs 2>/dev/null
9528mkdir .libs 2>/dev/null
9529if test -d .libs; then
9530  lt_cv_objdir=.libs
9531else
9532  # MS-DOS does not allow filenames that begin with a dot.
9533  lt_cv_objdir=_libs
9534fi
9535rmdir .libs 2>/dev/null
9536fi
9537{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9538$as_echo "$lt_cv_objdir" >&6; }
9539objdir=$lt_cv_objdir
9540
9541
9542
9543
9544
9545cat >>confdefs.h <<_ACEOF
9546#define LT_OBJDIR "$lt_cv_objdir/"
9547_ACEOF
9548
9549
9550
9551
9552case $host_os in
9553aix3*)
9554  # AIX sometimes has problems with the GCC collect2 program.  For some
9555  # reason, if we set the COLLECT_NAMES environment variable, the problems
9556  # vanish in a puff of smoke.
9557  if test set != "${COLLECT_NAMES+set}"; then
9558    COLLECT_NAMES=
9559    export COLLECT_NAMES
9560  fi
9561  ;;
9562esac
9563
9564# Global variables:
9565ofile=libtool
9566can_build_shared=yes
9567
9568# All known linkers require a '.a' archive for static linking (except MSVC,
9569# which needs '.lib').
9570libext=a
9571
9572with_gnu_ld=$lt_cv_prog_gnu_ld
9573
9574old_CC=$CC
9575old_CFLAGS=$CFLAGS
9576
9577# Set sane defaults for various variables
9578test -z "$CC" && CC=cc
9579test -z "$LTCC" && LTCC=$CC
9580test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9581test -z "$LD" && LD=ld
9582test -z "$ac_objext" && ac_objext=o
9583
9584func_cc_basename $compiler
9585cc_basename=$func_cc_basename_result
9586
9587
9588# Only perform the check for file, if the check method requires it
9589test -z "$MAGIC_CMD" && MAGIC_CMD=file
9590case $deplibs_check_method in
9591file_magic*)
9592  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9593    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9594$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9595if ${lt_cv_path_MAGIC_CMD+:} false; then :
9596  $as_echo_n "(cached) " >&6
9597else
9598  case $MAGIC_CMD in
9599[\\/*] |  ?:[\\/]*)
9600  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9601  ;;
9602*)
9603  lt_save_MAGIC_CMD=$MAGIC_CMD
9604  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9605  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9606  for ac_dir in $ac_dummy; do
9607    IFS=$lt_save_ifs
9608    test -z "$ac_dir" && ac_dir=.
9609    if test -f "$ac_dir/${ac_tool_prefix}file"; then
9610      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
9611      if test -n "$file_magic_test_file"; then
9612	case $deplibs_check_method in
9613	"file_magic "*)
9614	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9615	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9616	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9617	    $EGREP "$file_magic_regex" > /dev/null; then
9618	    :
9619	  else
9620	    cat <<_LT_EOF 1>&2
9621
9622*** Warning: the command libtool uses to detect shared libraries,
9623*** $file_magic_cmd, produces output that libtool cannot recognize.
9624*** The result is that libtool may fail to recognize shared libraries
9625*** as such.  This will affect the creation of libtool libraries that
9626*** depend on shared libraries, but programs linked with such libtool
9627*** libraries will work regardless of this problem.  Nevertheless, you
9628*** may want to report the problem to your system manager and/or to
9629*** bug-libtool@gnu.org
9630
9631_LT_EOF
9632	  fi ;;
9633	esac
9634      fi
9635      break
9636    fi
9637  done
9638  IFS=$lt_save_ifs
9639  MAGIC_CMD=$lt_save_MAGIC_CMD
9640  ;;
9641esac
9642fi
9643
9644MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9645if test -n "$MAGIC_CMD"; then
9646  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9647$as_echo "$MAGIC_CMD" >&6; }
9648else
9649  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9650$as_echo "no" >&6; }
9651fi
9652
9653
9654
9655
9656
9657if test -z "$lt_cv_path_MAGIC_CMD"; then
9658  if test -n "$ac_tool_prefix"; then
9659    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9660$as_echo_n "checking for file... " >&6; }
9661if ${lt_cv_path_MAGIC_CMD+:} false; then :
9662  $as_echo_n "(cached) " >&6
9663else
9664  case $MAGIC_CMD in
9665[\\/*] |  ?:[\\/]*)
9666  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9667  ;;
9668*)
9669  lt_save_MAGIC_CMD=$MAGIC_CMD
9670  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9671  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9672  for ac_dir in $ac_dummy; do
9673    IFS=$lt_save_ifs
9674    test -z "$ac_dir" && ac_dir=.
9675    if test -f "$ac_dir/file"; then
9676      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
9677      if test -n "$file_magic_test_file"; then
9678	case $deplibs_check_method in
9679	"file_magic "*)
9680	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9681	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9682	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9683	    $EGREP "$file_magic_regex" > /dev/null; then
9684	    :
9685	  else
9686	    cat <<_LT_EOF 1>&2
9687
9688*** Warning: the command libtool uses to detect shared libraries,
9689*** $file_magic_cmd, produces output that libtool cannot recognize.
9690*** The result is that libtool may fail to recognize shared libraries
9691*** as such.  This will affect the creation of libtool libraries that
9692*** depend on shared libraries, but programs linked with such libtool
9693*** libraries will work regardless of this problem.  Nevertheless, you
9694*** may want to report the problem to your system manager and/or to
9695*** bug-libtool@gnu.org
9696
9697_LT_EOF
9698	  fi ;;
9699	esac
9700      fi
9701      break
9702    fi
9703  done
9704  IFS=$lt_save_ifs
9705  MAGIC_CMD=$lt_save_MAGIC_CMD
9706  ;;
9707esac
9708fi
9709
9710MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9711if test -n "$MAGIC_CMD"; then
9712  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9713$as_echo "$MAGIC_CMD" >&6; }
9714else
9715  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9716$as_echo "no" >&6; }
9717fi
9718
9719
9720  else
9721    MAGIC_CMD=:
9722  fi
9723fi
9724
9725  fi
9726  ;;
9727esac
9728
9729# Use C for the default configuration in the libtool script
9730
9731lt_save_CC=$CC
9732ac_ext=c
9733ac_cpp='$CPP $CPPFLAGS'
9734ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9735ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9736ac_compiler_gnu=$ac_cv_c_compiler_gnu
9737
9738
9739# Source file extension for C test sources.
9740ac_ext=c
9741
9742# Object file extension for compiled C test sources.
9743objext=o
9744objext=$objext
9745
9746# Code to be used in simple compile tests
9747lt_simple_compile_test_code="int some_variable = 0;"
9748
9749# Code to be used in simple link tests
9750lt_simple_link_test_code='int main(){return(0);}'
9751
9752
9753
9754
9755
9756
9757
9758# If no C compiler was specified, use CC.
9759LTCC=${LTCC-"$CC"}
9760
9761# If no C compiler flags were specified, use CFLAGS.
9762LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9763
9764# Allow CC to be a program name with arguments.
9765compiler=$CC
9766
9767# Save the default compiler, since it gets overwritten when the other
9768# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9769compiler_DEFAULT=$CC
9770
9771# save warnings/boilerplate of simple test code
9772ac_outfile=conftest.$ac_objext
9773echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9774eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9775_lt_compiler_boilerplate=`cat conftest.err`
9776$RM conftest*
9777
9778ac_outfile=conftest.$ac_objext
9779echo "$lt_simple_link_test_code" >conftest.$ac_ext
9780eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9781_lt_linker_boilerplate=`cat conftest.err`
9782$RM -r conftest*
9783
9784
9785if test -n "$compiler"; then
9786
9787lt_prog_compiler_no_builtin_flag=
9788
9789if test yes = "$GCC"; then
9790  case $cc_basename in
9791  nvcc*)
9792    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9793  *)
9794    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9795  esac
9796
9797  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9798$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9799if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9800  $as_echo_n "(cached) " >&6
9801else
9802  lt_cv_prog_compiler_rtti_exceptions=no
9803   ac_outfile=conftest.$ac_objext
9804   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9805   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
9806   # Insert the option either (1) after the last *FLAGS variable, or
9807   # (2) before a word containing "conftest.", or (3) at the end.
9808   # Note that $ac_compile itself does not contain backslashes and begins
9809   # with a dollar sign (not a hyphen), so the echo should work correctly.
9810   # The option is referenced via a variable to avoid confusing sed.
9811   lt_compile=`echo "$ac_compile" | $SED \
9812   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9813   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9814   -e 's:$: $lt_compiler_flag:'`
9815   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9816   (eval "$lt_compile" 2>conftest.err)
9817   ac_status=$?
9818   cat conftest.err >&5
9819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9820   if (exit $ac_status) && test -s "$ac_outfile"; then
9821     # The compiler can only warn and ignore the option if not recognized
9822     # So say no if there are warnings other than the usual output.
9823     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9824     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9825     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9826       lt_cv_prog_compiler_rtti_exceptions=yes
9827     fi
9828   fi
9829   $RM conftest*
9830
9831fi
9832{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9833$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9834
9835if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9836    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9837else
9838    :
9839fi
9840
9841fi
9842
9843
9844
9845
9846
9847
9848  lt_prog_compiler_wl=
9849lt_prog_compiler_pic=
9850lt_prog_compiler_static=
9851
9852
9853  if test yes = "$GCC"; then
9854    lt_prog_compiler_wl='-Wl,'
9855    lt_prog_compiler_static='-static'
9856
9857    case $host_os in
9858      aix*)
9859      # All AIX code is PIC.
9860      if test ia64 = "$host_cpu"; then
9861	# AIX 5 now supports IA64 processor
9862	lt_prog_compiler_static='-Bstatic'
9863      fi
9864      lt_prog_compiler_pic='-fPIC'
9865      ;;
9866
9867    amigaos*)
9868      case $host_cpu in
9869      powerpc)
9870            # see comment about AmigaOS4 .so support
9871            lt_prog_compiler_pic='-fPIC'
9872        ;;
9873      m68k)
9874            # FIXME: we need at least 68020 code to build shared libraries, but
9875            # adding the '-m68020' flag to GCC prevents building anything better,
9876            # like '-m68040'.
9877            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9878        ;;
9879      esac
9880      ;;
9881
9882    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9883      # PIC is the default for these OSes.
9884      ;;
9885
9886    mingw* | cygwin* | pw32* | os2* | cegcc*)
9887      # This hack is so that the source file can tell whether it is being
9888      # built for inclusion in a dll (and should export symbols for example).
9889      # Although the cygwin gcc ignores -fPIC, still need this for old-style
9890      # (--disable-auto-import) libraries
9891      lt_prog_compiler_pic='-DDLL_EXPORT'
9892      case $host_os in
9893      os2*)
9894	lt_prog_compiler_static='$wl-static'
9895	;;
9896      esac
9897      ;;
9898
9899    darwin* | rhapsody*)
9900      # PIC is the default on this platform
9901      # Common symbols not allowed in MH_DYLIB files
9902      lt_prog_compiler_pic='-fno-common'
9903      ;;
9904
9905    haiku*)
9906      # PIC is the default for Haiku.
9907      # The "-static" flag exists, but is broken.
9908      lt_prog_compiler_static=
9909      ;;
9910
9911    hpux*)
9912      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9913      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9914      # sets the default TLS model and affects inlining.
9915      case $host_cpu in
9916      hppa*64*)
9917	# +Z the default
9918	;;
9919      *)
9920	lt_prog_compiler_pic='-fPIC'
9921	;;
9922      esac
9923      ;;
9924
9925    interix[3-9]*)
9926      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9927      # Instead, we relocate shared libraries at runtime.
9928      ;;
9929
9930    msdosdjgpp*)
9931      # Just because we use GCC doesn't mean we suddenly get shared libraries
9932      # on systems that don't support them.
9933      lt_prog_compiler_can_build_shared=no
9934      enable_shared=no
9935      ;;
9936
9937    *nto* | *qnx*)
9938      # QNX uses GNU C++, but need to define -shared option too, otherwise
9939      # it will coredump.
9940      lt_prog_compiler_pic='-fPIC -shared'
9941      ;;
9942
9943    sysv4*MP*)
9944      if test -d /usr/nec; then
9945	lt_prog_compiler_pic=-Kconform_pic
9946      fi
9947      ;;
9948
9949    *)
9950      lt_prog_compiler_pic='-fPIC'
9951      ;;
9952    esac
9953
9954    case $cc_basename in
9955    nvcc*) # Cuda Compiler Driver 2.2
9956      lt_prog_compiler_wl='-Xlinker '
9957      if test -n "$lt_prog_compiler_pic"; then
9958        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9959      fi
9960      ;;
9961    esac
9962  else
9963    # PORTME Check for flag to pass linker flags through the system compiler.
9964    case $host_os in
9965    aix*)
9966      lt_prog_compiler_wl='-Wl,'
9967      if test ia64 = "$host_cpu"; then
9968	# AIX 5 now supports IA64 processor
9969	lt_prog_compiler_static='-Bstatic'
9970      else
9971	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9972      fi
9973      ;;
9974
9975    darwin* | rhapsody*)
9976      # PIC is the default on this platform
9977      # Common symbols not allowed in MH_DYLIB files
9978      lt_prog_compiler_pic='-fno-common'
9979      case $cc_basename in
9980      nagfor*)
9981        # NAG Fortran compiler
9982        lt_prog_compiler_wl='-Wl,-Wl,,'
9983        lt_prog_compiler_pic='-PIC'
9984        lt_prog_compiler_static='-Bstatic'
9985        ;;
9986      esac
9987      ;;
9988
9989    mingw* | cygwin* | pw32* | os2* | cegcc*)
9990      # This hack is so that the source file can tell whether it is being
9991      # built for inclusion in a dll (and should export symbols for example).
9992      lt_prog_compiler_pic='-DDLL_EXPORT'
9993      case $host_os in
9994      os2*)
9995	lt_prog_compiler_static='$wl-static'
9996	;;
9997      esac
9998      ;;
9999
10000    hpux9* | hpux10* | hpux11*)
10001      lt_prog_compiler_wl='-Wl,'
10002      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10003      # not for PA HP-UX.
10004      case $host_cpu in
10005      hppa*64*|ia64*)
10006	# +Z the default
10007	;;
10008      *)
10009	lt_prog_compiler_pic='+Z'
10010	;;
10011      esac
10012      # Is there a better lt_prog_compiler_static that works with the bundled CC?
10013      lt_prog_compiler_static='$wl-a ${wl}archive'
10014      ;;
10015
10016    irix5* | irix6* | nonstopux*)
10017      lt_prog_compiler_wl='-Wl,'
10018      # PIC (with -KPIC) is the default.
10019      lt_prog_compiler_static='-non_shared'
10020      ;;
10021
10022    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10023      case $cc_basename in
10024      # old Intel for x86_64, which still supported -KPIC.
10025      ecc*)
10026	lt_prog_compiler_wl='-Wl,'
10027	lt_prog_compiler_pic='-KPIC'
10028	lt_prog_compiler_static='-static'
10029        ;;
10030      # icc used to be incompatible with GCC.
10031      # ICC 10 doesn't accept -KPIC any more.
10032      icc* | ifort*)
10033	lt_prog_compiler_wl='-Wl,'
10034	lt_prog_compiler_pic='-fPIC'
10035	lt_prog_compiler_static='-static'
10036        ;;
10037      # Lahey Fortran 8.1.
10038      lf95*)
10039	lt_prog_compiler_wl='-Wl,'
10040	lt_prog_compiler_pic='--shared'
10041	lt_prog_compiler_static='--static'
10042	;;
10043      nagfor*)
10044	# NAG Fortran compiler
10045	lt_prog_compiler_wl='-Wl,-Wl,,'
10046	lt_prog_compiler_pic='-PIC'
10047	lt_prog_compiler_static='-Bstatic'
10048	;;
10049      tcc*)
10050	# Fabrice Bellard et al's Tiny C Compiler
10051	lt_prog_compiler_wl='-Wl,'
10052	lt_prog_compiler_pic='-fPIC'
10053	lt_prog_compiler_static='-static'
10054	;;
10055      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
10056        # Portland Group compilers (*not* the Pentium gcc compiler,
10057	# which looks to be a dead project)
10058	lt_prog_compiler_wl='-Wl,'
10059	lt_prog_compiler_pic='-fpic'
10060	lt_prog_compiler_static='-Bstatic'
10061        ;;
10062      ccc*)
10063        lt_prog_compiler_wl='-Wl,'
10064        # All Alpha code is PIC.
10065        lt_prog_compiler_static='-non_shared'
10066        ;;
10067      xl* | bgxl* | bgf* | mpixl*)
10068	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10069	lt_prog_compiler_wl='-Wl,'
10070	lt_prog_compiler_pic='-qpic'
10071	lt_prog_compiler_static='-qstaticlink'
10072	;;
10073      *)
10074	case `$CC -V 2>&1 | sed 5q` in
10075	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
10076	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
10077	  lt_prog_compiler_pic='-KPIC'
10078	  lt_prog_compiler_static='-Bstatic'
10079	  lt_prog_compiler_wl=''
10080	  ;;
10081	*Sun\ F* | *Sun*Fortran*)
10082	  lt_prog_compiler_pic='-KPIC'
10083	  lt_prog_compiler_static='-Bstatic'
10084	  lt_prog_compiler_wl='-Qoption ld '
10085	  ;;
10086	*Sun\ C*)
10087	  # Sun C 5.9
10088	  lt_prog_compiler_pic='-KPIC'
10089	  lt_prog_compiler_static='-Bstatic'
10090	  lt_prog_compiler_wl='-Wl,'
10091	  ;;
10092        *Intel*\ [CF]*Compiler*)
10093	  lt_prog_compiler_wl='-Wl,'
10094	  lt_prog_compiler_pic='-fPIC'
10095	  lt_prog_compiler_static='-static'
10096	  ;;
10097	*Portland\ Group*)
10098	  lt_prog_compiler_wl='-Wl,'
10099	  lt_prog_compiler_pic='-fpic'
10100	  lt_prog_compiler_static='-Bstatic'
10101	  ;;
10102	esac
10103	;;
10104      esac
10105      ;;
10106
10107    newsos6)
10108      lt_prog_compiler_pic='-KPIC'
10109      lt_prog_compiler_static='-Bstatic'
10110      ;;
10111
10112    *nto* | *qnx*)
10113      # QNX uses GNU C++, but need to define -shared option too, otherwise
10114      # it will coredump.
10115      lt_prog_compiler_pic='-fPIC -shared'
10116      ;;
10117
10118    osf3* | osf4* | osf5*)
10119      lt_prog_compiler_wl='-Wl,'
10120      # All OSF/1 code is PIC.
10121      lt_prog_compiler_static='-non_shared'
10122      ;;
10123
10124    rdos*)
10125      lt_prog_compiler_static='-non_shared'
10126      ;;
10127
10128    solaris*)
10129      lt_prog_compiler_pic='-KPIC'
10130      lt_prog_compiler_static='-Bstatic'
10131      case $cc_basename in
10132      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
10133	lt_prog_compiler_wl='-Qoption ld ';;
10134      *)
10135	lt_prog_compiler_wl='-Wl,';;
10136      esac
10137      ;;
10138
10139    sunos4*)
10140      lt_prog_compiler_wl='-Qoption ld '
10141      lt_prog_compiler_pic='-PIC'
10142      lt_prog_compiler_static='-Bstatic'
10143      ;;
10144
10145    sysv4 | sysv4.2uw2* | sysv4.3*)
10146      lt_prog_compiler_wl='-Wl,'
10147      lt_prog_compiler_pic='-KPIC'
10148      lt_prog_compiler_static='-Bstatic'
10149      ;;
10150
10151    sysv4*MP*)
10152      if test -d /usr/nec; then
10153	lt_prog_compiler_pic='-Kconform_pic'
10154	lt_prog_compiler_static='-Bstatic'
10155      fi
10156      ;;
10157
10158    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10159      lt_prog_compiler_wl='-Wl,'
10160      lt_prog_compiler_pic='-KPIC'
10161      lt_prog_compiler_static='-Bstatic'
10162      ;;
10163
10164    unicos*)
10165      lt_prog_compiler_wl='-Wl,'
10166      lt_prog_compiler_can_build_shared=no
10167      ;;
10168
10169    uts4*)
10170      lt_prog_compiler_pic='-pic'
10171      lt_prog_compiler_static='-Bstatic'
10172      ;;
10173
10174    *)
10175      lt_prog_compiler_can_build_shared=no
10176      ;;
10177    esac
10178  fi
10179
10180case $host_os in
10181  # For platforms that do not support PIC, -DPIC is meaningless:
10182  *djgpp*)
10183    lt_prog_compiler_pic=
10184    ;;
10185  *)
10186    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10187    ;;
10188esac
10189
10190{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10191$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10192if ${lt_cv_prog_compiler_pic+:} false; then :
10193  $as_echo_n "(cached) " >&6
10194else
10195  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
10196fi
10197{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10198$as_echo "$lt_cv_prog_compiler_pic" >&6; }
10199lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
10200
10201#
10202# Check to make sure the PIC flag actually works.
10203#
10204if test -n "$lt_prog_compiler_pic"; then
10205  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10206$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10207if ${lt_cv_prog_compiler_pic_works+:} false; then :
10208  $as_echo_n "(cached) " >&6
10209else
10210  lt_cv_prog_compiler_pic_works=no
10211   ac_outfile=conftest.$ac_objext
10212   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10213   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
10214   # Insert the option either (1) after the last *FLAGS variable, or
10215   # (2) before a word containing "conftest.", or (3) at the end.
10216   # Note that $ac_compile itself does not contain backslashes and begins
10217   # with a dollar sign (not a hyphen), so the echo should work correctly.
10218   # The option is referenced via a variable to avoid confusing sed.
10219   lt_compile=`echo "$ac_compile" | $SED \
10220   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10221   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10222   -e 's:$: $lt_compiler_flag:'`
10223   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10224   (eval "$lt_compile" 2>conftest.err)
10225   ac_status=$?
10226   cat conftest.err >&5
10227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10228   if (exit $ac_status) && test -s "$ac_outfile"; then
10229     # The compiler can only warn and ignore the option if not recognized
10230     # So say no if there are warnings other than the usual output.
10231     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10232     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10233     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10234       lt_cv_prog_compiler_pic_works=yes
10235     fi
10236   fi
10237   $RM conftest*
10238
10239fi
10240{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10241$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10242
10243if test yes = "$lt_cv_prog_compiler_pic_works"; then
10244    case $lt_prog_compiler_pic in
10245     "" | " "*) ;;
10246     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10247     esac
10248else
10249    lt_prog_compiler_pic=
10250     lt_prog_compiler_can_build_shared=no
10251fi
10252
10253fi
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265#
10266# Check to make sure the static flag actually works.
10267#
10268wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10269{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10270$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10271if ${lt_cv_prog_compiler_static_works+:} false; then :
10272  $as_echo_n "(cached) " >&6
10273else
10274  lt_cv_prog_compiler_static_works=no
10275   save_LDFLAGS=$LDFLAGS
10276   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10277   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10278   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10279     # The linker can only warn and ignore the option if not recognized
10280     # So say no if there are warnings
10281     if test -s conftest.err; then
10282       # Append any errors to the config.log.
10283       cat conftest.err 1>&5
10284       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10285       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10286       if diff conftest.exp conftest.er2 >/dev/null; then
10287         lt_cv_prog_compiler_static_works=yes
10288       fi
10289     else
10290       lt_cv_prog_compiler_static_works=yes
10291     fi
10292   fi
10293   $RM -r conftest*
10294   LDFLAGS=$save_LDFLAGS
10295
10296fi
10297{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10298$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10299
10300if test yes = "$lt_cv_prog_compiler_static_works"; then
10301    :
10302else
10303    lt_prog_compiler_static=
10304fi
10305
10306
10307
10308
10309
10310
10311
10312  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10313$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10314if ${lt_cv_prog_compiler_c_o+:} false; then :
10315  $as_echo_n "(cached) " >&6
10316else
10317  lt_cv_prog_compiler_c_o=no
10318   $RM -r conftest 2>/dev/null
10319   mkdir conftest
10320   cd conftest
10321   mkdir out
10322   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10323
10324   lt_compiler_flag="-o out/conftest2.$ac_objext"
10325   # Insert the option either (1) after the last *FLAGS variable, or
10326   # (2) before a word containing "conftest.", or (3) at the end.
10327   # Note that $ac_compile itself does not contain backslashes and begins
10328   # with a dollar sign (not a hyphen), so the echo should work correctly.
10329   lt_compile=`echo "$ac_compile" | $SED \
10330   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10331   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10332   -e 's:$: $lt_compiler_flag:'`
10333   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10334   (eval "$lt_compile" 2>out/conftest.err)
10335   ac_status=$?
10336   cat out/conftest.err >&5
10337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10338   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10339   then
10340     # The compiler can only warn and ignore the option if not recognized
10341     # So say no if there are warnings
10342     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10343     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10344     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10345       lt_cv_prog_compiler_c_o=yes
10346     fi
10347   fi
10348   chmod u+w . 2>&5
10349   $RM conftest*
10350   # SGI C++ compiler will create directory out/ii_files/ for
10351   # template instantiation
10352   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10353   $RM out/* && rmdir out
10354   cd ..
10355   $RM -r conftest
10356   $RM conftest*
10357
10358fi
10359{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10360$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10361
10362
10363
10364
10365
10366
10367  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10368$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10369if ${lt_cv_prog_compiler_c_o+:} false; then :
10370  $as_echo_n "(cached) " >&6
10371else
10372  lt_cv_prog_compiler_c_o=no
10373   $RM -r conftest 2>/dev/null
10374   mkdir conftest
10375   cd conftest
10376   mkdir out
10377   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10378
10379   lt_compiler_flag="-o out/conftest2.$ac_objext"
10380   # Insert the option either (1) after the last *FLAGS variable, or
10381   # (2) before a word containing "conftest.", or (3) at the end.
10382   # Note that $ac_compile itself does not contain backslashes and begins
10383   # with a dollar sign (not a hyphen), so the echo should work correctly.
10384   lt_compile=`echo "$ac_compile" | $SED \
10385   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10386   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10387   -e 's:$: $lt_compiler_flag:'`
10388   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10389   (eval "$lt_compile" 2>out/conftest.err)
10390   ac_status=$?
10391   cat out/conftest.err >&5
10392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10393   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10394   then
10395     # The compiler can only warn and ignore the option if not recognized
10396     # So say no if there are warnings
10397     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10398     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10399     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10400       lt_cv_prog_compiler_c_o=yes
10401     fi
10402   fi
10403   chmod u+w . 2>&5
10404   $RM conftest*
10405   # SGI C++ compiler will create directory out/ii_files/ for
10406   # template instantiation
10407   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10408   $RM out/* && rmdir out
10409   cd ..
10410   $RM -r conftest
10411   $RM conftest*
10412
10413fi
10414{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10415$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10416
10417
10418
10419
10420hard_links=nottested
10421if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
10422  # do not overwrite the value of need_locks provided by the user
10423  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10424$as_echo_n "checking if we can lock with hard links... " >&6; }
10425  hard_links=yes
10426  $RM conftest*
10427  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10428  touch conftest.a
10429  ln conftest.a conftest.b 2>&5 || hard_links=no
10430  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10431  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10432$as_echo "$hard_links" >&6; }
10433  if test no = "$hard_links"; then
10434    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
10435$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
10436    need_locks=warn
10437  fi
10438else
10439  need_locks=no
10440fi
10441
10442
10443
10444
10445
10446
10447  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10448$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10449
10450  runpath_var=
10451  allow_undefined_flag=
10452  always_export_symbols=no
10453  archive_cmds=
10454  archive_expsym_cmds=
10455  compiler_needs_object=no
10456  enable_shared_with_static_runtimes=no
10457  export_dynamic_flag_spec=
10458  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10459  hardcode_automatic=no
10460  hardcode_direct=no
10461  hardcode_direct_absolute=no
10462  hardcode_libdir_flag_spec=
10463  hardcode_libdir_separator=
10464  hardcode_minus_L=no
10465  hardcode_shlibpath_var=unsupported
10466  inherit_rpath=no
10467  link_all_deplibs=unknown
10468  module_cmds=
10469  module_expsym_cmds=
10470  old_archive_from_new_cmds=
10471  old_archive_from_expsyms_cmds=
10472  thread_safe_flag_spec=
10473  whole_archive_flag_spec=
10474  # include_expsyms should be a list of space-separated symbols to be *always*
10475  # included in the symbol list
10476  include_expsyms=
10477  # exclude_expsyms can be an extended regexp of symbols to exclude
10478  # it will be wrapped by ' (' and ')$', so one must not match beginning or
10479  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
10480  # as well as any symbol that contains 'd'.
10481  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10482  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10483  # platforms (ab)use it in PIC code, but their linkers get confused if
10484  # the symbol is explicitly referenced.  Since portable code cannot
10485  # rely on this symbol name, it's probably fine to never include it in
10486  # preloaded symbol tables.
10487  # Exclude shared library initialization/finalization symbols.
10488  extract_expsyms_cmds=
10489
10490  case $host_os in
10491  cygwin* | mingw* | pw32* | cegcc*)
10492    # FIXME: the MSVC++ port hasn't been tested in a loooong time
10493    # When not using gcc, we currently assume that we are using
10494    # Microsoft Visual C++.
10495    if test yes != "$GCC"; then
10496      with_gnu_ld=no
10497    fi
10498    ;;
10499  interix*)
10500    # we just hope/assume this is gcc and not c89 (= MSVC++)
10501    with_gnu_ld=yes
10502    ;;
10503  openbsd* | bitrig*)
10504    with_gnu_ld=no
10505    ;;
10506  esac
10507
10508  ld_shlibs=yes
10509
10510  # On some targets, GNU ld is compatible enough with the native linker
10511  # that we're better off using the native interface for both.
10512  lt_use_gnu_ld_interface=no
10513  if test yes = "$with_gnu_ld"; then
10514    case $host_os in
10515      aix*)
10516	# The AIX port of GNU ld has always aspired to compatibility
10517	# with the native linker.  However, as the warning in the GNU ld
10518	# block says, versions before 2.19.5* couldn't really create working
10519	# shared libraries, regardless of the interface used.
10520	case `$LD -v 2>&1` in
10521	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10522	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10523	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10524	  *)
10525	    lt_use_gnu_ld_interface=yes
10526	    ;;
10527	esac
10528	;;
10529      *)
10530	lt_use_gnu_ld_interface=yes
10531	;;
10532    esac
10533  fi
10534
10535  if test yes = "$lt_use_gnu_ld_interface"; then
10536    # If archive_cmds runs LD, not CC, wlarc should be empty
10537    wlarc='$wl'
10538
10539    # Set some defaults for GNU ld with shared library support. These
10540    # are reset later if shared libraries are not supported. Putting them
10541    # here allows them to be overridden if necessary.
10542    runpath_var=LD_RUN_PATH
10543    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10544    export_dynamic_flag_spec='$wl--export-dynamic'
10545    # ancient GNU ld didn't support --whole-archive et. al.
10546    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10547      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
10548    else
10549      whole_archive_flag_spec=
10550    fi
10551    supports_anon_versioning=no
10552    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
10553      *GNU\ gold*) supports_anon_versioning=yes ;;
10554      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10555      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10556      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10557      *\ 2.11.*) ;; # other 2.11 versions
10558      *) supports_anon_versioning=yes ;;
10559    esac
10560
10561    # See if GNU ld supports shared libraries.
10562    case $host_os in
10563    aix[3-9]*)
10564      # On AIX/PPC, the GNU linker is very broken
10565      if test ia64 != "$host_cpu"; then
10566	ld_shlibs=no
10567	cat <<_LT_EOF 1>&2
10568
10569*** Warning: the GNU linker, at least up to release 2.19, is reported
10570*** to be unable to reliably create shared libraries on AIX.
10571*** Therefore, libtool is disabling shared libraries support.  If you
10572*** really care for shared libraries, you may want to install binutils
10573*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10574*** You will then need to restart the configuration process.
10575
10576_LT_EOF
10577      fi
10578      ;;
10579
10580    amigaos*)
10581      case $host_cpu in
10582      powerpc)
10583            # see comment about AmigaOS4 .so support
10584            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10585            archive_expsym_cmds=''
10586        ;;
10587      m68k)
10588            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)'
10589            hardcode_libdir_flag_spec='-L$libdir'
10590            hardcode_minus_L=yes
10591        ;;
10592      esac
10593      ;;
10594
10595    beos*)
10596      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10597	allow_undefined_flag=unsupported
10598	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10599	# support --undefined.  This deserves some investigation.  FIXME
10600	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10601      else
10602	ld_shlibs=no
10603      fi
10604      ;;
10605
10606    cygwin* | mingw* | pw32* | cegcc*)
10607      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10608      # as there is no search path for DLLs.
10609      hardcode_libdir_flag_spec='-L$libdir'
10610      export_dynamic_flag_spec='$wl--export-all-symbols'
10611      allow_undefined_flag=unsupported
10612      always_export_symbols=no
10613      enable_shared_with_static_runtimes=yes
10614      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'
10615      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10616
10617      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10618        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10619	# If the export-symbols file already is a .def file, use it as
10620	# is; otherwise, prepend EXPORTS...
10621	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
10622          cp $export_symbols $output_objdir/$soname.def;
10623        else
10624          echo EXPORTS > $output_objdir/$soname.def;
10625          cat $export_symbols >> $output_objdir/$soname.def;
10626        fi~
10627        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10628      else
10629	ld_shlibs=no
10630      fi
10631      ;;
10632
10633    haiku*)
10634      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10635      link_all_deplibs=yes
10636      ;;
10637
10638    os2*)
10639      hardcode_libdir_flag_spec='-L$libdir'
10640      hardcode_minus_L=yes
10641      allow_undefined_flag=unsupported
10642      shrext_cmds=.dll
10643      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10644	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10645	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10646	$ECHO EXPORTS >> $output_objdir/$libname.def~
10647	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10648	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10649	emximp -o $lib $output_objdir/$libname.def'
10650      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10651	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10652	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10653	$ECHO EXPORTS >> $output_objdir/$libname.def~
10654	prefix_cmds="$SED"~
10655	if test EXPORTS = "`$SED 1q $export_symbols`"; then
10656	  prefix_cmds="$prefix_cmds -e 1d";
10657	fi~
10658	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10659	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10660	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10661	emximp -o $lib $output_objdir/$libname.def'
10662      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10663      enable_shared_with_static_runtimes=yes
10664      ;;
10665
10666    interix[3-9]*)
10667      hardcode_direct=no
10668      hardcode_shlibpath_var=no
10669      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10670      export_dynamic_flag_spec='$wl-E'
10671      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10672      # Instead, shared libraries are loaded at an image base (0x10000000 by
10673      # default) and relocated if they conflict, which is a slow very memory
10674      # consuming and fragmenting process.  To avoid this, we pick a random,
10675      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10676      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
10677      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10678      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'
10679      ;;
10680
10681    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10682      tmp_diet=no
10683      if test linux-dietlibc = "$host_os"; then
10684	case $cc_basename in
10685	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
10686	esac
10687      fi
10688      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10689	 && test no = "$tmp_diet"
10690      then
10691	tmp_addflag=' $pic_flag'
10692	tmp_sharedflag='-shared'
10693	case $cc_basename,$host_cpu in
10694        pgcc*)				# Portland Group C compiler
10695	  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'
10696	  tmp_addflag=' $pic_flag'
10697	  ;;
10698	pgf77* | pgf90* | pgf95* | pgfortran*)
10699					# Portland Group f77 and f90 compilers
10700	  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'
10701	  tmp_addflag=' $pic_flag -Mnomain' ;;
10702	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
10703	  tmp_addflag=' -i_dynamic' ;;
10704	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
10705	  tmp_addflag=' -i_dynamic -nofor_main' ;;
10706	ifc* | ifort*)			# Intel Fortran compiler
10707	  tmp_addflag=' -nofor_main' ;;
10708	lf95*)				# Lahey Fortran 8.1
10709	  whole_archive_flag_spec=
10710	  tmp_sharedflag='--shared' ;;
10711        nagfor*)                        # NAGFOR 5.3
10712          tmp_sharedflag='-Wl,-shared' ;;
10713	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10714	  tmp_sharedflag='-qmkshrobj'
10715	  tmp_addflag= ;;
10716	nvcc*)	# Cuda Compiler Driver 2.2
10717	  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'
10718	  compiler_needs_object=yes
10719	  ;;
10720	esac
10721	case `$CC -V 2>&1 | sed 5q` in
10722	*Sun\ C*)			# Sun C 5.9
10723	  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'
10724	  compiler_needs_object=yes
10725	  tmp_sharedflag='-G' ;;
10726	*Sun\ F*)			# Sun Fortran 8.3
10727	  tmp_sharedflag='-G' ;;
10728	esac
10729	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10730
10731        if test yes = "$supports_anon_versioning"; then
10732          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10733            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10734            echo "local: *; };" >> $output_objdir/$libname.ver~
10735            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10736        fi
10737
10738	case $cc_basename in
10739	tcc*)
10740	  export_dynamic_flag_spec='-rdynamic'
10741	  ;;
10742	xlf* | bgf* | bgxlf* | mpixlf*)
10743	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10744	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10745	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10746	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10747	  if test yes = "$supports_anon_versioning"; then
10748	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10749              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10750              echo "local: *; };" >> $output_objdir/$libname.ver~
10751              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10752	  fi
10753	  ;;
10754	esac
10755      else
10756        ld_shlibs=no
10757      fi
10758      ;;
10759
10760    netbsd*)
10761      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10762	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10763	wlarc=
10764      else
10765	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10766	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10767      fi
10768      ;;
10769
10770    solaris*)
10771      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10772	ld_shlibs=no
10773	cat <<_LT_EOF 1>&2
10774
10775*** Warning: The releases 2.8.* of the GNU linker cannot reliably
10776*** create shared libraries on Solaris systems.  Therefore, libtool
10777*** is disabling shared libraries support.  We urge you to upgrade GNU
10778*** binutils to release 2.9.1 or newer.  Another option is to modify
10779*** your PATH or compiler configuration so that the native linker is
10780*** used, and then restart.
10781
10782_LT_EOF
10783      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10784	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10785	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10786      else
10787	ld_shlibs=no
10788      fi
10789      ;;
10790
10791    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10792      case `$LD -v 2>&1` in
10793        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10794	ld_shlibs=no
10795	cat <<_LT_EOF 1>&2
10796
10797*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10798*** reliably create shared libraries on SCO systems.  Therefore, libtool
10799*** is disabling shared libraries support.  We urge you to upgrade GNU
10800*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10801*** your PATH or compiler configuration so that the native linker is
10802*** used, and then restart.
10803
10804_LT_EOF
10805	;;
10806	*)
10807	  # For security reasons, it is highly recommended that you always
10808	  # use absolute paths for naming shared libraries, and exclude the
10809	  # DT_RUNPATH tag from executables and libraries.  But doing so
10810	  # requires that you compile everything twice, which is a pain.
10811	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10812	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10813	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10814	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10815	  else
10816	    ld_shlibs=no
10817	  fi
10818	;;
10819      esac
10820      ;;
10821
10822    sunos4*)
10823      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10824      wlarc=
10825      hardcode_direct=yes
10826      hardcode_shlibpath_var=no
10827      ;;
10828
10829    *)
10830      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10831	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10832	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10833      else
10834	ld_shlibs=no
10835      fi
10836      ;;
10837    esac
10838
10839    if test no = "$ld_shlibs"; then
10840      runpath_var=
10841      hardcode_libdir_flag_spec=
10842      export_dynamic_flag_spec=
10843      whole_archive_flag_spec=
10844    fi
10845  else
10846    # PORTME fill in a description of your system's linker (not GNU ld)
10847    case $host_os in
10848    aix3*)
10849      allow_undefined_flag=unsupported
10850      always_export_symbols=yes
10851      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'
10852      # Note: this linker hardcodes the directories in LIBPATH if there
10853      # are no directories specified by -L.
10854      hardcode_minus_L=yes
10855      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10856	# Neither direct hardcoding nor static linking is supported with a
10857	# broken collect2.
10858	hardcode_direct=unsupported
10859      fi
10860      ;;
10861
10862    aix[4-9]*)
10863      if test ia64 = "$host_cpu"; then
10864	# On IA64, the linker does run time linking by default, so we don't
10865	# have to do anything special.
10866	aix_use_runtimelinking=no
10867	exp_sym_flag='-Bexport'
10868	no_entry_flag=
10869      else
10870	# If we're using GNU nm, then we don't want the "-C" option.
10871	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
10872	# Without the "-l" option, or with the "-B" option, AIX nm treats
10873	# weak defined symbols like other global defined symbols, whereas
10874	# GNU nm marks them as "W".
10875	# While the 'weak' keyword is ignored in the Export File, we need
10876	# it in the Import File for the 'aix-soname' feature, so we have
10877	# to replace the "-B" option with "-P" for AIX nm.
10878	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10879	  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'
10880	else
10881	  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'
10882	fi
10883	aix_use_runtimelinking=no
10884
10885	# Test if we are trying to use run time linking or normal
10886	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
10887	# have runtime linking enabled, and use it for executables.
10888	# For shared libraries, we enable/disable runtime linking
10889	# depending on the kind of the shared library created -
10890	# when "with_aix_soname,aix_use_runtimelinking" is:
10891	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
10892	# "aix,yes"  lib.so          shared, rtl:yes, for executables
10893	#            lib.a           static archive
10894	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
10895	#            lib.a(lib.so.V) shared, rtl:no,  for executables
10896	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10897	#            lib.a(lib.so.V) shared, rtl:no
10898	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
10899	#            lib.a           static archive
10900	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10901	  for ld_flag in $LDFLAGS; do
10902	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
10903	    aix_use_runtimelinking=yes
10904	    break
10905	  fi
10906	  done
10907	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
10908	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
10909	    # so we don't have lib.a shared libs to link our executables.
10910	    # We have to force runtime linking in this case.
10911	    aix_use_runtimelinking=yes
10912	    LDFLAGS="$LDFLAGS -Wl,-brtl"
10913	  fi
10914	  ;;
10915	esac
10916
10917	exp_sym_flag='-bexport'
10918	no_entry_flag='-bnoentry'
10919      fi
10920
10921      # When large executables or shared objects are built, AIX ld can
10922      # have problems creating the table of contents.  If linking a library
10923      # or program results in "error TOC overflow" add -mminimal-toc to
10924      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10925      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10926
10927      archive_cmds=''
10928      hardcode_direct=yes
10929      hardcode_direct_absolute=yes
10930      hardcode_libdir_separator=':'
10931      link_all_deplibs=yes
10932      file_list_spec='$wl-f,'
10933      case $with_aix_soname,$aix_use_runtimelinking in
10934      aix,*) ;; # traditional, no import file
10935      svr4,* | *,yes) # use import file
10936	# The Import File defines what to hardcode.
10937	hardcode_direct=no
10938	hardcode_direct_absolute=no
10939	;;
10940      esac
10941
10942      if test yes = "$GCC"; then
10943	case $host_os in aix4.[012]|aix4.[012].*)
10944	# We only want to do this on AIX 4.2 and lower, the check
10945	# below for broken collect2 doesn't work under 4.3+
10946	  collect2name=`$CC -print-prog-name=collect2`
10947	  if test -f "$collect2name" &&
10948	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10949	  then
10950	  # We have reworked collect2
10951	  :
10952	  else
10953	  # We have old collect2
10954	  hardcode_direct=unsupported
10955	  # It fails to find uninstalled libraries when the uninstalled
10956	  # path is not listed in the libpath.  Setting hardcode_minus_L
10957	  # to unsupported forces relinking
10958	  hardcode_minus_L=yes
10959	  hardcode_libdir_flag_spec='-L$libdir'
10960	  hardcode_libdir_separator=
10961	  fi
10962	  ;;
10963	esac
10964	shared_flag='-shared'
10965	if test yes = "$aix_use_runtimelinking"; then
10966	  shared_flag="$shared_flag "'$wl-G'
10967	fi
10968	# Need to ensure runtime linking is disabled for the traditional
10969	# shared library, or the linker may eventually find shared libraries
10970	# /with/ Import File - we do not want to mix them.
10971	shared_flag_aix='-shared'
10972	shared_flag_svr4='-shared $wl-G'
10973      else
10974	# not using gcc
10975	if test ia64 = "$host_cpu"; then
10976	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10977	# chokes on -Wl,-G. The following line is correct:
10978	  shared_flag='-G'
10979	else
10980	  if test yes = "$aix_use_runtimelinking"; then
10981	    shared_flag='$wl-G'
10982	  else
10983	    shared_flag='$wl-bM:SRE'
10984	  fi
10985	  shared_flag_aix='$wl-bM:SRE'
10986	  shared_flag_svr4='$wl-G'
10987	fi
10988      fi
10989
10990      export_dynamic_flag_spec='$wl-bexpall'
10991      # It seems that -bexpall does not export symbols beginning with
10992      # underscore (_), so it is better to generate a list of symbols to export.
10993      always_export_symbols=yes
10994      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
10995	# Warning - without using the other runtime loading flags (-brtl),
10996	# -berok will link without error, but may produce a broken library.
10997	allow_undefined_flag='-berok'
10998        # Determine the default libpath from the value encoded in an
10999        # empty executable.
11000        if test set = "${lt_cv_aix_libpath+set}"; then
11001  aix_libpath=$lt_cv_aix_libpath
11002else
11003  if ${lt_cv_aix_libpath_+:} false; then :
11004  $as_echo_n "(cached) " >&6
11005else
11006  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11007/* end confdefs.h.  */
11008
11009int
11010main ()
11011{
11012
11013  ;
11014  return 0;
11015}
11016_ACEOF
11017if ac_fn_c_try_link "$LINENO"; then :
11018
11019  lt_aix_libpath_sed='
11020      /Import File Strings/,/^$/ {
11021	  /^0/ {
11022	      s/^0  *\([^ ]*\) *$/\1/
11023	      p
11024	  }
11025      }'
11026  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11027  # Check for a 64-bit object if we didn't find anything.
11028  if test -z "$lt_cv_aix_libpath_"; then
11029    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11030  fi
11031fi
11032rm -f core conftest.err conftest.$ac_objext \
11033    conftest$ac_exeext conftest.$ac_ext
11034  if test -z "$lt_cv_aix_libpath_"; then
11035    lt_cv_aix_libpath_=/usr/lib:/lib
11036  fi
11037
11038fi
11039
11040  aix_libpath=$lt_cv_aix_libpath_
11041fi
11042
11043        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11044        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
11045      else
11046	if test ia64 = "$host_cpu"; then
11047	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
11048	  allow_undefined_flag="-z nodefs"
11049	  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"
11050	else
11051	 # Determine the default libpath from the value encoded in an
11052	 # empty executable.
11053	 if test set = "${lt_cv_aix_libpath+set}"; then
11054  aix_libpath=$lt_cv_aix_libpath
11055else
11056  if ${lt_cv_aix_libpath_+:} false; then :
11057  $as_echo_n "(cached) " >&6
11058else
11059  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11060/* end confdefs.h.  */
11061
11062int
11063main ()
11064{
11065
11066  ;
11067  return 0;
11068}
11069_ACEOF
11070if ac_fn_c_try_link "$LINENO"; then :
11071
11072  lt_aix_libpath_sed='
11073      /Import File Strings/,/^$/ {
11074	  /^0/ {
11075	      s/^0  *\([^ ]*\) *$/\1/
11076	      p
11077	  }
11078      }'
11079  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11080  # Check for a 64-bit object if we didn't find anything.
11081  if test -z "$lt_cv_aix_libpath_"; then
11082    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11083  fi
11084fi
11085rm -f core conftest.err conftest.$ac_objext \
11086    conftest$ac_exeext conftest.$ac_ext
11087  if test -z "$lt_cv_aix_libpath_"; then
11088    lt_cv_aix_libpath_=/usr/lib:/lib
11089  fi
11090
11091fi
11092
11093  aix_libpath=$lt_cv_aix_libpath_
11094fi
11095
11096	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11097	  # Warning - without using the other run time loading flags,
11098	  # -berok will link without error, but may produce a broken library.
11099	  no_undefined_flag=' $wl-bernotok'
11100	  allow_undefined_flag=' $wl-berok'
11101	  if test yes = "$with_gnu_ld"; then
11102	    # We only use this code for GNU lds that support --whole-archive.
11103	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
11104	  else
11105	    # Exported symbols can be pulled into shared objects from archives
11106	    whole_archive_flag_spec='$convenience'
11107	  fi
11108	  archive_cmds_need_lc=yes
11109	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
11110	  # -brtl affects multiple linker settings, -berok does not and is overridden later
11111	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
11112	  if test svr4 != "$with_aix_soname"; then
11113	    # This is similar to how AIX traditionally builds its shared libraries.
11114	    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'
11115	  fi
11116	  if test aix != "$with_aix_soname"; then
11117	    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'
11118	  else
11119	    # used by -dlpreopen to get the symbols
11120	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
11121	  fi
11122	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
11123	fi
11124      fi
11125      ;;
11126
11127    amigaos*)
11128      case $host_cpu in
11129      powerpc)
11130            # see comment about AmigaOS4 .so support
11131            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11132            archive_expsym_cmds=''
11133        ;;
11134      m68k)
11135            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)'
11136            hardcode_libdir_flag_spec='-L$libdir'
11137            hardcode_minus_L=yes
11138        ;;
11139      esac
11140      ;;
11141
11142    bsdi[45]*)
11143      export_dynamic_flag_spec=-rdynamic
11144      ;;
11145
11146    cygwin* | mingw* | pw32* | cegcc*)
11147      # When not using gcc, we currently assume that we are using
11148      # Microsoft Visual C++.
11149      # hardcode_libdir_flag_spec is actually meaningless, as there is
11150      # no search path for DLLs.
11151      case $cc_basename in
11152      cl*)
11153	# Native MSVC
11154	hardcode_libdir_flag_spec=' '
11155	allow_undefined_flag=unsupported
11156	always_export_symbols=yes
11157	file_list_spec='@'
11158	# Tell ltmain to make .lib files, not .a files.
11159	libext=lib
11160	# Tell ltmain to make .dll files, not .so files.
11161	shrext_cmds=.dll
11162	# FIXME: Setting linknames here is a bad hack.
11163	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
11164	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
11165            cp "$export_symbols" "$output_objdir/$soname.def";
11166            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
11167          else
11168            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
11169          fi~
11170          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11171          linknames='
11172	# The linker will not automatically build a static lib if we build a DLL.
11173	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11174	enable_shared_with_static_runtimes=yes
11175	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11176	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11177	# Don't use ranlib
11178	old_postinstall_cmds='chmod 644 $oldlib'
11179	postlink_cmds='lt_outputfile="@OUTPUT@"~
11180          lt_tool_outputfile="@TOOL_OUTPUT@"~
11181          case $lt_outputfile in
11182            *.exe|*.EXE) ;;
11183            *)
11184              lt_outputfile=$lt_outputfile.exe
11185              lt_tool_outputfile=$lt_tool_outputfile.exe
11186              ;;
11187          esac~
11188          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
11189            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11190            $RM "$lt_outputfile.manifest";
11191          fi'
11192	;;
11193      *)
11194	# Assume MSVC wrapper
11195	hardcode_libdir_flag_spec=' '
11196	allow_undefined_flag=unsupported
11197	# Tell ltmain to make .lib files, not .a files.
11198	libext=lib
11199	# Tell ltmain to make .dll files, not .so files.
11200	shrext_cmds=.dll
11201	# FIXME: Setting linknames here is a bad hack.
11202	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11203	# The linker will automatically build a .lib file if we build a DLL.
11204	old_archive_from_new_cmds='true'
11205	# FIXME: Should let the user specify the lib program.
11206	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
11207	enable_shared_with_static_runtimes=yes
11208	;;
11209      esac
11210      ;;
11211
11212    darwin* | rhapsody*)
11213
11214
11215  archive_cmds_need_lc=no
11216  hardcode_direct=no
11217  hardcode_automatic=yes
11218  hardcode_shlibpath_var=unsupported
11219  if test yes = "$lt_cv_ld_force_load"; then
11220    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\"`'
11221
11222  else
11223    whole_archive_flag_spec=''
11224  fi
11225  link_all_deplibs=yes
11226  allow_undefined_flag=$_lt_dar_allow_undefined
11227  case $cc_basename in
11228     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
11229     *) _lt_dar_can_shared=$GCC ;;
11230  esac
11231  if test yes = "$_lt_dar_can_shared"; then
11232    output_verbose_link_cmd=func_echo_all
11233    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
11234    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
11235    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"
11236    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"
11237
11238  else
11239  ld_shlibs=no
11240  fi
11241
11242      ;;
11243
11244    dgux*)
11245      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11246      hardcode_libdir_flag_spec='-L$libdir'
11247      hardcode_shlibpath_var=no
11248      ;;
11249
11250    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11251    # support.  Future versions do this automatically, but an explicit c++rt0.o
11252    # does not break anything, and helps significantly (at the cost of a little
11253    # extra space).
11254    freebsd2.2*)
11255      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11256      hardcode_libdir_flag_spec='-R$libdir'
11257      hardcode_direct=yes
11258      hardcode_shlibpath_var=no
11259      ;;
11260
11261    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11262    freebsd2.*)
11263      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11264      hardcode_direct=yes
11265      hardcode_minus_L=yes
11266      hardcode_shlibpath_var=no
11267      ;;
11268
11269    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11270    freebsd* | dragonfly*)
11271      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11272      hardcode_libdir_flag_spec='-R$libdir'
11273      hardcode_direct=yes
11274      hardcode_shlibpath_var=no
11275      ;;
11276
11277    hpux9*)
11278      if test yes = "$GCC"; then
11279	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'
11280      else
11281	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'
11282      fi
11283      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11284      hardcode_libdir_separator=:
11285      hardcode_direct=yes
11286
11287      # hardcode_minus_L: Not really in the search PATH,
11288      # but as the default location of the library.
11289      hardcode_minus_L=yes
11290      export_dynamic_flag_spec='$wl-E'
11291      ;;
11292
11293    hpux10*)
11294      if test yes,no = "$GCC,$with_gnu_ld"; then
11295	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11296      else
11297	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11298      fi
11299      if test no = "$with_gnu_ld"; then
11300	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11301	hardcode_libdir_separator=:
11302	hardcode_direct=yes
11303	hardcode_direct_absolute=yes
11304	export_dynamic_flag_spec='$wl-E'
11305	# hardcode_minus_L: Not really in the search PATH,
11306	# but as the default location of the library.
11307	hardcode_minus_L=yes
11308      fi
11309      ;;
11310
11311    hpux11*)
11312      if test yes,no = "$GCC,$with_gnu_ld"; then
11313	case $host_cpu in
11314	hppa*64*)
11315	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11316	  ;;
11317	ia64*)
11318	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11319	  ;;
11320	*)
11321	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11322	  ;;
11323	esac
11324      else
11325	case $host_cpu in
11326	hppa*64*)
11327	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11328	  ;;
11329	ia64*)
11330	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11331	  ;;
11332	*)
11333
11334	  # Older versions of the 11.00 compiler do not understand -b yet
11335	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11336	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11337$as_echo_n "checking if $CC understands -b... " >&6; }
11338if ${lt_cv_prog_compiler__b+:} false; then :
11339  $as_echo_n "(cached) " >&6
11340else
11341  lt_cv_prog_compiler__b=no
11342   save_LDFLAGS=$LDFLAGS
11343   LDFLAGS="$LDFLAGS -b"
11344   echo "$lt_simple_link_test_code" > conftest.$ac_ext
11345   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11346     # The linker can only warn and ignore the option if not recognized
11347     # So say no if there are warnings
11348     if test -s conftest.err; then
11349       # Append any errors to the config.log.
11350       cat conftest.err 1>&5
11351       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11352       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11353       if diff conftest.exp conftest.er2 >/dev/null; then
11354         lt_cv_prog_compiler__b=yes
11355       fi
11356     else
11357       lt_cv_prog_compiler__b=yes
11358     fi
11359   fi
11360   $RM -r conftest*
11361   LDFLAGS=$save_LDFLAGS
11362
11363fi
11364{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11365$as_echo "$lt_cv_prog_compiler__b" >&6; }
11366
11367if test yes = "$lt_cv_prog_compiler__b"; then
11368    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11369else
11370    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11371fi
11372
11373	  ;;
11374	esac
11375      fi
11376      if test no = "$with_gnu_ld"; then
11377	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11378	hardcode_libdir_separator=:
11379
11380	case $host_cpu in
11381	hppa*64*|ia64*)
11382	  hardcode_direct=no
11383	  hardcode_shlibpath_var=no
11384	  ;;
11385	*)
11386	  hardcode_direct=yes
11387	  hardcode_direct_absolute=yes
11388	  export_dynamic_flag_spec='$wl-E'
11389
11390	  # hardcode_minus_L: Not really in the search PATH,
11391	  # but as the default location of the library.
11392	  hardcode_minus_L=yes
11393	  ;;
11394	esac
11395      fi
11396      ;;
11397
11398    irix5* | irix6* | nonstopux*)
11399      if test yes = "$GCC"; then
11400	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'
11401	# Try to use the -exported_symbol ld option, if it does not
11402	# work, assume that -exports_file does not work either and
11403	# implicitly export all symbols.
11404	# This should be the same for all languages, so no per-tag cache variable.
11405	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11406$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11407if ${lt_cv_irix_exported_symbol+:} false; then :
11408  $as_echo_n "(cached) " >&6
11409else
11410  save_LDFLAGS=$LDFLAGS
11411	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
11412	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11413/* end confdefs.h.  */
11414int foo (void) { return 0; }
11415_ACEOF
11416if ac_fn_c_try_link "$LINENO"; then :
11417  lt_cv_irix_exported_symbol=yes
11418else
11419  lt_cv_irix_exported_symbol=no
11420fi
11421rm -f core conftest.err conftest.$ac_objext \
11422    conftest$ac_exeext conftest.$ac_ext
11423           LDFLAGS=$save_LDFLAGS
11424fi
11425{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11426$as_echo "$lt_cv_irix_exported_symbol" >&6; }
11427	if test yes = "$lt_cv_irix_exported_symbol"; then
11428          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'
11429	fi
11430      else
11431	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'
11432	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'
11433      fi
11434      archive_cmds_need_lc='no'
11435      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11436      hardcode_libdir_separator=:
11437      inherit_rpath=yes
11438      link_all_deplibs=yes
11439      ;;
11440
11441    linux*)
11442      case $cc_basename in
11443      tcc*)
11444	# Fabrice Bellard et al's Tiny C Compiler
11445	ld_shlibs=yes
11446	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11447	;;
11448      esac
11449      ;;
11450
11451    netbsd*)
11452      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11453	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
11454      else
11455	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
11456      fi
11457      hardcode_libdir_flag_spec='-R$libdir'
11458      hardcode_direct=yes
11459      hardcode_shlibpath_var=no
11460      ;;
11461
11462    newsos6)
11463      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11464      hardcode_direct=yes
11465      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11466      hardcode_libdir_separator=:
11467      hardcode_shlibpath_var=no
11468      ;;
11469
11470    *nto* | *qnx*)
11471      ;;
11472
11473    openbsd* | bitrig*)
11474      if test -f /usr/libexec/ld.so; then
11475	hardcode_direct=yes
11476	hardcode_shlibpath_var=no
11477	hardcode_direct_absolute=yes
11478	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11479	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11480	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
11481	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11482	  export_dynamic_flag_spec='$wl-E'
11483	else
11484	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11485	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11486	fi
11487      else
11488	ld_shlibs=no
11489      fi
11490      ;;
11491
11492    os2*)
11493      hardcode_libdir_flag_spec='-L$libdir'
11494      hardcode_minus_L=yes
11495      allow_undefined_flag=unsupported
11496      shrext_cmds=.dll
11497      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11498	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11499	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11500	$ECHO EXPORTS >> $output_objdir/$libname.def~
11501	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11502	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11503	emximp -o $lib $output_objdir/$libname.def'
11504      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11505	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11506	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11507	$ECHO EXPORTS >> $output_objdir/$libname.def~
11508	prefix_cmds="$SED"~
11509	if test EXPORTS = "`$SED 1q $export_symbols`"; then
11510	  prefix_cmds="$prefix_cmds -e 1d";
11511	fi~
11512	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11513	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11514	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11515	emximp -o $lib $output_objdir/$libname.def'
11516      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11517      enable_shared_with_static_runtimes=yes
11518      ;;
11519
11520    osf3*)
11521      if test yes = "$GCC"; then
11522	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11523	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'
11524      else
11525	allow_undefined_flag=' -expect_unresolved \*'
11526	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'
11527      fi
11528      archive_cmds_need_lc='no'
11529      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11530      hardcode_libdir_separator=:
11531      ;;
11532
11533    osf4* | osf5*)	# as osf3* with the addition of -msym flag
11534      if test yes = "$GCC"; then
11535	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11536	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'
11537	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11538      else
11539	allow_undefined_flag=' -expect_unresolved \*'
11540	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'
11541	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~
11542          $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'
11543
11544	# Both c and cxx compiler support -rpath directly
11545	hardcode_libdir_flag_spec='-rpath $libdir'
11546      fi
11547      archive_cmds_need_lc='no'
11548      hardcode_libdir_separator=:
11549      ;;
11550
11551    solaris*)
11552      no_undefined_flag=' -z defs'
11553      if test yes = "$GCC"; then
11554	wlarc='$wl'
11555	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11556	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11557          $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'
11558      else
11559	case `$CC -V 2>&1` in
11560	*"Compilers 5.0"*)
11561	  wlarc=''
11562	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11563	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11564            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11565	  ;;
11566	*)
11567	  wlarc='$wl'
11568	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11569	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11570            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11571	  ;;
11572	esac
11573      fi
11574      hardcode_libdir_flag_spec='-R$libdir'
11575      hardcode_shlibpath_var=no
11576      case $host_os in
11577      solaris2.[0-5] | solaris2.[0-5].*) ;;
11578      *)
11579	# The compiler driver will combine and reorder linker options,
11580	# but understands '-z linker_flag'.  GCC discards it without '$wl',
11581	# but is careful enough not to reorder.
11582	# Supported since Solaris 2.6 (maybe 2.5.1?)
11583	if test yes = "$GCC"; then
11584	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
11585	else
11586	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11587	fi
11588	;;
11589      esac
11590      link_all_deplibs=yes
11591      ;;
11592
11593    sunos4*)
11594      if test sequent = "$host_vendor"; then
11595	# Use $CC to link under sequent, because it throws in some extra .o
11596	# files that make .init and .fini sections work.
11597	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11598      else
11599	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11600      fi
11601      hardcode_libdir_flag_spec='-L$libdir'
11602      hardcode_direct=yes
11603      hardcode_minus_L=yes
11604      hardcode_shlibpath_var=no
11605      ;;
11606
11607    sysv4)
11608      case $host_vendor in
11609	sni)
11610	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11611	  hardcode_direct=yes # is this really true???
11612	;;
11613	siemens)
11614	  ## LD is ld it makes a PLAMLIB
11615	  ## CC just makes a GrossModule.
11616	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11617	  reload_cmds='$CC -r -o $output$reload_objs'
11618	  hardcode_direct=no
11619        ;;
11620	motorola)
11621	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11622	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11623	;;
11624      esac
11625      runpath_var='LD_RUN_PATH'
11626      hardcode_shlibpath_var=no
11627      ;;
11628
11629    sysv4.3*)
11630      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11631      hardcode_shlibpath_var=no
11632      export_dynamic_flag_spec='-Bexport'
11633      ;;
11634
11635    sysv4*MP*)
11636      if test -d /usr/nec; then
11637	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11638	hardcode_shlibpath_var=no
11639	runpath_var=LD_RUN_PATH
11640	hardcode_runpath_var=yes
11641	ld_shlibs=yes
11642      fi
11643      ;;
11644
11645    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11646      no_undefined_flag='$wl-z,text'
11647      archive_cmds_need_lc=no
11648      hardcode_shlibpath_var=no
11649      runpath_var='LD_RUN_PATH'
11650
11651      if test yes = "$GCC"; then
11652	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11653	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11654      else
11655	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11656	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11657      fi
11658      ;;
11659
11660    sysv5* | sco3.2v5* | sco5v6*)
11661      # Note: We CANNOT use -z defs as we might desire, because we do not
11662      # link with -lc, and that would cause any symbols used from libc to
11663      # always be unresolved, which means just about no library would
11664      # ever link correctly.  If we're not using GNU ld we use -z text
11665      # though, which does catch some bad symbols but isn't as heavy-handed
11666      # as -z defs.
11667      no_undefined_flag='$wl-z,text'
11668      allow_undefined_flag='$wl-z,nodefs'
11669      archive_cmds_need_lc=no
11670      hardcode_shlibpath_var=no
11671      hardcode_libdir_flag_spec='$wl-R,$libdir'
11672      hardcode_libdir_separator=':'
11673      link_all_deplibs=yes
11674      export_dynamic_flag_spec='$wl-Bexport'
11675      runpath_var='LD_RUN_PATH'
11676
11677      if test yes = "$GCC"; then
11678	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11679	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11680      else
11681	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11682	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11683      fi
11684      ;;
11685
11686    uts4*)
11687      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11688      hardcode_libdir_flag_spec='-L$libdir'
11689      hardcode_shlibpath_var=no
11690      ;;
11691
11692    *)
11693      ld_shlibs=no
11694      ;;
11695    esac
11696
11697    if test sni = "$host_vendor"; then
11698      case $host in
11699      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11700	export_dynamic_flag_spec='$wl-Blargedynsym'
11701	;;
11702      esac
11703    fi
11704  fi
11705
11706{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11707$as_echo "$ld_shlibs" >&6; }
11708test no = "$ld_shlibs" && can_build_shared=no
11709
11710with_gnu_ld=$with_gnu_ld
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726#
11727# Do we need to explicitly link libc?
11728#
11729case "x$archive_cmds_need_lc" in
11730x|xyes)
11731  # Assume -lc should be added
11732  archive_cmds_need_lc=yes
11733
11734  if test yes,yes = "$GCC,$enable_shared"; then
11735    case $archive_cmds in
11736    *'~'*)
11737      # FIXME: we may have to deal with multi-command sequences.
11738      ;;
11739    '$CC '*)
11740      # Test whether the compiler implicitly links with -lc since on some
11741      # systems, -lgcc has to come before -lc. If gcc already passes -lc
11742      # to ld, don't add -lc before -lgcc.
11743      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11744$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11745if ${lt_cv_archive_cmds_need_lc+:} false; then :
11746  $as_echo_n "(cached) " >&6
11747else
11748  $RM conftest*
11749	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11750
11751	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11752  (eval $ac_compile) 2>&5
11753  ac_status=$?
11754  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11755  test $ac_status = 0; } 2>conftest.err; then
11756	  soname=conftest
11757	  lib=conftest
11758	  libobjs=conftest.$ac_objext
11759	  deplibs=
11760	  wl=$lt_prog_compiler_wl
11761	  pic_flag=$lt_prog_compiler_pic
11762	  compiler_flags=-v
11763	  linker_flags=-v
11764	  verstring=
11765	  output_objdir=.
11766	  libname=conftest
11767	  lt_save_allow_undefined_flag=$allow_undefined_flag
11768	  allow_undefined_flag=
11769	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11770  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11771  ac_status=$?
11772  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11773  test $ac_status = 0; }
11774	  then
11775	    lt_cv_archive_cmds_need_lc=no
11776	  else
11777	    lt_cv_archive_cmds_need_lc=yes
11778	  fi
11779	  allow_undefined_flag=$lt_save_allow_undefined_flag
11780	else
11781	  cat conftest.err 1>&5
11782	fi
11783	$RM conftest*
11784
11785fi
11786{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11787$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11788      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11789      ;;
11790    esac
11791  fi
11792  ;;
11793esac
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942
11943
11944
11945
11946  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11947$as_echo_n "checking dynamic linker characteristics... " >&6; }
11948
11949if test yes = "$GCC"; then
11950  case $host_os in
11951    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
11952    *) lt_awk_arg='/^libraries:/' ;;
11953  esac
11954  case $host_os in
11955    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
11956    *) lt_sed_strip_eq='s|=/|/|g' ;;
11957  esac
11958  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11959  case $lt_search_path_spec in
11960  *\;*)
11961    # if the path contains ";" then we assume it to be the separator
11962    # otherwise default to the standard path separator (i.e. ":") - it is
11963    # assumed that no part of a normal pathname contains ";" but that should
11964    # okay in the real world where ";" in dirpaths is itself problematic.
11965    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11966    ;;
11967  *)
11968    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11969    ;;
11970  esac
11971  # Ok, now we have the path, separated by spaces, we can step through it
11972  # and add multilib dir if necessary...
11973  lt_tmp_lt_search_path_spec=
11974  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11975  # ...but if some path component already ends with the multilib dir we assume
11976  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11977  case "$lt_multi_os_dir; $lt_search_path_spec " in
11978  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
11979    lt_multi_os_dir=
11980    ;;
11981  esac
11982  for lt_sys_path in $lt_search_path_spec; do
11983    if test -d "$lt_sys_path$lt_multi_os_dir"; then
11984      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11985    elif test -n "$lt_multi_os_dir"; then
11986      test -d "$lt_sys_path" && \
11987	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11988    fi
11989  done
11990  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11991BEGIN {RS = " "; FS = "/|\n";} {
11992  lt_foo = "";
11993  lt_count = 0;
11994  for (lt_i = NF; lt_i > 0; lt_i--) {
11995    if ($lt_i != "" && $lt_i != ".") {
11996      if ($lt_i == "..") {
11997        lt_count++;
11998      } else {
11999        if (lt_count == 0) {
12000          lt_foo = "/" $lt_i lt_foo;
12001        } else {
12002          lt_count--;
12003        }
12004      }
12005    }
12006  }
12007  if (lt_foo != "") { lt_freq[lt_foo]++; }
12008  if (lt_freq[lt_foo] == 1) { print lt_foo; }
12009}'`
12010  # AWK program above erroneously prepends '/' to C:/dos/paths
12011  # for these hosts.
12012  case $host_os in
12013    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
12014      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
12015  esac
12016  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
12017else
12018  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12019fi
12020library_names_spec=
12021libname_spec='lib$name'
12022soname_spec=
12023shrext_cmds=.so
12024postinstall_cmds=
12025postuninstall_cmds=
12026finish_cmds=
12027finish_eval=
12028shlibpath_var=
12029shlibpath_overrides_runpath=unknown
12030version_type=none
12031dynamic_linker="$host_os ld.so"
12032sys_lib_dlsearch_path_spec="/lib /usr/lib"
12033need_lib_prefix=unknown
12034hardcode_into_libs=no
12035
12036# when you set need_version to no, make sure it does not cause -set_version
12037# flags to be left without arguments
12038need_version=unknown
12039
12040
12041
12042case $host_os in
12043aix3*)
12044  version_type=linux # correct to gnu/linux during the next big refactor
12045  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
12046  shlibpath_var=LIBPATH
12047
12048  # AIX 3 has no versioning support, so we append a major version to the name.
12049  soname_spec='$libname$release$shared_ext$major'
12050  ;;
12051
12052aix[4-9]*)
12053  version_type=linux # correct to gnu/linux during the next big refactor
12054  need_lib_prefix=no
12055  need_version=no
12056  hardcode_into_libs=yes
12057  if test ia64 = "$host_cpu"; then
12058    # AIX 5 supports IA64
12059    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
12060    shlibpath_var=LD_LIBRARY_PATH
12061  else
12062    # With GCC up to 2.95.x, collect2 would create an import file
12063    # for dependence libraries.  The import file would start with
12064    # the line '#! .'.  This would cause the generated library to
12065    # depend on '.', always an invalid library.  This was fixed in
12066    # development snapshots of GCC prior to 3.0.
12067    case $host_os in
12068      aix4 | aix4.[01] | aix4.[01].*)
12069      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12070	   echo ' yes '
12071	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
12072	:
12073      else
12074	can_build_shared=no
12075      fi
12076      ;;
12077    esac
12078    # Using Import Files as archive members, it is possible to support
12079    # filename-based versioning of shared library archives on AIX. While
12080    # this would work for both with and without runtime linking, it will
12081    # prevent static linking of such archives. So we do filename-based
12082    # shared library versioning with .so extension only, which is used
12083    # when both runtime linking and shared linking is enabled.
12084    # Unfortunately, runtime linking may impact performance, so we do
12085    # not want this to be the default eventually. Also, we use the
12086    # versioned .so libs for executables only if there is the -brtl
12087    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
12088    # To allow for filename-based versioning support, we need to create
12089    # libNAME.so.V as an archive file, containing:
12090    # *) an Import File, referring to the versioned filename of the
12091    #    archive as well as the shared archive member, telling the
12092    #    bitwidth (32 or 64) of that shared object, and providing the
12093    #    list of exported symbols of that shared object, eventually
12094    #    decorated with the 'weak' keyword
12095    # *) the shared object with the F_LOADONLY flag set, to really avoid
12096    #    it being seen by the linker.
12097    # At run time we better use the real file rather than another symlink,
12098    # but for link time we create the symlink libNAME.so -> libNAME.so.V
12099
12100    case $with_aix_soname,$aix_use_runtimelinking in
12101    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
12102    # soname into executable. Probably we can add versioning support to
12103    # collect2, so additional links can be useful in future.
12104    aix,yes) # traditional libtool
12105      dynamic_linker='AIX unversionable lib.so'
12106      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12107      # instead of lib<name>.a to let people know that these are not
12108      # typical AIX shared libraries.
12109      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12110      ;;
12111    aix,no) # traditional AIX only
12112      dynamic_linker='AIX lib.a(lib.so.V)'
12113      # We preserve .a as extension for shared libraries through AIX4.2
12114      # and later when we are not doing run time linking.
12115      library_names_spec='$libname$release.a $libname.a'
12116      soname_spec='$libname$release$shared_ext$major'
12117      ;;
12118    svr4,*) # full svr4 only
12119      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
12120      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12121      # We do not specify a path in Import Files, so LIBPATH fires.
12122      shlibpath_overrides_runpath=yes
12123      ;;
12124    *,yes) # both, prefer svr4
12125      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
12126      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12127      # unpreferred sharedlib libNAME.a needs extra handling
12128      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"'
12129      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"'
12130      # We do not specify a path in Import Files, so LIBPATH fires.
12131      shlibpath_overrides_runpath=yes
12132      ;;
12133    *,no) # both, prefer aix
12134      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
12135      library_names_spec='$libname$release.a $libname.a'
12136      soname_spec='$libname$release$shared_ext$major'
12137      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
12138      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)'
12139      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"'
12140      ;;
12141    esac
12142    shlibpath_var=LIBPATH
12143  fi
12144  ;;
12145
12146amigaos*)
12147  case $host_cpu in
12148  powerpc)
12149    # Since July 2007 AmigaOS4 officially supports .so libraries.
12150    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12151    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12152    ;;
12153  m68k)
12154    library_names_spec='$libname.ixlibrary $libname.a'
12155    # Create ${libname}_ixlibrary.a entries in /sys/libs.
12156    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'
12157    ;;
12158  esac
12159  ;;
12160
12161beos*)
12162  library_names_spec='$libname$shared_ext'
12163  dynamic_linker="$host_os ld.so"
12164  shlibpath_var=LIBRARY_PATH
12165  ;;
12166
12167bsdi[45]*)
12168  version_type=linux # correct to gnu/linux during the next big refactor
12169  need_version=no
12170  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12171  soname_spec='$libname$release$shared_ext$major'
12172  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12173  shlibpath_var=LD_LIBRARY_PATH
12174  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12175  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12176  # the default ld.so.conf also contains /usr/contrib/lib and
12177  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12178  # libtool to hard-code these into programs
12179  ;;
12180
12181cygwin* | mingw* | pw32* | cegcc*)
12182  version_type=windows
12183  shrext_cmds=.dll
12184  need_version=no
12185  need_lib_prefix=no
12186
12187  case $GCC,$cc_basename in
12188  yes,*)
12189    # gcc
12190    library_names_spec='$libname.dll.a'
12191    # DLL is installed to $(libdir)/../bin by postinstall_cmds
12192    postinstall_cmds='base_file=`basename \$file`~
12193      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12194      dldir=$destdir/`dirname \$dlpath`~
12195      test -d \$dldir || mkdir -p \$dldir~
12196      $install_prog $dir/$dlname \$dldir/$dlname~
12197      chmod a+x \$dldir/$dlname~
12198      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12199        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12200      fi'
12201    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12202      dlpath=$dir/\$dldll~
12203       $RM \$dlpath'
12204    shlibpath_overrides_runpath=yes
12205
12206    case $host_os in
12207    cygwin*)
12208      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12209      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12210
12211      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
12212      ;;
12213    mingw* | cegcc*)
12214      # MinGW DLLs use traditional 'lib' prefix
12215      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12216      ;;
12217    pw32*)
12218      # pw32 DLLs use 'pw' prefix rather than 'lib'
12219      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12220      ;;
12221    esac
12222    dynamic_linker='Win32 ld.exe'
12223    ;;
12224
12225  *,cl*)
12226    # Native MSVC
12227    libname_spec='$name'
12228    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12229    library_names_spec='$libname.dll.lib'
12230
12231    case $build_os in
12232    mingw*)
12233      sys_lib_search_path_spec=
12234      lt_save_ifs=$IFS
12235      IFS=';'
12236      for lt_path in $LIB
12237      do
12238        IFS=$lt_save_ifs
12239        # Let DOS variable expansion print the short 8.3 style file name.
12240        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12241        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
12242      done
12243      IFS=$lt_save_ifs
12244      # Convert to MSYS style.
12245      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12246      ;;
12247    cygwin*)
12248      # Convert to unix form, then to dos form, then back to unix form
12249      # but this time dos style (no spaces!) so that the unix form looks
12250      # like /cygdrive/c/PROGRA~1:/cygdr...
12251      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
12252      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12253      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12254      ;;
12255    *)
12256      sys_lib_search_path_spec=$LIB
12257      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12258        # It is most probably a Windows format PATH.
12259        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12260      else
12261        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12262      fi
12263      # FIXME: find the short name or the path components, as spaces are
12264      # common. (e.g. "Program Files" -> "PROGRA~1")
12265      ;;
12266    esac
12267
12268    # DLL is installed to $(libdir)/../bin by postinstall_cmds
12269    postinstall_cmds='base_file=`basename \$file`~
12270      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12271      dldir=$destdir/`dirname \$dlpath`~
12272      test -d \$dldir || mkdir -p \$dldir~
12273      $install_prog $dir/$dlname \$dldir/$dlname'
12274    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12275      dlpath=$dir/\$dldll~
12276       $RM \$dlpath'
12277    shlibpath_overrides_runpath=yes
12278    dynamic_linker='Win32 link.exe'
12279    ;;
12280
12281  *)
12282    # Assume MSVC wrapper
12283    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
12284    dynamic_linker='Win32 ld.exe'
12285    ;;
12286  esac
12287  # FIXME: first we should search . and the directory the executable is in
12288  shlibpath_var=PATH
12289  ;;
12290
12291darwin* | rhapsody*)
12292  dynamic_linker="$host_os dyld"
12293  version_type=darwin
12294  need_lib_prefix=no
12295  need_version=no
12296  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
12297  soname_spec='$libname$release$major$shared_ext'
12298  shlibpath_overrides_runpath=yes
12299  shlibpath_var=DYLD_LIBRARY_PATH
12300  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12301
12302  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
12303  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12304  ;;
12305
12306dgux*)
12307  version_type=linux # correct to gnu/linux during the next big refactor
12308  need_lib_prefix=no
12309  need_version=no
12310  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12311  soname_spec='$libname$release$shared_ext$major'
12312  shlibpath_var=LD_LIBRARY_PATH
12313  ;;
12314
12315freebsd* | dragonfly*)
12316  # DragonFly does not have aout.  When/if they implement a new
12317  # versioning mechanism, adjust this.
12318  if test -x /usr/bin/objformat; then
12319    objformat=`/usr/bin/objformat`
12320  else
12321    case $host_os in
12322    freebsd[23].*) objformat=aout ;;
12323    *) objformat=elf ;;
12324    esac
12325  fi
12326  version_type=freebsd-$objformat
12327  case $version_type in
12328    freebsd-elf*)
12329      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12330      soname_spec='$libname$release$shared_ext$major'
12331      need_version=no
12332      need_lib_prefix=no
12333      ;;
12334    freebsd-*)
12335      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12336      need_version=yes
12337      ;;
12338  esac
12339  shlibpath_var=LD_LIBRARY_PATH
12340  case $host_os in
12341  freebsd2.*)
12342    shlibpath_overrides_runpath=yes
12343    ;;
12344  freebsd3.[01]* | freebsdelf3.[01]*)
12345    shlibpath_overrides_runpath=yes
12346    hardcode_into_libs=yes
12347    ;;
12348  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12349  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12350    shlibpath_overrides_runpath=no
12351    hardcode_into_libs=yes
12352    ;;
12353  *) # from 4.6 on, and DragonFly
12354    shlibpath_overrides_runpath=yes
12355    hardcode_into_libs=yes
12356    ;;
12357  esac
12358  ;;
12359
12360haiku*)
12361  version_type=linux # correct to gnu/linux during the next big refactor
12362  need_lib_prefix=no
12363  need_version=no
12364  dynamic_linker="$host_os runtime_loader"
12365  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12366  soname_spec='$libname$release$shared_ext$major'
12367  shlibpath_var=LIBRARY_PATH
12368  shlibpath_overrides_runpath=no
12369  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12370  hardcode_into_libs=yes
12371  ;;
12372
12373hpux9* | hpux10* | hpux11*)
12374  # Give a soname corresponding to the major version so that dld.sl refuses to
12375  # link against other versions.
12376  version_type=sunos
12377  need_lib_prefix=no
12378  need_version=no
12379  case $host_cpu in
12380  ia64*)
12381    shrext_cmds='.so'
12382    hardcode_into_libs=yes
12383    dynamic_linker="$host_os dld.so"
12384    shlibpath_var=LD_LIBRARY_PATH
12385    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12386    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12387    soname_spec='$libname$release$shared_ext$major'
12388    if test 32 = "$HPUX_IA64_MODE"; then
12389      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12390      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
12391    else
12392      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12393      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
12394    fi
12395    ;;
12396  hppa*64*)
12397    shrext_cmds='.sl'
12398    hardcode_into_libs=yes
12399    dynamic_linker="$host_os dld.sl"
12400    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12401    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12402    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12403    soname_spec='$libname$release$shared_ext$major'
12404    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12405    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12406    ;;
12407  *)
12408    shrext_cmds='.sl'
12409    dynamic_linker="$host_os dld.sl"
12410    shlibpath_var=SHLIB_PATH
12411    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12412    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12413    soname_spec='$libname$release$shared_ext$major'
12414    ;;
12415  esac
12416  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12417  postinstall_cmds='chmod 555 $lib'
12418  # or fails outright, so override atomically:
12419  install_override_mode=555
12420  ;;
12421
12422interix[3-9]*)
12423  version_type=linux # correct to gnu/linux during the next big refactor
12424  need_lib_prefix=no
12425  need_version=no
12426  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12427  soname_spec='$libname$release$shared_ext$major'
12428  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12429  shlibpath_var=LD_LIBRARY_PATH
12430  shlibpath_overrides_runpath=no
12431  hardcode_into_libs=yes
12432  ;;
12433
12434irix5* | irix6* | nonstopux*)
12435  case $host_os in
12436    nonstopux*) version_type=nonstopux ;;
12437    *)
12438	if test yes = "$lt_cv_prog_gnu_ld"; then
12439		version_type=linux # correct to gnu/linux during the next big refactor
12440	else
12441		version_type=irix
12442	fi ;;
12443  esac
12444  need_lib_prefix=no
12445  need_version=no
12446  soname_spec='$libname$release$shared_ext$major'
12447  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
12448  case $host_os in
12449  irix5* | nonstopux*)
12450    libsuff= shlibsuff=
12451    ;;
12452  *)
12453    case $LD in # libtool.m4 will add one of these switches to LD
12454    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12455      libsuff= shlibsuff= libmagic=32-bit;;
12456    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12457      libsuff=32 shlibsuff=N32 libmagic=N32;;
12458    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12459      libsuff=64 shlibsuff=64 libmagic=64-bit;;
12460    *) libsuff= shlibsuff= libmagic=never-match;;
12461    esac
12462    ;;
12463  esac
12464  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12465  shlibpath_overrides_runpath=no
12466  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
12467  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
12468  hardcode_into_libs=yes
12469  ;;
12470
12471# No shared lib support for Linux oldld, aout, or coff.
12472linux*oldld* | linux*aout* | linux*coff*)
12473  dynamic_linker=no
12474  ;;
12475
12476linux*android*)
12477  version_type=none # Android doesn't support versioned libraries.
12478  need_lib_prefix=no
12479  need_version=no
12480  library_names_spec='$libname$release$shared_ext'
12481  soname_spec='$libname$release$shared_ext'
12482  finish_cmds=
12483  shlibpath_var=LD_LIBRARY_PATH
12484  shlibpath_overrides_runpath=yes
12485
12486  # This implies no fast_install, which is unacceptable.
12487  # Some rework will be needed to allow for fast_install
12488  # before this can be enabled.
12489  hardcode_into_libs=yes
12490
12491  dynamic_linker='Android linker'
12492  # Don't embed -rpath directories since the linker doesn't support them.
12493  hardcode_libdir_flag_spec='-L$libdir'
12494  ;;
12495
12496# This must be glibc/ELF.
12497linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
12498  version_type=linux # correct to gnu/linux during the next big refactor
12499  need_lib_prefix=no
12500  need_version=no
12501  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12502  soname_spec='$libname$release$shared_ext$major'
12503  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12504  shlibpath_var=LD_LIBRARY_PATH
12505  shlibpath_overrides_runpath=no
12506
12507  # Some binutils ld are patched to set DT_RUNPATH
12508  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12509  $as_echo_n "(cached) " >&6
12510else
12511  lt_cv_shlibpath_overrides_runpath=no
12512    save_LDFLAGS=$LDFLAGS
12513    save_libdir=$libdir
12514    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12515	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12516    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12517/* end confdefs.h.  */
12518
12519int
12520main ()
12521{
12522
12523  ;
12524  return 0;
12525}
12526_ACEOF
12527if ac_fn_c_try_link "$LINENO"; then :
12528  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12529  lt_cv_shlibpath_overrides_runpath=yes
12530fi
12531fi
12532rm -f core conftest.err conftest.$ac_objext \
12533    conftest$ac_exeext conftest.$ac_ext
12534    LDFLAGS=$save_LDFLAGS
12535    libdir=$save_libdir
12536
12537fi
12538
12539  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12540
12541  # This implies no fast_install, which is unacceptable.
12542  # Some rework will be needed to allow for fast_install
12543  # before this can be enabled.
12544  hardcode_into_libs=yes
12545
12546  # Add ABI-specific directories to the system library path.
12547  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
12548
12549  # Ideally, we could use ldconfig to report *all* directores which are
12550  # searched for libraries, however this is still not possible.  Aside from not
12551  # being certain /sbin/ldconfig is available, command
12552  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
12553  # even though it is searched at run-time.  Try to do the best guess by
12554  # appending ld.so.conf contents (and includes) to the search path.
12555  if test -f /etc/ld.so.conf; then
12556    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' ' '`
12557    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
12558  fi
12559
12560  # We used to test for /lib/ld.so.1 and disable shared libraries on
12561  # powerpc, because MkLinux only supported shared libraries with the
12562  # GNU dynamic linker.  Since this was broken with cross compilers,
12563  # most powerpc-linux boxes support dynamic linking these days and
12564  # people can always --disable-shared, the test was removed, and we
12565  # assume the GNU/Linux dynamic linker is in use.
12566  dynamic_linker='GNU/Linux ld.so'
12567  ;;
12568
12569netbsd*)
12570  version_type=sunos
12571  need_lib_prefix=no
12572  need_version=no
12573  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12574    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12575    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12576    dynamic_linker='NetBSD (a.out) ld.so'
12577  else
12578    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12579    soname_spec='$libname$release$shared_ext$major'
12580    dynamic_linker='NetBSD ld.elf_so'
12581  fi
12582  shlibpath_var=LD_LIBRARY_PATH
12583  shlibpath_overrides_runpath=yes
12584  hardcode_into_libs=yes
12585  ;;
12586
12587newsos6)
12588  version_type=linux # correct to gnu/linux during the next big refactor
12589  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12590  shlibpath_var=LD_LIBRARY_PATH
12591  shlibpath_overrides_runpath=yes
12592  ;;
12593
12594*nto* | *qnx*)
12595  version_type=qnx
12596  need_lib_prefix=no
12597  need_version=no
12598  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12599  soname_spec='$libname$release$shared_ext$major'
12600  shlibpath_var=LD_LIBRARY_PATH
12601  shlibpath_overrides_runpath=no
12602  hardcode_into_libs=yes
12603  dynamic_linker='ldqnx.so'
12604  ;;
12605
12606openbsd* | bitrig*)
12607  version_type=sunos
12608  sys_lib_dlsearch_path_spec=/usr/lib
12609  need_lib_prefix=no
12610  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12611    need_version=no
12612  else
12613    need_version=yes
12614  fi
12615  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12616  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12617  shlibpath_var=LD_LIBRARY_PATH
12618  shlibpath_overrides_runpath=yes
12619  ;;
12620
12621os2*)
12622  libname_spec='$name'
12623  version_type=windows
12624  shrext_cmds=.dll
12625  need_version=no
12626  need_lib_prefix=no
12627  # OS/2 can only load a DLL with a base name of 8 characters or less.
12628  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
12629    v=$($ECHO $release$versuffix | tr -d .-);
12630    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
12631    $ECHO $n$v`$shared_ext'
12632  library_names_spec='${libname}_dll.$libext'
12633  dynamic_linker='OS/2 ld.exe'
12634  shlibpath_var=BEGINLIBPATH
12635  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12636  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12637  postinstall_cmds='base_file=`basename \$file`~
12638    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
12639    dldir=$destdir/`dirname \$dlpath`~
12640    test -d \$dldir || mkdir -p \$dldir~
12641    $install_prog $dir/$dlname \$dldir/$dlname~
12642    chmod a+x \$dldir/$dlname~
12643    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12644      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12645    fi'
12646  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
12647    dlpath=$dir/\$dldll~
12648    $RM \$dlpath'
12649  ;;
12650
12651osf3* | osf4* | osf5*)
12652  version_type=osf
12653  need_lib_prefix=no
12654  need_version=no
12655  soname_spec='$libname$release$shared_ext$major'
12656  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12657  shlibpath_var=LD_LIBRARY_PATH
12658  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12659  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12660  ;;
12661
12662rdos*)
12663  dynamic_linker=no
12664  ;;
12665
12666solaris*)
12667  version_type=linux # correct to gnu/linux during the next big refactor
12668  need_lib_prefix=no
12669  need_version=no
12670  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12671  soname_spec='$libname$release$shared_ext$major'
12672  shlibpath_var=LD_LIBRARY_PATH
12673  shlibpath_overrides_runpath=yes
12674  hardcode_into_libs=yes
12675  # ldd complains unless libraries are executable
12676  postinstall_cmds='chmod +x $lib'
12677  ;;
12678
12679sunos4*)
12680  version_type=sunos
12681  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12682  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12683  shlibpath_var=LD_LIBRARY_PATH
12684  shlibpath_overrides_runpath=yes
12685  if test yes = "$with_gnu_ld"; then
12686    need_lib_prefix=no
12687  fi
12688  need_version=yes
12689  ;;
12690
12691sysv4 | sysv4.3*)
12692  version_type=linux # correct to gnu/linux during the next big refactor
12693  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12694  soname_spec='$libname$release$shared_ext$major'
12695  shlibpath_var=LD_LIBRARY_PATH
12696  case $host_vendor in
12697    sni)
12698      shlibpath_overrides_runpath=no
12699      need_lib_prefix=no
12700      runpath_var=LD_RUN_PATH
12701      ;;
12702    siemens)
12703      need_lib_prefix=no
12704      ;;
12705    motorola)
12706      need_lib_prefix=no
12707      need_version=no
12708      shlibpath_overrides_runpath=no
12709      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12710      ;;
12711  esac
12712  ;;
12713
12714sysv4*MP*)
12715  if test -d /usr/nec; then
12716    version_type=linux # correct to gnu/linux during the next big refactor
12717    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
12718    soname_spec='$libname$shared_ext.$major'
12719    shlibpath_var=LD_LIBRARY_PATH
12720  fi
12721  ;;
12722
12723sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12724  version_type=sco
12725  need_lib_prefix=no
12726  need_version=no
12727  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
12728  soname_spec='$libname$release$shared_ext$major'
12729  shlibpath_var=LD_LIBRARY_PATH
12730  shlibpath_overrides_runpath=yes
12731  hardcode_into_libs=yes
12732  if test yes = "$with_gnu_ld"; then
12733    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12734  else
12735    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12736    case $host_os in
12737      sco3.2v5*)
12738        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12739	;;
12740    esac
12741  fi
12742  sys_lib_dlsearch_path_spec='/usr/lib'
12743  ;;
12744
12745tpf*)
12746  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
12747  version_type=linux # correct to gnu/linux during the next big refactor
12748  need_lib_prefix=no
12749  need_version=no
12750  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12751  shlibpath_var=LD_LIBRARY_PATH
12752  shlibpath_overrides_runpath=no
12753  hardcode_into_libs=yes
12754  ;;
12755
12756uts4*)
12757  version_type=linux # correct to gnu/linux during the next big refactor
12758  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12759  soname_spec='$libname$release$shared_ext$major'
12760  shlibpath_var=LD_LIBRARY_PATH
12761  ;;
12762
12763*)
12764  dynamic_linker=no
12765  ;;
12766esac
12767{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12768$as_echo "$dynamic_linker" >&6; }
12769test no = "$dynamic_linker" && can_build_shared=no
12770
12771variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12772if test yes = "$GCC"; then
12773  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12774fi
12775
12776if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
12777  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
12778fi
12779
12780if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
12781  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
12782fi
12783
12784# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
12785configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
12786
12787# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
12788func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
12789
12790# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
12791configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
12792
12793
12794
12795
12796
12797
12798
12799
12800
12801
12802
12803
12804
12805
12806
12807
12808
12809
12810
12811
12812
12813
12814
12815
12816
12817
12818
12819
12820
12821
12822
12823
12824
12825
12826
12827
12828
12829
12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
12840
12841
12842
12843
12844
12845
12846
12847
12848
12849
12850
12851
12852
12853
12854
12855
12856
12857
12858
12859
12860
12861
12862
12863
12864
12865
12866
12867
12868
12869
12870
12871
12872
12873
12874
12875
12876
12877
12878
12879
12880
12881
12882
12883
12884
12885
12886
12887
12888
12889  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12890$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12891hardcode_action=
12892if test -n "$hardcode_libdir_flag_spec" ||
12893   test -n "$runpath_var" ||
12894   test yes = "$hardcode_automatic"; then
12895
12896  # We can hardcode non-existent directories.
12897  if test no != "$hardcode_direct" &&
12898     # If the only mechanism to avoid hardcoding is shlibpath_var, we
12899     # have to relink, otherwise we might link with an installed library
12900     # when we should be linking with a yet-to-be-installed one
12901     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12902     test no != "$hardcode_minus_L"; then
12903    # Linking always hardcodes the temporary library directory.
12904    hardcode_action=relink
12905  else
12906    # We can link without hardcoding, and we can hardcode nonexisting dirs.
12907    hardcode_action=immediate
12908  fi
12909else
12910  # We cannot hardcode anything, or else we can only hardcode existing
12911  # directories.
12912  hardcode_action=unsupported
12913fi
12914{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12915$as_echo "$hardcode_action" >&6; }
12916
12917if test relink = "$hardcode_action" ||
12918   test yes = "$inherit_rpath"; then
12919  # Fast installation is not supported
12920  enable_fast_install=no
12921elif test yes = "$shlibpath_overrides_runpath" ||
12922     test no = "$enable_shared"; then
12923  # Fast installation is not necessary
12924  enable_fast_install=needless
12925fi
12926
12927
12928
12929
12930
12931
12932  if test yes != "$enable_dlopen"; then
12933  enable_dlopen=unknown
12934  enable_dlopen_self=unknown
12935  enable_dlopen_self_static=unknown
12936else
12937  lt_cv_dlopen=no
12938  lt_cv_dlopen_libs=
12939
12940  case $host_os in
12941  beos*)
12942    lt_cv_dlopen=load_add_on
12943    lt_cv_dlopen_libs=
12944    lt_cv_dlopen_self=yes
12945    ;;
12946
12947  mingw* | pw32* | cegcc*)
12948    lt_cv_dlopen=LoadLibrary
12949    lt_cv_dlopen_libs=
12950    ;;
12951
12952  cygwin*)
12953    lt_cv_dlopen=dlopen
12954    lt_cv_dlopen_libs=
12955    ;;
12956
12957  darwin*)
12958    # if libdl is installed we need to link against it
12959    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12960$as_echo_n "checking for dlopen in -ldl... " >&6; }
12961if ${ac_cv_lib_dl_dlopen+:} false; then :
12962  $as_echo_n "(cached) " >&6
12963else
12964  ac_check_lib_save_LIBS=$LIBS
12965LIBS="-ldl  $LIBS"
12966cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12967/* end confdefs.h.  */
12968
12969/* Override any GCC internal prototype to avoid an error.
12970   Use char because int might match the return type of a GCC
12971   builtin and then its argument prototype would still apply.  */
12972#ifdef __cplusplus
12973extern "C"
12974#endif
12975char dlopen ();
12976int
12977main ()
12978{
12979return dlopen ();
12980  ;
12981  return 0;
12982}
12983_ACEOF
12984if ac_fn_c_try_link "$LINENO"; then :
12985  ac_cv_lib_dl_dlopen=yes
12986else
12987  ac_cv_lib_dl_dlopen=no
12988fi
12989rm -f core conftest.err conftest.$ac_objext \
12990    conftest$ac_exeext conftest.$ac_ext
12991LIBS=$ac_check_lib_save_LIBS
12992fi
12993{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12994$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12995if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12996  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12997else
12998
12999    lt_cv_dlopen=dyld
13000    lt_cv_dlopen_libs=
13001    lt_cv_dlopen_self=yes
13002
13003fi
13004
13005    ;;
13006
13007  tpf*)
13008    # Don't try to run any link tests for TPF.  We know it's impossible
13009    # because TPF is a cross-compiler, and we know how we open DSOs.
13010    lt_cv_dlopen=dlopen
13011    lt_cv_dlopen_libs=
13012    lt_cv_dlopen_self=no
13013    ;;
13014
13015  *)
13016    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
13017if test "x$ac_cv_func_shl_load" = xyes; then :
13018  lt_cv_dlopen=shl_load
13019else
13020  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
13021$as_echo_n "checking for shl_load in -ldld... " >&6; }
13022if ${ac_cv_lib_dld_shl_load+:} false; then :
13023  $as_echo_n "(cached) " >&6
13024else
13025  ac_check_lib_save_LIBS=$LIBS
13026LIBS="-ldld  $LIBS"
13027cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13028/* end confdefs.h.  */
13029
13030/* Override any GCC internal prototype to avoid an error.
13031   Use char because int might match the return type of a GCC
13032   builtin and then its argument prototype would still apply.  */
13033#ifdef __cplusplus
13034extern "C"
13035#endif
13036char shl_load ();
13037int
13038main ()
13039{
13040return shl_load ();
13041  ;
13042  return 0;
13043}
13044_ACEOF
13045if ac_fn_c_try_link "$LINENO"; then :
13046  ac_cv_lib_dld_shl_load=yes
13047else
13048  ac_cv_lib_dld_shl_load=no
13049fi
13050rm -f core conftest.err conftest.$ac_objext \
13051    conftest$ac_exeext conftest.$ac_ext
13052LIBS=$ac_check_lib_save_LIBS
13053fi
13054{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13055$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13056if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
13057  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
13058else
13059  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
13060if test "x$ac_cv_func_dlopen" = xyes; then :
13061  lt_cv_dlopen=dlopen
13062else
13063  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13064$as_echo_n "checking for dlopen in -ldl... " >&6; }
13065if ${ac_cv_lib_dl_dlopen+:} false; then :
13066  $as_echo_n "(cached) " >&6
13067else
13068  ac_check_lib_save_LIBS=$LIBS
13069LIBS="-ldl  $LIBS"
13070cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13071/* end confdefs.h.  */
13072
13073/* Override any GCC internal prototype to avoid an error.
13074   Use char because int might match the return type of a GCC
13075   builtin and then its argument prototype would still apply.  */
13076#ifdef __cplusplus
13077extern "C"
13078#endif
13079char dlopen ();
13080int
13081main ()
13082{
13083return dlopen ();
13084  ;
13085  return 0;
13086}
13087_ACEOF
13088if ac_fn_c_try_link "$LINENO"; then :
13089  ac_cv_lib_dl_dlopen=yes
13090else
13091  ac_cv_lib_dl_dlopen=no
13092fi
13093rm -f core conftest.err conftest.$ac_objext \
13094    conftest$ac_exeext conftest.$ac_ext
13095LIBS=$ac_check_lib_save_LIBS
13096fi
13097{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13098$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13099if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13100  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
13101else
13102  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13103$as_echo_n "checking for dlopen in -lsvld... " >&6; }
13104if ${ac_cv_lib_svld_dlopen+:} false; then :
13105  $as_echo_n "(cached) " >&6
13106else
13107  ac_check_lib_save_LIBS=$LIBS
13108LIBS="-lsvld  $LIBS"
13109cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13110/* end confdefs.h.  */
13111
13112/* Override any GCC internal prototype to avoid an error.
13113   Use char because int might match the return type of a GCC
13114   builtin and then its argument prototype would still apply.  */
13115#ifdef __cplusplus
13116extern "C"
13117#endif
13118char dlopen ();
13119int
13120main ()
13121{
13122return dlopen ();
13123  ;
13124  return 0;
13125}
13126_ACEOF
13127if ac_fn_c_try_link "$LINENO"; then :
13128  ac_cv_lib_svld_dlopen=yes
13129else
13130  ac_cv_lib_svld_dlopen=no
13131fi
13132rm -f core conftest.err conftest.$ac_objext \
13133    conftest$ac_exeext conftest.$ac_ext
13134LIBS=$ac_check_lib_save_LIBS
13135fi
13136{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13137$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13138if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
13139  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
13140else
13141  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13142$as_echo_n "checking for dld_link in -ldld... " >&6; }
13143if ${ac_cv_lib_dld_dld_link+:} false; then :
13144  $as_echo_n "(cached) " >&6
13145else
13146  ac_check_lib_save_LIBS=$LIBS
13147LIBS="-ldld  $LIBS"
13148cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13149/* end confdefs.h.  */
13150
13151/* Override any GCC internal prototype to avoid an error.
13152   Use char because int might match the return type of a GCC
13153   builtin and then its argument prototype would still apply.  */
13154#ifdef __cplusplus
13155extern "C"
13156#endif
13157char dld_link ();
13158int
13159main ()
13160{
13161return dld_link ();
13162  ;
13163  return 0;
13164}
13165_ACEOF
13166if ac_fn_c_try_link "$LINENO"; then :
13167  ac_cv_lib_dld_dld_link=yes
13168else
13169  ac_cv_lib_dld_dld_link=no
13170fi
13171rm -f core conftest.err conftest.$ac_objext \
13172    conftest$ac_exeext conftest.$ac_ext
13173LIBS=$ac_check_lib_save_LIBS
13174fi
13175{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13176$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13177if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
13178  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
13179fi
13180
13181
13182fi
13183
13184
13185fi
13186
13187
13188fi
13189
13190
13191fi
13192
13193
13194fi
13195
13196    ;;
13197  esac
13198
13199  if test no = "$lt_cv_dlopen"; then
13200    enable_dlopen=no
13201  else
13202    enable_dlopen=yes
13203  fi
13204
13205  case $lt_cv_dlopen in
13206  dlopen)
13207    save_CPPFLAGS=$CPPFLAGS
13208    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13209
13210    save_LDFLAGS=$LDFLAGS
13211    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13212
13213    save_LIBS=$LIBS
13214    LIBS="$lt_cv_dlopen_libs $LIBS"
13215
13216    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13217$as_echo_n "checking whether a program can dlopen itself... " >&6; }
13218if ${lt_cv_dlopen_self+:} false; then :
13219  $as_echo_n "(cached) " >&6
13220else
13221  	  if test yes = "$cross_compiling"; then :
13222  lt_cv_dlopen_self=cross
13223else
13224  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13225  lt_status=$lt_dlunknown
13226  cat > conftest.$ac_ext <<_LT_EOF
13227#line $LINENO "configure"
13228#include "confdefs.h"
13229
13230#if HAVE_DLFCN_H
13231#include <dlfcn.h>
13232#endif
13233
13234#include <stdio.h>
13235
13236#ifdef RTLD_GLOBAL
13237#  define LT_DLGLOBAL		RTLD_GLOBAL
13238#else
13239#  ifdef DL_GLOBAL
13240#    define LT_DLGLOBAL		DL_GLOBAL
13241#  else
13242#    define LT_DLGLOBAL		0
13243#  endif
13244#endif
13245
13246/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13247   find out it does not work in some platform. */
13248#ifndef LT_DLLAZY_OR_NOW
13249#  ifdef RTLD_LAZY
13250#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
13251#  else
13252#    ifdef DL_LAZY
13253#      define LT_DLLAZY_OR_NOW		DL_LAZY
13254#    else
13255#      ifdef RTLD_NOW
13256#        define LT_DLLAZY_OR_NOW	RTLD_NOW
13257#      else
13258#        ifdef DL_NOW
13259#          define LT_DLLAZY_OR_NOW	DL_NOW
13260#        else
13261#          define LT_DLLAZY_OR_NOW	0
13262#        endif
13263#      endif
13264#    endif
13265#  endif
13266#endif
13267
13268/* When -fvisibility=hidden is used, assume the code has been annotated
13269   correspondingly for the symbols needed.  */
13270#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13271int fnord () __attribute__((visibility("default")));
13272#endif
13273
13274int fnord () { return 42; }
13275int main ()
13276{
13277  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13278  int status = $lt_dlunknown;
13279
13280  if (self)
13281    {
13282      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13283      else
13284        {
13285	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13286          else puts (dlerror ());
13287	}
13288      /* dlclose (self); */
13289    }
13290  else
13291    puts (dlerror ());
13292
13293  return status;
13294}
13295_LT_EOF
13296  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13297  (eval $ac_link) 2>&5
13298  ac_status=$?
13299  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13300  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13301    (./conftest; exit; ) >&5 2>/dev/null
13302    lt_status=$?
13303    case x$lt_status in
13304      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13305      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13306      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
13307    esac
13308  else :
13309    # compilation failed
13310    lt_cv_dlopen_self=no
13311  fi
13312fi
13313rm -fr conftest*
13314
13315
13316fi
13317{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13318$as_echo "$lt_cv_dlopen_self" >&6; }
13319
13320    if test yes = "$lt_cv_dlopen_self"; then
13321      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
13322      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13323$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13324if ${lt_cv_dlopen_self_static+:} false; then :
13325  $as_echo_n "(cached) " >&6
13326else
13327  	  if test yes = "$cross_compiling"; then :
13328  lt_cv_dlopen_self_static=cross
13329else
13330  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13331  lt_status=$lt_dlunknown
13332  cat > conftest.$ac_ext <<_LT_EOF
13333#line $LINENO "configure"
13334#include "confdefs.h"
13335
13336#if HAVE_DLFCN_H
13337#include <dlfcn.h>
13338#endif
13339
13340#include <stdio.h>
13341
13342#ifdef RTLD_GLOBAL
13343#  define LT_DLGLOBAL		RTLD_GLOBAL
13344#else
13345#  ifdef DL_GLOBAL
13346#    define LT_DLGLOBAL		DL_GLOBAL
13347#  else
13348#    define LT_DLGLOBAL		0
13349#  endif
13350#endif
13351
13352/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13353   find out it does not work in some platform. */
13354#ifndef LT_DLLAZY_OR_NOW
13355#  ifdef RTLD_LAZY
13356#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
13357#  else
13358#    ifdef DL_LAZY
13359#      define LT_DLLAZY_OR_NOW		DL_LAZY
13360#    else
13361#      ifdef RTLD_NOW
13362#        define LT_DLLAZY_OR_NOW	RTLD_NOW
13363#      else
13364#        ifdef DL_NOW
13365#          define LT_DLLAZY_OR_NOW	DL_NOW
13366#        else
13367#          define LT_DLLAZY_OR_NOW	0
13368#        endif
13369#      endif
13370#    endif
13371#  endif
13372#endif
13373
13374/* When -fvisibility=hidden is used, assume the code has been annotated
13375   correspondingly for the symbols needed.  */
13376#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13377int fnord () __attribute__((visibility("default")));
13378#endif
13379
13380int fnord () { return 42; }
13381int main ()
13382{
13383  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13384  int status = $lt_dlunknown;
13385
13386  if (self)
13387    {
13388      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13389      else
13390        {
13391	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13392          else puts (dlerror ());
13393	}
13394      /* dlclose (self); */
13395    }
13396  else
13397    puts (dlerror ());
13398
13399  return status;
13400}
13401_LT_EOF
13402  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13403  (eval $ac_link) 2>&5
13404  ac_status=$?
13405  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13406  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13407    (./conftest; exit; ) >&5 2>/dev/null
13408    lt_status=$?
13409    case x$lt_status in
13410      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13411      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13412      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13413    esac
13414  else :
13415    # compilation failed
13416    lt_cv_dlopen_self_static=no
13417  fi
13418fi
13419rm -fr conftest*
13420
13421
13422fi
13423{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13424$as_echo "$lt_cv_dlopen_self_static" >&6; }
13425    fi
13426
13427    CPPFLAGS=$save_CPPFLAGS
13428    LDFLAGS=$save_LDFLAGS
13429    LIBS=$save_LIBS
13430    ;;
13431  esac
13432
13433  case $lt_cv_dlopen_self in
13434  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13435  *) enable_dlopen_self=unknown ;;
13436  esac
13437
13438  case $lt_cv_dlopen_self_static in
13439  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13440  *) enable_dlopen_self_static=unknown ;;
13441  esac
13442fi
13443
13444
13445
13446
13447
13448
13449
13450
13451
13452
13453
13454
13455
13456
13457
13458
13459
13460striplib=
13461old_striplib=
13462{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13463$as_echo_n "checking whether stripping libraries is possible... " >&6; }
13464if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13465  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13466  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13467  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13468$as_echo "yes" >&6; }
13469else
13470# FIXME - insert some real tests, host_os isn't really good enough
13471  case $host_os in
13472  darwin*)
13473    if test -n "$STRIP"; then
13474      striplib="$STRIP -x"
13475      old_striplib="$STRIP -S"
13476      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13477$as_echo "yes" >&6; }
13478    else
13479      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13480$as_echo "no" >&6; }
13481    fi
13482    ;;
13483  *)
13484    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13485$as_echo "no" >&6; }
13486    ;;
13487  esac
13488fi
13489
13490
13491
13492
13493
13494
13495
13496
13497
13498
13499
13500
13501  # Report what library types will actually be built
13502  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13503$as_echo_n "checking if libtool supports shared libraries... " >&6; }
13504  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13505$as_echo "$can_build_shared" >&6; }
13506
13507  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13508$as_echo_n "checking whether to build shared libraries... " >&6; }
13509  test no = "$can_build_shared" && enable_shared=no
13510
13511  # On AIX, shared libraries and static libraries use the same namespace, and
13512  # are all built from PIC.
13513  case $host_os in
13514  aix3*)
13515    test yes = "$enable_shared" && enable_static=no
13516    if test -n "$RANLIB"; then
13517      archive_cmds="$archive_cmds~\$RANLIB \$lib"
13518      postinstall_cmds='$RANLIB $lib'
13519    fi
13520    ;;
13521
13522  aix[4-9]*)
13523    if test ia64 != "$host_cpu"; then
13524      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
13525      yes,aix,yes) ;;			# shared object as lib.so file only
13526      yes,svr4,*) ;;			# shared object as lib.so archive member only
13527      yes,*) enable_static=no ;;	# shared object in lib.a archive as well
13528      esac
13529    fi
13530    ;;
13531  esac
13532  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13533$as_echo "$enable_shared" >&6; }
13534
13535  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13536$as_echo_n "checking whether to build static libraries... " >&6; }
13537  # Make sure either enable_shared or enable_static is yes.
13538  test yes = "$enable_shared" || enable_static=yes
13539  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13540$as_echo "$enable_static" >&6; }
13541
13542
13543
13544
13545fi
13546ac_ext=c
13547ac_cpp='$CPP $CPPFLAGS'
13548ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13549ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13550ac_compiler_gnu=$ac_cv_c_compiler_gnu
13551
13552CC=$lt_save_CC
13553
13554
13555
13556
13557
13558
13559
13560
13561
13562
13563
13564
13565
13566
13567
13568        ac_config_commands="$ac_config_commands libtool"
13569
13570
13571
13572
13573# Only expand once:
13574
13575
13576
13577
13578for ac_header in sys/types.h sys/time.h stdlib.h unistd.h string.h
13579do :
13580  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13581ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13582if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13583  cat >>confdefs.h <<_ACEOF
13584#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13585_ACEOF
13586
13587fi
13588
13589done
13590
13591
13592{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to pass version script to the linker ($LD)" >&5
13593$as_echo_n "checking how to pass version script to the linker ($LD)... " >&6; }
13594VERSION_SCRIPT_FLAGS=none
13595if $LD --help 2>&1 | grep "version-script" >/dev/null 2>/dev/null; then
13596    VERSION_SCRIPT_FLAGS=-Wl,--version-script=
13597elif $LD --help 2>&1 | grep "M mapfile" >/dev/null 2>/dev/null; then
13598    VERSION_SCRIPT_FLAGS="-Wl,-M -Wl,"
13599fi
13600{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $VERSION_SCRIPT_FLAGS" >&5
13601$as_echo "$VERSION_SCRIPT_FLAGS" >&6; }
13602
13603 if test "$VERSION_SCRIPT_FLAGS" != none; then
13604  USE_VERSION_SCRIPT_TRUE=
13605  USE_VERSION_SCRIPT_FALSE='#'
13606else
13607  USE_VERSION_SCRIPT_TRUE='#'
13608  USE_VERSION_SCRIPT_FALSE=
13609fi
13610
13611
13612case $host in
13613  *-mingw*) ;;
13614  *)
13615THREAD_LIBS=""
13616ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
13617if test "x$ac_cv_header_pthread_h" = xyes; then :
13618  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in -lpthread" >&5
13619$as_echo_n "checking for pthread_join in -lpthread... " >&6; }
13620if ${ac_cv_lib_pthread_pthread_join+:} false; then :
13621  $as_echo_n "(cached) " >&6
13622else
13623  ac_check_lib_save_LIBS=$LIBS
13624LIBS="-lpthread  $LIBS"
13625cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13626/* end confdefs.h.  */
13627
13628/* Override any GCC internal prototype to avoid an error.
13629   Use char because int might match the return type of a GCC
13630   builtin and then its argument prototype would still apply.  */
13631#ifdef __cplusplus
13632extern "C"
13633#endif
13634char pthread_join ();
13635int
13636main ()
13637{
13638return pthread_join ();
13639  ;
13640  return 0;
13641}
13642_ACEOF
13643if ac_fn_c_try_link "$LINENO"; then :
13644  ac_cv_lib_pthread_pthread_join=yes
13645else
13646  ac_cv_lib_pthread_pthread_join=no
13647fi
13648rm -f core conftest.err conftest.$ac_objext \
13649    conftest$ac_exeext conftest.$ac_ext
13650LIBS=$ac_check_lib_save_LIBS
13651fi
13652{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_join" >&5
13653$as_echo "$ac_cv_lib_pthread_pthread_join" >&6; }
13654if test "x$ac_cv_lib_pthread_pthread_join" = xyes; then :
13655
13656
13657$as_echo "#define HAVE_LIBPTHREAD /**/" >>confdefs.h
13658
13659
13660$as_echo "#define HAVE_PTHREAD_H /**/" >>confdefs.h
13661
13662       THREAD_LIBS="-lpthread"
13663fi
13664
13665fi
13666
13667
13668  ;;
13669esac
13670
13671
13672
13673
13674for ac_header in locale.h xlocale.h
13675do :
13676  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13677ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13678if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13679  cat >>confdefs.h <<_ACEOF
13680#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13681_ACEOF
13682
13683fi
13684
13685done
13686
13687for ac_func in strxfrm_l
13688do :
13689  ac_fn_c_check_func "$LINENO" "strxfrm_l" "ac_cv_func_strxfrm_l"
13690if test "x$ac_cv_func_strxfrm_l" = xyes; then :
13691  cat >>confdefs.h <<_ACEOF
13692#define HAVE_STRXFRM_L 1
13693_ACEOF
13694
13695fi
13696done
13697
13698
13699
13700for ac_header in ieeefp.h nan.h math.h fp_class.h float.h
13701do :
13702  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13703ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13704if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13705  cat >>confdefs.h <<_ACEOF
13706#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13707_ACEOF
13708
13709fi
13710
13711done
13712
13713for ac_header in sys/timeb.h time.h sys/stat.h sys/select.h stdarg.h
13714do :
13715  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13716ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13717if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13718  cat >>confdefs.h <<_ACEOF
13719#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13720_ACEOF
13721
13722fi
13723
13724done
13725
13726for ac_header in errno.h
13727do :
13728  ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default"
13729if test "x$ac_cv_header_errno_h" = xyes; then :
13730  cat >>confdefs.h <<_ACEOF
13731#define HAVE_ERRNO_H 1
13732_ACEOF
13733
13734fi
13735
13736done
13737
13738for ac_func in stat _stat
13739do :
13740  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13741ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13742if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13743  cat >>confdefs.h <<_ACEOF
13744#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13745_ACEOF
13746
13747fi
13748done
13749
13750ac_fn_c_check_func "$LINENO" "pow" "ac_cv_func_pow"
13751if test "x$ac_cv_func_pow" = xyes; then :
13752
13753else
13754  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
13755$as_echo_n "checking for pow in -lm... " >&6; }
13756if ${ac_cv_lib_m_pow+:} false; then :
13757  $as_echo_n "(cached) " >&6
13758else
13759  ac_check_lib_save_LIBS=$LIBS
13760LIBS="-lm  $LIBS"
13761cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13762/* end confdefs.h.  */
13763
13764/* Override any GCC internal prototype to avoid an error.
13765   Use char because int might match the return type of a GCC
13766   builtin and then its argument prototype would still apply.  */
13767#ifdef __cplusplus
13768extern "C"
13769#endif
13770char pow ();
13771int
13772main ()
13773{
13774return pow ();
13775  ;
13776  return 0;
13777}
13778_ACEOF
13779if ac_fn_c_try_link "$LINENO"; then :
13780  ac_cv_lib_m_pow=yes
13781else
13782  ac_cv_lib_m_pow=no
13783fi
13784rm -f core conftest.err conftest.$ac_objext \
13785    conftest$ac_exeext conftest.$ac_ext
13786LIBS=$ac_check_lib_save_LIBS
13787fi
13788{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
13789$as_echo "$ac_cv_lib_m_pow" >&6; }
13790if test "x$ac_cv_lib_m_pow" = xyes; then :
13791  M_LIBS="-lm";
13792$as_echo "#define HAVE_POW /**/" >>confdefs.h
13793
13794fi
13795
13796fi
13797
13798
13799ac_fn_c_check_func "$LINENO" "floor" "ac_cv_func_floor"
13800if test "x$ac_cv_func_floor" = xyes; then :
13801
13802else
13803  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor in -lm" >&5
13804$as_echo_n "checking for floor in -lm... " >&6; }
13805if ${ac_cv_lib_m_floor+:} false; then :
13806  $as_echo_n "(cached) " >&6
13807else
13808  ac_check_lib_save_LIBS=$LIBS
13809LIBS="-lm  $LIBS"
13810cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13811/* end confdefs.h.  */
13812
13813/* Override any GCC internal prototype to avoid an error.
13814   Use char because int might match the return type of a GCC
13815   builtin and then its argument prototype would still apply.  */
13816#ifdef __cplusplus
13817extern "C"
13818#endif
13819char floor ();
13820int
13821main ()
13822{
13823return floor ();
13824  ;
13825  return 0;
13826}
13827_ACEOF
13828if ac_fn_c_try_link "$LINENO"; then :
13829  ac_cv_lib_m_floor=yes
13830else
13831  ac_cv_lib_m_floor=no
13832fi
13833rm -f core conftest.err conftest.$ac_objext \
13834    conftest$ac_exeext conftest.$ac_ext
13835LIBS=$ac_check_lib_save_LIBS
13836fi
13837{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floor" >&5
13838$as_echo "$ac_cv_lib_m_floor" >&6; }
13839if test "x$ac_cv_lib_m_floor" = xyes; then :
13840  M_LIBS="-lm";
13841$as_echo "#define HAVE_FLOOR /**/" >>confdefs.h
13842
13843fi
13844
13845fi
13846
13847
13848ac_fn_c_check_func "$LINENO" "fabs" "ac_cv_func_fabs"
13849if test "x$ac_cv_func_fabs" = xyes; then :
13850
13851else
13852  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs in -lm" >&5
13853$as_echo_n "checking for fabs in -lm... " >&6; }
13854if ${ac_cv_lib_m_fabs+:} false; then :
13855  $as_echo_n "(cached) " >&6
13856else
13857  ac_check_lib_save_LIBS=$LIBS
13858LIBS="-lm  $LIBS"
13859cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13860/* end confdefs.h.  */
13861
13862/* Override any GCC internal prototype to avoid an error.
13863   Use char because int might match the return type of a GCC
13864   builtin and then its argument prototype would still apply.  */
13865#ifdef __cplusplus
13866extern "C"
13867#endif
13868char fabs ();
13869int
13870main ()
13871{
13872return fabs ();
13873  ;
13874  return 0;
13875}
13876_ACEOF
13877if ac_fn_c_try_link "$LINENO"; then :
13878  ac_cv_lib_m_fabs=yes
13879else
13880  ac_cv_lib_m_fabs=no
13881fi
13882rm -f core conftest.err conftest.$ac_objext \
13883    conftest$ac_exeext conftest.$ac_ext
13884LIBS=$ac_check_lib_save_LIBS
13885fi
13886{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabs" >&5
13887$as_echo "$ac_cv_lib_m_fabs" >&6; }
13888if test "x$ac_cv_lib_m_fabs" = xyes; then :
13889  M_LIBS="-lm";
13890$as_echo "#define HAVE_FABS /**/" >>confdefs.h
13891
13892fi
13893
13894fi
13895
13896
13897
13898for ac_func in gettimeofday
13899do :
13900  ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday"
13901if test "x$ac_cv_func_gettimeofday" = xyes; then :
13902  cat >>confdefs.h <<_ACEOF
13903#define HAVE_GETTIMEOFDAY 1
13904_ACEOF
13905
13906fi
13907done
13908
13909for ac_func in localtime localtime_r time gmtime gmtime_r ftime
13910do :
13911  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13912ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13913if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13914  cat >>confdefs.h <<_ACEOF
13915#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13916_ACEOF
13917
13918fi
13919done
13920
13921
13922for ac_func in printf sprintf fprintf snprintf vfprintf vsprintf vsnprintf sscanf
13923do :
13924  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13925ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13926if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13927  cat >>confdefs.h <<_ACEOF
13928#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13929_ACEOF
13930
13931else
13932  NEED_TRIO=1
13933fi
13934done
13935
13936
13937for ac_func in clock_gettime
13938do :
13939  ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
13940if test "x$ac_cv_func_clock_gettime" = xyes; then :
13941  cat >>confdefs.h <<_ACEOF
13942#define HAVE_CLOCK_GETTIME 1
13943_ACEOF
13944
13945else
13946
13947  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
13948$as_echo_n "checking for clock_gettime in -lrt... " >&6; }
13949if ${ac_cv_lib_rt_clock_gettime+:} false; then :
13950  $as_echo_n "(cached) " >&6
13951else
13952  ac_check_lib_save_LIBS=$LIBS
13953LIBS="-lrt  $LIBS"
13954cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13955/* end confdefs.h.  */
13956
13957/* Override any GCC internal prototype to avoid an error.
13958   Use char because int might match the return type of a GCC
13959   builtin and then its argument prototype would still apply.  */
13960#ifdef __cplusplus
13961extern "C"
13962#endif
13963char clock_gettime ();
13964int
13965main ()
13966{
13967return clock_gettime ();
13968  ;
13969  return 0;
13970}
13971_ACEOF
13972if ac_fn_c_try_link "$LINENO"; then :
13973  ac_cv_lib_rt_clock_gettime=yes
13974else
13975  ac_cv_lib_rt_clock_gettime=no
13976fi
13977rm -f core conftest.err conftest.$ac_objext \
13978    conftest$ac_exeext conftest.$ac_ext
13979LIBS=$ac_check_lib_save_LIBS
13980fi
13981{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
13982$as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
13983if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then :
13984
13985    $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
13986
13987    EXTRA_LIBS="$EXTRA_LIBS -lrt"
13988
13989fi
13990
13991
13992fi
13993done
13994
13995
13996
13997if test "${NEED_TRIO}" = "1" ; then
13998    echo Reusing trio library for string functions
13999    WITH_TRIO=1
14000else
14001    WITH_TRIO=0
14002fi
14003
14004
14005
14006
14007
14008# Extract the first word of "perl", so it can be a program name with args.
14009set dummy perl; ac_word=$2
14010{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14011$as_echo_n "checking for $ac_word... " >&6; }
14012if ${ac_cv_prog_PERL+:} false; then :
14013  $as_echo_n "(cached) " >&6
14014else
14015  if test -n "$PERL"; then
14016  ac_cv_prog_PERL="$PERL" # Let the user override the test.
14017else
14018as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14019for as_dir in $PATH
14020do
14021  IFS=$as_save_IFS
14022  test -z "$as_dir" && as_dir=.
14023    for ac_exec_ext in '' $ac_executable_extensions; do
14024  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14025    ac_cv_prog_PERL="perl"
14026    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14027    break 2
14028  fi
14029done
14030  done
14031IFS=$as_save_IFS
14032
14033  test -z "$ac_cv_prog_PERL" && ac_cv_prog_PERL="false"
14034fi
14035fi
14036PERL=$ac_cv_prog_PERL
14037if test -n "$PERL"; then
14038  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
14039$as_echo "$PERL" >&6; }
14040else
14041  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14042$as_echo "no" >&6; }
14043fi
14044
14045
14046 if test "$PERL" != "false"; then
14047  WITH_PERL_TRUE=
14048  WITH_PERL_FALSE='#'
14049else
14050  WITH_PERL_TRUE='#'
14051  WITH_PERL_FALSE=
14052fi
14053
14054
14055
14056PYTHON_VERSION=
14057PYTHON_INCLUDES=
14058PYTHON_SITE_PACKAGES=
14059pythondir=
14060
14061# Check whether --with-python was given.
14062if test "${with_python+set}" = set; then :
14063  withval=$with_python;
14064fi
14065
14066if test "$with_python" != "no" ; then
14067    if test -x "$with_python/bin/python"
14068    then
14069        echo Found python in $with_python/bin/python
14070        PYTHON="$with_python/bin/python"
14071    else
14072	if test -x "$with_python"
14073	then
14074	    echo Found python in $with_python
14075	    PYTHON="$with_python"
14076	else
14077            if test -x "$PYTHON"
14078            then
14079                echo Found python in environment PYTHON=$PYTHON
14080                with_python=`$PYTHON -c "import sys; print sys.exec_prefix"`
14081	    else
14082	        # Extract the first word of "python python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5", so it can be a program name with args.
14083set dummy python python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5; ac_word=$2
14084{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14085$as_echo_n "checking for $ac_word... " >&6; }
14086if ${ac_cv_path_PYTHON+:} false; then :
14087  $as_echo_n "(cached) " >&6
14088else
14089  case $PYTHON in
14090  [\\/]* | ?:[\\/]*)
14091  ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
14092  ;;
14093  *)
14094  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14095for as_dir in $PATH
14096do
14097  IFS=$as_save_IFS
14098  test -z "$as_dir" && as_dir=.
14099    for ac_exec_ext in '' $ac_executable_extensions; do
14100  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14101    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
14102    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14103    break 2
14104  fi
14105done
14106  done
14107IFS=$as_save_IFS
14108
14109  ;;
14110esac
14111fi
14112PYTHON=$ac_cv_path_PYTHON
14113if test -n "$PYTHON"; then
14114  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
14115$as_echo "$PYTHON" >&6; }
14116else
14117  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14118$as_echo "no" >&6; }
14119fi
14120
14121
14122	    fi
14123	fi
14124    fi
14125    if test "$PYTHON" != ""
14126    then
14127        echo "PYTHON is pointing at $PYTHON"
14128        PYTHON_VERSION=`$PYTHON -c "import sys; print sys.version[0:3]"`
14129	echo Found Python version $PYTHON_VERSION
14130	LIBXML2_PYTHON=`$PYTHON -c "try : import libxml2 ; print 1
14131except: print 0"`
14132	if test "$LIBXML2_PYTHON" = "1"
14133	then
14134	    echo Found libxml2-python module
14135	else
14136	    echo Warning: Missing libxml2-python
14137	fi
14138    fi
14139    if test "$PYTHON_VERSION" != ""
14140    then
14141	if test -r $with_python/include/python$PYTHON_VERSION/Python.h -a \
14142	   -d $with_python/lib/python$PYTHON_VERSION/site-packages
14143	then
14144	    PYTHON_INCLUDES=$with_python/include/python$PYTHON_VERSION
14145	    PYTHON_SITE_PACKAGES='$(libdir)/python$(PYTHON_VERSION)/site-packages'
14146	else
14147	    if test -r $prefix/include/python$PYTHON_VERSION/Python.h
14148	    then
14149	        PYTHON_INCLUDES=$prefix/include/python$PYTHON_VERSION
14150		PYTHON_SITE_PACKAGES='$(libdir)/python$(PYTHON_VERSION)/site-packages'
14151	    else
14152		if test -r /usr/include/python$PYTHON_VERSION/Python.h
14153		then
14154		    PYTHON_INCLUDES=/usr/include/python$PYTHON_VERSION
14155		    PYTHON_SITE_PACKAGES='$(libdir)/python$(PYTHON_VERSION)/site-packages'
14156		else
14157		    echo could not find python$PYTHON_VERSION/Python.h
14158		fi
14159	    fi
14160	    if test ! -d "$PYTHON_SITE_PACKAGES"
14161	    then
14162		    PYTHON_SITE_PACKAGES=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib()"`
14163	    fi
14164	fi
14165        PYTHON_LIBS=`python$PYTHON_VERSION-config --libs`
14166    fi
14167    if test "$with_python" != ""
14168    then
14169        pythondir='$(PYTHON_SITE_PACKAGES)'
14170    else
14171        pythondir='$(libdir)/python$(PYTHON_VERSION)/site-packages'
14172    fi
14173fi
14174 if test "$PYTHON_INCLUDES" != ""; then
14175  WITH_PYTHON_TRUE=
14176  WITH_PYTHON_FALSE='#'
14177else
14178  WITH_PYTHON_TRUE='#'
14179  WITH_PYTHON_FALSE=
14180fi
14181
14182if test "$PYTHON_INCLUDES" != ""
14183then
14184    PYTHON_SUBDIR=python
14185else
14186    PYTHON_SUBDIR=
14187fi
14188
14189
14190
14191
14192
14193# Check whether --with-crypto was given.
14194if test "${with_crypto+set}" = set; then :
14195  withval=$with_crypto;
14196fi
14197
14198WITH_CRYPTO=0
14199CRYPTO_TESTDIR=
14200if test "$with_crypto" = "no" ; then
14201    echo Disabling crypto support
14202    LIBGCRYPT_CFLAGS=""
14203    LIBGCRYPT_LIBS=""
14204else
14205case $host in
14206  *-mingw*)
14207                WITH_CRYPTO=1
14208    CRYPTO_TESTDIR=crypto
14209    ;;
14210  *)
14211    if test -n "$ac_tool_prefix"; then
14212  # Extract the first word of "${ac_tool_prefix}libgcrypt-config", so it can be a program name with args.
14213set dummy ${ac_tool_prefix}libgcrypt-config; ac_word=$2
14214{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14215$as_echo_n "checking for $ac_word... " >&6; }
14216if ${ac_cv_path_LIBGCRYPT_CONFIG+:} false; then :
14217  $as_echo_n "(cached) " >&6
14218else
14219  case $LIBGCRYPT_CONFIG in
14220  [\\/]* | ?:[\\/]*)
14221  ac_cv_path_LIBGCRYPT_CONFIG="$LIBGCRYPT_CONFIG" # Let the user override the test with a path.
14222  ;;
14223  *)
14224  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14225for as_dir in $PATH
14226do
14227  IFS=$as_save_IFS
14228  test -z "$as_dir" && as_dir=.
14229    for ac_exec_ext in '' $ac_executable_extensions; do
14230  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14231    ac_cv_path_LIBGCRYPT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14232    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14233    break 2
14234  fi
14235done
14236  done
14237IFS=$as_save_IFS
14238
14239  ;;
14240esac
14241fi
14242LIBGCRYPT_CONFIG=$ac_cv_path_LIBGCRYPT_CONFIG
14243if test -n "$LIBGCRYPT_CONFIG"; then
14244  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBGCRYPT_CONFIG" >&5
14245$as_echo "$LIBGCRYPT_CONFIG" >&6; }
14246else
14247  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14248$as_echo "no" >&6; }
14249fi
14250
14251
14252fi
14253if test -z "$ac_cv_path_LIBGCRYPT_CONFIG"; then
14254  ac_pt_LIBGCRYPT_CONFIG=$LIBGCRYPT_CONFIG
14255  # Extract the first word of "libgcrypt-config", so it can be a program name with args.
14256set dummy libgcrypt-config; ac_word=$2
14257{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14258$as_echo_n "checking for $ac_word... " >&6; }
14259if ${ac_cv_path_ac_pt_LIBGCRYPT_CONFIG+:} false; then :
14260  $as_echo_n "(cached) " >&6
14261else
14262  case $ac_pt_LIBGCRYPT_CONFIG in
14263  [\\/]* | ?:[\\/]*)
14264  ac_cv_path_ac_pt_LIBGCRYPT_CONFIG="$ac_pt_LIBGCRYPT_CONFIG" # Let the user override the test with a path.
14265  ;;
14266  *)
14267  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14268for as_dir in $PATH
14269do
14270  IFS=$as_save_IFS
14271  test -z "$as_dir" && as_dir=.
14272    for ac_exec_ext in '' $ac_executable_extensions; do
14273  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14274    ac_cv_path_ac_pt_LIBGCRYPT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14275    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14276    break 2
14277  fi
14278done
14279  done
14280IFS=$as_save_IFS
14281
14282  ;;
14283esac
14284fi
14285ac_pt_LIBGCRYPT_CONFIG=$ac_cv_path_ac_pt_LIBGCRYPT_CONFIG
14286if test -n "$ac_pt_LIBGCRYPT_CONFIG"; then
14287  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_LIBGCRYPT_CONFIG" >&5
14288$as_echo "$ac_pt_LIBGCRYPT_CONFIG" >&6; }
14289else
14290  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14291$as_echo "no" >&6; }
14292fi
14293
14294  if test "x$ac_pt_LIBGCRYPT_CONFIG" = x; then
14295    LIBGCRYPT_CONFIG="no"
14296  else
14297    case $cross_compiling:$ac_tool_warned in
14298yes:)
14299{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14300$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14301ac_tool_warned=yes ;;
14302esac
14303    LIBGCRYPT_CONFIG=$ac_pt_LIBGCRYPT_CONFIG
14304  fi
14305else
14306  LIBGCRYPT_CONFIG="$ac_cv_path_LIBGCRYPT_CONFIG"
14307fi
14308
14309    if test "$LIBGCRYPT_CONFIG" != "no" ; then
14310      LIBGCRYPT_VERSION=`$LIBGCRYPT_CONFIG --version`
14311      if test `echo $LIBGCRYPT_VERSION | sed -e 's/libxml //' | awk 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'` -lt `echo "1.1.42" | sed -e 's/libxml //' | awk 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
14312      then
14313        LIBGCRYPT_CFLAGS=""
14314        LIBGCRYPT_LIBS=""
14315        echo 'gcrypt library version < 1.1.42 - Crypto extensions will not be available.'
14316      else
14317        LIBGCRYPT_CFLAGS=`$LIBGCRYPT_CONFIG $libgcrypt_config_args --cflags`
14318        LIBGCRYPT_LIBS=`$LIBGCRYPT_CONFIG $libgcrypt_config_args --libs`
14319
14320$as_echo "#define HAVE_GCRYPT 1" >>confdefs.h
14321
14322        echo 'Crypto extensions will be available.'
14323        WITH_CRYPTO=1
14324        CRYPTO_TESTDIR=crypto
14325      fi
14326    else
14327      LIBGCRYPT_CFLAGS=""
14328      LIBGCRYPT_LIBS=""
14329      echo 'Crypto extensions will not be available. Install libgcrypt and reconfigure to make available.'
14330    fi
14331esac
14332fi
14333
14334
14335
14336
14337
14338if [ "${LOGNAME}" = "veillard" -a "`pwd`" = "/u/veillard/XSLT" ] || \
14339   [ "${LOGNAME}" = "bill" -a "`pwd`" = "/home/bill/gnomesvn/libxslt" ]
14340   then
14341    if test "${with_mem_debug}" = "" ;
14342    then
14343	with_mem_debug="yes"
14344    fi
14345    CFLAGS="-Wall -g -O -ansi -pedantic -W -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat=2 -Wmissing-format-attribute -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline "
14346fi
14347
14348
14349# Check whether --with-debug was given.
14350if test "${with_debug+set}" = set; then :
14351  withval=$with_debug;
14352fi
14353
14354if test "$with_debug" = "no" ; then
14355    echo Disabling debug support
14356    WITH_XSLT_DEBUG=0
14357else
14358    WITH_XSLT_DEBUG=1
14359fi
14360
14361
14362
14363# Check whether --with-mem_debug was given.
14364if test "${with_mem_debug+set}" = set; then :
14365  withval=$with_mem_debug;
14366fi
14367
14368if test "$with_mem_debug" = "yes" ; then
14369    echo Enabling memory debug support
14370    WITH_MEM_DEBUG=1
14371else
14372    WITH_MEM_DEBUG=0
14373fi
14374
14375
14376
14377# Check whether --with-debugger was given.
14378if test "${with_debugger+set}" = set; then :
14379  withval=$with_debugger;
14380fi
14381
14382if test "$with_debugger" = "no" ; then
14383    echo Disabling debugger
14384    WITH_DEBUGGER=0
14385else
14386    echo Enabling debugger
14387    WITH_DEBUGGER=1
14388
14389$as_echo "#define WITH_DEBUGGER /**/" >>confdefs.h
14390
14391fi
14392
14393
14394
14395# Check whether --with-profiler was given.
14396if test "${with_profiler+set}" = set; then :
14397  withval=$with_profiler;
14398fi
14399
14400if test "$with_profiler" = "no" ; then
14401    echo Disabling profiler
14402    WITH_PROFILER=0
14403else
14404    echo Enabling profiler
14405    WITH_PROFILER=1
14406
14407$as_echo "#define WITH_PROFILER /**/" >>confdefs.h
14408
14409fi
14410
14411
14412
14413LIBXML_CONFIG_PREFIX=""
14414LIBXML_SRC=""
14415
14416
14417# Check whether --with-libxml-prefix was given.
14418if test "${with_libxml_prefix+set}" = set; then :
14419  withval=$with_libxml_prefix; LIBXML_CONFIG_PREFIX=$withval
14420
14421fi
14422
14423
14424
14425# Check whether --with-libxml-include-prefix was given.
14426if test "${with_libxml_include_prefix+set}" = set; then :
14427  withval=$with_libxml_include_prefix; LIBXML_CFLAGS="-I$withval"
14428
14429fi
14430
14431
14432
14433# Check whether --with-libxml-libs-prefix was given.
14434if test "${with_libxml_libs_prefix+set}" = set; then :
14435  withval=$with_libxml_libs_prefix; LIBXML_LIBS="-L$withval"
14436
14437fi
14438
14439
14440
14441# Check whether --with-libxml-src was given.
14442if test "${with_libxml_src+set}" = set; then :
14443  withval=$with_libxml_src; LIBXML_SRC="$withval"
14444
14445fi
14446
14447
14448
14449
14450
14451if test "x$LIBXML_CONFIG_PREFIX" != "x"
14452then
14453	if test -n "$ac_tool_prefix"; then
14454  # Extract the first word of "${ac_tool_prefix}xml2-config", so it can be a program name with args.
14455set dummy ${ac_tool_prefix}xml2-config; ac_word=$2
14456{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14457$as_echo_n "checking for $ac_word... " >&6; }
14458if ${ac_cv_path_XML_CONFIG+:} false; then :
14459  $as_echo_n "(cached) " >&6
14460else
14461  case $XML_CONFIG in
14462  [\\/]* | ?:[\\/]*)
14463  ac_cv_path_XML_CONFIG="$XML_CONFIG" # Let the user override the test with a path.
14464  ;;
14465  *)
14466  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14467for as_dir in ${LIBXML_CONFIG_PREFIX}/bin
14468do
14469  IFS=$as_save_IFS
14470  test -z "$as_dir" && as_dir=.
14471    for ac_exec_ext in '' $ac_executable_extensions; do
14472  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14473    ac_cv_path_XML_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14474    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14475    break 2
14476  fi
14477done
14478  done
14479IFS=$as_save_IFS
14480
14481  ;;
14482esac
14483fi
14484XML_CONFIG=$ac_cv_path_XML_CONFIG
14485if test -n "$XML_CONFIG"; then
14486  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XML_CONFIG" >&5
14487$as_echo "$XML_CONFIG" >&6; }
14488else
14489  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14490$as_echo "no" >&6; }
14491fi
14492
14493
14494fi
14495if test -z "$ac_cv_path_XML_CONFIG"; then
14496  ac_pt_XML_CONFIG=$XML_CONFIG
14497  # Extract the first word of "xml2-config", so it can be a program name with args.
14498set dummy xml2-config; ac_word=$2
14499{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14500$as_echo_n "checking for $ac_word... " >&6; }
14501if ${ac_cv_path_ac_pt_XML_CONFIG+:} false; then :
14502  $as_echo_n "(cached) " >&6
14503else
14504  case $ac_pt_XML_CONFIG in
14505  [\\/]* | ?:[\\/]*)
14506  ac_cv_path_ac_pt_XML_CONFIG="$ac_pt_XML_CONFIG" # Let the user override the test with a path.
14507  ;;
14508  *)
14509  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14510for as_dir in ${LIBXML_CONFIG_PREFIX}/bin
14511do
14512  IFS=$as_save_IFS
14513  test -z "$as_dir" && as_dir=.
14514    for ac_exec_ext in '' $ac_executable_extensions; do
14515  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14516    ac_cv_path_ac_pt_XML_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14517    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14518    break 2
14519  fi
14520done
14521  done
14522IFS=$as_save_IFS
14523
14524  ;;
14525esac
14526fi
14527ac_pt_XML_CONFIG=$ac_cv_path_ac_pt_XML_CONFIG
14528if test -n "$ac_pt_XML_CONFIG"; then
14529  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_XML_CONFIG" >&5
14530$as_echo "$ac_pt_XML_CONFIG" >&6; }
14531else
14532  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14533$as_echo "no" >&6; }
14534fi
14535
14536  if test "x$ac_pt_XML_CONFIG" = x; then
14537    XML_CONFIG="false"
14538  else
14539    case $cross_compiling:$ac_tool_warned in
14540yes:)
14541{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14542$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14543ac_tool_warned=yes ;;
14544esac
14545    XML_CONFIG=$ac_pt_XML_CONFIG
14546  fi
14547else
14548  XML_CONFIG="$ac_cv_path_XML_CONFIG"
14549fi
14550
14551else
14552	if test -n "$ac_tool_prefix"; then
14553  # Extract the first word of "${ac_tool_prefix}xml2-config", so it can be a program name with args.
14554set dummy ${ac_tool_prefix}xml2-config; ac_word=$2
14555{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14556$as_echo_n "checking for $ac_word... " >&6; }
14557if ${ac_cv_path_XML_CONFIG+:} false; then :
14558  $as_echo_n "(cached) " >&6
14559else
14560  case $XML_CONFIG in
14561  [\\/]* | ?:[\\/]*)
14562  ac_cv_path_XML_CONFIG="$XML_CONFIG" # Let the user override the test with a path.
14563  ;;
14564  *)
14565  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14566for as_dir in $PATH
14567do
14568  IFS=$as_save_IFS
14569  test -z "$as_dir" && as_dir=.
14570    for ac_exec_ext in '' $ac_executable_extensions; do
14571  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14572    ac_cv_path_XML_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14573    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14574    break 2
14575  fi
14576done
14577  done
14578IFS=$as_save_IFS
14579
14580  ;;
14581esac
14582fi
14583XML_CONFIG=$ac_cv_path_XML_CONFIG
14584if test -n "$XML_CONFIG"; then
14585  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XML_CONFIG" >&5
14586$as_echo "$XML_CONFIG" >&6; }
14587else
14588  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14589$as_echo "no" >&6; }
14590fi
14591
14592
14593fi
14594if test -z "$ac_cv_path_XML_CONFIG"; then
14595  ac_pt_XML_CONFIG=$XML_CONFIG
14596  # Extract the first word of "xml2-config", so it can be a program name with args.
14597set dummy xml2-config; ac_word=$2
14598{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14599$as_echo_n "checking for $ac_word... " >&6; }
14600if ${ac_cv_path_ac_pt_XML_CONFIG+:} false; then :
14601  $as_echo_n "(cached) " >&6
14602else
14603  case $ac_pt_XML_CONFIG in
14604  [\\/]* | ?:[\\/]*)
14605  ac_cv_path_ac_pt_XML_CONFIG="$ac_pt_XML_CONFIG" # Let the user override the test with a path.
14606  ;;
14607  *)
14608  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14609for as_dir in $PATH
14610do
14611  IFS=$as_save_IFS
14612  test -z "$as_dir" && as_dir=.
14613    for ac_exec_ext in '' $ac_executable_extensions; do
14614  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14615    ac_cv_path_ac_pt_XML_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14616    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14617    break 2
14618  fi
14619done
14620  done
14621IFS=$as_save_IFS
14622
14623  ;;
14624esac
14625fi
14626ac_pt_XML_CONFIG=$ac_cv_path_ac_pt_XML_CONFIG
14627if test -n "$ac_pt_XML_CONFIG"; then
14628  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_XML_CONFIG" >&5
14629$as_echo "$ac_pt_XML_CONFIG" >&6; }
14630else
14631  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14632$as_echo "no" >&6; }
14633fi
14634
14635  if test "x$ac_pt_XML_CONFIG" = x; then
14636    XML_CONFIG="false"
14637  else
14638    case $cross_compiling:$ac_tool_warned in
14639yes:)
14640{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14641$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14642ac_tool_warned=yes ;;
14643esac
14644    XML_CONFIG=$ac_pt_XML_CONFIG
14645  fi
14646else
14647  XML_CONFIG="$ac_cv_path_XML_CONFIG"
14648fi
14649
14650fi
14651
14652if test "${GCC}" != "yes" ; then
14653    case "${host}" in
14654          *-*-hpux* )
14655	       CFLAGS="${CFLAGS} -Wp,-H30000"
14656	       ;;
14657          *-dec-osf* )
14658               CFLAGS="${CFLAGS} -ieee"
14659               ;;
14660    esac
14661else
14662    CFLAGS="${CFLAGS} -Wall -Wextra -Wformat=2 -Wmissing-format-attribute"
14663    case "${host}" in
14664          alpha*-*-linux* )
14665	       CFLAGS="${CFLAGS} -mieee"
14666	       ;;
14667	  alpha*-*-osf* )
14668	       CFLAGS="${CFLAGS} -mieee"
14669	       ;;
14670    esac
14671fi
14672
14673
14674build_shared_libs="yes"
14675build_static_libs="yes"
14676
14677if test "$enable_shared" = "no"; then
14678    build_shared_libs="no"
14679fi
14680
14681if test "$enable_static" = "no"; then
14682    build_static_libs="no"
14683fi
14684
14685if test "$build_shared_libs" = "no" -a "$build_static_libs" = "no"; then
14686    build_static_libs="yes"
14687fi
14688
14689
14690if test "x$LIBXML_SRC" != "x"; then
14691    CWD=`pwd`
14692    if cd $LIBXML_SRC; then
14693        LIBXML_SRC=`pwd`
14694        XML_CONFIG="${LIBXML_SRC}/xml2-config"
14695        LIBXML_CFLAGS="-I${LIBXML_SRC}/include"
14696        if test "$build_static_libs" = "no"; then
14697            LIBXML_LIBS="-L${LIBXML_SRC} `$XML_CONFIG --libs --dynamic`"
14698        else
14699            LIBXML_LIBS="-L${LIBXML_SRC} `$XML_CONFIG --libs`"
14700        fi
14701        WITH_MODULES="`$XML_CONFIG --modules`"
14702        cd $CWD
14703    else
14704        as_fn_error $? "libxml source dir not found (${LIBXML_SRC}), typo?" "$LINENO" 5
14705    fi
14706fi
14707
14708
14709if test "x$LIBXML_CONFIG_PREFIX" = "x" -a "x$LIBXML_LIBS" = "x"; then
14710    if test "$build_static_libs" = "no"; then
14711
14712pkg_failed=no
14713{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBXML" >&5
14714$as_echo_n "checking for LIBXML... " >&6; }
14715
14716if test -n "$LIBXML_CFLAGS"; then
14717    pkg_cv_LIBXML_CFLAGS="$LIBXML_CFLAGS"
14718 elif test -n "$PKG_CONFIG"; then
14719    if test -n "$PKG_CONFIG" && \
14720    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= \$LIBXML_REQUIRED_VERSION\""; } >&5
14721  ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= $LIBXML_REQUIRED_VERSION") 2>&5
14722  ac_status=$?
14723  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14724  test $ac_status = 0; }; then
14725  pkg_cv_LIBXML_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= $LIBXML_REQUIRED_VERSION" 2>/dev/null`
14726		      test "x$?" != "x0" && pkg_failed=yes
14727else
14728  pkg_failed=yes
14729fi
14730 else
14731    pkg_failed=untried
14732fi
14733if test -n "$LIBXML_LIBS"; then
14734    pkg_cv_LIBXML_LIBS="$LIBXML_LIBS"
14735 elif test -n "$PKG_CONFIG"; then
14736    if test -n "$PKG_CONFIG" && \
14737    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= \$LIBXML_REQUIRED_VERSION\""; } >&5
14738  ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= $LIBXML_REQUIRED_VERSION") 2>&5
14739  ac_status=$?
14740  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14741  test $ac_status = 0; }; then
14742  pkg_cv_LIBXML_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= $LIBXML_REQUIRED_VERSION" 2>/dev/null`
14743		      test "x$?" != "x0" && pkg_failed=yes
14744else
14745  pkg_failed=yes
14746fi
14747 else
14748    pkg_failed=untried
14749fi
14750
14751
14752
14753if test $pkg_failed = yes; then
14754   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14755$as_echo "no" >&6; }
14756
14757if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14758        _pkg_short_errors_supported=yes
14759else
14760        _pkg_short_errors_supported=no
14761fi
14762        if test $_pkg_short_errors_supported = yes; then
14763	        LIBXML_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libxml-2.0 >= $LIBXML_REQUIRED_VERSION" 2>&1`
14764        else
14765	        LIBXML_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libxml-2.0 >= $LIBXML_REQUIRED_VERSION" 2>&1`
14766        fi
14767	# Put the nasty error message in config.log where it belongs
14768	echo "$LIBXML_PKG_ERRORS" >&5
14769
14770
14771elif test $pkg_failed = untried; then
14772     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14773$as_echo "no" >&6; }
14774
14775else
14776	LIBXML_CFLAGS=$pkg_cv_LIBXML_CFLAGS
14777	LIBXML_LIBS=$pkg_cv_LIBXML_LIBS
14778        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14779$as_echo "yes" >&6; }
14780
14781            WITH_MODULES="`$PKG_CONFIG --variable=modules libxml-2.0`"
14782
14783fi
14784    else
14785        _save_PKG_CONFIG=$PKG_CONFIG
14786PKG_CONFIG="$PKG_CONFIG --static"
14787
14788pkg_failed=no
14789{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBXML" >&5
14790$as_echo_n "checking for LIBXML... " >&6; }
14791
14792if test -n "$LIBXML_CFLAGS"; then
14793    pkg_cv_LIBXML_CFLAGS="$LIBXML_CFLAGS"
14794 elif test -n "$PKG_CONFIG"; then
14795    if test -n "$PKG_CONFIG" && \
14796    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= \$LIBXML_REQUIRED_VERSION\""; } >&5
14797  ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= $LIBXML_REQUIRED_VERSION") 2>&5
14798  ac_status=$?
14799  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14800  test $ac_status = 0; }; then
14801  pkg_cv_LIBXML_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= $LIBXML_REQUIRED_VERSION" 2>/dev/null`
14802		      test "x$?" != "x0" && pkg_failed=yes
14803else
14804  pkg_failed=yes
14805fi
14806 else
14807    pkg_failed=untried
14808fi
14809if test -n "$LIBXML_LIBS"; then
14810    pkg_cv_LIBXML_LIBS="$LIBXML_LIBS"
14811 elif test -n "$PKG_CONFIG"; then
14812    if test -n "$PKG_CONFIG" && \
14813    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= \$LIBXML_REQUIRED_VERSION\""; } >&5
14814  ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= $LIBXML_REQUIRED_VERSION") 2>&5
14815  ac_status=$?
14816  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14817  test $ac_status = 0; }; then
14818  pkg_cv_LIBXML_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= $LIBXML_REQUIRED_VERSION" 2>/dev/null`
14819		      test "x$?" != "x0" && pkg_failed=yes
14820else
14821  pkg_failed=yes
14822fi
14823 else
14824    pkg_failed=untried
14825fi
14826
14827
14828
14829if test $pkg_failed = yes; then
14830   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14831$as_echo "no" >&6; }
14832
14833if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14834        _pkg_short_errors_supported=yes
14835else
14836        _pkg_short_errors_supported=no
14837fi
14838        if test $_pkg_short_errors_supported = yes; then
14839	        LIBXML_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libxml-2.0 >= $LIBXML_REQUIRED_VERSION" 2>&1`
14840        else
14841	        LIBXML_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libxml-2.0 >= $LIBXML_REQUIRED_VERSION" 2>&1`
14842        fi
14843	# Put the nasty error message in config.log where it belongs
14844	echo "$LIBXML_PKG_ERRORS" >&5
14845
14846
14847elif test $pkg_failed = untried; then
14848     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14849$as_echo "no" >&6; }
14850
14851else
14852	LIBXML_CFLAGS=$pkg_cv_LIBXML_CFLAGS
14853	LIBXML_LIBS=$pkg_cv_LIBXML_LIBS
14854        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14855$as_echo "yes" >&6; }
14856
14857fi
14858PKG_CONFIG=$_save_PKG_CONFIG
14859    fi
14860fi
14861
14862
14863if test "x$LIBXML_LIBS" = "x" && ${XML_CONFIG} --libs print > /dev/null 2>&1
14864then
14865    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxml libraries >= $LIBXML_REQUIRED_VERSION" >&5
14866$as_echo_n "checking for libxml libraries >= $LIBXML_REQUIRED_VERSION... " >&6; }
14867    XMLVERS=`$XML_CONFIG --version`
14868    if test `echo $XMLVERS | sed -e 's/libxml //' | awk 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'` -ge `echo $LIBXML_REQUIRED_VERSION | sed -e 's/libxml //' | awk 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`; then
14869        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLVERS found" >&5
14870$as_echo "$XMLVERS found" >&6; }
14871    else
14872        as_fn_error $? "Version $XMLVERS found. You need at least libxml2 $LIBXML_REQUIRED_VERSION for this version of libxslt" "$LINENO" 5
14873    fi
14874
14875    if test "$build_static_libs" = "no"; then
14876        LIBXML_LIBS="`$XML_CONFIG --libs --dynamic`"
14877    else
14878        LIBXML_LIBS="`$XML_CONFIG --libs`"
14879    fi
14880	LIBXML_CFLAGS="`$XML_CONFIG --cflags`"
14881        WITH_MODULES="`$XML_CONFIG --modules`"
14882fi
14883
14884if test "x$LIBXML_LIBS" = "x"
14885then
14886	as_fn_error $? "Could not find libxml2 anywhere, check ftp://xmlsoft.org/." "$LINENO" 5
14887fi
14888
14889
14890
14891
14892
14893
14894
14895# Check whether --with-plugins was given.
14896if test "${with_plugins+set}" = set; then :
14897  withval=$with_plugins;
14898fi
14899
14900if test "$with_plugins" = ""
14901then
14902    with_plugins=yes
14903fi
14904
14905{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether shared libraries will be built (required for plugins)" >&5
14906$as_echo_n "checking whether shared libraries will be built (required for plugins)... " >&6; }
14907if test "$build_shared_libs" = "no" -a "$with_plugins" = "yes"; then
14908	 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14909$as_echo "no" >&6; }
14910	 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling plugin support." >&5
14911$as_echo "$as_me: WARNING: Disabling plugin support." >&2;}
14912	 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Plugins require that shared libraries be built." >&5
14913$as_echo "$as_me: WARNING: Plugins require that shared libraries be built." >&2;}
14914	 with_plugins=no
14915else
14916	 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14917$as_echo "yes" >&6; }
14918fi
14919
14920if test "$with_plugins" = "yes" ; then
14921  { $as_echo "$as_me:${as_lineno-$LINENO}: checking libxml2 module support" >&5
14922$as_echo_n "checking libxml2 module support... " >&6; }
14923  if test "${WITH_MODULES}" = "1"; then
14924    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14925$as_echo "yes" >&6; }
14926  else
14927    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14928$as_echo "no" >&6; }
14929    WITH_MODULES="0"
14930  fi
14931else
14932  WITH_MODULES="0"
14933fi
14934
14935
14936 if test "$WITH_MODULES" = "1"; then
14937  WITH_MODULES_TRUE=
14938  WITH_MODULES_FALSE='#'
14939else
14940  WITH_MODULES_TRUE='#'
14941  WITH_MODULES_FALSE=
14942fi
14943
14944
14945expanded_libdir=$(
14946    test "x$prefix" = xNONE && prefix="$ac_default_prefix"
14947    test "x$exec_prefix" = xNONE && exec_prefix="$prefix"
14948    while test "$libdir_old" != "$libdir"; do
14949      libdir_old="$libdir"
14950      eval libdir="$libdir"
14951    done
14952    echo "$libdir"
14953)
14954LIBXSLT_DEFAULT_PLUGINS_PATH="$expanded_libdir/libxslt-plugins"
14955
14956
14957case "$host" in
14958 *-*-cygwin*|*-*-mingw*)
14959 LDFLAGS="$LDFLAGS -no-undefined"
14960 ;;
14961esac
14962
14963
14964
14965
14966
14967
14968
14969
14970
14971
14972
14973
14974XSLT_LIBDIR='-L${libdir}'
14975XSLT_INCLUDEDIR='-I${includedir}'
14976XSLT_LIBS="-lxslt $LIBXML_LIBS"
14977XSLT_PRIVATE_LIBS="$M_LIBS"
14978
14979
14980
14981
14982
14983EXSLT_LIBDIR='-L${libdir}'
14984EXSLT_INCLUDEDIR='-I${includedir}'
14985EXSLT_LIBS="-lexslt $XSLT_LIBS"
14986EXSLT_PRIVATE_LIBS="$XSLT_PRIVATE_LIBS $LIBGCRYPT_LIBS"
14987
14988
14989
14990
14991
14992
14993
14994
14995
14996RELDATE=`date +'%a %b %e %Y'`
14997
14998
14999rm -f COPYING.LIB COPYING 2>/dev/null && $LN_S $srcdir/Copyright COPYING
15000
15001
15002ac_config_files="$ac_config_files Makefile libxslt.pc libexslt.pc libxslt/Makefile libxslt/xsltconfig.h libxslt/xsltwin32config.h libexslt/Makefile libexslt/exsltconfig.h xsltproc/Makefile python/Makefile python/tests/Makefile tests/Makefile tests/docs/Makefile tests/REC1/Makefile tests/REC2/Makefile tests/REC/Makefile tests/general/Makefile tests/reports/Makefile tests/extensions/Makefile tests/namespaces/Makefile tests/keys/Makefile tests/numbers/Makefile tests/documents/Makefile tests/xmlspec/Makefile tests/multiple/Makefile tests/xinclude/Makefile tests/XSLTMark/Makefile tests/docbook/Makefile tests/exslt/Makefile tests/exslt/common/Makefile tests/exslt/functions/Makefile tests/exslt/math/Makefile tests/exslt/saxon/Makefile tests/exslt/sets/Makefile tests/exslt/strings/Makefile tests/exslt/date/Makefile tests/exslt/dynamic/Makefile tests/exslt/crypto/Makefile tests/plugins/Makefile tests/fuzz/Makefile doc/Makefile xslt-config libxslt.spec"
15003
15004ac_config_links="$ac_config_links tests/fuzz/xpath.xml:tests/fuzz/xpath.xml"
15005
15006ac_config_links="$ac_config_links tests/fuzz/xslt.xml:tests/fuzz/xslt.xml"
15007
15008
15009cat >confcache <<\_ACEOF
15010# This file is a shell script that caches the results of configure
15011# tests run on this system so they can be shared between configure
15012# scripts and configure runs, see configure's option --config-cache.
15013# It is not useful on other systems.  If it contains results you don't
15014# want to keep, you may remove or edit it.
15015#
15016# config.status only pays attention to the cache file if you give it
15017# the --recheck option to rerun configure.
15018#
15019# `ac_cv_env_foo' variables (set or unset) will be overridden when
15020# loading this file, other *unset* `ac_cv_foo' will be assigned the
15021# following values.
15022
15023_ACEOF
15024
15025# The following way of writing the cache mishandles newlines in values,
15026# but we know of no workaround that is simple, portable, and efficient.
15027# So, we kill variables containing newlines.
15028# Ultrix sh set writes to stderr and can't be redirected directly,
15029# and sets the high bit in the cache file unless we assign to the vars.
15030(
15031  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15032    eval ac_val=\$$ac_var
15033    case $ac_val in #(
15034    *${as_nl}*)
15035      case $ac_var in #(
15036      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15037$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15038      esac
15039      case $ac_var in #(
15040      _ | IFS | as_nl) ;; #(
15041      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15042      *) { eval $ac_var=; unset $ac_var;} ;;
15043      esac ;;
15044    esac
15045  done
15046
15047  (set) 2>&1 |
15048    case $as_nl`(ac_space=' '; set) 2>&1` in #(
15049    *${as_nl}ac_space=\ *)
15050      # `set' does not quote correctly, so add quotes: double-quote
15051      # substitution turns \\\\ into \\, and sed turns \\ into \.
15052      sed -n \
15053	"s/'/'\\\\''/g;
15054	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15055      ;; #(
15056    *)
15057      # `set' quotes correctly as required by POSIX, so do not add quotes.
15058      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15059      ;;
15060    esac |
15061    sort
15062) |
15063  sed '
15064     /^ac_cv_env_/b end
15065     t clear
15066     :clear
15067     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15068     t end
15069     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15070     :end' >>confcache
15071if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15072  if test -w "$cache_file"; then
15073    if test "x$cache_file" != "x/dev/null"; then
15074      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15075$as_echo "$as_me: updating cache $cache_file" >&6;}
15076      if test ! -f "$cache_file" || test -h "$cache_file"; then
15077	cat confcache >"$cache_file"
15078      else
15079        case $cache_file in #(
15080        */* | ?:*)
15081	  mv -f confcache "$cache_file"$$ &&
15082	  mv -f "$cache_file"$$ "$cache_file" ;; #(
15083        *)
15084	  mv -f confcache "$cache_file" ;;
15085	esac
15086      fi
15087    fi
15088  else
15089    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15090$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15091  fi
15092fi
15093rm -f confcache
15094
15095test "x$prefix" = xNONE && prefix=$ac_default_prefix
15096# Let make expand exec_prefix.
15097test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15098
15099DEFS=-DHAVE_CONFIG_H
15100
15101ac_libobjs=
15102ac_ltlibobjs=
15103U=
15104for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15105  # 1. Remove the extension, and $U if already installed.
15106  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15107  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15108  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
15109  #    will be set to the directory where LIBOBJS objects are built.
15110  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15111  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15112done
15113LIBOBJS=$ac_libobjs
15114
15115LTLIBOBJS=$ac_ltlibobjs
15116
15117
15118{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15119$as_echo_n "checking that generated files are newer than configure... " >&6; }
15120   if test -n "$am_sleep_pid"; then
15121     # Hide warnings about reused PIDs.
15122     wait $am_sleep_pid 2>/dev/null
15123   fi
15124   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15125$as_echo "done" >&6; }
15126if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15127  as_fn_error $? "conditional \"AMDEP\" was never defined.
15128Usually this means the macro was only invoked conditionally." "$LINENO" 5
15129fi
15130if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15131  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15132Usually this means the macro was only invoked conditionally." "$LINENO" 5
15133fi
15134 if test -n "$EXEEXT"; then
15135  am__EXEEXT_TRUE=
15136  am__EXEEXT_FALSE='#'
15137else
15138  am__EXEEXT_TRUE='#'
15139  am__EXEEXT_FALSE=
15140fi
15141
15142if test -z "${USE_VERSION_SCRIPT_TRUE}" && test -z "${USE_VERSION_SCRIPT_FALSE}"; then
15143  as_fn_error $? "conditional \"USE_VERSION_SCRIPT\" was never defined.
15144Usually this means the macro was only invoked conditionally." "$LINENO" 5
15145fi
15146if test -z "${WITH_PERL_TRUE}" && test -z "${WITH_PERL_FALSE}"; then
15147  as_fn_error $? "conditional \"WITH_PERL\" was never defined.
15148Usually this means the macro was only invoked conditionally." "$LINENO" 5
15149fi
15150if test -z "${WITH_PYTHON_TRUE}" && test -z "${WITH_PYTHON_FALSE}"; then
15151  as_fn_error $? "conditional \"WITH_PYTHON\" was never defined.
15152Usually this means the macro was only invoked conditionally." "$LINENO" 5
15153fi
15154if test -z "${WITH_MODULES_TRUE}" && test -z "${WITH_MODULES_FALSE}"; then
15155  as_fn_error $? "conditional \"WITH_MODULES\" was never defined.
15156Usually this means the macro was only invoked conditionally." "$LINENO" 5
15157fi
15158
15159: "${CONFIG_STATUS=./config.status}"
15160ac_write_fail=0
15161ac_clean_files_save=$ac_clean_files
15162ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15163{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15164$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15165as_write_fail=0
15166cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15167#! $SHELL
15168# Generated by $as_me.
15169# Run this file to recreate the current configuration.
15170# Compiler output produced by configure, useful for debugging
15171# configure, is in config.log if it exists.
15172
15173debug=false
15174ac_cs_recheck=false
15175ac_cs_silent=false
15176
15177SHELL=\${CONFIG_SHELL-$SHELL}
15178export SHELL
15179_ASEOF
15180cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15181## -------------------- ##
15182## M4sh Initialization. ##
15183## -------------------- ##
15184
15185# Be more Bourne compatible
15186DUALCASE=1; export DUALCASE # for MKS sh
15187if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15188  emulate sh
15189  NULLCMD=:
15190  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15191  # is contrary to our usage.  Disable this feature.
15192  alias -g '${1+"$@"}'='"$@"'
15193  setopt NO_GLOB_SUBST
15194else
15195  case `(set -o) 2>/dev/null` in #(
15196  *posix*) :
15197    set -o posix ;; #(
15198  *) :
15199     ;;
15200esac
15201fi
15202
15203
15204as_nl='
15205'
15206export as_nl
15207# Printing a long string crashes Solaris 7 /usr/bin/printf.
15208as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15209as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15210as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15211# Prefer a ksh shell builtin over an external printf program on Solaris,
15212# but without wasting forks for bash or zsh.
15213if test -z "$BASH_VERSION$ZSH_VERSION" \
15214    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15215  as_echo='print -r --'
15216  as_echo_n='print -rn --'
15217elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15218  as_echo='printf %s\n'
15219  as_echo_n='printf %s'
15220else
15221  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15222    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15223    as_echo_n='/usr/ucb/echo -n'
15224  else
15225    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15226    as_echo_n_body='eval
15227      arg=$1;
15228      case $arg in #(
15229      *"$as_nl"*)
15230	expr "X$arg" : "X\\(.*\\)$as_nl";
15231	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15232      esac;
15233      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15234    '
15235    export as_echo_n_body
15236    as_echo_n='sh -c $as_echo_n_body as_echo'
15237  fi
15238  export as_echo_body
15239  as_echo='sh -c $as_echo_body as_echo'
15240fi
15241
15242# The user is always right.
15243if test "${PATH_SEPARATOR+set}" != set; then
15244  PATH_SEPARATOR=:
15245  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15246    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15247      PATH_SEPARATOR=';'
15248  }
15249fi
15250
15251
15252# IFS
15253# We need space, tab and new line, in precisely that order.  Quoting is
15254# there to prevent editors from complaining about space-tab.
15255# (If _AS_PATH_WALK were called with IFS unset, it would disable word
15256# splitting by setting IFS to empty value.)
15257IFS=" ""	$as_nl"
15258
15259# Find who we are.  Look in the path if we contain no directory separator.
15260as_myself=
15261case $0 in #((
15262  *[\\/]* ) as_myself=$0 ;;
15263  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15264for as_dir in $PATH
15265do
15266  IFS=$as_save_IFS
15267  test -z "$as_dir" && as_dir=.
15268    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15269  done
15270IFS=$as_save_IFS
15271
15272     ;;
15273esac
15274# We did not find ourselves, most probably we were run as `sh COMMAND'
15275# in which case we are not to be found in the path.
15276if test "x$as_myself" = x; then
15277  as_myself=$0
15278fi
15279if test ! -f "$as_myself"; then
15280  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15281  exit 1
15282fi
15283
15284# Unset variables that we do not need and which cause bugs (e.g. in
15285# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
15286# suppresses any "Segmentation fault" message there.  '((' could
15287# trigger a bug in pdksh 5.2.14.
15288for as_var in BASH_ENV ENV MAIL MAILPATH
15289do eval test x\${$as_var+set} = xset \
15290  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15291done
15292PS1='$ '
15293PS2='> '
15294PS4='+ '
15295
15296# NLS nuisances.
15297LC_ALL=C
15298export LC_ALL
15299LANGUAGE=C
15300export LANGUAGE
15301
15302# CDPATH.
15303(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15304
15305
15306# as_fn_error STATUS ERROR [LINENO LOG_FD]
15307# ----------------------------------------
15308# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15309# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15310# script with STATUS, using 1 if that was 0.
15311as_fn_error ()
15312{
15313  as_status=$1; test $as_status -eq 0 && as_status=1
15314  if test "$4"; then
15315    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15316    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15317  fi
15318  $as_echo "$as_me: error: $2" >&2
15319  as_fn_exit $as_status
15320} # as_fn_error
15321
15322
15323# as_fn_set_status STATUS
15324# -----------------------
15325# Set $? to STATUS, without forking.
15326as_fn_set_status ()
15327{
15328  return $1
15329} # as_fn_set_status
15330
15331# as_fn_exit STATUS
15332# -----------------
15333# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15334as_fn_exit ()
15335{
15336  set +e
15337  as_fn_set_status $1
15338  exit $1
15339} # as_fn_exit
15340
15341# as_fn_unset VAR
15342# ---------------
15343# Portably unset VAR.
15344as_fn_unset ()
15345{
15346  { eval $1=; unset $1;}
15347}
15348as_unset=as_fn_unset
15349# as_fn_append VAR VALUE
15350# ----------------------
15351# Append the text in VALUE to the end of the definition contained in VAR. Take
15352# advantage of any shell optimizations that allow amortized linear growth over
15353# repeated appends, instead of the typical quadratic growth present in naive
15354# implementations.
15355if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15356  eval 'as_fn_append ()
15357  {
15358    eval $1+=\$2
15359  }'
15360else
15361  as_fn_append ()
15362  {
15363    eval $1=\$$1\$2
15364  }
15365fi # as_fn_append
15366
15367# as_fn_arith ARG...
15368# ------------------
15369# Perform arithmetic evaluation on the ARGs, and store the result in the
15370# global $as_val. Take advantage of shells that can avoid forks. The arguments
15371# must be portable across $(()) and expr.
15372if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15373  eval 'as_fn_arith ()
15374  {
15375    as_val=$(( $* ))
15376  }'
15377else
15378  as_fn_arith ()
15379  {
15380    as_val=`expr "$@" || test $? -eq 1`
15381  }
15382fi # as_fn_arith
15383
15384
15385if expr a : '\(a\)' >/dev/null 2>&1 &&
15386   test "X`expr 00001 : '.*\(...\)'`" = X001; then
15387  as_expr=expr
15388else
15389  as_expr=false
15390fi
15391
15392if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15393  as_basename=basename
15394else
15395  as_basename=false
15396fi
15397
15398if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15399  as_dirname=dirname
15400else
15401  as_dirname=false
15402fi
15403
15404as_me=`$as_basename -- "$0" ||
15405$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15406	 X"$0" : 'X\(//\)$' \| \
15407	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15408$as_echo X/"$0" |
15409    sed '/^.*\/\([^/][^/]*\)\/*$/{
15410	    s//\1/
15411	    q
15412	  }
15413	  /^X\/\(\/\/\)$/{
15414	    s//\1/
15415	    q
15416	  }
15417	  /^X\/\(\/\).*/{
15418	    s//\1/
15419	    q
15420	  }
15421	  s/.*/./; q'`
15422
15423# Avoid depending upon Character Ranges.
15424as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15425as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15426as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15427as_cr_digits='0123456789'
15428as_cr_alnum=$as_cr_Letters$as_cr_digits
15429
15430ECHO_C= ECHO_N= ECHO_T=
15431case `echo -n x` in #(((((
15432-n*)
15433  case `echo 'xy\c'` in
15434  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
15435  xy)  ECHO_C='\c';;
15436  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
15437       ECHO_T='	';;
15438  esac;;
15439*)
15440  ECHO_N='-n';;
15441esac
15442
15443rm -f conf$$ conf$$.exe conf$$.file
15444if test -d conf$$.dir; then
15445  rm -f conf$$.dir/conf$$.file
15446else
15447  rm -f conf$$.dir
15448  mkdir conf$$.dir 2>/dev/null
15449fi
15450if (echo >conf$$.file) 2>/dev/null; then
15451  if ln -s conf$$.file conf$$ 2>/dev/null; then
15452    as_ln_s='ln -s'
15453    # ... but there are two gotchas:
15454    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15455    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15456    # In both cases, we have to default to `cp -pR'.
15457    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15458      as_ln_s='cp -pR'
15459  elif ln conf$$.file conf$$ 2>/dev/null; then
15460    as_ln_s=ln
15461  else
15462    as_ln_s='cp -pR'
15463  fi
15464else
15465  as_ln_s='cp -pR'
15466fi
15467rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15468rmdir conf$$.dir 2>/dev/null
15469
15470
15471# as_fn_mkdir_p
15472# -------------
15473# Create "$as_dir" as a directory, including parents if necessary.
15474as_fn_mkdir_p ()
15475{
15476
15477  case $as_dir in #(
15478  -*) as_dir=./$as_dir;;
15479  esac
15480  test -d "$as_dir" || eval $as_mkdir_p || {
15481    as_dirs=
15482    while :; do
15483      case $as_dir in #(
15484      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15485      *) as_qdir=$as_dir;;
15486      esac
15487      as_dirs="'$as_qdir' $as_dirs"
15488      as_dir=`$as_dirname -- "$as_dir" ||
15489$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15490	 X"$as_dir" : 'X\(//\)[^/]' \| \
15491	 X"$as_dir" : 'X\(//\)$' \| \
15492	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15493$as_echo X"$as_dir" |
15494    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15495	    s//\1/
15496	    q
15497	  }
15498	  /^X\(\/\/\)[^/].*/{
15499	    s//\1/
15500	    q
15501	  }
15502	  /^X\(\/\/\)$/{
15503	    s//\1/
15504	    q
15505	  }
15506	  /^X\(\/\).*/{
15507	    s//\1/
15508	    q
15509	  }
15510	  s/.*/./; q'`
15511      test -d "$as_dir" && break
15512    done
15513    test -z "$as_dirs" || eval "mkdir $as_dirs"
15514  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15515
15516
15517} # as_fn_mkdir_p
15518if mkdir -p . 2>/dev/null; then
15519  as_mkdir_p='mkdir -p "$as_dir"'
15520else
15521  test -d ./-p && rmdir ./-p
15522  as_mkdir_p=false
15523fi
15524
15525
15526# as_fn_executable_p FILE
15527# -----------------------
15528# Test if FILE is an executable regular file.
15529as_fn_executable_p ()
15530{
15531  test -f "$1" && test -x "$1"
15532} # as_fn_executable_p
15533as_test_x='test -x'
15534as_executable_p=as_fn_executable_p
15535
15536# Sed expression to map a string onto a valid CPP name.
15537as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15538
15539# Sed expression to map a string onto a valid variable name.
15540as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15541
15542
15543exec 6>&1
15544## ----------------------------------- ##
15545## Main body of $CONFIG_STATUS script. ##
15546## ----------------------------------- ##
15547_ASEOF
15548test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15549
15550cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15551# Save the log message, to keep $0 and so on meaningful, and to
15552# report actual input values of CONFIG_FILES etc. instead of their
15553# values after options handling.
15554ac_log="
15555This file was extended by libxslt $as_me 1.1.34, which was
15556generated by GNU Autoconf 2.69.  Invocation command line was
15557
15558  CONFIG_FILES    = $CONFIG_FILES
15559  CONFIG_HEADERS  = $CONFIG_HEADERS
15560  CONFIG_LINKS    = $CONFIG_LINKS
15561  CONFIG_COMMANDS = $CONFIG_COMMANDS
15562  $ $0 $@
15563
15564on `(hostname || uname -n) 2>/dev/null | sed 1q`
15565"
15566
15567_ACEOF
15568
15569case $ac_config_files in *"
15570"*) set x $ac_config_files; shift; ac_config_files=$*;;
15571esac
15572
15573case $ac_config_headers in *"
15574"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15575esac
15576
15577
15578cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15579# Files that config.status was made for.
15580config_files="$ac_config_files"
15581config_headers="$ac_config_headers"
15582config_links="$ac_config_links"
15583config_commands="$ac_config_commands"
15584
15585_ACEOF
15586
15587cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15588ac_cs_usage="\
15589\`$as_me' instantiates files and other configuration actions
15590from templates according to the current configuration.  Unless the files
15591and actions are specified as TAGs, all are instantiated by default.
15592
15593Usage: $0 [OPTION]... [TAG]...
15594
15595  -h, --help       print this help, then exit
15596  -V, --version    print version number and configuration settings, then exit
15597      --config     print configuration, then exit
15598  -q, --quiet, --silent
15599                   do not print progress messages
15600  -d, --debug      don't remove temporary files
15601      --recheck    update $as_me by reconfiguring in the same conditions
15602      --file=FILE[:TEMPLATE]
15603                   instantiate the configuration file FILE
15604      --header=FILE[:TEMPLATE]
15605                   instantiate the configuration header FILE
15606
15607Configuration files:
15608$config_files
15609
15610Configuration headers:
15611$config_headers
15612
15613Configuration links:
15614$config_links
15615
15616Configuration commands:
15617$config_commands
15618
15619Report bugs to the package provider."
15620
15621_ACEOF
15622cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15623ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15624ac_cs_version="\\
15625libxslt config.status 1.1.34
15626configured by $0, generated by GNU Autoconf 2.69,
15627  with options \\"\$ac_cs_config\\"
15628
15629Copyright (C) 2012 Free Software Foundation, Inc.
15630This config.status script is free software; the Free Software Foundation
15631gives unlimited permission to copy, distribute and modify it."
15632
15633ac_pwd='$ac_pwd'
15634srcdir='$srcdir'
15635INSTALL='$INSTALL'
15636MKDIR_P='$MKDIR_P'
15637AWK='$AWK'
15638test -n "\$AWK" || AWK=awk
15639_ACEOF
15640
15641cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15642# The default lists apply if the user does not specify any file.
15643ac_need_defaults=:
15644while test $# != 0
15645do
15646  case $1 in
15647  --*=?*)
15648    ac_option=`expr "X$1" : 'X\([^=]*\)='`
15649    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15650    ac_shift=:
15651    ;;
15652  --*=)
15653    ac_option=`expr "X$1" : 'X\([^=]*\)='`
15654    ac_optarg=
15655    ac_shift=:
15656    ;;
15657  *)
15658    ac_option=$1
15659    ac_optarg=$2
15660    ac_shift=shift
15661    ;;
15662  esac
15663
15664  case $ac_option in
15665  # Handling of the options.
15666  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15667    ac_cs_recheck=: ;;
15668  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15669    $as_echo "$ac_cs_version"; exit ;;
15670  --config | --confi | --conf | --con | --co | --c )
15671    $as_echo "$ac_cs_config"; exit ;;
15672  --debug | --debu | --deb | --de | --d | -d )
15673    debug=: ;;
15674  --file | --fil | --fi | --f )
15675    $ac_shift
15676    case $ac_optarg in
15677    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15678    '') as_fn_error $? "missing file argument" ;;
15679    esac
15680    as_fn_append CONFIG_FILES " '$ac_optarg'"
15681    ac_need_defaults=false;;
15682  --header | --heade | --head | --hea )
15683    $ac_shift
15684    case $ac_optarg in
15685    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15686    esac
15687    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15688    ac_need_defaults=false;;
15689  --he | --h)
15690    # Conflict between --help and --header
15691    as_fn_error $? "ambiguous option: \`$1'
15692Try \`$0 --help' for more information.";;
15693  --help | --hel | -h )
15694    $as_echo "$ac_cs_usage"; exit ;;
15695  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15696  | -silent | --silent | --silen | --sile | --sil | --si | --s)
15697    ac_cs_silent=: ;;
15698
15699  # This is an error.
15700  -*) as_fn_error $? "unrecognized option: \`$1'
15701Try \`$0 --help' for more information." ;;
15702
15703  *) as_fn_append ac_config_targets " $1"
15704     ac_need_defaults=false ;;
15705
15706  esac
15707  shift
15708done
15709
15710ac_configure_extra_args=
15711
15712if $ac_cs_silent; then
15713  exec 6>/dev/null
15714  ac_configure_extra_args="$ac_configure_extra_args --silent"
15715fi
15716
15717_ACEOF
15718cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15719if \$ac_cs_recheck; then
15720  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15721  shift
15722  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15723  CONFIG_SHELL='$SHELL'
15724  export CONFIG_SHELL
15725  exec "\$@"
15726fi
15727
15728_ACEOF
15729cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15730exec 5>>config.log
15731{
15732  echo
15733  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15734## Running $as_me. ##
15735_ASBOX
15736  $as_echo "$ac_log"
15737} >&5
15738
15739_ACEOF
15740cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15741#
15742# INIT-COMMANDS
15743#
15744AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
15745
15746
15747# The HP-UX ksh and POSIX shell print the target directory to stdout
15748# if CDPATH is set.
15749(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15750
15751sed_quote_subst='$sed_quote_subst'
15752double_quote_subst='$double_quote_subst'
15753delay_variable_subst='$delay_variable_subst'
15754macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15755macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15756AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
15757DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15758OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15759enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15760enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15761pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15762enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15763shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
15764SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15765ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15766PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15767host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15768host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15769host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15770build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15771build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15772build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15773SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15774Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15775GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15776EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15777FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15778LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15779NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15780LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15781max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15782ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15783exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15784lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15785lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15786lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15787lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15788lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15789reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15790reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15791deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15792file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15793file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15794want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15795sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15796AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15797AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15798archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15799STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15800RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15801old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15802old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15803old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15804lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15805CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15806CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15807compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15808GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15809lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15810lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15811lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
15812lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15813lt_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"`'
15814lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
15815nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15816lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15817lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
15818objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15819MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15820lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15821lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15822lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15823lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15824lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15825need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15826MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15827DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15828NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15829LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15830OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15831OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15832libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15833shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15834extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15835archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15836enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15837export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15838whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15839compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15840old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15841old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15842archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15843archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15844module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15845module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15846with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15847allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15848no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15849hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15850hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15851hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15852hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15853hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15854hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15855hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15856inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15857link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15858always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15859export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15860exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15861include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15862prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15863postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15864file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15865variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15866need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15867need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15868version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15869runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15870shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15871shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15872libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15873library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15874soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15875install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15876postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15877postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15878finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15879finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15880hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15881sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15882configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
15883configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
15884hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15885enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15886enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15887enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15888old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15889striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15890
15891LTCC='$LTCC'
15892LTCFLAGS='$LTCFLAGS'
15893compiler='$compiler_DEFAULT'
15894
15895# A function that is used when there is no print builtin or printf.
15896func_fallback_echo ()
15897{
15898  eval 'cat <<_LTECHO_EOF
15899\$1
15900_LTECHO_EOF'
15901}
15902
15903# Quote evaled strings.
15904for var in AS \
15905DLLTOOL \
15906OBJDUMP \
15907SHELL \
15908ECHO \
15909PATH_SEPARATOR \
15910SED \
15911GREP \
15912EGREP \
15913FGREP \
15914LD \
15915NM \
15916LN_S \
15917lt_SP2NL \
15918lt_NL2SP \
15919reload_flag \
15920deplibs_check_method \
15921file_magic_cmd \
15922file_magic_glob \
15923want_nocaseglob \
15924sharedlib_from_linklib_cmd \
15925AR \
15926AR_FLAGS \
15927archiver_list_spec \
15928STRIP \
15929RANLIB \
15930CC \
15931CFLAGS \
15932compiler \
15933lt_cv_sys_global_symbol_pipe \
15934lt_cv_sys_global_symbol_to_cdecl \
15935lt_cv_sys_global_symbol_to_import \
15936lt_cv_sys_global_symbol_to_c_name_address \
15937lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15938lt_cv_nm_interface \
15939nm_file_list_spec \
15940lt_cv_truncate_bin \
15941lt_prog_compiler_no_builtin_flag \
15942lt_prog_compiler_pic \
15943lt_prog_compiler_wl \
15944lt_prog_compiler_static \
15945lt_cv_prog_compiler_c_o \
15946need_locks \
15947MANIFEST_TOOL \
15948DSYMUTIL \
15949NMEDIT \
15950LIPO \
15951OTOOL \
15952OTOOL64 \
15953shrext_cmds \
15954export_dynamic_flag_spec \
15955whole_archive_flag_spec \
15956compiler_needs_object \
15957with_gnu_ld \
15958allow_undefined_flag \
15959no_undefined_flag \
15960hardcode_libdir_flag_spec \
15961hardcode_libdir_separator \
15962exclude_expsyms \
15963include_expsyms \
15964file_list_spec \
15965variables_saved_for_relink \
15966libname_spec \
15967library_names_spec \
15968soname_spec \
15969install_override_mode \
15970finish_eval \
15971old_striplib \
15972striplib; do
15973    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15974    *[\\\\\\\`\\"\\\$]*)
15975      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
15976      ;;
15977    *)
15978      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15979      ;;
15980    esac
15981done
15982
15983# Double-quote double-evaled strings.
15984for var in reload_cmds \
15985old_postinstall_cmds \
15986old_postuninstall_cmds \
15987old_archive_cmds \
15988extract_expsyms_cmds \
15989old_archive_from_new_cmds \
15990old_archive_from_expsyms_cmds \
15991archive_cmds \
15992archive_expsym_cmds \
15993module_cmds \
15994module_expsym_cmds \
15995export_symbols_cmds \
15996prelink_cmds \
15997postlink_cmds \
15998postinstall_cmds \
15999postuninstall_cmds \
16000finish_cmds \
16001sys_lib_search_path_spec \
16002configure_time_dlsearch_path \
16003configure_time_lt_sys_library_path; do
16004    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16005    *[\\\\\\\`\\"\\\$]*)
16006      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
16007      ;;
16008    *)
16009      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16010      ;;
16011    esac
16012done
16013
16014ac_aux_dir='$ac_aux_dir'
16015
16016# See if we are running on zsh, and set the options that allow our
16017# commands through without removal of \ escapes INIT.
16018if test -n "\${ZSH_VERSION+set}"; then
16019   setopt NO_GLOB_SUBST
16020fi
16021
16022
16023    PACKAGE='$PACKAGE'
16024    VERSION='$VERSION'
16025    RM='$RM'
16026    ofile='$ofile'
16027
16028
16029
16030
16031_ACEOF
16032
16033cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16034
16035# Handling of arguments.
16036for ac_config_target in $ac_config_targets
16037do
16038  case $ac_config_target in
16039    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16040    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16041    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16042    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16043    "libxslt.pc") CONFIG_FILES="$CONFIG_FILES libxslt.pc" ;;
16044    "libexslt.pc") CONFIG_FILES="$CONFIG_FILES libexslt.pc" ;;
16045    "libxslt/Makefile") CONFIG_FILES="$CONFIG_FILES libxslt/Makefile" ;;
16046    "libxslt/xsltconfig.h") CONFIG_FILES="$CONFIG_FILES libxslt/xsltconfig.h" ;;
16047    "libxslt/xsltwin32config.h") CONFIG_FILES="$CONFIG_FILES libxslt/xsltwin32config.h" ;;
16048    "libexslt/Makefile") CONFIG_FILES="$CONFIG_FILES libexslt/Makefile" ;;
16049    "libexslt/exsltconfig.h") CONFIG_FILES="$CONFIG_FILES libexslt/exsltconfig.h" ;;
16050    "xsltproc/Makefile") CONFIG_FILES="$CONFIG_FILES xsltproc/Makefile" ;;
16051    "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
16052    "python/tests/Makefile") CONFIG_FILES="$CONFIG_FILES python/tests/Makefile" ;;
16053    "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
16054    "tests/docs/Makefile") CONFIG_FILES="$CONFIG_FILES tests/docs/Makefile" ;;
16055    "tests/REC1/Makefile") CONFIG_FILES="$CONFIG_FILES tests/REC1/Makefile" ;;
16056    "tests/REC2/Makefile") CONFIG_FILES="$CONFIG_FILES tests/REC2/Makefile" ;;
16057    "tests/REC/Makefile") CONFIG_FILES="$CONFIG_FILES tests/REC/Makefile" ;;
16058    "tests/general/Makefile") CONFIG_FILES="$CONFIG_FILES tests/general/Makefile" ;;
16059    "tests/reports/Makefile") CONFIG_FILES="$CONFIG_FILES tests/reports/Makefile" ;;
16060    "tests/extensions/Makefile") CONFIG_FILES="$CONFIG_FILES tests/extensions/Makefile" ;;
16061    "tests/namespaces/Makefile") CONFIG_FILES="$CONFIG_FILES tests/namespaces/Makefile" ;;
16062    "tests/keys/Makefile") CONFIG_FILES="$CONFIG_FILES tests/keys/Makefile" ;;
16063    "tests/numbers/Makefile") CONFIG_FILES="$CONFIG_FILES tests/numbers/Makefile" ;;
16064    "tests/documents/Makefile") CONFIG_FILES="$CONFIG_FILES tests/documents/Makefile" ;;
16065    "tests/xmlspec/Makefile") CONFIG_FILES="$CONFIG_FILES tests/xmlspec/Makefile" ;;
16066    "tests/multiple/Makefile") CONFIG_FILES="$CONFIG_FILES tests/multiple/Makefile" ;;
16067    "tests/xinclude/Makefile") CONFIG_FILES="$CONFIG_FILES tests/xinclude/Makefile" ;;
16068    "tests/XSLTMark/Makefile") CONFIG_FILES="$CONFIG_FILES tests/XSLTMark/Makefile" ;;
16069    "tests/docbook/Makefile") CONFIG_FILES="$CONFIG_FILES tests/docbook/Makefile" ;;
16070    "tests/exslt/Makefile") CONFIG_FILES="$CONFIG_FILES tests/exslt/Makefile" ;;
16071    "tests/exslt/common/Makefile") CONFIG_FILES="$CONFIG_FILES tests/exslt/common/Makefile" ;;
16072    "tests/exslt/functions/Makefile") CONFIG_FILES="$CONFIG_FILES tests/exslt/functions/Makefile" ;;
16073    "tests/exslt/math/Makefile") CONFIG_FILES="$CONFIG_FILES tests/exslt/math/Makefile" ;;
16074    "tests/exslt/saxon/Makefile") CONFIG_FILES="$CONFIG_FILES tests/exslt/saxon/Makefile" ;;
16075    "tests/exslt/sets/Makefile") CONFIG_FILES="$CONFIG_FILES tests/exslt/sets/Makefile" ;;
16076    "tests/exslt/strings/Makefile") CONFIG_FILES="$CONFIG_FILES tests/exslt/strings/Makefile" ;;
16077    "tests/exslt/date/Makefile") CONFIG_FILES="$CONFIG_FILES tests/exslt/date/Makefile" ;;
16078    "tests/exslt/dynamic/Makefile") CONFIG_FILES="$CONFIG_FILES tests/exslt/dynamic/Makefile" ;;
16079    "tests/exslt/crypto/Makefile") CONFIG_FILES="$CONFIG_FILES tests/exslt/crypto/Makefile" ;;
16080    "tests/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES tests/plugins/Makefile" ;;
16081    "tests/fuzz/Makefile") CONFIG_FILES="$CONFIG_FILES tests/fuzz/Makefile" ;;
16082    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
16083    "xslt-config") CONFIG_FILES="$CONFIG_FILES xslt-config" ;;
16084    "libxslt.spec") CONFIG_FILES="$CONFIG_FILES libxslt.spec" ;;
16085    "tests/fuzz/xpath.xml") CONFIG_LINKS="$CONFIG_LINKS tests/fuzz/xpath.xml:tests/fuzz/xpath.xml" ;;
16086    "tests/fuzz/xslt.xml") CONFIG_LINKS="$CONFIG_LINKS tests/fuzz/xslt.xml:tests/fuzz/xslt.xml" ;;
16087
16088  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16089  esac
16090done
16091
16092
16093# If the user did not use the arguments to specify the items to instantiate,
16094# then the envvar interface is used.  Set only those that are not.
16095# We use the long form for the default assignment because of an extremely
16096# bizarre bug on SunOS 4.1.3.
16097if $ac_need_defaults; then
16098  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16099  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16100  test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
16101  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16102fi
16103
16104# Have a temporary directory for convenience.  Make it in the build tree
16105# simply because there is no reason against having it here, and in addition,
16106# creating and moving files from /tmp can sometimes cause problems.
16107# Hook for its removal unless debugging.
16108# Note that there is a small window in which the directory will not be cleaned:
16109# after its creation but before its name has been assigned to `$tmp'.
16110$debug ||
16111{
16112  tmp= ac_tmp=
16113  trap 'exit_status=$?
16114  : "${ac_tmp:=$tmp}"
16115  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16116' 0
16117  trap 'as_fn_exit 1' 1 2 13 15
16118}
16119# Create a (secure) tmp directory for tmp files.
16120
16121{
16122  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16123  test -d "$tmp"
16124}  ||
16125{
16126  tmp=./conf$$-$RANDOM
16127  (umask 077 && mkdir "$tmp")
16128} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16129ac_tmp=$tmp
16130
16131# Set up the scripts for CONFIG_FILES section.
16132# No need to generate them if there are no CONFIG_FILES.
16133# This happens for instance with `./config.status config.h'.
16134if test -n "$CONFIG_FILES"; then
16135
16136
16137ac_cr=`echo X | tr X '\015'`
16138# On cygwin, bash can eat \r inside `` if the user requested igncr.
16139# But we know of no other shell where ac_cr would be empty at this
16140# point, so we can use a bashism as a fallback.
16141if test "x$ac_cr" = x; then
16142  eval ac_cr=\$\'\\r\'
16143fi
16144ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16145if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16146  ac_cs_awk_cr='\\r'
16147else
16148  ac_cs_awk_cr=$ac_cr
16149fi
16150
16151echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16152_ACEOF
16153
16154
16155{
16156  echo "cat >conf$$subs.awk <<_ACEOF" &&
16157  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16158  echo "_ACEOF"
16159} >conf$$subs.sh ||
16160  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16161ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16162ac_delim='%!_!# '
16163for ac_last_try in false false false false false :; do
16164  . ./conf$$subs.sh ||
16165    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16166
16167  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16168  if test $ac_delim_n = $ac_delim_num; then
16169    break
16170  elif $ac_last_try; then
16171    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16172  else
16173    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16174  fi
16175done
16176rm -f conf$$subs.sh
16177
16178cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16179cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16180_ACEOF
16181sed -n '
16182h
16183s/^/S["/; s/!.*/"]=/
16184p
16185g
16186s/^[^!]*!//
16187:repl
16188t repl
16189s/'"$ac_delim"'$//
16190t delim
16191:nl
16192h
16193s/\(.\{148\}\)..*/\1/
16194t more1
16195s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16196p
16197n
16198b repl
16199:more1
16200s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16201p
16202g
16203s/.\{148\}//
16204t nl
16205:delim
16206h
16207s/\(.\{148\}\)..*/\1/
16208t more2
16209s/["\\]/\\&/g; s/^/"/; s/$/"/
16210p
16211b
16212:more2
16213s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16214p
16215g
16216s/.\{148\}//
16217t delim
16218' <conf$$subs.awk | sed '
16219/^[^""]/{
16220  N
16221  s/\n//
16222}
16223' >>$CONFIG_STATUS || ac_write_fail=1
16224rm -f conf$$subs.awk
16225cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16226_ACAWK
16227cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16228  for (key in S) S_is_set[key] = 1
16229  FS = ""
16230
16231}
16232{
16233  line = $ 0
16234  nfields = split(line, field, "@")
16235  substed = 0
16236  len = length(field[1])
16237  for (i = 2; i < nfields; i++) {
16238    key = field[i]
16239    keylen = length(key)
16240    if (S_is_set[key]) {
16241      value = S[key]
16242      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16243      len += length(value) + length(field[++i])
16244      substed = 1
16245    } else
16246      len += 1 + keylen
16247  }
16248
16249  print line
16250}
16251
16252_ACAWK
16253_ACEOF
16254cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16255if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16256  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16257else
16258  cat
16259fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16260  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16261_ACEOF
16262
16263# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16264# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16265# trailing colons and then remove the whole line if VPATH becomes empty
16266# (actually we leave an empty line to preserve line numbers).
16267if test "x$srcdir" = x.; then
16268  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
16269h
16270s///
16271s/^/:/
16272s/[	 ]*$/:/
16273s/:\$(srcdir):/:/g
16274s/:\${srcdir}:/:/g
16275s/:@srcdir@:/:/g
16276s/^:*//
16277s/:*$//
16278x
16279s/\(=[	 ]*\).*/\1/
16280G
16281s/\n//
16282s/^[^=]*=[	 ]*$//
16283}'
16284fi
16285
16286cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16287fi # test -n "$CONFIG_FILES"
16288
16289# Set up the scripts for CONFIG_HEADERS section.
16290# No need to generate them if there are no CONFIG_HEADERS.
16291# This happens for instance with `./config.status Makefile'.
16292if test -n "$CONFIG_HEADERS"; then
16293cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16294BEGIN {
16295_ACEOF
16296
16297# Transform confdefs.h into an awk script `defines.awk', embedded as
16298# here-document in config.status, that substitutes the proper values into
16299# config.h.in to produce config.h.
16300
16301# Create a delimiter string that does not exist in confdefs.h, to ease
16302# handling of long lines.
16303ac_delim='%!_!# '
16304for ac_last_try in false false :; do
16305  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16306  if test -z "$ac_tt"; then
16307    break
16308  elif $ac_last_try; then
16309    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16310  else
16311    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16312  fi
16313done
16314
16315# For the awk script, D is an array of macro values keyed by name,
16316# likewise P contains macro parameters if any.  Preserve backslash
16317# newline sequences.
16318
16319ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16320sed -n '
16321s/.\{148\}/&'"$ac_delim"'/g
16322t rset
16323:rset
16324s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
16325t def
16326d
16327:def
16328s/\\$//
16329t bsnl
16330s/["\\]/\\&/g
16331s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
16332D["\1"]=" \3"/p
16333s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
16334d
16335:bsnl
16336s/["\\]/\\&/g
16337s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
16338D["\1"]=" \3\\\\\\n"\\/p
16339t cont
16340s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16341t cont
16342d
16343:cont
16344n
16345s/.\{148\}/&'"$ac_delim"'/g
16346t clear
16347:clear
16348s/\\$//
16349t bsnlc
16350s/["\\]/\\&/g; s/^/"/; s/$/"/p
16351d
16352:bsnlc
16353s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16354b cont
16355' <confdefs.h | sed '
16356s/'"$ac_delim"'/"\\\
16357"/g' >>$CONFIG_STATUS || ac_write_fail=1
16358
16359cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16360  for (key in D) D_is_set[key] = 1
16361  FS = ""
16362}
16363/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16364  line = \$ 0
16365  split(line, arg, " ")
16366  if (arg[1] == "#") {
16367    defundef = arg[2]
16368    mac1 = arg[3]
16369  } else {
16370    defundef = substr(arg[1], 2)
16371    mac1 = arg[2]
16372  }
16373  split(mac1, mac2, "(") #)
16374  macro = mac2[1]
16375  prefix = substr(line, 1, index(line, defundef) - 1)
16376  if (D_is_set[macro]) {
16377    # Preserve the white space surrounding the "#".
16378    print prefix "define", macro P[macro] D[macro]
16379    next
16380  } else {
16381    # Replace #undef with comments.  This is necessary, for example,
16382    # in the case of _POSIX_SOURCE, which is predefined and required
16383    # on some systems where configure will not decide to define it.
16384    if (defundef == "undef") {
16385      print "/*", prefix defundef, macro, "*/"
16386      next
16387    }
16388  }
16389}
16390{ print }
16391_ACAWK
16392_ACEOF
16393cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16394  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16395fi # test -n "$CONFIG_HEADERS"
16396
16397
16398eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS  :L $CONFIG_LINKS  :C $CONFIG_COMMANDS"
16399shift
16400for ac_tag
16401do
16402  case $ac_tag in
16403  :[FHLC]) ac_mode=$ac_tag; continue;;
16404  esac
16405  case $ac_mode$ac_tag in
16406  :[FHL]*:*);;
16407  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16408  :[FH]-) ac_tag=-:-;;
16409  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16410  esac
16411  ac_save_IFS=$IFS
16412  IFS=:
16413  set x $ac_tag
16414  IFS=$ac_save_IFS
16415  shift
16416  ac_file=$1
16417  shift
16418
16419  case $ac_mode in
16420  :L) ac_source=$1;;
16421  :[FH])
16422    ac_file_inputs=
16423    for ac_f
16424    do
16425      case $ac_f in
16426      -) ac_f="$ac_tmp/stdin";;
16427      *) # Look for the file first in the build tree, then in the source tree
16428	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
16429	 # because $ac_f cannot contain `:'.
16430	 test -f "$ac_f" ||
16431	   case $ac_f in
16432	   [\\/$]*) false;;
16433	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16434	   esac ||
16435	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16436      esac
16437      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16438      as_fn_append ac_file_inputs " '$ac_f'"
16439    done
16440
16441    # Let's still pretend it is `configure' which instantiates (i.e., don't
16442    # use $as_me), people would be surprised to read:
16443    #    /* config.h.  Generated by config.status.  */
16444    configure_input='Generated from '`
16445	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16446	`' by configure.'
16447    if test x"$ac_file" != x-; then
16448      configure_input="$ac_file.  $configure_input"
16449      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16450$as_echo "$as_me: creating $ac_file" >&6;}
16451    fi
16452    # Neutralize special characters interpreted by sed in replacement strings.
16453    case $configure_input in #(
16454    *\&* | *\|* | *\\* )
16455       ac_sed_conf_input=`$as_echo "$configure_input" |
16456       sed 's/[\\\\&|]/\\\\&/g'`;; #(
16457    *) ac_sed_conf_input=$configure_input;;
16458    esac
16459
16460    case $ac_tag in
16461    *:-:* | *:-) cat >"$ac_tmp/stdin" \
16462      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16463    esac
16464    ;;
16465  esac
16466
16467  ac_dir=`$as_dirname -- "$ac_file" ||
16468$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16469	 X"$ac_file" : 'X\(//\)[^/]' \| \
16470	 X"$ac_file" : 'X\(//\)$' \| \
16471	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16472$as_echo X"$ac_file" |
16473    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16474	    s//\1/
16475	    q
16476	  }
16477	  /^X\(\/\/\)[^/].*/{
16478	    s//\1/
16479	    q
16480	  }
16481	  /^X\(\/\/\)$/{
16482	    s//\1/
16483	    q
16484	  }
16485	  /^X\(\/\).*/{
16486	    s//\1/
16487	    q
16488	  }
16489	  s/.*/./; q'`
16490  as_dir="$ac_dir"; as_fn_mkdir_p
16491  ac_builddir=.
16492
16493case "$ac_dir" in
16494.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16495*)
16496  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16497  # A ".." for each directory in $ac_dir_suffix.
16498  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16499  case $ac_top_builddir_sub in
16500  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16501  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16502  esac ;;
16503esac
16504ac_abs_top_builddir=$ac_pwd
16505ac_abs_builddir=$ac_pwd$ac_dir_suffix
16506# for backward compatibility:
16507ac_top_builddir=$ac_top_build_prefix
16508
16509case $srcdir in
16510  .)  # We are building in place.
16511    ac_srcdir=.
16512    ac_top_srcdir=$ac_top_builddir_sub
16513    ac_abs_top_srcdir=$ac_pwd ;;
16514  [\\/]* | ?:[\\/]* )  # Absolute name.
16515    ac_srcdir=$srcdir$ac_dir_suffix;
16516    ac_top_srcdir=$srcdir
16517    ac_abs_top_srcdir=$srcdir ;;
16518  *) # Relative name.
16519    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16520    ac_top_srcdir=$ac_top_build_prefix$srcdir
16521    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16522esac
16523ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16524
16525
16526  case $ac_mode in
16527  :F)
16528  #
16529  # CONFIG_FILE
16530  #
16531
16532  case $INSTALL in
16533  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16534  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16535  esac
16536  ac_MKDIR_P=$MKDIR_P
16537  case $MKDIR_P in
16538  [\\/$]* | ?:[\\/]* ) ;;
16539  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16540  esac
16541_ACEOF
16542
16543cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16544# If the template does not know about datarootdir, expand it.
16545# FIXME: This hack should be removed a few years after 2.60.
16546ac_datarootdir_hack=; ac_datarootdir_seen=
16547ac_sed_dataroot='
16548/datarootdir/ {
16549  p
16550  q
16551}
16552/@datadir@/p
16553/@docdir@/p
16554/@infodir@/p
16555/@localedir@/p
16556/@mandir@/p'
16557case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16558*datarootdir*) ac_datarootdir_seen=yes;;
16559*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16560  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16561$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16562_ACEOF
16563cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16564  ac_datarootdir_hack='
16565  s&@datadir@&$datadir&g
16566  s&@docdir@&$docdir&g
16567  s&@infodir@&$infodir&g
16568  s&@localedir@&$localedir&g
16569  s&@mandir@&$mandir&g
16570  s&\\\${datarootdir}&$datarootdir&g' ;;
16571esac
16572_ACEOF
16573
16574# Neutralize VPATH when `$srcdir' = `.'.
16575# Shell code in configure.ac might set extrasub.
16576# FIXME: do we really want to maintain this feature?
16577cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16578ac_sed_extra="$ac_vpsub
16579$extrasub
16580_ACEOF
16581cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16582:t
16583/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16584s|@configure_input@|$ac_sed_conf_input|;t t
16585s&@top_builddir@&$ac_top_builddir_sub&;t t
16586s&@top_build_prefix@&$ac_top_build_prefix&;t t
16587s&@srcdir@&$ac_srcdir&;t t
16588s&@abs_srcdir@&$ac_abs_srcdir&;t t
16589s&@top_srcdir@&$ac_top_srcdir&;t t
16590s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16591s&@builddir@&$ac_builddir&;t t
16592s&@abs_builddir@&$ac_abs_builddir&;t t
16593s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16594s&@INSTALL@&$ac_INSTALL&;t t
16595s&@MKDIR_P@&$ac_MKDIR_P&;t t
16596$ac_datarootdir_hack
16597"
16598eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16599  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16600
16601test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16602  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16603  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
16604      "$ac_tmp/out"`; test -z "$ac_out"; } &&
16605  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16606which seems to be undefined.  Please make sure it is defined" >&5
16607$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16608which seems to be undefined.  Please make sure it is defined" >&2;}
16609
16610  rm -f "$ac_tmp/stdin"
16611  case $ac_file in
16612  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16613  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16614  esac \
16615  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16616 ;;
16617  :H)
16618  #
16619  # CONFIG_HEADER
16620  #
16621  if test x"$ac_file" != x-; then
16622    {
16623      $as_echo "/* $configure_input  */" \
16624      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16625    } >"$ac_tmp/config.h" \
16626      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16627    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16628      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16629$as_echo "$as_me: $ac_file is unchanged" >&6;}
16630    else
16631      rm -f "$ac_file"
16632      mv "$ac_tmp/config.h" "$ac_file" \
16633	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
16634    fi
16635  else
16636    $as_echo "/* $configure_input  */" \
16637      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16638      || as_fn_error $? "could not create -" "$LINENO" 5
16639  fi
16640# Compute "$ac_file"'s index in $config_headers.
16641_am_arg="$ac_file"
16642_am_stamp_count=1
16643for _am_header in $config_headers :; do
16644  case $_am_header in
16645    $_am_arg | $_am_arg:* )
16646      break ;;
16647    * )
16648      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16649  esac
16650done
16651echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16652$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16653	 X"$_am_arg" : 'X\(//\)[^/]' \| \
16654	 X"$_am_arg" : 'X\(//\)$' \| \
16655	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16656$as_echo X"$_am_arg" |
16657    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16658	    s//\1/
16659	    q
16660	  }
16661	  /^X\(\/\/\)[^/].*/{
16662	    s//\1/
16663	    q
16664	  }
16665	  /^X\(\/\/\)$/{
16666	    s//\1/
16667	    q
16668	  }
16669	  /^X\(\/\).*/{
16670	    s//\1/
16671	    q
16672	  }
16673	  s/.*/./; q'`/stamp-h$_am_stamp_count
16674 ;;
16675  :L)
16676  #
16677  # CONFIG_LINK
16678  #
16679
16680  if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
16681    :
16682  else
16683    # Prefer the file from the source tree if names are identical.
16684    if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
16685      ac_source=$srcdir/$ac_source
16686    fi
16687
16688    { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
16689$as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
16690
16691    if test ! -r "$ac_source"; then
16692      as_fn_error $? "$ac_source: file not found" "$LINENO" 5
16693    fi
16694    rm -f "$ac_file"
16695
16696    # Try a relative symlink, then a hard link, then a copy.
16697    case $ac_source in
16698    [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
16699	*) ac_rel_source=$ac_top_build_prefix$ac_source ;;
16700    esac
16701    ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
16702      ln "$ac_source" "$ac_file" 2>/dev/null ||
16703      cp -p "$ac_source" "$ac_file" ||
16704      as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
16705  fi
16706 ;;
16707  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16708$as_echo "$as_me: executing $ac_file commands" >&6;}
16709 ;;
16710  esac
16711
16712
16713  case $ac_file$ac_mode in
16714    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16715  # Older Autoconf quotes --file arguments for eval, but not when files
16716  # are listed without --file.  Let's play safe and only enable the eval
16717  # if we detect the quoting.
16718  # TODO: see whether this extra hack can be removed once we start
16719  # requiring Autoconf 2.70 or later.
16720  case $CONFIG_FILES in #(
16721  *\'*) :
16722    eval set x "$CONFIG_FILES" ;; #(
16723  *) :
16724    set x $CONFIG_FILES ;; #(
16725  *) :
16726     ;;
16727esac
16728  shift
16729  # Used to flag and report bootstrapping failures.
16730  am_rc=0
16731  for am_mf
16732  do
16733    # Strip MF so we end up with the name of the file.
16734    am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
16735    # Check whether this is an Automake generated Makefile which includes
16736    # dependency-tracking related rules and includes.
16737    # Grep'ing the whole file directly is not great: AIX grep has a line
16738    # limit of 2048, but all sed's we know have understand at least 4000.
16739    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
16740      || continue
16741    am_dirpart=`$as_dirname -- "$am_mf" ||
16742$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16743	 X"$am_mf" : 'X\(//\)[^/]' \| \
16744	 X"$am_mf" : 'X\(//\)$' \| \
16745	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
16746$as_echo X"$am_mf" |
16747    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16748	    s//\1/
16749	    q
16750	  }
16751	  /^X\(\/\/\)[^/].*/{
16752	    s//\1/
16753	    q
16754	  }
16755	  /^X\(\/\/\)$/{
16756	    s//\1/
16757	    q
16758	  }
16759	  /^X\(\/\).*/{
16760	    s//\1/
16761	    q
16762	  }
16763	  s/.*/./; q'`
16764    am_filepart=`$as_basename -- "$am_mf" ||
16765$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
16766	 X"$am_mf" : 'X\(//\)$' \| \
16767	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
16768$as_echo X/"$am_mf" |
16769    sed '/^.*\/\([^/][^/]*\)\/*$/{
16770	    s//\1/
16771	    q
16772	  }
16773	  /^X\/\(\/\/\)$/{
16774	    s//\1/
16775	    q
16776	  }
16777	  /^X\/\(\/\).*/{
16778	    s//\1/
16779	    q
16780	  }
16781	  s/.*/./; q'`
16782    { echo "$as_me:$LINENO: cd "$am_dirpart" \
16783      && sed -e '/# am--include-marker/d' "$am_filepart" \
16784        | $MAKE -f - am--depfiles" >&5
16785   (cd "$am_dirpart" \
16786      && sed -e '/# am--include-marker/d' "$am_filepart" \
16787        | $MAKE -f - am--depfiles) >&5 2>&5
16788   ac_status=$?
16789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16790   (exit $ac_status); } || am_rc=$?
16791  done
16792  if test $am_rc -ne 0; then
16793    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16794$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16795as_fn_error $? "Something went wrong bootstrapping makefile fragments
16796    for automatic dependency tracking.  Try re-running configure with the
16797    '--disable-dependency-tracking' option to at least be able to build
16798    the package (albeit without support for automatic dependency tracking).
16799See \`config.log' for more details" "$LINENO" 5; }
16800  fi
16801  { am_dirpart=; unset am_dirpart;}
16802  { am_filepart=; unset am_filepart;}
16803  { am_mf=; unset am_mf;}
16804  { am_rc=; unset am_rc;}
16805  rm -f conftest-deps.mk
16806}
16807 ;;
16808    "libtool":C)
16809
16810    # See if we are running on zsh, and set the options that allow our
16811    # commands through without removal of \ escapes.
16812    if test -n "${ZSH_VERSION+set}"; then
16813      setopt NO_GLOB_SUBST
16814    fi
16815
16816    cfgfile=${ofile}T
16817    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16818    $RM "$cfgfile"
16819
16820    cat <<_LT_EOF >> "$cfgfile"
16821#! $SHELL
16822# Generated automatically by $as_me ($PACKAGE) $VERSION
16823# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16824# NOTE: Changes made to this file will be lost: look at ltmain.sh.
16825
16826# Provide generalized library-building support services.
16827# Written by Gordon Matzigkeit, 1996
16828
16829# Copyright (C) 2014 Free Software Foundation, Inc.
16830# This is free software; see the source for copying conditions.  There is NO
16831# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16832
16833# GNU Libtool is free software; you can redistribute it and/or modify
16834# it under the terms of the GNU General Public License as published by
16835# the Free Software Foundation; either version 2 of of the License, or
16836# (at your option) any later version.
16837#
16838# As a special exception to the GNU General Public License, if you
16839# distribute this file as part of a program or library that is built
16840# using GNU Libtool, you may include this file under the  same
16841# distribution terms that you use for the rest of that program.
16842#
16843# GNU Libtool is distributed in the hope that it will be useful, but
16844# WITHOUT ANY WARRANTY; without even the implied warranty of
16845# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16846# GNU General Public License for more details.
16847#
16848# You should have received a copy of the GNU General Public License
16849# along with this program.  If not, see <http://www.gnu.org/licenses/>.
16850
16851
16852# The names of the tagged configurations supported by this script.
16853available_tags=''
16854
16855# Configured defaults for sys_lib_dlsearch_path munging.
16856: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
16857
16858# ### BEGIN LIBTOOL CONFIG
16859
16860# Which release of libtool.m4 was used?
16861macro_version=$macro_version
16862macro_revision=$macro_revision
16863
16864# Assembler program.
16865AS=$lt_AS
16866
16867# DLL creation program.
16868DLLTOOL=$lt_DLLTOOL
16869
16870# Object dumper program.
16871OBJDUMP=$lt_OBJDUMP
16872
16873# Whether or not to build shared libraries.
16874build_libtool_libs=$enable_shared
16875
16876# Whether or not to build static libraries.
16877build_old_libs=$enable_static
16878
16879# What type of objects to build.
16880pic_mode=$pic_mode
16881
16882# Whether or not to optimize for fast installation.
16883fast_install=$enable_fast_install
16884
16885# Shared archive member basename,for filename based shared library versioning on AIX.
16886shared_archive_member_spec=$shared_archive_member_spec
16887
16888# Shell to use when invoking shell scripts.
16889SHELL=$lt_SHELL
16890
16891# An echo program that protects backslashes.
16892ECHO=$lt_ECHO
16893
16894# The PATH separator for the build system.
16895PATH_SEPARATOR=$lt_PATH_SEPARATOR
16896
16897# The host system.
16898host_alias=$host_alias
16899host=$host
16900host_os=$host_os
16901
16902# The build system.
16903build_alias=$build_alias
16904build=$build
16905build_os=$build_os
16906
16907# A sed program that does not truncate output.
16908SED=$lt_SED
16909
16910# Sed that helps us avoid accidentally triggering echo(1) options like -n.
16911Xsed="\$SED -e 1s/^X//"
16912
16913# A grep program that handles long lines.
16914GREP=$lt_GREP
16915
16916# An ERE matcher.
16917EGREP=$lt_EGREP
16918
16919# A literal string matcher.
16920FGREP=$lt_FGREP
16921
16922# A BSD- or MS-compatible name lister.
16923NM=$lt_NM
16924
16925# Whether we need soft or hard links.
16926LN_S=$lt_LN_S
16927
16928# What is the maximum length of a command?
16929max_cmd_len=$max_cmd_len
16930
16931# Object file suffix (normally "o").
16932objext=$ac_objext
16933
16934# Executable file suffix (normally "").
16935exeext=$exeext
16936
16937# whether the shell understands "unset".
16938lt_unset=$lt_unset
16939
16940# turn spaces into newlines.
16941SP2NL=$lt_lt_SP2NL
16942
16943# turn newlines into spaces.
16944NL2SP=$lt_lt_NL2SP
16945
16946# convert \$build file names to \$host format.
16947to_host_file_cmd=$lt_cv_to_host_file_cmd
16948
16949# convert \$build files to toolchain format.
16950to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16951
16952# Method to check whether dependent libraries are shared objects.
16953deplibs_check_method=$lt_deplibs_check_method
16954
16955# Command to use when deplibs_check_method = "file_magic".
16956file_magic_cmd=$lt_file_magic_cmd
16957
16958# How to find potential files when deplibs_check_method = "file_magic".
16959file_magic_glob=$lt_file_magic_glob
16960
16961# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16962want_nocaseglob=$lt_want_nocaseglob
16963
16964# Command to associate shared and link libraries.
16965sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16966
16967# The archiver.
16968AR=$lt_AR
16969
16970# Flags to create an archive.
16971AR_FLAGS=$lt_AR_FLAGS
16972
16973# How to feed a file listing to the archiver.
16974archiver_list_spec=$lt_archiver_list_spec
16975
16976# A symbol stripping program.
16977STRIP=$lt_STRIP
16978
16979# Commands used to install an old-style archive.
16980RANLIB=$lt_RANLIB
16981old_postinstall_cmds=$lt_old_postinstall_cmds
16982old_postuninstall_cmds=$lt_old_postuninstall_cmds
16983
16984# Whether to use a lock for old archive extraction.
16985lock_old_archive_extraction=$lock_old_archive_extraction
16986
16987# A C compiler.
16988LTCC=$lt_CC
16989
16990# LTCC compiler flags.
16991LTCFLAGS=$lt_CFLAGS
16992
16993# Take the output of nm and produce a listing of raw symbols and C names.
16994global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16995
16996# Transform the output of nm in a proper C declaration.
16997global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16998
16999# Transform the output of nm into a list of symbols to manually relocate.
17000global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
17001
17002# Transform the output of nm in a C name address pair.
17003global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17004
17005# Transform the output of nm in a C name address pair when lib prefix is needed.
17006global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17007
17008# The name lister interface.
17009nm_interface=$lt_lt_cv_nm_interface
17010
17011# Specify filename containing input files for \$NM.
17012nm_file_list_spec=$lt_nm_file_list_spec
17013
17014# The root where to search for dependent libraries,and where our libraries should be installed.
17015lt_sysroot=$lt_sysroot
17016
17017# Command to truncate a binary pipe.
17018lt_truncate_bin=$lt_lt_cv_truncate_bin
17019
17020# The name of the directory that contains temporary libtool files.
17021objdir=$objdir
17022
17023# Used to examine libraries when file_magic_cmd begins with "file".
17024MAGIC_CMD=$MAGIC_CMD
17025
17026# Must we lock files when doing compilation?
17027need_locks=$lt_need_locks
17028
17029# Manifest tool.
17030MANIFEST_TOOL=$lt_MANIFEST_TOOL
17031
17032# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17033DSYMUTIL=$lt_DSYMUTIL
17034
17035# Tool to change global to local symbols on Mac OS X.
17036NMEDIT=$lt_NMEDIT
17037
17038# Tool to manipulate fat objects and archives on Mac OS X.
17039LIPO=$lt_LIPO
17040
17041# ldd/readelf like tool for Mach-O binaries on Mac OS X.
17042OTOOL=$lt_OTOOL
17043
17044# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17045OTOOL64=$lt_OTOOL64
17046
17047# Old archive suffix (normally "a").
17048libext=$libext
17049
17050# Shared library suffix (normally ".so").
17051shrext_cmds=$lt_shrext_cmds
17052
17053# The commands to extract the exported symbol list from a shared archive.
17054extract_expsyms_cmds=$lt_extract_expsyms_cmds
17055
17056# Variables whose values should be saved in libtool wrapper scripts and
17057# restored at link time.
17058variables_saved_for_relink=$lt_variables_saved_for_relink
17059
17060# Do we need the "lib" prefix for modules?
17061need_lib_prefix=$need_lib_prefix
17062
17063# Do we need a version for libraries?
17064need_version=$need_version
17065
17066# Library versioning type.
17067version_type=$version_type
17068
17069# Shared library runtime path variable.
17070runpath_var=$runpath_var
17071
17072# Shared library path variable.
17073shlibpath_var=$shlibpath_var
17074
17075# Is shlibpath searched before the hard-coded library search path?
17076shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17077
17078# Format of library name prefix.
17079libname_spec=$lt_libname_spec
17080
17081# List of archive names.  First name is the real one, the rest are links.
17082# The last name is the one that the linker finds with -lNAME
17083library_names_spec=$lt_library_names_spec
17084
17085# The coded name of the library, if different from the real name.
17086soname_spec=$lt_soname_spec
17087
17088# Permission mode override for installation of shared libraries.
17089install_override_mode=$lt_install_override_mode
17090
17091# Command to use after installation of a shared archive.
17092postinstall_cmds=$lt_postinstall_cmds
17093
17094# Command to use after uninstallation of a shared archive.
17095postuninstall_cmds=$lt_postuninstall_cmds
17096
17097# Commands used to finish a libtool library installation in a directory.
17098finish_cmds=$lt_finish_cmds
17099
17100# As "finish_cmds", except a single script fragment to be evaled but
17101# not shown.
17102finish_eval=$lt_finish_eval
17103
17104# Whether we should hardcode library paths into libraries.
17105hardcode_into_libs=$hardcode_into_libs
17106
17107# Compile-time system search path for libraries.
17108sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17109
17110# Detected run-time system search path for libraries.
17111sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
17112
17113# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
17114configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
17115
17116# Whether dlopen is supported.
17117dlopen_support=$enable_dlopen
17118
17119# Whether dlopen of programs is supported.
17120dlopen_self=$enable_dlopen_self
17121
17122# Whether dlopen of statically linked programs is supported.
17123dlopen_self_static=$enable_dlopen_self_static
17124
17125# Commands to strip libraries.
17126old_striplib=$lt_old_striplib
17127striplib=$lt_striplib
17128
17129
17130# The linker used to build libraries.
17131LD=$lt_LD
17132
17133# How to create reloadable object files.
17134reload_flag=$lt_reload_flag
17135reload_cmds=$lt_reload_cmds
17136
17137# Commands used to build an old-style archive.
17138old_archive_cmds=$lt_old_archive_cmds
17139
17140# A language specific compiler.
17141CC=$lt_compiler
17142
17143# Is the compiler the GNU compiler?
17144with_gcc=$GCC
17145
17146# Compiler flag to turn off builtin functions.
17147no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17148
17149# Additional compiler flags for building library objects.
17150pic_flag=$lt_lt_prog_compiler_pic
17151
17152# How to pass a linker flag through the compiler.
17153wl=$lt_lt_prog_compiler_wl
17154
17155# Compiler flag to prevent dynamic linking.
17156link_static_flag=$lt_lt_prog_compiler_static
17157
17158# Does compiler simultaneously support -c and -o options?
17159compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17160
17161# Whether or not to add -lc for building shared libraries.
17162build_libtool_need_lc=$archive_cmds_need_lc
17163
17164# Whether or not to disallow shared libs when runtime libs are static.
17165allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17166
17167# Compiler flag to allow reflexive dlopens.
17168export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17169
17170# Compiler flag to generate shared objects directly from archives.
17171whole_archive_flag_spec=$lt_whole_archive_flag_spec
17172
17173# Whether the compiler copes with passing no objects directly.
17174compiler_needs_object=$lt_compiler_needs_object
17175
17176# Create an old-style archive from a shared archive.
17177old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17178
17179# Create a temporary old-style archive to link instead of a shared archive.
17180old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17181
17182# Commands used to build a shared archive.
17183archive_cmds=$lt_archive_cmds
17184archive_expsym_cmds=$lt_archive_expsym_cmds
17185
17186# Commands used to build a loadable module if different from building
17187# a shared archive.
17188module_cmds=$lt_module_cmds
17189module_expsym_cmds=$lt_module_expsym_cmds
17190
17191# Whether we are building with GNU ld or not.
17192with_gnu_ld=$lt_with_gnu_ld
17193
17194# Flag that allows shared libraries with undefined symbols to be built.
17195allow_undefined_flag=$lt_allow_undefined_flag
17196
17197# Flag that enforces no undefined symbols.
17198no_undefined_flag=$lt_no_undefined_flag
17199
17200# Flag to hardcode \$libdir into a binary during linking.
17201# This must work even if \$libdir does not exist
17202hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17203
17204# Whether we need a single "-rpath" flag with a separated argument.
17205hardcode_libdir_separator=$lt_hardcode_libdir_separator
17206
17207# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
17208# DIR into the resulting binary.
17209hardcode_direct=$hardcode_direct
17210
17211# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
17212# DIR into the resulting binary and the resulting library dependency is
17213# "absolute",i.e impossible to change by setting \$shlibpath_var if the
17214# library is relocated.
17215hardcode_direct_absolute=$hardcode_direct_absolute
17216
17217# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17218# into the resulting binary.
17219hardcode_minus_L=$hardcode_minus_L
17220
17221# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17222# into the resulting binary.
17223hardcode_shlibpath_var=$hardcode_shlibpath_var
17224
17225# Set to "yes" if building a shared library automatically hardcodes DIR
17226# into the library and all subsequent libraries and executables linked
17227# against it.
17228hardcode_automatic=$hardcode_automatic
17229
17230# Set to yes if linker adds runtime paths of dependent libraries
17231# to runtime path list.
17232inherit_rpath=$inherit_rpath
17233
17234# Whether libtool must link a program against all its dependency libraries.
17235link_all_deplibs=$link_all_deplibs
17236
17237# Set to "yes" if exported symbols are required.
17238always_export_symbols=$always_export_symbols
17239
17240# The commands to list exported symbols.
17241export_symbols_cmds=$lt_export_symbols_cmds
17242
17243# Symbols that should not be listed in the preloaded symbols.
17244exclude_expsyms=$lt_exclude_expsyms
17245
17246# Symbols that must always be exported.
17247include_expsyms=$lt_include_expsyms
17248
17249# Commands necessary for linking programs (against libraries) with templates.
17250prelink_cmds=$lt_prelink_cmds
17251
17252# Commands necessary for finishing linking programs.
17253postlink_cmds=$lt_postlink_cmds
17254
17255# Specify filename containing input files.
17256file_list_spec=$lt_file_list_spec
17257
17258# How to hardcode a shared library path into an executable.
17259hardcode_action=$hardcode_action
17260
17261# ### END LIBTOOL CONFIG
17262
17263_LT_EOF
17264
17265    cat <<'_LT_EOF' >> "$cfgfile"
17266
17267# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
17268
17269# func_munge_path_list VARIABLE PATH
17270# -----------------------------------
17271# VARIABLE is name of variable containing _space_ separated list of
17272# directories to be munged by the contents of PATH, which is string
17273# having a format:
17274# "DIR[:DIR]:"
17275#       string "DIR[ DIR]" will be prepended to VARIABLE
17276# ":DIR[:DIR]"
17277#       string "DIR[ DIR]" will be appended to VARIABLE
17278# "DIRP[:DIRP]::[DIRA:]DIRA"
17279#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
17280#       "DIRA[ DIRA]" will be appended to VARIABLE
17281# "DIR[:DIR]"
17282#       VARIABLE will be replaced by "DIR[ DIR]"
17283func_munge_path_list ()
17284{
17285    case x$2 in
17286    x)
17287        ;;
17288    *:)
17289        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
17290        ;;
17291    x:*)
17292        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
17293        ;;
17294    *::*)
17295        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
17296        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
17297        ;;
17298    *)
17299        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
17300        ;;
17301    esac
17302}
17303
17304
17305# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
17306func_cc_basename ()
17307{
17308    for cc_temp in $*""; do
17309      case $cc_temp in
17310        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17311        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17312        \-*) ;;
17313        *) break;;
17314      esac
17315    done
17316    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
17317}
17318
17319
17320# ### END FUNCTIONS SHARED WITH CONFIGURE
17321
17322_LT_EOF
17323
17324  case $host_os in
17325  aix3*)
17326    cat <<\_LT_EOF >> "$cfgfile"
17327# AIX sometimes has problems with the GCC collect2 program.  For some
17328# reason, if we set the COLLECT_NAMES environment variable, the problems
17329# vanish in a puff of smoke.
17330if test set != "${COLLECT_NAMES+set}"; then
17331  COLLECT_NAMES=
17332  export COLLECT_NAMES
17333fi
17334_LT_EOF
17335    ;;
17336  esac
17337
17338
17339ltmain=$ac_aux_dir/ltmain.sh
17340
17341
17342  # We use sed instead of cat because bash on DJGPP gets confused if
17343  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
17344  # text mode, it properly converts lines to CR/LF.  This bash problem
17345  # is reportedly fixed, but why not run on old versions too?
17346  sed '$q' "$ltmain" >> "$cfgfile" \
17347     || (rm -f "$cfgfile"; exit 1)
17348
17349   mv -f "$cfgfile" "$ofile" ||
17350    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17351  chmod +x "$ofile"
17352
17353 ;;
17354
17355  esac
17356done # for ac_tag
17357
17358
17359as_fn_exit 0
17360_ACEOF
17361ac_clean_files=$ac_clean_files_save
17362
17363test $ac_write_fail = 0 ||
17364  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17365
17366
17367# configure is writing to config.log, and then calls config.status.
17368# config.status does its own redirection, appending to config.log.
17369# Unfortunately, on DOS this fails, as config.log is still kept open
17370# by configure, so config.status won't be able to write to it; its
17371# output is simply discarded.  So we exec the FD to /dev/null,
17372# effectively closing config.log, so it can be properly (re)opened and
17373# appended to by config.status.  When coming back to configure, we
17374# need to make the FD available again.
17375if test "$no_create" != yes; then
17376  ac_cs_success=:
17377  ac_config_status_args=
17378  test "$silent" = yes &&
17379    ac_config_status_args="$ac_config_status_args --quiet"
17380  exec 5>/dev/null
17381  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17382  exec 5>>config.log
17383  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17384  # would make configure fail if this is the last instruction.
17385  $ac_cs_success || as_fn_exit 1
17386fi
17387if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17388  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17389$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17390fi
17391
17392