1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.71 for xmltooling 3.2.1.
4#
5# Report bugs to <https://shibboleth.atlassian.net/jira>.
6#
7#
8# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
9# Inc.
10#
11#
12# This configure script is free software; the Free Software Foundation
13# gives unlimited permission to copy, distribute and modify it.
14## -------------------- ##
15## M4sh Initialization. ##
16## -------------------- ##
17
18# Be more Bourne compatible
19DUALCASE=1; export DUALCASE # for MKS sh
20as_nop=:
21if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22then :
23  emulate sh
24  NULLCMD=:
25  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26  # is contrary to our usage.  Disable this feature.
27  alias -g '${1+"$@"}'='"$@"'
28  setopt NO_GLOB_SUBST
29else $as_nop
30  case `(set -o) 2>/dev/null` in #(
31  *posix*) :
32    set -o posix ;; #(
33  *) :
34     ;;
35esac
36fi
37
38
39
40# Reset variables that may have inherited troublesome values from
41# the environment.
42
43# IFS needs to be set, to space, tab, and newline, in precisely that order.
44# (If _AS_PATH_WALK were called with IFS unset, it would have the
45# side effect of setting IFS to empty, thus disabling word splitting.)
46# Quoting is to prevent editors from complaining about space-tab.
47as_nl='
48'
49export as_nl
50IFS=" ""	$as_nl"
51
52PS1='$ '
53PS2='> '
54PS4='+ '
55
56# Ensure predictable behavior from utilities with locale-dependent output.
57LC_ALL=C
58export LC_ALL
59LANGUAGE=C
60export LANGUAGE
61
62# We cannot yet rely on "unset" to work, but we need these variables
63# to be unset--not just set to an empty or harmless value--now, to
64# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
65# also avoids known problems related to "unset" and subshell syntax
66# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
67for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
68do eval test \${$as_var+y} \
69  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
70done
71
72# Ensure that fds 0, 1, and 2 are open.
73if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
74if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
75if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
76
77# The user is always right.
78if ${PATH_SEPARATOR+false} :; then
79  PATH_SEPARATOR=:
80  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82      PATH_SEPARATOR=';'
83  }
84fi
85
86
87# Find who we are.  Look in the path if we contain no directory separator.
88as_myself=
89case $0 in #((
90  *[\\/]* ) as_myself=$0 ;;
91  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
92for as_dir in $PATH
93do
94  IFS=$as_save_IFS
95  case $as_dir in #(((
96    '') as_dir=./ ;;
97    */) ;;
98    *) as_dir=$as_dir/ ;;
99  esac
100    test -r "$as_dir$0" && as_myself=$as_dir$0 && break
101  done
102IFS=$as_save_IFS
103
104     ;;
105esac
106# We did not find ourselves, most probably we were run as `sh COMMAND'
107# in which case we are not to be found in the path.
108if test "x$as_myself" = x; then
109  as_myself=$0
110fi
111if test ! -f "$as_myself"; then
112  printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113  exit 1
114fi
115
116
117# Use a proper internal environment variable to ensure we don't fall
118  # into an infinite loop, continuously re-executing ourselves.
119  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
120    _as_can_reexec=no; export _as_can_reexec;
121    # We cannot yet assume a decent shell, so we have to provide a
122# neutralization value for shells without unset; and this also
123# works around shells that cannot unset nonexistent variables.
124# Preserve -v and -x to the replacement shell.
125BASH_ENV=/dev/null
126ENV=/dev/null
127(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
128case $- in # ((((
129  *v*x* | *x*v* ) as_opts=-vx ;;
130  *v* ) as_opts=-v ;;
131  *x* ) as_opts=-x ;;
132  * ) as_opts= ;;
133esac
134exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
135# Admittedly, this is quite paranoid, since all the known shells bail
136# out after a failed `exec'.
137printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
138exit 255
139  fi
140  # We don't want this to propagate to other subprocesses.
141          { _as_can_reexec=; unset _as_can_reexec;}
142if test "x$CONFIG_SHELL" = x; then
143  as_bourne_compatible="as_nop=:
144if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
145then :
146  emulate sh
147  NULLCMD=:
148  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
149  # is contrary to our usage.  Disable this feature.
150  alias -g '\${1+\"\$@\"}'='\"\$@\"'
151  setopt NO_GLOB_SUBST
152else \$as_nop
153  case \`(set -o) 2>/dev/null\` in #(
154  *posix*) :
155    set -o posix ;; #(
156  *) :
157     ;;
158esac
159fi
160"
161  as_required="as_fn_return () { (exit \$1); }
162as_fn_success () { as_fn_return 0; }
163as_fn_failure () { as_fn_return 1; }
164as_fn_ret_success () { return 0; }
165as_fn_ret_failure () { return 1; }
166
167exitcode=0
168as_fn_success || { exitcode=1; echo as_fn_success failed.; }
169as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
170as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
171as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
172if ( set x; as_fn_ret_success y && test x = \"\$1\" )
173then :
174
175else \$as_nop
176  exitcode=1; echo positional parameters were not saved.
177fi
178test x\$exitcode = x0 || exit 1
179blah=\$(echo \$(echo blah))
180test x\"\$blah\" = xblah || exit 1
181test -x / || exit 1"
182  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
183  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
184  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
185  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
186
187  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
188    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
189    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
190    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
191    PATH=/empty FPATH=/empty; export PATH FPATH
192    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
193      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
194test \$(( 1 + 1 )) = 2 || exit 1"
195  if (eval "$as_required") 2>/dev/null
196then :
197  as_have_required=yes
198else $as_nop
199  as_have_required=no
200fi
201  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
202then :
203
204else $as_nop
205  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
206as_found=false
207for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
208do
209  IFS=$as_save_IFS
210  case $as_dir in #(((
211    '') as_dir=./ ;;
212    */) ;;
213    *) as_dir=$as_dir/ ;;
214  esac
215  as_found=:
216  case $as_dir in #(
217	 /*)
218	   for as_base in sh bash ksh sh5; do
219	     # Try only shells that exist, to save several forks.
220	     as_shell=$as_dir$as_base
221	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
222		    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
223then :
224  CONFIG_SHELL=$as_shell as_have_required=yes
225		   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
226then :
227  break 2
228fi
229fi
230	   done;;
231       esac
232  as_found=false
233done
234IFS=$as_save_IFS
235if $as_found
236then :
237
238else $as_nop
239  if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240	      as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
241then :
242  CONFIG_SHELL=$SHELL as_have_required=yes
243fi
244fi
245
246
247      if test "x$CONFIG_SHELL" != x
248then :
249  export CONFIG_SHELL
250             # We cannot yet assume a decent shell, so we have to provide a
251# neutralization value for shells without unset; and this also
252# works around shells that cannot unset nonexistent variables.
253# Preserve -v and -x to the replacement shell.
254BASH_ENV=/dev/null
255ENV=/dev/null
256(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257case $- in # ((((
258  *v*x* | *x*v* ) as_opts=-vx ;;
259  *v* ) as_opts=-v ;;
260  *x* ) as_opts=-x ;;
261  * ) as_opts= ;;
262esac
263exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264# Admittedly, this is quite paranoid, since all the known shells bail
265# out after a failed `exec'.
266printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
267exit 255
268fi
269
270    if test x$as_have_required = xno
271then :
272  printf "%s\n" "$0: This script requires a shell more modern than all"
273  printf "%s\n" "$0: the shells that I found on your system."
274  if test ${ZSH_VERSION+y} ; then
275    printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
276    printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
277  else
278    printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
279$0: https://shibboleth.atlassian.net/jira about your
280$0: system, including any error possibly output before this
281$0: message. Then install a modern shell, or manually run
282$0: the script 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='xmltooling'
623PACKAGE_TARNAME='xmltooling'
624PACKAGE_VERSION='3.2.1'
625PACKAGE_STRING='xmltooling 3.2.1'
626PACKAGE_BUGREPORT='https://shibboleth.atlassian.net/jira'
627PACKAGE_URL=''
628
629ac_unique_file="xmltooling"
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_subst_vars='am__EXEEXT_FALSE
663am__EXEEXT_TRUE
664LTLIBOBJS
665LIBOBJS
666pkgxmldir
667BUILD_UNITTEST_FALSE
668BUILD_UNITTEST_TRUE
669CXXTESTFLAGS
670CXXTEST
671BUILD_XMLSEC_FALSE
672BUILD_XMLSEC_TRUE
673XMLTOOLING_REQUIRES_PRIVATE
674XMLTOOLING_REQUIRES
675XMLSEC_LIBS
676XMLSEC_CFLAGS
677xml_security_LIBS
678xml_security_CFLAGS
679libcurl_LIBS
680libcurl_CFLAGS
681openssl_LIBS
682openssl_CFLAGS
683zlib_LIBS
684zlib_CFLAGS
685xerces_LIBS
686xerces_CFLAGS
687XMLTOOLING_LITE_REQUIRES_PRIVATE
688XMLTOOLING_LITE_REQUIRES
689log4cpp_LIBS
690log4cpp_CFLAGS
691log4shib_LIBS
692log4shib_CFLAGS
693PKG_CONFIG_LIBDIR
694PKG_CONFIG_PATH
695PKG_CONFIG
696BOOST_CPPFLAGS
697DISTCHECK_CONFIGURE_FLAGS
698BOOST_ROOT
699BUILD_PTHREAD_FALSE
700BUILD_PTHREAD_TRUE
701PTHREAD_CFLAGS
702PTHREAD_LIBS
703PTHREAD_CC
704ax_pthread_config
705CPP
706dlopen_LIBS
707CXXCPP
708LT_SYS_LIBRARY_PATH
709OTOOL64
710OTOOL
711LIPO
712NMEDIT
713DSYMUTIL
714MANIFEST_TOOL
715RANLIB
716ac_ct_AR
717AR
718DLLTOOL
719OBJDUMP
720LN_S
721NM
722ac_ct_DUMPBIN
723DUMPBIN
724LD
725FGREP
726EGREP
727GREP
728SED
729host_os
730host_vendor
731host_cpu
732host
733build_os
734build_vendor
735build_cpu
736build
737LIBTOOL
738AM_CXXFLAGS
739AM_CFLAGS
740am__fastdepCXX_FALSE
741am__fastdepCXX_TRUE
742CXXDEPMODE
743ac_ct_CXX
744CXXFLAGS
745CXX
746am__fastdepCC_FALSE
747am__fastdepCC_TRUE
748CCDEPMODE
749am__nodep
750AMDEPBACKSLASH
751AMDEP_FALSE
752AMDEP_TRUE
753am__include
754DEPDIR
755OBJEXT
756EXEEXT
757ac_ct_CC
758CPPFLAGS
759LDFLAGS
760CFLAGS
761CC
762DOXYGEN_PAPER_SIZE
763DX_COND_latex_FALSE
764DX_COND_latex_TRUE
765DX_COND_pdf_FALSE
766DX_COND_pdf_TRUE
767DX_PDFLATEX
768DX_FLAG_pdf
769DX_COND_ps_FALSE
770DX_COND_ps_TRUE
771DX_EGREP
772DX_DVIPS
773DX_MAKEINDEX
774DX_LATEX
775DX_FLAG_ps
776DX_COND_html_FALSE
777DX_COND_html_TRUE
778DX_FLAG_html
779DX_COND_chi_FALSE
780DX_COND_chi_TRUE
781DX_FLAG_chi
782DX_COND_chm_FALSE
783DX_COND_chm_TRUE
784DX_HHC
785DX_FLAG_chm
786DX_COND_xml_FALSE
787DX_COND_xml_TRUE
788DX_FLAG_xml
789DX_COND_rtf_FALSE
790DX_COND_rtf_TRUE
791DX_FLAG_rtf
792DX_COND_man_FALSE
793DX_COND_man_TRUE
794DX_FLAG_man
795DX_COND_dot_FALSE
796DX_COND_dot_TRUE
797DX_DOT
798DX_FLAG_dot
799DX_COND_doc_FALSE
800DX_COND_doc_TRUE
801DX_PERL
802DX_DOXYGEN
803DX_FLAG_doc
804DX_ENV
805DX_DOCDIR
806DX_CONFIG
807DX_PROJECT
808pkgconfigdir
809AM_BACKSLASH
810AM_DEFAULT_VERBOSITY
811AM_DEFAULT_V
812AM_V
813CSCOPE
814ETAGS
815CTAGS
816am__untar
817am__tar
818AMTAR
819am__leading_dot
820SET_MAKE
821AWK
822mkdir_p
823MKDIR_P
824INSTALL_STRIP_PROGRAM
825STRIP
826install_sh
827MAKEINFO
828AUTOHEADER
829AUTOMAKE
830AUTOCONF
831ACLOCAL
832VERSION
833PACKAGE
834CYGPATH_W
835am__isrc
836INSTALL_DATA
837INSTALL_SCRIPT
838INSTALL_PROGRAM
839target_alias
840host_alias
841build_alias
842LIBS
843ECHO_T
844ECHO_N
845ECHO_C
846DEFS
847mandir
848localedir
849libdir
850psdir
851pdfdir
852dvidir
853htmldir
854infodir
855docdir
856oldincludedir
857includedir
858runstatedir
859localstatedir
860sharedstatedir
861sysconfdir
862datadir
863datarootdir
864libexecdir
865sbindir
866bindir
867program_transform_name
868prefix
869exec_prefix
870PACKAGE_URL
871PACKAGE_BUGREPORT
872PACKAGE_STRING
873PACKAGE_VERSION
874PACKAGE_TARNAME
875PACKAGE_NAME
876PATH_SEPARATOR
877SHELL
878am__quote'
879ac_subst_files=''
880ac_user_opts='
881enable_option_checking
882enable_silent_rules
883with_pkgconfigdir
884enable_doxygen_doc
885enable_doxygen_dot
886enable_doxygen_man
887enable_doxygen_rtf
888enable_doxygen_xml
889enable_doxygen_chm
890enable_doxygen_chi
891enable_doxygen_html
892enable_doxygen_ps
893enable_doxygen_pdf
894enable_debug
895enable_dependency_tracking
896enable_static
897enable_shared
898with_pic
899enable_fast_install
900with_aix_soname
901with_gnu_ld
902with_sysroot
903enable_libtool_lock
904with_boost
905with_xmlsec
906with_pkgxmldir
907'
908      ac_precious_vars='build_alias
909host_alias
910target_alias
911DOXYGEN_PAPER_SIZE
912CC
913CFLAGS
914LDFLAGS
915LIBS
916CPPFLAGS
917CXX
918CXXFLAGS
919CCC
920LT_SYS_LIBRARY_PATH
921CXXCPP
922CPP
923BOOST_ROOT
924PKG_CONFIG
925PKG_CONFIG_PATH
926PKG_CONFIG_LIBDIR
927log4shib_CFLAGS
928log4shib_LIBS
929log4cpp_CFLAGS
930log4cpp_LIBS
931xerces_CFLAGS
932xerces_LIBS
933zlib_CFLAGS
934zlib_LIBS
935openssl_CFLAGS
936openssl_LIBS
937libcurl_CFLAGS
938libcurl_LIBS
939xml_security_CFLAGS
940xml_security_LIBS
941CXXTEST
942CXXTESTFLAGS'
943
944
945# Initialize some variables set by options.
946ac_init_help=
947ac_init_version=false
948ac_unrecognized_opts=
949ac_unrecognized_sep=
950# The variables have the same names as the options, with
951# dashes changed to underlines.
952cache_file=/dev/null
953exec_prefix=NONE
954no_create=
955no_recursion=
956prefix=NONE
957program_prefix=NONE
958program_suffix=NONE
959program_transform_name=s,x,x,
960silent=
961site=
962srcdir=
963verbose=
964x_includes=NONE
965x_libraries=NONE
966
967# Installation directory options.
968# These are left unexpanded so users can "make install exec_prefix=/foo"
969# and all the variables that are supposed to be based on exec_prefix
970# by default will actually change.
971# Use braces instead of parens because sh, perl, etc. also accept them.
972# (The list follows the same order as the GNU Coding Standards.)
973bindir='${exec_prefix}/bin'
974sbindir='${exec_prefix}/sbin'
975libexecdir='${exec_prefix}/libexec'
976datarootdir='${prefix}/share'
977datadir='${datarootdir}'
978sysconfdir='${prefix}/etc'
979sharedstatedir='${prefix}/com'
980localstatedir='${prefix}/var'
981runstatedir='${localstatedir}/run'
982includedir='${prefix}/include'
983oldincludedir='/usr/include'
984docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
985infodir='${datarootdir}/info'
986htmldir='${docdir}'
987dvidir='${docdir}'
988pdfdir='${docdir}'
989psdir='${docdir}'
990libdir='${exec_prefix}/lib'
991localedir='${datarootdir}/locale'
992mandir='${datarootdir}/man'
993
994ac_prev=
995ac_dashdash=
996for ac_option
997do
998  # If the previous option needs an argument, assign it.
999  if test -n "$ac_prev"; then
1000    eval $ac_prev=\$ac_option
1001    ac_prev=
1002    continue
1003  fi
1004
1005  case $ac_option in
1006  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1007  *=)   ac_optarg= ;;
1008  *)    ac_optarg=yes ;;
1009  esac
1010
1011  case $ac_dashdash$ac_option in
1012  --)
1013    ac_dashdash=yes ;;
1014
1015  -bindir | --bindir | --bindi | --bind | --bin | --bi)
1016    ac_prev=bindir ;;
1017  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1018    bindir=$ac_optarg ;;
1019
1020  -build | --build | --buil | --bui | --bu)
1021    ac_prev=build_alias ;;
1022  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1023    build_alias=$ac_optarg ;;
1024
1025  -cache-file | --cache-file | --cache-fil | --cache-fi \
1026  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1027    ac_prev=cache_file ;;
1028  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1029  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1030    cache_file=$ac_optarg ;;
1031
1032  --config-cache | -C)
1033    cache_file=config.cache ;;
1034
1035  -datadir | --datadir | --datadi | --datad)
1036    ac_prev=datadir ;;
1037  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1038    datadir=$ac_optarg ;;
1039
1040  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1041  | --dataroo | --dataro | --datar)
1042    ac_prev=datarootdir ;;
1043  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1044  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1045    datarootdir=$ac_optarg ;;
1046
1047  -disable-* | --disable-*)
1048    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1049    # Reject names that are not valid shell variable names.
1050    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1051      as_fn_error $? "invalid feature name: \`$ac_useropt'"
1052    ac_useropt_orig=$ac_useropt
1053    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1054    case $ac_user_opts in
1055      *"
1056"enable_$ac_useropt"
1057"*) ;;
1058      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1059	 ac_unrecognized_sep=', ';;
1060    esac
1061    eval enable_$ac_useropt=no ;;
1062
1063  -docdir | --docdir | --docdi | --doc | --do)
1064    ac_prev=docdir ;;
1065  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1066    docdir=$ac_optarg ;;
1067
1068  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1069    ac_prev=dvidir ;;
1070  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1071    dvidir=$ac_optarg ;;
1072
1073  -enable-* | --enable-*)
1074    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1075    # Reject names that are not valid shell variable names.
1076    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1077      as_fn_error $? "invalid feature name: \`$ac_useropt'"
1078    ac_useropt_orig=$ac_useropt
1079    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1080    case $ac_user_opts in
1081      *"
1082"enable_$ac_useropt"
1083"*) ;;
1084      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1085	 ac_unrecognized_sep=', ';;
1086    esac
1087    eval enable_$ac_useropt=\$ac_optarg ;;
1088
1089  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1090  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1091  | --exec | --exe | --ex)
1092    ac_prev=exec_prefix ;;
1093  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1094  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1095  | --exec=* | --exe=* | --ex=*)
1096    exec_prefix=$ac_optarg ;;
1097
1098  -gas | --gas | --ga | --g)
1099    # Obsolete; use --with-gas.
1100    with_gas=yes ;;
1101
1102  -help | --help | --hel | --he | -h)
1103    ac_init_help=long ;;
1104  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1105    ac_init_help=recursive ;;
1106  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1107    ac_init_help=short ;;
1108
1109  -host | --host | --hos | --ho)
1110    ac_prev=host_alias ;;
1111  -host=* | --host=* | --hos=* | --ho=*)
1112    host_alias=$ac_optarg ;;
1113
1114  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1115    ac_prev=htmldir ;;
1116  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1117  | --ht=*)
1118    htmldir=$ac_optarg ;;
1119
1120  -includedir | --includedir | --includedi | --included | --include \
1121  | --includ | --inclu | --incl | --inc)
1122    ac_prev=includedir ;;
1123  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1124  | --includ=* | --inclu=* | --incl=* | --inc=*)
1125    includedir=$ac_optarg ;;
1126
1127  -infodir | --infodir | --infodi | --infod | --info | --inf)
1128    ac_prev=infodir ;;
1129  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1130    infodir=$ac_optarg ;;
1131
1132  -libdir | --libdir | --libdi | --libd)
1133    ac_prev=libdir ;;
1134  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1135    libdir=$ac_optarg ;;
1136
1137  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1138  | --libexe | --libex | --libe)
1139    ac_prev=libexecdir ;;
1140  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1141  | --libexe=* | --libex=* | --libe=*)
1142    libexecdir=$ac_optarg ;;
1143
1144  -localedir | --localedir | --localedi | --localed | --locale)
1145    ac_prev=localedir ;;
1146  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1147    localedir=$ac_optarg ;;
1148
1149  -localstatedir | --localstatedir | --localstatedi | --localstated \
1150  | --localstate | --localstat | --localsta | --localst | --locals)
1151    ac_prev=localstatedir ;;
1152  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1153  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1154    localstatedir=$ac_optarg ;;
1155
1156  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1157    ac_prev=mandir ;;
1158  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1159    mandir=$ac_optarg ;;
1160
1161  -nfp | --nfp | --nf)
1162    # Obsolete; use --without-fp.
1163    with_fp=no ;;
1164
1165  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1166  | --no-cr | --no-c | -n)
1167    no_create=yes ;;
1168
1169  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1170  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1171    no_recursion=yes ;;
1172
1173  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1174  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1175  | --oldin | --oldi | --old | --ol | --o)
1176    ac_prev=oldincludedir ;;
1177  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1178  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1179  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1180    oldincludedir=$ac_optarg ;;
1181
1182  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1183    ac_prev=prefix ;;
1184  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1185    prefix=$ac_optarg ;;
1186
1187  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1188  | --program-pre | --program-pr | --program-p)
1189    ac_prev=program_prefix ;;
1190  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1191  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1192    program_prefix=$ac_optarg ;;
1193
1194  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1195  | --program-suf | --program-su | --program-s)
1196    ac_prev=program_suffix ;;
1197  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1198  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1199    program_suffix=$ac_optarg ;;
1200
1201  -program-transform-name | --program-transform-name \
1202  | --program-transform-nam | --program-transform-na \
1203  | --program-transform-n | --program-transform- \
1204  | --program-transform | --program-transfor \
1205  | --program-transfo | --program-transf \
1206  | --program-trans | --program-tran \
1207  | --progr-tra | --program-tr | --program-t)
1208    ac_prev=program_transform_name ;;
1209  -program-transform-name=* | --program-transform-name=* \
1210  | --program-transform-nam=* | --program-transform-na=* \
1211  | --program-transform-n=* | --program-transform-=* \
1212  | --program-transform=* | --program-transfor=* \
1213  | --program-transfo=* | --program-transf=* \
1214  | --program-trans=* | --program-tran=* \
1215  | --progr-tra=* | --program-tr=* | --program-t=*)
1216    program_transform_name=$ac_optarg ;;
1217
1218  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1219    ac_prev=pdfdir ;;
1220  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1221    pdfdir=$ac_optarg ;;
1222
1223  -psdir | --psdir | --psdi | --psd | --ps)
1224    ac_prev=psdir ;;
1225  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1226    psdir=$ac_optarg ;;
1227
1228  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1229  | -silent | --silent | --silen | --sile | --sil)
1230    silent=yes ;;
1231
1232  -runstatedir | --runstatedir | --runstatedi | --runstated \
1233  | --runstate | --runstat | --runsta | --runst | --runs \
1234  | --run | --ru | --r)
1235    ac_prev=runstatedir ;;
1236  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1237  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1238  | --run=* | --ru=* | --r=*)
1239    runstatedir=$ac_optarg ;;
1240
1241  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1242    ac_prev=sbindir ;;
1243  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1244  | --sbi=* | --sb=*)
1245    sbindir=$ac_optarg ;;
1246
1247  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1248  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1249  | --sharedst | --shareds | --shared | --share | --shar \
1250  | --sha | --sh)
1251    ac_prev=sharedstatedir ;;
1252  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1253  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1254  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1255  | --sha=* | --sh=*)
1256    sharedstatedir=$ac_optarg ;;
1257
1258  -site | --site | --sit)
1259    ac_prev=site ;;
1260  -site=* | --site=* | --sit=*)
1261    site=$ac_optarg ;;
1262
1263  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1264    ac_prev=srcdir ;;
1265  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1266    srcdir=$ac_optarg ;;
1267
1268  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1269  | --syscon | --sysco | --sysc | --sys | --sy)
1270    ac_prev=sysconfdir ;;
1271  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1272  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1273    sysconfdir=$ac_optarg ;;
1274
1275  -target | --target | --targe | --targ | --tar | --ta | --t)
1276    ac_prev=target_alias ;;
1277  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1278    target_alias=$ac_optarg ;;
1279
1280  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1281    verbose=yes ;;
1282
1283  -version | --version | --versio | --versi | --vers | -V)
1284    ac_init_version=: ;;
1285
1286  -with-* | --with-*)
1287    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1288    # Reject names that are not valid shell variable names.
1289    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1290      as_fn_error $? "invalid package name: \`$ac_useropt'"
1291    ac_useropt_orig=$ac_useropt
1292    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1293    case $ac_user_opts in
1294      *"
1295"with_$ac_useropt"
1296"*) ;;
1297      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1298	 ac_unrecognized_sep=', ';;
1299    esac
1300    eval with_$ac_useropt=\$ac_optarg ;;
1301
1302  -without-* | --without-*)
1303    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1304    # Reject names that are not valid shell variable names.
1305    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1306      as_fn_error $? "invalid package name: \`$ac_useropt'"
1307    ac_useropt_orig=$ac_useropt
1308    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1309    case $ac_user_opts in
1310      *"
1311"with_$ac_useropt"
1312"*) ;;
1313      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1314	 ac_unrecognized_sep=', ';;
1315    esac
1316    eval with_$ac_useropt=no ;;
1317
1318  --x)
1319    # Obsolete; use --with-x.
1320    with_x=yes ;;
1321
1322  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1323  | --x-incl | --x-inc | --x-in | --x-i)
1324    ac_prev=x_includes ;;
1325  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1326  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1327    x_includes=$ac_optarg ;;
1328
1329  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1330  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1331    ac_prev=x_libraries ;;
1332  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1333  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1334    x_libraries=$ac_optarg ;;
1335
1336  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1337Try \`$0 --help' for more information"
1338    ;;
1339
1340  *=*)
1341    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1342    # Reject names that are not valid shell variable names.
1343    case $ac_envvar in #(
1344      '' | [0-9]* | *[!_$as_cr_alnum]* )
1345      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1346    esac
1347    eval $ac_envvar=\$ac_optarg
1348    export $ac_envvar ;;
1349
1350  *)
1351    # FIXME: should be removed in autoconf 3.0.
1352    printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1353    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1354      printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1355    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1356    ;;
1357
1358  esac
1359done
1360
1361if test -n "$ac_prev"; then
1362  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1363  as_fn_error $? "missing argument to $ac_option"
1364fi
1365
1366if test -n "$ac_unrecognized_opts"; then
1367  case $enable_option_checking in
1368    no) ;;
1369    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1370    *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1371  esac
1372fi
1373
1374# Check all directory arguments for consistency.
1375for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1376		datadir sysconfdir sharedstatedir localstatedir includedir \
1377		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1378		libdir localedir mandir runstatedir
1379do
1380  eval ac_val=\$$ac_var
1381  # Remove trailing slashes.
1382  case $ac_val in
1383    */ )
1384      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1385      eval $ac_var=\$ac_val;;
1386  esac
1387  # Be sure to have absolute directory names.
1388  case $ac_val in
1389    [\\/$]* | ?:[\\/]* )  continue;;
1390    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1391  esac
1392  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1393done
1394
1395# There might be people who depend on the old broken behavior: `$host'
1396# used to hold the argument of --host etc.
1397# FIXME: To remove some day.
1398build=$build_alias
1399host=$host_alias
1400target=$target_alias
1401
1402# FIXME: To remove some day.
1403if test "x$host_alias" != x; then
1404  if test "x$build_alias" = x; then
1405    cross_compiling=maybe
1406  elif test "x$build_alias" != "x$host_alias"; then
1407    cross_compiling=yes
1408  fi
1409fi
1410
1411ac_tool_prefix=
1412test -n "$host_alias" && ac_tool_prefix=$host_alias-
1413
1414test "$silent" = yes && exec 6>/dev/null
1415
1416
1417ac_pwd=`pwd` && test -n "$ac_pwd" &&
1418ac_ls_di=`ls -di .` &&
1419ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1420  as_fn_error $? "working directory cannot be determined"
1421test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1422  as_fn_error $? "pwd does not report name of working directory"
1423
1424
1425# Find the source files, if location was not specified.
1426if test -z "$srcdir"; then
1427  ac_srcdir_defaulted=yes
1428  # Try the directory containing this script, then the parent directory.
1429  ac_confdir=`$as_dirname -- "$as_myself" ||
1430$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1431	 X"$as_myself" : 'X\(//\)[^/]' \| \
1432	 X"$as_myself" : 'X\(//\)$' \| \
1433	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1434printf "%s\n" X"$as_myself" |
1435    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1436	    s//\1/
1437	    q
1438	  }
1439	  /^X\(\/\/\)[^/].*/{
1440	    s//\1/
1441	    q
1442	  }
1443	  /^X\(\/\/\)$/{
1444	    s//\1/
1445	    q
1446	  }
1447	  /^X\(\/\).*/{
1448	    s//\1/
1449	    q
1450	  }
1451	  s/.*/./; q'`
1452  srcdir=$ac_confdir
1453  if test ! -r "$srcdir/$ac_unique_file"; then
1454    srcdir=..
1455  fi
1456else
1457  ac_srcdir_defaulted=no
1458fi
1459if test ! -r "$srcdir/$ac_unique_file"; then
1460  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1461  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1462fi
1463ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1464ac_abs_confdir=`(
1465	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1466	pwd)`
1467# When building in place, set srcdir=.
1468if test "$ac_abs_confdir" = "$ac_pwd"; then
1469  srcdir=.
1470fi
1471# Remove unnecessary trailing slashes from srcdir.
1472# Double slashes in file names in object file debugging info
1473# mess up M-x gdb in Emacs.
1474case $srcdir in
1475*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1476esac
1477for ac_var in $ac_precious_vars; do
1478  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1479  eval ac_env_${ac_var}_value=\$${ac_var}
1480  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1481  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1482done
1483
1484#
1485# Report the --help message.
1486#
1487if test "$ac_init_help" = "long"; then
1488  # Omit some internal or obsolete options to make the list less imposing.
1489  # This message is too long to be a string in the A/UX 3.1 sh.
1490  cat <<_ACEOF
1491\`configure' configures xmltooling 3.2.1 to adapt to many kinds of systems.
1492
1493Usage: $0 [OPTION]... [VAR=VALUE]...
1494
1495To assign environment variables (e.g., CC, CFLAGS...), specify them as
1496VAR=VALUE.  See below for descriptions of some of the useful variables.
1497
1498Defaults for the options are specified in brackets.
1499
1500Configuration:
1501  -h, --help              display this help and exit
1502      --help=short        display options specific to this package
1503      --help=recursive    display the short help of all the included packages
1504  -V, --version           display version information and exit
1505  -q, --quiet, --silent   do not print \`checking ...' messages
1506      --cache-file=FILE   cache test results in FILE [disabled]
1507  -C, --config-cache      alias for \`--cache-file=config.cache'
1508  -n, --no-create         do not create output files
1509      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1510
1511Installation directories:
1512  --prefix=PREFIX         install architecture-independent files in PREFIX
1513                          [$ac_default_prefix]
1514  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1515                          [PREFIX]
1516
1517By default, \`make install' will install all the files in
1518\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1519an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1520for instance \`--prefix=\$HOME'.
1521
1522For better control, use the options below.
1523
1524Fine tuning of the installation directories:
1525  --bindir=DIR            user executables [EPREFIX/bin]
1526  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1527  --libexecdir=DIR        program executables [EPREFIX/libexec]
1528  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1529  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1530  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1531  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1532  --libdir=DIR            object code libraries [EPREFIX/lib]
1533  --includedir=DIR        C header files [PREFIX/include]
1534  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1535  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1536  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1537  --infodir=DIR           info documentation [DATAROOTDIR/info]
1538  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1539  --mandir=DIR            man documentation [DATAROOTDIR/man]
1540  --docdir=DIR            documentation root [DATAROOTDIR/doc/xmltooling]
1541  --htmldir=DIR           html documentation [DOCDIR]
1542  --dvidir=DIR            dvi documentation [DOCDIR]
1543  --pdfdir=DIR            pdf documentation [DOCDIR]
1544  --psdir=DIR             ps documentation [DOCDIR]
1545_ACEOF
1546
1547  cat <<\_ACEOF
1548
1549Program names:
1550  --program-prefix=PREFIX            prepend PREFIX to installed program names
1551  --program-suffix=SUFFIX            append SUFFIX to installed program names
1552  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1553
1554System types:
1555  --build=BUILD     configure for building on BUILD [guessed]
1556  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1557_ACEOF
1558fi
1559
1560if test -n "$ac_init_help"; then
1561  case $ac_init_help in
1562     short | recursive ) echo "Configuration of xmltooling 3.2.1:";;
1563   esac
1564  cat <<\_ACEOF
1565
1566Optional Features:
1567  --disable-option-checking  ignore unrecognized --enable/--with options
1568  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1569  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1570  --enable-silent-rules   less verbose build output (undo: "make V=1")
1571  --disable-silent-rules  verbose build output (undo: "make V=0")
1572  --disable-doxygen-doc   don't generate any doxygen documentation
1573  --disable-doxygen-dot   don't generate graphics for doxygen documentation
1574  --enable-doxygen-man    generate doxygen manual pages
1575  --enable-doxygen-rtf    generate doxygen RTF documentation
1576  --enable-doxygen-xml    generate doxygen XML documentation
1577  --enable-doxygen-chm    generate doxygen compressed HTML help documentation
1578  --enable-doxygen-chi    generate doxygen seperate compressed HTML help index
1579                          file
1580  --disable-doxygen-html  don't generate doxygen plain HTML documentation
1581  --enable-doxygen-ps     generate doxygen PostScript documentation
1582  --enable-doxygen-pdf    generate doxygen PDF documentation
1583  --enable-debug          Produce debug variant (Default = no)
1584  --enable-dependency-tracking
1585                          do not reject slow dependency extractors
1586  --disable-dependency-tracking
1587                          speeds up one-time build
1588  --enable-static[=PKGS]  build static libraries [default=no]
1589  --enable-shared[=PKGS]  build shared libraries [default=yes]
1590  --enable-fast-install[=PKGS]
1591                          optimize for fast installation [default=yes]
1592  --disable-libtool-lock  avoid locking (might break parallel builds)
1593
1594Optional Packages:
1595  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1596  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1597  --with-pkgconfigdir     pkg-config installation directory
1598                          ['${libdir}/pkgconfig']
1599  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1600                          both]
1601  --with-aix-soname=aix|svr4|both
1602                          shared library versioning (aka "SONAME") variant to
1603                          provide on AIX, [default=aix].
1604  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1605  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1606                          compiler's sysroot if not specified).
1607  --with-boost=DIR        prefix of Boost [guess]
1608  --with-xmlsec           include signature/encryption support via Apache
1609                          Santuario (XML Security) [default=check]
1610  --with-pkgxmldir=DIR    where to install the schema files
1611                          [default=${datadir}/xml/xmltooling]]
1612
1613Some influential environment variables:
1614  DOXYGEN_PAPER_SIZE
1615              a4wide (default), a4, letter, legal or executive
1616  CC          C compiler command
1617  CFLAGS      C compiler flags
1618  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1619              nonstandard directory <lib dir>
1620  LIBS        libraries to pass to the linker, e.g. -l<library>
1621  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1622              you have headers in a nonstandard directory <include dir>
1623  CXX         C++ compiler command
1624  CXXFLAGS    C++ compiler flags
1625  LT_SYS_LIBRARY_PATH
1626              User-defined run-time library search path.
1627  CXXCPP      C++ preprocessor
1628  CPP         C preprocessor
1629  BOOST_ROOT  Location of Boost installation
1630  PKG_CONFIG  path to pkg-config utility
1631  PKG_CONFIG_PATH
1632              directories to add to pkg-config's search path
1633  PKG_CONFIG_LIBDIR
1634              path overriding pkg-config's built-in search path
1635  log4shib_CFLAGS
1636              C compiler flags for log4shib, overriding pkg-config
1637  log4shib_LIBS
1638              linker flags for log4shib, overriding pkg-config
1639  log4cpp_CFLAGS
1640              C compiler flags for log4cpp, overriding pkg-config
1641  log4cpp_LIBS
1642              linker flags for log4cpp, overriding pkg-config
1643  xerces_CFLAGS
1644              C compiler flags for xerces, overriding pkg-config
1645  xerces_LIBS linker flags for xerces, overriding pkg-config
1646  zlib_CFLAGS C compiler flags for zlib, overriding pkg-config
1647  zlib_LIBS   linker flags for zlib, overriding pkg-config
1648  openssl_CFLAGS
1649              C compiler flags for openssl, overriding pkg-config
1650  openssl_LIBS
1651              linker flags for openssl, overriding pkg-config
1652  libcurl_CFLAGS
1653              C compiler flags for libcurl, overriding pkg-config
1654  libcurl_LIBS
1655              linker flags for libcurl, overriding pkg-config
1656  xml_security_CFLAGS
1657              C compiler flags for xml_security, overriding pkg-config
1658  xml_security_LIBS
1659              linker flags for xml_security, overriding pkg-config
1660  CXXTEST     override the cxxtestgen executable and options
1661  CXXTESTFLAGS
1662              override the cxxtest compiler flags needed to build tests
1663
1664Use these variables to override the choices made by `configure' or to help
1665it to find libraries and programs with nonstandard names/locations.
1666
1667Report bugs to <https://shibboleth.atlassian.net/jira>.
1668_ACEOF
1669ac_status=$?
1670fi
1671
1672if test "$ac_init_help" = "recursive"; then
1673  # If there are subdirs, report their specific --help.
1674  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1675    test -d "$ac_dir" ||
1676      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1677      continue
1678    ac_builddir=.
1679
1680case "$ac_dir" in
1681.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1682*)
1683  ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1684  # A ".." for each directory in $ac_dir_suffix.
1685  ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1686  case $ac_top_builddir_sub in
1687  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1688  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1689  esac ;;
1690esac
1691ac_abs_top_builddir=$ac_pwd
1692ac_abs_builddir=$ac_pwd$ac_dir_suffix
1693# for backward compatibility:
1694ac_top_builddir=$ac_top_build_prefix
1695
1696case $srcdir in
1697  .)  # We are building in place.
1698    ac_srcdir=.
1699    ac_top_srcdir=$ac_top_builddir_sub
1700    ac_abs_top_srcdir=$ac_pwd ;;
1701  [\\/]* | ?:[\\/]* )  # Absolute name.
1702    ac_srcdir=$srcdir$ac_dir_suffix;
1703    ac_top_srcdir=$srcdir
1704    ac_abs_top_srcdir=$srcdir ;;
1705  *) # Relative name.
1706    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1707    ac_top_srcdir=$ac_top_build_prefix$srcdir
1708    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1709esac
1710ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1711
1712    cd "$ac_dir" || { ac_status=$?; continue; }
1713    # Check for configure.gnu first; this name is used for a wrapper for
1714    # Metaconfig's "Configure" on case-insensitive file systems.
1715    if test -f "$ac_srcdir/configure.gnu"; then
1716      echo &&
1717      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1718    elif test -f "$ac_srcdir/configure"; then
1719      echo &&
1720      $SHELL "$ac_srcdir/configure" --help=recursive
1721    else
1722      printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1723    fi || ac_status=$?
1724    cd "$ac_pwd" || { ac_status=$?; break; }
1725  done
1726fi
1727
1728test -n "$ac_init_help" && exit $ac_status
1729if $ac_init_version; then
1730  cat <<\_ACEOF
1731xmltooling configure 3.2.1
1732generated by GNU Autoconf 2.71
1733
1734Copyright (C) 2021 Free Software Foundation, Inc.
1735This configure script is free software; the Free Software Foundation
1736gives unlimited permission to copy, distribute and modify it.
1737_ACEOF
1738  exit
1739fi
1740
1741## ------------------------ ##
1742## Autoconf initialization. ##
1743## ------------------------ ##
1744
1745# ac_fn_c_try_compile LINENO
1746# --------------------------
1747# Try to compile conftest.$ac_ext, and return whether this succeeded.
1748ac_fn_c_try_compile ()
1749{
1750  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1751  rm -f conftest.$ac_objext conftest.beam
1752  if { { ac_try="$ac_compile"
1753case "(($ac_try" in
1754  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1755  *) ac_try_echo=$ac_try;;
1756esac
1757eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1758printf "%s\n" "$ac_try_echo"; } >&5
1759  (eval "$ac_compile") 2>conftest.err
1760  ac_status=$?
1761  if test -s conftest.err; then
1762    grep -v '^ *+' conftest.err >conftest.er1
1763    cat conftest.er1 >&5
1764    mv -f conftest.er1 conftest.err
1765  fi
1766  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1767  test $ac_status = 0; } && {
1768	 test -z "$ac_c_werror_flag" ||
1769	 test ! -s conftest.err
1770       } && test -s conftest.$ac_objext
1771then :
1772  ac_retval=0
1773else $as_nop
1774  printf "%s\n" "$as_me: failed program was:" >&5
1775sed 's/^/| /' conftest.$ac_ext >&5
1776
1777	ac_retval=1
1778fi
1779  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1780  as_fn_set_status $ac_retval
1781
1782} # ac_fn_c_try_compile
1783
1784# ac_fn_cxx_try_compile LINENO
1785# ----------------------------
1786# Try to compile conftest.$ac_ext, and return whether this succeeded.
1787ac_fn_cxx_try_compile ()
1788{
1789  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1790  rm -f conftest.$ac_objext conftest.beam
1791  if { { ac_try="$ac_compile"
1792case "(($ac_try" in
1793  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1794  *) ac_try_echo=$ac_try;;
1795esac
1796eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1797printf "%s\n" "$ac_try_echo"; } >&5
1798  (eval "$ac_compile") 2>conftest.err
1799  ac_status=$?
1800  if test -s conftest.err; then
1801    grep -v '^ *+' conftest.err >conftest.er1
1802    cat conftest.er1 >&5
1803    mv -f conftest.er1 conftest.err
1804  fi
1805  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1806  test $ac_status = 0; } && {
1807	 test -z "$ac_cxx_werror_flag" ||
1808	 test ! -s conftest.err
1809       } && test -s conftest.$ac_objext
1810then :
1811  ac_retval=0
1812else $as_nop
1813  printf "%s\n" "$as_me: failed program was:" >&5
1814sed 's/^/| /' conftest.$ac_ext >&5
1815
1816	ac_retval=1
1817fi
1818  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1819  as_fn_set_status $ac_retval
1820
1821} # ac_fn_cxx_try_compile
1822
1823# ac_fn_c_try_link LINENO
1824# -----------------------
1825# Try to link conftest.$ac_ext, and return whether this succeeded.
1826ac_fn_c_try_link ()
1827{
1828  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1829  rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
1830  if { { ac_try="$ac_link"
1831case "(($ac_try" in
1832  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1833  *) ac_try_echo=$ac_try;;
1834esac
1835eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1836printf "%s\n" "$ac_try_echo"; } >&5
1837  (eval "$ac_link") 2>conftest.err
1838  ac_status=$?
1839  if test -s conftest.err; then
1840    grep -v '^ *+' conftest.err >conftest.er1
1841    cat conftest.er1 >&5
1842    mv -f conftest.er1 conftest.err
1843  fi
1844  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1845  test $ac_status = 0; } && {
1846	 test -z "$ac_c_werror_flag" ||
1847	 test ! -s conftest.err
1848       } && test -s conftest$ac_exeext && {
1849	 test "$cross_compiling" = yes ||
1850	 test -x conftest$ac_exeext
1851       }
1852then :
1853  ac_retval=0
1854else $as_nop
1855  printf "%s\n" "$as_me: failed program was:" >&5
1856sed 's/^/| /' conftest.$ac_ext >&5
1857
1858	ac_retval=1
1859fi
1860  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1861  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1862  # interfere with the next link command; also delete a directory that is
1863  # left behind by Apple's compiler.  We do this before executing the actions.
1864  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1865  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1866  as_fn_set_status $ac_retval
1867
1868} # ac_fn_c_try_link
1869
1870# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1871# -------------------------------------------------------
1872# Tests whether HEADER exists and can be compiled using the include files in
1873# INCLUDES, setting the cache variable VAR accordingly.
1874ac_fn_c_check_header_compile ()
1875{
1876  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1877  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1878printf %s "checking for $2... " >&6; }
1879if eval test \${$3+y}
1880then :
1881  printf %s "(cached) " >&6
1882else $as_nop
1883  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1884/* end confdefs.h.  */
1885$4
1886#include <$2>
1887_ACEOF
1888if ac_fn_c_try_compile "$LINENO"
1889then :
1890  eval "$3=yes"
1891else $as_nop
1892  eval "$3=no"
1893fi
1894rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1895fi
1896eval ac_res=\$$3
1897	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1898printf "%s\n" "$ac_res" >&6; }
1899  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1900
1901} # ac_fn_c_check_header_compile
1902
1903# ac_fn_c_check_func LINENO FUNC VAR
1904# ----------------------------------
1905# Tests whether FUNC exists, setting the cache variable VAR accordingly
1906ac_fn_c_check_func ()
1907{
1908  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1909  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1910printf %s "checking for $2... " >&6; }
1911if eval test \${$3+y}
1912then :
1913  printf %s "(cached) " >&6
1914else $as_nop
1915  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1916/* end confdefs.h.  */
1917/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1918   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1919#define $2 innocuous_$2
1920
1921/* System header to define __stub macros and hopefully few prototypes,
1922   which can conflict with char $2 (); below.  */
1923
1924#include <limits.h>
1925#undef $2
1926
1927/* Override any GCC internal prototype to avoid an error.
1928   Use char because int might match the return type of a GCC
1929   builtin and then its argument prototype would still apply.  */
1930#ifdef __cplusplus
1931extern "C"
1932#endif
1933char $2 ();
1934/* The GNU C library defines this for functions which it implements
1935    to always fail with ENOSYS.  Some functions are actually named
1936    something starting with __ and the normal name is an alias.  */
1937#if defined __stub_$2 || defined __stub___$2
1938choke me
1939#endif
1940
1941int
1942main (void)
1943{
1944return $2 ();
1945  ;
1946  return 0;
1947}
1948_ACEOF
1949if ac_fn_c_try_link "$LINENO"
1950then :
1951  eval "$3=yes"
1952else $as_nop
1953  eval "$3=no"
1954fi
1955rm -f core conftest.err conftest.$ac_objext conftest.beam \
1956    conftest$ac_exeext conftest.$ac_ext
1957fi
1958eval ac_res=\$$3
1959	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1960printf "%s\n" "$ac_res" >&6; }
1961  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1962
1963} # ac_fn_c_check_func
1964
1965# ac_fn_cxx_try_cpp LINENO
1966# ------------------------
1967# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1968ac_fn_cxx_try_cpp ()
1969{
1970  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1971  if { { ac_try="$ac_cpp conftest.$ac_ext"
1972case "(($ac_try" in
1973  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1974  *) ac_try_echo=$ac_try;;
1975esac
1976eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1977printf "%s\n" "$ac_try_echo"; } >&5
1978  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1979  ac_status=$?
1980  if test -s conftest.err; then
1981    grep -v '^ *+' conftest.err >conftest.er1
1982    cat conftest.er1 >&5
1983    mv -f conftest.er1 conftest.err
1984  fi
1985  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1986  test $ac_status = 0; } > conftest.i && {
1987	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1988	 test ! -s conftest.err
1989       }
1990then :
1991  ac_retval=0
1992else $as_nop
1993  printf "%s\n" "$as_me: failed program was:" >&5
1994sed 's/^/| /' conftest.$ac_ext >&5
1995
1996    ac_retval=1
1997fi
1998  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1999  as_fn_set_status $ac_retval
2000
2001} # ac_fn_cxx_try_cpp
2002
2003# ac_fn_cxx_try_link LINENO
2004# -------------------------
2005# Try to link conftest.$ac_ext, and return whether this succeeded.
2006ac_fn_cxx_try_link ()
2007{
2008  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2009  rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2010  if { { ac_try="$ac_link"
2011case "(($ac_try" in
2012  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2013  *) ac_try_echo=$ac_try;;
2014esac
2015eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2016printf "%s\n" "$ac_try_echo"; } >&5
2017  (eval "$ac_link") 2>conftest.err
2018  ac_status=$?
2019  if test -s conftest.err; then
2020    grep -v '^ *+' conftest.err >conftest.er1
2021    cat conftest.er1 >&5
2022    mv -f conftest.er1 conftest.err
2023  fi
2024  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2025  test $ac_status = 0; } && {
2026	 test -z "$ac_cxx_werror_flag" ||
2027	 test ! -s conftest.err
2028       } && test -s conftest$ac_exeext && {
2029	 test "$cross_compiling" = yes ||
2030	 test -x conftest$ac_exeext
2031       }
2032then :
2033  ac_retval=0
2034else $as_nop
2035  printf "%s\n" "$as_me: failed program was:" >&5
2036sed 's/^/| /' conftest.$ac_ext >&5
2037
2038	ac_retval=1
2039fi
2040  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2041  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2042  # interfere with the next link command; also delete a directory that is
2043  # left behind by Apple's compiler.  We do this before executing the actions.
2044  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2045  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2046  as_fn_set_status $ac_retval
2047
2048} # ac_fn_cxx_try_link
2049
2050# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2051# -------------------------------------------
2052# Tests whether TYPE exists after having included INCLUDES, setting cache
2053# variable VAR accordingly.
2054ac_fn_c_check_type ()
2055{
2056  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2057  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2058printf %s "checking for $2... " >&6; }
2059if eval test \${$3+y}
2060then :
2061  printf %s "(cached) " >&6
2062else $as_nop
2063  eval "$3=no"
2064  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2065/* end confdefs.h.  */
2066$4
2067int
2068main (void)
2069{
2070if (sizeof ($2))
2071	 return 0;
2072  ;
2073  return 0;
2074}
2075_ACEOF
2076if ac_fn_c_try_compile "$LINENO"
2077then :
2078  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2079/* end confdefs.h.  */
2080$4
2081int
2082main (void)
2083{
2084if (sizeof (($2)))
2085	    return 0;
2086  ;
2087  return 0;
2088}
2089_ACEOF
2090if ac_fn_c_try_compile "$LINENO"
2091then :
2092
2093else $as_nop
2094  eval "$3=yes"
2095fi
2096rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2097fi
2098rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2099fi
2100eval ac_res=\$$3
2101	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2102printf "%s\n" "$ac_res" >&6; }
2103  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2104
2105} # ac_fn_c_check_type
2106
2107# ac_fn_c_try_cpp LINENO
2108# ----------------------
2109# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2110ac_fn_c_try_cpp ()
2111{
2112  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2113  if { { ac_try="$ac_cpp conftest.$ac_ext"
2114case "(($ac_try" in
2115  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2116  *) ac_try_echo=$ac_try;;
2117esac
2118eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2119printf "%s\n" "$ac_try_echo"; } >&5
2120  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2121  ac_status=$?
2122  if test -s conftest.err; then
2123    grep -v '^ *+' conftest.err >conftest.er1
2124    cat conftest.er1 >&5
2125    mv -f conftest.er1 conftest.err
2126  fi
2127  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2128  test $ac_status = 0; } > conftest.i && {
2129	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2130	 test ! -s conftest.err
2131       }
2132then :
2133  ac_retval=0
2134else $as_nop
2135  printf "%s\n" "$as_me: failed program was:" >&5
2136sed 's/^/| /' conftest.$ac_ext >&5
2137
2138    ac_retval=1
2139fi
2140  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2141  as_fn_set_status $ac_retval
2142
2143} # ac_fn_c_try_cpp
2144
2145# ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
2146# ---------------------------------------------------------
2147# Tests whether HEADER exists and can be compiled using the include files in
2148# INCLUDES, setting the cache variable VAR accordingly.
2149ac_fn_cxx_check_header_compile ()
2150{
2151  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2152  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2153printf %s "checking for $2... " >&6; }
2154if eval test \${$3+y}
2155then :
2156  printf %s "(cached) " >&6
2157else $as_nop
2158  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2159/* end confdefs.h.  */
2160$4
2161#include <$2>
2162_ACEOF
2163if ac_fn_cxx_try_compile "$LINENO"
2164then :
2165  eval "$3=yes"
2166else $as_nop
2167  eval "$3=no"
2168fi
2169rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2170fi
2171eval ac_res=\$$3
2172	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2173printf "%s\n" "$ac_res" >&6; }
2174  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2175
2176} # ac_fn_cxx_check_header_compile
2177
2178# ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
2179# ------------------------------------------------------------------
2180# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2181# accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
2182ac_fn_check_decl ()
2183{
2184  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2185  as_decl_name=`echo $2|sed 's/ *(.*//'`
2186  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2187printf %s "checking whether $as_decl_name is declared... " >&6; }
2188if eval test \${$3+y}
2189then :
2190  printf %s "(cached) " >&6
2191else $as_nop
2192  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2193  eval ac_save_FLAGS=\$$6
2194  as_fn_append $6 " $5"
2195  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2196/* end confdefs.h.  */
2197$4
2198int
2199main (void)
2200{
2201#ifndef $as_decl_name
2202#ifdef __cplusplus
2203  (void) $as_decl_use;
2204#else
2205  (void) $as_decl_name;
2206#endif
2207#endif
2208
2209  ;
2210  return 0;
2211}
2212_ACEOF
2213if ac_fn_cxx_try_compile "$LINENO"
2214then :
2215  eval "$3=yes"
2216else $as_nop
2217  eval "$3=no"
2218fi
2219rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2220  eval $6=\$ac_save_FLAGS
2221
2222fi
2223eval ac_res=\$$3
2224	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2225printf "%s\n" "$ac_res" >&6; }
2226  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2227
2228} # ac_fn_check_decl
2229
2230# ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2231# ---------------------------------------------
2232# Tests whether TYPE exists after having included INCLUDES, setting cache
2233# variable VAR accordingly.
2234ac_fn_cxx_check_type ()
2235{
2236  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2237  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2238printf %s "checking for $2... " >&6; }
2239if eval test \${$3+y}
2240then :
2241  printf %s "(cached) " >&6
2242else $as_nop
2243  eval "$3=no"
2244  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2245/* end confdefs.h.  */
2246$4
2247int
2248main (void)
2249{
2250if (sizeof ($2))
2251	 return 0;
2252  ;
2253  return 0;
2254}
2255_ACEOF
2256if ac_fn_cxx_try_compile "$LINENO"
2257then :
2258  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2259/* end confdefs.h.  */
2260$4
2261int
2262main (void)
2263{
2264if (sizeof (($2)))
2265	    return 0;
2266  ;
2267  return 0;
2268}
2269_ACEOF
2270if ac_fn_cxx_try_compile "$LINENO"
2271then :
2272
2273else $as_nop
2274  eval "$3=yes"
2275fi
2276rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2277fi
2278rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2279fi
2280eval ac_res=\$$3
2281	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2282printf "%s\n" "$ac_res" >&6; }
2283  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2284
2285} # ac_fn_cxx_check_type
2286ac_configure_args_raw=
2287for ac_arg
2288do
2289  case $ac_arg in
2290  *\'*)
2291    ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2292  esac
2293  as_fn_append ac_configure_args_raw " '$ac_arg'"
2294done
2295
2296case $ac_configure_args_raw in
2297  *$as_nl*)
2298    ac_safe_unquote= ;;
2299  *)
2300    ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
2301    ac_unsafe_a="$ac_unsafe_z#~"
2302    ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
2303    ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
2304esac
2305
2306cat >config.log <<_ACEOF
2307This file contains any messages produced by compilers while
2308running configure, to aid debugging if configure makes a mistake.
2309
2310It was created by xmltooling $as_me 3.2.1, which was
2311generated by GNU Autoconf 2.71.  Invocation command line was
2312
2313  $ $0$ac_configure_args_raw
2314
2315_ACEOF
2316exec 5>>config.log
2317{
2318cat <<_ASUNAME
2319## --------- ##
2320## Platform. ##
2321## --------- ##
2322
2323hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2324uname -m = `(uname -m) 2>/dev/null || echo unknown`
2325uname -r = `(uname -r) 2>/dev/null || echo unknown`
2326uname -s = `(uname -s) 2>/dev/null || echo unknown`
2327uname -v = `(uname -v) 2>/dev/null || echo unknown`
2328
2329/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2330/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2331
2332/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2333/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2334/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2335/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2336/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2337/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2338/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2339
2340_ASUNAME
2341
2342as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2343for as_dir in $PATH
2344do
2345  IFS=$as_save_IFS
2346  case $as_dir in #(((
2347    '') as_dir=./ ;;
2348    */) ;;
2349    *) as_dir=$as_dir/ ;;
2350  esac
2351    printf "%s\n" "PATH: $as_dir"
2352  done
2353IFS=$as_save_IFS
2354
2355} >&5
2356
2357cat >&5 <<_ACEOF
2358
2359
2360## ----------- ##
2361## Core tests. ##
2362## ----------- ##
2363
2364_ACEOF
2365
2366
2367# Keep a trace of the command line.
2368# Strip out --no-create and --no-recursion so they do not pile up.
2369# Strip out --silent because we don't want to record it for future runs.
2370# Also quote any args containing shell meta-characters.
2371# Make two passes to allow for proper duplicate-argument suppression.
2372ac_configure_args=
2373ac_configure_args0=
2374ac_configure_args1=
2375ac_must_keep_next=false
2376for ac_pass in 1 2
2377do
2378  for ac_arg
2379  do
2380    case $ac_arg in
2381    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2382    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2383    | -silent | --silent | --silen | --sile | --sil)
2384      continue ;;
2385    *\'*)
2386      ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2387    esac
2388    case $ac_pass in
2389    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2390    2)
2391      as_fn_append ac_configure_args1 " '$ac_arg'"
2392      if test $ac_must_keep_next = true; then
2393	ac_must_keep_next=false # Got value, back to normal.
2394      else
2395	case $ac_arg in
2396	  *=* | --config-cache | -C | -disable-* | --disable-* \
2397	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2398	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2399	  | -with-* | --with-* | -without-* | --without-* | --x)
2400	    case "$ac_configure_args0 " in
2401	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2402	    esac
2403	    ;;
2404	  -* ) ac_must_keep_next=true ;;
2405	esac
2406      fi
2407      as_fn_append ac_configure_args " '$ac_arg'"
2408      ;;
2409    esac
2410  done
2411done
2412{ ac_configure_args0=; unset ac_configure_args0;}
2413{ ac_configure_args1=; unset ac_configure_args1;}
2414
2415# When interrupted or exit'd, cleanup temporary files, and complete
2416# config.log.  We remove comments because anyway the quotes in there
2417# would cause problems or look ugly.
2418# WARNING: Use '\'' to represent an apostrophe within the trap.
2419# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2420trap 'exit_status=$?
2421  # Sanitize IFS.
2422  IFS=" ""	$as_nl"
2423  # Save into config.log some information that might help in debugging.
2424  {
2425    echo
2426
2427    printf "%s\n" "## ---------------- ##
2428## Cache variables. ##
2429## ---------------- ##"
2430    echo
2431    # The following way of writing the cache mishandles newlines in values,
2432(
2433  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2434    eval ac_val=\$$ac_var
2435    case $ac_val in #(
2436    *${as_nl}*)
2437      case $ac_var in #(
2438      *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2439printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2440      esac
2441      case $ac_var in #(
2442      _ | IFS | as_nl) ;; #(
2443      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2444      *) { eval $ac_var=; unset $ac_var;} ;;
2445      esac ;;
2446    esac
2447  done
2448  (set) 2>&1 |
2449    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2450    *${as_nl}ac_space=\ *)
2451      sed -n \
2452	"s/'\''/'\''\\\\'\'''\''/g;
2453	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2454      ;; #(
2455    *)
2456      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2457      ;;
2458    esac |
2459    sort
2460)
2461    echo
2462
2463    printf "%s\n" "## ----------------- ##
2464## Output variables. ##
2465## ----------------- ##"
2466    echo
2467    for ac_var in $ac_subst_vars
2468    do
2469      eval ac_val=\$$ac_var
2470      case $ac_val in
2471      *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2472      esac
2473      printf "%s\n" "$ac_var='\''$ac_val'\''"
2474    done | sort
2475    echo
2476
2477    if test -n "$ac_subst_files"; then
2478      printf "%s\n" "## ------------------- ##
2479## File substitutions. ##
2480## ------------------- ##"
2481      echo
2482      for ac_var in $ac_subst_files
2483      do
2484	eval ac_val=\$$ac_var
2485	case $ac_val in
2486	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2487	esac
2488	printf "%s\n" "$ac_var='\''$ac_val'\''"
2489      done | sort
2490      echo
2491    fi
2492
2493    if test -s confdefs.h; then
2494      printf "%s\n" "## ----------- ##
2495## confdefs.h. ##
2496## ----------- ##"
2497      echo
2498      cat confdefs.h
2499      echo
2500    fi
2501    test "$ac_signal" != 0 &&
2502      printf "%s\n" "$as_me: caught signal $ac_signal"
2503    printf "%s\n" "$as_me: exit $exit_status"
2504  } >&5
2505  rm -f core *.core core.conftest.* &&
2506    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2507    exit $exit_status
2508' 0
2509for ac_signal in 1 2 13 15; do
2510  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2511done
2512ac_signal=0
2513
2514# confdefs.h avoids OS command line length limits that DEFS can exceed.
2515rm -f -r conftest* confdefs.h
2516
2517printf "%s\n" "/* confdefs.h */" > confdefs.h
2518
2519# Predefined preprocessor variables.
2520
2521printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
2522
2523printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
2524
2525printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
2526
2527printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
2528
2529printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
2530
2531printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
2532
2533
2534# Let the site file select an alternate cache file if it wants to.
2535# Prefer an explicitly selected file to automatically selected ones.
2536if test -n "$CONFIG_SITE"; then
2537  ac_site_files="$CONFIG_SITE"
2538elif test "x$prefix" != xNONE; then
2539  ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
2540else
2541  ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
2542fi
2543
2544for ac_site_file in $ac_site_files
2545do
2546  case $ac_site_file in #(
2547  */*) :
2548     ;; #(
2549  *) :
2550    ac_site_file=./$ac_site_file ;;
2551esac
2552  if test -f "$ac_site_file" && test -r "$ac_site_file"; then
2553    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2554printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
2555    sed 's/^/| /' "$ac_site_file" >&5
2556    . "$ac_site_file" \
2557      || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2558printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2559as_fn_error $? "failed to load site script $ac_site_file
2560See \`config.log' for more details" "$LINENO" 5; }
2561  fi
2562done
2563
2564if test -r "$cache_file"; then
2565  # Some versions of bash will fail to source /dev/null (special files
2566  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2567  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2568    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2569printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
2570    case $cache_file in
2571      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2572      *)                      . "./$cache_file";;
2573    esac
2574  fi
2575else
2576  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2577printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
2578  >$cache_file
2579fi
2580
2581# Test code for whether the C compiler supports C89 (global declarations)
2582ac_c_conftest_c89_globals='
2583/* Does the compiler advertise C89 conformance?
2584   Do not test the value of __STDC__, because some compilers set it to 0
2585   while being otherwise adequately conformant. */
2586#if !defined __STDC__
2587# error "Compiler does not advertise C89 conformance"
2588#endif
2589
2590#include <stddef.h>
2591#include <stdarg.h>
2592struct stat;
2593/* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
2594struct buf { int x; };
2595struct buf * (*rcsopen) (struct buf *, struct stat *, int);
2596static char *e (p, i)
2597     char **p;
2598     int i;
2599{
2600  return p[i];
2601}
2602static char *f (char * (*g) (char **, int), char **p, ...)
2603{
2604  char *s;
2605  va_list v;
2606  va_start (v,p);
2607  s = g (p, va_arg (v,int));
2608  va_end (v);
2609  return s;
2610}
2611
2612/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2613   function prototypes and stuff, but not \xHH hex character constants.
2614   These do not provoke an error unfortunately, instead are silently treated
2615   as an "x".  The following induces an error, until -std is added to get
2616   proper ANSI mode.  Curiously \x00 != x always comes out true, for an
2617   array size at least.  It is necessary to write \x00 == 0 to get something
2618   that is true only with -std.  */
2619int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
2620
2621/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2622   inside strings and character constants.  */
2623#define FOO(x) '\''x'\''
2624int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
2625
2626int test (int i, double x);
2627struct s1 {int (*f) (int a);};
2628struct s2 {int (*f) (double a);};
2629int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
2630               int, int);'
2631
2632# Test code for whether the C compiler supports C89 (body of main).
2633ac_c_conftest_c89_main='
2634ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
2635'
2636
2637# Test code for whether the C compiler supports C99 (global declarations)
2638ac_c_conftest_c99_globals='
2639// Does the compiler advertise C99 conformance?
2640#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
2641# error "Compiler does not advertise C99 conformance"
2642#endif
2643
2644#include <stdbool.h>
2645extern int puts (const char *);
2646extern int printf (const char *, ...);
2647extern int dprintf (int, const char *, ...);
2648extern void *malloc (size_t);
2649
2650// Check varargs macros.  These examples are taken from C99 6.10.3.5.
2651// dprintf is used instead of fprintf to avoid needing to declare
2652// FILE and stderr.
2653#define debug(...) dprintf (2, __VA_ARGS__)
2654#define showlist(...) puts (#__VA_ARGS__)
2655#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
2656static void
2657test_varargs_macros (void)
2658{
2659  int x = 1234;
2660  int y = 5678;
2661  debug ("Flag");
2662  debug ("X = %d\n", x);
2663  showlist (The first, second, and third items.);
2664  report (x>y, "x is %d but y is %d", x, y);
2665}
2666
2667// Check long long types.
2668#define BIG64 18446744073709551615ull
2669#define BIG32 4294967295ul
2670#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
2671#if !BIG_OK
2672  #error "your preprocessor is broken"
2673#endif
2674#if BIG_OK
2675#else
2676  #error "your preprocessor is broken"
2677#endif
2678static long long int bignum = -9223372036854775807LL;
2679static unsigned long long int ubignum = BIG64;
2680
2681struct incomplete_array
2682{
2683  int datasize;
2684  double data[];
2685};
2686
2687struct named_init {
2688  int number;
2689  const wchar_t *name;
2690  double average;
2691};
2692
2693typedef const char *ccp;
2694
2695static inline int
2696test_restrict (ccp restrict text)
2697{
2698  // See if C++-style comments work.
2699  // Iterate through items via the restricted pointer.
2700  // Also check for declarations in for loops.
2701  for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
2702    continue;
2703  return 0;
2704}
2705
2706// Check varargs and va_copy.
2707static bool
2708test_varargs (const char *format, ...)
2709{
2710  va_list args;
2711  va_start (args, format);
2712  va_list args_copy;
2713  va_copy (args_copy, args);
2714
2715  const char *str = "";
2716  int number = 0;
2717  float fnumber = 0;
2718
2719  while (*format)
2720    {
2721      switch (*format++)
2722	{
2723	case '\''s'\'': // string
2724	  str = va_arg (args_copy, const char *);
2725	  break;
2726	case '\''d'\'': // int
2727	  number = va_arg (args_copy, int);
2728	  break;
2729	case '\''f'\'': // float
2730	  fnumber = va_arg (args_copy, double);
2731	  break;
2732	default:
2733	  break;
2734	}
2735    }
2736  va_end (args_copy);
2737  va_end (args);
2738
2739  return *str && number && fnumber;
2740}
2741'
2742
2743# Test code for whether the C compiler supports C99 (body of main).
2744ac_c_conftest_c99_main='
2745  // Check bool.
2746  _Bool success = false;
2747  success |= (argc != 0);
2748
2749  // Check restrict.
2750  if (test_restrict ("String literal") == 0)
2751    success = true;
2752  char *restrict newvar = "Another string";
2753
2754  // Check varargs.
2755  success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
2756  test_varargs_macros ();
2757
2758  // Check flexible array members.
2759  struct incomplete_array *ia =
2760    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
2761  ia->datasize = 10;
2762  for (int i = 0; i < ia->datasize; ++i)
2763    ia->data[i] = i * 1.234;
2764
2765  // Check named initializers.
2766  struct named_init ni = {
2767    .number = 34,
2768    .name = L"Test wide string",
2769    .average = 543.34343,
2770  };
2771
2772  ni.number = 58;
2773
2774  int dynamic_array[ni.number];
2775  dynamic_array[0] = argv[0][0];
2776  dynamic_array[ni.number - 1] = 543;
2777
2778  // work around unused variable warnings
2779  ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
2780	 || dynamic_array[ni.number - 1] != 543);
2781'
2782
2783# Test code for whether the C compiler supports C11 (global declarations)
2784ac_c_conftest_c11_globals='
2785// Does the compiler advertise C11 conformance?
2786#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
2787# error "Compiler does not advertise C11 conformance"
2788#endif
2789
2790// Check _Alignas.
2791char _Alignas (double) aligned_as_double;
2792char _Alignas (0) no_special_alignment;
2793extern char aligned_as_int;
2794char _Alignas (0) _Alignas (int) aligned_as_int;
2795
2796// Check _Alignof.
2797enum
2798{
2799  int_alignment = _Alignof (int),
2800  int_array_alignment = _Alignof (int[100]),
2801  char_alignment = _Alignof (char)
2802};
2803_Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2804
2805// Check _Noreturn.
2806int _Noreturn does_not_return (void) { for (;;) continue; }
2807
2808// Check _Static_assert.
2809struct test_static_assert
2810{
2811  int x;
2812  _Static_assert (sizeof (int) <= sizeof (long int),
2813                  "_Static_assert does not work in struct");
2814  long int y;
2815};
2816
2817// Check UTF-8 literals.
2818#define u8 syntax error!
2819char const utf8_literal[] = u8"happens to be ASCII" "another string";
2820
2821// Check duplicate typedefs.
2822typedef long *long_ptr;
2823typedef long int *long_ptr;
2824typedef long_ptr long_ptr;
2825
2826// Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2827struct anonymous
2828{
2829  union {
2830    struct { int i; int j; };
2831    struct { int k; long int l; } w;
2832  };
2833  int m;
2834} v1;
2835'
2836
2837# Test code for whether the C compiler supports C11 (body of main).
2838ac_c_conftest_c11_main='
2839  _Static_assert ((offsetof (struct anonymous, i)
2840		   == offsetof (struct anonymous, w.k)),
2841		  "Anonymous union alignment botch");
2842  v1.i = 2;
2843  v1.w.k = 5;
2844  ok |= v1.i != 5;
2845'
2846
2847# Test code for whether the C compiler supports C11 (complete).
2848ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
2849${ac_c_conftest_c99_globals}
2850${ac_c_conftest_c11_globals}
2851
2852int
2853main (int argc, char **argv)
2854{
2855  int ok = 0;
2856  ${ac_c_conftest_c89_main}
2857  ${ac_c_conftest_c99_main}
2858  ${ac_c_conftest_c11_main}
2859  return ok;
2860}
2861"
2862
2863# Test code for whether the C compiler supports C99 (complete).
2864ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
2865${ac_c_conftest_c99_globals}
2866
2867int
2868main (int argc, char **argv)
2869{
2870  int ok = 0;
2871  ${ac_c_conftest_c89_main}
2872  ${ac_c_conftest_c99_main}
2873  return ok;
2874}
2875"
2876
2877# Test code for whether the C compiler supports C89 (complete).
2878ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
2879
2880int
2881main (int argc, char **argv)
2882{
2883  int ok = 0;
2884  ${ac_c_conftest_c89_main}
2885  return ok;
2886}
2887"
2888
2889# Test code for whether the C++ compiler supports C++98 (global declarations)
2890ac_cxx_conftest_cxx98_globals='
2891// Does the compiler advertise C++98 conformance?
2892#if !defined __cplusplus || __cplusplus < 199711L
2893# error "Compiler does not advertise C++98 conformance"
2894#endif
2895
2896// These inclusions are to reject old compilers that
2897// lack the unsuffixed header files.
2898#include <cstdlib>
2899#include <exception>
2900
2901// <cassert> and <cstring> are *not* freestanding headers in C++98.
2902extern void assert (int);
2903namespace std {
2904  extern int strcmp (const char *, const char *);
2905}
2906
2907// Namespaces, exceptions, and templates were all added after "C++ 2.0".
2908using std::exception;
2909using std::strcmp;
2910
2911namespace {
2912
2913void test_exception_syntax()
2914{
2915  try {
2916    throw "test";
2917  } catch (const char *s) {
2918    // Extra parentheses suppress a warning when building autoconf itself,
2919    // due to lint rules shared with more typical C programs.
2920    assert (!(strcmp) (s, "test"));
2921  }
2922}
2923
2924template <typename T> struct test_template
2925{
2926  T const val;
2927  explicit test_template(T t) : val(t) {}
2928  template <typename U> T add(U u) { return static_cast<T>(u) + val; }
2929};
2930
2931} // anonymous namespace
2932'
2933
2934# Test code for whether the C++ compiler supports C++98 (body of main)
2935ac_cxx_conftest_cxx98_main='
2936  assert (argc);
2937  assert (! argv[0]);
2938{
2939  test_exception_syntax ();
2940  test_template<double> tt (2.0);
2941  assert (tt.add (4) == 6.0);
2942  assert (true && !false);
2943}
2944'
2945
2946# Test code for whether the C++ compiler supports C++11 (global declarations)
2947ac_cxx_conftest_cxx11_globals='
2948// Does the compiler advertise C++ 2011 conformance?
2949#if !defined __cplusplus || __cplusplus < 201103L
2950# error "Compiler does not advertise C++11 conformance"
2951#endif
2952
2953namespace cxx11test
2954{
2955  constexpr int get_val() { return 20; }
2956
2957  struct testinit
2958  {
2959    int i;
2960    double d;
2961  };
2962
2963  class delegate
2964  {
2965  public:
2966    delegate(int n) : n(n) {}
2967    delegate(): delegate(2354) {}
2968
2969    virtual int getval() { return this->n; };
2970  protected:
2971    int n;
2972  };
2973
2974  class overridden : public delegate
2975  {
2976  public:
2977    overridden(int n): delegate(n) {}
2978    virtual int getval() override final { return this->n * 2; }
2979  };
2980
2981  class nocopy
2982  {
2983  public:
2984    nocopy(int i): i(i) {}
2985    nocopy() = default;
2986    nocopy(const nocopy&) = delete;
2987    nocopy & operator=(const nocopy&) = delete;
2988  private:
2989    int i;
2990  };
2991
2992  // for testing lambda expressions
2993  template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
2994  {
2995    return f(v);
2996  }
2997
2998  // for testing variadic templates and trailing return types
2999  template <typename V> auto sum(V first) -> V
3000  {
3001    return first;
3002  }
3003  template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3004  {
3005    return first + sum(rest...);
3006  }
3007}
3008'
3009
3010# Test code for whether the C++ compiler supports C++11 (body of main)
3011ac_cxx_conftest_cxx11_main='
3012{
3013  // Test auto and decltype
3014  auto a1 = 6538;
3015  auto a2 = 48573953.4;
3016  auto a3 = "String literal";
3017
3018  int total = 0;
3019  for (auto i = a3; *i; ++i) { total += *i; }
3020
3021  decltype(a2) a4 = 34895.034;
3022}
3023{
3024  // Test constexpr
3025  short sa[cxx11test::get_val()] = { 0 };
3026}
3027{
3028  // Test initializer lists
3029  cxx11test::testinit il = { 4323, 435234.23544 };
3030}
3031{
3032  // Test range-based for
3033  int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3034                 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3035  for (auto &x : array) { x += 23; }
3036}
3037{
3038  // Test lambda expressions
3039  using cxx11test::eval;
3040  assert (eval ([](int x) { return x*2; }, 21) == 42);
3041  double d = 2.0;
3042  assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3043  assert (d == 5.0);
3044  assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3045  assert (d == 5.0);
3046}
3047{
3048  // Test use of variadic templates
3049  using cxx11test::sum;
3050  auto a = sum(1);
3051  auto b = sum(1, 2);
3052  auto c = sum(1.0, 2.0, 3.0);
3053}
3054{
3055  // Test constructor delegation
3056  cxx11test::delegate d1;
3057  cxx11test::delegate d2();
3058  cxx11test::delegate d3(45);
3059}
3060{
3061  // Test override and final
3062  cxx11test::overridden o1(55464);
3063}
3064{
3065  // Test nullptr
3066  char *c = nullptr;
3067}
3068{
3069  // Test template brackets
3070  test_template<::test_template<int>> v(test_template<int>(12));
3071}
3072{
3073  // Unicode literals
3074  char const *utf8 = u8"UTF-8 string \u2500";
3075  char16_t const *utf16 = u"UTF-8 string \u2500";
3076  char32_t const *utf32 = U"UTF-32 string \u2500";
3077}
3078'
3079
3080# Test code for whether the C compiler supports C++11 (complete).
3081ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3082${ac_cxx_conftest_cxx11_globals}
3083
3084int
3085main (int argc, char **argv)
3086{
3087  int ok = 0;
3088  ${ac_cxx_conftest_cxx98_main}
3089  ${ac_cxx_conftest_cxx11_main}
3090  return ok;
3091}
3092"
3093
3094# Test code for whether the C compiler supports C++98 (complete).
3095ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3096int
3097main (int argc, char **argv)
3098{
3099  int ok = 0;
3100  ${ac_cxx_conftest_cxx98_main}
3101  return ok;
3102}
3103"
3104
3105as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3106as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3107as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3108as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3109as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3110as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3111as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3112as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3113as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3114
3115# Auxiliary files required by this configure script.
3116ac_aux_files="config.guess config.sub ltmain.sh compile missing install-sh"
3117
3118# Locations in which to look for auxiliary files.
3119ac_aux_dir_candidates="${srcdir}/build-aux"
3120
3121# Search for a directory containing all of the required auxiliary files,
3122# $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3123# If we don't find one directory that contains all the files we need,
3124# we report the set of missing files from the *first* directory in
3125# $ac_aux_dir_candidates and give up.
3126ac_missing_aux_files=""
3127ac_first_candidate=:
3128printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3129as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3130as_found=false
3131for as_dir in $ac_aux_dir_candidates
3132do
3133  IFS=$as_save_IFS
3134  case $as_dir in #(((
3135    '') as_dir=./ ;;
3136    */) ;;
3137    *) as_dir=$as_dir/ ;;
3138  esac
3139  as_found=:
3140
3141  printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
3142  ac_aux_dir_found=yes
3143  ac_install_sh=
3144  for ac_aux in $ac_aux_files
3145  do
3146    # As a special case, if "install-sh" is required, that requirement
3147    # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3148    # and $ac_install_sh is set appropriately for whichever one is found.
3149    if test x"$ac_aux" = x"install-sh"
3150    then
3151      if test -f "${as_dir}install-sh"; then
3152        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
3153        ac_install_sh="${as_dir}install-sh -c"
3154      elif test -f "${as_dir}install.sh"; then
3155        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
3156        ac_install_sh="${as_dir}install.sh -c"
3157      elif test -f "${as_dir}shtool"; then
3158        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
3159        ac_install_sh="${as_dir}shtool install -c"
3160      else
3161        ac_aux_dir_found=no
3162        if $ac_first_candidate; then
3163          ac_missing_aux_files="${ac_missing_aux_files} install-sh"
3164        else
3165          break
3166        fi
3167      fi
3168    else
3169      if test -f "${as_dir}${ac_aux}"; then
3170        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
3171      else
3172        ac_aux_dir_found=no
3173        if $ac_first_candidate; then
3174          ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
3175        else
3176          break
3177        fi
3178      fi
3179    fi
3180  done
3181  if test "$ac_aux_dir_found" = yes; then
3182    ac_aux_dir="$as_dir"
3183    break
3184  fi
3185  ac_first_candidate=false
3186
3187  as_found=false
3188done
3189IFS=$as_save_IFS
3190if $as_found
3191then :
3192
3193else $as_nop
3194  as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
3195fi
3196
3197
3198# These three variables are undocumented and unsupported,
3199# and are intended to be withdrawn in a future Autoconf release.
3200# They can cause serious problems if a builder's source tree is in a directory
3201# whose full name contains unusual characters.
3202if test -f "${ac_aux_dir}config.guess"; then
3203  ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
3204fi
3205if test -f "${ac_aux_dir}config.sub"; then
3206  ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
3207fi
3208if test -f "$ac_aux_dir/configure"; then
3209  ac_configure="$SHELL ${ac_aux_dir}configure"
3210fi
3211
3212# Check that the precious variables saved in the cache have kept the same
3213# value.
3214ac_cache_corrupted=false
3215for ac_var in $ac_precious_vars; do
3216  eval ac_old_set=\$ac_cv_env_${ac_var}_set
3217  eval ac_new_set=\$ac_env_${ac_var}_set
3218  eval ac_old_val=\$ac_cv_env_${ac_var}_value
3219  eval ac_new_val=\$ac_env_${ac_var}_value
3220  case $ac_old_set,$ac_new_set in
3221    set,)
3222      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3223printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3224      ac_cache_corrupted=: ;;
3225    ,set)
3226      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3227printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3228      ac_cache_corrupted=: ;;
3229    ,);;
3230    *)
3231      if test "x$ac_old_val" != "x$ac_new_val"; then
3232	# differences in whitespace do not lead to failure.
3233	ac_old_val_w=`echo x $ac_old_val`
3234	ac_new_val_w=`echo x $ac_new_val`
3235	if test "$ac_old_val_w" != "$ac_new_val_w"; then
3236	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3237printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3238	  ac_cache_corrupted=:
3239	else
3240	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3241printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3242	  eval $ac_var=\$ac_old_val
3243	fi
3244	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
3245printf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
3246	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
3247printf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
3248      fi;;
3249  esac
3250  # Pass precious variables to config.status.
3251  if test "$ac_new_set" = set; then
3252    case $ac_new_val in
3253    *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3254    *) ac_arg=$ac_var=$ac_new_val ;;
3255    esac
3256    case " $ac_configure_args " in
3257      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
3258      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3259    esac
3260  fi
3261done
3262if $ac_cache_corrupted; then
3263  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3264printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3265  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3266printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
3267  as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
3268	    and start over" "$LINENO" 5
3269fi
3270## -------------------- ##
3271## Main body of script. ##
3272## -------------------- ##
3273
3274ac_ext=c
3275ac_cpp='$CPP $CPPFLAGS'
3276ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3277ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3278ac_compiler_gnu=$ac_cv_c_compiler_gnu
3279
3280
3281
3282
3283
3284am__api_version='1.16'
3285
3286
3287
3288  # Find a good install program.  We prefer a C program (faster),
3289# so one script is as good as another.  But avoid the broken or
3290# incompatible versions:
3291# SysV /etc/install, /usr/sbin/install
3292# SunOS /usr/etc/install
3293# IRIX /sbin/install
3294# AIX /bin/install
3295# AmigaOS /C/install, which installs bootblocks on floppy discs
3296# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3297# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3298# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3299# OS/2's system install, which has a completely different semantic
3300# ./install, which can be erroneously created by make from ./install.sh.
3301# Reject install programs that cannot install multiple files.
3302{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3303printf %s "checking for a BSD-compatible install... " >&6; }
3304if test -z "$INSTALL"; then
3305if test ${ac_cv_path_install+y}
3306then :
3307  printf %s "(cached) " >&6
3308else $as_nop
3309  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3310for as_dir in $PATH
3311do
3312  IFS=$as_save_IFS
3313  case $as_dir in #(((
3314    '') as_dir=./ ;;
3315    */) ;;
3316    *) as_dir=$as_dir/ ;;
3317  esac
3318    # Account for fact that we put trailing slashes in our PATH walk.
3319case $as_dir in #((
3320  ./ | /[cC]/* | \
3321  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3322  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3323  /usr/ucb/* ) ;;
3324  *)
3325    # OSF1 and SCO ODT 3.0 have their own names for install.
3326    # Don't use installbsd from OSF since it installs stuff as root
3327    # by default.
3328    for ac_prog in ginstall scoinst install; do
3329      for ac_exec_ext in '' $ac_executable_extensions; do
3330	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
3331	  if test $ac_prog = install &&
3332	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3333	    # AIX install.  It has an incompatible calling convention.
3334	    :
3335	  elif test $ac_prog = install &&
3336	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3337	    # program-specific install script used by HP pwplus--don't use.
3338	    :
3339	  else
3340	    rm -rf conftest.one conftest.two conftest.dir
3341	    echo one > conftest.one
3342	    echo two > conftest.two
3343	    mkdir conftest.dir
3344	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
3345	      test -s conftest.one && test -s conftest.two &&
3346	      test -s conftest.dir/conftest.one &&
3347	      test -s conftest.dir/conftest.two
3348	    then
3349	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
3350	      break 3
3351	    fi
3352	  fi
3353	fi
3354      done
3355    done
3356    ;;
3357esac
3358
3359  done
3360IFS=$as_save_IFS
3361
3362rm -rf conftest.one conftest.two conftest.dir
3363
3364fi
3365  if test ${ac_cv_path_install+y}; then
3366    INSTALL=$ac_cv_path_install
3367  else
3368    # As a last resort, use the slow shell script.  Don't cache a
3369    # value for INSTALL within a source directory, because that will
3370    # break other packages using the cache if that directory is
3371    # removed, or if the value is a relative name.
3372    INSTALL=$ac_install_sh
3373  fi
3374fi
3375{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3376printf "%s\n" "$INSTALL" >&6; }
3377
3378# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3379# It thinks the first close brace ends the variable substitution.
3380test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3381
3382test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3383
3384test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3385
3386{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3387printf %s "checking whether build environment is sane... " >&6; }
3388# Reject unsafe characters in $srcdir or the absolute working directory
3389# name.  Accept space and tab only in the latter.
3390am_lf='
3391'
3392case `pwd` in
3393  *[\\\"\#\$\&\'\`$am_lf]*)
3394    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3395esac
3396case $srcdir in
3397  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
3398    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3399esac
3400
3401# Do 'set' in a subshell so we don't clobber the current shell's
3402# arguments.  Must try -L first in case configure is actually a
3403# symlink; some systems play weird games with the mod time of symlinks
3404# (eg FreeBSD returns the mod time of the symlink's containing
3405# directory).
3406if (
3407   am_has_slept=no
3408   for am_try in 1 2; do
3409     echo "timestamp, slept: $am_has_slept" > conftest.file
3410     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3411     if test "$*" = "X"; then
3412	# -L didn't work.
3413	set X `ls -t "$srcdir/configure" conftest.file`
3414     fi
3415     if test "$*" != "X $srcdir/configure conftest.file" \
3416	&& test "$*" != "X conftest.file $srcdir/configure"; then
3417
3418	# If neither matched, then we have a broken ls.  This can happen
3419	# if, for instance, CONFIG_SHELL is bash and it inherits a
3420	# broken ls alias from the environment.  This has actually
3421	# happened.  Such a system could not be considered "sane".
3422	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
3423  alias in your environment" "$LINENO" 5
3424     fi
3425     if test "$2" = conftest.file || test $am_try -eq 2; then
3426       break
3427     fi
3428     # Just in case.
3429     sleep 1
3430     am_has_slept=yes
3431   done
3432   test "$2" = conftest.file
3433   )
3434then
3435   # Ok.
3436   :
3437else
3438   as_fn_error $? "newly created file is older than distributed files!
3439Check your system clock" "$LINENO" 5
3440fi
3441{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3442printf "%s\n" "yes" >&6; }
3443# If we didn't sleep, we still need to ensure time stamps of config.status and
3444# generated files are strictly newer.
3445am_sleep_pid=
3446if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3447  ( sleep 1 ) &
3448  am_sleep_pid=$!
3449fi
3450
3451rm -f conftest.file
3452
3453test "$program_prefix" != NONE &&
3454  program_transform_name="s&^&$program_prefix&;$program_transform_name"
3455# Use a double $ so make ignores it.
3456test "$program_suffix" != NONE &&
3457  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3458# Double any \ or $.
3459# By default was `s,x,x', remove it if useless.
3460ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3461program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
3462
3463
3464# Expand $ac_aux_dir to an absolute path.
3465am_aux_dir=`cd "$ac_aux_dir" && pwd`
3466
3467
3468  if test x"${MISSING+set}" != xset; then
3469  MISSING="\${SHELL} '$am_aux_dir/missing'"
3470fi
3471# Use eval to expand $SHELL
3472if eval "$MISSING --is-lightweight"; then
3473  am_missing_run="$MISSING "
3474else
3475  am_missing_run=
3476  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3477printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3478fi
3479
3480if test x"${install_sh+set}" != xset; then
3481  case $am_aux_dir in
3482  *\ * | *\	*)
3483    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3484  *)
3485    install_sh="\${SHELL} $am_aux_dir/install-sh"
3486  esac
3487fi
3488
3489# Installed binaries are usually stripped using 'strip' when the user
3490# run "make install-strip".  However 'strip' might not be the right
3491# tool to use in cross-compilation environments, therefore Automake
3492# will honor the 'STRIP' environment variable to overrule this program.
3493if test "$cross_compiling" != no; then
3494  if test -n "$ac_tool_prefix"; then
3495  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3496set dummy ${ac_tool_prefix}strip; ac_word=$2
3497{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3498printf %s "checking for $ac_word... " >&6; }
3499if test ${ac_cv_prog_STRIP+y}
3500then :
3501  printf %s "(cached) " >&6
3502else $as_nop
3503  if test -n "$STRIP"; then
3504  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3505else
3506as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3507for as_dir in $PATH
3508do
3509  IFS=$as_save_IFS
3510  case $as_dir in #(((
3511    '') as_dir=./ ;;
3512    */) ;;
3513    *) as_dir=$as_dir/ ;;
3514  esac
3515    for ac_exec_ext in '' $ac_executable_extensions; do
3516  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3517    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3518    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3519    break 2
3520  fi
3521done
3522  done
3523IFS=$as_save_IFS
3524
3525fi
3526fi
3527STRIP=$ac_cv_prog_STRIP
3528if test -n "$STRIP"; then
3529  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3530printf "%s\n" "$STRIP" >&6; }
3531else
3532  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3533printf "%s\n" "no" >&6; }
3534fi
3535
3536
3537fi
3538if test -z "$ac_cv_prog_STRIP"; then
3539  ac_ct_STRIP=$STRIP
3540  # Extract the first word of "strip", so it can be a program name with args.
3541set dummy strip; ac_word=$2
3542{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3543printf %s "checking for $ac_word... " >&6; }
3544if test ${ac_cv_prog_ac_ct_STRIP+y}
3545then :
3546  printf %s "(cached) " >&6
3547else $as_nop
3548  if test -n "$ac_ct_STRIP"; then
3549  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3550else
3551as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3552for as_dir in $PATH
3553do
3554  IFS=$as_save_IFS
3555  case $as_dir in #(((
3556    '') as_dir=./ ;;
3557    */) ;;
3558    *) as_dir=$as_dir/ ;;
3559  esac
3560    for ac_exec_ext in '' $ac_executable_extensions; do
3561  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3562    ac_cv_prog_ac_ct_STRIP="strip"
3563    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3564    break 2
3565  fi
3566done
3567  done
3568IFS=$as_save_IFS
3569
3570fi
3571fi
3572ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3573if test -n "$ac_ct_STRIP"; then
3574  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3575printf "%s\n" "$ac_ct_STRIP" >&6; }
3576else
3577  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3578printf "%s\n" "no" >&6; }
3579fi
3580
3581  if test "x$ac_ct_STRIP" = x; then
3582    STRIP=":"
3583  else
3584    case $cross_compiling:$ac_tool_warned in
3585yes:)
3586{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3587printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3588ac_tool_warned=yes ;;
3589esac
3590    STRIP=$ac_ct_STRIP
3591  fi
3592else
3593  STRIP="$ac_cv_prog_STRIP"
3594fi
3595
3596fi
3597INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3598
3599
3600  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
3601printf %s "checking for a race-free mkdir -p... " >&6; }
3602if test -z "$MKDIR_P"; then
3603  if test ${ac_cv_path_mkdir+y}
3604then :
3605  printf %s "(cached) " >&6
3606else $as_nop
3607  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3608for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3609do
3610  IFS=$as_save_IFS
3611  case $as_dir in #(((
3612    '') as_dir=./ ;;
3613    */) ;;
3614    *) as_dir=$as_dir/ ;;
3615  esac
3616    for ac_prog in mkdir gmkdir; do
3617	 for ac_exec_ext in '' $ac_executable_extensions; do
3618	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
3619	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
3620	     'mkdir ('*'coreutils) '* | \
3621	     'BusyBox '* | \
3622	     'mkdir (fileutils) '4.1*)
3623	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
3624	       break 3;;
3625	   esac
3626	 done
3627       done
3628  done
3629IFS=$as_save_IFS
3630
3631fi
3632
3633  test -d ./--version && rmdir ./--version
3634  if test ${ac_cv_path_mkdir+y}; then
3635    MKDIR_P="$ac_cv_path_mkdir -p"
3636  else
3637    # As a last resort, use the slow shell script.  Don't cache a
3638    # value for MKDIR_P within a source directory, because that will
3639    # break other packages using the cache if that directory is
3640    # removed, or if the value is a relative name.
3641    MKDIR_P="$ac_install_sh -d"
3642  fi
3643fi
3644{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3645printf "%s\n" "$MKDIR_P" >&6; }
3646
3647for ac_prog in gawk mawk nawk awk
3648do
3649  # Extract the first word of "$ac_prog", so it can be a program name with args.
3650set dummy $ac_prog; ac_word=$2
3651{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3652printf %s "checking for $ac_word... " >&6; }
3653if test ${ac_cv_prog_AWK+y}
3654then :
3655  printf %s "(cached) " >&6
3656else $as_nop
3657  if test -n "$AWK"; then
3658  ac_cv_prog_AWK="$AWK" # Let the user override the test.
3659else
3660as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3661for as_dir in $PATH
3662do
3663  IFS=$as_save_IFS
3664  case $as_dir in #(((
3665    '') as_dir=./ ;;
3666    */) ;;
3667    *) as_dir=$as_dir/ ;;
3668  esac
3669    for ac_exec_ext in '' $ac_executable_extensions; do
3670  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3671    ac_cv_prog_AWK="$ac_prog"
3672    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3673    break 2
3674  fi
3675done
3676  done
3677IFS=$as_save_IFS
3678
3679fi
3680fi
3681AWK=$ac_cv_prog_AWK
3682if test -n "$AWK"; then
3683  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3684printf "%s\n" "$AWK" >&6; }
3685else
3686  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3687printf "%s\n" "no" >&6; }
3688fi
3689
3690
3691  test -n "$AWK" && break
3692done
3693
3694{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3695printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3696set x ${MAKE-make}
3697ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3698if eval test \${ac_cv_prog_make_${ac_make}_set+y}
3699then :
3700  printf %s "(cached) " >&6
3701else $as_nop
3702  cat >conftest.make <<\_ACEOF
3703SHELL = /bin/sh
3704all:
3705	@echo '@@@%%%=$(MAKE)=@@@%%%'
3706_ACEOF
3707# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3708case `${MAKE-make} -f conftest.make 2>/dev/null` in
3709  *@@@%%%=?*=@@@%%%*)
3710    eval ac_cv_prog_make_${ac_make}_set=yes;;
3711  *)
3712    eval ac_cv_prog_make_${ac_make}_set=no;;
3713esac
3714rm -f conftest.make
3715fi
3716if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3717  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3718printf "%s\n" "yes" >&6; }
3719  SET_MAKE=
3720else
3721  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3722printf "%s\n" "no" >&6; }
3723  SET_MAKE="MAKE=${MAKE-make}"
3724fi
3725
3726rm -rf .tst 2>/dev/null
3727mkdir .tst 2>/dev/null
3728if test -d .tst; then
3729  am__leading_dot=.
3730else
3731  am__leading_dot=_
3732fi
3733rmdir .tst 2>/dev/null
3734
3735# Check whether --enable-silent-rules was given.
3736if test ${enable_silent_rules+y}
3737then :
3738  enableval=$enable_silent_rules;
3739fi
3740
3741case $enable_silent_rules in # (((
3742  yes) AM_DEFAULT_VERBOSITY=0;;
3743   no) AM_DEFAULT_VERBOSITY=1;;
3744    *) AM_DEFAULT_VERBOSITY=1;;
3745esac
3746am_make=${MAKE-make}
3747{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3748printf %s "checking whether $am_make supports nested variables... " >&6; }
3749if test ${am_cv_make_support_nested_variables+y}
3750then :
3751  printf %s "(cached) " >&6
3752else $as_nop
3753  if printf "%s\n" 'TRUE=$(BAR$(V))
3754BAR0=false
3755BAR1=true
3756V=1
3757am__doit:
3758	@$(TRUE)
3759.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3760  am_cv_make_support_nested_variables=yes
3761else
3762  am_cv_make_support_nested_variables=no
3763fi
3764fi
3765{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3766printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
3767if test $am_cv_make_support_nested_variables = yes; then
3768    AM_V='$(V)'
3769  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3770else
3771  AM_V=$AM_DEFAULT_VERBOSITY
3772  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3773fi
3774AM_BACKSLASH='\'
3775
3776if test "`cd $srcdir && pwd`" != "`pwd`"; then
3777  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3778  # is not polluted with repeated "-I."
3779  am__isrc=' -I$(srcdir)'
3780  # test to see if srcdir already configured
3781  if test -f $srcdir/config.status; then
3782    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3783  fi
3784fi
3785
3786# test whether we have cygpath
3787if test -z "$CYGPATH_W"; then
3788  if (cygpath --version) >/dev/null 2>/dev/null; then
3789    CYGPATH_W='cygpath -w'
3790  else
3791    CYGPATH_W=echo
3792  fi
3793fi
3794
3795
3796# Define the identity of the package.
3797 PACKAGE='xmltooling'
3798 VERSION='3.2.1'
3799
3800
3801printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
3802
3803
3804printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
3805
3806# Some tools Automake needs.
3807
3808ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3809
3810
3811AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3812
3813
3814AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3815
3816
3817AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3818
3819
3820MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3821
3822# For better backward compatibility.  To be removed once Automake 1.9.x
3823# dies out for good.  For more background, see:
3824# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3825# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3826mkdir_p='$(MKDIR_P)'
3827
3828# We need awk for the "check" target (and possibly the TAP driver).  The
3829# system "awk" is bad on some platforms.
3830# Always define AMTAR for backward compatibility.  Yes, it's still used
3831# in the wild :-(  We should find a proper way to deprecate it ...
3832AMTAR='$${TAR-tar}'
3833
3834
3835# We'll loop over all known methods to create a tar archive until one works.
3836_am_tools='gnutar  pax cpio none'
3837
3838am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3839
3840
3841
3842
3843
3844# Variables for tags utilities; see am/tags.am
3845if test -z "$CTAGS"; then
3846  CTAGS=ctags
3847fi
3848
3849if test -z "$ETAGS"; then
3850  ETAGS=etags
3851fi
3852
3853if test -z "$CSCOPE"; then
3854  CSCOPE=cscope
3855fi
3856
3857
3858
3859# POSIX will say in a future version that running "rm -f" with no argument
3860# is OK; and we want to be able to make that assumption in our Makefile
3861# recipes.  So use an aggressive probe to check that the usage we want is
3862# actually supported "in the wild" to an acceptable degree.
3863# See automake bug#10828.
3864# To make any issue more visible, cause the running configure to be aborted
3865# by default if the 'rm' program in use doesn't match our expectations; the
3866# user can still override this though.
3867if rm -f && rm -fr && rm -rf; then : OK; else
3868  cat >&2 <<'END'
3869Oops!
3870
3871Your 'rm' program seems unable to run without file operands specified
3872on the command line, even when the '-f' option is present.  This is contrary
3873to the behaviour of most rm programs out there, and not conforming with
3874the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3875
3876Please tell bug-automake@gnu.org about your system, including the value
3877of your $PATH and any error possibly output before this message.  This
3878can help us improve future automake versions.
3879
3880END
3881  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3882    echo 'Configuration will proceed anyway, since you have set the' >&2
3883    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3884    echo >&2
3885  else
3886    cat >&2 <<'END'
3887Aborting the configuration process, to ensure you take notice of the issue.
3888
3889You can download and install GNU coreutils to get an 'rm' implementation
3890that behaves properly: <https://www.gnu.org/software/coreutils/>.
3891
3892If you want to complete the configuration process using your problematic
3893'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3894to "yes", and re-run configure.
3895
3896END
3897    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3898  fi
3899fi
3900
3901
3902
3903
3904# Check whether --with-pkgconfigdir was given.
3905if test ${with_pkgconfigdir+y}
3906then :
3907  withval=$with_pkgconfigdir;
3908else $as_nop
3909  with_pkgconfigdir='${libdir}/pkgconfig'
3910fi
3911
3912pkgconfigdir=$with_pkgconfigdir
3913
3914
3915
3916
3917
3918# Doxygen features
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930# Files:
3931DX_PROJECT=xmltooling
3932
3933DX_CONFIG=doxygen.cfg
3934
3935DX_DOCDIR=doc/api
3936
3937
3938# Environment variables used inside doxygen.cfg:
3939DX_ENV="$DX_ENV SRCDIR='$srcdir'"
3940
3941DX_ENV="$DX_ENV PROJECT='$DX_PROJECT'"
3942
3943DX_ENV="$DX_ENV DOCDIR='$DX_DOCDIR'"
3944
3945DX_ENV="$DX_ENV VERSION='$PACKAGE_VERSION'"
3946
3947
3948# Doxygen itself:
3949
3950
3951
3952    # Check whether --enable-doxygen-doc was given.
3953if test ${enable_doxygen_doc+y}
3954then :
3955  enableval=$enable_doxygen_doc;
3956case "$enableval" in
3957#(
3958y|Y|yes|Yes|YES)
3959    DX_FLAG_doc=1
3960
3961
3962;; #(
3963n|N|no|No|NO)
3964    DX_FLAG_doc=0
3965
3966;; #(
3967*)
3968    as_fn_error $? "invalid value '$enableval' given to doxygen-doc" "$LINENO" 5
3969;;
3970esac
3971
3972else $as_nop
3973
3974DX_FLAG_doc=1
3975
3976
3977
3978fi
3979
3980if test "$DX_FLAG_doc" = 1; then
3981
3982if test -n "$ac_tool_prefix"; then
3983  # Extract the first word of "${ac_tool_prefix}doxygen", so it can be a program name with args.
3984set dummy ${ac_tool_prefix}doxygen; ac_word=$2
3985{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3986printf %s "checking for $ac_word... " >&6; }
3987if test ${ac_cv_path_DX_DOXYGEN+y}
3988then :
3989  printf %s "(cached) " >&6
3990else $as_nop
3991  case $DX_DOXYGEN in
3992  [\\/]* | ?:[\\/]*)
3993  ac_cv_path_DX_DOXYGEN="$DX_DOXYGEN" # Let the user override the test with a path.
3994  ;;
3995  *)
3996  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3997for as_dir in $PATH
3998do
3999  IFS=$as_save_IFS
4000  case $as_dir in #(((
4001    '') as_dir=./ ;;
4002    */) ;;
4003    *) as_dir=$as_dir/ ;;
4004  esac
4005    for ac_exec_ext in '' $ac_executable_extensions; do
4006  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4007    ac_cv_path_DX_DOXYGEN="$as_dir$ac_word$ac_exec_ext"
4008    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4009    break 2
4010  fi
4011done
4012  done
4013IFS=$as_save_IFS
4014
4015  ;;
4016esac
4017fi
4018DX_DOXYGEN=$ac_cv_path_DX_DOXYGEN
4019if test -n "$DX_DOXYGEN"; then
4020  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DX_DOXYGEN" >&5
4021printf "%s\n" "$DX_DOXYGEN" >&6; }
4022else
4023  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4024printf "%s\n" "no" >&6; }
4025fi
4026
4027
4028fi
4029if test -z "$ac_cv_path_DX_DOXYGEN"; then
4030  ac_pt_DX_DOXYGEN=$DX_DOXYGEN
4031  # Extract the first word of "doxygen", so it can be a program name with args.
4032set dummy doxygen; ac_word=$2
4033{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4034printf %s "checking for $ac_word... " >&6; }
4035if test ${ac_cv_path_ac_pt_DX_DOXYGEN+y}
4036then :
4037  printf %s "(cached) " >&6
4038else $as_nop
4039  case $ac_pt_DX_DOXYGEN in
4040  [\\/]* | ?:[\\/]*)
4041  ac_cv_path_ac_pt_DX_DOXYGEN="$ac_pt_DX_DOXYGEN" # Let the user override the test with a path.
4042  ;;
4043  *)
4044  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4045for as_dir in $PATH
4046do
4047  IFS=$as_save_IFS
4048  case $as_dir in #(((
4049    '') as_dir=./ ;;
4050    */) ;;
4051    *) as_dir=$as_dir/ ;;
4052  esac
4053    for ac_exec_ext in '' $ac_executable_extensions; do
4054  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4055    ac_cv_path_ac_pt_DX_DOXYGEN="$as_dir$ac_word$ac_exec_ext"
4056    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4057    break 2
4058  fi
4059done
4060  done
4061IFS=$as_save_IFS
4062
4063  ;;
4064esac
4065fi
4066ac_pt_DX_DOXYGEN=$ac_cv_path_ac_pt_DX_DOXYGEN
4067if test -n "$ac_pt_DX_DOXYGEN"; then
4068  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOXYGEN" >&5
4069printf "%s\n" "$ac_pt_DX_DOXYGEN" >&6; }
4070else
4071  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4072printf "%s\n" "no" >&6; }
4073fi
4074
4075  if test "x$ac_pt_DX_DOXYGEN" = x; then
4076    DX_DOXYGEN=""
4077  else
4078    case $cross_compiling:$ac_tool_warned in
4079yes:)
4080{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4081printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4082ac_tool_warned=yes ;;
4083esac
4084    DX_DOXYGEN=$ac_pt_DX_DOXYGEN
4085  fi
4086else
4087  DX_DOXYGEN="$ac_cv_path_DX_DOXYGEN"
4088fi
4089
4090if test "$DX_FLAG_doc$DX_DOXYGEN" = 1; then
4091    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: doxygen not found - will not generate any doxygen documentation" >&5
4092printf "%s\n" "$as_me: WARNING: doxygen not found - will not generate any doxygen documentation" >&2;}
4093    DX_FLAG_doc=0
4094
4095fi
4096
4097
4098if test -n "$ac_tool_prefix"; then
4099  # Extract the first word of "${ac_tool_prefix}perl", so it can be a program name with args.
4100set dummy ${ac_tool_prefix}perl; ac_word=$2
4101{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4102printf %s "checking for $ac_word... " >&6; }
4103if test ${ac_cv_path_DX_PERL+y}
4104then :
4105  printf %s "(cached) " >&6
4106else $as_nop
4107  case $DX_PERL in
4108  [\\/]* | ?:[\\/]*)
4109  ac_cv_path_DX_PERL="$DX_PERL" # Let the user override the test with a path.
4110  ;;
4111  *)
4112  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4113for as_dir in $PATH
4114do
4115  IFS=$as_save_IFS
4116  case $as_dir in #(((
4117    '') as_dir=./ ;;
4118    */) ;;
4119    *) as_dir=$as_dir/ ;;
4120  esac
4121    for ac_exec_ext in '' $ac_executable_extensions; do
4122  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4123    ac_cv_path_DX_PERL="$as_dir$ac_word$ac_exec_ext"
4124    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4125    break 2
4126  fi
4127done
4128  done
4129IFS=$as_save_IFS
4130
4131  ;;
4132esac
4133fi
4134DX_PERL=$ac_cv_path_DX_PERL
4135if test -n "$DX_PERL"; then
4136  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DX_PERL" >&5
4137printf "%s\n" "$DX_PERL" >&6; }
4138else
4139  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4140printf "%s\n" "no" >&6; }
4141fi
4142
4143
4144fi
4145if test -z "$ac_cv_path_DX_PERL"; then
4146  ac_pt_DX_PERL=$DX_PERL
4147  # Extract the first word of "perl", so it can be a program name with args.
4148set dummy perl; ac_word=$2
4149{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4150printf %s "checking for $ac_word... " >&6; }
4151if test ${ac_cv_path_ac_pt_DX_PERL+y}
4152then :
4153  printf %s "(cached) " >&6
4154else $as_nop
4155  case $ac_pt_DX_PERL in
4156  [\\/]* | ?:[\\/]*)
4157  ac_cv_path_ac_pt_DX_PERL="$ac_pt_DX_PERL" # Let the user override the test with a path.
4158  ;;
4159  *)
4160  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4161for as_dir in $PATH
4162do
4163  IFS=$as_save_IFS
4164  case $as_dir in #(((
4165    '') as_dir=./ ;;
4166    */) ;;
4167    *) as_dir=$as_dir/ ;;
4168  esac
4169    for ac_exec_ext in '' $ac_executable_extensions; do
4170  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4171    ac_cv_path_ac_pt_DX_PERL="$as_dir$ac_word$ac_exec_ext"
4172    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4173    break 2
4174  fi
4175done
4176  done
4177IFS=$as_save_IFS
4178
4179  ;;
4180esac
4181fi
4182ac_pt_DX_PERL=$ac_cv_path_ac_pt_DX_PERL
4183if test -n "$ac_pt_DX_PERL"; then
4184  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PERL" >&5
4185printf "%s\n" "$ac_pt_DX_PERL" >&6; }
4186else
4187  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4188printf "%s\n" "no" >&6; }
4189fi
4190
4191  if test "x$ac_pt_DX_PERL" = x; then
4192    DX_PERL=""
4193  else
4194    case $cross_compiling:$ac_tool_warned in
4195yes:)
4196{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4197printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4198ac_tool_warned=yes ;;
4199esac
4200    DX_PERL=$ac_pt_DX_PERL
4201  fi
4202else
4203  DX_PERL="$ac_cv_path_DX_PERL"
4204fi
4205
4206if test "$DX_FLAG_doc$DX_PERL" = 1; then
4207    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: perl not found - will not generate any doxygen documentation" >&5
4208printf "%s\n" "$as_me: WARNING: perl not found - will not generate any doxygen documentation" >&2;}
4209    DX_FLAG_doc=0
4210
4211fi
4212
4213    :
4214fi
4215if test "$DX_FLAG_doc" = 1; then
4216     if :; then
4217  DX_COND_doc_TRUE=
4218  DX_COND_doc_FALSE='#'
4219else
4220  DX_COND_doc_TRUE='#'
4221  DX_COND_doc_FALSE=
4222fi
4223
4224    DX_ENV="$DX_ENV PERL_PATH='$DX_PERL'"
4225
4226    :
4227else
4228     if false; then
4229  DX_COND_doc_TRUE=
4230  DX_COND_doc_FALSE='#'
4231else
4232  DX_COND_doc_TRUE='#'
4233  DX_COND_doc_FALSE=
4234fi
4235
4236
4237    :
4238fi
4239
4240
4241# Dot for graphics:
4242
4243
4244
4245    # Check whether --enable-doxygen-dot was given.
4246if test ${enable_doxygen_dot+y}
4247then :
4248  enableval=$enable_doxygen_dot;
4249case "$enableval" in
4250#(
4251y|Y|yes|Yes|YES)
4252    DX_FLAG_dot=1
4253
4254
4255test "$DX_FLAG_doc" = "1" \
4256|| as_fn_error $? "doxygen-dot requires doxygen-dot" "$LINENO" 5
4257
4258;; #(
4259n|N|no|No|NO)
4260    DX_FLAG_dot=0
4261
4262;; #(
4263*)
4264    as_fn_error $? "invalid value '$enableval' given to doxygen-dot" "$LINENO" 5
4265;;
4266esac
4267
4268else $as_nop
4269
4270DX_FLAG_dot=1
4271
4272
4273test "$DX_FLAG_doc" = "1" || DX_FLAG_dot=0
4274
4275
4276
4277fi
4278
4279if test "$DX_FLAG_dot" = 1; then
4280
4281if test -n "$ac_tool_prefix"; then
4282  # Extract the first word of "${ac_tool_prefix}dot", so it can be a program name with args.
4283set dummy ${ac_tool_prefix}dot; ac_word=$2
4284{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4285printf %s "checking for $ac_word... " >&6; }
4286if test ${ac_cv_path_DX_DOT+y}
4287then :
4288  printf %s "(cached) " >&6
4289else $as_nop
4290  case $DX_DOT in
4291  [\\/]* | ?:[\\/]*)
4292  ac_cv_path_DX_DOT="$DX_DOT" # Let the user override the test with a path.
4293  ;;
4294  *)
4295  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4296for as_dir in $PATH
4297do
4298  IFS=$as_save_IFS
4299  case $as_dir in #(((
4300    '') as_dir=./ ;;
4301    */) ;;
4302    *) as_dir=$as_dir/ ;;
4303  esac
4304    for ac_exec_ext in '' $ac_executable_extensions; do
4305  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4306    ac_cv_path_DX_DOT="$as_dir$ac_word$ac_exec_ext"
4307    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4308    break 2
4309  fi
4310done
4311  done
4312IFS=$as_save_IFS
4313
4314  ;;
4315esac
4316fi
4317DX_DOT=$ac_cv_path_DX_DOT
4318if test -n "$DX_DOT"; then
4319  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DX_DOT" >&5
4320printf "%s\n" "$DX_DOT" >&6; }
4321else
4322  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4323printf "%s\n" "no" >&6; }
4324fi
4325
4326
4327fi
4328if test -z "$ac_cv_path_DX_DOT"; then
4329  ac_pt_DX_DOT=$DX_DOT
4330  # Extract the first word of "dot", so it can be a program name with args.
4331set dummy dot; ac_word=$2
4332{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4333printf %s "checking for $ac_word... " >&6; }
4334if test ${ac_cv_path_ac_pt_DX_DOT+y}
4335then :
4336  printf %s "(cached) " >&6
4337else $as_nop
4338  case $ac_pt_DX_DOT in
4339  [\\/]* | ?:[\\/]*)
4340  ac_cv_path_ac_pt_DX_DOT="$ac_pt_DX_DOT" # Let the user override the test with a path.
4341  ;;
4342  *)
4343  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4344for as_dir in $PATH
4345do
4346  IFS=$as_save_IFS
4347  case $as_dir in #(((
4348    '') as_dir=./ ;;
4349    */) ;;
4350    *) as_dir=$as_dir/ ;;
4351  esac
4352    for ac_exec_ext in '' $ac_executable_extensions; do
4353  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4354    ac_cv_path_ac_pt_DX_DOT="$as_dir$ac_word$ac_exec_ext"
4355    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4356    break 2
4357  fi
4358done
4359  done
4360IFS=$as_save_IFS
4361
4362  ;;
4363esac
4364fi
4365ac_pt_DX_DOT=$ac_cv_path_ac_pt_DX_DOT
4366if test -n "$ac_pt_DX_DOT"; then
4367  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOT" >&5
4368printf "%s\n" "$ac_pt_DX_DOT" >&6; }
4369else
4370  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4371printf "%s\n" "no" >&6; }
4372fi
4373
4374  if test "x$ac_pt_DX_DOT" = x; then
4375    DX_DOT=""
4376  else
4377    case $cross_compiling:$ac_tool_warned in
4378yes:)
4379{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4380printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4381ac_tool_warned=yes ;;
4382esac
4383    DX_DOT=$ac_pt_DX_DOT
4384  fi
4385else
4386  DX_DOT="$ac_cv_path_DX_DOT"
4387fi
4388
4389if test "$DX_FLAG_dot$DX_DOT" = 1; then
4390    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: dot not found - will not generate graphics for doxygen documentation" >&5
4391printf "%s\n" "$as_me: WARNING: dot not found - will not generate graphics for doxygen documentation" >&2;}
4392    DX_FLAG_dot=0
4393
4394fi
4395
4396    :
4397fi
4398if test "$DX_FLAG_dot" = 1; then
4399     if :; then
4400  DX_COND_dot_TRUE=
4401  DX_COND_dot_FALSE='#'
4402else
4403  DX_COND_dot_TRUE='#'
4404  DX_COND_dot_FALSE=
4405fi
4406
4407    DX_ENV="$DX_ENV HAVE_DOT='YES'"
4408
4409             DX_ENV="$DX_ENV DOT_PATH='`expr ".$DX_DOT" : '\(\.\)[^/]*$' \| "x$DX_DOT" : 'x\(.*\)/[^/]*$'`'"
4410
4411    :
4412else
4413     if false; then
4414  DX_COND_dot_TRUE=
4415  DX_COND_dot_FALSE='#'
4416else
4417  DX_COND_dot_TRUE='#'
4418  DX_COND_dot_FALSE=
4419fi
4420
4421    DX_ENV="$DX_ENV HAVE_DOT='NO'"
4422
4423    :
4424fi
4425
4426
4427# Man pages generation:
4428
4429
4430
4431    # Check whether --enable-doxygen-man was given.
4432if test ${enable_doxygen_man+y}
4433then :
4434  enableval=$enable_doxygen_man;
4435case "$enableval" in
4436#(
4437y|Y|yes|Yes|YES)
4438    DX_FLAG_man=1
4439
4440
4441test "$DX_FLAG_doc" = "1" \
4442|| as_fn_error $? "doxygen-man requires doxygen-man" "$LINENO" 5
4443
4444;; #(
4445n|N|no|No|NO)
4446    DX_FLAG_man=0
4447
4448;; #(
4449*)
4450    as_fn_error $? "invalid value '$enableval' given to doxygen-man" "$LINENO" 5
4451;;
4452esac
4453
4454else $as_nop
4455
4456DX_FLAG_man=0
4457
4458
4459test "$DX_FLAG_doc" = "1" || DX_FLAG_man=0
4460
4461
4462
4463fi
4464
4465if test "$DX_FLAG_man" = 1; then
4466
4467    :
4468fi
4469if test "$DX_FLAG_man" = 1; then
4470     if :; then
4471  DX_COND_man_TRUE=
4472  DX_COND_man_FALSE='#'
4473else
4474  DX_COND_man_TRUE='#'
4475  DX_COND_man_FALSE=
4476fi
4477
4478    DX_ENV="$DX_ENV GENERATE_MAN='YES'"
4479
4480    :
4481else
4482     if false; then
4483  DX_COND_man_TRUE=
4484  DX_COND_man_FALSE='#'
4485else
4486  DX_COND_man_TRUE='#'
4487  DX_COND_man_FALSE=
4488fi
4489
4490    DX_ENV="$DX_ENV GENERATE_MAN='NO'"
4491
4492    :
4493fi
4494
4495
4496# RTF file generation:
4497
4498
4499
4500    # Check whether --enable-doxygen-rtf was given.
4501if test ${enable_doxygen_rtf+y}
4502then :
4503  enableval=$enable_doxygen_rtf;
4504case "$enableval" in
4505#(
4506y|Y|yes|Yes|YES)
4507    DX_FLAG_rtf=1
4508
4509
4510test "$DX_FLAG_doc" = "1" \
4511|| as_fn_error $? "doxygen-rtf requires doxygen-rtf" "$LINENO" 5
4512
4513;; #(
4514n|N|no|No|NO)
4515    DX_FLAG_rtf=0
4516
4517;; #(
4518*)
4519    as_fn_error $? "invalid value '$enableval' given to doxygen-rtf" "$LINENO" 5
4520;;
4521esac
4522
4523else $as_nop
4524
4525DX_FLAG_rtf=0
4526
4527
4528test "$DX_FLAG_doc" = "1" || DX_FLAG_rtf=0
4529
4530
4531
4532fi
4533
4534if test "$DX_FLAG_rtf" = 1; then
4535
4536    :
4537fi
4538if test "$DX_FLAG_rtf" = 1; then
4539     if :; then
4540  DX_COND_rtf_TRUE=
4541  DX_COND_rtf_FALSE='#'
4542else
4543  DX_COND_rtf_TRUE='#'
4544  DX_COND_rtf_FALSE=
4545fi
4546
4547    DX_ENV="$DX_ENV GENERATE_RTF='YES'"
4548
4549    :
4550else
4551     if false; then
4552  DX_COND_rtf_TRUE=
4553  DX_COND_rtf_FALSE='#'
4554else
4555  DX_COND_rtf_TRUE='#'
4556  DX_COND_rtf_FALSE=
4557fi
4558
4559    DX_ENV="$DX_ENV GENERATE_RTF='NO'"
4560
4561    :
4562fi
4563
4564
4565# XML file generation:
4566
4567
4568
4569    # Check whether --enable-doxygen-xml was given.
4570if test ${enable_doxygen_xml+y}
4571then :
4572  enableval=$enable_doxygen_xml;
4573case "$enableval" in
4574#(
4575y|Y|yes|Yes|YES)
4576    DX_FLAG_xml=1
4577
4578
4579test "$DX_FLAG_doc" = "1" \
4580|| as_fn_error $? "doxygen-xml requires doxygen-xml" "$LINENO" 5
4581
4582;; #(
4583n|N|no|No|NO)
4584    DX_FLAG_xml=0
4585
4586;; #(
4587*)
4588    as_fn_error $? "invalid value '$enableval' given to doxygen-xml" "$LINENO" 5
4589;;
4590esac
4591
4592else $as_nop
4593
4594DX_FLAG_xml=0
4595
4596
4597test "$DX_FLAG_doc" = "1" || DX_FLAG_xml=0
4598
4599
4600
4601fi
4602
4603if test "$DX_FLAG_xml" = 1; then
4604
4605    :
4606fi
4607if test "$DX_FLAG_xml" = 1; then
4608     if :; then
4609  DX_COND_xml_TRUE=
4610  DX_COND_xml_FALSE='#'
4611else
4612  DX_COND_xml_TRUE='#'
4613  DX_COND_xml_FALSE=
4614fi
4615
4616    DX_ENV="$DX_ENV GENERATE_XML='YES'"
4617
4618    :
4619else
4620     if false; then
4621  DX_COND_xml_TRUE=
4622  DX_COND_xml_FALSE='#'
4623else
4624  DX_COND_xml_TRUE='#'
4625  DX_COND_xml_FALSE=
4626fi
4627
4628    DX_ENV="$DX_ENV GENERATE_XML='NO'"
4629
4630    :
4631fi
4632
4633
4634# (Compressed) HTML help generation:
4635
4636
4637
4638    # Check whether --enable-doxygen-chm was given.
4639if test ${enable_doxygen_chm+y}
4640then :
4641  enableval=$enable_doxygen_chm;
4642case "$enableval" in
4643#(
4644y|Y|yes|Yes|YES)
4645    DX_FLAG_chm=1
4646
4647
4648test "$DX_FLAG_doc" = "1" \
4649|| as_fn_error $? "doxygen-chm requires doxygen-chm" "$LINENO" 5
4650
4651;; #(
4652n|N|no|No|NO)
4653    DX_FLAG_chm=0
4654
4655;; #(
4656*)
4657    as_fn_error $? "invalid value '$enableval' given to doxygen-chm" "$LINENO" 5
4658;;
4659esac
4660
4661else $as_nop
4662
4663DX_FLAG_chm=0
4664
4665
4666test "$DX_FLAG_doc" = "1" || DX_FLAG_chm=0
4667
4668
4669
4670fi
4671
4672if test "$DX_FLAG_chm" = 1; then
4673
4674if test -n "$ac_tool_prefix"; then
4675  # Extract the first word of "${ac_tool_prefix}hhc", so it can be a program name with args.
4676set dummy ${ac_tool_prefix}hhc; ac_word=$2
4677{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4678printf %s "checking for $ac_word... " >&6; }
4679if test ${ac_cv_path_DX_HHC+y}
4680then :
4681  printf %s "(cached) " >&6
4682else $as_nop
4683  case $DX_HHC in
4684  [\\/]* | ?:[\\/]*)
4685  ac_cv_path_DX_HHC="$DX_HHC" # Let the user override the test with a path.
4686  ;;
4687  *)
4688  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4689for as_dir in $PATH
4690do
4691  IFS=$as_save_IFS
4692  case $as_dir in #(((
4693    '') as_dir=./ ;;
4694    */) ;;
4695    *) as_dir=$as_dir/ ;;
4696  esac
4697    for ac_exec_ext in '' $ac_executable_extensions; do
4698  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4699    ac_cv_path_DX_HHC="$as_dir$ac_word$ac_exec_ext"
4700    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4701    break 2
4702  fi
4703done
4704  done
4705IFS=$as_save_IFS
4706
4707  ;;
4708esac
4709fi
4710DX_HHC=$ac_cv_path_DX_HHC
4711if test -n "$DX_HHC"; then
4712  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DX_HHC" >&5
4713printf "%s\n" "$DX_HHC" >&6; }
4714else
4715  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4716printf "%s\n" "no" >&6; }
4717fi
4718
4719
4720fi
4721if test -z "$ac_cv_path_DX_HHC"; then
4722  ac_pt_DX_HHC=$DX_HHC
4723  # Extract the first word of "hhc", so it can be a program name with args.
4724set dummy hhc; ac_word=$2
4725{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4726printf %s "checking for $ac_word... " >&6; }
4727if test ${ac_cv_path_ac_pt_DX_HHC+y}
4728then :
4729  printf %s "(cached) " >&6
4730else $as_nop
4731  case $ac_pt_DX_HHC in
4732  [\\/]* | ?:[\\/]*)
4733  ac_cv_path_ac_pt_DX_HHC="$ac_pt_DX_HHC" # Let the user override the test with a path.
4734  ;;
4735  *)
4736  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4737for as_dir in $PATH
4738do
4739  IFS=$as_save_IFS
4740  case $as_dir in #(((
4741    '') as_dir=./ ;;
4742    */) ;;
4743    *) as_dir=$as_dir/ ;;
4744  esac
4745    for ac_exec_ext in '' $ac_executable_extensions; do
4746  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4747    ac_cv_path_ac_pt_DX_HHC="$as_dir$ac_word$ac_exec_ext"
4748    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4749    break 2
4750  fi
4751done
4752  done
4753IFS=$as_save_IFS
4754
4755  ;;
4756esac
4757fi
4758ac_pt_DX_HHC=$ac_cv_path_ac_pt_DX_HHC
4759if test -n "$ac_pt_DX_HHC"; then
4760  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_HHC" >&5
4761printf "%s\n" "$ac_pt_DX_HHC" >&6; }
4762else
4763  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4764printf "%s\n" "no" >&6; }
4765fi
4766
4767  if test "x$ac_pt_DX_HHC" = x; then
4768    DX_HHC=""
4769  else
4770    case $cross_compiling:$ac_tool_warned in
4771yes:)
4772{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4773printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4774ac_tool_warned=yes ;;
4775esac
4776    DX_HHC=$ac_pt_DX_HHC
4777  fi
4778else
4779  DX_HHC="$ac_cv_path_DX_HHC"
4780fi
4781
4782if test "$DX_FLAG_chm$DX_HHC" = 1; then
4783    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&5
4784printf "%s\n" "$as_me: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&2;}
4785    DX_FLAG_chm=0
4786
4787fi
4788
4789    :
4790fi
4791if test "$DX_FLAG_chm" = 1; then
4792     if :; then
4793  DX_COND_chm_TRUE=
4794  DX_COND_chm_FALSE='#'
4795else
4796  DX_COND_chm_TRUE='#'
4797  DX_COND_chm_FALSE=
4798fi
4799
4800    DX_ENV="$DX_ENV HHC_PATH='$DX_HHC'"
4801
4802             DX_ENV="$DX_ENV GENERATE_HTML='YES'"
4803
4804             DX_ENV="$DX_ENV GENERATE_HTMLHELP='YES'"
4805
4806    :
4807else
4808     if false; then
4809  DX_COND_chm_TRUE=
4810  DX_COND_chm_FALSE='#'
4811else
4812  DX_COND_chm_TRUE='#'
4813  DX_COND_chm_FALSE=
4814fi
4815
4816    DX_ENV="$DX_ENV GENERATE_HTMLHELP='NO'"
4817
4818    :
4819fi
4820
4821
4822# Seperate CHI file generation.
4823
4824
4825
4826    # Check whether --enable-doxygen-chi was given.
4827if test ${enable_doxygen_chi+y}
4828then :
4829  enableval=$enable_doxygen_chi;
4830case "$enableval" in
4831#(
4832y|Y|yes|Yes|YES)
4833    DX_FLAG_chi=1
4834
4835
4836test "$DX_FLAG_chm" = "1" \
4837|| as_fn_error $? "doxygen-chi requires doxygen-chi" "$LINENO" 5
4838
4839;; #(
4840n|N|no|No|NO)
4841    DX_FLAG_chi=0
4842
4843;; #(
4844*)
4845    as_fn_error $? "invalid value '$enableval' given to doxygen-chi" "$LINENO" 5
4846;;
4847esac
4848
4849else $as_nop
4850
4851DX_FLAG_chi=0
4852
4853
4854test "$DX_FLAG_chm" = "1" || DX_FLAG_chi=0
4855
4856
4857
4858fi
4859
4860if test "$DX_FLAG_chi" = 1; then
4861
4862    :
4863fi
4864if test "$DX_FLAG_chi" = 1; then
4865     if :; then
4866  DX_COND_chi_TRUE=
4867  DX_COND_chi_FALSE='#'
4868else
4869  DX_COND_chi_TRUE='#'
4870  DX_COND_chi_FALSE=
4871fi
4872
4873    DX_ENV="$DX_ENV GENERATE_CHI='YES'"
4874
4875    :
4876else
4877     if false; then
4878  DX_COND_chi_TRUE=
4879  DX_COND_chi_FALSE='#'
4880else
4881  DX_COND_chi_TRUE='#'
4882  DX_COND_chi_FALSE=
4883fi
4884
4885    DX_ENV="$DX_ENV GENERATE_CHI='NO'"
4886
4887    :
4888fi
4889
4890
4891# Plain HTML pages generation:
4892
4893
4894
4895    # Check whether --enable-doxygen-html was given.
4896if test ${enable_doxygen_html+y}
4897then :
4898  enableval=$enable_doxygen_html;
4899case "$enableval" in
4900#(
4901y|Y|yes|Yes|YES)
4902    DX_FLAG_html=1
4903
4904
4905test "$DX_FLAG_doc" = "1" \
4906|| as_fn_error $? "doxygen-html requires doxygen-html" "$LINENO" 5
4907
4908test "$DX_FLAG_chm" = "0" \
4909|| as_fn_error $? "doxygen-html contradicts doxygen-html" "$LINENO" 5
4910
4911;; #(
4912n|N|no|No|NO)
4913    DX_FLAG_html=0
4914
4915;; #(
4916*)
4917    as_fn_error $? "invalid value '$enableval' given to doxygen-html" "$LINENO" 5
4918;;
4919esac
4920
4921else $as_nop
4922
4923DX_FLAG_html=1
4924
4925
4926test "$DX_FLAG_doc" = "1" || DX_FLAG_html=0
4927
4928
4929test "$DX_FLAG_chm" = "0" || DX_FLAG_html=0
4930
4931
4932
4933fi
4934
4935if test "$DX_FLAG_html" = 1; then
4936
4937    :
4938fi
4939if test "$DX_FLAG_html" = 1; then
4940     if :; then
4941  DX_COND_html_TRUE=
4942  DX_COND_html_FALSE='#'
4943else
4944  DX_COND_html_TRUE='#'
4945  DX_COND_html_FALSE=
4946fi
4947
4948    DX_ENV="$DX_ENV GENERATE_HTML='YES'"
4949
4950    :
4951else
4952     if false; then
4953  DX_COND_html_TRUE=
4954  DX_COND_html_FALSE='#'
4955else
4956  DX_COND_html_TRUE='#'
4957  DX_COND_html_FALSE=
4958fi
4959
4960    test "$DX_FLAG_chm" = 1 || DX_ENV="$DX_ENV GENERATE_HTML='NO'"
4961
4962    :
4963fi
4964
4965
4966# PostScript file generation:
4967
4968
4969
4970    # Check whether --enable-doxygen-ps was given.
4971if test ${enable_doxygen_ps+y}
4972then :
4973  enableval=$enable_doxygen_ps;
4974case "$enableval" in
4975#(
4976y|Y|yes|Yes|YES)
4977    DX_FLAG_ps=1
4978
4979
4980test "$DX_FLAG_doc" = "1" \
4981|| as_fn_error $? "doxygen-ps requires doxygen-ps" "$LINENO" 5
4982
4983;; #(
4984n|N|no|No|NO)
4985    DX_FLAG_ps=0
4986
4987;; #(
4988*)
4989    as_fn_error $? "invalid value '$enableval' given to doxygen-ps" "$LINENO" 5
4990;;
4991esac
4992
4993else $as_nop
4994
4995DX_FLAG_ps=0
4996
4997
4998test "$DX_FLAG_doc" = "1" || DX_FLAG_ps=0
4999
5000
5001
5002fi
5003
5004if test "$DX_FLAG_ps" = 1; then
5005
5006if test -n "$ac_tool_prefix"; then
5007  # Extract the first word of "${ac_tool_prefix}latex", so it can be a program name with args.
5008set dummy ${ac_tool_prefix}latex; ac_word=$2
5009{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5010printf %s "checking for $ac_word... " >&6; }
5011if test ${ac_cv_path_DX_LATEX+y}
5012then :
5013  printf %s "(cached) " >&6
5014else $as_nop
5015  case $DX_LATEX in
5016  [\\/]* | ?:[\\/]*)
5017  ac_cv_path_DX_LATEX="$DX_LATEX" # Let the user override the test with a path.
5018  ;;
5019  *)
5020  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5021for as_dir in $PATH
5022do
5023  IFS=$as_save_IFS
5024  case $as_dir in #(((
5025    '') as_dir=./ ;;
5026    */) ;;
5027    *) as_dir=$as_dir/ ;;
5028  esac
5029    for ac_exec_ext in '' $ac_executable_extensions; do
5030  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5031    ac_cv_path_DX_LATEX="$as_dir$ac_word$ac_exec_ext"
5032    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5033    break 2
5034  fi
5035done
5036  done
5037IFS=$as_save_IFS
5038
5039  ;;
5040esac
5041fi
5042DX_LATEX=$ac_cv_path_DX_LATEX
5043if test -n "$DX_LATEX"; then
5044  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DX_LATEX" >&5
5045printf "%s\n" "$DX_LATEX" >&6; }
5046else
5047  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5048printf "%s\n" "no" >&6; }
5049fi
5050
5051
5052fi
5053if test -z "$ac_cv_path_DX_LATEX"; then
5054  ac_pt_DX_LATEX=$DX_LATEX
5055  # Extract the first word of "latex", so it can be a program name with args.
5056set dummy latex; ac_word=$2
5057{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5058printf %s "checking for $ac_word... " >&6; }
5059if test ${ac_cv_path_ac_pt_DX_LATEX+y}
5060then :
5061  printf %s "(cached) " >&6
5062else $as_nop
5063  case $ac_pt_DX_LATEX in
5064  [\\/]* | ?:[\\/]*)
5065  ac_cv_path_ac_pt_DX_LATEX="$ac_pt_DX_LATEX" # Let the user override the test with a path.
5066  ;;
5067  *)
5068  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5069for as_dir in $PATH
5070do
5071  IFS=$as_save_IFS
5072  case $as_dir in #(((
5073    '') as_dir=./ ;;
5074    */) ;;
5075    *) as_dir=$as_dir/ ;;
5076  esac
5077    for ac_exec_ext in '' $ac_executable_extensions; do
5078  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5079    ac_cv_path_ac_pt_DX_LATEX="$as_dir$ac_word$ac_exec_ext"
5080    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5081    break 2
5082  fi
5083done
5084  done
5085IFS=$as_save_IFS
5086
5087  ;;
5088esac
5089fi
5090ac_pt_DX_LATEX=$ac_cv_path_ac_pt_DX_LATEX
5091if test -n "$ac_pt_DX_LATEX"; then
5092  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_LATEX" >&5
5093printf "%s\n" "$ac_pt_DX_LATEX" >&6; }
5094else
5095  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5096printf "%s\n" "no" >&6; }
5097fi
5098
5099  if test "x$ac_pt_DX_LATEX" = x; then
5100    DX_LATEX=""
5101  else
5102    case $cross_compiling:$ac_tool_warned in
5103yes:)
5104{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5105printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5106ac_tool_warned=yes ;;
5107esac
5108    DX_LATEX=$ac_pt_DX_LATEX
5109  fi
5110else
5111  DX_LATEX="$ac_cv_path_DX_LATEX"
5112fi
5113
5114if test "$DX_FLAG_ps$DX_LATEX" = 1; then
5115    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: latex not found - will not generate doxygen PostScript documentation" >&5
5116printf "%s\n" "$as_me: WARNING: latex not found - will not generate doxygen PostScript documentation" >&2;}
5117    DX_FLAG_ps=0
5118
5119fi
5120
5121
5122if test -n "$ac_tool_prefix"; then
5123  # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
5124set dummy ${ac_tool_prefix}makeindex; ac_word=$2
5125{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5126printf %s "checking for $ac_word... " >&6; }
5127if test ${ac_cv_path_DX_MAKEINDEX+y}
5128then :
5129  printf %s "(cached) " >&6
5130else $as_nop
5131  case $DX_MAKEINDEX in
5132  [\\/]* | ?:[\\/]*)
5133  ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
5134  ;;
5135  *)
5136  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5137for as_dir in $PATH
5138do
5139  IFS=$as_save_IFS
5140  case $as_dir in #(((
5141    '') as_dir=./ ;;
5142    */) ;;
5143    *) as_dir=$as_dir/ ;;
5144  esac
5145    for ac_exec_ext in '' $ac_executable_extensions; do
5146  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5147    ac_cv_path_DX_MAKEINDEX="$as_dir$ac_word$ac_exec_ext"
5148    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5149    break 2
5150  fi
5151done
5152  done
5153IFS=$as_save_IFS
5154
5155  ;;
5156esac
5157fi
5158DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
5159if test -n "$DX_MAKEINDEX"; then
5160  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
5161printf "%s\n" "$DX_MAKEINDEX" >&6; }
5162else
5163  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5164printf "%s\n" "no" >&6; }
5165fi
5166
5167
5168fi
5169if test -z "$ac_cv_path_DX_MAKEINDEX"; then
5170  ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
5171  # Extract the first word of "makeindex", so it can be a program name with args.
5172set dummy makeindex; ac_word=$2
5173{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5174printf %s "checking for $ac_word... " >&6; }
5175if test ${ac_cv_path_ac_pt_DX_MAKEINDEX+y}
5176then :
5177  printf %s "(cached) " >&6
5178else $as_nop
5179  case $ac_pt_DX_MAKEINDEX in
5180  [\\/]* | ?:[\\/]*)
5181  ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
5182  ;;
5183  *)
5184  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5185for as_dir in $PATH
5186do
5187  IFS=$as_save_IFS
5188  case $as_dir in #(((
5189    '') as_dir=./ ;;
5190    */) ;;
5191    *) as_dir=$as_dir/ ;;
5192  esac
5193    for ac_exec_ext in '' $ac_executable_extensions; do
5194  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5195    ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir$ac_word$ac_exec_ext"
5196    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5197    break 2
5198  fi
5199done
5200  done
5201IFS=$as_save_IFS
5202
5203  ;;
5204esac
5205fi
5206ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
5207if test -n "$ac_pt_DX_MAKEINDEX"; then
5208  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
5209printf "%s\n" "$ac_pt_DX_MAKEINDEX" >&6; }
5210else
5211  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5212printf "%s\n" "no" >&6; }
5213fi
5214
5215  if test "x$ac_pt_DX_MAKEINDEX" = x; then
5216    DX_MAKEINDEX=""
5217  else
5218    case $cross_compiling:$ac_tool_warned in
5219yes:)
5220{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5221printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5222ac_tool_warned=yes ;;
5223esac
5224    DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
5225  fi
5226else
5227  DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
5228fi
5229
5230if test "$DX_FLAG_ps$DX_MAKEINDEX" = 1; then
5231    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&5
5232printf "%s\n" "$as_me: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&2;}
5233    DX_FLAG_ps=0
5234
5235fi
5236
5237
5238if test -n "$ac_tool_prefix"; then
5239  # Extract the first word of "${ac_tool_prefix}dvips", so it can be a program name with args.
5240set dummy ${ac_tool_prefix}dvips; ac_word=$2
5241{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5242printf %s "checking for $ac_word... " >&6; }
5243if test ${ac_cv_path_DX_DVIPS+y}
5244then :
5245  printf %s "(cached) " >&6
5246else $as_nop
5247  case $DX_DVIPS in
5248  [\\/]* | ?:[\\/]*)
5249  ac_cv_path_DX_DVIPS="$DX_DVIPS" # Let the user override the test with a path.
5250  ;;
5251  *)
5252  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5253for as_dir in $PATH
5254do
5255  IFS=$as_save_IFS
5256  case $as_dir in #(((
5257    '') as_dir=./ ;;
5258    */) ;;
5259    *) as_dir=$as_dir/ ;;
5260  esac
5261    for ac_exec_ext in '' $ac_executable_extensions; do
5262  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5263    ac_cv_path_DX_DVIPS="$as_dir$ac_word$ac_exec_ext"
5264    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5265    break 2
5266  fi
5267done
5268  done
5269IFS=$as_save_IFS
5270
5271  ;;
5272esac
5273fi
5274DX_DVIPS=$ac_cv_path_DX_DVIPS
5275if test -n "$DX_DVIPS"; then
5276  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DX_DVIPS" >&5
5277printf "%s\n" "$DX_DVIPS" >&6; }
5278else
5279  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5280printf "%s\n" "no" >&6; }
5281fi
5282
5283
5284fi
5285if test -z "$ac_cv_path_DX_DVIPS"; then
5286  ac_pt_DX_DVIPS=$DX_DVIPS
5287  # Extract the first word of "dvips", so it can be a program name with args.
5288set dummy dvips; ac_word=$2
5289{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5290printf %s "checking for $ac_word... " >&6; }
5291if test ${ac_cv_path_ac_pt_DX_DVIPS+y}
5292then :
5293  printf %s "(cached) " >&6
5294else $as_nop
5295  case $ac_pt_DX_DVIPS in
5296  [\\/]* | ?:[\\/]*)
5297  ac_cv_path_ac_pt_DX_DVIPS="$ac_pt_DX_DVIPS" # Let the user override the test with a path.
5298  ;;
5299  *)
5300  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5301for as_dir in $PATH
5302do
5303  IFS=$as_save_IFS
5304  case $as_dir in #(((
5305    '') as_dir=./ ;;
5306    */) ;;
5307    *) as_dir=$as_dir/ ;;
5308  esac
5309    for ac_exec_ext in '' $ac_executable_extensions; do
5310  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5311    ac_cv_path_ac_pt_DX_DVIPS="$as_dir$ac_word$ac_exec_ext"
5312    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5313    break 2
5314  fi
5315done
5316  done
5317IFS=$as_save_IFS
5318
5319  ;;
5320esac
5321fi
5322ac_pt_DX_DVIPS=$ac_cv_path_ac_pt_DX_DVIPS
5323if test -n "$ac_pt_DX_DVIPS"; then
5324  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DVIPS" >&5
5325printf "%s\n" "$ac_pt_DX_DVIPS" >&6; }
5326else
5327  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5328printf "%s\n" "no" >&6; }
5329fi
5330
5331  if test "x$ac_pt_DX_DVIPS" = x; then
5332    DX_DVIPS=""
5333  else
5334    case $cross_compiling:$ac_tool_warned in
5335yes:)
5336{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5337printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5338ac_tool_warned=yes ;;
5339esac
5340    DX_DVIPS=$ac_pt_DX_DVIPS
5341  fi
5342else
5343  DX_DVIPS="$ac_cv_path_DX_DVIPS"
5344fi
5345
5346if test "$DX_FLAG_ps$DX_DVIPS" = 1; then
5347    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&5
5348printf "%s\n" "$as_me: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&2;}
5349    DX_FLAG_ps=0
5350
5351fi
5352
5353
5354if test -n "$ac_tool_prefix"; then
5355  # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
5356set dummy ${ac_tool_prefix}egrep; ac_word=$2
5357{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5358printf %s "checking for $ac_word... " >&6; }
5359if test ${ac_cv_path_DX_EGREP+y}
5360then :
5361  printf %s "(cached) " >&6
5362else $as_nop
5363  case $DX_EGREP in
5364  [\\/]* | ?:[\\/]*)
5365  ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
5366  ;;
5367  *)
5368  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5369for as_dir in $PATH
5370do
5371  IFS=$as_save_IFS
5372  case $as_dir in #(((
5373    '') as_dir=./ ;;
5374    */) ;;
5375    *) as_dir=$as_dir/ ;;
5376  esac
5377    for ac_exec_ext in '' $ac_executable_extensions; do
5378  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5379    ac_cv_path_DX_EGREP="$as_dir$ac_word$ac_exec_ext"
5380    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5381    break 2
5382  fi
5383done
5384  done
5385IFS=$as_save_IFS
5386
5387  ;;
5388esac
5389fi
5390DX_EGREP=$ac_cv_path_DX_EGREP
5391if test -n "$DX_EGREP"; then
5392  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
5393printf "%s\n" "$DX_EGREP" >&6; }
5394else
5395  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5396printf "%s\n" "no" >&6; }
5397fi
5398
5399
5400fi
5401if test -z "$ac_cv_path_DX_EGREP"; then
5402  ac_pt_DX_EGREP=$DX_EGREP
5403  # Extract the first word of "egrep", so it can be a program name with args.
5404set dummy egrep; ac_word=$2
5405{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5406printf %s "checking for $ac_word... " >&6; }
5407if test ${ac_cv_path_ac_pt_DX_EGREP+y}
5408then :
5409  printf %s "(cached) " >&6
5410else $as_nop
5411  case $ac_pt_DX_EGREP in
5412  [\\/]* | ?:[\\/]*)
5413  ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
5414  ;;
5415  *)
5416  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5417for as_dir in $PATH
5418do
5419  IFS=$as_save_IFS
5420  case $as_dir in #(((
5421    '') as_dir=./ ;;
5422    */) ;;
5423    *) as_dir=$as_dir/ ;;
5424  esac
5425    for ac_exec_ext in '' $ac_executable_extensions; do
5426  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5427    ac_cv_path_ac_pt_DX_EGREP="$as_dir$ac_word$ac_exec_ext"
5428    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5429    break 2
5430  fi
5431done
5432  done
5433IFS=$as_save_IFS
5434
5435  ;;
5436esac
5437fi
5438ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
5439if test -n "$ac_pt_DX_EGREP"; then
5440  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
5441printf "%s\n" "$ac_pt_DX_EGREP" >&6; }
5442else
5443  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5444printf "%s\n" "no" >&6; }
5445fi
5446
5447  if test "x$ac_pt_DX_EGREP" = x; then
5448    DX_EGREP=""
5449  else
5450    case $cross_compiling:$ac_tool_warned in
5451yes:)
5452{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5453printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5454ac_tool_warned=yes ;;
5455esac
5456    DX_EGREP=$ac_pt_DX_EGREP
5457  fi
5458else
5459  DX_EGREP="$ac_cv_path_DX_EGREP"
5460fi
5461
5462if test "$DX_FLAG_ps$DX_EGREP" = 1; then
5463    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&5
5464printf "%s\n" "$as_me: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&2;}
5465    DX_FLAG_ps=0
5466
5467fi
5468
5469    :
5470fi
5471if test "$DX_FLAG_ps" = 1; then
5472     if :; then
5473  DX_COND_ps_TRUE=
5474  DX_COND_ps_FALSE='#'
5475else
5476  DX_COND_ps_TRUE='#'
5477  DX_COND_ps_FALSE=
5478fi
5479
5480
5481    :
5482else
5483     if false; then
5484  DX_COND_ps_TRUE=
5485  DX_COND_ps_FALSE='#'
5486else
5487  DX_COND_ps_TRUE='#'
5488  DX_COND_ps_FALSE=
5489fi
5490
5491
5492    :
5493fi
5494
5495
5496# PDF file generation:
5497
5498
5499
5500    # Check whether --enable-doxygen-pdf was given.
5501if test ${enable_doxygen_pdf+y}
5502then :
5503  enableval=$enable_doxygen_pdf;
5504case "$enableval" in
5505#(
5506y|Y|yes|Yes|YES)
5507    DX_FLAG_pdf=1
5508
5509
5510test "$DX_FLAG_doc" = "1" \
5511|| as_fn_error $? "doxygen-pdf requires doxygen-pdf" "$LINENO" 5
5512
5513;; #(
5514n|N|no|No|NO)
5515    DX_FLAG_pdf=0
5516
5517;; #(
5518*)
5519    as_fn_error $? "invalid value '$enableval' given to doxygen-pdf" "$LINENO" 5
5520;;
5521esac
5522
5523else $as_nop
5524
5525DX_FLAG_pdf=0
5526
5527
5528test "$DX_FLAG_doc" = "1" || DX_FLAG_pdf=0
5529
5530
5531
5532fi
5533
5534if test "$DX_FLAG_pdf" = 1; then
5535
5536if test -n "$ac_tool_prefix"; then
5537  # Extract the first word of "${ac_tool_prefix}pdflatex", so it can be a program name with args.
5538set dummy ${ac_tool_prefix}pdflatex; ac_word=$2
5539{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5540printf %s "checking for $ac_word... " >&6; }
5541if test ${ac_cv_path_DX_PDFLATEX+y}
5542then :
5543  printf %s "(cached) " >&6
5544else $as_nop
5545  case $DX_PDFLATEX in
5546  [\\/]* | ?:[\\/]*)
5547  ac_cv_path_DX_PDFLATEX="$DX_PDFLATEX" # Let the user override the test with a path.
5548  ;;
5549  *)
5550  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5551for as_dir in $PATH
5552do
5553  IFS=$as_save_IFS
5554  case $as_dir in #(((
5555    '') as_dir=./ ;;
5556    */) ;;
5557    *) as_dir=$as_dir/ ;;
5558  esac
5559    for ac_exec_ext in '' $ac_executable_extensions; do
5560  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5561    ac_cv_path_DX_PDFLATEX="$as_dir$ac_word$ac_exec_ext"
5562    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5563    break 2
5564  fi
5565done
5566  done
5567IFS=$as_save_IFS
5568
5569  ;;
5570esac
5571fi
5572DX_PDFLATEX=$ac_cv_path_DX_PDFLATEX
5573if test -n "$DX_PDFLATEX"; then
5574  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DX_PDFLATEX" >&5
5575printf "%s\n" "$DX_PDFLATEX" >&6; }
5576else
5577  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5578printf "%s\n" "no" >&6; }
5579fi
5580
5581
5582fi
5583if test -z "$ac_cv_path_DX_PDFLATEX"; then
5584  ac_pt_DX_PDFLATEX=$DX_PDFLATEX
5585  # Extract the first word of "pdflatex", so it can be a program name with args.
5586set dummy pdflatex; ac_word=$2
5587{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5588printf %s "checking for $ac_word... " >&6; }
5589if test ${ac_cv_path_ac_pt_DX_PDFLATEX+y}
5590then :
5591  printf %s "(cached) " >&6
5592else $as_nop
5593  case $ac_pt_DX_PDFLATEX in
5594  [\\/]* | ?:[\\/]*)
5595  ac_cv_path_ac_pt_DX_PDFLATEX="$ac_pt_DX_PDFLATEX" # Let the user override the test with a path.
5596  ;;
5597  *)
5598  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5599for as_dir in $PATH
5600do
5601  IFS=$as_save_IFS
5602  case $as_dir in #(((
5603    '') as_dir=./ ;;
5604    */) ;;
5605    *) as_dir=$as_dir/ ;;
5606  esac
5607    for ac_exec_ext in '' $ac_executable_extensions; do
5608  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5609    ac_cv_path_ac_pt_DX_PDFLATEX="$as_dir$ac_word$ac_exec_ext"
5610    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5611    break 2
5612  fi
5613done
5614  done
5615IFS=$as_save_IFS
5616
5617  ;;
5618esac
5619fi
5620ac_pt_DX_PDFLATEX=$ac_cv_path_ac_pt_DX_PDFLATEX
5621if test -n "$ac_pt_DX_PDFLATEX"; then
5622  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PDFLATEX" >&5
5623printf "%s\n" "$ac_pt_DX_PDFLATEX" >&6; }
5624else
5625  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5626printf "%s\n" "no" >&6; }
5627fi
5628
5629  if test "x$ac_pt_DX_PDFLATEX" = x; then
5630    DX_PDFLATEX=""
5631  else
5632    case $cross_compiling:$ac_tool_warned in
5633yes:)
5634{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5635printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5636ac_tool_warned=yes ;;
5637esac
5638    DX_PDFLATEX=$ac_pt_DX_PDFLATEX
5639  fi
5640else
5641  DX_PDFLATEX="$ac_cv_path_DX_PDFLATEX"
5642fi
5643
5644if test "$DX_FLAG_pdf$DX_PDFLATEX" = 1; then
5645    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&5
5646printf "%s\n" "$as_me: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&2;}
5647    DX_FLAG_pdf=0
5648
5649fi
5650
5651
5652if test -n "$ac_tool_prefix"; then
5653  # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
5654set dummy ${ac_tool_prefix}makeindex; ac_word=$2
5655{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5656printf %s "checking for $ac_word... " >&6; }
5657if test ${ac_cv_path_DX_MAKEINDEX+y}
5658then :
5659  printf %s "(cached) " >&6
5660else $as_nop
5661  case $DX_MAKEINDEX in
5662  [\\/]* | ?:[\\/]*)
5663  ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
5664  ;;
5665  *)
5666  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5667for as_dir in $PATH
5668do
5669  IFS=$as_save_IFS
5670  case $as_dir in #(((
5671    '') as_dir=./ ;;
5672    */) ;;
5673    *) as_dir=$as_dir/ ;;
5674  esac
5675    for ac_exec_ext in '' $ac_executable_extensions; do
5676  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5677    ac_cv_path_DX_MAKEINDEX="$as_dir$ac_word$ac_exec_ext"
5678    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5679    break 2
5680  fi
5681done
5682  done
5683IFS=$as_save_IFS
5684
5685  ;;
5686esac
5687fi
5688DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
5689if test -n "$DX_MAKEINDEX"; then
5690  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
5691printf "%s\n" "$DX_MAKEINDEX" >&6; }
5692else
5693  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5694printf "%s\n" "no" >&6; }
5695fi
5696
5697
5698fi
5699if test -z "$ac_cv_path_DX_MAKEINDEX"; then
5700  ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
5701  # Extract the first word of "makeindex", so it can be a program name with args.
5702set dummy makeindex; ac_word=$2
5703{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5704printf %s "checking for $ac_word... " >&6; }
5705if test ${ac_cv_path_ac_pt_DX_MAKEINDEX+y}
5706then :
5707  printf %s "(cached) " >&6
5708else $as_nop
5709  case $ac_pt_DX_MAKEINDEX in
5710  [\\/]* | ?:[\\/]*)
5711  ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
5712  ;;
5713  *)
5714  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5715for as_dir in $PATH
5716do
5717  IFS=$as_save_IFS
5718  case $as_dir in #(((
5719    '') as_dir=./ ;;
5720    */) ;;
5721    *) as_dir=$as_dir/ ;;
5722  esac
5723    for ac_exec_ext in '' $ac_executable_extensions; do
5724  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5725    ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir$ac_word$ac_exec_ext"
5726    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5727    break 2
5728  fi
5729done
5730  done
5731IFS=$as_save_IFS
5732
5733  ;;
5734esac
5735fi
5736ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
5737if test -n "$ac_pt_DX_MAKEINDEX"; then
5738  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
5739printf "%s\n" "$ac_pt_DX_MAKEINDEX" >&6; }
5740else
5741  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5742printf "%s\n" "no" >&6; }
5743fi
5744
5745  if test "x$ac_pt_DX_MAKEINDEX" = x; then
5746    DX_MAKEINDEX=""
5747  else
5748    case $cross_compiling:$ac_tool_warned in
5749yes:)
5750{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5751printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5752ac_tool_warned=yes ;;
5753esac
5754    DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
5755  fi
5756else
5757  DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
5758fi
5759
5760if test "$DX_FLAG_pdf$DX_MAKEINDEX" = 1; then
5761    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&5
5762printf "%s\n" "$as_me: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&2;}
5763    DX_FLAG_pdf=0
5764
5765fi
5766
5767
5768if test -n "$ac_tool_prefix"; then
5769  # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
5770set dummy ${ac_tool_prefix}egrep; ac_word=$2
5771{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5772printf %s "checking for $ac_word... " >&6; }
5773if test ${ac_cv_path_DX_EGREP+y}
5774then :
5775  printf %s "(cached) " >&6
5776else $as_nop
5777  case $DX_EGREP in
5778  [\\/]* | ?:[\\/]*)
5779  ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
5780  ;;
5781  *)
5782  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5783for as_dir in $PATH
5784do
5785  IFS=$as_save_IFS
5786  case $as_dir in #(((
5787    '') as_dir=./ ;;
5788    */) ;;
5789    *) as_dir=$as_dir/ ;;
5790  esac
5791    for ac_exec_ext in '' $ac_executable_extensions; do
5792  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5793    ac_cv_path_DX_EGREP="$as_dir$ac_word$ac_exec_ext"
5794    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5795    break 2
5796  fi
5797done
5798  done
5799IFS=$as_save_IFS
5800
5801  ;;
5802esac
5803fi
5804DX_EGREP=$ac_cv_path_DX_EGREP
5805if test -n "$DX_EGREP"; then
5806  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
5807printf "%s\n" "$DX_EGREP" >&6; }
5808else
5809  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5810printf "%s\n" "no" >&6; }
5811fi
5812
5813
5814fi
5815if test -z "$ac_cv_path_DX_EGREP"; then
5816  ac_pt_DX_EGREP=$DX_EGREP
5817  # Extract the first word of "egrep", so it can be a program name with args.
5818set dummy egrep; ac_word=$2
5819{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5820printf %s "checking for $ac_word... " >&6; }
5821if test ${ac_cv_path_ac_pt_DX_EGREP+y}
5822then :
5823  printf %s "(cached) " >&6
5824else $as_nop
5825  case $ac_pt_DX_EGREP in
5826  [\\/]* | ?:[\\/]*)
5827  ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
5828  ;;
5829  *)
5830  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5831for as_dir in $PATH
5832do
5833  IFS=$as_save_IFS
5834  case $as_dir in #(((
5835    '') as_dir=./ ;;
5836    */) ;;
5837    *) as_dir=$as_dir/ ;;
5838  esac
5839    for ac_exec_ext in '' $ac_executable_extensions; do
5840  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5841    ac_cv_path_ac_pt_DX_EGREP="$as_dir$ac_word$ac_exec_ext"
5842    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5843    break 2
5844  fi
5845done
5846  done
5847IFS=$as_save_IFS
5848
5849  ;;
5850esac
5851fi
5852ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
5853if test -n "$ac_pt_DX_EGREP"; then
5854  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
5855printf "%s\n" "$ac_pt_DX_EGREP" >&6; }
5856else
5857  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5858printf "%s\n" "no" >&6; }
5859fi
5860
5861  if test "x$ac_pt_DX_EGREP" = x; then
5862    DX_EGREP=""
5863  else
5864    case $cross_compiling:$ac_tool_warned in
5865yes:)
5866{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5867printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5868ac_tool_warned=yes ;;
5869esac
5870    DX_EGREP=$ac_pt_DX_EGREP
5871  fi
5872else
5873  DX_EGREP="$ac_cv_path_DX_EGREP"
5874fi
5875
5876if test "$DX_FLAG_pdf$DX_EGREP" = 1; then
5877    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PDF documentation" >&5
5878printf "%s\n" "$as_me: WARNING: egrep not found - will not generate doxygen PDF documentation" >&2;}
5879    DX_FLAG_pdf=0
5880
5881fi
5882
5883    :
5884fi
5885if test "$DX_FLAG_pdf" = 1; then
5886     if :; then
5887  DX_COND_pdf_TRUE=
5888  DX_COND_pdf_FALSE='#'
5889else
5890  DX_COND_pdf_TRUE='#'
5891  DX_COND_pdf_FALSE=
5892fi
5893
5894
5895    :
5896else
5897     if false; then
5898  DX_COND_pdf_TRUE=
5899  DX_COND_pdf_FALSE='#'
5900else
5901  DX_COND_pdf_TRUE='#'
5902  DX_COND_pdf_FALSE=
5903fi
5904
5905
5906    :
5907fi
5908
5909
5910# LaTeX generation for PS and/or PDF:
5911if test "$DX_FLAG_ps" = 1 || test "$DX_FLAG_pdf" = 1; then
5912     if :; then
5913  DX_COND_latex_TRUE=
5914  DX_COND_latex_FALSE='#'
5915else
5916  DX_COND_latex_TRUE='#'
5917  DX_COND_latex_FALSE=
5918fi
5919
5920    DX_ENV="$DX_ENV GENERATE_LATEX='YES'"
5921
5922else
5923     if false; then
5924  DX_COND_latex_TRUE=
5925  DX_COND_latex_FALSE='#'
5926else
5927  DX_COND_latex_TRUE='#'
5928  DX_COND_latex_FALSE=
5929fi
5930
5931    DX_ENV="$DX_ENV GENERATE_LATEX='NO'"
5932
5933fi
5934
5935# Paper size for PS and/or PDF:
5936
5937case "$DOXYGEN_PAPER_SIZE" in
5938#(
5939"")
5940    DOXYGEN_PAPER_SIZE=""
5941
5942;; #(
5943a4wide|a4|letter|legal|executive)
5944    DX_ENV="$DX_ENV PAPER_SIZE='$DOXYGEN_PAPER_SIZE'"
5945
5946;; #(
5947*)
5948    as_fn_error $? "unknown DOXYGEN_PAPER_SIZE='$DOXYGEN_PAPER_SIZE'" "$LINENO" 5
5949;;
5950esac
5951
5952#For debugging:
5953#echo DX_FLAG_doc=$DX_FLAG_doc
5954#echo DX_FLAG_dot=$DX_FLAG_dot
5955#echo DX_FLAG_man=$DX_FLAG_man
5956#echo DX_FLAG_html=$DX_FLAG_html
5957#echo DX_FLAG_chm=$DX_FLAG_chm
5958#echo DX_FLAG_chi=$DX_FLAG_chi
5959#echo DX_FLAG_rtf=$DX_FLAG_rtf
5960#echo DX_FLAG_xml=$DX_FLAG_xml
5961#echo DX_FLAG_pdf=$DX_FLAG_pdf
5962#echo DX_FLAG_ps=$DX_FLAG_ps
5963#echo DX_ENV=$DX_ENV
5964
5965
5966# Check whether --enable-debug was given.
5967if test ${enable_debug+y}
5968then :
5969  enableval=$enable_debug; enable_debug=$enableval
5970else $as_nop
5971  enable_debug=no
5972fi
5973
5974
5975if test "$enable_debug" = "yes" ; then
5976    AM_CFLAGS="-D_DEBUG"
5977    AM_CXXFLAGS="-D_DEBUG"
5978fi
5979
5980ac_config_headers="$ac_config_headers config.h xmltooling/config_pub.h"
5981
5982ac_config_files="$ac_config_files xmltooling.spec xmltooling.pc xmltooling-lite.pc"
5983
5984ac_config_files="$ac_config_files Makefile xmltooling/Makefile xmltoolingtest/Makefile schemas/Makefile doc/Makefile"
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996ac_ext=c
5997ac_cpp='$CPP $CPPFLAGS'
5998ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5999ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6000ac_compiler_gnu=$ac_cv_c_compiler_gnu
6001if test -n "$ac_tool_prefix"; then
6002  for ac_prog in gcc gcc3 cc
6003  do
6004    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6005set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6006{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6007printf %s "checking for $ac_word... " >&6; }
6008if test ${ac_cv_prog_CC+y}
6009then :
6010  printf %s "(cached) " >&6
6011else $as_nop
6012  if test -n "$CC"; then
6013  ac_cv_prog_CC="$CC" # Let the user override the test.
6014else
6015as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6016for as_dir in $PATH
6017do
6018  IFS=$as_save_IFS
6019  case $as_dir in #(((
6020    '') as_dir=./ ;;
6021    */) ;;
6022    *) as_dir=$as_dir/ ;;
6023  esac
6024    for ac_exec_ext in '' $ac_executable_extensions; do
6025  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6026    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
6027    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6028    break 2
6029  fi
6030done
6031  done
6032IFS=$as_save_IFS
6033
6034fi
6035fi
6036CC=$ac_cv_prog_CC
6037if test -n "$CC"; then
6038  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
6039printf "%s\n" "$CC" >&6; }
6040else
6041  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6042printf "%s\n" "no" >&6; }
6043fi
6044
6045
6046    test -n "$CC" && break
6047  done
6048fi
6049if test -z "$CC"; then
6050  ac_ct_CC=$CC
6051  for ac_prog in gcc gcc3 cc
6052do
6053  # Extract the first word of "$ac_prog", so it can be a program name with args.
6054set dummy $ac_prog; ac_word=$2
6055{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6056printf %s "checking for $ac_word... " >&6; }
6057if test ${ac_cv_prog_ac_ct_CC+y}
6058then :
6059  printf %s "(cached) " >&6
6060else $as_nop
6061  if test -n "$ac_ct_CC"; then
6062  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
6063else
6064as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6065for as_dir in $PATH
6066do
6067  IFS=$as_save_IFS
6068  case $as_dir in #(((
6069    '') as_dir=./ ;;
6070    */) ;;
6071    *) as_dir=$as_dir/ ;;
6072  esac
6073    for ac_exec_ext in '' $ac_executable_extensions; do
6074  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6075    ac_cv_prog_ac_ct_CC="$ac_prog"
6076    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6077    break 2
6078  fi
6079done
6080  done
6081IFS=$as_save_IFS
6082
6083fi
6084fi
6085ac_ct_CC=$ac_cv_prog_ac_ct_CC
6086if test -n "$ac_ct_CC"; then
6087  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
6088printf "%s\n" "$ac_ct_CC" >&6; }
6089else
6090  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6091printf "%s\n" "no" >&6; }
6092fi
6093
6094
6095  test -n "$ac_ct_CC" && break
6096done
6097
6098  if test "x$ac_ct_CC" = x; then
6099    CC=""
6100  else
6101    case $cross_compiling:$ac_tool_warned in
6102yes:)
6103{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6104printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6105ac_tool_warned=yes ;;
6106esac
6107    CC=$ac_ct_CC
6108  fi
6109fi
6110
6111
6112test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6113printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
6114as_fn_error $? "no acceptable C compiler found in \$PATH
6115See \`config.log' for more details" "$LINENO" 5; }
6116
6117# Provide some information about the compiler.
6118printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
6119set X $ac_compile
6120ac_compiler=$2
6121for ac_option in --version -v -V -qversion -version; do
6122  { { ac_try="$ac_compiler $ac_option >&5"
6123case "(($ac_try" in
6124  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6125  *) ac_try_echo=$ac_try;;
6126esac
6127eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6128printf "%s\n" "$ac_try_echo"; } >&5
6129  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
6130  ac_status=$?
6131  if test -s conftest.err; then
6132    sed '10a\
6133... rest of stderr output deleted ...
6134         10q' conftest.err >conftest.er1
6135    cat conftest.er1 >&5
6136  fi
6137  rm -f conftest.er1 conftest.err
6138  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6139  test $ac_status = 0; }
6140done
6141
6142cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6143/* end confdefs.h.  */
6144
6145int
6146main (void)
6147{
6148
6149  ;
6150  return 0;
6151}
6152_ACEOF
6153ac_clean_files_save=$ac_clean_files
6154ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
6155# Try to create an executable without -o first, disregard a.out.
6156# It will help us diagnose broken compilers, and finding out an intuition
6157# of exeext.
6158{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
6159printf %s "checking whether the C compiler works... " >&6; }
6160ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
6161
6162# The possible output files:
6163ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
6164
6165ac_rmfiles=
6166for ac_file in $ac_files
6167do
6168  case $ac_file in
6169    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
6170    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
6171  esac
6172done
6173rm -f $ac_rmfiles
6174
6175if { { ac_try="$ac_link_default"
6176case "(($ac_try" in
6177  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6178  *) ac_try_echo=$ac_try;;
6179esac
6180eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6181printf "%s\n" "$ac_try_echo"; } >&5
6182  (eval "$ac_link_default") 2>&5
6183  ac_status=$?
6184  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6185  test $ac_status = 0; }
6186then :
6187  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
6188# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
6189# in a Makefile.  We should not override ac_cv_exeext if it was cached,
6190# so that the user can short-circuit this test for compilers unknown to
6191# Autoconf.
6192for ac_file in $ac_files ''
6193do
6194  test -f "$ac_file" || continue
6195  case $ac_file in
6196    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
6197	;;
6198    [ab].out )
6199	# We found the default executable, but exeext='' is most
6200	# certainly right.
6201	break;;
6202    *.* )
6203	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
6204	then :; else
6205	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
6206	fi
6207	# We set ac_cv_exeext here because the later test for it is not
6208	# safe: cross compilers may not add the suffix if given an `-o'
6209	# argument, so we may need to know it at that point already.
6210	# Even if this section looks crufty: it has the advantage of
6211	# actually working.
6212	break;;
6213    * )
6214	break;;
6215  esac
6216done
6217test "$ac_cv_exeext" = no && ac_cv_exeext=
6218
6219else $as_nop
6220  ac_file=''
6221fi
6222if test -z "$ac_file"
6223then :
6224  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6225printf "%s\n" "no" >&6; }
6226printf "%s\n" "$as_me: failed program was:" >&5
6227sed 's/^/| /' conftest.$ac_ext >&5
6228
6229{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6230printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
6231as_fn_error 77 "C compiler cannot create executables
6232See \`config.log' for more details" "$LINENO" 5; }
6233else $as_nop
6234  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6235printf "%s\n" "yes" >&6; }
6236fi
6237{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
6238printf %s "checking for C compiler default output file name... " >&6; }
6239{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
6240printf "%s\n" "$ac_file" >&6; }
6241ac_exeext=$ac_cv_exeext
6242
6243rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
6244ac_clean_files=$ac_clean_files_save
6245{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
6246printf %s "checking for suffix of executables... " >&6; }
6247if { { ac_try="$ac_link"
6248case "(($ac_try" in
6249  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6250  *) ac_try_echo=$ac_try;;
6251esac
6252eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6253printf "%s\n" "$ac_try_echo"; } >&5
6254  (eval "$ac_link") 2>&5
6255  ac_status=$?
6256  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6257  test $ac_status = 0; }
6258then :
6259  # If both `conftest.exe' and `conftest' are `present' (well, observable)
6260# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
6261# work properly (i.e., refer to `conftest.exe'), while it won't with
6262# `rm'.
6263for ac_file in conftest.exe conftest conftest.*; do
6264  test -f "$ac_file" || continue
6265  case $ac_file in
6266    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
6267    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
6268	  break;;
6269    * ) break;;
6270  esac
6271done
6272else $as_nop
6273  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6274printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
6275as_fn_error $? "cannot compute suffix of executables: cannot compile and link
6276See \`config.log' for more details" "$LINENO" 5; }
6277fi
6278rm -f conftest conftest$ac_cv_exeext
6279{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
6280printf "%s\n" "$ac_cv_exeext" >&6; }
6281
6282rm -f conftest.$ac_ext
6283EXEEXT=$ac_cv_exeext
6284ac_exeext=$EXEEXT
6285cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6286/* end confdefs.h.  */
6287#include <stdio.h>
6288int
6289main (void)
6290{
6291FILE *f = fopen ("conftest.out", "w");
6292 return ferror (f) || fclose (f) != 0;
6293
6294  ;
6295  return 0;
6296}
6297_ACEOF
6298ac_clean_files="$ac_clean_files conftest.out"
6299# Check that the compiler produces executables we can run.  If not, either
6300# the compiler is broken, or we cross compile.
6301{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
6302printf %s "checking whether we are cross compiling... " >&6; }
6303if test "$cross_compiling" != yes; then
6304  { { ac_try="$ac_link"
6305case "(($ac_try" in
6306  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6307  *) ac_try_echo=$ac_try;;
6308esac
6309eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6310printf "%s\n" "$ac_try_echo"; } >&5
6311  (eval "$ac_link") 2>&5
6312  ac_status=$?
6313  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6314  test $ac_status = 0; }
6315  if { ac_try='./conftest$ac_cv_exeext'
6316  { { case "(($ac_try" in
6317  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6318  *) ac_try_echo=$ac_try;;
6319esac
6320eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6321printf "%s\n" "$ac_try_echo"; } >&5
6322  (eval "$ac_try") 2>&5
6323  ac_status=$?
6324  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6325  test $ac_status = 0; }; }; then
6326    cross_compiling=no
6327  else
6328    if test "$cross_compiling" = maybe; then
6329	cross_compiling=yes
6330    else
6331	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6332printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
6333as_fn_error 77 "cannot run C compiled programs.
6334If you meant to cross compile, use \`--host'.
6335See \`config.log' for more details" "$LINENO" 5; }
6336    fi
6337  fi
6338fi
6339{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
6340printf "%s\n" "$cross_compiling" >&6; }
6341
6342rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
6343ac_clean_files=$ac_clean_files_save
6344{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
6345printf %s "checking for suffix of object files... " >&6; }
6346if test ${ac_cv_objext+y}
6347then :
6348  printf %s "(cached) " >&6
6349else $as_nop
6350  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6351/* end confdefs.h.  */
6352
6353int
6354main (void)
6355{
6356
6357  ;
6358  return 0;
6359}
6360_ACEOF
6361rm -f conftest.o conftest.obj
6362if { { ac_try="$ac_compile"
6363case "(($ac_try" in
6364  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6365  *) ac_try_echo=$ac_try;;
6366esac
6367eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6368printf "%s\n" "$ac_try_echo"; } >&5
6369  (eval "$ac_compile") 2>&5
6370  ac_status=$?
6371  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6372  test $ac_status = 0; }
6373then :
6374  for ac_file in conftest.o conftest.obj conftest.*; do
6375  test -f "$ac_file" || continue;
6376  case $ac_file in
6377    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
6378    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
6379       break;;
6380  esac
6381done
6382else $as_nop
6383  printf "%s\n" "$as_me: failed program was:" >&5
6384sed 's/^/| /' conftest.$ac_ext >&5
6385
6386{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6387printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
6388as_fn_error $? "cannot compute suffix of object files: cannot compile
6389See \`config.log' for more details" "$LINENO" 5; }
6390fi
6391rm -f conftest.$ac_cv_objext conftest.$ac_ext
6392fi
6393{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
6394printf "%s\n" "$ac_cv_objext" >&6; }
6395OBJEXT=$ac_cv_objext
6396ac_objext=$OBJEXT
6397{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
6398printf %s "checking whether the compiler supports GNU C... " >&6; }
6399if test ${ac_cv_c_compiler_gnu+y}
6400then :
6401  printf %s "(cached) " >&6
6402else $as_nop
6403  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6404/* end confdefs.h.  */
6405
6406int
6407main (void)
6408{
6409#ifndef __GNUC__
6410       choke me
6411#endif
6412
6413  ;
6414  return 0;
6415}
6416_ACEOF
6417if ac_fn_c_try_compile "$LINENO"
6418then :
6419  ac_compiler_gnu=yes
6420else $as_nop
6421  ac_compiler_gnu=no
6422fi
6423rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6424ac_cv_c_compiler_gnu=$ac_compiler_gnu
6425
6426fi
6427{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
6428printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
6429ac_compiler_gnu=$ac_cv_c_compiler_gnu
6430
6431if test $ac_compiler_gnu = yes; then
6432  GCC=yes
6433else
6434  GCC=
6435fi
6436ac_test_CFLAGS=${CFLAGS+y}
6437ac_save_CFLAGS=$CFLAGS
6438{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
6439printf %s "checking whether $CC accepts -g... " >&6; }
6440if test ${ac_cv_prog_cc_g+y}
6441then :
6442  printf %s "(cached) " >&6
6443else $as_nop
6444  ac_save_c_werror_flag=$ac_c_werror_flag
6445   ac_c_werror_flag=yes
6446   ac_cv_prog_cc_g=no
6447   CFLAGS="-g"
6448   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6449/* end confdefs.h.  */
6450
6451int
6452main (void)
6453{
6454
6455  ;
6456  return 0;
6457}
6458_ACEOF
6459if ac_fn_c_try_compile "$LINENO"
6460then :
6461  ac_cv_prog_cc_g=yes
6462else $as_nop
6463  CFLAGS=""
6464      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6465/* end confdefs.h.  */
6466
6467int
6468main (void)
6469{
6470
6471  ;
6472  return 0;
6473}
6474_ACEOF
6475if ac_fn_c_try_compile "$LINENO"
6476then :
6477
6478else $as_nop
6479  ac_c_werror_flag=$ac_save_c_werror_flag
6480	 CFLAGS="-g"
6481	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6482/* end confdefs.h.  */
6483
6484int
6485main (void)
6486{
6487
6488  ;
6489  return 0;
6490}
6491_ACEOF
6492if ac_fn_c_try_compile "$LINENO"
6493then :
6494  ac_cv_prog_cc_g=yes
6495fi
6496rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6497fi
6498rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6499fi
6500rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6501   ac_c_werror_flag=$ac_save_c_werror_flag
6502fi
6503{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
6504printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
6505if test $ac_test_CFLAGS; then
6506  CFLAGS=$ac_save_CFLAGS
6507elif test $ac_cv_prog_cc_g = yes; then
6508  if test "$GCC" = yes; then
6509    CFLAGS="-g -O2"
6510  else
6511    CFLAGS="-g"
6512  fi
6513else
6514  if test "$GCC" = yes; then
6515    CFLAGS="-O2"
6516  else
6517    CFLAGS=
6518  fi
6519fi
6520ac_prog_cc_stdc=no
6521if test x$ac_prog_cc_stdc = xno
6522then :
6523  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
6524printf %s "checking for $CC option to enable C11 features... " >&6; }
6525if test ${ac_cv_prog_cc_c11+y}
6526then :
6527  printf %s "(cached) " >&6
6528else $as_nop
6529  ac_cv_prog_cc_c11=no
6530ac_save_CC=$CC
6531cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6532/* end confdefs.h.  */
6533$ac_c_conftest_c11_program
6534_ACEOF
6535for ac_arg in '' -std=gnu11
6536do
6537  CC="$ac_save_CC $ac_arg"
6538  if ac_fn_c_try_compile "$LINENO"
6539then :
6540  ac_cv_prog_cc_c11=$ac_arg
6541fi
6542rm -f core conftest.err conftest.$ac_objext conftest.beam
6543  test "x$ac_cv_prog_cc_c11" != "xno" && break
6544done
6545rm -f conftest.$ac_ext
6546CC=$ac_save_CC
6547fi
6548
6549if test "x$ac_cv_prog_cc_c11" = xno
6550then :
6551  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6552printf "%s\n" "unsupported" >&6; }
6553else $as_nop
6554  if test "x$ac_cv_prog_cc_c11" = x
6555then :
6556  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6557printf "%s\n" "none needed" >&6; }
6558else $as_nop
6559  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
6560printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
6561     CC="$CC $ac_cv_prog_cc_c11"
6562fi
6563  ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
6564  ac_prog_cc_stdc=c11
6565fi
6566fi
6567if test x$ac_prog_cc_stdc = xno
6568then :
6569  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
6570printf %s "checking for $CC option to enable C99 features... " >&6; }
6571if test ${ac_cv_prog_cc_c99+y}
6572then :
6573  printf %s "(cached) " >&6
6574else $as_nop
6575  ac_cv_prog_cc_c99=no
6576ac_save_CC=$CC
6577cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6578/* end confdefs.h.  */
6579$ac_c_conftest_c99_program
6580_ACEOF
6581for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
6582do
6583  CC="$ac_save_CC $ac_arg"
6584  if ac_fn_c_try_compile "$LINENO"
6585then :
6586  ac_cv_prog_cc_c99=$ac_arg
6587fi
6588rm -f core conftest.err conftest.$ac_objext conftest.beam
6589  test "x$ac_cv_prog_cc_c99" != "xno" && break
6590done
6591rm -f conftest.$ac_ext
6592CC=$ac_save_CC
6593fi
6594
6595if test "x$ac_cv_prog_cc_c99" = xno
6596then :
6597  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6598printf "%s\n" "unsupported" >&6; }
6599else $as_nop
6600  if test "x$ac_cv_prog_cc_c99" = x
6601then :
6602  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6603printf "%s\n" "none needed" >&6; }
6604else $as_nop
6605  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
6606printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
6607     CC="$CC $ac_cv_prog_cc_c99"
6608fi
6609  ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
6610  ac_prog_cc_stdc=c99
6611fi
6612fi
6613if test x$ac_prog_cc_stdc = xno
6614then :
6615  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
6616printf %s "checking for $CC option to enable C89 features... " >&6; }
6617if test ${ac_cv_prog_cc_c89+y}
6618then :
6619  printf %s "(cached) " >&6
6620else $as_nop
6621  ac_cv_prog_cc_c89=no
6622ac_save_CC=$CC
6623cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6624/* end confdefs.h.  */
6625$ac_c_conftest_c89_program
6626_ACEOF
6627for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6628do
6629  CC="$ac_save_CC $ac_arg"
6630  if ac_fn_c_try_compile "$LINENO"
6631then :
6632  ac_cv_prog_cc_c89=$ac_arg
6633fi
6634rm -f core conftest.err conftest.$ac_objext conftest.beam
6635  test "x$ac_cv_prog_cc_c89" != "xno" && break
6636done
6637rm -f conftest.$ac_ext
6638CC=$ac_save_CC
6639fi
6640
6641if test "x$ac_cv_prog_cc_c89" = xno
6642then :
6643  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6644printf "%s\n" "unsupported" >&6; }
6645else $as_nop
6646  if test "x$ac_cv_prog_cc_c89" = x
6647then :
6648  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6649printf "%s\n" "none needed" >&6; }
6650else $as_nop
6651  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
6652printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
6653     CC="$CC $ac_cv_prog_cc_c89"
6654fi
6655  ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
6656  ac_prog_cc_stdc=c89
6657fi
6658fi
6659
6660ac_ext=c
6661ac_cpp='$CPP $CPPFLAGS'
6662ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6663ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6664ac_compiler_gnu=$ac_cv_c_compiler_gnu
6665
6666
6667  ac_ext=c
6668ac_cpp='$CPP $CPPFLAGS'
6669ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6670ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6671ac_compiler_gnu=$ac_cv_c_compiler_gnu
6672{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
6673printf %s "checking whether $CC understands -c and -o together... " >&6; }
6674if test ${am_cv_prog_cc_c_o+y}
6675then :
6676  printf %s "(cached) " >&6
6677else $as_nop
6678  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6679/* end confdefs.h.  */
6680
6681int
6682main (void)
6683{
6684
6685  ;
6686  return 0;
6687}
6688_ACEOF
6689  # Make sure it works both with $CC and with simple cc.
6690  # Following AC_PROG_CC_C_O, we do the test twice because some
6691  # compilers refuse to overwrite an existing .o file with -o,
6692  # though they will create one.
6693  am_cv_prog_cc_c_o=yes
6694  for am_i in 1 2; do
6695    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
6696   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
6697   ac_status=$?
6698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6699   (exit $ac_status); } \
6700         && test -f conftest2.$ac_objext; then
6701      : OK
6702    else
6703      am_cv_prog_cc_c_o=no
6704      break
6705    fi
6706  done
6707  rm -f core conftest*
6708  unset am_i
6709fi
6710{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
6711printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
6712if test "$am_cv_prog_cc_c_o" != yes; then
6713   # Losing compiler, so override with the script.
6714   # FIXME: It is wrong to rewrite CC.
6715   # But if we don't then we get into trouble of one sort or another.
6716   # A longer-term fix would be to have automake use am__CC in this case,
6717   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
6718   CC="$am_aux_dir/compile $CC"
6719fi
6720ac_ext=c
6721ac_cpp='$CPP $CPPFLAGS'
6722ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6723ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6724ac_compiler_gnu=$ac_cv_c_compiler_gnu
6725
6726DEPDIR="${am__leading_dot}deps"
6727
6728ac_config_commands="$ac_config_commands depfiles"
6729
6730{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
6731printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
6732cat > confinc.mk << 'END'
6733am__doit:
6734	@echo this is the am__doit target >confinc.out
6735.PHONY: am__doit
6736END
6737am__include="#"
6738am__quote=
6739# BSD make does it like this.
6740echo '.include "confinc.mk" # ignored' > confmf.BSD
6741# Other make implementations (GNU, Solaris 10, AIX) do it like this.
6742echo 'include confinc.mk # ignored' > confmf.GNU
6743_am_result=no
6744for s in GNU BSD; do
6745  { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
6746   (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
6747   ac_status=$?
6748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6749   (exit $ac_status); }
6750  case $?:`cat confinc.out 2>/dev/null` in #(
6751  '0:this is the am__doit target') :
6752    case $s in #(
6753  BSD) :
6754    am__include='.include' am__quote='"' ;; #(
6755  *) :
6756    am__include='include' am__quote='' ;;
6757esac ;; #(
6758  *) :
6759     ;;
6760esac
6761  if test "$am__include" != "#"; then
6762    _am_result="yes ($s style)"
6763    break
6764  fi
6765done
6766rm -f confinc.* confmf.*
6767{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
6768printf "%s\n" "${_am_result}" >&6; }
6769
6770# Check whether --enable-dependency-tracking was given.
6771if test ${enable_dependency_tracking+y}
6772then :
6773  enableval=$enable_dependency_tracking;
6774fi
6775
6776if test "x$enable_dependency_tracking" != xno; then
6777  am_depcomp="$ac_aux_dir/depcomp"
6778  AMDEPBACKSLASH='\'
6779  am__nodep='_no'
6780fi
6781 if test "x$enable_dependency_tracking" != xno; then
6782  AMDEP_TRUE=
6783  AMDEP_FALSE='#'
6784else
6785  AMDEP_TRUE='#'
6786  AMDEP_FALSE=
6787fi
6788
6789
6790
6791depcc="$CC"   am_compiler_list=
6792
6793{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6794printf %s "checking dependency style of $depcc... " >&6; }
6795if test ${am_cv_CC_dependencies_compiler_type+y}
6796then :
6797  printf %s "(cached) " >&6
6798else $as_nop
6799  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6800  # We make a subdir and do the tests there.  Otherwise we can end up
6801  # making bogus files that we don't know about and never remove.  For
6802  # instance it was reported that on HP-UX the gcc test will end up
6803  # making a dummy file named 'D' -- because '-MD' means "put the output
6804  # in D".
6805  rm -rf conftest.dir
6806  mkdir conftest.dir
6807  # Copy depcomp to subdir because otherwise we won't find it if we're
6808  # using a relative directory.
6809  cp "$am_depcomp" conftest.dir
6810  cd conftest.dir
6811  # We will build objects and dependencies in a subdirectory because
6812  # it helps to detect inapplicable dependency modes.  For instance
6813  # both Tru64's cc and ICC support -MD to output dependencies as a
6814  # side effect of compilation, but ICC will put the dependencies in
6815  # the current directory while Tru64 will put them in the object
6816  # directory.
6817  mkdir sub
6818
6819  am_cv_CC_dependencies_compiler_type=none
6820  if test "$am_compiler_list" = ""; then
6821     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6822  fi
6823  am__universal=false
6824  case " $depcc " in #(
6825     *\ -arch\ *\ -arch\ *) am__universal=true ;;
6826     esac
6827
6828  for depmode in $am_compiler_list; do
6829    # Setup a source with many dependencies, because some compilers
6830    # like to wrap large dependency lists on column 80 (with \), and
6831    # we should not choose a depcomp mode which is confused by this.
6832    #
6833    # We need to recreate these files for each test, as the compiler may
6834    # overwrite some of them when testing with obscure command lines.
6835    # This happens at least with the AIX C compiler.
6836    : > sub/conftest.c
6837    for i in 1 2 3 4 5 6; do
6838      echo '#include "conftst'$i'.h"' >> sub/conftest.c
6839      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
6840      # Solaris 10 /bin/sh.
6841      echo '/* dummy */' > sub/conftst$i.h
6842    done
6843    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6844
6845    # We check with '-c' and '-o' for the sake of the "dashmstdout"
6846    # mode.  It turns out that the SunPro C++ compiler does not properly
6847    # handle '-M -o', and we need to detect this.  Also, some Intel
6848    # versions had trouble with output in subdirs.
6849    am__obj=sub/conftest.${OBJEXT-o}
6850    am__minus_obj="-o $am__obj"
6851    case $depmode in
6852    gcc)
6853      # This depmode causes a compiler race in universal mode.
6854      test "$am__universal" = false || continue
6855      ;;
6856    nosideeffect)
6857      # After this tag, mechanisms are not by side-effect, so they'll
6858      # only be used when explicitly requested.
6859      if test "x$enable_dependency_tracking" = xyes; then
6860	continue
6861      else
6862	break
6863      fi
6864      ;;
6865    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
6866      # This compiler won't grok '-c -o', but also, the minuso test has
6867      # not run yet.  These depmodes are late enough in the game, and
6868      # so weak that their functioning should not be impacted.
6869      am__obj=conftest.${OBJEXT-o}
6870      am__minus_obj=
6871      ;;
6872    none) break ;;
6873    esac
6874    if depmode=$depmode \
6875       source=sub/conftest.c object=$am__obj \
6876       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6877       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6878         >/dev/null 2>conftest.err &&
6879       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6880       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6881       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
6882       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6883      # icc doesn't choke on unknown options, it will just issue warnings
6884      # or remarks (even with -Werror).  So we grep stderr for any message
6885      # that says an option was ignored or not supported.
6886      # When given -MP, icc 7.0 and 7.1 complain thusly:
6887      #   icc: Command line warning: ignoring option '-M'; no argument required
6888      # The diagnosis changed in icc 8.0:
6889      #   icc: Command line remark: option '-MP' not supported
6890      if (grep 'ignoring option' conftest.err ||
6891          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6892        am_cv_CC_dependencies_compiler_type=$depmode
6893        break
6894      fi
6895    fi
6896  done
6897
6898  cd ..
6899  rm -rf conftest.dir
6900else
6901  am_cv_CC_dependencies_compiler_type=none
6902fi
6903
6904fi
6905{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
6906printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
6907CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
6908
6909 if
6910  test "x$enable_dependency_tracking" != xno \
6911  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
6912  am__fastdepCC_TRUE=
6913  am__fastdepCC_FALSE='#'
6914else
6915  am__fastdepCC_TRUE='#'
6916  am__fastdepCC_FALSE=
6917fi
6918
6919
6920
6921
6922
6923
6924
6925
6926ac_ext=cpp
6927ac_cpp='$CXXCPP $CPPFLAGS'
6928ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6929ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6930ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6931if test -z "$CXX"; then
6932  if test -n "$CCC"; then
6933    CXX=$CCC
6934  else
6935    if test -n "$ac_tool_prefix"; then
6936  for ac_prog in g++ g++3 c++ CC
6937  do
6938    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6939set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6940{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6941printf %s "checking for $ac_word... " >&6; }
6942if test ${ac_cv_prog_CXX+y}
6943then :
6944  printf %s "(cached) " >&6
6945else $as_nop
6946  if test -n "$CXX"; then
6947  ac_cv_prog_CXX="$CXX" # Let the user override the test.
6948else
6949as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6950for as_dir in $PATH
6951do
6952  IFS=$as_save_IFS
6953  case $as_dir in #(((
6954    '') as_dir=./ ;;
6955    */) ;;
6956    *) as_dir=$as_dir/ ;;
6957  esac
6958    for ac_exec_ext in '' $ac_executable_extensions; do
6959  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6960    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6961    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6962    break 2
6963  fi
6964done
6965  done
6966IFS=$as_save_IFS
6967
6968fi
6969fi
6970CXX=$ac_cv_prog_CXX
6971if test -n "$CXX"; then
6972  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
6973printf "%s\n" "$CXX" >&6; }
6974else
6975  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6976printf "%s\n" "no" >&6; }
6977fi
6978
6979
6980    test -n "$CXX" && break
6981  done
6982fi
6983if test -z "$CXX"; then
6984  ac_ct_CXX=$CXX
6985  for ac_prog in g++ g++3 c++ CC
6986do
6987  # Extract the first word of "$ac_prog", so it can be a program name with args.
6988set dummy $ac_prog; ac_word=$2
6989{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6990printf %s "checking for $ac_word... " >&6; }
6991if test ${ac_cv_prog_ac_ct_CXX+y}
6992then :
6993  printf %s "(cached) " >&6
6994else $as_nop
6995  if test -n "$ac_ct_CXX"; then
6996  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6997else
6998as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6999for as_dir in $PATH
7000do
7001  IFS=$as_save_IFS
7002  case $as_dir in #(((
7003    '') as_dir=./ ;;
7004    */) ;;
7005    *) as_dir=$as_dir/ ;;
7006  esac
7007    for ac_exec_ext in '' $ac_executable_extensions; do
7008  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7009    ac_cv_prog_ac_ct_CXX="$ac_prog"
7010    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7011    break 2
7012  fi
7013done
7014  done
7015IFS=$as_save_IFS
7016
7017fi
7018fi
7019ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
7020if test -n "$ac_ct_CXX"; then
7021  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
7022printf "%s\n" "$ac_ct_CXX" >&6; }
7023else
7024  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7025printf "%s\n" "no" >&6; }
7026fi
7027
7028
7029  test -n "$ac_ct_CXX" && break
7030done
7031
7032  if test "x$ac_ct_CXX" = x; then
7033    CXX="g++"
7034  else
7035    case $cross_compiling:$ac_tool_warned in
7036yes:)
7037{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7038printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7039ac_tool_warned=yes ;;
7040esac
7041    CXX=$ac_ct_CXX
7042  fi
7043fi
7044
7045  fi
7046fi
7047# Provide some information about the compiler.
7048printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
7049set X $ac_compile
7050ac_compiler=$2
7051for ac_option in --version -v -V -qversion; do
7052  { { ac_try="$ac_compiler $ac_option >&5"
7053case "(($ac_try" in
7054  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7055  *) ac_try_echo=$ac_try;;
7056esac
7057eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
7058printf "%s\n" "$ac_try_echo"; } >&5
7059  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
7060  ac_status=$?
7061  if test -s conftest.err; then
7062    sed '10a\
7063... rest of stderr output deleted ...
7064         10q' conftest.err >conftest.er1
7065    cat conftest.er1 >&5
7066  fi
7067  rm -f conftest.er1 conftest.err
7068  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7069  test $ac_status = 0; }
7070done
7071
7072{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
7073printf %s "checking whether the compiler supports GNU C++... " >&6; }
7074if test ${ac_cv_cxx_compiler_gnu+y}
7075then :
7076  printf %s "(cached) " >&6
7077else $as_nop
7078  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7079/* end confdefs.h.  */
7080
7081int
7082main (void)
7083{
7084#ifndef __GNUC__
7085       choke me
7086#endif
7087
7088  ;
7089  return 0;
7090}
7091_ACEOF
7092if ac_fn_cxx_try_compile "$LINENO"
7093then :
7094  ac_compiler_gnu=yes
7095else $as_nop
7096  ac_compiler_gnu=no
7097fi
7098rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7099ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
7100
7101fi
7102{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
7103printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
7104ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7105
7106if test $ac_compiler_gnu = yes; then
7107  GXX=yes
7108else
7109  GXX=
7110fi
7111ac_test_CXXFLAGS=${CXXFLAGS+y}
7112ac_save_CXXFLAGS=$CXXFLAGS
7113{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
7114printf %s "checking whether $CXX accepts -g... " >&6; }
7115if test ${ac_cv_prog_cxx_g+y}
7116then :
7117  printf %s "(cached) " >&6
7118else $as_nop
7119  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
7120   ac_cxx_werror_flag=yes
7121   ac_cv_prog_cxx_g=no
7122   CXXFLAGS="-g"
7123   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7124/* end confdefs.h.  */
7125
7126int
7127main (void)
7128{
7129
7130  ;
7131  return 0;
7132}
7133_ACEOF
7134if ac_fn_cxx_try_compile "$LINENO"
7135then :
7136  ac_cv_prog_cxx_g=yes
7137else $as_nop
7138  CXXFLAGS=""
7139      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7140/* end confdefs.h.  */
7141
7142int
7143main (void)
7144{
7145
7146  ;
7147  return 0;
7148}
7149_ACEOF
7150if ac_fn_cxx_try_compile "$LINENO"
7151then :
7152
7153else $as_nop
7154  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7155	 CXXFLAGS="-g"
7156	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7157/* end confdefs.h.  */
7158
7159int
7160main (void)
7161{
7162
7163  ;
7164  return 0;
7165}
7166_ACEOF
7167if ac_fn_cxx_try_compile "$LINENO"
7168then :
7169  ac_cv_prog_cxx_g=yes
7170fi
7171rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7172fi
7173rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7174fi
7175rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7176   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7177fi
7178{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
7179printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
7180if test $ac_test_CXXFLAGS; then
7181  CXXFLAGS=$ac_save_CXXFLAGS
7182elif test $ac_cv_prog_cxx_g = yes; then
7183  if test "$GXX" = yes; then
7184    CXXFLAGS="-g -O2"
7185  else
7186    CXXFLAGS="-g"
7187  fi
7188else
7189  if test "$GXX" = yes; then
7190    CXXFLAGS="-O2"
7191  else
7192    CXXFLAGS=
7193  fi
7194fi
7195ac_prog_cxx_stdcxx=no
7196if test x$ac_prog_cxx_stdcxx = xno
7197then :
7198  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
7199printf %s "checking for $CXX option to enable C++11 features... " >&6; }
7200if test ${ac_cv_prog_cxx_11+y}
7201then :
7202  printf %s "(cached) " >&6
7203else $as_nop
7204  ac_cv_prog_cxx_11=no
7205ac_save_CXX=$CXX
7206cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7207/* end confdefs.h.  */
7208$ac_cxx_conftest_cxx11_program
7209_ACEOF
7210for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
7211do
7212  CXX="$ac_save_CXX $ac_arg"
7213  if ac_fn_cxx_try_compile "$LINENO"
7214then :
7215  ac_cv_prog_cxx_cxx11=$ac_arg
7216fi
7217rm -f core conftest.err conftest.$ac_objext conftest.beam
7218  test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
7219done
7220rm -f conftest.$ac_ext
7221CXX=$ac_save_CXX
7222fi
7223
7224if test "x$ac_cv_prog_cxx_cxx11" = xno
7225then :
7226  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
7227printf "%s\n" "unsupported" >&6; }
7228else $as_nop
7229  if test "x$ac_cv_prog_cxx_cxx11" = x
7230then :
7231  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
7232printf "%s\n" "none needed" >&6; }
7233else $as_nop
7234  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
7235printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
7236     CXX="$CXX $ac_cv_prog_cxx_cxx11"
7237fi
7238  ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
7239  ac_prog_cxx_stdcxx=cxx11
7240fi
7241fi
7242if test x$ac_prog_cxx_stdcxx = xno
7243then :
7244  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
7245printf %s "checking for $CXX option to enable C++98 features... " >&6; }
7246if test ${ac_cv_prog_cxx_98+y}
7247then :
7248  printf %s "(cached) " >&6
7249else $as_nop
7250  ac_cv_prog_cxx_98=no
7251ac_save_CXX=$CXX
7252cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7253/* end confdefs.h.  */
7254$ac_cxx_conftest_cxx98_program
7255_ACEOF
7256for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
7257do
7258  CXX="$ac_save_CXX $ac_arg"
7259  if ac_fn_cxx_try_compile "$LINENO"
7260then :
7261  ac_cv_prog_cxx_cxx98=$ac_arg
7262fi
7263rm -f core conftest.err conftest.$ac_objext conftest.beam
7264  test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
7265done
7266rm -f conftest.$ac_ext
7267CXX=$ac_save_CXX
7268fi
7269
7270if test "x$ac_cv_prog_cxx_cxx98" = xno
7271then :
7272  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
7273printf "%s\n" "unsupported" >&6; }
7274else $as_nop
7275  if test "x$ac_cv_prog_cxx_cxx98" = x
7276then :
7277  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
7278printf "%s\n" "none needed" >&6; }
7279else $as_nop
7280  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
7281printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
7282     CXX="$CXX $ac_cv_prog_cxx_cxx98"
7283fi
7284  ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
7285  ac_prog_cxx_stdcxx=cxx98
7286fi
7287fi
7288
7289ac_ext=c
7290ac_cpp='$CPP $CPPFLAGS'
7291ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7292ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7293ac_compiler_gnu=$ac_cv_c_compiler_gnu
7294
7295depcc="$CXX"  am_compiler_list=
7296
7297{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
7298printf %s "checking dependency style of $depcc... " >&6; }
7299if test ${am_cv_CXX_dependencies_compiler_type+y}
7300then :
7301  printf %s "(cached) " >&6
7302else $as_nop
7303  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
7304  # We make a subdir and do the tests there.  Otherwise we can end up
7305  # making bogus files that we don't know about and never remove.  For
7306  # instance it was reported that on HP-UX the gcc test will end up
7307  # making a dummy file named 'D' -- because '-MD' means "put the output
7308  # in D".
7309  rm -rf conftest.dir
7310  mkdir conftest.dir
7311  # Copy depcomp to subdir because otherwise we won't find it if we're
7312  # using a relative directory.
7313  cp "$am_depcomp" conftest.dir
7314  cd conftest.dir
7315  # We will build objects and dependencies in a subdirectory because
7316  # it helps to detect inapplicable dependency modes.  For instance
7317  # both Tru64's cc and ICC support -MD to output dependencies as a
7318  # side effect of compilation, but ICC will put the dependencies in
7319  # the current directory while Tru64 will put them in the object
7320  # directory.
7321  mkdir sub
7322
7323  am_cv_CXX_dependencies_compiler_type=none
7324  if test "$am_compiler_list" = ""; then
7325     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
7326  fi
7327  am__universal=false
7328  case " $depcc " in #(
7329     *\ -arch\ *\ -arch\ *) am__universal=true ;;
7330     esac
7331
7332  for depmode in $am_compiler_list; do
7333    # Setup a source with many dependencies, because some compilers
7334    # like to wrap large dependency lists on column 80 (with \), and
7335    # we should not choose a depcomp mode which is confused by this.
7336    #
7337    # We need to recreate these files for each test, as the compiler may
7338    # overwrite some of them when testing with obscure command lines.
7339    # This happens at least with the AIX C compiler.
7340    : > sub/conftest.c
7341    for i in 1 2 3 4 5 6; do
7342      echo '#include "conftst'$i'.h"' >> sub/conftest.c
7343      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
7344      # Solaris 10 /bin/sh.
7345      echo '/* dummy */' > sub/conftst$i.h
7346    done
7347    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
7348
7349    # We check with '-c' and '-o' for the sake of the "dashmstdout"
7350    # mode.  It turns out that the SunPro C++ compiler does not properly
7351    # handle '-M -o', and we need to detect this.  Also, some Intel
7352    # versions had trouble with output in subdirs.
7353    am__obj=sub/conftest.${OBJEXT-o}
7354    am__minus_obj="-o $am__obj"
7355    case $depmode in
7356    gcc)
7357      # This depmode causes a compiler race in universal mode.
7358      test "$am__universal" = false || continue
7359      ;;
7360    nosideeffect)
7361      # After this tag, mechanisms are not by side-effect, so they'll
7362      # only be used when explicitly requested.
7363      if test "x$enable_dependency_tracking" = xyes; then
7364	continue
7365      else
7366	break
7367      fi
7368      ;;
7369    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
7370      # This compiler won't grok '-c -o', but also, the minuso test has
7371      # not run yet.  These depmodes are late enough in the game, and
7372      # so weak that their functioning should not be impacted.
7373      am__obj=conftest.${OBJEXT-o}
7374      am__minus_obj=
7375      ;;
7376    none) break ;;
7377    esac
7378    if depmode=$depmode \
7379       source=sub/conftest.c object=$am__obj \
7380       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
7381       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
7382         >/dev/null 2>conftest.err &&
7383       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
7384       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
7385       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
7386       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
7387      # icc doesn't choke on unknown options, it will just issue warnings
7388      # or remarks (even with -Werror).  So we grep stderr for any message
7389      # that says an option was ignored or not supported.
7390      # When given -MP, icc 7.0 and 7.1 complain thusly:
7391      #   icc: Command line warning: ignoring option '-M'; no argument required
7392      # The diagnosis changed in icc 8.0:
7393      #   icc: Command line remark: option '-MP' not supported
7394      if (grep 'ignoring option' conftest.err ||
7395          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
7396        am_cv_CXX_dependencies_compiler_type=$depmode
7397        break
7398      fi
7399    fi
7400  done
7401
7402  cd ..
7403  rm -rf conftest.dir
7404else
7405  am_cv_CXX_dependencies_compiler_type=none
7406fi
7407
7408fi
7409{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
7410printf "%s\n" "$am_cv_CXX_dependencies_compiler_type" >&6; }
7411CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
7412
7413 if
7414  test "x$enable_dependency_tracking" != xno \
7415  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
7416  am__fastdepCXX_TRUE=
7417  am__fastdepCXX_FALSE='#'
7418else
7419  am__fastdepCXX_TRUE='#'
7420  am__fastdepCXX_FALSE=
7421fi
7422
7423
7424
7425if test "$GCC" = "yes" ; then
7426    AM_CFLAGS="$AM_CFLAGS -Wall -W"
7427    AM_CXXFLAGS="$AM_CXXFLAGS -Wall -W"
7428fi
7429
7430
7431
7432
7433case `pwd` in
7434  *\ * | *\	*)
7435    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
7436printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
7437esac
7438
7439
7440
7441macro_version='2.4.6'
7442macro_revision='2.4.6'
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457ltmain=$ac_aux_dir/ltmain.sh
7458
7459
7460
7461  # Make sure we can run config.sub.
7462$SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
7463  as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
7464
7465{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
7466printf %s "checking build system type... " >&6; }
7467if test ${ac_cv_build+y}
7468then :
7469  printf %s "(cached) " >&6
7470else $as_nop
7471  ac_build_alias=$build_alias
7472test "x$ac_build_alias" = x &&
7473  ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
7474test "x$ac_build_alias" = x &&
7475  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
7476ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
7477  as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
7478
7479fi
7480{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
7481printf "%s\n" "$ac_cv_build" >&6; }
7482case $ac_cv_build in
7483*-*-*) ;;
7484*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
7485esac
7486build=$ac_cv_build
7487ac_save_IFS=$IFS; IFS='-'
7488set x $ac_cv_build
7489shift
7490build_cpu=$1
7491build_vendor=$2
7492shift; shift
7493# Remember, the first character of IFS is used to create $*,
7494# except with old shells:
7495build_os=$*
7496IFS=$ac_save_IFS
7497case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
7498
7499
7500{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
7501printf %s "checking host system type... " >&6; }
7502if test ${ac_cv_host+y}
7503then :
7504  printf %s "(cached) " >&6
7505else $as_nop
7506  if test "x$host_alias" = x; then
7507  ac_cv_host=$ac_cv_build
7508else
7509  ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
7510    as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
7511fi
7512
7513fi
7514{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
7515printf "%s\n" "$ac_cv_host" >&6; }
7516case $ac_cv_host in
7517*-*-*) ;;
7518*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
7519esac
7520host=$ac_cv_host
7521ac_save_IFS=$IFS; IFS='-'
7522set x $ac_cv_host
7523shift
7524host_cpu=$1
7525host_vendor=$2
7526shift; shift
7527# Remember, the first character of IFS is used to create $*,
7528# except with old shells:
7529host_os=$*
7530IFS=$ac_save_IFS
7531case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
7532
7533
7534# Backslashify metacharacters that are still active within
7535# double-quoted strings.
7536sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7537
7538# Same as above, but do not quote variable references.
7539double_quote_subst='s/\(["`\\]\)/\\\1/g'
7540
7541# Sed substitution to delay expansion of an escaped shell variable in a
7542# double_quote_subst'ed string.
7543delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7544
7545# Sed substitution to delay expansion of an escaped single quote.
7546delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7547
7548# Sed substitution to avoid accidental globbing in evaled expressions
7549no_glob_subst='s/\*/\\\*/g'
7550
7551ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7552ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
7553ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
7554
7555{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
7556printf %s "checking how to print strings... " >&6; }
7557# Test print first, because it will be a builtin if present.
7558if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
7559   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
7560  ECHO='print -r --'
7561elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
7562  ECHO='printf %s\n'
7563else
7564  # Use this function as a fallback that always works.
7565  func_fallback_echo ()
7566  {
7567    eval 'cat <<_LTECHO_EOF
7568$1
7569_LTECHO_EOF'
7570  }
7571  ECHO='func_fallback_echo'
7572fi
7573
7574# func_echo_all arg...
7575# Invoke $ECHO with all args, space-separated.
7576func_echo_all ()
7577{
7578    $ECHO ""
7579}
7580
7581case $ECHO in
7582  printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
7583printf "%s\n" "printf" >&6; } ;;
7584  print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
7585printf "%s\n" "print -r" >&6; } ;;
7586  *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
7587printf "%s\n" "cat" >&6; } ;;
7588esac
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
7604printf %s "checking for a sed that does not truncate output... " >&6; }
7605if test ${ac_cv_path_SED+y}
7606then :
7607  printf %s "(cached) " >&6
7608else $as_nop
7609            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
7610     for ac_i in 1 2 3 4 5 6 7; do
7611       ac_script="$ac_script$as_nl$ac_script"
7612     done
7613     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
7614     { ac_script=; unset ac_script;}
7615     if test -z "$SED"; then
7616  ac_path_SED_found=false
7617  # Loop through the user's path and test for each of PROGNAME-LIST
7618  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7619for as_dir in $PATH
7620do
7621  IFS=$as_save_IFS
7622  case $as_dir in #(((
7623    '') as_dir=./ ;;
7624    */) ;;
7625    *) as_dir=$as_dir/ ;;
7626  esac
7627    for ac_prog in sed gsed
7628   do
7629    for ac_exec_ext in '' $ac_executable_extensions; do
7630      ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
7631      as_fn_executable_p "$ac_path_SED" || continue
7632# Check for GNU ac_path_SED and select it if it is found.
7633  # Check for GNU $ac_path_SED
7634case `"$ac_path_SED" --version 2>&1` in
7635*GNU*)
7636  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
7637*)
7638  ac_count=0
7639  printf %s 0123456789 >"conftest.in"
7640  while :
7641  do
7642    cat "conftest.in" "conftest.in" >"conftest.tmp"
7643    mv "conftest.tmp" "conftest.in"
7644    cp "conftest.in" "conftest.nl"
7645    printf "%s\n" '' >> "conftest.nl"
7646    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
7647    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7648    as_fn_arith $ac_count + 1 && ac_count=$as_val
7649    if test $ac_count -gt ${ac_path_SED_max-0}; then
7650      # Best one so far, save it but keep looking for a better one
7651      ac_cv_path_SED="$ac_path_SED"
7652      ac_path_SED_max=$ac_count
7653    fi
7654    # 10*(2^10) chars as input seems more than enough
7655    test $ac_count -gt 10 && break
7656  done
7657  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7658esac
7659
7660      $ac_path_SED_found && break 3
7661    done
7662  done
7663  done
7664IFS=$as_save_IFS
7665  if test -z "$ac_cv_path_SED"; then
7666    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
7667  fi
7668else
7669  ac_cv_path_SED=$SED
7670fi
7671
7672fi
7673{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
7674printf "%s\n" "$ac_cv_path_SED" >&6; }
7675 SED="$ac_cv_path_SED"
7676  rm -f conftest.sed
7677
7678test -z "$SED" && SED=sed
7679Xsed="$SED -e 1s/^X//"
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
7692printf %s "checking for grep that handles long lines and -e... " >&6; }
7693if test ${ac_cv_path_GREP+y}
7694then :
7695  printf %s "(cached) " >&6
7696else $as_nop
7697  if test -z "$GREP"; then
7698  ac_path_GREP_found=false
7699  # Loop through the user's path and test for each of PROGNAME-LIST
7700  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7701for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7702do
7703  IFS=$as_save_IFS
7704  case $as_dir in #(((
7705    '') as_dir=./ ;;
7706    */) ;;
7707    *) as_dir=$as_dir/ ;;
7708  esac
7709    for ac_prog in grep ggrep
7710   do
7711    for ac_exec_ext in '' $ac_executable_extensions; do
7712      ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
7713      as_fn_executable_p "$ac_path_GREP" || continue
7714# Check for GNU ac_path_GREP and select it if it is found.
7715  # Check for GNU $ac_path_GREP
7716case `"$ac_path_GREP" --version 2>&1` in
7717*GNU*)
7718  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
7719*)
7720  ac_count=0
7721  printf %s 0123456789 >"conftest.in"
7722  while :
7723  do
7724    cat "conftest.in" "conftest.in" >"conftest.tmp"
7725    mv "conftest.tmp" "conftest.in"
7726    cp "conftest.in" "conftest.nl"
7727    printf "%s\n" 'GREP' >> "conftest.nl"
7728    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7729    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7730    as_fn_arith $ac_count + 1 && ac_count=$as_val
7731    if test $ac_count -gt ${ac_path_GREP_max-0}; then
7732      # Best one so far, save it but keep looking for a better one
7733      ac_cv_path_GREP="$ac_path_GREP"
7734      ac_path_GREP_max=$ac_count
7735    fi
7736    # 10*(2^10) chars as input seems more than enough
7737    test $ac_count -gt 10 && break
7738  done
7739  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7740esac
7741
7742      $ac_path_GREP_found && break 3
7743    done
7744  done
7745  done
7746IFS=$as_save_IFS
7747  if test -z "$ac_cv_path_GREP"; then
7748    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7749  fi
7750else
7751  ac_cv_path_GREP=$GREP
7752fi
7753
7754fi
7755{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7756printf "%s\n" "$ac_cv_path_GREP" >&6; }
7757 GREP="$ac_cv_path_GREP"
7758
7759
7760{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7761printf %s "checking for egrep... " >&6; }
7762if test ${ac_cv_path_EGREP+y}
7763then :
7764  printf %s "(cached) " >&6
7765else $as_nop
7766  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7767   then ac_cv_path_EGREP="$GREP -E"
7768   else
7769     if test -z "$EGREP"; then
7770  ac_path_EGREP_found=false
7771  # Loop through the user's path and test for each of PROGNAME-LIST
7772  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7773for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7774do
7775  IFS=$as_save_IFS
7776  case $as_dir in #(((
7777    '') as_dir=./ ;;
7778    */) ;;
7779    *) as_dir=$as_dir/ ;;
7780  esac
7781    for ac_prog in egrep
7782   do
7783    for ac_exec_ext in '' $ac_executable_extensions; do
7784      ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
7785      as_fn_executable_p "$ac_path_EGREP" || continue
7786# Check for GNU ac_path_EGREP and select it if it is found.
7787  # Check for GNU $ac_path_EGREP
7788case `"$ac_path_EGREP" --version 2>&1` in
7789*GNU*)
7790  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7791*)
7792  ac_count=0
7793  printf %s 0123456789 >"conftest.in"
7794  while :
7795  do
7796    cat "conftest.in" "conftest.in" >"conftest.tmp"
7797    mv "conftest.tmp" "conftest.in"
7798    cp "conftest.in" "conftest.nl"
7799    printf "%s\n" 'EGREP' >> "conftest.nl"
7800    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7801    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7802    as_fn_arith $ac_count + 1 && ac_count=$as_val
7803    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7804      # Best one so far, save it but keep looking for a better one
7805      ac_cv_path_EGREP="$ac_path_EGREP"
7806      ac_path_EGREP_max=$ac_count
7807    fi
7808    # 10*(2^10) chars as input seems more than enough
7809    test $ac_count -gt 10 && break
7810  done
7811  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7812esac
7813
7814      $ac_path_EGREP_found && break 3
7815    done
7816  done
7817  done
7818IFS=$as_save_IFS
7819  if test -z "$ac_cv_path_EGREP"; then
7820    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7821  fi
7822else
7823  ac_cv_path_EGREP=$EGREP
7824fi
7825
7826   fi
7827fi
7828{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7829printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7830 EGREP="$ac_cv_path_EGREP"
7831
7832
7833{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
7834printf %s "checking for fgrep... " >&6; }
7835if test ${ac_cv_path_FGREP+y}
7836then :
7837  printf %s "(cached) " >&6
7838else $as_nop
7839  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
7840   then ac_cv_path_FGREP="$GREP -F"
7841   else
7842     if test -z "$FGREP"; then
7843  ac_path_FGREP_found=false
7844  # Loop through the user's path and test for each of PROGNAME-LIST
7845  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7846for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7847do
7848  IFS=$as_save_IFS
7849  case $as_dir in #(((
7850    '') as_dir=./ ;;
7851    */) ;;
7852    *) as_dir=$as_dir/ ;;
7853  esac
7854    for ac_prog in fgrep
7855   do
7856    for ac_exec_ext in '' $ac_executable_extensions; do
7857      ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
7858      as_fn_executable_p "$ac_path_FGREP" || continue
7859# Check for GNU ac_path_FGREP and select it if it is found.
7860  # Check for GNU $ac_path_FGREP
7861case `"$ac_path_FGREP" --version 2>&1` in
7862*GNU*)
7863  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
7864*)
7865  ac_count=0
7866  printf %s 0123456789 >"conftest.in"
7867  while :
7868  do
7869    cat "conftest.in" "conftest.in" >"conftest.tmp"
7870    mv "conftest.tmp" "conftest.in"
7871    cp "conftest.in" "conftest.nl"
7872    printf "%s\n" 'FGREP' >> "conftest.nl"
7873    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
7874    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7875    as_fn_arith $ac_count + 1 && ac_count=$as_val
7876    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
7877      # Best one so far, save it but keep looking for a better one
7878      ac_cv_path_FGREP="$ac_path_FGREP"
7879      ac_path_FGREP_max=$ac_count
7880    fi
7881    # 10*(2^10) chars as input seems more than enough
7882    test $ac_count -gt 10 && break
7883  done
7884  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7885esac
7886
7887      $ac_path_FGREP_found && break 3
7888    done
7889  done
7890  done
7891IFS=$as_save_IFS
7892  if test -z "$ac_cv_path_FGREP"; then
7893    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7894  fi
7895else
7896  ac_cv_path_FGREP=$FGREP
7897fi
7898
7899   fi
7900fi
7901{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
7902printf "%s\n" "$ac_cv_path_FGREP" >&6; }
7903 FGREP="$ac_cv_path_FGREP"
7904
7905
7906test -z "$GREP" && GREP=grep
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926# Check whether --with-gnu-ld was given.
7927if test ${with_gnu_ld+y}
7928then :
7929  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
7930else $as_nop
7931  with_gnu_ld=no
7932fi
7933
7934ac_prog=ld
7935if test yes = "$GCC"; then
7936  # Check if gcc -print-prog-name=ld gives a path.
7937  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
7938printf %s "checking for ld used by $CC... " >&6; }
7939  case $host in
7940  *-*-mingw*)
7941    # gcc leaves a trailing carriage return, which upsets mingw
7942    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7943  *)
7944    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
7945  esac
7946  case $ac_prog in
7947    # Accept absolute paths.
7948    [\\/]* | ?:[\\/]*)
7949      re_direlt='/[^/][^/]*/\.\./'
7950      # Canonicalize the pathname of ld
7951      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
7952      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
7953	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
7954      done
7955      test -z "$LD" && LD=$ac_prog
7956      ;;
7957  "")
7958    # If it fails, then pretend we aren't using GCC.
7959    ac_prog=ld
7960    ;;
7961  *)
7962    # If it is relative, then search for the first ld in PATH.
7963    with_gnu_ld=unknown
7964    ;;
7965  esac
7966elif test yes = "$with_gnu_ld"; then
7967  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
7968printf %s "checking for GNU ld... " >&6; }
7969else
7970  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
7971printf %s "checking for non-GNU ld... " >&6; }
7972fi
7973if test ${lt_cv_path_LD+y}
7974then :
7975  printf %s "(cached) " >&6
7976else $as_nop
7977  if test -z "$LD"; then
7978  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
7979  for ac_dir in $PATH; do
7980    IFS=$lt_save_ifs
7981    test -z "$ac_dir" && ac_dir=.
7982    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
7983      lt_cv_path_LD=$ac_dir/$ac_prog
7984      # Check to see if the program is GNU ld.  I'd rather use --version,
7985      # but apparently some variants of GNU ld only accept -v.
7986      # Break only if it was the GNU/non-GNU ld that we prefer.
7987      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
7988      *GNU* | *'with BFD'*)
7989	test no != "$with_gnu_ld" && break
7990	;;
7991      *)
7992	test yes != "$with_gnu_ld" && break
7993	;;
7994      esac
7995    fi
7996  done
7997  IFS=$lt_save_ifs
7998else
7999  lt_cv_path_LD=$LD # Let the user override the test with a path.
8000fi
8001fi
8002
8003LD=$lt_cv_path_LD
8004if test -n "$LD"; then
8005  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
8006printf "%s\n" "$LD" >&6; }
8007else
8008  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8009printf "%s\n" "no" >&6; }
8010fi
8011test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
8012{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
8013printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
8014if test ${lt_cv_prog_gnu_ld+y}
8015then :
8016  printf %s "(cached) " >&6
8017else $as_nop
8018  # I'd rather use --version here, but apparently some GNU lds only accept -v.
8019case `$LD -v 2>&1 </dev/null` in
8020*GNU* | *'with BFD'*)
8021  lt_cv_prog_gnu_ld=yes
8022  ;;
8023*)
8024  lt_cv_prog_gnu_ld=no
8025  ;;
8026esac
8027fi
8028{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
8029printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
8030with_gnu_ld=$lt_cv_prog_gnu_ld
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
8041printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
8042if test ${lt_cv_path_NM+y}
8043then :
8044  printf %s "(cached) " >&6
8045else $as_nop
8046  if test -n "$NM"; then
8047  # Let the user override the test.
8048  lt_cv_path_NM=$NM
8049else
8050  lt_nm_to_check=${ac_tool_prefix}nm
8051  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
8052    lt_nm_to_check="$lt_nm_to_check nm"
8053  fi
8054  for lt_tmp_nm in $lt_nm_to_check; do
8055    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8056    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
8057      IFS=$lt_save_ifs
8058      test -z "$ac_dir" && ac_dir=.
8059      tmp_nm=$ac_dir/$lt_tmp_nm
8060      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
8061	# Check to see if the nm accepts a BSD-compat flag.
8062	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
8063	#   nm: unknown option "B" ignored
8064	# Tru64's nm complains that /dev/null is an invalid object file
8065	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
8066	case $build_os in
8067	mingw*) lt_bad_file=conftest.nm/nofile ;;
8068	*) lt_bad_file=/dev/null ;;
8069	esac
8070	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
8071	*$lt_bad_file* | *'Invalid file or object type'*)
8072	  lt_cv_path_NM="$tmp_nm -B"
8073	  break 2
8074	  ;;
8075	*)
8076	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
8077	  */dev/null*)
8078	    lt_cv_path_NM="$tmp_nm -p"
8079	    break 2
8080	    ;;
8081	  *)
8082	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
8083	    continue # so that we can try to find one that supports BSD flags
8084	    ;;
8085	  esac
8086	  ;;
8087	esac
8088      fi
8089    done
8090    IFS=$lt_save_ifs
8091  done
8092  : ${lt_cv_path_NM=no}
8093fi
8094fi
8095{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
8096printf "%s\n" "$lt_cv_path_NM" >&6; }
8097if test no != "$lt_cv_path_NM"; then
8098  NM=$lt_cv_path_NM
8099else
8100  # Didn't find any BSD compatible name lister, look for dumpbin.
8101  if test -n "$DUMPBIN"; then :
8102    # Let the user override the test.
8103  else
8104    if test -n "$ac_tool_prefix"; then
8105  for ac_prog in dumpbin "link -dump"
8106  do
8107    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8108set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8109{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8110printf %s "checking for $ac_word... " >&6; }
8111if test ${ac_cv_prog_DUMPBIN+y}
8112then :
8113  printf %s "(cached) " >&6
8114else $as_nop
8115  if test -n "$DUMPBIN"; then
8116  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
8117else
8118as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8119for as_dir in $PATH
8120do
8121  IFS=$as_save_IFS
8122  case $as_dir in #(((
8123    '') as_dir=./ ;;
8124    */) ;;
8125    *) as_dir=$as_dir/ ;;
8126  esac
8127    for ac_exec_ext in '' $ac_executable_extensions; do
8128  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8129    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
8130    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8131    break 2
8132  fi
8133done
8134  done
8135IFS=$as_save_IFS
8136
8137fi
8138fi
8139DUMPBIN=$ac_cv_prog_DUMPBIN
8140if test -n "$DUMPBIN"; then
8141  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
8142printf "%s\n" "$DUMPBIN" >&6; }
8143else
8144  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8145printf "%s\n" "no" >&6; }
8146fi
8147
8148
8149    test -n "$DUMPBIN" && break
8150  done
8151fi
8152if test -z "$DUMPBIN"; then
8153  ac_ct_DUMPBIN=$DUMPBIN
8154  for ac_prog in dumpbin "link -dump"
8155do
8156  # Extract the first word of "$ac_prog", so it can be a program name with args.
8157set dummy $ac_prog; ac_word=$2
8158{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8159printf %s "checking for $ac_word... " >&6; }
8160if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
8161then :
8162  printf %s "(cached) " >&6
8163else $as_nop
8164  if test -n "$ac_ct_DUMPBIN"; then
8165  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
8166else
8167as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8168for as_dir in $PATH
8169do
8170  IFS=$as_save_IFS
8171  case $as_dir in #(((
8172    '') as_dir=./ ;;
8173    */) ;;
8174    *) as_dir=$as_dir/ ;;
8175  esac
8176    for ac_exec_ext in '' $ac_executable_extensions; do
8177  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8178    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
8179    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8180    break 2
8181  fi
8182done
8183  done
8184IFS=$as_save_IFS
8185
8186fi
8187fi
8188ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
8189if test -n "$ac_ct_DUMPBIN"; then
8190  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
8191printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
8192else
8193  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8194printf "%s\n" "no" >&6; }
8195fi
8196
8197
8198  test -n "$ac_ct_DUMPBIN" && break
8199done
8200
8201  if test "x$ac_ct_DUMPBIN" = x; then
8202    DUMPBIN=":"
8203  else
8204    case $cross_compiling:$ac_tool_warned in
8205yes:)
8206{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8207printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8208ac_tool_warned=yes ;;
8209esac
8210    DUMPBIN=$ac_ct_DUMPBIN
8211  fi
8212fi
8213
8214    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
8215    *COFF*)
8216      DUMPBIN="$DUMPBIN -symbols -headers"
8217      ;;
8218    *)
8219      DUMPBIN=:
8220      ;;
8221    esac
8222  fi
8223
8224  if test : != "$DUMPBIN"; then
8225    NM=$DUMPBIN
8226  fi
8227fi
8228test -z "$NM" && NM=nm
8229
8230
8231
8232
8233
8234
8235{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
8236printf %s "checking the name lister ($NM) interface... " >&6; }
8237if test ${lt_cv_nm_interface+y}
8238then :
8239  printf %s "(cached) " >&6
8240else $as_nop
8241  lt_cv_nm_interface="BSD nm"
8242  echo "int some_variable = 0;" > conftest.$ac_ext
8243  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
8244  (eval "$ac_compile" 2>conftest.err)
8245  cat conftest.err >&5
8246  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
8247  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
8248  cat conftest.err >&5
8249  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
8250  cat conftest.out >&5
8251  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
8252    lt_cv_nm_interface="MS dumpbin"
8253  fi
8254  rm -f conftest*
8255fi
8256{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
8257printf "%s\n" "$lt_cv_nm_interface" >&6; }
8258
8259{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
8260printf %s "checking whether ln -s works... " >&6; }
8261LN_S=$as_ln_s
8262if test "$LN_S" = "ln -s"; then
8263  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8264printf "%s\n" "yes" >&6; }
8265else
8266  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
8267printf "%s\n" "no, using $LN_S" >&6; }
8268fi
8269
8270# find the maximum length of command line arguments
8271{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
8272printf %s "checking the maximum length of command line arguments... " >&6; }
8273if test ${lt_cv_sys_max_cmd_len+y}
8274then :
8275  printf %s "(cached) " >&6
8276else $as_nop
8277    i=0
8278  teststring=ABCD
8279
8280  case $build_os in
8281  msdosdjgpp*)
8282    # On DJGPP, this test can blow up pretty badly due to problems in libc
8283    # (any single argument exceeding 2000 bytes causes a buffer overrun
8284    # during glob expansion).  Even if it were fixed, the result of this
8285    # check would be larger than it should be.
8286    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
8287    ;;
8288
8289  gnu*)
8290    # Under GNU Hurd, this test is not required because there is
8291    # no limit to the length of command line arguments.
8292    # Libtool will interpret -1 as no limit whatsoever
8293    lt_cv_sys_max_cmd_len=-1;
8294    ;;
8295
8296  cygwin* | mingw* | cegcc*)
8297    # On Win9x/ME, this test blows up -- it succeeds, but takes
8298    # about 5 minutes as the teststring grows exponentially.
8299    # Worse, since 9x/ME are not pre-emptively multitasking,
8300    # you end up with a "frozen" computer, even though with patience
8301    # the test eventually succeeds (with a max line length of 256k).
8302    # Instead, let's just punt: use the minimum linelength reported by
8303    # all of the supported platforms: 8192 (on NT/2K/XP).
8304    lt_cv_sys_max_cmd_len=8192;
8305    ;;
8306
8307  mint*)
8308    # On MiNT this can take a long time and run out of memory.
8309    lt_cv_sys_max_cmd_len=8192;
8310    ;;
8311
8312  amigaos*)
8313    # On AmigaOS with pdksh, this test takes hours, literally.
8314    # So we just punt and use a minimum line length of 8192.
8315    lt_cv_sys_max_cmd_len=8192;
8316    ;;
8317
8318  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
8319    # This has been around since 386BSD, at least.  Likely further.
8320    if test -x /sbin/sysctl; then
8321      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
8322    elif test -x /usr/sbin/sysctl; then
8323      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
8324    else
8325      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
8326    fi
8327    # And add a safety zone
8328    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
8329    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
8330    ;;
8331
8332  interix*)
8333    # We know the value 262144 and hardcode it with a safety zone (like BSD)
8334    lt_cv_sys_max_cmd_len=196608
8335    ;;
8336
8337  os2*)
8338    # The test takes a long time on OS/2.
8339    lt_cv_sys_max_cmd_len=8192
8340    ;;
8341
8342  osf*)
8343    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
8344    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
8345    # nice to cause kernel panics so lets avoid the loop below.
8346    # First set a reasonable default.
8347    lt_cv_sys_max_cmd_len=16384
8348    #
8349    if test -x /sbin/sysconfig; then
8350      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
8351        *1*) lt_cv_sys_max_cmd_len=-1 ;;
8352      esac
8353    fi
8354    ;;
8355  sco3.2v5*)
8356    lt_cv_sys_max_cmd_len=102400
8357    ;;
8358  sysv5* | sco5v6* | sysv4.2uw2*)
8359    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
8360    if test -n "$kargmax"; then
8361      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
8362    else
8363      lt_cv_sys_max_cmd_len=32768
8364    fi
8365    ;;
8366  *)
8367    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
8368    if test -n "$lt_cv_sys_max_cmd_len" && \
8369       test undefined != "$lt_cv_sys_max_cmd_len"; then
8370      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
8371      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
8372    else
8373      # Make teststring a little bigger before we do anything with it.
8374      # a 1K string should be a reasonable start.
8375      for i in 1 2 3 4 5 6 7 8; do
8376        teststring=$teststring$teststring
8377      done
8378      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
8379      # If test is not a shell built-in, we'll probably end up computing a
8380      # maximum length that is only half of the actual maximum length, but
8381      # we can't tell.
8382      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
8383	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
8384	      test 17 != "$i" # 1/2 MB should be enough
8385      do
8386        i=`expr $i + 1`
8387        teststring=$teststring$teststring
8388      done
8389      # Only check the string length outside the loop.
8390      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
8391      teststring=
8392      # Add a significant safety factor because C++ compilers can tack on
8393      # massive amounts of additional arguments before passing them to the
8394      # linker.  It appears as though 1/2 is a usable value.
8395      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
8396    fi
8397    ;;
8398  esac
8399
8400fi
8401
8402if test -n "$lt_cv_sys_max_cmd_len"; then
8403  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
8404printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
8405else
8406  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
8407printf "%s\n" "none" >&6; }
8408fi
8409max_cmd_len=$lt_cv_sys_max_cmd_len
8410
8411
8412
8413
8414
8415
8416: ${CP="cp -f"}
8417: ${MV="mv -f"}
8418: ${RM="rm -f"}
8419
8420if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
8421  lt_unset=unset
8422else
8423  lt_unset=false
8424fi
8425
8426
8427
8428
8429
8430# test EBCDIC or ASCII
8431case `echo X|tr X '\101'` in
8432 A) # ASCII based system
8433    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
8434  lt_SP2NL='tr \040 \012'
8435  lt_NL2SP='tr \015\012 \040\040'
8436  ;;
8437 *) # EBCDIC based system
8438  lt_SP2NL='tr \100 \n'
8439  lt_NL2SP='tr \r\n \100\100'
8440  ;;
8441esac
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
8452printf %s "checking how to convert $build file names to $host format... " >&6; }
8453if test ${lt_cv_to_host_file_cmd+y}
8454then :
8455  printf %s "(cached) " >&6
8456else $as_nop
8457  case $host in
8458  *-*-mingw* )
8459    case $build in
8460      *-*-mingw* ) # actually msys
8461        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
8462        ;;
8463      *-*-cygwin* )
8464        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
8465        ;;
8466      * ) # otherwise, assume *nix
8467        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
8468        ;;
8469    esac
8470    ;;
8471  *-*-cygwin* )
8472    case $build in
8473      *-*-mingw* ) # actually msys
8474        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
8475        ;;
8476      *-*-cygwin* )
8477        lt_cv_to_host_file_cmd=func_convert_file_noop
8478        ;;
8479      * ) # otherwise, assume *nix
8480        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
8481        ;;
8482    esac
8483    ;;
8484  * ) # unhandled hosts (and "normal" native builds)
8485    lt_cv_to_host_file_cmd=func_convert_file_noop
8486    ;;
8487esac
8488
8489fi
8490
8491to_host_file_cmd=$lt_cv_to_host_file_cmd
8492{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
8493printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
8494
8495
8496
8497
8498
8499{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
8500printf %s "checking how to convert $build file names to toolchain format... " >&6; }
8501if test ${lt_cv_to_tool_file_cmd+y}
8502then :
8503  printf %s "(cached) " >&6
8504else $as_nop
8505  #assume ordinary cross tools, or native build.
8506lt_cv_to_tool_file_cmd=func_convert_file_noop
8507case $host in
8508  *-*-mingw* )
8509    case $build in
8510      *-*-mingw* ) # actually msys
8511        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
8512        ;;
8513    esac
8514    ;;
8515esac
8516
8517fi
8518
8519to_tool_file_cmd=$lt_cv_to_tool_file_cmd
8520{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
8521printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
8522
8523
8524
8525
8526
8527{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
8528printf %s "checking for $LD option to reload object files... " >&6; }
8529if test ${lt_cv_ld_reload_flag+y}
8530then :
8531  printf %s "(cached) " >&6
8532else $as_nop
8533  lt_cv_ld_reload_flag='-r'
8534fi
8535{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
8536printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
8537reload_flag=$lt_cv_ld_reload_flag
8538case $reload_flag in
8539"" | " "*) ;;
8540*) reload_flag=" $reload_flag" ;;
8541esac
8542reload_cmds='$LD$reload_flag -o $output$reload_objs'
8543case $host_os in
8544  cygwin* | mingw* | pw32* | cegcc*)
8545    if test yes != "$GCC"; then
8546      reload_cmds=false
8547    fi
8548    ;;
8549  darwin*)
8550    if test yes = "$GCC"; then
8551      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
8552    else
8553      reload_cmds='$LD$reload_flag -o $output$reload_objs'
8554    fi
8555    ;;
8556esac
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566if test -n "$ac_tool_prefix"; then
8567  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
8568set dummy ${ac_tool_prefix}objdump; ac_word=$2
8569{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8570printf %s "checking for $ac_word... " >&6; }
8571if test ${ac_cv_prog_OBJDUMP+y}
8572then :
8573  printf %s "(cached) " >&6
8574else $as_nop
8575  if test -n "$OBJDUMP"; then
8576  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8577else
8578as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8579for as_dir in $PATH
8580do
8581  IFS=$as_save_IFS
8582  case $as_dir in #(((
8583    '') as_dir=./ ;;
8584    */) ;;
8585    *) as_dir=$as_dir/ ;;
8586  esac
8587    for ac_exec_ext in '' $ac_executable_extensions; do
8588  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8589    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
8590    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8591    break 2
8592  fi
8593done
8594  done
8595IFS=$as_save_IFS
8596
8597fi
8598fi
8599OBJDUMP=$ac_cv_prog_OBJDUMP
8600if test -n "$OBJDUMP"; then
8601  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
8602printf "%s\n" "$OBJDUMP" >&6; }
8603else
8604  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8605printf "%s\n" "no" >&6; }
8606fi
8607
8608
8609fi
8610if test -z "$ac_cv_prog_OBJDUMP"; then
8611  ac_ct_OBJDUMP=$OBJDUMP
8612  # Extract the first word of "objdump", so it can be a program name with args.
8613set dummy objdump; ac_word=$2
8614{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8615printf %s "checking for $ac_word... " >&6; }
8616if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
8617then :
8618  printf %s "(cached) " >&6
8619else $as_nop
8620  if test -n "$ac_ct_OBJDUMP"; then
8621  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
8622else
8623as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8624for as_dir in $PATH
8625do
8626  IFS=$as_save_IFS
8627  case $as_dir in #(((
8628    '') as_dir=./ ;;
8629    */) ;;
8630    *) as_dir=$as_dir/ ;;
8631  esac
8632    for ac_exec_ext in '' $ac_executable_extensions; do
8633  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8634    ac_cv_prog_ac_ct_OBJDUMP="objdump"
8635    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8636    break 2
8637  fi
8638done
8639  done
8640IFS=$as_save_IFS
8641
8642fi
8643fi
8644ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
8645if test -n "$ac_ct_OBJDUMP"; then
8646  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8647printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
8648else
8649  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8650printf "%s\n" "no" >&6; }
8651fi
8652
8653  if test "x$ac_ct_OBJDUMP" = x; then
8654    OBJDUMP="false"
8655  else
8656    case $cross_compiling:$ac_tool_warned in
8657yes:)
8658{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8659printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8660ac_tool_warned=yes ;;
8661esac
8662    OBJDUMP=$ac_ct_OBJDUMP
8663  fi
8664else
8665  OBJDUMP="$ac_cv_prog_OBJDUMP"
8666fi
8667
8668test -z "$OBJDUMP" && OBJDUMP=objdump
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
8679printf %s "checking how to recognize dependent libraries... " >&6; }
8680if test ${lt_cv_deplibs_check_method+y}
8681then :
8682  printf %s "(cached) " >&6
8683else $as_nop
8684  lt_cv_file_magic_cmd='$MAGIC_CMD'
8685lt_cv_file_magic_test_file=
8686lt_cv_deplibs_check_method='unknown'
8687# Need to set the preceding variable on all platforms that support
8688# interlibrary dependencies.
8689# 'none' -- dependencies not supported.
8690# 'unknown' -- same as none, but documents that we really don't know.
8691# 'pass_all' -- all dependencies passed with no checks.
8692# 'test_compile' -- check by making test program.
8693# 'file_magic [[regex]]' -- check by looking for files in library path
8694# that responds to the $file_magic_cmd with a given extended regex.
8695# If you have 'file' or equivalent on your system and you're not sure
8696# whether 'pass_all' will *always* work, you probably want this one.
8697
8698case $host_os in
8699aix[4-9]*)
8700  lt_cv_deplibs_check_method=pass_all
8701  ;;
8702
8703beos*)
8704  lt_cv_deplibs_check_method=pass_all
8705  ;;
8706
8707bsdi[45]*)
8708  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
8709  lt_cv_file_magic_cmd='/usr/bin/file -L'
8710  lt_cv_file_magic_test_file=/shlib/libc.so
8711  ;;
8712
8713cygwin*)
8714  # func_win32_libid is a shell function defined in ltmain.sh
8715  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
8716  lt_cv_file_magic_cmd='func_win32_libid'
8717  ;;
8718
8719mingw* | pw32*)
8720  # Base MSYS/MinGW do not provide the 'file' command needed by
8721  # func_win32_libid shell function, so use a weaker test based on 'objdump',
8722  # unless we find 'file', for example because we are cross-compiling.
8723  if ( file / ) >/dev/null 2>&1; then
8724    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
8725    lt_cv_file_magic_cmd='func_win32_libid'
8726  else
8727    # Keep this pattern in sync with the one in func_win32_libid.
8728    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
8729    lt_cv_file_magic_cmd='$OBJDUMP -f'
8730  fi
8731  ;;
8732
8733cegcc*)
8734  # use the weaker test based on 'objdump'. See mingw*.
8735  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
8736  lt_cv_file_magic_cmd='$OBJDUMP -f'
8737  ;;
8738
8739darwin* | rhapsody*)
8740  lt_cv_deplibs_check_method=pass_all
8741  ;;
8742
8743freebsd* | dragonfly*)
8744  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
8745    case $host_cpu in
8746    i*86 )
8747      # Not sure whether the presence of OpenBSD here was a mistake.
8748      # Let's accept both of them until this is cleared up.
8749      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
8750      lt_cv_file_magic_cmd=/usr/bin/file
8751      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
8752      ;;
8753    esac
8754  else
8755    lt_cv_deplibs_check_method=pass_all
8756  fi
8757  ;;
8758
8759haiku*)
8760  lt_cv_deplibs_check_method=pass_all
8761  ;;
8762
8763hpux10.20* | hpux11*)
8764  lt_cv_file_magic_cmd=/usr/bin/file
8765  case $host_cpu in
8766  ia64*)
8767    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
8768    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
8769    ;;
8770  hppa*64*)
8771    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]'
8772    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
8773    ;;
8774  *)
8775    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
8776    lt_cv_file_magic_test_file=/usr/lib/libc.sl
8777    ;;
8778  esac
8779  ;;
8780
8781interix[3-9]*)
8782  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
8783  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
8784  ;;
8785
8786irix5* | irix6* | nonstopux*)
8787  case $LD in
8788  *-32|*"-32 ") libmagic=32-bit;;
8789  *-n32|*"-n32 ") libmagic=N32;;
8790  *-64|*"-64 ") libmagic=64-bit;;
8791  *) libmagic=never-match;;
8792  esac
8793  lt_cv_deplibs_check_method=pass_all
8794  ;;
8795
8796# This must be glibc/ELF.
8797linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8798  lt_cv_deplibs_check_method=pass_all
8799  ;;
8800
8801netbsd*)
8802  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
8803    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8804  else
8805    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
8806  fi
8807  ;;
8808
8809newos6*)
8810  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
8811  lt_cv_file_magic_cmd=/usr/bin/file
8812  lt_cv_file_magic_test_file=/usr/lib/libnls.so
8813  ;;
8814
8815*nto* | *qnx*)
8816  lt_cv_deplibs_check_method=pass_all
8817  ;;
8818
8819openbsd* | bitrig*)
8820  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
8821    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
8822  else
8823    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8824  fi
8825  ;;
8826
8827osf3* | osf4* | osf5*)
8828  lt_cv_deplibs_check_method=pass_all
8829  ;;
8830
8831rdos*)
8832  lt_cv_deplibs_check_method=pass_all
8833  ;;
8834
8835solaris*)
8836  lt_cv_deplibs_check_method=pass_all
8837  ;;
8838
8839sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
8840  lt_cv_deplibs_check_method=pass_all
8841  ;;
8842
8843sysv4 | sysv4.3*)
8844  case $host_vendor in
8845  motorola)
8846    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]'
8847    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
8848    ;;
8849  ncr)
8850    lt_cv_deplibs_check_method=pass_all
8851    ;;
8852  sequent)
8853    lt_cv_file_magic_cmd='/bin/file'
8854    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
8855    ;;
8856  sni)
8857    lt_cv_file_magic_cmd='/bin/file'
8858    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
8859    lt_cv_file_magic_test_file=/lib/libc.so
8860    ;;
8861  siemens)
8862    lt_cv_deplibs_check_method=pass_all
8863    ;;
8864  pc)
8865    lt_cv_deplibs_check_method=pass_all
8866    ;;
8867  esac
8868  ;;
8869
8870tpf*)
8871  lt_cv_deplibs_check_method=pass_all
8872  ;;
8873os2*)
8874  lt_cv_deplibs_check_method=pass_all
8875  ;;
8876esac
8877
8878fi
8879{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
8880printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
8881
8882file_magic_glob=
8883want_nocaseglob=no
8884if test "$build" = "$host"; then
8885  case $host_os in
8886  mingw* | pw32*)
8887    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
8888      want_nocaseglob=yes
8889    else
8890      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
8891    fi
8892    ;;
8893  esac
8894fi
8895
8896file_magic_cmd=$lt_cv_file_magic_cmd
8897deplibs_check_method=$lt_cv_deplibs_check_method
8898test -z "$deplibs_check_method" && deplibs_check_method=unknown
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921if test -n "$ac_tool_prefix"; then
8922  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8923set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8924{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8925printf %s "checking for $ac_word... " >&6; }
8926if test ${ac_cv_prog_DLLTOOL+y}
8927then :
8928  printf %s "(cached) " >&6
8929else $as_nop
8930  if test -n "$DLLTOOL"; then
8931  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8932else
8933as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8934for as_dir in $PATH
8935do
8936  IFS=$as_save_IFS
8937  case $as_dir in #(((
8938    '') as_dir=./ ;;
8939    */) ;;
8940    *) as_dir=$as_dir/ ;;
8941  esac
8942    for ac_exec_ext in '' $ac_executable_extensions; do
8943  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8944    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8945    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8946    break 2
8947  fi
8948done
8949  done
8950IFS=$as_save_IFS
8951
8952fi
8953fi
8954DLLTOOL=$ac_cv_prog_DLLTOOL
8955if test -n "$DLLTOOL"; then
8956  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8957printf "%s\n" "$DLLTOOL" >&6; }
8958else
8959  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8960printf "%s\n" "no" >&6; }
8961fi
8962
8963
8964fi
8965if test -z "$ac_cv_prog_DLLTOOL"; then
8966  ac_ct_DLLTOOL=$DLLTOOL
8967  # Extract the first word of "dlltool", so it can be a program name with args.
8968set dummy dlltool; ac_word=$2
8969{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8970printf %s "checking for $ac_word... " >&6; }
8971if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
8972then :
8973  printf %s "(cached) " >&6
8974else $as_nop
8975  if test -n "$ac_ct_DLLTOOL"; then
8976  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8977else
8978as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8979for as_dir in $PATH
8980do
8981  IFS=$as_save_IFS
8982  case $as_dir in #(((
8983    '') as_dir=./ ;;
8984    */) ;;
8985    *) as_dir=$as_dir/ ;;
8986  esac
8987    for ac_exec_ext in '' $ac_executable_extensions; do
8988  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8989    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8990    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8991    break 2
8992  fi
8993done
8994  done
8995IFS=$as_save_IFS
8996
8997fi
8998fi
8999ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
9000if test -n "$ac_ct_DLLTOOL"; then
9001  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
9002printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
9003else
9004  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9005printf "%s\n" "no" >&6; }
9006fi
9007
9008  if test "x$ac_ct_DLLTOOL" = x; then
9009    DLLTOOL="false"
9010  else
9011    case $cross_compiling:$ac_tool_warned in
9012yes:)
9013{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9014printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9015ac_tool_warned=yes ;;
9016esac
9017    DLLTOOL=$ac_ct_DLLTOOL
9018  fi
9019else
9020  DLLTOOL="$ac_cv_prog_DLLTOOL"
9021fi
9022
9023test -z "$DLLTOOL" && DLLTOOL=dlltool
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
9035printf %s "checking how to associate runtime and link libraries... " >&6; }
9036if test ${lt_cv_sharedlib_from_linklib_cmd+y}
9037then :
9038  printf %s "(cached) " >&6
9039else $as_nop
9040  lt_cv_sharedlib_from_linklib_cmd='unknown'
9041
9042case $host_os in
9043cygwin* | mingw* | pw32* | cegcc*)
9044  # two different shell functions defined in ltmain.sh;
9045  # decide which one to use based on capabilities of $DLLTOOL
9046  case `$DLLTOOL --help 2>&1` in
9047  *--identify-strict*)
9048    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
9049    ;;
9050  *)
9051    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
9052    ;;
9053  esac
9054  ;;
9055*)
9056  # fallback: assume linklib IS sharedlib
9057  lt_cv_sharedlib_from_linklib_cmd=$ECHO
9058  ;;
9059esac
9060
9061fi
9062{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
9063printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
9064sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
9065test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
9066
9067
9068
9069
9070
9071
9072
9073
9074if test -n "$ac_tool_prefix"; then
9075  for ac_prog in ar
9076  do
9077    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9078set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9079{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9080printf %s "checking for $ac_word... " >&6; }
9081if test ${ac_cv_prog_AR+y}
9082then :
9083  printf %s "(cached) " >&6
9084else $as_nop
9085  if test -n "$AR"; then
9086  ac_cv_prog_AR="$AR" # Let the user override the test.
9087else
9088as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9089for as_dir in $PATH
9090do
9091  IFS=$as_save_IFS
9092  case $as_dir in #(((
9093    '') as_dir=./ ;;
9094    */) ;;
9095    *) as_dir=$as_dir/ ;;
9096  esac
9097    for ac_exec_ext in '' $ac_executable_extensions; do
9098  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9099    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
9100    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9101    break 2
9102  fi
9103done
9104  done
9105IFS=$as_save_IFS
9106
9107fi
9108fi
9109AR=$ac_cv_prog_AR
9110if test -n "$AR"; then
9111  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
9112printf "%s\n" "$AR" >&6; }
9113else
9114  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9115printf "%s\n" "no" >&6; }
9116fi
9117
9118
9119    test -n "$AR" && break
9120  done
9121fi
9122if test -z "$AR"; then
9123  ac_ct_AR=$AR
9124  for ac_prog in ar
9125do
9126  # Extract the first word of "$ac_prog", so it can be a program name with args.
9127set dummy $ac_prog; ac_word=$2
9128{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9129printf %s "checking for $ac_word... " >&6; }
9130if test ${ac_cv_prog_ac_ct_AR+y}
9131then :
9132  printf %s "(cached) " >&6
9133else $as_nop
9134  if test -n "$ac_ct_AR"; then
9135  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
9136else
9137as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9138for as_dir in $PATH
9139do
9140  IFS=$as_save_IFS
9141  case $as_dir in #(((
9142    '') as_dir=./ ;;
9143    */) ;;
9144    *) as_dir=$as_dir/ ;;
9145  esac
9146    for ac_exec_ext in '' $ac_executable_extensions; do
9147  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9148    ac_cv_prog_ac_ct_AR="$ac_prog"
9149    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9150    break 2
9151  fi
9152done
9153  done
9154IFS=$as_save_IFS
9155
9156fi
9157fi
9158ac_ct_AR=$ac_cv_prog_ac_ct_AR
9159if test -n "$ac_ct_AR"; then
9160  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
9161printf "%s\n" "$ac_ct_AR" >&6; }
9162else
9163  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9164printf "%s\n" "no" >&6; }
9165fi
9166
9167
9168  test -n "$ac_ct_AR" && break
9169done
9170
9171  if test "x$ac_ct_AR" = x; then
9172    AR="false"
9173  else
9174    case $cross_compiling:$ac_tool_warned in
9175yes:)
9176{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9177printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9178ac_tool_warned=yes ;;
9179esac
9180    AR=$ac_ct_AR
9181  fi
9182fi
9183
9184: ${AR=ar}
9185: ${AR_FLAGS=cru}
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
9198printf %s "checking for archiver @FILE support... " >&6; }
9199if test ${lt_cv_ar_at_file+y}
9200then :
9201  printf %s "(cached) " >&6
9202else $as_nop
9203  lt_cv_ar_at_file=no
9204   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9205/* end confdefs.h.  */
9206
9207int
9208main (void)
9209{
9210
9211  ;
9212  return 0;
9213}
9214_ACEOF
9215if ac_fn_c_try_compile "$LINENO"
9216then :
9217  echo conftest.$ac_objext > conftest.lst
9218      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
9219      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
9220  (eval $lt_ar_try) 2>&5
9221  ac_status=$?
9222  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9223  test $ac_status = 0; }
9224      if test 0 -eq "$ac_status"; then
9225	# Ensure the archiver fails upon bogus file names.
9226	rm -f conftest.$ac_objext libconftest.a
9227	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
9228  (eval $lt_ar_try) 2>&5
9229  ac_status=$?
9230  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9231  test $ac_status = 0; }
9232	if test 0 -ne "$ac_status"; then
9233          lt_cv_ar_at_file=@
9234        fi
9235      fi
9236      rm -f conftest.* libconftest.a
9237
9238fi
9239rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9240
9241fi
9242{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
9243printf "%s\n" "$lt_cv_ar_at_file" >&6; }
9244
9245if test no = "$lt_cv_ar_at_file"; then
9246  archiver_list_spec=
9247else
9248  archiver_list_spec=$lt_cv_ar_at_file
9249fi
9250
9251
9252
9253
9254
9255
9256
9257if test -n "$ac_tool_prefix"; then
9258  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
9259set dummy ${ac_tool_prefix}strip; ac_word=$2
9260{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9261printf %s "checking for $ac_word... " >&6; }
9262if test ${ac_cv_prog_STRIP+y}
9263then :
9264  printf %s "(cached) " >&6
9265else $as_nop
9266  if test -n "$STRIP"; then
9267  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9268else
9269as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9270for as_dir in $PATH
9271do
9272  IFS=$as_save_IFS
9273  case $as_dir in #(((
9274    '') as_dir=./ ;;
9275    */) ;;
9276    *) as_dir=$as_dir/ ;;
9277  esac
9278    for ac_exec_ext in '' $ac_executable_extensions; do
9279  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9280    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
9281    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9282    break 2
9283  fi
9284done
9285  done
9286IFS=$as_save_IFS
9287
9288fi
9289fi
9290STRIP=$ac_cv_prog_STRIP
9291if test -n "$STRIP"; then
9292  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
9293printf "%s\n" "$STRIP" >&6; }
9294else
9295  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9296printf "%s\n" "no" >&6; }
9297fi
9298
9299
9300fi
9301if test -z "$ac_cv_prog_STRIP"; then
9302  ac_ct_STRIP=$STRIP
9303  # Extract the first word of "strip", so it can be a program name with args.
9304set dummy strip; ac_word=$2
9305{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9306printf %s "checking for $ac_word... " >&6; }
9307if test ${ac_cv_prog_ac_ct_STRIP+y}
9308then :
9309  printf %s "(cached) " >&6
9310else $as_nop
9311  if test -n "$ac_ct_STRIP"; then
9312  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
9313else
9314as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9315for as_dir in $PATH
9316do
9317  IFS=$as_save_IFS
9318  case $as_dir in #(((
9319    '') as_dir=./ ;;
9320    */) ;;
9321    *) as_dir=$as_dir/ ;;
9322  esac
9323    for ac_exec_ext in '' $ac_executable_extensions; do
9324  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9325    ac_cv_prog_ac_ct_STRIP="strip"
9326    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9327    break 2
9328  fi
9329done
9330  done
9331IFS=$as_save_IFS
9332
9333fi
9334fi
9335ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
9336if test -n "$ac_ct_STRIP"; then
9337  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
9338printf "%s\n" "$ac_ct_STRIP" >&6; }
9339else
9340  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9341printf "%s\n" "no" >&6; }
9342fi
9343
9344  if test "x$ac_ct_STRIP" = x; then
9345    STRIP=":"
9346  else
9347    case $cross_compiling:$ac_tool_warned in
9348yes:)
9349{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9350printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9351ac_tool_warned=yes ;;
9352esac
9353    STRIP=$ac_ct_STRIP
9354  fi
9355else
9356  STRIP="$ac_cv_prog_STRIP"
9357fi
9358
9359test -z "$STRIP" && STRIP=:
9360
9361
9362
9363
9364
9365
9366if test -n "$ac_tool_prefix"; then
9367  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
9368set dummy ${ac_tool_prefix}ranlib; ac_word=$2
9369{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9370printf %s "checking for $ac_word... " >&6; }
9371if test ${ac_cv_prog_RANLIB+y}
9372then :
9373  printf %s "(cached) " >&6
9374else $as_nop
9375  if test -n "$RANLIB"; then
9376  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9377else
9378as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9379for as_dir in $PATH
9380do
9381  IFS=$as_save_IFS
9382  case $as_dir in #(((
9383    '') as_dir=./ ;;
9384    */) ;;
9385    *) as_dir=$as_dir/ ;;
9386  esac
9387    for ac_exec_ext in '' $ac_executable_extensions; do
9388  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9389    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
9390    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9391    break 2
9392  fi
9393done
9394  done
9395IFS=$as_save_IFS
9396
9397fi
9398fi
9399RANLIB=$ac_cv_prog_RANLIB
9400if test -n "$RANLIB"; then
9401  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
9402printf "%s\n" "$RANLIB" >&6; }
9403else
9404  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9405printf "%s\n" "no" >&6; }
9406fi
9407
9408
9409fi
9410if test -z "$ac_cv_prog_RANLIB"; then
9411  ac_ct_RANLIB=$RANLIB
9412  # Extract the first word of "ranlib", so it can be a program name with args.
9413set dummy ranlib; ac_word=$2
9414{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9415printf %s "checking for $ac_word... " >&6; }
9416if test ${ac_cv_prog_ac_ct_RANLIB+y}
9417then :
9418  printf %s "(cached) " >&6
9419else $as_nop
9420  if test -n "$ac_ct_RANLIB"; then
9421  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
9422else
9423as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9424for as_dir in $PATH
9425do
9426  IFS=$as_save_IFS
9427  case $as_dir in #(((
9428    '') as_dir=./ ;;
9429    */) ;;
9430    *) as_dir=$as_dir/ ;;
9431  esac
9432    for ac_exec_ext in '' $ac_executable_extensions; do
9433  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9434    ac_cv_prog_ac_ct_RANLIB="ranlib"
9435    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9436    break 2
9437  fi
9438done
9439  done
9440IFS=$as_save_IFS
9441
9442fi
9443fi
9444ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
9445if test -n "$ac_ct_RANLIB"; then
9446  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
9447printf "%s\n" "$ac_ct_RANLIB" >&6; }
9448else
9449  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9450printf "%s\n" "no" >&6; }
9451fi
9452
9453  if test "x$ac_ct_RANLIB" = x; then
9454    RANLIB=":"
9455  else
9456    case $cross_compiling:$ac_tool_warned in
9457yes:)
9458{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9459printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9460ac_tool_warned=yes ;;
9461esac
9462    RANLIB=$ac_ct_RANLIB
9463  fi
9464else
9465  RANLIB="$ac_cv_prog_RANLIB"
9466fi
9467
9468test -z "$RANLIB" && RANLIB=:
9469
9470
9471
9472
9473
9474
9475# Determine commands to create old-style static archives.
9476old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
9477old_postinstall_cmds='chmod 644 $oldlib'
9478old_postuninstall_cmds=
9479
9480if test -n "$RANLIB"; then
9481  case $host_os in
9482  bitrig* | openbsd*)
9483    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
9484    ;;
9485  *)
9486    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
9487    ;;
9488  esac
9489  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
9490fi
9491
9492case $host_os in
9493  darwin*)
9494    lock_old_archive_extraction=yes ;;
9495  *)
9496    lock_old_archive_extraction=no ;;
9497esac
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537# If no C compiler was specified, use CC.
9538LTCC=${LTCC-"$CC"}
9539
9540# If no C compiler flags were specified, use CFLAGS.
9541LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9542
9543# Allow CC to be a program name with arguments.
9544compiler=$CC
9545
9546
9547# Check for command to grab the raw symbol name followed by C symbol from nm.
9548{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
9549printf %s "checking command to parse $NM output from $compiler object... " >&6; }
9550if test ${lt_cv_sys_global_symbol_pipe+y}
9551then :
9552  printf %s "(cached) " >&6
9553else $as_nop
9554
9555# These are sane defaults that work on at least a few old systems.
9556# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
9557
9558# Character class describing NM global symbol codes.
9559symcode='[BCDEGRST]'
9560
9561# Regexp to match symbols that can be accessed directly from C.
9562sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
9563
9564# Define system-specific variables.
9565case $host_os in
9566aix*)
9567  symcode='[BCDT]'
9568  ;;
9569cygwin* | mingw* | pw32* | cegcc*)
9570  symcode='[ABCDGISTW]'
9571  ;;
9572hpux*)
9573  if test ia64 = "$host_cpu"; then
9574    symcode='[ABCDEGRST]'
9575  fi
9576  ;;
9577irix* | nonstopux*)
9578  symcode='[BCDEGRST]'
9579  ;;
9580osf*)
9581  symcode='[BCDEGQRST]'
9582  ;;
9583solaris*)
9584  symcode='[BDRT]'
9585  ;;
9586sco3.2v5*)
9587  symcode='[DT]'
9588  ;;
9589sysv4.2uw2*)
9590  symcode='[DT]'
9591  ;;
9592sysv5* | sco5v6* | unixware* | OpenUNIX*)
9593  symcode='[ABDT]'
9594  ;;
9595sysv4)
9596  symcode='[DFNSTU]'
9597  ;;
9598esac
9599
9600# If we're using GNU nm, then use its standard symbol codes.
9601case `$NM -V 2>&1` in
9602*GNU* | *'with BFD'*)
9603  symcode='[ABCDGIRSTW]' ;;
9604esac
9605
9606if test "$lt_cv_nm_interface" = "MS dumpbin"; then
9607  # Gets list of data symbols to import.
9608  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
9609  # Adjust the below global symbol transforms to fixup imported variables.
9610  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
9611  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
9612  lt_c_name_lib_hook="\
9613  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
9614  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
9615else
9616  # Disable hooks by default.
9617  lt_cv_sys_global_symbol_to_import=
9618  lt_cdecl_hook=
9619  lt_c_name_hook=
9620  lt_c_name_lib_hook=
9621fi
9622
9623# Transform an extracted symbol line into a proper C declaration.
9624# Some systems (esp. on ia64) link data and code symbols differently,
9625# so use this general approach.
9626lt_cv_sys_global_symbol_to_cdecl="sed -n"\
9627$lt_cdecl_hook\
9628" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
9629" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
9630
9631# Transform an extracted symbol line into symbol name and symbol address
9632lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
9633$lt_c_name_hook\
9634" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
9635" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
9636
9637# Transform an extracted symbol line into symbol name with lib prefix and
9638# symbol address.
9639lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
9640$lt_c_name_lib_hook\
9641" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
9642" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
9643" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
9644
9645# Handle CRLF in mingw tool chain
9646opt_cr=
9647case $build_os in
9648mingw*)
9649  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
9650  ;;
9651esac
9652
9653# Try without a prefix underscore, then with it.
9654for ac_symprfx in "" "_"; do
9655
9656  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
9657  symxfrm="\\1 $ac_symprfx\\2 \\2"
9658
9659  # Write the raw and C identifiers.
9660  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
9661    # Fake it for dumpbin and say T for any non-static function,
9662    # D for any global variable and I for any imported variable.
9663    # Also find C++ and __fastcall symbols from MSVC++,
9664    # which start with @ or ?.
9665    lt_cv_sys_global_symbol_pipe="$AWK '"\
9666"     {last_section=section; section=\$ 3};"\
9667"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
9668"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
9669"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
9670"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
9671"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
9672"     \$ 0!~/External *\|/{next};"\
9673"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
9674"     {if(hide[section]) next};"\
9675"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
9676"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
9677"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
9678"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
9679"     ' prfx=^$ac_symprfx"
9680  else
9681    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
9682  fi
9683  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
9684
9685  # Check to see that the pipe works correctly.
9686  pipe_works=no
9687
9688  rm -f conftest*
9689  cat > conftest.$ac_ext <<_LT_EOF
9690#ifdef __cplusplus
9691extern "C" {
9692#endif
9693char nm_test_var;
9694void nm_test_func(void);
9695void nm_test_func(void){}
9696#ifdef __cplusplus
9697}
9698#endif
9699int main(){nm_test_var='a';nm_test_func();return(0);}
9700_LT_EOF
9701
9702  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9703  (eval $ac_compile) 2>&5
9704  ac_status=$?
9705  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9706  test $ac_status = 0; }; then
9707    # Now try to grab the symbols.
9708    nlist=conftest.nm
9709    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
9710  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
9711  ac_status=$?
9712  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9713  test $ac_status = 0; } && test -s "$nlist"; then
9714      # Try sorting and uniquifying the output.
9715      if sort "$nlist" | uniq > "$nlist"T; then
9716	mv -f "$nlist"T "$nlist"
9717      else
9718	rm -f "$nlist"T
9719      fi
9720
9721      # Make sure that we snagged all the symbols we need.
9722      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
9723	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
9724	  cat <<_LT_EOF > conftest.$ac_ext
9725/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
9726#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
9727/* DATA imports from DLLs on WIN32 can't be const, because runtime
9728   relocations are performed -- see ld's documentation on pseudo-relocs.  */
9729# define LT_DLSYM_CONST
9730#elif defined __osf__
9731/* This system does not cope well with relocations in const data.  */
9732# define LT_DLSYM_CONST
9733#else
9734# define LT_DLSYM_CONST const
9735#endif
9736
9737#ifdef __cplusplus
9738extern "C" {
9739#endif
9740
9741_LT_EOF
9742	  # Now generate the symbol file.
9743	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
9744
9745	  cat <<_LT_EOF >> conftest.$ac_ext
9746
9747/* The mapping between symbol names and symbols.  */
9748LT_DLSYM_CONST struct {
9749  const char *name;
9750  void       *address;
9751}
9752lt__PROGRAM__LTX_preloaded_symbols[] =
9753{
9754  { "@PROGRAM@", (void *) 0 },
9755_LT_EOF
9756	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
9757	  cat <<\_LT_EOF >> conftest.$ac_ext
9758  {0, (void *) 0}
9759};
9760
9761/* This works around a problem in FreeBSD linker */
9762#ifdef FREEBSD_WORKAROUND
9763static const void *lt_preloaded_setup() {
9764  return lt__PROGRAM__LTX_preloaded_symbols;
9765}
9766#endif
9767
9768#ifdef __cplusplus
9769}
9770#endif
9771_LT_EOF
9772	  # Now try linking the two files.
9773	  mv conftest.$ac_objext conftstm.$ac_objext
9774	  lt_globsym_save_LIBS=$LIBS
9775	  lt_globsym_save_CFLAGS=$CFLAGS
9776	  LIBS=conftstm.$ac_objext
9777	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
9778	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9779  (eval $ac_link) 2>&5
9780  ac_status=$?
9781  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9782  test $ac_status = 0; } && test -s conftest$ac_exeext; then
9783	    pipe_works=yes
9784	  fi
9785	  LIBS=$lt_globsym_save_LIBS
9786	  CFLAGS=$lt_globsym_save_CFLAGS
9787	else
9788	  echo "cannot find nm_test_func in $nlist" >&5
9789	fi
9790      else
9791	echo "cannot find nm_test_var in $nlist" >&5
9792      fi
9793    else
9794      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
9795    fi
9796  else
9797    echo "$progname: failed program was:" >&5
9798    cat conftest.$ac_ext >&5
9799  fi
9800  rm -rf conftest* conftst*
9801
9802  # Do not use the global_symbol_pipe unless it works.
9803  if test yes = "$pipe_works"; then
9804    break
9805  else
9806    lt_cv_sys_global_symbol_pipe=
9807  fi
9808done
9809
9810fi
9811
9812if test -z "$lt_cv_sys_global_symbol_pipe"; then
9813  lt_cv_sys_global_symbol_to_cdecl=
9814fi
9815if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
9816  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
9817printf "%s\n" "failed" >&6; }
9818else
9819  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
9820printf "%s\n" "ok" >&6; }
9821fi
9822
9823# Response file support.
9824if test "$lt_cv_nm_interface" = "MS dumpbin"; then
9825  nm_file_list_spec='@'
9826elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
9827  nm_file_list_spec='@'
9828fi
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
9865
9866{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
9867printf %s "checking for sysroot... " >&6; }
9868
9869# Check whether --with-sysroot was given.
9870if test ${with_sysroot+y}
9871then :
9872  withval=$with_sysroot;
9873else $as_nop
9874  with_sysroot=no
9875fi
9876
9877
9878lt_sysroot=
9879case $with_sysroot in #(
9880 yes)
9881   if test yes = "$GCC"; then
9882     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
9883   fi
9884   ;; #(
9885 /*)
9886   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
9887   ;; #(
9888 no|'')
9889   ;; #(
9890 *)
9891   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
9892printf "%s\n" "$with_sysroot" >&6; }
9893   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
9894   ;;
9895esac
9896
9897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
9898printf "%s\n" "${lt_sysroot:-no}" >&6; }
9899
9900
9901
9902
9903
9904{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
9905printf %s "checking for a working dd... " >&6; }
9906if test ${ac_cv_path_lt_DD+y}
9907then :
9908  printf %s "(cached) " >&6
9909else $as_nop
9910  printf 0123456789abcdef0123456789abcdef >conftest.i
9911cat conftest.i conftest.i >conftest2.i
9912: ${lt_DD:=$DD}
9913if test -z "$lt_DD"; then
9914  ac_path_lt_DD_found=false
9915  # Loop through the user's path and test for each of PROGNAME-LIST
9916  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9917for as_dir in $PATH
9918do
9919  IFS=$as_save_IFS
9920  case $as_dir in #(((
9921    '') as_dir=./ ;;
9922    */) ;;
9923    *) as_dir=$as_dir/ ;;
9924  esac
9925    for ac_prog in dd
9926   do
9927    for ac_exec_ext in '' $ac_executable_extensions; do
9928      ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
9929      as_fn_executable_p "$ac_path_lt_DD" || continue
9930if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
9931  cmp -s conftest.i conftest.out \
9932  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
9933fi
9934      $ac_path_lt_DD_found && break 3
9935    done
9936  done
9937  done
9938IFS=$as_save_IFS
9939  if test -z "$ac_cv_path_lt_DD"; then
9940    :
9941  fi
9942else
9943  ac_cv_path_lt_DD=$lt_DD
9944fi
9945
9946rm -f conftest.i conftest2.i conftest.out
9947fi
9948{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
9949printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
9950
9951
9952{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
9953printf %s "checking how to truncate binary pipes... " >&6; }
9954if test ${lt_cv_truncate_bin+y}
9955then :
9956  printf %s "(cached) " >&6
9957else $as_nop
9958  printf 0123456789abcdef0123456789abcdef >conftest.i
9959cat conftest.i conftest.i >conftest2.i
9960lt_cv_truncate_bin=
9961if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
9962  cmp -s conftest.i conftest.out \
9963  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
9964fi
9965rm -f conftest.i conftest2.i conftest.out
9966test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
9967fi
9968{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
9969printf "%s\n" "$lt_cv_truncate_bin" >&6; }
9970
9971
9972
9973
9974
9975
9976
9977# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
9978func_cc_basename ()
9979{
9980    for cc_temp in $*""; do
9981      case $cc_temp in
9982        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9983        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9984        \-*) ;;
9985        *) break;;
9986      esac
9987    done
9988    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9989}
9990
9991# Check whether --enable-libtool-lock was given.
9992if test ${enable_libtool_lock+y}
9993then :
9994  enableval=$enable_libtool_lock;
9995fi
9996
9997test no = "$enable_libtool_lock" || enable_libtool_lock=yes
9998
9999# Some flags need to be propagated to the compiler or linker for good
10000# libtool support.
10001case $host in
10002ia64-*-hpux*)
10003  # Find out what ABI is being produced by ac_compile, and set mode
10004  # options accordingly.
10005  echo 'int i;' > conftest.$ac_ext
10006  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10007  (eval $ac_compile) 2>&5
10008  ac_status=$?
10009  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10010  test $ac_status = 0; }; then
10011    case `/usr/bin/file conftest.$ac_objext` in
10012      *ELF-32*)
10013	HPUX_IA64_MODE=32
10014	;;
10015      *ELF-64*)
10016	HPUX_IA64_MODE=64
10017	;;
10018    esac
10019  fi
10020  rm -rf conftest*
10021  ;;
10022*-*-irix6*)
10023  # Find out what ABI is being produced by ac_compile, and set linker
10024  # options accordingly.
10025  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
10026  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10027  (eval $ac_compile) 2>&5
10028  ac_status=$?
10029  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10030  test $ac_status = 0; }; then
10031    if test yes = "$lt_cv_prog_gnu_ld"; then
10032      case `/usr/bin/file conftest.$ac_objext` in
10033	*32-bit*)
10034	  LD="${LD-ld} -melf32bsmip"
10035	  ;;
10036	*N32*)
10037	  LD="${LD-ld} -melf32bmipn32"
10038	  ;;
10039	*64-bit*)
10040	  LD="${LD-ld} -melf64bmip"
10041	;;
10042      esac
10043    else
10044      case `/usr/bin/file conftest.$ac_objext` in
10045	*32-bit*)
10046	  LD="${LD-ld} -32"
10047	  ;;
10048	*N32*)
10049	  LD="${LD-ld} -n32"
10050	  ;;
10051	*64-bit*)
10052	  LD="${LD-ld} -64"
10053	  ;;
10054      esac
10055    fi
10056  fi
10057  rm -rf conftest*
10058  ;;
10059
10060mips64*-*linux*)
10061  # Find out what ABI is being produced by ac_compile, and set linker
10062  # options accordingly.
10063  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
10064  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10065  (eval $ac_compile) 2>&5
10066  ac_status=$?
10067  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10068  test $ac_status = 0; }; then
10069    emul=elf
10070    case `/usr/bin/file conftest.$ac_objext` in
10071      *32-bit*)
10072	emul="${emul}32"
10073	;;
10074      *64-bit*)
10075	emul="${emul}64"
10076	;;
10077    esac
10078    case `/usr/bin/file conftest.$ac_objext` in
10079      *MSB*)
10080	emul="${emul}btsmip"
10081	;;
10082      *LSB*)
10083	emul="${emul}ltsmip"
10084	;;
10085    esac
10086    case `/usr/bin/file conftest.$ac_objext` in
10087      *N32*)
10088	emul="${emul}n32"
10089	;;
10090    esac
10091    LD="${LD-ld} -m $emul"
10092  fi
10093  rm -rf conftest*
10094  ;;
10095
10096x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
10097s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
10098  # Find out what ABI is being produced by ac_compile, and set linker
10099  # options accordingly.  Note that the listed cases only cover the
10100  # situations where additional linker options are needed (such as when
10101  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
10102  # vice versa); the common cases where no linker options are needed do
10103  # not appear in the list.
10104  echo 'int i;' > conftest.$ac_ext
10105  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10106  (eval $ac_compile) 2>&5
10107  ac_status=$?
10108  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10109  test $ac_status = 0; }; then
10110    case `/usr/bin/file conftest.o` in
10111      *32-bit*)
10112	case $host in
10113	  x86_64-*kfreebsd*-gnu)
10114	    LD="${LD-ld} -m elf_i386_fbsd"
10115	    ;;
10116	  x86_64-*linux*)
10117	    case `/usr/bin/file conftest.o` in
10118	      *x86-64*)
10119		LD="${LD-ld} -m elf32_x86_64"
10120		;;
10121	      *)
10122		LD="${LD-ld} -m elf_i386"
10123		;;
10124	    esac
10125	    ;;
10126	  powerpc64le-*linux*)
10127	    LD="${LD-ld} -m elf32lppclinux"
10128	    ;;
10129	  powerpc64-*linux*)
10130	    LD="${LD-ld} -m elf32ppclinux"
10131	    ;;
10132	  s390x-*linux*)
10133	    LD="${LD-ld} -m elf_s390"
10134	    ;;
10135	  sparc64-*linux*)
10136	    LD="${LD-ld} -m elf32_sparc"
10137	    ;;
10138	esac
10139	;;
10140      *64-bit*)
10141	case $host in
10142	  x86_64-*kfreebsd*-gnu)
10143	    LD="${LD-ld} -m elf_x86_64_fbsd"
10144	    ;;
10145	  x86_64-*linux*)
10146	    LD="${LD-ld} -m elf_x86_64"
10147	    ;;
10148	  powerpcle-*linux*)
10149	    LD="${LD-ld} -m elf64lppc"
10150	    ;;
10151	  powerpc-*linux*)
10152	    LD="${LD-ld} -m elf64ppc"
10153	    ;;
10154	  s390*-*linux*|s390*-*tpf*)
10155	    LD="${LD-ld} -m elf64_s390"
10156	    ;;
10157	  sparc*-*linux*)
10158	    LD="${LD-ld} -m elf64_sparc"
10159	    ;;
10160	esac
10161	;;
10162    esac
10163  fi
10164  rm -rf conftest*
10165  ;;
10166
10167*-*-sco3.2v5*)
10168  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
10169  SAVE_CFLAGS=$CFLAGS
10170  CFLAGS="$CFLAGS -belf"
10171  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
10172printf %s "checking whether the C compiler needs -belf... " >&6; }
10173if test ${lt_cv_cc_needs_belf+y}
10174then :
10175  printf %s "(cached) " >&6
10176else $as_nop
10177  ac_ext=c
10178ac_cpp='$CPP $CPPFLAGS'
10179ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10180ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10181ac_compiler_gnu=$ac_cv_c_compiler_gnu
10182
10183     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10184/* end confdefs.h.  */
10185
10186int
10187main (void)
10188{
10189
10190  ;
10191  return 0;
10192}
10193_ACEOF
10194if ac_fn_c_try_link "$LINENO"
10195then :
10196  lt_cv_cc_needs_belf=yes
10197else $as_nop
10198  lt_cv_cc_needs_belf=no
10199fi
10200rm -f core conftest.err conftest.$ac_objext conftest.beam \
10201    conftest$ac_exeext conftest.$ac_ext
10202     ac_ext=c
10203ac_cpp='$CPP $CPPFLAGS'
10204ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10205ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10206ac_compiler_gnu=$ac_cv_c_compiler_gnu
10207
10208fi
10209{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
10210printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
10211  if test yes != "$lt_cv_cc_needs_belf"; then
10212    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
10213    CFLAGS=$SAVE_CFLAGS
10214  fi
10215  ;;
10216*-*solaris*)
10217  # Find out what ABI is being produced by ac_compile, and set linker
10218  # options accordingly.
10219  echo 'int i;' > conftest.$ac_ext
10220  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10221  (eval $ac_compile) 2>&5
10222  ac_status=$?
10223  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10224  test $ac_status = 0; }; then
10225    case `/usr/bin/file conftest.o` in
10226    *64-bit*)
10227      case $lt_cv_prog_gnu_ld in
10228      yes*)
10229        case $host in
10230        i?86-*-solaris*|x86_64-*-solaris*)
10231          LD="${LD-ld} -m elf_x86_64"
10232          ;;
10233        sparc*-*-solaris*)
10234          LD="${LD-ld} -m elf64_sparc"
10235          ;;
10236        esac
10237        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
10238        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
10239          LD=${LD-ld}_sol2
10240        fi
10241        ;;
10242      *)
10243	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
10244	  LD="${LD-ld} -64"
10245	fi
10246	;;
10247      esac
10248      ;;
10249    esac
10250  fi
10251  rm -rf conftest*
10252  ;;
10253esac
10254
10255need_locks=$enable_libtool_lock
10256
10257if test -n "$ac_tool_prefix"; then
10258  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
10259set dummy ${ac_tool_prefix}mt; ac_word=$2
10260{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10261printf %s "checking for $ac_word... " >&6; }
10262if test ${ac_cv_prog_MANIFEST_TOOL+y}
10263then :
10264  printf %s "(cached) " >&6
10265else $as_nop
10266  if test -n "$MANIFEST_TOOL"; then
10267  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
10268else
10269as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10270for as_dir in $PATH
10271do
10272  IFS=$as_save_IFS
10273  case $as_dir in #(((
10274    '') as_dir=./ ;;
10275    */) ;;
10276    *) as_dir=$as_dir/ ;;
10277  esac
10278    for ac_exec_ext in '' $ac_executable_extensions; do
10279  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10280    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
10281    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10282    break 2
10283  fi
10284done
10285  done
10286IFS=$as_save_IFS
10287
10288fi
10289fi
10290MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
10291if test -n "$MANIFEST_TOOL"; then
10292  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
10293printf "%s\n" "$MANIFEST_TOOL" >&6; }
10294else
10295  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10296printf "%s\n" "no" >&6; }
10297fi
10298
10299
10300fi
10301if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
10302  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
10303  # Extract the first word of "mt", so it can be a program name with args.
10304set dummy mt; ac_word=$2
10305{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10306printf %s "checking for $ac_word... " >&6; }
10307if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
10308then :
10309  printf %s "(cached) " >&6
10310else $as_nop
10311  if test -n "$ac_ct_MANIFEST_TOOL"; then
10312  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
10313else
10314as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10315for as_dir in $PATH
10316do
10317  IFS=$as_save_IFS
10318  case $as_dir in #(((
10319    '') as_dir=./ ;;
10320    */) ;;
10321    *) as_dir=$as_dir/ ;;
10322  esac
10323    for ac_exec_ext in '' $ac_executable_extensions; do
10324  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10325    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
10326    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10327    break 2
10328  fi
10329done
10330  done
10331IFS=$as_save_IFS
10332
10333fi
10334fi
10335ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
10336if test -n "$ac_ct_MANIFEST_TOOL"; then
10337  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
10338printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
10339else
10340  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10341printf "%s\n" "no" >&6; }
10342fi
10343
10344  if test "x$ac_ct_MANIFEST_TOOL" = x; then
10345    MANIFEST_TOOL=":"
10346  else
10347    case $cross_compiling:$ac_tool_warned in
10348yes:)
10349{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10350printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10351ac_tool_warned=yes ;;
10352esac
10353    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
10354  fi
10355else
10356  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
10357fi
10358
10359test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
10360{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
10361printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
10362if test ${lt_cv_path_mainfest_tool+y}
10363then :
10364  printf %s "(cached) " >&6
10365else $as_nop
10366  lt_cv_path_mainfest_tool=no
10367  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
10368  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
10369  cat conftest.err >&5
10370  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
10371    lt_cv_path_mainfest_tool=yes
10372  fi
10373  rm -f conftest*
10374fi
10375{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
10376printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; }
10377if test yes != "$lt_cv_path_mainfest_tool"; then
10378  MANIFEST_TOOL=:
10379fi
10380
10381
10382
10383
10384
10385
10386  case $host_os in
10387    rhapsody* | darwin*)
10388    if test -n "$ac_tool_prefix"; then
10389  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
10390set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
10391{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10392printf %s "checking for $ac_word... " >&6; }
10393if test ${ac_cv_prog_DSYMUTIL+y}
10394then :
10395  printf %s "(cached) " >&6
10396else $as_nop
10397  if test -n "$DSYMUTIL"; then
10398  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
10399else
10400as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10401for as_dir in $PATH
10402do
10403  IFS=$as_save_IFS
10404  case $as_dir in #(((
10405    '') as_dir=./ ;;
10406    */) ;;
10407    *) as_dir=$as_dir/ ;;
10408  esac
10409    for ac_exec_ext in '' $ac_executable_extensions; do
10410  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10411    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
10412    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10413    break 2
10414  fi
10415done
10416  done
10417IFS=$as_save_IFS
10418
10419fi
10420fi
10421DSYMUTIL=$ac_cv_prog_DSYMUTIL
10422if test -n "$DSYMUTIL"; then
10423  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
10424printf "%s\n" "$DSYMUTIL" >&6; }
10425else
10426  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10427printf "%s\n" "no" >&6; }
10428fi
10429
10430
10431fi
10432if test -z "$ac_cv_prog_DSYMUTIL"; then
10433  ac_ct_DSYMUTIL=$DSYMUTIL
10434  # Extract the first word of "dsymutil", so it can be a program name with args.
10435set dummy dsymutil; ac_word=$2
10436{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10437printf %s "checking for $ac_word... " >&6; }
10438if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
10439then :
10440  printf %s "(cached) " >&6
10441else $as_nop
10442  if test -n "$ac_ct_DSYMUTIL"; then
10443  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
10444else
10445as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10446for as_dir in $PATH
10447do
10448  IFS=$as_save_IFS
10449  case $as_dir in #(((
10450    '') as_dir=./ ;;
10451    */) ;;
10452    *) as_dir=$as_dir/ ;;
10453  esac
10454    for ac_exec_ext in '' $ac_executable_extensions; do
10455  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10456    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
10457    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10458    break 2
10459  fi
10460done
10461  done
10462IFS=$as_save_IFS
10463
10464fi
10465fi
10466ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
10467if test -n "$ac_ct_DSYMUTIL"; then
10468  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
10469printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
10470else
10471  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10472printf "%s\n" "no" >&6; }
10473fi
10474
10475  if test "x$ac_ct_DSYMUTIL" = x; then
10476    DSYMUTIL=":"
10477  else
10478    case $cross_compiling:$ac_tool_warned in
10479yes:)
10480{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10481printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10482ac_tool_warned=yes ;;
10483esac
10484    DSYMUTIL=$ac_ct_DSYMUTIL
10485  fi
10486else
10487  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
10488fi
10489
10490    if test -n "$ac_tool_prefix"; then
10491  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
10492set dummy ${ac_tool_prefix}nmedit; ac_word=$2
10493{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10494printf %s "checking for $ac_word... " >&6; }
10495if test ${ac_cv_prog_NMEDIT+y}
10496then :
10497  printf %s "(cached) " >&6
10498else $as_nop
10499  if test -n "$NMEDIT"; then
10500  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
10501else
10502as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10503for as_dir in $PATH
10504do
10505  IFS=$as_save_IFS
10506  case $as_dir in #(((
10507    '') as_dir=./ ;;
10508    */) ;;
10509    *) as_dir=$as_dir/ ;;
10510  esac
10511    for ac_exec_ext in '' $ac_executable_extensions; do
10512  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10513    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
10514    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10515    break 2
10516  fi
10517done
10518  done
10519IFS=$as_save_IFS
10520
10521fi
10522fi
10523NMEDIT=$ac_cv_prog_NMEDIT
10524if test -n "$NMEDIT"; then
10525  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
10526printf "%s\n" "$NMEDIT" >&6; }
10527else
10528  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10529printf "%s\n" "no" >&6; }
10530fi
10531
10532
10533fi
10534if test -z "$ac_cv_prog_NMEDIT"; then
10535  ac_ct_NMEDIT=$NMEDIT
10536  # Extract the first word of "nmedit", so it can be a program name with args.
10537set dummy nmedit; ac_word=$2
10538{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10539printf %s "checking for $ac_word... " >&6; }
10540if test ${ac_cv_prog_ac_ct_NMEDIT+y}
10541then :
10542  printf %s "(cached) " >&6
10543else $as_nop
10544  if test -n "$ac_ct_NMEDIT"; then
10545  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
10546else
10547as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10548for as_dir in $PATH
10549do
10550  IFS=$as_save_IFS
10551  case $as_dir in #(((
10552    '') as_dir=./ ;;
10553    */) ;;
10554    *) as_dir=$as_dir/ ;;
10555  esac
10556    for ac_exec_ext in '' $ac_executable_extensions; do
10557  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10558    ac_cv_prog_ac_ct_NMEDIT="nmedit"
10559    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10560    break 2
10561  fi
10562done
10563  done
10564IFS=$as_save_IFS
10565
10566fi
10567fi
10568ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
10569if test -n "$ac_ct_NMEDIT"; then
10570  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
10571printf "%s\n" "$ac_ct_NMEDIT" >&6; }
10572else
10573  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10574printf "%s\n" "no" >&6; }
10575fi
10576
10577  if test "x$ac_ct_NMEDIT" = x; then
10578    NMEDIT=":"
10579  else
10580    case $cross_compiling:$ac_tool_warned in
10581yes:)
10582{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10583printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10584ac_tool_warned=yes ;;
10585esac
10586    NMEDIT=$ac_ct_NMEDIT
10587  fi
10588else
10589  NMEDIT="$ac_cv_prog_NMEDIT"
10590fi
10591
10592    if test -n "$ac_tool_prefix"; then
10593  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
10594set dummy ${ac_tool_prefix}lipo; ac_word=$2
10595{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10596printf %s "checking for $ac_word... " >&6; }
10597if test ${ac_cv_prog_LIPO+y}
10598then :
10599  printf %s "(cached) " >&6
10600else $as_nop
10601  if test -n "$LIPO"; then
10602  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
10603else
10604as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10605for as_dir in $PATH
10606do
10607  IFS=$as_save_IFS
10608  case $as_dir in #(((
10609    '') as_dir=./ ;;
10610    */) ;;
10611    *) as_dir=$as_dir/ ;;
10612  esac
10613    for ac_exec_ext in '' $ac_executable_extensions; do
10614  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10615    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
10616    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10617    break 2
10618  fi
10619done
10620  done
10621IFS=$as_save_IFS
10622
10623fi
10624fi
10625LIPO=$ac_cv_prog_LIPO
10626if test -n "$LIPO"; then
10627  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
10628printf "%s\n" "$LIPO" >&6; }
10629else
10630  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10631printf "%s\n" "no" >&6; }
10632fi
10633
10634
10635fi
10636if test -z "$ac_cv_prog_LIPO"; then
10637  ac_ct_LIPO=$LIPO
10638  # Extract the first word of "lipo", so it can be a program name with args.
10639set dummy lipo; ac_word=$2
10640{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10641printf %s "checking for $ac_word... " >&6; }
10642if test ${ac_cv_prog_ac_ct_LIPO+y}
10643then :
10644  printf %s "(cached) " >&6
10645else $as_nop
10646  if test -n "$ac_ct_LIPO"; then
10647  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
10648else
10649as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10650for as_dir in $PATH
10651do
10652  IFS=$as_save_IFS
10653  case $as_dir in #(((
10654    '') as_dir=./ ;;
10655    */) ;;
10656    *) as_dir=$as_dir/ ;;
10657  esac
10658    for ac_exec_ext in '' $ac_executable_extensions; do
10659  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10660    ac_cv_prog_ac_ct_LIPO="lipo"
10661    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10662    break 2
10663  fi
10664done
10665  done
10666IFS=$as_save_IFS
10667
10668fi
10669fi
10670ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
10671if test -n "$ac_ct_LIPO"; then
10672  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
10673printf "%s\n" "$ac_ct_LIPO" >&6; }
10674else
10675  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10676printf "%s\n" "no" >&6; }
10677fi
10678
10679  if test "x$ac_ct_LIPO" = x; then
10680    LIPO=":"
10681  else
10682    case $cross_compiling:$ac_tool_warned in
10683yes:)
10684{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10685printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10686ac_tool_warned=yes ;;
10687esac
10688    LIPO=$ac_ct_LIPO
10689  fi
10690else
10691  LIPO="$ac_cv_prog_LIPO"
10692fi
10693
10694    if test -n "$ac_tool_prefix"; then
10695  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
10696set dummy ${ac_tool_prefix}otool; ac_word=$2
10697{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10698printf %s "checking for $ac_word... " >&6; }
10699if test ${ac_cv_prog_OTOOL+y}
10700then :
10701  printf %s "(cached) " >&6
10702else $as_nop
10703  if test -n "$OTOOL"; then
10704  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
10705else
10706as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10707for as_dir in $PATH
10708do
10709  IFS=$as_save_IFS
10710  case $as_dir in #(((
10711    '') as_dir=./ ;;
10712    */) ;;
10713    *) as_dir=$as_dir/ ;;
10714  esac
10715    for ac_exec_ext in '' $ac_executable_extensions; do
10716  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10717    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
10718    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10719    break 2
10720  fi
10721done
10722  done
10723IFS=$as_save_IFS
10724
10725fi
10726fi
10727OTOOL=$ac_cv_prog_OTOOL
10728if test -n "$OTOOL"; then
10729  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
10730printf "%s\n" "$OTOOL" >&6; }
10731else
10732  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10733printf "%s\n" "no" >&6; }
10734fi
10735
10736
10737fi
10738if test -z "$ac_cv_prog_OTOOL"; then
10739  ac_ct_OTOOL=$OTOOL
10740  # Extract the first word of "otool", so it can be a program name with args.
10741set dummy otool; ac_word=$2
10742{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10743printf %s "checking for $ac_word... " >&6; }
10744if test ${ac_cv_prog_ac_ct_OTOOL+y}
10745then :
10746  printf %s "(cached) " >&6
10747else $as_nop
10748  if test -n "$ac_ct_OTOOL"; then
10749  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
10750else
10751as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10752for as_dir in $PATH
10753do
10754  IFS=$as_save_IFS
10755  case $as_dir in #(((
10756    '') as_dir=./ ;;
10757    */) ;;
10758    *) as_dir=$as_dir/ ;;
10759  esac
10760    for ac_exec_ext in '' $ac_executable_extensions; do
10761  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10762    ac_cv_prog_ac_ct_OTOOL="otool"
10763    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10764    break 2
10765  fi
10766done
10767  done
10768IFS=$as_save_IFS
10769
10770fi
10771fi
10772ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
10773if test -n "$ac_ct_OTOOL"; then
10774  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
10775printf "%s\n" "$ac_ct_OTOOL" >&6; }
10776else
10777  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10778printf "%s\n" "no" >&6; }
10779fi
10780
10781  if test "x$ac_ct_OTOOL" = x; then
10782    OTOOL=":"
10783  else
10784    case $cross_compiling:$ac_tool_warned in
10785yes:)
10786{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10787printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10788ac_tool_warned=yes ;;
10789esac
10790    OTOOL=$ac_ct_OTOOL
10791  fi
10792else
10793  OTOOL="$ac_cv_prog_OTOOL"
10794fi
10795
10796    if test -n "$ac_tool_prefix"; then
10797  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
10798set dummy ${ac_tool_prefix}otool64; ac_word=$2
10799{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10800printf %s "checking for $ac_word... " >&6; }
10801if test ${ac_cv_prog_OTOOL64+y}
10802then :
10803  printf %s "(cached) " >&6
10804else $as_nop
10805  if test -n "$OTOOL64"; then
10806  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
10807else
10808as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10809for as_dir in $PATH
10810do
10811  IFS=$as_save_IFS
10812  case $as_dir in #(((
10813    '') as_dir=./ ;;
10814    */) ;;
10815    *) as_dir=$as_dir/ ;;
10816  esac
10817    for ac_exec_ext in '' $ac_executable_extensions; do
10818  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10819    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
10820    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10821    break 2
10822  fi
10823done
10824  done
10825IFS=$as_save_IFS
10826
10827fi
10828fi
10829OTOOL64=$ac_cv_prog_OTOOL64
10830if test -n "$OTOOL64"; then
10831  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
10832printf "%s\n" "$OTOOL64" >&6; }
10833else
10834  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10835printf "%s\n" "no" >&6; }
10836fi
10837
10838
10839fi
10840if test -z "$ac_cv_prog_OTOOL64"; then
10841  ac_ct_OTOOL64=$OTOOL64
10842  # Extract the first word of "otool64", so it can be a program name with args.
10843set dummy otool64; ac_word=$2
10844{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10845printf %s "checking for $ac_word... " >&6; }
10846if test ${ac_cv_prog_ac_ct_OTOOL64+y}
10847then :
10848  printf %s "(cached) " >&6
10849else $as_nop
10850  if test -n "$ac_ct_OTOOL64"; then
10851  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
10852else
10853as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10854for as_dir in $PATH
10855do
10856  IFS=$as_save_IFS
10857  case $as_dir in #(((
10858    '') as_dir=./ ;;
10859    */) ;;
10860    *) as_dir=$as_dir/ ;;
10861  esac
10862    for ac_exec_ext in '' $ac_executable_extensions; do
10863  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10864    ac_cv_prog_ac_ct_OTOOL64="otool64"
10865    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10866    break 2
10867  fi
10868done
10869  done
10870IFS=$as_save_IFS
10871
10872fi
10873fi
10874ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
10875if test -n "$ac_ct_OTOOL64"; then
10876  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
10877printf "%s\n" "$ac_ct_OTOOL64" >&6; }
10878else
10879  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10880printf "%s\n" "no" >&6; }
10881fi
10882
10883  if test "x$ac_ct_OTOOL64" = x; then
10884    OTOOL64=":"
10885  else
10886    case $cross_compiling:$ac_tool_warned in
10887yes:)
10888{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10889printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10890ac_tool_warned=yes ;;
10891esac
10892    OTOOL64=$ac_ct_OTOOL64
10893  fi
10894else
10895  OTOOL64="$ac_cv_prog_OTOOL64"
10896fi
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
10925printf %s "checking for -single_module linker flag... " >&6; }
10926if test ${lt_cv_apple_cc_single_mod+y}
10927then :
10928  printf %s "(cached) " >&6
10929else $as_nop
10930  lt_cv_apple_cc_single_mod=no
10931      if test -z "$LT_MULTI_MODULE"; then
10932	# By default we will add the -single_module flag. You can override
10933	# by either setting the environment variable LT_MULTI_MODULE
10934	# non-empty at configure time, or by adding -multi_module to the
10935	# link flags.
10936	rm -rf libconftest.dylib*
10937	echo "int foo(void){return 1;}" > conftest.c
10938	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10939-dynamiclib -Wl,-single_module conftest.c" >&5
10940	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10941	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
10942        _lt_result=$?
10943	# If there is a non-empty error log, and "single_module"
10944	# appears in it, assume the flag caused a linker warning
10945        if test -s conftest.err && $GREP single_module conftest.err; then
10946	  cat conftest.err >&5
10947	# Otherwise, if the output was created with a 0 exit code from
10948	# the compiler, it worked.
10949	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
10950	  lt_cv_apple_cc_single_mod=yes
10951	else
10952	  cat conftest.err >&5
10953	fi
10954	rm -rf libconftest.dylib*
10955	rm -f conftest.*
10956      fi
10957fi
10958{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
10959printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
10960
10961    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
10962printf %s "checking for -exported_symbols_list linker flag... " >&6; }
10963if test ${lt_cv_ld_exported_symbols_list+y}
10964then :
10965  printf %s "(cached) " >&6
10966else $as_nop
10967  lt_cv_ld_exported_symbols_list=no
10968      save_LDFLAGS=$LDFLAGS
10969      echo "_main" > conftest.sym
10970      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
10971      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10972/* end confdefs.h.  */
10973
10974int
10975main (void)
10976{
10977
10978  ;
10979  return 0;
10980}
10981_ACEOF
10982if ac_fn_c_try_link "$LINENO"
10983then :
10984  lt_cv_ld_exported_symbols_list=yes
10985else $as_nop
10986  lt_cv_ld_exported_symbols_list=no
10987fi
10988rm -f core conftest.err conftest.$ac_objext conftest.beam \
10989    conftest$ac_exeext conftest.$ac_ext
10990	LDFLAGS=$save_LDFLAGS
10991
10992fi
10993{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
10994printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
10995
10996    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
10997printf %s "checking for -force_load linker flag... " >&6; }
10998if test ${lt_cv_ld_force_load+y}
10999then :
11000  printf %s "(cached) " >&6
11001else $as_nop
11002  lt_cv_ld_force_load=no
11003      cat > conftest.c << _LT_EOF
11004int forced_loaded() { return 2;}
11005_LT_EOF
11006      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
11007      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
11008      echo "$AR cru libconftest.a conftest.o" >&5
11009      $AR cru libconftest.a conftest.o 2>&5
11010      echo "$RANLIB libconftest.a" >&5
11011      $RANLIB libconftest.a 2>&5
11012      cat > conftest.c << _LT_EOF
11013int main() { return 0;}
11014_LT_EOF
11015      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
11016      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
11017      _lt_result=$?
11018      if test -s conftest.err && $GREP force_load conftest.err; then
11019	cat conftest.err >&5
11020      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
11021	lt_cv_ld_force_load=yes
11022      else
11023	cat conftest.err >&5
11024      fi
11025        rm -f conftest.err libconftest.a conftest conftest.c
11026        rm -rf conftest.dSYM
11027
11028fi
11029{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
11030printf "%s\n" "$lt_cv_ld_force_load" >&6; }
11031    case $host_os in
11032    rhapsody* | darwin1.[012])
11033      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
11034    darwin1.*)
11035      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
11036    darwin*) # darwin 5.x on
11037      # if running on 10.5 or later, the deployment target defaults
11038      # to the OS version, if on x86, and 10.4, the deployment
11039      # target defaults to 10.4. Don't you love it?
11040      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
11041	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
11042	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
11043	10.[012][,.]*)
11044	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
11045	10.*)
11046	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
11047      esac
11048    ;;
11049  esac
11050    if test yes = "$lt_cv_apple_cc_single_mod"; then
11051      _lt_dar_single_mod='$single_module'
11052    fi
11053    if test yes = "$lt_cv_ld_exported_symbols_list"; then
11054      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
11055    else
11056      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
11057    fi
11058    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
11059      _lt_dsymutil='~$DSYMUTIL $lib || :'
11060    else
11061      _lt_dsymutil=
11062    fi
11063    ;;
11064  esac
11065
11066# func_munge_path_list VARIABLE PATH
11067# -----------------------------------
11068# VARIABLE is name of variable containing _space_ separated list of
11069# directories to be munged by the contents of PATH, which is string
11070# having a format:
11071# "DIR[:DIR]:"
11072#       string "DIR[ DIR]" will be prepended to VARIABLE
11073# ":DIR[:DIR]"
11074#       string "DIR[ DIR]" will be appended to VARIABLE
11075# "DIRP[:DIRP]::[DIRA:]DIRA"
11076#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
11077#       "DIRA[ DIRA]" will be appended to VARIABLE
11078# "DIR[:DIR]"
11079#       VARIABLE will be replaced by "DIR[ DIR]"
11080func_munge_path_list ()
11081{
11082    case x$2 in
11083    x)
11084        ;;
11085    *:)
11086        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
11087        ;;
11088    x:*)
11089        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
11090        ;;
11091    *::*)
11092        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
11093        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
11094        ;;
11095    *)
11096        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
11097        ;;
11098    esac
11099}
11100
11101ac_header= ac_cache=
11102for ac_item in $ac_header_c_list
11103do
11104  if test $ac_cache; then
11105    ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
11106    if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
11107      printf "%s\n" "#define $ac_item 1" >> confdefs.h
11108    fi
11109    ac_header= ac_cache=
11110  elif test $ac_header; then
11111    ac_cache=$ac_item
11112  else
11113    ac_header=$ac_item
11114  fi
11115done
11116
11117
11118
11119
11120
11121
11122
11123
11124if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
11125then :
11126
11127printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
11128
11129fi
11130ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
11131"
11132if test "x$ac_cv_header_dlfcn_h" = xyes
11133then :
11134  printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
11135
11136fi
11137
11138
11139
11140
11141func_stripname_cnf ()
11142{
11143  case $2 in
11144  .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
11145  *)  func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
11146  esac
11147} # func_stripname_cnf
11148
11149
11150
11151
11152
11153# Set options
11154# Check whether --enable-static was given.
11155if test ${enable_static+y}
11156then :
11157  enableval=$enable_static; p=${PACKAGE-default}
11158    case $enableval in
11159    yes) enable_static=yes ;;
11160    no) enable_static=no ;;
11161    *)
11162     enable_static=no
11163      # Look at the argument we got.  We use all the common list separators.
11164      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
11165      for pkg in $enableval; do
11166	IFS=$lt_save_ifs
11167	if test "X$pkg" = "X$p"; then
11168	  enable_static=yes
11169	fi
11170      done
11171      IFS=$lt_save_ifs
11172      ;;
11173    esac
11174else $as_nop
11175  enable_static=no
11176fi
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187        enable_dlopen=no
11188
11189
11190  enable_win32_dll=no
11191
11192
11193            # Check whether --enable-shared was given.
11194if test ${enable_shared+y}
11195then :
11196  enableval=$enable_shared; p=${PACKAGE-default}
11197    case $enableval in
11198    yes) enable_shared=yes ;;
11199    no) enable_shared=no ;;
11200    *)
11201      enable_shared=no
11202      # Look at the argument we got.  We use all the common list separators.
11203      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
11204      for pkg in $enableval; do
11205	IFS=$lt_save_ifs
11206	if test "X$pkg" = "X$p"; then
11207	  enable_shared=yes
11208	fi
11209      done
11210      IFS=$lt_save_ifs
11211      ;;
11212    esac
11213else $as_nop
11214  enable_shared=yes
11215fi
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227# Check whether --with-pic was given.
11228if test ${with_pic+y}
11229then :
11230  withval=$with_pic; lt_p=${PACKAGE-default}
11231    case $withval in
11232    yes|no) pic_mode=$withval ;;
11233    *)
11234      pic_mode=default
11235      # Look at the argument we got.  We use all the common list separators.
11236      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
11237      for lt_pkg in $withval; do
11238	IFS=$lt_save_ifs
11239	if test "X$lt_pkg" = "X$lt_p"; then
11240	  pic_mode=yes
11241	fi
11242      done
11243      IFS=$lt_save_ifs
11244      ;;
11245    esac
11246else $as_nop
11247  pic_mode=default
11248fi
11249
11250
11251
11252
11253
11254
11255
11256
11257  # Check whether --enable-fast-install was given.
11258if test ${enable_fast_install+y}
11259then :
11260  enableval=$enable_fast_install; p=${PACKAGE-default}
11261    case $enableval in
11262    yes) enable_fast_install=yes ;;
11263    no) enable_fast_install=no ;;
11264    *)
11265      enable_fast_install=no
11266      # Look at the argument we got.  We use all the common list separators.
11267      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
11268      for pkg in $enableval; do
11269	IFS=$lt_save_ifs
11270	if test "X$pkg" = "X$p"; then
11271	  enable_fast_install=yes
11272	fi
11273      done
11274      IFS=$lt_save_ifs
11275      ;;
11276    esac
11277else $as_nop
11278  enable_fast_install=yes
11279fi
11280
11281
11282
11283
11284
11285
11286
11287
11288  shared_archive_member_spec=
11289case $host,$enable_shared in
11290power*-*-aix[5-9]*,yes)
11291  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
11292printf %s "checking which variant of shared library versioning to provide... " >&6; }
11293
11294# Check whether --with-aix-soname was given.
11295if test ${with_aix_soname+y}
11296then :
11297  withval=$with_aix_soname; case $withval in
11298    aix|svr4|both)
11299      ;;
11300    *)
11301      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
11302      ;;
11303    esac
11304    lt_cv_with_aix_soname=$with_aix_soname
11305else $as_nop
11306  if test ${lt_cv_with_aix_soname+y}
11307then :
11308  printf %s "(cached) " >&6
11309else $as_nop
11310  lt_cv_with_aix_soname=aix
11311fi
11312
11313    with_aix_soname=$lt_cv_with_aix_soname
11314fi
11315
11316  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
11317printf "%s\n" "$with_aix_soname" >&6; }
11318  if test aix != "$with_aix_soname"; then
11319    # For the AIX way of multilib, we name the shared archive member
11320    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
11321    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
11322    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
11323    # the AIX toolchain works better with OBJECT_MODE set (default 32).
11324    if test 64 = "${OBJECT_MODE-32}"; then
11325      shared_archive_member_spec=shr_64
11326    else
11327      shared_archive_member_spec=shr
11328    fi
11329  fi
11330  ;;
11331*)
11332  with_aix_soname=aix
11333  ;;
11334esac
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345# This can be used to rebuild libtool when needed
11346LIBTOOL_DEPS=$ltmain
11347
11348# Always use our own libtool.
11349LIBTOOL='$(SHELL) $(top_builddir)/libtool'
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380test -z "$LN_S" && LN_S="ln -s"
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395if test -n "${ZSH_VERSION+set}"; then
11396   setopt NO_GLOB_SUBST
11397fi
11398
11399{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
11400printf %s "checking for objdir... " >&6; }
11401if test ${lt_cv_objdir+y}
11402then :
11403  printf %s "(cached) " >&6
11404else $as_nop
11405  rm -f .libs 2>/dev/null
11406mkdir .libs 2>/dev/null
11407if test -d .libs; then
11408  lt_cv_objdir=.libs
11409else
11410  # MS-DOS does not allow filenames that begin with a dot.
11411  lt_cv_objdir=_libs
11412fi
11413rmdir .libs 2>/dev/null
11414fi
11415{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
11416printf "%s\n" "$lt_cv_objdir" >&6; }
11417objdir=$lt_cv_objdir
11418
11419
11420
11421
11422
11423printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
11424
11425
11426
11427
11428case $host_os in
11429aix3*)
11430  # AIX sometimes has problems with the GCC collect2 program.  For some
11431  # reason, if we set the COLLECT_NAMES environment variable, the problems
11432  # vanish in a puff of smoke.
11433  if test set != "${COLLECT_NAMES+set}"; then
11434    COLLECT_NAMES=
11435    export COLLECT_NAMES
11436  fi
11437  ;;
11438esac
11439
11440# Global variables:
11441ofile=libtool
11442can_build_shared=yes
11443
11444# All known linkers require a '.a' archive for static linking (except MSVC,
11445# which needs '.lib').
11446libext=a
11447
11448with_gnu_ld=$lt_cv_prog_gnu_ld
11449
11450old_CC=$CC
11451old_CFLAGS=$CFLAGS
11452
11453# Set sane defaults for various variables
11454test -z "$CC" && CC=cc
11455test -z "$LTCC" && LTCC=$CC
11456test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
11457test -z "$LD" && LD=ld
11458test -z "$ac_objext" && ac_objext=o
11459
11460func_cc_basename $compiler
11461cc_basename=$func_cc_basename_result
11462
11463
11464# Only perform the check for file, if the check method requires it
11465test -z "$MAGIC_CMD" && MAGIC_CMD=file
11466case $deplibs_check_method in
11467file_magic*)
11468  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
11469    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
11470printf %s "checking for ${ac_tool_prefix}file... " >&6; }
11471if test ${lt_cv_path_MAGIC_CMD+y}
11472then :
11473  printf %s "(cached) " >&6
11474else $as_nop
11475  case $MAGIC_CMD in
11476[\\/*] |  ?:[\\/]*)
11477  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
11478  ;;
11479*)
11480  lt_save_MAGIC_CMD=$MAGIC_CMD
11481  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
11482  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
11483  for ac_dir in $ac_dummy; do
11484    IFS=$lt_save_ifs
11485    test -z "$ac_dir" && ac_dir=.
11486    if test -f "$ac_dir/${ac_tool_prefix}file"; then
11487      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
11488      if test -n "$file_magic_test_file"; then
11489	case $deplibs_check_method in
11490	"file_magic "*)
11491	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
11492	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
11493	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
11494	    $EGREP "$file_magic_regex" > /dev/null; then
11495	    :
11496	  else
11497	    cat <<_LT_EOF 1>&2
11498
11499*** Warning: the command libtool uses to detect shared libraries,
11500*** $file_magic_cmd, produces output that libtool cannot recognize.
11501*** The result is that libtool may fail to recognize shared libraries
11502*** as such.  This will affect the creation of libtool libraries that
11503*** depend on shared libraries, but programs linked with such libtool
11504*** libraries will work regardless of this problem.  Nevertheless, you
11505*** may want to report the problem to your system manager and/or to
11506*** bug-libtool@gnu.org
11507
11508_LT_EOF
11509	  fi ;;
11510	esac
11511      fi
11512      break
11513    fi
11514  done
11515  IFS=$lt_save_ifs
11516  MAGIC_CMD=$lt_save_MAGIC_CMD
11517  ;;
11518esac
11519fi
11520
11521MAGIC_CMD=$lt_cv_path_MAGIC_CMD
11522if test -n "$MAGIC_CMD"; then
11523  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
11524printf "%s\n" "$MAGIC_CMD" >&6; }
11525else
11526  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11527printf "%s\n" "no" >&6; }
11528fi
11529
11530
11531
11532
11533
11534if test -z "$lt_cv_path_MAGIC_CMD"; then
11535  if test -n "$ac_tool_prefix"; then
11536    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
11537printf %s "checking for file... " >&6; }
11538if test ${lt_cv_path_MAGIC_CMD+y}
11539then :
11540  printf %s "(cached) " >&6
11541else $as_nop
11542  case $MAGIC_CMD in
11543[\\/*] |  ?:[\\/]*)
11544  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
11545  ;;
11546*)
11547  lt_save_MAGIC_CMD=$MAGIC_CMD
11548  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
11549  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
11550  for ac_dir in $ac_dummy; do
11551    IFS=$lt_save_ifs
11552    test -z "$ac_dir" && ac_dir=.
11553    if test -f "$ac_dir/file"; then
11554      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
11555      if test -n "$file_magic_test_file"; then
11556	case $deplibs_check_method in
11557	"file_magic "*)
11558	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
11559	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
11560	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
11561	    $EGREP "$file_magic_regex" > /dev/null; then
11562	    :
11563	  else
11564	    cat <<_LT_EOF 1>&2
11565
11566*** Warning: the command libtool uses to detect shared libraries,
11567*** $file_magic_cmd, produces output that libtool cannot recognize.
11568*** The result is that libtool may fail to recognize shared libraries
11569*** as such.  This will affect the creation of libtool libraries that
11570*** depend on shared libraries, but programs linked with such libtool
11571*** libraries will work regardless of this problem.  Nevertheless, you
11572*** may want to report the problem to your system manager and/or to
11573*** bug-libtool@gnu.org
11574
11575_LT_EOF
11576	  fi ;;
11577	esac
11578      fi
11579      break
11580    fi
11581  done
11582  IFS=$lt_save_ifs
11583  MAGIC_CMD=$lt_save_MAGIC_CMD
11584  ;;
11585esac
11586fi
11587
11588MAGIC_CMD=$lt_cv_path_MAGIC_CMD
11589if test -n "$MAGIC_CMD"; then
11590  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
11591printf "%s\n" "$MAGIC_CMD" >&6; }
11592else
11593  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11594printf "%s\n" "no" >&6; }
11595fi
11596
11597
11598  else
11599    MAGIC_CMD=:
11600  fi
11601fi
11602
11603  fi
11604  ;;
11605esac
11606
11607# Use C for the default configuration in the libtool script
11608
11609lt_save_CC=$CC
11610ac_ext=c
11611ac_cpp='$CPP $CPPFLAGS'
11612ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11613ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11614ac_compiler_gnu=$ac_cv_c_compiler_gnu
11615
11616
11617# Source file extension for C test sources.
11618ac_ext=c
11619
11620# Object file extension for compiled C test sources.
11621objext=o
11622objext=$objext
11623
11624# Code to be used in simple compile tests
11625lt_simple_compile_test_code="int some_variable = 0;"
11626
11627# Code to be used in simple link tests
11628lt_simple_link_test_code='int main(){return(0);}'
11629
11630
11631
11632
11633
11634
11635
11636# If no C compiler was specified, use CC.
11637LTCC=${LTCC-"$CC"}
11638
11639# If no C compiler flags were specified, use CFLAGS.
11640LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11641
11642# Allow CC to be a program name with arguments.
11643compiler=$CC
11644
11645# Save the default compiler, since it gets overwritten when the other
11646# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
11647compiler_DEFAULT=$CC
11648
11649# save warnings/boilerplate of simple test code
11650ac_outfile=conftest.$ac_objext
11651echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11652eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11653_lt_compiler_boilerplate=`cat conftest.err`
11654$RM conftest*
11655
11656ac_outfile=conftest.$ac_objext
11657echo "$lt_simple_link_test_code" >conftest.$ac_ext
11658eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11659_lt_linker_boilerplate=`cat conftest.err`
11660$RM -r conftest*
11661
11662
11663## CAVEAT EMPTOR:
11664## There is no encapsulation within the following macros, do not change
11665## the running order or otherwise move them around unless you know exactly
11666## what you are doing...
11667if test -n "$compiler"; then
11668
11669lt_prog_compiler_no_builtin_flag=
11670
11671if test yes = "$GCC"; then
11672  case $cc_basename in
11673  nvcc*)
11674    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
11675  *)
11676    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
11677  esac
11678
11679  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
11680printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
11681if test ${lt_cv_prog_compiler_rtti_exceptions+y}
11682then :
11683  printf %s "(cached) " >&6
11684else $as_nop
11685  lt_cv_prog_compiler_rtti_exceptions=no
11686   ac_outfile=conftest.$ac_objext
11687   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11688   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
11689   # Insert the option either (1) after the last *FLAGS variable, or
11690   # (2) before a word containing "conftest.", or (3) at the end.
11691   # Note that $ac_compile itself does not contain backslashes and begins
11692   # with a dollar sign (not a hyphen), so the echo should work correctly.
11693   # The option is referenced via a variable to avoid confusing sed.
11694   lt_compile=`echo "$ac_compile" | $SED \
11695   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11696   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11697   -e 's:$: $lt_compiler_flag:'`
11698   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11699   (eval "$lt_compile" 2>conftest.err)
11700   ac_status=$?
11701   cat conftest.err >&5
11702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11703   if (exit $ac_status) && test -s "$ac_outfile"; then
11704     # The compiler can only warn and ignore the option if not recognized
11705     # So say no if there are warnings other than the usual output.
11706     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
11707     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11708     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11709       lt_cv_prog_compiler_rtti_exceptions=yes
11710     fi
11711   fi
11712   $RM conftest*
11713
11714fi
11715{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
11716printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
11717
11718if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
11719    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
11720else
11721    :
11722fi
11723
11724fi
11725
11726
11727
11728
11729
11730
11731  lt_prog_compiler_wl=
11732lt_prog_compiler_pic=
11733lt_prog_compiler_static=
11734
11735
11736  if test yes = "$GCC"; then
11737    lt_prog_compiler_wl='-Wl,'
11738    lt_prog_compiler_static='-static'
11739
11740    case $host_os in
11741      aix*)
11742      # All AIX code is PIC.
11743      if test ia64 = "$host_cpu"; then
11744	# AIX 5 now supports IA64 processor
11745	lt_prog_compiler_static='-Bstatic'
11746      fi
11747      lt_prog_compiler_pic='-fPIC'
11748      ;;
11749
11750    amigaos*)
11751      case $host_cpu in
11752      powerpc)
11753            # see comment about AmigaOS4 .so support
11754            lt_prog_compiler_pic='-fPIC'
11755        ;;
11756      m68k)
11757            # FIXME: we need at least 68020 code to build shared libraries, but
11758            # adding the '-m68020' flag to GCC prevents building anything better,
11759            # like '-m68040'.
11760            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
11761        ;;
11762      esac
11763      ;;
11764
11765    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
11766      # PIC is the default for these OSes.
11767      ;;
11768
11769    mingw* | cygwin* | pw32* | os2* | cegcc*)
11770      # This hack is so that the source file can tell whether it is being
11771      # built for inclusion in a dll (and should export symbols for example).
11772      # Although the cygwin gcc ignores -fPIC, still need this for old-style
11773      # (--disable-auto-import) libraries
11774      lt_prog_compiler_pic='-DDLL_EXPORT'
11775      case $host_os in
11776      os2*)
11777	lt_prog_compiler_static='$wl-static'
11778	;;
11779      esac
11780      ;;
11781
11782    darwin* | rhapsody*)
11783      # PIC is the default on this platform
11784      # Common symbols not allowed in MH_DYLIB files
11785      lt_prog_compiler_pic='-fno-common'
11786      ;;
11787
11788    haiku*)
11789      # PIC is the default for Haiku.
11790      # The "-static" flag exists, but is broken.
11791      lt_prog_compiler_static=
11792      ;;
11793
11794    hpux*)
11795      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
11796      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
11797      # sets the default TLS model and affects inlining.
11798      case $host_cpu in
11799      hppa*64*)
11800	# +Z the default
11801	;;
11802      *)
11803	lt_prog_compiler_pic='-fPIC'
11804	;;
11805      esac
11806      ;;
11807
11808    interix[3-9]*)
11809      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11810      # Instead, we relocate shared libraries at runtime.
11811      ;;
11812
11813    msdosdjgpp*)
11814      # Just because we use GCC doesn't mean we suddenly get shared libraries
11815      # on systems that don't support them.
11816      lt_prog_compiler_can_build_shared=no
11817      enable_shared=no
11818      ;;
11819
11820    *nto* | *qnx*)
11821      # QNX uses GNU C++, but need to define -shared option too, otherwise
11822      # it will coredump.
11823      lt_prog_compiler_pic='-fPIC -shared'
11824      ;;
11825
11826    sysv4*MP*)
11827      if test -d /usr/nec; then
11828	lt_prog_compiler_pic=-Kconform_pic
11829      fi
11830      ;;
11831
11832    *)
11833      lt_prog_compiler_pic='-fPIC'
11834      ;;
11835    esac
11836
11837    case $cc_basename in
11838    nvcc*) # Cuda Compiler Driver 2.2
11839      lt_prog_compiler_wl='-Xlinker '
11840      if test -n "$lt_prog_compiler_pic"; then
11841        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
11842      fi
11843      ;;
11844    esac
11845  else
11846    # PORTME Check for flag to pass linker flags through the system compiler.
11847    case $host_os in
11848    aix*)
11849      lt_prog_compiler_wl='-Wl,'
11850      if test ia64 = "$host_cpu"; then
11851	# AIX 5 now supports IA64 processor
11852	lt_prog_compiler_static='-Bstatic'
11853      else
11854	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
11855      fi
11856      ;;
11857
11858    darwin* | rhapsody*)
11859      # PIC is the default on this platform
11860      # Common symbols not allowed in MH_DYLIB files
11861      lt_prog_compiler_pic='-fno-common'
11862      case $cc_basename in
11863      nagfor*)
11864        # NAG Fortran compiler
11865        lt_prog_compiler_wl='-Wl,-Wl,,'
11866        lt_prog_compiler_pic='-PIC'
11867        lt_prog_compiler_static='-Bstatic'
11868        ;;
11869      esac
11870      ;;
11871
11872    mingw* | cygwin* | pw32* | os2* | cegcc*)
11873      # This hack is so that the source file can tell whether it is being
11874      # built for inclusion in a dll (and should export symbols for example).
11875      lt_prog_compiler_pic='-DDLL_EXPORT'
11876      case $host_os in
11877      os2*)
11878	lt_prog_compiler_static='$wl-static'
11879	;;
11880      esac
11881      ;;
11882
11883    hpux9* | hpux10* | hpux11*)
11884      lt_prog_compiler_wl='-Wl,'
11885      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11886      # not for PA HP-UX.
11887      case $host_cpu in
11888      hppa*64*|ia64*)
11889	# +Z the default
11890	;;
11891      *)
11892	lt_prog_compiler_pic='+Z'
11893	;;
11894      esac
11895      # Is there a better lt_prog_compiler_static that works with the bundled CC?
11896      lt_prog_compiler_static='$wl-a ${wl}archive'
11897      ;;
11898
11899    irix5* | irix6* | nonstopux*)
11900      lt_prog_compiler_wl='-Wl,'
11901      # PIC (with -KPIC) is the default.
11902      lt_prog_compiler_static='-non_shared'
11903      ;;
11904
11905    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11906      case $cc_basename in
11907      # old Intel for x86_64, which still supported -KPIC.
11908      ecc*)
11909	lt_prog_compiler_wl='-Wl,'
11910	lt_prog_compiler_pic='-KPIC'
11911	lt_prog_compiler_static='-static'
11912        ;;
11913      # icc used to be incompatible with GCC.
11914      # ICC 10 doesn't accept -KPIC any more.
11915      icc* | ifort*)
11916	lt_prog_compiler_wl='-Wl,'
11917	lt_prog_compiler_pic='-fPIC'
11918	lt_prog_compiler_static='-static'
11919        ;;
11920      # Lahey Fortran 8.1.
11921      lf95*)
11922	lt_prog_compiler_wl='-Wl,'
11923	lt_prog_compiler_pic='--shared'
11924	lt_prog_compiler_static='--static'
11925	;;
11926      nagfor*)
11927	# NAG Fortran compiler
11928	lt_prog_compiler_wl='-Wl,-Wl,,'
11929	lt_prog_compiler_pic='-PIC'
11930	lt_prog_compiler_static='-Bstatic'
11931	;;
11932      tcc*)
11933	# Fabrice Bellard et al's Tiny C Compiler
11934	lt_prog_compiler_wl='-Wl,'
11935	lt_prog_compiler_pic='-fPIC'
11936	lt_prog_compiler_static='-static'
11937	;;
11938      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
11939        # Portland Group compilers (*not* the Pentium gcc compiler,
11940	# which looks to be a dead project)
11941	lt_prog_compiler_wl='-Wl,'
11942	lt_prog_compiler_pic='-fpic'
11943	lt_prog_compiler_static='-Bstatic'
11944        ;;
11945      ccc*)
11946        lt_prog_compiler_wl='-Wl,'
11947        # All Alpha code is PIC.
11948        lt_prog_compiler_static='-non_shared'
11949        ;;
11950      xl* | bgxl* | bgf* | mpixl*)
11951	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
11952	lt_prog_compiler_wl='-Wl,'
11953	lt_prog_compiler_pic='-qpic'
11954	lt_prog_compiler_static='-qstaticlink'
11955	;;
11956      *)
11957	case `$CC -V 2>&1 | sed 5q` in
11958	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
11959	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
11960	  lt_prog_compiler_pic='-KPIC'
11961	  lt_prog_compiler_static='-Bstatic'
11962	  lt_prog_compiler_wl=''
11963	  ;;
11964	*Sun\ F* | *Sun*Fortran*)
11965	  lt_prog_compiler_pic='-KPIC'
11966	  lt_prog_compiler_static='-Bstatic'
11967	  lt_prog_compiler_wl='-Qoption ld '
11968	  ;;
11969	*Sun\ C*)
11970	  # Sun C 5.9
11971	  lt_prog_compiler_pic='-KPIC'
11972	  lt_prog_compiler_static='-Bstatic'
11973	  lt_prog_compiler_wl='-Wl,'
11974	  ;;
11975        *Intel*\ [CF]*Compiler*)
11976	  lt_prog_compiler_wl='-Wl,'
11977	  lt_prog_compiler_pic='-fPIC'
11978	  lt_prog_compiler_static='-static'
11979	  ;;
11980	*Portland\ Group*)
11981	  lt_prog_compiler_wl='-Wl,'
11982	  lt_prog_compiler_pic='-fpic'
11983	  lt_prog_compiler_static='-Bstatic'
11984	  ;;
11985	esac
11986	;;
11987      esac
11988      ;;
11989
11990    newsos6)
11991      lt_prog_compiler_pic='-KPIC'
11992      lt_prog_compiler_static='-Bstatic'
11993      ;;
11994
11995    *nto* | *qnx*)
11996      # QNX uses GNU C++, but need to define -shared option too, otherwise
11997      # it will coredump.
11998      lt_prog_compiler_pic='-fPIC -shared'
11999      ;;
12000
12001    osf3* | osf4* | osf5*)
12002      lt_prog_compiler_wl='-Wl,'
12003      # All OSF/1 code is PIC.
12004      lt_prog_compiler_static='-non_shared'
12005      ;;
12006
12007    rdos*)
12008      lt_prog_compiler_static='-non_shared'
12009      ;;
12010
12011    solaris*)
12012      lt_prog_compiler_pic='-KPIC'
12013      lt_prog_compiler_static='-Bstatic'
12014      case $cc_basename in
12015      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
12016	lt_prog_compiler_wl='-Qoption ld ';;
12017      *)
12018	lt_prog_compiler_wl='-Wl,';;
12019      esac
12020      ;;
12021
12022    sunos4*)
12023      lt_prog_compiler_wl='-Qoption ld '
12024      lt_prog_compiler_pic='-PIC'
12025      lt_prog_compiler_static='-Bstatic'
12026      ;;
12027
12028    sysv4 | sysv4.2uw2* | sysv4.3*)
12029      lt_prog_compiler_wl='-Wl,'
12030      lt_prog_compiler_pic='-KPIC'
12031      lt_prog_compiler_static='-Bstatic'
12032      ;;
12033
12034    sysv4*MP*)
12035      if test -d /usr/nec; then
12036	lt_prog_compiler_pic='-Kconform_pic'
12037	lt_prog_compiler_static='-Bstatic'
12038      fi
12039      ;;
12040
12041    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
12042      lt_prog_compiler_wl='-Wl,'
12043      lt_prog_compiler_pic='-KPIC'
12044      lt_prog_compiler_static='-Bstatic'
12045      ;;
12046
12047    unicos*)
12048      lt_prog_compiler_wl='-Wl,'
12049      lt_prog_compiler_can_build_shared=no
12050      ;;
12051
12052    uts4*)
12053      lt_prog_compiler_pic='-pic'
12054      lt_prog_compiler_static='-Bstatic'
12055      ;;
12056
12057    *)
12058      lt_prog_compiler_can_build_shared=no
12059      ;;
12060    esac
12061  fi
12062
12063case $host_os in
12064  # For platforms that do not support PIC, -DPIC is meaningless:
12065  *djgpp*)
12066    lt_prog_compiler_pic=
12067    ;;
12068  *)
12069    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
12070    ;;
12071esac
12072
12073{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12074printf %s "checking for $compiler option to produce PIC... " >&6; }
12075if test ${lt_cv_prog_compiler_pic+y}
12076then :
12077  printf %s "(cached) " >&6
12078else $as_nop
12079  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
12080fi
12081{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
12082printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
12083lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
12084
12085#
12086# Check to make sure the PIC flag actually works.
12087#
12088if test -n "$lt_prog_compiler_pic"; then
12089  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
12090printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
12091if test ${lt_cv_prog_compiler_pic_works+y}
12092then :
12093  printf %s "(cached) " >&6
12094else $as_nop
12095  lt_cv_prog_compiler_pic_works=no
12096   ac_outfile=conftest.$ac_objext
12097   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12098   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
12099   # Insert the option either (1) after the last *FLAGS variable, or
12100   # (2) before a word containing "conftest.", or (3) at the end.
12101   # Note that $ac_compile itself does not contain backslashes and begins
12102   # with a dollar sign (not a hyphen), so the echo should work correctly.
12103   # The option is referenced via a variable to avoid confusing sed.
12104   lt_compile=`echo "$ac_compile" | $SED \
12105   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12106   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12107   -e 's:$: $lt_compiler_flag:'`
12108   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12109   (eval "$lt_compile" 2>conftest.err)
12110   ac_status=$?
12111   cat conftest.err >&5
12112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12113   if (exit $ac_status) && test -s "$ac_outfile"; then
12114     # The compiler can only warn and ignore the option if not recognized
12115     # So say no if there are warnings other than the usual output.
12116     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
12117     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12118     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12119       lt_cv_prog_compiler_pic_works=yes
12120     fi
12121   fi
12122   $RM conftest*
12123
12124fi
12125{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
12126printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
12127
12128if test yes = "$lt_cv_prog_compiler_pic_works"; then
12129    case $lt_prog_compiler_pic in
12130     "" | " "*) ;;
12131     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
12132     esac
12133else
12134    lt_prog_compiler_pic=
12135     lt_prog_compiler_can_build_shared=no
12136fi
12137
12138fi
12139
12140
12141
12142
12143
12144
12145
12146
12147
12148
12149
12150#
12151# Check to make sure the static flag actually works.
12152#
12153wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
12154{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12155printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
12156if test ${lt_cv_prog_compiler_static_works+y}
12157then :
12158  printf %s "(cached) " >&6
12159else $as_nop
12160  lt_cv_prog_compiler_static_works=no
12161   save_LDFLAGS=$LDFLAGS
12162   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12163   echo "$lt_simple_link_test_code" > conftest.$ac_ext
12164   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12165     # The linker can only warn and ignore the option if not recognized
12166     # So say no if there are warnings
12167     if test -s conftest.err; then
12168       # Append any errors to the config.log.
12169       cat conftest.err 1>&5
12170       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
12171       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12172       if diff conftest.exp conftest.er2 >/dev/null; then
12173         lt_cv_prog_compiler_static_works=yes
12174       fi
12175     else
12176       lt_cv_prog_compiler_static_works=yes
12177     fi
12178   fi
12179   $RM -r conftest*
12180   LDFLAGS=$save_LDFLAGS
12181
12182fi
12183{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
12184printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
12185
12186if test yes = "$lt_cv_prog_compiler_static_works"; then
12187    :
12188else
12189    lt_prog_compiler_static=
12190fi
12191
12192
12193
12194
12195
12196
12197
12198  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12199printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12200if test ${lt_cv_prog_compiler_c_o+y}
12201then :
12202  printf %s "(cached) " >&6
12203else $as_nop
12204  lt_cv_prog_compiler_c_o=no
12205   $RM -r conftest 2>/dev/null
12206   mkdir conftest
12207   cd conftest
12208   mkdir out
12209   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12210
12211   lt_compiler_flag="-o out/conftest2.$ac_objext"
12212   # Insert the option either (1) after the last *FLAGS variable, or
12213   # (2) before a word containing "conftest.", or (3) at the end.
12214   # Note that $ac_compile itself does not contain backslashes and begins
12215   # with a dollar sign (not a hyphen), so the echo should work correctly.
12216   lt_compile=`echo "$ac_compile" | $SED \
12217   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12218   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12219   -e 's:$: $lt_compiler_flag:'`
12220   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12221   (eval "$lt_compile" 2>out/conftest.err)
12222   ac_status=$?
12223   cat out/conftest.err >&5
12224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12225   if (exit $ac_status) && test -s out/conftest2.$ac_objext
12226   then
12227     # The compiler can only warn and ignore the option if not recognized
12228     # So say no if there are warnings
12229     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
12230     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12231     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12232       lt_cv_prog_compiler_c_o=yes
12233     fi
12234   fi
12235   chmod u+w . 2>&5
12236   $RM conftest*
12237   # SGI C++ compiler will create directory out/ii_files/ for
12238   # template instantiation
12239   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12240   $RM out/* && rmdir out
12241   cd ..
12242   $RM -r conftest
12243   $RM conftest*
12244
12245fi
12246{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
12247printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
12248
12249
12250
12251
12252
12253
12254  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12255printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12256if test ${lt_cv_prog_compiler_c_o+y}
12257then :
12258  printf %s "(cached) " >&6
12259else $as_nop
12260  lt_cv_prog_compiler_c_o=no
12261   $RM -r conftest 2>/dev/null
12262   mkdir conftest
12263   cd conftest
12264   mkdir out
12265   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12266
12267   lt_compiler_flag="-o out/conftest2.$ac_objext"
12268   # Insert the option either (1) after the last *FLAGS variable, or
12269   # (2) before a word containing "conftest.", or (3) at the end.
12270   # Note that $ac_compile itself does not contain backslashes and begins
12271   # with a dollar sign (not a hyphen), so the echo should work correctly.
12272   lt_compile=`echo "$ac_compile" | $SED \
12273   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12274   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12275   -e 's:$: $lt_compiler_flag:'`
12276   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12277   (eval "$lt_compile" 2>out/conftest.err)
12278   ac_status=$?
12279   cat out/conftest.err >&5
12280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12281   if (exit $ac_status) && test -s out/conftest2.$ac_objext
12282   then
12283     # The compiler can only warn and ignore the option if not recognized
12284     # So say no if there are warnings
12285     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
12286     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12287     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12288       lt_cv_prog_compiler_c_o=yes
12289     fi
12290   fi
12291   chmod u+w . 2>&5
12292   $RM conftest*
12293   # SGI C++ compiler will create directory out/ii_files/ for
12294   # template instantiation
12295   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12296   $RM out/* && rmdir out
12297   cd ..
12298   $RM -r conftest
12299   $RM conftest*
12300
12301fi
12302{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
12303printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
12304
12305
12306
12307
12308hard_links=nottested
12309if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
12310  # do not overwrite the value of need_locks provided by the user
12311  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
12312printf %s "checking if we can lock with hard links... " >&6; }
12313  hard_links=yes
12314  $RM conftest*
12315  ln conftest.a conftest.b 2>/dev/null && hard_links=no
12316  touch conftest.a
12317  ln conftest.a conftest.b 2>&5 || hard_links=no
12318  ln conftest.a conftest.b 2>/dev/null && hard_links=no
12319  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
12320printf "%s\n" "$hard_links" >&6; }
12321  if test no = "$hard_links"; then
12322    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
12323printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
12324    need_locks=warn
12325  fi
12326else
12327  need_locks=no
12328fi
12329
12330
12331
12332
12333
12334
12335  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12336printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12337
12338  runpath_var=
12339  allow_undefined_flag=
12340  always_export_symbols=no
12341  archive_cmds=
12342  archive_expsym_cmds=
12343  compiler_needs_object=no
12344  enable_shared_with_static_runtimes=no
12345  export_dynamic_flag_spec=
12346  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12347  hardcode_automatic=no
12348  hardcode_direct=no
12349  hardcode_direct_absolute=no
12350  hardcode_libdir_flag_spec=
12351  hardcode_libdir_separator=
12352  hardcode_minus_L=no
12353  hardcode_shlibpath_var=unsupported
12354  inherit_rpath=no
12355  link_all_deplibs=unknown
12356  module_cmds=
12357  module_expsym_cmds=
12358  old_archive_from_new_cmds=
12359  old_archive_from_expsyms_cmds=
12360  thread_safe_flag_spec=
12361  whole_archive_flag_spec=
12362  # include_expsyms should be a list of space-separated symbols to be *always*
12363  # included in the symbol list
12364  include_expsyms=
12365  # exclude_expsyms can be an extended regexp of symbols to exclude
12366  # it will be wrapped by ' (' and ')$', so one must not match beginning or
12367  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
12368  # as well as any symbol that contains 'd'.
12369  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12370  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12371  # platforms (ab)use it in PIC code, but their linkers get confused if
12372  # the symbol is explicitly referenced.  Since portable code cannot
12373  # rely on this symbol name, it's probably fine to never include it in
12374  # preloaded symbol tables.
12375  # Exclude shared library initialization/finalization symbols.
12376  extract_expsyms_cmds=
12377
12378  case $host_os in
12379  cygwin* | mingw* | pw32* | cegcc*)
12380    # FIXME: the MSVC++ port hasn't been tested in a loooong time
12381    # When not using gcc, we currently assume that we are using
12382    # Microsoft Visual C++.
12383    if test yes != "$GCC"; then
12384      with_gnu_ld=no
12385    fi
12386    ;;
12387  interix*)
12388    # we just hope/assume this is gcc and not c89 (= MSVC++)
12389    with_gnu_ld=yes
12390    ;;
12391  openbsd* | bitrig*)
12392    with_gnu_ld=no
12393    ;;
12394  esac
12395
12396  ld_shlibs=yes
12397
12398  # On some targets, GNU ld is compatible enough with the native linker
12399  # that we're better off using the native interface for both.
12400  lt_use_gnu_ld_interface=no
12401  if test yes = "$with_gnu_ld"; then
12402    case $host_os in
12403      aix*)
12404	# The AIX port of GNU ld has always aspired to compatibility
12405	# with the native linker.  However, as the warning in the GNU ld
12406	# block says, versions before 2.19.5* couldn't really create working
12407	# shared libraries, regardless of the interface used.
12408	case `$LD -v 2>&1` in
12409	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
12410	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
12411	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
12412	  *)
12413	    lt_use_gnu_ld_interface=yes
12414	    ;;
12415	esac
12416	;;
12417      *)
12418	lt_use_gnu_ld_interface=yes
12419	;;
12420    esac
12421  fi
12422
12423  if test yes = "$lt_use_gnu_ld_interface"; then
12424    # If archive_cmds runs LD, not CC, wlarc should be empty
12425    wlarc='$wl'
12426
12427    # Set some defaults for GNU ld with shared library support. These
12428    # are reset later if shared libraries are not supported. Putting them
12429    # here allows them to be overridden if necessary.
12430    runpath_var=LD_RUN_PATH
12431    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12432    export_dynamic_flag_spec='$wl--export-dynamic'
12433    # ancient GNU ld didn't support --whole-archive et. al.
12434    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
12435      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
12436    else
12437      whole_archive_flag_spec=
12438    fi
12439    supports_anon_versioning=no
12440    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
12441      *GNU\ gold*) supports_anon_versioning=yes ;;
12442      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
12443      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
12444      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
12445      *\ 2.11.*) ;; # other 2.11 versions
12446      *) supports_anon_versioning=yes ;;
12447    esac
12448
12449    # See if GNU ld supports shared libraries.
12450    case $host_os in
12451    aix[3-9]*)
12452      # On AIX/PPC, the GNU linker is very broken
12453      if test ia64 != "$host_cpu"; then
12454	ld_shlibs=no
12455	cat <<_LT_EOF 1>&2
12456
12457*** Warning: the GNU linker, at least up to release 2.19, is reported
12458*** to be unable to reliably create shared libraries on AIX.
12459*** Therefore, libtool is disabling shared libraries support.  If you
12460*** really care for shared libraries, you may want to install binutils
12461*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
12462*** You will then need to restart the configuration process.
12463
12464_LT_EOF
12465      fi
12466      ;;
12467
12468    amigaos*)
12469      case $host_cpu in
12470      powerpc)
12471            # see comment about AmigaOS4 .so support
12472            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12473            archive_expsym_cmds=''
12474        ;;
12475      m68k)
12476            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)'
12477            hardcode_libdir_flag_spec='-L$libdir'
12478            hardcode_minus_L=yes
12479        ;;
12480      esac
12481      ;;
12482
12483    beos*)
12484      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12485	allow_undefined_flag=unsupported
12486	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12487	# support --undefined.  This deserves some investigation.  FIXME
12488	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12489      else
12490	ld_shlibs=no
12491      fi
12492      ;;
12493
12494    cygwin* | mingw* | pw32* | cegcc*)
12495      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
12496      # as there is no search path for DLLs.
12497      hardcode_libdir_flag_spec='-L$libdir'
12498      export_dynamic_flag_spec='$wl--export-all-symbols'
12499      allow_undefined_flag=unsupported
12500      always_export_symbols=no
12501      enable_shared_with_static_runtimes=yes
12502      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'
12503      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
12504
12505      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12506        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12507	# If the export-symbols file already is a .def file, use it as
12508	# is; otherwise, prepend EXPORTS...
12509	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
12510          cp $export_symbols $output_objdir/$soname.def;
12511        else
12512          echo EXPORTS > $output_objdir/$soname.def;
12513          cat $export_symbols >> $output_objdir/$soname.def;
12514        fi~
12515        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12516      else
12517	ld_shlibs=no
12518      fi
12519      ;;
12520
12521    haiku*)
12522      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12523      link_all_deplibs=yes
12524      ;;
12525
12526    os2*)
12527      hardcode_libdir_flag_spec='-L$libdir'
12528      hardcode_minus_L=yes
12529      allow_undefined_flag=unsupported
12530      shrext_cmds=.dll
12531      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
12532	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
12533	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
12534	$ECHO EXPORTS >> $output_objdir/$libname.def~
12535	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
12536	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
12537	emximp -o $lib $output_objdir/$libname.def'
12538      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
12539	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
12540	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
12541	$ECHO EXPORTS >> $output_objdir/$libname.def~
12542	prefix_cmds="$SED"~
12543	if test EXPORTS = "`$SED 1q $export_symbols`"; then
12544	  prefix_cmds="$prefix_cmds -e 1d";
12545	fi~
12546	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
12547	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
12548	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
12549	emximp -o $lib $output_objdir/$libname.def'
12550      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
12551      enable_shared_with_static_runtimes=yes
12552      ;;
12553
12554    interix[3-9]*)
12555      hardcode_direct=no
12556      hardcode_shlibpath_var=no
12557      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
12558      export_dynamic_flag_spec='$wl-E'
12559      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12560      # Instead, shared libraries are loaded at an image base (0x10000000 by
12561      # default) and relocated if they conflict, which is a slow very memory
12562      # consuming and fragmenting process.  To avoid this, we pick a random,
12563      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12564      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
12565      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12566      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'
12567      ;;
12568
12569    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
12570      tmp_diet=no
12571      if test linux-dietlibc = "$host_os"; then
12572	case $cc_basename in
12573	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
12574	esac
12575      fi
12576      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
12577	 && test no = "$tmp_diet"
12578      then
12579	tmp_addflag=' $pic_flag'
12580	tmp_sharedflag='-shared'
12581	case $cc_basename,$host_cpu in
12582        pgcc*)				# Portland Group C compiler
12583	  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'
12584	  tmp_addflag=' $pic_flag'
12585	  ;;
12586	pgf77* | pgf90* | pgf95* | pgfortran*)
12587					# Portland Group f77 and f90 compilers
12588	  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'
12589	  tmp_addflag=' $pic_flag -Mnomain' ;;
12590	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
12591	  tmp_addflag=' -i_dynamic' ;;
12592	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
12593	  tmp_addflag=' -i_dynamic -nofor_main' ;;
12594	ifc* | ifort*)			# Intel Fortran compiler
12595	  tmp_addflag=' -nofor_main' ;;
12596	lf95*)				# Lahey Fortran 8.1
12597	  whole_archive_flag_spec=
12598	  tmp_sharedflag='--shared' ;;
12599        nagfor*)                        # NAGFOR 5.3
12600          tmp_sharedflag='-Wl,-shared' ;;
12601	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12602	  tmp_sharedflag='-qmkshrobj'
12603	  tmp_addflag= ;;
12604	nvcc*)	# Cuda Compiler Driver 2.2
12605	  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'
12606	  compiler_needs_object=yes
12607	  ;;
12608	esac
12609	case `$CC -V 2>&1 | sed 5q` in
12610	*Sun\ C*)			# Sun C 5.9
12611	  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'
12612	  compiler_needs_object=yes
12613	  tmp_sharedflag='-G' ;;
12614	*Sun\ F*)			# Sun Fortran 8.3
12615	  tmp_sharedflag='-G' ;;
12616	esac
12617	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12618
12619        if test yes = "$supports_anon_versioning"; then
12620          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
12621            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12622            echo "local: *; };" >> $output_objdir/$libname.ver~
12623            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
12624        fi
12625
12626	case $cc_basename in
12627	tcc*)
12628	  export_dynamic_flag_spec='-rdynamic'
12629	  ;;
12630	xlf* | bgf* | bgxlf* | mpixlf*)
12631	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12632	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
12633	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12634	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
12635	  if test yes = "$supports_anon_versioning"; then
12636	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
12637              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12638              echo "local: *; };" >> $output_objdir/$libname.ver~
12639              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12640	  fi
12641	  ;;
12642	esac
12643      else
12644        ld_shlibs=no
12645      fi
12646      ;;
12647
12648    netbsd*)
12649      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12650	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12651	wlarc=
12652      else
12653	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12654	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12655      fi
12656      ;;
12657
12658    solaris*)
12659      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
12660	ld_shlibs=no
12661	cat <<_LT_EOF 1>&2
12662
12663*** Warning: The releases 2.8.* of the GNU linker cannot reliably
12664*** create shared libraries on Solaris systems.  Therefore, libtool
12665*** is disabling shared libraries support.  We urge you to upgrade GNU
12666*** binutils to release 2.9.1 or newer.  Another option is to modify
12667*** your PATH or compiler configuration so that the native linker is
12668*** used, and then restart.
12669
12670_LT_EOF
12671      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12672	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12673	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12674      else
12675	ld_shlibs=no
12676      fi
12677      ;;
12678
12679    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
12680      case `$LD -v 2>&1` in
12681        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
12682	ld_shlibs=no
12683	cat <<_LT_EOF 1>&2
12684
12685*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
12686*** reliably create shared libraries on SCO systems.  Therefore, libtool
12687*** is disabling shared libraries support.  We urge you to upgrade GNU
12688*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
12689*** your PATH or compiler configuration so that the native linker is
12690*** used, and then restart.
12691
12692_LT_EOF
12693	;;
12694	*)
12695	  # For security reasons, it is highly recommended that you always
12696	  # use absolute paths for naming shared libraries, and exclude the
12697	  # DT_RUNPATH tag from executables and libraries.  But doing so
12698	  # requires that you compile everything twice, which is a pain.
12699	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12700	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12701	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12702	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12703	  else
12704	    ld_shlibs=no
12705	  fi
12706	;;
12707      esac
12708      ;;
12709
12710    sunos4*)
12711      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12712      wlarc=
12713      hardcode_direct=yes
12714      hardcode_shlibpath_var=no
12715      ;;
12716
12717    *)
12718      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12719	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12720	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12721      else
12722	ld_shlibs=no
12723      fi
12724      ;;
12725    esac
12726
12727    if test no = "$ld_shlibs"; then
12728      runpath_var=
12729      hardcode_libdir_flag_spec=
12730      export_dynamic_flag_spec=
12731      whole_archive_flag_spec=
12732    fi
12733  else
12734    # PORTME fill in a description of your system's linker (not GNU ld)
12735    case $host_os in
12736    aix3*)
12737      allow_undefined_flag=unsupported
12738      always_export_symbols=yes
12739      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'
12740      # Note: this linker hardcodes the directories in LIBPATH if there
12741      # are no directories specified by -L.
12742      hardcode_minus_L=yes
12743      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
12744	# Neither direct hardcoding nor static linking is supported with a
12745	# broken collect2.
12746	hardcode_direct=unsupported
12747      fi
12748      ;;
12749
12750    aix[4-9]*)
12751      if test ia64 = "$host_cpu"; then
12752	# On IA64, the linker does run time linking by default, so we don't
12753	# have to do anything special.
12754	aix_use_runtimelinking=no
12755	exp_sym_flag='-Bexport'
12756	no_entry_flag=
12757      else
12758	# If we're using GNU nm, then we don't want the "-C" option.
12759	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
12760	# Without the "-l" option, or with the "-B" option, AIX nm treats
12761	# weak defined symbols like other global defined symbols, whereas
12762	# GNU nm marks them as "W".
12763	# While the 'weak' keyword is ignored in the Export File, we need
12764	# it in the Import File for the 'aix-soname' feature, so we have
12765	# to replace the "-B" option with "-P" for AIX nm.
12766	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
12767	  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'
12768	else
12769	  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'
12770	fi
12771	aix_use_runtimelinking=no
12772
12773	# Test if we are trying to use run time linking or normal
12774	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
12775	# have runtime linking enabled, and use it for executables.
12776	# For shared libraries, we enable/disable runtime linking
12777	# depending on the kind of the shared library created -
12778	# when "with_aix_soname,aix_use_runtimelinking" is:
12779	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
12780	# "aix,yes"  lib.so          shared, rtl:yes, for executables
12781	#            lib.a           static archive
12782	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
12783	#            lib.a(lib.so.V) shared, rtl:no,  for executables
12784	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
12785	#            lib.a(lib.so.V) shared, rtl:no
12786	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
12787	#            lib.a           static archive
12788	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12789	  for ld_flag in $LDFLAGS; do
12790	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
12791	    aix_use_runtimelinking=yes
12792	    break
12793	  fi
12794	  done
12795	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
12796	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
12797	    # so we don't have lib.a shared libs to link our executables.
12798	    # We have to force runtime linking in this case.
12799	    aix_use_runtimelinking=yes
12800	    LDFLAGS="$LDFLAGS -Wl,-brtl"
12801	  fi
12802	  ;;
12803	esac
12804
12805	exp_sym_flag='-bexport'
12806	no_entry_flag='-bnoentry'
12807      fi
12808
12809      # When large executables or shared objects are built, AIX ld can
12810      # have problems creating the table of contents.  If linking a library
12811      # or program results in "error TOC overflow" add -mminimal-toc to
12812      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
12813      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12814
12815      archive_cmds=''
12816      hardcode_direct=yes
12817      hardcode_direct_absolute=yes
12818      hardcode_libdir_separator=':'
12819      link_all_deplibs=yes
12820      file_list_spec='$wl-f,'
12821      case $with_aix_soname,$aix_use_runtimelinking in
12822      aix,*) ;; # traditional, no import file
12823      svr4,* | *,yes) # use import file
12824	# The Import File defines what to hardcode.
12825	hardcode_direct=no
12826	hardcode_direct_absolute=no
12827	;;
12828      esac
12829
12830      if test yes = "$GCC"; then
12831	case $host_os in aix4.[012]|aix4.[012].*)
12832	# We only want to do this on AIX 4.2 and lower, the check
12833	# below for broken collect2 doesn't work under 4.3+
12834	  collect2name=`$CC -print-prog-name=collect2`
12835	  if test -f "$collect2name" &&
12836	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12837	  then
12838	  # We have reworked collect2
12839	  :
12840	  else
12841	  # We have old collect2
12842	  hardcode_direct=unsupported
12843	  # It fails to find uninstalled libraries when the uninstalled
12844	  # path is not listed in the libpath.  Setting hardcode_minus_L
12845	  # to unsupported forces relinking
12846	  hardcode_minus_L=yes
12847	  hardcode_libdir_flag_spec='-L$libdir'
12848	  hardcode_libdir_separator=
12849	  fi
12850	  ;;
12851	esac
12852	shared_flag='-shared'
12853	if test yes = "$aix_use_runtimelinking"; then
12854	  shared_flag="$shared_flag "'$wl-G'
12855	fi
12856	# Need to ensure runtime linking is disabled for the traditional
12857	# shared library, or the linker may eventually find shared libraries
12858	# /with/ Import File - we do not want to mix them.
12859	shared_flag_aix='-shared'
12860	shared_flag_svr4='-shared $wl-G'
12861      else
12862	# not using gcc
12863	if test ia64 = "$host_cpu"; then
12864	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12865	# chokes on -Wl,-G. The following line is correct:
12866	  shared_flag='-G'
12867	else
12868	  if test yes = "$aix_use_runtimelinking"; then
12869	    shared_flag='$wl-G'
12870	  else
12871	    shared_flag='$wl-bM:SRE'
12872	  fi
12873	  shared_flag_aix='$wl-bM:SRE'
12874	  shared_flag_svr4='$wl-G'
12875	fi
12876      fi
12877
12878      export_dynamic_flag_spec='$wl-bexpall'
12879      # It seems that -bexpall does not export symbols beginning with
12880      # underscore (_), so it is better to generate a list of symbols to export.
12881      always_export_symbols=yes
12882      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
12883	# Warning - without using the other runtime loading flags (-brtl),
12884	# -berok will link without error, but may produce a broken library.
12885	allow_undefined_flag='-berok'
12886        # Determine the default libpath from the value encoded in an
12887        # empty executable.
12888        if test set = "${lt_cv_aix_libpath+set}"; then
12889  aix_libpath=$lt_cv_aix_libpath
12890else
12891  if test ${lt_cv_aix_libpath_+y}
12892then :
12893  printf %s "(cached) " >&6
12894else $as_nop
12895  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12896/* end confdefs.h.  */
12897
12898int
12899main (void)
12900{
12901
12902  ;
12903  return 0;
12904}
12905_ACEOF
12906if ac_fn_c_try_link "$LINENO"
12907then :
12908
12909  lt_aix_libpath_sed='
12910      /Import File Strings/,/^$/ {
12911	  /^0/ {
12912	      s/^0  *\([^ ]*\) *$/\1/
12913	      p
12914	  }
12915      }'
12916  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12917  # Check for a 64-bit object if we didn't find anything.
12918  if test -z "$lt_cv_aix_libpath_"; then
12919    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12920  fi
12921fi
12922rm -f core conftest.err conftest.$ac_objext conftest.beam \
12923    conftest$ac_exeext conftest.$ac_ext
12924  if test -z "$lt_cv_aix_libpath_"; then
12925    lt_cv_aix_libpath_=/usr/lib:/lib
12926  fi
12927
12928fi
12929
12930  aix_libpath=$lt_cv_aix_libpath_
12931fi
12932
12933        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
12934        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
12935      else
12936	if test ia64 = "$host_cpu"; then
12937	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
12938	  allow_undefined_flag="-z nodefs"
12939	  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"
12940	else
12941	 # Determine the default libpath from the value encoded in an
12942	 # empty executable.
12943	 if test set = "${lt_cv_aix_libpath+set}"; then
12944  aix_libpath=$lt_cv_aix_libpath
12945else
12946  if test ${lt_cv_aix_libpath_+y}
12947then :
12948  printf %s "(cached) " >&6
12949else $as_nop
12950  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12951/* end confdefs.h.  */
12952
12953int
12954main (void)
12955{
12956
12957  ;
12958  return 0;
12959}
12960_ACEOF
12961if ac_fn_c_try_link "$LINENO"
12962then :
12963
12964  lt_aix_libpath_sed='
12965      /Import File Strings/,/^$/ {
12966	  /^0/ {
12967	      s/^0  *\([^ ]*\) *$/\1/
12968	      p
12969	  }
12970      }'
12971  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12972  # Check for a 64-bit object if we didn't find anything.
12973  if test -z "$lt_cv_aix_libpath_"; then
12974    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12975  fi
12976fi
12977rm -f core conftest.err conftest.$ac_objext conftest.beam \
12978    conftest$ac_exeext conftest.$ac_ext
12979  if test -z "$lt_cv_aix_libpath_"; then
12980    lt_cv_aix_libpath_=/usr/lib:/lib
12981  fi
12982
12983fi
12984
12985  aix_libpath=$lt_cv_aix_libpath_
12986fi
12987
12988	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
12989	  # Warning - without using the other run time loading flags,
12990	  # -berok will link without error, but may produce a broken library.
12991	  no_undefined_flag=' $wl-bernotok'
12992	  allow_undefined_flag=' $wl-berok'
12993	  if test yes = "$with_gnu_ld"; then
12994	    # We only use this code for GNU lds that support --whole-archive.
12995	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
12996	  else
12997	    # Exported symbols can be pulled into shared objects from archives
12998	    whole_archive_flag_spec='$convenience'
12999	  fi
13000	  archive_cmds_need_lc=yes
13001	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
13002	  # -brtl affects multiple linker settings, -berok does not and is overridden later
13003	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
13004	  if test svr4 != "$with_aix_soname"; then
13005	    # This is similar to how AIX traditionally builds its shared libraries.
13006	    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'
13007	  fi
13008	  if test aix != "$with_aix_soname"; then
13009	    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'
13010	  else
13011	    # used by -dlpreopen to get the symbols
13012	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
13013	  fi
13014	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
13015	fi
13016      fi
13017      ;;
13018
13019    amigaos*)
13020      case $host_cpu in
13021      powerpc)
13022            # see comment about AmigaOS4 .so support
13023            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13024            archive_expsym_cmds=''
13025        ;;
13026      m68k)
13027            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)'
13028            hardcode_libdir_flag_spec='-L$libdir'
13029            hardcode_minus_L=yes
13030        ;;
13031      esac
13032      ;;
13033
13034    bsdi[45]*)
13035      export_dynamic_flag_spec=-rdynamic
13036      ;;
13037
13038    cygwin* | mingw* | pw32* | cegcc*)
13039      # When not using gcc, we currently assume that we are using
13040      # Microsoft Visual C++.
13041      # hardcode_libdir_flag_spec is actually meaningless, as there is
13042      # no search path for DLLs.
13043      case $cc_basename in
13044      cl*)
13045	# Native MSVC
13046	hardcode_libdir_flag_spec=' '
13047	allow_undefined_flag=unsupported
13048	always_export_symbols=yes
13049	file_list_spec='@'
13050	# Tell ltmain to make .lib files, not .a files.
13051	libext=lib
13052	# Tell ltmain to make .dll files, not .so files.
13053	shrext_cmds=.dll
13054	# FIXME: Setting linknames here is a bad hack.
13055	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
13056	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
13057            cp "$export_symbols" "$output_objdir/$soname.def";
13058            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
13059          else
13060            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
13061          fi~
13062          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13063          linknames='
13064	# The linker will not automatically build a static lib if we build a DLL.
13065	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
13066	enable_shared_with_static_runtimes=yes
13067	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
13068	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
13069	# Don't use ranlib
13070	old_postinstall_cmds='chmod 644 $oldlib'
13071	postlink_cmds='lt_outputfile="@OUTPUT@"~
13072          lt_tool_outputfile="@TOOL_OUTPUT@"~
13073          case $lt_outputfile in
13074            *.exe|*.EXE) ;;
13075            *)
13076              lt_outputfile=$lt_outputfile.exe
13077              lt_tool_outputfile=$lt_tool_outputfile.exe
13078              ;;
13079          esac~
13080          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
13081            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13082            $RM "$lt_outputfile.manifest";
13083          fi'
13084	;;
13085      *)
13086	# Assume MSVC wrapper
13087	hardcode_libdir_flag_spec=' '
13088	allow_undefined_flag=unsupported
13089	# Tell ltmain to make .lib files, not .a files.
13090	libext=lib
13091	# Tell ltmain to make .dll files, not .so files.
13092	shrext_cmds=.dll
13093	# FIXME: Setting linknames here is a bad hack.
13094	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
13095	# The linker will automatically build a .lib file if we build a DLL.
13096	old_archive_from_new_cmds='true'
13097	# FIXME: Should let the user specify the lib program.
13098	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
13099	enable_shared_with_static_runtimes=yes
13100	;;
13101      esac
13102      ;;
13103
13104    darwin* | rhapsody*)
13105
13106
13107  archive_cmds_need_lc=no
13108  hardcode_direct=no
13109  hardcode_automatic=yes
13110  hardcode_shlibpath_var=unsupported
13111  if test yes = "$lt_cv_ld_force_load"; then
13112    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\"`'
13113
13114  else
13115    whole_archive_flag_spec=''
13116  fi
13117  link_all_deplibs=yes
13118  allow_undefined_flag=$_lt_dar_allow_undefined
13119  case $cc_basename in
13120     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
13121     *) _lt_dar_can_shared=$GCC ;;
13122  esac
13123  if test yes = "$_lt_dar_can_shared"; then
13124    output_verbose_link_cmd=func_echo_all
13125    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
13126    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
13127    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"
13128    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"
13129
13130  else
13131  ld_shlibs=no
13132  fi
13133
13134      ;;
13135
13136    dgux*)
13137      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13138      hardcode_libdir_flag_spec='-L$libdir'
13139      hardcode_shlibpath_var=no
13140      ;;
13141
13142    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13143    # support.  Future versions do this automatically, but an explicit c++rt0.o
13144    # does not break anything, and helps significantly (at the cost of a little
13145    # extra space).
13146    freebsd2.2*)
13147      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13148      hardcode_libdir_flag_spec='-R$libdir'
13149      hardcode_direct=yes
13150      hardcode_shlibpath_var=no
13151      ;;
13152
13153    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13154    freebsd2.*)
13155      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13156      hardcode_direct=yes
13157      hardcode_minus_L=yes
13158      hardcode_shlibpath_var=no
13159      ;;
13160
13161    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13162    freebsd* | dragonfly*)
13163      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13164      hardcode_libdir_flag_spec='-R$libdir'
13165      hardcode_direct=yes
13166      hardcode_shlibpath_var=no
13167      ;;
13168
13169    hpux9*)
13170      if test yes = "$GCC"; then
13171	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'
13172      else
13173	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'
13174      fi
13175      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
13176      hardcode_libdir_separator=:
13177      hardcode_direct=yes
13178
13179      # hardcode_minus_L: Not really in the search PATH,
13180      # but as the default location of the library.
13181      hardcode_minus_L=yes
13182      export_dynamic_flag_spec='$wl-E'
13183      ;;
13184
13185    hpux10*)
13186      if test yes,no = "$GCC,$with_gnu_ld"; then
13187	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13188      else
13189	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13190      fi
13191      if test no = "$with_gnu_ld"; then
13192	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
13193	hardcode_libdir_separator=:
13194	hardcode_direct=yes
13195	hardcode_direct_absolute=yes
13196	export_dynamic_flag_spec='$wl-E'
13197	# hardcode_minus_L: Not really in the search PATH,
13198	# but as the default location of the library.
13199	hardcode_minus_L=yes
13200      fi
13201      ;;
13202
13203    hpux11*)
13204      if test yes,no = "$GCC,$with_gnu_ld"; then
13205	case $host_cpu in
13206	hppa*64*)
13207	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
13208	  ;;
13209	ia64*)
13210	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13211	  ;;
13212	*)
13213	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13214	  ;;
13215	esac
13216      else
13217	case $host_cpu in
13218	hppa*64*)
13219	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
13220	  ;;
13221	ia64*)
13222	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13223	  ;;
13224	*)
13225
13226	  # Older versions of the 11.00 compiler do not understand -b yet
13227	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
13228	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
13229printf %s "checking if $CC understands -b... " >&6; }
13230if test ${lt_cv_prog_compiler__b+y}
13231then :
13232  printf %s "(cached) " >&6
13233else $as_nop
13234  lt_cv_prog_compiler__b=no
13235   save_LDFLAGS=$LDFLAGS
13236   LDFLAGS="$LDFLAGS -b"
13237   echo "$lt_simple_link_test_code" > conftest.$ac_ext
13238   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13239     # The linker can only warn and ignore the option if not recognized
13240     # So say no if there are warnings
13241     if test -s conftest.err; then
13242       # Append any errors to the config.log.
13243       cat conftest.err 1>&5
13244       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13245       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13246       if diff conftest.exp conftest.er2 >/dev/null; then
13247         lt_cv_prog_compiler__b=yes
13248       fi
13249     else
13250       lt_cv_prog_compiler__b=yes
13251     fi
13252   fi
13253   $RM -r conftest*
13254   LDFLAGS=$save_LDFLAGS
13255
13256fi
13257{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
13258printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
13259
13260if test yes = "$lt_cv_prog_compiler__b"; then
13261    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13262else
13263    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13264fi
13265
13266	  ;;
13267	esac
13268      fi
13269      if test no = "$with_gnu_ld"; then
13270	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
13271	hardcode_libdir_separator=:
13272
13273	case $host_cpu in
13274	hppa*64*|ia64*)
13275	  hardcode_direct=no
13276	  hardcode_shlibpath_var=no
13277	  ;;
13278	*)
13279	  hardcode_direct=yes
13280	  hardcode_direct_absolute=yes
13281	  export_dynamic_flag_spec='$wl-E'
13282
13283	  # hardcode_minus_L: Not really in the search PATH,
13284	  # but as the default location of the library.
13285	  hardcode_minus_L=yes
13286	  ;;
13287	esac
13288      fi
13289      ;;
13290
13291    irix5* | irix6* | nonstopux*)
13292      if test yes = "$GCC"; then
13293	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'
13294	# Try to use the -exported_symbol ld option, if it does not
13295	# work, assume that -exports_file does not work either and
13296	# implicitly export all symbols.
13297	# This should be the same for all languages, so no per-tag cache variable.
13298	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
13299printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
13300if test ${lt_cv_irix_exported_symbol+y}
13301then :
13302  printf %s "(cached) " >&6
13303else $as_nop
13304  save_LDFLAGS=$LDFLAGS
13305	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
13306	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13307/* end confdefs.h.  */
13308int foo (void) { return 0; }
13309_ACEOF
13310if ac_fn_c_try_link "$LINENO"
13311then :
13312  lt_cv_irix_exported_symbol=yes
13313else $as_nop
13314  lt_cv_irix_exported_symbol=no
13315fi
13316rm -f core conftest.err conftest.$ac_objext conftest.beam \
13317    conftest$ac_exeext conftest.$ac_ext
13318           LDFLAGS=$save_LDFLAGS
13319fi
13320{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
13321printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
13322	if test yes = "$lt_cv_irix_exported_symbol"; then
13323          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'
13324	fi
13325      else
13326	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'
13327	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'
13328      fi
13329      archive_cmds_need_lc='no'
13330      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
13331      hardcode_libdir_separator=:
13332      inherit_rpath=yes
13333      link_all_deplibs=yes
13334      ;;
13335
13336    linux*)
13337      case $cc_basename in
13338      tcc*)
13339	# Fabrice Bellard et al's Tiny C Compiler
13340	ld_shlibs=yes
13341	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13342	;;
13343      esac
13344      ;;
13345
13346    netbsd*)
13347      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13348	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
13349      else
13350	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
13351      fi
13352      hardcode_libdir_flag_spec='-R$libdir'
13353      hardcode_direct=yes
13354      hardcode_shlibpath_var=no
13355      ;;
13356
13357    newsos6)
13358      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13359      hardcode_direct=yes
13360      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
13361      hardcode_libdir_separator=:
13362      hardcode_shlibpath_var=no
13363      ;;
13364
13365    *nto* | *qnx*)
13366      ;;
13367
13368    openbsd* | bitrig*)
13369      if test -f /usr/libexec/ld.so; then
13370	hardcode_direct=yes
13371	hardcode_shlibpath_var=no
13372	hardcode_direct_absolute=yes
13373	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
13374	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13375	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
13376	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
13377	  export_dynamic_flag_spec='$wl-E'
13378	else
13379	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13380	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
13381	fi
13382      else
13383	ld_shlibs=no
13384      fi
13385      ;;
13386
13387    os2*)
13388      hardcode_libdir_flag_spec='-L$libdir'
13389      hardcode_minus_L=yes
13390      allow_undefined_flag=unsupported
13391      shrext_cmds=.dll
13392      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
13393	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
13394	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
13395	$ECHO EXPORTS >> $output_objdir/$libname.def~
13396	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
13397	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
13398	emximp -o $lib $output_objdir/$libname.def'
13399      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
13400	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
13401	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
13402	$ECHO EXPORTS >> $output_objdir/$libname.def~
13403	prefix_cmds="$SED"~
13404	if test EXPORTS = "`$SED 1q $export_symbols`"; then
13405	  prefix_cmds="$prefix_cmds -e 1d";
13406	fi~
13407	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
13408	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
13409	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
13410	emximp -o $lib $output_objdir/$libname.def'
13411      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
13412      enable_shared_with_static_runtimes=yes
13413      ;;
13414
13415    osf3*)
13416      if test yes = "$GCC"; then
13417	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
13418	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'
13419      else
13420	allow_undefined_flag=' -expect_unresolved \*'
13421	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'
13422      fi
13423      archive_cmds_need_lc='no'
13424      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
13425      hardcode_libdir_separator=:
13426      ;;
13427
13428    osf4* | osf5*)	# as osf3* with the addition of -msym flag
13429      if test yes = "$GCC"; then
13430	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
13431	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'
13432	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
13433      else
13434	allow_undefined_flag=' -expect_unresolved \*'
13435	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'
13436	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~
13437          $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'
13438
13439	# Both c and cxx compiler support -rpath directly
13440	hardcode_libdir_flag_spec='-rpath $libdir'
13441      fi
13442      archive_cmds_need_lc='no'
13443      hardcode_libdir_separator=:
13444      ;;
13445
13446    solaris*)
13447      no_undefined_flag=' -z defs'
13448      if test yes = "$GCC"; then
13449	wlarc='$wl'
13450	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
13451	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13452          $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'
13453      else
13454	case `$CC -V 2>&1` in
13455	*"Compilers 5.0"*)
13456	  wlarc=''
13457	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
13458	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13459            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
13460	  ;;
13461	*)
13462	  wlarc='$wl'
13463	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
13464	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13465            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13466	  ;;
13467	esac
13468      fi
13469      hardcode_libdir_flag_spec='-R$libdir'
13470      hardcode_shlibpath_var=no
13471      case $host_os in
13472      solaris2.[0-5] | solaris2.[0-5].*) ;;
13473      *)
13474	# The compiler driver will combine and reorder linker options,
13475	# but understands '-z linker_flag'.  GCC discards it without '$wl',
13476	# but is careful enough not to reorder.
13477	# Supported since Solaris 2.6 (maybe 2.5.1?)
13478	if test yes = "$GCC"; then
13479	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
13480	else
13481	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
13482	fi
13483	;;
13484      esac
13485      link_all_deplibs=yes
13486      ;;
13487
13488    sunos4*)
13489      if test sequent = "$host_vendor"; then
13490	# Use $CC to link under sequent, because it throws in some extra .o
13491	# files that make .init and .fini sections work.
13492	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13493      else
13494	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13495      fi
13496      hardcode_libdir_flag_spec='-L$libdir'
13497      hardcode_direct=yes
13498      hardcode_minus_L=yes
13499      hardcode_shlibpath_var=no
13500      ;;
13501
13502    sysv4)
13503      case $host_vendor in
13504	sni)
13505	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13506	  hardcode_direct=yes # is this really true???
13507	;;
13508	siemens)
13509	  ## LD is ld it makes a PLAMLIB
13510	  ## CC just makes a GrossModule.
13511	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13512	  reload_cmds='$CC -r -o $output$reload_objs'
13513	  hardcode_direct=no
13514        ;;
13515	motorola)
13516	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13517	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
13518	;;
13519      esac
13520      runpath_var='LD_RUN_PATH'
13521      hardcode_shlibpath_var=no
13522      ;;
13523
13524    sysv4.3*)
13525      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13526      hardcode_shlibpath_var=no
13527      export_dynamic_flag_spec='-Bexport'
13528      ;;
13529
13530    sysv4*MP*)
13531      if test -d /usr/nec; then
13532	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13533	hardcode_shlibpath_var=no
13534	runpath_var=LD_RUN_PATH
13535	hardcode_runpath_var=yes
13536	ld_shlibs=yes
13537      fi
13538      ;;
13539
13540    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13541      no_undefined_flag='$wl-z,text'
13542      archive_cmds_need_lc=no
13543      hardcode_shlibpath_var=no
13544      runpath_var='LD_RUN_PATH'
13545
13546      if test yes = "$GCC"; then
13547	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13548	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13549      else
13550	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13551	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13552      fi
13553      ;;
13554
13555    sysv5* | sco3.2v5* | sco5v6*)
13556      # Note: We CANNOT use -z defs as we might desire, because we do not
13557      # link with -lc, and that would cause any symbols used from libc to
13558      # always be unresolved, which means just about no library would
13559      # ever link correctly.  If we're not using GNU ld we use -z text
13560      # though, which does catch some bad symbols but isn't as heavy-handed
13561      # as -z defs.
13562      no_undefined_flag='$wl-z,text'
13563      allow_undefined_flag='$wl-z,nodefs'
13564      archive_cmds_need_lc=no
13565      hardcode_shlibpath_var=no
13566      hardcode_libdir_flag_spec='$wl-R,$libdir'
13567      hardcode_libdir_separator=':'
13568      link_all_deplibs=yes
13569      export_dynamic_flag_spec='$wl-Bexport'
13570      runpath_var='LD_RUN_PATH'
13571
13572      if test yes = "$GCC"; then
13573	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13574	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13575      else
13576	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13577	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13578      fi
13579      ;;
13580
13581    uts4*)
13582      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13583      hardcode_libdir_flag_spec='-L$libdir'
13584      hardcode_shlibpath_var=no
13585      ;;
13586
13587    *)
13588      ld_shlibs=no
13589      ;;
13590    esac
13591
13592    if test sni = "$host_vendor"; then
13593      case $host in
13594      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
13595	export_dynamic_flag_spec='$wl-Blargedynsym'
13596	;;
13597      esac
13598    fi
13599  fi
13600
13601{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
13602printf "%s\n" "$ld_shlibs" >&6; }
13603test no = "$ld_shlibs" && can_build_shared=no
13604
13605with_gnu_ld=$with_gnu_ld
13606
13607
13608
13609
13610
13611
13612
13613
13614
13615
13616
13617
13618
13619
13620
13621#
13622# Do we need to explicitly link libc?
13623#
13624case "x$archive_cmds_need_lc" in
13625x|xyes)
13626  # Assume -lc should be added
13627  archive_cmds_need_lc=yes
13628
13629  if test yes,yes = "$GCC,$enable_shared"; then
13630    case $archive_cmds in
13631    *'~'*)
13632      # FIXME: we may have to deal with multi-command sequences.
13633      ;;
13634    '$CC '*)
13635      # Test whether the compiler implicitly links with -lc since on some
13636      # systems, -lgcc has to come before -lc. If gcc already passes -lc
13637      # to ld, don't add -lc before -lgcc.
13638      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13639printf %s "checking whether -lc should be explicitly linked in... " >&6; }
13640if test ${lt_cv_archive_cmds_need_lc+y}
13641then :
13642  printf %s "(cached) " >&6
13643else $as_nop
13644  $RM conftest*
13645	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13646
13647	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13648  (eval $ac_compile) 2>&5
13649  ac_status=$?
13650  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13651  test $ac_status = 0; } 2>conftest.err; then
13652	  soname=conftest
13653	  lib=conftest
13654	  libobjs=conftest.$ac_objext
13655	  deplibs=
13656	  wl=$lt_prog_compiler_wl
13657	  pic_flag=$lt_prog_compiler_pic
13658	  compiler_flags=-v
13659	  linker_flags=-v
13660	  verstring=
13661	  output_objdir=.
13662	  libname=conftest
13663	  lt_save_allow_undefined_flag=$allow_undefined_flag
13664	  allow_undefined_flag=
13665	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13666  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13667  ac_status=$?
13668  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13669  test $ac_status = 0; }
13670	  then
13671	    lt_cv_archive_cmds_need_lc=no
13672	  else
13673	    lt_cv_archive_cmds_need_lc=yes
13674	  fi
13675	  allow_undefined_flag=$lt_save_allow_undefined_flag
13676	else
13677	  cat conftest.err 1>&5
13678	fi
13679	$RM conftest*
13680
13681fi
13682{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
13683printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
13684      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
13685      ;;
13686    esac
13687  fi
13688  ;;
13689esac
13690
13691
13692
13693
13694
13695
13696
13697
13698
13699
13700
13701
13702
13703
13704
13705
13706
13707
13708
13709
13710
13711
13712
13713
13714
13715
13716
13717
13718
13719
13720
13721
13722
13723
13724
13725
13726
13727
13728
13729
13730
13731
13732
13733
13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
13761
13762
13763
13764
13765
13766
13767
13768
13769
13770
13771
13772
13773
13774
13775
13776
13777
13778
13779
13780
13781
13782
13783
13784
13785
13786
13787
13788
13789
13790
13791
13792
13793
13794
13795
13796
13797
13798
13799
13800
13801
13802
13803
13804
13805
13806
13807
13808
13809
13810
13811
13812
13813
13814
13815
13816
13817
13818
13819
13820
13821
13822
13823
13824
13825
13826
13827
13828
13829
13830
13831
13832
13833
13834
13835
13836
13837
13838
13839
13840
13841
13842  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13843printf %s "checking dynamic linker characteristics... " >&6; }
13844
13845if test yes = "$GCC"; then
13846  case $host_os in
13847    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
13848    *) lt_awk_arg='/^libraries:/' ;;
13849  esac
13850  case $host_os in
13851    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
13852    *) lt_sed_strip_eq='s|=/|/|g' ;;
13853  esac
13854  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
13855  case $lt_search_path_spec in
13856  *\;*)
13857    # if the path contains ";" then we assume it to be the separator
13858    # otherwise default to the standard path separator (i.e. ":") - it is
13859    # assumed that no part of a normal pathname contains ";" but that should
13860    # okay in the real world where ";" in dirpaths is itself problematic.
13861    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
13862    ;;
13863  *)
13864    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
13865    ;;
13866  esac
13867  # Ok, now we have the path, separated by spaces, we can step through it
13868  # and add multilib dir if necessary...
13869  lt_tmp_lt_search_path_spec=
13870  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
13871  # ...but if some path component already ends with the multilib dir we assume
13872  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
13873  case "$lt_multi_os_dir; $lt_search_path_spec " in
13874  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
13875    lt_multi_os_dir=
13876    ;;
13877  esac
13878  for lt_sys_path in $lt_search_path_spec; do
13879    if test -d "$lt_sys_path$lt_multi_os_dir"; then
13880      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
13881    elif test -n "$lt_multi_os_dir"; then
13882      test -d "$lt_sys_path" && \
13883	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
13884    fi
13885  done
13886  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
13887BEGIN {RS = " "; FS = "/|\n";} {
13888  lt_foo = "";
13889  lt_count = 0;
13890  for (lt_i = NF; lt_i > 0; lt_i--) {
13891    if ($lt_i != "" && $lt_i != ".") {
13892      if ($lt_i == "..") {
13893        lt_count++;
13894      } else {
13895        if (lt_count == 0) {
13896          lt_foo = "/" $lt_i lt_foo;
13897        } else {
13898          lt_count--;
13899        }
13900      }
13901    }
13902  }
13903  if (lt_foo != "") { lt_freq[lt_foo]++; }
13904  if (lt_freq[lt_foo] == 1) { print lt_foo; }
13905}'`
13906  # AWK program above erroneously prepends '/' to C:/dos/paths
13907  # for these hosts.
13908  case $host_os in
13909    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
13910      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
13911  esac
13912  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
13913else
13914  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
13915fi
13916library_names_spec=
13917libname_spec='lib$name'
13918soname_spec=
13919shrext_cmds=.so
13920postinstall_cmds=
13921postuninstall_cmds=
13922finish_cmds=
13923finish_eval=
13924shlibpath_var=
13925shlibpath_overrides_runpath=unknown
13926version_type=none
13927dynamic_linker="$host_os ld.so"
13928sys_lib_dlsearch_path_spec="/lib /usr/lib"
13929need_lib_prefix=unknown
13930hardcode_into_libs=no
13931
13932# when you set need_version to no, make sure it does not cause -set_version
13933# flags to be left without arguments
13934need_version=unknown
13935
13936
13937
13938case $host_os in
13939aix3*)
13940  version_type=linux # correct to gnu/linux during the next big refactor
13941  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
13942  shlibpath_var=LIBPATH
13943
13944  # AIX 3 has no versioning support, so we append a major version to the name.
13945  soname_spec='$libname$release$shared_ext$major'
13946  ;;
13947
13948aix[4-9]*)
13949  version_type=linux # correct to gnu/linux during the next big refactor
13950  need_lib_prefix=no
13951  need_version=no
13952  hardcode_into_libs=yes
13953  if test ia64 = "$host_cpu"; then
13954    # AIX 5 supports IA64
13955    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
13956    shlibpath_var=LD_LIBRARY_PATH
13957  else
13958    # With GCC up to 2.95.x, collect2 would create an import file
13959    # for dependence libraries.  The import file would start with
13960    # the line '#! .'.  This would cause the generated library to
13961    # depend on '.', always an invalid library.  This was fixed in
13962    # development snapshots of GCC prior to 3.0.
13963    case $host_os in
13964      aix4 | aix4.[01] | aix4.[01].*)
13965      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13966	   echo ' yes '
13967	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
13968	:
13969      else
13970	can_build_shared=no
13971      fi
13972      ;;
13973    esac
13974    # Using Import Files as archive members, it is possible to support
13975    # filename-based versioning of shared library archives on AIX. While
13976    # this would work for both with and without runtime linking, it will
13977    # prevent static linking of such archives. So we do filename-based
13978    # shared library versioning with .so extension only, which is used
13979    # when both runtime linking and shared linking is enabled.
13980    # Unfortunately, runtime linking may impact performance, so we do
13981    # not want this to be the default eventually. Also, we use the
13982    # versioned .so libs for executables only if there is the -brtl
13983    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
13984    # To allow for filename-based versioning support, we need to create
13985    # libNAME.so.V as an archive file, containing:
13986    # *) an Import File, referring to the versioned filename of the
13987    #    archive as well as the shared archive member, telling the
13988    #    bitwidth (32 or 64) of that shared object, and providing the
13989    #    list of exported symbols of that shared object, eventually
13990    #    decorated with the 'weak' keyword
13991    # *) the shared object with the F_LOADONLY flag set, to really avoid
13992    #    it being seen by the linker.
13993    # At run time we better use the real file rather than another symlink,
13994    # but for link time we create the symlink libNAME.so -> libNAME.so.V
13995
13996    case $with_aix_soname,$aix_use_runtimelinking in
13997    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
13998    # soname into executable. Probably we can add versioning support to
13999    # collect2, so additional links can be useful in future.
14000    aix,yes) # traditional libtool
14001      dynamic_linker='AIX unversionable lib.so'
14002      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14003      # instead of lib<name>.a to let people know that these are not
14004      # typical AIX shared libraries.
14005      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14006      ;;
14007    aix,no) # traditional AIX only
14008      dynamic_linker='AIX lib.a(lib.so.V)'
14009      # We preserve .a as extension for shared libraries through AIX4.2
14010      # and later when we are not doing run time linking.
14011      library_names_spec='$libname$release.a $libname.a'
14012      soname_spec='$libname$release$shared_ext$major'
14013      ;;
14014    svr4,*) # full svr4 only
14015      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
14016      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
14017      # We do not specify a path in Import Files, so LIBPATH fires.
14018      shlibpath_overrides_runpath=yes
14019      ;;
14020    *,yes) # both, prefer svr4
14021      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
14022      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
14023      # unpreferred sharedlib libNAME.a needs extra handling
14024      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"'
14025      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"'
14026      # We do not specify a path in Import Files, so LIBPATH fires.
14027      shlibpath_overrides_runpath=yes
14028      ;;
14029    *,no) # both, prefer aix
14030      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
14031      library_names_spec='$libname$release.a $libname.a'
14032      soname_spec='$libname$release$shared_ext$major'
14033      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
14034      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)'
14035      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"'
14036      ;;
14037    esac
14038    shlibpath_var=LIBPATH
14039  fi
14040  ;;
14041
14042amigaos*)
14043  case $host_cpu in
14044  powerpc)
14045    # Since July 2007 AmigaOS4 officially supports .so libraries.
14046    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14047    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14048    ;;
14049  m68k)
14050    library_names_spec='$libname.ixlibrary $libname.a'
14051    # Create ${libname}_ixlibrary.a entries in /sys/libs.
14052    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'
14053    ;;
14054  esac
14055  ;;
14056
14057beos*)
14058  library_names_spec='$libname$shared_ext'
14059  dynamic_linker="$host_os ld.so"
14060  shlibpath_var=LIBRARY_PATH
14061  ;;
14062
14063bsdi[45]*)
14064  version_type=linux # correct to gnu/linux during the next big refactor
14065  need_version=no
14066  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14067  soname_spec='$libname$release$shared_ext$major'
14068  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14069  shlibpath_var=LD_LIBRARY_PATH
14070  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14071  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14072  # the default ld.so.conf also contains /usr/contrib/lib and
14073  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14074  # libtool to hard-code these into programs
14075  ;;
14076
14077cygwin* | mingw* | pw32* | cegcc*)
14078  version_type=windows
14079  shrext_cmds=.dll
14080  need_version=no
14081  need_lib_prefix=no
14082
14083  case $GCC,$cc_basename in
14084  yes,*)
14085    # gcc
14086    library_names_spec='$libname.dll.a'
14087    # DLL is installed to $(libdir)/../bin by postinstall_cmds
14088    postinstall_cmds='base_file=`basename \$file`~
14089      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
14090      dldir=$destdir/`dirname \$dlpath`~
14091      test -d \$dldir || mkdir -p \$dldir~
14092      $install_prog $dir/$dlname \$dldir/$dlname~
14093      chmod a+x \$dldir/$dlname~
14094      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14095        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14096      fi'
14097    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14098      dlpath=$dir/\$dldll~
14099       $RM \$dlpath'
14100    shlibpath_overrides_runpath=yes
14101
14102    case $host_os in
14103    cygwin*)
14104      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14105      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
14106
14107      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
14108      ;;
14109    mingw* | cegcc*)
14110      # MinGW DLLs use traditional 'lib' prefix
14111      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
14112      ;;
14113    pw32*)
14114      # pw32 DLLs use 'pw' prefix rather than 'lib'
14115      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
14116      ;;
14117    esac
14118    dynamic_linker='Win32 ld.exe'
14119    ;;
14120
14121  *,cl*)
14122    # Native MSVC
14123    libname_spec='$name'
14124    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
14125    library_names_spec='$libname.dll.lib'
14126
14127    case $build_os in
14128    mingw*)
14129      sys_lib_search_path_spec=
14130      lt_save_ifs=$IFS
14131      IFS=';'
14132      for lt_path in $LIB
14133      do
14134        IFS=$lt_save_ifs
14135        # Let DOS variable expansion print the short 8.3 style file name.
14136        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
14137        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
14138      done
14139      IFS=$lt_save_ifs
14140      # Convert to MSYS style.
14141      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
14142      ;;
14143    cygwin*)
14144      # Convert to unix form, then to dos form, then back to unix form
14145      # but this time dos style (no spaces!) so that the unix form looks
14146      # like /cygdrive/c/PROGRA~1:/cygdr...
14147      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
14148      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
14149      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14150      ;;
14151    *)
14152      sys_lib_search_path_spec=$LIB
14153      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
14154        # It is most probably a Windows format PATH.
14155        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14156      else
14157        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14158      fi
14159      # FIXME: find the short name or the path components, as spaces are
14160      # common. (e.g. "Program Files" -> "PROGRA~1")
14161      ;;
14162    esac
14163
14164    # DLL is installed to $(libdir)/../bin by postinstall_cmds
14165    postinstall_cmds='base_file=`basename \$file`~
14166      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
14167      dldir=$destdir/`dirname \$dlpath`~
14168      test -d \$dldir || mkdir -p \$dldir~
14169      $install_prog $dir/$dlname \$dldir/$dlname'
14170    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14171      dlpath=$dir/\$dldll~
14172       $RM \$dlpath'
14173    shlibpath_overrides_runpath=yes
14174    dynamic_linker='Win32 link.exe'
14175    ;;
14176
14177  *)
14178    # Assume MSVC wrapper
14179    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
14180    dynamic_linker='Win32 ld.exe'
14181    ;;
14182  esac
14183  # FIXME: first we should search . and the directory the executable is in
14184  shlibpath_var=PATH
14185  ;;
14186
14187darwin* | rhapsody*)
14188  dynamic_linker="$host_os dyld"
14189  version_type=darwin
14190  need_lib_prefix=no
14191  need_version=no
14192  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
14193  soname_spec='$libname$release$major$shared_ext'
14194  shlibpath_overrides_runpath=yes
14195  shlibpath_var=DYLD_LIBRARY_PATH
14196  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14197
14198  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
14199  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14200  ;;
14201
14202dgux*)
14203  version_type=linux # correct to gnu/linux during the next big refactor
14204  need_lib_prefix=no
14205  need_version=no
14206  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14207  soname_spec='$libname$release$shared_ext$major'
14208  shlibpath_var=LD_LIBRARY_PATH
14209  ;;
14210
14211freebsd* | dragonfly*)
14212  # DragonFly does not have aout.  When/if they implement a new
14213  # versioning mechanism, adjust this.
14214  if test -x /usr/bin/objformat; then
14215    objformat=`/usr/bin/objformat`
14216  else
14217    case $host_os in
14218    freebsd[23].*) objformat=aout ;;
14219    *) objformat=elf ;;
14220    esac
14221  fi
14222  version_type=freebsd-$objformat
14223  case $version_type in
14224    freebsd-elf*)
14225      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14226      soname_spec='$libname$release$shared_ext$major'
14227      need_version=no
14228      need_lib_prefix=no
14229      ;;
14230    freebsd-*)
14231      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
14232      need_version=yes
14233      ;;
14234  esac
14235  shlibpath_var=LD_LIBRARY_PATH
14236  case $host_os in
14237  freebsd2.*)
14238    shlibpath_overrides_runpath=yes
14239    ;;
14240  freebsd3.[01]* | freebsdelf3.[01]*)
14241    shlibpath_overrides_runpath=yes
14242    hardcode_into_libs=yes
14243    ;;
14244  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14245  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14246    shlibpath_overrides_runpath=no
14247    hardcode_into_libs=yes
14248    ;;
14249  *) # from 4.6 on, and DragonFly
14250    shlibpath_overrides_runpath=yes
14251    hardcode_into_libs=yes
14252    ;;
14253  esac
14254  ;;
14255
14256haiku*)
14257  version_type=linux # correct to gnu/linux during the next big refactor
14258  need_lib_prefix=no
14259  need_version=no
14260  dynamic_linker="$host_os runtime_loader"
14261  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14262  soname_spec='$libname$release$shared_ext$major'
14263  shlibpath_var=LIBRARY_PATH
14264  shlibpath_overrides_runpath=no
14265  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
14266  hardcode_into_libs=yes
14267  ;;
14268
14269hpux9* | hpux10* | hpux11*)
14270  # Give a soname corresponding to the major version so that dld.sl refuses to
14271  # link against other versions.
14272  version_type=sunos
14273  need_lib_prefix=no
14274  need_version=no
14275  case $host_cpu in
14276  ia64*)
14277    shrext_cmds='.so'
14278    hardcode_into_libs=yes
14279    dynamic_linker="$host_os dld.so"
14280    shlibpath_var=LD_LIBRARY_PATH
14281    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14282    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14283    soname_spec='$libname$release$shared_ext$major'
14284    if test 32 = "$HPUX_IA64_MODE"; then
14285      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14286      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
14287    else
14288      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14289      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
14290    fi
14291    ;;
14292  hppa*64*)
14293    shrext_cmds='.sl'
14294    hardcode_into_libs=yes
14295    dynamic_linker="$host_os dld.sl"
14296    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14297    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14298    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14299    soname_spec='$libname$release$shared_ext$major'
14300    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14301    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14302    ;;
14303  *)
14304    shrext_cmds='.sl'
14305    dynamic_linker="$host_os dld.sl"
14306    shlibpath_var=SHLIB_PATH
14307    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14308    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14309    soname_spec='$libname$release$shared_ext$major'
14310    ;;
14311  esac
14312  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14313  postinstall_cmds='chmod 555 $lib'
14314  # or fails outright, so override atomically:
14315  install_override_mode=555
14316  ;;
14317
14318interix[3-9]*)
14319  version_type=linux # correct to gnu/linux during the next big refactor
14320  need_lib_prefix=no
14321  need_version=no
14322  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14323  soname_spec='$libname$release$shared_ext$major'
14324  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14325  shlibpath_var=LD_LIBRARY_PATH
14326  shlibpath_overrides_runpath=no
14327  hardcode_into_libs=yes
14328  ;;
14329
14330irix5* | irix6* | nonstopux*)
14331  case $host_os in
14332    nonstopux*) version_type=nonstopux ;;
14333    *)
14334	if test yes = "$lt_cv_prog_gnu_ld"; then
14335		version_type=linux # correct to gnu/linux during the next big refactor
14336	else
14337		version_type=irix
14338	fi ;;
14339  esac
14340  need_lib_prefix=no
14341  need_version=no
14342  soname_spec='$libname$release$shared_ext$major'
14343  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
14344  case $host_os in
14345  irix5* | nonstopux*)
14346    libsuff= shlibsuff=
14347    ;;
14348  *)
14349    case $LD in # libtool.m4 will add one of these switches to LD
14350    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14351      libsuff= shlibsuff= libmagic=32-bit;;
14352    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14353      libsuff=32 shlibsuff=N32 libmagic=N32;;
14354    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14355      libsuff=64 shlibsuff=64 libmagic=64-bit;;
14356    *) libsuff= shlibsuff= libmagic=never-match;;
14357    esac
14358    ;;
14359  esac
14360  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14361  shlibpath_overrides_runpath=no
14362  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
14363  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
14364  hardcode_into_libs=yes
14365  ;;
14366
14367# No shared lib support for Linux oldld, aout, or coff.
14368linux*oldld* | linux*aout* | linux*coff*)
14369  dynamic_linker=no
14370  ;;
14371
14372linux*android*)
14373  version_type=none # Android doesn't support versioned libraries.
14374  need_lib_prefix=no
14375  need_version=no
14376  library_names_spec='$libname$release$shared_ext'
14377  soname_spec='$libname$release$shared_ext'
14378  finish_cmds=
14379  shlibpath_var=LD_LIBRARY_PATH
14380  shlibpath_overrides_runpath=yes
14381
14382  # This implies no fast_install, which is unacceptable.
14383  # Some rework will be needed to allow for fast_install
14384  # before this can be enabled.
14385  hardcode_into_libs=yes
14386
14387  dynamic_linker='Android linker'
14388  # Don't embed -rpath directories since the linker doesn't support them.
14389  hardcode_libdir_flag_spec='-L$libdir'
14390  ;;
14391
14392# This must be glibc/ELF.
14393linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14394  version_type=linux # correct to gnu/linux during the next big refactor
14395  need_lib_prefix=no
14396  need_version=no
14397  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14398  soname_spec='$libname$release$shared_ext$major'
14399  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14400  shlibpath_var=LD_LIBRARY_PATH
14401  shlibpath_overrides_runpath=no
14402
14403  # Some binutils ld are patched to set DT_RUNPATH
14404  if test ${lt_cv_shlibpath_overrides_runpath+y}
14405then :
14406  printf %s "(cached) " >&6
14407else $as_nop
14408  lt_cv_shlibpath_overrides_runpath=no
14409    save_LDFLAGS=$LDFLAGS
14410    save_libdir=$libdir
14411    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
14412	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
14413    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14414/* end confdefs.h.  */
14415
14416int
14417main (void)
14418{
14419
14420  ;
14421  return 0;
14422}
14423_ACEOF
14424if ac_fn_c_try_link "$LINENO"
14425then :
14426  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
14427then :
14428  lt_cv_shlibpath_overrides_runpath=yes
14429fi
14430fi
14431rm -f core conftest.err conftest.$ac_objext conftest.beam \
14432    conftest$ac_exeext conftest.$ac_ext
14433    LDFLAGS=$save_LDFLAGS
14434    libdir=$save_libdir
14435
14436fi
14437
14438  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14439
14440  # This implies no fast_install, which is unacceptable.
14441  # Some rework will be needed to allow for fast_install
14442  # before this can be enabled.
14443  hardcode_into_libs=yes
14444
14445  # Ideally, we could use ldconfig to report *all* directores which are
14446  # searched for libraries, however this is still not possible.  Aside from not
14447  # being certain /sbin/ldconfig is available, command
14448  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
14449  # even though it is searched at run-time.  Try to do the best guess by
14450  # appending ld.so.conf contents (and includes) to the search path.
14451  if test -f /etc/ld.so.conf; then
14452    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' ' '`
14453    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14454  fi
14455
14456  # We used to test for /lib/ld.so.1 and disable shared libraries on
14457  # powerpc, because MkLinux only supported shared libraries with the
14458  # GNU dynamic linker.  Since this was broken with cross compilers,
14459  # most powerpc-linux boxes support dynamic linking these days and
14460  # people can always --disable-shared, the test was removed, and we
14461  # assume the GNU/Linux dynamic linker is in use.
14462  dynamic_linker='GNU/Linux ld.so'
14463  ;;
14464
14465netbsd*)
14466  version_type=sunos
14467  need_lib_prefix=no
14468  need_version=no
14469  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14470    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
14471    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14472    dynamic_linker='NetBSD (a.out) ld.so'
14473  else
14474    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14475    soname_spec='$libname$release$shared_ext$major'
14476    dynamic_linker='NetBSD ld.elf_so'
14477  fi
14478  shlibpath_var=LD_LIBRARY_PATH
14479  shlibpath_overrides_runpath=yes
14480  hardcode_into_libs=yes
14481  ;;
14482
14483newsos6)
14484  version_type=linux # correct to gnu/linux during the next big refactor
14485  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14486  shlibpath_var=LD_LIBRARY_PATH
14487  shlibpath_overrides_runpath=yes
14488  ;;
14489
14490*nto* | *qnx*)
14491  version_type=qnx
14492  need_lib_prefix=no
14493  need_version=no
14494  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14495  soname_spec='$libname$release$shared_ext$major'
14496  shlibpath_var=LD_LIBRARY_PATH
14497  shlibpath_overrides_runpath=no
14498  hardcode_into_libs=yes
14499  dynamic_linker='ldqnx.so'
14500  ;;
14501
14502openbsd* | bitrig*)
14503  version_type=sunos
14504  sys_lib_dlsearch_path_spec=/usr/lib
14505  need_lib_prefix=no
14506  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
14507    need_version=no
14508  else
14509    need_version=yes
14510  fi
14511  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
14512  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14513  shlibpath_var=LD_LIBRARY_PATH
14514  shlibpath_overrides_runpath=yes
14515  ;;
14516
14517os2*)
14518  libname_spec='$name'
14519  version_type=windows
14520  shrext_cmds=.dll
14521  need_version=no
14522  need_lib_prefix=no
14523  # OS/2 can only load a DLL with a base name of 8 characters or less.
14524  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
14525    v=$($ECHO $release$versuffix | tr -d .-);
14526    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
14527    $ECHO $n$v`$shared_ext'
14528  library_names_spec='${libname}_dll.$libext'
14529  dynamic_linker='OS/2 ld.exe'
14530  shlibpath_var=BEGINLIBPATH
14531  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14532  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14533  postinstall_cmds='base_file=`basename \$file`~
14534    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
14535    dldir=$destdir/`dirname \$dlpath`~
14536    test -d \$dldir || mkdir -p \$dldir~
14537    $install_prog $dir/$dlname \$dldir/$dlname~
14538    chmod a+x \$dldir/$dlname~
14539    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14540      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14541    fi'
14542  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
14543    dlpath=$dir/\$dldll~
14544    $RM \$dlpath'
14545  ;;
14546
14547osf3* | osf4* | osf5*)
14548  version_type=osf
14549  need_lib_prefix=no
14550  need_version=no
14551  soname_spec='$libname$release$shared_ext$major'
14552  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14553  shlibpath_var=LD_LIBRARY_PATH
14554  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14555  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14556  ;;
14557
14558rdos*)
14559  dynamic_linker=no
14560  ;;
14561
14562solaris*)
14563  version_type=linux # correct to gnu/linux during the next big refactor
14564  need_lib_prefix=no
14565  need_version=no
14566  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14567  soname_spec='$libname$release$shared_ext$major'
14568  shlibpath_var=LD_LIBRARY_PATH
14569  shlibpath_overrides_runpath=yes
14570  hardcode_into_libs=yes
14571  # ldd complains unless libraries are executable
14572  postinstall_cmds='chmod +x $lib'
14573  ;;
14574
14575sunos4*)
14576  version_type=sunos
14577  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
14578  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14579  shlibpath_var=LD_LIBRARY_PATH
14580  shlibpath_overrides_runpath=yes
14581  if test yes = "$with_gnu_ld"; then
14582    need_lib_prefix=no
14583  fi
14584  need_version=yes
14585  ;;
14586
14587sysv4 | sysv4.3*)
14588  version_type=linux # correct to gnu/linux during the next big refactor
14589  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14590  soname_spec='$libname$release$shared_ext$major'
14591  shlibpath_var=LD_LIBRARY_PATH
14592  case $host_vendor in
14593    sni)
14594      shlibpath_overrides_runpath=no
14595      need_lib_prefix=no
14596      runpath_var=LD_RUN_PATH
14597      ;;
14598    siemens)
14599      need_lib_prefix=no
14600      ;;
14601    motorola)
14602      need_lib_prefix=no
14603      need_version=no
14604      shlibpath_overrides_runpath=no
14605      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14606      ;;
14607  esac
14608  ;;
14609
14610sysv4*MP*)
14611  if test -d /usr/nec; then
14612    version_type=linux # correct to gnu/linux during the next big refactor
14613    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
14614    soname_spec='$libname$shared_ext.$major'
14615    shlibpath_var=LD_LIBRARY_PATH
14616  fi
14617  ;;
14618
14619sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14620  version_type=sco
14621  need_lib_prefix=no
14622  need_version=no
14623  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
14624  soname_spec='$libname$release$shared_ext$major'
14625  shlibpath_var=LD_LIBRARY_PATH
14626  shlibpath_overrides_runpath=yes
14627  hardcode_into_libs=yes
14628  if test yes = "$with_gnu_ld"; then
14629    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14630  else
14631    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14632    case $host_os in
14633      sco3.2v5*)
14634        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14635	;;
14636    esac
14637  fi
14638  sys_lib_dlsearch_path_spec='/usr/lib'
14639  ;;
14640
14641tpf*)
14642  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
14643  version_type=linux # correct to gnu/linux during the next big refactor
14644  need_lib_prefix=no
14645  need_version=no
14646  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14647  shlibpath_var=LD_LIBRARY_PATH
14648  shlibpath_overrides_runpath=no
14649  hardcode_into_libs=yes
14650  ;;
14651
14652uts4*)
14653  version_type=linux # correct to gnu/linux during the next big refactor
14654  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14655  soname_spec='$libname$release$shared_ext$major'
14656  shlibpath_var=LD_LIBRARY_PATH
14657  ;;
14658
14659*)
14660  dynamic_linker=no
14661  ;;
14662esac
14663{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14664printf "%s\n" "$dynamic_linker" >&6; }
14665test no = "$dynamic_linker" && can_build_shared=no
14666
14667variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14668if test yes = "$GCC"; then
14669  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14670fi
14671
14672if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
14673  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
14674fi
14675
14676if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
14677  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
14678fi
14679
14680# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
14681configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
14682
14683# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
14684func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
14685
14686# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
14687configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
14688
14689
14690
14691
14692
14693
14694
14695
14696
14697
14698
14699
14700
14701
14702
14703
14704
14705
14706
14707
14708
14709
14710
14711
14712
14713
14714
14715
14716
14717
14718
14719
14720
14721
14722
14723
14724
14725
14726
14727
14728
14729
14730
14731
14732
14733
14734
14735
14736
14737
14738
14739
14740
14741
14742
14743
14744
14745
14746
14747
14748
14749
14750
14751
14752
14753
14754
14755
14756
14757
14758
14759
14760
14761
14762
14763
14764
14765
14766
14767
14768
14769
14770
14771
14772
14773
14774
14775
14776
14777
14778
14779
14780
14781
14782
14783
14784
14785  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14786printf %s "checking how to hardcode library paths into programs... " >&6; }
14787hardcode_action=
14788if test -n "$hardcode_libdir_flag_spec" ||
14789   test -n "$runpath_var" ||
14790   test yes = "$hardcode_automatic"; then
14791
14792  # We can hardcode non-existent directories.
14793  if test no != "$hardcode_direct" &&
14794     # If the only mechanism to avoid hardcoding is shlibpath_var, we
14795     # have to relink, otherwise we might link with an installed library
14796     # when we should be linking with a yet-to-be-installed one
14797     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
14798     test no != "$hardcode_minus_L"; then
14799    # Linking always hardcodes the temporary library directory.
14800    hardcode_action=relink
14801  else
14802    # We can link without hardcoding, and we can hardcode nonexisting dirs.
14803    hardcode_action=immediate
14804  fi
14805else
14806  # We cannot hardcode anything, or else we can only hardcode existing
14807  # directories.
14808  hardcode_action=unsupported
14809fi
14810{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
14811printf "%s\n" "$hardcode_action" >&6; }
14812
14813if test relink = "$hardcode_action" ||
14814   test yes = "$inherit_rpath"; then
14815  # Fast installation is not supported
14816  enable_fast_install=no
14817elif test yes = "$shlibpath_overrides_runpath" ||
14818     test no = "$enable_shared"; then
14819  # Fast installation is not necessary
14820  enable_fast_install=needless
14821fi
14822
14823
14824
14825
14826
14827
14828  if test yes != "$enable_dlopen"; then
14829  enable_dlopen=unknown
14830  enable_dlopen_self=unknown
14831  enable_dlopen_self_static=unknown
14832else
14833  lt_cv_dlopen=no
14834  lt_cv_dlopen_libs=
14835
14836  case $host_os in
14837  beos*)
14838    lt_cv_dlopen=load_add_on
14839    lt_cv_dlopen_libs=
14840    lt_cv_dlopen_self=yes
14841    ;;
14842
14843  mingw* | pw32* | cegcc*)
14844    lt_cv_dlopen=LoadLibrary
14845    lt_cv_dlopen_libs=
14846    ;;
14847
14848  cygwin*)
14849    lt_cv_dlopen=dlopen
14850    lt_cv_dlopen_libs=
14851    ;;
14852
14853  darwin*)
14854    # if libdl is installed we need to link against it
14855    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14856printf %s "checking for dlopen in -ldl... " >&6; }
14857if test ${ac_cv_lib_dl_dlopen+y}
14858then :
14859  printf %s "(cached) " >&6
14860else $as_nop
14861  ac_check_lib_save_LIBS=$LIBS
14862LIBS="-ldl  $LIBS"
14863cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14864/* end confdefs.h.  */
14865
14866/* Override any GCC internal prototype to avoid an error.
14867   Use char because int might match the return type of a GCC
14868   builtin and then its argument prototype would still apply.  */
14869char dlopen ();
14870int
14871main (void)
14872{
14873return dlopen ();
14874  ;
14875  return 0;
14876}
14877_ACEOF
14878if ac_fn_c_try_link "$LINENO"
14879then :
14880  ac_cv_lib_dl_dlopen=yes
14881else $as_nop
14882  ac_cv_lib_dl_dlopen=no
14883fi
14884rm -f core conftest.err conftest.$ac_objext conftest.beam \
14885    conftest$ac_exeext conftest.$ac_ext
14886LIBS=$ac_check_lib_save_LIBS
14887fi
14888{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14889printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
14890if test "x$ac_cv_lib_dl_dlopen" = xyes
14891then :
14892  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
14893else $as_nop
14894
14895    lt_cv_dlopen=dyld
14896    lt_cv_dlopen_libs=
14897    lt_cv_dlopen_self=yes
14898
14899fi
14900
14901    ;;
14902
14903  tpf*)
14904    # Don't try to run any link tests for TPF.  We know it's impossible
14905    # because TPF is a cross-compiler, and we know how we open DSOs.
14906    lt_cv_dlopen=dlopen
14907    lt_cv_dlopen_libs=
14908    lt_cv_dlopen_self=no
14909    ;;
14910
14911  *)
14912    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
14913if test "x$ac_cv_func_shl_load" = xyes
14914then :
14915  lt_cv_dlopen=shl_load
14916else $as_nop
14917  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
14918printf %s "checking for shl_load in -ldld... " >&6; }
14919if test ${ac_cv_lib_dld_shl_load+y}
14920then :
14921  printf %s "(cached) " >&6
14922else $as_nop
14923  ac_check_lib_save_LIBS=$LIBS
14924LIBS="-ldld  $LIBS"
14925cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14926/* end confdefs.h.  */
14927
14928/* Override any GCC internal prototype to avoid an error.
14929   Use char because int might match the return type of a GCC
14930   builtin and then its argument prototype would still apply.  */
14931char shl_load ();
14932int
14933main (void)
14934{
14935return shl_load ();
14936  ;
14937  return 0;
14938}
14939_ACEOF
14940if ac_fn_c_try_link "$LINENO"
14941then :
14942  ac_cv_lib_dld_shl_load=yes
14943else $as_nop
14944  ac_cv_lib_dld_shl_load=no
14945fi
14946rm -f core conftest.err conftest.$ac_objext conftest.beam \
14947    conftest$ac_exeext conftest.$ac_ext
14948LIBS=$ac_check_lib_save_LIBS
14949fi
14950{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
14951printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
14952if test "x$ac_cv_lib_dld_shl_load" = xyes
14953then :
14954  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
14955else $as_nop
14956  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
14957if test "x$ac_cv_func_dlopen" = xyes
14958then :
14959  lt_cv_dlopen=dlopen
14960else $as_nop
14961  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14962printf %s "checking for dlopen in -ldl... " >&6; }
14963if test ${ac_cv_lib_dl_dlopen+y}
14964then :
14965  printf %s "(cached) " >&6
14966else $as_nop
14967  ac_check_lib_save_LIBS=$LIBS
14968LIBS="-ldl  $LIBS"
14969cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14970/* end confdefs.h.  */
14971
14972/* Override any GCC internal prototype to avoid an error.
14973   Use char because int might match the return type of a GCC
14974   builtin and then its argument prototype would still apply.  */
14975char dlopen ();
14976int
14977main (void)
14978{
14979return dlopen ();
14980  ;
14981  return 0;
14982}
14983_ACEOF
14984if ac_fn_c_try_link "$LINENO"
14985then :
14986  ac_cv_lib_dl_dlopen=yes
14987else $as_nop
14988  ac_cv_lib_dl_dlopen=no
14989fi
14990rm -f core conftest.err conftest.$ac_objext conftest.beam \
14991    conftest$ac_exeext conftest.$ac_ext
14992LIBS=$ac_check_lib_save_LIBS
14993fi
14994{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14995printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
14996if test "x$ac_cv_lib_dl_dlopen" = xyes
14997then :
14998  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
14999else $as_nop
15000  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
15001printf %s "checking for dlopen in -lsvld... " >&6; }
15002if test ${ac_cv_lib_svld_dlopen+y}
15003then :
15004  printf %s "(cached) " >&6
15005else $as_nop
15006  ac_check_lib_save_LIBS=$LIBS
15007LIBS="-lsvld  $LIBS"
15008cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15009/* end confdefs.h.  */
15010
15011/* Override any GCC internal prototype to avoid an error.
15012   Use char because int might match the return type of a GCC
15013   builtin and then its argument prototype would still apply.  */
15014char dlopen ();
15015int
15016main (void)
15017{
15018return dlopen ();
15019  ;
15020  return 0;
15021}
15022_ACEOF
15023if ac_fn_c_try_link "$LINENO"
15024then :
15025  ac_cv_lib_svld_dlopen=yes
15026else $as_nop
15027  ac_cv_lib_svld_dlopen=no
15028fi
15029rm -f core conftest.err conftest.$ac_objext conftest.beam \
15030    conftest$ac_exeext conftest.$ac_ext
15031LIBS=$ac_check_lib_save_LIBS
15032fi
15033{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
15034printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
15035if test "x$ac_cv_lib_svld_dlopen" = xyes
15036then :
15037  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
15038else $as_nop
15039  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
15040printf %s "checking for dld_link in -ldld... " >&6; }
15041if test ${ac_cv_lib_dld_dld_link+y}
15042then :
15043  printf %s "(cached) " >&6
15044else $as_nop
15045  ac_check_lib_save_LIBS=$LIBS
15046LIBS="-ldld  $LIBS"
15047cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15048/* end confdefs.h.  */
15049
15050/* Override any GCC internal prototype to avoid an error.
15051   Use char because int might match the return type of a GCC
15052   builtin and then its argument prototype would still apply.  */
15053char dld_link ();
15054int
15055main (void)
15056{
15057return dld_link ();
15058  ;
15059  return 0;
15060}
15061_ACEOF
15062if ac_fn_c_try_link "$LINENO"
15063then :
15064  ac_cv_lib_dld_dld_link=yes
15065else $as_nop
15066  ac_cv_lib_dld_dld_link=no
15067fi
15068rm -f core conftest.err conftest.$ac_objext conftest.beam \
15069    conftest$ac_exeext conftest.$ac_ext
15070LIBS=$ac_check_lib_save_LIBS
15071fi
15072{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
15073printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
15074if test "x$ac_cv_lib_dld_dld_link" = xyes
15075then :
15076  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
15077fi
15078
15079
15080fi
15081
15082
15083fi
15084
15085
15086fi
15087
15088
15089fi
15090
15091
15092fi
15093
15094    ;;
15095  esac
15096
15097  if test no = "$lt_cv_dlopen"; then
15098    enable_dlopen=no
15099  else
15100    enable_dlopen=yes
15101  fi
15102
15103  case $lt_cv_dlopen in
15104  dlopen)
15105    save_CPPFLAGS=$CPPFLAGS
15106    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
15107
15108    save_LDFLAGS=$LDFLAGS
15109    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
15110
15111    save_LIBS=$LIBS
15112    LIBS="$lt_cv_dlopen_libs $LIBS"
15113
15114    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
15115printf %s "checking whether a program can dlopen itself... " >&6; }
15116if test ${lt_cv_dlopen_self+y}
15117then :
15118  printf %s "(cached) " >&6
15119else $as_nop
15120  	  if test yes = "$cross_compiling"; then :
15121  lt_cv_dlopen_self=cross
15122else
15123  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
15124  lt_status=$lt_dlunknown
15125  cat > conftest.$ac_ext <<_LT_EOF
15126#line $LINENO "configure"
15127#include "confdefs.h"
15128
15129#if HAVE_DLFCN_H
15130#include <dlfcn.h>
15131#endif
15132
15133#include <stdio.h>
15134
15135#ifdef RTLD_GLOBAL
15136#  define LT_DLGLOBAL		RTLD_GLOBAL
15137#else
15138#  ifdef DL_GLOBAL
15139#    define LT_DLGLOBAL		DL_GLOBAL
15140#  else
15141#    define LT_DLGLOBAL		0
15142#  endif
15143#endif
15144
15145/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
15146   find out it does not work in some platform. */
15147#ifndef LT_DLLAZY_OR_NOW
15148#  ifdef RTLD_LAZY
15149#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
15150#  else
15151#    ifdef DL_LAZY
15152#      define LT_DLLAZY_OR_NOW		DL_LAZY
15153#    else
15154#      ifdef RTLD_NOW
15155#        define LT_DLLAZY_OR_NOW	RTLD_NOW
15156#      else
15157#        ifdef DL_NOW
15158#          define LT_DLLAZY_OR_NOW	DL_NOW
15159#        else
15160#          define LT_DLLAZY_OR_NOW	0
15161#        endif
15162#      endif
15163#    endif
15164#  endif
15165#endif
15166
15167/* When -fvisibility=hidden is used, assume the code has been annotated
15168   correspondingly for the symbols needed.  */
15169#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
15170int fnord () __attribute__((visibility("default")));
15171#endif
15172
15173int fnord () { return 42; }
15174int main ()
15175{
15176  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
15177  int status = $lt_dlunknown;
15178
15179  if (self)
15180    {
15181      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
15182      else
15183        {
15184	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
15185          else puts (dlerror ());
15186	}
15187      /* dlclose (self); */
15188    }
15189  else
15190    puts (dlerror ());
15191
15192  return status;
15193}
15194_LT_EOF
15195  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
15196  (eval $ac_link) 2>&5
15197  ac_status=$?
15198  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15199  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
15200    (./conftest; exit; ) >&5 2>/dev/null
15201    lt_status=$?
15202    case x$lt_status in
15203      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
15204      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
15205      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
15206    esac
15207  else :
15208    # compilation failed
15209    lt_cv_dlopen_self=no
15210  fi
15211fi
15212rm -fr conftest*
15213
15214
15215fi
15216{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
15217printf "%s\n" "$lt_cv_dlopen_self" >&6; }
15218
15219    if test yes = "$lt_cv_dlopen_self"; then
15220      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
15221      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
15222printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
15223if test ${lt_cv_dlopen_self_static+y}
15224then :
15225  printf %s "(cached) " >&6
15226else $as_nop
15227  	  if test yes = "$cross_compiling"; then :
15228  lt_cv_dlopen_self_static=cross
15229else
15230  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
15231  lt_status=$lt_dlunknown
15232  cat > conftest.$ac_ext <<_LT_EOF
15233#line $LINENO "configure"
15234#include "confdefs.h"
15235
15236#if HAVE_DLFCN_H
15237#include <dlfcn.h>
15238#endif
15239
15240#include <stdio.h>
15241
15242#ifdef RTLD_GLOBAL
15243#  define LT_DLGLOBAL		RTLD_GLOBAL
15244#else
15245#  ifdef DL_GLOBAL
15246#    define LT_DLGLOBAL		DL_GLOBAL
15247#  else
15248#    define LT_DLGLOBAL		0
15249#  endif
15250#endif
15251
15252/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
15253   find out it does not work in some platform. */
15254#ifndef LT_DLLAZY_OR_NOW
15255#  ifdef RTLD_LAZY
15256#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
15257#  else
15258#    ifdef DL_LAZY
15259#      define LT_DLLAZY_OR_NOW		DL_LAZY
15260#    else
15261#      ifdef RTLD_NOW
15262#        define LT_DLLAZY_OR_NOW	RTLD_NOW
15263#      else
15264#        ifdef DL_NOW
15265#          define LT_DLLAZY_OR_NOW	DL_NOW
15266#        else
15267#          define LT_DLLAZY_OR_NOW	0
15268#        endif
15269#      endif
15270#    endif
15271#  endif
15272#endif
15273
15274/* When -fvisibility=hidden is used, assume the code has been annotated
15275   correspondingly for the symbols needed.  */
15276#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
15277int fnord () __attribute__((visibility("default")));
15278#endif
15279
15280int fnord () { return 42; }
15281int main ()
15282{
15283  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
15284  int status = $lt_dlunknown;
15285
15286  if (self)
15287    {
15288      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
15289      else
15290        {
15291	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
15292          else puts (dlerror ());
15293	}
15294      /* dlclose (self); */
15295    }
15296  else
15297    puts (dlerror ());
15298
15299  return status;
15300}
15301_LT_EOF
15302  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
15303  (eval $ac_link) 2>&5
15304  ac_status=$?
15305  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15306  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
15307    (./conftest; exit; ) >&5 2>/dev/null
15308    lt_status=$?
15309    case x$lt_status in
15310      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
15311      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
15312      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
15313    esac
15314  else :
15315    # compilation failed
15316    lt_cv_dlopen_self_static=no
15317  fi
15318fi
15319rm -fr conftest*
15320
15321
15322fi
15323{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
15324printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
15325    fi
15326
15327    CPPFLAGS=$save_CPPFLAGS
15328    LDFLAGS=$save_LDFLAGS
15329    LIBS=$save_LIBS
15330    ;;
15331  esac
15332
15333  case $lt_cv_dlopen_self in
15334  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
15335  *) enable_dlopen_self=unknown ;;
15336  esac
15337
15338  case $lt_cv_dlopen_self_static in
15339  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
15340  *) enable_dlopen_self_static=unknown ;;
15341  esac
15342fi
15343
15344
15345
15346
15347
15348
15349
15350
15351
15352
15353
15354
15355
15356
15357
15358
15359
15360striplib=
15361old_striplib=
15362{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
15363printf %s "checking whether stripping libraries is possible... " >&6; }
15364if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
15365  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
15366  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
15367  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15368printf "%s\n" "yes" >&6; }
15369else
15370# FIXME - insert some real tests, host_os isn't really good enough
15371  case $host_os in
15372  darwin*)
15373    if test -n "$STRIP"; then
15374      striplib="$STRIP -x"
15375      old_striplib="$STRIP -S"
15376      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15377printf "%s\n" "yes" >&6; }
15378    else
15379      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15380printf "%s\n" "no" >&6; }
15381    fi
15382    ;;
15383  *)
15384    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15385printf "%s\n" "no" >&6; }
15386    ;;
15387  esac
15388fi
15389
15390
15391
15392
15393
15394
15395
15396
15397
15398
15399
15400
15401  # Report what library types will actually be built
15402  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
15403printf %s "checking if libtool supports shared libraries... " >&6; }
15404  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
15405printf "%s\n" "$can_build_shared" >&6; }
15406
15407  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
15408printf %s "checking whether to build shared libraries... " >&6; }
15409  test no = "$can_build_shared" && enable_shared=no
15410
15411  # On AIX, shared libraries and static libraries use the same namespace, and
15412  # are all built from PIC.
15413  case $host_os in
15414  aix3*)
15415    test yes = "$enable_shared" && enable_static=no
15416    if test -n "$RANLIB"; then
15417      archive_cmds="$archive_cmds~\$RANLIB \$lib"
15418      postinstall_cmds='$RANLIB $lib'
15419    fi
15420    ;;
15421
15422  aix[4-9]*)
15423    if test ia64 != "$host_cpu"; then
15424      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
15425      yes,aix,yes) ;;			# shared object as lib.so file only
15426      yes,svr4,*) ;;			# shared object as lib.so archive member only
15427      yes,*) enable_static=no ;;	# shared object in lib.a archive as well
15428      esac
15429    fi
15430    ;;
15431  esac
15432  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
15433printf "%s\n" "$enable_shared" >&6; }
15434
15435  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
15436printf %s "checking whether to build static libraries... " >&6; }
15437  # Make sure either enable_shared or enable_static is yes.
15438  test yes = "$enable_shared" || enable_static=yes
15439  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
15440printf "%s\n" "$enable_static" >&6; }
15441
15442
15443
15444
15445fi
15446ac_ext=c
15447ac_cpp='$CPP $CPPFLAGS'
15448ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15449ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15450ac_compiler_gnu=$ac_cv_c_compiler_gnu
15451
15452CC=$lt_save_CC
15453
15454      if test -n "$CXX" && ( test no != "$CXX" &&
15455    ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
15456    (test g++ != "$CXX"))); then
15457  ac_ext=cpp
15458ac_cpp='$CXXCPP $CPPFLAGS'
15459ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15460ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15461ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15462{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
15463printf %s "checking how to run the C++ preprocessor... " >&6; }
15464if test -z "$CXXCPP"; then
15465  if test ${ac_cv_prog_CXXCPP+y}
15466then :
15467  printf %s "(cached) " >&6
15468else $as_nop
15469      # Double quotes because $CXX needs to be expanded
15470    for CXXCPP in "$CXX -E" cpp /lib/cpp
15471    do
15472      ac_preproc_ok=false
15473for ac_cxx_preproc_warn_flag in '' yes
15474do
15475  # Use a header file that comes with gcc, so configuring glibc
15476  # with a fresh cross-compiler works.
15477  # On the NeXT, cc -E runs the code through the compiler's parser,
15478  # not just through cpp. "Syntax error" is here to catch this case.
15479  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15480/* end confdefs.h.  */
15481#include <limits.h>
15482		     Syntax error
15483_ACEOF
15484if ac_fn_cxx_try_cpp "$LINENO"
15485then :
15486
15487else $as_nop
15488  # Broken: fails on valid input.
15489continue
15490fi
15491rm -f conftest.err conftest.i conftest.$ac_ext
15492
15493  # OK, works on sane cases.  Now check whether nonexistent headers
15494  # can be detected and how.
15495  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15496/* end confdefs.h.  */
15497#include <ac_nonexistent.h>
15498_ACEOF
15499if ac_fn_cxx_try_cpp "$LINENO"
15500then :
15501  # Broken: success on invalid input.
15502continue
15503else $as_nop
15504  # Passes both tests.
15505ac_preproc_ok=:
15506break
15507fi
15508rm -f conftest.err conftest.i conftest.$ac_ext
15509
15510done
15511# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15512rm -f conftest.i conftest.err conftest.$ac_ext
15513if $ac_preproc_ok
15514then :
15515  break
15516fi
15517
15518    done
15519    ac_cv_prog_CXXCPP=$CXXCPP
15520
15521fi
15522  CXXCPP=$ac_cv_prog_CXXCPP
15523else
15524  ac_cv_prog_CXXCPP=$CXXCPP
15525fi
15526{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
15527printf "%s\n" "$CXXCPP" >&6; }
15528ac_preproc_ok=false
15529for ac_cxx_preproc_warn_flag in '' yes
15530do
15531  # Use a header file that comes with gcc, so configuring glibc
15532  # with a fresh cross-compiler works.
15533  # On the NeXT, cc -E runs the code through the compiler's parser,
15534  # not just through cpp. "Syntax error" is here to catch this case.
15535  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15536/* end confdefs.h.  */
15537#include <limits.h>
15538		     Syntax error
15539_ACEOF
15540if ac_fn_cxx_try_cpp "$LINENO"
15541then :
15542
15543else $as_nop
15544  # Broken: fails on valid input.
15545continue
15546fi
15547rm -f conftest.err conftest.i conftest.$ac_ext
15548
15549  # OK, works on sane cases.  Now check whether nonexistent headers
15550  # can be detected and how.
15551  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15552/* end confdefs.h.  */
15553#include <ac_nonexistent.h>
15554_ACEOF
15555if ac_fn_cxx_try_cpp "$LINENO"
15556then :
15557  # Broken: success on invalid input.
15558continue
15559else $as_nop
15560  # Passes both tests.
15561ac_preproc_ok=:
15562break
15563fi
15564rm -f conftest.err conftest.i conftest.$ac_ext
15565
15566done
15567# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15568rm -f conftest.i conftest.err conftest.$ac_ext
15569if $ac_preproc_ok
15570then :
15571
15572else $as_nop
15573  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15574printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
15575as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
15576See \`config.log' for more details" "$LINENO" 5; }
15577fi
15578
15579ac_ext=c
15580ac_cpp='$CPP $CPPFLAGS'
15581ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15582ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15583ac_compiler_gnu=$ac_cv_c_compiler_gnu
15584
15585else
15586  _lt_caught_CXX_error=yes
15587fi
15588
15589ac_ext=cpp
15590ac_cpp='$CXXCPP $CPPFLAGS'
15591ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15592ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15593ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15594
15595archive_cmds_need_lc_CXX=no
15596allow_undefined_flag_CXX=
15597always_export_symbols_CXX=no
15598archive_expsym_cmds_CXX=
15599compiler_needs_object_CXX=no
15600export_dynamic_flag_spec_CXX=
15601hardcode_direct_CXX=no
15602hardcode_direct_absolute_CXX=no
15603hardcode_libdir_flag_spec_CXX=
15604hardcode_libdir_separator_CXX=
15605hardcode_minus_L_CXX=no
15606hardcode_shlibpath_var_CXX=unsupported
15607hardcode_automatic_CXX=no
15608inherit_rpath_CXX=no
15609module_cmds_CXX=
15610module_expsym_cmds_CXX=
15611link_all_deplibs_CXX=unknown
15612old_archive_cmds_CXX=$old_archive_cmds
15613reload_flag_CXX=$reload_flag
15614reload_cmds_CXX=$reload_cmds
15615no_undefined_flag_CXX=
15616whole_archive_flag_spec_CXX=
15617enable_shared_with_static_runtimes_CXX=no
15618
15619# Source file extension for C++ test sources.
15620ac_ext=cpp
15621
15622# Object file extension for compiled C++ test sources.
15623objext=o
15624objext_CXX=$objext
15625
15626# No sense in running all these tests if we already determined that
15627# the CXX compiler isn't working.  Some variables (like enable_shared)
15628# are currently assumed to apply to all compilers on this platform,
15629# and will be corrupted by setting them based on a non-working compiler.
15630if test yes != "$_lt_caught_CXX_error"; then
15631  # Code to be used in simple compile tests
15632  lt_simple_compile_test_code="int some_variable = 0;"
15633
15634  # Code to be used in simple link tests
15635  lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
15636
15637  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15638
15639
15640
15641
15642
15643
15644# If no C compiler was specified, use CC.
15645LTCC=${LTCC-"$CC"}
15646
15647# If no C compiler flags were specified, use CFLAGS.
15648LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
15649
15650# Allow CC to be a program name with arguments.
15651compiler=$CC
15652
15653
15654  # save warnings/boilerplate of simple test code
15655  ac_outfile=conftest.$ac_objext
15656echo "$lt_simple_compile_test_code" >conftest.$ac_ext
15657eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15658_lt_compiler_boilerplate=`cat conftest.err`
15659$RM conftest*
15660
15661  ac_outfile=conftest.$ac_objext
15662echo "$lt_simple_link_test_code" >conftest.$ac_ext
15663eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15664_lt_linker_boilerplate=`cat conftest.err`
15665$RM -r conftest*
15666
15667
15668  # Allow CC to be a program name with arguments.
15669  lt_save_CC=$CC
15670  lt_save_CFLAGS=$CFLAGS
15671  lt_save_LD=$LD
15672  lt_save_GCC=$GCC
15673  GCC=$GXX
15674  lt_save_with_gnu_ld=$with_gnu_ld
15675  lt_save_path_LD=$lt_cv_path_LD
15676  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
15677    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
15678  else
15679    $as_unset lt_cv_prog_gnu_ld
15680  fi
15681  if test -n "${lt_cv_path_LDCXX+set}"; then
15682    lt_cv_path_LD=$lt_cv_path_LDCXX
15683  else
15684    $as_unset lt_cv_path_LD
15685  fi
15686  test -z "${LDCXX+set}" || LD=$LDCXX
15687  CC=${CXX-"c++"}
15688  CFLAGS=$CXXFLAGS
15689  compiler=$CC
15690  compiler_CXX=$CC
15691  func_cc_basename $compiler
15692cc_basename=$func_cc_basename_result
15693
15694
15695  if test -n "$compiler"; then
15696    # We don't want -fno-exception when compiling C++ code, so set the
15697    # no_builtin_flag separately
15698    if test yes = "$GXX"; then
15699      lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
15700    else
15701      lt_prog_compiler_no_builtin_flag_CXX=
15702    fi
15703
15704    if test yes = "$GXX"; then
15705      # Set up default GNU C++ configuration
15706
15707
15708
15709# Check whether --with-gnu-ld was given.
15710if test ${with_gnu_ld+y}
15711then :
15712  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
15713else $as_nop
15714  with_gnu_ld=no
15715fi
15716
15717ac_prog=ld
15718if test yes = "$GCC"; then
15719  # Check if gcc -print-prog-name=ld gives a path.
15720  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
15721printf %s "checking for ld used by $CC... " >&6; }
15722  case $host in
15723  *-*-mingw*)
15724    # gcc leaves a trailing carriage return, which upsets mingw
15725    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
15726  *)
15727    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
15728  esac
15729  case $ac_prog in
15730    # Accept absolute paths.
15731    [\\/]* | ?:[\\/]*)
15732      re_direlt='/[^/][^/]*/\.\./'
15733      # Canonicalize the pathname of ld
15734      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
15735      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
15736	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
15737      done
15738      test -z "$LD" && LD=$ac_prog
15739      ;;
15740  "")
15741    # If it fails, then pretend we aren't using GCC.
15742    ac_prog=ld
15743    ;;
15744  *)
15745    # If it is relative, then search for the first ld in PATH.
15746    with_gnu_ld=unknown
15747    ;;
15748  esac
15749elif test yes = "$with_gnu_ld"; then
15750  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
15751printf %s "checking for GNU ld... " >&6; }
15752else
15753  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
15754printf %s "checking for non-GNU ld... " >&6; }
15755fi
15756if test ${lt_cv_path_LD+y}
15757then :
15758  printf %s "(cached) " >&6
15759else $as_nop
15760  if test -z "$LD"; then
15761  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
15762  for ac_dir in $PATH; do
15763    IFS=$lt_save_ifs
15764    test -z "$ac_dir" && ac_dir=.
15765    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
15766      lt_cv_path_LD=$ac_dir/$ac_prog
15767      # Check to see if the program is GNU ld.  I'd rather use --version,
15768      # but apparently some variants of GNU ld only accept -v.
15769      # Break only if it was the GNU/non-GNU ld that we prefer.
15770      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
15771      *GNU* | *'with BFD'*)
15772	test no != "$with_gnu_ld" && break
15773	;;
15774      *)
15775	test yes != "$with_gnu_ld" && break
15776	;;
15777      esac
15778    fi
15779  done
15780  IFS=$lt_save_ifs
15781else
15782  lt_cv_path_LD=$LD # Let the user override the test with a path.
15783fi
15784fi
15785
15786LD=$lt_cv_path_LD
15787if test -n "$LD"; then
15788  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
15789printf "%s\n" "$LD" >&6; }
15790else
15791  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15792printf "%s\n" "no" >&6; }
15793fi
15794test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
15795{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
15796printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
15797if test ${lt_cv_prog_gnu_ld+y}
15798then :
15799  printf %s "(cached) " >&6
15800else $as_nop
15801  # I'd rather use --version here, but apparently some GNU lds only accept -v.
15802case `$LD -v 2>&1 </dev/null` in
15803*GNU* | *'with BFD'*)
15804  lt_cv_prog_gnu_ld=yes
15805  ;;
15806*)
15807  lt_cv_prog_gnu_ld=no
15808  ;;
15809esac
15810fi
15811{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
15812printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
15813with_gnu_ld=$lt_cv_prog_gnu_ld
15814
15815
15816
15817
15818
15819
15820
15821      # Check if GNU C++ uses GNU ld as the underlying linker, since the
15822      # archiving commands below assume that GNU ld is being used.
15823      if test yes = "$with_gnu_ld"; then
15824        archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15825        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'
15826
15827        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
15828        export_dynamic_flag_spec_CXX='$wl--export-dynamic'
15829
15830        # If archive_cmds runs LD, not CC, wlarc should be empty
15831        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
15832        #     investigate it a little bit more. (MM)
15833        wlarc='$wl'
15834
15835        # ancient GNU ld didn't support --whole-archive et. al.
15836        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
15837	  $GREP 'no-whole-archive' > /dev/null; then
15838          whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
15839        else
15840          whole_archive_flag_spec_CXX=
15841        fi
15842      else
15843        with_gnu_ld=no
15844        wlarc=
15845
15846        # A generic and very simple default shared library creation
15847        # command for GNU C++ for the case where it uses the native
15848        # linker, instead of GNU ld.  If possible, this setting should
15849        # overridden to take advantage of the native linker features on
15850        # the platform it is being used on.
15851        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15852      fi
15853
15854      # Commands to make compiler produce verbose output that lists
15855      # what "hidden" libraries, object files and flags are used when
15856      # linking a shared library.
15857      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15858
15859    else
15860      GXX=no
15861      with_gnu_ld=no
15862      wlarc=
15863    fi
15864
15865    # PORTME: fill in a description of your system's C++ link characteristics
15866    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15867printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15868    ld_shlibs_CXX=yes
15869    case $host_os in
15870      aix3*)
15871        # FIXME: insert proper C++ library support
15872        ld_shlibs_CXX=no
15873        ;;
15874      aix[4-9]*)
15875        if test ia64 = "$host_cpu"; then
15876          # On IA64, the linker does run time linking by default, so we don't
15877          # have to do anything special.
15878          aix_use_runtimelinking=no
15879          exp_sym_flag='-Bexport'
15880          no_entry_flag=
15881        else
15882          aix_use_runtimelinking=no
15883
15884          # Test if we are trying to use run time linking or normal
15885          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15886          # have runtime linking enabled, and use it for executables.
15887          # For shared libraries, we enable/disable runtime linking
15888          # depending on the kind of the shared library created -
15889          # when "with_aix_soname,aix_use_runtimelinking" is:
15890          # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
15891          # "aix,yes"  lib.so          shared, rtl:yes, for executables
15892          #            lib.a           static archive
15893          # "both,no"  lib.so.V(shr.o) shared, rtl:yes
15894          #            lib.a(lib.so.V) shared, rtl:no,  for executables
15895          # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
15896          #            lib.a(lib.so.V) shared, rtl:no
15897          # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
15898          #            lib.a           static archive
15899          case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
15900	    for ld_flag in $LDFLAGS; do
15901	      case $ld_flag in
15902	      *-brtl*)
15903	        aix_use_runtimelinking=yes
15904	        break
15905	        ;;
15906	      esac
15907	    done
15908	    if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
15909	      # With aix-soname=svr4, we create the lib.so.V shared archives only,
15910	      # so we don't have lib.a shared libs to link our executables.
15911	      # We have to force runtime linking in this case.
15912	      aix_use_runtimelinking=yes
15913	      LDFLAGS="$LDFLAGS -Wl,-brtl"
15914	    fi
15915	    ;;
15916          esac
15917
15918          exp_sym_flag='-bexport'
15919          no_entry_flag='-bnoentry'
15920        fi
15921
15922        # When large executables or shared objects are built, AIX ld can
15923        # have problems creating the table of contents.  If linking a library
15924        # or program results in "error TOC overflow" add -mminimal-toc to
15925        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
15926        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15927
15928        archive_cmds_CXX=''
15929        hardcode_direct_CXX=yes
15930        hardcode_direct_absolute_CXX=yes
15931        hardcode_libdir_separator_CXX=':'
15932        link_all_deplibs_CXX=yes
15933        file_list_spec_CXX='$wl-f,'
15934        case $with_aix_soname,$aix_use_runtimelinking in
15935        aix,*) ;;	# no import file
15936        svr4,* | *,yes) # use import file
15937          # The Import File defines what to hardcode.
15938          hardcode_direct_CXX=no
15939          hardcode_direct_absolute_CXX=no
15940          ;;
15941        esac
15942
15943        if test yes = "$GXX"; then
15944          case $host_os in aix4.[012]|aix4.[012].*)
15945          # We only want to do this on AIX 4.2 and lower, the check
15946          # below for broken collect2 doesn't work under 4.3+
15947	  collect2name=`$CC -print-prog-name=collect2`
15948	  if test -f "$collect2name" &&
15949	     strings "$collect2name" | $GREP resolve_lib_name >/dev/null
15950	  then
15951	    # We have reworked collect2
15952	    :
15953	  else
15954	    # We have old collect2
15955	    hardcode_direct_CXX=unsupported
15956	    # It fails to find uninstalled libraries when the uninstalled
15957	    # path is not listed in the libpath.  Setting hardcode_minus_L
15958	    # to unsupported forces relinking
15959	    hardcode_minus_L_CXX=yes
15960	    hardcode_libdir_flag_spec_CXX='-L$libdir'
15961	    hardcode_libdir_separator_CXX=
15962	  fi
15963          esac
15964          shared_flag='-shared'
15965	  if test yes = "$aix_use_runtimelinking"; then
15966	    shared_flag=$shared_flag' $wl-G'
15967	  fi
15968	  # Need to ensure runtime linking is disabled for the traditional
15969	  # shared library, or the linker may eventually find shared libraries
15970	  # /with/ Import File - we do not want to mix them.
15971	  shared_flag_aix='-shared'
15972	  shared_flag_svr4='-shared $wl-G'
15973        else
15974          # not using gcc
15975          if test ia64 = "$host_cpu"; then
15976	  # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15977	  # chokes on -Wl,-G. The following line is correct:
15978	  shared_flag='-G'
15979          else
15980	    if test yes = "$aix_use_runtimelinking"; then
15981	      shared_flag='$wl-G'
15982	    else
15983	      shared_flag='$wl-bM:SRE'
15984	    fi
15985	    shared_flag_aix='$wl-bM:SRE'
15986	    shared_flag_svr4='$wl-G'
15987          fi
15988        fi
15989
15990        export_dynamic_flag_spec_CXX='$wl-bexpall'
15991        # It seems that -bexpall does not export symbols beginning with
15992        # underscore (_), so it is better to generate a list of symbols to
15993	# export.
15994        always_export_symbols_CXX=yes
15995	if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
15996          # Warning - without using the other runtime loading flags (-brtl),
15997          # -berok will link without error, but may produce a broken library.
15998          # The "-G" linker flag allows undefined symbols.
15999          no_undefined_flag_CXX='-bernotok'
16000          # Determine the default libpath from the value encoded in an empty
16001          # executable.
16002          if test set = "${lt_cv_aix_libpath+set}"; then
16003  aix_libpath=$lt_cv_aix_libpath
16004else
16005  if test ${lt_cv_aix_libpath__CXX+y}
16006then :
16007  printf %s "(cached) " >&6
16008else $as_nop
16009  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16010/* end confdefs.h.  */
16011
16012int
16013main (void)
16014{
16015
16016  ;
16017  return 0;
16018}
16019_ACEOF
16020if ac_fn_cxx_try_link "$LINENO"
16021then :
16022
16023  lt_aix_libpath_sed='
16024      /Import File Strings/,/^$/ {
16025	  /^0/ {
16026	      s/^0  *\([^ ]*\) *$/\1/
16027	      p
16028	  }
16029      }'
16030  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16031  # Check for a 64-bit object if we didn't find anything.
16032  if test -z "$lt_cv_aix_libpath__CXX"; then
16033    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16034  fi
16035fi
16036rm -f core conftest.err conftest.$ac_objext conftest.beam \
16037    conftest$ac_exeext conftest.$ac_ext
16038  if test -z "$lt_cv_aix_libpath__CXX"; then
16039    lt_cv_aix_libpath__CXX=/usr/lib:/lib
16040  fi
16041
16042fi
16043
16044  aix_libpath=$lt_cv_aix_libpath__CXX
16045fi
16046
16047          hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
16048
16049          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
16050        else
16051          if test ia64 = "$host_cpu"; then
16052	    hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
16053	    allow_undefined_flag_CXX="-z nodefs"
16054	    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"
16055          else
16056	    # Determine the default libpath from the value encoded in an
16057	    # empty executable.
16058	    if test set = "${lt_cv_aix_libpath+set}"; then
16059  aix_libpath=$lt_cv_aix_libpath
16060else
16061  if test ${lt_cv_aix_libpath__CXX+y}
16062then :
16063  printf %s "(cached) " >&6
16064else $as_nop
16065  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16066/* end confdefs.h.  */
16067
16068int
16069main (void)
16070{
16071
16072  ;
16073  return 0;
16074}
16075_ACEOF
16076if ac_fn_cxx_try_link "$LINENO"
16077then :
16078
16079  lt_aix_libpath_sed='
16080      /Import File Strings/,/^$/ {
16081	  /^0/ {
16082	      s/^0  *\([^ ]*\) *$/\1/
16083	      p
16084	  }
16085      }'
16086  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16087  # Check for a 64-bit object if we didn't find anything.
16088  if test -z "$lt_cv_aix_libpath__CXX"; then
16089    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16090  fi
16091fi
16092rm -f core conftest.err conftest.$ac_objext conftest.beam \
16093    conftest$ac_exeext conftest.$ac_ext
16094  if test -z "$lt_cv_aix_libpath__CXX"; then
16095    lt_cv_aix_libpath__CXX=/usr/lib:/lib
16096  fi
16097
16098fi
16099
16100  aix_libpath=$lt_cv_aix_libpath__CXX
16101fi
16102
16103	    hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
16104	    # Warning - without using the other run time loading flags,
16105	    # -berok will link without error, but may produce a broken library.
16106	    no_undefined_flag_CXX=' $wl-bernotok'
16107	    allow_undefined_flag_CXX=' $wl-berok'
16108	    if test yes = "$with_gnu_ld"; then
16109	      # We only use this code for GNU lds that support --whole-archive.
16110	      whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
16111	    else
16112	      # Exported symbols can be pulled into shared objects from archives
16113	      whole_archive_flag_spec_CXX='$convenience'
16114	    fi
16115	    archive_cmds_need_lc_CXX=yes
16116	    archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
16117	    # -brtl affects multiple linker settings, -berok does not and is overridden later
16118	    compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
16119	    if test svr4 != "$with_aix_soname"; then
16120	      # This is similar to how AIX traditionally builds its shared
16121	      # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
16122	      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'
16123	    fi
16124	    if test aix != "$with_aix_soname"; then
16125	      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'
16126	    else
16127	      # used by -dlpreopen to get the symbols
16128	      archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
16129	    fi
16130	    archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
16131          fi
16132        fi
16133        ;;
16134
16135      beos*)
16136	if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
16137	  allow_undefined_flag_CXX=unsupported
16138	  # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16139	  # support --undefined.  This deserves some investigation.  FIXME
16140	  archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
16141	else
16142	  ld_shlibs_CXX=no
16143	fi
16144	;;
16145
16146      chorus*)
16147        case $cc_basename in
16148          *)
16149	  # FIXME: insert proper C++ library support
16150	  ld_shlibs_CXX=no
16151	  ;;
16152        esac
16153        ;;
16154
16155      cygwin* | mingw* | pw32* | cegcc*)
16156	case $GXX,$cc_basename in
16157	,cl* | no,cl*)
16158	  # Native MSVC
16159	  # hardcode_libdir_flag_spec is actually meaningless, as there is
16160	  # no search path for DLLs.
16161	  hardcode_libdir_flag_spec_CXX=' '
16162	  allow_undefined_flag_CXX=unsupported
16163	  always_export_symbols_CXX=yes
16164	  file_list_spec_CXX='@'
16165	  # Tell ltmain to make .lib files, not .a files.
16166	  libext=lib
16167	  # Tell ltmain to make .dll files, not .so files.
16168	  shrext_cmds=.dll
16169	  # FIXME: Setting linknames here is a bad hack.
16170	  archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
16171	  archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
16172              cp "$export_symbols" "$output_objdir/$soname.def";
16173              echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
16174            else
16175              $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
16176            fi~
16177            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
16178            linknames='
16179	  # The linker will not automatically build a static lib if we build a DLL.
16180	  # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
16181	  enable_shared_with_static_runtimes_CXX=yes
16182	  # Don't use ranlib
16183	  old_postinstall_cmds_CXX='chmod 644 $oldlib'
16184	  postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
16185            lt_tool_outputfile="@TOOL_OUTPUT@"~
16186            case $lt_outputfile in
16187              *.exe|*.EXE) ;;
16188              *)
16189                lt_outputfile=$lt_outputfile.exe
16190                lt_tool_outputfile=$lt_tool_outputfile.exe
16191                ;;
16192            esac~
16193            func_to_tool_file "$lt_outputfile"~
16194            if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
16195              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
16196              $RM "$lt_outputfile.manifest";
16197            fi'
16198	  ;;
16199	*)
16200	  # g++
16201	  # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
16202	  # as there is no search path for DLLs.
16203	  hardcode_libdir_flag_spec_CXX='-L$libdir'
16204	  export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
16205	  allow_undefined_flag_CXX=unsupported
16206	  always_export_symbols_CXX=no
16207	  enable_shared_with_static_runtimes_CXX=yes
16208
16209	  if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
16210	    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'
16211	    # If the export-symbols file already is a .def file, use it as
16212	    # is; otherwise, prepend EXPORTS...
16213	    archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
16214              cp $export_symbols $output_objdir/$soname.def;
16215            else
16216              echo EXPORTS > $output_objdir/$soname.def;
16217              cat $export_symbols >> $output_objdir/$soname.def;
16218            fi~
16219            $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'
16220	  else
16221	    ld_shlibs_CXX=no
16222	  fi
16223	  ;;
16224	esac
16225	;;
16226      darwin* | rhapsody*)
16227
16228
16229  archive_cmds_need_lc_CXX=no
16230  hardcode_direct_CXX=no
16231  hardcode_automatic_CXX=yes
16232  hardcode_shlibpath_var_CXX=unsupported
16233  if test yes = "$lt_cv_ld_force_load"; then
16234    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\"`'
16235
16236  else
16237    whole_archive_flag_spec_CXX=''
16238  fi
16239  link_all_deplibs_CXX=yes
16240  allow_undefined_flag_CXX=$_lt_dar_allow_undefined
16241  case $cc_basename in
16242     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
16243     *) _lt_dar_can_shared=$GCC ;;
16244  esac
16245  if test yes = "$_lt_dar_can_shared"; then
16246    output_verbose_link_cmd=func_echo_all
16247    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"
16248    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
16249    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"
16250    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"
16251       if test yes != "$lt_cv_apple_cc_single_mod"; then
16252      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"
16253      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"
16254    fi
16255
16256  else
16257  ld_shlibs_CXX=no
16258  fi
16259
16260	;;
16261
16262      os2*)
16263	hardcode_libdir_flag_spec_CXX='-L$libdir'
16264	hardcode_minus_L_CXX=yes
16265	allow_undefined_flag_CXX=unsupported
16266	shrext_cmds=.dll
16267	archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
16268	  $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
16269	  $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
16270	  $ECHO EXPORTS >> $output_objdir/$libname.def~
16271	  emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
16272	  $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
16273	  emximp -o $lib $output_objdir/$libname.def'
16274	archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
16275	  $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
16276	  $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
16277	  $ECHO EXPORTS >> $output_objdir/$libname.def~
16278	  prefix_cmds="$SED"~
16279	  if test EXPORTS = "`$SED 1q $export_symbols`"; then
16280	    prefix_cmds="$prefix_cmds -e 1d";
16281	  fi~
16282	  prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
16283	  cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
16284	  $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
16285	  emximp -o $lib $output_objdir/$libname.def'
16286	old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
16287	enable_shared_with_static_runtimes_CXX=yes
16288	;;
16289
16290      dgux*)
16291        case $cc_basename in
16292          ec++*)
16293	    # FIXME: insert proper C++ library support
16294	    ld_shlibs_CXX=no
16295	    ;;
16296          ghcx*)
16297	    # Green Hills C++ Compiler
16298	    # FIXME: insert proper C++ library support
16299	    ld_shlibs_CXX=no
16300	    ;;
16301          *)
16302	    # FIXME: insert proper C++ library support
16303	    ld_shlibs_CXX=no
16304	    ;;
16305        esac
16306        ;;
16307
16308      freebsd2.*)
16309        # C++ shared libraries reported to be fairly broken before
16310	# switch to ELF
16311        ld_shlibs_CXX=no
16312        ;;
16313
16314      freebsd-elf*)
16315        archive_cmds_need_lc_CXX=no
16316        ;;
16317
16318      freebsd* | dragonfly*)
16319        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
16320        # conventions
16321        ld_shlibs_CXX=yes
16322        ;;
16323
16324      haiku*)
16325        archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
16326        link_all_deplibs_CXX=yes
16327        ;;
16328
16329      hpux9*)
16330        hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
16331        hardcode_libdir_separator_CXX=:
16332        export_dynamic_flag_spec_CXX='$wl-E'
16333        hardcode_direct_CXX=yes
16334        hardcode_minus_L_CXX=yes # Not in the search PATH,
16335				             # but as the default
16336				             # location of the library.
16337
16338        case $cc_basename in
16339          CC*)
16340            # FIXME: insert proper C++ library support
16341            ld_shlibs_CXX=no
16342            ;;
16343          aCC*)
16344            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'
16345            # Commands to make compiler produce verbose output that lists
16346            # what "hidden" libraries, object files and flags are used when
16347            # linking a shared library.
16348            #
16349            # There doesn't appear to be a way to prevent this compiler from
16350            # explicitly linking system object files so we need to strip them
16351            # from the output so that they don't get included in the library
16352            # dependencies.
16353            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"'
16354            ;;
16355          *)
16356            if test yes = "$GXX"; then
16357              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'
16358            else
16359              # FIXME: insert proper C++ library support
16360              ld_shlibs_CXX=no
16361            fi
16362            ;;
16363        esac
16364        ;;
16365
16366      hpux10*|hpux11*)
16367        if test no = "$with_gnu_ld"; then
16368	  hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
16369	  hardcode_libdir_separator_CXX=:
16370
16371          case $host_cpu in
16372            hppa*64*|ia64*)
16373              ;;
16374            *)
16375	      export_dynamic_flag_spec_CXX='$wl-E'
16376              ;;
16377          esac
16378        fi
16379        case $host_cpu in
16380          hppa*64*|ia64*)
16381            hardcode_direct_CXX=no
16382            hardcode_shlibpath_var_CXX=no
16383            ;;
16384          *)
16385            hardcode_direct_CXX=yes
16386            hardcode_direct_absolute_CXX=yes
16387            hardcode_minus_L_CXX=yes # Not in the search PATH,
16388					         # but as the default
16389					         # location of the library.
16390            ;;
16391        esac
16392
16393        case $cc_basename in
16394          CC*)
16395	    # FIXME: insert proper C++ library support
16396	    ld_shlibs_CXX=no
16397	    ;;
16398          aCC*)
16399	    case $host_cpu in
16400	      hppa*64*)
16401	        archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16402	        ;;
16403	      ia64*)
16404	        archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16405	        ;;
16406	      *)
16407	        archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16408	        ;;
16409	    esac
16410	    # Commands to make compiler produce verbose output that lists
16411	    # what "hidden" libraries, object files and flags are used when
16412	    # linking a shared library.
16413	    #
16414	    # There doesn't appear to be a way to prevent this compiler from
16415	    # explicitly linking system object files so we need to strip them
16416	    # from the output so that they don't get included in the library
16417	    # dependencies.
16418	    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"'
16419	    ;;
16420          *)
16421	    if test yes = "$GXX"; then
16422	      if test no = "$with_gnu_ld"; then
16423	        case $host_cpu in
16424	          hppa*64*)
16425	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16426	            ;;
16427	          ia64*)
16428	            archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16429	            ;;
16430	          *)
16431	            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'
16432	            ;;
16433	        esac
16434	      fi
16435	    else
16436	      # FIXME: insert proper C++ library support
16437	      ld_shlibs_CXX=no
16438	    fi
16439	    ;;
16440        esac
16441        ;;
16442
16443      interix[3-9]*)
16444	hardcode_direct_CXX=no
16445	hardcode_shlibpath_var_CXX=no
16446	hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
16447	export_dynamic_flag_spec_CXX='$wl-E'
16448	# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16449	# Instead, shared libraries are loaded at an image base (0x10000000 by
16450	# default) and relocated if they conflict, which is a slow very memory
16451	# consuming and fragmenting process.  To avoid this, we pick a random,
16452	# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16453	# time.  Moving up from 0x10000000 also allows more sbrk(2) space.
16454	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'
16455	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'
16456	;;
16457      irix5* | irix6*)
16458        case $cc_basename in
16459          CC*)
16460	    # SGI C++
16461	    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'
16462
16463	    # Archives containing C++ object files must be created using
16464	    # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
16465	    # necessary to make sure instantiated templates are included
16466	    # in the archive.
16467	    old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
16468	    ;;
16469          *)
16470	    if test yes = "$GXX"; then
16471	      if test no = "$with_gnu_ld"; then
16472	        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'
16473	      else
16474	        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'
16475	      fi
16476	    fi
16477	    link_all_deplibs_CXX=yes
16478	    ;;
16479        esac
16480        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
16481        hardcode_libdir_separator_CXX=:
16482        inherit_rpath_CXX=yes
16483        ;;
16484
16485      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
16486        case $cc_basename in
16487          KCC*)
16488	    # Kuck and Associates, Inc. (KAI) C++ Compiler
16489
16490	    # KCC will only create a shared library if the output file
16491	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
16492	    # to its proper name (with version) after linking.
16493	    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'
16494	    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'
16495	    # Commands to make compiler produce verbose output that lists
16496	    # what "hidden" libraries, object files and flags are used when
16497	    # linking a shared library.
16498	    #
16499	    # There doesn't appear to be a way to prevent this compiler from
16500	    # explicitly linking system object files so we need to strip them
16501	    # from the output so that they don't get included in the library
16502	    # dependencies.
16503	    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"'
16504
16505	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
16506	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
16507
16508	    # Archives containing C++ object files must be created using
16509	    # "CC -Bstatic", where "CC" is the KAI C++ compiler.
16510	    old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
16511	    ;;
16512	  icpc* | ecpc* )
16513	    # Intel C++
16514	    with_gnu_ld=yes
16515	    # version 8.0 and above of icpc choke on multiply defined symbols
16516	    # if we add $predep_objects and $postdep_objects, however 7.1 and
16517	    # earlier do not add the objects themselves.
16518	    case `$CC -V 2>&1` in
16519	      *"Version 7."*)
16520	        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
16521		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'
16522		;;
16523	      *)  # Version 8.0 or newer
16524	        tmp_idyn=
16525	        case $host_cpu in
16526		  ia64*) tmp_idyn=' -i_dynamic';;
16527		esac
16528	        archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
16529		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'
16530		;;
16531	    esac
16532	    archive_cmds_need_lc_CXX=no
16533	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
16534	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
16535	    whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
16536	    ;;
16537          pgCC* | pgcpp*)
16538            # Portland Group C++ compiler
16539	    case `$CC -V` in
16540	    *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
16541	      prelink_cmds_CXX='tpldir=Template.dir~
16542               rm -rf $tpldir~
16543               $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
16544               compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
16545	      old_archive_cmds_CXX='tpldir=Template.dir~
16546                rm -rf $tpldir~
16547                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
16548                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
16549                $RANLIB $oldlib'
16550	      archive_cmds_CXX='tpldir=Template.dir~
16551                rm -rf $tpldir~
16552                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
16553                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
16554	      archive_expsym_cmds_CXX='tpldir=Template.dir~
16555                rm -rf $tpldir~
16556                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
16557                $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'
16558	      ;;
16559	    *) # Version 6 and above use weak symbols
16560	      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
16561	      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'
16562	      ;;
16563	    esac
16564
16565	    hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
16566	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
16567	    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'
16568            ;;
16569	  cxx*)
16570	    # Compaq C++
16571	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
16572	    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'
16573
16574	    runpath_var=LD_RUN_PATH
16575	    hardcode_libdir_flag_spec_CXX='-rpath $libdir'
16576	    hardcode_libdir_separator_CXX=:
16577
16578	    # Commands to make compiler produce verbose output that lists
16579	    # what "hidden" libraries, object files and flags are used when
16580	    # linking a shared library.
16581	    #
16582	    # There doesn't appear to be a way to prevent this compiler from
16583	    # explicitly linking system object files so we need to strip them
16584	    # from the output so that they don't get included in the library
16585	    # dependencies.
16586	    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'
16587	    ;;
16588	  xl* | mpixl* | bgxl*)
16589	    # IBM XL 8.0 on PPC, with GNU ld
16590	    hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
16591	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
16592	    archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
16593	    if test yes = "$supports_anon_versioning"; then
16594	      archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
16595                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16596                echo "local: *; };" >> $output_objdir/$libname.ver~
16597                $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
16598	    fi
16599	    ;;
16600	  *)
16601	    case `$CC -V 2>&1 | sed 5q` in
16602	    *Sun\ C*)
16603	      # Sun C++ 5.9
16604	      no_undefined_flag_CXX=' -zdefs'
16605	      archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16606	      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'
16607	      hardcode_libdir_flag_spec_CXX='-R$libdir'
16608	      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'
16609	      compiler_needs_object_CXX=yes
16610
16611	      # Not sure whether something based on
16612	      # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
16613	      # would be better.
16614	      output_verbose_link_cmd='func_echo_all'
16615
16616	      # Archives containing C++ object files must be created using
16617	      # "CC -xar", where "CC" is the Sun C++ compiler.  This is
16618	      # necessary to make sure instantiated templates are included
16619	      # in the archive.
16620	      old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
16621	      ;;
16622	    esac
16623	    ;;
16624	esac
16625	;;
16626
16627      lynxos*)
16628        # FIXME: insert proper C++ library support
16629	ld_shlibs_CXX=no
16630	;;
16631
16632      m88k*)
16633        # FIXME: insert proper C++ library support
16634        ld_shlibs_CXX=no
16635	;;
16636
16637      mvs*)
16638        case $cc_basename in
16639          cxx*)
16640	    # FIXME: insert proper C++ library support
16641	    ld_shlibs_CXX=no
16642	    ;;
16643	  *)
16644	    # FIXME: insert proper C++ library support
16645	    ld_shlibs_CXX=no
16646	    ;;
16647	esac
16648	;;
16649
16650      netbsd*)
16651        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16652	  archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
16653	  wlarc=
16654	  hardcode_libdir_flag_spec_CXX='-R$libdir'
16655	  hardcode_direct_CXX=yes
16656	  hardcode_shlibpath_var_CXX=no
16657	fi
16658	# Workaround some broken pre-1.5 toolchains
16659	output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
16660	;;
16661
16662      *nto* | *qnx*)
16663        ld_shlibs_CXX=yes
16664	;;
16665
16666      openbsd* | bitrig*)
16667	if test -f /usr/libexec/ld.so; then
16668	  hardcode_direct_CXX=yes
16669	  hardcode_shlibpath_var_CXX=no
16670	  hardcode_direct_absolute_CXX=yes
16671	  archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
16672	  hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
16673	  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
16674	    archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
16675	    export_dynamic_flag_spec_CXX='$wl-E'
16676	    whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
16677	  fi
16678	  output_verbose_link_cmd=func_echo_all
16679	else
16680	  ld_shlibs_CXX=no
16681	fi
16682	;;
16683
16684      osf3* | osf4* | osf5*)
16685        case $cc_basename in
16686          KCC*)
16687	    # Kuck and Associates, Inc. (KAI) C++ Compiler
16688
16689	    # KCC will only create a shared library if the output file
16690	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
16691	    # to its proper name (with version) after linking.
16692	    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'
16693
16694	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
16695	    hardcode_libdir_separator_CXX=:
16696
16697	    # Archives containing C++ object files must be created using
16698	    # the KAI C++ compiler.
16699	    case $host in
16700	      osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
16701	      *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
16702	    esac
16703	    ;;
16704          RCC*)
16705	    # Rational C++ 2.4.1
16706	    # FIXME: insert proper C++ library support
16707	    ld_shlibs_CXX=no
16708	    ;;
16709          cxx*)
16710	    case $host in
16711	      osf3*)
16712	        allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
16713	        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'
16714	        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
16715		;;
16716	      *)
16717	        allow_undefined_flag_CXX=' -expect_unresolved \*'
16718	        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'
16719	        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
16720                  echo "-hidden">> $lib.exp~
16721                  $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~
16722                  $RM $lib.exp'
16723	        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
16724		;;
16725	    esac
16726
16727	    hardcode_libdir_separator_CXX=:
16728
16729	    # Commands to make compiler produce verbose output that lists
16730	    # what "hidden" libraries, object files and flags are used when
16731	    # linking a shared library.
16732	    #
16733	    # There doesn't appear to be a way to prevent this compiler from
16734	    # explicitly linking system object files so we need to strip them
16735	    # from the output so that they don't get included in the library
16736	    # dependencies.
16737	    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"'
16738	    ;;
16739	  *)
16740	    if test yes,no = "$GXX,$with_gnu_ld"; then
16741	      allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
16742	      case $host in
16743	        osf3*)
16744	          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'
16745		  ;;
16746	        *)
16747	          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'
16748		  ;;
16749	      esac
16750
16751	      hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
16752	      hardcode_libdir_separator_CXX=:
16753
16754	      # Commands to make compiler produce verbose output that lists
16755	      # what "hidden" libraries, object files and flags are used when
16756	      # linking a shared library.
16757	      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16758
16759	    else
16760	      # FIXME: insert proper C++ library support
16761	      ld_shlibs_CXX=no
16762	    fi
16763	    ;;
16764        esac
16765        ;;
16766
16767      psos*)
16768        # FIXME: insert proper C++ library support
16769        ld_shlibs_CXX=no
16770        ;;
16771
16772      sunos4*)
16773        case $cc_basename in
16774          CC*)
16775	    # Sun C++ 4.x
16776	    # FIXME: insert proper C++ library support
16777	    ld_shlibs_CXX=no
16778	    ;;
16779          lcc*)
16780	    # Lucid
16781	    # FIXME: insert proper C++ library support
16782	    ld_shlibs_CXX=no
16783	    ;;
16784          *)
16785	    # FIXME: insert proper C++ library support
16786	    ld_shlibs_CXX=no
16787	    ;;
16788        esac
16789        ;;
16790
16791      solaris*)
16792        case $cc_basename in
16793          CC* | sunCC*)
16794	    # Sun C++ 4.2, 5.x and Centerline C++
16795            archive_cmds_need_lc_CXX=yes
16796	    no_undefined_flag_CXX=' -zdefs'
16797	    archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16798	    archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16799              $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'
16800
16801	    hardcode_libdir_flag_spec_CXX='-R$libdir'
16802	    hardcode_shlibpath_var_CXX=no
16803	    case $host_os in
16804	      solaris2.[0-5] | solaris2.[0-5].*) ;;
16805	      *)
16806		# The compiler driver will combine and reorder linker options,
16807		# but understands '-z linker_flag'.
16808	        # Supported since Solaris 2.6 (maybe 2.5.1?)
16809		whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
16810	        ;;
16811	    esac
16812	    link_all_deplibs_CXX=yes
16813
16814	    output_verbose_link_cmd='func_echo_all'
16815
16816	    # Archives containing C++ object files must be created using
16817	    # "CC -xar", where "CC" is the Sun C++ compiler.  This is
16818	    # necessary to make sure instantiated templates are included
16819	    # in the archive.
16820	    old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
16821	    ;;
16822          gcx*)
16823	    # Green Hills C++ Compiler
16824	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
16825
16826	    # The C++ compiler must be used to create the archive.
16827	    old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
16828	    ;;
16829          *)
16830	    # GNU C++ compiler with Solaris linker
16831	    if test yes,no = "$GXX,$with_gnu_ld"; then
16832	      no_undefined_flag_CXX=' $wl-z ${wl}defs'
16833	      if $CC --version | $GREP -v '^2\.7' > /dev/null; then
16834	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
16835	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16836                  $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'
16837
16838	        # Commands to make compiler produce verbose output that lists
16839	        # what "hidden" libraries, object files and flags are used when
16840	        # linking a shared library.
16841	        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16842	      else
16843	        # g++ 2.7 appears to require '-G' NOT '-shared' on this
16844	        # platform.
16845	        archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
16846	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16847                  $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'
16848
16849	        # Commands to make compiler produce verbose output that lists
16850	        # what "hidden" libraries, object files and flags are used when
16851	        # linking a shared library.
16852	        output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16853	      fi
16854
16855	      hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
16856	      case $host_os in
16857		solaris2.[0-5] | solaris2.[0-5].*) ;;
16858		*)
16859		  whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
16860		  ;;
16861	      esac
16862	    fi
16863	    ;;
16864        esac
16865        ;;
16866
16867    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
16868      no_undefined_flag_CXX='$wl-z,text'
16869      archive_cmds_need_lc_CXX=no
16870      hardcode_shlibpath_var_CXX=no
16871      runpath_var='LD_RUN_PATH'
16872
16873      case $cc_basename in
16874        CC*)
16875	  archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16876	  archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16877	  ;;
16878	*)
16879	  archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16880	  archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16881	  ;;
16882      esac
16883      ;;
16884
16885      sysv5* | sco3.2v5* | sco5v6*)
16886	# Note: We CANNOT use -z defs as we might desire, because we do not
16887	# link with -lc, and that would cause any symbols used from libc to
16888	# always be unresolved, which means just about no library would
16889	# ever link correctly.  If we're not using GNU ld we use -z text
16890	# though, which does catch some bad symbols but isn't as heavy-handed
16891	# as -z defs.
16892	no_undefined_flag_CXX='$wl-z,text'
16893	allow_undefined_flag_CXX='$wl-z,nodefs'
16894	archive_cmds_need_lc_CXX=no
16895	hardcode_shlibpath_var_CXX=no
16896	hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
16897	hardcode_libdir_separator_CXX=':'
16898	link_all_deplibs_CXX=yes
16899	export_dynamic_flag_spec_CXX='$wl-Bexport'
16900	runpath_var='LD_RUN_PATH'
16901
16902	case $cc_basename in
16903          CC*)
16904	    archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16905	    archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16906	    old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
16907              '"$old_archive_cmds_CXX"
16908	    reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
16909              '"$reload_cmds_CXX"
16910	    ;;
16911	  *)
16912	    archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16913	    archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16914	    ;;
16915	esac
16916      ;;
16917
16918      tandem*)
16919        case $cc_basename in
16920          NCC*)
16921	    # NonStop-UX NCC 3.20
16922	    # FIXME: insert proper C++ library support
16923	    ld_shlibs_CXX=no
16924	    ;;
16925          *)
16926	    # FIXME: insert proper C++ library support
16927	    ld_shlibs_CXX=no
16928	    ;;
16929        esac
16930        ;;
16931
16932      vxworks*)
16933        # FIXME: insert proper C++ library support
16934        ld_shlibs_CXX=no
16935        ;;
16936
16937      *)
16938        # FIXME: insert proper C++ library support
16939        ld_shlibs_CXX=no
16940        ;;
16941    esac
16942
16943    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16944printf "%s\n" "$ld_shlibs_CXX" >&6; }
16945    test no = "$ld_shlibs_CXX" && can_build_shared=no
16946
16947    GCC_CXX=$GXX
16948    LD_CXX=$LD
16949
16950    ## CAVEAT EMPTOR:
16951    ## There is no encapsulation within the following macros, do not change
16952    ## the running order or otherwise move them around unless you know exactly
16953    ## what you are doing...
16954    # Dependencies to place before and after the object being linked:
16955predep_objects_CXX=
16956postdep_objects_CXX=
16957predeps_CXX=
16958postdeps_CXX=
16959compiler_lib_search_path_CXX=
16960
16961cat > conftest.$ac_ext <<_LT_EOF
16962class Foo
16963{
16964public:
16965  Foo (void) { a = 0; }
16966private:
16967  int a;
16968};
16969_LT_EOF
16970
16971
16972_lt_libdeps_save_CFLAGS=$CFLAGS
16973case "$CC $CFLAGS " in #(
16974*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
16975*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
16976*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
16977esac
16978
16979if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16980  (eval $ac_compile) 2>&5
16981  ac_status=$?
16982  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16983  test $ac_status = 0; }; then
16984  # Parse the compiler output and extract the necessary
16985  # objects, libraries and library flags.
16986
16987  # Sentinel used to keep track of whether or not we are before
16988  # the conftest object file.
16989  pre_test_object_deps_done=no
16990
16991  for p in `eval "$output_verbose_link_cmd"`; do
16992    case $prev$p in
16993
16994    -L* | -R* | -l*)
16995       # Some compilers place space between "-{L,R}" and the path.
16996       # Remove the space.
16997       if test x-L = "$p" ||
16998          test x-R = "$p"; then
16999	 prev=$p
17000	 continue
17001       fi
17002
17003       # Expand the sysroot to ease extracting the directories later.
17004       if test -z "$prev"; then
17005         case $p in
17006         -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
17007         -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
17008         -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
17009         esac
17010       fi
17011       case $p in
17012       =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
17013       esac
17014       if test no = "$pre_test_object_deps_done"; then
17015	 case $prev in
17016	 -L | -R)
17017	   # Internal compiler library paths should come after those
17018	   # provided the user.  The postdeps already come after the
17019	   # user supplied libs so there is no need to process them.
17020	   if test -z "$compiler_lib_search_path_CXX"; then
17021	     compiler_lib_search_path_CXX=$prev$p
17022	   else
17023	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
17024	   fi
17025	   ;;
17026	 # The "-l" case would never come before the object being
17027	 # linked, so don't bother handling this case.
17028	 esac
17029       else
17030	 if test -z "$postdeps_CXX"; then
17031	   postdeps_CXX=$prev$p
17032	 else
17033	   postdeps_CXX="${postdeps_CXX} $prev$p"
17034	 fi
17035       fi
17036       prev=
17037       ;;
17038
17039    *.lto.$objext) ;; # Ignore GCC LTO objects
17040    *.$objext)
17041       # This assumes that the test object file only shows up
17042       # once in the compiler output.
17043       if test "$p" = "conftest.$objext"; then
17044	 pre_test_object_deps_done=yes
17045	 continue
17046       fi
17047
17048       if test no = "$pre_test_object_deps_done"; then
17049	 if test -z "$predep_objects_CXX"; then
17050	   predep_objects_CXX=$p
17051	 else
17052	   predep_objects_CXX="$predep_objects_CXX $p"
17053	 fi
17054       else
17055	 if test -z "$postdep_objects_CXX"; then
17056	   postdep_objects_CXX=$p
17057	 else
17058	   postdep_objects_CXX="$postdep_objects_CXX $p"
17059	 fi
17060       fi
17061       ;;
17062
17063    *) ;; # Ignore the rest.
17064
17065    esac
17066  done
17067
17068  # Clean up.
17069  rm -f a.out a.exe
17070else
17071  echo "libtool.m4: error: problem compiling CXX test program"
17072fi
17073
17074$RM -f confest.$objext
17075CFLAGS=$_lt_libdeps_save_CFLAGS
17076
17077# PORTME: override above test on systems where it is broken
17078case $host_os in
17079interix[3-9]*)
17080  # Interix 3.5 installs completely hosed .la files for C++, so rather than
17081  # hack all around it, let's just trust "g++" to DTRT.
17082  predep_objects_CXX=
17083  postdep_objects_CXX=
17084  postdeps_CXX=
17085  ;;
17086esac
17087
17088
17089case " $postdeps_CXX " in
17090*" -lc "*) archive_cmds_need_lc_CXX=no ;;
17091esac
17092 compiler_lib_search_dirs_CXX=
17093if test -n "${compiler_lib_search_path_CXX}"; then
17094 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
17095fi
17096
17097
17098
17099
17100
17101
17102
17103
17104
17105
17106
17107
17108
17109
17110
17111
17112
17113
17114
17115
17116
17117
17118
17119
17120
17121
17122
17123
17124
17125
17126
17127    lt_prog_compiler_wl_CXX=
17128lt_prog_compiler_pic_CXX=
17129lt_prog_compiler_static_CXX=
17130
17131
17132  # C++ specific cases for pic, static, wl, etc.
17133  if test yes = "$GXX"; then
17134    lt_prog_compiler_wl_CXX='-Wl,'
17135    lt_prog_compiler_static_CXX='-static'
17136
17137    case $host_os in
17138    aix*)
17139      # All AIX code is PIC.
17140      if test ia64 = "$host_cpu"; then
17141	# AIX 5 now supports IA64 processor
17142	lt_prog_compiler_static_CXX='-Bstatic'
17143      fi
17144      lt_prog_compiler_pic_CXX='-fPIC'
17145      ;;
17146
17147    amigaos*)
17148      case $host_cpu in
17149      powerpc)
17150            # see comment about AmigaOS4 .so support
17151            lt_prog_compiler_pic_CXX='-fPIC'
17152        ;;
17153      m68k)
17154            # FIXME: we need at least 68020 code to build shared libraries, but
17155            # adding the '-m68020' flag to GCC prevents building anything better,
17156            # like '-m68040'.
17157            lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
17158        ;;
17159      esac
17160      ;;
17161
17162    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
17163      # PIC is the default for these OSes.
17164      ;;
17165    mingw* | cygwin* | os2* | pw32* | cegcc*)
17166      # This hack is so that the source file can tell whether it is being
17167      # built for inclusion in a dll (and should export symbols for example).
17168      # Although the cygwin gcc ignores -fPIC, still need this for old-style
17169      # (--disable-auto-import) libraries
17170      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
17171      case $host_os in
17172      os2*)
17173	lt_prog_compiler_static_CXX='$wl-static'
17174	;;
17175      esac
17176      ;;
17177    darwin* | rhapsody*)
17178      # PIC is the default on this platform
17179      # Common symbols not allowed in MH_DYLIB files
17180      lt_prog_compiler_pic_CXX='-fno-common'
17181      ;;
17182    *djgpp*)
17183      # DJGPP does not support shared libraries at all
17184      lt_prog_compiler_pic_CXX=
17185      ;;
17186    haiku*)
17187      # PIC is the default for Haiku.
17188      # The "-static" flag exists, but is broken.
17189      lt_prog_compiler_static_CXX=
17190      ;;
17191    interix[3-9]*)
17192      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
17193      # Instead, we relocate shared libraries at runtime.
17194      ;;
17195    sysv4*MP*)
17196      if test -d /usr/nec; then
17197	lt_prog_compiler_pic_CXX=-Kconform_pic
17198      fi
17199      ;;
17200    hpux*)
17201      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
17202      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
17203      # sets the default TLS model and affects inlining.
17204      case $host_cpu in
17205      hppa*64*)
17206	;;
17207      *)
17208	lt_prog_compiler_pic_CXX='-fPIC'
17209	;;
17210      esac
17211      ;;
17212    *qnx* | *nto*)
17213      # QNX uses GNU C++, but need to define -shared option too, otherwise
17214      # it will coredump.
17215      lt_prog_compiler_pic_CXX='-fPIC -shared'
17216      ;;
17217    *)
17218      lt_prog_compiler_pic_CXX='-fPIC'
17219      ;;
17220    esac
17221  else
17222    case $host_os in
17223      aix[4-9]*)
17224	# All AIX code is PIC.
17225	if test ia64 = "$host_cpu"; then
17226	  # AIX 5 now supports IA64 processor
17227	  lt_prog_compiler_static_CXX='-Bstatic'
17228	else
17229	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
17230	fi
17231	;;
17232      chorus*)
17233	case $cc_basename in
17234	cxch68*)
17235	  # Green Hills C++ Compiler
17236	  # _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"
17237	  ;;
17238	esac
17239	;;
17240      mingw* | cygwin* | os2* | pw32* | cegcc*)
17241	# This hack is so that the source file can tell whether it is being
17242	# built for inclusion in a dll (and should export symbols for example).
17243	lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
17244	;;
17245      dgux*)
17246	case $cc_basename in
17247	  ec++*)
17248	    lt_prog_compiler_pic_CXX='-KPIC'
17249	    ;;
17250	  ghcx*)
17251	    # Green Hills C++ Compiler
17252	    lt_prog_compiler_pic_CXX='-pic'
17253	    ;;
17254	  *)
17255	    ;;
17256	esac
17257	;;
17258      freebsd* | dragonfly*)
17259	# FreeBSD uses GNU C++
17260	;;
17261      hpux9* | hpux10* | hpux11*)
17262	case $cc_basename in
17263	  CC*)
17264	    lt_prog_compiler_wl_CXX='-Wl,'
17265	    lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
17266	    if test ia64 != "$host_cpu"; then
17267	      lt_prog_compiler_pic_CXX='+Z'
17268	    fi
17269	    ;;
17270	  aCC*)
17271	    lt_prog_compiler_wl_CXX='-Wl,'
17272	    lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
17273	    case $host_cpu in
17274	    hppa*64*|ia64*)
17275	      # +Z the default
17276	      ;;
17277	    *)
17278	      lt_prog_compiler_pic_CXX='+Z'
17279	      ;;
17280	    esac
17281	    ;;
17282	  *)
17283	    ;;
17284	esac
17285	;;
17286      interix*)
17287	# This is c89, which is MS Visual C++ (no shared libs)
17288	# Anyone wants to do a port?
17289	;;
17290      irix5* | irix6* | nonstopux*)
17291	case $cc_basename in
17292	  CC*)
17293	    lt_prog_compiler_wl_CXX='-Wl,'
17294	    lt_prog_compiler_static_CXX='-non_shared'
17295	    # CC pic flag -KPIC is the default.
17296	    ;;
17297	  *)
17298	    ;;
17299	esac
17300	;;
17301      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
17302	case $cc_basename in
17303	  KCC*)
17304	    # KAI C++ Compiler
17305	    lt_prog_compiler_wl_CXX='--backend -Wl,'
17306	    lt_prog_compiler_pic_CXX='-fPIC'
17307	    ;;
17308	  ecpc* )
17309	    # old Intel C++ for x86_64, which still supported -KPIC.
17310	    lt_prog_compiler_wl_CXX='-Wl,'
17311	    lt_prog_compiler_pic_CXX='-KPIC'
17312	    lt_prog_compiler_static_CXX='-static'
17313	    ;;
17314	  icpc* )
17315	    # Intel C++, used to be incompatible with GCC.
17316	    # ICC 10 doesn't accept -KPIC any more.
17317	    lt_prog_compiler_wl_CXX='-Wl,'
17318	    lt_prog_compiler_pic_CXX='-fPIC'
17319	    lt_prog_compiler_static_CXX='-static'
17320	    ;;
17321	  pgCC* | pgcpp*)
17322	    # Portland Group C++ compiler
17323	    lt_prog_compiler_wl_CXX='-Wl,'
17324	    lt_prog_compiler_pic_CXX='-fpic'
17325	    lt_prog_compiler_static_CXX='-Bstatic'
17326	    ;;
17327	  cxx*)
17328	    # Compaq C++
17329	    # Make sure the PIC flag is empty.  It appears that all Alpha
17330	    # Linux and Compaq Tru64 Unix objects are PIC.
17331	    lt_prog_compiler_pic_CXX=
17332	    lt_prog_compiler_static_CXX='-non_shared'
17333	    ;;
17334	  xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
17335	    # IBM XL 8.0, 9.0 on PPC and BlueGene
17336	    lt_prog_compiler_wl_CXX='-Wl,'
17337	    lt_prog_compiler_pic_CXX='-qpic'
17338	    lt_prog_compiler_static_CXX='-qstaticlink'
17339	    ;;
17340	  *)
17341	    case `$CC -V 2>&1 | sed 5q` in
17342	    *Sun\ C*)
17343	      # Sun C++ 5.9
17344	      lt_prog_compiler_pic_CXX='-KPIC'
17345	      lt_prog_compiler_static_CXX='-Bstatic'
17346	      lt_prog_compiler_wl_CXX='-Qoption ld '
17347	      ;;
17348	    esac
17349	    ;;
17350	esac
17351	;;
17352      lynxos*)
17353	;;
17354      m88k*)
17355	;;
17356      mvs*)
17357	case $cc_basename in
17358	  cxx*)
17359	    lt_prog_compiler_pic_CXX='-W c,exportall'
17360	    ;;
17361	  *)
17362	    ;;
17363	esac
17364	;;
17365      netbsd*)
17366	;;
17367      *qnx* | *nto*)
17368        # QNX uses GNU C++, but need to define -shared option too, otherwise
17369        # it will coredump.
17370        lt_prog_compiler_pic_CXX='-fPIC -shared'
17371        ;;
17372      osf3* | osf4* | osf5*)
17373	case $cc_basename in
17374	  KCC*)
17375	    lt_prog_compiler_wl_CXX='--backend -Wl,'
17376	    ;;
17377	  RCC*)
17378	    # Rational C++ 2.4.1
17379	    lt_prog_compiler_pic_CXX='-pic'
17380	    ;;
17381	  cxx*)
17382	    # Digital/Compaq C++
17383	    lt_prog_compiler_wl_CXX='-Wl,'
17384	    # Make sure the PIC flag is empty.  It appears that all Alpha
17385	    # Linux and Compaq Tru64 Unix objects are PIC.
17386	    lt_prog_compiler_pic_CXX=
17387	    lt_prog_compiler_static_CXX='-non_shared'
17388	    ;;
17389	  *)
17390	    ;;
17391	esac
17392	;;
17393      psos*)
17394	;;
17395      solaris*)
17396	case $cc_basename in
17397	  CC* | sunCC*)
17398	    # Sun C++ 4.2, 5.x and Centerline C++
17399	    lt_prog_compiler_pic_CXX='-KPIC'
17400	    lt_prog_compiler_static_CXX='-Bstatic'
17401	    lt_prog_compiler_wl_CXX='-Qoption ld '
17402	    ;;
17403	  gcx*)
17404	    # Green Hills C++ Compiler
17405	    lt_prog_compiler_pic_CXX='-PIC'
17406	    ;;
17407	  *)
17408	    ;;
17409	esac
17410	;;
17411      sunos4*)
17412	case $cc_basename in
17413	  CC*)
17414	    # Sun C++ 4.x
17415	    lt_prog_compiler_pic_CXX='-pic'
17416	    lt_prog_compiler_static_CXX='-Bstatic'
17417	    ;;
17418	  lcc*)
17419	    # Lucid
17420	    lt_prog_compiler_pic_CXX='-pic'
17421	    ;;
17422	  *)
17423	    ;;
17424	esac
17425	;;
17426      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
17427	case $cc_basename in
17428	  CC*)
17429	    lt_prog_compiler_wl_CXX='-Wl,'
17430	    lt_prog_compiler_pic_CXX='-KPIC'
17431	    lt_prog_compiler_static_CXX='-Bstatic'
17432	    ;;
17433	esac
17434	;;
17435      tandem*)
17436	case $cc_basename in
17437	  NCC*)
17438	    # NonStop-UX NCC 3.20
17439	    lt_prog_compiler_pic_CXX='-KPIC'
17440	    ;;
17441	  *)
17442	    ;;
17443	esac
17444	;;
17445      vxworks*)
17446	;;
17447      *)
17448	lt_prog_compiler_can_build_shared_CXX=no
17449	;;
17450    esac
17451  fi
17452
17453case $host_os in
17454  # For platforms that do not support PIC, -DPIC is meaningless:
17455  *djgpp*)
17456    lt_prog_compiler_pic_CXX=
17457    ;;
17458  *)
17459    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
17460    ;;
17461esac
17462
17463{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
17464printf %s "checking for $compiler option to produce PIC... " >&6; }
17465if test ${lt_cv_prog_compiler_pic_CXX+y}
17466then :
17467  printf %s "(cached) " >&6
17468else $as_nop
17469  lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
17470fi
17471{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
17472printf "%s\n" "$lt_cv_prog_compiler_pic_CXX" >&6; }
17473lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
17474
17475#
17476# Check to make sure the PIC flag actually works.
17477#
17478if test -n "$lt_prog_compiler_pic_CXX"; then
17479  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
17480printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
17481if test ${lt_cv_prog_compiler_pic_works_CXX+y}
17482then :
17483  printf %s "(cached) " >&6
17484else $as_nop
17485  lt_cv_prog_compiler_pic_works_CXX=no
17486   ac_outfile=conftest.$ac_objext
17487   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17488   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"  ## exclude from sc_useless_quotes_in_assignment
17489   # Insert the option either (1) after the last *FLAGS variable, or
17490   # (2) before a word containing "conftest.", or (3) at the end.
17491   # Note that $ac_compile itself does not contain backslashes and begins
17492   # with a dollar sign (not a hyphen), so the echo should work correctly.
17493   # The option is referenced via a variable to avoid confusing sed.
17494   lt_compile=`echo "$ac_compile" | $SED \
17495   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17496   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17497   -e 's:$: $lt_compiler_flag:'`
17498   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
17499   (eval "$lt_compile" 2>conftest.err)
17500   ac_status=$?
17501   cat conftest.err >&5
17502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17503   if (exit $ac_status) && test -s "$ac_outfile"; then
17504     # The compiler can only warn and ignore the option if not recognized
17505     # So say no if there are warnings other than the usual output.
17506     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
17507     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17508     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
17509       lt_cv_prog_compiler_pic_works_CXX=yes
17510     fi
17511   fi
17512   $RM conftest*
17513
17514fi
17515{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
17516printf "%s\n" "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
17517
17518if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
17519    case $lt_prog_compiler_pic_CXX in
17520     "" | " "*) ;;
17521     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
17522     esac
17523else
17524    lt_prog_compiler_pic_CXX=
17525     lt_prog_compiler_can_build_shared_CXX=no
17526fi
17527
17528fi
17529
17530
17531
17532
17533
17534#
17535# Check to make sure the static flag actually works.
17536#
17537wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
17538{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17539printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
17540if test ${lt_cv_prog_compiler_static_works_CXX+y}
17541then :
17542  printf %s "(cached) " >&6
17543else $as_nop
17544  lt_cv_prog_compiler_static_works_CXX=no
17545   save_LDFLAGS=$LDFLAGS
17546   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
17547   echo "$lt_simple_link_test_code" > conftest.$ac_ext
17548   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
17549     # The linker can only warn and ignore the option if not recognized
17550     # So say no if there are warnings
17551     if test -s conftest.err; then
17552       # Append any errors to the config.log.
17553       cat conftest.err 1>&5
17554       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
17555       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17556       if diff conftest.exp conftest.er2 >/dev/null; then
17557         lt_cv_prog_compiler_static_works_CXX=yes
17558       fi
17559     else
17560       lt_cv_prog_compiler_static_works_CXX=yes
17561     fi
17562   fi
17563   $RM -r conftest*
17564   LDFLAGS=$save_LDFLAGS
17565
17566fi
17567{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
17568printf "%s\n" "$lt_cv_prog_compiler_static_works_CXX" >&6; }
17569
17570if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
17571    :
17572else
17573    lt_prog_compiler_static_CXX=
17574fi
17575
17576
17577
17578
17579    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
17580printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
17581if test ${lt_cv_prog_compiler_c_o_CXX+y}
17582then :
17583  printf %s "(cached) " >&6
17584else $as_nop
17585  lt_cv_prog_compiler_c_o_CXX=no
17586   $RM -r conftest 2>/dev/null
17587   mkdir conftest
17588   cd conftest
17589   mkdir out
17590   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17591
17592   lt_compiler_flag="-o out/conftest2.$ac_objext"
17593   # Insert the option either (1) after the last *FLAGS variable, or
17594   # (2) before a word containing "conftest.", or (3) at the end.
17595   # Note that $ac_compile itself does not contain backslashes and begins
17596   # with a dollar sign (not a hyphen), so the echo should work correctly.
17597   lt_compile=`echo "$ac_compile" | $SED \
17598   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17599   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17600   -e 's:$: $lt_compiler_flag:'`
17601   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
17602   (eval "$lt_compile" 2>out/conftest.err)
17603   ac_status=$?
17604   cat out/conftest.err >&5
17605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17606   if (exit $ac_status) && test -s out/conftest2.$ac_objext
17607   then
17608     # The compiler can only warn and ignore the option if not recognized
17609     # So say no if there are warnings
17610     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
17611     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
17612     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
17613       lt_cv_prog_compiler_c_o_CXX=yes
17614     fi
17615   fi
17616   chmod u+w . 2>&5
17617   $RM conftest*
17618   # SGI C++ compiler will create directory out/ii_files/ for
17619   # template instantiation
17620   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
17621   $RM out/* && rmdir out
17622   cd ..
17623   $RM -r conftest
17624   $RM conftest*
17625
17626fi
17627{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
17628printf "%s\n" "$lt_cv_prog_compiler_c_o_CXX" >&6; }
17629
17630
17631
17632    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
17633printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
17634if test ${lt_cv_prog_compiler_c_o_CXX+y}
17635then :
17636  printf %s "(cached) " >&6
17637else $as_nop
17638  lt_cv_prog_compiler_c_o_CXX=no
17639   $RM -r conftest 2>/dev/null
17640   mkdir conftest
17641   cd conftest
17642   mkdir out
17643   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17644
17645   lt_compiler_flag="-o out/conftest2.$ac_objext"
17646   # Insert the option either (1) after the last *FLAGS variable, or
17647   # (2) before a word containing "conftest.", or (3) at the end.
17648   # Note that $ac_compile itself does not contain backslashes and begins
17649   # with a dollar sign (not a hyphen), so the echo should work correctly.
17650   lt_compile=`echo "$ac_compile" | $SED \
17651   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17652   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17653   -e 's:$: $lt_compiler_flag:'`
17654   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
17655   (eval "$lt_compile" 2>out/conftest.err)
17656   ac_status=$?
17657   cat out/conftest.err >&5
17658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17659   if (exit $ac_status) && test -s out/conftest2.$ac_objext
17660   then
17661     # The compiler can only warn and ignore the option if not recognized
17662     # So say no if there are warnings
17663     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
17664     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
17665     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
17666       lt_cv_prog_compiler_c_o_CXX=yes
17667     fi
17668   fi
17669   chmod u+w . 2>&5
17670   $RM conftest*
17671   # SGI C++ compiler will create directory out/ii_files/ for
17672   # template instantiation
17673   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
17674   $RM out/* && rmdir out
17675   cd ..
17676   $RM -r conftest
17677   $RM conftest*
17678
17679fi
17680{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
17681printf "%s\n" "$lt_cv_prog_compiler_c_o_CXX" >&6; }
17682
17683
17684
17685
17686hard_links=nottested
17687if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
17688  # do not overwrite the value of need_locks provided by the user
17689  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
17690printf %s "checking if we can lock with hard links... " >&6; }
17691  hard_links=yes
17692  $RM conftest*
17693  ln conftest.a conftest.b 2>/dev/null && hard_links=no
17694  touch conftest.a
17695  ln conftest.a conftest.b 2>&5 || hard_links=no
17696  ln conftest.a conftest.b 2>/dev/null && hard_links=no
17697  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
17698printf "%s\n" "$hard_links" >&6; }
17699  if test no = "$hard_links"; then
17700    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
17701printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
17702    need_locks=warn
17703  fi
17704else
17705  need_locks=no
17706fi
17707
17708
17709
17710    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17711printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
17712
17713  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17714  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
17715  case $host_os in
17716  aix[4-9]*)
17717    # If we're using GNU nm, then we don't want the "-C" option.
17718    # -C means demangle to GNU nm, but means don't demangle to AIX nm.
17719    # Without the "-l" option, or with the "-B" option, AIX nm treats
17720    # weak defined symbols like other global defined symbols, whereas
17721    # GNU nm marks them as "W".
17722    # While the 'weak' keyword is ignored in the Export File, we need
17723    # it in the Import File for the 'aix-soname' feature, so we have
17724    # to replace the "-B" option with "-P" for AIX nm.
17725    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
17726      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'
17727    else
17728      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'
17729    fi
17730    ;;
17731  pw32*)
17732    export_symbols_cmds_CXX=$ltdll_cmds
17733    ;;
17734  cygwin* | mingw* | cegcc*)
17735    case $cc_basename in
17736    cl*)
17737      exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
17738      ;;
17739    *)
17740      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'
17741      exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
17742      ;;
17743    esac
17744    ;;
17745  *)
17746    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17747    ;;
17748  esac
17749
17750{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
17751printf "%s\n" "$ld_shlibs_CXX" >&6; }
17752test no = "$ld_shlibs_CXX" && can_build_shared=no
17753
17754with_gnu_ld_CXX=$with_gnu_ld
17755
17756
17757
17758
17759
17760
17761#
17762# Do we need to explicitly link libc?
17763#
17764case "x$archive_cmds_need_lc_CXX" in
17765x|xyes)
17766  # Assume -lc should be added
17767  archive_cmds_need_lc_CXX=yes
17768
17769  if test yes,yes = "$GCC,$enable_shared"; then
17770    case $archive_cmds_CXX in
17771    *'~'*)
17772      # FIXME: we may have to deal with multi-command sequences.
17773      ;;
17774    '$CC '*)
17775      # Test whether the compiler implicitly links with -lc since on some
17776      # systems, -lgcc has to come before -lc. If gcc already passes -lc
17777      # to ld, don't add -lc before -lgcc.
17778      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
17779printf %s "checking whether -lc should be explicitly linked in... " >&6; }
17780if test ${lt_cv_archive_cmds_need_lc_CXX+y}
17781then :
17782  printf %s "(cached) " >&6
17783else $as_nop
17784  $RM conftest*
17785	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17786
17787	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17788  (eval $ac_compile) 2>&5
17789  ac_status=$?
17790  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17791  test $ac_status = 0; } 2>conftest.err; then
17792	  soname=conftest
17793	  lib=conftest
17794	  libobjs=conftest.$ac_objext
17795	  deplibs=
17796	  wl=$lt_prog_compiler_wl_CXX
17797	  pic_flag=$lt_prog_compiler_pic_CXX
17798	  compiler_flags=-v
17799	  linker_flags=-v
17800	  verstring=
17801	  output_objdir=.
17802	  libname=conftest
17803	  lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
17804	  allow_undefined_flag_CXX=
17805	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
17806  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
17807  ac_status=$?
17808  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17809  test $ac_status = 0; }
17810	  then
17811	    lt_cv_archive_cmds_need_lc_CXX=no
17812	  else
17813	    lt_cv_archive_cmds_need_lc_CXX=yes
17814	  fi
17815	  allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
17816	else
17817	  cat conftest.err 1>&5
17818	fi
17819	$RM conftest*
17820
17821fi
17822{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
17823printf "%s\n" "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
17824      archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
17825      ;;
17826    esac
17827  fi
17828  ;;
17829esac
17830
17831
17832
17833
17834
17835
17836
17837
17838
17839
17840
17841
17842
17843
17844
17845
17846
17847
17848
17849
17850
17851
17852
17853
17854
17855
17856
17857
17858
17859
17860
17861
17862
17863
17864
17865
17866
17867
17868
17869
17870
17871
17872
17873
17874
17875
17876
17877
17878
17879
17880
17881
17882
17883
17884
17885
17886
17887
17888
17889
17890
17891
17892    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
17893printf %s "checking dynamic linker characteristics... " >&6; }
17894
17895library_names_spec=
17896libname_spec='lib$name'
17897soname_spec=
17898shrext_cmds=.so
17899postinstall_cmds=
17900postuninstall_cmds=
17901finish_cmds=
17902finish_eval=
17903shlibpath_var=
17904shlibpath_overrides_runpath=unknown
17905version_type=none
17906dynamic_linker="$host_os ld.so"
17907sys_lib_dlsearch_path_spec="/lib /usr/lib"
17908need_lib_prefix=unknown
17909hardcode_into_libs=no
17910
17911# when you set need_version to no, make sure it does not cause -set_version
17912# flags to be left without arguments
17913need_version=unknown
17914
17915
17916
17917case $host_os in
17918aix3*)
17919  version_type=linux # correct to gnu/linux during the next big refactor
17920  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
17921  shlibpath_var=LIBPATH
17922
17923  # AIX 3 has no versioning support, so we append a major version to the name.
17924  soname_spec='$libname$release$shared_ext$major'
17925  ;;
17926
17927aix[4-9]*)
17928  version_type=linux # correct to gnu/linux during the next big refactor
17929  need_lib_prefix=no
17930  need_version=no
17931  hardcode_into_libs=yes
17932  if test ia64 = "$host_cpu"; then
17933    # AIX 5 supports IA64
17934    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
17935    shlibpath_var=LD_LIBRARY_PATH
17936  else
17937    # With GCC up to 2.95.x, collect2 would create an import file
17938    # for dependence libraries.  The import file would start with
17939    # the line '#! .'.  This would cause the generated library to
17940    # depend on '.', always an invalid library.  This was fixed in
17941    # development snapshots of GCC prior to 3.0.
17942    case $host_os in
17943      aix4 | aix4.[01] | aix4.[01].*)
17944      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17945	   echo ' yes '
17946	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
17947	:
17948      else
17949	can_build_shared=no
17950      fi
17951      ;;
17952    esac
17953    # Using Import Files as archive members, it is possible to support
17954    # filename-based versioning of shared library archives on AIX. While
17955    # this would work for both with and without runtime linking, it will
17956    # prevent static linking of such archives. So we do filename-based
17957    # shared library versioning with .so extension only, which is used
17958    # when both runtime linking and shared linking is enabled.
17959    # Unfortunately, runtime linking may impact performance, so we do
17960    # not want this to be the default eventually. Also, we use the
17961    # versioned .so libs for executables only if there is the -brtl
17962    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
17963    # To allow for filename-based versioning support, we need to create
17964    # libNAME.so.V as an archive file, containing:
17965    # *) an Import File, referring to the versioned filename of the
17966    #    archive as well as the shared archive member, telling the
17967    #    bitwidth (32 or 64) of that shared object, and providing the
17968    #    list of exported symbols of that shared object, eventually
17969    #    decorated with the 'weak' keyword
17970    # *) the shared object with the F_LOADONLY flag set, to really avoid
17971    #    it being seen by the linker.
17972    # At run time we better use the real file rather than another symlink,
17973    # but for link time we create the symlink libNAME.so -> libNAME.so.V
17974
17975    case $with_aix_soname,$aix_use_runtimelinking in
17976    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
17977    # soname into executable. Probably we can add versioning support to
17978    # collect2, so additional links can be useful in future.
17979    aix,yes) # traditional libtool
17980      dynamic_linker='AIX unversionable lib.so'
17981      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17982      # instead of lib<name>.a to let people know that these are not
17983      # typical AIX shared libraries.
17984      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17985      ;;
17986    aix,no) # traditional AIX only
17987      dynamic_linker='AIX lib.a(lib.so.V)'
17988      # We preserve .a as extension for shared libraries through AIX4.2
17989      # and later when we are not doing run time linking.
17990      library_names_spec='$libname$release.a $libname.a'
17991      soname_spec='$libname$release$shared_ext$major'
17992      ;;
17993    svr4,*) # full svr4 only
17994      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
17995      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
17996      # We do not specify a path in Import Files, so LIBPATH fires.
17997      shlibpath_overrides_runpath=yes
17998      ;;
17999    *,yes) # both, prefer svr4
18000      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
18001      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
18002      # unpreferred sharedlib libNAME.a needs extra handling
18003      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"'
18004      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"'
18005      # We do not specify a path in Import Files, so LIBPATH fires.
18006      shlibpath_overrides_runpath=yes
18007      ;;
18008    *,no) # both, prefer aix
18009      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
18010      library_names_spec='$libname$release.a $libname.a'
18011      soname_spec='$libname$release$shared_ext$major'
18012      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
18013      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)'
18014      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"'
18015      ;;
18016    esac
18017    shlibpath_var=LIBPATH
18018  fi
18019  ;;
18020
18021amigaos*)
18022  case $host_cpu in
18023  powerpc)
18024    # Since July 2007 AmigaOS4 officially supports .so libraries.
18025    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
18026    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18027    ;;
18028  m68k)
18029    library_names_spec='$libname.ixlibrary $libname.a'
18030    # Create ${libname}_ixlibrary.a entries in /sys/libs.
18031    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'
18032    ;;
18033  esac
18034  ;;
18035
18036beos*)
18037  library_names_spec='$libname$shared_ext'
18038  dynamic_linker="$host_os ld.so"
18039  shlibpath_var=LIBRARY_PATH
18040  ;;
18041
18042bsdi[45]*)
18043  version_type=linux # correct to gnu/linux during the next big refactor
18044  need_version=no
18045  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18046  soname_spec='$libname$release$shared_ext$major'
18047  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
18048  shlibpath_var=LD_LIBRARY_PATH
18049  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18050  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
18051  # the default ld.so.conf also contains /usr/contrib/lib and
18052  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18053  # libtool to hard-code these into programs
18054  ;;
18055
18056cygwin* | mingw* | pw32* | cegcc*)
18057  version_type=windows
18058  shrext_cmds=.dll
18059  need_version=no
18060  need_lib_prefix=no
18061
18062  case $GCC,$cc_basename in
18063  yes,*)
18064    # gcc
18065    library_names_spec='$libname.dll.a'
18066    # DLL is installed to $(libdir)/../bin by postinstall_cmds
18067    postinstall_cmds='base_file=`basename \$file`~
18068      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
18069      dldir=$destdir/`dirname \$dlpath`~
18070      test -d \$dldir || mkdir -p \$dldir~
18071      $install_prog $dir/$dlname \$dldir/$dlname~
18072      chmod a+x \$dldir/$dlname~
18073      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
18074        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
18075      fi'
18076    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18077      dlpath=$dir/\$dldll~
18078       $RM \$dlpath'
18079    shlibpath_overrides_runpath=yes
18080
18081    case $host_os in
18082    cygwin*)
18083      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18084      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
18085
18086      ;;
18087    mingw* | cegcc*)
18088      # MinGW DLLs use traditional 'lib' prefix
18089      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
18090      ;;
18091    pw32*)
18092      # pw32 DLLs use 'pw' prefix rather than 'lib'
18093      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
18094      ;;
18095    esac
18096    dynamic_linker='Win32 ld.exe'
18097    ;;
18098
18099  *,cl*)
18100    # Native MSVC
18101    libname_spec='$name'
18102    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
18103    library_names_spec='$libname.dll.lib'
18104
18105    case $build_os in
18106    mingw*)
18107      sys_lib_search_path_spec=
18108      lt_save_ifs=$IFS
18109      IFS=';'
18110      for lt_path in $LIB
18111      do
18112        IFS=$lt_save_ifs
18113        # Let DOS variable expansion print the short 8.3 style file name.
18114        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
18115        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
18116      done
18117      IFS=$lt_save_ifs
18118      # Convert to MSYS style.
18119      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
18120      ;;
18121    cygwin*)
18122      # Convert to unix form, then to dos form, then back to unix form
18123      # but this time dos style (no spaces!) so that the unix form looks
18124      # like /cygdrive/c/PROGRA~1:/cygdr...
18125      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
18126      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
18127      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18128      ;;
18129    *)
18130      sys_lib_search_path_spec=$LIB
18131      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
18132        # It is most probably a Windows format PATH.
18133        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18134      else
18135        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18136      fi
18137      # FIXME: find the short name or the path components, as spaces are
18138      # common. (e.g. "Program Files" -> "PROGRA~1")
18139      ;;
18140    esac
18141
18142    # DLL is installed to $(libdir)/../bin by postinstall_cmds
18143    postinstall_cmds='base_file=`basename \$file`~
18144      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
18145      dldir=$destdir/`dirname \$dlpath`~
18146      test -d \$dldir || mkdir -p \$dldir~
18147      $install_prog $dir/$dlname \$dldir/$dlname'
18148    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18149      dlpath=$dir/\$dldll~
18150       $RM \$dlpath'
18151    shlibpath_overrides_runpath=yes
18152    dynamic_linker='Win32 link.exe'
18153    ;;
18154
18155  *)
18156    # Assume MSVC wrapper
18157    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
18158    dynamic_linker='Win32 ld.exe'
18159    ;;
18160  esac
18161  # FIXME: first we should search . and the directory the executable is in
18162  shlibpath_var=PATH
18163  ;;
18164
18165darwin* | rhapsody*)
18166  dynamic_linker="$host_os dyld"
18167  version_type=darwin
18168  need_lib_prefix=no
18169  need_version=no
18170  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
18171  soname_spec='$libname$release$major$shared_ext'
18172  shlibpath_overrides_runpath=yes
18173  shlibpath_var=DYLD_LIBRARY_PATH
18174  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
18175
18176  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
18177  ;;
18178
18179dgux*)
18180  version_type=linux # correct to gnu/linux during the next big refactor
18181  need_lib_prefix=no
18182  need_version=no
18183  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18184  soname_spec='$libname$release$shared_ext$major'
18185  shlibpath_var=LD_LIBRARY_PATH
18186  ;;
18187
18188freebsd* | dragonfly*)
18189  # DragonFly does not have aout.  When/if they implement a new
18190  # versioning mechanism, adjust this.
18191  if test -x /usr/bin/objformat; then
18192    objformat=`/usr/bin/objformat`
18193  else
18194    case $host_os in
18195    freebsd[23].*) objformat=aout ;;
18196    *) objformat=elf ;;
18197    esac
18198  fi
18199  version_type=freebsd-$objformat
18200  case $version_type in
18201    freebsd-elf*)
18202      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18203      soname_spec='$libname$release$shared_ext$major'
18204      need_version=no
18205      need_lib_prefix=no
18206      ;;
18207    freebsd-*)
18208      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
18209      need_version=yes
18210      ;;
18211  esac
18212  shlibpath_var=LD_LIBRARY_PATH
18213  case $host_os in
18214  freebsd2.*)
18215    shlibpath_overrides_runpath=yes
18216    ;;
18217  freebsd3.[01]* | freebsdelf3.[01]*)
18218    shlibpath_overrides_runpath=yes
18219    hardcode_into_libs=yes
18220    ;;
18221  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
18222  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
18223    shlibpath_overrides_runpath=no
18224    hardcode_into_libs=yes
18225    ;;
18226  *) # from 4.6 on, and DragonFly
18227    shlibpath_overrides_runpath=yes
18228    hardcode_into_libs=yes
18229    ;;
18230  esac
18231  ;;
18232
18233haiku*)
18234  version_type=linux # correct to gnu/linux during the next big refactor
18235  need_lib_prefix=no
18236  need_version=no
18237  dynamic_linker="$host_os runtime_loader"
18238  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18239  soname_spec='$libname$release$shared_ext$major'
18240  shlibpath_var=LIBRARY_PATH
18241  shlibpath_overrides_runpath=no
18242  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
18243  hardcode_into_libs=yes
18244  ;;
18245
18246hpux9* | hpux10* | hpux11*)
18247  # Give a soname corresponding to the major version so that dld.sl refuses to
18248  # link against other versions.
18249  version_type=sunos
18250  need_lib_prefix=no
18251  need_version=no
18252  case $host_cpu in
18253  ia64*)
18254    shrext_cmds='.so'
18255    hardcode_into_libs=yes
18256    dynamic_linker="$host_os dld.so"
18257    shlibpath_var=LD_LIBRARY_PATH
18258    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18259    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18260    soname_spec='$libname$release$shared_ext$major'
18261    if test 32 = "$HPUX_IA64_MODE"; then
18262      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18263      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
18264    else
18265      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
18266      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
18267    fi
18268    ;;
18269  hppa*64*)
18270    shrext_cmds='.sl'
18271    hardcode_into_libs=yes
18272    dynamic_linker="$host_os dld.sl"
18273    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
18274    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18275    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18276    soname_spec='$libname$release$shared_ext$major'
18277    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18278    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18279    ;;
18280  *)
18281    shrext_cmds='.sl'
18282    dynamic_linker="$host_os dld.sl"
18283    shlibpath_var=SHLIB_PATH
18284    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
18285    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18286    soname_spec='$libname$release$shared_ext$major'
18287    ;;
18288  esac
18289  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
18290  postinstall_cmds='chmod 555 $lib'
18291  # or fails outright, so override atomically:
18292  install_override_mode=555
18293  ;;
18294
18295interix[3-9]*)
18296  version_type=linux # correct to gnu/linux during the next big refactor
18297  need_lib_prefix=no
18298  need_version=no
18299  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18300  soname_spec='$libname$release$shared_ext$major'
18301  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
18302  shlibpath_var=LD_LIBRARY_PATH
18303  shlibpath_overrides_runpath=no
18304  hardcode_into_libs=yes
18305  ;;
18306
18307irix5* | irix6* | nonstopux*)
18308  case $host_os in
18309    nonstopux*) version_type=nonstopux ;;
18310    *)
18311	if test yes = "$lt_cv_prog_gnu_ld"; then
18312		version_type=linux # correct to gnu/linux during the next big refactor
18313	else
18314		version_type=irix
18315	fi ;;
18316  esac
18317  need_lib_prefix=no
18318  need_version=no
18319  soname_spec='$libname$release$shared_ext$major'
18320  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
18321  case $host_os in
18322  irix5* | nonstopux*)
18323    libsuff= shlibsuff=
18324    ;;
18325  *)
18326    case $LD in # libtool.m4 will add one of these switches to LD
18327    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
18328      libsuff= shlibsuff= libmagic=32-bit;;
18329    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
18330      libsuff=32 shlibsuff=N32 libmagic=N32;;
18331    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
18332      libsuff=64 shlibsuff=64 libmagic=64-bit;;
18333    *) libsuff= shlibsuff= libmagic=never-match;;
18334    esac
18335    ;;
18336  esac
18337  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
18338  shlibpath_overrides_runpath=no
18339  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
18340  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
18341  hardcode_into_libs=yes
18342  ;;
18343
18344# No shared lib support for Linux oldld, aout, or coff.
18345linux*oldld* | linux*aout* | linux*coff*)
18346  dynamic_linker=no
18347  ;;
18348
18349linux*android*)
18350  version_type=none # Android doesn't support versioned libraries.
18351  need_lib_prefix=no
18352  need_version=no
18353  library_names_spec='$libname$release$shared_ext'
18354  soname_spec='$libname$release$shared_ext'
18355  finish_cmds=
18356  shlibpath_var=LD_LIBRARY_PATH
18357  shlibpath_overrides_runpath=yes
18358
18359  # This implies no fast_install, which is unacceptable.
18360  # Some rework will be needed to allow for fast_install
18361  # before this can be enabled.
18362  hardcode_into_libs=yes
18363
18364  dynamic_linker='Android linker'
18365  # Don't embed -rpath directories since the linker doesn't support them.
18366  hardcode_libdir_flag_spec_CXX='-L$libdir'
18367  ;;
18368
18369# This must be glibc/ELF.
18370linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
18371  version_type=linux # correct to gnu/linux during the next big refactor
18372  need_lib_prefix=no
18373  need_version=no
18374  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18375  soname_spec='$libname$release$shared_ext$major'
18376  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18377  shlibpath_var=LD_LIBRARY_PATH
18378  shlibpath_overrides_runpath=no
18379
18380  # Some binutils ld are patched to set DT_RUNPATH
18381  if test ${lt_cv_shlibpath_overrides_runpath+y}
18382then :
18383  printf %s "(cached) " >&6
18384else $as_nop
18385  lt_cv_shlibpath_overrides_runpath=no
18386    save_LDFLAGS=$LDFLAGS
18387    save_libdir=$libdir
18388    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
18389	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
18390    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18391/* end confdefs.h.  */
18392
18393int
18394main (void)
18395{
18396
18397  ;
18398  return 0;
18399}
18400_ACEOF
18401if ac_fn_cxx_try_link "$LINENO"
18402then :
18403  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
18404then :
18405  lt_cv_shlibpath_overrides_runpath=yes
18406fi
18407fi
18408rm -f core conftest.err conftest.$ac_objext conftest.beam \
18409    conftest$ac_exeext conftest.$ac_ext
18410    LDFLAGS=$save_LDFLAGS
18411    libdir=$save_libdir
18412
18413fi
18414
18415  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
18416
18417  # This implies no fast_install, which is unacceptable.
18418  # Some rework will be needed to allow for fast_install
18419  # before this can be enabled.
18420  hardcode_into_libs=yes
18421
18422  # Ideally, we could use ldconfig to report *all* directores which are
18423  # searched for libraries, however this is still not possible.  Aside from not
18424  # being certain /sbin/ldconfig is available, command
18425  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
18426  # even though it is searched at run-time.  Try to do the best guess by
18427  # appending ld.so.conf contents (and includes) to the search path.
18428  if test -f /etc/ld.so.conf; then
18429    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' ' '`
18430    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
18431  fi
18432
18433  # We used to test for /lib/ld.so.1 and disable shared libraries on
18434  # powerpc, because MkLinux only supported shared libraries with the
18435  # GNU dynamic linker.  Since this was broken with cross compilers,
18436  # most powerpc-linux boxes support dynamic linking these days and
18437  # people can always --disable-shared, the test was removed, and we
18438  # assume the GNU/Linux dynamic linker is in use.
18439  dynamic_linker='GNU/Linux ld.so'
18440  ;;
18441
18442netbsd*)
18443  version_type=sunos
18444  need_lib_prefix=no
18445  need_version=no
18446  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
18447    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
18448    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18449    dynamic_linker='NetBSD (a.out) ld.so'
18450  else
18451    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18452    soname_spec='$libname$release$shared_ext$major'
18453    dynamic_linker='NetBSD ld.elf_so'
18454  fi
18455  shlibpath_var=LD_LIBRARY_PATH
18456  shlibpath_overrides_runpath=yes
18457  hardcode_into_libs=yes
18458  ;;
18459
18460newsos6)
18461  version_type=linux # correct to gnu/linux during the next big refactor
18462  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18463  shlibpath_var=LD_LIBRARY_PATH
18464  shlibpath_overrides_runpath=yes
18465  ;;
18466
18467*nto* | *qnx*)
18468  version_type=qnx
18469  need_lib_prefix=no
18470  need_version=no
18471  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18472  soname_spec='$libname$release$shared_ext$major'
18473  shlibpath_var=LD_LIBRARY_PATH
18474  shlibpath_overrides_runpath=no
18475  hardcode_into_libs=yes
18476  dynamic_linker='ldqnx.so'
18477  ;;
18478
18479openbsd* | bitrig*)
18480  version_type=sunos
18481  sys_lib_dlsearch_path_spec=/usr/lib
18482  need_lib_prefix=no
18483  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
18484    need_version=no
18485  else
18486    need_version=yes
18487  fi
18488  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
18489  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18490  shlibpath_var=LD_LIBRARY_PATH
18491  shlibpath_overrides_runpath=yes
18492  ;;
18493
18494os2*)
18495  libname_spec='$name'
18496  version_type=windows
18497  shrext_cmds=.dll
18498  need_version=no
18499  need_lib_prefix=no
18500  # OS/2 can only load a DLL with a base name of 8 characters or less.
18501  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
18502    v=$($ECHO $release$versuffix | tr -d .-);
18503    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
18504    $ECHO $n$v`$shared_ext'
18505  library_names_spec='${libname}_dll.$libext'
18506  dynamic_linker='OS/2 ld.exe'
18507  shlibpath_var=BEGINLIBPATH
18508  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
18509  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18510  postinstall_cmds='base_file=`basename \$file`~
18511    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
18512    dldir=$destdir/`dirname \$dlpath`~
18513    test -d \$dldir || mkdir -p \$dldir~
18514    $install_prog $dir/$dlname \$dldir/$dlname~
18515    chmod a+x \$dldir/$dlname~
18516    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
18517      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
18518    fi'
18519  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
18520    dlpath=$dir/\$dldll~
18521    $RM \$dlpath'
18522  ;;
18523
18524osf3* | osf4* | osf5*)
18525  version_type=osf
18526  need_lib_prefix=no
18527  need_version=no
18528  soname_spec='$libname$release$shared_ext$major'
18529  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18530  shlibpath_var=LD_LIBRARY_PATH
18531  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18532  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18533  ;;
18534
18535rdos*)
18536  dynamic_linker=no
18537  ;;
18538
18539solaris*)
18540  version_type=linux # correct to gnu/linux during the next big refactor
18541  need_lib_prefix=no
18542  need_version=no
18543  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18544  soname_spec='$libname$release$shared_ext$major'
18545  shlibpath_var=LD_LIBRARY_PATH
18546  shlibpath_overrides_runpath=yes
18547  hardcode_into_libs=yes
18548  # ldd complains unless libraries are executable
18549  postinstall_cmds='chmod +x $lib'
18550  ;;
18551
18552sunos4*)
18553  version_type=sunos
18554  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
18555  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18556  shlibpath_var=LD_LIBRARY_PATH
18557  shlibpath_overrides_runpath=yes
18558  if test yes = "$with_gnu_ld"; then
18559    need_lib_prefix=no
18560  fi
18561  need_version=yes
18562  ;;
18563
18564sysv4 | sysv4.3*)
18565  version_type=linux # correct to gnu/linux during the next big refactor
18566  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18567  soname_spec='$libname$release$shared_ext$major'
18568  shlibpath_var=LD_LIBRARY_PATH
18569  case $host_vendor in
18570    sni)
18571      shlibpath_overrides_runpath=no
18572      need_lib_prefix=no
18573      runpath_var=LD_RUN_PATH
18574      ;;
18575    siemens)
18576      need_lib_prefix=no
18577      ;;
18578    motorola)
18579      need_lib_prefix=no
18580      need_version=no
18581      shlibpath_overrides_runpath=no
18582      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
18583      ;;
18584  esac
18585  ;;
18586
18587sysv4*MP*)
18588  if test -d /usr/nec; then
18589    version_type=linux # correct to gnu/linux during the next big refactor
18590    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
18591    soname_spec='$libname$shared_ext.$major'
18592    shlibpath_var=LD_LIBRARY_PATH
18593  fi
18594  ;;
18595
18596sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
18597  version_type=sco
18598  need_lib_prefix=no
18599  need_version=no
18600  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
18601  soname_spec='$libname$release$shared_ext$major'
18602  shlibpath_var=LD_LIBRARY_PATH
18603  shlibpath_overrides_runpath=yes
18604  hardcode_into_libs=yes
18605  if test yes = "$with_gnu_ld"; then
18606    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18607  else
18608    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
18609    case $host_os in
18610      sco3.2v5*)
18611        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
18612	;;
18613    esac
18614  fi
18615  sys_lib_dlsearch_path_spec='/usr/lib'
18616  ;;
18617
18618tpf*)
18619  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
18620  version_type=linux # correct to gnu/linux during the next big refactor
18621  need_lib_prefix=no
18622  need_version=no
18623  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18624  shlibpath_var=LD_LIBRARY_PATH
18625  shlibpath_overrides_runpath=no
18626  hardcode_into_libs=yes
18627  ;;
18628
18629uts4*)
18630  version_type=linux # correct to gnu/linux during the next big refactor
18631  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18632  soname_spec='$libname$release$shared_ext$major'
18633  shlibpath_var=LD_LIBRARY_PATH
18634  ;;
18635
18636*)
18637  dynamic_linker=no
18638  ;;
18639esac
18640{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
18641printf "%s\n" "$dynamic_linker" >&6; }
18642test no = "$dynamic_linker" && can_build_shared=no
18643
18644variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
18645if test yes = "$GCC"; then
18646  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18647fi
18648
18649if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
18650  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
18651fi
18652
18653if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
18654  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
18655fi
18656
18657# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
18658configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
18659
18660# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
18661func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
18662
18663# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
18664configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
18665
18666
18667
18668
18669
18670
18671
18672
18673
18674
18675
18676
18677
18678
18679
18680
18681
18682
18683
18684
18685
18686
18687
18688
18689
18690
18691
18692
18693
18694
18695
18696
18697
18698
18699
18700
18701
18702
18703
18704
18705    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
18706printf %s "checking how to hardcode library paths into programs... " >&6; }
18707hardcode_action_CXX=
18708if test -n "$hardcode_libdir_flag_spec_CXX" ||
18709   test -n "$runpath_var_CXX" ||
18710   test yes = "$hardcode_automatic_CXX"; then
18711
18712  # We can hardcode non-existent directories.
18713  if test no != "$hardcode_direct_CXX" &&
18714     # If the only mechanism to avoid hardcoding is shlibpath_var, we
18715     # have to relink, otherwise we might link with an installed library
18716     # when we should be linking with a yet-to-be-installed one
18717     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
18718     test no != "$hardcode_minus_L_CXX"; then
18719    # Linking always hardcodes the temporary library directory.
18720    hardcode_action_CXX=relink
18721  else
18722    # We can link without hardcoding, and we can hardcode nonexisting dirs.
18723    hardcode_action_CXX=immediate
18724  fi
18725else
18726  # We cannot hardcode anything, or else we can only hardcode existing
18727  # directories.
18728  hardcode_action_CXX=unsupported
18729fi
18730{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
18731printf "%s\n" "$hardcode_action_CXX" >&6; }
18732
18733if test relink = "$hardcode_action_CXX" ||
18734   test yes = "$inherit_rpath_CXX"; then
18735  # Fast installation is not supported
18736  enable_fast_install=no
18737elif test yes = "$shlibpath_overrides_runpath" ||
18738     test no = "$enable_shared"; then
18739  # Fast installation is not necessary
18740  enable_fast_install=needless
18741fi
18742
18743
18744
18745
18746
18747
18748
18749  fi # test -n "$compiler"
18750
18751  CC=$lt_save_CC
18752  CFLAGS=$lt_save_CFLAGS
18753  LDCXX=$LD
18754  LD=$lt_save_LD
18755  GCC=$lt_save_GCC
18756  with_gnu_ld=$lt_save_with_gnu_ld
18757  lt_cv_path_LDCXX=$lt_cv_path_LD
18758  lt_cv_path_LD=$lt_save_path_LD
18759  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
18760  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
18761fi # test yes != "$_lt_caught_CXX_error"
18762
18763ac_ext=c
18764ac_cpp='$CPP $CPPFLAGS'
18765ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18766ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18767ac_compiler_gnu=$ac_cv_c_compiler_gnu
18768
18769
18770
18771
18772
18773
18774
18775
18776
18777
18778
18779
18780
18781
18782
18783        ac_config_commands="$ac_config_commands libtool"
18784
18785
18786
18787
18788# Only expand once:
18789
18790
18791
18792# Checks for typedefs, structures, and compiler characteristics.
18793{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
18794printf %s "checking for an ANSI C-conforming const... " >&6; }
18795if test ${ac_cv_c_const+y}
18796then :
18797  printf %s "(cached) " >&6
18798else $as_nop
18799  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18800/* end confdefs.h.  */
18801
18802int
18803main (void)
18804{
18805
18806#ifndef __cplusplus
18807  /* Ultrix mips cc rejects this sort of thing.  */
18808  typedef int charset[2];
18809  const charset cs = { 0, 0 };
18810  /* SunOS 4.1.1 cc rejects this.  */
18811  char const *const *pcpcc;
18812  char **ppc;
18813  /* NEC SVR4.0.2 mips cc rejects this.  */
18814  struct point {int x, y;};
18815  static struct point const zero = {0,0};
18816  /* IBM XL C 1.02.0.0 rejects this.
18817     It does not let you subtract one const X* pointer from another in
18818     an arm of an if-expression whose if-part is not a constant
18819     expression */
18820  const char *g = "string";
18821  pcpcc = &g + (g ? g-g : 0);
18822  /* HPUX 7.0 cc rejects these. */
18823  ++pcpcc;
18824  ppc = (char**) pcpcc;
18825  pcpcc = (char const *const *) ppc;
18826  { /* SCO 3.2v4 cc rejects this sort of thing.  */
18827    char tx;
18828    char *t = &tx;
18829    char const *s = 0 ? (char *) 0 : (char const *) 0;
18830
18831    *t++ = 0;
18832    if (s) return 0;
18833  }
18834  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
18835    int x[] = {25, 17};
18836    const int *foo = &x[0];
18837    ++foo;
18838  }
18839  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18840    typedef const int *iptr;
18841    iptr p = 0;
18842    ++p;
18843  }
18844  { /* IBM XL C 1.02.0.0 rejects this sort of thing, saying
18845       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18846    struct s { int j; const int *ap[3]; } bx;
18847    struct s *b = &bx; b->j = 5;
18848  }
18849  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18850    const int foo = 10;
18851    if (!foo) return 0;
18852  }
18853  return !cs[0] && !zero.x;
18854#endif
18855
18856  ;
18857  return 0;
18858}
18859_ACEOF
18860if ac_fn_c_try_compile "$LINENO"
18861then :
18862  ac_cv_c_const=yes
18863else $as_nop
18864  ac_cv_c_const=no
18865fi
18866rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18867fi
18868{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
18869printf "%s\n" "$ac_cv_c_const" >&6; }
18870if test $ac_cv_c_const = no; then
18871
18872printf "%s\n" "#define const /**/" >>confdefs.h
18873
18874fi
18875
18876ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
18877if test "x$ac_cv_type_size_t" = xyes
18878then :
18879
18880else $as_nop
18881
18882printf "%s\n" "#define size_t unsigned int" >>confdefs.h
18883
18884fi
18885
18886ac_header_dirent=no
18887for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
18888  as_ac_Header=`printf "%s\n" "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
18889{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
18890printf %s "checking for $ac_hdr that defines DIR... " >&6; }
18891if eval test \${$as_ac_Header+y}
18892then :
18893  printf %s "(cached) " >&6
18894else $as_nop
18895  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18896/* end confdefs.h.  */
18897#include <sys/types.h>
18898#include <$ac_hdr>
18899
18900int
18901main (void)
18902{
18903if ((DIR *) 0)
18904return 0;
18905  ;
18906  return 0;
18907}
18908_ACEOF
18909if ac_fn_c_try_compile "$LINENO"
18910then :
18911  eval "$as_ac_Header=yes"
18912else $as_nop
18913  eval "$as_ac_Header=no"
18914fi
18915rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18916fi
18917eval ac_res=\$$as_ac_Header
18918	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
18919printf "%s\n" "$ac_res" >&6; }
18920if eval test \"x\$"$as_ac_Header"\" = x"yes"
18921then :
18922  cat >>confdefs.h <<_ACEOF
18923#define `printf "%s\n" "HAVE_$ac_hdr" | $as_tr_cpp` 1
18924_ACEOF
18925
18926ac_header_dirent=$ac_hdr; break
18927fi
18928
18929done
18930# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
18931if test $ac_header_dirent = dirent.h; then
18932  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
18933printf %s "checking for library containing opendir... " >&6; }
18934if test ${ac_cv_search_opendir+y}
18935then :
18936  printf %s "(cached) " >&6
18937else $as_nop
18938  ac_func_search_save_LIBS=$LIBS
18939cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18940/* end confdefs.h.  */
18941
18942/* Override any GCC internal prototype to avoid an error.
18943   Use char because int might match the return type of a GCC
18944   builtin and then its argument prototype would still apply.  */
18945char opendir ();
18946int
18947main (void)
18948{
18949return opendir ();
18950  ;
18951  return 0;
18952}
18953_ACEOF
18954for ac_lib in '' dir
18955do
18956  if test -z "$ac_lib"; then
18957    ac_res="none required"
18958  else
18959    ac_res=-l$ac_lib
18960    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
18961  fi
18962  if ac_fn_c_try_link "$LINENO"
18963then :
18964  ac_cv_search_opendir=$ac_res
18965fi
18966rm -f core conftest.err conftest.$ac_objext conftest.beam \
18967    conftest$ac_exeext
18968  if test ${ac_cv_search_opendir+y}
18969then :
18970  break
18971fi
18972done
18973if test ${ac_cv_search_opendir+y}
18974then :
18975
18976else $as_nop
18977  ac_cv_search_opendir=no
18978fi
18979rm conftest.$ac_ext
18980LIBS=$ac_func_search_save_LIBS
18981fi
18982{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
18983printf "%s\n" "$ac_cv_search_opendir" >&6; }
18984ac_res=$ac_cv_search_opendir
18985if test "$ac_res" != no
18986then :
18987  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18988
18989fi
18990
18991else
18992  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
18993printf %s "checking for library containing opendir... " >&6; }
18994if test ${ac_cv_search_opendir+y}
18995then :
18996  printf %s "(cached) " >&6
18997else $as_nop
18998  ac_func_search_save_LIBS=$LIBS
18999cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19000/* end confdefs.h.  */
19001
19002/* Override any GCC internal prototype to avoid an error.
19003   Use char because int might match the return type of a GCC
19004   builtin and then its argument prototype would still apply.  */
19005char opendir ();
19006int
19007main (void)
19008{
19009return opendir ();
19010  ;
19011  return 0;
19012}
19013_ACEOF
19014for ac_lib in '' x
19015do
19016  if test -z "$ac_lib"; then
19017    ac_res="none required"
19018  else
19019    ac_res=-l$ac_lib
19020    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19021  fi
19022  if ac_fn_c_try_link "$LINENO"
19023then :
19024  ac_cv_search_opendir=$ac_res
19025fi
19026rm -f core conftest.err conftest.$ac_objext conftest.beam \
19027    conftest$ac_exeext
19028  if test ${ac_cv_search_opendir+y}
19029then :
19030  break
19031fi
19032done
19033if test ${ac_cv_search_opendir+y}
19034then :
19035
19036else $as_nop
19037  ac_cv_search_opendir=no
19038fi
19039rm conftest.$ac_ext
19040LIBS=$ac_func_search_save_LIBS
19041fi
19042{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
19043printf "%s\n" "$ac_cv_search_opendir" >&6; }
19044ac_res=$ac_cv_search_opendir
19045if test "$ac_res" != no
19046then :
19047  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19048
19049fi
19050
19051fi
19052
19053
19054# Checks for library functions.
19055ac_fn_c_check_func "$LINENO" "strchr" "ac_cv_func_strchr"
19056if test "x$ac_cv_func_strchr" = xyes
19057then :
19058  printf "%s\n" "#define HAVE_STRCHR 1" >>confdefs.h
19059
19060fi
19061ac_fn_c_check_func "$LINENO" "strdup" "ac_cv_func_strdup"
19062if test "x$ac_cv_func_strdup" = xyes
19063then :
19064  printf "%s\n" "#define HAVE_STRDUP 1" >>confdefs.h
19065
19066fi
19067ac_fn_c_check_func "$LINENO" "strstr" "ac_cv_func_strstr"
19068if test "x$ac_cv_func_strstr" = xyes
19069then :
19070  printf "%s\n" "#define HAVE_STRSTR 1" >>confdefs.h
19071
19072fi
19073ac_fn_c_check_func "$LINENO" "timegm" "ac_cv_func_timegm"
19074if test "x$ac_cv_func_timegm" = xyes
19075then :
19076  printf "%s\n" "#define HAVE_TIMEGM 1" >>confdefs.h
19077
19078fi
19079ac_fn_c_check_func "$LINENO" "gmtime_r" "ac_cv_func_gmtime_r"
19080if test "x$ac_cv_func_gmtime_r" = xyes
19081then :
19082  printf "%s\n" "#define HAVE_GMTIME_R 1" >>confdefs.h
19083
19084fi
19085ac_fn_c_check_func "$LINENO" "strcasecmp" "ac_cv_func_strcasecmp"
19086if test "x$ac_cv_func_strcasecmp" = xyes
19087then :
19088  printf "%s\n" "#define HAVE_STRCASECMP 1" >>confdefs.h
19089
19090fi
19091
19092ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
19093if test "x$ac_cv_header_dlfcn_h" = xyes
19094then :
19095  printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
19096
19097fi
19098
19099
19100
19101  CCASFLAGS__ax_save_flags=$CCASFLAGS
19102
19103
19104
19105  CFLAGS__ax_save_flags=$CFLAGS
19106
19107
19108
19109  CPPFLAGS__ax_save_flags=$CPPFLAGS
19110
19111
19112
19113  CXXFLAGS__ax_save_flags=$CXXFLAGS
19114
19115
19116
19117  ERLCFLAGS__ax_save_flags=$ERLCFLAGS
19118
19119
19120
19121  FCFLAGS__ax_save_flags=$FCFLAGS
19122
19123
19124
19125  FCLIBS__ax_save_flags=$FCLIBS
19126
19127
19128
19129  FFLAGS__ax_save_flags=$FFLAGS
19130
19131
19132
19133  FLIBS__ax_save_flags=$FLIBS
19134
19135
19136
19137  GCJFLAGS__ax_save_flags=$GCJFLAGS
19138
19139
19140
19141  JAVACFLAGS__ax_save_flags=$JAVACFLAGS
19142
19143
19144
19145  LDFLAGS__ax_save_flags=$LDFLAGS
19146
19147
19148
19149  LIBS__ax_save_flags=$LIBS
19150
19151
19152
19153  OBJCFLAGS__ax_save_flags=$OBJCFLAGS
19154
19155
19156
19157  OBJCXXFLAGS__ax_save_flags=$OBJCXXFLAGS
19158
19159
19160
19161  UPCFLAGS__ax_save_flags=$UPCFLAGS
19162
19163
19164
19165  VALAFLAGS__ax_save_flags=$VALAFLAGS
19166
19167
19168
19169LIBS=""
19170{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19171printf %s "checking for library containing dlopen... " >&6; }
19172if test ${ac_cv_search_dlopen+y}
19173then :
19174  printf %s "(cached) " >&6
19175else $as_nop
19176  ac_func_search_save_LIBS=$LIBS
19177cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19178/* end confdefs.h.  */
19179
19180/* Override any GCC internal prototype to avoid an error.
19181   Use char because int might match the return type of a GCC
19182   builtin and then its argument prototype would still apply.  */
19183char dlopen ();
19184int
19185main (void)
19186{
19187return dlopen ();
19188  ;
19189  return 0;
19190}
19191_ACEOF
19192for ac_lib in '' dl
19193do
19194  if test -z "$ac_lib"; then
19195    ac_res="none required"
19196  else
19197    ac_res=-l$ac_lib
19198    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19199  fi
19200  if ac_fn_c_try_link "$LINENO"
19201then :
19202  ac_cv_search_dlopen=$ac_res
19203fi
19204rm -f core conftest.err conftest.$ac_objext conftest.beam \
19205    conftest$ac_exeext
19206  if test ${ac_cv_search_dlopen+y}
19207then :
19208  break
19209fi
19210done
19211if test ${ac_cv_search_dlopen+y}
19212then :
19213
19214else $as_nop
19215  ac_cv_search_dlopen=no
19216fi
19217rm conftest.$ac_ext
19218LIBS=$ac_func_search_save_LIBS
19219fi
19220{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19221printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19222ac_res=$ac_cv_search_dlopen
19223if test "$ac_res" != no
19224then :
19225  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19226
19227else $as_nop
19228  as_fn_error $? "cannot find dlopen() function" "$LINENO" 5
19229fi
19230
19231dlopen_LIBS=$LIBS
19232
19233
19234  CCASFLAGS=$CCASFLAGS__ax_save_flags
19235
19236
19237  CFLAGS=$CFLAGS__ax_save_flags
19238
19239
19240  CPPFLAGS=$CPPFLAGS__ax_save_flags
19241
19242
19243  CXXFLAGS=$CXXFLAGS__ax_save_flags
19244
19245
19246  ERLCFLAGS=$ERLCFLAGS__ax_save_flags
19247
19248
19249  FCFLAGS=$FCFLAGS__ax_save_flags
19250
19251
19252  FCLIBS=$FCLIBS__ax_save_flags
19253
19254
19255  FFLAGS=$FFLAGS__ax_save_flags
19256
19257
19258  FLIBS=$FLIBS__ax_save_flags
19259
19260
19261  GCJFLAGS=$GCJFLAGS__ax_save_flags
19262
19263
19264  JAVACFLAGS=$JAVACFLAGS__ax_save_flags
19265
19266
19267  LDFLAGS=$LDFLAGS__ax_save_flags
19268
19269
19270  LIBS=$LIBS__ax_save_flags
19271
19272
19273  OBJCFLAGS=$OBJCFLAGS__ax_save_flags
19274
19275
19276  OBJCXXFLAGS=$OBJCXXFLAGS__ax_save_flags
19277
19278
19279  UPCFLAGS=$UPCFLAGS__ax_save_flags
19280
19281
19282  VALAFLAGS=$VALAFLAGS__ax_save_flags
19283
19284
19285
19286
19287# checks for pthreads
19288ac_ext=c
19289ac_cpp='$CPP $CPPFLAGS'
19290ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19291ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19292ac_compiler_gnu=$ac_cv_c_compiler_gnu
19293{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
19294printf %s "checking how to run the C preprocessor... " >&6; }
19295# On Suns, sometimes $CPP names a directory.
19296if test -n "$CPP" && test -d "$CPP"; then
19297  CPP=
19298fi
19299if test -z "$CPP"; then
19300  if test ${ac_cv_prog_CPP+y}
19301then :
19302  printf %s "(cached) " >&6
19303else $as_nop
19304      # Double quotes because $CC needs to be expanded
19305    for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
19306    do
19307      ac_preproc_ok=false
19308for ac_c_preproc_warn_flag in '' yes
19309do
19310  # Use a header file that comes with gcc, so configuring glibc
19311  # with a fresh cross-compiler works.
19312  # On the NeXT, cc -E runs the code through the compiler's parser,
19313  # not just through cpp. "Syntax error" is here to catch this case.
19314  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19315/* end confdefs.h.  */
19316#include <limits.h>
19317		     Syntax error
19318_ACEOF
19319if ac_fn_c_try_cpp "$LINENO"
19320then :
19321
19322else $as_nop
19323  # Broken: fails on valid input.
19324continue
19325fi
19326rm -f conftest.err conftest.i conftest.$ac_ext
19327
19328  # OK, works on sane cases.  Now check whether nonexistent headers
19329  # can be detected and how.
19330  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19331/* end confdefs.h.  */
19332#include <ac_nonexistent.h>
19333_ACEOF
19334if ac_fn_c_try_cpp "$LINENO"
19335then :
19336  # Broken: success on invalid input.
19337continue
19338else $as_nop
19339  # Passes both tests.
19340ac_preproc_ok=:
19341break
19342fi
19343rm -f conftest.err conftest.i conftest.$ac_ext
19344
19345done
19346# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
19347rm -f conftest.i conftest.err conftest.$ac_ext
19348if $ac_preproc_ok
19349then :
19350  break
19351fi
19352
19353    done
19354    ac_cv_prog_CPP=$CPP
19355
19356fi
19357  CPP=$ac_cv_prog_CPP
19358else
19359  ac_cv_prog_CPP=$CPP
19360fi
19361{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
19362printf "%s\n" "$CPP" >&6; }
19363ac_preproc_ok=false
19364for ac_c_preproc_warn_flag in '' yes
19365do
19366  # Use a header file that comes with gcc, so configuring glibc
19367  # with a fresh cross-compiler works.
19368  # On the NeXT, cc -E runs the code through the compiler's parser,
19369  # not just through cpp. "Syntax error" is here to catch this case.
19370  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19371/* end confdefs.h.  */
19372#include <limits.h>
19373		     Syntax error
19374_ACEOF
19375if ac_fn_c_try_cpp "$LINENO"
19376then :
19377
19378else $as_nop
19379  # Broken: fails on valid input.
19380continue
19381fi
19382rm -f conftest.err conftest.i conftest.$ac_ext
19383
19384  # OK, works on sane cases.  Now check whether nonexistent headers
19385  # can be detected and how.
19386  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19387/* end confdefs.h.  */
19388#include <ac_nonexistent.h>
19389_ACEOF
19390if ac_fn_c_try_cpp "$LINENO"
19391then :
19392  # Broken: success on invalid input.
19393continue
19394else $as_nop
19395  # Passes both tests.
19396ac_preproc_ok=:
19397break
19398fi
19399rm -f conftest.err conftest.i conftest.$ac_ext
19400
19401done
19402# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
19403rm -f conftest.i conftest.err conftest.$ac_ext
19404if $ac_preproc_ok
19405then :
19406
19407else $as_nop
19408  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19409printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
19410as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
19411See \`config.log' for more details" "$LINENO" 5; }
19412fi
19413
19414ac_ext=c
19415ac_cpp='$CPP $CPPFLAGS'
19416ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19417ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19418ac_compiler_gnu=$ac_cv_c_compiler_gnu
19419
19420
19421
19422
19423
19424
19425ac_ext=c
19426ac_cpp='$CPP $CPPFLAGS'
19427ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19428ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19429ac_compiler_gnu=$ac_cv_c_compiler_gnu
19430
19431ax_pthread_ok=no
19432
19433# We used to check for pthread.h first, but this fails if pthread.h
19434# requires special compiler flags (e.g. on Tru64 or Sequent).
19435# It gets checked for in the link test anyway.
19436
19437# First of all, check if the user has set any of the PTHREAD_LIBS,
19438# etcetera environment variables, and if threads linking works using
19439# them:
19440if test "x$PTHREAD_CFLAGS$PTHREAD_LIBS" != "x"; then
19441        ax_pthread_save_CC="$CC"
19442        ax_pthread_save_CFLAGS="$CFLAGS"
19443        ax_pthread_save_LIBS="$LIBS"
19444        if test "x$PTHREAD_CC" != "x"
19445then :
19446  CC="$PTHREAD_CC"
19447fi
19448        CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
19449        LIBS="$PTHREAD_LIBS $LIBS"
19450        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS" >&5
19451printf %s "checking for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS... " >&6; }
19452        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19453/* end confdefs.h.  */
19454
19455/* Override any GCC internal prototype to avoid an error.
19456   Use char because int might match the return type of a GCC
19457   builtin and then its argument prototype would still apply.  */
19458char pthread_join ();
19459int
19460main (void)
19461{
19462return pthread_join ();
19463  ;
19464  return 0;
19465}
19466_ACEOF
19467if ac_fn_c_try_link "$LINENO"
19468then :
19469  ax_pthread_ok=yes
19470fi
19471rm -f core conftest.err conftest.$ac_objext conftest.beam \
19472    conftest$ac_exeext conftest.$ac_ext
19473        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
19474printf "%s\n" "$ax_pthread_ok" >&6; }
19475        if test "x$ax_pthread_ok" = "xno"; then
19476                PTHREAD_LIBS=""
19477                PTHREAD_CFLAGS=""
19478        fi
19479        CC="$ax_pthread_save_CC"
19480        CFLAGS="$ax_pthread_save_CFLAGS"
19481        LIBS="$ax_pthread_save_LIBS"
19482fi
19483
19484# We must check for the threads library under a number of different
19485# names; the ordering is very important because some systems
19486# (e.g. DEC) have both -lpthread and -lpthreads, where one of the
19487# libraries is broken (non-POSIX).
19488
19489# Create a list of thread flags to try.  Items starting with a "-" are
19490# C compiler flags, and other items are library names, except for "none"
19491# which indicates that we try without any flags at all, and "pthread-config"
19492# which is a program returning the flags for the Pth emulation library.
19493
19494ax_pthread_flags="pthreads none -Kthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
19495
19496# The ordering *is* (sometimes) important.  Some notes on the
19497# individual items follow:
19498
19499# pthreads: AIX (must check this before -lpthread)
19500# none: in case threads are in libc; should be tried before -Kthread and
19501#       other compiler flags to prevent continual compiler warnings
19502# -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
19503# -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads), Tru64
19504#           (Note: HP C rejects this with "bad form for `-t' option")
19505# -pthreads: Solaris/gcc (Note: HP C also rejects)
19506# -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
19507#      doesn't hurt to check since this sometimes defines pthreads and
19508#      -D_REENTRANT too), HP C (must be checked before -lpthread, which
19509#      is present but should not be used directly; and before -mthreads,
19510#      because the compiler interprets this as "-mt" + "-hreads")
19511# -mthreads: Mingw32/gcc, Lynx/gcc
19512# pthread: Linux, etcetera
19513# --thread-safe: KAI C++
19514# pthread-config: use pthread-config program (for GNU Pth library)
19515
19516case $host_os in
19517
19518        freebsd*)
19519
19520        # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
19521        # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
19522
19523        ax_pthread_flags="-kthread lthread $ax_pthread_flags"
19524        ;;
19525
19526        hpux*)
19527
19528        # From the cc(1) man page: "[-mt] Sets various -D flags to enable
19529        # multi-threading and also sets -lpthread."
19530
19531        ax_pthread_flags="-mt -pthread pthread $ax_pthread_flags"
19532        ;;
19533
19534        openedition*)
19535
19536        # IBM z/OS requires a feature-test macro to be defined in order to
19537        # enable POSIX threads at all, so give the user a hint if this is
19538        # not set. (We don't define these ourselves, as they can affect
19539        # other portions of the system API in unpredictable ways.)
19540
19541        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19542/* end confdefs.h.  */
19543
19544#            if !defined(_OPEN_THREADS) && !defined(_UNIX03_THREADS)
19545             AX_PTHREAD_ZOS_MISSING
19546#            endif
19547
19548_ACEOF
19549if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19550  $EGREP "AX_PTHREAD_ZOS_MISSING" >/dev/null 2>&1
19551then :
19552  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support." >&5
19553printf "%s\n" "$as_me: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support." >&2;}
19554fi
19555rm -rf conftest*
19556
19557        ;;
19558
19559        solaris*)
19560
19561        # On Solaris (at least, for some versions), libc contains stubbed
19562        # (non-functional) versions of the pthreads routines, so link-based
19563        # tests will erroneously succeed. (N.B.: The stubs are missing
19564        # pthread_cleanup_push, or rather a function called by this macro,
19565        # so we could check for that, but who knows whether they'll stub
19566        # that too in a future libc.)  So we'll check first for the
19567        # standard Solaris way of linking pthreads (-mt -lpthread).
19568
19569        ax_pthread_flags="-mt,pthread pthread $ax_pthread_flags"
19570        ;;
19571esac
19572
19573# GCC generally uses -pthread, or -pthreads on some platforms (e.g. SPARC)
19574
19575if test "x$GCC" = "xyes"
19576then :
19577  ax_pthread_flags="-pthread -pthreads $ax_pthread_flags"
19578fi
19579
19580# The presence of a feature test macro requesting re-entrant function
19581# definitions is, on some systems, a strong hint that pthreads support is
19582# correctly enabled
19583
19584case $host_os in
19585        darwin* | hpux* | linux* | osf* | solaris*)
19586        ax_pthread_check_macro="_REENTRANT"
19587        ;;
19588
19589        aix*)
19590        ax_pthread_check_macro="_THREAD_SAFE"
19591        ;;
19592
19593        *)
19594        ax_pthread_check_macro="--"
19595        ;;
19596esac
19597if test "x$ax_pthread_check_macro" = "x--"
19598then :
19599  ax_pthread_check_cond=0
19600else $as_nop
19601  ax_pthread_check_cond="!defined($ax_pthread_check_macro)"
19602fi
19603
19604# Are we compiling with Clang?
19605
19606{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC is Clang" >&5
19607printf %s "checking whether $CC is Clang... " >&6; }
19608if test ${ax_cv_PTHREAD_CLANG+y}
19609then :
19610  printf %s "(cached) " >&6
19611else $as_nop
19612  ax_cv_PTHREAD_CLANG=no
19613     # Note that Autoconf sets GCC=yes for Clang as well as GCC
19614     if test "x$GCC" = "xyes"; then
19615        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19616/* end confdefs.h.  */
19617/* Note: Clang 2.7 lacks __clang_[a-z]+__ */
19618#            if defined(__clang__) && defined(__llvm__)
19619             AX_PTHREAD_CC_IS_CLANG
19620#            endif
19621
19622_ACEOF
19623if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19624  $EGREP "AX_PTHREAD_CC_IS_CLANG" >/dev/null 2>&1
19625then :
19626  ax_cv_PTHREAD_CLANG=yes
19627fi
19628rm -rf conftest*
19629
19630     fi
19631
19632fi
19633{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_CLANG" >&5
19634printf "%s\n" "$ax_cv_PTHREAD_CLANG" >&6; }
19635ax_pthread_clang="$ax_cv_PTHREAD_CLANG"
19636
19637ax_pthread_clang_warning=no
19638
19639# Clang needs special handling, because older versions handle the -pthread
19640# option in a rather... idiosyncratic way
19641
19642if test "x$ax_pthread_clang" = "xyes"; then
19643
19644        # Clang takes -pthread; it has never supported any other flag
19645
19646        # (Note 1: This will need to be revisited if a system that Clang
19647        # supports has POSIX threads in a separate library.  This tends not
19648        # to be the way of modern systems, but it's conceivable.)
19649
19650        # (Note 2: On some systems, notably Darwin, -pthread is not needed
19651        # to get POSIX threads support; the API is always present and
19652        # active.  We could reasonably leave PTHREAD_CFLAGS empty.  But
19653        # -pthread does define _REENTRANT, and while the Darwin headers
19654        # ignore this macro, third-party headers might not.)
19655
19656        PTHREAD_CFLAGS="-pthread"
19657        PTHREAD_LIBS=
19658
19659        ax_pthread_ok=yes
19660
19661        # However, older versions of Clang make a point of warning the user
19662        # that, in an invocation where only linking and no compilation is
19663        # taking place, the -pthread option has no effect ("argument unused
19664        # during compilation").  They expect -pthread to be passed in only
19665        # when source code is being compiled.
19666        #
19667        # Problem is, this is at odds with the way Automake and most other
19668        # C build frameworks function, which is that the same flags used in
19669        # compilation (CFLAGS) are also used in linking.  Many systems
19670        # supported by AX_PTHREAD require exactly this for POSIX threads
19671        # support, and in fact it is often not straightforward to specify a
19672        # flag that is used only in the compilation phase and not in
19673        # linking.  Such a scenario is extremely rare in practice.
19674        #
19675        # Even though use of the -pthread flag in linking would only print
19676        # a warning, this can be a nuisance for well-run software projects
19677        # that build with -Werror.  So if the active version of Clang has
19678        # this misfeature, we search for an option to squash it.
19679
19680        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether Clang needs flag to prevent \"argument unused\" warning when linking with -pthread" >&5
19681printf %s "checking whether Clang needs flag to prevent \"argument unused\" warning when linking with -pthread... " >&6; }
19682if test ${ax_cv_PTHREAD_CLANG_NO_WARN_FLAG+y}
19683then :
19684  printf %s "(cached) " >&6
19685else $as_nop
19686  ax_cv_PTHREAD_CLANG_NO_WARN_FLAG=unknown
19687             # Create an alternate version of $ac_link that compiles and
19688             # links in two steps (.c -> .o, .o -> exe) instead of one
19689             # (.c -> exe), because the warning occurs only in the second
19690             # step
19691             ax_pthread_save_ac_link="$ac_link"
19692             ax_pthread_sed='s/conftest\.\$ac_ext/conftest.$ac_objext/g'
19693             ax_pthread_link_step=`$as_echo "$ac_link" | sed "$ax_pthread_sed"`
19694             ax_pthread_2step_ac_link="($ac_compile) && (echo ==== >&5) && ($ax_pthread_link_step)"
19695             ax_pthread_save_CFLAGS="$CFLAGS"
19696             for ax_pthread_try in '' -Qunused-arguments -Wno-unused-command-line-argument unknown; do
19697                if test "x$ax_pthread_try" = "xunknown"
19698then :
19699  break
19700fi
19701                CFLAGS="-Werror -Wunknown-warning-option $ax_pthread_try -pthread $ax_pthread_save_CFLAGS"
19702                ac_link="$ax_pthread_save_ac_link"
19703                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19704/* end confdefs.h.  */
19705int main(void){return 0;}
19706_ACEOF
19707if ac_fn_c_try_link "$LINENO"
19708then :
19709  ac_link="$ax_pthread_2step_ac_link"
19710                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19711/* end confdefs.h.  */
19712int main(void){return 0;}
19713_ACEOF
19714if ac_fn_c_try_link "$LINENO"
19715then :
19716  break
19717fi
19718rm -f core conftest.err conftest.$ac_objext conftest.beam \
19719    conftest$ac_exeext conftest.$ac_ext
19720
19721fi
19722rm -f core conftest.err conftest.$ac_objext conftest.beam \
19723    conftest$ac_exeext conftest.$ac_ext
19724             done
19725             ac_link="$ax_pthread_save_ac_link"
19726             CFLAGS="$ax_pthread_save_CFLAGS"
19727             if test "x$ax_pthread_try" = "x"
19728then :
19729  ax_pthread_try=no
19730fi
19731             ax_cv_PTHREAD_CLANG_NO_WARN_FLAG="$ax_pthread_try"
19732
19733fi
19734{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" >&5
19735printf "%s\n" "$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" >&6; }
19736
19737        case "$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" in
19738                no | unknown) ;;
19739                *) PTHREAD_CFLAGS="$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG $PTHREAD_CFLAGS" ;;
19740        esac
19741
19742fi # $ax_pthread_clang = yes
19743
19744if test "x$ax_pthread_ok" = "xno"; then
19745for ax_pthread_try_flag in $ax_pthread_flags; do
19746
19747        case $ax_pthread_try_flag in
19748                none)
19749                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
19750printf %s "checking whether pthreads work without any flags... " >&6; }
19751                ;;
19752
19753                -mt,pthread)
19754                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with -mt -lpthread" >&5
19755printf %s "checking whether pthreads work with -mt -lpthread... " >&6; }
19756                PTHREAD_CFLAGS="-mt"
19757                PTHREAD_LIBS="-lpthread"
19758                ;;
19759
19760                -*)
19761                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $ax_pthread_try_flag" >&5
19762printf %s "checking whether pthreads work with $ax_pthread_try_flag... " >&6; }
19763                PTHREAD_CFLAGS="$ax_pthread_try_flag"
19764                ;;
19765
19766                pthread-config)
19767                # Extract the first word of "pthread-config", so it can be a program name with args.
19768set dummy pthread-config; ac_word=$2
19769{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19770printf %s "checking for $ac_word... " >&6; }
19771if test ${ac_cv_prog_ax_pthread_config+y}
19772then :
19773  printf %s "(cached) " >&6
19774else $as_nop
19775  if test -n "$ax_pthread_config"; then
19776  ac_cv_prog_ax_pthread_config="$ax_pthread_config" # Let the user override the test.
19777else
19778as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19779for as_dir in $PATH
19780do
19781  IFS=$as_save_IFS
19782  case $as_dir in #(((
19783    '') as_dir=./ ;;
19784    */) ;;
19785    *) as_dir=$as_dir/ ;;
19786  esac
19787    for ac_exec_ext in '' $ac_executable_extensions; do
19788  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
19789    ac_cv_prog_ax_pthread_config="yes"
19790    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
19791    break 2
19792  fi
19793done
19794  done
19795IFS=$as_save_IFS
19796
19797  test -z "$ac_cv_prog_ax_pthread_config" && ac_cv_prog_ax_pthread_config="no"
19798fi
19799fi
19800ax_pthread_config=$ac_cv_prog_ax_pthread_config
19801if test -n "$ax_pthread_config"; then
19802  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_config" >&5
19803printf "%s\n" "$ax_pthread_config" >&6; }
19804else
19805  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19806printf "%s\n" "no" >&6; }
19807fi
19808
19809
19810                if test "x$ax_pthread_config" = "xno"
19811then :
19812  continue
19813fi
19814                PTHREAD_CFLAGS="`pthread-config --cflags`"
19815                PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
19816                ;;
19817
19818                *)
19819                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$ax_pthread_try_flag" >&5
19820printf %s "checking for the pthreads library -l$ax_pthread_try_flag... " >&6; }
19821                PTHREAD_LIBS="-l$ax_pthread_try_flag"
19822                ;;
19823        esac
19824
19825        ax_pthread_save_CFLAGS="$CFLAGS"
19826        ax_pthread_save_LIBS="$LIBS"
19827        CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
19828        LIBS="$PTHREAD_LIBS $LIBS"
19829
19830        # Check for various functions.  We must include pthread.h,
19831        # since some functions may be macros.  (On the Sequent, we
19832        # need a special flag -Kthread to make this header compile.)
19833        # We check for pthread_join because it is in -lpthread on IRIX
19834        # while pthread_create is in libc.  We check for pthread_attr_init
19835        # due to DEC craziness with -lpthreads.  We check for
19836        # pthread_cleanup_push because it is one of the few pthread
19837        # functions on Solaris that doesn't have a non-functional libc stub.
19838        # We try pthread_create on general principles.
19839
19840        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19841/* end confdefs.h.  */
19842#include <pthread.h>
19843#                       if $ax_pthread_check_cond
19844#                        error "$ax_pthread_check_macro must be defined"
19845#                       endif
19846                        static void routine(void *a) { a = 0; }
19847                        static void *start_routine(void *a) { return a; }
19848int
19849main (void)
19850{
19851pthread_t th; pthread_attr_t attr;
19852                        pthread_create(&th, 0, start_routine, 0);
19853                        pthread_join(th, 0);
19854                        pthread_attr_init(&attr);
19855                        pthread_cleanup_push(routine, 0);
19856                        pthread_cleanup_pop(0) /* ; */
19857  ;
19858  return 0;
19859}
19860_ACEOF
19861if ac_fn_c_try_link "$LINENO"
19862then :
19863  ax_pthread_ok=yes
19864fi
19865rm -f core conftest.err conftest.$ac_objext conftest.beam \
19866    conftest$ac_exeext conftest.$ac_ext
19867
19868        CFLAGS="$ax_pthread_save_CFLAGS"
19869        LIBS="$ax_pthread_save_LIBS"
19870
19871        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
19872printf "%s\n" "$ax_pthread_ok" >&6; }
19873        if test "x$ax_pthread_ok" = "xyes"
19874then :
19875  break
19876fi
19877
19878        PTHREAD_LIBS=""
19879        PTHREAD_CFLAGS=""
19880done
19881fi
19882
19883# Various other checks:
19884if test "x$ax_pthread_ok" = "xyes"; then
19885        ax_pthread_save_CFLAGS="$CFLAGS"
19886        ax_pthread_save_LIBS="$LIBS"
19887        CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
19888        LIBS="$PTHREAD_LIBS $LIBS"
19889
19890        # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
19891        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
19892printf %s "checking for joinable pthread attribute... " >&6; }
19893if test ${ax_cv_PTHREAD_JOINABLE_ATTR+y}
19894then :
19895  printf %s "(cached) " >&6
19896else $as_nop
19897  ax_cv_PTHREAD_JOINABLE_ATTR=unknown
19898             for ax_pthread_attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
19899                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19900/* end confdefs.h.  */
19901#include <pthread.h>
19902int
19903main (void)
19904{
19905int attr = $ax_pthread_attr; return attr /* ; */
19906  ;
19907  return 0;
19908}
19909_ACEOF
19910if ac_fn_c_try_link "$LINENO"
19911then :
19912  ax_cv_PTHREAD_JOINABLE_ATTR=$ax_pthread_attr; break
19913fi
19914rm -f core conftest.err conftest.$ac_objext conftest.beam \
19915    conftest$ac_exeext conftest.$ac_ext
19916             done
19917
19918fi
19919{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_JOINABLE_ATTR" >&5
19920printf "%s\n" "$ax_cv_PTHREAD_JOINABLE_ATTR" >&6; }
19921        if test "x$ax_cv_PTHREAD_JOINABLE_ATTR" != "xunknown" && \
19922               test "x$ax_cv_PTHREAD_JOINABLE_ATTR" != "xPTHREAD_CREATE_JOINABLE" && \
19923               test "x$ax_pthread_joinable_attr_defined" != "xyes"
19924then :
19925
19926printf "%s\n" "#define PTHREAD_CREATE_JOINABLE $ax_cv_PTHREAD_JOINABLE_ATTR" >>confdefs.h
19927
19928               ax_pthread_joinable_attr_defined=yes
19929
19930fi
19931
19932        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether more special flags are required for pthreads" >&5
19933printf %s "checking whether more special flags are required for pthreads... " >&6; }
19934if test ${ax_cv_PTHREAD_SPECIAL_FLAGS+y}
19935then :
19936  printf %s "(cached) " >&6
19937else $as_nop
19938  ax_cv_PTHREAD_SPECIAL_FLAGS=no
19939             case $host_os in
19940             solaris*)
19941             ax_cv_PTHREAD_SPECIAL_FLAGS="-D_POSIX_PTHREAD_SEMANTICS"
19942             ;;
19943             esac
19944
19945fi
19946{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_SPECIAL_FLAGS" >&5
19947printf "%s\n" "$ax_cv_PTHREAD_SPECIAL_FLAGS" >&6; }
19948        if test "x$ax_cv_PTHREAD_SPECIAL_FLAGS" != "xno" && \
19949               test "x$ax_pthread_special_flags_added" != "xyes"
19950then :
19951  PTHREAD_CFLAGS="$ax_cv_PTHREAD_SPECIAL_FLAGS $PTHREAD_CFLAGS"
19952               ax_pthread_special_flags_added=yes
19953fi
19954
19955        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_PRIO_INHERIT" >&5
19956printf %s "checking for PTHREAD_PRIO_INHERIT... " >&6; }
19957if test ${ax_cv_PTHREAD_PRIO_INHERIT+y}
19958then :
19959  printf %s "(cached) " >&6
19960else $as_nop
19961  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19962/* end confdefs.h.  */
19963#include <pthread.h>
19964int
19965main (void)
19966{
19967int i = PTHREAD_PRIO_INHERIT;
19968  ;
19969  return 0;
19970}
19971_ACEOF
19972if ac_fn_c_try_link "$LINENO"
19973then :
19974  ax_cv_PTHREAD_PRIO_INHERIT=yes
19975else $as_nop
19976  ax_cv_PTHREAD_PRIO_INHERIT=no
19977fi
19978rm -f core conftest.err conftest.$ac_objext conftest.beam \
19979    conftest$ac_exeext conftest.$ac_ext
19980
19981fi
19982{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_PRIO_INHERIT" >&5
19983printf "%s\n" "$ax_cv_PTHREAD_PRIO_INHERIT" >&6; }
19984        if test "x$ax_cv_PTHREAD_PRIO_INHERIT" = "xyes" && \
19985               test "x$ax_pthread_prio_inherit_defined" != "xyes"
19986then :
19987
19988printf "%s\n" "#define HAVE_PTHREAD_PRIO_INHERIT 1" >>confdefs.h
19989
19990               ax_pthread_prio_inherit_defined=yes
19991
19992fi
19993
19994        CFLAGS="$ax_pthread_save_CFLAGS"
19995        LIBS="$ax_pthread_save_LIBS"
19996
19997        # More AIX lossage: compile with *_r variant
19998        if test "x$GCC" != "xyes"; then
19999            case $host_os in
20000                aix*)
20001                case "x/$CC" in #(
20002  x*/c89|x*/c89_128|x*/c99|x*/c99_128|x*/cc|x*/cc128|x*/xlc|x*/xlc_v6|x*/xlc128|x*/xlc128_v6) :
20003    #handle absolute path differently from PATH based program lookup
20004                     case "x$CC" in #(
20005  x/*) :
20006    if as_fn_executable_p ${CC}_r
20007then :
20008  PTHREAD_CC="${CC}_r"
20009fi ;; #(
20010  *) :
20011    for ac_prog in ${CC}_r
20012do
20013  # Extract the first word of "$ac_prog", so it can be a program name with args.
20014set dummy $ac_prog; ac_word=$2
20015{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20016printf %s "checking for $ac_word... " >&6; }
20017if test ${ac_cv_prog_PTHREAD_CC+y}
20018then :
20019  printf %s "(cached) " >&6
20020else $as_nop
20021  if test -n "$PTHREAD_CC"; then
20022  ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
20023else
20024as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20025for as_dir in $PATH
20026do
20027  IFS=$as_save_IFS
20028  case $as_dir in #(((
20029    '') as_dir=./ ;;
20030    */) ;;
20031    *) as_dir=$as_dir/ ;;
20032  esac
20033    for ac_exec_ext in '' $ac_executable_extensions; do
20034  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
20035    ac_cv_prog_PTHREAD_CC="$ac_prog"
20036    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
20037    break 2
20038  fi
20039done
20040  done
20041IFS=$as_save_IFS
20042
20043fi
20044fi
20045PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
20046if test -n "$PTHREAD_CC"; then
20047  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
20048printf "%s\n" "$PTHREAD_CC" >&6; }
20049else
20050  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20051printf "%s\n" "no" >&6; }
20052fi
20053
20054
20055  test -n "$PTHREAD_CC" && break
20056done
20057test -n "$PTHREAD_CC" || PTHREAD_CC="$CC"
20058 ;;
20059esac ;; #(
20060  *) :
20061     ;;
20062esac
20063                ;;
20064            esac
20065        fi
20066fi
20067
20068test -n "$PTHREAD_CC" || PTHREAD_CC="$CC"
20069
20070
20071
20072
20073
20074# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
20075if test "x$ax_pthread_ok" = "xyes"; then
20076        enable_threads="pthread"
20077        :
20078else
20079        ax_pthread_ok=no
20080        enable_threads="no"
20081fi
20082ac_ext=c
20083ac_cpp='$CPP $CPPFLAGS'
20084ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20085ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20086ac_compiler_gnu=$ac_cv_c_compiler_gnu
20087
20088
20089if test $enable_threads != "pthread"; then
20090    as_fn_error $? "unable to find pthreads, currently this is required" "$LINENO" 5
20091else
20092
20093printf "%s\n" "#define HAVE_PTHREAD 1" >>confdefs.h
20094
20095
20096
20097  CCASFLAGS__ax_save_flags=$CCASFLAGS
20098
20099
20100
20101  CFLAGS__ax_save_flags=$CFLAGS
20102
20103
20104
20105  CPPFLAGS__ax_save_flags=$CPPFLAGS
20106
20107
20108
20109  CXXFLAGS__ax_save_flags=$CXXFLAGS
20110
20111
20112
20113  ERLCFLAGS__ax_save_flags=$ERLCFLAGS
20114
20115
20116
20117  FCFLAGS__ax_save_flags=$FCFLAGS
20118
20119
20120
20121  FCLIBS__ax_save_flags=$FCLIBS
20122
20123
20124
20125  FFLAGS__ax_save_flags=$FFLAGS
20126
20127
20128
20129  FLIBS__ax_save_flags=$FLIBS
20130
20131
20132
20133  GCJFLAGS__ax_save_flags=$GCJFLAGS
20134
20135
20136
20137  JAVACFLAGS__ax_save_flags=$JAVACFLAGS
20138
20139
20140
20141  LDFLAGS__ax_save_flags=$LDFLAGS
20142
20143
20144
20145  LIBS__ax_save_flags=$LIBS
20146
20147
20148
20149  OBJCFLAGS__ax_save_flags=$OBJCFLAGS
20150
20151
20152
20153  OBJCXXFLAGS__ax_save_flags=$OBJCXXFLAGS
20154
20155
20156
20157  UPCFLAGS__ax_save_flags=$UPCFLAGS
20158
20159
20160
20161  VALAFLAGS__ax_save_flags=$VALAFLAGS
20162
20163
20164
20165    LIBS="$PTHREAD_LIBS $LIBS"
20166    CFLAGS="$PTHREAD_CFLAGS $CFLAGS"
20167    ac_fn_c_check_func "$LINENO" "pthread_rwlock_init" "ac_cv_func_pthread_rwlock_init"
20168if test "x$ac_cv_func_pthread_rwlock_init" = xyes
20169then :
20170  printf "%s\n" "#define HAVE_PTHREAD_RWLOCK_INIT 1" >>confdefs.h
20171
20172fi
20173
20174
20175  CCASFLAGS=$CCASFLAGS__ax_save_flags
20176
20177
20178  CFLAGS=$CFLAGS__ax_save_flags
20179
20180
20181  CPPFLAGS=$CPPFLAGS__ax_save_flags
20182
20183
20184  CXXFLAGS=$CXXFLAGS__ax_save_flags
20185
20186
20187  ERLCFLAGS=$ERLCFLAGS__ax_save_flags
20188
20189
20190  FCFLAGS=$FCFLAGS__ax_save_flags
20191
20192
20193  FCLIBS=$FCLIBS__ax_save_flags
20194
20195
20196  FFLAGS=$FFLAGS__ax_save_flags
20197
20198
20199  FLIBS=$FLIBS__ax_save_flags
20200
20201
20202  GCJFLAGS=$GCJFLAGS__ax_save_flags
20203
20204
20205  JAVACFLAGS=$JAVACFLAGS__ax_save_flags
20206
20207
20208  LDFLAGS=$LDFLAGS__ax_save_flags
20209
20210
20211  LIBS=$LIBS__ax_save_flags
20212
20213
20214  OBJCFLAGS=$OBJCFLAGS__ax_save_flags
20215
20216
20217  OBJCXXFLAGS=$OBJCXXFLAGS__ax_save_flags
20218
20219
20220  UPCFLAGS=$UPCFLAGS__ax_save_flags
20221
20222
20223  VALAFLAGS=$VALAFLAGS__ax_save_flags
20224
20225
20226
20227fi
20228
20229 if test "$enable_threads" = "pthread"; then
20230  BUILD_PTHREAD_TRUE=
20231  BUILD_PTHREAD_FALSE='#'
20232else
20233  BUILD_PTHREAD_TRUE='#'
20234  BUILD_PTHREAD_FALSE=
20235fi
20236
20237
20238ac_ext=cpp
20239ac_cpp='$CXXCPP $CPPFLAGS'
20240ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20241ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20242ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20243
20244
20245# C++ requirements
20246{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler implements namespaces" >&5
20247printf %s "checking whether the compiler implements namespaces... " >&6; }
20248if test ${ac_cv_cxx_namespaces+y}
20249then :
20250  printf %s "(cached) " >&6
20251else $as_nop
20252
20253 ac_ext=cpp
20254ac_cpp='$CXXCPP $CPPFLAGS'
20255ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20256ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20257ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20258
20259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20260/* end confdefs.h.  */
20261namespace Outer { namespace Inner { int i = 0; }}
20262int
20263main (void)
20264{
20265using namespace Outer::Inner; return i;
20266  ;
20267  return 0;
20268}
20269_ACEOF
20270if ac_fn_cxx_try_compile "$LINENO"
20271then :
20272  ac_cv_cxx_namespaces=yes
20273else $as_nop
20274  ac_cv_cxx_namespaces=no
20275fi
20276rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20277 ac_ext=cpp
20278ac_cpp='$CXXCPP $CPPFLAGS'
20279ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20280ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20281ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20282
20283
20284fi
20285{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_namespaces" >&5
20286printf "%s\n" "$ac_cv_cxx_namespaces" >&6; }
20287if test "$ac_cv_cxx_namespaces" = yes; then
20288
20289printf "%s\n" "#define HAVE_NAMESPACES 1" >>confdefs.h
20290
20291fi
20292
20293{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports Standard Template Library" >&5
20294printf %s "checking whether the compiler supports Standard Template Library... " >&6; }
20295if test ${ac_cv_cxx_have_stl+y}
20296then :
20297  printf %s "(cached) " >&6
20298else $as_nop
20299
20300 ac_ext=cpp
20301ac_cpp='$CXXCPP $CPPFLAGS'
20302ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20303ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20304ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20305
20306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20307/* end confdefs.h.  */
20308#include <list>
20309#include <deque>
20310#ifdef HAVE_NAMESPACES
20311using namespace std;
20312#endif
20313int
20314main (void)
20315{
20316list<int> x; x.push_back(5);
20317list<int>::iterator iter = x.begin(); if (iter != x.end()) ++iter; return 0;
20318  ;
20319  return 0;
20320}
20321_ACEOF
20322if ac_fn_cxx_try_compile "$LINENO"
20323then :
20324  ac_cv_cxx_have_stl=yes
20325else $as_nop
20326  ac_cv_cxx_have_stl=no
20327fi
20328rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20329 ac_ext=cpp
20330ac_cpp='$CXXCPP $CPPFLAGS'
20331ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20332ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20333ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20334
20335
20336fi
20337{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_have_stl" >&5
20338printf "%s\n" "$ac_cv_cxx_have_stl" >&6; }
20339if test "x_$ac_cv_cxx_have_stl" != x_yes; then
20340  as_fn_error $? "C++ Standard Template Libary unsupported" "$LINENO" 5
20341fi
20342
20343
20344# Boost
20345
20346echo "$as_me: this is boost.m4 serial 24" >&5
20347boost_save_IFS=$IFS
20348boost_version_req=
20349IFS=.
20350set x $boost_version_req 0 0 0
20351IFS=$boost_save_IFS
20352shift
20353boost_version_req=`expr "$1" '*' 100000 + "$2" '*' 100 + "$3"`
20354boost_version_req_string=$1.$2.$3
20355
20356# Check whether --with-boost was given.
20357if test ${with_boost+y}
20358then :
20359  withval=$with_boost;
20360fi
20361# If BOOST_ROOT is set and the user has not provided a value to
20362# --with-boost, then treat BOOST_ROOT as if it the user supplied it.
20363if test x"$BOOST_ROOT" != x; then
20364  if test x"$with_boost" = x; then
20365    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Detected BOOST_ROOT; continuing with --with-boost=$BOOST_ROOT" >&5
20366printf "%s\n" "$as_me: Detected BOOST_ROOT; continuing with --with-boost=$BOOST_ROOT" >&6;}
20367    with_boost=$BOOST_ROOT
20368  else
20369    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Detected BOOST_ROOT=$BOOST_ROOT, but overridden by --with-boost=$with_boost" >&5
20370printf "%s\n" "$as_me: Detected BOOST_ROOT=$BOOST_ROOT, but overridden by --with-boost=$with_boost" >&6;}
20371  fi
20372fi
20373DISTCHECK_CONFIGURE_FLAGS="$DISTCHECK_CONFIGURE_FLAGS '--with-boost=$with_boost'"
20374boost_save_CPPFLAGS=$CPPFLAGS
20375  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Boost headers version >= $boost_version_req_string" >&5
20376printf %s "checking for Boost headers version >= $boost_version_req_string... " >&6; }
20377if test ${boost_cv_inc_path+y}
20378then :
20379  printf %s "(cached) " >&6
20380else $as_nop
20381  boost_cv_inc_path=no
20382ac_ext=cpp
20383ac_cpp='$CXXCPP $CPPFLAGS'
20384ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20385ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20386ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20387    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20388/* end confdefs.h.  */
20389#include <boost/version.hpp>
20390#if !defined BOOST_VERSION
20391# error BOOST_VERSION is not defined
20392#elif BOOST_VERSION < $boost_version_req
20393# error Boost headers version < $boost_version_req
20394#endif
20395
20396int
20397main (void)
20398{
20399
20400  ;
20401  return 0;
20402}
20403_ACEOF
20404    # If the user provided a value to --with-boost, use it and only it.
20405    case $with_boost in #(
20406      ''|yes) set x '' /opt/local/include /usr/local/include /opt/include \
20407                 /usr/include C:/Boost/include;; #(
20408      *)      set x "$with_boost/include" "$with_boost";;
20409    esac
20410    shift
20411    for boost_dir
20412    do
20413    # Without --layout=system, Boost (or at least some versions) installs
20414    # itself in <prefix>/include/boost-<version>.  This inner loop helps to
20415    # find headers in such directories.
20416    #
20417    # Any ${boost_dir}/boost-x_xx directories are searched in reverse version
20418    # order followed by ${boost_dir}.  The final '.' is a sentinel for
20419    # searching $boost_dir" itself.  Entries are whitespace separated.
20420    #
20421    # I didn't indent this loop on purpose (to avoid over-indented code)
20422    boost_layout_system_search_list=`cd "$boost_dir" 2>/dev/null \
20423        && ls -1 | "${GREP}" '^boost-' | sort -rn -t- -k2 \
20424        && echo .`
20425    for boost_inc in $boost_layout_system_search_list
20426    do
20427      if test x"$boost_inc" != x.; then
20428        boost_inc="$boost_dir/$boost_inc"
20429      else
20430        boost_inc="$boost_dir" # Uses sentinel in boost_layout_system_search_list
20431      fi
20432      if test x"$boost_inc" != x; then
20433        # We are going to check whether the version of Boost installed
20434        # in $boost_inc is usable by running a compilation that
20435        # #includes it.  But if we pass a -I/some/path in which Boost
20436        # is not installed, the compiler will just skip this -I and
20437        # use other locations (either from CPPFLAGS, or from its list
20438        # of system include directories).  As a result we would use
20439        # header installed on the machine instead of the /some/path
20440        # specified by the user.  So in that precise case (trying
20441        # $boost_inc), make sure the version.hpp exists.
20442        #
20443        # Use test -e as there can be symlinks.
20444        test -e "$boost_inc/boost/version.hpp" || continue
20445        CPPFLAGS="$CPPFLAGS -I$boost_inc"
20446      fi
20447      if ac_fn_cxx_try_compile "$LINENO"
20448then :
20449  boost_cv_inc_path=yes
20450else $as_nop
20451  boost_cv_version=no
20452fi
20453rm -f core conftest.err conftest.$ac_objext conftest.beam
20454      if test x"$boost_cv_inc_path" = xyes; then
20455        if test x"$boost_inc" != x; then
20456          boost_cv_inc_path=$boost_inc
20457        fi
20458        break 2
20459      fi
20460    done
20461    done
20462ac_ext=cpp
20463ac_cpp='$CXXCPP $CPPFLAGS'
20464ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20465ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20466ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20467
20468fi
20469{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $boost_cv_inc_path" >&5
20470printf "%s\n" "$boost_cv_inc_path" >&6; }
20471    case $boost_cv_inc_path in #(
20472      no)
20473        boost_errmsg="cannot find Boost headers version >= $boost_version_req_string"
20474        as_fn_error $? "$boost_errmsg" "$LINENO" 5
20475
20476        ;;#(
20477      yes)
20478        BOOST_CPPFLAGS=
20479        ;;#(
20480      *)
20481        BOOST_CPPFLAGS="-I$boost_cv_inc_path"
20482        ;;
20483    esac
20484  if test x"$boost_cv_inc_path" != xno; then
20485
20486printf "%s\n" "#define HAVE_BOOST 1" >>confdefs.h
20487
20488  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Boost's header version" >&5
20489printf %s "checking for Boost's header version... " >&6; }
20490if test ${boost_cv_lib_version+y}
20491then :
20492  printf %s "(cached) " >&6
20493else $as_nop
20494       ac_ext=cpp
20495ac_cpp='$CXXCPP $CPPFLAGS'
20496ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20497ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20498ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20499cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20500/* end confdefs.h.  */
20501#include <boost/version.hpp>
20502boost_lib_version = BOOST_LIB_VERSION
20503_ACEOF
20504if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20505  grep -v '#' |
20506  tr -d '\r' |
20507  tr -s '\n' ' ' |
20508  $SED -n -e "/^boost_lib_version = /{s///;s/[\" ]//g;p;q;}" >conftest.i 2>&1
20509then :
20510  boost_cv_lib_version=`cat conftest.i`
20511fi
20512rm -rf conftest*
20513ac_ext=cpp
20514ac_cpp='$CXXCPP $CPPFLAGS'
20515ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20516ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20517ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20518
20519fi
20520{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $boost_cv_lib_version" >&5
20521printf "%s\n" "$boost_cv_lib_version" >&6; }
20522    # e.g. "134" for 1_34_1 or "135" for 1_35
20523    boost_major_version=`echo "$boost_cv_lib_version" | sed 's/_//;s/_.*//'`
20524    case $boost_major_version in #(
20525      '' | *[!0-9]*)
20526        as_fn_error $? "invalid value: boost_major_version='$boost_major_version'" "$LINENO" 5
20527        ;;
20528    esac
20529fi
20530CPPFLAGS=$boost_save_CPPFLAGS
20531
20532if test x"$boost_cv_inc_path" = xno; then
20533  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Boost not available, not searching for boost/bind.hpp" >&5
20534printf "%s\n" "$as_me: Boost not available, not searching for boost/bind.hpp" >&6;}
20535else
20536ac_ext=cpp
20537ac_cpp='$CXXCPP $CPPFLAGS'
20538ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20539ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20540ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20541boost_save_CPPFLAGS=$CPPFLAGS
20542CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
20543ac_fn_cxx_check_header_compile "$LINENO" "boost/bind.hpp" "ac_cv_header_boost_bind_hpp" "$ac_includes_default"
20544if test "x$ac_cv_header_boost_bind_hpp" = xyes
20545then :
20546
20547printf "%s\n" "#define HAVE_BOOST_BIND_HPP 1" >>confdefs.h
20548
20549else $as_nop
20550  as_fn_error $? "cannot find boost/bind.hpp" "$LINENO" 5
20551fi
20552
20553CPPFLAGS=$boost_save_CPPFLAGS
20554ac_ext=cpp
20555ac_cpp='$CXXCPP $CPPFLAGS'
20556ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20557ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20558ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20559fi
20560
20561
20562if test x"$boost_cv_inc_path" = xno; then
20563  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Boost not available, not searching for boost/cast.hpp" >&5
20564printf "%s\n" "$as_me: Boost not available, not searching for boost/cast.hpp" >&6;}
20565else
20566ac_ext=cpp
20567ac_cpp='$CXXCPP $CPPFLAGS'
20568ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20569ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20570ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20571boost_save_CPPFLAGS=$CPPFLAGS
20572CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
20573ac_fn_cxx_check_header_compile "$LINENO" "boost/cast.hpp" "ac_cv_header_boost_cast_hpp" "$ac_includes_default"
20574if test "x$ac_cv_header_boost_cast_hpp" = xyes
20575then :
20576
20577printf "%s\n" "#define HAVE_BOOST_CAST_HPP 1" >>confdefs.h
20578
20579else $as_nop
20580  as_fn_error $? "cannot find boost/cast.hpp" "$LINENO" 5
20581fi
20582
20583CPPFLAGS=$boost_save_CPPFLAGS
20584ac_ext=cpp
20585ac_cpp='$CXXCPP $CPPFLAGS'
20586ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20587ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20588ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20589fi
20590
20591if test x"$boost_cv_inc_path" = xno; then
20592  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Boost not available, not searching for boost/lexical_cast.hpp" >&5
20593printf "%s\n" "$as_me: Boost not available, not searching for boost/lexical_cast.hpp" >&6;}
20594else
20595ac_ext=cpp
20596ac_cpp='$CXXCPP $CPPFLAGS'
20597ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20598ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20599ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20600boost_save_CPPFLAGS=$CPPFLAGS
20601CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
20602ac_fn_cxx_check_header_compile "$LINENO" "boost/lexical_cast.hpp" "ac_cv_header_boost_lexical_cast_hpp" "$ac_includes_default"
20603if test "x$ac_cv_header_boost_lexical_cast_hpp" = xyes
20604then :
20605
20606printf "%s\n" "#define HAVE_BOOST_LEXICAL_CAST_HPP 1" >>confdefs.h
20607
20608else $as_nop
20609  as_fn_error $? "cannot find boost/lexical_cast.hpp" "$LINENO" 5
20610fi
20611
20612CPPFLAGS=$boost_save_CPPFLAGS
20613ac_ext=cpp
20614ac_cpp='$CXXCPP $CPPFLAGS'
20615ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20616ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20617ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20618fi
20619
20620
20621
20622if test x"$boost_cv_inc_path" = xno; then
20623  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Boost not available, not searching for boost/lambda/lambda.hpp" >&5
20624printf "%s\n" "$as_me: Boost not available, not searching for boost/lambda/lambda.hpp" >&6;}
20625else
20626ac_ext=cpp
20627ac_cpp='$CXXCPP $CPPFLAGS'
20628ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20629ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20630ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20631boost_save_CPPFLAGS=$CPPFLAGS
20632CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
20633ac_fn_cxx_check_header_compile "$LINENO" "boost/lambda/lambda.hpp" "ac_cv_header_boost_lambda_lambda_hpp" "$ac_includes_default"
20634if test "x$ac_cv_header_boost_lambda_lambda_hpp" = xyes
20635then :
20636
20637printf "%s\n" "#define HAVE_BOOST_LAMBDA_LAMBDA_HPP 1" >>confdefs.h
20638
20639else $as_nop
20640  as_fn_error $? "cannot find boost/lambda/lambda.hpp" "$LINENO" 5
20641fi
20642
20643CPPFLAGS=$boost_save_CPPFLAGS
20644ac_ext=cpp
20645ac_cpp='$CXXCPP $CPPFLAGS'
20646ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20647ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20648ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20649fi
20650
20651
20652if test x"$boost_cv_inc_path" = xno; then
20653  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Boost not available, not searching for boost/ptr_container/ptr_deque.hpp" >&5
20654printf "%s\n" "$as_me: Boost not available, not searching for boost/ptr_container/ptr_deque.hpp" >&6;}
20655else
20656ac_ext=cpp
20657ac_cpp='$CXXCPP $CPPFLAGS'
20658ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20659ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20660ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20661boost_save_CPPFLAGS=$CPPFLAGS
20662CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
20663ac_fn_cxx_check_header_compile "$LINENO" "boost/ptr_container/ptr_deque.hpp" "ac_cv_header_boost_ptr_container_ptr_deque_hpp" "$ac_includes_default"
20664if test "x$ac_cv_header_boost_ptr_container_ptr_deque_hpp" = xyes
20665then :
20666
20667printf "%s\n" "#define HAVE_BOOST_PTR_CONTAINER_PTR_DEQUE_HPP 1" >>confdefs.h
20668
20669else $as_nop
20670  as_fn_error $? "cannot find boost/ptr_container/ptr_deque.hpp" "$LINENO" 5
20671fi
20672
20673CPPFLAGS=$boost_save_CPPFLAGS
20674ac_ext=cpp
20675ac_cpp='$CXXCPP $CPPFLAGS'
20676ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20677ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20678ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20679fi
20680
20681if test x"$boost_cv_inc_path" = xno; then
20682  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Boost not available, not searching for boost/ptr_container/ptr_list.hpp" >&5
20683printf "%s\n" "$as_me: Boost not available, not searching for boost/ptr_container/ptr_list.hpp" >&6;}
20684else
20685ac_ext=cpp
20686ac_cpp='$CXXCPP $CPPFLAGS'
20687ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20688ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20689ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20690boost_save_CPPFLAGS=$CPPFLAGS
20691CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
20692ac_fn_cxx_check_header_compile "$LINENO" "boost/ptr_container/ptr_list.hpp" "ac_cv_header_boost_ptr_container_ptr_list_hpp" "$ac_includes_default"
20693if test "x$ac_cv_header_boost_ptr_container_ptr_list_hpp" = xyes
20694then :
20695
20696printf "%s\n" "#define HAVE_BOOST_PTR_CONTAINER_PTR_LIST_HPP 1" >>confdefs.h
20697
20698else $as_nop
20699  as_fn_error $? "cannot find boost/ptr_container/ptr_list.hpp" "$LINENO" 5
20700fi
20701
20702CPPFLAGS=$boost_save_CPPFLAGS
20703ac_ext=cpp
20704ac_cpp='$CXXCPP $CPPFLAGS'
20705ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20706ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20707ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20708fi
20709
20710if test x"$boost_cv_inc_path" = xno; then
20711  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Boost not available, not searching for boost/ptr_container/ptr_vector.hpp" >&5
20712printf "%s\n" "$as_me: Boost not available, not searching for boost/ptr_container/ptr_vector.hpp" >&6;}
20713else
20714ac_ext=cpp
20715ac_cpp='$CXXCPP $CPPFLAGS'
20716ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20717ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20718ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20719boost_save_CPPFLAGS=$CPPFLAGS
20720CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
20721ac_fn_cxx_check_header_compile "$LINENO" "boost/ptr_container/ptr_vector.hpp" "ac_cv_header_boost_ptr_container_ptr_vector_hpp" "$ac_includes_default"
20722if test "x$ac_cv_header_boost_ptr_container_ptr_vector_hpp" = xyes
20723then :
20724
20725printf "%s\n" "#define HAVE_BOOST_PTR_CONTAINER_PTR_VECTOR_HPP 1" >>confdefs.h
20726
20727else $as_nop
20728  as_fn_error $? "cannot find boost/ptr_container/ptr_vector.hpp" "$LINENO" 5
20729fi
20730
20731CPPFLAGS=$boost_save_CPPFLAGS
20732ac_ext=cpp
20733ac_cpp='$CXXCPP $CPPFLAGS'
20734ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20735ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20736ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20737fi
20738
20739if test x"$boost_cv_inc_path" = xno; then
20740  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Boost not available, not searching for boost/ptr_container/ptr_array.hpp" >&5
20741printf "%s\n" "$as_me: Boost not available, not searching for boost/ptr_container/ptr_array.hpp" >&6;}
20742else
20743ac_ext=cpp
20744ac_cpp='$CXXCPP $CPPFLAGS'
20745ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20746ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20747ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20748boost_save_CPPFLAGS=$CPPFLAGS
20749CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
20750ac_fn_cxx_check_header_compile "$LINENO" "boost/ptr_container/ptr_array.hpp" "ac_cv_header_boost_ptr_container_ptr_array_hpp" "$ac_includes_default"
20751if test "x$ac_cv_header_boost_ptr_container_ptr_array_hpp" = xyes
20752then :
20753
20754printf "%s\n" "#define HAVE_BOOST_PTR_CONTAINER_PTR_ARRAY_HPP 1" >>confdefs.h
20755
20756else $as_nop
20757  as_fn_error $? "cannot find boost/ptr_container/ptr_array.hpp" "$LINENO" 5
20758fi
20759
20760CPPFLAGS=$boost_save_CPPFLAGS
20761ac_ext=cpp
20762ac_cpp='$CXXCPP $CPPFLAGS'
20763ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20764ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20765ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20766fi
20767
20768if test x"$boost_cv_inc_path" = xno; then
20769  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Boost not available, not searching for boost/ptr_container/ptr_set.hpp" >&5
20770printf "%s\n" "$as_me: Boost not available, not searching for boost/ptr_container/ptr_set.hpp" >&6;}
20771else
20772ac_ext=cpp
20773ac_cpp='$CXXCPP $CPPFLAGS'
20774ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20775ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20776ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20777boost_save_CPPFLAGS=$CPPFLAGS
20778CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
20779ac_fn_cxx_check_header_compile "$LINENO" "boost/ptr_container/ptr_set.hpp" "ac_cv_header_boost_ptr_container_ptr_set_hpp" "$ac_includes_default"
20780if test "x$ac_cv_header_boost_ptr_container_ptr_set_hpp" = xyes
20781then :
20782
20783printf "%s\n" "#define HAVE_BOOST_PTR_CONTAINER_PTR_SET_HPP 1" >>confdefs.h
20784
20785else $as_nop
20786  as_fn_error $? "cannot find boost/ptr_container/ptr_set.hpp" "$LINENO" 5
20787fi
20788
20789CPPFLAGS=$boost_save_CPPFLAGS
20790ac_ext=cpp
20791ac_cpp='$CXXCPP $CPPFLAGS'
20792ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20793ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20794ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20795fi
20796
20797if test x"$boost_cv_inc_path" = xno; then
20798  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Boost not available, not searching for boost/ptr_container/ptr_map.hpp" >&5
20799printf "%s\n" "$as_me: Boost not available, not searching for boost/ptr_container/ptr_map.hpp" >&6;}
20800else
20801ac_ext=cpp
20802ac_cpp='$CXXCPP $CPPFLAGS'
20803ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20804ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20805ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20806boost_save_CPPFLAGS=$CPPFLAGS
20807CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
20808ac_fn_cxx_check_header_compile "$LINENO" "boost/ptr_container/ptr_map.hpp" "ac_cv_header_boost_ptr_container_ptr_map_hpp" "$ac_includes_default"
20809if test "x$ac_cv_header_boost_ptr_container_ptr_map_hpp" = xyes
20810then :
20811
20812printf "%s\n" "#define HAVE_BOOST_PTR_CONTAINER_PTR_MAP_HPP 1" >>confdefs.h
20813
20814else $as_nop
20815  as_fn_error $? "cannot find boost/ptr_container/ptr_map.hpp" "$LINENO" 5
20816fi
20817
20818CPPFLAGS=$boost_save_CPPFLAGS
20819ac_ext=cpp
20820ac_cpp='$CXXCPP $CPPFLAGS'
20821ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20822ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20823ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20824fi
20825
20826
20827
20828if test x"$boost_cv_inc_path" = xno; then
20829  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Boost not available, not searching for boost/scoped_ptr.hpp" >&5
20830printf "%s\n" "$as_me: Boost not available, not searching for boost/scoped_ptr.hpp" >&6;}
20831else
20832ac_ext=cpp
20833ac_cpp='$CXXCPP $CPPFLAGS'
20834ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20835ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20836ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20837boost_save_CPPFLAGS=$CPPFLAGS
20838CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
20839ac_fn_cxx_check_header_compile "$LINENO" "boost/scoped_ptr.hpp" "ac_cv_header_boost_scoped_ptr_hpp" "$ac_includes_default"
20840if test "x$ac_cv_header_boost_scoped_ptr_hpp" = xyes
20841then :
20842
20843printf "%s\n" "#define HAVE_BOOST_SCOPED_PTR_HPP 1" >>confdefs.h
20844
20845else $as_nop
20846  as_fn_error $? "cannot find boost/scoped_ptr.hpp" "$LINENO" 5
20847fi
20848
20849CPPFLAGS=$boost_save_CPPFLAGS
20850ac_ext=cpp
20851ac_cpp='$CXXCPP $CPPFLAGS'
20852ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20853ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20854ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20855fi
20856
20857if test x"$boost_cv_inc_path" = xno; then
20858  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Boost not available, not searching for boost/shared_ptr.hpp" >&5
20859printf "%s\n" "$as_me: Boost not available, not searching for boost/shared_ptr.hpp" >&6;}
20860else
20861ac_ext=cpp
20862ac_cpp='$CXXCPP $CPPFLAGS'
20863ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20864ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20865ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20866boost_save_CPPFLAGS=$CPPFLAGS
20867CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
20868ac_fn_cxx_check_header_compile "$LINENO" "boost/shared_ptr.hpp" "ac_cv_header_boost_shared_ptr_hpp" "$ac_includes_default"
20869if test "x$ac_cv_header_boost_shared_ptr_hpp" = xyes
20870then :
20871
20872printf "%s\n" "#define HAVE_BOOST_SHARED_PTR_HPP 1" >>confdefs.h
20873
20874else $as_nop
20875  as_fn_error $? "cannot find boost/shared_ptr.hpp" "$LINENO" 5
20876fi
20877
20878CPPFLAGS=$boost_save_CPPFLAGS
20879ac_ext=cpp
20880ac_cpp='$CXXCPP $CPPFLAGS'
20881ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20882ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20883ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20884fi
20885
20886
20887
20888if test x"$boost_cv_inc_path" = xno; then
20889  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Boost not available, not searching for boost/algorithm/string.hpp" >&5
20890printf "%s\n" "$as_me: Boost not available, not searching for boost/algorithm/string.hpp" >&6;}
20891else
20892ac_ext=cpp
20893ac_cpp='$CXXCPP $CPPFLAGS'
20894ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20895ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20896ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20897boost_save_CPPFLAGS=$CPPFLAGS
20898CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
20899ac_fn_cxx_check_header_compile "$LINENO" "boost/algorithm/string.hpp" "ac_cv_header_boost_algorithm_string_hpp" "$ac_includes_default"
20900if test "x$ac_cv_header_boost_algorithm_string_hpp" = xyes
20901then :
20902
20903printf "%s\n" "#define HAVE_BOOST_ALGORITHM_STRING_HPP 1" >>confdefs.h
20904
20905else $as_nop
20906  as_fn_error $? "cannot find boost/algorithm/string.hpp" "$LINENO" 5
20907fi
20908
20909CPPFLAGS=$boost_save_CPPFLAGS
20910ac_ext=cpp
20911ac_cpp='$CXXCPP $CPPFLAGS'
20912ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20913ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20914ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20915fi
20916
20917
20918
20919if test x"$boost_cv_inc_path" = xno; then
20920  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Boost not available, not searching for boost/tokenizer.hpp" >&5
20921printf "%s\n" "$as_me: Boost not available, not searching for boost/tokenizer.hpp" >&6;}
20922else
20923ac_ext=cpp
20924ac_cpp='$CXXCPP $CPPFLAGS'
20925ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20926ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20927ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20928boost_save_CPPFLAGS=$CPPFLAGS
20929CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
20930ac_fn_cxx_check_header_compile "$LINENO" "boost/tokenizer.hpp" "ac_cv_header_boost_tokenizer_hpp" "$ac_includes_default"
20931if test "x$ac_cv_header_boost_tokenizer_hpp" = xyes
20932then :
20933
20934printf "%s\n" "#define HAVE_BOOST_TOKENIZER_HPP 1" >>confdefs.h
20935
20936else $as_nop
20937  as_fn_error $? "cannot find boost/tokenizer.hpp" "$LINENO" 5
20938fi
20939
20940CPPFLAGS=$boost_save_CPPFLAGS
20941ac_ext=cpp
20942ac_cpp='$CXXCPP $CPPFLAGS'
20943ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20944ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20945ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20946fi
20947
20948
20949
20950# are covariant methods allowed?
20951cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20952/* end confdefs.h.  */
20953
20954int
20955main (void)
20956{
20957
20958        class base { public: virtual base *GetPtr( void ) { return this; } };
20959        class derived: virtual public base { public: virtual derived *GetPtr( void ) { return this; } };
20960
20961  ;
20962  return 0;
20963}
20964_ACEOF
20965if ac_fn_cxx_try_link "$LINENO"
20966then :
20967
20968printf "%s\n" "#define HAVE_COVARIANT_RETURNS 1" >>confdefs.h
20969
20970fi
20971rm -f core conftest.err conftest.$ac_objext conftest.beam \
20972    conftest$ac_exeext conftest.$ac_ext
20973
20974# is nullptr supported?
20975cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20976/* end confdefs.h.  */
20977#include <cstddef>
20978int
20979main (void)
20980{
20981const char* ptr = nullptr;
20982  ;
20983  return 0;
20984}
20985_ACEOF
20986if ac_fn_cxx_try_compile "$LINENO"
20987then :
20988
20989printf "%s\n" "#define HAVE_NULLPTR 1" >>confdefs.h
20990
20991fi
20992rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20993
20994
20995
20996
20997
20998
20999
21000
21001if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
21002	if test -n "$ac_tool_prefix"; then
21003  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
21004set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
21005{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21006printf %s "checking for $ac_word... " >&6; }
21007if test ${ac_cv_path_PKG_CONFIG+y}
21008then :
21009  printf %s "(cached) " >&6
21010else $as_nop
21011  case $PKG_CONFIG in
21012  [\\/]* | ?:[\\/]*)
21013  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
21014  ;;
21015  *)
21016  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21017for as_dir in $PATH
21018do
21019  IFS=$as_save_IFS
21020  case $as_dir in #(((
21021    '') as_dir=./ ;;
21022    */) ;;
21023    *) as_dir=$as_dir/ ;;
21024  esac
21025    for ac_exec_ext in '' $ac_executable_extensions; do
21026  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
21027    ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
21028    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
21029    break 2
21030  fi
21031done
21032  done
21033IFS=$as_save_IFS
21034
21035  ;;
21036esac
21037fi
21038PKG_CONFIG=$ac_cv_path_PKG_CONFIG
21039if test -n "$PKG_CONFIG"; then
21040  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
21041printf "%s\n" "$PKG_CONFIG" >&6; }
21042else
21043  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21044printf "%s\n" "no" >&6; }
21045fi
21046
21047
21048fi
21049if test -z "$ac_cv_path_PKG_CONFIG"; then
21050  ac_pt_PKG_CONFIG=$PKG_CONFIG
21051  # Extract the first word of "pkg-config", so it can be a program name with args.
21052set dummy pkg-config; ac_word=$2
21053{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21054printf %s "checking for $ac_word... " >&6; }
21055if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
21056then :
21057  printf %s "(cached) " >&6
21058else $as_nop
21059  case $ac_pt_PKG_CONFIG in
21060  [\\/]* | ?:[\\/]*)
21061  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
21062  ;;
21063  *)
21064  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21065for as_dir in $PATH
21066do
21067  IFS=$as_save_IFS
21068  case $as_dir in #(((
21069    '') as_dir=./ ;;
21070    */) ;;
21071    *) as_dir=$as_dir/ ;;
21072  esac
21073    for ac_exec_ext in '' $ac_executable_extensions; do
21074  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
21075    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
21076    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
21077    break 2
21078  fi
21079done
21080  done
21081IFS=$as_save_IFS
21082
21083  ;;
21084esac
21085fi
21086ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
21087if test -n "$ac_pt_PKG_CONFIG"; then
21088  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
21089printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
21090else
21091  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21092printf "%s\n" "no" >&6; }
21093fi
21094
21095  if test "x$ac_pt_PKG_CONFIG" = x; then
21096    PKG_CONFIG=""
21097  else
21098    case $cross_compiling:$ac_tool_warned in
21099yes:)
21100{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
21101printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21102ac_tool_warned=yes ;;
21103esac
21104    PKG_CONFIG=$ac_pt_PKG_CONFIG
21105  fi
21106else
21107  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
21108fi
21109
21110fi
21111if test -n "$PKG_CONFIG"; then
21112	_pkg_min_version=0.9.0
21113	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
21114printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
21115	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
21116		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21117printf "%s\n" "yes" >&6; }
21118	else
21119		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21120printf "%s\n" "no" >&6; }
21121		PKG_CONFIG=""
21122	fi
21123fi
21124
21125
21126
21127
21128
21129pkg_failed=no
21130{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for  log4shib" >&5
21131printf %s "checking for  log4shib... " >&6; }
21132
21133if test -n "$log4shib_CFLAGS"; then
21134    pkg_cv_log4shib_CFLAGS="$log4shib_CFLAGS"
21135 elif test -n "$PKG_CONFIG"; then
21136    if test -n "$PKG_CONFIG" && \
21137    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" log4shib\""; } >&5
21138  ($PKG_CONFIG --exists --print-errors " log4shib") 2>&5
21139  ac_status=$?
21140  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21141  test $ac_status = 0; }; then
21142  pkg_cv_log4shib_CFLAGS=`$PKG_CONFIG --cflags " log4shib" 2>/dev/null`
21143		      test "x$?" != "x0" && pkg_failed=yes
21144else
21145  pkg_failed=yes
21146fi
21147 else
21148    pkg_failed=untried
21149fi
21150if test -n "$log4shib_LIBS"; then
21151    pkg_cv_log4shib_LIBS="$log4shib_LIBS"
21152 elif test -n "$PKG_CONFIG"; then
21153    if test -n "$PKG_CONFIG" && \
21154    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" log4shib\""; } >&5
21155  ($PKG_CONFIG --exists --print-errors " log4shib") 2>&5
21156  ac_status=$?
21157  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21158  test $ac_status = 0; }; then
21159  pkg_cv_log4shib_LIBS=`$PKG_CONFIG --libs " log4shib" 2>/dev/null`
21160		      test "x$?" != "x0" && pkg_failed=yes
21161else
21162  pkg_failed=yes
21163fi
21164 else
21165    pkg_failed=untried
21166fi
21167
21168
21169
21170if test $pkg_failed = yes; then
21171        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21172printf "%s\n" "no" >&6; }
21173
21174if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21175        _pkg_short_errors_supported=yes
21176else
21177        _pkg_short_errors_supported=no
21178fi
21179        if test $_pkg_short_errors_supported = yes; then
21180	        log4shib_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs " log4shib" 2>&1`
21181        else
21182	        log4shib_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs " log4shib" 2>&1`
21183        fi
21184	# Put the nasty error message in config.log where it belongs
21185	echo "$log4shib_PKG_ERRORS" >&5
21186
21187
21188
21189
21190
21191
21192pkg_failed=no
21193{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for  log4cpp >= 1" >&5
21194printf %s "checking for  log4cpp >= 1... " >&6; }
21195
21196if test -n "$log4cpp_CFLAGS"; then
21197    pkg_cv_log4cpp_CFLAGS="$log4cpp_CFLAGS"
21198 elif test -n "$PKG_CONFIG"; then
21199    if test -n "$PKG_CONFIG" && \
21200    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" log4cpp >= 1\""; } >&5
21201  ($PKG_CONFIG --exists --print-errors " log4cpp >= 1") 2>&5
21202  ac_status=$?
21203  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21204  test $ac_status = 0; }; then
21205  pkg_cv_log4cpp_CFLAGS=`$PKG_CONFIG --cflags " log4cpp >= 1" 2>/dev/null`
21206		      test "x$?" != "x0" && pkg_failed=yes
21207else
21208  pkg_failed=yes
21209fi
21210 else
21211    pkg_failed=untried
21212fi
21213if test -n "$log4cpp_LIBS"; then
21214    pkg_cv_log4cpp_LIBS="$log4cpp_LIBS"
21215 elif test -n "$PKG_CONFIG"; then
21216    if test -n "$PKG_CONFIG" && \
21217    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" log4cpp >= 1\""; } >&5
21218  ($PKG_CONFIG --exists --print-errors " log4cpp >= 1") 2>&5
21219  ac_status=$?
21220  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21221  test $ac_status = 0; }; then
21222  pkg_cv_log4cpp_LIBS=`$PKG_CONFIG --libs " log4cpp >= 1" 2>/dev/null`
21223		      test "x$?" != "x0" && pkg_failed=yes
21224else
21225  pkg_failed=yes
21226fi
21227 else
21228    pkg_failed=untried
21229fi
21230
21231
21232
21233if test $pkg_failed = yes; then
21234        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21235printf "%s\n" "no" >&6; }
21236
21237if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21238        _pkg_short_errors_supported=yes
21239else
21240        _pkg_short_errors_supported=no
21241fi
21242        if test $_pkg_short_errors_supported = yes; then
21243	        log4cpp_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs " log4cpp >= 1" 2>&1`
21244        else
21245	        log4cpp_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs " log4cpp >= 1" 2>&1`
21246        fi
21247	# Put the nasty error message in config.log where it belongs
21248	echo "$log4cpp_PKG_ERRORS" >&5
21249
21250	as_fn_error $? "Package requirements ( log4cpp >= 1) were not met:
21251
21252$log4cpp_PKG_ERRORS
21253
21254Consider adjusting the PKG_CONFIG_PATH environment variable if you
21255installed software in a non-standard prefix.
21256
21257Alternatively, you may set the environment variables log4cpp_CFLAGS
21258and log4cpp_LIBS to avoid the need to call pkg-config.
21259See the pkg-config man page for more details." "$LINENO" 5
21260elif test $pkg_failed = untried; then
21261        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21262printf "%s\n" "no" >&6; }
21263	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21264printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
21265as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
21266is in your PATH or set the PKG_CONFIG environment variable to the full
21267path to pkg-config.
21268
21269Alternatively, you may set the environment variables log4cpp_CFLAGS
21270and log4cpp_LIBS to avoid the need to call pkg-config.
21271See the pkg-config man page for more details.
21272
21273To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21274See \`config.log' for more details" "$LINENO" 5; }
21275else
21276	log4cpp_CFLAGS=$pkg_cv_log4cpp_CFLAGS
21277	log4cpp_LIBS=$pkg_cv_log4cpp_LIBS
21278        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21279printf "%s\n" "yes" >&6; }
21280
21281        XMLTOOLING_LITE_REQUIRES="$XMLTOOLING_LITE_REQUIRES "
21282        XMLTOOLING_LITE_REQUIRES_PRIVATE="$XMLTOOLING_LITE_REQUIRES_PRIVATE log4cpp >= 1"
21283
21284printf "%s\n" "#define XMLTOOLING_LOG4CPP 1" >>confdefs.h
21285
21286	 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using log4cpp, note that most non-Internet2 supplied versions are not thread-safe" >&5
21287printf "%s\n" "$as_me: WARNING: using log4cpp, note that most non-Internet2 supplied versions are not thread-safe" >&2;}
21288fi
21289
21290    # Substitute output.
21291
21292
21293
21294elif test $pkg_failed = untried; then
21295        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21296printf "%s\n" "no" >&6; }
21297
21298
21299
21300
21301
21302pkg_failed=no
21303{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for  log4cpp >= 1" >&5
21304printf %s "checking for  log4cpp >= 1... " >&6; }
21305
21306if test -n "$log4cpp_CFLAGS"; then
21307    pkg_cv_log4cpp_CFLAGS="$log4cpp_CFLAGS"
21308 elif test -n "$PKG_CONFIG"; then
21309    if test -n "$PKG_CONFIG" && \
21310    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" log4cpp >= 1\""; } >&5
21311  ($PKG_CONFIG --exists --print-errors " log4cpp >= 1") 2>&5
21312  ac_status=$?
21313  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21314  test $ac_status = 0; }; then
21315  pkg_cv_log4cpp_CFLAGS=`$PKG_CONFIG --cflags " log4cpp >= 1" 2>/dev/null`
21316		      test "x$?" != "x0" && pkg_failed=yes
21317else
21318  pkg_failed=yes
21319fi
21320 else
21321    pkg_failed=untried
21322fi
21323if test -n "$log4cpp_LIBS"; then
21324    pkg_cv_log4cpp_LIBS="$log4cpp_LIBS"
21325 elif test -n "$PKG_CONFIG"; then
21326    if test -n "$PKG_CONFIG" && \
21327    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" log4cpp >= 1\""; } >&5
21328  ($PKG_CONFIG --exists --print-errors " log4cpp >= 1") 2>&5
21329  ac_status=$?
21330  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21331  test $ac_status = 0; }; then
21332  pkg_cv_log4cpp_LIBS=`$PKG_CONFIG --libs " log4cpp >= 1" 2>/dev/null`
21333		      test "x$?" != "x0" && pkg_failed=yes
21334else
21335  pkg_failed=yes
21336fi
21337 else
21338    pkg_failed=untried
21339fi
21340
21341
21342
21343if test $pkg_failed = yes; then
21344        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21345printf "%s\n" "no" >&6; }
21346
21347if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21348        _pkg_short_errors_supported=yes
21349else
21350        _pkg_short_errors_supported=no
21351fi
21352        if test $_pkg_short_errors_supported = yes; then
21353	        log4cpp_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs " log4cpp >= 1" 2>&1`
21354        else
21355	        log4cpp_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs " log4cpp >= 1" 2>&1`
21356        fi
21357	# Put the nasty error message in config.log where it belongs
21358	echo "$log4cpp_PKG_ERRORS" >&5
21359
21360	as_fn_error $? "Package requirements ( log4cpp >= 1) were not met:
21361
21362$log4cpp_PKG_ERRORS
21363
21364Consider adjusting the PKG_CONFIG_PATH environment variable if you
21365installed software in a non-standard prefix.
21366
21367Alternatively, you may set the environment variables log4cpp_CFLAGS
21368and log4cpp_LIBS to avoid the need to call pkg-config.
21369See the pkg-config man page for more details." "$LINENO" 5
21370elif test $pkg_failed = untried; then
21371        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21372printf "%s\n" "no" >&6; }
21373	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21374printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
21375as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
21376is in your PATH or set the PKG_CONFIG environment variable to the full
21377path to pkg-config.
21378
21379Alternatively, you may set the environment variables log4cpp_CFLAGS
21380and log4cpp_LIBS to avoid the need to call pkg-config.
21381See the pkg-config man page for more details.
21382
21383To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21384See \`config.log' for more details" "$LINENO" 5; }
21385else
21386	log4cpp_CFLAGS=$pkg_cv_log4cpp_CFLAGS
21387	log4cpp_LIBS=$pkg_cv_log4cpp_LIBS
21388        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21389printf "%s\n" "yes" >&6; }
21390
21391        XMLTOOLING_LITE_REQUIRES="$XMLTOOLING_LITE_REQUIRES "
21392        XMLTOOLING_LITE_REQUIRES_PRIVATE="$XMLTOOLING_LITE_REQUIRES_PRIVATE log4cpp >= 1"
21393
21394printf "%s\n" "#define XMLTOOLING_LOG4CPP 1" >>confdefs.h
21395
21396	 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using log4cpp, note that most non-Internet2 supplied versions are not thread-safe" >&5
21397printf "%s\n" "$as_me: WARNING: using log4cpp, note that most non-Internet2 supplied versions are not thread-safe" >&2;}
21398fi
21399
21400    # Substitute output.
21401
21402
21403
21404else
21405	log4shib_CFLAGS=$pkg_cv_log4shib_CFLAGS
21406	log4shib_LIBS=$pkg_cv_log4shib_LIBS
21407        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21408printf "%s\n" "yes" >&6; }
21409
21410        XMLTOOLING_LITE_REQUIRES="$XMLTOOLING_LITE_REQUIRES "
21411        XMLTOOLING_LITE_REQUIRES_PRIVATE="$XMLTOOLING_LITE_REQUIRES_PRIVATE log4shib"
21412
21413printf "%s\n" "#define XMLTOOLING_LOG4SHIB 1" >>confdefs.h
21414
21415fi
21416
21417    # Substitute output.
21418
21419
21420
21421
21422
21423
21424
21425
21426
21427pkg_failed=no
21428{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for  xerces-c >= 3.2" >&5
21429printf %s "checking for  xerces-c >= 3.2... " >&6; }
21430
21431if test -n "$xerces_CFLAGS"; then
21432    pkg_cv_xerces_CFLAGS="$xerces_CFLAGS"
21433 elif test -n "$PKG_CONFIG"; then
21434    if test -n "$PKG_CONFIG" && \
21435    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" xerces-c >= 3.2\""; } >&5
21436  ($PKG_CONFIG --exists --print-errors " xerces-c >= 3.2") 2>&5
21437  ac_status=$?
21438  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21439  test $ac_status = 0; }; then
21440  pkg_cv_xerces_CFLAGS=`$PKG_CONFIG --cflags " xerces-c >= 3.2" 2>/dev/null`
21441		      test "x$?" != "x0" && pkg_failed=yes
21442else
21443  pkg_failed=yes
21444fi
21445 else
21446    pkg_failed=untried
21447fi
21448if test -n "$xerces_LIBS"; then
21449    pkg_cv_xerces_LIBS="$xerces_LIBS"
21450 elif test -n "$PKG_CONFIG"; then
21451    if test -n "$PKG_CONFIG" && \
21452    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" xerces-c >= 3.2\""; } >&5
21453  ($PKG_CONFIG --exists --print-errors " xerces-c >= 3.2") 2>&5
21454  ac_status=$?
21455  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21456  test $ac_status = 0; }; then
21457  pkg_cv_xerces_LIBS=`$PKG_CONFIG --libs " xerces-c >= 3.2" 2>/dev/null`
21458		      test "x$?" != "x0" && pkg_failed=yes
21459else
21460  pkg_failed=yes
21461fi
21462 else
21463    pkg_failed=untried
21464fi
21465
21466
21467
21468if test $pkg_failed = yes; then
21469        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21470printf "%s\n" "no" >&6; }
21471
21472if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21473        _pkg_short_errors_supported=yes
21474else
21475        _pkg_short_errors_supported=no
21476fi
21477        if test $_pkg_short_errors_supported = yes; then
21478	        xerces_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs " xerces-c >= 3.2" 2>&1`
21479        else
21480	        xerces_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs " xerces-c >= 3.2" 2>&1`
21481        fi
21482	# Put the nasty error message in config.log where it belongs
21483	echo "$xerces_PKG_ERRORS" >&5
21484
21485	as_fn_error $? "Package requirements ( xerces-c >= 3.2) were not met:
21486
21487$xerces_PKG_ERRORS
21488
21489Consider adjusting the PKG_CONFIG_PATH environment variable if you
21490installed software in a non-standard prefix.
21491
21492Alternatively, you may set the environment variables xerces_CFLAGS
21493and xerces_LIBS to avoid the need to call pkg-config.
21494See the pkg-config man page for more details." "$LINENO" 5
21495elif test $pkg_failed = untried; then
21496        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21497printf "%s\n" "no" >&6; }
21498	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21499printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
21500as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
21501is in your PATH or set the PKG_CONFIG environment variable to the full
21502path to pkg-config.
21503
21504Alternatively, you may set the environment variables xerces_CFLAGS
21505and xerces_LIBS to avoid the need to call pkg-config.
21506See the pkg-config man page for more details.
21507
21508To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21509See \`config.log' for more details" "$LINENO" 5; }
21510else
21511	xerces_CFLAGS=$pkg_cv_xerces_CFLAGS
21512	xerces_LIBS=$pkg_cv_xerces_LIBS
21513        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21514printf "%s\n" "yes" >&6; }
21515
21516        XMLTOOLING_LITE_REQUIRES="$XMLTOOLING_LITE_REQUIRES "
21517        XMLTOOLING_LITE_REQUIRES_PRIVATE="$XMLTOOLING_LITE_REQUIRES_PRIVATE xerces-c >= 3.2"
21518
21519fi
21520
21521    # Substitute output.
21522
21523
21524
21525
21526
21527
21528
21529
21530
21531pkg_failed=no
21532{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for  zlib" >&5
21533printf %s "checking for  zlib... " >&6; }
21534
21535if test -n "$zlib_CFLAGS"; then
21536    pkg_cv_zlib_CFLAGS="$zlib_CFLAGS"
21537 elif test -n "$PKG_CONFIG"; then
21538    if test -n "$PKG_CONFIG" && \
21539    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" zlib\""; } >&5
21540  ($PKG_CONFIG --exists --print-errors " zlib") 2>&5
21541  ac_status=$?
21542  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21543  test $ac_status = 0; }; then
21544  pkg_cv_zlib_CFLAGS=`$PKG_CONFIG --cflags " zlib" 2>/dev/null`
21545		      test "x$?" != "x0" && pkg_failed=yes
21546else
21547  pkg_failed=yes
21548fi
21549 else
21550    pkg_failed=untried
21551fi
21552if test -n "$zlib_LIBS"; then
21553    pkg_cv_zlib_LIBS="$zlib_LIBS"
21554 elif test -n "$PKG_CONFIG"; then
21555    if test -n "$PKG_CONFIG" && \
21556    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" zlib\""; } >&5
21557  ($PKG_CONFIG --exists --print-errors " zlib") 2>&5
21558  ac_status=$?
21559  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21560  test $ac_status = 0; }; then
21561  pkg_cv_zlib_LIBS=`$PKG_CONFIG --libs " zlib" 2>/dev/null`
21562		      test "x$?" != "x0" && pkg_failed=yes
21563else
21564  pkg_failed=yes
21565fi
21566 else
21567    pkg_failed=untried
21568fi
21569
21570
21571
21572if test $pkg_failed = yes; then
21573        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21574printf "%s\n" "no" >&6; }
21575
21576if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21577        _pkg_short_errors_supported=yes
21578else
21579        _pkg_short_errors_supported=no
21580fi
21581        if test $_pkg_short_errors_supported = yes; then
21582	        zlib_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs " zlib" 2>&1`
21583        else
21584	        zlib_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs " zlib" 2>&1`
21585        fi
21586	# Put the nasty error message in config.log where it belongs
21587	echo "$zlib_PKG_ERRORS" >&5
21588
21589	as_fn_error $? "Package requirements ( zlib) were not met:
21590
21591$zlib_PKG_ERRORS
21592
21593Consider adjusting the PKG_CONFIG_PATH environment variable if you
21594installed software in a non-standard prefix.
21595
21596Alternatively, you may set the environment variables zlib_CFLAGS
21597and zlib_LIBS to avoid the need to call pkg-config.
21598See the pkg-config man page for more details." "$LINENO" 5
21599elif test $pkg_failed = untried; then
21600        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21601printf "%s\n" "no" >&6; }
21602	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21603printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
21604as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
21605is in your PATH or set the PKG_CONFIG environment variable to the full
21606path to pkg-config.
21607
21608Alternatively, you may set the environment variables zlib_CFLAGS
21609and zlib_LIBS to avoid the need to call pkg-config.
21610See the pkg-config man page for more details.
21611
21612To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21613See \`config.log' for more details" "$LINENO" 5; }
21614else
21615	zlib_CFLAGS=$pkg_cv_zlib_CFLAGS
21616	zlib_LIBS=$pkg_cv_zlib_LIBS
21617        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21618printf "%s\n" "yes" >&6; }
21619
21620        XMLTOOLING_LITE_REQUIRES="$XMLTOOLING_LITE_REQUIRES "
21621        XMLTOOLING_LITE_REQUIRES_PRIVATE="$XMLTOOLING_LITE_REQUIRES_PRIVATE zlib"
21622
21623fi
21624
21625    # Substitute output.
21626
21627
21628
21629
21630
21631# Check whether --with-xmlsec was given.
21632if test ${with_xmlsec+y}
21633then :
21634  withval=$with_xmlsec;
21635else $as_nop
21636  with_xmlsec=check
21637fi
21638
21639
21640
21641
21642{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX options needed to detect all undeclared functions" >&5
21643printf %s "checking for $CXX options needed to detect all undeclared functions... " >&6; }
21644if test ${ac_cv_cxx_undeclared_builtin_options+y}
21645then :
21646  printf %s "(cached) " >&6
21647else $as_nop
21648  ac_save_CFLAGS=$CFLAGS
21649   ac_cv_cxx_undeclared_builtin_options='cannot detect'
21650   for ac_arg in '' -fno-builtin; do
21651     CFLAGS="$ac_save_CFLAGS $ac_arg"
21652     # This test program should *not* compile successfully.
21653     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21654/* end confdefs.h.  */
21655
21656int
21657main (void)
21658{
21659(void) strchr;
21660  ;
21661  return 0;
21662}
21663_ACEOF
21664if ac_fn_cxx_try_compile "$LINENO"
21665then :
21666
21667else $as_nop
21668  # This test program should compile successfully.
21669        # No library function is consistently available on
21670        # freestanding implementations, so test against a dummy
21671        # declaration.  Include always-available headers on the
21672        # off chance that they somehow elicit warnings.
21673        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21674/* end confdefs.h.  */
21675#include <float.h>
21676#include <limits.h>
21677#include <stdarg.h>
21678#include <stddef.h>
21679extern void ac_decl (int, char *);
21680
21681int
21682main (void)
21683{
21684(void) ac_decl (0, (char *) 0);
21685  (void) ac_decl;
21686
21687  ;
21688  return 0;
21689}
21690_ACEOF
21691if ac_fn_cxx_try_compile "$LINENO"
21692then :
21693  if test x"$ac_arg" = x
21694then :
21695  ac_cv_cxx_undeclared_builtin_options='none needed'
21696else $as_nop
21697  ac_cv_cxx_undeclared_builtin_options=$ac_arg
21698fi
21699          break
21700fi
21701rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21702fi
21703rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21704    done
21705    CFLAGS=$ac_save_CFLAGS
21706
21707fi
21708{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_undeclared_builtin_options" >&5
21709printf "%s\n" "$ac_cv_cxx_undeclared_builtin_options" >&6; }
21710  case $ac_cv_cxx_undeclared_builtin_options in #(
21711  'cannot detect') :
21712    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21713printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
21714as_fn_error $? "cannot make $CXX report undeclared builtins
21715See \`config.log' for more details" "$LINENO" 5; } ;; #(
21716  'none needed') :
21717    ac_cxx_undeclared_builtin_options='' ;; #(
21718  *) :
21719    ac_cxx_undeclared_builtin_options=$ac_cv_cxx_undeclared_builtin_options ;;
21720esac
21721
21722if test "x$with_xmlsec" != xno
21723then :
21724
21725
21726
21727
21728
21729
21730pkg_failed=no
21731{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for  openssl" >&5
21732printf %s "checking for  openssl... " >&6; }
21733
21734if test -n "$openssl_CFLAGS"; then
21735    pkg_cv_openssl_CFLAGS="$openssl_CFLAGS"
21736 elif test -n "$PKG_CONFIG"; then
21737    if test -n "$PKG_CONFIG" && \
21738    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" openssl\""; } >&5
21739  ($PKG_CONFIG --exists --print-errors " openssl") 2>&5
21740  ac_status=$?
21741  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21742  test $ac_status = 0; }; then
21743  pkg_cv_openssl_CFLAGS=`$PKG_CONFIG --cflags " openssl" 2>/dev/null`
21744		      test "x$?" != "x0" && pkg_failed=yes
21745else
21746  pkg_failed=yes
21747fi
21748 else
21749    pkg_failed=untried
21750fi
21751if test -n "$openssl_LIBS"; then
21752    pkg_cv_openssl_LIBS="$openssl_LIBS"
21753 elif test -n "$PKG_CONFIG"; then
21754    if test -n "$PKG_CONFIG" && \
21755    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" openssl\""; } >&5
21756  ($PKG_CONFIG --exists --print-errors " openssl") 2>&5
21757  ac_status=$?
21758  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21759  test $ac_status = 0; }; then
21760  pkg_cv_openssl_LIBS=`$PKG_CONFIG --libs " openssl" 2>/dev/null`
21761		      test "x$?" != "x0" && pkg_failed=yes
21762else
21763  pkg_failed=yes
21764fi
21765 else
21766    pkg_failed=untried
21767fi
21768
21769
21770
21771if test $pkg_failed = yes; then
21772        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21773printf "%s\n" "no" >&6; }
21774
21775if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21776        _pkg_short_errors_supported=yes
21777else
21778        _pkg_short_errors_supported=no
21779fi
21780        if test $_pkg_short_errors_supported = yes; then
21781	        openssl_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs " openssl" 2>&1`
21782        else
21783	        openssl_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs " openssl" 2>&1`
21784        fi
21785	# Put the nasty error message in config.log where it belongs
21786	echo "$openssl_PKG_ERRORS" >&5
21787
21788	if test "x$with_xmlsec" = xcheck
21789then :
21790  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlsec disabled, building without signature/encryption support" >&5
21791printf "%s\n" "$as_me: WARNING: xmlsec disabled, building without signature/encryption support" >&2;}
21792
21793printf "%s\n" "#define XMLTOOLING_NO_XMLSEC 1" >>confdefs.h
21794
21795else $as_nop
21796  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21797printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
21798as_fn_error $? "--with-xmlsec was given, but the package was not found
21799See \`config.log' for more details" "$LINENO" 5; }
21800fi
21801
21802elif test $pkg_failed = untried; then
21803        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21804printf "%s\n" "no" >&6; }
21805	if test "x$with_xmlsec" = xcheck
21806then :
21807  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlsec disabled, building without signature/encryption support" >&5
21808printf "%s\n" "$as_me: WARNING: xmlsec disabled, building without signature/encryption support" >&2;}
21809
21810printf "%s\n" "#define XMLTOOLING_NO_XMLSEC 1" >>confdefs.h
21811
21812else $as_nop
21813  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21814printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
21815as_fn_error $? "--with-xmlsec was given, but the package was not found
21816See \`config.log' for more details" "$LINENO" 5; }
21817fi
21818
21819else
21820	openssl_CFLAGS=$pkg_cv_openssl_CFLAGS
21821	openssl_LIBS=$pkg_cv_openssl_LIBS
21822        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21823printf "%s\n" "yes" >&6; }
21824
21825        XMLTOOLING_REQUIRES="$XMLTOOLING_REQUIRES "
21826        XMLTOOLING_REQUIRES_PRIVATE="$XMLTOOLING_REQUIRES_PRIVATE openssl"
21827
21828
21829
21830
21831
21832
21833pkg_failed=no
21834{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for  libcurl" >&5
21835printf %s "checking for  libcurl... " >&6; }
21836
21837if test -n "$libcurl_CFLAGS"; then
21838    pkg_cv_libcurl_CFLAGS="$libcurl_CFLAGS"
21839 elif test -n "$PKG_CONFIG"; then
21840    if test -n "$PKG_CONFIG" && \
21841    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" libcurl\""; } >&5
21842  ($PKG_CONFIG --exists --print-errors " libcurl") 2>&5
21843  ac_status=$?
21844  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21845  test $ac_status = 0; }; then
21846  pkg_cv_libcurl_CFLAGS=`$PKG_CONFIG --cflags " libcurl" 2>/dev/null`
21847		      test "x$?" != "x0" && pkg_failed=yes
21848else
21849  pkg_failed=yes
21850fi
21851 else
21852    pkg_failed=untried
21853fi
21854if test -n "$libcurl_LIBS"; then
21855    pkg_cv_libcurl_LIBS="$libcurl_LIBS"
21856 elif test -n "$PKG_CONFIG"; then
21857    if test -n "$PKG_CONFIG" && \
21858    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" libcurl\""; } >&5
21859  ($PKG_CONFIG --exists --print-errors " libcurl") 2>&5
21860  ac_status=$?
21861  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21862  test $ac_status = 0; }; then
21863  pkg_cv_libcurl_LIBS=`$PKG_CONFIG --libs " libcurl" 2>/dev/null`
21864		      test "x$?" != "x0" && pkg_failed=yes
21865else
21866  pkg_failed=yes
21867fi
21868 else
21869    pkg_failed=untried
21870fi
21871
21872
21873
21874if test $pkg_failed = yes; then
21875        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21876printf "%s\n" "no" >&6; }
21877
21878if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21879        _pkg_short_errors_supported=yes
21880else
21881        _pkg_short_errors_supported=no
21882fi
21883        if test $_pkg_short_errors_supported = yes; then
21884	        libcurl_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs " libcurl" 2>&1`
21885        else
21886	        libcurl_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs " libcurl" 2>&1`
21887        fi
21888	# Put the nasty error message in config.log where it belongs
21889	echo "$libcurl_PKG_ERRORS" >&5
21890
21891	if test "x$with_xmlsec" = xcheck
21892then :
21893  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlsec disabled, building without signature/encryption support" >&5
21894printf "%s\n" "$as_me: WARNING: xmlsec disabled, building without signature/encryption support" >&2;}
21895
21896printf "%s\n" "#define XMLTOOLING_NO_XMLSEC 1" >>confdefs.h
21897
21898else $as_nop
21899  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21900printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
21901as_fn_error $? "--with-xmlsec was given, but the package was not found
21902See \`config.log' for more details" "$LINENO" 5; }
21903fi
21904
21905elif test $pkg_failed = untried; then
21906        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21907printf "%s\n" "no" >&6; }
21908	if test "x$with_xmlsec" = xcheck
21909then :
21910  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlsec disabled, building without signature/encryption support" >&5
21911printf "%s\n" "$as_me: WARNING: xmlsec disabled, building without signature/encryption support" >&2;}
21912
21913printf "%s\n" "#define XMLTOOLING_NO_XMLSEC 1" >>confdefs.h
21914
21915else $as_nop
21916  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21917printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
21918as_fn_error $? "--with-xmlsec was given, but the package was not found
21919See \`config.log' for more details" "$LINENO" 5; }
21920fi
21921
21922else
21923	libcurl_CFLAGS=$pkg_cv_libcurl_CFLAGS
21924	libcurl_LIBS=$pkg_cv_libcurl_LIBS
21925        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21926printf "%s\n" "yes" >&6; }
21927
21928        XMLTOOLING_REQUIRES="$XMLTOOLING_REQUIRES "
21929        XMLTOOLING_REQUIRES_PRIVATE="$XMLTOOLING_REQUIRES_PRIVATE libcurl"
21930
21931
21932  CCASFLAGS__ax_save_flags=$CCASFLAGS
21933
21934
21935
21936  CFLAGS__ax_save_flags=$CFLAGS
21937
21938
21939
21940  CPPFLAGS__ax_save_flags=$CPPFLAGS
21941
21942
21943
21944  CXXFLAGS__ax_save_flags=$CXXFLAGS
21945
21946
21947
21948  ERLCFLAGS__ax_save_flags=$ERLCFLAGS
21949
21950
21951
21952  FCFLAGS__ax_save_flags=$FCFLAGS
21953
21954
21955
21956  FCLIBS__ax_save_flags=$FCLIBS
21957
21958
21959
21960  FFLAGS__ax_save_flags=$FFLAGS
21961
21962
21963
21964  FLIBS__ax_save_flags=$FLIBS
21965
21966
21967
21968  GCJFLAGS__ax_save_flags=$GCJFLAGS
21969
21970
21971
21972  JAVACFLAGS__ax_save_flags=$JAVACFLAGS
21973
21974
21975
21976  LDFLAGS__ax_save_flags=$LDFLAGS
21977
21978
21979
21980  LIBS__ax_save_flags=$LIBS
21981
21982
21983
21984  OBJCFLAGS__ax_save_flags=$OBJCFLAGS
21985
21986
21987
21988  OBJCXXFLAGS__ax_save_flags=$OBJCXXFLAGS
21989
21990
21991
21992  UPCFLAGS__ax_save_flags=$UPCFLAGS
21993
21994
21995
21996  VALAFLAGS__ax_save_flags=$VALAFLAGS
21997
21998
21999
22000        CXXFLAGS="$libcurl_CFLAGS $CXXFLAGS"
22001        LIBS="libcurl_LIBS $LIBS"
22002        ac_fn_check_decl "$LINENO" "CURLOPT_ACCEPT_ENCODING" "ac_cv_have_decl_CURLOPT_ACCEPT_ENCODING" "#include <curl/curl.h>
22003" "$ac_cxx_undeclared_builtin_options" "CXXFLAGS"
22004if test "x$ac_cv_have_decl_CURLOPT_ACCEPT_ENCODING" = xyes
22005then :
22006  ac_have_decl=1
22007else $as_nop
22008  ac_have_decl=0
22009fi
22010printf "%s\n" "#define HAVE_DECL_CURLOPT_ACCEPT_ENCODING $ac_have_decl" >>confdefs.h
22011ac_fn_check_decl "$LINENO" "CURLINFO_TLS_SSL_PTR" "ac_cv_have_decl_CURLINFO_TLS_SSL_PTR" "#include <curl/curl.h>
22012" "$ac_cxx_undeclared_builtin_options" "CXXFLAGS"
22013if test "x$ac_cv_have_decl_CURLINFO_TLS_SSL_PTR" = xyes
22014then :
22015  ac_have_decl=1
22016else $as_nop
22017  ac_have_decl=0
22018fi
22019printf "%s\n" "#define HAVE_DECL_CURLINFO_TLS_SSL_PTR $ac_have_decl" >>confdefs.h
22020
22021        ac_fn_check_decl "$LINENO" "CURLOPT_SSL_CTX_FUNCTION" "ac_cv_have_decl_CURLOPT_SSL_CTX_FUNCTION" "#include <curl/curl.h>
22022" "$ac_cxx_undeclared_builtin_options" "CXXFLAGS"
22023if test "x$ac_cv_have_decl_CURLOPT_SSL_CTX_FUNCTION" = xyes
22024then :
22025
22026else $as_nop
22027  as_fn_error $? "need libcurl that supports CURLOPT_SSL_CTX_FUNCTION" "$LINENO" 5
22028fi
22029        ac_fn_cxx_check_type "$LINENO" "curl_off_t" "ac_cv_type_curl_off_t" "#include <curl/curl.h>
22030"
22031if test "x$ac_cv_type_curl_off_t" = xyes
22032then :
22033
22034printf "%s\n" "#define HAVE_CURL_OFF_T 1" >>confdefs.h
22035
22036fi
22037
22038
22039  CCASFLAGS=$CCASFLAGS__ax_save_flags
22040
22041
22042  CFLAGS=$CFLAGS__ax_save_flags
22043
22044
22045  CPPFLAGS=$CPPFLAGS__ax_save_flags
22046
22047
22048  CXXFLAGS=$CXXFLAGS__ax_save_flags
22049
22050
22051  ERLCFLAGS=$ERLCFLAGS__ax_save_flags
22052
22053
22054  FCFLAGS=$FCFLAGS__ax_save_flags
22055
22056
22057  FCLIBS=$FCLIBS__ax_save_flags
22058
22059
22060  FFLAGS=$FFLAGS__ax_save_flags
22061
22062
22063  FLIBS=$FLIBS__ax_save_flags
22064
22065
22066  GCJFLAGS=$GCJFLAGS__ax_save_flags
22067
22068
22069  JAVACFLAGS=$JAVACFLAGS__ax_save_flags
22070
22071
22072  LDFLAGS=$LDFLAGS__ax_save_flags
22073
22074
22075  LIBS=$LIBS__ax_save_flags
22076
22077
22078  OBJCFLAGS=$OBJCFLAGS__ax_save_flags
22079
22080
22081  OBJCXXFLAGS=$OBJCXXFLAGS__ax_save_flags
22082
22083
22084  UPCFLAGS=$UPCFLAGS__ax_save_flags
22085
22086
22087  VALAFLAGS=$VALAFLAGS__ax_save_flags
22088
22089
22090
22091
22092
22093
22094
22095
22096
22097pkg_failed=no
22098{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for  xml-security-c >= 2" >&5
22099printf %s "checking for  xml-security-c >= 2... " >&6; }
22100
22101if test -n "$xml_security_CFLAGS"; then
22102    pkg_cv_xml_security_CFLAGS="$xml_security_CFLAGS"
22103 elif test -n "$PKG_CONFIG"; then
22104    if test -n "$PKG_CONFIG" && \
22105    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" xml-security-c >= 2\""; } >&5
22106  ($PKG_CONFIG --exists --print-errors " xml-security-c >= 2") 2>&5
22107  ac_status=$?
22108  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22109  test $ac_status = 0; }; then
22110  pkg_cv_xml_security_CFLAGS=`$PKG_CONFIG --cflags " xml-security-c >= 2" 2>/dev/null`
22111		      test "x$?" != "x0" && pkg_failed=yes
22112else
22113  pkg_failed=yes
22114fi
22115 else
22116    pkg_failed=untried
22117fi
22118if test -n "$xml_security_LIBS"; then
22119    pkg_cv_xml_security_LIBS="$xml_security_LIBS"
22120 elif test -n "$PKG_CONFIG"; then
22121    if test -n "$PKG_CONFIG" && \
22122    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" xml-security-c >= 2\""; } >&5
22123  ($PKG_CONFIG --exists --print-errors " xml-security-c >= 2") 2>&5
22124  ac_status=$?
22125  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22126  test $ac_status = 0; }; then
22127  pkg_cv_xml_security_LIBS=`$PKG_CONFIG --libs " xml-security-c >= 2" 2>/dev/null`
22128		      test "x$?" != "x0" && pkg_failed=yes
22129else
22130  pkg_failed=yes
22131fi
22132 else
22133    pkg_failed=untried
22134fi
22135
22136
22137
22138if test $pkg_failed = yes; then
22139        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22140printf "%s\n" "no" >&6; }
22141
22142if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22143        _pkg_short_errors_supported=yes
22144else
22145        _pkg_short_errors_supported=no
22146fi
22147        if test $_pkg_short_errors_supported = yes; then
22148	        xml_security_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs " xml-security-c >= 2" 2>&1`
22149        else
22150	        xml_security_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs " xml-security-c >= 2" 2>&1`
22151        fi
22152	# Put the nasty error message in config.log where it belongs
22153	echo "$xml_security_PKG_ERRORS" >&5
22154
22155	if test "x$with_xmlsec" = xcheck
22156then :
22157  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlsec disabled, building without signature/encryption support" >&5
22158printf "%s\n" "$as_me: WARNING: xmlsec disabled, building without signature/encryption support" >&2;}
22159
22160printf "%s\n" "#define XMLTOOLING_NO_XMLSEC 1" >>confdefs.h
22161
22162else $as_nop
22163  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22164printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
22165as_fn_error $? "--with-xmlsec was given, but the package was not found
22166See \`config.log' for more details" "$LINENO" 5; }
22167fi
22168
22169elif test $pkg_failed = untried; then
22170        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22171printf "%s\n" "no" >&6; }
22172	if test "x$with_xmlsec" = xcheck
22173then :
22174  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlsec disabled, building without signature/encryption support" >&5
22175printf "%s\n" "$as_me: WARNING: xmlsec disabled, building without signature/encryption support" >&2;}
22176
22177printf "%s\n" "#define XMLTOOLING_NO_XMLSEC 1" >>confdefs.h
22178
22179else $as_nop
22180  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22181printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
22182as_fn_error $? "--with-xmlsec was given, but the package was not found
22183See \`config.log' for more details" "$LINENO" 5; }
22184fi
22185
22186else
22187	xml_security_CFLAGS=$pkg_cv_xml_security_CFLAGS
22188	xml_security_LIBS=$pkg_cv_xml_security_LIBS
22189        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22190printf "%s\n" "yes" >&6; }
22191
22192        XMLTOOLING_REQUIRES="$XMLTOOLING_REQUIRES "
22193        XMLTOOLING_REQUIRES_PRIVATE="$XMLTOOLING_REQUIRES_PRIVATE xml-security-c >= 2"
22194        XMLSEC_CFLAGS="$xml_security_CFLAGS $libcurl_CFLAGS $openssl_CFLAGS"
22195
22196	 XMLSEC_LIBS="$xml_security_LIBS $libcurl_LIBS $openssl_LIBS"
22197
22198
22199fi
22200
22201    # Substitute output.
22202
22203
22204
22205
22206
22207fi
22208
22209    # Substitute output.
22210
22211
22212
22213
22214
22215fi
22216
22217    # Substitute output.
22218
22219
22220
22221
22222
22223fi
22224
22225 if test "x$XMLSEC_LIBS" != x; then
22226  BUILD_XMLSEC_TRUE=
22227  BUILD_XMLSEC_FALSE='#'
22228else
22229  BUILD_XMLSEC_TRUE='#'
22230  BUILD_XMLSEC_FALSE=
22231fi
22232
22233
22234# Does the STL in use help or screw us?
22235cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22236/* end confdefs.h.  */
22237#include <string>
22238int
22239main (void)
22240{
22241std::basic_string<unsigned short> foo; foo=foo+(unsigned short)65
22242  ;
22243  return 0;
22244}
22245_ACEOF
22246if ac_fn_cxx_try_link "$LINENO"
22247then :
22248
22249printf "%s\n" "#define HAVE_GOOD_STL 1" >>confdefs.h
22250
22251fi
22252rm -f core conftest.err conftest.$ac_objext conftest.beam \
22253    conftest$ac_exeext conftest.$ac_ext
22254cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22255/* end confdefs.h.  */
22256#include <vector>
22257int
22258main (void)
22259{
22260std::iterator_traits<std::vector<int>::iterator>::value_type foo=0
22261  ;
22262  return 0;
22263}
22264_ACEOF
22265if ac_fn_cxx_try_link "$LINENO"
22266then :
22267
22268printf "%s\n" "#define HAVE_ITERATOR_TRAITS 1" >>confdefs.h
22269
22270fi
22271rm -f core conftest.err conftest.$ac_objext conftest.beam \
22272    conftest$ac_exeext conftest.$ac_ext
22273
22274# Check for unit test support
22275
22276for ac_prog in cxxtestgen cxxtestgen.pl
22277do
22278  # Extract the first word of "$ac_prog", so it can be a program name with args.
22279set dummy $ac_prog; ac_word=$2
22280{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22281printf %s "checking for $ac_word... " >&6; }
22282if test ${ac_cv_prog_CXXTEST+y}
22283then :
22284  printf %s "(cached) " >&6
22285else $as_nop
22286  if test -n "$CXXTEST"; then
22287  ac_cv_prog_CXXTEST="$CXXTEST" # Let the user override the test.
22288else
22289as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22290for as_dir in $PATH
22291do
22292  IFS=$as_save_IFS
22293  case $as_dir in #(((
22294    '') as_dir=./ ;;
22295    */) ;;
22296    *) as_dir=$as_dir/ ;;
22297  esac
22298    for ac_exec_ext in '' $ac_executable_extensions; do
22299  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
22300    ac_cv_prog_CXXTEST="$ac_prog"
22301    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
22302    break 2
22303  fi
22304done
22305  done
22306IFS=$as_save_IFS
22307
22308fi
22309fi
22310CXXTEST=$ac_cv_prog_CXXTEST
22311if test -n "$CXXTEST"; then
22312  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXXTEST" >&5
22313printf "%s\n" "$CXXTEST" >&6; }
22314else
22315  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22316printf "%s\n" "no" >&6; }
22317fi
22318
22319
22320  test -n "$CXXTEST" && break
22321done
22322test -n "$CXXTEST" || CXXTEST="false"
22323
22324
22325 if test "x${CXXTEST}" != xfalse; then
22326  BUILD_UNITTEST_TRUE=
22327  BUILD_UNITTEST_FALSE='#'
22328else
22329  BUILD_UNITTEST_TRUE='#'
22330  BUILD_UNITTEST_FALSE=
22331fi
22332
22333
22334
22335# Check whether --with-pkgxmldir was given.
22336if test ${with_pkgxmldir+y}
22337then :
22338  withval=$with_pkgxmldir;
22339else $as_nop
22340  with_pkgxmldir=${datadir}/xml/xmltooling
22341fi
22342
22343pkgxmldir=${with_pkgxmldir}
22344
22345
22346# output packaging and makefiles
22347cat >confcache <<\_ACEOF
22348# This file is a shell script that caches the results of configure
22349# tests run on this system so they can be shared between configure
22350# scripts and configure runs, see configure's option --config-cache.
22351# It is not useful on other systems.  If it contains results you don't
22352# want to keep, you may remove or edit it.
22353#
22354# config.status only pays attention to the cache file if you give it
22355# the --recheck option to rerun configure.
22356#
22357# `ac_cv_env_foo' variables (set or unset) will be overridden when
22358# loading this file, other *unset* `ac_cv_foo' will be assigned the
22359# following values.
22360
22361_ACEOF
22362
22363# The following way of writing the cache mishandles newlines in values,
22364# but we know of no workaround that is simple, portable, and efficient.
22365# So, we kill variables containing newlines.
22366# Ultrix sh set writes to stderr and can't be redirected directly,
22367# and sets the high bit in the cache file unless we assign to the vars.
22368(
22369  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22370    eval ac_val=\$$ac_var
22371    case $ac_val in #(
22372    *${as_nl}*)
22373      case $ac_var in #(
22374      *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22375printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22376      esac
22377      case $ac_var in #(
22378      _ | IFS | as_nl) ;; #(
22379      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22380      *) { eval $ac_var=; unset $ac_var;} ;;
22381      esac ;;
22382    esac
22383  done
22384
22385  (set) 2>&1 |
22386    case $as_nl`(ac_space=' '; set) 2>&1` in #(
22387    *${as_nl}ac_space=\ *)
22388      # `set' does not quote correctly, so add quotes: double-quote
22389      # substitution turns \\\\ into \\, and sed turns \\ into \.
22390      sed -n \
22391	"s/'/'\\\\''/g;
22392	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22393      ;; #(
22394    *)
22395      # `set' quotes correctly as required by POSIX, so do not add quotes.
22396      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22397      ;;
22398    esac |
22399    sort
22400) |
22401  sed '
22402     /^ac_cv_env_/b end
22403     t clear
22404     :clear
22405     s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22406     t end
22407     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22408     :end' >>confcache
22409if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22410  if test -w "$cache_file"; then
22411    if test "x$cache_file" != "x/dev/null"; then
22412      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22413printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22414      if test ! -f "$cache_file" || test -h "$cache_file"; then
22415	cat confcache >"$cache_file"
22416      else
22417        case $cache_file in #(
22418        */* | ?:*)
22419	  mv -f confcache "$cache_file"$$ &&
22420	  mv -f "$cache_file"$$ "$cache_file" ;; #(
22421        *)
22422	  mv -f confcache "$cache_file" ;;
22423	esac
22424      fi
22425    fi
22426  else
22427    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22428printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22429  fi
22430fi
22431rm -f confcache
22432
22433test "x$prefix" = xNONE && prefix=$ac_default_prefix
22434# Let make expand exec_prefix.
22435test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22436
22437DEFS=-DHAVE_CONFIG_H
22438
22439ac_libobjs=
22440ac_ltlibobjs=
22441U=
22442for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22443  # 1. Remove the extension, and $U if already installed.
22444  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22445  ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22446  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
22447  #    will be set to the directory where LIBOBJS objects are built.
22448  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22449  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22450done
22451LIBOBJS=$ac_libobjs
22452
22453LTLIBOBJS=$ac_ltlibobjs
22454
22455
22456{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
22457printf %s "checking that generated files are newer than configure... " >&6; }
22458   if test -n "$am_sleep_pid"; then
22459     # Hide warnings about reused PIDs.
22460     wait $am_sleep_pid 2>/dev/null
22461   fi
22462   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
22463printf "%s\n" "done" >&6; }
22464 if test -n "$EXEEXT"; then
22465  am__EXEEXT_TRUE=
22466  am__EXEEXT_FALSE='#'
22467else
22468  am__EXEEXT_TRUE='#'
22469  am__EXEEXT_FALSE=
22470fi
22471
22472if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
22473  as_fn_error $? "conditional \"DX_COND_doc\" was never defined.
22474Usually this means the macro was only invoked conditionally." "$LINENO" 5
22475fi
22476if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
22477  as_fn_error $? "conditional \"DX_COND_doc\" was never defined.
22478Usually this means the macro was only invoked conditionally." "$LINENO" 5
22479fi
22480if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
22481  as_fn_error $? "conditional \"DX_COND_dot\" was never defined.
22482Usually this means the macro was only invoked conditionally." "$LINENO" 5
22483fi
22484if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
22485  as_fn_error $? "conditional \"DX_COND_dot\" was never defined.
22486Usually this means the macro was only invoked conditionally." "$LINENO" 5
22487fi
22488if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
22489  as_fn_error $? "conditional \"DX_COND_man\" was never defined.
22490Usually this means the macro was only invoked conditionally." "$LINENO" 5
22491fi
22492if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
22493  as_fn_error $? "conditional \"DX_COND_man\" was never defined.
22494Usually this means the macro was only invoked conditionally." "$LINENO" 5
22495fi
22496if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
22497  as_fn_error $? "conditional \"DX_COND_rtf\" was never defined.
22498Usually this means the macro was only invoked conditionally." "$LINENO" 5
22499fi
22500if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
22501  as_fn_error $? "conditional \"DX_COND_rtf\" was never defined.
22502Usually this means the macro was only invoked conditionally." "$LINENO" 5
22503fi
22504if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
22505  as_fn_error $? "conditional \"DX_COND_xml\" was never defined.
22506Usually this means the macro was only invoked conditionally." "$LINENO" 5
22507fi
22508if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
22509  as_fn_error $? "conditional \"DX_COND_xml\" was never defined.
22510Usually this means the macro was only invoked conditionally." "$LINENO" 5
22511fi
22512if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
22513  as_fn_error $? "conditional \"DX_COND_chm\" was never defined.
22514Usually this means the macro was only invoked conditionally." "$LINENO" 5
22515fi
22516if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
22517  as_fn_error $? "conditional \"DX_COND_chm\" was never defined.
22518Usually this means the macro was only invoked conditionally." "$LINENO" 5
22519fi
22520if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
22521  as_fn_error $? "conditional \"DX_COND_chi\" was never defined.
22522Usually this means the macro was only invoked conditionally." "$LINENO" 5
22523fi
22524if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
22525  as_fn_error $? "conditional \"DX_COND_chi\" was never defined.
22526Usually this means the macro was only invoked conditionally." "$LINENO" 5
22527fi
22528if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
22529  as_fn_error $? "conditional \"DX_COND_html\" was never defined.
22530Usually this means the macro was only invoked conditionally." "$LINENO" 5
22531fi
22532if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
22533  as_fn_error $? "conditional \"DX_COND_html\" was never defined.
22534Usually this means the macro was only invoked conditionally." "$LINENO" 5
22535fi
22536if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
22537  as_fn_error $? "conditional \"DX_COND_ps\" was never defined.
22538Usually this means the macro was only invoked conditionally." "$LINENO" 5
22539fi
22540if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
22541  as_fn_error $? "conditional \"DX_COND_ps\" was never defined.
22542Usually this means the macro was only invoked conditionally." "$LINENO" 5
22543fi
22544if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
22545  as_fn_error $? "conditional \"DX_COND_pdf\" was never defined.
22546Usually this means the macro was only invoked conditionally." "$LINENO" 5
22547fi
22548if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
22549  as_fn_error $? "conditional \"DX_COND_pdf\" was never defined.
22550Usually this means the macro was only invoked conditionally." "$LINENO" 5
22551fi
22552if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
22553  as_fn_error $? "conditional \"DX_COND_latex\" was never defined.
22554Usually this means the macro was only invoked conditionally." "$LINENO" 5
22555fi
22556if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
22557  as_fn_error $? "conditional \"DX_COND_latex\" was never defined.
22558Usually this means the macro was only invoked conditionally." "$LINENO" 5
22559fi
22560if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
22561  as_fn_error $? "conditional \"AMDEP\" was never defined.
22562Usually this means the macro was only invoked conditionally." "$LINENO" 5
22563fi
22564if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22565  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
22566Usually this means the macro was only invoked conditionally." "$LINENO" 5
22567fi
22568if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
22569  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
22570Usually this means the macro was only invoked conditionally." "$LINENO" 5
22571fi
22572if test -z "${BUILD_PTHREAD_TRUE}" && test -z "${BUILD_PTHREAD_FALSE}"; then
22573  as_fn_error $? "conditional \"BUILD_PTHREAD\" was never defined.
22574Usually this means the macro was only invoked conditionally." "$LINENO" 5
22575fi
22576if test -z "${BUILD_XMLSEC_TRUE}" && test -z "${BUILD_XMLSEC_FALSE}"; then
22577  as_fn_error $? "conditional \"BUILD_XMLSEC\" was never defined.
22578Usually this means the macro was only invoked conditionally." "$LINENO" 5
22579fi
22580if test -z "${BUILD_UNITTEST_TRUE}" && test -z "${BUILD_UNITTEST_FALSE}"; then
22581  as_fn_error $? "conditional \"BUILD_UNITTEST\" was never defined.
22582Usually this means the macro was only invoked conditionally." "$LINENO" 5
22583fi
22584
22585: "${CONFIG_STATUS=./config.status}"
22586ac_write_fail=0
22587ac_clean_files_save=$ac_clean_files
22588ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22589{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22590printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22591as_write_fail=0
22592cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22593#! $SHELL
22594# Generated by $as_me.
22595# Run this file to recreate the current configuration.
22596# Compiler output produced by configure, useful for debugging
22597# configure, is in config.log if it exists.
22598
22599debug=false
22600ac_cs_recheck=false
22601ac_cs_silent=false
22602
22603SHELL=\${CONFIG_SHELL-$SHELL}
22604export SHELL
22605_ASEOF
22606cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22607## -------------------- ##
22608## M4sh Initialization. ##
22609## -------------------- ##
22610
22611# Be more Bourne compatible
22612DUALCASE=1; export DUALCASE # for MKS sh
22613as_nop=:
22614if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22615then :
22616  emulate sh
22617  NULLCMD=:
22618  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22619  # is contrary to our usage.  Disable this feature.
22620  alias -g '${1+"$@"}'='"$@"'
22621  setopt NO_GLOB_SUBST
22622else $as_nop
22623  case `(set -o) 2>/dev/null` in #(
22624  *posix*) :
22625    set -o posix ;; #(
22626  *) :
22627     ;;
22628esac
22629fi
22630
22631
22632
22633# Reset variables that may have inherited troublesome values from
22634# the environment.
22635
22636# IFS needs to be set, to space, tab, and newline, in precisely that order.
22637# (If _AS_PATH_WALK were called with IFS unset, it would have the
22638# side effect of setting IFS to empty, thus disabling word splitting.)
22639# Quoting is to prevent editors from complaining about space-tab.
22640as_nl='
22641'
22642export as_nl
22643IFS=" ""	$as_nl"
22644
22645PS1='$ '
22646PS2='> '
22647PS4='+ '
22648
22649# Ensure predictable behavior from utilities with locale-dependent output.
22650LC_ALL=C
22651export LC_ALL
22652LANGUAGE=C
22653export LANGUAGE
22654
22655# We cannot yet rely on "unset" to work, but we need these variables
22656# to be unset--not just set to an empty or harmless value--now, to
22657# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
22658# also avoids known problems related to "unset" and subshell syntax
22659# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22660for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
22661do eval test \${$as_var+y} \
22662  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22663done
22664
22665# Ensure that fds 0, 1, and 2 are open.
22666if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
22667if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
22668if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
22669
22670# The user is always right.
22671if ${PATH_SEPARATOR+false} :; then
22672  PATH_SEPARATOR=:
22673  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22674    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22675      PATH_SEPARATOR=';'
22676  }
22677fi
22678
22679
22680# Find who we are.  Look in the path if we contain no directory separator.
22681as_myself=
22682case $0 in #((
22683  *[\\/]* ) as_myself=$0 ;;
22684  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22685for as_dir in $PATH
22686do
22687  IFS=$as_save_IFS
22688  case $as_dir in #(((
22689    '') as_dir=./ ;;
22690    */) ;;
22691    *) as_dir=$as_dir/ ;;
22692  esac
22693    test -r "$as_dir$0" && as_myself=$as_dir$0 && break
22694  done
22695IFS=$as_save_IFS
22696
22697     ;;
22698esac
22699# We did not find ourselves, most probably we were run as `sh COMMAND'
22700# in which case we are not to be found in the path.
22701if test "x$as_myself" = x; then
22702  as_myself=$0
22703fi
22704if test ! -f "$as_myself"; then
22705  printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22706  exit 1
22707fi
22708
22709
22710
22711# as_fn_error STATUS ERROR [LINENO LOG_FD]
22712# ----------------------------------------
22713# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22714# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22715# script with STATUS, using 1 if that was 0.
22716as_fn_error ()
22717{
22718  as_status=$1; test $as_status -eq 0 && as_status=1
22719  if test "$4"; then
22720    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22721    printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22722  fi
22723  printf "%s\n" "$as_me: error: $2" >&2
22724  as_fn_exit $as_status
22725} # as_fn_error
22726
22727
22728
22729# as_fn_set_status STATUS
22730# -----------------------
22731# Set $? to STATUS, without forking.
22732as_fn_set_status ()
22733{
22734  return $1
22735} # as_fn_set_status
22736
22737# as_fn_exit STATUS
22738# -----------------
22739# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22740as_fn_exit ()
22741{
22742  set +e
22743  as_fn_set_status $1
22744  exit $1
22745} # as_fn_exit
22746
22747# as_fn_unset VAR
22748# ---------------
22749# Portably unset VAR.
22750as_fn_unset ()
22751{
22752  { eval $1=; unset $1;}
22753}
22754as_unset=as_fn_unset
22755
22756# as_fn_append VAR VALUE
22757# ----------------------
22758# Append the text in VALUE to the end of the definition contained in VAR. Take
22759# advantage of any shell optimizations that allow amortized linear growth over
22760# repeated appends, instead of the typical quadratic growth present in naive
22761# implementations.
22762if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
22763then :
22764  eval 'as_fn_append ()
22765  {
22766    eval $1+=\$2
22767  }'
22768else $as_nop
22769  as_fn_append ()
22770  {
22771    eval $1=\$$1\$2
22772  }
22773fi # as_fn_append
22774
22775# as_fn_arith ARG...
22776# ------------------
22777# Perform arithmetic evaluation on the ARGs, and store the result in the
22778# global $as_val. Take advantage of shells that can avoid forks. The arguments
22779# must be portable across $(()) and expr.
22780if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
22781then :
22782  eval 'as_fn_arith ()
22783  {
22784    as_val=$(( $* ))
22785  }'
22786else $as_nop
22787  as_fn_arith ()
22788  {
22789    as_val=`expr "$@" || test $? -eq 1`
22790  }
22791fi # as_fn_arith
22792
22793
22794if expr a : '\(a\)' >/dev/null 2>&1 &&
22795   test "X`expr 00001 : '.*\(...\)'`" = X001; then
22796  as_expr=expr
22797else
22798  as_expr=false
22799fi
22800
22801if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22802  as_basename=basename
22803else
22804  as_basename=false
22805fi
22806
22807if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22808  as_dirname=dirname
22809else
22810  as_dirname=false
22811fi
22812
22813as_me=`$as_basename -- "$0" ||
22814$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22815	 X"$0" : 'X\(//\)$' \| \
22816	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22817printf "%s\n" X/"$0" |
22818    sed '/^.*\/\([^/][^/]*\)\/*$/{
22819	    s//\1/
22820	    q
22821	  }
22822	  /^X\/\(\/\/\)$/{
22823	    s//\1/
22824	    q
22825	  }
22826	  /^X\/\(\/\).*/{
22827	    s//\1/
22828	    q
22829	  }
22830	  s/.*/./; q'`
22831
22832# Avoid depending upon Character Ranges.
22833as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22834as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22835as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22836as_cr_digits='0123456789'
22837as_cr_alnum=$as_cr_Letters$as_cr_digits
22838
22839
22840# Determine whether it's possible to make 'echo' print without a newline.
22841# These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22842# for compatibility with existing Makefiles.
22843ECHO_C= ECHO_N= ECHO_T=
22844case `echo -n x` in #(((((
22845-n*)
22846  case `echo 'xy\c'` in
22847  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
22848  xy)  ECHO_C='\c';;
22849  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
22850       ECHO_T='	';;
22851  esac;;
22852*)
22853  ECHO_N='-n';;
22854esac
22855
22856# For backward compatibility with old third-party macros, we provide
22857# the shell variables $as_echo and $as_echo_n.  New code should use
22858# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22859as_echo='printf %s\n'
22860as_echo_n='printf %s'
22861
22862rm -f conf$$ conf$$.exe conf$$.file
22863if test -d conf$$.dir; then
22864  rm -f conf$$.dir/conf$$.file
22865else
22866  rm -f conf$$.dir
22867  mkdir conf$$.dir 2>/dev/null
22868fi
22869if (echo >conf$$.file) 2>/dev/null; then
22870  if ln -s conf$$.file conf$$ 2>/dev/null; then
22871    as_ln_s='ln -s'
22872    # ... but there are two gotchas:
22873    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22874    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22875    # In both cases, we have to default to `cp -pR'.
22876    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22877      as_ln_s='cp -pR'
22878  elif ln conf$$.file conf$$ 2>/dev/null; then
22879    as_ln_s=ln
22880  else
22881    as_ln_s='cp -pR'
22882  fi
22883else
22884  as_ln_s='cp -pR'
22885fi
22886rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22887rmdir conf$$.dir 2>/dev/null
22888
22889
22890# as_fn_mkdir_p
22891# -------------
22892# Create "$as_dir" as a directory, including parents if necessary.
22893as_fn_mkdir_p ()
22894{
22895
22896  case $as_dir in #(
22897  -*) as_dir=./$as_dir;;
22898  esac
22899  test -d "$as_dir" || eval $as_mkdir_p || {
22900    as_dirs=
22901    while :; do
22902      case $as_dir in #(
22903      *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22904      *) as_qdir=$as_dir;;
22905      esac
22906      as_dirs="'$as_qdir' $as_dirs"
22907      as_dir=`$as_dirname -- "$as_dir" ||
22908$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22909	 X"$as_dir" : 'X\(//\)[^/]' \| \
22910	 X"$as_dir" : 'X\(//\)$' \| \
22911	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22912printf "%s\n" X"$as_dir" |
22913    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22914	    s//\1/
22915	    q
22916	  }
22917	  /^X\(\/\/\)[^/].*/{
22918	    s//\1/
22919	    q
22920	  }
22921	  /^X\(\/\/\)$/{
22922	    s//\1/
22923	    q
22924	  }
22925	  /^X\(\/\).*/{
22926	    s//\1/
22927	    q
22928	  }
22929	  s/.*/./; q'`
22930      test -d "$as_dir" && break
22931    done
22932    test -z "$as_dirs" || eval "mkdir $as_dirs"
22933  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22934
22935
22936} # as_fn_mkdir_p
22937if mkdir -p . 2>/dev/null; then
22938  as_mkdir_p='mkdir -p "$as_dir"'
22939else
22940  test -d ./-p && rmdir ./-p
22941  as_mkdir_p=false
22942fi
22943
22944
22945# as_fn_executable_p FILE
22946# -----------------------
22947# Test if FILE is an executable regular file.
22948as_fn_executable_p ()
22949{
22950  test -f "$1" && test -x "$1"
22951} # as_fn_executable_p
22952as_test_x='test -x'
22953as_executable_p=as_fn_executable_p
22954
22955# Sed expression to map a string onto a valid CPP name.
22956as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22957
22958# Sed expression to map a string onto a valid variable name.
22959as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22960
22961
22962exec 6>&1
22963## ----------------------------------- ##
22964## Main body of $CONFIG_STATUS script. ##
22965## ----------------------------------- ##
22966_ASEOF
22967test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22968
22969cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22970# Save the log message, to keep $0 and so on meaningful, and to
22971# report actual input values of CONFIG_FILES etc. instead of their
22972# values after options handling.
22973ac_log="
22974This file was extended by xmltooling $as_me 3.2.1, which was
22975generated by GNU Autoconf 2.71.  Invocation command line was
22976
22977  CONFIG_FILES    = $CONFIG_FILES
22978  CONFIG_HEADERS  = $CONFIG_HEADERS
22979  CONFIG_LINKS    = $CONFIG_LINKS
22980  CONFIG_COMMANDS = $CONFIG_COMMANDS
22981  $ $0 $@
22982
22983on `(hostname || uname -n) 2>/dev/null | sed 1q`
22984"
22985
22986_ACEOF
22987
22988case $ac_config_files in *"
22989"*) set x $ac_config_files; shift; ac_config_files=$*;;
22990esac
22991
22992case $ac_config_headers in *"
22993"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22994esac
22995
22996
22997cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22998# Files that config.status was made for.
22999config_files="$ac_config_files"
23000config_headers="$ac_config_headers"
23001config_commands="$ac_config_commands"
23002
23003_ACEOF
23004
23005cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23006ac_cs_usage="\
23007\`$as_me' instantiates files and other configuration actions
23008from templates according to the current configuration.  Unless the files
23009and actions are specified as TAGs, all are instantiated by default.
23010
23011Usage: $0 [OPTION]... [TAG]...
23012
23013  -h, --help       print this help, then exit
23014  -V, --version    print version number and configuration settings, then exit
23015      --config     print configuration, then exit
23016  -q, --quiet, --silent
23017                   do not print progress messages
23018  -d, --debug      don't remove temporary files
23019      --recheck    update $as_me by reconfiguring in the same conditions
23020      --file=FILE[:TEMPLATE]
23021                   instantiate the configuration file FILE
23022      --header=FILE[:TEMPLATE]
23023                   instantiate the configuration header FILE
23024
23025Configuration files:
23026$config_files
23027
23028Configuration headers:
23029$config_headers
23030
23031Configuration commands:
23032$config_commands
23033
23034Report bugs to <https://shibboleth.atlassian.net/jira>."
23035
23036_ACEOF
23037ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
23038ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
23039cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23040ac_cs_config='$ac_cs_config_escaped'
23041ac_cs_version="\\
23042xmltooling config.status 3.2.1
23043configured by $0, generated by GNU Autoconf 2.71,
23044  with options \\"\$ac_cs_config\\"
23045
23046Copyright (C) 2021 Free Software Foundation, Inc.
23047This config.status script is free software; the Free Software Foundation
23048gives unlimited permission to copy, distribute and modify it."
23049
23050ac_pwd='$ac_pwd'
23051srcdir='$srcdir'
23052INSTALL='$INSTALL'
23053MKDIR_P='$MKDIR_P'
23054AWK='$AWK'
23055test -n "\$AWK" || AWK=awk
23056_ACEOF
23057
23058cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23059# The default lists apply if the user does not specify any file.
23060ac_need_defaults=:
23061while test $# != 0
23062do
23063  case $1 in
23064  --*=?*)
23065    ac_option=`expr "X$1" : 'X\([^=]*\)='`
23066    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
23067    ac_shift=:
23068    ;;
23069  --*=)
23070    ac_option=`expr "X$1" : 'X\([^=]*\)='`
23071    ac_optarg=
23072    ac_shift=:
23073    ;;
23074  *)
23075    ac_option=$1
23076    ac_optarg=$2
23077    ac_shift=shift
23078    ;;
23079  esac
23080
23081  case $ac_option in
23082  # Handling of the options.
23083  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23084    ac_cs_recheck=: ;;
23085  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
23086    printf "%s\n" "$ac_cs_version"; exit ;;
23087  --config | --confi | --conf | --con | --co | --c )
23088    printf "%s\n" "$ac_cs_config"; exit ;;
23089  --debug | --debu | --deb | --de | --d | -d )
23090    debug=: ;;
23091  --file | --fil | --fi | --f )
23092    $ac_shift
23093    case $ac_optarg in
23094    *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23095    '') as_fn_error $? "missing file argument" ;;
23096    esac
23097    as_fn_append CONFIG_FILES " '$ac_optarg'"
23098    ac_need_defaults=false;;
23099  --header | --heade | --head | --hea )
23100    $ac_shift
23101    case $ac_optarg in
23102    *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23103    esac
23104    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
23105    ac_need_defaults=false;;
23106  --he | --h)
23107    # Conflict between --help and --header
23108    as_fn_error $? "ambiguous option: \`$1'
23109Try \`$0 --help' for more information.";;
23110  --help | --hel | -h )
23111    printf "%s\n" "$ac_cs_usage"; exit ;;
23112  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23113  | -silent | --silent | --silen | --sile | --sil | --si | --s)
23114    ac_cs_silent=: ;;
23115
23116  # This is an error.
23117  -*) as_fn_error $? "unrecognized option: \`$1'
23118Try \`$0 --help' for more information." ;;
23119
23120  *) as_fn_append ac_config_targets " $1"
23121     ac_need_defaults=false ;;
23122
23123  esac
23124  shift
23125done
23126
23127ac_configure_extra_args=
23128
23129if $ac_cs_silent; then
23130  exec 6>/dev/null
23131  ac_configure_extra_args="$ac_configure_extra_args --silent"
23132fi
23133
23134_ACEOF
23135cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23136if \$ac_cs_recheck; then
23137  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23138  shift
23139  \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23140  CONFIG_SHELL='$SHELL'
23141  export CONFIG_SHELL
23142  exec "\$@"
23143fi
23144
23145_ACEOF
23146cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23147exec 5>>config.log
23148{
23149  echo
23150  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23151## Running $as_me. ##
23152_ASBOX
23153  printf "%s\n" "$ac_log"
23154} >&5
23155
23156_ACEOF
23157cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23158#
23159# INIT-COMMANDS
23160#
23161AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
23162
23163
23164# The HP-UX ksh and POSIX shell print the target directory to stdout
23165# if CDPATH is set.
23166(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
23167
23168sed_quote_subst='$sed_quote_subst'
23169double_quote_subst='$double_quote_subst'
23170delay_variable_subst='$delay_variable_subst'
23171macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
23172macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
23173enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
23174enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
23175pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
23176enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
23177shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
23178SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
23179ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
23180PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
23181host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
23182host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
23183host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
23184build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
23185build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
23186build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
23187SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
23188Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
23189GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
23190EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
23191FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
23192LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
23193NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
23194LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
23195max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
23196ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
23197exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
23198lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
23199lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
23200lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
23201lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
23202lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
23203reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
23204reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
23205OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
23206deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
23207file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
23208file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
23209want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
23210DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
23211sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
23212AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
23213AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
23214archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
23215STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
23216RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
23217old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
23218old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
23219old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
23220lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
23221CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
23222CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
23223compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
23224GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
23225lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
23226lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
23227lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
23228lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
23229lt_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"`'
23230lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
23231nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
23232lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
23233lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
23234objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
23235MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
23236lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
23237lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
23238lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
23239lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
23240lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
23241need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
23242MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
23243DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
23244NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
23245LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
23246OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
23247OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
23248libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
23249shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
23250extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
23251archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
23252enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
23253export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
23254whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
23255compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
23256old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
23257old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
23258archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
23259archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
23260module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
23261module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
23262with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
23263allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
23264no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
23265hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
23266hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
23267hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
23268hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
23269hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
23270hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
23271hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
23272inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
23273link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
23274always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
23275export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
23276exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
23277include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
23278prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
23279postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
23280file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
23281variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
23282need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
23283need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
23284version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
23285runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
23286shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
23287shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
23288libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
23289library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
23290soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
23291install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
23292postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
23293postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
23294finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
23295finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
23296hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
23297sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
23298configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
23299configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
23300hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
23301enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
23302enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
23303enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
23304old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
23305striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
23306compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
23307predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
23308postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
23309predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
23310postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
23311compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
23312LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
23313reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
23314reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23315old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23316compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
23317GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
23318lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
23319lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
23320lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
23321lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
23322lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
23323archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
23324enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
23325export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
23326whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
23327compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
23328old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23329old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23330archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23331archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23332module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23333module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23334with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
23335allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
23336no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
23337hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
23338hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
23339hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
23340hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
23341hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
23342hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
23343hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
23344inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
23345link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
23346always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
23347export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23348exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
23349include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
23350prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23351postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23352file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
23353hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
23354compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
23355predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
23356postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
23357predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
23358postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
23359compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
23360
23361LTCC='$LTCC'
23362LTCFLAGS='$LTCFLAGS'
23363compiler='$compiler_DEFAULT'
23364
23365# A function that is used when there is no print builtin or printf.
23366func_fallback_echo ()
23367{
23368  eval 'cat <<_LTECHO_EOF
23369\$1
23370_LTECHO_EOF'
23371}
23372
23373# Quote evaled strings.
23374for var in SHELL \
23375ECHO \
23376PATH_SEPARATOR \
23377SED \
23378GREP \
23379EGREP \
23380FGREP \
23381LD \
23382NM \
23383LN_S \
23384lt_SP2NL \
23385lt_NL2SP \
23386reload_flag \
23387OBJDUMP \
23388deplibs_check_method \
23389file_magic_cmd \
23390file_magic_glob \
23391want_nocaseglob \
23392DLLTOOL \
23393sharedlib_from_linklib_cmd \
23394AR \
23395AR_FLAGS \
23396archiver_list_spec \
23397STRIP \
23398RANLIB \
23399CC \
23400CFLAGS \
23401compiler \
23402lt_cv_sys_global_symbol_pipe \
23403lt_cv_sys_global_symbol_to_cdecl \
23404lt_cv_sys_global_symbol_to_import \
23405lt_cv_sys_global_symbol_to_c_name_address \
23406lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
23407lt_cv_nm_interface \
23408nm_file_list_spec \
23409lt_cv_truncate_bin \
23410lt_prog_compiler_no_builtin_flag \
23411lt_prog_compiler_pic \
23412lt_prog_compiler_wl \
23413lt_prog_compiler_static \
23414lt_cv_prog_compiler_c_o \
23415need_locks \
23416MANIFEST_TOOL \
23417DSYMUTIL \
23418NMEDIT \
23419LIPO \
23420OTOOL \
23421OTOOL64 \
23422shrext_cmds \
23423export_dynamic_flag_spec \
23424whole_archive_flag_spec \
23425compiler_needs_object \
23426with_gnu_ld \
23427allow_undefined_flag \
23428no_undefined_flag \
23429hardcode_libdir_flag_spec \
23430hardcode_libdir_separator \
23431exclude_expsyms \
23432include_expsyms \
23433file_list_spec \
23434variables_saved_for_relink \
23435libname_spec \
23436library_names_spec \
23437soname_spec \
23438install_override_mode \
23439finish_eval \
23440old_striplib \
23441striplib \
23442compiler_lib_search_dirs \
23443predep_objects \
23444postdep_objects \
23445predeps \
23446postdeps \
23447compiler_lib_search_path \
23448LD_CXX \
23449reload_flag_CXX \
23450compiler_CXX \
23451lt_prog_compiler_no_builtin_flag_CXX \
23452lt_prog_compiler_pic_CXX \
23453lt_prog_compiler_wl_CXX \
23454lt_prog_compiler_static_CXX \
23455lt_cv_prog_compiler_c_o_CXX \
23456export_dynamic_flag_spec_CXX \
23457whole_archive_flag_spec_CXX \
23458compiler_needs_object_CXX \
23459with_gnu_ld_CXX \
23460allow_undefined_flag_CXX \
23461no_undefined_flag_CXX \
23462hardcode_libdir_flag_spec_CXX \
23463hardcode_libdir_separator_CXX \
23464exclude_expsyms_CXX \
23465include_expsyms_CXX \
23466file_list_spec_CXX \
23467compiler_lib_search_dirs_CXX \
23468predep_objects_CXX \
23469postdep_objects_CXX \
23470predeps_CXX \
23471postdeps_CXX \
23472compiler_lib_search_path_CXX; do
23473    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
23474    *[\\\\\\\`\\"\\\$]*)
23475      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
23476      ;;
23477    *)
23478      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
23479      ;;
23480    esac
23481done
23482
23483# Double-quote double-evaled strings.
23484for var in reload_cmds \
23485old_postinstall_cmds \
23486old_postuninstall_cmds \
23487old_archive_cmds \
23488extract_expsyms_cmds \
23489old_archive_from_new_cmds \
23490old_archive_from_expsyms_cmds \
23491archive_cmds \
23492archive_expsym_cmds \
23493module_cmds \
23494module_expsym_cmds \
23495export_symbols_cmds \
23496prelink_cmds \
23497postlink_cmds \
23498postinstall_cmds \
23499postuninstall_cmds \
23500finish_cmds \
23501sys_lib_search_path_spec \
23502configure_time_dlsearch_path \
23503configure_time_lt_sys_library_path \
23504reload_cmds_CXX \
23505old_archive_cmds_CXX \
23506old_archive_from_new_cmds_CXX \
23507old_archive_from_expsyms_cmds_CXX \
23508archive_cmds_CXX \
23509archive_expsym_cmds_CXX \
23510module_cmds_CXX \
23511module_expsym_cmds_CXX \
23512export_symbols_cmds_CXX \
23513prelink_cmds_CXX \
23514postlink_cmds_CXX; do
23515    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
23516    *[\\\\\\\`\\"\\\$]*)
23517      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
23518      ;;
23519    *)
23520      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
23521      ;;
23522    esac
23523done
23524
23525ac_aux_dir='$ac_aux_dir'
23526
23527# See if we are running on zsh, and set the options that allow our
23528# commands through without removal of \ escapes INIT.
23529if test -n "\${ZSH_VERSION+set}"; then
23530   setopt NO_GLOB_SUBST
23531fi
23532
23533
23534    PACKAGE='$PACKAGE'
23535    VERSION='$VERSION'
23536    RM='$RM'
23537    ofile='$ofile'
23538
23539
23540
23541
23542
23543
23544_ACEOF
23545
23546cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23547
23548# Handling of arguments.
23549for ac_config_target in $ac_config_targets
23550do
23551  case $ac_config_target in
23552    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
23553    "xmltooling/config_pub.h") CONFIG_HEADERS="$CONFIG_HEADERS xmltooling/config_pub.h" ;;
23554    "xmltooling.spec") CONFIG_FILES="$CONFIG_FILES xmltooling.spec" ;;
23555    "xmltooling.pc") CONFIG_FILES="$CONFIG_FILES xmltooling.pc" ;;
23556    "xmltooling-lite.pc") CONFIG_FILES="$CONFIG_FILES xmltooling-lite.pc" ;;
23557    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
23558    "xmltooling/Makefile") CONFIG_FILES="$CONFIG_FILES xmltooling/Makefile" ;;
23559    "xmltoolingtest/Makefile") CONFIG_FILES="$CONFIG_FILES xmltoolingtest/Makefile" ;;
23560    "schemas/Makefile") CONFIG_FILES="$CONFIG_FILES schemas/Makefile" ;;
23561    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
23562    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
23563    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
23564
23565  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23566  esac
23567done
23568
23569
23570# If the user did not use the arguments to specify the items to instantiate,
23571# then the envvar interface is used.  Set only those that are not.
23572# We use the long form for the default assignment because of an extremely
23573# bizarre bug on SunOS 4.1.3.
23574if $ac_need_defaults; then
23575  test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
23576  test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23577  test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23578fi
23579
23580# Have a temporary directory for convenience.  Make it in the build tree
23581# simply because there is no reason against having it here, and in addition,
23582# creating and moving files from /tmp can sometimes cause problems.
23583# Hook for its removal unless debugging.
23584# Note that there is a small window in which the directory will not be cleaned:
23585# after its creation but before its name has been assigned to `$tmp'.
23586$debug ||
23587{
23588  tmp= ac_tmp=
23589  trap 'exit_status=$?
23590  : "${ac_tmp:=$tmp}"
23591  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23592' 0
23593  trap 'as_fn_exit 1' 1 2 13 15
23594}
23595# Create a (secure) tmp directory for tmp files.
23596
23597{
23598  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23599  test -d "$tmp"
23600}  ||
23601{
23602  tmp=./conf$$-$RANDOM
23603  (umask 077 && mkdir "$tmp")
23604} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23605ac_tmp=$tmp
23606
23607# Set up the scripts for CONFIG_FILES section.
23608# No need to generate them if there are no CONFIG_FILES.
23609# This happens for instance with `./config.status config.h'.
23610if test -n "$CONFIG_FILES"; then
23611
23612
23613ac_cr=`echo X | tr X '\015'`
23614# On cygwin, bash can eat \r inside `` if the user requested igncr.
23615# But we know of no other shell where ac_cr would be empty at this
23616# point, so we can use a bashism as a fallback.
23617if test "x$ac_cr" = x; then
23618  eval ac_cr=\$\'\\r\'
23619fi
23620ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
23621if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
23622  ac_cs_awk_cr='\\r'
23623else
23624  ac_cs_awk_cr=$ac_cr
23625fi
23626
23627echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
23628_ACEOF
23629
23630
23631{
23632  echo "cat >conf$$subs.awk <<_ACEOF" &&
23633  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
23634  echo "_ACEOF"
23635} >conf$$subs.sh ||
23636  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
23637ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
23638ac_delim='%!_!# '
23639for ac_last_try in false false false false false :; do
23640  . ./conf$$subs.sh ||
23641    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
23642
23643  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
23644  if test $ac_delim_n = $ac_delim_num; then
23645    break
23646  elif $ac_last_try; then
23647    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
23648  else
23649    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23650  fi
23651done
23652rm -f conf$$subs.sh
23653
23654cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23655cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
23656_ACEOF
23657sed -n '
23658h
23659s/^/S["/; s/!.*/"]=/
23660p
23661g
23662s/^[^!]*!//
23663:repl
23664t repl
23665s/'"$ac_delim"'$//
23666t delim
23667:nl
23668h
23669s/\(.\{148\}\)..*/\1/
23670t more1
23671s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
23672p
23673n
23674b repl
23675:more1
23676s/["\\]/\\&/g; s/^/"/; s/$/"\\/
23677p
23678g
23679s/.\{148\}//
23680t nl
23681:delim
23682h
23683s/\(.\{148\}\)..*/\1/
23684t more2
23685s/["\\]/\\&/g; s/^/"/; s/$/"/
23686p
23687b
23688:more2
23689s/["\\]/\\&/g; s/^/"/; s/$/"\\/
23690p
23691g
23692s/.\{148\}//
23693t delim
23694' <conf$$subs.awk | sed '
23695/^[^""]/{
23696  N
23697  s/\n//
23698}
23699' >>$CONFIG_STATUS || ac_write_fail=1
23700rm -f conf$$subs.awk
23701cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23702_ACAWK
23703cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
23704  for (key in S) S_is_set[key] = 1
23705  FS = ""
23706
23707}
23708{
23709  line = $ 0
23710  nfields = split(line, field, "@")
23711  substed = 0
23712  len = length(field[1])
23713  for (i = 2; i < nfields; i++) {
23714    key = field[i]
23715    keylen = length(key)
23716    if (S_is_set[key]) {
23717      value = S[key]
23718      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
23719      len += length(value) + length(field[++i])
23720      substed = 1
23721    } else
23722      len += 1 + keylen
23723  }
23724
23725  print line
23726}
23727
23728_ACAWK
23729_ACEOF
23730cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23731if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
23732  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
23733else
23734  cat
23735fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
23736  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
23737_ACEOF
23738
23739# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
23740# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
23741# trailing colons and then remove the whole line if VPATH becomes empty
23742# (actually we leave an empty line to preserve line numbers).
23743if test "x$srcdir" = x.; then
23744  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
23745h
23746s///
23747s/^/:/
23748s/[	 ]*$/:/
23749s/:\$(srcdir):/:/g
23750s/:\${srcdir}:/:/g
23751s/:@srcdir@:/:/g
23752s/^:*//
23753s/:*$//
23754x
23755s/\(=[	 ]*\).*/\1/
23756G
23757s/\n//
23758s/^[^=]*=[	 ]*$//
23759}'
23760fi
23761
23762cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23763fi # test -n "$CONFIG_FILES"
23764
23765# Set up the scripts for CONFIG_HEADERS section.
23766# No need to generate them if there are no CONFIG_HEADERS.
23767# This happens for instance with `./config.status Makefile'.
23768if test -n "$CONFIG_HEADERS"; then
23769cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23770BEGIN {
23771_ACEOF
23772
23773# Transform confdefs.h into an awk script `defines.awk', embedded as
23774# here-document in config.status, that substitutes the proper values into
23775# config.h.in to produce config.h.
23776
23777# Create a delimiter string that does not exist in confdefs.h, to ease
23778# handling of long lines.
23779ac_delim='%!_!# '
23780for ac_last_try in false false :; do
23781  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23782  if test -z "$ac_tt"; then
23783    break
23784  elif $ac_last_try; then
23785    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23786  else
23787    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23788  fi
23789done
23790
23791# For the awk script, D is an array of macro values keyed by name,
23792# likewise P contains macro parameters if any.  Preserve backslash
23793# newline sequences.
23794
23795ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23796sed -n '
23797s/.\{148\}/&'"$ac_delim"'/g
23798t rset
23799:rset
23800s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
23801t def
23802d
23803:def
23804s/\\$//
23805t bsnl
23806s/["\\]/\\&/g
23807s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
23808D["\1"]=" \3"/p
23809s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
23810d
23811:bsnl
23812s/["\\]/\\&/g
23813s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
23814D["\1"]=" \3\\\\\\n"\\/p
23815t cont
23816s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23817t cont
23818d
23819:cont
23820n
23821s/.\{148\}/&'"$ac_delim"'/g
23822t clear
23823:clear
23824s/\\$//
23825t bsnlc
23826s/["\\]/\\&/g; s/^/"/; s/$/"/p
23827d
23828:bsnlc
23829s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23830b cont
23831' <confdefs.h | sed '
23832s/'"$ac_delim"'/"\\\
23833"/g' >>$CONFIG_STATUS || ac_write_fail=1
23834
23835cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23836  for (key in D) D_is_set[key] = 1
23837  FS = ""
23838}
23839/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23840  line = \$ 0
23841  split(line, arg, " ")
23842  if (arg[1] == "#") {
23843    defundef = arg[2]
23844    mac1 = arg[3]
23845  } else {
23846    defundef = substr(arg[1], 2)
23847    mac1 = arg[2]
23848  }
23849  split(mac1, mac2, "(") #)
23850  macro = mac2[1]
23851  prefix = substr(line, 1, index(line, defundef) - 1)
23852  if (D_is_set[macro]) {
23853    # Preserve the white space surrounding the "#".
23854    print prefix "define", macro P[macro] D[macro]
23855    next
23856  } else {
23857    # Replace #undef with comments.  This is necessary, for example,
23858    # in the case of _POSIX_SOURCE, which is predefined and required
23859    # on some systems where configure will not decide to define it.
23860    if (defundef == "undef") {
23861      print "/*", prefix defundef, macro, "*/"
23862      next
23863    }
23864  }
23865}
23866{ print }
23867_ACAWK
23868_ACEOF
23869cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23870  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23871fi # test -n "$CONFIG_HEADERS"
23872
23873
23874eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
23875shift
23876for ac_tag
23877do
23878  case $ac_tag in
23879  :[FHLC]) ac_mode=$ac_tag; continue;;
23880  esac
23881  case $ac_mode$ac_tag in
23882  :[FHL]*:*);;
23883  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23884  :[FH]-) ac_tag=-:-;;
23885  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23886  esac
23887  ac_save_IFS=$IFS
23888  IFS=:
23889  set x $ac_tag
23890  IFS=$ac_save_IFS
23891  shift
23892  ac_file=$1
23893  shift
23894
23895  case $ac_mode in
23896  :L) ac_source=$1;;
23897  :[FH])
23898    ac_file_inputs=
23899    for ac_f
23900    do
23901      case $ac_f in
23902      -) ac_f="$ac_tmp/stdin";;
23903      *) # Look for the file first in the build tree, then in the source tree
23904	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
23905	 # because $ac_f cannot contain `:'.
23906	 test -f "$ac_f" ||
23907	   case $ac_f in
23908	   [\\/$]*) false;;
23909	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23910	   esac ||
23911	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23912      esac
23913      case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23914      as_fn_append ac_file_inputs " '$ac_f'"
23915    done
23916
23917    # Let's still pretend it is `configure' which instantiates (i.e., don't
23918    # use $as_me), people would be surprised to read:
23919    #    /* config.h.  Generated by config.status.  */
23920    configure_input='Generated from '`
23921	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23922	`' by configure.'
23923    if test x"$ac_file" != x-; then
23924      configure_input="$ac_file.  $configure_input"
23925      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23926printf "%s\n" "$as_me: creating $ac_file" >&6;}
23927    fi
23928    # Neutralize special characters interpreted by sed in replacement strings.
23929    case $configure_input in #(
23930    *\&* | *\|* | *\\* )
23931       ac_sed_conf_input=`printf "%s\n" "$configure_input" |
23932       sed 's/[\\\\&|]/\\\\&/g'`;; #(
23933    *) ac_sed_conf_input=$configure_input;;
23934    esac
23935
23936    case $ac_tag in
23937    *:-:* | *:-) cat >"$ac_tmp/stdin" \
23938      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23939    esac
23940    ;;
23941  esac
23942
23943  ac_dir=`$as_dirname -- "$ac_file" ||
23944$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23945	 X"$ac_file" : 'X\(//\)[^/]' \| \
23946	 X"$ac_file" : 'X\(//\)$' \| \
23947	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23948printf "%s\n" X"$ac_file" |
23949    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23950	    s//\1/
23951	    q
23952	  }
23953	  /^X\(\/\/\)[^/].*/{
23954	    s//\1/
23955	    q
23956	  }
23957	  /^X\(\/\/\)$/{
23958	    s//\1/
23959	    q
23960	  }
23961	  /^X\(\/\).*/{
23962	    s//\1/
23963	    q
23964	  }
23965	  s/.*/./; q'`
23966  as_dir="$ac_dir"; as_fn_mkdir_p
23967  ac_builddir=.
23968
23969case "$ac_dir" in
23970.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23971*)
23972  ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23973  # A ".." for each directory in $ac_dir_suffix.
23974  ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23975  case $ac_top_builddir_sub in
23976  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23977  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23978  esac ;;
23979esac
23980ac_abs_top_builddir=$ac_pwd
23981ac_abs_builddir=$ac_pwd$ac_dir_suffix
23982# for backward compatibility:
23983ac_top_builddir=$ac_top_build_prefix
23984
23985case $srcdir in
23986  .)  # We are building in place.
23987    ac_srcdir=.
23988    ac_top_srcdir=$ac_top_builddir_sub
23989    ac_abs_top_srcdir=$ac_pwd ;;
23990  [\\/]* | ?:[\\/]* )  # Absolute name.
23991    ac_srcdir=$srcdir$ac_dir_suffix;
23992    ac_top_srcdir=$srcdir
23993    ac_abs_top_srcdir=$srcdir ;;
23994  *) # Relative name.
23995    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23996    ac_top_srcdir=$ac_top_build_prefix$srcdir
23997    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23998esac
23999ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
24000
24001
24002  case $ac_mode in
24003  :F)
24004  #
24005  # CONFIG_FILE
24006  #
24007
24008  case $INSTALL in
24009  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
24010  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
24011  esac
24012  ac_MKDIR_P=$MKDIR_P
24013  case $MKDIR_P in
24014  [\\/$]* | ?:[\\/]* ) ;;
24015  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
24016  esac
24017_ACEOF
24018
24019cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24020# If the template does not know about datarootdir, expand it.
24021# FIXME: This hack should be removed a few years after 2.60.
24022ac_datarootdir_hack=; ac_datarootdir_seen=
24023ac_sed_dataroot='
24024/datarootdir/ {
24025  p
24026  q
24027}
24028/@datadir@/p
24029/@docdir@/p
24030/@infodir@/p
24031/@localedir@/p
24032/@mandir@/p'
24033case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
24034*datarootdir*) ac_datarootdir_seen=yes;;
24035*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
24036  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
24037printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
24038_ACEOF
24039cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24040  ac_datarootdir_hack='
24041  s&@datadir@&$datadir&g
24042  s&@docdir@&$docdir&g
24043  s&@infodir@&$infodir&g
24044  s&@localedir@&$localedir&g
24045  s&@mandir@&$mandir&g
24046  s&\\\${datarootdir}&$datarootdir&g' ;;
24047esac
24048_ACEOF
24049
24050# Neutralize VPATH when `$srcdir' = `.'.
24051# Shell code in configure.ac might set extrasub.
24052# FIXME: do we really want to maintain this feature?
24053cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24054ac_sed_extra="$ac_vpsub
24055$extrasub
24056_ACEOF
24057cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24058:t
24059/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24060s|@configure_input@|$ac_sed_conf_input|;t t
24061s&@top_builddir@&$ac_top_builddir_sub&;t t
24062s&@top_build_prefix@&$ac_top_build_prefix&;t t
24063s&@srcdir@&$ac_srcdir&;t t
24064s&@abs_srcdir@&$ac_abs_srcdir&;t t
24065s&@top_srcdir@&$ac_top_srcdir&;t t
24066s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
24067s&@builddir@&$ac_builddir&;t t
24068s&@abs_builddir@&$ac_abs_builddir&;t t
24069s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
24070s&@INSTALL@&$ac_INSTALL&;t t
24071s&@MKDIR_P@&$ac_MKDIR_P&;t t
24072$ac_datarootdir_hack
24073"
24074eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
24075  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24076
24077test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
24078  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
24079  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
24080      "$ac_tmp/out"`; test -z "$ac_out"; } &&
24081  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
24082which seems to be undefined.  Please make sure it is defined" >&5
24083printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
24084which seems to be undefined.  Please make sure it is defined" >&2;}
24085
24086  rm -f "$ac_tmp/stdin"
24087  case $ac_file in
24088  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
24089  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
24090  esac \
24091  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24092 ;;
24093  :H)
24094  #
24095  # CONFIG_HEADER
24096  #
24097  if test x"$ac_file" != x-; then
24098    {
24099      printf "%s\n" "/* $configure_input  */" >&1 \
24100      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
24101    } >"$ac_tmp/config.h" \
24102      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24103    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
24104      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
24105printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
24106    else
24107      rm -f "$ac_file"
24108      mv "$ac_tmp/config.h" "$ac_file" \
24109	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
24110    fi
24111  else
24112    printf "%s\n" "/* $configure_input  */" >&1 \
24113      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
24114      || as_fn_error $? "could not create -" "$LINENO" 5
24115  fi
24116# Compute "$ac_file"'s index in $config_headers.
24117_am_arg="$ac_file"
24118_am_stamp_count=1
24119for _am_header in $config_headers :; do
24120  case $_am_header in
24121    $_am_arg | $_am_arg:* )
24122      break ;;
24123    * )
24124      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
24125  esac
24126done
24127echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
24128$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24129	 X"$_am_arg" : 'X\(//\)[^/]' \| \
24130	 X"$_am_arg" : 'X\(//\)$' \| \
24131	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
24132printf "%s\n" X"$_am_arg" |
24133    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24134	    s//\1/
24135	    q
24136	  }
24137	  /^X\(\/\/\)[^/].*/{
24138	    s//\1/
24139	    q
24140	  }
24141	  /^X\(\/\/\)$/{
24142	    s//\1/
24143	    q
24144	  }
24145	  /^X\(\/\).*/{
24146	    s//\1/
24147	    q
24148	  }
24149	  s/.*/./; q'`/stamp-h$_am_stamp_count
24150 ;;
24151
24152  :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
24153printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
24154 ;;
24155  esac
24156
24157
24158  case $ac_file$ac_mode in
24159    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
24160  # Older Autoconf quotes --file arguments for eval, but not when files
24161  # are listed without --file.  Let's play safe and only enable the eval
24162  # if we detect the quoting.
24163  # TODO: see whether this extra hack can be removed once we start
24164  # requiring Autoconf 2.70 or later.
24165  case $CONFIG_FILES in #(
24166  *\'*) :
24167    eval set x "$CONFIG_FILES" ;; #(
24168  *) :
24169    set x $CONFIG_FILES ;; #(
24170  *) :
24171     ;;
24172esac
24173  shift
24174  # Used to flag and report bootstrapping failures.
24175  am_rc=0
24176  for am_mf
24177  do
24178    # Strip MF so we end up with the name of the file.
24179    am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
24180    # Check whether this is an Automake generated Makefile which includes
24181    # dependency-tracking related rules and includes.
24182    # Grep'ing the whole file directly is not great: AIX grep has a line
24183    # limit of 2048, but all sed's we know have understand at least 4000.
24184    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
24185      || continue
24186    am_dirpart=`$as_dirname -- "$am_mf" ||
24187$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24188	 X"$am_mf" : 'X\(//\)[^/]' \| \
24189	 X"$am_mf" : 'X\(//\)$' \| \
24190	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
24191printf "%s\n" X"$am_mf" |
24192    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24193	    s//\1/
24194	    q
24195	  }
24196	  /^X\(\/\/\)[^/].*/{
24197	    s//\1/
24198	    q
24199	  }
24200	  /^X\(\/\/\)$/{
24201	    s//\1/
24202	    q
24203	  }
24204	  /^X\(\/\).*/{
24205	    s//\1/
24206	    q
24207	  }
24208	  s/.*/./; q'`
24209    am_filepart=`$as_basename -- "$am_mf" ||
24210$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
24211	 X"$am_mf" : 'X\(//\)$' \| \
24212	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
24213printf "%s\n" X/"$am_mf" |
24214    sed '/^.*\/\([^/][^/]*\)\/*$/{
24215	    s//\1/
24216	    q
24217	  }
24218	  /^X\/\(\/\/\)$/{
24219	    s//\1/
24220	    q
24221	  }
24222	  /^X\/\(\/\).*/{
24223	    s//\1/
24224	    q
24225	  }
24226	  s/.*/./; q'`
24227    { echo "$as_me:$LINENO: cd "$am_dirpart" \
24228      && sed -e '/# am--include-marker/d' "$am_filepart" \
24229        | $MAKE -f - am--depfiles" >&5
24230   (cd "$am_dirpart" \
24231      && sed -e '/# am--include-marker/d' "$am_filepart" \
24232        | $MAKE -f - am--depfiles) >&5 2>&5
24233   ac_status=$?
24234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24235   (exit $ac_status); } || am_rc=$?
24236  done
24237  if test $am_rc -ne 0; then
24238    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24239printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
24240as_fn_error $? "Something went wrong bootstrapping makefile fragments
24241    for automatic dependency tracking.  If GNU make was not used, consider
24242    re-running the configure script with MAKE=\"gmake\" (or whatever is
24243    necessary).  You can also try re-running configure with the
24244    '--disable-dependency-tracking' option to at least be able to build
24245    the package (albeit without support for automatic dependency tracking).
24246See \`config.log' for more details" "$LINENO" 5; }
24247  fi
24248  { am_dirpart=; unset am_dirpart;}
24249  { am_filepart=; unset am_filepart;}
24250  { am_mf=; unset am_mf;}
24251  { am_rc=; unset am_rc;}
24252  rm -f conftest-deps.mk
24253}
24254 ;;
24255    "libtool":C)
24256
24257    # See if we are running on zsh, and set the options that allow our
24258    # commands through without removal of \ escapes.
24259    if test -n "${ZSH_VERSION+set}"; then
24260      setopt NO_GLOB_SUBST
24261    fi
24262
24263    cfgfile=${ofile}T
24264    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
24265    $RM "$cfgfile"
24266
24267    cat <<_LT_EOF >> "$cfgfile"
24268#! $SHELL
24269# Generated automatically by $as_me ($PACKAGE) $VERSION
24270# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
24271# NOTE: Changes made to this file will be lost: look at ltmain.sh.
24272
24273# Provide generalized library-building support services.
24274# Written by Gordon Matzigkeit, 1996
24275
24276# Copyright (C) 2014 Free Software Foundation, Inc.
24277# This is free software; see the source for copying conditions.  There is NO
24278# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
24279
24280# GNU Libtool is free software; you can redistribute it and/or modify
24281# it under the terms of the GNU General Public License as published by
24282# the Free Software Foundation; either version 2 of of the License, or
24283# (at your option) any later version.
24284#
24285# As a special exception to the GNU General Public License, if you
24286# distribute this file as part of a program or library that is built
24287# using GNU Libtool, you may include this file under the  same
24288# distribution terms that you use for the rest of that program.
24289#
24290# GNU Libtool is distributed in the hope that it will be useful, but
24291# WITHOUT ANY WARRANTY; without even the implied warranty of
24292# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
24293# GNU General Public License for more details.
24294#
24295# You should have received a copy of the GNU General Public License
24296# along with this program.  If not, see <http://www.gnu.org/licenses/>.
24297
24298
24299# The names of the tagged configurations supported by this script.
24300available_tags='CXX '
24301
24302# Configured defaults for sys_lib_dlsearch_path munging.
24303: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
24304
24305# ### BEGIN LIBTOOL CONFIG
24306
24307# Which release of libtool.m4 was used?
24308macro_version=$macro_version
24309macro_revision=$macro_revision
24310
24311# Whether or not to build static libraries.
24312build_old_libs=$enable_static
24313
24314# Whether or not to build shared libraries.
24315build_libtool_libs=$enable_shared
24316
24317# What type of objects to build.
24318pic_mode=$pic_mode
24319
24320# Whether or not to optimize for fast installation.
24321fast_install=$enable_fast_install
24322
24323# Shared archive member basename,for filename based shared library versioning on AIX.
24324shared_archive_member_spec=$shared_archive_member_spec
24325
24326# Shell to use when invoking shell scripts.
24327SHELL=$lt_SHELL
24328
24329# An echo program that protects backslashes.
24330ECHO=$lt_ECHO
24331
24332# The PATH separator for the build system.
24333PATH_SEPARATOR=$lt_PATH_SEPARATOR
24334
24335# The host system.
24336host_alias=$host_alias
24337host=$host
24338host_os=$host_os
24339
24340# The build system.
24341build_alias=$build_alias
24342build=$build
24343build_os=$build_os
24344
24345# A sed program that does not truncate output.
24346SED=$lt_SED
24347
24348# Sed that helps us avoid accidentally triggering echo(1) options like -n.
24349Xsed="\$SED -e 1s/^X//"
24350
24351# A grep program that handles long lines.
24352GREP=$lt_GREP
24353
24354# An ERE matcher.
24355EGREP=$lt_EGREP
24356
24357# A literal string matcher.
24358FGREP=$lt_FGREP
24359
24360# A BSD- or MS-compatible name lister.
24361NM=$lt_NM
24362
24363# Whether we need soft or hard links.
24364LN_S=$lt_LN_S
24365
24366# What is the maximum length of a command?
24367max_cmd_len=$max_cmd_len
24368
24369# Object file suffix (normally "o").
24370objext=$ac_objext
24371
24372# Executable file suffix (normally "").
24373exeext=$exeext
24374
24375# whether the shell understands "unset".
24376lt_unset=$lt_unset
24377
24378# turn spaces into newlines.
24379SP2NL=$lt_lt_SP2NL
24380
24381# turn newlines into spaces.
24382NL2SP=$lt_lt_NL2SP
24383
24384# convert \$build file names to \$host format.
24385to_host_file_cmd=$lt_cv_to_host_file_cmd
24386
24387# convert \$build files to toolchain format.
24388to_tool_file_cmd=$lt_cv_to_tool_file_cmd
24389
24390# An object symbol dumper.
24391OBJDUMP=$lt_OBJDUMP
24392
24393# Method to check whether dependent libraries are shared objects.
24394deplibs_check_method=$lt_deplibs_check_method
24395
24396# Command to use when deplibs_check_method = "file_magic".
24397file_magic_cmd=$lt_file_magic_cmd
24398
24399# How to find potential files when deplibs_check_method = "file_magic".
24400file_magic_glob=$lt_file_magic_glob
24401
24402# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
24403want_nocaseglob=$lt_want_nocaseglob
24404
24405# DLL creation program.
24406DLLTOOL=$lt_DLLTOOL
24407
24408# Command to associate shared and link libraries.
24409sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
24410
24411# The archiver.
24412AR=$lt_AR
24413
24414# Flags to create an archive.
24415AR_FLAGS=$lt_AR_FLAGS
24416
24417# How to feed a file listing to the archiver.
24418archiver_list_spec=$lt_archiver_list_spec
24419
24420# A symbol stripping program.
24421STRIP=$lt_STRIP
24422
24423# Commands used to install an old-style archive.
24424RANLIB=$lt_RANLIB
24425old_postinstall_cmds=$lt_old_postinstall_cmds
24426old_postuninstall_cmds=$lt_old_postuninstall_cmds
24427
24428# Whether to use a lock for old archive extraction.
24429lock_old_archive_extraction=$lock_old_archive_extraction
24430
24431# A C compiler.
24432LTCC=$lt_CC
24433
24434# LTCC compiler flags.
24435LTCFLAGS=$lt_CFLAGS
24436
24437# Take the output of nm and produce a listing of raw symbols and C names.
24438global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
24439
24440# Transform the output of nm in a proper C declaration.
24441global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
24442
24443# Transform the output of nm into a list of symbols to manually relocate.
24444global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
24445
24446# Transform the output of nm in a C name address pair.
24447global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
24448
24449# Transform the output of nm in a C name address pair when lib prefix is needed.
24450global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
24451
24452# The name lister interface.
24453nm_interface=$lt_lt_cv_nm_interface
24454
24455# Specify filename containing input files for \$NM.
24456nm_file_list_spec=$lt_nm_file_list_spec
24457
24458# The root where to search for dependent libraries,and where our libraries should be installed.
24459lt_sysroot=$lt_sysroot
24460
24461# Command to truncate a binary pipe.
24462lt_truncate_bin=$lt_lt_cv_truncate_bin
24463
24464# The name of the directory that contains temporary libtool files.
24465objdir=$objdir
24466
24467# Used to examine libraries when file_magic_cmd begins with "file".
24468MAGIC_CMD=$MAGIC_CMD
24469
24470# Must we lock files when doing compilation?
24471need_locks=$lt_need_locks
24472
24473# Manifest tool.
24474MANIFEST_TOOL=$lt_MANIFEST_TOOL
24475
24476# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
24477DSYMUTIL=$lt_DSYMUTIL
24478
24479# Tool to change global to local symbols on Mac OS X.
24480NMEDIT=$lt_NMEDIT
24481
24482# Tool to manipulate fat objects and archives on Mac OS X.
24483LIPO=$lt_LIPO
24484
24485# ldd/readelf like tool for Mach-O binaries on Mac OS X.
24486OTOOL=$lt_OTOOL
24487
24488# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
24489OTOOL64=$lt_OTOOL64
24490
24491# Old archive suffix (normally "a").
24492libext=$libext
24493
24494# Shared library suffix (normally ".so").
24495shrext_cmds=$lt_shrext_cmds
24496
24497# The commands to extract the exported symbol list from a shared archive.
24498extract_expsyms_cmds=$lt_extract_expsyms_cmds
24499
24500# Variables whose values should be saved in libtool wrapper scripts and
24501# restored at link time.
24502variables_saved_for_relink=$lt_variables_saved_for_relink
24503
24504# Do we need the "lib" prefix for modules?
24505need_lib_prefix=$need_lib_prefix
24506
24507# Do we need a version for libraries?
24508need_version=$need_version
24509
24510# Library versioning type.
24511version_type=$version_type
24512
24513# Shared library runtime path variable.
24514runpath_var=$runpath_var
24515
24516# Shared library path variable.
24517shlibpath_var=$shlibpath_var
24518
24519# Is shlibpath searched before the hard-coded library search path?
24520shlibpath_overrides_runpath=$shlibpath_overrides_runpath
24521
24522# Format of library name prefix.
24523libname_spec=$lt_libname_spec
24524
24525# List of archive names.  First name is the real one, the rest are links.
24526# The last name is the one that the linker finds with -lNAME
24527library_names_spec=$lt_library_names_spec
24528
24529# The coded name of the library, if different from the real name.
24530soname_spec=$lt_soname_spec
24531
24532# Permission mode override for installation of shared libraries.
24533install_override_mode=$lt_install_override_mode
24534
24535# Command to use after installation of a shared archive.
24536postinstall_cmds=$lt_postinstall_cmds
24537
24538# Command to use after uninstallation of a shared archive.
24539postuninstall_cmds=$lt_postuninstall_cmds
24540
24541# Commands used to finish a libtool library installation in a directory.
24542finish_cmds=$lt_finish_cmds
24543
24544# As "finish_cmds", except a single script fragment to be evaled but
24545# not shown.
24546finish_eval=$lt_finish_eval
24547
24548# Whether we should hardcode library paths into libraries.
24549hardcode_into_libs=$hardcode_into_libs
24550
24551# Compile-time system search path for libraries.
24552sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
24553
24554# Detected run-time system search path for libraries.
24555sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
24556
24557# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
24558configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
24559
24560# Whether dlopen is supported.
24561dlopen_support=$enable_dlopen
24562
24563# Whether dlopen of programs is supported.
24564dlopen_self=$enable_dlopen_self
24565
24566# Whether dlopen of statically linked programs is supported.
24567dlopen_self_static=$enable_dlopen_self_static
24568
24569# Commands to strip libraries.
24570old_striplib=$lt_old_striplib
24571striplib=$lt_striplib
24572
24573
24574# The linker used to build libraries.
24575LD=$lt_LD
24576
24577# How to create reloadable object files.
24578reload_flag=$lt_reload_flag
24579reload_cmds=$lt_reload_cmds
24580
24581# Commands used to build an old-style archive.
24582old_archive_cmds=$lt_old_archive_cmds
24583
24584# A language specific compiler.
24585CC=$lt_compiler
24586
24587# Is the compiler the GNU compiler?
24588with_gcc=$GCC
24589
24590# Compiler flag to turn off builtin functions.
24591no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
24592
24593# Additional compiler flags for building library objects.
24594pic_flag=$lt_lt_prog_compiler_pic
24595
24596# How to pass a linker flag through the compiler.
24597wl=$lt_lt_prog_compiler_wl
24598
24599# Compiler flag to prevent dynamic linking.
24600link_static_flag=$lt_lt_prog_compiler_static
24601
24602# Does compiler simultaneously support -c and -o options?
24603compiler_c_o=$lt_lt_cv_prog_compiler_c_o
24604
24605# Whether or not to add -lc for building shared libraries.
24606build_libtool_need_lc=$archive_cmds_need_lc
24607
24608# Whether or not to disallow shared libs when runtime libs are static.
24609allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
24610
24611# Compiler flag to allow reflexive dlopens.
24612export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
24613
24614# Compiler flag to generate shared objects directly from archives.
24615whole_archive_flag_spec=$lt_whole_archive_flag_spec
24616
24617# Whether the compiler copes with passing no objects directly.
24618compiler_needs_object=$lt_compiler_needs_object
24619
24620# Create an old-style archive from a shared archive.
24621old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
24622
24623# Create a temporary old-style archive to link instead of a shared archive.
24624old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
24625
24626# Commands used to build a shared archive.
24627archive_cmds=$lt_archive_cmds
24628archive_expsym_cmds=$lt_archive_expsym_cmds
24629
24630# Commands used to build a loadable module if different from building
24631# a shared archive.
24632module_cmds=$lt_module_cmds
24633module_expsym_cmds=$lt_module_expsym_cmds
24634
24635# Whether we are building with GNU ld or not.
24636with_gnu_ld=$lt_with_gnu_ld
24637
24638# Flag that allows shared libraries with undefined symbols to be built.
24639allow_undefined_flag=$lt_allow_undefined_flag
24640
24641# Flag that enforces no undefined symbols.
24642no_undefined_flag=$lt_no_undefined_flag
24643
24644# Flag to hardcode \$libdir into a binary during linking.
24645# This must work even if \$libdir does not exist
24646hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
24647
24648# Whether we need a single "-rpath" flag with a separated argument.
24649hardcode_libdir_separator=$lt_hardcode_libdir_separator
24650
24651# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
24652# DIR into the resulting binary.
24653hardcode_direct=$hardcode_direct
24654
24655# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
24656# DIR into the resulting binary and the resulting library dependency is
24657# "absolute",i.e impossible to change by setting \$shlibpath_var if the
24658# library is relocated.
24659hardcode_direct_absolute=$hardcode_direct_absolute
24660
24661# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
24662# into the resulting binary.
24663hardcode_minus_L=$hardcode_minus_L
24664
24665# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
24666# into the resulting binary.
24667hardcode_shlibpath_var=$hardcode_shlibpath_var
24668
24669# Set to "yes" if building a shared library automatically hardcodes DIR
24670# into the library and all subsequent libraries and executables linked
24671# against it.
24672hardcode_automatic=$hardcode_automatic
24673
24674# Set to yes if linker adds runtime paths of dependent libraries
24675# to runtime path list.
24676inherit_rpath=$inherit_rpath
24677
24678# Whether libtool must link a program against all its dependency libraries.
24679link_all_deplibs=$link_all_deplibs
24680
24681# Set to "yes" if exported symbols are required.
24682always_export_symbols=$always_export_symbols
24683
24684# The commands to list exported symbols.
24685export_symbols_cmds=$lt_export_symbols_cmds
24686
24687# Symbols that should not be listed in the preloaded symbols.
24688exclude_expsyms=$lt_exclude_expsyms
24689
24690# Symbols that must always be exported.
24691include_expsyms=$lt_include_expsyms
24692
24693# Commands necessary for linking programs (against libraries) with templates.
24694prelink_cmds=$lt_prelink_cmds
24695
24696# Commands necessary for finishing linking programs.
24697postlink_cmds=$lt_postlink_cmds
24698
24699# Specify filename containing input files.
24700file_list_spec=$lt_file_list_spec
24701
24702# How to hardcode a shared library path into an executable.
24703hardcode_action=$hardcode_action
24704
24705# The directories searched by this compiler when creating a shared library.
24706compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
24707
24708# Dependencies to place before and after the objects being linked to
24709# create a shared library.
24710predep_objects=$lt_predep_objects
24711postdep_objects=$lt_postdep_objects
24712predeps=$lt_predeps
24713postdeps=$lt_postdeps
24714
24715# The library search path used internally by the compiler when linking
24716# a shared library.
24717compiler_lib_search_path=$lt_compiler_lib_search_path
24718
24719# ### END LIBTOOL CONFIG
24720
24721_LT_EOF
24722
24723    cat <<'_LT_EOF' >> "$cfgfile"
24724
24725# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
24726
24727# func_munge_path_list VARIABLE PATH
24728# -----------------------------------
24729# VARIABLE is name of variable containing _space_ separated list of
24730# directories to be munged by the contents of PATH, which is string
24731# having a format:
24732# "DIR[:DIR]:"
24733#       string "DIR[ DIR]" will be prepended to VARIABLE
24734# ":DIR[:DIR]"
24735#       string "DIR[ DIR]" will be appended to VARIABLE
24736# "DIRP[:DIRP]::[DIRA:]DIRA"
24737#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
24738#       "DIRA[ DIRA]" will be appended to VARIABLE
24739# "DIR[:DIR]"
24740#       VARIABLE will be replaced by "DIR[ DIR]"
24741func_munge_path_list ()
24742{
24743    case x$2 in
24744    x)
24745        ;;
24746    *:)
24747        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
24748        ;;
24749    x:*)
24750        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
24751        ;;
24752    *::*)
24753        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
24754        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
24755        ;;
24756    *)
24757        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
24758        ;;
24759    esac
24760}
24761
24762
24763# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
24764func_cc_basename ()
24765{
24766    for cc_temp in $*""; do
24767      case $cc_temp in
24768        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
24769        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
24770        \-*) ;;
24771        *) break;;
24772      esac
24773    done
24774    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
24775}
24776
24777
24778# ### END FUNCTIONS SHARED WITH CONFIGURE
24779
24780_LT_EOF
24781
24782  case $host_os in
24783  aix3*)
24784    cat <<\_LT_EOF >> "$cfgfile"
24785# AIX sometimes has problems with the GCC collect2 program.  For some
24786# reason, if we set the COLLECT_NAMES environment variable, the problems
24787# vanish in a puff of smoke.
24788if test set != "${COLLECT_NAMES+set}"; then
24789  COLLECT_NAMES=
24790  export COLLECT_NAMES
24791fi
24792_LT_EOF
24793    ;;
24794  esac
24795
24796
24797
24798ltmain=$ac_aux_dir/ltmain.sh
24799
24800
24801  # We use sed instead of cat because bash on DJGPP gets confused if
24802  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
24803  # text mode, it properly converts lines to CR/LF.  This bash problem
24804  # is reportedly fixed, but why not run on old versions too?
24805  sed '$q' "$ltmain" >> "$cfgfile" \
24806     || (rm -f "$cfgfile"; exit 1)
24807
24808   mv -f "$cfgfile" "$ofile" ||
24809    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
24810  chmod +x "$ofile"
24811
24812
24813    cat <<_LT_EOF >> "$ofile"
24814
24815# ### BEGIN LIBTOOL TAG CONFIG: CXX
24816
24817# The linker used to build libraries.
24818LD=$lt_LD_CXX
24819
24820# How to create reloadable object files.
24821reload_flag=$lt_reload_flag_CXX
24822reload_cmds=$lt_reload_cmds_CXX
24823
24824# Commands used to build an old-style archive.
24825old_archive_cmds=$lt_old_archive_cmds_CXX
24826
24827# A language specific compiler.
24828CC=$lt_compiler_CXX
24829
24830# Is the compiler the GNU compiler?
24831with_gcc=$GCC_CXX
24832
24833# Compiler flag to turn off builtin functions.
24834no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
24835
24836# Additional compiler flags for building library objects.
24837pic_flag=$lt_lt_prog_compiler_pic_CXX
24838
24839# How to pass a linker flag through the compiler.
24840wl=$lt_lt_prog_compiler_wl_CXX
24841
24842# Compiler flag to prevent dynamic linking.
24843link_static_flag=$lt_lt_prog_compiler_static_CXX
24844
24845# Does compiler simultaneously support -c and -o options?
24846compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
24847
24848# Whether or not to add -lc for building shared libraries.
24849build_libtool_need_lc=$archive_cmds_need_lc_CXX
24850
24851# Whether or not to disallow shared libs when runtime libs are static.
24852allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
24853
24854# Compiler flag to allow reflexive dlopens.
24855export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
24856
24857# Compiler flag to generate shared objects directly from archives.
24858whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
24859
24860# Whether the compiler copes with passing no objects directly.
24861compiler_needs_object=$lt_compiler_needs_object_CXX
24862
24863# Create an old-style archive from a shared archive.
24864old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
24865
24866# Create a temporary old-style archive to link instead of a shared archive.
24867old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
24868
24869# Commands used to build a shared archive.
24870archive_cmds=$lt_archive_cmds_CXX
24871archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
24872
24873# Commands used to build a loadable module if different from building
24874# a shared archive.
24875module_cmds=$lt_module_cmds_CXX
24876module_expsym_cmds=$lt_module_expsym_cmds_CXX
24877
24878# Whether we are building with GNU ld or not.
24879with_gnu_ld=$lt_with_gnu_ld_CXX
24880
24881# Flag that allows shared libraries with undefined symbols to be built.
24882allow_undefined_flag=$lt_allow_undefined_flag_CXX
24883
24884# Flag that enforces no undefined symbols.
24885no_undefined_flag=$lt_no_undefined_flag_CXX
24886
24887# Flag to hardcode \$libdir into a binary during linking.
24888# This must work even if \$libdir does not exist
24889hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
24890
24891# Whether we need a single "-rpath" flag with a separated argument.
24892hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
24893
24894# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
24895# DIR into the resulting binary.
24896hardcode_direct=$hardcode_direct_CXX
24897
24898# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
24899# DIR into the resulting binary and the resulting library dependency is
24900# "absolute",i.e impossible to change by setting \$shlibpath_var if the
24901# library is relocated.
24902hardcode_direct_absolute=$hardcode_direct_absolute_CXX
24903
24904# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
24905# into the resulting binary.
24906hardcode_minus_L=$hardcode_minus_L_CXX
24907
24908# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
24909# into the resulting binary.
24910hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
24911
24912# Set to "yes" if building a shared library automatically hardcodes DIR
24913# into the library and all subsequent libraries and executables linked
24914# against it.
24915hardcode_automatic=$hardcode_automatic_CXX
24916
24917# Set to yes if linker adds runtime paths of dependent libraries
24918# to runtime path list.
24919inherit_rpath=$inherit_rpath_CXX
24920
24921# Whether libtool must link a program against all its dependency libraries.
24922link_all_deplibs=$link_all_deplibs_CXX
24923
24924# Set to "yes" if exported symbols are required.
24925always_export_symbols=$always_export_symbols_CXX
24926
24927# The commands to list exported symbols.
24928export_symbols_cmds=$lt_export_symbols_cmds_CXX
24929
24930# Symbols that should not be listed in the preloaded symbols.
24931exclude_expsyms=$lt_exclude_expsyms_CXX
24932
24933# Symbols that must always be exported.
24934include_expsyms=$lt_include_expsyms_CXX
24935
24936# Commands necessary for linking programs (against libraries) with templates.
24937prelink_cmds=$lt_prelink_cmds_CXX
24938
24939# Commands necessary for finishing linking programs.
24940postlink_cmds=$lt_postlink_cmds_CXX
24941
24942# Specify filename containing input files.
24943file_list_spec=$lt_file_list_spec_CXX
24944
24945# How to hardcode a shared library path into an executable.
24946hardcode_action=$hardcode_action_CXX
24947
24948# The directories searched by this compiler when creating a shared library.
24949compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
24950
24951# Dependencies to place before and after the objects being linked to
24952# create a shared library.
24953predep_objects=$lt_predep_objects_CXX
24954postdep_objects=$lt_postdep_objects_CXX
24955predeps=$lt_predeps_CXX
24956postdeps=$lt_postdeps_CXX
24957
24958# The library search path used internally by the compiler when linking
24959# a shared library.
24960compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
24961
24962# ### END LIBTOOL TAG CONFIG: CXX
24963_LT_EOF
24964
24965 ;;
24966
24967  esac
24968done # for ac_tag
24969
24970
24971as_fn_exit 0
24972_ACEOF
24973ac_clean_files=$ac_clean_files_save
24974
24975test $ac_write_fail = 0 ||
24976  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
24977
24978
24979# configure is writing to config.log, and then calls config.status.
24980# config.status does its own redirection, appending to config.log.
24981# Unfortunately, on DOS this fails, as config.log is still kept open
24982# by configure, so config.status won't be able to write to it; its
24983# output is simply discarded.  So we exec the FD to /dev/null,
24984# effectively closing config.log, so it can be properly (re)opened and
24985# appended to by config.status.  When coming back to configure, we
24986# need to make the FD available again.
24987if test "$no_create" != yes; then
24988  ac_cs_success=:
24989  ac_config_status_args=
24990  test "$silent" = yes &&
24991    ac_config_status_args="$ac_config_status_args --quiet"
24992  exec 5>/dev/null
24993  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24994  exec 5>>config.log
24995  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24996  # would make configure fail if this is the last instruction.
24997  $ac_cs_success || as_fn_exit 1
24998fi
24999if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
25000  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
25001printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
25002fi
25003
25004
25005