1149423Spjd#! /bin/sh
2149423Spjd# Guess values for system-dependent variables and create Makefiles.
3149423Spjd# Generated by GNU Autoconf 2.71 for expat 2.4.6.
4149423Spjd#
5149423Spjd# Report bugs to <expat-bugs@libexpat.org>.
6149423Spjd#
7149423Spjd#
8149423Spjd# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
9149423Spjd# Inc.
10149423Spjd#
11149423Spjd#
12149423Spjd# This configure script is free software; the Free Software Foundation
13149423Spjd# gives unlimited permission to copy, distribute and modify it.
14149423Spjd## -------------------- ##
15149423Spjd## M4sh Initialization. ##
16149423Spjd## -------------------- ##
17149423Spjd
18149423Spjd# Be more Bourne compatible
19149423SpjdDUALCASE=1; export DUALCASE # for MKS sh
20149423Spjdas_nop=:
21149423Spjdif test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22149423Spjdthen :
23149423Spjd  emulate sh
24149423Spjd  NULLCMD=:
25149423Spjd  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26149423Spjd  # is contrary to our usage.  Disable this feature.
27149423Spjd  alias -g '${1+"$@"}'='"$@"'
28149423Spjd  setopt NO_GLOB_SUBST
29149423Spjdelse $as_nop
30149423Spjd  case `(set -o) 2>/dev/null` in #(
31149423Spjd  *posix*) :
32149423Spjd    set -o posix ;; #(
33149423Spjd  *) :
34149423Spjd     ;;
35149423Spjdesac
36149423Spjdfi
37171706Sdes
38149423Spjd
39172577Skib
40171706Sdes# Reset variables that may have inherited troublesome values from
41171706Sdes# the environment.
42149423Spjd
43149423Spjd# IFS needs to be set, to space, tab, and newline, in precisely that order.
44230037Sghelmer# (If _AS_PATH_WALK were called with IFS unset, it would have the
45230037Sghelmer# side effect of setting IFS to empty, thus disabling word splitting.)
46230037Sghelmer# Quoting is to prevent editors from complaining about space-tab.
47230037Sghelmeras_nl='
48230037Sghelmer'
49230037Sghelmerexport as_nl
50230037SghelmerIFS=" ""	$as_nl"
51149423Spjd
52149423SpjdPS1='$ '
53149423SpjdPS2='> '
54229951SpjdPS4='+ '
55149423Spjd
56149423Spjd# Ensure predictable behavior from utilities with locale-dependent output.
57149423SpjdLC_ALL=C
58149423Spjdexport LC_ALL
59149423SpjdLANGUAGE=C
60149423Spjdexport LANGUAGE
61149423Spjd
62149423Spjd# We cannot yet rely on "unset" to work, but we need these variables
63149423Spjd# to be unset--not just set to an empty or harmless value--now, to
64149423Spjd# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
65149423Spjd# also avoids known problems related to "unset" and subshell syntax
66149423Spjd# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
67149423Spjdfor as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
68149423Spjddo eval test \${$as_var+y} \
69149423Spjd  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
70149423Spjddone
71149423Spjd
72149423Spjd# Ensure that fds 0, 1, and 2 are open.
73149423Spjdif (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
74149423Spjdif (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
75149423Spjdif (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
76255007Sjilles
77149423Spjd# The user is always right.
78149423Spjdif ${PATH_SEPARATOR+false} :; then
79149423Spjd  PATH_SEPARATOR=:
80149423Spjd  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81149423Spjd    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82149423Spjd      PATH_SEPARATOR=';'
83149423Spjd  }
84149423Spjdfi
85172577Skib
86172577Skib
87149423Spjd# Find who we are.  Look in the path if we contain no directory separator.
88149423Spjdas_myself=
89149423Spjdcase $0 in #((
90149423Spjd  *[\\/]* ) as_myself=$0 ;;
91149423Spjd  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
92149423Spjdfor as_dir in $PATH
93149423Spjddo
94149423Spjd  IFS=$as_save_IFS
95149423Spjd  case $as_dir in #(((
96149423Spjd    '') as_dir=./ ;;
97149423Spjd    */) ;;
98149423Spjd    *) as_dir=$as_dir/ ;;
99149423Spjd  esac
100149423Spjd    test -r "$as_dir$0" && as_myself=$as_dir$0 && break
101172577Skib  done
102172577SkibIFS=$as_save_IFS
103149423Spjd
104149423Spjd     ;;
105149423Spjdesac
106149423Spjd# We did not find ourselves, most probably we were run as `sh COMMAND'
107149423Spjd# in which case we are not to be found in the path.
108169468Sdesif test "x$as_myself" = x; then
109169468Sdes  as_myself=$0
110169468Sdesfi
111169468Sdesif test ! -f "$as_myself"; then
112169468Sdes  printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113169468Sdes  exit 1
114169468Sdesfi
115149423Spjd
116149423Spjd
117149423Spjd# Use a proper internal environment variable to ensure we don't fall
118149423Spjd  # into an infinite loop, continuously re-executing ourselves.
119149423Spjd  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
120149423Spjd    _as_can_reexec=no; export _as_can_reexec;
121149423Spjd    # We cannot yet assume a decent shell, so we have to provide a
122149423Spjd# neutralization value for shells without unset; and this also
123149423Spjd# works around shells that cannot unset nonexistent variables.
124149423Spjd# Preserve -v and -x to the replacement shell.
125149423SpjdBASH_ENV=/dev/null
126169448SdesENV=/dev/null
127231938Sghelmer(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
128149423Spjdcase $- in # ((((
129248281Spjd  *v*x* | *x*v* ) as_opts=-vx ;;
130248281Spjd  *v* ) as_opts=-v ;;
131248281Spjd  *x* ) as_opts=-x ;;
132248281Spjd  * ) as_opts= ;;
133248281Spjdesac
134248281Spjdexec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
135248281Spjd# Admittedly, this is quite paranoid, since all the known shells bail
136248281Spjd# out after a failed `exec'.
137248281Spjdprintf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
138248281Spjdexit 255
139248281Spjd  fi
140248281Spjd  # We don't want this to propagate to other subprocesses.
141248281Spjd          { _as_can_reexec=; unset _as_can_reexec;}
142248281Spjdif test "x$CONFIG_SHELL" = x; then
143248281Spjd  as_bourne_compatible="as_nop=:
144248281Spjdif test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
145248281Spjdthen :
146248281Spjd  emulate sh
147226450Spjd  NULLCMD=:
148149423Spjd  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
149149423Spjd  # is contrary to our usage.  Disable this feature.
150149423Spjd  alias -g '\${1+\"\$@\"}'='\"\$@\"'
151149423Spjd  setopt NO_GLOB_SUBST
152229936Sghelmerelse \$as_nop
153149423Spjd  case \`(set -o) 2>/dev/null\` in #(
154149423Spjd  *posix*) :
155149423Spjd    set -o posix ;; #(
156149423Spjd  *) :
157149423Spjd     ;;
158149423Spjdesac
159149423Spjdfi
160149423Spjd"
161149423Spjd  as_required="as_fn_return () { (exit \$1); }
162149423Spjdas_fn_success () { as_fn_return 0; }
163149423Spjdas_fn_failure () { as_fn_return 1; }
164149423Spjdas_fn_ret_success () { return 0; }
165149423Spjdas_fn_ret_failure () { return 1; }
166149423Spjd
167149423Spjdexitcode=0
168149423Spjdas_fn_success || { exitcode=1; echo as_fn_success failed.; }
169149423Spjdas_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
170149423Spjdas_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
171149423Spjdas_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
172149423Spjdif ( set x; as_fn_ret_success y && test x = \"\$1\" )
173149423Spjdthen :
174149423Spjd
175149423Spjdelse \$as_nop
176149423Spjd  exitcode=1; echo positional parameters were not saved.
177149423Spjdfi
178149423Spjdtest x\$exitcode = x0 || exit 1
179149423Spjdblah=\$(echo \$(echo blah))
180149423Spjdtest x\"\$blah\" = xblah || exit 1
181149423Spjdtest -x / || exit 1"
182149423Spjd  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
183149423Spjd  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
184149423Spjd  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
185149423Spjd  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
186149423Spjd
187149423Spjd  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
188149423Spjd    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
189149423Spjd    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
190149423Spjd    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
191149423Spjd    PATH=/empty FPATH=/empty; export PATH FPATH
192149423Spjd    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
193149423Spjd      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
194149423Spjdtest \$(( 1 + 1 )) = 2 || exit 1"
195149423Spjd  if (eval "$as_required") 2>/dev/null
196149423Spjdthen :
197149423Spjd  as_have_required=yes
198149423Spjdelse $as_nop
199149423Spjd  as_have_required=no
200149423Spjdfi
201149423Spjd  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
202149423Spjdthen :
203157671Sjmg
204149423Spjdelse $as_nop
205149423Spjd  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
206149423Spjdas_found=false
207149423Spjdfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
208149423Spjddo
209149423Spjd  IFS=$as_save_IFS
210149423Spjd  case $as_dir in #(((
211149423Spjd    '') as_dir=./ ;;
212149423Spjd    */) ;;
213149423Spjd    *) as_dir=$as_dir/ ;;
214149423Spjd  esac
215149423Spjd  as_found=:
216149423Spjd  case $as_dir in #(
217149423Spjd	 /*)
218149423Spjd	   for as_base in sh bash ksh sh5; do
219149423Spjd	     # Try only shells that exist, to save several forks.
220149423Spjd	     as_shell=$as_dir$as_base
221149423Spjd	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
222149423Spjd		    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
223149423Spjdthen :
224149423Spjd  CONFIG_SHELL=$as_shell as_have_required=yes
225149423Spjd		   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
226149423Spjdthen :
227149423Spjd  break 2
228149423Spjdfi
229149423Spjdfi
230149423Spjd	   done;;
231149423Spjd       esac
232149423Spjd  as_found=false
233149423Spjddone
234149423SpjdIFS=$as_save_IFS
235149423Spjdif $as_found
236149423Spjdthen :
237149423Spjd
238149423Spjdelse $as_nop
239149423Spjd  if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240149423Spjd	      as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
241149423Spjdthen :
242149423Spjd  CONFIG_SHELL=$SHELL as_have_required=yes
243149423Spjdfi
244149423Spjdfi
245149423Spjd
246149423Spjd
247149423Spjd      if test "x$CONFIG_SHELL" != x
248149423Spjdthen :
249149423Spjd  export CONFIG_SHELL
250149423Spjd             # We cannot yet assume a decent shell, so we have to provide a
251149423Spjd# neutralization value for shells without unset; and this also
252149423Spjd# works around shells that cannot unset nonexistent variables.
253149423Spjd# Preserve -v and -x to the replacement shell.
254149423SpjdBASH_ENV=/dev/null
255149423SpjdENV=/dev/null
256149423Spjd(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257149423Spjdcase $- in # ((((
258149423Spjd  *v*x* | *x*v* ) as_opts=-vx ;;
259149423Spjd  *v* ) as_opts=-v ;;
260149423Spjd  *x* ) as_opts=-x ;;
261149423Spjd  * ) as_opts= ;;
262149423Spjdesac
263149423Spjdexec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264149423Spjd# Admittedly, this is quite paranoid, since all the known shells bail
265149423Spjd# out after a failed `exec'.
266149423Spjdprintf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
267149423Spjdexit 255
268229937Sghelmerfi
269229937Sghelmer
270229951Spjd    if test x$as_have_required = xno
271229937Sghelmerthen :
272229942Sghelmer  printf "%s\n" "$0: This script requires a shell more modern than all"
273229937Sghelmer  printf "%s\n" "$0: the shells that I found on your system."
274229937Sghelmer  if test ${ZSH_VERSION+y} ; then
275229937Sghelmer    printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
276229937Sghelmer    printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
277229937Sghelmer  else
278229937Sghelmer    printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
279$0: expat-bugs@libexpat.org about your system, including
280$0: any error possibly output before this message. Then
281$0: install a modern shell, or manually run the script
282$0: under such a shell if you do have one."
283  fi
284  exit 1
285fi
286fi
287fi
288SHELL=${CONFIG_SHELL-/bin/sh}
289export SHELL
290# Unset more variables known to interfere with behavior of common tools.
291CLICOLOR_FORCE= GREP_OPTIONS=
292unset CLICOLOR_FORCE GREP_OPTIONS
293
294## --------------------- ##
295## M4sh Shell Functions. ##
296## --------------------- ##
297# as_fn_unset VAR
298# ---------------
299# Portably unset VAR.
300as_fn_unset ()
301{
302  { eval $1=; unset $1;}
303}
304as_unset=as_fn_unset
305
306
307# as_fn_set_status STATUS
308# -----------------------
309# Set $? to STATUS, without forking.
310as_fn_set_status ()
311{
312  return $1
313} # as_fn_set_status
314
315# as_fn_exit STATUS
316# -----------------
317# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
318as_fn_exit ()
319{
320  set +e
321  as_fn_set_status $1
322  exit $1
323} # as_fn_exit
324# as_fn_nop
325# ---------
326# Do nothing but, unlike ":", preserve the value of $?.
327as_fn_nop ()
328{
329  return $?
330}
331as_nop=as_fn_nop
332
333# as_fn_mkdir_p
334# -------------
335# Create "$as_dir" as a directory, including parents if necessary.
336as_fn_mkdir_p ()
337{
338
339  case $as_dir in #(
340  -*) as_dir=./$as_dir;;
341  esac
342  test -d "$as_dir" || eval $as_mkdir_p || {
343    as_dirs=
344    while :; do
345      case $as_dir in #(
346      *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
347      *) as_qdir=$as_dir;;
348      esac
349      as_dirs="'$as_qdir' $as_dirs"
350      as_dir=`$as_dirname -- "$as_dir" ||
351$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
352	 X"$as_dir" : 'X\(//\)[^/]' \| \
353	 X"$as_dir" : 'X\(//\)$' \| \
354	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
355printf "%s\n" X"$as_dir" |
356    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
357	    s//\1/
358	    q
359	  }
360	  /^X\(\/\/\)[^/].*/{
361	    s//\1/
362	    q
363	  }
364	  /^X\(\/\/\)$/{
365	    s//\1/
366	    q
367	  }
368	  /^X\(\/\).*/{
369	    s//\1/
370	    q
371	  }
372	  s/.*/./; q'`
373      test -d "$as_dir" && break
374    done
375    test -z "$as_dirs" || eval "mkdir $as_dirs"
376  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
377
378
379} # as_fn_mkdir_p
380
381# as_fn_executable_p FILE
382# -----------------------
383# Test if FILE is an executable regular file.
384as_fn_executable_p ()
385{
386  test -f "$1" && test -x "$1"
387} # as_fn_executable_p
388# as_fn_append VAR VALUE
389# ----------------------
390# Append the text in VALUE to the end of the definition contained in VAR. Take
391# advantage of any shell optimizations that allow amortized linear growth over
392# repeated appends, instead of the typical quadratic growth present in naive
393# implementations.
394if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
395then :
396  eval 'as_fn_append ()
397  {
398    eval $1+=\$2
399  }'
400else $as_nop
401  as_fn_append ()
402  {
403    eval $1=\$$1\$2
404  }
405fi # as_fn_append
406
407# as_fn_arith ARG...
408# ------------------
409# Perform arithmetic evaluation on the ARGs, and store the result in the
410# global $as_val. Take advantage of shells that can avoid forks. The arguments
411# must be portable across $(()) and expr.
412if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
413then :
414  eval 'as_fn_arith ()
415  {
416    as_val=$(( $* ))
417  }'
418else $as_nop
419  as_fn_arith ()
420  {
421    as_val=`expr "$@" || test $? -eq 1`
422  }
423fi # as_fn_arith
424
425# as_fn_nop
426# ---------
427# Do nothing but, unlike ":", preserve the value of $?.
428as_fn_nop ()
429{
430  return $?
431}
432as_nop=as_fn_nop
433
434# as_fn_error STATUS ERROR [LINENO LOG_FD]
435# ----------------------------------------
436# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
437# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
438# script with STATUS, using 1 if that was 0.
439as_fn_error ()
440{
441  as_status=$1; test $as_status -eq 0 && as_status=1
442  if test "$4"; then
443    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
444    printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
445  fi
446  printf "%s\n" "$as_me: error: $2" >&2
447  as_fn_exit $as_status
448} # as_fn_error
449
450if expr a : '\(a\)' >/dev/null 2>&1 &&
451   test "X`expr 00001 : '.*\(...\)'`" = X001; then
452  as_expr=expr
453else
454  as_expr=false
455fi
456
457if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
458  as_basename=basename
459else
460  as_basename=false
461fi
462
463if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
464  as_dirname=dirname
465else
466  as_dirname=false
467fi
468
469as_me=`$as_basename -- "$0" ||
470$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
471	 X"$0" : 'X\(//\)$' \| \
472	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
473printf "%s\n" X/"$0" |
474    sed '/^.*\/\([^/][^/]*\)\/*$/{
475	    s//\1/
476	    q
477	  }
478	  /^X\/\(\/\/\)$/{
479	    s//\1/
480	    q
481	  }
482	  /^X\/\(\/\).*/{
483	    s//\1/
484	    q
485	  }
486	  s/.*/./; q'`
487
488# Avoid depending upon Character Ranges.
489as_cr_letters='abcdefghijklmnopqrstuvwxyz'
490as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
491as_cr_Letters=$as_cr_letters$as_cr_LETTERS
492as_cr_digits='0123456789'
493as_cr_alnum=$as_cr_Letters$as_cr_digits
494
495
496  as_lineno_1=$LINENO as_lineno_1a=$LINENO
497  as_lineno_2=$LINENO as_lineno_2a=$LINENO
498  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
499  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
500  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
501  sed -n '
502    p
503    /[$]LINENO/=
504  ' <$as_myself |
505    sed '
506      s/[$]LINENO.*/&-/
507      t lineno
508      b
509      :lineno
510      N
511      :loop
512      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
513      t loop
514      s/-\n.*//
515    ' >$as_me.lineno &&
516  chmod +x "$as_me.lineno" ||
517    { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
518
519  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
520  # already done that, so ensure we don't try to do so again and fall
521  # in an infinite loop.  This has already happened in practice.
522  _as_can_reexec=no; export _as_can_reexec
523  # Don't try to exec as it changes $[0], causing all sort of problems
524  # (the dirname of $[0] is not the place where we might find the
525  # original and so on.  Autoconf is especially sensitive to this).
526  . "./$as_me.lineno"
527  # Exit status is that of the last command.
528  exit
529}
530
531
532# Determine whether it's possible to make 'echo' print without a newline.
533# These variables are no longer used directly by Autoconf, but are AC_SUBSTed
534# for compatibility with existing Makefiles.
535ECHO_C= ECHO_N= ECHO_T=
536case `echo -n x` in #(((((
537-n*)
538  case `echo 'xy\c'` in
539  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
540  xy)  ECHO_C='\c';;
541  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
542       ECHO_T='	';;
543  esac;;
544*)
545  ECHO_N='-n';;
546esac
547
548# For backward compatibility with old third-party macros, we provide
549# the shell variables $as_echo and $as_echo_n.  New code should use
550# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
551as_echo='printf %s\n'
552as_echo_n='printf %s'
553
554
555rm -f conf$$ conf$$.exe conf$$.file
556if test -d conf$$.dir; then
557  rm -f conf$$.dir/conf$$.file
558else
559  rm -f conf$$.dir
560  mkdir conf$$.dir 2>/dev/null
561fi
562if (echo >conf$$.file) 2>/dev/null; then
563  if ln -s conf$$.file conf$$ 2>/dev/null; then
564    as_ln_s='ln -s'
565    # ... but there are two gotchas:
566    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
567    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
568    # In both cases, we have to default to `cp -pR'.
569    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
570      as_ln_s='cp -pR'
571  elif ln conf$$.file conf$$ 2>/dev/null; then
572    as_ln_s=ln
573  else
574    as_ln_s='cp -pR'
575  fi
576else
577  as_ln_s='cp -pR'
578fi
579rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
580rmdir conf$$.dir 2>/dev/null
581
582if mkdir -p . 2>/dev/null; then
583  as_mkdir_p='mkdir -p "$as_dir"'
584else
585  test -d ./-p && rmdir ./-p
586  as_mkdir_p=false
587fi
588
589as_test_x='test -x'
590as_executable_p=as_fn_executable_p
591
592# Sed expression to map a string onto a valid CPP name.
593as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
594
595# Sed expression to map a string onto a valid variable name.
596as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
597
598SHELL=${CONFIG_SHELL-/bin/sh}
599
600
601test -n "$DJDIR" || exec 7<&0 </dev/null
602exec 6>&1
603
604# Name of the host.
605# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
606# so uname gets run too.
607ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
608
609#
610# Initializations.
611#
612ac_default_prefix=/usr/local
613ac_clean_files=
614ac_config_libobj_dir=.
615LIBOBJS=
616cross_compiling=no
617subdirs=
618MFLAGS=
619MAKEFLAGS=
620
621# Identity of this package.
622PACKAGE_NAME='expat'
623PACKAGE_TARNAME='expat'
624PACKAGE_VERSION='2.4.6'
625PACKAGE_STRING='expat 2.4.6'
626PACKAGE_BUGREPORT='expat-bugs@libexpat.org'
627PACKAGE_URL=''
628
629ac_unique_file="Makefile.in"
630# Factoring default headers for most tests.
631ac_includes_default="\
632#include <stddef.h>
633#ifdef HAVE_STDIO_H
634# include <stdio.h>
635#endif
636#ifdef HAVE_STDLIB_H
637# include <stdlib.h>
638#endif
639#ifdef HAVE_STRING_H
640# include <string.h>
641#endif
642#ifdef HAVE_INTTYPES_H
643# include <inttypes.h>
644#endif
645#ifdef HAVE_STDINT_H
646# include <stdint.h>
647#endif
648#ifdef HAVE_STRINGS_H
649# include <strings.h>
650#endif
651#ifdef HAVE_SYS_TYPES_H
652# include <sys/types.h>
653#endif
654#ifdef HAVE_SYS_STAT_H
655# include <sys/stat.h>
656#endif
657#ifdef HAVE_UNISTD_H
658# include <unistd.h>
659#endif"
660
661ac_header_c_list=
662ac_func_c_list=
663ac_subst_vars='am__EXEEXT_FALSE
664am__EXEEXT_TRUE
665LTLIBOBJS
666LIBOBJS
667CMAKE_SHARED_LIBRARY_PREFIX
668AM_LDFLAGS
669AM_CXXFLAGS
670AM_CFLAGS
671AM_CPPFLAGS
672ac_cv_sizeof_void_p
673SO_PATCH
674SO_MINOR
675SO_MAJOR
676LIBDIR_BASENAME
677EXPAT_CHAR_TYPE
678EXPAT_CONTEXT_BYTES
679EXPAT_NS
680EXPAT_MIN_SIZE
681EXPAT_LARGE_SIZE
682EXPAT_DTD
683EXPAT_ATTR_INFO
684WITH_DOCBOOK_FALSE
685WITH_DOCBOOK_TRUE
686DOCBOOK_TO_MAN
687FILEMAP
688LIBM
689_INTERNAL_LARGE_SIZE_FALSE
690_INTERNAL_LARGE_SIZE_TRUE
691_INTERNAL_MIN_SIZE_FALSE
692_INTERNAL_MIN_SIZE_TRUE
693_INTERNAL_UNICODE_WCHAR_T_FALSE
694_INTERNAL_UNICODE_WCHAR_T_TRUE
695UNICODE_FALSE
696UNICODE_TRUE
697MINGW_FALSE
698MINGW_TRUE
699WITH_TESTS_FALSE
700WITH_TESTS_TRUE
701WITH_EXAMPLES_FALSE
702WITH_EXAMPLES_TRUE
703WITH_XMLWF_FALSE
704WITH_XMLWF_TRUE
705CXXCPP
706am__fastdepCXX_FALSE
707am__fastdepCXX_TRUE
708CXXDEPMODE
709ac_ct_CXX
710CXXFLAGS
711CXX
712LIBAGE
713LIBREVISION
714LIBCURRENT
715LT_SYS_LIBRARY_PATH
716OTOOL64
717OTOOL
718LIPO
719NMEDIT
720DSYMUTIL
721MANIFEST_TOOL
722RANLIB
723NM
724ac_ct_DUMPBIN
725DUMPBIN
726LD
727FGREP
728EGREP
729GREP
730SED
731LIBTOOL
732OBJDUMP
733DLLTOOL
734AS
735LN_S
736am__fastdepCC_FALSE
737am__fastdepCC_TRUE
738CCDEPMODE
739am__nodep
740AMDEPBACKSLASH
741AMDEP_FALSE
742AMDEP_TRUE
743am__include
744DEPDIR
745OBJEXT
746EXEEXT
747ac_ct_CC
748CPPFLAGS
749LDFLAGS
750CFLAGS
751CC
752ac_ct_AR
753AR
754AM_BACKSLASH
755AM_DEFAULT_VERBOSITY
756AM_DEFAULT_V
757AM_V
758CSCOPE
759ETAGS
760CTAGS
761am__untar
762am__tar
763AMTAR
764am__leading_dot
765SET_MAKE
766AWK
767mkdir_p
768MKDIR_P
769INSTALL_STRIP_PROGRAM
770STRIP
771install_sh
772MAKEINFO
773AUTOHEADER
774AUTOMAKE
775AUTOCONF
776ACLOCAL
777VERSION
778PACKAGE
779CYGPATH_W
780am__isrc
781INSTALL_DATA
782INSTALL_SCRIPT
783INSTALL_PROGRAM
784host_os
785host_vendor
786host_cpu
787host
788build_os
789build_vendor
790build_cpu
791build
792target_alias
793host_alias
794build_alias
795LIBS
796ECHO_T
797ECHO_N
798ECHO_C
799DEFS
800mandir
801localedir
802libdir
803psdir
804pdfdir
805dvidir
806htmldir
807infodir
808docdir
809oldincludedir
810includedir
811runstatedir
812localstatedir
813sharedstatedir
814sysconfdir
815datadir
816datarootdir
817libexecdir
818sbindir
819bindir
820program_transform_name
821prefix
822exec_prefix
823PACKAGE_URL
824PACKAGE_BUGREPORT
825PACKAGE_STRING
826PACKAGE_VERSION
827PACKAGE_TARNAME
828PACKAGE_NAME
829PATH_SEPARATOR
830SHELL
831am__quote'
832ac_subst_files='PACKAGE_INIT'
833ac_user_opts='
834enable_option_checking
835enable_silent_rules
836enable_dependency_tracking
837enable_shared
838enable_static
839with_pic
840enable_fast_install
841with_aix_soname
842with_gnu_ld
843with_sysroot
844enable_libtool_lock
845with_xmlwf
846with_examples
847with_tests
848with_libbsd
849with_getrandom
850with_sys_getrandom
851enable_xml_attr_info
852enable_xml_context
853with_docbook
854'
855      ac_precious_vars='build_alias
856host_alias
857target_alias
858CC
859CFLAGS
860LDFLAGS
861LIBS
862CPPFLAGS
863LT_SYS_LIBRARY_PATH
864CXX
865CXXFLAGS
866CCC
867CXXCPP
868DOCBOOK_TO_MAN'
869
870
871# Initialize some variables set by options.
872ac_init_help=
873ac_init_version=false
874ac_unrecognized_opts=
875ac_unrecognized_sep=
876# The variables have the same names as the options, with
877# dashes changed to underlines.
878cache_file=/dev/null
879exec_prefix=NONE
880no_create=
881no_recursion=
882prefix=NONE
883program_prefix=NONE
884program_suffix=NONE
885program_transform_name=s,x,x,
886silent=
887site=
888srcdir=
889verbose=
890x_includes=NONE
891x_libraries=NONE
892
893# Installation directory options.
894# These are left unexpanded so users can "make install exec_prefix=/foo"
895# and all the variables that are supposed to be based on exec_prefix
896# by default will actually change.
897# Use braces instead of parens because sh, perl, etc. also accept them.
898# (The list follows the same order as the GNU Coding Standards.)
899bindir='${exec_prefix}/bin'
900sbindir='${exec_prefix}/sbin'
901libexecdir='${exec_prefix}/libexec'
902datarootdir='${prefix}/share'
903datadir='${datarootdir}'
904sysconfdir='${prefix}/etc'
905sharedstatedir='${prefix}/com'
906localstatedir='${prefix}/var'
907runstatedir='${localstatedir}/run'
908includedir='${prefix}/include'
909oldincludedir='/usr/include'
910docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
911infodir='${datarootdir}/info'
912htmldir='${docdir}'
913dvidir='${docdir}'
914pdfdir='${docdir}'
915psdir='${docdir}'
916libdir='${exec_prefix}/lib'
917localedir='${datarootdir}/locale'
918mandir='${datarootdir}/man'
919
920ac_prev=
921ac_dashdash=
922for ac_option
923do
924  # If the previous option needs an argument, assign it.
925  if test -n "$ac_prev"; then
926    eval $ac_prev=\$ac_option
927    ac_prev=
928    continue
929  fi
930
931  case $ac_option in
932  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
933  *=)   ac_optarg= ;;
934  *)    ac_optarg=yes ;;
935  esac
936
937  case $ac_dashdash$ac_option in
938  --)
939    ac_dashdash=yes ;;
940
941  -bindir | --bindir | --bindi | --bind | --bin | --bi)
942    ac_prev=bindir ;;
943  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
944    bindir=$ac_optarg ;;
945
946  -build | --build | --buil | --bui | --bu)
947    ac_prev=build_alias ;;
948  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
949    build_alias=$ac_optarg ;;
950
951  -cache-file | --cache-file | --cache-fil | --cache-fi \
952  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
953    ac_prev=cache_file ;;
954  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
955  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
956    cache_file=$ac_optarg ;;
957
958  --config-cache | -C)
959    cache_file=config.cache ;;
960
961  -datadir | --datadir | --datadi | --datad)
962    ac_prev=datadir ;;
963  -datadir=* | --datadir=* | --datadi=* | --datad=*)
964    datadir=$ac_optarg ;;
965
966  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
967  | --dataroo | --dataro | --datar)
968    ac_prev=datarootdir ;;
969  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
970  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
971    datarootdir=$ac_optarg ;;
972
973  -disable-* | --disable-*)
974    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
975    # Reject names that are not valid shell variable names.
976    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
977      as_fn_error $? "invalid feature name: \`$ac_useropt'"
978    ac_useropt_orig=$ac_useropt
979    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
980    case $ac_user_opts in
981      *"
982"enable_$ac_useropt"
983"*) ;;
984      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
985	 ac_unrecognized_sep=', ';;
986    esac
987    eval enable_$ac_useropt=no ;;
988
989  -docdir | --docdir | --docdi | --doc | --do)
990    ac_prev=docdir ;;
991  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
992    docdir=$ac_optarg ;;
993
994  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
995    ac_prev=dvidir ;;
996  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
997    dvidir=$ac_optarg ;;
998
999  -enable-* | --enable-*)
1000    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1001    # Reject names that are not valid shell variable names.
1002    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1003      as_fn_error $? "invalid feature name: \`$ac_useropt'"
1004    ac_useropt_orig=$ac_useropt
1005    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1006    case $ac_user_opts in
1007      *"
1008"enable_$ac_useropt"
1009"*) ;;
1010      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1011	 ac_unrecognized_sep=', ';;
1012    esac
1013    eval enable_$ac_useropt=\$ac_optarg ;;
1014
1015  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1016  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1017  | --exec | --exe | --ex)
1018    ac_prev=exec_prefix ;;
1019  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1020  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1021  | --exec=* | --exe=* | --ex=*)
1022    exec_prefix=$ac_optarg ;;
1023
1024  -gas | --gas | --ga | --g)
1025    # Obsolete; use --with-gas.
1026    with_gas=yes ;;
1027
1028  -help | --help | --hel | --he | -h)
1029    ac_init_help=long ;;
1030  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1031    ac_init_help=recursive ;;
1032  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1033    ac_init_help=short ;;
1034
1035  -host | --host | --hos | --ho)
1036    ac_prev=host_alias ;;
1037  -host=* | --host=* | --hos=* | --ho=*)
1038    host_alias=$ac_optarg ;;
1039
1040  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1041    ac_prev=htmldir ;;
1042  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1043  | --ht=*)
1044    htmldir=$ac_optarg ;;
1045
1046  -includedir | --includedir | --includedi | --included | --include \
1047  | --includ | --inclu | --incl | --inc)
1048    ac_prev=includedir ;;
1049  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1050  | --includ=* | --inclu=* | --incl=* | --inc=*)
1051    includedir=$ac_optarg ;;
1052
1053  -infodir | --infodir | --infodi | --infod | --info | --inf)
1054    ac_prev=infodir ;;
1055  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1056    infodir=$ac_optarg ;;
1057
1058  -libdir | --libdir | --libdi | --libd)
1059    ac_prev=libdir ;;
1060  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1061    libdir=$ac_optarg ;;
1062
1063  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1064  | --libexe | --libex | --libe)
1065    ac_prev=libexecdir ;;
1066  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1067  | --libexe=* | --libex=* | --libe=*)
1068    libexecdir=$ac_optarg ;;
1069
1070  -localedir | --localedir | --localedi | --localed | --locale)
1071    ac_prev=localedir ;;
1072  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1073    localedir=$ac_optarg ;;
1074
1075  -localstatedir | --localstatedir | --localstatedi | --localstated \
1076  | --localstate | --localstat | --localsta | --localst | --locals)
1077    ac_prev=localstatedir ;;
1078  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1079  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1080    localstatedir=$ac_optarg ;;
1081
1082  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1083    ac_prev=mandir ;;
1084  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1085    mandir=$ac_optarg ;;
1086
1087  -nfp | --nfp | --nf)
1088    # Obsolete; use --without-fp.
1089    with_fp=no ;;
1090
1091  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1092  | --no-cr | --no-c | -n)
1093    no_create=yes ;;
1094
1095  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1096  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1097    no_recursion=yes ;;
1098
1099  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1100  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1101  | --oldin | --oldi | --old | --ol | --o)
1102    ac_prev=oldincludedir ;;
1103  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1104  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1105  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1106    oldincludedir=$ac_optarg ;;
1107
1108  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1109    ac_prev=prefix ;;
1110  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1111    prefix=$ac_optarg ;;
1112
1113  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1114  | --program-pre | --program-pr | --program-p)
1115    ac_prev=program_prefix ;;
1116  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1117  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1118    program_prefix=$ac_optarg ;;
1119
1120  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1121  | --program-suf | --program-su | --program-s)
1122    ac_prev=program_suffix ;;
1123  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1124  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1125    program_suffix=$ac_optarg ;;
1126
1127  -program-transform-name | --program-transform-name \
1128  | --program-transform-nam | --program-transform-na \
1129  | --program-transform-n | --program-transform- \
1130  | --program-transform | --program-transfor \
1131  | --program-transfo | --program-transf \
1132  | --program-trans | --program-tran \
1133  | --progr-tra | --program-tr | --program-t)
1134    ac_prev=program_transform_name ;;
1135  -program-transform-name=* | --program-transform-name=* \
1136  | --program-transform-nam=* | --program-transform-na=* \
1137  | --program-transform-n=* | --program-transform-=* \
1138  | --program-transform=* | --program-transfor=* \
1139  | --program-transfo=* | --program-transf=* \
1140  | --program-trans=* | --program-tran=* \
1141  | --progr-tra=* | --program-tr=* | --program-t=*)
1142    program_transform_name=$ac_optarg ;;
1143
1144  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1145    ac_prev=pdfdir ;;
1146  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1147    pdfdir=$ac_optarg ;;
1148
1149  -psdir | --psdir | --psdi | --psd | --ps)
1150    ac_prev=psdir ;;
1151  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1152    psdir=$ac_optarg ;;
1153
1154  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1155  | -silent | --silent | --silen | --sile | --sil)
1156    silent=yes ;;
1157
1158  -runstatedir | --runstatedir | --runstatedi | --runstated \
1159  | --runstate | --runstat | --runsta | --runst | --runs \
1160  | --run | --ru | --r)
1161    ac_prev=runstatedir ;;
1162  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1163  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1164  | --run=* | --ru=* | --r=*)
1165    runstatedir=$ac_optarg ;;
1166
1167  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1168    ac_prev=sbindir ;;
1169  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1170  | --sbi=* | --sb=*)
1171    sbindir=$ac_optarg ;;
1172
1173  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1174  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1175  | --sharedst | --shareds | --shared | --share | --shar \
1176  | --sha | --sh)
1177    ac_prev=sharedstatedir ;;
1178  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1179  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1180  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1181  | --sha=* | --sh=*)
1182    sharedstatedir=$ac_optarg ;;
1183
1184  -site | --site | --sit)
1185    ac_prev=site ;;
1186  -site=* | --site=* | --sit=*)
1187    site=$ac_optarg ;;
1188
1189  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1190    ac_prev=srcdir ;;
1191  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1192    srcdir=$ac_optarg ;;
1193
1194  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1195  | --syscon | --sysco | --sysc | --sys | --sy)
1196    ac_prev=sysconfdir ;;
1197  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1198  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1199    sysconfdir=$ac_optarg ;;
1200
1201  -target | --target | --targe | --targ | --tar | --ta | --t)
1202    ac_prev=target_alias ;;
1203  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1204    target_alias=$ac_optarg ;;
1205
1206  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1207    verbose=yes ;;
1208
1209  -version | --version | --versio | --versi | --vers | -V)
1210    ac_init_version=: ;;
1211
1212  -with-* | --with-*)
1213    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
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=`printf "%s\n" "$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--with-$ac_useropt_orig"
1224	 ac_unrecognized_sep=', ';;
1225    esac
1226    eval with_$ac_useropt=\$ac_optarg ;;
1227
1228  -without-* | --without-*)
1229    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1230    # Reject names that are not valid shell variable names.
1231    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1232      as_fn_error $? "invalid package name: \`$ac_useropt'"
1233    ac_useropt_orig=$ac_useropt
1234    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1235    case $ac_user_opts in
1236      *"
1237"with_$ac_useropt"
1238"*) ;;
1239      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1240	 ac_unrecognized_sep=', ';;
1241    esac
1242    eval with_$ac_useropt=no ;;
1243
1244  --x)
1245    # Obsolete; use --with-x.
1246    with_x=yes ;;
1247
1248  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1249  | --x-incl | --x-inc | --x-in | --x-i)
1250    ac_prev=x_includes ;;
1251  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1252  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1253    x_includes=$ac_optarg ;;
1254
1255  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1256  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1257    ac_prev=x_libraries ;;
1258  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1259  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1260    x_libraries=$ac_optarg ;;
1261
1262  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1263Try \`$0 --help' for more information"
1264    ;;
1265
1266  *=*)
1267    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1268    # Reject names that are not valid shell variable names.
1269    case $ac_envvar in #(
1270      '' | [0-9]* | *[!_$as_cr_alnum]* )
1271      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1272    esac
1273    eval $ac_envvar=\$ac_optarg
1274    export $ac_envvar ;;
1275
1276  *)
1277    # FIXME: should be removed in autoconf 3.0.
1278    printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1279    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1280      printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1281    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1282    ;;
1283
1284  esac
1285done
1286
1287if test -n "$ac_prev"; then
1288  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1289  as_fn_error $? "missing argument to $ac_option"
1290fi
1291
1292if test -n "$ac_unrecognized_opts"; then
1293  case $enable_option_checking in
1294    no) ;;
1295    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1296    *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1297  esac
1298fi
1299
1300# Check all directory arguments for consistency.
1301for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1302		datadir sysconfdir sharedstatedir localstatedir includedir \
1303		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1304		libdir localedir mandir runstatedir
1305do
1306  eval ac_val=\$$ac_var
1307  # Remove trailing slashes.
1308  case $ac_val in
1309    */ )
1310      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1311      eval $ac_var=\$ac_val;;
1312  esac
1313  # Be sure to have absolute directory names.
1314  case $ac_val in
1315    [\\/$]* | ?:[\\/]* )  continue;;
1316    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1317  esac
1318  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1319done
1320
1321# There might be people who depend on the old broken behavior: `$host'
1322# used to hold the argument of --host etc.
1323# FIXME: To remove some day.
1324build=$build_alias
1325host=$host_alias
1326target=$target_alias
1327
1328# FIXME: To remove some day.
1329if test "x$host_alias" != x; then
1330  if test "x$build_alias" = x; then
1331    cross_compiling=maybe
1332  elif test "x$build_alias" != "x$host_alias"; then
1333    cross_compiling=yes
1334  fi
1335fi
1336
1337ac_tool_prefix=
1338test -n "$host_alias" && ac_tool_prefix=$host_alias-
1339
1340test "$silent" = yes && exec 6>/dev/null
1341
1342
1343ac_pwd=`pwd` && test -n "$ac_pwd" &&
1344ac_ls_di=`ls -di .` &&
1345ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1346  as_fn_error $? "working directory cannot be determined"
1347test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1348  as_fn_error $? "pwd does not report name of working directory"
1349
1350
1351# Find the source files, if location was not specified.
1352if test -z "$srcdir"; then
1353  ac_srcdir_defaulted=yes
1354  # Try the directory containing this script, then the parent directory.
1355  ac_confdir=`$as_dirname -- "$as_myself" ||
1356$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1357	 X"$as_myself" : 'X\(//\)[^/]' \| \
1358	 X"$as_myself" : 'X\(//\)$' \| \
1359	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1360printf "%s\n" X"$as_myself" |
1361    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1362	    s//\1/
1363	    q
1364	  }
1365	  /^X\(\/\/\)[^/].*/{
1366	    s//\1/
1367	    q
1368	  }
1369	  /^X\(\/\/\)$/{
1370	    s//\1/
1371	    q
1372	  }
1373	  /^X\(\/\).*/{
1374	    s//\1/
1375	    q
1376	  }
1377	  s/.*/./; q'`
1378  srcdir=$ac_confdir
1379  if test ! -r "$srcdir/$ac_unique_file"; then
1380    srcdir=..
1381  fi
1382else
1383  ac_srcdir_defaulted=no
1384fi
1385if test ! -r "$srcdir/$ac_unique_file"; then
1386  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1387  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1388fi
1389ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1390ac_abs_confdir=`(
1391	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1392	pwd)`
1393# When building in place, set srcdir=.
1394if test "$ac_abs_confdir" = "$ac_pwd"; then
1395  srcdir=.
1396fi
1397# Remove unnecessary trailing slashes from srcdir.
1398# Double slashes in file names in object file debugging info
1399# mess up M-x gdb in Emacs.
1400case $srcdir in
1401*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1402esac
1403for ac_var in $ac_precious_vars; do
1404  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1405  eval ac_env_${ac_var}_value=\$${ac_var}
1406  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1407  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1408done
1409
1410#
1411# Report the --help message.
1412#
1413if test "$ac_init_help" = "long"; then
1414  # Omit some internal or obsolete options to make the list less imposing.
1415  # This message is too long to be a string in the A/UX 3.1 sh.
1416  cat <<_ACEOF
1417\`configure' configures expat 2.4.6 to adapt to many kinds of systems.
1418
1419Usage: $0 [OPTION]... [VAR=VALUE]...
1420
1421To assign environment variables (e.g., CC, CFLAGS...), specify them as
1422VAR=VALUE.  See below for descriptions of some of the useful variables.
1423
1424Defaults for the options are specified in brackets.
1425
1426Configuration:
1427  -h, --help              display this help and exit
1428      --help=short        display options specific to this package
1429      --help=recursive    display the short help of all the included packages
1430  -V, --version           display version information and exit
1431  -q, --quiet, --silent   do not print \`checking ...' messages
1432      --cache-file=FILE   cache test results in FILE [disabled]
1433  -C, --config-cache      alias for \`--cache-file=config.cache'
1434  -n, --no-create         do not create output files
1435      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1436
1437Installation directories:
1438  --prefix=PREFIX         install architecture-independent files in PREFIX
1439                          [$ac_default_prefix]
1440  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1441                          [PREFIX]
1442
1443By default, \`make install' will install all the files in
1444\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1445an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1446for instance \`--prefix=\$HOME'.
1447
1448For better control, use the options below.
1449
1450Fine tuning of the installation directories:
1451  --bindir=DIR            user executables [EPREFIX/bin]
1452  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1453  --libexecdir=DIR        program executables [EPREFIX/libexec]
1454  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1455  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1456  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1457  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1458  --libdir=DIR            object code libraries [EPREFIX/lib]
1459  --includedir=DIR        C header files [PREFIX/include]
1460  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1461  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1462  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1463  --infodir=DIR           info documentation [DATAROOTDIR/info]
1464  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1465  --mandir=DIR            man documentation [DATAROOTDIR/man]
1466  --docdir=DIR            documentation root [DATAROOTDIR/doc/expat]
1467  --htmldir=DIR           html documentation [DOCDIR]
1468  --dvidir=DIR            dvi documentation [DOCDIR]
1469  --pdfdir=DIR            pdf documentation [DOCDIR]
1470  --psdir=DIR             ps documentation [DOCDIR]
1471_ACEOF
1472
1473  cat <<\_ACEOF
1474
1475Program names:
1476  --program-prefix=PREFIX            prepend PREFIX to installed program names
1477  --program-suffix=SUFFIX            append SUFFIX to installed program names
1478  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1479
1480System types:
1481  --build=BUILD     configure for building on BUILD [guessed]
1482  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1483_ACEOF
1484fi
1485
1486if test -n "$ac_init_help"; then
1487  case $ac_init_help in
1488     short | recursive ) echo "Configuration of expat 2.4.6:";;
1489   esac
1490  cat <<\_ACEOF
1491
1492Optional Features:
1493  --disable-option-checking  ignore unrecognized --enable/--with options
1494  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1495  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1496  --enable-silent-rules   less verbose build output (undo: "make V=1")
1497  --disable-silent-rules  verbose build output (undo: "make V=0")
1498  --enable-dependency-tracking
1499                          do not reject slow dependency extractors
1500  --disable-dependency-tracking
1501                          speeds up one-time build
1502  --enable-shared[=PKGS]  build shared libraries [default=yes]
1503  --enable-static[=PKGS]  build static libraries [default=yes]
1504  --enable-fast-install[=PKGS]
1505                          optimize for fast installation [default=yes]
1506  --disable-libtool-lock  avoid locking (might break parallel builds)
1507  --enable-xml-attr-info  Enable retrieving the byte offsets for attribute
1508                          names and values [default=no]
1509  --enable-xml-context [COUNT]
1510                          Retain context around the current parse point;
1511                          default is enabled and a size of 1024 bytes
1512  --disable-xml-context   Do not retain context around the current parse point
1513
1514Optional Packages:
1515  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1516  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1517  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1518                          both]
1519  --with-aix-soname=aix|svr4|both
1520                          shared library versioning (aka "SONAME") variant to
1521                          provide on AIX, [default=aix].
1522  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1523  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1524                          compiler's sysroot if not specified).
1525  --without-xmlwf         do not build xmlwf
1526  --without-examples      do not build examples [default=included]
1527  --without-tests         do not build tests [default=included]
1528  --with-libbsd           utilize libbsd (for arc4random_buf)
1529  --with-getrandom        enforce the use of getrandom function in the system
1530                          [default=check]
1531  --without-getrandom     skip auto detect of getrandom [default=check]
1532  --with-sys-getrandom    enforce the use of syscall SYS_getrandom function in
1533                          the system [default=check]
1534  --without-sys-getrandom skip auto detect of syscall SYS_getrandom
1535                          [default=check]
1536  --with-docbook          enforce XML to man page compilation [default=check]
1537  --without-docbook       skip XML to man page compilation [default=check]
1538
1539Some influential environment variables:
1540  CC          C compiler command
1541  CFLAGS      C compiler flags
1542  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1543              nonstandard directory <lib dir>
1544  LIBS        libraries to pass to the linker, e.g. -l<library>
1545  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1546              you have headers in a nonstandard directory <include dir>
1547  LT_SYS_LIBRARY_PATH
1548              User-defined run-time library search path.
1549  CXX         C++ compiler command
1550  CXXFLAGS    C++ compiler flags
1551  CXXCPP      C++ preprocessor
1552  DOCBOOK_TO_MAN
1553              docbook2x-man command
1554
1555Use these variables to override the choices made by `configure' or to help
1556it to find libraries and programs with nonstandard names/locations.
1557
1558Report bugs to <expat-bugs@libexpat.org>.
1559_ACEOF
1560ac_status=$?
1561fi
1562
1563if test "$ac_init_help" = "recursive"; then
1564  # If there are subdirs, report their specific --help.
1565  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1566    test -d "$ac_dir" ||
1567      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1568      continue
1569    ac_builddir=.
1570
1571case "$ac_dir" in
1572.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1573*)
1574  ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1575  # A ".." for each directory in $ac_dir_suffix.
1576  ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1577  case $ac_top_builddir_sub in
1578  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1579  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1580  esac ;;
1581esac
1582ac_abs_top_builddir=$ac_pwd
1583ac_abs_builddir=$ac_pwd$ac_dir_suffix
1584# for backward compatibility:
1585ac_top_builddir=$ac_top_build_prefix
1586
1587case $srcdir in
1588  .)  # We are building in place.
1589    ac_srcdir=.
1590    ac_top_srcdir=$ac_top_builddir_sub
1591    ac_abs_top_srcdir=$ac_pwd ;;
1592  [\\/]* | ?:[\\/]* )  # Absolute name.
1593    ac_srcdir=$srcdir$ac_dir_suffix;
1594    ac_top_srcdir=$srcdir
1595    ac_abs_top_srcdir=$srcdir ;;
1596  *) # Relative name.
1597    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1598    ac_top_srcdir=$ac_top_build_prefix$srcdir
1599    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1600esac
1601ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1602
1603    cd "$ac_dir" || { ac_status=$?; continue; }
1604    # Check for configure.gnu first; this name is used for a wrapper for
1605    # Metaconfig's "Configure" on case-insensitive file systems.
1606    if test -f "$ac_srcdir/configure.gnu"; then
1607      echo &&
1608      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1609    elif test -f "$ac_srcdir/configure"; then
1610      echo &&
1611      $SHELL "$ac_srcdir/configure" --help=recursive
1612    else
1613      printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1614    fi || ac_status=$?
1615    cd "$ac_pwd" || { ac_status=$?; break; }
1616  done
1617fi
1618
1619test -n "$ac_init_help" && exit $ac_status
1620if $ac_init_version; then
1621  cat <<\_ACEOF
1622expat configure 2.4.6
1623generated by GNU Autoconf 2.71
1624
1625Copyright (C) 2021 Free Software Foundation, Inc.
1626This configure script is free software; the Free Software Foundation
1627gives unlimited permission to copy, distribute and modify it.
1628_ACEOF
1629  exit
1630fi
1631
1632## ------------------------ ##
1633## Autoconf initialization. ##
1634## ------------------------ ##
1635
1636# ac_fn_c_try_compile LINENO
1637# --------------------------
1638# Try to compile conftest.$ac_ext, and return whether this succeeded.
1639ac_fn_c_try_compile ()
1640{
1641  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1642  rm -f conftest.$ac_objext conftest.beam
1643  if { { ac_try="$ac_compile"
1644case "(($ac_try" in
1645  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1646  *) ac_try_echo=$ac_try;;
1647esac
1648eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1649printf "%s\n" "$ac_try_echo"; } >&5
1650  (eval "$ac_compile") 2>conftest.err
1651  ac_status=$?
1652  if test -s conftest.err; then
1653    grep -v '^ *+' conftest.err >conftest.er1
1654    cat conftest.er1 >&5
1655    mv -f conftest.er1 conftest.err
1656  fi
1657  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1658  test $ac_status = 0; } && {
1659	 test -z "$ac_c_werror_flag" ||
1660	 test ! -s conftest.err
1661       } && test -s conftest.$ac_objext
1662then :
1663  ac_retval=0
1664else $as_nop
1665  printf "%s\n" "$as_me: failed program was:" >&5
1666sed 's/^/| /' conftest.$ac_ext >&5
1667
1668	ac_retval=1
1669fi
1670  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1671  as_fn_set_status $ac_retval
1672
1673} # ac_fn_c_try_compile
1674
1675# ac_fn_c_try_link LINENO
1676# -----------------------
1677# Try to link conftest.$ac_ext, and return whether this succeeded.
1678ac_fn_c_try_link ()
1679{
1680  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1681  rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
1682  if { { ac_try="$ac_link"
1683case "(($ac_try" in
1684  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1685  *) ac_try_echo=$ac_try;;
1686esac
1687eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1688printf "%s\n" "$ac_try_echo"; } >&5
1689  (eval "$ac_link") 2>conftest.err
1690  ac_status=$?
1691  if test -s conftest.err; then
1692    grep -v '^ *+' conftest.err >conftest.er1
1693    cat conftest.er1 >&5
1694    mv -f conftest.er1 conftest.err
1695  fi
1696  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1697  test $ac_status = 0; } && {
1698	 test -z "$ac_c_werror_flag" ||
1699	 test ! -s conftest.err
1700       } && test -s conftest$ac_exeext && {
1701	 test "$cross_compiling" = yes ||
1702	 test -x conftest$ac_exeext
1703       }
1704then :
1705  ac_retval=0
1706else $as_nop
1707  printf "%s\n" "$as_me: failed program was:" >&5
1708sed 's/^/| /' conftest.$ac_ext >&5
1709
1710	ac_retval=1
1711fi
1712  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1713  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1714  # interfere with the next link command; also delete a directory that is
1715  # left behind by Apple's compiler.  We do this before executing the actions.
1716  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1717  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1718  as_fn_set_status $ac_retval
1719
1720} # ac_fn_c_try_link
1721
1722# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1723# -------------------------------------------------------
1724# Tests whether HEADER exists and can be compiled using the include files in
1725# INCLUDES, setting the cache variable VAR accordingly.
1726ac_fn_c_check_header_compile ()
1727{
1728  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1729  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1730printf %s "checking for $2... " >&6; }
1731if eval test \${$3+y}
1732then :
1733  printf %s "(cached) " >&6
1734else $as_nop
1735  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1736/* end confdefs.h.  */
1737$4
1738#include <$2>
1739_ACEOF
1740if ac_fn_c_try_compile "$LINENO"
1741then :
1742  eval "$3=yes"
1743else $as_nop
1744  eval "$3=no"
1745fi
1746rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1747fi
1748eval ac_res=\$$3
1749	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1750printf "%s\n" "$ac_res" >&6; }
1751  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1752
1753} # ac_fn_c_check_header_compile
1754
1755# ac_fn_c_check_func LINENO FUNC VAR
1756# ----------------------------------
1757# Tests whether FUNC exists, setting the cache variable VAR accordingly
1758ac_fn_c_check_func ()
1759{
1760  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1761  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1762printf %s "checking for $2... " >&6; }
1763if eval test \${$3+y}
1764then :
1765  printf %s "(cached) " >&6
1766else $as_nop
1767  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1768/* end confdefs.h.  */
1769/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1770   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1771#define $2 innocuous_$2
1772
1773/* System header to define __stub macros and hopefully few prototypes,
1774   which can conflict with char $2 (); below.  */
1775
1776#include <limits.h>
1777#undef $2
1778
1779/* Override any GCC internal prototype to avoid an error.
1780   Use char because int might match the return type of a GCC
1781   builtin and then its argument prototype would still apply.  */
1782#ifdef __cplusplus
1783extern "C"
1784#endif
1785char $2 ();
1786/* The GNU C library defines this for functions which it implements
1787    to always fail with ENOSYS.  Some functions are actually named
1788    something starting with __ and the normal name is an alias.  */
1789#if defined __stub_$2 || defined __stub___$2
1790choke me
1791#endif
1792
1793int
1794main (void)
1795{
1796return $2 ();
1797  ;
1798  return 0;
1799}
1800_ACEOF
1801if ac_fn_c_try_link "$LINENO"
1802then :
1803  eval "$3=yes"
1804else $as_nop
1805  eval "$3=no"
1806fi
1807rm -f core conftest.err conftest.$ac_objext conftest.beam \
1808    conftest$ac_exeext conftest.$ac_ext
1809fi
1810eval ac_res=\$$3
1811	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1812printf "%s\n" "$ac_res" >&6; }
1813  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1814
1815} # ac_fn_c_check_func
1816
1817# ac_fn_cxx_try_compile LINENO
1818# ----------------------------
1819# Try to compile conftest.$ac_ext, and return whether this succeeded.
1820ac_fn_cxx_try_compile ()
1821{
1822  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1823  rm -f conftest.$ac_objext conftest.beam
1824  if { { ac_try="$ac_compile"
1825case "(($ac_try" in
1826  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1827  *) ac_try_echo=$ac_try;;
1828esac
1829eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1830printf "%s\n" "$ac_try_echo"; } >&5
1831  (eval "$ac_compile") 2>conftest.err
1832  ac_status=$?
1833  if test -s conftest.err; then
1834    grep -v '^ *+' conftest.err >conftest.er1
1835    cat conftest.er1 >&5
1836    mv -f conftest.er1 conftest.err
1837  fi
1838  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1839  test $ac_status = 0; } && {
1840	 test -z "$ac_cxx_werror_flag" ||
1841	 test ! -s conftest.err
1842       } && test -s conftest.$ac_objext
1843then :
1844  ac_retval=0
1845else $as_nop
1846  printf "%s\n" "$as_me: failed program was:" >&5
1847sed 's/^/| /' conftest.$ac_ext >&5
1848
1849	ac_retval=1
1850fi
1851  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1852  as_fn_set_status $ac_retval
1853
1854} # ac_fn_cxx_try_compile
1855
1856# ac_fn_cxx_try_cpp LINENO
1857# ------------------------
1858# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1859ac_fn_cxx_try_cpp ()
1860{
1861  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1862  if { { ac_try="$ac_cpp conftest.$ac_ext"
1863case "(($ac_try" in
1864  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1865  *) ac_try_echo=$ac_try;;
1866esac
1867eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1868printf "%s\n" "$ac_try_echo"; } >&5
1869  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1870  ac_status=$?
1871  if test -s conftest.err; then
1872    grep -v '^ *+' conftest.err >conftest.er1
1873    cat conftest.er1 >&5
1874    mv -f conftest.er1 conftest.err
1875  fi
1876  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1877  test $ac_status = 0; } > conftest.i && {
1878	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1879	 test ! -s conftest.err
1880       }
1881then :
1882  ac_retval=0
1883else $as_nop
1884  printf "%s\n" "$as_me: failed program was:" >&5
1885sed 's/^/| /' conftest.$ac_ext >&5
1886
1887    ac_retval=1
1888fi
1889  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1890  as_fn_set_status $ac_retval
1891
1892} # ac_fn_cxx_try_cpp
1893
1894# ac_fn_cxx_try_link LINENO
1895# -------------------------
1896# Try to link conftest.$ac_ext, and return whether this succeeded.
1897ac_fn_cxx_try_link ()
1898{
1899  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1900  rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
1901  if { { ac_try="$ac_link"
1902case "(($ac_try" in
1903  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1904  *) ac_try_echo=$ac_try;;
1905esac
1906eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1907printf "%s\n" "$ac_try_echo"; } >&5
1908  (eval "$ac_link") 2>conftest.err
1909  ac_status=$?
1910  if test -s conftest.err; then
1911    grep -v '^ *+' conftest.err >conftest.er1
1912    cat conftest.er1 >&5
1913    mv -f conftest.er1 conftest.err
1914  fi
1915  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1916  test $ac_status = 0; } && {
1917	 test -z "$ac_cxx_werror_flag" ||
1918	 test ! -s conftest.err
1919       } && test -s conftest$ac_exeext && {
1920	 test "$cross_compiling" = yes ||
1921	 test -x conftest$ac_exeext
1922       }
1923then :
1924  ac_retval=0
1925else $as_nop
1926  printf "%s\n" "$as_me: failed program was:" >&5
1927sed 's/^/| /' conftest.$ac_ext >&5
1928
1929	ac_retval=1
1930fi
1931  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1932  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1933  # interfere with the next link command; also delete a directory that is
1934  # left behind by Apple's compiler.  We do this before executing the actions.
1935  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1936  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1937  as_fn_set_status $ac_retval
1938
1939} # ac_fn_cxx_try_link
1940
1941# ac_fn_c_try_run LINENO
1942# ----------------------
1943# Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that
1944# executables *can* be run.
1945ac_fn_c_try_run ()
1946{
1947  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1948  if { { ac_try="$ac_link"
1949case "(($ac_try" in
1950  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1951  *) ac_try_echo=$ac_try;;
1952esac
1953eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1954printf "%s\n" "$ac_try_echo"; } >&5
1955  (eval "$ac_link") 2>&5
1956  ac_status=$?
1957  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1958  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1959  { { case "(($ac_try" in
1960  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1961  *) ac_try_echo=$ac_try;;
1962esac
1963eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1964printf "%s\n" "$ac_try_echo"; } >&5
1965  (eval "$ac_try") 2>&5
1966  ac_status=$?
1967  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1968  test $ac_status = 0; }; }
1969then :
1970  ac_retval=0
1971else $as_nop
1972  printf "%s\n" "$as_me: program exited with status $ac_status" >&5
1973       printf "%s\n" "$as_me: failed program was:" >&5
1974sed 's/^/| /' conftest.$ac_ext >&5
1975
1976       ac_retval=$ac_status
1977fi
1978  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1979  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1980  as_fn_set_status $ac_retval
1981
1982} # ac_fn_c_try_run
1983
1984# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1985# -------------------------------------------
1986# Tests whether TYPE exists after having included INCLUDES, setting cache
1987# variable VAR accordingly.
1988ac_fn_c_check_type ()
1989{
1990  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1991  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1992printf %s "checking for $2... " >&6; }
1993if eval test \${$3+y}
1994then :
1995  printf %s "(cached) " >&6
1996else $as_nop
1997  eval "$3=no"
1998  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1999/* end confdefs.h.  */
2000$4
2001int
2002main (void)
2003{
2004if (sizeof ($2))
2005	 return 0;
2006  ;
2007  return 0;
2008}
2009_ACEOF
2010if ac_fn_c_try_compile "$LINENO"
2011then :
2012  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2013/* end confdefs.h.  */
2014$4
2015int
2016main (void)
2017{
2018if (sizeof (($2)))
2019	    return 0;
2020  ;
2021  return 0;
2022}
2023_ACEOF
2024if ac_fn_c_try_compile "$LINENO"
2025then :
2026
2027else $as_nop
2028  eval "$3=yes"
2029fi
2030rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2031fi
2032rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2033fi
2034eval ac_res=\$$3
2035	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2036printf "%s\n" "$ac_res" >&6; }
2037  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2038
2039} # ac_fn_c_check_type
2040
2041# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2042# --------------------------------------------
2043# Tries to find the compile-time value of EXPR in a program that includes
2044# INCLUDES, setting VAR accordingly. Returns whether the value could be
2045# computed
2046ac_fn_c_compute_int ()
2047{
2048  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2049  if test "$cross_compiling" = yes; then
2050    # Depending upon the size, compute the lo and hi bounds.
2051cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2052/* end confdefs.h.  */
2053$4
2054int
2055main (void)
2056{
2057static int test_array [1 - 2 * !(($2) >= 0)];
2058test_array [0] = 0;
2059return test_array [0];
2060
2061  ;
2062  return 0;
2063}
2064_ACEOF
2065if ac_fn_c_try_compile "$LINENO"
2066then :
2067  ac_lo=0 ac_mid=0
2068  while :; do
2069    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2070/* end confdefs.h.  */
2071$4
2072int
2073main (void)
2074{
2075static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2076test_array [0] = 0;
2077return test_array [0];
2078
2079  ;
2080  return 0;
2081}
2082_ACEOF
2083if ac_fn_c_try_compile "$LINENO"
2084then :
2085  ac_hi=$ac_mid; break
2086else $as_nop
2087  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2088			if test $ac_lo -le $ac_mid; then
2089			  ac_lo= ac_hi=
2090			  break
2091			fi
2092			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2093fi
2094rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2095  done
2096else $as_nop
2097  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2098/* end confdefs.h.  */
2099$4
2100int
2101main (void)
2102{
2103static int test_array [1 - 2 * !(($2) < 0)];
2104test_array [0] = 0;
2105return test_array [0];
2106
2107  ;
2108  return 0;
2109}
2110_ACEOF
2111if ac_fn_c_try_compile "$LINENO"
2112then :
2113  ac_hi=-1 ac_mid=-1
2114  while :; do
2115    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2116/* end confdefs.h.  */
2117$4
2118int
2119main (void)
2120{
2121static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2122test_array [0] = 0;
2123return test_array [0];
2124
2125  ;
2126  return 0;
2127}
2128_ACEOF
2129if ac_fn_c_try_compile "$LINENO"
2130then :
2131  ac_lo=$ac_mid; break
2132else $as_nop
2133  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2134			if test $ac_mid -le $ac_hi; then
2135			  ac_lo= ac_hi=
2136			  break
2137			fi
2138			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2139fi
2140rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2141  done
2142else $as_nop
2143  ac_lo= ac_hi=
2144fi
2145rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2146fi
2147rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2148# Binary search between lo and hi bounds.
2149while test "x$ac_lo" != "x$ac_hi"; do
2150  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2151  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2152/* end confdefs.h.  */
2153$4
2154int
2155main (void)
2156{
2157static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2158test_array [0] = 0;
2159return test_array [0];
2160
2161  ;
2162  return 0;
2163}
2164_ACEOF
2165if ac_fn_c_try_compile "$LINENO"
2166then :
2167  ac_hi=$ac_mid
2168else $as_nop
2169  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2170fi
2171rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2172done
2173case $ac_lo in #((
2174?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2175'') ac_retval=1 ;;
2176esac
2177  else
2178    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2179/* end confdefs.h.  */
2180$4
2181static long int longval (void) { return $2; }
2182static unsigned long int ulongval (void) { return $2; }
2183#include <stdio.h>
2184#include <stdlib.h>
2185int
2186main (void)
2187{
2188
2189  FILE *f = fopen ("conftest.val", "w");
2190  if (! f)
2191    return 1;
2192  if (($2) < 0)
2193    {
2194      long int i = longval ();
2195      if (i != ($2))
2196	return 1;
2197      fprintf (f, "%ld", i);
2198    }
2199  else
2200    {
2201      unsigned long int i = ulongval ();
2202      if (i != ($2))
2203	return 1;
2204      fprintf (f, "%lu", i);
2205    }
2206  /* Do not output a trailing newline, as this causes \r\n confusion
2207     on some platforms.  */
2208  return ferror (f) || fclose (f) != 0;
2209
2210  ;
2211  return 0;
2212}
2213_ACEOF
2214if ac_fn_c_try_run "$LINENO"
2215then :
2216  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2217else $as_nop
2218  ac_retval=1
2219fi
2220rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2221  conftest.$ac_objext conftest.beam conftest.$ac_ext
2222rm -f conftest.val
2223
2224  fi
2225  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2226  as_fn_set_status $ac_retval
2227
2228} # ac_fn_c_compute_int
2229ac_configure_args_raw=
2230for ac_arg
2231do
2232  case $ac_arg in
2233  *\'*)
2234    ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2235  esac
2236  as_fn_append ac_configure_args_raw " '$ac_arg'"
2237done
2238
2239case $ac_configure_args_raw in
2240  *$as_nl*)
2241    ac_safe_unquote= ;;
2242  *)
2243    ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
2244    ac_unsafe_a="$ac_unsafe_z#~"
2245    ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
2246    ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
2247esac
2248
2249cat >config.log <<_ACEOF
2250This file contains any messages produced by compilers while
2251running configure, to aid debugging if configure makes a mistake.
2252
2253It was created by expat $as_me 2.4.6, which was
2254generated by GNU Autoconf 2.71.  Invocation command line was
2255
2256  $ $0$ac_configure_args_raw
2257
2258_ACEOF
2259exec 5>>config.log
2260{
2261cat <<_ASUNAME
2262## --------- ##
2263## Platform. ##
2264## --------- ##
2265
2266hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2267uname -m = `(uname -m) 2>/dev/null || echo unknown`
2268uname -r = `(uname -r) 2>/dev/null || echo unknown`
2269uname -s = `(uname -s) 2>/dev/null || echo unknown`
2270uname -v = `(uname -v) 2>/dev/null || echo unknown`
2271
2272/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2273/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2274
2275/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2276/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2277/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2278/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2279/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2280/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2281/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2282
2283_ASUNAME
2284
2285as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2286for as_dir in $PATH
2287do
2288  IFS=$as_save_IFS
2289  case $as_dir in #(((
2290    '') as_dir=./ ;;
2291    */) ;;
2292    *) as_dir=$as_dir/ ;;
2293  esac
2294    printf "%s\n" "PATH: $as_dir"
2295  done
2296IFS=$as_save_IFS
2297
2298} >&5
2299
2300cat >&5 <<_ACEOF
2301
2302
2303## ----------- ##
2304## Core tests. ##
2305## ----------- ##
2306
2307_ACEOF
2308
2309
2310# Keep a trace of the command line.
2311# Strip out --no-create and --no-recursion so they do not pile up.
2312# Strip out --silent because we don't want to record it for future runs.
2313# Also quote any args containing shell meta-characters.
2314# Make two passes to allow for proper duplicate-argument suppression.
2315ac_configure_args=
2316ac_configure_args0=
2317ac_configure_args1=
2318ac_must_keep_next=false
2319for ac_pass in 1 2
2320do
2321  for ac_arg
2322  do
2323    case $ac_arg in
2324    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2325    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2326    | -silent | --silent | --silen | --sile | --sil)
2327      continue ;;
2328    *\'*)
2329      ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2330    esac
2331    case $ac_pass in
2332    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2333    2)
2334      as_fn_append ac_configure_args1 " '$ac_arg'"
2335      if test $ac_must_keep_next = true; then
2336	ac_must_keep_next=false # Got value, back to normal.
2337      else
2338	case $ac_arg in
2339	  *=* | --config-cache | -C | -disable-* | --disable-* \
2340	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2341	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2342	  | -with-* | --with-* | -without-* | --without-* | --x)
2343	    case "$ac_configure_args0 " in
2344	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2345	    esac
2346	    ;;
2347	  -* ) ac_must_keep_next=true ;;
2348	esac
2349      fi
2350      as_fn_append ac_configure_args " '$ac_arg'"
2351      ;;
2352    esac
2353  done
2354done
2355{ ac_configure_args0=; unset ac_configure_args0;}
2356{ ac_configure_args1=; unset ac_configure_args1;}
2357
2358# When interrupted or exit'd, cleanup temporary files, and complete
2359# config.log.  We remove comments because anyway the quotes in there
2360# would cause problems or look ugly.
2361# WARNING: Use '\'' to represent an apostrophe within the trap.
2362# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2363trap 'exit_status=$?
2364  # Sanitize IFS.
2365  IFS=" ""	$as_nl"
2366  # Save into config.log some information that might help in debugging.
2367  {
2368    echo
2369
2370    printf "%s\n" "## ---------------- ##
2371## Cache variables. ##
2372## ---------------- ##"
2373    echo
2374    # The following way of writing the cache mishandles newlines in values,
2375(
2376  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2377    eval ac_val=\$$ac_var
2378    case $ac_val in #(
2379    *${as_nl}*)
2380      case $ac_var in #(
2381      *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2382printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2383      esac
2384      case $ac_var in #(
2385      _ | IFS | as_nl) ;; #(
2386      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2387      *) { eval $ac_var=; unset $ac_var;} ;;
2388      esac ;;
2389    esac
2390  done
2391  (set) 2>&1 |
2392    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2393    *${as_nl}ac_space=\ *)
2394      sed -n \
2395	"s/'\''/'\''\\\\'\'''\''/g;
2396	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2397      ;; #(
2398    *)
2399      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2400      ;;
2401    esac |
2402    sort
2403)
2404    echo
2405
2406    printf "%s\n" "## ----------------- ##
2407## Output variables. ##
2408## ----------------- ##"
2409    echo
2410    for ac_var in $ac_subst_vars
2411    do
2412      eval ac_val=\$$ac_var
2413      case $ac_val in
2414      *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2415      esac
2416      printf "%s\n" "$ac_var='\''$ac_val'\''"
2417    done | sort
2418    echo
2419
2420    if test -n "$ac_subst_files"; then
2421      printf "%s\n" "## ------------------- ##
2422## File substitutions. ##
2423## ------------------- ##"
2424      echo
2425      for ac_var in $ac_subst_files
2426      do
2427	eval ac_val=\$$ac_var
2428	case $ac_val in
2429	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2430	esac
2431	printf "%s\n" "$ac_var='\''$ac_val'\''"
2432      done | sort
2433      echo
2434    fi
2435
2436    if test -s confdefs.h; then
2437      printf "%s\n" "## ----------- ##
2438## confdefs.h. ##
2439## ----------- ##"
2440      echo
2441      cat confdefs.h
2442      echo
2443    fi
2444    test "$ac_signal" != 0 &&
2445      printf "%s\n" "$as_me: caught signal $ac_signal"
2446    printf "%s\n" "$as_me: exit $exit_status"
2447  } >&5
2448  rm -f core *.core core.conftest.* &&
2449    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2450    exit $exit_status
2451' 0
2452for ac_signal in 1 2 13 15; do
2453  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2454done
2455ac_signal=0
2456
2457# confdefs.h avoids OS command line length limits that DEFS can exceed.
2458rm -f -r conftest* confdefs.h
2459
2460printf "%s\n" "/* confdefs.h */" > confdefs.h
2461
2462# Predefined preprocessor variables.
2463
2464printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
2465
2466printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
2467
2468printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
2469
2470printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
2471
2472printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
2473
2474printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
2475
2476
2477# Let the site file select an alternate cache file if it wants to.
2478# Prefer an explicitly selected file to automatically selected ones.
2479if test -n "$CONFIG_SITE"; then
2480  ac_site_files="$CONFIG_SITE"
2481elif test "x$prefix" != xNONE; then
2482  ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
2483else
2484  ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
2485fi
2486
2487for ac_site_file in $ac_site_files
2488do
2489  case $ac_site_file in #(
2490  */*) :
2491     ;; #(
2492  *) :
2493    ac_site_file=./$ac_site_file ;;
2494esac
2495  if test -f "$ac_site_file" && test -r "$ac_site_file"; then
2496    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2497printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
2498    sed 's/^/| /' "$ac_site_file" >&5
2499    . "$ac_site_file" \
2500      || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2501printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2502as_fn_error $? "failed to load site script $ac_site_file
2503See \`config.log' for more details" "$LINENO" 5; }
2504  fi
2505done
2506
2507if test -r "$cache_file"; then
2508  # Some versions of bash will fail to source /dev/null (special files
2509  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2510  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2511    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2512printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
2513    case $cache_file in
2514      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2515      *)                      . "./$cache_file";;
2516    esac
2517  fi
2518else
2519  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2520printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
2521  >$cache_file
2522fi
2523
2524# Test code for whether the C compiler supports C89 (global declarations)
2525ac_c_conftest_c89_globals='
2526/* Does the compiler advertise C89 conformance?
2527   Do not test the value of __STDC__, because some compilers set it to 0
2528   while being otherwise adequately conformant. */
2529#if !defined __STDC__
2530# error "Compiler does not advertise C89 conformance"
2531#endif
2532
2533#include <stddef.h>
2534#include <stdarg.h>
2535struct stat;
2536/* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
2537struct buf { int x; };
2538struct buf * (*rcsopen) (struct buf *, struct stat *, int);
2539static char *e (p, i)
2540     char **p;
2541     int i;
2542{
2543  return p[i];
2544}
2545static char *f (char * (*g) (char **, int), char **p, ...)
2546{
2547  char *s;
2548  va_list v;
2549  va_start (v,p);
2550  s = g (p, va_arg (v,int));
2551  va_end (v);
2552  return s;
2553}
2554
2555/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2556   function prototypes and stuff, but not \xHH hex character constants.
2557   These do not provoke an error unfortunately, instead are silently treated
2558   as an "x".  The following induces an error, until -std is added to get
2559   proper ANSI mode.  Curiously \x00 != x always comes out true, for an
2560   array size at least.  It is necessary to write \x00 == 0 to get something
2561   that is true only with -std.  */
2562int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
2563
2564/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2565   inside strings and character constants.  */
2566#define FOO(x) '\''x'\''
2567int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
2568
2569int test (int i, double x);
2570struct s1 {int (*f) (int a);};
2571struct s2 {int (*f) (double a);};
2572int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
2573               int, int);'
2574
2575# Test code for whether the C compiler supports C89 (body of main).
2576ac_c_conftest_c89_main='
2577ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
2578'
2579
2580# Test code for whether the C compiler supports C99 (global declarations)
2581ac_c_conftest_c99_globals='
2582// Does the compiler advertise C99 conformance?
2583#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
2584# error "Compiler does not advertise C99 conformance"
2585#endif
2586
2587#include <stdbool.h>
2588extern int puts (const char *);
2589extern int printf (const char *, ...);
2590extern int dprintf (int, const char *, ...);
2591extern void *malloc (size_t);
2592
2593// Check varargs macros.  These examples are taken from C99 6.10.3.5.
2594// dprintf is used instead of fprintf to avoid needing to declare
2595// FILE and stderr.
2596#define debug(...) dprintf (2, __VA_ARGS__)
2597#define showlist(...) puts (#__VA_ARGS__)
2598#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
2599static void
2600test_varargs_macros (void)
2601{
2602  int x = 1234;
2603  int y = 5678;
2604  debug ("Flag");
2605  debug ("X = %d\n", x);
2606  showlist (The first, second, and third items.);
2607  report (x>y, "x is %d but y is %d", x, y);
2608}
2609
2610// Check long long types.
2611#define BIG64 18446744073709551615ull
2612#define BIG32 4294967295ul
2613#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
2614#if !BIG_OK
2615  #error "your preprocessor is broken"
2616#endif
2617#if BIG_OK
2618#else
2619  #error "your preprocessor is broken"
2620#endif
2621static long long int bignum = -9223372036854775807LL;
2622static unsigned long long int ubignum = BIG64;
2623
2624struct incomplete_array
2625{
2626  int datasize;
2627  double data[];
2628};
2629
2630struct named_init {
2631  int number;
2632  const wchar_t *name;
2633  double average;
2634};
2635
2636typedef const char *ccp;
2637
2638static inline int
2639test_restrict (ccp restrict text)
2640{
2641  // See if C++-style comments work.
2642  // Iterate through items via the restricted pointer.
2643  // Also check for declarations in for loops.
2644  for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
2645    continue;
2646  return 0;
2647}
2648
2649// Check varargs and va_copy.
2650static bool
2651test_varargs (const char *format, ...)
2652{
2653  va_list args;
2654  va_start (args, format);
2655  va_list args_copy;
2656  va_copy (args_copy, args);
2657
2658  const char *str = "";
2659  int number = 0;
2660  float fnumber = 0;
2661
2662  while (*format)
2663    {
2664      switch (*format++)
2665	{
2666	case '\''s'\'': // string
2667	  str = va_arg (args_copy, const char *);
2668	  break;
2669	case '\''d'\'': // int
2670	  number = va_arg (args_copy, int);
2671	  break;
2672	case '\''f'\'': // float
2673	  fnumber = va_arg (args_copy, double);
2674	  break;
2675	default:
2676	  break;
2677	}
2678    }
2679  va_end (args_copy);
2680  va_end (args);
2681
2682  return *str && number && fnumber;
2683}
2684'
2685
2686# Test code for whether the C compiler supports C99 (body of main).
2687ac_c_conftest_c99_main='
2688  // Check bool.
2689  _Bool success = false;
2690  success |= (argc != 0);
2691
2692  // Check restrict.
2693  if (test_restrict ("String literal") == 0)
2694    success = true;
2695  char *restrict newvar = "Another string";
2696
2697  // Check varargs.
2698  success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
2699  test_varargs_macros ();
2700
2701  // Check flexible array members.
2702  struct incomplete_array *ia =
2703    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
2704  ia->datasize = 10;
2705  for (int i = 0; i < ia->datasize; ++i)
2706    ia->data[i] = i * 1.234;
2707
2708  // Check named initializers.
2709  struct named_init ni = {
2710    .number = 34,
2711    .name = L"Test wide string",
2712    .average = 543.34343,
2713  };
2714
2715  ni.number = 58;
2716
2717  int dynamic_array[ni.number];
2718  dynamic_array[0] = argv[0][0];
2719  dynamic_array[ni.number - 1] = 543;
2720
2721  // work around unused variable warnings
2722  ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
2723	 || dynamic_array[ni.number - 1] != 543);
2724'
2725
2726# Test code for whether the C compiler supports C11 (global declarations)
2727ac_c_conftest_c11_globals='
2728// Does the compiler advertise C11 conformance?
2729#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
2730# error "Compiler does not advertise C11 conformance"
2731#endif
2732
2733// Check _Alignas.
2734char _Alignas (double) aligned_as_double;
2735char _Alignas (0) no_special_alignment;
2736extern char aligned_as_int;
2737char _Alignas (0) _Alignas (int) aligned_as_int;
2738
2739// Check _Alignof.
2740enum
2741{
2742  int_alignment = _Alignof (int),
2743  int_array_alignment = _Alignof (int[100]),
2744  char_alignment = _Alignof (char)
2745};
2746_Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2747
2748// Check _Noreturn.
2749int _Noreturn does_not_return (void) { for (;;) continue; }
2750
2751// Check _Static_assert.
2752struct test_static_assert
2753{
2754  int x;
2755  _Static_assert (sizeof (int) <= sizeof (long int),
2756                  "_Static_assert does not work in struct");
2757  long int y;
2758};
2759
2760// Check UTF-8 literals.
2761#define u8 syntax error!
2762char const utf8_literal[] = u8"happens to be ASCII" "another string";
2763
2764// Check duplicate typedefs.
2765typedef long *long_ptr;
2766typedef long int *long_ptr;
2767typedef long_ptr long_ptr;
2768
2769// Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2770struct anonymous
2771{
2772  union {
2773    struct { int i; int j; };
2774    struct { int k; long int l; } w;
2775  };
2776  int m;
2777} v1;
2778'
2779
2780# Test code for whether the C compiler supports C11 (body of main).
2781ac_c_conftest_c11_main='
2782  _Static_assert ((offsetof (struct anonymous, i)
2783		   == offsetof (struct anonymous, w.k)),
2784		  "Anonymous union alignment botch");
2785  v1.i = 2;
2786  v1.w.k = 5;
2787  ok |= v1.i != 5;
2788'
2789
2790# Test code for whether the C compiler supports C11 (complete).
2791ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
2792${ac_c_conftest_c99_globals}
2793${ac_c_conftest_c11_globals}
2794
2795int
2796main (int argc, char **argv)
2797{
2798  int ok = 0;
2799  ${ac_c_conftest_c89_main}
2800  ${ac_c_conftest_c99_main}
2801  ${ac_c_conftest_c11_main}
2802  return ok;
2803}
2804"
2805
2806# Test code for whether the C compiler supports C99 (complete).
2807ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
2808${ac_c_conftest_c99_globals}
2809
2810int
2811main (int argc, char **argv)
2812{
2813  int ok = 0;
2814  ${ac_c_conftest_c89_main}
2815  ${ac_c_conftest_c99_main}
2816  return ok;
2817}
2818"
2819
2820# Test code for whether the C compiler supports C89 (complete).
2821ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
2822
2823int
2824main (int argc, char **argv)
2825{
2826  int ok = 0;
2827  ${ac_c_conftest_c89_main}
2828  return ok;
2829}
2830"
2831
2832as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
2833as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
2834as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
2835as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
2836as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
2837as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
2838as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
2839as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
2840as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
2841# Test code for whether the C++ compiler supports C++98 (global declarations)
2842ac_cxx_conftest_cxx98_globals='
2843// Does the compiler advertise C++98 conformance?
2844#if !defined __cplusplus || __cplusplus < 199711L
2845# error "Compiler does not advertise C++98 conformance"
2846#endif
2847
2848// These inclusions are to reject old compilers that
2849// lack the unsuffixed header files.
2850#include <cstdlib>
2851#include <exception>
2852
2853// <cassert> and <cstring> are *not* freestanding headers in C++98.
2854extern void assert (int);
2855namespace std {
2856  extern int strcmp (const char *, const char *);
2857}
2858
2859// Namespaces, exceptions, and templates were all added after "C++ 2.0".
2860using std::exception;
2861using std::strcmp;
2862
2863namespace {
2864
2865void test_exception_syntax()
2866{
2867  try {
2868    throw "test";
2869  } catch (const char *s) {
2870    // Extra parentheses suppress a warning when building autoconf itself,
2871    // due to lint rules shared with more typical C programs.
2872    assert (!(strcmp) (s, "test"));
2873  }
2874}
2875
2876template <typename T> struct test_template
2877{
2878  T const val;
2879  explicit test_template(T t) : val(t) {}
2880  template <typename U> T add(U u) { return static_cast<T>(u) + val; }
2881};
2882
2883} // anonymous namespace
2884'
2885
2886# Test code for whether the C++ compiler supports C++98 (body of main)
2887ac_cxx_conftest_cxx98_main='
2888  assert (argc);
2889  assert (! argv[0]);
2890{
2891  test_exception_syntax ();
2892  test_template<double> tt (2.0);
2893  assert (tt.add (4) == 6.0);
2894  assert (true && !false);
2895}
2896'
2897
2898# Test code for whether the C++ compiler supports C++11 (global declarations)
2899ac_cxx_conftest_cxx11_globals='
2900// Does the compiler advertise C++ 2011 conformance?
2901#if !defined __cplusplus || __cplusplus < 201103L
2902# error "Compiler does not advertise C++11 conformance"
2903#endif
2904
2905namespace cxx11test
2906{
2907  constexpr int get_val() { return 20; }
2908
2909  struct testinit
2910  {
2911    int i;
2912    double d;
2913  };
2914
2915  class delegate
2916  {
2917  public:
2918    delegate(int n) : n(n) {}
2919    delegate(): delegate(2354) {}
2920
2921    virtual int getval() { return this->n; };
2922  protected:
2923    int n;
2924  };
2925
2926  class overridden : public delegate
2927  {
2928  public:
2929    overridden(int n): delegate(n) {}
2930    virtual int getval() override final { return this->n * 2; }
2931  };
2932
2933  class nocopy
2934  {
2935  public:
2936    nocopy(int i): i(i) {}
2937    nocopy() = default;
2938    nocopy(const nocopy&) = delete;
2939    nocopy & operator=(const nocopy&) = delete;
2940  private:
2941    int i;
2942  };
2943
2944  // for testing lambda expressions
2945  template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
2946  {
2947    return f(v);
2948  }
2949
2950  // for testing variadic templates and trailing return types
2951  template <typename V> auto sum(V first) -> V
2952  {
2953    return first;
2954  }
2955  template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
2956  {
2957    return first + sum(rest...);
2958  }
2959}
2960'
2961
2962# Test code for whether the C++ compiler supports C++11 (body of main)
2963ac_cxx_conftest_cxx11_main='
2964{
2965  // Test auto and decltype
2966  auto a1 = 6538;
2967  auto a2 = 48573953.4;
2968  auto a3 = "String literal";
2969
2970  int total = 0;
2971  for (auto i = a3; *i; ++i) { total += *i; }
2972
2973  decltype(a2) a4 = 34895.034;
2974}
2975{
2976  // Test constexpr
2977  short sa[cxx11test::get_val()] = { 0 };
2978}
2979{
2980  // Test initializer lists
2981  cxx11test::testinit il = { 4323, 435234.23544 };
2982}
2983{
2984  // Test range-based for
2985  int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
2986                 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
2987  for (auto &x : array) { x += 23; }
2988}
2989{
2990  // Test lambda expressions
2991  using cxx11test::eval;
2992  assert (eval ([](int x) { return x*2; }, 21) == 42);
2993  double d = 2.0;
2994  assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
2995  assert (d == 5.0);
2996  assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
2997  assert (d == 5.0);
2998}
2999{
3000  // Test use of variadic templates
3001  using cxx11test::sum;
3002  auto a = sum(1);
3003  auto b = sum(1, 2);
3004  auto c = sum(1.0, 2.0, 3.0);
3005}
3006{
3007  // Test constructor delegation
3008  cxx11test::delegate d1;
3009  cxx11test::delegate d2();
3010  cxx11test::delegate d3(45);
3011}
3012{
3013  // Test override and final
3014  cxx11test::overridden o1(55464);
3015}
3016{
3017  // Test nullptr
3018  char *c = nullptr;
3019}
3020{
3021  // Test template brackets
3022  test_template<::test_template<int>> v(test_template<int>(12));
3023}
3024{
3025  // Unicode literals
3026  char const *utf8 = u8"UTF-8 string \u2500";
3027  char16_t const *utf16 = u"UTF-8 string \u2500";
3028  char32_t const *utf32 = U"UTF-32 string \u2500";
3029}
3030'
3031
3032# Test code for whether the C compiler supports C++11 (complete).
3033ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3034${ac_cxx_conftest_cxx11_globals}
3035
3036int
3037main (int argc, char **argv)
3038{
3039  int ok = 0;
3040  ${ac_cxx_conftest_cxx98_main}
3041  ${ac_cxx_conftest_cxx11_main}
3042  return ok;
3043}
3044"
3045
3046# Test code for whether the C compiler supports C++98 (complete).
3047ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3048int
3049main (int argc, char **argv)
3050{
3051  int ok = 0;
3052  ${ac_cxx_conftest_cxx98_main}
3053  return ok;
3054}
3055"
3056
3057as_fn_append ac_header_c_list " sys/param.h sys_param_h HAVE_SYS_PARAM_H"
3058as_fn_append ac_func_c_list " getpagesize HAVE_GETPAGESIZE"
3059
3060# Auxiliary files required by this configure script.
3061ac_aux_files="ltmain.sh compile ar-lib missing install-sh config.guess config.sub"
3062
3063# Locations in which to look for auxiliary files.
3064ac_aux_dir_candidates="${srcdir}/conftools"
3065
3066# Search for a directory containing all of the required auxiliary files,
3067# $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3068# If we don't find one directory that contains all the files we need,
3069# we report the set of missing files from the *first* directory in
3070# $ac_aux_dir_candidates and give up.
3071ac_missing_aux_files=""
3072ac_first_candidate=:
3073printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3074as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3075as_found=false
3076for as_dir in $ac_aux_dir_candidates
3077do
3078  IFS=$as_save_IFS
3079  case $as_dir in #(((
3080    '') as_dir=./ ;;
3081    */) ;;
3082    *) as_dir=$as_dir/ ;;
3083  esac
3084  as_found=:
3085
3086  printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
3087  ac_aux_dir_found=yes
3088  ac_install_sh=
3089  for ac_aux in $ac_aux_files
3090  do
3091    # As a special case, if "install-sh" is required, that requirement
3092    # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3093    # and $ac_install_sh is set appropriately for whichever one is found.
3094    if test x"$ac_aux" = x"install-sh"
3095    then
3096      if test -f "${as_dir}install-sh"; then
3097        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
3098        ac_install_sh="${as_dir}install-sh -c"
3099      elif test -f "${as_dir}install.sh"; then
3100        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
3101        ac_install_sh="${as_dir}install.sh -c"
3102      elif test -f "${as_dir}shtool"; then
3103        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
3104        ac_install_sh="${as_dir}shtool install -c"
3105      else
3106        ac_aux_dir_found=no
3107        if $ac_first_candidate; then
3108          ac_missing_aux_files="${ac_missing_aux_files} install-sh"
3109        else
3110          break
3111        fi
3112      fi
3113    else
3114      if test -f "${as_dir}${ac_aux}"; then
3115        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
3116      else
3117        ac_aux_dir_found=no
3118        if $ac_first_candidate; then
3119          ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
3120        else
3121          break
3122        fi
3123      fi
3124    fi
3125  done
3126  if test "$ac_aux_dir_found" = yes; then
3127    ac_aux_dir="$as_dir"
3128    break
3129  fi
3130  ac_first_candidate=false
3131
3132  as_found=false
3133done
3134IFS=$as_save_IFS
3135if $as_found
3136then :
3137
3138else $as_nop
3139  as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
3140fi
3141
3142
3143# These three variables are undocumented and unsupported,
3144# and are intended to be withdrawn in a future Autoconf release.
3145# They can cause serious problems if a builder's source tree is in a directory
3146# whose full name contains unusual characters.
3147if test -f "${ac_aux_dir}config.guess"; then
3148  ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
3149fi
3150if test -f "${ac_aux_dir}config.sub"; then
3151  ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
3152fi
3153if test -f "$ac_aux_dir/configure"; then
3154  ac_configure="$SHELL ${ac_aux_dir}configure"
3155fi
3156
3157# Check that the precious variables saved in the cache have kept the same
3158# value.
3159ac_cache_corrupted=false
3160for ac_var in $ac_precious_vars; do
3161  eval ac_old_set=\$ac_cv_env_${ac_var}_set
3162  eval ac_new_set=\$ac_env_${ac_var}_set
3163  eval ac_old_val=\$ac_cv_env_${ac_var}_value
3164  eval ac_new_val=\$ac_env_${ac_var}_value
3165  case $ac_old_set,$ac_new_set in
3166    set,)
3167      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3168printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3169      ac_cache_corrupted=: ;;
3170    ,set)
3171      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3172printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3173      ac_cache_corrupted=: ;;
3174    ,);;
3175    *)
3176      if test "x$ac_old_val" != "x$ac_new_val"; then
3177	# differences in whitespace do not lead to failure.
3178	ac_old_val_w=`echo x $ac_old_val`
3179	ac_new_val_w=`echo x $ac_new_val`
3180	if test "$ac_old_val_w" != "$ac_new_val_w"; then
3181	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3182printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3183	  ac_cache_corrupted=:
3184	else
3185	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3186printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3187	  eval $ac_var=\$ac_old_val
3188	fi
3189	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
3190printf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
3191	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
3192printf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
3193      fi;;
3194  esac
3195  # Pass precious variables to config.status.
3196  if test "$ac_new_set" = set; then
3197    case $ac_new_val in
3198    *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3199    *) ac_arg=$ac_var=$ac_new_val ;;
3200    esac
3201    case " $ac_configure_args " in
3202      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
3203      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3204    esac
3205  fi
3206done
3207if $ac_cache_corrupted; then
3208  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3209printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3210  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3211printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
3212  as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
3213	    and start over" "$LINENO" 5
3214fi
3215## -------------------- ##
3216## Main body of script. ##
3217## -------------------- ##
3218
3219ac_ext=c
3220ac_cpp='$CPP $CPPFLAGS'
3221ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3222ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3223ac_compiler_gnu=$ac_cv_c_compiler_gnu
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234  # Make sure we can run config.sub.
3235$SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
3236  as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
3237
3238{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3239printf %s "checking build system type... " >&6; }
3240if test ${ac_cv_build+y}
3241then :
3242  printf %s "(cached) " >&6
3243else $as_nop
3244  ac_build_alias=$build_alias
3245test "x$ac_build_alias" = x &&
3246  ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
3247test "x$ac_build_alias" = x &&
3248  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3249ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
3250  as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
3251
3252fi
3253{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3254printf "%s\n" "$ac_cv_build" >&6; }
3255case $ac_cv_build in
3256*-*-*) ;;
3257*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3258esac
3259build=$ac_cv_build
3260ac_save_IFS=$IFS; IFS='-'
3261set x $ac_cv_build
3262shift
3263build_cpu=$1
3264build_vendor=$2
3265shift; shift
3266# Remember, the first character of IFS is used to create $*,
3267# except with old shells:
3268build_os=$*
3269IFS=$ac_save_IFS
3270case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3271
3272
3273{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3274printf %s "checking host system type... " >&6; }
3275if test ${ac_cv_host+y}
3276then :
3277  printf %s "(cached) " >&6
3278else $as_nop
3279  if test "x$host_alias" = x; then
3280  ac_cv_host=$ac_cv_build
3281else
3282  ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
3283    as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
3284fi
3285
3286fi
3287{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3288printf "%s\n" "$ac_cv_host" >&6; }
3289case $ac_cv_host in
3290*-*-*) ;;
3291*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3292esac
3293host=$ac_cv_host
3294ac_save_IFS=$IFS; IFS='-'
3295set x $ac_cv_host
3296shift
3297host_cpu=$1
3298host_vendor=$2
3299shift; shift
3300# Remember, the first character of IFS is used to create $*,
3301# except with old shells:
3302host_os=$*
3303IFS=$ac_save_IFS
3304case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3305
3306
3307am__api_version='1.16'
3308
3309
3310  # Find a good install program.  We prefer a C program (faster),
3311# so one script is as good as another.  But avoid the broken or
3312# incompatible versions:
3313# SysV /etc/install, /usr/sbin/install
3314# SunOS /usr/etc/install
3315# IRIX /sbin/install
3316# AIX /bin/install
3317# AmigaOS /C/install, which installs bootblocks on floppy discs
3318# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3319# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3320# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3321# OS/2's system install, which has a completely different semantic
3322# ./install, which can be erroneously created by make from ./install.sh.
3323# Reject install programs that cannot install multiple files.
3324{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3325printf %s "checking for a BSD-compatible install... " >&6; }
3326if test -z "$INSTALL"; then
3327if test ${ac_cv_path_install+y}
3328then :
3329  printf %s "(cached) " >&6
3330else $as_nop
3331  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3332for as_dir in $PATH
3333do
3334  IFS=$as_save_IFS
3335  case $as_dir in #(((
3336    '') as_dir=./ ;;
3337    */) ;;
3338    *) as_dir=$as_dir/ ;;
3339  esac
3340    # Account for fact that we put trailing slashes in our PATH walk.
3341case $as_dir in #((
3342  ./ | /[cC]/* | \
3343  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3344  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3345  /usr/ucb/* ) ;;
3346  *)
3347    # OSF1 and SCO ODT 3.0 have their own names for install.
3348    # Don't use installbsd from OSF since it installs stuff as root
3349    # by default.
3350    for ac_prog in ginstall scoinst install; do
3351      for ac_exec_ext in '' $ac_executable_extensions; do
3352	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
3353	  if test $ac_prog = install &&
3354	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3355	    # AIX install.  It has an incompatible calling convention.
3356	    :
3357	  elif test $ac_prog = install &&
3358	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3359	    # program-specific install script used by HP pwplus--don't use.
3360	    :
3361	  else
3362	    rm -rf conftest.one conftest.two conftest.dir
3363	    echo one > conftest.one
3364	    echo two > conftest.two
3365	    mkdir conftest.dir
3366	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
3367	      test -s conftest.one && test -s conftest.two &&
3368	      test -s conftest.dir/conftest.one &&
3369	      test -s conftest.dir/conftest.two
3370	    then
3371	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
3372	      break 3
3373	    fi
3374	  fi
3375	fi
3376      done
3377    done
3378    ;;
3379esac
3380
3381  done
3382IFS=$as_save_IFS
3383
3384rm -rf conftest.one conftest.two conftest.dir
3385
3386fi
3387  if test ${ac_cv_path_install+y}; then
3388    INSTALL=$ac_cv_path_install
3389  else
3390    # As a last resort, use the slow shell script.  Don't cache a
3391    # value for INSTALL within a source directory, because that will
3392    # break other packages using the cache if that directory is
3393    # removed, or if the value is a relative name.
3394    INSTALL=$ac_install_sh
3395  fi
3396fi
3397{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3398printf "%s\n" "$INSTALL" >&6; }
3399
3400# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3401# It thinks the first close brace ends the variable substitution.
3402test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3403
3404test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3405
3406test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3407
3408{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3409printf %s "checking whether build environment is sane... " >&6; }
3410# Reject unsafe characters in $srcdir or the absolute working directory
3411# name.  Accept space and tab only in the latter.
3412am_lf='
3413'
3414case `pwd` in
3415  *[\\\"\#\$\&\'\`$am_lf]*)
3416    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3417esac
3418case $srcdir in
3419  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
3420    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3421esac
3422
3423# Do 'set' in a subshell so we don't clobber the current shell's
3424# arguments.  Must try -L first in case configure is actually a
3425# symlink; some systems play weird games with the mod time of symlinks
3426# (eg FreeBSD returns the mod time of the symlink's containing
3427# directory).
3428if (
3429   am_has_slept=no
3430   for am_try in 1 2; do
3431     echo "timestamp, slept: $am_has_slept" > conftest.file
3432     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3433     if test "$*" = "X"; then
3434	# -L didn't work.
3435	set X `ls -t "$srcdir/configure" conftest.file`
3436     fi
3437     if test "$*" != "X $srcdir/configure conftest.file" \
3438	&& test "$*" != "X conftest.file $srcdir/configure"; then
3439
3440	# If neither matched, then we have a broken ls.  This can happen
3441	# if, for instance, CONFIG_SHELL is bash and it inherits a
3442	# broken ls alias from the environment.  This has actually
3443	# happened.  Such a system could not be considered "sane".
3444	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
3445  alias in your environment" "$LINENO" 5
3446     fi
3447     if test "$2" = conftest.file || test $am_try -eq 2; then
3448       break
3449     fi
3450     # Just in case.
3451     sleep 1
3452     am_has_slept=yes
3453   done
3454   test "$2" = conftest.file
3455   )
3456then
3457   # Ok.
3458   :
3459else
3460   as_fn_error $? "newly created file is older than distributed files!
3461Check your system clock" "$LINENO" 5
3462fi
3463{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3464printf "%s\n" "yes" >&6; }
3465# If we didn't sleep, we still need to ensure time stamps of config.status and
3466# generated files are strictly newer.
3467am_sleep_pid=
3468if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3469  ( sleep 1 ) &
3470  am_sleep_pid=$!
3471fi
3472
3473rm -f conftest.file
3474
3475test "$program_prefix" != NONE &&
3476  program_transform_name="s&^&$program_prefix&;$program_transform_name"
3477# Use a double $ so make ignores it.
3478test "$program_suffix" != NONE &&
3479  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3480# Double any \ or $.
3481# By default was `s,x,x', remove it if useless.
3482ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3483program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
3484
3485
3486# Expand $ac_aux_dir to an absolute path.
3487am_aux_dir=`cd "$ac_aux_dir" && pwd`
3488
3489
3490  if test x"${MISSING+set}" != xset; then
3491  MISSING="\${SHELL} '$am_aux_dir/missing'"
3492fi
3493# Use eval to expand $SHELL
3494if eval "$MISSING --is-lightweight"; then
3495  am_missing_run="$MISSING "
3496else
3497  am_missing_run=
3498  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3499printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3500fi
3501
3502if test x"${install_sh+set}" != xset; then
3503  case $am_aux_dir in
3504  *\ * | *\	*)
3505    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3506  *)
3507    install_sh="\${SHELL} $am_aux_dir/install-sh"
3508  esac
3509fi
3510
3511# Installed binaries are usually stripped using 'strip' when the user
3512# run "make install-strip".  However 'strip' might not be the right
3513# tool to use in cross-compilation environments, therefore Automake
3514# will honor the 'STRIP' environment variable to overrule this program.
3515if test "$cross_compiling" != no; then
3516  if test -n "$ac_tool_prefix"; then
3517  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3518set dummy ${ac_tool_prefix}strip; ac_word=$2
3519{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3520printf %s "checking for $ac_word... " >&6; }
3521if test ${ac_cv_prog_STRIP+y}
3522then :
3523  printf %s "(cached) " >&6
3524else $as_nop
3525  if test -n "$STRIP"; then
3526  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3527else
3528as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3529for as_dir in $PATH
3530do
3531  IFS=$as_save_IFS
3532  case $as_dir in #(((
3533    '') as_dir=./ ;;
3534    */) ;;
3535    *) as_dir=$as_dir/ ;;
3536  esac
3537    for ac_exec_ext in '' $ac_executable_extensions; do
3538  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3539    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3540    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3541    break 2
3542  fi
3543done
3544  done
3545IFS=$as_save_IFS
3546
3547fi
3548fi
3549STRIP=$ac_cv_prog_STRIP
3550if test -n "$STRIP"; then
3551  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3552printf "%s\n" "$STRIP" >&6; }
3553else
3554  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3555printf "%s\n" "no" >&6; }
3556fi
3557
3558
3559fi
3560if test -z "$ac_cv_prog_STRIP"; then
3561  ac_ct_STRIP=$STRIP
3562  # Extract the first word of "strip", so it can be a program name with args.
3563set dummy strip; ac_word=$2
3564{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3565printf %s "checking for $ac_word... " >&6; }
3566if test ${ac_cv_prog_ac_ct_STRIP+y}
3567then :
3568  printf %s "(cached) " >&6
3569else $as_nop
3570  if test -n "$ac_ct_STRIP"; then
3571  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3572else
3573as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3574for as_dir in $PATH
3575do
3576  IFS=$as_save_IFS
3577  case $as_dir in #(((
3578    '') as_dir=./ ;;
3579    */) ;;
3580    *) as_dir=$as_dir/ ;;
3581  esac
3582    for ac_exec_ext in '' $ac_executable_extensions; do
3583  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3584    ac_cv_prog_ac_ct_STRIP="strip"
3585    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3586    break 2
3587  fi
3588done
3589  done
3590IFS=$as_save_IFS
3591
3592fi
3593fi
3594ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3595if test -n "$ac_ct_STRIP"; then
3596  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3597printf "%s\n" "$ac_ct_STRIP" >&6; }
3598else
3599  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3600printf "%s\n" "no" >&6; }
3601fi
3602
3603  if test "x$ac_ct_STRIP" = x; then
3604    STRIP=":"
3605  else
3606    case $cross_compiling:$ac_tool_warned in
3607yes:)
3608{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3609printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3610ac_tool_warned=yes ;;
3611esac
3612    STRIP=$ac_ct_STRIP
3613  fi
3614else
3615  STRIP="$ac_cv_prog_STRIP"
3616fi
3617
3618fi
3619INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3620
3621
3622  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
3623printf %s "checking for a race-free mkdir -p... " >&6; }
3624if test -z "$MKDIR_P"; then
3625  if test ${ac_cv_path_mkdir+y}
3626then :
3627  printf %s "(cached) " >&6
3628else $as_nop
3629  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3630for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3631do
3632  IFS=$as_save_IFS
3633  case $as_dir in #(((
3634    '') as_dir=./ ;;
3635    */) ;;
3636    *) as_dir=$as_dir/ ;;
3637  esac
3638    for ac_prog in mkdir gmkdir; do
3639	 for ac_exec_ext in '' $ac_executable_extensions; do
3640	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
3641	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
3642	     'mkdir ('*'coreutils) '* | \
3643	     'BusyBox '* | \
3644	     'mkdir (fileutils) '4.1*)
3645	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
3646	       break 3;;
3647	   esac
3648	 done
3649       done
3650  done
3651IFS=$as_save_IFS
3652
3653fi
3654
3655  test -d ./--version && rmdir ./--version
3656  if test ${ac_cv_path_mkdir+y}; then
3657    MKDIR_P="$ac_cv_path_mkdir -p"
3658  else
3659    # As a last resort, use the slow shell script.  Don't cache a
3660    # value for MKDIR_P within a source directory, because that will
3661    # break other packages using the cache if that directory is
3662    # removed, or if the value is a relative name.
3663    MKDIR_P="$ac_install_sh -d"
3664  fi
3665fi
3666{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3667printf "%s\n" "$MKDIR_P" >&6; }
3668
3669for ac_prog in gawk mawk nawk awk
3670do
3671  # Extract the first word of "$ac_prog", so it can be a program name with args.
3672set dummy $ac_prog; ac_word=$2
3673{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3674printf %s "checking for $ac_word... " >&6; }
3675if test ${ac_cv_prog_AWK+y}
3676then :
3677  printf %s "(cached) " >&6
3678else $as_nop
3679  if test -n "$AWK"; then
3680  ac_cv_prog_AWK="$AWK" # Let the user override the test.
3681else
3682as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3683for as_dir in $PATH
3684do
3685  IFS=$as_save_IFS
3686  case $as_dir in #(((
3687    '') as_dir=./ ;;
3688    */) ;;
3689    *) as_dir=$as_dir/ ;;
3690  esac
3691    for ac_exec_ext in '' $ac_executable_extensions; do
3692  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3693    ac_cv_prog_AWK="$ac_prog"
3694    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3695    break 2
3696  fi
3697done
3698  done
3699IFS=$as_save_IFS
3700
3701fi
3702fi
3703AWK=$ac_cv_prog_AWK
3704if test -n "$AWK"; then
3705  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3706printf "%s\n" "$AWK" >&6; }
3707else
3708  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3709printf "%s\n" "no" >&6; }
3710fi
3711
3712
3713  test -n "$AWK" && break
3714done
3715
3716{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3717printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3718set x ${MAKE-make}
3719ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3720if eval test \${ac_cv_prog_make_${ac_make}_set+y}
3721then :
3722  printf %s "(cached) " >&6
3723else $as_nop
3724  cat >conftest.make <<\_ACEOF
3725SHELL = /bin/sh
3726all:
3727	@echo '@@@%%%=$(MAKE)=@@@%%%'
3728_ACEOF
3729# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3730case `${MAKE-make} -f conftest.make 2>/dev/null` in
3731  *@@@%%%=?*=@@@%%%*)
3732    eval ac_cv_prog_make_${ac_make}_set=yes;;
3733  *)
3734    eval ac_cv_prog_make_${ac_make}_set=no;;
3735esac
3736rm -f conftest.make
3737fi
3738if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3739  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3740printf "%s\n" "yes" >&6; }
3741  SET_MAKE=
3742else
3743  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3744printf "%s\n" "no" >&6; }
3745  SET_MAKE="MAKE=${MAKE-make}"
3746fi
3747
3748rm -rf .tst 2>/dev/null
3749mkdir .tst 2>/dev/null
3750if test -d .tst; then
3751  am__leading_dot=.
3752else
3753  am__leading_dot=_
3754fi
3755rmdir .tst 2>/dev/null
3756
3757# Check whether --enable-silent-rules was given.
3758if test ${enable_silent_rules+y}
3759then :
3760  enableval=$enable_silent_rules;
3761fi
3762
3763case $enable_silent_rules in # (((
3764  yes) AM_DEFAULT_VERBOSITY=0;;
3765   no) AM_DEFAULT_VERBOSITY=1;;
3766    *) AM_DEFAULT_VERBOSITY=1;;
3767esac
3768am_make=${MAKE-make}
3769{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3770printf %s "checking whether $am_make supports nested variables... " >&6; }
3771if test ${am_cv_make_support_nested_variables+y}
3772then :
3773  printf %s "(cached) " >&6
3774else $as_nop
3775  if printf "%s\n" 'TRUE=$(BAR$(V))
3776BAR0=false
3777BAR1=true
3778V=1
3779am__doit:
3780	@$(TRUE)
3781.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3782  am_cv_make_support_nested_variables=yes
3783else
3784  am_cv_make_support_nested_variables=no
3785fi
3786fi
3787{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3788printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
3789if test $am_cv_make_support_nested_variables = yes; then
3790    AM_V='$(V)'
3791  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3792else
3793  AM_V=$AM_DEFAULT_VERBOSITY
3794  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3795fi
3796AM_BACKSLASH='\'
3797
3798if test "`cd $srcdir && pwd`" != "`pwd`"; then
3799  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3800  # is not polluted with repeated "-I."
3801  am__isrc=' -I$(srcdir)'
3802  # test to see if srcdir already configured
3803  if test -f $srcdir/config.status; then
3804    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3805  fi
3806fi
3807
3808# test whether we have cygpath
3809if test -z "$CYGPATH_W"; then
3810  if (cygpath --version) >/dev/null 2>/dev/null; then
3811    CYGPATH_W='cygpath -w'
3812  else
3813    CYGPATH_W=echo
3814  fi
3815fi
3816
3817
3818# Define the identity of the package.
3819 PACKAGE='expat'
3820 VERSION='2.4.6'
3821
3822
3823printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
3824
3825
3826printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
3827
3828# Some tools Automake needs.
3829
3830ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3831
3832
3833AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3834
3835
3836AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3837
3838
3839AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3840
3841
3842MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3843
3844# For better backward compatibility.  To be removed once Automake 1.9.x
3845# dies out for good.  For more background, see:
3846# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3847# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3848mkdir_p='$(MKDIR_P)'
3849
3850# We need awk for the "check" target (and possibly the TAP driver).  The
3851# system "awk" is bad on some platforms.
3852# Always define AMTAR for backward compatibility.  Yes, it's still used
3853# in the wild :-(  We should find a proper way to deprecate it ...
3854AMTAR='$${TAR-tar}'
3855
3856
3857# We'll loop over all known methods to create a tar archive until one works.
3858_am_tools='gnutar  pax cpio none'
3859
3860am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3861
3862
3863
3864
3865
3866# Variables for tags utilities; see am/tags.am
3867if test -z "$CTAGS"; then
3868  CTAGS=ctags
3869fi
3870
3871if test -z "$ETAGS"; then
3872  ETAGS=etags
3873fi
3874
3875if test -z "$CSCOPE"; then
3876  CSCOPE=cscope
3877fi
3878
3879
3880
3881# POSIX will say in a future version that running "rm -f" with no argument
3882# is OK; and we want to be able to make that assumption in our Makefile
3883# recipes.  So use an aggressive probe to check that the usage we want is
3884# actually supported "in the wild" to an acceptable degree.
3885# See automake bug#10828.
3886# To make any issue more visible, cause the running configure to be aborted
3887# by default if the 'rm' program in use doesn't match our expectations; the
3888# user can still override this though.
3889if rm -f && rm -fr && rm -rf; then : OK; else
3890  cat >&2 <<'END'
3891Oops!
3892
3893Your 'rm' program seems unable to run without file operands specified
3894on the command line, even when the '-f' option is present.  This is contrary
3895to the behaviour of most rm programs out there, and not conforming with
3896the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3897
3898Please tell bug-automake@gnu.org about your system, including the value
3899of your $PATH and any error possibly output before this message.  This
3900can help us improve future automake versions.
3901
3902END
3903  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3904    echo 'Configuration will proceed anyway, since you have set the' >&2
3905    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3906    echo >&2
3907  else
3908    cat >&2 <<'END'
3909Aborting the configuration process, to ensure you take notice of the issue.
3910
3911You can download and install GNU coreutils to get an 'rm' implementation
3912that behaves properly: <https://www.gnu.org/software/coreutils/>.
3913
3914If you want to complete the configuration process using your problematic
3915'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3916to "yes", and re-run configure.
3917
3918END
3919    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3920  fi
3921fi
3922
3923
3924
3925
3926LIBCURRENT=9   # sync
3927LIBREVISION=6  # with
3928LIBAGE=8       # CMakeLists.txt!
3929
3930ac_config_headers="$ac_config_headers expat_config.h"
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942DEPDIR="${am__leading_dot}deps"
3943
3944ac_config_commands="$ac_config_commands depfiles"
3945
3946{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3947printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
3948cat > confinc.mk << 'END'
3949am__doit:
3950	@echo this is the am__doit target >confinc.out
3951.PHONY: am__doit
3952END
3953am__include="#"
3954am__quote=
3955# BSD make does it like this.
3956echo '.include "confinc.mk" # ignored' > confmf.BSD
3957# Other make implementations (GNU, Solaris 10, AIX) do it like this.
3958echo 'include confinc.mk # ignored' > confmf.GNU
3959_am_result=no
3960for s in GNU BSD; do
3961  { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3962   (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3963   ac_status=$?
3964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3965   (exit $ac_status); }
3966  case $?:`cat confinc.out 2>/dev/null` in #(
3967  '0:this is the am__doit target') :
3968    case $s in #(
3969  BSD) :
3970    am__include='.include' am__quote='"' ;; #(
3971  *) :
3972    am__include='include' am__quote='' ;;
3973esac ;; #(
3974  *) :
3975     ;;
3976esac
3977  if test "$am__include" != "#"; then
3978    _am_result="yes ($s style)"
3979    break
3980  fi
3981done
3982rm -f confinc.* confmf.*
3983{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3984printf "%s\n" "${_am_result}" >&6; }
3985
3986# Check whether --enable-dependency-tracking was given.
3987if test ${enable_dependency_tracking+y}
3988then :
3989  enableval=$enable_dependency_tracking;
3990fi
3991
3992if test "x$enable_dependency_tracking" != xno; then
3993  am_depcomp="$ac_aux_dir/depcomp"
3994  AMDEPBACKSLASH='\'
3995  am__nodep='_no'
3996fi
3997 if test "x$enable_dependency_tracking" != xno; then
3998  AMDEP_TRUE=
3999  AMDEP_FALSE='#'
4000else
4001  AMDEP_TRUE='#'
4002  AMDEP_FALSE=
4003fi
4004
4005
4006ac_ext=c
4007ac_cpp='$CPP $CPPFLAGS'
4008ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4009ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4010ac_compiler_gnu=$ac_cv_c_compiler_gnu
4011if test -n "$ac_tool_prefix"; then
4012  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4013set dummy ${ac_tool_prefix}gcc; ac_word=$2
4014{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4015printf %s "checking for $ac_word... " >&6; }
4016if test ${ac_cv_prog_CC+y}
4017then :
4018  printf %s "(cached) " >&6
4019else $as_nop
4020  if test -n "$CC"; then
4021  ac_cv_prog_CC="$CC" # Let the user override the test.
4022else
4023as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4024for as_dir in $PATH
4025do
4026  IFS=$as_save_IFS
4027  case $as_dir in #(((
4028    '') as_dir=./ ;;
4029    */) ;;
4030    *) as_dir=$as_dir/ ;;
4031  esac
4032    for ac_exec_ext in '' $ac_executable_extensions; do
4033  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4034    ac_cv_prog_CC="${ac_tool_prefix}gcc"
4035    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4036    break 2
4037  fi
4038done
4039  done
4040IFS=$as_save_IFS
4041
4042fi
4043fi
4044CC=$ac_cv_prog_CC
4045if test -n "$CC"; then
4046  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4047printf "%s\n" "$CC" >&6; }
4048else
4049  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4050printf "%s\n" "no" >&6; }
4051fi
4052
4053
4054fi
4055if test -z "$ac_cv_prog_CC"; then
4056  ac_ct_CC=$CC
4057  # Extract the first word of "gcc", so it can be a program name with args.
4058set dummy gcc; ac_word=$2
4059{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4060printf %s "checking for $ac_word... " >&6; }
4061if test ${ac_cv_prog_ac_ct_CC+y}
4062then :
4063  printf %s "(cached) " >&6
4064else $as_nop
4065  if test -n "$ac_ct_CC"; then
4066  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4067else
4068as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4069for as_dir in $PATH
4070do
4071  IFS=$as_save_IFS
4072  case $as_dir in #(((
4073    '') as_dir=./ ;;
4074    */) ;;
4075    *) as_dir=$as_dir/ ;;
4076  esac
4077    for ac_exec_ext in '' $ac_executable_extensions; do
4078  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4079    ac_cv_prog_ac_ct_CC="gcc"
4080    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4081    break 2
4082  fi
4083done
4084  done
4085IFS=$as_save_IFS
4086
4087fi
4088fi
4089ac_ct_CC=$ac_cv_prog_ac_ct_CC
4090if test -n "$ac_ct_CC"; then
4091  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4092printf "%s\n" "$ac_ct_CC" >&6; }
4093else
4094  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4095printf "%s\n" "no" >&6; }
4096fi
4097
4098  if test "x$ac_ct_CC" = x; then
4099    CC=""
4100  else
4101    case $cross_compiling:$ac_tool_warned in
4102yes:)
4103{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4104printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4105ac_tool_warned=yes ;;
4106esac
4107    CC=$ac_ct_CC
4108  fi
4109else
4110  CC="$ac_cv_prog_CC"
4111fi
4112
4113if test -z "$CC"; then
4114          if test -n "$ac_tool_prefix"; then
4115    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4116set dummy ${ac_tool_prefix}cc; ac_word=$2
4117{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4118printf %s "checking for $ac_word... " >&6; }
4119if test ${ac_cv_prog_CC+y}
4120then :
4121  printf %s "(cached) " >&6
4122else $as_nop
4123  if test -n "$CC"; then
4124  ac_cv_prog_CC="$CC" # Let the user override the test.
4125else
4126as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4127for as_dir in $PATH
4128do
4129  IFS=$as_save_IFS
4130  case $as_dir in #(((
4131    '') as_dir=./ ;;
4132    */) ;;
4133    *) as_dir=$as_dir/ ;;
4134  esac
4135    for ac_exec_ext in '' $ac_executable_extensions; do
4136  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4137    ac_cv_prog_CC="${ac_tool_prefix}cc"
4138    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4139    break 2
4140  fi
4141done
4142  done
4143IFS=$as_save_IFS
4144
4145fi
4146fi
4147CC=$ac_cv_prog_CC
4148if test -n "$CC"; then
4149  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4150printf "%s\n" "$CC" >&6; }
4151else
4152  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4153printf "%s\n" "no" >&6; }
4154fi
4155
4156
4157  fi
4158fi
4159if test -z "$CC"; then
4160  # Extract the first word of "cc", so it can be a program name with args.
4161set dummy cc; ac_word=$2
4162{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4163printf %s "checking for $ac_word... " >&6; }
4164if test ${ac_cv_prog_CC+y}
4165then :
4166  printf %s "(cached) " >&6
4167else $as_nop
4168  if test -n "$CC"; then
4169  ac_cv_prog_CC="$CC" # Let the user override the test.
4170else
4171  ac_prog_rejected=no
4172as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4173for as_dir in $PATH
4174do
4175  IFS=$as_save_IFS
4176  case $as_dir in #(((
4177    '') as_dir=./ ;;
4178    */) ;;
4179    *) as_dir=$as_dir/ ;;
4180  esac
4181    for ac_exec_ext in '' $ac_executable_extensions; do
4182  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4183    if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4184       ac_prog_rejected=yes
4185       continue
4186     fi
4187    ac_cv_prog_CC="cc"
4188    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4189    break 2
4190  fi
4191done
4192  done
4193IFS=$as_save_IFS
4194
4195if test $ac_prog_rejected = yes; then
4196  # We found a bogon in the path, so make sure we never use it.
4197  set dummy $ac_cv_prog_CC
4198  shift
4199  if test $# != 0; then
4200    # We chose a different compiler from the bogus one.
4201    # However, it has the same basename, so the bogon will be chosen
4202    # first if we set CC to just the basename; use the full file name.
4203    shift
4204    ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4205  fi
4206fi
4207fi
4208fi
4209CC=$ac_cv_prog_CC
4210if test -n "$CC"; then
4211  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4212printf "%s\n" "$CC" >&6; }
4213else
4214  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4215printf "%s\n" "no" >&6; }
4216fi
4217
4218
4219fi
4220if test -z "$CC"; then
4221  if test -n "$ac_tool_prefix"; then
4222  for ac_prog in cl.exe
4223  do
4224    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4225set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4226{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4227printf %s "checking for $ac_word... " >&6; }
4228if test ${ac_cv_prog_CC+y}
4229then :
4230  printf %s "(cached) " >&6
4231else $as_nop
4232  if test -n "$CC"; then
4233  ac_cv_prog_CC="$CC" # Let the user override the test.
4234else
4235as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4236for as_dir in $PATH
4237do
4238  IFS=$as_save_IFS
4239  case $as_dir in #(((
4240    '') as_dir=./ ;;
4241    */) ;;
4242    *) as_dir=$as_dir/ ;;
4243  esac
4244    for ac_exec_ext in '' $ac_executable_extensions; do
4245  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4246    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4247    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4248    break 2
4249  fi
4250done
4251  done
4252IFS=$as_save_IFS
4253
4254fi
4255fi
4256CC=$ac_cv_prog_CC
4257if test -n "$CC"; then
4258  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4259printf "%s\n" "$CC" >&6; }
4260else
4261  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4262printf "%s\n" "no" >&6; }
4263fi
4264
4265
4266    test -n "$CC" && break
4267  done
4268fi
4269if test -z "$CC"; then
4270  ac_ct_CC=$CC
4271  for ac_prog in cl.exe
4272do
4273  # Extract the first word of "$ac_prog", so it can be a program name with args.
4274set dummy $ac_prog; ac_word=$2
4275{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4276printf %s "checking for $ac_word... " >&6; }
4277if test ${ac_cv_prog_ac_ct_CC+y}
4278then :
4279  printf %s "(cached) " >&6
4280else $as_nop
4281  if test -n "$ac_ct_CC"; then
4282  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4283else
4284as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4285for as_dir in $PATH
4286do
4287  IFS=$as_save_IFS
4288  case $as_dir in #(((
4289    '') as_dir=./ ;;
4290    */) ;;
4291    *) as_dir=$as_dir/ ;;
4292  esac
4293    for ac_exec_ext in '' $ac_executable_extensions; do
4294  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4295    ac_cv_prog_ac_ct_CC="$ac_prog"
4296    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4297    break 2
4298  fi
4299done
4300  done
4301IFS=$as_save_IFS
4302
4303fi
4304fi
4305ac_ct_CC=$ac_cv_prog_ac_ct_CC
4306if test -n "$ac_ct_CC"; then
4307  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4308printf "%s\n" "$ac_ct_CC" >&6; }
4309else
4310  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4311printf "%s\n" "no" >&6; }
4312fi
4313
4314
4315  test -n "$ac_ct_CC" && break
4316done
4317
4318  if test "x$ac_ct_CC" = x; then
4319    CC=""
4320  else
4321    case $cross_compiling:$ac_tool_warned in
4322yes:)
4323{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4324printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4325ac_tool_warned=yes ;;
4326esac
4327    CC=$ac_ct_CC
4328  fi
4329fi
4330
4331fi
4332if test -z "$CC"; then
4333  if test -n "$ac_tool_prefix"; then
4334  # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4335set dummy ${ac_tool_prefix}clang; ac_word=$2
4336{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4337printf %s "checking for $ac_word... " >&6; }
4338if test ${ac_cv_prog_CC+y}
4339then :
4340  printf %s "(cached) " >&6
4341else $as_nop
4342  if test -n "$CC"; then
4343  ac_cv_prog_CC="$CC" # Let the user override the test.
4344else
4345as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4346for as_dir in $PATH
4347do
4348  IFS=$as_save_IFS
4349  case $as_dir in #(((
4350    '') as_dir=./ ;;
4351    */) ;;
4352    *) as_dir=$as_dir/ ;;
4353  esac
4354    for ac_exec_ext in '' $ac_executable_extensions; do
4355  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4356    ac_cv_prog_CC="${ac_tool_prefix}clang"
4357    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4358    break 2
4359  fi
4360done
4361  done
4362IFS=$as_save_IFS
4363
4364fi
4365fi
4366CC=$ac_cv_prog_CC
4367if test -n "$CC"; then
4368  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4369printf "%s\n" "$CC" >&6; }
4370else
4371  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4372printf "%s\n" "no" >&6; }
4373fi
4374
4375
4376fi
4377if test -z "$ac_cv_prog_CC"; then
4378  ac_ct_CC=$CC
4379  # Extract the first word of "clang", so it can be a program name with args.
4380set dummy clang; ac_word=$2
4381{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4382printf %s "checking for $ac_word... " >&6; }
4383if test ${ac_cv_prog_ac_ct_CC+y}
4384then :
4385  printf %s "(cached) " >&6
4386else $as_nop
4387  if test -n "$ac_ct_CC"; then
4388  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4389else
4390as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4391for as_dir in $PATH
4392do
4393  IFS=$as_save_IFS
4394  case $as_dir in #(((
4395    '') as_dir=./ ;;
4396    */) ;;
4397    *) as_dir=$as_dir/ ;;
4398  esac
4399    for ac_exec_ext in '' $ac_executable_extensions; do
4400  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4401    ac_cv_prog_ac_ct_CC="clang"
4402    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4403    break 2
4404  fi
4405done
4406  done
4407IFS=$as_save_IFS
4408
4409fi
4410fi
4411ac_ct_CC=$ac_cv_prog_ac_ct_CC
4412if test -n "$ac_ct_CC"; then
4413  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4414printf "%s\n" "$ac_ct_CC" >&6; }
4415else
4416  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4417printf "%s\n" "no" >&6; }
4418fi
4419
4420  if test "x$ac_ct_CC" = x; then
4421    CC=""
4422  else
4423    case $cross_compiling:$ac_tool_warned in
4424yes:)
4425{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4426printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4427ac_tool_warned=yes ;;
4428esac
4429    CC=$ac_ct_CC
4430  fi
4431else
4432  CC="$ac_cv_prog_CC"
4433fi
4434
4435fi
4436
4437
4438test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4439printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4440as_fn_error $? "no acceptable C compiler found in \$PATH
4441See \`config.log' for more details" "$LINENO" 5; }
4442
4443# Provide some information about the compiler.
4444printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4445set X $ac_compile
4446ac_compiler=$2
4447for ac_option in --version -v -V -qversion -version; do
4448  { { ac_try="$ac_compiler $ac_option >&5"
4449case "(($ac_try" in
4450  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4451  *) ac_try_echo=$ac_try;;
4452esac
4453eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4454printf "%s\n" "$ac_try_echo"; } >&5
4455  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4456  ac_status=$?
4457  if test -s conftest.err; then
4458    sed '10a\
4459... rest of stderr output deleted ...
4460         10q' conftest.err >conftest.er1
4461    cat conftest.er1 >&5
4462  fi
4463  rm -f conftest.er1 conftest.err
4464  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4465  test $ac_status = 0; }
4466done
4467
4468cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4469/* end confdefs.h.  */
4470
4471int
4472main (void)
4473{
4474
4475  ;
4476  return 0;
4477}
4478_ACEOF
4479ac_clean_files_save=$ac_clean_files
4480ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4481# Try to create an executable without -o first, disregard a.out.
4482# It will help us diagnose broken compilers, and finding out an intuition
4483# of exeext.
4484{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4485printf %s "checking whether the C compiler works... " >&6; }
4486ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4487
4488# The possible output files:
4489ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4490
4491ac_rmfiles=
4492for ac_file in $ac_files
4493do
4494  case $ac_file in
4495    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4496    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4497  esac
4498done
4499rm -f $ac_rmfiles
4500
4501if { { ac_try="$ac_link_default"
4502case "(($ac_try" in
4503  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4504  *) ac_try_echo=$ac_try;;
4505esac
4506eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4507printf "%s\n" "$ac_try_echo"; } >&5
4508  (eval "$ac_link_default") 2>&5
4509  ac_status=$?
4510  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4511  test $ac_status = 0; }
4512then :
4513  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4514# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4515# in a Makefile.  We should not override ac_cv_exeext if it was cached,
4516# so that the user can short-circuit this test for compilers unknown to
4517# Autoconf.
4518for ac_file in $ac_files ''
4519do
4520  test -f "$ac_file" || continue
4521  case $ac_file in
4522    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4523	;;
4524    [ab].out )
4525	# We found the default executable, but exeext='' is most
4526	# certainly right.
4527	break;;
4528    *.* )
4529	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
4530	then :; else
4531	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4532	fi
4533	# We set ac_cv_exeext here because the later test for it is not
4534	# safe: cross compilers may not add the suffix if given an `-o'
4535	# argument, so we may need to know it at that point already.
4536	# Even if this section looks crufty: it has the advantage of
4537	# actually working.
4538	break;;
4539    * )
4540	break;;
4541  esac
4542done
4543test "$ac_cv_exeext" = no && ac_cv_exeext=
4544
4545else $as_nop
4546  ac_file=''
4547fi
4548if test -z "$ac_file"
4549then :
4550  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4551printf "%s\n" "no" >&6; }
4552printf "%s\n" "$as_me: failed program was:" >&5
4553sed 's/^/| /' conftest.$ac_ext >&5
4554
4555{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4556printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4557as_fn_error 77 "C compiler cannot create executables
4558See \`config.log' for more details" "$LINENO" 5; }
4559else $as_nop
4560  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4561printf "%s\n" "yes" >&6; }
4562fi
4563{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4564printf %s "checking for C compiler default output file name... " >&6; }
4565{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4566printf "%s\n" "$ac_file" >&6; }
4567ac_exeext=$ac_cv_exeext
4568
4569rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4570ac_clean_files=$ac_clean_files_save
4571{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4572printf %s "checking for suffix of executables... " >&6; }
4573if { { ac_try="$ac_link"
4574case "(($ac_try" in
4575  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4576  *) ac_try_echo=$ac_try;;
4577esac
4578eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4579printf "%s\n" "$ac_try_echo"; } >&5
4580  (eval "$ac_link") 2>&5
4581  ac_status=$?
4582  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4583  test $ac_status = 0; }
4584then :
4585  # If both `conftest.exe' and `conftest' are `present' (well, observable)
4586# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4587# work properly (i.e., refer to `conftest.exe'), while it won't with
4588# `rm'.
4589for ac_file in conftest.exe conftest conftest.*; do
4590  test -f "$ac_file" || continue
4591  case $ac_file in
4592    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4593    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4594	  break;;
4595    * ) break;;
4596  esac
4597done
4598else $as_nop
4599  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4600printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4601as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4602See \`config.log' for more details" "$LINENO" 5; }
4603fi
4604rm -f conftest conftest$ac_cv_exeext
4605{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4606printf "%s\n" "$ac_cv_exeext" >&6; }
4607
4608rm -f conftest.$ac_ext
4609EXEEXT=$ac_cv_exeext
4610ac_exeext=$EXEEXT
4611cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4612/* end confdefs.h.  */
4613#include <stdio.h>
4614int
4615main (void)
4616{
4617FILE *f = fopen ("conftest.out", "w");
4618 return ferror (f) || fclose (f) != 0;
4619
4620  ;
4621  return 0;
4622}
4623_ACEOF
4624ac_clean_files="$ac_clean_files conftest.out"
4625# Check that the compiler produces executables we can run.  If not, either
4626# the compiler is broken, or we cross compile.
4627{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4628printf %s "checking whether we are cross compiling... " >&6; }
4629if test "$cross_compiling" != yes; then
4630  { { ac_try="$ac_link"
4631case "(($ac_try" in
4632  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4633  *) ac_try_echo=$ac_try;;
4634esac
4635eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4636printf "%s\n" "$ac_try_echo"; } >&5
4637  (eval "$ac_link") 2>&5
4638  ac_status=$?
4639  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4640  test $ac_status = 0; }
4641  if { ac_try='./conftest$ac_cv_exeext'
4642  { { case "(($ac_try" in
4643  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4644  *) ac_try_echo=$ac_try;;
4645esac
4646eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4647printf "%s\n" "$ac_try_echo"; } >&5
4648  (eval "$ac_try") 2>&5
4649  ac_status=$?
4650  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4651  test $ac_status = 0; }; }; then
4652    cross_compiling=no
4653  else
4654    if test "$cross_compiling" = maybe; then
4655	cross_compiling=yes
4656    else
4657	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4658printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4659as_fn_error 77 "cannot run C compiled programs.
4660If you meant to cross compile, use \`--host'.
4661See \`config.log' for more details" "$LINENO" 5; }
4662    fi
4663  fi
4664fi
4665{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4666printf "%s\n" "$cross_compiling" >&6; }
4667
4668rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4669ac_clean_files=$ac_clean_files_save
4670{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4671printf %s "checking for suffix of object files... " >&6; }
4672if test ${ac_cv_objext+y}
4673then :
4674  printf %s "(cached) " >&6
4675else $as_nop
4676  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4677/* end confdefs.h.  */
4678
4679int
4680main (void)
4681{
4682
4683  ;
4684  return 0;
4685}
4686_ACEOF
4687rm -f conftest.o conftest.obj
4688if { { ac_try="$ac_compile"
4689case "(($ac_try" in
4690  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4691  *) ac_try_echo=$ac_try;;
4692esac
4693eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4694printf "%s\n" "$ac_try_echo"; } >&5
4695  (eval "$ac_compile") 2>&5
4696  ac_status=$?
4697  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4698  test $ac_status = 0; }
4699then :
4700  for ac_file in conftest.o conftest.obj conftest.*; do
4701  test -f "$ac_file" || continue;
4702  case $ac_file in
4703    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4704    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4705       break;;
4706  esac
4707done
4708else $as_nop
4709  printf "%s\n" "$as_me: failed program was:" >&5
4710sed 's/^/| /' conftest.$ac_ext >&5
4711
4712{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4713printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4714as_fn_error $? "cannot compute suffix of object files: cannot compile
4715See \`config.log' for more details" "$LINENO" 5; }
4716fi
4717rm -f conftest.$ac_cv_objext conftest.$ac_ext
4718fi
4719{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4720printf "%s\n" "$ac_cv_objext" >&6; }
4721OBJEXT=$ac_cv_objext
4722ac_objext=$OBJEXT
4723{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
4724printf %s "checking whether the compiler supports GNU C... " >&6; }
4725if test ${ac_cv_c_compiler_gnu+y}
4726then :
4727  printf %s "(cached) " >&6
4728else $as_nop
4729  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4730/* end confdefs.h.  */
4731
4732int
4733main (void)
4734{
4735#ifndef __GNUC__
4736       choke me
4737#endif
4738
4739  ;
4740  return 0;
4741}
4742_ACEOF
4743if ac_fn_c_try_compile "$LINENO"
4744then :
4745  ac_compiler_gnu=yes
4746else $as_nop
4747  ac_compiler_gnu=no
4748fi
4749rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4750ac_cv_c_compiler_gnu=$ac_compiler_gnu
4751
4752fi
4753{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4754printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
4755ac_compiler_gnu=$ac_cv_c_compiler_gnu
4756
4757if test $ac_compiler_gnu = yes; then
4758  GCC=yes
4759else
4760  GCC=
4761fi
4762ac_test_CFLAGS=${CFLAGS+y}
4763ac_save_CFLAGS=$CFLAGS
4764{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4765printf %s "checking whether $CC accepts -g... " >&6; }
4766if test ${ac_cv_prog_cc_g+y}
4767then :
4768  printf %s "(cached) " >&6
4769else $as_nop
4770  ac_save_c_werror_flag=$ac_c_werror_flag
4771   ac_c_werror_flag=yes
4772   ac_cv_prog_cc_g=no
4773   CFLAGS="-g"
4774   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4775/* end confdefs.h.  */
4776
4777int
4778main (void)
4779{
4780
4781  ;
4782  return 0;
4783}
4784_ACEOF
4785if ac_fn_c_try_compile "$LINENO"
4786then :
4787  ac_cv_prog_cc_g=yes
4788else $as_nop
4789  CFLAGS=""
4790      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4791/* end confdefs.h.  */
4792
4793int
4794main (void)
4795{
4796
4797  ;
4798  return 0;
4799}
4800_ACEOF
4801if ac_fn_c_try_compile "$LINENO"
4802then :
4803
4804else $as_nop
4805  ac_c_werror_flag=$ac_save_c_werror_flag
4806	 CFLAGS="-g"
4807	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4808/* end confdefs.h.  */
4809
4810int
4811main (void)
4812{
4813
4814  ;
4815  return 0;
4816}
4817_ACEOF
4818if ac_fn_c_try_compile "$LINENO"
4819then :
4820  ac_cv_prog_cc_g=yes
4821fi
4822rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4823fi
4824rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4825fi
4826rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4827   ac_c_werror_flag=$ac_save_c_werror_flag
4828fi
4829{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4830printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
4831if test $ac_test_CFLAGS; then
4832  CFLAGS=$ac_save_CFLAGS
4833elif test $ac_cv_prog_cc_g = yes; then
4834  if test "$GCC" = yes; then
4835    CFLAGS="-g -O2"
4836  else
4837    CFLAGS="-g"
4838  fi
4839else
4840  if test "$GCC" = yes; then
4841    CFLAGS="-O2"
4842  else
4843    CFLAGS=
4844  fi
4845fi
4846ac_prog_cc_stdc=no
4847if test x$ac_prog_cc_stdc = xno
4848then :
4849  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
4850printf %s "checking for $CC option to enable C11 features... " >&6; }
4851if test ${ac_cv_prog_cc_c11+y}
4852then :
4853  printf %s "(cached) " >&6
4854else $as_nop
4855  ac_cv_prog_cc_c11=no
4856ac_save_CC=$CC
4857cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4858/* end confdefs.h.  */
4859$ac_c_conftest_c11_program
4860_ACEOF
4861for ac_arg in '' -std=gnu11
4862do
4863  CC="$ac_save_CC $ac_arg"
4864  if ac_fn_c_try_compile "$LINENO"
4865then :
4866  ac_cv_prog_cc_c11=$ac_arg
4867fi
4868rm -f core conftest.err conftest.$ac_objext conftest.beam
4869  test "x$ac_cv_prog_cc_c11" != "xno" && break
4870done
4871rm -f conftest.$ac_ext
4872CC=$ac_save_CC
4873fi
4874
4875if test "x$ac_cv_prog_cc_c11" = xno
4876then :
4877  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4878printf "%s\n" "unsupported" >&6; }
4879else $as_nop
4880  if test "x$ac_cv_prog_cc_c11" = x
4881then :
4882  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4883printf "%s\n" "none needed" >&6; }
4884else $as_nop
4885  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
4886printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
4887     CC="$CC $ac_cv_prog_cc_c11"
4888fi
4889  ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
4890  ac_prog_cc_stdc=c11
4891fi
4892fi
4893if test x$ac_prog_cc_stdc = xno
4894then :
4895  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
4896printf %s "checking for $CC option to enable C99 features... " >&6; }
4897if test ${ac_cv_prog_cc_c99+y}
4898then :
4899  printf %s "(cached) " >&6
4900else $as_nop
4901  ac_cv_prog_cc_c99=no
4902ac_save_CC=$CC
4903cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4904/* end confdefs.h.  */
4905$ac_c_conftest_c99_program
4906_ACEOF
4907for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
4908do
4909  CC="$ac_save_CC $ac_arg"
4910  if ac_fn_c_try_compile "$LINENO"
4911then :
4912  ac_cv_prog_cc_c99=$ac_arg
4913fi
4914rm -f core conftest.err conftest.$ac_objext conftest.beam
4915  test "x$ac_cv_prog_cc_c99" != "xno" && break
4916done
4917rm -f conftest.$ac_ext
4918CC=$ac_save_CC
4919fi
4920
4921if test "x$ac_cv_prog_cc_c99" = xno
4922then :
4923  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4924printf "%s\n" "unsupported" >&6; }
4925else $as_nop
4926  if test "x$ac_cv_prog_cc_c99" = x
4927then :
4928  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4929printf "%s\n" "none needed" >&6; }
4930else $as_nop
4931  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4932printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
4933     CC="$CC $ac_cv_prog_cc_c99"
4934fi
4935  ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
4936  ac_prog_cc_stdc=c99
4937fi
4938fi
4939if test x$ac_prog_cc_stdc = xno
4940then :
4941  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
4942printf %s "checking for $CC option to enable C89 features... " >&6; }
4943if test ${ac_cv_prog_cc_c89+y}
4944then :
4945  printf %s "(cached) " >&6
4946else $as_nop
4947  ac_cv_prog_cc_c89=no
4948ac_save_CC=$CC
4949cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4950/* end confdefs.h.  */
4951$ac_c_conftest_c89_program
4952_ACEOF
4953for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4954do
4955  CC="$ac_save_CC $ac_arg"
4956  if ac_fn_c_try_compile "$LINENO"
4957then :
4958  ac_cv_prog_cc_c89=$ac_arg
4959fi
4960rm -f core conftest.err conftest.$ac_objext conftest.beam
4961  test "x$ac_cv_prog_cc_c89" != "xno" && break
4962done
4963rm -f conftest.$ac_ext
4964CC=$ac_save_CC
4965fi
4966
4967if test "x$ac_cv_prog_cc_c89" = xno
4968then :
4969  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4970printf "%s\n" "unsupported" >&6; }
4971else $as_nop
4972  if test "x$ac_cv_prog_cc_c89" = x
4973then :
4974  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4975printf "%s\n" "none needed" >&6; }
4976else $as_nop
4977  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4978printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
4979     CC="$CC $ac_cv_prog_cc_c89"
4980fi
4981  ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
4982  ac_prog_cc_stdc=c89
4983fi
4984fi
4985
4986ac_ext=c
4987ac_cpp='$CPP $CPPFLAGS'
4988ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4989ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4990ac_compiler_gnu=$ac_cv_c_compiler_gnu
4991
4992
4993  ac_ext=c
4994ac_cpp='$CPP $CPPFLAGS'
4995ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4996ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4997ac_compiler_gnu=$ac_cv_c_compiler_gnu
4998{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4999printf %s "checking whether $CC understands -c and -o together... " >&6; }
5000if test ${am_cv_prog_cc_c_o+y}
5001then :
5002  printf %s "(cached) " >&6
5003else $as_nop
5004  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5005/* end confdefs.h.  */
5006
5007int
5008main (void)
5009{
5010
5011  ;
5012  return 0;
5013}
5014_ACEOF
5015  # Make sure it works both with $CC and with simple cc.
5016  # Following AC_PROG_CC_C_O, we do the test twice because some
5017  # compilers refuse to overwrite an existing .o file with -o,
5018  # though they will create one.
5019  am_cv_prog_cc_c_o=yes
5020  for am_i in 1 2; do
5021    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5022   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5023   ac_status=$?
5024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5025   (exit $ac_status); } \
5026         && test -f conftest2.$ac_objext; then
5027      : OK
5028    else
5029      am_cv_prog_cc_c_o=no
5030      break
5031    fi
5032  done
5033  rm -f core conftest*
5034  unset am_i
5035fi
5036{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5037printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
5038if test "$am_cv_prog_cc_c_o" != yes; then
5039   # Losing compiler, so override with the script.
5040   # FIXME: It is wrong to rewrite CC.
5041   # But if we don't then we get into trouble of one sort or another.
5042   # A longer-term fix would be to have automake use am__CC in this case,
5043   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5044   CC="$am_aux_dir/compile $CC"
5045fi
5046ac_ext=c
5047ac_cpp='$CPP $CPPFLAGS'
5048ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5049ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5050ac_compiler_gnu=$ac_cv_c_compiler_gnu
5051
5052
5053depcc="$CC"   am_compiler_list=
5054
5055{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5056printf %s "checking dependency style of $depcc... " >&6; }
5057if test ${am_cv_CC_dependencies_compiler_type+y}
5058then :
5059  printf %s "(cached) " >&6
5060else $as_nop
5061  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5062  # We make a subdir and do the tests there.  Otherwise we can end up
5063  # making bogus files that we don't know about and never remove.  For
5064  # instance it was reported that on HP-UX the gcc test will end up
5065  # making a dummy file named 'D' -- because '-MD' means "put the output
5066  # in D".
5067  rm -rf conftest.dir
5068  mkdir conftest.dir
5069  # Copy depcomp to subdir because otherwise we won't find it if we're
5070  # using a relative directory.
5071  cp "$am_depcomp" conftest.dir
5072  cd conftest.dir
5073  # We will build objects and dependencies in a subdirectory because
5074  # it helps to detect inapplicable dependency modes.  For instance
5075  # both Tru64's cc and ICC support -MD to output dependencies as a
5076  # side effect of compilation, but ICC will put the dependencies in
5077  # the current directory while Tru64 will put them in the object
5078  # directory.
5079  mkdir sub
5080
5081  am_cv_CC_dependencies_compiler_type=none
5082  if test "$am_compiler_list" = ""; then
5083     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5084  fi
5085  am__universal=false
5086  case " $depcc " in #(
5087     *\ -arch\ *\ -arch\ *) am__universal=true ;;
5088     esac
5089
5090  for depmode in $am_compiler_list; do
5091    # Setup a source with many dependencies, because some compilers
5092    # like to wrap large dependency lists on column 80 (with \), and
5093    # we should not choose a depcomp mode which is confused by this.
5094    #
5095    # We need to recreate these files for each test, as the compiler may
5096    # overwrite some of them when testing with obscure command lines.
5097    # This happens at least with the AIX C compiler.
5098    : > sub/conftest.c
5099    for i in 1 2 3 4 5 6; do
5100      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5101      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5102      # Solaris 10 /bin/sh.
5103      echo '/* dummy */' > sub/conftst$i.h
5104    done
5105    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5106
5107    # We check with '-c' and '-o' for the sake of the "dashmstdout"
5108    # mode.  It turns out that the SunPro C++ compiler does not properly
5109    # handle '-M -o', and we need to detect this.  Also, some Intel
5110    # versions had trouble with output in subdirs.
5111    am__obj=sub/conftest.${OBJEXT-o}
5112    am__minus_obj="-o $am__obj"
5113    case $depmode in
5114    gcc)
5115      # This depmode causes a compiler race in universal mode.
5116      test "$am__universal" = false || continue
5117      ;;
5118    nosideeffect)
5119      # After this tag, mechanisms are not by side-effect, so they'll
5120      # only be used when explicitly requested.
5121      if test "x$enable_dependency_tracking" = xyes; then
5122	continue
5123      else
5124	break
5125      fi
5126      ;;
5127    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5128      # This compiler won't grok '-c -o', but also, the minuso test has
5129      # not run yet.  These depmodes are late enough in the game, and
5130      # so weak that their functioning should not be impacted.
5131      am__obj=conftest.${OBJEXT-o}
5132      am__minus_obj=
5133      ;;
5134    none) break ;;
5135    esac
5136    if depmode=$depmode \
5137       source=sub/conftest.c object=$am__obj \
5138       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5139       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5140         >/dev/null 2>conftest.err &&
5141       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5142       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5143       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5144       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5145      # icc doesn't choke on unknown options, it will just issue warnings
5146      # or remarks (even with -Werror).  So we grep stderr for any message
5147      # that says an option was ignored or not supported.
5148      # When given -MP, icc 7.0 and 7.1 complain thusly:
5149      #   icc: Command line warning: ignoring option '-M'; no argument required
5150      # The diagnosis changed in icc 8.0:
5151      #   icc: Command line remark: option '-MP' not supported
5152      if (grep 'ignoring option' conftest.err ||
5153          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5154        am_cv_CC_dependencies_compiler_type=$depmode
5155        break
5156      fi
5157    fi
5158  done
5159
5160  cd ..
5161  rm -rf conftest.dir
5162else
5163  am_cv_CC_dependencies_compiler_type=none
5164fi
5165
5166fi
5167{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5168printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
5169CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5170
5171 if
5172  test "x$enable_dependency_tracking" != xno \
5173  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5174  am__fastdepCC_TRUE=
5175  am__fastdepCC_FALSE='#'
5176else
5177  am__fastdepCC_TRUE='#'
5178  am__fastdepCC_FALSE=
5179fi
5180
5181
5182
5183
5184  if test -n "$ac_tool_prefix"; then
5185  for ac_prog in ar lib "link -lib"
5186  do
5187    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5188set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5189{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5190printf %s "checking for $ac_word... " >&6; }
5191if test ${ac_cv_prog_AR+y}
5192then :
5193  printf %s "(cached) " >&6
5194else $as_nop
5195  if test -n "$AR"; then
5196  ac_cv_prog_AR="$AR" # Let the user override the test.
5197else
5198as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5199for as_dir in $PATH
5200do
5201  IFS=$as_save_IFS
5202  case $as_dir in #(((
5203    '') as_dir=./ ;;
5204    */) ;;
5205    *) as_dir=$as_dir/ ;;
5206  esac
5207    for ac_exec_ext in '' $ac_executable_extensions; do
5208  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5209    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5210    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5211    break 2
5212  fi
5213done
5214  done
5215IFS=$as_save_IFS
5216
5217fi
5218fi
5219AR=$ac_cv_prog_AR
5220if test -n "$AR"; then
5221  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5222printf "%s\n" "$AR" >&6; }
5223else
5224  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5225printf "%s\n" "no" >&6; }
5226fi
5227
5228
5229    test -n "$AR" && break
5230  done
5231fi
5232if test -z "$AR"; then
5233  ac_ct_AR=$AR
5234  for ac_prog in ar lib "link -lib"
5235do
5236  # Extract the first word of "$ac_prog", so it can be a program name with args.
5237set dummy $ac_prog; ac_word=$2
5238{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5239printf %s "checking for $ac_word... " >&6; }
5240if test ${ac_cv_prog_ac_ct_AR+y}
5241then :
5242  printf %s "(cached) " >&6
5243else $as_nop
5244  if test -n "$ac_ct_AR"; then
5245  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5246else
5247as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5248for as_dir in $PATH
5249do
5250  IFS=$as_save_IFS
5251  case $as_dir in #(((
5252    '') as_dir=./ ;;
5253    */) ;;
5254    *) as_dir=$as_dir/ ;;
5255  esac
5256    for ac_exec_ext in '' $ac_executable_extensions; do
5257  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5258    ac_cv_prog_ac_ct_AR="$ac_prog"
5259    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5260    break 2
5261  fi
5262done
5263  done
5264IFS=$as_save_IFS
5265
5266fi
5267fi
5268ac_ct_AR=$ac_cv_prog_ac_ct_AR
5269if test -n "$ac_ct_AR"; then
5270  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5271printf "%s\n" "$ac_ct_AR" >&6; }
5272else
5273  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5274printf "%s\n" "no" >&6; }
5275fi
5276
5277
5278  test -n "$ac_ct_AR" && break
5279done
5280
5281  if test "x$ac_ct_AR" = x; then
5282    AR="false"
5283  else
5284    case $cross_compiling:$ac_tool_warned in
5285yes:)
5286{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5287printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5288ac_tool_warned=yes ;;
5289esac
5290    AR=$ac_ct_AR
5291  fi
5292fi
5293
5294: ${AR=ar}
5295
5296{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
5297printf %s "checking the archiver ($AR) interface... " >&6; }
5298if test ${am_cv_ar_interface+y}
5299then :
5300  printf %s "(cached) " >&6
5301else $as_nop
5302  ac_ext=c
5303ac_cpp='$CPP $CPPFLAGS'
5304ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5305ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5306ac_compiler_gnu=$ac_cv_c_compiler_gnu
5307
5308   am_cv_ar_interface=ar
5309   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5310/* end confdefs.h.  */
5311int some_variable = 0;
5312_ACEOF
5313if ac_fn_c_try_compile "$LINENO"
5314then :
5315  am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
5316      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
5317  (eval $am_ar_try) 2>&5
5318  ac_status=$?
5319  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5320  test $ac_status = 0; }
5321      if test "$ac_status" -eq 0; then
5322        am_cv_ar_interface=ar
5323      else
5324        am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
5325        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
5326  (eval $am_ar_try) 2>&5
5327  ac_status=$?
5328  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5329  test $ac_status = 0; }
5330        if test "$ac_status" -eq 0; then
5331          am_cv_ar_interface=lib
5332        else
5333          am_cv_ar_interface=unknown
5334        fi
5335      fi
5336      rm -f conftest.lib libconftest.a
5337
5338fi
5339rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5340   ac_ext=c
5341ac_cpp='$CPP $CPPFLAGS'
5342ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5343ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5344ac_compiler_gnu=$ac_cv_c_compiler_gnu
5345
5346fi
5347{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
5348printf "%s\n" "$am_cv_ar_interface" >&6; }
5349
5350case $am_cv_ar_interface in
5351ar)
5352  ;;
5353lib)
5354  # Microsoft lib, so override with the ar-lib wrapper script.
5355  # FIXME: It is wrong to rewrite AR.
5356  # But if we don't then we get into trouble of one sort or another.
5357  # A longer-term fix would be to have automake use am__AR in this case,
5358  # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
5359  # similar.
5360  AR="$am_aux_dir/ar-lib $AR"
5361  ;;
5362unknown)
5363  as_fn_error $? "could not determine $AR interface" "$LINENO" 5
5364  ;;
5365esac
5366
5367
5368{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5369printf %s "checking whether ln -s works... " >&6; }
5370LN_S=$as_ln_s
5371if test "$LN_S" = "ln -s"; then
5372  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5373printf "%s\n" "yes" >&6; }
5374else
5375  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5376printf "%s\n" "no, using $LN_S" >&6; }
5377fi
5378
5379{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5380printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
5381set x ${MAKE-make}
5382ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5383if eval test \${ac_cv_prog_make_${ac_make}_set+y}
5384then :
5385  printf %s "(cached) " >&6
5386else $as_nop
5387  cat >conftest.make <<\_ACEOF
5388SHELL = /bin/sh
5389all:
5390	@echo '@@@%%%=$(MAKE)=@@@%%%'
5391_ACEOF
5392# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
5393case `${MAKE-make} -f conftest.make 2>/dev/null` in
5394  *@@@%%%=?*=@@@%%%*)
5395    eval ac_cv_prog_make_${ac_make}_set=yes;;
5396  *)
5397    eval ac_cv_prog_make_${ac_make}_set=no;;
5398esac
5399rm -f conftest.make
5400fi
5401if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
5402  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5403printf "%s\n" "yes" >&6; }
5404  SET_MAKE=
5405else
5406  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5407printf "%s\n" "no" >&6; }
5408  SET_MAKE="MAKE=${MAKE-make}"
5409fi
5410
5411
5412
5413case `pwd` in
5414  *\ * | *\	*)
5415    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5416printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5417esac
5418
5419
5420
5421macro_version='2.4.6'
5422macro_revision='2.4.6'
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437ltmain=$ac_aux_dir/ltmain.sh
5438
5439# Backslashify metacharacters that are still active within
5440# double-quoted strings.
5441sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5442
5443# Same as above, but do not quote variable references.
5444double_quote_subst='s/\(["`\\]\)/\\\1/g'
5445
5446# Sed substitution to delay expansion of an escaped shell variable in a
5447# double_quote_subst'ed string.
5448delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5449
5450# Sed substitution to delay expansion of an escaped single quote.
5451delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5452
5453# Sed substitution to avoid accidental globbing in evaled expressions
5454no_glob_subst='s/\*/\\\*/g'
5455
5456ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5457ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5458ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5459
5460{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5461printf %s "checking how to print strings... " >&6; }
5462# Test print first, because it will be a builtin if present.
5463if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5464   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5465  ECHO='print -r --'
5466elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5467  ECHO='printf %s\n'
5468else
5469  # Use this function as a fallback that always works.
5470  func_fallback_echo ()
5471  {
5472    eval 'cat <<_LTECHO_EOF
5473$1
5474_LTECHO_EOF'
5475  }
5476  ECHO='func_fallback_echo'
5477fi
5478
5479# func_echo_all arg...
5480# Invoke $ECHO with all args, space-separated.
5481func_echo_all ()
5482{
5483    $ECHO ""
5484}
5485
5486case $ECHO in
5487  printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5488printf "%s\n" "printf" >&6; } ;;
5489  print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5490printf "%s\n" "print -r" >&6; } ;;
5491  *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5492printf "%s\n" "cat" >&6; } ;;
5493esac
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5509printf %s "checking for a sed that does not truncate output... " >&6; }
5510if test ${ac_cv_path_SED+y}
5511then :
5512  printf %s "(cached) " >&6
5513else $as_nop
5514            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5515     for ac_i in 1 2 3 4 5 6 7; do
5516       ac_script="$ac_script$as_nl$ac_script"
5517     done
5518     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5519     { ac_script=; unset ac_script;}
5520     if test -z "$SED"; then
5521  ac_path_SED_found=false
5522  # Loop through the user's path and test for each of PROGNAME-LIST
5523  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5524for as_dir in $PATH
5525do
5526  IFS=$as_save_IFS
5527  case $as_dir in #(((
5528    '') as_dir=./ ;;
5529    */) ;;
5530    *) as_dir=$as_dir/ ;;
5531  esac
5532    for ac_prog in sed gsed
5533   do
5534    for ac_exec_ext in '' $ac_executable_extensions; do
5535      ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
5536      as_fn_executable_p "$ac_path_SED" || continue
5537# Check for GNU ac_path_SED and select it if it is found.
5538  # Check for GNU $ac_path_SED
5539case `"$ac_path_SED" --version 2>&1` in
5540*GNU*)
5541  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5542*)
5543  ac_count=0
5544  printf %s 0123456789 >"conftest.in"
5545  while :
5546  do
5547    cat "conftest.in" "conftest.in" >"conftest.tmp"
5548    mv "conftest.tmp" "conftest.in"
5549    cp "conftest.in" "conftest.nl"
5550    printf "%s\n" '' >> "conftest.nl"
5551    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5552    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5553    as_fn_arith $ac_count + 1 && ac_count=$as_val
5554    if test $ac_count -gt ${ac_path_SED_max-0}; then
5555      # Best one so far, save it but keep looking for a better one
5556      ac_cv_path_SED="$ac_path_SED"
5557      ac_path_SED_max=$ac_count
5558    fi
5559    # 10*(2^10) chars as input seems more than enough
5560    test $ac_count -gt 10 && break
5561  done
5562  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5563esac
5564
5565      $ac_path_SED_found && break 3
5566    done
5567  done
5568  done
5569IFS=$as_save_IFS
5570  if test -z "$ac_cv_path_SED"; then
5571    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5572  fi
5573else
5574  ac_cv_path_SED=$SED
5575fi
5576
5577fi
5578{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5579printf "%s\n" "$ac_cv_path_SED" >&6; }
5580 SED="$ac_cv_path_SED"
5581  rm -f conftest.sed
5582
5583test -z "$SED" && SED=sed
5584Xsed="$SED -e 1s/^X//"
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5597printf %s "checking for grep that handles long lines and -e... " >&6; }
5598if test ${ac_cv_path_GREP+y}
5599then :
5600  printf %s "(cached) " >&6
5601else $as_nop
5602  if test -z "$GREP"; then
5603  ac_path_GREP_found=false
5604  # Loop through the user's path and test for each of PROGNAME-LIST
5605  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5606for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5607do
5608  IFS=$as_save_IFS
5609  case $as_dir in #(((
5610    '') as_dir=./ ;;
5611    */) ;;
5612    *) as_dir=$as_dir/ ;;
5613  esac
5614    for ac_prog in grep ggrep
5615   do
5616    for ac_exec_ext in '' $ac_executable_extensions; do
5617      ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
5618      as_fn_executable_p "$ac_path_GREP" || continue
5619# Check for GNU ac_path_GREP and select it if it is found.
5620  # Check for GNU $ac_path_GREP
5621case `"$ac_path_GREP" --version 2>&1` in
5622*GNU*)
5623  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5624*)
5625  ac_count=0
5626  printf %s 0123456789 >"conftest.in"
5627  while :
5628  do
5629    cat "conftest.in" "conftest.in" >"conftest.tmp"
5630    mv "conftest.tmp" "conftest.in"
5631    cp "conftest.in" "conftest.nl"
5632    printf "%s\n" 'GREP' >> "conftest.nl"
5633    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5634    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5635    as_fn_arith $ac_count + 1 && ac_count=$as_val
5636    if test $ac_count -gt ${ac_path_GREP_max-0}; then
5637      # Best one so far, save it but keep looking for a better one
5638      ac_cv_path_GREP="$ac_path_GREP"
5639      ac_path_GREP_max=$ac_count
5640    fi
5641    # 10*(2^10) chars as input seems more than enough
5642    test $ac_count -gt 10 && break
5643  done
5644  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5645esac
5646
5647      $ac_path_GREP_found && break 3
5648    done
5649  done
5650  done
5651IFS=$as_save_IFS
5652  if test -z "$ac_cv_path_GREP"; then
5653    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5654  fi
5655else
5656  ac_cv_path_GREP=$GREP
5657fi
5658
5659fi
5660{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5661printf "%s\n" "$ac_cv_path_GREP" >&6; }
5662 GREP="$ac_cv_path_GREP"
5663
5664
5665{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5666printf %s "checking for egrep... " >&6; }
5667if test ${ac_cv_path_EGREP+y}
5668then :
5669  printf %s "(cached) " >&6
5670else $as_nop
5671  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5672   then ac_cv_path_EGREP="$GREP -E"
5673   else
5674     if test -z "$EGREP"; then
5675  ac_path_EGREP_found=false
5676  # Loop through the user's path and test for each of PROGNAME-LIST
5677  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5678for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5679do
5680  IFS=$as_save_IFS
5681  case $as_dir in #(((
5682    '') as_dir=./ ;;
5683    */) ;;
5684    *) as_dir=$as_dir/ ;;
5685  esac
5686    for ac_prog in egrep
5687   do
5688    for ac_exec_ext in '' $ac_executable_extensions; do
5689      ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
5690      as_fn_executable_p "$ac_path_EGREP" || continue
5691# Check for GNU ac_path_EGREP and select it if it is found.
5692  # Check for GNU $ac_path_EGREP
5693case `"$ac_path_EGREP" --version 2>&1` in
5694*GNU*)
5695  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5696*)
5697  ac_count=0
5698  printf %s 0123456789 >"conftest.in"
5699  while :
5700  do
5701    cat "conftest.in" "conftest.in" >"conftest.tmp"
5702    mv "conftest.tmp" "conftest.in"
5703    cp "conftest.in" "conftest.nl"
5704    printf "%s\n" 'EGREP' >> "conftest.nl"
5705    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5706    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5707    as_fn_arith $ac_count + 1 && ac_count=$as_val
5708    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5709      # Best one so far, save it but keep looking for a better one
5710      ac_cv_path_EGREP="$ac_path_EGREP"
5711      ac_path_EGREP_max=$ac_count
5712    fi
5713    # 10*(2^10) chars as input seems more than enough
5714    test $ac_count -gt 10 && break
5715  done
5716  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5717esac
5718
5719      $ac_path_EGREP_found && break 3
5720    done
5721  done
5722  done
5723IFS=$as_save_IFS
5724  if test -z "$ac_cv_path_EGREP"; then
5725    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5726  fi
5727else
5728  ac_cv_path_EGREP=$EGREP
5729fi
5730
5731   fi
5732fi
5733{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5734printf "%s\n" "$ac_cv_path_EGREP" >&6; }
5735 EGREP="$ac_cv_path_EGREP"
5736
5737
5738{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5739printf %s "checking for fgrep... " >&6; }
5740if test ${ac_cv_path_FGREP+y}
5741then :
5742  printf %s "(cached) " >&6
5743else $as_nop
5744  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5745   then ac_cv_path_FGREP="$GREP -F"
5746   else
5747     if test -z "$FGREP"; then
5748  ac_path_FGREP_found=false
5749  # Loop through the user's path and test for each of PROGNAME-LIST
5750  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5751for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5752do
5753  IFS=$as_save_IFS
5754  case $as_dir in #(((
5755    '') as_dir=./ ;;
5756    */) ;;
5757    *) as_dir=$as_dir/ ;;
5758  esac
5759    for ac_prog in fgrep
5760   do
5761    for ac_exec_ext in '' $ac_executable_extensions; do
5762      ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
5763      as_fn_executable_p "$ac_path_FGREP" || continue
5764# Check for GNU ac_path_FGREP and select it if it is found.
5765  # Check for GNU $ac_path_FGREP
5766case `"$ac_path_FGREP" --version 2>&1` in
5767*GNU*)
5768  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5769*)
5770  ac_count=0
5771  printf %s 0123456789 >"conftest.in"
5772  while :
5773  do
5774    cat "conftest.in" "conftest.in" >"conftest.tmp"
5775    mv "conftest.tmp" "conftest.in"
5776    cp "conftest.in" "conftest.nl"
5777    printf "%s\n" 'FGREP' >> "conftest.nl"
5778    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5779    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5780    as_fn_arith $ac_count + 1 && ac_count=$as_val
5781    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5782      # Best one so far, save it but keep looking for a better one
5783      ac_cv_path_FGREP="$ac_path_FGREP"
5784      ac_path_FGREP_max=$ac_count
5785    fi
5786    # 10*(2^10) chars as input seems more than enough
5787    test $ac_count -gt 10 && break
5788  done
5789  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5790esac
5791
5792      $ac_path_FGREP_found && break 3
5793    done
5794  done
5795  done
5796IFS=$as_save_IFS
5797  if test -z "$ac_cv_path_FGREP"; then
5798    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5799  fi
5800else
5801  ac_cv_path_FGREP=$FGREP
5802fi
5803
5804   fi
5805fi
5806{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5807printf "%s\n" "$ac_cv_path_FGREP" >&6; }
5808 FGREP="$ac_cv_path_FGREP"
5809
5810
5811test -z "$GREP" && GREP=grep
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831# Check whether --with-gnu-ld was given.
5832if test ${with_gnu_ld+y}
5833then :
5834  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5835else $as_nop
5836  with_gnu_ld=no
5837fi
5838
5839ac_prog=ld
5840if test yes = "$GCC"; then
5841  # Check if gcc -print-prog-name=ld gives a path.
5842  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5843printf %s "checking for ld used by $CC... " >&6; }
5844  case $host in
5845  *-*-mingw*)
5846    # gcc leaves a trailing carriage return, which upsets mingw
5847    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5848  *)
5849    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5850  esac
5851  case $ac_prog in
5852    # Accept absolute paths.
5853    [\\/]* | ?:[\\/]*)
5854      re_direlt='/[^/][^/]*/\.\./'
5855      # Canonicalize the pathname of ld
5856      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5857      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5858	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5859      done
5860      test -z "$LD" && LD=$ac_prog
5861      ;;
5862  "")
5863    # If it fails, then pretend we aren't using GCC.
5864    ac_prog=ld
5865    ;;
5866  *)
5867    # If it is relative, then search for the first ld in PATH.
5868    with_gnu_ld=unknown
5869    ;;
5870  esac
5871elif test yes = "$with_gnu_ld"; then
5872  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5873printf %s "checking for GNU ld... " >&6; }
5874else
5875  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5876printf %s "checking for non-GNU ld... " >&6; }
5877fi
5878if test ${lt_cv_path_LD+y}
5879then :
5880  printf %s "(cached) " >&6
5881else $as_nop
5882  if test -z "$LD"; then
5883  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5884  for ac_dir in $PATH; do
5885    IFS=$lt_save_ifs
5886    test -z "$ac_dir" && ac_dir=.
5887    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5888      lt_cv_path_LD=$ac_dir/$ac_prog
5889      # Check to see if the program is GNU ld.  I'd rather use --version,
5890      # but apparently some variants of GNU ld only accept -v.
5891      # Break only if it was the GNU/non-GNU ld that we prefer.
5892      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5893      *GNU* | *'with BFD'*)
5894	test no != "$with_gnu_ld" && break
5895	;;
5896      *)
5897	test yes != "$with_gnu_ld" && break
5898	;;
5899      esac
5900    fi
5901  done
5902  IFS=$lt_save_ifs
5903else
5904  lt_cv_path_LD=$LD # Let the user override the test with a path.
5905fi
5906fi
5907
5908LD=$lt_cv_path_LD
5909if test -n "$LD"; then
5910  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5911printf "%s\n" "$LD" >&6; }
5912else
5913  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5914printf "%s\n" "no" >&6; }
5915fi
5916test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5917{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5918printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
5919if test ${lt_cv_prog_gnu_ld+y}
5920then :
5921  printf %s "(cached) " >&6
5922else $as_nop
5923  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5924case `$LD -v 2>&1 </dev/null` in
5925*GNU* | *'with BFD'*)
5926  lt_cv_prog_gnu_ld=yes
5927  ;;
5928*)
5929  lt_cv_prog_gnu_ld=no
5930  ;;
5931esac
5932fi
5933{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5934printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
5935with_gnu_ld=$lt_cv_prog_gnu_ld
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5946printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5947if test ${lt_cv_path_NM+y}
5948then :
5949  printf %s "(cached) " >&6
5950else $as_nop
5951  if test -n "$NM"; then
5952  # Let the user override the test.
5953  lt_cv_path_NM=$NM
5954else
5955  lt_nm_to_check=${ac_tool_prefix}nm
5956  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5957    lt_nm_to_check="$lt_nm_to_check nm"
5958  fi
5959  for lt_tmp_nm in $lt_nm_to_check; do
5960    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5961    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5962      IFS=$lt_save_ifs
5963      test -z "$ac_dir" && ac_dir=.
5964      tmp_nm=$ac_dir/$lt_tmp_nm
5965      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5966	# Check to see if the nm accepts a BSD-compat flag.
5967	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5968	#   nm: unknown option "B" ignored
5969	# Tru64's nm complains that /dev/null is an invalid object file
5970	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5971	case $build_os in
5972	mingw*) lt_bad_file=conftest.nm/nofile ;;
5973	*) lt_bad_file=/dev/null ;;
5974	esac
5975	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
5976	*$lt_bad_file* | *'Invalid file or object type'*)
5977	  lt_cv_path_NM="$tmp_nm -B"
5978	  break 2
5979	  ;;
5980	*)
5981	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5982	  */dev/null*)
5983	    lt_cv_path_NM="$tmp_nm -p"
5984	    break 2
5985	    ;;
5986	  *)
5987	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5988	    continue # so that we can try to find one that supports BSD flags
5989	    ;;
5990	  esac
5991	  ;;
5992	esac
5993      fi
5994    done
5995    IFS=$lt_save_ifs
5996  done
5997  : ${lt_cv_path_NM=no}
5998fi
5999fi
6000{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6001printf "%s\n" "$lt_cv_path_NM" >&6; }
6002if test no != "$lt_cv_path_NM"; then
6003  NM=$lt_cv_path_NM
6004else
6005  # Didn't find any BSD compatible name lister, look for dumpbin.
6006  if test -n "$DUMPBIN"; then :
6007    # Let the user override the test.
6008  else
6009    if test -n "$ac_tool_prefix"; then
6010  for ac_prog in dumpbin "link -dump"
6011  do
6012    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6013set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6014{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6015printf %s "checking for $ac_word... " >&6; }
6016if test ${ac_cv_prog_DUMPBIN+y}
6017then :
6018  printf %s "(cached) " >&6
6019else $as_nop
6020  if test -n "$DUMPBIN"; then
6021  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6022else
6023as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6024for as_dir in $PATH
6025do
6026  IFS=$as_save_IFS
6027  case $as_dir in #(((
6028    '') as_dir=./ ;;
6029    */) ;;
6030    *) as_dir=$as_dir/ ;;
6031  esac
6032    for ac_exec_ext in '' $ac_executable_extensions; do
6033  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6034    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6035    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6036    break 2
6037  fi
6038done
6039  done
6040IFS=$as_save_IFS
6041
6042fi
6043fi
6044DUMPBIN=$ac_cv_prog_DUMPBIN
6045if test -n "$DUMPBIN"; then
6046  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6047printf "%s\n" "$DUMPBIN" >&6; }
6048else
6049  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6050printf "%s\n" "no" >&6; }
6051fi
6052
6053
6054    test -n "$DUMPBIN" && break
6055  done
6056fi
6057if test -z "$DUMPBIN"; then
6058  ac_ct_DUMPBIN=$DUMPBIN
6059  for ac_prog in dumpbin "link -dump"
6060do
6061  # Extract the first word of "$ac_prog", so it can be a program name with args.
6062set dummy $ac_prog; ac_word=$2
6063{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6064printf %s "checking for $ac_word... " >&6; }
6065if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
6066then :
6067  printf %s "(cached) " >&6
6068else $as_nop
6069  if test -n "$ac_ct_DUMPBIN"; then
6070  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6071else
6072as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6073for as_dir in $PATH
6074do
6075  IFS=$as_save_IFS
6076  case $as_dir in #(((
6077    '') as_dir=./ ;;
6078    */) ;;
6079    *) as_dir=$as_dir/ ;;
6080  esac
6081    for ac_exec_ext in '' $ac_executable_extensions; do
6082  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6083    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6084    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6085    break 2
6086  fi
6087done
6088  done
6089IFS=$as_save_IFS
6090
6091fi
6092fi
6093ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6094if test -n "$ac_ct_DUMPBIN"; then
6095  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6096printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
6097else
6098  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6099printf "%s\n" "no" >&6; }
6100fi
6101
6102
6103  test -n "$ac_ct_DUMPBIN" && break
6104done
6105
6106  if test "x$ac_ct_DUMPBIN" = x; then
6107    DUMPBIN=":"
6108  else
6109    case $cross_compiling:$ac_tool_warned in
6110yes:)
6111{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6112printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6113ac_tool_warned=yes ;;
6114esac
6115    DUMPBIN=$ac_ct_DUMPBIN
6116  fi
6117fi
6118
6119    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
6120    *COFF*)
6121      DUMPBIN="$DUMPBIN -symbols -headers"
6122      ;;
6123    *)
6124      DUMPBIN=:
6125      ;;
6126    esac
6127  fi
6128
6129  if test : != "$DUMPBIN"; then
6130    NM=$DUMPBIN
6131  fi
6132fi
6133test -z "$NM" && NM=nm
6134
6135
6136
6137
6138
6139
6140{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6141printf %s "checking the name lister ($NM) interface... " >&6; }
6142if test ${lt_cv_nm_interface+y}
6143then :
6144  printf %s "(cached) " >&6
6145else $as_nop
6146  lt_cv_nm_interface="BSD nm"
6147  echo "int some_variable = 0;" > conftest.$ac_ext
6148  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6149  (eval "$ac_compile" 2>conftest.err)
6150  cat conftest.err >&5
6151  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6152  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6153  cat conftest.err >&5
6154  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6155  cat conftest.out >&5
6156  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6157    lt_cv_nm_interface="MS dumpbin"
6158  fi
6159  rm -f conftest*
6160fi
6161{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6162printf "%s\n" "$lt_cv_nm_interface" >&6; }
6163
6164# find the maximum length of command line arguments
6165{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6166printf %s "checking the maximum length of command line arguments... " >&6; }
6167if test ${lt_cv_sys_max_cmd_len+y}
6168then :
6169  printf %s "(cached) " >&6
6170else $as_nop
6171    i=0
6172  teststring=ABCD
6173
6174  case $build_os in
6175  msdosdjgpp*)
6176    # On DJGPP, this test can blow up pretty badly due to problems in libc
6177    # (any single argument exceeding 2000 bytes causes a buffer overrun
6178    # during glob expansion).  Even if it were fixed, the result of this
6179    # check would be larger than it should be.
6180    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6181    ;;
6182
6183  gnu*)
6184    # Under GNU Hurd, this test is not required because there is
6185    # no limit to the length of command line arguments.
6186    # Libtool will interpret -1 as no limit whatsoever
6187    lt_cv_sys_max_cmd_len=-1;
6188    ;;
6189
6190  cygwin* | mingw* | cegcc*)
6191    # On Win9x/ME, this test blows up -- it succeeds, but takes
6192    # about 5 minutes as the teststring grows exponentially.
6193    # Worse, since 9x/ME are not pre-emptively multitasking,
6194    # you end up with a "frozen" computer, even though with patience
6195    # the test eventually succeeds (with a max line length of 256k).
6196    # Instead, let's just punt: use the minimum linelength reported by
6197    # all of the supported platforms: 8192 (on NT/2K/XP).
6198    lt_cv_sys_max_cmd_len=8192;
6199    ;;
6200
6201  mint*)
6202    # On MiNT this can take a long time and run out of memory.
6203    lt_cv_sys_max_cmd_len=8192;
6204    ;;
6205
6206  mint*)
6207    # On MiNT this can take a long time and run out of memory.
6208    lt_cv_sys_max_cmd_len=8192;
6209    ;;
6210
6211  amigaos*)
6212    # On AmigaOS with pdksh, this test takes hours, literally.
6213    # So we just punt and use a minimum line length of 8192.
6214    lt_cv_sys_max_cmd_len=8192;
6215    ;;
6216
6217  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
6218    # This has been around since 386BSD, at least.  Likely further.
6219    if test -x /sbin/sysctl; then
6220      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6221    elif test -x /usr/sbin/sysctl; then
6222      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6223    else
6224      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
6225    fi
6226    # And add a safety zone
6227    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6228    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6229    ;;
6230
6231  interix*)
6232    # We know the value 262144 and hardcode it with a safety zone (like BSD)
6233    lt_cv_sys_max_cmd_len=196608
6234    ;;
6235
6236  os2*)
6237    # The test takes a long time on OS/2.
6238    lt_cv_sys_max_cmd_len=8192
6239    ;;
6240
6241  osf*)
6242    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6243    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6244    # nice to cause kernel panics so lets avoid the loop below.
6245    # First set a reasonable default.
6246    lt_cv_sys_max_cmd_len=16384
6247    #
6248    if test -x /sbin/sysconfig; then
6249      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6250        *1*) lt_cv_sys_max_cmd_len=-1 ;;
6251      esac
6252    fi
6253    ;;
6254  sco3.2v5*)
6255    lt_cv_sys_max_cmd_len=102400
6256    ;;
6257  sysv5* | sco5v6* | sysv4.2uw2*)
6258    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6259    if test -n "$kargmax"; then
6260      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
6261    else
6262      lt_cv_sys_max_cmd_len=32768
6263    fi
6264    ;;
6265  *)
6266    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6267    if test -n "$lt_cv_sys_max_cmd_len" && \
6268       test undefined != "$lt_cv_sys_max_cmd_len"; then
6269      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6270      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6271    else
6272      # Make teststring a little bigger before we do anything with it.
6273      # a 1K string should be a reasonable start.
6274      for i in 1 2 3 4 5 6 7 8; do
6275        teststring=$teststring$teststring
6276      done
6277      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6278      # If test is not a shell built-in, we'll probably end up computing a
6279      # maximum length that is only half of the actual maximum length, but
6280      # we can't tell.
6281      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
6282	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6283	      test 17 != "$i" # 1/2 MB should be enough
6284      do
6285        i=`expr $i + 1`
6286        teststring=$teststring$teststring
6287      done
6288      # Only check the string length outside the loop.
6289      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6290      teststring=
6291      # Add a significant safety factor because C++ compilers can tack on
6292      # massive amounts of additional arguments before passing them to the
6293      # linker.  It appears as though 1/2 is a usable value.
6294      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6295    fi
6296    ;;
6297  esac
6298
6299fi
6300
6301if test -n "$lt_cv_sys_max_cmd_len"; then
6302  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6303printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
6304else
6305  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
6306printf "%s\n" "none" >&6; }
6307fi
6308max_cmd_len=$lt_cv_sys_max_cmd_len
6309
6310
6311
6312
6313
6314
6315: ${CP="cp -f"}
6316: ${MV="mv -f"}
6317: ${RM="rm -f"}
6318
6319if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6320  lt_unset=unset
6321else
6322  lt_unset=false
6323fi
6324
6325
6326
6327
6328
6329# test EBCDIC or ASCII
6330case `echo X|tr X '\101'` in
6331 A) # ASCII based system
6332    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6333  lt_SP2NL='tr \040 \012'
6334  lt_NL2SP='tr \015\012 \040\040'
6335  ;;
6336 *) # EBCDIC based system
6337  lt_SP2NL='tr \100 \n'
6338  lt_NL2SP='tr \r\n \100\100'
6339  ;;
6340esac
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6351printf %s "checking how to convert $build file names to $host format... " >&6; }
6352if test ${lt_cv_to_host_file_cmd+y}
6353then :
6354  printf %s "(cached) " >&6
6355else $as_nop
6356  case $host in
6357  *-*-mingw* )
6358    case $build in
6359      *-*-mingw* ) # actually msys
6360        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6361        ;;
6362      *-*-cygwin* )
6363        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6364        ;;
6365      * ) # otherwise, assume *nix
6366        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6367        ;;
6368    esac
6369    ;;
6370  *-*-cygwin* )
6371    case $build in
6372      *-*-mingw* ) # actually msys
6373        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6374        ;;
6375      *-*-cygwin* )
6376        lt_cv_to_host_file_cmd=func_convert_file_noop
6377        ;;
6378      * ) # otherwise, assume *nix
6379        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6380        ;;
6381    esac
6382    ;;
6383  * ) # unhandled hosts (and "normal" native builds)
6384    lt_cv_to_host_file_cmd=func_convert_file_noop
6385    ;;
6386esac
6387
6388fi
6389
6390to_host_file_cmd=$lt_cv_to_host_file_cmd
6391{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6392printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
6393
6394
6395
6396
6397
6398{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6399printf %s "checking how to convert $build file names to toolchain format... " >&6; }
6400if test ${lt_cv_to_tool_file_cmd+y}
6401then :
6402  printf %s "(cached) " >&6
6403else $as_nop
6404  #assume ordinary cross tools, or native build.
6405lt_cv_to_tool_file_cmd=func_convert_file_noop
6406case $host in
6407  *-*-mingw* )
6408    case $build in
6409      *-*-mingw* ) # actually msys
6410        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6411        ;;
6412    esac
6413    ;;
6414esac
6415
6416fi
6417
6418to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6419{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6420printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
6421
6422
6423
6424
6425
6426{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6427printf %s "checking for $LD option to reload object files... " >&6; }
6428if test ${lt_cv_ld_reload_flag+y}
6429then :
6430  printf %s "(cached) " >&6
6431else $as_nop
6432  lt_cv_ld_reload_flag='-r'
6433fi
6434{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6435printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
6436reload_flag=$lt_cv_ld_reload_flag
6437case $reload_flag in
6438"" | " "*) ;;
6439*) reload_flag=" $reload_flag" ;;
6440esac
6441reload_cmds='$LD$reload_flag -o $output$reload_objs'
6442case $host_os in
6443  cygwin* | mingw* | pw32* | cegcc*)
6444    if test yes != "$GCC"; then
6445      reload_cmds=false
6446    fi
6447    ;;
6448  darwin*)
6449    if test yes = "$GCC"; then
6450      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6451    else
6452      reload_cmds='$LD$reload_flag -o $output$reload_objs'
6453    fi
6454    ;;
6455esac
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465if test -n "$ac_tool_prefix"; then
6466  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6467set dummy ${ac_tool_prefix}objdump; ac_word=$2
6468{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6469printf %s "checking for $ac_word... " >&6; }
6470if test ${ac_cv_prog_OBJDUMP+y}
6471then :
6472  printf %s "(cached) " >&6
6473else $as_nop
6474  if test -n "$OBJDUMP"; then
6475  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6476else
6477as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6478for as_dir in $PATH
6479do
6480  IFS=$as_save_IFS
6481  case $as_dir in #(((
6482    '') as_dir=./ ;;
6483    */) ;;
6484    *) as_dir=$as_dir/ ;;
6485  esac
6486    for ac_exec_ext in '' $ac_executable_extensions; do
6487  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6488    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6489    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6490    break 2
6491  fi
6492done
6493  done
6494IFS=$as_save_IFS
6495
6496fi
6497fi
6498OBJDUMP=$ac_cv_prog_OBJDUMP
6499if test -n "$OBJDUMP"; then
6500  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6501printf "%s\n" "$OBJDUMP" >&6; }
6502else
6503  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6504printf "%s\n" "no" >&6; }
6505fi
6506
6507
6508fi
6509if test -z "$ac_cv_prog_OBJDUMP"; then
6510  ac_ct_OBJDUMP=$OBJDUMP
6511  # Extract the first word of "objdump", so it can be a program name with args.
6512set dummy objdump; ac_word=$2
6513{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6514printf %s "checking for $ac_word... " >&6; }
6515if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
6516then :
6517  printf %s "(cached) " >&6
6518else $as_nop
6519  if test -n "$ac_ct_OBJDUMP"; then
6520  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6521else
6522as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6523for as_dir in $PATH
6524do
6525  IFS=$as_save_IFS
6526  case $as_dir in #(((
6527    '') as_dir=./ ;;
6528    */) ;;
6529    *) as_dir=$as_dir/ ;;
6530  esac
6531    for ac_exec_ext in '' $ac_executable_extensions; do
6532  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6533    ac_cv_prog_ac_ct_OBJDUMP="objdump"
6534    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6535    break 2
6536  fi
6537done
6538  done
6539IFS=$as_save_IFS
6540
6541fi
6542fi
6543ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6544if test -n "$ac_ct_OBJDUMP"; then
6545  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6546printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
6547else
6548  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6549printf "%s\n" "no" >&6; }
6550fi
6551
6552  if test "x$ac_ct_OBJDUMP" = x; then
6553    OBJDUMP="false"
6554  else
6555    case $cross_compiling:$ac_tool_warned in
6556yes:)
6557{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6558printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6559ac_tool_warned=yes ;;
6560esac
6561    OBJDUMP=$ac_ct_OBJDUMP
6562  fi
6563else
6564  OBJDUMP="$ac_cv_prog_OBJDUMP"
6565fi
6566
6567test -z "$OBJDUMP" && OBJDUMP=objdump
6568
6569
6570
6571
6572
6573
6574{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6575printf %s "checking how to recognize dependent libraries... " >&6; }
6576if test ${lt_cv_deplibs_check_method+y}
6577then :
6578  printf %s "(cached) " >&6
6579else $as_nop
6580  lt_cv_file_magic_cmd='$MAGIC_CMD'
6581lt_cv_file_magic_test_file=
6582lt_cv_deplibs_check_method='unknown'
6583# Need to set the preceding variable on all platforms that support
6584# interlibrary dependencies.
6585# 'none' -- dependencies not supported.
6586# 'unknown' -- same as none, but documents that we really don't know.
6587# 'pass_all' -- all dependencies passed with no checks.
6588# 'test_compile' -- check by making test program.
6589# 'file_magic [[regex]]' -- check by looking for files in library path
6590# that responds to the $file_magic_cmd with a given extended regex.
6591# If you have 'file' or equivalent on your system and you're not sure
6592# whether 'pass_all' will *always* work, you probably want this one.
6593
6594case $host_os in
6595aix[4-9]*)
6596  lt_cv_deplibs_check_method=pass_all
6597  ;;
6598
6599beos*)
6600  lt_cv_deplibs_check_method=pass_all
6601  ;;
6602
6603bsdi[45]*)
6604  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6605  lt_cv_file_magic_cmd='/usr/bin/file -L'
6606  lt_cv_file_magic_test_file=/shlib/libc.so
6607  ;;
6608
6609cygwin*)
6610  # func_win32_libid is a shell function defined in ltmain.sh
6611  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6612  lt_cv_file_magic_cmd='func_win32_libid'
6613  ;;
6614
6615mingw* | pw32*)
6616  # Base MSYS/MinGW do not provide the 'file' command needed by
6617  # func_win32_libid shell function, so use a weaker test based on 'objdump',
6618  # unless we find 'file', for example because we are cross-compiling.
6619  if ( file / ) >/dev/null 2>&1; then
6620    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6621    lt_cv_file_magic_cmd='func_win32_libid'
6622  else
6623    # Keep this pattern in sync with the one in func_win32_libid.
6624    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6625    lt_cv_file_magic_cmd='$OBJDUMP -f'
6626  fi
6627  ;;
6628
6629cegcc*)
6630  # use the weaker test based on 'objdump'. See mingw*.
6631  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6632  lt_cv_file_magic_cmd='$OBJDUMP -f'
6633  ;;
6634
6635darwin* | rhapsody*)
6636  lt_cv_deplibs_check_method=pass_all
6637  ;;
6638
6639freebsd* | dragonfly*)
6640  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6641    case $host_cpu in
6642    i*86 )
6643      # Not sure whether the presence of OpenBSD here was a mistake.
6644      # Let's accept both of them until this is cleared up.
6645      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6646      lt_cv_file_magic_cmd=/usr/bin/file
6647      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6648      ;;
6649    esac
6650  else
6651    lt_cv_deplibs_check_method=pass_all
6652  fi
6653  ;;
6654
6655haiku*)
6656  lt_cv_deplibs_check_method=pass_all
6657  ;;
6658
6659hpux10.20* | hpux11*)
6660  lt_cv_file_magic_cmd=/usr/bin/file
6661  case $host_cpu in
6662  ia64*)
6663    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6664    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6665    ;;
6666  hppa*64*)
6667    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]'
6668    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6669    ;;
6670  *)
6671    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6672    lt_cv_file_magic_test_file=/usr/lib/libc.sl
6673    ;;
6674  esac
6675  ;;
6676
6677interix[3-9]*)
6678  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6679  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6680  ;;
6681
6682irix5* | irix6* | nonstopux*)
6683  case $LD in
6684  *-32|*"-32 ") libmagic=32-bit;;
6685  *-n32|*"-n32 ") libmagic=N32;;
6686  *-64|*"-64 ") libmagic=64-bit;;
6687  *) libmagic=never-match;;
6688  esac
6689  lt_cv_deplibs_check_method=pass_all
6690  ;;
6691
6692# This must be glibc/ELF.
6693linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6694  lt_cv_deplibs_check_method=pass_all
6695  ;;
6696
6697netbsd*)
6698  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6699    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6700  else
6701    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6702  fi
6703  ;;
6704
6705newos6*)
6706  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6707  lt_cv_file_magic_cmd=/usr/bin/file
6708  lt_cv_file_magic_test_file=/usr/lib/libnls.so
6709  ;;
6710
6711*nto* | *qnx*)
6712  lt_cv_deplibs_check_method=pass_all
6713  ;;
6714
6715openbsd* | bitrig*)
6716  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6717    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6718  else
6719    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6720  fi
6721  ;;
6722
6723osf3* | osf4* | osf5*)
6724  lt_cv_deplibs_check_method=pass_all
6725  ;;
6726
6727rdos*)
6728  lt_cv_deplibs_check_method=pass_all
6729  ;;
6730
6731solaris*)
6732  lt_cv_deplibs_check_method=pass_all
6733  ;;
6734
6735sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6736  lt_cv_deplibs_check_method=pass_all
6737  ;;
6738
6739sysv4 | sysv4.3*)
6740  case $host_vendor in
6741  motorola)
6742    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]'
6743    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6744    ;;
6745  ncr)
6746    lt_cv_deplibs_check_method=pass_all
6747    ;;
6748  sequent)
6749    lt_cv_file_magic_cmd='/bin/file'
6750    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6751    ;;
6752  sni)
6753    lt_cv_file_magic_cmd='/bin/file'
6754    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6755    lt_cv_file_magic_test_file=/lib/libc.so
6756    ;;
6757  siemens)
6758    lt_cv_deplibs_check_method=pass_all
6759    ;;
6760  pc)
6761    lt_cv_deplibs_check_method=pass_all
6762    ;;
6763  esac
6764  ;;
6765
6766tpf*)
6767  lt_cv_deplibs_check_method=pass_all
6768  ;;
6769os2*)
6770  lt_cv_deplibs_check_method=pass_all
6771  ;;
6772esac
6773
6774fi
6775{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6776printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
6777
6778file_magic_glob=
6779want_nocaseglob=no
6780if test "$build" = "$host"; then
6781  case $host_os in
6782  mingw* | pw32*)
6783    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6784      want_nocaseglob=yes
6785    else
6786      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6787    fi
6788    ;;
6789  esac
6790fi
6791
6792file_magic_cmd=$lt_cv_file_magic_cmd
6793deplibs_check_method=$lt_cv_deplibs_check_method
6794test -z "$deplibs_check_method" && deplibs_check_method=unknown
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817if test -n "$ac_tool_prefix"; then
6818  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6819set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6820{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6821printf %s "checking for $ac_word... " >&6; }
6822if test ${ac_cv_prog_DLLTOOL+y}
6823then :
6824  printf %s "(cached) " >&6
6825else $as_nop
6826  if test -n "$DLLTOOL"; then
6827  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6828else
6829as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6830for as_dir in $PATH
6831do
6832  IFS=$as_save_IFS
6833  case $as_dir in #(((
6834    '') as_dir=./ ;;
6835    */) ;;
6836    *) as_dir=$as_dir/ ;;
6837  esac
6838    for ac_exec_ext in '' $ac_executable_extensions; do
6839  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6840    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6841    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6842    break 2
6843  fi
6844done
6845  done
6846IFS=$as_save_IFS
6847
6848fi
6849fi
6850DLLTOOL=$ac_cv_prog_DLLTOOL
6851if test -n "$DLLTOOL"; then
6852  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6853printf "%s\n" "$DLLTOOL" >&6; }
6854else
6855  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6856printf "%s\n" "no" >&6; }
6857fi
6858
6859
6860fi
6861if test -z "$ac_cv_prog_DLLTOOL"; then
6862  ac_ct_DLLTOOL=$DLLTOOL
6863  # Extract the first word of "dlltool", so it can be a program name with args.
6864set dummy dlltool; ac_word=$2
6865{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6866printf %s "checking for $ac_word... " >&6; }
6867if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
6868then :
6869  printf %s "(cached) " >&6
6870else $as_nop
6871  if test -n "$ac_ct_DLLTOOL"; then
6872  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6873else
6874as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6875for as_dir in $PATH
6876do
6877  IFS=$as_save_IFS
6878  case $as_dir in #(((
6879    '') as_dir=./ ;;
6880    */) ;;
6881    *) as_dir=$as_dir/ ;;
6882  esac
6883    for ac_exec_ext in '' $ac_executable_extensions; do
6884  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6885    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6886    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6887    break 2
6888  fi
6889done
6890  done
6891IFS=$as_save_IFS
6892
6893fi
6894fi
6895ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6896if test -n "$ac_ct_DLLTOOL"; then
6897  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6898printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
6899else
6900  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6901printf "%s\n" "no" >&6; }
6902fi
6903
6904  if test "x$ac_ct_DLLTOOL" = x; then
6905    DLLTOOL="false"
6906  else
6907    case $cross_compiling:$ac_tool_warned in
6908yes:)
6909{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6910printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6911ac_tool_warned=yes ;;
6912esac
6913    DLLTOOL=$ac_ct_DLLTOOL
6914  fi
6915else
6916  DLLTOOL="$ac_cv_prog_DLLTOOL"
6917fi
6918
6919test -z "$DLLTOOL" && DLLTOOL=dlltool
6920
6921
6922
6923
6924
6925
6926
6927{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6928printf %s "checking how to associate runtime and link libraries... " >&6; }
6929if test ${lt_cv_sharedlib_from_linklib_cmd+y}
6930then :
6931  printf %s "(cached) " >&6
6932else $as_nop
6933  lt_cv_sharedlib_from_linklib_cmd='unknown'
6934
6935case $host_os in
6936cygwin* | mingw* | pw32* | cegcc*)
6937  # two different shell functions defined in ltmain.sh;
6938  # decide which one to use based on capabilities of $DLLTOOL
6939  case `$DLLTOOL --help 2>&1` in
6940  *--identify-strict*)
6941    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6942    ;;
6943  *)
6944    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6945    ;;
6946  esac
6947  ;;
6948*)
6949  # fallback: assume linklib IS sharedlib
6950  lt_cv_sharedlib_from_linklib_cmd=$ECHO
6951  ;;
6952esac
6953
6954fi
6955{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6956printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6957sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6958test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6959
6960
6961
6962
6963
6964
6965
6966if test -n "$ac_tool_prefix"; then
6967  for ac_prog in ar
6968  do
6969    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6970set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6971{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6972printf %s "checking for $ac_word... " >&6; }
6973if test ${ac_cv_prog_AR+y}
6974then :
6975  printf %s "(cached) " >&6
6976else $as_nop
6977  if test -n "$AR"; then
6978  ac_cv_prog_AR="$AR" # Let the user override the test.
6979else
6980as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6981for as_dir in $PATH
6982do
6983  IFS=$as_save_IFS
6984  case $as_dir in #(((
6985    '') as_dir=./ ;;
6986    */) ;;
6987    *) as_dir=$as_dir/ ;;
6988  esac
6989    for ac_exec_ext in '' $ac_executable_extensions; do
6990  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6991    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6992    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6993    break 2
6994  fi
6995done
6996  done
6997IFS=$as_save_IFS
6998
6999fi
7000fi
7001AR=$ac_cv_prog_AR
7002if test -n "$AR"; then
7003  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7004printf "%s\n" "$AR" >&6; }
7005else
7006  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7007printf "%s\n" "no" >&6; }
7008fi
7009
7010
7011    test -n "$AR" && break
7012  done
7013fi
7014if test -z "$AR"; then
7015  ac_ct_AR=$AR
7016  for ac_prog in ar
7017do
7018  # Extract the first word of "$ac_prog", so it can be a program name with args.
7019set dummy $ac_prog; ac_word=$2
7020{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7021printf %s "checking for $ac_word... " >&6; }
7022if test ${ac_cv_prog_ac_ct_AR+y}
7023then :
7024  printf %s "(cached) " >&6
7025else $as_nop
7026  if test -n "$ac_ct_AR"; then
7027  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7028else
7029as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7030for as_dir in $PATH
7031do
7032  IFS=$as_save_IFS
7033  case $as_dir in #(((
7034    '') as_dir=./ ;;
7035    */) ;;
7036    *) as_dir=$as_dir/ ;;
7037  esac
7038    for ac_exec_ext in '' $ac_executable_extensions; do
7039  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7040    ac_cv_prog_ac_ct_AR="$ac_prog"
7041    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7042    break 2
7043  fi
7044done
7045  done
7046IFS=$as_save_IFS
7047
7048fi
7049fi
7050ac_ct_AR=$ac_cv_prog_ac_ct_AR
7051if test -n "$ac_ct_AR"; then
7052  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7053printf "%s\n" "$ac_ct_AR" >&6; }
7054else
7055  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7056printf "%s\n" "no" >&6; }
7057fi
7058
7059
7060  test -n "$ac_ct_AR" && break
7061done
7062
7063  if test "x$ac_ct_AR" = x; then
7064    AR="false"
7065  else
7066    case $cross_compiling:$ac_tool_warned in
7067yes:)
7068{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7069printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7070ac_tool_warned=yes ;;
7071esac
7072    AR=$ac_ct_AR
7073  fi
7074fi
7075
7076: ${AR=ar}
7077: ${AR_FLAGS=cru}
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7090printf %s "checking for archiver @FILE support... " >&6; }
7091if test ${lt_cv_ar_at_file+y}
7092then :
7093  printf %s "(cached) " >&6
7094else $as_nop
7095  lt_cv_ar_at_file=no
7096   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7097/* end confdefs.h.  */
7098
7099int
7100main (void)
7101{
7102
7103  ;
7104  return 0;
7105}
7106_ACEOF
7107if ac_fn_c_try_compile "$LINENO"
7108then :
7109  echo conftest.$ac_objext > conftest.lst
7110      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7111      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7112  (eval $lt_ar_try) 2>&5
7113  ac_status=$?
7114  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7115  test $ac_status = 0; }
7116      if test 0 -eq "$ac_status"; then
7117	# Ensure the archiver fails upon bogus file names.
7118	rm -f conftest.$ac_objext libconftest.a
7119	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7120  (eval $lt_ar_try) 2>&5
7121  ac_status=$?
7122  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7123  test $ac_status = 0; }
7124	if test 0 -ne "$ac_status"; then
7125          lt_cv_ar_at_file=@
7126        fi
7127      fi
7128      rm -f conftest.* libconftest.a
7129
7130fi
7131rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7132
7133fi
7134{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7135printf "%s\n" "$lt_cv_ar_at_file" >&6; }
7136
7137if test no = "$lt_cv_ar_at_file"; then
7138  archiver_list_spec=
7139else
7140  archiver_list_spec=$lt_cv_ar_at_file
7141fi
7142
7143
7144
7145
7146
7147
7148
7149if test -n "$ac_tool_prefix"; then
7150  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7151set dummy ${ac_tool_prefix}strip; ac_word=$2
7152{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7153printf %s "checking for $ac_word... " >&6; }
7154if test ${ac_cv_prog_STRIP+y}
7155then :
7156  printf %s "(cached) " >&6
7157else $as_nop
7158  if test -n "$STRIP"; then
7159  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7160else
7161as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7162for as_dir in $PATH
7163do
7164  IFS=$as_save_IFS
7165  case $as_dir in #(((
7166    '') as_dir=./ ;;
7167    */) ;;
7168    *) as_dir=$as_dir/ ;;
7169  esac
7170    for ac_exec_ext in '' $ac_executable_extensions; do
7171  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7172    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7173    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7174    break 2
7175  fi
7176done
7177  done
7178IFS=$as_save_IFS
7179
7180fi
7181fi
7182STRIP=$ac_cv_prog_STRIP
7183if test -n "$STRIP"; then
7184  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7185printf "%s\n" "$STRIP" >&6; }
7186else
7187  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7188printf "%s\n" "no" >&6; }
7189fi
7190
7191
7192fi
7193if test -z "$ac_cv_prog_STRIP"; then
7194  ac_ct_STRIP=$STRIP
7195  # Extract the first word of "strip", so it can be a program name with args.
7196set dummy strip; ac_word=$2
7197{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7198printf %s "checking for $ac_word... " >&6; }
7199if test ${ac_cv_prog_ac_ct_STRIP+y}
7200then :
7201  printf %s "(cached) " >&6
7202else $as_nop
7203  if test -n "$ac_ct_STRIP"; then
7204  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7205else
7206as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7207for as_dir in $PATH
7208do
7209  IFS=$as_save_IFS
7210  case $as_dir in #(((
7211    '') as_dir=./ ;;
7212    */) ;;
7213    *) as_dir=$as_dir/ ;;
7214  esac
7215    for ac_exec_ext in '' $ac_executable_extensions; do
7216  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7217    ac_cv_prog_ac_ct_STRIP="strip"
7218    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7219    break 2
7220  fi
7221done
7222  done
7223IFS=$as_save_IFS
7224
7225fi
7226fi
7227ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7228if test -n "$ac_ct_STRIP"; then
7229  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7230printf "%s\n" "$ac_ct_STRIP" >&6; }
7231else
7232  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7233printf "%s\n" "no" >&6; }
7234fi
7235
7236  if test "x$ac_ct_STRIP" = x; then
7237    STRIP=":"
7238  else
7239    case $cross_compiling:$ac_tool_warned in
7240yes:)
7241{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7242printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7243ac_tool_warned=yes ;;
7244esac
7245    STRIP=$ac_ct_STRIP
7246  fi
7247else
7248  STRIP="$ac_cv_prog_STRIP"
7249fi
7250
7251test -z "$STRIP" && STRIP=:
7252
7253
7254
7255
7256
7257
7258if test -n "$ac_tool_prefix"; then
7259  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7260set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7261{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7262printf %s "checking for $ac_word... " >&6; }
7263if test ${ac_cv_prog_RANLIB+y}
7264then :
7265  printf %s "(cached) " >&6
7266else $as_nop
7267  if test -n "$RANLIB"; then
7268  ac_cv_prog_RANLIB="$RANLIB" # 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  case $as_dir in #(((
7275    '') as_dir=./ ;;
7276    */) ;;
7277    *) as_dir=$as_dir/ ;;
7278  esac
7279    for ac_exec_ext in '' $ac_executable_extensions; do
7280  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7281    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7282    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7283    break 2
7284  fi
7285done
7286  done
7287IFS=$as_save_IFS
7288
7289fi
7290fi
7291RANLIB=$ac_cv_prog_RANLIB
7292if test -n "$RANLIB"; then
7293  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7294printf "%s\n" "$RANLIB" >&6; }
7295else
7296  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7297printf "%s\n" "no" >&6; }
7298fi
7299
7300
7301fi
7302if test -z "$ac_cv_prog_RANLIB"; then
7303  ac_ct_RANLIB=$RANLIB
7304  # Extract the first word of "ranlib", so it can be a program name with args.
7305set dummy ranlib; ac_word=$2
7306{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7307printf %s "checking for $ac_word... " >&6; }
7308if test ${ac_cv_prog_ac_ct_RANLIB+y}
7309then :
7310  printf %s "(cached) " >&6
7311else $as_nop
7312  if test -n "$ac_ct_RANLIB"; then
7313  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7314else
7315as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7316for as_dir in $PATH
7317do
7318  IFS=$as_save_IFS
7319  case $as_dir in #(((
7320    '') as_dir=./ ;;
7321    */) ;;
7322    *) as_dir=$as_dir/ ;;
7323  esac
7324    for ac_exec_ext in '' $ac_executable_extensions; do
7325  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7326    ac_cv_prog_ac_ct_RANLIB="ranlib"
7327    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7328    break 2
7329  fi
7330done
7331  done
7332IFS=$as_save_IFS
7333
7334fi
7335fi
7336ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7337if test -n "$ac_ct_RANLIB"; then
7338  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7339printf "%s\n" "$ac_ct_RANLIB" >&6; }
7340else
7341  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7342printf "%s\n" "no" >&6; }
7343fi
7344
7345  if test "x$ac_ct_RANLIB" = x; then
7346    RANLIB=":"
7347  else
7348    case $cross_compiling:$ac_tool_warned in
7349yes:)
7350{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7351printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7352ac_tool_warned=yes ;;
7353esac
7354    RANLIB=$ac_ct_RANLIB
7355  fi
7356else
7357  RANLIB="$ac_cv_prog_RANLIB"
7358fi
7359
7360test -z "$RANLIB" && RANLIB=:
7361
7362
7363
7364
7365
7366
7367# Determine commands to create old-style static archives.
7368old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7369old_postinstall_cmds='chmod 644 $oldlib'
7370old_postuninstall_cmds=
7371
7372if test -n "$RANLIB"; then
7373  case $host_os in
7374  bitrig* | openbsd*)
7375    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7376    ;;
7377  *)
7378    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7379    ;;
7380  esac
7381  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7382fi
7383
7384case $host_os in
7385  darwin*)
7386    lock_old_archive_extraction=yes ;;
7387  *)
7388    lock_old_archive_extraction=no ;;
7389esac
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429# If no C compiler was specified, use CC.
7430LTCC=${LTCC-"$CC"}
7431
7432# If no C compiler flags were specified, use CFLAGS.
7433LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7434
7435# Allow CC to be a program name with arguments.
7436compiler=$CC
7437
7438
7439# Check for command to grab the raw symbol name followed by C symbol from nm.
7440{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7441printf %s "checking command to parse $NM output from $compiler object... " >&6; }
7442if test ${lt_cv_sys_global_symbol_pipe+y}
7443then :
7444  printf %s "(cached) " >&6
7445else $as_nop
7446
7447# These are sane defaults that work on at least a few old systems.
7448# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7449
7450# Character class describing NM global symbol codes.
7451symcode='[BCDEGRST]'
7452
7453# Regexp to match symbols that can be accessed directly from C.
7454sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7455
7456# Define system-specific variables.
7457case $host_os in
7458aix*)
7459  symcode='[BCDT]'
7460  ;;
7461cygwin* | mingw* | pw32* | cegcc*)
7462  symcode='[ABCDGISTW]'
7463  ;;
7464hpux*)
7465  if test ia64 = "$host_cpu"; then
7466    symcode='[ABCDEGRST]'
7467  fi
7468  ;;
7469irix* | nonstopux*)
7470  symcode='[BCDEGRST]'
7471  ;;
7472osf*)
7473  symcode='[BCDEGQRST]'
7474  ;;
7475solaris*)
7476  symcode='[BDRT]'
7477  ;;
7478sco3.2v5*)
7479  symcode='[DT]'
7480  ;;
7481sysv4.2uw2*)
7482  symcode='[DT]'
7483  ;;
7484sysv5* | sco5v6* | unixware* | OpenUNIX*)
7485  symcode='[ABDT]'
7486  ;;
7487sysv4)
7488  symcode='[DFNSTU]'
7489  ;;
7490esac
7491
7492# If we're using GNU nm, then use its standard symbol codes.
7493case `$NM -V 2>&1` in
7494*GNU* | *'with BFD'*)
7495  symcode='[ABCDGIRSTW]' ;;
7496esac
7497
7498if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7499  # Gets list of data symbols to import.
7500  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
7501  # Adjust the below global symbol transforms to fixup imported variables.
7502  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7503  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
7504  lt_c_name_lib_hook="\
7505  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
7506  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
7507else
7508  # Disable hooks by default.
7509  lt_cv_sys_global_symbol_to_import=
7510  lt_cdecl_hook=
7511  lt_c_name_hook=
7512  lt_c_name_lib_hook=
7513fi
7514
7515# Transform an extracted symbol line into a proper C declaration.
7516# Some systems (esp. on ia64) link data and code symbols differently,
7517# so use this general approach.
7518lt_cv_sys_global_symbol_to_cdecl="sed -n"\
7519$lt_cdecl_hook\
7520" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7521" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7522
7523# Transform an extracted symbol line into symbol name and symbol address
7524lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
7525$lt_c_name_hook\
7526" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
7527" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
7528
7529# Transform an extracted symbol line into symbol name with lib prefix and
7530# symbol address.
7531lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
7532$lt_c_name_lib_hook\
7533" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
7534" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
7535" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
7536
7537# Handle CRLF in mingw tool chain
7538opt_cr=
7539case $build_os in
7540mingw*)
7541  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7542  ;;
7543esac
7544
7545# Try without a prefix underscore, then with it.
7546for ac_symprfx in "" "_"; do
7547
7548  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7549  symxfrm="\\1 $ac_symprfx\\2 \\2"
7550
7551  # Write the raw and C identifiers.
7552  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7553    # Fake it for dumpbin and say T for any non-static function,
7554    # D for any global variable and I for any imported variable.
7555    # Also find C++ and __fastcall symbols from MSVC++,
7556    # which start with @ or ?.
7557    lt_cv_sys_global_symbol_pipe="$AWK '"\
7558"     {last_section=section; section=\$ 3};"\
7559"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7560"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7561"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7562"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7563"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7564"     \$ 0!~/External *\|/{next};"\
7565"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7566"     {if(hide[section]) next};"\
7567"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7568"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7569"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7570"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7571"     ' prfx=^$ac_symprfx"
7572  else
7573    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7574  fi
7575  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7576
7577  # Check to see that the pipe works correctly.
7578  pipe_works=no
7579
7580  rm -f conftest*
7581  cat > conftest.$ac_ext <<_LT_EOF
7582#ifdef __cplusplus
7583extern "C" {
7584#endif
7585char nm_test_var;
7586void nm_test_func(void);
7587void nm_test_func(void){}
7588#ifdef __cplusplus
7589}
7590#endif
7591int main(){nm_test_var='a';nm_test_func();return(0);}
7592_LT_EOF
7593
7594  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7595  (eval $ac_compile) 2>&5
7596  ac_status=$?
7597  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7598  test $ac_status = 0; }; then
7599    # Now try to grab the symbols.
7600    nlist=conftest.nm
7601    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7602  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7603  ac_status=$?
7604  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7605  test $ac_status = 0; } && test -s "$nlist"; then
7606      # Try sorting and uniquifying the output.
7607      if sort "$nlist" | uniq > "$nlist"T; then
7608	mv -f "$nlist"T "$nlist"
7609      else
7610	rm -f "$nlist"T
7611      fi
7612
7613      # Make sure that we snagged all the symbols we need.
7614      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7615	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7616	  cat <<_LT_EOF > conftest.$ac_ext
7617/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
7618#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7619/* DATA imports from DLLs on WIN32 can't be const, because runtime
7620   relocations are performed -- see ld's documentation on pseudo-relocs.  */
7621# define LT_DLSYM_CONST
7622#elif defined __osf__
7623/* This system does not cope well with relocations in const data.  */
7624# define LT_DLSYM_CONST
7625#else
7626# define LT_DLSYM_CONST const
7627#endif
7628
7629#ifdef __cplusplus
7630extern "C" {
7631#endif
7632
7633_LT_EOF
7634	  # Now generate the symbol file.
7635	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7636
7637	  cat <<_LT_EOF >> conftest.$ac_ext
7638
7639/* The mapping between symbol names and symbols.  */
7640LT_DLSYM_CONST struct {
7641  const char *name;
7642  void       *address;
7643}
7644lt__PROGRAM__LTX_preloaded_symbols[] =
7645{
7646  { "@PROGRAM@", (void *) 0 },
7647_LT_EOF
7648	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7649	  cat <<\_LT_EOF >> conftest.$ac_ext
7650  {0, (void *) 0}
7651};
7652
7653/* This works around a problem in FreeBSD linker */
7654#ifdef FREEBSD_WORKAROUND
7655static const void *lt_preloaded_setup() {
7656  return lt__PROGRAM__LTX_preloaded_symbols;
7657}
7658#endif
7659
7660#ifdef __cplusplus
7661}
7662#endif
7663_LT_EOF
7664	  # Now try linking the two files.
7665	  mv conftest.$ac_objext conftstm.$ac_objext
7666	  lt_globsym_save_LIBS=$LIBS
7667	  lt_globsym_save_CFLAGS=$CFLAGS
7668	  LIBS=conftstm.$ac_objext
7669	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7670	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7671  (eval $ac_link) 2>&5
7672  ac_status=$?
7673  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7674  test $ac_status = 0; } && test -s conftest$ac_exeext; then
7675	    pipe_works=yes
7676	  fi
7677	  LIBS=$lt_globsym_save_LIBS
7678	  CFLAGS=$lt_globsym_save_CFLAGS
7679	else
7680	  echo "cannot find nm_test_func in $nlist" >&5
7681	fi
7682      else
7683	echo "cannot find nm_test_var in $nlist" >&5
7684      fi
7685    else
7686      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7687    fi
7688  else
7689    echo "$progname: failed program was:" >&5
7690    cat conftest.$ac_ext >&5
7691  fi
7692  rm -rf conftest* conftst*
7693
7694  # Do not use the global_symbol_pipe unless it works.
7695  if test yes = "$pipe_works"; then
7696    break
7697  else
7698    lt_cv_sys_global_symbol_pipe=
7699  fi
7700done
7701
7702fi
7703
7704if test -z "$lt_cv_sys_global_symbol_pipe"; then
7705  lt_cv_sys_global_symbol_to_cdecl=
7706fi
7707if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7708  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7709printf "%s\n" "failed" >&6; }
7710else
7711  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7712printf "%s\n" "ok" >&6; }
7713fi
7714
7715# Response file support.
7716if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7717  nm_file_list_spec='@'
7718elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7719  nm_file_list_spec='@'
7720fi
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7759printf %s "checking for sysroot... " >&6; }
7760
7761# Check whether --with-sysroot was given.
7762if test ${with_sysroot+y}
7763then :
7764  withval=$with_sysroot;
7765else $as_nop
7766  with_sysroot=no
7767fi
7768
7769
7770lt_sysroot=
7771case $with_sysroot in #(
7772 yes)
7773   if test yes = "$GCC"; then
7774     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7775   fi
7776   ;; #(
7777 /*)
7778   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7779   ;; #(
7780 no|'')
7781   ;; #(
7782 *)
7783   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7784printf "%s\n" "$with_sysroot" >&6; }
7785   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7786   ;;
7787esac
7788
7789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7790printf "%s\n" "${lt_sysroot:-no}" >&6; }
7791
7792
7793
7794
7795
7796{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
7797printf %s "checking for a working dd... " >&6; }
7798if test ${ac_cv_path_lt_DD+y}
7799then :
7800  printf %s "(cached) " >&6
7801else $as_nop
7802  printf 0123456789abcdef0123456789abcdef >conftest.i
7803cat conftest.i conftest.i >conftest2.i
7804: ${lt_DD:=$DD}
7805if test -z "$lt_DD"; then
7806  ac_path_lt_DD_found=false
7807  # Loop through the user's path and test for each of PROGNAME-LIST
7808  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7809for as_dir in $PATH
7810do
7811  IFS=$as_save_IFS
7812  case $as_dir in #(((
7813    '') as_dir=./ ;;
7814    */) ;;
7815    *) as_dir=$as_dir/ ;;
7816  esac
7817    for ac_prog in dd
7818   do
7819    for ac_exec_ext in '' $ac_executable_extensions; do
7820      ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
7821      as_fn_executable_p "$ac_path_lt_DD" || continue
7822if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7823  cmp -s conftest.i conftest.out \
7824  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
7825fi
7826      $ac_path_lt_DD_found && break 3
7827    done
7828  done
7829  done
7830IFS=$as_save_IFS
7831  if test -z "$ac_cv_path_lt_DD"; then
7832    :
7833  fi
7834else
7835  ac_cv_path_lt_DD=$lt_DD
7836fi
7837
7838rm -f conftest.i conftest2.i conftest.out
7839fi
7840{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
7841printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
7842
7843
7844{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
7845printf %s "checking how to truncate binary pipes... " >&6; }
7846if test ${lt_cv_truncate_bin+y}
7847then :
7848  printf %s "(cached) " >&6
7849else $as_nop
7850  printf 0123456789abcdef0123456789abcdef >conftest.i
7851cat conftest.i conftest.i >conftest2.i
7852lt_cv_truncate_bin=
7853if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7854  cmp -s conftest.i conftest.out \
7855  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
7856fi
7857rm -f conftest.i conftest2.i conftest.out
7858test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
7859fi
7860{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
7861printf "%s\n" "$lt_cv_truncate_bin" >&6; }
7862
7863
7864
7865
7866
7867
7868
7869# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
7870func_cc_basename ()
7871{
7872    for cc_temp in $*""; do
7873      case $cc_temp in
7874        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7875        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7876        \-*) ;;
7877        *) break;;
7878      esac
7879    done
7880    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7881}
7882
7883# Check whether --enable-libtool-lock was given.
7884if test ${enable_libtool_lock+y}
7885then :
7886  enableval=$enable_libtool_lock;
7887fi
7888
7889test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7890
7891# Some flags need to be propagated to the compiler or linker for good
7892# libtool support.
7893case $host in
7894ia64-*-hpux*)
7895  # Find out what ABI is being produced by ac_compile, and set mode
7896  # options accordingly.
7897  echo 'int i;' > conftest.$ac_ext
7898  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7899  (eval $ac_compile) 2>&5
7900  ac_status=$?
7901  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7902  test $ac_status = 0; }; then
7903    case `/usr/bin/file conftest.$ac_objext` in
7904      *ELF-32*)
7905	HPUX_IA64_MODE=32
7906	;;
7907      *ELF-64*)
7908	HPUX_IA64_MODE=64
7909	;;
7910    esac
7911  fi
7912  rm -rf conftest*
7913  ;;
7914*-*-irix6*)
7915  # Find out what ABI is being produced by ac_compile, and set linker
7916  # options accordingly.
7917  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7918  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7919  (eval $ac_compile) 2>&5
7920  ac_status=$?
7921  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7922  test $ac_status = 0; }; then
7923    if test yes = "$lt_cv_prog_gnu_ld"; then
7924      case `/usr/bin/file conftest.$ac_objext` in
7925	*32-bit*)
7926	  LD="${LD-ld} -melf32bsmip"
7927	  ;;
7928	*N32*)
7929	  LD="${LD-ld} -melf32bmipn32"
7930	  ;;
7931	*64-bit*)
7932	  LD="${LD-ld} -melf64bmip"
7933	;;
7934      esac
7935    else
7936      case `/usr/bin/file conftest.$ac_objext` in
7937	*32-bit*)
7938	  LD="${LD-ld} -32"
7939	  ;;
7940	*N32*)
7941	  LD="${LD-ld} -n32"
7942	  ;;
7943	*64-bit*)
7944	  LD="${LD-ld} -64"
7945	  ;;
7946      esac
7947    fi
7948  fi
7949  rm -rf conftest*
7950  ;;
7951
7952mips64*-*linux*)
7953  # Find out what ABI is being produced by ac_compile, and set linker
7954  # options accordingly.
7955  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7956  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7957  (eval $ac_compile) 2>&5
7958  ac_status=$?
7959  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7960  test $ac_status = 0; }; then
7961    emul=elf
7962    case `/usr/bin/file conftest.$ac_objext` in
7963      *32-bit*)
7964	emul="${emul}32"
7965	;;
7966      *64-bit*)
7967	emul="${emul}64"
7968	;;
7969    esac
7970    case `/usr/bin/file conftest.$ac_objext` in
7971      *MSB*)
7972	emul="${emul}btsmip"
7973	;;
7974      *LSB*)
7975	emul="${emul}ltsmip"
7976	;;
7977    esac
7978    case `/usr/bin/file conftest.$ac_objext` in
7979      *N32*)
7980	emul="${emul}n32"
7981	;;
7982    esac
7983    LD="${LD-ld} -m $emul"
7984  fi
7985  rm -rf conftest*
7986  ;;
7987
7988x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7989s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7990  # Find out what ABI is being produced by ac_compile, and set linker
7991  # options accordingly.  Note that the listed cases only cover the
7992  # situations where additional linker options are needed (such as when
7993  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7994  # vice versa); the common cases where no linker options are needed do
7995  # not appear in the list.
7996  echo 'int i;' > conftest.$ac_ext
7997  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7998  (eval $ac_compile) 2>&5
7999  ac_status=$?
8000  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8001  test $ac_status = 0; }; then
8002    case `/usr/bin/file conftest.o` in
8003      *32-bit*)
8004	case $host in
8005	  x86_64-*kfreebsd*-gnu)
8006	    LD="${LD-ld} -m elf_i386_fbsd"
8007	    ;;
8008	  x86_64-*linux*)
8009	    case `/usr/bin/file conftest.o` in
8010	      *x86-64*)
8011		LD="${LD-ld} -m elf32_x86_64"
8012		;;
8013	      *)
8014		LD="${LD-ld} -m elf_i386"
8015		;;
8016	    esac
8017	    ;;
8018	  powerpc64le-*linux*)
8019	    LD="${LD-ld} -m elf32lppclinux"
8020	    ;;
8021	  powerpc64-*linux*)
8022	    LD="${LD-ld} -m elf32ppclinux"
8023	    ;;
8024	  s390x-*linux*)
8025	    LD="${LD-ld} -m elf_s390"
8026	    ;;
8027	  sparc64-*linux*)
8028	    LD="${LD-ld} -m elf32_sparc"
8029	    ;;
8030	esac
8031	;;
8032      *64-bit*)
8033	case $host in
8034	  x86_64-*kfreebsd*-gnu)
8035	    LD="${LD-ld} -m elf_x86_64_fbsd"
8036	    ;;
8037	  x86_64-*linux*)
8038	    LD="${LD-ld} -m elf_x86_64"
8039	    ;;
8040	  powerpcle-*linux*|powerpc64le-*linux*)
8041	    LD="${LD-ld} -m elf64lppc"
8042	    ;;
8043	  powerpc-*linux*|powerpc64-*linux*)
8044	    LD="${LD-ld} -m elf64ppc"
8045	    ;;
8046	  s390*-*linux*|s390*-*tpf*)
8047	    LD="${LD-ld} -m elf64_s390"
8048	    ;;
8049	  sparc*-*linux*)
8050	    LD="${LD-ld} -m elf64_sparc"
8051	    ;;
8052	esac
8053	;;
8054    esac
8055  fi
8056  rm -rf conftest*
8057  ;;
8058
8059*-*-sco3.2v5*)
8060  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8061  SAVE_CFLAGS=$CFLAGS
8062  CFLAGS="$CFLAGS -belf"
8063  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8064printf %s "checking whether the C compiler needs -belf... " >&6; }
8065if test ${lt_cv_cc_needs_belf+y}
8066then :
8067  printf %s "(cached) " >&6
8068else $as_nop
8069  ac_ext=c
8070ac_cpp='$CPP $CPPFLAGS'
8071ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8072ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8073ac_compiler_gnu=$ac_cv_c_compiler_gnu
8074
8075     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8076/* end confdefs.h.  */
8077
8078int
8079main (void)
8080{
8081
8082  ;
8083  return 0;
8084}
8085_ACEOF
8086if ac_fn_c_try_link "$LINENO"
8087then :
8088  lt_cv_cc_needs_belf=yes
8089else $as_nop
8090  lt_cv_cc_needs_belf=no
8091fi
8092rm -f core conftest.err conftest.$ac_objext conftest.beam \
8093    conftest$ac_exeext conftest.$ac_ext
8094     ac_ext=c
8095ac_cpp='$CPP $CPPFLAGS'
8096ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8097ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8098ac_compiler_gnu=$ac_cv_c_compiler_gnu
8099
8100fi
8101{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8102printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
8103  if test yes != "$lt_cv_cc_needs_belf"; then
8104    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8105    CFLAGS=$SAVE_CFLAGS
8106  fi
8107  ;;
8108*-*solaris*)
8109  # Find out what ABI is being produced by ac_compile, and set linker
8110  # options accordingly.
8111  echo 'int i;' > conftest.$ac_ext
8112  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8113  (eval $ac_compile) 2>&5
8114  ac_status=$?
8115  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8116  test $ac_status = 0; }; then
8117    case `/usr/bin/file conftest.o` in
8118    *64-bit*)
8119      case $lt_cv_prog_gnu_ld in
8120      yes*)
8121        case $host in
8122        i?86-*-solaris*|x86_64-*-solaris*)
8123          LD="${LD-ld} -m elf_x86_64"
8124          ;;
8125        sparc*-*-solaris*)
8126          LD="${LD-ld} -m elf64_sparc"
8127          ;;
8128        esac
8129        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
8130        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
8131          LD=${LD-ld}_sol2
8132        fi
8133        ;;
8134      *)
8135	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8136	  LD="${LD-ld} -64"
8137	fi
8138	;;
8139      esac
8140      ;;
8141    esac
8142  fi
8143  rm -rf conftest*
8144  ;;
8145esac
8146
8147need_locks=$enable_libtool_lock
8148
8149if test -n "$ac_tool_prefix"; then
8150  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8151set dummy ${ac_tool_prefix}mt; ac_word=$2
8152{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8153printf %s "checking for $ac_word... " >&6; }
8154if test ${ac_cv_prog_MANIFEST_TOOL+y}
8155then :
8156  printf %s "(cached) " >&6
8157else $as_nop
8158  if test -n "$MANIFEST_TOOL"; then
8159  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8160else
8161as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8162for as_dir in $PATH
8163do
8164  IFS=$as_save_IFS
8165  case $as_dir in #(((
8166    '') as_dir=./ ;;
8167    */) ;;
8168    *) as_dir=$as_dir/ ;;
8169  esac
8170    for ac_exec_ext in '' $ac_executable_extensions; do
8171  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8172    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
8173    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8174    break 2
8175  fi
8176done
8177  done
8178IFS=$as_save_IFS
8179
8180fi
8181fi
8182MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8183if test -n "$MANIFEST_TOOL"; then
8184  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8185printf "%s\n" "$MANIFEST_TOOL" >&6; }
8186else
8187  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8188printf "%s\n" "no" >&6; }
8189fi
8190
8191
8192fi
8193if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8194  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8195  # Extract the first word of "mt", so it can be a program name with args.
8196set dummy mt; ac_word=$2
8197{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8198printf %s "checking for $ac_word... " >&6; }
8199if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
8200then :
8201  printf %s "(cached) " >&6
8202else $as_nop
8203  if test -n "$ac_ct_MANIFEST_TOOL"; then
8204  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8205else
8206as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8207for as_dir in $PATH
8208do
8209  IFS=$as_save_IFS
8210  case $as_dir in #(((
8211    '') as_dir=./ ;;
8212    */) ;;
8213    *) as_dir=$as_dir/ ;;
8214  esac
8215    for ac_exec_ext in '' $ac_executable_extensions; do
8216  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8217    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8218    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8219    break 2
8220  fi
8221done
8222  done
8223IFS=$as_save_IFS
8224
8225fi
8226fi
8227ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8228if test -n "$ac_ct_MANIFEST_TOOL"; then
8229  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8230printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
8231else
8232  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8233printf "%s\n" "no" >&6; }
8234fi
8235
8236  if test "x$ac_ct_MANIFEST_TOOL" = x; then
8237    MANIFEST_TOOL=":"
8238  else
8239    case $cross_compiling:$ac_tool_warned in
8240yes:)
8241{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8242printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8243ac_tool_warned=yes ;;
8244esac
8245    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8246  fi
8247else
8248  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8249fi
8250
8251test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8252{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8253printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8254if test ${lt_cv_path_mainfest_tool+y}
8255then :
8256  printf %s "(cached) " >&6
8257else $as_nop
8258  lt_cv_path_mainfest_tool=no
8259  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8260  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8261  cat conftest.err >&5
8262  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8263    lt_cv_path_mainfest_tool=yes
8264  fi
8265  rm -f conftest*
8266fi
8267{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8268printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; }
8269if test yes != "$lt_cv_path_mainfest_tool"; then
8270  MANIFEST_TOOL=:
8271fi
8272
8273
8274
8275
8276
8277
8278  case $host_os in
8279    rhapsody* | darwin*)
8280    if test -n "$ac_tool_prefix"; then
8281  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8282set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8283{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8284printf %s "checking for $ac_word... " >&6; }
8285if test ${ac_cv_prog_DSYMUTIL+y}
8286then :
8287  printf %s "(cached) " >&6
8288else $as_nop
8289  if test -n "$DSYMUTIL"; then
8290  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8291else
8292as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8293for as_dir in $PATH
8294do
8295  IFS=$as_save_IFS
8296  case $as_dir in #(((
8297    '') as_dir=./ ;;
8298    */) ;;
8299    *) as_dir=$as_dir/ ;;
8300  esac
8301    for ac_exec_ext in '' $ac_executable_extensions; do
8302  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8303    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8304    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8305    break 2
8306  fi
8307done
8308  done
8309IFS=$as_save_IFS
8310
8311fi
8312fi
8313DSYMUTIL=$ac_cv_prog_DSYMUTIL
8314if test -n "$DSYMUTIL"; then
8315  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8316printf "%s\n" "$DSYMUTIL" >&6; }
8317else
8318  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8319printf "%s\n" "no" >&6; }
8320fi
8321
8322
8323fi
8324if test -z "$ac_cv_prog_DSYMUTIL"; then
8325  ac_ct_DSYMUTIL=$DSYMUTIL
8326  # Extract the first word of "dsymutil", so it can be a program name with args.
8327set dummy dsymutil; ac_word=$2
8328{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8329printf %s "checking for $ac_word... " >&6; }
8330if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
8331then :
8332  printf %s "(cached) " >&6
8333else $as_nop
8334  if test -n "$ac_ct_DSYMUTIL"; then
8335  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8336else
8337as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8338for as_dir in $PATH
8339do
8340  IFS=$as_save_IFS
8341  case $as_dir in #(((
8342    '') as_dir=./ ;;
8343    */) ;;
8344    *) as_dir=$as_dir/ ;;
8345  esac
8346    for ac_exec_ext in '' $ac_executable_extensions; do
8347  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8348    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8349    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8350    break 2
8351  fi
8352done
8353  done
8354IFS=$as_save_IFS
8355
8356fi
8357fi
8358ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8359if test -n "$ac_ct_DSYMUTIL"; then
8360  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8361printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
8362else
8363  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8364printf "%s\n" "no" >&6; }
8365fi
8366
8367  if test "x$ac_ct_DSYMUTIL" = x; then
8368    DSYMUTIL=":"
8369  else
8370    case $cross_compiling:$ac_tool_warned in
8371yes:)
8372{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8373printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8374ac_tool_warned=yes ;;
8375esac
8376    DSYMUTIL=$ac_ct_DSYMUTIL
8377  fi
8378else
8379  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8380fi
8381
8382    if test -n "$ac_tool_prefix"; then
8383  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8384set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8385{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8386printf %s "checking for $ac_word... " >&6; }
8387if test ${ac_cv_prog_NMEDIT+y}
8388then :
8389  printf %s "(cached) " >&6
8390else $as_nop
8391  if test -n "$NMEDIT"; then
8392  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8393else
8394as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8395for as_dir in $PATH
8396do
8397  IFS=$as_save_IFS
8398  case $as_dir in #(((
8399    '') as_dir=./ ;;
8400    */) ;;
8401    *) as_dir=$as_dir/ ;;
8402  esac
8403    for ac_exec_ext in '' $ac_executable_extensions; do
8404  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8405    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8406    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8407    break 2
8408  fi
8409done
8410  done
8411IFS=$as_save_IFS
8412
8413fi
8414fi
8415NMEDIT=$ac_cv_prog_NMEDIT
8416if test -n "$NMEDIT"; then
8417  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8418printf "%s\n" "$NMEDIT" >&6; }
8419else
8420  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8421printf "%s\n" "no" >&6; }
8422fi
8423
8424
8425fi
8426if test -z "$ac_cv_prog_NMEDIT"; then
8427  ac_ct_NMEDIT=$NMEDIT
8428  # Extract the first word of "nmedit", so it can be a program name with args.
8429set dummy nmedit; ac_word=$2
8430{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8431printf %s "checking for $ac_word... " >&6; }
8432if test ${ac_cv_prog_ac_ct_NMEDIT+y}
8433then :
8434  printf %s "(cached) " >&6
8435else $as_nop
8436  if test -n "$ac_ct_NMEDIT"; then
8437  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8438else
8439as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8440for as_dir in $PATH
8441do
8442  IFS=$as_save_IFS
8443  case $as_dir in #(((
8444    '') as_dir=./ ;;
8445    */) ;;
8446    *) as_dir=$as_dir/ ;;
8447  esac
8448    for ac_exec_ext in '' $ac_executable_extensions; do
8449  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8450    ac_cv_prog_ac_ct_NMEDIT="nmedit"
8451    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8452    break 2
8453  fi
8454done
8455  done
8456IFS=$as_save_IFS
8457
8458fi
8459fi
8460ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8461if test -n "$ac_ct_NMEDIT"; then
8462  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8463printf "%s\n" "$ac_ct_NMEDIT" >&6; }
8464else
8465  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8466printf "%s\n" "no" >&6; }
8467fi
8468
8469  if test "x$ac_ct_NMEDIT" = x; then
8470    NMEDIT=":"
8471  else
8472    case $cross_compiling:$ac_tool_warned in
8473yes:)
8474{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8475printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8476ac_tool_warned=yes ;;
8477esac
8478    NMEDIT=$ac_ct_NMEDIT
8479  fi
8480else
8481  NMEDIT="$ac_cv_prog_NMEDIT"
8482fi
8483
8484    if test -n "$ac_tool_prefix"; then
8485  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8486set dummy ${ac_tool_prefix}lipo; ac_word=$2
8487{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8488printf %s "checking for $ac_word... " >&6; }
8489if test ${ac_cv_prog_LIPO+y}
8490then :
8491  printf %s "(cached) " >&6
8492else $as_nop
8493  if test -n "$LIPO"; then
8494  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8495else
8496as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8497for as_dir in $PATH
8498do
8499  IFS=$as_save_IFS
8500  case $as_dir in #(((
8501    '') as_dir=./ ;;
8502    */) ;;
8503    *) as_dir=$as_dir/ ;;
8504  esac
8505    for ac_exec_ext in '' $ac_executable_extensions; do
8506  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8507    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8508    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8509    break 2
8510  fi
8511done
8512  done
8513IFS=$as_save_IFS
8514
8515fi
8516fi
8517LIPO=$ac_cv_prog_LIPO
8518if test -n "$LIPO"; then
8519  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8520printf "%s\n" "$LIPO" >&6; }
8521else
8522  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8523printf "%s\n" "no" >&6; }
8524fi
8525
8526
8527fi
8528if test -z "$ac_cv_prog_LIPO"; then
8529  ac_ct_LIPO=$LIPO
8530  # Extract the first word of "lipo", so it can be a program name with args.
8531set dummy lipo; ac_word=$2
8532{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8533printf %s "checking for $ac_word... " >&6; }
8534if test ${ac_cv_prog_ac_ct_LIPO+y}
8535then :
8536  printf %s "(cached) " >&6
8537else $as_nop
8538  if test -n "$ac_ct_LIPO"; then
8539  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8540else
8541as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8542for as_dir in $PATH
8543do
8544  IFS=$as_save_IFS
8545  case $as_dir in #(((
8546    '') as_dir=./ ;;
8547    */) ;;
8548    *) as_dir=$as_dir/ ;;
8549  esac
8550    for ac_exec_ext in '' $ac_executable_extensions; do
8551  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8552    ac_cv_prog_ac_ct_LIPO="lipo"
8553    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8554    break 2
8555  fi
8556done
8557  done
8558IFS=$as_save_IFS
8559
8560fi
8561fi
8562ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8563if test -n "$ac_ct_LIPO"; then
8564  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8565printf "%s\n" "$ac_ct_LIPO" >&6; }
8566else
8567  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8568printf "%s\n" "no" >&6; }
8569fi
8570
8571  if test "x$ac_ct_LIPO" = x; then
8572    LIPO=":"
8573  else
8574    case $cross_compiling:$ac_tool_warned in
8575yes:)
8576{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8577printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8578ac_tool_warned=yes ;;
8579esac
8580    LIPO=$ac_ct_LIPO
8581  fi
8582else
8583  LIPO="$ac_cv_prog_LIPO"
8584fi
8585
8586    if test -n "$ac_tool_prefix"; then
8587  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8588set dummy ${ac_tool_prefix}otool; ac_word=$2
8589{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8590printf %s "checking for $ac_word... " >&6; }
8591if test ${ac_cv_prog_OTOOL+y}
8592then :
8593  printf %s "(cached) " >&6
8594else $as_nop
8595  if test -n "$OTOOL"; then
8596  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8597else
8598as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8599for as_dir in $PATH
8600do
8601  IFS=$as_save_IFS
8602  case $as_dir in #(((
8603    '') as_dir=./ ;;
8604    */) ;;
8605    *) as_dir=$as_dir/ ;;
8606  esac
8607    for ac_exec_ext in '' $ac_executable_extensions; do
8608  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8609    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8610    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8611    break 2
8612  fi
8613done
8614  done
8615IFS=$as_save_IFS
8616
8617fi
8618fi
8619OTOOL=$ac_cv_prog_OTOOL
8620if test -n "$OTOOL"; then
8621  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8622printf "%s\n" "$OTOOL" >&6; }
8623else
8624  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8625printf "%s\n" "no" >&6; }
8626fi
8627
8628
8629fi
8630if test -z "$ac_cv_prog_OTOOL"; then
8631  ac_ct_OTOOL=$OTOOL
8632  # Extract the first word of "otool", so it can be a program name with args.
8633set dummy otool; ac_word=$2
8634{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8635printf %s "checking for $ac_word... " >&6; }
8636if test ${ac_cv_prog_ac_ct_OTOOL+y}
8637then :
8638  printf %s "(cached) " >&6
8639else $as_nop
8640  if test -n "$ac_ct_OTOOL"; then
8641  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8642else
8643as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8644for as_dir in $PATH
8645do
8646  IFS=$as_save_IFS
8647  case $as_dir in #(((
8648    '') as_dir=./ ;;
8649    */) ;;
8650    *) as_dir=$as_dir/ ;;
8651  esac
8652    for ac_exec_ext in '' $ac_executable_extensions; do
8653  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8654    ac_cv_prog_ac_ct_OTOOL="otool"
8655    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8656    break 2
8657  fi
8658done
8659  done
8660IFS=$as_save_IFS
8661
8662fi
8663fi
8664ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8665if test -n "$ac_ct_OTOOL"; then
8666  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8667printf "%s\n" "$ac_ct_OTOOL" >&6; }
8668else
8669  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8670printf "%s\n" "no" >&6; }
8671fi
8672
8673  if test "x$ac_ct_OTOOL" = x; then
8674    OTOOL=":"
8675  else
8676    case $cross_compiling:$ac_tool_warned in
8677yes:)
8678{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8679printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8680ac_tool_warned=yes ;;
8681esac
8682    OTOOL=$ac_ct_OTOOL
8683  fi
8684else
8685  OTOOL="$ac_cv_prog_OTOOL"
8686fi
8687
8688    if test -n "$ac_tool_prefix"; then
8689  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8690set dummy ${ac_tool_prefix}otool64; ac_word=$2
8691{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8692printf %s "checking for $ac_word... " >&6; }
8693if test ${ac_cv_prog_OTOOL64+y}
8694then :
8695  printf %s "(cached) " >&6
8696else $as_nop
8697  if test -n "$OTOOL64"; then
8698  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8699else
8700as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8701for as_dir in $PATH
8702do
8703  IFS=$as_save_IFS
8704  case $as_dir in #(((
8705    '') as_dir=./ ;;
8706    */) ;;
8707    *) as_dir=$as_dir/ ;;
8708  esac
8709    for ac_exec_ext in '' $ac_executable_extensions; do
8710  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8711    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8712    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8713    break 2
8714  fi
8715done
8716  done
8717IFS=$as_save_IFS
8718
8719fi
8720fi
8721OTOOL64=$ac_cv_prog_OTOOL64
8722if test -n "$OTOOL64"; then
8723  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8724printf "%s\n" "$OTOOL64" >&6; }
8725else
8726  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8727printf "%s\n" "no" >&6; }
8728fi
8729
8730
8731fi
8732if test -z "$ac_cv_prog_OTOOL64"; then
8733  ac_ct_OTOOL64=$OTOOL64
8734  # Extract the first word of "otool64", so it can be a program name with args.
8735set dummy otool64; ac_word=$2
8736{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8737printf %s "checking for $ac_word... " >&6; }
8738if test ${ac_cv_prog_ac_ct_OTOOL64+y}
8739then :
8740  printf %s "(cached) " >&6
8741else $as_nop
8742  if test -n "$ac_ct_OTOOL64"; then
8743  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8744else
8745as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8746for as_dir in $PATH
8747do
8748  IFS=$as_save_IFS
8749  case $as_dir in #(((
8750    '') as_dir=./ ;;
8751    */) ;;
8752    *) as_dir=$as_dir/ ;;
8753  esac
8754    for ac_exec_ext in '' $ac_executable_extensions; do
8755  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8756    ac_cv_prog_ac_ct_OTOOL64="otool64"
8757    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8758    break 2
8759  fi
8760done
8761  done
8762IFS=$as_save_IFS
8763
8764fi
8765fi
8766ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8767if test -n "$ac_ct_OTOOL64"; then
8768  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8769printf "%s\n" "$ac_ct_OTOOL64" >&6; }
8770else
8771  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8772printf "%s\n" "no" >&6; }
8773fi
8774
8775  if test "x$ac_ct_OTOOL64" = x; then
8776    OTOOL64=":"
8777  else
8778    case $cross_compiling:$ac_tool_warned in
8779yes:)
8780{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8781printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8782ac_tool_warned=yes ;;
8783esac
8784    OTOOL64=$ac_ct_OTOOL64
8785  fi
8786else
8787  OTOOL64="$ac_cv_prog_OTOOL64"
8788fi
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8817printf %s "checking for -single_module linker flag... " >&6; }
8818if test ${lt_cv_apple_cc_single_mod+y}
8819then :
8820  printf %s "(cached) " >&6
8821else $as_nop
8822  lt_cv_apple_cc_single_mod=no
8823      if test -z "$LT_MULTI_MODULE"; then
8824	# By default we will add the -single_module flag. You can override
8825	# by either setting the environment variable LT_MULTI_MODULE
8826	# non-empty at configure time, or by adding -multi_module to the
8827	# link flags.
8828	rm -rf libconftest.dylib*
8829	echo "int foo(void){return 1;}" > conftest.c
8830	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8831-dynamiclib -Wl,-single_module conftest.c" >&5
8832	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8833	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8834        _lt_result=$?
8835	# If there is a non-empty error log, and "single_module"
8836	# appears in it, assume the flag caused a linker warning
8837        if test -s conftest.err && $GREP single_module conftest.err; then
8838	  cat conftest.err >&5
8839	# Otherwise, if the output was created with a 0 exit code from
8840	# the compiler, it worked.
8841	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8842	  lt_cv_apple_cc_single_mod=yes
8843	else
8844	  cat conftest.err >&5
8845	fi
8846	rm -rf libconftest.dylib*
8847	rm -f conftest.*
8848      fi
8849fi
8850{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8851printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
8852
8853    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8854printf %s "checking for -exported_symbols_list linker flag... " >&6; }
8855if test ${lt_cv_ld_exported_symbols_list+y}
8856then :
8857  printf %s "(cached) " >&6
8858else $as_nop
8859  lt_cv_ld_exported_symbols_list=no
8860      save_LDFLAGS=$LDFLAGS
8861      echo "_main" > conftest.sym
8862      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8863      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8864/* end confdefs.h.  */
8865
8866int
8867main (void)
8868{
8869
8870  ;
8871  return 0;
8872}
8873_ACEOF
8874if ac_fn_c_try_link "$LINENO"
8875then :
8876  lt_cv_ld_exported_symbols_list=yes
8877else $as_nop
8878  lt_cv_ld_exported_symbols_list=no
8879fi
8880rm -f core conftest.err conftest.$ac_objext conftest.beam \
8881    conftest$ac_exeext conftest.$ac_ext
8882	LDFLAGS=$save_LDFLAGS
8883
8884fi
8885{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8886printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
8887
8888    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8889printf %s "checking for -force_load linker flag... " >&6; }
8890if test ${lt_cv_ld_force_load+y}
8891then :
8892  printf %s "(cached) " >&6
8893else $as_nop
8894  lt_cv_ld_force_load=no
8895      cat > conftest.c << _LT_EOF
8896int forced_loaded() { return 2;}
8897_LT_EOF
8898      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8899      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8900      echo "$AR cru libconftest.a conftest.o" >&5
8901      $AR cru libconftest.a conftest.o 2>&5
8902      echo "$RANLIB libconftest.a" >&5
8903      $RANLIB libconftest.a 2>&5
8904      cat > conftest.c << _LT_EOF
8905int main() { return 0;}
8906_LT_EOF
8907      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8908      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8909      _lt_result=$?
8910      if test -s conftest.err && $GREP force_load conftest.err; then
8911	cat conftest.err >&5
8912      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8913	lt_cv_ld_force_load=yes
8914      else
8915	cat conftest.err >&5
8916      fi
8917        rm -f conftest.err libconftest.a conftest conftest.c
8918        rm -rf conftest.dSYM
8919
8920fi
8921{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8922printf "%s\n" "$lt_cv_ld_force_load" >&6; }
8923    case $host_os in
8924    rhapsody* | darwin1.[012])
8925      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8926    darwin1.*)
8927      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8928    darwin*) # darwin 5.x on
8929      # if running on 10.5 or later, the deployment target defaults
8930      # to the OS version, if on x86, and 10.4, the deployment
8931      # target defaults to 10.4. Don't you love it?
8932      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8933	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8934	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8935	10.[012][,.]*)
8936	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8937	10.*)
8938	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8939      esac
8940    ;;
8941  esac
8942    if test yes = "$lt_cv_apple_cc_single_mod"; then
8943      _lt_dar_single_mod='$single_module'
8944    fi
8945    if test yes = "$lt_cv_ld_exported_symbols_list"; then
8946      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8947    else
8948      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8949    fi
8950    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8951      _lt_dsymutil='~$DSYMUTIL $lib || :'
8952    else
8953      _lt_dsymutil=
8954    fi
8955    ;;
8956  esac
8957
8958# func_munge_path_list VARIABLE PATH
8959# -----------------------------------
8960# VARIABLE is name of variable containing _space_ separated list of
8961# directories to be munged by the contents of PATH, which is string
8962# having a format:
8963# "DIR[:DIR]:"
8964#       string "DIR[ DIR]" will be prepended to VARIABLE
8965# ":DIR[:DIR]"
8966#       string "DIR[ DIR]" will be appended to VARIABLE
8967# "DIRP[:DIRP]::[DIRA:]DIRA"
8968#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
8969#       "DIRA[ DIRA]" will be appended to VARIABLE
8970# "DIR[:DIR]"
8971#       VARIABLE will be replaced by "DIR[ DIR]"
8972func_munge_path_list ()
8973{
8974    case x$2 in
8975    x)
8976        ;;
8977    *:)
8978        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
8979        ;;
8980    x:*)
8981        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
8982        ;;
8983    *::*)
8984        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8985        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
8986        ;;
8987    *)
8988        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
8989        ;;
8990    esac
8991}
8992
8993ac_header= ac_cache=
8994for ac_item in $ac_header_c_list
8995do
8996  if test $ac_cache; then
8997    ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
8998    if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
8999      printf "%s\n" "#define $ac_item 1" >> confdefs.h
9000    fi
9001    ac_header= ac_cache=
9002  elif test $ac_header; then
9003    ac_cache=$ac_item
9004  else
9005    ac_header=$ac_item
9006  fi
9007done
9008
9009
9010
9011
9012
9013
9014
9015
9016if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
9017then :
9018
9019printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
9020
9021fi
9022ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9023"
9024if test "x$ac_cv_header_dlfcn_h" = xyes
9025then :
9026  printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
9027
9028fi
9029
9030
9031
9032
9033
9034# Set options
9035enable_win32_dll=yes
9036
9037case $host in
9038*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
9039  if test -n "$ac_tool_prefix"; then
9040  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
9041set dummy ${ac_tool_prefix}as; ac_word=$2
9042{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9043printf %s "checking for $ac_word... " >&6; }
9044if test ${ac_cv_prog_AS+y}
9045then :
9046  printf %s "(cached) " >&6
9047else $as_nop
9048  if test -n "$AS"; then
9049  ac_cv_prog_AS="$AS" # Let the user override the test.
9050else
9051as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9052for as_dir in $PATH
9053do
9054  IFS=$as_save_IFS
9055  case $as_dir in #(((
9056    '') as_dir=./ ;;
9057    */) ;;
9058    *) as_dir=$as_dir/ ;;
9059  esac
9060    for ac_exec_ext in '' $ac_executable_extensions; do
9061  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9062    ac_cv_prog_AS="${ac_tool_prefix}as"
9063    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9064    break 2
9065  fi
9066done
9067  done
9068IFS=$as_save_IFS
9069
9070fi
9071fi
9072AS=$ac_cv_prog_AS
9073if test -n "$AS"; then
9074  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
9075printf "%s\n" "$AS" >&6; }
9076else
9077  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9078printf "%s\n" "no" >&6; }
9079fi
9080
9081
9082fi
9083if test -z "$ac_cv_prog_AS"; then
9084  ac_ct_AS=$AS
9085  # Extract the first word of "as", so it can be a program name with args.
9086set dummy as; ac_word=$2
9087{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9088printf %s "checking for $ac_word... " >&6; }
9089if test ${ac_cv_prog_ac_ct_AS+y}
9090then :
9091  printf %s "(cached) " >&6
9092else $as_nop
9093  if test -n "$ac_ct_AS"; then
9094  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
9095else
9096as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9097for as_dir in $PATH
9098do
9099  IFS=$as_save_IFS
9100  case $as_dir in #(((
9101    '') as_dir=./ ;;
9102    */) ;;
9103    *) as_dir=$as_dir/ ;;
9104  esac
9105    for ac_exec_ext in '' $ac_executable_extensions; do
9106  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9107    ac_cv_prog_ac_ct_AS="as"
9108    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9109    break 2
9110  fi
9111done
9112  done
9113IFS=$as_save_IFS
9114
9115fi
9116fi
9117ac_ct_AS=$ac_cv_prog_ac_ct_AS
9118if test -n "$ac_ct_AS"; then
9119  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
9120printf "%s\n" "$ac_ct_AS" >&6; }
9121else
9122  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9123printf "%s\n" "no" >&6; }
9124fi
9125
9126  if test "x$ac_ct_AS" = x; then
9127    AS="false"
9128  else
9129    case $cross_compiling:$ac_tool_warned in
9130yes:)
9131{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9132printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9133ac_tool_warned=yes ;;
9134esac
9135    AS=$ac_ct_AS
9136  fi
9137else
9138  AS="$ac_cv_prog_AS"
9139fi
9140
9141  if test -n "$ac_tool_prefix"; then
9142  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
9143set dummy ${ac_tool_prefix}dlltool; ac_word=$2
9144{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9145printf %s "checking for $ac_word... " >&6; }
9146if test ${ac_cv_prog_DLLTOOL+y}
9147then :
9148  printf %s "(cached) " >&6
9149else $as_nop
9150  if test -n "$DLLTOOL"; then
9151  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9152else
9153as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9154for as_dir in $PATH
9155do
9156  IFS=$as_save_IFS
9157  case $as_dir in #(((
9158    '') as_dir=./ ;;
9159    */) ;;
9160    *) as_dir=$as_dir/ ;;
9161  esac
9162    for ac_exec_ext in '' $ac_executable_extensions; do
9163  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9164    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
9165    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9166    break 2
9167  fi
9168done
9169  done
9170IFS=$as_save_IFS
9171
9172fi
9173fi
9174DLLTOOL=$ac_cv_prog_DLLTOOL
9175if test -n "$DLLTOOL"; then
9176  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
9177printf "%s\n" "$DLLTOOL" >&6; }
9178else
9179  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9180printf "%s\n" "no" >&6; }
9181fi
9182
9183
9184fi
9185if test -z "$ac_cv_prog_DLLTOOL"; then
9186  ac_ct_DLLTOOL=$DLLTOOL
9187  # Extract the first word of "dlltool", so it can be a program name with args.
9188set dummy dlltool; ac_word=$2
9189{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9190printf %s "checking for $ac_word... " >&6; }
9191if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
9192then :
9193  printf %s "(cached) " >&6
9194else $as_nop
9195  if test -n "$ac_ct_DLLTOOL"; then
9196  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
9197else
9198as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9199for as_dir in $PATH
9200do
9201  IFS=$as_save_IFS
9202  case $as_dir in #(((
9203    '') as_dir=./ ;;
9204    */) ;;
9205    *) as_dir=$as_dir/ ;;
9206  esac
9207    for ac_exec_ext in '' $ac_executable_extensions; do
9208  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9209    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
9210    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9211    break 2
9212  fi
9213done
9214  done
9215IFS=$as_save_IFS
9216
9217fi
9218fi
9219ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
9220if test -n "$ac_ct_DLLTOOL"; then
9221  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
9222printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
9223else
9224  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9225printf "%s\n" "no" >&6; }
9226fi
9227
9228  if test "x$ac_ct_DLLTOOL" = x; then
9229    DLLTOOL="false"
9230  else
9231    case $cross_compiling:$ac_tool_warned in
9232yes:)
9233{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9234printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9235ac_tool_warned=yes ;;
9236esac
9237    DLLTOOL=$ac_ct_DLLTOOL
9238  fi
9239else
9240  DLLTOOL="$ac_cv_prog_DLLTOOL"
9241fi
9242
9243  if test -n "$ac_tool_prefix"; then
9244  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
9245set dummy ${ac_tool_prefix}objdump; ac_word=$2
9246{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9247printf %s "checking for $ac_word... " >&6; }
9248if test ${ac_cv_prog_OBJDUMP+y}
9249then :
9250  printf %s "(cached) " >&6
9251else $as_nop
9252  if test -n "$OBJDUMP"; then
9253  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9254else
9255as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9256for as_dir in $PATH
9257do
9258  IFS=$as_save_IFS
9259  case $as_dir in #(((
9260    '') as_dir=./ ;;
9261    */) ;;
9262    *) as_dir=$as_dir/ ;;
9263  esac
9264    for ac_exec_ext in '' $ac_executable_extensions; do
9265  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9266    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
9267    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9268    break 2
9269  fi
9270done
9271  done
9272IFS=$as_save_IFS
9273
9274fi
9275fi
9276OBJDUMP=$ac_cv_prog_OBJDUMP
9277if test -n "$OBJDUMP"; then
9278  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
9279printf "%s\n" "$OBJDUMP" >&6; }
9280else
9281  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9282printf "%s\n" "no" >&6; }
9283fi
9284
9285
9286fi
9287if test -z "$ac_cv_prog_OBJDUMP"; then
9288  ac_ct_OBJDUMP=$OBJDUMP
9289  # Extract the first word of "objdump", so it can be a program name with args.
9290set dummy objdump; ac_word=$2
9291{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9292printf %s "checking for $ac_word... " >&6; }
9293if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
9294then :
9295  printf %s "(cached) " >&6
9296else $as_nop
9297  if test -n "$ac_ct_OBJDUMP"; then
9298  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
9299else
9300as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9301for as_dir in $PATH
9302do
9303  IFS=$as_save_IFS
9304  case $as_dir in #(((
9305    '') as_dir=./ ;;
9306    */) ;;
9307    *) as_dir=$as_dir/ ;;
9308  esac
9309    for ac_exec_ext in '' $ac_executable_extensions; do
9310  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9311    ac_cv_prog_ac_ct_OBJDUMP="objdump"
9312    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9313    break 2
9314  fi
9315done
9316  done
9317IFS=$as_save_IFS
9318
9319fi
9320fi
9321ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
9322if test -n "$ac_ct_OBJDUMP"; then
9323  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
9324printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
9325else
9326  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9327printf "%s\n" "no" >&6; }
9328fi
9329
9330  if test "x$ac_ct_OBJDUMP" = x; then
9331    OBJDUMP="false"
9332  else
9333    case $cross_compiling:$ac_tool_warned in
9334yes:)
9335{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9336printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9337ac_tool_warned=yes ;;
9338esac
9339    OBJDUMP=$ac_ct_OBJDUMP
9340  fi
9341else
9342  OBJDUMP="$ac_cv_prog_OBJDUMP"
9343fi
9344
9345  ;;
9346esac
9347
9348test -z "$AS" && AS=as
9349
9350
9351
9352
9353
9354test -z "$DLLTOOL" && DLLTOOL=dlltool
9355
9356
9357
9358
9359
9360test -z "$OBJDUMP" && OBJDUMP=objdump
9361
9362
9363
9364
9365
9366
9367
9368        enable_dlopen=no
9369
9370
9371
9372            # Check whether --enable-shared was given.
9373if test ${enable_shared+y}
9374then :
9375  enableval=$enable_shared; p=${PACKAGE-default}
9376    case $enableval in
9377    yes) enable_shared=yes ;;
9378    no) enable_shared=no ;;
9379    *)
9380      enable_shared=no
9381      # Look at the argument we got.  We use all the common list separators.
9382      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9383      for pkg in $enableval; do
9384	IFS=$lt_save_ifs
9385	if test "X$pkg" = "X$p"; then
9386	  enable_shared=yes
9387	fi
9388      done
9389      IFS=$lt_save_ifs
9390      ;;
9391    esac
9392else $as_nop
9393  enable_shared=yes
9394fi
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404  # Check whether --enable-static was given.
9405if test ${enable_static+y}
9406then :
9407  enableval=$enable_static; p=${PACKAGE-default}
9408    case $enableval in
9409    yes) enable_static=yes ;;
9410    no) enable_static=no ;;
9411    *)
9412     enable_static=no
9413      # Look at the argument we got.  We use all the common list separators.
9414      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9415      for pkg in $enableval; do
9416	IFS=$lt_save_ifs
9417	if test "X$pkg" = "X$p"; then
9418	  enable_static=yes
9419	fi
9420      done
9421      IFS=$lt_save_ifs
9422      ;;
9423    esac
9424else $as_nop
9425  enable_static=yes
9426fi
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437# Check whether --with-pic was given.
9438if test ${with_pic+y}
9439then :
9440  withval=$with_pic; lt_p=${PACKAGE-default}
9441    case $withval in
9442    yes|no) pic_mode=$withval ;;
9443    *)
9444      pic_mode=default
9445      # Look at the argument we got.  We use all the common list separators.
9446      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9447      for lt_pkg in $withval; do
9448	IFS=$lt_save_ifs
9449	if test "X$lt_pkg" = "X$lt_p"; then
9450	  pic_mode=yes
9451	fi
9452      done
9453      IFS=$lt_save_ifs
9454      ;;
9455    esac
9456else $as_nop
9457  pic_mode=default
9458fi
9459
9460
9461
9462
9463
9464
9465
9466
9467  # Check whether --enable-fast-install was given.
9468if test ${enable_fast_install+y}
9469then :
9470  enableval=$enable_fast_install; p=${PACKAGE-default}
9471    case $enableval in
9472    yes) enable_fast_install=yes ;;
9473    no) enable_fast_install=no ;;
9474    *)
9475      enable_fast_install=no
9476      # Look at the argument we got.  We use all the common list separators.
9477      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9478      for pkg in $enableval; do
9479	IFS=$lt_save_ifs
9480	if test "X$pkg" = "X$p"; then
9481	  enable_fast_install=yes
9482	fi
9483      done
9484      IFS=$lt_save_ifs
9485      ;;
9486    esac
9487else $as_nop
9488  enable_fast_install=yes
9489fi
9490
9491
9492
9493
9494
9495
9496
9497
9498  shared_archive_member_spec=
9499case $host,$enable_shared in
9500power*-*-aix[5-9]*,yes)
9501  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
9502printf %s "checking which variant of shared library versioning to provide... " >&6; }
9503
9504# Check whether --with-aix-soname was given.
9505if test ${with_aix_soname+y}
9506then :
9507  withval=$with_aix_soname; case $withval in
9508    aix|svr4|both)
9509      ;;
9510    *)
9511      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
9512      ;;
9513    esac
9514    lt_cv_with_aix_soname=$with_aix_soname
9515else $as_nop
9516  if test ${lt_cv_with_aix_soname+y}
9517then :
9518  printf %s "(cached) " >&6
9519else $as_nop
9520  lt_cv_with_aix_soname=aix
9521fi
9522
9523    with_aix_soname=$lt_cv_with_aix_soname
9524fi
9525
9526  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
9527printf "%s\n" "$with_aix_soname" >&6; }
9528  if test aix != "$with_aix_soname"; then
9529    # For the AIX way of multilib, we name the shared archive member
9530    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
9531    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
9532    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
9533    # the AIX toolchain works better with OBJECT_MODE set (default 32).
9534    if test 64 = "${OBJECT_MODE-32}"; then
9535      shared_archive_member_spec=shr_64
9536    else
9537      shared_archive_member_spec=shr
9538    fi
9539  fi
9540  ;;
9541*)
9542  with_aix_soname=aix
9543  ;;
9544esac
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555# This can be used to rebuild libtool when needed
9556LIBTOOL_DEPS=$ltmain
9557
9558# Always use our own libtool.
9559LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590test -z "$LN_S" && LN_S="ln -s"
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605if test -n "${ZSH_VERSION+set}"; then
9606   setopt NO_GLOB_SUBST
9607fi
9608
9609{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9610printf %s "checking for objdir... " >&6; }
9611if test ${lt_cv_objdir+y}
9612then :
9613  printf %s "(cached) " >&6
9614else $as_nop
9615  rm -f .libs 2>/dev/null
9616mkdir .libs 2>/dev/null
9617if test -d .libs; then
9618  lt_cv_objdir=.libs
9619else
9620  # MS-DOS does not allow filenames that begin with a dot.
9621  lt_cv_objdir=_libs
9622fi
9623rmdir .libs 2>/dev/null
9624fi
9625{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9626printf "%s\n" "$lt_cv_objdir" >&6; }
9627objdir=$lt_cv_objdir
9628
9629
9630
9631
9632
9633printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
9634
9635
9636
9637
9638case $host_os in
9639aix3*)
9640  # AIX sometimes has problems with the GCC collect2 program.  For some
9641  # reason, if we set the COLLECT_NAMES environment variable, the problems
9642  # vanish in a puff of smoke.
9643  if test set != "${COLLECT_NAMES+set}"; then
9644    COLLECT_NAMES=
9645    export COLLECT_NAMES
9646  fi
9647  ;;
9648esac
9649
9650# Global variables:
9651ofile=libtool
9652can_build_shared=yes
9653
9654# All known linkers require a '.a' archive for static linking (except MSVC,
9655# which needs '.lib').
9656libext=a
9657
9658with_gnu_ld=$lt_cv_prog_gnu_ld
9659
9660old_CC=$CC
9661old_CFLAGS=$CFLAGS
9662
9663# Set sane defaults for various variables
9664test -z "$CC" && CC=cc
9665test -z "$LTCC" && LTCC=$CC
9666test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9667test -z "$LD" && LD=ld
9668test -z "$ac_objext" && ac_objext=o
9669
9670func_cc_basename $compiler
9671cc_basename=$func_cc_basename_result
9672
9673
9674# Only perform the check for file, if the check method requires it
9675test -z "$MAGIC_CMD" && MAGIC_CMD=file
9676case $deplibs_check_method in
9677file_magic*)
9678  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9679    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9680printf %s "checking for ${ac_tool_prefix}file... " >&6; }
9681if test ${lt_cv_path_MAGIC_CMD+y}
9682then :
9683  printf %s "(cached) " >&6
9684else $as_nop
9685  case $MAGIC_CMD in
9686[\\/*] |  ?:[\\/]*)
9687  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9688  ;;
9689*)
9690  lt_save_MAGIC_CMD=$MAGIC_CMD
9691  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9692  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9693  for ac_dir in $ac_dummy; do
9694    IFS=$lt_save_ifs
9695    test -z "$ac_dir" && ac_dir=.
9696    if test -f "$ac_dir/${ac_tool_prefix}file"; then
9697      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
9698      if test -n "$file_magic_test_file"; then
9699	case $deplibs_check_method in
9700	"file_magic "*)
9701	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9702	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9703	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9704	    $EGREP "$file_magic_regex" > /dev/null; then
9705	    :
9706	  else
9707	    cat <<_LT_EOF 1>&2
9708
9709*** Warning: the command libtool uses to detect shared libraries,
9710*** $file_magic_cmd, produces output that libtool cannot recognize.
9711*** The result is that libtool may fail to recognize shared libraries
9712*** as such.  This will affect the creation of libtool libraries that
9713*** depend on shared libraries, but programs linked with such libtool
9714*** libraries will work regardless of this problem.  Nevertheless, you
9715*** may want to report the problem to your system manager and/or to
9716*** bug-libtool@gnu.org
9717
9718_LT_EOF
9719	  fi ;;
9720	esac
9721      fi
9722      break
9723    fi
9724  done
9725  IFS=$lt_save_ifs
9726  MAGIC_CMD=$lt_save_MAGIC_CMD
9727  ;;
9728esac
9729fi
9730
9731MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9732if test -n "$MAGIC_CMD"; then
9733  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9734printf "%s\n" "$MAGIC_CMD" >&6; }
9735else
9736  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9737printf "%s\n" "no" >&6; }
9738fi
9739
9740
9741
9742
9743
9744if test -z "$lt_cv_path_MAGIC_CMD"; then
9745  if test -n "$ac_tool_prefix"; then
9746    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9747printf %s "checking for file... " >&6; }
9748if test ${lt_cv_path_MAGIC_CMD+y}
9749then :
9750  printf %s "(cached) " >&6
9751else $as_nop
9752  case $MAGIC_CMD in
9753[\\/*] |  ?:[\\/]*)
9754  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9755  ;;
9756*)
9757  lt_save_MAGIC_CMD=$MAGIC_CMD
9758  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9759  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9760  for ac_dir in $ac_dummy; do
9761    IFS=$lt_save_ifs
9762    test -z "$ac_dir" && ac_dir=.
9763    if test -f "$ac_dir/file"; then
9764      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
9765      if test -n "$file_magic_test_file"; then
9766	case $deplibs_check_method in
9767	"file_magic "*)
9768	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9769	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9770	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9771	    $EGREP "$file_magic_regex" > /dev/null; then
9772	    :
9773	  else
9774	    cat <<_LT_EOF 1>&2
9775
9776*** Warning: the command libtool uses to detect shared libraries,
9777*** $file_magic_cmd, produces output that libtool cannot recognize.
9778*** The result is that libtool may fail to recognize shared libraries
9779*** as such.  This will affect the creation of libtool libraries that
9780*** depend on shared libraries, but programs linked with such libtool
9781*** libraries will work regardless of this problem.  Nevertheless, you
9782*** may want to report the problem to your system manager and/or to
9783*** bug-libtool@gnu.org
9784
9785_LT_EOF
9786	  fi ;;
9787	esac
9788      fi
9789      break
9790    fi
9791  done
9792  IFS=$lt_save_ifs
9793  MAGIC_CMD=$lt_save_MAGIC_CMD
9794  ;;
9795esac
9796fi
9797
9798MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9799if test -n "$MAGIC_CMD"; then
9800  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9801printf "%s\n" "$MAGIC_CMD" >&6; }
9802else
9803  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9804printf "%s\n" "no" >&6; }
9805fi
9806
9807
9808  else
9809    MAGIC_CMD=:
9810  fi
9811fi
9812
9813  fi
9814  ;;
9815esac
9816
9817# Use C for the default configuration in the libtool script
9818
9819lt_save_CC=$CC
9820ac_ext=c
9821ac_cpp='$CPP $CPPFLAGS'
9822ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9823ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9824ac_compiler_gnu=$ac_cv_c_compiler_gnu
9825
9826
9827# Source file extension for C test sources.
9828ac_ext=c
9829
9830# Object file extension for compiled C test sources.
9831objext=o
9832objext=$objext
9833
9834# Code to be used in simple compile tests
9835lt_simple_compile_test_code="int some_variable = 0;"
9836
9837# Code to be used in simple link tests
9838lt_simple_link_test_code='int main(){return(0);}'
9839
9840
9841
9842
9843
9844
9845
9846# If no C compiler was specified, use CC.
9847LTCC=${LTCC-"$CC"}
9848
9849# If no C compiler flags were specified, use CFLAGS.
9850LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9851
9852# Allow CC to be a program name with arguments.
9853compiler=$CC
9854
9855# Save the default compiler, since it gets overwritten when the other
9856# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9857compiler_DEFAULT=$CC
9858
9859# save warnings/boilerplate of simple test code
9860ac_outfile=conftest.$ac_objext
9861echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9862eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9863_lt_compiler_boilerplate=`cat conftest.err`
9864$RM conftest*
9865
9866ac_outfile=conftest.$ac_objext
9867echo "$lt_simple_link_test_code" >conftest.$ac_ext
9868eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9869_lt_linker_boilerplate=`cat conftest.err`
9870$RM -r conftest*
9871
9872
9873## CAVEAT EMPTOR:
9874## There is no encapsulation within the following macros, do not change
9875## the running order or otherwise move them around unless you know exactly
9876## what you are doing...
9877if test -n "$compiler"; then
9878
9879lt_prog_compiler_no_builtin_flag=
9880
9881if test yes = "$GCC"; then
9882  case $cc_basename in
9883  nvcc*)
9884    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9885  *)
9886    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9887  esac
9888
9889  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9890printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9891if test ${lt_cv_prog_compiler_rtti_exceptions+y}
9892then :
9893  printf %s "(cached) " >&6
9894else $as_nop
9895  lt_cv_prog_compiler_rtti_exceptions=no
9896   ac_outfile=conftest.$ac_objext
9897   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9898   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
9899   # Insert the option either (1) after the last *FLAGS variable, or
9900   # (2) before a word containing "conftest.", or (3) at the end.
9901   # Note that $ac_compile itself does not contain backslashes and begins
9902   # with a dollar sign (not a hyphen), so the echo should work correctly.
9903   # The option is referenced via a variable to avoid confusing sed.
9904   lt_compile=`echo "$ac_compile" | $SED \
9905   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9906   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9907   -e 's:$: $lt_compiler_flag:'`
9908   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9909   (eval "$lt_compile" 2>conftest.err)
9910   ac_status=$?
9911   cat conftest.err >&5
9912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9913   if (exit $ac_status) && test -s "$ac_outfile"; then
9914     # The compiler can only warn and ignore the option if not recognized
9915     # So say no if there are warnings other than the usual output.
9916     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9917     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9918     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9919       lt_cv_prog_compiler_rtti_exceptions=yes
9920     fi
9921   fi
9922   $RM conftest*
9923
9924fi
9925{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9926printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9927
9928if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9929    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9930else
9931    :
9932fi
9933
9934fi
9935
9936
9937
9938
9939
9940
9941  lt_prog_compiler_wl=
9942lt_prog_compiler_pic=
9943lt_prog_compiler_static=
9944
9945
9946  if test yes = "$GCC"; then
9947    lt_prog_compiler_wl='-Wl,'
9948    lt_prog_compiler_static='-static'
9949
9950    case $host_os in
9951      aix*)
9952      # All AIX code is PIC.
9953      if test ia64 = "$host_cpu"; then
9954	# AIX 5 now supports IA64 processor
9955	lt_prog_compiler_static='-Bstatic'
9956      fi
9957      lt_prog_compiler_pic='-fPIC'
9958      ;;
9959
9960    amigaos*)
9961      case $host_cpu in
9962      powerpc)
9963            # see comment about AmigaOS4 .so support
9964            lt_prog_compiler_pic='-fPIC'
9965        ;;
9966      m68k)
9967            # FIXME: we need at least 68020 code to build shared libraries, but
9968            # adding the '-m68020' flag to GCC prevents building anything better,
9969            # like '-m68040'.
9970            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9971        ;;
9972      esac
9973      ;;
9974
9975    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9976      # PIC is the default for these OSes.
9977      ;;
9978
9979    mingw* | cygwin* | pw32* | os2* | cegcc*)
9980      # This hack is so that the source file can tell whether it is being
9981      # built for inclusion in a dll (and should export symbols for example).
9982      # Although the cygwin gcc ignores -fPIC, still need this for old-style
9983      # (--disable-auto-import) libraries
9984      lt_prog_compiler_pic='-DDLL_EXPORT'
9985      case $host_os in
9986      os2*)
9987	lt_prog_compiler_static='$wl-static'
9988	;;
9989      esac
9990      ;;
9991
9992    darwin* | rhapsody*)
9993      # PIC is the default on this platform
9994      # Common symbols not allowed in MH_DYLIB files
9995      lt_prog_compiler_pic='-fno-common'
9996      ;;
9997
9998    haiku*)
9999      # PIC is the default for Haiku.
10000      # The "-static" flag exists, but is broken.
10001      lt_prog_compiler_static=
10002      ;;
10003
10004    hpux*)
10005      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10006      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
10007      # sets the default TLS model and affects inlining.
10008      case $host_cpu in
10009      hppa*64*)
10010	# +Z the default
10011	;;
10012      *)
10013	lt_prog_compiler_pic='-fPIC'
10014	;;
10015      esac
10016      ;;
10017
10018    interix[3-9]*)
10019      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10020      # Instead, we relocate shared libraries at runtime.
10021      ;;
10022
10023    msdosdjgpp*)
10024      # Just because we use GCC doesn't mean we suddenly get shared libraries
10025      # on systems that don't support them.
10026      lt_prog_compiler_can_build_shared=no
10027      enable_shared=no
10028      ;;
10029
10030    *nto* | *qnx*)
10031      # QNX uses GNU C++, but need to define -shared option too, otherwise
10032      # it will coredump.
10033      lt_prog_compiler_pic='-fPIC -shared'
10034      ;;
10035
10036    sysv4*MP*)
10037      if test -d /usr/nec; then
10038	lt_prog_compiler_pic=-Kconform_pic
10039      fi
10040      ;;
10041
10042    *)
10043      lt_prog_compiler_pic='-fPIC'
10044      ;;
10045    esac
10046
10047    case $cc_basename in
10048    nvcc*) # Cuda Compiler Driver 2.2
10049      lt_prog_compiler_wl='-Xlinker '
10050      if test -n "$lt_prog_compiler_pic"; then
10051        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
10052      fi
10053      ;;
10054    esac
10055  else
10056    # PORTME Check for flag to pass linker flags through the system compiler.
10057    case $host_os in
10058    aix*)
10059      lt_prog_compiler_wl='-Wl,'
10060      if test ia64 = "$host_cpu"; then
10061	# AIX 5 now supports IA64 processor
10062	lt_prog_compiler_static='-Bstatic'
10063      else
10064	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10065      fi
10066      ;;
10067
10068    darwin* | rhapsody*)
10069      # PIC is the default on this platform
10070      # Common symbols not allowed in MH_DYLIB files
10071      lt_prog_compiler_pic='-fno-common'
10072      case $cc_basename in
10073      nagfor*)
10074        # NAG Fortran compiler
10075        lt_prog_compiler_wl='-Wl,-Wl,,'
10076        lt_prog_compiler_pic='-PIC'
10077        lt_prog_compiler_static='-Bstatic'
10078        ;;
10079      esac
10080      ;;
10081
10082    mingw* | cygwin* | pw32* | os2* | cegcc*)
10083      # This hack is so that the source file can tell whether it is being
10084      # built for inclusion in a dll (and should export symbols for example).
10085      lt_prog_compiler_pic='-DDLL_EXPORT'
10086      case $host_os in
10087      os2*)
10088	lt_prog_compiler_static='$wl-static'
10089	;;
10090      esac
10091      ;;
10092
10093    hpux9* | hpux10* | hpux11*)
10094      lt_prog_compiler_wl='-Wl,'
10095      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10096      # not for PA HP-UX.
10097      case $host_cpu in
10098      hppa*64*|ia64*)
10099	# +Z the default
10100	;;
10101      *)
10102	lt_prog_compiler_pic='+Z'
10103	;;
10104      esac
10105      # Is there a better lt_prog_compiler_static that works with the bundled CC?
10106      lt_prog_compiler_static='$wl-a ${wl}archive'
10107      ;;
10108
10109    irix5* | irix6* | nonstopux*)
10110      lt_prog_compiler_wl='-Wl,'
10111      # PIC (with -KPIC) is the default.
10112      lt_prog_compiler_static='-non_shared'
10113      ;;
10114
10115    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10116      case $cc_basename in
10117      # old Intel for x86_64, which still supported -KPIC.
10118      ecc*)
10119	lt_prog_compiler_wl='-Wl,'
10120	lt_prog_compiler_pic='-KPIC'
10121	lt_prog_compiler_static='-static'
10122        ;;
10123      # icc used to be incompatible with GCC.
10124      # ICC 10 doesn't accept -KPIC any more.
10125      icc* | ifort*)
10126	lt_prog_compiler_wl='-Wl,'
10127	lt_prog_compiler_pic='-fPIC'
10128	lt_prog_compiler_static='-static'
10129        ;;
10130      # Lahey Fortran 8.1.
10131      lf95*)
10132	lt_prog_compiler_wl='-Wl,'
10133	lt_prog_compiler_pic='--shared'
10134	lt_prog_compiler_static='--static'
10135	;;
10136      nagfor*)
10137	# NAG Fortran compiler
10138	lt_prog_compiler_wl='-Wl,-Wl,,'
10139	lt_prog_compiler_pic='-PIC'
10140	lt_prog_compiler_static='-Bstatic'
10141	;;
10142      tcc*)
10143	# Fabrice Bellard et al's Tiny C Compiler
10144	lt_prog_compiler_wl='-Wl,'
10145	lt_prog_compiler_pic='-fPIC'
10146	lt_prog_compiler_static='-static'
10147	;;
10148      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
10149        # Portland Group compilers (*not* the Pentium gcc compiler,
10150	# which looks to be a dead project)
10151	lt_prog_compiler_wl='-Wl,'
10152	lt_prog_compiler_pic='-fpic'
10153	lt_prog_compiler_static='-Bstatic'
10154        ;;
10155      ccc*)
10156        lt_prog_compiler_wl='-Wl,'
10157        # All Alpha code is PIC.
10158        lt_prog_compiler_static='-non_shared'
10159        ;;
10160      xl* | bgxl* | bgf* | mpixl*)
10161	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10162	lt_prog_compiler_wl='-Wl,'
10163	lt_prog_compiler_pic='-qpic'
10164	lt_prog_compiler_static='-qstaticlink'
10165	;;
10166      *)
10167	case `$CC -V 2>&1 | sed 5q` in
10168	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
10169	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
10170	  lt_prog_compiler_pic='-KPIC'
10171	  lt_prog_compiler_static='-Bstatic'
10172	  lt_prog_compiler_wl=''
10173	  ;;
10174	*Sun\ F* | *Sun*Fortran*)
10175	  lt_prog_compiler_pic='-KPIC'
10176	  lt_prog_compiler_static='-Bstatic'
10177	  lt_prog_compiler_wl='-Qoption ld '
10178	  ;;
10179	*Sun\ C*)
10180	  # Sun C 5.9
10181	  lt_prog_compiler_pic='-KPIC'
10182	  lt_prog_compiler_static='-Bstatic'
10183	  lt_prog_compiler_wl='-Wl,'
10184	  ;;
10185        *Intel*\ [CF]*Compiler*)
10186	  lt_prog_compiler_wl='-Wl,'
10187	  lt_prog_compiler_pic='-fPIC'
10188	  lt_prog_compiler_static='-static'
10189	  ;;
10190	*Portland\ Group*)
10191	  lt_prog_compiler_wl='-Wl,'
10192	  lt_prog_compiler_pic='-fpic'
10193	  lt_prog_compiler_static='-Bstatic'
10194	  ;;
10195	esac
10196	;;
10197      esac
10198      ;;
10199
10200    newsos6)
10201      lt_prog_compiler_pic='-KPIC'
10202      lt_prog_compiler_static='-Bstatic'
10203      ;;
10204
10205    *nto* | *qnx*)
10206      # QNX uses GNU C++, but need to define -shared option too, otherwise
10207      # it will coredump.
10208      lt_prog_compiler_pic='-fPIC -shared'
10209      ;;
10210
10211    osf3* | osf4* | osf5*)
10212      lt_prog_compiler_wl='-Wl,'
10213      # All OSF/1 code is PIC.
10214      lt_prog_compiler_static='-non_shared'
10215      ;;
10216
10217    rdos*)
10218      lt_prog_compiler_static='-non_shared'
10219      ;;
10220
10221    solaris*)
10222      lt_prog_compiler_pic='-KPIC'
10223      lt_prog_compiler_static='-Bstatic'
10224      case $cc_basename in
10225      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
10226	lt_prog_compiler_wl='-Qoption ld ';;
10227      *)
10228	lt_prog_compiler_wl='-Wl,';;
10229      esac
10230      ;;
10231
10232    sunos4*)
10233      lt_prog_compiler_wl='-Qoption ld '
10234      lt_prog_compiler_pic='-PIC'
10235      lt_prog_compiler_static='-Bstatic'
10236      ;;
10237
10238    sysv4 | sysv4.2uw2* | sysv4.3*)
10239      lt_prog_compiler_wl='-Wl,'
10240      lt_prog_compiler_pic='-KPIC'
10241      lt_prog_compiler_static='-Bstatic'
10242      ;;
10243
10244    sysv4*MP*)
10245      if test -d /usr/nec; then
10246	lt_prog_compiler_pic='-Kconform_pic'
10247	lt_prog_compiler_static='-Bstatic'
10248      fi
10249      ;;
10250
10251    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10252      lt_prog_compiler_wl='-Wl,'
10253      lt_prog_compiler_pic='-KPIC'
10254      lt_prog_compiler_static='-Bstatic'
10255      ;;
10256
10257    unicos*)
10258      lt_prog_compiler_wl='-Wl,'
10259      lt_prog_compiler_can_build_shared=no
10260      ;;
10261
10262    uts4*)
10263      lt_prog_compiler_pic='-pic'
10264      lt_prog_compiler_static='-Bstatic'
10265      ;;
10266
10267    *)
10268      lt_prog_compiler_can_build_shared=no
10269      ;;
10270    esac
10271  fi
10272
10273case $host_os in
10274  # For platforms that do not support PIC, -DPIC is meaningless:
10275  *djgpp*)
10276    lt_prog_compiler_pic=
10277    ;;
10278  *)
10279    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10280    ;;
10281esac
10282
10283{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10284printf %s "checking for $compiler option to produce PIC... " >&6; }
10285if test ${lt_cv_prog_compiler_pic+y}
10286then :
10287  printf %s "(cached) " >&6
10288else $as_nop
10289  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
10290fi
10291{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10292printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
10293lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
10294
10295#
10296# Check to make sure the PIC flag actually works.
10297#
10298if test -n "$lt_prog_compiler_pic"; then
10299  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10300printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10301if test ${lt_cv_prog_compiler_pic_works+y}
10302then :
10303  printf %s "(cached) " >&6
10304else $as_nop
10305  lt_cv_prog_compiler_pic_works=no
10306   ac_outfile=conftest.$ac_objext
10307   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10308   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
10309   # Insert the option either (1) after the last *FLAGS variable, or
10310   # (2) before a word containing "conftest.", or (3) at the end.
10311   # Note that $ac_compile itself does not contain backslashes and begins
10312   # with a dollar sign (not a hyphen), so the echo should work correctly.
10313   # The option is referenced via a variable to avoid confusing sed.
10314   lt_compile=`echo "$ac_compile" | $SED \
10315   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10316   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10317   -e 's:$: $lt_compiler_flag:'`
10318   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10319   (eval "$lt_compile" 2>conftest.err)
10320   ac_status=$?
10321   cat conftest.err >&5
10322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10323   if (exit $ac_status) && test -s "$ac_outfile"; then
10324     # The compiler can only warn and ignore the option if not recognized
10325     # So say no if there are warnings other than the usual output.
10326     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10327     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10328     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10329       lt_cv_prog_compiler_pic_works=yes
10330     fi
10331   fi
10332   $RM conftest*
10333
10334fi
10335{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10336printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
10337
10338if test yes = "$lt_cv_prog_compiler_pic_works"; then
10339    case $lt_prog_compiler_pic in
10340     "" | " "*) ;;
10341     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10342     esac
10343else
10344    lt_prog_compiler_pic=
10345     lt_prog_compiler_can_build_shared=no
10346fi
10347
10348fi
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360#
10361# Check to make sure the static flag actually works.
10362#
10363wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10364{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10365printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10366if test ${lt_cv_prog_compiler_static_works+y}
10367then :
10368  printf %s "(cached) " >&6
10369else $as_nop
10370  lt_cv_prog_compiler_static_works=no
10371   save_LDFLAGS=$LDFLAGS
10372   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10373   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10374   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10375     # The linker can only warn and ignore the option if not recognized
10376     # So say no if there are warnings
10377     if test -s conftest.err; then
10378       # Append any errors to the config.log.
10379       cat conftest.err 1>&5
10380       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10381       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10382       if diff conftest.exp conftest.er2 >/dev/null; then
10383         lt_cv_prog_compiler_static_works=yes
10384       fi
10385     else
10386       lt_cv_prog_compiler_static_works=yes
10387     fi
10388   fi
10389   $RM -r conftest*
10390   LDFLAGS=$save_LDFLAGS
10391
10392fi
10393{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10394printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
10395
10396if test yes = "$lt_cv_prog_compiler_static_works"; then
10397    :
10398else
10399    lt_prog_compiler_static=
10400fi
10401
10402
10403
10404
10405
10406
10407
10408  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10409printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10410if test ${lt_cv_prog_compiler_c_o+y}
10411then :
10412  printf %s "(cached) " >&6
10413else $as_nop
10414  lt_cv_prog_compiler_c_o=no
10415   $RM -r conftest 2>/dev/null
10416   mkdir conftest
10417   cd conftest
10418   mkdir out
10419   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10420
10421   lt_compiler_flag="-o out/conftest2.$ac_objext"
10422   # Insert the option either (1) after the last *FLAGS variable, or
10423   # (2) before a word containing "conftest.", or (3) at the end.
10424   # Note that $ac_compile itself does not contain backslashes and begins
10425   # with a dollar sign (not a hyphen), so the echo should work correctly.
10426   lt_compile=`echo "$ac_compile" | $SED \
10427   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10428   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10429   -e 's:$: $lt_compiler_flag:'`
10430   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10431   (eval "$lt_compile" 2>out/conftest.err)
10432   ac_status=$?
10433   cat out/conftest.err >&5
10434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10435   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10436   then
10437     # The compiler can only warn and ignore the option if not recognized
10438     # So say no if there are warnings
10439     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10440     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10441     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10442       lt_cv_prog_compiler_c_o=yes
10443     fi
10444   fi
10445   chmod u+w . 2>&5
10446   $RM conftest*
10447   # SGI C++ compiler will create directory out/ii_files/ for
10448   # template instantiation
10449   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10450   $RM out/* && rmdir out
10451   cd ..
10452   $RM -r conftest
10453   $RM conftest*
10454
10455fi
10456{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10457printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
10458
10459
10460
10461
10462
10463
10464  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10465printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10466if test ${lt_cv_prog_compiler_c_o+y}
10467then :
10468  printf %s "(cached) " >&6
10469else $as_nop
10470  lt_cv_prog_compiler_c_o=no
10471   $RM -r conftest 2>/dev/null
10472   mkdir conftest
10473   cd conftest
10474   mkdir out
10475   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10476
10477   lt_compiler_flag="-o out/conftest2.$ac_objext"
10478   # Insert the option either (1) after the last *FLAGS variable, or
10479   # (2) before a word containing "conftest.", or (3) at the end.
10480   # Note that $ac_compile itself does not contain backslashes and begins
10481   # with a dollar sign (not a hyphen), so the echo should work correctly.
10482   lt_compile=`echo "$ac_compile" | $SED \
10483   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10484   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10485   -e 's:$: $lt_compiler_flag:'`
10486   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10487   (eval "$lt_compile" 2>out/conftest.err)
10488   ac_status=$?
10489   cat out/conftest.err >&5
10490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10491   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10492   then
10493     # The compiler can only warn and ignore the option if not recognized
10494     # So say no if there are warnings
10495     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10496     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10497     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10498       lt_cv_prog_compiler_c_o=yes
10499     fi
10500   fi
10501   chmod u+w . 2>&5
10502   $RM conftest*
10503   # SGI C++ compiler will create directory out/ii_files/ for
10504   # template instantiation
10505   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10506   $RM out/* && rmdir out
10507   cd ..
10508   $RM -r conftest
10509   $RM conftest*
10510
10511fi
10512{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10513printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
10514
10515
10516
10517
10518hard_links=nottested
10519if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
10520  # do not overwrite the value of need_locks provided by the user
10521  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10522printf %s "checking if we can lock with hard links... " >&6; }
10523  hard_links=yes
10524  $RM conftest*
10525  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10526  touch conftest.a
10527  ln conftest.a conftest.b 2>&5 || hard_links=no
10528  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10529  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10530printf "%s\n" "$hard_links" >&6; }
10531  if test no = "$hard_links"; then
10532    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
10533printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
10534    need_locks=warn
10535  fi
10536else
10537  need_locks=no
10538fi
10539
10540
10541
10542
10543
10544
10545  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10546printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10547
10548  runpath_var=
10549  allow_undefined_flag=
10550  always_export_symbols=no
10551  archive_cmds=
10552  archive_expsym_cmds=
10553  compiler_needs_object=no
10554  enable_shared_with_static_runtimes=no
10555  export_dynamic_flag_spec=
10556  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10557  hardcode_automatic=no
10558  hardcode_direct=no
10559  hardcode_direct_absolute=no
10560  hardcode_libdir_flag_spec=
10561  hardcode_libdir_separator=
10562  hardcode_minus_L=no
10563  hardcode_shlibpath_var=unsupported
10564  inherit_rpath=no
10565  link_all_deplibs=unknown
10566  module_cmds=
10567  module_expsym_cmds=
10568  old_archive_from_new_cmds=
10569  old_archive_from_expsyms_cmds=
10570  thread_safe_flag_spec=
10571  whole_archive_flag_spec=
10572  # include_expsyms should be a list of space-separated symbols to be *always*
10573  # included in the symbol list
10574  include_expsyms=
10575  # exclude_expsyms can be an extended regexp of symbols to exclude
10576  # it will be wrapped by ' (' and ')$', so one must not match beginning or
10577  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
10578  # as well as any symbol that contains 'd'.
10579  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10580  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10581  # platforms (ab)use it in PIC code, but their linkers get confused if
10582  # the symbol is explicitly referenced.  Since portable code cannot
10583  # rely on this symbol name, it's probably fine to never include it in
10584  # preloaded symbol tables.
10585  # Exclude shared library initialization/finalization symbols.
10586  extract_expsyms_cmds=
10587
10588  case $host_os in
10589  cygwin* | mingw* | pw32* | cegcc*)
10590    # FIXME: the MSVC++ port hasn't been tested in a loooong time
10591    # When not using gcc, we currently assume that we are using
10592    # Microsoft Visual C++.
10593    if test yes != "$GCC"; then
10594      with_gnu_ld=no
10595    fi
10596    ;;
10597  interix*)
10598    # we just hope/assume this is gcc and not c89 (= MSVC++)
10599    with_gnu_ld=yes
10600    ;;
10601  openbsd* | bitrig*)
10602    with_gnu_ld=no
10603    ;;
10604  esac
10605
10606  ld_shlibs=yes
10607
10608  # On some targets, GNU ld is compatible enough with the native linker
10609  # that we're better off using the native interface for both.
10610  lt_use_gnu_ld_interface=no
10611  if test yes = "$with_gnu_ld"; then
10612    case $host_os in
10613      aix*)
10614	# The AIX port of GNU ld has always aspired to compatibility
10615	# with the native linker.  However, as the warning in the GNU ld
10616	# block says, versions before 2.19.5* couldn't really create working
10617	# shared libraries, regardless of the interface used.
10618	case `$LD -v 2>&1` in
10619	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10620	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10621	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10622	  *)
10623	    lt_use_gnu_ld_interface=yes
10624	    ;;
10625	esac
10626	;;
10627      *)
10628	lt_use_gnu_ld_interface=yes
10629	;;
10630    esac
10631  fi
10632
10633  if test yes = "$lt_use_gnu_ld_interface"; then
10634    # If archive_cmds runs LD, not CC, wlarc should be empty
10635    wlarc='$wl'
10636
10637    # Set some defaults for GNU ld with shared library support. These
10638    # are reset later if shared libraries are not supported. Putting them
10639    # here allows them to be overridden if necessary.
10640    runpath_var=LD_RUN_PATH
10641    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10642    export_dynamic_flag_spec='$wl--export-dynamic'
10643    # ancient GNU ld didn't support --whole-archive et. al.
10644    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10645      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
10646    else
10647      whole_archive_flag_spec=
10648    fi
10649    supports_anon_versioning=no
10650    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
10651      *GNU\ gold*) supports_anon_versioning=yes ;;
10652      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10653      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10654      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10655      *\ 2.11.*) ;; # other 2.11 versions
10656      *) supports_anon_versioning=yes ;;
10657    esac
10658
10659    # See if GNU ld supports shared libraries.
10660    case $host_os in
10661    aix[3-9]*)
10662      # On AIX/PPC, the GNU linker is very broken
10663      if test ia64 != "$host_cpu"; then
10664	ld_shlibs=no
10665	cat <<_LT_EOF 1>&2
10666
10667*** Warning: the GNU linker, at least up to release 2.19, is reported
10668*** to be unable to reliably create shared libraries on AIX.
10669*** Therefore, libtool is disabling shared libraries support.  If you
10670*** really care for shared libraries, you may want to install binutils
10671*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10672*** You will then need to restart the configuration process.
10673
10674_LT_EOF
10675      fi
10676      ;;
10677
10678    amigaos*)
10679      case $host_cpu in
10680      powerpc)
10681            # see comment about AmigaOS4 .so support
10682            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10683            archive_expsym_cmds=''
10684        ;;
10685      m68k)
10686            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)'
10687            hardcode_libdir_flag_spec='-L$libdir'
10688            hardcode_minus_L=yes
10689        ;;
10690      esac
10691      ;;
10692
10693    beos*)
10694      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10695	allow_undefined_flag=unsupported
10696	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10697	# support --undefined.  This deserves some investigation.  FIXME
10698	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10699      else
10700	ld_shlibs=no
10701      fi
10702      ;;
10703
10704    cygwin* | mingw* | pw32* | cegcc*)
10705      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10706      # as there is no search path for DLLs.
10707      hardcode_libdir_flag_spec='-L$libdir'
10708      export_dynamic_flag_spec='$wl--export-all-symbols'
10709      allow_undefined_flag=unsupported
10710      always_export_symbols=no
10711      enable_shared_with_static_runtimes=yes
10712      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'
10713      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10714
10715      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10716        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10717	# If the export-symbols file already is a .def file, use it as
10718	# is; otherwise, prepend EXPORTS...
10719	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
10720          cp $export_symbols $output_objdir/$soname.def;
10721        else
10722          echo EXPORTS > $output_objdir/$soname.def;
10723          cat $export_symbols >> $output_objdir/$soname.def;
10724        fi~
10725        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10726      else
10727	ld_shlibs=no
10728      fi
10729      ;;
10730
10731    haiku*)
10732      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10733      link_all_deplibs=yes
10734      ;;
10735
10736    os2*)
10737      hardcode_libdir_flag_spec='-L$libdir'
10738      hardcode_minus_L=yes
10739      allow_undefined_flag=unsupported
10740      shrext_cmds=.dll
10741      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10742	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10743	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10744	$ECHO EXPORTS >> $output_objdir/$libname.def~
10745	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10746	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10747	emximp -o $lib $output_objdir/$libname.def'
10748      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10749	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10750	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10751	$ECHO EXPORTS >> $output_objdir/$libname.def~
10752	prefix_cmds="$SED"~
10753	if test EXPORTS = "`$SED 1q $export_symbols`"; then
10754	  prefix_cmds="$prefix_cmds -e 1d";
10755	fi~
10756	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10757	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10758	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10759	emximp -o $lib $output_objdir/$libname.def'
10760      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10761      enable_shared_with_static_runtimes=yes
10762      ;;
10763
10764    interix[3-9]*)
10765      hardcode_direct=no
10766      hardcode_shlibpath_var=no
10767      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10768      export_dynamic_flag_spec='$wl-E'
10769      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10770      # Instead, shared libraries are loaded at an image base (0x10000000 by
10771      # default) and relocated if they conflict, which is a slow very memory
10772      # consuming and fragmenting process.  To avoid this, we pick a random,
10773      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10774      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
10775      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10776      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'
10777      ;;
10778
10779    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10780      tmp_diet=no
10781      if test linux-dietlibc = "$host_os"; then
10782	case $cc_basename in
10783	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
10784	esac
10785      fi
10786      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10787	 && test no = "$tmp_diet"
10788      then
10789	tmp_addflag=' $pic_flag'
10790	tmp_sharedflag='-shared'
10791	case $cc_basename,$host_cpu in
10792        pgcc*)				# Portland Group C compiler
10793	  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'
10794	  tmp_addflag=' $pic_flag'
10795	  ;;
10796	pgf77* | pgf90* | pgf95* | pgfortran*)
10797					# Portland Group f77 and f90 compilers
10798	  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'
10799	  tmp_addflag=' $pic_flag -Mnomain' ;;
10800	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
10801	  tmp_addflag=' -i_dynamic' ;;
10802	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
10803	  tmp_addflag=' -i_dynamic -nofor_main' ;;
10804	ifc* | ifort*)			# Intel Fortran compiler
10805	  tmp_addflag=' -nofor_main' ;;
10806	lf95*)				# Lahey Fortran 8.1
10807	  whole_archive_flag_spec=
10808	  tmp_sharedflag='--shared' ;;
10809        nagfor*)                        # NAGFOR 5.3
10810          tmp_sharedflag='-Wl,-shared' ;;
10811	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10812	  tmp_sharedflag='-qmkshrobj'
10813	  tmp_addflag= ;;
10814	nvcc*)	# Cuda Compiler Driver 2.2
10815	  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'
10816	  compiler_needs_object=yes
10817	  ;;
10818	esac
10819	case `$CC -V 2>&1 | sed 5q` in
10820	*Sun\ C*)			# Sun C 5.9
10821	  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'
10822	  compiler_needs_object=yes
10823	  tmp_sharedflag='-G' ;;
10824	*Sun\ F*)			# Sun Fortran 8.3
10825	  tmp_sharedflag='-G' ;;
10826	esac
10827	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10828
10829        if test yes = "$supports_anon_versioning"; then
10830          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10831            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10832            echo "local: *; };" >> $output_objdir/$libname.ver~
10833            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10834        fi
10835
10836	case $cc_basename in
10837	tcc*)
10838	  export_dynamic_flag_spec='-rdynamic'
10839	  ;;
10840	xlf* | bgf* | bgxlf* | mpixlf*)
10841	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10842	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10843	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10844	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10845	  if test yes = "$supports_anon_versioning"; then
10846	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10847              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10848              echo "local: *; };" >> $output_objdir/$libname.ver~
10849              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10850	  fi
10851	  ;;
10852	esac
10853      else
10854        ld_shlibs=no
10855      fi
10856      ;;
10857
10858    netbsd*)
10859      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10860	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10861	wlarc=
10862      else
10863	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10864	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10865      fi
10866      ;;
10867
10868    solaris*)
10869      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10870	ld_shlibs=no
10871	cat <<_LT_EOF 1>&2
10872
10873*** Warning: The releases 2.8.* of the GNU linker cannot reliably
10874*** create shared libraries on Solaris systems.  Therefore, libtool
10875*** is disabling shared libraries support.  We urge you to upgrade GNU
10876*** binutils to release 2.9.1 or newer.  Another option is to modify
10877*** your PATH or compiler configuration so that the native linker is
10878*** used, and then restart.
10879
10880_LT_EOF
10881      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10882	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10883	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10884      else
10885	ld_shlibs=no
10886      fi
10887      ;;
10888
10889    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10890      case `$LD -v 2>&1` in
10891        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10892	ld_shlibs=no
10893	cat <<_LT_EOF 1>&2
10894
10895*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10896*** reliably create shared libraries on SCO systems.  Therefore, libtool
10897*** is disabling shared libraries support.  We urge you to upgrade GNU
10898*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10899*** your PATH or compiler configuration so that the native linker is
10900*** used, and then restart.
10901
10902_LT_EOF
10903	;;
10904	*)
10905	  # For security reasons, it is highly recommended that you always
10906	  # use absolute paths for naming shared libraries, and exclude the
10907	  # DT_RUNPATH tag from executables and libraries.  But doing so
10908	  # requires that you compile everything twice, which is a pain.
10909	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10910	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10911	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10912	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10913	  else
10914	    ld_shlibs=no
10915	  fi
10916	;;
10917      esac
10918      ;;
10919
10920    sunos4*)
10921      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10922      wlarc=
10923      hardcode_direct=yes
10924      hardcode_shlibpath_var=no
10925      ;;
10926
10927    *)
10928      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10929	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10930	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10931      else
10932	ld_shlibs=no
10933      fi
10934      ;;
10935    esac
10936
10937    if test no = "$ld_shlibs"; then
10938      runpath_var=
10939      hardcode_libdir_flag_spec=
10940      export_dynamic_flag_spec=
10941      whole_archive_flag_spec=
10942    fi
10943  else
10944    # PORTME fill in a description of your system's linker (not GNU ld)
10945    case $host_os in
10946    aix3*)
10947      allow_undefined_flag=unsupported
10948      always_export_symbols=yes
10949      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'
10950      # Note: this linker hardcodes the directories in LIBPATH if there
10951      # are no directories specified by -L.
10952      hardcode_minus_L=yes
10953      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10954	# Neither direct hardcoding nor static linking is supported with a
10955	# broken collect2.
10956	hardcode_direct=unsupported
10957      fi
10958      ;;
10959
10960    aix[4-9]*)
10961      if test ia64 = "$host_cpu"; then
10962	# On IA64, the linker does run time linking by default, so we don't
10963	# have to do anything special.
10964	aix_use_runtimelinking=no
10965	exp_sym_flag='-Bexport'
10966	no_entry_flag=
10967      else
10968	# If we're using GNU nm, then we don't want the "-C" option.
10969	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
10970	# Without the "-l" option, or with the "-B" option, AIX nm treats
10971	# weak defined symbols like other global defined symbols, whereas
10972	# GNU nm marks them as "W".
10973	# While the 'weak' keyword is ignored in the Export File, we need
10974	# it in the Import File for the 'aix-soname' feature, so we have
10975	# to replace the "-B" option with "-P" for AIX nm.
10976	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10977	  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'
10978	else
10979	  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'
10980	fi
10981	aix_use_runtimelinking=no
10982
10983	# Test if we are trying to use run time linking or normal
10984	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
10985	# have runtime linking enabled, and use it for executables.
10986	# For shared libraries, we enable/disable runtime linking
10987	# depending on the kind of the shared library created -
10988	# when "with_aix_soname,aix_use_runtimelinking" is:
10989	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
10990	# "aix,yes"  lib.so          shared, rtl:yes, for executables
10991	#            lib.a           static archive
10992	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
10993	#            lib.a(lib.so.V) shared, rtl:no,  for executables
10994	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10995	#            lib.a(lib.so.V) shared, rtl:no
10996	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
10997	#            lib.a           static archive
10998	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10999	  for ld_flag in $LDFLAGS; do
11000	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
11001	    aix_use_runtimelinking=yes
11002	    break
11003	  fi
11004	  done
11005	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
11006	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
11007	    # so we don't have lib.a shared libs to link our executables.
11008	    # We have to force runtime linking in this case.
11009	    aix_use_runtimelinking=yes
11010	    LDFLAGS="$LDFLAGS -Wl,-brtl"
11011	  fi
11012	  ;;
11013	esac
11014
11015	exp_sym_flag='-bexport'
11016	no_entry_flag='-bnoentry'
11017      fi
11018
11019      # When large executables or shared objects are built, AIX ld can
11020      # have problems creating the table of contents.  If linking a library
11021      # or program results in "error TOC overflow" add -mminimal-toc to
11022      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
11023      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11024
11025      archive_cmds=''
11026      hardcode_direct=yes
11027      hardcode_direct_absolute=yes
11028      hardcode_libdir_separator=':'
11029      link_all_deplibs=yes
11030      file_list_spec='$wl-f,'
11031      case $with_aix_soname,$aix_use_runtimelinking in
11032      aix,*) ;; # traditional, no import file
11033      svr4,* | *,yes) # use import file
11034	# The Import File defines what to hardcode.
11035	hardcode_direct=no
11036	hardcode_direct_absolute=no
11037	;;
11038      esac
11039
11040      if test yes = "$GCC"; then
11041	case $host_os in aix4.[012]|aix4.[012].*)
11042	# We only want to do this on AIX 4.2 and lower, the check
11043	# below for broken collect2 doesn't work under 4.3+
11044	  collect2name=`$CC -print-prog-name=collect2`
11045	  if test -f "$collect2name" &&
11046	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11047	  then
11048	  # We have reworked collect2
11049	  :
11050	  else
11051	  # We have old collect2
11052	  hardcode_direct=unsupported
11053	  # It fails to find uninstalled libraries when the uninstalled
11054	  # path is not listed in the libpath.  Setting hardcode_minus_L
11055	  # to unsupported forces relinking
11056	  hardcode_minus_L=yes
11057	  hardcode_libdir_flag_spec='-L$libdir'
11058	  hardcode_libdir_separator=
11059	  fi
11060	  ;;
11061	esac
11062	shared_flag='-shared'
11063	if test yes = "$aix_use_runtimelinking"; then
11064	  shared_flag="$shared_flag "'$wl-G'
11065	fi
11066	# Need to ensure runtime linking is disabled for the traditional
11067	# shared library, or the linker may eventually find shared libraries
11068	# /with/ Import File - we do not want to mix them.
11069	shared_flag_aix='-shared'
11070	shared_flag_svr4='-shared $wl-G'
11071      else
11072	# not using gcc
11073	if test ia64 = "$host_cpu"; then
11074	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11075	# chokes on -Wl,-G. The following line is correct:
11076	  shared_flag='-G'
11077	else
11078	  if test yes = "$aix_use_runtimelinking"; then
11079	    shared_flag='$wl-G'
11080	  else
11081	    shared_flag='$wl-bM:SRE'
11082	  fi
11083	  shared_flag_aix='$wl-bM:SRE'
11084	  shared_flag_svr4='$wl-G'
11085	fi
11086      fi
11087
11088      export_dynamic_flag_spec='$wl-bexpall'
11089      # It seems that -bexpall does not export symbols beginning with
11090      # underscore (_), so it is better to generate a list of symbols to export.
11091      always_export_symbols=yes
11092      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
11093	# Warning - without using the other runtime loading flags (-brtl),
11094	# -berok will link without error, but may produce a broken library.
11095	allow_undefined_flag='-berok'
11096        # Determine the default libpath from the value encoded in an
11097        # empty executable.
11098        if test set = "${lt_cv_aix_libpath+set}"; then
11099  aix_libpath=$lt_cv_aix_libpath
11100else
11101  if test ${lt_cv_aix_libpath_+y}
11102then :
11103  printf %s "(cached) " >&6
11104else $as_nop
11105  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11106/* end confdefs.h.  */
11107
11108int
11109main (void)
11110{
11111
11112  ;
11113  return 0;
11114}
11115_ACEOF
11116if ac_fn_c_try_link "$LINENO"
11117then :
11118
11119  lt_aix_libpath_sed='
11120      /Import File Strings/,/^$/ {
11121	  /^0/ {
11122	      s/^0  *\([^ ]*\) *$/\1/
11123	      p
11124	  }
11125      }'
11126  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11127  # Check for a 64-bit object if we didn't find anything.
11128  if test -z "$lt_cv_aix_libpath_"; then
11129    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11130  fi
11131fi
11132rm -f core conftest.err conftest.$ac_objext conftest.beam \
11133    conftest$ac_exeext conftest.$ac_ext
11134  if test -z "$lt_cv_aix_libpath_"; then
11135    lt_cv_aix_libpath_=/usr/lib:/lib
11136  fi
11137
11138fi
11139
11140  aix_libpath=$lt_cv_aix_libpath_
11141fi
11142
11143        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11144        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
11145      else
11146	if test ia64 = "$host_cpu"; then
11147	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
11148	  allow_undefined_flag="-z nodefs"
11149	  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"
11150	else
11151	 # Determine the default libpath from the value encoded in an
11152	 # empty executable.
11153	 if test set = "${lt_cv_aix_libpath+set}"; then
11154  aix_libpath=$lt_cv_aix_libpath
11155else
11156  if test ${lt_cv_aix_libpath_+y}
11157then :
11158  printf %s "(cached) " >&6
11159else $as_nop
11160  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11161/* end confdefs.h.  */
11162
11163int
11164main (void)
11165{
11166
11167  ;
11168  return 0;
11169}
11170_ACEOF
11171if ac_fn_c_try_link "$LINENO"
11172then :
11173
11174  lt_aix_libpath_sed='
11175      /Import File Strings/,/^$/ {
11176	  /^0/ {
11177	      s/^0  *\([^ ]*\) *$/\1/
11178	      p
11179	  }
11180      }'
11181  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11182  # Check for a 64-bit object if we didn't find anything.
11183  if test -z "$lt_cv_aix_libpath_"; then
11184    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11185  fi
11186fi
11187rm -f core conftest.err conftest.$ac_objext conftest.beam \
11188    conftest$ac_exeext conftest.$ac_ext
11189  if test -z "$lt_cv_aix_libpath_"; then
11190    lt_cv_aix_libpath_=/usr/lib:/lib
11191  fi
11192
11193fi
11194
11195  aix_libpath=$lt_cv_aix_libpath_
11196fi
11197
11198	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11199	  # Warning - without using the other run time loading flags,
11200	  # -berok will link without error, but may produce a broken library.
11201	  no_undefined_flag=' $wl-bernotok'
11202	  allow_undefined_flag=' $wl-berok'
11203	  if test yes = "$with_gnu_ld"; then
11204	    # We only use this code for GNU lds that support --whole-archive.
11205	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
11206	  else
11207	    # Exported symbols can be pulled into shared objects from archives
11208	    whole_archive_flag_spec='$convenience'
11209	  fi
11210	  archive_cmds_need_lc=yes
11211	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
11212	  # -brtl affects multiple linker settings, -berok does not and is overridden later
11213	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
11214	  if test svr4 != "$with_aix_soname"; then
11215	    # This is similar to how AIX traditionally builds its shared libraries.
11216	    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'
11217	  fi
11218	  if test aix != "$with_aix_soname"; then
11219	    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'
11220	  else
11221	    # used by -dlpreopen to get the symbols
11222	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
11223	  fi
11224	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
11225	fi
11226      fi
11227      ;;
11228
11229    amigaos*)
11230      case $host_cpu in
11231      powerpc)
11232            # see comment about AmigaOS4 .so support
11233            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11234            archive_expsym_cmds=''
11235        ;;
11236      m68k)
11237            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)'
11238            hardcode_libdir_flag_spec='-L$libdir'
11239            hardcode_minus_L=yes
11240        ;;
11241      esac
11242      ;;
11243
11244    bsdi[45]*)
11245      export_dynamic_flag_spec=-rdynamic
11246      ;;
11247
11248    cygwin* | mingw* | pw32* | cegcc*)
11249      # When not using gcc, we currently assume that we are using
11250      # Microsoft Visual C++.
11251      # hardcode_libdir_flag_spec is actually meaningless, as there is
11252      # no search path for DLLs.
11253      case $cc_basename in
11254      cl*)
11255	# Native MSVC
11256	hardcode_libdir_flag_spec=' '
11257	allow_undefined_flag=unsupported
11258	always_export_symbols=yes
11259	file_list_spec='@'
11260	# Tell ltmain to make .lib files, not .a files.
11261	libext=lib
11262	# Tell ltmain to make .dll files, not .so files.
11263	shrext_cmds=.dll
11264	# FIXME: Setting linknames here is a bad hack.
11265	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
11266	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
11267            cp "$export_symbols" "$output_objdir/$soname.def";
11268            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
11269          else
11270            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
11271          fi~
11272          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11273          linknames='
11274	# The linker will not automatically build a static lib if we build a DLL.
11275	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11276	enable_shared_with_static_runtimes=yes
11277	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11278	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11279	# Don't use ranlib
11280	old_postinstall_cmds='chmod 644 $oldlib'
11281	postlink_cmds='lt_outputfile="@OUTPUT@"~
11282          lt_tool_outputfile="@TOOL_OUTPUT@"~
11283          case $lt_outputfile in
11284            *.exe|*.EXE) ;;
11285            *)
11286              lt_outputfile=$lt_outputfile.exe
11287              lt_tool_outputfile=$lt_tool_outputfile.exe
11288              ;;
11289          esac~
11290          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
11291            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11292            $RM "$lt_outputfile.manifest";
11293          fi'
11294	;;
11295      *)
11296	# Assume MSVC wrapper
11297	hardcode_libdir_flag_spec=' '
11298	allow_undefined_flag=unsupported
11299	# Tell ltmain to make .lib files, not .a files.
11300	libext=lib
11301	# Tell ltmain to make .dll files, not .so files.
11302	shrext_cmds=.dll
11303	# FIXME: Setting linknames here is a bad hack.
11304	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11305	# The linker will automatically build a .lib file if we build a DLL.
11306	old_archive_from_new_cmds='true'
11307	# FIXME: Should let the user specify the lib program.
11308	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
11309	enable_shared_with_static_runtimes=yes
11310	;;
11311      esac
11312      ;;
11313
11314    darwin* | rhapsody*)
11315
11316
11317  archive_cmds_need_lc=no
11318  hardcode_direct=no
11319  hardcode_automatic=yes
11320  hardcode_shlibpath_var=unsupported
11321  if test yes = "$lt_cv_ld_force_load"; then
11322    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\"`'
11323
11324  else
11325    whole_archive_flag_spec=''
11326  fi
11327  link_all_deplibs=yes
11328  allow_undefined_flag=$_lt_dar_allow_undefined
11329  case $cc_basename in
11330     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
11331     *) _lt_dar_can_shared=$GCC ;;
11332  esac
11333  if test yes = "$_lt_dar_can_shared"; then
11334    output_verbose_link_cmd=func_echo_all
11335    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
11336    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
11337    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"
11338    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"
11339
11340  else
11341  ld_shlibs=no
11342  fi
11343
11344      ;;
11345
11346    dgux*)
11347      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11348      hardcode_libdir_flag_spec='-L$libdir'
11349      hardcode_shlibpath_var=no
11350      ;;
11351
11352    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11353    # support.  Future versions do this automatically, but an explicit c++rt0.o
11354    # does not break anything, and helps significantly (at the cost of a little
11355    # extra space).
11356    freebsd2.2*)
11357      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11358      hardcode_libdir_flag_spec='-R$libdir'
11359      hardcode_direct=yes
11360      hardcode_shlibpath_var=no
11361      ;;
11362
11363    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11364    freebsd2.*)
11365      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11366      hardcode_direct=yes
11367      hardcode_minus_L=yes
11368      hardcode_shlibpath_var=no
11369      ;;
11370
11371    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11372    freebsd* | dragonfly*)
11373      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11374      hardcode_libdir_flag_spec='-R$libdir'
11375      hardcode_direct=yes
11376      hardcode_shlibpath_var=no
11377      ;;
11378
11379    hpux9*)
11380      if test yes = "$GCC"; then
11381	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'
11382      else
11383	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'
11384      fi
11385      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11386      hardcode_libdir_separator=:
11387      hardcode_direct=yes
11388
11389      # hardcode_minus_L: Not really in the search PATH,
11390      # but as the default location of the library.
11391      hardcode_minus_L=yes
11392      export_dynamic_flag_spec='$wl-E'
11393      ;;
11394
11395    hpux10*)
11396      if test yes,no = "$GCC,$with_gnu_ld"; then
11397	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11398      else
11399	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11400      fi
11401      if test no = "$with_gnu_ld"; then
11402	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11403	hardcode_libdir_separator=:
11404	hardcode_direct=yes
11405	hardcode_direct_absolute=yes
11406	export_dynamic_flag_spec='$wl-E'
11407	# hardcode_minus_L: Not really in the search PATH,
11408	# but as the default location of the library.
11409	hardcode_minus_L=yes
11410      fi
11411      ;;
11412
11413    hpux11*)
11414      if test yes,no = "$GCC,$with_gnu_ld"; then
11415	case $host_cpu in
11416	hppa*64*)
11417	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11418	  ;;
11419	ia64*)
11420	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11421	  ;;
11422	*)
11423	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11424	  ;;
11425	esac
11426      else
11427	case $host_cpu in
11428	hppa*64*)
11429	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11430	  ;;
11431	ia64*)
11432	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11433	  ;;
11434	*)
11435
11436	  # Older versions of the 11.00 compiler do not understand -b yet
11437	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11438	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11439printf %s "checking if $CC understands -b... " >&6; }
11440if test ${lt_cv_prog_compiler__b+y}
11441then :
11442  printf %s "(cached) " >&6
11443else $as_nop
11444  lt_cv_prog_compiler__b=no
11445   save_LDFLAGS=$LDFLAGS
11446   LDFLAGS="$LDFLAGS -b"
11447   echo "$lt_simple_link_test_code" > conftest.$ac_ext
11448   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11449     # The linker can only warn and ignore the option if not recognized
11450     # So say no if there are warnings
11451     if test -s conftest.err; then
11452       # Append any errors to the config.log.
11453       cat conftest.err 1>&5
11454       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11455       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11456       if diff conftest.exp conftest.er2 >/dev/null; then
11457         lt_cv_prog_compiler__b=yes
11458       fi
11459     else
11460       lt_cv_prog_compiler__b=yes
11461     fi
11462   fi
11463   $RM -r conftest*
11464   LDFLAGS=$save_LDFLAGS
11465
11466fi
11467{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11468printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
11469
11470if test yes = "$lt_cv_prog_compiler__b"; then
11471    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11472else
11473    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11474fi
11475
11476	  ;;
11477	esac
11478      fi
11479      if test no = "$with_gnu_ld"; then
11480	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11481	hardcode_libdir_separator=:
11482
11483	case $host_cpu in
11484	hppa*64*|ia64*)
11485	  hardcode_direct=no
11486	  hardcode_shlibpath_var=no
11487	  ;;
11488	*)
11489	  hardcode_direct=yes
11490	  hardcode_direct_absolute=yes
11491	  export_dynamic_flag_spec='$wl-E'
11492
11493	  # hardcode_minus_L: Not really in the search PATH,
11494	  # but as the default location of the library.
11495	  hardcode_minus_L=yes
11496	  ;;
11497	esac
11498      fi
11499      ;;
11500
11501    irix5* | irix6* | nonstopux*)
11502      if test yes = "$GCC"; then
11503	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'
11504	# Try to use the -exported_symbol ld option, if it does not
11505	# work, assume that -exports_file does not work either and
11506	# implicitly export all symbols.
11507	# This should be the same for all languages, so no per-tag cache variable.
11508	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11509printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11510if test ${lt_cv_irix_exported_symbol+y}
11511then :
11512  printf %s "(cached) " >&6
11513else $as_nop
11514  save_LDFLAGS=$LDFLAGS
11515	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
11516	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11517/* end confdefs.h.  */
11518int foo (void) { return 0; }
11519_ACEOF
11520if ac_fn_c_try_link "$LINENO"
11521then :
11522  lt_cv_irix_exported_symbol=yes
11523else $as_nop
11524  lt_cv_irix_exported_symbol=no
11525fi
11526rm -f core conftest.err conftest.$ac_objext conftest.beam \
11527    conftest$ac_exeext conftest.$ac_ext
11528           LDFLAGS=$save_LDFLAGS
11529fi
11530{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11531printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
11532	if test yes = "$lt_cv_irix_exported_symbol"; then
11533          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'
11534	fi
11535      else
11536	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'
11537	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'
11538      fi
11539      archive_cmds_need_lc='no'
11540      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11541      hardcode_libdir_separator=:
11542      inherit_rpath=yes
11543      link_all_deplibs=yes
11544      ;;
11545
11546    linux*)
11547      case $cc_basename in
11548      tcc*)
11549	# Fabrice Bellard et al's Tiny C Compiler
11550	ld_shlibs=yes
11551	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11552	;;
11553      esac
11554      ;;
11555
11556    netbsd*)
11557      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11558	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
11559      else
11560	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
11561      fi
11562      hardcode_libdir_flag_spec='-R$libdir'
11563      hardcode_direct=yes
11564      hardcode_shlibpath_var=no
11565      ;;
11566
11567    newsos6)
11568      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11569      hardcode_direct=yes
11570      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11571      hardcode_libdir_separator=:
11572      hardcode_shlibpath_var=no
11573      ;;
11574
11575    *nto* | *qnx*)
11576      ;;
11577
11578    openbsd* | bitrig*)
11579      if test -f /usr/libexec/ld.so; then
11580	hardcode_direct=yes
11581	hardcode_shlibpath_var=no
11582	hardcode_direct_absolute=yes
11583	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11584	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11585	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
11586	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11587	  export_dynamic_flag_spec='$wl-E'
11588	else
11589	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11590	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11591	fi
11592      else
11593	ld_shlibs=no
11594      fi
11595      ;;
11596
11597    os2*)
11598      hardcode_libdir_flag_spec='-L$libdir'
11599      hardcode_minus_L=yes
11600      allow_undefined_flag=unsupported
11601      shrext_cmds=.dll
11602      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11603	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11604	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11605	$ECHO EXPORTS >> $output_objdir/$libname.def~
11606	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11607	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11608	emximp -o $lib $output_objdir/$libname.def'
11609      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11610	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11611	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11612	$ECHO EXPORTS >> $output_objdir/$libname.def~
11613	prefix_cmds="$SED"~
11614	if test EXPORTS = "`$SED 1q $export_symbols`"; then
11615	  prefix_cmds="$prefix_cmds -e 1d";
11616	fi~
11617	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11618	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11619	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11620	emximp -o $lib $output_objdir/$libname.def'
11621      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11622      enable_shared_with_static_runtimes=yes
11623      ;;
11624
11625    osf3*)
11626      if test yes = "$GCC"; then
11627	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11628	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'
11629      else
11630	allow_undefined_flag=' -expect_unresolved \*'
11631	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'
11632      fi
11633      archive_cmds_need_lc='no'
11634      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11635      hardcode_libdir_separator=:
11636      ;;
11637
11638    osf4* | osf5*)	# as osf3* with the addition of -msym flag
11639      if test yes = "$GCC"; then
11640	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11641	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'
11642	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11643      else
11644	allow_undefined_flag=' -expect_unresolved \*'
11645	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'
11646	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~
11647          $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'
11648
11649	# Both c and cxx compiler support -rpath directly
11650	hardcode_libdir_flag_spec='-rpath $libdir'
11651      fi
11652      archive_cmds_need_lc='no'
11653      hardcode_libdir_separator=:
11654      ;;
11655
11656    solaris*)
11657      no_undefined_flag=' -z defs'
11658      if test yes = "$GCC"; then
11659	wlarc='$wl'
11660	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11661	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11662          $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'
11663      else
11664	case `$CC -V 2>&1` in
11665	*"Compilers 5.0"*)
11666	  wlarc=''
11667	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11668	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11669            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11670	  ;;
11671	*)
11672	  wlarc='$wl'
11673	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11674	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11675            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11676	  ;;
11677	esac
11678      fi
11679      hardcode_libdir_flag_spec='-R$libdir'
11680      hardcode_shlibpath_var=no
11681      case $host_os in
11682      solaris2.[0-5] | solaris2.[0-5].*) ;;
11683      *)
11684	# The compiler driver will combine and reorder linker options,
11685	# but understands '-z linker_flag'.  GCC discards it without '$wl',
11686	# but is careful enough not to reorder.
11687	# Supported since Solaris 2.6 (maybe 2.5.1?)
11688	if test yes = "$GCC"; then
11689	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
11690	else
11691	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11692	fi
11693	;;
11694      esac
11695      link_all_deplibs=yes
11696      ;;
11697
11698    sunos4*)
11699      if test sequent = "$host_vendor"; then
11700	# Use $CC to link under sequent, because it throws in some extra .o
11701	# files that make .init and .fini sections work.
11702	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11703      else
11704	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11705      fi
11706      hardcode_libdir_flag_spec='-L$libdir'
11707      hardcode_direct=yes
11708      hardcode_minus_L=yes
11709      hardcode_shlibpath_var=no
11710      ;;
11711
11712    sysv4)
11713      case $host_vendor in
11714	sni)
11715	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11716	  hardcode_direct=yes # is this really true???
11717	;;
11718	siemens)
11719	  ## LD is ld it makes a PLAMLIB
11720	  ## CC just makes a GrossModule.
11721	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11722	  reload_cmds='$CC -r -o $output$reload_objs'
11723	  hardcode_direct=no
11724        ;;
11725	motorola)
11726	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11727	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11728	;;
11729      esac
11730      runpath_var='LD_RUN_PATH'
11731      hardcode_shlibpath_var=no
11732      ;;
11733
11734    sysv4.3*)
11735      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11736      hardcode_shlibpath_var=no
11737      export_dynamic_flag_spec='-Bexport'
11738      ;;
11739
11740    sysv4*MP*)
11741      if test -d /usr/nec; then
11742	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11743	hardcode_shlibpath_var=no
11744	runpath_var=LD_RUN_PATH
11745	hardcode_runpath_var=yes
11746	ld_shlibs=yes
11747      fi
11748      ;;
11749
11750    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11751      no_undefined_flag='$wl-z,text'
11752      archive_cmds_need_lc=no
11753      hardcode_shlibpath_var=no
11754      runpath_var='LD_RUN_PATH'
11755
11756      if test yes = "$GCC"; then
11757	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11758	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11759      else
11760	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11761	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11762      fi
11763      ;;
11764
11765    sysv5* | sco3.2v5* | sco5v6*)
11766      # Note: We CANNOT use -z defs as we might desire, because we do not
11767      # link with -lc, and that would cause any symbols used from libc to
11768      # always be unresolved, which means just about no library would
11769      # ever link correctly.  If we're not using GNU ld we use -z text
11770      # though, which does catch some bad symbols but isn't as heavy-handed
11771      # as -z defs.
11772      no_undefined_flag='$wl-z,text'
11773      allow_undefined_flag='$wl-z,nodefs'
11774      archive_cmds_need_lc=no
11775      hardcode_shlibpath_var=no
11776      hardcode_libdir_flag_spec='$wl-R,$libdir'
11777      hardcode_libdir_separator=':'
11778      link_all_deplibs=yes
11779      export_dynamic_flag_spec='$wl-Bexport'
11780      runpath_var='LD_RUN_PATH'
11781
11782      if test yes = "$GCC"; then
11783	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11784	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11785      else
11786	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11787	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11788      fi
11789      ;;
11790
11791    uts4*)
11792      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11793      hardcode_libdir_flag_spec='-L$libdir'
11794      hardcode_shlibpath_var=no
11795      ;;
11796
11797    *)
11798      ld_shlibs=no
11799      ;;
11800    esac
11801
11802    if test sni = "$host_vendor"; then
11803      case $host in
11804      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11805	export_dynamic_flag_spec='$wl-Blargedynsym'
11806	;;
11807      esac
11808    fi
11809  fi
11810
11811{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11812printf "%s\n" "$ld_shlibs" >&6; }
11813test no = "$ld_shlibs" && can_build_shared=no
11814
11815with_gnu_ld=$with_gnu_ld
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831#
11832# Do we need to explicitly link libc?
11833#
11834case "x$archive_cmds_need_lc" in
11835x|xyes)
11836  # Assume -lc should be added
11837  archive_cmds_need_lc=yes
11838
11839  if test yes,yes = "$GCC,$enable_shared"; then
11840    case $archive_cmds in
11841    *'~'*)
11842      # FIXME: we may have to deal with multi-command sequences.
11843      ;;
11844    '$CC '*)
11845      # Test whether the compiler implicitly links with -lc since on some
11846      # systems, -lgcc has to come before -lc. If gcc already passes -lc
11847      # to ld, don't add -lc before -lgcc.
11848      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11849printf %s "checking whether -lc should be explicitly linked in... " >&6; }
11850if test ${lt_cv_archive_cmds_need_lc+y}
11851then :
11852  printf %s "(cached) " >&6
11853else $as_nop
11854  $RM conftest*
11855	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11856
11857	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11858  (eval $ac_compile) 2>&5
11859  ac_status=$?
11860  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11861  test $ac_status = 0; } 2>conftest.err; then
11862	  soname=conftest
11863	  lib=conftest
11864	  libobjs=conftest.$ac_objext
11865	  deplibs=
11866	  wl=$lt_prog_compiler_wl
11867	  pic_flag=$lt_prog_compiler_pic
11868	  compiler_flags=-v
11869	  linker_flags=-v
11870	  verstring=
11871	  output_objdir=.
11872	  libname=conftest
11873	  lt_save_allow_undefined_flag=$allow_undefined_flag
11874	  allow_undefined_flag=
11875	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11876  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11877  ac_status=$?
11878  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11879  test $ac_status = 0; }
11880	  then
11881	    lt_cv_archive_cmds_need_lc=no
11882	  else
11883	    lt_cv_archive_cmds_need_lc=yes
11884	  fi
11885	  allow_undefined_flag=$lt_save_allow_undefined_flag
11886	else
11887	  cat conftest.err 1>&5
11888	fi
11889	$RM conftest*
11890
11891fi
11892{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11893printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
11894      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11895      ;;
11896    esac
11897  fi
11898  ;;
11899esac
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
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967
11968
11969
11970
11971
11972
11973
11974
11975
11976
11977
11978
11979
11980
11981
11982
11983
11984
11985
11986
11987
11988
11989
11990
11991
11992
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009
12010
12011
12012
12013
12014
12015
12016
12017
12018
12019
12020
12021
12022
12023
12024
12025
12026
12027
12028
12029
12030
12031
12032
12033
12034
12035
12036
12037
12038
12039
12040
12041
12042
12043
12044
12045
12046
12047
12048
12049
12050
12051
12052  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12053printf %s "checking dynamic linker characteristics... " >&6; }
12054
12055if test yes = "$GCC"; then
12056  case $host_os in
12057    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
12058    *) lt_awk_arg='/^libraries:/' ;;
12059  esac
12060  case $host_os in
12061    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
12062    *) lt_sed_strip_eq='s|=/|/|g' ;;
12063  esac
12064  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
12065  case $lt_search_path_spec in
12066  *\;*)
12067    # if the path contains ";" then we assume it to be the separator
12068    # otherwise default to the standard path separator (i.e. ":") - it is
12069    # assumed that no part of a normal pathname contains ";" but that should
12070    # okay in the real world where ";" in dirpaths is itself problematic.
12071    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
12072    ;;
12073  *)
12074    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
12075    ;;
12076  esac
12077  # Ok, now we have the path, separated by spaces, we can step through it
12078  # and add multilib dir if necessary...
12079  lt_tmp_lt_search_path_spec=
12080  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12081  # ...but if some path component already ends with the multilib dir we assume
12082  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
12083  case "$lt_multi_os_dir; $lt_search_path_spec " in
12084  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
12085    lt_multi_os_dir=
12086    ;;
12087  esac
12088  for lt_sys_path in $lt_search_path_spec; do
12089    if test -d "$lt_sys_path$lt_multi_os_dir"; then
12090      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
12091    elif test -n "$lt_multi_os_dir"; then
12092      test -d "$lt_sys_path" && \
12093	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
12094    fi
12095  done
12096  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
12097BEGIN {RS = " "; FS = "/|\n";} {
12098  lt_foo = "";
12099  lt_count = 0;
12100  for (lt_i = NF; lt_i > 0; lt_i--) {
12101    if ($lt_i != "" && $lt_i != ".") {
12102      if ($lt_i == "..") {
12103        lt_count++;
12104      } else {
12105        if (lt_count == 0) {
12106          lt_foo = "/" $lt_i lt_foo;
12107        } else {
12108          lt_count--;
12109        }
12110      }
12111    }
12112  }
12113  if (lt_foo != "") { lt_freq[lt_foo]++; }
12114  if (lt_freq[lt_foo] == 1) { print lt_foo; }
12115}'`
12116  # AWK program above erroneously prepends '/' to C:/dos/paths
12117  # for these hosts.
12118  case $host_os in
12119    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
12120      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
12121  esac
12122  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
12123else
12124  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12125fi
12126library_names_spec=
12127libname_spec='lib$name'
12128soname_spec=
12129shrext_cmds=.so
12130postinstall_cmds=
12131postuninstall_cmds=
12132finish_cmds=
12133finish_eval=
12134shlibpath_var=
12135shlibpath_overrides_runpath=unknown
12136version_type=none
12137dynamic_linker="$host_os ld.so"
12138sys_lib_dlsearch_path_spec="/lib /usr/lib"
12139need_lib_prefix=unknown
12140hardcode_into_libs=no
12141
12142# when you set need_version to no, make sure it does not cause -set_version
12143# flags to be left without arguments
12144need_version=unknown
12145
12146
12147
12148case $host_os in
12149aix3*)
12150  version_type=linux # correct to gnu/linux during the next big refactor
12151  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
12152  shlibpath_var=LIBPATH
12153
12154  # AIX 3 has no versioning support, so we append a major version to the name.
12155  soname_spec='$libname$release$shared_ext$major'
12156  ;;
12157
12158aix[4-9]*)
12159  version_type=linux # correct to gnu/linux during the next big refactor
12160  need_lib_prefix=no
12161  need_version=no
12162  hardcode_into_libs=yes
12163  if test ia64 = "$host_cpu"; then
12164    # AIX 5 supports IA64
12165    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
12166    shlibpath_var=LD_LIBRARY_PATH
12167  else
12168    # With GCC up to 2.95.x, collect2 would create an import file
12169    # for dependence libraries.  The import file would start with
12170    # the line '#! .'.  This would cause the generated library to
12171    # depend on '.', always an invalid library.  This was fixed in
12172    # development snapshots of GCC prior to 3.0.
12173    case $host_os in
12174      aix4 | aix4.[01] | aix4.[01].*)
12175      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12176	   echo ' yes '
12177	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
12178	:
12179      else
12180	can_build_shared=no
12181      fi
12182      ;;
12183    esac
12184    # Using Import Files as archive members, it is possible to support
12185    # filename-based versioning of shared library archives on AIX. While
12186    # this would work for both with and without runtime linking, it will
12187    # prevent static linking of such archives. So we do filename-based
12188    # shared library versioning with .so extension only, which is used
12189    # when both runtime linking and shared linking is enabled.
12190    # Unfortunately, runtime linking may impact performance, so we do
12191    # not want this to be the default eventually. Also, we use the
12192    # versioned .so libs for executables only if there is the -brtl
12193    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
12194    # To allow for filename-based versioning support, we need to create
12195    # libNAME.so.V as an archive file, containing:
12196    # *) an Import File, referring to the versioned filename of the
12197    #    archive as well as the shared archive member, telling the
12198    #    bitwidth (32 or 64) of that shared object, and providing the
12199    #    list of exported symbols of that shared object, eventually
12200    #    decorated with the 'weak' keyword
12201    # *) the shared object with the F_LOADONLY flag set, to really avoid
12202    #    it being seen by the linker.
12203    # At run time we better use the real file rather than another symlink,
12204    # but for link time we create the symlink libNAME.so -> libNAME.so.V
12205
12206    case $with_aix_soname,$aix_use_runtimelinking in
12207    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
12208    # soname into executable. Probably we can add versioning support to
12209    # collect2, so additional links can be useful in future.
12210    aix,yes) # traditional libtool
12211      dynamic_linker='AIX unversionable lib.so'
12212      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12213      # instead of lib<name>.a to let people know that these are not
12214      # typical AIX shared libraries.
12215      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12216      ;;
12217    aix,no) # traditional AIX only
12218      dynamic_linker='AIX lib.a(lib.so.V)'
12219      # We preserve .a as extension for shared libraries through AIX4.2
12220      # and later when we are not doing run time linking.
12221      library_names_spec='$libname$release.a $libname.a'
12222      soname_spec='$libname$release$shared_ext$major'
12223      ;;
12224    svr4,*) # full svr4 only
12225      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
12226      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12227      # We do not specify a path in Import Files, so LIBPATH fires.
12228      shlibpath_overrides_runpath=yes
12229      ;;
12230    *,yes) # both, prefer svr4
12231      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
12232      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12233      # unpreferred sharedlib libNAME.a needs extra handling
12234      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"'
12235      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"'
12236      # We do not specify a path in Import Files, so LIBPATH fires.
12237      shlibpath_overrides_runpath=yes
12238      ;;
12239    *,no) # both, prefer aix
12240      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
12241      library_names_spec='$libname$release.a $libname.a'
12242      soname_spec='$libname$release$shared_ext$major'
12243      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
12244      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)'
12245      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"'
12246      ;;
12247    esac
12248    shlibpath_var=LIBPATH
12249  fi
12250  ;;
12251
12252amigaos*)
12253  case $host_cpu in
12254  powerpc)
12255    # Since July 2007 AmigaOS4 officially supports .so libraries.
12256    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12257    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12258    ;;
12259  m68k)
12260    library_names_spec='$libname.ixlibrary $libname.a'
12261    # Create ${libname}_ixlibrary.a entries in /sys/libs.
12262    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'
12263    ;;
12264  esac
12265  ;;
12266
12267beos*)
12268  library_names_spec='$libname$shared_ext'
12269  dynamic_linker="$host_os ld.so"
12270  shlibpath_var=LIBRARY_PATH
12271  ;;
12272
12273bsdi[45]*)
12274  version_type=linux # correct to gnu/linux during the next big refactor
12275  need_version=no
12276  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12277  soname_spec='$libname$release$shared_ext$major'
12278  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12279  shlibpath_var=LD_LIBRARY_PATH
12280  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12281  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12282  # the default ld.so.conf also contains /usr/contrib/lib and
12283  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12284  # libtool to hard-code these into programs
12285  ;;
12286
12287cygwin* | mingw* | pw32* | cegcc*)
12288  version_type=windows
12289  shrext_cmds=.dll
12290  need_version=no
12291  need_lib_prefix=no
12292
12293  case $GCC,$cc_basename in
12294  yes,*)
12295    # gcc
12296    library_names_spec='$libname.dll.a'
12297    # DLL is installed to $(libdir)/../bin by postinstall_cmds
12298    postinstall_cmds='base_file=`basename \$file`~
12299      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12300      dldir=$destdir/`dirname \$dlpath`~
12301      test -d \$dldir || mkdir -p \$dldir~
12302      $install_prog $dir/$dlname \$dldir/$dlname~
12303      chmod a+x \$dldir/$dlname~
12304      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12305        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12306      fi'
12307    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12308      dlpath=$dir/\$dldll~
12309       $RM \$dlpath'
12310    shlibpath_overrides_runpath=yes
12311
12312    case $host_os in
12313    cygwin*)
12314      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12315      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12316
12317      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
12318      ;;
12319    mingw* | cegcc*)
12320      # MinGW DLLs use traditional 'lib' prefix
12321      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12322      ;;
12323    pw32*)
12324      # pw32 DLLs use 'pw' prefix rather than 'lib'
12325      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12326      ;;
12327    esac
12328    dynamic_linker='Win32 ld.exe'
12329    ;;
12330
12331  *,cl*)
12332    # Native MSVC
12333    libname_spec='$name'
12334    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12335    library_names_spec='$libname.dll.lib'
12336
12337    case $build_os in
12338    mingw*)
12339      sys_lib_search_path_spec=
12340      lt_save_ifs=$IFS
12341      IFS=';'
12342      for lt_path in $LIB
12343      do
12344        IFS=$lt_save_ifs
12345        # Let DOS variable expansion print the short 8.3 style file name.
12346        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12347        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
12348      done
12349      IFS=$lt_save_ifs
12350      # Convert to MSYS style.
12351      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12352      ;;
12353    cygwin*)
12354      # Convert to unix form, then to dos form, then back to unix form
12355      # but this time dos style (no spaces!) so that the unix form looks
12356      # like /cygdrive/c/PROGRA~1:/cygdr...
12357      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
12358      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12359      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12360      ;;
12361    *)
12362      sys_lib_search_path_spec=$LIB
12363      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12364        # It is most probably a Windows format PATH.
12365        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12366      else
12367        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12368      fi
12369      # FIXME: find the short name or the path components, as spaces are
12370      # common. (e.g. "Program Files" -> "PROGRA~1")
12371      ;;
12372    esac
12373
12374    # DLL is installed to $(libdir)/../bin by postinstall_cmds
12375    postinstall_cmds='base_file=`basename \$file`~
12376      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12377      dldir=$destdir/`dirname \$dlpath`~
12378      test -d \$dldir || mkdir -p \$dldir~
12379      $install_prog $dir/$dlname \$dldir/$dlname'
12380    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12381      dlpath=$dir/\$dldll~
12382       $RM \$dlpath'
12383    shlibpath_overrides_runpath=yes
12384    dynamic_linker='Win32 link.exe'
12385    ;;
12386
12387  *)
12388    # Assume MSVC wrapper
12389    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
12390    dynamic_linker='Win32 ld.exe'
12391    ;;
12392  esac
12393  # FIXME: first we should search . and the directory the executable is in
12394  shlibpath_var=PATH
12395  ;;
12396
12397darwin* | rhapsody*)
12398  dynamic_linker="$host_os dyld"
12399  version_type=darwin
12400  need_lib_prefix=no
12401  need_version=no
12402  library_names_spec='$libname$release$versuffix$shared_ext $libname$release$major$shared_ext $libname$shared_ext'
12403  soname_spec='$libname$release$major$shared_ext'
12404  shlibpath_overrides_runpath=yes
12405  shlibpath_var=DYLD_LIBRARY_PATH
12406  shrext_cmds='`test .$module = .yes && echo .bundle || echo .dylib`'
12407
12408  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
12409  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12410  ;;
12411
12412dgux*)
12413  version_type=linux # correct to gnu/linux during the next big refactor
12414  need_lib_prefix=no
12415  need_version=no
12416  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12417  soname_spec='$libname$release$shared_ext$major'
12418  shlibpath_var=LD_LIBRARY_PATH
12419  ;;
12420
12421freebsd* | dragonfly*)
12422  # DragonFly does not have aout.  When/if they implement a new
12423  # versioning mechanism, adjust this.
12424  if test -x /usr/bin/objformat; then
12425    objformat=`/usr/bin/objformat`
12426  else
12427    case $host_os in
12428    freebsd[23].*) objformat=aout ;;
12429    *) objformat=elf ;;
12430    esac
12431  fi
12432  # Handle Gentoo/FreeBSD as it was Linux
12433  case $host_vendor in
12434    gentoo)
12435      version_type=linux ;;
12436    *)
12437      version_type=freebsd-$objformat ;;
12438  esac
12439
12440  case $version_type in
12441    freebsd-elf*)
12442      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12443      soname_spec='$libname$release$shared_ext$major'
12444      need_version=no
12445      need_lib_prefix=no
12446      ;;
12447    freebsd-*)
12448      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12449      need_version=yes
12450      ;;
12451    linux)
12452      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12453      soname_spec='${libname}${release}${shared_ext}$major'
12454      need_lib_prefix=no
12455      need_version=no
12456      ;;
12457  esac
12458  shlibpath_var=LD_LIBRARY_PATH
12459  case $host_os in
12460  freebsd2.*)
12461    shlibpath_overrides_runpath=yes
12462    ;;
12463  freebsd3.[01]* | freebsdelf3.[01]*)
12464    shlibpath_overrides_runpath=yes
12465    hardcode_into_libs=yes
12466    ;;
12467  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12468  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12469    shlibpath_overrides_runpath=no
12470    hardcode_into_libs=yes
12471    ;;
12472  *) # from 4.6 on, and DragonFly
12473    shlibpath_overrides_runpath=yes
12474    hardcode_into_libs=yes
12475    ;;
12476  esac
12477  ;;
12478
12479haiku*)
12480  version_type=linux # correct to gnu/linux during the next big refactor
12481  need_lib_prefix=no
12482  need_version=no
12483  dynamic_linker="$host_os runtime_loader"
12484  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12485  soname_spec='$libname$release$shared_ext$major'
12486  shlibpath_var=LIBRARY_PATH
12487  shlibpath_overrides_runpath=no
12488  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12489  hardcode_into_libs=yes
12490  ;;
12491
12492hpux9* | hpux10* | hpux11*)
12493  # Give a soname corresponding to the major version so that dld.sl refuses to
12494  # link against other versions.
12495  version_type=sunos
12496  need_lib_prefix=no
12497  need_version=no
12498  case $host_cpu in
12499  ia64*)
12500    shrext_cmds='.so'
12501    hardcode_into_libs=yes
12502    dynamic_linker="$host_os dld.so"
12503    shlibpath_var=LD_LIBRARY_PATH
12504    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12505    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12506    soname_spec='$libname$release$shared_ext$major'
12507    if test 32 = "$HPUX_IA64_MODE"; then
12508      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12509      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
12510    else
12511      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12512      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
12513    fi
12514    ;;
12515  hppa*64*)
12516    shrext_cmds='.sl'
12517    hardcode_into_libs=yes
12518    dynamic_linker="$host_os dld.sl"
12519    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12520    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12521    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12522    soname_spec='$libname$release$shared_ext$major'
12523    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12524    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12525    ;;
12526  *)
12527    shrext_cmds='.sl'
12528    dynamic_linker="$host_os dld.sl"
12529    shlibpath_var=SHLIB_PATH
12530    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12531    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12532    soname_spec='$libname$release$shared_ext$major'
12533    ;;
12534  esac
12535  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12536  postinstall_cmds='chmod 555 $lib'
12537  # or fails outright, so override atomically:
12538  install_override_mode=555
12539  ;;
12540
12541interix[3-9]*)
12542  version_type=linux # correct to gnu/linux during the next big refactor
12543  need_lib_prefix=no
12544  need_version=no
12545  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12546  soname_spec='$libname$release$shared_ext$major'
12547  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12548  shlibpath_var=LD_LIBRARY_PATH
12549  shlibpath_overrides_runpath=no
12550  hardcode_into_libs=yes
12551  ;;
12552
12553irix5* | irix6* | nonstopux*)
12554  case $host_os in
12555    nonstopux*) version_type=nonstopux ;;
12556    *)
12557	if test yes = "$lt_cv_prog_gnu_ld"; then
12558		version_type=linux # correct to gnu/linux during the next big refactor
12559	else
12560		version_type=irix
12561	fi ;;
12562  esac
12563  need_lib_prefix=no
12564  need_version=no
12565  soname_spec='$libname$release$shared_ext$major'
12566  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
12567  case $host_os in
12568  irix5* | nonstopux*)
12569    libsuff= shlibsuff=
12570    ;;
12571  *)
12572    case $LD in # libtool.m4 will add one of these switches to LD
12573    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12574      libsuff= shlibsuff= libmagic=32-bit;;
12575    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12576      libsuff=32 shlibsuff=N32 libmagic=N32;;
12577    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12578      libsuff=64 shlibsuff=64 libmagic=64-bit;;
12579    *) libsuff= shlibsuff= libmagic=never-match;;
12580    esac
12581    ;;
12582  esac
12583  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12584  shlibpath_overrides_runpath=no
12585  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
12586  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
12587  hardcode_into_libs=yes
12588  ;;
12589
12590# No shared lib support for Linux oldld, aout, or coff.
12591linux*oldld* | linux*aout* | linux*coff*)
12592  dynamic_linker=no
12593  ;;
12594
12595linux*android*)
12596  version_type=none # Android doesn't support versioned libraries.
12597  need_lib_prefix=no
12598  need_version=no
12599  library_names_spec='$libname$release$shared_ext'
12600  soname_spec='$libname$release$shared_ext'
12601  finish_cmds=
12602  shlibpath_var=LD_LIBRARY_PATH
12603  shlibpath_overrides_runpath=yes
12604
12605  # This implies no fast_install, which is unacceptable.
12606  # Some rework will be needed to allow for fast_install
12607  # before this can be enabled.
12608  hardcode_into_libs=yes
12609
12610  dynamic_linker='Android linker'
12611  # Don't embed -rpath directories since the linker doesn't support them.
12612  hardcode_libdir_flag_spec='-L$libdir'
12613  ;;
12614
12615# This must be glibc/ELF.
12616linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
12617  version_type=linux # correct to gnu/linux during the next big refactor
12618  need_lib_prefix=no
12619  need_version=no
12620  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12621  soname_spec='$libname$release$shared_ext$major'
12622  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12623  shlibpath_var=LD_LIBRARY_PATH
12624  shlibpath_overrides_runpath=no
12625
12626  # Some binutils ld are patched to set DT_RUNPATH
12627  if test ${lt_cv_shlibpath_overrides_runpath+y}
12628then :
12629  printf %s "(cached) " >&6
12630else $as_nop
12631  lt_cv_shlibpath_overrides_runpath=no
12632    save_LDFLAGS=$LDFLAGS
12633    save_libdir=$libdir
12634    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12635	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12636    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12637/* end confdefs.h.  */
12638
12639int
12640main (void)
12641{
12642
12643  ;
12644  return 0;
12645}
12646_ACEOF
12647if ac_fn_c_try_link "$LINENO"
12648then :
12649  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
12650then :
12651  lt_cv_shlibpath_overrides_runpath=yes
12652fi
12653fi
12654rm -f core conftest.err conftest.$ac_objext conftest.beam \
12655    conftest$ac_exeext conftest.$ac_ext
12656    LDFLAGS=$save_LDFLAGS
12657    libdir=$save_libdir
12658
12659fi
12660
12661  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12662
12663  # This implies no fast_install, which is unacceptable.
12664  # Some rework will be needed to allow for fast_install
12665  # before this can be enabled.
12666  hardcode_into_libs=yes
12667
12668  # Ideally, we could use ldconfig to report *all* directores which are
12669  # searched for libraries, however this is still not possible.  Aside from not
12670  # being certain /sbin/ldconfig is available, command
12671  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
12672  # even though it is searched at run-time.  Try to do the best guess by
12673  # appending ld.so.conf contents (and includes) to the search path.
12674  if test -f /etc/ld.so.conf; then
12675    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' ' '`
12676    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12677  fi
12678
12679  # We used to test for /lib/ld.so.1 and disable shared libraries on
12680  # powerpc, because MkLinux only supported shared libraries with the
12681  # GNU dynamic linker.  Since this was broken with cross compilers,
12682  # most powerpc-linux boxes support dynamic linking these days and
12683  # people can always --disable-shared, the test was removed, and we
12684  # assume the GNU/Linux dynamic linker is in use.
12685  dynamic_linker='GNU/Linux ld.so'
12686  ;;
12687
12688netbsd*)
12689  version_type=sunos
12690  need_lib_prefix=no
12691  need_version=no
12692  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12693    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12694    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12695    dynamic_linker='NetBSD (a.out) ld.so'
12696  else
12697    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12698    soname_spec='$libname$release$shared_ext$major'
12699    dynamic_linker='NetBSD ld.elf_so'
12700  fi
12701  shlibpath_var=LD_LIBRARY_PATH
12702  shlibpath_overrides_runpath=yes
12703  hardcode_into_libs=yes
12704  ;;
12705
12706newsos6)
12707  version_type=linux # correct to gnu/linux during the next big refactor
12708  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12709  shlibpath_var=LD_LIBRARY_PATH
12710  shlibpath_overrides_runpath=yes
12711  ;;
12712
12713*nto* | *qnx*)
12714  version_type=qnx
12715  need_lib_prefix=no
12716  need_version=no
12717  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12718  soname_spec='$libname$release$shared_ext$major'
12719  shlibpath_var=LD_LIBRARY_PATH
12720  shlibpath_overrides_runpath=no
12721  hardcode_into_libs=yes
12722  dynamic_linker='ldqnx.so'
12723  ;;
12724
12725openbsd* | bitrig*)
12726  version_type=sunos
12727  sys_lib_dlsearch_path_spec=/usr/lib
12728  need_lib_prefix=no
12729  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12730    need_version=no
12731  else
12732    need_version=yes
12733  fi
12734  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12735  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12736  shlibpath_var=LD_LIBRARY_PATH
12737  shlibpath_overrides_runpath=yes
12738  ;;
12739
12740os2*)
12741  libname_spec='$name'
12742  version_type=windows
12743  shrext_cmds=.dll
12744  need_version=no
12745  need_lib_prefix=no
12746  # OS/2 can only load a DLL with a base name of 8 characters or less.
12747  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
12748    v=$($ECHO $release$versuffix | tr -d .-);
12749    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
12750    $ECHO $n$v`$shared_ext'
12751  library_names_spec='${libname}_dll.$libext'
12752  dynamic_linker='OS/2 ld.exe'
12753  shlibpath_var=BEGINLIBPATH
12754  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12755  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12756  postinstall_cmds='base_file=`basename \$file`~
12757    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
12758    dldir=$destdir/`dirname \$dlpath`~
12759    test -d \$dldir || mkdir -p \$dldir~
12760    $install_prog $dir/$dlname \$dldir/$dlname~
12761    chmod a+x \$dldir/$dlname~
12762    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12763      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12764    fi'
12765  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
12766    dlpath=$dir/\$dldll~
12767    $RM \$dlpath'
12768  ;;
12769
12770osf3* | osf4* | osf5*)
12771  version_type=osf
12772  need_lib_prefix=no
12773  need_version=no
12774  soname_spec='$libname$release$shared_ext$major'
12775  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12776  shlibpath_var=LD_LIBRARY_PATH
12777  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12778  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12779  ;;
12780
12781rdos*)
12782  dynamic_linker=no
12783  ;;
12784
12785solaris*)
12786  version_type=linux # correct to gnu/linux during the next big refactor
12787  need_lib_prefix=no
12788  need_version=no
12789  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12790  soname_spec='$libname$release$shared_ext$major'
12791  shlibpath_var=LD_LIBRARY_PATH
12792  shlibpath_overrides_runpath=yes
12793  hardcode_into_libs=yes
12794  # ldd complains unless libraries are executable
12795  postinstall_cmds='chmod +x $lib'
12796  ;;
12797
12798sunos4*)
12799  version_type=sunos
12800  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12801  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12802  shlibpath_var=LD_LIBRARY_PATH
12803  shlibpath_overrides_runpath=yes
12804  if test yes = "$with_gnu_ld"; then
12805    need_lib_prefix=no
12806  fi
12807  need_version=yes
12808  ;;
12809
12810sysv4 | sysv4.3*)
12811  version_type=linux # correct to gnu/linux during the next big refactor
12812  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12813  soname_spec='$libname$release$shared_ext$major'
12814  shlibpath_var=LD_LIBRARY_PATH
12815  case $host_vendor in
12816    sni)
12817      shlibpath_overrides_runpath=no
12818      need_lib_prefix=no
12819      runpath_var=LD_RUN_PATH
12820      ;;
12821    siemens)
12822      need_lib_prefix=no
12823      ;;
12824    motorola)
12825      need_lib_prefix=no
12826      need_version=no
12827      shlibpath_overrides_runpath=no
12828      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12829      ;;
12830  esac
12831  ;;
12832
12833sysv4*MP*)
12834  if test -d /usr/nec; then
12835    version_type=linux # correct to gnu/linux during the next big refactor
12836    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
12837    soname_spec='$libname$shared_ext.$major'
12838    shlibpath_var=LD_LIBRARY_PATH
12839  fi
12840  ;;
12841
12842sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12843  version_type=sco
12844  need_lib_prefix=no
12845  need_version=no
12846  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
12847  soname_spec='$libname$release$shared_ext$major'
12848  shlibpath_var=LD_LIBRARY_PATH
12849  shlibpath_overrides_runpath=yes
12850  hardcode_into_libs=yes
12851  if test yes = "$with_gnu_ld"; then
12852    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12853  else
12854    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12855    case $host_os in
12856      sco3.2v5*)
12857        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12858	;;
12859    esac
12860  fi
12861  sys_lib_dlsearch_path_spec='/usr/lib'
12862  ;;
12863
12864tpf*)
12865  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
12866  version_type=linux # correct to gnu/linux during the next big refactor
12867  need_lib_prefix=no
12868  need_version=no
12869  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12870  shlibpath_var=LD_LIBRARY_PATH
12871  shlibpath_overrides_runpath=no
12872  hardcode_into_libs=yes
12873  ;;
12874
12875uts4*)
12876  version_type=linux # correct to gnu/linux during the next big refactor
12877  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12878  soname_spec='$libname$release$shared_ext$major'
12879  shlibpath_var=LD_LIBRARY_PATH
12880  ;;
12881
12882*)
12883  dynamic_linker=no
12884  ;;
12885esac
12886{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12887printf "%s\n" "$dynamic_linker" >&6; }
12888test no = "$dynamic_linker" && can_build_shared=no
12889
12890variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12891if test yes = "$GCC"; then
12892  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12893fi
12894
12895if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
12896  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
12897fi
12898
12899if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
12900  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
12901fi
12902
12903# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
12904configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
12905
12906# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
12907func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
12908
12909# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
12910configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
12911
12912
12913
12914
12915
12916
12917
12918
12919
12920
12921
12922
12923
12924
12925
12926
12927
12928
12929
12930
12931
12932
12933
12934
12935
12936
12937
12938
12939
12940
12941
12942
12943
12944
12945
12946
12947
12948
12949
12950
12951
12952
12953
12954
12955
12956
12957
12958
12959
12960
12961
12962
12963
12964
12965
12966
12967
12968
12969
12970
12971
12972
12973
12974
12975
12976
12977
12978
12979
12980
12981
12982
12983
12984
12985
12986
12987
12988
12989
12990
12991
12992
12993
12994
12995
12996
12997
12998
12999
13000
13001
13002
13003
13004
13005
13006
13007
13008  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13009printf %s "checking how to hardcode library paths into programs... " >&6; }
13010hardcode_action=
13011if test -n "$hardcode_libdir_flag_spec" ||
13012   test -n "$runpath_var" ||
13013   test yes = "$hardcode_automatic"; then
13014
13015  # We can hardcode non-existent directories.
13016  if test no != "$hardcode_direct" &&
13017     # If the only mechanism to avoid hardcoding is shlibpath_var, we
13018     # have to relink, otherwise we might link with an installed library
13019     # when we should be linking with a yet-to-be-installed one
13020     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
13021     test no != "$hardcode_minus_L"; then
13022    # Linking always hardcodes the temporary library directory.
13023    hardcode_action=relink
13024  else
13025    # We can link without hardcoding, and we can hardcode nonexisting dirs.
13026    hardcode_action=immediate
13027  fi
13028else
13029  # We cannot hardcode anything, or else we can only hardcode existing
13030  # directories.
13031  hardcode_action=unsupported
13032fi
13033{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
13034printf "%s\n" "$hardcode_action" >&6; }
13035
13036if test relink = "$hardcode_action" ||
13037   test yes = "$inherit_rpath"; then
13038  # Fast installation is not supported
13039  enable_fast_install=no
13040elif test yes = "$shlibpath_overrides_runpath" ||
13041     test no = "$enable_shared"; then
13042  # Fast installation is not necessary
13043  enable_fast_install=needless
13044fi
13045
13046
13047
13048
13049
13050
13051  if test yes != "$enable_dlopen"; then
13052  enable_dlopen=unknown
13053  enable_dlopen_self=unknown
13054  enable_dlopen_self_static=unknown
13055else
13056  lt_cv_dlopen=no
13057  lt_cv_dlopen_libs=
13058
13059  case $host_os in
13060  beos*)
13061    lt_cv_dlopen=load_add_on
13062    lt_cv_dlopen_libs=
13063    lt_cv_dlopen_self=yes
13064    ;;
13065
13066  mingw* | pw32* | cegcc*)
13067    lt_cv_dlopen=LoadLibrary
13068    lt_cv_dlopen_libs=
13069    ;;
13070
13071  cygwin*)
13072    lt_cv_dlopen=dlopen
13073    lt_cv_dlopen_libs=
13074    ;;
13075
13076  darwin*)
13077    # if libdl is installed we need to link against it
13078    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13079printf %s "checking for dlopen in -ldl... " >&6; }
13080if test ${ac_cv_lib_dl_dlopen+y}
13081then :
13082  printf %s "(cached) " >&6
13083else $as_nop
13084  ac_check_lib_save_LIBS=$LIBS
13085LIBS="-ldl  $LIBS"
13086cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13087/* end confdefs.h.  */
13088
13089/* Override any GCC internal prototype to avoid an error.
13090   Use char because int might match the return type of a GCC
13091   builtin and then its argument prototype would still apply.  */
13092char dlopen ();
13093int
13094main (void)
13095{
13096return dlopen ();
13097  ;
13098  return 0;
13099}
13100_ACEOF
13101if ac_fn_c_try_link "$LINENO"
13102then :
13103  ac_cv_lib_dl_dlopen=yes
13104else $as_nop
13105  ac_cv_lib_dl_dlopen=no
13106fi
13107rm -f core conftest.err conftest.$ac_objext conftest.beam \
13108    conftest$ac_exeext conftest.$ac_ext
13109LIBS=$ac_check_lib_save_LIBS
13110fi
13111{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13112printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
13113if test "x$ac_cv_lib_dl_dlopen" = xyes
13114then :
13115  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
13116else $as_nop
13117
13118    lt_cv_dlopen=dyld
13119    lt_cv_dlopen_libs=
13120    lt_cv_dlopen_self=yes
13121
13122fi
13123
13124    ;;
13125
13126  tpf*)
13127    # Don't try to run any link tests for TPF.  We know it's impossible
13128    # because TPF is a cross-compiler, and we know how we open DSOs.
13129    lt_cv_dlopen=dlopen
13130    lt_cv_dlopen_libs=
13131    lt_cv_dlopen_self=no
13132    ;;
13133
13134  *)
13135    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
13136if test "x$ac_cv_func_shl_load" = xyes
13137then :
13138  lt_cv_dlopen=shl_load
13139else $as_nop
13140  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
13141printf %s "checking for shl_load in -ldld... " >&6; }
13142if test ${ac_cv_lib_dld_shl_load+y}
13143then :
13144  printf %s "(cached) " >&6
13145else $as_nop
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.  */
13154char shl_load ();
13155int
13156main (void)
13157{
13158return shl_load ();
13159  ;
13160  return 0;
13161}
13162_ACEOF
13163if ac_fn_c_try_link "$LINENO"
13164then :
13165  ac_cv_lib_dld_shl_load=yes
13166else $as_nop
13167  ac_cv_lib_dld_shl_load=no
13168fi
13169rm -f core conftest.err conftest.$ac_objext conftest.beam \
13170    conftest$ac_exeext conftest.$ac_ext
13171LIBS=$ac_check_lib_save_LIBS
13172fi
13173{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13174printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
13175if test "x$ac_cv_lib_dld_shl_load" = xyes
13176then :
13177  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
13178else $as_nop
13179  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
13180if test "x$ac_cv_func_dlopen" = xyes
13181then :
13182  lt_cv_dlopen=dlopen
13183else $as_nop
13184  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13185printf %s "checking for dlopen in -ldl... " >&6; }
13186if test ${ac_cv_lib_dl_dlopen+y}
13187then :
13188  printf %s "(cached) " >&6
13189else $as_nop
13190  ac_check_lib_save_LIBS=$LIBS
13191LIBS="-ldl  $LIBS"
13192cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13193/* end confdefs.h.  */
13194
13195/* Override any GCC internal prototype to avoid an error.
13196   Use char because int might match the return type of a GCC
13197   builtin and then its argument prototype would still apply.  */
13198char dlopen ();
13199int
13200main (void)
13201{
13202return dlopen ();
13203  ;
13204  return 0;
13205}
13206_ACEOF
13207if ac_fn_c_try_link "$LINENO"
13208then :
13209  ac_cv_lib_dl_dlopen=yes
13210else $as_nop
13211  ac_cv_lib_dl_dlopen=no
13212fi
13213rm -f core conftest.err conftest.$ac_objext conftest.beam \
13214    conftest$ac_exeext conftest.$ac_ext
13215LIBS=$ac_check_lib_save_LIBS
13216fi
13217{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13218printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
13219if test "x$ac_cv_lib_dl_dlopen" = xyes
13220then :
13221  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
13222else $as_nop
13223  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13224printf %s "checking for dlopen in -lsvld... " >&6; }
13225if test ${ac_cv_lib_svld_dlopen+y}
13226then :
13227  printf %s "(cached) " >&6
13228else $as_nop
13229  ac_check_lib_save_LIBS=$LIBS
13230LIBS="-lsvld  $LIBS"
13231cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13232/* end confdefs.h.  */
13233
13234/* Override any GCC internal prototype to avoid an error.
13235   Use char because int might match the return type of a GCC
13236   builtin and then its argument prototype would still apply.  */
13237char dlopen ();
13238int
13239main (void)
13240{
13241return dlopen ();
13242  ;
13243  return 0;
13244}
13245_ACEOF
13246if ac_fn_c_try_link "$LINENO"
13247then :
13248  ac_cv_lib_svld_dlopen=yes
13249else $as_nop
13250  ac_cv_lib_svld_dlopen=no
13251fi
13252rm -f core conftest.err conftest.$ac_objext conftest.beam \
13253    conftest$ac_exeext conftest.$ac_ext
13254LIBS=$ac_check_lib_save_LIBS
13255fi
13256{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13257printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
13258if test "x$ac_cv_lib_svld_dlopen" = xyes
13259then :
13260  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
13261else $as_nop
13262  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13263printf %s "checking for dld_link in -ldld... " >&6; }
13264if test ${ac_cv_lib_dld_dld_link+y}
13265then :
13266  printf %s "(cached) " >&6
13267else $as_nop
13268  ac_check_lib_save_LIBS=$LIBS
13269LIBS="-ldld  $LIBS"
13270cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13271/* end confdefs.h.  */
13272
13273/* Override any GCC internal prototype to avoid an error.
13274   Use char because int might match the return type of a GCC
13275   builtin and then its argument prototype would still apply.  */
13276char dld_link ();
13277int
13278main (void)
13279{
13280return dld_link ();
13281  ;
13282  return 0;
13283}
13284_ACEOF
13285if ac_fn_c_try_link "$LINENO"
13286then :
13287  ac_cv_lib_dld_dld_link=yes
13288else $as_nop
13289  ac_cv_lib_dld_dld_link=no
13290fi
13291rm -f core conftest.err conftest.$ac_objext conftest.beam \
13292    conftest$ac_exeext conftest.$ac_ext
13293LIBS=$ac_check_lib_save_LIBS
13294fi
13295{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13296printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
13297if test "x$ac_cv_lib_dld_dld_link" = xyes
13298then :
13299  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
13300fi
13301
13302
13303fi
13304
13305
13306fi
13307
13308
13309fi
13310
13311
13312fi
13313
13314
13315fi
13316
13317    ;;
13318  esac
13319
13320  if test no = "$lt_cv_dlopen"; then
13321    enable_dlopen=no
13322  else
13323    enable_dlopen=yes
13324  fi
13325
13326  case $lt_cv_dlopen in
13327  dlopen)
13328    save_CPPFLAGS=$CPPFLAGS
13329    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13330
13331    save_LDFLAGS=$LDFLAGS
13332    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13333
13334    save_LIBS=$LIBS
13335    LIBS="$lt_cv_dlopen_libs $LIBS"
13336
13337    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13338printf %s "checking whether a program can dlopen itself... " >&6; }
13339if test ${lt_cv_dlopen_self+y}
13340then :
13341  printf %s "(cached) " >&6
13342else $as_nop
13343  	  if test yes = "$cross_compiling"; then :
13344  lt_cv_dlopen_self=cross
13345else
13346  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13347  lt_status=$lt_dlunknown
13348  cat > conftest.$ac_ext <<_LT_EOF
13349#line $LINENO "configure"
13350#include "confdefs.h"
13351
13352#if HAVE_DLFCN_H
13353#include <dlfcn.h>
13354#endif
13355
13356#include <stdio.h>
13357
13358#ifdef RTLD_GLOBAL
13359#  define LT_DLGLOBAL		RTLD_GLOBAL
13360#else
13361#  ifdef DL_GLOBAL
13362#    define LT_DLGLOBAL		DL_GLOBAL
13363#  else
13364#    define LT_DLGLOBAL		0
13365#  endif
13366#endif
13367
13368/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13369   find out it does not work in some platform. */
13370#ifndef LT_DLLAZY_OR_NOW
13371#  ifdef RTLD_LAZY
13372#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
13373#  else
13374#    ifdef DL_LAZY
13375#      define LT_DLLAZY_OR_NOW		DL_LAZY
13376#    else
13377#      ifdef RTLD_NOW
13378#        define LT_DLLAZY_OR_NOW	RTLD_NOW
13379#      else
13380#        ifdef DL_NOW
13381#          define LT_DLLAZY_OR_NOW	DL_NOW
13382#        else
13383#          define LT_DLLAZY_OR_NOW	0
13384#        endif
13385#      endif
13386#    endif
13387#  endif
13388#endif
13389
13390/* When -fvisibility=hidden is used, assume the code has been annotated
13391   correspondingly for the symbols needed.  */
13392#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13393int fnord () __attribute__((visibility("default")));
13394#endif
13395
13396int fnord () { return 42; }
13397int main ()
13398{
13399  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13400  int status = $lt_dlunknown;
13401
13402  if (self)
13403    {
13404      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13405      else
13406        {
13407	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13408          else puts (dlerror ());
13409	}
13410      /* dlclose (self); */
13411    }
13412  else
13413    puts (dlerror ());
13414
13415  return status;
13416}
13417_LT_EOF
13418  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13419  (eval $ac_link) 2>&5
13420  ac_status=$?
13421  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13422  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13423    (./conftest; exit; ) >&5 2>/dev/null
13424    lt_status=$?
13425    case x$lt_status in
13426      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13427      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13428      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
13429    esac
13430  else :
13431    # compilation failed
13432    lt_cv_dlopen_self=no
13433  fi
13434fi
13435rm -fr conftest*
13436
13437
13438fi
13439{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13440printf "%s\n" "$lt_cv_dlopen_self" >&6; }
13441
13442    if test yes = "$lt_cv_dlopen_self"; then
13443      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
13444      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13445printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
13446if test ${lt_cv_dlopen_self_static+y}
13447then :
13448  printf %s "(cached) " >&6
13449else $as_nop
13450  	  if test yes = "$cross_compiling"; then :
13451  lt_cv_dlopen_self_static=cross
13452else
13453  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13454  lt_status=$lt_dlunknown
13455  cat > conftest.$ac_ext <<_LT_EOF
13456#line $LINENO "configure"
13457#include "confdefs.h"
13458
13459#if HAVE_DLFCN_H
13460#include <dlfcn.h>
13461#endif
13462
13463#include <stdio.h>
13464
13465#ifdef RTLD_GLOBAL
13466#  define LT_DLGLOBAL		RTLD_GLOBAL
13467#else
13468#  ifdef DL_GLOBAL
13469#    define LT_DLGLOBAL		DL_GLOBAL
13470#  else
13471#    define LT_DLGLOBAL		0
13472#  endif
13473#endif
13474
13475/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13476   find out it does not work in some platform. */
13477#ifndef LT_DLLAZY_OR_NOW
13478#  ifdef RTLD_LAZY
13479#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
13480#  else
13481#    ifdef DL_LAZY
13482#      define LT_DLLAZY_OR_NOW		DL_LAZY
13483#    else
13484#      ifdef RTLD_NOW
13485#        define LT_DLLAZY_OR_NOW	RTLD_NOW
13486#      else
13487#        ifdef DL_NOW
13488#          define LT_DLLAZY_OR_NOW	DL_NOW
13489#        else
13490#          define LT_DLLAZY_OR_NOW	0
13491#        endif
13492#      endif
13493#    endif
13494#  endif
13495#endif
13496
13497/* When -fvisibility=hidden is used, assume the code has been annotated
13498   correspondingly for the symbols needed.  */
13499#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13500int fnord () __attribute__((visibility("default")));
13501#endif
13502
13503int fnord () { return 42; }
13504int main ()
13505{
13506  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13507  int status = $lt_dlunknown;
13508
13509  if (self)
13510    {
13511      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13512      else
13513        {
13514	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13515          else puts (dlerror ());
13516	}
13517      /* dlclose (self); */
13518    }
13519  else
13520    puts (dlerror ());
13521
13522  return status;
13523}
13524_LT_EOF
13525  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13526  (eval $ac_link) 2>&5
13527  ac_status=$?
13528  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13529  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13530    (./conftest; exit; ) >&5 2>/dev/null
13531    lt_status=$?
13532    case x$lt_status in
13533      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13534      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13535      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13536    esac
13537  else :
13538    # compilation failed
13539    lt_cv_dlopen_self_static=no
13540  fi
13541fi
13542rm -fr conftest*
13543
13544
13545fi
13546{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13547printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
13548    fi
13549
13550    CPPFLAGS=$save_CPPFLAGS
13551    LDFLAGS=$save_LDFLAGS
13552    LIBS=$save_LIBS
13553    ;;
13554  esac
13555
13556  case $lt_cv_dlopen_self in
13557  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13558  *) enable_dlopen_self=unknown ;;
13559  esac
13560
13561  case $lt_cv_dlopen_self_static in
13562  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13563  *) enable_dlopen_self_static=unknown ;;
13564  esac
13565fi
13566
13567
13568
13569
13570
13571
13572
13573
13574
13575
13576
13577
13578
13579
13580
13581
13582
13583striplib=
13584old_striplib=
13585{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13586printf %s "checking whether stripping libraries is possible... " >&6; }
13587if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13588  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13589  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13590  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13591printf "%s\n" "yes" >&6; }
13592else
13593# FIXME - insert some real tests, host_os isn't really good enough
13594  case $host_os in
13595  darwin*)
13596    if test -n "$STRIP"; then
13597      striplib="$STRIP -x"
13598      old_striplib="$STRIP -S"
13599      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13600printf "%s\n" "yes" >&6; }
13601    else
13602      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13603printf "%s\n" "no" >&6; }
13604    fi
13605    ;;
13606  *)
13607    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13608printf "%s\n" "no" >&6; }
13609    ;;
13610  esac
13611fi
13612
13613
13614
13615
13616
13617
13618
13619
13620
13621
13622
13623
13624  # Report what library types will actually be built
13625  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13626printf %s "checking if libtool supports shared libraries... " >&6; }
13627  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13628printf "%s\n" "$can_build_shared" >&6; }
13629
13630  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13631printf %s "checking whether to build shared libraries... " >&6; }
13632  test no = "$can_build_shared" && enable_shared=no
13633
13634  # On AIX, shared libraries and static libraries use the same namespace, and
13635  # are all built from PIC.
13636  case $host_os in
13637  aix3*)
13638    test yes = "$enable_shared" && enable_static=no
13639    if test -n "$RANLIB"; then
13640      archive_cmds="$archive_cmds~\$RANLIB \$lib"
13641      postinstall_cmds='$RANLIB $lib'
13642    fi
13643    ;;
13644
13645  aix[4-9]*)
13646    if test ia64 != "$host_cpu"; then
13647      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
13648      yes,aix,yes) ;;			# shared object as lib.so file only
13649      yes,svr4,*) ;;			# shared object as lib.so archive member only
13650      yes,*) enable_static=no ;;	# shared object in lib.a archive as well
13651      esac
13652    fi
13653    ;;
13654  esac
13655  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13656printf "%s\n" "$enable_shared" >&6; }
13657
13658  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13659printf %s "checking whether to build static libraries... " >&6; }
13660  # Make sure either enable_shared or enable_static is yes.
13661  test yes = "$enable_shared" || enable_static=yes
13662  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13663printf "%s\n" "$enable_static" >&6; }
13664
13665
13666
13667
13668fi
13669ac_ext=c
13670ac_cpp='$CPP $CPPFLAGS'
13671ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13672ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13673ac_compiler_gnu=$ac_cv_c_compiler_gnu
13674
13675CC=$lt_save_CC
13676
13677
13678
13679
13680
13681
13682
13683
13684
13685
13686
13687
13688
13689
13690
13691        ac_config_commands="$ac_config_commands libtool"
13692
13693
13694
13695
13696# Only expand once:
13697
13698
13699
13700
13701
13702
13703
13704ac_ext=c
13705ac_cpp='$CPP $CPPFLAGS'
13706ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13707ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13708ac_compiler_gnu=$ac_cv_c_compiler_gnu
13709
13710
13711
13712if test "$GCC" = yes
13713then :
13714
13715
13716
13717
13718for flag in -Wall -Wextra; do
13719  as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
13720{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13721printf %s "checking whether C compiler accepts $flag... " >&6; }
13722if eval test \${$as_CACHEVAR+y}
13723then :
13724  printf %s "(cached) " >&6
13725else $as_nop
13726
13727  ax_check_save_flags=$CFLAGS
13728  CFLAGS="$CFLAGS  -Werror $flag"
13729  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13730/* end confdefs.h.  */
13731int main(void) { return 0; }
13732_ACEOF
13733if ac_fn_c_try_compile "$LINENO"
13734then :
13735  eval "$as_CACHEVAR=yes"
13736else $as_nop
13737  eval "$as_CACHEVAR=no"
13738fi
13739rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13740  CFLAGS=$ax_check_save_flags
13741fi
13742eval ac_res=\$$as_CACHEVAR
13743	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13744printf "%s\n" "$ac_res" >&6; }
13745if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
13746then :
13747
13748if test ${AM_CFLAGS+y}
13749then :
13750
13751  case " $AM_CFLAGS " in #(
13752  *" $flag "*) :
13753    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS already contains \$flag"; } >&5
13754  (: AM_CFLAGS already contains $flag) 2>&5
13755  ac_status=$?
13756  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13757  test $ac_status = 0; } ;; #(
13758  *) :
13759
13760     as_fn_append AM_CFLAGS " $flag"
13761     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS=\"\$AM_CFLAGS\""; } >&5
13762  (: AM_CFLAGS="$AM_CFLAGS") 2>&5
13763  ac_status=$?
13764  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13765  test $ac_status = 0; }
13766     ;;
13767esac
13768
13769else $as_nop
13770
13771  AM_CFLAGS=$flag
13772  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS=\"\$AM_CFLAGS\""; } >&5
13773  (: AM_CFLAGS="$AM_CFLAGS") 2>&5
13774  ac_status=$?
13775  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13776  test $ac_status = 0; }
13777
13778fi
13779
13780else $as_nop
13781  :
13782fi
13783
13784done
13785
13786
13787
13788
13789
13790for flag in -fexceptions; do
13791  as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
13792{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13793printf %s "checking whether C compiler accepts $flag... " >&6; }
13794if eval test \${$as_CACHEVAR+y}
13795then :
13796  printf %s "(cached) " >&6
13797else $as_nop
13798
13799  ax_check_save_flags=$CFLAGS
13800  CFLAGS="$CFLAGS  -Werror $flag"
13801  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13802/* end confdefs.h.  */
13803int main(void) { return 0; }
13804_ACEOF
13805if ac_fn_c_try_compile "$LINENO"
13806then :
13807  eval "$as_CACHEVAR=yes"
13808else $as_nop
13809  eval "$as_CACHEVAR=no"
13810fi
13811rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13812  CFLAGS=$ax_check_save_flags
13813fi
13814eval ac_res=\$$as_CACHEVAR
13815	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13816printf "%s\n" "$ac_res" >&6; }
13817if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
13818then :
13819
13820if test ${AM_CFLAGS+y}
13821then :
13822
13823  case " $AM_CFLAGS " in #(
13824  *" $flag "*) :
13825    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS already contains \$flag"; } >&5
13826  (: AM_CFLAGS already contains $flag) 2>&5
13827  ac_status=$?
13828  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13829  test $ac_status = 0; } ;; #(
13830  *) :
13831
13832     as_fn_append AM_CFLAGS " $flag"
13833     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS=\"\$AM_CFLAGS\""; } >&5
13834  (: AM_CFLAGS="$AM_CFLAGS") 2>&5
13835  ac_status=$?
13836  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13837  test $ac_status = 0; }
13838     ;;
13839esac
13840
13841else $as_nop
13842
13843  AM_CFLAGS=$flag
13844  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS=\"\$AM_CFLAGS\""; } >&5
13845  (: AM_CFLAGS="$AM_CFLAGS") 2>&5
13846  ac_status=$?
13847  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13848  test $ac_status = 0; }
13849
13850fi
13851
13852else $as_nop
13853  :
13854fi
13855
13856done
13857
13858
13859
13860
13861
13862for flag in -fno-strict-aliasing -Wmissing-prototypes -Wstrict-prototypes; do
13863  as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
13864{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13865printf %s "checking whether C compiler accepts $flag... " >&6; }
13866if eval test \${$as_CACHEVAR+y}
13867then :
13868  printf %s "(cached) " >&6
13869else $as_nop
13870
13871  ax_check_save_flags=$CFLAGS
13872  CFLAGS="$CFLAGS  -Werror $flag"
13873  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13874/* end confdefs.h.  */
13875int main(void) { return 0; }
13876_ACEOF
13877if ac_fn_c_try_compile "$LINENO"
13878then :
13879  eval "$as_CACHEVAR=yes"
13880else $as_nop
13881  eval "$as_CACHEVAR=no"
13882fi
13883rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13884  CFLAGS=$ax_check_save_flags
13885fi
13886eval ac_res=\$$as_CACHEVAR
13887	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13888printf "%s\n" "$ac_res" >&6; }
13889if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
13890then :
13891
13892if test ${AM_CFLAGS+y}
13893then :
13894
13895  case " $AM_CFLAGS " in #(
13896  *" $flag "*) :
13897    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS already contains \$flag"; } >&5
13898  (: AM_CFLAGS already contains $flag) 2>&5
13899  ac_status=$?
13900  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13901  test $ac_status = 0; } ;; #(
13902  *) :
13903
13904     as_fn_append AM_CFLAGS " $flag"
13905     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS=\"\$AM_CFLAGS\""; } >&5
13906  (: AM_CFLAGS="$AM_CFLAGS") 2>&5
13907  ac_status=$?
13908  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13909  test $ac_status = 0; }
13910     ;;
13911esac
13912
13913else $as_nop
13914
13915  AM_CFLAGS=$flag
13916  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS=\"\$AM_CFLAGS\""; } >&5
13917  (: AM_CFLAGS="$AM_CFLAGS") 2>&5
13918  ac_status=$?
13919  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13920  test $ac_status = 0; }
13921
13922fi
13923
13924else $as_nop
13925  :
13926fi
13927
13928done
13929
13930
13931
13932
13933
13934for flag in -pedantic -Wduplicated-cond -Wduplicated-branches -Wlogical-op; do
13935  as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
13936{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13937printf %s "checking whether C compiler accepts $flag... " >&6; }
13938if eval test \${$as_CACHEVAR+y}
13939then :
13940  printf %s "(cached) " >&6
13941else $as_nop
13942
13943  ax_check_save_flags=$CFLAGS
13944  CFLAGS="$CFLAGS  -Werror $flag"
13945  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13946/* end confdefs.h.  */
13947int main(void) { return 0; }
13948_ACEOF
13949if ac_fn_c_try_compile "$LINENO"
13950then :
13951  eval "$as_CACHEVAR=yes"
13952else $as_nop
13953  eval "$as_CACHEVAR=no"
13954fi
13955rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13956  CFLAGS=$ax_check_save_flags
13957fi
13958eval ac_res=\$$as_CACHEVAR
13959	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13960printf "%s\n" "$ac_res" >&6; }
13961if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
13962then :
13963
13964if test ${AM_CFLAGS+y}
13965then :
13966
13967  case " $AM_CFLAGS " in #(
13968  *" $flag "*) :
13969    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS already contains \$flag"; } >&5
13970  (: AM_CFLAGS already contains $flag) 2>&5
13971  ac_status=$?
13972  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13973  test $ac_status = 0; } ;; #(
13974  *) :
13975
13976     as_fn_append AM_CFLAGS " $flag"
13977     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS=\"\$AM_CFLAGS\""; } >&5
13978  (: AM_CFLAGS="$AM_CFLAGS") 2>&5
13979  ac_status=$?
13980  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13981  test $ac_status = 0; }
13982     ;;
13983esac
13984
13985else $as_nop
13986
13987  AM_CFLAGS=$flag
13988  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS=\"\$AM_CFLAGS\""; } >&5
13989  (: AM_CFLAGS="$AM_CFLAGS") 2>&5
13990  ac_status=$?
13991  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13992  test $ac_status = 0; }
13993
13994fi
13995
13996else $as_nop
13997  :
13998fi
13999
14000done
14001
14002
14003
14004
14005
14006for flag in -Wrestrict -Wnull-dereference -Wjump-misses-init -Wdouble-promotion; do
14007  as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
14008{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14009printf %s "checking whether C compiler accepts $flag... " >&6; }
14010if eval test \${$as_CACHEVAR+y}
14011then :
14012  printf %s "(cached) " >&6
14013else $as_nop
14014
14015  ax_check_save_flags=$CFLAGS
14016  CFLAGS="$CFLAGS  -Werror $flag"
14017  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14018/* end confdefs.h.  */
14019int main(void) { return 0; }
14020_ACEOF
14021if ac_fn_c_try_compile "$LINENO"
14022then :
14023  eval "$as_CACHEVAR=yes"
14024else $as_nop
14025  eval "$as_CACHEVAR=no"
14026fi
14027rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14028  CFLAGS=$ax_check_save_flags
14029fi
14030eval ac_res=\$$as_CACHEVAR
14031	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14032printf "%s\n" "$ac_res" >&6; }
14033if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
14034then :
14035
14036if test ${AM_CFLAGS+y}
14037then :
14038
14039  case " $AM_CFLAGS " in #(
14040  *" $flag "*) :
14041    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS already contains \$flag"; } >&5
14042  (: AM_CFLAGS already contains $flag) 2>&5
14043  ac_status=$?
14044  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14045  test $ac_status = 0; } ;; #(
14046  *) :
14047
14048     as_fn_append AM_CFLAGS " $flag"
14049     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS=\"\$AM_CFLAGS\""; } >&5
14050  (: AM_CFLAGS="$AM_CFLAGS") 2>&5
14051  ac_status=$?
14052  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14053  test $ac_status = 0; }
14054     ;;
14055esac
14056
14057else $as_nop
14058
14059  AM_CFLAGS=$flag
14060  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS=\"\$AM_CFLAGS\""; } >&5
14061  (: AM_CFLAGS="$AM_CFLAGS") 2>&5
14062  ac_status=$?
14063  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14064  test $ac_status = 0; }
14065
14066fi
14067
14068else $as_nop
14069  :
14070fi
14071
14072done
14073
14074
14075
14076
14077
14078for flag in -Wshadow -Wformat=2 -Wno-pedantic-ms-format -Wmisleading-indentation; do
14079  as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
14080{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14081printf %s "checking whether C compiler accepts $flag... " >&6; }
14082if eval test \${$as_CACHEVAR+y}
14083then :
14084  printf %s "(cached) " >&6
14085else $as_nop
14086
14087  ax_check_save_flags=$CFLAGS
14088  CFLAGS="$CFLAGS  -Werror $flag"
14089  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14090/* end confdefs.h.  */
14091int main(void) { return 0; }
14092_ACEOF
14093if ac_fn_c_try_compile "$LINENO"
14094then :
14095  eval "$as_CACHEVAR=yes"
14096else $as_nop
14097  eval "$as_CACHEVAR=no"
14098fi
14099rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14100  CFLAGS=$ax_check_save_flags
14101fi
14102eval ac_res=\$$as_CACHEVAR
14103	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14104printf "%s\n" "$ac_res" >&6; }
14105if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
14106then :
14107
14108if test ${AM_CFLAGS+y}
14109then :
14110
14111  case " $AM_CFLAGS " in #(
14112  *" $flag "*) :
14113    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS already contains \$flag"; } >&5
14114  (: AM_CFLAGS already contains $flag) 2>&5
14115  ac_status=$?
14116  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14117  test $ac_status = 0; } ;; #(
14118  *) :
14119
14120     as_fn_append AM_CFLAGS " $flag"
14121     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS=\"\$AM_CFLAGS\""; } >&5
14122  (: AM_CFLAGS="$AM_CFLAGS") 2>&5
14123  ac_status=$?
14124  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14125  test $ac_status = 0; }
14126     ;;
14127esac
14128
14129else $as_nop
14130
14131  AM_CFLAGS=$flag
14132  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS=\"\$AM_CFLAGS\""; } >&5
14133  (: AM_CFLAGS="$AM_CFLAGS") 2>&5
14134  ac_status=$?
14135  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14136  test $ac_status = 0; }
14137
14138fi
14139
14140else $as_nop
14141  :
14142fi
14143
14144done
14145
14146fi
14147
14148ac_ext=cpp
14149ac_cpp='$CXXCPP $CPPFLAGS'
14150ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14151ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14152ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14153
14154
14155
14156
14157
14158
14159
14160ac_ext=cpp
14161ac_cpp='$CXXCPP $CPPFLAGS'
14162ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14163ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14164ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14165if test -z "$CXX"; then
14166  if test -n "$CCC"; then
14167    CXX=$CCC
14168  else
14169    if test -n "$ac_tool_prefix"; then
14170  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
14171  do
14172    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14173set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14174{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14175printf %s "checking for $ac_word... " >&6; }
14176if test ${ac_cv_prog_CXX+y}
14177then :
14178  printf %s "(cached) " >&6
14179else $as_nop
14180  if test -n "$CXX"; then
14181  ac_cv_prog_CXX="$CXX" # Let the user override the test.
14182else
14183as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14184for as_dir in $PATH
14185do
14186  IFS=$as_save_IFS
14187  case $as_dir in #(((
14188    '') as_dir=./ ;;
14189    */) ;;
14190    *) as_dir=$as_dir/ ;;
14191  esac
14192    for ac_exec_ext in '' $ac_executable_extensions; do
14193  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
14194    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
14195    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
14196    break 2
14197  fi
14198done
14199  done
14200IFS=$as_save_IFS
14201
14202fi
14203fi
14204CXX=$ac_cv_prog_CXX
14205if test -n "$CXX"; then
14206  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
14207printf "%s\n" "$CXX" >&6; }
14208else
14209  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14210printf "%s\n" "no" >&6; }
14211fi
14212
14213
14214    test -n "$CXX" && break
14215  done
14216fi
14217if test -z "$CXX"; then
14218  ac_ct_CXX=$CXX
14219  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
14220do
14221  # Extract the first word of "$ac_prog", so it can be a program name with args.
14222set dummy $ac_prog; ac_word=$2
14223{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14224printf %s "checking for $ac_word... " >&6; }
14225if test ${ac_cv_prog_ac_ct_CXX+y}
14226then :
14227  printf %s "(cached) " >&6
14228else $as_nop
14229  if test -n "$ac_ct_CXX"; then
14230  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
14231else
14232as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14233for as_dir in $PATH
14234do
14235  IFS=$as_save_IFS
14236  case $as_dir in #(((
14237    '') as_dir=./ ;;
14238    */) ;;
14239    *) as_dir=$as_dir/ ;;
14240  esac
14241    for ac_exec_ext in '' $ac_executable_extensions; do
14242  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
14243    ac_cv_prog_ac_ct_CXX="$ac_prog"
14244    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
14245    break 2
14246  fi
14247done
14248  done
14249IFS=$as_save_IFS
14250
14251fi
14252fi
14253ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
14254if test -n "$ac_ct_CXX"; then
14255  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
14256printf "%s\n" "$ac_ct_CXX" >&6; }
14257else
14258  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14259printf "%s\n" "no" >&6; }
14260fi
14261
14262
14263  test -n "$ac_ct_CXX" && break
14264done
14265
14266  if test "x$ac_ct_CXX" = x; then
14267    CXX="g++"
14268  else
14269    case $cross_compiling:$ac_tool_warned in
14270yes:)
14271{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14272printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14273ac_tool_warned=yes ;;
14274esac
14275    CXX=$ac_ct_CXX
14276  fi
14277fi
14278
14279  fi
14280fi
14281# Provide some information about the compiler.
14282printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
14283set X $ac_compile
14284ac_compiler=$2
14285for ac_option in --version -v -V -qversion; do
14286  { { ac_try="$ac_compiler $ac_option >&5"
14287case "(($ac_try" in
14288  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14289  *) ac_try_echo=$ac_try;;
14290esac
14291eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14292printf "%s\n" "$ac_try_echo"; } >&5
14293  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
14294  ac_status=$?
14295  if test -s conftest.err; then
14296    sed '10a\
14297... rest of stderr output deleted ...
14298         10q' conftest.err >conftest.er1
14299    cat conftest.er1 >&5
14300  fi
14301  rm -f conftest.er1 conftest.err
14302  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14303  test $ac_status = 0; }
14304done
14305
14306{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
14307printf %s "checking whether the compiler supports GNU C++... " >&6; }
14308if test ${ac_cv_cxx_compiler_gnu+y}
14309then :
14310  printf %s "(cached) " >&6
14311else $as_nop
14312  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14313/* end confdefs.h.  */
14314
14315int
14316main (void)
14317{
14318#ifndef __GNUC__
14319       choke me
14320#endif
14321
14322  ;
14323  return 0;
14324}
14325_ACEOF
14326if ac_fn_cxx_try_compile "$LINENO"
14327then :
14328  ac_compiler_gnu=yes
14329else $as_nop
14330  ac_compiler_gnu=no
14331fi
14332rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14333ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
14334
14335fi
14336{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
14337printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
14338ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14339
14340if test $ac_compiler_gnu = yes; then
14341  GXX=yes
14342else
14343  GXX=
14344fi
14345ac_test_CXXFLAGS=${CXXFLAGS+y}
14346ac_save_CXXFLAGS=$CXXFLAGS
14347{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
14348printf %s "checking whether $CXX accepts -g... " >&6; }
14349if test ${ac_cv_prog_cxx_g+y}
14350then :
14351  printf %s "(cached) " >&6
14352else $as_nop
14353  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
14354   ac_cxx_werror_flag=yes
14355   ac_cv_prog_cxx_g=no
14356   CXXFLAGS="-g"
14357   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14358/* end confdefs.h.  */
14359
14360int
14361main (void)
14362{
14363
14364  ;
14365  return 0;
14366}
14367_ACEOF
14368if ac_fn_cxx_try_compile "$LINENO"
14369then :
14370  ac_cv_prog_cxx_g=yes
14371else $as_nop
14372  CXXFLAGS=""
14373      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14374/* end confdefs.h.  */
14375
14376int
14377main (void)
14378{
14379
14380  ;
14381  return 0;
14382}
14383_ACEOF
14384if ac_fn_cxx_try_compile "$LINENO"
14385then :
14386
14387else $as_nop
14388  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
14389	 CXXFLAGS="-g"
14390	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14391/* end confdefs.h.  */
14392
14393int
14394main (void)
14395{
14396
14397  ;
14398  return 0;
14399}
14400_ACEOF
14401if ac_fn_cxx_try_compile "$LINENO"
14402then :
14403  ac_cv_prog_cxx_g=yes
14404fi
14405rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14406fi
14407rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14408fi
14409rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14410   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
14411fi
14412{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
14413printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
14414if test $ac_test_CXXFLAGS; then
14415  CXXFLAGS=$ac_save_CXXFLAGS
14416elif test $ac_cv_prog_cxx_g = yes; then
14417  if test "$GXX" = yes; then
14418    CXXFLAGS="-g -O2"
14419  else
14420    CXXFLAGS="-g"
14421  fi
14422else
14423  if test "$GXX" = yes; then
14424    CXXFLAGS="-O2"
14425  else
14426    CXXFLAGS=
14427  fi
14428fi
14429ac_prog_cxx_stdcxx=no
14430if test x$ac_prog_cxx_stdcxx = xno
14431then :
14432  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
14433printf %s "checking for $CXX option to enable C++11 features... " >&6; }
14434if test ${ac_cv_prog_cxx_11+y}
14435then :
14436  printf %s "(cached) " >&6
14437else $as_nop
14438  ac_cv_prog_cxx_11=no
14439ac_save_CXX=$CXX
14440cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14441/* end confdefs.h.  */
14442$ac_cxx_conftest_cxx11_program
14443_ACEOF
14444for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
14445do
14446  CXX="$ac_save_CXX $ac_arg"
14447  if ac_fn_cxx_try_compile "$LINENO"
14448then :
14449  ac_cv_prog_cxx_cxx11=$ac_arg
14450fi
14451rm -f core conftest.err conftest.$ac_objext conftest.beam
14452  test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
14453done
14454rm -f conftest.$ac_ext
14455CXX=$ac_save_CXX
14456fi
14457
14458if test "x$ac_cv_prog_cxx_cxx11" = xno
14459then :
14460  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
14461printf "%s\n" "unsupported" >&6; }
14462else $as_nop
14463  if test "x$ac_cv_prog_cxx_cxx11" = x
14464then :
14465  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
14466printf "%s\n" "none needed" >&6; }
14467else $as_nop
14468  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
14469printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
14470     CXX="$CXX $ac_cv_prog_cxx_cxx11"
14471fi
14472  ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
14473  ac_prog_cxx_stdcxx=cxx11
14474fi
14475fi
14476if test x$ac_prog_cxx_stdcxx = xno
14477then :
14478  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
14479printf %s "checking for $CXX option to enable C++98 features... " >&6; }
14480if test ${ac_cv_prog_cxx_98+y}
14481then :
14482  printf %s "(cached) " >&6
14483else $as_nop
14484  ac_cv_prog_cxx_98=no
14485ac_save_CXX=$CXX
14486cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14487/* end confdefs.h.  */
14488$ac_cxx_conftest_cxx98_program
14489_ACEOF
14490for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
14491do
14492  CXX="$ac_save_CXX $ac_arg"
14493  if ac_fn_cxx_try_compile "$LINENO"
14494then :
14495  ac_cv_prog_cxx_cxx98=$ac_arg
14496fi
14497rm -f core conftest.err conftest.$ac_objext conftest.beam
14498  test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
14499done
14500rm -f conftest.$ac_ext
14501CXX=$ac_save_CXX
14502fi
14503
14504if test "x$ac_cv_prog_cxx_cxx98" = xno
14505then :
14506  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
14507printf "%s\n" "unsupported" >&6; }
14508else $as_nop
14509  if test "x$ac_cv_prog_cxx_cxx98" = x
14510then :
14511  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
14512printf "%s\n" "none needed" >&6; }
14513else $as_nop
14514  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
14515printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
14516     CXX="$CXX $ac_cv_prog_cxx_cxx98"
14517fi
14518  ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
14519  ac_prog_cxx_stdcxx=cxx98
14520fi
14521fi
14522
14523ac_ext=cpp
14524ac_cpp='$CXXCPP $CPPFLAGS'
14525ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14526ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14527ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14528
14529depcc="$CXX"  am_compiler_list=
14530
14531{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
14532printf %s "checking dependency style of $depcc... " >&6; }
14533if test ${am_cv_CXX_dependencies_compiler_type+y}
14534then :
14535  printf %s "(cached) " >&6
14536else $as_nop
14537  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
14538  # We make a subdir and do the tests there.  Otherwise we can end up
14539  # making bogus files that we don't know about and never remove.  For
14540  # instance it was reported that on HP-UX the gcc test will end up
14541  # making a dummy file named 'D' -- because '-MD' means "put the output
14542  # in D".
14543  rm -rf conftest.dir
14544  mkdir conftest.dir
14545  # Copy depcomp to subdir because otherwise we won't find it if we're
14546  # using a relative directory.
14547  cp "$am_depcomp" conftest.dir
14548  cd conftest.dir
14549  # We will build objects and dependencies in a subdirectory because
14550  # it helps to detect inapplicable dependency modes.  For instance
14551  # both Tru64's cc and ICC support -MD to output dependencies as a
14552  # side effect of compilation, but ICC will put the dependencies in
14553  # the current directory while Tru64 will put them in the object
14554  # directory.
14555  mkdir sub
14556
14557  am_cv_CXX_dependencies_compiler_type=none
14558  if test "$am_compiler_list" = ""; then
14559     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
14560  fi
14561  am__universal=false
14562  case " $depcc " in #(
14563     *\ -arch\ *\ -arch\ *) am__universal=true ;;
14564     esac
14565
14566  for depmode in $am_compiler_list; do
14567    # Setup a source with many dependencies, because some compilers
14568    # like to wrap large dependency lists on column 80 (with \), and
14569    # we should not choose a depcomp mode which is confused by this.
14570    #
14571    # We need to recreate these files for each test, as the compiler may
14572    # overwrite some of them when testing with obscure command lines.
14573    # This happens at least with the AIX C compiler.
14574    : > sub/conftest.c
14575    for i in 1 2 3 4 5 6; do
14576      echo '#include "conftst'$i'.h"' >> sub/conftest.c
14577      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
14578      # Solaris 10 /bin/sh.
14579      echo '/* dummy */' > sub/conftst$i.h
14580    done
14581    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
14582
14583    # We check with '-c' and '-o' for the sake of the "dashmstdout"
14584    # mode.  It turns out that the SunPro C++ compiler does not properly
14585    # handle '-M -o', and we need to detect this.  Also, some Intel
14586    # versions had trouble with output in subdirs.
14587    am__obj=sub/conftest.${OBJEXT-o}
14588    am__minus_obj="-o $am__obj"
14589    case $depmode in
14590    gcc)
14591      # This depmode causes a compiler race in universal mode.
14592      test "$am__universal" = false || continue
14593      ;;
14594    nosideeffect)
14595      # After this tag, mechanisms are not by side-effect, so they'll
14596      # only be used when explicitly requested.
14597      if test "x$enable_dependency_tracking" = xyes; then
14598	continue
14599      else
14600	break
14601      fi
14602      ;;
14603    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
14604      # This compiler won't grok '-c -o', but also, the minuso test has
14605      # not run yet.  These depmodes are late enough in the game, and
14606      # so weak that their functioning should not be impacted.
14607      am__obj=conftest.${OBJEXT-o}
14608      am__minus_obj=
14609      ;;
14610    none) break ;;
14611    esac
14612    if depmode=$depmode \
14613       source=sub/conftest.c object=$am__obj \
14614       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
14615       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
14616         >/dev/null 2>conftest.err &&
14617       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
14618       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
14619       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
14620       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
14621      # icc doesn't choke on unknown options, it will just issue warnings
14622      # or remarks (even with -Werror).  So we grep stderr for any message
14623      # that says an option was ignored or not supported.
14624      # When given -MP, icc 7.0 and 7.1 complain thusly:
14625      #   icc: Command line warning: ignoring option '-M'; no argument required
14626      # The diagnosis changed in icc 8.0:
14627      #   icc: Command line remark: option '-MP' not supported
14628      if (grep 'ignoring option' conftest.err ||
14629          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
14630        am_cv_CXX_dependencies_compiler_type=$depmode
14631        break
14632      fi
14633    fi
14634  done
14635
14636  cd ..
14637  rm -rf conftest.dir
14638else
14639  am_cv_CXX_dependencies_compiler_type=none
14640fi
14641
14642fi
14643{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
14644printf "%s\n" "$am_cv_CXX_dependencies_compiler_type" >&6; }
14645CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
14646
14647 if
14648  test "x$enable_dependency_tracking" != xno \
14649  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
14650  am__fastdepCXX_TRUE=
14651  am__fastdepCXX_FALSE='#'
14652else
14653  am__fastdepCXX_TRUE='#'
14654  am__fastdepCXX_FALSE=
14655fi
14656
14657
14658
14659
14660func_stripname_cnf ()
14661{
14662  case $2 in
14663  .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
14664  *)  func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
14665  esac
14666} # func_stripname_cnf
14667
14668      if test -n "$CXX" && ( test no != "$CXX" &&
14669    ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
14670    (test g++ != "$CXX"))); then
14671  ac_ext=cpp
14672ac_cpp='$CXXCPP $CPPFLAGS'
14673ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14674ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14675ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14676{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
14677printf %s "checking how to run the C++ preprocessor... " >&6; }
14678if test -z "$CXXCPP"; then
14679  if test ${ac_cv_prog_CXXCPP+y}
14680then :
14681  printf %s "(cached) " >&6
14682else $as_nop
14683      # Double quotes because $CXX needs to be expanded
14684    for CXXCPP in "$CXX -E" cpp /lib/cpp
14685    do
14686      ac_preproc_ok=false
14687for ac_cxx_preproc_warn_flag in '' yes
14688do
14689  # Use a header file that comes with gcc, so configuring glibc
14690  # with a fresh cross-compiler works.
14691  # On the NeXT, cc -E runs the code through the compiler's parser,
14692  # not just through cpp. "Syntax error" is here to catch this case.
14693  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14694/* end confdefs.h.  */
14695#include <limits.h>
14696		     Syntax error
14697_ACEOF
14698if ac_fn_cxx_try_cpp "$LINENO"
14699then :
14700
14701else $as_nop
14702  # Broken: fails on valid input.
14703continue
14704fi
14705rm -f conftest.err conftest.i conftest.$ac_ext
14706
14707  # OK, works on sane cases.  Now check whether nonexistent headers
14708  # can be detected and how.
14709  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14710/* end confdefs.h.  */
14711#include <ac_nonexistent.h>
14712_ACEOF
14713if ac_fn_cxx_try_cpp "$LINENO"
14714then :
14715  # Broken: success on invalid input.
14716continue
14717else $as_nop
14718  # Passes both tests.
14719ac_preproc_ok=:
14720break
14721fi
14722rm -f conftest.err conftest.i conftest.$ac_ext
14723
14724done
14725# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14726rm -f conftest.i conftest.err conftest.$ac_ext
14727if $ac_preproc_ok
14728then :
14729  break
14730fi
14731
14732    done
14733    ac_cv_prog_CXXCPP=$CXXCPP
14734
14735fi
14736  CXXCPP=$ac_cv_prog_CXXCPP
14737else
14738  ac_cv_prog_CXXCPP=$CXXCPP
14739fi
14740{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
14741printf "%s\n" "$CXXCPP" >&6; }
14742ac_preproc_ok=false
14743for ac_cxx_preproc_warn_flag in '' yes
14744do
14745  # Use a header file that comes with gcc, so configuring glibc
14746  # with a fresh cross-compiler works.
14747  # On the NeXT, cc -E runs the code through the compiler's parser,
14748  # not just through cpp. "Syntax error" is here to catch this case.
14749  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14750/* end confdefs.h.  */
14751#include <limits.h>
14752		     Syntax error
14753_ACEOF
14754if ac_fn_cxx_try_cpp "$LINENO"
14755then :
14756
14757else $as_nop
14758  # Broken: fails on valid input.
14759continue
14760fi
14761rm -f conftest.err conftest.i conftest.$ac_ext
14762
14763  # OK, works on sane cases.  Now check whether nonexistent headers
14764  # can be detected and how.
14765  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14766/* end confdefs.h.  */
14767#include <ac_nonexistent.h>
14768_ACEOF
14769if ac_fn_cxx_try_cpp "$LINENO"
14770then :
14771  # Broken: success on invalid input.
14772continue
14773else $as_nop
14774  # Passes both tests.
14775ac_preproc_ok=:
14776break
14777fi
14778rm -f conftest.err conftest.i conftest.$ac_ext
14779
14780done
14781# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14782rm -f conftest.i conftest.err conftest.$ac_ext
14783if $ac_preproc_ok
14784then :
14785
14786else $as_nop
14787  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14788printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
14789as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
14790See \`config.log' for more details" "$LINENO" 5; }
14791fi
14792
14793ac_ext=cpp
14794ac_cpp='$CXXCPP $CPPFLAGS'
14795ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14796ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14797ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14798
14799else
14800  _lt_caught_CXX_error=yes
14801fi
14802
14803ac_ext=cpp
14804ac_cpp='$CXXCPP $CPPFLAGS'
14805ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14806ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14807ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14808
14809archive_cmds_need_lc_CXX=no
14810allow_undefined_flag_CXX=
14811always_export_symbols_CXX=no
14812archive_expsym_cmds_CXX=
14813compiler_needs_object_CXX=no
14814export_dynamic_flag_spec_CXX=
14815hardcode_direct_CXX=no
14816hardcode_direct_absolute_CXX=no
14817hardcode_libdir_flag_spec_CXX=
14818hardcode_libdir_separator_CXX=
14819hardcode_minus_L_CXX=no
14820hardcode_shlibpath_var_CXX=unsupported
14821hardcode_automatic_CXX=no
14822inherit_rpath_CXX=no
14823module_cmds_CXX=
14824module_expsym_cmds_CXX=
14825link_all_deplibs_CXX=unknown
14826old_archive_cmds_CXX=$old_archive_cmds
14827reload_flag_CXX=$reload_flag
14828reload_cmds_CXX=$reload_cmds
14829no_undefined_flag_CXX=
14830whole_archive_flag_spec_CXX=
14831enable_shared_with_static_runtimes_CXX=no
14832
14833# Source file extension for C++ test sources.
14834ac_ext=cpp
14835
14836# Object file extension for compiled C++ test sources.
14837objext=o
14838objext_CXX=$objext
14839
14840# No sense in running all these tests if we already determined that
14841# the CXX compiler isn't working.  Some variables (like enable_shared)
14842# are currently assumed to apply to all compilers on this platform,
14843# and will be corrupted by setting them based on a non-working compiler.
14844if test yes != "$_lt_caught_CXX_error"; then
14845  # Code to be used in simple compile tests
14846  lt_simple_compile_test_code="int some_variable = 0;"
14847
14848  # Code to be used in simple link tests
14849  lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
14850
14851  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14852
14853
14854
14855
14856
14857
14858# If no C compiler was specified, use CC.
14859LTCC=${LTCC-"$CC"}
14860
14861# If no C compiler flags were specified, use CFLAGS.
14862LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14863
14864# Allow CC to be a program name with arguments.
14865compiler=$CC
14866
14867
14868  # save warnings/boilerplate of simple test code
14869  ac_outfile=conftest.$ac_objext
14870echo "$lt_simple_compile_test_code" >conftest.$ac_ext
14871eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14872_lt_compiler_boilerplate=`cat conftest.err`
14873$RM conftest*
14874
14875  ac_outfile=conftest.$ac_objext
14876echo "$lt_simple_link_test_code" >conftest.$ac_ext
14877eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14878_lt_linker_boilerplate=`cat conftest.err`
14879$RM -r conftest*
14880
14881
14882  # Allow CC to be a program name with arguments.
14883  lt_save_CC=$CC
14884  lt_save_CFLAGS=$CFLAGS
14885  lt_save_LD=$LD
14886  lt_save_GCC=$GCC
14887  GCC=$GXX
14888  lt_save_with_gnu_ld=$with_gnu_ld
14889  lt_save_path_LD=$lt_cv_path_LD
14890  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
14891    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
14892  else
14893    $as_unset lt_cv_prog_gnu_ld
14894  fi
14895  if test -n "${lt_cv_path_LDCXX+set}"; then
14896    lt_cv_path_LD=$lt_cv_path_LDCXX
14897  else
14898    $as_unset lt_cv_path_LD
14899  fi
14900  test -z "${LDCXX+set}" || LD=$LDCXX
14901  CC=${CXX-"c++"}
14902  CFLAGS=$CXXFLAGS
14903  compiler=$CC
14904  compiler_CXX=$CC
14905  func_cc_basename $compiler
14906cc_basename=$func_cc_basename_result
14907
14908
14909  if test -n "$compiler"; then
14910    # We don't want -fno-exception when compiling C++ code, so set the
14911    # no_builtin_flag separately
14912    if test yes = "$GXX"; then
14913      lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
14914    else
14915      lt_prog_compiler_no_builtin_flag_CXX=
14916    fi
14917
14918    if test yes = "$GXX"; then
14919      # Set up default GNU C++ configuration
14920
14921
14922
14923# Check whether --with-gnu-ld was given.
14924if test ${with_gnu_ld+y}
14925then :
14926  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
14927else $as_nop
14928  with_gnu_ld=no
14929fi
14930
14931ac_prog=ld
14932if test yes = "$GCC"; then
14933  # Check if gcc -print-prog-name=ld gives a path.
14934  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
14935printf %s "checking for ld used by $CC... " >&6; }
14936  case $host in
14937  *-*-mingw*)
14938    # gcc leaves a trailing carriage return, which upsets mingw
14939    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14940  *)
14941    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
14942  esac
14943  case $ac_prog in
14944    # Accept absolute paths.
14945    [\\/]* | ?:[\\/]*)
14946      re_direlt='/[^/][^/]*/\.\./'
14947      # Canonicalize the pathname of ld
14948      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
14949      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
14950	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
14951      done
14952      test -z "$LD" && LD=$ac_prog
14953      ;;
14954  "")
14955    # If it fails, then pretend we aren't using GCC.
14956    ac_prog=ld
14957    ;;
14958  *)
14959    # If it is relative, then search for the first ld in PATH.
14960    with_gnu_ld=unknown
14961    ;;
14962  esac
14963elif test yes = "$with_gnu_ld"; then
14964  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14965printf %s "checking for GNU ld... " >&6; }
14966else
14967  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14968printf %s "checking for non-GNU ld... " >&6; }
14969fi
14970if test ${lt_cv_path_LD+y}
14971then :
14972  printf %s "(cached) " >&6
14973else $as_nop
14974  if test -z "$LD"; then
14975  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
14976  for ac_dir in $PATH; do
14977    IFS=$lt_save_ifs
14978    test -z "$ac_dir" && ac_dir=.
14979    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14980      lt_cv_path_LD=$ac_dir/$ac_prog
14981      # Check to see if the program is GNU ld.  I'd rather use --version,
14982      # but apparently some variants of GNU ld only accept -v.
14983      # Break only if it was the GNU/non-GNU ld that we prefer.
14984      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
14985      *GNU* | *'with BFD'*)
14986	test no != "$with_gnu_ld" && break
14987	;;
14988      *)
14989	test yes != "$with_gnu_ld" && break
14990	;;
14991      esac
14992    fi
14993  done
14994  IFS=$lt_save_ifs
14995else
14996  lt_cv_path_LD=$LD # Let the user override the test with a path.
14997fi
14998fi
14999
15000LD=$lt_cv_path_LD
15001if test -n "$LD"; then
15002  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
15003printf "%s\n" "$LD" >&6; }
15004else
15005  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15006printf "%s\n" "no" >&6; }
15007fi
15008test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
15009{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
15010printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
15011if test ${lt_cv_prog_gnu_ld+y}
15012then :
15013  printf %s "(cached) " >&6
15014else $as_nop
15015  # I'd rather use --version here, but apparently some GNU lds only accept -v.
15016case `$LD -v 2>&1 </dev/null` in
15017*GNU* | *'with BFD'*)
15018  lt_cv_prog_gnu_ld=yes
15019  ;;
15020*)
15021  lt_cv_prog_gnu_ld=no
15022  ;;
15023esac
15024fi
15025{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
15026printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
15027with_gnu_ld=$lt_cv_prog_gnu_ld
15028
15029
15030
15031
15032
15033
15034
15035      # Check if GNU C++ uses GNU ld as the underlying linker, since the
15036      # archiving commands below assume that GNU ld is being used.
15037      if test yes = "$with_gnu_ld"; then
15038        archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15039        archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
15040
15041        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
15042        export_dynamic_flag_spec_CXX='$wl--export-dynamic'
15043
15044        # If archive_cmds runs LD, not CC, wlarc should be empty
15045        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
15046        #     investigate it a little bit more. (MM)
15047        wlarc='$wl'
15048
15049        # ancient GNU ld didn't support --whole-archive et. al.
15050        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
15051	  $GREP 'no-whole-archive' > /dev/null; then
15052          whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
15053        else
15054          whole_archive_flag_spec_CXX=
15055        fi
15056      else
15057        with_gnu_ld=no
15058        wlarc=
15059
15060        # A generic and very simple default shared library creation
15061        # command for GNU C++ for the case where it uses the native
15062        # linker, instead of GNU ld.  If possible, this setting should
15063        # overridden to take advantage of the native linker features on
15064        # the platform it is being used on.
15065        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15066      fi
15067
15068      # Commands to make compiler produce verbose output that lists
15069      # what "hidden" libraries, object files and flags are used when
15070      # linking a shared library.
15071      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15072
15073    else
15074      GXX=no
15075      with_gnu_ld=no
15076      wlarc=
15077    fi
15078
15079    # PORTME: fill in a description of your system's C++ link characteristics
15080    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15081printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15082    ld_shlibs_CXX=yes
15083    case $host_os in
15084      aix3*)
15085        # FIXME: insert proper C++ library support
15086        ld_shlibs_CXX=no
15087        ;;
15088      aix[4-9]*)
15089        if test ia64 = "$host_cpu"; then
15090          # On IA64, the linker does run time linking by default, so we don't
15091          # have to do anything special.
15092          aix_use_runtimelinking=no
15093          exp_sym_flag='-Bexport'
15094          no_entry_flag=
15095        else
15096          aix_use_runtimelinking=no
15097
15098          # Test if we are trying to use run time linking or normal
15099          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15100          # have runtime linking enabled, and use it for executables.
15101          # For shared libraries, we enable/disable runtime linking
15102          # depending on the kind of the shared library created -
15103          # when "with_aix_soname,aix_use_runtimelinking" is:
15104          # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
15105          # "aix,yes"  lib.so          shared, rtl:yes, for executables
15106          #            lib.a           static archive
15107          # "both,no"  lib.so.V(shr.o) shared, rtl:yes
15108          #            lib.a(lib.so.V) shared, rtl:no,  for executables
15109          # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
15110          #            lib.a(lib.so.V) shared, rtl:no
15111          # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
15112          #            lib.a           static archive
15113          case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
15114	    for ld_flag in $LDFLAGS; do
15115	      case $ld_flag in
15116	      *-brtl*)
15117	        aix_use_runtimelinking=yes
15118	        break
15119	        ;;
15120	      esac
15121	    done
15122	    if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
15123	      # With aix-soname=svr4, we create the lib.so.V shared archives only,
15124	      # so we don't have lib.a shared libs to link our executables.
15125	      # We have to force runtime linking in this case.
15126	      aix_use_runtimelinking=yes
15127	      LDFLAGS="$LDFLAGS -Wl,-brtl"
15128	    fi
15129	    ;;
15130          esac
15131
15132          exp_sym_flag='-bexport'
15133          no_entry_flag='-bnoentry'
15134        fi
15135
15136        # When large executables or shared objects are built, AIX ld can
15137        # have problems creating the table of contents.  If linking a library
15138        # or program results in "error TOC overflow" add -mminimal-toc to
15139        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
15140        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15141
15142        archive_cmds_CXX=''
15143        hardcode_direct_CXX=yes
15144        hardcode_direct_absolute_CXX=yes
15145        hardcode_libdir_separator_CXX=':'
15146        link_all_deplibs_CXX=yes
15147        file_list_spec_CXX='$wl-f,'
15148        case $with_aix_soname,$aix_use_runtimelinking in
15149        aix,*) ;;	# no import file
15150        svr4,* | *,yes) # use import file
15151          # The Import File defines what to hardcode.
15152          hardcode_direct_CXX=no
15153          hardcode_direct_absolute_CXX=no
15154          ;;
15155        esac
15156
15157        if test yes = "$GXX"; then
15158          case $host_os in aix4.[012]|aix4.[012].*)
15159          # We only want to do this on AIX 4.2 and lower, the check
15160          # below for broken collect2 doesn't work under 4.3+
15161	  collect2name=`$CC -print-prog-name=collect2`
15162	  if test -f "$collect2name" &&
15163	     strings "$collect2name" | $GREP resolve_lib_name >/dev/null
15164	  then
15165	    # We have reworked collect2
15166	    :
15167	  else
15168	    # We have old collect2
15169	    hardcode_direct_CXX=unsupported
15170	    # It fails to find uninstalled libraries when the uninstalled
15171	    # path is not listed in the libpath.  Setting hardcode_minus_L
15172	    # to unsupported forces relinking
15173	    hardcode_minus_L_CXX=yes
15174	    hardcode_libdir_flag_spec_CXX='-L$libdir'
15175	    hardcode_libdir_separator_CXX=
15176	  fi
15177          esac
15178          shared_flag='-shared'
15179	  if test yes = "$aix_use_runtimelinking"; then
15180	    shared_flag=$shared_flag' $wl-G'
15181	  fi
15182	  # Need to ensure runtime linking is disabled for the traditional
15183	  # shared library, or the linker may eventually find shared libraries
15184	  # /with/ Import File - we do not want to mix them.
15185	  shared_flag_aix='-shared'
15186	  shared_flag_svr4='-shared $wl-G'
15187        else
15188          # not using gcc
15189          if test ia64 = "$host_cpu"; then
15190	  # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15191	  # chokes on -Wl,-G. The following line is correct:
15192	  shared_flag='-G'
15193          else
15194	    if test yes = "$aix_use_runtimelinking"; then
15195	      shared_flag='$wl-G'
15196	    else
15197	      shared_flag='$wl-bM:SRE'
15198	    fi
15199	    shared_flag_aix='$wl-bM:SRE'
15200	    shared_flag_svr4='$wl-G'
15201          fi
15202        fi
15203
15204        export_dynamic_flag_spec_CXX='$wl-bexpall'
15205        # It seems that -bexpall does not export symbols beginning with
15206        # underscore (_), so it is better to generate a list of symbols to
15207	# export.
15208        always_export_symbols_CXX=yes
15209	if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
15210          # Warning - without using the other runtime loading flags (-brtl),
15211          # -berok will link without error, but may produce a broken library.
15212          # The "-G" linker flag allows undefined symbols.
15213          no_undefined_flag_CXX='-bernotok'
15214          # Determine the default libpath from the value encoded in an empty
15215          # executable.
15216          if test set = "${lt_cv_aix_libpath+set}"; then
15217  aix_libpath=$lt_cv_aix_libpath
15218else
15219  if test ${lt_cv_aix_libpath__CXX+y}
15220then :
15221  printf %s "(cached) " >&6
15222else $as_nop
15223  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15224/* end confdefs.h.  */
15225
15226int
15227main (void)
15228{
15229
15230  ;
15231  return 0;
15232}
15233_ACEOF
15234if ac_fn_cxx_try_link "$LINENO"
15235then :
15236
15237  lt_aix_libpath_sed='
15238      /Import File Strings/,/^$/ {
15239	  /^0/ {
15240	      s/^0  *\([^ ]*\) *$/\1/
15241	      p
15242	  }
15243      }'
15244  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15245  # Check for a 64-bit object if we didn't find anything.
15246  if test -z "$lt_cv_aix_libpath__CXX"; then
15247    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15248  fi
15249fi
15250rm -f core conftest.err conftest.$ac_objext conftest.beam \
15251    conftest$ac_exeext conftest.$ac_ext
15252  if test -z "$lt_cv_aix_libpath__CXX"; then
15253    lt_cv_aix_libpath__CXX=/usr/lib:/lib
15254  fi
15255
15256fi
15257
15258  aix_libpath=$lt_cv_aix_libpath__CXX
15259fi
15260
15261          hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
15262
15263          archive_expsym_cmds_CXX='$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
15264        else
15265          if test ia64 = "$host_cpu"; then
15266	    hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
15267	    allow_undefined_flag_CXX="-z nodefs"
15268	    archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols"
15269          else
15270	    # Determine the default libpath from the value encoded in an
15271	    # empty executable.
15272	    if test set = "${lt_cv_aix_libpath+set}"; then
15273  aix_libpath=$lt_cv_aix_libpath
15274else
15275  if test ${lt_cv_aix_libpath__CXX+y}
15276then :
15277  printf %s "(cached) " >&6
15278else $as_nop
15279  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15280/* end confdefs.h.  */
15281
15282int
15283main (void)
15284{
15285
15286  ;
15287  return 0;
15288}
15289_ACEOF
15290if ac_fn_cxx_try_link "$LINENO"
15291then :
15292
15293  lt_aix_libpath_sed='
15294      /Import File Strings/,/^$/ {
15295	  /^0/ {
15296	      s/^0  *\([^ ]*\) *$/\1/
15297	      p
15298	  }
15299      }'
15300  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15301  # Check for a 64-bit object if we didn't find anything.
15302  if test -z "$lt_cv_aix_libpath__CXX"; then
15303    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15304  fi
15305fi
15306rm -f core conftest.err conftest.$ac_objext conftest.beam \
15307    conftest$ac_exeext conftest.$ac_ext
15308  if test -z "$lt_cv_aix_libpath__CXX"; then
15309    lt_cv_aix_libpath__CXX=/usr/lib:/lib
15310  fi
15311
15312fi
15313
15314  aix_libpath=$lt_cv_aix_libpath__CXX
15315fi
15316
15317	    hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
15318	    # Warning - without using the other run time loading flags,
15319	    # -berok will link without error, but may produce a broken library.
15320	    no_undefined_flag_CXX=' $wl-bernotok'
15321	    allow_undefined_flag_CXX=' $wl-berok'
15322	    if test yes = "$with_gnu_ld"; then
15323	      # We only use this code for GNU lds that support --whole-archive.
15324	      whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
15325	    else
15326	      # Exported symbols can be pulled into shared objects from archives
15327	      whole_archive_flag_spec_CXX='$convenience'
15328	    fi
15329	    archive_cmds_need_lc_CXX=yes
15330	    archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
15331	    # -brtl affects multiple linker settings, -berok does not and is overridden later
15332	    compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
15333	    if test svr4 != "$with_aix_soname"; then
15334	      # This is similar to how AIX traditionally builds its shared
15335	      # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
15336	      archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$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'
15337	    fi
15338	    if test aix != "$with_aix_soname"; then
15339	      archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$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'
15340	    else
15341	      # used by -dlpreopen to get the symbols
15342	      archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
15343	    fi
15344	    archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
15345          fi
15346        fi
15347        ;;
15348
15349      beos*)
15350	if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
15351	  allow_undefined_flag_CXX=unsupported
15352	  # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15353	  # support --undefined.  This deserves some investigation.  FIXME
15354	  archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15355	else
15356	  ld_shlibs_CXX=no
15357	fi
15358	;;
15359
15360      chorus*)
15361        case $cc_basename in
15362          *)
15363	  # FIXME: insert proper C++ library support
15364	  ld_shlibs_CXX=no
15365	  ;;
15366        esac
15367        ;;
15368
15369      cygwin* | mingw* | pw32* | cegcc*)
15370	case $GXX,$cc_basename in
15371	,cl* | no,cl*)
15372	  # Native MSVC
15373	  # hardcode_libdir_flag_spec is actually meaningless, as there is
15374	  # no search path for DLLs.
15375	  hardcode_libdir_flag_spec_CXX=' '
15376	  allow_undefined_flag_CXX=unsupported
15377	  always_export_symbols_CXX=yes
15378	  file_list_spec_CXX='@'
15379	  # Tell ltmain to make .lib files, not .a files.
15380	  libext=lib
15381	  # Tell ltmain to make .dll files, not .so files.
15382	  shrext_cmds=.dll
15383	  # FIXME: Setting linknames here is a bad hack.
15384	  archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
15385	  archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
15386              cp "$export_symbols" "$output_objdir/$soname.def";
15387              echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
15388            else
15389              $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
15390            fi~
15391            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
15392            linknames='
15393	  # The linker will not automatically build a static lib if we build a DLL.
15394	  # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
15395	  enable_shared_with_static_runtimes_CXX=yes
15396	  # Don't use ranlib
15397	  old_postinstall_cmds_CXX='chmod 644 $oldlib'
15398	  postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
15399            lt_tool_outputfile="@TOOL_OUTPUT@"~
15400            case $lt_outputfile in
15401              *.exe|*.EXE) ;;
15402              *)
15403                lt_outputfile=$lt_outputfile.exe
15404                lt_tool_outputfile=$lt_tool_outputfile.exe
15405                ;;
15406            esac~
15407            func_to_tool_file "$lt_outputfile"~
15408            if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
15409              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
15410              $RM "$lt_outputfile.manifest";
15411            fi'
15412	  ;;
15413	*)
15414	  # g++
15415	  # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
15416	  # as there is no search path for DLLs.
15417	  hardcode_libdir_flag_spec_CXX='-L$libdir'
15418	  export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
15419	  allow_undefined_flag_CXX=unsupported
15420	  always_export_symbols_CXX=no
15421	  enable_shared_with_static_runtimes_CXX=yes
15422
15423	  if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
15424	    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15425	    # If the export-symbols file already is a .def file, use it as
15426	    # is; otherwise, prepend EXPORTS...
15427	    archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
15428              cp $export_symbols $output_objdir/$soname.def;
15429            else
15430              echo EXPORTS > $output_objdir/$soname.def;
15431              cat $export_symbols >> $output_objdir/$soname.def;
15432            fi~
15433            $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15434	  else
15435	    ld_shlibs_CXX=no
15436	  fi
15437	  ;;
15438	esac
15439	;;
15440      darwin* | rhapsody*)
15441
15442
15443  archive_cmds_need_lc_CXX=no
15444  hardcode_direct_CXX=no
15445  hardcode_automatic_CXX=yes
15446  hardcode_shlibpath_var_CXX=unsupported
15447  if test yes = "$lt_cv_ld_force_load"; then
15448    whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
15449
15450  else
15451    whole_archive_flag_spec_CXX=''
15452  fi
15453  link_all_deplibs_CXX=yes
15454  allow_undefined_flag_CXX=$_lt_dar_allow_undefined
15455  case $cc_basename in
15456     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
15457     *) _lt_dar_can_shared=$GCC ;;
15458  esac
15459  if test yes = "$_lt_dar_can_shared"; then
15460    output_verbose_link_cmd=func_echo_all
15461    archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
15462    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
15463    archive_expsym_cmds_CXX="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
15464    module_expsym_cmds_CXX="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
15465       if test yes != "$lt_cv_apple_cc_single_mod"; then
15466      archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dsymutil"
15467      archive_expsym_cmds_CXX="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil"
15468    fi
15469
15470  else
15471  ld_shlibs_CXX=no
15472  fi
15473
15474	;;
15475
15476      os2*)
15477	hardcode_libdir_flag_spec_CXX='-L$libdir'
15478	hardcode_minus_L_CXX=yes
15479	allow_undefined_flag_CXX=unsupported
15480	shrext_cmds=.dll
15481	archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
15482	  $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
15483	  $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
15484	  $ECHO EXPORTS >> $output_objdir/$libname.def~
15485	  emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
15486	  $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
15487	  emximp -o $lib $output_objdir/$libname.def'
15488	archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
15489	  $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
15490	  $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
15491	  $ECHO EXPORTS >> $output_objdir/$libname.def~
15492	  prefix_cmds="$SED"~
15493	  if test EXPORTS = "`$SED 1q $export_symbols`"; then
15494	    prefix_cmds="$prefix_cmds -e 1d";
15495	  fi~
15496	  prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
15497	  cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
15498	  $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
15499	  emximp -o $lib $output_objdir/$libname.def'
15500	old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
15501	enable_shared_with_static_runtimes_CXX=yes
15502	;;
15503
15504      dgux*)
15505        case $cc_basename in
15506          ec++*)
15507	    # FIXME: insert proper C++ library support
15508	    ld_shlibs_CXX=no
15509	    ;;
15510          ghcx*)
15511	    # Green Hills C++ Compiler
15512	    # FIXME: insert proper C++ library support
15513	    ld_shlibs_CXX=no
15514	    ;;
15515          *)
15516	    # FIXME: insert proper C++ library support
15517	    ld_shlibs_CXX=no
15518	    ;;
15519        esac
15520        ;;
15521
15522      freebsd2.*)
15523        # C++ shared libraries reported to be fairly broken before
15524	# switch to ELF
15525        ld_shlibs_CXX=no
15526        ;;
15527
15528      freebsd-elf*)
15529        archive_cmds_need_lc_CXX=no
15530        ;;
15531
15532      freebsd* | dragonfly*)
15533        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
15534        # conventions
15535        ld_shlibs_CXX=yes
15536        ;;
15537
15538      haiku*)
15539        archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15540        link_all_deplibs_CXX=yes
15541        ;;
15542
15543      hpux9*)
15544        hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
15545        hardcode_libdir_separator_CXX=:
15546        export_dynamic_flag_spec_CXX='$wl-E'
15547        hardcode_direct_CXX=yes
15548        hardcode_minus_L_CXX=yes # Not in the search PATH,
15549				             # but as the default
15550				             # location of the library.
15551
15552        case $cc_basename in
15553          CC*)
15554            # FIXME: insert proper C++ library support
15555            ld_shlibs_CXX=no
15556            ;;
15557          aCC*)
15558            archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
15559            # Commands to make compiler produce verbose output that lists
15560            # what "hidden" libraries, object files and flags are used when
15561            # linking a shared library.
15562            #
15563            # There doesn't appear to be a way to prevent this compiler from
15564            # explicitly linking system object files so we need to strip them
15565            # from the output so that they don't get included in the library
15566            # dependencies.
15567            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
15568            ;;
15569          *)
15570            if test yes = "$GXX"; then
15571              archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
15572            else
15573              # FIXME: insert proper C++ library support
15574              ld_shlibs_CXX=no
15575            fi
15576            ;;
15577        esac
15578        ;;
15579
15580      hpux10*|hpux11*)
15581        if test no = "$with_gnu_ld"; then
15582	  hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
15583	  hardcode_libdir_separator_CXX=:
15584
15585          case $host_cpu in
15586            hppa*64*|ia64*)
15587              ;;
15588            *)
15589	      export_dynamic_flag_spec_CXX='$wl-E'
15590              ;;
15591          esac
15592        fi
15593        case $host_cpu in
15594          hppa*64*|ia64*)
15595            hardcode_direct_CXX=no
15596            hardcode_shlibpath_var_CXX=no
15597            ;;
15598          *)
15599            hardcode_direct_CXX=yes
15600            hardcode_direct_absolute_CXX=yes
15601            hardcode_minus_L_CXX=yes # Not in the search PATH,
15602					         # but as the default
15603					         # location of the library.
15604            ;;
15605        esac
15606
15607        case $cc_basename in
15608          CC*)
15609	    # FIXME: insert proper C++ library support
15610	    ld_shlibs_CXX=no
15611	    ;;
15612          aCC*)
15613	    case $host_cpu in
15614	      hppa*64*)
15615	        archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15616	        ;;
15617	      ia64*)
15618	        archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15619	        ;;
15620	      *)
15621	        archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15622	        ;;
15623	    esac
15624	    # Commands to make compiler produce verbose output that lists
15625	    # what "hidden" libraries, object files and flags are used when
15626	    # linking a shared library.
15627	    #
15628	    # There doesn't appear to be a way to prevent this compiler from
15629	    # explicitly linking system object files so we need to strip them
15630	    # from the output so that they don't get included in the library
15631	    # dependencies.
15632	    output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
15633	    ;;
15634          *)
15635	    if test yes = "$GXX"; then
15636	      if test no = "$with_gnu_ld"; then
15637	        case $host_cpu in
15638	          hppa*64*)
15639	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15640	            ;;
15641	          ia64*)
15642	            archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15643	            ;;
15644	          *)
15645	            archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15646	            ;;
15647	        esac
15648	      fi
15649	    else
15650	      # FIXME: insert proper C++ library support
15651	      ld_shlibs_CXX=no
15652	    fi
15653	    ;;
15654        esac
15655        ;;
15656
15657      interix[3-9]*)
15658	hardcode_direct_CXX=no
15659	hardcode_shlibpath_var_CXX=no
15660	hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
15661	export_dynamic_flag_spec_CXX='$wl-E'
15662	# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15663	# Instead, shared libraries are loaded at an image base (0x10000000 by
15664	# default) and relocated if they conflict, which is a slow very memory
15665	# consuming and fragmenting process.  To avoid this, we pick a random,
15666	# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15667	# time.  Moving up from 0x10000000 also allows more sbrk(2) space.
15668	archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
15669	archive_expsym_cmds_CXX='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
15670	;;
15671      irix5* | irix6*)
15672        case $cc_basename in
15673          CC*)
15674	    # SGI C++
15675	    archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
15676
15677	    # Archives containing C++ object files must be created using
15678	    # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
15679	    # necessary to make sure instantiated templates are included
15680	    # in the archive.
15681	    old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
15682	    ;;
15683          *)
15684	    if test yes = "$GXX"; then
15685	      if test no = "$with_gnu_ld"; then
15686	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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'
15687	      else
15688	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` -o $lib'
15689	      fi
15690	    fi
15691	    link_all_deplibs_CXX=yes
15692	    ;;
15693        esac
15694        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
15695        hardcode_libdir_separator_CXX=:
15696        inherit_rpath_CXX=yes
15697        ;;
15698
15699      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15700        case $cc_basename in
15701          KCC*)
15702	    # Kuck and Associates, Inc. (KAI) C++ Compiler
15703
15704	    # KCC will only create a shared library if the output file
15705	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
15706	    # to its proper name (with version) after linking.
15707	    archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
15708	    archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib $wl-retain-symbols-file,$export_symbols; mv \$templib $lib'
15709	    # Commands to make compiler produce verbose output that lists
15710	    # what "hidden" libraries, object files and flags are used when
15711	    # linking a shared library.
15712	    #
15713	    # There doesn't appear to be a way to prevent this compiler from
15714	    # explicitly linking system object files so we need to strip them
15715	    # from the output so that they don't get included in the library
15716	    # dependencies.
15717	    output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
15718
15719	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
15720	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
15721
15722	    # Archives containing C++ object files must be created using
15723	    # "CC -Bstatic", where "CC" is the KAI C++ compiler.
15724	    old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
15725	    ;;
15726	  icpc* | ecpc* )
15727	    # Intel C++
15728	    with_gnu_ld=yes
15729	    # version 8.0 and above of icpc choke on multiply defined symbols
15730	    # if we add $predep_objects and $postdep_objects, however 7.1 and
15731	    # earlier do not add the objects themselves.
15732	    case `$CC -V 2>&1` in
15733	      *"Version 7."*)
15734	        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15735		archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
15736		;;
15737	      *)  # Version 8.0 or newer
15738	        tmp_idyn=
15739	        case $host_cpu in
15740		  ia64*) tmp_idyn=' -i_dynamic';;
15741		esac
15742	        archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15743		archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
15744		;;
15745	    esac
15746	    archive_cmds_need_lc_CXX=no
15747	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
15748	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
15749	    whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
15750	    ;;
15751          pgCC* | pgcpp*)
15752            # Portland Group C++ compiler
15753	    case `$CC -V` in
15754	    *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
15755	      prelink_cmds_CXX='tpldir=Template.dir~
15756               rm -rf $tpldir~
15757               $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
15758               compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
15759	      old_archive_cmds_CXX='tpldir=Template.dir~
15760                rm -rf $tpldir~
15761                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
15762                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
15763                $RANLIB $oldlib'
15764	      archive_cmds_CXX='tpldir=Template.dir~
15765                rm -rf $tpldir~
15766                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15767                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15768	      archive_expsym_cmds_CXX='tpldir=Template.dir~
15769                rm -rf $tpldir~
15770                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15771                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
15772	      ;;
15773	    *) # Version 6 and above use weak symbols
15774	      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15775	      archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
15776	      ;;
15777	    esac
15778
15779	    hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
15780	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
15781	    whole_archive_flag_spec_CXX='$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'
15782            ;;
15783	  cxx*)
15784	    # Compaq C++
15785	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15786	    archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname  -o $lib $wl-retain-symbols-file $wl$export_symbols'
15787
15788	    runpath_var=LD_RUN_PATH
15789	    hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15790	    hardcode_libdir_separator_CXX=:
15791
15792	    # Commands to make compiler produce verbose output that lists
15793	    # what "hidden" libraries, object files and flags are used when
15794	    # linking a shared library.
15795	    #
15796	    # There doesn't appear to be a way to prevent this compiler from
15797	    # explicitly linking system object files so we need to strip them
15798	    # from the output so that they don't get included in the library
15799	    # dependencies.
15800	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
15801	    ;;
15802	  xl* | mpixl* | bgxl*)
15803	    # IBM XL 8.0 on PPC, with GNU ld
15804	    hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
15805	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
15806	    archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15807	    if test yes = "$supports_anon_versioning"; then
15808	      archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
15809                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15810                echo "local: *; };" >> $output_objdir/$libname.ver~
15811                $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
15812	    fi
15813	    ;;
15814	  *)
15815	    case `$CC -V 2>&1 | sed 5q` in
15816	    *Sun\ C*)
15817	      # Sun C++ 5.9
15818	      no_undefined_flag_CXX=' -zdefs'
15819	      archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15820	      archive_expsym_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file $wl$export_symbols'
15821	      hardcode_libdir_flag_spec_CXX='-R$libdir'
15822	      whole_archive_flag_spec_CXX='$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'
15823	      compiler_needs_object_CXX=yes
15824
15825	      # Not sure whether something based on
15826	      # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
15827	      # would be better.
15828	      output_verbose_link_cmd='func_echo_all'
15829
15830	      # Archives containing C++ object files must be created using
15831	      # "CC -xar", where "CC" is the Sun C++ compiler.  This is
15832	      # necessary to make sure instantiated templates are included
15833	      # in the archive.
15834	      old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15835	      ;;
15836	    esac
15837	    ;;
15838	esac
15839	;;
15840
15841      lynxos*)
15842        # FIXME: insert proper C++ library support
15843	ld_shlibs_CXX=no
15844	;;
15845
15846      m88k*)
15847        # FIXME: insert proper C++ library support
15848        ld_shlibs_CXX=no
15849	;;
15850
15851      mvs*)
15852        case $cc_basename in
15853          cxx*)
15854	    # FIXME: insert proper C++ library support
15855	    ld_shlibs_CXX=no
15856	    ;;
15857	  *)
15858	    # FIXME: insert proper C++ library support
15859	    ld_shlibs_CXX=no
15860	    ;;
15861	esac
15862	;;
15863
15864      netbsd*)
15865        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15866	  archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
15867	  wlarc=
15868	  hardcode_libdir_flag_spec_CXX='-R$libdir'
15869	  hardcode_direct_CXX=yes
15870	  hardcode_shlibpath_var_CXX=no
15871	fi
15872	# Workaround some broken pre-1.5 toolchains
15873	output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
15874	;;
15875
15876      *nto* | *qnx*)
15877        ld_shlibs_CXX=yes
15878	;;
15879
15880      openbsd* | bitrig*)
15881	if test -f /usr/libexec/ld.so; then
15882	  hardcode_direct_CXX=yes
15883	  hardcode_shlibpath_var_CXX=no
15884	  hardcode_direct_absolute_CXX=yes
15885	  archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15886	  hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
15887	  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
15888	    archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
15889	    export_dynamic_flag_spec_CXX='$wl-E'
15890	    whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
15891	  fi
15892	  output_verbose_link_cmd=func_echo_all
15893	else
15894	  ld_shlibs_CXX=no
15895	fi
15896	;;
15897
15898      osf3* | osf4* | osf5*)
15899        case $cc_basename in
15900          KCC*)
15901	    # Kuck and Associates, Inc. (KAI) C++ Compiler
15902
15903	    # KCC will only create a shared library if the output file
15904	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
15905	    # to its proper name (with version) after linking.
15906	    archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
15907
15908	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
15909	    hardcode_libdir_separator_CXX=:
15910
15911	    # Archives containing C++ object files must be created using
15912	    # the KAI C++ compiler.
15913	    case $host in
15914	      osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
15915	      *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
15916	    esac
15917	    ;;
15918          RCC*)
15919	    # Rational C++ 2.4.1
15920	    # FIXME: insert proper C++ library support
15921	    ld_shlibs_CXX=no
15922	    ;;
15923          cxx*)
15924	    case $host in
15925	      osf3*)
15926	        allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
15927	        archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $soname `test -n "$verstring" && func_echo_all "$wl-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
15928	        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
15929		;;
15930	      *)
15931	        allow_undefined_flag_CXX=' -expect_unresolved \*'
15932	        archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
15933	        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
15934                  echo "-hidden">> $lib.exp~
15935                  $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname $wl-input $wl$lib.exp  `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~
15936                  $RM $lib.exp'
15937	        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15938		;;
15939	    esac
15940
15941	    hardcode_libdir_separator_CXX=:
15942
15943	    # Commands to make compiler produce verbose output that lists
15944	    # what "hidden" libraries, object files and flags are used when
15945	    # linking a shared library.
15946	    #
15947	    # There doesn't appear to be a way to prevent this compiler from
15948	    # explicitly linking system object files so we need to strip them
15949	    # from the output so that they don't get included in the library
15950	    # dependencies.
15951	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
15952	    ;;
15953	  *)
15954	    if test yes,no = "$GXX,$with_gnu_ld"; then
15955	      allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
15956	      case $host in
15957	        osf3*)
15958	          archive_cmds_CXX='$CC -shared -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $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'
15959		  ;;
15960	        *)
15961	          archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $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'
15962		  ;;
15963	      esac
15964
15965	      hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
15966	      hardcode_libdir_separator_CXX=:
15967
15968	      # Commands to make compiler produce verbose output that lists
15969	      # what "hidden" libraries, object files and flags are used when
15970	      # linking a shared library.
15971	      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15972
15973	    else
15974	      # FIXME: insert proper C++ library support
15975	      ld_shlibs_CXX=no
15976	    fi
15977	    ;;
15978        esac
15979        ;;
15980
15981      psos*)
15982        # FIXME: insert proper C++ library support
15983        ld_shlibs_CXX=no
15984        ;;
15985
15986      sunos4*)
15987        case $cc_basename in
15988          CC*)
15989	    # Sun C++ 4.x
15990	    # FIXME: insert proper C++ library support
15991	    ld_shlibs_CXX=no
15992	    ;;
15993          lcc*)
15994	    # Lucid
15995	    # FIXME: insert proper C++ library support
15996	    ld_shlibs_CXX=no
15997	    ;;
15998          *)
15999	    # FIXME: insert proper C++ library support
16000	    ld_shlibs_CXX=no
16001	    ;;
16002        esac
16003        ;;
16004
16005      solaris*)
16006        case $cc_basename in
16007          CC* | sunCC*)
16008	    # Sun C++ 4.2, 5.x and Centerline C++
16009            archive_cmds_need_lc_CXX=yes
16010	    no_undefined_flag_CXX=' -zdefs'
16011	    archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16012	    archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16013              $CC -G$allow_undefined_flag $wl-M $wl$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
16014
16015	    hardcode_libdir_flag_spec_CXX='-R$libdir'
16016	    hardcode_shlibpath_var_CXX=no
16017	    case $host_os in
16018	      solaris2.[0-5] | solaris2.[0-5].*) ;;
16019	      *)
16020		# The compiler driver will combine and reorder linker options,
16021		# but understands '-z linker_flag'.
16022	        # Supported since Solaris 2.6 (maybe 2.5.1?)
16023		whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
16024	        ;;
16025	    esac
16026	    link_all_deplibs_CXX=yes
16027
16028	    output_verbose_link_cmd='func_echo_all'
16029
16030	    # Archives containing C++ object files must be created using
16031	    # "CC -xar", where "CC" is the Sun C++ compiler.  This is
16032	    # necessary to make sure instantiated templates are included
16033	    # in the archive.
16034	    old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
16035	    ;;
16036          gcx*)
16037	    # Green Hills C++ Compiler
16038	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
16039
16040	    # The C++ compiler must be used to create the archive.
16041	    old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
16042	    ;;
16043          *)
16044	    # GNU C++ compiler with Solaris linker
16045	    if test yes,no = "$GXX,$with_gnu_ld"; then
16046	      no_undefined_flag_CXX=' $wl-z ${wl}defs'
16047	      if $CC --version | $GREP -v '^2\.7' > /dev/null; then
16048	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
16049	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16050                  $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
16051
16052	        # Commands to make compiler produce verbose output that lists
16053	        # what "hidden" libraries, object files and flags are used when
16054	        # linking a shared library.
16055	        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16056	      else
16057	        # g++ 2.7 appears to require '-G' NOT '-shared' on this
16058	        # platform.
16059	        archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
16060	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16061                  $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
16062
16063	        # Commands to make compiler produce verbose output that lists
16064	        # what "hidden" libraries, object files and flags are used when
16065	        # linking a shared library.
16066	        output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16067	      fi
16068
16069	      hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
16070	      case $host_os in
16071		solaris2.[0-5] | solaris2.[0-5].*) ;;
16072		*)
16073		  whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
16074		  ;;
16075	      esac
16076	    fi
16077	    ;;
16078        esac
16079        ;;
16080
16081    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
16082      no_undefined_flag_CXX='$wl-z,text'
16083      archive_cmds_need_lc_CXX=no
16084      hardcode_shlibpath_var_CXX=no
16085      runpath_var='LD_RUN_PATH'
16086
16087      case $cc_basename in
16088        CC*)
16089	  archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16090	  archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16091	  ;;
16092	*)
16093	  archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16094	  archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16095	  ;;
16096      esac
16097      ;;
16098
16099      sysv5* | sco3.2v5* | sco5v6*)
16100	# Note: We CANNOT use -z defs as we might desire, because we do not
16101	# link with -lc, and that would cause any symbols used from libc to
16102	# always be unresolved, which means just about no library would
16103	# ever link correctly.  If we're not using GNU ld we use -z text
16104	# though, which does catch some bad symbols but isn't as heavy-handed
16105	# as -z defs.
16106	no_undefined_flag_CXX='$wl-z,text'
16107	allow_undefined_flag_CXX='$wl-z,nodefs'
16108	archive_cmds_need_lc_CXX=no
16109	hardcode_shlibpath_var_CXX=no
16110	hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
16111	hardcode_libdir_separator_CXX=':'
16112	link_all_deplibs_CXX=yes
16113	export_dynamic_flag_spec_CXX='$wl-Bexport'
16114	runpath_var='LD_RUN_PATH'
16115
16116	case $cc_basename in
16117          CC*)
16118	    archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16119	    archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16120	    old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
16121              '"$old_archive_cmds_CXX"
16122	    reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
16123              '"$reload_cmds_CXX"
16124	    ;;
16125	  *)
16126	    archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16127	    archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16128	    ;;
16129	esac
16130      ;;
16131
16132      tandem*)
16133        case $cc_basename in
16134          NCC*)
16135	    # NonStop-UX NCC 3.20
16136	    # FIXME: insert proper C++ library support
16137	    ld_shlibs_CXX=no
16138	    ;;
16139          *)
16140	    # FIXME: insert proper C++ library support
16141	    ld_shlibs_CXX=no
16142	    ;;
16143        esac
16144        ;;
16145
16146      vxworks*)
16147        # FIXME: insert proper C++ library support
16148        ld_shlibs_CXX=no
16149        ;;
16150
16151      *)
16152        # FIXME: insert proper C++ library support
16153        ld_shlibs_CXX=no
16154        ;;
16155    esac
16156
16157    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16158printf "%s\n" "$ld_shlibs_CXX" >&6; }
16159    test no = "$ld_shlibs_CXX" && can_build_shared=no
16160
16161    GCC_CXX=$GXX
16162    LD_CXX=$LD
16163
16164    ## CAVEAT EMPTOR:
16165    ## There is no encapsulation within the following macros, do not change
16166    ## the running order or otherwise move them around unless you know exactly
16167    ## what you are doing...
16168    # Dependencies to place before and after the object being linked:
16169predep_objects_CXX=
16170postdep_objects_CXX=
16171predeps_CXX=
16172postdeps_CXX=
16173compiler_lib_search_path_CXX=
16174
16175cat > conftest.$ac_ext <<_LT_EOF
16176class Foo
16177{
16178public:
16179  Foo (void) { a = 0; }
16180private:
16181  int a;
16182};
16183_LT_EOF
16184
16185
16186_lt_libdeps_save_CFLAGS=$CFLAGS
16187case "$CC $CFLAGS " in #(
16188*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
16189*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
16190*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
16191esac
16192
16193if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16194  (eval $ac_compile) 2>&5
16195  ac_status=$?
16196  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16197  test $ac_status = 0; }; then
16198  # Parse the compiler output and extract the necessary
16199  # objects, libraries and library flags.
16200
16201  # Sentinel used to keep track of whether or not we are before
16202  # the conftest object file.
16203  pre_test_object_deps_done=no
16204
16205  for p in `eval "$output_verbose_link_cmd"`; do
16206    case $prev$p in
16207
16208    -L* | -R* | -l*)
16209       # Some compilers place space between "-{L,R}" and the path.
16210       # Remove the space.
16211       if test x-L = "$p" ||
16212          test x-R = "$p"; then
16213	 prev=$p
16214	 continue
16215       fi
16216
16217       # Expand the sysroot to ease extracting the directories later.
16218       if test -z "$prev"; then
16219         case $p in
16220         -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
16221         -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
16222         -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
16223         esac
16224       fi
16225       case $p in
16226       =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
16227       esac
16228       if test no = "$pre_test_object_deps_done"; then
16229	 case $prev in
16230	 -L | -R)
16231	   # Internal compiler library paths should come after those
16232	   # provided the user.  The postdeps already come after the
16233	   # user supplied libs so there is no need to process them.
16234	   if test -z "$compiler_lib_search_path_CXX"; then
16235	     compiler_lib_search_path_CXX=$prev$p
16236	   else
16237	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
16238	   fi
16239	   ;;
16240	 # The "-l" case would never come before the object being
16241	 # linked, so don't bother handling this case.
16242	 esac
16243       else
16244	 if test -z "$postdeps_CXX"; then
16245	   postdeps_CXX=$prev$p
16246	 else
16247	   postdeps_CXX="${postdeps_CXX} $prev$p"
16248	 fi
16249       fi
16250       prev=
16251       ;;
16252
16253    *.lto.$objext) ;; # Ignore GCC LTO objects
16254    *.$objext)
16255       # This assumes that the test object file only shows up
16256       # once in the compiler output.
16257       if test "$p" = "conftest.$objext"; then
16258	 pre_test_object_deps_done=yes
16259	 continue
16260       fi
16261
16262       if test no = "$pre_test_object_deps_done"; then
16263	 if test -z "$predep_objects_CXX"; then
16264	   predep_objects_CXX=$p
16265	 else
16266	   predep_objects_CXX="$predep_objects_CXX $p"
16267	 fi
16268       else
16269	 if test -z "$postdep_objects_CXX"; then
16270	   postdep_objects_CXX=$p
16271	 else
16272	   postdep_objects_CXX="$postdep_objects_CXX $p"
16273	 fi
16274       fi
16275       ;;
16276
16277    *) ;; # Ignore the rest.
16278
16279    esac
16280  done
16281
16282  # Clean up.
16283  rm -f a.out a.exe
16284else
16285  echo "libtool.m4: error: problem compiling CXX test program"
16286fi
16287
16288$RM -f confest.$objext
16289CFLAGS=$_lt_libdeps_save_CFLAGS
16290
16291# PORTME: override above test on systems where it is broken
16292case $host_os in
16293interix[3-9]*)
16294  # Interix 3.5 installs completely hosed .la files for C++, so rather than
16295  # hack all around it, let's just trust "g++" to DTRT.
16296  predep_objects_CXX=
16297  postdep_objects_CXX=
16298  postdeps_CXX=
16299  ;;
16300esac
16301
16302
16303case " $postdeps_CXX " in
16304*" -lc "*) archive_cmds_need_lc_CXX=no ;;
16305esac
16306 compiler_lib_search_dirs_CXX=
16307if test -n "${compiler_lib_search_path_CXX}"; then
16308 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
16309fi
16310
16311
16312
16313
16314
16315
16316
16317
16318
16319
16320
16321
16322
16323
16324
16325
16326
16327
16328
16329
16330
16331
16332
16333
16334
16335
16336
16337
16338
16339
16340
16341    lt_prog_compiler_wl_CXX=
16342lt_prog_compiler_pic_CXX=
16343lt_prog_compiler_static_CXX=
16344
16345
16346  # C++ specific cases for pic, static, wl, etc.
16347  if test yes = "$GXX"; then
16348    lt_prog_compiler_wl_CXX='-Wl,'
16349    lt_prog_compiler_static_CXX='-static'
16350
16351    case $host_os in
16352    aix*)
16353      # All AIX code is PIC.
16354      if test ia64 = "$host_cpu"; then
16355	# AIX 5 now supports IA64 processor
16356	lt_prog_compiler_static_CXX='-Bstatic'
16357      fi
16358      lt_prog_compiler_pic_CXX='-fPIC'
16359      ;;
16360
16361    amigaos*)
16362      case $host_cpu in
16363      powerpc)
16364            # see comment about AmigaOS4 .so support
16365            lt_prog_compiler_pic_CXX='-fPIC'
16366        ;;
16367      m68k)
16368            # FIXME: we need at least 68020 code to build shared libraries, but
16369            # adding the '-m68020' flag to GCC prevents building anything better,
16370            # like '-m68040'.
16371            lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
16372        ;;
16373      esac
16374      ;;
16375
16376    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16377      # PIC is the default for these OSes.
16378      ;;
16379    mingw* | cygwin* | os2* | pw32* | cegcc*)
16380      # This hack is so that the source file can tell whether it is being
16381      # built for inclusion in a dll (and should export symbols for example).
16382      # Although the cygwin gcc ignores -fPIC, still need this for old-style
16383      # (--disable-auto-import) libraries
16384      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
16385      case $host_os in
16386      os2*)
16387	lt_prog_compiler_static_CXX='$wl-static'
16388	;;
16389      esac
16390      ;;
16391    darwin* | rhapsody*)
16392      # PIC is the default on this platform
16393      # Common symbols not allowed in MH_DYLIB files
16394      lt_prog_compiler_pic_CXX='-fno-common'
16395      ;;
16396    *djgpp*)
16397      # DJGPP does not support shared libraries at all
16398      lt_prog_compiler_pic_CXX=
16399      ;;
16400    haiku*)
16401      # PIC is the default for Haiku.
16402      # The "-static" flag exists, but is broken.
16403      lt_prog_compiler_static_CXX=
16404      ;;
16405    interix[3-9]*)
16406      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16407      # Instead, we relocate shared libraries at runtime.
16408      ;;
16409    sysv4*MP*)
16410      if test -d /usr/nec; then
16411	lt_prog_compiler_pic_CXX=-Kconform_pic
16412      fi
16413      ;;
16414    hpux*)
16415      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
16416      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
16417      # sets the default TLS model and affects inlining.
16418      case $host_cpu in
16419      hppa*64*)
16420	;;
16421      *)
16422	lt_prog_compiler_pic_CXX='-fPIC'
16423	;;
16424      esac
16425      ;;
16426    *qnx* | *nto*)
16427      # QNX uses GNU C++, but need to define -shared option too, otherwise
16428      # it will coredump.
16429      lt_prog_compiler_pic_CXX='-fPIC -shared'
16430      ;;
16431    *)
16432      lt_prog_compiler_pic_CXX='-fPIC'
16433      ;;
16434    esac
16435  else
16436    case $host_os in
16437      aix[4-9]*)
16438	# All AIX code is PIC.
16439	if test ia64 = "$host_cpu"; then
16440	  # AIX 5 now supports IA64 processor
16441	  lt_prog_compiler_static_CXX='-Bstatic'
16442	else
16443	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
16444	fi
16445	;;
16446      chorus*)
16447	case $cc_basename in
16448	cxch68*)
16449	  # Green Hills C++ Compiler
16450	  # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
16451	  ;;
16452	esac
16453	;;
16454      mingw* | cygwin* | os2* | pw32* | cegcc*)
16455	# This hack is so that the source file can tell whether it is being
16456	# built for inclusion in a dll (and should export symbols for example).
16457	lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
16458	;;
16459      dgux*)
16460	case $cc_basename in
16461	  ec++*)
16462	    lt_prog_compiler_pic_CXX='-KPIC'
16463	    ;;
16464	  ghcx*)
16465	    # Green Hills C++ Compiler
16466	    lt_prog_compiler_pic_CXX='-pic'
16467	    ;;
16468	  *)
16469	    ;;
16470	esac
16471	;;
16472      freebsd* | dragonfly*)
16473	# FreeBSD uses GNU C++
16474	;;
16475      hpux9* | hpux10* | hpux11*)
16476	case $cc_basename in
16477	  CC*)
16478	    lt_prog_compiler_wl_CXX='-Wl,'
16479	    lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
16480	    if test ia64 != "$host_cpu"; then
16481	      lt_prog_compiler_pic_CXX='+Z'
16482	    fi
16483	    ;;
16484	  aCC*)
16485	    lt_prog_compiler_wl_CXX='-Wl,'
16486	    lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
16487	    case $host_cpu in
16488	    hppa*64*|ia64*)
16489	      # +Z the default
16490	      ;;
16491	    *)
16492	      lt_prog_compiler_pic_CXX='+Z'
16493	      ;;
16494	    esac
16495	    ;;
16496	  *)
16497	    ;;
16498	esac
16499	;;
16500      interix*)
16501	# This is c89, which is MS Visual C++ (no shared libs)
16502	# Anyone wants to do a port?
16503	;;
16504      irix5* | irix6* | nonstopux*)
16505	case $cc_basename in
16506	  CC*)
16507	    lt_prog_compiler_wl_CXX='-Wl,'
16508	    lt_prog_compiler_static_CXX='-non_shared'
16509	    # CC pic flag -KPIC is the default.
16510	    ;;
16511	  *)
16512	    ;;
16513	esac
16514	;;
16515      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
16516	case $cc_basename in
16517	  KCC*)
16518	    # KAI C++ Compiler
16519	    lt_prog_compiler_wl_CXX='--backend -Wl,'
16520	    lt_prog_compiler_pic_CXX='-fPIC'
16521	    ;;
16522	  ecpc* )
16523	    # old Intel C++ for x86_64, which still supported -KPIC.
16524	    lt_prog_compiler_wl_CXX='-Wl,'
16525	    lt_prog_compiler_pic_CXX='-KPIC'
16526	    lt_prog_compiler_static_CXX='-static'
16527	    ;;
16528	  icpc* )
16529	    # Intel C++, used to be incompatible with GCC.
16530	    # ICC 10 doesn't accept -KPIC any more.
16531	    lt_prog_compiler_wl_CXX='-Wl,'
16532	    lt_prog_compiler_pic_CXX='-fPIC'
16533	    lt_prog_compiler_static_CXX='-static'
16534	    ;;
16535	  pgCC* | pgcpp*)
16536	    # Portland Group C++ compiler
16537	    lt_prog_compiler_wl_CXX='-Wl,'
16538	    lt_prog_compiler_pic_CXX='-fpic'
16539	    lt_prog_compiler_static_CXX='-Bstatic'
16540	    ;;
16541	  cxx*)
16542	    # Compaq C++
16543	    # Make sure the PIC flag is empty.  It appears that all Alpha
16544	    # Linux and Compaq Tru64 Unix objects are PIC.
16545	    lt_prog_compiler_pic_CXX=
16546	    lt_prog_compiler_static_CXX='-non_shared'
16547	    ;;
16548	  xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
16549	    # IBM XL 8.0, 9.0 on PPC and BlueGene
16550	    lt_prog_compiler_wl_CXX='-Wl,'
16551	    lt_prog_compiler_pic_CXX='-qpic'
16552	    lt_prog_compiler_static_CXX='-qstaticlink'
16553	    ;;
16554	  *)
16555	    case `$CC -V 2>&1 | sed 5q` in
16556	    *Sun\ C*)
16557	      # Sun C++ 5.9
16558	      lt_prog_compiler_pic_CXX='-KPIC'
16559	      lt_prog_compiler_static_CXX='-Bstatic'
16560	      lt_prog_compiler_wl_CXX='-Qoption ld '
16561	      ;;
16562	    esac
16563	    ;;
16564	esac
16565	;;
16566      lynxos*)
16567	;;
16568      m88k*)
16569	;;
16570      mvs*)
16571	case $cc_basename in
16572	  cxx*)
16573	    lt_prog_compiler_pic_CXX='-W c,exportall'
16574	    ;;
16575	  *)
16576	    ;;
16577	esac
16578	;;
16579      netbsd*)
16580	;;
16581      *qnx* | *nto*)
16582        # QNX uses GNU C++, but need to define -shared option too, otherwise
16583        # it will coredump.
16584        lt_prog_compiler_pic_CXX='-fPIC -shared'
16585        ;;
16586      osf3* | osf4* | osf5*)
16587	case $cc_basename in
16588	  KCC*)
16589	    lt_prog_compiler_wl_CXX='--backend -Wl,'
16590	    ;;
16591	  RCC*)
16592	    # Rational C++ 2.4.1
16593	    lt_prog_compiler_pic_CXX='-pic'
16594	    ;;
16595	  cxx*)
16596	    # Digital/Compaq C++
16597	    lt_prog_compiler_wl_CXX='-Wl,'
16598	    # Make sure the PIC flag is empty.  It appears that all Alpha
16599	    # Linux and Compaq Tru64 Unix objects are PIC.
16600	    lt_prog_compiler_pic_CXX=
16601	    lt_prog_compiler_static_CXX='-non_shared'
16602	    ;;
16603	  *)
16604	    ;;
16605	esac
16606	;;
16607      psos*)
16608	;;
16609      solaris*)
16610	case $cc_basename in
16611	  CC* | sunCC*)
16612	    # Sun C++ 4.2, 5.x and Centerline C++
16613	    lt_prog_compiler_pic_CXX='-KPIC'
16614	    lt_prog_compiler_static_CXX='-Bstatic'
16615	    lt_prog_compiler_wl_CXX='-Qoption ld '
16616	    ;;
16617	  gcx*)
16618	    # Green Hills C++ Compiler
16619	    lt_prog_compiler_pic_CXX='-PIC'
16620	    ;;
16621	  *)
16622	    ;;
16623	esac
16624	;;
16625      sunos4*)
16626	case $cc_basename in
16627	  CC*)
16628	    # Sun C++ 4.x
16629	    lt_prog_compiler_pic_CXX='-pic'
16630	    lt_prog_compiler_static_CXX='-Bstatic'
16631	    ;;
16632	  lcc*)
16633	    # Lucid
16634	    lt_prog_compiler_pic_CXX='-pic'
16635	    ;;
16636	  *)
16637	    ;;
16638	esac
16639	;;
16640      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
16641	case $cc_basename in
16642	  CC*)
16643	    lt_prog_compiler_wl_CXX='-Wl,'
16644	    lt_prog_compiler_pic_CXX='-KPIC'
16645	    lt_prog_compiler_static_CXX='-Bstatic'
16646	    ;;
16647	esac
16648	;;
16649      tandem*)
16650	case $cc_basename in
16651	  NCC*)
16652	    # NonStop-UX NCC 3.20
16653	    lt_prog_compiler_pic_CXX='-KPIC'
16654	    ;;
16655	  *)
16656	    ;;
16657	esac
16658	;;
16659      vxworks*)
16660	;;
16661      *)
16662	lt_prog_compiler_can_build_shared_CXX=no
16663	;;
16664    esac
16665  fi
16666
16667case $host_os in
16668  # For platforms that do not support PIC, -DPIC is meaningless:
16669  *djgpp*)
16670    lt_prog_compiler_pic_CXX=
16671    ;;
16672  *)
16673    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
16674    ;;
16675esac
16676
16677{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
16678printf %s "checking for $compiler option to produce PIC... " >&6; }
16679if test ${lt_cv_prog_compiler_pic_CXX+y}
16680then :
16681  printf %s "(cached) " >&6
16682else $as_nop
16683  lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
16684fi
16685{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
16686printf "%s\n" "$lt_cv_prog_compiler_pic_CXX" >&6; }
16687lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
16688
16689#
16690# Check to make sure the PIC flag actually works.
16691#
16692if test -n "$lt_prog_compiler_pic_CXX"; then
16693  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
16694printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
16695if test ${lt_cv_prog_compiler_pic_works_CXX+y}
16696then :
16697  printf %s "(cached) " >&6
16698else $as_nop
16699  lt_cv_prog_compiler_pic_works_CXX=no
16700   ac_outfile=conftest.$ac_objext
16701   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16702   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"  ## exclude from sc_useless_quotes_in_assignment
16703   # Insert the option either (1) after the last *FLAGS variable, or
16704   # (2) before a word containing "conftest.", or (3) at the end.
16705   # Note that $ac_compile itself does not contain backslashes and begins
16706   # with a dollar sign (not a hyphen), so the echo should work correctly.
16707   # The option is referenced via a variable to avoid confusing sed.
16708   lt_compile=`echo "$ac_compile" | $SED \
16709   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16710   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16711   -e 's:$: $lt_compiler_flag:'`
16712   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16713   (eval "$lt_compile" 2>conftest.err)
16714   ac_status=$?
16715   cat conftest.err >&5
16716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16717   if (exit $ac_status) && test -s "$ac_outfile"; then
16718     # The compiler can only warn and ignore the option if not recognized
16719     # So say no if there are warnings other than the usual output.
16720     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
16721     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16722     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16723       lt_cv_prog_compiler_pic_works_CXX=yes
16724     fi
16725   fi
16726   $RM conftest*
16727
16728fi
16729{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
16730printf "%s\n" "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
16731
16732if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
16733    case $lt_prog_compiler_pic_CXX in
16734     "" | " "*) ;;
16735     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
16736     esac
16737else
16738    lt_prog_compiler_pic_CXX=
16739     lt_prog_compiler_can_build_shared_CXX=no
16740fi
16741
16742fi
16743
16744
16745
16746
16747
16748#
16749# Check to make sure the static flag actually works.
16750#
16751wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
16752{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16753printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
16754if test ${lt_cv_prog_compiler_static_works_CXX+y}
16755then :
16756  printf %s "(cached) " >&6
16757else $as_nop
16758  lt_cv_prog_compiler_static_works_CXX=no
16759   save_LDFLAGS=$LDFLAGS
16760   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16761   echo "$lt_simple_link_test_code" > conftest.$ac_ext
16762   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16763     # The linker can only warn and ignore the option if not recognized
16764     # So say no if there are warnings
16765     if test -s conftest.err; then
16766       # Append any errors to the config.log.
16767       cat conftest.err 1>&5
16768       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
16769       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16770       if diff conftest.exp conftest.er2 >/dev/null; then
16771         lt_cv_prog_compiler_static_works_CXX=yes
16772       fi
16773     else
16774       lt_cv_prog_compiler_static_works_CXX=yes
16775     fi
16776   fi
16777   $RM -r conftest*
16778   LDFLAGS=$save_LDFLAGS
16779
16780fi
16781{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
16782printf "%s\n" "$lt_cv_prog_compiler_static_works_CXX" >&6; }
16783
16784if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
16785    :
16786else
16787    lt_prog_compiler_static_CXX=
16788fi
16789
16790
16791
16792
16793    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16794printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16795if test ${lt_cv_prog_compiler_c_o_CXX+y}
16796then :
16797  printf %s "(cached) " >&6
16798else $as_nop
16799  lt_cv_prog_compiler_c_o_CXX=no
16800   $RM -r conftest 2>/dev/null
16801   mkdir conftest
16802   cd conftest
16803   mkdir out
16804   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16805
16806   lt_compiler_flag="-o out/conftest2.$ac_objext"
16807   # Insert the option either (1) after the last *FLAGS variable, or
16808   # (2) before a word containing "conftest.", or (3) at the end.
16809   # Note that $ac_compile itself does not contain backslashes and begins
16810   # with a dollar sign (not a hyphen), so the echo should work correctly.
16811   lt_compile=`echo "$ac_compile" | $SED \
16812   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16813   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16814   -e 's:$: $lt_compiler_flag:'`
16815   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16816   (eval "$lt_compile" 2>out/conftest.err)
16817   ac_status=$?
16818   cat out/conftest.err >&5
16819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16820   if (exit $ac_status) && test -s out/conftest2.$ac_objext
16821   then
16822     # The compiler can only warn and ignore the option if not recognized
16823     # So say no if there are warnings
16824     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16825     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16826     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16827       lt_cv_prog_compiler_c_o_CXX=yes
16828     fi
16829   fi
16830   chmod u+w . 2>&5
16831   $RM conftest*
16832   # SGI C++ compiler will create directory out/ii_files/ for
16833   # template instantiation
16834   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16835   $RM out/* && rmdir out
16836   cd ..
16837   $RM -r conftest
16838   $RM conftest*
16839
16840fi
16841{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16842printf "%s\n" "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16843
16844
16845
16846    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16847printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16848if test ${lt_cv_prog_compiler_c_o_CXX+y}
16849then :
16850  printf %s "(cached) " >&6
16851else $as_nop
16852  lt_cv_prog_compiler_c_o_CXX=no
16853   $RM -r conftest 2>/dev/null
16854   mkdir conftest
16855   cd conftest
16856   mkdir out
16857   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16858
16859   lt_compiler_flag="-o out/conftest2.$ac_objext"
16860   # Insert the option either (1) after the last *FLAGS variable, or
16861   # (2) before a word containing "conftest.", or (3) at the end.
16862   # Note that $ac_compile itself does not contain backslashes and begins
16863   # with a dollar sign (not a hyphen), so the echo should work correctly.
16864   lt_compile=`echo "$ac_compile" | $SED \
16865   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16866   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16867   -e 's:$: $lt_compiler_flag:'`
16868   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16869   (eval "$lt_compile" 2>out/conftest.err)
16870   ac_status=$?
16871   cat out/conftest.err >&5
16872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16873   if (exit $ac_status) && test -s out/conftest2.$ac_objext
16874   then
16875     # The compiler can only warn and ignore the option if not recognized
16876     # So say no if there are warnings
16877     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16878     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16879     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16880       lt_cv_prog_compiler_c_o_CXX=yes
16881     fi
16882   fi
16883   chmod u+w . 2>&5
16884   $RM conftest*
16885   # SGI C++ compiler will create directory out/ii_files/ for
16886   # template instantiation
16887   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16888   $RM out/* && rmdir out
16889   cd ..
16890   $RM -r conftest
16891   $RM conftest*
16892
16893fi
16894{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16895printf "%s\n" "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16896
16897
16898
16899
16900hard_links=nottested
16901if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
16902  # do not overwrite the value of need_locks provided by the user
16903  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
16904printf %s "checking if we can lock with hard links... " >&6; }
16905  hard_links=yes
16906  $RM conftest*
16907  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16908  touch conftest.a
16909  ln conftest.a conftest.b 2>&5 || hard_links=no
16910  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16911  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
16912printf "%s\n" "$hard_links" >&6; }
16913  if test no = "$hard_links"; then
16914    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
16915printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
16916    need_locks=warn
16917  fi
16918else
16919  need_locks=no
16920fi
16921
16922
16923
16924    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16925printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
16926
16927  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16928  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16929  case $host_os in
16930  aix[4-9]*)
16931    # If we're using GNU nm, then we don't want the "-C" option.
16932    # -C means demangle to GNU nm, but means don't demangle to AIX nm.
16933    # Without the "-l" option, or with the "-B" option, AIX nm treats
16934    # weak defined symbols like other global defined symbols, whereas
16935    # GNU nm marks them as "W".
16936    # While the 'weak' keyword is ignored in the Export File, we need
16937    # it in the Import File for the 'aix-soname' feature, so we have
16938    # to replace the "-B" option with "-P" for AIX nm.
16939    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
16940      export_symbols_cmds_CXX='$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'
16941    else
16942      export_symbols_cmds_CXX='`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'
16943    fi
16944    ;;
16945  pw32*)
16946    export_symbols_cmds_CXX=$ltdll_cmds
16947    ;;
16948  cygwin* | mingw* | cegcc*)
16949    case $cc_basename in
16950    cl*)
16951      exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
16952      ;;
16953    *)
16954      export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
16955      exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
16956      ;;
16957    esac
16958    ;;
16959  *)
16960    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16961    ;;
16962  esac
16963
16964{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16965printf "%s\n" "$ld_shlibs_CXX" >&6; }
16966test no = "$ld_shlibs_CXX" && can_build_shared=no
16967
16968with_gnu_ld_CXX=$with_gnu_ld
16969
16970
16971
16972
16973
16974
16975#
16976# Do we need to explicitly link libc?
16977#
16978case "x$archive_cmds_need_lc_CXX" in
16979x|xyes)
16980  # Assume -lc should be added
16981  archive_cmds_need_lc_CXX=yes
16982
16983  if test yes,yes = "$GCC,$enable_shared"; then
16984    case $archive_cmds_CXX in
16985    *'~'*)
16986      # FIXME: we may have to deal with multi-command sequences.
16987      ;;
16988    '$CC '*)
16989      # Test whether the compiler implicitly links with -lc since on some
16990      # systems, -lgcc has to come before -lc. If gcc already passes -lc
16991      # to ld, don't add -lc before -lgcc.
16992      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
16993printf %s "checking whether -lc should be explicitly linked in... " >&6; }
16994if test ${lt_cv_archive_cmds_need_lc_CXX+y}
16995then :
16996  printf %s "(cached) " >&6
16997else $as_nop
16998  $RM conftest*
16999	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17000
17001	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17002  (eval $ac_compile) 2>&5
17003  ac_status=$?
17004  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17005  test $ac_status = 0; } 2>conftest.err; then
17006	  soname=conftest
17007	  lib=conftest
17008	  libobjs=conftest.$ac_objext
17009	  deplibs=
17010	  wl=$lt_prog_compiler_wl_CXX
17011	  pic_flag=$lt_prog_compiler_pic_CXX
17012	  compiler_flags=-v
17013	  linker_flags=-v
17014	  verstring=
17015	  output_objdir=.
17016	  libname=conftest
17017	  lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
17018	  allow_undefined_flag_CXX=
17019	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
17020  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
17021  ac_status=$?
17022  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17023  test $ac_status = 0; }
17024	  then
17025	    lt_cv_archive_cmds_need_lc_CXX=no
17026	  else
17027	    lt_cv_archive_cmds_need_lc_CXX=yes
17028	  fi
17029	  allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
17030	else
17031	  cat conftest.err 1>&5
17032	fi
17033	$RM conftest*
17034
17035fi
17036{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
17037printf "%s\n" "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
17038      archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
17039      ;;
17040    esac
17041  fi
17042  ;;
17043esac
17044
17045
17046
17047
17048
17049
17050
17051
17052
17053
17054
17055
17056
17057
17058
17059
17060
17061
17062
17063
17064
17065
17066
17067
17068
17069
17070
17071
17072
17073
17074
17075
17076
17077
17078
17079
17080
17081
17082
17083
17084
17085
17086
17087
17088
17089
17090
17091
17092
17093
17094
17095
17096
17097
17098
17099
17100
17101
17102
17103
17104
17105
17106    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
17107printf %s "checking dynamic linker characteristics... " >&6; }
17108
17109library_names_spec=
17110libname_spec='lib$name'
17111soname_spec=
17112shrext_cmds=.so
17113postinstall_cmds=
17114postuninstall_cmds=
17115finish_cmds=
17116finish_eval=
17117shlibpath_var=
17118shlibpath_overrides_runpath=unknown
17119version_type=none
17120dynamic_linker="$host_os ld.so"
17121sys_lib_dlsearch_path_spec="/lib /usr/lib"
17122need_lib_prefix=unknown
17123hardcode_into_libs=no
17124
17125# when you set need_version to no, make sure it does not cause -set_version
17126# flags to be left without arguments
17127need_version=unknown
17128
17129
17130
17131case $host_os in
17132aix3*)
17133  version_type=linux # correct to gnu/linux during the next big refactor
17134  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
17135  shlibpath_var=LIBPATH
17136
17137  # AIX 3 has no versioning support, so we append a major version to the name.
17138  soname_spec='$libname$release$shared_ext$major'
17139  ;;
17140
17141aix[4-9]*)
17142  version_type=linux # correct to gnu/linux during the next big refactor
17143  need_lib_prefix=no
17144  need_version=no
17145  hardcode_into_libs=yes
17146  if test ia64 = "$host_cpu"; then
17147    # AIX 5 supports IA64
17148    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
17149    shlibpath_var=LD_LIBRARY_PATH
17150  else
17151    # With GCC up to 2.95.x, collect2 would create an import file
17152    # for dependence libraries.  The import file would start with
17153    # the line '#! .'.  This would cause the generated library to
17154    # depend on '.', always an invalid library.  This was fixed in
17155    # development snapshots of GCC prior to 3.0.
17156    case $host_os in
17157      aix4 | aix4.[01] | aix4.[01].*)
17158      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17159	   echo ' yes '
17160	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
17161	:
17162      else
17163	can_build_shared=no
17164      fi
17165      ;;
17166    esac
17167    # Using Import Files as archive members, it is possible to support
17168    # filename-based versioning of shared library archives on AIX. While
17169    # this would work for both with and without runtime linking, it will
17170    # prevent static linking of such archives. So we do filename-based
17171    # shared library versioning with .so extension only, which is used
17172    # when both runtime linking and shared linking is enabled.
17173    # Unfortunately, runtime linking may impact performance, so we do
17174    # not want this to be the default eventually. Also, we use the
17175    # versioned .so libs for executables only if there is the -brtl
17176    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
17177    # To allow for filename-based versioning support, we need to create
17178    # libNAME.so.V as an archive file, containing:
17179    # *) an Import File, referring to the versioned filename of the
17180    #    archive as well as the shared archive member, telling the
17181    #    bitwidth (32 or 64) of that shared object, and providing the
17182    #    list of exported symbols of that shared object, eventually
17183    #    decorated with the 'weak' keyword
17184    # *) the shared object with the F_LOADONLY flag set, to really avoid
17185    #    it being seen by the linker.
17186    # At run time we better use the real file rather than another symlink,
17187    # but for link time we create the symlink libNAME.so -> libNAME.so.V
17188
17189    case $with_aix_soname,$aix_use_runtimelinking in
17190    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
17191    # soname into executable. Probably we can add versioning support to
17192    # collect2, so additional links can be useful in future.
17193    aix,yes) # traditional libtool
17194      dynamic_linker='AIX unversionable lib.so'
17195      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17196      # instead of lib<name>.a to let people know that these are not
17197      # typical AIX shared libraries.
17198      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17199      ;;
17200    aix,no) # traditional AIX only
17201      dynamic_linker='AIX lib.a(lib.so.V)'
17202      # We preserve .a as extension for shared libraries through AIX4.2
17203      # and later when we are not doing run time linking.
17204      library_names_spec='$libname$release.a $libname.a'
17205      soname_spec='$libname$release$shared_ext$major'
17206      ;;
17207    svr4,*) # full svr4 only
17208      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
17209      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
17210      # We do not specify a path in Import Files, so LIBPATH fires.
17211      shlibpath_overrides_runpath=yes
17212      ;;
17213    *,yes) # both, prefer svr4
17214      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
17215      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
17216      # unpreferred sharedlib libNAME.a needs extra handling
17217      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"'
17218      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"'
17219      # We do not specify a path in Import Files, so LIBPATH fires.
17220      shlibpath_overrides_runpath=yes
17221      ;;
17222    *,no) # both, prefer aix
17223      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
17224      library_names_spec='$libname$release.a $libname.a'
17225      soname_spec='$libname$release$shared_ext$major'
17226      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
17227      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)'
17228      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"'
17229      ;;
17230    esac
17231    shlibpath_var=LIBPATH
17232  fi
17233  ;;
17234
17235amigaos*)
17236  case $host_cpu in
17237  powerpc)
17238    # Since July 2007 AmigaOS4 officially supports .so libraries.
17239    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
17240    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17241    ;;
17242  m68k)
17243    library_names_spec='$libname.ixlibrary $libname.a'
17244    # Create ${libname}_ixlibrary.a entries in /sys/libs.
17245    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'
17246    ;;
17247  esac
17248  ;;
17249
17250beos*)
17251  library_names_spec='$libname$shared_ext'
17252  dynamic_linker="$host_os ld.so"
17253  shlibpath_var=LIBRARY_PATH
17254  ;;
17255
17256bsdi[45]*)
17257  version_type=linux # correct to gnu/linux during the next big refactor
17258  need_version=no
17259  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17260  soname_spec='$libname$release$shared_ext$major'
17261  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
17262  shlibpath_var=LD_LIBRARY_PATH
17263  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17264  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
17265  # the default ld.so.conf also contains /usr/contrib/lib and
17266  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17267  # libtool to hard-code these into programs
17268  ;;
17269
17270cygwin* | mingw* | pw32* | cegcc*)
17271  version_type=windows
17272  shrext_cmds=.dll
17273  need_version=no
17274  need_lib_prefix=no
17275
17276  case $GCC,$cc_basename in
17277  yes,*)
17278    # gcc
17279    library_names_spec='$libname.dll.a'
17280    # DLL is installed to $(libdir)/../bin by postinstall_cmds
17281    postinstall_cmds='base_file=`basename \$file`~
17282      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
17283      dldir=$destdir/`dirname \$dlpath`~
17284      test -d \$dldir || mkdir -p \$dldir~
17285      $install_prog $dir/$dlname \$dldir/$dlname~
17286      chmod a+x \$dldir/$dlname~
17287      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
17288        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
17289      fi'
17290    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17291      dlpath=$dir/\$dldll~
17292       $RM \$dlpath'
17293    shlibpath_overrides_runpath=yes
17294
17295    case $host_os in
17296    cygwin*)
17297      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17298      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
17299
17300      ;;
17301    mingw* | cegcc*)
17302      # MinGW DLLs use traditional 'lib' prefix
17303      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
17304      ;;
17305    pw32*)
17306      # pw32 DLLs use 'pw' prefix rather than 'lib'
17307      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
17308      ;;
17309    esac
17310    dynamic_linker='Win32 ld.exe'
17311    ;;
17312
17313  *,cl*)
17314    # Native MSVC
17315    libname_spec='$name'
17316    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
17317    library_names_spec='$libname.dll.lib'
17318
17319    case $build_os in
17320    mingw*)
17321      sys_lib_search_path_spec=
17322      lt_save_ifs=$IFS
17323      IFS=';'
17324      for lt_path in $LIB
17325      do
17326        IFS=$lt_save_ifs
17327        # Let DOS variable expansion print the short 8.3 style file name.
17328        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
17329        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
17330      done
17331      IFS=$lt_save_ifs
17332      # Convert to MSYS style.
17333      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
17334      ;;
17335    cygwin*)
17336      # Convert to unix form, then to dos form, then back to unix form
17337      # but this time dos style (no spaces!) so that the unix form looks
17338      # like /cygdrive/c/PROGRA~1:/cygdr...
17339      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
17340      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
17341      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17342      ;;
17343    *)
17344      sys_lib_search_path_spec=$LIB
17345      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
17346        # It is most probably a Windows format PATH.
17347        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17348      else
17349        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17350      fi
17351      # FIXME: find the short name or the path components, as spaces are
17352      # common. (e.g. "Program Files" -> "PROGRA~1")
17353      ;;
17354    esac
17355
17356    # DLL is installed to $(libdir)/../bin by postinstall_cmds
17357    postinstall_cmds='base_file=`basename \$file`~
17358      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
17359      dldir=$destdir/`dirname \$dlpath`~
17360      test -d \$dldir || mkdir -p \$dldir~
17361      $install_prog $dir/$dlname \$dldir/$dlname'
17362    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17363      dlpath=$dir/\$dldll~
17364       $RM \$dlpath'
17365    shlibpath_overrides_runpath=yes
17366    dynamic_linker='Win32 link.exe'
17367    ;;
17368
17369  *)
17370    # Assume MSVC wrapper
17371    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
17372    dynamic_linker='Win32 ld.exe'
17373    ;;
17374  esac
17375  # FIXME: first we should search . and the directory the executable is in
17376  shlibpath_var=PATH
17377  ;;
17378
17379darwin* | rhapsody*)
17380  dynamic_linker="$host_os dyld"
17381  version_type=darwin
17382  need_lib_prefix=no
17383  need_version=no
17384  library_names_spec='$libname$release$versuffix$shared_ext $libname$release$major$shared_ext $libname$shared_ext'
17385  soname_spec='$libname$release$major$shared_ext'
17386  shlibpath_overrides_runpath=yes
17387  shlibpath_var=DYLD_LIBRARY_PATH
17388  shrext_cmds='`test .$module = .yes && echo .bundle || echo .dylib`'
17389
17390  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
17391  ;;
17392
17393dgux*)
17394  version_type=linux # correct to gnu/linux during the next big refactor
17395  need_lib_prefix=no
17396  need_version=no
17397  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17398  soname_spec='$libname$release$shared_ext$major'
17399  shlibpath_var=LD_LIBRARY_PATH
17400  ;;
17401
17402freebsd* | dragonfly*)
17403  # DragonFly does not have aout.  When/if they implement a new
17404  # versioning mechanism, adjust this.
17405  if test -x /usr/bin/objformat; then
17406    objformat=`/usr/bin/objformat`
17407  else
17408    case $host_os in
17409    freebsd[23].*) objformat=aout ;;
17410    *) objformat=elf ;;
17411    esac
17412  fi
17413  # Handle Gentoo/FreeBSD as it was Linux
17414  case $host_vendor in
17415    gentoo)
17416      version_type=linux ;;
17417    *)
17418      version_type=freebsd-$objformat ;;
17419  esac
17420
17421  case $version_type in
17422    freebsd-elf*)
17423      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17424      soname_spec='$libname$release$shared_ext$major'
17425      need_version=no
17426      need_lib_prefix=no
17427      ;;
17428    freebsd-*)
17429      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17430      need_version=yes
17431      ;;
17432    linux)
17433      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17434      soname_spec='${libname}${release}${shared_ext}$major'
17435      need_lib_prefix=no
17436      need_version=no
17437      ;;
17438  esac
17439  shlibpath_var=LD_LIBRARY_PATH
17440  case $host_os in
17441  freebsd2.*)
17442    shlibpath_overrides_runpath=yes
17443    ;;
17444  freebsd3.[01]* | freebsdelf3.[01]*)
17445    shlibpath_overrides_runpath=yes
17446    hardcode_into_libs=yes
17447    ;;
17448  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
17449  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
17450    shlibpath_overrides_runpath=no
17451    hardcode_into_libs=yes
17452    ;;
17453  *) # from 4.6 on, and DragonFly
17454    shlibpath_overrides_runpath=yes
17455    hardcode_into_libs=yes
17456    ;;
17457  esac
17458  ;;
17459
17460haiku*)
17461  version_type=linux # correct to gnu/linux during the next big refactor
17462  need_lib_prefix=no
17463  need_version=no
17464  dynamic_linker="$host_os runtime_loader"
17465  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17466  soname_spec='$libname$release$shared_ext$major'
17467  shlibpath_var=LIBRARY_PATH
17468  shlibpath_overrides_runpath=no
17469  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
17470  hardcode_into_libs=yes
17471  ;;
17472
17473hpux9* | hpux10* | hpux11*)
17474  # Give a soname corresponding to the major version so that dld.sl refuses to
17475  # link against other versions.
17476  version_type=sunos
17477  need_lib_prefix=no
17478  need_version=no
17479  case $host_cpu in
17480  ia64*)
17481    shrext_cmds='.so'
17482    hardcode_into_libs=yes
17483    dynamic_linker="$host_os dld.so"
17484    shlibpath_var=LD_LIBRARY_PATH
17485    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17486    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17487    soname_spec='$libname$release$shared_ext$major'
17488    if test 32 = "$HPUX_IA64_MODE"; then
17489      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17490      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
17491    else
17492      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
17493      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
17494    fi
17495    ;;
17496  hppa*64*)
17497    shrext_cmds='.sl'
17498    hardcode_into_libs=yes
17499    dynamic_linker="$host_os dld.sl"
17500    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
17501    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17502    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17503    soname_spec='$libname$release$shared_ext$major'
17504    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17505    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17506    ;;
17507  *)
17508    shrext_cmds='.sl'
17509    dynamic_linker="$host_os dld.sl"
17510    shlibpath_var=SHLIB_PATH
17511    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
17512    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17513    soname_spec='$libname$release$shared_ext$major'
17514    ;;
17515  esac
17516  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
17517  postinstall_cmds='chmod 555 $lib'
17518  # or fails outright, so override atomically:
17519  install_override_mode=555
17520  ;;
17521
17522interix[3-9]*)
17523  version_type=linux # correct to gnu/linux during the next big refactor
17524  need_lib_prefix=no
17525  need_version=no
17526  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17527  soname_spec='$libname$release$shared_ext$major'
17528  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
17529  shlibpath_var=LD_LIBRARY_PATH
17530  shlibpath_overrides_runpath=no
17531  hardcode_into_libs=yes
17532  ;;
17533
17534irix5* | irix6* | nonstopux*)
17535  case $host_os in
17536    nonstopux*) version_type=nonstopux ;;
17537    *)
17538	if test yes = "$lt_cv_prog_gnu_ld"; then
17539		version_type=linux # correct to gnu/linux during the next big refactor
17540	else
17541		version_type=irix
17542	fi ;;
17543  esac
17544  need_lib_prefix=no
17545  need_version=no
17546  soname_spec='$libname$release$shared_ext$major'
17547  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
17548  case $host_os in
17549  irix5* | nonstopux*)
17550    libsuff= shlibsuff=
17551    ;;
17552  *)
17553    case $LD in # libtool.m4 will add one of these switches to LD
17554    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
17555      libsuff= shlibsuff= libmagic=32-bit;;
17556    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
17557      libsuff=32 shlibsuff=N32 libmagic=N32;;
17558    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
17559      libsuff=64 shlibsuff=64 libmagic=64-bit;;
17560    *) libsuff= shlibsuff= libmagic=never-match;;
17561    esac
17562    ;;
17563  esac
17564  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
17565  shlibpath_overrides_runpath=no
17566  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
17567  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
17568  hardcode_into_libs=yes
17569  ;;
17570
17571# No shared lib support for Linux oldld, aout, or coff.
17572linux*oldld* | linux*aout* | linux*coff*)
17573  dynamic_linker=no
17574  ;;
17575
17576linux*android*)
17577  version_type=none # Android doesn't support versioned libraries.
17578  need_lib_prefix=no
17579  need_version=no
17580  library_names_spec='$libname$release$shared_ext'
17581  soname_spec='$libname$release$shared_ext'
17582  finish_cmds=
17583  shlibpath_var=LD_LIBRARY_PATH
17584  shlibpath_overrides_runpath=yes
17585
17586  # This implies no fast_install, which is unacceptable.
17587  # Some rework will be needed to allow for fast_install
17588  # before this can be enabled.
17589  hardcode_into_libs=yes
17590
17591  dynamic_linker='Android linker'
17592  # Don't embed -rpath directories since the linker doesn't support them.
17593  hardcode_libdir_flag_spec_CXX='-L$libdir'
17594  ;;
17595
17596# This must be glibc/ELF.
17597linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
17598  version_type=linux # correct to gnu/linux during the next big refactor
17599  need_lib_prefix=no
17600  need_version=no
17601  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17602  soname_spec='$libname$release$shared_ext$major'
17603  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17604  shlibpath_var=LD_LIBRARY_PATH
17605  shlibpath_overrides_runpath=no
17606
17607  # Some binutils ld are patched to set DT_RUNPATH
17608  if test ${lt_cv_shlibpath_overrides_runpath+y}
17609then :
17610  printf %s "(cached) " >&6
17611else $as_nop
17612  lt_cv_shlibpath_overrides_runpath=no
17613    save_LDFLAGS=$LDFLAGS
17614    save_libdir=$libdir
17615    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
17616	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
17617    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17618/* end confdefs.h.  */
17619
17620int
17621main (void)
17622{
17623
17624  ;
17625  return 0;
17626}
17627_ACEOF
17628if ac_fn_cxx_try_link "$LINENO"
17629then :
17630  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
17631then :
17632  lt_cv_shlibpath_overrides_runpath=yes
17633fi
17634fi
17635rm -f core conftest.err conftest.$ac_objext conftest.beam \
17636    conftest$ac_exeext conftest.$ac_ext
17637    LDFLAGS=$save_LDFLAGS
17638    libdir=$save_libdir
17639
17640fi
17641
17642  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
17643
17644  # This implies no fast_install, which is unacceptable.
17645  # Some rework will be needed to allow for fast_install
17646  # before this can be enabled.
17647  hardcode_into_libs=yes
17648
17649  # Ideally, we could use ldconfig to report *all* directores which are
17650  # searched for libraries, however this is still not possible.  Aside from not
17651  # being certain /sbin/ldconfig is available, command
17652  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
17653  # even though it is searched at run-time.  Try to do the best guess by
17654  # appending ld.so.conf contents (and includes) to the search path.
17655  if test -f /etc/ld.so.conf; then
17656    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' ' '`
17657    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
17658  fi
17659
17660  # We used to test for /lib/ld.so.1 and disable shared libraries on
17661  # powerpc, because MkLinux only supported shared libraries with the
17662  # GNU dynamic linker.  Since this was broken with cross compilers,
17663  # most powerpc-linux boxes support dynamic linking these days and
17664  # people can always --disable-shared, the test was removed, and we
17665  # assume the GNU/Linux dynamic linker is in use.
17666  dynamic_linker='GNU/Linux ld.so'
17667  ;;
17668
17669netbsd*)
17670  version_type=sunos
17671  need_lib_prefix=no
17672  need_version=no
17673  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
17674    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17675    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17676    dynamic_linker='NetBSD (a.out) ld.so'
17677  else
17678    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17679    soname_spec='$libname$release$shared_ext$major'
17680    dynamic_linker='NetBSD ld.elf_so'
17681  fi
17682  shlibpath_var=LD_LIBRARY_PATH
17683  shlibpath_overrides_runpath=yes
17684  hardcode_into_libs=yes
17685  ;;
17686
17687newsos6)
17688  version_type=linux # correct to gnu/linux during the next big refactor
17689  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17690  shlibpath_var=LD_LIBRARY_PATH
17691  shlibpath_overrides_runpath=yes
17692  ;;
17693
17694*nto* | *qnx*)
17695  version_type=qnx
17696  need_lib_prefix=no
17697  need_version=no
17698  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17699  soname_spec='$libname$release$shared_ext$major'
17700  shlibpath_var=LD_LIBRARY_PATH
17701  shlibpath_overrides_runpath=no
17702  hardcode_into_libs=yes
17703  dynamic_linker='ldqnx.so'
17704  ;;
17705
17706openbsd* | bitrig*)
17707  version_type=sunos
17708  sys_lib_dlsearch_path_spec=/usr/lib
17709  need_lib_prefix=no
17710  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
17711    need_version=no
17712  else
17713    need_version=yes
17714  fi
17715  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17716  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17717  shlibpath_var=LD_LIBRARY_PATH
17718  shlibpath_overrides_runpath=yes
17719  ;;
17720
17721os2*)
17722  libname_spec='$name'
17723  version_type=windows
17724  shrext_cmds=.dll
17725  need_version=no
17726  need_lib_prefix=no
17727  # OS/2 can only load a DLL with a base name of 8 characters or less.
17728  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
17729    v=$($ECHO $release$versuffix | tr -d .-);
17730    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
17731    $ECHO $n$v`$shared_ext'
17732  library_names_spec='${libname}_dll.$libext'
17733  dynamic_linker='OS/2 ld.exe'
17734  shlibpath_var=BEGINLIBPATH
17735  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
17736  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17737  postinstall_cmds='base_file=`basename \$file`~
17738    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
17739    dldir=$destdir/`dirname \$dlpath`~
17740    test -d \$dldir || mkdir -p \$dldir~
17741    $install_prog $dir/$dlname \$dldir/$dlname~
17742    chmod a+x \$dldir/$dlname~
17743    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
17744      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
17745    fi'
17746  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
17747    dlpath=$dir/\$dldll~
17748    $RM \$dlpath'
17749  ;;
17750
17751osf3* | osf4* | osf5*)
17752  version_type=osf
17753  need_lib_prefix=no
17754  need_version=no
17755  soname_spec='$libname$release$shared_ext$major'
17756  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17757  shlibpath_var=LD_LIBRARY_PATH
17758  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17759  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17760  ;;
17761
17762rdos*)
17763  dynamic_linker=no
17764  ;;
17765
17766solaris*)
17767  version_type=linux # correct to gnu/linux during the next big refactor
17768  need_lib_prefix=no
17769  need_version=no
17770  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17771  soname_spec='$libname$release$shared_ext$major'
17772  shlibpath_var=LD_LIBRARY_PATH
17773  shlibpath_overrides_runpath=yes
17774  hardcode_into_libs=yes
17775  # ldd complains unless libraries are executable
17776  postinstall_cmds='chmod +x $lib'
17777  ;;
17778
17779sunos4*)
17780  version_type=sunos
17781  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17782  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17783  shlibpath_var=LD_LIBRARY_PATH
17784  shlibpath_overrides_runpath=yes
17785  if test yes = "$with_gnu_ld"; then
17786    need_lib_prefix=no
17787  fi
17788  need_version=yes
17789  ;;
17790
17791sysv4 | sysv4.3*)
17792  version_type=linux # correct to gnu/linux during the next big refactor
17793  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17794  soname_spec='$libname$release$shared_ext$major'
17795  shlibpath_var=LD_LIBRARY_PATH
17796  case $host_vendor in
17797    sni)
17798      shlibpath_overrides_runpath=no
17799      need_lib_prefix=no
17800      runpath_var=LD_RUN_PATH
17801      ;;
17802    siemens)
17803      need_lib_prefix=no
17804      ;;
17805    motorola)
17806      need_lib_prefix=no
17807      need_version=no
17808      shlibpath_overrides_runpath=no
17809      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
17810      ;;
17811  esac
17812  ;;
17813
17814sysv4*MP*)
17815  if test -d /usr/nec; then
17816    version_type=linux # correct to gnu/linux during the next big refactor
17817    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
17818    soname_spec='$libname$shared_ext.$major'
17819    shlibpath_var=LD_LIBRARY_PATH
17820  fi
17821  ;;
17822
17823sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
17824  version_type=sco
17825  need_lib_prefix=no
17826  need_version=no
17827  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
17828  soname_spec='$libname$release$shared_ext$major'
17829  shlibpath_var=LD_LIBRARY_PATH
17830  shlibpath_overrides_runpath=yes
17831  hardcode_into_libs=yes
17832  if test yes = "$with_gnu_ld"; then
17833    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17834  else
17835    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
17836    case $host_os in
17837      sco3.2v5*)
17838        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
17839	;;
17840    esac
17841  fi
17842  sys_lib_dlsearch_path_spec='/usr/lib'
17843  ;;
17844
17845tpf*)
17846  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
17847  version_type=linux # correct to gnu/linux during the next big refactor
17848  need_lib_prefix=no
17849  need_version=no
17850  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17851  shlibpath_var=LD_LIBRARY_PATH
17852  shlibpath_overrides_runpath=no
17853  hardcode_into_libs=yes
17854  ;;
17855
17856uts4*)
17857  version_type=linux # correct to gnu/linux during the next big refactor
17858  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17859  soname_spec='$libname$release$shared_ext$major'
17860  shlibpath_var=LD_LIBRARY_PATH
17861  ;;
17862
17863*)
17864  dynamic_linker=no
17865  ;;
17866esac
17867{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
17868printf "%s\n" "$dynamic_linker" >&6; }
17869test no = "$dynamic_linker" && can_build_shared=no
17870
17871variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17872if test yes = "$GCC"; then
17873  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17874fi
17875
17876if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
17877  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
17878fi
17879
17880if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
17881  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
17882fi
17883
17884# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
17885configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
17886
17887# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
17888func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
17889
17890# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
17891configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
17892
17893
17894
17895
17896
17897
17898
17899
17900
17901
17902
17903
17904
17905
17906
17907
17908
17909
17910
17911
17912
17913
17914
17915
17916
17917
17918
17919
17920
17921
17922
17923
17924
17925
17926
17927
17928
17929
17930
17931
17932    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
17933printf %s "checking how to hardcode library paths into programs... " >&6; }
17934hardcode_action_CXX=
17935if test -n "$hardcode_libdir_flag_spec_CXX" ||
17936   test -n "$runpath_var_CXX" ||
17937   test yes = "$hardcode_automatic_CXX"; then
17938
17939  # We can hardcode non-existent directories.
17940  if test no != "$hardcode_direct_CXX" &&
17941     # If the only mechanism to avoid hardcoding is shlibpath_var, we
17942     # have to relink, otherwise we might link with an installed library
17943     # when we should be linking with a yet-to-be-installed one
17944     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
17945     test no != "$hardcode_minus_L_CXX"; then
17946    # Linking always hardcodes the temporary library directory.
17947    hardcode_action_CXX=relink
17948  else
17949    # We can link without hardcoding, and we can hardcode nonexisting dirs.
17950    hardcode_action_CXX=immediate
17951  fi
17952else
17953  # We cannot hardcode anything, or else we can only hardcode existing
17954  # directories.
17955  hardcode_action_CXX=unsupported
17956fi
17957{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
17958printf "%s\n" "$hardcode_action_CXX" >&6; }
17959
17960if test relink = "$hardcode_action_CXX" ||
17961   test yes = "$inherit_rpath_CXX"; then
17962  # Fast installation is not supported
17963  enable_fast_install=no
17964elif test yes = "$shlibpath_overrides_runpath" ||
17965     test no = "$enable_shared"; then
17966  # Fast installation is not necessary
17967  enable_fast_install=needless
17968fi
17969
17970
17971
17972
17973
17974
17975
17976  fi # test -n "$compiler"
17977
17978  CC=$lt_save_CC
17979  CFLAGS=$lt_save_CFLAGS
17980  LDCXX=$LD
17981  LD=$lt_save_LD
17982  GCC=$lt_save_GCC
17983  with_gnu_ld=$lt_save_with_gnu_ld
17984  lt_cv_path_LDCXX=$lt_cv_path_LD
17985  lt_cv_path_LD=$lt_save_path_LD
17986  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
17987  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
17988fi # test yes != "$_lt_caught_CXX_error"
17989
17990ac_ext=cpp
17991ac_cpp='$CXXCPP $CPPFLAGS'
17992ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17993ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17994ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17995
17996
17997
17998if test "$GCC" = yes
17999then :
18000
18001
18002
18003
18004for flag in -Wall -Wextra; do
18005  as_CACHEVAR=`printf "%s\n" "ax_cv_check_cxxflags__$flag" | $as_tr_sh`
18006{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler accepts $flag" >&5
18007printf %s "checking whether C++ compiler accepts $flag... " >&6; }
18008if eval test \${$as_CACHEVAR+y}
18009then :
18010  printf %s "(cached) " >&6
18011else $as_nop
18012
18013  ax_check_save_flags=$CXXFLAGS
18014  CXXFLAGS="$CXXFLAGS  -Werror $flag"
18015  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18016/* end confdefs.h.  */
18017int main(void) { return 0; }
18018_ACEOF
18019if ac_fn_cxx_try_compile "$LINENO"
18020then :
18021  eval "$as_CACHEVAR=yes"
18022else $as_nop
18023  eval "$as_CACHEVAR=no"
18024fi
18025rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18026  CXXFLAGS=$ax_check_save_flags
18027fi
18028eval ac_res=\$$as_CACHEVAR
18029	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
18030printf "%s\n" "$ac_res" >&6; }
18031if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
18032then :
18033
18034if test ${AM_CXXFLAGS+y}
18035then :
18036
18037  case " $AM_CXXFLAGS " in #(
18038  *" $flag "*) :
18039    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CXXFLAGS already contains \$flag"; } >&5
18040  (: AM_CXXFLAGS already contains $flag) 2>&5
18041  ac_status=$?
18042  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18043  test $ac_status = 0; } ;; #(
18044  *) :
18045
18046     as_fn_append AM_CXXFLAGS " $flag"
18047     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CXXFLAGS=\"\$AM_CXXFLAGS\""; } >&5
18048  (: AM_CXXFLAGS="$AM_CXXFLAGS") 2>&5
18049  ac_status=$?
18050  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18051  test $ac_status = 0; }
18052     ;;
18053esac
18054
18055else $as_nop
18056
18057  AM_CXXFLAGS=$flag
18058  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CXXFLAGS=\"\$AM_CXXFLAGS\""; } >&5
18059  (: AM_CXXFLAGS="$AM_CXXFLAGS") 2>&5
18060  ac_status=$?
18061  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18062  test $ac_status = 0; }
18063
18064fi
18065
18066else $as_nop
18067  :
18068fi
18069
18070done
18071
18072
18073
18074
18075
18076for flag in -fexceptions; do
18077  as_CACHEVAR=`printf "%s\n" "ax_cv_check_cxxflags__$flag" | $as_tr_sh`
18078{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler accepts $flag" >&5
18079printf %s "checking whether C++ compiler accepts $flag... " >&6; }
18080if eval test \${$as_CACHEVAR+y}
18081then :
18082  printf %s "(cached) " >&6
18083else $as_nop
18084
18085  ax_check_save_flags=$CXXFLAGS
18086  CXXFLAGS="$CXXFLAGS  -Werror $flag"
18087  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18088/* end confdefs.h.  */
18089int main(void) { return 0; }
18090_ACEOF
18091if ac_fn_cxx_try_compile "$LINENO"
18092then :
18093  eval "$as_CACHEVAR=yes"
18094else $as_nop
18095  eval "$as_CACHEVAR=no"
18096fi
18097rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18098  CXXFLAGS=$ax_check_save_flags
18099fi
18100eval ac_res=\$$as_CACHEVAR
18101	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
18102printf "%s\n" "$ac_res" >&6; }
18103if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
18104then :
18105
18106if test ${AM_CXXFLAGS+y}
18107then :
18108
18109  case " $AM_CXXFLAGS " in #(
18110  *" $flag "*) :
18111    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CXXFLAGS already contains \$flag"; } >&5
18112  (: AM_CXXFLAGS already contains $flag) 2>&5
18113  ac_status=$?
18114  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18115  test $ac_status = 0; } ;; #(
18116  *) :
18117
18118     as_fn_append AM_CXXFLAGS " $flag"
18119     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CXXFLAGS=\"\$AM_CXXFLAGS\""; } >&5
18120  (: AM_CXXFLAGS="$AM_CXXFLAGS") 2>&5
18121  ac_status=$?
18122  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18123  test $ac_status = 0; }
18124     ;;
18125esac
18126
18127else $as_nop
18128
18129  AM_CXXFLAGS=$flag
18130  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CXXFLAGS=\"\$AM_CXXFLAGS\""; } >&5
18131  (: AM_CXXFLAGS="$AM_CXXFLAGS") 2>&5
18132  ac_status=$?
18133  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18134  test $ac_status = 0; }
18135
18136fi
18137
18138else $as_nop
18139  :
18140fi
18141
18142done
18143
18144
18145
18146
18147
18148for flag in -fno-strict-aliasing; do
18149  as_CACHEVAR=`printf "%s\n" "ax_cv_check_cxxflags__$flag" | $as_tr_sh`
18150{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler accepts $flag" >&5
18151printf %s "checking whether C++ compiler accepts $flag... " >&6; }
18152if eval test \${$as_CACHEVAR+y}
18153then :
18154  printf %s "(cached) " >&6
18155else $as_nop
18156
18157  ax_check_save_flags=$CXXFLAGS
18158  CXXFLAGS="$CXXFLAGS  -Werror $flag"
18159  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18160/* end confdefs.h.  */
18161int main(void) { return 0; }
18162_ACEOF
18163if ac_fn_cxx_try_compile "$LINENO"
18164then :
18165  eval "$as_CACHEVAR=yes"
18166else $as_nop
18167  eval "$as_CACHEVAR=no"
18168fi
18169rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18170  CXXFLAGS=$ax_check_save_flags
18171fi
18172eval ac_res=\$$as_CACHEVAR
18173	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
18174printf "%s\n" "$ac_res" >&6; }
18175if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
18176then :
18177
18178if test ${AM_CXXFLAGS+y}
18179then :
18180
18181  case " $AM_CXXFLAGS " in #(
18182  *" $flag "*) :
18183    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CXXFLAGS already contains \$flag"; } >&5
18184  (: AM_CXXFLAGS already contains $flag) 2>&5
18185  ac_status=$?
18186  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18187  test $ac_status = 0; } ;; #(
18188  *) :
18189
18190     as_fn_append AM_CXXFLAGS " $flag"
18191     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CXXFLAGS=\"\$AM_CXXFLAGS\""; } >&5
18192  (: AM_CXXFLAGS="$AM_CXXFLAGS") 2>&5
18193  ac_status=$?
18194  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18195  test $ac_status = 0; }
18196     ;;
18197esac
18198
18199else $as_nop
18200
18201  AM_CXXFLAGS=$flag
18202  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CXXFLAGS=\"\$AM_CXXFLAGS\""; } >&5
18203  (: AM_CXXFLAGS="$AM_CXXFLAGS") 2>&5
18204  ac_status=$?
18205  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18206  test $ac_status = 0; }
18207
18208fi
18209
18210else $as_nop
18211  :
18212fi
18213
18214done
18215
18216fi
18217ac_ext=c
18218ac_cpp='$CPP $CPPFLAGS'
18219ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18220ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18221ac_compiler_gnu=$ac_cv_c_compiler_gnu
18222
18223
18224if test "$GCC" = yes
18225then :
18226
18227
18228
18229
18230for flag in -fno-strict-aliasing; do
18231  as_CACHEVAR=`printf "%s\n" "ax_cv_check_ldflags__$flag" | $as_tr_sh`
18232{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts $flag" >&5
18233printf %s "checking whether the linker accepts $flag... " >&6; }
18234if eval test \${$as_CACHEVAR+y}
18235then :
18236  printf %s "(cached) " >&6
18237else $as_nop
18238
18239  ax_check_save_flags=$LDFLAGS
18240  LDFLAGS="$LDFLAGS  $flag"
18241  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18242/* end confdefs.h.  */
18243
18244int
18245main (void)
18246{
18247
18248  ;
18249  return 0;
18250}
18251_ACEOF
18252if ac_fn_c_try_link "$LINENO"
18253then :
18254  eval "$as_CACHEVAR=yes"
18255else $as_nop
18256  eval "$as_CACHEVAR=no"
18257fi
18258rm -f core conftest.err conftest.$ac_objext conftest.beam \
18259    conftest$ac_exeext conftest.$ac_ext
18260  LDFLAGS=$ax_check_save_flags
18261fi
18262eval ac_res=\$$as_CACHEVAR
18263	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
18264printf "%s\n" "$ac_res" >&6; }
18265if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
18266then :
18267
18268if test ${AM_LDFLAGS+y}
18269then :
18270
18271  case " $AM_LDFLAGS " in #(
18272  *" $flag "*) :
18273    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS already contains \$flag"; } >&5
18274  (: AM_LDFLAGS already contains $flag) 2>&5
18275  ac_status=$?
18276  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18277  test $ac_status = 0; } ;; #(
18278  *) :
18279
18280     as_fn_append AM_LDFLAGS " $flag"
18281     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS=\"\$AM_LDFLAGS\""; } >&5
18282  (: AM_LDFLAGS="$AM_LDFLAGS") 2>&5
18283  ac_status=$?
18284  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18285  test $ac_status = 0; }
18286     ;;
18287esac
18288
18289else $as_nop
18290
18291  AM_LDFLAGS=$flag
18292  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS=\"\$AM_LDFLAGS\""; } >&5
18293  (: AM_LDFLAGS="$AM_LDFLAGS") 2>&5
18294  ac_status=$?
18295  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18296  test $ac_status = 0; }
18297
18298fi
18299
18300else $as_nop
18301  :
18302fi
18303
18304done
18305
18306fi
18307
18308case "$LD" in #(
18309  *clang*) :
18310    case "${host_os}" in #(
18311  *linux*) :
18312    archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' ;; #(
18313  *) :
18314     ;;
18315esac ;; #(
18316  *) :
18317     ;;
18318esac
18319
18320{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports visibility" >&5
18321printf %s "checking whether compiler supports visibility... " >&6; }
18322if test ${expatcfg_cv_compiler_supports_visibility+y}
18323then :
18324  printf %s "(cached) " >&6
18325else $as_nop
18326  expatcfg_cv_compiler_supports_visibility=no
18327      OLDFLAGS=$CFLAGS
18328      as_fn_append CFLAGS " -fvisibility=hidden -Wall -Werror -Wno-unknown-warning-option"
18329      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18330/* end confdefs.h.  */
18331
18332          void __attribute__((visibility("default"))) foo(void);
18333          void foo(void) {}
18334
18335_ACEOF
18336if ac_fn_c_try_compile "$LINENO"
18337then :
18338  expatcfg_cv_compiler_supports_visibility=yes
18339fi
18340rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18341      CFLAGS=$OLDFLAGS
18342fi
18343{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $expatcfg_cv_compiler_supports_visibility" >&5
18344printf "%s\n" "$expatcfg_cv_compiler_supports_visibility" >&6; }
18345   if test "$expatcfg_cv_compiler_supports_visibility" = yes
18346then :
18347
18348
18349if test ${AM_CFLAGS+y}
18350then :
18351
18352  case " $AM_CFLAGS " in #(
18353  *" -fvisibility=hidden "*) :
18354    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS already contains -fvisibility=hidden"; } >&5
18355  (: AM_CFLAGS already contains -fvisibility=hidden) 2>&5
18356  ac_status=$?
18357  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18358  test $ac_status = 0; } ;; #(
18359  *) :
18360
18361     as_fn_append AM_CFLAGS " -fvisibility=hidden"
18362     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS=\"\$AM_CFLAGS\""; } >&5
18363  (: AM_CFLAGS="$AM_CFLAGS") 2>&5
18364  ac_status=$?
18365  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18366  test $ac_status = 0; }
18367     ;;
18368esac
18369
18370else $as_nop
18371
18372  AM_CFLAGS=-fvisibility=hidden
18373  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS=\"\$AM_CFLAGS\""; } >&5
18374  (: AM_CFLAGS="$AM_CFLAGS") 2>&5
18375  ac_status=$?
18376  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18377  test $ac_status = 0; }
18378
18379fi
18380
18381
18382if test ${AM_CPPFLAGS+y}
18383then :
18384
18385  case " $AM_CPPFLAGS " in #(
18386  *" -DXML_ENABLE_VISIBILITY=1 "*) :
18387    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CPPFLAGS already contains -DXML_ENABLE_VISIBILITY=1"; } >&5
18388  (: AM_CPPFLAGS already contains -DXML_ENABLE_VISIBILITY=1) 2>&5
18389  ac_status=$?
18390  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18391  test $ac_status = 0; } ;; #(
18392  *) :
18393
18394     as_fn_append AM_CPPFLAGS " -DXML_ENABLE_VISIBILITY=1"
18395     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CPPFLAGS=\"\$AM_CPPFLAGS\""; } >&5
18396  (: AM_CPPFLAGS="$AM_CPPFLAGS") 2>&5
18397  ac_status=$?
18398  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18399  test $ac_status = 0; }
18400     ;;
18401esac
18402
18403else $as_nop
18404
18405  AM_CPPFLAGS=-DXML_ENABLE_VISIBILITY=1
18406  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_CPPFLAGS=\"\$AM_CPPFLAGS\""; } >&5
18407  (: AM_CPPFLAGS="$AM_CPPFLAGS") 2>&5
18408  ac_status=$?
18409  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18410  test $ac_status = 0; }
18411
18412fi
18413
18414fi
18415
18416
18417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
18418printf %s "checking whether byte ordering is bigendian... " >&6; }
18419if test ${ac_cv_c_bigendian+y}
18420then :
18421  printf %s "(cached) " >&6
18422else $as_nop
18423  ac_cv_c_bigendian=unknown
18424    # See if we're dealing with a universal compiler.
18425    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18426/* end confdefs.h.  */
18427#ifndef __APPLE_CC__
18428	       not a universal capable compiler
18429	     #endif
18430	     typedef int dummy;
18431
18432_ACEOF
18433if ac_fn_c_try_compile "$LINENO"
18434then :
18435
18436	# Check for potential -arch flags.  It is not universal unless
18437	# there are at least two -arch flags with different values.
18438	ac_arch=
18439	ac_prev=
18440	for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
18441	 if test -n "$ac_prev"; then
18442	   case $ac_word in
18443	     i?86 | x86_64 | ppc | ppc64)
18444	       if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
18445		 ac_arch=$ac_word
18446	       else
18447		 ac_cv_c_bigendian=universal
18448		 break
18449	       fi
18450	       ;;
18451	   esac
18452	   ac_prev=
18453	 elif test "x$ac_word" = "x-arch"; then
18454	   ac_prev=arch
18455	 fi
18456       done
18457fi
18458rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18459    if test $ac_cv_c_bigendian = unknown; then
18460      # See if sys/param.h defines the BYTE_ORDER macro.
18461      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18462/* end confdefs.h.  */
18463#include <sys/types.h>
18464	     #include <sys/param.h>
18465
18466int
18467main (void)
18468{
18469#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
18470		     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
18471		     && LITTLE_ENDIAN)
18472	      bogus endian macros
18473	     #endif
18474
18475  ;
18476  return 0;
18477}
18478_ACEOF
18479if ac_fn_c_try_compile "$LINENO"
18480then :
18481  # It does; now see whether it defined to BIG_ENDIAN or not.
18482	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18483/* end confdefs.h.  */
18484#include <sys/types.h>
18485		#include <sys/param.h>
18486
18487int
18488main (void)
18489{
18490#if BYTE_ORDER != BIG_ENDIAN
18491		 not big endian
18492		#endif
18493
18494  ;
18495  return 0;
18496}
18497_ACEOF
18498if ac_fn_c_try_compile "$LINENO"
18499then :
18500  ac_cv_c_bigendian=yes
18501else $as_nop
18502  ac_cv_c_bigendian=no
18503fi
18504rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18505fi
18506rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18507    fi
18508    if test $ac_cv_c_bigendian = unknown; then
18509      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
18510      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18511/* end confdefs.h.  */
18512#include <limits.h>
18513
18514int
18515main (void)
18516{
18517#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
18518	      bogus endian macros
18519	     #endif
18520
18521  ;
18522  return 0;
18523}
18524_ACEOF
18525if ac_fn_c_try_compile "$LINENO"
18526then :
18527  # It does; now see whether it defined to _BIG_ENDIAN or not.
18528	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18529/* end confdefs.h.  */
18530#include <limits.h>
18531
18532int
18533main (void)
18534{
18535#ifndef _BIG_ENDIAN
18536		 not big endian
18537		#endif
18538
18539  ;
18540  return 0;
18541}
18542_ACEOF
18543if ac_fn_c_try_compile "$LINENO"
18544then :
18545  ac_cv_c_bigendian=yes
18546else $as_nop
18547  ac_cv_c_bigendian=no
18548fi
18549rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18550fi
18551rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18552    fi
18553    if test $ac_cv_c_bigendian = unknown; then
18554      # Compile a test program.
18555      if test "$cross_compiling" = yes
18556then :
18557  # Try to guess by grepping values from an object file.
18558	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18559/* end confdefs.h.  */
18560unsigned short int ascii_mm[] =
18561		  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
18562		unsigned short int ascii_ii[] =
18563		  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
18564		int use_ascii (int i) {
18565		  return ascii_mm[i] + ascii_ii[i];
18566		}
18567		unsigned short int ebcdic_ii[] =
18568		  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
18569		unsigned short int ebcdic_mm[] =
18570		  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
18571		int use_ebcdic (int i) {
18572		  return ebcdic_mm[i] + ebcdic_ii[i];
18573		}
18574		extern int foo;
18575
18576int
18577main (void)
18578{
18579return use_ascii (foo) == use_ebcdic (foo);
18580  ;
18581  return 0;
18582}
18583_ACEOF
18584if ac_fn_c_try_compile "$LINENO"
18585then :
18586  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
18587	      ac_cv_c_bigendian=yes
18588	    fi
18589	    if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
18590	      if test "$ac_cv_c_bigendian" = unknown; then
18591		ac_cv_c_bigendian=no
18592	      else
18593		# finding both strings is unlikely to happen, but who knows?
18594		ac_cv_c_bigendian=unknown
18595	      fi
18596	    fi
18597fi
18598rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18599else $as_nop
18600  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18601/* end confdefs.h.  */
18602$ac_includes_default
18603int
18604main (void)
18605{
18606
18607	     /* Are we little or big endian?  From Harbison&Steele.  */
18608	     union
18609	     {
18610	       long int l;
18611	       char c[sizeof (long int)];
18612	     } u;
18613	     u.l = 1;
18614	     return u.c[sizeof (long int) - 1] == 1;
18615
18616  ;
18617  return 0;
18618}
18619_ACEOF
18620if ac_fn_c_try_run "$LINENO"
18621then :
18622  ac_cv_c_bigendian=no
18623else $as_nop
18624  ac_cv_c_bigendian=yes
18625fi
18626rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18627  conftest.$ac_objext conftest.beam conftest.$ac_ext
18628fi
18629
18630    fi
18631fi
18632{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
18633printf "%s\n" "$ac_cv_c_bigendian" >&6; }
18634 case $ac_cv_c_bigendian in #(
18635   yes)
18636     printf "%s\n" "#define WORDS_BIGENDIAN 1" >>confdefs.h
18637
18638                BYTEORDER=4321;; #(
18639   no)
18640     BYTEORDER=1234 ;; #(
18641   universal)
18642
18643printf "%s\n" "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
18644
18645     ;; #(
18646   *)
18647     as_fn_error $? "unknown endianness
18648 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
18649 esac
18650
18651
18652printf "%s\n" "#define BYTEORDER $BYTEORDER" >>confdefs.h
18653
18654
18655{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
18656printf %s "checking for an ANSI C-conforming const... " >&6; }
18657if test ${ac_cv_c_const+y}
18658then :
18659  printf %s "(cached) " >&6
18660else $as_nop
18661  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18662/* end confdefs.h.  */
18663
18664int
18665main (void)
18666{
18667
18668#ifndef __cplusplus
18669  /* Ultrix mips cc rejects this sort of thing.  */
18670  typedef int charset[2];
18671  const charset cs = { 0, 0 };
18672  /* SunOS 4.1.1 cc rejects this.  */
18673  char const *const *pcpcc;
18674  char **ppc;
18675  /* NEC SVR4.0.2 mips cc rejects this.  */
18676  struct point {int x, y;};
18677  static struct point const zero = {0,0};
18678  /* IBM XL C 1.02.0.0 rejects this.
18679     It does not let you subtract one const X* pointer from another in
18680     an arm of an if-expression whose if-part is not a constant
18681     expression */
18682  const char *g = "string";
18683  pcpcc = &g + (g ? g-g : 0);
18684  /* HPUX 7.0 cc rejects these. */
18685  ++pcpcc;
18686  ppc = (char**) pcpcc;
18687  pcpcc = (char const *const *) ppc;
18688  { /* SCO 3.2v4 cc rejects this sort of thing.  */
18689    char tx;
18690    char *t = &tx;
18691    char const *s = 0 ? (char *) 0 : (char const *) 0;
18692
18693    *t++ = 0;
18694    if (s) return 0;
18695  }
18696  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
18697    int x[] = {25, 17};
18698    const int *foo = &x[0];
18699    ++foo;
18700  }
18701  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18702    typedef const int *iptr;
18703    iptr p = 0;
18704    ++p;
18705  }
18706  { /* IBM XL C 1.02.0.0 rejects this sort of thing, saying
18707       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18708    struct s { int j; const int *ap[3]; } bx;
18709    struct s *b = &bx; b->j = 5;
18710  }
18711  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18712    const int foo = 10;
18713    if (!foo) return 0;
18714  }
18715  return !cs[0] && !zero.x;
18716#endif
18717
18718  ;
18719  return 0;
18720}
18721_ACEOF
18722if ac_fn_c_try_compile "$LINENO"
18723then :
18724  ac_cv_c_const=yes
18725else $as_nop
18726  ac_cv_c_const=no
18727fi
18728rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18729fi
18730{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
18731printf "%s\n" "$ac_cv_c_const" >&6; }
18732if test $ac_cv_c_const = no; then
18733
18734printf "%s\n" "#define const /**/" >>confdefs.h
18735
18736fi
18737
18738ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
18739if test "x$ac_cv_type_size_t" = xyes
18740then :
18741
18742else $as_nop
18743
18744printf "%s\n" "#define size_t unsigned int" >>confdefs.h
18745
18746fi
18747
18748
18749
18750# Check whether --with-xmlwf was given.
18751if test ${with_xmlwf+y}
18752then :
18753  withval=$with_xmlwf;
18754else $as_nop
18755  with_xmlwf=yes
18756fi
18757
18758 if test x${with_xmlwf} = xyes; then
18759  WITH_XMLWF_TRUE=
18760  WITH_XMLWF_FALSE='#'
18761else
18762  WITH_XMLWF_TRUE='#'
18763  WITH_XMLWF_FALSE=
18764fi
18765
18766
18767
18768# Check whether --with-examples was given.
18769if test ${with_examples+y}
18770then :
18771  withval=$with_examples;
18772else $as_nop
18773  with_examples=yes
18774fi
18775
18776 if test x${with_examples} = xyes; then
18777  WITH_EXAMPLES_TRUE=
18778  WITH_EXAMPLES_FALSE='#'
18779else
18780  WITH_EXAMPLES_TRUE='#'
18781  WITH_EXAMPLES_FALSE=
18782fi
18783
18784
18785
18786# Check whether --with-tests was given.
18787if test ${with_tests+y}
18788then :
18789  withval=$with_tests;
18790else $as_nop
18791  with_tests=yes
18792fi
18793
18794 if test x${with_tests} = xyes; then
18795  WITH_TESTS_TRUE=
18796  WITH_TESTS_FALSE='#'
18797else
18798  WITH_TESTS_TRUE='#'
18799  WITH_TESTS_FALSE=
18800fi
18801
18802
18803
18804EXPATCFG_ON_MINGW=no
18805case "${host_os}" in #(
18806  mingw*) :
18807    EXPATCFG_ON_MINGW=yes
18808   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: detected OS: MinGW" >&5
18809printf "%s\n" "$as_me: detected OS: MinGW" >&6;} ;; #(
18810  *) :
18811     ;;
18812esac
18813 if test x${EXPATCFG_ON_MINGW} = xyes; then
18814  MINGW_TRUE=
18815  MINGW_FALSE='#'
18816else
18817  MINGW_TRUE='#'
18818  MINGW_FALSE=
18819fi
18820
18821
18822 if echo -- "${CPPFLAGS}${CFLAGS}" | ${FGREP} XML_UNICODE >/dev/null; then
18823  UNICODE_TRUE=
18824  UNICODE_FALSE='#'
18825else
18826  UNICODE_TRUE='#'
18827  UNICODE_FALSE=
18828fi
18829
18830 if echo -- "${CPPFLAGS}${CFLAGS}" | ${FGREP} XML_UNICODE_WCHAR_T >/dev/null; then
18831  _INTERNAL_UNICODE_WCHAR_T_TRUE=
18832  _INTERNAL_UNICODE_WCHAR_T_FALSE='#'
18833else
18834  _INTERNAL_UNICODE_WCHAR_T_TRUE='#'
18835  _INTERNAL_UNICODE_WCHAR_T_FALSE=
18836fi
18837
18838 if echo -- "${CPPFLAGS}${CFLAGS}" | ${FGREP} XML_MIN_SIZE >/dev/null; then
18839  _INTERNAL_MIN_SIZE_TRUE=
18840  _INTERNAL_MIN_SIZE_FALSE='#'
18841else
18842  _INTERNAL_MIN_SIZE_TRUE='#'
18843  _INTERNAL_MIN_SIZE_FALSE=
18844fi
18845
18846 if echo -- "${CPPFLAGS}${CFLAGS}" | ${FGREP} XML_LARGE_SIZE >/dev/null; then
18847  _INTERNAL_LARGE_SIZE_TRUE=
18848  _INTERNAL_LARGE_SIZE_FALSE='#'
18849else
18850  _INTERNAL_LARGE_SIZE_TRUE='#'
18851  _INTERNAL_LARGE_SIZE_FALSE=
18852fi
18853
18854
18855LIBM=
18856case $host in
18857*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
18858  # These system don't have libm, or don't need it
18859  ;;
18860*-ncr-sysv4.3*)
18861  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
18862printf %s "checking for _mwvalidcheckl in -lmw... " >&6; }
18863if test ${ac_cv_lib_mw__mwvalidcheckl+y}
18864then :
18865  printf %s "(cached) " >&6
18866else $as_nop
18867  ac_check_lib_save_LIBS=$LIBS
18868LIBS="-lmw  $LIBS"
18869cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18870/* end confdefs.h.  */
18871
18872/* Override any GCC internal prototype to avoid an error.
18873   Use char because int might match the return type of a GCC
18874   builtin and then its argument prototype would still apply.  */
18875char _mwvalidcheckl ();
18876int
18877main (void)
18878{
18879return _mwvalidcheckl ();
18880  ;
18881  return 0;
18882}
18883_ACEOF
18884if ac_fn_c_try_link "$LINENO"
18885then :
18886  ac_cv_lib_mw__mwvalidcheckl=yes
18887else $as_nop
18888  ac_cv_lib_mw__mwvalidcheckl=no
18889fi
18890rm -f core conftest.err conftest.$ac_objext conftest.beam \
18891    conftest$ac_exeext conftest.$ac_ext
18892LIBS=$ac_check_lib_save_LIBS
18893fi
18894{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
18895printf "%s\n" "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
18896if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes
18897then :
18898  LIBM=-lmw
18899fi
18900
18901  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
18902printf %s "checking for cos in -lm... " >&6; }
18903if test ${ac_cv_lib_m_cos+y}
18904then :
18905  printf %s "(cached) " >&6
18906else $as_nop
18907  ac_check_lib_save_LIBS=$LIBS
18908LIBS="-lm  $LIBS"
18909cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18910/* end confdefs.h.  */
18911
18912/* Override any GCC internal prototype to avoid an error.
18913   Use char because int might match the return type of a GCC
18914   builtin and then its argument prototype would still apply.  */
18915char cos ();
18916int
18917main (void)
18918{
18919return cos ();
18920  ;
18921  return 0;
18922}
18923_ACEOF
18924if ac_fn_c_try_link "$LINENO"
18925then :
18926  ac_cv_lib_m_cos=yes
18927else $as_nop
18928  ac_cv_lib_m_cos=no
18929fi
18930rm -f core conftest.err conftest.$ac_objext conftest.beam \
18931    conftest$ac_exeext conftest.$ac_ext
18932LIBS=$ac_check_lib_save_LIBS
18933fi
18934{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
18935printf "%s\n" "$ac_cv_lib_m_cos" >&6; }
18936if test "x$ac_cv_lib_m_cos" = xyes
18937then :
18938  LIBM="$LIBM -lm"
18939fi
18940
18941  ;;
18942*)
18943  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
18944printf %s "checking for cos in -lm... " >&6; }
18945if test ${ac_cv_lib_m_cos+y}
18946then :
18947  printf %s "(cached) " >&6
18948else $as_nop
18949  ac_check_lib_save_LIBS=$LIBS
18950LIBS="-lm  $LIBS"
18951cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18952/* end confdefs.h.  */
18953
18954/* Override any GCC internal prototype to avoid an error.
18955   Use char because int might match the return type of a GCC
18956   builtin and then its argument prototype would still apply.  */
18957char cos ();
18958int
18959main (void)
18960{
18961return cos ();
18962  ;
18963  return 0;
18964}
18965_ACEOF
18966if ac_fn_c_try_link "$LINENO"
18967then :
18968  ac_cv_lib_m_cos=yes
18969else $as_nop
18970  ac_cv_lib_m_cos=no
18971fi
18972rm -f core conftest.err conftest.$ac_objext conftest.beam \
18973    conftest$ac_exeext conftest.$ac_ext
18974LIBS=$ac_check_lib_save_LIBS
18975fi
18976{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
18977printf "%s\n" "$ac_cv_lib_m_cos" >&6; }
18978if test "x$ac_cv_lib_m_cos" = xyes
18979then :
18980  LIBM=-lm
18981fi
18982
18983  ;;
18984esac
18985
18986
18987
18988
18989# Check whether --with-libbsd was given.
18990if test ${with_libbsd+y}
18991then :
18992  withval=$with_libbsd;
18993else $as_nop
18994  with_libbsd=no
18995fi
18996
18997if test "x${with_libbsd}" != xno
18998then :
18999  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for arc4random_buf in -lbsd" >&5
19000printf %s "checking for arc4random_buf in -lbsd... " >&6; }
19001if test ${ac_cv_lib_bsd_arc4random_buf+y}
19002then :
19003  printf %s "(cached) " >&6
19004else $as_nop
19005  ac_check_lib_save_LIBS=$LIBS
19006LIBS="-lbsd  $LIBS"
19007cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19008/* end confdefs.h.  */
19009
19010/* Override any GCC internal prototype to avoid an error.
19011   Use char because int might match the return type of a GCC
19012   builtin and then its argument prototype would still apply.  */
19013char arc4random_buf ();
19014int
19015main (void)
19016{
19017return arc4random_buf ();
19018  ;
19019  return 0;
19020}
19021_ACEOF
19022if ac_fn_c_try_link "$LINENO"
19023then :
19024  ac_cv_lib_bsd_arc4random_buf=yes
19025else $as_nop
19026  ac_cv_lib_bsd_arc4random_buf=no
19027fi
19028rm -f core conftest.err conftest.$ac_objext conftest.beam \
19029    conftest$ac_exeext conftest.$ac_ext
19030LIBS=$ac_check_lib_save_LIBS
19031fi
19032{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_arc4random_buf" >&5
19033printf "%s\n" "$ac_cv_lib_bsd_arc4random_buf" >&6; }
19034if test "x$ac_cv_lib_bsd_arc4random_buf" = xyes
19035then :
19036  printf "%s\n" "#define HAVE_LIBBSD 1" >>confdefs.h
19037
19038  LIBS="-lbsd $LIBS"
19039
19040else $as_nop
19041  if test "x${with_libbsd}" = xyes
19042then :
19043  as_fn_error $? "Enforced use of libbsd cannot be satisfied." "$LINENO" 5
19044fi
19045fi
19046
19047fi
19048{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for arc4random_buf (BSD or libbsd)" >&5
19049printf %s "checking for arc4random_buf (BSD or libbsd)... " >&6; }
19050cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19051/* end confdefs.h.  */
19052
19053    #include <stdlib.h>  /* for arc4random_buf on BSD, for NULL */
19054    #if defined(HAVE_LIBBSD)
19055    # include <bsd/stdlib.h>
19056    #endif
19057    int main() {
19058      arc4random_buf(NULL, 0U);
19059      return 0;
19060    }
19061
19062_ACEOF
19063if ac_fn_c_try_link "$LINENO"
19064then :
19065
19066printf "%s\n" "#define HAVE_ARC4RANDOM_BUF 1" >>confdefs.h
19067
19068   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19069printf "%s\n" "yes" >&6; }
19070else $as_nop
19071  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19072printf "%s\n" "no" >&6; }
19073
19074   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for arc4random (BSD, macOS or libbsd)" >&5
19075printf %s "checking for arc4random (BSD, macOS or libbsd)... " >&6; }
19076   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19077/* end confdefs.h.  */
19078
19079       #if defined(HAVE_LIBBSD)
19080       # include <bsd/stdlib.h>
19081       #else
19082       # include <stdlib.h>
19083       #endif
19084       int main() {
19085          arc4random();
19086          return 0;
19087       }
19088
19089_ACEOF
19090if ac_fn_c_try_link "$LINENO"
19091then :
19092
19093printf "%s\n" "#define HAVE_ARC4RANDOM 1" >>confdefs.h
19094
19095      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19096printf "%s\n" "yes" >&6; }
19097else $as_nop
19098  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19099printf "%s\n" "no" >&6; }
19100fi
19101rm -f core conftest.err conftest.$ac_objext conftest.beam \
19102    conftest$ac_exeext conftest.$ac_ext
19103fi
19104rm -f core conftest.err conftest.$ac_objext conftest.beam \
19105    conftest$ac_exeext conftest.$ac_ext
19106
19107
19108# Check whether --with-getrandom was given.
19109if test ${with_getrandom+y}
19110then :
19111  withval=$with_getrandom;
19112else $as_nop
19113  with_getrandom=check
19114fi
19115
19116
19117if test "x$with_getrandom" != xno
19118then :
19119  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for getrandom (Linux 3.17+, glibc 2.25+)" >&5
19120printf %s "checking for getrandom (Linux 3.17+, glibc 2.25+)... " >&6; }
19121   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19122/* end confdefs.h.  */
19123
19124       #include <stdlib.h>  /* for NULL */
19125       #include <sys/random.h>
19126       int main() {
19127         return getrandom(NULL, 0U, 0U);
19128       }
19129
19130_ACEOF
19131if ac_fn_c_try_link "$LINENO"
19132then :
19133
19134printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19135
19136      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19137printf "%s\n" "yes" >&6; }
19138else $as_nop
19139  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19140printf "%s\n" "no" >&6; }
19141      if test "x$with_getrandom" = xyes
19142then :
19143  as_fn_error $? "enforced the use of getrandom --with-getrandom, but not detected" "$LINENO" 5
19144fi
19145fi
19146rm -f core conftest.err conftest.$ac_objext conftest.beam \
19147    conftest$ac_exeext conftest.$ac_ext
19148fi
19149
19150
19151# Check whether --with-sys_getrandom was given.
19152if test ${with_sys_getrandom+y}
19153then :
19154  withval=$with_sys_getrandom;
19155else $as_nop
19156  with_sys_getrandom=check
19157fi
19158
19159
19160if test "x$with_sys_getrandom" != xno
19161then :
19162  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for syscall SYS_getrandom (Linux 3.17+)" >&5
19163printf %s "checking for syscall SYS_getrandom (Linux 3.17+)... " >&6; }
19164   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19165/* end confdefs.h.  */
19166
19167       #include <stdlib.h>  /* for NULL */
19168       #include <unistd.h>  /* for syscall */
19169       #include <sys/syscall.h>  /* for SYS_getrandom */
19170       int main() {
19171         syscall(SYS_getrandom, NULL, 0, 0);
19172         return 0;
19173     }
19174
19175_ACEOF
19176if ac_fn_c_try_link "$LINENO"
19177then :
19178
19179printf "%s\n" "#define HAVE_SYSCALL_GETRANDOM 1" >>confdefs.h
19180
19181      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19182printf "%s\n" "yes" >&6; }
19183else $as_nop
19184  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19185printf "%s\n" "no" >&6; }
19186      if test "x$with_sys_getrandom" = xyes
19187then :
19188  as_fn_error $? "enforced the use of syscall SYS_getrandom --with-sys-getrandom, but not detected" "$LINENO" 5
19189fi
19190fi
19191rm -f core conftest.err conftest.$ac_objext conftest.beam \
19192    conftest$ac_exeext conftest.$ac_ext
19193fi
19194
19195ac_fn_c_check_header_compile "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default"
19196if test "x$ac_cv_header_fcntl_h" = xyes
19197then :
19198  printf "%s\n" "#define HAVE_FCNTL_H 1" >>confdefs.h
19199
19200fi
19201ac_fn_c_check_header_compile "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19202if test "x$ac_cv_header_unistd_h" = xyes
19203then :
19204  printf "%s\n" "#define HAVE_UNISTD_H 1" >>confdefs.h
19205
19206fi
19207
19208ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
19209if test "x$ac_cv_type_off_t" = xyes
19210then :
19211
19212else $as_nop
19213
19214printf "%s\n" "#define off_t long int" >>confdefs.h
19215
19216fi
19217
19218
19219ac_func=
19220for ac_item in $ac_func_c_list
19221do
19222  if test $ac_func; then
19223    ac_fn_c_check_func "$LINENO" $ac_func ac_cv_func_$ac_func
19224    if eval test \"x\$ac_cv_func_$ac_func\" = xyes; then
19225      echo "#define $ac_item 1" >> confdefs.h
19226    fi
19227    ac_func=
19228  else
19229    ac_func=$ac_item
19230  fi
19231done
19232
19233
19234{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
19235printf %s "checking for working mmap... " >&6; }
19236if test ${ac_cv_func_mmap_fixed_mapped+y}
19237then :
19238  printf %s "(cached) " >&6
19239else $as_nop
19240  if test "$cross_compiling" = yes
19241then :
19242  case "$host_os" in # ((
19243			  # Guess yes on platforms where we know the result.
19244		  linux*) ac_cv_func_mmap_fixed_mapped=yes ;;
19245			  # If we don't know, assume the worst.
19246		  *)      ac_cv_func_mmap_fixed_mapped=no ;;
19247		esac
19248else $as_nop
19249  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19250/* end confdefs.h.  */
19251$ac_includes_default
19252/* malloc might have been renamed as rpl_malloc. */
19253#undef malloc
19254
19255/* Thanks to Mike Haertel and Jim Avera for this test.
19256   Here is a matrix of mmap possibilities:
19257	mmap private not fixed
19258	mmap private fixed at somewhere currently unmapped
19259	mmap private fixed at somewhere already mapped
19260	mmap shared not fixed
19261	mmap shared fixed at somewhere currently unmapped
19262	mmap shared fixed at somewhere already mapped
19263   For private mappings, we should verify that changes cannot be read()
19264   back from the file, nor mmap's back from the file at a different
19265   address.  (There have been systems where private was not correctly
19266   implemented like the infamous i386 svr4.0, and systems where the
19267   VM page cache was not coherent with the file system buffer cache
19268   like early versions of FreeBSD and possibly contemporary NetBSD.)
19269   For shared mappings, we should conversely verify that changes get
19270   propagated back to all the places they're supposed to be.
19271
19272   Grep wants private fixed already mapped.
19273   The main things grep needs to know about mmap are:
19274   * does it exist and is it safe to write into the mmap'd area
19275   * how to use it (BSD variants)  */
19276
19277#include <fcntl.h>
19278#include <sys/mman.h>
19279
19280/* This mess was copied from the GNU getpagesize.h.  */
19281#ifndef HAVE_GETPAGESIZE
19282# ifdef _SC_PAGESIZE
19283#  define getpagesize() sysconf(_SC_PAGESIZE)
19284# else /* no _SC_PAGESIZE */
19285#  ifdef HAVE_SYS_PARAM_H
19286#   include <sys/param.h>
19287#   ifdef EXEC_PAGESIZE
19288#    define getpagesize() EXEC_PAGESIZE
19289#   else /* no EXEC_PAGESIZE */
19290#    ifdef NBPG
19291#     define getpagesize() NBPG * CLSIZE
19292#     ifndef CLSIZE
19293#      define CLSIZE 1
19294#     endif /* no CLSIZE */
19295#    else /* no NBPG */
19296#     ifdef NBPC
19297#      define getpagesize() NBPC
19298#     else /* no NBPC */
19299#      ifdef PAGESIZE
19300#       define getpagesize() PAGESIZE
19301#      endif /* PAGESIZE */
19302#     endif /* no NBPC */
19303#    endif /* no NBPG */
19304#   endif /* no EXEC_PAGESIZE */
19305#  else /* no HAVE_SYS_PARAM_H */
19306#   define getpagesize() 8192	/* punt totally */
19307#  endif /* no HAVE_SYS_PARAM_H */
19308# endif /* no _SC_PAGESIZE */
19309
19310#endif /* no HAVE_GETPAGESIZE */
19311
19312int
19313main (void)
19314{
19315  char *data, *data2, *data3;
19316  const char *cdata2;
19317  int i, pagesize;
19318  int fd, fd2;
19319
19320  pagesize = getpagesize ();
19321
19322  /* First, make a file with some known garbage in it. */
19323  data = (char *) malloc (pagesize);
19324  if (!data)
19325    return 1;
19326  for (i = 0; i < pagesize; ++i)
19327    *(data + i) = rand ();
19328  umask (0);
19329  fd = creat ("conftest.mmap", 0600);
19330  if (fd < 0)
19331    return 2;
19332  if (write (fd, data, pagesize) != pagesize)
19333    return 3;
19334  close (fd);
19335
19336  /* Next, check that the tail of a page is zero-filled.  File must have
19337     non-zero length, otherwise we risk SIGBUS for entire page.  */
19338  fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
19339  if (fd2 < 0)
19340    return 4;
19341  cdata2 = "";
19342  if (write (fd2, cdata2, 1) != 1)
19343    return 5;
19344  data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
19345  if (data2 == MAP_FAILED)
19346    return 6;
19347  for (i = 0; i < pagesize; ++i)
19348    if (*(data2 + i))
19349      return 7;
19350  close (fd2);
19351  if (munmap (data2, pagesize))
19352    return 8;
19353
19354  /* Next, try to mmap the file at a fixed address which already has
19355     something else allocated at it.  If we can, also make sure that
19356     we see the same garbage.  */
19357  fd = open ("conftest.mmap", O_RDWR);
19358  if (fd < 0)
19359    return 9;
19360  if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
19361		     MAP_PRIVATE | MAP_FIXED, fd, 0L))
19362    return 10;
19363  for (i = 0; i < pagesize; ++i)
19364    if (*(data + i) != *(data2 + i))
19365      return 11;
19366
19367  /* Finally, make sure that changes to the mapped area do not
19368     percolate back to the file as seen by read().  (This is a bug on
19369     some variants of i386 svr4.0.)  */
19370  for (i = 0; i < pagesize; ++i)
19371    *(data2 + i) = *(data2 + i) + 1;
19372  data3 = (char *) malloc (pagesize);
19373  if (!data3)
19374    return 12;
19375  if (read (fd, data3, pagesize) != pagesize)
19376    return 13;
19377  for (i = 0; i < pagesize; ++i)
19378    if (*(data + i) != *(data3 + i))
19379      return 14;
19380  close (fd);
19381  free (data);
19382  free (data3);
19383  return 0;
19384}
19385_ACEOF
19386if ac_fn_c_try_run "$LINENO"
19387then :
19388  ac_cv_func_mmap_fixed_mapped=yes
19389else $as_nop
19390  ac_cv_func_mmap_fixed_mapped=no
19391fi
19392rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19393  conftest.$ac_objext conftest.beam conftest.$ac_ext
19394fi
19395
19396fi
19397{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
19398printf "%s\n" "$ac_cv_func_mmap_fixed_mapped" >&6; }
19399if test $ac_cv_func_mmap_fixed_mapped = yes; then
19400
19401printf "%s\n" "#define HAVE_MMAP 1" >>confdefs.h
19402
19403fi
19404rm -f conftest.mmap conftest.txt
19405
19406
19407if test "$ac_cv_func_mmap_fixed_mapped" = "yes"
19408then :
19409  FILEMAP=unixfilemap
19410else $as_nop
19411  FILEMAP=readfilemap
19412fi
19413
19414
19415
19416
19417printf "%s\n" "#define XML_NS 1" >>confdefs.h
19418
19419
19420printf "%s\n" "#define XML_DTD 1" >>confdefs.h
19421
19422
19423printf "%s\n" "#define XML_DEV_URANDOM 1" >>confdefs.h
19424
19425
19426# Check whether --enable-xml-attr-info was given.
19427if test ${enable_xml_attr_info+y}
19428then :
19429  enableval=$enable_xml_attr_info;
19430else $as_nop
19431  enable_xml_attr_info=no
19432fi
19433
19434if test "x${enable_xml_attr_info}" = "xyes"
19435then :
19436
19437printf "%s\n" "#define XML_ATTR_INFO 1" >>confdefs.h
19438
19439fi
19440
19441# Check whether --enable-xml-context was given.
19442if test ${enable_xml_context+y}
19443then :
19444  enableval=$enable_xml_context; enable_xml_context=${enableval}
19445fi
19446
19447if test "x${enable_xml_context}" != "xno"
19448then :
19449  if test "x${enable_xml_context}" = "xyes" \
19450            -o "x${enable_xml_context}" = "x"
19451then :
19452  enable_xml_context=1024
19453fi
19454
19455printf "%s\n" "#define XML_CONTEXT_BYTES ${enable_xml_context}" >>confdefs.h
19456
19457fi
19458
19459
19460# Check whether --with-docbook was given.
19461if test ${with_docbook+y}
19462then :
19463  withval=$with_docbook;
19464else $as_nop
19465  with_docbook=check
19466fi
19467
19468
19469
19470if test "x$with_docbook" != xno
19471then :
19472  for ac_prog in docbook2x-man db2x_docbook2man docbook2man docbook-to-man
19473do
19474  # Extract the first word of "$ac_prog", so it can be a program name with args.
19475set dummy $ac_prog; ac_word=$2
19476{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19477printf %s "checking for $ac_word... " >&6; }
19478if test ${ac_cv_prog_DOCBOOK_TO_MAN+y}
19479then :
19480  printf %s "(cached) " >&6
19481else $as_nop
19482  if test -n "$DOCBOOK_TO_MAN"; then
19483  ac_cv_prog_DOCBOOK_TO_MAN="$DOCBOOK_TO_MAN" # Let the user override the test.
19484else
19485as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19486for as_dir in $PATH
19487do
19488  IFS=$as_save_IFS
19489  case $as_dir in #(((
19490    '') as_dir=./ ;;
19491    */) ;;
19492    *) as_dir=$as_dir/ ;;
19493  esac
19494    for ac_exec_ext in '' $ac_executable_extensions; do
19495  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
19496    ac_cv_prog_DOCBOOK_TO_MAN="$ac_prog"
19497    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
19498    break 2
19499  fi
19500done
19501  done
19502IFS=$as_save_IFS
19503
19504fi
19505fi
19506DOCBOOK_TO_MAN=$ac_cv_prog_DOCBOOK_TO_MAN
19507if test -n "$DOCBOOK_TO_MAN"; then
19508  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DOCBOOK_TO_MAN" >&5
19509printf "%s\n" "$DOCBOOK_TO_MAN" >&6; }
19510else
19511  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19512printf "%s\n" "no" >&6; }
19513fi
19514
19515
19516  test -n "$DOCBOOK_TO_MAN" && break
19517done
19518
19519fi
19520if test "x${DOCBOOK_TO_MAN}" = x -a "x$with_docbook" = xyes
19521then :
19522  as_fn_error $? "Required program 'docbook2x-man' not found." "$LINENO" 5
19523fi
19524if test "x${DOCBOOK_TO_MAN}" != x -a "x$with_docbook" != xno
19525then :
19526  if ${DOCBOOK_TO_MAN} --help | grep -i -q -F sgmlbase
19527then :
19528  as_fn_error $? "Your local ${DOCBOOK_TO_MAN} was found to work with SGML rather
19529  than XML. Please install docbook2X and use variable DOCBOOK_TO_MAN to point
19530  configure to command docbook2x-man of docbook2X.
19531  Or use DOCBOOK_TO_MAN=\"xmlto man --skip-validation\" if you have xmlto around.
19532  You can also configure using --without-docbook if you can do without a man
19533  page for xmlwf." "$LINENO" 5
19534fi
19535fi
19536
19537 if test "x${DOCBOOK_TO_MAN}" != x; then
19538  WITH_DOCBOOK_TRUE=
19539  WITH_DOCBOOK_FALSE='#'
19540else
19541  WITH_DOCBOOK_TRUE='#'
19542  WITH_DOCBOOK_FALSE=
19543fi
19544
19545
19546
19547if test "x${enable_xml_attr_info}" = xyes
19548then :
19549  EXPAT_ATTR_INFO=ON
19550else $as_nop
19551  EXPAT_ATTR_INFO=OFF
19552fi
19553EXPAT_DTD=ON
19554if test "x${_INTERNAL_LARGE_SIZE_TRUE}" = x
19555then :
19556  EXPAT_LARGE_SIZE=ON
19557else $as_nop
19558  EXPAT_LARGE_SIZE=OFF
19559fi
19560if test "x${_INTERNAL_MIN_SIZE_TRUE}" = x
19561then :
19562  EXPAT_MIN_SIZE=ON
19563else $as_nop
19564  EXPAT_MIN_SIZE=OFF
19565fi
19566EXPAT_NS=ON
19567if test "x${enable_xml_context}" != xno
19568then :
19569  EXPAT_CONTEXT_BYTES=${enable_xml_context}
19570else $as_nop
19571  EXPAT_CONTEXT_BYTES=OFF
19572fi
19573if test "x${UNICODE_TRUE}" = x
19574then :
19575  if test "x${_INTERNAL_UNICODE_WCHAR_T_TRUE}" = x
19576then :
19577  EXPAT_CHAR_TYPE=wchar_t
19578else $as_nop
19579  EXPAT_CHAR_TYPE=ushort
19580fi
19581else $as_nop
19582  EXPAT_CHAR_TYPE=char
19583fi
19584PACKAGE_INIT="${srcdir}"/cmake/autotools/expat-package-init.cmake
19585LIBDIR_BASENAME="$(basename "${libdir}")"
19586SO_MAJOR="$(expr "${LIBCURRENT}" - "${LIBAGE}")"
19587SO_MINOR="${LIBAGE}"
19588SO_PATCH="${LIBREVISION}"
19589# The cast to long int works around a bug in the HP C Compiler
19590# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19591# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19592# This bug is HP SR number 8606223364.
19593{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
19594printf %s "checking size of void *... " >&6; }
19595if test ${ac_cv_sizeof_void_p+y}
19596then :
19597  printf %s "(cached) " >&6
19598else $as_nop
19599  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"
19600then :
19601
19602else $as_nop
19603  if test "$ac_cv_type_void_p" = yes; then
19604     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19605printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
19606as_fn_error 77 "cannot compute sizeof (void *)
19607See \`config.log' for more details" "$LINENO" 5; }
19608   else
19609     ac_cv_sizeof_void_p=0
19610   fi
19611fi
19612
19613fi
19614{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
19615printf "%s\n" "$ac_cv_sizeof_void_p" >&6; }
19616
19617
19618
19619printf "%s\n" "#define SIZEOF_VOID_P $ac_cv_sizeof_void_p" >>confdefs.h
19620
19621  # sets ac_cv_sizeof_void_p
19622
19623
19624
19625
19626
19627
19628
19629
19630
19631
19632
19633
19634
19635
19636
19637
19638
19639
19640
19641
19642{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shared library name prefix" >&5
19643printf %s "checking for shared library name prefix... " >&6; }
19644case "${host_os}" in #(
19645  cygwin*) :
19646    CMAKE_SHARED_LIBRARY_PREFIX=cyg ;; #(
19647  *) :
19648    CMAKE_SHARED_LIBRARY_PREFIX=lib ;;
19649esac
19650{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${CMAKE_SHARED_LIBRARY_PREFIX}" >&5
19651printf "%s\n" "${CMAKE_SHARED_LIBRARY_PREFIX}" >&6; }
19652
19653
19654case "${host_os}" in #(
19655  darwin*) :
19656    CMAKE_NOCONFIG_SOURCE=cmake/autotools/expat-noconfig__macos.cmake.in ;; #(
19657  mingw*|cygwin*) :
19658    CMAKE_NOCONFIG_SOURCE=cmake/autotools/expat-noconfig__windows.cmake.in ;; #(
19659  *) :
19660    CMAKE_NOCONFIG_SOURCE=cmake/autotools/expat-noconfig__linux.cmake.in ;;
19661esac
19662ac_config_files="$ac_config_files Makefile expat.pc cmake/expat-config.cmake cmake/autotools/expat-config-version.cmake cmake/autotools/expat-noconfig.cmake:${CMAKE_NOCONFIG_SOURCE} doc/Makefile examples/Makefile lib/Makefile tests/Makefile tests/benchmark/Makefile xmlwf/Makefile"
19663
19664ac_config_files="$ac_config_files run.sh"
19665
19666cat >confcache <<\_ACEOF
19667# This file is a shell script that caches the results of configure
19668# tests run on this system so they can be shared between configure
19669# scripts and configure runs, see configure's option --config-cache.
19670# It is not useful on other systems.  If it contains results you don't
19671# want to keep, you may remove or edit it.
19672#
19673# config.status only pays attention to the cache file if you give it
19674# the --recheck option to rerun configure.
19675#
19676# `ac_cv_env_foo' variables (set or unset) will be overridden when
19677# loading this file, other *unset* `ac_cv_foo' will be assigned the
19678# following values.
19679
19680_ACEOF
19681
19682# The following way of writing the cache mishandles newlines in values,
19683# but we know of no workaround that is simple, portable, and efficient.
19684# So, we kill variables containing newlines.
19685# Ultrix sh set writes to stderr and can't be redirected directly,
19686# and sets the high bit in the cache file unless we assign to the vars.
19687(
19688  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19689    eval ac_val=\$$ac_var
19690    case $ac_val in #(
19691    *${as_nl}*)
19692      case $ac_var in #(
19693      *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19694printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19695      esac
19696      case $ac_var in #(
19697      _ | IFS | as_nl) ;; #(
19698      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19699      *) { eval $ac_var=; unset $ac_var;} ;;
19700      esac ;;
19701    esac
19702  done
19703
19704  (set) 2>&1 |
19705    case $as_nl`(ac_space=' '; set) 2>&1` in #(
19706    *${as_nl}ac_space=\ *)
19707      # `set' does not quote correctly, so add quotes: double-quote
19708      # substitution turns \\\\ into \\, and sed turns \\ into \.
19709      sed -n \
19710	"s/'/'\\\\''/g;
19711	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19712      ;; #(
19713    *)
19714      # `set' quotes correctly as required by POSIX, so do not add quotes.
19715      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19716      ;;
19717    esac |
19718    sort
19719) |
19720  sed '
19721     /^ac_cv_env_/b end
19722     t clear
19723     :clear
19724     s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
19725     t end
19726     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19727     :end' >>confcache
19728if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19729  if test -w "$cache_file"; then
19730    if test "x$cache_file" != "x/dev/null"; then
19731      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19732printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
19733      if test ! -f "$cache_file" || test -h "$cache_file"; then
19734	cat confcache >"$cache_file"
19735      else
19736        case $cache_file in #(
19737        */* | ?:*)
19738	  mv -f confcache "$cache_file"$$ &&
19739	  mv -f "$cache_file"$$ "$cache_file" ;; #(
19740        *)
19741	  mv -f confcache "$cache_file" ;;
19742	esac
19743      fi
19744    fi
19745  else
19746    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19747printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
19748  fi
19749fi
19750rm -f confcache
19751
19752test "x$prefix" = xNONE && prefix=$ac_default_prefix
19753# Let make expand exec_prefix.
19754test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19755
19756DEFS=-DHAVE_CONFIG_H
19757
19758ac_libobjs=
19759ac_ltlibobjs=
19760U=
19761for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19762  # 1. Remove the extension, and $U if already installed.
19763  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19764  ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
19765  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
19766  #    will be set to the directory where LIBOBJS objects are built.
19767  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19768  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19769done
19770LIBOBJS=$ac_libobjs
19771
19772LTLIBOBJS=$ac_ltlibobjs
19773
19774
19775{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
19776printf %s "checking that generated files are newer than configure... " >&6; }
19777   if test -n "$am_sleep_pid"; then
19778     # Hide warnings about reused PIDs.
19779     wait $am_sleep_pid 2>/dev/null
19780   fi
19781   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
19782printf "%s\n" "done" >&6; }
19783 if test -n "$EXEEXT"; then
19784  am__EXEEXT_TRUE=
19785  am__EXEEXT_FALSE='#'
19786else
19787  am__EXEEXT_TRUE='#'
19788  am__EXEEXT_FALSE=
19789fi
19790
19791if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19792  as_fn_error $? "conditional \"AMDEP\" was never defined.
19793Usually this means the macro was only invoked conditionally." "$LINENO" 5
19794fi
19795if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19796  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
19797Usually this means the macro was only invoked conditionally." "$LINENO" 5
19798fi
19799if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19800  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
19801Usually this means the macro was only invoked conditionally." "$LINENO" 5
19802fi
19803
19804if test -z "${WITH_XMLWF_TRUE}" && test -z "${WITH_XMLWF_FALSE}"; then
19805  as_fn_error $? "conditional \"WITH_XMLWF\" was never defined.
19806Usually this means the macro was only invoked conditionally." "$LINENO" 5
19807fi
19808if test -z "${WITH_EXAMPLES_TRUE}" && test -z "${WITH_EXAMPLES_FALSE}"; then
19809  as_fn_error $? "conditional \"WITH_EXAMPLES\" was never defined.
19810Usually this means the macro was only invoked conditionally." "$LINENO" 5
19811fi
19812if test -z "${WITH_TESTS_TRUE}" && test -z "${WITH_TESTS_FALSE}"; then
19813  as_fn_error $? "conditional \"WITH_TESTS\" was never defined.
19814Usually this means the macro was only invoked conditionally." "$LINENO" 5
19815fi
19816if test -z "${MINGW_TRUE}" && test -z "${MINGW_FALSE}"; then
19817  as_fn_error $? "conditional \"MINGW\" was never defined.
19818Usually this means the macro was only invoked conditionally." "$LINENO" 5
19819fi
19820if test -z "${UNICODE_TRUE}" && test -z "${UNICODE_FALSE}"; then
19821  as_fn_error $? "conditional \"UNICODE\" was never defined.
19822Usually this means the macro was only invoked conditionally." "$LINENO" 5
19823fi
19824if test -z "${_INTERNAL_UNICODE_WCHAR_T_TRUE}" && test -z "${_INTERNAL_UNICODE_WCHAR_T_FALSE}"; then
19825  as_fn_error $? "conditional \"_INTERNAL_UNICODE_WCHAR_T\" was never defined.
19826Usually this means the macro was only invoked conditionally." "$LINENO" 5
19827fi
19828if test -z "${_INTERNAL_MIN_SIZE_TRUE}" && test -z "${_INTERNAL_MIN_SIZE_FALSE}"; then
19829  as_fn_error $? "conditional \"_INTERNAL_MIN_SIZE\" was never defined.
19830Usually this means the macro was only invoked conditionally." "$LINENO" 5
19831fi
19832if test -z "${_INTERNAL_LARGE_SIZE_TRUE}" && test -z "${_INTERNAL_LARGE_SIZE_FALSE}"; then
19833  as_fn_error $? "conditional \"_INTERNAL_LARGE_SIZE\" was never defined.
19834Usually this means the macro was only invoked conditionally." "$LINENO" 5
19835fi
19836if test -z "${WITH_DOCBOOK_TRUE}" && test -z "${WITH_DOCBOOK_FALSE}"; then
19837  as_fn_error $? "conditional \"WITH_DOCBOOK\" was never defined.
19838Usually this means the macro was only invoked conditionally." "$LINENO" 5
19839fi
19840
19841: "${CONFIG_STATUS=./config.status}"
19842ac_write_fail=0
19843ac_clean_files_save=$ac_clean_files
19844ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19845{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19846printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
19847as_write_fail=0
19848cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19849#! $SHELL
19850# Generated by $as_me.
19851# Run this file to recreate the current configuration.
19852# Compiler output produced by configure, useful for debugging
19853# configure, is in config.log if it exists.
19854
19855debug=false
19856ac_cs_recheck=false
19857ac_cs_silent=false
19858
19859SHELL=\${CONFIG_SHELL-$SHELL}
19860export SHELL
19861_ASEOF
19862cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19863## -------------------- ##
19864## M4sh Initialization. ##
19865## -------------------- ##
19866
19867# Be more Bourne compatible
19868DUALCASE=1; export DUALCASE # for MKS sh
19869as_nop=:
19870if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
19871then :
19872  emulate sh
19873  NULLCMD=:
19874  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19875  # is contrary to our usage.  Disable this feature.
19876  alias -g '${1+"$@"}'='"$@"'
19877  setopt NO_GLOB_SUBST
19878else $as_nop
19879  case `(set -o) 2>/dev/null` in #(
19880  *posix*) :
19881    set -o posix ;; #(
19882  *) :
19883     ;;
19884esac
19885fi
19886
19887
19888
19889# Reset variables that may have inherited troublesome values from
19890# the environment.
19891
19892# IFS needs to be set, to space, tab, and newline, in precisely that order.
19893# (If _AS_PATH_WALK were called with IFS unset, it would have the
19894# side effect of setting IFS to empty, thus disabling word splitting.)
19895# Quoting is to prevent editors from complaining about space-tab.
19896as_nl='
19897'
19898export as_nl
19899IFS=" ""	$as_nl"
19900
19901PS1='$ '
19902PS2='> '
19903PS4='+ '
19904
19905# Ensure predictable behavior from utilities with locale-dependent output.
19906LC_ALL=C
19907export LC_ALL
19908LANGUAGE=C
19909export LANGUAGE
19910
19911# We cannot yet rely on "unset" to work, but we need these variables
19912# to be unset--not just set to an empty or harmless value--now, to
19913# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
19914# also avoids known problems related to "unset" and subshell syntax
19915# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
19916for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
19917do eval test \${$as_var+y} \
19918  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19919done
19920
19921# Ensure that fds 0, 1, and 2 are open.
19922if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
19923if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
19924if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
19925
19926# The user is always right.
19927if ${PATH_SEPARATOR+false} :; then
19928  PATH_SEPARATOR=:
19929  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19930    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19931      PATH_SEPARATOR=';'
19932  }
19933fi
19934
19935
19936# Find who we are.  Look in the path if we contain no directory separator.
19937as_myself=
19938case $0 in #((
19939  *[\\/]* ) as_myself=$0 ;;
19940  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19941for as_dir in $PATH
19942do
19943  IFS=$as_save_IFS
19944  case $as_dir in #(((
19945    '') as_dir=./ ;;
19946    */) ;;
19947    *) as_dir=$as_dir/ ;;
19948  esac
19949    test -r "$as_dir$0" && as_myself=$as_dir$0 && break
19950  done
19951IFS=$as_save_IFS
19952
19953     ;;
19954esac
19955# We did not find ourselves, most probably we were run as `sh COMMAND'
19956# in which case we are not to be found in the path.
19957if test "x$as_myself" = x; then
19958  as_myself=$0
19959fi
19960if test ! -f "$as_myself"; then
19961  printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19962  exit 1
19963fi
19964
19965
19966
19967# as_fn_error STATUS ERROR [LINENO LOG_FD]
19968# ----------------------------------------
19969# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19970# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19971# script with STATUS, using 1 if that was 0.
19972as_fn_error ()
19973{
19974  as_status=$1; test $as_status -eq 0 && as_status=1
19975  if test "$4"; then
19976    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19977    printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19978  fi
19979  printf "%s\n" "$as_me: error: $2" >&2
19980  as_fn_exit $as_status
19981} # as_fn_error
19982
19983
19984
19985# as_fn_set_status STATUS
19986# -----------------------
19987# Set $? to STATUS, without forking.
19988as_fn_set_status ()
19989{
19990  return $1
19991} # as_fn_set_status
19992
19993# as_fn_exit STATUS
19994# -----------------
19995# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19996as_fn_exit ()
19997{
19998  set +e
19999  as_fn_set_status $1
20000  exit $1
20001} # as_fn_exit
20002
20003# as_fn_unset VAR
20004# ---------------
20005# Portably unset VAR.
20006as_fn_unset ()
20007{
20008  { eval $1=; unset $1;}
20009}
20010as_unset=as_fn_unset
20011
20012# as_fn_append VAR VALUE
20013# ----------------------
20014# Append the text in VALUE to the end of the definition contained in VAR. Take
20015# advantage of any shell optimizations that allow amortized linear growth over
20016# repeated appends, instead of the typical quadratic growth present in naive
20017# implementations.
20018if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
20019then :
20020  eval 'as_fn_append ()
20021  {
20022    eval $1+=\$2
20023  }'
20024else $as_nop
20025  as_fn_append ()
20026  {
20027    eval $1=\$$1\$2
20028  }
20029fi # as_fn_append
20030
20031# as_fn_arith ARG...
20032# ------------------
20033# Perform arithmetic evaluation on the ARGs, and store the result in the
20034# global $as_val. Take advantage of shells that can avoid forks. The arguments
20035# must be portable across $(()) and expr.
20036if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
20037then :
20038  eval 'as_fn_arith ()
20039  {
20040    as_val=$(( $* ))
20041  }'
20042else $as_nop
20043  as_fn_arith ()
20044  {
20045    as_val=`expr "$@" || test $? -eq 1`
20046  }
20047fi # as_fn_arith
20048
20049
20050if expr a : '\(a\)' >/dev/null 2>&1 &&
20051   test "X`expr 00001 : '.*\(...\)'`" = X001; then
20052  as_expr=expr
20053else
20054  as_expr=false
20055fi
20056
20057if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20058  as_basename=basename
20059else
20060  as_basename=false
20061fi
20062
20063if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
20064  as_dirname=dirname
20065else
20066  as_dirname=false
20067fi
20068
20069as_me=`$as_basename -- "$0" ||
20070$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20071	 X"$0" : 'X\(//\)$' \| \
20072	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20073printf "%s\n" X/"$0" |
20074    sed '/^.*\/\([^/][^/]*\)\/*$/{
20075	    s//\1/
20076	    q
20077	  }
20078	  /^X\/\(\/\/\)$/{
20079	    s//\1/
20080	    q
20081	  }
20082	  /^X\/\(\/\).*/{
20083	    s//\1/
20084	    q
20085	  }
20086	  s/.*/./; q'`
20087
20088# Avoid depending upon Character Ranges.
20089as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20090as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20091as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20092as_cr_digits='0123456789'
20093as_cr_alnum=$as_cr_Letters$as_cr_digits
20094
20095
20096# Determine whether it's possible to make 'echo' print without a newline.
20097# These variables are no longer used directly by Autoconf, but are AC_SUBSTed
20098# for compatibility with existing Makefiles.
20099ECHO_C= ECHO_N= ECHO_T=
20100case `echo -n x` in #(((((
20101-n*)
20102  case `echo 'xy\c'` in
20103  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
20104  xy)  ECHO_C='\c';;
20105  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
20106       ECHO_T='	';;
20107  esac;;
20108*)
20109  ECHO_N='-n';;
20110esac
20111
20112# For backward compatibility with old third-party macros, we provide
20113# the shell variables $as_echo and $as_echo_n.  New code should use
20114# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
20115as_echo='printf %s\n'
20116as_echo_n='printf %s'
20117
20118rm -f conf$$ conf$$.exe conf$$.file
20119if test -d conf$$.dir; then
20120  rm -f conf$$.dir/conf$$.file
20121else
20122  rm -f conf$$.dir
20123  mkdir conf$$.dir 2>/dev/null
20124fi
20125if (echo >conf$$.file) 2>/dev/null; then
20126  if ln -s conf$$.file conf$$ 2>/dev/null; then
20127    as_ln_s='ln -s'
20128    # ... but there are two gotchas:
20129    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20130    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20131    # In both cases, we have to default to `cp -pR'.
20132    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
20133      as_ln_s='cp -pR'
20134  elif ln conf$$.file conf$$ 2>/dev/null; then
20135    as_ln_s=ln
20136  else
20137    as_ln_s='cp -pR'
20138  fi
20139else
20140  as_ln_s='cp -pR'
20141fi
20142rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
20143rmdir conf$$.dir 2>/dev/null
20144
20145
20146# as_fn_mkdir_p
20147# -------------
20148# Create "$as_dir" as a directory, including parents if necessary.
20149as_fn_mkdir_p ()
20150{
20151
20152  case $as_dir in #(
20153  -*) as_dir=./$as_dir;;
20154  esac
20155  test -d "$as_dir" || eval $as_mkdir_p || {
20156    as_dirs=
20157    while :; do
20158      case $as_dir in #(
20159      *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20160      *) as_qdir=$as_dir;;
20161      esac
20162      as_dirs="'$as_qdir' $as_dirs"
20163      as_dir=`$as_dirname -- "$as_dir" ||
20164$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20165	 X"$as_dir" : 'X\(//\)[^/]' \| \
20166	 X"$as_dir" : 'X\(//\)$' \| \
20167	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20168printf "%s\n" X"$as_dir" |
20169    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20170	    s//\1/
20171	    q
20172	  }
20173	  /^X\(\/\/\)[^/].*/{
20174	    s//\1/
20175	    q
20176	  }
20177	  /^X\(\/\/\)$/{
20178	    s//\1/
20179	    q
20180	  }
20181	  /^X\(\/\).*/{
20182	    s//\1/
20183	    q
20184	  }
20185	  s/.*/./; q'`
20186      test -d "$as_dir" && break
20187    done
20188    test -z "$as_dirs" || eval "mkdir $as_dirs"
20189  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
20190
20191
20192} # as_fn_mkdir_p
20193if mkdir -p . 2>/dev/null; then
20194  as_mkdir_p='mkdir -p "$as_dir"'
20195else
20196  test -d ./-p && rmdir ./-p
20197  as_mkdir_p=false
20198fi
20199
20200
20201# as_fn_executable_p FILE
20202# -----------------------
20203# Test if FILE is an executable regular file.
20204as_fn_executable_p ()
20205{
20206  test -f "$1" && test -x "$1"
20207} # as_fn_executable_p
20208as_test_x='test -x'
20209as_executable_p=as_fn_executable_p
20210
20211# Sed expression to map a string onto a valid CPP name.
20212as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20213
20214# Sed expression to map a string onto a valid variable name.
20215as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20216
20217
20218exec 6>&1
20219## ----------------------------------- ##
20220## Main body of $CONFIG_STATUS script. ##
20221## ----------------------------------- ##
20222_ASEOF
20223test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
20224
20225cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20226# Save the log message, to keep $0 and so on meaningful, and to
20227# report actual input values of CONFIG_FILES etc. instead of their
20228# values after options handling.
20229ac_log="
20230This file was extended by expat $as_me 2.4.6, which was
20231generated by GNU Autoconf 2.71.  Invocation command line was
20232
20233  CONFIG_FILES    = $CONFIG_FILES
20234  CONFIG_HEADERS  = $CONFIG_HEADERS
20235  CONFIG_LINKS    = $CONFIG_LINKS
20236  CONFIG_COMMANDS = $CONFIG_COMMANDS
20237  $ $0 $@
20238
20239on `(hostname || uname -n) 2>/dev/null | sed 1q`
20240"
20241
20242_ACEOF
20243
20244case $ac_config_files in *"
20245"*) set x $ac_config_files; shift; ac_config_files=$*;;
20246esac
20247
20248case $ac_config_headers in *"
20249"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
20250esac
20251
20252
20253cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20254# Files that config.status was made for.
20255config_files="$ac_config_files"
20256config_headers="$ac_config_headers"
20257config_commands="$ac_config_commands"
20258
20259_ACEOF
20260
20261cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20262ac_cs_usage="\
20263\`$as_me' instantiates files and other configuration actions
20264from templates according to the current configuration.  Unless the files
20265and actions are specified as TAGs, all are instantiated by default.
20266
20267Usage: $0 [OPTION]... [TAG]...
20268
20269  -h, --help       print this help, then exit
20270  -V, --version    print version number and configuration settings, then exit
20271      --config     print configuration, then exit
20272  -q, --quiet, --silent
20273                   do not print progress messages
20274  -d, --debug      don't remove temporary files
20275      --recheck    update $as_me by reconfiguring in the same conditions
20276      --file=FILE[:TEMPLATE]
20277                   instantiate the configuration file FILE
20278      --header=FILE[:TEMPLATE]
20279                   instantiate the configuration header FILE
20280
20281Configuration files:
20282$config_files
20283
20284Configuration headers:
20285$config_headers
20286
20287Configuration commands:
20288$config_commands
20289
20290Report bugs to <expat-bugs@libexpat.org>."
20291
20292_ACEOF
20293ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
20294ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
20295cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20296ac_cs_config='$ac_cs_config_escaped'
20297ac_cs_version="\\
20298expat config.status 2.4.6
20299configured by $0, generated by GNU Autoconf 2.71,
20300  with options \\"\$ac_cs_config\\"
20301
20302Copyright (C) 2021 Free Software Foundation, Inc.
20303This config.status script is free software; the Free Software Foundation
20304gives unlimited permission to copy, distribute and modify it."
20305
20306ac_pwd='$ac_pwd'
20307srcdir='$srcdir'
20308INSTALL='$INSTALL'
20309MKDIR_P='$MKDIR_P'
20310AWK='$AWK'
20311test -n "\$AWK" || AWK=awk
20312_ACEOF
20313
20314cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20315# The default lists apply if the user does not specify any file.
20316ac_need_defaults=:
20317while test $# != 0
20318do
20319  case $1 in
20320  --*=?*)
20321    ac_option=`expr "X$1" : 'X\([^=]*\)='`
20322    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20323    ac_shift=:
20324    ;;
20325  --*=)
20326    ac_option=`expr "X$1" : 'X\([^=]*\)='`
20327    ac_optarg=
20328    ac_shift=:
20329    ;;
20330  *)
20331    ac_option=$1
20332    ac_optarg=$2
20333    ac_shift=shift
20334    ;;
20335  esac
20336
20337  case $ac_option in
20338  # Handling of the options.
20339  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20340    ac_cs_recheck=: ;;
20341  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20342    printf "%s\n" "$ac_cs_version"; exit ;;
20343  --config | --confi | --conf | --con | --co | --c )
20344    printf "%s\n" "$ac_cs_config"; exit ;;
20345  --debug | --debu | --deb | --de | --d | -d )
20346    debug=: ;;
20347  --file | --fil | --fi | --f )
20348    $ac_shift
20349    case $ac_optarg in
20350    *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20351    '') as_fn_error $? "missing file argument" ;;
20352    esac
20353    as_fn_append CONFIG_FILES " '$ac_optarg'"
20354    ac_need_defaults=false;;
20355  --header | --heade | --head | --hea )
20356    $ac_shift
20357    case $ac_optarg in
20358    *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20359    esac
20360    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20361    ac_need_defaults=false;;
20362  --he | --h)
20363    # Conflict between --help and --header
20364    as_fn_error $? "ambiguous option: \`$1'
20365Try \`$0 --help' for more information.";;
20366  --help | --hel | -h )
20367    printf "%s\n" "$ac_cs_usage"; exit ;;
20368  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20369  | -silent | --silent | --silen | --sile | --sil | --si | --s)
20370    ac_cs_silent=: ;;
20371
20372  # This is an error.
20373  -*) as_fn_error $? "unrecognized option: \`$1'
20374Try \`$0 --help' for more information." ;;
20375
20376  *) as_fn_append ac_config_targets " $1"
20377     ac_need_defaults=false ;;
20378
20379  esac
20380  shift
20381done
20382
20383ac_configure_extra_args=
20384
20385if $ac_cs_silent; then
20386  exec 6>/dev/null
20387  ac_configure_extra_args="$ac_configure_extra_args --silent"
20388fi
20389
20390_ACEOF
20391cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20392if \$ac_cs_recheck; then
20393  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20394  shift
20395  \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
20396  CONFIG_SHELL='$SHELL'
20397  export CONFIG_SHELL
20398  exec "\$@"
20399fi
20400
20401_ACEOF
20402cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20403exec 5>>config.log
20404{
20405  echo
20406  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20407## Running $as_me. ##
20408_ASBOX
20409  printf "%s\n" "$ac_log"
20410} >&5
20411
20412_ACEOF
20413cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20414#
20415# INIT-COMMANDS
20416#
20417AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
20418
20419
20420# The HP-UX ksh and POSIX shell print the target directory to stdout
20421# if CDPATH is set.
20422(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20423
20424sed_quote_subst='$sed_quote_subst'
20425double_quote_subst='$double_quote_subst'
20426delay_variable_subst='$delay_variable_subst'
20427macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
20428macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
20429AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
20430DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
20431OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
20432enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
20433enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
20434pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
20435enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
20436shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
20437SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
20438ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
20439PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
20440host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
20441host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
20442host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
20443build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
20444build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
20445build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
20446SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
20447Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
20448GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
20449EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
20450FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
20451LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
20452NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
20453LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
20454max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
20455ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
20456exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
20457lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
20458lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
20459lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
20460lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
20461lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
20462reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
20463reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
20464deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
20465file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
20466file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
20467want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
20468sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
20469AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
20470AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
20471archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
20472STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
20473RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
20474old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20475old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20476old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
20477lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
20478CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
20479CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
20480compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
20481GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
20482lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
20483lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
20484lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
20485lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
20486lt_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"`'
20487lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
20488nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
20489lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
20490lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
20491objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
20492MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
20493lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
20494lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
20495lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
20496lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
20497lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
20498need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
20499MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
20500DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
20501NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
20502LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
20503OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
20504OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
20505libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
20506shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
20507extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20508archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
20509enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
20510export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
20511whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
20512compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
20513old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
20514old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20515archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
20516archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20517module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
20518module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20519with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
20520allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
20521no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
20522hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
20523hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
20524hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
20525hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
20526hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
20527hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
20528hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
20529inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
20530link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
20531always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
20532export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
20533exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
20534include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
20535prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
20536postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
20537file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
20538variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
20539need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
20540need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
20541version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
20542runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
20543shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
20544shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
20545libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
20546library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
20547soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
20548install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
20549postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20550postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20551finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
20552finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
20553hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
20554sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
20555configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
20556configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
20557hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
20558enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
20559enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
20560enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
20561old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
20562striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
20563compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
20564predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
20565postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
20566predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
20567postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
20568compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
20569LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
20570reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
20571reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20572old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20573compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
20574GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
20575lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
20576lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
20577lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
20578lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
20579lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
20580archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
20581enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
20582export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20583whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20584compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
20585old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20586old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20587archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20588archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20589module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20590module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20591with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
20592allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20593no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20594hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20595hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
20596hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
20597hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
20598hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
20599hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
20600hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
20601inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
20602link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
20603always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
20604export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20605exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20606include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20607prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20608postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20609file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
20610hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
20611compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
20612predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20613postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20614predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
20615postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
20616compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
20617
20618LTCC='$LTCC'
20619LTCFLAGS='$LTCFLAGS'
20620compiler='$compiler_DEFAULT'
20621
20622# A function that is used when there is no print builtin or printf.
20623func_fallback_echo ()
20624{
20625  eval 'cat <<_LTECHO_EOF
20626\$1
20627_LTECHO_EOF'
20628}
20629
20630# Quote evaled strings.
20631for var in AS \
20632DLLTOOL \
20633OBJDUMP \
20634SHELL \
20635ECHO \
20636PATH_SEPARATOR \
20637SED \
20638GREP \
20639EGREP \
20640FGREP \
20641LD \
20642NM \
20643LN_S \
20644lt_SP2NL \
20645lt_NL2SP \
20646reload_flag \
20647deplibs_check_method \
20648file_magic_cmd \
20649file_magic_glob \
20650want_nocaseglob \
20651sharedlib_from_linklib_cmd \
20652AR \
20653AR_FLAGS \
20654archiver_list_spec \
20655STRIP \
20656RANLIB \
20657CC \
20658CFLAGS \
20659compiler \
20660lt_cv_sys_global_symbol_pipe \
20661lt_cv_sys_global_symbol_to_cdecl \
20662lt_cv_sys_global_symbol_to_import \
20663lt_cv_sys_global_symbol_to_c_name_address \
20664lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
20665lt_cv_nm_interface \
20666nm_file_list_spec \
20667lt_cv_truncate_bin \
20668lt_prog_compiler_no_builtin_flag \
20669lt_prog_compiler_pic \
20670lt_prog_compiler_wl \
20671lt_prog_compiler_static \
20672lt_cv_prog_compiler_c_o \
20673need_locks \
20674MANIFEST_TOOL \
20675DSYMUTIL \
20676NMEDIT \
20677LIPO \
20678OTOOL \
20679OTOOL64 \
20680shrext_cmds \
20681export_dynamic_flag_spec \
20682whole_archive_flag_spec \
20683compiler_needs_object \
20684with_gnu_ld \
20685allow_undefined_flag \
20686no_undefined_flag \
20687hardcode_libdir_flag_spec \
20688hardcode_libdir_separator \
20689exclude_expsyms \
20690include_expsyms \
20691file_list_spec \
20692variables_saved_for_relink \
20693libname_spec \
20694library_names_spec \
20695soname_spec \
20696install_override_mode \
20697finish_eval \
20698old_striplib \
20699striplib \
20700compiler_lib_search_dirs \
20701predep_objects \
20702postdep_objects \
20703predeps \
20704postdeps \
20705compiler_lib_search_path \
20706LD_CXX \
20707reload_flag_CXX \
20708compiler_CXX \
20709lt_prog_compiler_no_builtin_flag_CXX \
20710lt_prog_compiler_pic_CXX \
20711lt_prog_compiler_wl_CXX \
20712lt_prog_compiler_static_CXX \
20713lt_cv_prog_compiler_c_o_CXX \
20714export_dynamic_flag_spec_CXX \
20715whole_archive_flag_spec_CXX \
20716compiler_needs_object_CXX \
20717with_gnu_ld_CXX \
20718allow_undefined_flag_CXX \
20719no_undefined_flag_CXX \
20720hardcode_libdir_flag_spec_CXX \
20721hardcode_libdir_separator_CXX \
20722exclude_expsyms_CXX \
20723include_expsyms_CXX \
20724file_list_spec_CXX \
20725compiler_lib_search_dirs_CXX \
20726predep_objects_CXX \
20727postdep_objects_CXX \
20728predeps_CXX \
20729postdeps_CXX \
20730compiler_lib_search_path_CXX; do
20731    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20732    *[\\\\\\\`\\"\\\$]*)
20733      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
20734      ;;
20735    *)
20736      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20737      ;;
20738    esac
20739done
20740
20741# Double-quote double-evaled strings.
20742for var in reload_cmds \
20743old_postinstall_cmds \
20744old_postuninstall_cmds \
20745old_archive_cmds \
20746extract_expsyms_cmds \
20747old_archive_from_new_cmds \
20748old_archive_from_expsyms_cmds \
20749archive_cmds \
20750archive_expsym_cmds \
20751module_cmds \
20752module_expsym_cmds \
20753export_symbols_cmds \
20754prelink_cmds \
20755postlink_cmds \
20756postinstall_cmds \
20757postuninstall_cmds \
20758finish_cmds \
20759sys_lib_search_path_spec \
20760configure_time_dlsearch_path \
20761configure_time_lt_sys_library_path \
20762reload_cmds_CXX \
20763old_archive_cmds_CXX \
20764old_archive_from_new_cmds_CXX \
20765old_archive_from_expsyms_cmds_CXX \
20766archive_cmds_CXX \
20767archive_expsym_cmds_CXX \
20768module_cmds_CXX \
20769module_expsym_cmds_CXX \
20770export_symbols_cmds_CXX \
20771prelink_cmds_CXX \
20772postlink_cmds_CXX; do
20773    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20774    *[\\\\\\\`\\"\\\$]*)
20775      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
20776      ;;
20777    *)
20778      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20779      ;;
20780    esac
20781done
20782
20783ac_aux_dir='$ac_aux_dir'
20784
20785# See if we are running on zsh, and set the options that allow our
20786# commands through without removal of \ escapes INIT.
20787if test -n "\${ZSH_VERSION+set}"; then
20788   setopt NO_GLOB_SUBST
20789fi
20790
20791
20792    PACKAGE='$PACKAGE'
20793    VERSION='$VERSION'
20794    RM='$RM'
20795    ofile='$ofile'
20796
20797
20798
20799
20800
20801
20802_ACEOF
20803
20804cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20805
20806# Handling of arguments.
20807for ac_config_target in $ac_config_targets
20808do
20809  case $ac_config_target in
20810    "expat_config.h") CONFIG_HEADERS="$CONFIG_HEADERS expat_config.h" ;;
20811    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
20812    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
20813    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20814    "expat.pc") CONFIG_FILES="$CONFIG_FILES expat.pc" ;;
20815    "cmake/expat-config.cmake") CONFIG_FILES="$CONFIG_FILES cmake/expat-config.cmake" ;;
20816    "cmake/autotools/expat-config-version.cmake") CONFIG_FILES="$CONFIG_FILES cmake/autotools/expat-config-version.cmake" ;;
20817    "cmake/autotools/expat-noconfig.cmake") CONFIG_FILES="$CONFIG_FILES cmake/autotools/expat-noconfig.cmake:${CMAKE_NOCONFIG_SOURCE}" ;;
20818    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
20819    "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
20820    "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
20821    "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
20822    "tests/benchmark/Makefile") CONFIG_FILES="$CONFIG_FILES tests/benchmark/Makefile" ;;
20823    "xmlwf/Makefile") CONFIG_FILES="$CONFIG_FILES xmlwf/Makefile" ;;
20824    "run.sh") CONFIG_FILES="$CONFIG_FILES run.sh" ;;
20825
20826  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20827  esac
20828done
20829
20830
20831# If the user did not use the arguments to specify the items to instantiate,
20832# then the envvar interface is used.  Set only those that are not.
20833# We use the long form for the default assignment because of an extremely
20834# bizarre bug on SunOS 4.1.3.
20835if $ac_need_defaults; then
20836  test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
20837  test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
20838  test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
20839fi
20840
20841# Have a temporary directory for convenience.  Make it in the build tree
20842# simply because there is no reason against having it here, and in addition,
20843# creating and moving files from /tmp can sometimes cause problems.
20844# Hook for its removal unless debugging.
20845# Note that there is a small window in which the directory will not be cleaned:
20846# after its creation but before its name has been assigned to `$tmp'.
20847$debug ||
20848{
20849  tmp= ac_tmp=
20850  trap 'exit_status=$?
20851  : "${ac_tmp:=$tmp}"
20852  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20853' 0
20854  trap 'as_fn_exit 1' 1 2 13 15
20855}
20856# Create a (secure) tmp directory for tmp files.
20857
20858{
20859  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20860  test -d "$tmp"
20861}  ||
20862{
20863  tmp=./conf$$-$RANDOM
20864  (umask 077 && mkdir "$tmp")
20865} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20866ac_tmp=$tmp
20867
20868# Set up the scripts for CONFIG_FILES section.
20869# No need to generate them if there are no CONFIG_FILES.
20870# This happens for instance with `./config.status config.h'.
20871if test -n "$CONFIG_FILES"; then
20872
20873if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
20874  ac_cs_awk_getline=:
20875  ac_cs_awk_pipe_init=
20876  ac_cs_awk_read_file='
20877      while ((getline aline < (F[key])) > 0)
20878	print(aline)
20879      close(F[key])'
20880  ac_cs_awk_pipe_fini=
20881else
20882  ac_cs_awk_getline=false
20883  ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
20884  ac_cs_awk_read_file='
20885      print "|#_!!_#|"
20886      print "cat " F[key] " &&"
20887      '$ac_cs_awk_pipe_init
20888  # The final `:' finishes the AND list.
20889  ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
20890fi
20891ac_cr=`echo X | tr X '\015'`
20892# On cygwin, bash can eat \r inside `` if the user requested igncr.
20893# But we know of no other shell where ac_cr would be empty at this
20894# point, so we can use a bashism as a fallback.
20895if test "x$ac_cr" = x; then
20896  eval ac_cr=\$\'\\r\'
20897fi
20898ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20899if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20900  ac_cs_awk_cr='\\r'
20901else
20902  ac_cs_awk_cr=$ac_cr
20903fi
20904
20905echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20906_ACEOF
20907
20908# Create commands to substitute file output variables.
20909{
20910  echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
20911  echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
20912  echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
20913  echo "_ACAWK" &&
20914  echo "_ACEOF"
20915} >conf$$files.sh &&
20916. ./conf$$files.sh ||
20917  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20918rm -f conf$$files.sh
20919
20920{
20921  echo "cat >conf$$subs.awk <<_ACEOF" &&
20922  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20923  echo "_ACEOF"
20924} >conf$$subs.sh ||
20925  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20926ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20927ac_delim='%!_!# '
20928for ac_last_try in false false false false false :; do
20929  . ./conf$$subs.sh ||
20930    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20931
20932  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20933  if test $ac_delim_n = $ac_delim_num; then
20934    break
20935  elif $ac_last_try; then
20936    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20937  else
20938    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20939  fi
20940done
20941rm -f conf$$subs.sh
20942
20943cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20944cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20945_ACEOF
20946sed -n '
20947h
20948s/^/S["/; s/!.*/"]=/
20949p
20950g
20951s/^[^!]*!//
20952:repl
20953t repl
20954s/'"$ac_delim"'$//
20955t delim
20956:nl
20957h
20958s/\(.\{148\}\)..*/\1/
20959t more1
20960s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20961p
20962n
20963b repl
20964:more1
20965s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20966p
20967g
20968s/.\{148\}//
20969t nl
20970:delim
20971h
20972s/\(.\{148\}\)..*/\1/
20973t more2
20974s/["\\]/\\&/g; s/^/"/; s/$/"/
20975p
20976b
20977:more2
20978s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20979p
20980g
20981s/.\{148\}//
20982t delim
20983' <conf$$subs.awk | sed '
20984/^[^""]/{
20985  N
20986  s/\n//
20987}
20988' >>$CONFIG_STATUS || ac_write_fail=1
20989rm -f conf$$subs.awk
20990cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20991_ACAWK
20992cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
20993  for (key in S) S_is_set[key] = 1
20994  FS = ""
20995  \$ac_cs_awk_pipe_init
20996}
20997{
20998  line = $ 0
20999  nfields = split(line, field, "@")
21000  substed = 0
21001  len = length(field[1])
21002  for (i = 2; i < nfields; i++) {
21003    key = field[i]
21004    keylen = length(key)
21005    if (S_is_set[key]) {
21006      value = S[key]
21007      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21008      len += length(value) + length(field[++i])
21009      substed = 1
21010    } else
21011      len += 1 + keylen
21012  }
21013  if (nfields == 3 && !substed) {
21014    key = field[2]
21015    if (F[key] != "" && line ~ /^[	 ]*@.*@[	 ]*$/) {
21016      \$ac_cs_awk_read_file
21017      next
21018    }
21019  }
21020  print line
21021}
21022\$ac_cs_awk_pipe_fini
21023_ACAWK
21024_ACEOF
21025cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21026if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21027  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
21028else
21029  cat
21030fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
21031  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
21032_ACEOF
21033
21034# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
21035# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
21036# trailing colons and then remove the whole line if VPATH becomes empty
21037# (actually we leave an empty line to preserve line numbers).
21038if test "x$srcdir" = x.; then
21039  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
21040h
21041s///
21042s/^/:/
21043s/[	 ]*$/:/
21044s/:\$(srcdir):/:/g
21045s/:\${srcdir}:/:/g
21046s/:@srcdir@:/:/g
21047s/^:*//
21048s/:*$//
21049x
21050s/\(=[	 ]*\).*/\1/
21051G
21052s/\n//
21053s/^[^=]*=[	 ]*$//
21054}'
21055fi
21056
21057cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21058fi # test -n "$CONFIG_FILES"
21059
21060# Set up the scripts for CONFIG_HEADERS section.
21061# No need to generate them if there are no CONFIG_HEADERS.
21062# This happens for instance with `./config.status Makefile'.
21063if test -n "$CONFIG_HEADERS"; then
21064cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
21065BEGIN {
21066_ACEOF
21067
21068# Transform confdefs.h into an awk script `defines.awk', embedded as
21069# here-document in config.status, that substitutes the proper values into
21070# config.h.in to produce config.h.
21071
21072# Create a delimiter string that does not exist in confdefs.h, to ease
21073# handling of long lines.
21074ac_delim='%!_!# '
21075for ac_last_try in false false :; do
21076  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
21077  if test -z "$ac_tt"; then
21078    break
21079  elif $ac_last_try; then
21080    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
21081  else
21082    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21083  fi
21084done
21085
21086# For the awk script, D is an array of macro values keyed by name,
21087# likewise P contains macro parameters if any.  Preserve backslash
21088# newline sequences.
21089
21090ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21091sed -n '
21092s/.\{148\}/&'"$ac_delim"'/g
21093t rset
21094:rset
21095s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
21096t def
21097d
21098:def
21099s/\\$//
21100t bsnl
21101s/["\\]/\\&/g
21102s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
21103D["\1"]=" \3"/p
21104s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
21105d
21106:bsnl
21107s/["\\]/\\&/g
21108s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
21109D["\1"]=" \3\\\\\\n"\\/p
21110t cont
21111s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
21112t cont
21113d
21114:cont
21115n
21116s/.\{148\}/&'"$ac_delim"'/g
21117t clear
21118:clear
21119s/\\$//
21120t bsnlc
21121s/["\\]/\\&/g; s/^/"/; s/$/"/p
21122d
21123:bsnlc
21124s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
21125b cont
21126' <confdefs.h | sed '
21127s/'"$ac_delim"'/"\\\
21128"/g' >>$CONFIG_STATUS || ac_write_fail=1
21129
21130cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21131  for (key in D) D_is_set[key] = 1
21132  FS = ""
21133}
21134/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21135  line = \$ 0
21136  split(line, arg, " ")
21137  if (arg[1] == "#") {
21138    defundef = arg[2]
21139    mac1 = arg[3]
21140  } else {
21141    defundef = substr(arg[1], 2)
21142    mac1 = arg[2]
21143  }
21144  split(mac1, mac2, "(") #)
21145  macro = mac2[1]
21146  prefix = substr(line, 1, index(line, defundef) - 1)
21147  if (D_is_set[macro]) {
21148    # Preserve the white space surrounding the "#".
21149    print prefix "define", macro P[macro] D[macro]
21150    next
21151  } else {
21152    # Replace #undef with comments.  This is necessary, for example,
21153    # in the case of _POSIX_SOURCE, which is predefined and required
21154    # on some systems where configure will not decide to define it.
21155    if (defundef == "undef") {
21156      print "/*", prefix defundef, macro, "*/"
21157      next
21158    }
21159  }
21160}
21161{ print }
21162_ACAWK
21163_ACEOF
21164cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21165  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
21166fi # test -n "$CONFIG_HEADERS"
21167
21168
21169eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
21170shift
21171for ac_tag
21172do
21173  case $ac_tag in
21174  :[FHLC]) ac_mode=$ac_tag; continue;;
21175  esac
21176  case $ac_mode$ac_tag in
21177  :[FHL]*:*);;
21178  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
21179  :[FH]-) ac_tag=-:-;;
21180  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21181  esac
21182  ac_save_IFS=$IFS
21183  IFS=:
21184  set x $ac_tag
21185  IFS=$ac_save_IFS
21186  shift
21187  ac_file=$1
21188  shift
21189
21190  case $ac_mode in
21191  :L) ac_source=$1;;
21192  :[FH])
21193    ac_file_inputs=
21194    for ac_f
21195    do
21196      case $ac_f in
21197      -) ac_f="$ac_tmp/stdin";;
21198      *) # Look for the file first in the build tree, then in the source tree
21199	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
21200	 # because $ac_f cannot contain `:'.
21201	 test -f "$ac_f" ||
21202	   case $ac_f in
21203	   [\\/$]*) false;;
21204	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21205	   esac ||
21206	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21207      esac
21208      case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21209      as_fn_append ac_file_inputs " '$ac_f'"
21210    done
21211
21212    # Let's still pretend it is `configure' which instantiates (i.e., don't
21213    # use $as_me), people would be surprised to read:
21214    #    /* config.h.  Generated by config.status.  */
21215    configure_input='Generated from '`
21216	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21217	`' by configure.'
21218    if test x"$ac_file" != x-; then
21219      configure_input="$ac_file.  $configure_input"
21220      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21221printf "%s\n" "$as_me: creating $ac_file" >&6;}
21222    fi
21223    # Neutralize special characters interpreted by sed in replacement strings.
21224    case $configure_input in #(
21225    *\&* | *\|* | *\\* )
21226       ac_sed_conf_input=`printf "%s\n" "$configure_input" |
21227       sed 's/[\\\\&|]/\\\\&/g'`;; #(
21228    *) ac_sed_conf_input=$configure_input;;
21229    esac
21230
21231    case $ac_tag in
21232    *:-:* | *:-) cat >"$ac_tmp/stdin" \
21233      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
21234    esac
21235    ;;
21236  esac
21237
21238  ac_dir=`$as_dirname -- "$ac_file" ||
21239$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21240	 X"$ac_file" : 'X\(//\)[^/]' \| \
21241	 X"$ac_file" : 'X\(//\)$' \| \
21242	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21243printf "%s\n" X"$ac_file" |
21244    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21245	    s//\1/
21246	    q
21247	  }
21248	  /^X\(\/\/\)[^/].*/{
21249	    s//\1/
21250	    q
21251	  }
21252	  /^X\(\/\/\)$/{
21253	    s//\1/
21254	    q
21255	  }
21256	  /^X\(\/\).*/{
21257	    s//\1/
21258	    q
21259	  }
21260	  s/.*/./; q'`
21261  as_dir="$ac_dir"; as_fn_mkdir_p
21262  ac_builddir=.
21263
21264case "$ac_dir" in
21265.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21266*)
21267  ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
21268  # A ".." for each directory in $ac_dir_suffix.
21269  ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21270  case $ac_top_builddir_sub in
21271  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
21272  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
21273  esac ;;
21274esac
21275ac_abs_top_builddir=$ac_pwd
21276ac_abs_builddir=$ac_pwd$ac_dir_suffix
21277# for backward compatibility:
21278ac_top_builddir=$ac_top_build_prefix
21279
21280case $srcdir in
21281  .)  # We are building in place.
21282    ac_srcdir=.
21283    ac_top_srcdir=$ac_top_builddir_sub
21284    ac_abs_top_srcdir=$ac_pwd ;;
21285  [\\/]* | ?:[\\/]* )  # Absolute name.
21286    ac_srcdir=$srcdir$ac_dir_suffix;
21287    ac_top_srcdir=$srcdir
21288    ac_abs_top_srcdir=$srcdir ;;
21289  *) # Relative name.
21290    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
21291    ac_top_srcdir=$ac_top_build_prefix$srcdir
21292    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
21293esac
21294ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21295
21296
21297  case $ac_mode in
21298  :F)
21299  #
21300  # CONFIG_FILE
21301  #
21302
21303  case $INSTALL in
21304  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21305  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
21306  esac
21307  ac_MKDIR_P=$MKDIR_P
21308  case $MKDIR_P in
21309  [\\/$]* | ?:[\\/]* ) ;;
21310  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
21311  esac
21312_ACEOF
21313
21314cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21315# If the template does not know about datarootdir, expand it.
21316# FIXME: This hack should be removed a few years after 2.60.
21317ac_datarootdir_hack=; ac_datarootdir_seen=
21318ac_sed_dataroot='
21319/datarootdir/ {
21320  p
21321  q
21322}
21323/@datadir@/p
21324/@docdir@/p
21325/@infodir@/p
21326/@localedir@/p
21327/@mandir@/p'
21328case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21329*datarootdir*) ac_datarootdir_seen=yes;;
21330*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
21331  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21332printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21333_ACEOF
21334cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21335  ac_datarootdir_hack='
21336  s&@datadir@&$datadir&g
21337  s&@docdir@&$docdir&g
21338  s&@infodir@&$infodir&g
21339  s&@localedir@&$localedir&g
21340  s&@mandir@&$mandir&g
21341  s&\\\${datarootdir}&$datarootdir&g' ;;
21342esac
21343_ACEOF
21344
21345# Neutralize VPATH when `$srcdir' = `.'.
21346# Shell code in configure.ac might set extrasub.
21347# FIXME: do we really want to maintain this feature?
21348cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21349ac_sed_extra="$ac_vpsub
21350$extrasub
21351_ACEOF
21352cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21353:t
21354/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21355s|@configure_input@|$ac_sed_conf_input|;t t
21356s&@top_builddir@&$ac_top_builddir_sub&;t t
21357s&@top_build_prefix@&$ac_top_build_prefix&;t t
21358s&@srcdir@&$ac_srcdir&;t t
21359s&@abs_srcdir@&$ac_abs_srcdir&;t t
21360s&@top_srcdir@&$ac_top_srcdir&;t t
21361s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
21362s&@builddir@&$ac_builddir&;t t
21363s&@abs_builddir@&$ac_abs_builddir&;t t
21364s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
21365s&@INSTALL@&$ac_INSTALL&;t t
21366s&@MKDIR_P@&$ac_MKDIR_P&;t t
21367$ac_datarootdir_hack
21368"
21369eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
21370if $ac_cs_awk_getline; then
21371  $AWK -f "$ac_tmp/subs.awk"
21372else
21373  $AWK -f "$ac_tmp/subs.awk" | $SHELL
21374fi \
21375  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21376
21377test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21378  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
21379  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
21380      "$ac_tmp/out"`; test -z "$ac_out"; } &&
21381  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21382which seems to be undefined.  Please make sure it is defined" >&5
21383printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21384which seems to be undefined.  Please make sure it is defined" >&2;}
21385
21386  rm -f "$ac_tmp/stdin"
21387  case $ac_file in
21388  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21389  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21390  esac \
21391  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21392 ;;
21393  :H)
21394  #
21395  # CONFIG_HEADER
21396  #
21397  if test x"$ac_file" != x-; then
21398    {
21399      printf "%s\n" "/* $configure_input  */" >&1 \
21400      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
21401    } >"$ac_tmp/config.h" \
21402      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21403    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
21404      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21405printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
21406    else
21407      rm -f "$ac_file"
21408      mv "$ac_tmp/config.h" "$ac_file" \
21409	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
21410    fi
21411  else
21412    printf "%s\n" "/* $configure_input  */" >&1 \
21413      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
21414      || as_fn_error $? "could not create -" "$LINENO" 5
21415  fi
21416# Compute "$ac_file"'s index in $config_headers.
21417_am_arg="$ac_file"
21418_am_stamp_count=1
21419for _am_header in $config_headers :; do
21420  case $_am_header in
21421    $_am_arg | $_am_arg:* )
21422      break ;;
21423    * )
21424      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
21425  esac
21426done
21427echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
21428$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21429	 X"$_am_arg" : 'X\(//\)[^/]' \| \
21430	 X"$_am_arg" : 'X\(//\)$' \| \
21431	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
21432printf "%s\n" X"$_am_arg" |
21433    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21434	    s//\1/
21435	    q
21436	  }
21437	  /^X\(\/\/\)[^/].*/{
21438	    s//\1/
21439	    q
21440	  }
21441	  /^X\(\/\/\)$/{
21442	    s//\1/
21443	    q
21444	  }
21445	  /^X\(\/\).*/{
21446	    s//\1/
21447	    q
21448	  }
21449	  s/.*/./; q'`/stamp-h$_am_stamp_count
21450 ;;
21451
21452  :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21453printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
21454 ;;
21455  esac
21456
21457
21458  case $ac_file$ac_mode in
21459    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
21460  # Older Autoconf quotes --file arguments for eval, but not when files
21461  # are listed without --file.  Let's play safe and only enable the eval
21462  # if we detect the quoting.
21463  # TODO: see whether this extra hack can be removed once we start
21464  # requiring Autoconf 2.70 or later.
21465  case $CONFIG_FILES in #(
21466  *\'*) :
21467    eval set x "$CONFIG_FILES" ;; #(
21468  *) :
21469    set x $CONFIG_FILES ;; #(
21470  *) :
21471     ;;
21472esac
21473  shift
21474  # Used to flag and report bootstrapping failures.
21475  am_rc=0
21476  for am_mf
21477  do
21478    # Strip MF so we end up with the name of the file.
21479    am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
21480    # Check whether this is an Automake generated Makefile which includes
21481    # dependency-tracking related rules and includes.
21482    # Grep'ing the whole file directly is not great: AIX grep has a line
21483    # limit of 2048, but all sed's we know have understand at least 4000.
21484    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
21485      || continue
21486    am_dirpart=`$as_dirname -- "$am_mf" ||
21487$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21488	 X"$am_mf" : 'X\(//\)[^/]' \| \
21489	 X"$am_mf" : 'X\(//\)$' \| \
21490	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
21491printf "%s\n" X"$am_mf" |
21492    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21493	    s//\1/
21494	    q
21495	  }
21496	  /^X\(\/\/\)[^/].*/{
21497	    s//\1/
21498	    q
21499	  }
21500	  /^X\(\/\/\)$/{
21501	    s//\1/
21502	    q
21503	  }
21504	  /^X\(\/\).*/{
21505	    s//\1/
21506	    q
21507	  }
21508	  s/.*/./; q'`
21509    am_filepart=`$as_basename -- "$am_mf" ||
21510$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
21511	 X"$am_mf" : 'X\(//\)$' \| \
21512	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
21513printf "%s\n" X/"$am_mf" |
21514    sed '/^.*\/\([^/][^/]*\)\/*$/{
21515	    s//\1/
21516	    q
21517	  }
21518	  /^X\/\(\/\/\)$/{
21519	    s//\1/
21520	    q
21521	  }
21522	  /^X\/\(\/\).*/{
21523	    s//\1/
21524	    q
21525	  }
21526	  s/.*/./; q'`
21527    { echo "$as_me:$LINENO: cd "$am_dirpart" \
21528      && sed -e '/# am--include-marker/d' "$am_filepart" \
21529        | $MAKE -f - am--depfiles" >&5
21530   (cd "$am_dirpart" \
21531      && sed -e '/# am--include-marker/d' "$am_filepart" \
21532        | $MAKE -f - am--depfiles) >&5 2>&5
21533   ac_status=$?
21534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21535   (exit $ac_status); } || am_rc=$?
21536  done
21537  if test $am_rc -ne 0; then
21538    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21539printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
21540as_fn_error $? "Something went wrong bootstrapping makefile fragments
21541    for automatic dependency tracking.  If GNU make was not used, consider
21542    re-running the configure script with MAKE=\"gmake\" (or whatever is
21543    necessary).  You can also try re-running configure with the
21544    '--disable-dependency-tracking' option to at least be able to build
21545    the package (albeit without support for automatic dependency tracking).
21546See \`config.log' for more details" "$LINENO" 5; }
21547  fi
21548  { am_dirpart=; unset am_dirpart;}
21549  { am_filepart=; unset am_filepart;}
21550  { am_mf=; unset am_mf;}
21551  { am_rc=; unset am_rc;}
21552  rm -f conftest-deps.mk
21553}
21554 ;;
21555    "libtool":C)
21556
21557    # See if we are running on zsh, and set the options that allow our
21558    # commands through without removal of \ escapes.
21559    if test -n "${ZSH_VERSION+set}"; then
21560      setopt NO_GLOB_SUBST
21561    fi
21562
21563    cfgfile=${ofile}T
21564    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21565    $RM "$cfgfile"
21566
21567    cat <<_LT_EOF >> "$cfgfile"
21568#! $SHELL
21569# Generated automatically by $as_me ($PACKAGE) $VERSION
21570# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21571# NOTE: Changes made to this file will be lost: look at ltmain.sh.
21572
21573# Provide generalized library-building support services.
21574# Written by Gordon Matzigkeit, 1996
21575
21576# Copyright (C) 2014 Free Software Foundation, Inc.
21577# This is free software; see the source for copying conditions.  There is NO
21578# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
21579
21580# GNU Libtool is free software; you can redistribute it and/or modify
21581# it under the terms of the GNU General Public License as published by
21582# the Free Software Foundation; either version 2 of of the License, or
21583# (at your option) any later version.
21584#
21585# As a special exception to the GNU General Public License, if you
21586# distribute this file as part of a program or library that is built
21587# using GNU Libtool, you may include this file under the  same
21588# distribution terms that you use for the rest of that program.
21589#
21590# GNU Libtool is distributed in the hope that it will be useful, but
21591# WITHOUT ANY WARRANTY; without even the implied warranty of
21592# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21593# GNU General Public License for more details.
21594#
21595# You should have received a copy of the GNU General Public License
21596# along with this program.  If not, see <http://www.gnu.org/licenses/>.
21597
21598
21599# The names of the tagged configurations supported by this script.
21600available_tags='CXX '
21601
21602# Configured defaults for sys_lib_dlsearch_path munging.
21603: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
21604
21605# ### BEGIN LIBTOOL CONFIG
21606
21607# Which release of libtool.m4 was used?
21608macro_version=$macro_version
21609macro_revision=$macro_revision
21610
21611# Assembler program.
21612AS=$lt_AS
21613
21614# DLL creation program.
21615DLLTOOL=$lt_DLLTOOL
21616
21617# Object dumper program.
21618OBJDUMP=$lt_OBJDUMP
21619
21620# Whether or not to build shared libraries.
21621build_libtool_libs=$enable_shared
21622
21623# Whether or not to build static libraries.
21624build_old_libs=$enable_static
21625
21626# What type of objects to build.
21627pic_mode=$pic_mode
21628
21629# Whether or not to optimize for fast installation.
21630fast_install=$enable_fast_install
21631
21632# Shared archive member basename,for filename based shared library versioning on AIX.
21633shared_archive_member_spec=$shared_archive_member_spec
21634
21635# Shell to use when invoking shell scripts.
21636SHELL=$lt_SHELL
21637
21638# An echo program that protects backslashes.
21639ECHO=$lt_ECHO
21640
21641# The PATH separator for the build system.
21642PATH_SEPARATOR=$lt_PATH_SEPARATOR
21643
21644# The host system.
21645host_alias=$host_alias
21646host=$host
21647host_os=$host_os
21648
21649# The build system.
21650build_alias=$build_alias
21651build=$build
21652build_os=$build_os
21653
21654# A sed program that does not truncate output.
21655SED=$lt_SED
21656
21657# Sed that helps us avoid accidentally triggering echo(1) options like -n.
21658Xsed="\$SED -e 1s/^X//"
21659
21660# A grep program that handles long lines.
21661GREP=$lt_GREP
21662
21663# An ERE matcher.
21664EGREP=$lt_EGREP
21665
21666# A literal string matcher.
21667FGREP=$lt_FGREP
21668
21669# A BSD- or MS-compatible name lister.
21670NM=$lt_NM
21671
21672# Whether we need soft or hard links.
21673LN_S=$lt_LN_S
21674
21675# What is the maximum length of a command?
21676max_cmd_len=$max_cmd_len
21677
21678# Object file suffix (normally "o").
21679objext=$ac_objext
21680
21681# Executable file suffix (normally "").
21682exeext=$exeext
21683
21684# whether the shell understands "unset".
21685lt_unset=$lt_unset
21686
21687# turn spaces into newlines.
21688SP2NL=$lt_lt_SP2NL
21689
21690# turn newlines into spaces.
21691NL2SP=$lt_lt_NL2SP
21692
21693# convert \$build file names to \$host format.
21694to_host_file_cmd=$lt_cv_to_host_file_cmd
21695
21696# convert \$build files to toolchain format.
21697to_tool_file_cmd=$lt_cv_to_tool_file_cmd
21698
21699# Method to check whether dependent libraries are shared objects.
21700deplibs_check_method=$lt_deplibs_check_method
21701
21702# Command to use when deplibs_check_method = "file_magic".
21703file_magic_cmd=$lt_file_magic_cmd
21704
21705# How to find potential files when deplibs_check_method = "file_magic".
21706file_magic_glob=$lt_file_magic_glob
21707
21708# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
21709want_nocaseglob=$lt_want_nocaseglob
21710
21711# Command to associate shared and link libraries.
21712sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
21713
21714# The archiver.
21715AR=$lt_AR
21716
21717# Flags to create an archive.
21718AR_FLAGS=$lt_AR_FLAGS
21719
21720# How to feed a file listing to the archiver.
21721archiver_list_spec=$lt_archiver_list_spec
21722
21723# A symbol stripping program.
21724STRIP=$lt_STRIP
21725
21726# Commands used to install an old-style archive.
21727RANLIB=$lt_RANLIB
21728old_postinstall_cmds=$lt_old_postinstall_cmds
21729old_postuninstall_cmds=$lt_old_postuninstall_cmds
21730
21731# Whether to use a lock for old archive extraction.
21732lock_old_archive_extraction=$lock_old_archive_extraction
21733
21734# A C compiler.
21735LTCC=$lt_CC
21736
21737# LTCC compiler flags.
21738LTCFLAGS=$lt_CFLAGS
21739
21740# Take the output of nm and produce a listing of raw symbols and C names.
21741global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21742
21743# Transform the output of nm in a proper C declaration.
21744global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21745
21746# Transform the output of nm into a list of symbols to manually relocate.
21747global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
21748
21749# Transform the output of nm in a C name address pair.
21750global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21751
21752# Transform the output of nm in a C name address pair when lib prefix is needed.
21753global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
21754
21755# The name lister interface.
21756nm_interface=$lt_lt_cv_nm_interface
21757
21758# Specify filename containing input files for \$NM.
21759nm_file_list_spec=$lt_nm_file_list_spec
21760
21761# The root where to search for dependent libraries,and where our libraries should be installed.
21762lt_sysroot=$lt_sysroot
21763
21764# Command to truncate a binary pipe.
21765lt_truncate_bin=$lt_lt_cv_truncate_bin
21766
21767# The name of the directory that contains temporary libtool files.
21768objdir=$objdir
21769
21770# Used to examine libraries when file_magic_cmd begins with "file".
21771MAGIC_CMD=$MAGIC_CMD
21772
21773# Must we lock files when doing compilation?
21774need_locks=$lt_need_locks
21775
21776# Manifest tool.
21777MANIFEST_TOOL=$lt_MANIFEST_TOOL
21778
21779# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
21780DSYMUTIL=$lt_DSYMUTIL
21781
21782# Tool to change global to local symbols on Mac OS X.
21783NMEDIT=$lt_NMEDIT
21784
21785# Tool to manipulate fat objects and archives on Mac OS X.
21786LIPO=$lt_LIPO
21787
21788# ldd/readelf like tool for Mach-O binaries on Mac OS X.
21789OTOOL=$lt_OTOOL
21790
21791# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
21792OTOOL64=$lt_OTOOL64
21793
21794# Old archive suffix (normally "a").
21795libext=$libext
21796
21797# Shared library suffix (normally ".so").
21798shrext_cmds=$lt_shrext_cmds
21799
21800# The commands to extract the exported symbol list from a shared archive.
21801extract_expsyms_cmds=$lt_extract_expsyms_cmds
21802
21803# Variables whose values should be saved in libtool wrapper scripts and
21804# restored at link time.
21805variables_saved_for_relink=$lt_variables_saved_for_relink
21806
21807# Do we need the "lib" prefix for modules?
21808need_lib_prefix=$need_lib_prefix
21809
21810# Do we need a version for libraries?
21811need_version=$need_version
21812
21813# Library versioning type.
21814version_type=$version_type
21815
21816# Shared library runtime path variable.
21817runpath_var=$runpath_var
21818
21819# Shared library path variable.
21820shlibpath_var=$shlibpath_var
21821
21822# Is shlibpath searched before the hard-coded library search path?
21823shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21824
21825# Format of library name prefix.
21826libname_spec=$lt_libname_spec
21827
21828# List of archive names.  First name is the real one, the rest are links.
21829# The last name is the one that the linker finds with -lNAME
21830library_names_spec=$lt_library_names_spec
21831
21832# The coded name of the library, if different from the real name.
21833soname_spec=$lt_soname_spec
21834
21835# Permission mode override for installation of shared libraries.
21836install_override_mode=$lt_install_override_mode
21837
21838# Command to use after installation of a shared archive.
21839postinstall_cmds=$lt_postinstall_cmds
21840
21841# Command to use after uninstallation of a shared archive.
21842postuninstall_cmds=$lt_postuninstall_cmds
21843
21844# Commands used to finish a libtool library installation in a directory.
21845finish_cmds=$lt_finish_cmds
21846
21847# As "finish_cmds", except a single script fragment to be evaled but
21848# not shown.
21849finish_eval=$lt_finish_eval
21850
21851# Whether we should hardcode library paths into libraries.
21852hardcode_into_libs=$hardcode_into_libs
21853
21854# Compile-time system search path for libraries.
21855sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21856
21857# Detected run-time system search path for libraries.
21858sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
21859
21860# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
21861configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
21862
21863# Whether dlopen is supported.
21864dlopen_support=$enable_dlopen
21865
21866# Whether dlopen of programs is supported.
21867dlopen_self=$enable_dlopen_self
21868
21869# Whether dlopen of statically linked programs is supported.
21870dlopen_self_static=$enable_dlopen_self_static
21871
21872# Commands to strip libraries.
21873old_striplib=$lt_old_striplib
21874striplib=$lt_striplib
21875
21876
21877# The linker used to build libraries.
21878LD=$lt_LD
21879
21880# How to create reloadable object files.
21881reload_flag=$lt_reload_flag
21882reload_cmds=$lt_reload_cmds
21883
21884# Commands used to build an old-style archive.
21885old_archive_cmds=$lt_old_archive_cmds
21886
21887# A language specific compiler.
21888CC=$lt_compiler
21889
21890# Is the compiler the GNU compiler?
21891with_gcc=$GCC
21892
21893# Compiler flag to turn off builtin functions.
21894no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
21895
21896# Additional compiler flags for building library objects.
21897pic_flag=$lt_lt_prog_compiler_pic
21898
21899# How to pass a linker flag through the compiler.
21900wl=$lt_lt_prog_compiler_wl
21901
21902# Compiler flag to prevent dynamic linking.
21903link_static_flag=$lt_lt_prog_compiler_static
21904
21905# Does compiler simultaneously support -c and -o options?
21906compiler_c_o=$lt_lt_cv_prog_compiler_c_o
21907
21908# Whether or not to add -lc for building shared libraries.
21909build_libtool_need_lc=$archive_cmds_need_lc
21910
21911# Whether or not to disallow shared libs when runtime libs are static.
21912allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
21913
21914# Compiler flag to allow reflexive dlopens.
21915export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
21916
21917# Compiler flag to generate shared objects directly from archives.
21918whole_archive_flag_spec=$lt_whole_archive_flag_spec
21919
21920# Whether the compiler copes with passing no objects directly.
21921compiler_needs_object=$lt_compiler_needs_object
21922
21923# Create an old-style archive from a shared archive.
21924old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
21925
21926# Create a temporary old-style archive to link instead of a shared archive.
21927old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
21928
21929# Commands used to build a shared archive.
21930archive_cmds=$lt_archive_cmds
21931archive_expsym_cmds=$lt_archive_expsym_cmds
21932
21933# Commands used to build a loadable module if different from building
21934# a shared archive.
21935module_cmds=$lt_module_cmds
21936module_expsym_cmds=$lt_module_expsym_cmds
21937
21938# Whether we are building with GNU ld or not.
21939with_gnu_ld=$lt_with_gnu_ld
21940
21941# Flag that allows shared libraries with undefined symbols to be built.
21942allow_undefined_flag=$lt_allow_undefined_flag
21943
21944# Flag that enforces no undefined symbols.
21945no_undefined_flag=$lt_no_undefined_flag
21946
21947# Flag to hardcode \$libdir into a binary during linking.
21948# This must work even if \$libdir does not exist
21949hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
21950
21951# Whether we need a single "-rpath" flag with a separated argument.
21952hardcode_libdir_separator=$lt_hardcode_libdir_separator
21953
21954# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
21955# DIR into the resulting binary.
21956hardcode_direct=$hardcode_direct
21957
21958# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
21959# DIR into the resulting binary and the resulting library dependency is
21960# "absolute",i.e impossible to change by setting \$shlibpath_var if the
21961# library is relocated.
21962hardcode_direct_absolute=$hardcode_direct_absolute
21963
21964# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21965# into the resulting binary.
21966hardcode_minus_L=$hardcode_minus_L
21967
21968# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21969# into the resulting binary.
21970hardcode_shlibpath_var=$hardcode_shlibpath_var
21971
21972# Set to "yes" if building a shared library automatically hardcodes DIR
21973# into the library and all subsequent libraries and executables linked
21974# against it.
21975hardcode_automatic=$hardcode_automatic
21976
21977# Set to yes if linker adds runtime paths of dependent libraries
21978# to runtime path list.
21979inherit_rpath=$inherit_rpath
21980
21981# Whether libtool must link a program against all its dependency libraries.
21982link_all_deplibs=$link_all_deplibs
21983
21984# Set to "yes" if exported symbols are required.
21985always_export_symbols=$always_export_symbols
21986
21987# The commands to list exported symbols.
21988export_symbols_cmds=$lt_export_symbols_cmds
21989
21990# Symbols that should not be listed in the preloaded symbols.
21991exclude_expsyms=$lt_exclude_expsyms
21992
21993# Symbols that must always be exported.
21994include_expsyms=$lt_include_expsyms
21995
21996# Commands necessary for linking programs (against libraries) with templates.
21997prelink_cmds=$lt_prelink_cmds
21998
21999# Commands necessary for finishing linking programs.
22000postlink_cmds=$lt_postlink_cmds
22001
22002# Specify filename containing input files.
22003file_list_spec=$lt_file_list_spec
22004
22005# How to hardcode a shared library path into an executable.
22006hardcode_action=$hardcode_action
22007
22008# The directories searched by this compiler when creating a shared library.
22009compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
22010
22011# Dependencies to place before and after the objects being linked to
22012# create a shared library.
22013predep_objects=$lt_predep_objects
22014postdep_objects=$lt_postdep_objects
22015predeps=$lt_predeps
22016postdeps=$lt_postdeps
22017
22018# The library search path used internally by the compiler when linking
22019# a shared library.
22020compiler_lib_search_path=$lt_compiler_lib_search_path
22021
22022# ### END LIBTOOL CONFIG
22023
22024_LT_EOF
22025
22026    cat <<'_LT_EOF' >> "$cfgfile"
22027
22028# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
22029
22030# func_munge_path_list VARIABLE PATH
22031# -----------------------------------
22032# VARIABLE is name of variable containing _space_ separated list of
22033# directories to be munged by the contents of PATH, which is string
22034# having a format:
22035# "DIR[:DIR]:"
22036#       string "DIR[ DIR]" will be prepended to VARIABLE
22037# ":DIR[:DIR]"
22038#       string "DIR[ DIR]" will be appended to VARIABLE
22039# "DIRP[:DIRP]::[DIRA:]DIRA"
22040#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
22041#       "DIRA[ DIRA]" will be appended to VARIABLE
22042# "DIR[:DIR]"
22043#       VARIABLE will be replaced by "DIR[ DIR]"
22044func_munge_path_list ()
22045{
22046    case x$2 in
22047    x)
22048        ;;
22049    *:)
22050        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
22051        ;;
22052    x:*)
22053        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
22054        ;;
22055    *::*)
22056        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
22057        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
22058        ;;
22059    *)
22060        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
22061        ;;
22062    esac
22063}
22064
22065
22066# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
22067func_cc_basename ()
22068{
22069    for cc_temp in $*""; do
22070      case $cc_temp in
22071        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
22072        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
22073        \-*) ;;
22074        *) break;;
22075      esac
22076    done
22077    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
22078}
22079
22080
22081# ### END FUNCTIONS SHARED WITH CONFIGURE
22082
22083_LT_EOF
22084
22085  case $host_os in
22086  aix3*)
22087    cat <<\_LT_EOF >> "$cfgfile"
22088# AIX sometimes has problems with the GCC collect2 program.  For some
22089# reason, if we set the COLLECT_NAMES environment variable, the problems
22090# vanish in a puff of smoke.
22091if test set != "${COLLECT_NAMES+set}"; then
22092  COLLECT_NAMES=
22093  export COLLECT_NAMES
22094fi
22095_LT_EOF
22096    ;;
22097  esac
22098
22099
22100
22101ltmain=$ac_aux_dir/ltmain.sh
22102
22103
22104  # We use sed instead of cat because bash on DJGPP gets confused if
22105  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
22106  # text mode, it properly converts lines to CR/LF.  This bash problem
22107  # is reportedly fixed, but why not run on old versions too?
22108  sed '$q' "$ltmain" >> "$cfgfile" \
22109     || (rm -f "$cfgfile"; exit 1)
22110
22111   mv -f "$cfgfile" "$ofile" ||
22112    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
22113  chmod +x "$ofile"
22114
22115
22116    cat <<_LT_EOF >> "$ofile"
22117
22118# ### BEGIN LIBTOOL TAG CONFIG: CXX
22119
22120# The linker used to build libraries.
22121LD=$lt_LD_CXX
22122
22123# How to create reloadable object files.
22124reload_flag=$lt_reload_flag_CXX
22125reload_cmds=$lt_reload_cmds_CXX
22126
22127# Commands used to build an old-style archive.
22128old_archive_cmds=$lt_old_archive_cmds_CXX
22129
22130# A language specific compiler.
22131CC=$lt_compiler_CXX
22132
22133# Is the compiler the GNU compiler?
22134with_gcc=$GCC_CXX
22135
22136# Compiler flag to turn off builtin functions.
22137no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
22138
22139# Additional compiler flags for building library objects.
22140pic_flag=$lt_lt_prog_compiler_pic_CXX
22141
22142# How to pass a linker flag through the compiler.
22143wl=$lt_lt_prog_compiler_wl_CXX
22144
22145# Compiler flag to prevent dynamic linking.
22146link_static_flag=$lt_lt_prog_compiler_static_CXX
22147
22148# Does compiler simultaneously support -c and -o options?
22149compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
22150
22151# Whether or not to add -lc for building shared libraries.
22152build_libtool_need_lc=$archive_cmds_need_lc_CXX
22153
22154# Whether or not to disallow shared libs when runtime libs are static.
22155allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
22156
22157# Compiler flag to allow reflexive dlopens.
22158export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
22159
22160# Compiler flag to generate shared objects directly from archives.
22161whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
22162
22163# Whether the compiler copes with passing no objects directly.
22164compiler_needs_object=$lt_compiler_needs_object_CXX
22165
22166# Create an old-style archive from a shared archive.
22167old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
22168
22169# Create a temporary old-style archive to link instead of a shared archive.
22170old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
22171
22172# Commands used to build a shared archive.
22173archive_cmds=$lt_archive_cmds_CXX
22174archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
22175
22176# Commands used to build a loadable module if different from building
22177# a shared archive.
22178module_cmds=$lt_module_cmds_CXX
22179module_expsym_cmds=$lt_module_expsym_cmds_CXX
22180
22181# Whether we are building with GNU ld or not.
22182with_gnu_ld=$lt_with_gnu_ld_CXX
22183
22184# Flag that allows shared libraries with undefined symbols to be built.
22185allow_undefined_flag=$lt_allow_undefined_flag_CXX
22186
22187# Flag that enforces no undefined symbols.
22188no_undefined_flag=$lt_no_undefined_flag_CXX
22189
22190# Flag to hardcode \$libdir into a binary during linking.
22191# This must work even if \$libdir does not exist
22192hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
22193
22194# Whether we need a single "-rpath" flag with a separated argument.
22195hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
22196
22197# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
22198# DIR into the resulting binary.
22199hardcode_direct=$hardcode_direct_CXX
22200
22201# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
22202# DIR into the resulting binary and the resulting library dependency is
22203# "absolute",i.e impossible to change by setting \$shlibpath_var if the
22204# library is relocated.
22205hardcode_direct_absolute=$hardcode_direct_absolute_CXX
22206
22207# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22208# into the resulting binary.
22209hardcode_minus_L=$hardcode_minus_L_CXX
22210
22211# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22212# into the resulting binary.
22213hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
22214
22215# Set to "yes" if building a shared library automatically hardcodes DIR
22216# into the library and all subsequent libraries and executables linked
22217# against it.
22218hardcode_automatic=$hardcode_automatic_CXX
22219
22220# Set to yes if linker adds runtime paths of dependent libraries
22221# to runtime path list.
22222inherit_rpath=$inherit_rpath_CXX
22223
22224# Whether libtool must link a program against all its dependency libraries.
22225link_all_deplibs=$link_all_deplibs_CXX
22226
22227# Set to "yes" if exported symbols are required.
22228always_export_symbols=$always_export_symbols_CXX
22229
22230# The commands to list exported symbols.
22231export_symbols_cmds=$lt_export_symbols_cmds_CXX
22232
22233# Symbols that should not be listed in the preloaded symbols.
22234exclude_expsyms=$lt_exclude_expsyms_CXX
22235
22236# Symbols that must always be exported.
22237include_expsyms=$lt_include_expsyms_CXX
22238
22239# Commands necessary for linking programs (against libraries) with templates.
22240prelink_cmds=$lt_prelink_cmds_CXX
22241
22242# Commands necessary for finishing linking programs.
22243postlink_cmds=$lt_postlink_cmds_CXX
22244
22245# Specify filename containing input files.
22246file_list_spec=$lt_file_list_spec_CXX
22247
22248# How to hardcode a shared library path into an executable.
22249hardcode_action=$hardcode_action_CXX
22250
22251# The directories searched by this compiler when creating a shared library.
22252compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
22253
22254# Dependencies to place before and after the objects being linked to
22255# create a shared library.
22256predep_objects=$lt_predep_objects_CXX
22257postdep_objects=$lt_postdep_objects_CXX
22258predeps=$lt_predeps_CXX
22259postdeps=$lt_postdeps_CXX
22260
22261# The library search path used internally by the compiler when linking
22262# a shared library.
22263compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
22264
22265# ### END LIBTOOL TAG CONFIG: CXX
22266_LT_EOF
22267
22268 ;;
22269    "run.sh":F) chmod +x run.sh ;;
22270
22271  esac
22272done # for ac_tag
22273
22274
22275as_fn_exit 0
22276_ACEOF
22277ac_clean_files=$ac_clean_files_save
22278
22279test $ac_write_fail = 0 ||
22280  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22281
22282
22283# configure is writing to config.log, and then calls config.status.
22284# config.status does its own redirection, appending to config.log.
22285# Unfortunately, on DOS this fails, as config.log is still kept open
22286# by configure, so config.status won't be able to write to it; its
22287# output is simply discarded.  So we exec the FD to /dev/null,
22288# effectively closing config.log, so it can be properly (re)opened and
22289# appended to by config.status.  When coming back to configure, we
22290# need to make the FD available again.
22291if test "$no_create" != yes; then
22292  ac_cs_success=:
22293  ac_config_status_args=
22294  test "$silent" = yes &&
22295    ac_config_status_args="$ac_config_status_args --quiet"
22296  exec 5>/dev/null
22297  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22298  exec 5>>config.log
22299  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22300  # would make configure fail if this is the last instruction.
22301  $ac_cs_success || as_fn_exit 1
22302fi
22303if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22304  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22305printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22306fi
22307
22308
22309
22310{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:
22311
22312Automake flags (can be overridden by user flags):
22313  AM_CPPFLAGS: ${AM_CPPFLAGS}
22314    AM_CFLAGS: ${AM_CFLAGS}
22315  AM_CXXFLAGS: ${AM_CXXFLAGS}
22316   AM_LDFLAGS: ${AM_LDFLAGS}
22317
22318User flags (override Automake flags on conflict):
22319     CPPFLAGS: ${CPPFLAGS}
22320       CFLAGS: ${CFLAGS}
22321     CXXFLAGS: ${CXXFLAGS}
22322      LDFLAGS: ${LDFLAGS}" >&5
22323printf "%s\n" "$as_me:
22324
22325Automake flags (can be overridden by user flags):
22326  AM_CPPFLAGS: ${AM_CPPFLAGS}
22327    AM_CFLAGS: ${AM_CFLAGS}
22328  AM_CXXFLAGS: ${AM_CXXFLAGS}
22329   AM_LDFLAGS: ${AM_LDFLAGS}
22330
22331User flags (override Automake flags on conflict):
22332     CPPFLAGS: ${CPPFLAGS}
22333       CFLAGS: ${CFLAGS}
22334     CXXFLAGS: ${CXXFLAGS}
22335      LDFLAGS: ${LDFLAGS}" >&6;}
22336
22337